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
|
2010-05-11 Mike Kestner <mkestner@novell.com>
* configure.in.in: work around removal of Mono.GetOptions.dll
in mono trunk (2.8).
2009-03-16 Mike Kestner <mkestner@novell.com>
* Makefile.include: parallel make fix.
* gconf/GConf/Makefile.am: parallel make fix.
* gconf/GConf.PropertyEditors/Makefile.am: parallel make fix.
Patch from Peter Alfredsen. [Fixes #483251]
2009-03-03 Mike Kestner <mkestner@novell.com>
* bootstrap-2.24: bump version to 2.24.1 and tag.
2009-01-27 Mike Kestner <mkestner@novell.com>
* bootstrap-2.24: add back the POLICY_VERSION entries. Patch from
Scott Peterson.
* gnome/Makefile.am: add a POLICY_VERSION variable to override
the global setting, since gnome-sharp.dll is not compatible with
previous versions due to the gnomeprint and gnomepanel removal.
[Fixes #469663]
2008-09-08 Mike Kestner <mkestner@novell.com>
* bootstrap-2.24: bump gtk-sharp req to 2.12.2. Bump version
to 2.24.0 for release.
2008-08-06 Mike Kestner <mkestner@novell.com>
* *: Update to Gnome 2.23.5 release API. Remove print and panel
APIs from gnome-sharp.dll into their own assemblies now located in
gnome-desktop-sharp.
2008-05-14 Stephane Delcroix <sdelcroix@novell.com>
* gconf/GConf/gconf-sharp.dll.config.in:
* gconf/GConf/ClientBase.cs: use GType.Init () instead of
g_type_init ();
2008-05-14 Stephane Delcroix <sdelcroix@novell.com>
* bootstrap-2.20: bump to 2.20.2
* gconf/GConf/gconf-sharp.dll.config.in:
* gconf/GConf/ClientBase.cs: call g_type_init during initialization.
Fixes bnc #389328.
2008-04-21 Mike Kestner <mkestner@novell.com>
* bootstrap-2.20: bump version.
2008-04-17 Mike Kestner <mkestner@novell.com>
* bootstrap-generic: substitute the GTK_SHARP_REQUIRED_VERSION.
* bootstrap-2.20: check for gtk 2.12.0 and gtk-sharp 2.12.1.
* configure.in.in: separate the gtk+ and gtk-sharp version variables.
2008-04-17 Mike Kestner <mkestner@novell.com>
* gnome/Program.custom: use GLib.Object.Harden to avoid some
reflection.
2008-04-17 Mike Kestner <mkestner@novell.com>
* bootstrap-2.20: bump gtk-sharp requirement to 2.12.1.
* gnome/Program.custom: revert QuitPrepare hook and instead do an
obnoxious hack to disable the toggle_ref mechanism for GnomeProgram.
Uses reflection since I didn't want to expose this hack in the public
GLib.Object API.
2008-04-14 Mike Kestner <mkestner@novell.com>
* gnome/Program.custom: hook into Gtk.Application.QuitPrepare to
dispose our managed resources prior to invoking gtk_main_quit. Avoids
a crash on exit() in toggle_ref usage after managed releases have been
released.
2008-03-04 Mike Kestner <mkestner@novell.com>
* bootstrap-2.20: bump version and tag.
2008-02-29 Mike Kestner <mkestner@novell.com>
* gnome/gnome-api-2.20.raw: reparse
* sources/gnome-sharp-2.20-sources.xml: hide private gailcanvas hdrs.
hide gnome-print-gdi.h.
2008-01-28 Mike Kestner <mkestner@novell.com>
* bootstrap-2.20: bump svn version.
2008-01-28 Mike Kestner <mkestner@novell.com>
* gnome/Gnome.metadata: hide new Global class which was hiding
stable API. [Fixes #356649]
2008-01-11 Mike Kestner <mkestner@novell.com>
* configure.in.in: integrate build service patch from Wade.
* bootstrap-2.20: update to version 2.19.90.
2007-12-12 Mike Kestner <mkestner@novell.com>
* * Move to 2.20 API.
2007-12-11 Mike Kestner <mkestner@novell.com>
* configure.in.in: move vte, rsvg, and gtkhtml to gnome-desktop-sharp.
* Makefile.am: ditto
* sample/Makefile.am: ditto
2007-12-07 Mike Kestner <mkestner@novell.com>
* Makefile.include: some refinement of the variable mangling.
* configure.in.in: expand new pc.in.
* gconf/GConf/gconf-sharp-2.0.pc.in: remove gnome-sharp Requires and
peditors.dll from the Libs: var.
* gconf/GConf.PropertyEditors/Makefile.am: install new pc.
* gconf/GConf.PropertyEditors/gconf-sharp-peditors-2.0.pc.in: expose
new pc file since this is conditional and the gconf-sharp.dll build
is not.
2007-12-07 Wade Berrier <wberrier@novell.com>
* gconf/GConf/Makefile.am: Copy AssemblyInfo.cs to the current dir so
that csc can find it. (csc doesn't understand ../..)
2007-12-07 Mike Kestner <mkestner@novell.com>
* gconf/GConf/Makefile.am:
* gconf/GConf.PropertyEditors/Makefile.am:
use top_builddir instead of .. to avoid win32 build issues.
2007-12-04 Mike Kestner <mkestner@novell.com>
* gconf/GConf/Makefile.am: remove GNOME condition. It's only needed
on the peditor build.
2007-10-16 Mike Kestner <mkestner@novell.com>
* gnome/CanvasItem.custom: marshal GType as IntPtr.
[Fixes comment #8 of 327058]
2007-10-11 Mike Kestner <mkestner@novell.com>
* gconf/GConf/Value.cs: Deal with zero length arrays gracefully.
Thanks to Sebastian Dröge <slomo@circular-chaos.org> for a
patch this one was derived from. [Fixes #325516]
2007-09-07 Mike Kestner <mkestner@novell.com>
* AssembyInfo.cs.in : add [IgnoreClassInitializers]
2007-08-16 Mike Kestner <mkestner@novell.com>
* vte/Vte.metadata : rule from Peter Johanson to mark a string
const.
2007-08-13 Mike Kestner <mkestner@novell.com>
* gnome/CanvasPathDef.custom : adapt to generated pinvoke sig change.
2007-07-27 Mike Kestner <mkestner@novell.com>
* configure.in.in : add blurb about the gnome-sharp.dll requirements
since it seems to be a FAQ for people trying to build from sources.
2007-07-03 Mike Kestner <mkestner@novell.com>
* bootstrap-generic : use automake --foreign to keep automake-1.10 from
blowing up on the gnu make function usage. grrr.
* sample/gconf/Makefile.am : use install-data-hook to make 1.10 happy.
2007-05-03 Wade Berrier <wberrier@novell.com>
* gconf/tools/gconfsharp2-schemagen.in:
Revert unportable 'relocatable' wrapper using which (doesn't work with symlinks)
2007-03-21 Stephane Delcroix <stephane@delcroix.org>
* gconf/GConf/Value.cs: Allow the storage of empty lists in
gconf-sharp.
2006-08-21 Mike Kestner <mkestner@novell.com>
* bootstrap-2.16 : tag and bump version to 2.16.0.
2006-08-09 Mike Kestner <mkestner@novell.com>
* sources/Makefile.am : update to vte-0.13.4.
* sources/gnome-sharp-2.16-sources.xml : ditto.
* vte/Bg.custom : provide Get overload for backcompat.
* vte/Makefile.am : add custom file.
* vte/Vte.metadata : rename some signal params back to their lame
p0, p1, etc... names to maintain compat in Args classes.
* vte/vte-api.raw : reparse for 0.13.4.
* vte/vte-sharp.dll.config.in : move to new .so.9 version.
[Fixes #79042]
2006-08-07 Mike Kestner <mkestner@novell.com>
* bootstrap-2.16 : update to new version. tagged for 2.15.0.
2006-08-03 Mike Kestner <mkestner@novell.com>
* gnome/Gnome.metadata : wildcard CanvasPathDef rules since
they went from struct to boxed in 2.16. Hide TextWidth and TextHeight
props on CanvasText.
* gnome/CanvasText.custom : manual impl of Text(Width|Height) to be
compat with previous releases. They removed the WRITE flag.
2006-07-28 Mike Kestner <mkestner@novell.com>
* adjustments to build system for gnome-sharp to make it
depend on an installed gtk-sharp package. passes distcheck.
2006-07-27 Mike Kestner <mkestner@novell.com>
* bootstrap*: kill the 2.4/2.6/2.8 straps, they are on a
branch now. update 2.10 strap for new apis.
* sources/Makefile.am : parse 2.16 sources for gnome libs.
* sources/gtk-sharp-2.10-sources.xml : ditto.
* parser/gapi-parser.cs : explicitly use an indented XML writer.
* gnomevfs/gnome-vfs-api-2.16.raw: regen
* gnomevfs/Gnomevfs.metadata: some build fixes
* gnome/gnome-api-2.16.raw: regen
* gnome/Gnome.metadata: some build fixes
* sample/PrintSample.cs: remove new Gtk/Gnome ambiguities.
2006-07-27 Mike Kestner <mkestner@novell.com>
* gnome/PanelApplet.custom : hold UIVerbs in SetupMenu so the
callback delegates don't get GC'd.
2006-07-15 Mike Kestner <mkestner@novell.com>
* parser/gapi2xml.pl : regex fix needed for vfs 2.15.3 parse.
2006-07-15 Mike Kestner <mkestner@novell.com>
* sources/gtk-sharp-2.10-sources.xml : update to gnome 2.15.4
sources for the 2.10 api build.
* sources/Makefile.am : ditto.
2006-07-14 Mike Kestner <mkestner@novell.com>
* sources/gtk-sharp-2.10-sources.xml : update to gtk+-2.10.0
and pango-1.13.3
* sources/Makefile.am : ditto.
* gtk/Gtk.metadata : some hides and renames to fix build.
* gdk/gdk-api-2.10.raw : refresh.
* gtk/gtk-api-2.10.raw : refresh.
* pango/pango-api-2.10.raw : refresh.
2006-07-14 Mike Kestner <mkestner@novell.com>
* sample/gnomevfs/Makefile.am : build fix for !ENABLE_GNOMEVFS.
2006-06-21 Gonzalo Paniagua Javier <gonzalo@ximian.com>
* glade/HandlerNotFoundExeception.cs:
* glade/XML.custom: provide a better error when the signature of a
handler does not match the one of the event.
2006-05-10 Mike Kestner <mkestner@novell.com>
* bootstrap-2.10 : strap for the new 2.9.0 API.
* generator/SymbolTable.cs : add GLib.InitiallyUnowned mapping.
* glib/InitiallyUnowned.cs : new floating class "stub".
* glib/Makefile.am : build new class.
* gdk/gdk-api-2.10.raw: parse from 2.9.0
* gtk/Gtk.metadata: cleanup conflicts in 2.10 API.
* gtk/gtk-api-2.10.raw: parse from 2.9.0
* pango/pango-api-2.10.raw: parse from 1.11.99
* sources/Makefile.am : 2.10 parse setup and api-2.10
* sources/gtk_tree_model_signal_fix-2.10.patch : 2.10 patch.
* sources/gtk-sharp-2.10-sources.xml : parse rules for 2.10
2006-05-08 Joe Shaw <joeshaw@novell.com>
* glib/ValueArray.cs: Don't immediately free ValueArrays; queue
them up to be freed in the main thread by using a Timeout. This
fixes SMP deadlocks when the GValues contained therein aren't
threadsafe (like GDK resources). Fixes Novell bug #168650.
2006-05-04 Peter Johanson <peter@peterjohanson.com>
* gtk/glue/cellrenderer.c: Revert r59683, as it causes issues for
overrides calling base.GetSize (), etc.
2006-05-03 Mike Kestner <mkestner@novell.com>
* gdk/Drawable.custom : remove manual DrawPoints impl.
* gdk/Gdk.metadata : properly mark array and count params for
Drawable.DrawPoints.
2006-05-02 Zac Bowling <zac@zacbowling.com>
* docs/en/Gdk/Drawable.xml
* gdk/Drawable.custom
* gdk/Gdk.metadata : Fix Drawable.DrawPoints points param signature.
2006-04-20 Peter Johanson <peter@peterjohanson.com>
* gtk/glue/cellrenderer.c: Make GetSize, Render, etc behave correctly
for all cases. Fixes #77949.
2006-04-15 Zac Bowling <zac@zacbowling.com>
* README.generator : Updated with link to GAPI guide on Wiki
2006-03-27 Mike Kestner <mkestner@novell.com>
* gnomevfs/MimeType.cs : remove string from all pinvoke sigs. now
adheres to the const/non-const conventions specified in the vfs
headers. Fixes #77534.
2006-03-27 Mike Kestner <mkestner@novell.com>
* glib/ListBase.cs : deal with ownership of Opaque elements.
* glib/Marshaller.cs : add a hack to deal with Opaque ownership in
ListToArray marshaling.
2006-02-28 Mike Kestner <mkestner@novell.com>
* bootstrap-2.* : update for 2.x.2 releases.
2006-02-28 Mike Kestner <mkestner@novell.com>
* pango/Context.custom : use ReadIntPtr (ptr, offset) for 64 bit.
* pango/FontFamily.custom : use ReadIntPtr (ptr, offset) for 64 bit.
* pango/FontMap.custom : use ReadIntPtr (ptr, offset) for 64 bit.
* pango/Layout.custom : use ReadIntPtr (ptr, offset) for 64 bit.
2006-02-28 Mike Kestner <mkestner@novell.com>
* gdk/Region.custom : 64 bit fix for ptr arithmetic. [Fixes #77658]
Tue Feb 28 09:44:23 CET 2006 Paolo Molaro <lupus@ximian.com>
* gdk/Pixbuf.custom: use correct type for buffer_size in
gdk_pixbuf_save_to_bufferv() (fixes bug# 77662).
2006-02-16 Mike Kestner <mkestner@novell.com>
* sample/gnomevfs/Makefile.am : make TestXfer conditional to a mono
build since it uses Mono.GetOptions. [Fixes #77497]
2006-02-03 Mike Kestner <mkestner@novell.com>
* sample/gnomevfs/TestVolume.cs : remove C# 2.0 usage.
2006-02-03 Mike Kestner <mkestner@novell.com>
* bootstrap-2.* : update for 2.x.1 releases.
2006-02-03 Mike Kestner <mkestner@novell.com>
* generator/Signal.cs : virtual method enum retvals must be case to
Enum before casting to their ultimate type. Also dispose retval
gvalues to avoid reference leaks.
2006-01-31 Mike Kestner <mkestner@novell.com>
* gnome/About.custom : fix some nullterm issues in subclass
construction as reported on irc by latexer.
2006-01-31 Mike Kestner <mkestner@novell.com>
* gtk/Dialog.custom : null check a parent arg. [Fixes #77400]
2006-01-22 Mike Kestner <mkestner@novell.com>
* configure.in.in : work around broken vte that doesn't
advertise its gtk+ dependency to pkg-config. [Fixes #77323]
2006-01-21 Mike Kestner <mkestner@novell.com>
* generator/SymbolTable.cs : alias off_t to ssize_t as it is
signed according to harold. [Fixes #77016]
2006-01-21 Mike Kestner <mkestner@novell.com>
* gtk/RadioToolButton.custom : manually implement the GLib.List group
ctors. [Fixes #76992]
2006-01-17 Mike Kestner <mkestner@novell.com>
* gnome/Canvas.custom : add a ctor (bool is_aa) using the
construct-only prop.
[Fixes #77017]
2006-01-17 Wade Berrier <wberrier@novell.com>
* Have vte-sharp only depend on gtk-sharp instead of gnome-sharp
* sample/VteTest.cs: use gtk# calls instead of gnome#
* vte/vte-sharp-2.0.pc.in: depend on gtk-sharp instead of gnome-sharp
* configure.in.in: Allow vte to be build if gnome isn't going to be built
[Fixes #77182]
2006-01-13 Mike Kestner <mkestner@novell.com>
* glib/Marshaller.cs : subtract utc_offset when marshaling to time_t.
[Fixes #77244]
2006-01-12 Mike Kestner <mkestner@novell.com>
* sources/MethodBody.cs : use Utf8.GetByteCount for hidden len params.
[Fixes #77097]
2006-01-11 Mike Kestner <mkestner@novell.com>
* bootstrap-2.8 : bump version to 2.8.0
2005-12-30 Alp Toker <alp@atoker.com>
* Thread.cs: Add GLib.Thread.Supported, should be checked to avoid doing
Thread.Init() twice (Mono runtime initialises GLib threads itself, MS
runtime doesn't)
* glue/thread.c: g_thread_supported() is a macro, so needs glue
* glue/Makefile.am:
* glue/makefile.win32: Update makefiles with new glue file.
2005-12-21 Lluis Sanchez Gual <lluis@novell.com>
* generator/FieldBase.cs: Properly convert marshalled value
to native value.
* generator/CallbackGen.cs: Added parens to the result of ToNativeReturn,
since it may have problems with the cast.
2005-12-16 John Luke <john.luke@gmail.com>
* samples/CairoSample.cs:
* samples/GtkCairo.cs:
* samples/Makefile.am: update the cairo sample, fixes bug #76324
2005-12-16 Mike Kestner <mkestner@novell.com>
* gdk/PixbufLoader.custom (InitFromAssemblyResource): move stream
access code outside the try block so only the Load is cleaned up with
the finally block. Add some other arg checking. [Fixes #76997]
2005-12-13 Mike Kestner <mkestner@novell.com>
* sources/Makefile.am : move to stable gtk 2.8 versions.
* sources/gtk-sharp-2.8-sources.xml : move to stable gtk 2.8 versions.
* */*.raw : regenerate.
* gdk/Gdk.metadata : hide a few gtk+ internal methods.
* gtk/Gtk.metadata : hide a win32 internal enum.
2005-12-13 Mike Kestner <mkestner@novell.com>
* bootstrap-2.8 : bump version to 2.7.90.
2005-12-13 Mike Kestner <mkestner@novell.com>
* gconf/GConf/Makefile.am : add GAPI_CDECL_INSERT step.
* gconf/GConf.PropertyEditors/Makefile.am : add GAPI_CDECL_INSERT step.
2005-12-13 Mike Kestner <mkestner@novell.com>
* configure.in.in : check for mono-cairo.pc.
* Makefile.include : use AC_SUBST for cairo ref.
* gdk/Gdk.metadata : s/Cairo.Graphics/Cairo.Context.
2005-12-12 Mike Kestner <mkestner@novell.com>
* gnomevfs/Gnomevfs.metadata : mark some const strings.
[Fixes #76270]
2005-12-12 Mike Kestner <mkestner@novell.com>
* gdk/EventClient.cs : fix native long marshaling issue. Thanks to
ed@catmur.co.uk for the bug report and investigation.
[Fixes #76740]
2005-12-12 Itamar Rogel <chastamar@yahoo.com>
* NodeView.cs : add default ctor and NodeStore setter.
[Fixes #76827]
2005-12-12 Mike Kestner <mkestner@novell.com>
* generator/Signal.cs : pass byte cnt for autogenerated string length
parameters. Thanks to Itamar Rogel for the report and a candidate
patch. [Fixes #76952]
2005-12-10 Mike Kestner <mkestner@novell.com>
* gtk/gtk-api-2.8.raw : regenerated.
* gtk/IconView.custom : manually implement a new interface method.
* parser/gapi_pp.pl : more general G_DEFINE_TYPE_WITH_CODE parsing
implementation.
[Fixes #76266]
2005-12-10 Mike Kestner <mkestner@novell.com>
* gdk/gdk-symbols.xml : add GrabBroken mapping.
* gdk/Event.cs : add GrabBroken to GetEvent.
* gdk/EventGrabBroken.cs : manual Event subclass.
* gdk/Gdk.metadata : hide new GrabBroken event.
* gdk/Makefile.am : add new source file.
2005-12-09 Mike Kestner <mkestner@novell.com>
* pango/Pango.metadata : 2.8 API tweaks
* gdk/Gdk.metadata : 2.8 API tweaks
* gtk/Gtk.metadata : 2.8 API tweaks
* gtk/IconView.custom : overloads for the weird ScrollToPath.
* gtk/Makefile.am : add custom
2005-11-19 Mike Kestner <mkestner@novell.com>
* generator/ManualGen.cs (CallByName): add null handling.
[Fixes #76540]
2005-11-15 Ben Maurer <bmaurer@ximian.com>
* gdk/Rectangle.custom: Fix up Intersect using p/invoke, per
miguel's request.
2005-11-10 Mike Kestner <mkestner@novell.com>
* bootstrap-2.6 - renamed from bootstrap
* bootstrap-2.8 : renamed from bootstrap-for-the-insane, removed
message of doom, require Gtk 2.8. Change version to 2.7.1.
2005-10-31 Wade Berrier <wberrier@novell.com>
* .pc and wrapper scripts: Use relative paths so gtk-sharp is
relocatable
2005-10-19 Mike Kestner <mkestner@novell.com>
* gtk/TextBuffer.custom : add some obsolete overloads for backward
compat with some not-completely-unusable 1.0.x methods.
2005-10-19 Gonzalo Paniagua Javier <gonzalo@ximian.com>
* glib/Object.cs: remove the fast path. It was causing troubles with
MD.
2005-10-19 Mike Kestner <mkestner@novell.com>
* gnome/PrintContext.custom (SetFont): pass the font by handle, not
ref.
2005-10-19 Mike Kestner <mkestner@novell.com>
* bootstrap : bump version for 2.6.0.
* bootstrap-2.4 : bump version for 2.4.0.
2005-10-08 Miguel de Icaza <miguel@novell.com>
* gtk/Application.cs (Invoke): Use Timeout instead of Idle add to
trigger the event on the Gtk thread.
2005-10-09 Mike Kestner <mkestner@novell.com>
* Makefile.include : reference Mono.Cairo.dll.
* gdk/Gdk.metadata : add cairo_t symbol element.
2005-10-09 Mike Kestner <mkestner@novell.com>
* configure.in.in : string quote the POLICY_VERSIONS.
* Makefile.include : multiple policy fixes.
* */Makefile.am : multiple policy fixes.
2005-10-08 Mike Kestner <mkestner@novell.com>
* generator/Signal.cs : handle enum return values GTypes.
* gtk/TextBuffer.custom : mark Text prop !GTK_SHARP_2_8.
[Fixes #75885]
2005-10-08 Ben Maurer <bmaurer@ximian.com>
* glade/XML.custom: Do not look at inherited custom
attrs. Increases performance.
* glib/SignalAttribute.cs: Add AttributeUsage attr to increase
perf and compiler checking
2005-10-07 Gonzalo Paniagua Javier <gonzalo@ximian.com>
* glib/MainContext.cs: added a Depth property to p/invoke g_main_depth.
* glib/Object.cs:
(Dispose): immediately call g_object_unref without queueing when
possible (MainContext.Depth > 0) and use Timeout.Add instead of Idle.Add
to get our unref callback scheduled more reliably.
2005-10-05 Mike Kestner <mkestner@novell.com>
* bootstrap : bump version for beta3.
* bootstrap-2.4 : bump version for beta3.
2005-09-27 Mike Kestner <mkestner@novell.com>
* glib/Opaque.cs : remove the Opaques hash. As f-spot demonstrated,
we cannot rely on a pointer continuing to point at the same type in
memory, since there is no destroy notification for most opaques.
* glib/Value.cs : use more explicit GetOpaque overload.
* gtk/Style.custom : use more explicit GetOpaque overload.
2005-09-24 Christian Hergert <christian.hergert@gmail.com>
* vte/Vte.metadata: Fix Vte.Terminal.SetColors to reflect proper mapping
to vte_terminal_set_colors. palette is now Gdk.Color[].
* sample/VteTest.cs: Update to work with fixed parameter.
* doc/en/Vte/Terminal.xml: Update vte docs to reflect parameter fix.
2005-09-23 Mike Kestner <mkestner@novell.com>
* configure.in.in : expand glib-sharp-2.0.pc.
* glib/glib-sharp-2.0.pc.in : new pc file template.
* glib/Makefile.am : dist and install pc file.
* gtk/gtk-sharp-2.0.pc.in : Require glib-sharp-2.0.
2005-09-21 Mike Kestner <mkestner@novell.com>
* bootstrap* : expose POLICY_VERSIONS variable.
* configure.in.in : AC_SUBST new POLICY_VERSIONS.
* Makefile.include : build/install policy assemblies.
* policy.config.in : policy config skeleton.
* */Makefile.am : ditto.
2005-09-19 Tambet Ingo <tambet@ximian.com>
* glib/Opaque.cs: Set owned property in any case. Generated code
will set owned to false after unref.
2005-09-15 Mike Kestner <mkestner@novell.com>
* configure.in.in : make gtkhtml-3.8 check >= 3.8.0.
[Fixes #76119]
2005-09-15 Mike Kestner <mkestner@novell.com>
* glade/Glade.metadata : mark Interface.toplevels private to allow
manual implementation.
* glade/Interface.custom : add manual impl for Toplevels and obsolete
old toplevels impl.
* glade/Makefile.am : add new custom.
2005-09-15 Mike Kestner <mkestner@novell.com>
* parser/gapi-fixup.cs : warn on unmatched rules. reworked from a Dan
Winship patch. [Fixes #76088]
2005-09-08 Dan Winship <danw@novell.com>
* gtk/Gtk.metadata: Hide Gtk.Drag.SetIconDefault. Mark
Gtk.TreeView.GetVisibleRect's arg as "out".
* gtk/Drag.custom: gtk_drag_set_icon_default(ctx) should translate
to Gtk.Drag.SetIconDefault(ctx), not Gtk.Drag.IconDefault = ctx.
* gtk/TreeView.custom: add obsolete GetVisibleRect()
2005-09-07 Mike Kestner <mkestner@novell.com>
* bootstrap : bump version for beta2.
* bootstrap-2.4 : bump version for beta2.
2005-09-07 Eric Butler <eric@extremeboredom.net>
* gtk/NodeStore.cs : Add Clear() method
* doc/en/Gtk/NodeStore.xml : Add documentation for above method
2005-09-07 Mike Kestner <mkestner@novell.com>
* configure.in.in : check for monodoc sources dir and warn if we are
configuring for a different prefix.
* doc/Makefile.am : add install targets.
2005-09-06 Mike Kestner <mkestner@novell.com>
* gtk/NodeStore.cs : fix recursive emit of row_inserted.
2005-09-02 Tambet Ingo <tambet@ximian.com>
* glib/Object.cs: Clean disposed flag from resurrected objects.
2005-09-02 Miguel de Icaza <miguel@novell.com>
* gtk/Application.cs (Invoke): Add new overloads to easily invoke
methods on the executing thread.
2005-09-01 Miguel de Icaza <miguel@novell.com>
* gtk/Application.cs (Invoke): Add sugar to invoke a method on the
main thread.
2005-09-02 Ben Maurer <bmaurer@ximian.com>
* sample/NodeViewDemo.cs: take advantage of the stuff below
* gtk/TreeNodeValueAttribute.cs: Allow on props
* gtk/TreeNodeAttribute.cs: Obsolete column count
* gtk/NodeStore.cs: Change this to not need the TreeNodeAttribute
column count. Handle fields as well as properties.
2005-08-30 Mike Kestner <mkestner@novell.com>
* gdk/Event.cs : add some null guarding to GetEvent.
[Fixes #75642]
2005-08-30 Mike Kestner <mkestner@novell.com>
* parser/gapi_pp.pl : ignore ifndef *_H_ lines like in 1.0.x.
[Fixes #75938]
2005-08-30 Mike Kestner <mkestner@novell.com>
* gtk/NodeStore.custom : recursively emit row_inserted for AddNode.
[Fixes #75853]
2005-08-29 Mike Kestner <mkestner@novell.com>
* gtk/Widget.custom : add overloads for Modify* without a Gdk.Color
param to reset color to default. [Fixes #75913]
2005-08-28 Ben Maurer <bmaurer@ximian.com>
* configure.in.in: Enable doc building without mono-tools being
built.
* gtk/NodeSelection.cs: helper api
2005-08-27 Peter Williams <peter@newton.cx>
* gnome/Program.custom: Use a GLib.Argv in PersistentData to store
a handle to argv, so that the unmanaged strings aren't freed out
from under popt. This allows the popt context to actually be used.
2005-08-26 John Luke <john.luke@gmail.com>
* glib/Signal.cs: deal with obj.Handle == IntPtr.Zero
to avoid assertions
2005-08-25 Mike Kestner <mkestner@novell.com>
* configure.in.in : move GACUTIL check forward ahead of a use.
* Makefile.include : distcheck fixes
* glib/Makefile.am : distcheck fixes
* gtkdotnet/Makefile.am : distcheck fixes
2005-08-25 Mike Kestner <mkestner@novell.com>
* configure.in.in : add PLATFORM_WIN32 conditional. Borrow mono's
libtool s/cyg// hack. Improve/relocate System.Drawing check.
* Makefile.include : add gapi-cdecl-insert handling for win32.
* glib/Makefile.am : add gapi-cdecl-insert handling for win32.
* gtkdotnet/Makefile.am : s/-r:System.Drawing/-r:System.Drawing.dll/.
* sample/DrawingSample.cs : remove C# 2.0-isms.
* sample/Makefile.am : s/-r:System.Drawing/-r:System.Drawing.dll/.
2005-08-25 Mike Kestner <mkestner@novell.com>
* bootstrap : bump version to 2.5.90.99
* bootstrap-2.4 : bump version to 2.3.90.99
2005-08-25 Mike Kestner <mkestner@novell.com>
* sample/GtkDemo/DemoIconView.cs : remove C# 2.0-isms.
* sample/opaquetest/OpaqueTest.cs : remove C# 2.0-isms.
* sample/valuetest/ValueTest.cs : remove C# 2.0-isms.
* sample/PolarFixed.cs : remove C# 2.0-isms.
2005-08-23 Ben Maurer <bmaurer@novell.com>
* glib/Object.cs: Escape names and ensure stuff is unique.
2005-08-23 Joe Shaw <joeshaw@novell.com>
* generator/SymbolTable.cs: Add "unsigned" as a type
which maps to "uint".
* parser/gapi2xml.pl: Handle "type const *" return types
as well. I think this is all of them!
2005-08-23 Joe Shaw <joeshaw@novell.com>
* parser/gapi2xml.pl: Fix a cut-and-paste error in handling
"type const *" fields.
2005-08-23 Mike Kestner <mkestner@novell.com>
* parser/gapi2xml.pl : handle foo const * fields.
* gnome/gnome-api-2.10.raw : regen.
2005-08-23 Mike Kestner <mkestner@novell.com>
* bootstrap-for-the-insane : restore the message of doom that was
removed during the "bootstrap-generic" reorganization.
2005-08-22 Joe Shaw <joeshaw@novell.com>
* parser/gapi2xml.pl: Fix a minor bug handling "type const *"
parameters.
2005-08-22 Ben Maurer <bmaurer@novell.com>
* gtk/TreeNode.cs: Add Interlocked.Increment rather than ++. This
makes it safe to create tree nodes in a worker thread as long as
you reparent them into the tree with another thread. Thanks to mk
for allowing a bit of threadedness in :-).
* gtk/NodeView.cs: Fix leak here. r=mkestner
2005-08-22 Mike Kestner <mkestner@novell.com>
* parser/gapi2xml.pl : handle "type const *" parameters.
* gdk/gdk-api-2.8.raw : regened probably from one of danw's parser
fixes. [Fixes #75844]
2005-08-22 Dan Winship <danw@novell.com>
* generator/Property.cs (Generate): Mark properties [Obsolete] if
they or their accessors are marked deprecated. (Affects
Gtk.Entry.Editable, Gtk.FontSelection.Font,
Gtk.Notebook.*TabBorder, Gtk.Object.UserData, and a bunch of old
Gtk.ProgressBar properties).
* gtk/Gtk.metadata: Hide Entry.Editable. Mark Notebook.Homogeneous
deprecated.
* gtk/Entry.custom: Implement Editable property with an Obsolete
pointing to IsEditable.
2005-08-22 Dan Winship <danw@novell.com>
* generator/CallbackGen.cs (Validate, MarshalType): if validation
fails, set MarshalType to "" to propagate that failure into
methods that have args of this type. [Fixes #75851]
2005-08-15 Peter Williams <peter@newton.cx>
* bootstrap-generic: New script, handles bootstrapping stuff generically
and saves bootstrap settings so we can regenerate configure.in from
configure.in.in.
* bootstrap
* bootstrap-2.4
* bootstrap-for-the-insane: Modify to use bootstrap-generic
* Makefile.am (configure.in): Add a rule to run bootstrap.status to
regenerate configure.in if configure.in.in changes.
2005-08-15 Mike Kestner <mkestner@novell.com>
* bootstrap : update for 2.5.90 release.
* bootstrap-2.4 : update for 2.3.90 release.
2005-08-15 Mike Kestner <mkestner@novell.com>
* gtk/glue/makefile.win32 : s/.c/.o typo.
2005-08-15 Mike Kestner <mkestner@novell.com>
* pango/makefile.win32 : process symbols file at fixup target.
2005-08-15 Mike Kestner <mkestner@novell.com>
* sample/opaquetest/Makefile.am : make clean fixes
* sample/valtest/Makefile.am : make clean fixes
2005-08-15 Dan Winship <danw@novell.com>
* sample/opaquetest/Makefile.am (EXTRA_DIST): add missing files
(generated/*.cs): fix for srcdir!=builddir
* sample/valtest/Makefile.am (EXTRA_DIST): add missing files
(Valobj.cs): fix for srcdir!=builddir
2005-08-15 Mike Kestner <mkestner@novell.com>
* glib/Object.cs : hold strong refs for managed subclasses and
weakrefs for wrappers.
* gtk/Object.custom : don't hold managed refs here, they are now held
in GLib.Object.
2005-08-11 Dan Winship <danw@novell.com>
* parser/gapi2xml.pl (addFuncElems): if a struct or boxed type has
a constructor or a ref, unref, or destroy method, then it must be
a reference type, so mark it "opaque" but then also mark all of
its fields public and writable.
* */*-api*.raw: Regen
* generator/Parser.cs (ParseNamespace): make the opaque attribute
check actually look at the value of the attribute rather than just
checking if it's there, so that you can change a struct's opaque
attribute from "true" to "false" via metadata and have that work.
* generator/BoxedGen.cs (Generate): do not generate the boxed's
"Free" method (since it's guaranteed to crash when we pass it a
stack pointer). If "Copy" is marked deprecated, create a
deprecated no-op for it, otherwise just skip it (since otherwise
it will just leak memory when we copy its result onto the stack).
* pango/Pango.metadata: deprecate Pango.Color.Copy and
Pango.Matrix.Copy. Hide some array fields in Pango.GlyphString
that we've never generated correctly. Tweak Pango.LayoutLine
fields to be the same as they used to be.
* pango/GlyphItem.custom (glyphs, item):
* pango/GlyphString.custom (Zero, New):
* pango/Item.custom (Zero, New):
* pango/LayoutRun.custom (glyphs, item): add deprecated API compat
* gdk/Gdk.metadata: undo the parser's new opaquification of
Gdk.Font; it's been deprecated since pre-gtk# times, and no one
should be using it, so there's no point in fixing it now. Fix up a
few other things to match how they used to be. Fix RgbCmap's
constructor args.
* gdk/RgbCmap.custom (Zero, New): deprecated API compat
* gdk/PangoAttrEmbossed.custom:
* gdk/PangoAttrStipple.custom (Zero, New, Attr): deprecated API
compat
(explicit operator ...): allow casting back and forth between
Pango.Attribute. (We can't usefully make them real subclasses of
Pango.Attribute, because there's no way for
Pango.Attribute.GetAttribute() to be able to dtrt with them.)
* gtk/Gtk.metadata: deprecate Gtk.Requisition.Copy,
Gtk.TextIter.Copy, and Gtk.TreeIter.Copy. Mark the return value of
TextView.DefaultAttributes as "owned". Mark TargetList's fields
private so it stays how it used to be.
* gtk/TextAttributes.custom (Zero, New): deprecated API compat
* gnomevfs/Gnomevfs.metadata: remove a bunch of opaque
declarations that the parser figures out on its own now.
* art/Art.metadata:
* glade/Glade.metadata:
* rsvg/Rsvg.metadata: un-mark everything the parser marked opaque
in these libraries, because all of the structs in question would
still be unusably broken, so the API churn would be pointless.
2005-08-11 Dan Winship <danw@novell.com>
* generator/OpaqueGen.cs (Generate):
* generator/StructBase.cs (Generate): Add the [Obsolete] attribute
to deprecated structs/boxeds/opaques too. (Affects Gdk.Font,
Gtk.Arg, Gtk.ItemFactoryEntry, Gnome.IconData, and [in 2.6]
Gnome.Vfs.MimeAction)
2005-08-09 Dan Winship <danw@novell.com>
* configure.in.in: kill off all gda/gnomedb references.
(Henceforth gda# and gnomedb# will be part of gda and gnomedb. Or
maybe separate modules in Mono SVN. Not part of gtk-sharp though.)
* Makefile.am (SUBDIRS): remove gda and gnomedb
* gda/, gnomedb/: buh-bye
* sources/Makefile.am: remove gda/gnomedb
* sources/gda.patch, sources/gnomedb.patch: gone
2005-08-09 Dan Winship <danw@novell.com>
* generator/ClassBase.cs (Validate): Don't fully validate the
parent class and interfaces (because we don't want to see the
warnings about certain GtkWidget methods in every single library
that defines a widget, etc). Instead, use the new
ValidateForSubclass() method.
(ValidateForSubclass): only validate the signals
* generator/InterfaceGen.cs (ValidateForSubclass): for interfaces
we need to validate the methods too.
* generator/ObjectGen.cs (Generate): Check for interface method
collisions against the class's own methods too, not just its other
interfaces. Also, it's only a collision if the methods' signatures
have the same types.
* generator/Method.cs (GenerateDeclCommon): Strip "Get"/"Set" even
in the context of "Gtk.TreeModel.GetNColumns"
* generator/Signal.cs (GenDefaultHandlerDelegate): Use
"{0}_managed" rather than "obj" for the internal variable name, to
avoid compile problems with signals that have a parameter named
"obj".
* generator/SymbolTable.cs (MangleName): mangle "internal" to
"_internal".
* generator/CallbackGen.cs (GenWrapper): treat InterfaceGen return
values the same as ObjectGen
2005-08-09 Dan Winship <danw@novell.com>
* generator/OpaqueGen.cs (Generate): Tweak the generated Ref/Unref
a bit; only Ref the pointer if Owned is false (and then set it to
true), and vice versa for Unref.
* glib/Opaque.cs (Opaque): set owned before setting Raw, so
that Raw will be reffed properly.
(GetOpaque): Fix this up to dtrt in all cases with refcounted
opaques.
* gtk/TreeView.custom (GetPathAtPos): Use "GetOpaque(...)" rather
than "new TreePath()"
* sample/opaquetest/*: regression test for opaque free/ref/unref
handling
* sample/Makefile.am (SUBDIRS): add opaquetest
* configure.in.in (AC_OUTPUT): add opaquetest files
2005-08-04 Dan Winship <danw@novell.com>
Change the way generatable validation works. Some generatable
properties can't be set until Validate-time (eg, Method.IsGetter),
but it's annoying for every potential user of those properties to
have to make sure it has Validated the generatable first. So now
we add an explicit Validate() step after everything is loaded but
before anything is Generated, so that at Generation time,
everything can be assumed to have been Validated.
* generator/IGeneratable.cs: add "bool Validate()"
* generator/CodeGenerator.cs (Main): after loading all of the
generatables, DeAlias the SymbolTable, Validate() all the
generatables, and discard any invalid ones.
* generator/*.cs: Implement Validate() trivially in generatables
that didn't implement it before. Move Validate() calls from
Generate() to Validate(). Remove non-hierarchical Validate()
calls.
* generator/SymbolTable.cs: GPtrArray is IntPtr, not IntPtr[]
2005-08-04 Dan Winship <danw@novell.com>
* gtk/TargetList.custom: add an operator for casting to
TargetEntry[], so you can use methods like
TargetList.AddTextTargets() in situations where you need a
TargetEntry[] rather than a TargetList.
* gtk/glue/targetlist.c: glue for that
2005-08-04 Mike Kestner <mkestner@novell.com>
* generator/Ctor.cs : call Finish and HandleException for static ctor
method bodies. [Fixes #75493]
2005-08-03 Mike Kestner <mkestner@novell.com>
* bootstrap : use gnome and vfs 2.10 api.
* bootstrap-2.4 : use gnome and vfs 2.6 api.
* bootstrap-for-the-insane : use gnome and vfs 2.10 api for now.
* configure.in.in : substitute GNOME_REQUIRED_VERSION.
* gnome/gnome-api.raw : rename to gnome-api-2.6.raw.
* gnome/gnome-api-2.10.raw : new 2.10 parse.
* gnomevfs/gnome-vfs-api.raw : rename to gnome-api-2.6.raw.
* gnomevfs/gnome-vfs-api-2.10.raw : new 2.10 parse.
* gnomevfs/Gnomevfs.metadata : mark MimeApplication opaque.
* sources/Makefile.am : split gnome parse for 2.6/2.10.
* sources/gtk-sharp-2.4-sources.xml : parse GNOME 2.6.
* sources/gtk-sharp-2.6-sources.xml : parse GNOME 2.10.
* sources/gtk-sharp-2.8-sources.xml : parse GNOME 2.10 for now.
2005-08-02 Dan Winship <danw@novell.com>
* generator/Property.cs (Generate): cast GLib.Values to
System.Enum before casting them to an enum type, to fix the build
with csc 1.1.
2005-07-29 Dan Winship <danw@novell.com>
Automatic memory management for opaque types [#49565]
* glib/Opaque.cs (Owned): new property saying whether or not gtk#
owns the memory.
(Opaque): Set Owned to true in the void ctor and false in the
IntPtr one.
(GetOpaque): add a new overload that can also create opaques, a la
GLib.Object.GetObject.
(Ref, Unref, Free): empty virtual methods to be overridden by
subclasses.
(set_Raw): Unref() and possibly Free() the old value, Ref() the
new one.
(~Opaque, Dispose): set Raw to IntPtr.Zero (triggering Free/Unref
if needed)
* parser/gapi2xml.pl (addReturnElem): if the method is named Copy
and returns a pointer, set the "owned" attribute on the
return-type.
* */*-api.raw: Regen
* generator/HandleBase.cs (FromNative): Add new
FromNative/FromNativeReturn overloads that takes a "bool owned"
param. Implement the 1-arg FromNative and FromNativeReturn in
terms of that.
* generator/ObjectBase.cs (FromNative): Implement HandleBase's new
overload. Use the two-arg version of GLib.Object.GetObject when
"owned" is true.
* generator/OpaqueGen.cs (Generate): Pull out Ref, Unref, and
Free/Destroy/Dispose methods and handle them specially by
overriding Opaque.Ref, .Unref, and .Free appropriately. (If any
of the methods are marked deprecated, output a deprecated
do-nothing method as well, to save us from having to write all
those deprecated methods by hand.)
(FromNative): use GetOpaque, passing "owned".
* generator/ReturnValue.cs (FromNative): if the value is a
HandleBase, pass Owned to its FromNative().
* generator/Parameters.cs (Owned): new property (for use on out
params)
(FromNative): Call FromNative() on the generatable, handling Owned
in the case of HandleBase.
* generator/ManagedCallString.cs:
* generator/MethodBody.cs:
* generator/Signal.cs: use param.FromNative() rather than
param.Generatable.FromNative(), to get ownership right.
* */*.metadata: Mark opaque ref/unref/free methods deprecated
(except where we were hiding them before). Add "owned" attributes
to return values and out params as needed.
* pango/AttrIterator.custom (GetFont): work around a
memory-management oddity of the underlying method.
* pango/AttrFontDesc.cs (AttrFontDesc): copy the passed-in
FontDescriptor, since the attribute will assume ownership of it.
* gtk/TreeView.custom (GetPathAtPos): set the "owned" flag on the
returned TreePaths.
* gtk/TargetList.custom: Remove refcounting stuff, which is
now handled automatically
* gtk/NodeStore.cs (GetPath): clear the Owned flag on the created
TreePath so that the underlying structure doesn't get freed when
the function returns
* gtkhtml/HTMLStream.custom (Destroy): hide this and then
reimplement it by hand to keep OpaqueGen from using it in
Dispose(), since calling it after an HTMLStream.Close() will
result in a crash.
2005-08-01 Todd Berman <tberman@off.net>
* gtk/Gtk.metadata: Change the Gtk.Style.Paint* methods to use a
Gdk.Drawable instead of a Gdk.Window
* doc/en/Gtk/Style.xml: Update the documentation for the above
change.
2005-07-28 Mike Kestner <mkestner@novell.com>
* bootstrap-for-the-insane : beginnings of 2.8 binding.
* */*-api-2.8.raw : 2.8 api files.
* gdk/Gdk.metadata : work around #define used in Pixbuf props in 2.7.
* parser/gapi2xml.pl : collision guarding for privatestruct defs.
* sources/gtk-sharp-2.8-sources.xml : parse for 2.8.
* sources/Makefile.am : api-2.8, get-2.8-sources, etc...
2005-07-28 Dan Winship <danw@novell.com>
* sources/gtk-sharp-2.4-sources.xml:
* sources/gtk-sharp-2.6-sources.xml: exclude a bunch of
gnome-print stuff that is not part of gnome-print's public API.
* gnome/gnome-api.raw: regen
* gnome/Gnome.metadata: remove some no-longer-needed metadata
* gnome/GPFontEntry.custom:
* gnome/GPPath.custom: no longer needed
* gnome/FontFamily.cs: moved from FontFamily.custom, since there's
no longer any non-custom portion of this.
2005-07-27 Dan Winship <danw@novell.com>
* gtk/ComboBoxEntry.custom: add an "Entry" property to cleanly
fetch the ComboBoxEntry's Gtk.Entry
2005-07-27 Dan Winship <danw@novell.com>
* parser/gapi2xml.pl (addParamsElem): deal with G_CONST_RETURN in
params... some functions use that to mark const "out" params. In
fact, let's use it as a hint to mark them pass_as="out" too...
* pango/pango-api-2.4.raw:
* pango/pango-api-2.6.raw:
* gtk/gtk-api-2.6.raw: Regen, fixing pango_script_iter_get_range
and gtk_image_get_icon_name.
* pango/Pango.metadata:
* pango/ScriptIter.cs: Alas, exposing GetRange makes it clear that
PangoScriptIter is really weird and we weren't wrapping it
correctly before anyway, so mark the whole thing hidden and wrap
it by hand.
2005-07-25 Mike Kestner <mkestner@novell.com>
* gnome/Gnome.metadata : mark IconList.GetIconFilename retval const.
[Fixes #75530]
2005-07-21 Dan Winship <danw@novell.com>
* glib/Value.cs: Obsolete the EnumWrapper and UnwrappedObject
constructors and casts. Add a new Enum cast.
(Val): Handle Pointer values. Change the handling of Enum/Flags
values to return the value directly rather than returning an
EnumWrapper. Remove the Char (ie, "byte") handling since there
aren't any char properties in all of gtk-sharp and the generator
mistakenly converts them to strings anyway.
* glib/EnumWrapper.cs:
* glib/UnwrappedObject.cs: Mark these Obsolete.
* glib/glue/type.c (gtksharp_get_parent_type,
gtksharp_get_type_name_for_id):
* glib/glue/value.c (gtksharp_value_get_value_type): Remove some
unneeded glue methods.
* generator/Ctor.cs (Generate):
* generator/Property.cs (Generate): Simplify the enum and object
property glue to not use EnumWrapper or UnwrappedObject.
* sample/valtest/*: a regression test for GLib.Value
* configure.in.in: add sample/valtest
2005-07-21 Dan Winship <danw@novell.com>
* parser/gapi2xml.pl (parseInitFunc): handle interface properties
as well as class properties
* gtk/gtk-api-2.4.raw:
* gtk/gtk-api-2.6.raw: Regen (adding properties to GtkFileChooser).
* generator/Property.cs (GenerateDecl): new method to generate
just a property declaration (for an interface).
(Generate): Add an "implementor" arg as with Method.Generate.
* generator/InterfaceGen.cs (Generate): Generate properties. Also,
validate methods *before* checking if they should be ignored,
since certain Method properties aren't set until Validate-time.
* generator/*.cs: misc minor changes/reorg for the above.
2005-07-19 Todd Berman <tberman@off.net>
* gtk/TreeSelection.custom: Add an overload for GetSelected to remove
the need to always pass in that damn TreeModel.
* doc/en/Gtk/TreeSelection.xml: Add documentation for the new
overload.
2005-07-19 Dan Winship <danw@novell.com>
* parser/gapi2xml.pl (addParamsElem): change the handling of
anonymous function pointer types in method signatures. Before, we
added a <callback> child to the <parameters> node, but the
generator just ignored it. Now we add the callback (with a made-up
name) to the toplevel node, and add an ordinary <param> node
referencing it to the <parameters> node. Also, if the last param
of the callback is a gpointer, rename it from "arg#" to "data" so
it will be treated correctly (as the user data passed from the
calling method). [Fixes #66241]
* art/art-api.raw:
* gdk/gdk-api-2.4.raw:
* gdk/gdk-api-2.6.raw: Regen
* generator/Parameters.cs (IsHidden): loosen the definition of
hideable user_data; it doesn't have to occur at the end of the
parameter list, as long as there's a callback arg before it.
* generator/MethodBody.cs (GetCallString): Use Parameters.IsHidden
to decide whether or not to squash user_data params, rather than
trying to duplicate its logic. As a side effect, this also causes
a handful of methods that take non-hidden IntPtr arguments to
start actually passing those arguments to C rather than always
passing IntPtr.Zero.
* generator/Method.cs (Equals, GetHashCode): Remove unnecessary
and possibly erroneous hashing overrides.
* gtk/Gtk.metadata: Hide Gtk.Container.ForeachFull, since it's
useless and wasn't in gtk# 1.0
* gtk/Menu.custom (Popup):
* gtk/TextIter.custom (ForwardFindChar, BackwardFindChar):
* gnome/App.custom (CreateMenusInterp, InsertMenusInterp,
CreateToolbarInterp):
* gnome/Client.custom (RequestInteractionInterp):
* gnome/Popup.custom (MenuDoPopupModal, MenuDoPopup): Add
[Obsolete] compat overloads for methods that have now lost a
useless IntPtr.
2005-07-19 Dan Winship <danw@novell.com>
* generator/Parameters.cs: Remove the AllowComplexRefs flag.
(They're always allowed now.)
* generator/Signal.cs (GenVirtualMethod): Fix up the use of CSType
vs MarshalType in the ref/out-handling code so that this can
marshal any type.
2005-07-18 Dan Winship <danw@novell.com>
* parser/gapi2xml.pl: Change a few instances of
"last if ($line =~ /^}/);" to
"last if ($line =~ /^(deprecated)?}/);" to prevent runaway
parsing (in particular in libgnomeui).
* sources/gtk-sharp-2.4-sources.xml:
* sources/gtk-sharp-2.6-sources.xml: exclude a handful of
libgnomeui files that were omitted in gtk# 1.0 due to the parser
bug, but which are entirely deprecated anyway. (Some of them
showed up in earlier 1.9/2.4/2.6 releases but are going away again
now.)
* gnome/gnome-api.raw: Regen
* gnome/Gnome.metadata: Hide a few more things that should be
hidden, remove a few rules that aren't needed any more. Keeping
hiding GnomeIconTheme though and using the old by-hand IconTheme
for the moment, since the by-hand one isn't compatible with the
autogenerated one.
* gnome/IconData.cs: kill this, use the autogenerated version
2005-07-13 Dan Winship <danw@novell.com>
* sources/gtk-sharp-2.4-sources.xml:
* sources/gtk-sharp-2.6-sources.xml: remove some gnome-vfs files:
gnome-vfs-method and gnome-vfs-transform, because they're
internal/part of the module API, and gnome-vfs-file-size.h,
because it's generated and shouldn't be in the source tarball (and
we don't parse it right anyway).
* gnomevfs/gnome-vfs-api.raw: Regen
* gnomevfs/gnomevfs-symbols.xml: add GnomeVFSFileOffset
* gnomevfs/Gnomevfs.metadata: remove a whole bunch of callback
types that are only used from methods and structs that we hide.
2005-07-08 Mike Kestner <mkestner@novell.com>
* */*.raw : regen.
* parser/gapi2xml.pl : access comment doesn't have to start at
beginning of line.
2005-07-08 Mike Kestner <mkestner@novell.com>
* pango/*.raw : regen.
* sources/gtk-sharp-2.4-sources.xml : exclude some xft and fc files.
* sources/gtk-sharp-2.6-sources.xml : exclude some xft and fc files.
2005-07-07 Dan Winship <danw@novell.com>
* gnome/Gnome.metadata: opaquify ModuleInfo and hide the types
that are only used inside ModuleInfo, so we don't marshal the
function pointers into (incorrect) delegates.
* gnome/Modules.cs:
* gnome/Program.custom: update for ModuleInfo being a class rather
than a struct now
2005-07-02 Mike Kestner <mkestner@novell.com>
* generator/StructField.cs : fix name exception throw conditional.
2005-07-02 Mike Kestner <mkestner@novell.com>
* generator/CallbackGen.cs : implement new IAccessor iface so that
callback fields on structs can now be accessed.
* generator/ClassBase.cs : remove/abstract some methods incorrectly
located here.
* generator/ClassGen.cs : implement methods previously inherited from
ClassBase incorrectly.
* generator/HandleBase.cs : new base class for native ptr wrappers.
Implements new IAccessor interface and code moved from ClassBase.
* generator/IAccessor.cs : new iface to generate field/prop accessors.
* generator/InterfaceGen.cs : derive from new ObjectBase.
* generator/LPGen.cs : implement IAccessor.
* generator/LPUGen.cs : implement IAccessor.
* generator/ObjectBase.cs : new base class for Object/Iface types.
* generator/ObjectGen.cs : derive from new ObjectBase.
* generator/OpaqueGen.cs : derive from HandleBase.
* generator/StructField.cs : refactor Generate method using new
IAccessor interface.
* */*.custom : add obsolete impls for some existing c_cased struct
field accessors that are now StudlyNamed.
2005-07-02 Mike Kestner <mkestner@novell.com>
* generator/CallbackGen.cs : remove an old workaround that put
the native wrapper class into the implementor's *Sharp namespace.
Use new ImportSignature sig.
* generator/ImportSignature.cs : don't mangle the callback wrapper
namespace any more. Remove impl_ns ctor param and field.
* generator/MethodBase.cs : use new MethodBody and ImportSignature
ctor sigs.
* generator/MethodBody.cs : drop the impl_ns ctor param.
* generator/Signal.cs : use new ImportSignature ctor sig.
* generator/VirtualMethod.cs : use new ImportSignature ctor sig.
2005-07-01 Mike Kestner <mkestner@novell.com>
* generator/Parameters.cs : init allow_complex_refs to true to fix
build.
2005-06-30 Dan Winship <danw@novell.com>
* generator/Parameters.cs (AllowComplexRefs): new property for
whether or not to allow "complex" ref/out args.
(Validate): update for that
* generator/Signal.cs: set AllowComplexRefs false on the params.
(Validate): fix the messages
(GenCallback, GenEventHandler): properly handle ref/out args, by
manually pointerifying them (except for boxed args, which are
already pointers).
* glib/Marshaller.cs (StructureToPtrAlloc): Rename from
PtrToStructureAlloc, since it wraps Marshal.StructureToPtr.
2005-06-28 Mike Kestner <mkestner@novell.com>
* gtk/ComboBox.custom : add ctor (string[]).
* gtk/ComboBoxEntry.custom : add ctor (string[]).
* sample/test/TestComboBox.cs : simple new ComboBox tester.
* sample/test/WidgetViewer.cs : button for simple new ComboBox tester.
2005-06-27 Mike Kestner <mkestner@novell.com>
* gnome/CanvasBpath.custom : a BPath property to wrap the ugly Bpath
IntPtr prop. [Fixes #75381]
2005-06-24 Mike Kestner <mkestner@novell.com>
* atk/Atk.metadata : couple of small api cleanups.
2005-06-24 Mike Kestner <mkestner@novell.com>
* gtk/Gtk.metadata : remove the one reference to FileChooserEmbed.
* gtk/gtk-api-2.*.raw : regen.
* sources/gtk-sharp-2.*-sources.xml : exclude FileChooserEmbed files.
2005-06-23 Mike Kestner <mkestner@novell.com>
* generator/ReturnValue.cs : support owned and elements_owned for lists.
* glib/List.cs : add ctor overloads for memory mgmt.
* glib/ListBase.cs : add ctor overloads for memory mgmt. Dispose
elements if specified.
* glib/SList.cs : add ctor overloads for memory mgmt.
* gnome/Gnome.metadata : unhide and generate a List prop.
* gnomevfs/Gnomevfs.metadata : unhide and generate a List prop.
* gtk/FileChooser.custom : new. add hidden props.
* gtk/FileChooserButton.custom : new. impl hidden props.
* gtk/FileChooserDialog.custom : remove some List props and use the
GLib.Marshaller for the remaining ones..
* gtk/FileChooserWidget.custom : remove some List props and use the
GLib.Marshaller for the remaining ones..
* gtk/Gtk.metadata : unhide and let the generator do some List props.
2005-06-23 Mike Kestner <mkestner@novell.com>
* gconf/GConf/Client.cs : support add/remove of a single notify handle
to multiple directories. [Fixes #55877]
2005-06-22 Mike Kestner <mkestner@novell.com>
* sample/GladeTest.cs : add a menu item signal connect to test for the
problem described in bug#74946.
* sample/test.glade : add menubar.
2005-06-22 Mike Kestner <mkestner@novell.com>
* sample/GtkDemo/DemoHyperText.cs : replace PersistentData usage that
breaks on csc.
* sample/GtkDemo/DemoTreeStore.cs : fix a 2.0 usage.
2005-06-22 Mike Kestner <mkestner@novell.com>
* generator/ManagedCallString.cs : don't assume ref for structs.
* generator/VMSignature.cs : don't assume ref for structs.
2005-06-21 Mike Kestner <mkestner@novell.com>
* generator/ConstStringGen.cs : override ToNativeReturn ().
* generator/ClassBase.cs : use fully qualified interface names for
conflicting implementations.
2005-06-20 Mike Kestner <mkestner@novell.com>
* parser/gapi2xml.pl : fix const foo * const * fields/params.
[Fixes #75266]
2005-06-17 Mike Kestner <mkestner@novell.com>
* Makefile.include : add included apis as deps on the generation
target to force regen if dependency lib api changes.
* pango/Analysis.custom : new custom to implement the ExtraAttrs
property. [Fixes #74668]
* pango/Makefile.am : add new custom file.
2005-06-17 Mike Kestner <mkestner@novell.com>
* bootstrap : use assembly version 2.6.0.0.
* bootstrap-2.4 : use assembly version 2.4.0.0.
* configure.in.in : substitute the assembly version.
2005-06-14 Mike Kestner <mkestner@novell.com>
* gtk/Gtk.metadata : add nodes for all the *Set props on TextTag.
[Fixes #75219]
2005-06-10 Dan Winship <danw@novell.com>
* parser/gapi2xml.pl (addPropElem): Distinguish CONSTRUCT ("must
be set at construct time") and CONSTRUCT_ONLY ("can only be set at
construct time") properties, rather than marking them all
"construct-only".
* gnome/gnome-api.raw:
* gtk/gtk-api-2.4.raw:
* gtk/gtk-api-2.6.raw: Regen, causing a few formerly-read-only
properties to become writable.
2005-06-10 Mike Kestner <mkestner@novell.com>
* glade/XML.custom : add a try block on field autoconnect to make it
easier to catch type mismatches and such. Suggestion from Gonzalito.
2005-06-09 Lluis Sanchez <lluis@novell.com>
* glib/Marshaller.cs: Added null check in FilenamePtrToString.
2005-06-08 Mike Kestner <mkestner@novell.com>
* generator/SimpleBase.cs : off-by-one in namespace join.
* glib/ListBase.cs : support IntPtr element_type.
* gnomevfs/FileInfo.cs : make it ManualGen friendly.
* gnomevfs/*.cs : rework for FileInfo api changes.
* gnomevfs/Gnomevfs.metadata : make FileInfo a manual symbol.
* gnomevfs/Uri.custom : rework for FileInfo api changes.
* gnome/Makefile.am : add gnomevfs dependency to pick up some more api
symbols.
* gnome/gnome-sharp-2.0.pc.in : advertise the vfs dep.
[Fixes #71060]
2005-06-08 Mike Kestner <mkestner@novell.com>
* generator/ReturnValue.cs : don't write a sem in FromNative.
* glib/ListBase.cs : handle GLib.Object explicit element types.
* glib/Marshaler.cs : only copy lists if Count > 0.
* gtk/Gtk.metadata : unhide Window.ListToplevels with a proper element
type for automatic list to array marshaling.
* gtk/Window.custom : kill manual ListToplevels impl.
2005-06-08 Mike Kestner <mkestner@novell.com>
* generator/ReturnValue.cs : improved list to array marshaling.
* glib/Marshaller.cs : added ListToArray ().
* gnomevfs/Gnomevfs.metadata : mark element_type on
Mime.GetAllApplications. [Fixes #71888]
2005-06-06 Mike Kestner <mkestner@novell.com>
* generator/ImportSignature.cs : fix native delegate namespacing hack.
* gnomevfs/gnome-vfs-api.raw : regen.
* gnomevfs/Gnomevfs.metadata : replace all the type renames with a
namespace rename. remove-node several manually implemented callback
types and broken generated types for now.
* gnomevfs/Async.cs : use Opaque.Handle.
* gnomevfs/Handle.cs : kill. replaced by generated GLib.Opaque type.
* gnomevfs/Makefile.am : kill Handle.cs.
* gnomevfs/Sync.cs : use Opaque.Handle.
* sources/gtk-sharp-2.6-sources.xml : s/Gnome.Vfs/GnomeVFS.
2005-06-06 Mike Kestner <mkestner@novell.com>
* Makefile.include : depend on gapi-fixup.exe for the api target.
* parser/gapi-fixup.cs : remove-node rule handling.
2005-06-06 Dan Winship <danw@novell.com>
* sample/GtkDemo/DemoRotatedText.cs (RotatedTextExposeEvent): Use
Gdk.PangoRenderer.GetDefault() like the C gtk-demo rather than
creating a new Gdk.PangoRenderer. [Fixes #74865]
* gdk/Gdk.metadata: fix return type of Gdk.PangoRenderer.GetDefault
* glib/GType.cs (cctor): call g_type_init(). (Avoids debug spew
when monodocer updates doc/en/GLib/GType.xml.)
2005-06-02 Mike Kestner <mkestner@novell.com>
* gtk/gtk-api-2.6.raw : regen.
* parser/gapi_pp.pl : add G_DEFINE_TYPE_WITH_CODE handling.
* parser/gapi2xml.pl : add G_DEFINE_TYPE_WITH_CODE parsing.
[Fixes #74833]
2005-06-02 Mike Kestner <mkestner@novell.com>
* glib/ListBase.cs : add a nested class to support filename encoded
string element marshaling.
* gtk/Gtk.metadata : mark the filenames and folders as filename
encoded.
* gtk/FileChooserDialog.custom : use new ListBase.FilenameString type
for list element type of filenames and folders.
* gtk/FileChooserWidget.custom : use new ListBase.FilenameString type
for list element type of filenames and folders.
[Fixes #72701]
2005-06-02 Mike Kestner <mkestner@novell.com>
* generator/ConstFilenameGen.cs : new generatable for filename encoded
const string marshaling
* generator/Makefile.am : add new file
* generator/SymbolTable.cs : add new gfilename types.
* glib/Marshaller.cs : add new filename-encoded string marshalers.
* gtk/FileSelection.custom : use FilenamePtrToString to marshal.
* gtk/Gtk.metadata : map the FileSelector filename types to my new
imaginary gfilename type. [Fixes #74963]
2005-06-02 Mike Kestner <mkestner@novell.com>
* gtk/Object.custom : only connect to Destroyed for managed subclasses
and let the wrappers get disposed by the GC.
2005-06-01 Mike Kestner <mkestner@novell.com>
* glib/Value.cs : handle enum/flags types in Val.
[Fixes #75112]
2005-06-01 Dan Winship <danw@novell.com>
* glib/Value.cs: Add a constructor and an explicit cast for
string[] (using a G_TYPE_STRV boxed value).
* generator/SymbolTable.cs (SymbolTable): Map GStrv to string[].
(The mapping relies on the above GLib.Value magic, so it only
works correctly for properties, but that's ok, because GStrv isn't
a real type anyway and only shows up in the api files for
G_TYPE_STRV properties.) Makes the Gtk.AboutDialog Artists,
Authors, and Documenters properties show up.
* gtk/Gtk.metadata: hide
AboutDialog.Get/SetArtists/Authors/Documenters, which can't be
used to implement the Artists/Authors/Documenters properties,
because the generated code doesn't know to NULL-terminate the
arrays.
2005-05-31 Mike Kestner <mkestner@novell.com>
* glib/Object.cs : rework the weakref release mechanism to avoid a
couple "resurrection" issues.
2005-05-25 Mike Kestner <mkestner@novell.com>
* configure.in.in : remove crosspkgdir arg that causes trouble with
newer pkgconfigs.
2005-05-24 Dan Winship <danw@novell.com>
* parser/gapi2xml.pl: Make the enum value parser do the right
thing with parenthesized values ("FOO = (1 << 2)") and within-type
aliases ("GTK_ANCHOR_N = GTK_ANCHOR_NORTH"). Make it intentionally
do the wrong thing with unparsable values (outputting them as-is
into the api file) so that we are forced to fix them with metadata
rather than silently getting incorrect values.
* gdk/gdk-api-2.4.raw:
* gdk/gdk-api-2.6.raw (PixdataType): Now recognized as flags,
not enum
* gtk/Gtk.metadata: hide the enums ArgFlags and RcTokenType (which
are not used by any wrapped API, and which formerly contained
entirely wrong values).
* gtk/gtk-api-2.4.raw:
* gtk/gtk-api-2.6.raw (AnchorType, SelectionMode): update with
values for aliases
* gnome/Gnome.metadata: fix value of Gnome.PrintButtons.Cancel
* gnome/gnome-api.raw (PrintUnitBase, PaperSelectorFlags,
PrintDialogFlags, PrintDialogRangeFlags): Now recognized as flags,
with values.
2005-05-24 John Luke <john.luke@gmail.com>
* configure.in.in: remove doc/updater/Makefile to fix build
2005-05-23 Mike Kestner <mkestner@novell.com>
* configure.in.in : add monodocer-fu.
2005-05-21 Mike Kestner <mkestner@novell.com>
* audit : add a compatibility auditing framework.
* audit/base/*.apiinfo : initial checkin of 1.0.10 API for diffs.
* audit/extract-missing.cs : XPath tool to grab presence='missing'.
* audit/get-apidiff.pl : diffs api-infos to the base.
* audit/get-apiinfo.pl : drives a module-wide api-info extraction.
* audit/get-missing.pl : drives the extract-missing.exe tool.
* audit/makefile : all and check targets. no dist support.
* audit/mono-api-info.cs: copied from mcs/tools/corcompare.
* audit/mono-api-diff.cs: copied from mcs/tools/corcompare.
2005-05-17 Jordi Mas i Hernandez <jordi@ximian.com>
* gnome/About.custom: fixes exception when passing null argument
2005-05-16 Mike Kestner <mkestner@novell.com>
* makefile.win32 : remove 1.0 csc, default to 1.1.
* gtk/TreeEnumerator.cs : remove C# 2.0 usage.
* gtk/glue/makefile.win32 : remove duplicated cellrenderer.o.
* vte/glue/Makefile.am : use VTE_DEPENDENCIES_CFLAGS.
* */makefile.win32 : add glue args to generation target.
2005-05-16 Mike Kestner <mkestner@novell.com>
* configure.in.in : expand new vte glue makefile.
* vte/glue/Makefile.am : add GTK_CFLAGS to fix build. Remove
win32 dist files.
2005-05-16 Dan Winship <danw@novell.com>
* generator/StructBase.cs: update field-generation logic a bit
* generator/CodeGenerator.cs: add a --glue-includes flag
* generator/GenerationInfo.cs: Accept glue_includes value from
Main and output it to the glue_filename.
* generator/FieldBase.cs (Ignored): handle more ignorable cases.
(CheckGlue): New method to figure out what kind of glue we'll need
for a field.
(GenerateImports): generate appropriate imports per CheckGlue.
(GenerateGlue): Generate C glue for accessing a struct field;
either a fully-C-based accessor, or a method to just return the
field's offset in the struct.
(Generate): Use the generated glue to read the field.
* generator/PropertyBase.cs (CType): if the field is a single bit,
set its type to gboolean.
* generator/ObjectGen.cs (Generate):
* generator/OpaqueGen.cs (Generate): Call GenFields.
* generator/StructField.cs: Use FieldBase's glue-generation code
to handle bitfields. [#54489]
* generator/ObjectField.cs: Generates accessors for public fields
of objects and opaque structs. [#69514]
* generator/ClassBase.cs (ClassBase): Parse <fields> nodes and
create ObjectField objects.
(GenFields): Output field properties
(IgnoreMethod): Ignore Get/Set methods that duplicate fields
* generator/Makefile.am (sources): update
* {gdk,gnome,gtk,pango}/*.metadata: Mark some additional fields as
public. Rename/retype some fields for consistency with earlier
hand-coded bindings.
* {gdk,gnome,gtk,pango}/*.custom: Remove custom methods that can
now be autogenerated.
* {gdk,gnome,gtk,pango}/glue/*.c: Remove glue methods that can now
be autogenerated
* {gdk,glade,gnome,gtk,pango,vte}/Makefile.am
* {gdk,glade,gnome,gtk,pango,vte}/glue/Makefile.am
* {gdk,gnome,gtk,pango}/glue/makefile.win32: Update
2005-05-15 Ben Maurer <bmaurer@ximian.com>
* bootstrap (GTK_SHARP_VERSION): Bump so that Todd's md tarballs
work. Not yet tagged...
2005-05-13 Mike Kestner <mkestner@novell.com>
* gtk/Object.custom : hold refs for all managed subclasses. Release on
Destroy. Dispose plain wrappers on Destroy also.
* gtk/Widget.custom : remove the parent set hack since it's "handled"
on Gtk.Object now. All this will get fixed properly when we have
access to owen's toggle_refs.
2005-05-13 Mike Kestner <mkestner@novell.com>
* generator/MethodBody.cs : don't create a new destroy notify
delegate, just use GLib.DestroyHelper.NotifyHandler directly.
2005-05-11 Mike Kestner <mkestner@novell.com>
* glib/Object.cs : mark Dispose virtual.
* gtk/Object.cs : release the Destroy handler in Dispose.
2005-05-11 Mike Kestner <mkestner@novell.com>
* configure.in.in : s/-g/-debug
2005-05-11 Mike Kestner <mkestner@novell.com>
* gtk/Gtk.metadata : hide IconTheme.GetIconSizes.
* gtk/IconTheme.custom : implement GetIconSizes because of its zero
terminated array return value. 2.6 only. [Fixes #74844]
2005-05-11 Mike Kestner <mkestner@novell.com>
* pango/Makefile.am : add file.
* pango/Units.cs : new class to wrap PANGO_SCALE and PANGO_PIXELS.
* pango/glue/units.c : accessors for the macros.
* pango/glue/Makefile.am : build it.
* pango/glue/makefile.win32 : build it on win.
[Fixes #74837]
2005-05-11 Eric Butler <eric@extremeboredom.net>
* gtk/Gtk.metadata : add IEnumerable iface to ListStore.
* gtk/ListStore.cs : add GetEnumerator.
* gtk/Makefile.am : add file.
* gtk/TreeEnumerator.cs : root node enumerator for a TreeModel.
2005-05-11 Mike Kestner <mkestner@novell.com>
* gtk/Widget.custom : manual ListMnemonicLabels implementation to
return a Widget[]. [Fixes #74786]
2005-05-11 Mike Kestner <mkestner@novell.com>
* generator/ObjectGen.cs : default empty assembly names for the
mapper. [Fixes #74769]
2005-05-10 Mike Kestner <mkestner@novell.com>
* gtk/Object.custom : Dispose on a Destroyed event.
* gtk/Widget.custom : rework the parent_set hack to go direct to
the native signal instead of using the event so we avoid rewrapping of
already destroyed parents.
2005-05-10 Mike Kestner <mkestner@novell.com>
* gdk/Pixbuf.custom : use non-obsolete PixbufLoader.Write overload.
* gdk/PixbufLoader.custom : add obsolete PixbufLoader.Write overload
for the uint case for backcompat. Update other uses to the new ulong
overload.
* sample/GtkDemo/DemoImage.cs : use PixbufLoader.Write (byte[])
overload.
2005-05-09 Mike Kestner <mkestner@novell.com>
* glib/Object.cs : add a try/catch block to g_object_unref calls to
help identify "extra unref" bugs when exceptions occur.
2005-05-06 John Luke <john.luke@gmail.com>
* pango/Makefile.am: add Matrix.custom
* pango/Matrix.custom: add Pango.Matrix.Identity field
which is the equivalent of PANGO_MATRIX_INIT
* sample/GtkDemo/DemoRotatedText.cs: use Pango.Matrix.Identity
* doc/en/Pango/Matrix.xml: add docs for Pango.Matrix.Identity
2005-05-06 Mike Kestner <mkestner@novell.com>
* configure.in.in : always enable debug build in maintainer_mode.
2005-05-06 Mike Kestner <mkestner@novell.com>
* gdk/Pixbuf.custom : move the GetCallingAssembly invocations back out
the the public methods.
* gdk/PixbufLoader.custom : ditto.
2005-05-06 Mike Kestner <mkestner@novell.com>
* bootstrap :
* bootstrap-2.4 : use ln instead of cp for api files so reparsing
causes rebuilds.
* sources/gtk-sharp-2.6-sources.xml : moved from gtk-sharp-sources.xml
plus fixed the pango, atk, and gdk raw filenames.
* sources/gtk-sharp-2.4-sources.xml : sources file for 2.4 api.
* sources/Makefile.am : added 2.4/2.6 targets for api and get-source
with make api/get-source-code getting/parsing both versions.
* */*.raw : regenerate
2005-05-06 Jose Faria <spigaz@gmail.com>
* gdk/Pixbuf.custom : new width/height ctor overloads.
* gdk/PixbufLoader.custom : new width/height ctor overloads.
2005-05-04 Mike Kestner <mkestner@novell.com>
* autogen.sh : error out with bootstrap help message.
* bootstrap : replaces autogen.sh for the 2.5.x release line.
* bootstrap-2.4 : replaces autogen.sh for the 1.9.x release line.
* configure.in.in : renamed from configure.in and added substitution
for version, dependencies, CFLAGS and CSFLAGS.
* README : bootstrap docs
* */*-api.raw : moved to api-2.6.raw for bootstrapping.
* */*-api-2.4.raw : added 2.4 api files for bootstrapping.
* */glue/Makefile.am : add GTK_SHARP_VERSION_CFLAGS.
* pango/Attribute.cs : add a #if GTK_SHARP_2_6 block.
* pango/glue/attribute.c : add a couple #ifdef GTK_SHARP_2_6 blocks.
* sample/GtkDemo/* : make the 2.6 demos conditional.
2005-05-04 Mike Kestner <mkestner@novell.com>
* glib/Signal.cs : s/DestroyNotify/SignalDestroyNotify to fix mcs 1.0
compilation.
* gdk/Input.custom : ditto.
2005-05-04 Todd Berman <tberman@off.net>
* glade/XML.custom: Store the callback wrapper so it doesn't get GC'd.
2005-05-04 Dan Winship <danw@novell.com>
* parser/gapi2xml.pl: make note of _get_type methods for enums
* */*-api.xml: Regen, adding gtype="..." to many enum types
* generator/EnumGen.cs (Generate): if the enum has the
"gtype" property, add a GTypeAttribute pointing to an internal
FooGType class whose GType property can be used to get the enum's
GType.
* generator/ObjectGen.cs:
s/ObjectManager.RegisterType/GType.Register/
* glib/GTypeAttribute.cs: attribute for indicating a property that
will return the GType of a type (particularly for enums, which
can't have GType properties added to them).
* glib/GType.cs: renamed from Type.cs to match the type name
(public static readonly GType ...): add a few missing types.
(Register): moved from ObjectManager.RegisterType
(LookupGType): moved from TypeConverter.LookupType and extended to
handle GTypeAttribute. Also, fix mappings for sbyte/byte/char, and
return specific GTypes for Object subclasses rather than always
returning GType.Object. [Fixes #74699]
(LookupType): moved from ObjectWrapper.LookupType
(ToString): return the type name
* glib/Object.cs (RegisterGType):
s/ObjectManager.Register/GType.Register/
(LookupGType): Make this protected internal so GType can access
it.
* glib/ObjectManager.cs (RegisterType): deprecate in favor of
GType.Register.
(LookupType): moved to GType
* glib/TypeConverter.cs (LookupType): now a deprecated wrapper
around GType.LookupGType.
* glib/Value.cs: Use GType casts rather than TypeConverter
* gtk/NodeStore.cs (ScanType):
* gtk/ListStore.custom (ListStore):
* gtk/TreeStore.custom (TreeStore): Use (GType) cast rather than
TypeConverter. Remove the error check and exception, since the
cast never returns GType.Invalid. (The check probably predates
GLib.ManagedValue.)
* gnome/PanelAppletFactory.cs (Register): Use a GType cast rather
than GLib.Object.LookupGType (which is no longer accessible after
an mcs bugfix)
* sample/GtkDemo/DemoIconView.cs (CreateStore): use the Type[]
constructor rather than the GType[] constructor, since it
translates typeof(Gdk.Pixbuf) correctly now.
2005-05-04 Dan Winship <danw@novell.com>
* generator/Parameters.cs (Parameters.Validate): If the parameters
end with "callback, gpointer, GDestroyNotify", then mark the
callback as having "notified" Scope.
(Parameters.IsHidden): Hide user_data and GDestroyNotify after a
callback.
(Parameter.Scope): make this settable
(Parameter.IsDestroyNotify): new test
* generator/MethodBody.cs (Initialize): Handle "notified" callback
scope (using a GCHandle and GLib.DestroyHelper.NotifyHandler)
* generator/CallbackGen.cs (GenWrapper): Add a static
"GetManagedDelegate" method to the wrapper type, to translate a
native delegate back to its corresponding managed delegate.
(FromNative): use GetManagedDelegate.
* generator/ReturnValue.cs (Validate): We handle callback return
values now
* generator/SymbolTable.cs: marshal GDestroyNotify as
GLib.DestroyNotify
* glib/DestroyNotify.cs: Moved from gtk
* gtk/Gtk.metadata: globally change GtkDestroyNotify to
GDestroyNotify, but then change back the ones that are exposed in
the API. Un-hide lots of methods we can correctly autogenerate
now.
* gtk/DestroyHelper.cs: moved to glib
* gtk/*.custom: remove methods that are autogenerated now, add
Obsolete wrappers where needed, replace Gtk.DestroyHelper usage
with GLib.DestroyHelper.
* gdk/Gdk.metadata:
* gnome/Gnome.metadata: Turn Gdk.Drawable.SetData and
Gnome.IconList.SetIconDataFull's GDestroyNotify args into
gpointers so the generated API stays the same as it used to be.
* rsvg/Handle.custom: implement deprecated SetSizeCallback
* sample/GtkDemo/DemoIconView.cs (CreateSort): update for API
changes
2005-05-03 Mike Kestner <mkestner@novell.com>
* parser/gapi2xml.pl : parse const * const * Foo () properly.
[Fixes #74710]
2005-05-02 Dan Winship <danw@novell.com>
* generator/Parameters.cs (IsHidden): method to check if a
parameter should be hidden in the managed sig (eg, because it's
user_data, or it's the length of the preceding array/string, etc).
(VisibleCount): the number of parameters that will actually be
exposed in the managed signature.
(IsAccessor): test VisibleCount, not Count
(AccessorReturnType, AccessorName): deal with the fact that the
accessor parameter might not be the first one.
* generator/CallbackGen.cs:
* generator/Signature.cs: use Parameters.IsHidden.
* generator/Method.cs (Initialize): set is_set based on
VisibleCount, not Count.
(Validate): call base.Validate() before Initialize() so that
VisibleCount will be correct in Initialize.
* generator/MethodBody.cs (GetCallString, CallArrayLength,
Initialize): update to deal with accessors with multiple args.
* gtk/Clipboard.custom (SetText): implement as an Obsolete variant
of the Text property
* gtk/IconTheme.custom (SearchPath, SetSearchPath): obsolete
SetSearchPath, implement a setter on SearchPath instead.
* gtk/ListStore.custom (SetColumnTypes):
* gtk/TreeStore.custom (SetColumnTypes): implement as an Obsolete
variant of the ColumnTypes property.
* glade/XML.custom (CustomHandler): implement as a property
(SetCustomHandler): Mark this obsolete
* glade/Global.custom (SetCustomHandler): deprecate in favor of
XML.CustomHandler.
* gnomedb/Editor.custom (SetText): implement as an Obsolete
variant of the Text property
2005-05-02 Dan Winship <danw@novell.com>
Apply the parts of the generator reorganization from #69514 that
don't actually affect the generated output
* generator/PropertyBase.cs: new base class for fields and
properties (mostly containing code formerly in Property.cs).
* generator/Property.cs: derive from PropertyBase
* generator/FieldBase.cs: base class for fields (containing some
code formerly in Field.cs)
* generator/StructField.cs: class for struct fields (the rest of
what used to be Field.cs)
* generator/StructBase.cs: s/Field/StructField/
* gnome/Gnome.metadata: hide a few _get_ methods that the
generator is just now noticing, to preserve the old output.
2005-05-02 Mike Kestner <mkestner@novell.com>
* generator/Property.cs : fix interface setter generation.
[Fixes #74766]
2005-04-27 Ben Maurer <bmaurer@ximian.com>
* */Makefile.am: more build fixes
* configure.in: amd64 build fix
2005-04-26 Miguel de Icaza <miguel@novell.com>
* gtkdotnet/Graphics.cs: Contribution from Sebastian Faltoni
<sebastian.faltoni@gmail.com> that implements support for using
System.Drawing on Windows.
2005-04-26 Mike Kestner <mkestner@novell.com>
* gtk/NodeStore.cs : implement IEnumerable.
2005-04-24 Dan Winship <danw@novell.com>
* pango/Attribute.cs: Base class for Pango attributes, a la
Gdk.Event
* pango/pango-symbols.xml: explain how to marshal PangoAttribute.
* pango/AttrBackground.cs:
* pango/AttrFallback.cs:
* pango/AttrFamily.cs:
* pango/AttrFontDesc.cs:
* pango/AttrForeground.cs:
* pango/AttrLanguage.cs:
* pango/AttrLetterSpacing.cs:
* pango/AttrRise.cs:
* pango/AttrScale.cs:
* pango/AttrShape.cs:
* pango/AttrSize.cs:
* pango/AttrStretch.cs:
* pango/AttrStrikethrough.cs:
* pango/AttrStrikethroughColor.cs:
* pango/AttrStyle.cs:
* pango/AttrUnderline.cs:
* pango/AttrUnderlineColor.cs:
* pango/AttrVariant.cs:
* pango/AttrWeight.cs: subclasses of Attribute, with proper
constructors. These don't actually correspond one-to-one with
the underlying types, but they're nicer this way.
* pango/Pango.metadata: Hide Attribute and its subclasses from the
generator. Also hide "Attr" (which previously contained
non-working badly-named static methods to create Attributes)
and AttrClass (which is not really useful outside of pango
itself).
* pango/AttrIterator.custom: use Pango.Attribute.GetAttribute.
* pango/glue/attribute.c: glue for Attribute and its subclasses
[Fixes #52575 and its semi-dup #46552]
2005-04-22 Dan Winship <danw@novell.com>
* gnome/Gnome.metadata: mark GnomeTriggerActionFunction's char**
param const
* glib/Marshaller.cs (Utf8PtrToString): Add an IntPtr[]->string[]
overload, since that's what we actually need in the case where
it's used (above). Leave the IntPtr[]->string[] overload of
PtrToStringGFree in case anyone is using it manually.
* gtk/Gtk.metadata: hide GtkModuleInitFunc and
GtkModuleDisplayInitFunc; they are the signatures of user-defined
methods that gtk only ever resolves via g_module_symbol(), so
they're not useful from C#. (And the marshalling was all wrong
anyway...)
* glib/Type.cs:
* glib/TypeConverter.cs:
* glib/Value.cs: sort lists of GTypes into TypeFundamental order
2005-04-22 Mike Kestner <mkestner@novell.com>
* configure.in : bump version to 2.5.0 for trunk.
2005-04-21 Mike Kestner <mkestner@novell.com>
* configure.in : require gtk+ 2.6.
* generator/ReturnValue.cs : invalidate Callback returns for now.
* gtk/Gtk.metadata : some renames for conflicting new API.
* parser/gapi2xml.pl : whitespace tweak for class VM regexen.
* sources/Makefile.am : add new patch, kill atk patch, revise dirs.
* sources/atkhyperlink.patch : kill unnecessary patch.
* sources/gtkclipboard.patch : add new clipboard patch.
* sources/gtk-sharp-sources.xml : parse gtk+-2.6.
* */*-api.raw : regen pango, atk, gdk, and gtk for new versions.
2005-04-21 Dan Winship <danw@novell.com>
* parser/gapi_pp.pl: add "#if 0" to $eatit_regex
* gdk/EventClient.cs (gtksharp_gdk_event_client_get_time):
* glib/Object.cs (gtksharp_get_type_id):
* glib/Value.cs (gtksharp_object_get_ref_count,
g_value_take_boxed):
* gnome/PrintContext.custom (gnome_print_concat,
gnome_print_glyphlist, gnome_print_setdash):
* gtk/NodeStore.cs (gtksharp_node_store_new, stamp):
* gtk/NodeView.cs (gtk_tree_view_new_with_model):
* gtk/Widget.custom (gtksharp_gtk_widget_set_allocation):
* pango/LayoutLine.custom (g_free): Remove unused
prototypes/fields
2005-04-21 Mike Kestner <mkestner@novell.com>
* Makefile.include : make mcs shaddup about 169.
2005-04-20 Mike Kestner <mkestner@novell.com>
* generator/*.cs : cleanup the unused private member warnings.
2005-04-20 Mike Kestner <mkestner@novell.com>
* parser/gapi-parser.cs : add a directory element with child exclude
elements to simplify source version updating.
* sources/gtk-sharp-sources.xml : switch to directory elements.
2005-04-19 Mike Kestner <mkestner@novell.com>
* gdk/Gdk.metadata : add a None member to ModifierType and fix the
definition for ModifierMask since the parser barfs on it.
[Fixes #74594]
2005-04-17 Jeroen Zwartepoorte <jeroen.zwartepoorte@gmail.com>
* sample/PolarFixed.cs: (PolarFixed.PolarFixedChild): Fix compilation
problem.
2005-04-15 Mike Kestner <mkestner@novell.com>
* configure.in : remove unnecessary libxml check.
* parser/gapi-parser.cs : use a System.Xml to kill gapi_format_xml.
* parser/formatXml.c : kill.
* parser/Makefile.am : kill gapi_format_xml
* */*-api.raw : enormous whitespace diff. sorry dawgs on mono-patches.
2005-04-15 Mike Kestner <mkestner@novell.com>
* parser/gapi-parser.cs : C# rewrite of the old perl driver script.
* parser/gapi_parser.pl : kill.
* parser/gapi2-parser.in : invoke via $(RUNTIME).
* parser/Makefile.am : build rework for C# parser driver.
* sources/Makefile.am : use $(RUNTIME) to invoke new parser assm.
2005-04-12 Mike Kestner <mkestner@novell.com>
* configure.in : bump version to 1.9.3 and tag.
2005-04-11 Mike Kestner <mkestner@novell.com>
* gdk/Pixbuf.custom : fix out params on RenderPixmapAndMask* methods.
2005-04-11 Dan Winship <danw@novell.com>
* generator/ClassBase.cs (ParseImplements): record both managed
and unmanaged interface declarations.
(Implements): check recursively
* generator/ObjectGen.cs (Generate): output managed interfaces
* gtk/Gtk.metadata: make Container implement IEnumerable
* gtk/Container.custom (GetEnumerator): implement (a simplified
form of Children).
(AllChildren): add this (which accumulates the results of
Forall()).
(ForAll): mark ForAll(bool,CallbackInvoker) obsolete and add a
ForAll(bool,Gtk.Callback) overload to replace it.
* sample/PolarFixed.cs: new silly but fully-functional demo of
how to subclass container.
* sample/CustomNotebook.cs: kill this, since it was really
complicated, and never fully functional.
* sample/GtkDemo/DemoImages.cs (ToggleSensitivity): Use foreach
directly on the container, rather than on its .Children.
2005-04-11 Mike Kestner <mkestner@novell.com>
* gtk/Quit.custom : obsolete AddFull and implement Add properly.
* gtk/TreePath.custom : add ctor (int[] indices).
* gtk/Gtk.metadata : hide Quit.Add* and some ellipsis methods that are
implemented manually already.
2005-04-08 Dan Winship <danw@novell.com>
* configure.in: Add an --enable-debug flag, to build .mdb files
for all of the assemblies
* Makefile.include:
* gconf/GConf/Makefile.am:
* gconf/GConf.PropertyEditors/Makefile.am:
* glib/Makefile.am:
* gtkdotnet/Makefile.am (CLEANFILES): add $(ASSEMBLY).mdb
$(ASSEMBLY): build with $(CSFLAGS). Always delete $(ASSEMBLY).mdb
before building $(ASSEMBLY), so that if you first build with
debugging enabled, then update, then rebuild without debugging
enabled, you don't end up with an out-of-date .mdb file.
2005-04-08 Alp Toker <alp@atoker.com>
* atk/makefile.win32: gapi-cdecl-insert was called in the wrong place
and broke the win32 build.
2005-04-07 Dan Winship <danw@novell.com>
* gtk/Object.custom (Raw): Always ref the object, even if it's not
floating when we get it, since GLib assumes we hold a ref on it.
[Fixes #74468]
* gtk/Window.custom: remove refcount special-handling here
2005-04-06 Mike Kestner <mkestner@novell.com>
* gtk/FileFilter.custom : AddCustom delegate is destroy notified.
* gtk/Gtk.metadata : hide FileFilter.AddCustom. hide gtk_object_get|set.
2005-04-05 Mike Kestner <mkestner@novell.com>
* gtk/*.custom : persistent delegates for most of the remaining
"interesting" methods.
2005-04-05 Dan Winship <danw@novell.com>
* gdk/PixbufLoader.custom: Fix the new constructors to make sure
they call Close() in the event of an exception, to prevent a
g_warning.
2005-04-05 Mike Kestner <mkestner@novell.com>
* gtk/DestroyHelper.cs : implement an internal DestroyNotify handler
to release GCHandles.
* gtk/*.custom : rework existing persistent delegate implementations
to use destroy notify or PersistentData.
2005-04-05 Alp Toker <alp@atoker.com>
* gtk/Menu.custom: don't re-implement the Screen getter in Gtk.Menu.
Instead just return base.Screen, which is implemented by Widget.
2005-04-04 Dan Winship <danw@novell.com>
* pango/Scale.cs: rename the size constants to not have
underscores in their names (and add obsolete aliases for the old
names).
* sample/GtkDemo/DemoTextView.cs: use the new names
2005-04-04 Mike Kestner <mkestner@novell.com>
* gtk/Gtk.metadata : mark all the call scope callback params to quiet
the warnings.
2005-04-04 Mike Kestner <mkestner@novell.com>
* gdk/Gdk.metadata : hide some manually implemented callback methods.
* gdk/*.custom : implement several methods containing persistent
callback parameters.
* generator/BoxedGen.cs : set gen_info.CurrentType in Generate.
* generator/ClassGen.cs : set gen_info.CurrentType in Generate.
* generator/Ctor.cs : set gen_info.CurrentMember in Generate.
* generator/GenerationInfo.cs : add CurrentMember and CurrentType.
* generator/Method.cs : set gen_info.CurrentMember in Generate.
* generator/MethodBody.cs : always generate null guarding for array
parameters, and add a nag for callback parameters without a scope attr.
* generator/ObjectGen.cs : set gen_info.CurrentType in Generate.
* generator/OpaqueGen.cs : set gen_info.CurrentType in Generate.
* generator/Parameters.cs : kill NullOk. add Scope property.
* generator/StructGen.cs : set gen_info.CurrentType in Generate.
* gtk/Gtk.metadata : kill a few null_ok attrs.
* pango/Pango.metadata : mark the callback params as call scope. kill
a couple null_ok attrs.
2005-04-01 Dan Winship <danw@novell.com>
* samples/GtkDemo/*.cs: General fixup and cleanup; Remove some
gratuitous differences from the C version. Make comment and indent
style consistent. Don't use "this." where not needed. Override
OnDeleteEvent rather than connecting one's own DeleteEvent signal.
* sample/GtkDemo/DemoApplicationWindow.cs (static
DemoApplicationWindow): register the Gtk logo icon with
StockManager so it shows up correctly in the toolbar.
(AddActions): Register the radio items as radio items so they work
right.
* sample/GtkDemo/DemoHyperText.cs (EventAfter): handle
link-clicking from Widget.WidgetEventAfter (as in the C version),
rather than ButtonRelease, now that WidgetEventAfter is wrapped.
* sample/GtkDemo/DemoImages.cs (DemoImages): use
Gtk.Image.LoadFromResource (particularly to make the animation
work right).
(OnDestroyed): handle clean up (remove the timeout, etc)
* sample/GtkDemo/DemoMain.cs (LoadStream): Fix handling of blank
lines and whitespace to match the C version.
* sample/GtkDemo/DemoPixbuf.cs (Expose): Use
System.Runtime.InteropServices.Marshal.Copy() to copy
pixbuf.Pixels to pass to DrawRgbImageDithalign, to make this more
like the C version (and probably faster?)
(timeout): Remove the FIXME since it seems to work now
* sample/GtkDemo/DemoStockBrowser.cs: Simplify a bunch. Use
reflection to get the C# names of the stock icons rather than
trying to correctly re-mangle the ids. Display the Label with the
accelerator underlined.
* sample/GtkDemo/DemoTextView.cs (AttachWidgets): use
Gtk.Image.LoadFromResource, so the image is properly loaded as an
animation, not a static image. Don't set the combobox's "Active"
property (for consistency with the C version).
(InsertText): Fix miscellaneous differences with the C version.
Remove some leftover cruft from earlier workarounds for gtk# bugs.
* sample/GtkDemo/DemoTreeStore.cs (AddColumns): Make this more
like the C version so the checkboxes are sensitized and hidden
correctly on a per-row basis.
* sample/GtkDemo/DemoUIManager.cs: Make the radio menu items work.
* sample/GtkDemo/README:
* sample/GtkDemo/TODO: update
2005-04-01 Mike Kestner <mkestner@novell.com>
* gtk/TreeModelFilter.custom : manually implement SetVisibleFunc and
SetModifyFunc to handle delegate persistence.
* gtk/Gtk.metadata : hide methods.
2005-04-01 Mike Kestner <mkestner@novell.com>
* gtk/Clipboard.custom : manually implement SetWithData and
SetWithOwner to handle delegate persistence.
* gtk/Gtk.metadata : hide methods.
2005-03-31 Dan Winship <danw@novell.com>
* gdk/PixbufLoader.custom: Implement System.IO.Stream and
resource-file constructors (using code formerly in Pixbuf.custom)
* gdk/Pixbuf.custom: Redo the stream and resource ctors in terms
of the PixbufLoader ones.
* gdk/PixbufAnimation.custom: Add stream and resource ctors
* gtk/Image.custom: Add stream and resource ctors
2005-03-31 Mike Kestner <mkestner@novell.com>
* glib/ManagedValue.cs : add null/NULL guarding to Copy, Free,
WrapObject, and ObjectForWrapper. [Fixes #74197]
2005-03-30 Jeroen Zwartepoorte <jeroen@xs4all.nl>
* parser/gapi2xml.pl : parse gst type macros.
2005-03-30 Anthony Taranto <voltron@emptyrhetoric.com>
* gtk/Widget.custom : cause Allocation.Set to call SizeUpdate().
* gtk/glue/widget.c : remove gtksharp_gtk_widget_set_allocation().
2005-03-29 Mike Kestner <mkestner@novell.com>
* gtk/TreeStore.custom : fix a CLS incompliance in the Append
Prepend, Insert, InsertBefore, and InsertAfter methods by obsoleting
them and adding new *Node methods that are CLS compliant.
[Fixes #73876]
2005-03-29 Mike Kestner <mkestner@novell.com>
* generator/Parser.cs : add symbol type='marshal' support.
* gdk/Event.cs : add GetEvent method to wrap arbitrary events.
* gdk/gdk-symbols.xml : make Event, EventAny, and EventNoExpose
marshal symbols using Event.GetEvent (). [Fixes #74184]
2005-03-29 Mike Kestner <mkestner@novell.com>
* glib/Marshaller.cs : special case ucs4 "0" conversion.
[Fixes #74175]
2005-03-28 Mike Kestner <mkestner@novell.com>
* gdk/Pixbuf.custom : add FromDrawable static method and obsolete
CreateFromNative, which should've been static. [Fixes #74155]
2005-03-28 Mike Kestner <mkestner@novell.com>
* generator/Signal.cs : Dispose the values passed to
g_signal_chain_from_overriden in base VM invocations. [Fixes #73522]
2005-03-25 Mike Kestner <mkestner@novell.com>
* */makefile.win32 : add gapi-cdecl-insert to assembly target.
2005-03-25 Mike Kestner <mkestner@novell.com>
* generator/CallbackGen.cs : add CDeclCallback attrs to native dels.
* generator/Signal.cs : add CDeclCallback attrs to native dels.
2005-03-25 Mike Kestner <mkestner@novell.com>
* */*.cs : tag native callback delegates with [CDeclCallback].
* */*.custom : tag native callback delegates with [CDeclCallback].
2005-03-24 Mike Kestner <mkestner@novell.com>
* generator/CallbackGen.cs : don't create native delegates for nulls.
* generator/ObjectGen.cs : revamp the ObjectManager code.
* glib/Object.cs : use new ObjectManager.RegisterType overload.
* glib/ObjectManager.cs : rewrite to kill the lameass LoadWithPartial
hack and keep a GType to Type mapping for quicker lookup/activation.
2005-03-23 Mike Kestner <mkestner@novell.com>
* gapi-cdecl-insert : a little perl script to insert modopts
* Makefile.am : dist the new script.
for cdecl callback delegates on win32.
* glade/makefile.win32 : use gapi-cdecl-insert
* glade/XML.custom : add [GLib.CDeclCallback] to RawXMLConnectFunc.
* glib/Makefile.am : add new file.
* glib/makefile.win32 : use gapi-cdecl-insert
* glib/CDeclCallbackAttribute.cs : new attr to tag delegates with
that will be invoked from native code. We have to mangle the il
with a modopt otherwise they are stdcall'd.
* glib/ManagedValue.cs : add [GLib.CDeclCallback] to Copy/Free.
switch to using GCHandles instead of the current IntPtr hack.
2005-03-15 Mike Kestner <mkestner@novell.com>
* gtk/Gtk.metadata : hide TreeSortable.SetSortFunc.
* gtk/ListStore.custom : implement SetSortFunc for persistence.
* gtk/Makefile.am : add custom file.
* gtk/TreeModelSort.custom : implement SetSortFunc for persistence.
* gtk/TreeSortable.custom : new file, add hidden method decls.
* gtk/TreeStore.custom : implement SetSortFunc for persistence.
2005-03-15 John Luke <john.luke@gmail.com>
* glib/Object.cs: use IsDefined to check for ClassInitializer
attribute, fixes a warning and is supposedly better for performance
2005-03-15 Dan Winship <danw@novell.com>
Re-fix for yesterday's fix that didn't actually work.
* gtk/ITreeNode.cs: add a "child" arg to TreeNodeRemovedHandler
* gtk/TreeNode.cs (RemoveChild, OnChildRemoved): update for that
* gtk/NodeStore.cs (child_deleted_cb): use the passed-in child;
GetNodeAtPath won't work because the parent node already removed
the child from its list
2005-03-14 Mike Kestner <mkestner@novell.com>
* configure.in : rework the gtkhtml check for 3.6.
2005-03-14 Dan Winship <danw@novell.com>
* gtk/TreeNode.cs (AddNode): add an overload that takes a position
* gtk/NodeStore.cs (AddNode): likewise
(AddNode, child_added_cb): when adding a node, recursively connect
to the node signals on its children
(RemoveNode, child_deleted_cb): when removing a node, recursively
remove its children from node_hash.
2005-03-12 Mike Kestner <mkestner@novell.com>
* glade/Glade.metadata : mark the XMLCustomWidgetHandler string params
const-gchar*. Wonder how many of these are gonna screw us?
2005-03-12 Mike Kestner <mkestner@novell.com>
* gtk/TreeViewColumn.custom : use PersistentData to hold the
CellDataFuncs.
2005-03-12 Mike Kestner <mkestner@novell.com>
* glib/Makefile.am : add new file.
* glib/Object.cs : add protected PersistentData hash to hold data
across GC cycles.
* glib/WeakObject.cs : new object to hold managed refs weakly against
the native object.
* gtk/ListStore.custom : hold refs for DefaultSortFuncs.
* gtk/TreeModelSort.custom : hold refs for DefaultSortFuncs.
* gtk/TreeStore.custom : hold refs for DefaultSortFuncs.
2005-03-12 Mike Kestner <mkestner@novell.com>
* generator/CallbackGen.cs : don't derive Wrappers from DelegateWrapper
any more. It leaks delegates like crazy. We effectively now use call
scope as the default for delegate parameters.
* generator/MethodBody.cs : use new simpler Wrapper ctor.
* glib/DelegateWrapper.cs : mark the ctor obsolete so people know to
update any manually coded wrappers out there.
* */*.custom : use new simpler Callback Wrapper ctors.
2005-03-11 Mike Kestner <mkestner@novell.com>
* glib/DelegateWrapper.cs : call g_object_set_data_full since we are
using its sig, not set_data.
2005-03-10 Mike Kestner <mkestner@novell.com>
* generator/SymbolTable.cs : fix gssize and gsize, they aren't 32 bit
like the docs say they are.
2005-03-10 Mike Kestner <mkestner@novell.com>
* glib/Marshaller.cs : don't use g_utf8_strlen to determine the byte
count to be copied, it returns chars, not bytes.
* glib/glue/unichar.c : implement a quick and dirty strlen glue func.
2005-03-10 Mike Kestner <mkestner@novell.com>
* gtk/Style.custom : add bg_pixmap accessors. remove IntPtr[] vars
and s/6/5 for array sizes.
* gtk/glue/style.c : add bg_pixmap field glue.
[Fixes #73532]
2005-03-09 Mike Kestner <mkestner@novell.com>
* */*.custom : scrub for string usage in DllImports.
* gnome/Makefile.am : remove IconTheme.custom, it's not generated.
2005-03-09 Mike Kestner <mkestner@novell.com>
* glib/Marshaller.cs : add IntPtr.Zero guarding.
2005-03-09 Alexandre Gomes <alexmipego@hotmail.com>
* gtk/Gtk.metadata: Set GetVisibleRect param to be passed as out.
2005-03-08 Mike Kestner <mkestner@novell.com>
* */*.cs : scrub for StringToPtrAnsi and string usage in DllImports.
* */*.custom : begin the scrub here too.
* generator/ConstStringGen.cs : implement IManualMarshaler and move to
100% IntPtr marshaling.
* generator/Ctor.cs : call Body.Finish too.
* generator/IManualMarshaler.cs : new interface for generatables that
marshal manually and need cleanup.
* generator/Makefile.am : new file.
* generator/MethodBody.cs : use IManualMarshaler if applicable.
2005-03-07 Mike Kestner <mkestner@novell.com>
* generator/MethodBody.cs : remove an unused var.
* generator/ReturnValue.cs : privatize a couple props. Refactor the
SymbolTable lookup logic to be generatable based.
2005-03-04 Mike Kestner <mkestner@novell.com>
* generator/ImportSignature.cs : out param handling fix.
* generator/Makefile.am : kill StringGen.cs.
* generator/MethodBody.cs : simplify out param handling.
* generator/StringGen.cs : kill it, now using MarshalGen.
* generator/SymbolTable.cs : make non-const strings use an appropriate
MarshalGen. Non-const strings are now correctly marshaled as Utf8.
* glib/Marshaller.cs : add some utf8-fu for strdup/free marshaling.
Add a method to alloc/copy structs to native memory, unused yet.
* gtk/Gtk.metadata : partially fix a broken delegate.
2005-03-04 Mike Kestner <mkestner@novell.com>
* generator/Method.cs : refactor out some retval logic.
* generator/ReturnValue.cs : add FromNative and IsVoid members.
2005-03-03 Mike Kestner <mkestner@novell.com>
* gdk/Gdk.metadata : remove unnecessary null_ok rules.
* generator/Ctor.cs : don't add null params to CreateNativeObject call
for InterfaceGen or OpaqueGen in addition to ObjectGen.
* generator/Field.cs : simplify Object/Opaque gen.
* generator/Method.cs : remove OpaqueGen special casing.
* generator/OpaqueGen.cs : make FromNative null_ok robust.
* generator/Signal.cs : remove arg marshaling ClassBase special case.
* gtk/Gtk.metadata : remove unnecessary null_ok rules.
2005-03-03 Mike Kestner <mkestner@novell.com>
* generator/ClassBase.cs : use "as" instead of a cast in FromNative.
* generator/Method.cs : remove the if/else checks for Object retvals.
* glib/Object.cs : return null immediately for NULL in GetObject.
2005-03-03 Mike Kestner <mkestner@novell.com>
* generator/ClassBase.cs : add null checking to CallByName. No sense
manually adding this for the ones that need it. Better to have g_criticals
then NullRefExceptions anyway.
* generator/MethodBody.cs : simplify out handle generation.
[A babystep toward #68820]
2005-02-28 Dan Winship <danw@novell.com>
* gtk/Container.custom (ChildType): fix this to just call
gtk_container_child_type().
* gtk/glue/container.c (gtksharp_container_base_child_type): kill
2005-02-28 Mike Kestner <mkestner@novell.com>
* glib/Idle.cs : add locking on the source_handlers.
* glib/Source.cs : add locking on the source_handlers.
* glib/Timeout.cs : add locking on the source_handlers.
2005-02-25 Mike Kestner <mkestner@novell.com>
* glib/Source.cs : remove from the hash by key.
* glib/Idle.cs : remove from the hash by key.
2005-02-23 Dan Winship <danw@novell.com>
* sources/gnomedb.patch: Patch over a bug in gnome-db-editor.h
* gnomedb/gnomedb-api.raw: Regen
2005-02-23 Dan Winship <danw@novell.com>
* parser/gapi2xml.pl (parseTypeToken): don't parse punctuation
into the type name. [Fixes #72925]
* gtk/gtk-api.raw: Regen, exposing the previously-broken
AccelGroup.AccelActivate, AccelMap.Changed,
ActionGroup.ConnectProxy, ActionGroup.DisconnectProxy,
ActionGroup.PreActivate, ActionGroup.PostActivate, and
Widget.EventAfter.
* gtk/Gtk.metadata: Give proper names to the parameters of those
signals
2005-02-23 Dan Winship <danw@novell.com>
* generator/Field.cs (Validate): new, to check that a field has a
valid type (or is hidden).
* generator/StructBase.cs (Validate): new, to check that all of
the struct fields have valid types
* generator/BoxedGen.cs (Generate):
* generator/StructGen.cs: (Generate): Call Validate() and bail out
if it fails; it's no good to generate a struct with the wrong
layout.
* gdk/gdk-symbols.xml: add a line for GdkKey -> Gdk.Key. (There's
no actual C type GdkKey, but we can use metadata to change uints
to GdkKeys, which will then become Gdk.Keys.)
* gtk/AccelKey.custom: remove the "Key" field (which was being
added in the wrong place in the struct), since it's properly
generated now.
* gtk/Gtk.metadata: Fix the line that renames AccelKey.AccelKey
to AccelKey.Key
* gnomevfs/Gnomevfs.metadata: hide the (mis-parsed) "action" field
in MimeAction, leaving the struct in the same broken state it was
in with the old generator code
* parser/gapi2xml.pl: add a hack to allow "foo_bar_get_type()"
rather than "FOO_TYPE_BAR" in G_TYPE_CHECK_INSTANCE_CAST macros,
allowing large parts of libgda that were previously misparsed to
be parsed correctly
* gda/gda-api.raw: Regen
* gda/Gda.metadata: Make Gda.Value opaque, since it's mostly a
union and we're horribly butchering its layout.
2005-02-22 Raja R Harinath <rharinath@novell.com>
* Makefile.include: Use $(top_builddir)/ instead of ../ so that it
is usable from directories two-or-more deep.
2005-02-18 Mike Kestner <mkestner@novell.com>
* gtk/Gtk.metadata : remove an incorrect and harmful rule on
ClipboardGetFunc. [Fixes #69013]
2005-02-17 Mike Kestner <mkestner@novell.com>
* */Makefile.am : define SYMBOLS if it isn't already to fix breakage
with older automakes.
2005-02-15 Dan Winship <danw@novell.com>
* generator/ObjectGen.cs (GenChildProperties): If the class has an
ancestor that also defines child properties, make its child
properties class be a subclass of that ancestor's child properties
class. (Eg, make Gtk.ButtonBox.ButtonBoxChild be a subclass of
Gtk.Box.BoxChild.)
2005-02-14 Mike Kestner <mkestner@novell.com>
* gdk/Gdk.metadata : mark the color in Rgb.FindColor ref.
2005-02-11 Mike Kestner <mkestner@novell.com>
* gtk/Gtk.metadata : hide Menu.SetScreen.
* gtk/Menu.custom : manually implement Screen prop.
2005-02-11 Dan Winship <danw@novell.com>
* gtk/Gtk.metadata: Hide StyleGetProperty and StyleGetValist since
they're generated wrong, and StyleGet to avoid an ellipsis
warning. (Also hide the deprecated ellipsis method "Set".)
* gtk/Widget.custom (StyleGetProperty): implement manually, a la
Gtk.Container.ChildGetProperty.
* gtk/glue/widget.c (gtksharp_widget_style_get_property): glue for that
* generator/MethodBase.cs (Validate): use CName rather than always
saying "in ctor"
2005-02-10 Jeroen Zwartepoorte <jeroen@xs4all.nl>
* sample/Actions.cs: Remove obsolete & unsafe GLib.Object.Data usage.
2005-02-10 Mike Kestner <mkestner@novell.com>
* configure.in : update version for 1.9.2 release.
2005-02-09 Mike Kestner <mkestner@novell.com>
* gtk/Widget.custom : use a static method for the ParentSet hack
so we don't leak objects because the delegate holds an object ref.
2005-02-07 Ben Maurer <bmaurer@ximian.com>
* gdk/Point.custom, gdk/Rectangle.custom: misc. new apis to make
this more like the S.D structs.
2005-02-03 Mike Kestner <mkestner@novell.com>
* gtk/NodeStore.cs : use CreateNativeObject to allow subclassing.
[Fixes #71749]
2005-02-03 Mike Kestner <mkestner@novell.com>
* glib/ObjectManager.cs (GetValidParentType): return null if
G_TYPE_INVALID is returned from glue. [Fixes #72150]
2005-02-02 Mike Kestner <mkestner@novell.com>
* generator/Signal.cs : kill unnecessary BaseName prop.
2005-02-02 Mike Kestner <mkestner@novell.com>
* generator/Makefile.am : remove source file.
* generator/Signal.cs : generate marshaling callbacks and use new
GLib.Signal marshaling class for events.
* generator/SignalHandler.cs : kill. byebye SignalCallback subclasses.
* glib/Makefile.am : update source files.
* glib/GLibSharp.voidObjectIntPtrSignal.cs : kill.
* glib/Object.cs : mark the old Before/After props Obsolete. Use
GLib.Signal for the notify prop methods.
* glib/Signal.cs : new signal marshaling class. It manages all the
ConnectBefore/After stuff internally and connects itself to the native
object using GCHandles and DestroyNotify lifecycle management.
* glib/SignalCallback.cs : mark Obsolete.
[Fixes #72018 and #69847]
2005-02-01 Fredrik Nilsson <jymdman@home.se>
* glib/Marshaller.cs : DateTime marshaling fix.
2005-01-31 Mike Kestner <mkestner@novell.com>
* gtk/FileChooserDialog.custom : move backend to first param to
avoid conflicts with button names in overloaded ctor.
2005-01-31 Mike Kestner <mkestner@novell.com>
* generator/SymbolTable.cs : handle unsigned-*.
* parser/gapi2xml.pl : handle const unsigned * parameters. Also fix
a G_GNUC_PRINTF parsing bug exposed by a GMime.
* */*-api.raw : regen.
[Fixes #71825]
2005-01-28 Mike Kestner <mkestner@novell.com>
* generator/ReturnValue.cs : use ToNativeReturnType for ToNativeType
instead of MarshalType.
* generator/Signal.cs : deal with boxed return values. beef up return
handling in the default handler generation code.
* generator/SignalHandler.cs : use ToNative return types for native
callbacks. Remove redundant casting/conversion in callback impl.
[Fixes #71899]
2005-01-28 Dan Winship <danw@novell.com>
* glib/Object.cs (AddNotification, RemoveNotification): methods to
subscribe to the "notify" signal (with property details). [#71684]
* glib/GLibSharp.voidObjectIntPtrSignal.cs: autogenerated, for
notifications
* glib/NotifyHandler.cs: sort of autogenerated
2005-01-28 Mike Kestner <mkestner@novell.com>
* gtk/Dialog.custom : add a params array for button info to the ctor.
* gtk/FileChooserDialog.custom : add a params array for button info to
both ctors. Chain them to IntPtr.Zero.
* gtk/Gtk.metadata : hide the ellipsis ctors for the dialog types.
[Fixes #71818]
* sample/GtkDemo/DemoDialog.cs : make the InteractiveDialog use the
new Dialog ctor as it does in the c version.
2005-01-27 Mike Kestner <mkestner@novell.com>
* gtk/NodeSelection.cs : use new GetSelectedRows() overload.
* gtk/TreeSelection.custom : add a GetSelectedRows overload without the
out model param. [Fixes #71814]
2005-01-27 Mike Kestner <mkestner@novell.com>
* gtk/NodeView.cs : fix the value creation in the ctor.
2005-01-26 Mike Kestner <mkestner@novell.com>
* glib/Value.cs : add a private debugging DllImport for ref_counts
since the glue is there already. g_value_get_object returns an
unowned ref, so don't pretend like we own it. Make get_Val work for
GObject subclasses. [Fixes #71125]
2005-01-26 Mike Kestner <mkestner@novell.com>
* gtk/NodeView.cs : always use CreateNativeObject.
2005-01-26 Mike Kestner <mkestner@novell.com>
* gtk/Gtk.metadata : hide 3 IM related internal types. [Fixes #71021]
2005-01-26 Mike Kestner <mkestner@novell.com>
* generator/*.cs : refactoring of Parameters class. Added IEnumerable
to Parameters and gracefully handle elem == null instead of special
casing parms == null all over the place. Parameter logic is now Count
driven. [Fixes #71750]
2005-01-26 Dan Winship <danw@novell.com>
* generator/Property.cs (Generate): Remove a redundant WriteLine (that
resulted in there being 2 blank lines before every property).
* generator/Signal.cs (Generate): s/Write/WriteLine/ to fix a
weirdly-formatted if statement in the generated code.
2005-01-25 John Luke <john.luke@gmail.com>
* sample/CustomNotebook.cs:
* sample/CustomWidget.cs: use Widget.WidgetFlags prop to avoid
obsolete warning
2005-01-25 Mike Kestner <mkestner@novell.com>
* gnome/About.custom : implement a subclassable ctor.
* gnome/Gnome.metadata : hide About ctor, fix About.Construct parms.
* gnome/Makefile.am : add the new custom.
[Fixes #71271]
2005-01-25 Mike Kestner <mkestner@novell.com>
* gdk/Gdk.metadata : hide all the Pixbuf.SaveTo methods.
* gdk/Pixbuf.custom : implement the SaveTo methods.
[Fixes #71430]
2005-01-25 Mike Kestner <mkestner@novell.com>
* gtk/Gtk.metadata : hide all the SignalFunc using Toolbar methods.
* gtk/Makefile.am : add the new custom.
* gtk/Toolbar.custom : implement the SignalFunc methods. Deal with
null for Widget params in *Element.
[Fixes #71428]
2005-01-24 Jeroen Zwartepoorte <jeroen@xs4all.nl>
* generator/MethodBody.cs : fix out LPUGen params.
2005-01-24 Mike Kestner <mkestner@novell.com>
* gda/Makefile.am : add new custom.
* gda/XmlConnection.custom : add backcompat static ctor.
* generator/ClassBase.cs : refactor lookup logic to here from Ctor
and improve the collision resolution.
* generator/Ctor.cs : refactor to use MethodBase.
* generator/Makefile.am : add new file.
* generator/MethodBase.cs : new base class for ctors and methods.
* generator/Method.cs : refactor to use MethodBase.
* generator/StructBase.cs : move some logic from here to Ctor.
* gnome/CanvasPathDef.custom : add backcompat static ctor.
* gnome/GPPath.custom : add backcompat static ctor.
* gnome/Makefile.am : add new custom.
* gtk/Gtk.metadata : mark a colliding Button ctor shared.
2005-01-23 Jeroen Zwartepoorte <jeroen@xs4all.nl>
* gtk/ActionGroup.custom: Add a string index for the GetAction method.
2005-01-20 Dan Winship <danw@novell.com>
* glib/Marshaller.cs (StringFormat): Calls String.Format and makes
sure the output has no unescaped "%"s. (For wrapping printf-style
unmanaged methods with String.Format-style managed ones.)
* gtk/MessageDialog.custom (MessageDialog): use it. #71405. Also,
use gtk_message_dialog_new_with_markup by default, and add an
overloaded ctor that lets you use the non-markup version.
* gtk/Gtk.metadata: hide the GtkMessageDialog ctors so we don't
get ellipsis warnings about them.
* sample/GtkDemo/DemoApplicationWindow.cs:
* sample/GtkDemo/DemoDialog.cs: simplify the MessageDialog usage;
don't need to call String.Format separately now.
2005-01-18 Mike Kestner <mkestner@novell.com>
* generator/Method.cs : deal with owned retvals.
* generator/ReturnValue.cs : add Owned prop.
* gnome/Gnome.metadata : mark Thumbnail.ScaleDownPixbuf return owned.
[Fixes #71335]
2005-01-18 Mike Kestner <mkestner@novell.com>
* gtk/gtk-api.raw : regen.
* parser/gapi2xml.pl : deal with G_GNUC_PRINTF.
2005-01-17 Mike Kestner <mkestner@novell.com>
* gtk/Style.custom : add Light, LightColors, Mid, MidColors, Dark,
and DarkColors.
* gtk/glue/style.c : add get_light and get_dark
2005-01-17 Mike Kestner <mkestner@novell.com>
* gtk/Gtk.metadata : hide Stock.
* gtk/Makefile.am : add new file.
* gtk/StockManager.cs : stock item management methods.
2005-01-14 Dan Winship <danw@novell.com>
* glib/Object.cs (ConnectDefaultHandlers): Don't call a signal's
ConnectionMethod if it's already been called for a superclass of
the current class. #71278
2005-01-13 Zac Bowling <zac@zacbowling.com>
* makefile.win32 : new "gac" target for automatic for gacutil calls,
added copying of gtk-sharp.snk to each folder being built to fix fresh
builds and after cleaning, added support for switching C#
compilers, and added handling of spaces in filenames for mcs builds
* gtkdotnet/makefile.win32 : add one more reference to fix mcs builds.
2005-01-13 Mike Kestner <mkestner@novell.com>
* configure.in : make vte check conditional on gnome.
* gtkdotnet/Makefile.am : add some references.
2005-01-13 Dan Winship <danw@novell.com>
* generator/ObjectGen.cs: Make ContainerChild constructors
"protected internal" rather than just "internal", so the classes
can be subclassed nicely.
2005-01-13 Zac Bowling <zac@zacbowling.com>
* gtkdotnet/makefile.win32 : fixed references to build on Win32
2005-01-12 Mike Kestner <mkestner@novell.com>
* sample/gnomevfs/Makefile,am : conditionally build.
2005-01-12 Mike Kestner <mkestner@novell.com>
* sample/gnomevfs/*.cs : s/Test.Gnome.VFS/TestGnomeVfs to avoid
namespace collision problems with current mcs.
2005-01-11 Ben Maurer <bmaurer@ximian.com>
* configure.in: There might be multiple S.D assemblies (eg, if you
build the 2.0 crap, you get a 1.1 and a 2.0). So use head -n1 when
looking at gacutil
2005-01-11 Mike Kestner <mkestner@novell.com>
* configure.in : add test for System.Drawing. expand gtkdotnet.
* Makefile.am : add gtkdotnet.
* makefile.win32 : add gtkdotnet.
* gtkdotnet/* : new .Net extensions assembly. Moved the sample
sysdraw.cs Graphics class in here under the Gtk.DotNet namespace.
* sample/sysdraw.cs : moved to gtkdotnet/Graphics.cs.
* sample/drawing-sample.exe.config.in : killed.
* sample/DrawingSample.cs : use Gtk.DotNet.Graphics.
* sample/Makefile.am : make drawing-sample.exe build conditional
on gtk-dotnet presence.
2005-01-11 Mike Kestner <mkestner@novell.com>
* gdk/Window.custom : add AddFilterForAll and RemoveFilterForAll
methods to handle the window==null native case.
[Fixes #71065]
2005-01-11 Mike Kestner <mkestner@novell.com>
* glib/Argv.cs : add automatic progname handling.
* gdk/Global.custom : kill obsolete warnings by using GLib.Argv.
2005-01-11 Mike Kestner <mkestner@novell.com>
* gdk/Gdk.metadata : kill Colors since its methods are deprecated
and it doesn't exist in 1.0.
2005-01-08 Ben Maurer <bmaurer@ximian.com>
* Makefile.include (install-data-local, uninstall-local): make
this actually work for things that are disabled.
2005-01-08 Mike Kestner <mkestner@novell.com>
* configure.in : kill a ton of redundant stuff.
* AssemblyInfo.cs.in : moved here, only need one.
* Makefile.include : rules for building generated assemblies.
* Makefile.am : removed gtk-sharp-2.0.pc handling.
* */AssemblyInfo.cs.in : killed
* */Makefile.am : refactored out a ton of rules to an include.
* */*-pc.in : added Cflags entries pointing to the gapi files.
* generator/CodeGenerator.cs : add -I: synonym --include.
* gnomevfs/gnome-vfs-api.raw : remamed from gnomevfs-api.raw.
* gtk/gtk-sharp-2.0.pc.in : moved here from top.
* parser/gapi-fixup.cs : add --symbol arg to merge sym files.
* sources/gtk-sharp-sources.xml : remamed gnome-vfs-api.raw.
2005-01-07 Mike Kestner <mkestner@novell.com>
* sample/Makefile.am : mdb cleanup.
* sample/GtkDemo/Makefile.am : mdb cleanup.
2005-01-07 Mike Kestner <mkestner@novell.com>
* configure.in : check for panelapplet in enable_gnome and remove
all the stuff for a separate panelapplet-sharp assembly.
* Makefile.am : remove panelapplet dir from build.
* gnome/BonoboUIVerb.cs : moved from panelapplet.
* gnome/Gnome.metadata : add rules from panelapplet.
* gnome/Makefile.am : add new files.
* gnome/PanelApplet.custom : moved from panelapplet.
* gnome/PanelAppletFactory.cs : moved from panelapplet.
* gnome/glue/panelapplet.c : moved from panelapplet.
* gnome/glue/Makefile.am : add new file.
* gnomedb/GnomeDb.metadata : hide a newly parsed "obsolete" type.
* gtk/Gtk.metadata : hide a newly parsed "obsolete" callback type.
* panelapplet : kill dir.
* parser/gapi2xml.pl : update callback name sanity check.
* sources/gtk-sharp-sources.xml : move panelapplet parse into gnome.
* */*-api.raw : regen.
2005-01-07 Dan Winship <danw@novell.com>
* gtk/Gtk.metadata: Hide the Gtk.Image ctors generated from
gtk_image_new_from_icon_set and gtk_image_new_from_stock.
* gtk/Image.custom: Implement them here, taking into account the
fact that the "icon_size" property is mysteriously an int rather
than a Gtk.IconSize.
* gtk/Makefile.am (customs): add Image.custom
* gtk/Gtk.metadata: gtk_window_set_focus accepts NULL
2005-01-06 Larry Ewing <lewing@novell.com>
* gtk/StockItem.custom: add a ctor for StockItem.
* gtk/Makefile.am: add StockItem.custom to the build.
2005-01-06 Dan Winship <danw@novell.com>
* gtk/Gtk.metadata: Rename gtk_stock_add() back to
Gtk.StockManager.Add like it was in 1.0; Gtk.Stock.Add already
means something else. [#71044]
2005-01-06 Mike Kestner <mkestner@novell.com>
* gtk/Gtk.metadata : hide GtkSignal and SignalRunType.
2005-01-06 Mike Kestner <mkestner@novell.com>
* gnomevfs/gnomevfs-symbols.xml : FileSize is a long long.
* generator/SymbolTable.cs : map longlong to C# long.
2005-01-05 Mike Kestner <mkestner@novell.com>
* gtk/gtk-api.raw : regen.
* sources/gtk-sharp-sources.xml : hide xembed.h and gtkxembed.h.
2005-01-05 Mike Kestner <mkestner@novell.com>
* gtk/TreeView.custom : add back the TreeCellDataFunc overloads for
backward compat.
* gtk/TreeViewColumn.custom : add back the TreeCellDataFunc overloads for
backward compat.
2005-01-05 Mike Kestner <mkestner@novell.com>
* generator/Field.cs : deal with LPGen/LPUGen fields.
2005-01-05 Mike Kestner <mkestner@novell.com>
* gtk/gtk-api.raw : regen.
* sources/gtk-sharp-sources.xml : exclude gtkiconthemeparser.h.
[Fixes #70898]
2005-01-05 Mike Kestner <mkestner@novell.com>
* gtk/Gtk.metadata : hide some internal Image*Data structs.
2005-01-05 Alp Toker <alp@atoker.com>
* gtk/TextBuffer.custom : Mark SetText obsolete in favour of the Text
property, and use Text in SetText in the meantime.
2005-01-04 Mike Kestner <mkestner@novell.com>
* gtk/gtk-api.raw : regen'd.
* sources/gtk-sharp-sources.xml : exclude file system backend source.
[Fixes #70904, #70897, and #70900]
2005-01-04 Mike Kestner <mkestner@novell.com>
* gtk/Gtk.metadata : mark out params for IMContext.GetSurrounding
and GetPreeditString.
[Fixes #70995]
2005-01-04 Mike Kestner <mkestner@novell.com>
* gtk/CellLayout.custom : declare SetAttributes and SetCellDataFunc.
* gtk/CellView.custom : impl SetAttributes and SetCellDataFunc.
* gtk/ComboBox.custom : impl SetAttributes and SetCellDataFunc.
* gtk/EntryCompletion.custom : impl SetAttributes and SetCellDataFunc.
* gtk/Gtk.metadata : hide some methods to be manually implemented.
* gtk/Makefile.am : add new customs.
* gtk/NodeCellDataFunc : use CellLayoutDataFuncNative.
* gtk/TreeView.custom : use CellLayoutDataFunc not TreeCellDataFunc.
* gtk/TreeViewColumn.custom : impl SetAttributes and SetCellDataFunc.
[Fixes #70941]
2005-01-04 Mike Kestner <mkestner@novell.com>
* gtk/Gtk.metadata : set preferred on CellViewMenuItem.NewWithText.
[Fixes #70938]
2005-01-03 Mike Kestner <mkestner@novell.com>
* gtk/NodeStore.cs : expose TreeModelFlags.ListOnly if the TreeNode
has ListOnly set.
* gtk/TreeNodeAttribute.cs : add ListOnly named value.
2004-12-30 Mike Kestner <mkestner@novell.com>
* glib/Object.cs : mark the Data hashtable obsolete.
2004-12-30 Mike Kestner <mkestner@novell.com>
* gtk/Gtk.metadata : hide TreeView.InsertColumnWith*.
* gtk/TreeView.cs : manual implementations of InsertColumn overloads
for WithAttributes and WithDataFunc.
2004-12-30 Alp Toker <alp@atoker.com>
* README.generator: Close tag fix for example XML.
2004-12-28 Jeroen Zwartepoorte <jeroen@xs4all.nl>
* sample/gnomevfs/TestVolumes.cs: Update sample.
2004-12-28 Jeroen Zwartepoorte <jeroen@xs4all.nl>
* gnomevfs/Gnomevfs.metadata: Hide some more API.
* gnomevfs/VfsStreamAsyncResult.cs: Make Done property internal.
* gnomevfs/VolumeMonitor.custom: Hide GList API.
2004-12-28 Jeroen Zwartepoorte <jeroen@xs4all.nl>
* gnomevfs/Directory.cs: PInvoke the _uri methods directory instead of
using the ToString() methods.
* gnomevfs/FileInfo.cs: Make the FileInfoNative field internal.
* gnomevfs/Gnomevfs.metadata: Hide a bunch of unwanted API.
* gnomevfs/Uri.custom: New API.
* gnomevfs/Vfs.cs: Idem.
2004-12-27 Mike Kestner <mkestner@novell.com>
* generator/CallbackGen.cs : use ReturnValue and more of Parameter.
* generator/GenBase.cs : remove unused NSElem prop.
2004-12-27 Jeroen Zwartepoorte <jeroen@xs4all.nl>
* gnomevfs/Directory.cs: s/uint/FilePermissions/.
* gnomevfs/Gnomevfs.metadata: Make a bunch of API more user-friendly &
C# like.
* gnomevfs/Monitor.cs: Add internal MonitorEventType enum.
* gnomevfs/Uri.custom: Move a bunch of API from Vfs.cs to Uri.
* gnomevfs/Vfs.cs: Only put initialize & shutdown methods in here (plus
some debug API).
* gnomevfs/VfsStream.cs: Use new Uri API.
* sample/gnomevfs/TestUnlink.cs: Fix sample.
2004-12-27 Mike Kestner <mkestner@novell.com>
* generator/EnumGen.cs : rework for a single pass thru ChildNodes.
* generator/Parameters.cs : simplify PassAs logic.
* generator/SimpleBase.cs : mark abstract.
2004-12-27 Mike Kestner <mkestner@novell.com>
* generator/AliasGen.cs : derive from SimpleBase.
* generator/ConstStringGen.cs : derive from SimpleBase.
* generator/GObjectGen.cs : kill. now uses ManualGen.
* generator/GStringGen.cs : kill. now uses MarshalGen.
* generator/GUnicharGen.cs : kill. now uses MarshalGen.
* generator/LPGen.cs : derive from SimpleGen.
* generator/Makefile.am : update source files.
* generator/ManualGen : make this general for handle types.
* generator/MarshalGen : new CallByName/FromNative formatter class.
* generator/SymbolTable.cs : needed some reorganizing and some
restructuring of types to use MarshalGen.
* generator/TimeTGen.cs : kill. now uses MarshalGen.
2004-12-26 Mike Kestner <mkestner@novell.com>
* generator/Makefile.am : add new file.
* generator/SimpleBase.cs : new class for non-generated type mappers.
* generator/*Gen.cs : first refactoring of "Simple" generatable types.
Derive them all from SimpleBase. More to come.
2004-12-26 Mike Kestner <mkestner@novell.com>
* generator/CustomMarshalerGen.cs : kill bad idea unused class.
* generator/Makefile.am : remove CustomMarshalerGen.cs.
* generator/Method.cs : remove CustomMarshalerGen reference.
2004-12-26 Mike Kestner <mkestner@novell.com>
* generator/*Gen.cs : implement IGeneratable fully on GenBase
with abstract methods where necessary to refactor a ton of redundant
code.
2004-12-23 Mike Kestner <mkestner@novell.com>
* glib/ClassInitializerAttribute.cs : new attr for identifying type.
inialization methods to be run by RegisterGType.
* glib/Makefile.am : add file.
* glib/Object.cs : add private method to invoke ClassInitializers.
* gtk/glue/widget.c : some new glue for binding registration.
* gtk/BindingAttribute.cs : new attr for registering key bindings.
* gtk/Makefile.am : add file.
* gtk/Widget.custom : add ClassInitializer method to scan types
for [Binding] and register key bindings.
2004-12-22 Dan Winship <danw@novell.com>
* generator/Signal.cs: fix some WriteLine()s that should have been
Write()s
2004-12-22 Dan Winship <danw@novell.com>
* sources/gtk-sharp-sources.xml: exclude a bunch of uninstalled
gtk headers.
* gtk/gtk-api.raw: regen
* gtk/Gtk.metadata: Remove some explicit hiding of things that
shouldn't have been there anyway. Hide a few types that just show
up as unusable stubs.
2004-12-22 Mike Kestner <mkestner@novell.com>
* gdk/gdk-api.raw : update enum values.
* gnome/gnome-api.raw : update enum values.
* gtk/gtk-api.raw : update enum values.
* pango/pango-api.raw : update enum values.
* parser/gapi2xml.pl : pull whitespace out of enum prefixing logic.
[Fixes #70593]
2004-12-21 Mike Kestner <mkestner@novell.com>
* glib/Argv.cs : argv marshaling class.
* glib/Makefile.am : add file.
* glib/Marshaller.cs : mark the argv methods obsolete.
* gtk/Application.cs : use GLib.Argv. [Fixes #68812]
2004-12-21 Dan Winship <danw@novell.com>
* generator/CallbackGen.cs:
* generator/CodeGenerator.cs:
* generator/ManagedCallString.cs:
* generator/Property.cs: Remove unused vars
* generator/Method.cs (GetHashCode): have to implement this since
we're overriding Equals.
* generator/CallbackGen.cs: print a message when generating a
broken struct-returning callback. (Currently affects
GtkSharp.TextSegSplitFuncNative and
GtkSharp.TextSegCleanupFuncNative)
* gdk/glue/device.c:
* gdk/glue/dragcontext.c: Add missing prototypes
* gtk/Gtk.metadata: Mark SeparatorToolItem.Draw "new". Re-rename
CheckMenuItem.Toggled to EmitToggled rather than Toggle, since
that's a better description of what it does.
* gtk/CheckMenuItem.custom: implement a "Toggle" method that does
what the documentation claims it does.
* gtk/NodeStore.cs: remove unused var
* gnome/Gnome.metadata: mark DateEdit.Flags, Dialog.Default, and
PropertyBox.State "new". Hide GnomePixmapEntry.GnomeEntry and
GnomePixmapEntry.GtkEntry since they do exactly the same thing as
the methods of the same names inherited from GnomeFileEntry.
* gnome/glue/canvas-proxy.c:
* gnome/glue/canvas-proxy.h:
* gnome/glue/canvas-proxy-marshal.c:
* gnome/glue/canvas-proxy-marshal.h:
* gnome/glue/canvas-proxy-marshal.list: Remove unused code
* gnome/glue/Makefile.am (libgnomesharpglue_2_la_SOURCES): update
* panelapplet/PanelApplet.metadata: mark PanelApplet.Flags "new"
* sample/CanvasExample.cs:
* sample/CustomCellRenderer.cs:
* sample/CustomNotebook.cs:
* sample/DrawingSample.cs:
* sample/Fifteen.cs:
* sample/GladeTest.cs:
* sample/GtkDemo/DemoHyperText.cs:
* sample/GtkDemo/DemoPixbuf.cs:
* sample/ScribbleXInput.cs: remove unused vars, use
GLib.Timeout.Add rather than the deprecated Gtk.Timeout.Add
2004-12-21 Jeroen Zwartepoorte <jeroen@xs4all.nl>
* gnomevfs/Async.cs:
* gnomevfs/Directory.cs:
* gnomevfs/Sync.cs:
* gnomevfs/Vfs.cs: Make the constructors private so they don't show up
in monodoc (these classes aren't meant to be instantiated).
2004-12-21 Jeroen Zwartepoorte <jeroen@xs4all.nl>
* gnomevfs/Gnomevfs.metadata: Hide the auto-generated ModuleCallback
stuff in favor of the more developer friendly custom bindings.
* gnomevfs/Makefile.am:
* gnomevfs/ModuleCallbackAuthentication.cs:
* gnomevfs/ModuleCallbackFillAuthentication.cs:
* gnomevfs/ModuleCallbackFullAuthentication.cs:
* gnomevfs/ModuleCallbackSaveAuthentication.cs:
* gnomevfs/ModuleCallbackStatusMessage.cs: Complete the module callback
implementations.
2004-12-20 Mike Kestner <mkestner@novell.com>
* gdk/Gdk.metadata : mark a couple array params.
* generator/Field.cs : remove the MarshalAs hack. We have to
do something much more evil since MarshalAs can't hang.
* generator/ImportSignature.cs : deal with out LP(U)Gen params.
* generator/LPGen.cs : moved from SSizeTGen and generalized.
* generator/LPUGen.cs : moved from SizeTGen and generalized.
* generator/Makefile.am : update sources.
* generator/MethodBody.cs : deal with out LP(U)Gen params.
* generator/Parameters.cs : deal with out LP(U)Gen params.
* generator/SymbolTable.cs : make all longs and size_t types LP(U)Gens.
2004-12-20 Dan Winship <danw@novell.com>
* generator/GUnicharGen.cs: generatable for gunichar, using
GLib.Marshaller.CharToGUnichar and .GUnicharToChar [#70704]
* generator/SymbolTable.cs (SymbolTable): add a GUnicharGen.
* generator/Makefile.am (sources): add GUnicharGen.cs
* parser/gapi2xml.pl (addPropElem): g_param_spec_unichar() has
type "gunichar" not "unichar".
* gtk/gtk-api.raw: Regen
* glib/Marshaller.cs: Import CharToGUnichar's glue method by the
right name
2004-12-20 Dan Winship <danw@novell.com>
* gtk/Gtk.metadata: Don't rename GtkStock to StockManager, hide
Lookup (so we can customize it) and AddStatic (since it can't work
right from managed code), and tweak the params of Add.
* gtk/Stock.custom: Implement Lookup() using a special
ConstStockItem struct so the p/invoke layer won't try to free
static strings. [#70589]
* sample/GtkDemo/DemoStockBrowser.cs: update this to work with
that. (It used to crash.)
2004-12-20 Mike Kestner <mkestner@novell.com>
* generator/Property.cs : generate Interface properties.
* gtk/ComboBox.custom : remove dup model prop.
* gtk/TreeView.custom : remove dup model prop.
2004-12-20 Jeroen Zwartepoorte <jeroen@xs4all.nl>
* gnomevfs/Makefile.am:
* gnomevfs/ModuleCallback.cs:
* gnomevfs/ModuleCallbackAuthentication.cs:
* gnomevfs/ModuleCallbackFullAuthentication.cs:
* gnomevfs/Vfs.cs: Use a custom VfsException for Result errors.
* gnomevfs/VfsException.cs: new custom Exception class.
* sample/gnomevfs/Makefile.am:
* sample/gnomevfs/TestCallback.cs:
Implement custom bindings for the ModuleCallback mechanism. Atm, only
the GNOME_VFS_MODULE_CALLBACK_AUTHENTICATION and
GNOME_VFS_MODULE_CALLBACK_FULL_AUTHENTICATION callbacks are implemented.
Also added a test-case using the full authentication callback (tested
using the sftp: method). [Partially fixes #70602]
2004-12-18 Mike Kestner <mkestner@novell.com>
* configure.in : bump version in preparation for 1.9.1 release.
2004-12-18 Mike Kestner <mkestner@novell.com>
* gtk/ColorSelectionDialog.custom : fix some incorrect object wrapping
and mark the ColorSelectionButton nested class Obsolete with a heinous
warning message. [Fixes #68450]
2004-12-18 Mike Kestner <mkestner@novell.com>
* generator/Field.cs : add MarshalAs attrs for (u)longs.
2004-12-18 Mike Kestner <mkestner@novell.com>
* gconf/GConf/ChangeSet.cs : add internal Handle prop.
* gconf/GConf/Engine.cs : new class to expose the default gconf engine
perform changeset commits and reverses.
2004-12-17 Mike Kestner <mkestner@novell.com>
* gtk/ListStore.custom : dispose a bunch of GLib.Values.
* gtk/TreeStore.custom : ditto. Reworked and expanded from a patch
by Ben "valgrind-boy" Maurer. [Fixes #69925]
2004-12-17 Mike Kestner <mkestner@novell.com>
* glade/XML.custom (BindFields) : support multiple autoconnects
in different roots by not writing null widgets to the tagged
fields. [Fixes #68455]
2004-12-17 Mike Kestner <mkestner@novell.com>
* gtk/Gtk.metadata : hide Object and Widget.Destroy.
* gtk/Object.custom : manual virtual Destroy impl.
* gtk/Widget.custom : manual virtual Destroy impl.
* gtk/Window.custom : hold a managed ref for all toplevels. Release
it in a Destroy override. Window is frequently subclassed and is
never parented, so this keeps a managed ref around to avoid GC.
[Fixes #70120]
2004-12-17 Mike Kestner <mkestner@novell.com>
* gdk/Gdk.metadata : mark out param on Window.GetFrameExtents.
* gdk/WindowAttr.custom : new typed Mask prop.
* gtk/Widget.custom : new typed WidgetFlags prop. mark Flags obsolete.
2004-12-17 Mike Kestner <mkestner@novell.com>
* gtk/Makefile.am : add new file.
* gtk/glue/makefile.win32 : add missing file.
* gtk/NodeCellDataFunc.cs : new callback delegate type and marshaler
for NodeStore tree views using GtkTreeCellDataFuncs.
* gtk/NodeStore.cs : add internal GetNode overload by TreeIter.
* gtk/NodeView.cs : add AppendColumn overload that uses data funcs.
* gtk/TreeViewColumn.custom : manual implementation for SetCellDataFunc
to support both TreeIter and ITreeNode models. We need to hold a ref
to a delegate for each cell renderer on a column. [Fixes #63062]
* sample/NodeViewDemo.cs : use a NodeCellDataFunc for one of the
cell renderers in the tree.
2004-12-17 Dan Winship <danw@novell.com>
* generator/Field.cs (StudlyName): Fall back to using "cname" if
"name" isn't defined (ie, when using the latest generator against
api files output by an older parser).
2004-12-17 Dan Winship <danw@novell.com>
* generator/ClassBase.cs (IgnoreMethod): Don't ignore GetFoo and
SetFoo methods if they aren't in the right form to be turned into
property accessors. (Causes 13 previously ignored methods to now
be wrapped. See doc/ChangeLog.)
* gtk/Gtk.metadata: Fix up a few of those newly-exposed methods
2004-12-16 Dan Winship <danw@novell.com>
* generator/ManagedCallString.cs (Setup, Finish, ToString): Add
new methods to allow arbitrary setup and teardown code around the
managed call. When passing a type with "complicated" marshalling
requirements as a ref or out param, first assign the value to a
temporary variable (in Setup), then pass the temp as the ref or
out param (in ToString), and then assign the new value back to the
original argument (in Finish).
* generator/Signal.cs:
* generator/SignalHandler.cs: Update to generate correct glue for
signals with "ref" or "out" params. (#70566)
* generator/VirtualMethod.cs: Update for ManagedCallString change
* generator/IGeneratable.cs: add comments explaining what each
member does
* gtk/Gtk.metadata: mark Editable.InsertText's "position" arg pass-by-ref
* sample/Size.cs: connect to the SizeRequested event and override
it, to test/demo the changes
2004-12-16 Dan Winship <danw@novell.com>
* parser/gapi_pp.pl: Don't strip out /*< public >*/ and
/*< private >*/ comments.
* parser/gapi2xml.pl: Use those comments to determine the
accessibility of struct/object fields, and set the "access"
attribute on fields with non-default accessibiliy (private for
structs, public for objects). Also, output a StudlyName for each
field as well as a c_name.
* */*-api.raw: Regen
* generator/Field.cs (StudlyName): Use the parser-generated studly
name rather than studlifying Name, which might have been mangled
to avoid conflicts with an all-lowercase keyword.
(Generate): Respect the access property on all field types rather
than always making certain types public. Don't bother outputting
wrapper properties for private fields, since the only code that
could use them is the generated code, which won't.
Part of #69514. See doc/ChangeLog for the (very minimal) fallout
from these changes.
2004-12-16 Mike Kestner <mkestner@novell.com>
* sample/NodeViewDemo.cs : rework of TreeViewDemo to use NodeStore.
* sample/TreeViewDemo.cs : added some timing and node counting fu.
2004-12-16 Duncan Mak <duncan@ximian.com>
* gtk/Makefile.am (sources): Added NodeSelection and NodeView.
* gtk/NodeSelection.cs: New file, an implementation of
TreeSelection that exposes ITreeNodes instead of TreeIters.
* gtk/NodeStore.cs : added internal GetIter and GetPath methods for
NodeSelection. Reworked [TreeNodeValue] lookup logic.
out what the Type of data the store holds.
* gtk/NodeView.cs: New subclass of TreeView utilizing NodeStore and
NodeSelection.
* gtk/TreeIter.custom : new internal UserData prop.
* gtk/TreeNodeValueAttribute.cs: Set AllowMultiple to true.
* gtk/TreeView.custom: Obsoleted constructor that uses a NodeStore as
parameter. NodeView should be used instead.
2004-12-16 Tambet Ingo <tambet@ximian.com>
* glib/Opaque.cs : hold a weakref in the hash, not a strong ref.
2004-12-15 Mike Kestner <mkestner@novell.com>
* gnome/Gnome.metadata : resolve a collision that was causing
Print class methods to be lost.
2004-12-13 Mike Kestner <mkestner@novell.com>
* configure.in : make gtkhtml conditional on enable_gnome.
[Fixes #70502]
2004-12-09 Mike Kestner <mkestner@novell.com>
* gtkhtml/HTML.custom : remove obsolete attr for Write overload.
* gtkhtml/HTMLStream.custom : ditto.
2004-12-09 Mike Kestner <mkestner@novell.com>
* gtkhtml/HTML.custom : add an back-compat obsolete overload for Write.
* gtkhtml/HTMLStream.custom : add an obsolete overload for Write.
2004-12-09 Mike Kestner <mkestner@novell.com>
* generator/Makefile.am : new files.
* generator/MethodBody.cs : fix for length param code.
* generator/SizeTGen.cs : smarter size_t marshaling.
* generator/SSizeTGen.cs : smarter ssize_t marshaling.
* generator/SymbolTable.cs : use the new generatables.
2004-12-08 John Luke <john.luke@gmail.com>
* sources/README: update versions of the libs
2004-12-08 Mike Kestner <mkestner@novell.com>
* art/Art.metadata : mark some ints as bools. [Fixes #61047]
2004-12-08 Jeroen Zwartepoorte <jeroen@xs4all.nl>
* sample/Makefile.am: Readded TestVfs.cs back and make it conditional.
* sample/TestVfs.cs: New sample contributed by Tamara Roberson.
[Fixes #70262]
2004-12-07 Mike Kestner <mkestner@novell.com>
* gtk/glue/style.c : add missing method and prototype. [Fixes #70216]
2004-12-07 Mike Kestner <mkestner@novell.com>
* */*.cs : s/glue-2.0/glue-2 so that dllimport works on win32.
* */*.custom : s/glue-2.0/glue-2
* */glue/makefile.win32 : s/glue-2.0/glue-2
* */glue/Makefile.am : s/glue-2.0/glue-2
2004-12-06 John Luke <john.luke@gmail.com>
* gtk/Gtk.metadata: set with_mnemonic as the preferred ctor
* doc/en/Gtk/Expander.xml: update
2004-12-06 John Luke <john.luke@gmail.com>
* gtk/Action.custom
* gtk/ActionGroup.custom
* gtk/UIManager.custom
* gtk/Gtk.metadata
* doc/en/Gtk/ActionGroup.xml
* file doc/en/Gtk/Action.xml
* doc/en/Gtk/UIManager.xml: replace List and SList with arrays
and update the docs
2004-12-06 Mike Kestner <mkestner@novell.com>
* generator/SymbolTable.cs : add off_t as an IntPtr.
2004-12-06 Mike Kestner <mkestner@novell.com>
* generator/SignalHandler.cs : s/[]/Array in BaseName. [Fixes #69383]
2004-12-06 Mike Kestner <mkestner@novell.com>
* doc/en/*/*.xml : docs for new GValue members and size_t changes.
* generator/SymbolTable.cs : add ssize_t and make size_t a UIntPtr
instead of the current broken int mapping on 64 bit platforms.
* gtkhtml/HTMLStream.custom : fix size_t related overload.
[fixes #69574]
2004-12-03 Dan Winship <danw@novell.com>
* gdk/gdk-symbols.xml: alias GdkBitmap to GdkPixmap [Fixes #68824]
* gdk/Gdk.metadata: Remove the earlier GdkBitmap hack now that
it's aliased. Also move Gdk.Bitmap.CreateFromData to
Gdk.Pixmap.CreateBitmapFromData
* gdk/Pixbuf.custom (RenderPixmapAndMask,
RenderPixmapAndMaskForColormap, RenderThresholdAlpha):
s/Bitmap/Pixmap/
* sample/GtkDemo/DemoTextView.cs: uncomment the fg/bg stipple
code, since that works now
* parser/gapi-fixup.cs: Add an "add-node" rule. This turned out to
not actually be needed for this fix, but we know we'll need it
later, so here it is.
2004-12-03 Jorge Garcia <jgarcia@ac.upc.es>
* glib/Type.cs: add Int64 and UInt64 support.
* glib/TypeConverter.cs: add Int64 and UInt64 support.
* glib/Value.cs: add Int64 and UInt64 support.
2004-12-03 Mike Kestner <mkestner@novell.com>
* gtk/Dialog.custom : correct return value for AddButton overload.
[Fixes #70121]
2004-12-03 Mike Kestner <mkestner@novell.com>
* gtk/Gtk.metadata : mark accel_group null_ok on ImageMenuItem ctor.
[Fixes #69041]
2004-12-03 Dan Winship <danw@novell.com>
* gtk/Gtk.metadata: Pass TextIters by ref almost everywhere.
[Fixes #70187]. Kill two varargs warnings.
* gtk/TextBuffer.custom: Update for that, and also implement
InsertWithTagsByName
* sample/GtkDemo/DemoHyperText.cs:
* sample/GtkDemo/DemoTextView.cs: Remove kludges for broken
TextIter handling. Also fix the i18n demo bits by translating the
octal-encoded UTF-8 to hex-encoded UTF-16.
2004-12-03 Mike Kestner <mkestner@novell.com>
* gtk/Gtk.metadata : hide junk methods in Global. [Fixes #60895]
2004-12-03 Mike Kestner <mkestner@novell.com>
* gtk/Gtk.metadata : hide Visibility enum. [Fixes #60704]
2004-12-01 Todd Berman <tberman@off.net>
* generator/StructGen.cs: Check to see if a GType is going to be
generated. If not, generate a GType.Pointer. This fixes bug
#70017.
* glib/TypeConverter.cs: Remove the .IsValueType check, as those
now have GType properties.
* gda/Gda.metadata: Change GdaValue.GType to GdaValue.GdaType.
* doc/en/Gda/Value.xml: Regenerated to reflect new API.
2004-11-30 Dan Winship <danw@novell.com>
* sample/GtkDemo/DemoImages.cs: Fix some crashers discovered while
trying to use this as a test case to figure out whether or not I'd
broken Gtk#. Sigh. :)
2004-11-30 Mike Kestner <mkestner@novell.com>
* glib/glue/value.c : add back some code lost in the merge of
2-4-branch. [Fixes #70045]
2004-11-26 Jeroen Zwartepoorte <jeroen@xs4all.nl>
* gtk/ActionEntry.cs:
* gtk/ActionGroup.custom:
* gtk/Gtk.metadata:
* gtk/Makefile.am:
* gtk/RadioActionEntry.cs:
* gtk/ToggleActionEntry.cs:
* gtk/UIManager.custom:
* sample/Actions.cs: Updated to use the new *ActionEntry code. Reflects
testactions.c from gtk+ now.
Added C# syntactic sugar for easily defining Action's for the UIManager.
Derived from the same ActionEntry structs in gtk+.
2004-11-22 Dan Winship <danw@novell.com>
* generator/ClassBase.cs:
* generator/ObjectGen.cs: Move child property handling from
ClassBase to ObjectGen (as suggested by Mike) since it's only
used there
2004-11-18 Mike Kestner <mkestner@novell.com>
* generator/InterfaceGen.cs : beginnings of a real
implementation for GInterfaces. Not quite ready yet,
so it's not active in generation.
2004-11-18 Mike Kestner <mkestner@novell.com>
* generator/Makefile.am : add new file.
* generator/Method.cs : add Declaration property.
* generator/VirtualMethod.cs : new class to generate virtual
methods for Interfaces and objects. Unfinished.
2004-11-18 Mike Kestner <mkestner@novell.com>
* generator/ClassBase.cs : remove a "new" string in the
ChildProp class holder decl to fix build warnings.
2004-11-18 Mike Kestner <mkestner@novell.com>
* atk/Atk.metadata : mark an out param on Value.
2004-11-18 Mike Kestner <mkestner@novell.com>
* generator/*Gen.cs : add ToNativeReturnType to deal with
the g_free string nonsense in the virtual method case.
2004-11-18 Mike Kestner <mkestner@novell.com>
* generator/AliasGen.cs : make this a SimpleGen.
2004-11-18 Mike Kestner <mkestner@novell.com>
* parser/gapi2xml.pl : fix a missing semi in a vm regex.
* */*-api.raw : regen with missing vms.
2004-11-18 Dan Winship <danw@novell.com>
Redo child property handling; now we generate classes to hold the
child properties for a given widget in a container, and generate
the child properties as properties on those classes.
* parser/gapi2xml.pl (addPropElem): don't prepend "child_" to
child prop names any more
* generator/ClassBase.cs (ClassBase): keep childprops separate
from properties
(GenChildProperties): create a subclass of Gtk.ContainerChild
containing the container type's child properties, and override the
Container indexer to return that type.
* generator/ObjectGen.cs (Generate): call GenChildProperties
* generator/Property.cs:
* generator/ChildProperty.cs: Simplify these a bunch, since child
properties are now represented as C# properties as well. Also add
[GLib.Property(cname)] and [Gtk.ChildProperty(cname)] attributes.
* glib/Makefile.am (sources): add PropertyAttribute.cs
* glib/PropertyAttribute.cs: attribute used to label
GObject properties
* gtk/Makefile.am (sources): add ChildPropertyAttribute.cs
* gtk/gtk-api.raw: regenerate for parser changes (remove
"Child"/"child_" from child property names).
* gtk/ChildPropertyAttribute.cs: attribute used to label
GtkContainer child properties
* gtk/Container.custom: define the ContainerChild class, and an
indexer to return instances of it.
2004-11-17 Jorn Baayen <jorn@nl.linux.org>
* gtk/FileChooserDialog.custom : set TransientFor, not Parent.
[Fixes #69626]
2004-11-17 Mike Kestner <mkestner@novell.com>
* gnome/Makefile.am : kill unused file.
* gnome/voidObjectAffineSVPintSignal.cs : kill old file.
2004-11-17 Mike Kestner <mkestner@novell.com>
* generator/Makefile.am : add new file.
* generator/Method.cs : refactoring to use ReturnValue.
* generator/MethodBody.cs : remove unnecessary code.
* generator/ReturnValue.cs : class for redundant retval handling.
* generator/Signal.cs : refactoring for ReturnValue.
* generator/SignalHandler.cs : refactoring for ReturnValue.
2004-11-16 Dan Winship <danw@novell.com>
* glib/Value.cs: add new constructors for enum and boxed values
that take the name of the type rather than an object/property
name pair; this way they work for both GObject properties and
GtkContainer child properties.
* glib/glue/value.c (gtksharp_value_create_from_type_name): glue
for that
* glib/Opaque.cs (GetOpaque): Fix this.
* generator/Property.cs (Generate): Use the new GLib.Value
constructors. (Fixes setting of enum-valued child properties.)
2004-11-15 Dan Winship <danw@novell.com>
* gtk/glue/container.c (gtksharp_container_get_focus_child): New
glue method to get container->focus_child
* gtk/Gtk.metadata: hide SetFocusChild
* gtk/Container.custom (FocusChild): implement with both getter
and setter
2004-11-15 Mike Kestner <mkestner@novell.com>
* gtk/Gtk.metadata : hide the Get/Set Color methods that are marked
deprecated but didn't exist in 1.0.
2004-11-13 Duncan Mak <duncan@ximian.com>
* generator/SymbolTable.cs: Add support for GDestroyNotify, so
that `gtk_cell_layout_set_cell_data_func' will be generated in
Gtk.ComboBox.
2004-11-13 Mike Kestner <mkestner@novell.com>
* */*-api.raw : rerun the parser for new vm-age and cleanups.
* parser/gapi_pp.pl : suppress union types, since we can't generate
them. smarter get_type regex. ignore #errors.
* parser/gapi2xml.pl : generate vm elements for GInterfaces. Deal
with G_CONST_RETURN in vms. deal with "struct _foo" types in method
prototypes.
* gtk/ComboBox.custom : remove now correctly generated dllimport.
2004-11-13 Mike Kestner <mkestner@novell.com>
* sources/gda.patch : fix broken signal defs.
* sources/gnomedb.patch : fix broken signal defs.
* sources/Makefile.am : apply new patches, and dist some others.
2004-11-12 Mike Kestner <mkestner@novell.com>
* parser/gapi_pp.pl : fix multi-line extern parsing.
2004-11-12 Mike Kestner <mkestner@novell.com>
* parser/gapi_pp.pl : fix a struct parsing bug.
2004-11-12 Mike Kestner <mkestner@novell.com>
* sources/gtk-sharp-sources.xml : exclude a couple more pango headers.
2004-11-09 Mike Kestner <mkestner@novell.com>
* */Makefile.am : make the Obsolete warnings shaddup.
2004-11-09 Mike Kestner <mkestner@novell.com>
* configure.in : conditional stuff for gnomevfs
* doc/Makefile.am : conditionally update panelapplet and gnomevfs.
* doc/en/*/* : update to add PanelApplet and Gnome.Vfs stubs.
* gnomevfs/Makefile.am : make conditional
2004-11-08 Dan Winship <danw@novell.com>
* glib/Object.cs (CreateNativeObject): virtualize
(Object(GType)): Mark this ctor Obsolete
* gtk/Gtk.metadata: disable the generated GType ctor on Gtk.Widget
* gtk/Widget.custom (Widget, CreateNativeObject,
Widget_ParentSet): Connect to our own ParentSet event from
CreateNativeObject and the GType ctor, and keep a static Hashtable
of parented widgets, so that adding a managed widget to a
container keeps both the GObject and the managed object alive.
* generator/ObjectGen.cs (GenCtors): handle the disable_gtype_ctor
flag. Also, mark GType ctors [Obsolete]
* generator/ChildProperty.cs:
* generator/Property.cs: Fix child property names.
2004-11-07 Jeroen Zwartepoorte <jeroen@xs4all.nl>
* gtk/Gtk.metadata: Fix some TreeModelFilter stuff (similar to
TreeModelSort).
2004-11-05 Jeroen Zwartepoorte <jeroen@xs4all.nl>
* gnomevfs/*.cs: Add copyright/LGPL header.
* gnomevfs/*.custom: Idem.
* gnomevfs/Mime.cs: Obsolete, replaced by MimeType.cs.
* gnomevfs/MimeActionType.cs: Obsolete, generated now.
* gnomevfs/OpenMode.cs: Idem.
* gnomevfs/Result.cs: Idem.
* gnomevfs/SeekPosition.cs: Idem.
2004-11-05 Dan Winship <danw@novell.com>
* parser/gapi2xml.pl (parseInitFunc, addPropElem): handle
GtkContainer child properties
* generator/Property.cs:
* generator/ChildProperty.cs: make Property subclassable and add a
"ChildProperty" subclass.
* generator/Makefile.am (sources): add ChildProperty.cs
* generator/ClassBase.cs: handle "childprop" nodes by creating
ChildProperty objects.
* glib/Value.cs (explicit operator EnumWrapper): use
g_value_get_flags() rather than g_value_get_enum() when
appropriate.
* glib/glue/value.c (glibsharp_value_holds_flags): glue for that
* gtk/gtk-api.raw: regen to pick up child properties
* gtk/Gtk.metadata:
* gtk/Container.custom: hide the auto-generated
Gtk.Container.ChildGetProperty and implement a nicer one by hand.
* gtk/glue/container.c (gtksharp_container_child_get_property):
utility function to set up an appropriate GValue for us
2004-11-05 Tambet Ingo <tambet@ximian.com>
* generator/OpaqueGen.cs: Add optional "parent" attribute to Opaque
types.
2004-11-04 Jeroen Zwartepoorte <jeroen@xs4all.nl>
* gnomevfs/Directory.cs: Add async GetEntries Uri alias.
* gtk/FileChooserDialog.custom: Add nice custom properties for Uris.
ListFilters, ListShortcutFolders and ListShortcutFolderUris.
* gtk/FileChooserWidget.custom: Idem.
* gtk/Gtk.metadata: Idem.
2004-11-04 Todd Berman <tberman@off.net>
* glib/ListBase.cs: In Empty, call FreeList, not Dispose.
2004-11-04 Todd Berman <tberman@off.net>
* glib/ListBase.cs: Make sure to properly check if it is a
GLib.Object subclass.
2004-11-04 Todd Berman <tberman@off.net>
* doc/en/GLib/ListBase.xml: Add documentation for ListBase.Empty
* glib/ListBase.cs: Add ListBase.Empty, frees the children and the
list.
* glib/Markup.cs: Fix Alex's tomboy crash, sending -1 instead of
Length.
* gtk/FileChooserDialog.custom:
* gtk/FileChooserWidget.custom: properly free the list.
2004-11-03 Todd Berman <tberman@off.net>
* gtk/FileChooserDialog.custom:
* gtk/FileChooserWidget.custom: Properly implement .Filenames. The old
code was a really bad c&p job.
2004-11-02 Jeroen Zwartepoorte <jeroen@xs4all.nl>
* gnomevfs/AsyncDirectoryLoadCallback.cs:
* gnomevfs/AsyncDirectoryLoadCallbackNative.cs:
* gnomevfs/Directory.cs: Implement asynchronous directory loading.
* gnomevfs/FileInfo.cs: Clear the FileInfoNative struct in the
destructor.
* gnomevfs/Makefile.am: Add new callback files.
* sample/gnomevfs/TestDirectory.cs: Add async test.
2004-11-01 Jeroen Zwartepoorte <jeroen@xs4all.nl>
* gnomevfs/Directory.cs: New Create and Delete methods. Free the
FileInfo List returned by gnome_vfs_directory_list_load.
* gnomevfs/FileInfo.cs: Copy the FileInfoNative struct so the original
can be properly freed.
* gnomevfs/Vfs.cs: Move MakeDirectory and RemoveDirectory to Directory.
2004-11-01 Jeroen Zwartepoorte <jeroen@xs4all.nl>
* gnomevfs/Directory.cs: Bind gnome_vfs_directory_list_load as a static
FileInfo[] GetEntries (uri) method.
* gnomevfs/FileInfo.cs: Add internal FileInfoNative constructor to
create a FileInfo class based on an existing FileInfoNative struct.
* gnomevfs/Makefile.am:
* sample/gnomevfs/Makefile.am:
* sample/gnomevfs/TestDirectory.cs:
2004-10-30 Todd Berman <tberman@off.net>
* gtk/ComboBox.custom:
* gtk/FileChooserDialog.custom:
* gtk/FileChooserWidget.custom: Fix c&p error with filename.
2004-10-29 Todd Berman <tberman@off.net>
* gtk/ComboBox.custom: Add a header.
* gtk/FileChooserDialog.custom: Add subclassing support, and a header.
* gtk/FileChooserWidget.custom: Add a header.
2004-10-29 Todd Berman <tberman@off.net>
* gtk/FileChooserDialog.custom: Add Filenames property to return
the data as a string[] instead of a GSList.
* gtk/FileChooserWidget.custom: Same as above.
* gtk/Makefile.am: Add FileChooserWidget.custom
2004-10-30 Jeroen Zwartepoorte <jeroen@xs4all.nl>
* sources/gtk-sharp-sources.xml: Invalid XML due to unremoved -->
closing comment tag.
2004-10-29 Todd Berman <tberman@off.net>
* gtk/FileChooserDialog.custom: Allow a null parent.
2004-10-29 Todd Berman <tberman@off.net>
* gconf/GConf/gconf-sharp-2.0.pc.in: s/PACKAGE/PACKAGE_VERSION/ to fix
-pkg:gtk-sharp
2004-10-29 Todd Berman <tberman@off.net>
* gtk-sharp-2.0.pc.in: s/PACKAGE/PACKAGE_VERSION/ to fix -pkg:gtk-sharp
2004-10-26 Dan Winship <danw@novell.com>
* gdk/Gdk.metadata: Remap all "out Gdk.Bitmap" params to be
Gdk.Pixmaps instead, because the former will crash. Also fix the
"data" param to Pixmap.CreateFromXpmD and
Pixmap.ColormapCreateFromXpmD
* gtk/Style.custom (TextAAGC, SetTextAAGC, LightGC, SetLightGC,
DarkGC, SetDarkGC, MidGC, SetMidGC): add these to go along with
BaseGC, SetBaseGC, etc.
* gtk/glue/style.c: add the glue methods needed for the above
2004-10-21 Mike Kestner <mkestner@ximian.com>
* generator/SymbolTable.cs : map unsigned int to uint. [Fixes #67732]
2004-10-21 Mike Kestner <mkestner@ximian.com>
* configure.in : guard against broken installs where enable_gnome
fails but enable_gnomedb succeeds. [Fixes #67986]
2004-10-20 Dan Winship <danw@novell.com>
* gdk/Window.custom: add a new constructor that takes a
Gdk.WindowAttributesType rather than an int for attributes_mask.
2004-10-18 Dan Winship <danw@novell.com>
* generator/OpaqueGen.cs: Don't build the (IntPtr raw) constructor
if "disable_raw_ctor" is set on the opaque type.
* gtk/Gtk.metadata: Make GtkTargetList opaque (fixes a crash in
Gtk.Drag.Begin), hide the generated constructor and ref/unref
methods, and fix up the interpretation of AddTable.
* gtk/TargetList.custom (TargetList, ~TargetList): Implement the
suppressed constructors and add a finalizer, which handle
refcounting the underlying struct.
(Add, Find, Remove): convenience overloads that take string
instead of Gdk.Atom.
* gtk/Makefile.am (customs): add TargetList.custom
2004-10-07 Mike Kestner <mkestner@ximian.com>
* gdk/Makefile.am : add missing custom file.
* gdk/Pixmap.custom : add overloads for *CreateFromXPM* methods which
default transparency mask and color.
2004-10-07 Todd Berman <tberman@off.net>
* gtk/Gtk.metadata: Mark ComboBox.GetActiveIter as an out param.
2004-10-06 John Luke <john.luke@gmail.com>
* gtk/Action.custom: add overload for string, string, null, null
* gtk/UIManager.custom: add overload to get the UI from a resource
* gtk/Makefile.am: add the 2 new custom files
* sample/Action.cs: remove using GtkSharp, make ui_info const, quit on Quit
2004-10-05 Todd Berman <tberman@off.net>
* gtk/ComboBox.custom: Add SetCellDataFunc to allow you to set a
CellLayoutDataFunc on a ComboBox.
2004-10-05 Todd Berman <tberman@off.net>
* gtk/ComboBox.custom: new file, to allow get/set access to 'model'.
* gtk/Makefile.am: add ComboBox.custom.
2004-10-05 Mike Kestner <mkestner@ximian.com>
* gtk/Gtk.metadata : hide Selection.GetTargets.
* gtk/SelectionData.custom : impl Targets prop and add Selection,
Target, and Type field accessors.
* gtk/glue/selectiondata.c : field accessor glue.
2004-10-04 Todd Berman <tberman@off.net>
* Merge forward patch from Miguel to fix delegate marshalling in
1.1.1. Original Changelog follows
2004-10-04 Todd Berman <tberman@off.net>
* */*.pc.in: Fix the Requires to use -2.0
2004-09-29 Mike Kestner <mkestner@ximian.com>
* gtk/Gtk.metadata : hide some ellipsis methods, add pass_as attrs.
* gtk/Object.custom : new IsFloating property.
* gtk/glue/object.c : new gtksharp_object_set_floating glue.
2004-09-29 Mike Kestner <mkestner@ximian.com>
* generator/GStringGen.cs : new generatable impl for GStrings.
* generator/InterfaceGen.cs : better error reporting.
* generator/Makefile.am : add new source file.
* generator/Method.cs : better error reporting.
* generator/SymbolTable.cs : add new GString igen.
2004-09-29 Mike Kestner <mkestner@ximian.com>
* glib/GString.cs : new marshaling class for GStrings. Used by
generator to map GString params and returns onto managed strings.
* glib/Makefile.am : add new file.
2004-09-27 Mike Kestner <mkestner@ximian.com>
* gtk/Button.custom : add a ctor (Widget). reworked from patch by
John Luke.
[Fixes #66228]
2004-09-26 Mike Kestner <mkestner@ximian.com>
* glib/Idle.cs : proxy hash keys are uints, not ints.
2004-09-24 Mike Kestner <mkestner@ximian.com>
* gtk/Bin.custom : make Child get/set.
* gtk/Gtk.metadata : hide the Bin.get_child method.
[Fixes #66232]
2004-09-23 Mike Kestner <mkestner@ximian.com>
* gtk/Widget.custom : new OnSetScrollAdjustments VM.
* gtk/glue/widget.c : glue for new VM.
2004-09-18 Miguel de Icaza <miguel@ximian.com>
* glib/Source.cs: Add new base class to hold the method to be
called, and the proxy handler we use to keep references to them
and avoid a collection.
Exposes a new variables that references all the active Timeouts
and Idle handlers to avoid collection/
* glib/Timeout.cs: Implement TimeoutProxy that acts as a filter to
remove the proxy when the timeout is removed.
Register a TimeoutProxy when we create a timeout.
* glib/Idle.cs: Implement IdleProxy that acts as a filter to
remove the proxy when the idle handler is removed.
Register an IdleProxy when we create a timeout.
2004-09-17 Mike Kestner <mkestner@ximian.com>
* configure.in : bump version and tag for 1.0.2.
2004-09-17 Mike Kestner <mkestner@ximian.com>
* configure.in : bump version and tag for 1.0.2.
2004-09-17 Mike Kestner <mkestner@ximian.com>
* configure.in : use either gtkhtml 3.0 or 3.2
2004-09-14 Mike Kestner <mkestner@ximian.com>
* gdk/* : remaining API audit fixes.
2004-09-09 Mike Kestner <mkestner@ximian.com>
* gdk/Device.custom : manual GetHistory impl.
* gdk/Display.custom : manual GetPointer overloads.
* gdk/Gdk.metadata : hides and array params.
* gdk/Makefile.am : add new file.
* gdk/TextProperty.cs : new manual impl of methods.
2004-09-03 Mike Kestner <mkestner@ximian.com>
* configure.in : expand new doc/updater makefile
* gtk/Gtk.metadata : hide Init.Check and AbiCheck*.
* gtk/Init.custom : manual Init.Check impl.
* gtk/Makefile.am : add Init.custom.
2004-08-31 Mike Kestner <mkestner@ximian.com>
* gdk/Gdk.metadata : mark out params on *CreateWithXpm*.
[Fixes #61116]
2004-08-31 Mike Kestner <mkestner@ximian.com>
* gtk/NodeStore.cs : add GType prop to expose native gtype.
[Fixes #61226]
2004-08-31 Mike Kestner <mkestner@ximian.com>
* glib/Marshaller.cs : fix utc offseting for time_tToDateTime.
[Fixes #60960]
2004-08-30 Tambet Ingo <tambet@ximian.com>
* glib/ListBase.cs : indexing bugfix for CopyTo.
2004-08-28 John Luke <john.luke@gmail.com>
* gdk/Gdk.metadata: change Gdk.KeyVal name return-type from
gchar* to const-gchar*, so we do not try to modify it (call gfree).
[Fixes #64421]
2004-08-27 Jeroen Zwartepoorte <jeroen@xs4all.nl>
* gnomevfs/Async.cs: Add Priority enum. Add methods which take an Uri
object (similar to Sync methods).
* gnomevfs/Vfs.cs: Add Truncate bindings.
* gnomevfs/VfsStream.cs: Major fixes. Don't use the AsyncWaitHandle for
blocking until an operation has finished. Fix (a)sync reading & writing.
You either use sync/async throughout the code. Can't mix sync and async
gnome-vfs method calls (different Handle objects).
* gnomevfs/VfsStreamAsyncResult.cs: Throw NotSupportedException when
AsyncWaitHandle property is accessed.
* sample/gnomevfs/Makefile.am: New test programs.
* sample/gnomevfs/TestAsync.cs:
* sample/gnomevfs/TestAsyncStream.cs:
* sample/gnomevfs/TestSyncStream.cs:
2004-08-26 Manuel V. Santos <mvsl@telefonica.net>
* gdk/Device.custom : glue to expose object fields.
* gdk/DeviceAxis.custom : expand the ToString to incl use:
* gdk/EventButton.custom : fix for Axes prop.
* gdk/EventMotion.custom : fix for Axes prop.
* gdk/Gdk.metadata : hide some accessors on Device.
* gdk/Makefile.am : add new custom.
* gdk/glue/Makefile.am : add new .c
* gdk/glue/makefile.win32 : add new .o
* gdk/glue/device.c : ditto.
* gtk/InputDialog.custom : glue to expose button fields.
* gtk/Makefile.am : add new custom.
* gtk/glue/Makefile.am : add new .c
* gtk/glue/makefile.win32 : add new .o
* gtk/glue/inputdialog.c : ditto.
* sample/ScribbleXInput.cs : new sample using extension events.
2004-08-25 Mike Kestner <mkestner@ximian.com>
* generator/Signal.cs : use typeof instead of Type.GetType to
specify the event args type.
* glib/ObjectManager.cs : beef up the type lookup code using
Assembly.LoadWithPartialName to fix a very popular win32 bug.
[Fixes #61139 and friends] Thanks to John Luke for expert
patch testing on win32.
2004-08-25 John Luke <john.luke@gmail.com>
* glib/MainLoop.cs: MainLoop implementation by Jeroen
[Fixes #61493]
2004-08-24 Mike Kestner <mkestner@ximian.com>
* gtk/Gtk.metadata : kill TreeDataList and TreeDataSortHeader
internal types.
2004-08-24 Larry Ewing <lewing@ximian.com>
* gtk/Gtk.metadata : Style.PaintPolygon has an array of points.
2004-08-24 John Luke <john.luke@gmail.com>
* gtk/Makefile.am: add Menu.custom
* gtk/Menu.custom: new custom for Popup () overload
[Fixes #60668]
* rsvg/Pixbuf.custom: new custom file
* rsvg/Makefile.am: add Pixbuf.custom to build
* rsvg/Tool.cs: remove double ; that cause warnings
* rsvg/rsvg-sharp.pc.in: add Requires: gtk-sharp art-sharp
[Fixes #60894]
* gdk/PixbufLoader.custom: add Write () overload
[Fixes #62681]
2004-08-24 Larry Ewing <lewing@ximian.com>
* gdk/Pixbuf.custom : add RenderThresholdAlpha overload which defaults
to the entire pixbuf width/height.
[Fixes #60703]
2004-08-24 Mike Kestner <mkestner@ximian.com>
* gdk/Drawable.custom : add a DrawPolygon overload with bool filled
and mark the old int filled overload Obsolete.
[Fixes #60702]
2004-08-23 Todd Berman <tberman@off.net>
* panelapplet/BonoboUIVerb.cs:
* panelapplet/ContextMenuItem.cs:
* panelapplet/Makefile.am:
* panelapplet/PanelApplet.custom: Remove the ContextMenuItem and the
need for the glue. Add BonoboUIVerb to directly call the setup_menu
function. Leave the glue library for now, as I think getting the
proper orientation stuff setup will require some glue work.
* sample/panelapplet/testapplet.cs: Update sample to reflect new
api. Need to make this installable.
2004-08-22 Jeroen Zwartepoorte <jeroen@xs4all.nl>
* gnomevfs/Makefile.am: Remove ADDITIONAL_API variable.
2004-08-20 Mike Kestner <mkestner@ximian.com>
* atk/Atk.metadata : mark an array param on Relation ctor.
2004-08-19 Borja Sanchez Zamorano <borsanza@yahoo.es>
* gtk/Gtk.metadata : hide some methods on TextBuffer.
* gtk/TextBuffer.custom : pass -1 for the text length to some
more methods.
2004-08-19 Jeroen Zwartepoorte <jeroen@xs4all.nl>
* gnomevfs/Makefile.am: Add Monitor.cs.
* gnomevfs/Monitor.cs: New custom class wrapping the gnome_vfs_monitor_*
methods.
* sample/gnomevfs/Makefile.am: Added TestMonitor.cs.
* sample/gnomevfs/TestMonitor.cs: Test case for using the new Monitor
class.
2004-08-18 John Luke <john.luke@gmail.com>
* AUTHORS: fix my name
* glade/XML.custom: remove doc comments (in monodoc)
add overload ctor for the most common case so far
[Fixes #62238]
2004-08-18 John Luke <john.luke@gmail.com>
* pango/Pango.metadata : hide a couple methods on Layout.
* pango/Layout.custom : impl SetText and SetMarkup w/ length=-1.
[Fixes #63057]
2004-08-18 Mike Kestner <mkestner@ximian.com>
* gtk/Gtk.metadata : unhide ExpanderStyle.
* doc/en/Gtk/Style.xml : doc PaintExpander.
* doc/en/Gtk/ExpanderStyle.xml : new enum docs.
[Fixes #60480] metadata patch from Jeroen Zwartepoorte.
2004-08-17 Mike Kestner <mkestner@ximian.com>
* pango/Pango.metadata : metadata for the pango audit.
* pango/*.custom : customizations to fix audited API.
* doc/en/* : docs for some api changes and additions.
* glib/Marshaller.cs : some gunichar marshal-fu.
* glib/glue/unichar.c : a new glue method.
2004-08-14 Todd Berman <tberman@off.net>
* gnomevfs/VfsStream.cs: if ErrorEof is returned in Read, return 0
instead of throwing an exception.
2004-08-13 John Luke <john.luke@gmail.com>
* gtk/Gtk.metadata: mark Gtk.StockManager.Lookup param as ref
patch by jaspervp@gmx.net (Jasper van Putten)
[Fixes #61893]
2004-08-13 Mike Kestner <mkestner@ximian.com>
* gtk/Gtk.metadata : hide Insert and SetText for manual impl.
* gtk/TextBuffer.custom : pass -1 for length to Insert and SetText.
Adapted from a patch by borsanza@yahoo.es (Borja Sanchez Zamorano).
[Fixes #62985]
2004-08-10 Todd Berman <tberman@off.net>
* gnomevfs/AssemblyInfo.cs.in: use the .snk, not the .pub.
2004-08-10 Jeroen Zwartepoorte <jeroen@xs4all.nl>
* glib/MainLoop.cs:
* gnomevfs/.cvsignore:
* gnomevfs/Async.cs:
* gnomevfs/FileInfo.cs:
* gnomevfs/Gnomevfs.metadata:
* gnomevfs/Makefile.am:
* gnomevfs/MimeType.cs:
* gnomevfs/Sync.cs:
* gnomevfs/Uri.custom:
* gnomevfs/VfsStream.cs:
* gnomevfs/VfsStreamAsyncResult.cs:
* gnomevfs/VolumeMonitor.custom:
* gnomevfs/Xfer.cs:
* gnomevfs/XferProgressCallback.cs:
* gnomevfs/XferProgressCallbackNative.cs:
* gnomevfs/filesize.diff:
* gnomevfs/gnomevfs-api.raw:
* sample/gnomevfs/.cvsignore:
* sample/gnomevfs/Makefile.am:
* sample/gnomevfs/TestInfo.cs:
* sample/gnomevfs/TestMime.cs:
* sample/gnomevfs/TestSync.cs:
* sample/gnomevfs/TestSyncCreate.cs:
* sample/gnomevfs/TestSyncWrite.cs:
* sample/gnomevfs/TestUnlink.cs:
* sample/gnomevfs/TestVolumes.cs:
* sample/gnomevfs/TestXfer.cs:
Commit new gnomevfs files and samples. Also the GLib.MainLoop addition
for programs which don't want to use Gtk.Application.Run (), but still
use the GLib main loop.
2004-08-04 Raja R Harinath <rharinath@novell.com>
* configure.in (GTKHTML): Use SOVERSION=11 for GtkHTML 3.1.18.
* gda/Makefile.am ($(API)): Remove duplicated $(srcdir).
2004-07-30 Mike Kestner <mkestner@ximian.com>
* parser/gapi2xml.pl : char const * fixes for clahey's gsf binding.
2004-07-28 Jeroen Zwartepoorte <jeroen@xs4all.nl>
* */*: merge from HEAD again.
2004-07-24 Mike Kestner <mkestner@ximian.com>
* gdk/Gdk.metadata : hide Window.Destroy.
* gdk/Window.custom : manually impl Destroy since it releases our ref.
* glib/Object.cs : support unset of Raw values.
2004-07-22 Mike Kestner <mkestner@ximian.com>
* glib/Value.cs : allow null for ctor(GLib.Object).
2004-07-18 Todd Berman <tberman@off.net>
* panelapplet/Makefile.am: We dont actually use gnome-sharp.dll, remove
it.
2004-07-16 John Luke <jluke@cfl.rr.com>
* gtk/Gtk.metadata:
* glade/Glade.metadata: mark return type as const-gchar* for
Gtk.Global.CheckVersion and Glade.Global.ModuleCheckVersion
so Gtk# does not try to free them. Thanks to
jaspervp@gmx.net (Jasper van Putten) for identifying the Glade
part. Fixes bugs #61329 and #60954
2004-07-12 Martin Willemoes Hansen <mwh@sysrq.dk>
* gnome/Gnome.metadata: Fixed typo i to 1
Remove unnessesary disabledefaultconstructor
* gnome/PrintJob.custom: Change ctor to an overload ctor
2004-07-11 Todd Berman <tberman@off.net>
* panelapplet/ContextMenuItem.cs: New struct to hold context menu
item information.
* panelapplet/Makefile.am: added new file.
* panelapplet/PanelApplet.custom: add glue accessor to set the context
menu.
* panelapplet/glue/panelapplet.c: new glue functionality to setup a
context menu.
* sample/panelapplet/testapplet.cs: expand sample to show context menu
code.
2004-07-10 Todd Berman <tberman@off.net>
* panelapplet/panelapplet-sharp-2.0.pc.in: fix path.
2004-07-09 Mike Kestner <mkestner@ximian.com>
* gdk/Gdk.metadata : mark gc param of Drawable.DrawPixbuf null_ok.
2004-07-09 Todd Berman <tberman@off.net>
* Makefile.am:
* configure.in:
Add panelapplet stuff to configure.in and the subdirs.
* generator/ClassBase.cs:
* generator/ObjectGen.cs:
Add a new attribute 'abstract' to allow a class to be defined to be
abstract. PanelApplet.PanelApplet uses this.
* panelapplet/.cvsignore:
* panelapplet/AppletFactory.cs:
* panelapplet/AssemblyInfo.cs.in:
* panelapplet/Makefile.am:
* panelapplet/PanelApplet.cs:
* panelapplet/PanelApplet.custom:
* panelapplet/PanelApplet.metadata:
* panelapplet/panelapplet-api.raw:
* panelapplet/panelapplet-sharp-2.0.pc.in:
* panelapplet/panelapplet-sharp.dll.config.in:
* panelapplet/glue/.cvsignore:
* panelapplet/glue/Makefile.am:
* panelapplet/glue/panelapplet.c:
Initial import of the panelapplet code. This code is largely
untested, and will need a good amount of glue. For sure glue code is
needed for the context menu items.
* sample/panelapplet/CSharpTestApplet_Factory.server:
* sample/panelapplet/monodoc.png:
* sample/panelapplet/testapplet.cs:
A small testcase for the panelapplet. There is no makefile yet, and
the server needs some help as it uses an absolute path that will only
work on my box. When I get back to Toronto (so some point this weekend)
I will fix this code to build/install properly and add a README file
to help with any potential issues.
* sources/Makefile.am:
* sources/gtk-sharp-sources.xml:
Add the panelapplet-sharp stuff to the build here.
2004-07-06 Todd Berman <tberman@off.net>
* sources/gtk_tree_model_signal_fix.patch: duh, this is the real patch.
2004-07-06 Todd Berman <tberman@off.net>
* sources/Makefile.am:
* sources/gtk_tree_model_signal_fix.patch: a new hacky patch to fix
the signal generation on the tree model structs.
* */*-api.raw: regen.
* glib/Object.cs: merge forward a small patch.
2004-07-06 Todd Berman <tberman@off.net>
* Makefile.am:
* configure.in:
* gtk-sharp-2.0.pc.in:
* gtk-sharp.pc.in:
* art/.cvsignore:
* art/Makefile.am:
* art/art-sharp-2.0.pc.in:
* art/art-sharp.pc.in:
* gconf/GConf/.cvsignore:
* gconf/GConf/Makefile.am:
* gconf/GConf/gconf-sharp-2.0.pc.in:
* gconf/GConf/gconf-sharp.pc.in:
* gda/.cvsignore:
* gda/Makefile.am:
* gda/gda-sharp-2.0.pc.in:
* gda/gda-sharp.pc.in:
* glade/.cvsignore:
* glade/Makefile.am:
* glade/glade-sharp-2.0.pc.in:
* glade/glade-sharp.pc.in:
* gnome/.cvsignore:
* gnome/Makefile.am:
* gnome/gnome-sharp-2.0.pc.in:
* gnome/gnome-sharp.pc.in:
* gnomedb/.cvsignore:
* gnomedb/Makefile.am:
* gnomedb/gnomedb-sharp-2.0.pc.in:
* gnomedb/gnomedb-sharp.pc.in:
* gnomevfs/.cvsignore:
* gnomevfs/gnome-vfs-sharp-2.0.pc.in:
* gnomevfs/gnome-vfs-sharp.pc.in:
* gtkhtml/.cvsignore:
* gtkhtml/Makefile.am:
* gtkhtml/gtkhtml-sharp-2.0.pc.in:
* gtkhtml/gtkhtml-sharp.pc.in:
* rsvg/.cvsignore:
* rsvg/Makefile.am:
* rsvg/rsvg-sharp-2.0.pc.in:
* rsvg/rsvg-sharp.pc.in:
* sample/rsvg/Makefile.am:
* vte/.cvsignore:
* vte/Makefile.am:
* vte/vte-sharp-2.0.pc.in:
* vte/vte-sharp.pc.in:
Make gtk-sharp-2.0 parallel installable with gtk-sharp. Now you can
install both and do -pkg:gtk-sharp-2.0 or similar to compile against
the gtk-sharp-2.0 assemblies.
Basically this change comprised some small configure.in changes to
change the $(PACKAGE) to gtk-sharp-2.0, and check for the appropriate
versions of the gnome 2.6 based libraries.
Also, every .pc file was renamed -2.0.pc to allow for the parallel
install, and the .cvsignore and Makefile.am rules were updated to
reflect this change.
2004-07-05 John Luke <jluke@cfl.rr.com>
* sample/VteTest.cs: improve the scrolling in the sample
and pass on the Environment variables
2004-07-02 Mike Kestner <mkestner@ximian.com>
* configure.in : dist the HACKING file from now on.
2004-07-01 Mike Kestner <mkestner@ximian.com>
* sample/rsvg/Makefile.am : add an art-sharp /r.
2004-06-30 John Luke <jluke@cfl.rr.com>
* vte/Vte.metadata: remove unneeded metadata and add comments
2004-06-29 Mike Kestner <mkestner@ximian.com>
* configure.in : bump version to 1.0 and tag. Woot!
2004-06-25 Mike Kestner <mkestner@ximian.com>
* */*.cs : add lgpl license blurb and clean up (c)'s.
* */*.custom : add lgpl license blurb and clean up (c)'s.
* */glue/*.c : add lgpl license blurb and clean up (c)'s.
file adds without license from now on are punishable by wedgie.
2004-06-25 Mike Kestner <mkestner@ximian.com>
* generator/*.cs : add gpl license blurb and clean up (c)'s.
* parser/* : ditto
* doc/*.cs : ditto
* doc/gen-handlerargs-docs.cs : add little scripty.
2004-06-25 Mike Kestner <mkestner@ximian.com>
* configure.in : tag and bump version to 0.99.
2004-06-23 Todd Berman <tberman@off.net>
* doc/*/*.xml: s/GtkSharp.SignalArgs/GLib.SignalArgs/;
2004-06-22 Mike Kestner <mkestner@ximian.com>
* configure.in : GLIB check for gobject, not glib.
2004-06-20 Jeroen Zwartepoorte <jeroen@xs4all.nl>
* gdk/Gdk.metadata: Fix merging errors.
* gnome/CanvasItem.custom: Idem.
* gtk/Widget.custom: Idem.
2004-06-20 Jeroen Zwartepoorte <jeroen@xs4all.nl>
* *: Merge with HEAD.
2004-06-17 Larry Ewing <lewing@ximian.com>
* gdk/Makefile.am (sources): add Pixdata.custom
* gdk/Pixdata.custom: add new file to fix Serialize.
* gnome/CanvasItem.custom: remove the incorrect custom bindings.
* gnome/Gnome.metadata: stop hiding the AffineRelative and
AffineAbsolute the generator gets them right they are not out
params.
* gdk/Gdk.metadata: mark the Pixdata byte stream as and array hide
the broken serialize method.
2004-06-18 John Luke <jluke@cfl.rr.com>
* sample/rsvg/Makefile.am: do not reference gnome-sharp and art-sharp
* sample/rsvg/svghelloworld.cs: rework with just gtk (no gnome deps)
2004-06-15 Mike Kestner <mkestner@ximian.com>
* gtk/Gtk.metadata : hide the button_new_from_stock ctor.
* gtk/Button.custom : add a manual ctor implementation.
2004-06-14 Mike Kestner <mkestner@ximian.com>
* configure.in : another "really frozen this time" release.
* gdk/Gdk.metadata : mark a couple array params on Pixbuf.Savev.
* gdk/Pixbuf.custom : add a Save implementation.
2004-06-14 Mike Kestner <mkestner@ximian.com>
* configure.in : bump the version to 0.97, tag.
2004-06-12 Todd Berman <tberman@sevenl.net>
* glib/ObjectManager.cs: change CreateInstance overload being used
to properly pick up protected ctors.
2004-06-11 Todd Berman <tberman@sevenl.net>
* gtk/Container.custom:
* gtk/CellRenderer.custom:
* gnome/CanvasItem.custom: mark Override* private.
* doc/en/*/*.xml: update to remove Override* methods.
2004-06-11 Mike Kestner <mkestner@ximian.com>
* doc/en/*/*.xml : update to remove Override* methods.
* generator/Signal.cs : make the Override* methods private. They
should not ever be called manually and it saves about 800 "do not
call this method" doc entries.
2004-06-11 Mike Kestner <mkestner@ximian.com>
* configure.in : require mono-0.96, bump the version, tag.
2004-06-11 Mike Kestner <mkestner@ximian.com>
* configure.in : remove the mint usage for darwin.
2004-06-11 Mike Kestner <mkestner@ximian.com>
* configure.in : deal with a csc-ism in source paths.
* */Makefile.am : use the GENERATED_SOURCES var.
* */glue/Makefile.am : add -no-undefined for win32 dll builds.
2004-06-10 Mike Kestner <mkestner@ximian.com>
* configure.in : break the monodoc dep, even though it was optional
it was a pain in the backside.
* doc/Makefile.am : add assemble target to build docs using monodoc.
we now have two manual targets which use monodoc, but aren't required
for the default build (update and assemble).
2004-06-10 Mike Kestner <mkestner@ximian.com>
* configure.in : AC_SUBST GACUTIL_FLAGS. require mono-0.95 (though
it's really cvs bleeding edge.)
* * AssemblyInfo.cs.in : s/pub/snk. delaysign=no.
* * Makefile.am : s/pub/snk. portability fixes to csc from John
Luke. Switch to GACUTIL_FLAGS.
* doc/Makefile.am : don't build docs, install raw xml to the prefix.
2004-06-10 Todd Berman <tberman@sevenl.net>
* gtk/Container.custom: add C# glue for virtualizing ChildType ()
* gtk/glue/container.c: add C glue for virtualizing ChildType ()
* gtk/Gtk.metadata: hide Container.ChildType ()
* gtk/Widget.custom: Add ClearFlag, and SetFlag convenience methods.
Also add various IsFlag bool properties for checking for flags.
* gtk/glue/widget.c: Fix setting flags.
* doc/*: updated Widget docs.
2004-06-09 Todd Berman <tberman@sevenl.net>
* gdk/Gdk.metadata: mark Window.SetBackPixmap as null_ok.
* glib/Object.cs: in set_Raw, if value == IntPtr.Zero, dont put that
in the weakref hashtable, as it creates later issues with gtk+
returning null and gtk# mistaking if for an object.
2004-06-08 Mike Kestner <mkestner@ximian.com>
* gnomedb/Application.cs : add a missing DllImport.
2004-06-08 Mike Kestner <mkestner@ximian.com>
* gdk/Gdk.metadata : mark array param on Drawable.*Image.
2004-06-08 Mike Kestner <mkestner@ximian.com>
* gdk/Gdk.metadata : mark array param on Drawable.DrawGrayImage.
2004-06-07 Mike Kestner <mkestner@ximian.com>
* */Makefile.am : s|--unsafe|/unsafe to remove a mcs-ism that jluke
exposed in his cygwin build patch.
2004-06-07 Jeroen Zwartepoorte <jeroen@xs4all.nl>
* configure.in: Add pango pkg-config check.
* pango/Layout.custom: Updated custom code to new opaque LayoutLine.
* pango/LayoutLine.custom: Properties for LayoutLine struct fields.
* pango/Makefile.am:
* pango/Pango.metadata: Make LayoutLine opaque [Fixes #59666].
* pango/glue/.cvsignore:
* pango/glue/Makefile.am:
* pango/glue/layoutline.c: glue for the LayoutLine struct fields.
* pango/glue/makefile.win32:
* pango/glue/win32dll.c:
2004-06-07 Todd Berman <tberman@sevenl.net>
* gtk/Widget.custom: expose some easy bool properties for checking
certain WidgetFlags. Make Allocation a settable property.
* gtk/glue/widget.c: bit of glue to make Allocation settable.
* gdk/Window.custom: expose UserData as a usable IntPtr property.
* gdk/Gdk.metadata: hide old GetUserData/SetUserData methods.
* doc/*: ran the updater.
2004-06-07 Jeroen Zwartepoorte <jeroen@xs4all.nl>
* gtk/Widget.custom: Add FocusLineWidth property.
* gtk/glue/widget.c: (gtksharp_gtk_widget_set_flags),
(gtksharp_gtk_widget_style_get_int): glue for getting an integer style
property.
2004-06-07 John Luke <jluke@cfl.rr.com>
* doc/Makefile.am: install the docs if monodoc is there
2004-06-07 Peter Williams <peter@newton.cx>
* configure.in (MONODOC_REQUIRED_VERSION): Fix missing 'test' in
shell if statement.
2004-06-07 Jeroen Zwartepoorte <jeroen@xs4all.nl>
* gtk/Widget.custom: Add the AddAccelerator method back which got
removed by accident during the last merge.
* sample/CustomNotebook.cs: New sample showing of a custom Notebook.
2004-06-07 Jeroen Zwartepoorte <jeroen@xs4all.nl>
* *: Merge with HEAD.
2004-06-04 Todd Berman <tberman@sevenl.net>
* glib/Object.cs: ConnectDefaultHandlers needs to look at public api
as well for virtual methods.
* gtk/CellRenderer.custom:
* gtk/Container.custom:
* gnome/CanvasItem.custom: Add DefaultSignalHandler to remove the need
for the static ctor.
2004-06-04 Todd Berman <tberman@sevenl.net>
* gnome/CanvasItem.custom: Changed from OnXXX vmethods to XXX vmethods
* gnome/CanvasProxy.cs: removed, unused code
* gnome/GtkSharp.BoundsHandler.cs: removed
* gnome/GtkSharp.DrawHandler.cs: removed
* gnome/GtkSharp.PointHandler.cs: removed
* gnome/GtkSharp.RenderHandler.cs: removed
* gnome/GtkSharp.UpdateHandler.cs: removed
* gnome/Makefile.am: updated to reflect removing of old files.
* gtk/CellRenderer.custom: Changed from OnXXX vmethods to XXX vmethods,
and added StartEditing vmethod
* gtk/Container.custom: Changed from OnForall to ForAll
* gtk/Gtk.metadata: hide CellRenderer.GetSize and StartEditing
* gtk/glue/cellrenderer.c: new glue for CellRenderer.StartEditing
override.
* sample/CustomCellRenderer.cs: updated signatures to reflect new
code.
2004-06-02 Vladimir Vukicevic <vladimir@pobox.com>
* gdk/Pixbuf.custom : Pixels prop isn't unsafe
2004-06-02 Mike Kestner <mkestner@ximian.com>
* generator/Field.cs : add field hiding, for manual impl.
* generator/StructBase.cs : support disable_new, for manual impl.
2004-06-01 Jeroen Zwartepoorte <jerone@xs4all.nl>
* sample/CustomWidget.cs: remove custom GType stuff.
2004-06-01 Mike Kestner <mkestner@ximian.com>
* generator/ObjectGen.cs : generate protected ctor () for all
GLib.Objects that don't have any ctors.
* gtk/CellRenderer.custom : remove ctor ().
* gtkhtml/Gtk.metadata : add a disable_void_ctor rule for HTML.
2004-06-01 Jeroen Zwartepoorte <jeroen@xs4all.nl>
* configure.in: Merge with HEAD again.
* gdk/Gdk.metadata:
* gnome/CanvasItem.custom:
* gtk/Gtk.metadata:
* sample/.cvsignore:
* sample/CustomWidget.cs: Inherit from Gtk.Bin and make it a better
suited sample.
2004-06-01 Mike Kestner <mkestner@ximian.com>
* gtk/Gtk.metadata : mark SizeRequest requisition as out, not ref.
[Fixes #59388]
2004-06-01 Jeroen Zwartepoorte <jeroen@xs4all.nl>
* sample/CustomWidget.cs: Fixed Widget.SizeRequest usage. Works properly
now.
2004-05-31 Mike Kestner <mkestner@ximian.com>
* configure.in : Bump version to 0.93 and tag.
2004-05-31 Jeroen Zwartepoorte <jeroen@xs4all.nl>
* gtk/Gtk.metadata: unhide WidgetFlags.
* gtk/Widget.custom: add setter for GdkWindow prop. Add Flags prop.
* gtk/glue/widget.custom: setter for window, accessors for flags.
[Fixes #59337]
2004-05-31 Jeroen Zwartepoorte <jeroen@xs4all.nl>
* gdk/Gdk.metadata: fix member names in WindowClass.
[Fixes #59336]
2004-05-31 Jeroen Zwartepoorte <jeroen@xs4all.nl>
* gdk/Gdk.metadata: mark dest rects as out for Intersect and Union.
[Fixes #59341]
2004-05-31 Jeroen Zwartepoorte <jeroen@xs4all.nl>
* gtk/Gtk.metadata: Unhide the GtkWidgetFlags enum.
* gtk/Makefile.am: Remove WidgetFlags.cs.
* gtk/WidgetFlags.cs: Obsolete.
2004-05-31 Jeroen Zwartepoorte <jeroen@xs4all.nl>
* sample/CustomWidget.cs: The Gtk.Requisition is passed by reference in
the OnSizeRequested handler.
2004-05-31 Jeroen Zwartepoorte <jeroen@xs4all.nl>
* *: Merge changes from HEAD again.
2004-05-31 Jeroen Zwartepoorte <jeroen@xs4all.nl>
* gtk/Container.custom: Merged fix for Container.Forall handler.
* gtk/Makefile.am: Added WidgetFlags.cs.
* gtk/Widget.custom: Added Flags property and setter to GdkWindow.
* gtk/WidgetFlags.cs: Enumeration of widget flags (from widget.h).
* gtk/glue/container.c: (gtksharp_container_invoke_gtk_callback): Fixes
for Container.Forall handler.
* gtk/glue/widget.c: (gtksharp_gtk_widget_set_window),
(gtksharp_gtk_widget_get_state), (gtksharp_gtk_widget_get_flags),
(gtksharp_gtk_widget_set_flags): Added new API which is needed to write
custom gtk widgets.
* parser/gapi_pp.pl: Match #if !defined (*_DISABLE_DEPRECATED) properly.
* sample/CustomWidget.cs: new sample for creating a custom Gtk widget.
* sample/Makefile.am: Added CustomWidget.cs sample.
2004-05-29 Mike Kestner <mkestner@ximian.com>
* gnome/CanvasItem.custom : for OnUpdate, Art.SVP can be NULL
so treat it as an IntPtr with Zero checks and manual marshaling.
2004-05-28 Vladimir Vukicevic <vladimir@pobox.com>
* gtk/CellRenderer.custom: fix GetSize_cb, cell_area can be NULL
coming from Gtk (so can't use ref Gdk.Rectangle, have to use
IntPtr)
2004-05-28 Miguel de Icaza <miguel@ximian.com>
* Added System.Drawing samples.
2004-05-28 Mike Kestner <mkestner@ximian.com>
* configure.in : bump for next version, tagged 0.92.
2004-05-28 Vladimir Vukicevic <vladimir@pobox.com
* gtk/Gtk.metadata : s/out/ref on TreeModel.NextIter.
2004-05-28 Mike Kestner <mkestner@ximian.com>
* generator/ObjectGen.cs : adjust to ObjectManager ns change.
* glib/ManagedValue.cs : move to GLib and internalize.
* glib/Object.cs : adjust to ObjectManager ns change.
* glib/ObjectManager.cs : move to GLib.
* glib/TypeConverter.cs : move to GLib. return ManagedValue.GType
when we can't match a type instead of GType.None.
* gtk/*.custom: adjust for new TypeConverter ns and behavior.
2004-05-28 Mike Kestner <mkestner@ximian.com>
* gtk/Makefile.am : add new custom.
* gtk/Settings.custom: add props for unparsed API.
2004-05-27 Mike Kestner <mkestner@ximian.com>
* glib/Object.cs: mark GType property public.
2004-05-27 Jeroen Zwartepoorte <jeroen@xs4all.nl>
* gtk/Gtk.metadata: Hide the GtkCtree class (old gtk+ 1.x junk).
2004-05-26 Mike Kestner <mkestner@ximian.com>
* gtkhtml/Gtk.metadata : hide Gtk.HTML the ctors.
* gtkhtml/HTML.custom : new manual impl for ctors.
* gtkhtml/Makefile.am : add new custom [Fixes #59148]
2004-05-25 Jeroen Zwartepoorte <jeroen@xs4all.nl>
* gnome/Gnome.metadata: Don't hide the GtkEntry and GnomeEntry
properties.
* gtk/Accel.custom: Add custom methods for backwards compatibility of
the gtk_accel_map_* methods. [Fixes #58954]
2004-05-25 Dan Winship <danw@ximian.com>
* gtk/Gtk.metadata : mark a ref param in SizeRequested
2004-05-25 Mike Kestner <mkestner@ximian.com>
* */Makefile.am : rm generated/* in generated-stamp target.
2004-05-25 Mike Kestner <mkestner@ximian.com>
* configure.in : don't expand the GAPI Makefile.
* parser/Makefile.am : remove SUBDIRS.
* parser/gapi2xml.pl : remove GAPI::Metadata usage.
* parser/GAPI/* : kill. long live gapi-fixup.
2004-05-25 Mike Kestner <mkestner@ximian.com>
* gtk/Container.custom : use glue to invoke the GtkCallback in
Forall.
* gtk/glue/container.c : add gtksharp_container_invoke_gtk_callback.
2004-05-23 Mike Kestner <mkestner@ximian.com>
* generator/SignalHandler.cs : put back the ObjectGen hack
for param wrapping. [Fixes #58876]
2004-05-23 Jeroen Zwartepoorte <jeroen@xs4all.nl>
* atk/atk-api.xml: Removed.
* gdk/gdk-api.xml: Idem.
* glade/glade-api.xml: Idem.
* gnome/IconTheme.cs: s/GLibSharp/GLib/
* gnome/gnome-api.xml: Removed.
* gtk/Adjustment.custom: Obsolete custom property code.
* gtk/glue/adjustment.c: (gtksharp_gtk_adjustment_set_bounds): Idem.
* gtk/gtk-api.xml: Removed.
* pango/pango-api.xml: Idem.
2004-05-23 Jeroen Zwartepoorte <jeroen@xs4all.nl>
Merge changes from HEAD since yesterday.
2004-05-22 Mike Kestner <mkestner@ximian.com>
* configure.in : require mono-0.91.99. Sorry, but we need to
require mono cvs until beta2 because of some recent breakage in
Gnome.Program custom code while reflecting against the runtime.
2004-05-22 Todd Berman <tberman@sevenl.net>
* gnome/Program.custom: Change the Mono.Runtime stuff to reflect
its new internal nature. This fixes MD, gnunit, and all gnome#
programs that were blowing up for no reason.
2004-05-23 Jeroen Zwartepoorte <jeroen@xs4all.nl>
* *: Merge changes from HEAD again.
2004-05-22 Radek Doulik <rodo@ximian.com>
* gtk/TreeView.custom(GetPathAtPos): change Gtk.TreeViewColumn
column parameter to out[put] as gtk_tree_view_get_path_at_pos
returns column address to column parameter
(GetPathAtPos): use GLib.Object.GetObject so that we don't create
new TreeViewColumn object duplicates
2004-05-19 Mike Kestner <mkestner@ximian.com>
* gtk/Container.custom : add CallbackInvoke and use it in OnForall.
2004-05-19 Mike Kestner <mkestner@ximian.com>
* generator/Makefile.am : add TimeTGen.cs
* generator/SymbolTable.cs : use new TimeTGen.
* generator/StringGen.cs : s/GLibSharp/GLib
* generator/TimeTGen.cs : generatable to marshal time_t.
* glib/time_t_CustomMarshaler.cs : kill
* glib/Makefile.am : remove time_t_CustomMarshaler.cs
* glib/Markup.cs : s/GLibSharp/GLib
* glib/Marshaller.cs : move to GLib namespace. Add methods to
marshal time_t to and from DateTime.
* glib/glue/time_t.c : kill
* glib/glue/Makefile.am : remove time_t.c
* glib/glue/makefile.win32 : remove time_t.o
* gnome/*.custom : use GLib.Marshaller instead of the time_t custom
marshaler.
* gtk/*.custom : s/GLibSharp/GLib
2004-05-18 Zoltan Varga <vargaz@freemail.hu>
* glib/time_t_CustomMarshaler.cs: Fix custom marshalling after runtime
changes.
2004-05-18 Vladimir Vukicevic <vladimir@pobox.com
* gnome/Print.custom: Cast .Pixels usage to a (byte *)
2004-05-17 Vladimir Vukicevic <vladimir@pobox.com>
* gdk/Pixbuf.custom: Changed Pixbuf.Pixels to return an IntPtr instead
of a byte * -- anyone who needs a byte * can do the cast in an unsafe
context already.
2004-05-18 Todd Berman <tberman@sevenl.net>
* samples/Scribble.cs: Im bored, you can erase, etc
2004-05-18 Mike Kestner <mkestner@ximian.com>
* glib/MissingIntPtrCtorException.cs : new exception to throw if
unable to access an IntPtr ctor on a GLib.Object subclass. We need
an IntPtr ctor to be able to wrap arbitrary object handles.
* glib/Object.cs : have NativeType call LookupGType.
* glib/ObjectManager.cs : throw the new exception in a try/catch.
2004-05-17 Mike Kestner <mkestner@ximian.com>
* generator/ObjectGen.cs : Generate a .cctor that calls the assembly's
ObjectManager.Initialize method if the class will need to be registered
with GLib.ObjectManager. Enhance the Initialize method to allow
multiple invocations.
2004-05-17 Mike Kestner <mkestner@ximian.com>
* generator/SignalHandler.cs : fix some broken/redundant generation in
the Object/Struct wrapping for sig params.
* glib/Object.cs : internalize/protect lots of API that shouldn't need
to be used by non-subclass/non-glib code. Return GType.Object as GType.
* glib/Value.cs : use internal GLib.Object.NativeType prop.
* sample/TestDnd.cs : use ToString instead of TypeName.
2004-05-14 Todd Berman <tberman@sevenl.net>
* glib/Object.cs: make static GLib.Object.LookupGType protected for now.
* gtk/CellRenderer.custom: code to allow for subclassing and
implementing a custom cell renderer.
* gtk/Makefile.am: add custom to build.
* gtk/glue/Makefile.am: add glue to build.
* gtk/glue/cellrenderer.c: glue code to override get_size and render
from cellrenderer.
* sample/CustomCellRenderer.cs: new sample to show how to implement a
custom cell renderer.
* sample/Makefile.am: add CustomCellRenderer sample.
2004-05-13 Todd Berman <tberman@sevenl.net>
* *.pc.in: add .dll to the end of the Libs: references, and convert
them to be absolute paths.
2004-05-11 Mike Kestner <mkestner@ximian.com>
* *.pc.in : add Requires so that dependent libs are pulled in too.
2004-05-11 Mike Kestner <mkestner@ximian.com>
* gconf/GConf/NotifyWrapper.cs : add some defensive null checking.
[fixes #57902]
2004-05-11 Mike Kestner <mkestner@ximian.com>
* gtk/SelectionData.custom : add a Set overload without length param.
2004-05-10 Mike Kestner <mkestner@ximian.com>
* gtk/Gtk.metadata : mark some Dialog API params as ResponseType
instead of int.
[fixes #58240]
2004-05-10 Mike Kestner <mkestner@ximian.com>
* glib/Value.cs : fix GBoxed GLib.Value setting.
[fixes #58229]
2004-05-10 Mike Kestner <mkestner@ximian.com>
* gtk/Gtk.metadata : change return-type on Global.EventsPending
to a bool to avoid compat problems in 2.4. Also rename to
GetEventsPending so that it's generated as a property.
[fixes #58292]
2004-05-10 Mike Kestner <mkestner@ximian.com>
* gtk/Gtk.metadata : hide some ctors and map some prop names.
* gtk/Makefile.am : add new customs.
* gtk/ItemFactory.custom : implement ctor for subclassing.
* gtk/Plug.custom : implement ctors for subclassing.
2004-05-09 Jeroen Zwartepoorte <jeroen@xs4all.nl>
* gdk/Gdk.metadata: Misc fixes for getting Muine to build & run.
* gtk/FileSelection.custom: Add this back.
* gtk/Gtk.metadata: Misc fixes for getting Muine to build & run.
2004-05-08 Jeroen Zwartepoorte <jeroen@xs4all.nl>
* gconf/GConf.PropertyEditors/Makefile.am: Reinclude the OptionMenu
property editor.
* gdk/Gdk.metadata:
* gdk/Pixbuf.custom: Add backwards compatible implementations of
GetFromDrawable, RenderPixmapAndMask and a couple of others which are
now static in gtk+ 2.4. These methods have the same API as the ones
generate for gtk+ 2.2.
* gdk/gdk-api.raw:
* generator/ClassBase.cs: Generate an [Obsolete] tag for deprecated
code.
* generator/ClassGen.cs: Idem.
* generator/Method.cs: Idem.
* generator/ObjectGen.cs: Idem.
* gnome/Gnome.metadata:
* gnome/IconData.cs:
* gnome/IconTheme.cs: GnomeIconTheme inherits directly from GtkIconTheme
in libgnomeui-2.6. This breaks the parser, so it won't generate the
proper code. This is a manual class implementation for backward
compatibility with gtk+ 2.2 version of gtk#.
* gnome/IconTheme.custom: Removed
* gnome/Makefile.am:
* gnome/gnome-api.raw:
* gtk/Gtk.metadata:
* gtk/IconTheme.custom: Added custom methods previously found in
../gnome/IconTheme.custom.
* gtk/gtk-api.raw:
* pango/pango-api.raw:
* parser/gapi2xml.pl: Check for "deprecated" prefixes and add a
deprecated attribute to the appropriate elements when found.
* parser/gapi_pp.pl: Prefix everything that's in a #ifndef
*_DISABLE_DEPRECATED block with "deprecated".
* sample/GtkDemo/DemoMain.cs: s/File/System.IO.File/ since there's now
also a Gtk.File class.
* sample/GtkDemo/DemoSizeGroup.cs: Use the original OptioMenu code.
* sample/GtkDemo/DemoTextView.cs: s/File/System.IO.File/.
* sample/Makefile.am:
* sources/gtk-sharp-sources.xml: Add a bunch of <exclude>s to the Gtk
namespace so it won't generate API for _really_ old deprecated widgets
like GtkCList, GtkCTree etc.
This commit adds support for deprecated widgets to gtk#. This is
necessary since some widgets have been deprecated from gtk+ 2.2->2.4,
but are still in use (any program that uses Gtk.OptionMenu, Gtk.Combo
and methods in Gtk.Toolbar to name a few). This is done in C# by using
the [Obsolete] metadata tag.
2004-05-07 Todd Berman <tberman@sevenl.net>
* gnome/Makefile.am: add DruidPageEdge.custom
* gnome/Gnome.metadata: hide DruidPageEdge ctors
* gnome/DruidPageEdge.custom: subclassable ctors.
2004-05-07 Todd Berman <tberman@sevenl.net>
* gnome/IconList.custom: subclassable ctor.
* gnome/Gnome.metadata: hide IconList ctor.
2004-05-07 Mike Kestner <mkestner@ximian.com>
* gnome/Canvas.custom : PixelsPerUnit prop.
* gnome/Gnome.metadata : hide Canvas.SetPixelsPerUnit.
* gnome/glue/Makefile.am : get_pixels_per_unit.
* gnome/glue/canvas.c : get_pixels_per_unit.
* gtk/Container.custom : OnForall virtual method impl.
* gtk/glue/Makefile.am : add container.c
* gtk/glue/container.c : virtual method glue for forall.
* gtk/glue/makefile.win32 : add container.o
2004-05-07 Todd Berman <tberman@sevenl.net>
* gnome/Gnome.metadata: map properties for with_flags DateEdit ctor,
and hide the DateTime, bool, bool ctor
* gnome/Makefile.am: Add DateEdit.custom.
* gnome/DateEdit.custom: Add subclassable ctor for DateEdit and
add enough overloads that accept variable parameter lists to make
Mike Kestner sick.
2004-05-07 Todd Berman <tberman@sevenl.net>
* gnome/Gnome.metadata: Hide App ctor.
* gnome/Makefile.am: add App.custom.
* gnome/App.custom: New custom for subclassing.
2004-05-07 Todd Berman <tberman@sevenl.net>
* gnome/Gnome.metadata: Hide Scores ctor.
* gnome/Makefile.am: add Scores.custom.
* gnome/Scores.custom: New custom for overridable ctor.
2004-05-07 Mike Kestner <mkestner@ximian.com>
* gtk/Gtk.metadata : map some RadioButton ctor props.
2004-05-07 Mike Kestner <mkestner@ximian.com>
* gnome/Druid.custom : fix Todd's broken code.
2004-05-07 Mike Kestner <mkestner@ximian.com>
* gtk/Gtk.metadata : hide TextView with_buffer ctor. map some parms
to props.
* gtk/Makefile.am : add new custom.
* gtk/TextView.custom : implement with_buffer ctor for subclassing.
2004-05-07 Todd Berman <tberman@sevenl.net>
* gnome/Gnome.metadata: Hide Druid with_window ctor, map About property.
add some null_ok from bug #57948.
* gnome/Druid.custom: implement with_window ctor for subclassing, and
a 3 paramatered version for when you dont care about the returned
window. another 3 parametered version for when you have want null
parent, and a 2 parametered version for the null parent and the
discarding of the window (THANKS MIKE!)
* gnome/Makefile.am: add new custom.
2004-05-07 Mike Kestner <mkestner@ximian.com>
* gtk/TreeView.custom : make the NodeStore ctor subclassable.
2004-05-07 Mike Kestner <mkestner@ximian.com>
* gtk/Gtk.metadata : hide SpinButton with_range ctor.
* gtk/Makefile.am : add new custom.
* gtk/SpinButton.custom : implement with_range ctor for subclassing.
2004-05-07 Mike Kestner <mkestner@ximian.com>
* gtk/Gtk.metadata : hide ListStore and TreeStore newv ctors.
* gtk/ListStore.custom : rework the ctors for subclassing.
* gtk/TreeStore.custom : rework the ctors for subclassing.
2004-05-07 Mike Kestner <mkestner@ximian.com>
* gtk/Gtk.metadata : hide HScale and VScale with_range ctors.
* gtk/Makefile.am : add new customs.
* gtk/HScale.custom : implement with_range ctor for subclassing.
* gtk/VScale.custom : implement with_range ctor for subclassing.
2004-05-07 Mike Kestner <mkestner@ximian.com>
* gtk/Gtk.metadata : map AccelLabel ctor parm to prop and hide
Adjustment ctor.
* gtk/Adjustment.custom : add set accessors for Upper/Lower and
implement ctor with subclassing.
* gtk/CheckMenuItem.custom : return from subclass branch.
* gtk/ImageMenuItem.custom : return from subclass branch.
* gtk/MenuItem.custom : return from subclass branch.
* gtk/RadioMenuItem.custom : return from subclass branch.
* gtk/glue/adjustment.c : add setters for lower/upper.
2004-05-07 Mike Kestner <mkestner@ximian.com>
* gtk/Gtk.metadata : hide some *MenuItem ctors.
* gtk/CheckMenuItem.custom : implement string ctor.
* gtk/ImageMenuItem.custom : implement string ctor.
* gtk/MenuItem.custom : use AccelLabel.
* gtk/RadioMenuItem.custom : fix string ctor for subclassing.
* gtk/Makefile.am : add new customs.
2004-05-07 Mike Kestner <mkestner@ximian.com>
* gtk/Gtk.metadata : hide some MenuItem ctors.
* gtk/Makefile.am : add the new custom.
* gtk/MenuItem.custom : implement the string ctor.
2004-05-07 Mike Kestner <mkestner@ximian.com>
* sample/GnomeHelloWorld.cs : guard against null args.Event in the
icon_selected_cb, which occurs on button-presses for some reason.
Thanks to wmealing on irc for the bug report.
2004-05-07 Mike Kestner <mkestner@ximian.com>
* sample/*/Makefile.am : rebuild if the assemblies change
2004-05-07 Mike Kestner <mkestner@ximian.com>
[Derived from a patch by Ben Maurer]
* generator/Ctor.cs : generate code to detect subclassing and handle
GType registration and native object creation properly.
* generator/Parameters.cs : add PropertyName accessor for param attr.
* generator/Property.cs : use a new GLib.Value ctor.
* glib/ObjectManager.cs : redo hash access.
* glib/Object.cs : CreateNativeObject method to invoke g_object_newv
and some refactoring of RegisterGType and LookupGType.
* glib/Value.cs : make gtype field an IntPtr.
* glib/glue/object.c : glue for g_object_newv use.
* glib/glue/value.c : new glue for value creation.
* gtk/Dialog.custom : fix a ctor declaration for auto-reg.
* gtk/Gtk.metadata : mark a couple property_name attrs as examples.
* sample/Subclass.cs : use auto-GType-registration now.
2004-05-06 Mike Kestner <mkestner@ximian.com>
* gdk/Gdk.metadata : some out and array magic for Property.Get.
[Fixes #56513]
2004-05-06 Jeroen Zwartepoorte <jeroen@xs4all.nl>
* generator/Method.cs: Don't use the "unsafe" modifier for methods which
are part of an interface [fixes #58059].
2004-05-06 Mike Kestner <mkestner@ximian.com>
* configure.in : bump version for cvs.
2004-05-06 Jeroen Zwartepoorte <jeroen@xs4all.nl>
* Makefile.in:
* configure.in:
* gconf/GConf.PropertyEditors/Makefile.in:
* glade/Makefile.in:
* gnomevfs/.cvsignore:
* gnomevfs/AssemblyInfo.cs.in:
* gnomevfs/Makefile.am:
* gnomevfs/Makefile.in:
* gnomevfs/gnome-vfs-sharp.dll.config.in:
* gnomevfs/gnome-vfs-sharp.pc.in:
* sample/Actions.cs: Remove System.Drawing.Size usage.
* sample/Makefile.am: Added actions.exe.
* sample/Makefile.in:
Remove obsolete Makefile.in files from the repository. Auto*ify the
gnomevfs assembly.
2004-05-06 Jeroen Zwartepoorte <jeroen@xs4all.nl>
Merge changes from HEAD to the jeroen-gtk-2-4 branch. The correct
gnome 2.6.0 & gtk+-2.4.1 sources are now also downloaded when you run
"make get-source-code". Some samples are disabled for now since they
use deprecated API and fail to build.
2004-05-05 Mike Kestner <mkestner@ximian.com>
* generator/BoxedGen.cs : remove g_value_init DllImport and change
(g|s)et_boxed to use a glue method to simplify dllmapping.
* glib/Value.cs : add Init method.
* glib/glue/value.cs : add get/set_boxed glue methods.
* */*.config.in : remove libgobject mappings for dlls that no longer
need them.
2004-05-05 Larry Ewing <lewing@ximian.com>
* gtk/Adjustment.custom: add an a set method for StepIncrement.
* gtk/glue/adjustment.c: add gtk_adjustment_set_step_increment.
2004-05-05 Mike Kestner <mkestner@ximian.com>
* generator/Signal.cs : rmv Handle param to SignalCallback ctor calls.
s/GtkSharp.Signal*/GLib.Signal*.
* generator/SignalHandler.cs : rmv Handle param to ctors as it's
redundant. s/GtkSharp.Signal*/GLib.Signal*. Use new Connect/Disconnect
instead of generating DllImports into libgobject directly.
* glib/SignalArgs.cs : move the the GLib namespace.
* glib/SignalCallback.cs : expose Connect and Disconnect methods to
hide some pinvokes that were previously generated. Also move to the
GLib namespace.
gnome/*Handler.cs : update to new SignalHandler API.
gnome/CanvasProxy.cs : ditto
gnome/void*Signal.cs : ditto
2004-05-05 Mike Kestner <mkestner@ximian.com>
* sample/gconf/Makefile.am : fix some whitespace. I love you, auto*.
2004-05-05 Mike Kestner <mkestner@ximian.com>
* configure.in : fix gtkhtml versioning *again*.
* sample/gconf/Makefile.am : conditional build on ENABLE_GNOME.
2004-05-04 Mike Kestner <mkestner@ximian.com>
* configure.in : require gtkhtml-3.0.10 so we can use a single
so version (.4).
* sources/* : update to gtkhtml-3.0.10. This produces zero change
in the generated API.
2004-05-03 Todd Berman <tberman@sevenl.net>
* */*.pc.in: change to use @PACKAGE@ where its needed, fixes pc bug
2004-05-03 Todd Berman <tberman@sevenl.net>
* configure.in: bump mono dep to 0.90
2004-05-03 Todd Berman <tberman@sevenl.net>
* configure.in: bump to 0.91, dont kill me mike.
2004-05-03 Todd Berman <tberman@sevenl.net>
* gtk-sharp.pc.in: add PACKAGE stuff here
2004-05-03 Mike Kestner <mkestner@ximian.com>
* */Makefile.am : fix gacutil for new package switch
* */*.pc.in : fix -libs var for new dll path
2004-05-03 Mike Kestner <mkestner@ximian.com>
* configure.in : add some checks for gtkhtml-3.1 and use it if avail.
* gtkhtml/gtkhtml-sharp.dll.config.in : deal with 3.1 versioning.
2004-05-03 Miguel de Icaza <miguel@ximian.com>
* gtkhtml/Gtk.metadata: Patch from Mike Kestner: make
GtkHTMLStream opaque, to fix a bug that was found by running
Monodoc on MacOS X. We were passing a pointer to a managed
object, instead of a pointer to a HTMLStream-allocated object.
* HTMLStream.custom: Update custom file to reflect change to
Opaque: use Handle instead of this.
2004-04-30 Mike Kestner <mkestner@ximian.com>
* gdk/glue/makefile.win32 : remove windowmanager.o for now. It
was breaking the build on win32.
2004-04-30 Mike Kestner <mkestner@ximian.com>
* configure.in : lookup gacutil and error out if not found.
* */Makefile.am : add install-data-local and uninstall-local targets
for GAC installation. Add gtk-sharp.pub target to cp the key in for
distcheck.
* */AssemblyInfo.cs.in : remove ../ from key path for VPATH build.
2004-04-30 Mike Kestner <mkestner@ximian.com>
* configure.in : remove BASE_DEPENDENCIES LIBS and CFLAGS and
expose more specific versions for glue building.
* */glue/Makefile.am : use more specific versions of LIBS and CFLAGS
to reduce the ldd footprint.
2004-04-30 Mike Kestner <mkestner@ximian.com>
* configure.in : AC_SUBST an API_VERSION=1.0.0.0 for the
AssemblyVersionAttributes.
* */AssemblyInfo.cs.in : s/@VERSION@/@API_VERSION@/
2004-04-30 Mike Kestner <mkestner@ximian.com>
* */AssemblyInfo.cs.in : s/@VERSION@.0.0/@VERSION@/
2004-04-30 Mike Kestner <mkestner@ximian.com>
* sample/gconf/* : break System.Drawing dependency.
2004-04-30 Owen Fraser-Green <owen@discobabe.net>
* gconf/tools/gconfsharp-schemagen.in : fixed variables
* sources/Makefile.am : remove reference to old gst target
2004-04-30 Erik Dasque <edasque@ximian.com>
* gtk/Calendar.custom : new Date property with setter
2004-04-29 Mike Kestner <mkestner@ximian.com>
* mapdllnames.pl : remove unneccessary script
2004-04-29 Mike Kestner <mkestner@ximian.com>
* gst/* : kill. it's been spun out the the gst-sharp module.
* sources/Makefile.am : remove gst source download target.
* sources/gtk-sharp-sources.xml : remove gst nodes.
2004-04-29 Mike Kestner <mkestner@ximian.com>
* configure.in : expand the AssemblyInfo.cs files.
* */AssemblyInfo.cs.in : new assembly info files.
* */Makefile.am : dist, make, and clean assmbly info files.
2004-04-29 Owen Fraser-Green <owen@discobabe.net>
* generator/ClassBase.cs: added base case to Parent to avoid
infinite recursion.
* glib/Marshaller.cs: changed SizeOf(typeof's to int and long
instead of string.
2004-04-29 Duncan Mak <duncan@ximian.com>
* vte/vte-sharp.dll.config.in: Removed extra </configuration>
element.
2004-04-29 Owen Fraser-Green <owen@discobabe.net>
* gnome/CanvasGroup.custom : added public constructor.
2004-04-29 Mike Kestner <mkestner@ximian.com>
* configure.in : expand the new config files.
* */*config.in : the per-assembly config files.
* */Makefile.am : dist, clean, and install the configs.
* gnome/*.c* : fix some errant DllImports.
2004-04-28 Mike Kestner <mkestner@ximian.com>
[Expanded from patch by John Luke attached to bug.]
* gdk/Gdk.metadata : rename Atom.Name to GetName so it props.
* gdk/Atom.custom : new string cast operator.
* sample/TestDnd.cs : fix Atom.Name reference
* sample/GtkDemo/DemoEditableCell.cs : fix a ListStore.Remove
ref broken by last commit.
[Fixes #57721]
2004-04-28 Mike Kestner <mkestner@ximian.com>
* gtk/Gtk.metadata : mark ListStore.Remove iter pass_as=ref.
[Fixes #56945]
2004-04-28 Mike Kestner <mkestner@ximian.com>
* Makefile.am : dist the public signing key baulig just added.
2004-04-27 Mike Kestner <mkestner@ximian.com>
* gnome/glue/canvaspoints.c : remove some g_prints spotted by
Jorge Garcia.
2004-04-16 Rachel Hestilow <rachel@nullenvoid.com>
* generator/GObjectGen.cs: Added new generatable to handle
plain GObjects the same way we do subclasses.
* generator/ManualGen.cs: Make FromNative/FromNativeReturn virtual
to allow overriding.
* generator/SymbolTable.cs: Use GObjectGen instead of
ManualGen for GObject.
* generator/Makefile.am: Add GObjectGen.cs.
2004-04-16 Boyd Timothy <btimothy@novell.com>
* gdk/Global.custom : properties to expose window manager spec
properties.
* gdk/glue/windowmanager.c : glue to retrieve window manager props
using gdk_property_get.
* gdk/glue/Makefile.am : add new file.
* gdk/glue/makefile.win32 : add new file.
2004-04-13 Mike Kestner <mkestner@ximian.com>
* glib/Value.cs : fix a csc-breaker.
2004-04-12 Mike Kestner <mkestner@ximian.com>
* gnome/Program.custom : add ArgumentException for app_id containing
spaces. [fixes #56594]
2004-04-12 Mike Kestner <mkestner@ximian.com>
[Rework of a patch from Ben Maurer to turn GLib.Value
into a valuetype.]
* generator/BoxedGen.cs : fix operators for new valuetype GValues.
* generator/ByRefGen.cs : new generatable for byref value types.
* generator/Makefile.am : add ByRefGen.cs.
* generator/MethodBody.cs : remove GValue special casing.
* generator/Property.cs : rework value handling.
* generator/Signal.cs : fix base virtual method value passing.
* generator/SymbolTable.cs : map GValue to ByRefGen.
* glib/Object.cs : rework GetProperty and SetProperty.
* glib/Value.cs : make it a value type.
* glib/ValueArray.cs : fix GValue passing.
* glib/glue/value.c : rework for valuetype GValues.
* gnome/Program.custom : fix GValue passing
* gtk/Gtk.metadata : make TreeModel.GetValue value param pass_as=ref.
* gtk/ListStore.custom : fix GValue passing
* gtk/NodeStore.cs : fix GValue passing
* gtk/TextTag.custom : fix GValue passing
* gtk/TreeModelSort.custom : fix GValue passing
* gtk/TreeStore.custom : fix GValue passing
2004-04-05 Larry Ewing <lewing@ximian.com>
* gnome/Gnome.metadata: Make data an array type so that the image
functions can be used.
* gnome/Print.custom: add a custom handler to print Pixbufs.
* gnome/Makefile.am: add Print.custom.
2004-04-07 Mike Kestner <mkestner@ximian.com>
* generator/ClassBase.cs : remove default ctor generation and
hasDefaultConstructor field.
* generator/Ctor.cs : chain to base (IntPtr.Zero).
* generator/StructBase.cs : remove hasDefaultConstructor usage.
* glib/Object.cs : remove Object () ctor. Add Ben's GetGType
method, although nothing uses it yet. Still working on integrating
the remainder of Ben's patch.
* gtk/Gtk.metadata : remove all the disabledefaultctor rules.
* */*.custom : add base (IntPtr.Zero) or this (...) chaining for
all ctors.
2004-04-07 John Luke <jluke@cfl.rr.com>
* gtk/Gtk.metadata: mark Gtk.Widget.ModifyFont font_desc null_ok
2004-04-07 Gonzalo Paniagua Javier <gonzalo@ximian.com>
* glib/Value.cs: added StructLayout attribute as requested by the
runtime. Now --aot works again.
2004-04-04 Mike Kestner <mkestner@ximian.com>
* generator/SymbolTable.cs : don't use StringGen for gunichar.
* glib/glue/unichar.c : glue to fetch a gunichar as a utf8 string.
* glib/glue/Makefile.am : add unichar.c
* glib/glue/makefile.win32 : add unichar.c
* gtk/Gtk.metadata : hide TextIter.GetChar
* gtk/TextIter.custom : manually impl Char prop. [fixes #53425]
2004-04-04 Mike Kestner <mkestner@ximian.com>
* pango/Layout.custom : increment an indexer. thanks to Moritz Balz
for the bug report and candidate patch.
2004-04-04 Mike Kestner <mkestner@ximian.com>
* generator/BoxedGen.cs : DllImport glibsharpglue for value_create.
2004-04-04 Mike Kestner <mkestner@ximian.com>
* gnome/glue/canvasitem.c : add glue to override VMs.
* gnome/CanvasItem.cs : expose virtual methods for update, point,
realize, draw, and render.
2004-04-04 John Luke <jluke@cfl.rr.com>
* vte/Vte.metadata: mark argv and envv parameters to
Vte.Terminal.ForkCommand as arrays, it finally works
* sample/Vte-test.cs: adjust for above
2004-04-02 Todd Berman <tberman@sevenl.net>
* gtk/Gtk.metadata: fix Gtk.SelectionData.Set.
2004-04-02 Todd Berman <tberman@sevenl.net>
* configure.in: added new .pc files
* gtk-sharp.pc.in: modified to include Libs: line
* art/.cvsignore: added art-sharp.pc
* art/Makefile.am: added rules for installing .pc
* art/art-sharp.pc.in: new .pc file
* gconf/GConf/.cvsignore: added gconf-sharp.pc
* gconf/GConf/Makefile.am: added rules for installing .pc
* gconf/GConf/gconf-sharp.pc.in: new .pc file
* gda/.cvsignore: added gda-sharp.pc
* gda/Makefile.am: added rules for installing .pc
* gda/gda-sharp.pc.in: new .pc file
* glade/.cvsignore: added glade-sharp.pc
* glade/Makefile.am: added rules for installing .pc
* glade/glade-sharp.pc.in: new .pc file
* gnome/.cvsignore: added gnome-sharp.pc
* gnome/Makefile.am: added rules for installing .pc
* gnome/gnome-sharp.pc.in: new .pc file
* gnomedb/.cvsignore: added gnomedb-sharp.pc
* gnomedb/Makefile.am: added rules for installing .pc
* gnomedb/gnomedb-sharp.pc.in: new .pc file
* gtkhtml/.cvsignore: added gtkhtml-sharp.pc
* gtkhtml/Makefile.am: added rules for installing .pc
* gtkhtml/gtkhtml-sharp.pc.in: new .pc file
* rsvg/.cvsignore: added rsvg-sharp.pc
* rsvg/Makefile.am: added rules for installing .pc
* rsvg/rsvg-sharp.pc.in: new .pc file
* vte/.cvsignore: added vte-sharp.pc
* vte/Makefile.am: added rules for installing .pc
* vte/vte-sharp.pc.in: new .pc file
2004-04-01 Mike Kestner <mkestner@ximian.com>
* art/Art.metadata : mark dst pass_as=out on Affine.Point
2004-04-01 Jorn Baayen <jorn@nl.linux.org>
* gtk/Style.custom : wrappers for Text[] and Base[]
* gtk/glue/style.c : glue to access text[] and base[]
[fixes #54805]
2004-04-01 Jeroen Zwartepoorte <jeroen@xs4all.nl>
* gnome/IconTheme.custom : GetSearchPath impl [fixes #51599].
2004-04-01 Joshua Tauberer <tauberer@for.net>
* gdk/Gdk.metadata : hide Region.GetRectangles
* gdk/Region.custom : implement Rectangles prop [fixes #55811]
2004-04-01 Mike Kestner <mkestner@ximian.com>
* glib/Value.cs : NULL check for g_value_get_string Thanks to Jeroen
Zwartepoorte for the bug report with patch [fixes #54979].
2004-03-31 Miguel de Icaza <miguel@ximian.com>
* configure.in: If monodoc is not found, then turn off
enable_monodoc, so the value is properly propagated.
2004-03-31 Mike Kestner <mkestner@ximian.com>
* configure.in : tagged for 0.18 and bumped release to 0.18.99
for cvs.
2004-03-31 Mike Kestner <mkestner@ximian.com>
* configure.in : remove atk/glue/Makefile
* atk/Makefile.am : comment out subdirs for now
* atk/makefile.win32 : don't build glue
* */glue/Makefile.am : remove generated.c from sources
* */glue/makefile.win32 : remove generated.c from sources
* generator/ObjectGen.cs : disable vm glue generation for now.
2004-03-30 John Luke <jluke@cfl.rr.com>
[Reworked a bit by MK]
* Makefile.am : add doc dir
* configure.in : test for monodoc, expand doc/Makefile
* doc/Makefile.am : build and dist docs
* doc/makefile : kill
2004-03-30 Mike Kestner <mkestner@ximian.com>
* gtk/Makefile.am : add the customs that miggie didn't add.
2004-03-30 Mike Kestner <mkestner@ximian.com>
* rsvg/Makefile.am : apply metadata to api
* rsvg/Rsvg.metadata : mark an array param
2004-03-29 Todd Berman <tberman@sevenl.net>
* sample/Makefile.am: small resource build fix for glade-test.exe
2004-03-27 Jeroen Zwartepoorte <jeroen@xs4all.nl>
* gnomevfs/Mime.cs:
* gnomevfs/MimeActionType.cs:
* gnomevfs/Vfs.cs:
Implemented more gnome-vfs methods.
2004-03-25 Mike Kestner <mkestner@ximian.com>
* gtk/Gtk.metadata : Widget.Events is a Gdk.EventMask, not int
* sample/GtkDemo/DemoDrawingArea.cs : remove int casts
* sample/Scribble.cs : remove int casts
2003-03-24 John Luke <jluke@cfl.rr.com>
* samples/gconf/Makefile.am:
changes SOURCES to FILES to make automake 1.8 happy
2003-03-24 Jorn Baayen <jorn@nl.linux.org>
* gtk/Gtk.metadata : mark null_ok param on Window.SetTransientFor.
2003-03-24 Jorn Baayen <jorn@nl.linux.org>
* gdk/Gdk.metadata : mark out param on Screen.GetMonitorGeometry.
2004-03-22 Mike Kestner <mkestner@ximian.com>
* gtk/Window.custom : bring back the DefaultSize prop as a
Gdk.Size.
2004-03-21 Gonzalo Paniagua Javier <gonzalo@ximian.com>
* configure.in: if no C# compiler found, error out.
2004-03-18 Mike Kestner <mkestner@ximian.com>
* gdk/Makefile.am : generate glue
* gdk/glue/Makefile.am : build generated glue
* gdk/glue/makefile.win32 : build generated glue
* gdk/glue/vmglueheaders.h : includes for vm glue
* gtk/Makefile.am : generate glue
* gtk/glue/Makefile.am : build generated glue
* gtk/glue/makefile.win32 : build generated glue
* gtk/glue/vmglueheaders.h : includes for vm glue
2004-03-18 Mike Kestner <mkestner@ximian.com>
* configure.in : expand atk/glue/Makefile
* atk/Makefile.am : generate glue and build glue dir
* atk/makefile.win32 : ditto
* atk/glue/Makefile.am : build new glue
* atk/glue/makefile.win32 : build new glue
* atk/glue/vmglueheaders.h : new includes for vm glue
* atk/glue/win32dll.c : win dll building code
* generator/CodeGenerator.cs : add --gluelib-name and
--glue-filename argument parsing.
* generator/GenerationInfo.cs : add GluelibName, GlueFilename,
GlueEnabled, GlueWriter, and CloseGlueWriter.
* generator/ObjectGen.cs : Add VirtualMethod glue generation
* generator/Statistics.cs : Add warning message for virtual
method throttling.
2004-03-18 Mike Kestner <mkestner@ximian.com>
* parser/gapi2xml.pl : fix passbyvalue bug in vm parsing.
* */*.raw : regen
2004-03-17 Mike Kestner <mkestner@ximian.com>
* sample/rsvg/Makefile.am : make conditional on ENABLE_RSVG
2004-03-16 Mike Kestner <mkestner@ximian.com>
* generator/Signal.cs : streamline the remove code a tad.
2004-03-16 Mike Kestner <mkestner@ximian.com>
* gdk/Makefile.am : add new file.
* gdk/Size.cs : implementation of a Size value type.
2004-03-16 Mike Kestner <mkestner@ximian.com>
* generator/Signal.cs : remove a C.WL.
2004-03-16 Mike Kestner <mkestner@ximian.com>
* generator/ObjectGen.cs : don't gen a Signals hash per class.
* generator/Signal.cs : gen checks for [ConnectBefore].
* generator/SignalHandler.cs : add connect_flags param to ctor.
* glib/ConnectBeforeAttribute.cs : new attr
* glib/Makefile.am : add new file
* glib/Object.cs : add before/after hashes and EventLists
* gnome/CanvasProxy.cs : use AfterSignals and AfterHandlers.
2004-03-14 John Luke <jluke@cfl.rr.com>
* parser/gapi-fixup.in:
* generator/gapi-codegen.in: s/@MONO@/@RUNTIME@
2004-03-14 Jeroen Zwartepoorte <jeroen@xs4all.nl>
* Makefile.in:
* configure.in:
* gnomevfs/AsyncCallback.cs:
* gnomevfs/AsyncCallbackNative.cs:
* gnomevfs/AsyncReadCallback.cs:
* gnomevfs/AsyncReadCallbackNative.cs:
* gnomevfs/AsyncWriteCallback.cs:
* gnomevfs/AsyncWriteCallbackNative.cs:
* gnomevfs/Handle.cs:
* gnomevfs/Makefile.in:
* gnomevfs/OpenMode.cs:
* gnomevfs/Result.cs:
* gnomevfs/SeekPosition.cs:
* gnomevfs/Vfs.cs:
* sample/Makefile.in:
* sample/TestVfs.cs:
Added partial gnome-vfs bindings. Necessary now that can Gtk.FileChooser
return gnome-vfs uris.
2004-03-12 Mike Kestner <mkestner@ximian.com>
* */Makefile.am : automakify the build
* */Makefile.in : kill
* *.custom : remove System.Drawing dependencies
* *.cs : remove System.Drawing dependencies
* *-api.xml : mv to *-api.raw
* glue/* : mv to lib specific gluelibs for glib, gdk, gtk, and glade.
* gtk/gtk-symbols : alias GtkType to GType
* sources/gtk-sharp-sources.xml : create .raw files. They are now
transformed to .xml files by the metadata compilation step.
2004-03-08 Mike Kestner <mkestner@ximian.com>
* generator/ObjectGen.cs : ignore virtual_method elems for now.
* parser/gapi2xml.pl : parse the non-signal class methods and add as
virtual_method elements in the API xml
* */*-api.xml : regen
2004-03-06 Gonzalo Paniagua Javier <gonzalo@ximian.com>
* glue/Makefile.am:
* glue/makefile.win32:
* glue/thread-notify.c: dropped.
* gtk/ThreadNotify.cs: use just Idle.Add, which is what the deprecated
gda_input_add does. No more P/Invoke here.
2004-03-04 Gonzalo Paniagua Javier <gonzalo@ximian.com>
* glue/Makefile.am:
* glue/makefile.win32: added thread-notify.o
* glue/thread-notify.c: handles pipe creation/read/write/close for
ThreadNotify.
* gtk/ThreadNotify.cs: P/Invoke the thread-notify code instead of libc
functions.
2004-02-29 Jeroen Zwartepoorte <jeroen@xs4all.nl>
* gtk/FileChooserDialog.custom: Implement the
gtk_file_chooser_dialog_new constructor by hand.
2004-02-28 Jeroen Zwartepoorte <jeroen@xs4all.nl>
* gtk/Gtk.metadata: Rename some AddAction* methods to just Add*.
2004-02-28 Jeroen Zwartepoorte <jeroen@xs4all.nl>
* glib/Value.cs: Work around a GLib.Value having a null string (#54979).
* sample/Actions.cs: Updated.
* sample/Makefile.in: Added the action sample.
2004-02-28 Jeroen Zwartepoorte <jeroen@xs4all.nl>
* gdk/gdk-api.xml: Updated to latest CVS.
* gnome/gnome-api.xml: Idem.
* gtk/gtk-api.xml: Idem.
* pango/pango-api.xml: Idem.
* sample/Makefile.in: Don't build the gconf sample for now.
2004-02-28 Jeroen Zwartepoorte <jeroen@xs4all.nl>
* gnome/PrintContext.custom: Added gnome_print_context_* methods.
* gtk/gtk-api.xml: Hide GtkActionEntry C-specific struct and methods.
* sample/Actions.cs: Updated.
* sample/Makefile.in: Reinclude print sample.
* sample/PrintSample.cs: Updated.
* sample/TestDnd.cs: Updated.
2004-02-26 Mike Kestner <mkestner@ximian.com>
* configure.in : tagged 0.17 and bumped cvs version.
2004-02-26 Mike Kestner <mkestner@ximian.com>
* atk/Atk.metadata : hide some funky api
* atk/atk-api.xml : regen
2004-02-26 Mike Kestner <mkestner@ximian.com>
* gnome/GtkSharp.* : move to Gnome namespace
* gnome/CanvasProxy.cs : update event handler namespaces
* gnome/voidObject*.cs : internalize
2004-02-24 Mike Kestner <mkestner@ximian.com>
* pango/AttrIterator.custom : manually implement SList method.
* pango/GlyphItem.custom : manually implement SList method.
* pango/Layout.custom : manually implement SList method.
* pango/Pango.metadata : hide some SList methods.
* pango/pango-api.xml : regen.
2004-02-23 Mike Kestner <mkestner@ximian.com>
* pango/Pango.metadata : mark some out params on Layout.
* pango/pango-api.xml : regen
[fixes #54720]
2004-02-23 Thiago Milczarek Sayão <sayao@brturbo.com>
* gtk/TextBuffer.custom : add TextIter parm to InsertWithTags method.
2004-02-21 Mike Kestner <mkestner@ximian.com>
* pango/Pango.metadata : mark some out params on Layout.
* pango/pango-api.xml : regen
[fixes #54696]
2004-02-21 Mike Kestner <mkestner@ximian.com>
* pango/Pango.metadata : mark some out params on ParseMarkup.
* pango/pango-api.xml : regen
[fixes #54695]
2004-02-20 Mike Kestner <mkestner@ximian.com>
* gdk/Gdk.metadata : hide NoExpose, Client, Setting, WindowState,
and Proximity events.
* gdk/EventClient.cs : glue-based manual implementation.
* gdk/EventClient.custom : kill
* gdk/EventNoExpose.custom : kill
* gdk/EventProximity.cs : glue-based manual implementation.
* gdk/EventProximity.custom : kill
* gdk/EventSetting.cs : glue-based manual implementation.
* gdk/EventSetting.custom : kill
* gdk/EventWindowState.cs : glue-based manual implementation.
* gdk/EventWindowState.custom : kill
* gdk/gdk-api.xml : regen
* gdk/gdk-symbols.xml : manual mappings.
* glue/event.cs : expose event struct fields.
* gtk/Application.cs : simplify CurrentEvent prop.
2004-02-20 Mike Kestner <mkestner@ximian.com>
* gdk/Gdk.metadata : hide Property, Selection, and DND events
* gdk/EventDND.cs : glue-based manual implementation.
* gdk/EventDND.custom : kill
* gdk/EventProperty.cs : glue-based manual implementation.
* gdk/EventProperty.custom : kill
* gdk/EventSelection.cs : glue-based manual implementation.
* gdk/EventSelection.custom : kill
* gdk/gdk-api.xml : regen
* gdk/gdk-symbols.xml : manual mappings.
* glue/event.cs : expose DND, Property and Selection struct fields.
2004-02-19 Thiago Milczarek Sayão <sayao@brturbo.com>
* gtk/TextBuffer.custom : new InsertWithTags method.
2004-02-18 Mike Kestner <mkestner@ximian.com>
* gdk/Gdk.metadata : hide EventFocus and EventConfigure.
* gdk/EventConfigure.cs : glue-based manual implementation.
* gdk/EventConfigure.custom : kill
* gdk/EventFocus.cs : glue-based manual implementation.
* gdk/EventFocus.custom : kill
* gdk/gdk-api.xml : regen
* gdk/gdk-symbols.xml : manual mappings.
* glue/event.cs : expose Focus and Configure struct fields.
* sample/Scribble.cs : fix EventConfigure api breakage
2004-02-18 Mike Kestner <mkestner@ximian.com>
* gdk/Gdk.metadata : hide EventCrossing.
* gdk/EventCrossing.cs : glue-based manual implementation.
* gdk/EventCrossing.custom : kill
* gdk/gdk-api.xml : regen
* gdk/gdk-symbols.xml : manual mapping for EventCrossing.
* glue/event.cs : expose Crossing struct fields.
2004-02-18 Mike Kestner <mkestner@ximian.com>
* gdk/Gdk.metadata : hide EventVisibility.
* gdk/EventVisibility.cs : glue-based manual implementation.
* gdk/EventVisibility.custom : kill
* gdk/gdk-api.xml : regen
* gdk/gdk-symbols.xml : manual mapping for EventVisibility.
* glue/event.cs : expose Visibility struct fields.
2004-02-18 Mike Kestner <mkestner@ximian.com>
* gdk/Gdk.metadata : hide EventExpose. make Region opaque.
* gdk/EventExpose.cs : glue-based manual implementation.
* gdk/EventExpose.custom : kill
* gdk/gdk-api.xml : regen
* gdk/gdk-symbols.xml : manual mapping for EventExpose.
* glue/event.cs : expose Expose struct fields.
* sample/Scribble.cs : fix some EventExpose api breakage
2004-02-18 Mike Kestner <mkestner@ximian.com>
* gdk/Gdk.metadata : hide EventMotion
* gdk/EventMotion.cs : glue-based manual implementation.
* gdk/EventMotion.custom : kill
* gdk/gdk-api.xml : regen
* gdk/gdk-symbols.xml : manual mapping for EventMotion.
* glue/event.cs : expose Motion struct fields.
* sample/Scribble.cs : fix some EventMotion api breakage
2004-02-18 Mike Kestner <mkestner@ximian.com>
* gdk/Gdk.metadata : hide EventScroll
* gdk/EventScroll.cs : glue-based manual implementation.
* gdk/EventScroll.custom : kill
* gdk/gdk-api.xml : regen
* gdk/gdk-symbols.xml : manual mapping for EventScroll.
* glue/event.cs : expose Scroll struct fields.
2004-02-18 Mike Kestner <mkestner@ximian.com>
* gdk/Gdk.metadata : hide EventButton
* gdk/EventButton.cs : glue-based manual implementation.
* gdk/EventButton.custom : kill
* gdk/gdk-api.xml : regen
* gdk/gdk-symbols.xml : manual mapping for EventButton.
* glue/event.cs : expose Button struct fields.
* sample/CanvasExample.cs : fix EventButton ctor
* sample/GnomeHelloWorld.cs : fix EventButton ctor
2004-02-17 Radek Doulik <rodo@ximian.com>
* glib/Value.cs: use g_value_set_pointer for
GType.Pointer/IWrapper objects
* glib/TypeConverter.cs: return GType.Pointer for Opaque objects
which do not have GType property
2004-02-17 John Luke <jluke@cfl.rr.com>
* gdk/Gdk.metadata: set Gdk.Window.Cursor null_ok
* gdk/gdk-api.xml: regen
2004-02-17 Jorn Baayen <jorn@nl.linux.org>
* gtk/SelectionData.custom : fix get_data_pointer glue method name.
2004-02-16 Mike Kestner <mkestner@ximian.com>
* glib/TypeConverter.cs : check for GType prop on all types,
not just value types, before we fall back to managed values.
* glib/Value.cs : use handle to set_boxed for IWrappers.
2004-02-16 Mike Kestner <mkestner@ximian.com>
* gdk/EventKey.cs : add a Key prop to return casted KeyVals.
2004-02-16 Mike Kestner <mkestner@ximian.com>
* gdk/Gdk.metadata : hide EventKey
* gdk/EventKey.cs : glue-based manual implementation.
* gdk/gdk-api.xml : regen
* gdk/gdk-symbols.xml : manual mapping for EventKey.
* glue/event.cs : expose key struct fields.
2004-02-16 Mike Kestner <mkestner@ximian.com>
* gdk/Gdk.metadata : hide EventAny
* gdk/Event.cs : make this a full EventAny implementation.
* gdk/gdk-api.xml : regen
* gdk/gdk-symbols.xml : map EventAny to Gdk.Event.
* glue/event.cs : expose window and send_event fields.
2004-02-14 Todd Berman <tberman@sevenl.net>
* gtk/Gtk.metadata : hide Widget.SetState
* gtk/Widget.custom : add State get; set; property
* glue/widget.c : add glue for get_State ();
* gtk/gtk-api.xml : regen
2004-02-12 Mike Kestner <mkestner@ximian.com>
* sample/GladeViewer.cs : fix a broken api usage.
2004-02-12 Mike Kestner <mkestner@ximian.com>
* gnome/Gnome.metadata : hide the GList API
* gnome/*.custom : manually wrap GList api using typed arrays
* gnome/gnome-api.xml : regen.
2004-02-12 Mike Kestner <mkestner@ximian.com>
* glade/Glade.metadata : hide a GList method.
* glade/Makefile.in : run gapi-fixup
* glade/XML.custom : return Widget[] from GetWidgetPrefix.
* glade/glade-api.xml : regen
* pango/Pango.metadata : hide a dubious GList method.
* pango/pango-api.xml : regen
2004-02-12 Ben Maurer <bmaurer@users.sourceforge.net>
* gtk/TreeIter.custom: Make the hash here not collide.
2004-02-12 Mike Kestner <mkestner@ximian.com>
* gdk/Gdk.metadata : hide the GList API
* gdk/*.custom : manually wrap GList api using typed arrays
* gdk/gdk-api.xml : regen.
2004-02-12 Mike Kestner <mkestner@ximian.com>
* gtk/Accel.custom : s/List/SList
* gtk/Stock.custom : ditto
* gtk/TextIter.custom : ditto
2004-02-12 Zoltan Varga <vargaz@freemail.hu>
* glib/time_t_CustomMarshaler.cs: Update after custom marshaling
changes.
2004-02-12 Jeroen Zwartepoorte <jeroen@xs4all.nl>
* gtk/Gtk.metadata: Hide the various *ActionEntry classes since
they're only meant to be used in C code.
2004-02-11 Jeroen Zwartepoorte <jeroen@xs4all.nl>
* atk/atk-api.xml:
* gconf/GConf.PropertyEditors/Makefile.in:
* gdk/Gdk.metadata:
* gdk/gdk-api.xml:
* generator/CallbackGen.cs: Set a GError pointer to IntPtr.Zero.
* gnome/Gnome.metadata:
* gnome/gnome-api.xml:
* gtk/Adjustment.custom:
* gtk/FileSelection.custom: Deprecated, removed.
* gtk/FileSystemModel.custom:
* gtk/Gtk.metadata:
* gtk/IconTheme.custom: Custom SearchPath property (fixes #51599).
* gtk/Paned.custom: Deprecated, removed.
* gtk/TreeModelFilter.custom: New class in 2.4.
* gtk/gtk-api.xml:
* pango/pango-api.xml:
* sample/Actions.cs: Added new Action API sample.
* sample/Makefile.in: Don't build some samples for now.
Updated everything to use gtk 2.3/2.4. Some samples commented out
because they use deprecated/changed API. More work to follow.
2004-02-11 Mike Kestner <mkestner@ximian.com>
* gtk/Gtk.metadata : hide the GSList API
* gtk/*.custom : manually wrap GSList api using typed arrays
* gtk/gtk-api.xml : regen.
2004-02-11 Mike Kestner <mkestner@ximian.com>
* gtk/*.custom : don't use element_type ctor for GObject lists.
2004-02-11 Mike Kestner <mkestner@ximian.com>
* gtk/*.custom : return 0 length arrays, not null.
2004-02-10 Mike Kestner <mkestner@ximian.com>
* gconf/GConf.PropertyEditors/PropertyEditorColorPicker.cs :
nuke a GnomeSharp.
* generator/Signal.cs : move eventhandlers and args into the
base namespace instead of a *Sharp namespace.
* sample/*.cs : nuke using *Sharp.
2004-02-10 Mike Kestner <mkestner@ximian.com>
* art/Art.metadata : mark a field private
* art/art-api.xml : regen
* gda/Gda.metadata : mark a few structs opaque
* gda/gda-api.xml : regen
* gdk/*.custom : fix changed field names
* gdk/gdk-api.xml : regen
* generator/Field.cs : StudlyCase simple typed field names.
* gnome/Gnome.metadata : mark FontEntry.weight private to
avoid collision with Weight field. s|//|/api/namespace|g
* gnome/gnome-api.xml : regen
* gtk/Gtk.metadata : rename AccelKey.accel_key to key to
avoid collision with type name.
* gtk/*.custom : fix changed field names
* gtk/gtk-api.xml : regen
* pango/pango-api.xml : regen
* parser/gapi_pp.pl : add a private_regex to hide BACKEND
and ENGINE apis, which are by convention private.
* sample/* : make compile
* sample/GtkDemo/* : make compile
* sample/test/* : make compile
* sources/gtk-sharp-sources.xml : exclude a bunch of pango
source files.
2004-02-07 Mike Kestner <mkestner@ximian.com>
* configure.in : tagged 0.16 and bumped cvs version.
2004-02-07 Mike Kestner <mkestner@ximian.com>
* generator/ObjectGen.cs : oops, remove a couple C.WLs.
2004-02-07 Gustavo Giraldez <gustavo.giraldez@gmx.net>
* atk/Makefile.in : fix copy/paste error in --assembly-name.
* generator/ObjectGen.cs : rework ObjectManager generation code.
* glade/Makefile.in : fix copy/paste error in --assembly-name.
2004-02-06 Mike Kestner <mkestner@ximian.com>
* generator/Method.cs : for Opaque/Object retvals, if raw_ret is
NULL, return null instead of an object with a NULL handle.
2004-02-06 Mike Kestner <mkestner@ximian.com>
* glib/time_t_CustomMarshaler.cs : use TimeSpan.TotalSeconds, not
TimeSpan.Seconds.
2004-02-06 John Luke <jluke@cfl.rr.com>
* gtk/Gtk.metadata: hide unneeded RadioMenuItem ctors
* gtk/RadioMenuItem.custom: add ctor to create a new group
* gtk/gtk-api.xml: regen
2004-02-04 Mike Kestner <mkestner@ximian.com>
* generator/CustomMarshalerGen.cs : impl MarshalReturnType.
* generator/Method.cs : add CustomMarshalerGen return type handling.
* generator/Property.cs : rework property type selection.
* generator/SymbolTable.cs : add time_t mapping
* glib/time_t_CustomMarshaler.cs : impl native to managed methods.
* glue/time_t.c : remove debugging code.
2004-02-03 Mike Kestner <mkestner@ximian.com>
* glib/List.cs : add a ctor overload to create empty lists with
a specific element_type.
* glib/SList.cs : ditto
2004-02-03 Mike Kestner <mkestner@ximian.com>
* glib/Value.cs : remove double free of ManagedValues. Fixes the
unfiled (cough, tberman, cough) bug in managed types as tree
store values.
2004-02-03 Mike Kestner <mkestner@ximian.com>
* glib/ManagedValue.cs : null check on Free.
* glib/Value.cs : some ManagedValue rework because we unset now.
2004-02-02 Mike Kestner <mkestner@ximian.com>
* generator/CustomMarshalerGen.cs : beginnings of a new generatable.
* generator/SymbolTable.cs : mangle interface keyword to iface.
2004-02-02 Martin Willemoes Hansen <mwh@sysrq.dk>
* generator/ClassBase.cs: Converted String uses to the string alias.
* generator/ConstStringGen.cs: Ditto
* generator/Ctor.cs: Ditto
* generator/EnumGen.cs: Ditto
* generator/ManualGen.cs: Ditto
* generator/SignalHandler.cs: Ditto
* generator/StringGen.cs: Ditto
* sample/Subclass.cs: Added a DeleteEventHandler to the window widget,
this way a user can properly quit the sample.
2004-02-02 Mike Kestner <mkestner@ximian.com>
* glib/Value.cs : add dispose queue and idle handler so we can
unset GValues that are created by the binding ctors.
[Fixes #53490]
2004-02-02 Todd berman <tberman@sevenl.net>
* gdk/Event*.custom: added fix for bug #53729.
2004-01-30 Todd Berman <tberman@sevenl.net>
* gtk/Gtk.metadata: out fix for TreeView.GetBackgroundArea and
TextView.GetIterLocation.
* gtk/gtk-api.xml: regen
2004-01-29 Mike Kestner <mkestner@ximian.com>
* glib/time_t_CustomMarshaler.cs : new custom marshaler form time_t.
* glue/time_t.c : glue for time_t.
* glue/Makefile.am : add time_t.c
* glue/makefile.win32 : ditto
2004-01-28 John Luke <jluke@cfl.rr.com>
* glade/XML.custom : some null checking for crash prevention.
[Fixes #47017]
* sample/VteTest.cs: update
* vte/Vte.metadata: remove incorrect rules
* vte/vte-api.xml: regen
2004-01-28 Mike Kestner <mkestner@ximian.com>
* gtk/gtk-api.xml : regen
* parser/gapi2xml.pl : fix signals parsing where a STRUCT_OFFSET
is not present in the signal_new call.
* parser/gapi_pp.pl : ignore #ident lines.
* vte/vte-api.xml : regen
[Fixes #53189]
2004-01-27 Mike Kestner <mkestner@ximian.com>
* gtk/SelectionData.custom : guard against null in get_Text.
[Fixes #52713]
2004-01-27 Mike Kestner <mkestner@ximian.com>
* glue/selectiondata.c : expose data field.
* gtk/SelectionData.custom : add Data property.
[Fixes #53397]
2004-01-27 John Luke <jluke@cfl.rr.com>
* gtk/AccelKey.custom: add convenience ctor
* gtk/Gtk.metadata: revert previous Widget.AddAccelerator change,
fix AccelKey fields
* gtk/Widget.custom: add overload for AddAccelerator
* gtk/gtk-api.xml: regen
2004-01-27 Mike Kestner <mkestner@ximian.com>
* glib/Value.cs : only g_free values we allocate.
[Fixes #51180]
2004-01-27 Mike Kestner <mkestner@ximian.com>
* glib/TypeConverter.cs : lookup GTypes for boxed value types.
* glib/Value.cs : fix boxed type handling in object ctor.
[Fixes #51043]
2004-01-27 Mike Kestner <mkestner@ximian.com>
* generator/BoxedGen.cs : gen a Value to Boxed explicit cast op.
* generator/Property.cs : use new cast in Boxed getters.
[Fixes #53414]
2004-01-27 Mike Kestner <mkestner@ximian.com>
* gtk/Gtk.Metadata : revert opaquing of TextIter.
* gtk/TextBuffer.custom : ditto
* gtk/gtk-api.xml : regen
2004-01-27 Mike Kestner <mkestner@ximian.com>
* generator/MethodBody.cs : remove unnecessary generation for
Handle using out parameters.
* gtk/Gtk.Metadata : make TextIter opaque
* gtk/TextBuffer.custom : remove redundant dllimport
* gtk/gtk-api.xml : regen
2004-01-27 Mike Kestner <mkestner@ximian.com>
* gnome/Gnome.metadata : Icon.LookupSync mark factory param
null_ok. Reworked from patch by Todd Berman.
* gnome/gnome-api.xml : regen
2004-01-25 Mike Kestner <mkestner@ximian.com>
* art/art-api.xml : regen
* gdk/gdk-api.xml : regen
* generator/SymbolTable.cs : add unsigned char mapping
* gnome/gnome-api.xml : regen
* parser/gapi2xml.pl : handle unsigned keyword in fields,
typedefs, and parameter types.
[Fixes #53055]
2004-01-25 Mike Kestner <mkestner@ximian.com>
* gdk/gdk-api.xml : regen
* gnome/gnome-api.xml : regen
* gtk/gtk-api.xml : regen
* parser/gapi2xml.pl : handle typedef struct {...} Foo;
[Fixes #53312]
2004-01-22 Martin Willemoes Hansen <mwh@sysrq.dk>
* generator/Ctor.cs: Warnings was output like "ctor" fixed to
output like "in ctor", like the rest of the warnings.
2004-01-21 John Luke <jluke@cfl.rr.com>
* vte/Makefile.in: fix so you can build from scratch
2004-01-21 Mike Kestner <mkestner@ximian.com>
* generator/Field.cs : kill Protection, restructure Generate
and add FIXMEs for broken parts. Add StudlyName and move array
fields to use Studly names.
2004-01-20 John Luke <jluke@cfl.rr.com>
* samples/GtkDemo:
* samples/DbCLient: compile fixes, patch from
Paul Duran <pauld@hutch.com.au>
2004-01-20 John D. Hardin <jhardin@impsec.org>
* glue/type.c : ansi-c-ify some late var decls.
2004-01-19 John Luke <jluke@cfl.rr.com>
* vte/Makefile.in: fix it so you can build without having
gtk# already installed
2004-01-19 Mike Kestner <mkestner@ximian.com>
* art/Art.metadata : correct a couple symbolic array_lens
* art/art-api.xml : regen
* gdk/Gdk.metadata : correct a symbolic array_len
* gdk/gdk-api.xml : regen
* generator/Field.cs : generate array fields with MarshalAs
attrs for correct marshaling.
2004-01-18 Mike Kestner <mkestner@ximian.com>
* generator/Field.cs : refactored code from StructBase
* generator/StructBase.cs : spin off Field class
2004-01-18 Mike Kestner <mkestner@ximian.com>
* generator/SymbolTable.cs : mangle parms named readonly
2004-01-18 Peter Williams <peter@newton.cx>
* glib/Marshaller.cs (ArrayPtrToArgv, ArgvToArrayPtr): new
functions for marshalling and unmarshalling string arrays
to/from char **. Not pretty, but lets us call gtk_init()
in Gtk.
* gtk/Application.cs (do_init): New helper function to handle
passing args to Gtk. Uses above functions.
(Init): Use do_init, take a new progname parameter.
(InitCheck): Same.
2004-01-18 Mike Kestner <mkestner@ximian.com>
* gtk/Gtk.metadata : mark TreeSelection.GetSelectedRows return
list element_type as Gtk.TreePath.
* gtk/gtk-api.xml : regen
2004-01-18 Mike Kestner <mkestner@ximian.com>
* gtk/Gtk.metadata : mark TreeSelection.GetSelectedRows model
param as out.
* gtk/gtk-api.xml : regen
2004-01-18 John Luke <jluke@cfl.rr.com>
* vte/Vte.metadata: fix to generate signals
* vte/vte-api.xml: regen
* samples/VteTest.cs: remove my home dir path
2004-01-17 John Luke <jluke@cfl.rr.com>
* configure.in: detect and compile vte-sharp (require vte-0.11.10)
* Makefile.in: add vte to subdirs
* vte/*:
* sources/makefile:
* sources/gtk-sharp-sources.xml: add vte
* samples/VteTest.cs: add incomplete test/sample
* samples/Makefile.in: add vte-test.exe target
2004-01-15 Martin Willemoes Hansen <mwh@sysrq.dk>
* generator/Method.cs: Methods which returns void and has a single out parameter
like void Foobar (..., out int baz, ...) are turned into the more .NET like
signature int Foobar (...), this fixes bug 46392
* generator/Signature.cs: Ditto
* generator/MethodBody.cs: Ditto
* gtk/ListStore.custom: Ditto
* gtk/TextBuffer.custom: Ditto
* gtk/TreeStore.custom: Ditto
2004-01-13 Tambet Ingo <tambet@ximian.com>
* gtk-sharp.pc.in : add libdir var
* generator/SymbolTable.cs : add GByteArray mapping.
2004-01-13 Mike Kestner <mkestner@ximian.com>
* generator/Signal.cs : use ValueArray to assemble parms arg for
g_signal_chain_from_overriden call. Initialize retval GValue for
above.
* glib/Object.cs : g_signal_chain_from_overridden parms are IntPtrs.
* glib/TypeConverter.cs : handle unboxed ValueTypes.
* glib/Value.cs : handle unboxed struct types. add ctor for init'd
unset Values.
* glib/ValueArray.cs : new binding for GValueArray used by VMs.
* glue/valuearray.c : field accessors
* glue/Makefile.am : add new glue file
* glue/makefile.win32 : add new glue file
[Fixes #52680]
2004-01-13 John Luke <jluke@cfl.rr.com>
* en/Gtk/Dialog.custom: add more Gtk.ResponseType overloads
2004-01-10 John Luke <jluke@cfl.rr.com>
* samples/GtkDemo/*.cs: make it compile
patch from Yves Kurz <ml_yves@magnific.ch>
2004-01-09 Mike Kestner <mkestner@ximian.com>
* gtk/Gtk.metadata : hide NotebookPage.Num method
* gtk/Notebook.custom : implement PageNum.
* gtk/gtk-api.xml : regen
2004-01-09 John Luke <jluke@cfl.rr.com>
* gtk/Gtk.metadata: Hide most RadioButton constructors, for
api reasons
* gtk/RadioButton.custom: add ctor to create a new RadioButton
with its own group to avoid having to pass null
* gtk/gtk-api.xml: regen
2004-01-07 Mike Kestner <mkestner@ximian.com>
* gtk/Gtk.metadata : rename TreeView.RowExpand to GetRowExpanded.
* gtk/gtk-api.xml : regen
2004-01-07 John Luke <jluke@cfl.rr.com>
* gtk/Dialog.custom: add AddActionWidget overload
2004-01-07 Mike Kestner <mkestner@ximian.com>
* gtk/Gtk.metadata : TreeStore.Remove iter should be ref
* gtk/gtk-api.xml : regen
2004-01-06 John Luke <jluke@cfl.rr.com>
* gtk/Gtk.metadata: change uint to GtkAccelKey for Widget.AddAccelerator
* gtk/gtk-api.xml: regenerated
2004-01-05 Mike Kestner <mkestner@ximian.com>
* configure.in : tagged 0.15 and updated version.
2003-12-30 Mike Kestner <mkestner@ximian.com>
* glib/Object.cs (ConnectDefaultHandlers): reflection code to
hook up overridden default signal handlers.
* glue/type.c (gtksharp_override_virtual_method): peek the gtype
and ref the class if it isn't created yet.
* sample/Subclass.cs : update to override Button.OnClicked.
2003-12-26 Mike Kestner <mkestner@ximian.com>
* glue/selectiondata.c : new glue to make SelectionData opaque
* glue/Makefile.am : add file
* glue/makefile.win32 : add file
* gtk/Gtk.metadata : mark SelectionData opaque, unhide Set method
* gtk/SelectionData.custom : invoke glue methods for opaque fields.
* gtk/gtk-api.xml : regen
* sample/TestDnd.cs : update to new SelectionData API.
2003-12-24 John Luke <jluke@cfl.rr.com>
* gtk/Label.custom: add public default constructor
* gtk/gtk-api.xml:
* gtk/Gtk.metadata: make gtk_label_new_with_mnemonic the
preferred constructor, disable protected default ctor
2003-12-21 John Luke <jluke@cfl.rr.com>
* glib/Idle.cs: add Remove method found in Alp Toker's platano
2003-12-16 Joe Shaw <joe@ximian.com>
* generator/SymbolTable.cs (MangleName): Add "lock" and "callback"
to the list of names that need to be mangled. The former is a C#
reserved keyword and the latter is already used as an argument to
methods which marshal callbacks.
2003-12-15 Mike Kestner <mkestner@ximian.com>
* generator/BoxedGen.cs : s/uint/GLib.GType
* generator/ManualGen.cs : add a ctor to pass ToNative handle name
* generator/ObjectGen.cs : s/uint/GLib.GType
* generator/Signal.cs : use GLib.GType and call OverrideVirtualMethod
* generator/SymbolTable.cs : make GType a ManualGen and update a few
ManualGens to the new signatures.
* glib/DefaultSignalHandler.cs : s/Type/System.Type
* glib/ManagedValue.cs : s/uint/GLib.GType
* glib/Object.cs : s/uint/GLib.GType, add OverrideVirtualMethod.
* glib/Type.cs : s/uint/IntPtr, add static fields for fundamentals.
make it a value type and add ==, !=, Equals, and GetHashCode.
* glib/TypeConverter.cs : use new GType statics, not fundamentals.
* glib/Value.cs : use new GType statics, not fundamentals.
* gnome/*.custom : s/uint/GLib.GType
* gtk/*Store.custom : use GType statics, not fundamentals.
* sample/Subclass.cs : s/uint/GLib.GType.
2003-12-12 Mike Kestner <mkestner@ximian.com>
* generator/CallbackGen.cs : kill some redundant generation
* generator/MethodBody.cs : pass array parameters as arrays of
the corresponding native type.
2003-12-12 Mike Kestner <mkestner@ximian.com>
* gnome/gnome-api.xml : regen'd
* parser/gapi2xml.pl : handle typedef enum _foo foo;
* parser/gapi-parser : support <exclude> elements in addition to <dir>
and <file> to specify the sources to be parsed.
2003-12-12 Radek Doulik <rodo@ximian.com>
* gtk/Gtk.metadata: hide TextTag.Weight property and implement it
in TextTag.custom. TextTag Weight property in gtk is of type int,
but we want it to be Pango.Weight enum
2003-12-10 Radek Doulik <rodo@ximian.com>
* glue/program.c (get_default): moved check after strspec is set
so we don't check uninitialized value
2003-12-10 Mike Kestner <mkestner@ximian.com>
* generator/CallbackGen.cs : kill ref_owned generation
* generator/ClassBase.cs : use simple GetObject w/o ref_owned
* generator/ManagedCallString.cs : new class to generate native
to managed method calls.
* generator/Method.cs : kill ref_owned generation
* generator/MethodBody.cs : kill ref_owned generation
* generator/Property.cs : kill ref_owned generation
* generator/Signal.cs : generate delegates and vtable connect
methods for all signals. Mark VMs with new attr.
* generator/StructBase.cs : kill ref_owned generation
* glib/DefaultSignalHandlerAttribute.cs : new attr to mark
virtual methods.
* glib/Object.cs : add overload for GetObject that defaults
to ref_owned=false. Add extern for VM override glue.
2003-12-08 Luciano Martorella <mad_lux_it@users.sourceforge.net>
* gdk/Gdk.metadata : ref/array tags
* gdk/Colormap.custom : removed
* gdk/gdk-api.xml : regen
2003-12-08 Mike Kestner <mkestner@ximian.com>
* generator/Signal.cs : add virtual method generation for the
default signal handlers.
* glib/Object.cs : add g_signal_chain_from_overridden extern
2003-12-08 Mike Kestner <mkestner@ximian.com>
* generator/VMSignature.cs : new class to generate virtual method
signatures for default signal handlers.
2003-12-08 Mike Kestner <mkestner@ximian.com>
* generator/ObjectGen.cs : stupid little whitespace change
2003-12-08 Mike Kestner <mkestner@ximian.com>
* glue/type.c : new glue for g_signal_override_class_closure
2003-12-07 Mike Kestner <mkestner@ximian.com>
* gnome/Gnome.metadata : About ctor's logo_pixbuf is null_ok
* gnome/gnome-api.xml : regen
2003-12-04 Mike Kestner <mkestner@ximian.com>
* glib/Object.cs : kill unused WrapperClassAttribute. [#51458]
2003-12-04 Mike Kestner <mkestner@ximian.com>
* parser/gapi2xml.pl : fix for const param handling [#50295]
2003-12-03 Mike Kestner <mkestner@speakeasy.net>
* generator/CallbackGen.cs : use new sig and isig classes.
* generator/Ctor.cs : use new sig, isig, and body classes.
* generator/ImportSignature.cs : isig code spun out from Parameters.
* generator/Method.cs : use new sig, isig, and body classes.
* generator/MethodBody.cs : spun Initialize, GetCallString,
Finish, and Exception throwing methods from Parameters.
* generator/Parameters.cs : Slayed the evilness that was CreateSignature.
It is now essentially a container for Parameter classes instead of a
tangled mess of code trying to do everything remotely related to
parameter lists. Also completely killed the VAType/IsVarArgs stuff,
as it can be done with the array and params attrs instead.
* generator/Property.cs : use new sig class.
* generator/Signature.cs : new method sig generator extracted from
Parameters class. add "params" keyword support for tagged parameters.
* gnome/Gnome.metadata : hide IconList.GetSearchPath (to be manual)
* gnome/gnome-api.xml : regen
* gtk/ListStore.custom : kill unneeded overload
* gtk/TreeStore.custom : kill unneeded overload
* gtk/Gtk.metadata : mark params/args on *store_newv
* gtk/gtk-api.xml : regenerated
2003-12-03 Ettore Perazzoli <ettore@ximian.com>
* sample/TestDnd.cs: New.
* gtk/TargetEntry.custom: New.
* glue/dragcontext.c: New.
* glib/Object.cs: New public property TypeName in class Object.
* gdk/DragContext.custom: New.
2003-11-30 Mike Kestner <mkestner@speakeasy.net>
* art/art-symbols.xml : add some simple types to clean up generation.
* art/Makefile.in : add art-symbols.xml
2003-11-29 Mike Kestner <mkestner@speakeasy.net>
* gtk/Gtk.metadata : fix targets for Drag.SourceSet.
* gtk/gtk-api.xml : regen
2003-11-29 Mike Kestner <mkestner@speakeasy.net>
* generator/Parameters.cs : handle null_ok for arrays.
* gtk/Gtk.metadata : mark a null_ok in Drag.DestSet
* gtk/gtk-api.xml : regen
2003-11-29 Mike Kestner <mkestner@speakeasy.net>
* gdk/Pixbuf.custom : revert Miguel's commit.
2003-11-29 Mike Kestner <mkestner@speakeasy.net>
* */Makefile.in : remove the nowarns
* gdk/Rectangle.custom : add System.Drawing.Rect implicit cast op.
* sample/Size.cs : use System.Drawing.Rectangles
* sample/GnomeHelloWorld.cs : remove an unneeded null check
2003-11-29 Mike Kestner <mkestner@speakeasy.net>
* generator/StructBase.cs : remove ==/!= operator generation.
2003-11-28 Miguel de Icaza <miguel@ximian.com>
* gdk/Pixmap.custom: Added Pixmap.custom to add a convenience constructor.
2003-11-27 Miguel de Icaza <miguel@ximian.com>
* glib/Log.cs: Make LogLevelFlags CLS compliant.
* glib/SignalCallback.cs: Set the constructor protection level to
protected, since it can not be instantiate.d
* glib/Marshaller.cs: Do not allow instances of this class as it
only exposes static methods.
* glib/Source.cs, glib/FileUtils.cs, glib/Timeout.cs,
glib/Thread.cs, glib/Markup.cs, glib/TypeConverter.cs: Ditto.
2003-11-29 Mike Kestner <mkestner@speakeasy.net>
* gdk/Gdk.metadata : add some array attrs to Pixbuf ctors.
* gdk/Pixbuf.custom : remove unneeded overloads.
* gdk/gdk-api.xml : regenerated
2003-11-23 Mike Kestner <mkestner@ximian.com>
* generator/SignalHandler.cs : use CONNECT_AFTER.
2003-11-22 John Luke <jluke@cfl.rr.com>
* sample/PrintSample.cs: add small Gnome.Print example
* sample/Makefile.in: add print example to gnome build
2003-11-19 Peter Williams <peter@newton.cx>
* gtk/Gtk.metadata: Add some array attributes for some "type *elem,
int n_elem" array params.
2003-11-19 Mike Kestner <mkestner@ximian.com>
* parser/gapi_pp.pl : handle files and dirs in ARGV.
* parser/gapi2xml.pl : deal with struct keyword in param decls
* parser/gapi-parser : handle <file> elements.
2003-11-18 Mike Kestner <mkestner@ximian.com>
* configure.in : tagged for 0.14 and bumping VERSION.
2003-11-18 Mike Kestner <mkestner@ximian.com>
* gtkhtml/Makefile.in : make the install target conditional too.
2003-11-18 Moritz Balz <verteiler@mbalz.de>
* gdk/Window.custom : remove Visible and Viewable since the Is*
methods are now gen'd as properties.
2003-11-18 Mike Kestner <mkestner@ximian.com>
* pango/Pango.metadata : mark ref params on LayoutLine.GetExtents
and GetPixelExtents. [Fixes #50338]
* pango/pango-api.xml : regenerated.
2003-11-18 Peter Williams <peter@newton.cx>
* gtk/NodeStore.cs (GetNode): New public function. Patch refactored
a bit to eliminate code duplication with get_node_cb.
2003-11-18 John Luke <jluke@cfl.rr.com>
* configure.in: test for gtkhtml3
* gtkhtml/Makefile.in: build conditionally
2003-11-18 Mike Kestner <mkestner@ximian.com>
* gdk/Pixbuf.custom : resurrect the stream/resource ctors. rename
LoadResource to LoadFromResource for the string overload.
* gdk/PixbufLoader.custom: add an internal prop to get an unwrapped
pixbuf handle.
2003-11-17 Gonzalo Paniagua Javier <gonzalo@ximian.com>
* gdk/Pixbuf.custom:
(LoadResource (assembly, resource)): a null assembly uses the calling
assembly.
2003-11-17 Ettore Perazzoli <ettore@ximian.com>
* gdk/Pixbuf.custom: Removed the Assembly constructors.
(Pixbuf.LoadResource (string)): New.
(Pixbuf.LoadResource (Assembly, string)): New.
2003-11-16 Mike Kestner <mkestner@ximian.com>
* generator/Parameters: handle array+len param pairs.
* gtk/Gtk.metadata : unhide DestDefaults and mark targets param of
drag_dest_set as array.
* gtk/gtk-api.xml : regenerate
2003-11-14 Mike Kestner <mkestner@ximian.com>
* gtk/Gtk.metadata : fully qualify attr paths
* parser/gapi-fixup.cs : compile a path expression per Ben Maurer
suggestion.
2003-11-14 Mike Kestner <mkestner@ximian.com>
* configure.in : update VERSION to 0.14. Tagged 0.13.
2003-11-13 Mike Kestner <mkestner@ximian.com>
* generator/SignalHandler.cs : guard against destroyed signalhandlers.
2003-11-07 Mike Kestner <mkestner@ximian.com>
* configure.in : add mono check. expand wrapper scripts
* generator/Makefile.in : use install. install a gapi-codegen wrapper.
* generator/SymbolTable.cs : add SimpleGen for short
* generator/gapi-codegen.in : new wrapper script in file.
* parser/Makefile.in : use install. install a gapi-fixup wrapper.
* generator/gapi-fixup.in : new wrapper script in file.
* parser/gapi2xml.pl : deal with non-namespaced enums. ignore
forward struct declarations.
2003-11-05 Mike Kestner <mkestner@ximian.com>
* gtk/ITreeNode.cs : make Parent readonly
* gtk/TreeNode.cs : use an internal method to set parent on the
child, and set child.Parent to null in RemoveChild.
2003-11-05 Moritz Balz <verteiler@mbalz.de>
* gdk/Window.custom : System.Drawing.Rectangle/Point customizations
2003-11-05 Mike Kestner <mkestner@ximian.com>
* gtk/TreeNodeAttribute.cs : sealed per Ben Maurer's suggestion.
* gtk/TreeNodeValueAttribute.cs : ditto
2003-11-04 Mike Kestner <mkestner@ximian.com>
* glib/Value.cs : add set to Val prop
* glue/Makefile.am : build nodestore.c
* glue/makefile.win32 : link nodestore.o
* glue/nodestore.c : new, glue for TreeModel implementation
* gtk/NodeStore.cs : new tree store implementation
* gtk/ITreeNode.cs : new interface for nodestore node types
* gtk/TreeNode.cs : abstract class for deriving nodestore nodes
* gtk/TreeNodeAttribute.cs : tree node marking attr
* gtk/TreeNodeValueAttribute.cs : node column marking attr
* gtk/TreeView.custom : add ctor(NodeStore)
2003-11-04 John Luke <jluke@cfl.rr.com>
* sources/makefile: add gstreamer 0.6.4 sources
* sources/gstreamer-parse.patch: fixes to parse gst
* gst/Gst.metadata: new metadata
* gst/Makefile.in: add gapi-fixup to Makefile
* gst/gst-api.xml: new api file for 0.6.4
* gtk/Gtk.metadata: set correct preferred constructor for button
* gtk/gtk-api.xml: regenerated
2003-11-02 Mike Kestner <mkestner@ximian.com>
* generator/CallbackGen.cs : use a temporary ret value if there
is any cleanup to be done after the call. Thanks to John Luke
for a patch which identified the problem.
2003-11-01 Radek Doulik <rodo@ximian.com>
* gtk/TreeModelSort.custom: implementation of GetValue/SetValue
(copied from TreeStore.custom)
* gtk/TreeModel.custom: added GetValue/SetValue
2003-10-30 Ken Foster <kenfoster@tampabay.rr.com>
* glue/button.c: initial creating of glue file for GdkButton
* glue/Makefile.am: added button.c to glue make
* glue/makefile.win32: added button.c to win32 glue make
* gtk/Button.custom: expose in_button GdkButton member
2003-10-29 Martin Willemoes Hansen <mwh@sysrq.dk>
* generator/Method.cs: marked Is and Has methods,
to be generated as properties, fixes bug [47910]
2003-10-28 Mike Kestner <mkestner@ximian.com>
* configure.in : releasing 0.12
2003-10-28 Mike Kestner <mkestner@ximian.com>
* */Makefile.in : create the apidir before installing to it.
2003-10-28 Mike Kestner <mkestner@ximian.com>
* generator/BoxedGen.cs : generate GLib.Value ctors. [fixes #47168]
* generator/Property.cs : use new Boxed value ctors.
* generator/StructBase.cs : use existing Writer if available.
2003-10-27 Moritz Balz <verteiler@mbalz.de>
* gdk/Drawable.custom : add a S.D.Rectangle overload for DrawRect.
2003-10-26 Martin Willemoes Hansen <mwh@sysrq.dk>
* gtk/Gtk.metadata: Added the rest of sources/Gtk.metadata
and sorted the metadata.
* gtk/gtk-api.xml: Regenerated, to reflect the above changes.
Tags are swapped around. PaintBox, PaintBoxGap, PaintShadow and
PaintShadowGap are moved arround as well.
* sources/Gtk.metadata: Removed
2003-10-23 Martin Willemoes Hansen <mwh@sysrq.dk>
* gtk/Gtk.metadata: Added metadata from sources/Gtk.metadata
* gtk/gtk-api.xml: Reflects changes of the metadata move,
tags are swapped around.
* sources/Gtk.metadata: Removed metadata, which are moved to
gtk/Gtk.metadata
2003-10-22 Martin Willemoes Hansen <mwh@sysrq.dk>
* gtk/Gtk.metadata: Added metadata from sources/Gtk.metadata
* gtk/gtk-api.xml: Reflects changes of the metadata move,
tags are swapped around.
* gtkhtml/Gtk.metadata: Added metadata from sources/Gtk.metadata
* gtkhtml/gtkhtml-api.xml: Reflects changes of the metadata move,
tags are swapped around.
* sources/Gtk.metadata: Removed metadata, which are moved to
gtk/Gtk.metadata and gtkhtml/Gtk.metadata
2003-10-22 Mike Kestner <mkestner@ximian.com>
* gtkhtml/gtkhtml-api.xml : regenerated
* sources/makefile : add gtkhtml-embedded.* to the parse. Patch
proposed by orph on bug #49875.
2003-10-20 Mike Kestner <mkestner@ximian.com>
* gtk/Gtk.metadata : mark TargetEntry.flags as type TargetFlags.
* gtk/gtk-api.xml : regenerated [fixes #49859]
2003-10-20 Mike Kestner <mkestner@ximian.com>
* generator/Parameters.cs : treat interface out params like objects.
* gtk/gtk-api.xml : regenerated
* gtk/Gtk.metadata : mark TreeSelection.GetSelected params out.
* gtk/TreeSelection.custom : emptied since it's now generated.
* sources/Gtk.metadata : kill hide of TreeSelection.GetSelected.
[fixes #49858]
2003-10-20 Mike Kestner <mkestner@ximian.com>
* atk/atk-api.xml : regenerated
* gdk/gdk-api.xml : regenerated
* gtk/gtk-api.xml : regenerated
* gtkhtml/gtkhtml-api.xml : regenerated [Fixes #49875]
* parser/gapi2xml.pl : handle unnamed parameter declarations.
2003-10-20 Mike Kestner <mkestner@ximian.com>
* generator/Parameters.cs : add a cast to the call_string for Length
params other than int.
2003-10-18 Mike Kestner <mkestner@ximian.com>
* gtk/Gtk.metadata : add move-node rules for Paint methods.
* gtk/gtk-api.xml : regenerated
* parser/gapi2xml.pl : put paint_ methods in global, not Paint.
* parser/gapi-fixup.cs : add move-node rule handling. [Fixes #47980]
2003-10-17 Mike Kestner <mkestner@ximian.com>
* generator/Parameters.cs : mark enum pointer params as out.
need to audit if any are really arrays. [Fixes #49779]
2003-10-17 Mike Kestner <mkestner@ximian.com>
* gtk/Window.cs : override Raw prop and take a ref, since gtk+
owns the ref to new Windows, and we need a ref. [Fixes #47721]
2003-10-17 Mike Kestner <mkestner@ximian.com>
* gnome/CanvasPoints.custom : make New overload a ctor overload.
* gnome/Gnome.metadata : mark CanvasPoints as opaque
* gnome/gnome-api.xml : regenerated. [Fixes #37256]
2003-10-17 Gonzalo Paniagua Javier <gonzalo@ximian.com>
* gtk/ThreadNotify.cs: close the pipe and detach the GSource when
explicitly requested or finalized.
2003-10-17 Gonzalo Paniagua Javier <gonzalo@ximian.com>
* gconf/tools/schemagen.cs: support for lists.
2003-10-15 Mike Kestner <mkestner@ximian.com>
* generator/Property.cs : use new Opaque value ctor and
rework get/set blocks for Opaque types. [Fixes #47959]
* glib/Opaque.cs : kill explicit IntPtr operator.
* glib/Value.cs : rework Opaque value ctor.
2003-10-14 Mike Kestner <mkestner@ximian.com>
* gtk/Gtk.metadata : rule for ClipboardGetFunc
* gtk/Clipboard.custom : comment out for now don't think any
of this is needed.
* gtk/ClipboardClearFunc.cs : gen'd now
* gtk/ClipboardGetFunc.cs : gen'd now
* gtk/GtkSharp.GtkClipboardClearFuncNative.cs : gen'd now
* gtk/GtkSharp.GtkClipboardGetFuncNative.cs : gen'd now
* gtk/gtk-api.xml : regenerated
* sources/Gtk.metadata : remove a couple clipboard hides
2003-10-14 Mike Kestner <mkestner@ximian.com>
* gtk/gtk-api.xml : regenerated
* gtk/Gtk.metadata : begin the port of the Gtk rules
* gtk/Makefile.in : apply metadata in gen target
* gtkhtml/gtkhtml-api.xml : regenerated
* gtkhtml/Gtk.metadata : a couple rules ported
* gtkhtml/Makefile.in : apply metadata in gen target
* sources/Gtk.metadata : port first 350 lines of rules.
2003-10-14 Mike Kestner <mkestner@ximian.com>
* gtk/gtk-api.xml : regenerated
* sources/Gtk.metadata : removed all the obsolete "out" rules
2003-10-13 Mike Kestner <mkestner@ximian.com>
* gdk/Gdk.metadata : mark an array param on PixbufDestroyNotify
* gdk/gdk-api.xml : regenerated
* generator/CallbackGen.cs : Handle out params in callback sigs
and ditch the object[] args handling for typed args.
* generator/Parameters.cs : more proactive PassAs logic. We now
default all simple pointer types (uint*, int*, double*, etc...)
to out params unless they are marked otherwise in the XML with a
pass_as tag or an array tag. [Fixes #32104]
2003-10-13 Mike Kestner <mkestner@ximian.com>
* gnome/Gnome.metadata : new xpath metadata rules
* gnome/Makefile.in : apply metadata before generation
* gnome/gnome-api.xml : regenerated
* parser/gapi-fixup.cs : use XmlDocument.Save (filename)
instead of opening a stream manually.
* sources/Gnome.metadata : killed
2003-10-12 Mike Kestner <mkestner@ximian.com>
* art/Art.metadata : new xpath metadata rules
* art/Makefile.in : apply metadata before generation
* atk/Atk.metadata : new xpath metadata rules
* atk/Makefile.in : apply metadata before generation
* gda/Gda.metadata : new xpath metadata rules
* gda/Makefile.in : apply metadata before generation
* gdk/Gdk.metadata : new xpath metadata rules
* gdk/Makefile.in : apply metadata before generation
* gnomedb/GnomeDb.metadata : new xpath metadata rules
* gnomedb/Makefile.in : apply metadata before generation
* pango/Pango.metadata : new xpath metadata rules
* pango/Makefile.in : apply metadata before generation
* parser/Makefile.in : build and install new gapi-fixup
* parser/gapi-fixup.cs : new xpath based metadata engine
* sources/*.metadata : remove most of the old metadata,
still have to convert Gtk and Gnome to xpaths.
2003-10-11 Mike Kestner <mkestner@ximian.com>
* gtk/gtk-api.xml : regenerated
* sources/Gtk.metadata : applied patch from jluke for hides
requested in bug #38660. Also cleaned up the sprawling "hidden"
rules to reduce the overall footprint.
2003-10-11 Mike Kestner <mkestner@ximian.com>
* generator/OpaqueGen.cs (FromNativeReturn): just do a
new on the type. GLib.Opaque.GetOpaque was apparently an
homage to GetObject that just seems wrong.
2003-10-11 Mike Kestner <mkestner@ximian.com>
* gtk/gtk-api.xml : regenerated
* sources/Gtk.metadata : markes some out tags on
TreeView.GetCursor. [Fixes #49556]
2003-10-11 Mike Kestner <mkestner@ximian.com>
* generator/Parameters.cs : Properly handle out params for
Object and Opaque types.
* gtk/ListStore.custom: remove out on GetValue overload
* gtk/TreeStore.custom: remove out on GetValue overload
* gtk/gtk-api.xml : regenerated
* sources/Gtk.metadata : remove some incorrect out tags
[Fixes #49517] for real this time.
2003-10-10 Mike Kestner <mkestner@ximian.com>
* gtk/gtk-api.xml : regenerated
* sources/Gtk.metadata : mark pos and path pass_as="out" for
TreeView.GetDragDestRow and GetDestRowAtPos [Fixes #49517]
2003-10-10 Mike Kestner <mkestner@ximian.com>
* gtk/gtk-api.xml : regenerated
* gtk/TreePath.custom : implement Indices property by
hand. Patch from tds00mahi@thn.htu.se (malte) [Fixes #49518]
* sources/Gtk.metadata : hide TreePath.Indices.
2003-10-10 Mike Kestner <mkestner@ximian.com>
* gtk/gtk-api.xml : regenerated
* gtk/FileSelection.custom : implement the Selections property by
hand. [Fixes #49254]
* sources/Gtk.metadata : hide FileSelection.GetSelections.
2003-10-10 Mike Kestner <mkestner@ximian.com>
* */makefile.win32 : remove api dir from build and fix clean target
2003-10-10 Mike Kestner <mkestner@ximian.com>
* gdk/gdk-api.xml : regenerated
* sources/Gdk.metadata : mark Cursor opaque. mark confine_to and
cursor null_ok in Gdk.Pointer.Grab. [Fixes #48273]
2003-10-09 Mike Kestner <mkestner@ximian.com>
* generator/Statistics.cs (Report): pretty it up.
* generator/SymbolTable.cs : handle const-xmlChar as ConstString
2003-10-09 Mike Kestner <mkestner@ximian.com>
* pango/Makefile.in : fix path to glib-sharp.dll
2003-10-10 Martin Willemoes Hansen <mwh@sysrq.dk>
* Makefile.in: Updated to reflect moval of api xml files from api/
to each assembly dir.
* configure.in: Ditto
* art/.cvsignore Ditto
* art/Makefile.in: Ditto
* atk/.cvsignore Ditto
* atk/Makefile.in: Ditto
* gda/.cvsignore Ditto
* gda/Makefile.in: Ditto
* gdk/.cvsignore Ditto
* gdk/Makefile.in: Ditto
* gdk/gdk-symbols.xml Ditto
* glade/.cvsignore Ditto
* glade/Makefile.in: Ditto
* gnome/.cvsignore Ditto
* gnome/Makefile.in: Ditto
* gnomedb/.cvsignore Ditto
* gnomedb/Makefile.in: Ditto
* gst/.cvsignore Ditto
* gst/Makefile.in: Ditto
* gtk/.cvsignore Ditto
* gtk/Makefile.in: Ditto
* gtk/gtk-symbols.xml Ditto
* gtkhtml/.cvsignore Ditto
* gtkhtml/Makefile.in: Ditto
* pango/.cvsignore Ditto
* pango/Makefile.in: Ditto
* rsvg/.cvsignore Ditto
* rsvg/Makefile.in: Ditto
* sources/gtk-sharp-sources.xml: Ditto
* api/: Removed
2003-10-09 Mike Kestner <mkestner@ximian.com>
* api/*-api.xml : regenerated
* parser/gapi_pp.pl : ignore simple comments. [Fixes #47450]
* parser/gapi2xml.pl : turn off debug.
2003-10-09 Mike Kestner <mkestner@ximian.com>
* generator/Property.cs : don't do new for Objects if FromNativeReturn
returns null. [Fixes #48055]
2003-10-08 Mike Kestner <mkestner@ximian.com>
* */Makefile.in : rework the prefix handling for duncan's packaging.
2003-10-08 Martin Willemoes Hansen <mwh@sysrq.dk>
* gnome/PrintJob.custom: Added default ctor.
* gnome/PrintDialog.custom: Added overloaded ctor with fewer parameters.
* sources/Gnome.metadata: Disabled default ctor for PrintJob,
changed type from int to PrintDialogFlags for PrintDialog ctor and
changed return type from byte to string for PrintConfig.Get.
2003-10-07 Mike Kestner <mkestner@ximian.com>
* api/gtk-api.xml : regenerated
* generator/Method.cs : gen new_flag automatically if set
* sources/Gtk.metadata : mark new_flag on Gtk.Bin.GetChild
2003-10-07 Mike Kestner <mkestner@ximian.com>
* generator/ObjectGen.cs (Generate): check sigs.Count in addition
to the null check to determine if the signals hash should be
generated.
2003-10-07 Mike Kestner <mkestner@ximian.com>
* parser/gapi2xml.pl : look for ");" at the end of property
declarations to avoid problems with ';' in property docstrings.
* api/gtk-api.xml : regenerated. [Fixes #47987]
2003-10-07 Mike Kestner <mkestner@ximian.com>
* glib/ListBase.cs : assume ref_owned=false for GObject lists.
[Fixes #49145]
2003-10-07 Mike Kestner <mkestner@ximian.com>
* gtkhtml/Makefile.in : add art-sharp ref
* sources/Gtk.metadata : make gtk_widget_size_request pass_as ref
instead of out. [Fixes #46354]
2003-10-07 Mike Kestner <mkestner@ximian.com>
* gtkhtml/Makefile.in : add gnome api to includes and ref in build
* gtkhtml/gkthtml-api.xml : regenerated
* sources/Gtk.metadata : remove the gtkhtml gnomeprint hides
2003-10-06 Mike Kestner <mkestner@ximian.com>
* Makefile.in : add gtkhtml dir.
* configure.in : expand gtkhtml/Makefile
* api/Makefile.in : remove gtkhtml-api.xml
* generator/CodeGenerator.cs : parse new --outdir, --customdir,
and --assembly-name args.
* generator/GenerationInfo.cs (Ctor): new (dir, dir,assembly) ctor
* gtkhtml/HTMLStream.custom : moved here from gtk dir
* gtkhtml/gtkhtml-api.xml : moved here from api dir
* gtkhtml/Makefile.in : gen source and build dll
* sources/gtk-sharp-sources.xml : write gtkhtml api to new dir
2003-10-06 Artem Popov <artemis@yandex.ru>
* gtk/Dialog.custom : Action area is an HButtonBox, not a VBox.
2003-10-06 Mike Kestner <mkestner@ximian.com>
* generator/InterfaceGen.cs (Generate): gen the EventHandlers for sigs
* generator/Signal.cs (GetHandlerName): kill this and split it into
EventHandlerName and EventHandlerArgsName props instead of the ugly
out param hack.
(GenEventHandler): make public void and add gen_info param. open
stream with gen_info. use new *Name props.
(Generate): only gen the EventHandler if we're genning the container,
not for implementors.
2003-10-06 Mike Kestner <mkestner@ximian.com>
* generator/CodeGenerator.cs (Main): use new ObjectGen.GenerateMappers.
* generator/GenerationInfo.cs (Ctor): new (dir, assembly) ctor
* generator/ObjectGen.cs : move hash management to Generate from Ctor,
index it on dir, and make it hold new DirectoryInfo refs. Refactor
GenerateMapper. The object mappers are now assembly based instead of
namespace based.
2003-10-06 Mike Kestner <mkestner@ximian.com>
* generator/Signal.cs (Generate): pass gen_info to sighdnlr.Generate.
use gen_info.AssemblyName in Args instantiation.
* generator/SignalHandler.cs (Generate): use gen_info to open stream.
refactor out some local vars.
2003-10-04 Mike Kestner <mkestner@ximian.com>
* generator/CallbackGen.cs : remove CloseWriter call.
* generator/GenBase.cs : kill CreateWriter and CloseWriter.
2003-10-04 Mike Kestner <mkestner@ximian.com>
* generator/AliasGen.cs : stub new Generate overload.
* generator/BoxedGen.cs : implement new Generate overload.
* generator/CallbackGen.cs (Generate):implement new overload.
* generator/ClassBase.cs : implement new Generate overload and
pass around the gen_info.
* generator/ClassGen.cs : implement new Generate overload.
* generator/Ctor.cs (Generate): s/sw/gen_info.
* generator/EnumGen.cs : implement new Generate overload.
* generator/GenBase.cs : expose NSElem, add gen_info param to
AppendCustom. kill CreateWriter.
(GenWrapper): add gen_info param and use it to open stream.
* generator/GenerationInfo.cs : new class to pass around generation
related information and perform tasks like opening streams.
* generator/IGeneratable.cs : add Generate(gen_info) overload.
* generator/InterfaceGen.cs : implement new Generate overload.
* generator/ManualGen.cs : stub new Generate overload.
* generator/Method.cs (Generate): accept gen_info. kill GenerateComments.
* generator/ObjectGen.cs : implement new Generate overload.
* generator/OpaqueGen.cs : implement new Generate overload.
* generator/Parameters.cs (Initialize): s/sw/gen_info.
* generator/Property.cs (Generate): accept gen_info.
* generator/Signal.cs (Generate): accept gen_info.
* generator/SimpleGen.cs : stub new Generate overload.
* generator/StructBase.cs : s/sw/gen_info
* generator/StructGen.cs : implement new Generate overload.
2003-10-03 Mike Kestner <mkestner@ximian.com>
* generator/GenBase.cs : remove unused do_generate private member.
2003-10-03 Mike Kestner <mkestner@ximian.com>
* generator/*.cs : Kill DoGenerate.
2003-10-03 Mike Kestner <mkestner@ximian.com>
* api/gtk-symbols.xml : make GtkType a uint like GType.
* generator/CodeGenerator.cs : adopt new parser semantics
* generator/Parser.cs : move to single parser/multiple Parse. Remove
DoGenerate hack and let the CodeGenerator control this. Return
generatables instead of loading symboltable.
* generator/SymbolTable : add AddTypes method. Revamp dealiasing code.
2003-10-02 Mike Kestner <mkestner@ximian.com>
* api/gnome-api.xml : regenerated
* parser/gapi2xml.pl : handle enum <name> {...}; Thanks to
Martin for identifying the bug and providing a candidate patch.
2003-10-01 Mike Kestner <mkestner@ximian.com>
* README.generator : updates for new parser script
* api/Makefile.in : add gtkhtml-api.xml
* api/*-api.xml : regenerated
* parser/makefile : install new parsing script
* parser/gapi-parser : new xml-driven parsing script
* sources/makefile : call new parsing script
* sources/gtk-sharp-sources.xml : new parser input file
* sources/gtk-sharp.sources : killed
2003-09-29 Martin Willemoes Hansen <mwh@sysrq.dk>
* sources/Gnome.metadata: Use const-gchar* instead of const-guchar*,
when the value is realy a string
* api/gnome-api.xml: Ditto
2003-09-28 Martin Willemoes Hansen <mwh@sysrq.dk>
* sources/gtk-sharp.sources: Fixed, wrong library used for libgnomeprintui
* api/gnome-api.xml: Ditto
2003-09-23 John Luke <jluke@cfl.rr.com>
* README:
* sources/README: reflect the current targets
2003-09-19 Rachel Hestilow <rachel@nullenvoid.com>
* sources/Gtk.metadata, api/gtk-api.xml: Rename
'Event' signals on Widget and TextTag to WidgetEvent
and TextTag event, respectively, to avoid
ambiguity with System.EventHandler/EventArgs.
2003-09-18 Mike Kestner <mkestner@ximian.com>
* configure.in : releasing 0.11
2003-09-17 Rachel Hestilow <rachel@nullenvoid.com>
* glib/DelegateWrapper.cs: Remove 'RemoveIfNotAlive'
and revamp the memory management to use destroy
notification.
* generator/CallbackGen.cs: Do not generate the call to
RemoveIfNotAlive.
* gtk/GtkSharp.GtkClipboardGetFuncNative,
GtkSharp.GtkClipboardClearFuncNative: Do not call
RemoveIfNotAlive.
2003-09-17 Rachel Hestilow <rachel@nullenvoid.com>
* generator/StructBase.cs: Make pointer, wrapped,
bitfield, and dummy fields private fields.
2003-09-16 Martin Willemoes Hansen <mwh@sysrq.dk>
* api/gda-api.xml: Updated to reflect new versions of the targeted
libraries + addition of GnomePrint
* api/gdk-api.xml: Ditto
* api/gnome-api.xml: Ditto
* api/gnomedb-api.xml: Ditto
* api/gtk-api.xml: Ditto
* api/rsvg-api.xml: Ditto
* sources/.cvsignore: Ditto
* sources/makefile: Ditto
* sources/gtk-sharp.sources: Ditto
* sources/Gda.metadata: Added a couple of new_flags
* sources/Gdk.metadata: Fixed name filter level type, it was missed by
the parser.
* sources/Gtk.metadata: Added hides for the GtkHtml releations to GnomePrint,
these hides can be removed when GtkHtml is put in its own assembly.
2003-09-14 Mike Kestner <mkestner@ximian.com>
* Makefile.in : add a gen-clean target to clean all but glue/parser.
* generator/Signal.cs : use restructured SignalHandler.
* generator/SignalHandler.cs (GetName): break up this monument to
structured programming.
2003-09-12 Mike Kestner <mkestner@ximian.com>
* generator/Parameters.cs (CreateSignature): begin refactoring this
unholy mess. Eliminated one pass thru the param list. Eliminated
prev/curr param refs. Switched to a for loop since lookbacks are
required.
2003-09-11 Mike Kestner <mkestner@ximian.com>
* generator/Parameters.cs : keep an ArrayList of Parameter objects
and refactor the hell out of the joint using the new Count and this[].
Still need to refactor a couple methods.
2003-09-11 Mike Kestner <mkestner@ximian.com>
* generator/Parameters.cs (IsLength): use a switch to make the
growing list of valid len types more readable.
2003-09-11 Mike Kestner <mkestner@ximian.com>
* generator/Ctor.cs : kill inline doc comments once and for all
* generator/EnumGen.cs : ditto
* generator/Method.cs : ditto
* generator/OpaqueGen.cs : ditto
* generator/Property.cs : ditto
2003-09-11 Alp Toker <alp@atoker.com>
* generator/Parameters.cs: Handle string length parameters specified
not just as int but also signed/unsigned int, long or short
2003-09-07 Alp Toker <alp@atoker.com>
* makefile.win32: New clean and release targets, and don't bother
building the samples (sample/makefile.win32 is out of date anyway)
* api/makefile.win32:
* glue/makefile.win32:
* makefile.win32: Glade# works perfectly on win32 now; include it in
the default build
* sample/GladeTest.cs:
* sample/GladeViewer.cs: Remove Gnome dependency and clean up
* glue/makefile.win32: Add -mms-bitfields for MSVC function name
mangling compatibility
2003-09-06 Alp Toker <alp@atoker.com>
* api/gdk-api.xml:
* sources/Gdk.metadata: out params for Gdk.Window.GetInternalPaintInfo
* glade/makefile.win32: new win32 makefile
* glue/win32dll.c:
* glue/makefile.win32: Patch to remove cygwin1.dll dependency on win32
from Todd Berman <tberman@gentoo.org>
* glue/makefile.win32: Update list of sources
* glue/Makefile.am: Remind people to keep makefile.win32 up to date
2003-09-03 Aleksey Sanin <aleksey@aleksey.com>
* parser/GAPI/Metadata.pm: enable enums processing using
<class/> element syntax
2003-09-02 Martin Willemoes Hansen <mwh@sysrq.dk>
* gda/Makefile.in: Fixed bad nowarn options
2003-08-31 Alp Toker <alp@atoker.com>
* api/gdk-api.xml:
* sources/Gdk.metadata: out params for Gdk.Window.GetOrigin
2003-08-30 Gonzalo Paniagua Javier <gonzalo@ximian.com>
* gdk/Pixbuf.custom: use windows dll name. Removed DllImport that is
already in the generated file.
* glib/Thread.cs: use windows dll name.
* gtk/ThreadNotify.cs: close <remark> comment.
2003-08-28 Martin Willemoes Hansen <mwh@sysrq.dk>
* gdk/Pixbuf.custom: Added missing DllImport statement and
proper copyright header.
* api/gtk-api.xml:
* sources/Gtk.metadata: Fixed new_flag rules, they did not
get applied to the gtk-api.xml.
* generator/Parameters.cs:
* generator/StructBase.cs:
* generator/SymbolTable.cs: Fixed the keyword base was not
mangled, also did a little refactoring.
2003-08-28 Alp Toker <alp@atoker.com>
* glue/style.c: glue and corresponding .custom entries for
TextGC
2003-08-26 John Luke <jluke@cfl.rr.com>
* gtk/ThreadNotify.cs: mark dllimported methods private
2003-08-26 Gonzalo Paniagua Javier <gonzalo@ximian.com>
* gconf/GConf/Value.cs: implemented support for lists.
* glib/ListBase.cs: implemented the IDisposable stuff and created a
new method, FreeList, to free the list when needed.
* glade/HandlerNotFoundException.cs: make it derive from
SystemException. Don't override Message, the message is created in the
.ctor.
2003-08-26 Alp Toker <alp@atoker.com>
* glue/style.c: glue and corresponding .custom entries for
BaseGC, plus the ability to set GCs
2003-08-21 Martin Willemoes Hansen <mwh@sysrq.dk>
* gnomeprint:
* api/gnomeprint-api.xml: Removed, gnomeprint is now included
in gnome.
2003-08-19 John Luke <jluke@cfl.rr.com>
* glib/ListBase.cs: Add convenience .Append (string) method
2003-08-19 Martin Willemoes Hansen <mwh@sysrq.dk>
* generator/Method.cs: Fixed bug where all ToString methods
was marked as override, this is only correct if the ToString
method does not have any parameters.
2003-08-18 Aleksey Sanin <aleksey@aleksey.com>
* generator/SignalHandler.cs : take refs on GObject sig parms.
2003-08-15 Duncan Mak <duncan@ximian.com>
* sources/Gtk.metadata (Gtk.TreeView.CellArea): Apply patch from
Aleksey Sanin <aleksey@aleksey.com> to declare the "Gdk.Rectangle
rect" parameter as an out parameter. This is required because
Gdk.Rectangle is a struct.
2003-08-14 Martin Willemoes Hansen <mwh@sysrq.dk>
* sources/Gnome.metadata: Renamed use of keyword base to Base
in GnomePrintUnit method GetIdentity.
Added GObject as the parent for GnomePrintTransport and
GnomePrintPdf
* sources/gtk-sharp.sources: Added libgnomeprintui/gpaui
2003-08-13 Martin Willemoes Hansen <mwh@sysrq.dk>
* sources/makefile:
* sources/gtk-sharp.sources: Added libgnomeprint-2.2.2 and
libgnomeprintui-2.2.2
2003-08-08 Mike Kestner <mkestner@ximian.com>
* sources/gtk-sharp.sources : point to gtkhtml-3.0.8 dir
* sources/gtkhtml-font-style-enum.patch : ditto
* sources/makefile : fix some urls, make a get-gtkhtml-code
target, and use gtkhtml-3.0.8 instead of cvs.
2003-08-06 Duncan Mak <duncan@ximian.com>
* sources/Atk.metadata: Make Mr. Art.VpathDash an Opaque struct
instead of a plain ol' struct.
* sources/Gtk.metadata (Gtk.Widget.SizeRequest): Mark the
requisition parameter as out.
2003-08-06 Xavier Amado <xavier@blackbloodstudios.com>
* gtk/Notebook.custom (CurrentPageWidget): Added a property for
getting the current page widget directly.
2003-07-30 Duncan Mak <duncan@ximian.com>
* sources/Gnome.metadata:
(CanvasItem.SetValist):
(CanvasItem.Construct): Hidden, because we don't support va_list
params.
(CanvasItem): Hid the constructor, as each subclass has their own
contsructor and we don't support va_list params.
(CanvasItem.W2i):
(CanvasItem.I2w): Marked parameters as ref, so they can be used as
in/out parameters.
(Canvas.GetMiterPoints):
(Canvas.GetColor): Fixed return type to be 'bool' instead of 'int'.
(CanvasClipgroup.Wind): Fixed property type. It should be an
Art.WindRule enum, not a UInt.
(Canvas.W2cAffine):
(CanvasItem.AffineAbsolute):
(CanvasItem.AffineRelative):
(CanvasItem.I2wAffine):
(CanvasItem.I2cAffine): Hidden, use the impl. in the custom file
instead.
* gnome/Canvas.custom: Added for W2cAffine.
* gnome/CanvasItem.custom: Reformatted. Added AffineRelative,
AffineAbsolute, I2wAffine, I2cAffine. These are needed because of
the 'const double affine[6]' parameter.
2003-07-29 Duncan Mak <duncan@ximian.com>
* sources/Gtk.metadata:
* api/gtk-api.xml: Marked the arguments to GetSelectionBounds and
GetLayoutOffsets as out params.
2003-07-28 Duncan Mak <duncan@ximian.com>
* glade/XML.custom: Added new convenience factory methods,
FromStream and FromAssembly.
2003-07-27 Duncan Mak <duncan@ximian.com>
* art/Makefile.in:
* atk/Makefile.in:
* gda/Makefile.in:
* gdk/Makefile.in:
* glade/Makefile.in:
* gnome/Makefile.in:
* gnomedb/Makefile.in
* gtk/Makefile.in:
* pango/Makefile.in:
* rsvg/Makefile.in: Suppress warnings CS0660 and CS0661.
2003-07-23 Mike Kestner <mkestner@ximian.com>
* gtk/FileSelection.custom : more s/new Object/GetObject
2003-07-23 Mike Kestner <mkestner@ximian.com>
[Equal credit to Ettore Perazzoli <ettore@ximian.com> for fixing
all the bugs in the initial patch]
* */*.custom : fix incorrect usage of new Object (IntPtr) where
Glib.Object.GetObject should've been used. add ref_owned param
to GetObject calls.
* generator/CallbackGen.cs : setup ref_owned in bodies
* generator/ClassBase.cs : add ref_owned to GetObject FromNative call
* generator/Method.cs : setup ref_owned in bodies
* generator/Property.cs : setup ref_owned in bodies
* generator/SignalHandler.cs : pass ref_owned to GetObject
* generator/StructBase.cs : setup ref_owned in bodies
* glib/Object.cs : kill Ref/Unref methods. Don't want it to be
easy for users to screw with ref counts, or make it look like they
should need to.
(GetObject): add ref_owned param and ref/unref to remain at 1
* glib/Value.cs : pass ref_owned to GetObject
2003-07-23 Martin Willemoes Hansen <mwh@sysrq.dk>
* generator/ClassBase.cs: Fixed printouts of ctor validation.
Warnings refering to the same ctor were printed multiple times.
2003-07-22 John Luke <jluke@cfl.rr.com>
* sample/TreeViewDemo.cs:
remove GLib and System.Drawing references
remove workaround for mscorlib
use Type.GetMembers instead of .GetMethods
remove Glib.IdleHandler for simplicity
2003-07-22 Mike Kestner <mkestner@speakeasy.net>
* generator/Method.cs (GenerateBody): kill the "cast_type"
overload of this, since cast_type wasn't even used.
* generator/Property.cs : call simpler GenerateBody sig
2003-07-22 Duncan Mak <duncan@ximian.com>
* gtk/FileSelection.custom (FSButton): Mark the constructor as
'internal', instead of 'public'.
2003-07-15 Duncan Mak <duncan@ximian.com>
* sources/makefile (get-source-code): make it go a bit faster by
checking out all files in one go.
* gtk/IconSet.custom (Sizes): added proper binding to
gtk_icon_set_get_sizes (), this fixes bug #45835.
* sources/Gtk.metadata
(GtkIconSet): hide the GetSizes method.
(GtkTextBuffer): new overrides
MoveMarkByName -> MoveMark
DeleteMarkByName -> DeleteMark
ApplyTagByName -> ApplyTag
RemoveTagByName -> RemoveTag
(GtkItemFactory): new overrides
GetItemByAction -> GetItem
GetWidgetByAction -> GetWidget
These two changes fixes bug #46388.
(GtkHTML): overrides for Begin, mark BeginContent and BeginFull as
overrides of Begin. This fixes bug #46427.
* sources/gtkhtml-font-style-enum.patch: A patch to use real values
in gtkhtml-enums.h so that the parser won't choke on the complex enum
declarations.
* sources/makefile: Apply the above patch after checking out the
source code for GtkHTML.
2003-07-14 Mike Kestner <mkestner@speakeasy.net>
* api/*-api.xml : regenerated
* gdk/Drawable.custom : DrawRectangle filled param is now bool
* generator/Parameters.cs : studlify names ending w/ uscore
* gtk/GtkSharp.GtkClipboardClearFuncNative : s/Opaque/Object
* gtk/GtkSharp.GtkClipboardGetFuncNative : s/Opaque/Object
* parser/gapi2xml.pl : put <ns>_string_* methods in Global
* sample/Scribble.cs : update to new DrawRectangle api
* sources/Gdk.metadata : hide some conflicting methods
* sources/Gtk.metadata : finally fix the Progress crap and
renames, hides and such to fix conflicts
* sources/README : mention new gtk-2.2 reqs
* sources/gtk-sharp.sources : update to new gtk-2.2 reqs
* sources/makefile : update for 2.2 api
2003-07-12 Mike Kestner <mkestner@speakeasy.net>
* api/gda-api.xml : hide the new Type class
* source/Gda.metadata : hide the new Type class
2003-07-11 Mike Kestner <mkestner@speakeasy.net>
* gdk/Selection.custom : add static fields for the primary,
secondary, and clipboard and clipboard selection Gdk.Atoms.
* glue/Makefile.am : add selection.c
* glue/selection.c : add glue to get the atoms.
* gtk/TextBuffer.custom : add a PasteClipboard overload for
pasting to the cursor location.
2003-07-10 Mike Kestner <mkestner@speakeasy.net>
* api/*-api.xml : regenerated
* gdk/Threads.cs : killed since the methods are now gen'd
* generator/ClassGen.cs : new, static class generatable
* generator/Parameters.cs : mangle new and byte as param names
* generator/Parser.cs : parse new <class> elements
* generator/SymbolTable.cs : add GC SimpleGen
* parser/gapi2xml.pl : static class element fixes
* parser/GAPI/Metadata.pm : add class element
* sources/Art.metadata: new, rename Affine.ToString method
* sources/Atk.metadata: rename State class
* sources/Gdk.metadata: hide Pixbuf static class for now. rename
Event and Pango static classes to avoid collisions.
* sources/Gnome.metadata: rename Gtk and Gdk static classes to
avoid collisions.
* sources/GnomeDb.metadata: rename Stock static class to
avoid collisions.
* sources/Gtk.metadata: rename Stock static class to
avoid collisions. Hide Idle class.
2003-07-08 Ettore Perazzoli <ettore@ximian.com>
* gtk/Layout.custom: New file, adding the Layout::BinWindow
property.
* glue/layout.c: New file, adding glue for getting the bin_window
of a GtkLayout.
2003-07-06 Mike Kestner <mkestner@speakeasy.net>
* api/gtk-api.xml : regenerated
* parser/GAPI/Metadata.pm : add support for property
attribute alteration.
* sources/Gtk.metadata : rule to mark TextTag.Weight as
PangoWeight instead of gint. fixes 45214.
2003-07-05 Mike Kestner <mkestner@speakeasy.net>
* api/*-api.xml : regenerated
* parser/gapi2xml.pl : first pass at trying to expose
static classes for typeless method aggregation.
2003-07-05 Mike Kestner <mkestner@speakeasy.net>
* sources/makefile : fix the download uri's for the gnomedb
lib source.
2003-07-04 Mike Kestner <mkestner@speakeasy.net>
* api/*-api.xml : regenerated
* parser/gapi2xml.pl (addFuncElems): only ignore get_type
methods for enum types, so that we don't suppress some methods.
(addPropElem): remove doc-str since we don't autogen docs and
access types for enum/boxed/flags/obj as an offset from the end
of the param_spec to avoid problems with split(/,/).
2003-07-04 Rodrigo Moya <rodrigo@ximian.com>
* sources/makefile: updated download targets for libgda and
libgnomedb.
2003-07-04 Rodrigo Moya <rodrigo@ximian.com>
* sources/gtk-sharp.sources:
* api/gda-api.xml:
* api/gnomedb-api.xml: updated for libgda/libgnomedb 0.90.
2003-07-05 Martin Willemoes Hansen <mwh@sysrq.dk>
* glib/Object.cs: Changed getData, setData to a single Data property
Different keys are allowed now.
2003-07-02 Shane Hyde <shane@enactive.org>
* generator/GenBase.cs : put #line directive after the
#region so line numbers match up.
2003-07-02 Mike Kestner <mkestner@speakeasy.net>
* generator/StructBase.cs : remove doc comments
2003-06-25 Martin Willemoes Hansen <mwh@sysrq.dk>
* parser/gapi_pp.pl: Added striping of C comments
2003-06-23 Martin Willemoes Hansen <mwh@sysrq.dk>
* glib/Type.cs: Added ToString
2003-06-14 Mike Kestner <mkestner@speakeasy.net>
* configure.in : tagging for 0.10
2003-06-14 Mike Kestner <mkestner@speakeasy.net>
* gtk/TreeViewColumn.custom : cast Array param to
object[] before indexing into it.
2003-06-14 Mike Kestner <mkestner@speakeasy.net>
* glib/Value.cs : cast uint to TypeFundamentals
2003-06-14 Mike Kestner <mkestner@speakeasy.net>
* CallbackGen.cs : rework for internal callback helpers,
pass NS to parms ctor
* Ctor.cs : pass NS to parms ctor
* Method.cs : pass NS to parms ctor
* Parameters.cs : refactoring, plus rework for internal
callback helpers.
* Signal.cs : pass NS to parms ctor
2003-06-14 Mike Kestner <mkestner@speakeasy.net>
* parser/gapi2xml.pl : some whitespace parsing cleanup
* api/*-api.xml : rerun of the parser.
2003-06-12 Mike Kestner <mkestner@speakeasy.net>
* generator/SimpleGen.cs : mark a few members virtual
since they are overridden elsewhere.
2003-05-29 Rachel Hestilow <rachel@nullenvoid.com>
* gconf/Value.cs: Update to use new string marshalling.
* generator/StringGen.cs, ConstStringGen.cs: Added.
* generator/IGeneratable.cs: Add new method ToNativeReturn.
* generator/CallbackGen.cs: Implement ToNativeReturn. Call
ToNativeReturn for the return statement. Fix a couple of
places where s_ret was being used incorrectly for m_ret.
* generator/ClassGen.cs, EnumGen.cs, ManualGen.cs,
SimpleGen.cs, StructBase.cs: Implement ToNativeReturn.
* generator/SignalHandler.cs: Call ToNativeReturn for the
return statement, instead of CallByName.
* generator/SymbolTable.cs: Use StringGen for gchar, char,
and gunichar, and ConstStringGen for their const variants.
Add a new method wrapper for ToNativeReturn.
(Trim): Add a special-case for const strings so that the
const is not stripped. Otherwise there is no way of
resolving the const case.
* glade/XML.custom: Update to use new string marshalling.
* glib/Marshaller.cs: Added.
* glib/GException.cs, Markup.cs, ObjectManager.cs,
Value.cs: Update to use new string marshalling.
* glib/Object.cs: Remove old g_type_name DllImport
as it is no longer used.
* glue/fileselection.c (gtksharp_file_selection_get_fileop_entry):
Mark this as const return.
* gtk/ColorSelection.custom, FileSelection.custom,
SelectionData.custom: Update to use new string marshalling.
2003-06-07 Martin Willemoes Hansen <mwh@sysrq.dk>
* generator/SymbolTable.cs: Added ulong
2003-05-27 Rachel Hestilow <rachel@nullenvoid.com>
* sample/ManagedTreeViewDemo.cs: Remove debugging cruft.
* gconf/.cvsignore, gconf/GConf/.cvsignore,
gconf/GConf.PropertyEditors/.cvsignore,
gconf/tools/.cvsignore, sample/gconf/.cvsignore,
sample/rsvg/.cvsignore: Added.
* .cvsignore, parser/.cvsignore: Update.
2003-05-27 Rachel Hestilow <rachel@nullenvoid.com>
* gconf/GConf/ChangeSet.cs, Client.cs: Change SetValue
from protected to internal, as it references an internal type.
* gconf/GConf/ClientBase.cs: The same; additionally
remove some commented-out code. Change Initialize from
protected to internal.
2003-05-22 Rachel Hestilow <rachel@nullenvoid.com>
* glib/ManagedValue.cs, glib/Value.cs: A few old-style
DllImports snuck in during my last commit; update them
to use Win32 dll names.
2003-04-28 Lee Mallabone <gnome@fonicmonkey.net>
* sources/Gtk.metadata, api/gtk-api.xml: Unhide GtkSizeGroup
as it's a useful class.
2003-05-19 Rachel Hestilow <rachel@nullenvoid.com>
* glib/ManagedValue.cs, TypeConverter.cs: Added.
* glib/Value.cs: Make Value inherit from IDisposable, and
move dtor to Dispose. Add generic object constructor
with support for ManagedValue. Add a new Val property
which will call the appropriate explicit cast.
* glue/value.c: Add new glue function
gtksharp_value_get_value_type.
* gtk/TreeViewColumn.custom: Added.
* gtk/ListStore.custom, TreeStore.custom: Add a number
of SetValue overloads. Add convenience functtion
AppendValues. Add new ctor that takes System.Type instead
of GLib.TypeFundamentals. Add a GetValue convenience wrapper.
* gtk/TreeView.custom: Add AppendColumn convenience
functions.
* sample/ManagedTreeViewDemo.cs: Added.
* sample/Makefile.in: Update.
* sample/TreeViewDemo.cs: Update to use new convenience
APIs.
2003-05-18 Mike Kestner <mkestner@speakeasy.net>
* generator/CallbackGen.cs : use non-static symtab, kill doc comments
* generator/ClassBase.cs : use non-static symtab
* generator/CodeGenerator.cs : use non-static symtab
* generator/EnumGen.cs : kill doc comments, don't gen using System here
* generator/GenBase.cs : gen using System here for all types
* generator/InterfaceGen.cs : don't gen using System here.
* generator/Method.cs : use non-static symtab
* generator/ObjectGen.cs : kill doc comments, use non-static symtab
* generator/OpaqueGen.cs : don't gen using System here.
* generator/Parameters.cs : use non static symtab.
* generator/Parser.cs : use non static symtab. add SimpleGen's and
ManualGen's
* generator/Property.cs : use non static symtab
* generator/SignalHandler.cs : use non static symtab
* generator/StructBase.cs : use non static symtab
* generator/SymbolTable.cs : major refactoring. now uses SimpleGen and
ManualGen IGeneratables to simplify the method and prop code. Is now
instance based with a static prop to get the singleton instance, so that
a this indexer can be provided to access the IGeneratables nicely. Gearing
up to remove even more code from here by accessing IGeneratables directly.
2003-05-18 Mike Kestner <mkestner@speakeasy.net>
* generator/ClassBase.cs : Use QualifiedName in spew
* generator/ObjectGen.cs (Validate): kill, not used
2003-05-13 Mike Kestner <mkestner@speakeasy.net>
* COPYING : Add the license. This is copied verbatim from
http://www.gnu.org/licenses/lgpl.txt.
2003-05-13 Mike Kestner <mkestner@speakeasy.net>
* configure.in : bump the version to 0.10
* generator/CallbackGen.cs (GenWrapper): Update sig preparing for
external assembly wrapper generation. Kill doc comment generation.
Make marshaling delegate internal.
2003-05-07 Mike Kestner <mkestner@speakeasy.net>
* generator/ClassBase.cs (GenSignals): remove doc comment param
* generator/GenBase.cs (CreateWriter): alter generated file comment
* generator/InterfaceGen.cs (CreateWriter): remove doc comments
* generator/ObjectGen.cs (Generate): use new GenSignals sig
* generator/Signal.cs : make signal marshalers internal and remove
doc comments.
* generator/SignalHandler.cs : make signal marshalers internal and remove
doc comments.
* gnome/CanvasProxy.cs : use Gnome.voidObjectSignal since the gtk one is
inaccessible now.
2003-05-05 Gonzalo Paniagua Javier <gonzalo@ximian.com>
* rsvg/Makefile.in:
* sample/rsvg/Makefile.in: hopefully fixes building from scratch.
* rsvg/Tool.cs: the class should be public.
2003-05-02 Alp Toker <alp@atoker.com>
* sources/gtk-sharp.sources:
* api/glade-api.xml:
* glade/XML.custom: Use libglade-2.0-0.dll not glade-2.0 (for win32)
2003-04-30 Mike Kestner <mkestner@speakeasy.net>
* tagging for release 0.9
2003-04-28 Lee Mallabone <gnome@fonicmonkey.net>
* api/gtk-api.xml, sources/Gtk.metadata: Add a rule to
hide classes/structs that are private in Gtk+.
2003-04-28 Gonzalo Paniagua Javier <gonzalo@ximian.com>
* sample/Scribble.cs: patch from Philip Van Hoof
<spamfrommailing@freax.org> taht fixes compilation.
2003-04-25 Charles Iliya Krempeaux <charles@reptile.ca>
* README : Updated to reflect the name change or the
"MonkeyGuide" to the "Mono Hand Book". Updated to
give the (new) correct chapter number for the
GNOME.NET section. Added mention of the
Gtk# Wiki.
2003-04-25 Charles Iliya Krempeaux <charles@reptile.ca>
* gtk-sharp.pc.in, parser/gapi.pc.in : Both of these
files were checked in as empty files, before. Checked
them in, this time, with something in them.
2003-04-16 Charles Iliya Krempeaux <charles@reptile.ca>
* gdk/EventKey.custom : Created it so that there
is a "Key" property that returns a Gdk.Key.
2003-04-15 Gonzalo Paniagua Javier <gonzalo@ximian.com>
* gtk/TreeView.custom:
(GetPathAtPos): added 3 overloads of this method so that the caller
does not need to create extra variables that may not use.
* api/gtk-api.xml:
* sources/Gtk.metadata: added pass_out attribute for tx and ty
arguments of TreeView::WidgetToTreeCoords. Hide TreeView::GetPathAtPos.
2003-04-14 Charles Iliya Krempeaux <charles@reptile.ca>
* gtk-sharp.pc.in : Created to be used for the detection of
Gtk#.
* parser/gapi.pc.in : Created to be used for the detection
of gapi.pl.
* makefile : Deleted it. (Actually, renamed it to Makefile.in.)
* Makefile.in : Created it from the old makefile, and modified it
to account for gtk-sharp.pc.
* configure.in : Made it so it will generate gtk-sharp.pc
from gtk-sharp.pc.in, parser/gapi.pc from
parser/gapi.pc.in, and Makefile from Makefile.in.
* parser/Makefile.in : Modified it to account for parser/gapi.pc.
2003-04-14 Lee Mallabone <gnome@fonicmonkey.net>
* api/gtk-api.xml, sources/Gtk.metadata, gtk/ColorSelection.custom:
Fix up API in ColorSelection - Palette{From,To}String now work, and
PreviousColor is now a C# property.
* api/gdk-api.xml, sources/Gdk.metadata, gdk/Color.custom: Hide the
Copy, Free and Hash methods in Gdk.Color and override GetHashCode().
2003-04-12 Alp Toker <alp@atoker.com>
* parser/gen_keysyms: Generates a C# Key enum from the Gdk headers
(gdkkeysyms.h)
* gdk/Key.cs: The generated Key enum
2003-04-09 Gonzalo Paniagua Javier <gonzalo@ximian.com>
* glib/Object.cs:
(GetObject): check that the target of the WeakReference is still there. Otherwise,
create a new wrapper for the IntPtr.
This fixes the random nullrefs when running nunit-gtk.
2003-04-03 Gonzalo Paniagua Javier <gonzalo@ximian.com>
* generator/CallbackGen.cs: the new generated wrappers have:
-(optional) Field of the same type returned by the callback.
-A call to RemoveIfNotAlive at the beginning. It returns true,
return the dummy field.
-Added an object to the ctor signature and pass it to the base
class.
* generator/Ctor.cs: added a Params property.
* generator/Method.cs: set Static property in Parameters if the method
is static.
* generator/Parameters.cs: added Static property. The call creation of
the delegate wrapper (if applicable) uses the new signature. Pass a null
as object is the method is static.
* generator/StructBase.cs: set Static for the parameters of the ctors.
* glib/DelegateWrapper.cs: the ctor takes an object (the one creating
the wrapper or null) and creates a weak reference to it. Store it in
a static Hashtable (this way the wrapper itself is not garbage
collected).
(RemoveIfNotAlive): called from the native delegate callbacks. If the
target of the weak reference has been garbage collected, removes itself
from the hashtable to let the GC dispose this instance and returns true.
* gdk/Pixbuf.custom:
* gtk/Clipboard.custom:
* gtk/GtkSharp.GtkClipboardClearFuncNative.cs:
* gtk/GtkSharp.GtkClipboardGetFuncNative.cs:
* glade/XML.custom: changed delegate wrappers to match the new
signature.
2003-04-04 Lee Mallabone <gnome@fonicmonkey.net>
* gdk/Drawable.custom:
* sources/Gdk.metadata:
* api/gdk-api.xml: Apply a modified version of a patch from
Artemis <artemis@yandex.ru>, to fix and clean DrawPolygon and
DrawLines in Gdk.Drawable.
2003-04-02 Charles Iliya Krempeaux <charles@reptile.ca>
* generator/SignalHandler.cs : Added Patch submitted by
Mark Crichton <crichton@gimp.org>, to get GtkMozEmbed
bindings working.
2003-04-02 Lee Mallabone <gnome@fonicmonkey.net>
* gtk/Entry.custom: Add a constructor that sets the initial contents.
* sources/Gtk.metadata:
* api/gtk-api.xml: Fix API 'out' parameters in 'Frame' and some in 'Widget'.
2003-03-27 Lee Mallabone <gnome@fonicmonkey.net>
* api/gtk-api.xml, sources/Gtk.metadata, gtk/Viewport.custom:
Add default constructor to Viewport.
2003-03-25 Lee Mallabone <gnome@fonicmonkey.net>
* api/gtk-api.xml: Allow parameters in TreeView.ScrollToCell to be null.
* source/Gtk.Metadata: Mark TreeView.ScrollToCell() with some null_ok params.
2003-03-25 Martin Baulig <martin@ximian.com>
* gtk/Application.cs (CurrentEvent): Made this property static.
2003-03-25 Gonzalo Paniagua Javier <gonzalo@ximian.com>
* sample/rsvg/Makefile.in: don't build the sample app. everytime.
2003-03-25 Gonzalo Paniagua Javier <gonzalo@ximian.com>
* api/gtk-api.xml: changed DisplayOptions by SetDisplayOptions.
* sources/Gtk.metadata: added rename hint for DisplayOptions. Moved
GtkHTMLStream hints to 'misc' area (they were in 'rename' area).
* gtk/Calendar.custom: added a .net style GetDate override.
* sample/CalendarApp.cs: updated to new methods in the Calendar API.
2003-03-23 Martin Baulig <martin@ximian.com>
* glib/Object.cs (Dispose): Call `Objects.Remove (_obj)' here
instead of in PerformQueuedUnrefs().
2003-03-22 Gonzalo Paniagua Javier <gonzalo@ximian.com>
* sample/Fifteen.cs: work-around for bug 106145 in gnome bugzilla.
* sample/DbClient/client.cs: updated to make it compile again.
2003-03-22 Gonzalo Paniagua Javier <gonzalo@ximian.com>
* glue/adjustment.c:
* glue/canvaspoints.c:
* glue/clipboard.c:
* glue/colorseldialog.c:
* glue/combo.c:
* glue/dialog.c:
* glue/error.c:
* glue/event.c:
* glue/fileselection.c:
* glue/list.c:
* glue/object.c:
* glue/paned.c:
* glue/program.c:
* glue/slist.c:
* glue/style.c:
* glue/type.c:
* glue/value.c:
* glue/widget.c: removed almost all the warnings.
2003-03-22 Lee Mallabone <gnome@fonicmonkey.net>
* sample/makefile.in:
* sample/CalendarApp.cs: Add a sample showing a Gtk.Calendar.
2003-03-15 Duncan Mak <duncan@ximian.com>
* gtk/ColorSelectionDialog.custom: Rename the inner Button class
to be ColorSelectionButton to avoid a name clash in the doc generator.
* gtk/TextBuffer.custom: Fix the Text property. Patch from Mathias
Hasselmann <mathias.hasselmann@gmx.de>.
2003-03-15 Miguel de Icaza <miguel@ximian.com>
* sample: Update samples to new Glade.Widget.
* glade/WidgetAttribute.cs: Moved the old GladeWidgetattribute
here. Now its called `Glade.WidgetAttribute'.
* glade/GladeWidgetAttribute.cs: Removed
* glib/Idle.cs: Do not allow Idle class to be instantiated.
2003-03-11 Miguel de Icaza <miguel@ximian.com>
* gtk/Application.cs (CurrentEvent): Property implementing the
suggestion from Paolo.
* glib/Object.cs (Dispose): Destructor might be invoked in a
thread, queue the object for destruction using the Gtk idle
handler. We perform the real destruction of the object in the
same thread as the Gtk+ main thread.
2003-03-14 Charles Iliya Krempeaux <charles@reptile.ca>
* sources/makefile : Added a "distclean" rule, so
that typing it will remove any source code directories,
and their contents. (This works by just deleting all
the subdirectories. Except for "CVS" of course.)
2003-03-14 Charles Iliya Krempeaux <charles@reptile.ca>
* sample/Makefile.in : Modified it to make it so "make clean"
will clean the "sample/rsvg" directory too. And made it so
a "make distclean" will do a distclean to the "sample/rsvg"
too.
* sample/rsvg/Makefile.in : Added the "distclean" rule to
it.
2003-03-14 Rodrigo Moya <rodrigo@ximian.com>
* configure.in:
* sources/makefile:
* sources/gtk-sharp.sources: updated for libgda/libgnomedb 0.11.
* sources/Gda.metadata: hide GdaBatch class.
2003-03-13 Charles Iliya Krempeaux <charles@reptile.ca>
* README : Did some spelling and grammar corrections.
Fixed indentation problem. And added some more info.
* HACKING: Added info for people getting started with
hacking Gtk#.
2003-03-13 Duncan Mak <duncan@ximian.com>
* gdk/Pixbuf.custom: Add a nice version of Gdk.Pixbuf.Pixels that
return a 'byte *'.
* sources/Gdk.metadata:
* api/gdk-api.xml: Hide Gdk.Pixbuf.Pixels.
2003-03-10 Miguel de Icaza <miguel@ximian.com>
* gtk/Application.cs: Do not allow instances of Application to be
created.
(InitCheck): new method, wraps gtk_init_check.
Removed inline docs from here. Put them on the documen
2003-03-08 Miguel de Icaza <miguel@ximian.com>
* glib/Idle.cs: Add private constructor.
2003-03-05 Miguel de Icaza <miguel@ximian.com>
* gtk/Bin.cs: Add new property `Child' to GtkBin.
2003-03-06 Mike Kestner <mkestner@speakeasy.net>
* rsvg/Makefile.in : some -L -r magic
2003-03-03 Miguel de Icaza <miguel@ximian.com>
* gdk/Rectangle.custom: Add a Rectangle constructor that takes for
arguments.
2003-03-02 Miguel de Icaza <miguel@ximian.com>
* glib/Markup.cs: Add new file.
2003-03-01 Peter Williams <peterw@ximian.com>
* glue/Makefile.am (libgtksharpglue_la_LIBADD): Change this to
BASE_DEPENDENCIES_LIBS
2003-03-01 Mike Kestner <mkestner@speakeasy.net>
* api/gdk-api.xml : make Color.Parse retval a gboolean. Also change
some libname override rules to use win32 dllnames.
* sources/Gdk.metadata : rules for above.
2003-03-01 Charles Iliya Krempeaux <charles@reptile.ca>
* sources/README : Updated it to include mention of GStreamer
and librsvg. Also mentioned being able to use
"make get-source-code" to get the source code too.
Then added alot of content. And basically rewrote it.
2003-02-28 Miguel de Icaza <miguel@ximian.com>
* glue/widget.c (gtksharp_gtk_widget_get_window): Fix. Return the
window, not the address of the window pointer.
2003-02-28 Gonzalo Paniagua Javier <gonzalo@ximian.com>
* generator/SignalHandler.cs: the generated Dispose method now calls
base.Dispose and always disconnects the handler. Thanks to
Petr Danecek <danecek@ucl.cas.cz>.
2003-02-28 Gonzalo Paniagua Javier <gonzalo@ximian.com>
* api/gdk-api.xml:
* sources/Gdk.metadata: hide GdkColormap.AllocColor.
* gdk/Colormap.custom: AllocColor is here.
* gconf/tools/schemagen.cs: XmlDocument.Load (string) takes an Uri.
2003-02-28 Miguel de Icaza <miguel@ximian.com>
* gdk/Color.custom: Added constructors from System.Drawing.Color
and from rgb byte tuples.
* gdk/Colormap.custom: Add new .custom file for the AllocColor
call.
* sources/Gdk.metadata: Make Colormap.AllocColor GdkColor
parameter be a `ref' parameter.
2003-02-27 Charles Iliya Krempeaux <charles@reptile.ca>
* sample/rsvg : Created place to put sample program
that uses Rsvg#.
* sample/Makefile.in : Edited it to make it "make"
the stuff in "sample/rsvg".
* sample/rsvg/Makefile.in : Added it to "make" the
Rsvg# sample program.
* sample/rsvg/svghelloworld.cs : Added it. It's
the sample Rsvg# program.
* sample/rsvg/sample.cvs : Added it. It's a
sample SVG file that the program displays.
* configure.in : Modified it so it will create
sample/rsvg/Makefile from sample/rsvg/Makefile.in.
2003-02-27 Charles Iliya Krempeaux <charles@reptile.ca>
* sources/makefile : Updated the "make get-source-code"
functionality to create the Symbolic Links and get
gtkhtml from CVS, as specified by "sources/READDME".
2003-02-27 Miguel de Icaza <miguel@ximian.com>
* gdk/Drawable.custom: Added nice overload for DrawRectangle.
2003-02-19 Miguel de Icaza <miguel@ximian.com>
* gdk/Pixbuf.custom: Add overload arguments that take a
System.Drawing.Color.
Added a Clone() method, to implement the ICloneable interface.
Added constructors for inlined in-data RGB/RGBA buffers and file
images.
2003-02-26 Charles Iliya Krempeaux <charles@reptile.ca>
* gtk/TextBuffer.custom : Added method, named
"GetIterAtOffset" to wrap C API procedure
"gtk_text_buffer_get_iter_at_offset" in a
more expected way.
2003-02-26 Charles Iliya Krempeaux <charles@reptile.ca>
* configure.in : Added support for Rsvg.NET -- librsvg
.NET bindings. (Made a check for the library. And
made it so "rsvg/Makefile" would be generated. Also
made it so it will display if rsvg-sharp.dll will
be generated or not.)
* makefile : Added support for Rsvg.NET -- librsvg
.NET bindings. (Added an entry for Rsvg.NET.)
* sources/gtk-sharp.sources : Added an entry for
Rsvg.NET -- librsvg .NET bindings.
* rsvg/ : Created "rsvg/" directory. (To hold stuff
for Rsvg.NET.)
* rsvg/Tool.cs : Created Rsvg.Tool class to hold
various procedures (which were not automatically
wrapped).
* rsvg/Makefile.in : Created "rsvg/Makefile.in".
* api/Makefile.in : Added and entry for Rsvg.NET.
2003-02-26 Gonzalo Paniagua Javier <gonzalo@ximian.com>
* generator/Parser.cs: use XmlDocument.Load (Stream). The one using
(String) expects an uri.
* generator/Signal.cs: always remove the delegate from the signal
callback (prior to this, the last handler was not being removed).
Dispose the callback (ie, disconnect from the signal) when there are
no registered delegates to handle it.
* generator/SignalHandler.cs: added 2 new fields to hold the instance
and the handler ID. The finalization is now done in Dispose and
disconnects the signal handler when no delegate will handle the signal.
Changed gobject-2.0 to libgobject-2.0-0.dll.
* glib/SignalCallback.cs: implemented IDisposable interface.
2003-02-24 Mike Kestner <mkestner@speakeasy.net>
* released 0.8
2003-02-24 Mike Kestner <mkestner@speakeasy.net>
* sample/TreeViewDemo.cs : fix Type ambiguities
2003-02-24 Mike Kestner <mkestner@speakeasy.net>
* sample/Subclass.cs : rework the GType code.
2003-02-24 Mike Kestner <mkestner@speakeasy.net>
* generator/Parameters.cs : fix some ref/out bugs
2003-02-24 Mike Kestner <mkestner@speakeasy.net>
* generator/ObjectGen.cs : gen GLib.Value ctor, not uint
* glib/Object.cs : use GLib.Type in RegisterGType and
make the g_object_new ctor use GLib.Type.
* glib/Type.cs : new thin wrapper for GValue type
* glib/*.cs : s/Type/System.Type
2003-02-23 Mike Kestner <mkestner@speakeasy.net>
* generator/GenBase.cs : quote the custom filenames in
#file directives.
2003-02-23 Mike Kestner <mkestner@speakeasy.net>
* generator/CallbackGen.cs : suppress len params from
string/len pairs.
* generator/Parameters.cs : begin the refactoring to use
Parameter class. Suppress len params from string/len pairs.
*/*.custom : remove all overrides of string/len pairs
*/*.cs : ditto. Thanks to Alp Toker for the foundation
patch that this change was built upon.
2003-02-22 Mike Kestner <mkestner@speakeasy.net>
* sources/makefile : patch from Charles Krempeaux to add
get-source-code target which wgets tarballs.
2003-02-21 Mike Kestner <mkestner@speakeasy.net>
* mapdllnames.pl : a little whitespace action
* api/*-api.xml : move to win32 dllnames
* */makefile.win32 : remove the mapdllnames step
* */*.cs : move to win32 dllnames
* */*.custom : move to win32 dllnames
* sources/gtk-sharp.sources : move to win32 dllnames
2003-02-21 Mike Kestner <mkestner@speakeasy.net>
* api/*-api.xml : remove stray enum get_type methods.
* parser/gapi2xml.pl : ignore get_type methods on enums.
2003-02-20 Mike Kestner <mkestner@speakeasy.net>
* api/gtk-api.xml : hide the Arrow::Set method.
* sources/Gtk.metadata : metadata for above.
2003-02-19 Mike Kestner <mkestner@speakeasy.net>
* generator/Parameters.cs (Initialize): construct a GLib.Value
for out params.
2003-02-19 Mike Kestner <mkestner@speakeasy.net>
* api/gtk-api.xml : mark TreeModel::GetValue value param out
suggested by Lee Mallabone <gnome@phonicmonkey.net>
* sources/Gtk.metadata : metadata for above
* sources/README : update the gnomedb/gda version reqs
2003-02-19 Duncan Mak <duncan@ximian.com>
* sources/Gtk.metadata: Add GetLayoutOffsets to the rule for out params.
* gtk/FileSelection.custom (Button): Rename to FSButton, so that
we won't wipe out our original Gtk.Button docs.
2003-02-19 Mike Kestner <mkestner@speakeasy.net>
* generator/GenBase.cs : mark #line 1 for .customs
* generator/SignalHandler.cs : fix for GObj retvals
2003-02-18 Mark Crichton <crichton@gimp.org>
* generator/EnumGen.cs: Handle different enum types.
2003-02-14 Duncan Mak <duncan@ximian.com>
* api/gtk-api.xml:
* sources/Gtk.metadata: Mark 'out' param in GetSelectionBounds,
thanks to Lee Mallabone for spotting that.
2003-02-13 Mike Kestner <mkestner@speakeasy.net>
* glib/Boxed.cs : fix a ctor bug reported to the list by
u900842@oz.nthu.edu.tw.
2003-02-13 Mike Kestner <mkestner@speakeasy.net>
* sample/Makefile.in: add a distclean target
2003-02-13 Charles Iliya Krempeaux <charles@reptile.ca>
* README : Clarifications and additions
2003-02-13 Stefan Sarin <gprojects@saring.de>
* gdk/Color.custom: fixed ToString ().
2003-02-13 Gonzalo Paniagua Javier <gonzalo@ximian.com>
* gconf/GConf/Client.cs:
* gconf/GConf/NoSuchKeyException.cs: added key string to the exception
when Get does not find it.
2003-02-11 Duncan Mak <duncan@ximian.com>
* gnome/voidObjectAffineSVPintSignal.cs:
* gnome/CanvasProxy.cs: Make the voidObjectAffineSVPintSignal
class be in the 'GtkSharp' namespace, instead of 'GtkSharp.Gnome'.
2003-02-10 Gonzalo Paniagua Javier <gonzalo@ximian.com>
* glade/XML.custom: added a couple of checks for null.
2003-02-09 Duncan Mak <duncan@ximian.com>
* sources/Gtk.metadata:
* api/gtk-api.xml: Gtk.Editable.InsertText should have the
position be marked 'ref', not 'out', because it is an in-out parameter.
* gtk/Entry.custom: Overload for InsertText.
* gtk/Clipboard.custom: New overload for SetText.
* sources/Gtk.metadata: Mark out params for methods in GtkCalendar,
GtkCellRenderer, GtkWindow, GtkRuler, GtkLayout, GtkScrolledWindow
and GtkSpinButton. Monotalk is very useful for this kind of work.
2003-02-08 Radek Doulik <rodo@ximian.com>
* glib/MainContext.cs: beginning of MainContext class, just
Iteration and Pending methods to be able to refresh Gtk in the
middle of time consuming function where it's not worth while to
use threads
* glue/style.c (gtksharp_gtk_style_get_font_description): new
function to access style's font_description field
* gtk/Style.custom: added font description property
* gconf/GConf/Client.cs: added SyggestSync method
2003-02-07 Peter Williams <peterw@ximian.com>
* glue/Makefile.am (libgtksharpglue_la_LIBADD): Set this so
that people linking to libgtksharpglue.so get their
dependencies.
(I've had this patch sitting around forever, I think it got
approved, and it certainly appears correct.)
2003-02-07 Martin Willemoes Hansen <mwh@sysrq.dk>
* Added a constructor to gdk/Point.custom
2003-02-07 Gonzalo Paniagua Javier <gonzalo@ximian.com>
* sample/gconf/Makefile: defined top_builddir. RUNTIME is just 'mono'.
2003-02-06 Duncan Mak <duncan@ximian.com>
* sources/Gtk.metadata: Correct the metadata for the HTMLStream
Write method to make it always regenerate the correct
stuff. Thanks to Rachel for helping me out at the middle of the
night.
2003-02-06 Duncan Mak <duncan@ximian.com>
* api/gtk-api.xml:
* sources/Gtk.metadata:
* gtk/Window.custom: Mark out params in gtk_window_get_size and gtk_window_get_default_size.
2003-02-06 Gonzalo Paniagua Javier <gonzalo@ximian.com>
* glib/SignalCallback.cs: new methods AddDelegate and RemoveDelegate.
* generator/Signal.cs: add/remove signal handlers from the delegate used
to invoke them.
* generator/SignalHandler.cs: use Delegate instead of MulticastDelegate.
2003-02-05 Rodrigo Moya <rodrigo@ximian.com>
* gda/Application.cs:
* gnomedb/Application.cs: synced version number with its corresponding
C library version.
2003-01-29 Duncan Mak <duncan@ximian.com>
* gtk/Widget.custom: Add a nice overload, rename it to
'RequestSize' instead of 'SizeRequest' to avoid a name clash.
* api/gtk-api.xml:
* sources/Gtk.metadata: out param for gtk_widget_get_size_request.
* gtk/Window.custom: Add some overloads.
* api/gtk-api.xml:
* sources/Gtk.metadata:
* sources/Pango.metadata: Add some more metadata rules.
2003-01-28 Rodrigo Moya <rodrigo@ximian.com>
* configure.in:
* api/gda-api.xml:
* api/gnomedb-api.xml:
* sources/gtk-sharp.sources:
* sources/Gda.metadata: added support for latest libgda/libgnomedb.
2003-01-22 Radek Doulik <rodo@ximian.com>
* sources/Gtk.metadata: disable default contructor for Frame in
metadata
* parser/gapi2xml.pl: add comment to .xml files with warning that
they were auto generated
2003-01-20 Mike Kestner <mkestner@speakeasy.net>
* released 0.7.
2003-01-12 Martin Baulig <martin@ximian.com>
* parser/gapi2xml.pl (addNameElem): Make this work if the $cname
doesn't start with $prefix.
2003-01-10 Duncan Mak <duncan@ximian.com>
* gtk/TextView.custom (WindowToBufferCoords): Remove the hack, as
the generator produces correct code now.
* sources/Gtk.metadata (GtkTextView): Add a patch from Fredrik
Nilsson <jymdman@home.se> to add needed 'out' parameters.
2003-01-09 Rodrigo Moya <rodrigo@ximian.com>
* makefile:
* configure.in:
* api/Makefile.in:
* api/gphoto-api.xml:
* sources/gtk-sharp.sources:
* gphoto/Makefile.in:
* gphoto/.cvsignore: removed gphoto2 bindings, to be moved to mphoto.
2003-01-06 Pedro Abelleira Seco <pedroabelleira@yahoo.es>
* pango/Layout.custom: Add Size get property and add some nicer overloads
to avoid explicit passing in the string length
2003-01-05 Pedro Abelleira Seco <pedroabelleira@yahoo.es>
* gdk/Drawable.custom: Add Size get property
2003-01-05 Duncan Mak <duncan@ximian.com>
* pango/GlyphString.custom: Add some nicer overloads to avoid
explicit passing in the string length.
2003-01-05 Duncan Mak <duncan@ximian.com>
* generator/GenBase.cs (AppendCustom): Add #region to code from
.custom files.
* generator/*Gen.cs: Add #region markers.
2003-01-05 Duncan Mak <duncan@ximian.com>
* sources/Gtk.metadata (TextIter.ForwardSearch): Add out param
(TextIter.BackwardSearch): Add out param here too.
* sources/Gdk.metadata (Drawable.GetSize): Add out param.
* gtk/TextBuffer.custom (Clear): Add a new Clear method.
2003-01-02 Alp Toker <alp@atoker.com>
* api/gst-api.xml: Give int values to the ElementState enum, remove
incorrectly generated SetInternalConnectionFunction and a duplicated
type field
2003-01-01 Alp Toker <alp@atoker.com>
* glade/XML.custom: Determine name of GladeWidget if none specified
* glade/GladeWidgetAttribute.cs: ditto
2003-01-01 Rachel Hestilow <hestilow@ximian.com>
* glade/XML.custom: New method BindFields.
(Autoconnect): Call BindFields.
* glade/GladeWidgetAttribute.cs: Added.
* sample/GladeTest.cs: Test GladeWidgetAttribute.
2002-12-25 Rodrigo Moya <rodrigo@ximian.com>
* sources/gtk-sharp.sources: added libgphoto2.
* api/gphoto-api.xml: added API file for libgphoto2.
* gphoto/Makefile.in: added Makefile for building libgphoto2
bindings.
* makefile:
* configure.in:
* api/Makefile.in: added libgphoto2 to build.
2002-12-25 Alp Toker <alp@atoker.com>
* doc/makefile: Accept the RUNTIME parameter for platforms without
/usr/bin/mono
* sample/gconf/Makefile: ditto
2002-12-24 Mike Kestner <mkestner@speakeasy.net>
* generator/ObjectGen.cs : generate protected GType ctors
* generator/SymbolTable.cs : map GType to uint
* glib/Object.cs : add GType ctor. add RegisterGType.
* glue/type.c (gtksharp_register_type): new GType registrar
* */*.custom : make GType params uints
* sample/Subclass.cs : a simple type registration example
2002-12-24 Alejandro Sánchez Acosta <raciel@gnome.org>
* samples/tutorial/notebook: Added notebook sample.
2002-12-23 Alp Toker <alp@atoker.com>
* glib/Thread.cs: Add a class for thread awareness
* gdk/Threads.cs: ditto
2002-12-22 Kristian Rietveld <kris@gtk.org>
* sources/Gnome.metadata: add out param rules for a bunch of Canvas
methods (pointed out by Paul Duran).
* api/gnome-xml.api: updated
2002-12-22 Robert McQueen <robot101@debian.org>
* makefile: when doing distclean, attempt distclean on all the
C# subdirs too
* gconf/Makefile.in: added distclean target to rm the Makefiles
in the subdirs of gconf/
* glue/Makefile.am: build libgtksharpglue as an unversioned
module to avoid so -> so.0 -> so.0.0 symlink mess
* */Makefile.in: call mkinstalldirs before installing any files
so that subdirs can be installed seperately or in any sequence
(eg binding dirs before native dirs)
2002-12-20 Alp Toker <alp@atoker.com>
* api/gst-api.xml: Make Gst# link to libgstreamer.so as per pkg-config
--libs gstreamer
* sources/gtk-sharp.sources: ditto
* gst/Application.cs: ditto
* gst/Makefile.in: Reference the newly-built glib-sharp
2002-12-15 Alejandro Sánchez Acosta <raciel@gnome.org>
* sample/tutorial/spinbutton/SpinButton.cs: Added new SpinButton sample for the GTK# tutorial.
* sample/tutorial/Makefile: Added new SpinButton sample.
2002-12-15 Gonzalo Paniagua Javier <gonzalo@ximian.com>
* api/gdk-api.xml:
* sources/Gdk.metadata: PixbufLoader.Pixbuf have to ref the new Pixbuf.
2002-12-12 Gonzalo Paniagua Javier <gonzalo@ximian.com>
* glib/Log.cs: removed the IntPtr argument and keep a reference to
the delegate passed to unmanaged world as suggested by rachel.
2002-12-11 Juli Mallett <jmallett@FreeBSD.org>
* gconf/Makefile.in, sample/Makefile.in: Use $(MAKE) not "make."
* parser/Makefile.in: Use CFLAGS and CPPFLAGS hints from configure,
and the base dependency CFLAGS. Fixes case where iconv.h is outside
of the compiler's default path.
2002-12-10 Mike Kestner <mkestner@speakeasy.net>
* released 0.6.
2002-12-10 Gonzalo Paniagua Javier <gonzalo@ximian.com>
* glib/Log.cs: New file. Wraps a few logging functions. Useful for
debugging.
2002-12-10 Gonzalo Paniagua Javier <gonzalo@ximian.com>
* generator/Signal.cs: generate correct type name for EventArgs.
2002-11-29 Duncan Mak <duncan@ximian.com>
* gtk/TextBuffer.custom (Text): Add a new Text property.
2002-11-26 Gonzalo Paniagua Javier <gonzalo@ximian.com>
* sample/DbClient/GnomeDbClient.cs:
* sample/DbClient/client.cs: make them build.
2002-11-25 Alejandro Sánchez Acosta <raciel@es.gnu.org>
* Added eventbox, rangewidget, scribble and packing sample widget.
* Changed togglebutton sample.
2002-11-21 Mike Kestner <mkestner@speakeasy.net>
* api/*.xml : a few new attrs
* generator/Parameters.cs : remove redundant ref keywords
* gtk/ListStore.custom: overload SetColumnTypes
* gtk/TreeStore.custom: overload SetColumnTypes
* parser/GAPI/Metadata.pm : allow callback nodes at class level
* sources/Gtk.metadata : hide ClipboardClearFunc and GetFunc,
tag types param of SetColumnTypes as array, uncomment needs_ref
tags on Widget methods to match the current api.xml file
2002-11-19 Mike Kestner <mkestner@speakeasy.net>
* gtk/Dialog.custom : bind another ctor
2002-11-17 Radek Doulik <rodo@ximian.com>
* glib/Value.cs: cast Typefundamentals.* to uint (GType is
unsigned int), fix Value (GLib.Object) - use new GetGType method
* glib/Object.cs: new GetGType method, returns _obj GType
2002-11-17 Daniel Morgan <danmorg@sc.rr.com>
* pango/Scale.cs: added file containing constants
for text widgets needing Pango Scale Attribute
2002-11-13 Vladimir Vukicevic <vladimir@pobox.com>
* gtk/CanvasItem.custom: use base() to set Raw in constructor, so
that the ref counting semantics get correctly set up
2002-11-10 Gonzalo Paniagua Javier <gonzalo@ximian.com>
* glade/XML.custom: converted from Latin1 to UTF8 to make the generator
go on.
2002-11-10 Vladimir Vukicevic <vladimir@pobox.com>
* glib/Object.cs: add needs_ref boolean that controls whether
we need to ref this object once we have a pointer to it or not.
By default this is set to true -- constructors and other functions
where we do own the object need to set this to false before setting
the "Raw" property. Also added Unref and RefCount methods.
* glue/object.c, glue/type.c: some utility functions for
refcounting support
* gdk/Pixbuf.custom: manually wrap a few functions so that
the refcount ends up being correct at the end (need an extra Unref)
* api/gdk-api.xml, sources/Gdk.metadata: metadata updates for
hiding manually-wrapped Pixbuf stuff
2002-11-10 Vladimir Vukicevic <vladimir@pobox.com>
* generator/StructBase.cs: create a Zero static member for
use when the IntPtr is NULL.
* generator/SignalHandler.cs, generator/CallbackGen.cs: removed
call to Initialize for structs
* gtk/Clipboard.custom, gtk/ClipboardClearFunc.cs,
gtk/ClipboardGetFunc.cs,
gtk/GtkSharp.GtkClipboardClearFuncNative.cs,
gtk/GtkSharp.ClipboardGetFuncNative.cs, SelectionData.custom:
Hand-wrapped selection handling stuff, along with relevant
signals and the like.
* gnome/voidObjectAffineSVPintSignal.cs: removed Initialize
for hand-wrapped signal
* sample/GnomeHelloWorld.cs, sample/Size.cs: compare against
.Zero instead of using IsNull
* api/gtk-api.xml, sources/Gtk.metadata: metadata updates for
hiding some manually-wrapped stuff
2002-11-10 Alejandro Sánchez Acosta <raciel@es.gnu.org>
* sample/tutorial: added some examples for the gtk# tutorial
2002-11-06 Duncan Mak <duncan@ximian.com>
* sample/Scribble.cs: Make it compile.
2002-11-06 Gonzalo Paniagua Javier <gonzalo@ximian.com>
* autogen.sh:
* configure.in: added configuration summary.
2002-11-03 Alp Toker <alp@atoker.com>
* sources/gtk-sharp.sources: Update to support GStreamer 0.4.2
* api/gst-api.xml : ditto
* gst/Application.cs : ditto
2002-11-01 Alp Toker <alp@atoker.com>
* configure.in : Add GStreamer support
* api/Makefile.in : ditto
* api/gst-api.xml : ditto
* sources/gtk-sharp.sources: ditto
* gst/Makefile.in : ditto
* gst/Application.cs : Gst initialization
* sample/GstPlayer.cs : An example which uses the Gst binding
* generator/Parameters.cs : Add 'fixed' keyword to name mangler
* generator/StructBase.cs : ditto
* generator/Parameters.cs : Fix Initialize() for set accessors
* generator/Ctor.cs : ditto
* generator/Method.cs : ditto
* generator/SymbolTable.cs : Add gint64, guint64 to simple types
2002-10-29 Mike Kestner <mkestner@speakeasy.net>
* generator/Signal.cs : Fix namespacing of Args.
2002-10-27 Mike Kestner <mkestner@speakeasy.net>
* configure.in : bump version to 0.6.
2002-10-26 Mike Kestner <mkestner@speakeasy.net>
* gconf/GConf.PropertyEditors/PropertyEditorColorPicker.cs : ns stuff
* glade/XML.custom : more GnomeSharp namespace stuff
* gnome/CanvasProxy.cs : ditto
* sample/CanvasExample.cs : ditto
* sample/Fifteen.cs : ditto
* sample/GnomeHelloWorld.cs : ditto
2002-10-26 Mike Kestner <mkestner@speakeasy.net>
Much of this patch from Vlad, with substantial rework by mk.
* */makefile.win32 : introduce mapdllnames.pl, api, and glue
* generator/CallbackGen.cs : rework namespacing for csc compilation
* generator/Parameters.cs : ditto
* generator/Signal.cs : ditto
* generator/SignalHandler.cs : ditto
* glue/win32dll.c : new dll construction source
* glib/Value.cs : new ushort ctor/cast operator
* gtk/Table.custom : comment this out until we add a default ctor tag
* gtk/ThreadNotify.cs : make ReadyEvent public
* sources/Gdk.metadata : mark a Parse() param as ref
2002-10-26 Ettore Perazzoli <ettore@ximian.com>
* glib/Object.cs: Changed so that Objects is a hash of
WeakReferences instead of hashing the real objects. Without this
change, GObjects were never collected.
(Raw, set): Put a WeakReference to the object in Objects.
(Object.GetObject): Get the WeakReference from Objects, and from
there the actual object.
(Object.DisposeNative): Remove the Raw pointer from Objects.
2002-10-26 Mike Kestner <mkestner@speakeasy.net>
* api/*.xml : get libgda and libgnomedb metadata setup
* gconf/*/Makefile.in : patch from MauricioC for -L's and /r's
* gnomedb/Makefile.in : patch from MauricioC for -L's and /r's
* generator/ClassBase.cs (ctor): mangle hash names for sigs and props
* generator/Parameters.cs (MangleName): handle params, null, and ref
* generator/Parser.cs (ParseNamespace): ignore "hidden" types
* generator/StructBase.cs (MangleName): handle params, null, and ref
* glib/Object.cs (Equals): kill, also kill == and !=
* sources/Gda.metadata : new, make Gda behave without hand edits
* sources/GnomeDb.metadata : ditto
2002-10-21 Vladimir Vukicevic <vladimir@pobox.com>
* glade/XML.custom: add SetCustomHandler() wrapper
2002-10-20 Miguel de Icaza <miguel@ximian.com>
* glib/Object.cs: Avoid recursive calls with the previous operator
!= and operator ==
2002-10-19 Duncan Mak <duncan@ximian.com>
* glib/Source.cs: Added.
2002-10-19 Miguel de Icaza <miguel@ximian.com>
* glib/Object.cs: Added operator != and operator == overloads.
2002-10-19 Rachel Hestilow <hestilow@ximian.com>
* gconf, sample/gconf: Added.
* glue/combo.c: This was never added, add it now.
* configure.in, makefile, sample/Makefile.in: Build new
gconf bindings if gnome is enabled.
2002-10-14 Mike Kestner <mkestner@speakeasy.net>
* glib/Object.cs (GetObject): remove (int) cast
2002-10-11 Martin Baulig <martin@gnome.org>
* gtk/Combo.custom: New file.
(Combo.SetPopdownStrings): New method to set the popdown strings
from a string array.
2002-10-11 Martin Baulig <martin@gnome.org>
* glib/ListBase.cs (ListBase.Append): New public method.
(ListBase.Prepend): New public method.
2002-10-11 Martin Baulig <martin@gnome.org>
* glib/FileUtils.cs: New file. Wrapped g_file_get_contents() here.
2002-10-10 Mike Kestner <mkestner@speakeasy.net>
* generator/CallbackGen.cs : some fixes
* generator/Parameters.cs (CreateSignature): handle void params
2002-10-10 Miguel de Icaza <miguel@ximian.com>
* gtk/ThreadNotify.cs: Avoid multiple notifications.
2002-10-09 Miguel de Icaza <miguel@ximian.com>
* glue/adjustment.c (gtksharp_gtk_adjustment_get_page_size): Added
the glue.
* gtk/Adjustment.custom: Added some more methods
2002-10-08 Kristian Rietveld <kris@gtk.org>
(So Miguel told me just to go ahead and commit -kris)
* gtk/TreeSelection.custom: new file, defines a working
GetSelected method (GetSelected is a bit tricky function).
* generator/InterfaceGen.cs (Generate): also call AppendCustom
* sources/Gtk.metadata: hide the autogenerated
Gtk.TreeSelection.GetSelected method.
2002-10-08 Miguel de Icaza <miguel@ximian.com>
* gdk/Point.custom: Use (x,y) instead.
* gdk/Color.custom: Use the X rgb color format specification.
* gdk/Rectangle.custom: Use the X geometry format for Rectangles.
2002-10-07 Vladimir Vukicevic <vladimir@pobox.com>
* glue/style.c, gtk/Style.custom: handle
getting GC's and colors correctly -- it's not possible
to marshal arrays from C-land to mono correctly,
so indexed accessors have to be used.
2002-10-08 Duncan Mak <duncan@ximian.com>
* gdk/Color.custom:
* gdk/DeviceAxis.custom:
* gdk/Point.custom:
* gdk/Rectangle.custom: Committed ToString patches contributed by
Jasper van Putten <Jaspervp@gmx.net>
2002-10-05 Vladimir Vukicevic <vladimir@pobox.com>
* glib/GException.cs: g_clear_error takes
a GError **, not a GError *. Added refs to get the **.
2002-10-04 Vladimir Vukicevic <vladimir@pobox.com>
* glib/ObjectManager.cs, glue/type.c: If there isn't
an exact match for a C GObject class (i.e. BluecurveStyle),
walk up the gobject type hierarchy until we find a type
that we do have a wrapper for, and return that. This means
that you'll always, worst-case, end up with a GObject.
* glib/Value.cs, glue/value.c: Added default constructor
to GLib.Value() that creates a new value with a type of
INVALID, and changed the glue function to not call
gtk_type_init if INVALID is passed.
2002-10-02 Vladimir Vukicevic <vladimir@pobox.com>
* gtk/TreeView.custom: added TreeView Handle as argument
to set_model in Model property
2002-09-29 Rachel Hestilow <hestilow@ximian.com>
* glue/canvas-proxy.c (update), glue/canvas-proxy-marshal.list:
Marshal the array as a pointer for now.
* gnome/voidObjectAffineSVPintSignal.cs: Added.
* gnome/CanvasProxy.cs (Update): Use a custom signal handler.
2002-09-23 Miguel de Icaza <miguel@ximian.com>
* gtk/Style.custom: bind it.
* gtk/Widget.custom: bind it.
* glue/widget.c: Wrapper to fetch a GdkWindow from a widget.
* glue/style.c: wrapper routines for getting/setting the thickness
on a GtkStyle.
2002-09-21 Miguel de Icaza <miguel@ximian.com>
* gtk/TreeView.custom: Add Model.set to the TreeView
2002-09-21 Rachel Hestilow <hestilow@ximian.com>
* parser/gapi2xml.pl: Adjust enum regex to allow negative values.
2002-09-16 Martin Baulig <martin@gnome.org>
* gnome/Modules.cs (Module): Make this class public.
* sample/CanvasExample.cs: Insert a missing `break' in a switch
section to make this compile.
* sample/Scribble.cs: Added missing casts from EventMask to int.
2002-09-15 Ricardo Fernandez Pascual <ric@users.sourceforge.net>
* glade/XML.custom: Added a constructor to read the glade file
from a stream and to read it from a resource in an assembly.
* sample/Makefile.in
* sample/GladeTest.cs: Embed the glade file as a resource and use
the new constructor.
2002-09-13 Ricardo Fernandez Pascual <ric@users.sourceforge.net>
* glade/HandlerNotFoundExeception.cs: Added.
* glade/Makefile.in
* glade/XML.custom: Support for autoconnecting signals using
reflection.
* glib/SignalAttribute.cs: Added.
* generator/Signal.cs: Mark events generated from glib signals
with the "Signal" attribute.
* sample/GladeTest.cs
* sample/Makefile.in
* sample/test.glade: Test of signal autoconnection.
2002-09-12 Rachel Hestilow <hestilow@ximian.com>
* sources/Gtk.metadata: Set null_ok on the callback argument
to Menu.Popup.
* generator/Parameters.cs: Handle null_ok properly for callback
arguments.
2002-09-11 Miguel de Icaza <miguel@ximian.com>
* glib/Object.cs (DisposeNative): Call GC.SuppressFinalize, and
set the obj to null.
2002-09-11 Rachel Hestilow <hestilow@ximian.com>
* glib/Object.cs (Ref): Added.
* gtk/Object.custom (Ref): Overload. Note that we were reffed.
(DisposeNative): Unref if we were explicitly reffed.
* generator/Method.cs: Call Ref if needs_ret is set.
* generator/StructBase.cs: Call Ref on all object accessors.
* glue/style.c: Ref returned GCs.
* sources/Gtk.metadata: Set needs_ret on various gdk-related
accessors in GtkWidget. Hide Ref/Unref methods on Widget and
RcStyle as these ought to be deprecated anyway.
2002-09-11 Rodrigo Moya <rodrigo@gnome-db.org>
* gnomedb/Makefile.in:
* gnomedb/Application.cs: added class for libgnomedb initialization.
* sample/DbClient/GnomeDbClient.cs: new test file for libgnomedb.
2002-09-08 Rodrigo Moya <rodrigo@gnome-db.org>
* makefile:
* configure.in:
* sources/gtk-sharp.sources: added needed stuff for libgnomedb.
* gnomedb/Makefile.in:
* api/Makefile.in:
* api/gnomedb-api.xml: new files for libgnomedb API.
2002-09-07 Rachel Hestilow <hestilow@ximian.com>
* parser/gapi2xml.pl: Add support for "fake struct" opaque types.
* generator/StructBase.cs: Generate wrapper fields for opaque
fields as well as pointer fields.
* api/gdk-symbols.xml: Remove GdkAtom as it is now wrapped.
2002-09-05 Gonzalo Paniagua Javier <gonzalo@ximian.com>
* sample/DbClient/client.cs: updated to make it compile.
2002-09-04 Mike Kestner <mkestner@speakeasy.net>
* generator/ObjectGen.cs : generate dtors.
* glib/Object.cs : Implement IDisposable. Add a new DisposeNative
method. Implement default dtor.
* glue/object.c : new gtksharp_object_unref_if_floating method.
* gtk/Object.custom : override DisposeNative to check float bit.
2002-09-03 Juli Mallett <jmallett@FreeBSD.org>
* parser/Makefile.in: Use $(CC) instead of 'cc'.
2002-09-01 Rodrigo Moya <rodrigo@ximian.com>
* gda/Application.cs: new class for libgda initialization and event
loop management.
* gda/Makefile.in: added new file as a dependency.
2002-09-01 Gonzalo Paniagua Javier <gonzalo@gnome-db.org>
* glib/ListBase.cs: fixed compilation (the base class must be at least
as accesible as the derived ones).
2002-08-31 Rodrigo Moya <rodrigo@ximian.com>
* api/gda-api.xml: new file for the libgda API.
* gda/*: added libgda bindings.
* sources/README: updated requirements.
2002-08-31 Rachel Hestilow <hestilow@ximian.com>
Proper GList, GSList support. Read-only for now.
* glue/list.c: Added.
* glue/Makefile.am: Add list.c
* glue/type.c: Add function gtksharp_is_object.
* glib/ListBase.cs, List.cs: Added.
* glib/SList.cs: Inherit from ListBase.
* glib/Object.cs: Add static method "IsObject".
* generator/Method.cs: Pass on element_type to constructor
if specified.
* generator/SymbolTable.cs: Move GList to manual types.
* sample/GladeViewer.cs: Remove list hacks.
* sources/Gnome.metadata: Specify element types for
CanvasPathDef.Split and IconList.GetSelection. Rename
CanvasPathDef *to methods to properly capitalized *To.
* sources/Gtk.metadata: Hide Widget.ListAccelClosures until
GClosure is handled properly.
* sources/Pango.metadata: Added.
* sample/test/TestToolbar.cs: Compile with recent delegate changes.
2002-08-31 Rachel Hestilow <hestilow@ximian.com>
* glib/Idle.cs: Added.
* gtk/Application.cs: Add EventsPending, RunIteration.
* sample/TreeViewDemo.cs: Add a status dialog while
populating tree.
2002-08-31 Rachel Hestilow <hestilow@ximian.com>
* generator/Method.cs: Re-enable "if null then new" behavior
for Opaques.
2002-08-29 Rachel Hestilow <hestilow@ximian.com>
* glib/DelegateWrapper.cs: Forgot to add this.
2002-08-28 Rachel Hestilow <hestilow@ximian.com>
* generator/CallbackGen.cs: Generate wrappers to map
from managed delegates to native ones.
* generator/Ctor.cs: Call parms.Initialize for the static case.
* generator/Parameters.cs: Add "CType" property. Append []
to CSType if necessary. Add "HideData" property if a container
wishes to hide the user_data (used in callbacks).
(Initialize): Add case for callback.
* generator/SymbolTable.cs: Add size_t.
* glue/program.c: string[] marshalling is no longer broken,
remove hack.
* sources/Gtk.metadata: Disable
GtkColorSelection.SetChangePaletteHook and
GtkTreeView.GetSearchEqualFunc for now, they return delegates and
we don't support native->managed delegate mapping yet.
2002-08-28 Joe Shaw <joe@assbarn.com>
* makefile: Add the art directory back in; fixes the build.
2002-08-26 Rachel Hestilow <hestilow@ximian.com>
* sources/Gtk.metadata: Add null-ok for Menu.Popup.
2002-08-25 Juli Mallett <jmallett@FreeBSD.org>
* makefile: Fix recursive invocation of make(1) to use
the variable MAKE, to use the same utility that was
responsible for the invocation of the initial build.
2002-08-25 Miguel de Icaza <miguel@ximian.com>
* gtk/TextBuffer.custom: Added SetText with a single argumnet.
* gtk/Table.custom: Added empty constructor. GtkTables
automatically grow.
2002-08-23 Rachel Hestilow <hestilow@ximian.com>
* glue/Makefile.am: Fix # terminators.
2002-08-23 Rachel Hestilow <hestilow@ximian.com>
* Applied patch from Robot101 for maintainer-clean, etc.
Needed for packaging.
2002-08-20 Rachel Hestilow <hestilow@ximian.com>
* generator/SymbolTable.cs (Trim): Work around "void*".
Libart has a lovely API...
2002-08-22 Mike Kestner <mkestner@speakeasy.net>
* glib/IWrapper.cs : remove set_Handle
* glib/Object.cs : ditto
* glib/Opaque.cs : ditto
2002-08-22 Mike Kestner <mkestner@speakeasy.net>
* glib/Makefile.in : rm -rf generated on make clean target
* gnome/CanvasProxy.cs : add missing Signals hash.
2002-08-20 Rachel Hestilow <hestilow@ximian.com>
Ditto for generator and api.
2002-08-20 Rachel Hestilow <hestilow@ximian.com>
* parser/makefile: Rename to Makefile.in, change prefix to @prefix@.
* configure.in: generate parser/Makefile.
2002-08-20 Rachel Hestilow <hestilow@ximian.com>
* makefile: Add parser to build (for install only)
* parser/makefile: Add distclean target.
* parser/gapi.pl: Forgot to add this.
* api/: Replace APIs with correctly generated ones.
2002-08-20 Rachel Hestilow <hestilow@ximian.com>
* README.generator: Added docs on using the generator.
2002-08-19 Rachel Hestilow <hestilow@ximian.com>
* art/Makefile.in (clean): Change to avoid bugging out on generated/CVS.
* glib/ObjectManager.cs: Added. Used to be auto-generated, but
now it can infer names, and relies on per-namespace ObjectManager
classes to inform it of oddly-named classes.
* generator/IGeneratable.cs, GenBase.cs: New "DoGenerate" property.
* generator/*Gen.cs: Honor DoGenerate.
* generator/CodeGenerator.cs: Support including dependency files
which will not be generated.
* generator/ObjectGen.cs: Generate mapping file per-namespace, as one
that calls back to the one in glib. Only generate if the name does
not follow the normal conventions, otherwise, GtkSharp.ObjectManager
can infer the name.
* generator/Parser.cs: Accept 'generate' flag to pass on to the
IGeneratables. Parse a new toplevel element, "symbol", which adds
a type to the SymbolTable (instead of hard-coding it).
* generator/SignalHandler.cs: Do not optimize signal handler creation,
instead creating them in their own namespaces. Do not generate
if the calling Signal told us not to.
* generator/Signal.cs: Do not generate handlers if container's DoGenerate
is false. Adjust to the marshaller name being in a sub-namespace.
* generator/SymbolTable.cs (AddSimpleType, AddManualType): Used
to add simple and manually wrapped types at runtime instead of
compile-time.
(FromNative): Remove hard-coded cases for manually wrapped types, use
a generic case instead.
* api: Added. Move api files and generation targets here.
* source: Added. Move source parsing here.
* generator/makefile: Move actual generation to api/.
* glib/Makefile.in: Remove generated/* target.
* glue/Makefile.am: Fix to include canvas-marshal. Move canvas stuff
to GNOME target.
* gnome/CanvasProxy.cs: Update to work with SignalHandlers being
namespace-specific.
* parser/Metadata.pm: Moved to GAPI/Metadata.pm, renamed, etc.
* parser/gapi2xml.pl: Use GAPI::Metadata.
* parser/makefile: Install scripts, remove source parse build target.
Rename formatXML to gapi_format_xml.
2002-08-17 Miguel de Icaza <miguel@ximian.com>
* gtk/ThreadNotify.cs: New file, used to notify invoke code in the
main Gtk thread.
2002-08-17 Duncan Mak <duncan@ximian.com>
* gnome/CanvasProxy.cs:
* gnome/GtkSharp.BoundsHandler.cs:
* gnome/GtkSharp.DrawHandler.cs:
* gnome/GtkSharp.PointHandler.cs:
* gnome/GtkSharp.RenderHandler.cs:
* gnome/GtkSharp.UpdateHandler.cs: C# glue for subclassing CanvasItems.
* glue/canvas-proxy-marshal.c:
* glue/canvas-proxy-marshal.h:
* glue/canvas-proxy-marshal.list:
* glue/canvas-proxy.c: Added the coverage signal.
2002-08-17 Duncan Mak <duncan@ximian.com>
* glue/canvas-proxy.c:
* glue/canvas-proxy.h: New files. Glue for subclassing CanvasItem
from C#.
* glue/canvas-proxy-marshal.c:
* glue/canvas-proxy-marshal.h:
* glue/canvas-proxy-marshal.list: Added to handle marshaling
signals used by CanvasProxy.
2002-08-15 Mike Kestner <mkestner@speakeasy.net>
* sample/Makefile.in : add some art-sharp refs
2002-08-11 Miguel de Icaza <miguel@ximian.com>
* glub/adjustment.c: C-side of the Adjustment glue.
* gtk/Adjustment.custom: Add new SetBounds function that allows us
to change the adjustment after it has been created.
2002-08-15 Duncan Mak <duncan@ximian.com>
* generator/gtkapi.xml: New Libart stuff.
* parser/build.pl:
* gnome/Makefile.in: Added reference to atk-sharp.dll
* generator/Parameters.cs (MangleName): Added cases for 'in' and 'out'.
2002-08-13 Joe Shaw <joe@assbarn.com>
* configure.in: Check for libgnomecanvas.
* gtk/ColorSelectionDialog.custom: Create a button subclass which
contains a reference to the parent ColorSelectionDialog. Modify
properties to return this subclass instead of a regular
Gtk.Button.
* gtk/FileSelection.custom: Ditto.
* sample/test/TestFileSelection.cs (file_selection_ok):
Demonstrate the button subclass by destroying the parent dialog
when the ok button is clicked.
2002-08-12 Rachel Hestilow <hestilow@ximian.com>
[ Patch from Ricardo Fernandez Pascual <rfp1@ono.com> for
libglade support (slightly modified) ]
* configure.in: Conditionally compile glade support.
* makefile: Add glade directory.
* glade/: Added.
* sample/makefile.in: Add (conditional) glade example.
* sample/GladeViewer.cs: Added.
* glue/gladexml.c: Added.
* glue/Makefile.am: Updated.
* parser/build.pl: Parse libglade-2.0.0.
* parser/README: Update requirements.
2002-08-12 Rachel Hestilow <hestilow@ximian.com>
* parser/gapi_pp.pl: Handle "typedef struct {...}" construct.
* glue/canvaspoints.c: Added.
* glue/Makefile.am: Updated.
* gnome/CanvasPoints.custom: Added. (Doesn't seem to work right yet,
looking into this.)
2002-08-10 Rachel Hestilow <hestilow@ximian.com>
* sample/TreeViewDemo.cs (Main, DeleteCB): Update to use correct
event handler.
2002-08-09 Kristian Rietveld <kris@gtk.org>
* parser/Gtk.metadata: add a bunch of out arg rules, add
a vararg rule for the ListStore constructor, change method names of
TreeModel's signal emission methods, remove opaque rule of
GtkTreeIter, remove null_ok rules of TreeModel.IterNChildren
and TreeModel.IterNthChild.
* parser/Metadata.pm: add some code to be able to filter on
parameter names.
* generator/Method.cs: a method with accessor args and a non-void
return value cannot be written as property.
* sample/Makefile.in, sample/TreeViewDemo.cs: add a simple TreeView
demo app.
* gtk/ListStore.custom, gtk/TreeModel.custom, gtk/TreeModelSort.custom,
gtk/TreeStore.custom, gtk/TreeView.custom: customizations.
2002-08-09 Mike Kestner <mkestner@speakeasy.net>
* generator/ObjectGen.cs (GenerateMapper): guard against IntPtr.Zero
2002-08-09 Duncan Mak <duncan@ximian.com>
* sample/Fifteen.cs (Position): Made it a property instead of a
public field.
* sample/pixmaps/gnome-color-browser.png: Icon for Fifteen#.
2002-08-09 Mike Kestner <mkestner@speakeasy.net>
* generator/SymbolTable.cs : make GLib.Value a manually_wrapped_type
2002-08-08 Mike Kestner <mkestner@speakeasy.net>
* generator/Property.cs : getter usage fix
2002-08-08 Mike Kestner <mkestner@speakeasy.net>
* generator/Method.cs : s/GetType/GetGType. Don't generated static
methods for interfaces.
* glib/Object.cs : add GType prop
* gnome/*.custom : s/Type/GType
* parser/Gtk.metadata : rule to make TreeIter opaque
* parser/gapi2xml.pl : handle interface methods properly
* sample/Fifteen.cs : s/Type/GType
2002-08-08 Mike Kestner <mkestner@speakeasy.net>
* gdk/Event.cs : derived from Boxed, not Object.
* generator/SymbolTable.cs : fixes for Gdk.Events
2002-08-07 Mike Kestner <mkestner@speakeasy.net>
* generator/CodeGenerator.cs : call ObjectGen.GenerateMapper
* generator/Method.cs : Remove the if null workaround
* generator/ObjectGen.cs : build a hash of object types.
(GenerateMapper): generate the GtkSharp.ObjectManager class.
* glib/Object.cs : use ObjectManager.CreateObject.
* glue/type.c : helper for typename lookup.
2002-08-07 Duncan Mak <duncan@ximian.com>
* sample/Fifteen.cs: Fixed scramble. The whole thing works now.
2002-08-06 Rachel Hestilow <hestilow@ximian.com>
* generator/SignalHandler.cs: Handle null arguments and return values.
* sample/Makefile.in: Add fifteen game.
2002-08-06 Gonzalo Paniagua Javier <gonzalo@ximian.com>
* sample/GnomeHelloWorld.cs: use DeleteEventHandler.
2002-08-07 Duncan Mak <duncan@ximian.com>
* sample/Fifteen.cs: Fixed movement logic. It works now. Added
'debug' flag. Run 'mono ./Fifteen.exe debug' to see movement info.
2002-08-07 Duncan Mak <duncan@ximian.com>
* sample/Fifteen.cs: Added new canvas example.
2002-08-06 Duncan Mak <duncan@ximian.com>
* glue/canvasitem.c:
* gnome/CanvasItem.custom: Added accessor to get the 'canvas' field.
* sample/CanvasExample.cs: Removed extra methods.
2002-08-05 Rachel Hestilow <hestilow@ximian.com>
* makefile, */Makefile.in: Packaging fix from
Robert McQueen (a.k.a. Robot101).
2002-08-05 Rachel Hestilow <hestilow@ximian.com>
* gnome/Canvas*.custom, IconTextItem.custom: Added.
* sample/CanvasExample.cs: Added.
* sample/Makefile.in: Build canvas example in gnome build.
2002-08-05 Rachel Hestilow <hestilow@ximian.com>
* parser/Gnome.metadata: Patch from duncan for
bug #28553 (canvas item event handler rename).
2002-08-04 Joe Shaw <joe@assbarn.com>
* configure.in: We actually need libgnomeui, not libgnome.
2002-08-04 Mike Kestner <mkestner@speakeasy.net>
Tagged for 0.3 and updated configure.in to 0.4.
Back open for commits.
2002-08-03 Mike Kestner <mkestner@speakeasy.net>
Freezing cvs for 0.3 release. Please no commits until the release.
2002-08-03 Mike Kestner <mkestner@speakeasy.net>
* generator/Method.cs : Added IsGetter, IsSetter, ReturnType. Made
GenerateImport, GenerateBody public.
* generator/Parameters.cs : Added Parameter::MarshalType
* generator/Property.cs : Added logic to use methods instead of text
properties wherever possible.
2002-08-03 Rachel Hestilow <hestilow@ximian.com>
* generator/Method.cs: Support libname overrides. Call parms.Finish.
* generator/Parameters.cs: New method parms.Finish. Generate a temporary
holder variable for enum out parameters.
* generator/Property.cs: Pass a boolean to EnumWrapper indicating.
if these are flags.
* generator/StructBase.cs: Disable array marshalling (it is
broken in mono.)
* generator/SymbolTable.cs: Add methods IsEnumFlags.
* glib/EnumWrapper.cs: New bool "flags".
* glib/Value.cs: Call flags variant on GValue for enum props, if needed.
* glue/Makefile.am, glue/style.c, glue/widget.c: Add widget
and style field accessor methods.
* gtk/Style.custom, Widget.custom: Added.
* parser/README: Update requirements (needed for pixbuf drawable hack)
* parser/Gdk.metadata: Fix library for pixbuf methods in gdk.
Add Window.GetPointer "out" parameters.
* parser/gapi2xml.pl: Remap gdk_draw_* methods to Drawable.
* sample/Makefile.in: Add size and scribble samples.
* sample/Scribble.cs: Added.
2002-08-02 Rachel Hestilow <hestilow@ximian.com>
[ Mike, this is everything I wanted in for the release. ]
* generator/StructBase.cs: Generate field accessors for wrapped
types (opaque, object, and structs/boxed). Bitfields, unions, and
arrays are still unsupported for accessors, and are probably marshalling
incorrectly. But this is enough to get events working (see example
in sample/GnomeHelloWorld.cs).
* parser/Metadata.pm: Support a "delete" directive, and set metadata
on structs and boxed (previously was only checking objects and interfaces).
* parser/Gdk.metadata: Delete bogus entries GdkWindowObject and
GdkPixmapObject (more evil drawable stuff.)
* sample/GnomeHelloWorld.cs: Show an example of how to use marshalled
events, in our selection callback.
2002-07-31 Rachel Hestilow <hestilow@ximian.com>
* generator/StructBase.cs (GetFieldInfo): Generate strings correctly.
Also, delegates are not marshalling correctly right now, change those
to IntPtr.
* generator/SymbolTable.cs: New method IsCallback.
* sample/GnomeHelloWorld.cs: Use Gnome.App and stock menu items.
Use the new event handlers.
2002-07-30 Rachel Hestilow <hestilow@ximian.com>
* generator/ClassBase.cs: Change hasDefaultConstructor to protected,
adjust now that it is an attr and not a subnode. Also add virtual
property AssignToName (for ctors).
* generator/Ctor.cs: Add property ForceStatic.
(Generate): Optimize return code a bit for the static case.
* generator/Method.cs: Assign to a "raw_ret" pointer before calling
FromNativeReturn.
* generator/Parameters.cs: Change "out ref" to "out", not "ref".
* generator/Property.cs: Fix to work correctly with all object and
struct types (mostly just some if-cases added).
* generator/SignalHandler.cs: Remove args_type and argfields (unused).
(Generate): Initialize struct if necessary.
* generator/StructBase.cs: Massive reworking to support methods, ctors,
etc.
* generator/SymbolTable.cs: Add GdkAtom and gconstpointer simple types.
* glib/Boxed.cs: Accept both IntPtr and object ctors. Add access for both.
* glib/Opaque.cs: Fix copy/pasted copyright notice, remove data and event
fields. Fix docs.
* glib/Value.cs: Work correctly with boxed properties.
* gnome/Modules.cs: Use new struct ctors.
* gnome/Program.custom: Remove Get, this is being generated now.
* parser/Gdk.metadata: Fix the drawable classes to inherit correctly.
* parser/Metadata.pm: Change per-class attributes to actually be
attributes.
* parser/Gtk.metadata: Add a dummy attribute value for disabledefaultctor.
* parser/gapi2xml.pl: Add hacks for the (broken) Drawable and Bitmap
typedefs.
* sample/test/TestColorSelection.cs: Display color string in hex format,
update to use IsNull instead of == null, and size dialog to look pretty.
* sample/Size.cs: Added.
2002-07-25 Rachel Hestilow <hestilow@ximian.com>
[about 60% of the marshalling patch that I lost.
The rest to come tomorrow.]
* generator/BoxedGen.cs, StructGen.cs: Move most of this to StructBase,
delete large chunks duplicated from ClassBase.
* generator/IGeneratable.cs: Add MarshalReturnType, FromNativeReturn.
* generator/ClassBase.cs: Move ctor stuff here. Add a CallByName
overload with no parameters for the "self" reference.
* generator/EnumGen.cs, CallbackGen.cs: Implement new MarshalReturnType,
FromNativeReturn.
* generator/Method.cs: Use container_type.MarshalType, CallByName, and
SymbolTable.FromNativeReturn when generating call and import sigs.
* generator/OpaqueGen.cs: Added.
* generator/Property.cs: Handle boxed and opaques differently.
* generator/SymbolTable.cs: Update for the opaque stuff and the new Return
methods. Also change GetClassGen to simply call the as operator.
* glib/Boxed.cs: Update for struct usage -- this is now a wrapper for
the purposes of using with Value.
* glib/Opaque.cs: Added. New base class for opaque structs.
* glue/textiter.c, gtk/TextIter.custom: Remove.
* gnome/Program.cs: Update for new struct marshalling.
* parser/Metadata.pm: Use our own getChildrenByTagName.
* parser/README: Update for new requirements (was out of sync with
build.pl)
* parser/gapi2xml.pl: Hide struct like const in field elements.
* parser/gapi_pp.pl: Handle embedded union fields (poorly).
* sample/test/TestColorSelection.cs: Comment out null color tests
for now.
2002-07-24 Mike Kestner <mkestner@speakeasy.net>
* generator/SignalHandler.cs : use ref parameters in signal cb's.
2002-07-24 Alp Toker <alp@atoker.com>
* gtk/Makefile.in etc. : reference the newly compiled assemblies
instead of those already installed on the system
2002-07-23 Mike Kestner <mkestner@speakeasy.net>
* generator/Method.cs : implement static method generation.
* parser/Gnome.metadata : map AppBar::ClearPrompt signal collision.
* parser/Gtk.metadata : map IMContext::DeleteSurrounding collision.
* parser/gapi2xml.pl : mark shared methods in the XML.
2002-07-20 Mike Kestner <mkestner@speakeasy.net>
* generator/SignalHandler.cs : pring unexpected key in exception.
2002-07-20 Mike Kestner <mkestner@speakeasy.net>
* generator/Method.cs : beef up !Validate warnings
* generator/ObjectGen.cs : beef up !Validate warnings
* generator/Parameters.cs (Validate): fail on ellipsis parm
* parser/gapi2xml.pl : Handle more opaque types properly
2002-07-19 Duncan Mak <duncan@ximian.com>
* gtk/Paned.custom:
* glue/paned.c: Glue code for getting child1 and child2 out from a Gtk.Paned.
* glue/Makefile.am: Add paned.c
2002-07-19 Mike Kestner <mkestner@speakeasy.net>
* generator/StructGen.cs : comment out GenField. It's broke.
* sample/ButtonApp.cs : revert the EventAny WriteLine.
2002-07-19 Mike Kestner <mkestner@speakeasy.net>
* parser/gapi2xml.pl : mark privately defined structs opaque.
2002-07-18 Mike Kestner <mkestner@speakeasy.net>
* generator/StructBase.cs : use GetMarshalType for field gen.
* sample/ButtonApp.cs : WriteLine the Gdk.EventAny in DeleteEvent.
2002-07-18 Mike Kestner <mkestner@speakeasy.net>
* generator/StructGen.cs : make them public structs, not classes.
* parser/build.pl : step up to the g2final tarballs.
* parser/gapi2xml.pl : suppress *Private struct types. Mark
ellipsis terminated param lists.
2002-07-18 Mike Kestner <mkestner@speakeasy.net>
* generator/StructBase.cs : Mangle field names.
* generator/StructGen.cs : uncomment GenField.
2002-07-18 Duncan Mak <duncan@ximian.com>
* parser/Gtk.metadata: Mark gtk_radio_menu_item_new_with_label,
gtk_radio_button_new_with_label, gtk_radio_button_new and
gtk_radio_button_new_with_mnemonic with null_ok flags.
2002-07-17 Radek Doulik <rodo@ximian.com>
* gtk/ScrolledWindow.custom: new file with ScrolledWindow custom
default constructor
use this (null, null)
* parser/Metadata.pm: addClassData subroutine to add
<disabledefaultconstructor/>
* parser/Gtk.metadata: disable default constructor for
ScrolledWindow
* generator/ObjectGen.cs: added hasDefaultConstructor flag, dont
generate default protected empty constructor if
hasDefaultConstructor is false, it will be provided by .custom
file
* generator/makefile (RUNTIME): use RUNTIME variable
2002-07-17 Rachel Hestilow <hestilow@ximian.com>
* parser/Gtk.metadata: Tag MenuItem.SetSubmenu as null-ok.
2002-07-17 Rachel Hestilow <hestilow@ximian.com>
* generator/Method.cs: Honor array in return type.
* parser/Gtk.metadata: Tag FileSelection.GetSelections as array.
* parser/Metadata.pm: Add "return" target.
* parser/gtkhtml, parser/README: Add gtkhtml-stream.[ch].
Needed for url-requested signal. The actual wrapper for this
compiles but is badly borked, it will probably need a lot of love.
2002-07-16 Mike Kestner <mkestner@speakeasy.net>
* generator/ClassBase.cs : make MarshalType virtual.
* generator/Parameters.cs : add Parameter class and Indexer.
* generator/Signal.cs : Now use Parameters.
(GetHandlerName): New abstraction of name handling.
(GenerateDecls): use GetHandlerName.
(GenComments): make private.
(GenHandler): New. Generate custom event handlers and args.
(Generate): use GenHandler. Pass args type to SignalHandler.
* generate/SignalHandler.cs : store args type. Generate handler
dependent args and use MulticastDelegate.DynamicInvoke.
* generate/StructGen.cs : override MarshalType.
* glib/SignalCallback.cs : store a MulticastDelegate and args type
* sample/*.cs : use new DeleteEventHandler
2002-07-13 Rachel Hestilow <hestilow@ximian.com>
* generator/Parameters.cs: Allow nulls if null_ok set.
* generator/SymbolTable.cs: Add method IsStruct.
* parser/Gtk.metadata, Gdk.metadata, Gnome.metadata: Merge in
null_ok from *.defs. This is probably incomplete though, I've
already found one method that wasn't listed.
* sample/GnomeHelloWorld.cs: Remove IntPtr.Zero hack.
2002-07-13 Rachel Hestilow <hestilow@ximian.com>
* parser/Gnome.metadata, Gtk.metadata: More conflict
fixes.
* parser/build.pl: Fully qualify all lib names. (Gtk+ packages
are now LFS-compliant in Debian...)
* parser/gapi2xml.pl: Fix for whitespace in fields, defines,
and docs.
* generator/BoxedGen.cs: Remove extraneous CallByName definition,
add "override" keyword to FromNative.
(Generate): Generate methods after fields.
* generator/ClassBase.cs: Change CallByName, FromNative to virtual.
(.ctor): Ignore "hidden" nodes. Set container on signal.
(GenSignals, GenMethods): Add "implementor" argument for interface
use.
(Get(Method|Signal|Property)Recursively): Rework to correctly
recurse interfaces.
(Implements): Added.
* generator/Ctor.cs (Initialize): Move clash initialization completely
out of Generate, so we can check for collisions.
* generator/Method.cs (GenerateDeclCommon): Check for duplicates,
for "new" keyword.
(Generate): Add "implementor" argument.
* generator/ObjectGen.cs (Generate): Initialize ctor clashes on
this and all parents, before generating.
(Ctors, InitializeCtors): Added.
* generator/Signal.cs: Store the container_type, check for
collisions.
* generator/StructGen.cs: Add "override" keyword to overriden methods.
* gtk/FileSelection.custom (ActionArea): Add "new" keyword.
2002-07-11 Mike Kestner <mkestner@speakeasy.net>
* glib/SList.cs : fix a couple DllImports
2002-07-11 Duncan Mak <duncan@ximian.com>
* glue/Makefile.am: Added dialog.c and colorseldialog.c
* glue/dialog.c:
* gtk/Dialog.custom: C# glue for getting more fields from a GtkDialog.
* glue/colorseldialog.c:
* gtk/ColorSelectionDialog.custom: C# glue for getting more fields
from a ColorSelectionDialog.
2002-07-09 Mike Kestner <mkestner@speakeasy.net>
* generator/ClassBase.cs : handle overloaded method hash collision
* generator/SignalHandler.cs : generate *Handler delegates. stub *Args
* parser/Gtk.metadata : add *Defaults method renaming
2002-07-08 Mike Kestner <mkestner@speakeasy.net>
* glue/Makefile.in : s/BASE_SOURCES/BASESOURCES
* parser/gapi_pp.pl : handle nested #if/#endif in ignored #if's
* parser/makefile : make gtkapi.xml depend on gapi*.pl
2002-07-06 Rachel Hestilow <hestilow@ximian.com>
* generator/Parameters.cs (Initialize): Initialize error
to zero.
2002-07-06 Rachel Hestilow <hestilow@ximian.com>
* ObjectGen.cs: Support static string elements. Do
not generate Ctors or Signals if it is not a GObject.
* parser/gapi2xml.pl: Add stock defines.
2002-07-05 Rachel Hestilow <hestilow@ximian.com>
* glue/Makefile.am: Make this work cleanly, with all automake.
2002-07-05 Rachel Hestilow <hestilow@ximian.com>
* configure.in: Conditionally compile Gnome.
* parser/gapi_pp.pl: Handle line breaks in function declarations.
* parser/gapi2xml.pl: Handle non-literals in property definitions.
* glue/program.c: Added.
* glue/Makefile.am: Add program.c (conditionally compiled).
Update INCLUDES.
* gnome/Makefile.in: Conditionally compile this.
* gnome/Program.custom, Modules.cs: Added.
* samples/Makefile.in: Conditionally compile gnome example.
* samples/GnomeHelloWorld.cs: Use Gnome.Program.
2002-07-01 Rachel Hestilow <hestilow@ximian.com>
* generator/gtkapi.xml:
* parser/build.pl: Fix to use 3.0 (accidentally reverted in
last commit).
* generator/SymbolTable.cs (simple_types): Map gssize and gsize.
* parser/Gdk.metadata: Tag PixbufLoader.Write's data parameter
as array.
2002-07-01 Rachel Hestilow <hestilow@ximian.com>
* generator/gtkapi.xml:
* parser/build.pl: Qualify gnome lib names; this is needed
because of debian/LSB policy.
2002-06-26 Duncan Mak <duncan@ximian.com>
* generator/gtkapi.xml:
* parser/build.pl: Point to 'gtkhtml-3.0' instead of gtkhtml-2.
2002-06-26 Rachel Hestilow <hestilow@ximian.com>
* generator/*.cs: Deal with whitespace XmlNodes.
* parser/build.pl: Dump non-indented file to local directory.
* parser/makefile, parser/formatXml.c: Added.
* generator/gtkapi.xml: Nicely indented now. woo!
2002-06-26 Rachel Hestilow <hestilow@ximian.com>
* parser/Gtk.metadata: Change gtk_label_new to be the
preferred constructor.
* gdk/Event.cs: Add "IsValid" property (sometimes NULL events
get sent in signals).
* sample/GnomeHelloWorld.cs: Check to make sure iconlist event
is valid.
2002-06-26 Rachel Hestilow <hestilow@ximian.com>
* configure.in, makefile, makefile.win32: add gnome.
* doc/index.html, netdoc.xsl: Add gnome.
* gdk/Event.cs: New manual wrap for GdkEvent.
* generator/ClassBase.cs: Add methods GetProperty,
GetPropertyRecursively, GetMethodRecursively.
Move Parent property here from ObjectGen.cs. Pass this pointer
into Property.
* generator/Ctor.cs: Generate docs.
* generator/Method.cs, Property.cs: Tag method as "new" if a
Method/Property with the same name is found in the class hierarchy.
* generator/SignalHandler.cs: Correctly wrap complex signal argument
types. Add gnome directory.
* generator/SymbolTable.cs: Add manually wrapped types hash
(contains GLib.GSList and Gdk.Event). Add method IsManuallyWrapped.
* glib/SList.cs: Add constructor from IntPtr.
* glue/slist.c, glue/event.c: Added (field accessor glue).
* glue/Makefile.am: Update.
* parser/Gtk.metadata: Add new signal renames for new signals
exposed by GdkEvent changes.
* parser/README, parser/build.pl: Add libgnome, libgnomecanvas,
libgnomeui.
* parser/gapi2xml.pl: Handle literal-length array parameters,
and NULL property doc strings.
* sample/: Add new test GnomeHelloWorld.cs.
* gnome/: Added.
* parser/Gnome.metadata: Added.
2002-06-25 Mike Kestner <mkestner@speakeasy.net>
* generator/gtkapi.xml : lots of fixes, plus GtkHTML!
* parser/Gtk.metadata : add a bunch of renames.
* parser/build.pl : Add the gtkhtml parse.
* parser/README : module list to parse
2002-06-25 Mike Kestner <mkestner@speakeasy.net>
* parser/gapi2xml.pl : some GtkHTML related parsing tweaks.
2002-06-25 Rachel Hestilow <hestilow@ximian.com>
* makefile: back out a premature add of gnome
2002-06-25 Rachel Hestilow <hestilow@ximian.com>
* doc/: Added the makeshift doc generation toolchain.
2002-06-25 Mike Kestner <mkestner@speakeasy.net>
* configure.in : back out a premature add of gnome/Makefile.in
2002-06-24 Rachel Hestilow <hestilow@ximian.com>
* glib/UnwrappedObject.cs: New class which holds an IntPtr.
This is used in Value so that we can retrieve the IntPtr itself
for an object property.
* glib/Value.cs: Add UnwrappedObject cast operator.
* glib/Property.cs: If the retrieved value is an object,
and there is no wrapper object, create a new one.
2002-06-24 Rachel Hestilow <hestilow@ximian.com>
* gtk/FileSelection.custom: Remove random cruft that was
at the beginning of this file.
2002-06-24 Rachel Hestilow <hestilow@ximian.com>
* glib/EnumWrapper.cs: New class which holds an enum int.
* glib/Value.cs: Add support for glib enum types. We needed
to use EnumWrapper for this because otherwise the int operator
wouldn't know which glib function to use.
* generator/BoxedGen.cs, ClassBase.cs, Ctor.cs, EnumGen.cs,
InterfaceGen.cs, Method.cs, ObjectGen.cs, Signal.cs, StructGen.cs:
Create more doc stubs.
* generator/Property.cs: Generate enum values correctly.
* generator/Ctor.cs: Refactor generation to honor metadata-specified
collision preference.
* parser/Gtk.metadata: Added constructor collision preferences to
all known clashes.
* parse/Gdk.metadata: Added (for Pixbuf clashes).
2002-06-24 Duncan Mak <duncan@ximian.com>
* glue/fileselection.c: New file, defines accessor functions to
fields inside a GtkFileSelection.
* gtk/FileSelection.custom: C# glue that makes use of new accessor
functions defined in fileselection.c.
* glue/Makefile.am: Added fileselection.c
2002-06-23 Rachel Hestilow <hestilow@ximian.com>
* glib/Object.cs, glib/SList.cs, glib/Value.cs, gtk/Application.cs:
Move documentation to right before their actual methods, rather
than the DllImported ones.
* generator/Method.cs: Generate documentation before the actual
method and not the DllImport.
2002-06-23 Rachel Hestilow <hestilow@ximian.com>
* generator/ClassBase.cs: Add accessors for methods and signals.
Change GenSignals and GenMethods to public, as csc has a different
idea of protected than mcs. Handle interface collisions in
GenMethods.
* generator/Method.cs: Add accessor Protection - "public" by default.
* generator/ObjectGen.cs: Make sure wrapper's Signals hashtable only
gets generated once. Generate a list of collisions for GenMethods.
Remove dead foreach loop from Validate.
* generator/Paramaters.cs (CreateSignature): Initialize last_param.
* parser/Gtk.metadata: Add property & event collision renames
for TextBuffer and OldEditable.
* sample/makefile.win32: Reference atk-sharp.dll.
* makefile.win32: Do not build gdk.imaging.
2002-06-22 Mike Kestner <mkestner@speakeasy.net>
* */makefile.win32 : add docs target
* generator/ClassBase.cs : Make GenMethods public for interface gen
* generator/Method.cs : Lose the CallingConvention
* generator/Parameters.cs : fix uninitialized var
* generator/SignalHandler.cs : Lose the CallingConvention
* generator/StructBase.cs : Lose the CallingConvention
2002-06-21 Michael Meeks <michael@ximian.com>
* sample/Makefile.in: re-factor slightly.
2002-06-21 Mike Kestner <mkestner@speakeasy.net>
* gtk/*akefile* : lose the gdk-imaging-sharp refs
2002-06-21 Mike Kestner <mkestner@speakeasy.net>
* configure.in : remove gdk.imaging/Makefile creation.
2002-06-21 Mike Kestner <mkestner@speakeasy.net>
* makefile : remove gdk.imaging from the build
* gdk.imaging/* : kill
* generated/BoxedGen.cs : XmlNode namespace handling. Use GenBase.
* generated/CallbackGen.cs : XmlNode namespace handling.
* generated/Ctor.cs : construct with libname not ns.
* generated/EnumGen.cs : XmlNode namespace handling.
* generated/GenBase.cs : XmlNode namespace handling. Make AppendCustom
an instance method so it can use the private fields instead of params.
* generated/InterfaceGen.cs : XmlNode namespace handling.
* generated/Method.cs : construct with libname not ns.
* generated/ObjectGen.cs : XmlNode namespace handling.
* generated/Parser.cs : Use new XmlNode namespace ctors.
* generated/Signal.cs : Lose the namespace field.
* generated/StructBase.cs : derive from ClassBase
* generated/StructGen.cs : XmlNode namespace handling. Use GenBase.
* generated/SymbolTable.cs : nuke GetDllName method.
* generator/gtkapi.xml : Add library name to namespace node.
* parser/build.pl : refactor for library name param
* parser/gapi2xml.pl : add libname param handling
* sample/Makefile.in : build linux on make install, but don't install.
2002-06-21 Rachel Hestilow <hestilow@ximian.com>
* generator/ClassBase.cs: New base class for classes and interfaces.
* generator/InterfaceGen.cs: Inherit from ClassBase, generate declarations.
* generator/ObjectGen.cs: Move half of this into ClassBase.
* generator/Method.cs: Turn all applicable Get/Set functions into .NET
accessors. Remove redundant == overload and move into Equals, as
it was confusing "!= null".
* generator/Parameters.cs: Alter signature creation to accept "is_set"
option, add support for variable arguments. Add properties "Count",
"IsVarArgs", "VAType".
* generator/Ctor.cs: Fixup for changes in Parameters (indenting,
signature creation).
* generator/Signal.cs: Support generating declarations.
* generator/SymbolTable: Change GetObjectGen to GetClassGen.
* glib/IWrapper.cs: Move "Handle" declaration to here, so
both classes and interfaces can benefit from it.
* glib/Object.cs: Inherit from IWrapper.cs
* parser/Metadata.pm: Support attribute changes on constructors,
methods, signals, and paramater lists.
* parser/gapi2xml.pl: Parse init funcs for interfaces. Ignore "_"
functions here.
* parser/gapi_pp.pl: Remove boxed_type_register check, as it will
be caught in the init funcs.
* parser/Atk.metadata: Added.
* parser/Gtk.metadata: Add all needed signal/method collision
renames. Rename GtkEditable.Editable accessors to IsEditable,
as .NET does not like accessors with the same name as their
declaring type. Tag TreeStore constructor as varargs.
* samples/ButtonApp.cs: s/EmitAdd/Add.
* samples/Menu.cs: s/EmitAdd/Add, s/Activate/Activated.
2002-06-21 Mike Kestner <mkestner@speakeasy.net>
* */makefile.win32 : add /doc flags
* */.cvsignore : ignore .xml files
2002-06-21 Mike Kestner <mkestner@speakeasy.net>
* gdk.imaging/Makefile.in : add a missing -L
* gtk/Makefile.in : add a missing -L
* generator/Method.cs : Add some docs stubbage
2002-06-20 Mike Kestner <mkestner@speakeasy.net>
* generator/Parameters.cs : GError handling overhaul
* generator/SymbolTable.cs : map GError to IntPtr
* glib/GException.cs : Refactor to use glue.
* glue/Makefile.am : add the error.c file.
* glue/error.c : glue for error message string access
* gtk/makefile.win32 : ref the gdk-imaging-sharp assembly
2002-06-19 Mike Kestner <mkestner@speakeasy.net>
* generator/Parameters.cs : csc build error fixes
2002-06-14 Rachel Hestilow <hestilow@ximian.com>
* glib/GException.cs: Added.
* generator/Ctor.cs, Method.cs: Tag function as unsafe if it throws
an exception. Call parms.HandleException.
* generator/Paramaters.cs: Add property ThrowsException (based
on a trailing GError**). If ThrowsException, mask GError in the
signature, initialize a GError in Initialize, and add new method
HandleException to throw an exception if error != null.
* generator/SymbolTable.cs: Add gdk-pixbuf DLL, and GError type.
* gdk.imaging, gdk.imaging/Makefile.in, gdk.imaging/makefile.win32:
Added.
* configure.in, Makefile, makefile.win32: Build gdk.imaging.
* gtk/Makefile.in, gtk/makefile.win32: Link against gdk.imaging.
* parser/gapi2xml.pl: Support namespace renaming.
* parser/build.pl: Build gdk-pixbuf as gdk.imaging.
2002-06-09 Rachel Hestilow <hestilow@ximian.com>
* generator/GenBase.cs: new method AppendCustom, moved from ObjectGen.
* generator/BoxedGen.cs, ObjectGen.cs, StructGen.cs:
Call AppendCustom in Generate ();
* generator/Method.cs, Parameters.cs: Add support for "out"
parameters. Additionally, output an accessor instead of a
regular method if it is an accessor-style function (ie GetStartIter).
* generator/Property.cs: Add additional cast to Boxed, if necessary.
* glue/textiter.c: New constructor for GtkTextIter.
* glue/Makefile.am: Add textiter.c, build with Gtk+ cflags.
* configure.in: Check for Gtk+ cflags.
* parser/Metadata.pm, Gtk.metadata: Added.
* parser/gapi2xml.pl: Call Metadata::fixup on the document.
Also work around gtk's screwy boxed type name registration
(GtkFoo -> GtkTypeFoo).
* gtk/TextIter.custom: Added.
2002-06-06 Mike Kestner <mkestner@speakeasy.net>
* glib/Timeout.cs : new Timeout class with Add() and
TimeoutHandler delegate.
2002-06-05 Mike Kestner <mkestner@speakeasy.net>
* generator/Property.cs : Fix get{} GLib.Value passing.
* glib/Object.cs : GetProperty passes the GLib.Value now.
* glib/Value.cs : Add a ctor to create Values for props.
* glue/value.c : add gtksharp_value_create_from_property.
2002-05-29 Mike Kestner <mkestner@speakeasy.net>
* */Makefile.in : remove generated source in clean target.
2002-05-29 Mike Kestner <mkestner@speakeasy.net>
* generator/CallbackGen.cs : Fix build breaker from refactoring.
* sample/Makefile.in : Build the menu sample on linux.
2002-05-28 Mike Kestner <mkestner@speakeasy.net>
* makefile : add separate targets for native and platform
independent products per request from debian packager
Alp Toker <alp@atoker.com>
2002-05-26 Mike Kestner <mkestner@speakeasy.net>
* generator/Parser.cs : Implement Alias node parsing.
* generator/SymbolTable.cs : resolve aliased types.
2002-05-23 Mike Kestner <mkestner@speakeasy.net>
* generator/BoxedGen.cs : Update for Static SymbolTable
* generator/CallbackGen.cs : Use GenBase and Parameters classes
* generator/CodeGenerator.cs : Update for Static SymbolTable
* generator/Ctor.cs : code from StructBase using Parameters class
* generator/EnumGen.cs : Use GenBase
* generator/GenBase.cs : Abstract Stream Writer creation, stream
boilerplate, and common *Name properties
* generator/IGeneratable.cs : Update for Static SymbolTable
* generator/InterfaceGen.cs : Use GenBase
* generator/Method.cs : code from StructBase using Parameters class
* generator/ObjectGen.cs : Major refactoring. Use GenBase. Build
tables of Member generatables at construct time to facilitate
future name collision resolution logic.
* generator/Parameters.cs : new generatable to abstract duplicated
parameter parsing logic.
* generator/Parser.cs : Update for Static SymbolTable
* generator/Property.cs : code from ObjectGen
* generator/Signal.cs : code from ObjectGen
* generator/SignalHandler.cs : Update for Static SymbolTable
* generator/StructBase.cs : Update for Static SymbolTable
* generator/StructGen.cs : Update for Static SymbolTable
* generator/SymbolTable.cs : Make all methods and private members
static. There is no reason to ever have multiple tables.
2002-05-13 Joe Shaw <joe@assbarn.com>
* sample/Makefile.in: Use -L compiler flags and specify all of the
assemblies to link against.
2002-05-13 Joe Shaw <joe@assbarn.com>
* gtk/Makefile.in: Add the System.Drawing assembly to the compiler
command-line.
2002-05-08 Joe Shaw <joe@assbarn.com>
* generator/ObjectGen.cs (GenProperty): And uncomment it out because
the compiler bug is fixed.
2002-05-08 Joe Shaw <joe@assbarn.com>
* generator/ObjectGen.cs (GenProperty): Comment the last checkin out
because it exposes a compiler bug.
(GenSignal): Back this change out.
2002-05-08 Joe Shaw <joe@assbarn.com>
* */Makefile.in: Don't allow the shell to do file globbing; makes
--recurse work.
* generator/ObjectGen.cs (GenProperty): We need to cast a GLib.Value
to a GLib.Object and then to whatever it is, because explicit casts
don't work to child classes.
(GenSignal): Append "EventHandler" when generating signal handlers
so we don't get symbol conflicts.
2002-05-07 Mike Kestner <mkestner@speakeasy.net>
* generator/SymbolTable.cs : map char to string.
2002-05-07 Mike Kestner <mkestner@speakeasy.net>
* */Makefile.in : Add clean targets. Add -L parms.
2002-05-06 Mike Kestner <mkestner@speakeasy.net>
* generator/ObjectGen.cs : When generating a ctor(void)
for subclassing purposes, mark it protected, not public.
Thanks to Miguel for reporting this bug.
2002-05-03 Mike Kestner <mkestner@speakeasy.net>
* sample/makefile.win32 : add the Menu sample
* sample/Menu.cs : A menu and box packing sample.
2002-05-02 Mike Kestner <mkestner@speakeasy.net>
* generator/ObjectGen.cs : Add support for .custom files.
* gtk/Window.custom : clean up build
* sample/HelloWorld.cs : Use the customizations.
* sample/ButtonApp.cs : Use the customizations.
2002-05-02 Mike Kestner <mkestner@speakeasy.net>
* README : Describe the new make procedure.
* configure.in : Add the new Makefile generation.
* makefile : add the glue dir, make linux the default build,
add an install target
* */makefile.win32 : temp build files for win32
* */Makefile.in : new configurable make system
* */makefile : killed
* generator/BoxedGen.cs : Now uses GLib.Boxed
* generator/ObjectGen.cs : Use Values for Props.
* generator/SymbolTable.cs : Add IsEnum method.
* glib/Boxed.cs : Major overhaul.
* glib/Object.cs : Remove type specific (Get|Set)Property. Now
use GValue based property accessors.
* glib/TypeFundamentals.cs : Update to current values.
* glib/Value.cs : Refactor to use glue.
2002-04-25 Mike Kestner <mkestner@speakeasy.net>
* autogen.sh : simple config for the glue build
* configure.in : simple config for the glue build
* makefile : add glue dir to build
* glib/SList.cs : Fix some leakage.
* glue/value.c : a helper function for heap alloc of GValues
* glue/Makefile.am : build for libgtksharpglue
2002-04-19 Mike Kestner <mkestner@speakeasy.net>
* glib/SList.cs : A more sane approach.
* glib/Value.cs : Marshal strings directly with pinvoke
2002-04-18 Joe Shaw <joe@assbarn.com>
* */makefile: Allow a different MCS to be passed in on the make
command line.
2002-04-09 Mike Kestner <mkestner@speakeasy.net>
* tagging for gtk-sharp-0.1
2002-04-09 Mike Kestner <mkestner@speakeasy.net>
* sample/ButtonApp.cs : Get it to run on linux.
2002-04-04 Mike Kestner <mkestner@speakeasy.net>
* generator/CallbackGen.cs : Unstubify.
* generator/SymbolTable.cs : qualify some simple typenames.
2002-03-29 Mike Kestner <mkestner@speakeasy.net>
* */makefile : add make linux target.
2002-03-29 Mike Kestner <mkestner@speakeasy.net>
* generator/SymbolTable.cs (Trim): revamp TrimEnd call.
2002-03-28 Mike Kestner <mkestner@speakeasy.net>
* generator/SignalHandler.cs : switch to 2.0 libs
* generator/SymbolTable.cs : switch to 2.0 libs
* glib/Object.cs : switch to 2.0 libs
* glib/SList.cs : switch to 2.0 libs
* glib/Value.cs : switch to 2.0 libs
* gtk/Application.cs : switch to 2.0 libs
2002-03-26 Mike Kestner <mkestner@speakeasy.net>
* generator/SignalHandler.cs : Use Path.DirectorySeparatorChar.
2002-03-25 Mike Kestner <mkestner@speakeasy.net>
* generator/StructBase.cs : Throttle _gtk methods.
* generator/SymbolTable.cs : tweak dll names.
* glib/Object.cs : restructure DllImports and prop code.
* glib/SList.cs : restructure DllImports.
* glib/Value.cs : restructure DllImports.
* gtk/Application.cs : overload Init() to get past the string[]
marshaling crash on linux.
* sample/HelloWorld.cs : Use App::Init() since no args are needed.
2002-03-24 Mike Kestner <mkestner@speakeasy.net>
* generator/*Gen.cs : Use Path.DirectorySeparatorChar.
* generator/Parser.cs : better debug for unexpected types.
* generator/SymbolTable.cs : Use linux library names.
2002-03-07 Mike Kestner <mkestner@speakeasy.net>
* generator/CodeGenerator.cs : Refactor generatable iteration.
* generator/SymbolTable.cs : Add Generatables property to expose
complex_types.Values.
2002-03-02 Mike Kestner <mkestner@speakeasy.net>
* makefile : add linux build.
* generator/makefile : add linux build.
2002-02-19 Mike Kestner <mkestner@speakeasy.net>
* generator/BoxedGen.cs : Add ctor and method generation.
* generator/StructBase.cs : Switch to Raw syntax.
* glib/Boxed.cs : Add Handle prop, make Raw protected, and add ctors.
* glib/Object.cs : s/RawObject/Raw to simplify generation.
2002-02-19 Mike Kestner <mkestner@speakeasy.net>
* generator/Statistics.cs : New. Gathers stats about generation.
* generator/*.cs : Hook in the stat counters.
2002-02-18 Mike Kestner <mkestner@speakeasy.net>
* generator/StructBase.cs (GenCtor): StudCapsify static method names.
* generator/SymbolTable.cs (Trim): strip const- prefix.
* sample/ButtonApp.cs (Window_delete): handle RetVal.
2002-02-17 Mike Kestner <mkestner@speakeasy.net>
* generator/StructBase.cs (MangleName): add object and event.
* parser/gapi2xml.pl : Handle embedded callback declarations in method
parameter lists.
2002-02-15 Mike Kestner <mkestner@speakeasy.net>
* generator/SignalHandler.cs : Create the SignalArgs.Args array and fix
indexing into it.
* sample/ButtonApp.cs : A little cleanup. Not quite there yet.
* sample/HelloWorld.cs : Set up the RetVal in the delete handler.
2002-02-14 Mike Kestner <mkestner@speakeasy.net>
* generator/ObjectGen.cs : suppress generation of get/set methods when
properties exist. Mangle method names on signal name clashes. Gen
the signals.
* generator/SymbolTable.cs : Add GetName. Add some more calls to Trim.
* generator/gtkapi.xml : adding binary file as an experiment. If the
diff's show this file, I'll be removing it with apologies and going
back to the separate package idea.
* parser/gapi2xml.pl : some signal related fixes.
* sample/HelloWorld.cs : uncomment the event hook.
2002-02-10 Mike Kestner <mkestner@speakeasy.net>
* generator/BoxedGen.cs (FromNative): Add explicit cast.
* generator/ObjectGen.cs (FromNative): Add explicit cast.
(GenSignal): New. Partial. Not hooked in yet.
* generator/StructBase.cs (GenMethod): return-type is a sub-element,
not an attribute.
2002-02-09 Mike Kestner <mkestner@speakeasy.net>
* generator/StructBase.cs (GenMethod): Add handle arg to paramless
method call and extern.
2002-02-08 Mike Kestner <mkestner@speakeasy.net>
* README : Some updates.
* generator/BoxedGen.cs : Add FromNative method.
* generator/CallbackGen.cs : Add FromNative method.
* generator/EnumGen.cs : Add FromNative method.
* generator/IGeneratable.cs : Add FromNative method.
* generator/InterfaceGen.cs : Add FromNative method.
* generator/ObjectGen.cs : Add FromNative method. Hook in GenMethod.
* generator/StructBase.cs : Revamp param handling. Add GenMethod.
* generator/StructGen.cs : Add FromNative method.
* generator/SymbolTable.cs : Add FromNative method.
* parser/gapi2xml.pl : Detect ctors before methods. Fix method names.
* sample/HelloWorld.cs : uncomment the Show call.
2002-02-06 Mike Kestner <mkestner@speakeasy.net>
* generator/BoxedGen.cs : Marshal as IntPtr using Raw prop.
* generator/ObjectGen.cs : Use Handle for marshaling.
* generator/StructBase.cs (CallByName): Fill out the stub.
(GetImportSig): Fill out the stub.
* generator/StructGen.cs (MarshalType): Use QualifiedName.
* generator/SymbolTable.cs (GetMarshalType): Trim type.
(CallByName): New. Provides calling syntax.
* sample/HelloWorld.cs : Make it compile.
2002-02-02 Mike Kestner <mkestner@speakeasy.net>
* generator/ObjectGen.cs : Add IntPtr constructor generation. Pass a
ctor signature hash around to use in clash resolution. Generate a
void ctor if none is present which just calls the parent ctor.
* generator/StructBase.cs : Add non-void signature ctor generation,
including collision handling logic. Collisions are implemented as
static methods.
* generator/SymbolTable.cs : Map GSList to GLib.SList. Add type
trimming to remove trailing *'s. Need to suppress leading const yet.
* glib/Object.cs : Add default ctor for void and IntPtr ctors.
* glib/SList.cs : Implementation of a wrapper class for GSLists. Lots
of FIXMEs.
* parser/gapi2xml.pl : Handle ** and array params.
2002-01-17 Mike Kestner <mkestner@speakeasy.net>
* generator/BoxedGen.cs : Removed Name, CName, and QualifiedName.
* generator/ObjectGen.cs : Removed Name, CName, and QualifiedName.
* generator/StructBase.cs : Add Name, CName, and QualifiedName. Add
GenCtor method. Stub GetCallString, GetImportSig, and GetSignature
methods.
* generator/StructGen.cs : Removed Name, CName, and QualifiedName.
* generator/SymbolTable.cs : Add GetDllName method.
* parser/gapi2xml.pl : Fix a couple <parameters> bugs.
2002-01-16 Mike Kestner <mkestner@speakeasy.net>
* generator/BoxedGen.cs : New boxed type generatable.
* generator/ObjectGen.cs : Add boxed type property generation and stub
off interface properties for now.
* generator/Parser.cs : Add boxed element parsing.
* generator/SymbolTable.cs : Add IsBoxed and IsInterface methods.
* glib/Boxed.cs : New base class for deriving boxed types.
* glib/Object.cs : Add boxed GetProp/SetProp methods.
* parser/gapi2xml.pl : Add boxed type element formatting.
* parser/gapi_pp.pl : Add preprocessing of the generated sourcefiles.
Handle the builtins and make them identifiable to the xml generator.
2002-01-11 Mike Kestner <mkestner@speakeasy.net>
* generator/ObjectGen.cs : Add property generation.
* generator/SymbolTable.cs : More fixage to simple_types. Add
GetMarshalType and IsObject methods.
* glib/Object.cs : Rename Events prop to EventList to avoid name
collision. Add float, double, uint, and IntPtr GetProp and SetProp
methods.
* parser/TODO : Add a couple prop related bugs to come back for.
* parser/gapi2xml.pl (addPropElems): Restructure. It was thoroughly
broken. It's better now.
2002-01-10 Mike Kestner <mkestner@speakeasy.net>
* generator/StructBase.cs (GenField): Return a bool success indicator.
* generator/ObjectGen.cs : Check the return of GenField.
* generator/SymbolTable.cs : More fixage to simple_types.
* parser/gapi2xml.pl : Fix multiline comment bug, and callback name
hashing logic. Squash callbacks that aren't in the namespace.
* sample/HelloWorld.cs : Clean out some debugging to make it closer to
compiling. Not quite there yet.
2002-01-08 Mike Kestner <mkestner@speakeasy.net>
* generator/CallbackGen.cs : Use name in QualName, not cname.
* generator/EnumGen.cs : Use name in QualName, not cname.
* generator/InterfaceGen.cs : Use name in QualName, not cname.
* generator/StructBase.cs (GenField): gen as public.
2002-01-08 Mike Kestner <mkestner@speakeasy.net>
* generator/CallbackGen.cs : New stub for delegate generation.
* generator/InterfaceGen.cs : New stub for interface generation.
* generator/Parser.cs : Add the interface and callback element hooks.
* generator/SymbolTable.cs : Additions to simple_types hash.
2002-01-07 Mike Kestner <mkestner@speakeasy.net>
* generator/ObjectGen.cs : Make parent debug statement more helpful.
* generator/Parser.cs : Add interface element case.
* parser/gapi2xml.pl : Add interface types.
* parser/gapi_pp.pl : Grab G_TYPE_INSTANCE_GET_INTERFACE defines. Grab
struct declarations out of private headers.
2002-01-06 Mike Kestner <mkestner@speakeasy.net>
* */makefile : Add atk to the build.
* generator/EnumGen.cs : Create the generated dir if necessary.
* generator/ObjectGen.cs : Create the generated dir if necessary.
* generator/StructGen.cs : Create the generated dir if necessary.
* parser/gapi2xml.pl : Squash bug in comma separated field defs.
2002-01-06 Mike Kestner <mkestner@speakeasy.net>
* generator/EnumGen.cs : Open stream Create only.
* generator/ObjectGen.cs : New generatable for GObject subclasses.
* generator/Parser.cs : Add the object element hook.
* generator/StructBase.cs : Handle bits element in GenField.
* generator/StructGen.cs : Open stream Create only.
* generator/SymbolTable.cs : Additions to simple_types hash.
* parser/gapi2xml.pl : Parse bitflags into the bits element.
2002-01-05 Mike Kestner <mkestner@speakeasy.net>
* generator/SymbolTable.cs : First pass at simple_types hash.
2002-01-05 Mike Kestner <mkestner@speakeasy.net>
* generator/*.cs : Move into GtkSharp.Generation namespace.
* generator/CodeGenerator.cs (Main): Add usage check. Add SymbolTable.
* generator/EnumGen.cs (QualifiedName): New.
(Generate): Add SymbolTable to signature.
* generator/IGeneratable : Add QualifiedName prop and update Generate
signature.
* generator/Parser.cs : Switch from plain Hashtable to SymbolTable.
(Parse): Replaces the Types property and returns a SymbolTable.
* generator/StructBase.cs : New base class to derive struct and object
types. Initial implementation of protected GenField method and ctor.
* generator/StructGen.cs : New non-object struct type generatable.
* generator/SymbolTable.cs : New. Manages complex types hash and a
simple types hash. Will provide generic lookup interface.
2002-01-04 Mike Kestner <mkestner@speakeasy.net>
* makefile : switch to the new generator.
* generator/CodeGenerator.cs : New main program class.
* generator/IGeneratable.cs : Interface for generation methods/props.
* generator/EnumGen.cs : Subclass of IGeneratable for enums.
* generator/Parser.cs : The XML parser.
* parser/gapi_pp.pl : A source preprocessor for api extraction.
* parser/gapi2xml.pl : Produces Xml document for GObject based APIs.
2001-12-31 Mike Kestner <mkestner@speakeasy.net>
* codegen/defs-parse.pl : Fix EOL handling for DOS \r\n patterns as
reported by David Dawkins.
2001-12-17 Mike Kestner <mkestner@speakeasy.net>
* makefile : Add the pango subdir.
* codegen/defs-parse.pl : Add a buttload of type entries to %maptypes
and %marshaltypes. Ignore props, sigs, and methods for non GObject
types. Turn on all classes. Major beefup of struct generation. Start
to use the new sighandlers. Rip out const- types. Handle Unicode
string marshalling.
* codegen/gdk-structs.defs : Regenerated.
* codegen/get-structs-from-source.pl : Handle typedef x y; Suppress
structs with "Private" in the typename. Handle multiple levels of
typedeffing. Handle function pointers. Suppress comments sanely.
* codegen/gtk-props.defs : Fill out the rest of the classes.
* codegen/gtk-signals.defs : Fill out the rest of the classes.
* codegen/gtk-structs.defs : First pass. Hacked obscenely.
* codegen/hardcoded.defs : Kill. No hardcoding needed anymore.
* codegen/makefile : Use the new defs files.
* codegen/pango.defs : Ripped from pygtk.
* codegen/pango-structs.defs : New struct defs gen'd with my tool.
* codegen/pango-types.defs : Ripped from pygtk.
* gdk/makefile : Add the pango-sharp.dll ref.
* gdk/SimpleEvent.cs : Killed.
* glib/SimpleSignal.cs : Killed.
* gtk/makefile : Add the pango-sharp.dll ref.
* gtk/Widget.cs : Killed.
* pango/makefile : New build dir.
2001-12-11 Mike Kestner <mkestner@speakeasy.net>
* codegen/get-structs-from-source.pl : New define-struct extractor.
* codegen/gdk-structs.defs : generated defs with a few hand edits.
2001-12-04 Mike Kestner <mkestner@speakeasy.net>
* codegen/defs-parse.pl : Index %structs by cname, not name. Derive
structs from class to facilitate marshalling since Value types can't
use the Marshal.PtrToStructure method. Generate StructLayout attr
for struct class defs. Stuff the signal args into a SignalArgs inst
to pass to the EventHandlers.
* sample/HelloWorld.cs : some cleanup and temporary signal playcode.
2001-12-01 Mike Kestner <mkestner@speakeasy.net>
* makefile : Make ROOT /cygdrive/, not //.
2001-11-25 Mike Kestner <mkestner@speakeasy.net>
* codegen/defs-parse.pl (get_sighandler): gen the helper class. arg
passing and return value handling need beefing up still.
* glib/SignalArgs.cs : New arg passing/ return value handling class.
* glib/SignalCallback.cs (dtor): kill, this will be gen'd in the
subclasses. (ctor): prune down to two params.
2001-11-24 Mike Kestner <mkestner@speakeasy.net>
* codegen/defs-parse.pl : mkdir the glib/generated dir.
(gen_signal): Call new get_sighandler sub. Doesn't use the returned
value yet. s/event/ev3nt on arg names.
(get_sighandler): new sub to lookup or gen a signal helper/delegate.
Only generates the delegate so far.
* codegen/hardcoded.defs : Added a stub for Gdk.Event.
* gdk/Event.cs : Killed, now a generated struct.
* gdk/SimpleEvent.cs (SimpleEventCallback): Use Marshal.PtrToStructure
to create the Event, not a ctor(IntPtr).
* glib/SignalCallback.cs : New abstract base class for signal helpers.
2001-11-14 Mike Kestner <mkestner@speakeasy.net>
* codegen/defs-parse.pl : Add System.Collections to usings.
s/event/signal. Add gen_signal sub and call it from gen_object.
Mangle method names that collide with signal names by prepending
Emit to the method name.
* codegen/makefile : add gtk-signals.defs to the build.
2001-11-13 Mike Kestner <mkestner@speakeasy.net>
* codegen/get-signals-from-source.pl : My own little perl signal
parser.
* codegen/gtk-signals.defs : Ripped the GtkWindow signals into here
to goof with.
2001-11-10 Mike Kestner <mkestner@speakeasy.net>
* codegen/defs-parse.pl : Fix String prop generation code.
* gtk/Window.custom : Fix ctor param casting error.
2001-11-09 Mike Kestner <mkestner@speakeasy.net>
* codegen/defs-parse.pl : Use the @ctors list to determine if a class
is abstract. There is an abstract indicator in the new defs format
description, but it doesn't appear in the defs files currently. This
method should be reliable though, even in the long term. Use the same
check to determine if ctor(IntPtr obj) should be gen'd.
2001-11-09 Mike Kestner <mkestner@speakeasy.net>
* codegen/defs-parse.pl : Now genning Window, AccelGroup, Bin, and
GdkPixbuf classes to peel the csc error onion. Explicitly add GObject
to the "exists ($objects{...})" branches, since GObject is a hard
coded Class.
2001-11-08 Mike Kestner <mkestner@speakeasy.net>
* codegen/defs-parse.pl : Build a structs hash and gen the structs
after the first pass of the defs. For structs and functions, mangle
the 100s of params/fields named object to objekt. Insert using stmnts
for structs too.
* codegen/hardcoded.defs : Add GtkAccelEntry struct.
2001-11-07 Mike Kestner <mkestner@speakeasy.net>
* codegen/defs-parse.pl (gen_object): Insert using statements. Insert
class members from corresponding .custom file.
* gtk/Window.custom : Renamed file from Window.cs. Removed all the
automatically generated members. This will be the mechanism used to
improve upon the mechanically generated binding.
2001-11-05 Mike Kestner <mkestner@speakeasy.net>
* codegen/defs-parse.pl (gen_object): Generate a ctor (IntPtr obj) for
every object. This is a wrapper constructor for use by an Object
manager which will be called by GLib.Object.GetObject eventually to
wrap raw GObject pointers returned by methods/props.
2001-11-04 Mike Kestner <mkestner@speakeasy.net>
* codegen/defs-parse.pl : struct generation. Added float and double
type mapping entries.
* codegen/hardcoded.defs : GdkGeometry definition. define-struct
doesn't appear to be supported in the current defs files. This file
will be used for manual definition of unsupported defs.
* codegen/makefile : add hardcoded.defs.
2001-11-02 Mike Kestner <mkestner@speakeasy.net>
* codegen/defs-parse.pl : define-struct detection. Partial ctor
support. Still need to deal with ctor signiature collisions.
Refactored gen_method to share get_param_strings with ctors.
2001-10-30 Mike Kestner <mkestner@speakeasy.net>
* codegen/defs-parse.pl : streamline mkdir stuff. Prune the object
list back to just Window for now. Suppress generation of the Prop
get/set accessor methods.
* codegen/gdk-types.defs : Updated the 2button/3button event types
since I don't feel like automangling them now.
* gdk/Event.cs : Killed the now redundant EventType declaration.
* glib/Object.cs : Override the Equals and GetHashCode methods.
2001-10-25 Mike Kestner <mkestner@speakeasy.net>
* glib/Object.cs : Added Get|SetProperty methods for Object
properties.
2001-10-25 Mike Kestner <mkestner@speakeasy.net>
* codegen/get-props-from-source.pl : Temporary (possibly) defs
generator for props. Will probably kill this when the official
defs support props.
* codegen/defs-parse.pl : Added object-based aggregation of
defs. Generate the class shells, methods, and props.
* codegen/gdk-types.defs : ripped from pygtk.
* codegen/gtk.defs : ripped from pygtk.
* codegen/gtk-props.defs : some props defs.
* codegen/makefile : add the new defs files.
2001-10-11 Mike Kestner <mkestner@speakeasy.net>
* makefile : Add the codegen directory
* codegen/defs-parse.pl : Moved here from topdir and updated to parse
the new defs format for enums and flags.
* codegen/gtk-types.defs : Borrowed from pygtk.
* codegen/makefile : new
* gtk/makefile : remove generation step.
* gtk/gtk.defs : removed, now in codegen dir.
2001-10-07 Mike Kestner <mkestner@speakeasy.net>
* gtk/Button.cs : Some nomenclature changes. s/EmitClicked/Click, etc.
We need a consistent way to deal with naming clashes in gtk's method
and signal namespaces. When clashes exist, events will be made past
tense and methods to programatically emit events will be the present
tense (e.g. Clicked event and Click method).
2001-10-07 Mike Kestner <mkestner@speakeasy.net>
* glib/Object.cs : Added public Handle property. It would be nice
if I could make the RawObject public for get and protected for set,
but that doesn't appear to be possible with C# properties.
* gtk/Container.cs : New class with 2 of the 3 props and the Add/Remove
methods only implemented.
* gtk/Widget.cs : Added SizeRequest prop which is a combination of
HeightRequest and SizeRequest. Embrace and extend gtk...
* gtk/Window.cs : Derive from newly added Container subclass.
* sample/ButtonApp.cs : Simple tire-kicking app.
2001-10-06 Mike Kestner <mkestner@speakeasy.net>
* gtk/Button.cs : Implemented 3 constructors, 5 methods, 4 properties,
and 6 signals. Button API is 100% implemented. Need to implement
some Container methods to be able to complete testing.
2001-10-05 Mike Kestner <mkestner@speakeasy.net>
* defs-parse.pl : A little automation for the binding. The enums and
flags can be painlessly generated from defs files.
* gtk/makefile : use defs-parse.pl to produce generated.cs.
* gtk/.cvsignore : hush generated.cs
* gtk/gtk.defs : unceremoniously ripped from gtk+ HEAD.
* gtk/Window.cs : Killed the WindowType enum which is now generated.
2001-10-04 Mike Kestner <mkestner@speakeasy.net>
* glib/SimpleSignal.cs : Reworked to parallel SimpleEvent.
2001-10-04 Mike Kestner <mkestner@speakeasy.net>
* gtk/Widget.cs : Implemented all the bool, string, and int props.
2001-10-04 Mike Kestner <mkestner@speakeasy.net>
* gdk/SimpleEvent.cs : Temporarily uncomment the GCHandle code until
a layout is ready and exceptions can be avoided.
* gtk/Widget.cs : Killed all the signal and event attaching methods.
They never belonged here, and now they exist in the SimpleEvent.
Add a Signals hash to hold refs of the Signal handlers. Killed default
ctor and the dtor. The event Add/Remove methods now create a
SimpleEvent, stuff it in the hash, and remove it when the last handler
disappears.
2001-10-04 Mike Kestner <mkestner@speakeasy.net>
* HACKING : Little bit of cleanup.
* gdk/SimpleEvent.cs : Redesigned a bit. Docs. Replaced refcounting
mechanism with an instance hash and added ctor/dtor. This class
now completely encapsulates the signal attachment and forwarding
mechanism for GdkEvent based signals. It attaches to the raw signal,
maintains a ref to the associated event handler, and uses the static
callback to activate the event handler on signal receipt.
* sample/makefile : killed one last CSC explicit reference.
2001-10-02 Mike Kestner <mkestner@speakeasy.net>
* glib/Value.cs : Tried adding CallingConvention.Cdecl to all the
DllImports, but still couldn't get reliable Propery setting without
periodic NullReference exceptions. When all else fails, drop back
and punt.
* glib/Object.cs : Rewrote Set|GetProperty methods. Now they use
g_object_get|set and don't rely on GValues. The int, bool, and string
prop types are now working reliably.
* gtk/Window.cs : Update all Properties to use new GLib.Object
signatures.
* sample/HelloWorld.cs : added some more property usage for testing
purposes.
2001-09-29 Mike Kestner <mkestner@speakeasy.net>
* glib/Value.cs (int ctor): New constructor for int-based values.
(int exp cast): New explicit cast operator for Val to int conversion.
* gtk/Window.cs (DefaultHeight): New prop.
(DefaultWidth): New prop.
2001-09-28 Mike Kestner <mkestner@speakeasy.net>
* glib/Object.cs (GetProperty): New, gets props from the raw obj.
(SetProperty): New, for setting props on the raw obj.
* glib/Value.cs (type ctor): New needed for get accessors.
*gtk/Window.cs (AllowGrow): Uncommented and filled out.
(AllowShrink): Uncommented and filled out.
(DestroyWithParent): Uncommented and filled out.
(Modal): Uncommented and filled out.
(Resizable): Added. All the bool Props work now.
2001-09-28 Mike Kestner <mkestner@speakeasy.net>
* glib/Value.cs (~Value): New destructor to release g_malloc'd space.
(default ctor): New default ctor just mallocs without init.
(String ctor): call default
(bool ctor): call default
(Init): New post construct initializer.
(String exp cast): Replaces ToString method.
(bool exp cast): New for bool extraction.
(MarshalAs): Renamed prop was RawValue.
2001-09-27 Mike Kestner <mkestner@speakeasy.net>
* glib/Object.cs : Docs for everything. Made Objects hash private.
Some coding style cleanup. Pruned some of the TODO methods from the
commented header listing to make a more relistic picture of the
remaining effort. Some GSignal stuff probly belongs here too.
([Get|Set]Data): Killed some DllImports and set up methods to store
arbitrary data in a managed hash table.
2001-09-27 Mike Kestner <mkestner@speakeasy.net>
*.cs : Added .dll extension to a load of DllImports.
* makefile : now can make the project with one make windows and on
both NT and Win98.
* gdk/Event.cs : Fixed some invalid symbol names and commented out a
load of stuff.
* gdk/SimpleEvent.cs : Relocated file from unnecessary subdir and fixed
several event keyword clashing bugs. Need to relocate the EventArgs
class out of here into its own file. Fixed loads of typos.
* glib/Object.cs : Killed the Constructor, this should be a purely
abstract class. made Events property public until I can fix the Signal
proxying system's broken reliance on it.
* glib/SimpleSignal.cs : Relocated, namespaces, and named this Class.
Loads of bugfixes. Still doesn't work worth a damn, but it builds.
* glib/TypeFundamentals.cs : New enum for use in the Value code.
* glib/Value.cs : Implemented a more opaque approach with heap allocated
memory and g_value_init and friends. Still doesn't work. Will probably
switch to a more C# like approach and avoid GValues altogether.
* gtk/Button.cs : Commented out some brokeness until I can get around
to fixing it later.
* gtk/Widget.cs : Commented out a bunch of the new signal stuff until
I get around to it.
* gtk/Window.cs (Title): using g_object_set until I work out the
details of the new Value/SetProperty system. It looks like g_object_set
will end up being easier to use via PInvoke.
2001-09-25 Bob Smith <bob@thestuff.net>
* Added refcounts to delegates to make sure they can be unpined when
not needed.
2001-09-21 Bob Smith <bob@thestuff.net>
* Signal system totally reworked. It should be stable now.
* glib/Object.cs: Rewrote the way the wrapper is kept track of.
2001-09-20 Bob Smith <bob@thestuff.net>
* glib/ObjectManager.cs: Nuked.
* glib/Object.cs: Keep track of wrapper.
* gtk/Object: First stab at better signal system. Should reduce
number of pins nessisary.
2001-09-19 Mike Kestner <mkestner@speakeasy.net>
* HACKING : New rulez.
* NOTES: Killed. We have a mailing list now for this kind of stuff.
* glib/makefile : New, to build the new glib-sharp.dll target.
* glib/Object.cs : (GetObject): Commented out. Design problems here.
IntPtr's can't be used in the manner this code attempts to use them.
(Data prop): Commented out. Apparently keyed properties are not
supported.
(Object prop): Renamed RawObject, and made it protected.
(Events): Fixed to cause list to be initialized if null and then
return the list.
* glib/ObjectManager.cs : commented out entirely. Not sure what this
code is trying to accomplish and it doesn't compile.
* glib/Value.cs : New attempt at implementing GValues. Doesn't work
yet.
* gtk/Button.cs : Updated to use RawObject.
(Clicked event): s/EmitDeleteEvent/EmitClickedEvent.
(Button(String)): s/gtk_label_new_with_lable/gtk_button_new_with_label.
* gtk/Label.cs : Fixed some yank and paste errors where 2 value params
were getting passed to all the set_* property methods.
* gtk/Window.cs : Fixed hanging GTK namespace ref.
* sample/HelloWorld.cs : Fixed hanging GTK namespace ref.
2001-09-18 Bob Smith <bob@thestuff.net>
* glib/Object.cs : Moved parts of gtk/Object.cs here, and added
static GetObject method and a Data property.
* glib/ObjectManager.cs : New.
* gtk/Object.cs : removed some GObject wrapping code.
* gtk/*.cs : Updated namespace from GTK to Gtk.
2001-09-18 Bob Smith <bob@thestuff.net>
* gtk/Object.cs : Added EventList and Object properties.
* gtk/Widget.cs : Updated event emission logic.
* gtk/Window.cs : added Window(IntPtr) constructor.
* gtk/Button.cs : New. Partial implementation of Button class.
* gtk/Label.cs : New. Partial implementation of Label class.
2001-09-17 Mike Kestner <mkestner@speakeasy.net>
Initial Import. Partial implementation of Object, Widget, Window,
and Application classes and HelloWorld.cs sample app.
|