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
|
2009-05-11 Christian Persch <chpe@gnome.org>
* linc2/src/linc-connection.c: (link_connections_close): Convert
a FIXME g_warning into a code comment. Bug #581914.
========================== 2.14.17 ========================
2009-01-09 Fridrich Strba <fridrich.strba@bluewin.ch>
* configure.in: Add a warning saying that the borked-linking-test
could not be run when cross-compiling.
* configure.in, Makefile.shared: allow to specify an external idl
compiler during the build so that we can use the native compiler while
cross-compiling. The fallback is the current situation, the internal
idl compiler is used.
2009-01-09 Fridrich Strba <fridrich.strba@bluewin.ch>
* configure.in: add fallback action to AC_TRY_RUN to allow cross-
compiling since that one is not possible to override with config.cache
file.
2009-01-05 Tor Lillqvist <tml@novell.com>
Bug 547885 - ORBit2 should not call g_thread_init() itself as it
is usually too late
The change to linc2 mentioned in the below ChangeLog entry has
been reverted. I didn't bother to revert the corresponding changes
to src/orb/GIOP/giop.c and the test programs, they are harmless
even with the reverted linc2 behaviour. And I still think that it
is more correct to call g_thread_init() from main() in an
ORBit2-using program, even if it happens to work not to do it, at
least on Linux.
2008-12-15 Tor Lillqvist <tml@novell.com>
Bug 547885 - ORBit2 should not call g_thread_init() itself as it
is usually too late
* src/orb/GIOP/giop.c (giop_init): Don't assume that link_init()
managed to actually take threads into use if requested to. See
linc2/ChangeLog. Check with giop_thread_safe().
* test/everything/client.c (main)
* test/everything/server.c (main)
* test/poa/poatest-basic-shell.c (main)
* test/test-corbaloc.c (main)
* test/test-dynany.c (main)
* test/test-giop.c (main)
* test/test-mem.c (main)
* test/test-performance.c (main)
* test/timeout-client.c (main)
* test/timeout-server.c (main): Call g_thread_init(NULL).
2008-12-09 Kjartan Maraas <kmaraas@gnome.org>
* src/services/imodule/orbit-imodule-libidl-utils.h:
* src/services/imodule/orbit-imodule-utils.h:
* test/everything/client.c: (wait_until_done):
Fix glib single includes. Patch from Przemysław Grzegorczyk.
Closes bug #563700.
2008-12-01 Jules Colding <colding@42tools.com>
* src/orb/orb-core/corba-any.c (ORBit_sequence_remove):
Submitted on behalf of Stian Skjelstad <stian@nixia.no>.
Fixes #552690.
2008-10-17 Cosimo Cecchi <cosimoc@gnome.org>
* configure.in:
Enforce deprecated CFLAGS only under maintainer mode.
2008-10-17 Cosimo Cecchi <cosimoc@gnome.org>
* configure.in:
* src/idl-compiler/orbit-idl-main.c:
* src/orb/orb-core/orbit-small.c:
* src/orb/orb-core/orbit-typelib.c:
* src/orb/poa/poa-macros.h:
* src/orb/poa/poa-private.h:
* src/orb/util/orbit-purify.h:
* src/services/name/boot.c:
Use and enforce single GLib includes.
2008-10-03 Kjartan Maraas <kmaraas@gnome.org>
* src/idl-compiler/orbit-idl-c-utils.c: (orbit_cbe_write_typespec),
(orbit_cbe_write_param_typespec_raw):
* src/orb/orb-core/corba-orb.c: Fix missing format specifiers
and const. Closes bug #554564.
2008-09-26 Tor Lillqvist <tml@novell.com>
* src/orb/orb-core/corba-orb.c [Win32]: A DllMain() function
shouldn't really call functions in other DLLs. Just save the
HMODULE of the libORBit-2 DLL. Don't calculate the typelib
directory and system rcfile paths in DllMain(), do it as needed in
separate functions. Simplyfy code by using
g_win32_get_package_installation_directory_of_module().
* src/orb/orb-core/orb-core-private.h
* src/orb/util/orbit-options.c: Corresponding changes.
2008-09-16 Kjartan Maraas <kmaraas@gnome.org>
* NEWS: Updated.
* configure.in: Bump again.
======================= 2.14.16 ============================
2008-09-16 Jules Colding <colding@42tools.com>
* src/orb/orb-core/corba-orb.c (ORBit_ORB_start_servers):
The ORBNetID option was not consistent in relation to
ORBIIOPIPName. This fix ensures that ORBIIOPIPName always
takes precedence. It also fixed the fact that the given
ORBNetID was not applied to all part of the profile,
specifically not the IOP_TAG_INTERNET_IOP part.
2008-09-16 Kjartan Maraas <kmaraas@gnome.org>
* configure.in: Post release bump.
======================= 2.14.15 ============================
2008-09-16 Kjartan Maraas <kmaraas@gnome.org>
* NEWS: Update for release.
* test/everything/client.c: Remove suspect code causing
critical warnings in g_print().
2008-09-04 Jules Colding <colding@42tools.com>
* src/orb/orb-core/corba-loc.c (ORBit_corbaloc_parse):
Fix memory leaks.
2008-08-28 Kjartan Maraas <kmaraas@gnome.org>
* src/orb/orb-core/Makefile.am: Fix a possible infinite
make loop with parallel make. Diego Pettenò. Closes
bug #549693.
======================== 2.14.14 ============================
2008-08-11 Mike Gorse <mgorse@novell.com>
* src/orb/GIOP/giop.c (giop_tmpdir_init): use ORBIT_SOCKETDIR
to propagate the socket dir to children wherever possible: has
two benefits: speeds up ORBit2 launch, and allows root owned
apps to talk to the user's AT.
2008-08-06 Jules Colding <colding@42tools.com>
* test/ior-decode.c (main): Fix terminology. The ID previously
known as the "Object ID" is really the "Interface Repository ID".
2008-07-18 Michael Meeks <michael.meeks@novell.com>
* test/typelib-dump.c (dump_tc): remove redundant code
causing warnings - thanks JP.
2008-06-23 Kjartan Maraas <kmaraas@gnome.org>
* src/services/imodule/Makefile.am:
* test/everything/Makefile.am:
Patch from <dmacks at netspace org> to fix
compile failures from passing global -I flags
before local ones. Closes bug #538514.
2008-06-04 Tor Lillqvist <tml@novell.com>
Bug 536505 - Error building 2.14.13 - implicit declaration of
function '_strnicmp'
* src/orb/orb-core/orbhttp.c: Use g_ascii_strncasecmp() instead of
strncasecmp() or _strnicmp(). _strnicmp() is Microsoft-specific and
was introduced in this file by accident in the patch for bug
524061 below. But actually, you shouldn't be using --enable-http.
================================ 2.14.13 ============================
2008-05-29 Christian Persch <chpe@gnome.org>
* src/idl-compiler/orbit-idl-backend.h:
* src/services/imodule/orbit-imodule.h:
* include/orbit/util/basic_types.h: Include <glib.h> instead of single
headers. Bug #535474.
2008-05-25 Tor Lillqvist <tml@novell.com>
* src/orb/poa/poa.c: Include <config.h> before checking HAVE_UNISTD_H.
* src/orb/orbit-init.c
* src/orb/poa/poa.c
* src/orb/util/genrand.c: Windows does have a getpid() in its C
library. It's just declared in <process.h> and not <unistd.h>
(which doesn't even exist with MSVC), so include <process.h> on
Windows instead of using a #define getpid() GetCurrentProcessId().
2008-05-20 Tor Lillqvist <tml@novell.com>
Bug 524058 - Patch: fix ORBit2 idl-compiler so it compiles with MSVC.
* src/idl-compiler/orbit-idl-c-backend.h
* src/idl-compiler/orbit-idl-c-skelimpl.c
* src/idl-compiler/orbit-idl-main.c
* src/idl-compiler/orbit-idl3-types.h: Patch by Marcelo
Vanzin. Remove unnecessary inclusions of <unistd.h>. Surround
those left with ifdefs.
2008-05-19 Tor Lillqvist <tml@novell.com>
Bug 524061 - Patch: fix ORBit2 so it compiles with MSVC.
* src/orb/poa/poa.c
* src/orb/poa/orbit-adaptor.c
* src/orb/orbit-init.c
* src/orb/orb-core/orbhttp.c
* src/orb/orb-core/orbit-small.c
* util/genrand.c
* GIOP/giop-connection.c: Patch by Marcelo Vanzin. Add
HAVE_UNISTD_H and HAVE_SYS_TIME_H ifdefs. Define replacements for
getpid() and pid_t.
2008-05-08 Tor Lillqvist <tml@novell.com>
* src/orb/orb-core/orbit-trace.c (ORBit_trace_value)
* src/orb/GIOP/giop.c (giop_thread_free): Re-indent Michael's
changes from yesterday. 8-column tab stops are used here.
2008-05-07 Michael Meeks <michael.meeks@novell.com>
* src/orb/orb-core/orbit-trace.c (ORBit_trace_value):
slow down, but substantially improve string printing in
debugging, and add ORBIT2_DEBUG_STRMAX for long strings.
* src/orb/GIOP/giop.c (giop_thread_free): armour against
double thingits; and NULL the giop_main_thread as we free
it: from nasty problems having shut-down the 'main' thread
in yast, and started doing calls from another non-main thread.
2008-04-24 Jules Colding <colding@42tools.com>
* test/timeout-client.c (object_ref_from_file): Add terminating
null character to IOR string. Furthermore corrected the name of
the IOR file.
2008-02-01 Kjartan Maraas <kmaraas@gnome.org>
* test/poa/poatest-exception.h: Fix warning from gcc 4.3.
========================== 2.14.12 ========================
2008-01-29 Christian Persch <chpe@gnome.org>
* src/orb/orb-core/corba-typecode.c: (tc_dec): Use G_STRFUNC, since
G_GNUC_FUNCTION was deprecated.
2008-01-25 Kjartan Maraas <kmaraas@gnome.org>
* NEWS: Forgot to commit this.
* configure.in: Post release bump.
========================== 2.14.11 ========================
2008-01-11 J. Specht <j.specht@z-extern.com>
* src/orb/orb-core/corba-object.c (CORBA_Object__imethods):
fix broken method name lengths - all off by one.
2007-11-12 Jules Colding <colding@omesc.com>
* src/orb/orb-core/corba-any.c (giop_byteswap): This function is only
used in this file so there is really no need to keep giop-endian.[ch]
around any more.
2007-10-30 Tor Lillqvist <tml@novell.com>
* test/timeout-server.c (create_ipv4_orb): Drop unnecessary
zeroing of the argv as the code below assigns all elements of it
anyway. And the third argument to memset() was wrong.
2007-10-29 Tor Lillqvist <tml@novell.com>
* include/orbit/GIOP/giop-connection.h
* src/orb/orb-core/orbit-small.c (ORBit_small_connection_unref):
Adapt to change of prototype of link_connection_ref() and
link_connection_unref().
2007-10-17 Tor Lillqvist <tml@novell.com>
* test/timeout.sh: Use the killall command only on Linux. On
Solaris, for instance, the killall command does something
different... On other systems ask the user to manually kill the
timeout-server and/or lt-timeout-server processes.
2007-10-15 Kjartan Maraas <kmaraas@gnome.org>
* configure.in: Post release bump.
============================ 2.14.10 =======================
2007-10-15 Kjartan Maraas <kmaraas@gnome.org>
* docs/devel/Makefile.am: Dist more docs.
2007-10-15 Kjartan Maraas <kmaraas@gnome.org>
* NEWS: Update for 2.14.10.
* src/orb/GIOP/giop-connection.c: (giop_connection_initiate):
* src/orb/poa/poa.c: Compiler warning fixes
2007-09-27 Tor Lillqvist <tml@novell.com>
* src/orb/GIOP/giop-recv-buffer.c (giop_recv_buffer_get): Fix
typo: Pass correct pointer to giop_connection_unref(). (#480770)
2007-09-25 Jules Colding <colding@omesc.com>
* test/timeout-server.c (main): Do not write more into the
IOR file than really needed
* test/timeout-client.c (main): Fix memory leaks
(object_ref_from_file): Do not allocate more memory than
really needed
2007-09-24 Jules Colding <colding@omesc.com>
* ORBit2: Add G_OBJECT() casts to all cases of g_unref_object()
* ORBit2: Removed ORBIT_DEBUG_CFLAGS from all Makefile.am's.
Instead appended the debug flags directly to CFLAGS in
configure.in. The debug flags would otherwise be masked by
CFLAGS and have next to no effect in terms of debug symbols.
* ORBit2: It is now possible to use the ORBNetID command
line option to specify a specific NIC to be used by ORBit2
when creating externally visible objects. This is supported
by adding LINK_NET_ID_IS_CUSTOM to the LinkNetIdType enum
type. Previously the first NIC which wasn't "127.0.0.1" was
unconditionally used.
The ORBNetID argument must be of a format that is compatible
to the address format that is returned by inet_ntoa(3) on a
return value of the SIOCGIFCONF ioctl. A specific IP address,
such as '192.168.2.45', would be an acceptable format.
The previous behavior of just using the first non "127.0.0.1"
NIC is maintained if the net id isn't LINK_NET_ID_IS_CUSTOM.
If, on the other hand, the net id is LINK_NET_ID_IS_CUSTOM then
the used NIC will be:
1) The net id specified but only if it is found in the interface
list as returned by SIOCGIFCONF.
2) If the requested net id isn't found in the list then it will
be the last non "0.0.0.0" addressed NIC in said list. This may
or may not be "127.0.0.1".
I considered if we should use assert() if the specified net id
isn't found or if it is invalid, but I decided against it on the
grounds that not doing so is more in line with current behavior.
* src/orb/orb-core/corba-orb.c (ORBit_ORB_start_servers):
Support the new LINK_NET_ID_IS_CUSTOM functionality
2007-09-24 Jules Colding <colding@omesc.com>
* src/orb/orb-core/orbit-small.c (async_recv_cb):
Set CORBA_TIMEOUT exception if state is LINK_TIMEOUT
2007-09-22 Jules Colding <colding@omesc.com>
* configure.in: Added -O0 to ORBIT_DEBUG_CFLAGS.
TODO: Still need to fix the debug CFLAGS so that they are
effective in the Makefile.am's.
* src/orb/GIOP/giop-connection.c (giop_connection_close):
Added a check for the link being in LINK_TIMEOUT state. Not
doing this would result in link_connection_finalize() being
invoked twice for the same link. We can not have that...
* src/orb/GIOP/giop-recv-buffer.c (giop_recv_buffer_get):
Use giop_connection_unref() instead of linc_connection_unref()
as we really are manipulating a GIOPConnection not a LinkConnection.
(giop_timeout): Use the giop_connection_(un)ref() functions. Same
reasoning as above.
Do not call link_connection_state_changed() or giop_incoming_signal_T()
if the link is in the LINK_DISCONNECTED state. Doing so would make
link_connection_state_changed() very unhappy (invalid read of size 1).
==================== ORBit2-2.14.9 =====================
2007-09-17 Kjartan Maraas <kmaraas@gnome.org>
* test/Makefile.am: Clean iorfile to make distcheck happy.
2007-08-31 Jules Colding <colding@omesc.com>
* src/orb/GIOP/giop-recv-buffer.c (giop_recv_buffer_get): Make sure
nothing is NULL before referencing it
2007-08-22 Jules Colding <colding@omesc.com>
* src/orb/GIOP/giop-recv-buffer.c (giop_timeout_add):
Use LinkConnection native ref function instead of g_object_ref()
(giop_recv_buffer_get): Use LinkConnection native unref function
instead of g_object_unref()
(giop_timeout): Use LinkConnection native unref function instead
of g_object_unref()
* configure.in: Fix 'if test' statement
2007-08-14 Jules Colding <colding@omesc.com>
* src/orb/GIOP/giop-send-buffer.c (giop_send_buffer_write): Do
not enter giop_timeout_add() if a timeout is already present. This
check is not thread safe, but the additional check in giop_timeout_add()
is.
* src/orb/GIOP/giop-recv-buffer.c (giop_timeout_add): Fix
race when creating the timeout mutex.
Do not depend on the dynamically created "struct timeout_thread_data".
The right thing to do is to pass the connection directly and add an
additional member to the LincConnection to hold the GIOPThread.
(giop_timeout): Correct to use new input data (LincConnection*).
(giop_recv_buffer_get): Fix memory leak.
2007-08-07 Tor Lillqvist <tml@novell.com>
* test/timeout_impl.c (impl_Timeout_ping): Use g_usleep() instead
of sleep() for portability. (#464094, Andreas Köhler)
2007-07-26 Gustavo J. A. M. Carneiro <gjc@gnome.org>
* configure.in: Post-release version bump.
======================= ORBit2-2.14.8 =========================
2007-07-25 Jules Colding <colding@omesc.com>
* test/timeout-client.c (main): Silence timeout testing somewhat
* test/timeout-server.c (create_ipv4_orb):
Removed non-working ORBNetID option. Use default instead.
* test/timeout-client.c (create_timeout_orb):
Simplified regression client
2007-07-07 Gustavo J. A. M. Carneiro <gjc@gnome.org>
* test/Makefile.am (EXTRA_DIST): Add timeout.sh.
2007-07-07 Jules Colding <colding@omesc.com>
* test/timeout-client.c (main): Don't use g_error(), use g_print()
* test/timeout-server.c (main): Don't use g_error(), use g_print()
2007-07-07 Gustavo J. A. M. Carneiro <gjc@gnome.org>
* test/Makefile.am (EXTRA_DIST): Add timeout_impl.c to dist.
2007-07-07 Jules Colding <colding@omesc.com>
* test/timeout-client.c (main): abort() ==> _exit(EXIT_FAILURE)
2007-07-04 Vincent Untz <vuntz@gnome.org>
* src/orb/orb-core/orbit-small.c: (ORBit_small_invoke_stub):
initialize the exception sooner. This fixes a crash where the
exception was used without having been initialized (bug #452428)
2007-03-18 Brian Cameron <Brian.Cameron@sun.com>
* linc2/src/linc-protocols.c: Now always set the
LINC_PROTOCOL_NEEDS_BIND flag in the
static_link_protocols array for both IPv4 and IPv6
This is needed on Solaris because bind is needed to
open the ports securely when ORBLocalOnly is being
used. The maintainers decided that it would be best
to simply turn the flag on for all platorms rather
than support complicated ifdefs since this should not
cause any issues. Fixes bug #422908.
2007-02-28 Kjartan Maraas <kmaraas@gnome.org>
* include/orbit/dynamic/dynamic.h: Header guards.
* src/orb/dynamic/dynany.c: (DynamicAny_DynStruct_get_members),
(DynamicAny_DynStruct_set_members):
* src/orb/orb-core/corba-any.c: (ORBit_marshal_value),
(ORBit_demarshal_value), (ORBit_copy_value_core),
(ORBit_value_equivalent): Fix pointer arithmetic. Patch
from Roland Illig. Closes bug #410002.
* src/orb/poa/orbit-adaptor.c: (ORBit_forw_bind_find):
Fix a warning I introduced with the assert splitup.
2007-02-27 Kjartan Maraas <kmaraas@gnome.org>
* src/orb/GIOP/giop-connection.c: (giop_connection_get_type):
* src/orb/GIOP/giop-server.c: (giop_server_get_type):
* src/orb/orb-core/corba-orb.c:
* src/services/name/orbit-name-server.c:
* test/everything/anyServer.c:
* test/everything/arrayServer.c:
* test/everything/basicServer.c:
* test/everything/contextServer.c:
* test/everything/deadReference.c:
* test/everything/derivedServer.c:
* test/everything/sequenceServer.c:
* test/everything/unionServer.c:
* test/test-mem.c: More removal of unneeded trailing
commas.
======================= ORBit2-2.14.7 ==========================
2007-02-20 Kjartan Maraas <kmaraas@gnome.org>
* MAINTAINERS: Add myself here.
2007-02-14 Kjartan Maraas <kmaraas@gnome.org>
* src/orb/GIOP/giop.c: (giop_thread_key_add_T):
* src/orb/poa/orbit-adaptor.c: (ORBit_forw_bind_find):
Split up some asserts to make debugging a bit easier.
Related to bug #378454.
======================= ORBit2-2.14.6 ==========================
2007-02-09 Sebastien Bacher <seb128@ubuntu.com>
* src/orb/orb-core/corba-orb.c: (CORBA_ORB_destroy):
- explicitly set variable for better debugging, patch by Kees Cook
2007-01-24 Brian Cameron <Brian.Cameron@sun.com>
* configure.in, ORBit-2.0-uninstalled.pc.in,
ORBit-CosNaming-2.0-uninstalled.pc.in,
ORBit-imodule-2.0-uninstalled.pc.in: Add uninstalled.pc files.
======================= ORBit2-2.14.5 ==========================
2007-01-11 Kjartan Maraas <kmaraas@gnome.org>
* configure.in: Remove -std=gnu89 from the compiler flags since it
breaks on some compilers. Closes bug #393329.
2007-01-11 Kjartan Maraas <kmaraas@gnome.org>
* src/idl/interop/conv_frame.new.idl:
Nuke this file since hasn't been distributed since the dawn of time.
2007-01-09 Tor Lillqvist <tml@novell.com>
* src/idl/interop/CONV_FRAME.idl
* src/idl/interop/conv_frame.new.idl: Rename CONV_FRAME.idl to
conv_frame.new.idl. File names that differ only in case prevent
checking out from SVN on Windows. (In CVS there was just a
warning.) The CONV_FRAME.idl file wasn't used anywhere else, so
this should be safe. (conv_frame.idl, on the other hand, is
included from src/orb/orb-core/iop-defs.idl.) Actually, is this
file needed at all? It isn't even distriubted.
2007-01-02 Rodrigo Moya <rodrigo@novell.com>
Fixes #328701
* include/orbit/orb-core/corba-orb.h: removed #ifdef ORBIT2_EXTENSIONS
guard.
2006-12-20 Kjartan Maraas <kmaraas@gnome.org>
* src/idl-compiler/orbit-idl-c-common.c: (cc_output_iargs),
(cc_output_method), (cc_output_base_itypes), (cc_output_itypes):
* src/idl-compiler/orbit-idl-c-typecode.c:
(orbit_output_tcstruct_name), (orbit_output_tcstruct_repo_id):
More constification fixes. Patch from Jody Goldberg. Closes
bug #81892.
======================= ORBit2-2.14.4 ===========================
2006-12-18 Kjartan Maraas <kmaraas@gnome.org>
* configure.in: Release 2.14.4.
2006-12-12 Christian Persch <chpe@cvs.gnome.org>
* autogen.sh:
* configure.in:
Don't use deprecated autoconf macros. Use AM 1.9. Bug #383527.
2006-12-05 Jules Colding <colding@omesc.com>
* ORBit2: The previous two ChangeLog entries are hiding a lot of
details which I'll hereby try to expand upon.
The rationale for these changes is that any and all occurrences of
g_cond_wait() in ORBit2 has the potential to block forever if it
waits for a connection attempt to complete if said connection
attempt is made towards a remote server which happens to be
physically disconnected or powered off.
This blocking behavior can be demonstrated by invoking an operation
on a remote object that is physically inaccessible such as when
the remote server is powered down or physically disconnected.
Pseudo code:
{
CORBA_ORB orb = get_orb();
char *objref = get_corbaloc_str();
CORBA_Object obj = CORBA_OBJECT_NIL;
CORBA_Environment ev[1];
CORBA_exception_init(ev);
obj = CORBA_ORB_string_to_object(orb, objref, ev);
FOO_INTERFACE_method(obj, <arguments>, ev);
}
The last statement above will block forever in g_cond_wait() while
waiting for the recieve buffer to be ready if the remote server is,
say, powered down. An exception is on the other hand immediately
thrown if the server object is merely gone.
The changes to the code therefore boils down to the implementation
of the ex_CORBA_TIMEOUT system exception being thrown if
g_cond_timed_wait() times out. Most occurrences of g_cond_wait()
has been replaced by g_cond_timed_wait().
The only remaining instance of g_cond_wait() is found in
link_exec_command(). I haven't observed any problems with
link_exec_command() so I've not touched that code.
The affected code is:
1) A new ORB command line option: GIOPTimeoutLimit - timeout limit
in microseconds. Defaults to 30 seconds.
2) giop_recv_buffer_get(). This one is obvious. We do not want to
wait indefinitely for data to be received from a downed host. The
waiting interval is configurable with the new GIOPTimeoutLimit ORB
option.
3) Any code invoking link_wait():
a) link_connection_wait_connected_T()
b) link_connection_try_reconnect()
c) giop_connection_try_reconnect(), calls link_connection_try_reconnect()
d) ORBit_try_connection_T(), calls giop_connection_try_reconnect()
e) ORBit_object_get_connection(), calls ORBit_try_connection_T()
4) The waiting time in link_wait() is set at compile time to
LINK_WAIT_TIMEOUT_USEC which is presently 10 seconds.
5) link_wait() has been modified to return a gboolean. FALSE if the
timeout expired, TRUE otherwise.
6) link_connection_wait_connected_T() and link_connection_try_reconnect()
will both disconnect the connection if link_wait() experienced a timeout.
2006-12-04 Jules Colding <colding@omesc.com>
* configure.in: Added autoconf 2.60+ required datarootdir variable
2006-12-03 Jules Colding <colding@omesc.com>
* include/orbit/GIOP/giop.h: Declare giop_recv_set_timeout().
* src/orb/orb-core/corba-orb.c (CORBA_ORB_init): Set GIOP timeout
limit from the ORB option.
Added new ORB option - GIOPTimeoutLimit.
* src/orb/orb-core/orbit-small.c (ORBit_small_invoke_stub): Throw a
TIMEOUT exception if a reply hasn't been recieved within the GIOP
timeout limit.
* src/orb/GIOP/giop-recv-buffer.c (giop_recv_buffer_get): Replaced
a g_cond_wait() with a g_cond_timed_wait(). The original g_cond_wait()
could potentially block forever if a remote server was physically
offline.
(giop_recv_set_timeout): Function to adjust the GIOP timeout limit.
2006-11-22 Kjartan Maraas <kmaraas@gnome.org>
* ORBit-2.0.pc.in: Move MINGW_CFLAGS and LIBM to Libs.private
Sebastian Rittau.
* configure.in: Use PKG_PROG_PKG_CONFIG instead of manual stuff.
suggested by dmacks at netspace org. Closes bug #345729.
2006-11-22 Kjartan Maraas <kmaraas@gnome.org>
* src/services/name/name-client.c: (main): Fix some signedness
compiler warnings.
2006-11-10 Kjartan Maraas <kmaraas@gnome.org>
* ORBit-2.0.pc.in: move gmodules-no-export-2.0 to Requires-private.
Reported by Samuel Thibault. Closes bug #352198.
2006-11-10 Kjartan Maraas <kmaraas@gnome.org>
* src/orb/dynamic/dynany.c: (DynamicAny_DynAny_assign),
(DynamicAny_DynAny_equal), (DynamicAny_DynAny_seek),
(DynamicAny_DynEnum_set_as_ulong),
(DynamicAny_DynUnion_set_discriminator),
(DynamicAny_DynSequence_set_length):
* src/orb/orb-core/corba-object.c: (CORBA_Object_is_equivalent):
* src/orb/orb-core/corba-typecode.c: (CORBA_TypeCode_equal),
(CORBA_TypeCode_equivalent), (CORBA_TypeCode_member_name),
(CORBA_TypeCode_member_type), (CORBA_TypeCode_member_label):
Patch from Georg Schwarz to fix lack of constification in ORBit2.
Closes bug #171012.
2006-10-30 Kjartan Maraas <kmaraas@gnome.org>
* ORBit-2.0.pc.in: Add gobject-2.0 to the Requires line
to fix linking statically against ORBit. Closes bug #322474.
Suggested by Vladimir Panov.
2006-10-30 Kjartan Maraas <kmaraas@gnome.org>
* configure.in: Remove more SSL bits.
* docs/internals/orbitrc.txt: Here too.
* linc2/include/linc/linc-config.h.in: And here.
Closes bug #354714.
2006-09-27 Leena Gunda <leena.gunda@wipro.com>
* src/orb/GIOP/giop.c: (scan_socket_dir): Patch to fix
the warning message for users with similar prefixes.
Fixes bug #152659.
Patch given by Manjunath Kadajji <manjunath.kadajji@wipro.com>
2006-09-07 Tor Lillqvist <tml@novell.com>
* linc2/src/linc-connection.c (link_connection_do_initiate):
Workaround for problem introduced on Win32 with Brian's patch
below: If host is "127.0.0.1", don't need to check whether it is
local.
====================== ORBit2-2.14.3 ======================
2006-08-28 Brian Cameron <brian.cameron@sun.com>
* linc2/src/linc-connection.c: Patch to correct problem where
DHCP hostname changes caused login to block.
2006-08-16 Jules Colding <colding@omesc.com>
* src/orb/orb-core/corba-orb.c (ORBit_get_giop_recv_limit): Added
gtk-doc documentation.
2006-08-08 Brian Cameron <Brian.Cameron@sun.com>
* linc2/src/linc-protocols.c: Modify ORBLocalOnly test for TCP/IP
connections so that differences in the port number does not cause
the test to fail. Since the port number does not affect whether
the IP address is local, this should make the test work properly
on platforms where the access () function fills in the port value
that is being compared. On Solaris, this fixes a bug that causes
Java a11y to break, from an end-user perspective.
2006-08-07 Jules Colding <colding@omesc.com>
* configure.in (CFLAGS): Fix #147556
* acinclude.m4: Added AX_CFLAGS_GCC_OPTION
====================== ORBit2-2.14.2 =======================
2006-07-24 Kjartan Maraas <kmaraas@gnome.org>
* Makefile.am: Dist gtk-doc.make too.
* src/idl-compiler/Makefile.am: Remove popt
* src/orb/Makefile.am: Same here. Found by Daniel
Holbach.
======================= ORBit2-2.14.1 ======================
2006-07-24 Kjartan Maraas <kmaraas@gnome.org>
* src/orb/orb-core/corba-orb.c: (CORBA_ORB_string_to_object):
Raise exception for bad URL. Patch from Frank Rehberger. Closes
bug #116812.
2006-07-24 Kjartan Maraas <kmaraas@gnome.org>
* src/idl-compiler/orbit-idl-c-skels.c: (cbe_skel_do_interface):
Fix C++ compatibility in generated code. Patch from Vladimir
Panov. Closes bug #322473.
2006-07-20 Kjartan Maraas <kmaraas@gnome.org>
* src/orb/poa/poa.c: (ORBit_POAObject_handle_request): Initialize
a variable to avoid using it uninitialized later. Coverity #1189.
2006-07-19 Kjartan Maraas <kmaraas@gnome.org>
* src/orb/orb-core/corba-env.c: (ORBit_handle_exception):
Fix null dereference. Found by Coverity in CID #1179.
Closes bug #347596.
2006-06-25 Kjartan Maraas <kmaraas@gnome.org>
* src/idl-compiler/orbit-idl-c-deps.c: (orbit_idl_output_c_deps):
Fix compiler warning I introduced with the leak fix.
2006-06-23 Tor Lillqvist <tml@novell.com>
* src/orb/orb-core/corba-orb.c: Set orbit_local_only to TRUE on
Win32, to go with the use of IPv4 on Win32. We don't want to
create world-contactable sockets by default. Note that for
orbit_local_only to actually work, a small fix to the linc2 code
was also needed, see the ChangeLog over there.
2006-06-20 Tor Lillqvist <tml@novell.com>
* src/orb/GIOP/giop.c: Remove the giop_thread_list, isn't used for
anything.
* src/orb/orb-core/corba-orb.c (CORBA_ORB_init): Don't call
g_atexit() on Win32. It can cause bizarre bugs. The semantics of
atexit() are very hard to specify exactly in the presence of
dynamic libraries, and Win32's implementation is perhaps
particularily random in its behaviour. Just rely on any peers we
are talking to noticing that the connections are severed and
acting appropriately.
2006-06-17 Kjartan Maraas <kmaraas@gnome.org>
* src/idl-compiler/orbit-idl-c-deps.c: (orbit_idl_output_c_deps):
Plug a leak. Closes bug #344976.
* test/typelib-dump.c: (dump_tc): Plug leak. Closes bug #344977.
Both found by the Coverity checker.
2006-05-29 Christian Persch <chpe@cvs.gnome.org>
* configure.in: Remove popt check.
* src/idl-compiler/orbit-idl-main.c: (cl_libIDL_version_callback),
(cl_cpp_define_callback), (cl_cpp_include_callback),
(cl_version_callback), (cl_c_output_formatter_callback), (main):
* src/services/name/boot.c: (main): Port from popt to goption argument
parsing. Bug #341587.
2006-05-22 Kjartan Maraas <kmaraas@gnome.org>
* src/orb/orb-core/corba-orb.c: (CORBA_ORB_string_to_object):
#ifdef out some code that is only used with ENABLE_HTTP.
Closes bug #342406.
2006-05-20 Kjartan Maraas <kmaraas@gnome.org>
* src/orb/poa/poa.c: (ORBit_POAObject_handle_request):
Patch from Pascal Terjan to fix a null deref found by
the coverity checker. Closes bug #341336.
2006-05-18 Kjartan Maraas <kmaraas@gnome.org>
* src/orb/orb-core/corba-loc.c: (corbaloc_profile_iiop_parse):
Fix a warning from coverity.
* src/orb/orb-core/corba-loc.c: (orbit_url_decode):
Fix a signedness warning.
2006-05-18 Kjartan Maraas <kmaraas@gnome.org>
* src/orb/orb-core/orbit-small.c: (ORBit_handle_exception_array):
Fix more NULL refs. Coverity.
2006-05-18 Kjartan Maraas <kmaraas@gnome.org>
* src/orb/orb-core/corba-any.c: (ORBIT_demarshal_value):
Avoid NULL dereference. Found by the coverity checker.
2006-05-06 Kuang-Chun Cheng <kccheng@linuxdaq-labs.org>
* src/idl-compiler/orbit-idl-c-headers.c:
Add guarding macros around emitted per interface enum of xyz_imethods[].
Fix Bug #340532.
* test/everything/client.c
Use ORBIT_METHODS_INDEX() for ORBit_small_invoke_async() test.
2006-05-02 Kjartan Maraas <kmaraas@gnome.org>
* configure.in: Remove SSL bits.
* linc2/include/linc/linc-protocol.h: Remove redundant const
* linc2/src/cleanup.c: (clean_dir): Remove unused code.
* linc2/src/linc-protocols.c: More const removal
* linc2/src/linc-server.c: (link_server_setup): s/if !/ifndef
* src/idl-compiler/orbit-idl-c-common.c: (cc_output_skel):
Remove unused code.
* src/idl-compiler/orbit-idl-c-imodule.c:
(orbit_idl_output_c_imodule): Fix format specifiers.
* src/idl-compiler/orbit-idl-utils.c: Remove unused code and
redundant const marker.
* src/orb/dynamic/dynany.c: (dynany_get_cur_type),
(dynany_get_value), (DynamicAny_DynAny_seek),
(DynamicAny_DynAny_component_count),
(DynamicAny_DynAny_current_component): Format specifiers again.
* src/orb/orb-core/allocators.c: (ORBit_alloc_get_tcval): Same.
* src/orb/orb-core/corba-context.c: (CORBA_Context_get_values):
Remove unused code.
* src/orb/orb-core/corba-loc.c: (corbaloc_profile_uiop_parse):
More unused code.
* src/orb/orb-core/iop-profiles.c: (IOP_start_profiles): And here
* src/orb/poa/orbit-adaptor.c: Fix typos in comment.
* src/orb/poa/poa.c: (ORBit_POA_obj_to_ref): More unused code.
* src/orb/util/genrand.c: (ORBit_genuid_init): s/if/ifdef
* test/echo-client.c: Mark a var static
* test/echo-srv.c: (echo_srv_start_poa), (echo_srv_start_object),
(echo_srv_finish_object), (echo_srv_finish_poa): Format specifiers
and a small buglet.
* test/ior-decode.c: (print_objkey), (print_components): Format specifiers
* test/poa/poatest-basic11.c: (poatest_run): Unused code
* test/test-any-client.c: (main): More format specifiers
* test/typelib-dump.c: (dump_iface), (main): And again.
2006-04-24 Kuang-Chun Cheng <kccheng@linuxdaq-labs.org>
* src/idl-compiler/orbit-idl-c-headers.c
emit per interface enum for index of xyz_imethods[].
2006-04-09 Gustavo J. A. M. Carneiro <gjc@gnome.org>
* src/services/imodule/orbit-imodule.c
(ORBit_iinterface_fill_method): Bug 323201: marshalling of void
retval typecode generated by "imodule service" crashes.
2006-04-05 Jules Colding <colding@omesc.com>
* ORBit.spec.in: linc is now intagrated into ORBit2 so the requirements in
the spec file must go.
(%files): Fix rpmbuild issues with missing files in this section.
2006-04-04 Jules Colding <colding@omesc.com>
* configure.in (ORBIT_VERSION): Version 1.14.1. The micro version must be
bumped as a new function has been added.
* src/orb/orb-core/orb-core-private.h: Declared ORBit_get_giop_recv_limit()
* include/orbit/orb-core/corba-orb.h: Added ORBit_get_giop_recv_limit()
to ORBIT2_EXTENSIONS section.
* src/orb/orb-core/corba-orb.c (ORBit_get_giop_recv_limit): Added function
to retrieve the maximum allowed GIOP receive limit.
* src/orb/GIOP/giop-recv-buffer.c (giop_recv_get_limit): New function.
Clients must be able to retrieve the maximum allowed GIOP receive limit.
2006-03-14 Gustavo J. A. M. Carneiro <gjc@gnome.org>
* configure.in: Version 2.14.0.
* acinclude.m4: Missing #include <stdlib.h> in AC_CHECK_ALIGNOF
due to usage of the exit() function.
* NEWS: Update.
2006-02-17 Tor Lillqvist <tml@novell.com>
Fix build on Cygwin, patch by "Cygwin Ports maintainer" (#331487)
* configure.in: Check for winsock2.h only on Windows.
* include/orbit/orb-core/orbit-object.h: Need to #define
ORBIT2_MAYBE_CONST as empty also on Cygwin.
2006-02-14 Tor Lillqvist <tml@novell.com>
* test/test-giop.c: Make global variables static.
(test_spoofing): Fix crash: Keep an extra reference to the
connection so that it won't be disposed too early. Unref only
after checking that its status is disconnected.
2006-02-06 Kjartan Maraas <kmaraas@gnome.org>
* configure.in: Release 2.13.3.
2006-02-01 Tor Lillqvist <tml@novell.com>
Improve configury on Win32, patch by Georg Steffers:
* configure.in: Set MINGW_LDFLAGS to
-Wl,--enable-runtime-pseudo-reloc on Win32. AC_SUBST it. That GNU
ld flag is needed when building software that uses DLLs containing
code produced by the ORBit2 IDL compiler, because of the way
variables imported from DLLs are used. Add MINGW_LDFLAGS to the
LDFLAGS used when building ORBit2 itself, too.
* ORBit-2.0.pc.in: Add @MINGW_LDFLAGS@ (empty on Unix) to Libs .
* ORBit2.m4: If no orbit2-config script is found, use pkg-config.
2006-01-13 Kjartan Maraas <kmaraas@gnome.org>
* src/orb/GIOP/giop-recv-buffer.c: Fix a compiler warning
about unused result.
(giop_recv_buffer_handle_fragmented):
* src/orb/poa/orbit-adaptor.c: (ORBit_adaptor_find): Guard
against NULL adaptor. (Michael). Closes bug #326283. Seen as
an invalid read on startup of the drivemount applet.
2005-11-11 Jens Granseuer <jensgr@gmx.net>
* src/idl-compiler/orbit-idl-c-skelimpl.c
(prev_char_is_nl): fix // comment.
2005-11-08 Richard Hult <richard@imendio.com>
* Release 2.13.2.
* configure.in (LT_VERSION): Set back to 2.13.2, the version was
already bumped.
2005-11-08 Anders Carlsson <andersca@imendio.com>
* configure.in: Up version to 2.13.3
2005-11-08 Anders Carlsson <andersca@imendio.com>
* src/orb/orb-core/corba-object.c (CORBA_Object_release_cb):
Allow releasing objects even if orb is NULL.
(ORBit_object_get_connection):
Make sure to remove and re-add the object from the objref hash
table so we won't be left with dangling references which will lead
to crashes when trying to shut down the ORB.
* src/orb/orb-core/corba-orb.c (strip_object_profiles):
Set object's orb to NULL.
* src/orb/poa/poa.c (ORBit_POA_deactivate_object_T):
Write out an error message here instead of "assertion failed".
2005-09-26 Martin Blom <martin@blom.org>
* src/orb/orb-core/allocators.c (ORBit_realloc_tcval):
realloc should update the length/tracking information.
#316393#
2005-09-24 Tor Lillqvist <tml@novell.com>
* orbit2-zip.in: Add share/aclocal/ORBit2.m4 to the developer
package.
2005-09-20 Jules Colding <colding@omesc.com>
* configure.in (CFLAGS): Stricter coding style checks by adding
"-Werror-implicit-function-declaration -std=gnu89" to CFLAGS.
2005-09-16 Jules Colding <colding@omesc.com>
* include/orbit/orb-core/corba-orb.h: Added ORBit_proto_use() to
ORBIT2_EXTENSIONS section. This is needed to deduce protocol
capabilities if you are not the fortunate first thread to invoke
CORBA_ORB_init().
2005-09-07 Jules Colding <colding@omesc.com>
* configure.in (LT_VERSION): Version 2.13.2. This is needed as the change
below actually makes some programs run when they would otherwise not.
* src/orb/GIOP/giop.c (giop_main_run): Remove g_assert().
2005-09-06 Mark McLoughlin <mark@skynet.ie>
* configure.in: Version 2.13.1
2005-08-28 Tor Lillqvist <tml@novell.com>
* README.win32: New file.
* Makefile.am (EXTRA_DIST): Add README.win32.
* orbit2-zip.in: Include also lib/libname-server-2.a in the
developer package.
2005-08-26 Brian Cameron <Brian.Cameron@sun.com>
* configure.in: Bumping minor LT_VERSION since
interfaces have changed since the initial ORBit2
release and it has never been bumped, but
interfaces have been added since that time.
Sorry for commiting this twice, but I didn't
read the comments closely to see that you
modify it to C+1:0:A+1 to indicate interfaces
have been added but binary compatibility has
been preserved.
2005-08-15 Michael Meeks <michael.meeks@novell.com>
* configure.in: add threading libraries to ORBIT_NAME
pkg-config check: #313403
2005-08-12 Michael Meeks <michael.meeks@novell.com>
* configure.in: AC_PREREQ(2.54) not 2.12 for
Gustavo Gama, #313274.
2005-08-13 Davyd Madeley <davyd@madeley.id.au>
* configure.in:
* linc2/src/linc-protocols.c: Check for sys/sockio.h, required for
building on Solaris 9. Patch from James Andrewartha
<trs80@ucc.asn.au>.
2005-08-11 Michael Meeks <michael.meeks@novell.com>
* src/orb/orb-core/corba-any.c (ORBit_demarshal_arg):
propagate the error condition we laboured hard to get right
to our caller.
(ORBit_demarshal_value): when sequence de-marshalling
dies, nail the length as well as freeing the buffer.
Fixes #310270#
2005-08-08 Kjartan Maraas <kmaraas@gnome.org>
* src/orb/orb-core/corba-orb.c: (CORBA_ORB_destroy): Release
the lock here. Patch from Aivars Kalvans. Closes bug #153897.
2005-07-28 Tor Lillqvist <tml@novell.com>
* configure.in: Include ws2tcpip.h on Win32 when looking for
socklen_t.
2005-07-25 Jules Colding <colding@omesc.com>
* src/orb/orb-core/corba-orb.c: Added new ORB_init option, ORBNetID.
Valid values for a hypothetical local host (FQDN:thor.test.com, IP:10.0.3.2):
"local": all attempts to resolve the local host will be done using "localhost"
"short": all attempts to resolve the local host will be done using "thor".
"fqdn" : all attempts to resolve the local host will be done using "thor.test.com".
"ipaddr: all attempts to resolve the local host will be done using "10.0.3.2".
The new option will be evaluated after ORBLocalOnly but ORBLocalOnly will always take
precedence.
2005-06-20 Fernando Herrera <fherrera@onirica.com>
* include/orbit/orb-core/corba-orb-type.h:
* src/orb/orb-core/corba-orb.c: (CORBA_ORB_init),
(CORBA_ORB_destroy), (ORBit_ORB_forw_bind):
* src/orb/poa/orbit-adaptor.c: (ORBit_forw_bind_find),
(ORBit_handle_request): implement forward binding.
Patch by Alejandro Garc�a Castro <acastro@igalia.com>
reviewed by: Michael Meeks
2005-06-03 Jules Colding <colding@omesc.com>
* docs/README: Added pointers to documentation and sample code
for developers using ORBit2, not ORBit2 hackers.
2005-06-02 Sandie Vanderme <sandie.vanderme@bull.net>
* configure.in: add missing AC_CHECK_HEADERS(netdb.h)
2005-04-18 Tor Lillqvist <tml@novell.com>
* src/orb/orb-core/corba-orb.c (DllMain): As we reguire GLib 2.6,
no need to use GLIB_CHECK_VERSION(). And anyway, what we really
should have used here was the run-time glib_check_version() and
not compile-time GLIB_CHECK_VERSION()... Also, only check for a
"bin" subfolder. DLLs are always installed in "bin" and not "lib"
nowadays.
* src/orb/orb-core/orb-core-private.h: As we require GLib 2.6,
G_IS_DIR_SEPARATOR() is always present.
2005-04-16 Kjartan Maraas <kmaraas@gnome.org>
* linc2/test/test-linc.c: Make some variables static.
* src/idl-compiler/orbit-idl-c-skelimpl.c: Same
* src/orb/orb-core/corba-orb.c: (CORBA_ORB_create_list):
Don't use the C++ reserved word 'new' for variables.
* test/echo-client-t.c: Make vars static.
* test/echo-client.c: Same
* test/echo-srv.c: Same
* test/empty-client.c: Same
* test/empty-server.c: Same
* test/poa/poatest-basic01.c: Again
* test/poa/poatest-basic05.c: Again
* test/poa/poatest-basic11.c: Again
* test/test-any-server.c: Again
* test/test-corbaloc.c: Again
* test/test-giop-frag.h: Again
* test/test-performance.c: And again
2005-04-14 Arvind Samptur <arvind.samptur@wipro.com>
* src/orb/orb-core/corba-object.c :
(ORBit_object_get_connection): if we have failed on the unix
socket, have IPv4 or IPv6 connections enabled and are on localhost,
then don't connect on the corresponding port from the profiles.
Patch reviewed by Michael Meeks.
2005-04-13 Tor Lillqvist <tml@novell.com>
* src/orb/util/genrand.c: Use the Win32 crypto API.
* src/orb/GIOP/giop.c
* src/idl-compiler/orbit-idl-c-backend.c: Use gstdio wrappers for
better localized filename support on Win32. Use GLib directory and
filename API. Don't bother with the rather useless utime() setting
on the GIOP tmpdir on Win32. Use g_strerror() instead of
strerror().
* src/orb/util/orbit-options.c: As we reguire GLib 2.6, no need to
use GLIB_CHECK_VERSION.
2005-04-12 Mark McLoughlin <mark@skynet.ie>
* ORBit-2.0.pc.in: require gmodule-no-export-2.0 rather
than gmodule-2.0 so we don't -export-dynamic on our
link line.
2005-04-11 Tor Lillqvist <tml@novell.com>
* test/everything/Makefile.am (Everything_module_la_LIBADD): Need
to link with ORBIT_LIBS thanks to a recent change for Win32 in
HEAD GLib.
2005-04-11 James Henstridge <james@jamesh.id.au>
* configure.in: rename PKG_CONFIG_MIN_VERSION variable to
xPKG_CONFIG_MIN_VERSION, to work with pkg-config >= 0.16.0.
2005-04-06 Anders Carlsson <andersca@imendio.com>
* src/orb/orb-core/corba-orb.c:
(ORBit_initial_references_by_user):
Release objects.
(ORBit_set_initial_reference):
Release existing objects.
2005-04-06 Anders Carlsson <andersca@imendio.com>
* src/orb/orb-core/corba-object.c:
(ORBit_handle_location_forward):
Reset the connection since the forwarded object has a new
connection.
2005-03-29 Brian Cameron <Brian.Cameron@Sun.Com>
* docs/internals/orbitrc.txt: Docs file explaining how to
make use of the ORBit2 Resource File and how the options
work.
2005-03-11 Tor Lillqvist <tml@novell.com>
* include/orbit/orb-core/orbit-object.h: Add macro
ORBIT2_MAYBE_CONST which expands to "const" on Unix, empty on
Win32.
* src/orb/orb-core/corba-typecode.c
* include/orbit/orb-core/corba-orb-type.h
* include/orbit/orb-core/corba-typecode.h
* src/idl-compiler/orbit-idl-c-headers.c (ch_type_alloc_and_tc)
* src/idl-compiler/orbit-idl-c-typecode.c
(orbit_output_tcstruct_anon_subtypes_array,
orbit_output_tcstruct_anon_sublabels_array, cbe_tc_generate): Use
ORBIT2_MAYBE_CONST. This reintroduces constness on Unix, saving
some memory. (#169428)
2005-03-10 Tor Lillqvist <tml@novell.com>
* configure.in: Bump version to 2.13.0 to distinguish from the
gnome-2-10 branch. Call AC_CANONICAL_HOST before the Win32 test to
make sure $host is set up. Require GLib 2.6.
* src/idl-compiler/orbit-idl-main.c: Make the default not to show
CPP errors, so that --showcpperrors actually changes the
behaviour.
* src/orb/orb-core/corba-any.c (ORBit_demarshal_value)
* src/services/imodule/orbit-imodule.c (build_cpp_args): Minor
const correctness fixes.
* src/orb/orb-core/corba-orb.c: Drop inclusion of <windows.h>, we
get it through <winsock2.h> in linc-protocol.h anyway. Add
prototype for DllMain() to silence gcc.
2005-02-23 Tor Lillqvist <tml@novell.com>
* orbit2-zip.in: Include also etc/orbitrc (even if it is
empty). Don't include lib/orbit-2.0, just the Everything_module
gets installed there by ORBit2, and that's just for testing.
* configure.in: Drop the -DPOPT_STATIC. The version of popt that
we recommend is used on Windows doesn't cause import of variables
from libpopt. Using a libpopt DLL works fine.
* test/test-giop.c (run_test): Use IPv4 instead of UNIX domain
sockets on Win32.
* src/idl-compiler/orbit-idl-c-skels.c
(cbe_skel_interface_print_relayers): It's the temporary pointer
that should be declared volatile, not what it's pointing to. Now
auto-import actually works also from optimized code.
2005-02-21 Tor Lillqvist <tml@novell.com>
* configure.in: Use -DPOPT_STATIC on Win32 when building the IDL
compiler and name server, so that we avoid the problems with
referring to variables imported from a DLL in static
initializers. In newer libpopt distributions the headers have
dllimport decorations for the variables exported from libpopt
unless one defines POPT_STATIC.
To actually then link with the static libpopt.a you might also
have to move the import library libpopt.dll.a away so that the
linker won't find it, and perhaps edit libpopt.la.
Remove leftover AC_MSG_WARN([host is $host]).
2005-02-14 Tor Lillqvist <tml@novell.com>
* configure.in: New autoconf variable LIBM, set to -lm on Unix,
empty on Windows.
* ORBit-2.0.pc.in (Libs): Use @LIBM@. The dummy -lm in mingw prevents
libtool from creating DLLs.
(orbit_idl): Append @EXEEXT@.
* src/idl-compiler/Makefile.am
* test/Makefile.am: Use $(LIBM) here, less verbiage than if using
an automake ifdef.
* src/orb/orb-core/orb-core-private.h
* src/orb/util/orbit-options.c: On Win32, #undef the compile-time
pathnames from the Makefiles, instead use run-time strings set up
by DllMain(), see below.
* src/orb/orb-core/corba-orb.c (DllMain): New function. When
ORBit2 is built as a DLL on Win32 (as it should be), this function
is called automatically when the DLL is loaded. It fetches the
full path of the DLL, and deduces the ORBit2 installation folder
from that. Then it forms the type library directory and system
orbitrc path names. Some complexity needed by it having to work
both when built with GLib 2.4 or 2.6.
* src/orb/orb-core/orbit-typelib.c (ORBit_small_load_typelib): Use
GLib API to check pathnames, for improved Win32 portability.
* src/orb/util/orbit-options.c (ORBit_option_rc_parse): When built
against GLib 2.6, use g_fopen().
(ORBit_option_parse): Guard against g_get_home_dir() returning
NULL.
* src/orb/util/genrand.c (ORBit_genuid_init): Bypass the attempts
to use /dev/urandom on Win32.
* src/orb/orb-core/corba-any.c (ORBit_marshal_value): Don't do any
post-realignment for array elements. We don't do that for array
elements in ORBit_demarshal_value() either, and the marshalling of
structs and unions already takes care of their post-alignment.
* src/idl-compiler/orbit-idl-c-utils.c: Revert the change from
2005-02-01. It's unnecessary now with the alignment fixes in the
marshalling code. (The changes were not sufficient anyway; without
the alignment fixes in the marshalling code, even more sillyness
in the IDL compiler generated code would have been necessary to
make it work on Win32.)
2005-02-13 Arvind Samptur <arvind.samptur@wipro.com
* src/orb/orb-core/corba-orb.c (ORBit_ORB_start_servers): if we
are using LocalOnly option or only UNIX sockets then set
hostname to be "localhost"
Patch reviewed by Michael Meeks
2005-02-11 Tor Lillqvist <tml@novell.com>
* src/orb/orb-core/orbit-trace.c (ORBit_trace_value): Print also
long long values, using G_GINT64_FORMAT. Ditto unsigned long long
and G_GUINT64_FORMAT.
2005-02-11 Michael Meeks <michael.meeks@novell.com>
* src/orb/dynamic/dynany.c
(DynamicAny_DynStruct_get_members),
(DynamicAny_DynStruct_set_members): add field
alignment logic now missing from ORBit_copy_value etc.
2005-02-11 Tor Lillqvist <tml@novell.com>
* src/orb/orb-core/corba-any.c
(ORBit_marshal_value, ORBit_demarshal_value),
(ORBit_copy_value_core, ORBit_value_equivalent):
re-work, bin pre-align: assume incoming ABI walking
data is aligned, do alignment only on outgoing
data & during struct/union walking.
* test/everything/arrayServer.c
(ArrayServer_opAlignHoleStructArray),
(ArrayServer_opStrArray): add.
* test/everything/unionServer.c
(UnionServer_opFixedLengthUnionArray): add
* test/everything/client.c (testUnionArray, testStrArray),
(testFixedLengthStructArray, testAlignHoleStructArray),
(testVariableLengthArray): add more beef to the regression
test suite.
2005-02-08 Tor Lillqvist <tml@novell.com>
* orbit2-zip.in: New file, expands to a script to be used for
packaging ORBit2 distributions as zipfiles for Windows.
* configure.in
* Makefile.am: Generate and distribute it.
2005-02-07 Tor Lillqvist <tml@novell.com>
* test/Makefile.am (check_PROGRAMS): Must use check_PROGRAMS as
the name for the list of test programs in order for Automake to
properly use EXEEXT on Windows.
2005-02-02 Hans Petter Jansson <hpj@novell.com>
* configure.in: Check for res_9_init() in -lresolv. This will pull in
libresolv on Darwin, where the actual symbol's name is different from
the one used by programs.
2005-02-02 Tor Lillqvist <tml@novell.com>
Make test-dynany work on Windows:
* src/orb/dynamic/dynany.c (MAKE_DYNANY_INSERT): For identical
reasons as the below change to the IDL compiler, take a local copy
of function parameter before passing its address to
dynany_insert().
(dynany_get_value): Take the alignment of preceding fields and the
field itself into account when calculating the address of a field
in a CORBA_tk_struct or except.
2005-02-01 Tor Lillqvist <tml@novell.com>
* src/idl-compiler/orbit-idl-c-utils.c (orbit_cbe_flatten_ref):
Take output file as parameter, output directly there instead of
returning a string.
Don't take the address of function parameters and pass it on to
the marshalling layers. Function parameters are not necessarily
aligned according to the alinments in orbit-config.h. Case in
point: long long on the x86. ORBIT_ALIGNOF_CORBA_LONG_LONG is 8,
but as function parameters on the stack, long longs only have
4-byte alignment. The lower levels will realign the address,
meaning long long IN parameters might have a completely wrong
value marshalled. The same presumably holds for doubles and long
doubles. Why this problem hasn't occured on Linux on x86, no
idea. I noticed it on Windows.
Instead, copy IN parameters to a field in a local struct variable,
and pass on the address of that field.
In theory, the above could hold on exotic architectures also for
OUT parameters, where the address of a parameter is also passed
on. But in that case the parameter is a pointer, and at least on
the x86, a pointer's alignment as parameter matches expectation in
orbit-config.h (4).
(orbit_cbe_maybe_copy_of_data_in): New helper function that
outputs the definition and initialization of the local copy of IN
parameters mentioned above.
(orbit_cbe_flatten_args): Modify accordingly.
2005-01-28 Tor Lillqvist <tml@novell.com>
* src/orb/orbit-init.c
* src/orb/orb-core/orbit-trace.c: Use g_get_current_time() instead
of gettimeofday().
* src/orb/GIOP/giop.c
* src/orb/GIOP/giop-send-buffer.c
* src/orb/orb-core/orbhttp.c: Conditionalize includes as
necessary.
* src/orb/GIOP/giop.c: Don't check owner on Win32 either. Add
newline to dprintf() calls. Use socket API for wakeup pipe on
Win32. Create it using link_pipe().
* src/orb/orb-core/corba-orb.c: Use IPv4 and not Unix domain
sockets on Win32.
* src/orb/orb-core/corba-typecode.c: Drop the const from the
typecode struct definitions, for Win32 DLL import/export reasons
(see yesterday's ChangeLog entries).
* src/orb/orb-core/orbhttp.c (orbHTTPConnectAttempt): Drop an
unused variable in the WinSock part.
* src/orb/orb-core/orbit-typelib.c: Use G_SEARCHPATH_SEPARATOR_S.
* src/orb/util/genrand.c: No getuid() on Win32.
* src/services/name/Makefile.am: No -lm on Win32.
* src/services/name/boot.c: Conditionalize use of syslog and
sigaction.
* src/services/name/orbit-name-server.c: Remove a couple of
unneeded includes.
* test/echo-client.c: Make debugging easier: If argv[1] starts
with a dollar, fetch it with getenv().
* test/echo-server.c
* test/empty-server.c
* test/any-server.c: Output the IOR: string to a file, too, to
avoid having to copy-paste long strings when runnning these tests.
* test/typelib-dump.c: Small workaround for Win32 DLL variable
import restriction.
* test/everything/test.sh: Don't run the Unix domain socket tests
on Windows. Don't exit after a failed test if $DONT_EXIT is set.
* test/everything/client.c (main)
* test/everything/server.c (main): Small const correctness fix.
2005-01-27 Tor Lillqvist <tml@novell.com>
* src/idl-compiler/Makefile.am
* test/Makefile.am: No separate -lm on Win32.
* src/idl-compiler/orbit-idl-c-backend.c: mkdir() has different
prototype in Microsoft's C library.
Below changes from Cygwin port of ORBit2 by Gerrit P. Haase, see
www.cygwin.com/ml/cygwin-apps/2004-10/msg00030.html. They also
apply to native Win32.
* include/orbit/orb-core/corba-orb-type.h
* include/orbit/orb-core/corba-typecode.h: Drop the constness of
extern structs as it causes problems when building libORBit-2 as a
DLL on Win32 and Cygwin.
* src/idl-compiler/orbit-idl-c-headers.c (ch_type_alloc_and_tc)
* src/idl-compiler/orbit-idl-c-typecode.c
(orbit_output_tcstruct_anon_subtypes_array,
orbit_output_tcstruct_anon_sublabels_array, cbe_tc_generate): Drop
constness from generated code, for Win32 DLL reasons as above.
* src/idl-compiler/orbit-idl-c-skels.c (cbe_skel_interface_print_relayers):
Workaround Win32 restriction, use a temporary variable. (See ld
documentation for --enable-auto-import, and for instance
http://sources.redhat.com/ml/binutils/2001-09/msg00130.html)
* src/idl-compiler/orbit-idl-main.c: Drop constness from
a poptOption array, for obscure Win32 DLL reasons.
2005-01-26 Tor Lillqvist <tml@novell.com>
* configure.in: Check also for utime.h, and sys/utime.h (where
MSVC keeps it, in case we some day want to be compileable by it).
2005-01-26 Tor Lillqvist <tml@novell.com>
* configure.in: Changes for Win32: Set automake conditional
OS_WIN32. Check for more headers and functions. Add WinSock
library to LIBS.
* include/orbit/GIOP/giop-connection.h: Don't include netdb.h on
Win32. Is it even needed on Unix?
2005-01-13 Jules Colding <colding@omesc.com>
* src/idl-compiler/orbit-idl-c-skelimpl.c (prev_char_is_nl): New function
that implements check of previously written character to the output file.
Excessive output of newline characters are fixed by checking the last
character written: If it is '\n' then do not write another '\n'.
(cbe_ski_do_list): The correct fix for exessive newline output.
Generation of skelimpl files has been fixed by protecting definitions and
declarations with #ifdef blocks. This is *not* the right fix. The right fix
would be to generate header files with the proper extern declarations. The
current "fix" has the drawback of forcing the developer to include the
skelimpl files in inheritance order: Most common ancestor first, then
progressively later descendants. The right fix requires more redesign of
the code than I would like to do now, so this hack must suffice for the time
being.
* src/idl-compiler/orbit-idl-c-backend.c (out_for_pass): Change the opening
mode of output files to "w+". This is needed to support the correct fix for
excessive newline output in skelimpl files.
* src/idl-compiler/orbit-idl-c-skelimpl.c: I had a really hard time parsing
the code with the former indentation level of 2, so I changed it to a more
reasonable 8.
2005-01-12 Jules Colding <colding@omesc.com>
* src/idl-compiler/orbit-idl-main.c (main): Fix print of passes.
2005-01-01 Jules Colding <colding@omesc.com>
* src/idl-compiler/orbit-idl-c-skelimpl.c (cbe_ski_do_list): Fix the former
fix for excessive newline output (integer overflow bug fixed).
2004-12-28 Jules Colding <colding@omesc.com>
* src/idl-compiler/orbit-idl-c-skelimpl.c (cbe_ski_do_list): Prevent excessive
output of newlines for skelimpl files.
2004-12-27 Jules Colding <colding@omesc.com>
* configure.in: Remove support for external indentation command.
* src/idl-compiler/orbit-idl-main.c: Removed all traces of the output formatter
command line option but leave a warning.
* src/idl-compiler/orbit-idl-c-backend.c (out_for_pass): "popen ==> fopen" for
all output files. The reason is to avoid opening a pipe as we don't want to use
an externally invoked indentation process.
* src/idl-compiler/orbit-idl3-types.h: Removed output_formatter.
2004-12-22 Jules Colding <colding@omesc.com>
* test/everything/everything.idl: Added test for bug#161879.
* src/idl-compiler/orbit-idl-c-utils.c (orbit_cbe_get_const): Fix IDL compilation
of "const char N = '\x0A';" definitions (bug#161879).
* src/idl-compiler/orbit-idl3-types.h: Added output_directory to OIDL_Run_Info.
* src/idl-compiler/orbit-idl-c-backend.c: Prefixed output file with output directory.
* src/idl-compiler/orbit-idl-main.c: Added 'output-dir' command line option.
2004-12-17 Michael Meeks <michael.meeks@novell.com>
* src/orb/orb-core/corba-any.c (ORBit_demarshal_value):
don't fail de-marshalling null & void - just do nothing.
(ORBit_copy_value_core): just copy nothing for void & null
- instead of breaking the val pointer.
2004-10-02 Gustavo J. A. M. Carneiro <gustavo@users.sourceforge.net>
* test/everything/client.c (testAnySequence),
* test/everything/server.c (SequenceServer_opAnySeq):
implement test for TC_void bug.
2004-12-13 Joe McCann <joem@gentoo.org>
* configure.in: bump libIDL dep to 0.8.2.
2004-11-12 Sandie Vanderme <sandie.vanderme@bull.net>
* include/orbit/orb-core/Makefile.am
(IDL_FLAGS_NO_DEFS): add src/orb/orb-core.
2004-10-19 Paolo Borelli <pborelli@katamail.com>
* src/idl-compiler/Makefile.am: fix linking, patch by Jimmy Do.
2004-10-02 Gustavo J. A. M. Carneiro <gustavo@users.sourceforge.net>
* src/orb/orb-core/corba-env.c (CORBA_exception_set): Before
overwriting an exception, free any previous value contained by it.
Patch by Michael Meeks. Fixes #153299.
2004-09-13 Mark McLoughlin <mark@skynet.ie>
* configure.in: Version 2.12.0.
2004-08-25 Michael Haubenwallner <michael.haubenwallner@salomon.at>
* src/orb/orb-core/allocators.c (ORBit_freekids_via_TypeCode_T):
Step over align-holes at the end of structures (bug#151023)
* src/orb/orb-core/corba-any.c
(ORBit_marshal_value) (ORBit_demarshal_value)
(ORBit_copy_value_core) (ORBit_value_equivalent):
Ditto.
* test/everything/everything.idl
test/everything/client.c
test/everything/structServer.c:
Added testcase for bug#151023, align-holes at the end of structures.
* test/everything/constants.h:
Ditto.
Added constants for CHAR and OCTET.
2004-08-19 Michael Meeks <michael@ximian.com>
* Version 2.11.2
* src/orb/GIOP/giop-recv-buffer.c
(giop_recv_list_destroy_queue_entry): unref the
ent's connection without the message queue lock
held.
* test/everything/client.c: bin stderr printfs
during thread tests, to avoid unhelpful rescheduling.
* src/orb/orb-core/orbit-small.c
(ORBit_small_unlisten_for_broken_full): use the
peek method, no need to try re-connecting just to
disconnect the 'broken' signal.
* src/orb/orb-core/corba-object.c
(CORBA_Object_release_cb): after a long audit;
unlock / lock around the giop connection unref;
this avoids the final connection release
deadlocking vs. a pending call in the I/O
thread needing this lock.
(ORBit_object_peek_connection): impl.
2004-08-19 Magnus Therning <magnus@therning.org>
* src/idl-compiler/orbit-idl-backend.c: fix
bit-field assignments.
2004-08-10 Michael Meeks <michael@ximian.com>
* test/everything/basicServer.c
(BasicServer_testBoolString): impl.
2004-08-11 Kjartan Maraas <kmaraas@gnome.org>
* src/idl-compiler/orbit-idl-c-backend.c: (orbit_idl_output_c):
0 vs NULL.
* src/idl-compiler/orbit-idl-c-common.c: (cc_output_typecodes):i
Same here.
* src/idl-compiler/orbit-idl-c-utils.c:
(orbit_cbe_get_typespec_str): Same here too.
* src/orb/dynamic/dynany.c: (DynamicAny_DynUnion_member_name):
0 vs NULL and add some casts.
* src/orb/orb-core/allocators.c: (ORBit_freekids_via_TypeCode_T):
0 vs NULL fixes.
* src/orb/orb-core/corba-object.c: (ORBit_objref_find):
Same again.
* src/services/name/boot.c: (main): And again.
* test/echo-srv.c: (echo_srv_finish_object), (echo_srv_finish_poa):
And again.
2004-08-10 Mark McLoughlin <mark@skynet.ie>
* src/orb/orb-core/iop-profiles.c: (IOP_start_profiles),
(IOP_TAG_CODE_SETS_demarshal): don't initialize the sequence
using structure initialization, but rather zero the structure
contents. Fixes bug #147255, which admittedly is really a
gcc on powerpc bug, but this code is nicer anyway.
2004-08-08 Gustavo J. A. M. Carneiro <gustavo@users.sourceforge.net>
* src/orb/orb-core/corba-any.c (ORBit_sequence_remove):
Impl. method to remove a single element in an ORBit sequence.
* include/orbit/orb-core/orbit-small.h: Add ORBit_sequence_remove
prototype.
* test/everything/client.c (testSequenceHelpers): Test
ORBit_sequence_remove.
2004-07-30 Mark McLoughlin <mark@skynet.ie>
* test/test-corbaloc.c: "\%" isn't a valid escape sequence,
so just use "%". From d.binderman@virgin.net.
2004-07-07 Frank Rehberger <frehberg@mole.xtradyne.de>
* Revert to Version 2.11.x and Add Version ORBit2-2.11.1
(developer release only)
2004-07-07 Frank Rehberger <frehberg@gnome-de.org>
* Add Version ORBit2-2.12.0
2004-06-22 Chris Landrieu <perotin101@yahoo.com>
* src/orb/orb-core/allocators.c (ORBit_freekids_via_TypeCode_T):
add missing pre-align for struct/except types. Complicate the
union alignment rules.
2004-05-30 Christophe Saout <christophe@saout.de>
* src/orb/orb-core/corba-any.c:
(ORBit_marshal_value, ORBit_demarshal_value): Fix broken wstring
support. Marshal/demarshal the correct number of bytes on the
wire and negotiate the UTF-16 byte ordering using an optional
endianess marker. Also works now with JacORB.
2004-05-30 Christophe Saout <christophe@saout.de>
* src/services/imodule/orbit-imodule-utils.c
(ORBit_imodule_get_typecode): set c_align in nested array
typecodes that are not handled by ORBit_imodule_find_c_align.
2004-05-17 Michael Meeks <michael@ximian.com>
* ORBit-2.0.pc.in: prune pkgconfig cruft.
2004-05-14 Fernando Herrera <fherrera@onirica.com>
* src/idl-compiler/orbit-idl-c-backend.c: (out_for_pass):
clobber LC_ALL because cpp tranlates some strings in some
locales during dep files generation that makes compilation
fails. Fixes bug #142546.
2004-05-08 Frank Rehberger <frehberg@gnome-de.org>
* src/orb/orb-core/iop-profiles.c (IOP_start_profiles): orbit
generated profiles contain full codeset data structures
(IOP_component_free): freeing codeset structures
(CodeSetComponent_marshal): marshal codeset structures
(CodeSetComponent_demarshal): demarshal codeset structures
* src/orb/orb-core/iop-profiles.h (IOP_PROFILES_CODE_SET_*):
declare known code-sets, but UTF8 and UTF16 supported only.
(struct IOP_TAG_CODE_SETS_info): complete CodeSet data structure
using CONV_FRAME_CodeSetComponentInfo.
* src/orb/orb-core/corba-orb.c: variable orbit_use_corbaloc must
be of type gboolean.
2004-05-07 Michael Meeks <michael@ximian.com>
* configure.in: bump version to 2.11.0 (after branch),
update configure message to point to gnome-2-6 branch.
2004-05-02 Frank Rehberger <frehberg@gnome-de.org>
* src/orb/orb-core/corba-loc.c (corbaloc_profile_iiop): reference
constants defined for CSSIOP
* src/orb/orb-core/iop-defs.idl: add IIOP.idl and CORBA Security
Ineterop. attributes in files CSI.idl and CSIIOP.idl
2004-05-01 Frank Rehberger <frehberg@gnome-de.org>
* src/idl: upgrade to CORBA-3.0 IDL files cause of security
attributes defined in there
* include/orbit/orb-core/orb-types.h: comment typedef being
defined in generated include/orbit/orb-core/corba-defs.h now.
2004-05-07 Michael Meeks <michael@ximian.com>
* Branch for Gnome 2.6
2004-04-24 Dan Winship <danw@ximian.com>
* src/services/imodule/Makefile.am (LDADD): Remove
$(LOCAL_LINC_LIBS). (Only libORBit-2 itself should be linking
against it.)
* src/services/name/Makefile.am (libORBitCosNaming_2_la_LDFLAGS):
Likewise
2004-04-24 Frank Rehberger <frehberg@fresa.casa.in-berlin.de>
* MAINTAINERS: maintainer-ship handed over to frehberg@gnome-de.org
2004-04-21 Michael Meeks <michael@ximian.com>
* Version 2.10.1
2004-04-21 Michael Meeks <michael@ximian.com>
* src/orb/orb-core/iop-profiles.c
(CodeSetComponent_demarshal): don't spew a
g_warning, just a dprintf.
(IOP_UnknownComponent_marshal): actually marshal
the length of the sequence as well as the data.
2004-04-21 Bill Haneman <bill.haneman@sun.com>
* test/everything/basicServer.c
(TestFactory_getObjectCount, TestFactory_getObject):
hammer on some JavaORB stuff.
* test/everything/client.c (testIOR): impl.
(run_tests): upd.
2004-04-13 Joe Marcus Clarke <marcus@freebsd.org>
* ORBit-2.0.pc.in: add gthread dep.
2004-03-19 Mark McLoughlin <mark@skynet.ie>
* orbit2-config.in: return -lORBitCosNaming-2 with
--use-service=name rather than -lORBitCosNaming.
This script is still deprecated old cruft, though.
2004-03-04 Michael Meeks <michael@ximian.com>
* Version 2.10.0
* src/orb/orb-core/corba-orb.c (CORBA_ORB_init):
add 'orbit-io-thread' initializer to force I/O thread
usage.
* src/orb/GIOP/giop.c (giop_init): s/threaded/thread_safe/
2004-02-12 Chris Toshok <toshok@ximian.com>
* Version 2.9.8
2004-02-12 Chris Toshok <toshok@ximian.com>
* src/orb/orb-core/Makefile.am (INCLUDES): change the order so
that top_builddir is always listed first. This keeps heads in
top_srcdir from ending up in the .dep files and causing make
distcheck to fail.
2004-02-10 Tomasz K�oczko <kloczek@pld.org.pl>
* acinclude.m4: added missing [] quotation first parameter of
AC_DEFUN(). This fix is for aclocal from automake 1.8.x and is
backward compatible with older auto tools.
2004-02-10 Michael Meeks <michael@ximian.com>
* src/orb/orb-core/Makefile.am: always dist. HTTP_FILES.
2004-02-06 Chris Toshok <toshok@ximian.com>
* src/orb/poa/poa.c (push_request_idle): add an @on_context arg,
so callers can specify the GMainContext to use. Also, NULL out
pcl->pobj and pcl->recv_buffer.
(poa_destroy_idle_closure): new function. free up the
PoaIdleClosure here, and release/unuse the POAObject/buffer if we
haven't hit the idle handler yet.
(ORBit_POA_handle_request): implement ORBIT_THREAD_HINT_ON_CONTEXT
case, and pass NULL to push_request_idle for the normal IDLE
cases.
(ORBit_poa_allow_cross_thread_call): add ON_CONTEXT where the
other idle poa policies are, and add a FIXME comment about needing
something along the lines of g_main_context_get_owner to implement
it properly.
* src/orb/poa/object-adaptor.c
(ORBit_ObjectAdaptor_set_thread_hintv): extract the GMainContext
out of the arg list in the ON_CONTEXT case.
* include/orbit/poa/orbit-adaptor.h (ORBit_ObjectAdaptor_type):
add context slot.
2004-02-06 Michael Meeks <michael@ximian.com>
* src/orb/orb-core/Makefile.am (IDL_DIR): set
this so we're not vunerable to environment
problems.
2004-02-05 Michael Meeks <michael@ximian.com>
* test/test-giop.c (run_test): upd. tests.
2004-02-04 Michael Meeks <michael@ximian.com>
* Version 2.9.7
2004-02-04 Michael Meeks <michael@ximian.com>
* src/orb/GIOP/giop-recv-buffer.c
(giop_recv_list_zap): signal the wait condition on
threads when a connection dies.
2004-02-04 Michael Meeks <michael@ximian.com>
* src/orb/GIOP/giop.c (wakeup_mainloop): handle EAGAIN
on wakeup pipe more elegantly, downgrade g_error.
2004-02-02 Kjartan Maraas <kmaraas@gnome.org>
* src/services/imodule/orbit-imodule.c: (build_cpp_args):
Don't use deprecated function. Closes bug #133168.
2004-02-02 Michael Meeks <michael@ximian.com>
* docs/internals/Makefile.am: add misc. bits.
* docs/internals/interface-indirection.xls: switch
from .gnumeric, and tag -kb.
2004-01-25 Alexander Winston <alexander.winston@comcast.net>
* ORBit2.m4: quote it properly
2004-01-16 Michael Meeks <michael@ximian.com>
* Version 2.9.6
2004-01-16 Michael Meeks <michael@ximian.com>
* src/orb/orb-core/corba-any.c (ORBit_copy_value_core):
fetch the union tag only after pre-aligning correctly,
vicious PPC snafu; thanks to Jeroen Zwartepoorte for
his patience.
* test/everything/everything.idl: add a double
to the VariableLengthUnion - causing grief on PPC.
2004-01-15 Mark McLoughlin <mark@skynet.ie>
* Version 2.9.5
2004-01-15 Mark McLoughlin <mark@skynet.ie>
* src/orb/orb-core/corba-env.c: (CORBA_exception_free),
(CORBA_exception_set_system), (CORBA_exception_set),
(CORBA_exception_init): add pre-conditions so as to
warn people that passing NULL for the environment to
CORBA methods is not allowed, without changing the
existing behaviour.
2004-01-14 Michael Meeks <michael@ximian.com>
* Version 2.9.4
2004-01-14 Michael Meeks <michael@ximian.com>
* test/everything/client.c (testWithException): add.
* src/orb/orb-core/orbit-small.c
(ORBit_small_invoke_stub): always clean Environment
as it enters - otherwise there's no way of telling if
the return value is valid.
* src/orb/poa/poa.c (ORBit_c_stub_invoke): init ev.
here too; same reason; upd. locking comments.
2004-01-14 Albert Chin-A-Young <china@thewrittenword.com>
* include/orbit/GIOP/giop-recv-buffer.h: guint for
single bitfield.
* src/orb/orb-core/corba-object.c (CORBA_Object_is_a),
* src/orb/poa/poa.c (ORBit_POA_setup_root): fix
array assigment portability.
2004-01-09 Michael Meeks <michael@ximian.com>
* Version 2.9.3
2004-01-09 Michael Meeks <michael@ximian.com>
* src/orb/orb-core/orbit-small.c
(ORBit_small_invoke_stub): add performance
comment and pass method flags in.
* src/orb/poa/poa.c (get_c_method),
(ORBit_c_stub_invoke): extract / pass on the
method flags to:
(ORBit_poa_allow_cross_thread_call): if we
have an non-std. threading policy, then do
a 'true' oneway call.
2004-01-06 Michael Meeks <michael@ximian.com>
* configure.in: fix 'if !' bug for Morten.
2003-12-10 Michael Meeks <michael@ximian.com>
* src/orb/GIOP/giop.c (giop_init): make the
write pipe non-blocking.
(giop_thread_queue_process): fix printf.
(giop_thread_push_recv): kill.
(giop_incoming_signal_T): add 'type' param; we
know people are waiting for replies and don't need
wakeup.
(giop_invoke_async, giop_thread_request_push):
annotate as requests not replies.
* src/orb/GIOP/giop-recv-buffer.c
(handle_reply): in-line giop_thread_push_recv
for simplicity & mark as a reply type.
2003-12-10 Alexander Larsson <alexl@redhat.com>
* src/orb/GIOP/giop.c (first_valid_request):
Really look up the policy
2003-12-08 Michael Meeks <michael@ximian.com>
* Version 2.9.2
2003-12-08 Michael Meeks <michael@ximian.com>
* src/orb/orb-core/orbit-small.c
(ORBit_small_invoke_stub): bin double unuse in
MARSHAL_RETRY loop; add more exception handling.
2003-12-06 Michael Meeks <michael@ximian.com>
* src/orb/GIOP/giop.c (wakeup_mainloop): don't spin on
EAGAIN, if the buffer is full we're sure of waking the
mainloop. Warn on EAGAIN - someone isn't running the
glib mainloop.
2003-11-17 Frank Rehberger <frehberg@xtradyne.de>
* src/orb/GIOP/giop.c (giop_mainloop_handle_input): invoke
giop_thread_queue_process with specific GIOPThread object instead
NULL.
2003-11-15 Frank Rehberger <frehberg@xtradyne.de>
* src/idl-compiler/orbit-idl-c-skelimpl.c (cbe_ski_do_interface):
fix mem-leak in generated code: g_free (servant) in destructor
impl_*__destroy() by default
2003-11-13 Michael Meeks <michael@ximian.com>
* Version 2.9.1
* src/orb/orb-core/Makefile.am: fix include.
2003-11-10 Justin Schoeman <justin@expertron.co.za>
* src/orb/GIOP/giop-recv-buffer.c (giop_recv_buffer_use_buf,
giop_recv_buffer_unuse): Add a reference to the connection on
giop_recv_buffer_use_buf, and remove it on giop_recv_buffer_unuse.
Prevents a connection shutdown while a request is being handled.
2003-11-06 Padraig O'Briain <padraig.obriain@sun.com>
* linc2/src/linc-server.c (link_server_handle_io): Change g_error
to g_warning to avoid crash if revents field reset between check()
and dispatch(). Fixes bug #126209.
2003-11-03 Frank Rehberger <frehberg@xtradyne.com>
* src/orb/poa/poa.c (ORBit_POA_invocation_stack_pop)
(ORBit_POA_invocation_stack_push)
(ORBit_POA_invocation_stack_lookup_objid)
(ORBit_POA_invocation_stack_lookup_objref)
(ORBit_POA_invocation_stack_peek): refactore code managing
invocation stack; done for later thread aware management of stack.
2003-11-03 Justin Schoeman <justin@expertron.co.za>
* src/orb/orb-core/corba-orb.c (ORBit_initial_references_by_user):
Destroy the NameService object after calling
ORBit_set_initial_reference on it, as ORBit_set_initial_reference
dup's the object.
2003-10-31 Michael Meeks <michael@ximian.com>
* src/orb/GIOP/giop.c (giop_thread_free):
only free policy queue if we have one.
* src/orb/GIOP/giop-recv-buffer.c
(giop_connection_handle_input): on HUP goto
msg_error so we don't leave the cnx->incoming_msg
hanging around.
2003-10-30 Michael Meeks <michael@ximian.com>
* test/everything/lifeCycle.c
(LifeCycleServer_deactivateUnrefOnReturn): a nasty
in-proc hack that unreferences our CORBA_Object
handle.
* test/everything/client.c (testLifeCycle): use
the ORBit_small_invoke_stub_n path, used by older
stubs.
2003-10-29 Justin Schoeman <justin@expertron.co.za>
* src/orb/orb-core/orbit-object.c (ORBit_RootObject_shutdown): fix
declaration of valid_running when G_ENABLE_DEBUG is defined.
* src/orb/GIOP/giop.c (giop_thread_request_push_key): make sure
tdata is set before calling giop_thread_key_add_T.
2003-10-27 Michael Meeks <michael@ximian.com>
* test/everything/client.c (testPolicy): impl.
* src/orb/orb-core/orbit-policy.c
(ORBit_object_get_policy, ORBit_object_set_policy): impl.
* src/orb/orb-core/orbit-small.c
(ORBit_small_invoke_stub): push/pop the policy if
there is one associated with an object.
* src/orb/GIOP/giop.c (giop_thread_queue_process):
move it here, rename, re-hash, fix leak.
(giop_thread_queue_empty_T): implement.
(giop_thread_request_process): move into process_queue.
(giop_mainloop_handle_input): upd.
(giop_invoke_async): push the async reply to the
right thread, cleanly.
(giop_thread_queue_tail_wakeup): impl.
(giop_list_pop): re-implement, bin GQueue - it's more bloated,
and sucks harder than GList.
(giop_thread_free): free policy queue.
* src/orb/GIOP/giop-recv-buffer.c
(giop_recv_buffer_get): handle switch to threaded
IO in mid wait properly.
(giop_recv_handle_queued_input): move this to giop.c
(handle_reply): bin process_now
2003-10-24 Michael Meeks <michael@ximian.com>
* src/orb/GIOP/giop.c (giop_shutdown): allow
shutdown from any thread - this looks safe enough,
at least here.
2003-10-23 Mark McLoughlin <mark@skynet.ie>
* configure.in: release version 2.9.0.
2003-10-23 Mark McLoughlin <mark@skynet.ie>
* test/everything/lifeCycle.c: add this from the
2.8.2 tarball. Michael must have forgotten to
CVS add it.
2003-10-14 Michael Meeks <michael@ximian.com>
* src/orb/poa/poa.c (ORBit_POA_destroy_T_R):
rename to this; fix nasty deadlock with child
poas.
2003-10-10 Michael Meeks <michael@ximian.com>
* configure.in: switch to 2.9.0
* ORBit.spec.in: fix from Joe Pranevich.
* src/orb/GIOP/giop-recv-buffer.c
(giop_recv_thread_fn): prune cruft.
* src/orb/GIOP/giop-connection.c
(giop_connections_shutdown): axe.
* src/orb/GIOP/giop.c (giop_shutdown): call
linc_connections_close.
* src/orb/poa/poa.c (get_c_method): re-order check
for ORBIT_ADAPTOR_POA to pre the cast, check that we're
not walking over the end of vepvmap_cache.
(ORBit_skel_class_register): setup VEPV_CACHE_SIZE
using the 0'th element of vepvcache.
2003-10-01 Michael Meeks <michael@ximian.com>
* src/orb/poa/poa.c (ORBit_POA_destroy_T): make
the adaptor array walk slightly faster.
* test/everything/client.c (test_time_noop):
fix timer leak.
2003-10-08 Olivier Andrieu <oliv__a@users.sourceforge.net>
* src/orb/orb-core/corba-typecode.c: (CORBA_TypeCode_id),
(CORBA_TypeCode_name), (CORBA_TypeCode_member_name),
(CORBA_TypeCode_member_type), (CORBA_TypeCode_discriminator_type),
(CORBA_TypeCode_content_type):
duplicate return values of type string or TypeCode in
CORBA_TypeCode_* functions for spec conformance.
2003-10-07 Ian McKellar <yakk@yakk.net>
* src/services/imodule/orbit-imodule.c:
(ORBit_iinterface_fill_iargs):
I suck - Olivier just made a better version of my change.
I'm reverting it.
2003-10-07 Ian McKellar <yakk@yakk.net>
reviewed by: Michael Meeks <michael@ximian.com>
* src/services/imodule/orbit-imodule.c:
(ORBit_iinterface_fill_iargs):
Fill in the iarg->name from the IDL.
2003-10-06 Olivier Andrieu <oliv__a@users.sourceforge.net>
* src/services/imodule/orbit-imodule.c:
(ORBit_iinterface_fill_iargs):
fill the name field of ORBit::IArg struct
2003-10-02 Alexander Larsson <alexl@redhat.com>
* include/orbit/GIOP/giop-types.h:
* include/orbit/GIOP/giop.h:
* src/orb/GIOP/giop.c: (giop_thread_new), (giop_thread_key_add_T),
(giop_thread_key_release_T), (giop_thread_free),
(giop_thread_self), (giop_thread_key_add),
(giop_thread_key_release), (giop_thread_request_push_key),
(giop_request_handler_fn), (giop_init):
Allow GIOPThreads to have several keys.
Don't leak some GIOPThread contents.
* src/orb/poa/orbit-adaptor.c:
* include/orbit/poa/orbit-adaptor.h:
Add ORBIT_THREAD_HINT_ON_CONTEXT to case to fix warning.
Fix recursion in ORBit_ObjectAdaptor_set_thread_hint
Implement ORBit_ObjectAdaptor_object_bind_to_current_thread.
* src/orb/poa/poa.c: (ORBit_POA_handle_request):
Add comment about thread binding.
2003-09-30 Michael Meeks <michael@ximian.com>
* src/orb/poa/poa.c (ORBit_POAObject_handle_request):
get the pobj->use_cnt tracking right.
* src/orb/GIOP/giop.c (scan_socket_dir): actually
use the string comparison to use the sort order,
not the directory order.
* test/everything/server.c
(TestFactory_createLifeCycleServer): impl
* test/everything/lifeCycle.c: add module.
* test/everything/client.c (testLifeCycle): impl.
(run_tests): upd. - try to catch Ettore's bug - to no
avail.
* src/idl-compiler/orbit-idl-main.c: at least return
error status on an error ...
2003-09-29 Michael Meeks <michael@ximian.com>
* test/test-mem.c (main_func): release refs we own.
* test/test-performance.c (test_activation): destroy
the child poa nicely.
* src/orb/poa/poa.c (PortableServer_POA_destroy):
hold the POA lock, re-flow.
(ORBit_POA_destroy_T): upd. lock/unlock children.
* src/orb/orb-core/corba-object.c
(ORBit_try_connection_T): clean warnings.
* src/orb/poa/poa.c (ORBit_POA_deactivate_object_T):
rename to this.
(ORBit_POAObject_handle_request): upd, hold a poa
ref. for longer.
* src/orb/orb-core/corba-orb.c
(CORBA_ORB_destroy, shutdown_orb): stop the g_atexit
case from moaning about leaked references, if we have to
do work here, then someone didn't do a debug_shutdown
properly anyway, so it will always moan annoyingly.
* src/orb/orb-core/orbit-object.c
(ORBit_RootObject_shutdown): add non-moaning option
2003-09-29 Olivier Andrieu <oliv__a@users.sourceforge.net>
* src/orb/orb-core/orbit-typelib.c (add_if_unique)
(ORBit_get_typelib_paths): update typelib_path semantics
to be more sane.
2003-09-22 Kjartan Maraas <kmaraas@gnome.org>
* acconfig.h: Removed.
* configure.in: Added templates from acconfig.h here..
* src/orb/orb-core/corba-any.c: (ORBit_sequence_concat):
* src/orb/orb-core/corba-orb.c:
(CORBA_ORB_resolve_initial_references):
* src/services/imodule/orbit-imodule.c: (build_cpp_args):
* test/test-corbaloc.c: (main): Remove compiler warnings.
Thu Sep 18 09:09:39 2003 George Lebl <jirka@5z.com>
* src/orb/util/genrand.c: when seeding from time shift the
seconds up as we don't really care much about the high
order bits (they're not interesting). Achieve almost 32
bits of entropy within an hour of uncertainty this way
rather then a century. Only affects places without
/dev/urandom
2003-09-16 Michael Meeks <michael@ximian.com>
* configure.in: add $(top_builddir)/linc2/include
to LOCAL_LINC_CFLAGS - how did distcheck not pick
this up ?
2003-09-09 Michael Meeks <michael@ximian.com>
* Version 2.8.1
2003-09-08 Padraig O'Briain <padraig.obriain@sun.com>
* linc2/src/linc-private.h: Add field was_disconnected in order to
deal with the case where connecting after disconnection returns
EINPROGRESS.
* linc2/src/linc-connection.c:
(linc_connection_state_changed_T_R): Do not emit "broken" signal if
disconnected field is set.
(linc_connection_try_disconnect): Set was_disconnected field before
calling link_connection_wait_connected_T.
(link_connection_init): Initialize was_disconnected to FALSE.
This fixes bug #121246.
2003-09-05 Frank Rehberger <Frank.Rehberger@xtradyne.de>
* test/test-mem.c: autmatic memory verification based on 'ps' command,
added POA test
2003-08-26 Michael Meeks <michael@ximian.com>
* Version 2.8.0
2003-08-21 Frank Rehberger <Frank.Rehberger@xtradyne.de>
* src/orb/orb-core/corba-any.c (ORBit_sequence_concat): initial
implementaion
2003-08-19 Frank Rehberger <Frank.Rehberger@xtradyne.de>
* src/orb/orb-core/corba-loc.c (ORBit_corbaloc_from): encode
giop-version in corbaloc
* src/orb/orb-core/corba-object.c (ORBit_object_to_corbaloc):
representation for empty object reference
(ORBit_object_by_corbaloc): accept corbaloc representation for
empty object
* src/orb/orb-core/corba-orb.c (CORBA_ORB_object_to_string): if
corbaloc fails, fallback to common marshalling
2003-08-11 Michael Meeks <michael@ximian.com>
* Version 2.7.6
2003-08-08 Michael Meeks <michael@ximian.com>
* src/orb/orb-core/corba-object.c
(ORBit_try_connection_T): rename to this, return the
correct state, and handle the result.
(ORBit_object_get_connection): in here.
(ORBit_try_connection_T): drop the lock over the
[re-]connection phase - it's possibly re-enterant. #117970
* src/orb/GIOP/giop-connection.c
(giop_connection_try_reconnect): return the status.
2003-08-07 Michael Meeks <michael@ximian.com>
* src/orb/orb-core/corba-orb.c (shutdown_orb):
set init_level to 1, so our g_atexit handler
actually does clean-up the ORB bits.
2003-08-06 Michael Meeks <michael@ximian.com>
* configure.in: don't link libIDL into the name
service; thanks Morten.
2003-08-04 James Henstridge <james@daa.com.au>
* src/services/imodule/orbit-imodule.c (build_cpp_args): add
function to build up a full set of cpp args (adds __ORBIT_IDL__
and __basename_COMPILATION). Makes many Gnome IDL files just
work.
(ORBit_iinterfaces_from_file): use build_cpp_args() to build the
full set of CPP args.
2003-07-31 Michael Meeks <michael@ximian.com>
* Version 2.7.5
* src/orb/orb-core/corba-object.c: by-pass invoke_stub
in-proc, since we may have a transient policy on our
object; and we want an answer now.
* test/everything/server.c
(TestFactory_getDerivedServer): impl.
(test_TestFactory__init): upd.
* test/everything/derivedServer.c: add.
* src/orb/orb-core/corba-loc.c (ORBit_corbaloc_from):
invert ssl_info NULL check's sense, remove redundant
braces / inits. Add a 'break' so we don't drop through
to the next case by mistake.
* test/everything/client.c (testIsA): hammer _is_a
on the 'diamond of death'.
2003-07-30 Frank Rehberger <Frank.Rehberger@xtradyne.de>
* src/orb/orb-core/corba-object.c (g_CORBA_Object_hash): use
object key for calculation, remove commented code
* src/orb/orb-core/corba-loc.c (ORBit_corbaloc_from): if ssl port
given create ssliop-profile instead of iiop-profile.
2003-07-30 Michael Meeks <michael@ximian.com>
* test/everything/server.c, client.c: upd. to
"orbit-local-non-threaded-orb".
* src/orb/orb-core/corba-orb.c
(CORBA_ORB_init): default to a thread-safe ORB, since we
can't have GConf initializing without threads, and then
libbonobo requiring that we have them later; and (it seems)
GConf won't change.
* Makefile.shared: parallel build messing.
* src/orb/orb-core/Makefile.am: parallel build fixage.
2003-07-29 Michael Meeks <michael@ximian.com>
* configure.in: disable linux/irda.h check / include,
causing misc. problems, and the code is unused anyway.
#118495.
2003-07-29 Frank Rehberger <Frank.Rehberger@web.de>
* src/orb/orb-core/corba-loc.c (corbaloc_profile_iiop_parse):
polishing comments and layout (true K&R)
(corbaloc_profile_iiop): target supports full security features,
target requires at least integrity and confidentiality
* src/orb/orb-core/corba-object.c (g_CORBA_Object_hash): polishing
comments
2003-07-28 Frank Rehberger <Frank.Rehberger@web.de>
* test/everything/test.sh (SAMPLE_NAME): regression test for corbaloc
* src/orb/orb-core/corba-orb.c (CORBA_ORB_object_to_string):
feature allows stringified represantation in corbaloc syntax
2003-07-28 Frank Rehberger <Frank.Rehberger@web.de>
* test/Makefile.am (noinst_PROGRAMS): add target test-corbaloc
* test/test-corbaloc.c: test verifies string->object
transformation from corbaloc strings
* src/orb/orb-core/corba-orb.c (CORBA_ORB_string_to_object):
provide corbaloc parsing
* src/orb/orb-core/Makefile.am (main_src): add corba-loc.c
* src/orb/orb-core/corba-loc.c: new module, provides OMG corbaloc
support
* src/orb/orb-core/corba-object.c (ORBit_object_to_corbaloc):
thread safe invocation of corbaloc functions
(ORBit_object_by_corbaloc): thread safe creation of object from
corbaloc string
2003-07-28 Frank Rehberger <Frank.Rehberger@web.de>
* src/orb/orb-core/iop-profiles.c (IOP_ObjectKey_dump): zero
padding in hex object key
* src/orb/orb-core/iop-profiles.c (IOP_profile_dump): free
temporary 'key'
* src/orb/orb-core/corba-orb.c (ORBit_initial_references_by_user):
protect initial references "RootPOA" and "POACurrent" from being
set by user
2003-07-25 Dan Winship <danw@ximian.com>
* src/idl-compiler/orbit-idl-main.c (main): Don't print version
info / flags to stderr. They're not errors.
2003-07-15 Michael Meeks <michael@ximian.com>
* src/orb/util/orbit-options.c
(ORBit_option_command_line_parse): fix warning,
bin redundant commenting.
* Version 2.7.3
2003-07-15 Michael Meeks <michael@ximian.com>
* src/orb/orb-core/corba-object.c
(ORBit_try_connection): bin the TESTME g_warning.
2003-07-14 Mark McLoughlin <mark@skynet.ie>
Fix for bug #103159.
Patiently tracked down by Brian Cameron <brian.cameron@sun.com>
* src/orb/orb-core/corba-any.c: (ORBit_value_equivalent):
align to the discriminator before figure out the members
typecode based on the discriminator value.
2003-07-14 Michael Meeks <michael@ximian.com>
* test/everything/client.c (testSegv): fix silly -
amazing that gcc didn't catch this for me (!?)
* src/orb/GIOP/giop-recv-buffer.c: bin execinfo,
thanks Morten.
2003-07-11 Michael Meeks <michael@ximian.com>
* src/orb/orb-core/corba-orb.c
(ORBit_initial_references_by_user): fix iterator type.
* src/orb/orb-core/corba-object.c
(ORBit_try_connection): use the (now) thread safe
linc_connection_wait_connected [ although not re-enterant
sadly ], if we've connected in the past, always return
the same connection - but have a go at reviving it if
it dropped.
2003-07-09 Michael Meeks <michael@ximian.com>
* test/everything/client.c (testNonExistent): impl.
* src/orb/orb-core/corba-object.c
(CORBA_Object_non_existent): wait until it's connected
before giving a verdict.
2003-07-08 Michael Meeks <michael@ximian.com>
* src/orb/orb-core/corba-orb.c: bin popt.h include.
2003-07-07 Michael Meeks <michael@ximian.com>
* test/everything/client.c (testPingPong): reset max_buffer
on the cnx to 0 afterwards the test - ie. don't poison other
stuff.
* src/orb/orb-core/orbit-small.c (async_recv_cb):
call destroy_queue_entry on the mqe.
* src/orb/GIOP/giop-recv-buffer.c (giop_recv_list_setup_queue_entry)
(giop_recv_list_destroy_queue_entry): hold a ref. on the cnx.
(giop_recv_destroy_queue_entry_T): split out.
* src/orb/dynamic/dynany.c (ORBit_DynAnyFactory_new): impl.
* src/orb/orbit-init.c (ORBit_init_internals): register
DynAnyFactory - a completely bogus object to satisfy the spec.
* src/orb/orb-core/corba-orb.c
(ORBit_initial_references_by_user): cleanup.
2003-07-07 Michael Meeks <michael@ximian.com>
* test/everything/test.sh: put the failures first.
* src/orb/GIOP/giop-send-buffer.c
(giop_send_buffer_unuse): shrink indirect chunk size, so
we don't keep vast buffers kicking around.
* src/orb/orb-core/corba-any.c (ORBit_sequence_append):
prune comments.
* src/orb/orb-core/allocators.c (ORBit_realloc_tcval):
bin comments / extra braces - nice otherwise.
2003-07-03 Frank Rehberger <Frank.Rehberger@web.de>
* src/orb/orb-core/corba-any.c (ORBit_sequence_alloc): undo
previous change, now sequence length initially seq->_length=length
* test/everything/client.c (testSequenceHelpers): undo previous
changes to client.c
2003-07-03 Frank Rehberger <Frank.Rehberger@web.de>
* src/orb/orb-core/corba-context.c (ORBit_Context_demarshal): fix
for #116338
2003-07-02 Frank Rehberger <Frank.Rehberger@web.de>
* src/orb/orb-core/allocators.c (ORBit_realloc_tcval): prevent
SEGV on empty sequences; if(old_num_elements==0 && !old_buffer)
return ORBit_alloc_tcval(tc,num_elements);
2003-07-01 Frank Rehberger <Frank.Rehberger@web.de>
* src/orb/orb-core/corba-any.c (ORBit_sequence_alloc): invoke
CORBA_sequence_set_release (seq, CORBA_TRUE) on new sequence,
otherwise _buffer wouldn't be CORBA_free'd! Length of new sequence
is 0 instead of _length==_maximum.
(ORBit_sequence_append): calculate resized seq-length by
new_len = MAX (2, (seq->_maximum * 2));
* test/everything/client.c (testSequenceHelpers): extend
ORBit_sequence* tests
2003-06-30 Padraig O'Briain <padraig.obriain@sun.com>
* linc2/src/linc-connection.c: Move link_source_remove and
link_source_add to before link_connection_state_changed_T_R.
This fixes bug #116350.
2003-06-28 Gustavo J. A. M. Carneiro <gustavo@users.sourceforge.net>
* docs/api/Makefile.am (DOC_SOURCE_DIR): indicate a source dir, so
that gtk-doc can scan for inline docs.
* src/orb/orb-core/allocators.c: Added an extra asterisk to the
comment block in the beginning of the file, to prevent gtk-doc
from thinking this is an inline documentation comment.
2003-06-27 Frank Rehberger <Frank.Rehberger@web.de>
* src/orb/orb-core/corba-orb.c (CORBA_ORB_resolve_initial_references):
feature-disabled: disabled exceptions that broke GNOME in
bonobo_arg_new(). Feature should be re-enabled for later release.
2003-06-24 Michael Meeks <michael@ximian.com>
* test/everything/client.c (testUnboundedSequence): fix silly.
* src/orb/orb-core/orbit-small.c (ORBit_small_listen_for_broken)
(ORBit_small_unlisten_for_broken_full): upd.
2003-06-22 Frank Rehberger <Frank.Rehberger@web.de>
* src/orb/util/orbit_optionss.h: introducing type ORBit_OptionKeyValue
* src/orb/orb-core/corba-orb.c: bugfix in CORBA_init() of initial
-ORBInitRef and -ORBNamingIOR option parsing
2003-06-22 Gustavo J. A. M. Carneiro <gustavo@users.sourceforge.net>
* docs/api/ORBit2-sections.txt: Created the orbit2-small section.
* docs/api/Makefile.am: Instead of specifying an include directory
for gtkdoc-scan, indicate a specific set of files to scan instead,
via the variable EXTRA_HFILES.
* docs/api/ORBit2-docs.sgml: Added the orbit2-small section.
* docs/api/tmpl/orbit2-small.sgml: New template file for the orbit-small.h header.
* docs/api/tmpl/orbit2-allocators.sgml: Added some documention for
this section.
2003-06-19 Gustavo J. A. M. Carneiro <gustavo@users.sourceforge.net>
* Makefile.shared: Moved the target 'distclean-local' out of the
MAINTAINER_MODE conditional because, since the deps are always
generated (regardless of maintainer mode), they should be always
be deleted too; This avoids the "files left in build directory
after distclean" automake 1.7 error.
* test/Makefile.am (DYNANY_IDLOUT): Added skels and stubs sources.
* docs/api/ORBit2-sections.txt: New file, ORBit2 API sections.
* docs/api/ORBit2-docs.sgml: New file, main ORBit2 API docbook source.
* docs/api/Makefile.am: New makefile, to build ORBit2 API docs.
* linc2/configure.in, linc2/acconfig.h, linc2/autogen.sh: Removed
these files: they're no longer used, and are getting in the way.
* autogen.sh: Use (include) generic gnome autogen; Require
automake >= 1.6 because of gtk-doc.
* Makefile.am (DISTCHECK_CONFIGURE_FLAGS): Added --enable-gtk-doc,
to make distcheck work.
* configure.in: Write linc2/include/linc/linc-config.h; gtk-doc
detection. Write docs/api/Makefile.
* test/poa/Makefile.am: Avoid "blank line following trailing
backslash" automake warning.
* test/everything/Makefile.am (BUILT_SOURCES): Removed duplicate
definition.
(CLEANFILES): Also removed this duplicate definition.
* src/orb/dynamic/Makefile.am: Removed duplicate definition of
DYNAMIC_IDLOUT.
* src/orb/orb-core/Makefile.am (IDL_COMPILER): Removed, twice;
already defined in Makefile.shared.
2003-06-19 Michael Meeks <michael@ximian.com>
* configure.in: add gthread to ORBIT_LIBS etc.
2003-06-19 Bowie Owens <bowie.owens@csiro.au>
* test/everything/sequenceServer.c
(SequenceServer_opMassiveSeq): impl. & hook it up.
* test/everything/client.c (testUnboundedSequence):
invoke opMassiveSeq.
2003-06-18 Frank Rehberger <Frank.Rehberger@web.de>
* src/orb/util/orbit-options.c: enable parsing of command line options
* src/orb/util/orbit-options.h: declare ORBIT_OPTION_KEY_VALUE
* src/orb/util/orbit-options.c: code for option ORBIT_OPTION_KEY_VALUE
* src/orb/orb-core/corba-orb.c: support for -ORBNamingIOR, -ORBInitRef
2003-06-11 Michael Meeks <michael@ximian.com>
* test/everything/client.c (test_time_noop): fix.
2003-06-11 Frank Rehberger <Frank.Rehberger@web.de>
* src/orb/orb-core/orbit-small.c
(ORBit_small_invoke_adaptor): ensure we free
temporarily allocated fixed size struct/union
return & out values.
2003-06-11 Michael Meeks <michael@ximian.com>
* src/orb/poa/poa.c: bin dupped set_classinfo macro.
* include/orbit/poa/poa.h
(ORBIT_SERVANT_SET_CLASSINFO): add back to please
old/stale stubs.
2003-06-09 Michael Meeks <michael@ximian.com>
* src/orb/GIOP/giop.c (giop_init): bin terrifying
warning; hey-ho.
2003-06-09 Michael Meeks <michael@ximian.com>
* Version 2.7.2
2003-06-09 Michael Meeks <michael@ximian.com>
* include/orbit/orb-core/corba-object-type.h:
internalize the CORBA_Object layout.
* src/orb/poa/orbit-adaptor.c
(ORBit_ObjectAdaptor_set_thread_hintv): split
(ORBit_ObjectAdaptor_set_thread_hint): impl.
* src/idl-compiler/orbit-idl-c-common.c
(orbit_idl_output_c_common): guard the skel
marshallers so they arn't built in the imodule.
* configure.in (ORBIT_SERIAL): bump it.
* include/orbit/poa/orbit-adaptor.h:
internalize everything except the thread hint bits.
* include/orbit/poa/poa-types.h: internalize
ORBit_POAObejct_type, drastically prune the
macros / ABI exposure.
* src/orb/orb-core/orbit-small.c: disable
ORBIT_SMALL_FAST_LOCALS to hugely prune our
ABI.
* src/orb/poa/poa.c (ORBit_c_stub_invoke):
add pre/post call macro values in comments here.
2003-06-06 Michael Meeks <michael@ximian.com>
* src/orb/Makefile.am: poke at deps again [!]
* src/orb/GIOP/giop-connection.c
(giop_connections_shutdown): warn hackers only,
an old problem.
* test/poa/test-poa.c: make the test effective &
pass.
* src/orb/Makefile.am: fix deps again (?)
* src/orb/orb-core/orbit-small.c
(ORBit_small_unlisten_for_broken_full): split from
(ORBit_small_unlisten_for_broken): here, and allow
a 'user_data' to be specified ie. make the method
actually useful.
(ORBit_small_invoke_stub_n): fix warning.
2003-06-06 Michael Meeks <michael@ximian.com>
* test/poa/test-poa.c: add.
* src/orb/poa/poa.c (ORBit_POA_copy_policies): impl.
(ORBit_POA_new_from): impl.
2003-06-05 Michael Meeks <michael@ximian.com>
* include/orbit/orb-core/corba-object.h: fix
include.
* src/orb/orb-core/orbit-policy.[ch]: stub.
2003-06-05 Michael Meeks <michael@ximian.com>
* test/everything/Makefile.am: use check_PROGRAMS
instead of noinst_PROGRAMS - Mac people have
problems with their static libraries it seems.
* test/everything/client.c (test_time_noop):
upd for FORCE_GENERIC_MARSHAL etc.
* src/orb/poa/poa.c (get_c_method):
in-line ORBIT_STUB_IsBypass (and the epv lookups)
add ORBIT_SMALL_FORCE_GENERIC_MARSHAL
(ORBit_POA_activate_object_T): tolerate a NULL
vepvmap.
2003-06-04 Michael Meeks <michael@ximian.com>
* src/orb/Makefile.am: add dep on linc lib.
* test/everything/test.sh,
* test/everything/client.c: run more tests.
* src/orb/GIOP/giop.c (giop_thread_new_check): impl.
* src/orb/poa/orbit-adaptor.c
(ORBit_ObjectAdaptor_set_thread_hint): spawn the
I/O thread when we set an interesting hint
* src/orb/orb-core/orbit-small.c
(ORBit_small_invoke_stub): ensure we check to
see if we're in another thread.
* src/orb/poa/poa.c
(ORBit_poa_allow_cross_thread_call): add check
to invoke switch to threaded io for XT case.
* src/orb/GIOP/giop-recv-buffer.c
(giop_recv_buffer_get): use giop_thread_io instead
of tdata != NULL.
* src/orb/poa/poa.c (pool_push_request_for_T)
(ORBit_POA_handle_request, ORBit_POA_handle_request):
use giop_thread_io.
(ORBit_POA_handle_request): invoke_incoming_req
outside the poa lock.
* src/orb/orb-core/corba-object.c
(ORBit_try_connection): use giop_thread_safe (?),
we don't want to drop into
link_connection_wait_connected via re-enterancy.
* src/orb/GIOP/giop-recv-buffer.c
(handle_reply): switch on giop_thread_io.
* src/orb/GIOP/giop.c (giop_threaded): rename to
(giop_thread_safe): this, (giop_thread_io): add.
(giop_shutdown, giop_thread_set_main_handler),
(giop_thread_self, giop_thread_key_release),
(giop_invoke_async, giop_main_run): upd.
* src/orb/Makefile.am (libORBit_2_la_LIBADD):
libadd the link library.
2003-06-03 Michael Meeks <michael@ximian.com>
* src/orb/orb-core/corba-orb.c
(CORBA_ORB_init): move genuid_init lower than
giop_init (which does a linc_init).
2003-06-03 Alexander Larsson <alexl@redhat.com>
* src/orb/GIOP/giop.c (giop_request_handler_fn):
use data as tdata instead of user_data
2003-06-03 Michael Meeks <michael@ximian.com>
* src/orb/GIOP/giop-connection.c
(giop_connection_initiate): upd.
2003-05-31 Michael Meeks <michael@ximian.com>
* ORBit-2.0.pc.in: remove 'linc' in Requires,
thanks oGalaxyo.
2003-05-30 Michael Meeks <michael@ximian.com>
* src/orb/GIOP/giop.c (giop_tmpdir_init):
guard against double init.
(ORBit_get_safe_tmp): impl. for hp/others.
* */Makefile.am: add LOCAL_LINC_LIBS/CFLAGS
* include/orbit/orbit.h: only include GIOP
if we need to.
* include/orbit/GIOP/Makefile.am: don't
install the GIOP headers - they're private.
* configure.in: include linc2/include in the
include path.
* Updated *.[ch] with:
#!/usr/bin/perl -w -pi.bak
s/linc_/link_/g;
s/LINC([^_])/Link$1/g;
s/LINC/LINK/g;
* configure.in: merge a chunk of checks in
for linc2
2003-05-30 <waschk@informatik.uni-rostock.de>
* test/everything/Makefile.am
(Everything_module_la_LDFLAGS): avoid version.
2003-05-29 Michael Meeks <michael@ximian.com>
* src/orb/orb-core/orbit-small.c (ORBit_small_invoke_stub_n):
validate the index into the sequence.
2003-05-29 Michael Meeks <michael@ximian.com>
* src/orb/orb-core/orbit-small.c
(ORBit_small_invoke_stub): check cross-thread calls,
and generate an in-proc proxy for non-allowed xt cases.
* src/orb/poa/poa.c (ORBit_poa_allow_cross_thread_call): impl.
(get_c_method): use it.
* src/orb/GIOP/giop.c (giop_thread_same_key): impl.
2003-05-28 Michael Meeks <michael@ximian.com>
* src/idl-compiler/orbit-idl-c-skels.c:
move ck_output_skels (and deps) into:
* src/idl-compiler/orbit-idl-c-common.c: here.
(orbit_idl_output_c_common): hook in, but only on
stub/skelish builds.
* src/orb/poa/poa.c (ORBit_stub_post_invoke): kill.
(ORBit_stub_pre_get_epv): rename to
(get_c_method): this and re-hash.
(ORBit_c_stub_invoke): impl. - a new plan.
* include/orbit/poa/poa-basics.h: bin old/stale
ORBitSkeleton typedef.
2003-05-27 Michael Meeks <michael@ximian.com>
* src/orb/poa/poa.c (ORBit_stub_pre_get_epv)
(ORBit_stub_post_invoke): impl. to get this
out of the stubs.
* src/idl-compiler/orbit-idl-c-stubs.c
(cs_output_stub): use the new stub methods.
2003-05-23 Michael Meeks <michael@ximian.com>
* src/orb/GIOP/giop-server.c
(giop_server_handle_create_connection): upd.
cnx instantiaton.
* src/orb/GIOP/giop-connection.c
(giop_connection_get_property, giop_connection_set_property): impl.
(giop_connection_class_init): upd.
(giop_connection_set_orb_n_ver): kill.
* src/orb/orb-core/corba-object.c,
* src/orb/orb-core/orbit-small.c: sed:
s/linc_object_ref/giop_connection_ref/
s/linc_object_unref/giop_connection_unref/
2003-05-22 Michael Meeks <michael@ximian.com>
* src/orb/GIOP/giop-connection.c
(giop_connection_initiate): use new linc API.
(giop_connection_list_lookup_T): bin.
(giop_connection_list_add, giop_connection_list_init),
(giop_connection_list_remove): bin.
* src/orb/GIOP/giop.c (giop_init): upd.
* src/orb/GIOP/giop.c (giop_thread_request_push_key):
fix HINT_PER_REQUEST policy by not inserting NULL into
the hash table (thanks to AlexL).
* src/orb/orb-core/corba-orb.c (CORBA_ORB_init): fix
non-debugging build; thanks to Christophe.
2003-05-21 Michael Meeks <michael@ximian.com>
* src/orb/GIOP/giop-recv-buffer.c (handle_reply):
re-work the code for a simpler, more readable flow,
and fix async/ent ownership silly.
* src/orb/orb-core/corba-orb.c (ORBit_setup_debug_flags):
add 'force_threaded' debug option.
(CORBA_ORB_init): do the dirty bits.
2003-05-14 Michael Meeks <michael@ximian.com>
* src/orb/orb-core/orbit-small.c (orbit_small_demarshal):
split out giop_recv_buffer_get, and pass the recv buffer in,
remove the recv release argument.
(ORBit_small_demarshal_async): pass the buffer straight in.
(ORBit_small_invoke_stub): unref the recv buffer here.
* src/orb/GIOP/giop.c (giop_thread_request_process)
(giop_thread_request_push): use a GQueue for request_queue.
(giop_incoming_signal_T, giop_incoming_signal): impl.
* src/orb/GIOP/giop-recv-buffer.c
(giop_recv_handle_queued_input): bin the return value,
and re-hash.
(giop_recv_buffer_get): use a GQueue for request_queue.
* src/orb/GIOP/giop.c (giop_thread_free): impl.
(giop_invoke_async): re-factor bits into here.
(giop_request_handler_fn): free the giop thread
after use.
* src/orb/GIOP/giop-recv-buffer.c (handle_reply):
bin process_now distinction.
(giop_recv_list_zap): use giop_invoke_async so we
work across threads.
* include/orbit/GIOP/giop-recv-buffer.h: make
free_body a guchar not a (signed) gboolean;
thanks to Morten.
2003-05-13 Michael Meeks <michael@ximian.com>
* test/everything/client.c (testDerivedServer): impl.
(run_tests): call it.
* src/idl-compiler/orbit-idl-c-skels.c
(cbe_skel_interface_print_vepvmap_offsets),
(cbe_skel_do_interface): pass parent id through.
* src/idl-compiler/orbit-idl-utils.c
(IDL_tree_traverse_helper): re-hash self inclusion;
This bug was _really_ screwing up libbonobo.
2003-05-12 Michael Meeks <michael@ximian.com>
* src/idl-compiler/orbit-idl-utils.c
(IDL_tree_traverse_parents_full): split from
(IDL_tree_traverse_parents): here.
* include/orbit/poa/poa-types.h (ORBIT_VEPV_OFFSET): impl.
* src/idl-compiler/orbit-idl-c-skels.c
(cbe_skel_interface_print_vepvmap_offsets): impl.
(cbe_skel_do_interface): upd to call skel_class_register.
* src/orb/poa/poa.c (ORBit_classinfo_lookup): hold lock.
(ORBit_skel_class_register): impl. for thread-safe skels
(ORBit_poa_init): init lock.
* src/orb/poa/poa.c (ORBit_POAObject_handle_request):
bin current_invocations->data assertion; we can get
here without pushing the current invocation; was
hurting libbonoboui.
2003-05-12 Gustavo J. A. M. Carneiro <gustavo@users.sourceforge.net>
* MAINTAINERS: Declare myself as documentation maintainer.
2003-05-09 Michael Meeks <michael@ximian.com>
* test/everything/*.c: large scale servant re-factor.
2003-05-08 Michael Meeks <michael@ximian.com>
* test/everything/server.c (simple_finalize): impl.
(test_TestFactory__fini, create_TestFactory):
allocate servant.
(simple_servant, TestFactory_createDeadReferenceObj)
(test_TestFactory__init): allocate the servants, so
we're thread-safe.
* test/everything/*.c: use Simple_base_epv to
finalize the servant where appropriate.
2003-05-07 Michael Meeks <michael@ximian.com>
* src/orb/GIOP/giop-connection.c
(giop_connection_dispose): release thread key.
* src/orb/poa/poa.c (pool_push_request_for_T): impl.
(ORBit_POA_handle_request): implement
PER_OBJECT,POA,CONNECTION,REQUEST policies.
(ORBit_POA_free_fn, ORBit_POAObject_release_cb):
de-register threading keys.
* src/orb/GIOP/giop.c (giop_thread_key_release_T)
(giop_request_handler_fn, giop_thread_key_release)
(giop_thread_request_push_for): impl.
(giop_init): create the thread pool.
2003-05-06 Michael Meeks <michael@ximian.com>
* src/orb/orb-core/corba-object.c
(ORBit_demarshal_object): add precondition.
* src/orb/orb-core/orbit-small.c
(ORBit_small_get_connection_status): add
pre-condition.
2003-05-03 Michael Meeks <michael@ximian.com>
* Version 2.7.1
2003-04-29 Michael Meeks <michael@ximian.com>
* test/everything/client.c (main, run_tests): pull
out testSegv.
* src/orb/orb-core/corba-object.c
(ORBit_try_connection): bin some type-checked casts.
* test/everything/client.c (run_threaded_tests),
(test_thread): impl.
* src/orb/util/genrand.c (genuid_rand_openssl),
(genuid_glib_pseudo, genuid_simple): take lock for
static incrementing foo.
(ORBit_genuid_fini, ORBit_genuid_init): setup lock.
* src/orb/orb-core/corba-object.c (ORBit_objref_new):
setup the adaptor_obj explicitely at construct time.
* src/orb/poa/poa.c (ORBit_POA_obj_to_ref): upd.
* test/everything/client.c (testAsync): upd.
* src/orb/orb-core/orbit-small.c
(ORBit_small_get_connection): don't take a ref, for b/w
compatibility.
(ORBit_small_get_connection_ref): add separate method.
2003-04-25 Michael Meeks <michael@ximian.com>
* src/orb/orb-core/orbit-small.c
(ORBit_small_invoke_stub, ORBit_small_invoke_async)
(ORBit_small_get_connection_status)
(ORBit_small_unlisten_for_broken, get_status)
(ORBit_small_get_connection): update to handle cnx.
reference correctly.
(ORBit_small_connection_unref): impl.
* src/orb/orb-core/corba-object.c
(ORBit_objref_get_proxy, ORBit_marshal_object): register
objref after generating profiles, hold lock, refactor
slightly.
(ORBit_object_get_connection): return an incremented ref.
(CORBA_Object_non_existent): handle ref.
* src/orb/orb-core/iop-profiles.c
(IOP_generate_profiles): remove object registration.
2003-04-24 Michael Meeks <michael@ximian.com>
* test/everything/test.sh: add threaded tests into the
default run: too bold perhaps.
* src/orb/orb-core/corba-object.c
(_ORBit_object_init): impl.
(ORBit_try_connection): re-hash; add locking.
(CORBA_Object_release_cb): bin giop_connection_unref.
(ORBit_object_get_connection): hold the lock while we're
working on the object.
* src/orb/GIOP/giop-connection.c
(giop_connection_unref): bin it.
* src/orb/orb-core/corba-orb.c (CORBA_ORB_init): add init.
2003-04-23 Michael Meeks <michael@ximian.com>
* src/orb/orb-core/corba-object.c
(ORBit_try_connection): here lurketh much grief.
* src/orb/GIOP/giop-recv-buffer.c
(giop_recv_msg_reading_body): add comment on 0 length
message for CLOSECONNECTION.
(giop_connection_handle_input): handle 0 length bodies
properly.
2003-04-21 Herbert Valerio Riedel <hvr@gnu.org>
* src/orb/poa/orbit-adaptor.c
(ORBit_handle_locate_request): impl. a stub (checks for POA,
but not object itself so far).
* src/orb/orb-core/orbit-small.c (orbit_small_marshal):
set the response_expected flag correctly for oneways.
* src/orb/GIOP/giop-send-buffer.c
(giop_send_buffer_use_request): fix request id bits.
(giop_send_buffer_write): don't tail align send buffers,
we only want to do that (elsewhere) for fragments (it seems)
* src/orb/GIOP/giop-recv-buffer.c
(giop_GIOP_TargetAddress_demarshal): clean it up.
(giop_recv_buffer_demarshal_locate_request_1_2):
fix id demarshal
(giop_recv_buffer_get_request_id, giop_recv_buffer_demarshal):
add "close connection" stub.
(giop_recv_buffer_get_objkey): make it work fully for more
msg types & versions.
(giop_connection_handle_input): handle locate request.
2003-04-21 Michael Meeks <michael@ximian.com>
* src/orb/GIOP/giop-recv-buffer.c (giop_recv_set_limit): impl.
(giop_recv_buffer_handle_fragmented, giop_recv_msg_reading_body):
use the dynamic limit instead.
* src/orb/orb-core/corba-orb.c (CORBA_ORB_init): set the limit,
add an "ORBInitialMsgLimit" option.
* src/orb/GIOP/giop.c (wakeup_mainloop): handle EINTR.
2003-04-19 Michael Meeks <michael@ximian.com>
* src/orb/GIOP/giop.c (giop_init, giop_shutdown): bin
incoming thread bits.
* src/orb/orb-core/orbit-small.c (get_status): use
linc_connection_get_status.
* src/orb/GIOP/giop-connection.c (giop_connection_close):
use linc_connection_disconnect instead of a dubious forced
state change.
2003-04-18 Michael Meeks <michael@ximian.com>
* src/orb/GIOP/giop-recv-buffer.c (giop_connection_handle_input):
hold neither ref nor lock, linc does it.
* src/orb/GIOP/giop-connection.c (giop_connection_real_state_changed)
(giop_connection_dispose, giop_connection_init): bin locking action.
* include/orbit/GIOP/giop-connection.h: bin incoming and
outgoing mutex; all locking is in linc-connection now.
2003-04-18 Gustavo J. A. M. Carneiro <gustavo@users.sourceforge.net>
* src/orb/poa/orbit-adaptor.c
(ORBit_ObjectAdaptor_set_thread_hint): Update debugging check to
consider the new _IDLE thread hints.
2003-04-17 Michael Meeks <michael@ximian.com>
* test/everything/client.c (test_basic_server):
re-factor this out so we can apply it to different remote
POA policies later.
* src/orb/poa/poa.c (push_request_idle, poa_invoke_at_idle),
(ORBit_POA_handle_request): impl both. both idle policies.
(poa_recv_is_oneway): impl.
2003-04-15 Masahiro Sakai <sakai@tom.sfc.keio.ac.jp>
* Makefile.shared: append $(EXEEXT) to IDL_COMPILER.
* configure.in: call AC_LIBTOOL_WIN32_DLL.
* configure.in: call AC_PROG_CC earlier. because AM_PROG_LIBTOOL
needs it.
* src/orb/GIOP/giop.c (test_safe_socket_dir): disable permission
checking on Cygwin.
* src/orb/Makefile.am: add -no-undefined to libORBit_2_la_LDFLAGS.
* src/services/imodule/Makefile.am: add -no-undefined to
libORBit_imodule_2_la_LDFLAGS and write dependency libraries in
libORBit_imodule_2_la_LIBADD explicitly.
* src/services/name/Makefile.am: add -no-undefined to
libORBitCosNaming_2_la_LDFLAGS and write dependency libraries in
libORBitCosNaming_2_la_LIBADD explicitly.
* test/everything/Makefile.am: add -no-undefined to
Everything_module_la_LDFLAGS.
2003-04-10 Michael Meeks <michael@ximian.com>
* docs/FAQ: update threading bits.
2003-04-08 Michael Meeks <michael@ximian.com>
* configure.in: check for a slew of sys headers.
* src/orb/orb-core/orbhttp.c: only include
headers we have.
2003-04-04 Michael Meeks <michael@ximian.com>
* test/poa/poatest-basic11.c (poatest_run): test
the ObjectId <-> string methods. This test fails.
* src/orb/poa/poa.c (PortableServer_ObjectId_to_wstring)
(PortableServer_ObjectId_to_string): don't trample
on bits off the end of the string terminating it.
* src/orb/GIOP/giop-recv-buffer.c
(giop_recv_thread_fn): remove shutdown warning.
* src/orb/GIOP/giop.c (giop_shutdown): guard
against double invocation.
* src/orb/orb-core/corba-orb.c
(ORBit_ORB_shutdown_servers): remove warning.
(CORBA_ORB_shutdown): delay server shutdown until giop
worker thread is joined.
* src/orb/orb-core/iop-profiles.c
(IOP_delete_profiles): NULL ORB profiles pointer.
2003-04-03 Michael Meeks <michael@ximian.com>
* src/orb/orb-core/corba-object.c
(ORBit_register_objref): take the ORB lock, and
work on the ORB.
(ORBit_lookup_objref, CORBA_Object_release_cb): ditto.
(ORBit_objref_find): set the orb before lookup.
* src/orb/orb-core/corba-orb.c
(CORBA_ORB_shutdown): don't do an init_level check,
don't barf half way on 'wait for completion', but
actually do a full shutdown (doh).
(strip_object_profiles): do this on the objects.
* test/everything/server.c
(TestFactory_segv): do a shutdown, not a dodgy
loop kill.
2003-04-02 Richard Kinder <r_kinder@yahoo.com>
* configure.in: fix for #108932 - warning spat out for linux/irda.h.
Also fix up error case when no pkg-config script exists - exit with
AC_MSG_ERROR rather than letting the script die by coincidence.
2003-04-01 Michael Meeks <michael@ximian.com>
* src/orb/GIOP/giop.c (giop_shutdown, giop_main_run):
add shared seperate 'main-thread' glib mainloop,
If you are running your own loop, you get to quit that
yourself on CORBA_ORB_shutdown, we only break out of
CORBA_ORB_run's loop, if it's going.
* src/orb/poa/poa-private.h: add.
* src/orb/poa/poa.c (ORBit_POA_free_fn, ORBit_POA_new):
add a per poa lock, add '_T' suffixes to things that
take / release no locks. Push POA_[UN]LOCK throught,
need some work on pre-conditions though.
(ORBit_POAObject_handle_request): do some ref holding
over invocation & re-factor exception processing.
* src/orb/poa/poa-manager.c
(PortableServer_POAManager_get_state): lock
sprinkling.
* src/orb/poa/poa.c (ORBit_POACurrent_get_object):
hold the orb lock while poking at current_invocations.
(ORBit_POAObject_handle_request),
(PortableServer_POA_servant_to_reference): ditto.
(push_request): split out
* src/orb/orb-core/orbit-small.c
(orbit_small_demarshal): add comment for Rich Burridge.
2003-03-31 Michael Meeks <michael@ximian.com>
* src/orb/GIOP/giop-recv-buffer.c
(giop_recv_buffer_get): integrate the request
processing into the same condition.
* src/orb/GIOP/giop.c (giop_thread_get_main): impl.
* test/everything/client.c (run_tests): shunt
testMisc belong pingPong.
* src/orb/GIOP/giop.c: massive threading re-hash,
realised a seprate GIOPQueue to the GIOPThread was
a painful waste of time.
* src/orb/poa/poa.c (queue_request, local_main_handle)
(LocalClosure): kill old hacks.
(ORBit_POA_handle_request): use new external hacks.
* src/orb/poa/poa.c (ORBit_poa_init): add.
* src/orb/orb-core/corba-orb.c (CORBA_ORB_init):
do the poa_init.
* src/orb/GIOP/giop.c (scan_socket_dir): handle
non-existant directories gracefully.
* test/everything/test.sh: stop 'make check'
destroying the system socket directory - and causing
all manner of grief.
* src/orb/GIOP/giop-connection.c
(giop_connection_initiate): bin last ORBIT_THREADED
conditionals.
* include/orbit/GIOP/giop-basics.h,
* src/orb/GIOP/giop-server.c (giop_server_new): ditto
2003-03-29 Michael Meeks <michael@ximian.com>
* src/orb/orb-core/corba-orb.c (CORBA_ORB_run):
add a nasty hack to not do a linc_mainloop in the
threaded case, since that causes acute problems.
* test/everything/test.sh: add --threaded test.
* src/orb/GIOP/giop-connection.c
(giop_connection_dispose):
(giop_connection_init): bin outgoing_mutex, move this
into linc for easier cross thread output task transfer.
* src/orb/GIOP/giop-send-buffer.c
(giop_send_buffer_write): ditto.
2003-03-30 Richard Kinder <r_kinder@yahoo.com>
* src/orb/orb-core/corba-context.c: Code cleanups. Remove gboolean
return value from free_child since it is never used. Clean up some
unused user_data arguments to g_slist_foreach and
g_hash_table_foreach_remove. Fixes #109358.
2003-03-28 Michael Meeks <michael@ximian.com>
* src/orb/GIOP/giop-send-buffer.c (giop_send_buffer_write):
do the nasty re-entering connection wait phase here
instead of in linc, so we can make it thread safe later.
2003-03-28 Michael Haubenwallner <michael.haubenwallner@salomon.at>
* src/orb/orb-core/corba-any.c
(ORBit_marshal_value): fix silly marshalling packed types.
2003-03-28 Michael Meeks <michael@ximian.com>
* test/everything/client.c
(testFixedLengthArray): split into (testLongArray)
add (testOctetArray).
* test/everything/arrayServer.c
(ArrayServer_opOctetArray): add.
2003-03-27 Michael Meeks <michael@ximian.com>
* src/orb/GIOP/giop-send-buffer.c
(giop_send_buffer_init): always enable wire data
wiping if ORBIT_PURIFY.
* src/orb/GIOP/giop.c (giop_tmpdir_init):
use g_get_tmp_dir instead of hard-coding "/tmp".
2003-03-25 Michael Meeks <michael@ximian.com>
* Version 2.7.0
2003-03-25 Richard Kinder <r_kinder@yahoo.com>
* src/services/name/orbit-name-server.c: return CORBA_OBJECT_NIL rather
than NULL, clean up rn_unref functions. Fixes #109125.
2003-03-24 Richard Kinder <r_kinder@yahoo.com>
* src/orb/poa/poa.c: Change return values for ORBit_POA_is_inuse and
ORBit_POA_destroy to gboolean's, not CORBA_boolean's. Fixes #109066
2003-03-18 Archana Shah <archana.shah@wipro.com>
* /configure.in: Put a check to read the argument for,
whether to enable orbhttp compilation.
* /src/orb/orb-core/Makefile.am: Changed so that orbhttp.c
and orbhttp.h will be compiled only if mentioned.
* /src/orb/orb-core/corba-orb.c (CORBA_ORB_init):
Put checks for compilation of http-ior segment.
2003-03-18 Shailesh Mittal <shailesh.mittal@wipro.com>
* src/orb/orb-core/iop-profiles.c (IOP_start_profiles):
Fixed the bug, now it works for IPv6 options without having
unix option set, by eliminating the requirement of osi profile for IPv6.
Fixed sense of string comparision which check for duplicate profiles.
2003-03-17 Michael Meeks <michael@server.home>
* src/orb/orb-core/orbit-small.c
(ORBit_small_invoke_adaptor): memset scratch, args to 0.
(ORBit_small_invoke_adaptor, orbit_small_demarshal):
handle de-marshalling overruns with an exception, rather
a goto spaghetitfication.
* src/orb/include/Makefile.am: check and install
rules depend on 'all', hopefully fixes brokenness
with 'make install'
* src/orb/orb-core/orbit-small.c
(ORBit_small_invoke_adaptor): use g_alloca now
we have it.
* src/orb/GIOP/giop-recv-buffer.c
(giop_connection_handle_input): debug dump the correct
body offset instead of starting at 0, use 12.
* src/orb/GIOP/giop.c (giop_dump): print --- delimiter
after dumping the full block.
2003-03-15 Christophe Merlet <redfox@redfoxcenter.org>
* ORBit-imodule-2.0.pc.in: Fix a typo.
2003-03-14 Michael Meeks <michael@ximian.com>
* src/orb/orb-core/corba-any.c
(ORBit_demarshal_value): optimize zero length
sequences.
* src/orb/orb-core/corba-orb.c
(CORBA_ORB_destroy): give a different warning if
people unref but don't destroy the ORB.
2003-03-11 Michael Meeks <michael@ximian.com>
* src/orb/orb-core/corba-any.c (ORBit_sequence_alloc)
(ORBit_sequence_append, ORBit_sequence_set_size)
(ORBit_sequence_concat): impl & stub sequence helpers.
(SKIP_ALIAS): use this throught.
* src/orb/orb-core/allocators.c
(ORBit_alloc_get_tcval): impl.
* src/orb/poa/poa.c (ORBit_POAObject_handle_request):
only lookup CORBA_Object small skels in-proc.
2003-03-03 Michael Meeks <michael@localhost.localdomain>
* src/orb/poa/poa.c (ORBit_POA_handle_request):
add HINT_ONEWAY_AT_IDLE and HINT_ALL_AT_IDLE
thread hints - currently ONEWAY doesn't distinguish.
2003-02-14 Mark McLoughlin <mark@skynet.ie>
* include/orbit/poa/orbit-adaptor.h: add
ORBit_ObjectAdaptor_(get|set)_thread_hint.
* src/idl/misc/PortableServer.idl: kill non spec compliant
ThreadPolicy enum values.
* src/orb/poa/orbit-adaptor.c:
(ORBit_ObjectAdaptor_set_thread_hint),
(ORBit_ObjectAdaptor_get_thread_hint): impl.
(ORBit_adaptor_setup): init the hint.
* src/orb/poa/poa.c:
(queue_request): split out from handle_request().
(ORBit_POA_handle_request): upd and treat ORB_CTRL mode
with no hint just like single threaded mode.
2003-02-11 Mark McLoughlin <mark@skynet.ie>
* Makefile.am, ORBit-imodule-2.0.pc.in,
configure.in: build and install a pkg-config
file for the imodule service.
* src/services/imodule/Makefile.am: actually
install the damn thing. Doh.
2003-02-10 Michael Meeks <michael@ximian.com>
* src/orb/GIOP/giop.c (wakeup_mainloop): spew
errors on error.
* src/orb/GIOP/giop-recv-buffer.c
(giop_connection_handle_input): add more helpful
messages.
* configure.in: make the "can't link" message more
generally helpful.
2003-01-26 Michael Meeks <michael@ximian.com>
* test/everything/client.c (wait_till_done):
split out, and add thread safe path.
* src/orb/poa/poa.c (ORBit_POA_handle_request):
free the recv buffer if we've handled it
immediately in this thread.
(ORBit_POA_object_id_lookup): return a ref.
(PortableServer_POA_create_reference_with_id),
(PortableServer_POA_activate_object_with_id),
(PortableServer_POA_id_to_reference),
(PortableServer_POA_id_to_servant): tool up
with matching releases.
(ORBit_POA_handle_request): hold the pobj
during the scope.
(ORBit_POA_set_policies): init threading type
to STM by default.
* src/orb/GIOP/giop-recv-buffer.c
(giop_connection_handle_input): let
ORBit_handle_request free the recv buffer when
convenient.
* src/orb/poa/orbit-adaptor.c
(ORBit_adaptor_find): dup the returned ref,
and hold lifecycle lock over orb->adaptors
manipulation.
(ORBit_handle_request): release the ref.
(ORBit_adaptor_setup): hold lifecycle lock
over adaptor setup.
2002-11-29 Michael Meeks <michael@ximian.com>
* src/orb/GIOP/giop-connection.c
(giop_connection_list_lookup),
(giop_connection_initiate),
(giop_connections_shutdown): use linc_object_[un]ref.
* src/orb/GIOP/giop-recv-buffer.c
(giop_connection_handle_input): ditto.
2002-10-31 Michael Meeks <michael@ximian.com>
* src/orb/orb-core/corba-orb.c
(ORBit_ORB_start_servers): lock the ORB
while setting up the profiles.
(ORBit_ORB_shutdown_servers): guard with
locks.
* src/orb/GIOP/giop.c (giop_shutdown): impl.
* src/orb/GIOP/giop-connection.c
(giop_connection_remove_by_orb): rename to
(giop_connections_shutdown): this & upd.
(giop_connection_unref): use linc_object_unref.
* src/orb/GIOP/giop.c (giop_init):
actually start the IO thread ;-)
2002-10-31 Michael Meeks <michael@ximian.com>
* test/echo-client-t.c (main): init mt orb.
* src/orb/GIOP/giop-recv-buffer.c
(giop_recv_list_destroy_queue_entry): kill
bogus thread stuff.
(handle_reply): queue up reply recv's on
the right thread for processing elsewhere.
(giop_recv_buffer_get): kill unused non-blocking
mode, substantially re-write.
(giop_recv_list_zap): use locking.
* src/orb/GIOP/giop.c
(giop_thread_push_recv): impl.
2002-10-30 Michael Meeks <michael@ximian.com>
* src/orb/GIOP/giop-recv-buffer.c
(giop_recv_list_setup_queue_entry_async),
(giop_recv_list_setup_queue_entry): upd.
(giop_connection_handle_input): upd.
* include/orbit/GIOP/giop-recv-buffer.h
(GIOPMessageQueueEntry): bin bogus thread bits,
add thread id.
* src/orb/GIOP/giop.c (giop_init): pass threaded,
setup main thread / context wakeup.
(giop_thread_new, giop_thread_self): impl.
* src/orb/orb-core/corba-orb.c
(CORBA_ORB_init): check for orbit-local-mt-orb
profile.
2003-01-26 Michael Meeks <michael@ximian.com>
* test/everything/server.c (main),
* test/everything/client.c (main): add --threaded
option to enable threading.
2002-12-20 Michael Meeks <michael@ximian.com>
* src/orb/poa/poa.c (ORBit_POAObject_handle_request): upd.
* include/orbit/poa/poa-types.h: make the first
element a 'dummy' - reflecting reality.
* include/orbit/poa/poa-basics.h: bin the old
relay_call. Rename the impl_finder.
2003-01-09 Mark McLoughlin <mark@skynet.ie>
* src/orb/orb-core/corba-orb.c: (CORBA_ORB_create_struct_tc),
(CORBA_ORB_create_union_tc), (CORBA_ORB_create_enum_tc),
(CORBA_ORB_create_alias_tc), (CORBA_ORB_create_exception_tc),
(CORBA_ORB_create_interface_tc), (CORBA_ORB_create_string_tc),
(CORBA_ORB_create_wstring_tc), (CORBA_ORB_create_fixed_tc),
(CORBA_ORB_create_sequence_tc),
(CORBA_ORB_create_recursive_sequence_tc),
(CORBA_ORB_create_array_tc): remove malloc return value
checks - its all through glib.
2003-01-09 Michael Meeks <michael@ximian.com>
* configure.in: bump version to 2.7.0,
require linc >= 1.1.0
* Branch for gnome-2-2
2003-01-06 Michael Meeks <michael@ximian.com>
* test/everything/server.c (CLOBBER_SYM):
actually clobber the symbol.
2002-12-28 Michael Meeks <michael@ximian.com>
* Version 2.5.1
2002-12-28 Michael Meeks <michael@ximian.com>
* test/everything/Makefile.am: define
TEST_SRCDIR
* test/everything/server.c (init_interfaces):
re-write.
(main): use TEST_SRCDIR.
* src/services/imodule/orbit-imodule-utils.c
(ORBit_imodule_jam_int): split out of
(ORBit_imodule_setup_label_any): here, fix memory
corrupting nasties with using '0', '1' for booleans,
and wrong 'node' for binops. Handle 'short' tc's.
2002-12-17 Michael Meeks <michael@ximian.com>
* src/idl-compiler/orbit-idl-c-typecode.c
(orbit_add_align): impl.
(orbit_find_c_align): re-write to use a string
list of the ALIGNOF defines.
(orbit_output_tcstruct_c_align): build a MAX
statement, where appropriate.
2002-12-26 James Henstridge <james@daa.com.au>
* src/orb/orb-core/Makefile.am (IDL_FLAGS): add -I. to IDL_FLAGS.
This gets rid of the multiple symbol definition errors with newer
autoconf and/or automake (not sure which one is causing the
problem).
2002-12-02 Michael Meeks <michael@ximian.com>
* src/idl-compiler/orbit-idl-utils.c
(oidl_param_info): bail out if we get an exception
as a parameter.
2002-11-21 Michael Meeks <michael@ximian.com>
* src/orb/orb-core/orbit-small.c
(ORBit_handle_exception_array): ensure we always
exit with an exception set, even with odd wire data.
2002-11-05 Mark McLoughlin <mark@skynet.ie>
* test/everything/everything.idl: add simple
regression test to catch the bug below.
2002-11-05 Mark McLoughlin <mark@skynet.ie>
* src/idl-compiler/orbit-idl-c-headers.c: (ch_prep):
out enum types declared as part of a typedef. Fixes #97238.
2002-11-04 Thomas Vander Stichele <thomas at apestaart dot org>
* configure.in:
- require pkg-config 0.14.0
- make AC_DEFINE* three-argument
(someone might want to remove acconfig.h)
* autogen.sh:
- fail if configure failed
2002-10-28 Marion Schuenemann <schuenemann@fokus.gmd.de>
* src/services/name/boot.c (main): move ORB
init up the heap, so we can use eg. ORBIIOPIPName
2002-10-24 Michael Meeks <michael@ximian.com>
* test/echo-client-t.c (echo_client_thread):
add a threaded test client, so we at least know
where things break.
2002-10-18 Michael Meeks <michael@ximian.com>
* Version 2.5.0
2002-10-18 Michael Meeks <michael@ximian.com>
* test/everything/Makefile.am (INCLUDES): add
IDL_CFLAGS for the imodule service; we need a new
.pc.in file for that service I think, we don't want
to pollute the include space with libIDL unnecessarily.
2002-10-18 Mark McLoughlin <mark@skynet.ie>
* src/services/imodule/orbit-imodule-utils.[ch]:
(typecodes_hash_foreach), (ORBit_imodule_get_typecodes_seq):
impl converting a typecode hash into a sequence.
* src/services/imodule/orbit-imodule.[ch]:
(ORBit_iinterface_from_tree): kill. Its useless.
(ORBit_iinterfaces_from_tree): return a sequence of
typecodes. Add docs.
(ORBit_iinterfaces_from_file): ditto.
* test/everything/client.c: (main): upd and test the
typecodes sequence.
* test/everything/server.c: (get_server): upd.
2002-10-18 Mark McLoughlin <mark@skynet.ie>
* src/services/imodule/orbit-imodule-utils.[ch]:
* src/services/imodule/orbit-imodule.[ch]:
Don't use a global has of TypeCodes.
2002-10-18 Mark McLoughlin <mark@skynet.ie>
* src/services/imodule/*: added runtime IDL->IInterfaces
service.
* configure.in, src/services/Makefile.am: added build
for above.
* test/everything/Makefile.am: build against libORBit-imodule.
* test/everything/client.c: (main):
* test/everything/server.c: (init_iinterfaces), (get_server):
add --gen-imodule arg to run tests using runtime generated
IInterfaces.
* test/everything/test.sh: use it.
2002-10-17 Albert Chin <china@thewrittenword.com>
* src/orb/orb-core/orbit-debug.h
(dprintf): add ERRORS define for ugly
non-varargs case.
* test/everything/client.c
(test_BasicServer_opStringA_cb),
(test_BasicServer_opStringA): kill duff
array inits in decl.
2002-10-16 James Henstridge <james@daa.com.au>
* src/idl-compiler/orbit-idl-c-imodule.c (ci_build_types): handle
types nested within structs, unions and exceptions.
* test/everything/client.c (testIInterface): add a test to check
that the subnames array of the FixedLengthUnion typecode is
correct.
* src/idl-compiler/orbit-idl-c-typecode.c
(orbit_output_tcstruct_anon_subnames_array): when generating the
subnames array for unions, repeat the name once for each label
associated with the case statement.
2002-10-16 Michael Meeks <michael@ximian.com>
* test/everything/client.c (testIInterface):
add type regression tests for James' work.
* src/idl-compiler/orbit-idl-c-utils.c
(orbit_cbe_flatten_args): use _args[i] =...;
initialization instead of array init, to make
HP/UX happy.
2002-10-14 Mark McLoughlin <mark@skynet.ie>
* src/orb/poa/orbit-adaptor.c: (ORBit_handle_request): init
and free the exception to stop crasher on exception.
2002-10-02 James Henstridge <james@daa.com.au>
* src/idl-compiler/orbit-idl-c-typecode.c (cbe_tc_generate): same
here.
* src/idl-compiler/orbit-idl-c-common.c (cc_output_class_id):
check for IMODULE symbol including file name.
(cc_output_itypes): and here.
* src/idl-compiler/orbit-idl-c-headers.c (ch_type_alloc_and_tc):
only define typecode struct as static if the header matches the
imodule we are compiling.
(ch_output_itypes): and here too.
* src/idl-compiler/orbit-idl-c-imodule.c
(orbit_idl_output_c_imodule): only define
ORBIT_IDL_C_IMODULE_filename.
2002-10-02 Mark McLoughlin <mark@skynet.ie>
* src/orb/orb-core/corba-typecode.c:
(CORBA_TypeCode_get_compact_typecode),
(CORBA_TypeCode_type_modifier),
(CORBA_TypeCode_concrete_base_type): add stubs for these
that just through a NO_IMPLEMENT exception.
(CORBA_TypeCode_kind), (CORBA_TypeCode_id), (CORBA_TypeCode_name),
(CORBA_TypeCode_member_count), (CORBA_TypeCode_member_name),
(CORBA_TypeCode_member_type), (CORBA_TypeCode_member_label),
(CORBA_TypeCode_discriminator_type),
(CORBA_TypeCode_default_index), (CORBA_TypeCode_length),
(CORBA_TypeCode_content_type), (CORBA_TypeCode_fixed_digits),
(CORBA_TypeCode_fixed_scale), (CORBA_TypeCode_member_visibility):
Add implementations for these. Based on original implementation
by Tom Tromey which was merged into the cpp branch by Sam Couter.
2002-10-02 Mark McLoughlin <mark@skynet.ie>
* src/idl-compiler/orbit-idl-backend.c:
(load_language_backend): kill bogus g_module_close.
Thanks to Gergo for pointing it out.
2002-09-30 ERDI Gergo <cactus@cactus.rulez.org>
* src/idl-compiler/orbit-idl-c-stubs.c (cs_output_stub): Cast EPV
to correct type before storing it
2002-09-30 Michael Meeks <michael@ximian.com>
* test/everything/client.c (find_tc): return
the typecode.
(testIInterface): do some tests on StrSeq.
* src/orb/orb-core/orbit-small.c
(orbit_small_marshal, orbit_small_demarshal),
(ORBit_small_invoke_adaptor): bin inefficient
trailing TC_void business.
2002-09-24 Michael Meeks <michael@ximian.com>
* src/orb/orb-core/corba-typecode.c: TC_void's
kind should be tk_void.
* configure.in: bump to 2.5.0, so it's clear
this is the devel-branch.
* src/idl-compiler/orbit-idl-c-common.c
(cc_output_method): output TC_void not
CORBA_OBJECT_NIL for no return value.
* src/idl-compiler/orbit-idl-c-common.c
(cc_output_iargs, cc_output_method): don't do
silly things with the argument list length,
fixes #93928
2002-09-24 Michael Meeks <michael@ximian.com>
* configure.in: require linc >= 0.7.0
* src/orb/GIOP/giop-connection.c
(giop_connection_real_state_changed): remove
nasty locking silly workaround.
2002-09-20 Mark McLoughlin <mark@skynet.ie>
* ORBit.spec.in: remove name-client-2 and
orbit-name-server-2 since they are no longer
installed. Fixes #93643.
2002-09-20 Mark McLoughlin <mark@skynet.ie>
* test/Makefile.am:
* test/poa/Makefile.am:
* test/inhibit/Makefile.am: add $(ORBIT_LIBS)
to LDADD.
2002-09-17 Murray Cumming <murrayc@usa.net>
* src/idl-compiler/orbit-idl-backend.c (orbit_idl_backend_output):
Warn if the specified idl compliler backend could not be found.
2002-09-04 Mark McLoughlin <mark@skynet.ie>
Re-implement the idl-compiler language backend loading.
* configure.in: add src/idl-compiler/ORBit-idl-2.0.pc.
* src/idl-compiler/orbit-idl-backend.[ch]: implement.
* src/idl-compiler/Makefile.am: remove orbit-idl-backends.c
from the build and add orbit-idl-backend.[ch]. Install
orbit-idl-backend.h into $(prefix)/include/orbit-2.0/orbit-idl,
install the pkg-config file into $(prefix)/lib/pkgconfig.
* src/idl-compiler/orbit-idl-backends.c: remove.
* src/idl-compiler/orbit-idl-c-backend.[ch]: (orbit_idl_output_c):
return a bool.
* src/idl-compiler/orbit-idl-driver.c: (orbit_idl_to_backend):
hardwire in the c backend and use the loader for anything else.
Also return a bool.
* src/idl-compiler/orbit-idl-main.c: don't define the backend
directory here.
* src/idl-compiler/orbit-idl2.h: kill OIDL_Backend_Info.
* src/idl-compiler/orbit-idl3-types.h: upd.
* src/idl-compiler/ORBit-idl-2.0.pc.in: add
2002-09-04 Mark McLoughlin <mark@skynet.ie>
Merged some stuff from orbit-cpp-cactus.
* include/orbit/orb-core/corba-typecode.h: include giop-basics.h
if we're using the headers internally.
* src/idl-compiler/Makefile.am: don't define -DDEBUG.
* src/orb/orb-core/corba-orb.c: (ORBit_TypeCode_allocate),
(CORBA_ORB_create_struct_tc), (CORBA_ORB_create_union_tc),
(CORBA_ORB_create_enum_tc), (CORBA_ORB_create_alias_tc),
(CORBA_ORB_create_exception_tc), (CORBA_ORB_create_interface_tc),
(CORBA_ORB_create_string_tc), (CORBA_ORB_create_wstring_tc),
(CORBA_ORB_create_fixed_tc), (CORBA_ORB_create_sequence_tc),
(CORBA_ORB_create_recursive_sequence_tc),
(CORBA_ORB_create_array_tc):
s/CORBA_TypeCode_allocate/ORBit_TypeCode_allocate/g
2002-09-04 Mark McLoughlin <mark@skynet.ie>
* src/idl-compiler/*: chop, chop - take 2: a year on,
remove all the non-small code again, except this time
a lot more cleanly. That's 6,000 lines of code we don't
have to maintain anymore :-)
2002-08-23 Michael Meeks <michael@ximian.com>
* Version 2.4.3
2002-08-23 Michael Meeks <michael@ximian.com>
* src/orb/orb-core/corba-any.c
(ORBit_demarshal_value): don't do expensive re-allocs
on every sequence from length 1 upwards, re-assuring
this works though, start with 4096 elements.
2002-08-18 Havoc Pennington <hp@pobox.com>
* autogen.sh: hardcode aclocal-1.4/automake-1.4 so that users with
both automake 1.6 and 1.4 installed get the right automake. Means
compilation from CVS will now require the latest automake 1.4
release, or manually creating symlinks called "automake-1.4" and
"aclocal-1.4"
2002-08-16 Michael Meeks <michael@ximian.com>
* Version 2.4.2
* test/test-performance.c (test_copy): more
tests.
2002-08-15 Darren Kenny <Darren.Kenny@Sun.COM>
* src/orb/orb-core/corba-object.c
(get_small_skel_CORBA_Object): upd. to '_is_a'
(CORBA_Object__imethods): update _is_a,
get_interface->_interface, non_existent -> _non_existent
to comply with the spec and interop with Java.
2002-08-07 Michael Meeks <michael@ximian.com>
* src/idl-compiler/orbit-idl-c-headers.c
(ch_type_alloc_and_tc): add missing '\n's spiking
build, thanks Jody.
2002-08-05 Michael Meeks <michael@ximian.com>
* src/orb/orb-core/orbit-object.c
(object_hash_dump): fix output.
2002-08-05 Laurent Vivier <Laurent.Vivier@bull.net>
* src/orb/orb-core/orbit-small.c
(ORBit_handle_exception_array): char cast.
(ORBit_small_unlisten_for_broken): add
G_CALLBACK cast on fn.
* src/orb/orb-core/orbit-debug.h: stubs
for unsupported vararg types.
* src/orb/orb-core/corba-orb.c: no static
after extern.
* src/orb/orb-core/allocators.c
(ORBit_freekids_via_TypeCode_T): char * cast.
* src/orb/dynamic/dynany.c
(MAKE_DYNANY_INSERT): prune redundant ';'s
(DynamicAny_DynSequence_get_elements_as_dyn_any):
kill redundant cast.
* src/orb/GIOP/giop-recv-buffer.c
(giop_recv_buffer_demarshal_request_1_1),
(giop_recv_buffer_demarshal_request_1_2):
signedness string casts.
* src/idl-compiler/orbit-idl-c-headers.c
(ch_output_types): undefine before define.
(ch_type_alloc_and_tc): improve imodule output.
(ch_output_itypes): deal with empty imethods.
* *.[ch]: remove trailing ','s at end of enums
for AIX compiler.
* src/idl-compiler/orbit-idl-c-common.c
(cc_small_output_method): same - in compiler.
(cc_small_output_itypes): only output an itype if
it's non-empty (/used)
2002-08-05 Michael Meeks <michael@ximian.com>
* src/idl-compiler/orbit-idl-c-backend.h:
use guint instead of guint8 for bitfields.
* src/orb/poa/poa.c
(ORBit_POAObject_object_to_objkey): switch
to guchar * pointer for arithmetic.
2002-08-05 Michael Meeks <michael@ximian.com>
* Version 2.4.1
* src/services/name/Makefile.am: objects fix.
2002-07-24 Michael Meeks <michael@ximian.com>
* test/test-giop.c (run_test): upd.
* src/orb/orb-core/corba-object.c
(ORBit_object_get_connection): pass the orb
into cnx initiate.
* src/orb/GIOP/giop-connection.c
(giop_connection_initiate): upd.
(giop_connection_set_orb_n_ver): impl.
* src/orb/GIOP/giop-server.c
(giop_server_handle_create_connection): upd.
2002-07-10 Brian Cameron <Brian.Cameron@sun.com>
* src/services/name/Makefile.am
No longer install name-client-2 or orbit-name-server-2
since they are not used.
2002-07-10 Michael Meeks <michael@ximian.com>
* configure.in: detect the dofus earlier and more
explicitely.
2002-07-08 Martin Pool <mbp@samba.org>
* src/services/name/Makefile.am: update build rules
requiring CosNaming.h to be built first.
2002-07-01 Michael Meeks <michael@ximian.com>
* src/orb/poa/orbit-adaptor.c (ORBit_handle_request):
return a system exception if we can't find the method,
so the remote end won't just hang forever.
* src/orb/poa/poa.c (return_exception): split guts out.
(ORBit_recv_buffer_return_sys_exception): into here
2002-07-01 Murray Cumming <murrayc@usa.net>
* src/idl-compiler/orbit-idl3-types.h:
Applied Felix Breuer's "namespace -> ns" patch, and added
comment to code so that it won't be reverted again. The C++
keyword "namespace" was being used as a struct field name.
2002-06-27 Michael Meeks <michael@ximian.com>
* src/orb/GIOP/giop-recv-buffer.c (giop_recv_list_zap):
always remove the stale ent from the list, and NULL the
dying cnx.
(giop_recv_buffer_get): check for a NULL ent's cnx.
(giop_connection_destroy_frags): impl.
(giop_recv_buffer_handle_fragmented): check that we
don't have an inconsistant 'fragments_follow' state.
* src/orb/GIOP/giop-connection.c
(giop_connection_dispose): dispose the fragments.
* src/orb/orb-core/orbit-small.c (async_recv_cb): treat
a NULL cnx, like the disconnection it is.
* src/orb/orb-core/corba-any.c
(ORBit_demarshal_value): do exponential growing of
sequences so we don't blow the memory - since we
find it hard to do pre-alloc bounds checking on
arbitrary sequence contents.
Free the sequence on failing to de-marshal.
* src/orb/orb-core/allocators.c
(ORBit_realloc_tcval): impl. for the above scheme.
2002-06-27 Michael Meeks <michael@ximian.com>
* src/orb/GIOP/giop-recv-buffer.c
(giop_connection_handle_input): update reporting
to make DEBUG=errors more useful.
(handle_reply): don't dump the reply.
* test/test-giop.c (test_mangling): impl.
(main): upd.
(test_incoming_mangler): randomly mangle passing data.
* src/orb/GIOP/giop-server.c: conditionalize
new_connection debug hook.
2002-06-26 Michael Meeks <michael@ximian.com>
* src/orb/GIOP/giop-recv-buffer.c (concat_frags):
propagate out of memory condition upwards.
(giop_connection_remove_frag): move buffer unuse here.
conditionalize debug hooks on a debug build.
(giop_connection_handle_input): close the connection
on out of bound input more aggressively.
(concat_frags): make sure head->end points at the
right bound.
(giop_recv_buffer_handle_fragmented): build the overall
length into the head message_size, and bounds check it
against MSG_SIZE_LIMIT.
* test/ior-decode.c (main): re-hash & expand.
2002-06-25 Michael Meeks <michael@ximian.com>
* src/orb/GIOP/giop-recv-buffer.c
(alloc_buffer):
(giop_recv_msg_reading_body): handle the out of
memory situation gracefully.
2002-06-25 Michael Meeks <michael@ximian.com>
* src/orb/GIOP/giop.c
(giop_tmpdir_init): update to new genuid
API, how did this get missed (!), dependency
problems it seems.
* src/orb/GIOP/giop-send-buffer.c
(giop_send_buffer_init): upd.
(get_next_indirect): blank newly allocated
memory if giop_blank_wire_data is set.
(giop_send_buffer_use): blank indirects we
have already used.
* src/orb/GIOP/giop.c (giop_init): upd.
* src/orb/orb-core/corba-orb.c
(CORBA_ORB_init): pass flag to giop_init.
* src/orb/poa/poa.c
(PortableServer_POA__get_the_children): fix annoying
typedef warning type thing, needs an IDL compiler fix
really.
2002-06-25 Michael Meeks <michael@ximian.com>
* src/orb/poa/orbit-adaptor.c (ORBit_adaptor_setup),
(ORBit_adaptor_find): upd.
* src/orb/poa/poa.c (ORBit_POA_new_system_objid),
(ORBit_POA_create_object, ORBit_POA_object_key_lookup): upd.
* src/orb/util/genrand.c (ORBit_genuid_init):
always do simple init, fallback to /dev/random
if we don't have /dev/urandom, return a status.
(ORBit_genuid_fini): upd.
(ORBit_genuid_buffer): update to pass a role in.
(genuid_simple): upd.
* src/orb/orb-core/corba-orb.c (CORBA_ORB_init): split out
(genuid_init): this, and trap some of the more heinous
error cases we can catch.
* test/test-giop.c (test_cookie): add.
2002-06-24 Michael Meeks <michael@ximian.com>
* src/orb/util/genrand.c (ORBit_genuid_init):
prune bits out.
* src/orb/poa/poa.c (ORBit_POA_new_system_objid):
update arithmetic.
2002-06-24 Michael Meeks <michael@ximian.com>
* test/test-giop.c: fix the non-debugging build.
2002-06-24 Gustavo Gir�ldez <gustavo.giraldez@gmx.net>
* src/orb/util/orbit-options.c
(ORBit_option_command_line_parse): fix '\0'
termination regression.
2002-06-21 Michael Meeks <michael@ximian.com>
* test/test-giop.c (run_test): add symmetry test.
(main): test things both ways around.
2002-06-21 Michael Meeks <michael@ximian.com>
* test/test-giop.c (test_spoof_callback),
(test_spoof_hook, test_spoofing): impl.
(run_test): impl.
(wait_for_disconnect): impl.
(run_test_hook_new_connection): impl.
(main): upd.
* src/orb/GIOP/giop-server.c
(giop_server_handle_create_connection): add a new
connection debugging hook.
* src/orb/GIOP/giop-recv-buffer.c (handle_reply):
validate the reply came from the right connection,
return TRUE/FALSE depending.
(giop_connection_handle_input): terminate connections
that do bad things to us.
* src/orb/orbit-init.c (ORBit_init_internals):
add a getuid to the srand.
2002-06-20 Michael Meeks <michael@ximian.com>
* src/orb/orb-core/orbit-typelib.c
(ORBit_get_typelib_paths): use GNOME2_PATH to be
consistant with the rest of the platform.
(ORBit_small_load_typelib): document.
* src/orb/util/orbit-options.c
(ORBit_option_command_line_parse): properly erase
arguments we chew, instead of nulling them via
argv [j++] = '\0' - odd indeed. We decrement argc
anyway.
* src/orb/orb-core/corba-orb.c
(CORBA_ORB_string_to_object): only use the
orbhttp code if it's explicitely enabled with
--ORBHTTPIORs.
* src/orb/orb-core/orbhttp.c: brief review and
condemn as riddled with security holes, env. var
buffer overflows, dubious un-integrated socket
code etc. etc.
2002-06-19 jacob berkman <jacob@ximian.com>
* configure.in: fix obvious typo in debug cflags stuff
2002-06-18 Michael Meeks <michael@ximian.com>
* test/everything/pingServer.c
(PingPongServer_opOneWayCallback): kill warning.
* src/orb/GIOP/giop-send-buffer.c
(giop_send_buffer_use): paranoid checks on
the giop version we are passed
2002-06-18 Alexander Larsson <alla@lysator.liu.se>
* test/everything/client.c (testPingPong):
Initialize broken.
2002-06-18 Michael Meeks <michael@ximian.com>
* src/orb/GIOP/giop-send-buffer.c
(get_next_indirect): check the send buffer
for 8 byte alignment, thanks to Alex Larsson
2002-06-17 Michael Meeks <michael@ximian.com>
* src/orb/orb-core/corba-orb.c
(ORBit_ORB_start_servers): pass local only
create_options into linc_server_new
add "ORBLocalOnly" option.
2002-06-13 Michael Meeks <michael@ximian.com> &
* test/everything/client.c (testPingPong):
disable this test - ultimately oneways suck.
You can't block the event consumer, because you
deadlock, you can't block the event client
because you don't know when the server has a
full stack.
2002-06-13 Michael Meeks <michael@ximian.com> &
Bill Haneman <bill.haneman@sun.com>
* test/everything/client.c (testPingPong):
add client limited stack smash test.
* test/everything/pingServer.c
(PingPongServer_opOneWayCallback): impl.
(PingPongServer_opRoundTrip): impl.
2002-06-13 Bill Haneman <bill.haneman@sun.com>
* test/everything/Makefile.am: fix
DEPENDENCIES typo.
2002-06-13 Mark McLoughlin <mark@skynet.ie>
* src/orb/GIOP/giop-recv-buffer.c: (handle_reply):
don't use _orbit_debug_flags unles debugging
is switched on.
2002-06-12 Michael Meeks <michael@ximian.com>
* src/orb/GIOP/giop-connection.c
(giop_connection_real_state_changed): fix a
logic silly.
2002-06-11 Michael Meeks <michael@ximian.com>
* src/orb/orb-core/corba-orb.c
(CORBA_ORB_destroy): don't print out debug
unless G_ENABLE_DEBUG is on.
2002-06-10 Michael Meeks <michael@ximian.com>
* src/orb/GIOP/giop.c (giop_init): upd.
(test_safe_socket_dir): impl.
(scan_socket_dir): impl.
(giop_tmpdir_init): impl.
* src/orb/orb-core/corba-orb.c
(CORBA_ORB_init): hoist random init up the
file so we can use it in the giop init.
2002-06-09 Michael Meeks <michael@ximian.com>
* src/orb/GIOP/giop.c (giop_init):
g_strdup_printf instead of snprintf.
2002-06-07 Michael Meeks <michael@ximian.com>
* src/orb/GIOP/giop-connection.c
(giop_connection_list_add): remove bogus ref,
we've been leaking connection objects a lot it
seems.
(giop_connection_real_state_changed): add broken
lock handling, all because Mark added a status
change notification to linc_connection_read
[ that should go long term ].
* test/test-giop.c (test_fragments): upd.
* test/Makefile.am (INCLUDES): add some internals.
* src/orb/GIOP/giop-recv-buffer.c
(handle_reply): add unexpected reply debug hook.
(giop_connection_get_frag): calm printout.
* src/orb/orb-core/corba-orb.c
(ORBit_setup_debug_flags): add ORBIT_DEBUG_ERRORS,
so we don't spew stuff all the time.
2002-06-07 Michael Meeks <michael@ximian.com>
* src/orb/orb-core/corba-typecode.c
(CDR_get): remove impossible signedness wise
comparison.
* src/orb/orb-core/iop-profiles.c
(ORBit_demarshal_IOR): ditto.
2002-06-06 Michael Meeks <michael@ximian.com>
* src/orb/orb-core/corba-typecode.c: update
TC_null's name #84354
2002-06-05 Michael Meeks <michael@ximian.com>
* src/orb/GIOP/giop-recv-buffer.c
(giop_recv_buffer_handle_fragmented): GIOP_FRAGMENTs
don't have message_id's we can get in the same way.
(concat_frags): fix mem copying.
2002-06-05 Michael Meeks <michael@ximian.com>
* src/orb/GIOP/giop-recv-buffer.c
(giop_connection_handle_input): more re-arrangement,
and death of sillies.
2002-06-05 Michael Meeks <michael@ximian.com>
* src/orb/GIOP/giop-recv-buffer.c
(giop_connection_handle_input): upd. frag_out to move
onto the next incoming buffer properly.
2002-06-04 Michael Meeks <michael@ximian.com>
* src/orb/GIOP/giop-recv-buffer.c
(giop_connection_get_frag, giop_connection_add_frag),
(giop_connection_remove_frag): impl.
(alloc_buffer): split out of
(giop_recv_msg_reading_body): here.
(concat_frags): use it & impl.
(giop_recv_buffer_handle_fragmented): impl.
(giop_connection_handle_input): upd & fix nasty with
locking / leaking & msg_error path.
2002-05-31 Mark McLoughlin <mark@skynet.ie>
* src/orb/orb-core/corba-orb.c: (copy_case_value): handle
alias typecodes.
* src/orb/orb-core/orbit-object.c: (object_hash_dump): print
out helpful info on leaked TypeCodes.
* src/orb/orb-core/orbit-small.c: (orbit_small_marshal),
(orbit_small_demarshal): don't rely on the sequences _buffer
to be null terminated. We have _length after all ...
2002-05-27 Michael Meeks <michael@ximian.com>
* Version 2.4.0
2002-05-27 Michael Meeks <michael@ximian.com>
* src/orb/GIOP/giop-recv-buffer.c
(giop_recv_list_zap): unuse the buffer, don't print
a message that we're leaking it.
2002-05-27 Michael Meeks <michael@ximian.com>
* test/everything/client.c (main): re-instate
run_tests [doh] (testIsA): impl. (run_tests): use it.
* src/idl/CORBA/orb.idl: add #pragma prefix.
* src/idl-compiler/orbit-idl-c-common.c
(cc_small_output_itypes): upd.
* src/orb/orb-core/corba-typecode.c
(DEF_TC_BASIC): upd. (void): upd.
* src/orb/orb-core/corba-object.c
(CORBA_Object_is_a): handle omg.org/CORBA/Object
2002-05-27 Michael Meeks <michael@ximian.com>
* test/everything/server.c (TestFactory_noOp): impl.
2002-05-24 Michael Meeks <michael@ximian.com>
* src/orb/orb-core/orbit-small.c
(ORBit_small_invoke_stub_n): impl. to help bin-compat,
we add this method, and leave 'ORBit_small_invoke_stub'
* src/idl-compiler/orbit-idl-c-stubs.c
(cs_small_output_stub): remove bulky system exception
setting logic.
(cs_small_output_stub): call invoke_stub_n instead, so
we have the method index, so we could do strange, but
index rather than name based associations on methods
later.
* include/orbit/poa/poa-types.h
(ORBIT_STUB_GetEpv): cast to gpointer, to save
huge & ugly cast in the stubs.
* src/orb/orb-core/orbit-object.c
(ORBit_RootObject_shutdown): only dump debug on
exit if we have G_ENABLE_DEBUG.
2002-05-22 Michael Meeks <michael@ximian.com>
* src/orb/orb-core/corba-orb.c
(ORBit_setup_debug_flags): add inproc_traces,
disable fast calls if flag is on.
* include/orbit/orb-core/orbit-small.h: add
ORBIT_SMALL_FAST_LOCALS.
* src/idl-compiler/orbit-idl-marshal.c: update all
the printed strings to 'orbit-idl-2'
* src/idl-compiler/*.c: update all the auto-generated
warnings to a standard define in
* src/idl-compiler/orbit-idl-c-backend.h (OIDL_C_WARNING):
here and version to orbit-idl-2 correctly.
2002-05-24 Richard Kinder <r_kinder@yahoo.com>
* src/orb/orb-core/orbhttp.c: cleanup magic numbers, closes #78938
2002-05-22 Michael Meeks <michael@ximian.com>
* src/orb/orb-core/corba-object.c
(g_CORBA_Object_hash): don't bother hashing the
profiles they're all the same, and it's theoretically
wrong anyway (cf. equal), use the object key instead,
for a huge reduction in hash collisions.
* src/orb/orb-core/iop-profiles.c (IOP_ObjectKey_hash): impl.
2002-05-21 Michael Meeks <michael@ximian.com>
* include/orbit/orb-core/corba-object-type.h:
move 'orb' down the structure, so that the only bits
the stubs could possibly use are at the end.
2002-05-20 Michael Meeks <michael@ximian.com>
* Version 2.3.110
* prune cleanup from the build, will move to linc.
2002-05-16 Jacob Berkman <jacob@ximian.com>
* src/cleanup/Makefile.am (orbit_cleanup_sockets_LDADD): fix LDADD
var name
2002-05-16 Michael Meeks <michael@ximian.com>
* src/orb/orb-core/orbit-small.c
(orbit_small_demarshal): add a parameter as to
whether we should release the recv buffer.
* src/orb/GIOP/giop-recv-buffer.c (handle_reply):
unuse the async buffer here.
* src/orb/GIOP/giop-connection.c
(giop_connection_dispose): check we don't leak
a pending msg on cnx close.
2002-05-16 Michael Meeks <michael@ximian.com>
* src/orb/GIOP/giop-recv-buffer.c
(giop_recv_buffer_unuse): free GIOP_1_0 service
contexts in the same way as GIOP_1_1, that's how we
de-marshal them in giop_recv_buffer_demarshal.
* test/everything/client.c (testMisc): fix leak.
(testMiscUnions): don't dup inArg's string.
don't alloc the inSeq's _buffer, or dup it's string.
2002-05-15 Michael Meeks <michael@ximian.com>
* src/cleanup/Makefile.am,
* src/cleanup/cleanup.c: add.
* configure.in,
* src/Makefile.am: add cleanup.
2002-05-14 Sean Atkinson <sean@cantab.net>
* src/orb/orb-core/orbit-trace.c
(ORBit_trace_value): Replace middle of long strings with dots.
(ORBit_trace_timestamp): Pad microseconds with zeros.
2002-05-13 Michael Meeks <michael@ximian.com>
* Version 2.3.109
2002-05-07 Michael Meeks <michael@ximian.com>
* src/services/name/orbit-name-server.c
(impl_NamingContext_list): re-order to kill swathe of
redundant forward prototypes.
(ORBit_CosNaming_NamingContextExt_create),
(impl_BindingIterator__create): dup the poa ref we hold.
(impl_NamingContextExt__destroy),
(impl_BindingIterator__destroy, impl_BindingIterator__destroy):
don't de-activate ourselves in a finalize method.
2002-05-02 ERDI Gergo <cactus@cactus.rulez.org>
* src/idl-compiler/orbit-idl-c-headers.c (ch_prep_sequence): Cast
return value of _allocbuf method to pointer to member type, to
make typesafe C++ compilers happy
2002-04-23 Mark McLoughlin <mark@skynet.ie>
* src/orb/orb-core/iop-profiles.c:
(CodeSetComponent_demarshal): fix off by one error manifesting
itself with the Java ORB.
2002-04-18 Michael Meeks <michael@ximian.com>
* src/orb/orb-core/orbit-small.c (async_recv_cb):
handle a NULL callback.
* test/everything/client.c (testMisc): fix
ev mis-direction.
* configure.in (DISABLE_DEPRECATED_CFLAGS): add.
* */Makefile.am: add deprecated cflag guards.
2002-04-15 Michael Meeks <michael@ximian.com>
* Version 2.3.108
2002-04-15 Michael Meeks <michael@ximian.com>
* configure.in: require linc >= 0.1.21
* src/orb/orb-core/orbit-small.c
(ORBit_small_invoke_adaptor): fix the same bug just
above Gergo's, and just below too - gack.
* test/everything/*: update the sequence tests so
we have longer runs.
2002-04-13 ERDI Gergo <cactus@cactus.rulez.org>
* src/orb/orb-core/orbit-small.c (ORBit_small_invoke_adaptor):
Check for FIXED flag on the argument type and not the method (as
that would be silly:)
2002-04-10 Michael Meeks <michael@ximian.com>
* configure.in: remove poll & basename checks,
socklen_t check, inet_aton check,
we don't need them.
2002-04-09 Michael Meeks <michael@ximian.com>
* src/orb/orb-core/corba-typecode.c (tc_dec):
fix #76777 warning issue.
2002-04-09 Michael Meeks <michael@ximian.com>
* src/orb/util/genrand.c
(genrand_openssl): rename to
(genuid_rand_openssl): this to be consistant and work.
[thanks to Colin Campbell].
2002-04-02 Michael Meeks <michael@ximian.com>
* src/orb/orb-core/corba-orb.c
(shutdown_orb): impl. we need it to close floating UDS.
2002-04-01 Murray Cumming <murrayc@usa.net>
* Added --headerguardprefix option to orbit-idl-2. This allows the
C++ bindings to use generated C bindings which in turn #include
already-generated installed C bindings.
This has already been applied to the cpp branch. Applying it here
should simplify merging.
2002-03-30 ERDI Gergo <cactus@cactus.rulez.org>
* src/idl-compiler/orbit-idl-c-utils.c (cs_small_unflatten_ref):
Explicitly cast array arguments to silence C++ compiler error
messages
2002-03-28 Mark McLoughlin <mark@skynet.ie>
* src/services/name/Makefile.am: link against
dependancies (75709)
2002-03-27 Michael Meeks <michael@ximian.com>
* test/everything/client.c (testMisc): add IOR
stringification roundtrip check.
2002-03-25 Mark McLoughlin <mark@skynet.ie>
* src/idl-compiler/orbit-idl-c-common.c:
(cc_small_output_itypes): initialise the ORBit_IMethod array
in a friendly way.
2002-03-04 Mark McLoughlin <mark@skynet.ie>
* configure.in: version 2.3.107
2002-03-09 Dou Wen <orbkernel@hotmail.com>
* src/orb/GIOP/giop-recv-buffer.c
(giop_recv_msg_reading_body): assert that the buffer is
correctly aligned.
2002-03-20 Gregory Leblanc <gleblanc@linuxweasel.com>
* ORBit.spec.in: Lots of re-writing and such.
* configure.in: Added AC_SUBST for a couple of missing variables
used in the spec file
2002-03-20 Mark McLoughlin <mark@skynet.ie>
* src/orb/orb-core/iop-profiles.c:
(IOP_components_marshal): also marshal the CODE_SETS component
in an encapsulated buffer.
(IOP_TAG_CODE_SETS_demarshal): demarshal it from the
encapsulated buffer.
2002-03-13 Laszlo Peter <laca@ireland.sun.com>
* include/orbit/orb-core/corba-typecode.h: change CORBA_tk_recursive
to unsigned.
* src/orb/orb-core/corba-typecode.c (tc_dec): test the unsigned
lkind instead of kind that can be signed or unsigned on different
platforms.
2002-03-04 Mark McLoughlin <mark@skynet.ie>
* configure.in: version 2.3.106
2002-03-01 jacob berkman <jacob@ximian.com>
* autogen.sh: pass --copy to automake, and pass --include-deps
unless using gcc
2002-03-01 Mark McLoughlin <mark@skynet.ie>
* test/poa/poatest-basic*.c: don't use lovely C99 compliant
structure initialisation .... just to keep forte happy.
2002-03-01 Mark McLoughlin <mark@skynet.ie>
* src/idl-compiler/orbit-idl-c-headers.c: (ch_output_type_union):
output the enum decl here if need be.
* src/idl-compiler/orbit-idl-c-imodule.c: (cc_small_build_types):
ditto.
* test/everything/everything.idl: add new soup constats and
declare the colour enum in the union decl.
* test/everything/client.c:
(testConst): test the soup consts.
(testIInterface): test the soup and colour typecodes.
(testMiscUnions): update for colour scope change.
* test/everything/unionServer.c: (UnionServer_opMisc): ditto.
2002-02-28 Mark McLoughlin <mark@skynet.ie>
* src/orb/orb-core/orbit-debug.h: fix typo.
2002-02-26 Michael Meeks <michael@ximian.com>
* src/orb/orb-core/corba-orb.c
(CORBA_ORB_list_initial_services): update
assertion to not do an assignment.
2002-02-26 Yanko Kaneti <yaneti@declera.com>
* src/orb/orb-core/orbit-debug.h: handle different
var-arg cases in the parser.
2002-02-24 Sam Couter <scouter@bigpond.net.au>
* Add G_BEGIN_DECLS and G_END_DECLS to installed headers to allow
exported interfaces to be used from C++ code.
2002-02-18 Mark McLoughlin <mark@skynet.ie>
* src/idl-compiler/orbit-idl-c-common.c:
(cc_small_build_interfaces): don't initialise ai twice.
* docs/FAQ: add bit about refs and giop debugging.
2002-02-11 Mark McLoughlin <mark@skynet.ie>
* configure.in: version 2.3.105
2002-02-08 Mark McLoughlin <mark@skynet.ie>
* src/idl-compiler/orbit-idl-c-typecode.c:
(orbit_output_tcstruct_anon_sublabels_array): cleanup.
2002-02-06 Michael Meeks <michael@ximian.com>
* src/orb/util/genrand.c
(genuid_rand_device): handle EINTR, EAGAIN,
and short reads.
2002-02-06 Michael Meeks <michael@ximian.com>
* src/orb/orb-core/orbit-small.c
(ORBit_small_invoke_stub): make trace debugging
more meaningfull in-proc.
2002-02-05 Michael Meeks <michael@ximian.com>
* src/orb/orb-core/orbit-object.c
(object_hash_dump): impl.
(ORBit_RootObject_shutdown),
(ORBit_RootObject_init, do_unref): add more verbose
and powerful object debugging.
* src/orb/orb-core/corba-orb.c
(ORBit_setup_debug_flags): add 'refs'
* src/orb/orb-core/orbit-debug.h: fix bitmask cockup.
2002-02-05 Mark McLoughlin <mark@skynet.ie>
* src/orb/orb-core/corba-any.c: (ORBit_value_equivalent):
add union_size to the original pointers.
* test/everything/client.c: (testAnyEquivalence): re-enable
testing this.
2002-02-05 Mark McLoughlin <mark@skynet.ie>
* src/orb/orb-core/corba-any.c: (ORBit_get_union_switch):
don't assume pointers are correctly alligned.
* src/orb/util/genrand.c: (genuid_glib_pseudo): fix silly.
2002-02-04 Michael Meeks <michael@ximian.com>
* src/orb/orb-core/corba-context.c
(ORBit_Context_free_fn): remove ourselves correctly
from the parent.
* test/everything/client.c (testAnyEquivalence):
knobble for now so we pass the tests.
* src/orb/orb-core/corba-any.c: do a proper boolean
compare.
2002-02-02 Michael Meeks <michael@ximian.com>
* Makefile.am (EXTRA_DIST): add Makefile.shared.
2002-02-04 Mark McLoughlin <mark@skynet.ie>
* configure.in: version 2.3.104.
2002-02-04 Shivram U <shivaram.upadhyayula@wipro.com>
reviewed by: Mark McLoughlin <mark@skynet.ie>
* src/idl-compiler/orbit-idl-c-demarshal.c:
* src/idl-compiler/orbit-idl-c-marshal.c:
* src/idl-compiler/orbit-idl-c-skelimpl.c:
* src/idl-compiler/orbit-idl-c-stubs.c:
* src/idl-compiler/orbit-idl-c-typecode.c:
* src/idl-compiler/orbit-idl-c-utils.c:
* src/idl-compiler/orbit-idl-utils.c:
* src/orb/orb-core/corba-object.c:
Remove deprecated glib functions.
s/g_string_sprintf/g_string_printf/
s/g_string_sprintfa/g_string_append_printf/
s/g_main_iteration/g_main_context_iteration/.
2002-01-31 Mark McLoughlin <mark@skynet.ie>
* src/orb/GIOP/giop-debug.h: make giop dumping a runtime
debugging option.
* src/orb/GIOP/giop-recv-buffer.c: (giop_recv_msg_reading_body):
use dprintf (GIOP.. instead of giop_dprintf.
* src/orb/orb-core/corba-orb.c: (ORBit_setup_debug_flags):
add ORBIT_DEBUG_GIOP.
* src/orb/orb-core/orbit-debug.h: ditto.
2002-01-30 Mark McLoughlin <mark@skynet.ie>
* include/orbit/orb-core/corba-any.h: kill dup_strings
arg from demarshal funcs. Kill duplicated
ORBit_demarshal_value.
* src/orb/GIOP/giop-recv-buffer.c:
(giop_IOP_ServiceContextList_demarshal): upd for dup_strings.
* src/orb/orb-core/corba-any.c:
(ORBit_get_union_tag): kill unused variable.
(ORBit_demarshal_value), (ORBit_demarshal_arg),
(ORBit_demarshal_any): kill dup_strings arg.
* src/orb/orb-core/orbit-small.c:
(ORBit_handle_exception_array): upd for dup_strings.
(ORBit_small_marshal_context): move branch to
(orbit_small_marshal): here. We rarely take this branch, so
lets kill the fuction call overhead for the common case.
(orbit_small_demarshal), (ORBit_small_invoke_adaptor): upd
for dup_strings change.
* test/everything/basicServer.c: (BasicServer_opString),
(BasicServer_opFloat), (BasicServer_opDouble),
(BasicServer_opLongDouble): implement floating point tests.
* test/everything/unionServer.c: (UnionServer_opMisc): impl another
union test.
* test/everything/client.c:
(testConst): test float, double and long double constants.
(testFloat), (testDouble), (testLongDouble): use floating point
tests.
(testMiscUnions): use new union test.
(testAnyException): add output.
(testAnyEquivalence): test ORBit_any_equivalent and ORBit_copy_value
code paths.
(test_BasicServer_opExceptionA): update vtable offset.
(run_tests): run new tests.
* test/everything/constants.h: add floating point constants.
* test/everything/everything.idl: add idl for new tests.
2002-01-29 Mark McLoughlin <mark@skynet.ie>
* src/orb/orb-core/corba-orb.c: clean up.
2002-01-28 Mark McLoughlin <mark@skynet.ie>
* configure.in: version 2.3.103.
2002-01-28 Mark McLoughlin <mark@skynet.ie>
* src/orb/util/genrand.c: (genuid_simple),
(genuid_glib_pseudo): more tweaks.
2002-01-25 Michael Meeks <michael@ximian.com>
* test/everything/client.c (main): upd.
(test_init): test it.
* src/orb/orb-core/corba-orb.c
(CORBA_ORB_shutdown, CORBA_ORB_init),
(CORBA_ORB_destroy): count init / destroy pairs
and don't allow people to destroy if someone else
has inited.
2002-01-25 Mark McLoughlin <mark@skynet.ie>
* acinclude.m4: (AC_CHECK_ALIGNOF): error out if an alignment
is found to be zero.
* test/everything/client.c: (make_large_str_seq): fix leak.
2002-01-24 Michael Meeks <michael@ximian.com>
* src/orb/orb-core/corba-typecode.c
(ORBit_TypeCode_free_fn): kill bogus typecode free.
* src/orb/util/genrand.c (ORBit_genuid_init): seed
the random number generator but once.
(genuid_glib_pseudo): use rand more sensibly, use
genuid_simple first.
(genuid_simple): make inc a gulong.
2002-01-22 Mark McLoughlin <mark@skynet.ie>
* src/orb/orb-core/corba-typecode.c
(ORBit_TypeCode_free_f): sublabels isn't an 'any' sequence
anymore.
2002-01-22 Mark McLoughlin <mark@skynet.ie>
* include/orbit/orb-core/corba-typecode.h: change the
sublabels member to a CORBA_long *.
* src/idl-compiler/orbit-idl-c-typecode.c:
(orbit_output_tcstruct_anon_sublabels_array),
(orbit_output_tcstruct_sublabels), (cbe_tc_generate):
output the array.
* src/orb/orb-core/corba-any.c: (ORBit_get_union_tag):
simplify the discrim compare.
* src/orb/orb-core/corba-orb.c: (copy_case_value): impl.
(CORBA_ORB_create_union_tc): don't copy the whole any, just
the value.
* src/orb/orb-core/corba-typecode.c: (tc_enc_tk_union),
(tc_dec_tk_union), (typecode_equiv_internal): upd.
2002-01-22 Mark McLoughlin <mark@skynet.ie>
* src/idl-compiler/orbit-idl-utils.c:
(orbit_idl_check_oneway_op): impl to check if oneways have
returns or outs/inouts.
* src/idl-compiler/orbit-idl-c-headers.c:
(ch_output_stub_protos): use.
* test/everything/everything.idl,
test/everything/server.c,
test/everything/client.c: make segv return void.
2002-01-21 Mark McLoughlin <mark@skynet.ie>
* src/orb/orb-core/corba-orb.c:
(ORBit_setup_debug_flags): fix silly so that debug options
in orbitrc works correctly.
2002-01-21 Michael Meeks <michael@ximian.com>
* src/orb/orb-core/corba-any.c
(ORBit_copy_value): tolerate NULL.
* src/orb/orb-core/orbit-small.c
(orbit_small_demarshal): kill warning.
* test/everything/client.c (testMisc): add a check.
2002-01-21 Xiong Jiang <jxiong@offtopic.org>
* src/idl-compiler/orbit-idl-c-stubs.c
(cs_small_output_stub): put the endif in a comment, to
make the preprocessor happy.
2002-01-17 Michael Meeks <michael@ximian.com>
* configure.in: require the new linc with different
protocol structure size.
* test/everything/client.c (main): upd.
2002-01-17 Mark McLoughlin <mark@skynet.ie>
Allow ORBit2 debugging to be switched on/off at runtime.
Based on a patch by Jacob Berkman <jacob@ximian.com>
* configure.in: --enable-debug option.
* src/orb/GIOP/Makefile.am, src/orb/Makefile.am,
src/orb/dynamic/Makefile.am, src/orb/orb-core/Makefile.am,
src/orb/poa/Makefile.am, src/orb/util/Makefile.am:
use ORBIT_DEBUG_CFLAGS.
* src/orb/orb-core/corba-object.c: (g_CORBA_Object_equal),
(ORBit_objref_find), (ORBit_object_get_connection),
(ORBit_marshal_object): upd.
* src/orb/orb-core/corba-orb.c: (ORBit_setup_debug_flags),
(CORBA_ORB_init): add --ORBDebugFlags option and ORBIT2_DEBUG
env variable and parse.
* src/orb/orb-core/orbit-debug.h: kill old debug stuff and
make everything conditional on G_ENABLE_DEBUG.
* src/orb/orb-core/orbit-small.c: (ORBit_handle_exception_array),
(ORBit_small_send_user_exception), (orbit_small_marshal),
(orbit_small_demarshal), (ORBit_small_invoke_stub),
(ORBit_small_invoke_adaptor), (ORBit_small_demarshal_async): upd.
* src/orb/orb-core/orbit-trace.c: (ORBit_trace_timestamp): upd.
* src/orb/orb-core/orbit-typelib.c: (load_module): upd.
* src/orb/poa/orbit-adaptor.c: (ORBit_handle_request): upd.
* src/orb/util/genrand.c: (ORBit_genuid_init), (genuid_simple):
incorporate the pid and an incrementing number into simple uid.
2002-01-16 Mark McLoughlin <mark@skynet.ie>
* include/orbit/orb-core/corba-orb-type.h: kill genrand
ORB member.
* include/orbit/util/orbit-genrand.h: rename to genuid, we're
not allways taking about randomness.
* src/orb/orb-core/corba-orb.c:
(ORBit_genuid_type): impl to figure what genuid type we'll use.
(CORBA_ORB_init): upd.
(ORBit_proto_use): fix silly.
Also add a --ORBSimpleUIDs option.
* src/orb/poa/orbit-adaptor.c: (ORBit_adaptor_setup): upd.
* src/orb/poa/poa.c: (ORBit_POA_new_system_objid): upd.
* src/orb/util/genrand.c:
(ORBit_genuid_init), (ORBit_genuid_fini): impl.
(genuid_glib_pseudo): impl id generator using glib's prng.
(genrand_unix): kill.
(genuid_simple): impl non-random id generator.
(ORBit_genuid_buffer): upd.
* test/test-performance.c: (main): pass argc and argv to
ORB_init.
* docs/FAQ, docs/internals/poa-notes.txt: upd.
2002-01-16 Michael Meeks <michael@ximian.com>
* src/orb/orb-core/corba-object.c: update to free
result of IOP profile dumpage.
* src/orb/orb-core/iop-profiles.c
(IOP_components_free): make it free the list too,
and NULL the list for safety.
2002-01-14 Mark McLoughlin <mark@skynet.ie>
* include/orbit/orb-core/corba-policy-type.h,
src/orb/orb-core/corba-policy.c: kill ORBit_Policy_(set|get)
* include/orbit/poa/orbit-adaptor.h: (ORBit_adaptor_setup): add.
* include/orbit/poa/poa-types.h:
(ORBit_vepvmap_init): kill.
Kill init_vepvmap and vepvlen ClassInfo members.
Enable vepvmap cache by default. Add next member to
ORBit_POAObject_type to replace servant->_private GSList.
Kill unused macros.
* include/orbit/poa/poa.h: don't include poa-policy.h.
* include/orbit/poa/portableserver-poa-type.h: kill poa_rand_len
POA struct member.
* src/idl-compiler/orbit-idl-c-skels.c:
(cbe_skel_interface_print_vepvmap_initializer): kill.
(cbe_skel_interface_print_vepvmap_line), (cbe_skel_do_interface):
initialise the vepvmap in servant init. No need for init_vepvmap method.
* src/orb/orb-core/corba-orb.c: (CORBA_ORB_destroy): s/poa/adaptor/.
* src/orb/poa/orbit-adaptor.c: (ORBit_adaptor_setup): move here from
poa.c - all adaptor's keys should be the same.
* src/orb/poa/orbit-poa.h:
* src/orb/poa/poa-manager.c: (ORBit_POAManager_new),
(ORBit_POAManager_register_poa), (ORBit_POAManager_unregister_poa): kill
unneeded ev args. Move ownership of the poa_manager reference into poa.c
where it belongs.
* src/orb/poa/poa-policy.c: set the policy structs directly. Kill okey
randomness policy.
* src/orb/poa/poa-servants.c: use poa_execption macros.
* src/orb/poa/poa.c:
(check_object_inuse): impl instead of hacking traverse_cb.
(ORBit_POA_object_id_lookup): rename from ORBit_POA_oid_to_obj, removing
crackness in the process.
(ORBit_POA_remove_child): kill unneeded ev arg.
(ORBit_POA_destroy): cleanup.
(traverse_cb): rationalise. Kill unneeded TraverseInfo members.
(ORBit_POA_deactivate): upd.
(ORBit_POA_free_fn): check members are allocated before freeing.
(ORBit_POA_set_policy): update fro policy changes.
(ORBit_POA_set_policies): set defaults here, use poa_exception macros.
(ORBit_POA_new): big cleanup.
(ORBit_POA_activate_object): don't init vepvpmap here. Update for
servant pobj list changes.
(ORBit_POA_deactivate_object): ditto.
(ORBit_POAObject_handle_request): use policy checking macros.
(ORBit_POA_object_key_lookup): impl.
(ORBit_POA_handle_request): use ORBit_POA_object_key_lookup and
return_exception.
(ORBit_POA_ServantManager_use_servant),
(ORBit_POA_ServantManager_unuse_servant): big cleanup and update for
servant pobj list change.
* test/everything/server.c: (TestFactory_getStructServerIOR): use
global_orb.
2002-01-09 Michael Meeks <michael@ximian.com>
* Version 2.3.102
2002-01-09 Michael Meeks <michael@ximian.com>
* src/orb/GIOP/giop-send-buffer.c
(send_buffer_list): initialize it.
* src/orb/GIOP/giop-connection.c
(giop_connection_remove_by_orb): fix acute
re-enterancy hazard.
* src/orb/GIOP/giop-recv-buffer.c
(giop_recv_list_zap): fix re-enterancy hazard.
(giop_queued_messages): initialize it.
2002-01-09 Mark McLoughlin <mark@skynet.ie>
* test/test-performance.c: (create_mult_id_poa), (test_activation),
(main): add object activation/de-activation performance test.
* test/Makefile.am: upd.
2002-01-07 Mark McLoughlin <mark@skynet.ie>
* src/services/name/Makefile.am: install idl files in
$(datadir)/idl/orbit-2.0.
2002-01-04 Michael Meeks <michael@ximian.com>
* test/everything/client.c (testSegv): remove
race condition assert.
* test/everything/everything.idl: make segv
oneway.
2002-01-03 Michael Meeks <michael@ximian.com>
* Version 2.3.101
2001-12-31 Michael Meeks <michael@ximian.com>
* src/orb/poa/orbit-adaptor.c
(ORBit_handle_request): debug.
* src/orb/poa/poa.c (ORBit_POA_handle_request):
add debug.
2002-01-03 Laszlo Peter <laca@ireland.sun.com>
* test/test-performance.c: s/time/elapsed_time/ (conflicts with
Solaris system headers)
2002-01-03 Mark McLoughlin <mark@skynet.ie>
* test/test-performance.c: make global symbols static to
stop core dumps in my ldap libraries. Don't ask me :/
2002-01-03 Mark McLoughlin <mark@skynet.ie>
* src/idl-compiler/orbit-idl-c-stubs.c: (cs_small_output_stub):
output local case code to check to see if the operation is
implemented and return NO_IMPLEMENT if not.
* src/idl-compiler/orbit-idl2.h: add ORBIT_EPV_VAR_NAME.
* test/everything/client.c: (testMisc): test this in the local
case as well.
2002-01-03 Mark McLoughlin <mark@skynet.ie>
* include/orbit/poa/poa-types.h:
(ORBIT_STUB_IsBypass): check for nil reference, and pawn off
on ORBit_small_invoke_stub if it is nil.
* src/orb/orb-core/orbit-small.c: (ORBit_small_invoke_stub):
return INV_OBJREF exception if obj is nil.
* test/everything/client.c: (testException): test.
* test/everything/pingServer.c: (PingPongServer_opSleep):
kill unused variable.
2001-12-31 Michael Meeks <michael@ximian.com>
* configure.in: require the new linc.
2001-12-28 Michael Meeks <michael@ximian.com>
* src/orb/dynamic/dynany.c
(ORBit_dynany_new_default): publicise internaly
for time trials.
* src/idl-compiler/orbit-idl-c-headers.c
(ch_output_const_dcl): output unsigned types
properly.
* test/everything/client.c (testPingPong): add
non-blocking IO test.
* test/everything/pingServer.c
(PingPongServer_opSleep): impl.
* src/orb/poa/poa.c
(ORBit_POA_handle_request, return_exception):
non blocking writes.
* src/orb/orb-core/orbit-small.c
(orbit_small_marshal): do a non-blocking write.
(ORBit_small_invoke_adaptor): ditto.
2001-12-27 Michael Meeks <michael@ximian.com>
* src/orb/GIOP/giop-connection.c
(giop_connection_close): block on send notification.
* src/orb/GIOP/giop-send-buffer.c
(giop_send_buffer_write): do blocking and non-blocking
writes.
* include/orbit/GIOP/giop-send-buffer.h: kill duff
prototype.
* src/orb/orb-core/orbit-small.c
(ORBit_small_get_connection): impl.
(ORBit_connection_set_max_buffer): impl.
2001-12-21 Roland Juelich <rj@atecom.com>
* src/orb/orb-core/iop-profiles.c: (IOP_ObjectKey_demarshal):
don't modify key length.
2001-12-19 Mark McLoughlin <mark@skynet.ie>
* test/everything/test.sh: niceify.
2001-12-19 Mark McLoughlin <mark@skynet.ie>
* src/orb/orb-core/iop-profiles.c: (IOP_profiles_sync_objkey):
reduce the scream and shout error to a warning.
2001-12-18 Michael Meeks <michael@ximian.com>
* src/orb/orb-core/corba-orb.c (CORBA_ORB_init):
check the ALIGNOF_DOUBLE instead, since all sys
allocated memory has to be aligned to this.
2001-12-15 Ross Golder <rossg@golder.org>
* ORBit.spec.in: updated shared library directory.
2001-12-14 Roland Juelich <rj@atecom.com>
* src/orb/orb-core/corba-orb.c: add ORBIIOPIPName
and ORBIIOPIPSock options.
(ORBit_ORB_start_servers): use the arguments.
2001-12-13 Sam Couter <sam@topic.com.au>
* configure.in: move type alignment test
* acinclude.m4: here & make it pretty.
2001-12-11 Michael Meeks <michael@ximian.com>
* Version 2.3.100
2001-12-10 jacob berkman <jacob@ximian.com>
* src/orb/GIOP/Makefile.am (libGIOP_la_SOURCES): add giop-debug.h
2001-12-08 Kristian Rietveld <kris@gtk.org>
* src/orb/GIOP/giop-send-buffer.c: move down sys/uio.h, so it
builds on FreeBSD
2001-12-07 Laszlo Peter <laca@ireland.sun.com>
* src/orb/orb-core/orbit-debug.h:
src/orb/orb-core/orbit-trace.c: get the trace code work on Solaris
2001-12-07 Mark McLoughlin <mark@skynet.ie>
* src/orb/orb-core/corba-typecode.c: (CDR_get):
use proper casts.
2001-12-07 Mark McLoughlin <mark@skynet.ie>
* src/orb/orb-core/corba-typecode.c: (CDR_get):
do byteswap if neccessary.
2001-12-07 Mark McLoughlin <mark@skynet.ie>
* src/orb/orb-core/corba-any.c:
(ORBit_demarshal_value): do byteswap if neccessary.
2001-12-07 Mark McLoughlin <mark@skynet.ie>
* include/orbit/GIOP/giop-recv-buffer.h:
include/orbit/GIOP/giop-send-buffer.h:
src/orb/orb-core/orbit-debug.h:
src/orb/orb-core/orbit-small.c:
src/orb/poa/poa.c:
src/orb/GIOP/giop.c:
src/orb/GIOP/giop-recv-buffer.c: rework the recv
buffer dumping to do it as we receive.
* src/orb/orb-core/iop-profiles.c:
(CodeSetComponent_demarshal): fix silly.
2001-12-07 Mark McLoughlin <mark@skynet.ie>
* src/idl-compiler/orbit-idl-c-typecode.c:
(orbit_find_c_align): only calculate the alignment of
the union.
* src/orb/orb-core/corba-any.c: (ORBit_marshal_value),
(ORBit_demarshal_value), (ORBit_copy_value_core),
(ORBit_value_equivalent): upd.
2001-12-06 Mark McLoughlin <mark@skynet.ie>
* src/orb/orb-core/corba-any.c:
(ORBit_copy_value_core),
(ORBit_value_equivalent): fix union alignment.
2001-12-06 Michael Meeks <michael@ximian.com>
* src/orb/orb-core/corba-object.c (CORBA_Object_hash),
(CORBA_Object_is_equivalent): make faster and better -
we were screwing up if we hashed an object before
remoting it. Since we garentee a CORBA_Object <-> profile
mapping anyway these can be trivial methods.
* test/everything/client.c (testPingPong): test hashing.
2001-12-05 Michael Meeks <michael@ximian.com>
* test/everything/structServer.c (opObjectStruct): impl.
* test/everything/client.c (testObjectStruct): impl.
2001-12-06 Mark McLoughlin <mark@skynet.ie>
* src/idl-compiler/orbit-idl-c-common.c:
(cc_small_output_method): don't add 1 to name_len.
2001-12-06 Mark McLoughlin <mark@skynet.ie>
* src/orb/GIOP/giop.c (giop_dump_recv): start dumping
the message body at message_body + 12. Why do we allocate
this space?
2001-12-05 Mark McLoughlin <mark@skynet.ie>
* src/orb/orb-core/corba-any.c (ORBit_marshal_value): align
the union properly. Thanks to Laca for the debugging.
2001-12-05 Mark McLoughlin <mark@skynet.ie>
* src/orb/orb-core/iop-profiles.c:
(CodeSetComponent_demarshal): byte swap the code sets
if necessary and fix silly.
2001-12-05 Mark McLoughlin <mark@skynet.ie>
* src/orb/orb-core/corba-object.c:
(ORBit_handle_location_forward),
(ORBit_demarshal_object): intialise type_id and profiles.
* src/orb/orb-core/iop-profiles.c:
(ORBit_demarshal_IOR): cleanup code flow.
2001-12-05 Mark McLoughlin <mark@skynet.ie>
* src/orb/orb-core/corba-orb.c:
(CORBA_ORB_string_to_object): tidy up a bit. Use g_ascii_*
functions.
2001-12-04 Michael Meeks <michael@ximian.com>
* test/everything/basicServer.c
(BasicServer_testLargeStringSeq): stub.
* test/everything/client.c
(make_large_str_seq): impl.
(testMisc): use it.
2001-12-03 Mark McLoughlin <mark@skynet.ie>
* src/orb/GIOP/giop.c: (giop_dump): tidy up
output a little.
2001-12-02 Laszlo Peter <laca@ireland.sun.com>
* src/idl-compiler/orbit-idl-c-typecode.c
(cbe_tc_generate): fix order to match corba-typecode.h
2001-12-01 Theo van Klaveren <t.vanklaveren@student.utwente.nl>
* src/orb/include/Makefile.am: make -> $(MAKE).
* src/orb/GIOP/giop-send-buffer.c: add <sys/types.h> to the
includes. Fixes the build on FreeBSD.
2001-11-29 Mark McLoughlin <mark@skynet.ie>
* src/orb/GIOP/giop.c: (giop_dump_recv): print the
header as well as the message body.
2001-11-26 Michael Meeks <michael@ximian.com>
* Version 2.3.99
* configure.in: bump serial.
2001-11-26 Michael Meeks <michael@ximian.com>
* src/idl-compiler/orbit-idl-c-typecode.c
(cbe_tc_generate): upd & re-order.
* include/orbit/orb-core/corba-typecode.h: give us
some space for expansion & re-order.
2001-11-26 Michael Meeks <michael@ximian.com>
* Version 2.3.98
* src/orb/util/orbit-options.c
(ORBit_option_command_line_parse): allow NULL argc
on init.
* test/test-dynany.c (main): test it.
2001-11-23 Michael Meeks <michael@ximian.com>
* docs/internals/typecode-flags.txt: add.
* src/orb/poa/poa.c
(ORBit_POAObject_handle_request): add debug.
2001-11-25 Havoc Pennington <hp@redhat.com>
* src/orb/poa/Makefile.am (main_src): add poa-macros.h
2001-11-22 Michael Meeks <michael@ximian.com>
* test/everything/client.c (run_tests): disable
the async tests - need more thought.
* src/orb/orb-core/iop-profiles.c
(IOP_TAG_INTERNET_IOP_copy): copy the host too.
* src/orb/GIOP/giop-connection.c
(giop_connection_initiate): add pre-condition.
2001-11-21 Michael Meeks <michael@ximian.com>
* test/everything/client.c (testPingPong): add a
scad of equivalence tests.
* src/orb/orb-core/corba-object.c
(ORBit_register_objref): add pre-condition.
(g_CORBA_Object_equal): allow NULL object keys -
these are local objects.
(CORBA_Object_is_equivalent): fix to cope with
the concept of 'local' and NULL objects.
(g_CORBA_Object_equal): remove checks.
* src/orb/orb-core/iop-profiles.c
(IOP_delete_profiles): cope with no ORB on
remote objects.
2001-11-21 Michael Meeks <michael@ximian.com>
* src/orb/dynamic/dynany.c
(dynany_sequence_realloc_to): undo a stupidity.
2001-11-21 Michael Meeks <michael@ximian.com>
* src/orb/orb-core/iop-profiles.c
(IOP_delete_profiles): use orb->profiles not common_profiles.
(ORBit_demarshal_IOR): upd.
* src/orb/orb-core/corba-object.c
(ORBit_objref_find, CORBA_Object_release_cb),
(ORBit_handle_location_forward): upd.
* src/orb/orb-core/corba-types.c
(CORBA_sequence__freekids): kill.
(ORBit_sequence_CORBA_octet_dup): upd.
* src/orb/orb-core/iop-profiles.c
(IOP_start_profiles): impl.
(IOP_generate_profiles): upd. ensure that
we always register an objref as we generate
it's profiles.
* src/orb/orb-core/corba-object.c
(ORBit_start_servers): move into the ORB.
(ORBit_objref_find): add some debug.
* src/orb/orb-core/corba-orb.c
(ORBit_ORB_start_servers): here.
* src/orb/orb-core/iop-profiles.c
(IOP_generate_profiles): prune cut & paste
shutdown code - argh; split out,
(boot_profiles): this.
* src/orb/orb-core/corba-object.c
(ORBit_lookup_objref): don't pointlessly setup an
objref hash when we don't need one.
* test/everything/client.c (testPingPong): check we
remote and return correctly.
2001-11-20 Michael Meeks <michael@ximian.com>
* src/orb/orb-core/corba-typecode.c
(CORBA_TypeCode__freekids): kill.
* src/orb/orb-core/orbit-small.c (ORBit_small_alloc),
(ORBit_small_invoke_adaptor): upd.
* src/orb/orb-core/corba-any.c
(ORBit_copy_value, ORBit_demarshal_arg): alloc_by_tc.
(CORBA_any__freekids): kill.
* src/orb/dynamic/dynany.c (dynany_any_new_default),
(dynany_sequence_realloc_to),
(DynamicAny_DynStruct_get_members),
(DynamicAny_DynSequence_get_elements): alloc_by_tc
* src/orb/orb-core/allocators.c
(ORBit_alloc_by_tc): impl.
* src/orb/orb-core/corba-any.c
(CORBA_any__alloc): do it with _alloc_by_tc.
* src/orb/orbit-init.c: include our own header.
* src/orb/GIOP/giop-recv-buffer.c
(giop_IOP_ServiceContextList_demarshal): warning fix.
* src/orb/orb-core/corba-env.c
(CORBA_exception__alloc): upd.
* src/orb/orb-core/corba-object.c
(CORBA_Object__freekids): kill.
* src/orb/orb-core/allocators.c
(ORBit_alloc_kidfnc): rename to
(ORBit_alloc_with_free_fn): this
* src/orb/orb-core/corba-any.c
(CORBA_any__alloc): upd.
* include/orbit/orb-core/allocators.h: kill the
ORBit_alloc macro.
2001-11-20 Michael Meeks <michael@ximian.com>
* src/orb/orb-core/corba-string.c
(CORBA_string_alloc, CORBA_string_dup): use alloc_string.
(CORBA_string__freekids): kill, unused.
* src/orb/orb-core/allocators.c
(ORBit_alloc_string): impl.
* test/Makefile.am: add test-mem
* test/test-mem.c: add.
* src/orb/orb-core/allocators.c
(ORBit_alloc_core): kill.
(ORBit_free_T): re-write.
(ORBit_freekids_via_TypeCode_T): re-order args to
make it a freekids fn, privatize.
(ORBit_freekids_via_TypeCode): upd.
(ORBit_alloc_tcval): re-write.
(ORBit_alloc_kidfnc): re-write.
(ORBit_alloc_simple): re-write.
* src/orb/orb-core/corba-any.c
(ORBit_demarshal_value): upd.
* src/orb/orb-core/corba-orb.c (CORBA_ORB_init): check
our processor is a real processor.
* src/orb/orb-core/orbit-small.c (ORBit_small_alloc):
use ORBit_small_alloc.
* src/orb/GIOP/giop-recv-buffer.c
(giop_IOP_ServiceContextList_free): use CORBA_free
(giop_IOP_ServiceContextList_demarshal): do it genericaly
by typecode.
2001-11-19 Mark McLoughlin <mark@skynet.ie>
* src/orb/poa/poa-macros.h: new file with convience macros.
* src/orb/poa/poa.c: (PortableServer_POA_servant_to_id),
(PortableServer_POA_servant_to_reference),
(PortableServer_POA_reference_to_servant),
(PortableServer_POA_reference_to_id),
(PortableServer_POA_id_to_servant),
(PortableServer_POA_id_to_reference): update to use macros
to simplify policy checking, exception returning.
2001-11-19 Michael Meeks <michael@ximian.com>
* src/orb/GIOP/giop-connection.c
(giop_connection_close): remove bogus fsync breaking
encapsulation.
2001-11-19 Michael Meeks <michael@ximian.com>
* src/orb/GIOP/giop-connection.c
(giop_connection_list_lookup): kill retval.
(giop_cnx_descr): impl. for debug.
(giop_connection_initiate): DOH ! pass the right args to
the connection cache.
(giop_connection_list_add): validate connection, add debug.
(giop_connection_list_remove): only try to remove
initiated connections, add debug.
2001-11-16 Michael Meeks <michael@ximian.com>
* test/everything/client.c
(test_BasicServer_opStringA_cb): free the returned strings.
2001-11-18 Mark McLoughlin <mark@skynet.ie>
* configure.in: add warning cflags : -Wall -Wunused
-Wmissing-prototypes -Wmissing-declarations.
add --enable-compile-warnings option.
* src/idl-compiler/Makefile.am, src/orb/GIOP/Makefile.am,
src/orb/GIOP/giop-private.h, src/orb/Makefile.am,
src/orb/dynamic/Makefile.am, src/orb/poa/Makefile.am,
src/orb/orb-core/Makefile.am, src/orb/util/Makefile.am,
src/services/name/Makefile.am, test/Makefile.am,
test/everything/Makefile.am, test/inhibit/Makefile.am,
test/poa/Makefile.am (INCLUDES): add $(WARN_CFLAGS).
* src/orb/GIOP/giop-connection.c,
src/orb/GIOP/giop-recv-buffer.c: include correct headers
and make some functions static.
* src/orb/dynamic/dynany.c:
(DynamicAny_DynSequence_get_elements_as_dyn_any): rename to
DynamicAny_DynSequence_get_elements_as_dyn_any, its correct
name.
* src/orb/orb-core/corba-nvlist.c,
src/orb/orb-core/corba-object.c:
src/orb/orb-core/corba-orb.c,
src/orb/orb-core/iop-profiles.c
src/orb/orb-core/orb-core-export.h,
src/orb/orb-core/orbit-object.c:
include correct headers, make some functions static and kill
unused variables.
* src/orb/poa/poa.c:
(ORBit_classinfo_lookup_id): kill unused fuction.
(ORBit_POA_obj_to_ref): kill unused variable.
* test/everything/arrayServer.c., test/everything/client.c
test/everything/pingServer.c, test/everything/server.c:
make some functions static.
* test/poa/poatest-basic01.c, test/poa/poatest-basic02.c,
test/poa/poatest-basic03.c, test/poa/poatest-basic04.c,
test/poa/poatest-basic05.c, test/poa/poatest-basic06.c,
test/poa/poatest-basic07.c, test/poa/poatest-basic08.c,
test/poa/poatest-basic09.c, test/poa/poatest-basic10.c:
include correct headers and make some functions static.
2001-11-16 Mark McLoughlin <mark@skynet.ie>
* include/orbit/poa/poa.h: kill ORBit_POA_object_to_shutdown.
* src/orb/orb-core/corba-object.c:
(CORBA_Object_release_cb): upd.
* src/orb/poa/poa.c:
(PortableServer_POA_id_to_reference): duplicate returned
reference.
2001-11-16 Michael Meeks <michael@ximian.com>
* test/everything/server.c (main): kill sleep.
* test/everything/client.c (main): kill sleep.
2001-11-16 Michael Meeks <michael@ximian.com>
* configure.in: require a linc we can work with.
* src/orb/orb-core/corba-object.c
(ORBit_try_connection): use giop_connection_unref.
(ORBit_objref_find): release the object key - don't
leak it.
* src/orb/GIOP/giop-recv-buffer.c
(giop_connection_handle_input): prune cruft.
* src/orb/GIOP/giop-connection.c
(giop_connection_remove_by_orb): unref the
connection here as well as a close.
(giop_connection_unref): hold the right locks.
(giop_connection_list_remove): don't take the locks.
* src/orb/orb-core/corba-object.c
(CORBA_Object_release_cb): don't close what might be a
shared connection; it'll happen on dispose anyway, use
giop_connection_unref to get locking right.
* src/orb/orb-core/corba-context.c: make it all
look pretty.
2001-11-16 Michael Meeks <michael@ximian.com>
* src/orb/poa/poa.c (PortableServer_POA_servant_to_reference):
dup the reference we return if we return the same twice ...
* src/orb/orb-core/orbit-small.c
(ORBit_small_invoke_adaptor): get the ORB via. the poa
and not the objref.
* src/orb/poa/poa.c (ORBit_POA_object_shutdown): impl.
(ORBit_POA_deactivate_object): free the environment after
setting it up.
* src/orb/orb-core/corba-object.c
(CORBA_Object_release_cb): move the connection close
right to the end; it can re-enter, invoke
ORBit_POA_object_shutdown instead of an unref - the poa
holds a ref too ...
* test/everything/deadReference.c (DeadReferenceObj_test):
release references, kill spurious global.
* test/everything/server.c (TestFactory_createDeadReferenceObj):
release the poa and the poa_current.
* test/everything/pingServer.c (PingPongServer_get),
(PingPongServer_set): don't leak.
(create_ping_pong_servant): upd.
* test/everything/server.c
(TestFactory_createPingPongServer): upd.
* src/orb/orb-core/corba-context.c
(ORBit_Context_demarshal): don't init me as a RootObject,
I'm static.
* src/orb/orb-core/corba-nvlist.c
(CORBA_NVList_free_memory): always blank the type &
value on free.
* src/orb/orb-core/corba-orb.c (CORBA_ORB_create_list):
remove bogus 'no memory' op.
* test/everything/server.c (main): exit cleanly,
release the factory.
2001-11-15 Michael Meeks <michael@ximian.com>
* test/everything/client.c (testException): fix mem
corruption.
* src/orb/GIOP/giop-connection.c
(giop_connection_initiate): don't ref here,
(giop_connection_list_add): ref here instead.
(giop_connection_list_remove): privatize.
(giop_connection_dispose): move locking into
(giop_connection_list_remove): here.
(giop_connection_dispose): protect vs. double disposes.
(giop_connection_list_lookup): accelerate & robustify.
* src/orb/orb-core/iop-profiles.c
(IOP_generate_profiles): re-flow & simplify confusion.
* src/orb/orb-core/orbit-trace.c
(ORBit_trace_value): update so an strace doesn't give
us a thousand writes.
2001-11-15 Mark McLoughlin <mark@skynet.ie>
* src/orb/poa.c (ORBit_POAObject_handle_request): warn
if queueing a request because the POAManager is holding.
2001-11-12 Michael Meeks <michael@ximian.com>
* src/orb/orb-core/orbit-trace.c
(ORBit_trace_header): print pid in decimal.
(ORBit_trace_value): only print printable
characters.
* test/everything/client.c (testPingPong): upd.
* test/everything/pingServer.c
(PingPongServer_opOneWay),
(PingPongServer_pingPong): add method to try and
confuse - no joy.
(PingPongServer_set, PingPongServer_get): impl.
2001-11-12 Michael Meeks <michael@ximian.com>
* src/orb/GIOP/giop-recv-buffer.c (handle_reply):
dump unexpected system exceptions silently.
* test/everything/client.c (testMisc): add ops. on
a deactivated object.
2001-11-12 Michael Meeks <michael@ximian.com>
* src/orb/poa/poa.c (ORBit_POAObject_handle_request):
only free exceptions iff we're not in proc, we
need to return them otherwise.
2001-11-12 Michael Meeks <michael@ximian.com>
* src/orb/GIOP/giop-server.c (giop_server_new):
always pass non blocking flag.
* src/orb/orb-core/corba-object.c
(ORBit_start_servers): don't pass non blocking
flag.
* src/orb/GIOP/giop-connection.c
(giop_connection_initiate): always initate non
blocking connections.
* src/orb/GIOP/giop-recv-buffer.c
(giop_connection_handle_input): use new
linc_connection_read semantics, kills
deadlock, and heinous EAGAIN handling, we now
idle in the mainloop on EAGAIN.
* configure.in: require linc >= 0.1.8 and it's
new linc_connection_read.
2001-11-09 Michael Meeks <michael@ximian.com>
* src/orb/GIOP/giop-recv-buffer.c
(giop_connection_handle_input): close the
connection on a GIOP_CLOSECONNECTION - shock.
* HACKING: update.
2001-11-09 Michael Meeks <michael@ximian.com>
* src/orb/GIOP/giop-recv-buffer.c
(handle_reply): split out of
(giop_recv_list_push): here, kill and fold into
(giop_connection_handle_input): here & simplify.
(giop_recv_buffer_use): kill, confused & unused.
(giop_recv_list_pop_T, giop_recv_list_pop): kill;
unused
(recv_list_push_or_handle): don't do silly things
with lists.
(giop_recv_buffer_init): kill lock init.
(giop_connection_handle_input): don't pile up
GIOP_CLOSECONECTION requests in the bit bucket.
2001-11-09 Michael Meeks <michael@ximian.com>
* include/orbit/GIOP/giop-recv-buffer.h: kill
GIOPMessageInfo, not neccessary.
remove giop_recv_buffer_data_read prototype.
* src/orb/GIOP/giop-recv-buffer.c
(giop_recv_list_push): a crack smoking & inefficient
loop search; re-order compare - most unlikely first,
get request_id only once. re-order locking to be yet
more transparent. Remove the huge, paranoid and
incorrect ( except for Elliot's huge stubs/skels )
message.
(giop_recv_buffer_demarshal): make robust against
duff giop versions.
(giop_recv_buffer_use_buf): simplify, remove bogus
is_auth parameter.
(giop_connection_handle_input): upd. to not pass isauth.
(giop_recv_list_push): add processed concept outline.
2001-11-08 Michael Meeks <michael@ximian.com>
* configure.in: require linc >= 0.1.7
2001-11-08 Michael Meeks <michael@ximian.com>
* src/orb/poa/poa.c (ORBit_POAList_add_child),
(PortableServer_Current_get_POA),
(PortableServer_POA_find_POA),
(PortableServer_POA__get_the_parent),
(PortableServer_POA_get_servant_manager): RootObject
duplicate, not CORBA_Object_duplicate.
* src/orb/orb-core/corba-orb.c
(CORBA_ORB_init): RootObject duplicate.
* src/orb/orb-core/corba-context.c
(CORBA_Context_new): RootObject duplicate.
(CORBA_ORB_get_default_context): ditto.
* src/orb/orb-core/corba-any.c: indent pleasantly
* src/orb/util/genrand.c
(genrand_unix): use p_memzero
* src/orb/GIOP/giop-send-buffer.c
(giop_send_buffer_append_aligned),
(giop_send_buffer_align): use p_memzero.
* src/orb/util/Makefile.am
(liborb_util_la_SOURCES): add orbit-purify.h
* src/orb/dynamic/dynany.c
(DynamicAny_DynAny_release_fn): p_free.
* src/orb/poa/poa-manager.c
(ORBit_POAManager_free_fn): p_free.
* src/orb/poa/poa.c (ORBit_POACurrent_free_fn),
(ORBit_POA_free_fn): p_free.
* src/orb/orb-core/corba-policy.c
(ORBit_Policy_release): p_free.
* src/orb/orb-core/corba-typecode.c
(ORBit_TypeCode_free_fn): p_free.
* src/orb/orb-core/corba-orb.c
(CORBA_ORB_release_fn): p_free
* src/orb/orb-core/corba-object.c
(CORBA_Object_release_cb): p_free
* src/orb/util/orbit-options.c,
* src/orb/util/genrand.c,
* src/orb/util/orbit-util.c,
* src/orb/poa/orbit-adaptor.c,
* src/orb/poa/poa.c,
* src/orb/poa/poa-servants.c,
* src/orb/poa/poa-policy.c,
* src/orb/poa/poa-manager.c,
* src/orb/GIOP/giop-endian.c,
* src/orb/orb-core/corba-orb.c,
* src/orb/orb-core/orbit-object.c,
* src/orb/orb-core/iop-profiles.c: include config.h
* src/orb/orb-core/orb-core-export.h
(p_memzero, p_memwipe, p_free): impl. helpers.
* src/orb/orb-core/corba-context.c
(ORBit_Context_free_fn): p_free.
2001-11-08 Michael Meeks <michael@ximian.com>
* src/orb/GIOP/giop-recv-buffer.c
(giop_connection_handle_input): move here.
(giop_recv_buffer_data_read): kill; fold into the above
to flatten control flow.
(giop_recv_buffer_state_change): privatize.
* src/orb/GIOP/giop-connection.c
(giop_connection_handle_input): move into giop-recv-buffer.c.
* src/orb/GIOP/giop.c (dump): rename to
(giop_dump): and publicise.
* test/everything/server.c: clean &
(TestFactory_createPingPongServer): impl.
(main): upd.
* test/everything/client.c: prune BIG_STUBS cruft,
they'll never work again :-)
(testPingPong): impl.
* test/everything/pingServer.c: impl.
* test/everything/everything.idl: add PingPongServer.
2001-11-06 Johan Dahlin <jdahlin@telia.com>
* test/everything/Makefile.am (Everything_module_la_LIBADD):
Add $(top_builddir)/src/orb/libORBit-2.la
* src/orb/orb-core/Makefile.am (TYPELIB_DIR): fix
to be $(libdir)/orbit-2.0
2001-11-05 Michael Meeks <michael@ximian.com>
* src/orb/GIOP/giop-send-buffer.c
(giop_send_buffer_append_aligned): remove erroneous
assertion - the indirect (system) align and message
align are not synchronized.
(giop_send_buffer_append_string): fix an incredibly
daft bug; accelerate further.
2001-11-02 Abel Cheung <maddog@linux.org.hk>
* configure.in: Update required linc version.
2001-11-02 Michael Meeks <michael@ximian.com>
* src/orb/orb-core/orbit-small.c
(ORBit_small_invoke_async, ORBit_small_invoke_stub),
(ORBit_small_invoke_adaptor),
(ORBit_small_demarshal_async): use tprintf_end_method.
* src/orb/orb-core/orbit-trace.c
(ORBit_trace_timestamp): split out.
(ORBit_trace_header): invoke.
(ORBit_trace_end_method): impl.
* src/orb/orb-core/orbit-small.c
(ORBit_small_unlisten_for_broken),
(ORBit_small_listen_for_broken): tolerate a
NULL object sensibly.
2001-11-01 Michael Meeks <michael@ximian.com>
* src/orb/GIOP/giop-send-buffer.c
(giop_send_buffer_append_string): Optimize more to
the hilt for the common case.
* src/orb/orb-core/corba-object.c
(ORBit_marshal_object): upd.
* src/orb/orb-core/corba-env.c
(ORBit_send_system_exception): upd.
(ORBit_send_user_exception): upd.
* src/orb/orb-core/corba-any.c
(ORBit_marshal_value): upd.
* src/orb/orb-core/orbit-small.c
(ORBit_small_send_user_exception): upd.
* src/orb/orb-core/iop-profiles.c
(IOP_TAG_GENERIC_SSL_SEC_TRANS_marshal),
(IOP_TAG_INTERNET_IOP_marshal),
(IOP_TAG_GENERIC_IOP_marshal),
(IOP_TAG_ORBIT_SPECIFIC_marshal): upd.
* src/orb/orb-core/corba-typecode.c
(CDR_put_string): make a #define.
* src/orb/GIOP/giop-send-buffer.c
(giop_send_buffer_append_string): impl.
* src/orb/orb-core/corba-typecode.c (tc_enc): make
typecode marshaling smaller and faster.
2001-11-01 Michael Meeks <michael@ximian.com>
* Version 2.3.97
2001-11-01 Michael Meeks <michael@ximian.com>
* src/orb/orb-core/corba-typecode.c: populate tk_info
with CORBA_TypeCodes for the empty case, so we don't
have to alloc / free them continualy.
(tc_dec): re-vamp to use faster basic type path.
* src/orb/orb-core/orbit-small.c: s/CORBA_free/ORBit_free/
* src/orb/orb-core/iop-profiles.c: ditto.
* src/orb/orb-core/corba-string.c
(CORBA_string__freekids): use ORBit_free
* src/orb/orb-core/corba-nvlist.c
(ORBit_NamedValue_free): use ORBit_free.
(CORBA_NVList_free_memory): ditto.
* test/everything/client.c (dummy_cb): impl.
(testSegv): upd. to test unlisten.
(testAnyStrSeq): add
(main): call it.
* test/everything/everything.idl: add method.
* test/everything/anyServer.c
(AnyServer_opAnyStrSeq): forward port
* src/orb/orb-core/orbit-small.c
(ORBit_small_unlisten_for_broken): impl. sigh, there
had to be something to break the API freeze.
2001-10-31 Mark McLoughlin <mark@skynet.ie>
* include/orbit/orb-core/corba-ir.h:
* include/orbit/orb-core/corba-nvlist-type.h:
* include/orbit/orb-core/orb-defs.h:
* include/orbit/util/os-feature-alloca.h:
* include/orbit/util/thread-safety.h
* src/orb/util/genrand.h: remove unused headers.
2001-10-31 Mark McLoughlin <mark@skynet.ie>
* configure.in: version 2.3.96.
2001-10-31 Mark McLoughlin <mark@skynet.ie>
* test/poa/Makefile.am: add poatest-basic-shell.h.
2001-10-31 Mark McLoughlin <mark@skynet.ie>
I feel violated. What's bonobo-config doing poking
around with this stuff?
* include/orbit/orb-core/allocators.h: expose
ORBit_alloc_tcval.
* include/orbit/orb-core/corba-typecode.h: expose
ORBit_TypeCode_epv.
* include/orbit/orb-core/orbit-object.h: expose
ORBit_RootObject_init.
2001-11-01 Michael Meeks <michael@ximian.com>
* src/orb/orb-core/orbit-small.c
(ORBit_small_get_servant): tolerate a NULL obj.
* test/everything/client.c (testMisc): add test.
2001-11-01 Michael Meeks <michael@ximian.com>
* src/orb/orb-core/orbit-small.c
(ORBit_small_get_servant): fixup.
(get_status): use correct LINC_CONNECTION enum.
* test/everything/client.c (testMisc): use in_proc,
not evil hacks, expand to test new methods.
(testSegv): upd, & listen for 'broken'
2001-11-01 Michael Meeks <michael@ximian.com>
* src/orb/orb-core/orbit-small.c
(ORBit_small_get_servant, get_status),
(ORBit_small_get_connection_status),
(ORBit_small_listen_for_broken): impl.
2001-10-31 Michael Meeks <michael@ximian.com>
* src/orb/orb-core/orbit-small.c
(ORBit_small_get_servant),
(ORBit_small_get_connection_status),
(ORBit_small_listen_for_broken): stub - impl. to follow.
2001-10-30 Mark McLoughlin <mark@skynet.ie>
* include/orbit/util/orbit-util.h: make ALIGN_ADDRESS publicly
available. It seems bonobo-config uses it. hmmm.
2001-10-30 Mark McLoughlin <mark@skynet.ie>
* include/orbit/*/*.h: wrap all internal defines in #ifdef
ORBIT2_INTERNAL_API and all defines for the benefits of
stubs/skels in #ifdef ORBIT2_STUBS_API.
* include/orbit/orb-core/Makefile.am: don't install empty
files.
* include/orbit/util/Makefile.am: ditto.
* src/idl-compiler/Makefile.am: define ORBIT2_INTERNAL_API.
* src/idl-compiler/orbit-idl-c-common.c:
(orbit_idl_output_c_common): define ORBIT2_STUBS_API in
generated code.
* src/idl-compiler/orbit-idl-c-skels.c:
(orbit_idl_output_c_skeletons): ditto.
* src/idl-compiler/orbit-idl-c-stubs.c:
* (orbit_idl_output_c_stubs): ditto.
* src/idl-compiler/orbit-idl-c-headers.c: (ch_output_types):
don't define exception marshallers in small mode.
* src/orb/GIOP/Makefile.am:
* src/orb/Makefile.am:
* src/orb/dynamic/Makefile.am:
* src/orb/orb-core/Makefile.am:
* src/orb/poa/Makefile.am:
* src/orb/util/Makefile.am: define ORBIT2_INTERNAL_API.
* src/orb/util/genrand.c: don't include genrand.h.
* src/orb/util/genrand.h: kill, duplicate of
include/orbit/util/orbit-genrand.h.
* test/Makefile.am:
* test/everything/Makefile.am: define ORBIT2_INTERNAL_API.
2001-10-31 Michael Meeks <michael@ximian.com>
* src/orb/poa/poa.c (return_exception): if in-proc,
we have no valid recv_buffer, so just return - ev is
the actual exception context.
2001-10-31 Michael Meeks <michael@ximian.com>
* src/orb/orb-core/corba-env.c
(CORBA_exception_free_T): impl & upd.
(CORBA_exception_free): do correct locking.
* test/everything/client.c
(testException): test copying.
* src/orb/orb-core/corba-env.c
(CORBA_exception__alloc),
(CORBA_exception__copy),
(CORBA_exception__freekids): move from bonobo.
2001-10-30 Michael Meeks <michael@ximian.com>
* src/orb/orb-core/orbit-object.c
(ORBit_RootObject_shutdown): upd. to account for the ORB
hanging around.
* src/orb/orb-core/corba-orb.c (CORBA_ORB_destroy): set
exceptions on an unclean shutdown, release default ctx.
(CORBA_ORB_release_fn): check refs where we have an ev,
don't release default ctx here.
2001-10-29 Mark McLoughlin <mark@skynet.ie>
* include/orbit/poa/poa-basics.h
(PortableServer_ServantBase__epv): added extra members
to the epv to handle servant refcounting and CORBA::Object
method overiding.
* include/orbit/poa/poa.h: upd.
* src/orb/poa/poa-servants.c:
(PortableServer_ServantBase__get_interface),
(PortableServer_ServantBase__is_a),
(PortableServer_ServantBase__add_ref),
(PortableServer_ServantBase__remove_ref),
(PortableServer_RefCountServantBase__add_ref),
(PortableServer_RefCountServantBase__remove_ref),
(PortableServer_RefCountServantBase__init),
(PortableServer_RefCountServantBase__fini): impl.
(PortableServer_ServantBase__init): initialise function
pointers if not already set.
(PortableServer_ServantBase__fini): upd.
* include/orbit/orb-core/corba-orb-type.h: add
CORBA_InterfaceDef definition to keep poa headers
happy.
2001-10-30 Michael Meeks <michael@ximian.com>
* src/orb/poa/poa.c (ORBit_POA_handle_request): make it
more robust vs. NULL pobjs.
2001-10-29 Michael Meeks <michael@ximian.com>
* configure.in: bump required glib version.
2001-10-27 Michael Meeks <michael@ximian.com>
* src/orb/orb-core/corba-typecode.c: re-order to kill
redundant forward prototypes.
(ORBit_decode_CORBA_TypeCode): return a typecode with a
single reference - not no reference.
(tc_dec): ditto duplicate here.
(tc_dec_tk_sequence, tc_dec_tk_struct, tc_dec_tk_union),
(tc_dec_tk_alias, tc_dec_tk_except, tc_dec_tk_array): update
all callers to not do their own duplicates.
* src/orb/orb-core/corba-any.c
(ORBit_demarshal_value, ORBit_demarshal_any): push back
the refs into ORBit_decode_CORBA_TypeCode.
* test/everything/client.c (testMisc): fix reference leak.
* src/orb/orb-core/orbit-object.c (ORBit_RootObject_shutdown):
add a total ref count, always taken regardless of locking.
(ORBit_RootObject_duplicate, do_unref),
(ORBit_RootObject_duplicate_T),
(ORBit_RootObject_duplicate): upd.
* src/orb/orb-core/corba-orb.c (CORBA_ORB_release_fn):
release the default context.
* test/everything/client.c (testMisc): regression test.
2001-10-27 Michael Meeks <michael@ximian.com>
* test/test-dynany.c (main): shutdown the ORB correctly.
* test/everything/server.c (TestFactory_segv): use exit
instead of a segv - more friendly.
* test/poa/poatest-basic*.c: include poatest-basic-shell.h
create into the global child_poa so we can destroy it later.
don't unref the child_poa, leave that to the shell.
* test/poa/poatest-basic-shell.h: add.
* test/poa/poatest-basic-shell.c (main): destroy any child
poas we have created.
* src/orb/poa/poa.c (ORBit_POA_new): duplicate the poa we
return, one ref is released by 'POA_destroy' and another
by CORBA_Object_release.
(ORBit_POAObject_handle_request): survive even if the
poa manager is dead.
(PortableServer_POA_create_POA): remove extra duplicate.
* src/orb/orbit-init.c (ORBit_init_internals): release the
references after set_initial_reference.
* src/orb/poa/poa.c (ORBit_POA_destroy): remove superstition
about the RootPOA entry.
2001-10-26 Michael Meeks <michael@ximian.com>
* src/orb/orb-core/corba-orb.c (CORBA_ORB_release_fn): don't
destroy the initial refs here - some of them are poas and hold
refs on the ORB so we never get here ...
(ORBit_service_list_free_ref): use locking mode.
(CORBA_ORB_destroy): unref the initial_refs here instead,
we don't need to explicitely kill the poas ourselves here.
(CORBA_ORB_shutdown): destroy the current poa as well.
* test/everything/client.c (main): release the orb
after destroy.
* test/everything/server.c (main): ditto.
* src/orb/orb-core/corba-orb.c
(CORBA_ORB_init): split out static ORB variable, so
we can NULL it on destroy and seek leaks.
(CORBA_ORB_destroy): check we are destroying the right
thing, NULL the pointer.
(CORBA_ORB_release_fn): call ORBit_RootObject_shutdown,
to see if we leaked anything.
* src/orb/orb-core/corba-object.c (ORBit_objref_find):
kill deadlock.
* src/orb/orb-core/orbit-object.c
(ORBit_RootObject_duplicate): actualy do some locking !
(ORBit_RootObject_duplicate_T): impl.
(ORBit_RootObject_release_T): duplicate into
(ORBit_RootObject_release): here - for more speed, we
gamble that robj->refs == ORBIT_REFCOUNT_STATIC is not
a likely intermediate for an incomplete set of a normal
ref count: garenteed pretty much.
(do_unref): split out the guts, add alive object count.
(ORBit_RootObject_init): count live objects if there is
no locking.
(ORBit_RootObject_shutdown): impl.
2001-10-26 Michael Meeks <michael@ximian.com>
* docs/FAQ: add a first pass at a FAQ.
* src/orb/orb-core/orbit-typelib.c
(ORBit_get_typelib_paths): use g_getenv not getenv.
* test/everything/Makefile.am (orbittypelibdir):
install in orbit-2.0
* src/orb/orb-core/orbit-typelib.c (add_if_unique):
use the orbit-2.0 directory for type libs.
2001-10-23 Mark McLoughlin <mark@skynet.ie>
* include/orbit/orb-core/Makefile.am: reverse Michael's
change.
2001-10-24 Michael Meeks <michael@ximian.com>
* src/orb/GIOP/giop-server.c (giop_server_destroy):
kill misleadingly named method.
(giop_server_class_init): don't init it, or setup
parent_class
2001-10-24 Michael Meeks <michael@ximian.com>
* include/orbit/orb-core/Makefile.am: prune broken special
case for orbit-interface.idl.
* test/everything/client.c (main): upd, use linc_set_threaded,
requires HEAD linc; sorry.
2001-10-23 Michael Meeks <michael@ximian.com>
* src/orb/GIOP/giop-recv-buffer.c
(giop_recv_buffer_state_change): re-format to make pretty.
(giop_recv_buffer_handle_fragmented): return GIOP_MSG_INVALID
* src/orb/GIOP/giop-connection.c
(giop_connection_handle_input): drasticaly simplify crack
smoking flow control, release cnx->incoming_mutex much
earlier to avoid deadlock.
2001-10-18 Mark McLoughlin <mark@skynet.ie>
* include/orbit/orb-core/corba-orb-type.h
(CORBA_ORB_type): kill poa_current, make poa_current_invocations
a GSList and rename to current_invocations.
(ORBit_InitialReference): kill.
* include/orbit/orb-core/corba-orb.h,
src/orb/orb-core/orb-core-private.h,
src/orb/orb-core/corba-object.c:
(CORBA_ORB_set_initial_reference): rename to
ORBit_set_initial_reference, privatise and simplify arguments.
(ORBit_service_list_add_id): kill ugly _maximum++ hack.
(ORBit_service_list_free_ref): impl.
(CORBA_ORB_release_fn): unref all initial references.
(CORBA_ORB_resolve_initial_references): update.
* src/orb/poa/poa.c (ORBit_POACurrent_get_object): update.
(ORBit_POAObject_handle_request): ditto.
(PortableServer_Current_get_POA): ditto.
(PortableServer_Current_get_object_id): ditto.
(PortableServer_POA_servant_to_id): ditto.
(PortableServer_POA_servant_to_reference): ditto.
(CORBA_ORB_list_initial_services): update.
* src/orb/orbit-init.c (ORBit_init_internals): update, and
create + register a "POACurrent" reference.
* include/orbit/poa/poa-types.h
(ORBIT_STUB_PreCall, PostCall): update.
* include/orbit/poa/poa.h(ORBit_POAInvocation): kill.
* src/orb/poa/orbit-poa.h: add ORBit_POACurrent_new.
* test/everything/client.c, test/everything/everything.idl,
test/everything/server.c, test/everything/deadReference.c,
test/everything/test.sh: added regression test for dead
server-side references and ORB initial services.
* src/idl-compiler/orbit-idl-c-stubs.c (cs_small_output_stub):
update.
* configure.in: bump up ORBIT_SERIAL.
2001-10-18 Michael Meeks <michael@ximian.com>
* test/everything/client.c (testSegv): invoke a remote segv.
(run_tests): upd.
* test/everything/server.c (TestFactory_segv): impl. a segv.
* src/orb/GIOP/giop-connection.c
(giop_connection_handle_input): kill uber wierd error
handling, and make return value always TRUE.
2001-10-18 Michael Meeks <michael@ximian.com>
* include/orbit/orb-core/corba-object-type.h: make type_id
a GQuark to save space, and time.
* src/orb/poa/poa.c (ORBit_POA_obj_to_ref): upd.
* src/orb/orb-core/corba-object.c (g_CORBA_Object_hash),
(CORBA_Object_release_cb, ORBit_objref_new, ORBit_objref_find):,
(ORBit_marshal_object, CORBA_Object_is_a): upd.
2001-10-17 jacob berkman <jacob@ximian.com>
* Makefile.am: orbit-config is no more
2001-10-18 Michael Meeks <michael@ximian.com>
* src/orb/GIOP/giop-connection.c (giop_connection_handle_input):
hold a ref on the connection whilst handling the input.
* src/orb/GIOP/giop-recv-buffer.c (giop_recv_list_push):
release the incoming mutex around the ent. call,
set the cnx->incoming_msg to NULL much earlier.
* src/orb/orb-core/iop-profiles.c (IOP_profiles_copy): impl.
(ORBit_demarshal_IOR): kill redundant gbuf = buf, no nasty
global variables thank you.
(IOP_ObjectKey_copy, IOP_components_copy),
(IOP_TAG_COMPLETE_OBJECT_KEY_copy),
(IOP_TAG_GENERIC_SSL_SEC_TRANS_copy),
(IOP_TAG_SSL_SEC_TRANS_copy, IOP_TAG_CODE_SETS_copy),
(IOP_UnknownComponent_copy, IOP_component_copy),
(IOP_components_copy, IOP_TAG_INTERNET_IOP_copy),
(IOP_TAG_GENERIC_IOP_copy),
(IOP_TAG_ORBIT_SPECIFIC_copy),
(IOP_TAG_MULTIPLE_COMPONENTS_copy),
(IOP_TAG_UnknownProfile_copy),
(IOP_profile_copy, IOP_profiles_copy): impl.
* src/orb/orb-core/corba-object.c (CORBA_Object_release):
misc. style cleans.
(ORBit_objref_get_proxy): impl. to make a local object
able to access itself as if remote.
* src/orb/orb-core/orbit-small.c
(ORBit_small_invoke_async): if we have no local profiles,
create some.
* test/everything/client.c (testAsync): beef up regression
tests to catch the above.
* test/everything/client.c (testAsync): perform
some normal work while waiting for the async
method result.
Lots of stylistic seds.
* src/orb/orb-core/orbit-trace.c
(ORBit_trace_header): impl & add timing information.
* src/orb/orb-core/orbit-small.c
(ORBit_small_invoke_adaptor),
(orbit_small_marshal): use it
2001-10-16 jacob berkman <jacob@ximian.com>
* src/orb/orb-core/Makefile.am: fix to dist from a clean checkout
* autogen.sh: don't look in libIDL
* configure.in (AC_OUTPUT): generate orbit2-config
2001-10-16 Ross Golder <rossg@golder.org>
* orbit-config.in: replaced with orbit2-config.in
* orbit2-config.in: use pkg-config ORBit2 for --cflags
* ORBit.spec.in: update.
* ORBit2.m4: was generating stubs etc with older IDL compiler.
2001-10-16 Mark McLoughlin <mark@skynet.ie>
* Makefile.am (EXTRA_DIST): add HACKING AND MAINTAINERS.
Remove ORBit.spec.in, *.pc.in which are automatically
included.
* include/orbit/Makefile.am (EXTRA_DIST): remove
orbit-config.h.in.
* src/orb/dynamic/Makefile.am, src/orb/orb-core/Makefile.am,
src/orb/poa/Makefile.am, test/Makefile.am,
test/everything/Makefile.am, test/inhibit/Makefile.am,
test/poa/Makefile.am: remove idl compiler generated files
before dist-ing.
2001-10-13 Michael Meeks <michael@ximian.com>
* src/orb/orb-core/orbit-small.c
(ORBit_small_demarshal_async): fix brokenness.
* test/everything/client.c (test_BasicServer_opStringA_cb),
(test_BasicServer_opStringA): impl async method with ret.
(testAsync): upd.
2001-10-13 Michael Meeks <michael@ximian.com>
* src/orb/GIOP/giop-recv-buffer.c: lots of debugging
instrumentation.
* src/orb/orb-core/orbit-small.c (ORBit_small_invoke_stub):
un-queue the reply tag for oneway methods - there is no reply.
(ORBit_small_invoke_async): ditto.
* src/orb/GIOP/giop-recv-buffer.c (giop_recv_list_zap):
iterate over the full list, invoke the unthreaded cb
when the connection is dead, and unlink before invoke.
(giop_recv_list_push): unlink from giop_queued_messages.
* src/orb/orb-core/orbit-small.c (async_recv_cb): upd,
and set COMM_FAILURE on a broken method ...
(ORBit_small_demarshal_async): impl. to simplify
de-marshaling.
(ORBit_small_invoke_async): upd.
2001-10-11 Michael Meeks <michael@ximian.com>
* src/orb/GIOP/giop-recv-buffer.c (giop_recv_buffer_get):
don't do a blocking iteration, check the queue first.
(giop_recv_list_push): re-jig locking.
* test/everything/client.c (testAsync): impl.
(test_BasicServer_opExceptionA): impl.
(test_BasicServer_opExceptionA_cb): impl.
* src/orb/GIOP/giop-recv-buffer.c
(giop_recv_list_setup_queue_entry_async): impl.
* src/orb/orb-core/orbit-small.c (orbit_small_marshal): split
out the recv_list_setup_queue_entry.
(ORBit_small_invoke_stub): put it here instead.
(async_recv_cb): impl.
(ORBit_small_invoke_async): impl.
* src/orb/GIOP/giop-recv-buffer.c (giop_recv_list_push): add
an async callback on a GIOPMessageQueueEntry
2001-10-02 Mark McLoughlin <mark@skynet.ie>
* test/Makefile.am(test_dynany_LDFLAGS): add -lm
for non-glibc systems.
2001-10-02 Glynn Foster <glynn.foster@sun.com>
* autogen.sh, configure.in: Dumb commit to fix
spelling mistake and remove build fail references to
ORBit and replace with ORBit2. Yeah, this is lame.
2001-10-02 Laszlo Peter <laca@ireland.sun.com>
* src/orb/orb-core/iop-profiles.c:
change g_string_printfa to g_string_append_printf
because it was renamed in glib.
* test/ior-decode.c: ditto.
2001-10-03 Michael Meeks <michael@ximian.com>
* src/orb/orb-core/orbit-small.c
(ORBit_small_invoke_adaptor): use the incomming buffer's
giop_version on the reply, not the connection's version.
FIXME: either the connections ver. negotiation is broken
or using it was broken - investigate.
* test/everything/client.c (main): add a 'success' printf.
* src/orb/orb-core/orbit-small.c
(ORBit_small_invoke_adaptor): trace all incoming data.
* src/orb/orb-core/orbit-debug.h: include stdio if
debug is turned on for fprintf.
* src/orb/orb-core/iop-profiles.c
(IOP_TAG_ORBIT_SPECIFIC_marshal): output the IIOP version
fields - because ORBit 1 expects this.
(IOP_TAG_ORBIT_SPECIFIC_demarshal): ignore the IOP version
fields.
2001-09-25 Mark McLoughlin <mark@skynet.ie>
* Version 2.3.95.
2001-09-24 Mark McLoughlin <mark@skynet.ie>
* Makefile.am(SUBDIRS): remove libIDL - this is to built
seperately.
* configure.in: cleanup libtool versioning. Use pkg-config
to check for dependancies. Remove libIDL config call.
* ORBit-2.0.pc.in, ORBit-CosNaming-2.0.pc.in,
ORBit.spec.in: update.
* src/idl-compiler/Makefile.am: update and remove all libIDL
build rules.
* src/orb/Makefile.am: update and don't use libtool's -release
flag which makes binary compatibility impossible.
* src/orb/GIOP/Makefile.am: update. Don't supply version-info
to libtool.
* src/orb/dynamic/Makefile.am, src/orb/orb-core/Makefile.am,
src/orb/poa/Makefile.am, src/orb/util/Makefile.am,
src/services/name/Makefile.am, test/Makefile.am,
test/everything/Makefile.am, test/inhibit/Makefile.am,
test/poa/Makefile.am: update.
2001-09-24 Mark McLoughlin <mark@skynet.ie>
* test/Makefile.am: -lm for test-dynany.
2001-09-21 Mark McLoughlin <mark@skynet.ie>
* src/orb/GIOP/giop-recv-buffer.c,
include/orbit/GIOP/giop-recv-buffer.c
(giop_recv_buffer_reply_status): macroise - another forte fix.
2001-09-21 Mark McLoughlin <mark@skynet.ie>
* src/orb/orb-core/corba-typecode.c (CDR_get): remove
unused align param. Tidy up macros, hard code the
CDR alignments. Fixes a forte build problem.
2001-09-20 Mark McLoughlin <mark@skynet.ie>
* src/orb/GIOP/giop-connection.c (giop_connection_handle_input):
If linc_connection_read returns 0 and was not passed a length
of 0, then the connection has been closed. Unlock incoming_mutex
and change state to LINC_DISCONNECTED. Clients should no longer
hang when servers have dumped code while servicing a request.
2001-09-20 Mark McLoughlin <mark@skynet.ie>
* ORBit-2.0.pc.in (Requires): add linc.
* .cvsignore, src/idl-compiler/.cvsignore,
src/services/name/.cvsignore, test/.cvsignore: update.
2001-09-19 Havoc Pennington <hp@redhat.com>
* src/idl-compiler/Makefile.am (orbit_idl_2_SOURCES): don't
install orbit-idl2.h, apparently it isn't used.
* ORBit-CosNaming-2.0.pc.in (Libs): update
* ORBit-2.0.pc.in (orbit_idl): orbit-idl-2
* test/Makefile.am (ior_decode_2_SOURCES): rename ior-decode to
ior-decode-2
* src/services/name/Makefile.am (libORBitservicesincludedir): put
ORBitservices inside /usr/include/orbit to avoid ORBit1 conflicts
(lib_LIBRARIES): rename libname-server to libname-server-2
* src/orb/poa/Makefile.am (IDL): s/orbit-idl/orbit-idl-2/
* src/orb/orb-core/Makefile.am: s/orbit-idl/orbit-idl-2/
* Makefile.shared (IDL_COMPILER): s/orbit-idl/orbit-idl-2/
* src/idl-compiler/Makefile.am: s/orbit-idl/orbit-idl-2/
* src/services/name/Makefile.am: s/name-client/name-client-2/
s/orbit-name-server/orbit-name-server-2/
2001-09-19 Mark McLoughlin <mark@skynet.ie>
* src/orb/orb-core/Makefile.am: revert Darin's patch. That
header is not generated by this rule.
2001-09-19 Darin Adler <darin@bentspoon.com>
* src/orb/orb-core/Makefile.am: Fix build by mentioning the
generated header file explicitly as a target. Otherwise, the
dependencies trigger the default orbit-idl compile rule,
which uses the wrong flags.
2001-09-19 Mark McLoughlin <mark@skynet.ie>
Implement orbitrc option handling.
* src/orb/orb-core/corba-orb.c
(ORBit_proto_use): fix typo.
(orbit_supported_options): move orbitrc options.
* src/orb/util/Makefile.am: define ORBIT_SYSTEM_RCFILE.
* src/orb/util/orbit-options.c,
src/orb/util/orbit-options.h
(ORBit_option_set): change options_list to const.
(ORBit_option_rc_parse): impl.
(ORBit_option_parse): rename to ORBit_option_command_line_parse.
(ORBit_option_parse): impl.
(orbit_sysrc_options): add orbitrc options.
2001-09-19 Raja R Harinath <harinath@cs.umn.edu>
* src/orb/orb-core/corba-typecode.c: Have
definitions of '*_struct's agree with declarations
in include/orbit/orb-core/corba-typecode.h.
2001-09-19 Raja R Harinath <harinath@cs.umn.edu>
Fixes bug #60730
* Makefile.shared: Make dependency output file name
agree with pattern used for IDL_DEPS_MAGIC.
2001-09-18 Mark McLoughlin <mark@skynet.ie>
Port command line option handling from ORBit-0.5.x.
* src/orb/util/orbit-options.[ch]: two new files with two
new functions - ORBit_option_set and ORBit_option_parse
courtesy of Dick I think.
* src/orb/util/Makefile.am: update.
* src/orb/orb-core/corba-orb.c,
src/orb/orb-core/orb-core-private.h
(ORBit_proto_use): impl.
Added all of the sensible options from ORBit-0.5.x. Only
the IIOP protocol options are implemented as yet.
* src/orb/orb-core/corba-object.c(ORBit_start_servers):
check to see if we should use the protocol before starting
a server using that protocol.
2001-09-18 Mark McLoughlin <mark@skynet.ie>
* src/orb/orb-core/Makefile.am: depend on $(IDL_COMPILER)
not on $(IDL). hmmm.
2001-09-18 Jens Finke <jens@gnome.org>
* ORBit.spec.in: Updated, matches gpp requirements now, renamed the
package to ORBit2 and reworked the files section.
2001-09-17 Mark McLoughlin <mark@skynet.ie>
* Makefile.shared: s/DEPS_MAGIC/IDL_DEPS_MAGIC/. Using
the same variable name used by automake causes automake
to get confused. This was causing automatic Makefile
dependancy tracking to not work.
2001-09-17 Mark McLoughlin <mark@skynet.ie>
* src/orb/poa/Makefile.am: remove bogus BUILT_SOURCE
dependancy.
* src/orb/poa/poa.c: clean up includes. Don't include
corba-ops.h.
* test/inhibit/test-inhibit.c: include stdio.h.
2001-09-17 Mark McLoughlin <mark@skynet.ie>
* include/orbit/orb-core/orbit-small.h: don't include
IDL.h.
* src/orb/GIOP/giop.c: include stdio.h.
* src/orb/orb-core/orbit-typelib.c
(ORBit_iinterface_from_idl): kill. This is never going
to be implemented as it would require linking against
libIDL.
Also include stdlib.h.
2001-09-11 Mark McLoughlin <mark@skynet.ie>
* src/orb/orb-core/iop-profiles.c
(IOP_profile_get_info): don't forget to return TRUE.
* include/orbit/GIOP/giop-connection.h,
src/orb/GIOP/giop-connection.c
(giop_connection_from_fd): this function is unused
and unneeded. fds are handled inside linc.
2001-09-10 Mark McLoughlin <mark@skynet.ie>
* test/ior-decode.c: fixup object key handling.
* include/orbit/GIOP/giop-server.h,
src/orb/GIOP/giop-server.c: minor tidying.
2001-09-09 Michael Meeks <michael@ximian.com>
* src/orb/orb-core/corba-object.c
(get_small_skel_CORBA_Object): make impl non NULL to
simplify checks.
* test/everything/client.c (testMisc): expand regression
tests.
* src/orb/poa/poa.c (ORBit_POAObject_handle_request):
return exceptions that we have thrown, re-organise the
exception throwing code to flow more smoothly.
(return_exception): impl; ie. with the old 'Lee' stubs,
we have no way to tell that the method was oneway - so
we might stil try and return an exception - another nail
in it's coffin.
2001-09-09 Michael Meeks <michael@ximian.com>
* src/orb/orb-core/corba-typecode.c: fix alignment of
CORBA_TC_Object, or we get serious marshaling issues.
2001-09-06 Mark McLoughlin <mark@skynet.ie>
* src/orb/orb-core/corba-object.c
(g_CORBA_Object_equal): compare object keys.
(ORBit_objref_find): sync the object keys before
looking up the object.
(ORBit_try_connection): sync object keys in
forward locations profiles.
* src/orb/orb-core/iop-profiles.c,
src/orb/orb-core/iop-profiles.h
(IOP_profile_find): remove unused.
(IOP_profile_dump): the object key is never in the
profiles anymore.
(IOP_profiles_sync_objkey): impl.
(IOP_profile_get_info): remove objkey arg.
(IOP_ObjectKey_equal): export.
(IOP_profile_equal): don't compare object keys.
(IOP_component_free, IOP_TAG_INTERNET_IOP_free,
IOP_TAG_ORBIT_SPECIFIC_free): don't free the object key.
2001-09-04 Mark McLoughlin <mark@skynet.ie>
* src/orb/poa/Makefile.am,
src/orb/dynamic/Makefile.am,
src/orb/orb-core/Makefile.am: add --noheaders
options to fix build dependancy problem and remove
headers from BUILT_SOURCES.
2001-09-04 Mark McLoughlin <mark@skynet.ie>
* src/orb/orb-core/corba-orb.c(CORBA_ORB_shutdown):
quit linc's main loop.
2001-09-03 Maciej Stachowiak <mjs@noisehavoc.org>
* Makefile.shared: Re-enable generating deps, fixing a potential
distcheck-breaking problem.
* src/orb/orb-core/Makefile.am: Re-disable generating headers;
they are generated in include/orbit/orb-core.
2001-09-03 Mark McLoughlin <mark@skynet.ie>
* src/idl-compiler/orbit-idl-c-headers.c
(ch_output_const_dcl): implement the unsigned
check correctly. Michael should have more faith
in the splendifuredness of libIDL ;)
2001-09-03 Mark McLoughlin <mark@skynet.ie>
* src/orb/orb-core/corba-any.c,
src/orb/orb-core/orb-core-private.h
(ORBit_find_alignment): kill - we have that info
in the TypeCode now.
* src/orb/dynamic/dynany.c,
src/orb/orb-core/allocators.c,
src/orb/orb-core/corba-any.c,
src/orb/orb-core/orbit-trace.c: update for
above change.
2001-09-03 Mark McLoughlin <mark@skynet.ie>
* src/idl-compiler/orbit-idl-c-typecode.c:
Big cleanup. Split out the generation of individual
TypeCode members from cbe_tc_generate into seperate
functions. Also seperate functions for various anon
arrays.
2001-09-01 Darin Adler <darin@bentspoon.com>
* src/orb/orb-core/.cvsignore: New generated file that needs
ignoring.
2001-08-31 Mark McLoughlin <mark@skynet.ie>
* include/orbit/orb-core/corba-typecode.h:
(CORBA_TypeCode_struct): fill unused flags,
add c_align.
* include/orbit/orb-core/orb-types.h: add alignment
macro for fixed types.
* src/idl-compiler/orbit-idl-c-typecode.c
(orbit_find_c_alignment) impl.
* src/orb/orb-core/corba-any.c(ORBit_find_alignment):
replace with temporary wrapper.
* src/orb/orb-core/corba-typecode.c
(ORBit_TC_find_c_alignment): impl.
(tc_dec): update.
2001-08-30 Mark McLoughlin <mark@skynet.ie>
* acconfig.h, configure.in,
include/orbit/orbit-config.h.in:
move ALIGNOF defines out of config.h
and into public view. Rename to ORBIT_ALIGNOF*.
* include/orbit/orb-core/orb-types.h,
src/idl-compiler/orbit-idl-passes.c,
src/orb/orb-core/allocators.c,
src/orb/orb-core/corba-any.c: update.
2001-08-29 Mark McLoughlin <mark@skynet.ie>
* src/orb/orb-core/corba-any.c: minor cleanups.
2001-08-28 Mark McLoughlin <mark@skynet.ie>
* src/orb/orb-core/corba-any.c
(ORBit_find_alignment): no need to recurse for aliases.
(ORBit_gather_alloc_info): ditto.
(ORBit_get_union_switch): ditto.
(ORBit_demarshal_value): ditto.
(ORBit_copy_value_core): ditto.
(ORBit_value_equivalent): ditto.
(ORBit_marhsal_value): ditto and fix silly bug with
previous commit.
2001-08-28 Mark McLoughlin <mark@skynet.ie>
* src/orb/orb-core/corba-any.c(ORBit_marhsal_value):
cleanup and document.
2001-08-28 Mark McLoughlin <mark@skynet.ie>
* src/orb/GIOP/giop-send-buffer.c
(giop_send_buffer_append_aligned): kill
unused indirect_left.
* src/orb/orb-core/corba-any.c(ORBit_marhsal_value):
Use giop_send_buffer_append_aligned when appropriate.
Fixup long long and long double cases.
* test/everything/: added long long regression test.
2001-08-28 Mark McLoughlin <mark@skynet.ie>
* include/orbit/orb-core/corba-any-type.h:
kill ORBit_marshal_value_info_struct.
* include/orbit/orb-core/corba-any.h,
/src/orb/orb-core/corba-any.c
(ORBit_marshal_value): remove
ORBit_marshal_value_info arg, special case
boolean/char/octet sequences and arrays.
(ORBit_marshal_arg): update ORBit_marshal_value call.
(ORBit_marshal_any): ditto.
* src/orb/orb-core/orbit-small.c
(orbit_small_marshal): ditto.
* src/orb/orb-core/orbit-trace.c
(ORBit_trace_value): kill ORBit_marshal_value_info.
2001-08-27 Mark McLoughlin <mark@skynet.ie>
* test/everything/server.c
(test_TestFactory__fini): free context ref.
(test_TestFactory_Servant): free poa ref.
2001-08-27 Mark McLoughlin <mark@skynet.ie>
* src/orb/orb-core/iop-profiles.c
(IOP_component_free): free object key.
(IOP_TAG_INTERNET_IOP_free): ditto.
(IOP_TAG_ORBIT_SPECIFIC_free): ditto.
Note: To avoid deadlock use ORBit_free_T, even
though the lock is not neccessarily taken.
This doesn't matter, because no RootObjects
are affected.
2001-08-27 Mark McLoughlin <mark@skynet.ie>
* src/orb/poa/poa.c(ORBit_POA_setup_root): release
the policy.
2001-08-27 Mark McLoughlin <mark@skynet.ie>
* configure.in, ORBit-2.0.pc.in: removed
THREADLIBS stuff. Handled by linc.
2001-08-24 Michael Meeks <michael@ximian.com>
* Version 2.3.94
* Makefile.shared: don't generate .deps - totaly broken.
* test/Makefile.am: dynany.idl not .idk !
* src/idl-compiler/orbit-idl-main.c (main): use
the full filename not the basename !
* src/idl-compiler/orbit-idl-c-backend.c
(out_for_pass): create the .deps directory if it doesn't
exist - spew only warnings.
* src/orb/orb-core/Makefile.am: why not generate the
headers we go on to include ?
* src/idl-compiler/orbit-idl-c-backend.c
(out_for_pass): print the correct name of what it failed
to open...
2001-08-23 Mark McLoughlin <mark@skynet.ie>
* src/orb/orb-core/allocators.c
(ORBit_freekids_via_TypeCode_T): unref the
object reference.
* src/orb/orb-core/corba-policy.c
(CORBA_Policy_destroy): don't unref the
object - that's CORBA_Object_release's job.
2001-08-23 Michael Meeks <michael@ximian.com>
* configure.in: require linc 0.1.4
bump version to 2.3.94
2001-08-23 Sander Vesik <Sander.Vesik@sun.com>
* configure.in: check for popt.h
2001-08-23 Mark McLoughlin <mark@skynet.ie>
* test/poa/poatest-basic??.c:
do the policy thang correctly.
2001-08-23 Mark McLoughlin <mark@skynet.ie>
Bunch of warnings fixes.
* libIDL/lexer.l, libIDL/parser.y,
libIDL/util.c,
src/idl-compiler/orbit-idl-c-headers.c:
cast char to int for isspace() etc.
* src/orb/GIOP/giop-recv-buffer.c
(giop_recv_list_push): kill G_BREAKPOINT.
* src/orb/dynamic/dynany.c
(DynamicAny_DynStruct_get_elements_as_dyn)
kill unused newdyn.
* src/orb/orb-core/corba-context.c
(ctx_get_values) changes CORBA_Identifier arg
to const CORBA_char *.
* src/orb/orb-core/iop-profiles.c
(IOP_components_marshal): kill unsed lenptr.
* test/test-dynany.c(test_struct): pass dyn_struct
to DynamicAny_DynStruct_* instead of dyn_any.
2001-08-23 Mark McLoughlin <mark@skynet.ie>
* src/orb/orb-core/corba-context.c,
src/orb/orb-core/corba-nvlist.c,
src/orb/orb-core/corba-object.c,
src/orb/orb-core/corba-orb.c,
src/orb/orb-core/corba-request.c,
src/orb/poa/poa.c: The implications of Maciej's
patch. Match up API defs with IDL generated defs.
* src/orb/orb-core/iop-profiles.c:
include orb-core-private.h.
* src/orb/poa/poa.c(ORBit_POA_okey_to_poa): killed
unused.
2001-08-22 Maciej Stachowiak <mjs@noisehavoc.org>
* src/idl-compiler/orbit-idl-c-utils.c
(orbit_cbe_write_param_typespec_str): If a type Foo is a typedef
for CORBA_string, write const CORBA_char * instead of const
Foo. This is needed to avoid warnings in the generated skeletons.
2001-08-20 Mark McLoughlin <mark@skynet.ie>
* src/orb/orb-core/poa.c
(ORBit_POAObject_object_to_objkey) removed
objid.
(ORBit_ORB_find_POA_for_okey) killed.
2001-08-20 Martin Baulig <baulig@suse.de>
* src/orb/GIOP/giop-connection.c (giop_connection_initiate): If
the connection could not be established, drop the connection list
lock right before calling g_object_unref(cnx).
2001-08-20 Michael Meeks <michael@ximian.com>
* src/idl-compiler/orbit-idl-c-typecode.c
(cbe_tc_generate): only do strange object mapping things for PIDL.
2001-08-20 Mark McLoughlin <mark@skynet.ie>
* src/orb/poa/poa-servants.c,
src/orb/poa/poa-manager.c,
src/orb/poa/poa.c: more cleanup.
2001-08-20 Martin Baulig <baulig@suse.de>
* src/orb/dynamic/dynany.c (dynany_kind_mismatch):
Make it work with aliases.
(DynamicAny_DynStruct_get_elements_as_dyn_any): Implemented.
(DynamicAny_DynSequence_set_elements_as_dyn_any): Implemented.
2001-08-18 Michael Meeks <michael@ximian.com>
* test/everything/server.c: init threads, before ORB init.
* test/everything/client.c: ditto.
* src/orb/GIOP/giop.c (giop_init): actualy do pass
FALSE to linc_init now we know it works in threaded
mode.
2001-08-20 Mark McLoughlin <mark@skynet.ie>
* src/orb/poa/poa-policy.c: create policy
methods with macros. Simplifies things.
* src/orb/poa/poa-manager.c: more scrubbing.
2001-08-19 Maciej Stachowiak <mjs@noisehavoc.org>
* src/orb/orbit-init.c: Include <sys/time.h> to fix build.
2001-08-19 Mark McLoughlin <mark@skynet.ie>
* src/orb/poa/poa.c: code movement, cleaning etc.
* src/orb/poa/orbit-poa.h: only export what's
neccessary.
2001-08-18 Michael Meeks <michael@ximian.com>
* src/orb/orb-core/corba-object.c
(CORBA_Object_release_cb): fix deadlock.
* src/orb/GIOP/giop.c (giop_init): pass FALSE to
linc_init, if peopl want threads they have to
initialize them before initializing the ORB.
* src/orb/orb-core/orbit-object.c
(ORBit_RootObject_release): upd locking.
move global lock into corba-orb.c
* src/orb/orb-core/allocators.c
(ORBit_freekids_via_TypeCode, ORBit_free): upd locking.
* src/orb/orb-core/corba-object.c
(ORBit_objref_find): fix locking
homogenise style.
* include/orbit/orb-core/orbit-object.h: update
ORBit_RootObject_lifecycle_lock decl. - wtf. is this
global !?
* src/orb/orb-core/corba-orb.c
(ORBit_locks_initialize): upd.
(CORBA_ORB_init): always init locks.
* src/orb/GIOP/giop-recv-buffer.c:
(giop_recv_buffer_init): re-write.
s/O_MUTEX/LINC_MUTEX/ fix stylistic ugliness,
remove redundant forward prototypes.
* src/orb/GIOP/giop-connection.c
(giop_connection_dispose): update lock destruction.
(giop_connection_handle_input): FIXME: introduced
possible re-enterancy deadlock here.
s/O_MUTEX/LINC_MUTEX/
* src/orb/orb-core/corba-object.c
(CORBA_Object_release_cb): use g_object_unref not
giop_connection_unref
(ORBit_try_connection): ditto.
* src/orb/GIOP/giop-connection.c
(giop_connection_list_init): upd. mutex code.
(giop_connection_unref): kill.
* src/orb/GIOP/giop-send-buffer.c
(giop_get_request_id): prune redundant, slow cruft.
(giop_send_buffer_init): update locking code, kill 'id'
lock - just use a heap / stack pointer - doh.
(giop_send_buffer_append_real): kill redundant forward
prototype.
(giop_IOP_ServiceContextList_marshal),
(giop_CORBA_sequence_octet_marshal): remove cruft.
use linc mutex code throught.
* configure.in: require linc 0.1.3
2001-08-18 Mark McLoughlin <mark@skynet.ie>
* configure.in: kill AC_CONFIG_SUBDIRS(popt)
2001-08-18 Dirk-Jan C. Binnema <djcb@djcbsoftware.nl>
* src/idl-compiler/orbit-idl-c-backend.c
(out_for_pass): raise a g_error instead of segfaulting
if the output can't be opened or popened
2001-08-16 Mark McLoughlin <mark@skynet.ie>
* src/orb/orb-core/orbit-debug.h:
add.
* src/orb/orb-core/orbit-small.c,
* src/orb/orb-core/orbit-typelib.c,
src/orb/orb-core/orbit-trace.c:
move debug/trace stuff to orbit-debug.h
2001-08-16 Michael Meeks <michael@ximian.com>
* configure.in: require linc >= 0.1.2
* src/orb/GIOP/giop-connection.c
(giop_connection_handle_input): update sig.
(giop_connection_real_state_changed): hack out
linc_io_add_watch. Use new linc 'handle_input'
abstraction.
2001-08-15 Michael Meeks <michael@ximian.com>
* src/idl-compiler/orbit-idl-c-deps.c: update.
(orbit_idl_output_c_deps): if we didn't open the fh;
return.
* src/idl-compiler/orbit-idl-c-backend.c
(out_for_pass): only fopen non NULL deps files.
2001-08-14 Michael Meeks <michael@ximian.com>
* src/orb/orb-core/orbit-small.c
(ORBit_small_marshal_context): trace CORBA contexts nicely.
2001-08-15 Mark McLoughlin <mark@skynet.ie>
* include/orbit/orb-core/corba-any.h,
src/orb/orb-core/corba-any.c: implement
CORBA_any_{set|get}_release as macros.
2001-08-13 Maciej Stachowiak <mjs@noisehavoc.org>
Implemented dependency tracking in the IDL compiler (much like the
similar feature of gcc) and use it everywhere.
* src/idl-compiler/orbit-idl-c-deps.c (orbit_idl_output_c_deps,
output_deps): New pass that outputs dependency info in a format
suitable for including into a Makefile.
* src/idl-compiler/orbit-idl-main.c (main): Add a --deps switch
which takes a filename argument.
* src/idl-compiler/orbit-idl-c-backend.h,
src/idl-compiler/orbit-idl-c-backend.c (orbit_idl_output_c):
Output dependencies when requested.
(orbit_idl_c_filename_for_pass, out_for_pass): Split out the code
that generates the output filename for each pass and make it
public, to help the new dependency pass.
* src/idl-compiler/orbit-idl-driver.c (orbit_idl_to_backend):
Always pass IDLF_SRCFILES flag, since SRCFILE nodes are required
by the dependency generation pass.
* src/idl-compiler/orbit-idl-c-headers.c (ch_output_types): Only
output weird stuff for SRCFILE nodes when suppressing includes.
* src/idl-compiler/orbit-idl3-types.h: Add dependency pass and a
#define for the number of passes, to help avoid magic numbers in
code.
* src/idl-compiler/Makefile.am: Add orbit-idl-c-deps.c to build.
* Makefile.shared: Common Makefile segment that has the
appropriate rules for building IDL files and generating dependency
info for targets of IDL sources.
* include/orbit/dynamic/Makefile.am,
include/orbit/orb-core/Makefile.am, include/orbit/poa/Makefile.am,
src/orb/dynamic/Makefile.am, src/orb/include/Makefile.am,
src/orb/orb-core/Makefile.am, src/orb/poa/Makefile.am,
src/services/name/Makefile.am, test/Makefile.am,
test/everything/Makefile.am, test/inhibit/Makefile.am,
test/poa/Makefile.am: Use Makefile.shared and IDL dependencies to
simplify and sanitize IDL compilation.
* include/orbit/dynamic/.cvsignore,
include/orbit/orb-core/.cvsignore, include/orbit/poa/.cvsignore:
Ignore .deps directories.
2001-08-14 Michael Meeks <michael@ximian.com>
* src/idl-compiler/orbit-idl-c-headers.c
(ch_output_const_dcl): try and get libIDL to give us some
useful information - right !
* src/idl-compiler/orbit-idl-driver.c
(orbit_idl_to_backend): set rinfo->namespace.
* src/orb/orb-core/corba-any.c (ORBit_copy_value_core): fix
heinous _buffer = TRUE bug.
2001-08-13 Michael Meeks <michael@ximian.com>
* test/everything/client.c (testMisc): invoke a non
existant method on an object.
(testMisc): add a (currently failing) check for Martin's bug.
* test/everything/everything.idl: add ObjectStruct.
* src/orb/orb-core/iop-profiles.c
(IOP_profile_dump): dump the correct oki.
2001-08-13 Mark McLoughlin <mark@skynet.ie>
* include/orbit/orb-core/corba-object-type.h:
kill IOP_ObjectKey_info. Use ORBit_ObjectKey.
* include/orbit/poa/orbit-adaptor.h,
src/orb/orb-core/corba-object.c,
src/orb/orb-core/iop-profiles.c,
src/orb/orb-core/iop-profiles.h,
src/orb/orb-core/orb-core-private.h,
src/orb/poa/orbit-adaptor.c,
test/ior-decode.c:
s/IOP_ObjectKey_info/ORBit_ObjectKey/. Add
ORBit_AdaptorKey. CORBA_free the object key
instead of g_free-ing it.
* include/orbit/poa/portableserver-poa-type.h:
kill num_to_koid_map and koid_rand_len.
* src/orb/poa/orbit-poa.h:
kill ORBit_POAKOid, ORBIT_POAKOID_OidLenOf etc.
* src/orb/poa/poa.c
(ORBit_POAObject_object_to_objkey): Just use the
adaptor key and object Id for the key. Improvements
will follow. Kill num_to_koid_map etc.
* include/orbit/GIOP/giop-send-buffer.h,
src/orb/GIOP/giop-send-buffer.c
(giop_send_buffer_use_request,
giop_send_buffer_use_locate_request):
Take a ORBit_ObjectKey instead an iovec.
2001-08-13 Mark McLoughlin <mark@skynet.ie>
* include/orbit/poa/poa-policy.h,
include/orbit/poa/portableserver-poa-type.h,
src/orb/poa/poa-policy.c,
src/orb/poa/poa-policy.c,
src/orb/poa/poa.c: kill obj_rand_len. kill
ORBit_PortableServer_OkeyrandPolicy_t.
2001-08-13 Martin Baulig <baulig@suse.de>
* src/idl-compiler/orbit-idl-c-common.c: Increase the
length of the ORBit::IArguments sequence by one so that
the trailing NULL element is copied as well.
2001-08-11 Michael Meeks <michael@ximian.com>
* test/typelib-dump.c (list_libs): impl.
(main): list installed type libraries.
2001-08-11 Mark McLoughlin <mark@skynet.ie>
* src/orb/poa/orbit-poa.h,
src/orb/poa/poa.c:
(ORBit_POA_make_sysoid): Always use random
data. Rename to ORBit_POA_new_system_objid.
(ORBit_POA_create_object): make static. Remove
unused asDefault arg.
(ORBit_POAObject ORBit_POA_okey_to_obj): kill unused.
2001-08-10 Michael Meeks <michael@ximian.com>
* src/orb/orb-core/orbit-typelib.c
(ORBit_get_typelib_paths): expose internaly.
2001-08-10 Michael Meeks <michael@ximian.com>
* src/orb/orb-core/orbit-small.c
(ORBit_handle_exception_array): set the typecode in the
CORBA_Environment as we demarshal.
* src/orb/orb-core/orbit-trace.c
(ORBit_trace_typecode): upd.
(ORBit_trace_any): impl.
* src/orb/orb-core/orbit-small.c (orbit_small_demarshal):
more trace debug: out parameters & exceptions.
2001-08-10 Michael Meeks <michael@ximian.com>
* test/everything/test.sh: trash /tmp/orbit-$USER before
we start ...
2001-08-09 Michael Meeks <michael@ximian.com>
* src/orb/orb-core/Makefile.am: add orbit-typelib.c
* src/orb/orb-core/orbit-small.c: split out type libraries
* src/orb/orb-core/orbit-typelib.c: to here.
* src/orb/orb-core/orbit-trace.c (ORBit_trace_value): fixup.
2001-08-08 Michael Meeks <michael@ximian.com>
* test/Makefile.am: add typelib-dump
* test/typelib-dump.c (dump_iface): impl.
2001-08-08 Michael Meeks <michael@ximian.com>
* src/orb/orb-core/iop-profiles.c (IOP_component_free):
don't free the non-allocated oki - it's part of the
component's structure.
* include/orbit/orbit.h: add orbit_version.
* configure.in (then): kill HAVE_LIMITED_WRITEV check.
* include/orbit/orbit-config.h.in: kill HAVE_ALLOCA,
HAVE_LIMITED_WRITEV - unused.
* src/orb/orbit-init.c: setup orbit_version char *
* src/orb/Makefile.am: define ORBIT_VERSION.
2001-08-08 Mark McLoughlin <mark@skynet.ie>
* src/orb/orb-core/orbit-small.c
(load_module): unload module, if not needed.
* src/orb/orb-core/corba-object.c
(CORBA_Object_release_cb): free object key.
* test/everything/client.c
(testString): free ior.
2001-08-08 Mark McLoughlin <mark@skynet.ie>
* test/everything/client.c
(testIInterface): free iinterface.
2001-08-08 Mark McLoughlin <mark@skynet.ie>
* test/everything/client.c
(testUnboundedSequence): set _release.
(testBoundedSequence): ditto.
(testSequenceOfAny): ditto.
2001-08-07 Michael Meeks <michael@ximian.com>
* test/everything/client.c: call testMisc.
(testMisc): impl CORBA_TypeCode_equal / equivalent
regression tests.
2001-08-07 Michael Meeks <michael@ximian.com>
* Version 2.3.93
* src/orb/orb-core/corba-typecode.c
(CORBA_TypeCode_eqivalent): rename to
(CORBA_TypeCode_equivalent): this, doh.
* src/orb/orb-core/corba-typecode.c
(typecode_equiv_internal): fixup.
2001-08-07 Dirk-Jan C. Binnema <djcb@djcbsoftware.nl>
* src/orb/orb-core/allocators.c
(ORBit_free_T): do g_error instead of g_assert,
makes debugging a bit easier.
2001-08-07 Mark McLoughlin <mark@skynet.ie>
* src/orb/dynamic/dynany.c
(DynamicAny_DynStruct_get_members): set _release
to CORBA_TRUE.
(DynamicAny_DynStruct_get_members_as_dyn_any): ditto.
(DynamicAny_DynSequence_get_elements): ditto.
* ORBit2/src/orb/orb-core/corba-any.c
(ORBit_copy_value_core): ditto.
* src/orb/poa/poa.c(ORBit_POA_new): ditto.
* src/orb/orb-core/corba-orb.c
(CORBA_ORB_list_initial_services): use CORBA_TRUE instead
of TRUE.
* src/orb/orb-core/corba-types.c
(ORBit_sequence_CORBA_octet_dup): ditto.
* src/orb/orb-core/orbit-small.c(load_module): ditto.
2001-08-07 Michael Meeks <michael@ximian.com>
* test/everything/client.c (testIInterface): actualy
free the iinterface structure.
* src/orb/orb-core/orbit-small.c (load_module): fix leak.
* src/orb/orb-core/corba-types.c
(ORBit_sequence_CORBA_octet_dup): set release to TRUE.
* src/orb/orb-core/corba-orb.c
(CORBA_ORB_list_initial_services): ditto.
* src/orb/poa/clean-poa.c
(PortableServer_POA__get_the_children): ditto.
* src/orb/poa/clean-poa.c (ORBit_POA_create_object): ditto.
* src/orb/poa/poa.c (PortableServer_POA__get_the_children),
(ORBit_POA_create_object): ditto.
(PortableServer_string_to_ObjectId): revert.
2001-08-07 Mark McLoughlin <mark@skynet.ie>
* src/orb/poa/poa.c
(PortableServer_string_to_ObjectId): set _release
to TRUE.
2001-08-07 Mark McLoughlin <mark@skynet.ie>
* src/orb/orb-core/corba-policy.c
(ORBit_Policy_release): impl.
(ORBit_Policy_new): ref the policy.
(CORBA_Policy_destroy): unref the policy.
* include/orbit/orb-core/corba-policy-type.h: killed
CORBA_Policy_t, POLICY_CAST_OUT, POLICY_CAST_IN.
* src/orb/poa/poa.c(ORBit_POA_setup_root): cleaned up.
2001-08-07 Michael Meeks <michael@ximian.com>
* src/orb/orb-core/orbit-trace.c
(ORBit_trace_value): impl.
* src/orb/orb-core/Makefile.am: add orbit-trace.c
2001-08-06 Michael Meeks <michael@ximian.com>
* src/orb/orb-core/corba-typecode.c
(typecode_equiv_internal): split this out of
(CORBA_TypeCode_equal): here.
(CORBA_TypeCode_eqivalent): impl.
(typecode_equiv_internal): impl equivalent checking.
2001-08-06 Mark McLoughlin <mark@skynet.ie>
* src/orb/orb-core/orbit-small.c
(ORBit_small_getepv): put back.
2001-08-04 Michael Meeks <michael@ximian.com>
* src/orb/poa/orbit-adaptor.c
(ORBit_handle_request): fix potential segv.
on NULL objkey.
2001-08-02 Martin Baulig <baulig@suse.de>
* src/orb/orb-core/orbit-interface.idl:
(ORBit::IInterfaces): New typedef.
* include/orbit/orb-core/orbit-small.h,
src/orb/orb-core/orbit-small.c
(ORBit_small_get_iinterfaces): New function.
2001-08-02 Mark McLoughlin <mark@skynet.ie>
* src/orb/poa(ORBit_OAObject_invoke): let's not
return a value from a void function, shall we.
2001-08-01 Mark McLoughlin <mark@skynet.ie>
* test/poa/*: re-indent. sigh.
2001-08-01 Mark McLoughlin <mark@skynet.ie>
* include/orbit/poa/orbit-adaptor.h,
src/orb/poa/orbit-adaptor.c
(ORBit_OAObject_invoke,
ORBit_OAObject_object_to_objkey): impl.
* src/orb/orb-core/iop-profiles.c,
src/orb/orb-core/orbit-small.c:
used the above.
2001-07-31 Darin Adler <darin@bentspoon.com>
* src/orb/orb-core/corba-object.c: (CORBA_Object_non_existent):
Don't dereference obj until after we check it for nil.
2001-07-31 Mark McLoughlin <mark@skynet.ie>
* include/orbit/poa/orbit-adaptor.h,
src/orb/poa/orbit-adaptor.c,
include/orbit/poa/Makefile.am,
src/orb/poa/Makefile.am:
added orbit-adaptor.[ch]. Virtual Object Adaptor
interface.
* include/orbit/poa/poa-basics.h: added
typedefs for ORBit_OAObject and ORBit_ObjectAdaptor.
* include/orbit/poa/poa-types.h,
include/orbit/poa/portableserver-poa-type.h:
Included base structures in ORBIt_POAObject and
PortableServer_POA.
* src/orb/poa/orbit-poa-export.h
(ORBit_handle_request, ORBit_small_handle_request,
ORBit_POA_object_to_okey): kill.
* src/orb/poa/poa.c
(ORBit_POAObject_is_active, ORBit_POAObject_invoke): impl.
(ORBit_POA_object_to_okey) rename to
ORBit_POAObject_object_to_objkey.
(ORBit_handle_request) rename to
ORBit_POA_handle_request.
(ORBit_small_handle_rquest) rename to
ORBit_POAObject_handle_request.
* include/orbit/orb-core/corba-object-type.h,,
include/orbit/orb-core/corba-orb-type.h,
include/orbit/orb-core/orbit-object.h,
include/orbit/orb-core/orbit-small.h,
src/orb/orb-core/corba-object.c,
src/orb/orb-core/corba-orb.c,
src/orb/orb-core/iop-profiles.c,
src/orb/orb-core/orbit-small.c,
test/everything/server.c: host of minor
supporting changes.
2001-07-31 Michael Meeks <michael@ximian.com>
* Version 2.3.92
2001-07-31 Michael Meeks <michael@ximian.com>
* test/poa/Makefile.am: fixup.
2001-07-31 Martin Baulig <baulig@suse.de>
* src/orb/dynany.c
(DynamicAny_DynStruct_set_members_as_dyn_any): Impl.
(DynamicAny_DynStruct_get_members_as_dyn_any): Impl.
* tests/test-dynany.c: Added tests for them.
2001-07-31 Michael Meeks <michael@ximian.com>
* test/everything/client.c (find_tc): impl.
(testIInterface): beef up, and test new methods.
* src/orb/orb-core/orbit-small.c (ORBit_small_get_types): impl.
(ORBit_small_load_typelib): fixup local lib names.
* src/idl-compiler/orbit-idl-c-imodule.c (cc_small_build_exceptions):
prune.
(cc_small_build_types): merge exceptions to here.
* src/orb/orb-core/orbit-small.c (ORBit_iinterface_from_idl):
kill cruft.
(add_iinterface, lookup_iinterface, get_type_db): impl.
(ORBit_small_get_iinterface): lookup in the local db first
then classinfo, then remote.
(shallow_copy_iinterface): rename to
(copy_iinterface): & add 'shallow' arg.
(load_module): actualy close the handle and register the types.
(get_types, add_types): impl.
(ORBit_small_load_typelib): upd.
(load_module): upd.
(get_types, add_types): impl.
* test/everything/Makefile.am (included_src): add
context-server
2001-07-31 Michael Meeks <michael@ximian.com>
* configure.in: require linc-0.1.1
bump version to 2.3.92
* src/orb/orb-core/orbit-small.c
(ORBit_small_get_types): stub for API freeze.
2001-07-30 Martin Baulig <baulig@suse.de>
* src/orb/dynamic.c (dynamic_sequence_realloc_to): Initialize
the newly created elements.
2001-07-30 Martin Baulig <baulig@suse.de>
* configure.in: Bump ORBIT_SERIAL to 16.
* include/orbit/orb-core/corba-object.h (CORBA_Object__itype):
Renamed to CORBA_Object__iinterface.
* include/orbit/orb-core/orbit-small.h (ORBit_IModule):
Added `CORBA_TypeCode *exceptions' and `CORBA_TypeCode *types'.
* include/orbit/orb-core/corba-typecode.h
(CORBA_TypeCode_struct): Added `CORBA_unsigned_long flags'.
* src/idl-compiler/orbit-idl-c-*.c: Use `__iinterface' instead of
`__itype' as prefix for the ORBit_IInterface structs.
* src/idl-compiler/orbit-idl-c-imodule.c: Create the new type and
exception arrays.
2001-07-28 Michael Meeks <michael@ximian.com>
* test/everything/client.c (testStructAny): impl.
(run_tests): hook up.
* test/everything/structServer.c (StructServer_opStructAny): impl.
(StructServer_epv): add. & fix all the serious stylistic issues.
2001-07-27 Mark McLoughlin <mark@skynet.ie>
* /src/idl-compiler/orbit-idl-c-common.c:
add a couple of '\n's to the generated code. We shouldn't rely
on indent to fix up broken code.
2001-07-27 Michael Meeks <michael@ximian.com>
* src/orb/orb-core/orbit-small.c (quick_compare): impl.
(ORBit_small_invoke): use it instead of a hard pointer
compare - since we can make new multiple IInterfaces
to point to the same data.
2001-07-26 Michael Meeks <michael@ximian.com>
* src/orb/orb-core/orbit-small.c (get_typelib_paths):
add to the search path.
* src/orb/orb-core/Makefile.am: define ORBIT_TYPELIB_DIR
2001-07-26 Michael Meeks <michael@ximian.com>
* src/idl-compiler/orbit-idl-c-typecode.c
(cbe_tc_generate): fix duplicate static bug.
2001-07-26 Michael Meeks <michael@ximian.com>
* src/idl-compiler/orbit-idl-main.c (main): only
output imodule information if explicitely asked,
and then only output the neccessary.
2001-07-25 Michael Meeks <michael@ximian.com>
* src/idl-compiler/orbit-idl-c-typecode.c
(cbe_tc_generate): make TC's static in typelibs.
* src/idl-compiler/orbit-idl-c-common.c
(cc_small_output_itypes): make the __itype data static if
for a type library, also for __imethods.
(cc_output_alloc_interface): only output __classids
in certain cases.
* src/orb/orb-core/orbit-small.c (ORBit_small_load_typelib),
(get_typelib_paths, add_if_unique): impl.
* test/everything/Makefile.am: build an _module typelib.
* test/everything/client.c (testIInterface): load it.
* configure.in: we need gmodule.
* ORBit-2.0.pc.in (Requires): add @THREAD_LIBS@ and gmodule.
* src/idl-compiler/orbit-idl-c-common.c
(orbit_idl_output_c_common): inhibit GIOP include for small.
* src/idl-compiler/orbit-idl-c-imodule.c
(cc_small_output_imodule): kill.
(cc_small_output_base_itypes): ditto.
(cc_small_build_interfaces): upd.
(orbit_idl_output_c_imodule): upd.
* include/orbit/orb-core/orbit-small.h: define the
ORBit_IModule interface in standard C - not IDL, so we can
have nicer dereferencing.
* src/orb/orb-core/orbit-interface.idl: kill IModule bits.
2001-07-25 Maciej Stachowiak <mjs@noisehavoc.org>
* src/idl-compiler/orbit-idl-c-headers.c: (ch_output_codefrag):
Add a newline after emitted codefrag lines to avoid line
directives running together with the next line.
2001-07-25 Mark McLoughlin <mark@skynet.ie>
* src/orb/orb-core/iop-profiles.c(IOP_components_marshal),
src/orb/orb-core/corba-contexts.c(ORBit_Context_marhsal),
see below... more of the same.
2001-07-25 Mark McLoughlin <mark@skynet.ie>
* src/orb/iop-profiles.c(IOP_profile_marshal),
src/orb/corba-typecode.c(tc_enc):
do not dereference pointers that aren't neccessarily
properly aligned.
* src/orb/GIOP/giop-send-buffer.c: document this.
2001-07-25 Michael Meeks <michael@ximian.com>
* src/orb/GIOP/giop.c (giop_dump_send, giop_dump_recv),
(dump): move here.
* test/everything/basicServer.c (BasicServer_opOneWay): impl.
* test/everything/client.c (testString): call it.
* test/everything/everything.idl: add opOneWay to BasicServer.
2001-07-24 Michael Meeks <michael@ximian.com>
* src/orb/orb-core/orbit-small.c (ORBit_small_invoke_poa): don't send
anything back for oneway methods ...
(giop_dump_recv, giop_dump_send): robustify and publicise.
* src/orb/GIOP/giop-recv-buffer.c (giop_recv_buffer_handle_fragmented):
add a warning for the broken fragmentation case ...
(giop_recv_buffer_use_noblock): kill.
(giop_recv_list_push): add conditional debug
2001-07-24 Martin Baulig <baulig@suse.de>
* src/idl-compiler/orbit-idl-c-imodule.c: Correctly calculate
the length of the __base_types array.
2001-07-24 Michael Meeks <michael@ximian.com>
* src/orb/orb-core/orbit-small.c (shallow_copy_iinterface): impl.
(ORBit_small_get_iinterface): use it.
* src/orb/orb-core/corba-object.c: update to mention exceptions
we fire on get_iinterface.
* src/orb/orb-core/corba-env.c (CORBA_exception_free): NULL
the exception id after freeing it, so we don't double free: doh !
* src/orb/orb-core/orbit-small.c (ORBit_handle_exception_array):
robustify the 'fired an unknown exception' case.
(ORBit_small_send_user_exception): don't use a fakeev - use
the real one, since the exception type is grokked elsewhere,
return a boolean to indicate a re-marshal of a sys exception,
and free the send_buffer.
(ORBit_small_invoke_poa): upd to loopback on exception.
* test/everything/client.c (testIInterface): update tests
to go over the wire.
2001-07-24 Martin Baulig <baulig@suse.de>
The IDL compiler now creates a -imodule.c file which
contains a `ORBit_IModule orbit_imodule_data' struct.
We'll compile these -imodule.c files into shared
libraries which can be dlopen()ed by scripting languages.
There is a --noimodule command line option to turn this
feature off.
* src/orb/orb-core/orbit-interface.idl
(IModuleVersion, IInterfaces): New typedefs.
(IModule): New struct type.
* configure.in: Bump ORBIT_SERIAL to 14.
* src/idl-compiler/orbit-idl3-types.h (enabled_passes):
Added OUTPUT_IMODULE.
* src/idl-compiler/orbit-idl-main.c: Added "--noimodule"
command line option to disable output of the -imodule.c
files.
* src/idl-compiler/orbit-idl-c-imodule.c: New file.
2001-07-23 Michael Meeks <michael@ximian.com>
* src/idl-compiler/orbit-idl-main.c (main): add version
output.
2001-07-23 Michael Meeks <michael@ximian.com>
* src/orb/orb-core/orbit-small.c (ORBit_small_invoke_poa):
only free the return value if there is no exception.
2001-07-20 Michael Meeks <michael@ximian.com>
* src/orb/orb-core/iop-profiles.c (IOP_generate_profiles):
remove 'need_object_key_component' - we always do, to flag
UTF-8.
(IOP_profile_get_info): fallback to obj->oki if coki is NULL.
(IOP_components_marshal): hook up CODE_SETS.
(IOP_TAG_CODE_SETS_marshal): impl.
(CodeSetComponent_marshal): impl.
(IOP_components_demarshal): upd.
(CodeSetComponent_demarshal): impl.
(IOP_component_free): upd.
2001-07-20 Michael Meeks <michael@ximian.com>
* src/orb/GIOP/giop-send-buffer.c
(giop_send_buffer_append_indirect): rename to
(giop_send_buffer_append_aligned): this, to make not only
more efficient, but clean and sane.
(giop_send_buffer_align): re-write to be actualy fast,
remove the 'register' keyword - it doesn't speed things up.
(get_next_indirect): split out of _append & re-write.
(giop_send_buffer_append_aligned): here & re-write.
(giop_send_buffer_append_copy): impl simple version for
(giop_send_buffer_append): to use & upd.
* src/orb/orb-core/iop-profiles.c: upd.
* src/orb/orb-core/corba-context.c: upd.
* src/orb/orb-core/corba-any.c: upd.
* src/orb/orb-core/corba-typecode.c: upd.
* src/orb/orb-core/corba-env.c: upd.
* src/orb/orb-core/corba-object.c: upd.
* src/orb/orb-core/orbit-small.c: upd.
2001-07-19 Michael Meeks <michael@ximian.com>
* src/orb/poa/poa.c (ORBit_POAObject_release_cb): try
freeing the object_id before we free the pobj we need
to reference it, also NULL it for safety.
2001-07-19 Michael Meeks <michael@ximian.com>
* src/orb/orb-core/orbit-small.c: remove redundant
DEBUG_LOCAL_TEST macro ...
* src/orb/GIOP/giop-connection.c
(giop_connection_real_state_changed): use
linc watches.
2001-07-18 Michael Meeks <michael@ximian.com>
* test/echo-server.c (main): use CORBA_ORB_run.
* src/orb/orb-core/corba-orb.c
(CORBA_ORB_perform_work, CORBA_ORB_work_pending),
(CORBA_ORB_run): use new linc_main stuff instead of
g_main.
* src/orb/GIOP/giop-recv-buffer.c
(giop_recv_buffer_get): use linc_main_iteration, this
requires the latest CVS linc.
(giop_recv_buffer_use): ditto.
2001-07-18 Mark McLoughlin <mark@skynet.ie>
* src/idl-compiler/orbit-idl-c-headers.c(ch_output_native),
src/idl-compiler/orbit-idl-c-stubs.c(cs_small_output_stub):
add a couple of '\n's to the generated code. We shouldn't rely
on indent to fix up broken code.
2001-07-18 Michael Meeks <michael@ximian.com>
* src/orb/orb-core/corba-object.c
(_ORBit_object_get_connection): rename to
(ORBit_object_get_connection): this & re-order slightly.
(CORBA_Object_non_existent): local objects always exist,
even if we havn't bothered remoting them yet => no
connection.
* include/orbit/orb-core/corba-object.h: kill macro
(ORBit_object_get_connection): somewhat confusing.
* test/everything/client.c (testIInterface): add
CORBA_Object_non_existent and CORBA_Object_is_nil
regression tests.
2001-07-17 Michael Meeks <michael@ximian.com>
* src/idl-compiler/orbit-idl-main.c (main): make
the runtime message more pleasant.
* src/orb/orb-core/corba-object.c
(ORBit_IInterface_is_a): upd. to sequence<String>
* src/idl-compiler/orbit-idl-c-common.c
(cc_small_output_itypes): output sequence<string> for
base types & get the length right.
(cc_small_output_base_itypes): upd.
* src/orb/orb-core/orbit-small.c
(ORBit_small_invoke_skel): kill.
(ORBit_small_invoke): impl.
* configure.in (ORBIT_SERIAL): bump.
* src/orb/orb-core/orbit-interface.idl: switch
to sequence<string> for base_interfaces.
2001-07-17 Michael Meeks <michael@ximian.com>
* test/everything/client.c (testIInterface):
ORBit_small_get_type_id regression test.
(run_tests): hook it up.
* src/orb/poa/poa.c (ORBit_classinfo_lookup): impl.
* src/orb/poa/clean-poa.c (ORBit_classinfo_lookup): impl.
* src/orb/orb-core/corba-object.c
(ORBit_impl_ORBit_get_iinterface): impl.
(ORBit_impl_ORBit_get_type_id): impl.
(get_small_skel_CORBA_Object): extend.
* src/orb/orb-core/orbit-small.c
(ORBit_small_get_iinterface): impl.
(ORBit_small_get_type_id): impl.
* src/orb/orb-core/corba-object.c: add
ORBit_get_iinterface / ORBit_get_type_id methods.
2001-07-13 Peter Williams <peterw@ximian.com>
* configure.in (ACLOCAL): Preserve ACLOCAL_FLAGS in
ACLOCAL. (Update: whoops, typo! Fixed.) (Update: I
do not believe it. Fix another typo.)
2001-07-14 Martin Baulig <baulig@suse.de>
* ORBit-2.0.pc.in (orbit_idl): New variable.
2001-07-13 Mark McLoughlin <mark@skynet.ie>
* docs/devel/internals/poa-notes.txt: added.
2001-07-13 Michael Meeks <michael@ximian.com>
* test/everything/client.c (testString): use the getIOR
method to test stringification.
* test/everything/server.c
(TestFactory_getBasicServerIOR): impl.
2001-07-13 Michael Meeks <michael@ximian.com>
* src/orb/poa/poa.c (ORBit_small_handle_request):
re-indent to make legible.
* src/orb/orb-core/corba-object.c (CORBA_Object_is_a):
fix invocation code.
(ORBit_impl_CORBA_Object_is_a): fix indirection.
Thanks to Martin Baulig for reporting repo_id matching
bug.
* test/everything/client.c (testFixedLengthStruct):
add CORBA_Object_is_a test.
* src/orb/orb-core/allocators.c
(ORBit_freekids_via_TypeCode_T): kill broken assumption
that align == length !
* src/orb/orb-core/corba-typecode.c
(ORBit_tk_to_name): impl.
* test/test-dynany.c: portability fix for CHECK_OK.
2001-07-12 Darin Adler <darin@bentspoon.com>
* include/orbit/poa/Makefile.am: Install poa-basics.h.
2001-07-12 Mark McLoughlin <mark@skynet.ie>
* src/idl-compiler/orbit-idl-c-common.c,
src/orb/orb-core/orbit-interface.idl,
(IInterface)change name string to typcode.
* src/orb/orb-core/corba-object.c,
src/orb/orb-core/orb-core-export.h,
src/orb/poa/poa.c: re-jig CORBA_Object_is_a
using the IInterface data.
2001-07-12 Michael Meeks <michael@ximian.com>
* src/orb/orb-core/corba-object.c (ORBit_register_objref):
assert profile_list != NULL.
* src/orb/poa/poa.c (ORBit_POA_object_to_okey): add precondition.
* src/orb/orb-core/iop-profiles.c
(IOP_TAG_ORBIT_SPECIFIC_marshal): use the local oki if we have it.
(IOP_TAG_INTERNET_IOP_marshal): use obj->oki where appropriate.
(IOP_generate_profiles): only set obj->oki if we have a pobj.
* NB. obj->oki == NULL for objects passed in remotely, need
to bear this in mind when re-marshaling the profiles.
2001-07-12 Mark McLoughlin <mark@skynet.ie>
* include/orbit/orb-core/corba-object.h,
src/idl-compiler/orbit-idl-c-common.c,
src/idl-compiler/orbit-idl-c-skels.c,
src/orb/orb-core/corba-object.c,
src/orb/poa/orbit-poa.h,
src/orb/poa/poa.c:
add IInterface data for CORBA_object.
* include/orbit/orbit-types.h,
include/orbit/poa/poa-types.h,
include/orbit/poa/poa-basics.h: split out
some of poa-types.h into new poa-basics.h. Include
poa-basics.h from orbit-types.h.
* include/orbit/orb-core/corba-object-type.h,
include/orbit/poa/poa-types.h,
include/orbit/poa/poa.h,
src/orb/orb-core/orbit-small.c,
src/orb/poa/orbit-poa-export.h:
make ORBit_POAObject a pointer to ORBit_POAObject_type
instead of a struct.
2001-07-12 Mark McLoughlin <mark@skynet.ie>
* include/orbit/orb-core/orbit-small.h,
include/orbit/poa/poa-types.h,
src/idl-compiler/orbit-idl-c-backend.h,
src/idl-compiler/orbit-idl-c-common.c,
src/idl-compiler/orbit-idl-c-demarshal.c,
src/idl-compiler/orbit-idl-c-headers.c,
src/idl-compiler/orbit-idl-c-marshal.c,
src/idl-compiler/orbit-idl-c-skels.c,
src/idl-compiler/orbit-idl-c-stubs.c,
src/idl-compiler/orbit-idl-c-utils.c,
src/idl-compiler/orbit-idl-main.c,
src/orb/dynamic/Makefile.am,
src/orb/orb-core/orbit-small.c,
src/orb/poa/Makefile.am,
src/orb/poa/poa.c: put all the 'non-small'
code back, at Elliot's behest.
Note: The --noidata option remains and the PIDL is
still no longer being compiled with --oldstyle.
* configure.in: bump up ORBIT_SERIAL.
2001-07-11 Mark McLoughlin <mark@skynet.ie>
* src/idl-compiler/orbit-idl-c-headers.c
(ch_type_alloc_and_tc): do the allocbuf thing.
* src/orb/dynamic/dynany.c,
src/orb/poa/poa.c,
test/poa/poatest-exception.h: kill temporary
hacks for the above.
2001-07-11 Mark McLoughlin <mark@skynet.ie>
* src/idl-compiler/orbit-idl-c-backend.h,
src/idl-compiler/orbit-idl-c-common.c,
src/idl-compiler/orbit-idl-c-demarshal.c,
src/idl-compiler/orbit-idl-c-headers.c,
src/idl-compiler/orbit-idl-c-marshal.c,
src/idl-compiler/orbit-idl-c-skels.c,
src/idl-compiler/orbit-idl-c-stubs.c,
src/idl-compiler/orbit-idl-c-utils.c,
src/idl-compiler/orbit-idl-main.c,
src/idl-compiler/orbit-idl3-types.h: chop, chop.
Remove all non-small code. Kill orbit-idl-c-demarshal.c
and orbit-idl-c-marshal.c. Add --noidata option.
* include/orbit/orb-core/orbit-small.h,
include/orbit/poa/poa-types.h,
src/orb/orb-core/orbit-small.c,
src/orb/poa/poa.c: remove all non-small
code.
* src/orb/dynamic/dynany.c,
src/orb/poa/poa.c,
test/poa/poatest-exception.h: temp hacks
to get around fact that orbit-idl is not
generating aliased sequence allocbufs.
* include/orbit/orb-core/Makefile.am,
src/orb/dynamic/Makefile.am,
src/orb/include/Makefile.am,
src/orb/orb-core/Makefile.am,
src/orb/poa/Makefile.am: kill --oldstyle,
use --noidata.
* test/poa/Makefile.am: depend on orbit-idl.
* configure.in: bump up ORBIT_SERIAL.
2001-07-11 Michael Meeks <michael@ximian.com>
* src/orb/orb-core/corba-object.c (CORBA_Object__freekids):
fix brokenness.
* src/orb/orb-core/corba-typecode.c (ORBit_TypeCode_free_fn):
ditto.
2001-07-11 Michael Meeks <michael@ximian.com>
* src/orb/poa/poa.c (ORBit_POA_free_fn),
(ORBit_POACurrent_free_fn): fix deadlocks
* src/orb/poa/clean-poa.c (ORBit_POACurrent_free_fn),
(ORBit_POA_free_fn): ditto.
* src/orb/orb-core/corba-typecode.c (ORBit_TypeCode_free_fn):
kill deadlocks.
* src/orb/dynamic/dynany.c (DynamicAny_DynAny_release_fn):
use ORBit_free_T to stop deadlock & don't lock on invalidate.
(dynany_invalidate): add 'lock' argument.
update all references.
* src/orb/orb-core/allocators.c (ORBit_free): take
the RootObject_lifecycle_lock, and call
(ORBit_free_T): split out.
(ORBit_freekids_via_TypeCode): split out to
(ORBit_freekids_via_TypeCode_T): here & kill deadlock plague.
* src/orb/orb-core/corba-object.c
(CORBA_Object_release_cb): use the non-locking
release on obj->pobj.
2001-07-10 Michael Meeks <michael@ximian.com>
* configure.in: Bump version to 2.3.91
2001-07-10 Peter Williams <peter@beta.newton.cx>
* test/poa/Makefile.am ($(POATEST_IDLOUT)): use $<
instead of poatest.idl for when srcdir != builddir.
2001-07-10 Mark McLoughlin <mark@skynet.ie>
* include/orbit/poa/poa.h(ORBit_POAInvocation):
killed object_id and doUnuse members.
* include/orbit/poa/portableserver-poa-type.h
(PortableServer_POA): replaced default_pobj
member with default_servant;
* src/orb/poa/poa.c
(ORBit_POA_ServantManager_{un}use_servant): pass
a pobj instead of an iframe.
(ORBit_handle_request): split in two. Now
ORBit_small_handle_request can be used for local
calls and original function is a wrapper for
remote calls.
Also various default_servant fixes.
* src/orb/poa/orbit-poa-export.h: introduce
ORBit_small_handle_request.
* src/orb/orb-core/orbit-small.c
(ORBit_small_invoke_stub): call
ORBit_small_handle_request.
* test/poa/poatest-basic09.c,
test/poa/poatest-basic10.c: commit default
servant tests.
2001-07-09 Mark McLoughlin <mark@skynet.ie>
* src/orb/orb-core/corba-object.c,
src/orb/poa/poa.c: fixed some extreme
braindeadness on my part.
2001-07-07 Mark McLoughlin <mark@skynet.ie>
* include/orbit/orb-core/corba-object-type.h,
src/orb/orb-core/Makefile.am,
src/orb/orb-core/corba-object.c,
src/orb/orb-core/orb-core-private.h,
src/orb/orb-core/iop-profiles.c,
src/orb/orb-core/iop-profiles.h: split off all the
profiles stuff on its own.
2001-07-08 Michael Meeks <michael@ximian.com>
* src/orb/orb-core/orbit-object.c
(ORBit_RootObject_release): split out core to:
(ORBit_RootObject_release_T): here.
* src/orb/orb-core/corba-object.c
(CORBA_Object_release_cb): use the non-locking release.
* src/orb/poa/poa.c (remove_cb): return FALSE instead of
nothing.
(ORBit_POAObject_release_cb): use non-locking release.
2001-07-07 Mark McLoughlin <mark@skynet.ie>
* include/orbit/orb-core/corba-object.h,
src/orb/orb-core/corba-object.c,
src/orb/poa/poa.c: sharing is caring.
Make the POA generated references share their
profile_lists.
2001-07-07 Mark McLoughlin <mark@skynet.ie>
* src/orb/orb-core/corba-object.c: don't carry around
multiple copies of the object key. Only generate it when
it the ref is to be exported.
* src/orb/poa/orbit-poa-export.h,
src/orb/poa/poa.c: rename ORBit_POA_oid_to_okey to
ORBit_POA_object_to_okey and export.
2001-07-07 Mark McLoughlin <mark@skynet.ie>
* src/orb/orb-core/corba-object.c,
src/orb/orb-core/corba-orb.c: only opening listening
sockets when externalising a reference.
2001-07-06 Mark McLoughlin <mark@skynet.ie>
* include/orbit/orb-core/corba-object.h,
include/orbit/poa/poa-types.h,
src/orb/orb-core/corba-object.c,
src/orb/poa/orbit-poa.h,
src/orb/poa/poa.c: make an object reference's
profile_list only be generated when it is about to
be externalised.
2001-07-04 Michael Meeks <michael@ximian.com>
* src/orb/orb-core/orbit-small.c
(ORBit_small_invoke_stub): add ORBIT_STUB_PostCall/PreCall
ref counting checks.
2001-07-05 Mark McLoughlin <mark@skynet.ie>
* include/orbit/orb-core/corba-object-type.h,
include/orbit/poa/poa-types.h,
src/orb/orb-core/corba-object.c,
src/orb/orb-core/orbit-small.c,
src/orb/poa/poa.c,
src/services/name/orbit-name-server.c: make every reference
created by the POA have a POAOjbect associated with it.
s/bypass_obj/pobj/.
2001-07-05 Mark McLoughlin <mark@skynet.ie>
* test/poa/poatest-basic04.c,
test/poa/poatest-basic05.c,
test/poa/poatest-basic06.c,
test/poa/poatest-basic07.c,
test/poa/poatest-basic08.c: use
CORBA_PolicyList_allocbuf instead of g_new0.
2001-07-04 Mark McLoughlin <mark@skynet.ie>
* configure.in: updated glib check.
2001-07-04 Mark McLoughlin <mark@skynet.ie>
* src/orb/orb-core/orbit-interface.idl,
src/idl-compiler/orbit-idl-c-common.c,
src/idl-compiler/orbit-idl-c-headers.c:
added inheritance data to ORBit::IInterface.
2001-07-03 Michael Meeks <michael@ximian.com>
* src/orb/orbit-init.c (ORBit_init_internals): seed
the random number generator once, properly.
* src/orb/GIOP/giop-connection.c s/shutdown/dispose/
* include/orbit/util/basic_types.h: include
glib/gunicode.h Mark needs to update his glib :-)
2001-06-29 Michael Meeks <michael@ximian.com>
* src/orb/orb-core/corba-object.c
(IOP_TAG_INTERNET_IOP_demarshal): NULL components if
version is !> GIOP_1_0.
* src/idl-compiler/orbit-idl-c-utils.c
(orbit_cbe_get_typespec_str): return CORBA_wstring not
CORBA_wchar *.
* include/orbit/util/basic_types.h: add CORBA_wstring.
2001-06-29 Mark McLoughlin <mark@skynet.ie>
* include/orbit/util/basic_types.h: include gunicode.h,
not glib/gunicode.h.
2001-06-29 Mark McLoughlin <mark@skynet.ie>
* src/orb/poa/poa.c: fixed a couple of porblems
with yesterday's commit.
2001-06-28 Mark McLoughlin <mark@skynet.ie>
* include/orbit/poa/poa-types.h,
src/orb/orbit-init.c,
src/orb/orb-core/corba-object.c,
src/orb/orb-core/corba-orb.c,
src/orb/poa/orbit-poa.h,
src/orb/poa/poa.c: sorted out the POA and
POAObject ref counting mess - I hope ;)
* src/orb/poa/poa-servants.c: remove assertions -
not valid in MULT_ID case.
* test/poa/poatest-basic-shell.c,
test/poa/poatest-basic04.c,
test/poa/poatest-basic05.c,
test/poa/poatest-basic06.c,
test/poa/poatest-basic07.c,
test/poa/poatest-basic08.c: release more refs,
and invoke orb->destroy and orb->shutdown.
2001-06-28 Michael Meeks <michael@ximian.com>
* include/orbit/util/basic_types.h: include glib/gunicode.h,
we require HEAD glib.
2001-06-26 Mark McLoughlin <mark@skynet.ie>
* src/orb/orb-core/corba-context.c,
src/orb/poa/poa.c: kill deprecated
g_hash_table_(freeze|thaw) functions.
2001-06-26 Mark McLoughlin <mark@skynet.ie>
* include/orbit/poa/poa-types.h,
src/idl-compiler/orbit-idl-c-skels.c :
kill POAObject members use_count, death_callback
and user_data. Relics from an old hack from ORBit0
thats not used anymore.
* src/orb/poa/poa.c: add a few TODO items.
2001-06-26 Michael Meeks <michael@ximian.com>
* src/idl-compiler/orbit-idl-c-skels.c
(cbe_skel_interface_print_relayer): chop specious overall idx
calculation.
(cbe_skel_interface_print_relayers): calc. m_data idx per
interface so inheritance works, sigh.
* test/everything/everything.idl: inherit StructServer
from BasicServer to regression test method layout under
inheritance.
* test/everything/structServer.c (StructServer_vepv): upd.
2001-06-26 Michael Meeks <michael@ximian.com>
* src/orb/GIOP/giop-connection.c
(giop_connection_handle_input): unuse the incoming
message off the cnx list as we handle it.
* src/orb/orb-core/corba-orb.c
(CORBA_ORB_run): just do a g_main_loop_run
2001-06-25 Mark McLoughlin <mark@skynet.ie>
* test/poa/.cvsignore: added.
2001-06-25 Mark McLoughlin <mark@skynet.ie>
* test/poa/*: import.
* configure.in, test/Makefile.am: add poa.
2001-06-25 Mark McLoughlin <mark@skynet.ie>
* include/orbit/poa/poa-types.h,
src/idl-compiler/orbit-idl-c-skels.c,
src/orb/poa/poa-servants.c,
src/orb/poa/poa.c : make MULT_ID work by having a list of
POAObjects in the servant's '_private' member.
2001-06-25 Mark McLoughlin <mark@skynet.ie>
* include/orbit/poa/poa.h: add string_to_ObjectId etc.
* src/orb/poa/poa.c: make root POA have non default
IMPLICIT_ACTIVATION policy.
2001-06-25 Michael Meeks <michael@ximian.com>
* src/orb/dynamic/dynany.c
(CORBA_sequence_DynamicAny_NameValuePair_allocbuf),
(CORBA_sequence_DynamicAny_NameValuePair__alloc): impl.
2001-06-25 Martin Baulig <baulig@suse.de>
* src/orb/dynamic/dynany.c
(DynamicAny_DynStruct_set_members),
(DynamicAny_DynStruct_get_members): copy from
ORBit-martin-forked.
2001-06-25 Michael Meeks <michael@ximian.com>
* test/echo-server.c (main): remove hack.
* src/orb/orb-core/corba-orb.c (idle_fn),
(ORBit_ORB_idle_init): kill ugly hack.
2001-06-25 Martin Baulig <baulig@suse.de>
* src/orb/orb-core/corba-object.c: add include.
* src/orb/GIOP/giop-connection.c
(giop_connection_handle_input): handle request as
it finished coming in.
2001-06-23 Martin Baulig <baulig@suse.de>
* configure.in: Don't output the .pc files twice.
* src/idl-compiler/Makefile.am: s/libIDL.la/libIDL-2.la/g.
* test/inhibit/Makefile.am: Removed $(IDLOUT), test_any_built
and $(TEST_ANY_IDLOUT) so this actually works.
2001-06-19 Michael Meeks <michael@ximian.com>
* src/idl-compiler/orbit-idl-c-stubs.c (cs_small_output_stub):
output pre / post call code even for small stubs / skels.
* include/orbit/poa/poa-types.h: remove redundant type defines.
2001-06-19 Michael Meeks <michael@ximian.com>
* src/orb/util/genrand.c (genrand_unix): if ORBIT_PURIFY don't
use bits of uninitialized stack.
2001-06-18 Erik Walthinsen <omega@temple-baptist.com>
* ORBit-2.0.pc.in, ORBit-CosNaming-2.0.pc.in: brought in from
ORBit-martin-forked.
* .cvsignore, Makefile.am, configure.in: added necessary lines
for above .pc files to be created/installed.
2001-06-19 Mark McLoughlin <mark@skynet.ie>
* src/orb/include/Makefile.am: use --oldstyle
* src/orb/dynamic/Makefile.am: fix build.
* src/orb/poa/Makefile.am: fix build.
* test/Makefile.am: Fix build, kill -lefence.
2001-05-30 Michael Meeks <michael@ximian.com>
* src/orb/orb-core/Makefile.am: simplify makefile ugliness.
* test/Makefile.am (echo_built): fix recursive build
issue.
2001-05-30 Michael Meeks <michael@ximian.com>
* src/orb/GIOP/giop-connection.c (giop_connection_initiate):
only ref the connection if we didn't just destroy it.
2001-05-30 Michael Meeks <michael@ximian.com>
* src/orb/orb-core/orbit-small.c (ORBit_small_invoke_stub):
don't do an alloca (0), just use &obj - this points to
the stack in a safer, quicker and cleaner way.
2001-05-30 Michael Meeks <michael@ximian.com>
* src/orb/dynamic/dynany.c (dynany_sequence_realloc_to): only
copy old_len elements from the old buffer.
2001-05-30 Michael Meeks <michael@ximian.com>
* src/orb/dynamic/dynany.c: Port from ORBit-stable.
* src/orb/orb-core/allocators.c (ORBit_free): use
ORBit_free internaly not CORBA_free to clean stack traces.
* src/orb/orb-core/corba-any.c (CORBA_any__freekids): ditto
& accelerate.
* src/orb/orb-core/corba-orb.c
(CORBA_ORB_set_initial_reference): fix g_hash_table
manipulation leak / bug.
2001-05-29 Michael Meeks <michael@ximian.com>
* src/orb/dynamic/Makefile.am: install dynamic-defs.h
in the right place ...
* src/orb/orb-core/corba-typecode.c: add long_double TC def.
* src/idl-compiler/orbit-idl-c-headers.c
(ch_type_alloc_and_tc): fixup emmission of __allocbuf as
well as __alloc for sequences.
* include/orbit/orb-core/corba-typecode.h: declare.
TC_CORBA_long_double_struct and TC_CORBA_wstring_struct.
* src/orb/orb-core/corba-any.c (CORBA_any__copy): constipate.
* include/orbit/dynamic/dynamic.h: upd.
* include/orbit/orbit.h: add dynamic.h
* src/orb/dynamic/Makefile.am: add dynany.c
2001-05-25 Michael Meeks <michael@ximian.com>
* src/orb/poa/Makefile.am (runidl_poa): install poa-defs into
the correct directory, fixup the include brokenness.
(POA_IDLOUT): add poa-defs.h - doh.
* src/idl-compiler/orbit-idl-c-headers.c (ch_output_interface):
output TC_ #defines even for PIDL types.
* src/idl-compiler/orbit-idl-c-common.c
(build_marshal_funcs): only output marshalers if we
need to.
(cc_output_tc_walker): Output typecode information for
PIDL types - why not, might help automated language bindings
to the PIDL.
2001-05-25 Michael Meeks <michael@ximian.com>
* src/orb/orb-core/orbit-small.c (dump): print in-buffer
offsets as well as the data.
* src/orb/orb-core/corba-typecode.c (tc_dec_tk_except):
decode sub_parts sub-types not length.
(tc_enc_tk_except): ditto for encode.
(tc_enc): use the buffer length in the message header
instead of the current_idx, since we now marshal straight
into a single buffer without the encaps cruft.
(tc_dec): fix the recursive arithmetic, make it remember
to duplicate the recursive typecode references.
* src/orb/orb-core/corba-any.c (ORBit_demarshal_value):
duplicate the correct pointer.
* src/orb/orb-core/orbit-small.c (ORBit_small_alloc): re-write
to memset 0 the returned memory.
* src/orb/orb-core/corba-any.c (CORBA_any__freekids): release
the typecode pointer as well.
* src/idl-compiler/orbit-idl-c-common.c (cc_alloc_prep): pass
rinfo around.
2001-05-25 Michael Meeks <michael@ximian.com>
* src/orb/orb-core/corba-context.c (CORBA_Context_set_one_value):
remove the hash table value, so we don't screw up the key allocation.
2001-05-24 Michael Meeks <michael@ximian.com>
* src/orb/GIOP/giop-connection.c (giop_connection_initiate):
reference the connection before returning it, if it wasn't
looked up in the list.
(giop_connection_remove_by_orb): fix serious brokenness.
(giop_connection_close): publicise.
(giop_connection_shutdown): remove the connection from the
connection list.
(giop_connection_unref): remove last unref sillies.
* src/orb/orb-core/corba-object.c (g_CORBA_Object_equal): uglify,
we need to be able to scan for MULTIPLE_COMPONENTS profiles in
order to do the GIOP profile comparison (get_mci): impl helper.
(IOP_Profile_equal): similarly uglify.
(CORBA_Object_release_cb): close the connection and
unref it.
* src/orb/poa/poa.c (ORBit_POA_oid_to_ref): set the profile_type
on the iiop profile.
* src/orb/orb-core/corba-object.c (ORBit_objref_new): actualy
insert new object references into the objrefs hash.
(IOP_Profile_dump): impl.
2001-05-24 Michael Meeks <michael@ximian.com>
* src/orb/orb-core/corba-object.c (CORBA_Object_release_cb):
only unref the connection if it is valid.
(IOP_Profile_equal): re-order compares to accelerate & warn
on unknown profile.
* src/orb/GIOP/giop-connection.c (giop_connection_list_add):
re-privatize.
* src/orb/GIOP/giop-server.c (giop_server_handle_new_connection):
remove - was broken.
* src/orb/GIOP/giop-recv-buffer.c (giop_recv_buffer_data_read):
kill warning.
* src/orb/GIOP/giop-connection.c (giop_connection_handle_input):
if we return FALSE set the source tag to 0, since on return it
is removed.
(giop_connection_real_state_changed): add some source management
assertions.
(giop_connection_destroy): rename to
(giop_connection_shutdown): this.
2001-05-20 Michael Meeks <michael@ximian.com>
* src/orb/orb-core/corba-object.c
(CORBA_Object_release_cb): remove bypass_obj unref, hmm.
2001-05-20 Michael Meeks <michael@ximian.com>
* src/orb/orb-core/corba-orb.c
(ORBit_ORB_idle_init, idle_fn): FIXME these suck.
* src/orb/GIOP/giop-recv-buffer.c
(giop_recv_buffer_use_noblock): impl.
2001-05-19 Michael Meeks <michael@ximian.com>
* src/idl-compiler/orbit-idl-c-headers.c
(orbit_idl_output_c_headers): re-order.
2001-05-19 Michael Meeks <michael@ximian.com>
* src/orb/poa/poa.c (ORBit_POA_free_fn): free the poa's
name and key buffer.
* src/orb/orb-core/corba-orb.c (CORBA_ORB_release_fn):
free the initial refs hash.
2001-05-18 Martin Baulig <baulig@suse.de>
* ORBit-2.0.pc.in (Cflags): Added `-DORBIT2=1'.
2001-05-18 Martin Baulig <baulig@suse.de>
* ORBit-2.0.pc.in: Use `ORBit-2.0' as package name.
* ORBit-CosNaming-2.0.pc.in: Use `ORBit-CosNaming-2.0' as name.
* Makefile.am: Install the .pc files.
* src/orb/orb-core/Makefile.am: Added explicit dependency
`$(top_builddir)/include/orbit/orb-core/orbit-interface.h: runidl_iface'.
2001-05-19 Michael Meeks <michael@ximian.com>
* src/orb/orb-core/corba-any.c (ORBit_demarshal_value):
set _release = TRUE for sequences.
2001-05-18 Michael Meeks <michael@ximian.com>
* src/orb/orb-core/orbit-small.c
(ORBit_small_invoke_poa): fix more stupid leaks.
2001-05-18 Michael Meeks <michael@ximian.com>
* src/orb/orb-core/corba-object.c
(IOP_TAG_ORBIT_SPECIFIC_demarshal): allocate the correct
buffer size for the sock_path.
(IOP_Profile_equal): fix bug in GIOP compare, and compare
on host for IOP, impl for ORBIT_SPECIFIC and re-order to
accelerate.
(IOP_ObjectKey_equal): split out.
(IOP_TAG_ORBIT_SPECIFIC_free): don't double free the profile
itself.
* src/orb/poa/poa.c (ORBit_POA_oid_to_ref): put the osi
profile on the profile list, and do this later, to ensure
that the ORBit specific profile is later than the GIOP
profile.
* test/everything/server.c (create_object): free the object id...
* src/orb/orb-core/orbit-small.c (ORBit_small_invoke_poa): fix misc.
leaks.
* src/orb/orb-core/corba-context.c (CORBA_Context_get_values): remove
redundant call to create_list.
2001-05-18 Michael Meeks <michael@ximian.com>
* src/orb/GIOP/giop-server.c (giop_server_handle_new_connection): impl.
(giop_server_class_init): hook it up.
* src/orb/orb-core/corba-orb.c (CORBA_ORB_run):
unuse reliably here.
* src/orb/poa/poa.c (ORBit_handle_request):
remove the unuse.
* src/orb/orb-core/corba-context.c (CORBA_Context_new): fix leak.
2001-05-18 Michael Meeks <michael@ximian.com>
* src/orb/poa/poa.c (PortableServer_POA_find_POA): bugfix.
(ORBit_POA_is_inuse):
* src/orb/orb-core/corba-orb.c (CORBA_ORB_init): duplicate
the ORB before returning it.
* src/orb/orb-core/corba-object.c (ORBit_delete_profiles): upd.
(ORBit_handle_location_forward, ORBit_demarshal_IOR): upd.
(CORBA_Object_release_cb): finish.
(ORBit_objref_find): fix leak.
2001-05-18 Michael Meeks <michael@ximian.com>
* src/orb/orb-core/corba-typecode.c (tc_dec): remove broken
ref set to 1.
2001-05-17 Michael Meeks <michael@ximian.com>
* src/orb/orb-core/corba-object.c
(ORBit_profile_free): actualy free the sub-profiles.
(IOP_TAG_INTERNET_IOP_free, IOP_TAG_GENERIC_IOP_free),
(IOP_TAG_MULTIPLE_COMPONENTS_free, IOP_TAG_ORBIT_SPECIFIC_free):
impl.
* src/orb/GIOP/giop-recv-buffer.c
(giop_IOP_ServiceContextList_free): impl.
(giop_recv_buffer_unuse): use it.
* src/orb/orb-core/corba-typecode.c (tc_dec): unuse
the encapsulated buffer after creation.
2001-05-17 Michael Meeks <michael@ximian.com>
* src/orb/orb-core/corba-context.c (ORBit_Context_demarshal):
move buf->cur over the length to point at the value.
* src/orb/orb-core/corba-orb.c (CORBA_ORB_create_list): impl.
* src/orb/orb-core/corba-typecode.c (tc_dec_tk_sequence),
(tc_dec_tk_alias, tc_dec_tk_array): set sub_parts to 1.
(tc_dec): set ref count to 1.
* src/orb/orb-core/corba-any.c (ORBit_marshal_value),
(ORBit_demarshal_value): Make TypeCode indirection consistant
with CORBA_Object indirection [ and in fact all other types ] -
they are both Pseudo-objects.
* src/orb/orb-core/corba-typecode.c (tc_dec): hack.
* src/orb/orb-core/corba-env.c (ORBit_send_user_exception): fixup.
2001-05-16 Michael Meeks <michael@ximian.com>
* src/orb/orb-core/orbit-small.c (ORBit_small_invoke_skel): impl.
2001-05-16 Michael Meeks <michael@ximian.com>
* src/orb/orb-core/corba-object.c (CORBA_Object_non_existent):
reverse polarity.
* src/orb/orb-core/orbit-small.c (ORBit_small_allocbuf):
fix silly allocbuf bug.
* test/everything/client.c: #include yet another
.c file - yuck.
* test/everything/server.c: kugly #ifdef hacks.
2001-05-14 Michael Meeks <michael@ximian.com>
* src/orb/orb-core/corba-object.c
(CORBA_Object_non_existent): fix.
* configure.in: add pkgconfig bits.
2001-05-12 Michael Meeks <michael@ximian.com>
* src/orb/orb-core/orbit-small.c: impl. context code.
2001-05-11 Michael Meeks <michael@ximian.com>
* src/orb/orb-core/corba-any.c (ORBit_demarshal_value):
don't try to de-marshal a _maximum that isn't there.
2001-05-10 Michael Meeks <michael@ximian.com>
* src/idl-compiler/orbit-idl-c-utils.c
(orbit_cbe_write_param_typespec_str): split from
(orbit_cbe_write_param_typespec_raw): here.
(cs_small_unflatten_ref, cbe_small_unflatten_args): impl.
* include/orbit/poa/poa-types.h:
add ORBit_small_impl_finder, add ORBitSmallSkeleton.
2001-05-09 Michael Meeks <michael@ximian.com>
* test/everything/Makefile.am: remove ugly hack.
2001-05-08 Michael Meeks <michael@ximian.com>
* src/idl-compiler/orbit-idl-c-skels.c (ck_output_small_skel):
impl.
* src/idl-compiler/orbit-idl-c-utils.c
(cs_small_flatten_ref, cbe_small_output_args): move here
from orbit-idl-c-stubs.c
* src/idl-compiler/orbit-idl-c-skels.c
(cbe_skel_interface_print_relayers),
(cbe_skel_interface_print_relayer): make small variants
like to change sig to have const char *method, but needs
poa work... perhaps expand the PortableServer_ClassInfo
struct with a more sensible option ? / put it on the
object.
* src/idl-compiler/orbit-idl-c-stubs.c
(orbit_cbe_param_printptrs): unused - kill.
2001-05-05 Michael Meeks <michael@ximian.com>
* src/idl-compiler/orbit-idl-c-headers.c
(orbit_idl_output_c_headers): upd.
(ch_output_itypes, ch_output_itype): impl.
* src/idl-compiler/orbit-idl-c-stubs.c
(orbit_idl_output_c_stubs): upd.
(cs_small_output_stubs, cs_small_flatten_ref),
(cs_small_output_args, cs_small_output_small_stub): impl.
* src/orb/orb-core/corba-any.c (ORBit_demarshal_value),
(ORBit_marshal_value): publicise.
* src/idl-compiler/orbit-idl-c-common.c
(cc_small_output_itypes, cc_small_output_itype): add.
2001-05-04 Michael Meeks <michael@ximian.com>
* include/orbit/orb-core/allocators.h
(ORBit_freekids_via_TypeCode): publicize.
* src/idl-compiler/orbit-idl-c-common.c: don't dump any
allocs if we are in small mode.
* src/idl-compiler/orbit-idl-c-utils.c
(orbit_cbe_get_typecode_name): add.
* include/orbit/orb-core/orb-core.h: add orbit-small.h
* src/idl-compiler/orbit-idl-c-headers.c (ch_output_type_enum):
(ch_output_interface, ch_output_type_dcl, ch_output_type_struct),
(ch_output_type_union, ch_prep_fixed, ch_prep_sequence): pass
rinfo around so we can get at the 'small' flag.
(ch_prep): upd.
* src/idl-compiler/orbit-idl-main.c (main): add arg '--small'
2001-05-04 Michael Meeks <michael@ximian.com>
* test/everything/*: import & port.
* src/orb/orb-core/corba-any.c (ORBit_any_equivalent),
copy straight from ORBit stable - no mods.
(ORBit_value_equivalent): ditto + add scratch to union_tag
handling.
(ORBit_copy_value_core): fix bug in CORBA_tk_union handling
* src/orb/orb-core/corba-typecode.c (CORBA_TypeCode_equal): copy
straight from ORBit stable - no mods.
* test/Makefile.am (SUBDIRS): add 'everything'
* src/idl-compiler/orbit-idl-c-common.c (orbit_idl_output_c_common):
setup ORBit_zero_int as a static local.
* include/orbit/orb-core/allocators.h (CORBA_sequence_get_release):
define CORBA_sequence_get_release
* src/idl-compiler/orbit-idl-c-skels.c:
add G_GNUC_UNUSED attribute to some potentialy unused bits.
* src/idl-compiler/orbit-idl-c-stubs.c
add G_GNUC_UNUSED attribute to some potentialy unused bits.
(cs_output_stub): always generate _ORBIT_demarshal_error.
* src/orb/orb-core/corba-any.c (CORBA_any_get_release): impl.
* test/everything/Makefile.am: update.
|