1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
153
154
155
156
157
158
159
160
161
162
163
164
165
166
167
168
169
170
171
172
173
174
175
176
177
178
179
180
181
182
183
184
185
186
187
188
189
190
191
192
193
194
195
196
197
198
199
200
201
202
203
204
205
206
207
208
209
210
211
212
213
214
215
216
217
218
219
220
221
222
223
224
225
226
227
228
229
230
231
232
233
234
235
236
237
238
239
240
241
242
243
244
245
246
247
248
249
250
251
252
253
254
255
256
257
258
259
260
261
262
263
264
265
266
267
268
269
270
271
272
273
274
275
276
277
278
279
280
281
282
283
284
285
286
287
288
289
290
291
292
293
294
295
296
297
298
299
300
301
302
303
304
305
306
307
308
309
310
311
312
313
314
315
316
317
318
319
320
321
322
323
324
325
326
327
328
329
330
331
332
333
334
335
336
337
338
339
340
341
342
343
344
345
346
347
348
349
350
351
352
353
354
355
356
357
358
359
360
361
362
363
364
365
366
367
368
369
370
371
372
373
374
375
376
377
378
379
380
381
382
383
384
385
386
387
388
389
390
391
392
393
394
395
396
397
398
399
400
401
402
403
404
405
406
407
408
409
410
411
412
413
414
415
416
417
418
419
420
421
422
423
424
425
426
427
428
429
430
431
432
433
434
435
436
437
438
439
440
441
442
443
444
445
446
447
448
449
450
451
452
453
454
455
456
457
458
459
460
461
462
463
464
465
466
467
468
469
470
471
472
473
474
475
476
477
478
479
480
481
482
483
484
485
486
487
488
489
490
491
492
493
494
495
496
497
498
499
500
501
502
503
504
505
506
507
508
509
510
511
512
513
514
515
516
517
518
519
520
521
522
523
524
525
526
527
528
529
530
531
532
533
534
535
536
537
538
539
540
541
542
543
544
545
546
547
548
549
550
551
552
553
554
555
556
557
558
559
560
561
562
563
564
565
566
567
568
569
570
571
572
573
574
575
576
577
578
579
580
581
582
583
584
585
586
587
588
589
590
591
592
593
594
595
596
597
598
599
600
601
602
603
604
605
606
607
608
609
610
611
612
613
614
615
616
617
618
619
620
621
622
623
624
625
626
627
628
629
630
631
632
633
634
635
636
637
638
639
640
641
642
643
644
645
646
647
648
649
650
651
652
653
654
655
656
657
658
659
660
661
662
663
664
665
666
667
668
669
670
671
672
673
674
675
676
677
678
679
680
681
682
683
684
685
686
687
688
689
690
691
692
693
694
695
696
697
698
699
700
701
702
703
704
705
706
707
708
709
710
711
712
713
714
715
716
717
718
719
720
721
722
723
724
725
726
727
728
729
730
731
732
733
734
735
736
737
738
739
740
741
742
743
744
745
746
747
748
749
750
751
752
753
754
755
756
757
758
759
760
761
762
763
764
765
766
767
768
769
770
771
772
773
774
775
776
777
778
779
780
781
782
783
784
785
786
787
788
789
790
791
792
793
794
795
796
797
798
799
800
801
802
803
804
805
806
807
808
809
810
811
812
813
814
815
816
817
818
819
820
821
822
823
824
825
826
827
828
829
830
831
832
833
834
835
836
837
838
839
840
841
842
843
844
845
846
847
848
849
850
851
852
853
854
855
856
857
858
859
860
861
862
863
864
865
866
867
868
869
870
871
872
873
874
875
876
877
878
879
880
881
882
883
884
885
886
887
888
889
890
891
892
893
894
895
896
897
898
899
900
901
902
903
904
905
906
907
908
909
910
911
912
913
914
915
916
917
918
919
920
921
922
923
924
925
926
927
928
929
930
931
932
933
934
935
936
937
938
939
940
941
942
943
944
945
946
947
948
949
950
951
952
953
954
955
956
957
958
959
960
961
962
963
964
965
966
967
968
969
970
971
972
973
974
975
976
977
978
979
980
981
982
983
984
985
986
987
988
989
990
991
992
993
994
995
996
997
998
999
1000
1001
1002
1003
1004
1005
1006
1007
1008
1009
1010
1011
1012
1013
1014
1015
1016
1017
1018
1019
1020
1021
1022
1023
1024
1025
1026
1027
1028
1029
1030
1031
1032
1033
1034
1035
1036
1037
1038
1039
1040
1041
1042
1043
1044
1045
1046
1047
1048
1049
1050
1051
1052
1053
1054
1055
1056
1057
1058
1059
1060
1061
1062
1063
1064
1065
1066
1067
1068
1069
1070
1071
1072
1073
1074
1075
1076
1077
1078
1079
1080
1081
1082
1083
1084
1085
1086
1087
1088
1089
1090
1091
1092
1093
1094
1095
1096
1097
1098
1099
1100
1101
1102
1103
1104
1105
1106
1107
1108
1109
1110
1111
1112
1113
1114
1115
1116
1117
1118
1119
1120
1121
1122
1123
1124
1125
1126
1127
1128
1129
1130
1131
1132
1133
1134
1135
1136
1137
1138
1139
1140
1141
1142
1143
1144
1145
1146
1147
1148
1149
1150
1151
1152
1153
1154
1155
1156
1157
1158
1159
1160
1161
1162
1163
1164
1165
1166
1167
1168
1169
1170
1171
1172
1173
1174
1175
1176
1177
1178
1179
1180
1181
1182
1183
1184
1185
1186
1187
1188
1189
1190
1191
1192
1193
1194
1195
1196
1197
1198
1199
1200
1201
1202
1203
1204
1205
1206
1207
1208
1209
1210
1211
1212
1213
1214
1215
1216
1217
1218
1219
1220
1221
1222
1223
1224
1225
1226
1227
1228
1229
1230
1231
1232
1233
1234
1235
1236
1237
1238
1239
1240
1241
1242
1243
1244
1245
1246
1247
1248
1249
1250
1251
1252
1253
1254
1255
1256
1257
1258
1259
1260
1261
1262
1263
1264
1265
1266
1267
1268
1269
1270
1271
1272
1273
1274
1275
1276
1277
1278
1279
1280
1281
1282
1283
1284
1285
1286
1287
1288
1289
1290
1291
1292
1293
1294
1295
1296
1297
1298
1299
1300
1301
1302
1303
1304
1305
1306
1307
1308
1309
1310
1311
1312
1313
1314
1315
1316
1317
1318
1319
1320
1321
1322
1323
1324
1325
1326
1327
1328
1329
1330
1331
1332
1333
1334
1335
1336
1337
1338
1339
1340
1341
1342
1343
1344
1345
1346
1347
1348
1349
1350
1351
1352
1353
1354
1355
1356
1357
1358
1359
1360
1361
1362
1363
1364
1365
1366
1367
1368
1369
1370
1371
1372
1373
1374
1375
1376
1377
1378
1379
1380
1381
1382
1383
1384
1385
1386
1387
1388
1389
1390
1391
1392
1393
1394
1395
1396
1397
1398
1399
1400
1401
1402
1403
1404
1405
1406
1407
1408
1409
1410
1411
1412
1413
1414
1415
1416
1417
1418
1419
1420
1421
1422
1423
1424
1425
1426
1427
1428
1429
1430
1431
1432
1433
1434
1435
1436
1437
1438
1439
1440
1441
1442
1443
1444
1445
1446
1447
1448
1449
1450
1451
1452
1453
1454
1455
1456
1457
1458
1459
1460
1461
1462
1463
1464
1465
1466
1467
1468
1469
1470
1471
1472
1473
1474
1475
1476
1477
1478
1479
1480
1481
1482
1483
1484
1485
1486
1487
1488
1489
1490
1491
1492
1493
1494
1495
1496
1497
1498
1499
1500
1501
1502
1503
1504
1505
1506
1507
1508
1509
1510
1511
1512
1513
1514
1515
1516
1517
1518
1519
1520
1521
1522
1523
1524
1525
1526
1527
1528
1529
1530
1531
1532
1533
1534
1535
1536
1537
1538
1539
1540
1541
1542
1543
1544
1545
1546
1547
1548
1549
1550
1551
1552
1553
1554
1555
1556
1557
1558
1559
1560
1561
1562
1563
1564
1565
1566
1567
1568
1569
1570
1571
1572
1573
1574
1575
1576
1577
1578
1579
1580
1581
1582
1583
1584
1585
1586
1587
1588
1589
1590
1591
1592
1593
1594
1595
1596
1597
1598
1599
1600
1601
1602
1603
1604
1605
1606
1607
1608
1609
1610
1611
1612
1613
1614
1615
1616
1617
1618
1619
1620
1621
1622
1623
1624
1625
1626
1627
1628
1629
1630
1631
1632
1633
1634
1635
1636
1637
1638
1639
1640
1641
1642
1643
1644
1645
1646
1647
1648
1649
1650
1651
1652
1653
1654
1655
1656
1657
1658
1659
1660
1661
1662
1663
1664
1665
1666
1667
1668
1669
1670
1671
1672
1673
1674
1675
1676
1677
1678
1679
1680
1681
1682
1683
1684
1685
1686
1687
1688
1689
1690
1691
1692
1693
1694
1695
1696
1697
1698
1699
1700
1701
1702
1703
1704
1705
1706
1707
1708
1709
1710
1711
1712
1713
1714
1715
1716
1717
1718
1719
1720
1721
1722
1723
1724
1725
1726
1727
1728
1729
1730
1731
1732
1733
1734
1735
1736
1737
1738
1739
1740
1741
1742
1743
1744
1745
1746
1747
1748
1749
1750
1751
1752
1753
1754
1755
1756
1757
1758
1759
1760
1761
1762
1763
1764
1765
1766
1767
1768
1769
1770
1771
1772
1773
1774
1775
1776
1777
1778
1779
1780
1781
1782
1783
1784
1785
1786
1787
1788
1789
1790
1791
1792
1793
1794
1795
1796
1797
1798
1799
1800
1801
1802
1803
1804
1805
1806
1807
1808
1809
1810
1811
1812
1813
1814
1815
1816
1817
1818
1819
1820
1821
1822
1823
1824
1825
1826
1827
1828
1829
1830
1831
1832
1833
1834
1835
1836
1837
1838
1839
1840
1841
1842
1843
1844
1845
1846
1847
1848
1849
1850
1851
1852
1853
1854
1855
1856
1857
1858
1859
1860
1861
1862
1863
1864
1865
1866
1867
1868
1869
1870
1871
1872
1873
1874
1875
1876
1877
1878
1879
1880
1881
1882
1883
1884
1885
1886
1887
1888
1889
1890
1891
1892
1893
1894
1895
1896
1897
1898
1899
1900
1901
1902
1903
1904
1905
1906
1907
1908
1909
1910
1911
1912
1913
1914
1915
1916
1917
1918
1919
1920
1921
1922
1923
1924
1925
1926
1927
1928
1929
1930
1931
1932
1933
1934
1935
1936
1937
1938
1939
1940
1941
1942
1943
1944
1945
1946
1947
1948
1949
1950
1951
1952
1953
1954
1955
1956
1957
1958
1959
1960
1961
1962
1963
1964
1965
1966
1967
1968
1969
1970
1971
1972
1973
1974
1975
1976
1977
1978
1979
1980
1981
1982
1983
1984
1985
1986
1987
1988
1989
1990
1991
1992
1993
1994
1995
1996
1997
1998
1999
2000
2001
2002
2003
2004
2005
2006
2007
2008
2009
2010
2011
2012
2013
2014
2015
2016
2017
2018
2019
2020
2021
2022
2023
2024
2025
2026
2027
2028
2029
2030
2031
2032
2033
2034
2035
2036
2037
2038
2039
2040
2041
2042
2043
2044
2045
2046
2047
2048
2049
2050
2051
2052
2053
2054
2055
2056
2057
2058
2059
2060
2061
2062
2063
2064
2065
2066
2067
2068
2069
2070
2071
2072
2073
2074
2075
2076
2077
2078
2079
2080
2081
2082
2083
2084
2085
2086
2087
2088
2089
2090
2091
2092
2093
2094
2095
2096
2097
2098
2099
2100
2101
2102
2103
2104
2105
2106
2107
2108
2109
2110
2111
2112
2113
2114
2115
2116
2117
2118
2119
2120
2121
2122
2123
2124
2125
2126
2127
2128
2129
2130
2131
2132
2133
2134
2135
2136
2137
2138
2139
2140
2141
2142
2143
2144
2145
2146
2147
2148
2149
2150
2151
2152
2153
2154
2155
2156
2157
2158
2159
2160
2161
2162
2163
2164
2165
2166
2167
2168
2169
2170
2171
2172
2173
2174
2175
2176
2177
2178
2179
2180
2181
2182
2183
2184
2185
2186
2187
2188
2189
2190
2191
2192
2193
2194
2195
2196
2197
2198
2199
2200
2201
2202
2203
2204
2205
2206
2207
2208
2209
2210
2211
2212
2213
2214
2215
2216
2217
2218
2219
2220
2221
2222
2223
2224
2225
2226
2227
2228
2229
2230
2231
2232
2233
2234
2235
2236
2237
2238
2239
2240
2241
2242
2243
2244
2245
2246
2247
2248
2249
2250
2251
2252
2253
2254
2255
2256
2257
2258
2259
2260
2261
2262
2263
2264
2265
2266
2267
2268
2269
2270
2271
2272
2273
2274
2275
2276
2277
2278
2279
2280
2281
2282
2283
2284
2285
2286
2287
2288
2289
2290
2291
2292
2293
2294
2295
2296
2297
2298
2299
2300
2301
2302
2303
2304
2305
2306
2307
2308
2309
2310
2311
2312
2313
2314
2315
2316
2317
2318
2319
2320
2321
2322
2323
2324
2325
2326
2327
2328
2329
2330
2331
2332
2333
2334
2335
2336
2337
2338
2339
2340
2341
2342
2343
2344
2345
2346
2347
2348
2349
2350
2351
2352
2353
2354
2355
2356
2357
2358
2359
2360
2361
2362
2363
2364
2365
2366
2367
2368
2369
2370
2371
2372
2373
2374
2375
2376
2377
2378
2379
2380
2381
2382
2383
2384
2385
2386
2387
2388
2389
2390
2391
2392
2393
2394
2395
2396
2397
2398
2399
2400
2401
2402
2403
2404
2405
2406
2407
2408
2409
2410
2411
2412
2413
2414
2415
2416
2417
2418
2419
2420
2421
2422
2423
2424
2425
2426
2427
2428
2429
2430
2431
2432
2433
2434
2435
2436
2437
2438
2439
2440
2441
2442
2443
2444
2445
2446
2447
2448
2449
2450
2451
2452
2453
2454
2455
2456
2457
2458
2459
2460
2461
2462
2463
2464
2465
2466
2467
2468
2469
2470
2471
2472
2473
2474
2475
2476
2477
2478
2479
2480
2481
2482
2483
2484
2485
2486
2487
2488
2489
2490
2491
2492
2493
2494
2495
2496
2497
2498
2499
2500
2501
2502
2503
2504
2505
2506
2507
2508
2509
2510
2511
2512
2513
2514
2515
2516
2517
2518
2519
2520
2521
2522
2523
2524
2525
2526
2527
2528
2529
2530
2531
2532
2533
2534
2535
2536
2537
2538
2539
2540
2541
2542
2543
2544
2545
2546
2547
2548
2549
2550
2551
2552
2553
2554
2555
2556
2557
2558
2559
2560
2561
2562
2563
2564
2565
2566
2567
2568
2569
2570
2571
2572
2573
2574
2575
2576
2577
2578
2579
2580
2581
2582
2583
2584
2585
2586
2587
2588
2589
2590
2591
2592
2593
2594
2595
2596
2597
2598
2599
2600
2601
2602
2603
2604
2605
2606
2607
2608
2609
2610
2611
2612
2613
2614
2615
2616
2617
2618
2619
2620
2621
2622
2623
2624
2625
2626
2627
2628
2629
2630
2631
2632
2633
2634
2635
2636
2637
2638
2639
2640
2641
2642
2643
2644
2645
2646
2647
2648
2649
2650
2651
2652
2653
2654
2655
2656
2657
2658
2659
2660
2661
2662
2663
2664
2665
2666
2667
2668
2669
2670
2671
2672
2673
2674
2675
2676
2677
2678
2679
2680
2681
2682
2683
2684
2685
2686
2687
2688
2689
2690
2691
2692
2693
2694
2695
2696
2697
2698
2699
2700
2701
2702
2703
2704
2705
2706
2707
2708
2709
2710
2711
2712
2713
2714
2715
2716
2717
2718
2719
2720
2721
2722
2723
2724
2725
2726
2727
2728
2729
2730
2731
2732
2733
2734
2735
2736
2737
2738
2739
2740
2741
2742
2743
2744
2745
2746
2747
2748
2749
2750
2751
2752
2753
2754
2755
2756
2757
2758
2759
2760
2761
2762
2763
2764
2765
2766
2767
2768
2769
2770
2771
2772
2773
2774
2775
2776
2777
2778
2779
2780
2781
2782
2783
2784
2785
2786
2787
2788
2789
2790
2791
2792
2793
2794
2795
2796
2797
2798
2799
2800
2801
2802
2803
2804
2805
2806
2807
2808
2809
2810
2811
2812
2813
2814
2815
2816
2817
2818
2819
2820
2821
2822
2823
2824
2825
2826
2827
2828
2829
2830
2831
2832
2833
2834
2835
2836
2837
2838
2839
2840
2841
2842
2843
2844
2845
2846
2847
2848
2849
2850
2851
2852
2853
2854
2855
2856
2857
2858
2859
2860
2861
2862
2863
2864
2865
2866
2867
2868
2869
2870
2871
2872
2873
2874
2875
2876
2877
2878
2879
2880
2881
2882
2883
2884
2885
2886
2887
2888
2889
2890
2891
2892
2893
2894
2895
2896
2897
2898
2899
2900
2901
2902
2903
2904
2905
2906
2907
2908
2909
2910
2911
2912
2913
2914
2915
2916
2917
2918
2919
2920
2921
2922
2923
2924
2925
2926
2927
2928
2929
2930
2931
2932
2933
2934
2935
2936
2937
2938
2939
2940
2941
2942
2943
2944
2945
2946
2947
2948
2949
2950
2951
2952
2953
2954
2955
2956
2957
2958
2959
2960
2961
2962
2963
2964
2965
2966
2967
2968
2969
2970
2971
2972
2973
2974
2975
2976
2977
2978
2979
2980
2981
2982
2983
2984
2985
2986
2987
2988
2989
2990
2991
2992
2993
2994
2995
2996
2997
2998
2999
3000
3001
3002
3003
3004
3005
3006
3007
3008
3009
3010
3011
3012
3013
3014
3015
3016
3017
3018
3019
3020
3021
3022
3023
3024
3025
3026
3027
3028
3029
3030
3031
3032
3033
3034
3035
3036
3037
3038
3039
3040
3041
3042
3043
3044
3045
3046
3047
3048
3049
3050
3051
3052
3053
3054
3055
3056
3057
3058
3059
3060
3061
3062
3063
3064
3065
3066
3067
3068
3069
3070
3071
3072
3073
3074
3075
3076
3077
3078
3079
3080
3081
3082
3083
3084
3085
3086
3087
3088
3089
3090
3091
3092
3093
3094
3095
3096
3097
3098
3099
3100
3101
3102
3103
3104
3105
3106
3107
3108
3109
3110
3111
3112
3113
3114
3115
3116
3117
3118
3119
3120
3121
3122
3123
3124
3125
3126
3127
3128
3129
3130
3131
3132
3133
3134
3135
3136
3137
3138
3139
3140
3141
3142
3143
3144
3145
3146
3147
3148
3149
3150
3151
3152
3153
3154
3155
3156
3157
3158
3159
3160
3161
3162
3163
3164
3165
3166
3167
3168
3169
3170
3171
3172
3173
3174
3175
3176
3177
3178
3179
3180
3181
3182
3183
3184
3185
3186
3187
3188
3189
3190
3191
3192
3193
3194
3195
3196
3197
3198
3199
3200
3201
3202
3203
3204
3205
3206
3207
3208
3209
3210
3211
3212
3213
3214
3215
3216
3217
3218
3219
3220
3221
3222
3223
3224
3225
3226
3227
3228
3229
3230
3231
3232
3233
3234
3235
3236
3237
3238
3239
3240
3241
3242
3243
3244
3245
3246
3247
3248
3249
3250
3251
3252
3253
3254
3255
3256
3257
3258
3259
3260
3261
3262
3263
3264
3265
3266
3267
3268
3269
3270
3271
3272
3273
3274
3275
3276
3277
3278
3279
3280
3281
3282
3283
3284
3285
3286
3287
3288
3289
3290
3291
3292
3293
3294
3295
3296
3297
3298
3299
3300
3301
3302
3303
3304
3305
3306
3307
3308
3309
3310
3311
3312
3313
3314
3315
3316
3317
3318
3319
3320
3321
3322
3323
3324
3325
3326
3327
3328
3329
3330
3331
3332
3333
3334
3335
3336
3337
3338
3339
3340
3341
3342
3343
3344
3345
3346
3347
3348
3349
3350
3351
3352
3353
3354
3355
3356
3357
3358
3359
3360
3361
3362
3363
3364
3365
3366
3367
3368
3369
3370
3371
3372
3373
3374
3375
3376
3377
3378
3379
3380
3381
3382
3383
3384
3385
3386
3387
3388
3389
3390
3391
3392
3393
3394
3395
3396
3397
3398
3399
3400
3401
3402
3403
3404
3405
3406
3407
3408
3409
3410
3411
3412
3413
3414
3415
3416
3417
3418
3419
3420
3421
3422
3423
3424
3425
3426
3427
3428
3429
3430
3431
3432
3433
3434
3435
3436
3437
3438
3439
3440
3441
3442
3443
3444
3445
3446
3447
3448
3449
3450
3451
3452
3453
3454
3455
3456
3457
3458
3459
3460
3461
3462
3463
3464
3465
3466
3467
3468
3469
3470
3471
3472
3473
3474
3475
3476
3477
3478
3479
3480
3481
3482
3483
3484
3485
3486
3487
3488
3489
3490
3491
3492
3493
3494
3495
3496
3497
3498
3499
3500
3501
3502
3503
3504
3505
3506
3507
3508
3509
3510
3511
3512
3513
3514
3515
3516
3517
3518
3519
3520
3521
3522
3523
3524
3525
3526
3527
3528
3529
3530
3531
3532
3533
3534
3535
3536
3537
3538
3539
3540
3541
3542
3543
3544
3545
3546
3547
3548
3549
3550
3551
3552
3553
3554
3555
3556
3557
3558
3559
3560
3561
3562
3563
3564
3565
3566
3567
3568
3569
3570
3571
3572
3573
3574
3575
3576
3577
3578
3579
3580
3581
3582
3583
3584
3585
3586
3587
3588
3589
3590
3591
3592
3593
3594
3595
3596
3597
3598
3599
3600
3601
3602
3603
3604
3605
3606
3607
3608
3609
3610
3611
3612
3613
3614
3615
3616
3617
3618
3619
3620
3621
3622
3623
3624
3625
3626
3627
3628
3629
3630
3631
3632
3633
3634
3635
3636
3637
3638
3639
3640
3641
3642
3643
3644
3645
3646
3647
3648
3649
3650
3651
3652
3653
3654
3655
3656
3657
3658
3659
3660
3661
3662
3663
3664
3665
3666
3667
3668
3669
3670
3671
3672
3673
3674
3675
3676
3677
3678
3679
3680
3681
3682
3683
3684
3685
3686
3687
3688
3689
3690
3691
3692
3693
3694
3695
3696
3697
3698
3699
3700
3701
3702
3703
3704
3705
3706
3707
3708
3709
3710
3711
3712
3713
3714
3715
3716
3717
3718
3719
3720
3721
3722
3723
3724
3725
3726
3727
3728
3729
3730
3731
3732
3733
3734
3735
3736
3737
3738
3739
3740
3741
3742
3743
3744
3745
3746
3747
3748
3749
3750
3751
3752
3753
3754
3755
3756
3757
3758
3759
3760
3761
3762
3763
3764
3765
3766
3767
3768
3769
3770
3771
3772
3773
3774
3775
3776
3777
3778
3779
3780
3781
3782
3783
3784
3785
3786
3787
3788
3789
3790
3791
3792
3793
3794
3795
3796
3797
3798
3799
3800
3801
3802
3803
3804
3805
3806
3807
3808
3809
3810
3811
3812
3813
3814
3815
3816
3817
3818
3819
3820
3821
3822
3823
3824
3825
3826
3827
3828
3829
3830
3831
3832
3833
3834
3835
3836
3837
3838
3839
3840
3841
3842
3843
3844
3845
3846
3847
3848
3849
3850
3851
3852
3853
3854
3855
3856
3857
3858
3859
3860
3861
3862
3863
3864
3865
3866
3867
3868
3869
3870
3871
3872
3873
3874
3875
3876
3877
3878
3879
3880
3881
3882
3883
3884
3885
3886
3887
3888
3889
3890
3891
3892
3893
3894
3895
3896
3897
3898
3899
3900
3901
3902
3903
3904
3905
3906
3907
3908
3909
3910
3911
3912
3913
3914
3915
3916
3917
3918
3919
3920
3921
3922
3923
3924
3925
3926
3927
3928
3929
3930
3931
3932
3933
3934
3935
3936
3937
3938
3939
3940
3941
3942
3943
3944
3945
3946
3947
3948
3949
3950
3951
3952
3953
3954
3955
3956
3957
3958
3959
3960
3961
3962
3963
3964
3965
3966
3967
3968
3969
3970
3971
3972
3973
3974
3975
3976
3977
3978
3979
3980
3981
3982
3983
3984
3985
3986
3987
3988
3989
3990
3991
3992
3993
3994
3995
3996
3997
3998
3999
4000
4001
4002
4003
4004
4005
4006
4007
4008
4009
4010
4011
4012
4013
4014
4015
4016
4017
4018
4019
4020
4021
4022
4023
4024
4025
4026
4027
4028
4029
4030
4031
4032
4033
4034
4035
4036
4037
4038
4039
4040
4041
4042
4043
4044
4045
4046
4047
4048
4049
4050
4051
4052
4053
4054
4055
4056
4057
4058
4059
4060
4061
4062
4063
4064
4065
4066
4067
4068
4069
4070
4071
4072
4073
4074
4075
4076
4077
4078
4079
4080
4081
4082
4083
4084
4085
4086
4087
4088
4089
4090
4091
4092
4093
4094
4095
4096
4097
4098
4099
4100
4101
4102
4103
4104
4105
4106
4107
4108
4109
4110
4111
4112
4113
4114
4115
4116
4117
4118
4119
4120
4121
4122
4123
4124
4125
4126
4127
4128
4129
4130
4131
4132
4133
4134
4135
4136
4137
4138
4139
4140
4141
4142
4143
4144
4145
4146
4147
4148
4149
4150
4151
4152
4153
4154
4155
4156
4157
4158
4159
4160
4161
4162
4163
4164
4165
4166
4167
4168
4169
4170
4171
4172
4173
4174
4175
4176
4177
4178
4179
4180
4181
4182
4183
4184
4185
4186
4187
4188
4189
4190
4191
4192
4193
4194
4195
4196
4197
4198
4199
4200
4201
4202
4203
4204
4205
4206
4207
4208
4209
4210
4211
4212
4213
4214
4215
4216
4217
4218
4219
4220
4221
4222
4223
4224
4225
4226
4227
4228
4229
4230
4231
4232
4233
4234
4235
4236
4237
4238
4239
4240
4241
4242
4243
4244
4245
4246
4247
4248
4249
4250
4251
4252
4253
4254
4255
4256
4257
4258
4259
4260
4261
4262
4263
4264
4265
4266
4267
4268
4269
4270
4271
4272
4273
4274
4275
4276
4277
4278
4279
4280
4281
4282
4283
4284
4285
4286
4287
4288
4289
4290
4291
4292
4293
4294
4295
4296
4297
4298
4299
4300
4301
4302
4303
4304
4305
4306
4307
4308
4309
4310
4311
4312
4313
4314
4315
4316
4317
4318
4319
4320
4321
4322
4323
4324
4325
4326
4327
4328
4329
4330
4331
4332
4333
4334
4335
4336
4337
4338
4339
4340
4341
4342
4343
4344
4345
4346
4347
4348
4349
4350
4351
4352
4353
4354
4355
4356
4357
4358
4359
4360
4361
4362
4363
4364
4365
4366
4367
4368
4369
4370
4371
4372
4373
4374
4375
4376
4377
4378
4379
4380
4381
4382
4383
4384
4385
4386
4387
4388
4389
4390
4391
4392
4393
4394
4395
4396
4397
4398
4399
4400
4401
4402
4403
4404
4405
4406
4407
4408
4409
4410
4411
4412
4413
4414
4415
4416
4417
4418
4419
4420
4421
4422
4423
4424
4425
4426
4427
4428
4429
4430
4431
4432
4433
4434
4435
4436
4437
4438
4439
4440
4441
4442
4443
4444
4445
4446
4447
4448
4449
4450
4451
4452
4453
4454
4455
4456
4457
4458
4459
4460
4461
4462
4463
4464
4465
4466
4467
4468
4469
4470
4471
4472
4473
4474
4475
4476
4477
4478
4479
4480
4481
4482
4483
4484
4485
4486
4487
4488
4489
4490
4491
4492
4493
4494
4495
4496
4497
4498
4499
4500
4501
4502
4503
4504
4505
4506
4507
4508
4509
4510
4511
4512
4513
4514
4515
4516
4517
4518
4519
4520
4521
4522
4523
4524
4525
4526
4527
4528
4529
4530
4531
4532
4533
4534
4535
4536
4537
4538
4539
4540
4541
4542
4543
4544
4545
4546
4547
4548
4549
4550
4551
4552
4553
4554
4555
4556
4557
4558
4559
4560
4561
4562
4563
4564
4565
4566
4567
4568
4569
4570
4571
4572
4573
4574
4575
4576
4577
4578
4579
4580
4581
4582
4583
4584
4585
4586
4587
4588
4589
4590
4591
4592
4593
4594
4595
4596
4597
4598
4599
4600
4601
4602
4603
4604
4605
4606
4607
4608
4609
4610
4611
4612
4613
4614
4615
4616
4617
4618
4619
4620
4621
4622
4623
4624
4625
4626
4627
4628
4629
4630
4631
4632
4633
4634
4635
4636
4637
4638
4639
4640
4641
4642
4643
4644
4645
4646
4647
4648
4649
4650
4651
4652
4653
4654
4655
4656
4657
4658
4659
4660
4661
4662
4663
4664
4665
4666
4667
4668
4669
4670
4671
4672
4673
4674
4675
4676
4677
4678
4679
4680
4681
4682
4683
4684
4685
4686
4687
4688
4689
4690
4691
4692
4693
4694
4695
4696
4697
4698
4699
4700
4701
4702
4703
4704
4705
4706
4707
4708
4709
4710
4711
4712
4713
4714
4715
4716
4717
4718
4719
4720
4721
4722
4723
4724
4725
4726
4727
4728
4729
4730
4731
4732
4733
4734
4735
4736
4737
4738
4739
4740
4741
4742
4743
4744
4745
4746
4747
4748
4749
4750
4751
4752
4753
4754
4755
4756
4757
4758
4759
4760
4761
4762
4763
4764
4765
4766
4767
4768
4769
4770
4771
4772
4773
4774
4775
4776
4777
4778
4779
4780
4781
4782
4783
4784
4785
4786
4787
4788
4789
4790
4791
4792
4793
4794
4795
4796
4797
4798
4799
4800
4801
4802
4803
4804
4805
4806
4807
4808
4809
4810
4811
4812
4813
4814
4815
4816
4817
4818
4819
4820
4821
4822
4823
4824
4825
4826
4827
4828
4829
4830
4831
4832
4833
4834
4835
4836
4837
4838
4839
4840
4841
4842
4843
4844
4845
4846
4847
4848
4849
4850
4851
4852
4853
4854
4855
4856
4857
4858
4859
4860
4861
4862
4863
4864
4865
4866
4867
4868
4869
4870
4871
4872
4873
4874
4875
4876
4877
4878
4879
4880
4881
4882
4883
4884
4885
4886
4887
4888
4889
4890
4891
4892
4893
4894
4895
4896
4897
4898
4899
4900
4901
4902
4903
4904
4905
4906
4907
4908
4909
4910
4911
4912
4913
4914
4915
4916
4917
4918
4919
4920
4921
4922
4923
4924
4925
4926
4927
4928
4929
4930
4931
4932
4933
4934
4935
4936
4937
4938
4939
4940
4941
4942
4943
4944
4945
4946
4947
4948
4949
4950
4951
4952
4953
4954
4955
4956
4957
4958
4959
4960
4961
4962
4963
4964
4965
4966
4967
4968
4969
4970
4971
4972
4973
4974
4975
4976
4977
4978
4979
4980
4981
4982
4983
4984
4985
4986
4987
4988
4989
4990
4991
4992
4993
4994
4995
4996
4997
4998
4999
5000
5001
5002
5003
5004
5005
5006
5007
5008
5009
5010
5011
5012
5013
5014
5015
5016
5017
5018
5019
5020
5021
5022
5023
5024
5025
5026
5027
5028
5029
5030
5031
5032
5033
5034
5035
5036
5037
5038
5039
5040
5041
5042
5043
5044
5045
5046
5047
5048
5049
5050
5051
5052
5053
5054
5055
5056
5057
5058
5059
5060
5061
5062
5063
5064
5065
5066
5067
5068
5069
5070
5071
5072
5073
5074
5075
5076
5077
5078
5079
5080
5081
5082
5083
5084
5085
5086
5087
5088
5089
5090
5091
5092
5093
5094
5095
5096
5097
5098
5099
5100
5101
5102
5103
5104
5105
5106
5107
5108
5109
5110
5111
5112
5113
5114
5115
5116
5117
5118
5119
5120
5121
5122
5123
5124
5125
5126
5127
5128
5129
5130
5131
5132
5133
5134
5135
5136
5137
5138
5139
5140
5141
5142
5143
5144
5145
5146
5147
5148
5149
5150
5151
5152
5153
5154
5155
5156
5157
5158
5159
5160
5161
5162
5163
5164
5165
5166
5167
5168
5169
5170
5171
5172
5173
5174
5175
5176
5177
5178
5179
5180
5181
5182
5183
5184
5185
5186
5187
5188
5189
5190
5191
5192
5193
5194
5195
5196
5197
5198
5199
5200
5201
5202
5203
5204
5205
5206
5207
5208
5209
5210
5211
5212
5213
5214
5215
5216
5217
5218
5219
5220
5221
5222
5223
5224
5225
5226
5227
5228
5229
5230
5231
5232
5233
5234
5235
5236
5237
5238
5239
5240
5241
5242
5243
5244
5245
5246
5247
5248
5249
5250
5251
5252
5253
5254
5255
5256
5257
5258
5259
5260
5261
5262
5263
5264
5265
5266
5267
5268
5269
5270
5271
5272
5273
5274
5275
5276
5277
5278
5279
5280
5281
5282
5283
5284
5285
5286
5287
5288
5289
5290
5291
5292
5293
5294
5295
5296
5297
5298
5299
5300
5301
5302
5303
5304
5305
5306
5307
5308
5309
5310
5311
5312
5313
5314
5315
5316
5317
5318
5319
5320
5321
5322
5323
5324
5325
5326
5327
5328
5329
5330
5331
5332
5333
5334
5335
5336
5337
5338
5339
5340
5341
5342
5343
5344
5345
5346
5347
5348
5349
5350
5351
5352
5353
5354
5355
5356
5357
5358
5359
5360
5361
5362
5363
5364
5365
5366
5367
5368
5369
5370
5371
5372
5373
5374
5375
5376
5377
5378
5379
5380
5381
5382
5383
5384
5385
5386
5387
5388
5389
5390
5391
5392
5393
5394
5395
5396
5397
5398
5399
5400
5401
5402
5403
5404
5405
5406
5407
5408
5409
5410
5411
5412
5413
5414
5415
5416
5417
5418
5419
5420
5421
5422
5423
5424
5425
5426
5427
5428
5429
5430
5431
5432
5433
5434
5435
5436
5437
5438
5439
5440
5441
5442
5443
5444
5445
5446
5447
5448
5449
5450
5451
5452
5453
5454
5455
5456
5457
5458
5459
5460
5461
5462
5463
5464
5465
5466
5467
5468
5469
5470
5471
5472
5473
5474
5475
5476
5477
5478
5479
5480
5481
5482
5483
5484
5485
5486
5487
5488
5489
5490
5491
5492
5493
5494
5495
5496
5497
5498
5499
5500
5501
5502
5503
5504
5505
5506
5507
5508
5509
5510
5511
5512
5513
5514
5515
5516
5517
5518
5519
5520
5521
5522
5523
5524
5525
5526
5527
5528
5529
5530
5531
5532
5533
5534
5535
5536
5537
5538
5539
5540
5541
5542
5543
5544
5545
5546
5547
5548
5549
5550
5551
5552
5553
5554
5555
5556
5557
5558
5559
5560
5561
5562
5563
5564
5565
5566
5567
5568
5569
5570
5571
5572
5573
5574
5575
5576
5577
5578
5579
5580
5581
5582
5583
5584
5585
5586
5587
5588
5589
5590
5591
5592
5593
5594
5595
5596
5597
5598
5599
5600
5601
5602
5603
5604
5605
5606
5607
5608
5609
5610
5611
5612
5613
5614
5615
5616
5617
5618
5619
5620
5621
5622
5623
5624
5625
5626
5627
5628
5629
5630
5631
5632
5633
5634
5635
5636
5637
5638
5639
5640
5641
5642
5643
5644
5645
5646
5647
5648
5649
5650
5651
5652
5653
5654
5655
5656
5657
5658
5659
5660
5661
5662
5663
5664
5665
5666
5667
5668
5669
5670
5671
5672
5673
5674
5675
5676
5677
5678
5679
5680
5681
5682
5683
5684
5685
5686
5687
5688
5689
5690
5691
5692
5693
5694
5695
5696
5697
5698
5699
5700
5701
5702
5703
5704
5705
5706
5707
5708
5709
5710
5711
5712
5713
5714
5715
5716
5717
5718
5719
5720
5721
5722
5723
5724
5725
5726
5727
5728
5729
5730
5731
5732
5733
5734
5735
5736
5737
5738
5739
5740
5741
5742
5743
5744
5745
5746
5747
5748
5749
5750
5751
5752
5753
5754
5755
5756
5757
5758
5759
5760
5761
5762
5763
5764
5765
5766
5767
5768
5769
5770
5771
5772
5773
5774
5775
5776
5777
5778
5779
5780
5781
5782
5783
5784
5785
5786
5787
5788
5789
5790
5791
5792
5793
5794
5795
5796
5797
5798
5799
5800
5801
5802
5803
5804
5805
5806
5807
5808
5809
5810
5811
5812
5813
5814
5815
5816
5817
5818
5819
5820
5821
5822
5823
5824
5825
5826
5827
5828
5829
5830
5831
5832
5833
5834
5835
5836
5837
5838
5839
5840
5841
5842
5843
5844
5845
5846
5847
5848
5849
5850
5851
5852
5853
5854
5855
5856
5857
5858
5859
5860
5861
5862
5863
5864
5865
5866
5867
5868
5869
5870
5871
5872
5873
5874
5875
5876
5877
5878
5879
5880
5881
5882
5883
5884
5885
5886
5887
5888
5889
5890
5891
5892
5893
5894
5895
5896
5897
5898
5899
5900
5901
5902
5903
5904
5905
5906
5907
5908
5909
5910
5911
5912
5913
5914
5915
5916
5917
5918
5919
5920
5921
5922
5923
5924
5925
5926
5927
5928
5929
5930
5931
5932
5933
5934
5935
5936
5937
5938
5939
5940
5941
5942
5943
5944
5945
5946
5947
5948
5949
5950
5951
5952
5953
5954
5955
5956
5957
5958
5959
5960
5961
5962
5963
5964
5965
5966
5967
5968
5969
5970
5971
5972
5973
5974
5975
5976
5977
5978
5979
5980
5981
5982
5983
5984
5985
5986
5987
5988
5989
5990
5991
5992
5993
5994
5995
5996
5997
5998
5999
6000
6001
6002
6003
6004
6005
6006
6007
6008
6009
6010
6011
6012
6013
6014
6015
6016
6017
6018
6019
6020
6021
6022
6023
6024
6025
6026
6027
6028
6029
6030
6031
6032
6033
6034
6035
6036
6037
6038
6039
6040
6041
6042
6043
6044
6045
6046
6047
6048
6049
6050
6051
6052
6053
6054
6055
6056
6057
6058
6059
6060
6061
6062
6063
6064
6065
6066
6067
6068
6069
6070
6071
6072
6073
6074
6075
6076
6077
6078
6079
6080
6081
6082
6083
6084
6085
6086
6087
6088
6089
6090
6091
6092
6093
6094
6095
6096
6097
6098
6099
6100
6101
6102
6103
6104
6105
6106
6107
6108
6109
6110
6111
6112
6113
6114
6115
6116
6117
6118
6119
6120
6121
6122
6123
6124
6125
6126
6127
6128
6129
6130
6131
6132
6133
6134
6135
6136
6137
6138
6139
6140
6141
6142
6143
6144
6145
6146
6147
6148
6149
6150
6151
6152
6153
6154
6155
6156
6157
6158
6159
6160
6161
6162
6163
6164
6165
6166
6167
6168
6169
6170
6171
6172
6173
6174
6175
6176
6177
6178
6179
6180
6181
6182
6183
6184
6185
6186
6187
6188
6189
6190
6191
6192
6193
6194
6195
6196
6197
6198
6199
6200
6201
6202
6203
6204
6205
6206
6207
6208
6209
6210
6211
6212
6213
6214
6215
6216
6217
6218
6219
6220
6221
6222
6223
6224
6225
6226
6227
6228
6229
6230
6231
6232
6233
6234
6235
6236
6237
6238
6239
6240
6241
6242
6243
6244
6245
6246
6247
6248
6249
6250
6251
6252
6253
6254
6255
6256
6257
6258
6259
6260
6261
6262
6263
6264
6265
6266
6267
6268
6269
6270
6271
6272
6273
6274
6275
6276
6277
6278
6279
6280
6281
6282
6283
6284
6285
6286
6287
6288
6289
6290
6291
6292
6293
6294
6295
6296
6297
6298
6299
6300
6301
6302
6303
6304
6305
6306
6307
6308
6309
6310
6311
6312
6313
6314
6315
6316
6317
6318
6319
6320
6321
6322
6323
6324
6325
6326
6327
6328
6329
6330
6331
6332
6333
6334
6335
6336
6337
6338
6339
6340
6341
6342
6343
6344
6345
6346
6347
6348
6349
6350
6351
6352
6353
6354
6355
6356
6357
6358
6359
6360
6361
6362
6363
6364
6365
6366
6367
6368
6369
6370
6371
6372
6373
6374
6375
6376
6377
6378
6379
6380
6381
6382
6383
6384
6385
6386
6387
6388
6389
6390
6391
6392
6393
6394
6395
6396
6397
6398
6399
6400
6401
6402
6403
6404
6405
6406
6407
6408
6409
6410
6411
6412
6413
6414
6415
6416
6417
6418
6419
6420
6421
6422
6423
6424
6425
6426
6427
6428
6429
6430
6431
6432
6433
6434
6435
6436
6437
6438
6439
6440
6441
6442
6443
6444
6445
6446
6447
6448
6449
6450
6451
6452
6453
6454
6455
6456
6457
6458
6459
6460
6461
6462
6463
6464
6465
6466
6467
6468
6469
6470
6471
6472
6473
6474
6475
6476
6477
6478
6479
6480
6481
6482
6483
6484
6485
6486
6487
6488
6489
6490
6491
6492
6493
6494
6495
6496
6497
6498
6499
6500
6501
6502
6503
6504
6505
6506
6507
6508
6509
6510
6511
6512
6513
6514
6515
6516
6517
6518
6519
6520
6521
6522
6523
6524
6525
6526
6527
6528
6529
6530
6531
6532
6533
6534
6535
6536
6537
6538
6539
6540
6541
6542
6543
6544
6545
6546
6547
6548
6549
6550
6551
6552
6553
6554
6555
6556
6557
6558
6559
6560
6561
6562
6563
6564
6565
6566
6567
6568
6569
6570
6571
6572
6573
6574
6575
6576
6577
6578
6579
6580
6581
6582
6583
6584
6585
6586
6587
6588
6589
6590
6591
6592
6593
6594
6595
6596
6597
6598
6599
6600
6601
6602
6603
6604
6605
6606
6607
6608
6609
6610
6611
6612
6613
6614
6615
6616
6617
6618
6619
6620
6621
6622
6623
6624
6625
6626
6627
6628
6629
6630
6631
6632
6633
6634
6635
6636
6637
6638
6639
6640
6641
6642
6643
6644
6645
6646
6647
6648
6649
6650
6651
6652
6653
6654
6655
6656
6657
6658
6659
6660
6661
6662
6663
6664
6665
6666
6667
6668
6669
6670
6671
6672
6673
6674
6675
6676
6677
6678
6679
6680
6681
6682
6683
6684
6685
6686
6687
6688
6689
6690
6691
6692
6693
6694
6695
6696
6697
6698
6699
6700
6701
6702
6703
6704
6705
6706
6707
6708
6709
6710
6711
6712
6713
6714
6715
6716
6717
6718
6719
6720
6721
6722
6723
6724
6725
6726
6727
6728
6729
6730
6731
6732
6733
6734
6735
6736
6737
6738
6739
6740
6741
6742
6743
6744
6745
6746
6747
6748
6749
6750
6751
6752
6753
6754
6755
6756
6757
6758
6759
6760
6761
6762
6763
6764
6765
6766
6767
6768
6769
6770
6771
6772
6773
6774
6775
6776
6777
6778
6779
6780
6781
6782
6783
6784
6785
6786
6787
6788
6789
6790
6791
6792
6793
6794
6795
6796
6797
6798
6799
6800
6801
6802
6803
6804
6805
6806
6807
6808
6809
6810
6811
6812
6813
6814
6815
6816
6817
6818
6819
6820
6821
6822
6823
6824
6825
6826
6827
6828
6829
6830
6831
6832
6833
6834
6835
6836
6837
6838
6839
6840
6841
6842
6843
6844
6845
6846
6847
6848
6849
6850
6851
6852
6853
6854
6855
6856
6857
6858
6859
6860
6861
6862
6863
6864
6865
6866
6867
6868
6869
6870
6871
6872
6873
6874
6875
6876
6877
6878
6879
6880
6881
6882
6883
6884
6885
6886
6887
6888
6889
6890
6891
6892
6893
6894
6895
6896
6897
6898
6899
6900
6901
6902
6903
6904
6905
6906
6907
6908
6909
6910
6911
6912
6913
6914
6915
6916
6917
6918
6919
6920
6921
6922
6923
6924
6925
6926
6927
6928
6929
6930
6931
6932
6933
6934
6935
6936
6937
6938
6939
6940
6941
6942
6943
6944
6945
6946
6947
6948
6949
6950
6951
6952
6953
6954
6955
6956
6957
6958
6959
6960
6961
6962
6963
6964
6965
6966
6967
6968
6969
6970
6971
6972
6973
6974
6975
6976
6977
6978
6979
6980
6981
6982
6983
6984
6985
6986
6987
6988
6989
6990
6991
6992
6993
6994
6995
6996
6997
6998
6999
7000
7001
7002
7003
7004
7005
7006
7007
7008
7009
7010
7011
7012
7013
7014
7015
7016
7017
7018
7019
7020
7021
7022
7023
7024
7025
7026
7027
7028
7029
7030
7031
7032
7033
7034
7035
7036
7037
7038
7039
7040
7041
7042
7043
7044
7045
7046
7047
7048
7049
7050
7051
7052
7053
7054
7055
7056
7057
7058
7059
7060
7061
7062
7063
7064
7065
7066
7067
7068
7069
7070
7071
7072
7073
7074
7075
7076
7077
7078
7079
7080
7081
7082
7083
7084
7085
7086
7087
7088
7089
7090
7091
7092
7093
7094
7095
7096
7097
7098
7099
7100
7101
7102
7103
7104
7105
7106
7107
7108
7109
7110
7111
7112
7113
7114
7115
7116
7117
7118
7119
7120
7121
7122
7123
7124
7125
7126
7127
7128
7129
7130
7131
7132
7133
7134
7135
7136
7137
7138
7139
7140
7141
7142
7143
7144
7145
7146
7147
7148
7149
7150
7151
7152
7153
7154
7155
7156
7157
7158
7159
7160
7161
7162
7163
7164
7165
7166
7167
7168
7169
7170
7171
7172
7173
7174
7175
7176
7177
7178
7179
7180
7181
7182
7183
7184
7185
7186
7187
7188
7189
7190
7191
7192
7193
7194
7195
7196
7197
7198
7199
7200
7201
7202
7203
7204
7205
7206
7207
7208
7209
7210
7211
7212
7213
7214
7215
7216
7217
7218
7219
7220
7221
7222
7223
7224
7225
7226
7227
7228
7229
7230
7231
7232
7233
7234
7235
7236
7237
7238
7239
7240
7241
7242
7243
7244
7245
7246
7247
7248
7249
7250
7251
7252
7253
7254
7255
7256
7257
7258
7259
7260
7261
7262
7263
7264
7265
7266
7267
7268
7269
7270
7271
7272
7273
7274
7275
7276
7277
7278
7279
7280
7281
7282
7283
7284
7285
7286
7287
7288
7289
7290
7291
7292
7293
7294
7295
7296
7297
7298
7299
7300
7301
7302
7303
7304
7305
7306
7307
7308
7309
7310
7311
7312
7313
7314
7315
7316
7317
7318
7319
7320
7321
7322
7323
7324
7325
7326
7327
7328
7329
7330
7331
7332
7333
7334
7335
7336
7337
7338
7339
7340
7341
7342
7343
7344
7345
7346
7347
7348
7349
7350
7351
7352
7353
7354
7355
7356
7357
7358
7359
7360
7361
7362
7363
7364
7365
7366
7367
7368
7369
7370
7371
7372
7373
7374
7375
7376
7377
7378
7379
7380
7381
7382
7383
7384
7385
7386
7387
7388
7389
7390
7391
7392
7393
7394
7395
7396
7397
7398
7399
7400
7401
7402
7403
7404
7405
7406
7407
7408
7409
7410
7411
7412
7413
7414
7415
7416
7417
7418
7419
7420
7421
7422
7423
7424
7425
7426
7427
7428
7429
7430
7431
7432
7433
7434
7435
7436
7437
7438
7439
7440
7441
7442
7443
7444
7445
7446
7447
7448
7449
7450
7451
7452
7453
7454
7455
7456
7457
7458
7459
7460
7461
7462
7463
7464
7465
7466
7467
7468
7469
7470
7471
7472
7473
7474
7475
7476
7477
7478
7479
7480
7481
7482
7483
7484
7485
7486
7487
7488
7489
7490
7491
7492
7493
7494
7495
7496
7497
7498
7499
7500
7501
7502
7503
7504
7505
7506
7507
7508
7509
7510
7511
7512
7513
7514
7515
7516
7517
7518
7519
7520
7521
7522
7523
7524
7525
7526
7527
7528
7529
7530
7531
7532
7533
7534
7535
7536
7537
7538
7539
7540
7541
7542
7543
7544
7545
7546
7547
7548
7549
7550
7551
7552
7553
7554
7555
7556
7557
7558
7559
7560
7561
7562
7563
7564
7565
7566
7567
7568
7569
7570
7571
7572
7573
7574
7575
7576
7577
7578
7579
7580
7581
7582
7583
7584
7585
7586
7587
7588
7589
7590
7591
7592
7593
7594
7595
7596
7597
7598
7599
7600
7601
7602
7603
7604
7605
7606
7607
7608
7609
7610
7611
7612
7613
7614
7615
7616
7617
7618
7619
7620
7621
7622
7623
7624
7625
7626
7627
7628
7629
7630
7631
7632
7633
7634
7635
7636
7637
7638
7639
7640
7641
7642
7643
7644
7645
7646
7647
7648
7649
7650
7651
7652
7653
7654
7655
7656
7657
7658
7659
7660
7661
7662
7663
7664
7665
7666
7667
7668
7669
7670
7671
7672
7673
7674
7675
7676
7677
7678
7679
7680
7681
7682
7683
7684
7685
7686
7687
7688
7689
7690
7691
7692
7693
7694
7695
7696
7697
7698
7699
7700
7701
7702
7703
7704
7705
7706
7707
7708
7709
7710
7711
7712
7713
7714
7715
7716
7717
7718
7719
7720
7721
7722
7723
7724
7725
7726
7727
7728
7729
7730
7731
7732
7733
7734
7735
7736
7737
7738
7739
7740
7741
7742
7743
7744
7745
7746
7747
7748
7749
7750
7751
7752
7753
7754
7755
7756
7757
7758
7759
7760
7761
7762
7763
7764
7765
7766
7767
7768
7769
7770
7771
7772
7773
7774
7775
7776
7777
7778
7779
7780
7781
7782
7783
7784
7785
7786
7787
7788
7789
7790
7791
7792
7793
7794
7795
7796
7797
7798
7799
7800
7801
7802
7803
7804
7805
7806
7807
7808
7809
7810
7811
7812
7813
7814
7815
7816
7817
7818
7819
7820
7821
7822
7823
7824
7825
7826
7827
7828
7829
7830
7831
7832
7833
7834
7835
7836
7837
7838
7839
7840
7841
7842
7843
7844
7845
7846
7847
7848
7849
7850
7851
7852
7853
7854
7855
7856
7857
7858
7859
7860
7861
7862
7863
7864
7865
7866
7867
7868
7869
7870
7871
7872
7873
7874
7875
7876
7877
7878
7879
7880
7881
7882
7883
7884
7885
7886
7887
7888
7889
7890
7891
7892
7893
7894
7895
7896
7897
7898
7899
7900
7901
7902
7903
7904
7905
7906
7907
7908
7909
7910
7911
7912
7913
7914
7915
7916
7917
7918
7919
7920
7921
7922
7923
7924
7925
7926
7927
7928
7929
7930
7931
7932
7933
7934
7935
7936
7937
7938
7939
7940
7941
7942
7943
7944
7945
7946
7947
7948
7949
7950
7951
7952
7953
7954
7955
7956
7957
7958
7959
7960
7961
7962
7963
7964
7965
7966
7967
7968
7969
7970
7971
7972
7973
7974
7975
7976
7977
7978
7979
7980
7981
7982
7983
7984
7985
7986
7987
7988
7989
7990
7991
7992
7993
7994
7995
7996
7997
7998
7999
8000
8001
8002
8003
8004
8005
8006
8007
8008
8009
8010
8011
8012
8013
8014
8015
8016
8017
8018
8019
8020
8021
8022
8023
8024
8025
8026
8027
8028
8029
8030
8031
8032
8033
8034
8035
8036
8037
8038
8039
8040
8041
8042
8043
8044
8045
8046
8047
8048
8049
8050
8051
8052
8053
8054
8055
8056
8057
8058
8059
8060
8061
8062
8063
8064
8065
8066
8067
8068
8069
8070
8071
8072
8073
8074
8075
8076
8077
8078
8079
8080
8081
8082
8083
8084
8085
8086
8087
8088
8089
8090
8091
8092
8093
8094
8095
8096
8097
8098
8099
8100
8101
8102
8103
8104
8105
8106
8107
8108
8109
8110
8111
8112
8113
8114
8115
8116
8117
8118
8119
8120
8121
8122
8123
8124
8125
8126
8127
8128
8129
8130
8131
8132
8133
8134
8135
8136
8137
8138
8139
8140
8141
8142
8143
8144
8145
8146
8147
8148
8149
8150
8151
8152
8153
8154
8155
8156
8157
8158
8159
8160
8161
8162
8163
8164
8165
8166
8167
8168
8169
8170
8171
8172
8173
8174
8175
8176
8177
8178
8179
8180
8181
8182
8183
8184
8185
8186
8187
8188
8189
8190
8191
8192
8193
8194
8195
8196
8197
8198
8199
8200
8201
8202
8203
8204
8205
8206
8207
8208
8209
8210
8211
8212
8213
8214
8215
8216
8217
8218
8219
8220
8221
8222
8223
8224
8225
8226
8227
8228
8229
8230
8231
8232
8233
8234
8235
8236
8237
8238
8239
8240
8241
8242
8243
8244
8245
8246
8247
8248
8249
8250
8251
8252
8253
8254
8255
8256
8257
8258
8259
8260
8261
8262
8263
8264
8265
8266
8267
8268
8269
8270
8271
8272
8273
8274
8275
8276
8277
8278
8279
8280
8281
8282
8283
8284
8285
8286
8287
8288
8289
8290
8291
8292
8293
8294
8295
8296
8297
8298
8299
8300
8301
8302
8303
8304
8305
8306
8307
8308
8309
8310
8311
8312
8313
8314
8315
8316
8317
8318
8319
8320
8321
8322
8323
8324
8325
8326
8327
8328
8329
8330
8331
8332
8333
8334
8335
8336
8337
8338
8339
8340
8341
8342
8343
8344
8345
8346
8347
8348
8349
8350
8351
8352
8353
8354
8355
8356
8357
8358
8359
8360
8361
8362
8363
8364
8365
8366
8367
8368
8369
8370
8371
8372
8373
8374
8375
8376
8377
8378
8379
8380
8381
8382
8383
8384
8385
8386
8387
8388
8389
8390
8391
8392
8393
8394
8395
8396
8397
8398
8399
8400
8401
8402
8403
8404
8405
8406
8407
8408
8409
8410
8411
8412
8413
8414
8415
8416
8417
8418
8419
8420
8421
8422
8423
8424
8425
8426
8427
8428
8429
8430
8431
8432
8433
8434
8435
8436
8437
8438
8439
8440
8441
8442
8443
8444
8445
8446
8447
8448
8449
8450
8451
8452
8453
8454
8455
8456
8457
8458
8459
8460
8461
8462
8463
8464
8465
8466
8467
8468
8469
8470
8471
8472
8473
8474
8475
8476
8477
8478
8479
8480
8481
8482
8483
8484
8485
8486
8487
8488
8489
8490
8491
8492
8493
8494
8495
8496
8497
8498
8499
8500
8501
8502
8503
8504
8505
8506
8507
8508
8509
8510
8511
8512
8513
8514
8515
8516
8517
8518
8519
8520
8521
8522
8523
8524
8525
8526
8527
8528
8529
8530
8531
8532
8533
8534
8535
8536
8537
8538
8539
8540
8541
8542
8543
8544
8545
8546
8547
8548
8549
8550
8551
8552
8553
8554
8555
8556
8557
8558
8559
8560
8561
8562
8563
8564
8565
8566
8567
8568
8569
8570
8571
8572
8573
8574
8575
8576
8577
8578
8579
8580
8581
8582
8583
8584
8585
8586
8587
8588
8589
8590
8591
8592
8593
8594
8595
8596
8597
8598
8599
8600
8601
8602
8603
8604
8605
8606
8607
8608
8609
8610
8611
8612
8613
8614
8615
8616
8617
8618
8619
8620
8621
8622
8623
8624
8625
8626
8627
8628
8629
8630
8631
8632
8633
8634
8635
8636
8637
8638
8639
8640
8641
8642
8643
8644
8645
8646
8647
8648
8649
8650
8651
8652
8653
8654
8655
8656
8657
8658
8659
8660
8661
8662
8663
8664
8665
8666
8667
8668
8669
8670
8671
8672
8673
8674
8675
8676
8677
8678
8679
8680
8681
8682
8683
8684
8685
8686
8687
8688
8689
8690
8691
8692
8693
8694
8695
8696
8697
8698
8699
8700
8701
8702
8703
8704
8705
8706
8707
8708
8709
8710
8711
8712
8713
8714
8715
8716
8717
8718
8719
8720
8721
8722
8723
8724
8725
8726
8727
8728
8729
8730
8731
8732
8733
8734
8735
8736
8737
8738
8739
8740
8741
8742
8743
8744
8745
8746
8747
8748
8749
8750
8751
8752
8753
8754
8755
8756
8757
8758
8759
8760
8761
8762
8763
8764
8765
8766
8767
8768
8769
8770
8771
8772
8773
8774
8775
8776
8777
8778
8779
8780
8781
8782
8783
8784
8785
8786
8787
8788
8789
8790
8791
8792
8793
8794
8795
8796
8797
8798
8799
8800
8801
8802
8803
8804
8805
8806
8807
8808
8809
8810
8811
8812
8813
8814
8815
8816
8817
8818
8819
8820
8821
8822
8823
8824
8825
8826
8827
8828
8829
8830
8831
8832
8833
8834
8835
8836
8837
8838
8839
8840
8841
8842
8843
8844
8845
8846
8847
8848
8849
8850
8851
8852
8853
8854
8855
8856
8857
8858
8859
8860
8861
8862
8863
8864
8865
8866
8867
8868
8869
8870
8871
8872
8873
8874
8875
8876
8877
8878
8879
8880
8881
8882
8883
8884
8885
8886
8887
8888
8889
8890
8891
8892
8893
8894
8895
8896
8897
8898
8899
8900
8901
8902
8903
8904
8905
8906
8907
8908
8909
8910
8911
8912
8913
8914
8915
8916
8917
8918
8919
8920
8921
8922
8923
8924
8925
8926
8927
8928
8929
8930
8931
8932
8933
8934
8935
8936
8937
8938
8939
8940
8941
8942
8943
8944
8945
8946
8947
8948
8949
8950
8951
8952
8953
8954
8955
8956
8957
8958
8959
8960
8961
8962
8963
8964
8965
8966
8967
8968
8969
8970
8971
8972
8973
8974
8975
8976
8977
8978
8979
8980
8981
8982
8983
8984
8985
8986
8987
8988
8989
8990
8991
8992
8993
8994
8995
8996
8997
8998
8999
9000
9001
9002
9003
9004
9005
9006
9007
9008
9009
9010
9011
9012
9013
9014
9015
9016
9017
9018
9019
9020
9021
9022
9023
9024
9025
9026
9027
9028
9029
9030
9031
9032
9033
9034
9035
9036
9037
9038
9039
9040
9041
9042
9043
9044
9045
9046
9047
9048
9049
9050
9051
9052
9053
9054
9055
9056
9057
9058
9059
9060
9061
9062
9063
9064
9065
9066
9067
9068
9069
9070
9071
9072
9073
9074
9075
9076
9077
9078
9079
9080
9081
9082
9083
9084
9085
9086
9087
9088
9089
9090
9091
9092
9093
9094
9095
9096
9097
9098
9099
9100
9101
9102
9103
9104
9105
9106
9107
9108
9109
9110
9111
9112
9113
9114
9115
9116
9117
9118
9119
9120
9121
9122
9123
9124
9125
9126
9127
9128
9129
9130
9131
9132
9133
9134
9135
9136
9137
9138
9139
9140
9141
9142
9143
9144
9145
9146
9147
9148
9149
9150
9151
9152
9153
9154
9155
9156
9157
9158
9159
9160
9161
9162
9163
9164
9165
9166
9167
9168
9169
9170
9171
9172
9173
9174
9175
9176
9177
9178
9179
9180
9181
9182
9183
9184
9185
9186
9187
9188
9189
9190
9191
9192
9193
9194
9195
9196
9197
9198
9199
9200
9201
9202
9203
9204
9205
9206
9207
9208
9209
9210
9211
9212
9213
9214
9215
9216
9217
9218
9219
9220
9221
9222
9223
9224
9225
9226
9227
9228
9229
9230
9231
9232
9233
9234
9235
9236
9237
9238
9239
9240
9241
9242
9243
9244
9245
9246
9247
9248
9249
9250
9251
9252
9253
9254
9255
9256
9257
9258
9259
9260
9261
9262
9263
9264
9265
9266
9267
9268
9269
9270
9271
9272
9273
9274
9275
9276
9277
9278
9279
9280
9281
9282
9283
9284
9285
9286
9287
9288
9289
9290
9291
9292
9293
9294
9295
9296
9297
9298
9299
9300
9301
9302
9303
9304
9305
9306
9307
9308
9309
9310
9311
9312
9313
9314
9315
9316
9317
9318
9319
9320
9321
9322
9323
9324
9325
9326
9327
9328
9329
9330
9331
9332
9333
9334
9335
9336
9337
9338
9339
9340
9341
9342
9343
9344
9345
9346
9347
9348
9349
9350
9351
9352
9353
9354
9355
9356
9357
9358
9359
9360
9361
9362
9363
9364
9365
9366
9367
9368
9369
9370
9371
9372
9373
9374
9375
9376
9377
9378
9379
9380
9381
9382
9383
9384
9385
9386
9387
9388
9389
9390
9391
9392
9393
9394
9395
9396
9397
9398
9399
9400
9401
9402
9403
9404
9405
9406
9407
9408
9409
9410
9411
9412
9413
9414
9415
9416
9417
9418
9419
9420
9421
9422
9423
9424
9425
9426
9427
9428
9429
9430
9431
9432
9433
9434
9435
9436
9437
9438
9439
9440
9441
9442
9443
9444
9445
9446
9447
9448
9449
9450
9451
9452
9453
9454
9455
9456
9457
9458
9459
9460
9461
9462
9463
9464
9465
9466
9467
9468
9469
9470
9471
9472
9473
9474
9475
9476
9477
9478
9479
9480
9481
9482
9483
9484
9485
9486
9487
9488
9489
9490
9491
9492
9493
9494
9495
9496
9497
9498
9499
9500
9501
9502
9503
9504
9505
9506
9507
9508
9509
9510
9511
9512
9513
9514
9515
9516
9517
9518
9519
9520
9521
9522
9523
9524
9525
9526
9527
9528
9529
9530
9531
9532
9533
9534
9535
9536
9537
9538
9539
9540
9541
9542
9543
9544
9545
9546
9547
9548
9549
9550
9551
9552
9553
9554
9555
9556
9557
9558
9559
9560
9561
9562
9563
9564
9565
9566
9567
9568
9569
9570
9571
9572
9573
9574
9575
9576
9577
9578
9579
9580
9581
9582
9583
9584
9585
9586
9587
9588
9589
9590
9591
9592
9593
9594
9595
9596
9597
9598
9599
9600
9601
9602
9603
9604
9605
9606
9607
9608
9609
9610
9611
9612
9613
9614
9615
9616
9617
9618
9619
9620
9621
9622
9623
9624
9625
9626
9627
9628
9629
9630
9631
9632
9633
9634
9635
9636
9637
9638
9639
9640
9641
9642
9643
9644
9645
9646
9647
9648
9649
9650
9651
9652
9653
9654
9655
9656
9657
9658
9659
9660
9661
9662
9663
9664
9665
9666
9667
9668
9669
9670
9671
9672
9673
9674
9675
9676
9677
9678
9679
9680
9681
9682
9683
9684
9685
9686
9687
9688
9689
9690
9691
9692
9693
9694
9695
9696
9697
9698
9699
9700
9701
9702
9703
9704
9705
9706
9707
9708
9709
9710
9711
9712
9713
9714
9715
9716
9717
9718
9719
9720
9721
9722
9723
9724
9725
9726
9727
9728
9729
9730
9731
9732
9733
9734
9735
9736
9737
9738
9739
9740
9741
9742
9743
9744
9745
9746
9747
9748
9749
9750
9751
9752
9753
9754
9755
9756
9757
9758
9759
9760
9761
9762
9763
9764
9765
9766
9767
9768
9769
9770
9771
9772
9773
9774
9775
9776
9777
9778
9779
9780
9781
9782
9783
9784
9785
9786
9787
9788
9789
9790
9791
9792
9793
9794
9795
9796
9797
9798
9799
9800
9801
9802
9803
9804
9805
9806
9807
9808
9809
9810
9811
9812
9813
9814
9815
9816
9817
9818
9819
9820
9821
9822
9823
9824
9825
9826
9827
9828
9829
9830
9831
9832
9833
9834
9835
9836
9837
9838
9839
9840
9841
9842
9843
9844
9845
9846
9847
9848
9849
9850
9851
9852
9853
9854
9855
9856
9857
9858
9859
9860
9861
9862
9863
9864
9865
9866
9867
9868
9869
9870
9871
9872
9873
9874
9875
9876
9877
9878
9879
9880
9881
9882
9883
9884
9885
9886
9887
9888
9889
9890
9891
9892
9893
9894
9895
9896
9897
9898
9899
9900
9901
9902
9903
9904
9905
9906
9907
9908
9909
9910
9911
9912
9913
9914
9915
9916
9917
9918
9919
9920
9921
9922
9923
9924
9925
9926
9927
9928
9929
9930
9931
9932
9933
9934
9935
9936
9937
9938
9939
9940
9941
9942
9943
9944
9945
9946
9947
9948
9949
9950
9951
9952
9953
9954
9955
9956
9957
9958
9959
9960
9961
9962
9963
9964
9965
9966
9967
9968
9969
9970
9971
9972
9973
9974
9975
9976
9977
9978
9979
9980
9981
9982
9983
9984
9985
9986
9987
9988
9989
9990
9991
9992
9993
9994
9995
9996
9997
9998
9999
10000
10001
10002
10003
10004
10005
10006
10007
10008
10009
10010
10011
10012
10013
10014
10015
10016
10017
10018
10019
10020
10021
10022
10023
10024
10025
10026
10027
10028
10029
10030
10031
10032
10033
10034
10035
10036
10037
10038
10039
10040
10041
10042
10043
10044
10045
10046
10047
10048
10049
10050
10051
10052
10053
10054
10055
10056
10057
10058
10059
10060
10061
10062
10063
10064
10065
10066
10067
10068
10069
10070
10071
10072
10073
10074
10075
10076
10077
10078
10079
10080
10081
10082
10083
10084
10085
10086
10087
10088
10089
10090
10091
10092
10093
10094
10095
10096
10097
10098
10099
10100
10101
10102
10103
10104
10105
10106
10107
10108
10109
10110
10111
10112
10113
10114
10115
10116
10117
10118
10119
10120
10121
10122
10123
10124
10125
10126
10127
10128
10129
10130
10131
10132
10133
10134
10135
10136
10137
10138
10139
10140
10141
10142
10143
10144
10145
10146
10147
10148
10149
10150
10151
10152
10153
10154
10155
10156
10157
10158
10159
10160
10161
10162
10163
10164
10165
10166
10167
10168
10169
10170
10171
10172
10173
10174
10175
10176
10177
10178
10179
10180
10181
10182
10183
10184
10185
10186
10187
10188
10189
10190
10191
10192
10193
10194
10195
10196
10197
10198
10199
10200
10201
10202
10203
10204
10205
10206
10207
10208
10209
10210
10211
10212
10213
10214
10215
10216
10217
10218
10219
10220
10221
10222
10223
10224
10225
10226
10227
10228
10229
10230
10231
10232
10233
10234
10235
10236
10237
10238
10239
10240
10241
10242
10243
10244
10245
10246
10247
10248
10249
10250
10251
10252
10253
10254
10255
10256
10257
10258
10259
10260
10261
10262
10263
10264
10265
10266
10267
10268
10269
10270
10271
10272
10273
10274
10275
10276
10277
10278
10279
10280
10281
10282
10283
10284
10285
10286
10287
10288
10289
10290
10291
10292
10293
10294
10295
10296
10297
10298
10299
10300
10301
10302
10303
10304
10305
10306
10307
10308
10309
10310
10311
10312
10313
10314
10315
10316
10317
10318
10319
10320
10321
10322
10323
10324
10325
10326
10327
10328
10329
10330
10331
10332
10333
10334
10335
10336
10337
10338
10339
10340
10341
10342
10343
10344
10345
10346
10347
10348
10349
10350
10351
10352
10353
10354
10355
10356
10357
10358
10359
10360
10361
10362
10363
10364
10365
10366
10367
10368
10369
10370
10371
10372
10373
10374
10375
10376
10377
10378
10379
10380
10381
10382
10383
10384
10385
10386
10387
10388
10389
10390
10391
10392
10393
10394
10395
10396
10397
10398
10399
10400
10401
10402
10403
10404
10405
10406
10407
10408
10409
10410
10411
10412
10413
10414
10415
10416
10417
10418
10419
10420
10421
10422
10423
10424
10425
10426
10427
10428
10429
10430
10431
10432
10433
10434
10435
10436
10437
10438
10439
10440
10441
10442
10443
10444
10445
10446
10447
10448
10449
10450
10451
10452
10453
10454
10455
10456
10457
10458
10459
10460
10461
10462
10463
10464
10465
10466
10467
10468
10469
10470
10471
10472
10473
10474
10475
10476
10477
10478
10479
10480
10481
10482
10483
10484
10485
10486
10487
10488
10489
10490
10491
10492
10493
10494
10495
10496
10497
10498
10499
10500
10501
10502
10503
10504
10505
10506
10507
10508
10509
10510
10511
10512
10513
10514
10515
10516
10517
10518
10519
10520
10521
10522
10523
10524
10525
10526
10527
10528
10529
10530
10531
10532
10533
10534
10535
10536
10537
10538
10539
10540
10541
10542
10543
10544
10545
10546
10547
10548
10549
10550
10551
10552
10553
10554
10555
10556
10557
10558
10559
10560
10561
10562
10563
10564
10565
10566
10567
10568
10569
10570
10571
10572
10573
10574
10575
10576
10577
10578
10579
10580
10581
10582
10583
10584
10585
10586
10587
10588
10589
10590
10591
10592
10593
10594
10595
10596
10597
10598
10599
10600
10601
10602
10603
10604
10605
10606
10607
10608
10609
10610
10611
10612
10613
10614
10615
10616
10617
10618
10619
10620
10621
10622
10623
10624
10625
10626
10627
10628
10629
10630
10631
10632
10633
10634
10635
10636
10637
10638
10639
10640
10641
10642
10643
10644
10645
10646
10647
10648
10649
10650
10651
10652
10653
10654
10655
10656
10657
10658
10659
10660
10661
10662
10663
10664
10665
10666
10667
10668
10669
10670
10671
10672
10673
10674
10675
10676
10677
10678
10679
10680
10681
10682
10683
10684
10685
10686
10687
10688
10689
10690
10691
10692
10693
10694
10695
10696
10697
10698
10699
10700
10701
10702
10703
10704
10705
10706
10707
10708
10709
10710
10711
10712
10713
10714
10715
10716
10717
10718
10719
10720
10721
10722
10723
10724
10725
10726
10727
10728
10729
10730
10731
10732
10733
10734
10735
10736
10737
10738
10739
10740
10741
10742
10743
10744
10745
10746
10747
10748
10749
10750
10751
10752
10753
10754
10755
10756
10757
10758
10759
10760
10761
10762
10763
10764
10765
10766
10767
10768
10769
10770
10771
10772
10773
10774
10775
10776
10777
10778
10779
10780
10781
10782
10783
10784
10785
10786
10787
10788
10789
10790
10791
10792
10793
10794
10795
10796
10797
10798
10799
10800
10801
10802
10803
10804
10805
10806
10807
10808
10809
10810
10811
10812
10813
10814
10815
10816
10817
10818
10819
10820
10821
10822
10823
10824
10825
10826
10827
10828
10829
10830
10831
10832
10833
10834
10835
10836
10837
10838
10839
10840
10841
10842
10843
10844
10845
10846
10847
10848
10849
10850
10851
10852
10853
10854
10855
10856
10857
10858
10859
10860
10861
10862
10863
10864
10865
10866
10867
10868
10869
10870
10871
10872
10873
10874
10875
10876
10877
10878
10879
10880
10881
10882
10883
10884
10885
10886
10887
10888
10889
10890
10891
10892
10893
10894
10895
10896
10897
10898
10899
10900
10901
10902
10903
10904
10905
10906
10907
10908
10909
10910
10911
10912
10913
10914
10915
10916
10917
10918
10919
10920
10921
10922
10923
10924
10925
10926
10927
10928
10929
10930
10931
10932
10933
10934
10935
10936
10937
10938
10939
10940
10941
10942
10943
10944
10945
10946
10947
10948
10949
10950
10951
10952
10953
10954
10955
10956
10957
10958
10959
10960
10961
10962
10963
10964
10965
10966
10967
10968
10969
10970
10971
10972
10973
10974
10975
10976
10977
10978
10979
10980
10981
10982
10983
10984
10985
10986
10987
10988
10989
10990
10991
10992
10993
10994
10995
10996
10997
10998
10999
11000
11001
11002
11003
11004
11005
11006
11007
11008
11009
11010
11011
11012
11013
11014
11015
11016
11017
11018
11019
11020
11021
11022
11023
11024
11025
11026
11027
11028
11029
11030
11031
11032
11033
11034
11035
11036
11037
11038
11039
11040
11041
11042
11043
11044
11045
11046
11047
11048
11049
11050
11051
11052
11053
11054
11055
11056
11057
11058
11059
11060
11061
11062
11063
11064
11065
11066
11067
11068
11069
11070
11071
11072
11073
11074
11075
11076
11077
11078
11079
11080
11081
11082
11083
11084
11085
11086
11087
11088
11089
11090
11091
11092
11093
11094
11095
11096
11097
11098
11099
11100
11101
11102
11103
11104
11105
11106
11107
11108
11109
11110
11111
11112
11113
11114
11115
11116
11117
11118
11119
11120
11121
11122
11123
11124
11125
11126
11127
11128
11129
11130
11131
11132
11133
11134
11135
11136
11137
11138
11139
11140
11141
11142
11143
11144
11145
11146
11147
11148
11149
11150
11151
11152
11153
11154
11155
11156
11157
11158
11159
11160
11161
11162
11163
11164
11165
11166
11167
11168
11169
11170
11171
11172
11173
11174
11175
11176
11177
11178
11179
11180
11181
11182
11183
11184
11185
11186
11187
11188
11189
11190
11191
11192
11193
11194
11195
11196
11197
11198
11199
11200
11201
11202
11203
11204
11205
11206
11207
11208
11209
11210
11211
11212
11213
11214
11215
11216
11217
11218
11219
11220
11221
11222
11223
11224
11225
11226
11227
11228
11229
11230
11231
11232
11233
11234
11235
11236
11237
11238
11239
11240
11241
11242
11243
11244
11245
11246
11247
11248
11249
11250
11251
11252
11253
11254
11255
11256
11257
11258
11259
11260
11261
11262
11263
11264
11265
11266
11267
11268
11269
11270
11271
11272
11273
11274
11275
11276
11277
11278
11279
11280
11281
11282
11283
11284
11285
11286
11287
11288
11289
11290
11291
11292
11293
11294
11295
11296
11297
11298
11299
11300
11301
11302
11303
11304
11305
11306
11307
11308
11309
11310
11311
11312
11313
11314
11315
11316
11317
11318
11319
11320
11321
11322
11323
11324
11325
11326
11327
11328
11329
11330
11331
11332
11333
11334
11335
11336
11337
11338
11339
11340
11341
11342
11343
11344
11345
11346
11347
11348
11349
11350
11351
11352
11353
11354
11355
11356
11357
11358
11359
11360
11361
11362
11363
11364
11365
11366
11367
11368
11369
11370
11371
11372
11373
11374
11375
11376
11377
11378
11379
11380
11381
11382
11383
11384
11385
11386
11387
11388
11389
11390
11391
11392
11393
11394
11395
11396
11397
11398
11399
11400
11401
11402
11403
11404
11405
11406
11407
11408
11409
11410
11411
11412
11413
11414
11415
11416
11417
11418
11419
11420
11421
11422
11423
11424
11425
11426
11427
11428
11429
11430
11431
11432
11433
11434
11435
11436
11437
11438
11439
11440
11441
11442
11443
11444
11445
11446
11447
11448
11449
11450
11451
11452
11453
11454
11455
11456
11457
11458
11459
11460
11461
11462
11463
11464
11465
11466
11467
11468
11469
11470
11471
11472
11473
11474
11475
11476
11477
11478
11479
11480
11481
11482
11483
11484
11485
11486
11487
11488
11489
11490
11491
11492
11493
11494
11495
11496
11497
11498
11499
11500
11501
11502
11503
11504
11505
11506
11507
11508
11509
11510
11511
11512
11513
11514
11515
11516
11517
11518
11519
11520
11521
11522
11523
11524
11525
11526
11527
11528
11529
11530
11531
11532
11533
11534
11535
11536
11537
11538
11539
11540
11541
11542
11543
11544
11545
11546
11547
11548
11549
11550
11551
11552
11553
11554
11555
11556
11557
11558
11559
11560
11561
11562
11563
11564
11565
11566
11567
11568
11569
11570
11571
11572
11573
11574
11575
11576
11577
11578
11579
11580
11581
11582
11583
11584
11585
11586
11587
11588
11589
11590
11591
11592
11593
11594
11595
11596
11597
11598
11599
11600
11601
11602
11603
11604
11605
11606
11607
11608
11609
11610
11611
11612
11613
11614
11615
11616
11617
11618
11619
11620
11621
11622
11623
11624
11625
11626
11627
11628
11629
11630
11631
11632
11633
11634
11635
11636
11637
11638
11639
11640
11641
11642
11643
11644
11645
11646
11647
11648
11649
11650
11651
11652
11653
11654
11655
11656
11657
11658
11659
11660
11661
11662
11663
11664
11665
11666
11667
11668
11669
11670
11671
11672
11673
11674
11675
11676
11677
11678
11679
11680
11681
11682
11683
11684
11685
11686
11687
11688
11689
11690
11691
11692
11693
11694
11695
11696
11697
11698
11699
11700
11701
11702
11703
11704
11705
11706
11707
11708
11709
11710
11711
11712
11713
11714
11715
11716
11717
11718
11719
11720
11721
11722
11723
11724
11725
11726
11727
11728
11729
11730
11731
11732
11733
11734
11735
11736
11737
11738
11739
11740
11741
11742
11743
11744
11745
11746
11747
11748
11749
11750
11751
11752
11753
11754
11755
11756
11757
11758
11759
11760
11761
11762
11763
11764
11765
11766
11767
11768
11769
11770
11771
11772
11773
11774
11775
11776
11777
11778
11779
11780
11781
11782
11783
11784
11785
11786
11787
11788
11789
11790
11791
11792
11793
11794
11795
11796
11797
11798
11799
11800
11801
11802
11803
11804
11805
11806
11807
11808
11809
11810
11811
11812
11813
11814
11815
11816
11817
11818
11819
11820
11821
11822
11823
11824
11825
11826
11827
11828
11829
11830
11831
11832
11833
11834
11835
11836
11837
11838
11839
11840
11841
11842
11843
11844
11845
11846
11847
11848
11849
11850
11851
11852
11853
11854
11855
11856
11857
11858
11859
11860
11861
11862
11863
11864
11865
11866
11867
11868
11869
11870
11871
11872
11873
11874
11875
11876
11877
11878
11879
11880
11881
11882
11883
11884
11885
11886
11887
11888
11889
11890
11891
11892
11893
11894
11895
11896
11897
11898
11899
11900
11901
11902
11903
11904
11905
11906
11907
11908
11909
11910
11911
11912
11913
11914
11915
11916
11917
11918
11919
11920
11921
11922
11923
11924
11925
11926
11927
11928
11929
11930
11931
11932
11933
11934
11935
11936
11937
11938
11939
11940
11941
11942
11943
11944
11945
11946
11947
11948
11949
11950
11951
11952
11953
11954
11955
11956
11957
11958
11959
11960
11961
11962
11963
11964
11965
11966
11967
11968
11969
11970
11971
11972
11973
11974
11975
11976
11977
11978
11979
11980
11981
11982
11983
11984
11985
11986
11987
11988
11989
11990
11991
11992
11993
11994
11995
11996
11997
11998
11999
12000
12001
12002
12003
12004
12005
12006
12007
12008
12009
12010
12011
12012
12013
12014
12015
12016
12017
12018
12019
12020
12021
12022
12023
12024
12025
12026
12027
12028
12029
12030
12031
12032
12033
12034
12035
12036
12037
12038
12039
12040
12041
12042
12043
12044
12045
12046
12047
12048
12049
12050
12051
12052
12053
12054
12055
12056
12057
12058
12059
12060
12061
12062
12063
12064
12065
12066
12067
12068
12069
12070
12071
12072
12073
12074
12075
12076
12077
12078
12079
12080
12081
12082
12083
12084
12085
12086
12087
12088
12089
12090
12091
12092
12093
12094
12095
12096
12097
12098
12099
12100
12101
12102
12103
12104
12105
12106
12107
12108
12109
12110
12111
12112
12113
12114
12115
12116
12117
12118
12119
12120
12121
12122
12123
12124
12125
12126
12127
12128
12129
12130
12131
12132
12133
12134
12135
12136
12137
12138
12139
12140
12141
12142
12143
12144
12145
12146
12147
12148
12149
12150
12151
12152
12153
12154
12155
12156
12157
12158
12159
12160
12161
12162
12163
12164
12165
12166
12167
12168
12169
12170
12171
12172
12173
12174
12175
12176
12177
12178
12179
12180
12181
12182
12183
12184
12185
12186
12187
12188
12189
12190
12191
12192
12193
12194
12195
12196
12197
12198
12199
12200
12201
12202
12203
12204
12205
12206
12207
12208
12209
12210
12211
12212
12213
12214
12215
12216
12217
12218
12219
12220
12221
12222
12223
12224
12225
12226
12227
12228
12229
12230
12231
12232
12233
12234
12235
12236
12237
12238
12239
12240
12241
12242
12243
12244
12245
12246
12247
12248
12249
12250
12251
12252
12253
12254
12255
12256
12257
12258
12259
12260
12261
12262
12263
12264
12265
12266
12267
12268
12269
12270
12271
12272
12273
12274
12275
12276
12277
12278
12279
12280
12281
12282
12283
12284
12285
12286
12287
12288
12289
12290
12291
12292
12293
12294
12295
12296
12297
12298
12299
12300
12301
12302
12303
12304
12305
12306
12307
12308
12309
12310
12311
12312
12313
12314
12315
12316
12317
12318
12319
12320
12321
12322
12323
12324
12325
12326
12327
12328
12329
12330
12331
12332
12333
12334
12335
12336
12337
12338
12339
12340
12341
12342
12343
12344
12345
12346
12347
12348
12349
12350
12351
12352
12353
12354
12355
12356
12357
12358
12359
12360
12361
12362
12363
12364
12365
12366
12367
12368
12369
12370
12371
12372
12373
12374
12375
12376
12377
12378
12379
12380
12381
12382
12383
12384
12385
12386
12387
12388
12389
12390
12391
12392
12393
12394
12395
12396
12397
12398
12399
12400
12401
12402
12403
12404
12405
12406
12407
12408
12409
12410
12411
12412
12413
12414
12415
12416
12417
12418
12419
12420
12421
12422
12423
12424
12425
12426
12427
12428
12429
12430
12431
12432
12433
12434
12435
12436
12437
12438
12439
12440
12441
12442
12443
12444
12445
12446
12447
12448
12449
12450
12451
12452
12453
12454
12455
12456
12457
12458
12459
12460
12461
12462
12463
12464
12465
12466
12467
12468
12469
12470
12471
12472
12473
12474
12475
12476
12477
12478
12479
12480
12481
12482
12483
12484
12485
12486
12487
12488
12489
12490
12491
12492
12493
12494
12495
12496
12497
12498
12499
12500
12501
12502
12503
12504
12505
12506
12507
12508
12509
12510
12511
12512
12513
12514
12515
12516
12517
12518
12519
12520
12521
12522
12523
12524
12525
12526
12527
12528
12529
12530
12531
12532
12533
12534
12535
12536
12537
12538
12539
12540
12541
12542
12543
12544
12545
12546
12547
12548
12549
12550
12551
12552
12553
12554
12555
12556
12557
12558
12559
12560
12561
12562
12563
12564
12565
12566
12567
12568
12569
12570
12571
12572
12573
12574
12575
12576
12577
12578
12579
12580
12581
12582
12583
12584
12585
12586
12587
12588
12589
12590
12591
12592
12593
12594
12595
12596
12597
12598
12599
12600
12601
12602
12603
12604
12605
12606
12607
12608
12609
12610
12611
12612
12613
12614
12615
12616
12617
12618
12619
12620
12621
12622
12623
12624
12625
12626
12627
12628
12629
12630
12631
12632
12633
12634
12635
12636
12637
12638
12639
12640
12641
12642
12643
12644
12645
12646
12647
12648
12649
12650
12651
12652
12653
12654
12655
12656
12657
12658
12659
12660
12661
12662
12663
12664
12665
12666
12667
12668
12669
12670
12671
12672
12673
12674
12675
12676
12677
12678
12679
12680
12681
12682
12683
12684
12685
12686
12687
12688
12689
12690
12691
12692
12693
12694
12695
12696
12697
12698
12699
12700
12701
12702
12703
12704
12705
12706
12707
12708
12709
12710
12711
12712
12713
12714
12715
12716
12717
12718
12719
12720
12721
12722
12723
12724
12725
12726
12727
12728
12729
12730
12731
12732
12733
12734
12735
12736
12737
12738
12739
12740
12741
12742
12743
12744
12745
12746
12747
12748
12749
12750
12751
12752
12753
12754
12755
12756
12757
12758
12759
12760
12761
12762
12763
12764
12765
12766
12767
12768
12769
12770
12771
12772
12773
12774
12775
12776
12777
12778
12779
12780
12781
12782
12783
12784
12785
12786
12787
12788
12789
12790
12791
12792
12793
12794
12795
12796
12797
12798
12799
12800
12801
12802
12803
12804
12805
12806
12807
12808
12809
12810
12811
12812
12813
12814
12815
12816
12817
12818
12819
12820
12821
12822
12823
12824
12825
12826
12827
12828
12829
12830
12831
12832
12833
12834
12835
12836
12837
12838
12839
12840
12841
12842
12843
12844
12845
12846
12847
12848
12849
12850
12851
12852
12853
12854
12855
12856
12857
12858
12859
12860
12861
12862
12863
12864
12865
12866
12867
12868
12869
12870
12871
12872
12873
12874
12875
12876
12877
12878
12879
12880
12881
12882
12883
12884
12885
12886
12887
12888
12889
12890
12891
12892
12893
12894
12895
12896
12897
12898
12899
12900
12901
12902
12903
12904
12905
12906
12907
12908
12909
12910
12911
12912
12913
12914
12915
12916
12917
12918
12919
12920
12921
12922
12923
12924
12925
12926
12927
12928
12929
12930
12931
12932
12933
12934
12935
12936
12937
12938
12939
12940
12941
12942
12943
12944
12945
12946
12947
12948
12949
12950
12951
12952
12953
12954
12955
12956
12957
12958
12959
12960
12961
12962
12963
12964
12965
12966
12967
12968
12969
12970
12971
12972
12973
12974
12975
12976
12977
12978
12979
12980
12981
12982
12983
12984
12985
12986
12987
12988
12989
12990
12991
12992
12993
12994
12995
12996
12997
12998
12999
13000
13001
13002
13003
13004
13005
13006
13007
13008
13009
13010
13011
13012
13013
13014
13015
13016
13017
13018
13019
13020
13021
13022
13023
13024
13025
13026
13027
13028
13029
13030
13031
13032
13033
13034
13035
13036
13037
13038
13039
13040
13041
13042
13043
13044
13045
13046
13047
13048
13049
13050
13051
13052
13053
13054
13055
13056
13057
13058
13059
13060
13061
13062
13063
13064
13065
13066
13067
13068
13069
13070
13071
13072
13073
13074
13075
13076
13077
13078
13079
13080
13081
13082
13083
13084
13085
13086
13087
13088
13089
13090
13091
13092
13093
13094
13095
13096
13097
13098
13099
13100
13101
13102
13103
13104
13105
13106
13107
13108
13109
13110
13111
13112
13113
13114
13115
13116
13117
13118
13119
13120
13121
13122
13123
13124
13125
13126
13127
13128
13129
13130
13131
13132
13133
13134
13135
13136
13137
13138
13139
13140
13141
13142
13143
13144
13145
13146
13147
13148
13149
13150
13151
13152
13153
13154
13155
13156
13157
13158
13159
13160
13161
13162
13163
13164
13165
13166
13167
13168
13169
13170
13171
13172
13173
13174
13175
13176
13177
13178
13179
13180
13181
13182
13183
13184
13185
13186
13187
13188
13189
13190
13191
13192
13193
13194
13195
13196
13197
13198
13199
13200
13201
13202
13203
13204
13205
13206
13207
13208
13209
13210
13211
13212
13213
13214
13215
13216
13217
13218
13219
13220
13221
13222
13223
13224
13225
13226
13227
13228
13229
13230
13231
13232
13233
13234
13235
13236
13237
13238
13239
13240
13241
13242
13243
13244
13245
13246
13247
13248
13249
13250
13251
13252
13253
13254
13255
13256
13257
13258
13259
13260
13261
13262
13263
13264
13265
13266
13267
13268
13269
13270
13271
13272
13273
13274
13275
13276
13277
13278
13279
13280
13281
13282
13283
13284
13285
13286
13287
13288
13289
13290
13291
13292
13293
13294
13295
13296
13297
13298
13299
13300
13301
13302
13303
13304
13305
13306
13307
13308
13309
13310
13311
13312
13313
13314
13315
13316
13317
13318
13319
13320
13321
13322
13323
13324
13325
13326
13327
13328
13329
13330
13331
13332
13333
13334
13335
13336
13337
13338
13339
13340
13341
13342
13343
13344
13345
13346
13347
13348
13349
13350
13351
13352
13353
13354
13355
13356
13357
13358
13359
13360
13361
13362
13363
13364
13365
13366
13367
13368
13369
13370
13371
13372
13373
13374
13375
13376
13377
13378
13379
13380
13381
13382
13383
13384
13385
13386
13387
13388
13389
13390
13391
13392
13393
13394
13395
13396
13397
13398
13399
13400
13401
13402
13403
13404
13405
13406
13407
13408
13409
13410
13411
13412
13413
13414
13415
13416
13417
13418
13419
13420
13421
13422
13423
13424
13425
13426
13427
13428
13429
13430
13431
13432
13433
13434
13435
13436
13437
13438
13439
13440
13441
13442
13443
13444
13445
13446
13447
13448
13449
13450
13451
13452
13453
13454
13455
13456
13457
13458
13459
13460
13461
13462
13463
13464
13465
13466
13467
13468
13469
13470
13471
13472
13473
13474
13475
13476
13477
13478
13479
13480
13481
13482
13483
13484
13485
13486
13487
13488
13489
13490
13491
13492
13493
13494
13495
13496
13497
13498
13499
13500
13501
13502
13503
13504
13505
13506
13507
13508
13509
13510
13511
13512
13513
13514
13515
13516
13517
13518
13519
13520
13521
13522
13523
13524
13525
13526
13527
13528
13529
13530
13531
13532
13533
13534
13535
13536
13537
13538
13539
13540
13541
13542
13543
13544
13545
13546
13547
13548
13549
13550
13551
13552
13553
13554
13555
13556
13557
13558
13559
13560
13561
13562
13563
13564
13565
13566
13567
13568
13569
13570
13571
13572
13573
13574
13575
13576
13577
13578
13579
13580
13581
13582
13583
13584
13585
13586
13587
13588
13589
13590
13591
13592
13593
13594
13595
13596
13597
13598
13599
13600
13601
13602
13603
13604
13605
13606
13607
13608
13609
13610
13611
13612
13613
13614
13615
13616
13617
13618
13619
13620
13621
13622
13623
13624
13625
13626
13627
13628
13629
13630
13631
13632
13633
13634
13635
13636
13637
13638
13639
13640
13641
13642
13643
13644
13645
13646
13647
13648
13649
13650
13651
13652
13653
13654
13655
13656
13657
13658
13659
13660
13661
13662
13663
13664
13665
13666
13667
13668
13669
13670
13671
13672
13673
13674
13675
13676
13677
13678
13679
13680
13681
13682
13683
13684
13685
13686
13687
13688
13689
13690
13691
13692
13693
13694
13695
13696
13697
13698
13699
13700
13701
13702
13703
13704
13705
13706
13707
13708
13709
13710
13711
13712
13713
13714
13715
13716
13717
13718
13719
13720
13721
13722
13723
13724
13725
13726
13727
13728
13729
13730
13731
13732
13733
13734
13735
13736
13737
13738
13739
13740
13741
13742
13743
13744
13745
13746
13747
13748
13749
13750
13751
13752
13753
13754
13755
13756
13757
13758
13759
13760
13761
13762
13763
13764
13765
13766
13767
13768
13769
13770
13771
13772
13773
13774
13775
13776
13777
13778
13779
13780
13781
13782
13783
13784
13785
13786
13787
13788
13789
13790
13791
13792
13793
13794
13795
13796
13797
13798
13799
13800
13801
13802
13803
13804
13805
13806
13807
13808
13809
13810
13811
13812
13813
13814
13815
13816
13817
13818
13819
13820
13821
13822
13823
13824
13825
13826
13827
13828
13829
13830
13831
13832
13833
13834
13835
13836
13837
13838
13839
13840
13841
13842
13843
13844
13845
13846
13847
13848
13849
13850
13851
13852
13853
13854
13855
13856
13857
13858
13859
13860
13861
13862
13863
13864
13865
13866
13867
13868
13869
13870
13871
13872
13873
13874
13875
13876
13877
13878
13879
13880
13881
13882
13883
13884
13885
13886
13887
13888
13889
13890
13891
13892
13893
13894
13895
13896
13897
13898
13899
13900
13901
13902
13903
13904
13905
13906
13907
13908
13909
13910
13911
13912
13913
13914
13915
13916
13917
13918
13919
13920
13921
13922
13923
13924
13925
13926
13927
13928
13929
13930
13931
13932
13933
13934
13935
13936
13937
13938
13939
13940
13941
13942
13943
13944
13945
13946
13947
13948
13949
13950
13951
13952
13953
13954
13955
13956
13957
13958
13959
13960
13961
13962
13963
13964
13965
13966
13967
13968
13969
13970
13971
13972
13973
13974
13975
13976
13977
13978
13979
13980
13981
13982
13983
13984
13985
13986
13987
13988
13989
13990
13991
13992
13993
13994
13995
13996
13997
13998
13999
14000
14001
14002
14003
14004
14005
14006
14007
14008
14009
14010
14011
14012
14013
14014
14015
14016
14017
14018
14019
14020
14021
14022
14023
14024
14025
14026
14027
14028
14029
14030
14031
14032
14033
14034
14035
14036
14037
14038
14039
14040
14041
14042
14043
14044
14045
14046
14047
14048
14049
14050
14051
14052
14053
14054
14055
14056
14057
14058
14059
14060
14061
14062
14063
14064
14065
14066
14067
14068
14069
14070
14071
14072
14073
14074
14075
14076
14077
14078
14079
14080
14081
14082
14083
14084
14085
14086
14087
14088
14089
14090
14091
14092
14093
14094
14095
14096
14097
14098
14099
14100
14101
14102
14103
14104
14105
14106
14107
14108
14109
14110
14111
14112
14113
14114
14115
14116
14117
14118
14119
14120
14121
14122
14123
14124
14125
14126
14127
14128
14129
14130
14131
14132
14133
14134
14135
14136
14137
14138
14139
14140
14141
14142
14143
14144
14145
14146
14147
14148
14149
14150
14151
14152
14153
14154
14155
14156
14157
14158
14159
14160
14161
14162
14163
14164
14165
14166
14167
14168
14169
14170
14171
14172
14173
14174
14175
14176
14177
14178
14179
14180
14181
14182
14183
14184
14185
14186
14187
14188
14189
14190
14191
14192
14193
14194
14195
14196
14197
14198
14199
14200
14201
14202
14203
14204
14205
14206
14207
14208
14209
14210
14211
14212
14213
14214
14215
14216
14217
14218
14219
14220
14221
14222
14223
14224
14225
14226
14227
14228
14229
14230
14231
14232
14233
14234
14235
14236
14237
14238
14239
14240
14241
14242
14243
14244
14245
14246
14247
14248
14249
14250
14251
14252
14253
14254
14255
14256
14257
14258
14259
14260
14261
14262
14263
14264
14265
14266
14267
14268
14269
14270
14271
14272
14273
14274
14275
14276
14277
14278
14279
14280
14281
14282
14283
14284
14285
14286
14287
14288
14289
14290
14291
14292
14293
14294
14295
14296
14297
14298
14299
14300
14301
14302
14303
14304
14305
14306
14307
14308
14309
14310
14311
14312
14313
14314
14315
14316
14317
14318
14319
14320
14321
14322
14323
14324
14325
14326
14327
14328
14329
14330
14331
14332
14333
14334
14335
14336
14337
14338
14339
14340
14341
14342
14343
14344
14345
14346
14347
14348
14349
14350
14351
14352
14353
14354
14355
14356
14357
14358
14359
14360
14361
14362
14363
14364
14365
14366
14367
14368
14369
14370
14371
14372
14373
14374
14375
14376
14377
14378
14379
14380
14381
14382
14383
14384
14385
14386
14387
14388
14389
14390
14391
14392
14393
14394
14395
14396
14397
14398
14399
14400
14401
14402
14403
14404
14405
14406
14407
14408
14409
14410
14411
14412
14413
14414
14415
14416
14417
14418
14419
14420
14421
14422
14423
14424
14425
14426
14427
14428
14429
14430
14431
14432
14433
14434
14435
|
Mon May 4 11:57:34 1998 Carlos O'Ryan <coryan@cs.wustl.edu>
* orbsvcs/tests/EC_Multiple/EC_Multiple.h:
* orbsvcs/tests/EC_Multiple/EC_Multiple.cpp:
* orbsvcs/tests/EC_Multiple/gen_latency:
* orbsvcs/tests/EC_Multiple/gen_throughput:
* orbsvcs/tests/EC_Multiple/gen_utilization:
* orbsvcs/tests/EC_Multiple/histo.pl:
* orbsvcs/tests/EC_Multiple/latency.pl:
* orbsvcs/tests/EC_Multiple/run_latency:
* orbsvcs/tests/EC_Multiple/run_schedule:
* orbsvcs/tests/EC_Multiple/run_throughput:
* orbsvcs/tests/EC_Multiple/run_utilization:
* orbsvcs/tests/EC_Multiple/Scheduler_Runtime1.h:
* orbsvcs/tests/EC_Multiple/Scheduler_Runtime2.h:
The test now has two sets of consumers and two sets of
suppliers, running at different rates, with different events,
with varying number of suppliers and or consumers, etc.
Statistics are kept for latency, total time, laxity, time per
event, etc.
The scripts were updated for the new command line interface.
* orbsvcs/orbsvcs/Event/Dispatching_Modules.cpp:
Fixed minor error in debug message.
* orbsvcs/orbsvcs/Scheduler_Factory.h:
* orbsvcs/orbsvcs/Scheduler_Factory.cpp:
* orbsvcs/orbsvcs/Runtime_Scheduler.h:
* orbsvcs/orbsvcs/Runtime_Scheduler.cpp:
The Runtime_Scheduler uses the POD_RT_Info array directly now.
* orbsvcs/orbsvcs/Event/RT_Task.cpp:
Set the LWP priority of the task to obtain proper priorities.
* orbsvcs/orbsvcs/Event/Event_Channel.h:
* orbsvcs/orbsvcs/Event/Event_Channel.i:
* orbsvcs/orbsvcs/Event/Event_Channel.cpp:
The split some methods in the MT safe and non-MT safe counter
parts (i.e. the version that takes locks and the _i version that
does not), the method appeared to dead-lock in shutdown.
Anyway the methods are only used at shutdown and startup so
nothing should be broken by this.
* orbsvcs/tests/EC_Multiple/README:
* docs/releasenotes/ec.html:
Updated the documentation on the multiple EC test.
Mon May 4 09:35:07 1998 Torben Worm <tworm@cumbia.cs.wustl.edu>
* Comitted the files for the concurrency service
* Updated release notes
Mon May 04 09:05:04 1998 David L. Levine <levine@cs.wustl.edu>
* tests/Cubit/TAO/MT_Cubit/Task_Client.cpp,Util_Thread.cpp,server.cpp:
removed ACE_OS::thr_setprio class to set LWP priority, now that ACE
handles that internally.
Sun May 03 02:05:21 1998 Douglas C. Schmidt <schmidt@cs.wustl.edu>
* TAO version 0.1.18 released.
1998-05-02 Alexander Babu Arulanthu <alex@merengue.cs.wustl.edu>
* docs/releasenotes/index.html: Updated the status information for
PropertyService.
Sat May 2 14:28:41 1998 Douglas C. Schmidt <schmidt@flamenco.cs.wustl.edu>
* orbsvcs/orbsvcs/Naming/Naming_Utils.cpp (init): There was a bug
in Ross' code that was failing to initialize the
naming_context_var_. This is now fixed. Thanks to Andy for
noticing this.
Sat May 2 09:58:41 1998 Aniruddha Gokhale <gokhale@mambo.cs.wustl.edu>
* TAO_IDL/be/be_visitor_exception.cpp: We now make the *_alloc
method as a static method of the generated Exception class. The
reason for doing this was that some exceptions get borrowed from
included files. Now if we make the _alloc method as a static
method in the generated *C.cpp file, we don't see it in other
files where it is needed. The best way to do this was to make a
_alloc method as a static method on the generated exception class.
* TAO_IDL/be/be_visitor_operation.cpp: Changes made above required
some trivial modifications. However, it remains to be see if
MSVC++ accepts the generated code or not OR whether it needs the
ACE_NESTED_CLASS macro. I am waiting for reports on this.
* orbsvcs/orbsvcs/Naming/Naming_Utils.{h,cpp}:(init): Due to
application of patches, the signature of the
TAO_Naming_Server::init got reverted to the older and buggy
version. This is now fixed.
Fri May 01 17:56:07 1998 Nanbor Wang <nanbor@cs.wustl.edu>
* tao/orbsvcs/orbsvcs/Naming/Naming_Utils.cpp: Moved #include of
Arg_Shifter.h after #include of tao/corba.h so that ACE_Export
is properly defined.
* tao/TAO.dsp: Removed Arg_Shifter.cpp from the project.
Fri May 1 17:26:31 1998 Douglas C. Schmidt <schmidt@tango.cs.wustl.edu>
* orbsvcs/Naming_Service/Naming_Service.cpp (init): Added support
for the -NScontextname option. Thanks to Ross J. Lillie
<lillie@rsch.comm.mot.com> for this feature.
* orbsvcs/orbsvcs/Naming_Utils.h: Added "argv/argc" parameters to
the TAO_Naming_Server::init() and constructor methods. Thanks
to Ross J. Lillie <lillie@rsch.comm.mot.com> for this feature.
* tao/Makefile: Moved the Arg_Shifter from TAO to ACE since it is
generic and not TAO-specific.
Fri May 1 13:05:56 1998 Aniruddha Gokhale <gokhale@mambo.cs.wustl.edu>
* tao/Stub.h: Added a new structure called TAO_Exception_Data that
holds the typecode and pointer to a function for the user
exception we are dealing with. This was necessary since the
interpreter had no clue of how to allocate storage for the
exception we are dealing with and how to decode it.
* tao/GIOP.{h, cpp}: Affected by the above change is the "invoke"
method which takes the list of exceptions. It is this method that
is responsible for allocating the right amount of storage for the
exceptions and decode it.
We kept the original invoke method as it is because the newer
signature cannot work with DII. This still needs work.
* tao/IIOP_Object.cpp:(do_static_call) - When "invoke" is called,
we now pass the TAO_Exception_Data table.
* TAO_IDL/be/be_visitor_operation.cpp: The exceptionlist table
that gets generated is now an array of TAO_Exception_Data. In
addition, it is made static.
* TAO_IDL/be/be_visitor_exception.cpp: Added code to generate the
*_alloc function that allocates memory for the exception.
Fri May 1 09:55:56 1998 Aniruddha Gokhale <gokhale@mambo.cs.wustl.edu>
* tao/POAS.cpp: In the initialization section of constructors for
some of the collocated classes, we had forgotten to use the
ACE_NESTED_CLASS macro. This is now fixed.
Fri May 1 06:19:03 1998 Aniruddha Gokhale <gokhale@mambo.cs.wustl.edu>
* TAO_IDL/be/be_visitor_interface.cpp: Modified the generated code
for <<= and >>= operators. It involves more memory allocation. The
previous version was buggy because it was holding pointers to data
allocated on function call stacks.
* Makefiles: A few Makefiles have been updated with the .PRECIOUS
clause. Otherwise the make was deleting some IDL compiler
generated files.
* tao/Marshal.i: trivial changes. Probably not even required to
do. Instead of casting the void pointer at the time of passing the
parameter to release, we do it prior to it and then pass the local
variable.
Added the $Id$ CVS string.
* tests/Param_Test: Added support to handle Anys of Object
references (In our case Anys of Coffee objects).
Thu Apr 30 20:18:44 1998 Alexander Babu Arulanthu <alex@merengue.cs.wustl.edu>
* orbsvcs/tests/CosPropertyService/client.{h, cpp}, server.{h,
cpp}: The client and server programs exclusively for testing
CosPropertyService.
Thu Apr 30 15:35:45 1998 David L. Levine <levine@cs.wustl.edu>
* tao/tests/Cubit/TAO/MT_Cubit/Task_Client.*,Util_Thread.*,
client.cpp,server.cpp: adapted to work on VxWorks.
Thu Apr 30 14:26:00 1998 David L. Levine <levine@cs.wustl.edu>
* TAO version 0.1.17 released.
Thu Apr 30 10:06:19 1998 David L. Levine <levine@cs.wustl.edu>
* tao/tests/Cubit/TAO/MT_Cubit/server.{h,cpp}: moved the
start barrier from the stack frame of start_servants ()
to the stack frame of main (). This turned out the be
the cause of the barrier failure on Linux. And on Solaris86,
but it only appeared there when the ior file was in /tmp.
That's because start_servants () was able to write the file
more quickly there, and then destroy the old barrier. Threads
are evil.
Wed Apr 29 14:06:35 1998 Aniruddha Gokhale <gokhale@mambo.cs.wustl.edu>
* tao/{Object, POAC, POAS, PolicyC, PolicyS}.cpp: Moved all the
static Param_Data and Call_Data tables from the outer global scope
to the scope of the respective stubs and skeletons. This was
necessary since the ORB-owned typecodes are now dynamically
allocated. Thus, if the tables remain in the global scope, the
values for typecodes get initialized to NUL. Thanks to Naga,
Sergio, and Sumedh who were trying in vain to understand why
things were failing.
* TAO_IDL/be/be_visitor_interface.cpp: Moved the code generation
of static Param_Data tables for the _is_a_skel from the outer
global scope to inside the skeleton for _is_a_skel.
* orbsvcs/orbsvcs/Scheduler_Factory.cpp: On line 119 to the call
to _narrow, we were passing the Object_var. g++ did not like
it. Hence we take the in () of the var object and pass it to
_narrow.
* tao/skip.cpp: In Sequence::skip, we did not have a return
TRAVERSE_CONTINUE statement after successfull skipping. Hence we
always returned an exception. The same iwas true with Array::skip.
Thanks to Alex (alex@cs.wustl.edu) for reporting this bug.
Wed Apr 29 12:26:12 1998 Carlos O'Ryan <coryan@cs.wustl.edu>
* orbsvcs/tests/EC_Multiple/Makefile:
* orbsvcs/tests/EC_Multiple/EC_Multiple.h:
* orbsvcs/tests/EC_Multiple/Scheduler_Runtime1.h:
* orbsvcs/tests/EC_Multiple/Scheduler_Runtime2.h:
* orbsvcs/tests/EC_Multiple/EC_Multiple.cpp:
Added two precomputed schedules that are selected when the
argument to -s is either RUNTIME1 or RUNTIME2, but it is still
possible to have a global scheduler (-g) or to compute new
schedules (-s <anyname>).
The amount of work performed in the high priority threads can be
controlled using the -w option.
* orbsvcs/tests/EC_Multiple/latency.pl:
* orbsvcs/tests/EC_Multiple/run_utilization:
* orbsvcs/tests/EC_Multiple/run_overhead:
* orbsvcs/tests/EC_Multiple/run_latency:
* orbsvcs/tests/EC_Multiple/gen_utilization:
* orbsvcs/tests/EC_Multiple/gen_overhead:
* orbsvcs/tests/EC_Multiple/gen_latency:
This scripts execute the test with different configurations
designed to measure latency, overhead, utilization, etc.
The run_* scripts execute the test, the gen_* scripts filter the
results and generate Encapsulated PostScript and JPEG files with
the results.
I've tried to make the file naming conventions consistent so its
easier to add new scripts or tests.
* orbsvcs/Naming_Service/Naming_Service.h:
* orbsvcs/Naming_Service/Naming_Service.cpp:
Added an option (-p) to dump the process ID into a file, this is
useful when running the service from a script that has to shut
it down.
* orbsvcs/orbsvcs/Scheduler_Factory.cpp:
Fixed some memory managment problems, but the whole class has to
be revised to be more compliant.
Wed Apr 29 07:08:18 1998 David L. Levine <levine@cs.wustl.edu>
* tests/Cubit/TAO/MT_Cubit/client.cpp (do_priority_inversion_test):
fixed loop indices to follow ANSI scoping rules and avoid
signed/unsigned comparisons.
* tests/Cubit/TAO/MT_Cubit/Task_Client.cpp (run_tests): cast the
entire expression to u_long, not just the first term.
Tue Apr 28 13:02:25 1998 Aniruddha Gokhale <gokhale@mambo.cs.wustl.edu>
* TAO_IDL/be/be_visitor_operation.cpp: The tables for Param_Data
and Call_Data in the stubs and skeletons are now generated inside
the stub/skeleton instead of being global. This change was
necessitated since we removed all statics from the TAO library.
* TAO_IDL/be/be_visitor_structure.cpp: Some trivial indentation
changes and moved code a bit so that related code gets generated
near each other.
* tao/Exception.cpp: Got rid of all static typecodes for system
exceptions. In addition, there was an error in
"make_standard_typecode" where we were creating a new
ExceptionList for every call to make_standard_typecode. This is
now moved to the init method.
A few TypeCode definitions have been moved to
Typecode_Constants.cpp since these were owned by the ORB.
* tao/Exception.h:(make_standard_typecode): The first parameter
now takes a reference to TypeCode_ptr.
* tao/{Connect, GIOP, Server_Request}.cpp: Use the new TC_opaque
and TC_ServiceContextList typecode pointers rather than the
previous static TypeCode object.
* tao/Marshal.cpp: Removed a lot of commented out code.
* tao/Marshal.h: Added some documentation.
* tao/ORB.cpp: Added a call to TAO_TypeCodes::init in the
init_orb_globals method.
* tao/ORB.{h,i}: Missing documentation added. Added a new method
that returns a boolean value indicating if the ORB's reference
count for its globals has reached 0. The TypeCode destructor uses
this to get rid of ORB owned typecodes.
* tao/Object_Key.idl: Added missing documentation.
* tao/Sequence_T.h: Added missing documentation.
* tao/Typecode.{h, cpp}: Refined the destructor such that ORB
owned typecodes are now destroyed once the reference count for
globals has reached 0.
Added a new class called "TAO_Typecodes". It provides a namespace
to defined some static methods for initialization and finalization
of ORB owned typecodes.
* tao/Typecode_Constants.cpp: Lots of changes. All typecodes are
now dynamically allocated. All the static allocation is removed.
* tao/{append, skip}.cpp: In the respective append and skip
methods for Exceptions, we had forgotten to append/skip the
repository ID for the exception. In addition, we now use TC_opaque
pointer rather than the static object.
* tao/decode.cpp: The static table __tc_consts had to be moved
inside the TypeCode::decode method since the typecodes are no more
static. Also, we use the newly defined TC_opaque typecode pointer.
* tao/{encode, deep_copy, deep_free}.cpp: Used the TC_opaque
pointer instead of the static object TC_opaque that we previously
had.
* tests/CDR/tc.cpp: Moved the static table of typecodes inside the
function since the typecodes are no more static.
Mon Apr 27 16:46:42 1998 David L. Levine <levine@cs.wustl.edu>
* tests/Cubit/TAO/MT_Cubit/*.cpp: put in RT class if running
as root, and set LWP priorities.
* tests/Cubit/TAO/MT_Cubit/MT_Cubit_Test: added this shell
script, which spawns the server and client (locally).
Sun Apr 26 10:19:49 1998 Carlos O'Ryan <coryan@cs.wustl.edu>
* orbsvcs/tests/EC_Multiple/EC_Multiple.cpp:
The print_priority_info() routine is platform specific, but I
did not protect it with the right #ifdef/#endif block.
Sun Apr 26 01:09:23 1998 Douglas C. Schmidt <schmidt@cs.wustl.edu>
* TAO version 0.1.16 released.
Sat Apr 25 16:14:02 1998 Carlos O'Ryan <coryan@cs.wustl.edu>
* orbsvcs/tests/EC_Multiple/EC_Multiple.h:
* orbsvcs/tests/EC_Multiple/EC_Multiple.cpp:
Added routine to print the scheduling parameters of the main and
scavenger thread.
Before starting we report all the user defined parameters for
the test execution.
The push() method consumes a little CPU via the is_prime()
method.
Fixed problem with auto_ptr<> usage.
For the short circuit case the timer is reset at the beginning
of handle_timeout(), otherwise the main thread sleeps a constant
amount of time.
Changed the option to set the timeout interval to -i and now -t
tries to run the test in the Time-shared scheduling class.
The main thread scheduling parameters are modified after
parsing the user arguments.
* orbsvcs/tests/EC_Multiple/run_latency:
* orbsvcs/tests/EC_Multiple/run_utilization:
* orbsvcs/tests/EC_Multiple/gen_data:
This scripts are attempts to make single button entries for the
diverse configurations of this test.
Sat Apr 25 08:36:08 1998 David L. Levine <levine@cs.wustl.edu>
* orbsvcs/tests/EC_Multiple/EC_Multiple.cpp:
added a few .in () dereferences and ACE_UNUSED_ARGs.
Fri Apr 24 14:08:47 1998 Carlos O'Ryan <coryan@cs.wustl.edu>
* orbsvcs/tests/EC_Multiple/EC_Multiple.h:
* orbsvcs/tests/EC_Multiple/EC_Multiple.cpp:
The test creates its own scheduling service now, so all the
invocations are collocated.
Added support for overhead test, but it is still untested.
* orbsvcs/tests/EC_Multiple/Makefile:
Updated dependencies.
* orbsvcs/tests/EC_Multiple/latency.pl:
The program generates number in usecs now, less need for
conversion here.
* orbsvcs/tests/EC_Multiple/gen_data:
Improved the graphs, include titles, the time is in usecs, the
EPS files are generated (for LaTeX) and then converted to JPEG
(for HTML).
* orbsvcs/orbsvcs/Makefile:
Added Event/EC_Gateway.{h,cpp} and updated dependencies.
* orbsvcs/Naming_Service/Naming_Service.cpp:
Removed obsolete options from usage message.
Fri Apr 24 10:15:37 1998 Michael Kircher <mk1@cs.wustl.edu>
* tests/Quoter/Generic_Factory.{h,cpp,dsp}: server for a
Generic Factory conforming to the LifeCycle Service
* tests/Quoter/Generic_Factory_Impl.{h,cpp}: Implementation
of a LifeCycle Service conforming Generic Factory
Fri Apr 24 10:08:37 1998 David L. Levine <levine@cs.wustl.edu>
* tao/NVList.cpp: added ACE_Node<CORBA::NamedValue_ptr> template
instantiation.
Fri Apr 24 00:18:05 1998 Douglas C. Schmidt <schmidt@cs.wustl.edu>
* TAO version 0.1.15 released.
Thu Apr 23 18:50:29 1998 Douglas C. Schmidt <schmidt@tango.cs.wustl.edu>
* TAO_IDL/ast_enum.h,
TAO_IDL/ast_exception.h,
TAO_IDL/ast_interface.h,
TAO_IDL/ast_module.h,
TAO_IDL/ast_operation.h,
TAO_IDL/ast_root.h,
TAO_IDL/ast_structure.h,
TAO_IDL/ast_union.h,
TAO_IDL/utl_scope.h: Changed 'friend int yyparse()' to
'friend int tao_yyparse()' to reflect new changes.
* The following changes will hopefully provide a framework
for getting rid of all the nasty problems with statics
in TAO!
* tao/ORB: Added a new static method called init_orb_globals()
that initializes the globals when necessary.
* tao/ORB: Added a new orb_init_count_ data member that keeps
track of the number of times ORBs have been initialized in order
to do a better job of managing globa ORB resources.
* tao/Exception: Added a new method called fini() that deletes the
dynamically allocated exceptions list.
* tao/Exception: Changed init_standard_exceptions() to init() to
be consistent.
* tao/Marshal: Changed initialize() to init() to be consistent.
* tao/IIOP_Interpreter: Changed init_table() to init() to be
consistent.
* tao/ORB: Added support so that we make sure to only initialize
and destroy global ORB resources when the first/last ORB is
created/destroyed, rather than using static objects (which are
causing problems on shutdown).
Thu Apr 23 16:20:58 1998 Douglas C. Schmidt <schmidt@flamenco.cs.wustl.edu>
* TAO/TAO_IDL/Makefile: Change the YY* symbols to ACE_YY* symbols
to avoid clashes if we link with other flex/yacc generated code.
Thu Apr 23 15:48:29 1998 Aniruddha Gokhale <gokhale@mambo.cs.wustl.edu>
* TAO_IDL/be/{be_visitor_structure, be_visitor_exception,
be_visitor_union, be_visitor_sequence}.cpp: The code generation of
the >>= operators is now improved to take into account the fact
that an Any may not own the value. In such cases, the >>= operator
should simply do a cast rather than retrieving the value from the
CDR member
* tao/Any.{h,i}: Added a new method (TAO extension) returning a
boolean to indicate if the Any owns the data or not. This is used
by the >>= operators generated for user-defined types
* tao/Any.cpp: The constructor and assignment operator of Any that
was creating a CDR stream used to point its ACE_Message_Block
member to a buffer that was allocated on the function call
stack. We now explicitly call "clone" on it to make a deep copy.
* tao/GIOP.{h,i}: Added two methods that return the underlying
input and output CDR streams.
* tao/IIOP_Object.cpp: (do_dynamic_call): Made major
modifications. We are now able to handle the case when the user
has not supplied the top level storage for out and return
parameters. For these cases, we use exactly the same logic as the
Any::decode method. We maintain a pointer to the part of the CDR
stream that holds the value and save it in the Any. It is the
application's responsibility to use the appropriate >>= methods to
retrieve the value.
* tao/NVList.{h, i, cpp}: We now use ACE_Unbounded_Queue to
maintain the list of NamedValues. The original code was mixing up
C++ and C memory management by using calloc and realloc. This was
cauisng too many problems. At the same time, reallocing would
introduce a large number of deep_copies of the Anys that are held.
All the add_* and item methods have been affected.
* tao/ORB.cpp: Modified the create_list method since the NVList
now uses ACE_Unbounded_Queue<NamedValue_ptr> to maintain a list of
NamedValues.
* tao/{append, encode, decode, skip}.cpp: For the Union::{append,
encode, decode, skip} methods, it was necessary to use the >>=
operators to retrieve the label values. We were originally using
casts to the void* returned by the Any::value () method. However,
since this returns the underlying CDR buffer, we need to use the
type-safe >>= operators. For the enum case label, we explicitly
invoke the decoder.
* tao/Server_Request.cpp:(demarshal): We now create an NVList of
size 0 and then add individual items according to the
CallData_skel table. This is no more wasteful as in the previous
scheme because now we use ACE_Unbounded_Queue to mainatin the
internal list and hence growing the list does not result in huge
amounts of deep_copies.
* tests/Cubit/TAO/IDL_Cubit/client.cpp: Fixed the usage for DII in
struct_dii and union_dii to use the >>= operators.
* tests/Param_test/tests.cpp: Partially fixed the way DII tests
should be coded. Some of them are now working. I need to fix the
rest of them.
Wed Apr 22 15:56:58 1998 Carlos O'Ryan <coryan@cs.wustl.edu>
* orbsvcs/tests/EC_Multiple/EC_Multiple.h:
* orbsvcs/tests/EC_Multiple/EC_Multiple.cpp:
The test also has a collocated scheduling service now.
* orbsvcs/tests/EC_Multiple/svc.conf:
Added a missing svc.conf file.
* orbsvcs/Scheduling_Service/Scheduling_Service.cpp:
The -n option can be used to specify the scheduling service name.
* orbsvcs/orbsvcs/Scheduler_Factory.h:
* orbsvcs/orbsvcs/Scheduler_Factory.cpp:
We can find scheduling services with different names now.
Removed all method that used resolve_initial_references() to
find the scheduling service; this was needed before the naming
service was working.
* orbsvcs/tests/EC_Multiple/latency.pl:
* orbsvcs/tests/EC_Multiple/gen_data:
Simple scripts to process the data obtained in the experiments.
Mon Apr 20 16:46:07 1998 Aniruddha Gokhale <gokhale@mambo.cs.wustl.edu>
* TAO_IDL/be/be_visitor_interface.cpp: An ACE_NESTED_CLASS was
getting generated with a blank first argument for cases where the
interfaces were defined in the outermost scope. This is now fixed
by using a conditional "is_nested".
Mon Apr 20 13:23:30 1998 Carlos O'Ryan <coryan@cs.wustl.edu>
* tao/Server_Request.h:
* tao/Server_Request.cpp:
We keep a flag to determine whether the exceptions stored with
the set_exception() method are user exceptions or system
exceptions.
Mon Apr 20 09:48:01 1998 David L. Levine <levine@cs.wustl.edu>
* tests/CDR/growth.cpp (main): cast ACE_ONE_SECOND_IN_USECS
to ACE_UINT32 to avoid ambiguity when using ACE_U_LongLong.
* tao/append.cpp (append): commented out unused local
"continue_append".
* tests/Cubit/TAO/MT_Cubit/Task_Client.cpp (run_tests): removed
unused local "context_switch". Protected declarations of
"ptartTime" and "pstopTime" for CHORUS only.
* tests/Cubit/TAO/MT_Cubit/client.cpp (do_priority_inversion_test):
protected declaration of context_switch for ACE_HAS_PRUSAGE_T or
ACE_HAS_GETRUSAGE.
Mon Apr 20 06:36:44 1998 Aniruddha Gokhale <gokhale@mambo.cs.wustl.edu>
* TAO_IDL/be/be_interface.cpp: The generated typecode was incorect
in its encapsulation length. We were generating the entire
TypeCode length as the encapsulation length.
Sat Apr 18 20:21:24 1998 Aniruddha Gokhale <gokhale@mambo.cs.wustl.edu>
* TAO_IDL/be/{be_visitor_exception, be_visitor_sequence,
be_visitor_structure, be_visitor_union}.cpp: In the generated code
for the >>= operators, we were incorrectly passing the address of
the pointer to the decode method rather than simply passing the
pointer.
* tao/Any.cpp: The value () routine either returns the cdr_ or the
value_ field depending on whether the Any owns the data or not.
* tao/TypeCode.cpp: In private_equal, we had forgottent to account
for the tk_any case.
Sat Apr 18 15:52:20 1998 Alexander Babu Arulanthu <alex@merengue.cs.wustl.edu>
* tao/Exception.cpp (CORBA_Exception): Removed a debugging
statement assert (1==2) in the destructor of this class.
Sat Apr 18 12:19:11 1998 David L. Levine <levine@cs.wustl.edu>
* tests/Cubit/TAO/IDL_Cubit/server.cpp (init_naming_service):
dereference orb and child_poa with in () in calls to
my_name_server_.init ().
Sat Apr 18 10:14:13 1998 Aniruddha Gokhale <gokhale@mambo.cs.wustl.edu>
* tao/Any.cpp: There was a mistake in some of the the >>=
operators in which for the "any owns data" case, we were
retrieving the data from the value_ field instead of the cdr_
field.
* tao/GIOP.cpp: An unwanted explicit template instantiation for
Unbounded sequences of TypeCode is now removed.
* tao/decode.cpp: A very very subtle error. For the case of
Any::decode, our strategy was to let the Any maintain a pointer to
the CDR stream and eventually let the >>= operators do the
retrieve part. We were correctly maintaining pointers to the
duplicated ACE_Message_Block. Unfortunately, this
ACE_Message_Block was maintaining a data member which is the CDR
stream which was allocated on the function call stack of
"do_static_call". As a result, all kinds of weird results started
showing up. We now make an explicit copy. Although this scheme
will slow down the performance for Anys, at this time, this is the
only feasible solution to get things working.
* tests/CDR: Added test for Any in basic_types.cpp
* tests/Param_Test: Added some debug statements.
Fri Apr 17 19:15:24 1998 Alexander Babu Arulanthu <alex@merengue.cs.wustl.edu>
* tao/Any.h :
* tao/Any.cpp : Added static dump () method for debugging any
values. It prints out type and value (if the type is primitive).
Fri Apr 17 15:35:27 1998 Carlos O'Ryan <coryan@cs.wustl.edu>
* orbsvcs/orbsvcs/Naming/CosNaming_i.cpp:
An explicit ACE_Thread_Mutex was used, this is non-portable to
platforms without threads, the "Right Thing" is to use the macro
ACE_SYNCH_MUTEX.
Fri Apr 17 13:29:46 1998 Nanbor Wang <nanbor@cs.wustl.edu>
* tao/skip.cpp (skip):
* tao/deep_copy.cpp (deep_copy):
* TAO_IDL/be/be_decl.cpp (tc_name2long): Removed unreferenced
variables.
Fri Apr 17 12:12:04 1998 Aniruddha Gokhale <gokhale@mambo.cs.wustl.edu>
* TAO_IDL/be/be_visitor_operation.cpp: There was an error in the
way the return Any type was passed to the demarshal and marshal
routines of the generated skeleton code.
* tao/Any.cpp: Error in the assignment operator for Any fixed. For
the Any owns case, we were copying the data from the value_ field
instead of the cdr_ field.
* tao/decode.cpp: In Any::decode, we were setting the value_ field
of the Any to the ACE_Message_Block rather than setting the cdr_
field.
* tao/encode.cpp: In Any::encode, we were reading from the value_
field of the Any rather than the cdr_ field.
* tests/Param_Test: Added code for the Any test. This is still
under test.
Fri Apr 17 02:38:13 1998 Aniruddha Gokhale <gokhale@mambo.cs.wustl.edu>
* TAO_IDL/be/{be_visitor_exception, be_visitor_sequence,
be_visitor_structure, be_visitor_union}.cpp: We had a mismatch in
the signatures of operator <<= in the declaration and
implementation. In addition, we force the generated code for >>=
operator to own the allocated memory.
* TAO_IDL/be/be_visitor_interface.cpp: In the code that generates
>>= operator, we also generate code such that the allocated memory
is owned by the Any
* tao/Any.{h, cpp}: We now have two data members in class Any. We
keep the older semantics of the value_ field. In addition, we
maintain a ACE_Message_Block *cdr_ member. Originally we shared
the value_ variable to mean either a CDR stream or a pointer to
some data type. This was based on whether the Any owns the data or
not. However, this strategy does not work because in the >>=
operators for constructed types, we must hold on to the newly
allocated storage since we own it and we must free it.
* tao/TypeCode.cpp: In the constructor, we were initializing the
internal buffer to point to 4 bytes past the actual buffer that
was passed as a parameter. Things were fine as long as we were not
transmitting typecodes. However, once we started doing that, we
realized that somehow the buffers kept on reducing by 4 as we kept
transmitting typecodes over the wire. Thus, a typecode receive don
the other end had a smaller buffer (and hence different contents)
than the original. We fix this by making our internal buffer point
ot the start of the buffer that was passed as a parameter. The
side-effect of this is that whenever we have to initialize a
TAO_InputCDR with this internal buffer, we must do so by
explicitly skipping the first 4 bytes (which contains the byte
order flag) and indicating that the length is 4 less than the
actual.
* tao/decode.cpp: In TypeCode::decode, there was a very subtle
error. Whenever we were decoding a typecode and determining that
it was one of the ORB maintained constants, we were simply
pointing to it and passing it back. However, this is not correct
because the application can call "release" which was resulting in
"Freeing Non-Heap Memory" which is terrible. We now "_duplicate"
such typecodes and then pass them to the applications.
Thu Apr 16 20:34:40 1998 David L. Levine <levine@cs.wustl.edu>
* tao/ORB_Core.cpp (TAO_ORB_Core): reordered initializers to
match declaration order.
* tao/Exception.cpp: added ACE_Unbounded_Queue<CORBA::TypeCode_ptr>,
etc., instantiations.
* tao/PolicyC.h (CORBA_PolicyList): commented out unused
_tc_PolicyList_seq.
Thu Apr 16 19:22:10 1998 Seth Benjamin Widoff <sbw1@waltz.cs.wustl.edu>
* TAO_IDL/be/be_visitor_interface.cpp:
The ACE_NESTED_CLASS macro in the base/member initialization
section of a collocated class was using the wrong scope to
initialize inherited collocated classes. Prefixed a "POA_" to
the scope.
Thu Apr 16 16:00:35 1998 Aniruddha Gokhale <gokhale@mambo.cs.wustl.edu>
* tao/decode.cpp: In TypeCode::decode, for the case of bounded
strings, we were passing a null pointer to the typecode
constructor.
* tao/encode.cpp: In TypeCode::In encode, for strings, we were
encoding the typecode's buffer length rather than the bounds of
the string.
* tests/Param_Test: Added code to test TypeCodes. Most of the
files in this suite are modified.
Thu Apr 16 13:28:59 1998 Carlos O'Ryan <coryan@cs.wustl.edu>
* tao/decode.cpp:
An exception was raised if a nil object reference was decoded.
* tao/POA.cpp:
For debugging purposes we print a message when an exception is
raised on the server side.
* TAO_IDL/be/be_visitor_interface.cpp:
Use ACE_NESTED_CLASS macro for collocated classes, this makes
the generated code portable between NT and other platforms.
Thu Apr 16 10:31:53 1998 Aniruddha Gokhale <gokhale@mambo.cs.wustl.edu>
* TAO_IDL/be/be_visitor_interface.cpp: I had forgotten to generate
a "return TRUE" statement in the code for the >>= operator on
interfaces.
* TAO/tao/Any.cpp: All the basic >>= operators were using plain
casts. However, according to the new strategy, if the Any owns the
value, then it is a CDR stream. So we make this distinction in the
code.
* TAO/tao/POAS.cpp: In the initialization section of a number of
skeleton class constructors, we were initializing
_tao_collocated_Policy without specifying its fully scoped name
which happens to be POA_CORBA::_tao_collated_Policy. g++ was
complaining. However, it remains to be seen if MSVC++ accepts this
new style.
Thu Apr 16 10:10:16 1998 Michael Kircher <mk1@cs.wustl.edu>
* tests\Quoter\Quoter_Impl.cpp: Improved the copy operation
* tests\Quoter\client.{h,cpp}: Using the copy operation
Status: Bootstraping and copying of Lifecycle Objects works.
Thu Apr 16 08:36:16 1998 David L. Levine <levine@cs.wustl.edu>
* orbsvcs/Naming_Service/Naming_Service.cpp (parse_args):
removed break following an ACE_ERROR_RETURN.
Thu Apr 16 01:25:18 1998 Irfan Pyarali <irfan@cs.wustl.edu>
* tao/poa.idl: Fixed the idl file.
* tao/PolicyS.cpp (_tao_collocated_Policy): _tao_collocated_Policy
must inherit from CORBA_Policy and not from CORBA::Policy. This
is because the VC++ compiler cannot deal with inheriting from
nested typedefs.
* tao/Policy{C,S}.h: Added TAO_Export macros. Also fixed the
#include files.
* tao/POAS.*: Added code for _get_policy_type_skel() and
policy_type() by hand.
* tao/POAC.*: Removed code for PortableServer::Policy.
* tao/POA.cpp: Added the policy_type() method to the policy
classes.
* TAO: Changed PortableServer::Policy to CORBA::Policy.
Wed Apr 15 22:29:29 1998 Aniruddha Gokhale <gokhale@mambo.cs.wustl.edu>
* TAO_IDL/be/{be_visitor_structure, be_visitor_union,
be_visitor_enum, be_visitor_sequence, be_visitor_interface,
be_visitor_exception}.cpp: Added code to generate the <<= and >>=
operators for CORBA::Any.
* TAO_IDL/be/be_predefined_type.cpp: Added cases for LongLong,
ULongLOng, and LongDouble which were missing. Thanks to Sam Hauer
(shauer@nmo.gtegsc.com).
Wed Apr 15 20:20:58 1998 Michael Kircher <mk1@cs.wustl.edu>
* orbsvcs/tests/Simulator/DOVEBrowser/PushConsumer{Factory}.java.JDK1.2
added these two files, they can be used by the JDK 1.2 instead
of by the Visigenic ORB.
Wed Apr 15 15:59:58 1998 Aniruddha Gokhale <gokhale@mambo.cs.wustl.edu>
* TAO/tao/append.cpp: Added a bunch of methods that take a CDR
stream and append it to another CDR stream while maintaining the
alignment. These functions use exactly the same logic as that used
by the encode, skip, decode, deep_free, and deep_copy methods.
* TAO/tao/any.cpp: When we reset the contents, we set value_ to 0
* TAO/tao/CDR.{h, i, cpp}: Added a constructor to the
TAO_OutputCDR and TAO_InputCDR to take an ACE_Message_Block as
input. In addition, added the "append" methods that append one CDR
to other while maintaining the alignment.
* TAO/tao/Exception.{h, i, cpp}: Added the definition and
implementation of the CORBA::ExceptionList class according to the
CORBA v2.2 (Feb 98). This required a few changes in the
Exception.cpp file while initializing the list of system
exceptions.
* TAO/tao/{GIOP, IIOP_Object}.cpp: Changes required due the new
definition of ExceptionList
* TAO/tao/Marshal.h: Added the append methods on all classes.
* TAO/tao/ORB.h: Chnaged the definition of ExceptionList from
typedef to TAO_Unbounded_Object_Sequence<TypeCode_ptr> to using
the new defintion.
* TAO/tao/Typecode.{h, cpp}: Moved the defintions of Bounds and
BadKind inside the TypeCode class. This is where it belongs.
* TAO/tao/decode.cpp: In Any::decode, we set the value_ data
member of Any to a duplicated ACE_Message_Block.
* TAO/tao/encode.cpp: Changed the implementation of Any::encode
such that if the Any owns the data, then the value_ which is an
ACE_Message_Block that holds a CDR stream gets appended to the
destination CDR. Otherwise, the value is literally encoded into
the destination CDR.
* TAO/tao/skip.cpp: Added WString::skip. In addition, we had
forgotten to pass the address of the discriminant_val to the
decoder inside the Union::skip function.
Wed Apr 15 12:19:36 1998 Nanbor Wang <nanbor@cs.wustl.edu>
* tao/deep_copy.cpp (deep_copy): We need a return if no error was
found.
Wed Apr 15 09:28:16 1998 Carlos O'Ryan <coryan@cs.wustl.edu>
* tao/Stub.h:
A field was declared <const CORBA::TypeCode_ptr*>, this field is
needed to initialize a Sequence that requires a
<CORBA::TypeCode**> parameter. The careful reader will notice
that there is no implicit conversion between the two types, the
first is a pointer to constant TypeCode_ptr no a constant
pointer to TypeCode_ptr. Only SGI/C++ detected this problem.
Wed Apr 15 09:11:11 1998 David L. Levine <levine@cs.wustl.edu>
* orbsvcs/orbsvcs/Sched/DynSched.cpp (compare_entry_finish_times):
added const's to first_entry and second_entry declarations and
casts, so that ANSI static_casts will succeed.
* orbsvcs/orbsvcs/Sched/Strategy_Scheduler.cpp (create):
removed extraneous trailing semicolon.
* orbsvcs/orbsvcs/Event/RT_Task.h (ACE_RT_Task): added "class"
to declaration of friend ACE_RT_Thread_Manager.
* orbsvcs/Dump_Schedule/Dump_Schedule.cpp (main): added an _out
temporary to avoid compiler warning about a temporary being used
for a non-const reference. Because only Sun C++ seems to complain
about this, and the temporary is non-comformant (it is an _out
type, and users aren't supposed to create them), the hack is
only used with Sun C++.
Tue Apr 14 19:35:50 1998 Michael Kircher <mk1@cs.wustl.edu>
* tests/Quoter/*: Quoter example is running using the Cos LifeCycle
Factory Finder.
Tue Apr 14 16:37:50 1998 Carlos O'Ryan <coryan@cs.wustl.edu>
* tao/encode.cpp:
* tao/deep_copy.cpp:
* tao/decode.cpp:
* tao/Principal.cpp:
* tao/ORB.h:
* tao/IIOP_Object.cpp:
* tao/GIOP.cpp:
* tao/Exception.cpp:
Removed the last traces of CORBA_SEQUENCE<T>, we use
TAO_Unbounded_Sequence<CORBA::Octet> for CORBA::OctetSeq and
TAO_Unbounded_Object_Sequence<T> for CORBA::ExceptionList.
* orbsvcs/Naming_Service/Naming_Service.cpp:
* orbsvcs/orbsvcs/Naming/Naming_Utils.h:
* orbsvcs/orbsvcs/Naming/Naming_Utils.cpp:
It is less surprizing to receive arguments as T_ptr than as
T_var&.
Also followed the usual memory managment conventions of CORBA,
i.e. we don't own the parameters we receive, but we do own the
return values or out parameters we obtain.
* orbsvcs/tests/Event_Latency/Event_Latency.h:
* orbsvcs/tests/Event_Latency/Event_Latency.cpp:
Pseudo-objects or objects passed as input parameters must be
duplicated before storing them in a T_var variable.
Tue Apr 14 13:49:51 1998 Aniruddha Gokhale <gokhale@mambo.cs.wustl.edu>
The following changes are untested.
* TAO/tao/skip.cpp: Added a new file that can skip values in the
CDR stream. We need this functionality so that when an Any is
decoded, it will simply hold a pointer to the ACE_Message_Block
(which in turn consists the incoming CDR stream). However, we
still need to skip past the value. This skipping uses the same
interpretive algorithm used by the encoder and decoder.
* TAO/tao/Any.{h, cpp}: Changed the way constructors, assignment
operators, replace method, and destructor worked. The policy is
that if the Any owns the value, then it immediately converts the
value to a CDR stream and destroys the value.
* TAO/tao/CDR.{h, i}: Added some more functionality to do the
basic "skip" operations.
* TAO/tao/Marshal.h: Added the skip methods on all the
TAO_Marshal_* classes.
* TAO/tao/decode.cpp: When we decode an Any, the value pointer now
points to the CDR stream (represented as a ACE_Message_Block). It
is the application's responsibility to use the <<=, >>= operators
to retrieve the right type.
* TAO/tao/Policy{C,S}.{h,i,cpp}: Added these files that have stubs
and skeletons for the CORBA::Policy interface.
* TAO/tao/{ORB, corba}.h: Added definitions for the PolicyType,
Policy, and PolicyList.
Tue Apr 14 12:27:35 1998 Carlos O'Ryan <coryan@cs.wustl.edu>
* tao/decode.cpp:
* tao/encode.cpp:
Use the write_*_array() and read_*_array() when
encoding/decoding arrays or sequences into/from a CDR
stream. Since every request has at least one sequence (the
object key) this is a improvement for all requests.
I was able to measure improvements in the order of 5% to 10% for
IDL_Cubit.
* tests/CDR/growth.cpp:
The correct interface to accumulate measurements in a
ACE_High_Res_Timer is start_incr()/stop_incr().
* tests/Cubit/TAO/IDL_Cubit/client.cpp:
Increased the maximum sequence size to 100, otherwise it is hard
to notice how the sequences affect performance.
* docs/releasenotes/ec.html:
Added an explicit example on how to run the Event_Latency test.
* tao/Exception.cpp:
Fixed indentation.
* orbsvcs/tests/EC_Multiple/EC_Multiple.cpp:
An exception was not "rethrown".
Tue Apr 14 12:23:04 1998 David L. Levine <levine@cs.wustl.edu>
* orbsvcs/orbsvcs/Sched/DynSched.cpp,Strategy_Scheduler.cpp,
tests/Cubit/TAO/MT_Cubit/Task_Client.h:
#include math.h after #including the ACE headers, to avoid a
compile warning on ghs/VxWorks.
* orbsvcs/orbsvcs/Sched/DynSched.cpp (add_dependency): removed
a break statement following a return.
* orbsvcs/orbsvcs/Sched/SchedEntry.h (OS_priority): removed
name qualifier (the class name).
* tests/Param_Test/client.cpp (run_dii_test): removed second
return statement at end.
* tests/Cubit/TAO/MT_Cubit/Task_Client.{h,cpp},client.cpp
(get_latency): cast double latency_ to u_int.
Tue Apr 14 10:23:32 1998 Douglas C. Schmidt <schmidt@tango.cs.wustl.edu>
* tao/ORB_Core.h (TAO_ORB_Core): Moved a bunch of "set" methods
into the public part of the class so that we can set them if
necessary. Also changed the "set" methods so they return the
original pointer, which enables "chaining". Thanks to Brian
Mendel for point this out.
Tue Apr 14 07:16:21 1998 David L. Levine <levine@cs.wustl.edu>
* Makefile: added CONTROLLED_FILES macro. Thanks to Doug
for reporting this.
* INSTALL,Makefile: removed INSTALL from CVS control.
Tue Apr 14 00:51:45 1998 Douglas C. Schmidt <schmidt@cs.wustl.edu>
* TAO version 0.1.14 released.
Sat Apr 11 20:02:32 1998 Douglas C. Schmidt <schmidt@cs.wustl.edu>
* TAO version 0.1.13, released Sat Apr 11 20:02:32 1998.
Sat Apr 11 10:00:09 1998 Michael Kircher <mk1@cs.wustl.edu>
* orbsvcs/tests/Simulator/DOVEBrowser/DOVEBrowser.java:
modified to be used only when the DOVE Browser is running as
an Java Application.
* orbsvcs/tests/Simulator/DOVEBrowser/DOVEBrowserApplet.java:
used when the DOVE Browser is running as an Applet.
* orbsvcs/tests/Simulator/DOVEBrowser/*: minor changes to handle
the afore mentioned changes.
Fri Apr 10 15:11:44 1998 Nanbor Wang <nanbor@cs.wustl.edu>
* tao/GIOP.cpp (message_name): Fixed a missing increment by 1
code. Thanks to Sumedh for noticing the bug.
Fri Apr 10 10:41:04 1998 Carlos O'Ryan <coryan@cs.wustl.edu>
* tests/Param_Test/tmplinst.cpp:
Added a missing template instantiation.
Fri Apr 10 04:38:36 1998 Aniruddha Gokhale <gokhale@mambo.cs.wustl.edu>
* TAO_IDL/be/be_visitor_typedef.cpp: The changes made by me in the
log entry mentioned just below had some flaws. I had sort of
blidly applied it to a case in the "visit_typedef" node of the
be_visitor_typedef_ci class. I was resetting the alias context
before the code generation action was taken as aooposed to doing
it after the action was taken. Thanks to Seth Widoff for sending
the bug report.
Thu Apr 9 21:57:52 1998 Douglas C. Schmidt <schmidt@tango.cs.wustl.edu>
* tao/POAS.cpp: Fixed up the POA to use the new
ACE_Static_Allocator_Base stuff.
* tao/Operation_Table: Added an additional parameter to the
TAO_Dynamic_Hash_OpTable constructor so that we can pass in the
ACE_Static_Allocator_Base. Also, changed the code to use the
base/member initialization section, which is more efficient.
Thu Apr 9 22:53:21 1998 Aniruddha Gokhale <gokhale@mambo.cs.wustl.edu>
* TAO_IDL/be/be_interface.cpp: We now use the
ACE_Static_Allocator_Base to define a static allocator for the
Dynamic Operation Hash Table. Using this approach will finally
solve the seg faults in the static destructors.
* TAO_IDL/be/{be_visitor_args, be_visitor_array, be_visitor_field,
be_visitor_exception, be_visitor_operation, be_visitor_typedef,
be_visitor_union, be_visitor_union_branch}.cpp: The visit_typedef
operation on all the classes in these files was setting the
TAO_Visitor_Context's alias state to the typedef node being
visited. However, we were not resetting this context alias state
after the action has been taken. This broke code for a scenario
shown in a dummy IDL below:
typedef X Y;
struct foo { ... };
struct bar {
Y y_field;
long long_field;
};
In the code generation for the struct "bar" (for that matter for
unions, exceptions, sequences, and others), when we are generating
the code for the field whose type is "Y", we set the alias
context, it gets set to Y and we use its primitive type which is X
to do the "accept". However, we do not reset the alias context. As
a result, when we are generating the code for the long_field, the
alias context is still "Y" which leads our IDL compiler to
generate code that says "Y long_field;" rather than "long
long_field;". This is now fixed.
Thu Apr 9 20:15:41 1998 Nagarajan Surendran <naga@tango.cs.wustl.edu>
* orbsvcs/Naming_Service/Naming_Service.cpp (init): Added code to
recognize the -o option to output the Naming Service ior to a file
to avoid setting the NameService env. variable when multiple
naming services are running.
* orbsvcs/orbsvcs/Naming/Naming_Utils.cpp: Added a
naming_service_ior () method to return the ior of the Naming
Service.
Thu Apr 9 19:25:44 1998 Michael Kircher <mk1@cs.wustl.edu>
* orbsvcs/tests/Simulator/DOVEBrowser/PushConsumer.java,
orbsvcs/tests/Simulator/DOVEMIB/DOVEMIB.cpp.
orbsvcs/tests/Simulator/Event_Supplier/Event_Sup.cpp:
Had to conform to the new RtecScheduler.set ( ..) method,
some parameters were added.
* docs/releasenotes/index.html: Enhanced description of the DOVE
Thu Apr 9 10:07:34 1998 Carlos O'Ryan <coryan@cs.wustl.edu>
* orbsvcs/orbsvcs/Time_Utilities.i:
Fixed warnings in convertion from 64 bit ints to 32 bit
ints. This is a classical example of a "good" cast, we know the
numbers will be in range (unless something *really* bad happens,
like), so the conversion will work.
Wed Apr 08 10:02:16 1998 David L. Levine <levine@cs.wustl.edu>
* bin/make_release: added this script that creates ACE and/or
TAO releases.
* Makefile: added support for make_release. See comments at
the top of the Makefile. The old release mechanism has
been retained; to use it: make release-old.
* tao/ORB.cpp (ORB_init): added missing __FILE__ to printout.
Thanks to Tom Brusehaver <tgb@cozy.netco.com> for reporting
this.
* orbsvcs/Runtime_Scheduler.{h,i},
orbsvcs/orbsvcs/Config_Scheduler.{h,i} (set):
removed const from Criticality and Info_Type arguments. Thanks
to Doug and Irfan for reporting this.
Wed Apr 08 07:41:53 1998 Brian Mendel <brian.r.mendel@boeing.com>
* tao/{default.bld, tao.bld}: Updated VxWorks GHS Build files.
* orbsvcs/default.bld,
orbsvcs/orbsvcs/orbsvcs.bld,
orbsvcs/Event_Service/Event_Service.bld,
orbsvcs/Scheduling_Service/Scheduling_Service.bld,
orbsvcs/Naming_Service/Naming_Service.bld,
orbsvcs/Dump_Schedule/Dump_Schedule.bld:
Updated VxWorks GHS Build files.
* tests/Cubit/TAO/IDL_Cubit/{default.bld,IDL_Cubit.bld}:
Updated VxWorks GHS Build files.
Wed Apr 08 00:31:08 1998 Irfan Pyarali <irfan@cs.wustl.edu>
* tao/ORB_Core.cpp (init): If the host is not supplied by the
user, we will go ahead and call ACE_OS::hostname immediately.
This will help later down the road, since ACE_OS::hostname will
not have to be called each time an IIOP_Profile is created.
* tao/IIOP_Object.cpp (set): Changed the calls to get_host_addr()
to get_host_name(). The name is more readable than the IP
address.
* tao/ORB_Core.cpp (init): If the user explicitly specifies
-ORBport 0, we choose a port and start listening. This will
make sure that all IORs produced will be correct. If -ORBport 0
is not specified, lazy listening is done as usual (on
orb->run()).
Tue Apr 7 18:25:09 1998 Michael Kircher <mk1@cs.wustl.edu>
* tests/Quoter/quoter.idl: Extended the interface by a Factory
Finder.
* tests/Quoter/QuoterFactoryFinder.{cpp,h}: Server and
Implementation of the Factory Finder.
Tue Apr 7 16:22:09 1998 Carlos O'Ryan <coryan@cs.wustl.edu>
* TAO_IDL/util/utl_global.cpp:
Changed a buffer size from MAXNAMELEN to MAXPATHLEN, the former
is very small in some systems, plus the fact is that a fullpath
can be use in that buffer, so MAXPATHLEN is the right constant.
Tue Apr 07 10:55:53 1998 David L. Levine <levine@cs.wustl.edu>
* orbsvcs/tests/Simulator/ss: generate port numbers based on
uid, and set TAO_ROOT (based on ACE_ROOT) if it's not set.
This utility should be moved, maybe up two directories?
* orbsvcs/orbsvcs/{Makefile,RtecScheduler.idl,Runtime_Scheduler.*,
Scheduler_Factor.*},
orbsvcs/orbsvcs/Event/Dispatching_Modules.cpp,Event_Channel.cpp,
ReactorTask.cpp,
orbsvcs/orbsvcs/Sched/Config_Scheduler.{h,cpp},DynSched.*,
SchedEntry.*,Scheduler.cpp,Strategy_Scheduler.{h,cpp},
orbsvcs/tests/EC_Multiple/EC_Multiple.cpp,
orbsvcs/tests/Event_Latency/Event_Latency.cpp:
merged DynSched into liborbsvcs.
* orbsvcs/tests/Sched/Makefile: added.
* orbsvcs/tests/Sched/DynSched_Test.cpp: builds on Suns. And
runs!
Mon Apr 6 14:43:13 1998 Carlos O'Ryan <coryan@cs.wustl.edu>
* tao/Connect.cpp:
The process would crash if it was unable to resolve an address
to a name, even though it was only used in a debugging
message. Thanks to Keith Nicewarner <knicewar@sanders.com> for
pointing out this.
Mon Apr 06 09:59:22 1998 David L. Levine <levine@cs.wustl.edu>
* tests/Thruput/tao/utils.cpp: hacked so that it will compile
on VxWorks and Chorus. It won't run properly, though. The
file should be updated to use ACE_Profile_Timer instead of
using rusage directly.
* TAO_IDL/Makefile: moved include of rules.local.GNU to after
include of rules.bin.GNU. Without this change, tao_idl doesn't
get build on LynxOS.
* TAO_IDL/driver/drv_preproc.cpp (DRV_pre_proc): ACE_OS::mktemp ()
instead of mktemp ().
Sun Apr 05 18:05:26 1998 Michael Kircher <mk1@cs.wustl.edu>
* orbsvcs/tests/Simulator/DOVEBrowser/{ DOVEBrowser.java,
DemoCore.java, PushConsumerFactory.java }:
The Browser accepts now the parameter -ORBnameserviceior.
Sun Apr 05 10:04:57 1998 David L. Levine <levine@cs.wustl.edu>
* tao/Makefile: don't regenerate files using TAO's IDL compiler.
Instead, always use what's in our CVS repository, or in the TAO
distribution.
* tao/Makefile: use fakesvcconf = 1 if shared_libs is not defined,
instead of if CROSS-COMPILE is not defined.
Sat Apr 04 21:25:43 1998 Douglas C. Schmidt <schmidt@cs.wustl.edu>
* TAO version 0.1.12, released Sat Apr 04 21:25:43 1998.
Sat Apr 4 17:43:08 1998 Douglas C. Schmidt <schmidt@tango.cs.wustl.edu>
* tao/Operation_Table.cpp: Removed the call to hash_.close() since
the Hash_Map_Manager destructor handles this already.
Sat Apr 4 15:50:29 1998 Aniruddha Gokhale <gokhale@mambo.cs.wustl.edu>
* TAO_IDL/be/be_visitor_sequence.cpp,
TAO_IDL/be_include/be_visitor_sequence.h: Added a case to
support sequence of exceptions.
Sat Apr 04 07:45:33 1998 David L. Levine <levine@cs.wustl.edu>
* tao/ORB.h: don't use u_longlong_t on Suns if
ACE_LACKS_U_LONGLONG_T is defined.
* tests/Cubit/TAO/MT_Cubit/client.cpp (do_priority_inversion_test):
moved declaration of loop index "i" out of two for loops, and
declared as u_int instead of int to prevent signed/unsigned
comparison.
Sat Apr 4 04:26:49 1998 Aniruddha Gokhale <gokhale@mambo.cs.wustl.edu>
* TAO_IDL/be/be_visitor_interface_fwd.cpp: We were not checking if
the node was imported. Due to this, code was getting generated for
forward declared interfaces from "#include"d IDL files.
* TAO_IDL/be/be_visitor_sequence.cpp: We were not calling
"nested_type_name" while generating the return type of the
operator [] in the sequence var class. As a result, a fully scoped
name was getting generated instead of a relative scoped name which
the MSVC++ compiler does not like.
* TAO_IDL/be/be_visitor_exception.cpp: For "typedefed" nodes, we
were using their base types to generate the code. This is fixed.
In addition, some files from the above and others were modified to
correct some formatting problems in the generated code.
Sat Apr 4 00:24:01 1998 Douglas C. Schmidt <schmidt@tango.cs.wustl.edu>
* tests/Cubit/TAO/MT_Cubit/client.cpp: Fixed a typo where
"i" was being defined twice in the same block of code.
Fri Apr 3 18:40:49 1998 Sergio Flores <sergio@polka.cs.wustl.edu>
* tests/Cubit/TAO/MT_Cubit/client.cpp:
* tests/Cubit/TAO/MT_Cubit/server.cpp:
* tests/Cubit/TAO/MT_Cubit/Task_Client.h:
* tests/Cubit/TAO/MT_Cubit/Task_Client.cpp: Minor changes for
Chorus. Cleanup code.
Fri Apr 3 18:39:21 1998 Steve Huston <shuston@riverace.com>
* tests/POA/On_Demand_Activation/Makefile: Changed LSRC to SRC to
match today's changes to ACE's rules.bin.GNU.
Fri Apr 3 17:43:07 1998 Carlos O'Ryan <coryan@cs.wustl.edu>
* tao/CDR.h:
* tao/orbconf.h:
* tao/CDR.cpp:
Added configuration macros to enable swap on write, and to
disable swap on read.
Also increased the default size of a CDR buffer.
* tests/CDR/Makefile:
* tests/CDR/growth.cpp:
Added another simple test of the CDR buffer, this one tries to
measure performance.
Fri Apr 3 17:15:22 1998 Steve Huston <shuston@riverace.com>
* TAO_IDL/Makefile: The sources that go into the compiler are
listed in SRC, not LSRC. This matches a change in ACE's
include/makeinclude/rules.bin.GNU.
Fri Apr 3 17:07:18 1998 Sergio Flores <sergio@polka.cs.wustl.edu>
* tao/TAO_Internal.cpp (FAKE_SVC_ENTRY):
* tao/orbconf.h: Made minor changes to have the fake service
configurator receive its values through macros, instead of
changing the ".cpp" file. Seems cleaner this way.
Fri Apr 3 15:35:39 1998 Alexander Babu Arulanthu <alex@merengue.cs.wustl.edu>
* orbsvcs/tests/AVStreams/client.h, client.cpp: All PropertySet
methods and the Iterator class methods tested.
Fri Apr 3 08:59:16 1998 Carlos O'Ryan <coryan@cs.wustl.edu>
* tao/CDR.cpp:
Null strings are transmitted as empty strings.
Fixed
* tao/IIOP_ORB.cpp:
Ensure that CDR buffer created from the IOR string is properly
aligned.
* tao/Server_Request.cpp:
More checking for exceptions while decoding parameters and we
print an error message if decoding fails.
* tao/Typecode.cpp:
Only the first byte of the encapsulation stores the byte order,
the next three bytes are ignored because the <kind> is stored as
a long.
* tao/decode.cpp:
Removed dead code, improve error message when decoding object
references and fix an off by one error in ObjRef::decode.
* tao/encode.cpp:
When encoding Object References an encapsulated stream is
created in place, I debugged the computation of the length for
that stream and left some debug messages commented out.
The support for encoding null strings and wstrings as empty
strings is in the CDR classes, no need to duplicate the effort
here.
* tao/Connect.cpp:
Cosmetic changes.
Fri Apr 03 09:01:00 1998 David L. Levine <levine@cs.wustl.edu>
* tests/Cubit/TAO/MT_Cubit/server.cpp (start_servants):
changed local "ior_file" to "ior_f" because it shadowed
the global and caused compile failure with g++.
* tests/Cubit/TAO/MT_Cubit/server.cpp (start_servants):
check return values of activate calls.
* tests/Cubit/TAO/MT_Cubit/Task_Client.cpp (run_tests):
added default case to switch statement.
* tao/Sequence*.{i,cpp}: use ACE_CAST_CONST instead of const
in reinterpret casts, to keep all compilers happy.
Thu Apr 02 15:49:16 1998 Nanbor Wang <nanbor@cs.wustl.edu>
* tao/tests/Cubit/TAO/MT_Cubit/client.dsp:
* tao/tests/Cubit/TAO/MT_Cubit/server.dsp: Updated project file.
* tao/ORB_Core.{h,i,cpp} (create_and_set_root_poa): Added this
private method to create and set the root poa of the calling
ORB_Core.
(root_poa): Make sure this function will always return a valid
poa pointer (thru the use of create_and_set_root_poa above.)
* tao/ORB.cpp (resolve_poa): Moved the creation of poa into
ORB_Core.
Wed Apr 1 23:39:04 1998 Sergio Flores <sergio@flamenco.cs.wustl.edu>
* tests/Cubit/TAO/MT_Cubit/Task_Client.cpp:
* tests/Cubit/TAO/MT_Cubit/Task_Client.h:
* tests/Cubit/TAO/MT_Cubit/Util_Thread.cpp:
* tests/Cubit/TAO/MT_Cubit/Util_Thread.h:
* tests/Cubit/TAO/MT_Cubit/client.cpp:
* tests/Cubit/TAO/MT_Cubit/server.cpp:
* tests/Cubit/TAO/MT_Cubit/server.h: Fixed some bugs and added
some comments.
Wed Apr 01 22:37:59 1998 Irfan Pyarali <irfan@cs.wustl.edu>
* tests/POA/Default_Servant/client.cpp: Fixed options parsing.
* tao/Servant_Base.h: Added TAO_Export to
TAO_DynamicImplementation.
Wed Apr 1 17:33:04 1998 Douglas C. Schmidt <schmidt@tango.cs.wustl.edu>
* tests/Cubit/TAO/MT_Cubit: Cleaned up the formatting of the code
to conform to the TAO programming style.
Wed Apr 1 11:07:53 1998 Michael Kircher <mk1@cs.wustl.edu>
* orbsvcs/tests/Simulator/DOVEBrowser/VisCompFactory.java:
Implemented a Factory pattern to generate the Visualization
Components and the Java class loader is now used to instantiate
the JavaBeans Visualization Components.
* orbsvcs/tests/Simulator/DOVEBrowser, DOVEMIB and Event Supplier
are running under NT properly.
Wed Apr 01 09:44:31 1998 Nanbor Wang <nanbor@cs.wustl.edu>
* tao/ORB_Core.cpp (init,fini): Removed calls to
ACE_OS::socket_init and ACE_OS::socket_fini because they are
taken care of by ACE already.
Wed Apr 1 09:46:53 1998 Aniruddha Gokhale <gokhale@mambo.cs.wustl.edu>
The following fix was also made by Carlos simultaneously. Here is
the reason what was going wrong.
* tao/IIOP_Interpreter.cpp: In calc_nested_size_alignment_i, there
was a bug in which we were initializing the CDR stream for
nested parameters with an incorrect size. This was due to the
fact that we were computing the byte order outside and then
initializing the stream with 4 less bytes. However, the
constructor of the TAO_InputCDR was also computing the byteorder
using wrong locations in the bytestream. This is now fixed.
* tests/Param_Test: Added barebones implementation to test
Anys. This is still not complete because we still have to work
on getting Anys in TAO to work correctly and get rid of the
memory management problems we are having.
Wed Apr 1 09:41:07 1998 Carlos O'Ryan <coryan@cs.wustl.edu>
* tao/IIOP_Interpreter.cpp (calc_nested_size_and_alignment_i):
Fixed nested strem interpretation.
Wed Apr 1 08:56:24 1998 Douglas C. Schmidt <schmidt@tango.cs.wustl.edu>
* tao: Renamed ResultFromScode to TAO_ResultFromScode to avoid
clashes with MFC functions. Thanks to David Janello
<djanello@cccis.com> for reporting this.
Tue Mar 31 21:01:30 1998 Nanbor Wang <nanbor@cs.wustl.edu>
* orbsvcs/orbsvcs/Naming/Naming_Utils.cpp (init): Fixed a typo.
Tue Mar 31 20:18:36 1998 Nagarajan Surendran <naga@tango.cs.wustl.edu>
* orbsvcs/orbsvcs/Naming/Naming_Utils.cpp (TAO_Naming_Server):
Added code to remove the IOR_Multicase event handler in the destructor.
Tue Mar 31 19:50:48 1998 Nagarajan Surendran <naga@tango.cs.wustl.edu>
* tests/Cubit/TAO/IDL_Cubit/server.cpp (Cubit_Server): Removed the
naming service unbind code from the destructor as the naming
server is a component and not an external server. Also they will
be destructed when the ~Cubit_Server is called.
Tue Mar 31 19:30:03 1998 Nagarajan Surendran <naga@tango.cs.wustl.edu>
* tests/Cubit/TAO/IDL_Cubit/server.cpp (Cubit_Server): Added a
check in the destructor to unbind the cubit_factory from the
naming service.
Tue Mar 31 15:15:53 1998 Carlos O'Ryan <coryan@cs.wustl.edu>
* tao/Sequence.h:
* tao/Sequence.i:
* tao/Sequence_T.h:
* tao/Sequence_T.i:
g++ does not like typedefs inside templates, and we were abusing
them in the sequences.
* tests/CDR/tc.cpp:
Fixed formatting problems.
* tests/Param_Test/tmplinst.cpp:
Added missing template instantiations.
Tue Mar 31 11:10:34 1998 Nanbor Wang <nanbor@cs.wustl.edu>
* tao/ORB.h (String_out): Added the infamous TAO_Export macro.
Tue Mar 31 14:38:29 1998 Douglas C. Schmidt <schmidt@flamenco.cs.wustl.edu>
* tao/Sequence_T.i (replace): Make sure to cast this->buffer_
to (T *) to make compilers like GCC happy!
Tue Mar 31 13:34:36 1998 David L. Levine <levine@cs.wustl.edu>
* tests/Cubit/TAO/MT_Cubit/Task_Client.cpp (svc): dereference
cb_factory with .in ().
* tests/Cubit/TAO/MT_Cubit/server.cpp (start_servants): declare
iorFile outside the conditional statement.
* tests/Cubit/TAO/MT_Cubit/cubit.idl: added comments and RCS Id
string.
* tests/Cubit/TAO/MT_Cubit/{client,server}.cpp: fixed priority
assignments so that they work on all platforms.
* tests/Cubit/TAO/MT_Cubit/Task_Client.h: fixed fabs() to negate
the argument if less than 0.
Tue Mar 31 11:05:23 1998 Carlos O'Ryan <coryan@cs.wustl.edu>
* tao/CDR.h:
* tao/CDR.cpp:
* tao/decode.cpp:
* tao/Typecode.cpp:
Added constructor for encapsulated streams to the TAO_InputCDR
class; this was causing problems on Intel machines.
* TAO_IDL/be/be_helper.cpp:
* TAO_IDL/be/be_codegen.cpp:
We end #if/#endif blocks using C style comments (/* */) as
opposed to C++ style (// )
* tao/Sequence.i:
* tao/Sequence.cpp:
* tao/Sequence_T.i:
* tao/Sequence_T.cpp:
Fixed a lot of const-correctness problems, thanks to J, Russell
Noteworthy <rnosewor@objectsciences.com> for putting me on this
track.
* tests/Param_Test/tmplinst.cpp:
* tests/Param_Test/tests.cpp:
* tests/Param_Test/param_test_i.h:
* tests/Param_Test/param_test_i.cpp:
* tests/Param_Test/param_test.idl:
The test now includes all kind of sequences: of basic types, of
structs, of strings, of objects; both bounded and unbounded.
Unfortunately only compilation is verified, I still have to add
code to verify functionality.
* TAO_IDL/be/be_visitor_sequence.cpp:
Unproper code was generated for bounded sequences of strings.
* tao/IIOP_ORB.cpp:
Added some debug messages to verify that collocation works.
* orbsvcs/tests/EC_Multiple/README:
* orbsvcs/tests/EC_Multiple/EC_Multiple.h:
* orbsvcs/tests/EC_Multiple/EC_Multiple.cpp:
Now that the ORB supports collocation we can create a collocated
EC, but that requires a smarter startup.
It seems that the ECP is not receiving all the messages it
should.
The main purpose of the change was to verify that collocation
works and it seems to do so.
* tao/Connect.cpp:
We set the flag to expect input *before* making the
request. This alleviates (but does not solve) the problems of
using several threads and a global ORB: in such a configuration
it is possible that one thread is running the event loop, but
another makes a request, if the reply is received before the
flag is set the ORB believes it has received an out-of-order
reply and shutdowns the connection.
The real solution is to use the leader-follower model.
* tao/decode.cpp:
* orbsvcs/Event_Service/Event_Service.cpp:
Cosmetic changes.
Mon Mar 30 21:38:32 1998 Nanbor Wang <nanbor@cs.wustl.edu>
* tao/ORB_Core.cpp (fini): Added a call to ACE_OS::socket_fini ().
* tao/IIOP_ORB.cpp (_get_collocated_object): Changed to call
TAO_ORB_Core_instance ()-> root_poa () instead of
this->resolve_poa (). Thanks to Carlos for tracing this down.
Mon Mar 30 17:59:30 1998 Nanbor Wang <nanbor@cs.wustl.edu>
* tao/ORB_Core.i: Only _NOT_ specialize
ACE_Hash_Addr<ACE_INET_Addr> when ACE needs to instantiate
template explicitly and it is not inlined.
Mon Mar 30 13:13:07 1998 Carlos O'Ryan <coryan@cs.wustl.edu>
* tao/Typecode.cpp:
Fixed cast that dropped constness when only reinterpret_cast was
needed; thanks to David Levine (levine@cs.wustl.edu) for
detecting this.
* tao/Server_Request.cpp:
bytes_remaining was called in a debug message (not seen in
Solaris); thanks to Nanbor Wang (nanbor@cs.wustl.edu) for
reporting this.
Mon Mar 30 12:28:02 1998 David L. Levine <levine@cs.wustl.edu>
* tao/ORB_Core.i: only specialize ACE_Hash_Addr<ACE_INET_Addr>
with ACE inlining enabled, to avoid link collision with the
instantiation in Connect.cpp.
* tao/CDR.cpp (TAO_OuputCDR ctors): rearranged initializations
to match declaration order.
* tao/t-sizes.cpp: #include "tao/corba.h" instead of "tao/orb.h".
Mon Mar 30 10:28:05 1998 Carlos O'Ryan <coryan@cs.wustl.edu>
* Implemented new classes to manipulate CDR streams, this classes
separate input (interpretation) and output (creation) of the
streams; in an attempt to make the interface more robust.
The new classes provide methods to write and read strings and
arrays, this is currently used in very few places, but it could
provide a big performance boost.
The change affected the following files:
* TAO/tao/Align.h:
* TAO/tao/CDR.cpp:
* TAO/tao/CDR.h:
* TAO/tao/CDR.i:
* TAO/tao/Connect.cpp:
* TAO/tao/Connect.h:
* TAO/tao/Exception.cpp:
* TAO/tao/GIOP.cpp:
* TAO/tao/GIOP.h:
* TAO/tao/GIOP.i:
* TAO/tao/IIOP_Interpreter.cpp:
* TAO/tao/IIOP_Interpreter.h:
* TAO/tao/IIOP_ORB.cpp:
* TAO/tao/ORB.h:
* TAO/tao/Server_Request.cpp:
* TAO/tao/Server_Request.h:
* TAO/tao/Server_Request.i:
* TAO/tao/Typecode.cpp:
* TAO/tao/Typecode.h:
* TAO/tao/decode.cpp:
* TAO/tao/deep_copy.cpp:
* TAO/tao/deep_free.cpp:
* TAO/tao/encode.cpp:
* TAO/tao/orbconf.h:
* TAO/tao/params.h:
In most cases it was only a matter of changing the class name
and the method invocations.
* tests/Param_Test/options.cpp:
Use CORBA::string_copy instead of ACE::strdup because we delete
the buffer with CORBA::string_free.
* tests/Cubit/TAO/IDL_Cubit/client.cpp:
I limited the size of the sequences, otherwise the test time
grows non-linearly with the number of loops.
* tests/Param_Test/README:
The test can also check string sequences, but the option to do
so (-t strseq) was not documented.
* tests/CDR/basic_types.cpp:
The test is run several times; this is useful when trying to
verify performance.
Sun Mar 29 03:09:17 1998 Nanbor Wang <nanbor@cs.wustl.edu>
* tao/IIOP_ORB.{h,i,cpp}: Added an optimize_collocation_objects_
flag to turn optimization for collocation objects on and off.
* tao/ORB_Core.cpp: Added an initialization argument
-ORBcollocation to make ORB aware of collocation objects or
not. The default is on.
* doc/Options.html: Added documentation for -ORBcollocation.
Fri Mar 27 20:08:24 1998 Nanbor Wang <nanbor@cs.wustl.edu>
* orbsvcs/orbsvcs/Naming/CosNaming_i.cpp (NS_NamingContext):
Changed to get lock from the ORB.
* orbsvcs/orbsvcs/orbsvcs.dsp: Update the source file list.
* tao/ORB.h: Added TAO_Export to class CORBA_ORB_var.
* tao/params.cpp: Removed the extra inclusion of <params.i>.
Fri Mar 27 14:10:34 1998 Steve Huston <shuston@riverace.com>
* TAO_IDL/driver/drv_preproc.cpp: (also see my entry from 09:50)
Removed explicit char * operator call, and use the conversion
as it was before. However, I needed to change the ?: operator to
an if/else for AIX xlC to compile it correctly.
Fri Mar 27 13:38:04 1998 Seth Benjamin Widoff <sbw1@waltz.cs.wustl.edu>
* orbsvcs/IOR_Multicast.{h,cpp}:
* orbsvcs/Makefile:
* orbsvcs/Naming/Naming_Utils.{h,cpp}:
I moved the Ior_Multicast.{h,cpp} files up a directory and changed
the class name to TAO_IOR_Multicast. It didn't logically belong
in the Naming directory, since other bootstrappable services
require it.
Fri Mar 27 11:47:58 1998 David L. Levine <levine@cs.wustl.edu>
* tao/IIOP_ORB.*,IIOP_Object.{h,cpp},Request.{h,cpp},Server_Request.*,
Exception.*,params.*,Connect.*,default_{client,server}.*,corba.h:
#include the .i file in the .h/.cpp files instead of corba.h.
* tests/Demux_Test/client.cpp: #include ace/stream.h instead of
system headers, and use ACE_OS::gethrtime () instead of
gethrtime ().
* orbsvcs/orbsvcs/Event/Reactor_Task.cpp (ACE_ES_Reactor_Task): always
use ACE_OS::gettimeofday (). ACE_High_Res_Timer::gettimeofday ()
now takes an argument, so it's not compatible with what
ACE_Timer_Queue needs. And it didn't seem necessary to have
separate code for VxWorks. And the hrtimer on WIN32 is flakely
on multiple-CPU machines.
* tao/IIOP_ORB.cpp: added ACE_Unbounded_Set_Iterator template
instantiation.
Fri Mar 27 09:50:52 1998 Steve Huston <shuston@riverace.com>
* TAO_IDL/driver/drv_preproc.cpp: Use explicit char * operator on
cpp_path (AIX xlC requires this). Added CVS Id.
* tao/Sequence_T.h: Fully qualify the template type when used as a
function return.
Fri Mar 27 04:45:46 1998 Nanbor Wang <nanbor@cs.wustl.edu>
* tao/ORB.h: Added two pure virtual functions
_register_collocation and _get_collocated_servant to CORBA_ORB
class so the derived classes have their own implementations.
(resolve_poa,resolve_poa_current): Changed these two functions
from private methods to protected methods. I need to access
them from IIOP_ORB.
* tao/IIOP_ORB.{h,cpp} (_register_collocation): Added this new
method to record connection end points an IIOP ORB owns.
(_get_collocated_servant): Added this new method which uses a
passed in STUB_Object to determine whether a requested object is
collocated or not. If it's a collocated object, returns the
servant of that object and we can use that to create a
collocated object reference.
(object_to_string): Added code to register object end point with
IIOP ORB.
(iiop_string_to_object): Added code to check whether a requested
object is collocated or not and return a collocated object if it
fits to do so.
* tao/ORB_Core.cpp (preconnect): Added code to register success
preconnections to IIOP's end point repository.
* tao/decode.cpp (TAO_Marshal_ObjRef::decode): Added code to
optimize against collocation objects.
Thu Mar 27 10:57:02 1998 Michael Kircher <mk1@cs.wustl.edu>
* orbsvcs/tests/Simulator/DOVEMIB: New version of the DOVE
MIB.
* orbsvcs/tests/Simulator/README: Updated.
* docs/releasenotes/index.html: Updated.
Thu Mar 26 21:24:59 1998 David L. Levine <levine@cs.wustl.edu>
* tao/ORB.*,corba.h (CORBA_ORB::shutdown): uninlined, so that
ORB.i can be #included properly.
* tao/CDR.{h,cpp},GIOP.{h,cpp},corba.h: #include the .i file
in the .h/.cpp files instead of corba.h.
* TAO_IDL/fe/y.tab.cpp: wrapped a couple of assignments in
conditionals with parens.
Thu Mar 26 17:28:24 1998 Douglas C. Schmidt <schmidt@cs.wustl.edu>
* TAO version 0.1.11, released Thu Mar 26 17:28:24 1998.
Thu Mar 26 10:07:02 1998 Michael Kircher <mk1@cs.wustl.edu>
* orbsvcs/tests/Simulator/DOVEMIB: Checked in a first draft
of the DOVE Management Information Base (DOVE MIB). A README
will be available with further details.
Thu Mar 26 08:31:02 1998 Aniruddha Gokhale <gokhale@mambo.cs.wustl.edu>
* TAO_IDL/fe/idl.yy: We were setting the name of a sequence (named
sequence) when the code for client header generation was
invoked. However, in cases where we import some definitions, we
never go into the code generation code for that type. As a result,
such imported typedefed (a.k.a named) sequences remained
nameless. So when the time came to emit their name, it resulted in
a segmentation fault.
We fix this by setting the name of the sequence in the parsing
stage itself.
Thanks to Torben Worm (tworm@cs.wustl.edu) for reporting the bug
to me.
Changed files also include y.tab.cpp and y.tab.h
* TAO_IDL/be/be_visitor_sequence.cpp: Minor correction to get the
formatting right.
* TAO_IDL/be/be_decl.cpp: Simplified the logic of converting a
name into a padded long array. The original logic caused problems
on NT/PC because of its "little-endian" nature. This was causing
the repoIDs and names (represented as longs) undergo byte
swapping.
Thu Mar 26 06:29:09 1998 David L. Levine <levine@cs.wustl.edu>
* tao/Marshal.{h,cpp},ORB.*,Object.{h,cpp},corba.h:
#include the .i file in the .h/.cpp files instead of corba.h.
Wed Mar 25 22:55:02 1998 Carlos O'Ryan <coryan@cs.wustl.edu>
* tao/Servant_Base.h:
* tao/Object.cpp:
Collocated objects (even if their dynamic type is simply
CORBA_Object) can use the servant to resolve the _is_a()
calls.
Wed Mar 25 22:06:19 1998 Sumedh Mungee <sumedh@macarena.cs.wustl.edu>
* tao/TAO.cpp: Added accessors for child/root poa.
Wed Mar 25 15:10:48 1998 Aniruddha Gokhale <gokhale@mambo.cs.wustl.edu>
* tao/encode.cpp: In the encoding of exceptions, we were not
encoding its repository ID. This is now fixed.
Wed Mar 25 11:11:47 1998 David L. Levine <levine@cs.wustl.edu>
* tao/ORB.h: use ACE_UINT32 instead of u_char for CORBA_Boolean
with Green Hills on Chorus, to work around a compiler bug.
The bug is revealed with accessing the root_poa, by
TAO/tests/POA/RootPOA/RootPOA.
* tao/ORB.{h,cpp}: changed type of open_called_ and
should_shutdown_ flags from CORBA::Boolean to u_int, because
they're ACE_Atomic_Ops. This allows CORBA::Boolean to be
a typedef of bool. Without this change, bool would be required
to support all of the arithmetic operations that ACE_Atomic_Op
needs, and that's not standard.
* orbsvcs/tests/Logger/{clnt.cpp,logger_i.*,svr.cpp},
orbsvcs/orbsvcs/Naming/{Ior_Multicast.cpp,Naming_Utils.cpp},
tests/Thruput/TAO/server.cpp:
removed unnecessary #include of ace/streams.h.
* tao/Makefile,tests/Cubit/TAO/IDL_Cubit/Makefile,
tests/NestedUpcall/Makefile:
removed CPPFLAGS, LDFLAGS, and DCFLAGS because they duplicated
what's already in taoconfig.mk or platform_macros.GNU.
Wed Mar 25 09:08:44 1998 Torben Worm <tworm@cumbia.cs.wustl.edu>
* docs/releasenotes/index.html: Added comment to the concurrency
control service section. The implementation of the concurrency
control service is discontinued due to unclear specs.
Wed Mar 25 02:36:06 1998 Nanbor Wang <nanbor@cs.wustl.edu>
* tests/NestedUpcall/server.cpp: Renamed tao_util.h to TAO.h.
Tue Mar 24 19:13:35 1998 Aniruddha Gokhale <gokhale@mambo.cs.wustl.edu>
* tao/Server_Request.cpp: There was a lot of messy code on the
outgoing path from skeleton to the wire. Specifically, we were
mixing system exceptions with user defined exceptions. This has
been fixed and is under testing.
* TAO_IDL/be/{be_visitor_exception, be_exception}.cpp: The generated
typecode for Exceptions erroneously had a "tk_struct" TypeCode
kind. This has been fixed to be "tk_except".
* TAO_IDL/be/be_visitor_operation.cpp: Handling of oneway operations
in the server skeletons was buggy. It is now fixed.
* TAO_IDL/be/be_predefined_type.cpp: TypeCodes for pseudo objects
were not getting properly generated. This is now fixed.
Tue Mar 24 14:51:33 1998 Nanbor Wang <nanbor@cs.wustl.edu>
* TAO_IDL/be/be_interface.cpp (gen_server_skeletons): Changed
op_name() to operation ().
* TAO_IDL/be/be_visitor_operation.cpp (visit_operation): Added a
return statement.
* tao/IIOP_Object.cpp: Initialze
TAO_Synchronous_Cancellation_Required::old_type_.
Tue Mar 24 14:07:08 1998 Aniruddha Gokhale <gokhale@mambo.cs.wustl.edu>
* tao/Server_Request.{h, i, cpp}: Made the class compliant with
the latest CORBA v2.2. Added some extensions. There were some
subtle bugs related to user defined exceptions that were not being
reported back to the caller. Modified the constructor to take a
GIOP_RequestHeader as a parameter.
* tao/IIOP_Interpreter.{h, cpp}: Removed the "struct_traverse" and
"union_traverse" methods as they were no longer used.
* tao/Typecode.{h, cpp}: Removed the original interpreter
"traverse" as it is no longer used since its logic is included in
the different encode and decode methods.
* tao/POA.cpp: changed the usage of "op_name" to "operation" since
that is the correct method name of the ServerRequest class
according to the CORBA v2.2 spec.
* tao/POAS.cpp: Massive changes made to use the new style of
skeleton code that the IDL compiler generates
* tao/{Servant_Base, Operation_Table}.{h, cpp}: The "_find" and
"_bind" operations now take a "const char *opname" rather than
"CORBA::String &opname".
* tao/Connect.cpp: Server_Request creation now uses the modified
constructor.
* TAO_IDL/be/{be_visitor_operation, be_interpretive}.cpp: Added
another visitor that generates the exceptionlist for the client
stub.
* TAO_IDL/be/be_visitor_interface.cpp: Change in generated code to
use the "operation" method on class Server_Request rather than the
non-compliant "op_name".
* TAO_IDL/be/be_visitor_sequence.cpp: Minor correction to get some
formatting in generated code correct.
* TAO_IDL/be_include/be_codegen.h: Added a state for exception
list generation
* TAO_IDL/be_include/be_visitor_operation.h: Added a new visitor
for exception list generation.
Tue Mar 24 11:01:33 1998 Nanbor Wang <nanbor@cs.wustl.edu>
* tao/TAO.dsp: Added Stub.cpp into the project.
Tue Mar 24 07:29:20 1998 David L. Levine <levine@cs.wustl.edu>
* tao/Makefile,Any.{h,cpp},NVList.*,ORB.h,ORB_Core.{h,cpp},
Stub.{h,i,cpp},Typecode.{h,cpp},corba.h:
#include the .i file in the .h/.cpp file instead of corba.h
* tao/ORB.cpp (wscpy): removed, because we now use ACE_OS::wscpy ()
instead.
Mon Mar 23 19:44:11 1998 Irfan Pyarali <irfan@cs.wustl.edu>
* tao/ORB: CORBA_ORB no longer inherits from IUnknown.
* tao/IIOP_Object.cpp (set): A valid key must be provided, else
the function will fail. Also removed all cases where the key
was given a default value (of "0").
* tao/IIOP_ORB.cpp (QueryInterface): Removed this method.
Mon Mar 23 13:20:12 1998 Michael Kircher <mk1@cs.wustl.edu>
* orbsvcs/tests/Simulator/DOVEBrowser/WeaponsVisComp.java:
Found some uninitialized variables and fixed the problem.
This component should now be more stable.
Mon Mar 23 10:42:12 1998 Chris Gill <cdgill@cs.wustl.edu>
* orbsvcs/orbsvcs/Sched/DynSched.{cpp,h,i}
orbsvcs/orbsvcs/Sched/SchedEntry.{cpp,h,i}
orbsvcs/orbsvcs/Sched/Strategy_Scheduler.{cpp,h,i}
Merged in the final round of timeline fixes from the
files in the old scheduler directory into the ones
in the new directory.
* orbsvcs/tests/Sched/DynSched_Test.cpp
Added directory orbsvcs/tests/Sched and checked in a
copy of DynSched_Test.cpp, the file used to test the
offline behavior of the dynamic scheduler locally.
This file will serve as the basis of a real TAO test
for the on and off line behaviors of the dynamic
scheduler when it is fully integrated into TAO.
Mon Mar 23 09:18:12 1998 David L. Levine <levine@cs.wustl.edu>
* orbsvcs/Dump_Schedule/Makefile,orbsvcs/Event_Service/Makefile,
orbsvcs/Scheduling_Service/Makefile,
orbsvcs/tests/Event_Latency/Makefile,
orbsvcs/tests/EC_Multiple:
replaced orbsvcs/orbsvcs/orbsvcs with orbsvcs/orbsvcs in some
dependencies.
* tao/ORB.{h,cpp},tao/POA.cpp,tao/encode.cpp,
TAO_IDL/ast/ast_generator.cpp,TAO_IDL/be/be_generator.cpp:
migrated to ACE_OS::WChar. That has a size of 32 bits.
Thanks to Irfan for this recommendation.
* tao/ORB.cpp (wstring_copy): changed null check at beginning
from "if (*str)" to "if (!str)".
* tao/Sequence_T.cpp (allocbuf): added missing ; at end of
ACE_NEW_RETURN statement.
* TAO_IDL/fe/Makefile,lex.yy.cpp,lex.yy.cpp.diff: replaced
#includes of standard headers with #include of OS.h so that
ace/config.h is #included first. The allows config.h to
#defined _REENTRANT before stdio.h is #included, for example.
* tao/Makefile: marked Object_KeyC.* and POA[SC].* files as
.PRECIOUS so that gmake avoids deleting them. Thanks to
Chris Cleeland for this suggestion.
Mon Mar 23 03:20:47 1998 Douglas C. Schmidt <schmidt@cs.wustl.edu>
* TAO version 0.1.10, released Mon Mar 23 03:20:47 1998.
Mon Mar 23 01:19:19 1998 Irfan Pyarali <irfan@cs.wustl.edu>
* tao/ORB_Core.cpp (init): It is ok not to have a svc.conf file,
therefore check should be:
if (result != 0 && errno != ENOENT)
Mon Mar 23 01:17:18 1998 Douglas C. Schmidt <schmidt@flamenco.cs.wustl.edu>
* tao/corba.h: Moved Request.i up a notch in the corba.h file so
that it will be defined correctly! This obviates the need for
Nanbor's fix below!
Sun Mar 22 23:19:42 1998 Nanbor Wang <nanbor@cs.wustl.edu>
* tao/Request.cpp: Include Request.i conditionally.
* tao/Object.h: Added macro TAO_Export to class CORBA_Object_var
and class CORBA_Object_ptr.
Sun Mar 22 21:54:57 1998 Douglas C. Schmidt <schmidt@flamenco.cs.wustl.edu>
* TAO_IDL/be/be_interface: Made full_coll_name() a NON-const
method to work around a bug with GCC...
* TAO/tao: Moved a bunch of inline methods from *.i files into
*.cpp files to avoid warnings from G++. I don't know why it
complains but not inlining this code shouldn't matter unless we
find that these functions get called a lot via profiling...
Thanks to David Levine for pointing this out.
Sun Mar 22 14:04:31 1998 Nanbor Wang <nanbor@cs.wustl.edu>
* tao/tao.{dsp,dsw}: Updated Project files.
* tao/Exception.{i,cpp}: Conditionally include its inline file.
Added codes for copy ctor and assignment operator for
CORBA_UserException and CORBA_SystemException.
Sun Mar 22 13:05:15 1998 Aniruddha Gokhale <gokhale@mambo.cs.wustl.edu>
* tao: Added comments, made some modifications, and refined some
class definitions. Changes were made to a large number of files.
Sun Mar 22 08:00:08 1998 Douglas C. Schmidt <schmidt@tango.cs.wustl.edu>
* Naming_Service.h: Renamed tao_util.h to TAO.h.
* tao: Removed the CORBA_Cls.* files (since they conflict with the
overall naming scheme) and merged them into the ORB.h class.
Sun Mar 22 03:52:39 1998 Sergio Flores <sergio@lambada.cs.wustl.edu>
* tao/TAO_Internal.cpp (open_services): "this" may only be used
inside a nonstatic member function.
Sun Mar 22 02:58:29 1998 Nanbor Wang <nanbor@cs.wustl.edu>
* tao/Makefile:
* tao/corba.h:
* tao/CORBA_Cls.{h,i,cpp}: Rename CORBA.{h,i,cpp} to
CORBA_Cls.{h,i,cpp} because NT doesn't like the coexistance of
corba.h and CORBA.h.
Sun Mar 22 02:39:54 1998 Sergio Flores <sergio@lambada.cs.wustl.edu>
* tao/CORBA.cpp (ORB_init): made change to check for the return
value when initializing the ORB Core instance. Also, changed the
TAO_Marshal::initialize() to be called before the initialization
of standard exceptions, where we need the marshal factory for CDR
streams.
* tao/ORB_Core.cpp (TAO_ORB_Core::init): made change to check for
the return value when initializing service configurator.
* tao/ORB_Core.cpp (TAO_Resource_Factory::parse_args): changes to
correctly parse the options for "-ORBresources" and "-ORBpoa"
Sun Mar 22 01:52:01 1998 Douglas C. Schmidt <schmidt@tango.cs.wustl.edu>
* tao/CORBA.cpp: Moved TAO_Exceptions::init_standard_exceptions()
to the beginning of ORB_init() so that we can use exceptions
later within that function. Thanks to Sergio for reporting
this.
Sat Mar 21 11:00:40 1998 Douglas C. Schmidt <schmidt@flamenco.cs.wustl.edu>
* tao: Renamed a bunch of files so that the names and
capitalization matches precisely.
* tao/Request.i: Created this file and moved a bunch of inline
methods into here.
* tao: Renamed the corbacom.* files (since we don't support COM
anyhow) into CORBA.h and the new CORBA.i and CORBA.cpp files.
* tao/corbacom.h: Moved the CORBA_SEQUENCE stuff back into the
header file since it wasn't linking correctly...
* tao/TAO_IDL: Changed all uses of do_call() to do_static_call().
* tao: Made lots of minor enhancements to formatting and style.
* tao: Removed the invoke.cpp file and moved its functionality
back into iiopobj.cpp, where it belongs.
* tao/sequence_T.i (replace): Added a cast to (T *) so compilers
wouldn't complain! Thanks to Sergio for pointing this out.
* tao: Renamed IIOP_Object::do_call() to
IIOP_Object::do_static_call() to be symmetrical with
do_dynamic_call()...
* tao/typecode.cpp: Due to the new reorganization of the code in
interp.cpp we're now able to put all the CORBA_TypeCode methods
back into typecode.cpp, where they belong...
* tao: Added a new interp.h file and moved the TypeCode table
intialization function into that file.
* tao/orbobj.cpp: Removed the friggin' global functions
extern void __TC_init_table (void);
extern void __TC_init_standard_exceptions (CORBA::Environment &env);
and put them inside of classes, where they belong...
* tao/corbacom.cpp: Moved CORBA::ORB_init() from orbobj.cpp
(what was it doing there) to corbacom.cpp, which is where it
belongs!
* tao/giop.cpp: Moved the TAO_GIOP_MsgType enum into the TAO_GIOP
class namespace and renamed all the enums accordingly.
* tao/except.cpp: Added except.i file to split off inlines into
their own file.
* tao/sequence_T.i (replace): Fixed some typos in the template
code. Thanks to Ben Eng <ben@jetpen.com> for reporting these.
Sat Mar 21 20:34:39 1998 Sergio Flores <sergio@lambada.cs.wustl.edu>
* tao/connect.cpp (open): fixed a bug due to wrong parens
location.
* tests/Cubit/TAO/MT_Cubit/server.cpp:
* tests/Cubit/TAO/MT_Cubit/Util_Thread.cpp:
* tests/Cubit/TAO/MT_Cubit/Task_Client.h:
* tests/Cubit/TAO/MT_Cubit/Task_Client.cpp: added option to
disable use of the name service. hacked the code for platforms
that don't support floating point math. Added Quantify start/stop
primitives around CORBA calls.
Sat Mar 21 17:55:40 1998 Michael Kircher <mk1@cs.wustl.edu>
* orbsvcs/test/Simulator/NavWeap.idl: removed typo
* orbsvcs/test/Simulator/DOVEBrowser: New Demo using Java Beans
as visualization components added. This will replace the old
demo under orbsvcs/test/Simulator/Sim_Display. See the readme
file under orbsvcs/test/Simulator for further details.
Fri Mar 20 23:25:28 1998 Seth Benjamin Widoff <sbw1@waltz.cs.wustl.edu>
* orbsvcs/tests/Trading_Service/Makefile:
* orbsvcs/tests/Trading_Service/export_tests.cpp:
* orbsvcs/tests/Trading_Service/import_tests.cpp:
* orbsvcs/tests/Trading_Service/Offer_Exporter.{h,cpp}:
* orbsvcs/tests/Trading_Service/Offer_Importer.{h,cpp}:
* orbsvcs/tests/Trading_Service/Service_Type_Exporter.{h,cpp}:
* orbsvcs/tests/Trading_Service/TT_Info.{h,cpp}:
* orbsvcs/tests/Trading_Service/TTest.idl:
I've added the rough draft of tests that pound the Trading Service
with a variety of method invocations.
* orbsvcs/Trading_Service/trader.cpp:
* orbsvcs/Trading_Service/Makefile:
The trader now responds to resolve_intial_references multicast
requests with the IOR of its Lookup interface, as per the
specification.
Fri Mar 20 21:48:47 1998 Douglas C. Schmidt <schmidt@cs.wustl.edu>
* TAO version 0.1.9, released Fri Mar 20 21:48:47 1998.
Fri Mar 20 19:46:43 1998 Douglas C. Schmidt <schmidt@flamenco.cs.wustl.edu>
* tao/sequence_T: Added the full complement of get_buffer(),
replace(), and release() calls to TAO's sequences.
* docs/releasenotes/index.html (href): Reformatted the DOVE
demo section of the release notes a bit.
Thu Mar 20 17:05:42 1998 Michael Kircher <mk1@cs.wustl.edu>
* $TAO_ROOT/docs/releasenotes/index.html:
Documentation about the DOVE demo
Fri Mar 20 16:21:28 1998 Irfan Pyarali <irfan@cs.wustl.edu>
* tests/POA/Generic_Servant/MyFooServant.h: No need to include
generic_servant_export.h.
* tests/POA/Generic_Servant/Makefile: Added flags to the idl
compiler so that the server library can be made as a dynamic
library.
Thu Mar 20 16:12:42 1998 Michael Kircher <mk1@cs.wustl.edu>
* $TAO_ROOT/orbsvcs/tests/Simulator/Event_Supplier:
New Project and Workspace files for NT
Fri Mar 20 11:53:15 1998 Nanbor Wang <nanbor@cs.wustl.edu>
* tests/NestedUpcall/client.cpp: Use EventHandler_vare.in() to
pass in a pointer. Added explicit template instantiation
codes.
Fri Mar 20 09:46:50 1998 Carlos O'Ryan <coryan@cs.wustl.edu>
* orbsvcs/orbsvcs/Event/Memory_Pools.h:
* orbsvcs/orbsvcs/Event/Memory_Pools.cpp:
Locks are needed for the memory pool singletons; thanks to
Thomas Venturella <tventurell@mdc.com> for detecting this.
Fri Mar 20 09:26:28 1998 David L. Levine <levine@cs.wustl.edu>
* tests/POA/Generic_Servant/MyFooServant.h: added
#include "generic_servant_export.h".
* tao/corbacom.{h,cpp},tao/encode.cpp,tao/poa.cpp,
TAO_IDL/ast/ast_generator.cpp,TAO_IDL/be/be_generator.cpp:
changed CORBA::WChar from platform-dependent type to ACE_UINT16.
This may require casts in application code, if they use
a native wchar_t, from wchar_t to CORBA::WChar.
Fri Mar 20 02:47:22 1998 Nanbor Wang <nanbor@cs.wustl.edu>
* tao/default_server.cpp
(create_servant_lock,create_poa_lock,create_poa_mgr_lock):
Don't return 0 but an ACE_Null_Mutex as default.
Fri Mar 20 00:36:16 1998 Irfan Pyarali <irfan@cs.wustl.edu>
* tao/poa.cpp (dispatch_servant_i): The POA Current was not being
setup correctly. It was used before it was created. Fix was to
change the order of things in dispatch_servant_i() and restored
pre_invoke() to its original state.
* tests/POA/Generic_Servant/client.cpp (main): Make sure the
client does not crash if the user does not provide an IOR.
* tests/POA/Generic_Servant/MyFooServant.h (MyFooServant): Added
export macro so that the class gets properly included in the
DLL.
* TAO_IDL/GenExportH.BAT: Changed %1% to %1.
* tests/POA/Generic_Servant/generic_servant_export.h: The server
lib will now be created as a DLL instead of as a static library.
New file was added to get the exports right.
Thu Mar 19 18:42:20 1998 Nanbor Wang <nanbor@cs.wustl.edu>
* TAO_IDL/be/be_visitor_attribute.cpp (visit_attribute): Undefined
variable bt to removed a compilation warning.
* tao/server_factory.cpp (create_servant_lock):
* tao/default_server.{h,cpp} (create_servant_lock): Added new
method which creates a servant lock according to various
strategies used.
Thu Mar 19 18:45:13 1998 Alexander Babu Arulanthu <alex@merengue.cs.wustl.edu>
* orbsvcs/tests/AVStreams/client.h:
* orbsvcs/tests/AVStreams/client.cpp:
* orbsvcs/orbsvcs/Property/CosPropertyService_i.cpp:
* orbsvcs/orbsvcs/AVStreams.idl (interface MMDevice):
PropertyService's PropertySet methods have been tested in the
AVStreams' test application. Tested using the MMDevice interface
of the AVStreams.
Thu Mar 19 18:20:42 1998 Michael Kircher <mk1@cs.wustl.edu>
* $TAO_ROOT/orbsvcs/tests/Simulator/README: New notes about this release
* $TAO_ROOT/orbsvcs/tests/Simulator/NavWeap.idl: New, simpler Weapons struct
because of a Visibroker for Java 3.2 bug.
* $TAO_ROOT/orbsvcs/tests/Simulator/Event_Supplier: Using the new
Weapons struct.
* $TAO_ROOT/orbsvcs/tests/Simulator/Sim_Display/NS_Resolve.java: Complying
with the new Name Service lookup protocol (4 bytes instead of 2)
* $TAO_ROOT/orbsvcs/tests/Simulator/Sim_Display/Display_Weapons.java:
Using the new Weapons struct.
* $TAO_ROOT/orbsvcs/tests/Simulator/Sim_Display/Display_Push_Consumer.java:
Complying with the naming conventions for the skeleton code of VB 3.2.
Thu Mar 19 10:51:22 1998 Alexander Babu Arulanthu <alex@merengue.cs.wustl.edu>
* docs/releasenotes/index.html: Updated entry for the property service.
Thu Mar 19 09:55:41 1998 Carlos O'Ryan <coryan@cs.wustl.edu>
* tests/CDR/README:
* tests/CDR/basic_types.cpp:
* tests/CDR/tc.cpp:
Added basic documentation on the purpose of the tests.
Thu Mar 19 09:26:25 1998 Torben Worm <tworm@cumbia.cs.wustl.edu>
* docs/releasenotes/index.html: Added an entry for the Concurrency
Control Service
Thu Mar 19 08:41:27 1998 David L. Levine <levine@cs.wustl.edu>
* orbsvcs/orbsvcs/Naming/CosNaming_i.cpp (new_context): replaced
???! with ???? in comment to avoid g++ "warning: 1 trigraph(s)
encountered".
* orbsvcs/orbsvcs/Sched/Scheduler.cpp: removed two ACE_Lock_Adapter
template instantiations because they're in tao/poa.cpp.
* orbsvcs/orbsvcs/Runtime_Scheduler.cpp: wrapped a few return
statements that follow ACE_THROW's with ACE_NOTREACHED.
* orbsvcs/orbsvcs/Config_Scheduler.cpp: wrapped a couple of break
statements that follow returns with ACE_NOTREACHED.
Thu Mar 19 05:26:10 1998 Aniruddha Gokhale <gokhale@mambo.cs.wustl.edu>
* tao/typecode.cpp: In private_member_name, the return value of
"skip_typecode ()" was incorrectly compared with TRAVERSE_CONTINUE
rather than with a boolean value. This is now fixed.
Wed Mar 18 21:43:46 1998 Aniruddha Gokhale <gokhale@mambo.cs.wustl.edu>
* tao/typecode.cpp: private_equal method had a big error. I had
forgotten break statements after every case in the switch
statement. So no matter what, the last result which returned
"TRUE" used to be returned. This is now fixed.
Wed Mar 18 21:32:24 1998 Douglas C. Schmidt <schmidt@cs.wustl.edu>
* TAO version 0.1.8, released Wed Mar 18 21:32:24 1998.
Wed Mar 18 21:26:29 1998 David L. Levine <levine@cs.wustl.edu>
* orbsvcs/orbsvcs/Naming/Ior_Multicast.cpp (IOR_Multicast):
reordered initializers to match declaration order.
Wed Mar 18 20:36:46 1998 Douglas C. Schmidt <schmidt@tango.cs.wustl.edu>
* tests/CDR/basic_types.cpp: Rearranged this test file a bit to
make it more structured.
Wed Mar 18 18:52:12 1998 Aniruddha Gokhale <gokhale@mambo.cs.wustl.edu>
* tao/object.{h, cpp}: Changed the name of the method "key ()" to
"_key ()" since this was clashing with names used by users in
their IDl files. As such "key" is not a standard method defined by
OMG on the class Object. Hence we must use a _ before it.
* tao/{poa, servant_base}.cpp: Used _key instead of key as
explained above.
Wed Mar 18 18:41:34 1998 Alexander Babu Arulanthu <alex@merengue.cs.wustl.edu>
* orbsvcs/tests/CosPropertyService/main.cpp (main): Added testcode
for NamesIterator.
Wed Mar 18 18:33:08 1998 Aniruddha Gokhale <gokhale@mambo.cs.wustl.edu>
* tao/any.cpp: There was a bug in the assignment operator whereby
a Release was causing the Any object itself getting deleted.
* tao/poa.cpp: Changed occurrences of "buffer ()" used on the
object key (which is a sequence) to use "get_buffer" according to
the latest C++ mapping.
Wed Mar 18 18:32:04 1998 Sergio Flores <sergio@mambo.cs.wustl.edu>
* orbsvcs/orbsvcs/Naming/CosNaming_i.cpp:
* orbsvcs/orbsvcs/Naming/CosNaming_i.h: Fixed some allocation
errors and added synchronization mechanism for static internal
data structures. Also fixed an undefined symbol due to templates
not being instantiated.
Wed Mar 18 17:22:40 1998 Douglas C. Schmidt <schmidt@tango.cs.wustl.edu>
* tao/sequence_T.h: Renamed buffer() to get_buffer() to confrom to
orbos/98-01-11.
* tao/sequence[_T].*: Added the get_buffer(), release(), and
replace() methods defined by the proposed orbos/98-01-11
specification.
Wed Mar 18 16:54:33 1998 Irfan Pyarali <irfan@cs.wustl.edu>
* orbsvcs/orbsvcs/Naming/CosNaming_i.cpp (next_n): Changed ACE_NEW
to ACE_NEW_RETURN.
Wed Mar 18 16:39:40 1998 Seth Benjamin Widoff <sbw1@waltz.cs.wustl.edu>
* tao/orbobj.{h,cpp}: * tao/params.{h,cpp}: * tao/orbcore.cpp:
Expanded the resolve initial references protocol to include
bootstrappable services other than the Naming Service. Now, the
multicast message includes a field identifying the target
service. The values for this field are defined in orbobj.h --
currently there are only TAO_SERVICEID_NAMESERVICE, and
TAO_SERVICEID_TRADINGSERVICE. For completeness I've added for
the -ORBtradingserviceior and -ORBtradingserviceport command
line parameters.
* orbsvcs/Naming/Naming_Utils.cpp:
* orbsvcs/Naming/Ior_Multicast.cpp:
Now, on the receiving end, the bootstrappable service compares
the service_id it receives in the multicast message with its own
before responding to it.
Wed Mar 18 16:04:38 1998 Alexander Babu Arulanthu <alex@merengue.cs.wustl.edu>
* orbsvcs/orbsvcs/CosPropertyService.idl (CosPropertyService):
Uncommented sequence of typecodes. It passed the tao_idl
compiler.
Wed Mar 18 07:18:08 1998 David L. Levine <levine@cs.wustl.edu>
* release.pl: uncommented unlink of .del files.
* tao/encode.cpp (TAO_Marshal_String::encode): #if 0'd unused
local "continue_encoding".
* tao/sequence{,_T}.cpp: removed some more "meaningless" const
modifiers from casts.
* tao/typecode.cpp (private_equal): wrapped a break with
ACE_NOTREACHED.
* tao/corbacom.h: changed CORBA_Boolean to u_char. Thanks
to Seth and Carlos for pointing out that this will conform
to the standard.
* tao/cdr.i: removed operator <</>> for CORBA::Boolean _with_
ACE_HAS_BOOL. No ACE platform currently #defines ACE_HAS_BOOL,
and this will prevent divergence of TAO code if any do in the
future.
Wed Mar 18 02:08:55 1998 Nanbor Wang <nanbor@cs.wustl.edu>
* tests/Param_Test/client.cpp (~Param_Test_Client): Removed
releasing of the Param_Test pointer. It is owned by the Driver
class.
Tue Mar 17 23:28:59 1998 Irfan Pyarali <irfan@cs.wustl.edu>
* tao/poa.h (POA): Changed the LOCATION_RESULT enum from protected
to private.
Tue Mar 17 13:20:05 1998 David L. Levine <levine@cs.wustl.edu>
* tests/Cubit/TAO/IDL_Cubit (print_stats): with
ACE_LACKS_FLOATING_POINT, multiply calls/usec by 10^6 to get
calls/sec. And, use call_count_ instead of hard-coded 1000.
* tao/orbconf.h,interp.cpp: renamed TAO_ALIGNMENT_MAGIC_NUMBER to
TAO_MAXIMUM_NATIVE_TYPE_SIZE.
* tao/sequence.i,sequence_T.{i,cpp}: removed "const" from some
ACE_reinterpret_casts, because ghs warned that it's "meaningless".
* tao/cdr.*,decode.cpp (get_encapsulation): changed type of second
arg from size_t to CORBA::ULong for platform independence.
Tue Mar 17 11:26:28 1998 Carlos O'Ryan <coryan@cs.wustl.edu>
* TAO_IDL/be/be_visitor_sequence.cpp:
Fixed return value for operator[] in sequences of basic types,
the _out and _var classes generated non-nested types. Thanks to
Frak. J. Hodum <fhdum@std.saic.com> for reporting this problem.
Tue Mar 17 10:25:46 1998 Carlos O'Ryan <coryan@cs.wustl.edu>
* TAO_IDL/be/be_array.cpp:
* TAO_IDL/be/be_attribute.cpp:
* TAO_IDL/be/be_exception.cpp:
* TAO_IDL/be/be_interface.cpp:
* TAO_IDL/be/be_interface_fwd.cpp:
* TAO_IDL/be/be_operation.cpp:
* TAO_IDL/be/be_sequence.cpp:
* TAO_IDL/be/be_state_argument.cpp:
* TAO_IDL/be/be_state_attribute.cpp:
* TAO_IDL/be/be_state_union.cpp:
* TAO_IDL/be/be_structure.cpp:
* TAO_IDL/be/be_union.cpp:
* TAO_IDL/be/be_visitor_exception.cpp:
* TAO_IDL/be/be_visitor_interface.cpp:
* TAO_IDL/be/be_visitor_sequence.cpp:
* TAO_IDL/be/be_visitor_union_branch.cpp:
Some export macros were missing; also fixed minor formatting
problems.
Mon Mar 16 18:26:51 1998 Irfan Pyarali <irfan@cs.wustl.edu>
* tests/POA/Default_Servant/File_i.cpp (open): Fixed string being
passed to create_reference_with_id(). The test now works.
* tao/poa.cpp (find_servant): Added new method to the POA. It
finds and returns the servant related to the key passed by the
user.
Mon Mar 16 15:27:21 1998 Carlos O'Ryan <coryan@cs.wustl.edu>
* TAO_IDL/be/be_visitor_interface.cpp:
The _narrow() method is more careful about collocation: the
servant could return 0 on the call to _downcast (for instance if
the servant is using DSI or is implementing the default servant
posicies), in such a case a remote object is created.
Generate the _interface_repository_id() method in all classes.
* TAO_IDL/be/be_visitor_module.cpp:
In some cases the export macros were not generated.
* tao/object.h:
* tao/object.cpp:
Added a new method to get the interface repository id (only
locally).
* tao/servant_base.cpp:
Removed some dead code.
Mon Mar 16 14:28:34 1998 David L. Levine <levine@cs.wustl.edu>
* tao/orbconf.h: cleaned up #define of TAO_ALIGNMENT_MAGIC_NUMBER,
to allow it to be overridden.
Mon Mar 16 10:47:08 1998 Carlos O'Ryan <coryan@cs.wustl.edu>
* tao/cdr.h:
* tao/cdr.i:
* tao/cdr.cpp:
The CDR stream class exposed its implementation completely, this
change is the first attempt to close that interface and make it
safer. The internal representation was changed to a
Message_Block, so CDR could eventually create chains of
Message_Blocks (minimizing buffer copies and using writev() for
output).
The next step is to split the class in an input and output
interface, following the Java IDL model.
* TAO_IDL/Makefile:
* TAO_IDL/be/be_array.cpp:
* TAO_IDL/be/be_enum.cpp:
* TAO_IDL/be/be_exception.cpp:
* TAO_IDL/be/be_interface.cpp:
* TAO_IDL/be/be_sequence.cpp:
* TAO_IDL/be/be_structure.cpp:
* TAO_IDL/be/be_typedef.cpp:
* TAO_IDL/be/be_union.cpp:
* TAO_IDL/be/be_visitor_enum.cpp:
* TAO_IDL/be/be_visitor_exception.cpp:
* TAO_IDL/be/be_visitor_interface.cpp:
* TAO_IDL/be/be_visitor_sequence.cpp:
* TAO_IDL/be/be_visitor_structure.cpp:
* TAO_IDL/be/be_visitor_typedef.cpp:
* TAO_IDL/be/be_visitor_union.cpp:
* tao/any.cpp:
* tao/connect.cpp:
* tao/decode.cpp:
* tao/except.cpp:
* tao/giop.h:
* tao/giop.cpp:
* tao/iioporb.cpp:
* tao/interp.cpp:
* tao/objkeyC.cpp:
* tao/poaC.cpp:
* tao/tc_const.cpp:
* tao/typecode.h:
* tao/typecode.cpp:
This files were modified to use (or generate, in the case of the
IDL compiler) the new CDR stream class interface.
* TAO_IDL/be_include/be_type.h:
* TAO_IDL/be/be_type.cpp:
It used a static buffer to evaluate be_type::nested_type_name(),
it was changed for a per-class buffer, but the real solution is
to allocate a buffer on the fly and return it to the user, maybe
using UTL_String will solve the problem.
* tests/Makefile:
* tests/CDR/Makefile:
* tests/CDR/basic_types.cpp:
* tests/CDR/tc.cpp:
Added some simple tests to verify that CDR streams work
correctly.
* taoconfig.mk:
The clean target is defined in ACE config files.
* docs/orbsvcs.html:
Included documentation on the collocation services.
* docs/releasenotes/ec.html:
Moved some of the changes from "new in this release" to "changes
in previous releases".
Sun Mar 15 22:36:08 1998 Seth Benjamin Widoff <sbw1@waltz.cs.wustl.edu>
* orbsvcs/orbsvcs/Trader/Admin.*
* orbsvcs/orbsvcs/Trader/Lookup.*
* orbsvcs/orbsvcs/Trader/Policies.*
* orbsvcs/orbsvcs/Trader/Policy_Manager.*
* orbsvcs/orbsvcs/Trader/Offer_Iterator_Collection.*
Added the logic to perform federated queries. At this point I'm
halting further coding of the Trading Service to concentrate on
testing and debugging. The only portion of the specfication left
unimplemented is the Proxy interface, which isn't of immediate
practical use anyway.
Sun Mar 15 07:56:02 1998 David L. Levine <levine@cs.wustl.edu>
* TAO_IDL/be/be_visitor_field.cpp
(be_visitor_field_cs::visit_sequence): made int return type
explicit.
Sun Mar 15 06:18:58 1998 Aniruddha Gokhale <gokhale@mambo.cs.wustl.edu>
* TAO_IDL/be_include/{be_codegen, be_visitor_args}.h: Added a new
state called "POST_MARSHAL_SS" i.e., to do post processing after
the marshaling of return, inout, and out parameters is done in a
server skeleton. Added new visitor class to the argument visitors.
* TAO_IDL/be/{be_visitor_args, be_visitor_operation,
be_interpretive}.cpp: Code for post processing after marshaling in
the server skeletons. This was required to support object
references.
Sat Mar 14 19:28:50 1998 Aniruddha Gokhale <gokhale@mambo.cs.wustl.edu>
* TAO_IDL/be/be_visitor_field.cpp: Added a case for handling
anonymous sequences in the client stub visitor. The header file
was also changed.
Sat Mar 14 19:29:00 1998 David L. Levine <levine@cs.wustl.edu>
* tests/Cubit/TAO/IDL_Cubit/client.cpp (print_stats): added
support for ACE_LACKS_FLOATING_POINT.
Sat Mar 14 16:40:05 1998 Aniruddha Gokhale <gokhale@mambo.cs.wustl.edu>
* TAO_IDL/be/be_visitor_operation.cpp: We were not generating the
"_get_" and "_set_" prefixes for operations corresponding to
attributes. This is now fixed.
* TAO_IDL/be/be_visitor_enum.cpp: Typecode implementation of enum
class was not getting generated due to an incorrect "if"
condition. Thanks to Seth Widoff for noticing this.
* TAO_IDL/be/be_visitor_union_branch.cpp: We had forgotten to
generate the "set" and "get" operation implementation for union
members that are sequences. Thanks to Seth Widoff for noticing
this.
Sat Mar 14 02:48:55 1998 Sumedh Mungee <sumedh@lindy.cs.wustl.edu>
* orbsvcs/orbsvcs/Makefile (IDL_FILES): Added the SFP IDL files
and the AV/sfp.cpp to the rules.
Sat Mar 14 02:17:34 1998 Seth Benjamin Widoff <sbw1@waltz.cs.wustl.edu>
* orbsvcs/orbsvcs/Trader/*.*:
I've hammered out a number of errors from the initial port:
the Trading Service compiles on Solaris.
* orbsvcs/orbsvcs/Makefile:
I've added all the necessary additions to the Makefile for the
Trading Service. The makefile will perform the compilation when
the 'trader' flag is set to 1 on the command line.
* orbsvcs/Trading_Service/Makefile:
* orbsvcs/Trading_Service/trader.cpp:
trader.cpp instantiates a Trader object and registers its Lookup
interface with the bootstrapped Naming Service. All the Trader
interfaces are implicitly activated in the Trader class. In the
future we'll want to have the Trading Service bootstrappable
through the resolve_initial_references method.
Sat Mar 14 00:36:30 1998 Alexander Babu Arulanthu <alex@merengue.cs.wustl.edu>
* orbsvcs/orbsvcs/Property/CosPropertyService_i.cpp (define_property):
* orbsvcs/orbsvcs/Property/CosPropertyService_i.h (PropertyNamesIterator):
* orbsvcs/orbsvcs/Property/CosProperty_Hash.cpp (CosProperty_Hash_Value):
* orbsvcs/orbsvcs/Property/CosProperty_Hash.h:
The tao_idl compiler has been made to generate Any at some places
where it was generating Any_var. Hence, I had to modify this
implementaion to accomadate this change.
Fri Mar 13 10:34:15 1998 Aniruddha Gokhale <gokhale@mambo.cs.wustl.edu>
* TAO_IDL/be/be_visitor_operation.cpp: For return types that are
object references, we were using the actual return type and
passing its address to the marshaling routine. However, the
marshaling routine needs the address of the base class i.e.,
CORBA::Object. Due to "public virtual" inheritance all kinds of
crazy things happen. So now we had to resort to declaring the
return value of type "CORBA::Object_ptr" and things worked fine.
Fri Mar 13 09:57:51 1998 David L. Levine <levine@cs.wustl.edu>
* tao/corbacom.h: use types of known sizes, such as ACE_UINT32
and ACE_INT16, instead of native types for Boolean, Short,
UShort, Float, and Double.
Thu Mar 12 21:23:10 1998 Nanbor Wang <nanbor@cs.wustl.edu>
* tao/debug.cpp (_dmsg_x): Changed ex->id () to ex->_id ().
Thu Mar 12 20:40:09 1998 Sergio Flores <sergio@lambada.cs.wustl.edu>
* tests/Thruput/TAO/client.cpp:
* tests/Thruput/TAO/run_client:
* tests/Thruput/TAO/run_server:
* tests/Thruput/TAO/run_test: Minor fixes in the scripts and usage
message.
Thu Mar 12 18:02:06 1998 Seth Benjamin Widoff <sbw1@waltz.cs.wustl.edu>
* tao/request.cpp:
* tao/typecode.cpp:
The is_nil methods of typecode and CORBA had this:
(CORBA::Boolean) ptr == 0 to test for the nil condition, when we
really want this: (CORBA::Boolean) (ptr == 0). This way we cast
the result of the expression, and not the pointer, to
CORBA::Boolean.
Thu Mar 12 17:49:45 1998 Aniruddha Gokhale <gokhale@mambo.cs.wustl.edu>
* TAO_IDL/be_visitor_typedef.cpp: For typedefs of pseudo object
types, we had forgottten to generate a typedef to the _ptr type.
Thu Mar 12 17:21:32 1998 Douglas C. Schmidt <schmidt@tango.cs.wustl.edu>
* tao/sequence_T.cpp: Fixed a couple of weird bugs were freebuf
(MAX) was being called instead of freebuf (tmp). Thanks to
Keith Nicewarner <knicewar@sanders.com> for reporting this.
Thu Mar 12 15:53:44 1998 Aniruddha Gokhale <gokhale@mambo.cs.wustl.edu>
* tao/except.h: Changed the member functions "type ()" and "id ()"
on the CORBA::Exception class to "_type ()" and "_id ()". This
affected the following files:
tao/{except, object, poaC, svrrqst}.cpp
* TAO_IDL/be/be_visitor_exception.cpp: Made changes to use the
_type and _id methods. Thanks to Seth Widoff for noticing this in
his Trader application where a user defined exception had a member
called "type" which clashed with the base class operation "type".
Thu Mar 12 15:00:47 1998 Aniruddha Gokhale <gokhale@mambo.cs.wustl.edu>
* TAO_IDL/be/be_visitor_exception.cpp: In those cases where object
references or strings were assigned, the g++ compiler failed to do
implicit conversion to assign a _var to a _ptr type. This is now
fixed by using the _var.in () method.
* TAO_IDL/be/be_visitor_typedef.cpp: Fixed a bug that was
generating typecode information for data types that were imported
resulting in a multiply defined symbol error at link time.
Thu Mar 12 09:01:43 1998 David L. Levine <levine@cs.wustl.edu>
* TAO_IDL/Makefile: added -Wno-unused to g++ CCFLAGS to
suppress warnings about unused parameters and variables.
* TAO_IDL/be/be_visitor_interface.cpp
(be_visitor_interface_sh::visit_interface,
be_visitor_interface_collocated_ss::visit_interface):
changed type of loop index "i" to signed, to avoid
signed/unsigned comparison.
* TAO_IDL/be/be_visitor_sequence.cpp
(be_visitor_sequence_ci::visit_sequence): made int return
type explicit.
* tests/Cubit/TAO/IDL_Cubit/server.cpp (~Cubit_Server): changed
root_poa_ to poa_.
Thu Mar 12 01:03:17 1998 Irfan Pyarali <irfan@cs.wustl.edu>
* tests/POA/NewPOA/NewPOA.cpp (main): Updated the following files
to correctly use CORBA::Policies that are used to create new
POAs. Things that needed fixing included proper exception
handling and making sure to destroy the policies once we were
through using them.
- TAO/tao/tao_util.cpp
- TAO/tests/Cubit/TAO/MT_Cubit/server.cpp
- TAO/tests/POA/Default_Servant/server.cpp
- TAO/tests/POA/Explicit_Activation/server.cpp
- TAO/tests/POA/NewPOA/NewPOA.cpp
- TAO/tests/POA/On_Demand_Activation/server.cpp
Wed Mar 11 21:02:13 1998 David L. Levine <levine@cs.wustl.edu>
* tao/svrrqst.cpp (marshal): instead of declaring a new loop
index "i", use the one at outer scope because it was shadowed.
Wed Mar 11 18:10:47 1998 Nanbor Wang <nanbor@cs.wustl.edu>
* tao/TAO_IDL/tao_idl.dsp: Added new visitor files into the project.
Wed Mar 11 17:23:49 1998 Douglas C. Schmidt <schmidt@tango.cs.wustl.edu>
* tao/tao_util: Changed the name of root_poa_ to poa_ since it
doesn't have to be a root POA.
Wed Mar 11 14:37:08 1998 Aniruddha Gokhale <gokhale@mambo.cs.wustl.edu>
* TAO_IDL/Makefile: Included be_visitor_exception.cpp and ran make
depend
* TAO_IDL/be/be_interpretive.cpp: The factory is now able to
produce concrete visitors for exceptions.
* TAO_IDL/be/be_visitor_args.cpp
TAO_IDL/be_include/be_visitor_args.h: Added a method
"void_return_type" that determines if the operation return type
was "void" or not. This was necessary since we were incorrectly
generating ACE_NEW_RETURN statements in stubs for cases that had
void return types
* TAO_IDL/be/be_visitor_context.cpp
TAO_IDL/be_include/be_visitor_context.h: Added a boolean data
member that indicates whether we are generating the special
constructor in the exceptions.
* TAO_IDL/be/be_visitor_exception.cpp
TAO_IDL/be/be_visitor_exception.h: Added various visitors for
exception handling.
* TAO_IDL/be/be_visitor_{struct, union, module, interface,
sequence}.cpp: Made sure that code is not generated for imported
types.
* TAO_IDL/be/be_visitor_typedef.cpp: Eliminated the multiple
declaration of typedefed variables and their typecodes.
* TAO_IDL/be/be_visitor_interface.cpp: The "_is_a_skel" now uses
the same table driven approach as the other skeletons do.
Wed Mar 11 12:54:59 1998 Irfan Pyarali <irfan@cs.wustl.edu>
* tests/POA/Explicit_Activation/server.cpp (main): The server was
changed to test how the POA handles a user given ID which does
not contain printable characters.
* tao/poa (Policies and Currents): Since Policies and Currents do
not have locality constraints, they now inherit from regular
servants rather than local servants. This change causes them to
register with POAs when their _this() method is invoked.
Therefore, the destroy() methods on the Policies was changed to
make sure that the Policies are deactivated from the POA they
were registered with.
* tao/sequence_T.cpp (operator=): The semantics of the elements of
a sequence are the same as that of a var variable. Therefore we
will not duplicate the user provided pointer before assigning it
to the internal variable. However, we will release it.
Tue Mar 10 16:09:56 1998 Aniruddha Gokhale <gokhale@mambo.cs.wustl.edu>
* tao/cdr.{h,cpp}: Added a get_string and put_string method for
retrieving and encoding a string. This uses "memcpy" rather than
having to go through a get_char/put_char for every byte of the
string.
* tao/connect.cpp: In "handle_request", the marshaling of inout,
out, and return value parameters was done inside this method after
the operation skeleton had returned. This required unnecessary
heap allocation of these parameters. Allocating these parameters
on the skeleton call stack was not possible since the marshaling
took place after the skeleton had returned. To eliminate these
unnecessary waste, 2 new methods on the ServerRequest class are
added that perform the demarshaling and marshaling while the
skeleton call stack is active. More explanation on these is given
below.
* tao/{encode, decode}.cpp: Used the get_string and put_string
methods on the CDR class.
* tao/giop.*: Added a method called "stream" that returns a
reference to the underlying CDR stream. This is helpful when you
need access to the stream so that data types can be marshaled into
the stream using a compiled form of marshaling. This form of
marshaling will soon be added to TAO IDL compiler.
* tao/object.{h, cpp}: Added a method called "stubobj" which
returns a pointer to the underlying Stub_Object. This method
eliminates the need to call QueryInterface inside every stub. This
way some code size is reduced.
Also, removed the "get_most_derived" method as well as the "void
*sub_" data member which was useless.
* tao/svrrqst.{h, i, cpp}: Added a new file svrrqst.i. Added two
new methods on class IIOP_ServerRequest. These methods enable
demarshaling and marshaling of parameters while the operation
skeleton's call stack is active. The interface to these methods is
exactly like the one used by do_call i.e., a table driven
approach. Two new data structures - TAO_Param_data_Skel and
TAO_Call_Data_Skel are added. These two tables behave in exactly
the same way as the TAO_Param_Data and TAO_Call_Data tables. See
the generated code to see how these are used by the demarshal and
marshal methods.
Two more methods and data members are added to this class -
"incoming" and "outgoing". These are the CDR streams that indicate
the incoming and the outgoing CDR streams.
An additional "init_reply" method is added that is useful for the
compiled marshaling. This is still experimental.
* TAO_IDL: This is the first release of the new TAO_IDL compiler
based on the Visitor pattern. All the old files and code is still
included in this release until the transition is complete.
Although the Visitor pattern is used, we still maintain all the
code generation states we had in the previous version of the
compiler. The reason is that we maintain a Factory of Visitors
indexed on these enumerated states. The downside is the necessity
to have states and a larger code size. The larger code size is due
to the fact that everytime a Visitor is required, we must first
set the appropriate state and then ask the factory to produce it
for us. The positive side of this design is that almost all the
Visitor files are independent of each other. They only deal with
an abstract base level Visitors. The Factory will produce the
appropriate specialized Visitor which is a subclass of the base
"visitor" class. An additional benefit is that we can switch from
having to generate code that uses Interpretive marshaling to
compiled marshaling. Visitors for compiled marshaling will be
added later. Here are the files that are added:
be_include/
be_visitor.h
be_visitor_args.h
be_visitor_attribute.h
be_visitor_constant.h
be_visitor_context.h
be_visitor_decl.h
be_visitor_enum.h
be_visitor_field.h
be_visitor_interface.h
be_visitor_interface_fwd.h
be_visitor_module.h
be_visitor_operation.h
be_visitor_root.h
be_visitor_scope.h
be_visitor_sequence.h
be_visitor_structure.h
be_visitor_typedef.h
be_visitor_union.h
be_visitor_union_branch.h
be/
be_visitor.cpp
be_visitor_args.cpp
be_visitor_attribute.cpp
be_visitor_constant.cpp
be_visitor_context.cpp
be_visitor_decl.cpp
be_visitor_enum.cpp
be_visitor_exception.cpp
be_visitor_field.cpp
be_visitor_interface.cpp
be_visitor_interface_fwd.cpp
be_visitor_module.cpp
be_visitor_operation.cpp
be_visitor_root.cpp
be_visitor_scope.cpp
be_visitor_sequence.cpp
be_visitor_structure.cpp
be_visitor_typedef.cpp
be_visitor_union.cpp
be_visitor_union_branch.cpp
NOTE: Code generation for attributes is achieved by using a crude
form of the Adapter pattern. We convert the Attribute node into
one or possibly two operation nodes and add scope elements that
are arguments. The code gene ration is then handed over to the
Operation Visitors.
* be/be_interpretive.cpp: This file defined the implementation of
the Factory of Visitors for intepretive marshaling.
* be_include/be_codegen.h: Added a few more states. Some others
are now useless. They will be removed eventually. Also added the
Abstract Factory for Visitors.
* Makefile: Modofoed to include all the visitor files and ran
"make depend" on it.
Tue Mar 10 13:22:20 1998 David L. Levine <levine@cs.wustl.edu>
* orbsvcs/tests/Event_Latency/Makefile,
orbsvcs/tests/EC_Multiple/Makefile,
orbsvcs/tests/Simulator/Event_Supplier/Makefile: removed -pedantic
from g++ CCFLAGS because prevented use of native long long
(Linux/i386).
* orbsvcs/orbsvcs/RtecScheduler.idl: addressed RT_Info open issues,
and updated to match TAO paper. The updates consisted of
changing the names of the Importance enum values so that we
don't have collisions when criticality is added, and comment
updates.
* orbsvcs/Event/Dispatching_Modules.cpp,ReactorTask.cpp,
orbsvcs/Sched/Config_Scheduler.cpp,
orbsvcs/tests/EC_Multiple/EC_Multiple.cpp,
orbsvcs/tests/Event_Latency/Event_Latency.cpp,
orbsvcs/tests/Simulator/Event_Supplier/Event_{Con,Sup}.cpp:
added _IMPORTANCE to Importance enum values.
Mon Mar 09 22:27:53 1998 Irfan Pyarali <irfan@cs.wustl.edu>
* tests/POA/Generic_Servant/client.cpp: Added code to time calls
and produce stats.
* tao/svrrqst: Removed the lock in CORBA_ServerRequest which was
used to protect the refcount. This protection was excessive.
* tao/optable.cpp: Changed the table so that it does not use a RW
Lock. Since the optable is read only, a null lock will suffice.
* tao/objtable.cpp: Changed the implementation of
TAO_Dynamic_Hash_ObjTable so that it does not use a RW Lock. The
POA takes care of all necessary locking, and therefore, a null
lock will suffice.
* tao/poa: The following optimizations were made to decrease the
time a POA takes to find a servant:
- Added new classes TAO_Creation_Time and
TAO_Temporary_Creation_Time. These classes are used to record
and compare the creation time of POAs. The old method was
inefficient as unsigned long were used. These long required
conversions to strings. The new scheme uses a fixed size
buffer. The TAO_Temporary_Creation_Time is a special class
that tracks the creation time only during the lifetime of the
upcall.
- parse_key_permanent_id() and parse_key_temporary_id() were
added so that the parse_key() routine can distinguish when to
create a new id and when to create a special id which is only
used during the lifetime of the upcall.
- rfind() was added so that the TAO_POA::String::rfind() does
not have to be used.
- Changed the object_key_type from String to char.
- In post_invoke(), only create the POA_var if necessary.
- Changed create_object_key() and parse_key() so that the old
format of:
Transient/Seconds/MicroSecond/POAName/ObjectId
to:
T/TimeStampPOAName/ObjectId
- Removed excessive memcpy() and strcpy() calls in parse_key().
- Changed create_object_id() to not include the POA name.
- Changed is_poa_generated_id() to take the changes to
create_object_id() into account.
- Changed string_to_ObjectId() and ObjectId_to_string() to not
use encode and decode routines.
Mon Mar 9 15:23:19 1998 Sumedh Mungee <sumedh@cs.wustl.edu>
* orbsvcs/tests/AVStreams/mpeg/source/server/server.cpp (open):
Temporarily disabled use of threads, and reverted back to the
forking model. The threaded model needs more work before it can
safely support multiple clients.
Mon Mar 9 14:57:13 1998 Carlos O'Ryan <coryan@cs.wustl.edu>
* tao/sequence.h:
* tao/sequence.cpp:
* tao/sequence_T.h:
* tao/sequence_T.cpp:
Removed the _narrow_fixup() method, it was causing problem with
sequences of TypeCodes and it is not really needed: the
functionality can be implemented in the stubs (skeletons) and/or
the >>= methods.
Mon Mar 09 09:59:01 1998 David L. Levine <levine@cs.wustl.edu>
* tests/Cubit/TAO/MT_Cubit/Task_Client.cpp: removed
VxWorks-specific code, because it was no longer used, and
relied on a header that was not distributed with TAO.
Sat Mar 07 12:14:58 1998 Chris Cleeland <cleeland@cs.wustl.edu>
* TAO version 0.1.7, released Sat Mar 07 12:14:58 1998.
Sat Mar 7 11:59:27 1998 Chris Cleeland <cleeland@tango.cs.wustl.edu>
* tao/orb_core.cpp (get_root_poa): Changed this from being a
macro-implemented method to a hand-implemented method. This is
necessary b/c the location of its resource is keyed not off
resource_source_ but rathe off poa_source_, and there's no macro
avaialble for that. Thanks to John Geiss <jtgb@eci-esyst.com> for
reporting the bug that led to this fix!
Sat Mar 07 08:29:51 1998 David L. Levine <levine@cs.wustl.edu>
* tao/orb_core.cpp (TAO_Default_Reactor ctor and dtor): removed
inline qualifiers.
* tests/Cubit/TAO/MT_Cubit/Makefile: changed -lm to $(MATHLIB).
It looks like Sun C++ and g++ link with -lm by default, so
there shouldn't be any affect on those platforms. Others may
have to define MATHLIB in their platform_macros.GNU.
* tests/Cubit/TAO/MT_Cubit/client.cpp (do_priority_inversion_test):
changed variables low_client and high_client to low_priority_client
and high_priority_client. Replaced use of cerr with ACE_DEBUG.
Fri Mar 6 17:56:25 1998 Chris Cleeland <cleeland@cs.wustl.edu>
* Aloha: I bid fond farewall to Team TAO for now. Thanks for the
fun times!
* tests/NestedUpcall/server.cpp: Integrated new stuff.
* tests/NestedUpcall/client.cpp: Called new 'stop' method.
* tests/NestedUpcall/{Reactor.idl,reactor_i.*}: Added 'stop' to Reactor
interface to shutdown the server.
* tao/tao_util.cpp: Added code to explicitly destroy policies
after creating a child POA.
* tao/poaS.h: Added a little comment to bring this up in C++ mode
in emacs.
* tao/poa.cpp: Performed explicit deletes on buffers.
* tao/object.{cpp,i}: Moved DTOR into .cpp and stuck in comment
explaining refcount semantics on CORBA_Object.
* tao/iiopobj.i: Changed initial refcount value to zero; the ORB
Core must perform an explicit AddRef() if it intends to hold on to
this object.
* tao/iiopobj.cpp: Changed Release() so that it will call 'delete
this' whenever the refcount is below zero.
Fri Mar 06 11:38:38 1998 Nanbor Wang <nanbor@cs.wustl.edu>
* docs/Options.html: Shrinked the table widths to 80% so we can
see everything without scrolling. Thanks to Darrell for the
HTML tip.
Fri Mar 06 09:36:47 1998 David L. Levine <levine@cs.wustl.edu>
* tao/object.i (CORBA_Object): reordered initializers to match
declaration order. Also, move _set_parent () before the
constructor so that it is defined before being used.
* tao/cdr.{i,cpp}: modified to base in/out operations
on ULongLong instead of LongLong, because we have
better support for ULongLong with ACE_LACKS_LONGLONG_T.
* tao/cdr.{h,cpp} (get_ulonglong): removed const argument qualifier.
Fri Mar 06 00:18:38 1998 Irfan Pyarali <irfan@cs.wustl.edu>
* tao/poaS and poaC: Removed about a 1000 lines of stubs and
skeletons code from poaC.cpp and poaS.cpp. This code was not
necessary because of the locality constraints on certain POA
objects. This should help reduce the footprint of TAO.
Thu Mar 5 19:54:27 1998 Sergio Flores <sergio@polka.cs.wustl.edu>
* orbsvcs/orbsvcs/Naming/CosNaming_i.cpp: bind_context, rebind,
and bind were fixed to handle errors more carefully. Thanks to
Mark Boriack for pointing this out.
Thu Mar 5 18:15:32 1998 Chris Cleeland <cleeland@cs.wustl.edu>
* tao/giop.cpp: Removed crufty unused code.
* tao/iioporb.cpp:
* tao/iiopobj.*:
* tao/decode.cpp:
* tao/object.{h,i}:
* tao/orbobj.cpp:
* tao/poaC.cpp:
* tao/request.cpp:
* tao/servant_base.{h,cpp}:
Broke the old, incestous, bizarre "contained" relationship between
IIOP_Object and CORBA_Object. Now, multiple CORBA_Objects can
reference the same IIOP_Object, and each is reference-counted
separately. Moreover, an IIOP_Object has no back-pointer to a
CORBA_Object. All of this should help alleviate many memory
leaks.
* TAO_IDL/be/be_interface.cpp: Changed emitted code for _narrow
and _bind to deal with new relationship btw. CORBA_Object and
IIOP_Object.
Thu Mar 5 17:45:28 1998 Carlos O'Ryan <coryan@cs.wustl.edu>
* tao/cdr.i:
If CORBA::WChar is an alias for CORBA::Short we cannot overload
operator<< on it.
* tao/corbacom.h:
* tao/typecode.h:
MSVC++ does not like a class forward declared as a structure.
* tests/Cubit/TAO/MT_Cubit/Makefile:
-lm is required in IRIX.
Thu Mar 05 16:18:53 1998 Irfan Pyarali <irfan@cs.wustl.edu>
* tao/poa.cpp (ObjectId_to_wstring and ObjectId_to_const_wstring):
Changed the odd looking access to a sequence's buffer to use the
new buffer() accessor.
Thu Mar 5 13:15:37 1998 Carlos O'Ryan <coryan@cs.wustl.edu>
* tao/cdr.h:
* tao/cdr.i:
Added a error flag to the class and some << and >> operators to
start a more useable interface for the CDR streams.
* tao/any.h:
* tao/any.cpp:
* tao/except.h:
* tao/except.cpp:
* tao/nvlist.h:
* tao/nvlist.cpp:
* tao/principa.h:
* tao/principa.cpp:
* tao/request.h:
* tao/request.cpp:
* tao/typecode.h:
* tao/typecode.i:
* tao/typecode.cpp:
They don't inherit from IUnknown any more. Removed the
QueryInterface method, but kept AddRef and Release to keep the
change propagation to a minimum.
In accordance to the new memory managment scheme the locks were
also removed, the agument is:
+ In the common case the locks are *not* needed.
+ When needed a lock at that level does *not* work.
+ The application can add its own locking for the objects that
are effectively shared among threads.
* tao/sequence.h:
* tao/sequence.cpp:
* tao/sequence_T.h:
* tao/sequence_T.cpp:
Sequences of objects require some post processing *after*
demarshalling: the object references must be narrowed to the
right type; a new virtual method was added for that purpose.
Thu Mar 05 09:08:09 1998 David L. Levine <levine@cs.wustl.edu>
* .../Makefile: added $(POSTLINK) to link commands.
Please, if you don't use rules.bin.GNU, be sure to
follow it as closely as possible.
Wed Mar 04 19:49:31 1998 David L. Levine <levine@cs.wustl.edu>
* tao/orb_core (preconnect): changed type of loop index to
size_t to avoid signed/unsigned comparison. Added some
template instantiations.
Wed Mar 4 16:35:37 1998 Chris Cleeland <cleeland@lambada.cs.wustl.edu>
* tao/orbobj.*: Added an extension to the CORBA_ORB interface
that allows an application to preconnect to multiple servers by
specifying a string of host:port pairs.
* tao/orb_core.*: Broke the preconnection logic out of init()
and made it its own method, preconnect(). This also uses
Connector<>::connect_n() rather than implementing its own loop.
It really didn't make things much easier, but we can take
advantage of future improvements to that implementation
transparently, now.
* docs/Options.html: Added more details on various options.
Tue Mar 03 21:11:22 1998 David L. Levine <levine@cs.wustl.edu>
* orbsvcs/orbsvcs/RtecScheduler.idl: updated a comment: the units
of Period are 100 ns.
* orbsvcs/orbsvcs/Event/Dispatching_Modules.cpp (initialize_queues),
Task_Manager.cpp (initialize): maintain period in units of 100 ns
when converting period from a 64 bit to a 32 bit int.
* orbsvcs/orbsvcs/Event/Dispatching_Modules.cpp (open_queue),
ReactorTask.cpp (open_reactor): assign name to thread using units
of us.
Mon Mar 2 19:01:44 1998 Alexander Babu Arulanthu <alex@merengue.cs.wustl.edu>
* orbsvcs/tests/CosPropertyService/main.cpp (class
TAO_PropertySet_Tester): Added this wrapper class to organise my
test code, testing the methods in the PropertyService interfaces.
Mon Mar 2 16:48:59 1998 Carlos O'Ryan <coryan@cs.wustl.edu>
* TAO_IDL/be/be_codegen.cpp:
* TAO_IDL/fe/idl.ll:
* TAO_IDL/fe/lex.yy.cpp:
* TAO_IDL/util/utl_global.cpp:
More changes attempting to remove the \ problem for NT.
* tao/orbobj.h:
Added a missing TAO_Export macro.
* tao/typecode.h:
* tao/typecode.i:
Added the _var and _out classes for CORBA_TypeCode.
* tao/corbacom.h:
Added the TypeCode_var and TypeCode_out classes to the CORBA
class.
Mon Mar 2 15:39:57 1998 Douglas C. Schmidt <schmidt@waltz.cs.wustl.edu>
* tao/sequence_T.h: Added a ptr() accessor to both the
TAO_Bounded_Sequence and TAO_Unbounded_Sequence classes. Thanks
to Carol Sanders <csanders@mdc.com> for suggesting this.
* tao/sequence[_T].{i,cpp}: Cleaned up a bunch of
ACE_reinterpret_cast() operations. Thanks to Russ Noseworthy
<rnosewor@objectsciences.com> for reporting this.
Mon Mar 2 13:13:19 1998 Carlos O'Ryan <coryan@cs.wustl.edu>
* TAO_IDL/fe/idl.ll:
* TAO_IDL/fe/lex.yy.cpp:
Fixed pathname canonization for NT, we convert a double
backslash into a single slash.
Mon Mar 02 08:00:41 1998 David L. Levine <levine@cs.wustl.edu>
* tao/orb_core.cpp: only instantiate ACE_Convert with g++.
Even that shouldn't need it, because it's always inline.
But, g++ typically creates out-of-line instantiations of
inline template member functions.
* tao/sequence.{h,cpp} (TAO_{B,Unb}ounded_Base_Sequence):
added (virtual) destructors. Without them, GreenHills on
Chorus was duplicating their vtables when instantiating
templates based on those classes.
* orbsvcs/orbsvcs/Makefile,tmplinst-orbsvcs.cpp:
renamed tmplinst.cpp to tmplinst-orbsvcs.cpp to avoid mangled name
collisions with tmplinst.cpp in test directories, when using
GreenHills/Chorus.
* tests/Cubit/TAO/IDL_Cubit/server.cpp (main): added explicit
int return type.
Sun Mar 1 13:42:56 1998 Nanbor Wang <nanbor@cs.wustl.edu>
* release.pl: This script will now move the 'Current' tag to
point to the latest beta release.
Sun Mar 1 10:40:31 1998 Aniruddha Gokhale <gokhale@mambo.cs.wustl.edu>
* tao/{poa, objtable}.cpp: Removed the "Anachronism" warning
associated with the _out parameters passed to the find () method.
Sat Feb 28 18:37:54 1998 Alexander Babu Arulanthu <alex@merengue.cs.wustl.edu>
* orbsvcs/orbsvcs/Property/CosProperty_Hash.cpp:
* orbsvcs/orbsvcs/Property/CosProperty_Hash.h:
* orbsvcs/tests/CosPropertyService/main.cpp:
Added some more code to test the functions defined in CosPropertyService_i.cpp.
* orbsvcs/orbsvcs/Property/CosPropertyService_i.cpp:
* orbsvcs/orbsvcs/Property/CosPropertyService_i.h:
* orbsvcs/orbsvcs/CosPropertyService.idl:
* orbsvcs/tests/Makefile (DIRS): Added the directory
CosPropertyService under DIRS here. It is compiled when av=1.
Fri Feb 27 19:55:09 1998 Nagarajan Surendran <naga@cs.wustl.edu>
* tests/Cubit/TAO/IDL_Cubit/IDL_Cubit_Test.cpp (main): Added this
file which spawns the server and client and terminates them after
some time.
Fri Feb 27 17:57:55 1998 Chris Cleeland <cleeland@cs.wustl.edu>
* tests/NestedUpcall/server.cpp: Started integrating the
TAO_ORB_Manager, but it's untested thus far so it's
conditionally-compiled out.
* tao/{any,connect,default_server,except,
orb_core,orbobj,principa,request}.cpp: Whacked out a bunch of @@
comments.
Fri Feb 27 16:11:53 1998 Sergio Flores <sergio@polka.cs.wustl.edu>
* tests/Cubit/TAO/MT_Cubit/Task_Client.cpp:
* tests/Cubit/TAO/MT_Cubit/Task_Client.h:
* tests/Cubit/TAO/MT_Cubit/Util_Thread.cpp:
* tests/Cubit/TAO/MT_Cubit/Util_Thread.h:
* tests/Cubit/TAO/MT_Cubit/client.cpp:
* tests/Cubit/TAO/MT_Cubit/server.cpp:
* tests/Cubit/TAO/MT_Cubit/server.h: Changes to make it compile on
sigle-threaded platforms.
* docs/releasenotes/index.html: update to naming service
entry.
Fri Feb 27 15:03:58 1998 Chris Cleeland <cleeland@cs.wustl.edu>
* docs/Options.html (TAO_Default_Server_Strategy_Factory): Added
documentation for POA-related lock strategies.
* tao/connect.cpp (handle_input): Added call to
Reactor::suspend_handler() in here so that, in the bizarre corner
case where sub-event loop "A" eventually leads to sub-sub-event
loop "B" being called, but input becomes available for "A"'s
descriptor prior to "B"'s descriptor, B's loop won't spin wildly,
gobbling up CPU.
Fri Feb 27 15:00:42 1998 David L. Levine <levine@cs.wustl.edu>
* orbsvcs/orbsvcs/Time_Utilities.i (hrtime_to_TimeT): with
ACE_LACKS_LONGLONG_T, set the high word directly. The
ACE_U_LongLong operator >> returns an ACE_U_LongLong,
so the assignment won't work otherwise.
* tao/orb_core.cpp: added ACE_Convert (const char *, u_int &)
instantiation.
Fri Feb 27 12:08:19 1998 Nanbor Wang <nanbor@cs.wustl.edu>
* tao/orb_core.h (TAO_Resource_Factory): Changed to use
TAO_Default_Reactor class in TAO_Resource_Factory.
Fri Feb 27 11:10:24 1998 Chris Cleeland <cleeland@lambada.cs.wustl.edu>
* test/NestedUpcall/{eh_i,reactor_i}.cpp: Changed debug statements
to utilize the new ACE_Log_Msg conversions to indent scopes, etc.
Fri Feb 27 00:40:36 1998 Douglas C. Schmidt <schmidt@cs.wustl.edu>
* TAO version 0.1.6, released Fri Feb 27 00:40:36 1998.
Thu Feb 26 19:29:33 1998 Seth Benjamin Widoff <sbw1@waltz.cs.wustl.edu>
* orbscvs/orbsvcs/Trader/Admin.cpp:
* orbsvcs/orbsvcs/Trader/Admin.h:
* orbsvcs/orbsvcs/Trader/Attributes.cpp:
* orbsvcs/orbsvcs/Trader/Attributes.h:
* orbsvcs/orbsvcs/Trader/Constraint.cpp:
* orbsvcs/orbsvcs/Trader/Constraint.h:
* orbsvcs/orbsvcs/Trader/Constraint_Evaluator.cpp:
* orbsvcs/orbsvcs/Trader/Constraint_Evaluator.h:
* orbsvcs/orbsvcs/Trader/Constraint_Interpreter.cpp:
* orbsvcs/orbsvcs/Trader/Constraint_Interpreter.h:
* orbsvcs/orbsvcs/Trader/Constraint_Nodes.cpp:
* orbsvcs/orbsvcs/Trader/Constraint_Nodes.h:
* orbsvcs/orbsvcs/Trader/Constraint_Tokens.h:
* orbsvcs/orbsvcs/Trader/Constraint_Validator.cpp:
* orbsvcs/orbsvcs/Trader/Constraint_Validator.h:
* orbsvcs/orbsvcs/Trader/Constraint_Visitor.h:
* orbsvcs/orbsvcs/Trader/Constraint_l.cpp:
* orbsvcs/orbsvcs/Trader/Constraint_y.cpp:
* orbsvcs/orbsvcs/Trader/Dynamic_Property.cpp:
* orbsvcs/orbsvcs/Trader/Dynamic_Property.h:
* orbsvcs/orbsvcs/Trader/Interpreter.cpp:
* orbsvcs/orbsvcs/Trader/Interpreter.h:
* orbsvcs/orbsvcs/Trader/Link.cpp:
* orbsvcs/orbsvcs/Trader/Link.h:
* orbsvcs/orbsvcs/Trader/Lookup.cpp:
* orbsvcs/orbsvcs/Trader/Lookup.h:
* orbsvcs/orbsvcs/Trader/Monitor.h:
* orbsvcs/orbsvcs/Trader/Offer_Filter.cpp:
* orbsvcs/orbsvcs/Trader/Offer_Filter.h:
* orbsvcs/orbsvcs/Trader/Offer_Id_Iterator.cpp:
* orbsvcs/orbsvcs/Trader/Offer_Id_Iterator.h:
* orbsvcs/orbsvcs/Trader/Offer_Iterator.cpp:
* orbsvcs/orbsvcs/Trader/Offer_Iterator.h:
* orbsvcs/orbsvcs/Trader/Offer_Modifier.cpp:
* orbsvcs/orbsvcs/Trader/Offer_Modifier.h:
* orbsvcs/orbsvcs/Trader/Policies.cpp:
* orbsvcs/orbsvcs/Trader/Policies.h:
* orbsvcs/orbsvcs/Trader/Policy_Manager.cpp:
* orbsvcs/orbsvcs/Trader/Policy_Manager.h:
* orbsvcs/orbsvcs/Trader/Preference_Interpreter.cpp:
* orbsvcs/orbsvcs/Trader/Preference_Interpreter.h:
* orbsvcs/orbsvcs/Trader/Property_Evaluator.cpp:
* orbsvcs/orbsvcs/Trader/Property_Evaluator.h:
* orbsvcs/orbsvcs/Trader/Property_Filter.cpp:
* orbsvcs/orbsvcs/Trader/Property_Filter.h:
* orbsvcs/orbsvcs/Trader/Proxy.cpp:
* orbsvcs/orbsvcs/Trader/Proxy.h:
* orbsvcs/orbsvcs/Trader/Query_Only_Offer_Iterator.cpp:
* orbsvcs/orbsvcs/Trader/Query_Only_Offer_Iterator.h:
* orbsvcs/orbsvcs/Trader/README:
* orbsvcs/orbsvcs/Trader/Register.cpp:
* orbsvcs/orbsvcs/Trader/Register.h:
* orbsvcs/orbsvcs/Trader/Register_Offer_Iterator.cpp:
* orbsvcs/orbsvcs/Trader/Register_Offer_Iterator.h:
* orbsvcs/orbsvcs/Trader/Sequences.idl:
* orbsvcs/orbsvcs/Trader/Service_Type_Map.cpp:
* orbsvcs/orbsvcs/Trader/Service_Type_Map.h:
* orbsvcs/orbsvcs/Trader/Service_Type_Repository.cpp:
* orbsvcs/orbsvcs/Trader/Service_Type_Repository.h:
* orbsvcs/orbsvcs/Trader/Trader.cpp:
* orbsvcs/orbsvcs/Trader/Trader.h:
* orbsvcs/orbsvcs/Trader/Trader_Base.cpp:
* orbsvcs/orbsvcs/Trader/Trader_Base.h:
* orbsvcs/orbsvcs/Trader/constraint.l:
* orbsvcs/orbsvcs/Trader/constraint.y:
* orbsvcs/orbsvcs/CosTrading.idl:
* orbsvcs/Trading_Service/Makefile:
* orbsvcs/Trading_Service/trader.cpp:
The Trading Service has a new home and a new orb. I've migrated
the VisiBroker implementation of the Trading Service to TAO by
having the interfaces inherit from the POA_CosTrading skeletons,
replacing the the C++ exception handling with the TAO_* macro
exception handling and CORBA::Environment passing, and prefixing
all top level classes with 'TAO_'. Because the tao_idl generated
code from CosTrading.idl was having some trouble, nothing here has
been compiled since the port. The README file contains additions
to the Makefile necessary to accommodate the Trading Service's
reliance on STL.
The orbsvcs/Trading_Service/trader.cpp is a server that activates
the supported interfaces of our Trading Service. At this point our
Trader adheres to the Stand Alone Trader designation of
conformance as described in the specification.
Thu Feb 26 18:38:56 1998 Nanbor Wang <nanbor@cs.wustl.edu>
* orbsvcs/orbsvcs/Naming/Naming_Utils.cpp (TAO_Naming_Server):
Fixed a syntax error.
Thu Feb 26 18:07:16 1998 Alexander Babu Arulanthu <alex@merengue.cs.wustl.edu>
* docs/releasenotes/index.html: Added an entry for the Property Service.
Thu Feb 26 17:36:21 1998 Nanbor Wang <nanbor@cs.wustl.edu>
* tao/orb_core.{h,cpp} (TAO_Default_Reactor): I added the new class
tring to strategize the type of reactor used. It is not used at
the moment.
Thu Feb 26 16:18:47 1998 Douglas C. Schmidt <schmidt@flamenco.cs.wustl.edu>
* TAO_IDL/be/be_interface.cpp (gen_client_stubs): Split out some
code to use a couple temporary variables to work around what
might be a Heisenbug with GCC. Thanks to Carlos O'Ryan and
Keith Nicewarner <knicewar@sanders.com> for reporting this.
Thu Feb 26 14:52:20 1998 Chris Cleeland <cleeland@cs.wustl.edu>
* tests/NestedUpcall/{eh_i,reactor_i}.{h,cpp}: Added
implementation for the new decrement operation.
* tests/NestedUpcall/client.cpp: Added calls to invoke the new
decrement operation.
* tests/NestedUpcall/Reactor.idl: Added a new operation,
decrement, to test multi-nested upcalls.
* tao/connect.cpp (send_request): Fixed to return appropriate
return values, especially in case of errors.
Thu Feb 26 14:02:36 1998 Nanbor Wang <nanbor@cs.wustl.edu>
* tao/tao_util.cpp (activate_under_child_poa): Instead of
returning a String_var, return String_var._retn ().
(activate_under_child_poa): Actually, it seems better just
use String than String_var.
Thu Feb 26 13:31:06 1998 David L. Levine <levine@cs.wustl.edu>
* TAO_IDL/Makefile: added "all" target for CROSS-COMPILE platforms.
Thu Feb 26 05:39:43 1998 Nanbor Wang <nanbor@cs.wustl.edu>
* tests/NestedUpcall/client.cpp: Cast (char *) to 0 which is used
to initialize remote_reactor_key.
(main): Added ACE_const_cast in string_to_object call.
* tests/NestedUpcall/NestedUpcall.dsw:
* tests/NestedUpcall/client.dsp:
* tests/Nestedupcall/server.dsp: New project files for NT.
* tests/Cubit/TAO/IDL_Cubit/server.cpp (init_naming_service,main):
Appended a return at the end.
* tests/Cubit/TAO/IDL_Cubit/client.dsp:
* tests/Cubit/TAO/IDL_Cubit/server.dsp: Updated project file
lists.
* tao/TAO.dsp: Added tao_util.cpp into this project.
* tao/tao_util.h (TAO_ORB_Manager): Added TAO_Export flag.
* orbsvcs/orbsvcs/orbsvcs.dsp: Added Ior_Multicast.cpp and
Naming_Utils.cpp into this project.
* orbsvcs/orbsvcs/Naming/Ior_Multicast.h:
* orbsvcs/orbsvcs/Naming/Naming_Utils.h: Added
TAO_ORBSVCS_Export flag.
* orbsvcs/Naming_Service/Naming_Service.cpp: Added a return
statement to muffle MSVC.
Wed Feb 25 22:53:56 1998 Douglas C. Schmidt <schmidt@flamenco.cs.wustl.edu>
* tao/orbobj: Changed the signature of the run(ACE_Time_Value &)
method to run(const ACE_Time_Value &) so we can pass the const
ACE_Time_Value::zero to it. Thanks to Chris Cleeland for
suggesting this.
* orbsvcs/orbsvcs/Event/RT_Task.h: Changed the use of ACE_MT_SYNCH
to ACE_SYNCH so that we can at least build the Event Channel on
a single-threaded platform.
* orbsvcs/orbsvcs/Event_Service_Constants.h: Changed the use of
ACE_Thread_Mutex and ACE_RT_Thread_Mutex to ACE_THREAD_MUTEX and
ACE_RW_THREAD_MUTEX, respectively, so that TAO will build on
non-threaded platforms.
* tao/poa.cpp,
tao/default_server.cpp: Fixed TAO by conditionally
compiling the code that relies on the recursive mutexes
and mutexes. Thanks to Jim Penny <jpenny@universal-fasteners.com>
for reporting this.
Wed Feb 25 22:47:48 1998 Sergio Flores <sergio@tango.cs.wustl.edu>
* tests/Cubit/TAO/MT_Cubit/README::
* tests/Cubit/TAO/MT_Cubit/Task_Client.cpp:
* tests/Cubit/TAO/MT_Cubit/Task_Client.h:
* tests/Cubit/TAO/MT_Cubit/cubit.idl:
* tests/Cubit/TAO/MT_Cubit/cubit_i.cpp:
* tests/Cubit/TAO/MT_Cubit/cubit_i.h: Made changes to have the
option to specify oneway calls instead of the usual two-way
cube_X() call. Now, you can specify the "-o" argument on the
client side.
Wed Feb 25 22:47:16 1998 Nagarajan Surendran <naga@tango.cs.wustl.edu>
* tests/Cubit/TAO/IDL_Cubit/client.cpp (parse_args): Similar to
server.cpp changed the meaning of -s option to not to use the
naming service and naming service is used by default.
* tests/Cubit/TAO/IDL_Cubit/server.cpp (parse_args): Changed the
meaning of the -s option to "don't use the naming service" and made
using the naming service the default.
Wed Feb 25 22:47:16 1998 Nagarajan Surendran <naga@tango.cs.wustl.edu>
* tests/Cubit/TAO/IDL_Cubit/server.cpp (parse_args): Changed the
meaning of the -s flag to "don't use the naming service" and made
using the naming service the default.
Wed Feb 25 18:03:35 1998 Carlos O'Ryan <coryan@cs.wustl.edu>
* orbsvcs/orbsvcs/Makefile:
* orbsvcs/tests/AVStreams/Makefile:
* tests/Cubit/TAO/IDL_Cubit/Makefile:
Updated dependencies.
Wed Feb 25 17:13:05 1998 Nagarajan Surendran <naga@tango.cs.wustl.edu>
* orbsvcs/Naming_Service/Naming_Service.cpp (Naming_Service):
Changed the main to just create an instance of Naming_Service and
call init and run on it.
* orbsvcs/Naming_Service/Naming_Service.h: Added this file which
defines a Naming_Service class to simplify the Naming_Service.cpp
file.
Wed Feb 25 16:52:13 1998 Chris Cleeland <cleeland@cs.wustl.edu>
* tao/servant_base.cpp: Updated to reflect change of poa_current_
from structure to pointer.
* tao/poa.*: Changed signature of pre_invoke() and post_invoke()
to deal with poa current storage coming from the stack.
* tao/poa.cpp (dispatch_servant_i): Changed to create POA Current
information record on the stack during the upcall, thus clearing
the way for proper operation in the face of nested upcalls.
* tao/orbobj.cpp: Updated to reflect change of poa_current_ from
structure to pointer.
* tao/orb_core.*: Changed poa_current_ to a pointer rather than
ownership. This allows the structure holding the POA Current
information to be created in the activation record for the upcall,
thus opening the door for proper operation in the face of nested
upcalls.
* tao/giop.h: Removed cruft/unused code.
* tao/giop.cpp: Addressed some '@@' comments.
* tao/connect.*: Fixed a problem where nested upcalls would only
work every other time. This was caused by the fact that the
servant-turned-client cached the connection to the
client-turned-servant. However, when the client-turned-servant
terminated, the servant-turned-client was ignoring input events on
this cached connection handle. Then, when the next instance of
the client-turned-servant came along and tried to connect, when
the servant-turned-client made the invocation back to the
client-turned-servant, the cached handle was returned. However,
when its input was read, rather than getting the expected
response, an EOF was received and the servant-turned-client
aborted the entire original invocation.
This was fixed by having the TAO_Client_Connection_Handler always
registered to receive input events and to maintain record of its
state so that it can tell whether or not it's expecting input. If
it receives an unexpected input event, then it will simply close
down the connection, possibly logging a warning message as well.
Wed Feb 25 16:06:59 1998 Sumedh Mungee <sumedh@cs.wustl.edu>
* orbsvcs/tests/AVStreams/{client,server}.{h,cpp}: Added callback
support
Wed Feb 25 16:04:49 1998 Sumedh Mungee <sumedh@cs.wustl.edu>
* orbsvcs/orbsvcs/AV/AVStreams_i.cpp,h: Added support for making
upcalls into the application when connection is established,
requested etc..
Wed Feb 25 12:58:04 1998 Nagarajan Surendran <naga@tango.cs.wustl.edu>
* tao/tao_util.cpp: Added the implementation for the 2 new methods
to use a child_poa.
* tao/tao_util.h (class TAO_ORB_Manager): Added 2 new methods
init_child_poa and activate_under_child_poa to create a child_poa
with policies PERSISTENT and USER_ID.
* orbsvcs/orbsvcs/Naming/CosNaming_i.cpp (bind): Added checks for
null pointers in ACE_DEBUG.
* orbsvcs/orbsvcs/Naming/Naming_Utils.cpp: Moved this file from
orbsvcs/Naming_Service/ to this dir.
* orbsvcs/orbsvcs/Naming/Naming_Utils.h: Moved this file from
orbsvcs/Naming_Service/ to this directory.
Wed Feb 25 12:20:04 1998 David L. Levine <levine@cs.wustl.edu>
* tao/any.cpp (operator<<=): removed declaration of local "tc",
which shadowed the declaration in the outer scope.
* tao/giop.cpp (start): added a debug message for connection
failures. This is where problems often occur for new users/
environments, and it'll help diagnose configuration problems.
And Linux getsockname () bugs.
Tue Feb 24 21:05:08 1998 Nagarajan Surendran <naga@mambo.cs.wustl.edu>
* orbsvcs/Naming_Service/Main.cpp: This now contains the main
which was previously in Naming_Service.cpp to facilitate
integrating the IOR_Multicast class defined in Naming_Service.cpp
into the orbsvcs library.
* orbsvcs/Naming_Service/Naming_Utils.h: Defines a new
TAO_Naming_Server wrapper class which can be used as a
Naming_Server component if one wants a separate Naming_Server.
* orbsvcs/Naming_Service/Naming_Utils.cpp: Added this new file
which implements the TAO_Naming_Server class.
* tests/Cubit/TAO/IDL_Cubit/client.cpp (read_ior): Added 2 new
methods read_ior and init_naming_service.
* tests/Cubit/TAO/IDL_Cubit/server.cpp: Now contains the
implementation of Cubit_Server class with a really simple main.
* tests/Cubit/TAO/IDL_Cubit/server.h (class Cubit_Server): Defined
a new Cubit_Server class akin to Cubit_Client.
* orbsvcs/Naming_Service/Naming_Service.cpp: Moved the main () to
a separate file Main.cpp
Tue Feb 24 17:45:20 1998 Douglas C. Schmidt <schmidt@tango.cs.wustl.edu>
* tao/orbobj.h: Removed the unnecessary = 0 on the new run method.
* tao/orbobj.cpp (run): Added a new run() method that takes an
ACE_Time_Value & rather than an ACE_Time_Value * so that we don't
need to pass the address!
Tue Feb 24 14:31:37 1998 Chris Cleeland <cleeland@cs.wustl.edu>
* tests/NestedUpcall/client.cpp (main): Replaced orb->open() with
orb->run(&ACE_Time_Value::zero), which though still non-standard,
is less non-standard than open().
* tests/NestedUpcall/README: Added one for the good of all
mankind.
Tue Feb 24 13:23:48 1998 Michael Kircher <mk1@cec.wustl.edu>
* orbsvcs/tests/Simulator/NavWeap.idl: Added new fields
* orbsvcs/tests/Simulator/Event_Supplier/Event_Sup.cpp:
adopted to new IDL file
* orbsvcs/tests/Simulator/Sim_Display/Display_Push_Consumer.java:
adopted to new IDL file
Tue Feb 24 00:41:48 1998 Alexander Babu Arulanthu <alex@merengue.cs.wustl.edu>
* orbsvcs/orbsvcs/Property/CosPropertyService_i.cpp: Added TITLE,
DESCRIPTION for all the classes
Mon Feb 23 22:40:22 1998 David L. Levine <levine@cs.wustl.edu>
* tao/cdr.h: removed old, commented out configuration code.
* TAO_IDL/be/be_decl.cpp (tc_name2long): changed type of "buf" array
from char to long so that it gets properly aligned. This solves
the core dump problem with tao_idl on egcs/Solaris. Thanks to
Håkan Källberg <hk@simulina.se> for reporting this.
* TAO/tests/Thruput/TAO/utils.cpp (prep_timer): cast LONG_MAX
to ACE_INT32 to avoid overflow problems if the result is an
int type, and long is bigger than int.
* orbsvcs/orbsvcs/Event/Event_Channel.i: specify constant
2147483648u as unsigned, to avoid compiler warning.
* TAO_IDL/Makefile: removed -fPIC for g++ because it's not needed
without shared libraries.
* TAO_IDL/Makefile: added Cleanup section, which cleans out builds
that were created with the nested version of the Makefile.
Mon Feb 23 22:13:14 1998 David L. Levine <levine@cs.wustl.edu>
* TAO version 0.1.5, released Mon Feb 23 22:13:14 1998.
Mon Feb 23 21:30:04 1998 David L. Levine <levine@cs.wustl.edu>
* TAO_IDL/Makefile: added the g++ options that were picked up
from be/Makefile.
* tests/Cubit/TAO/MT_Cubit/server.cpp (start_servants):
declare local "i" outside of for loop because it is reused
in a few loops.
Mon Feb 23 20:45:03 1998 Michael Kircher <mk1@cec.wustl.edu>
* orbsvcs/tests/Simulator/Sim_Display: Fixed some small
bugs concerning the representation
* orbsvcs/tests/Simulator/Event_Supplier/Event_Sup.cpp:
Changed the rate on which events are supplied
Mon Feb 23 18:51:03 1998 Sergio Flores <sergio@polka.cs.wustl.edu>
* orbsvcs/Naming_Service/Naming_Service.cpp (main): Set the handle
limit to the maximum.
* tests/Cubit/TAO/MT_Cubit/server.cpp (initialize_orb): Fixed a
warning from compiler.
Mon Feb 23 17:33:52 1998 Carlos O'Ryan <coryan@cs.wustl.edu>
* TAO_IDL/Makefile:
We don't generate the compiler as a single executable, without
multiple shared libraries.
Mon Feb 23 16:55:08 1998 David L. Levine <levine@cs.wustl.edu>
* orbsvcs/orbsvcs/Event_Service_Constants.h: changed types of
ACE_ES_* constants from u_long to long to match
RtecEventComm::EventType.
* orbsvcs/orbsvcs/Event/Memory_Pools.cpp: updated template
instantiations to use ACE_Singleton instead of ACE_TSS.
Mon Feb 23 12:25:21 1998 Carlos O'Ryan <coryan@cs.wustl.edu>
* orbsvcs/orbsvcs/Event/Memory_Pools.h:
* orbsvcs/orbsvcs/Event/Memory_Pools.i:
* orbsvcs/orbsvcs/Event/Memory_Pools.cpp:
We cannot use TSS memory pools: in some cases the memory is
allocated in one thread and disposed in another. Until we can
clean out that behavior I'm using a singleton.
Mon Feb 23 11:57:16 1998 Alexander Babu Arulanthu <alex@merengue.cs.wustl.edu>
* orbsvcs/orbsvcs/Property/ : Changed the names EXT_ID and INT_ID
that I used for Hash_Table operations to less generic
CosProperty_Hash_Key and CosProperty_Hash_Value respectively.
Mon Feb 23 11:40:37 1998 David L. Levine <levine@cs.wustl.edu>
* tao/corbacom.h (CORBA::LongLong): use ACE_BIG_ENDIAN
instead of TAO_WORDS_BIGENDIAN.
* tao/orbconf.h (TAO_ENCAP_BYTE_ORDER): use ACE_LITTLE_ENDIAN
instead of trying to figure it out from cpp #defines, which
failed for LynxOS. Also, removed TAO_WORDS_BIGENDIAN.
* tao/interp.cpp (declare_entry,setup_entry): use the align_struct_
with padding by default, unless TAO_HAS_FIXED_BYTE_ALIGNMENT is
#defined.
* tao/corba.h: added ACE_UNUSED_ARG (VAR); to TAO_CATCH macro
for platforms without ACE_HAS_EXCEPTIONS, to avoid compiler
warning about unused variable if VAR isn't used anywhere.
* TAO_IDL/Makefile: added clean and realclean targets for
CROSS-COMPILE platforms.
* TAO_IDL/be/be_interface.cpp (be_interface::relative_name):
commented out unused local variable "def_scope".
* TAO_IDL/be/be_sequence.cpp: commented out some unused variables
to avoid compiler warnings. The comments correspond to commented-out
sections of code.
* TAO_IDL/be/be_visitor_interface.cpp
(be_visitor_collocated_ss::visit_operation): removed unused
local "nl".
* TAO_IDL/be/be_visitor_root.cpp (be_visitor_root_ch::visit_sequence):
added ACE_UNUSED_ARG (node).
* TAO_IDL/be/be_visitor_sequence.cpp
(be_visitor_sequence_ch::visit_sequence): commented out unused
local "cg".
* orbsvcs/tests/Event_Latency/Event_Latency.cpp
(Latency_Supplier::push): added ACE_UNUSED_ARG (_env).
Mon Feb 23 10:58:42 1998 Carlos O'Ryan <coryan@cs.wustl.edu>
* orbsvcs/orbsvcs/AV/AVStreams_i.h:
* orbsvcs/orbsvcs/Event/Dispatching_Modules.h:
* orbsvcs/orbsvcs/Event/Event_Channel.cpp:
* orbsvcs/orbsvcs/Event/Fast_Reactor.h:
* orbsvcs/orbsvcs/Event/GPlot_File.h:
* orbsvcs/orbsvcs/Property/CosPropertyService_i.h:
* orbsvcs/orbsvcs/Property/CosProperty_Hash.h:
* orbsvcs/orbsvcs/Sched/DynSched.h:
* orbsvcs/orbsvcs/Sched/SchedEntry.h:
* orbsvcs/orbsvcs/Sched/Strategy_Scheduler.h:
* Added more TAO_ORBSVCS_Export macros, this time in files that
are not compiled all the time.
Sun Feb 22 22:14:08 1998 Chris Cleeland <cleeland@lambada.cs.wustl.edu>
* tao/giop.cpp (invoke): Created my own temporary variable in
order to de-warn on g++ and Sun CC.
Sun Feb 22 20:12:24 1998 Nanbor Wang <nanbor@cs.wustl.edu>
* orbsvcs/orbsvcs/orbsvcs/orbsvcs.dsp: Adapted chages to the directory
rearrangement.
* orbsvcs/orbsvcs/Runtime_Scheduler.h:
* orbsvcs/orbsvcs/Scheduler_Utilities.h:
* orbsvcs/orbsvcs/Event/BCU.h:
* orbsvcs/orbsvcs/Event/Dispatching_Modules.h:
* orbsvcs/orbsvcs/Event/Event_Channel.h:
* orbsvcs/orbsvcs/Event/Memory_Pools.h:
* orbsvcs/orbsvcs/Event/RT_Task.h:
* orbsvcs/orbsvcs/Event/ReactorTask.h:
* orbsvcs/orbsvcs/Event/Task_Manager.h:
* orbsvcs/orbsvcs/Naming/CosNaming_i.h:
* orbsvcs/orbsvcs/Naming/Entries.h:
* orbsvcs/orbsvcs/Sched/Config_Scheduler.h:
* orbsvcs/orbsvcs/Sched/Scheduler.h:
* orbsvcs/orbsvcs/Sched/Scheduler_Generic.h: Added
TAO_ORBSVCS_Export flags.
Sat Feb 21 08:08:55 1998 David L. Levine <levine@cs.wustl.edu>
* rules.tao.GNU: added -Wno-used to CCFLAGS, with g++ only.
* tao/align.h,corbacom.h,orbconf.h,orbobj.cpp:
use ACE Basic_Types instead of local SIZEOF_* macros.
* tao/debug.cpp: null f{,un}lockfile with ACE_HAS_DCE_DRAFT4_THREADS
(LynxOS).
* tao/any.cpp (operator<<=): initialized local "tc" to avoid compiler
warnings.
* tests/POA/On_Demand_Activation/Servant_Activator.cpp (etherealize),
Servant_Locator.cpp (preinvoke,postinvoke):
added some ACE_UNUSED_ARG's.
* TAO_IDL/Makefile,tao/Makefile: use CROSS-COMPILE flag instead of
CHORUS, LYNXOS, and VXWORKS. This allows us to add new cross-
compile platforms without having to modify the TAO Makefiles.
The new platform need only set the CROSS-COMPILE flag.
Sat Feb 21 00:31:20 1998 Chris Cleeland <cleeland@lambada.cs.wustl.edu>
* tao/connect.* (send_request): Modified to take an extra arg
which specifies whether or not the request is a twoway, i.e.,
whether or not it should enter a sub-event loop looking for a
reply.
* tao/giop.cpp (invoke): Changed to match signature of
send_request.
* tests/NestedUpcall/Reactor.idl: Added a oneway method to test
nested upcalls with oneways.
* tests/NestedUpcall/reactor_i.*: Added the oneway implementation.
* tests/NestedUpcall/client.cpp: Made oneway invocation to test a
problem that the nested upcall allowing ORB exhibited. Thanks to
Carlos for reporting this!
Fri Feb 20 14:40:28 1998 Chris Cleeland <cleeland@lambada.cs.wustl.edu>
* tao/connect.*: Extended TAO_Client_Connection_Handler to be run
a sub-event loop while sending a request in order to handle nested
upcalls. A really cool side-effect of this is that if your
application start out being a client but has servants too, it's
really easy to get that up and running. An example of this is
shown in the new test, NestedUpcall.
* tao/giop.cpp (invoke): Changed to call send_request on the
client connection handler rather than TAO_GIOP. This new
send_request will handle nested upcalls (see above).
* tao/giop.* (send_request): Changed signature so that the
TAO_SVC_HANDLER* wasn't passed by reference. This was totally
unnecessary.
* tao/{iioporb,orbobj}.* (string_to_object): Removed unnecessary
'const' preceding CORBA::String.
Fri Feb 20 08:29:35 1998 David L. Levine <levine@cs.wustl.edu>
* tests/Cubit/TAO/MT_Cubit/Task_Client.cpp (svc): added .in ()
dereference to several objref uses.
* orbsvcs/orbsvcs/Event/Memory_Pools.cpp: updated the
ACE_TSS <ACE_Malloc<...> > template instantiation to use the
ACE_LOCAL_MEMORY_POOL macro.
* orbsvcs/orbsvcs/Event/Event_Channel.{h,cpp}
(ACE_ES_{Con,Dis}junction_Group): added virtual destructors.
Thu Feb 19 12:54:50 1998 Alexander Babu Arulanthu <alex@merengue.cs.wustl.edu>
* orbsvcs/orbsvcs/Property/CosPropertyService_i.cpp
(create_initial_propertysetdef): Assigned dummy return values in
order to avoid Warnings.
* orbsvcs/orbsvcs/Property/CosProeprtyService.idl file removed
from here. It is supposed to be there in ./..
Thu Feb 19 12:49:49 1998 David L. Levine <levine@cs.wustl.edu>
* Makefile: build orbsvcs before tests.
* tao/Makefile: set fakesvcconf on LynxOS.
* TAO_IDL/Makefile: don't build the IDL compiler for
Chorus, LynxOS, or VxWorks.
* tao/orbobj.cpp: enhanced some printouts.
* tao/tao_util.cpp (orb): added .in () dereference to orb_ argument.
Thu Feb 19 10:15:00 1998 Michael Kircher <mk1@cs.wustl.edu>
* orbsvcs/test/Simulator: Set the file permissions right.
Thu Feb 19 10:15:00 1998 Michael Kircher <mk1@cs.wustl.edu>
* orbsvcs/test/Simulator:
Intruduced new demo, using the Event Service as transport
media for monitoring events.
See orbsvcs/test/Simulator/README for more information
in orbsvcs/tests/Simulator:
NavWeap.idl - IDL definition of the Navigation and Weapons struct
ss - restart services script
in orbsvcs/tests/Simulator/Event_Supplier:
Event_Sup.cpp - Event Supplier
Event_Sup.h - Event Supplier class definition
Makefile - Event Supplier Makefile
(Event_Con.cpp, Event_Con.h - Event Consumer for testing)
svc.conf - helper file
in orbsvcs/tests/Simulator/Sim_Display:
Display.java - Simulation
Display_Client.java - Main Entry point of the Simulation
Display_Consumer.java - Event Consumer
Display_Object.java - Interface for an Display_Object
Display_Weapons.java - Implementation of an Display_Object
Display_Art_Horizon.java - Implementation of an Display_Object
Display_Object_Factory.java - Factory Object for Display_Objects
Graph.java - Simulation
Graph_Panel.java - Simulation
NS_Resolve.java - Resolving the inital reference to the Naming Service
Queue.java - Simulation
Sim_Panel.java - Simulation
Border_Panel.java - Simulation
Wed Feb 18 22:15:06 1998 Sumedh Mungee <sumedh@cs.wustl.edu>
* tao/tao_util.cpp,h: Updated class to include a constructor so
user can supply his own orb, poa or manager.
Wed Feb 18 21:40:24 1998 <coryan@MILONGA>
* docs/orbsvcs.html:
Updated the description of orbsvcs directory hierarchy.
Wed Feb 18 19:45:57 1998 Alexander Babu Arulanthu <alex@merengue.cs.wustl.edu>
* Added the idl file for the CosPropertyService , i.e.
orbsvcs/orbsvcs/Property/CosPropertyService.idl
Wed Feb 18 17:56:54 1998 Carlos O'Ryan <coryan@cs.wustl.edu>
* orbsvcs:
Moved all the implementations to the orbsvcs libraries, this is
the first step to give the user control over object
collocation.
Please note that this version is only known to compile on
Solaris/CC, it will *not* compile on NT (some "export" macros
are missing); since this change is very disruptive (because it
moves files around) it was thought that holding it for a long
time will result in more harm than good.
A top-level make on $TAO_ROOT/orbsvcs works OK.
Wed Feb 18 17:10:23 1998 Sumedh Mungee <sumedh@cs.wustl.edu>
* tao/tao_util.cpp (init): The ORB_Manager class does not create
it's own POA, but uses the default root POA instead.
Wed Feb 18 16:02:34 1998 Alexander Babu Arulanthu <alex@merengue.cs.wustl.edu>
* Commented and indented the follwing files in orbsvcs/orbsvcs/
CosPropertyService.idl
CosPropertyService_i.h
CosPropertyService_i.cpp
Wed Feb 18 12:28:58 1998 Carlos O'Ryan <coryan@cs.wustl.edu>
* tests/Thruput/TAO/tmplinst.cpp:
The templates should be instantiated over the CORBA:: typedefs,
otherwise they fail in weird platforms.
Wed Feb 18 11:57:24 1998 Chris Cleeland <cleeland@merengue.cs.wustl.edu>
* tests/Cubit/TAO/MT_Cubit/Makefile (LDLIBS): Removed -lposix4
from the LDLIBS. Thanks to Bob Olson <olson@mcs.anl.gov> for
reporting this.
Wed Feb 18 02:58:40 1998 Nanbor Wang <nanbor@cs.wustl.edu>
* orbsvcs/Naming_Service/Naming_Service.cpp (IOR_Multicast): Make
sure that response_addr_ is properly initialized before it is
used to initialize response_, which is an ACE_SOCK_Dgram.
Tue Feb 17 20:20:35 1998 Douglas C. Schmidt <schmidt@flamenco.cs.wustl.edu>
* tao/giop.cpp: Removed an extra explicit template instantiation
of TAO_Unbounded_Sequence<TAO_GIOP_ServiceContext>. Thanks to
Ben Eng <ben@jetpen.com> for reporting this!
* tests/Thruput/TAO/Makefile: Removed the "clean" macro since it
was conflicting with the TAO default.
Tue Feb 17 21:47:41 1998 Nagarajan Surendran <naga@tango.cs.wustl.edu>
* tests/Cubit/TAO/IDL_Cubit/cubit_i.cpp (shutdown): Renamed please_exit
method to shutdown.
* tests/Cubit/TAO/IDL_Cubit/cubit.idl: Renamed please_exit operation to
shutdown.
Tue Feb 17 17:22:47 1998 Chris Cleeland <cleeland@cs.wustl.edu>
* TAO version 0.1.4, released Tue Feb 17 17:22:47 1998.
Tue Feb 17 16:50:20 1998 Chris Cleeland <cleeland@cs.wustl.edu>
* tao/orbobj.cpp (open): Modified so that if it's been called
multiple times it returns '1' rather than '-1', thus not appearing
to calling code as an error.
Tue Feb 17 16:05:55 1998 Nanbor Wang <nanbor@cs.wustl.edu>
* orbsvcs/orbsvcs/orbsvcs.dsp: Chris G. updated the file list of
this project.
* orbsvcs/orbsvcs/Time_Utilities.h:
* orbsvcs/orbsvcs/Event_Utilities.h: Added MS keayword,
TAO_ORBSVCS_Export.
* tests/Cubit/TAO/IDL_Cubit/client.dsp:
* tests/Cubit/TAO/IDL_Cubit/server.dsp: Updated project setting to
take the advantage of TAO naming service.
* orbsvcs/tests/Event_Latency/Event_Latency.dsp: Updated project
setting to use DLL version of orbsvcs.
Tue Feb 17 15:39:49 1998 Sergio Flores <sergio@tango.cs.wustl.edu>
* tests/Cubit/TAO/MT_Cubit/Makefile:
* tests/Cubit/TAO/MT_Cubit/Task_Client.cpp:
* tests/Cubit/TAO/MT_Cubit/Task_Client.h::
* tests/Cubit/TAO/MT_Cubit/client.cpp:
* tests/Cubit/TAO/MT_Cubit/cubit.idl:
* tests/Cubit/TAO/MT_Cubit/cubit_i.cpp:
* tests/Cubit/TAO/MT_Cubit/cubit_i.h:
* tests/Cubit/TAO/MT_Cubit/server.cpp:
* tests/Cubit/TAO/MT_Cubit/server.h: Made a bunch of changes to
correctly support the POA. In addition, MT_Cubit now uses the
Name Service to bind the Cubit objects. In case the Name Service
doesn't exist, there is still the "cut&paste" ior method that uses
a cubit factory to give the client a reference to the cubit
objects.
Tue Feb 17 13:25:52 1998 Nanbor Wang <nanbor@cs.wustl.edu>
* TAO-INSTALL.html: Added instructions on using the CPP_LOCATION
environment variable in NT's section. You can also use it on
UNIX but NT is the only platform which depends on it.
Tue Feb 17 11:30:53 1998 David L. Levine <levine@cs.wustl.edu>
* tao/orbconf.h: set TAO_ALIGNMENT_MAGIC_NUMBER to 128 if
ACE_SIZEOF_LONG > 4, e.g., on 64-bit CPUs.
* tao/except.cpp (make_standard_typecode): replaced unsigned long/
long with CORBA::ULong/CORBA::Long.
* TAO_IDL/ast/ast_array.cpp,ast_operation.cpp,ast_sequence.cpp,
ast_string.cpp,
TAO_IDL/util/utl_decllist.cpp,utl_exceptlist.cpp,utl_exprlist.cpp,
utl_idlist.cpp,utl_labellist.cpp,utl_namelist.cpp,utl_strlist.cpp:
moved base class initialization to beginning of initializer list.
Tue Feb 17 10:43:45 1998 Carlos O'Ryan <coryan@cs.wustl.edu>
* orbsvcs/orbsvcs/CosTimeBase.idl:
* orbsvcs/orbsvcs/Time_Utilities.cpp:
* orbsvcs/orbsvcs/Time_Utilities.h:
* orbsvcs/orbsvcs/Time_Utilities.i:
Added the standard CORBA types for time, also added some helper
routines to convert between BasicTime::TimeT and the common
representations of time in ACE (ACE_Time_Value and ACE_hrtime_t)
* orbsvcs/orbsvcs/RtecEventComm.idl:
* orbsvcs/orbsvcs/RtecScheduler.idl:
* orbsvcs/tests/EC_Multiple/EC_Multiple.cpp:
* orbsvcs/tests/Event_Latency/Event_Latency.cpp:
* orbsvcs/Event_Service/ReactorTask.cpp:
* orbsvcs/Event_Service/Task_Manager.cpp:
* orbsvcs/Scheduling_Service/Config_Scheduler.cpp:
* orbsvcs/Scheduling_Service/Config_Scheduler.h:
* orbsvcs/Scheduling_Service/Scheduler.cpp:
* orbsvcs/orbsvcs/Channel_Clients_T.i:
* orbsvcs/orbsvcs/Event_Service_Constants.h:
* orbsvcs/orbsvcs/Event_Utilities.i:
* orbsvcs/orbsvcs/Runtime_Scheduler.cpp:
* orbsvcs/orbsvcs/Runtime_Scheduler.h:
* orbsvcs/Event_Service/Dispatching_Modules.cpp:
* orbsvcs/Event_Service/Event_Channel.cpp:
Adapted all the code to use the new time structures.
* orbsvcs/orbsvcs/Makefile:
* orbsvcs/tests/EC_Multiple/Makefile:
* orbsvcs/tests/Event_Latency/Makefile:
* orbsvcs/tests/Logger/Makefile:
* orbsvcs/tests/Simple_Naming/Makefile:
* orbsvcs/Event_Service/Makefile:
* orbsvcs/Naming_Service/Makefile:
* orbsvcs/Scheduling_Service/Makefile:
* orbsvcs/Dump_Schedule/Makefile:
Updated dependencies.
* docs/releasenotes/ec.html:
Updated documentation for this release.
Tue Feb 17 07:40:49 1998 Douglas C. Schmidt <schmidt@tango.cs.wustl.edu>
* tao/any.cpp: Added a "return *this" to operator= to stop certain
compilers from complaining. Thanks to Andy for fixing this.
Tue Feb 17 04:08:11 1998 Nanbor Wang <nanbor@cs.wustl.edu>
* TAO_IDL/driver/drv_preproc.cpp (DRV_cpp_init): Setting the
CPP_PATH has been causing a lot of nasty trouble on NT. I
changed this function to allow overwriting the internal c++
compiler location at run time using $CPP_LOCATION. If someone
forgets to set the CPP_PATH when compiling tao_idl, one can
make tao_idl work by defining this environment variable to
something like:
set CPP_LOCATION="C:/Program Files/DevStudio/VC/BIN/CL.exe"
Notice that CPP_LOCATION _must_ be a full pathname of the c++
compiler.
Tue Feb 17 00:56:08 1998 Alexander Babu Arulanthu <alex@merengue.cs.wustl.edu>
* orbsvcs/tests/CosPropertyService/main.cpp (main): Added some
more testing for Any in and out of Hash Table.
Mon Feb 16 18:01:23 1998 Chris Cleeland <cleeland@cs.wustl.edu>
* TAO version 0.1.3, released Mon Feb 16 18:01:23 1998.
Mon Feb 16 18:00:15 1998 Chris Cleeland <cleeland@cs.wustl.edu>
* release.pl: Changed C++ comment leaders to Perl comment leaders.
Mon Feb 16 17:51:15 1998 Nagarajan Surendran <naga@tango.cs.wustl.edu>
* tests/Cubit/TAO/IDL_Cubit/svr.cpp : Added -s option to use the
NamingService. Default doesn't use NamingService.
Mon Feb 16 17:38:15 1998 Chris Cleeland <cleeland@cs.wustl.edu>
* tao/iioporb.cpp: Made sure to count separators when allocating
space for the IOR. This corrected ABW errors in purify.
* tao/connect.cpp: Explicitly set the buffer when being purified
to avoid complaints.
Mon Feb 16 17:22:15 1998 Nagarajan Surendran <naga@tango.cs.wustl.edu>
* tests/Cubit/TAO/IDL_Cubit/Makefile: Changed LDFLAGS to link orbsvcs
library.Now uses the Naming service.
* tests/Cubit/TAO/IDL_Cubit/svr.cpp: Added code to register
IDL_Cubit/cubit_factory name with the naming service.
* tests/Cubit/TAO/IDL_Cubit/clnt.cpp: Added a -s flag to use the
NamingService to resolve the cubit_factory flag. It still has the
commandline IOR and -f ior_file options.
Mon Feb 16 13:29:31 1998 Brian Mendel <brian.r.mendel@boeing.com>
* tao/poa.cpp: Added SCE_HAS_TEMPLATE_TYPEDEFS_CHAR guards
around ACE_OS:strlen calls for WChar(s).
* tao/default.bld, tao.bld: Update VxWorks GHS Build files.
Mon Feb 16 12:24:04 1998 Chris Cleeland <cleeland@cs.wustl.edu>
* tests/Cubit/TAO/IDL_Cubit/clnt.h (needed.): Added missing member
variable. Things now compile.
Mon Feb 16 10:18:25 1998 David L. Levine <levine@cs.wustl.edu>
* tao/poa.cpp (decode_string_to_sequence): moved declaration of
local "i" outside of loop because it is used after the loop.
* orbsvcs/Event_Service/RT_Task.cpp (synch_threads): try two
fallback strategies if the task activiation fails:
ACE_SCHED_OTHER scheduling class with requested priority, then
ACE_SCHED_OTHER scheduling class with minimum thread priority.
Thanks to Bob Olson <olson@mcs.anl.gov> for reporting the
problem in Irix, which doesn't have a thread priority of 0
with ACE_SCHED_OTHER.
* tao/corbacom.h (CORBA_SEQUENCE): replaced CORBA::B_FALSE with 0
because some compilers, such as egcs, can't handle its use before
definition below in class CORBA. Thanks to Todd Pack
<todd@rwii.com> for reporting this.
* tao/giop.cpp (TAO_GIOP_message_name): cast quotient of sizeof's
to int to avoid signed/unsigned comparison.
* tao/interp.cpp (calc_nested_size_and_alignment,private_size,
private_alignment): qualified TC_KIND_COUNT with CORBA::,
so that the file-scope TC_KIND_COUNT isn't used in the
comparison.
Mon Feb 16 10:14:34 1998 Carlos O'Ryan <coryan@cs.wustl.edu>
* TAO_IDL/be/be_array.cpp:
The _free method was emitted in the .i file, but it was not
declared inline. Thanks to Michael Kircher (mk1@cs.wustl.edu)
for reporting this one.
Mon Feb 16 02:34:24 1998 Alexander Babu Arulanthu <alex@merengue.cs.wustl.edu>
* orbsvcs/orbsvcs/CosPropertyService_i.cpp: Defined some of the
functions for the TAO_PropertySet class.
* orbsvcs/orbsvcs/CosPropertyService_i.h: Defined the classes for
implementing the CosPropertyService for TAO.
* orbsvcs/tests/CosPropertyService/Makefile: Added this
Makefile ( Makefile for making test program for the
PropertyService )
* orbsvcs/orbsvcs/CosProperty_Hash.cpp: Added this file.
* orbsvcs/orbsvcs/CosProperty_Hash.h (Table): Added this
file. This contains the classes for maintaining Hash Table for
storing the PropertySets.
* orbsvcs/tests/CosPropertyService/main.cpp (main): Added this
test file for CosPropertyService
Sun Feb 15 20:12:00 1998 Chris Cleeland <cleeland@tango.cs.wustl.edu>
* tao/poa.{h,cpp}: Heavily modified several routines to correct
problems with the notion of what, exactly, an object key really
is. Some were treating it as simply an octet sequence, others as
a zero-terminated string (C-style), while others as a sequence of
octets which must be terminated by a zero.
Object keys and IDs are now stored canonically as opaque octet
sequences, and two new conversion routines
(encode_sequence_to_string and decode_string_to_sequence) have
been created to convert between these octet sequences and C-style
strings.
* tao/iioporb.cpp (object_to_string): Modified to utilize the new
encoding routines to convert from octet sequences to printable
strings.
* tao/{tao_internals,orbobj}.cpp: Added explicit inclusion of
Object_Manager.h.
Sun Feb 15 16:15:49 1998 Nagarajan Surendran <naga@tango.cs.wustl.edu>
* tests/Param_Test/options.cpp (parse_args): Changed the -f option
to read the servant-IOR from a file.
* tests/Cubit/TAO/IDL_Cubit/clnt.cpp: Changed the -f
<cubit_factory_key> to -f <cubit_factory_ior_file>. Reads the ior
from that file.
* tests/Cubit/TAO/IDL_Cubit/svr.cpp : Added -o <ior_output_file>
option to output the cubit factory ior to a file.
Sat Feb 14 22:39:46 1998 Sergio Flores <sergio@tango.cs.wustl.edu>
* orbsvcs/tests/Logger/clnt.cpp (init): Added negative test case
of name not found when calling the naming service' resolve()
method.
Fri Feb 13 19:37:01 1998 Douglas C. Schmidt <schmidt@flamenco.cs.wustl.edu>
* tao/orbobj.cpp (resolve_name_service): Changed char buf[BUFSIZ]
to char buf[ACE_MAX_DGRAM_SIZE] to make sure we don't overflow
the buffer!
Fri Feb 13 18:18:54 1998 Sergio Flores <sergio@polka.cs.wustl.edu>
* tests/Makefile:
* tests/Thruput/TAO/client.cpp:
* tests/Thruput/TAO/Makefile:
* tests/Thruput/TAO/server.cpp:
* tests/Thruput/TAO/ttcp_i.cpp:
* tests/Thruput/TAO/ttcp_i.h:
* tests/Thruput/TAO/utils.cpp: Made changes to use the new POA.
Fri Feb 13 12:56:01 1998 David L. Levine <levine@cs.wustl.edu>
* release.pl: fixed typo, missing comma between chmod args.
Fri Feb 13 12:46:26 1998 David L. Levine <levine@cs.wustl.edu>
* TAO version 0.1.2, released Fri Feb 13 12:46:26 1998.
Thu Feb 12 21:09:22 1998 Sumedh Mungee <sumedh@cs.wustl.edu>
* orbsvcs/orbsvcs/AVStreams_i.{h,cpp}: Updated MMDevice and StreamCtrl
Thu Feb 12 20:55:48 1998 Sumedh Mungee <sumedh@cs.wustl.edu>
* tests/AVStreams/client,server: Updated to use the new StreamCtrl, MMDevice etc..
Thu Feb 12 11:06:48 1998 Chris Cleeland <cleeland@tango.cs.wustl.edu>
* tao/poaC.i (PortableServer): Moved POA::_nil() definition above
many uses.
Thu Feb 12 10:21:47 1998 David L. Levine <levine@cs.wustl.edu>
* tests/TAO/Cubit/TAO/MT_Cubit/Task_Client.cpp (svc): added .in ()
to objref and cb so that it will compile with g++.
* tao/Makefile,xdr.{h,cpp},t-xdr.cpp,corba.h: removed xdr files
because they're no longer used.
* tao/encode.cpp,poa.{h,cpp},poaC.{h,cpp}: replaced wchar_t
with CORBA::WChar.
* TAO_IDL/ast/ast_generator.cpp,TAO_IDL/be/be_generator.cpp
(create_wstring): use short instead of wchar_t if
ACE_HAS_WCHAR_TYPEDEFS_CHAR.
* TAO_IDL/be/be_array.cpp (tao_name): changed type of loop index
"i" to unsigned int to avoid signed/unsigned comparison.
* TAO_IDL/be/be_state_exception.cpp,be_state_structure.cpp (gen_code):
added default case to switch statement, which sets "os" to 0, to
avoid compiler warning about possible unitialized use.
* tests/POA/Default_Servant/File_i.cpp (lseek): changed type
of "result" to CORBA::Long to avoid signed/unsigned comparison
with -1. Cast it to CORBA::ULong on return. Also, added a
couple of ACE_UNUSED_ARG (env)'s.
* tests/Param_Test/server.cpp (main): initialize local
"param_test" to 0 to avoid warning about unitialized use.
* orbsvcs/Scheduling_Service (compute_scheduling): added cast
of impl->tasks () to RtecScheduler::handle_t to avoid signed/
unsigned comparison. Also, added a bunch of ACE_UNUSED_ARG (env)'s.
* orbsvcs/tests/EC_Multiple/EC_Multiple.cpp (EC_Proxy::push,
Test_ECP::push): changed type of loop index "i" to u_int to
avoid signed/unsigned comparison. Also, added an
ACE_UNUSED_ARG (env).
Wed Feb 11 11:20:34 1998 David L. Levine <levine@cs.wustl.edu>
* tao/iiopobj.h,stub.h (operator =): added return type to avoid
compiler warning, and wrapped in ACE_UNIMPLEMENTED_FUNC.
* tao/corbacom.h: rearranged LongLong typedefs so that they work
with ACE_LACKS_LONGLONG_T.
* tao/Timeprobe.cpp (print_times): divide by 1000u instead of 1000
to allow overload resolution of ACE_U_LongLong::operator /.
* tao/orb_core.cpp: removed break's after return's to avoid compiler
warnings.
* tao/typecode.cpp: wrapped some break and return statements with
ACE_NOTREACHED to avoid compiler warnings.
* tao/debug.cpp (use_debug_stream_to_get_rid_of_warning): changed
to return debug_stream instead of (not) using it. ghs warned that
"controlling expression is constant" the way things were.
* TAO_IDL/Makefile: added default_vxworks target to prevent make
warning.
Tue Feb 10 17:39:13 1998 Chris Gill <cdgill@cs.wustl.edu>
* orbsvcs/Scheduling_Service/SchedEntry.cpp
orbsvcs/Scheduling_Service/DynSched.{cpp,h}
orbsvcs/Scheduling_Service/Strategy_Scheduler.{cpp,h} :
fixes to priority assignment, timeline generation methods
(fourth cut - timelines being generated)
Tue Feb 10 11:19:20 1998 Carlos O'Ryan <coryan@cs.wustl.edu>
* orbsvcs/tests/EC_Multiple/EC_Multiple.cpp:
Fixed several problems detected by SGI/C++ compiler.
Mon Feb 9 20:00:55 1998 Chris Gill <cdgill@cs.wustl.edu>
* orbsvcs/Scheduling_Service/SchedEntry.{cpp,h,i}
orbsvcs/Scheduling_Service/DynSched.{cpp,h,i}
orbsvcs/Scheduling_Service/Strategy_Scheduler.{cpp,h} :
finished timeline coding, got a clean source compile
(third cut - still a work in progress)
Mon Feb 9 12:59:29 1998 Carlos O'Ryan <coryan@cs.wustl.edu>
* orbsvcs/orbsvcs/RtecEventComm.idl:
* orbsvcs/Event_Service/Event_Channel.cpp:
* orbsvcs/Event_Service/Event_Channel.i:
* orbsvcs/orbsvcs/Event_Utilities.cpp:
* orbsvcs/orbsvcs/Event_Utilities.i:
* orbsvcs/tests/Event_Latency/Event_Latency.cpp:
Added comments to the EventComm module and a new field (ttl_:
Time-to-Live) to the event data structure.
* orbsvcs/orbsvcs/Channel_Clients_T.cpp:
* orbsvcs/orbsvcs/Channel_Clients_T.h:
* orbsvcs/orbsvcs/Channel_Clients_T.i:
I finally needed the TIE classes for PushConsumers and
PushSupplier, they work OK now.
* orbsvcs/tests/EC_Multiple/EC_Multiple.cpp:
* orbsvcs/tests/EC_Multiple/EC_Multiple.h:
* orbsvcs/tests/EC_Multiple/README:
* orbsvcs/tests/EC_Multiple/Makefile:
* orbsvcs/tests/Makefile:
Added a simple example on how to connect multiple event
channels.
* orbsvcs/Event_Service/Event_Service.cpp:
* orbsvcs/Naming_Service/CosNaming_i.cpp:
Added and/or fixed some debug messages.
* orbsvcs/Scheduling_Service/Config_Scheduler.cpp:
Reduce default output level.
* tao/corba.h:
Fixed TAO_RETHROW_RETURN macro.
* docs/releasenotes/ec.html:
* docs/releasenotes/index.html:
Split the Event Channel release notes to a separate file, the
index.html was growing without control.
Mon Feb 9 09:15:08 1998 Carlos O'Ryan <coryan@cs.wustl.edu>
* docs/releasenotes/orbcore.html:
Fixed reference to TAO-Install.html, thanks to Sreedharani
<dharani@sutmyn.com> for reporting this one.
Sun Feb 08 21:41:24 1998 David L. Levine <levine@cs.wustl.edu>
* tao_util.cpp (run): added return 0 statement at end.
Sun Feb 8 19:48:33 1998 Chris Gill <cdgill@cs.wustl.edu>
* orbsvcs/Scheduling_Service/SchedEntry.{cpp,h,i} : Moved the
Classes for the various scheduling entries out of the
ACE_Scheduler class and into a separate set of files
(first cut - still a work in progress)
* orbsvcs/Scheduling_Service/DynSched.{cpp,h,i} : Completed
merges of dispatches, and a thorough review of priority
assignment (second cut - still a work in progress)
* orbsvcs/Scheduling_Service/Strategy_Scheduler.{cpp,h} :
Completed merges of dispatches, and a thorough review of the
modified strategies (second cut - still a work in progress)
Fri Feb 6 15:31:17 1998 Carlos O'Ryan <coryan@cs.wustl.edu>
* TAO_IDL/be/be_array.cpp:
Fixed several problems with the array code generation,
including:
+ The name for the array TypeCode and its alias TypeCode were
clashing.
+ Several inconsistencies in the declaration and definition of
operations for _var, _out and _forany parameters.
Thanks to James Mason <jmason2@mdc.com> for reporting this.
* TAO_IDL/be/be_type.cpp:
Increased the buffer size for some names to the "standard"
NAMEBUFSIZE.
* docs/releasenotes/orbcore.html:
The "Last Updated" field is set by CVS now.
* tao/interp.cpp:
* tao/encode.cpp:
Removed obsolete comments.
Wed Feb 4 12:30:43 1998 Chris Cleeland <cleeland@tango.cs.wustl.edu>
* tao/objkeyC.h: Modified so that the namespace mapping for the
TAO module uses the alternative "underbar" mapping, i.e., rather
than TAO::ObjectKey, it's now TAO_ObjectKey. The scoping
operation is now performed in tao.h.
* tao/tao.h: This now contains a class (used as a namespace) in
which components which *should* be in the TAO:: namespace are
typedef'd.
* tao/tao_util.*: Moved TAO_ORB_Manager into here.
* tao/stub.h:
* tao/servant_base.cpp:
* tao/poa.h:
* tao/poa.cpp:
* tao/orbobj.h:
* tao/orbobj.cpp:
* tao/orb_core.h:
* tao/orb_core.cpp:
* tao/object.h:
* tao/object.cpp:
* tao/iiopobj.h:
* tao/iiopobj.cpp:
* tao/corba.h:
Changed references of TAO::ObjectKey to TAO_ObjectKey.
* tao/Makefile: Adjusted build tao_util.so rather than tao.so.
Mon Feb 2 22:51:03 1998 Nanbor Wang <nanbor@cs.wustl.edu>
* rules.tao.GNU (TAO_IDLFLAGS):
* orbsvcs/orbsvcs/Makefile (TAO_IDLFLAGS): Changed IDLFLAGS to
TAO_IDLFLAGS to avoid naming conflict with IDLFLAGS for other
IDL compilers.
Mon Feb 2 21:41:32 1998 Nanbor Wang <nanbor@cs.wustl.edu>
* orbsvcs/orbsvcs/Makefile: Added Win32 IDL flags for portability.
Mon Feb 02 18:50:19 1998 Nanbor Wang <nanbor@cs.wustl.edu>
* orbsvcs/orbsvcs/Scheduler_Factory.h: Added the
TAO_ORBSVCS_Export directive to class Scheduler_Factory.
* TAO_IDL/GenExportH.BAT: New Windows batch file which generate
an header file with approriate exporting flags defined. See
this file for details.
* orbsvcs/orbsvcs_export.h: New file that defines the Export
directives for Win32. Generated by GenExportH.BAT in TAO_IDL/.
* orbsvcs/orbsvcs/orbsvcs.dsw: Added new project file for DLL
version of orbsvcs library.
* orbsvcs/orbsvcs/orbsvcs.dsp: New project file for DLL version of
orbsvcs library.
* orbsvcs/orbsvcs/orbsvcs_lib.dsp: Changed the tao_idl custom
build commands so it builds files for both LIB and DLL
libraries.
* orbsvcs/orbsvcs.dsw:
* orbsvcs/Dump_Schedule/Dump_Schedule.dsp:
* orbsvcs/Event_Service/Event_Service.dsp:
* orbsvcs/Naming_Service/Naming_Service.dsp:
* orbsvcs/Scheduling_Service/Scheduling_Service.dsp: Changed to
use DLL version of orbsvcs library.
Mon Feb 2 18:08:21 1998 Carlos O'Ryan <coryan@cs.wustl.edu>
* tao/sequence_T.cpp:
Fixed problems in memory reallocation for
TAO_Unbounded_Sequence<T>::operator=().
Mon Feb 2 13:47:23 1998 Sumedh Mungee <sumedh@cs.wustl.edu>
* tao/Makefile: Renamed tao_util to tao. Ditto for the .h and .cpp
files. Also renamed the TAO_Util::ORB_Manager class to TAO_ORB_Manager.
Mon Feb 2 13:47:01 1998 Carlos O'Ryan <coryan@cs.wustl.edu>
* TAO_IDL/be/be_visitor_args.cpp:
Fixed the mapping for strings as INOUT parameters.
Mon Feb 02 08:59:57 1998 David L. Levine <levine@cs.wustl.edu>
* tao/tao_util.cpp (init): added .in () to poa_object in call to
_narrow, so that it will compile with g++.
* orbsvcs/tests/Logger/Makefile,
orbsvcs/orbsvcs/Makefile,
tests/POA/FindPOA/Makefile,
tests/POA/{Default,Generic}_Servant/Makefile,
tests/POA/NewPOA/Makefile,
tests/Cubit/TAO/{IDL,MT}_Cubit/Makefile,
tests/Param_Test/Makefile,
tests/Thruput/TAO/Makefile:
inserted (or moved) TAO_ROOT definition to top of file.
Sat Jan 31 01:08:19 1998 Carlos O'Ryan <coryan@cs.wustl.edu>
* docs/releasenotes/index.html:
The IDL compiler has support for NT DLLs already, I moved the
tiem from the "issues" to the "new features" list.
* docs/index.html:
* docs/compiler.html:
Added documentation for TAO IDL compiler behavior and options.
* TAO_IDL/be/be_init.cpp:
Print a reasonable version for the compiler back-end, it is no
longer the Sun example BE and the version is (around 0.1.0).
Fri Jan 30 16:27:47 1998 Douglas C. Schmidt <schmidt@cs.wustl.edu>
* TAO version 0.1.1, released Fri Jan 30 16:27:47 1998.
Fri Jan 30 15:35:06 1998 Carlos O'Ryan <coryan@cs.wustl.edu>
* TAO_IDL/be/be_args.cpp:
* TAO_IDL/be/be_array.cpp:
* TAO_IDL/be/be_codegen.cpp:
* TAO_IDL/be/be_enum.cpp:
* TAO_IDL/be/be_exception.cpp:
* TAO_IDL/be/be_interface.cpp:
* TAO_IDL/be/be_interface_fwd.cpp:
* TAO_IDL/be/be_module.cpp:
* TAO_IDL/be/be_sequence.cpp:
* TAO_IDL/be/be_structure.cpp:
* TAO_IDL/be/be_typedef.cpp:
* TAO_IDL/be/be_union.cpp:
* TAO_IDL/be/be_visitor_interface.cpp:
* TAO_IDL/be/be_visitor_sequence.cpp:
* TAO_IDL/include/idl_global.h:
* TAO_IDL/util/utl_global.cpp:
Added support for export macros and a user defined include file,
this was needed to support DLL's in NT.
* tests/Cubit/TAO/IDL_Cubit/Makefile:
Removed a broken test target; thanks to Michael Kircher
<mk1@cec.wustl.edu>
Fri Jan 30 15:30:30 1998 Chris Gill <cdgill@cs.wustl.edu>
* orbsvcs/Scheduling_Service/DynSched.{cpp,h,i} : The Dynamic
Scheduler Implementation (first cut - still a work in progress)
* orbsvcs/Scheduling_Service/Strategy_Scheduler.{cpp,h,i} : The
strategized scheduler subclass and the corresponding strategies
(first cut - still a work in progress)
Fri Jan 30 15:10:01 1998 Douglas C. Schmidt <schmidt@tango.cs.wustl.edu>
* README: Updated the documentation to reflect the latest changes
to TAO. Thanks to Hans Rohnert for noticing this.
Fri Jan 30 14:38:30 1998 Sumedh Mungee <sumedh@cs.wustl.edu>
* orbsvcs/orbsvcs/util.cpp : Added TAO_ORB_Manager, a simple
helper class that does simple ORB and POA initialization and
object activation etc.
* orbsvcs/orbsvcs/util.h : Added file
Fri Jan 30 13:15:10 1998 Chris Cleeland <cleeland@tango.cs.wustl.edu>
* Makefile (RELEASE_FILES): Added rules.tao.GNU and taoconfig.mk
to this...missing in release 0.1.0. Thanks to Mark Boriack of
SAIC for reporting this.
Fri Jan 30 11:55:38 1998 Nanbor Wang <nanbor@cs.wustl.edu>
* orbsvcs/orbsvcs/orbsvcs_lib.dsp: Logging service was somehow
missing from the library.
* orbsvcs/tests/Logger/Logger.dsw:
* orbsvcs/tests/Logger/{server,client}.dsp: Added new project file.
* orbsvcs/tests/Logger/svr.cpp:
* orbsvcs/tests/Logger/clnt.cpp:
* orbsvcs/tests/Logger/logger_i.h:
* orbsvcs/tests/Logger/logger_i.cpp: Changed <iostream.h> to
"ace/streams.h". We should always use "ace/streams.h".
Fri Jan 30 11:42:10 1998 Chris Cleeland <cleeland@tango.cs.wustl.edu>
* docs/releasenotes/orbcore.html: Updated to reflect
characteristics of the latest release as well as what we have to
look forwrd to.
* announcement: Added this boilerplate for release announcement.
Actually, it's a sciprt which can be piped to something like
'mailx'.
Fri Jan 30 01:55:59 1998 Sergio Flores <sergio@polka.cs.wustl.edu>
* tests/Cubit/COOL/IDL_Cubit/README:
* tests/Cubit/COOL/IDL_Cubit/Makefile:
* tests/Cubit/COOL/IDL_Cubit/client.cpp:
* tests/Cubit/COOL/IDL_Cubit/client.h:
* tests/Cubit/COOL/IDL_Cubit/cubit.idl:
* tests/Cubit/COOL/IDL_Cubit/cubit_i.cpp:
* tests/Cubit/COOL/IDL_Cubit/cubit_i.h:
* tests/Cubit/COOL/IDL_Cubit/server.cpp:
* tests/Cubit/COOL/IDL_Cubit/tmplinst.cpp: Added test code for
Chorus COOL ORB, for the IDL Cubit example.
* tests/Thruput/COOL/README:
* tests/Thruput/COOL/Makefile:
* tests/Thruput/COOL/client.cpp:
* tests/Thruput/COOL/server.cpp:
* tests/Thruput/COOL/ttcp.idl:
* tests/Thruput/COOL/ttcp_decl.h:
* tests/Thruput/COOL/ttcp_i.cpp:
* tests/Thruput/COOL/ttcp_i.h:
* tests/Thruput/COOL/utils.cpp: Added test code for Chorus COOL
ORB, for the Thruput example.
* tests/Thruput/TAO/ttcp_decl.h: Make declarations of variables
consistent with definition. Changed srcDataSize from CORBA::ULong
to unsigned long.
* tests/Thruput/TAO/Makefile: Updated to use rules.tao.GNU. and
taoconfig.mk. This was suggested by a change Carlos O'Ryan did to
the long lost Thruput_test directory.
Thu Jan 29 23:10:05 1998 Douglas C. Schmidt <schmidt@tango.cs.wustl.edu>
* orbsvcs/tests/Simple_Naming/clnt.cpp (CosNaming_Client):
Reordered the constructor initializations to match the class
definition.
Thu Jan 29 20:10:33 1998 Chris Cleeland <cleeland@cs.wustl.edu>
* TAO version 0.1.0, released Thu Jan 29 20:10:33 1998.
Thu Jan 29 15:58:01 1998 Chris Cleeland <cleeland@tango.cs.wustl.edu>
* tests/Param_Test/run_test: Allowed specification of the
invocation style (sii vs. dii) using a shaell variable.
* docs/releasenotes/{index,orbcore}.html: Updated to include some
details regarding this release. These files are behind the
release, but I'm opting to get the release out and update these
files ex post facto.
* release.pl: Updated this script so that it can update different
levels of the release version number based on the setting of the
RELEASE_TYPE environment variable.
* Makefile: Added release.chk to the list of files going into the
release. This file is our checklist for things that have been
tested and work leading up to a release. Check in here for
details on how a test has worked on a platform.
* tests/POA/FindPOA/FindPOA.cpp (main): Added missing double-quote
in ACE_DEBUG().
Thu Jan 29 15:55:25 1998 Carlos O'Ryan <coryan@macarena.cs.wustl.edu>
* orbsvcs/tests/Logger/clnt.h:
* orbsvcs/tests/Logger/clnt.cpp:
We need to keep a reference to the ORB is some place.
Thu Jan 29 14:59:01 1998 Chris Cleeland <cleeland@tango.cs.wustl.edu>
* tests/POA/On_Demand_Activation/server.cpp:
* tests/POA/Generic_Servant/MyFooServant.cpp:
* tests/POA/Explicit_Activation/server.cpp:
* tests/POA/Default_Servant/server.cpp:
* tests/Cubit/TAO/MT_Cubit/server.cpp:
_var's passed as pointers need to use the .in() method.
* tests/Param_Test/run_test: Added a longer delay, changed port #,
and made all output be prefaced by either "SERVER: " or
"CLIENT(<type>): ".
* tao/poa.cpp: Re-ordered member initializers to de-warn g++.
* orbsvcs/Dump_Schedule/Dump_Schedule.cpp: _narrow needs to be
passed a .in() from _vars (you get a lollipop if you understand
that comment).
* docs/poa_migration.html: Added this file to start the ball
rolling. Right now it's poorly-formatted and a rehash of some
emails, but it will be refined and grow over time.
Thu Jan 29 12:33:30 1998 Carlos O'Ryan <coryan@cs.wustl.edu>
* orbsvcs/tests/Simple_Naming/clnt.cpp:
* orbsvcs/tests/Simple_Naming/clnt.h:
Simple Naming simply tries to locate the Naming Service, it is
useful to test the TAO facilities (multicast, environment,
command line) for that purpose.
* orbsvcs/tests/Logger/clnt.cpp:
* orbsvcs/tests/Logger/clnt.h:
We do not attempt to use nested context unless requested by the
user, the reason is that it is failing consistently right now.
Thu Jan 29 10:34:08 1998 Aniruddha Gokhale <gokhale@mambo.cs.wustl.edu>
* TAO_IDL/be/be_operation.cpp: Some bug fixes made in the pre-POA
TAO version were accidentally overwritten during the POA to main
branch merge. This has been fixed.
* tao/{encode, decode}.cpp: Fixed the terrible alignment problems
that we were having on VxWorks for marshaling structures. At this
time, the fix has been made only to "structs". These problems were
being caused because the C++ compiler on NT/VxWorks was laying out
structures on a 4 byte aligned address. If a "double" is the very
first field, it will allocate the double at the 4 byte aligned
address even if a double is 8 byte aligned. The fix is to make
sure that when we align, we must take into account the start
address of the structure as well as the address at which the field
is laid out.
Thu Jan 29 10:29:14 1998 Carlos O'Ryan <coryan@cs.wustl.edu>
* Makefile:
Compile <tests> before <orbsvcs>, if the first one fails the
second will sure fail also.
* tests/Cubit/TAO/MT_Cubit/Makefile:
Updated comments and reformated some unreadable things.
Wed Jan 28 15:35:37 1998 Carlos O'Ryan <coryan@cs.wustl.edu>
* tests/Makefile:
* tests/Cubit/Makefile:
Fixed Makefiles so we can invoke the top level Makefile safely.
Wed Jan 28 13:45:16 1998 Nanbor Wang <nanbor@cs.wustl.edu>
* tests/POA/Default_Server/{client,server}.dsp: Updated project
files.
* tests/Cubit/TAO/MT_Cubit/client.dsp: Added CubitS.cpp to
client.dsp.
* tests/POA/Generic_Servant/{client,server}.dsp: Added idl
compilation rules.
* tests/Parem_Test/{client,server}.dsp: Updated idl file
compilation rules. Added Parem_TestS.cpp to client project.
Wed Jan 28 14:25:29 1998 Chris Cleeland <cleeland@cs.wustl.edu>
* tests/Param_Test/run_test: Updated to utilized the new '-o'
option on the server side and for the clients to get the IOR from
that file.
* tests/Param_Test/server.cpp: Added '-o' option to specify the
name of a file in which the server can deposit the IOR which the
client should use.
* tests/Param_Test/options.cpp: Updated the options string (forgot
it last time through).
Wed Jan 28 13:56:07 1998 Carlos O'Ryan <coryan@cs.wustl.edu>
* tests/POA/Makefile:
* tests/POA/Default_Servant/Default_Servant.dsw:
* tests/POA/Default_Servant/File.idl:
* tests/POA/Default_Servant/File_i.cpp:
* tests/POA/Default_Servant/File_i.h:
* tests/POA/Default_Servant/Makefile:
* tests/POA/Default_Servant/client.cpp:
* tests/POA/Default_Servant/client.dsp:
* tests/POA/Default_Servant/server.cpp:
* tests/POA/Default_Servant/server.dsp:
* tests/POA/Default_Servant/svc.conf:
Added some missing tests that were in the POA branch.
Wed Jan 28 13:35:11 1998 Chris Cleeland <cleeland@cs.wustl.edu>
* tests/Param_Test/server.cpp: Changed so that the IOR is printed
ALL the time.
* tests/Param_Test/options.*: Updated to work with POA. Got rid
of host and port arguments and added an IOR argument.
* tests/Param_Test/driver.*: Updated to work with POA.
* tests/Cubit/TAO/IDL_Cubit/clnt.h: Added emacs mode setting at
beginning.
* tao/optable.h: Cleaned up some formatting in header file.
Wed Jan 28 13:19:55 1998 Carlos O'Ryan <coryan@cs.wustl.edu>
* tests/Cubit/TAO/IDL_Cubit/README:
Update README on how to run the test.
* tests/Cubit/TAO/IDL_Cubit/svr.cpp:
Print the IOR always, it is neded to run properly.
* tests/Cubit/TAO/MT_Cubit/tmplinst.cpp:
* tests/Cubit/TAO/IDL_Cubit/tmplinst.cpp:
Instantiate on CORBA::Long instead of a plain long.
* orbsvcs/tests/Logger/svr.cpp:
Cosmetic changes on debug messages.
Wed Jan 28 11:20:38 1998 Carlos O'Ryan <coryan@cs.wustl.edu>
* orbsvcs/orbsvcs/Makefile:
* orbsvcs/orbsvcs/Logger.idl:
* orbsvcs/tests/Logger/Makefile:
* orbsvcs/tests/Logger/logger.idl:
Moved a prototype logger.idl to the orbsvcs library, eventually
this will become a full blown service in the TAO architecture.
* orbsvcs/tests/Logger/clnt.cpp:
* orbsvcs/tests/Logger/clnt.h:
* orbsvcs/tests/Logger/logger_i.cpp:
* orbsvcs/tests/Logger/logger_i.h:
* orbsvcs/tests/Logger/svr.cpp:
Ported the experimental logging server to POA.
* orbsvcs/Event_Service/Event_Service.cpp:
* orbsvcs/Scheduling_Service/Scheduling_Service.cpp:
Fixed minor problem with call using a _var as input parameter
Wed Jan 28 09:14:30 1998 Carlos O'Ryan <coryan@cs.wustl.edu>
* tests/POA/Makefile:
Fixed order in the DIRS variable, Generic_Servant goes first
since it builds a library needed in some of the other tests.
* tests/POA/On_Demand_Activation/Makefile:
* tests/POA/Explicit_Activation/Makefile:
Fixed order for libraries, -lserver uses -lTAO so it must go
first.
* orbsvcs/orbsvcs/Makefile:
Another case of misplaced includes.
Tue Jan 27 17:29:11 1998 Carlos O'Ryan <coryan@cs.wustl.edu>
* tests/Cubit/TAO/IDL_Cubit/Makefile:
Reorder includes to avoid evil definition for the IDL compiler.
Tue Jan 27 16:16:11 1998 Chris Cleeland <cleeland@cs.wustl.edu>
* tests/Param_Test/server.cpp: Added ACE_UNUSED_ARG() inside the
TAO_CATCH() macro scope to de-warn on g++.
* tests/Param_Test/param_test_i.cpp (Param_Test_i::CTOR): Removed
argument name to de-warn on g++.
* tests/Cubit/TAO/IDL_Cubit/{svr,clnt}.cpp: Use in() method on
_var class to explicitly get an _ptr.
* tao/objtable.cpp (find): Changed conditional expression to not
rely on implicit conversion from _var to _ptr type.
* tao/giop.cpp: Updated "illegal message" error message to
actually print out the type of the offending message. This also
caused the addition of a helper function--TAO_GIOP_message_name().
Tue Jan 27 15:06:28 1998 Carlos O'Ryan <coryan@cs.wustl.edu>
* TAO_IDL/Makefile:
* TAO_IDL/be/Makefile:
* orbsvcs/Dump_Schedule/Makefile:
* orbsvcs/Event_Service/Makefile:
* orbsvcs/Naming_Service/Makefile:
* orbsvcs/Scheduling_Service/Makefile:
* orbsvcs/orbsvcs/Makefile:
* orbsvcs/tests/Event_Latency/Makefile:
* orbsvcs/tests/Logger/Makefile:
* orbsvcs/tests/Simple_Naming/Makefile:
* tao/Makefile:
* tests/Cubit/TAO/IDL_Cubit/Makefile:
* tests/Cubit/TAO/MT_Cubit/Makefile:
* tests/POA/Explicit_Activation/Makefile:
* tests/POA/FindPOA/Makefile:
* tests/POA/Generic_Servant/Makefile:
* tests/POA/NewPOA/Makefile:
* tests/POA/On_Demand_Activation/Makefile:
* tests/POA/RootPOA/Makefile:
* tests/Param_Test/Makefile:
Updated dependencies, apparently they were not properly
generated last time; they worked for Solaris/CC, but not in many
other platforms.
* orbsvcs/orbsvcs/Makefile:
* orbsvcs/orbsvcs/tmplinst.cpp:
* orbsvcs/orbsvcs/TAO_IDL_templates.cpp:
It seems that tmplinst.cpp is becoming our standard for template
instantiation files.
* tao/poa.h:
No need to include poa_T.h, it is not used in any place (yet),
and it produces many warnings on IRIX machines.
* orbsvcs/Dump_Schedule/Dump_Schedule.cpp:
Use a _var for the output sequence of RT_Infos.
* orbsvcs/tests/Event_Latency/Event_Latency.cpp:
Fixed some misuses of _var, thanks to Chris Cleeland for
bringing those to my attention.
* release.pl:
Added CVS id.
1998-01-27 Nagarajan Surendran <naga@tango.cs.wustl.edu>
* tests/POA/FindPOA:Added comments to all files
* tests/POA/On_Demand_Activation: Added comments to all files
* tests/POA/Generic_Servant: Added comments to all files
Mon Jan 26 21:29:24 1998 David L. Levine <levine@cs.wustl.edu>
* tao/compat/objbase.h: don't #define NOERROR on DIGITAL_UNIX,
or on any other platform that already has it #defined.
Thanks to Oliver Kellogg <Oliver.Kellogg@vs.dasa.de> for
reporting this.
* tao/corbacom.h: use ACE_INT32, etc., for defining Long, etc.
Mon Jan 26 16:15:18 1998 Chris Cleeland <cleeland@cs.wustl.edu>
* tao/giop.cpp (read_buffer): Modified this to detect ECONNRESET
and report is as a normal EOF occurrence. This will hopefully
eliminate a disturbing (but innocuous) message on NT. Thanks to
Frank H. at SAIC for reporting this.
* tests/Param_Test/run_test: Added this script to run the server
and client with all arguments.
Mon Jan 26 16:02:51 1998 Carlos O'Ryan <coryan@cs.wustl.edu>
* tests/Cubit/TAO/MT_Cubit/Makefile:
* tests/Cubit/TAO/MT_Cubit/Task_Client.cpp:
* tests/Cubit/TAO/MT_Cubit/cubit_i.cpp:
* tests/Cubit/TAO/MT_Cubit/cubit_i.h:
* tests/Cubit/TAO/MT_Cubit/server.cpp:
* tests/Cubit/TAO/MT_Cubit/server.h:
It compiles now, but it won't run.
Mon Jan 26 15:29:37 1998 Sumedh Mungee <sumedh@cs.wustl.edu>
* orbsvcs/tests/AVStreams/ (main):
Added simple client/server to test AVStreams
Mon Jan 26 15:23:54 1998 Sumedh Mungee <sumedh@cs.wustl.edu>
* orbsvcs/orbsvcs/AVStreams_i.cpp:
Added dummy implementation for VDev, MMDevice, and StreamEndPoint
classes
Mon Jan 26 15:01:49 1998 Alexander Babu Arulanthu <alex@merengue.cs.wustl.edu>
* tests/POA/RootPOA.cpp: Added Comments
Mon Jan 26 14:31:46 1998 Sumedh Mungee <sumedh@cs.wustl.edu>
* tests/POA/FindPOA.cpp: Added CVS ID
Mon Jan 26 00:57:56 1998 Douglas C. Schmidt <schmidt@tango.cs.wustl.edu>
* tao/connect.cpp (open): Conditionally compile the code for
TCP_NODELAY only if this macro is present. Thanks to Edgar
Villanueva <edgarvil@ix.netcom.com> for reporting this.
Sun Jan 25 14:30:04 1998 Nanbor Wang <nanbor@cs.wustl.edu>
* tests/Cubit/TAO/IDL_Cubit/client.dsp: Added a missing source.
* tests/Cubit/TAO/IDL_Cubit/clnt.cpp (Cubit_Client): Changed to
initialize Cubit_Client.cubit_key_ from heap. It should use
memory either from stack or heap, but never both.
Sat Jan 24 21:55:55 1998 Sumedh Mungee <sumedh@cs.wustl.edu>
* orbsvcs/orbsvcs/{AVStreams_i.h, AVStreams_i.cpp}:
Made changes for new POA
Sat Jan 24 21:46:23 1998 Sumedh Mungee <sumedh@cs.wustl.edu>
* orbsvcs/orbsvcs/AVStreams.idl:
Changed type key to be a string, rather than a sequence<octet>, which
breaks tao_idl!
Sat Jan 24 21:01:00 1998 <coryan@MILONGA>
* orbsvcs/Dump_Schedule/Dump_Schedule.cpp:
* orbsvcs/Event_Service/Event_Service.cpp:
* orbsvcs/Naming_Service/Naming_Service.cpp:
* orbsvcs/Scheduling_Service/Scheduling_Service.cpp:
* orbsvcs/tests/Event_Latency/Event_Latency.cpp:
Fixed several minor error and sources of non-complaince.
* TAO_IDL/tao_idl.dsp:
* tao/TAO.dsp:
CVS does not merge binary files properly.
Sat Jan 24 15:51:41 1998 Carlos O'Ryan <coryan@cs.wustl.edu>
* tao/objtable.cpp:
Another merge problem.
Sat Jan 24 11:20:42 1998 Carlos O'Ryan <coryan@cs.wustl.edu>
* Added latest changes by Irfan.
Sat Jan 24 03:04:51 1998 Irfan Pyarali <irfan@cs.wustl.edu>
* tao/poa.cpp (id_to_reference): Reimplemented this method so that
it does not use id_to_servant and servant_to_reference combo.
This is necessary since id_to_reference may be used in a
MULTI_ID mode.
* tao/poaS: Added explicit copy and destroy to all collocated
policies. This will help avoid the inheritance via dominance
warnings.
Sat Jan 24 11:08:28 1998 Carlos O'Ryan <coryan@cs.wustl.edu>
* TAO_IDL/be_include/be_visitor.h:
The forward declaration of TAO_OutStream was missing; I guess it
was some slopiness in the merge.
Sat Jan 24 10:30:40 1998 Carlos O'Ryan <coryan@cs.wustl.edu>
* The POA branch is merged back into the main trunk. For the
record we reproduce the ChangeLog in the branch.
* ============
* ============ Start of POA branch changes.
* ============
Fri Jan 23 17:13:14 1998 Carlos O'Ryan <coryan@cs.wustl.edu>
* Merged changes from main_to_poa_merge_11 up to
main_to_poa_merge_12
Fri Jan 23 17:08:45 1998 Carlos O'Ryan <coryan@cs.wustl.edu>
* orbsvcs/Event_Service/Event_Channel.h:
* orbsvcs/Event_Service/Event_Channel.i:
Fixed problem with Event Channel, it was using _this
unproperly.
Fri Jan 23 16:49:19 1998 Chris Cleeland <cleeland@cs.wustl.edu>
* tests/Param_Test/{server.cpp,param_test_i.h,param_test_i.cpp}:
Updated to compile with new POA.
* tests/Param_Test/Makefile: Moved LDFLAGS up, included the
rules.tao.GNU, and removed the dependencies which were causing me
no end of grief.
* tests/Cubit/TAO/IDL_Cubit/svr.cpp (main): Changed the check on
return value from resolve_initial_references() to use the
CORBA::is_nil() check.
Fri Jan 23 16:43:12 1998 Carlos O'Ryan <coryan@cs.wustl.edu>
* orbsvcs/Dump_Schedule/Dump_Schedule.cpp:
* orbsvcs/Event_Service/Event_Channel.cpp:
* orbsvcs/Event_Service/Event_Channel.i:
* orbsvcs/Event_Service/Event_Service.cpp:
* orbsvcs/Naming_Service/CosNaming_i.cpp:
* orbsvcs/Naming_Service/CosNaming_i.h:
* orbsvcs/Naming_Service/Naming_Service.cpp:
* orbsvcs/Scheduling_Service/Config_Scheduler.cpp:
* orbsvcs/Scheduling_Service/Scheduling_Service.cpp:
* orbsvcs/orbsvcs/Runtime_Scheduler.cpp:
* orbsvcs/orbsvcs/Scheduler_Factory.cpp:
* orbsvcs/tests/Event_Latency/Event_Latency.cpp:
* orbsvcs/tests/Event_Latency/Event_Latency.h:
"Ported" the orbsvcs and the Event_Latency test to POA, with
little success though, things will compile and it seems that the
Naming_Service and Scheduling_Services run properly, but
Event_Service does not.
We use a nested POA with "PERSISTENT" lifespan policy because it
is easier to set an enviroment variable or command line to the
NameService IOR.
* tests/Cubit/TAO/IDL_Cubit/svr.cpp:
Removed some extra (and unwanted) code.
Fri Jan 23 14:47:18 1998 Chris Cleeland <cleeland@cs.wustl.edu>
* tests/POA/{FindPOA,RootPOA,NewPOA}/Makefile: Added
-L$(TAO_ROOT)/tao to LDFLAGS.
* tests/POA/NewPOA/NewPOA.cpp:
* tests/POA/RootPOA/RootPOA.cpp:
* tests/POA/FindPOA/FindPOA.cpp:
Used the ::in() method as first argument to _narrow() calls.
* tests/{Makefile,README}: Updated for new tests.
* tao/poa.cpp: Added explicit template instantiations.
Fri Jan 23 14:30:19 1998 Carlos O'Ryan <coryan@cs.wustl.edu>
* tao/poa.h:
* tao/poa.cpp:
* tao/servant_base.cpp:
_this() was using the object id for the current servant in *all*
objects, now it only does so for the servant invoked.
* tests/Cubit/TAO/IDL_Cubit/Makefile:
* tests/Cubit/TAO/IDL_Cubit/clnt.cpp:
* tests/Cubit/TAO/IDL_Cubit/clnt.h:
* tests/Cubit/TAO/IDL_Cubit/cubit_i.cpp:
* tests/Cubit/TAO/IDL_Cubit/cubit_i.h:
* tests/Cubit/TAO/IDL_Cubit/svr.cpp:
Ported the Cubit test to POA, including some funky persistent
policies to simplify its use.
Sat Jan 24 01:24:24 1998 Irfan Pyarali <irfan@cs.wustl.edu>
* tao/poa.cpp (destroy_i): Changed etherealize objects to correct
report remaining_activations.
Fri Jan 23 10:55:40 1998 Carlos O'Ryan <coryan@cs.wustl.edu>
* tao/objtable.cpp:
Linear object tables were not using the initial size to
pre-allocate a buffer.
* TAO_IDL/be/be_interface.cpp:
* TAO_IDL/be/be_state_argument.cpp:
Fixed the mapping for native as OUT or INOUT parameters, also
fixed the name for the _dispatch() method.
Fri Jan 23 01:12:28 1998 Irfan Pyarali <irfan@cs.wustl.edu>
* tao/poaS.cpp: Added ACE_NESTED_CLASS macro to constructors.
Thu Jan 22 23:57:31 1998 Chris Cleeland <cleeland@tango.cs.wustl.edu>
* tao/poa.cpp (wstring_to_ObjectId): Stuck the CORBA::WChar type
in parens for sizeof...g++ likes it better that way.
Fri Jan 23 00:14:03 1998 Irfan Pyarali <irfan@cs.wustl.edu>
* tao/poa:
- Added support for transient and persistent POAs by changing
the ObjectKey. From now on, each key will contain an
identifier that will indicate whether the key came from a
persistent or transient POA. That way the dispatch method can
decide the value of the activate_it flag while finding the
POA. If the key is from a persistent POA, the activate_it
flag will be true, else the flag will be set to false.
- All operations on the parent POA will check for a valid parent
before executing the call. Remember that the RootPOA does not
have a parent POA.
- Temporarily added export macros to the POA implementation
classes, so that the implementations can directly be debugged
(rather than going through the stubs/skeletons). These should
be removed once the debugging process is over.
- Moved the registeration of the POA with its manager from the
create_POA method to the POA constructor. This is to insure
that the registration of the RootPOA is not "missed" since the
RootPOA is not created via the create_POA call. Similarly,
moved the removal of the POA from its manager from the destroy
method to the POA destructor.
- TAO_POA::delete_child and TAO_POA_Manager::remove_poa were
changed such that when the object is closing down, we are
currently iterating over our poa collection and there is not
need to remove the item from our collection.
- Changed use of substr from starting_at/ending_at to
starting_at/now_many.
- Methods that return duplicated values/objects, must first be
assigned to a _var variable before being used. This will
avoid memory leaks.
- For find methods, always use != -1 for success.
- Added code to create_POA_i and find_POA_i_optimized to check
when topmost_poa_name == this->name_.
- Added the concept of creation time to a POA. This way when a
transient POA gets a object key from a previous incarnation,
the OBJECT_NOT_EXISTS exception can be thrown.
- Added a locator cookie field to TAO_POA_Current to keep track
of the cookie produced by the servant locator.
- Made all methods virtual.
- Renamed active_object_table to active_object_map.
- Added pre_invoke and post_invoke methods to setup the
necessary state before doing the upcall to the servant.
- Changed locate_servant to return 0 for success and -1 for
failure instead of trying to return a servant. This change is
necessary since there may not be a servant available but there
may be default servants or servant managers that could fill in
for the servant. Currently the locate_servant method takes an
optimistic approach to return TRUE when the servant was not
found but a default servant or servant manager was registered
with the POA, hoping the default servant or servant manager
will be able to fill in when the real request arrives.
- Add a validity checks for POA policies.
- Added support for servant managers (both servant locators and
servant activators), default servants and DSI.
* tao/poaC.h: Added DynamicImplementation class to the
PortableServer.
* tao/poaS: Changed dispatch to _dispatch.
* tao/servant_base:
- Added TAO_DynamicImplementation class
(a.k.a. PortableServer::DynamicImplementation). Users will
inherit from this to implement DSI.
- Added prefix _ to all methods names in the ServantBase class
to avoid potential crashes with user specified method names.
- Made TAO_POA a friend of ServantBase.
* tao/connect.cpp (handle_locate): Changed to use latest version
of TAO_POA::locate_servant.
* tao/servant_base.cpp (_default_POA): Changed to use
TAO_ORB_Core_instance()->root_poa() instead of
TAO_ORB_Core_instance()->orb()->resolve_initial_references("RootPOA").
* tao/poaC: Added string_to_ObjectId and ObjectId_to_string
methods to PortableServer.
* tao/poa.cpp (TAO_Adapter_Activator::unknown_adapter): Changed
the implementation of this object so that it does not depend on
being friends with the POA and the POAManager. Initially, this
was done to avoid recursive locks. However, since user may want
to write their own implementations, recursive locks were deemed
necessary.
* tao/default_server.cpp (create_poa_lock): Changed implementation
to produce ACE_Recursive_Thread_Mutex instead of
ACE_Thread_Mutex.
* tests/POA/RootPOA/RootPOA.cpp (main) and
tests/POA/NewPOA/NewPOA.cpp (main): Added code to destroy the
rootPOA. I am not sure this is the responsibility of the user
to destroy the rootPOA since they never really created it. The
responsibility probably lies with the ORB, but since the spec
seems neutral about this, it is ok for now.
* tao/object.i (CORBA_Object::Release): We must delete the object
when the parent_ refcount goes to zero.
Thu Jan 22 16:56:32 1998 Carlos O'Ryan <coryan@cs.wustl.edu>
* TAO_IDL/be_include/be_interface.h:
* TAO_IDL/be/be_interface.cpp:
* TAO_IDL/be/be_visitor_interface.cpp:
Fixed some relative name problems for the server header file.
* TAO_IDL/be/be_visitor_sequence.cpp:
* TAO_IDL/be/be_visitor_root.cpp:
* TAO_IDL/be/be_visitor_args.cpp:
Get rid of some "unused arg" warnings.
Thu Jan 22 15:26:55 1998 Chris Cleeland <cleeland@cs.wustl.edu>
* tao/object.i: CORBA::Object --> CORBA_Object for internal stuff.
* tao/object.i (CORBA_Object): Re-ordered member initialization to
match declaration order.
Thu Jan 22 14:40:01 1998 Carlos O'Ryan <coryan@cs.wustl.edu>
* tao/corbacom.h:
Fixed multiple definitions of ORB_var and ORB_out due to a
simplistic merge.
* TAO_IDL/be/be_interface.cpp:
Generate _find() to locate operations; using just find() is not
complaint.
Thu Jan 22 10:40:13 1998 Carlos O'Ryan <coryan@cs.wustl.edu>
* Merged changes from main_to_poa_merge_10 up to
main_to_poa_merge_11
Wed Jan 21 17:35:20 1998 Carlos O'Ryan <coryan@cs.wustl.edu>
* TAO_IDL/be/be_visitor_interface.cpp:
Generate CORBA_Object instead of CORBA::Object to keep NT
happy.
* TAO_IDL/be/be_visitor_args.cpp:
Fixed mapping for strings as arguments, they should always be
char*.
Mon Jan 19 22:03:38 1998 <coryan@MILONGA>
* tao/sequence_T.i:
Object_Manager constructor was calling _duplicate(). That is not
the right semantics, and produces a crash when working on an
unitialized buffer.
* tests/POA/NewPOA/NewPOA.cpp:
* tests/POA/NewPOA/NewPOA.dsp:
Fixed signed/unsigned warning.
* tests/POA/NewPOA/NewPOA.dsp:
Fixed missing options to find ACE.
Mon Jan 19 16:36:22 1998 Carlos O'Ryan <coryan@cs.wustl.edu>
* tao/iiopobj.h:
* tao/iiopobj.cpp:
Added a missed in action key() method to IIOP_Object.
* tao/stub.h:
* tao/objkeyC.h:
* tao/object.h:
* tao/object.cpp:
Removed the non-complaint ObjectKey_ptr type.
Mon Jan 19 16:19:28 1998 Carlos O'Ryan <coryan@cs.wustl.edu>
* tao/deep_free.cpp:
A reinterpret cast was dropping constness also, thanks to Irfan
for pointing this one out.
Mon Jan 19 15:36:10 1998 Carlos O'Ryan <coryan@cs.wustl.edu>
* tao/sequence_T.i:
* tao/sequence_T.cpp:
The last merge was too smart, it kept some changes on this
branch that should have gone away.
Mon Jan 19 13:58:01 1998 Carlos O'Ryan <coryan@cs.wustl.edu>
* TAO_IDL/be/be_visitor_interface.cpp:
* TAO_IDL/be/be_interface.cpp:
Fixed operation table initialization, also called proper
constructor for CORBA::Object in collocated classes.
* tao/corba.h:
More include reordering.
* tao/servant_base.h:
The operation table was not properly initialized.
Mon Jan 19 11:28:47 1998 Carlos O'Ryan <coryan@cs.wustl.edu>
* Merged changes from main_to_poa_merge_9 up to
main_to_poa_merge_10.
Sun Jan 18 01:04:22 1998 <coryan@MILONGA>
* TAO_IDL/be/be_attribute.cpp:
* TAO_IDL/be/be_codegen.cpp:
* TAO_IDL/be/be_interface.cpp:
* TAO_IDL/be_include/be_interface.h:
* tao/servant_base.h:
Added support for collocation in the _narrow method, this
required a complete implementation of _downcast() for each
skeleton.
Sat Jan 17 20:54:26 1998 <coryan@MILONGA>
* TAO_IDL/be/be_attribute.cpp:
* TAO_IDL/be/be_interface.cpp:
* TAO_IDL/be/be_sequence.cpp:
* TAO_IDL/be/be_visitor_interface.cpp:
* TAO_IDL/be/be_visitor_sequence.cpp:
More bug fixes in code generation for sequences, attributes,
etc. Most of them were minor inconsitencies. Also fixed
constructors for collocated classes on NT (working around MSVC++
bug).
* tao/servant_base.cpp:
* tao/servant_base.h:
Added default implementation for _downcast(), it just works if
downcasting to "Object".
* tao/sequence_T.cpp:
* tao/sequence_T.h:
* tao/sequence_T.i:
Fixed some problems with managed sequences.
Sat Jan 17 19:27:12 1998 <coryan@MILONGA>
* tao/servant_base.h:
* tao/servant_base.cpp:
Added the new _is_a() method on TAO_ServantBase.
* TAO_IDL/tao_idl.dsp:
* TAO_IDL/be/be_interface.cpp:
* TAO_IDL/be/be_string.cpp:
* TAO_IDL/be/be_visitor_args.cpp:
* TAO_IDL/be/be_visitor_interface.cpp:
* TAO_IDL/be/be_visitor_sequence.cpp:
* TAO_IDL/be_include/be_visitor.h:
* TAO_IDL/be_include/be_visitor_args.h:
* TAO_IDL/be_include/be_visitor_interface.h:
Added a new _is_a to the generated servants, also implemented
the _is_a method on the collocated classes by invoking that
_is_a().
Added support for attributes in collocated classes, thanks to
Irfan for noticing this.
Sat Jan 17 15:44:43 1998 <coryan@MILONGA>
* tao/corba.h:
* tao/iiopobj.cpp:
Fixed undetected inconsistencies in the last merge.
* tao/objkeyC.cpp:
* tao/objkeyC.h:
* tao/objkeyC.i:
I regenrated from the IDL file to use the new sequences.
Sat Jan 17 11:49:15 1998 <coryan@MILONGA>
* Merged changes from main_to_poa_merge_8 to main_to_poa_merge_9.
Sat Jan 17 00:45:59 1998 Irfan Pyarali <irfan@cs.wustl.edu>
* tests/POA: Added new tests: Explicit_Activation_POA_Ids and
NewPOA.
* tao/servant_base.h (TAO_ServantBase): Added a _downcast method
that gets the servant with the correct vtable. Also added a new
class TAO_Local_ServantBase that overwrites _create_stub.
TAO_Local_ServantBase::_create_stub uses a fake key and does not
registration with the default POA.
* tao/poaS.*: Added _downcast to the generated code. Also added
attribute accessor methods. Also updated constructors to
explicitly initialize the virtual base class (CORBA::Object).
* tao/poaC.h: Added TAO_Local_ServantBase to the PortableServer
namespace as PortableServer::LocalServantBase.
* tao/poaC.cpp (_narrow): Changed the implementation of _narrow to
produce a collocated class when appropriate.
* tao/poa.cpp (TAO_POA::create_*_policy): Made sure these methods
return collocated classes and not implementation classes.
* tao/poa.h (class TAO_POA_Policies): Added set methods to
TAO_POA_Policies.
* tao/orbobj.cpp (resolve_poa): Made sure that the RootPOA is
created with the PortableServer::IMPLICIT_ACTIVATION policy.
* tao/object: Added servant pointer and a collocated flag to
object class.
Fri Jan 16 03:27:30 1998 Irfan Pyarali <irfan@cs.wustl.edu>
* tao:
BOA begone: CORBA::POA and all BOA related code has been
removed from TAO.
POA: Today the PortableServer and the POA were born in TAO.
* tao/connect (handle_request): Changed handle_request to accept
the TAO_GIOP_RequestHeader parameter by reference rather than by
value.
* tao/corba.h: Rearranged header to accommodate the new POA.
* tao/corbacom.h (CORBA): Added typedefs for Object_var Object_out
in the CORBA class.
* tao/current: Absorbed all the POACurrent code into the poa.*
files.
* tao/iiopobj.cpp (operator==): Added comparison operator for
TAO::ObjectKey.
* tao/orbobj.cpp (resolve_poa_current and resolve_poa): Made sure
that we return the colocated class and not the implementation
class.
* tao/orbobj.h (objref.): POA_init was deprecated. Please use
orb->resolve_initial_references ("RootPOA") instead.
* tao/objtable.cpp (find): Change the use of auto_ptr(s) to deal
correctly with explicit constructors.
Thu Jan 15 17:27:26 1998 Chris Cleeland <cleeland@cs.wustl.edu>
* tao/orb_core.{h,i}: Added the poa_current() method and internal
structure so that state is available to the POA and to the upcall.
* tao/orbobj.{h,cpp}: Added resolve_poa_current() in order to
return the POACurrent state context. Added the "POACurrent" to
one of the things for which resolve_initial_references() works.
Changed resolve_poa() so that things can compile; the impl isn't
correct but when the POA stuff gets committed, this will be
changed accordingly.
Tue Jan 13 12:15:54 1998 Carlos O'Ryan <coryan@cs.wustl.edu>
* TAO_IDL/be_include/be_operation.h:
* TAO_IDL/be/be_operation.cpp:
* TAO_IDL/be/be_state_operation.cpp:
The stubs and skeletons for operations that have a "native"
argument or return value simply "throw" a CORBA::MARSHAL
exception; those methods cannot be called for remote objects.
I also had to return something when an exception is raised and
the return type is a "native", we choose to return 0 for lack of
a better choice.
Tue Jan 13 10:49:48 1998 Chris Cleeland <cleeland@cs.wustl.edu>
* tao/current.{i,cpp}: Added a first cut at implementations for
the POA Current impl.
Mon Jan 12 19:47:42 1998 Carlos O'Ryan <coryan@cs.wustl.edu>
* tao/poa.h:
* tao/poa.cpp:
Added a _get_stub() method that encapsulates code common to all
_this implementations.
* TAO_IDL/be/be_interface.cpp:
* TAO_IDL/be/be_visitor_interface.cpp:
The _this() method implementation was changed to use the new
_get_stub finally adding full support for the standard poa, some
changes were required in the _tao_collocated classes and their
constructors.
* TAO_IDL/be_include/be_helper.h:
* TAO_IDL/be/be_helper.cpp:
Added "manipulators" to increase and decrement indentation
level.
Mon Jan 12 14:55:53 1998 Chris Cleeland <cleeland@cs.wustl.edu>
* tao/current.h (class TAO_POA_Current_Impl): Added this as the
beginning of the implementation for the POA Current. More to
come...
* tao/default_server.*: Added implementations of create_poa_lock()
and create_poa_mgr_lock() to obtain their values from -ORBpoalock
and -ORBpoamgrlock options, respectively, to the Default Server
Strategy Factory specified in svc.conf. Values for these are
either "thread" or "null", which specify an ACE_Thread_Mutex or
ACE_NULL_Mutex, respectively.
* tao/server_factory.*: Added create_poa_lock() and
create_poa_mgr_lock() to obtain locks for use in POA and POA
Manager instances.
Mon Jan 12 12:10:58 1998 Carlos O'Ryan <coryan@cs.wustl.edu>
* tao/objtable.cpp:
Fixed some problems with misused auto_ptr and dynamic cast that
was taking away constness at the same time.
Mon Jan 12 11:55:53 1998 Chris Cleeland <cleeland@cs.wustl.edu>
* tao/orbobj.cpp (resolve_poa): Added skeletal code to create root
POAs using the resolve_initial_references() interface. Irfan will
fill in the correct code for actually creating the POA.
Sun Jan 11 14:09:48 1998 <coryan@MILONGA>
* orbsvcs/Dump_Schedule/Dump_Schedule.dsp:
* orbsvcs/Event_Service/CORBA_Utils_T.cpp:
* orbsvcs/Event_Service/Dispatching_Modules.cpp:
* orbsvcs/Event_Service/Event_Channel.cpp:
* orbsvcs/Event_Service/Event_Service.cpp:
* orbsvcs/tests/Event_Latency/Event_Latency.cpp:
Adapted so they compile with the new POA mapping.
Sun Jan 11 11:33:36 1998 <coryan@MILONGA>
* tao/connect.cpp:
On this branch the find() method for POA's require a
PortableServer::Servant parameter.
* orbsvcs/Scheduling_Service/Scheduling_Service.cpp:
* orbsvcs/Naming_Service/Naming_Service.cpp:
* orbsvcs/Naming_Service/CosNaming_i.cpp:
Modified to use the new POA mapping for servers.
* TAO_IDL/tao_idl.dsp:
Replaced the old drv_main.cpp with tao_idl.cpp.
* orbsvcs/orbsvcs/orbsvcs_lib.dsp:
The final library is not generated inside Debug and its name is
orbsvcs.lib, not orbsvcs_lib.lib
Sun Jan 11 10:55:04 CST 1998 Carlos O'Ryan <coryan@cs.wustl.edu>
* Merged changes from tag main_to_poa_merge_5 and
main_to_poa_merge_6. This late merge is risky, needs complete
validation before public release.
Sat Jan 10 22:11:47 1998 <coryan@MILONGA>
* TAO_IDL/be_include/be_interface.h:
* TAO_IDL/be/be_interface.cpp:
* TAO_IDL/be/be_visitor_interface.cpp:
Work around bug in MSVC++ 5.0 wrt inheritance from nested
classes and the constructor invocation.
Sat Jan 10 19:21:18 1998 <coryan@MILONGA>
* TAO_IDL/tao_idl.dsp:
* TAO_IDL/be/be_interface.cpp:
* TAO_IDL/be_include/be_interface.h:
* tao/orb_core.cpp:
Fixed some problems in the latest merges.
Sat Jan 10 18:06:24 1998 <coryan@MILONGA>
* Merged changes from tag main_to_poa_merge_7 and
main_to_poa_merge_8.
Resolved many conflicts in TAO_IDL due to similar changes in
both branches.
Sat Jan 10 16:57:42 1998 <coryan@MILONGA>
* Merged changes from tag main_to_poa_merge_6 and
main_to_poa_merge_7.
Fri Jan 9 17:58:43 1998 Carlos O'Ryan <coryan@cs.wustl.edu>
* TAO_IDL/be/be_array.cpp:
* TAO_IDL/be/be_decl.cpp:
* TAO_IDL/be/be_enum.cpp:
* TAO_IDL/be/be_enum_val.cpp:
* TAO_IDL/be/be_exception.cpp:
* TAO_IDL/be/be_expression.cpp:
* TAO_IDL/be/be_interface.cpp:
* TAO_IDL/be/be_interface_fwd.cpp:
* TAO_IDL/be/be_module.cpp:
* TAO_IDL/be/be_predefined_type.cpp:
* TAO_IDL/be/be_root.cpp:
* TAO_IDL/be/be_scope.cpp:
* TAO_IDL/be/be_sequence.cpp:
* TAO_IDL/be/be_string.cpp:
* TAO_IDL/be/be_structure.cpp:
* TAO_IDL/be/be_type.cpp:
* TAO_IDL/be/be_typedef.cpp:
Minor cosmetic changes to make the main trunk changes identic to
the ones on this branch.
Thu Jan 8 15:50:59 1998 Carlos O'Ryan <coryan@cs.wustl.edu>
* TAO_IDL/be/be_state_operation.cpp:
Added support for native as return type.
Thu Jan 8 13:20:11 1998 Carlos O'Ryan <coryan@cs.wustl.edu>
* TAO_IDL/ast/Makefile:
* TAO_IDL/be/Makefile:
Added ast_native and be_native to the list of files.
* TAO_IDL/be_include/be_native.h:
* TAO_IDL/be/be_native.cpp:
* TAO_IDL/be_include/be_visitor.h:
* TAO_IDL/be/be_visitor.cpp:
Added support for visiting be_native.
* TAO_IDL/be_include/be_visitor_args.h:
* TAO_IDL/be/be_visitor_args.cpp:
Added support for native and improved the implementation.
* TAO_IDL/fe/y.tab.cpp:
Removed some includes and pragmas that cause trouble on NT.
* TAO_IDL/be/be_type.cpp:
Print an error if the default implementation for write_as_return
is called.
Thu Jan 8 12:53:28 1998 Chris Cleeland <cleeland@cs.wustl.edu>
* tao/corbacom.i (wstring_dup): Added this, which simply calls
wstring_copy(). Of course, I can't find any mention of EITHER of
these functions in the 2.0 or 2.1 spec, but what good are wstrings
if you can't make copies? Plus, Irfan really wanted it.
Wed Jan 7 15:09:47 1998 Carlos O'Ryan <coryan@cs.wustl.edu>
* TAO_IDL/fe/y.tab.cpp:
This is the actual file generated from idl.yy, thanks to the
"clone" scheme for building ACE it was lost in the previous
commits.
Wed Jan 7 14:17:14 1998 Chris Cleeland <cleeland@cs.wustl.edu>
* tao/orbobj.{h,cpp} (key_to_object): Changed signature so that
it's more in line with what we really need. This is okay because
this method is not in the standard, so we can choose whatever we
damn well please!
Wed Jan 7 14:08:41 1998 Carlos O'Ryan <coryan@cs.wustl.edu>
* Merged changes from version main_to_poa_merge_4 and
main_to_poa_merge_5.
Tue Jan 6 17:35:44 1998 Carlos O'Ryan <coryan@cs.wustl.edu>
* TAO_IDL/be/be_visitor_interface.cpp:
Added several fixes for mutiple inheritance, but still needs
some work.
Tue Jan 6 15:20:13 1998 Carlos O'Ryan <coryan@cs.wustl.edu>
* tao/object.h:
* tao/object.cpp:
Removed obsolete methods, they were there to support upcalls on
the server side, but now this is done on
PortableServer::ServantBase.
Tue Jan 6 14:46:27 1998 Carlos O'Ryan <coryan@cs.wustl.edu>
* tao/poa.h:
* TAO_IDL/be/be_interface.cpp:
* TAO_IDL/be/be_visitor_interface.cpp:
Added a _get_servant () method to the collocated classes, to
obtain access to the underlying skeleton.
Tue Jan 6 13:31:20 1998 Carlos O'Ryan <coryan@cs.wustl.edu>
* tao/objtable.h:
* tao/objtable.cpp:
Fixed some problems with the PortableServer::ObjectId and
PortableServer::Servant changes.
* tao/poa.h:
* TAO_IDL/be/be_interface.cpp:
Added a method to get the interface repository name for a
skeleton.
* tao/encode.cpp:
Fixed problem on object reference enconding.
Mon Jan 05 23:41:59 1998 <coryan@MILONGA>
* tao/objkeyC.cpp:
The code for memory reallocation was missing, I added it back.
* tao/iiopobj.cpp:
Fixed bug in object key generation.
* tao/poa.cpp:
More debug messages when an object is missing.
Mon Jan 05 17:46:00 1998 <coryan@MILONGA>
* tao/connect.cpp:
* tao/corba.h:
* tao/corbacom.h:
* tao/default_server.cpp:
* tao/default_server.h:
* tao/iiopobj.cpp:
* tao/iiopobj.i:
* tao/iioporb.cpp:
* tao/orbobj.cpp:
* tao/params.h:
* tao/params.i:
* tao/poa.cpp:
* tao/poa.h:
* tao/server_factory.cpp:
* tao/server_factory.h:
The ObjectId changes were "accepted for revision" by the POA
committe, hence I'll commit them, they check them and then I'll
have to make the changes they require ;-)
The current scheme uses TAO::ObjectKey as a representation for
sequence<octet>, this class is generated by the IDL compiler.
The ORB core uses a typedef (TAO_opaque) for all its internal
object keys; the current (and deprecated) POA uses ObjectId
(another typedef on the same thing) as object identifiers.
Mon Jan 5 13:06:19 1998 Carlos O'Ryan <coryan@macarena.cs.wustl.edu>
* Merged changes from revision main_to_poa_merge_3 up to revision
main_to_poa_merge_4.
Mon Jan 05 00:11:45 1998 <coryan@MILONGA>
* tao/objtable.h:
* tao/objtable.cpp:
New Object Table interface, in preparation for the POA needs.
Sat Jan 03 11:37:21 1998 <coryan@MILONGA>
* TAO_IDL/be/be_visitor_args.cpp:
Typedefs and predefined types where unproperly handled.
Fri Jan 2 14:09:49 1998 Carlos O'Ryan <coryan@macarena.cs.wustl.edu>
* tests/Cubit/TAO/IDL_Cubit/clnt.cpp:
Sequences work on Solaris, even Purify gives its "Houston it's a
go", so I'm reinstating them.
* tests/Cubit/TAO/IDL_Cubit/svr.cpp:
Minor cosmetic changes.
Fri Jan 02 08:31:32 1998 <coryan@MILONGA>
* Merged changes from revision main_to_poa_merge_2 up to revision
main_to_poa_merge_3.
Had to disable sequence test from IDL_Cubit.
Thu Jan 01 15:43:43 1998 <coryan@MILONGA>
* TAO_IDL/be/be_interface.cpp:
* TAO_IDL/be/be_visitor_interface.cpp:
Generated code for collocations setup the "parent_" field
properly.
* tao/objkeyC.h:
* tao/corbacom.h:
Added export macros.
* tao/objtable.cpp:
* tao/objtable.h:
* tao/poa.cpp:
* tao/poa.h:
Object table is based on servants now.
* tests/Cubit/TAO/IDL_Cubit/cubit_i.cpp:
* tests/Cubit/TAO/IDL_Cubit/server.dsp:
* tests/Cubit/TAO/IDL_Cubit/svr.cpp:
Fixed to use the new POA mapping.
* TAO_IDL/tao_idl.dsp:
* tao/TAO.dsp:
Added the new files to the MSVC++ project.
Tue Dec 30 16:38:42 1997 Carlos O'Ryan <coryan@macarena.cs.wustl.edu>
* More advances in code generation, it compiles and links now, but
won't run.
* TAO_IDL/be/be_array.cpp:
* TAO_IDL/be/be_enum.cpp:
* TAO_IDL/be/be_exception.cpp:
* TAO_IDL/be/be_interface.cpp:
* TAO_IDL/be/be_interface_fwd.cpp:
* TAO_IDL/be/be_predefined_type.cpp:
* TAO_IDL/be/be_sequence.cpp:
* TAO_IDL/be/be_string.cpp:
* TAO_IDL/be/be_structure.cpp:
* TAO_IDL/be/be_type.cpp:
* TAO_IDL/be/be_typedef.cpp:
* TAO_IDL/be/be_union.cpp:
* TAO_IDL/be/be_visitor_args.cpp:
* TAO_IDL/be_include/be_array.h:
* TAO_IDL/be_include/be_enum.h:
* TAO_IDL/be_include/be_exception.h:
* TAO_IDL/be_include/be_interface.h:
* TAO_IDL/be_include/be_interface_fwd.h:
* TAO_IDL/be_include/be_predefined_type.h:
* TAO_IDL/be_include/be_sequence.h:
* TAO_IDL/be_include/be_string.h:
* TAO_IDL/be_include/be_structure.h:
* TAO_IDL/be_include/be_type.h:
* TAO_IDL/be_include/be_typedef.h:
* TAO_IDL/be_include/be_union.h:
Added methods to be_type to generate the return types; this
time without any switches, just visitors and virtual
dispatching.
* tao/poa.cpp:
* tao/poa.h:
Added the methods to lookup operations, this are TAO specific
and should have complaint names, but currently I just kept the
old names to avoid a major breakdown.
* TAO_IDL/ast/Makefile:
* TAO_IDL/be/Makefile:
* TAO_IDL/driver/Makefile:
* TAO_IDL/fe/Makefile:
* TAO_IDL/narrow/Makefile:
* TAO_IDL/util/Makefile:
Updated dependencies.
* TAO_IDL/be/be_visitor_interface.cpp:
* TAO_IDL/be_include/be_visitor_interface.h:
* TAO_IDL/be/be_interface.cpp:
Reverted some changes (code moved from be_interface.cpp into
visitors) to avoid massive conflicts with Andy's changes.
Tue Dec 30 11:07:06 1997 Chris Cleeland <cleeland@cs.wustl.edu>
* tao/orb_core.h (TAO_Resource_Factory): Corrected my "fat-finger"
mistake for the return type of get_allocator ().
Mon Dec 29 16:26:24 1997 Chris Cleeland <cleeland@tango.cs.wustl.edu>
* tao/orb_core.{h,cpp}: Added methods for the orb core allocator
to the resource factory.
Mon Dec 29 13:18:49 1997 Carlos O'Ryan <coryan@macarena.cs.wustl.edu>
* TAO_IDL/be/Makefile:
* TAO_IDL/be/be_visitor.cpp:
* TAO_IDL/be/be_visitor_args.cpp:
* TAO_IDL/be/be_visitor_interface.cpp:
* TAO_IDL/be_include/be_visitor.h:
* TAO_IDL/be_include/be_visitor_args.h:
* TAO_IDL/be_include/be_visitor_interface.h:
Started implementation of the collocated class code generation,
using the visitor pattern; hence the new be_visitor class and
some examples of its use.
* TAO_IDL/be_include/be_type.h:
* TAO_IDL/be_include/be_typedef.h:
* TAO_IDL/be/be_type.cpp:
* TAO_IDL/be/be_typedef.cpp:
Added method to obtain the node type for the most "unaliased"
type though a typedef chain. This is needed in several points
for code generation.
* TAO_IDL/be/be_interface.cpp:
Implemented the collocated class generation using visitors,
ditto for (part of) the main class.
* TAO_IDL/util/utl_identifier.cpp:
Fixed memory deallocation problem. The string was copied using
ACE_OS::strdup(), but deleted using operator delete[].
* TAO_IDL/be/be_argument.cpp:
* TAO_IDL/be/be_array.cpp:
* TAO_IDL/be/be_attribute.cpp:
* TAO_IDL/be/be_constant.cpp:
* TAO_IDL/be/be_decl.cpp:
* TAO_IDL/be/be_enum.cpp:
* TAO_IDL/be/be_enum_val.cpp:
* TAO_IDL/be/be_exception.cpp:
* TAO_IDL/be/be_expression.cpp:
* TAO_IDL/be/be_field.cpp:
* TAO_IDL/be/be_interface.cpp:
* TAO_IDL/be/be_interface_fwd.cpp:
* TAO_IDL/be/be_module.cpp:
* TAO_IDL/be/be_operation.cpp:
* TAO_IDL/be/be_predefined_type.cpp:
* TAO_IDL/be/be_root.cpp:
* TAO_IDL/be/be_scope.cpp:
* TAO_IDL/be/be_sequence.cpp:
* TAO_IDL/be/be_string.cpp:
* TAO_IDL/be/be_structure.cpp:
* TAO_IDL/be/be_type.cpp:
* TAO_IDL/be/be_typedef.cpp:
* TAO_IDL/be/be_union.cpp:
* TAO_IDL/be/be_union_branch.cpp:
* TAO_IDL/be/be_union_label.cpp:
* TAO_IDL/be_include/be.h:
* TAO_IDL/be_include/be_argument.h:
* TAO_IDL/be_include/be_array.h:
* TAO_IDL/be_include/be_attribute.h:
* TAO_IDL/be_include/be_constant.h:
* TAO_IDL/be_include/be_decl.h:
* TAO_IDL/be_include/be_enum.h:
* TAO_IDL/be_include/be_enum_val.h:
* TAO_IDL/be_include/be_exception.h:
* TAO_IDL/be_include/be_expression.h:
* TAO_IDL/be_include/be_field.h:
* TAO_IDL/be_include/be_interface.h:
* TAO_IDL/be_include/be_interface_fwd.h:
* TAO_IDL/be_include/be_module.h:
* TAO_IDL/be_include/be_operation.h:
* TAO_IDL/be_include/be_predefined_type.h:
* TAO_IDL/be_include/be_root.h:
* TAO_IDL/be_include/be_scope.h:
* TAO_IDL/be_include/be_sequence.h:
* TAO_IDL/be_include/be_string.h:
* TAO_IDL/be_include/be_structure.h:
* TAO_IDL/be_include/be_type.h:
* TAO_IDL/be_include/be_typedef.h:
* TAO_IDL/be_include/be_union.h:
* TAO_IDL/be_include/be_union_branch.h:
* TAO_IDL/be_include/be_union_label.h:
Added the accept() method for the vistor pattern
implementation.
Mon Dec 29 11:37:47 1997 Chris Cleeland <cleeland@tango.cs.wustl.edu>
* tests/Cubit/TAO/MT_Cubit/server/Makefile: Updated dependencies.
Fri Dec 26 12:05:41 1997 Chris Cleeland <cleeland@tango.cs.wustl.edu>
* tests/Cubit/TAO/IDL_Cubit/cubit_i.cpp: Correctly modified the
make_cubit() method to properly access the underlying object key.
* tao/objkeyC.cpp: Added this crucial file that I somehow missed
adding in the last round of changes.
Wed Dec 24 15:50:38 1997 Chris Cleeland <cleeland@tango.cs.wustl.edu>
* tests/Cubit/TAO/IDL_Cubit/cubit_i.cpp: Removed non-standard
reliance on underlying object key implementation. It relied on
the buffer being publicly-accessible, which is wrong. However,
I'm not sure that my interim fix is very "right" since it takes
the address of operator[](0) to get to the underlying entire
buffer.
* tests/Cubit/TAO/{IDL_Cubit,MT_Cubit/{server,client}}/Makefile:
Updated to use rules.tao.GNU.
* tests/Thruput_test/Makefile: Updated to use rules.tao.GNU.
* tao/orb.h: Removed unnecessary inclusions of object.h and
corbacom.h from this file.
* tao/objkeyC.{h,cpp}: Moved the inclusion of corba.h from the
header to the implementation because of strange requirements of
the orb core. This means that this file CANNOT be used as
generated by the IDL compiler.
* tao/{orbobj,stub,object,iiopobj}.cpp: Updated to use the proper
TAO::ObjectKey_ptr type.
* tao/Makefile: Updated this after the recent merge that
accidentally overrote some changes I'd made.
* taoconfig.mk: Moved the implicit rule into rules.tao.GNU.
* rules.tao.GNU: Added this file where rules specific to TAO can
be collected. Right now it just contains an implicit rule for
executing the IDL compiler on .idl files.
Tue Dec 23 12:00:38 1997 Carlos O'Ryan <coryan@macarena.cs.wustl.edu>
* TAO-INSTALL.html:
* VERSION:
* Benchmark/benchmark/Makefile:
* TAO_IDL/be/be_array.cpp:
* TAO_IDL/be/be_attribute.cpp:
* TAO_IDL/be/be_codegen.cpp:
* TAO_IDL/be/be_decl.cpp:
* TAO_IDL/be/be_exception.cpp:
* TAO_IDL/be/be_operation.cpp:
* TAO_IDL/be/be_scope.cpp:
* TAO_IDL/be/be_sequence.cpp:
* TAO_IDL/be/be_state.cpp:
* TAO_IDL/be/be_state_argument.cpp:
* TAO_IDL/be/be_state_exception.cpp:
* TAO_IDL/be/be_state_operation.cpp:
* TAO_IDL/be/be_state_sequence.cpp:
* TAO_IDL/be/be_state_structure.cpp:
* TAO_IDL/be/be_state_typedef.cpp:
* TAO_IDL/be/be_state_union.cpp:
* TAO_IDL/be/be_type.cpp:
* TAO_IDL/be/be_union.cpp:
* TAO_IDL/be/be_union_branch.cpp:
* TAO_IDL/be_include/be_array.h:
* TAO_IDL/be_include/be_codegen.h:
* TAO_IDL/be_include/be_decl.h:
* TAO_IDL/be_include/be_scope.h:
* TAO_IDL/be_include/be_sequence.h:
* TAO_IDL/be_include/be_state.h:
* TAO_IDL/narrow/narrow.cpp:
* docs/Options.html:
* docs/components.html:
* docs/configurations.html:
* docs/index.html:
* docs/orbsvcs.html:
* docs/releasenotes/index.html:
* orbsvcs/README:
* orbsvcs/Dump_Schedule/Dump_Schedule.cpp:
* orbsvcs/Dump_Schedule/Makefile:
* orbsvcs/Event_Service/Dispatching_Modules.cpp:
* orbsvcs/Event_Service/Dispatching_Modules.i:
* orbsvcs/Event_Service/Event_Channel.cpp:
* orbsvcs/Event_Service/Event_Channel.i:
* orbsvcs/Event_Service/Event_Service.cpp:
* orbsvcs/Event_Service/Makefile:
* orbsvcs/Event_Service/RT_Task.cpp:
* orbsvcs/Event_Service/ReactorTask.cpp:
* orbsvcs/Naming_Service/CosNaming_i.cpp:
* orbsvcs/Naming_Service/Makefile:
* orbsvcs/Scheduling_Service/Config_Scheduler.cpp:
* orbsvcs/Scheduling_Service/Config_Scheduler.h:
* orbsvcs/Scheduling_Service/Makefile:
* orbsvcs/Scheduling_Service/Scheduling_Service.cpp:
* orbsvcs/orbsvcs/Makefile:
* orbsvcs/orbsvcs/RtecEventChannelAdmin.idl:
* orbsvcs/orbsvcs/Runtime_Scheduler.cpp:
* orbsvcs/orbsvcs/Runtime_Scheduler.h:
* orbsvcs/orbsvcs/Scheduler_Factory.cpp:
* orbsvcs/tests/Event_Latency/Event_Latency.cpp:
* orbsvcs/tests/Event_Latency/Makefile:
* orbsvcs/tests/Logger/Makefile:
* orbsvcs/tests/Logger/clnt.cpp:
* orbsvcs/tests/Simple_Naming/Makefile:
* tao/Makefile:
* tao/Timeprobe.cpp:
* tao/corba.h:
* tao/corbacom.cpp:
* tao/deep_free.cpp:
* tao/encode.cpp:
* tao/except.cpp:
* tao/except.h:
* tao/giop.cpp:
* tao/invoke.cpp:
* tao/managed_types.cpp:
* tao/managed_types.h:
* tao/managed_types.i:
* tao/object.i:
* tao/orb_core.cpp:
* tao/request.cpp:
* tao/tao_internals.cpp:
* tests/Cubit/TAO/IDL_Cubit/clnt.cpp:
* tests/Cubit/TAO/IDL_Cubit/clnt.h:
* tests/Cubit/TAO/MT_Cubit/client/Task_Client.cpp:
* tests/Cubit/TAO/MT_Cubit/client/Task_Client.h:
* tests/Cubit/TAO/MT_Cubit/client/client.cpp:
* tests/Cubit/TAO/MT_Cubit/client/cubit.idl:
* tests/Cubit/TAO/MT_Cubit/server/cubit.h:
* tests/Cubit/TAO/MT_Cubit/server/cubit.idl:
* tests/Cubit/TAO/MT_Cubit/server/cubit_i.cpp:
* tests/Cubit/TAO/MT_Cubit/server/cubit_i.h:
* tests/Cubit/TAO/MT_Cubit/server/method_db.i:
* tests/Cubit/TAO/MT_Cubit/server/svr.cpp:
Merged in the changes between revisions main_to_poa_merge_1 and
main_to_poa_merge_2.
The only conflicts were:
+ ChangeLog:
removed all the main truck comments and added the one you are
reading just now.
+ tests/Cubit/TAO/MT_Cubit/client/Makefile:
+ tests/Cubit/TAO/MT_Cubit/client/Makefile:
Left the branch revision, it included the dependencies and had
correct syntax.
+ tao/poa.cpp:
CORBA_POA::handle_request was removed on the
branch but modified on the main revision; keep it removed.
Wed Dec 17 02:11:11 1997 Chris Cleeland <cleeland@tango.cs.wustl.edu>
* tao/poa.h:
* tao/poa.cpp:
* tao/orbobj.h:
* tao/orbobj.cpp:
* tao/objkeyC.i:
* tao/objkeyC.h:
* tao/object.h:
* tao/iiopobj.h:
* tao/iiopobj.cpp:
* tao/decode.cpp:
* tao/corbacom.h:
* tao/corba.h:
* tao/any.cpp:
All affected by changes to support interfaces required by the new
POA, specifically CORBA::Object::key() and
CORBA::ORB::key_to_object(). It does not compile now, and seems
as if it's simply an ordering problem of header files.
Mon Dec 15 19:39:20 1997 Chris Cleeland <cleeland@cs.wustl.edu>
* TAO_IDL/be/Makefile:
* TAO_IDL/be/be_codegen.cpp:
* TAO_IDL/be/be_exception.cpp:
* TAO_IDL/be/be_interface.cpp:
* TAO_IDL/be/be_state.cpp:
* TAO_IDL/be/be_state_attribute.cpp:
* TAO_IDL/be/be_state_exception.cpp:
* TAO_IDL/be/be_union_branch.cpp:
* TAO_IDL/be_include/be_state.h:
* docs/releasenotes/orbcore.html:
* docs/releasenotes/index.html:
* orbsvcs/Naming_Service.cpp:
* tao/iiopobj.h:
* tao/except.h:
* tao/except.cpp: Merged in changes from the main trunk.
* tests/Thruput_test/Makefile: Updated to use taoconfig.mk.
Sat Dec 13 22:06:25 1997 Chris Cleeland <cleeland@tango.cs.wustl.edu>
* tao/poa.* (get_key): Removed this method, since it's
unnecessary.
* tao/objkey.idl: Added this file, which is the idl for an object
key.
* tao/iiopobj.*: Added some '@@' comments for Irfan.
* tao/Makefile: Reworked this monstrositry a bit.
Fri Dec 12 12:09:42 1997 Chris Cleeland <cleeland@cs.wustl.edu>
* tests/Cubit/TAO/IDL_Cubit/cubit_i.cpp: Changed to use
CORBA::Object::key() rather than _get_name().
* tests/Cubit/TAO/{DII_Cubit,IDL_Cubit,MT_Cubit}/Makefile: Updated
to use taoconfig.mk.
* tao/orb_core.i: Removed stray printf.
* taoconfig.mk: Added this file which contains common
configuration stuff for applications.
Thu Dec 11 21:28:09 1997 Chris Cleeland <cleeland@tango.cs.wustl.edu>
* tao/poa.{h,cpp}: Moved handle_request to
TAO_Server_Connection_Handler and moved create to
CORBA::ORB::key_to_object.
* tao/orbobj.{h,cpp}: Added key_to_object as a method to create an
object reference from an object key and type id. This code
actually used to live in POA::create.
* tao/object.h: Brief documentation twiddling, and renamed
get_subclass to get_most_derived, which is hopefully more
explicative.
* tao/{object,iiopobj,stub}.{h,cpp}: Renamed _get_name to 'key'
and have it return a TAO_ObjectKey_ptr rather than a const char*.
* tao/corbacom.h: Added typedef for TAO_ObjectKey, which
represents an object key in GIOP.
* tao/connect.{h,cpp}: Moved handle_request from the POA into
here, thereby helping confine IIOP-ness to the ORB Core and
keeping the POA pristine.
Thu Dec 11 22:18:52 1997 Aniruddha Gokhale <gokhale@mambo.cs.wustl.edu>
* TAO_IDL/be/be_interface.cpp: Moved the code generation for the
_var and _out classes before the actual class declaration, but
after the forward declaration. This was necessary if any elements
in the scope of the interface are defined to be of the same type
as that interface. In such a situation those elements are defined
to be of the _var type. Hence the declaration for _var and _out
must precede the class declaration.
Thu Dec 11 22:00:52 1997 Sergio Flores <sergio@tango.cs.wustl.edu>
* orbsvcs/Naming_Service/Naming_Service.cpp (main): Fixed a bug
related to returning an empty string as the ior in the reply from
the multicast request.
Thu Dec 11 14:06:50 1997 Aniruddha Gokhale <gokhale@mambo.cs.wustl.edu>
* TAO_IDL/be/{be_exception,be_state_exception}.cpp: Support for
exceptions added. Added a new file called
"be_state_exception.cpp".
* TAO_IDL/be_include/be_state.h: Added a new singleton for
be_state_exception.
* TAO_IDL/be/be_state.cpp: Template instantiations for
be_state_exception.
* TAO/docs/releasenotes/index.html: Updated to include exception
support.
* TAO/tao/except.{h,cpp}: Moved the TypeCode member from the
private section to the protected section so that derived classes
can set it. Also, changed the variable from _type to type_ to
stick to the ACE design standards.
* ============
* ============ End of POA branch changes.
* ============
Fri Jan 23 10:29:17 1998 David L. Levine <@cs.wustl.edu>
* tao/deep_free.cpp (TAO_Marshal_Sequence::deep_free): added
ACE_UNUSED_ARGs of dest and env.
* TAO_IDL/fe/{Makefile,y.tab.cpp,y.tab.cpp.diff}: added patch to
fix up y.tab.cpp to compile cleanly with g++.
* TAO_IDL/fe/{Makefile,lex.yy,cpp,lex.yy.cpp.diff}: added patch to
fix up lex.yy.cpp to compile cleanly with g++.
Thu Jan 22 18:18:07 1998 Nanbor Wang <nanbor@cs.wustl.edu>
* orbsvcs/Event_Service/GPlot_File.{h,cpp}: Shuffled template
instantiations and typedef's for ACE_Map_Manager around to
eliminate compilation errors from g++.
Thu Jan 22 16:32:56 1998 Chris Cleeland <cleeland@cs.wustl.edu>
* tao/nvlist.cpp (is_nil): Fixed some return lines that were
probably returning the wrong value by not enclosing a comparison
in parens. Fortunately we weren't really checking the return
value on these, I suspect ;-) Thanks to Frederic Andres
<andres@rd.nacsis.ac.jp> for turning this in.
Thu Jan 22 16:16:32 1998 Sumedh Mungee <sumedh@cs.wustl.edu>
* orbsvcs/orbsvcs/CosPropertyService_i.cpp, CosPropertyService_i.h, AVStreams_i.cpp, AVStreams_i.h:
Added empty implementation files for AVStreams and propertyservice implementations
* orbsvcs/orbsvcs/Makefile:
Fixed the Makefile so that it will compile the AV related stuff
only when run as `make av=1`.
Thu Jan 22 14:22:46 1998 Nanbor Wang <nanbor@lindy.cs.wustl.edu>
* orbsvcs_lib.dsp: Changed to use multithreaded libraries.
Thu Jan 22 14:20:13 1998 Nanbor Wang <nanbor@cs.wustl.edu>
* tests/Param_Test/{server,client}.dsp: The project files
somehow got messed up.
* orbsvcs/orbsvcs_lib.dsp: Changed to use multithreaded
libraries.
* orbsvcs/Scheduling_Service/Scheduling_Service.dsp: Removed
unnecessary link-time libraries.
* orbsvcs/Dump_Schedule/Dump_Schedule.dsp: Changed to use
multithreaded libraries.
Wed Jan 21 20:49:51 1998 Chris Cleeland <cleeland@cs.wustl.edu>
* TAO version 0.0.54, released Wed Jan 21 20:49:51 1998.
Wed Jan 21 19:38:02 1998 Aniruddha Gokhale <gokhale@mambo.cs.wustl.edu>
* tao/encode.cpp, decode.cpp: Fixed alignment problem. Done only
in Marshal_Struct for the time being. Details of this fix will be
inserted later.
Wed Jan 21 16:27:58 1998 Chris Cleeland <cleeland@tango.cs.wustl.edu>
* Makefile: Updated this to use the new release.pl file below.
* release.pl: Added new script to take over some of the release
work rather than having it all inline in the Makefile.
* tests/Cubit/TAO/MT_Cubit/README: Changed docs to reflect the new
names and command line requirements.
Wed Jan 21 15:38:52 1998 Carlos O'Ryan <coryan@cs.wustl.edu>
* orbsvcs/Event_Service/Makefile:
Removed GPlot_File from the list, it does not compile on
Solaris/g++, but it is not needed.
Wed Jan 21 11:48:19 1998 Aniruddha Gokhale <gokhale@mambo.cs.wustl.edu>
* tao/encode.cpp: Updated the ObjRef::encode routine to encode NUL
object references
* tests/Param_Test: Further improvements.
* TAO_IDL/be/{be_state_attribute, be_attribute}.cpp: Solved the
problem of return types. The stubs explicitly allocate the top
level storage. A similar fix was made for "operations" mentioned
in a previous ChangeLof entry.
Wed Jan 21 12:23:29 1998 Carlos O'Ryan <coryan@cs.wustl.edu>
* tests/Cubit/TAO/MT_Cubit/Makefile:
Fixed typo in object list for server and client.
Wed Jan 21 11:25:36 1998 Carlos O'Ryan <coryan@cs.wustl.edu>
* tests/Param_Test/tmplinst.cpp:
Removed extra ';' in instantiation pragma.
Wed Jan 21 11:13:56 1998 Carlos O'Ryan <coryan@cs.wustl.edu>
* tests/Cubit/TAO/MT_Cubit/Makefile:
* tests/Cubit/TAO/MT_Cubit/tmplinst.cpp:
* tao/giop.cpp:
Added missing template instantiations.
* tao/sequence_T.h:
* tao/sequence_T.i:
No need to return const reference to pointer, a simple return
by value (of the pointer) is OK.
Wed Jan 21 10:38:22 1998 Chris Cleeland <cleeland@tango.cs.wustl.edu>
* tests/Cubit/TAO/IDL_Cubit/clnt.cpp: Added template instantiation
for Env_Value<unsigned short>.
* tests/{Thruput/TAO,Param_Test,Cubit/TAO/IDL_Cubit}/Makefile:
Added the appropriate tmplinst.* so that it gets built/linked.
* tests/{Thruput/TAO,Param_Test,Cubit/TAO/IDL_Cubit}/tmplinst.cpp:
Added this file, which contains explicit template instantiations
for code generated by the IDL compiler. Ideally, this file (or
something like it) would be generated by the compiler, but we're
just not there yet. So, since it's not TOO much work, we do this.
Wed Jan 21 09:40:27 1998 Carlos O'Ryan <coryan@cs.wustl.edu>
* tao/sequence.cpp:
* tao/sequence_T.cpp:
Fixed allocation problem for operator= in sequences, the new
buffer should have size "rhs.maximum_", not "this->maximum_"
Wed Jan 21 04:43:57 1998 Aniruddha Gokhale <gokhale@mambo.cs.wustl.edu>
* tao/corbacom.h: Added Object_var and ORB_var to the CORBA class
(i.e., to the namespace)
* tao/sequence.cpp: Operator= for string sequence still had bugs
where we were not allocating a larger buffer of the assigned
quantity was larger than us. Similar bugs *might* be present in
other sequence classes and I have not tested them yet.
Wed Jan 21 01:34:07 1998 Nanbor Wang <nanbor@cs.wustl.edu>
* tests/Cubit/TAO/MT_Cubit/{server,client}.cpp: Ifdef'ed out
ACE_THR_PRIO_FIFO_DEF if it's not defined.
* orbsvcs/Naming_Service/Naming_Service.cpp: We should use
"ace/streams.h" to include iostream definition instead of using
<iostream.h> directly. It is not compatible with the new
standard CPP libraries.
* orbsvcs/Event_Service/Event_Service.dsp:
* orbsvcs/Naming_Service/Naming_Service.dsp:
* orbsvcs/Scheduling_Service/Scheduling_Service.dsp: It used the
wrong libraries.
Tue Jan 20 22:59:42 1998 Chris Cleeland <cleeland@tango.cs.wustl.edu>
* tao/sequence_T.cpp: Fixed more typos where it was referring to
the argument as 'seq' rather than the real name 'rhs'.
Tue Jan 20 22:38:10 1998 <coryan@MILONGA>
* tests/Param_Test/tests.cpp:
No need to call CORBA::string_free() on opname_, since it is a
String_var
* tao/sequence_T.cpp:
Fixed typo in object sequences.
Tue Jan 20 21:53:52 1998 Carlos O'Ryan <coryan@cs.wustl.edu>
* orbsvcs/orbsvcs/Makefile:
* orbsvcs/orbsvcs/TAO_IDL_templates.cpp:
Added missing template instantiations, they go into their own
file because I could not think of a "natural" place to put them.
Tue Jan 20 20:25:41 1998 Carlos O'Ryan <coryan@cs.wustl.edu>
* tao/sequence.h:
* tao/sequence.i:
* tao/sequence.cpp:
* tao/sequence_T.i:
* tao/sequence_T.cpp:
Another round of changes, this time fixing several bugs reported
by Andy and Irfan.
Tue Jan 20 20:23:57 1998 Carlos O'Ryan <coryan@cs.wustl.edu>
* tao/nvlist.h:
* tao/nvlist.i:
Fixed warnings for IRIX and follow the spec, use const methods
but return non-const types!
Tue Jan 20 17:00:15 1998 Chris Cleeland <cleeland@cs.wustl.edu>
* tao/strategy_T.h: Added this file to contain template strategies
such as TAO_Reactive_Strategy<>.
* tao/default_server.*: Moved TAO_Reactive_Strategy<> into its own
set of files. Thanks to Bryan Mendel <brian.r.mendel@boeing.com>
for suggesting this fix!
* tao/sequence_T.cpp (operator =): Corrected a problem where T**
was being assigned to T*.
* tao/orb_core.cpp (init): Moved setting of stuff in orb_params()
to be post-service initialization. It needs to be this way
because the ORB Parameters are now regulated by the resource
factory settings, and that gets created during service
initialization.
* tao/giop.cpp: Changed the TAO_GIOP_LocateRequestHeader::init to
be more efficient and not generate warnings on Irix.
* tao/{giop,connect}.cpp: Update code that touches ORB-internal
sequences to use the API of TAO_Unbounded_Sequence<> rather than
the old crufty code.
* tao/giop.h: Change ORB-internal sequences (such as the
ServiceContextList) to use the new TAO_Unbounded_Sequence<>
template rather than the deprecated CORBA_SEQUENCE<> hack.
Tue Jan 20 09:18:31 1998 Aniruddha Gokhale <gokhale@mambo.cs.wustl.edu>
* TAO/tao/interp.cpp: Used TAO_opaque to set the size of any
generic sequence.
* TAO_IDL/be/{be_operation,be_state_operation}.cpp: For return
value of sequences, the stub now allocates the top level storage
for the sequence class.
Tue Jan 20 05:34:16 1998 Aniruddha Gokhale <gokhale@mambo.cs.wustl.edu>
* TAO/tao/sequence.cpp: In the assignment operator for Unbounded
string sequences, we had forgotten to update the max and length
fields to that of the assigned sequence in the event of it being
larger than ourselves. We had also forgottent o set our release
flag to true as well as free the old buffer (if already our
release flag was true). I have not checked if there are similar
bugs in other "=" operators or not. But these will be evident as
more tests are added to the Param_Test example.
Mon Jan 19 23:35:45 1998 <coryan@MILONGA>
* tao/sequence_T.h:
* tao/sequence_T.i:
* tao/sequence_T.cpp:
Finished suit of parametric classes for sequences, including
bounded sequences of objects and strings.
Fixed some more bugs in the Manager classes for sequences of
objects.
Mon Jan 19 17:33:45 1998 Chris Cleeland <cleeland@tango.cs.wustl.edu>
* orbsvcs/tests/Simple_Naming/clnt.cpp (init): Changed the marker
name for the naming service to "NameService" and fixed a bunch of
places in init() where "1" was being returned instead of "-1".
* tests/Cubit/TAO/IDL_Cubit/README: Fixed portion that talks about
the IOR to use the correct default IOR. Thanks to J Russell
Noseworthy <j.russell.noseworthy@objectsciences.com> for catching
this and submitting fixes!
Mon Jan 19 15:41:53 1998 Nanbor Wang <nanbor@cs.wustl.edu>
* tests/Cubit/TAO/MT_Cubit/server.cpp (create_servants): Added a
final return statement to avoid warnings.
(ACE_THR_PRI_FIFO_DEF): This macro is not defined on NT. I
ifdef'ed the priority setting statement out temporarily until we
figure out a way to map NT's thread priority values to pthread's
priority values.
* tests/Cubit/TAO/MT_Cubit/server.dsp: Updated project file.
* tests/Cubit/TAO/IDL_Cubit/clnt.cpp (Cubit_Client): Changed the
data type of <defport> to CORBA::UShort.
* tests/Param_Test/options.{h,cpp} (portnum): Changed it to type
CORBA::UShort.
* tests/Param_Test/helper.cpp (gen_fixed_struct): Added
parenthesis to avoid warnings.
* tao/sequence.h (TAO_Unbounded_String_Sequence): Added TAO_Export
to class TAO_Unbounded_String_Sequence.
Mon Jan 19 11:24:43 1998 Carlos O'Ryan <coryan@cs.wustl.edu>
* tao/sequence_T.i:
g++ does not like nested types in templates.
* docs/releasenotes/index.html:
Updated docs on services.
Sun Jan 18 21:33:21 1998 <coryan@MILONGA>
* tao/sequence.h:
* tao/sequence.i:
* tao/sequence.cpp:
* tao/sequence_T.h:
* tao/sequence_T.i:
* tao/sequence_T.cpp:
Added new class for sequences of strings, the approach based on
templates was not worth it.
Also fixed a number of bugs in the unbounded object sequences.
The following items are in the TODO list:
+ Bounded sequences of objects
+ Bounded sequences of strings.
* TAO_IDL/be_include/be_helper.h:
* TAO_IDL/be/be_helper.cpp:
Addded small manipulators to indent and unindent an output
stream.
* TAO_IDL/be/be_visitor_sequence.cpp:
Synch up with new classes for string and objects.
* tests/Param_Test/tests.cpp:
Fixed some problems with the test for sequences of variable
sized structures.
* orbsvcs/Event_Service/CORBA_Utils_T.cpp:
Fixed unsigned/signed comparison.
Sun Jan 18 18:30:16 1998 Nanbor Wang <nanbor@cs.wustl.edu>
* TAO/tests/Cubit/TAO/MT_Cubit/*.{dsp.MAK}:
* TAO/tests/Param_Test/*.{dsp,MAK}: Played with exported
makefiles some more. It's ultimately funny that when a project
file has some customed build commands in it, the exported
makefile sometime won't work correctly.
Sat Jan 17 23:41:33 1998 Nanbor Wang <nanbor@cs.wustl.edu>
* Added more MSVC makefiles in some test directories.
* tests/Param_Test/{client,server}.dsp: Correct idl generated
files' dependency.
Sat Jan 17 22:40:29 1998 Aniruddha Gokhale <gokhale@mambo.cs.wustl.edu>
* TAO/tao/orbobj.{h,i}: Added _var and _out for CORBA_ORB
Sat Jan 17 21:28:05 1998 <coryan@MILONGA>
* tao/corba.h:
* tao/corbacom.h:
Moved the definition of TAO_opaque from corbacom.h to corba.h so
it appears after the "sequence.h" file.
* tao/sequence.h:
* tao/sequence.cpp:
Reorder includes to avoid "inline called before declared so"
warning in g++.
* tests/Cubit/TAO/MT_Cubit/server.cpp:
The OA uses TAO_opaque instead of CORBA::OctetSeq.
Sat Jan 17 16:07:51 1998 Carlos O'Ryan <coryan@cs.wustl.edu>
* TAO_IDL/be/be_visitor_args.cpp:
* TAO_IDL/be/be_visitor_interface.cpp:
* TAO_IDL/be_include/be_visitor_args.h:
* TAO_IDL/be_include/be_visitor_interface.h:
New visitors to generate collocated classes (only used on the
POA branch) and the arguments declaration.
Fri Jan 16 23:38:38 1998 <coryan@MILONGA>
* tao/decode.cpp:
* tao/deep_free.cpp:
* tao/giop.h:
* tao/iiopobj.cpp:
* tao/sequence.h:
* tao/sequence_T.h:
* tao/sequence_T.cpp:
Fixed some memory *deallocation* problems with sequences, they
needed a _deallocate_buffer() method, not to implement the base
class destructor, but to implement deep_free.
Fri Jan 16 18:01:03 1998 Carlos O'Ryan <coryan@cs.wustl.edu>
* The Event Service works on Solaris/SunCC again.
* tao/poa.h:
* tao/poa.cpp:
* tao/objtable.h:
* tao/objtable.cpp:
* tao/connect.cpp:
The object table, and POA use a real TAO_Unbounded_Sequence,
removing some nasty casts.
* tao/sequence_T.i:
* tao/sequence_T.cpp:
Fixed some memory allocation problems in operator=
* TAO_IDL/be/be_interface.cpp:
No need to cast the object key when calling POA::bind(), it
takes a TAO_opaque now.
Thu Jan 15 17:15:29 1998 Carlos O'Ryan <coryan@cs.wustl.edu>
* TAO/TAO_IDL/be/be_interface.cpp:
* TAO/tao/connect.cpp:
* TAO/tao/corba.h:
* TAO/tao/corbacom.cpp:
* TAO/tao/corbacom.h:
* TAO/tao/decode.cpp:
* TAO/tao/encode.cpp:
* TAO/tao/iiopobj.cpp:
* TAO/tao/iiopobj.i:
* TAO/tao/iioporb.cpp:
* TAO/tao/poa.cpp:
Now TAO_opaque is implemented using the new TAO_*_Sequence
classes, this is needed because the demarshaller expects that
class. There are some other sequences in the ORB core that
need the same change, but currently that is not so urgent.
The object table expects a CORBA_SEQUENCE so some casting is
still done among those classes and the new templates. The POS
branch already solved this, so I will wait until the merge to
fix it.
* TAO/tao/sequence_T.h:
* TAO/tao/sequence_T.i:
* TAO/tao/sequence_T.cpp:
Now we include sequence_T.i in sequence_T.h, this is needed for
template instantiation.
The ACE_ASSERT for indices was comparing to the value of
length_, it must compare with maximum_, it is possible that the
user creates the sequence with enough space (thus maximum_ is
properly set, but length_ is 0), then inserts some data and
finally sets the length, with the previous asserts that would
fail.
* TAO/tao/Makefile:
* TAO/TAO_IDL/*/Makefile:
* TAO/orbsvcs/*/Makefile:
* TAO/tests/Cubit/TAO/*/Makefile:
Dependencies regenerated.
Wed Jan 14 23:10:13 1998 <coryan@MILONGA>
* sequence.h:
* sequence.i:
* sequence.cpp:
* sequence_T.h:
* sequence_T.i:
More generated and parametric code reduced, also fixed some
problems detected by MSVC++.
* tao/TAO.dsp:
* TAO_DL/tao_idl.dsp:
Updated projects to include new files.
Wed Jan 14 21:03:18 1998 Carlos O'Ryan <coryan@swarm.cs.wustl.edu>
* sequence.h:
* sequence.i:
* sequence.cpp:
Removed unused TAO_Unbounded_String class, it has been
superseeded by
TAO_Unbounded_Managed_String<char,TAO_String_Manager>.
* sequence_T.h:
* sequence_T.i:
Managed sequences only need the const version of operator[],
because they return a Manager by value.
Wed Jan 14 20:32:47 1998 <coryan@MILONGA>
* tao/sequence_T.h:
Fixed typo in base class for ACE_Bounded_Managed_Sequence.
Wed Jan 14 17:54:31 1998 Carlos O'Ryan <coryan@cs.wustl.edu>
* TAO_IDL/be_include/be_visitor_sequence.h:
* TAO_IDL/be/be_visitor_sequence.cpp:
* TAO_IDL/be/be_interpretive.cpp:
* TAO_IDL/be/be_sequence.cpp:
The compiler generates code using the new managed sequence
parametric classes.
Also handled typedefs correctly while generating sequence code
specially template arguments and return types for operator[] in
_var and _out classes.
Simplified code generation for sequences of sequences: the
generated typedefs can be used to instantiate the templates.
Finally made some of the visitors more generic, so less
knowledge on the stream files gets distributed.
* tao/sequence.h:
* tao/sequence.cpp:
* tao/sequence_T.h:
* tao/sequence_T.i:
* tao/sequence_T.cpp:
Re-implemented the Managed_Sequence classes using the "Manager"
as a parameter instead of a nested type.
Still requires some work because the sequences need privileged
access (friend) to the Managers.
Tue Jan 13 15:55:32 1998 Chris Cleeland <cleeland@cs.wustl.edu>
* Makefile (INSTALL): Added a rule to build the INSTALL file from
TAO-INSTALL.html. Also added both TAO-INSTALL.html and INSTALL to
the list of files included in the release. TAO-INSTALL.html had
not been included at all.
* TAO-INSTALL.html: Updated some of the text in the Unix portion
to be explicit regarding the need for GNU Make.
* INSTALL: Added this file, which is the output of 'lynx -dump
TAO-INSTALL.html'.
Mon Jan 12 20:04:32 1998 Sumedh Mungee <sumedh@cs.wustl.edu>
* tests/Cubit/TAO/MT_Cubit/server.cpp: Added comments
Mon Jan 12 17:29:44 1998 Aniruddha Gokhale <gokhale@mambo.cs.wustl.edu>
* TAO_IDL/be/be_codegen.cpp: Added initialization for an abstract
visitor factory in the constructor and deletion in the
destructor.
Added code for the "make_visitor" factory method.
* TAO_IDL/be/be_factory.cpp: Added destructor and constructor for
abstract factory (*note* it is not pure abstract).
* TAO_IDL/be/be_produce.cpp: We use the different visitors for the
root to start code generation. At this time, we instantiate the
visitor factory with the concrete factory of visitors which will
generate stubs/skeletons using TAO's interpretive marshaling
engine.
* TAO_IDL/be_be_sequence.cpp: Commented out a large part of code
to enable visitors for sequences to take over code generation.
* TAO_IDL/be/be_visitor.cpp: Abstract factory of visitors.
* TAO_IDL/be/{be_visitor_root, be_visitor_sequence}.cpp: visitors
for Root and Sequences respectively. be_visitor_sequence.cpp is a
new file.
* TAO_IDL/be_include/{be_codegen, be_visitor, be_visitor_root,
be_visitor_sequence, be_factory, be_sequence}.h: Files affected
due to introduction of visitors and visitor factory. Added a
boolean "unbounded ()" method on sequences.
* TAO/tao/{decode, encode}.cpp: Uses TAO_Base_Sequence instead of
the hack of using CORBA_SEQUENCE<Octet>.
* TAO/tao/{sequence, sequence_T}.{h,i,cpp}: Added large amount of
code for bounded and unbounded sequences as well as the special
cases for sequences of object references and strings, along with
their managed types.
* TAO/tests/Param_Test: Added tests for object references and
sequence of variable structs. There are some problems with the
generated code.
Sun Jan 11 11:15:35 1998 David L. Levine <levine@cs.wustl.edu>
* tao/sequence.i (TAO_Base_Sequence): reordered initializers to match
declaration order.
* tao/nvlist.h: changed AddRef and Release declarations to return
CORBA::ULong instead of ULONG, to match their definitions.
Sat Jan 10 14:08:09 1998 <coryan@MILONGA>
* TAO_IDL/be/be_array.cpp:
* TAO_IDL/be/be_exception.cpp:
* TAO_IDL/be/be_interface.cpp:
We no longer generate names with CORBA_1 or CORBA_3 macros, but
sometimes we cannot use the typedefs in CORBA:: because some
weird MSVC++ features (bugs?).
Fri Jan 09 21:37:39 1998 <coryan@MILONGA>
* TAO_IDL/be/be_typedef.cpp:
Added missing accept() method for visitors.
* orbsvcs/orbsvcs/Runtime_Scheduler.cpp:
Fixed signed/unsigned warning.
* orbsvcs/Naming_Service/CosNaming_i.cpp:
Yet another fix for the namespace warnings.
* orbsvcs/Dump_Schedule/Dump_Schedule.dsp:
* orbsvcs/Event_Service/Event_Service.dsp:
* orbsvcs/Naming_Service/Naming_Service.dsp:
* orbsvcs/Scheduling_Service/Scheduling_Service.dsp:
* orbsvcs/tests/Event_Latency/Event_Latency.dsp:
Executables are not generated into the Debug subdirectory.
Fri Jan 9 20:49:41 1998 Sergio Flores <sergio@polka.cs.wustl.edu>
* orbsvcs/Naming_Service/CosNaming_i.cpp: Fixed some code dealing
with Warning (Anachronism) messages.
Fri Jan 9 19:04:10 1998 Nanbor Wang <nw1@cs.wustl.edu>
* tao/orbobj.cpp: Moved template instantiation codes around to
eliminate compilation errors.
Fri Jan 9 17:49:55 1998 Carlos O'Ryan <coryan@cs.wustl.edu>
* tao/Makefile:
* tao/corba.h:
* tao/corbacom.h:
* tao/sequence.cpp:
* tao/sequence.h:
* tao/sequence.i:
* tao/sequence_T.cpp:
* tao/sequence_T.h:
* tao/sequence_T.i:
Added the new TAO_Base_Sequence class and its parametric
children (TAO_Bounded_Sequence and TAO_Unbounded_Sequence). This
classes will be used in the implementation of all the IDL
sequences, thus providing the interpreter with a base class to
manipulate them.
* orbsvcs/Scheduling_Service/Scheduler.cpp:
Fixed some instantiation problems.
* TAO_IDL/be/Makefile:
* TAO_IDL/be/be_argument.cpp:
* TAO_IDL/be/be_array.cpp:
* TAO_IDL/be/be_attribute.cpp:
* TAO_IDL/be/be_constant.cpp:
* TAO_IDL/be/be_decl.cpp:
* TAO_IDL/be/be_enum.cpp:
* TAO_IDL/be/be_enum_val.cpp:
* TAO_IDL/be/be_exception.cpp:
* TAO_IDL/be/be_expression.cpp:
* TAO_IDL/be/be_field.cpp:
* TAO_IDL/be/be_interface.cpp:
* TAO_IDL/be/be_interface_fwd.cpp:
* TAO_IDL/be/be_module.cpp:
* TAO_IDL/be/be_native.cpp:
* TAO_IDL/be/be_operation.cpp:
* TAO_IDL/be/be_predefined_type.cpp:
* TAO_IDL/be/be_root.cpp:
* TAO_IDL/be/be_scope.cpp:
* TAO_IDL/be/be_sequence.cpp:
* TAO_IDL/be/be_string.cpp:
* TAO_IDL/be/be_structure.cpp:
* TAO_IDL/be/be_type.cpp:
* TAO_IDL/be/be_union.cpp:
* TAO_IDL/be/be_union_branch.cpp:
* TAO_IDL/be/be_union_label.cpp:
* TAO_IDL/be/be_visitor.cpp:
* TAO_IDL/be/be_visitor_root.cpp:
* TAO_IDL/be_include/be.h:
* TAO_IDL/be_include/be_argument.h:
* TAO_IDL/be_include/be_array.h:
* TAO_IDL/be_include/be_attribute.h:
* TAO_IDL/be_include/be_constant.h:
* TAO_IDL/be_include/be_decl.h:
* TAO_IDL/be_include/be_enum.h:
* TAO_IDL/be_include/be_enum_val.h:
* TAO_IDL/be_include/be_exception.h:
* TAO_IDL/be_include/be_expression.h:
* TAO_IDL/be_include/be_field.h:
* TAO_IDL/be_include/be_interface.h:
* TAO_IDL/be_include/be_interface_fwd.h:
* TAO_IDL/be_include/be_module.h:
* TAO_IDL/be_include/be_native.h:
* TAO_IDL/be_include/be_operation.h:
* TAO_IDL/be_include/be_predefined_type.h:
* TAO_IDL/be_include/be_root.h:
* TAO_IDL/be_include/be_scope.h:
* TAO_IDL/be_include/be_sequence.h:
* TAO_IDL/be_include/be_string.h:
* TAO_IDL/be_include/be_structure.h:
* TAO_IDL/be_include/be_type.h:
* TAO_IDL/be_include/be_typedef.h:
* TAO_IDL/be_include/be_union.h:
* TAO_IDL/be_include/be_union_branch.h:
* TAO_IDL/be_include/be_union_label.h:
* TAO_IDL/be_include/be_visitor.h:
* TAO_IDL/be_include/be_visitor_root.h:
Added visitors from the poa branch into the main trunk.
Fri Jan 9 16:17:37 1998 Chris Cleeland <cleeland@cs.wustl.edu>
* tao/orb_core.*: Changed ORB parameters, OA parameters, and the
endpoint address to be switchable btw. global and tss resources.
I also cleaned up the redundant accessor methods by using macros
to define them. Thanks to Keith Nicewarner <knicewar@sanders.com>
for his bug reports which led to this solution.
* tao/orbobj.cpp (run,perform_work): Added code to set the
Reactor's owner to the current thread prior to calling
handle_events(). Thanks to Keith Nicewarner
<knicewar@sanders.com> for his bug reports which led to this
solution.
Fri Jan 9 16:00:21 1998 Aniruddha Gokhale <gokhale@mambo.cs.wustl.edu>
* TAO_IDL/be/be_interface.cpp: Removed a Release statement that
was getting generated in the _narrow method
* TAO_IDL/be/{be_state_argument, be_state_operation}.cpp: All
typedefed strings are handled as if they are strings.
Fri Jan 09 12:29:55 1998 <coryan@CHA-CHA>
* tao/default_server.cpp:
Fixed missing initialization for object_lookup_strategy_
Fri Jan 9 12:17:02 1998 Carlos O'Ryan <coryan@swarm.cs.wustl.edu>
* orbsvcs/Event_Service/Dispatching_Modules.cpp:
* orbsvcs/Event_Service/Event_Channel.cpp:
* orbsvcs/Event_Service/GPlot_File.cpp:
* orbsvcs/Event_Service/Memory_Pools.cpp:
* orbsvcs/Event_Service/Task_Manager.cpp:
* orbsvcs/Scheduling_Service/Scheduler.cpp:
* orbsvcs/Scheduling_Service/Scheduler_Generic.cpp:
Added missing instantiation for platforms with
ACE_HAS_TEMPLATE_INSTANTIATION_PRAGMA (IRIX)
* orbsvcs/Event_Service/CORBA_Utils_T.h:
Added missing member to ACE_ES_Array_Iterator.
* orbsvcs/Scheduling_Service/Scheduler.h:
Use ACE_SYNCH_MUTEX instead of ACE_HAS_THREADS and
ACE_Null_Mutex vs ACE_Thread_Mutex.
* orbsvcs/orbsvcs/Makefile:
The IDL generated files are .PRECIOUS
Thu Jan 8 21:58:18 1998 Aniruddha Gokhale <gokhale@mambo.cs.wustl.edu>
* TAO_IDL/be/be_interface.cpp: be_interface::relative_skel_name ()
was producing incorrect results because we were overwriting an
internal string with '\0'
* TAO/tao/deep_free.cpp: Marshal_Struct::deep_free. Commented out
the call to String::deep_free if a member is a string because that
free should happen automatically as the member is a String_var
type. In addition, String::deep_free was setting the pointer to 0.
* TAO/tao/marshal.i: In string::deep_free, commente dout the line
that sets the pointer to 0.
* TAO/tests/Param_Test: Added a string member field to the
var_struct. Also some modifications. Needs more improvement.
Thu Jan 08 17:48:49 1998 <coryan@CHA-CHA>
* Naming_Service/NS_CosNaming.cpp:
* orbsvcs/Naming_Service/CosNaming_i.cpp:
ACE_NESTED is only needed in the generated code.
* Scheduling_Service/Scheduling_Service.cpp:
MSVC++ 5.0 seems to have a bug: if the implementation for the
scheduling service is stored into a RtecScheduler::Scheduler_ptr
then the server crashes; this is OK in other platforms and looks
OK since the pointers are in fact compatible.
* tests/Event_Latency/Event_Latency.cpp:
Removed some warnings by using "CORBA::ULong" instead of "int"
in comparisons against sequence<>::length.
* Dump_Schedule/Dump_Schedule.dsp:
* orbsvcs/orbsvcs_lib.dsp:
Fixed some names and missing options.
Thu Jan 08 15:55:21 1998 Nanbor Wang <nw1@cs.wustl.edu>
* tao/objtable.cpp:
* tao/optable.cpp:
* tao/orbobj.cpp:
* orbsvcs/Naming_Service/CosNaming_i.cpp: Added missing template
instantiation codes.
Thu Jan 8 12:53:28 1998 Chris Cleeland <cleeland@cs.wustl.edu>
* tao/corbacom.i (wstring_dup): Added this, which simply calls
wstring_copy(). Of course, I can't find any mention of EITHER of
these functions in the 2.0 or 2.1 spec, but what good are wstrings
if you can't make copies? Plus, Irfan really wanted it.
Thu Jan 8 11:36:38 1998 Aniruddha Gokhale <gokhale@mambo.cs.wustl.edu>
* TAO_IDL/be_include/be_interface.h, TAO_IDL/be/be_interface.cpp:
Added a method called "relative_skel_name" to be used for
generating names of inherited interfaces in the keleton class
name.
* TAO_IDL/be/be_state_argument.cpp: Generation of space was
missing after the "native" type in a parameter list declaration.
* TAO_IDL/fe/{y.tab.*, lex.yy.cpp}: Due to changes in the idl.ll
and idl.yy files, these had to be regenerated.
Thu Jan 08 00:14:56 1998 <coryan@MILONGA>
* orbsvcs/orbsvcs.dsw:
* orbsvcs/Dump_Schedule/Dump_Schedule.dsp:
* orbsvcs/Dump_Schedule/Dump_Schedule.dsw:
* orbsvcs/Event_Service/Event_Service.dsp:
* orbsvcs/Event_Service/Event_Service.dsw:
* orbsvcs/Naming_Service/Naming_Service.dsp:
* orbsvcs/Naming_Service/Naming_Service.dsw:
* orbsvcs/Scheduling_Service/Scheduling_Service.dsp:
* orbsvcs/Scheduling_Service/Scheduling_Service.dsw:
* orbsvcs/tests/Event_Latency/Event_Latency.dsp:
* orbsvcs/tests/Event_Latency/Event_Latency.dsw:
Added preliminar (untested) versions of the project files for
MSVC++ 5.0.
Wed Jan 7 22:41:41 1998 Carlos O'Ryan <coryan@swarm.cs.wustl.edu>
* tao/corba.h:
Removed varout.h from the list of included files; it is no used
and would abort compilation on IRIX.
* tests/Cubit/TAO/IDL_Cubit/clnt.cpp:
* tao/orbobj.cpp:
Added missing template instantiations.
* tao/varout.h:
Some fixes, but actually the changes were aborted, Andy informed
me that the file wasn't really used.
Wed Jan 07 21:52:20 1998 <coryan@MILONGA>
* TAO_IDL/tao_idl.dsp:
Added the new native_* functions to the project file.
Also use the new tao_idl.cpp file in the top level directory.
Wed Jan 7 20:20:56 1998 Sergio Flores <sergio@polka.cs.wustl.edu>
* orbsvcs/Naming_Service/NS_CosNaming.cpp:
* orbsvcs/Naming_Service/CosNaming_i.cpp: Use the correct
_duplicate function. Also changed the code to use exceptions
already supported by TAO.
Wed Jan 7 18:00:08 1998 Carlos O'Ryan <coryan@cs.wustl.edu>
* TAO_IDL/Makefile:
* TAO_IDL/tao_idl.cpp:
* TAO_IDL/driver/Makefile:
* TAO_IDL/driver/drv_main.cpp:
Moved the main() routine to the topmost directory, this is
needed for platforms like SGI that will not link a group of
shared libraries without any object files. It also seems more
reasonable (IMHO).
Wed Jan 7 13:55:26 1998 Chris Cleeland <cleeland@tango.cs.wustl.edu>
* tests/Cubit/TAO/IDL_Cubit/clnt.cpp: Changed the assignment of
default port number to fetch the value from the environment
similar to what is done in orb_core.cpp.
* tao/poa.{h,cpp} (handle_request): Moved functionality to
TAO_Server_Connection_Handler in connect.*.
* tao/orb_core.cpp: Added the ability to specify the default
server port via an environment variable using the ACE_Env_Value
template. The name of the environment variable is the same as the
preprocessor #define: TAO_DEFAULT_SERVER_PORT.
* tao/giop.* (TAO_GIOP_LocateRequest): Added a CTOR and init
method similar to TAO_GIOP_Request.
* tao/connect.{h,cpp} (handle_locate): Added to handle the
LocateRequest CORBA request. Also moved handle_request() method
from the poa to here.
* tao/Makefile: Added "fakesvcconf" variable check so that if
somebody wants to build with faked svc config entries on a
platform, they can simply do "make fakesvcconf=1". The CHORUS and
VXWORKS sections now override the value of this variable to be 1.
Wed Jan 7 12:00:14 1998 Aniruddha Gokhale <gokhale@mambo.cs.wustl.edu>
* TAO/tao/corbacom.h: Added forward declarations for
CORBA_Object_var and CORBA_Object_out
* TAO/tao/varout.h: some improvements. However, this file is not
used currently.
* TAO_IDL/include/ast_native.h: New file that defines the "native"
type defined by the POA spec.
* TAO_IDL/include/{ast, ast_interface, ast_module, ast_decl,
idl_fwd, idl_global, utl_scope}:
Added the create_native and fe_add_native methods for the newly
added "native" type. Added a enum value for native in
AST_Decl.h. Added an enum value for the current parse state in
idl_global.h. Added forward declarations in idl_fwd.h. Added the
"add_native" method in utl_scope.h
* TAO_IDL/ast/{ast_generator, ast_interface, ast_module}.cpp:
Added the create_native and fe_add_native methods for the newly
added "native" type.
* TAO_IDL/ast/ast_native.cpp: New file for native type
* TAO_IDL/fe/idl.ll: Added a rule to recognize the "native"
keyword.
* TAO_IDL/fe/idl.yy: Added a grammar rule for the "native" type.
* TAO_IDL/util/utl_scope.cpp: Added add_native and fe_add_native
methods.
* TAO_IDL/be_include/be_native.h: New file for the backend for
"native" type.
* TAO_IDL/be/be_native.cpp: New file for backend implementation of
"native".
* TAO_IDL/be/be_attribute.cpp: For the "set" method, we were
setting the paramdata structure of the get method. This has been
fixed.
* TAO_IDL/be/be_generator.cpp: Added create_native method.
* TAO_IDL/be/be_interface.cpp:
For a special case of a deeply nested inheritance graph and one
specific way of inheritance in which a node that was already
visited, but is not present in the queue, gets inserted at the
tail. This sitation arises when a node multiply inherits from two
or more interfaces in which the first parent is higher up in the
tree than the second parent. In addition, if the second parent
turns out to be a child of the first. Thanks to Carlos O'Ryan for
reporting the error.
In addition, we use the nested_type_name for the inherited classes
in the class definition.
* TAO_IDL/be/be_type.cpp: We generate relative paths instead of
the ACE_NESTED_CLASS macro. However, I am going to make this an
IDL option at a later point.
* TAO_IDL: Did "make depend" on all the Makefiles.
* TAO/tests/Param_Test: Added tests for testing object
references. This is still incomplete.
Tue Jan 6 19:48:45 1998 Sumedh Mungee <sumedh@cs.wustl.edu>
* TAO/tests/Cubit/TAO/MT_Cubit/README: Updated README to explain
the latest generalization of the MT_Cubit tests.
Tue Jan 6 17:25:57 1998 Nanbor Wang <nw1@lindy.cs.wustl.edu>
* MT_Cubit.dsw,client.dsp,server.dsp: Update workspace and
project files to reflect the change in directory structure.
Mon Jan 05 23:54:13 1998 <coryan@MILONGA>
* Added project files for a static orbsvcs library.
Mon Jan 5 16:37:14 1998 Sumedh Mungee <sumedh@cs.wustl.edu>
* Makefile: Merged client and server rules
* server.dsp, svc.conf, svr.cpp, client.dsp, cubit.idl,
cubit_i.cpp, cubit_i.h, Task_Client.cpp, Task_Client.h,
Util_Thread.cpp, Util_Thread.h, client.cpp, Makefile:
Merged client/server code into one directory.
Mon Jan 5 11:50:00 1998 Aniruddha Gokhale <gokhale@mambo.cs.wustl.edu>
* TAO_IDL/be/be_attribute.cpp: Code generated for setting the
attribute value (in the server skeleton) had some undefined symbol
errors as well as the create_list parameter was wrong.
* TAO/tao/object.{h.i}: Added code for Object_var and Object_out
Mon Jan 05 09:53:51 1998 David L. Levine <levine@cs.wustl.edu>
* tao/corbacom.{h,cpp},encode.cpp: replaced defined (VXWORKS) &&
defined (ghs) with defined (ACE_HAS_WCHAR_TYPEDEFS_CHAR).
* tao/Makefile: add -DTAO_PLATFORM_SVC_CONF_FILE_NOTSUP to
CPPFLAGS on VxWorks.
* tests/Cubit/TAO/MT_Cubit/Util_Thread.{h,cpp} (Util_Thread ctor):
rearranged initializers to match declaration order.
Sun Jan 04 17:19:34 1998 Douglas C. Schmidt <schmidt@cs.wustl.edu>
* TAO version 0.0.53, released Sun Jan 04 17:19:34 1998.
Sun Jan 4 13:49:21 1998 Aniruddha Gokhale <gokhale@mambo.cs.wustl.edu>
* TAO/tao/nvlist.cpp: NamedValue::Release was calling delete, but
this was not correct since NamedValues are allocated using
calloc. So now we exclusively call the destructor and free the
memory using "free".
* TAO/tests/Param_Test/{client.cpp, tests.cpp}: Since we do not
pass the OUT_LIST_MEMORY flag to create_request, we cannot own the
return, inout, and out parameters and hence cannot free them.
Sun Jan 4 13:41:41 1998 Sumedh Mungee <sumedh@cs.wustl.edu>
* tests/Cubit/TAO/IDL_Cubit/svr.cpp: Fixed prev_priority to
previous_priority
Sun Jan 04 07:47:52 1998 Douglas C. Schmidt <schmidt@cs.wustl.edu>
* TAO version 0.0.52, released Sun Jan 04 07:47:52 1998.
Sun Jan 04 07:37:31 1998 David L. Levine <levine@cs.wustl.edu>
* tao/orb_core.i: Changed ! ACE_LACKS_TEMPLATE_SPECIALIZATION
to ACE_HAS_TEMPLATE_SPECIALIZATION, to be consistent with
ACE config files.
Sun Jan 4 06:06:28 1998 Aniruddha Gokhale <gokhale@mambo.cs.wustl.edu>
* TAO/tao/typecode.*: Some modifications in the destruction
strategy to eliminate fatal errors such as FNH (freeing non-heap
memory) or FMW (freed memory write). Most of these errors were
occuring because we were trying to delete our private typecode
stuff that was not allocated from heap. For example, in case of
sequences of strings the private member tc_content_type used to
point to a statically preallocated "tc_string" typecode.
Also, preliminary support for checking for typecode equality and
the "member_name" method added.
Looking at the current private_* methods, it looks like a lot of
stuff can be abstracted into a few methods. So the next attempt
will be to eliminate as many of the private_* methods (that do
repititive work) and replace them with a couple of helper
methods. In addition, we may not need all those tc_*_known_
boolean variables. Only one may suffice. All this will be done in
the next pass.
* TAO/tao/{except.h, except.cpp, giop.cpp, object.cpp}: Removed
the TAO_CONST CORBA::String insanity and replaced by const
char*. This is also in accordance with the mapping as well as
eliminates strange compiler warnings about assigning const char*
to char*.
* TAO_IDL/be/be_sequence.cpp: We now generate #if defined (..)
macros for sequences and their managed types to avoid multiple
declaration/definition errors.
Sat Jan 3 14:58:21 1998 Sumedh Mungee <sumedh@cs.wustl.edu>
* Task_Client.h, Util_Thread.cpp, Util_Thread.h, client.cpp,
Task_Client.cpp, Makefile:
The Util_Thread class basically computes CPU usage. Integrated
this class with the MT_Cubit test, so that the Util_Thread
performs computation in the background while the test is
running. Also extended the test to use `n' clients talking to `n'
servants.
Sat Jan 03 09:04:28 1998 David L. Levine <levine@cs.wustl.edu>
* tao/invoke.cpp (ACE_Synchronous_Cancellation_Required):
disabled on VxWorks to avoid runtime warnings with
ACE_NOTSUP_VERBOSE, because thr_setcanceltype isn't
supported there.
* tao/corba.h: g++/VxWorks doesn't like backslashes at the
end of comment lines, so replaced a commenting of a #define
with #if 0.
Fri Jan 02 18:42:31 1998 Douglas C. Schmidt <schmidt@cs.wustl.edu>
* TAO version 0.0.51, released Fri Jan 02 18:42:31 1998.
Fri Jan 2 16:29:20 1998 Nanbor Wang <nw1@cs.wustl.edu>
* orbsvcs/Event_Service/GPlot_File.cpp:
* orbsvcs/Event_Service/Event_Channel.cpp:
* orbsvcs/Scheduling_Service/Scheduler.cpp:
* tao/connect.cpp: Added missing explicit template
instantiations.
Fri Jan 02 10:24:21 1998 Nanbor Wang <nw1@cs.wustl.edu>
* tests/Param_Test/driver.cpp (main): Added a trailing return in
main() to prevent MSVC from complaining.
* tests/Param_Test/helper.cpp (gen_fixed_struct): Changed to use
ACE_OS::rand () * 1.0 instead of drand48 ().
* tao/connect.cpp:
* orbsvcs/Scheduling_Service/Scheduler.cpp:
* orbsvcs/Event_service/Gplot_File.cpp:
* orbsvcs/Event_Service/Event_Channel.cpp: Added explicit template
instantiation for ACE_Map_Iterator_Base.
Fri Jan 2 10:39:02 1998 Aniruddha Gokhale <gokhale@mambo.cs.wustl.edu>
* TAO_IDL/be/be_type.cpp: Completely reimplemented the way
ACE_NESTED_CLASS macro gets generated.
* TAO_IDL/be/be_state_sequence.cpp: Fixed an error where the
reference operator "&" was getting generated at the wrong place.
Wed Dec 31 23:29:59 1997 Nanbor Wang <nw1@cs.wustl.edu>
* tao/nvlist.cpp (add_value_consume): Added a space between * and
/* to avoid warning messages on NT.
Thu Jan 01 14:22:34 1998 Douglas C. Schmidt <schmidt@cs.wustl.edu>
* TAO version 0.0.50, released Thu Jan 01 14:22:34 1998.
Thu Jan 1 13:31:55 1998 Aniruddha Gokhale <gokhale@mambo.cs.wustl.edu>
* TAO_IDL/be/{be_sequence, be_state_sequence}.cpp: An unwanted
reference operator "&" was getting generated for sequences whose
element types were not special managed types. This was because the
case for handling the managed types somehow got mixed with the
normal ccase. Thanks to Nanbor Wang (nw1@cs.wustl.edu) for
pointing this out.
Wed Dec 31 18:29:57 1997 Aniruddha Gokhale <gokhale@mambo.cs.wustl.edu>
* TAO_IDL/be/{be_sequence, be_state_sequence}.cpp: Changed the way
we use managed types. Instead of allocating an array, we now
instantiate the
managed type on the fly i.e., when the operator [] is invoked. The
reasons for doing this are: (1) no need for dynamic memory
allocation for maintaining the array of managers (2) It was
causing all kinds of problems while decoding because the sizeof
such sequence classes was bigger than those without managed
types. However, due to this scheme, we can no longer define the []
operator to return a reference because that would mean that a
reference to a local variable/temporary will be returned. Hence
changes were necessary in files.
TypeCode generation was also erroneous. This is fixed. We were
generating wrong encapsulation length.
* TAO_IDL/be/be_string.cpp: Indentation in typecode generation.
* TAO_IDL/be/be_type.cpp: nested_type_name - improved to
eliminate one more strange error message getting generated by the
MSVC++ compiler. Still needs testing.
* TAO/tao/{invoke, decode}.cpp: Reversed the changes which were
made to account for sequencese with managed types. We no longer
need these changes because sequences with managed types no longer
keep an extra data member. Thus the size of all sequences (top
level) is the same (so is the layout).
* TAO/tao/nvlist.cpp: commneted out unused variables, parameters.
* TAO/tests/Param_Test: Included tests for string sequences,
variable sized structs as well as nested structs.
Tue Dec 30 13:46:44 1997 Nanbor Wang <nw1@cs.wustl.edu>
* tests/Cubit/TAO/IDL_Cubit/clnt.h (portnum_): Changed its data
type from CORBA::ULong to CORBA::UShort to kill warning
messages.
* tao/orbobj.cpp (create_list): Changed data type of the loop
counter to CORBA::Long. This caused a warning message on VC.
* doc/releasenotes/index.html: Added documentation for adding IDL
files into Visual C++'s projects.
* tests/Param_Test/Param_Test.dsw:
* tests/Param_Test/client.dsp:
* tests/Param_Test/server.dsp: New workspace and projects were added.
Tue Dec 30 10:15:11 1997 Irfan Pyarali <irfan@cs.wustl.edu>
* orbsvcs/Event_Service/Fast_Reactor.h (ACE_ES_Fast_Reactor):
Added the other version of handle_events to stop the compiler
from being cranky.
Tue Dec 30 10:06:45 1997 Aniruddha Gokhale <gokhale@mambo.cs.wustl.edu>
* TAO_IDL/be/{be_state_argument, be_state_operation,
be_state_attribute}.cpp - Unnecessary call on "init_mgr" for
sequences that do not have any managed types was getting
generated. This is fixed. In addition, MSVC++ compiler was
producing an error saying "ambiguous assignment" when an "_out"
variable was assigned to a pointer type. Solaris platform (CC and
g++) did not give any such errors since they were (most probably)
using the operator *() on the _out class, but MSVC++ did not.
* TAO/tests/Cubit/IDL_Cubit/clnt.cpp: The same "ambiguous
assignment" error described above has been fixed here too.
* TAO/tests/Param_Test: Added a method called "reset_parameters"
so that we do not change the "in" parameter for every
iteration. Previuosly we were settingthe in parameter differently
for every new iteration. However, for performance comparison
purposes, this was not correct (e.g., in the case of string
sequences or unbounded strings where everytime we were sending a
different lenght string and hence the performance numbers were
different for each run and couldn't be compared.)
Mon Dec 29 21:51:38 1997 Aniruddha Gokhale <gokhale@mambo.cs.wustl.edu>
* TAO_IDL/be/be_sequence.cpp: get_name was returning a local
variable. In addition, added generationof a method called
"init_mgr" that must be used to initialize the sequence's
underlying mgr_ vector.
There was some problem with bounded/unbounded sequence code
generation (an error in an if stmt).
* TAO_IDL/be/{be_state_argument, be_state_attribute,
be_state_operation}.cpp - added code to generate the call to
init_mgr for sequences after the do_call is made.
* TAO_IDL/be_include/be_sequence.h : gen_name returns char* rather
than const char* because we now allocate a new string and return
it.
* TAO/tao/Makefile: applied make depend to incorporate nvlist.i
* TAO/tao/corbacom.h: Added a "boolean release" field to
CORBA_SEQUNECE so that its layout is similar to the generated code
for sequences.
* TAO/tao/decode.cpp: In sequence decode, we also set the release
flag to 1. In addition, for sequences of strings and objrefs, we
zero out additional 4 bytes that are used to store a pointer to
the manager array.
* TAO/tao/deep_free.cpp: some indentation. Also passed the correct
parameter to string/wstring::decode
* TAO/tao/invoke.cpp: In do_dynamic_call, for sequences of strings
(inclusing typedefed sequences of strings that themselves can be
typedefed), we must allocate size+4 bytes for demarshaling the
sequences. The extra 4 bytes are for the manager array pointer.
* TAO/tao/nvlist.cpp: I the method item, the loop should have run
from o to max_ rather than upto len_.
* TAO/tao/orbobj.cpp: Used placement new of NamedValue in the
create_list method.
* TAO/tests/Param_Test: Added new tests for Fixed_Struct and
string sequence. Added a README file.
* TAO/doc/releasenotes/index.html: updated with latest success stories.
Thu Dec 25 20:36:58 1997 Douglas C. Schmidt <schmidt@cs.wustl.edu>
* TAO version 0.0.49, released Thu Dec 25 20:36:58 1997.
Thu Dec 25 18:43:03 1997 Aniruddha Gokhale <gokhale@mambo.cs.wustl.edu>
* TAO_IDL/be/{be_state_attribute, be_state_argument}.cpp: Handled
teh remaining cases (except Arrays) that use the newly added
methiods to class NVList. The Param_Test test suite is being
developed to track any memory leaks.
* TAO/tests/Cubit/TAO/IDL_Cubit/clnt.cpp: Used sequence_var in
the cube_sequence function to avoid memory leaks. However, there
still are leaks.
Wed Dec 24 18:44:47 1997 Douglas C. Schmidt <schmidt@cs.wustl.edu>
* TAO version 0.0.48, released Wed Dec 24 18:44:47 1997.
Wed Dec 24 18:44:02 1997 Douglas C. Schmidt <schmidt@tango.cs.wustl.edu>
* tao: Added the nvlist.i file to the tao/ directory.
Wed Dec 24 18:11:08 1997 Aniruddha Gokhale <gokhale@mambo.cs.wustl.edu>
* TAO_IDL/be/{be_operation, be_state_argument}.cpp: Added
"argument_count" method to be_operation which is helpful in
creating an NVList of the appropriate size. Previously we were
creating an empty list and adding parameters one by one. This was
causing a lot of reallocations which were wasteful.
At this time, we have code base that can successfully send/receive
primitive data types as well as strings.
* TAO_IDL/be_include/be_operation.h : Added a new method called
"argument_count" to give us the total number of parameters we
have.
* TAO/tao/{any.cpp, connect.cpp, corbacom.i, decode.cpp,
iioporb.cpp, marshal.i, objtable.cpp, optable.cpp, request.cpp}:
In all these files, after a call to CORBA::string_free, we made
the pointer point to 0. Otherwise, purify was giving us "Free
Memory read" errors. Also, this was (by fluke) causing some
applications to run successfully.
* TAO/tao/{nvlist.h, nvlist.cpp, nvlist.i, corba.h}: Added
unimplemented methods to NamedValue and NVList. Created a nvlist.i
file and updated corba.h
* TAO/tao/corbacom.cpp: In an assignment operator for Sting_out,
we were not checking if the assignment was from ourselves. Also a
array was incorrectly being deleted as "delete ..." rather than
"delete [] ...".
* TAO/tao/invoke.cpp: Inside do_call, we were not deleting memory
for the "in" part of the inout parameters. Right now we have fixed
this problem only for strings. Others will be added as new tests
are built. Do_dynamic_call also needs such a fix. NOT DONE in this release.
* TAO/tao/orb_core.h, orb_core.cpp: ORB_init takes "const char*"
orb name as the argument instead of just char*.
* TAO/tests/Param_Test: Successful in testing
"test_unbounded_string". removed a few memory leaks where we were
not deleting the client objects.
Tue Dec 23 19:34:40 1997 Douglas C. Schmidt <schmidt@cs.wustl.edu>
* TAO version 0.0.47, released Tue Dec 23 19:34:40 1997.
Tue Dec 23 13:36:50 1997 Aniruddha Gokhale <gokhale@mambo.cs.wustl.edu>
* TAO_IDL/be/be_state_sequence.cpp: ACE_NESTED_CLASS must be
generated for seq elements that are scoped. We were generating
this macor only when seq elements were typedefs. However, seq
elements can also be structs or any other types that have an
enclosing scope. Thanks to Chris Gill <cdgill@cs.wustl.edu> for
the bug report.
* TAO_IDL/be/be_state_operation.cpp: Similar problem as above for
return types of operations. Bug reported by Chris Gill.
* TAO_IDL/be/be_exception.cpp: Whenever a _narrow fails, we were
trying to do a ACE_dynamic_cast to a 0. Instead, we now return a
0. Again thanks to Chris Gill <cdgill@cs.wustl.edu> for
the bug report.
* TAO_IDL/be/be_state_argument.cpp: We were ot generating a char
*& for inout string parameters. Instead only a char * was getting
generated. Fixed.
Tue Dec 23 11:45:03 1997 Carlos O'Ryan <coryan@macarena.cs.wustl.edu>
* docs/releasenotes/index.html:
There is no need to set config=1 when compiling
$TAO_ROOT/orbsvcs.
Mon Dec 22 22:02:49 1997 Douglas C. Schmidt <schmidt@cs.wustl.edu>
* TAO version 0.0.46, released Mon Dec 22 22:02:49 1997.
Mon Dec 22 19:08:55 1997 Carlos O'Ryan <coryan@macarena.cs.wustl.edu>
* tao/corba.h:
* tao/except.cpp:
* tao/except.h:
The TAO_TRY macros use the _narrow methods for exceptions;
making the TAO_CATCH() macro fully functional.
* orbsvcs/Dump_Schedule/Dump_Schedule.cpp:
* orbsvcs/Event_Service/Dispatching_Modules.cpp:
* orbsvcs/Event_Service/Dispatching_Modules.i:
* orbsvcs/Event_Service/Event_Channel.cpp:
* orbsvcs/Event_Service/Event_Channel.i:
* orbsvcs/Event_Service/Event_Service.cpp:
* orbsvcs/Event_Service/RT_Task.cpp:
* orbsvcs/Event_Service/ReactorTask.cpp:
* orbsvcs/Scheduling_Service/Config_Scheduler.cpp:
* orbsvcs/Scheduling_Service/Config_Scheduler.h:
* orbsvcs/Scheduling_Service/Scheduling_Service.cpp:
* orbsvcs/orbsvcs/Runtime_Scheduler.cpp:
* orbsvcs/orbsvcs/Runtime_Scheduler.h:
* orbsvcs/orbsvcs/Scheduler_Factory.cpp:
* orbsvcs/tests/Event_Latency/Event_Latency.cpp:
Changed the ACE_TRY (and friends) macros to TAO_TRY.
* orbsvcs/orbsvcs/RtecEventChannelAdmin.idl:
Cleaned up some exceptions definitions.
* orbsvcs/tests/Event_Latency/Makefile:
Since the schedule is not distributed (yet) by default we
compile the config run, hopefully this will cause less
confusion.
Sun Dec 21 23:41:05 1997 Douglas C. Schmidt <schmidt@cs.wustl.edu>
* TAO version 0.0.45, released Sun Dec 21 23:41:05 1997.
Sun Dec 21 20:29:33 1997 <nw1@JIG>
* tests/Cubit/TAO/MT_Cubit/client/client.dsp: *
tests/Cubit/TAO/MT_Cubit/server/server.dsp: Corrected erroneous
library pathes in Release version of project files.
Sun Dec 21 18:30:41 1997 Aniruddha Gokhale <gokhale@mambo.cs.wustl.edu>
* TAO_IDL/be/be_codegen.cpp: The macro used in the #if !defined
(..) clause in the header files was incorrectly generated when IDL
file names had characters other than letters in it. Fixed.
* TAO/tests/Param_Test: A new test suite to test all the parameter
passing modes - return, in, inout, and out for a large number of
IDL data types. The purpose of this test suite is to verify the
correctness of the stubs/skeletons generated by TAO IDL compiler,
eliminate any existing errors in the marshaling engine, track down
any memory leaks, and finally to measure the performance and fine
tune the code if required. In the first version of the test, we
only test "shorts". We will be adding other tests as soon as we
can.
Sat Dec 20 00:34:45 1997 Sergio Flores <sergio@tango.cs.wustl.edu>
* tests/Cubit/CORBAplus/MT_Cubit/client/client.cpp (main):
* tests/Cubit/CORBAplus/MT_Cubit/client/Makefile:
* tests/Cubit/CORBAplus/MT_Cubit/client/Task_Client.cpp:
* tests/Cubit/CORBAplus/MT_Cubit/client/Task_Client.h:
* tests/Cubit/CORBAplus/MT_Cubit/client/client.cpp:
* tests/Cubit/CORBAplus/MT_Cubit/client/cubit.idl:
* tests/Cubit/CORBAplus/MT_Cubit/server/Makefile:
* tests/Cubit/CORBAplus/MT_Cubit/server/cubit.idl:
* tests/Cubit/CORBAplus/MT_Cubit/server/cubit_i.cpp:
* tests/Cubit/CORBAplus/MT_Cubit/server/cubit_i.h:
* tests/Cubit/CORBAplus/MT_Cubit/server/svr.cpp:
Ported the MT_Cubit example to CORBAplus.
Fri Dec 19 11:33:51 1997 Sergio Flores <sergio@tango.cs.wustl.edu>
* tests/Thruput/CORBAplus/Makefile:
* tests/Thruput/CORBAplus/README:
* tests/Thruput/CORBAplus/client.cpp:
* tests/Thruput/CORBAplus/extract:
* tests/Thruput/CORBAplus/run:
* tests/Thruput/CORBAplus/run_client:
* tests/Thruput/CORBAplus/run_server:
* tests/Thruput/CORBAplus/run_test:
* tests/Thruput/CORBAplus/run_tests:
* tests/Thruput/CORBAplus/server.cpp:
* tests/Thruput/CORBAplus/ttcp.idl:
* tests/Thruput/CORBAplus/ttcp_decl.h:
* tests/Thruput/CORBAplus/ttcp_i.cpp:
* tests/Thruput/CORBAplus/ttcp_i.h:
* tests/Thruput/CORBAplus/utils.cpp: Ported the Thruput example to
CORBAplus for C++ by Expersoft. Try running the "run_tests"
script for the client side.
* tests/Thruput/Orbix/Client.cpp:
* tests/Thruput/Orbix/Makefile:
* tests/Thruput/Orbix/README:
* tests/Thruput/Orbix/Srv_Main.cpp:
* tests/Thruput/Orbix/extract:
* tests/Thruput/Orbix/loop64:
* tests/Thruput/Orbix/orbixsol2s4.mk:
* tests/Thruput/Orbix/run:
* tests/Thruput/Orbix/run_client:
* tests/Thruput/Orbix/run_server:
* tests/Thruput/Orbix/run_test:
* tests/Thruput/Orbix/run_tests:
* tests/Thruput/Orbix/ttcp.idl:
* tests/Thruput/Orbix/ttcp_decl.h:
* tests/Thruput/Orbix/ttcp_i.cpp:
* tests/Thruput/Orbix/ttcp_i.h:
* tests/Thruput/Orbix/utils.cpp: Included the Thruput example for
IONAs Orbix ORB in the tests directory.
* tests/Thruput/TAO/Makefile:
* tests/Thruput/TAO/README:
* tests/Thruput/TAO/client.cpp:
* tests/Thruput/TAO/run:
* tests/Thruput/TAO/run_client:
* tests/Thruput/TAO/run_server:
* tests/Thruput/TAO/run_test:
* tests/Thruput/TAO/server.cpp:
* tests/Thruput/TAO/svc.conf:
* tests/Thruput/TAO/ttcp.idl:
* tests/Thruput/TAO/ttcp_decl.h:
* tests/Thruput/TAO/ttcp_i.cpp:
* tests/Thruput/TAO/ttcp_i.h:
* tests/Thruput/TAO/utils.cpp: Moved the TAO version of the
Thruput example to a "TAO" directory in the Thruput directory.
* tests/Thruput_test: Renamed this directory to Thruput.
Fri Dec 19 00:28:24 1997 <nw1@JIG>
* tests/Cubit/TAO/MT_Cubit/server/svr.cpp (main): Removed some
random codes.
* tao/tao_internals.cpp (close_services): Disabled closing down
the ACE_Service_Config when reference count drops to 0.
Thu Dec 18 20:36:28 1997 Douglas C. Schmidt <schmidt@cs.wustl.edu>
* TAO version 0.0.44, released Thu Dec 18 20:36:28 1997.
Thu Dec 18 19:35:28 1997 Sergio Flores <sergio@tango.cs.wustl.edu>
* orbsvcs/tests/Logger/clnt.cpp (init):
* orbsvcs/Naming_Service/CosNaming_i.cpp (bind_new_context): Fixed
a bug in the Naming Service and the Logger test program
implementation. Thanks to Marina Spivak <marina@cs.wustl.edu> for
debugging this.
Thu Dec 18 16:18:01 1997 <nw1@JIG>
* TAO_IDL/be/be_sequence.cpp (gen_name): Removed a local variable
<seq>. It is no longer used.
* TAO_IDL/be/be_union.cpp (gen_client_stubs): Removed local
variables <bt> and <s>. They are not longer used.
Thu Dec 18 15:50:01 1997 Carlos O'Ryan <coryan@macarena.cs.wustl.edu>
* orbsvcs/orbsvcs/Makefile:
realclean was not removing all the IDL compiler generated
files.
Thu Dec 18 15:06:23 1997 Aniruddha Gokhale <gokhale@mambo.cs.wustl.edu>
Thanks to Keith Nicewarner <knicewar@sanders.com>, Tom Richards
<tomr@mcmenterprise.com>, and Carlos O'Ryan <coryan@cs.wustl.edu>
for reporting bugs which led to some of the changes below.
* TAO_IDL/be/be_array.cpp: Preliminary support for arrays. Not
complete.
* TAO_IDL/be/{be_operation, be_attribute}.cpp: The ParamData
structure *must* hold the "size" of the outermost level of the
return values and out parameters because the ORB has to allocate
memory for it and hence needs to know the size. We had a 0 in it
which crashed any return types that were variable in size.
* TAO_IDL/be/be_codegen.cpp: Added a new state for
unions. Corresponding change to the *.h file.
* TAO_IDL/be/be_decl.cpp: Added a method called "scope" that
returns the corresponding scope defined by this node (if one
exists). Added method to the *.h file also.
* TAO_IDL/be/be_scope.cpp: Added a method called "decl" that
returns the be_decl method corresponding to this scope. The header
file was also updated.
* TAO_IDL/be/{be_exception, be_state_exception}.cpp: I was making
the most stupid mistake of generating constructors per member
rather than one constructor that takes all the members as a
parameter.
* TAO_IDL/be/{be_sequence, be_state_sequence}.cpp: Changed the
naming scheme for anonymous sequences to avoid code bloat.
* TAO_IDL/be/be_state.cpp: Added template instantiation for
additional state to deal with code generation of members of
unions.
* TAO_IDL/be/be_state_structure.cpp: Made some changes so that
spurious code for array members doesn't get generated.
* TAO_IDL/be/{be_union, be_state_union}.cpp: Added a new state
because we were not generating code for union members that were
sequences or structs.
* TAO_IDL/be/be_type.cpp: Modified netsed_type_name to use the new
methods on class be_decl/be_scope.
* TAO_IDL/be/be_union_branch.cpp: gen_client_stubs uses the same
strategy as the other gen_client methods.
* TAO/tao/deep_free.cpp: In deep_free of structures, instead of
passing the address of a string member to be freed, we were simply
passing the string that led to a segmentation fault. A careful
code review is necessary.
* TAO/tao/orb_core.cpp: Made "use_ior" as default as ooposed to
using the URL based scheme for IORs. This was necessary to have
interoperability with other ORBs.
* TAO/tao/poa.cpp: The server request was being released
immediately after returning from the dispatch method. This should
be done after all return/inout/out parameters are marshaled.
Tue Dec 17 12:53:01 1997 Brian Mendel <brian.r.mendel@boeing.com>
* tao/encode.cpp: Additional changes for wchar's
Tue Dec 17 10:37:45 1997 Brian Mendel <brian.r.mendel@boeing.com>
* tao/TAO.dsp: Removed obsolete files from the VC++ project.
Changed name of folder from Include Files to Inline Files.
Inserted new header files for classview.
* TAO_IDL/tao_idl.dsp: Added missing be_state_exception.cpp to the
the project to eliminate link error.
* tao/corbacom.cpp: Inserted wslen and wscpy back to handle wchar
problems with VxWOrks and GHS.
* tao/encode.cpp: Inserted wslen and wscpy back to handle wchar
problems with VxWOrks and GHS.
Tue Dec 16 18:29:42 1997 Carlos O'Ryan <coryan@macarena.cs.wustl.edu>
* orbsvcs/README:
* docs/orbsvcs.html:
Started up the documentation for TAO services, at this point
only the directory hierarchy is explained.
Tue Dec 16 08:49:11 1997 Aniruddha Gokhale <gokhale@mambo.cs.wustl.edu>
* TAO_IDL/be_include/be_codegen.h: Added three more states for
return types to be generated for operator [] of sequences of
strings and object references.
* TAO_IDL/be_include/be_sequence.h: Added enum constants to
indicate what kind of managed type is handled by the sequence. For
sequences other than that of strings and objrefs, this enum const
is MNG_NONE. Added a new method that returns the managed type.
* TAO_IDL/be/{be_sequence, be_state_sequence.cpp}: Added code to
generate sequences of strings and objrefs. This requires
generating special "managed" objects. In addition, for
be_state_sequence.cpp, we were not handling the case where base
types of sequences were not having any scope which resulted in
segmentation faults.
* TAO_IDL/be/{be_state_argument, be_state_operation}.cpp: Some
small bugs fixed. These included lack of a whitespace in the
generated code as well as spurious extra level of indirection
getting generated.
* TAO_IDL/be/be_type.cpp: "nested_type_name" now checks if the
scope with which are comparing is NUL or not before proceeding
further. Such a situation may arise for sequences whose base types
are anonymous (e.g., strings) and have no enclosing scope.
* TAO/tao/managed_types.{h,cpp,i}: Removed. No more needed as teh
code is generated by the IDL compiler. Accordingly modified
corb.h and did a "make depend" on the Makefile.
* TAO/docs/releasenotes/index.html: Updated to reflect new changes
as well as TO-DO stuff such as adding support for TIEs.
Mon Dec 15 22:31:50 1997 Douglas C. Schmidt <schmidt@cs.wustl.edu>
* TAO version 0.0.43, released Mon Dec 15 22:31:50 1997.
Mon Dec 15 19:13:51 1997 Carlos O'Ryan <coryan@macarena.cs.wustl.edu>
* tao/Timeprobe.cpp:
Removed Solaris specific code, somehow it survived from some
debugging session. Thanks to Arturo Montes
<mitosys@colomsat.net.co> for pointing out this bug.
Mon Dec 15 16:52:58 1997 Nanbor Wang <nw1@cumbia.cs.wustl.edu>
* TAO-INSTALL.html: Added some explanations for setting CPP_PATH
on NT.
Mon Dec 15 16:49:58 1997 David L. Levine <levine@cs.wustl.edu>
* tests/Cubit/TAO/IDL_Cubit/clnt.cpp (cube_sequence): declare
local variables "l" and "j" as u_int instead of int, to avoid
signed/unsigned comparison.
Thu Dec 11 16:44:26 1997 Carlos O'Ryan <coryan@macarena.cs.wustl.edu>
* orbsvcs/Scheduling_Service/Config_Scheduler.cpp:
Fixed typo missed on the previous release.
Thu Dec 11 22:18:52 1997 Aniruddha Gokhale <gokhale@mambo.cs.wustl.edu>
* TAO_IDL/be/be_interface.cpp: Moved the code generation for the
_var and _out classes before the actual class declaration, but
after the forward declaration. This was necessary if any elements
in the scope of the interface are defined to be of the same type
as that interface. In such a situation those elements are defined
to be of the _var type. Hence the declaration for _var and _out
must precede the class declaration.
Thu Dec 11 22:00:52 1997 Sergio Flores <sergio@tango.cs.wustl.edu>
* orbsvcs/Naming_Service/Naming_Service.cpp (main): Fixed a bug
related to returning an empty string as the ior in the reply from
the multicast request.
Thu Dec 11 14:06:50 1997 Aniruddha Gokhale <gokhale@mambo.cs.wustl.edu>
* TAO_IDL/be/{be_exception,be_state_exception}.cpp: Support for
exceptions added. Added a new file called
"be_state_exception.cpp".
* TAO_IDL/be_include/be_state.h: Added a new singleton for
be_state_exception.
* TAO_IDL/be/be_state.cpp: Template instantiations for
be_state_exception.
* TAO/docs/releasenotes/index.html: Updated to include exception
support.
* TAO/tao/except.{h,cpp}: Moved the TypeCode member from the
private section to the protected section so that derived classes
can set it. Also, changed the variable from _type to type_ to
stick to the ACE design standards.
Thu Dec 11 00:01:41 1997 Chris Cleeland <cleeland@cs.wustl.edu>
* TAO version 0.0.42, released Thu Dec 11 00:01:41 1997.
Wed Dec 10 23:04:04 1997 Carlos O'Ryan <coryan@macarena.cs.wustl.edu>
* orbsvcs/Scheduling_Service/Config_Scheduler.cpp:
Still struggling with g++, it seems to use the wrong cast for
IDL generated T_out classes.
* orbsvcs/tests/Logger/Makefile:
* orbsvcs/tests/Logger/clnt.cpp:
* orbsvcs/tests/Logger/clnt.h:
* orbsvcs/tests/Logger/svr.cpp:
These files were missed in the orbsvcs hierarchy
reorganization.
Wed Dec 10 22:38:08 1997 Aniruddha Gokhale <gokhale@mambo.cs.wustl.edu>
* TAO/tests/Cubit/TAO/DII_Cubit: Fixed the hand-crafted code to
make use of the many changes that were made to the dispatching
scheme as well as changes made to the signature of the skeletons
for operations of interfaces.
Wed Dec 10 21:41:48 1997 Sergio Flores <sergio@tango.cs.wustl.edu>
* docs/releasenotes/index.html: Updated the release notes on the
Naming Service.
Wed Dec 10 20:13:57 1997 Carlos O'Ryan <coryan@macarena.cs.wustl.edu>
* Makefile:
Added orbsvcs to the hierarchy.
* The orbsvcs directory was completely reorganized, in preparation
for its official release. The new hierarchy is:
- orbsvcs/orbsvcs: Contains a library with:
+ The client stubs for the services.
+ Common utility classes to access the services.
+ The server skeletons, but not their implementation.
- orbsvcs/Naming_Service: the COSS Naming Service.
- orbsvcs/Scheduling_Service: TAO Real-Time Scheduling Service.
- orbsvcs/Event_Service: TAO Real-Time Event Service.
- orbsvcs/tests: test programs and examples.
* docs/releasenotes/index.html:
Updated documentation on the Event Service and its friends.
Wed Dec 10 19:57:07 1997 Chris Cleeland <cleeland@cs.wustl.edu>
* tests/Cubit/TAO/IDL_Cubit/cubit_i.cpp (Cubit_i::cube_sequence):
Changed to explicitly use the vector_out::ptr() method to get a
ptr. It seems that g++ wanted to interpret this expression
(output == 0) differently from Sun's C++, and this made both
interpret it in the desired way.
Wed Dec 10 14:23:24 1997 Carlos O'Ryan <coryan@macarena.cs.wustl.edu>
* TAO_IDL/be/be_state_structure.cpp:
Fixed a bug when handling typedefs.
It was generating code for imported types, we protected the
generation with a !imported(), thank to Andy Gokhale
<gokhale@cs.wustl.edu> for helping me on this.
* tao/connect.cpp:
Set the TCP_NODELAY option by default, otherwise oneway calls
are considerably slower. It should have no effect for twoway
calls. Anyway an option should be added to control this
behavior.
Wed Dec 10 13:15:11 1997 Aniruddha Gokhale <gokhale@mambo.cs.wustl.edu>
* TAO_IDL/be_include/{be_array, be_decl, be_field, be_module,
be_operation, be_predefined_type, be_structure, be_typedef}.h:
Added a protected function called "compute_size_type" which is
invoked if the size type of a data structure is not known in
advance. This happens for structs, unions, arrays, and typedefs
whose size type depends on their base types.
* TAO_IDL/be/{be_array, be_decl, be_field, be_module,
be_operation, be_predefined_type, be_structure, be_typedef}.cpp:
Implementation of the "compute_size_type".
* TAO_IDL/be/be_decl.cpp: Changed code that sets "size_type" so
that we first see if we are unknown in which case we set our size
type. However, once we are VARIABLE, no body can reset us to
fixed. Similarly, the overloaded size_type method that return the
size type first checks if our size is still unknown in which case
it calls for "compute_size_type". This is very essential for data
types defined in an imported (included) *.idl file. Thanks to Tom
Richards (tomr@mcmenterprise.com) for reporting the bug with
included file which resulted in this change.
* TAO_IDL/be/be_state_attribute.cpp: Included a case for
IN_PARAM_TYPE_CH for strings (had previously forgotten to do so).
* TAO_IDL/be/{be_state_structure, be_structure, be_field}.cpp:
Revamped so that we use the same switch based technique in
be_state_structure.cpp to generate code. For fields that are
sequences or structures or unions, we also generate their code.
* TAO_IDL/be/be_state_argument.cpp: Thanks to Tom Richards and
Carlos O'Ryan for noticing a bug when we use out sequences. There
used to be a seg fault in deep_free.cpp because a NUL pointer was
being owned by an Any and getting freed. In the server skeleton,
for out params we now generate code after the upcall is made so
that for out parameter value is inserted in the NVList that is
marshaled by the server.
* TAO_IDL/be/be_interface.cpp: In the generated call to _is_a, we
were calling CORBA::Object::_is_a if a remote call is
necessary. However, MSVC++ cannot handle a call of the form
CORBA::Object::_is_a. So we have to generate code that uses
ACE_CORBA_3 so as to be portable. Thanks to Nanbor Wang
(nw1@cs.wustl.edu).
* TAO/test/Cubit/TAO/IDL_Cubit/clnt.cpp: Changed the type of the
variable that was passed as the out parameter to cube_sequence.
Wed Dec 10 01:02:36 1997 Chris Cleeland <cleeland@tango.cs.wustl.edu>
* tao/iiopobj.cpp (set): Added a special case to IIOP Profile::set
so that if the address is INADDR_ANY, it uses the host name, but
otherwise uses the IP address. This eliminates the cryptic
appearance of the address "0.0.0.0" in a server's IOR.
Tue Dec 9 21:48:52 1997 Carlos O'Ryan <coryan@macarena.cs.wustl.edu>
* tests/Cubit/TAO/IDL_Cubit/clnt.cpp:
The sequence test is not running right now, I'm commenting it
out until we can make it work properly.
Tue Dec 9 18:02:43 1997 Chris Cleeland <cleeland@cs.wustl.edu>
* tao/orb_core.cpp: The moral of this changelog entry is to be
VERY careful when cutting and pasting code...the
resource_factory() accessor should not be setting the
client_factory_ member at all!
Tue Dec 9 11:55:50 1997 Chris Cleeland <cleeland@tango.cs.wustl.edu>
* tao/compat/objbase.h: Added NOERROR as #define if we're not on
WIN32 so that IDL-generated code would continue to work.
* tao/tao_internals.cpp: Changed faked Resource Factory resource
source specifier to "tss" rather than "global".
* tao/orb_core.*: Added resource_factory() accessor to
TAO_ORB_Core. This will create a default instance if it can't
locate one in the Service Repository, which will allow
applications to not encounter a hard failure when a svc.conf file
is missing. A warning message is emitted stating that a default
is being used. Applications should not rely on the default
settings, as it is very likely that the applicat might require
alternate settings for proper desired operation.
* tao/default_server.*: Added TAO_Reactive_Strategy template
class to use in place of the ACE_Reactive_Strategy. It's only
difference from ACE_Reactive_Strategy is that instead of using the
reactor provided in the open method, it always uses that found
through the TAO_ORB_Core_instance(). This fix was motivated by a
general problem which was only observable on VxWorks with a
special pseudo-network transport.
* tao/connect.cpp: Added code to fail gracefully if socket buffer
size changes are not supported.
Mon Dec 8 13:11:46 1997 Carlos O'Ryan <coryan@macarena.cs.wustl.edu>
* docs/releasenotes/index.html:
Added more information on how the Event Channel and friends are
going.
* orbsvcs/bin/Naming_Service/svc.conf:
Removed some foreign ^M from the file.
* tao/Makefile:
* tao/connect.cpp:
* tao/giop.cpp:
* tao/orbobj.cpp:
* tao/Timeprobe.i:
* tao/Timeprobe.h:
* tao/Timeprobe.cpp:
Added a instrumentation class to measure time interval, also
instrumented some code, as part of the ongoing effort to
optimize the EC, unfortunately the problems are not in TAO ;-)
The code is only instrumented if compiled using probe=1, no
overhead is introduced in normal compiles.
* tests/Cubit/TAO/IDL_Cubit/cubit.idl:
* tests/Cubit/TAO/IDL_Cubit/clnt.cpp:
* tests/Cubit/TAO/IDL_Cubit/clnt.h:
* tests/Cubit/TAO/IDL_Cubit/cubit_i.cpp:
* tests/Cubit/TAO/IDL_Cubit/cubit_i.h:
Addded code to test sequences (as input and output parameters)
they don't work (yet).
* orbsvcs/lib/Makefile:
* orbsvcs/lib/Timeprobe.h:
* orbsvcs/lib/Timeprobe.i:
* orbsvcs/lib/Timeprobe.cpp:
The file was moved to $TAO_ROOT/tao.
* orbsvcs/lib/Scheduler_Factory.cpp:
Fixed default dump file, it was using stdout!
Sat Dec 06 15:42:25 1997 <nw1@DINGO>
* tests/Cubit/TAO/IDL_Cubit/{server,client}.dsp: Updated link time
library names.
* tao/any.cpp:
* tao/any.h:
* tao/corba.h:
* tao/corbacom.h:
* tao/decode.cpp:
* tao/encode.cpp:
* tao/except.cpp:
* tao/except.h:
* tao/giop.cpp:
* tao/iiopobj.cpp:
* tao/iiopobj.h:
* tao/iioporb.cpp:
* tao/iioporb.h:
* tao/nvlist.cpp:
* tao/nvlist.h:
* tao/object.cpp:
* tao/object.h:
* tao/object.i:
* tao/orbobj.cpp:
* tao/orbobj.h:
* tao/orbobj.i:
* tao/poa.cpp:
* tao/poa.h:
* tao/principa.cpp:
* tao/principa.h:
* tao/request.cpp:
* tao/request.h:
* tao/stub.h:
* tao/svrrqst.cpp:
* tao/svrrqst.h:
* tao/typecode.cpp:
* tao/typecode.h:
* tao/compat/initguid.h:
* tao/compat/objbase.h: Removed dependencies on Microsoft's DCOM
files. Below is a list of names that got changed.
HRESULT -> TAO_HRESULT
IID -> TAO_IID
IUnknown -> TAO_IUnknown
IID_IUnknown -> IID_TAO_IUnknown
SCODE -> TAO_SCODE
NOERROR -> TAO_NOERROR
E_NOINTERFACE -> TAO_E_NOINTERFACE
VARTYPE -> TAO_VARTYPE
VARENUM -> TAO_VARENUM
CY -> TAO_CY
VARIANT -> TAO_VARIANT
DATE -> TAO_DATE
Fri Dec 5 11:42:25 1997 Chris Cleeland <cleeland@cs.wustl.edu>
* tao/iiopobj.cpp (set): Changed the IIOP::Profile::set() methods
which take an ACE_INET_Addr to retrieve the host IP address rather
than host name for storage in the profile. This is motivated by
the following situation: machine has 3 interfaces (not including
loopback), and it is desired that clients and servers communicate
across only one interface.
When our IDL_Cubit example's factory created new Cubit instances,
the set() method would set the host name for that IIOP::Profile to
whatever ACE_INET_Addr::get_host_name() returned. In this case,
the IP addr for interface 3 (which is not the primary interface)
would return a *LIST* of names in which the first name was that of
the primary interface. Thus, the IP address used by the client
would be wrong.
* tao/object.h: Minor corrections to header comments.
* tao/{orb_core,orbobj}.{h,cpp}: Moved server_factory and
client_factory ptr storage from CORBA_ORB to TAO_ORB_Core. It
really didn't belong there in the first place.
* tao/poa.cpp: CTOR now fetches server factory ptr from the
TAO_ORB_Core rather than from the ORB.
Thu Dec 4 18:20:55 1997 Chris Gill <cdgill@cs.wustl.edu>
* TAO_IDL/tao_idl.dsp: Changed hard coded path for cl.exe to CPP_PATH
environment variable
Thu Dec 4 11:23:55 1997 Aniruddha Gokhale <gokhale@mambo.cs.wustl.edu>
* TAO_IDL/include/{idl,ast,utl_idlist, utl_identifier}.h: removed
#include "ace/stdcpp.h" since this file was removed from
ACE. Instead we now include "ace/streams.h" in idl.h
Also made make depend on all the Makefiles.
Wed Dec 3 16:08:34 1997 Carlos O'Ryan <coryan@macarena.cs.wustl.edu>
* orbsvcs/lib/Event_Utilities.cpp:
* orbsvcs/lib/Event_Utilities.i:
* orbsvcs/lib/RtecEventComm.idl:
Added some more time-stamps to the events to track and measure
the delays as they move on the EC.
* orbsvcs/lib/RtecEventChannelAdminC.cpp:
* orbsvcs/lib/RtecEventChannelAdminC.h:
* orbsvcs/lib/RtecEventChannelAdminC.i:
* orbsvcs/lib/RtecEventChannelAdminS.cpp:
* orbsvcs/lib/RtecEventChannelAdminS.h:
* orbsvcs/lib/RtecEventChannelAdminS.i:
* orbsvcs/lib/RtecEventCommC.cpp:
* orbsvcs/lib/RtecEventCommC.h:
* orbsvcs/lib/RtecEventCommC.i:
* orbsvcs/lib/RtecEventCommS.cpp:
* orbsvcs/lib/RtecEventCommS.h:
* orbsvcs/lib/RtecEventCommS.i:
* orbsvcs/lib/RtecSchedulerC.cpp:
* orbsvcs/lib/RtecSchedulerC.h:
* orbsvcs/lib/RtecSchedulerC.i:
* orbsvcs/lib/RtecSchedulerS.cpp:
* orbsvcs/lib/RtecSchedulerS.h:
* orbsvcs/lib/RtecSchedulerS.i:
Thanks to Andy Gokhale efforst the IDL compiler is able to emit
proper code for the EC&friends, hence I'm removing the
hand-crafted files.
Wed Dec 3 11:12:48 1997 Aniruddha Gokhale <gokhale@mambo.cs.wustl.edu>
* TAO_IDL/be/be_interface.cpp: Had forgotten to emit code that
adds one more cast to the base POA_* class in the generated *S.i
file.
Wed Dec 03 09:40:36 1997 David L. Levine <levine@cs.wustl.edu>
* tao/Makefile: added TAO_PLATFORM_SVC_CONF_FILE_NOTSUP to
CPPFLAGS on CHORUS. Thanks to Wei Chiang for this change.
Tue Dec 2 15:47:09 1997 Aniruddha Gokhale <gokhale@mambo.cs.wustl.edu>
* TAO_IDL/be/be_interface.h: Added some helper methods to generate
additional code in the form of larger operation tables, and
skeletons. This situation arises when we have single/multiple
inheritance of interfaces.
* TAO_IDL/be_include/be.h: Included ace/Containers.h for the
ACE_Unbounded_Queue that uses the breadth-first strategy used in
be_interface.cpp
* TAO_IDL/be/{be_interface,be_operation,be_attribute}.cpp: Added code
to generate a new "virtual void dispatch" method on the skeleton
classes. The dispatch method enables us to access the most derived
type when invoking the skeleton for a method. The skeletons
instead of taking a CORBA::Object_ptr, now take void*. The
skeletons themselves cast this void* to the appropriate POA_*
type.
In addition to the above, for the case of inheritance of
interfaces, it is not appropriate to pass a pointer to the most
derived class as a void* to the skeleton of a base class and cast
that to the POA_* of the base class. So we generate inlined code
for skeletons of methods in the most derived class even if those
methods were defined in the base classes. These inlined skeletons
simply cast the object pointer to the right type and invoke the
corresponding skeleton of the base class method.
be_interface.cpp defines a template method to traverse the entire
inheritance graph. This traversal is done using a breadth-first
traversal. This traverse method takes a pointer to one of the
static helper methods defined on class be_interface. Each helper
achieves a different purpose such as generation of extended
operation tables, providing comparisons of repositoryIDs of base
classes in the _is_a methods of derived classes.
The client-side class now defines a virtual CORBA::Boolean _is_a
method. This uses local knowledge of repository ids thereby
preventing the expensive remote call in most cases. All changes
made in be_interface.cpp
* TAO/tao/corbacom.h: Changed the signature of TAO_Skeleton so that
it uses void*obj and a void *context.
* TAO/tao/object.h: Added a virtual dispatch method as explained
above.
* TAO/tao/orb.h: Redefinition of TAO_Skeleton removed.
* TAO/tao/poa.cpp: Changed the demultiplexing code to reflect the
change made with the dispatch method. The poa on finding the right
object corresponding to the key, now invokes the dispatch method
on that object which by dynamic binding invokes the dispatch
method of the POA_* class.
Tue Dec 02 15:29:41 1997 <nw1@CHA-CHA>
* tao/{connect,orb_core}.h: Moved Win32 specific template
specialization declaration from connect.h to orb_core.h because
the definition had moved to orb_core.i.
* tao/object.cpp: Removed conditional directives around
DEFINE_GUID for IID_IUnknown. This is now defined for Win32
also.
* tao/TAO.dsp: Removed macro definition __IIOP_BUILD. It was not
used anywhere.
Tue Dec 2 10:25:47 1997 Carlos O'Ryan <coryan@macarena.cs.wustl.edu>
* tao/corba.h:
Fixed some problems with the ACE_RETHROW macros.
* orbsvcs/lib/Makefile:
* orbsvcs/lib/Timeprobe.h:
* orbsvcs/lib/Timeprobe.i:
* orbsvcs/lib/Timeprobe.cpp:
Added a high resolution timer facility, to measure the delays in
the Event Channel and in its client.
* orbsvcs/lib/RtecEventComm.idl:
Changed the time_ field of Event to a double. It should be an
structure or a long long, but double is big enough to store
* orbsvcs/lib/RtecEventChannelAdminC.cpp:
* orbsvcs/lib/RtecEventChannelAdminS.cpp:
* orbsvcs/lib/RtecEventCommC.cpp:
* orbsvcs/lib/RtecEventCommC.h:
* orbsvcs/lib/RtecEventCommS.cpp:
* orbsvcs/lib/RtecSchedulerC.cpp:
* orbsvcs/lib/RtecSchedulerC.h:
* orbsvcs/lib/RtecSchedulerC.i:
* orbsvcs/lib/RtecSchedulerS.cpp:
* orbsvcs/lib/RtecSchedulerS.h:
Regenerated the files using the newest IDL compiler; still some
hand crafting due to inherited classes.
Tue Dec 2 03:12:50 1997 Sergio Flores <sergio@tango.cs.wustl.edu>
* tao/orbobj.cpp (resolve_name_service): Check for errors when
resolving using the "NameService" environment variable.
* orbsvcs/bin/Naming_Service/CosNaming_i.cpp (NS_NamingContext):
* orbsvcs/bin/Naming_Service/CosNaming_i.h (NS_NamingContext):
- Added constructor that takes a key to initialize the object,
instead of using the default name generation.
- Enabled some exceptions that are already supported.
* orbsvcs/bin/Naming_Service/svr.cpp (main): Create first naming
context with key "NamingContext". And minor changes.
* tests/Cubit/CORBAplus/IDL_Cubit/Makefile:
* tests/Cubit/CORBAplus/IDL_Cubit/README:
* tests/Cubit/CORBAplus/IDL_Cubit/clnt.cpp:
* tests/Cubit/CORBAplus/IDL_Cubit/clnt.h:
* tests/Cubit/CORBAplus/IDL_Cubit/cubit.idl:
* tests/Cubit/CORBAplus/IDL_Cubit/cubit_i.cpp:
* tests/Cubit/CORBAplus/IDL_Cubit/cubit_i.h:
* tests/Cubit/CORBAplus/IDL_Cubit/svr.cpp: Ported the IDL cubit
example to CORBAplus. Currently, the calls using DII are not
ported, so only the "cube average" and the "cube_union_stub" stats
are printed.
Mon Dec 1 16:51:08 1997 Chris Cleeland <cleeland@cs.wustl.edu>
* tao/except.{h,cpp}: Changed semantics of CORBA::Exception so
that the mere creation of them does not take a reference.
Instead, the user of the exception is expected to call AddRef().
CORBA::Environment has been modified (and even documented!) to
reflect that as well.
Sun Nov 30 17:08:56 1997 Carlos O'Ryan <coryan@macarena.cs.wustl.edu>
* orbsvcs/lib/RtecSchedulerC.cpp:
Added missed parameter in do_call() for
RtecScheduler::Scheduler::set().
Sat Nov 29 13:34:58 1997 Carlos O'Ryan <coryan@macarena.cs.wustl.edu>
* tao/stub.i (STUB_Object):
No need to release type_id, since it is a String_var now. Thanks
to Wei Chiang <chiang@tele.nokia.fi> for pointing this out.
* giop.cpp:
If things go wrong TAO_GIOP::send_request will close the
handler and set it to zero, but only a temporary was
affected, I decided to set the original value to zero also;
based on the return value.
Wed Nov 26 23:24:57 1997 <cleeland@cs.wustl.edu>
* TAO version 0.0.41, released Wed Nov 26 23:24:57 1997.
Wed Nov 26 16:40:29 1997 Chris Cleeland <cleeland@cs.wustl.edu>
* tests/Cubit/TAO/IDL_Cubit/clnt.cpp: Changed release calls to use
the CORBA standard version rather than the non-standard TAO
Release() method. Also moved the client's parse_args() AFTER the
ORB_init() so that -ORB parameters were parsed correctly.
* tao/params.*: Added storage for send and receive socket buffer
size to be used for all newly created sockets. These sizes are
initialized to ACE_DEFAULT_MAX_SOCKET_BUFSIZ, and can be changed
by the user by using -ORBsndsock and -ORBrcvsock.
* tao/orbobj.h: Added documentation.
* tao/orb_core.i: Changed system-specific conditional compilation
to use the more general ACE_LACKS_TEMPLATE_SPECIALIZATION.
* tao/orb_core.cpp: Added code to make -ORBsndsock and -ORBrcvsock
options actually work. Added -ORBpreconnect option to implement
pre-cached connections.
* tao/giop.cpp: Removed the old static inline version of
start_message(). Also changed to use send_n() to guarantee
correct blocking nature on Win32 with the WFMO Reactor.
* tao/connect.cpp: Changed set_option() calls to use the socket
buffer sizes stored in the TAO_ORB_Parameters instance. Also
added a correct environment-clearing call before initializing a
request.
* tao/client_factory.h: Removed extraneous code.
* tao/{connect,any,giop,iiopobj,marshal,nvlist,objtable,optable,
orb_core,poa,principa,stub,svrrqst,typecode}.h:
Addressed or assigned some '@@' comments.
* docs/releasenotes/orbcore.html: Added information regarding new
options, known bugs, etc.
* docs/Options.html: Added documentation for new -ORBpreconnect
option.
* TAO_IDL/be/Makefile: Added an explicit PIC=-fPIC for when g++ is
being used as the compiler. This fixes the linker complaints.
Sat Dec 20 14:57:30 1997 <nw1@CHA-CHA>
* All MSVC 5.0 project files: Removed unnecessary library
inclusions. Most of them are not necessary.
Tue Nov 25 20:49:24 1997 Carlos O'Ryan <coryan@macarena.cs.wustl.edu>
* tao/orbobj.h:
* tao/orbobj.cpp:
* tao/orb_core.cpp:
* tao/params.h:
* tao/params.cpp:
Removed the parameters to specify the event service and schedule
service IOR, the naming service is working now so it can be
used. And the support in "resolve_initial_references".
* tao/corbacom.i:
* tao/decode.cpp:
Reverted the previous change, but this time added proper
comments: the spec says that a Naming_var taking a <char*> is
*not* supposed to copy it. Hence the ObjRef decoder cannot
release the string it just read.
Mon Nov 24 20:40:47 1997 Carlos O'Ryan <coryan@macarena.cs.wustl.edu>
* tao/corbacom.i:
Fixed string allocation problem for String_var(char*): if it
does not copy the string we run into problems with the
demarshalling code.
* orbsvcs/lib/Event_Utilities.cpp:
* orbsvcs/lib/Event_Utilities.h:
* orbsvcs/lib/Event_Utilities.i:
* orbsvcs/lib/RtecEventChannelAdmin.idl:
* orbsvcs/lib/RtecEventChannelAdminC.cpp:
* orbsvcs/lib/RtecEventChannelAdminC.h:
Removed the unused forward_event parameter in the ConsumerQoS.
* orbsvcs/lib/RtecSchedulerC.h:
* orbsvcs/lib/RtecSchedulerC.i:
Hand crafted the T_out constructors to take a "const T_out&"
instead of just "T_out&".
Sat Nov 22 18:21:10 1997 Aniruddha Gokhale <gokhale@mambo.cs.wustl.edu>
* TAO_IDL/be_include/be_codegen.h, be/be_codegen.cpp: Added a
number of states to handle attributes
* TAO_IDL/be/{be_attribute,be_state_attribute}.cpp: Code added to
handle attributes. This code is a mix of code that is used to
handle operations as well as arguments because for attributes we
have 2 methods, one to set the value and one which returns the
value. For a readonly attribute, there is only the get method.
A special note: Due to the large switch statement, I had to use
-fPIC for g++. We are working on abstracting all the commin
functionality once we have the basic IDL compiler working.
* TAO_IDL/be/be_interface.cpp: Operation table now also includes
methods to set and get the attributes if they are present. In
addition, the variable name for the operation tables is now the
full flattened name to avoid conflicts.
* TAO_IDL/be/be_sequence.cpp: In the length method, the index of
lookp variable "i" is changed from "int" to CORBA::ULong as g++
was issuing a warning.
* TAO_IDL/be/be_string.cpp, be_state_argument,cpp: Proper handling
of in, inout, and out strings that are either anonymous or are
typedefed.
Fri Nov 21 13:22:39 1997 Douglas C. Schmidt <schmidt@cs.wustl.edu>
* TAO version 0.0.40, released Fri Nov 21 13:22:39 1997.
Thu Nov 20 10:31:24 1997 Chris Cleeland <cleeland@cs.wustl.edu>
* tao/orbconf.h (SIZEOF_LONG_DOUBLE): Made sure this is defined
properly for Chorus. Thanks to Wei Chiang <chiang@tele.nokia.fi>
for submitting these!
* tao/orb_core.cpp (init): Added some changes for Chorus. Thanks
to Wei Chiang <chiang@tele.nokia.fi> for submitting these!
* tao/object.cpp (_is_a): Explicitly specify which conversion
operator to use when comparing type_id to 0.
Thu Nov 20 00:10:52 1997 Sergio Flores <sergio@cs.wustl.edu>
* orbsvcs/tests/Logger/clnt.h :
* orbsvcs/tests/Logger/clnt.cpp (Logger_Client): Fixed a bug
dealing with using "_bind" when the naming service is not
available.
Thu Nov 20 00:06:03 1997 Douglas C. Schmidt <schmidt@cs.wustl.edu>
* TAO version 0.0.39, released Thu Nov 20 00:06:03 1997.
Thu Nov 20 00:01:06 1997 Douglas C. Schmidt <schmidt@merengue.cs.wustl.edu>
* tao/Makefile: Reordered the files so they are built in
alphabetic order (within each grouping of targets). This makes it
easier to see how the compilation process is doing ;-).
Wed Nov 19 22:59:18 1997 Sergio Flores <sergio@cs.wustl.edu>
* tao/orbobj.cpp (resolve_name_service): Minor change to output
debug statement.
Wed Nov 19 23:01:46 1997 Aniruddha Gokhale <gokhale@mambo.cs.wustl.edu>
* TAO_IDL/be/be_state_operation.cpp: Fixed the problem with
strings as return values. Thanks to Mark L Boriack
<mark@vtcibm4a> for reporting this.
Wed Nov 19 20:48:01 1997 James C Hu <jxh@cs.wustl.edu>
* tests/Thruput_test/server.cpp: Commented out some unreachable
code at the bottom of main.
Wed Nov 19 19:04:53 1997 Sergio Flores <sergio@tango.cs.wustl.edu>
* tao/decode.cpp (decode): Added a cast so that compiler would
know which operator to call.
* orbsvcs/bin/Naming_Service/svr.cpp (handle_input): Change port
number received to host byte order. Minor changes.
* tao/orbobj.cpp (resolve_name_service): Send port number in
network byte order.
Wed Nov 19 17:45:52 1997 Chris Cleeland <cleeland@cs.wustl.edu>
* tests/Cubit/TAO/IDL_Cubit/clnt.cpp: Put in proper release of
resources after _narrow operation.
* tao/stub.h: Used CORBA::String_var as the underlying type for
'type_id' in STUB_Object. In the long run this may be a bad idea
for performance considerations, but we may be able to improve that
by improving the implementation of String_var.
* tao/orbobj.cpp: Removed unreachable ACE_NOTSUP_RETURN.
* tao/decode.cpp: Made allocation and free semantics of
'type_hint' consistent with its type of CORBA::String.
Wed Nov 19 17:33:42 1997 Sumedh Mungee <sumedh@lindy.cs.wustl.edu>
* Task_Client.cpp: Fixed error_count.. Thanks to James Hu.
Wed Nov 19 17:20:45 1997 James C Hu <jxh@cs.wustl.edu>
* TAO_IDL/be/be_operation.cpp: Removed an unreachable return
statement. There was already a return above it.
* TAO_IDL/ast/ast_expression.cpp: Added casts to comparisons of
char variables to 0, since chars are unsigned by default in
SGI.
* tests/Cubit/TAO/MT_Cubit/client/Task_Client.cpp: Removed a
couple of unreachable return statements. There are still
unreachable statements remaining. Need help with them.
* tests/Cubit/TAO/IDL_Cubit/clnt.cpp:
* tests/Cubit/TAO/DII_Cubit/clnt.cpp:
Meaningless type qualifier (const ...) removed.
Some functions were returning `retval' before it was set. I had
these functions return a passed in paramenter instead.
Wed Nov 19 13:50:36 1997 Douglas C. Schmidt <schmidt@cs.wustl.edu>
* TAO version 0.0.38, released Wed Nov 19 13:50:36 1997.
Wed Nov 19 13:11:53 1997 David L. Levine <levine@cs.wustl.edu>
* orbsvcs/lib/Scheduler_Factory.cpp (dump_schedule): changed loop
index from int to u_int to avoid signed/unsigned comparison.
(use_runtime): return 0.
* orbsvcs/lib/Event_Utilities.cpp (debug): changed loop
index from int to u_int to avoid signed/unsigned comparison.
Wed Nov 19 12:22:50 1997 Chris Cleeland <cleeland@cs.wustl.edu>
* tao/orbobj.cpp (resolve_name_service): Reverted some of the
minor changes below, specifically the use of ACE_ERROR_RETURN
rather than ACE_ERROR/return. ACE_ERROR_RETURN cannot be used
as-is because the 2nd parameter is used as an 'int' to specify the
operational status, and the return value of this function is NOT
an int. Also had to add a missing semi-colon which caused none of
the code to compile.
Wed Nov 19 12:07:42 1997 Douglas C. Schmidt <schmidt@cs.wustl.edu>
* TAO version 0.0.37, released Wed Nov 19 12:07:42 1997.
Wed Nov 19 10:37:19 1997 Carlos O'Ryan <coryan@macarena.cs.wustl.edu>
* orbsvcs/lib/Scheduler_Factory.cpp:
The type declared for the rt_info array was wrong.
Wed Nov 19 09:18:30 1997 Douglas C. Schmidt <schmidt@cs.wustl.edu>
* TAO version 0.0.36, released Wed Nov 19 09:18:30 1997.
Wed Nov 19 09:15:15 1997 Douglas C. Schmidt <schmidt@tango.cs.wustl.edu>
* tao/orbobj.cpp (resolve_name_service): Made a bunch of minor
Changes for resolving the Naming service.
Wed Nov 19 08:44:12 1997 Brian Mendel <brian.r.mendel@boeing.com>
* tests/Cubit/TAO/DII_Cubit/default.bld:
* tests/Cubit/TAO/DII_Cubit/clnt.bld:
* tests/Cubit/TAO/DII_Cubit/svr.bld:
* tests/Cubit/TAO/IDL_Cubit/default.bld:
* tests/Cubit/TAO/IDL_Cubit/clnt.bld:
* tests/Cubit/TAO/IDL_Cubit/svr.bld:
* tests/Cubit/TAO/MT_Cubit/default.bld:
* tests/Cubit/TAO/MT_Cubit/clnt.bld:
* tests/Cubit/TAO/MT_Cubit/svr.bld: Added build files in the new
test structure for VxWorks using the GHS compiler.
* tests/Cubit/Build: Removed the obsolete build directory for vxWorks.
Wed Nov 19 07:47:13 1997 Douglas C. Schmidt <schmidt@cs.wustl.edu>
* TAO version 0.0.35, released Wed Nov 19 07:47:13 1997.
Wed Nov 19 05:53:42 1997 Sergio Flores <sergio@tango.cs.wustl.edu>
* tests/Cubit/TAO/DII_Cubit/clnt.cpp:
* tests/Cubit/TAO/DII_Cubit/clnt.h:
* tests/Cubit/TAO/IDL_Cubit/clnt.cpp:
* tests/Cubit/TAO/IDL_Cubit/clnt.h: Changed code to add loop
around all cube calls, and make output more consistent.
* orbsvcs/tests/Logger/Makefile:
* orbsvcs/tests/Logger/ior_multicast.cpp:
* orbsvcs/tests/Logger/ior_multicast.h: Removed unneeded
ior_multicast.* source files from the logger example. It now uses
the resolve_initial_references() to use the naming service for its
advertisement.
* orbsvcs/lib/Makefile (realclean): Updated with realclean & clean
rules to delete CosNamingS.* and CosNamingC.*
* docs/releasenotes/index.html: Updated status of the naming
service to working implementation.
* orbsvcs/lib/CosNamingS.cpp:
* orbsvcs/lib/CosNamingS.i:
* orbsvcs/lib/CosNamingS.h:
* orbsvcs/lib/CosNamingC.cpp:
* orbsvcs/lib/CosNamingC.i:
* orbsvcs/lib/CosNamingC.h: Removed these files from the
repository, since the IDL compiler generates these correctly.
* orbsvcs/bin/Naming_Service/CosNaming_i.cpp (list): Remove
warning for unused variable.
* orbsvcs/bin/Naming_Service/svr.h: Constructor of event handler
for multicast doesn't need reply port anymore.
* orbsvcs/bin/Naming_Service/svr.cpp (handle_input): Now receives
the port number in the multicast request. Suggested by Doug
Schmidt.
* tao/orbobj.cpp (resolve_name_service): changed return value
variable to be signed. Added code to send the port number in the
multicast resolution mechanism as a CORBA::Short.
* orbsvcs/bin/Naming_Service/NS_CosNaming.cpp (NS_ExtId):
Reordered initializers in the constructor.
* tests/Cubit/TAO/IDL_Cubit/clnt.h:
* tests/Cubit/TAO/IDL_Cubit/clnt.cpp (run): Added a loop around
all cube calls and added calls/sec stats for them.
* tao/corba.h: Changed order of inclusion of marshal.i, due to
warnings of the declaration of the inline function
make_marshal_object().
* tao/orbobj.i: reorder the declaration of inline
CORBA_OBJ::Add_Ref(), to remove a warning.
* tests/Cubit/TAO/MT_Cubit/server/svr.cpp (main):
removed return statement that was causing a warning.
Wed Nov 19 04:22:48 1997 Douglas C. Schmidt <schmidt@cs.wustl.edu>
* TAO version 0.0.34, released Wed Nov 19 04:22:48 1997.
Tue Nov 18 01:29:00 1997 <nw1@COYOTE>
* tao/TAO.dsp: Added Arg_Shifter.cpp into project file.
Tue Nov 18 18:53:57 1997 Sergio Flores <sergio@polka.cs.wustl.edu>
* TAO_IDL/be/be_state_typedef.cpp (gen_code):
* TAO_IDL/be/be_state_structure.cpp (gen_code):
* TAO_IDL/be/be_state_sequence.cpp (gen_code):
* TAO_IDL/be/be_state_operation.cpp (gen_code):
* TAO_IDL/be/be_state_array.cpp (gen_code): Comment out
unreachable break statements.
* TAO_IDL/ast/ast_array.cpp (n_dims):
* TAO_IDL/include/ast_array.h (AST_Array::n_dims):
* TAO_IDL/ast/ast_attribute.cpp (readonly):
* TAO_IDL/include/ast_attribute.h (AST_Attribute::readonly):
* TAO_IDL/ast/ast_argument.cpp (direction):
* TAO_IDL/include/ast_argument.h (AST_Argument::direction):
* tao/nvlist.h (CORBA_NamedValue::name):
* TAO_IDL/include/utl_scope.h (UTL_Scope::scope_node_type):
* TAO_IDL/ast/ast_predefined_type.cpp (pt):
* TAO_IDL/include/ast_predefined_type.h (AST_PredefinedType::pt):
removed const from declarations that it didn't have a meaning for.
Also from return statements. These changes were suggested by
James Hu and the SGI compiler.
Tue Nov 18 18:34:16 1997 Sumedh Mungee <sumedh@lindy.cs.wustl.edu>
* tests/Cubit/COOL/client.cpp: ORB_init is now called in
Task_Client.cpp instead of the main program, to insure that its
called in the right thread.
* tests/Cubit/COOL/Task_Client.{h,cpp}: Used the COOL_Activity to
create threads instead of ACE_Task.
* tests/Cubit/COOL/server.cpp: Used the createActivity stuff to
create threads. The server now creates two servants, one for high
and the other for low priority clients.
Tue Nov 18 17:44:02 1997 Chris Cleeland <cleeland@cs.wustl.edu>
* tao/corbacom.h: Added special case for CORBA::WChar to be a
short on VxWorks/GreenHills.
* TAO_IDL/be/be_state.cpp: Added template instantiations for SGI.
* tao/deep_free.cpp (deep_free): Removed unused 'alignment'
variable.
* tao/deep_copy.cpp (deep_copy): Removed unused 'alignment'
variable.
* tao/encode.cpp (encode): Removed unused 'continue_encoding'
variable.
* tao/orbobj.cpp (POA_init): Removed options which were no longer
supported/necessary, as well as their corresponding variables.
Tue Nov 18 17:33:20 1997 Carlos O'Ryan <coryan@macarena.cs.wustl.edu>
* orbsvcs/lib/RtecEventChannelAdmin.idl:
* orbsvcs/lib/RtecEventComm.idl:
Changed several operations to "oneway" to avoid dead-locks in
the Event Channel tests.
* orbsvcs/lib/Runtime_Scheduler.h:
* orbsvcs/lib/Runtime_Scheduler.cpp:
This class is a servant, event though it is only used
collocated, so it must inherit from the POA class.
* orbsvcs/lib/Scheduler_Factory.cpp:
Care must be exercised to create the Runtime_Scheduler instance
only once the ORB is up and running.
* orbsvcs/lib/CosNamingC.cpp:
* orbsvcs/lib/CosNamingC.h:
* orbsvcs/lib/CosNamingS.cpp:
* orbsvcs/lib/CosNamingS.h:
* orbsvcs/lib/RtecEventChannelAdminC.cpp:
* orbsvcs/lib/RtecEventChannelAdminC.h:
* orbsvcs/lib/RtecEventChannelAdminS.cpp:
* orbsvcs/lib/RtecEventChannelAdminS.h:
* orbsvcs/lib/RtecEventCommC.cpp:
* orbsvcs/lib/RtecEventCommC.h:
* orbsvcs/lib/RtecEventCommS.cpp:
* orbsvcs/lib/RtecEventCommS.h:
* orbsvcs/lib/RtecSchedulerC.cpp:
* orbsvcs/lib/RtecSchedulerC.h:
* orbsvcs/lib/RtecSchedulerS.cpp:
* orbsvcs/lib/RtecSchedulerS.h:
Regenerated all the stubs and skeletons using the latest IDL
compiler, but still some hand crafting is required, namely for
operations in base classes.
Tue Nov 18 14:27:02 1997 Chris Cleeland <cleeland@cs.wustl.edu>
* tao/cdr.cpp (CDR): Changed TAO_PURIFY to ACE_PURIFY.
* tests/Cubit/TAO/MT_Cubit/serdatever/svr.cpp: Added code to put use a
kinder, gentler high priority value on VxWorks. This makes it
easier for the machine to remain running. :-\
* tao/corbacom.h: Added CVS id keyword.
* tao/{corba.h,tao_internals.h,tao_internals.cpp}: Backed out
tao_internals.h, which is not intended to be publicly visible.
corba.h should contain only headers/inlines for things which
should be externally visible.
Tue Nov 18 04:00:46 1997 Carlos O'Ryan <coryan@macarena.cs.wustl.edu>
* tao/poa.cpp:
An operation lookup on the dispatching code will cause an error
message and the CORBA::BAD_OPERATION exception to be raised.
* tao/orb_core.cpp:
Somehow the options for setting the Event Service and the
Scheduling Service IOR were lost. Eventually they must be
removed, but we are still testing the Naming Service.
Tue Nov 18 02:17:24 1997 Douglas C. Schmidt <schmidt@cs.wustl.edu>
* TAO version 0.0.33, released Tue Nov 18 02:17:24 1997.
Tue Nov 18 02:03:22 1997 Sergio Flores <sergio@tango.cs.wustl.edu>
* orbsvcs/tests/Logger/svr.cpp:
* orbsvcs/tests/Logger/clnt.cpp: This test example now uses the
naming service in the server and client. Also changed the code to
have a default use in case the naming service is not available.
* tao/orbobj.cpp (resolve_name_service): Fixed a bug, dealing with
closing the endpoint of communication for the response of the
multicast mechanism.
Tue Nov 18 01:37:42 1997 Aniruddha Gokhale <gokhale@mambo.cs.wustl.edu>
* TAO_IDL/be/{be_operation.cpp,be_state_operation}.cpp: We now
properly handle the declaration and assigning to the return value.
* TAO_IDL/be/be_state_argument.cpp: Removed a spurious ()
appearing after a function call.
* TAO_IDL/be/{be_structure,be_union}.cpp: Carlos had removed the
if !imported check in the member counting function, but it had
crept in again, maybe due to me. So this is fixed again.
* test/Cubit/TAO/IDL/svr.cpp: Removed the hack which was
separating command line arguments starting with O. We leave this
task to the newly added Arg_Shifter.
* tao.orbobj.cpp: In ORB_init, the call to
TAO_ORb_Core_instance->init needed a char ** argv and we were
passing a char * const* argv. So we cast this. g++ was giving this
error.
* TAO_IDL/be_include/be_codegen.h, TAO_IDL/be/be_codegen.cpp:
Added 5 new states for code generation. All of these for
operations and arguments.
* TAO_IDL/be/be_argument.cpp: Made all methods uniform so that the
state will be set by the corresponding be_operation method. Thus
the be_operation method will vary the state but still invoke the
same be_argument method.
* TAO_IDL/be/be_enum.cpp, be_structure.cpp, be_union.cpp, be_field.cpp,
be_sequence.cpp: Some reformatting, removed unused variables.
* TAO_IDL/be/be_scope.cpp: Changes include adding ACE_ERROR_RETURN
with file name, line number capability. In addition, we were not
testing for return status of the various gen methods called.
* Most important changes in these files:
TAO_IDL/be/{be_operation,be_state_argument,be_state_operation}.cpp:
Large scale changes that include a uniform way to invoke methods
of the be_argument class from the be_operation methods. Added the
5 new states. Added proper handling of _out parameters in stubs
and skeletons.
Mon Nov 17 20:05:40 1997 Chris Cleeland <cleeland@cs.wustl.edu>
* tests/Cubit/TAO/IDL_Cubit/clnt.cpp: Cleaned up lots of places
where the allocated stuff wasn't being deallocated.
* tao/request.cpp: Insured that the CTOR adds a reference for the
dynamically-allocated NamedValue.
* tao/orb_core.cpp: Freed the faked service configurator argv.
* tao/iiopobj.h: Removed anachronistic comments.
* tao/iiopobj.{i,cpp}: Changed allocation of IIOP::Profile.host to use
new/delete rather than strdup/free b/c the decoder, which is
generic, must use new to allocate the space. Thus, the strdup had
to go. Purify now happier.
* tao/cdr.cpp: Added call to memset bracketed by #if
defined(TAO_PURIFY) in order to appease the purify gods.
Mon Nov 17 20:05:16 1997 Seth Benjamin Widoff <sbw1@waltz.cs.wustl.edu>
* arg_shifter.cpp:
fixed a bug where in new, gcc used the address of an integer
reference rather than its value. weird.
* tao/orb_core.cpp:
Modified the init routine to "consume" command line arguments it
recognizes by placing them in the rear of argv, and adjusting
argc. It uses the Arg_Shifter class to accomplish this.
* tao/arg_shifter.h:
* tao/arg_shifter.cpp:
The Arg_Shifter class is an iterator that, as it iterates over
argv, places consumed arguments at the end of the vector,
ignored ones in their original order at the beginning of the
vector, and adjusts argc to hide the consumed arguments.
Mon Nov 17 18:40:49 1997 Carlos O'Ryan <coryan@macarena.cs.wustl.edu>
* tao/orb_core.i:
Some data was not initialized when used from a thread different
than the one doing ORB_init (even though we choose a global ORB
in the svc.conf file). Chris found a fix for this. The affected
methods are reactor(), thr_mgr(), connector() and acceptor().
* TAO_IDL/be/be_sequence.cpp:
length was not working if the value was <= than the maximum.
* orbsvcs/lib/CosNamingC.cpp:
* orbsvcs/lib/RtecEventChannelAdminC.cpp:
* orbsvcs/lib/RtecEventCommC.cpp:
* orbsvcs/lib/RtecSchedulerC.cpp:
* orbsvcs/lib/RtecSchedulerS.cpp:
Fixed the length() problem by hand, even though the new IDL
compiler should do it right.
Mon Nov 17 11:52:54 1997 Douglas C. Schmidt <schmidt@tango.cs.wustl.edu>
* TAO_IDL/be/be_codegen.cpp (server_header),
TAO_IDL/util/utl_global.cpp (be_change_idl_file_extension):
Updated several methods to ensure const correctness for the
updated ACE_OS::str*() methods. Thanks to David Levine for
reporting this.
Mon Nov 17 02:40:14 1997 Douglas C. Schmidt <schmidt@cs.wustl.edu>
* TAO version 0.0.32, released Mon Nov 17 02:40:14 1997.
Mon Nov 17 01:48:17 1997 Carlos O'Ryan <coryan@macarena.cs.wustl.edu>
* TAO_IDL/be/be_scope.cpp:
TypeCode generation was failing for imported members.
* TAO_IDL/be/be_structure.cpp:
Member count must include all members, imported or not.
* TAO_IDL/be/be_typedef.cpp:
Added missing decr_indent() in the typecode generation which was
making the generated code completely unreadable.
* orbsvcs/lib/RtecEventChannelAdmin.idl:
* orbsvcs/lib/RtecEventComm.idl:
Removed the PullConsumer and PullSupplier classes, they are not
supported.
* orbsvcs/lib/CosNamingC.cpp:
* orbsvcs/lib/CosNamingS.cpp:
* orbsvcs/lib/RtecEventChannelAdminC.cpp:
* orbsvcs/lib/RtecEventChannelAdminC.h:
* orbsvcs/lib/RtecEventChannelAdminC.i:
* orbsvcs/lib/RtecEventChannelAdminS.cpp:
* orbsvcs/lib/RtecEventChannelAdminS.h:
* orbsvcs/lib/RtecEventChannelAdminS.i:
* orbsvcs/lib/RtecEventCommC.cpp:
* orbsvcs/lib/RtecEventCommC.h:
* orbsvcs/lib/RtecEventCommC.i:
* orbsvcs/lib/RtecEventCommS.cpp:
* orbsvcs/lib/RtecEventCommS.h:
* orbsvcs/lib/RtecEventCommS.i:
* orbsvcs/lib/RtecSchedulerC.cpp:
* orbsvcs/lib/RtecSchedulerS.cpp:
New version of the generated files, this last version is almost
making in it, but still needs hand crafting.
* TAO_IDL/be/be_array.cpp:
* TAO_IDL/be/be_sequence.cpp:
* TAO_IDL/be/be_typedef.cpp:
Fixed buggy TypeCode lenght computation, it was only taking into
account the tc_encap_len() for the base type but it should use
the full tc_size().
* tao/encode.cpp:
Object references *must* be passed a pointer to Object_ptr in
the marshalling code.
* TAO_IDL/be/be_operation.cpp:
* TAO_IDL/be/be_state_operation.cpp:
Fixed generated code for Object references as return values. It
allocates the Object_ptr in the heap, stores the result there
and creates an Any for it.
Sun Nov 16 23:30:26 1997 Sergio Flores <sergio@tango.cs.wustl.edu>
* orbsvcs/tests/Logger/svr.cpp (main):
Changed the code to use the resolve_initial_references ()
interface to get the object refrence to the naming service.
* orbsvcs/tests/Logger/clnt.cpp (main): Now uses the
resolve_initial_references() to get the naming service object
reference, to get the logger factory object reference.
* orbsvcs/bin/Naming_Service/svr.cpp (main):
* orbsvcs/bin/Naming_Service/svr.h:
Added code to respond to multicast requests for the IOR.
Added code to respond to multicast requests for the IOR.
* tests/Cubit/TAO/IDL_Cubit/clnt.cpp: Fixed some formatting
problems dealing with the precision of the output.
Sun Nov 16 14:48:00 1997 <nw1@COYOTE>
* test/Cubit/TAO/IDL_Cubit/{server,client}.dsp: Updated library
path for release version.
* TAO_IDL/TAO_IDL.mak:
* TAO_IDL/tao_idl.dsp: Added new files (be_state_*.cpp) into
project file.
Sun Nov 16 12:56:24 1997 Aniruddha Gokhale <gokhale@mambo.cs.wustl.edu>
* TAO_IDL/be/be_interface.cpp: The _is_a_skel method's signature
had an Object_ptr obj parameter which was unused. Instead of
generating the ACE_UNUSED_ARG (obj) line of code, we use /* obj */
in the signature.
Sun Nov 16 05:51:38 1997 Douglas C. Schmidt <schmidt@cs.wustl.edu>
* TAO version 0.0.31, released Sun Nov 16 05:51:38 1997.
Sun Nov 16 00:22:04 1997 Carlos O'Ryan <coryan@macarena.cs.wustl.edu>
* tests/Cubit/TAO/IDL_Cubit/clnt.cpp:
Fixed output for structs and union test.
* tao/iiopobj.cpp:
If the user provides no key for an object we generate one, based
on the object address.
* TAO_IDL/be/be_sequence.cpp:
The length() method should get the maximum if reallocation
occurs.
* tao/orb_core.cpp:
* tao/orbobj.cpp:
* tao/orbobj.h:
* tao/params.cpp:
* tao/params.h:
Added new options to the ORB (-ORBeventserviceior,
-ORBscheduleserviceior), this should go away once the Naming
Service works properly, but are needed now to locate this
services.
* orbsvcs/lib/Makefile:
Added several small classes that help when using the Scheduling
and/or the Event Service.
* orbsvcs/lib/Scheduler_Factory.cpp:
* orbsvcs/lib/Scheduler_Factory.h:
* orbsvcs/lib/Scheduler_Factory.i:
Encapsulate the construction and configuration of the Scheduling
Service.
* orbsvcs/lib/Runtime_Scheduler.cpp:
* orbsvcs/lib/Runtime_Scheduler.h:
* orbsvcs/lib/Runtime_Scheduler.i:
Implement a simple, but fast, Scheduling Service based on a
precomputed scheduling.
* orbsvcs/lib/Event_Utilities.cpp:
* orbsvcs/lib/Event_Utilities.h:
* orbsvcs/lib/Event_Utilities.i:
Simplify the creation of QoS structures for the Event Service.
* orbsvcs/lib/Scheduler_Utilities.cpp:
* orbsvcs/lib/Scheduler_Utilities.h:
* orbsvcs/lib/Scheduler_Utilities.i:
Simplify manipulation of the RT_Infos for the Scheduling
Service.
* orbsvcs/lib/Channel_Clients.cpp:
* orbsvcs/lib/Channel_Clients.h:
* orbsvcs/lib/Channel_Clients_T.cpp:
* orbsvcs/lib/Channel_Clients_T.h:
Helpers to adapt PushSuppliers and PushConsumers.
* orbsvcs/lib/CosNamingC.cpp:
* orbsvcs/lib/CosNamingC.h:
* orbsvcs/lib/CosNamingC.i:
* orbsvcs/lib/CosNamingS.cpp:
* orbsvcs/lib/RtecEventChannelAdminC.cpp:
* orbsvcs/lib/RtecEventChannelAdminC.h:
* orbsvcs/lib/RtecEventChannelAdminC.i:
* orbsvcs/lib/RtecEventChannelAdminS.cpp:
* orbsvcs/lib/RtecEventChannelAdminS.h:
* orbsvcs/lib/RtecEventComm.idl:
* orbsvcs/lib/RtecEventCommC.cpp:
* orbsvcs/lib/RtecEventCommC.h:
* orbsvcs/lib/RtecEventCommC.i:
* orbsvcs/lib/RtecEventCommS.cpp:
* orbsvcs/lib/RtecSchedulerC.cpp:
* orbsvcs/lib/RtecSchedulerC.h:
* orbsvcs/lib/RtecSchedulerC.i:
* orbsvcs/lib/RtecSchedulerS.cpp:
This files were generated by the IDL compiler and don't need any
hand crafting (so far). I still maintain them in CVS because the
compiler is not stable enough.
* orbsvcs/bin/Naming_Service/Makefile:
Removed spurious call to rm.
* orbsvcs/lib/RtecEventComm.idl:
Removed the (already commented out) include of "orb.idl".
Sat Nov 15 21:38:48 1997 Carlos O'Ryan <coryan@macarena.cs.wustl.edu>
* TAO_IDL/be/be_sequence.cpp:
The generated length() method will reallocate the sequences
now.
* TAO_IDL/be/be_constant.cpp:
It was initializing nested constants in the client header file,
Andy told me how to fix it.
* TAO_IDL/be/be_operation.cpp:
Fixed typo in generated code:
s/_tao_enviroment/_tao_environment/
* TAO_IDL/be/be_field.cpp:
Only generate the inline members of the field type if the type
is not imported.
* TAO_IDL/driver/drv_fork.cpp:
* TAO_IDL/driver/drv_preproc.cpp:
Removed old code to support plain fork (without ACE).
Also removed temporary files *unless* we are on Win32, were
removing the file and keeping it open fails.
* TAO_IDL/include/idl_global.h:
* TAO_IDL/util/utl_global.cpp:
Added routines to obtain the generated names of any IDL file,
not only the one we are processing.
* TAO_IDL/be/be_codegen.cpp:
The compiler now generate all the required include directives
when the IDL file contains some.
* tao/params.cpp:
Initialize name_service_port_ to zero in the constructor.
Sat Nov 15 21:20:01 1997 Aniruddha Gokhale <gokhale@mambo.cs.wustl.edu>
* TAO_IDL/be/be_string.cpp: The typecode info was getting
generated in a wrong file because of setting the worng file to
generate it in.
* TAO_IDL/be/be_typedef.cpp: Some extra indentation was getting
generated for typecodes. This is fixed.
* TAO_IDL/be/be_state_argument.cpp: For parameters of type
ObjRefs, we were not passing the address of the object_ptr to the
Any constructor. This would have caused seg faults when
decoding. This is now fixed.
* TAO_IDL/be: Split be_state.cpp into a number of files based on
the IDL types, e.g., be_state_struct.cpp, be_state_union.cpp, ...
* TAO_IDL/be/be_sequence.cpp: Name creation now uses a uniform
strategy rather than typedefed sequences assuming the name of the
typedef and anonymous sequences getting a generated name. This was
required to eliminate a number of multiple declarations errors.
* TAO_IDL/be/be_state_union.cpp: Since C++ does not allow
instances of classes to appear inside a union declaration, the
private data members for data members of type objref, strings,
sequences, and anys must be pointers. This changes code in the
accessor methods defined in the generated *.i files for the union.
* TAO_IDL/be/be_operation.cpp: There were some instances of the
incorrectly spelled _tao_enviroment remaining which have been
corrected.
* TAO/tao/managed_types.{h,i,cpp}: Added these 3 files that define
the self managed data type similar to a String_var. These self
managed data types are required for struct/union members that are
strings or obj references, as well as for element types of
sequences.
* TAO_IDL/be/be_typedef.cpp: Added code to generate the typecode
structure for typedefs. These use the tk_alias kind field.
* TAO_IDL/be/{be_union,be_state}.cpp: Improvements to union with
string members. However, this is still incomplete and will be
done by the next couple of commits.
* tests/Cubit/TAO/IDL_Cubit/cubit_i.cpp: Removed the ACE_DEBUG
stmt for printing object keys.
Sat Nov 15 18:03:39 1997 Douglas C. Schmidt <schmidt@tango.cs.wustl.edu>
* tests/Cubit/TAO/IDL_Cubit/cubit_i.cpp (make_cubit): We don't
need to free up the object key since it's no longer allocated
dynamically.
* tao/object: Changed the _get_name() method to return const char
* to be consistent with the iiopobj change below.
* tao/iiopobj: Fixed _get_name() so that it doesn't allocate
memory by having it return const char * and just return the
pointer. This should fix some subtle problems.
Sat Nov 15 12:19:55 1997 Nanbor Wang <nw1@merengue.cs.wustl.edu>
* TAO_IDL/be/be_codegen.cpp: Changed two loop counters from type
int to type size_t.
Sat Nov 15 01:33:08 1997 Douglas C. Schmidt <schmidt@cs.wustl.edu>
* TAO version 0.0.30, released Sat Nov 15 01:33:08 1997.
Fri Nov 14 19:45:01 1997 Sergio Flores <sergio@polka.cs.wustl.edu>
* tests/Cubit/TAO/DII_Cubit/clnt.cpp :
* tests/Cubit/TAO/DII_Cubit/clnt.h :
* tests/Cubit/TAO/IDL_Cubit/clnt.cpp :
- Fixed the difference in latency problem from DII and IDL.
- Changed the DII_Cubit client interface to be similar to IDL, now
you can specify hostname and port number, instead of the IOR.
Fri Nov 14 17:48:14 1997 Carlos O'Ryan <coryan@macarena.cs.wustl.edu>
* orbsvcs/bin/Naming_Service/CosNaming_i.cpp:
Fixed problem with the new Environment parameter for _narrow ().
* orbsvcs/bin/Naming_Service/Makefile:
No need to include rules.bin.GNU.
Fri Nov 14 17:08:20 1997 Douglas C. Schmidt <schmidt@flamenco.cs.wustl.edu>
* tao/iiopobj.cpp: Make sure that host is set to 0 in all the
constructors.
* tao/iiopobj.cpp (Profile): Modified the code to consistently
store a NUL at the end of each object key string.
Fri Nov 14 17:10:20 1997 Sumedh Mungee <sumedh@lindy.cs.wustl.edu>
* cubit_i.cpp: Changed &d to %d in ACE_ERROR
Fri Nov 14 16:42:21 1997 Chris Cleeland <cleeland@tango.cs.wustl.edu>
* tao/tao_internals.cpp (fake_service_entries_i): Made sure that
the resource factory faked entry had the proper number of
arguments specified.
Fri Nov 14 14:11:47 1997 Carlos O'Ryan <coryan@macarena.cs.wustl.edu>
* orbsvcs/lib/Makefile:
Added new library that contains the stubs and skeletons for the
TAO services.
* orbsvcs/Makefile:
* orbsvcs/bin/Makefile:
* orbsvcs/tests/Makefile:
Added top level Makefiles.
* orbsvcs/bin/Naming_Service/Makefile:
* orbsvcs/bin/Naming_Service/svr.cpp:
* orbsvcs/bin/Naming_Service/svc.conf:
* orbsvcs/bin/Naming_Service/NS_CosNaming.h:
* orbsvcs/bin/Naming_Service/NS_CosNaming.cpp:
* orbsvcs/bin/Naming_Service/CosNaming_i.h:
* orbsvcs/bin/Naming_Service/CosNaming_i.cpp:
Moved the naming service implementation from the TAO
subdirectory to this place.
* orbsvcs/tests/Simple_Naming/Makefile:
* orbsvcs/tests/Simple_Naming/svc.conf:
* orbsvcs/tests/Simple_Naming/clnt.h:
* orbsvcs/tests/Simple_Naming/clnt.cpp:
A simple test program for the naming service, it simply tries to
locate it and connect to it.
* orbsvcs/bin/Naming_Service/Orbix/Client.cpp:
* orbsvcs/bin/Naming_Service/Orbix/CosNaming.idl:
* orbsvcs/bin/Naming_Service/Orbix/Makefile:
* orbsvcs/bin/Naming_Service/Orbix/NS_CosNaming.cpp:
* orbsvcs/bin/Naming_Service/Orbix/NS_CosNaming.h:
* orbsvcs/bin/Naming_Service/Orbix/logger-main.cpp:
* orbsvcs/bin/Naming_Service/Orbix/logger.idl:
* orbsvcs/bin/Naming_Service/Orbix/logger_tie.cpp:
* orbsvcs/bin/Naming_Service/Orbix/logger_tie.h:
* orbsvcs/bin/Naming_Service/Orbix/server-main.cpp:
* orbsvcs/bin/Naming_Service/TAO/CosNaming.idl:
* orbsvcs/bin/Naming_Service/TAO/CosNaming_i.cpp:
* orbsvcs/bin/Naming_Service/TAO/CosNaming_i.h:
* orbsvcs/bin/Naming_Service/TAO/Makefile:
* orbsvcs/bin/Naming_Service/TAO/NS_CosNaming.cpp:
* orbsvcs/bin/Naming_Service/TAO/NS_CosNaming.h:
* orbsvcs/bin/Naming_Service/TAO/clnt.cpp:
* orbsvcs/bin/Naming_Service/TAO/clnt.h:
* orbsvcs/bin/Naming_Service/TAO/svc.conf:
* orbsvcs/bin/Naming_Service/TAO/svr.cpp:
We will only maintain the TAO version for the naming service, no
need to keep this subdirectories.
* orbsvcs/lib/RtecScheduler.idl:
The Real Time Scheduling Service. This module declares the QoS
structures (RT_Info) and the interface for the global scheduler.
* orbsvcs/lib/RtecEventComm.idl:
Part of the Real Time Event Services interface, this file
contains the Event type, the basic interfaces for consumers and
suppliers and some exceptions.
* orbsvcs/lib/RtecEventChannelAdmin.idl:
Part of the Real Time Event Services interface, in particular
this module defines the event channel, the proxy interfaces and
the QoS aware subscription and registration interfaces.
* orbsvcs/lib/Event_Service_Constants.h:
The Event Service implementation and the Scheduling Service
implementation require this file, which defines some constants
and static limits. For lack of a better place I putted it here.
* orbsvcs/lib/CosNaming.idl:
Moved the IDL file to the library, otherwise it cannot be used
by clients.
* tao/corba.h:
Added some macros that support portable exception handling,
either through C++ exceptions or the CORBA::Enviroment
parameter.
* orbsvcs/lib/RtecEventCommC.h:
* orbsvcs/lib/RtecEventCommC.i:
* orbsvcs/lib/RtecEventCommC.cpp:
* orbsvcs/lib/RtecEventCommS.h:
* orbsvcs/lib/RtecEventCommS.i:
* orbsvcs/lib/RtecEventCommS.cpp:
* orbsvcs/lib/RtecEventChannelAdminS.h:
* orbsvcs/lib/RtecEventChannelAdminS.i:
* orbsvcs/lib/RtecEventChannelAdminS.cpp:
* orbsvcs/lib/RtecEventChannelAdminC.h:
* orbsvcs/lib/RtecEventChannelAdminC.i:
* orbsvcs/lib/RtecEventChannelAdminC.cpp:
* orbsvcs/lib/CosNamingC.h:
* orbsvcs/lib/CosNamingC.i:
* orbsvcs/lib/CosNamingC.cpp:
* orbsvcs/lib/CosNamingS.h:
* orbsvcs/lib/CosNamingS.i:
* orbsvcs/lib/CosNamingS.cpp:
I had to modify the IDL compiler generated files, I will keep
the files in CVS until we no longer need to modify it.
Fri Nov 14 13:02:52 1997 Aniruddha Gokhale <gokhale@mambo.cs.wustl.edu>
* tao/decode.cpp: TAO_Marshal_Objref::decode line 615 which tried
to set the underlying object_addr was invoking an incorrect inline
function because of lack of passing an argument to the object_addr
() method. Specifically, due to the lask of argment, the
"retrieve" method was getting called whereas we wanted the "set"
method. All we do is pass a 0 (NUL) argument. This suffices
because we have already decoded the host and port number. So all
information is with us to set the server address.
Fri Nov 14 00:29:09 1997 David L. Levine <levine@cs.wustl.edu>
* TAO_IDL/fe/lex.yy.cpp: set RCS -ko option so that the Id keyword
won't get expanded on checkout. That was causing CVS to think
that a merge was needed.
Thu Nov 13 19:11:36 1997 Douglas C. Schmidt <schmidt@flamenco.cs.wustl.edu>
* tao/giop.cpp (start): Updated the code to use the new
object_addr() style.
* tao/iiopobj: Added many fixes to the Profile code to fix nasty
bugs. Also, renamed {get|set}_object_addr() to simply
object_addr(), which is the correct style.
* tao/iiopobj.h: Replaced the use of "localhost" with
ACE_DEFAULT_SERVER_HOST. This is necessary to support broken
platforms like MVS that don't support "localhost"...
* TAO/tests/Cubit/TAO/IDL_Cubit/svr.cpp (parse_args): Assume for
the moment that any arguments starting with `-O' are `-ORB' or
`-OA'. This should be fixed by having the ORB_init() and
POA_init() methods consume their argv/argc's.
Thu Nov 13 16:18:32 1997 <nw1@CHA-CHA>
* tao/orb_core.h:
* tao/default_client.h:
* tao/default_server.h: Changed ACE_SVC_FACTORY_DECLARE to
ACE_FACTORY_DECLARE.
* tao/orb_core.cpp:
* tao/default_client.cpp:
* tao/default_server.cpp: Changed ACE_SVC_FACTORY_DEFINE to
ACE_FACTORY_DEFINE.
* tao/corba.h: Added include "tao/tao_internals.h".
* tao/tao_internals.h: Disable header file inclusions. I've put
this file into corba.h.
* tao/tao_internals.cpp: Changed to use "tao/corba.h".
* tao/TAO.mak:
* tao/TAO.dsp: Replaced ACE_BUILD_SVC_DLL with TAO_BUILD_DLL.
* tao/corba.h: Added TAO_Export definition.
* tao/*.h: Replaced ACE_Svc_Export with TAO_Export. Added
default definition to build TAO DLL on Win32.
Thu Nov 13 01:47:02 1997 Chris Cleeland <cleeland@macarena.cs.wustl.edu>
* tao/iiopobj.cpp (IIOP_Object): Removed the duplicate CTORs that
I'd accidentally included here during the prior merge/commit
phase.
Wed Nov 12 23:59:29 1997 <nw1@COYOTE>
* TAO/TAO_IDL/tao_idl.dsp: Changed to generate multithreaded codes
on NT.
* TAO/TAO_IDL/be/be_scope.cpp:
* TAO/TAO_IDL/fe/idl.ll:
* TAO/TAO_IDL/fe/lex.yy.cpp:
* TAO/TAO_IDL/fe/y.tab.cpp:
* TAO/TAO_IDL/include/ast_decl.h:
* TAO/TAO_IDL/include/idl.h:
* TAO/TAO_IDL/include/utl_identifier.h:
* TAO/TAO_IDL/include/utl_idlist.h:
* TAO/TAO_IDL/include/utl_tmpl/utl_decllist.h:
* TAO/TAO_IDL/include/utl_tmpl/utl_exceptlist.h:
* TAO/TAO_IDL/include/utl_tmpl/utl_exprlist.h:
* TAO/TAO_IDL/include/utl_tmpl/utl_idlist.h:
* TAO/TAO_IDL/include/utl_tmpl/utl_labellist.h:
* TAO/TAO_IDL/include/utl_tmpl/utl_namelist.h:
* TAO/TAO_IDL/include/utl_tmpl/utl_strlist.h: Changed to use
"ace/stdcpp.h" and removed inclusion of header files that
conflict with standard C++ library.
Wed Nov 12 18:59:20 1997 Chris Cleeland <cleeland@cs.wustl.edu>
* tao/iioporb.cpp: Added call to set object address in Profile.
* tao/iiopobj.cpp: Corrected code in the copy CTOR where the host
was being copied over the old host. This could prove bad if the
amount of space allocated previously was too small for the
hostname we're copying in. Ideally we'd use something smarter
than this, but hopefully (if you read the comment below) this will
go away soon.
* tao/iiopobj.*: Added an ACE_INET_Addr to IIOP::Profile so that
we only need to do a gethostbyname() once. After that we can used
the cached information. I'd really like to remove the host/port
as explicit public data members, but for now we take one step at a
time.
* tao/giop.cpp: Use the IIOP::Profile object address when making a
connection.
* tao/decode.cpp: Added code to set the object address in the
Profile when an object ref is decoded.
* tao/debug.h: Removed old questions in comments.
* tao/connect.h: Added some documentation.
Wed Nov 12 17:41:02 1997 Aniruddha Gokhale <gokhale@mambo.cs.wustl.edu>
* tao/iiopobj.cpp: I had forgotten to update the return type of
_get_name in iiopobj.cpp to "char *" instead of "const char *".
Wed Nov 12 14:28:48 1997 Aniruddha Gokhale <gokhale@mambo.cs.wustl.edu>
* TAO_IDL/ast/ast_union.cpp: Fixed a problem where the front end
would not give any error if there were duplicate case labels. This
was happening since an overloaded == operator taking an
AST_Expression* was not getting called. Instead a simple
comparison of addresses was taking place. We now use the "compare"
method defined on the AST_Expression class to fix this problem.
* TAO_IDL/be/be_interface.cpp: Removed some code under #if 0. The
noteworthy change, however, has to do with code that gets
generated for the "_is_a_skel". Some compilers were issuing a
warning saying "unused argument obj". Since we cannot change the
signature of the generated "_is_a_skel", we use the trick of
generatung ACE_UNUSED_ARG (obj); in the code. Some other
formatting changes made.
* TAO_IDL/be/be_operation.cpp: Some very minor changes so that the
generated code is properly indented.
* tao/{iiopobj,object,stub}.h, iiopobj.cpp: Changed the return
type of _get_name to return a heap-allocated "char *". In the
earlier case we were erroneously returning a pointer to local
array. This was a change I made a couple of days back to deal with
the fact that object keys are octet arrays and are not null
terminated. Now we take the object key and make a NULL terminated
copy in a heap allocated string. It is the caller's responsibility
to free this.
* tao/tests/Cubit/TAO/IDL_Cubit/cubit_i.cpp: Used string_free to
free the string returned by _get_name.
* tao/tests/Thruput/client.cpp: _narrow now uses the additional
env parameter.
Wed Nov 12 09:22:47 1997 David L. Levine <levine@cs.wustl.edu>
* tao/tao_internals.cpp (open_services): added ACE_UNUSED_ARGs
for argc and argv if TAO_PLATFORM_SVC_CONF_FILE_NOTSUP.
* TAO_IDL/Makefile: disabled clean and realclean targets on VxWorks,
so that they don't remove tao_idl from the host build tree.
Tue Nov 11 23:50:06 1997 Douglas C. Schmidt <schmidt@cs.wustl.edu>
* TAO version 0.0.29, released Tue Nov 11 23:50:06 1997.
Tue Nov 11 20:45:26 1997 Douglas C. Schmidt <schmidt@macarena.cs.wustl.edu>
* tao/default_server.cpp (parse_args): Replaced NULL with 0.
* tao/corbacom.h: Fixed the macro for TAO_SYSTEM_EXCEPTION so
compilers don't whine about extra semi-colons.
* tao/iioporb.cpp (iiop_string_to_object): Added a cast of (char
*) 0 to disambiguate one of the methods.
* tao/iiopobj.cpp: Moved the constructors and destructors of
IIOP_Object from the *.i file to the *.cpp file and made them
non-inline.
Tue Nov 11 18:19:16 1997 Aniruddha Gokhale <gokhale@mambo.cs.wustl.edu>
* tao/iiopobj.{h,cpp}: Added two new constructors one of which is
useful for the _bind call generated by the IDL compiler. This
constructor takes the host name, port number, and key value
thereby avoiding the costly string2object call inside the _bind
method. The second constructor is used to reduce the amount of
code that gets generated to set a IIOP_Object in the constructor
of the skeleton class.
Additionally, these constructors use the REENTRANT get_host_name
method of the INET_Addr class to retrieve the host name.
* tao/iiopobj.h,stub.h: Modified the signature of _get_name to
return a const char*. So users will have to copy this value.
* tao/iiopobj.cpp: The method _get_name uses an internal character
array in which the object key is copied. This is necessary so that
we can NULL terminate the opaque key and return it to the user.
* tao/orbconf.h,cdr.h: Commented (and will eventually remove) the
defintion of MY_BYTE_SEX from cdr.h. Instead, we now use the macro
TAO_ENCAP_BYTE_ORDER which gets defined in orbconf.h. The files
affected due to this renaming are:
tao/{iioporb.cpp, giop.cpp, except.cpp, cdr.cpp, encode.cpp,
interp.cpp, tc_const.cpp}
The following files in the IDL compiler source were affected since
they had to generate TAO_ENCAP_BYTE_ORDER instead of MY_BYTE_SEX.
TAO_IDL/be/{be_array,be_enum,be_interface,be_sequence,be_structure,
be_union}.cpp
* tao/{typecode,decode}.cpp: some reformatting, indentation.
* TAO_IDL/be/be_interface.cpp: code generated for _bind uses the
newly added constructor to class IIOP_Object.
* TAO_IDL/be/{be_interface.be_state}.cpp: Code generated for
_narrow now takes an additional CORBA::Environment parameter.
* tests/Cubit/TAO/IDL_Cubit: cubit_i.cpp - in the method
make_cubit, we make a copy of the string returned by _get_name and
then free that memory.
clnt.cpp: The tests for unions have been uncommented. The reason
they were not working and resulting in seg fault was that methods
of the cubit interface were being invoked on the factory object.
Tue Nov 11 10:07:04 1997 David L. Levine <levine@cs.wustl.edu>
* tests/Cubit/TAO/DII_Cubit/Makefile: added missing $ before (VAR)
in VBIN definition.
* tao/orbconf.h: added __i386 to TAO_WORDS_BIGENDIAN check,
because that's what g++/VxWorks uses. Also added __alpha
to little endian CPUs.
* tao/orb_core.i: fixed preprocessor test for using the
ACE_Hash_Addr<ACE_INET_Addr>::hash_i specialization.
Tue Nov 11 04:22:44 1997 Douglas C. Schmidt <schmidt@cs.wustl.edu>
* TAO version 0.0.28, released Tue Nov 11 04:22:44 1997.
Tue Nov 11 01:16:07 1997 Douglas C. Schmidt <schmidt@tango.cs.wustl.edu>
* tao/orbobj.cpp (resolve_name_service): Reformatted the
multicast Name Service locator just a bit.
* tao/orbconf.h: Started putting a more sane way of automatically
determining the size of various datatypes into TAO.
Tue Nov 11 00:36:39 1997 Sergio Flores <sergio@macarena.cs.wustl.edu>
* orbsvcs/bin/Logger/ior_multicast.h:
* orbsvcs/bin/Logger/ior_multicast.cpp:
* orbsvcs/bin/Logger/clnt.cpp:
* orbsvcs/bin/Logger/clnt.cpp:
* orbsvcs/bin/Logger/svr.cpp:
* orbsvcs/bin/Logger/Makefile:
Added multicast resolution of the logger service example.
Tue Nov 11 00:36:39 1997 Sergio Flores <sergio@macarena.cs.wustl.edu>
* tao/orbobj.cpp (resolve_name_service): changed macro for default
multicast port.
- Added support for multicast mechanism to resolve the name
service.
* tao/orbconf.h: Added some definitions for TAO's default
multicast and reply port, and the default timeout value.
Tue Nov 11 00:00:25 1997 David L. Levine <levine@cs.wustl.edu>
* tests/Cubit/TAO/IDL_Cubit/Makefile: removed MUNCHED because
it's no longer needed for g++/VxWorks.
Mon Nov 10 22:02:42 1997 Douglas C. Schmidt <schmidt@macarena.cs.wustl.edu>
* tao/interp.cpp (declare_entry): Moved TAO_ALIGNMENT_MAGIC_NUMBER
to orbconf.h instead of burying it in interp.cpp.
* tao/corbacom.h: Rather than trying to guess what the size of
wchar_t, let's just use what's in ACE.
Mon Nov 10 19:26:03 1997 Sumedh Mungee <sumedh@lindy.cs.wustl.edu>
* tao/orbconf.h (SIZEOF_INT): FreeBSD and NetBSD have 4 byte
ints. Thanks to Nanbor for pointing this out.
* tao/orbobj.cpp: Added template instantiation for ACE_Atomic_Op.
* tao/orbconf.h: NetBSD has a long double of size 12, as does
FreeBSD. Fixed SIZEOF_LONG_DOUBLE to fix this.
* tests/Cubit/TAO/MT_Cubit/server/svr.cpp (main): Removed cerr's
and replaced them with ACE_ERROR_RETURN's and the like.
Mon Nov 10 01:25:19 1997 <nw1@COYOTE>
* tao/giop.h: Added ACE_Svc_Export to classes
(TAO_GIOP_Request_Header, TAO_GIOP_Invocation, TAO_GIOP.) Some
of them may not be necessary.
Mon Nov 10 00:09:24 1997 Douglas C. Schmidt <schmidt@cs.wustl.edu>
* TAO version 0.0.27, released Mon Nov 10 00:09:24 1997.
Sun Nov 09 23:43:04 1997 <irfan@TWOSTEP>
* tao/corba.h: Reordered the inclusion of poa.i, giop.i,
iioporb.i, and iiopobj.i
* tao/tao_internals.cpp (close_services): Fixed typo.
Sun Nov 09 23:32:58 1997 Douglas C. Schmidt <schmidt@cs.wustl.edu>
* TAO version 0.0.26, released Sun Nov 09 23:32:58 1997.
Sun Nov 09 22:04:12 1997 <irfan@TWOSTEP>
* tao/orbobj.cpp (ORB_init):
* tao/tao_internals.cpp (close_services):
Changed ACE_Recursive_Thread_Mutex to ACE_SYNCH_RECURSIVE_MUTEX.
Sun Nov 9 16:05:56 1997 Sergio Flores <sergio@macarena.cs.wustl.edu>
* tests/Cubit/TAO/DII_Cubit/clnt.cpp: *
tests/Cubit/TAO/DII_Cubit/clnt.h: Added clnt.h and restructured
the code so it is similar to the IDL_Cubit example. It doesn't,
however, have the same options because the DII example uses an ior
as input.
* tao/debug.cpp: Added dummy function to get rid of
"'debug_stream' defined but not used" warning.
Sun Nov 9 13:03:37 1997 Douglas C. Schmidt <schmidt@macarena.cs.wustl.edu>
* tao: Removed the svc.conf.eg file since it was out of date.
* tao/svrrqst: Removed the #include for svrrqst.i since we don't
need any inline functions now.
* tao/tao_internals: Removed the #include for tao_internals.i
since we don't need any inline functions now.
* tao/varout.h: Cleaned up the programming style.
* tao: Continued to replace all fields with names _foo to foo_.
* tao/iioporb.cpp: Move the hex routines into ACE since they are
more general.
* tao/iioporb.cpp: Removed the inclusion of iioporb.i since it is
already included in corba.h.
* tao: Replaced all uses of ACE_Thread_Mutex with ACE_SYNCH_MUTEX
since this is portable...
* tao/iiopobj.cpp: Removed the inclusion of iiopobj.i since it is
already included in corba.h.
* tao/giop.cpp: Moved several large inlined methods into the *.cpp
file.
* tao/giop: Removed the enormous (and unused) incoming_message()
method.
* tao/giop.cpp: Removed the inclusion of giop.i since that is
handled in corba.h.
* tao: Removed the factories.i and factories.cpp files since they
don't seem to be used by anything.
* tao/{corbacom,except}.*: Changed SYSEX to the more politically
correct TAO_SYSTEM_EXCEPTION.
* tao: Replaced all uses of wslen() and wscpy() with the
corresponding ACE_OS wide string functions.
* tao/orbconf.h: Removed all the HAVE_WIDEC_H stuff. This should
be handed by ACE.
* tao/connect.i: Removed the template instantiations since they
were commented out and didn't appear to be used.
* tao/connect.cpp: connect.i was already being included in corba.h,
so don't include it again.
* tao/client_factory.cpp: Moved inlined constructor/destructor
from the *.i file into the *.cpp file.
* tao/cdr.cpp (CDR): Moved a bunch of absurdly long inlined methods
from the *.i file into the *.cpp file.
* tao/any.cpp (CORBA_Any): refcount_ has previously been
uninitialized. I gave it a value of 1.
* tao/any.cpp (CORBA_Any): Moved the initialization into the
base/member section, where it belongs.
* tao/any.h: Corrected a spelling mistake in an enumeral and
upper-cased the minor codes for exceptional returns. Are these
actually used anywhere?
* tao: Removed all the unnecessary #if 0 ... #endif header files.
I don't know why there were still there.
* tao/except.h: Moved the #ifdef for minor and major into
orbconf.h, where they belong.
* tao/orbconf.h: Removed all the DECLARED_* macros since they
no longer made sense once we've got ACE.
* tao/orbconf.h: Moved the TAO_DEFAULT* macros from ace/OS.h
here, which is more where they belong.
* tao/default_server.cpp (TAO_Default_Server_Strategy_Factory):
* tao/{debug.h,orbconf.h}: Removed the DECLARED_STRERROR macro
since ACE handles this.
Sun Nov 09 10:18:06 1997 David L. Levine <levine@cs.wustl.edu>
* tao/connect.cpp: fixed RCS keyword (Id instead of id).
Sat Nov 08 23:23:41 1997 Douglas C. Schmidt <schmidt@cs.wustl.edu>
* TAO version 0.0.25, released Sat Nov 08 23:23:41 1997.
Sat Nov 8 21:27:34 1997 Douglas C. Schmidt <schmidt@macarena.cs.wustl.edu>
* tao/orb_core.cpp (init): Removed the code that always binded us
to our hostname. This is unnecessary and makes it hard to use
other interfaces on the same host (such as localhost or some ATM
interface, etc.). With this change (and the corresponding
changes to ACE_INET_Addr::get_host_name()), we can now bind to
INADDR_ANY.
* docs/releasenotes: Added Marina's documentation for the Trader
and cleaned up all the other entries to make them consistent.
* tao: Changed ProfileBody to Profile, TaggedProfile to
Tagged_Profile, ProfileSeq to Profile_Sequence, and ProfileId to
Profile_ID.
* tao/iiopobj.cpp (ProfileBody): For some god knows why reason,
the CORBA::String and CORBA::UShort parameters to ProfileBody
where being passed as references. This is silly, so I changed
them to non-references.
* tao/connect.cpp (open),
tao/poa.cpp (create): Replaced a use of
ACE_INET_Addr::get_host_name(void) with
ACE_INET_Addr::get_host_name (char *, size_t), which is
reentrant.
* tao/Makefile: Removed the DCFLAGS, OCFLAGS, and the TAO_ORB_CORE
target macros from the Makefile since they were unnecessary.
Thanks to Arturo for reporting this.
* tao/except.cpp (print_exception): Fixed a strange format code in
print_exception that was causing a seg fault. What the heck
does %#lx mean? Thanks to Mark L Boriack <mark@vtcibm4a> for
reporting this.
Fri Nov 07 21:23:35 1997 Carlos O'Ryan <coryan@MILONGA>
* tao/orb_core.h:
* tao/marshal.h:
* tao/corbacom.h:
Added ACE_Svc_Export to some classes.
* tao/any.cpp:
Removed delete after DEEP_FREE call, it crashes on NT and it
should be unneeded.
* TAO_IDL/be/be_state.cpp (gen_code):
When generating arguments for the server header don't use nested
types. The fully qualified type name is needed, even on NT.
* TAO_IDL/be/be_exception.cpp:
Added code to generate a default constructor.
Fri Nov 07 17:26:49 1997 <nw1@CHA-CHA>
* tao/TAO.dsp:
* tests/Cubit/TAO/DII_Cubit/{client,server}.dsp:
* tests/Cubit/TAO/IDL_Cubit/{client,server}.dsp:
* tests/Cubit/TAO/MT_Cubit/client/client.dsp: Removed
ACE_HAS_TSS_ORB_CORE flag.
* tests/Cubit/TAO/MT_Cubit/client/client.cpp (main): Added a
return statement to satisfy MSVC.
Fri Nov 7 18:20:46 1997 Chris Cleeland <cleeland@cs.wustl.edu>
* tests/Cubit/TAO/MT_Cubit/{client,server}/svc.conf: Updated to
reflect the proper combination of options to achieve the
thread-per-ORB-per-rate concurrency model.
* docs/components.html: Updated to refer to seminal documentation
referred to below.
* docs/configurations.html: Started some new documentation. It's
got a ways to go right now. :-)
Fri Nov 07 15:42:45 1997 David L. Levine <levine@cs.wustl.edu>
* tao/default_server.cpp (parse_args): check for 0 argv[curarg]
before calling strcmp on it.
* tests/Cubit/TAO/IDL_Cubit/Makefile: added MUNCHED for
VxWorks/g++.
Fri Nov 7 10:30:59 1997 Chris Cleeland <cleeland@cs.wustl.edu>
* tao/tao_internals.cpp (fake_service_entries_i): Updated faked
service entries to include new Resource Factory. This is the
fallback for VxWorks.
* tao/orb_core.h (TAO_Resource_Factory): Added much comments.
Fri Nov 07 02:45:56 1997 Douglas C. Schmidt <schmidt@cs.wustl.edu>
* TAO version 0.0.24, released Fri Nov 07 02:45:56 1997.
Fri Nov 7 01:58:30 1997 Nanbor Wang <nw1@coyote.wolfpack.cs.wustl.edu>
* TAO_IDL/driver/drv_preproc.cpp:
* TAO_IDL/driver/drv_fork.cpp: Added the (__FreeBSD__) flag to
correctly include wait.h file.
* tao/orb_core.cpp: Replaced ACE_NETBSD with ACE_HAS_THREADS in
template instantiation segment.
* tao/orbconf.h: Added the (__FreeBSD__) flag to exclude inclusion of
widec.h.
* tao/orbobj.cpp (Release): Wrapped ACE_GUARD with ACE_MT macro.
Fri Nov 07 01:46:04 1997 <irfan@TWOSTEP>
* tests/Cubit/TAO/DII_Cubit/(cubitC.cpp, cubit.cpp): Byte order
changed from 1 to MY_BYTE_SEX.
Thu Nov 6 23:59:45 1997 Douglas C. Schmidt <schmidt@macarena.cs.wustl.edu>
* tao/params.cpp: Moved all the inlined methods out of the header
file and put them in the *.cpp file. I hope this doesn't cause
problems for GCC on VxWorks.
* tests/Thruput_test/client.cpp: Fixed a mistake with how
the long string constant was defined. The scheme being
used wasn't portable.
Thu Nov 06 20:58:52 1997 <irfan@TWOSTEP>
* tao/connect.cpp: Made sure that TAO_Server_Connection_Handler
and TAO_Client_Connection_Handler have a zero Reactor pointer.
If this is not the case, they will try to deregister from a
sometimes non-existent Reactor.
Thu Nov 6 19:06:59 1997 Sergio Flores <sergio@polka.cs.wustl.edu>
* docs/releasenotes/index.html: Updated status of Naming Service
port to TAO.
* TAO_IDL/be/be_exception.cpp (gen_client_header):
removed warning for unused variable.
Thu Nov 6 17:07:58 1997 Chris Cleeland <cleeland@cs.wustl.edu>
* tao/tao_internals.i: Added missing #include file.
* tao/tao_internals.i: Change lock used as monitor for service
count to use ACE_Static_Object_Lock::instance(). This pleases
VxWorks (but makes me nauseous).
* tao/tao_internals.h: Removed static instances of locks to please
VxWorks.
* tao/orbobj.cpp (ORB_init): Changed lock used for the monitor
here to be ACE_Static_Object_Lock::instance(). This pleases
VxWorks (but makes me nauseous).
* tao/orb_core.cpp (init): Merged in changes for new Naming
Service-related options that got accidentally overwritten last
night.
* docs/Options.html: Added documentation for new Naming
Service-related options in.
* tao/orbobj.h: Added documentation for a few static methods.
* tao/params.h: Changed LOCAL_INLINE macro to TAO_LOCAL_INLINE to
avoid possible collisions with application macros.
Thu Nov 6 14:51:22 1997 Sumedh Mungee <sumedh@lindy.cs.wustl.edu>
* TAO_IDL/Makefile: Renamed libutil to libtao_idl_util. libutil is
a system library on NetBSD. Updated TAO_IDL/util/Makefile to be
compatible with this.
* TAO_IDL/be/be_codegen.cpp (server_header): Changed ::toupper to
be toupper, since toupper is a macro on some platforms (like
netbsd).
* TAO_IDL/driver/{drv_preproc.cpp, drv_fork.cpp}: NetBSD has
sys/wait.h, instead of wait.h. Added #define to fix it.
Thu Nov 6 01:40:29 1997 Sumedh Mungee <sumedh@macarena.cs.wustl.edu>
* tao/tao_internals.h: #defined ACE_Thread_Mutex to be
ACE_Null_Mutex for NetBSD.
* tao/orbconf.h: Added NetBSD to the #define around HAVE_WIDEC_H.
* tao/orb_core.cpp: #defined around some thread-specific template
instantiations which are not needed on NetBSD.
* tao/except.h: Undefined "minor" and "major, since these are
defined in NetBSD.
Thu Nov 06 14:47:15 1997 David L. Levine <levine@cs.wustl.edu>
* tao/params.[hi]: inlined some functions in the class declaration
because g++ for VxWorks couldn't deal with them in the .i file.
* tao/tao_internals.*,orbobj.cpp: fixed replacement of orbinit_lock_
and service_lock_ with ACE_Static_Object_Lock::instance ().
Thu Nov 06 02:17:02 1997 Douglas C. Schmidt <schmidt@cs.wustl.edu>
* TAO version 0.0.23, released Thu Nov 06 02:17:02 1997.
Wed Nov 5 23:44:42 1997 Douglas C. Schmidt <schmidt@macarena.cs.wustl.edu>
* tao/{orbobj,iioporb}.h: Made the first parameter to
string_to_object() a const CORBA::String rather than just a
CORBA::String.
* tao/params (addr): Fixed a bug where we should have been using
const ACE_INET_Addr & rather than just ACE_INET_Addr &.
* tao/orbobj: Began adding the hooks for a multicast-based
implementation of resolve_initial_references().
* tao/params: Added a new set/get interface to optionally set/get
the IOR of the configured Naming Service.
* tao/orb_core.cpp (init): Added a -ORBnameservice command-line
option. If this option is given, it indicates the IOR where the
Naming Service resides.
* tao/params: Changed the signature of TAO_ORB_Parameters::addr()
to return a const ACE_INET_Addr & rather than an ACE_INET_Addr.
* tao/params: Added new get/set name_service_port() methods to
get/set the name service multicast port.
Wed Nov 5 22:38:08 1997 Sergio Flores <sergio@macarena.cs.wustl.edu>
* tests/Thruput_test/client.cpp (main):
* tests/Thruput_test/server.cpp (main): Fixed missing declarations
and unused variables and labels. Fixed uninitialized and unused
variables.
* tests/Thruput_test/ttcp_i.cpp (ttcp_sequence_i):
* tests/Thruput_test/ttcp_i.h (class ttcp_sequence_i): Change to
use POA.
* tests/Cubit/TAO/DII_Cubit/README (server): Changed comment on
how to start the server to indicate the use of "-d" to see the
IOR.
* tests/Cubit/TAO/IDL_Cubit/clnt.cpp (Cubit_Client): Reordered
member initializers to match declaration order
* tests/Cubit/TAO/DII_Cubit/svr.cpp (main): Fixed comparison of
">=" on an unsigned variable to compare only ">".
Wed Nov 05 20:35:52 1997 <irfan@TWOSTEP>
* tao/orb_core.cpp (fini): Close down the connector. Other
ORB_Core specific objects also need to be cleaned up (and
deleted).
* tests: Made sure that the orb pointer returned by ORB::init() is
correctly freed up. Following files were updated:
TAO/tests/Cubit/TAO/DII_Cubit/clnt.cpp
TAO/tests/Cubit/TAO/DII_Cubit/svr.cpp
TAO/tests/Cubit/TAO/IDL_Cubit/clnt.cpp
TAO/tests/Cubit/TAO/IDL_Cubit/clnt.h
TAO/tests/Cubit/TAO/IDL_Cubit/svr.cpp
TAO/tests/Cubit/TAO/MT_Cubit/client/Task_Client.cpp
TAO/tests/Cubit/TAO/MT_Cubit/server/svr.cpp
TAO/tests/Cubit/VisiBroker/base_server/server.cpp
Wed Nov 5 19:37:25 1997 Aniruddha Gokhale <gokhale@mambo.cs.wustl.edu>
* TAO_IDL compiler:
files be_array.cpp, be_interface.cpp, be_sequence.cpp,
be_structure.cpp, be_union.cpp, be_enum.cpp - Added MY_BYTE_SEX to
the typecode generation methods.
be_operation.cpp, be_argument.cpp, be_state.cpp, be_codegen.* -
Modified to deal with _out parameters that are passed to the
actual upcalls in the server-side skeleton.
Some minor changes involving removing commented-out code in the
constructors of some classes.
* tests/Thruput_test: Some modifications. Still needs more work
get it to run.
Wed Nov 05 19:26:44 1997 <nw1@COYOTE>
* tests/Cubit/TAO/DII_Cubit/DII_Cubit.dsp:
* tests/Cubit/TAO/IDL_Cubit/IDL_Cubit.dsp:
* tests/Cubit/TAO/MT_Cubit/client/client.dsp:
* tests/Cubit/TAO/MT_Cubit/server/server.dsp:
* tao/TAO.dsp: Renamed debeg version of TAO library to TAO.dll for
NT.
Wed Nov 05 13:39:19 1997 David L. Levine <levine@cs.wustl.edu>
* TAO_IDL/Makefile: more hacks to not build the IDL compiler
on VxWorks.
Wed Nov 05 12:53:53 1997 <irfan@TWOSTEP>
* tao/interp.cpp:
- Win32 does not use "fixed" byte alignment. Fixed the
setup_entry macro to take this into account.
- (declare_entry) Seperated the declaration of the structs from
their use. This is necessary for the VC++4.2 compiler.
* tests/Cubit/TAO/DII_Cubit/svr.cpp (main): Commented out debug
message, since obj is not declared.
Wed Nov 05 01:41:34 1997 Douglas C. Schmidt <schmidt@cs.wustl.edu>
* TAO version 0.0.22, released Wed Nov 05 01:41:34 1997.
Wed Nov 5 00:48:58 1997 Sergio Flores <sergio@macarena.cs.wustl.edu>
* tests/Thruput_test/utils.cpp: Delete static definitions of
functions.
* tests/Thruput_test/ttcpS.cpp:
* tests/Thruput_test/ttcpC.cpp (_duplicate):
* tests/Thruput_test/client.cpp (main):
* tests/Thruput_test/ttcp_i.cpp (sendStructSeq):
* tests/Cubit/TAO/DII_Cubit/clnt.cpp:
* tests/Cubit/TAO/DII_Cubit/svr.cpp: Removed a couple of warnings
of unused and uninitialized variables. Included "ace/ACE.h" to
be able to have the _REENTRANT flag.
Wed Nov 5 00:18:17 1997 Aniruddha Gokhale <gokhale@mambo.cs.wustl.edu>
* TAO_IDL/be/be_sequence.cpp: Added code to generate the missing
operator [] for sequences.
Tue Nov 4 23:38:54 1997 Sumedh Mungee <sumedh@macarena.cs.wustl.edu>
* tests/Cubit/TAO/MT_Cubit/{server,client}/Makefile: Removed the
(evil) TAO_HAS_TSS_ORB_CORE flag. Now this functionality is
provided by svc.conf.
* tests/Cubit/TAO/MT_Cubit/: Fixed the server code to use the new
IDL compiler generated code.
* TAO/tests/Cubit/TAO/MT_Cubit/client/Task_Client.cpp: Changed the
order of the initializers to remove g++ warnings, and added some
ACE_UNUSED_ARGs. Also removed the hand-crafted stubs, to make way
for the idl-compiler generated files.
Tue Nov 4 23:21:29 1997 Sergio Flores <sergio@macarena.cs.wustl.edu>
* tests/Cubit/TAO/DII_Cubit/clnt.cpp (main):
* tests/Cubit/TAO/IDL_Cubit/clnt.cpp (run): Changed the format of the
output to be more readable. Also, fixed resolution of the time for
the cube_struct_dii() call.
Tue Nov 4 21:12:48 1997 Douglas C. Schmidt <schmidt@macarena.cs.wustl.edu>
* tao/except.h: Removed print_exception(). It seems unnecessary
and pollutes the global namespace.
Tue Nov 4 16:58:12 1997 Chris Cleeland <cleeland@cs.wustl.edu>
* {tests/Cubit/TAO/DII_Cubit,tests/Cubit/TAO/IDL_Cubit,
tests/Cubit/TAO/MT_Cubit,tests/Demux_Test,
tests/Thruput_test}/Makefile: Added an explicit definition for
VBIN so that VxWorks can build properly.
* tao/orb_core.*: Modified TAO_Resource_Factory so that it divides
the information that it tracks between pre-allocated resources and
resources which are allocated by the application. Specifically,
the orb and root poa pointers are in here (though it's possible
that when we move to a full POA implementation that the root poa
can be pre-allocated as well). These pointers are initialized to
zero and are given values by the TAO_ORB_Core instance writing
through back to the TAO_Resource_Factory instance.
Also, this implementation reduced the number of singletons/TSS
singletons utilized by the resource factory. The initial
"get-it-working" cut used a singleton/tss singleton pair for every
resource, which was quite wasteful in environments such as NT that
don't have many TSS slots available. Perhaps if we get even more
clever this can be reduced even further.
* tao/except.*: Added print_exception() function for backwards
compatibility. It simply calls
CORBA::Environment::print_exception().
Tue Nov 04 10:45:07 1997 <nw1@CHA-CHA>
* TAO_IDL/fe/y.tab.cpp: Enclosed a #pragma ident with #if !defined
ACE_WIN32. Compilers other than SunCC might also need this.
Tue Nov 4 13:47:26 1997 Aniruddha Gokhale <gokhale@mambo.cs.wustl.edu>
* TAO/tests/Cubit/TAO/MT_Cubit: Modified the Makefiles in the
client and server directory so that they use the TAO IDL
compiler. Also added the clean and realclean targets. Updated the
server side cubit.idl because it was different from what the
client was using.
* TAO_IDL compiler: Fixed the following problems
(1) Removed the extra call to Release in the generated _narrow
method in be_interface.cpp
(2) Used ACE_CORBA_1 (Object) instead of CORBA::Object in the
class declaration for interfaces - in be_interface.cpp
(3) be_interface_fwd.cpp - var_impl had to be updated to generate
code that uses the ptr () method in the calls to _duplicate
* TAO/tests/Cubit/TAO/IDL_Cubit: Fixed some outstanding issues and
made sure that it works. Updated the README file.
Tue Nov 04 09:48:51 1997 David L. Levine <levine@cs.wustl.edu>
* tao/orb_core.i: disabled the ACE_Hash_Addr<ACE_INET_Addr>::hash_i ()
template specialization on g++/VxWorks because g++
cygnus-2.7.2-960126 can't handle it.
* tao/except.h (line 118): removed backslash at end of comment line.
Some compilers complain about that.
* tao/except.cpp (CORBA_SystemException): reordered initializers to
match declaration order.
* TAO_IDL/Makefile: don't build the IDL compiler on VxWorks.
Tue Nov 04 06:26:14 1997 Carlos O'Ryan <coryan@MILONGA>
* TAO_IDL/be/be_state.cpp:
It still generated fully qualified names for some sequences,
that will not work on NT.
Tue Nov 04 05:32:44 1997 Douglas C. Schmidt <schmidt@cs.wustl.edu>
* TAO version 0.0.21, released Tue Nov 04 05:32:44 1997.
Tue Nov 4 04:42:17 1997 Sergio Flores <sergio@macarena.cs.wustl.edu>
* tests/Thruput_test/server.cpp:
* tests/Thruput_test/client.cpp:
* tests/Thruput_test/ttcpS.cpp:
Fixed "print_exception" errors and errors due to some changes in
the orb compiler.
* tests/Cubit/TAO/MT_Cubit/server/svr.cpp (svc): Use unsigned
int for variable that is used for positive comparisons only.
Tue Nov 04 01:00:51 1997 <nw1@COYOTE>
* tests/Cubit/TAO/IDL_Cubit/IDL_Cubit.dsw: Renamed former test.dsw
to IDL_Cubit.dsw.
* tests/Cubit/TAO/IDL_Cubit/{client,server}.dsp: Renamed
executables for debug version to client.exe and server.exe on
NT.
* tests/Cubit/TAO/DII_Cubit/DII_Cubit.dsw: Renamed former test.dsw
to DII_Cubit.dsw.
* tests/Cubit/TAO/DII_Cubit/{client,server}.dsp: Renamed
executables for debug version to client.exe and server.exe on
NT.
* tests/Cubit/TAO/IDL_Cubit/Cubit.mak: Added cubit.idl into
makefile and its custom build settings.
* tests/Cubit/TAO/MT_Cubit/MT_Cubit.dsw: Renamed former
MTCubit.dsw to MT_Cubit.dsw.
Mon Nov 03 23:16:06 1997 <nw1@COYOTE>
* TAO_IDL/ast/ast_expression.cpp (coerce_value): Added an explicit
cast (float) to avoid NT warnging messages.
* tests/Cubit/TAO/MT_Cubit/server/svr.cpp (svc): Removed
declaration of function print_exception. It's now a member
function of CORBA_Environment.
* TAO_IDL/fe/y.tab.cpp: Commented out include <values.h>. This
was causing compilation errors on NT.
* tests/Cubit/TAO/DII_Cubit/svr.cpp:
* tests/Cubit/TAO/DII_Cubit/clnt.cpp: Changed to use the new
CORBA_Environment::print_exception.
* tao/except.h (CORBA_Environment): Added ACE_Svc_Export to this
class.
* tests/Cubit/TAO/MT_Cubit/MTCubit.dsw:
* tests/Cubit/TAO/MT_Cubit/client/client.dsp:
* tests/Cubit/TAO/MT_Cubit/server/server.dsp:
* tests/Cubit/TAO/IDL_Cubit/client.dsp:
* tests/Cubit/TAO/IDL_Cubit/server.dsp:
* tests/Cubit/TAO/IDL_Cubit/test.dsw: Added new workspace and
project files.
* TAO_IDL/tao_idl.dsp: Moved the output executables to the usual
place.
* TAO_IDL/be/be.h: Added #ifdef'ed pragma to diable warning 4250
on NT. This is only temporary and should be fixed later.
* TAO_IDL/be/be_union.cpp (gen_var_defn):
* TAO_IDL/be/be_structure.cpp (gen_var_defn):
* TAO_IDL/be/be_array.cpp (gen_var_defn): Removed unused local
variables declaration (s).
Mon Nov 3 23:25:30 1997 Aniruddha Gokhale <gokhale@mambo.cs.wustl.edu>
* TAO_IDL Compiler: Files be_sequence.cpp, be_typedef.cpp,
be_state.cpp: Lots of improvements to get sequences to
work. Support for sequences of strings or obj references is
limited. But for all other cases, this seems to be working fine.
There were some unnecessary lines of code in be_state.cpp that
were giving rise to multiple declarations errors. These are
removed.
Mon Nov 3 18:30:09 1997 Sergio Flores <sergio@macarena.cs.wustl.edu>
* tests/Cubit/TAO/IDL_Cubit/clnt.cpp (main): compare with
"!= 0" rather than "== -1" for errors.
* tests/Cubit/TAO/IDL_Cubit/cubit.idl (enum discrim): Deleted
enumerations not used.
* tests/Cubit/TAO/IDL_Cubit/cubit_i.cpp (please_exit): Fixed
unused variable.
* tests/Cubit/TAO/IDL_Cubit/cubit_i.h (Cubit_Factory_i):
* tests/Cubit/TAO/IDL_Cubit/cubit_i.h (objrefs): Fixed invalid
comparison between a signed and unsigned variable.
* tests/Cubit/TAO/IDL_Cubit/svr.cpp (main): Fixed comparison of
">=" on an unsigned variable to compare only ">".
* TAO_IDL/be/be_typedef.cpp (gen_client_stubs): Removed unused
variable warning.
* TAO_IDL/fe/y.tab.cpp (yytoks): Added brackets to the array
of structures being initialized.
Mon Nov 03 18:43:37 1997 Carlos O'Ryan <coryan@MILONGA>
* TAO_IDL/be/be_operation.cpp:
"Fixed" skeleton generation code. Sometimes the formal parameter
names for the skeleton can clash with the user defined names for
the (IDL) method parameter names.
To minimize the chances of such a problem I choose very long
parameter names for the skeleton (things like <_tao_enviroment>
instead of just <env>), but the right solution is to ignore the
user defined parameter names and generate them using some
numbering scheme.
* TAO_IDL/be/be_predefined_type.cpp:
Generate CORBA::_tc_Object as the TypeCode for all pseudo
object, this is a hack but works for the files we are using
right now (maybe it will fail for complex things, like the
interface repository).
* TAO_IDL/be/be_sequence.cpp:
Fixed a number of minor problems:
Missing _ptr type for sequences.
The return type for T_var::operator-> was different in the
.h and .i file.
* TAO_IDL/be/be_type.cpp:
tc_name_ and type_name_ were not initialized, producing some
segfaults under NT.
Mon Nov 3 13:45:54 1997 Chris Cleeland <cleeland@cs.wustl.edu>
* {tao,TAO_IDL/util,TAO_IDL/narrow,TAO_IDL/fe,TAO_IDL/driver,
TAO_IDL/be,TAO_IDL/ast,Benchmark/benchmark}/Makefile (SHLIB):
Fixed definition so that the extension was $(SOEXT) rather than
hard-coded to "so". This makes things compile on VxWorks better.
Thanks to David Levine for pointing this out.
Sun Nov 02 19:42:08 1997 Douglas C. Schmidt <schmidt@cs.wustl.edu>
* TAO version 0.0.20, released Sun Nov 02 19:42:08 1997.
Sun Nov 2 19:20:57 1997 Aniruddha Gokhale <gokhale@mambo.cs.wustl.edu>
* TAO/tao/except.*: Made the "print_exception" utility function
as a method of class Environment.
* TAO/tao/giop.cpp: In the TAO_GIOP_Invocation::start method, we
were previously not returning even if the connection establishment
phase was failing. A return statement is inserted. However, there
still are problems when the GIOP_Invocation variable called "call"
goes out of scope.
* TAO_IDL Compiler: be_interface.cpp - The _bind call now
generates a "char IOR" instead of "static char IOR" since the
latter will be problematic with multiple threads. Thanks to
Arturo Montes <mitosys@colomsat.net.co> for pointing that out.
* TAO/test/Cubit/TAO/IDL_Cubit : Improved the code so that it uses
the "print_exception" which is now defined on class
CORBA::Environment. The clnt still needs improvement in terms of
handling invalid parameters and gracefully exiting.
* IDL_Compiler: The bug resulting out of encoding object
references has been fixed atleast on Solaris using g++ as well as
SunCC. Changes made to be_operation.cpp and be_state.cpp such that
the return value for object references is always of type
CORBA::Object_ptr rather than the real interface type. In
addition, keeping in perspective the change that Irfan made and
described below (in encode.cpp), the Any that holds the result
*does not* own the value. In contrast, for the rest of the cases
the result (of type Any) owns the result.
* be_sequence.cpp: Additional work in progress. Full changelog
entry will be available in the next commit.
Fri Oct 31 22:20:06 1997 <irfan@TWOSTEP>
* tao/encode.cpp (encode): Changed cast of data from
*(CORBA::Object_ptr *) to (CORBA::Object_ptr).
* tao/default_server.cpp (parse_args): Manipulation of curarg was
all messed up. Fixed it such that it was not incremented
unnecessarily.
Fri Oct 31 13:46:04 1997 Chris Cleeland <cleeland@cs.wustl.edu>
* docs/Options.html: Updated to specify new TAO_Resource_Factory
service and its options.
* docs/releasenotes/orbcore.html: Updated to reflect recent work.
* tao/orb_core.*: Added the acceptor and related members and
methods from CORBA_ORB. Made TAO_Resource_Factory a Service
Object so that it can be loaded via the Service Configurator. The
option to change its resources between global and thread-specific
is "-ORBresources global" and "-ORBresources tss", respectively.
* tao/orbobj.*: Moved the acceptor and related members and methods
to TAO_ORB_Core.
* tests/.../svc.conf: Added Resource Factory as a service.
* tests/Cubit/TAO/{DII_Cubit,MT_Cubit}/cubitS.cpp,
tests/Thruput_test/ttcpS.cpp, tao/poa.cpp: Changed acceses that
used to go to CORBA_ORB::params() to go to TAO_ORB_Core::params().
Fri Oct 31 08:39:54 1997 Aniruddha Gokhale <gokhale@mambo.cs.wustl.edu>
* TAO_IDL Compiler - Intermediate commit of all improved features.
* be/be_type.* : Improved the nested_type_name method such that it
now takes an additional parameter called suffix that has a default
value of NULL. Carlos, Sergio, and myself independently found an
extremely bad piece of code that was getting generated that looked
like the following:
ACE_NESTED_CLASS (XXXX, YYYY)_ptr
The new convention is to pass the suffix such as "_ptr", or "_var"
or "_out" to this method so that it can generate valid code of the
form:
ACE_NESTED_CLASS (XXXX, YYYY_ptr)
* be/be_decl.cpp : All the methods such as repoID (), flatname
(), etc now check if the corresponding data member was created or
not. If they are not, the corresponding private method e.g.,
compute_repoID (), are invoked. This way we do not have to call
all these private methods in the constructors of all the derived
be classes. The one compelling reason to do it this way is because
the "names" for certain types are not available at construction
time, e.g., sequences. A name to a sequence is assigned from the
context it is in i.e., whether it was a named sequence in the form
of a "typedef" statement or it was an anonymous sequence.
As of this commit, all calls to such compute_* methods in the
constructors of all the derived be classes are commented out and
will eventually disappear in the next commit.
* be/be_decl.cpp : One more change in be_decl.cpp is to add the
case for "interface_fwd" in the generation of the _var and _out
definitions and implementations.
* be/be_helper.* : Added two new methods called "gen_ifdef_macro"
and "gen_endif". These are required to generate the #if !defined
(...) <code> #endif macros. These are very essential if the IDL
has forward declarations of interfaces. Forward declarations of
interfaces must generate a forward class declaration. In addition,
it has to typedef the "_ptr" type and define the "_var" and "_out"
types. However, the real "be_interface" class does this too which
can result in "multiple declarations" errors from the C++
compiler. Hence we use this scheme. As in the case of the
nested_type_name method mentioned above, this method also takes a
default "suffix" parameter (= 0). This is required for the "_var",
"_ptr", and "_out" suffixes.
* be/be_interface.cpp
be/be_interface_fwd.cpp:
Used the TAO_OutStream::gen_ifdef_macro () and gen_endif methods
for the definitions of the _ptr, _var, and _out classes and their
implementations.
*be/be_sequence.* : Lot of modifications and change in the design
in terms of handling the base types that themselves could be
sequences. Although the AST_Sequence i.e., OMG IDL does not define
a "sequence" to be a scope producing construct like structs or
unions, we choose to make "be_sequence" to be a scope producing
construct. This is no way alters the OMG IDL language because the
front-end is still the same. "be_sequence" was made to inherit
from scope because the sequence mapping gives rise to a C++ class
which is a scoping construct. This way, base types that turn out
to be anonymous sequences can be assigned a parent scope and their
name generation will fall in line with other classes.
There are certain features missing with sequences at this commit
time, but this should reduce tweaking the generated code to a
large extent.
* be/be_state.cpp: Update the code for handling sequences and
typedefs. Typedefs should be handled properly now.
* All other *.cpp files: Either commented out the compute_* calls
in the constructors or removed them.
Fri Oct 31 03:00:09 1997 Chris Cleeland <cleeland@cs.wustl.edu>
* tao/orb_core.cpp: Moved call to connector's open() into init(),
thus insuring that it gets called only AFTER all the resources are
available from the Resource Factory.
* tao/orb_core.*: Changed data members to be associations rather
than containment. This allows decoupling of the
"thread-specificness" of these resources from the
thread-specificness of the general TAO_ORB_Core container. Also
added set accessors for those resources.
Added TAO_Resource_Factory class from which the TAO_ORB_Core
container initializes itself. For now this remains a singleton
which is, at compile-time, determined to be either TSS or not.
But, soon, it will be loaded via the Service Configurator and its
TSS nature determined at runtime.
* tao/giop.h: Updated to use the new ACE macro
ACE_CLASS_IS_NAMESPACE.
* tao/default_server.*: Implemented the new open() method so that
it initializes the Reactive and Threaded strategies from the
information in TAO_ORB_Core.
* tao/server_factory.*: Added open() method to be called after all
ORB resources are loaded up. This method can then be used by a
strategy factory to further initialize its contained strategies if
they require handles to resources to which the ORB might legislate
access. The default implementation does nothing.
Fri Oct 31 01:03:05 1997 <irfan@TWOSTEP>
* tests/Cubit/TAO/IDL_Cubit/svr.cpp (main): obj was not declared.
Commented out use of obj in dmsg1.
* tests/Cubit/TAO/IDL_Cubit/cubit_i.cpp (Cubit_Factory_i):
numobjs_ was used before it was assigned.
* TAO/TAO_IDL/TAO_IDL.{mak,mdp}: Added VC++4.2 make files.
* TAO_IDL/ast/ast_expression.cpp (dump): Streaming the enum was
ambiguous. Therefore the enum was cast to an int.
Thu Oct 30 22:50:44 1997 Carlos O'Ryan <coryan@MILONGA>
* tao/corba.h:
Added a definition for ACE_NESTED_CLASS, maybe it is defined in
some place else, but I couldn't find it.
* TAO_IDL/be/be_interface.cpp:
Fixed the definition for skeleton destructors.
* TAO_IDL/be/be_helper.cpp:
Added a lot of redundant ACE_OS::fflush() calls. Apparently we
have two FILE* or file descriptors over the same file, bt the
fflush hides the problem.
* TAO_IDL/be/be_decl.cpp:
Fixed inconsistency between operator-> declaration and
definition for _out classes.
Thu Oct 30 14:06:54 1997 Sergio Flores <sergio@polka.cs.wustl.edu>
* TAO_IDL/fe/Makefile:
Added an expression to the sed command in the rule to construct
lex.yy.cpp, that replaces ECHO with TAO_ECHO, because a
different ECHO macro is already defined in
/usr/include/sys/termios.h
* TAO_IDL/fe/idl.ll:
Fixed some warnings about nested comments.
Changed the declaration of variable i to outside of
the 'for' initialization to avoid obsolete binding warnings.
* TAO_IDL/be/be_interface_fwd.cpp (gen_client_header):
Added ACE_UNUSED_ARG macro to avoid unused variable warning,
for variable i.
* TAO_IDL/be/be_constant.cpp (exprtype_to_string):
* TAO_IDL/util/utl_error.cpp (exprtype_to_string):
Added case statements to handle the rest of un-handled
enumerations from AST_Expression::ExprType. These will
handle a default value (i.e. NULL). Enumerations added are:
AST_Expression::EV_wstring
AST_Expression::EV_wchar
AST_Expression::EV_longdouble
AST_Expression::EV_ulonglong
AST_Expression::EV_longlong
Thu Oct 30 09:56:41 1997 Chris Cleeland <cleeland@cs.wustl.edu>
* tao/giop.h: Added comments to TAO_GIOP class explicitly pointing
out its use as a namespace. Concurrently, I also scoped the CTOR,
Copy CTOR, and DTOR as 'private' so nobody can mistakenly
instantiate one of these puppies.
Thu Oct 30 03:40:26 1997 <nw1@COYOTE>
* tests/Cubit/TAO/DII_Cubit/client.dsp:
* tests/Cubit/TAO/DII_Cubit/server.dsp: Updated include files
path and libarary path.
* tao/giop.cpp (close_connection): Use ACE_HANDLE instead of int.
Thu Oct 30 02:53:20 1997 Douglas C. Schmidt <schmidt@cs.wustl.edu>
* TAO version 0.0.19, released Thu Oct 30 02:53:20 1997.
Thu Oct 30 02:20:21 1997 Sergio Flores <sergio@polka.cs.wustl.edu>
* tests/IDL_Cubit:
Added more comments and changed the header to be ACE'ified.
Make output more consistent.
Thu Oct 30 02:12:27 1997 Sumedh Mungee <sumedh@macarena.cs.wustl.edu>
* tests/{TAO, Cubit}: Changed the directory heirarchy to the
following: tests/Cubit/TAO/ now contains all the Cubit examples,
i.e. IDL_Cubit, MT_Cubit and DII_Cubit, instead of tests/. Updated
the README and Makefiles to reflect this. DII_Cubit is the
handcrafted "original" Cubit example.
* tests/Cubit/COOL: Added the COOL version of the Cubit test. The
COOL version is written for Chorus COOL version 4.1.
Wed Oct 29 22:26:10 1997 Douglas C. Schmidt <schmidt@flamenco.cs.wustl.edu>
* tests/IDL_Cubit/clnt.cpp (init): Fixed the error handling so we
exit correctly when things go wrong.
* tao/connect.cpp (open): Revised the code to use the new
ACE_LACKS_SOCKET_BUFSIZ to detect when this feature isn't
supported.
* tao/{giop,connect}: Added a nifty typedef called TAO_SVC_HANDLER
to remove the drudgery of expanding the template each time.
* tao: Changed the name of TAO_OA_Connection_Handler to
TAO_Server_Connection_Handler to be compliant with the
TAO_Client_Connection_Handler.
Wed Oct 29 20:47:47 1997 Sergio Flores <sergio@polka.cs.wustl.edu>
* tests/IDL_Cubit/clnt.cpp:
* tests/IDL_Cubit/clnt.h:
Cleaned up the code. Added ACE_Profile_Timer to time the calls.
Changed copyright header. Added more comments.
Wed Oct 29 18:55:57 1997 Douglas C. Schmidt <schmidt@flamenco.cs.wustl.edu>
* tao/giop: Added "_"'s to the data members in
TAO_GIOP_Invocation.
* tao/giop (send_request): Swaped the order of the parameters for
send_request() so that it would be consistent with recv_request.
* tao/{connect,giop}: Changed read_message() to recv_request(),
and send_message() to send_request() since these things really
work on GIOP requests.
* tao/{connect,giop}: Changed read_message() to recv_message(),
which is more like other parts of ACE.
* tao/connect.cpp: Fixed the calls to read_message() and
send_message() so that they don't try to modify "this."
* tao/giop: Changed the send_message() and read_message() in the
TAO_GIOP class to take ACE_Svc_Handler<ACE_SOCK_STREAM,
ACE_NULL_SYNCH> rather than TAO_Client_Connection_Handler.
Wed Oct 29 17:53:12 1997 <irfan@CHA-CHA>
* tao: Added TAO_HAS_TSS_ORB_CORE to tao and Cubit NT makefiles.
This probably needs to be added to the other NT makefiles.
* tests/Cubit/TAO/svc.conf: Updated files to pass the correct
options to the factory.
Wed Oct 29 16:07:20 1997 Chris Cleeland <cleeland@cs.wustl.edu>
* tao/giop.*: Changed most methods that took ACE_SOCK_Stream&
parameters to take TAO_Client_Connection_Handler*& parameters.
This makes it easier to clean up properly after errors. Also
#ifdef'd out seemingly unused code (TAO_GIOP::incoming_message).
Fixed call to ACE_Svc_Handler::idle() to not contain an argument.
* docs/Options.html: Updated the documentation to reflect recent
changes.
Wed Oct 29 15:59:30 1997 Sergio Flores <sergio@polka.cs.wustl.edu>
* tests/IDL_Cubit/clnt.cpp: OO'ified the code. Added class
Cubit_Client.
* tests/IDL_Cubit/clnt.h: added this file to contain the class
definition.
Wed Oct 29 11:01:11 1997 Aniruddha Gokhale <gokhale@mambo.cs.wustl.edu>
* TAO_IDL compiler: be_type.cpp::nested_type_name: A quick commit
made that includes an improvement over the previous scheme of
generating ACE_NESTED_CLASS macros. We handle the problem of
generating fully scoped names for types that were defined in some
ancestor of the scope in which that type is being used.
* Makefiles under TAO_IDL: Fixed a bug in the Makefiles under all
the subdirectories. This bug was reported by "ARTURO MONTES"
<mitosys@colomsat.net.co>. The bug was causing circular
dependencies on the libraru that was getting compiled.
Wed Oct 29 06:17:36 1997 Nanbor Wang <nw1@cumbia.cs.wustl.edu>
* tao/default_server.cpp (parse_args): Must increase the loop
counter.
Wed Oct 29 02:11:43 1997 Douglas C. Schmidt <schmidt@cs.wustl.edu>
* TAO version 0.0.18, released Wed Oct 29 02:11:43 1997.
Wed Oct 29 00:56:26 1997 Chris Cleeland <cleeland@cs.wustl.edu>
* tests/Cubit/TAO/svc.conf: Updated documentation comments to
reflect factory option changes.
* tao/orbobj.*: Wiped argvec_shift and all its bugs off the face
of the earth. Manojkumar Acharya <cvsf325.gpt.co.uk> should prove
to be very happy about this turn of events. :-)
* tao/orbobj.cpp: Weeded out old, dead code here and there and
migrated much of what had been in ORB_init() into
TAO_ORB_Core::init().
* tao/orb_core.*: Added methods init() and fini() which perform
ORB Core-related initializations and cleanups, respectively. This
is all in anticipation of having a Unified Factory which provides
ORB Core as well as other information. Also began stubbing out
and migrating various data members and associated accessors so
that they are pointers rather than actual members. The next step
is to actually make them pointers and have everything get
initialized properly and deterministically and keep everything
working.
* tao/{giop,orb_core}.cpp: Revised code due to recent changes in
ACE related to the Caching connector.
* tao/default_server.{h,cpp} (parse_args): This method now uses
options of the style -ORBfoo rather than the previously-cryptic
single-letter options. This should allow us to eventually allow
this same routine to parse args from the command line as well as
inside the svc.conf file. The price we pay for consistency,
however, is verbosity to the point of insanity (e.g.,
-ORBconcurrency...blech!) These options are briefly documented in
the method header as well as in subsequent svc.conf files.
* tao/decode.cpp: Added some comments for arguments.
* tao/connect.{h,cpp}: Moved Connector-related typedefs and
corresponding template instantiations into the proper
file--orb_core.*.
* tao/orb_core.cpp (init): Moved much of what used to be
ORB_init() into here. Changed the manner in which objref style
was determined--it's no longer via a special ORB name but rather
by the -ORBobjrefstyle option which can have either the value
"IOR" or "URL" (default is URL).
Tue Oct 28 21:15:36 1997 Douglas C. Schmidt <schmidt@tango.cs.wustl.edu>
* build/SunOS5.5/TAO/tests/IDL_Cubit/clnt.cpp (main): Fixed the
code so that if you give incorrect parameters the program exits
cleanly, rather than segfaulting.
Tue Oct 28 20:49:28 1997 Nanbor Wang <nw1@cumbia.cs.wustl.edu>
* tao/giop.cpp (start): NT Access Violation error, AGAIN! Added
codes to reset this->handler_ so that
ACE_Cached_Connect_Strategy won't complain.
Tue Oct 28 19:19:05 1997 Aniruddha Gokhale <gokhale@mambo.cs.wustl.edu>
* TAO_IDL/be/{be_state.cpp, be_union.cpp, be_struct.cpp}: Added code
that will generate the ACE_NESTED_CLASS macro
*TAO_IDL/be/be_type.cpp: Implemented be_type::nexted_type_name
that will generate the ACE_NESTED_CLASS macro. However, this may
not be completely correct at this point because we want to see if
teh compiler fails for types defined in some ancestor and whose
fully scoped names are generated .
* TAO_IDL/be/be_interface.cpp: Added code that will generate the
_bind call on the interface class.
* TAO/tests/IDL_Cubit: Added the _bind call in clnt.cpp. Improved
the README file.
*MAXNAMELEN : There was a clash with TAO_CodeGen::MAXNAMELEN. So
it has been substituted by NAMEBUFSIZE as a macro in be_codegen.h
Mon Oct 27 22:22:22 1997 Aniruddha Gokhale <gokhale@mambo.cs.wustl.edu>
* TAO_IDL/be_decl.cpp: Added a ptr () function to the _var classes
hat returns the underlying ptr_ data member. This ptr () member
function is now used to pass a pointer type to constructor and
assignment operator from a T_var class.
* TAO_IDL/be_state.cpp: Important changes related to generation of
return values of operations in the stubs. In addition, an & was
missing for passing string types. Some additional bugs arising out
of operations with void return type have been fixed.
* ./tests/IDL_Cubit: This test has been modified to include a
factory interface that reads a key for the cubit object and
produces an obj reference for Cubit. In addition, a preliminary
version of the _bind call has been tested with IDL_Cubit.
*MAXNAMELEN : Carlos informed me that MAXNAMELEN was a small
constant on some platforms. This has been changed to
TAO_CodeGen::MAXNAMELEN with a value of 100.
Mon Oct 27 22:07:58 1997 Carlos O'Ryan <coryan@MILONGA>
* TAO_IDL/be/be_array.cpp:
* TAO_IDL/be/be_helper.cpp:
* TAO_IDL/be/be_sequence.cpp:
* TAO_IDL/be/be_structure.cpp:
* TAO_IDL/be/be_typedef.cpp:
* TAO_IDL/be/be_union.cpp:
Set this->cli_stub_gen_ to I_TRUE once the code has been
emitted.
Mon Oct 27 19:34:08 1997 Carlos O'Ryan <coryan@MILONGA>
* TAO_IDL/be/be_exception.cpp:
* TAO_IDL/be/be_enum.cpp:
Set this->cli_stub_gen_ to I_TRUE at the end.
* TAO_IDL/be/be_typedef.cpp:
Set the state to TAO_CodeGen::TAO_TYPEDEF_CH instead of just
struct.
Mon Oct 27 15:22:24 1997 Sergio Flores <sergio@polka.cs.wustl.edu>
* TAO_IDL/be/be_state.cpp:
* TAO_IDL/be_include/be_codegen.h:
* TAO_IDL/be_include/be_factory.h:
* TAO_IDL/be_include/be_state.h:
* tao/iioporb.cpp:
* tao/marshal.cpp:
* tao/optable.cpp:
* tao/optable.h:
* tao/singletons.h:
The ACE_Singleton lock type needs to be changed from
ACE_SYNCH_MUTEX (or ACE_SYNCH_RW_MUTEX) ACE_SYNCH_RECURSIVE_MUTEX.
ACE handles those more efficiently for its singletons. Change
suggested by David Levine.
Mon Oct 27 11:59:51 1997 Chris Cleeland <cleeland@cs.wustl.edu>
* tao/orbconf.h: Made it so _FAR is defined all the time. Thanks
to Manojkumar Acharya <cvsf325.gpt.co.uk> for reporting this.
Sun Oct 26 22:18:01 1997 Douglas C. Schmidt <schmidt@cs.wustl.edu>
* TAO version 0.0.17, released Sun Oct 26 22:18:01 1997.
Sun Oct 26 17:53:25 1997 Douglas C. Schmidt <schmidt@macarena.cs.wustl.edu>
* {tao,tests}/Makefile: Commented out the TAO_HAS_TSS_ORBCORE in
these Makefiles since it is going away anyhow and is confusing...
* tests/IDL_Cubit/svc.conf,
tests/Cubit/TAO/svc.conf:
Changed the default concurrency policy to be reactive so that
things work correctly if TAO_HAS_TSS_ORBCORE. Thanks to Sumedh
for pointing this out.
* tao/orbobj.cpp (ORB_init): Put the TAO_DEFAULT_SERVER_PORT into
ACE's OS.h file and used it in TAO.
Sun Oct 26 15:07:18 1997 Chris Cleeland <cleeland@cs.wustl.edu>
* tao/params.h: Eliminated forward decls of the now-defunct ROA
class.
* tao/orb_core.h (TAO_DEFAULT_PORT): Added manifest constant for
default port.
* tao/orbobj.cpp (ORB_init): Eliminated ugly anonymous constant
use for hbuf's size. Utilized manifest constant for default port.
* tao/giop.cpp: Changed calls to
TAO_Client_Connection_Handler::in_use() to call the underlying
Svc_Handler::idle().
* tao/connect.{h,i}: Eliminated in_use() flags because they're no
longer needed with the new Strategy Connector.
* tao/iioporb.cpp (string_to_object): Removed setting of the orb
in the underlying CORBA::Object because it's no longer there.
* tao/object.{h,i} (CORBA_Object): Eliminated the pointer to an orb
within this object. This should help solve some problems in
passing object references across the wire.
* tao/connect.cpp: Added template instantiations for
ACE_Hash_Map_Iterator to reflect Irfan's recent changes.
* tests/IDL_Cubit/README: Updated documentation on the server to
reflect current reality.
Sun Oct 26 01:01:32 1997 Douglas C. Schmidt <schmidt@cs.wustl.edu>
* tao/orbobj.cpp: Redid the template specialization of Hash_Addr
to account for the new changes.
Sun Oct 26 01:05:36 1997 <nw1@COYOTE>
* tao/corba.h: Changed from using Strategies_T.h to Strategies.h.
* tao/connect.h: Removed a template argument form ACE_Hash_Addr.
Removed explicit instantiation of compare_i.
* tao/connect.cpp: Removed a template argument from explicit
instantiation of ACE_Hash_Addr.
* tests/Cubit/TAO/clnt.cpp (main): Added a simple class
ACE_Winsock_proper_shutdown here to shutdown winsock properly.
This class should be removed later once we figure out how to
close down winsock properly from ACE.
* tests/Cubit/TAO/svc.conf: Changed the name of shared object from
libTAO to TAO. Added configuration lines for using debug
version of TAO library on NT.
Sun Oct 26 01:47:04 1997 Sergio Flores <sergio@macarena.cs.wustl.edu>
* TAO_IDL/be/be_codegen.cpp (upcase):
* TAO_IDL/util/utl_string.cpp (canonicalize):
* TAO_IDL/be/be_decl.cpp (tc_name2long):
Added "unsigned" to index variable "i" used in for() loop,
to avoid warning "comparison between unsigned and signed"
* TAO_IDL/be/be_decl.cpp (compute_flatname):
* TAO_IDL/be/be_decl.cpp (compute_repoID):
* TAO_IDL/be/be_interface.cpp (compute_fullskelname):
Fixed error "second - I_FALSE;", should be "second = I_FALSE;"
* TAO_IDL/be/be_operation.cpp (gen_server_skeletons):
* TAO_IDL/be/be_state.cpp (gen_code):
Initialized pointers to 0
* TAO_IDL/driver/drv_preproc.cpp (DRV_pre_proc):
* TAO_IDL/be/be_operation.cpp (gen_server_header):
* TAO_IDL/be/be_operation.cpp (gen_client_header):
* TAO_IDL/be/be_decl.cpp (gen_out_defn):
* TAO_IDL/be/be_decl.cpp (gen_var_defn):
* TAO_IDL/be/be_scope.cpp (gen_client_header):
* TAO_IDL/be/be_state.cpp (gen_code):
* TAO_IDL/be/be_helper.cpp (operator<<):
* TAO_IDL/be/be_union.cpp (tc_encap_len):
* TAO_IDL/be/be_typedef.cpp (gen_client_stubs):
* TAO_IDL/be/be_string.cpp (gen_client_header):
* TAO_IDL/be/be_root.cpp (gen_idl2cplusplus_mapping):
* TAO_IDL/be/be_predefined_type.cpp (gen_typecode):
* TAO_IDL/be/be_interface.cpp (gen_client_stubs):
* TAO_IDL/be/be_interface.cpp (gen_server_skeletons):
* TAO_IDL/be/be_interface.cpp (gen_operation_table):
* TAO_IDL/be/be_interface.cpp (gen_server_inline):
* TAO_IDL/be/be_interface.cpp (tc_encap_len):
* TAO_IDL/be/be_field.cpp (gen_encapsulation):
* TAO_IDL/be/be_field.cpp (tc_encap_len):
* TAO_IDL/be/be_enum_val.cpp (gen_encapsulation):
* TAO_IDL/be/be_enum.cpp (tc_encap_len):
* TAO_IDL/be/be_constant.cpp (gen_client_header):
* TAO_IDL/be/be_constant.cpp (gen_client_stubs):
* TAO_IDL/be/be_argument.cpp (gen_client_header):
* TAO_IDL/be/be_argument.cpp (gen_client_stubs):
* TAO_IDL/be/be_argument.cpp (gen_server_header):
* TAO_IDL/be/be_argument.cpp (gen_server_skeletons):
* TAO_IDL/be/be_array.cpp (be_array):
* TAO_IDL/be/be_array.cpp (gen_client_header):
* TAO_IDL/be/be_array.cpp (gen_client_inline):
* TAO_IDL/be/be_array.cpp (gen_forany_defn):
* TAO_IDL/be/be_array.cpp (gen_forany_impl):
* TAO_IDL/util/utl_stack.cpp (push):
Added ACE_UNUSED_ARG macro to avoid unused variable warning,
for variable slen.
* TAO_IDL/be_include/be_helper.h (class TAO_OutStream):
Made destructor virtual; we have virtual member functions.
* TAO_IDL/be/be_codegen.cpp (TAO_CodeGen):
* TAO_IDL/be/be_decl.cpp (be_decl):
* TAO_IDL/util/utl_stack.cpp (UTL_ScopeStack):
* TAO_IDL/util/utl_scope.cpp (UTL_ScopeActiveIterator):
Reordered member initializers to match declaration order to
satisfy the compiler.
* TAO_IDL/util/utl_scope.cpp (lookup_primitive_type):
Added "default" case to switch to return NULL.
* TAO_IDL/util/utl_scope.cpp (add_attribute):
* TAO_IDL/util/utl_scope.cpp (add_operation):
* TAO_IDL/util/utl_scope.cpp (add_argument):
* TAO_IDL/util/utl_scope.cpp (add_union_branch):
* TAO_IDL/util/utl_scope.cpp (add_field):
* TAO_IDL/util/utl_scope.cpp (add_typedef):
* TAO_IDL/util/utl_scope.cpp (add_sequence):
* TAO_IDL/util/utl_scope.cpp (add_array):
Use 0 instead of NULL to initialize pointers in the
member initialization list, again to avoid ANSI C++ forbids
implicit (void *) conversions warnings.
Sun Oct 26 01:01:32 1997 Douglas C. Schmidt <schmidt@cs.wustl.edu>
* TAO version 0.0.16, released Sun Oct 26 01:01:32 1997.
Sun Oct 26 00:32:29 1997 Douglas C. Schmidt <schmidt@macarena.cs.wustl.edu>
* TAO/TAO_IDL/fe/idl.ll: Reverted a change that Carlos had
overwritten. I guess he's not getting enough sleep these
days... ;-)
Sun Oct 26 00:31:38 1997 <irfan@TWOSTEP>
* tao/orb_core.i (hash_i): Redid the specialization in view of the
new changes.
Sat Oct 25 18:14:14 1997 Douglas C. Schmidt <schmidt@macarena.cs.wustl.edu>
* TAO_IDL/be/be_interface.cpp (be_interface): Worked around a
nasty MSVC++ compiler bug that doesn't like CORBA::Object
(object_ptr). So we use an existing ACE macro for this.
* TAO_IDL/be/be_interface.cpp (be_interface): Fixed yet another
round of uninitialized data members. It is clear that the
original authors of this code wouldn't pass my ugrad programming
course...
* TAO_IDL/fe/idl.ll (idl_parse_line_and_file): Had to make a minor
change to skip over the #line directive from Microsoft. In
addition, had to add some code to put Microsoft-style pathnames
into a canonical form (i.e., replacing = '\\' with '\'). Thanks
to Darrell for helping with this.
* TAO_IDL/fe/idl.ll: Added a new rule to handle the fact
that the Microsoft C++ preprocessor generates tags of the
form
#line 1 "bar.idl"
rather than
#1 "bar.idl"
which is what UNIX C++ compilers seem to do.
* TAO_IDL/be/be_decl.cpp (compute_fullname, compute_flatname):
Fixed a nasty bug where the original author thought new always
returned 0'd memory... Sheesh!
* TAO_IDL/driver/drv_preproc.cpp: Changed fd < 0 to fd ==
ACE_INVALID_HANDLE to be more portable.
* TAO_IDL/be/be_decl.cpp (be_decl): There were two fields,
flatname_ and repoID_, that weren't given initial values of 0.
Thanks to Purify for finding this!
* TAO_IDL/fe/idl.{yy,ll}: Replaced all uses of type names <name>
(e.g., FLOAT) with IDL_<name> (e.g., IDL_FLOAT) so that the code
won't bomb on lame systems like NT that typedef basic types to all
capitals (e.g., typedef float FLOAT).
Sat Oct 25 22:28:42 1997 Carlos O'Ryan <coryan@MILONGA>
* TAO_IDL/fe/idl.ll: Since yytext may be an "unsigned char*" under
HP-UX they define an "alias" __yytext. This hack fails miserably
when using flex, since then the yytext thing can change on the
fly. I use an inline function instead. Added support for #line
preprocessor directives.
* TAO_IDL/driver/drv_preproc.cpp: Documented some of my changes
for NT, namely the fact that unlinking the output file while
still open causes the parsing to fail on NT.
* TAO_IDL/tao_idl.dsp: Added new folders for source files, header
files, template files, etc. I modelled this based on the ACE
project files.
Sat Oct 25 22:05:43 1997 Sergio Flores <sergio@macarena.cs.wustl.edu>
* TAO_IDL/ast/ast_constant.cpp (exprtype_to_string):
Added case statements to handle the rest of un-handled
enumerations from AST_Expression::ExprType. These will
handle a default value (i.e. the same case as
AST_Expression::EV_none).
* TAO_IDL/ast/ast_expression.cpp (operator==):
* TAO_IDL/ast/ast_expression.cpp (compare):
Make the default return value I_FALSE instead of NULL which
was giving "lacks a cast" warning.
* TAO_IDL/ast/ast_expression.cpp (fill_definition_details):
Use 0 instead of NULL to initialize pointers in the
member initialization list, again to avoid ANSI C++ forbids
implicit (void *) conversions warnings.
* TAO_IDL/ast/ast_expression.cpp (eval_symbol):
Initialized pointers to 0.
Sat Oct 25 17:45:17 1997 Aniruddha Gokhale <gokhale@mambo.cs.wustl.edu>
* TAO_IDL/driver/drv_preproc.cpp: Fixed the same bug that Sumedh
fixed. In addition, ACEified the calls to strcat and strcmp in
that file.
* TAO_IDL/fe/idl.ll: Used %array in the defintion section so that
flex uses yytext as an array of characters rather than pointer to
char. The pointer case was resulting in a segmentation fault due
to lack of memory allocation for the yytext variable. However, we
choose to use the array approach to be compatile with "lex"
behavior.
Sat Oct 25 1997 Sumedh Mungee <sumedh@lindy.cs.wustl.edu>
* TAO_IDL/driver/drv_preproc.cpp: Fixed proper tmp filename
creation.
Sat Oct 25 14:14:53 1997 Carlos O'Ryan <coryan@MILONGA>
* TAO_IDL/tao_idl.dsw:
* TAO_IDL/tao_idl.dsp:
Added a MSVC++ project file for the IDL compiler, needs several
revisions byt the NT experts before shipping, but it has served
me well.
* TAO_IDL/driver/drv_fork.cpp:
* TAO_IDL/driver/drv_preproc.cpp:
We use ACE components to fork&exec subprocesses, get the default
TMP directory and generate protable pathnames.
In one case the mapping to NT is not clear: the use case is fork
to get a "fresh" copy of the process and provide a unit of
protection for the parent; this feature is only used if more
than one IDL file is compiled at the same time.
* TAO_IDL/be/be_decl.cpp:
Fixed minor bug, it said "second - I_FALSE;", it should be
"second = I_FALSE
* TAO_IDL/ast/ast_argument.cpp:
* TAO_IDL/ast/ast_array.cpp:
* TAO_IDL/ast/ast_attribute.cpp:
* TAO_IDL/ast/ast_check.cpp:
* TAO_IDL/ast/ast_concrete_type.cpp:
* TAO_IDL/ast/ast_constant.cpp:
* TAO_IDL/ast/ast_decl.cpp:
* TAO_IDL/ast/ast_enum.cpp:
* TAO_IDL/ast/ast_enum_val.cpp:
* TAO_IDL/ast/ast_exception.cpp:
* TAO_IDL/ast/ast_expression.cpp:
* TAO_IDL/ast/ast_field.cpp:
* TAO_IDL/ast/ast_generator.cpp:
* TAO_IDL/ast/ast_interface.cpp:
* TAO_IDL/ast/ast_interface_fwd.cpp:
* TAO_IDL/ast/ast_module.cpp:
* TAO_IDL/ast/ast_operation.cpp:
* TAO_IDL/ast/ast_predefined_type.cpp:
* TAO_IDL/ast/ast_recursive.cpp:
* TAO_IDL/ast/ast_redef.cpp:
* TAO_IDL/ast/ast_root.cpp:
* TAO_IDL/ast/ast_sequence.cpp:
* TAO_IDL/ast/ast_string.cpp:
* TAO_IDL/ast/ast_structure.cpp:
* TAO_IDL/ast/ast_type.cpp:
* TAO_IDL/ast/ast_union.cpp:
* TAO_IDL/ast/ast_union_branch.cpp:
* TAO_IDL/ast/ast_union_label.cpp:
* TAO_IDL/be/be_args.cpp:
* TAO_IDL/be/be_constant.cpp:
* TAO_IDL/be/be_generator.cpp:
* TAO_IDL/be/be_init.cpp:
* TAO_IDL/be/be_produce.cpp:
* TAO_IDL/be_include/be.h:
* TAO_IDL/be_include/be_generator.h:
* TAO_IDL/driver/drv_args.cpp:
* TAO_IDL/driver/drv_fork.cpp:
* TAO_IDL/driver/drv_init.cpp:
* TAO_IDL/driver/drv_main.cpp:
* TAO_IDL/driver/drv_preproc.cpp:
* TAO_IDL/driver/drv_private.cpp:
* TAO_IDL/fe/fe_declarator.cpp:
* TAO_IDL/fe/fe_extern.cpp:
* TAO_IDL/fe/fe_init.cpp:
* TAO_IDL/fe/fe_interface_header.cpp:
* TAO_IDL/fe/fe_private.cpp:
* TAO_IDL/fe/lex.yy.cpp:
* TAO_IDL/fe/y.tab.cpp:
* TAO_IDL/include/ast.h:
* TAO_IDL/include/ast_argument.h:
* TAO_IDL/include/ast_array.h:
* TAO_IDL/include/ast_attribute.h:
* TAO_IDL/include/ast_concrete_type.h:
* TAO_IDL/include/ast_constant.h:
* TAO_IDL/include/ast_decl.h:
* TAO_IDL/include/ast_enum.h:
* TAO_IDL/include/ast_enum_val.h:
* TAO_IDL/include/ast_exception.h:
* TAO_IDL/include/ast_expression.h:
* TAO_IDL/include/ast_extern.h:
* TAO_IDL/include/ast_field.h:
* TAO_IDL/include/ast_generator.h:
* TAO_IDL/include/ast_interface.h:
* TAO_IDL/include/ast_interface_fwd.h:
* TAO_IDL/include/ast_module.h:
* TAO_IDL/include/ast_operation.h:
* TAO_IDL/include/ast_predefined_type.h:
* TAO_IDL/include/ast_root.h:
* TAO_IDL/include/ast_sequence.h:
* TAO_IDL/include/ast_string.h:
* TAO_IDL/include/ast_structure.h:
* TAO_IDL/include/ast_type.h:
* TAO_IDL/include/ast_typedef.h:
* TAO_IDL/include/ast_union.h:
* TAO_IDL/include/ast_union_branch.h:
* TAO_IDL/include/ast_union_label.h:
* TAO_IDL/include/be_extern.h:
* TAO_IDL/include/drv_extern.h:
* TAO_IDL/include/drv_private.h:
* TAO_IDL/include/fe_declarator.h:
* TAO_IDL/include/fe_extern.h:
* TAO_IDL/include/fe_interface_header.h:
* TAO_IDL/include/fe_private.h:
* TAO_IDL/include/global_extern.h:
* TAO_IDL/include/idl.h:
* TAO_IDL/include/idl_bool.h:
* TAO_IDL/include/idl_defines.h:
* TAO_IDL/include/idl_extern.h:
* TAO_IDL/include/idl_fwd.h:
* TAO_IDL/include/idl_global.h:
* TAO_IDL/include/idl_narrow.h:
* TAO_IDL/include/intlmacros.h:
* TAO_IDL/include/nr_extern.h:
* TAO_IDL/include/util.h:
* TAO_IDL/include/utl_decllist.h:
* TAO_IDL/include/utl_error.h:
* TAO_IDL/include/utl_exceptlist.h:
* TAO_IDL/include/utl_exprlist.h:
* TAO_IDL/include/utl_identifier.h:
* TAO_IDL/include/utl_idlist.h:
* TAO_IDL/include/utl_indenter.h:
* TAO_IDL/include/utl_labellist.h:
* TAO_IDL/include/utl_list.h:
* TAO_IDL/include/utl_namelist.h:
* TAO_IDL/include/utl_scope.h:
* TAO_IDL/include/utl_scoped_name.h:
* TAO_IDL/include/utl_stack.h:
* TAO_IDL/include/utl_string.h:
* TAO_IDL/include/utl_strlist.h:
* TAO_IDL/include/utl_tmpl/utl_decllist.h:
* TAO_IDL/include/utl_tmpl/utl_exceptlist.h:
* TAO_IDL/include/utl_tmpl/utl_exprlist.h:
* TAO_IDL/include/utl_tmpl/utl_idlist.h:
* TAO_IDL/include/utl_tmpl/utl_labellist.h:
* TAO_IDL/include/utl_tmpl/utl_list.h:
* TAO_IDL/include/utl_tmpl/utl_namelist.h:
* TAO_IDL/include/utl_tmpl/utl_strlist.h:
* TAO_IDL/narrow/narrow.cpp:
* TAO_IDL/util/utl_decllist.cpp:
* TAO_IDL/util/utl_error.cpp:
* TAO_IDL/util/utl_exceptlist.cpp:
* TAO_IDL/util/utl_exprlist.cpp:
* TAO_IDL/util/utl_global.cpp:
* TAO_IDL/util/utl_identifier.cpp:
* TAO_IDL/util/utl_idlist.cpp:
* TAO_IDL/util/utl_indenter.cpp:
* TAO_IDL/util/utl_labellist.cpp:
* TAO_IDL/util/utl_list.cpp:
* TAO_IDL/util/utl_namelist.cpp:
* TAO_IDL/util/utl_scope.cpp:
* TAO_IDL/util/utl_stack.cpp:
* TAO_IDL/util/utl_string.cpp:
* TAO_IDL/util/utl_strlist.cpp:
* TAO_IDL/util/utl_tmpl/utl_decllist.cpp:
* TAO_IDL/util/utl_tmpl/utl_exceptlist.cpp:
* TAO_IDL/util/utl_tmpl/utl_exprlist.cpp:
* TAO_IDL/util/utl_tmpl/utl_idlist.cpp:
* TAO_IDL/util/utl_tmpl/utl_labellist.cpp:
* TAO_IDL/util/utl_tmpl/utl_list.cpp:
* TAO_IDL/util/utl_tmpl/utl_namelist.cpp:
* TAO_IDL/util/utl_tmpl/utl_strlist.cpp:
Removed a *big* number of warnings, in an attempt to surface
real problems. The main one was "#pragma ident" and some unused
variables.
Sat Oct 25 06:22:03 1997 Aniruddha Gokhale <gokhale@mambo.cs.wustl.edu>
* TAO_IDL/fe/idl.yy: I got errors parsing the idl.yy thru
bison. There were errors indicating "type clash on default action".
This had to do with the fact that the non-terminal "type_dcl" did not
have any type defined for it, but it had "struct_type", "union_type"
and others on the right-hand side of the rules. The default action of
YACC is supposed to assign $1 to $$. So the type for "struct_type"
that happened to be a AST_Decl node was getting assigned to the
non-terminal "type_dcl" who had no type.
I am very surprised that the "yacc" on our Sparcs never ever gave this
error, but bison did.
Hence I have modified idl.yy slightly so that I have {$$ = 0;} as the
default action. In addition, the non-terminal "type_dcl" is now
defined to be of type "ival" which is defined as long inside the
%union clause.
Above all, the bison generated files required some prototypes. So I
had to add the following to idl.yy in the declarations section.
int yylex (void);
void yyerror (char *);
extern "C" yywrap (void);
Somehow, this yywrap had to be under extern "C". I don't know why the
others need not be under extern "C".
Sat Oct 25 00:05:05 1997 Douglas C. Schmidt <schmidt@cs.wustl.edu>
* TAO version 0.0.15, released Sat Oct 25 00:05:05 1997.
Sat Oct 25 02:46:05 1997 Sergio Flores <sergio@macarena.cs.wustl.edu>
* TAO_IDL/fe/Makefile:
Changed the YACC variable to use the bison compiler.
Added "-y" to YFLAGS to make bison generate output files like yacc.
Changed the LEX variable to use the flex parser instead of lex.
These programs generate code that has less warnings and is better
code in general.
Added "-D_REENTRANT" to CPPFLAGS, to be able to eliminate the warnings
in lex.yy.cpp. This could also be fixed if we include "ace/ACE.h" at
the beginning of lex.yy.cpp, but this file is generated with flex.
* TAO_IDL/fe/idl.yy:
Added ACE_UNUSED_ARG macro to avoid unused variable warning,
for variable "AST_Decl *v".
* TAO_IDL/fe/idl.ll (idl_atof):
Added ACE_UNUSED_ARG macro to avoid unused variable warning,
for variable f and h.
* TAO_IDL/include/idl.h:
Added include file "ace/ACE.h". This was necessary to eliminate
warnings of implicit declarations, which were because the _REENTRANT
flag was not defined.
* TAO_IDL/ast/ast_operation.cpp (AST_Operation):
Reordered member initializers to match declaration order to
eliminate warnings from the compiler.
* TAO_IDL/ast/ast_operation.cpp (fe_add_exceptions):
Added ACE_UNUSED_ARG macro to avoid unused variable warning,
for variable fs.
* TAO_IDL/ast/ast_interface.cpp (AST_Interface):
Reordered member initializers to match declaration order to
eliminate warnings from the compiler.
* TAO_IDL/ast/ast_expression.cpp (operator==):
* TAO_IDL/ast/ast_expression.cpp (coerce):
* TAO_IDL/ast/ast_expression.cpp (coerce_value):
* TAO_IDL/ast/ast_expression.cpp (compare):
* TAO_IDL/ast/ast_expression.cpp (dump_expr_val):
Added case statements to handle the rest of un-handled
enumerations from AST_Expression::ExprType. These will
handle a default value (i.e. the same case as
AST_Expression::EV_none). Enumerations added are:
AST_Expression::EV_wstring
AST_Expression::EV_wchar
AST_Expression::EV_longdouble
AST_Expression::EV_ulonglong
AST_Expression::EV_longlong
* TAO_IDL/ast/ast_expression.cpp (AST_Expression):
Reordered member initializers to match declaration order to
eliminate warnings from the compiler.
* TAO_IDL/ast/ast_decl.cpp (AST_Decl):
Reordered member initializers to match declaration order to
eliminate warnings from the compiler.
Also, use 0 instead of NULL to initialize pointers in the
member initialization list, again to avoid ANSI C++ forbids
implicit (void *) conversions warnings.
* TAO_IDL/ast/ast_array.cpp (dump):
Added "unsigned" to index variable "i" used in for() loop,
to avoid warning "comparison between unsigned and signed"
* TAO_IDL/ast/ast_array.cpp (compute_dims):
Added "unsigned" to index variable "i" used in for() loop,
to avoid warning "comparison between unsigned and signed"
* TAO_IDL/ast/ast_array.cpp (AST_Array):
Reordered member initializers to match declaration order to
eliminate warnings from the compiler.
* TAO_IDL/fe/fe_declarator.cpp (FE_Declarator):
Reordered member initializers to match declaration order to
eliminate warnings from the compiler.
* TAO_IDL/driver/drv_main.cpp (DRV_drive):
Added ACE_UNUSED_ARG macro to avoid unused variable warning.
* TAO_IDL/ast/ast_recursive.cpp (AST_illegal_recursive_type):
Initialized pointer variables to avoid warnings.
Fri Oct 24 19:18:22 1997 Douglas C. Schmidt <schmidt@tango.cs.wustl.edu>
* tao: Changed remaining uses of BOA to POA.
* cubit_i.cpp (please_exit): Replaced the call to
please_shutdown() on the POA (which no longer exists) with the
shutdown() call on the ORB.
* tests/IDL_Cubit/svr.cpp: Removed
oa_ptr->clean_shutdown (env);
since this is no longer supported in TAO's POA.
* tao/poa.h: Changed the get_boa() method to get_poa(). Even this
will probably go away soon.
Fri Oct 24 18:25:00 1997 Aniruddha Gokhale <gokhale@flamenco.cs.wustl.edu>
* TAO/tao/svrrqst.cpp: Method params was allocating memory even
when the Any's already had memory allocated for the IN and INOUT
parameters. Due to this the params would retrieve results in the
allocated storage whereas the stubs/skeletons would continue to
use variables that they had defined to hold the values.
Fri Oct 24 17:33:21 1997 Chris Cleeland <cleeland@cs.wustl.edu>
* tao/poa.*: #ifdef'd out the IIOP 1.4 references to shutdown.
I'm leaving them in there right now because they might be useful
as private member later when we need to figure out how to get OAs
to cooperate and shut themselves down in the face of an ORB
shutdown.
* tao/orbobj.h (shutdown): Fixed up documentation.
* tao/orbobj.i (shutdown): Provided appropriate arg default.
* tests/Cubit/TAO/svr.cpp: Eliminated unnecessary Object Adapter
name from POA_init() invocation.
* tests/Cubit/TAO/cubit_i.cpp (Cubit_please_exit): Revised to use
the new ORB::shutdown() method.
* tests/Cubit/TAO/clnt.cpp: Got rid of IIOP 1.4-style debug
message calls.
* tao/orbobj.cpp (CORBA_ORB::ORB_init): Corrected a heinous
problem in the option parsing loop where argvec_shift() would be
asked to shift two argv elements when there was only one. This
could cause problems if an option that required an argument didn't
include the argument. Thanks to Manojkumar Acharya
<cvsf325.gpt.co.uk> for sending in a bug report that lead to my
finding this!
Fri Oct 24 14:08:12 Aniruddha Gokhale <gokhale@mambo.cs.wustl.edu>
* Improved the compiler to make Unions work. The most subtle error
was the way the private section of the class for unions was being
generated. TAO's Typecode library expected the union members to be
inside of a C++ union declaration inside the private
section. Whereas the compiler was generating each member
separately.
Another source of error was bad typecode tables getting
generated. This is now fixed.
* TAO/tests/IDL_Cubit: The cubit_i.cpp for cube_union was doing
wrong calculations for structs. This was due to my copy-paste
tendency and not verifying if it was correct or not. This has been
fixed. The README file is updated to reflect the fact that this
directory contains code that uses the IDL compiler.
Fri Oct 24 01:54:00 1997 Douglas C. Schmidt <schmidt@cs.wustl.edu>
* TAO version 0.0.14, released Fri Oct 24 01:54:00 1997.
Fri Oct 24 01:02:01 1997 Douglas C. Schmidt <schmidt@tango.cs.wustl.edu>
* clnt.cpp: Removed mysterious obsolete definitions of
cube_union_stub() and cube_union_dii().
* be_state.h: Added definitions for the methods in class
be_state_attribute. For some reason, they were missing.
* TAO_IDL/be/be_state.cpp: Added the necessary template
specializations so that the TAO IDL compiler will work with GCC.
Thu Oct 23 22:46:10 1997 Aniruddha Gokhale <gokhale@mambo.cs.wustl.edu>
* TAO IDL Compiler: More progress in terms of getting the Cubit
example to work with the IDL generated code. However, we are still
finding some problems with using the client-side cubit_union_dii
to work properly.
Much of the improvements were to the server-side skeletons for
operations. In addition, code for union constructors, assignment
operator, and accessor for discriminant added.
Some bugs in typecode generation are fixed. This had to do with
the encapsulation length for predefined types. It was returning -1
as opposed to 0.
* TAO/tests/IDL_Cubit: Added this directory with the cubit
example. Use this to test the IDL compiler. The makefile will
invoke the IDL compiler to create the required files.
Thu Oct 23 18:34:02 1997 Douglas C. Schmidt <schmidt@tango.cs.wustl.edu>
* tests/*/Makefile: Fixed the Makefiles so that it has the correct
files and dependencies. Thanks to Steven Wohlever
<wohlever@mitre.org> for reporting this.
Wed Oct 22 20:02:39 1997 Chris Cleeland <cleeland@cs.wustl.edu>
* README.sun: Added an explicit reminder at the top that the
information in this file is historical in nature and does not
necessarily apply to current reality.
* tao/orbobj.* (shutdown): Added code to the run() event loop so
that it will terminate when it finds a flag set. This involved
adding the flag to the ORB's state and minimally implementing the
shutdown() method. The shutdown method still does not honor the
"wait for completion" flag which can be passed to it, though.
* README: Updated the season from "summer" to "Fall" ;-) Also
added a note that warned people not to try to link TAO with a
version of ACE that's linked with another ORB library, e.g.,
liborbix.so. Thanks to Steven Wohlever <wohlever@mitre.org> for
bringing this instructional omission to our attention.
* tao/tao_internals.cpp (fake_service_entries_i): Made the body of
this function conditional on the TAO_PLATFORM_SVC_CONF_FILE_NOTSUP
preprocessor definition since it doesn't need to exist in
platforms that grok the Service Configurator. This will also
reduce the memory footprint :-). Thanks to David Miron
<dxm@crapper.dsto.defence.gov.au> for pointing this out!
* tao/orb_core.cpp (TAO_ORB_Core): Removed explicit CTOR
initialization of reactor_ member.
Wed Oct 22 19:37:22 1997 Aniruddha Gokhale <gokhale@mambo.cs.wustl.edu>
* TAO IDL Compiler: Improvements made so that the server-side
skeletons for operations now generate valid code. The code
generated for the Cubit.idl was compiling cleanly. It is under
test currently to see if it runs.
* Some progress in handling forward declarations of interfaces.
Wed Oct 22 12:55:19 1997 <nw1@CHA-CHA>
* tao/poa.h: Added ACE_Svc_Export to class CORBA_POA.
* tao/TAO.{mdp,mak}: Updated files in project file.
* tao/TAO.dsp: Removed boa, Orb_Core and added poa, orb_core to
the project file.
Tue Oct 21 17:21:51 1997 Chris Cleeland <cleeland@cs.wustl.edu>
* docs/releasenotes/orbcore.html: Updated to reflect daily
progress.
* tests/Cubit/TAO/Makefile: Updated dependencies.
* tests/Cubit/TAO/svc.conf: Updated to eliminate empty quotes at
the end that tickled a deficiency in the Service Configurator's
grammar.
* tests/multiCubit/svr.cpp: Updated to reflect POA_init change.
* tests/Thruput_test/Makefile: Modified to reflect filename
changes.
* tests/Thruput_test/server.cpp: Changed type of argv so that it
matched properly.
* tao/boa.*: Renamed to tao/poa.*.
* tao/Orb_Core.*: Renamed to tao/orb_core.*.
* tao/{Makefile,corba.h,default_client.cpp,default_server.cpp,orb.h,orbobj.cpp,params.h}:
Modified to reflect filename changes.
Tue Oct 21 13:23:48 1997 Brian Mendel <brian.r.mendel@boeing.com>
* tao/connect.i: Moved hash_i and compare_i template
specialization to Orb_Core.i. Original code was left comment
out until this mod is checked on all platforms.
* tao/Orb_Core.i: Added hash_i and compare_i code from connect.i.
Tue Oct 21 03:23:29 1997 Nanbor Wang <nw1@cumbia.cs.wustl.edu>
* tao/Orb_Core.cpp: Removed conditional inclusion of Orb_Core.i
since, according to corba.h, it is always included as an inline
function file.
Tue Oct 21 02:24:14 1997 Douglas C. Schmidt <schmidt@cs.wustl.edu>
* TAO version 0.0.13, released Tue Oct 21 02:24:14 1997.
Mon Oct 20 23:42:48 1997 Douglas C. Schmidt <schmidt@flamenco.cs.wustl.edu>
* TAO/boa: Changed BOA_init() to POA_init() to be
more consistent...
* TAO_IDL/be/be_interface.cpp,
tests/TAO/Thruput_test/server.cpp,
tests/TAO/Thruput_test/ttcpS.cpp,
tests/TAO/RT_test/Task_Client.cpp,
tests/TAO/RT_test/cubit_impl.cpp,
tests/TAO/multiCubit/cubitS.cpp,
tests/TAO/multiCubit/svr.cpp,
tests/TAO/Demux_Test/server.cpp,
tests/TAO/Demux_Test/CodeGen/skel.cpp,
tests/TAO/MT-Cubit/client/Task_Client.cpp,
tests/TAO/MT-Cubit/server/cubitS.cpp,
tests/TAO/MT-Cubit/server/svr.cpp,
tests/TAO/cubitS.cpp,
tests/TAO/svr.cpp,
tests/TAO/test1_svr.cpp: Changed BOA to POA to reflect the
new naming conventions.
* tao/stub.i (STUB_Object): Removed a stray default value from the
STUB_Object constructor... Thanks to Carlos for noticing this.
MOn Oct 20 10:14:09 1997 Aniruddha Gokhale <gokhale@mambo.cs.wustl.edu>
* Improved version of the TAO IDL compiler. The executable has
been renamed to tao_idl. There are a number of improvements as
well as shortcomings. These are explained in the
docs/releasenotes/index.html page, which can be viewed online at
http://www.cs.wustl.edu/~schmidt/ACE_wrappers/TAO/docs/releasenotes/.
Mon Oct 20 16:30:29 1997 Chris Cleeland <cleeland@cs.wustl.edu>
* tao/tao_internals.cpp (fake_service_entries_i): Based the
arguments to the faked server service entry for VxWorks on the
TAO_HAS_TSS_ORBCORE compilation flag. This should hopefully
eliminate the problems Boeing was seeing in the early rounds of
testing the most recent release of TAO.
* tao/{iiopobj.*,giop.h}: Moved a lock that had been in
TAO_GIOP_Invocation (why? I don't know) into IIOP_Object. It
protects the fwd_profile_ pointer, which has now become private.
Also added accessors for the data member as well as the lock.
Accessors come in two flavors--thead-safe (fwd_profile()) and
non-thread-safe (fwd_profile_i()). The non-thread-safe variety
expect that the lock will be taken and held for the duration of
their usage, but no checking is performed in this respect.
* tao/giop.cpp: Changed references to the IIOP_Object::fwd_profile
data member to go through the new accessors (see above).
* tao/stub.i: Created new file with inline methods for
STUB_Object.
* tao/stub.h: Moved inline method definitions into a new
file--stub.i.
* tao/orbobj.cpp (BOA_init): Eliminated dead code and unused
variable.
* tao/except.cpp (print_exception): Eliminated unused argument
warning detected by gcc.
* tao/corba.h: Re-ordered inclusion of Orb_Core.i to eliminate
'function used before declared inline' errors detected by gcc.
* tao/{Orb_Core,boa,corbacom,orb,orbobj,svrrqst}.*: Renamed BOA to
POA.
* docs/releasenotes*: Moved releasenotes.html into a directory
named "releasenotes" so that the various status pages can live
independently. Currently only the ORB Core's status page is
broken out, but the documentation should eventually turn into two
frames with the one at the top acting as the guide and the lower
frame being the actual status document.
Fri Oct 17 17:42:27 1997 Chris Cleeland <cleeland@cs.wustl.edu>
* docs/releasenotes.html: Updated to reflect current status.
* tao/orbobj.*: Added some documentation for open() method.
* tao/roa.*: Gone. Bye-bye. Removed.
Fri Oct 17 15:43:04 1997 <nw1@CHA-CHA>
* tao/connect.h: Added template instantiation supression directive
for Win32. VC was complaining about duplicate symbols definition.
Fri Oct 17 06:25:23 1997 Chris Cleeland <cleeland@cs.wustl.edu>
* tao/{boa,roa}.*: Merged class ROA into class
CORBA_BOA. Hopefully everything still works ;-)
* docs/releasenotes.html: Quick update for new TODO list. Will be
updated within the next day or so with dates, too.
* tao/{server_factory,orbobj,Orb_Core}.cpp: Corrected incorrect
explicit template instantiations and added missing ones.
Thu Oct 16 23:48:04 1997 Douglas C. Schmidt <schmidt@cs.wustl.edu>
* TAO version 0.0.12, released Thu Oct 16 23:48:04 1997.
Thu Oct 16 11:15:00 1997 Brian R. Mendel <brian.r.mendel@boeing.com>
* tao/server_factory.cpp: Added instantiation pragma for VxWorks for
ACE_Acceptor. Added the template to the specialization section, also.
* tao/orbobj.cpp: Added instantiation pragma for VxWorks for
ACE_Cached_Connect_Strategy and ACE_Hash_Map_Manager for
ACE_Null_Mutex instantiations. Also, added these to the template
specialization sections.
* tests/Cubit/Build/default.bld: Added TAO_PLATFORM_SVC_CONF_FILE_NOTSUP
to defines section of GHS build file.
Tue Oct 14 21:11:20 1997 Douglas C. Schmidt <schmidt@flamenco.cs.wustl.edu>
* tao/xdr.h: Changed int _fd to ACE_HANDLE _fd to work on NT.
Thanks to Satheesh Kumar <satheesh@aspectdv.com> for reporting
this.
Tue Oct 14 02:48:21 1997 Douglas C. Schmidt <schmidt@cs.wustl.edu>
* TAO version 0.0.11, released Tue Oct 14 02:48:21 1997.
Mon Oct 13 23:30:16 1997 <irfan@TWOSTEP>
* tao/connect.h: If we are using TSS, there is no reason to use
locking in the connector. Therefore, I added a new typedef that
defines the type of lock that should be used for the
cached_connect_strategy. It is ACE_SYNCH_RW_MUTEX in the
non-TSS case, and ACE_SYNCH_NULL_MUTEX in the TSS case.
Mon Oct 13 21:34:00 1997 Douglas C. Schmidt <schmidt@flamenco.cs.wustl.edu>
* tao/svrrqst.cpp (oa): Cleaned up the coding style a bit.
Sun Oct 12 15:38:35 1997 Douglas C. Schmidt <schmidt@flamenco.cs.wustl.edu>
* tao/client_factory: Gutted the client factory code related to
the Strategy_Connector so that it's either in the TAO_Orb_Core.
* tao/default_client.h: Removed the connector() from the
Default_Client_Factory entirely since it's all been put into the
TAO_ORB_Core now.
* tao/giop.cpp (start): Hacked up the code so that we extract our
connector from thread-specific storage if we're using the
thread-per-rate concurrency model. This needs to be integrated
more cleverly in the ORB.
* tao/orbobj.h: Put an instance of the TAO_CONNECTOR into each
TAO_ORB_Core object so that we don't have to share these things
among all of the threads in a process, but instead can have them
be located in thread-specific storage.
* tao/orbobj.cpp (perform_work): Updated the run() and
perform_work() methods to take optional ACE_Time_Value *'s (so
they can return from timeouts) and to return error flags if
things go wrong.
* tao/orbobj.h (CORBA_ORB): Changed the set_up_for_listening()
call to open(), which is more consistent with other usage in
ACE/TAO.
* tao/orbobj: Changed the name client_acceptor_ to peer_acceptor_
to reflect the fact that the connection model is more generic
than the notion of client/server interactions (which really take
place as the result of particular communication roles).
* tao/corba.h: Moved the order of #includes around so that
"connect.h" is included before "client_factory.h"
* tao/connect.h: Moved the typedef of the ACE_Strategy_Connector<>
from the TAO_Client_Strategy_Factory into the global space and
renamed it TAO_CONNECTOR file so that it will be equivalent with
the TAO_ACCEPTOR.
Thu Oct 9 23:17:37 1997 Douglas C. Schmidt <schmidt@merengue.cs.wustl.edu>
* tao/giop.cpp (invoke): If an error occurs, make sure to mark the
handler_ as no longer being in use before we set it to 0.
* tao/giop.cpp (TAO_GIOP_Invocation): We need to make sure that
handler_ isn't 0 before we mark it as no longer being in use.
Thu Oct 9 11:33:46 1997 Carlos O'Ryan <coryan@macarena.cs.wustl.edu>
* tao/giop.cpp:
There was a minor sintax error.
Tue Oct 07 09:34:35 1997 <brian.r.mendel@boeing.com>
* tao/Orb_Core.h{cpp}: Added ACE_Svc_Export label to global
TAO_ORB_Core_instance() method. Needed for DLL support on NT.i
* default.bld, tao.bld: Modified VxWorks build files to add new files.
Tue Oct 07 07:05:38 1997 Douglas C. Schmidt <schmidt@cs.wustl.edu>
* TAO version 0.0.10, released Tue Oct 07 07:05:38 1997.
Mon Oct 06 22:11:40 1997 <nw1@CHA-CHA>
* tests/Cubit/TAO/cubit_i.cpp (Cubit_please_exit):
* tests/Cubit/TAO/cubitS.cpp (_skel_Cubit): Changed to use the new
TAO_ORB_CORE_instance () global function.
Mon Oct 6 20:06:05 1997 Chris Cleeland <cleeland@cs.wustl.edu>
* tao/{boa.h,connect.cpp,giop.cpp,giop.h,roa.cpp,roa.h}:
Eliminated unused methods and code.
* tao/Orb_Core.*: Created new global function called
TAO_ORB_Core_instance() which will return the correct instance of
the ORB Core state. This had previously been accessed using
TAO_ORB_CORE::instance(), but Win32s linking procedures made the
template for TAO_ORB_CORE expand in both the application and the
library/DLL, thus creating two singletons. Bad scene. The
function should force the expansion of the template to only be in
the DLL.
* tao/{connect,default_client,default_server,orbobj,roa}.cpp:
Changed references to TAO_ORB_CORE::instance() to
TAO_ORB_Core_instance().
* tao/singletons.h: Removed definition of TAO_ORB_CORE.
Sat Oct 4 20:08:57 1997 Nanbor Wang <nw1@cumbia.cs.wustl.edu>
* tao/TAO.{dsp,dsw}: Added tao_internals.cpp into project file
list.
* tao/tao_internals.h (TAO_Internal): Added ACE_Svc_Export and
$ I d $.
* tao/tao_internals.i (open_services): Added default return value
0.
* tao/tao_internals.cpp: Added #include "tao/tao_internals.h" and
the CVS $ I d $ field. Also, we should include inline (.i) file
for inline code.
Fri Oct 3 09:29:05 1997 Chris Cleeland <cleeland@merengue.cs.wustl.edu>
* tests/multiCubit/svr.cpp: Changed the key naming scheme back to
not be unique throughout the process. Process-unique code is
still there, but conditionally compiled mutually-exclusive to the
other scheme.
* tao/server_factory.*: The object_lookup_strategy method is gone
and is replaced by the create_object_table factor method. See
more information below.
* tao/default_server.*: The server factory no longer holds on to a
single pointer for the object lookup strategy. In previous
incarnations of TAO, this didn't cause problems, but the advent of
ORB-per-thread highlighted the inherent badness in this
implementation choice. Gone is the object_lookup_strategy method,
and in comes the create_object_table factory method, which creates
and returns (and doesn't hold onto) an object table in accordance
with parameters such as size and search algorithm.
* tao/roa.cpp: Changed to use the create_object_table method.
Thu Oct 2 13:48:31 1997 Chris Cleeland <cleeland@merengue.cs.wustl.edu>
* tests/multiCubit/svr.cpp: Modified the key generation scheme to
include thread ID. This works around a current shortcoming in the
ORB Core in which the object table is shared throughout all object
adapters (yes, this is being fixed).
* tao/tao_internals.*: Added new class to scope static operations
and data completely internal to the ORB.
* tao/orbobj.{i,cpp}: Moved CORBA_ORB DTOR into cpp file. Finally
got rid of icky static mutex in ORB_init(). Moved service config
initialization into TAO_Internal method.
* tao/Orb_Core.h: Added comments.
Wed Oct 1 12:51:48 1997 Nanbor Wang <nw1@cumbia.cs.wustl.edu>
* tao/corbacom.h: Removed CORBA:: name resolution from the class
String_out which is itself defined in class CORBA. MSVC doesn't
like that.
Wed Oct 1 10:44:55 1997 Aniruddha Gokhale <gokhale@mambo.cs.wustl.edu>
* tao/varout.h: Fixed some template errors in class
TAO_Object_out. This was pointed to me by Carlos as he was
compiling TAO in SGI.
Wed Oct 1 09:10:38 1997 Carlos O'Ryan <coryan@macarena.cs.wustl.edu>
* docs/releasenotes.html:
Updated information on the Event Channel, the use of the Naming
Service is no longer a plan, it is done already.
Tue Sep 30 20:14:29 1997 Douglas C. Schmidt <schmidt@cs.wustl.edu>
* TAO version 0.0.9, released Tue Sep 30 20:14:29 1997.
Tue Sep 30 19:42:09 1997 Douglas C. Schmidt <schmidt@flamenco.cs.wustl.edu>
* Makefile: Removed "docs" from DIRS so we don't try to run
make in this directory.
Tue Sep 30 17:27:00 1997 Chris Cleeland <cleeland@cs.wustl.edu>
* <RELEASE>: Tagged a release for limited consumption until the
Service Configurator bug is fixed.
* tests/multiCubit/svr.cpp: Added code to properly release CORBA
objects. Delays between task activations simply aid in debugging
and are not necessary.
* tao/singletons.h: Made TAO_ORB_Core's singleton type
compile-time selectable via the TAO_HAS_TSS_ORBCORE compiler flag.
* tao/orbobj.cpp: Corrected an incorrect shift count, and the ORB
Core now defaults to using the host name of the local host.
* tao/Orb_Core.[hi]: Added explicit CTOR.
* tao/Orb_Core.cpp: Insured that the correct template type was
instantiated.
* tao/Makefile: Added -DTAO_HAS_TSS_ORBCORE to CPPFLAGS.
Tue Sep 30 16:43:12 1997 Chris Cleeland <cleeland@cs.wustl.edu>
* docs/releasenotes.html: Added some notes on the ORB Core.
Mon Sep 29 14:39:51 1997 Chris Cleeland <cleeland@cs.wustl.edu>
* docs/{index,components,releasenotes}.html: Added additional
documentation.
Mon Sep 29 13:50:34 1997 Aniruddha Gokhale <gokhale@mambo.cs.wustl.edu>
* TAO ORB changes:
any.*: Added _var and _out classes.
corbacom.{h,i} : Added _out types for primitive types, added _out and
updated _var classes for String. Added corbacom.i for implementing
the String's _var and _out classes
sequence.{h,i}: Added a number of templates for _var and _out
classes. However, these are yet to be used and tested.
* Alpha release of TAO IDL compiler added to this release. This is
an alpha release and we are currently putting it to rigorous
test. A large amount of code for the back end is added under the
TAO/TAO_IDL/be_include and TAO/TAO_IDL/be/ directories.
In addition, some amount of ACEification done to methods belonging
to the TAO/TAO_IDL/utils/ classes.
A few errors in the IDL grammar have been fixed in
fe/idl.yy. These had to do with the valid types for parameters and
operation return types. There are still some errors recognizing
unions which will be fixed later. The scanner (fe/idl.l) was
modified to recognize the OMG IDL data type "any".
* The ChangeLog file under TAO/TAO_IDL is removed and its contents
are inserted appropriately in this ChangeLog file
Sun Sep 28 17:01:27 1997 Chris Cleeland <cleeland@cs.wustl.edu>
* tests/multiCubit: Added a multi-threaded version of Cubit.
* tao/orbobj.cpp: At long last, Andy has his wish for not having
to provide a "-ORBhost <me>" argument to a server. It now uses
ACE_OS::hostname() to determine the canonical hostname, and
listens on that address.
* tao/singletons.h: Changed the ORB Core singleton to be a TSS
singleton; this will eventually be conditionally compiled in
(before release). Also added comments and "safety defines".
* tao/except.cpp: Changed some usage of fputs() in
print_exception() to use ACE_DEBUG.
Sun Sep 28 03:18:24 1997 Nanbor Wang <nw1@cumbia.cs.wustl.edu>
* tests/Cubit/TAO/cubitC.h (Object): Changed references of base
class from "CORBA::Object" to "CORBA_Object." MSVC doesn't
allow this.
* tao/Orb_Core.h: Added ACE_Svc_Export to TAO_Orb_Core class.
* tao/corbacom.h: Added ACE_Svc_Export to all IID constants.
Notice that we must put ACE_Svc_Export _after_ extern "C".
Sat Sep 27 09:31:42 1997 Chris Cleeland <cleeland@cs.wustl.edu>
* tao/Orb_Core.h: Fixed the friend declaration for
CORBA::ORB_init().
* tests/Cubit/TAO/svr.cpp: Modified to use ORB::run() for event
loop and eliminated code cruft.
* tao/orbobj.*: Added stubs for 4 methods on the ORB from the
POA spec: work_pending, perform_work, run, and shutdown. Of all
of these, only run is reasonably implemented, and there not even
according to the spec (because the way the spec works isn't really
good for our purposes...need to work on that). See the docs for
information.
Moved the initialization of the Acceptor into its own method,
set_up_for_listening (which is a one-shot style method), and
placed a call to this within the aforementioned run method.
* tao/default_client.h: Miscellaneous comments added.
* tao/connect.cpp: Corrected an errant ACE_DEBUG () call.
* tao/Orb_Core.*: Added private methods to allow setting of the
orb and extended the laurel of friendship to CORBA::ORB_init().
Fri Sep 26 10:20:06 1997 Chris Cleeland <cleeland@cs.wustl.edu>
* tao/orbobj.*: Added acceptor initialization code to CORBA_ORB
CTOR. (We still need to find a way to NOT do this on the client
side.) Moved CORBA_ORB CTOR into .cpp to avoid nasty
interdependencies caused when it was in the .i file. Moved the
specification of host and port to be ORB parameters rather than OA
parameters, i.e., -OAhost is now -ORBhost and -OAport is now
-ORBport.
* tao/roa.*: Removed server-side connection endpoint
initialization (Acceptor stuff) and put it into the ORB.
* tao/connect.h: Renamed ROA_Acceptor to TAO_Acceptor (since it's
not related to the OA any longer), and restored explicit inclusion
of ace headers to avoid having to include "corba.h".
* tao/boa.h: Removed unneeded get_addr() method.
* tests/Cubit/TAO/cubitS.cpp: Updates to support changes in ORB
Core.
Thu Sep 25 12:28:02 1997 Chris Cleeland <cleeland@cs.wustl.edu>
* tao/params.*: Added explicit CTOR & DTOR for
TAO_{OA,ORB}_Parameters classes that somehow got removed in the
previous round of attacks. Also specified all methods which go
into the .i file as "LOCAL_INLINE" within the header. This avoids
having to unravel ugly, complex order interdependencies.
Thu Sep 25 03:48:02 1997 Chris Cleeland <cleeland@cs.wustl.edu>
* docs/Options.html: Terse documentation on options available for
the abstract factories.
* tao/Orb_Core.*: Added this class (TAO_ORB_Core) to hold the
"state" of an ORB. The intent is that as we move towards
different concurrency models, this can be thrown into
thread-specific storage and remain a singleton, essentially
allowing the running of an ORB-per-thread.
* tao/singletons.h: Added this file to contain type definitions
for *ALL* ACE_Singleton<> types used within TAO. This was
motivated by a desire to eliminate the multitude of warnings
generated by g++ regarding methods being called before declared
inline, and the only way to eliminate this was to insure that all
inlined methods were seen by the compiler before the
ACE_Singleton<> definition. Thus, corba.h includes singleton.h as
the very last thing that it does.
* tao/params.*: TAO_OA_Parameters is no longer a singleton, and
because of new recognition of associations in the object model for
an ORB, lots of data members and their methods have been shuffled
to other places or eliminated. addr() now belongs in
TAO_ORB_Parameters, and root_poa_ is in TAO_ORB_Core. The
using_threads_, thread_flags_, upcall_, and forwarder_ members
have been eliminated and their roles taken over by the Concurrency
Strategies and the new Dispatch call chain implemented in my last
round of changes.
* tao/orbobj.cpp: Changed references to the ORB singleton to go
through TAO_ORB_CORE::instance(). Also eliminated an unnecessary
global function (_orb()).
* tao/marshal.h: Moved all ACE_Singleton<> typedefs into
singleton.h. See comment on tao/corba.h for more information.
* tao/iioporb.h: Removed unnecessary TAO_ORB singleton. This is
now assumed by TAO_ORB_Core instances.
* tao/corbacom.h: Added CORBA::POA_ptr for upward compatibility.
* tao/corba.h: Added Orb_Core.[hi] to the appropriate places.
Moved iiop{orb,obj}.i inclusions around and moved typedef'ing of
all ACE_Singletons into singletons.h, which must be #included
AFTER all the inline files. This eliminated all of the
used-before-declared-inline warnings.
* tao/{connect,default_client,default_server,roa}.*: Updated
singleton usages to go through the TAO_ORB_CORE singleton.
* tests/Cubit/TAO/{cubitS,cubit_i}.cpp: Updated singleton usages
to go through the TAO_ORB_CORE singleton.
Wed Sep 17 12:26:56 1997 Nanbor Wang <nw1@CHA-CHA>
* tao/TAO.dsp: Updated source file list.
Mon Sep 15 16:52:28 1997 Chris Cleeland <cleeland@merengue.cs.wustl.edu>
* tests/Cubit/TAO/{cubitS,cubit_i}.cpp: Updated references to oa()
to root_pos().
* tao/orbobj.cpp: Corrected some adjustments made for Service
Configurator rework.
* tao/giop.h: Moved the def for TAO_GIOP_EndOfFile out of the
range of valid GIOP messages.
* tao/connect.cpp: Added special case for TAO_GIOP_Reply to break
out, and distinguished TAO_GIOP_EndOfFile from other errors by
setting errno.
* tao/boa.cpp: The complete reply header is now stuck into the
response stream...what a novel concept!
Fri Sep 12 05:40:50 1997 Chris Cleeland <cleeland@cs.wustl.edu>
* params.h: Renamed oa() method to be root_poa() in preparation
for the future.
* orbobj.cpp: Adjusted the FAKE_SVC_ENTRY macro to catch up to
recent changes in ACE.
* giop.*: Major surgery including elimination of GIOP as a giant
namespace (now only static methods are in it). Changed names of
things to TAO_*.
* {encode,decode,iiopobj,invoke,roa}.*: Name changes resulting
from giop.cpp surgery.
* corbacom.h: Moved TAO_opaque decl into here.
* corba.h: Re-ordered the inline #includes so that the stuff that
is ALWAYS inlined is included prior to the stuff that's only
inlined when __ACE_INLINE__ is turned on.
* connect.*: Modified handle_input() substantially. Added 3
template methods: read_message, handle_message, and send_response.
* {cdr,marshal,object,typecode}.h: Removed the old "always include
inlines" hackery.
* boa.*: Added handle_request() method.
Wed Sep 03 06:15:00 1997 Brian Mendel <brian.r.mendel@boeing.com>
* tao/default_client.cpp: Added conditional sections around the code for setting the
socket options for VxWorks. VxWorks does not support a 64K buffer size.
Tue Sep 02 18:32:12 1997 Brian Mendel <brian.r.mendel@boeing.com>
* tao/orbobj.cpp: Added include for Service_Repository.h to orbobj.h
* tao/debug.cpp: Removed the TAO_NEEDS_UNUSED_VARIABLES #defines
around the debug_stream declaration. debug_stream is used by
dmsg_filter in debug.cpp. Changed SYSTEM_EXCEPTION to
CORBA::SYSTEM_EXCEPTION.
* tao/default_client.cpp: Removed extra parameter from
ACE_Hash_Map_Entry #pragma instantiate statement.
* tao/objtable.cpp: Deleted pragmas for instantiating ACE_Guard,
ACE_Read_Guard, and ACE_Write_Guard to eliminate duplicate
instantiations. Also, removed the instantiations from
ACE_HAS_EXPLICIT_TEMPLATE_INSTANTIATION for the same reason.
* tao/orbobj.cpp: Added a typecast to void * in argvec_shift
method.
* tao/default.bld - Modified VxWorks Build File to change template
instantiation modes.
* tao/tao.bld - Added default_client.cpp, default_server.cpp,
client_factory.cpp, and server_factory.cpp to the VxWorks build
file.
* tao/tao.dsp - Added default_client.cpp, default_server.cpp,
client_factory.cpp, and server_factory.cpp to the Win NT project
file.
Tue Sep 2 07:31:45 1997 Chris Cleeland <cleeland@cs.wustl.edu>
* tao/orbobj.cpp (ORB_init): VxWorks doesn't use
ACE_Service_Config for now; the default factories are used. The
Service Repository is still used, but the appropriate values are
"stuffed" in manually.
Sat Aug 30 17:07:18 1997 Aniruddha Gokhale <gokhale@mambo.cs.wustl.edu>
* tests/Thruput: First attempt at ACEifying it and removing the
tremendous amount of unnecessary stuff that was in there. This
modified version still needs testing on other platforms.
Fri Aug 29 10:59:34 1997 Chris Cleeland <cleeland@lambada.cs.wustl.edu>
* tao/Makefile (TAO_ROOT): FINALLY corrected the default
definition of TAO_ROOT.
Thu Aug 28 14:04:44 1997 Chris Cleeland <cleeland@cs.wustl.edu>
* tao/orbobj.i (CORBA_ORB): Removed assertion that was incorrect
b/c our ORB object is a singleton and not dynamically allocated,
thus the refcount can only reach zero at the end of its life.
* tao/typecode.cpp (TC_Private_State): Relocated the delete of
tc_discriminator_type_ to be after the deletion of the label list.
This is because the discriminator will be inside each of the
CORBA::Any instances within the label list, and deleting it before
deleting the label list results in extreme badness.
* tao/typecode.* (operator delete): Added CORBA_TypeCode::operator
delete() to simplify deletion of both automatically and
dynamically allocated instances of CORBA_TypeCode. This fixes the
problem of freeing non-heap memory.
* tao/nvlist.h (CORBA_NamedValue): Initialized refcount_ in the
CTOR.
Mon Aug 18 16:39:40 1997 Carlos O'Ryan <coryan@mambo.cs.wustl.edu>
* Makefile for TAO compiler:
$(SOEXT) must be used instead of just .so, the former does not
work on all platforms, notably HP-UX.
Mon Aug 18 16:39:29 1997 Carlos O'Ryan <coryan@mambo.cs.wustl.edu>
* tao/Makefile:
* tests/Demux_Test/CodeGen/Makefile:
$(SOEXT) must be used instead of just .so, the former does not
work on all platforms, notably HP-UX.
Sun Aug 17 16:53:42 1997 Carlos O'Ryan <coryan@swarm.cs.wustl.edu>
* IIOP/test/Orbeline/client/Profile_Timer.h:
* IIOP/tests/Cubit/VisiBroker/base_server/Profile_Timer.cpp:
* IIOP/tests/Cubit/VisiBroker/base_server/Profile_Timer.h:
* IIOP/tests/Cubit/VisiBroker/client/Profile_Timer.cpp:
* IIOP/tests/Cubit/VisiBroker/client/Profile_Timer.h:
* tests/Cubit/VisiBroker/base_server/Profile_Timer.cpp:
* tests/Cubit/VisiBroker/base_server/Profile_Timer.h:
* tests/Cubit/VisiBroker/client/Profile_Timer.cpp:
* tests/Cubit/VisiBroker/client/Profile_Timer.h:
We no longer use timestruct_t in ACE, it is a SYSVism; we use
timespec_t instead.
Sat Aug 16 01:11:56 1997 Chris Cleeland <cleeland@cs.wustl.edu>
* tests/Cubit/TAO/svc.conf: Added this as an example of an
application's service config configuration file. It also serves
as the documentation for various strategy factory options at the
moment.
* tao/orbobj.cpp: Options parsed by the ORB are now
-ORBsvcconf <filename> specifies the service configurator
file to be used
-ORBdaemon turn this into a daemon
-ORBdebug turns debugging on in the service
configurator
BOA_init() now sets the itself in the TAO_OA_Parameters singleton.
* tao/orbobj.*: Changed client_factory(), server_factory(), and
params() to return pointers rather than references.
* tao/{roa,giop}.cpp: Updated code that uses the
CORBA::ORB::client_factory() to deal with the fact that it now
returns a pointer rather than a reference.
* tao/default_server.cpp (init): This method now properly
initializes the contained reactive and threaded strategies so that
they're actually usable!
* tao/connect.cpp: Added #endif comments.
Wed Aug 13 17:42:39 1997 Chris Cleeland <cleeland@cs.wustl.edu>
* tests/Cubit/TAO/*: Converted to the CORBA:: namespace.
* tao/default_server.h: Eliminated a few strategy accessors since
they aren't provided by this implementation.
* tao/default_server.cpp: Made this compile.
* tao/corbacom.h: Slight reformatting of code. More importantly,
added 'static' to the decl of ORB_init().
* tao/corba.h: Added fake comment to trigger C++ mode.
* tao/any.h: Added #endif comments.
Tue Aug 12 22:37:06 1997 Douglas C. Schmidt <schmidt@tango.cs.wustl.edu>
* tao/{any,typecode,cdr}.h: Finished appeasing the compiler gods
so that we can remove the ACE_INLINE hack. Things now seem to be
in order.
* tao/corba.h: Got all the frigging header *.i files #included in
the right order so that the GCC compiler stops complaining.
* tao/giop.cpp: We had method definitions that were defined inline
within the giop.h file. This was causing problems for GCC, which
kept warning that methods in the cdi.i file were being used before
being inlined. I've fixed this by creating a giop.i file.
* tao/corba.h: Add #include files should be prefixed by "tao/".
I've fixed this in the release.
Tue Aug 12 16:23:17 1997 Chris Cleeland <cleeland@cs.wustl.edu>
* tao/any.i: Added a missing replace() method used by overloaded
operators.
* tao/{any,cdr}.h: Added conditional ACE_INLINE before the decl
for a few methods whose usage in other inlined methods appears
prior to their definition.
* tao/default_client.cpp: Eliminated names of unused arguments to
stop the compiler from complaining.
* tao/server_factory.cpp: Properly scoped return type names for
several methods.
* tao/{typecode,decode,deep_copy,debug}.cpp: Bracketed unused
variables with #if defined(TAO_NEEDS_UNUSED_VARIABLES)/#endif;
this leaves them around for right now in case they're important.
* tao/client_factory.i (connector): Properly scoped return type's
name.
* tao/{client_factory,default_client}.cpp: Added necessary
template instantiations.
* tao/{typecode,cdr}.h: Added conditional ACE_INLINE in front of
inlined methods to appease the compiler gods.
* tao/boa.cpp (dispatch): Declared argument unused to get rid of
warnings.
* tao/corbacom.h: Moved #include of sequence.h before the decl for
class CORBA.
Sun Aug 10 10:58:21 1997 Douglas C. Schmidt <schmidt@tango.cs.wustl.edu>
* tao/client_factory: Moved the template specializations from the
*.cpp file into the *.i file in order to get this stuff to link
without multiply defined symbols. Thanks to Brian Mendel for
giving me the idea to do this.
* tao/client_factory.cpp: Added a template specialization for
ACE_Hash_Addr.
Sun Aug 10 08:56:20 1997 Aniruddha Gokhale <gokhale@mambo.cs.wustl.edu>
* CORBA_ to CORBA:: transformation complete. All the files in the
TAO/tao distribution have been affected. The most notable changes
are:
(1) A file called "tao/corba.h" is now the master file. All *.cpp
files include *just* this file and nothing else.
(2) "tao/corbacom.h" is the file that defines the CORBA namespace
i.e., class CORBA. Individual CORBA classes such as TypeCode, BOA,
etc are now defined inside the CORBA namespace. This will allow
users and developers to use CORBA::TypeCode as opposed to the
previous CORBA_TypeCode. Instead of nesting the classes, however,
we use typedefs to define individual CORBA classes inside class
CORBA e.g., typedef CORBA_TypeCode TypeCode;
(3) All *.i files are included at the end of "tao/corba.h" and
nowhere else. However, if __ACE_INLINE__ isnot defined, then each
individual *.i file is not yet included in their corresponding
.cpp file. This will be done next.
* TAO/tests/Demux_Test: Included code that tests various
demultiplexing strategies in TAO. At this point, however, the code
will not work because of changes in TAO. This will be done
next. A README file provides additional details.
* TAO/Benchmark: A suite of benchmarking tests have been
included. This is still in the preliminary stages of
development. The idea is to compare various aspects of CORBA such
as marshaling overhead, demux costs, throughput, latency, and
others for a range of ORBs including TAO. Since there are
differences in programming different ORBs, this suite tries to
abstract out all the common features or atleast provide a uniform
interface so that minimal efforts are required to port an
application from one ORB to another.
Benchmark/benchmark: This directory contains thecommon features
Benchmark/Marshal_Test: Tests marshaling overhead in 3 ORBs -
Orbix, VisiBroker, and TAO. More will be added. There are a few
problems getting DSI to work. The tech support at IONA and
VisiBroker have been contacted.
Sat Aug 9 14:05:08 1997 Douglas C. Schmidt <schmidt@merengue.cs.wustl.edu>
* tao: Continued to clean up all the code so that it is more
consistent with ACE programming style.
* tao/orbconf.h: Cleaned up a lot of the unnecessary #defines.
* tao/default_server.h: Make sure we inherit from
TAO_Server_Strategy_Factory, not TAO_Server_Factory.
* tao/server_factory.cpp: Moved all the inline methods to be
non-inline since this code will always be dynamically bound.
* tao/client_factory.cpp: Cleaned things up a bit.
Sat Aug 9 12:37:05 1997 Brian Mendel <brian.r.mendel@boeing.com>
* tao/corba.h: Deleted include for xdr.h from corba.h. xdr.h
is obsolete.
* tao/objtable.cpp: Deleted pragmas for instantiating ACE_Guard,
ACE_Read_Guard, and ACE_Write_Guard to eliminate duplicate
instantiations. The templates are instantiated by ACE. Can these
templates also be removed from the
ACE_HAS_EXPLICIT_TEMPLATE_INSTANTIATION section as well?
* tao/default.bld: Added build file for VxWorks.
* tao/tao.bld: Added build file for VxWorks.
Fri Aug 8 14:25:20 1997 Chris Cleeland <cleeland@cs.wustl.edu>
* tao/orbobj.*: Updated various methods to use the new
dynamically-linked strategy factories discussed below.
* tao/default_client.*: This file now contains the default client
strategy factory which is (a) dynamically linkable by the service
configurator and (b) can be configured by flags passed in via
service configurator.
* tao/client_factory.*: This file now contains the abstract base
class for the client strategy factory.
* tao/default_server.*: This file now contains the default server
strategy factory which is (a) dynamically linkable by the service
configurator and (b) can be configured by flags passed in via
service configurator.
* tao/server_factory.*: This file now contains the abstract base
class for the server strategy factory.
* tao/params.*: Renamed DEMUX_STRATEGY enum to TAO_Demux_Strategy
and put it at global scope instead of within TAO_OA_Parameters.
* tao/svc.conf.eg: Created this file to serve as an example of
various lines one might find in an application's svc.conf.
Thu Aug 7 09:51:31 1997 Aniruddha Gokhale <gokhale@mambo.cs.wustl.edu>
* factories.cpp: Incorrect use of ACE_ASSERT in
TAO_Server_Factory::object_lookup_strategy removed.
* objtable.cpp: The octet sequence object key was being cast into
a char* resulting in undefined behavior at times due to the lack
of a NULL character to terminate it. Changes were made in the bind
and find methods of TAO_Active_Demux_Table.
Thu Aug 07 03:52:31 1997 Douglas C. Schmidt <schmidt@cs.wustl.edu>
* TAO version 0.0.8, released Thu Aug 07 03:52:31 1997.
Thu Aug 7 00:43:14 1997 Douglas C. Schmidt <schmidt@tango.cs.wustl.edu>
* tao/typecode.cpp: A couple of errors involving TAO_CONST crept
in when Brian checked in his code. I fixed these.
Wed Aug 6 18:28:41 1997 Chris Cleeland <cleeland@swarm.cs.wustl.edu>
* tests/Cubit/TAO/clnt.cpp (main): Corrected the format
specifications when timing was printing out from %ld to %d. For
some reason this never caused a problem on other platforms.
Wed Aug 6 17:27:44 1997 Brian R. Mendel <brian.r.mendel@boeing.com>
* tao/typecode.h: Removed qualified name in typecode.h to eliminate
compiler warnings by the GHS compiler. Line 297.
* tao/decode.cpp: Changed wchar_t* to CORBA_WChar* to eliminate
compiler errors on GHS compiler. Lines 142, 216, 729, 1371, and 1475.
* tao/typecode.cpp: Deleted unreachable break statements at lines
429, and 477, 904, and 947.
Wed Aug 6 16:31:29 1997 Chris Cleeland <cleeland@swarm.cs.wustl.edu>
* tao/*: Changed 'const' to 'TAO_CONST' in contexts where the
const didn't make sense. For example, this occurred in situations
where methods declared their return type as 'const CORBA_String',
which does not translate to 'const char*' but rather 'char*
const'.
* tao/corbacom.h: Added #define for TAO_CONST. See above for
explanation.
* tao/{connect,factories,giop,iiopobj,marshal,objtable,
optable,orbobj,roa}.cpp: Removed errant trailing semi-colon on all
the #pragma instantiate directives.
Wed Aug 6 13:56:40 1997 Chris Cleeland <cleeland@cs.wustl.edu>
* tao/{connect,factories,giop,iiopobj,marshal,objtable,
optable,orbobj,roa}.cpp: Changed explicit template instantiations
to use the new ACE enabling macro as well as adding the #pragma
instantiate to placate Edison Design Group compilers.
* tao/cdr.h: Changed default for CDR CTOR marshal factory to
reflect the new name of the default marshal factory variable.
* tao/orbobj.cpp (CORBA_ORB_init): Inserted call to
TAO_Marshal::initialize().
* tao/marshal.*: Added TAO_Marshal class to scope static
initialization methods for the marshalling engine.
TAO_DEFAULT_MARSHAL_FACTORY has moved inside of this.
Sun Aug 3 13:12:03 1997 Douglas C. Schmidt <schmidt@tango.cs.wustl.edu>
* tests/Cubit/TAO: Continued to improve the formatting of these
tests.
Sat Aug 2 13:55:40 1997 Douglas C. Schmidt <schmidt@tango.cs.wustl.edu>
* tests/Cubit/TAO: Cleaned up some of the formatting so that
it is easier to read.
Thu Jul 31 16:19:43 1997 Chris Cleeland <cleeland@cs.wustl.edu>
* tao/corba.h: Removed incorrect #include "tao/corba.h" in this
file. Bad form.
Thu Jul 31 15:19:43 1997 Chris Cleeland <cleeland@cs.wustl.edu>
* tests/Cubit/TAO/*.{h,i,cpp}: Changed all #include of specific
header files to include the application-level "tao/corba.h".
* tests/Cubit/TAO/Makefile (BIN): Removed test1_svr and test1_clnt
for now until we can get them working again. They stopped working
after the BOA API changed and the non-standard get_request()
method removed.
* tao/any.h: Inserted #includes which insure that this header file
is not position-dependent on other header files.
* tao/corba.h: Created this catch-all header file for APPLICATIONS
to use as a single entry point. Currently it just includes all
TAO header files, but will eventually be pared down to only those
headers which warrant public exposure.
Wed Jul 30 16:55:02 1997 Chris Cleeland <cleeland@cs.wustl.edu>
* tao/typecode.i (CORBA_TypeCode): Re-ordered member
initialization to correspond to declaration order.
* tao/{typecode,orbobj,optable,decode,cdr}.cpp: Added explicit
typecast to CORBA_ULong/unsigned long to eliminate warnings about
comparisons btw. signed and unsigned entities.
* tao/optable.cpp (bind): Put in explicit return type for
TAO_Active_Demux_OpTable::bind().
Wed Jul 30 14:18:02 1997 Chris Cleeland <cleeland@cs.wustl.edu>
* tao/Makefile: Corrected automatic definition of TAO_ROOT and
fixed all dependencies on tao header/inline files.
* tao/{typecode,object}.i: Moved a few methods to the beginning of the file
so that the compiler KNOWS that they are inlined when it hits the
first reference to them later in the file.
* tao/object.cpp: Added an end-of-line to silence a very picky SGI
compiler.
Wed Jul 30 10:05:38 1997 Douglas C. Schmidt <schmidt@tango.cs.wustl.edu>
* tao/connect.cpp: Removed a number of explicit template
instantiations that are already included in ACE.
Wed Jul 30 14:20:18 1997 Darrell Brunsch <brunsch@cs.wustl.edu>
* tao/boa.{i,h,cpp}: Removed the #include of "tao/objtable.h" and
instead moved the methods that needed it from boa.i to boa.cpp
Wed Jul 30 13:58:02 1997 Darrell Brunsch <brunsch@cs.wustl.edu>
* tao/boa.h: Added #include of "tao/objtable.h" since it is needed
in boa.i (which is included here when inlining is turned on)
Wed Jul 30 10:05:38 1997 Douglas C. Schmidt <schmidt@tango.cs.wustl.edu>
* tao/boa.h: Removed the #include of "tao/objtable.h" which seems
to be unnecessary and may cause problems for template
specialization.
* tao/iiopobj.i (IIOP_Object): Changed the second parameter to the
IIOP_Object constructor so that we can is a const
IIOP::ProfileBody &. This prevents a compiler warning.
* tao/typecode.cpp (private_id): Removed unused variable status.
* tao/objtable.cpp (bind): Removed the temp variable, which
was unused.
Tue Jul 29 19:31:11 1997 Douglas C. Schmidt <schmidt@flamenco.cs.wustl.edu>
* tao/boa.cpp (get_boa): Added casts of ACE_UINT32 so that we
don't have ambiguous calls to the constructor of ACE_INET_Addr.
* tao/deep_copy.cpp (deep_copy): Removed an unreachable return
value.
Mon Jul 21 15:08:36 1997 Chris Cleeland <cleeland@cs.wustl.edu>
* TAO version 0.0.7, released Mon Jul 21 15:08:36 1997.
Mon Jul 21 12:06:16 1997 Darrell Brunsch <brunsch@cs.wustl.edu>
* tao/object.cpp: removed the #include of object.i since it will
always be #included in object.h
Thu Jul 17 16:54:38 1997 Douglas C. Schmidt <schmidt@cs.wustl.edu>
* TAO version 0.0.6, released Thu Jul 17 16:54:38 1997.
Thu Jul 17 16:43:23 1997 Chris Cleeland <cleeland@cs.wustl.edu>
* tao/{optable,objtable}.cpp: Updated the explicit template
instantiations at the end of these files to reflect the changes
that Andy made.
Thu Jul 17 10:08:45 1997 Aniruddha Gokhale <gokhale@merengue.cs.wustl.edu>
* tao/align.h: A very subtle error in "align_binary" was corrected. I
was assuming that align_binary is always called by
"ptr_align_binary". In the original inline function versions of
align_binary and ptr_align_binary, the function align_binary would
subtract 1 from the specified alignment that ptr_align_binary
provided. Since I assumed that "align_binary" would always be
called by "ptr_align_binary", I subtracted the 1 in
ptr_align_binary and passed the result to "align_binary". This
caused all sorts of problems for application code that directly
called "align_binary". This error has been fixed. The macros for
align_binary and ptr_align_binary are now exactly as the original
inline functions.
* tao/any.{h,cpp}: Added comments. In addition, in the code for
Any::replace, we check if "_value" exists before trying to
DEEP_FREE it. Otherwise this was resulting in a segmentation fault
violation.
* tao/boa.{h,i}: Added comments and changed "release" to CORBA_release
* tao/cdr.{h,cpp}: Added some comments and removed some stuff that was
under #if 0 .. #endif
* tao/corbacom.h: Added lots of comments for the CORBA_String_var class
* tao/decode.cpp: Made TAO_Marshal_Union::decode to work, added comments.
* tao/encode.cpp: Made TAO_Marshal_Union::encode to work, added comments.
* tao/factories.{h,cpp}: Added lots of comments. Removed "void
object_lookup_strategy" method since we do this in the parameters
class. Added code that will use a user defined lookup strategy if
the corresponding flag is set. This needs to be tested.
* tao/iiopobj.{i,cpp}: In the allocation and deallocation of the buffer
for object key, we now use "new/delete" instead of "malloc/free".
* tao/interp.cpp: commented out a line that decremented 4 from the
offset provided for indirected typecodes. I guess this was plain
hack to get some broken things to work.
* tao/objtable.{h,cpp}: Added lots of comments. Added code that will use
template specialization for the dynamic hashing case. In addition,
improved the destructors of the classes since previously, these
were not releasing occupied memory.
* tao/optable.{h,cpp}: Added lots of comments. Added template
specialization for dynamic hashing scheme. Made dynamic hashing
scheme the default. Added a new definition for "struct
TAO_operation_db_entry". The idea is that an IDL compiler will
generate a database of operations and their corresponding
skel_ptrs. Such a database is now passed to teh constructors of
the operation lookup tables. This way, only one instance of such
lookup tables can be shared by any number of objects implementing
the same interface.
* tao/params.{h,i,cpp}: Made dynamic hashing the default. Added a hook
by which users can supply their lookup strategies. *Needs testing*.
* tao/typecode.{h,i,cpp}: Added comments and many changes. The private
state's constructor now takes an argument that is a TCKind
representing the TypeCode kind of the object of which we are the
private state. Removed "child_free". Instead, we introduced a
destructor for the private state that frees all the
children. Another important change is to the constructor of the
TypeCode class. We pass a "parent" pointer, if any, to the
constructor. All children typecodes will share the octet buffer of
the parent. Only freestanding typecodes will allocate octet
buffers. We have a new data member called "non_aligned_buffer_"
because the buffer we allocate may not be aligned on a 4 byte
boundary. As a result, we may start using the buffer at a shifted
position to the right. However, we do not want to lose a handle to
the original buffer that was allocated because at the time of
freeing, this pointer needs to be freed.
* tests/Cubit/TAO: Modified a few files (method_db.i, cubitS.cpp)
so that they use the modified optable and objtable classes. Added
a README file to indicate how to run the example.
* tests/Thruput_test: Modified virtually all the files to make it
work with the latest TAO release and its include files. Also,
changes similar to Cubit were necessary due to changes in the
objtable and optable classes.
Wed Jul 16 14:17:01 1997 Chris Cleeland <cleeland@merengue.cs.wustl.edu>
* tao/params.*: Eliminated unnecessary
ACE_LACKS_STATIC_DATA_MEMBER_TEMPLATES checks from
TAO_OA_Parameters (unnecessary b/c it's not a template). Also
corrected the type of TAO_OA_Parameters::ace_singleton_lock_.
Wed Jul 16 11:34:36 1997 Chris Cleeland <cleeland@cs.wustl.edu>
* tao/boa.cpp: Removed some unused code.
* tao/compat/objbase.h: Added explicit check for prior inclusion
of ace/OS.h, with an error being produced if it's not included.
This will help keep me honest and remember to always include OS.h
beforehand, since I do most of my development on non-WIN32
platforms.
* tao/*.{h,cpp}: Added #include "ace/OS.h" before every inclusion
of <objbase.h>. This is required on WIN32 platforms because
objbase.h eventually ends up including <winsock.h>, which is the
wrong version of winsock from what ACE requires. Thus, by
including OS.h prior to objbase.h, objbase.h ends up not trying to
include a winsock header.
* tao/orbobj.cpp: Added missing #include for tao/debug.h.
Wed Jul 16 10:55:55 1997 Darrell Brunsch <brunsch@cs.wustl.edu>
* tao/PC_Install.bat: removed it since it isn't needed anymore
* tao/TAO.dsp: Changed include path and removed calling of
PC_Install.bat
* tests/Cubit/TAO/{client,server}.dsp: Changed include path
Tue Jul 15 16:13:53 1997 Chris Cleeland <cleeland@cs.wustl.edu>
* tests/Cubit/TAO/cubitC.cpp: Added missing calls to Release()
after QueryInterface() calls. The tip-off that this wasn't
happening was the fact that, upon client exit, there were upwards
of 15 references to the object references. Now it's only 5-7
(more work to go).
* tests/Cubit/TAO/*: Changed all #include paths to be "tao/...".
Also, changes to orb.h (see below) obviated additional header
inclusion in certain files.
* tao/compat/*.h: Changed the guts of these files so that they
work more like their "real" counterparts in the VC++ 5.0. This
should encourage compatibility. Note that, unlike the previous
files, objbase.h MUST be included before initguid.h; this is
consistent with the model on WIN32.
* tao/*.{h,cpp}: Changed all #include paths to be "tao/...".
Also, changes to orb.h (see below) obviated additional header
inclusion in certain files.
* tao/giop.cpp: Removed get_request() crufty old code.
* tao/iiopobj.cpp: Backed out many prior special-code additions
for defining IIDs. Hopefully the need for these is negated by
changes elsewhere in the "compat" files.
* tao/object.cpp: Corrected the conditional compilation switch
used to determine if we define IID_IUnknown. This now happens
whenever WIN32 isn't defined, instead of before when it was only
on unix or vxworks platforms.
* tao/Makefile: Eliminated the need to copy files into a "proto/"
directory; now, everything is built into and used from the "tao"
directory.
There is also a new, optional, environment
variable--TAO_ROOT--which should be set to the ".../TAO"
directory. If it's not set, the Makefile will set it to
$WRAPPER_ROOT/TAO.
Lastly, libcorba.* has changed to libTAO.*.
* tao/orb.h: Eliminated many header files which had been
explicitly included here and were causing all manner of problems
with circular includes. Library components must now be careful to
include appropriate headers for all components they use, and we
will likely have to create a corba.h file for clients to use.
Fri Jul 11 12:12:40 1997 Darrell Brunsch <brunsch@cs.wustl.edu>
* tao/TAO.dsp: changed to use ace-r.dll in the release
version
* tests/Cubit/TAO/{client,server}.dsp: changed to use ace-r.dll
and tao-r.dll for the release versions.
Thu Jul 10 15:47:24 1997 Chris Cleeland <cleeland@cs.wustl.edu>
* docs/: Removed the following obsolete files: README.apm,
BUILDING, and TESTS.
* tao/params.*: Moved the instance() methods into the .cpp from
the .i, as well as the declaration for the singleton locks.
Having the singleton locks declared in the .i file caused much
consternation when ACE inlining was turned on.
* tao/iiopobj.cpp: #ifdef'd the IID_STUB_Object declaration added
a few days ago so that it happens one way on NT, and another in
the rest of the Universe. I would have preferred to find a more
general solution, but didn't find one quickly enough to satisfy my
current requirements.
* tao/roa.*: Removed get_request() method. This should improve
our McCabe scores ;-)
* tao/boa.h: Removed get_request() method.
Wed Jul 9 14:44:31 1997 Darrell Brunsch <brunsch@cs.wustl.edu>
* TAO-Install: Added installation instructions for NT
Tue Jul 8 20:52:06 1997 Darrell Brunsch <brunsch@cs.wustl.edu>
* tao/PC_Install.bat: Made it very quiet.
* tao/params.{cpp,h,i}: Changed TAO_OA_PARAMS from a
ACE_Singleton to a plain singleton by just integrating the
ACE_Singleton code into the class.
Tue Jul 8 14:27:47 1997 Darrell Brunsch <brunsch@cs.wustl.edu>
* tao/except.h: added ACE_Svc_Export to SYSEX macro
* tao/iiopobj.cpp: changed declaration of IID_STUB_Object
to include ACE_Svc_Export
* tao/stub.h: added ACE_Svc_Export to IID_STUB_Object
Tue Jul 8 12:44:14 1997 Darrell Brunsch <brunsch@cs.wustl.edu>
* tao/orbobj.cpp: Put the "*" in before the comment since it is
supposed to be there. Put a space between it and the comment
to get rid of the warning which VC was giving originally.
Tue Jul 8 10:21:27 1997 Darrell Brunsch <brunsch@cs.wustl.edu>
* tao/typecode.cpp: Changed a few loop counters from int to
CORBA_ULong to get rid of unsigned/signed comparison warnings
* tao/orbobj.cpp: Got rid of a "*" before a comment. Looked like
a typo
* tao/PC_Install.bat: Replaced "#...." with "rem ...."
Mon Jul 7 20:59:05 1997 Douglas C. Schmidt <schmidt@tango.cs.wustl.edu>
* tests/Cubit/TAO/test1_{svr,clnt}.cpp (main): Added template
specialization code and updated the formatting. Thanks to Arturo
Montes <mitosys@colomsat.net.co> for reporting this.
* tests/Cubit/TAO/test1_svr.cpp (main): Added the -i options to
getopt(). Thanks to Arturo Montes <mitosys@colomsat.net.co> for
reporting this.
* TAO/tao/orbconf.h (SIZEOF_LONG_DOUBLE): Added a
#define for M_UNIX. Thanks to Arturo Montes
<mitosys@colomsat.net.co> for reporting this.
Sun Jul 06 02:37:24 1997 Douglas C. Schmidt <schmidt@cs.wustl.edu>
* TAO version 0.0.5, released Sun Jul 06 02:37:24 1997.
Sun Jul 6 00:10:28 1997 Douglas C. Schmidt <schmidt@flamenco.cs.wustl.edu>
* tao: Fixed all the code so that we put ACE_MT around all the
ACE_GUARD_RETURN macros.
* tao: Updated all of TAO to make sure we use [] when deleting
arrays in order to avoid memory leaks. This looks like lots of
sloppiness left over from the original SunSoft IIOP code.
Sat Jul 5 16:12:31 1997 Douglas C. Schmidt <schmidt@flamenco.cs.wustl.edu>
* tao/{any,iiopobj,nvlist,principa,request,roa,svrrqst,typecode}.cpp:
Fixed a double-deletion of a lock.
* tao/typecode.i: Cleaned up lots of minor warnings with the code
that are only revealed when running GCC. The code should now
compile almost completely cleanly with -wall.
* tao/typecode.{i,h}: Changed the name of TC_PRV_State to
TC_Private_State.
* tao: Replaced ACE_Thread_Mutex with ACE_SYNCH_MUTEX so that the
code will compile on non-threaded and threaded platforms alike.
* tao/marshal.cpp: Added template specializations for the Marshal
primitives. Thanks to Arturo Montes <mitosys@colomsat.net.co> for
reporting this.
* tao/Makefile (LDLIBS): Replaced -lcorba with -lACE so that we no
longer have problems with circular link dependencies. Thanks to
Arturo Montes <mitosys@colomsat.net.co> for reporting this.
Sat Jul 05 13:25:23 1997 Douglas C. Schmidt <schmidt@cs.wustl.edu>
* TAO version 0.0.4, released Sat Jul 05 13:25:23 1997.
Sat Jul 5 12:39:57 1997 Douglas C. Schmidt <schmidt@tango.cs.wustl.edu>
* tao: All throughout TAO I removed the direct use of system
include files in lieu of using ace/OS.h.
* tao/{orbobj,typecode}.cpp: orb.h must be included before others
include files. Previous includes prevent correct use of ACE config
flags, therefore, I removed them. Thanks to Arturo Montes
<mitosys@colomsat.net.co> for reporting this.
* tao/{debug,roa}.cpp: changed _POSIX_THREADS to ACE_HAS_PTHREADS.
Thanks to Arturo Montes <mitosys@colomsat.net.co> for reporting
this.
* tao/decode.cpp (decode): The casting (CORBA_ULong) kind is
unnessary and wrong so I removed it. Thanks to Arturo Montes
<mitosys@colomsat.net.co> for reporting this.
* tao/debug.cpp (emit_prefix): Changed line 99 from
#define emit_prefix (stream) ...
to
#define emit_prefix(stream) ...
The blank character prevent after macro name (emit_prefix) prevent
correct definition. Thanks to Arturo Montes
<mitosys@colomsat.net.co> for reporting this.
Sat Jul 5 01:04:24 1997 Douglas C. Schmidt <schmidt@tango.cs.wustl.edu>
* TAO/tao/xdr.cpp: Removed unistd.h and string.h from the xdr.cpp
file since those aren't necessary. Thanks to Arturo Montes
<mitosys@colomsat.net.co> for reporting this.
Fri Jul 4 00:18:21 1997 Douglas C. Schmidt <schmidt@tango.cs.wustl.edu>
* tao/roa.h: Removed derogatory COMments ;-). Thanks to Anton van
Straaten <anton@appsolutions.com> for reporting this.
Thu Jul 3 16:16:14 1997 Darrell Brunsch <brunsch@cs.wustl.edu>
* Added ACE_Svc_Export to a couple of declarations to make NT
happier
Thu Jul 3 13:43:20 1997 Darrell Brunsch <brunsch@cs.wustl.edu>
* Added Visual C++ 5.0 project and workspace files for the TAO
library and Cubit test
Wed Jul 2 12:44:42 1997 Aniruddha Gokhale <gokhale@mambo.cs.wustl.edu>
* TAO/tests: Moved tests from TAO/IIOP/tests to TAO/tests
Wed Jul 02 00:20:28 1997 Douglas C. Schmidt <schmidt@cs.wustl.edu>
* Compiled the first alpha release of TAO on Solaris just
to make sure it still works. So far, so good... hence,
the first alpha release is out the door!
Tue Jul 1 23:35:53 1997 Douglas C. Schmidt <schmidt@tango.cs.wustl.edu>
* VERSION: Added a VERSION file, starting at version 0.0.0...
Tue Jul 1 23:00:15 1997 Aniruddha Gokhale <gokhale@mambo.cs.wustl.edu>
* Added a new tests directory with the Cubit and TTCP
examples. The older test directory will be deleted soon.
In addition, the tc_constants in the tc_constants.cpp file are
declared with an ACE_Svc_Export to make the Win NT compiler
happy. Extern declarations in typecode.h had the same changes.
* Updated the PC_install.bat file. In addition, there was one more
warning in typecode.cpp (Win NT compiler) that was fixed. Finally,
in the the tc_const.cpp file, the ACE_Svc_Export was used
accidently. This has been fixed.
* A number of files were updated with ACE_Svc_Export so that
variables and classes do not remain unresolved for Win32
platform. Similarly, Irfan had sent me a list of warnings that the
Win NT compiler was giving. These are fixed.
* marshal.*: Changed the way make_marshal_object works. Instead of
having a switch statement, we index into a private table of
marshal objects using the TypeCode _kind field. MarshalFactory now
maintains this private table.
Mon Jun 30 17:39:02 1997 Douglas C. Schmidt <schmidt@flamenco.cs.wustl.edu>
* Added a new README file and a COPYING file that explains the
contents of TAO and clarifies its copyright status.
Sun Jun 29 10:06:50 1997 Aniruddha Gokhale <gokhale@mambo.cs.wustl.edu>
* marshal.*: Added CORBA_Environment as a parameter to
make_marshal_object factory method. The reason for doing this was
to enable inlining of the CDR::encode and CDR::decode methods.
* typecode.*: Changed the way typecodes get deleted. Constant
typecodes are now owned by the ORB and their private state freed
when the ORB dies. IDL generated typecodes are not owned by the
ORB and are the only ones whose refcount matters. Typecodes
belonging to the IDL generated typecodes are also not owned by the
ORB and there is no effect on their refcount. They get freed only
if the parent is destroying itself.
In typecode.i, methods such as length and content_type were not
getting inlined due to presence of switch statements. Converted to
if/else.
* interp.cpp: Bug fix: Had previously forgotten to update the
size/alignment of the private state of the typecode.
Fri Jun 27 14:27:49 1997 Aniruddha Gokhale <gokhale@mambo.cs.wustl.edu>
* any.cpp: The deep_copy and deep_free optimizations applied. In
the previous release, I had forgotten to add these to the Any
constructor (that calls deep_copy) and Any destructor/replace
(that call deep_free).
* connect.cp, factories.cpp: Added code that hardcodes the socket
buffer sizes to 64K. This is a hack for the time being.
Thu Jun 26 10:02:47 1997 Aniruddha Gokhale <gokhale@merengue.cs.wustl.edu>
* Some more progress on IDL compiler. Generates the client and
server side files without much contents in it.
Thu Jun 26 09:49:38 1997 Aniruddha Gokhale <gokhale@merengue.cs.wustl.edu>
* Added a full range of optimizations to the TAO IIOP interpretive
marshaling engine. The static methods encoder and decoder have
been removed from the CDR class. Instead, separate classes for
marshaling have been created for each individual data type. The
CDR stream maintains a factory that returns an appropriate
marshaling object depending on the data type to be
marshaled. Files added include marshal.h, marshal.i, encode.cpp,
decode.cpp, deep_free.cpp, and deep_copy.cpp. The marshal.h file
defines classes for an abstract MarshalObject. The factory is
responsible to return a concrete specialized instance of the
MarshalObject.
* Updated the CORBA_TypeCode class so that it now provides all the
CORBA_2.0 compliant operations. These include length(),
content_type(), member_type(), member_label(),
discriminant_type(), id(), default_index(). The equal() operations
is still not implemented. In addition, precomputation
optimizations are applied to the TypeCode class. This includes
precomputing various parameters (if any) of a TypeCode. For
example, a struct TypeCode keeps track of the member count and
member types. As a result, it is not necessary to interpret the
CDR encapsulated stream to retrieve these parameters.
* At this time, there are some problems getting the Unions to work.
Thu Jun 12 15:45:49 1997 Chris Cleeland <cleeland@cs.wustl.edu>
* IIOP/lib/objtable.cpp: Added explicit template instantiations
for ACE_Hash_Map_Manager<>.
* IIOP/lib/giop.*: Finally got rid of all those methods that took
ACE_HANDLE as the argument. Now, all those operate on
ACE_SOCK_Streams.
Thu Jun 5 10:15:21 1997 Chris Cleeland <cleeland@cs.wustl.edu>
* IIOP/lib/giop.cpp: Corrected output format in error message.
Thu Jun 5 10:09:01 1997 Chris Cleeland <cleeland@merengue.cs.wustl.edu>
* IIOP/test/svr.cpp: Added a new class to catch SIGINT and
terminate. This was necessary to Quantify the server process.
* IIOP/lib/orbobj.h: Added ACE_INLINE to forward decls of
CORBA_release() and CORBA_is_nil().
Wed May 23 14:39:01 1997 Brian Mendel <bmendel@mdc.com>
* IIOP/lib/objtable.{h,cpp}: Added template specialization of
ACE_Hash_Map_Manager for char*'s.
* IIOP/test/cubitS.cpp: Fixed type_id to be of type CORBA_String_var.
Also, added a debug msg to print the object address to show the
object for which the request is made.
* IIOP/test/svr.cpp: Added capability to create multiple Cubit
objects via command line options. Added -n for number of objects and
-k for specifying a base name. For instance, -k Beevis -n 2 creates
Beevis1 and Beevis2 objects. The clnt can then specify a specific
object for the request as usual.
Wed May 22 12:28:45 1997 Brian Mendel <bmendel@mdc.com>
* IIOP/test/clnt.cpp: Deleted VxWorks specific sections. Command
line is now working for VxWorks.
* IIOP/test/svr.cpp: Deleted VxWOrks specific sections. Command line
is now working for VxWorks.
Wed May 22 11:31:42 1997 Chris Cleeland <cleeland@cs.wustl.edu>
* IIOP/test/svr.cpp: Added better error checking and messages, and
performed general re-formatting.
* IIOP/test/method_db.i (initialize_method_db): Changed arg type
to use a pointer to the abstract class TAO_Operation_Table.
* IIOP/test/cubitS.cpp (_skel_Cubit::_skel_Cubit): Added better
error checking and messages. Also defaulted to use the linear
object table implementation rather than the hashed to simplify
debugging.
* IIOP/test/clnt.cpp: Moved some code around so that more of the
code is common is less is specific to VxWorks and other platforms.
Also did general re-formatting.
* IIOP/lib/optable.cpp (TAO_Linear_OpTable::find): Initialization
of the loop variable makes the loop work properly.
* IIOP/lib/objtable.cpp (TAO_Dynamic_Hash_ObjTable::find):
Explicitly specified length of object key in CTOR for ACE_CString
because object keys are not zero-terminated.
* IIOP/lib/giop.cpp: Added newlines to the end of all ACE_DEBUG()
messages.
* IIOP/lib/factories.cpp: Added template specializations for
ACE_Hash_Addr<ACE_INET_Addr, TAO_Client_Connection_Handler>.
Tue May 22 09:32:41 1997 Brian Mendel <bmendel@mdc.com>
* IIOP/lib/cdr.h: Deleted #define old_value ACE_INLINE and
#define ACE_INLINE old_value lines. Added #undefs for ACE_INLINE
prior to redefines. Changes required to compile on Windows NT.
Tue May 20 14:47:46 1997 Chris Cleeland <cleeland@cs.wustl.edu>
* IIOP/test/cubitS.h: Removed forward decl of
TAO_Active_Operation_Table.
* IIOP/test/{cubitC,cubitS}.*: Changed include quoting characters
from [<>] to double-quotes.
* IIOP/test/Makefile: Removed cubit.o from clnt and svr target
(this has been subsumed by cubit[CS]).
* IIOP/lib/optable.h: Changed ACE_RW_Mutex to ACE_SYNCH_RW_MUTEX.
* IIOP/lib/optable.cpp: Inserted explicit template instantiations.
* IIOP/lib/Makefile: Added optable to the Makefile.
* IIOP/lib/optable.cpp: Moved ~TAO_Operation_Table() into here.
* IIOP/lib/object.i: Moved find() and bind() into the cpp file.
Moved ~TAO_Operation_Table() into optable.cpp.
Tue May 20 14:39:00 1997 Brian Mendel <bmendel@mdc.com>
* IIOP/test/*: Commited changes to Cubit Example as a current snapshot
of required changes.
* IIOP/lib/*: Changes required for header file includes. Added
conditionals around _IIOP_BUILD_
Tue May 20 13:55:58 1997 Chris Cleeland <cleeland@merengue.cs.wustl.edu>
* IIOP/test/*: Commited this stuff in-process so that Brian
M. doesn't have to duplicate effort.
Tue May 20 13:04:00 1997 Brian Mendel <bmendel@mdc.com>
* IIOP/lib/debug.cpp: Deleted spaces between flockfile (f) and
funlockfile (f). Changed instances of debug_filter to
TAO_debug_filter. Deleted space between emit_prefix (stream).
* IIOP/lib/cdr.cpp Added undef(s) for ACE_INLINE and
do_undef_on_ACE_INLINE to eliminate redefinition problems.
Tue May 20 10:55:09 1997 Chris Cleeland <cleeland@cs.wustl.edu>
* IIOP/lib/cdr.h: Fixed the automatic inclusion of cdr.i into
cdr.h by checking to see if __ACE_INLINE__ is not defined and, if
so, defining ACE_INLINE to be "inline" (we tidy up the namespace
immediately after the inclusion of cdr.i, too). See source for
comments regarding why this is done.
* IIOP/lib/optable.cpp (TAO_Linear_OpTable_Entry): Removed setting
of opname and skel_ptr to zero in CTOR since the CTOR for those
already insures this. Moreover, NT's compiler was complaining
about ambiguous resolutions.
* IIOP/lib/{orbobj,giop,debug,boa}.cpp: Fixed reference to
debug_level so it's TAO_debug_level.
* IIOP/lib/object.h: Replaced inclusion of optable.h with forward
decl of TAO_Operation_Table.
* IIOP/lib/optable.cpp: Fixed names of methods that were changed
in the header but never changed in the source. Amazing that
neither g++ nor Sun C++ caught these gaffs! (Finally, the NT
compiler wins).
* IIOP/lib/{orbobj,object}.h: Changed the forward decls of
CORBA_release() and CORBA_is_nil() so that they are only in effect
when inlining is NOT being used.
* IIOP/lib/giop.cpp: Fixed incorrect passing of an object to
ACE_DEBUG() where an int is expected.
Mon May 19 17:16:34 1997 Chris Cleeland <cleeland@merengue.cs.wustl.edu>
* IIOP/lib/roa.cpp: Explicit cast rids us of a warning.
* IIOP/lib/params.h: Fixed CTOR name. Once again I'm surprised
G++ didn't catch this.
* IIOP/lib/optable.h: Corrected erroneous method signature on
bind().
* IIOP/lib/objtable.cpp: Corrected erroneous method signature on
TAO_Linear_ObjTable::bind().
* IIOP/lib/{object,orbobj}.h: Forward declaration of
CORBA_release(CORBA_Object_ptr) and CORBA_is_nil(CORBA_Object_ptr)
were commented out. I think this will cause a problem when we
DON'T inline, but I'll cross that bridge later.
* IIOP/lib/{orb,factories}.h: Made inclusion of some headers
conditional on the compilation phase (building the library or an
application).
* IIOP/lib/cdr.i: Removed incorrect default arguments (g++ didn't
catch them).
* IIOP/lib/Makefile: Removed thread from the header list.
Mon May 19 10:07:00 1997 Chris Cleeland <cleeland@cs.wustl.edu>
* IIOP/lib/optable.cpp: Changed implementation of the operation
table and the parameters repository so that they use the right
class names.
Sat May 17 17:18:38 1997 Aniruddha Gokhale <gokhale@mambo.cs.wustl.edu>
* First pass at providing a backend to the SunSoft's CORBA IDL
compiler front end.
Fri May 16 17:30:31 1997 Chris Cleeland <cleeland@cs.wustl.edu>
* IIOP/lib/svrrqst.*: Corrected some comments, adjusted some
argument type names to reflect their new, namespace-sanitized
names, and moved short methods into a new inline file.
* IIOP/lib/stub.h: Corrected some comments and adjusted some
argument type names to reflect their new, namespace-sanitized
names.
* IIOP/lib/roa.cpp: Corrected syntax error and fixed up typedef.
* IIOP/lib/params.*: Removed extraneous comments and fixed
argument type on demux_strategy().
* IIOP/lib/orbobj.*: Added comments, removed static pointer to
the ORB.
* IIOP/lib/optable.h: Removed extraneous comments and fixed
typedefs.
* IIOP/lib/objtable.cpp: Fixed some syntax errors introduced by
reformating.
* IIOP/lib/object.cpp: Adjusted some argument type names to
reflect their new, namespace-sanitized names.
* IIOP/lib/invoke.cpp: Removed crufty #includes and adjusted some
argument type names to reflect their new, namespace-sanitized
names.
* IIOP/lib/iioporb.*: Moved short methods into inline file, added
IIOP_ORB_ptr typedef, and changed data member to conform to ace
standards.
* IIOP/lib/iiopobj.*: Added the second CTOR that I forgot last
time and adjusted some argument type names to reflect their new,
namespace-sanitized names.
* IIOP/lib/giop.h: Added comments for various enums and
structures.
* IIOP/lib/giop.cpp: Switched various GIOP::Invocation methods to
use handler_->peer() for socket communication rather than going
through a file descriptor. Also began the arduous (no other word
could explain it!) process of converting the homegrown debugging
message macro uses into ACE_DEBUG() uses.
* IIOP/lib/factories.*: Added explicit DTOR for TAO_Client_Factory
and completed all the darn explicit template instantiations.
Changed 'Svc_Handler' to 'TAO_Client_Connection_Handler', and
added the forgotton TAO_Client_Factory::connector() method.
* IIOP/lib/debug.*: Added 'TAO_' prefix to global debug state
variables and removed crufty #includes.
* IIOP/lib/connect.cpp: Change ROA_Handler to
TOA_OA_Connection_Handler (missed these the last time through).
* IIOP/lib/cdr.cpp: Added responsive commentary.
* IIOP/lib/boa.cpp: Added comments to the dispatching code.
* IIOP/lib/{any,boa,request,typecode}.cpp: Removed references to
thread.h/connmgr.*.
Thu May 15 19:08:16 1997 Douglas C. Schmidt <schmidt@flamenco.cs.wustl.edu>
* Finished updating all the reformatting.
Thu May 15 15:54:49 1997 Chris Cleeland <cleeland@cs.wustl.edu>
* IIOP/lib/principa.h: Corrected syntax error which eliminated the
_refcount data member.
* IIOP/lib/{params,roa}.*: Updated class names to reflect ROA -->
TOA_OA pseudo-namespace change.
* IIOP/lib/orbobj.*: Updated CORBA_ORB_init() to return pointer to
new ORB singleton.
* IIOP/lib/orb.h: Commented out some include files to eliminate
wierd circular dependencies.
* IIOP/lib/optable.h: Moved TAP_Operation_Table into here. Put
OpTable* classes into the TAO_Operation_Table* pseudo-namespace.
* IIOP/lib/objtable.*: Moved TAO_Object_Table into here. Moved
the Entry classes out of the scope of their respective concrete
operation tables, so they're now named <concrete_table>_Entry.
* IIOP/lib/object.*: Moved TAO_Operation_Table into optable.*, and
added a data member which carries a pointer to the ORB with which
the object is associated.
* IIOP/lib/iioporb.*: Added a singleton typedef for the ORB which
is what CORBA_ORB_init() will now return. Modified
string_to_object() so that it sets the ORB on the CORBA_Object
that it returns.
* IIOP/lib/{iiopobj,nvlist}.h: Added some responsive commentary.
* IIOP/lib/giop.cpp: Modified connection establishment code in
GIOP::Invocation::start() to utilize the client connection manager
in the ORB.
* IIOP/lib/giop.h: Put a TAO_Client_Connection_Handler* into
GIOP::Invocation in place of the client_endpoint.
* IIOP/lib/factories.*: Updated explicit template instantiations,
added TAO_Client_Connection_Handler.
* IIOP/lib/connect.*: Renamed things--ROA_Parameters -->
TOA_OA_Parameters, ROA_Handler --> TOA_OA_Connection_Handler.
* IIOP/lib/boa.h: Moved TAO_Object_Table into objtable.*, added
comments where appropriate.
* IIOP/lib/{any,cdr,iioporb,invoke}.*: Re-formatting and creation
of inline method file.
Tue May 13 21:51:22 1997 Douglas C. Schmidt <schmidt@tango.cs.wustl.edu>
* Continued to update the format of the TAO source code so that it
will be consistent with the style used in ACE.
Mon May 12 17:02:29 1997 Chris Cleeland <cleeland@cs.wustl.edu>
* IIOP/lib/roa.*: Moved short method into an inline file.
Miscellaneous reformatting. Adjustment to new type names
(prefaced by TAO_ for namespace protection).
* IIOP/lib/object.*: Moved short methods into an inline file.
Changed lookup()/register_op() to find()/bind() for consistency
with established ACE APIs. Miscellaneous reformatting.
* IIOP/lib/iiopobj.*: Moved short methods into an inline file.
Added CTOR for IIOP::Version and IIOP::ProfileBody. Added
convenience CTOR for IIOP_Object where the profile can be
supplied. Miscellaneous reformatting.
* IIOP/lib/boa.*: Moved short methods into an inline file. Changed
lookup()/register_obj() to find()/bind() for consistency with
established ACE APIs.
* headers: Added comments to force C++ mode in emacs for header
files, and changed SCCS version tag info to RCS version tag info.
Wed May 7 14:49:46 1997 Aniruddha Gokhale <gokhale@mambo.cs.wustl.edu>
* IIOP/lib/corbacom.cpp: Some bugs from the CORBA_String_var class
have been fixed. Thanks to Brian Mendel for noticing these.
* IIOP/lib/boa.cpp: In CORBA_BOA::dispatch, the opname local
variable of type CORBA_String_var is changed to be of type
CORBA_String. This was because the String_var class would assume
ownership of the quantity assigned and delete it. Thanks again to
Brian Mendel for noticing this.
Tue May 6 14:06:49 1997 Aniruddha Gokhale <gokhale@mambo.cs.wustl.edu>
* IIOP/lib/boa.hh: the register_obj's 2nd argument is changed from
CORBA_Object_ptr& to CORBA_Object_ptr
* IIOP/lib/object.hh: the return type for register_op method on
CORBA_Object is changed from void to int to be consistent.
Added a new method "get_subclass" to CORBA_Object that returns a
pointer to the subclass. Typeically, this would be pointer to an
object that implements an interface.
* IIOP/lib/objtable.{hh,cpp}: @nd argument of register_obj changed
from CORBA_Object_ptr& to CORBA_Object_ptr.
* IIOP/lib/orb.hh: the type signature of "skeleton" is changed to
take CORBA_Object_ptr rather than CORBA_Object_ptr& as its 2nd argument.
Mon May 5 20:28:54 1997 Aniruddha Gokhale <gokhale@mambo.cs.wustl.edu>
* IIOP/lib/boa.cpp: commented out code that uses the "void
*context" field. It doesn't make any sense to have it.
* IIOP/lib/boa.hh: Added 2 pure virtual methods (shutting_down and
clean_shutdown).
In addition, the "register_obj" method was added. It was missing before.
* IIOP/lib/corbacom.cpp: String_var's constructor bug is fixed. It
was trying to free storage that was never allocated.
* IIOP/lib/iiopobj.{hh,cpp}: Added a method - "get_name" that
retrieves the object name.
* IIOP/lib/object.{hh,cpp}: Added a method - "get_name" that
retrieves the object's name or key. This is for debugging purposes.
* IIOP/lib/orbobj.cpp: There was an infinite loop in parsing the
options to BOA_init. Fixed.
* IIOP/lib/stub.hh: Added the "get_name" virtual method.
Sat May 3 22:45:23 1997 Aniruddha Gokhale <gokhale@mambo.cs.wustl.edu>
* IIOP/lib/boa.cpp: Added code temporarily that invokes the
skeleton that is looked up. We still need to add code that will
handle the case when no match is found on the operation names.
* IIOP/lib/boa.hh: The register_obj method on TAO_Object_Table
now returns an integer indicating status of registering (-1 =>
failure, 0 for success).
* IIOP/lib/object.hh: The register_op method on
TAO_Operation_Table now returns an integer code (O for success, -1
for failure).
* IIOP/lib/objtable.{hh,cpp}: The register_obj method returns an
integer code representing either success or failure.
* IIOP/lib/optable.{hh,cpp}: Added new files that implement
concrete strategies for operation name lookup.
Fri May 2 08:48:29 1997 Aniruddha Gokhale <gokhale@mambo.cs.wustl.edu>
* IIOP/lib/object.hh: Modified the signature of register_op on
TAO_Operation_Table to take a second argument to be a pointer to
the actual skeleton.
Thanks to Brian Mendel for reporting this.
Thu May 1 16:46:11 1997 Aniruddha Gokhale <gokhale@mambo.cs.wustl.edu>
* IIOP/lib/object.{hh,cpp}: Added a method that can set the parent
pointer.
* IIOP/lib/params.cpp: A hook has been provided in ROA_Factory to
enable the user to use a user-defined demux strategy.
Wed Apr 30 22:00:51 1997 Aniruddha Gokhale <gokhale@mambo.cs.wustl.edu>
* IIOP/lib/objtable.{hh,cpp}: Added two new files that define
different object demultiplexing strategies.
* IIOP/lib/Makefile: Added objtable as additional source file to compile.
* IIOP/lib/boa.cpp: Provided the default destructor for the
TAO_Object_Table.
* IIOP/lib/boa.cpp: Provided the default destructor for the
TAO_Operation_Table.
* IIOP/lib/orbobj.cpp: Added support for the -OAtablesize option
in the call to CORBA_ORB::BOA_init method.
* IIOP/lib/params.{hh,i,cpp}: Added support to ROA_Factory to return
a specific object lookup strategy.
*IIOP/lib/roa.cpp: The ROA constructor initializes its "objtable_"
private data member with the object lookup strategy returned by
ROA factory.
Tue Apr 29 11:52:48 1997 Aniruddha Gokhale <gokhale@mambo.cs.wustl.edu>
* IIOP/lib/any.hh: Moved CORBA_Any_ptr declaration to orb.hh.
* IIOP/lib/boa.{hh,cpp}: Renamed BOA to CORBA_BOA. The CORBA_BOA class
maintains a pointer to an abstract TAO_ObjectTable class. Concrete
classes inheriting from TAO_ObjectTable will provide strategies
for lookup.
Added virtual functions to do dispatch based on object key. In
addition, added a lookup method based on object key that delegates
the task of looking the object to the object table it maintains.
Changed the signature of typedef CORBA_BOA::dsi_handler to be pointer to
member function of class CORBA_BOA. Eventually, this will point to
the dispatch method of class CORBA_BOA.
Moved "struct Dispatch_Context" from roa.hh to boa.hh since we
want BOA to be a full fledged OA eventually and not remain an
abstract class as it is now. All other OA's such as ROA inherit
from BOA and only add extra functionality.
* IIOP/lib/connect.cpp: There was a syntax error (missing comma)
in one of the ACE_DEBUG statements which has been fixed.
* IIOP/lib/corbacom.{hh,cpp}: Added class CORBA_String_var as well
as the CORBA compliant CORBA_string_dup.
* IIOP/lib/except.hh: Moved CORBA_Exception_ptr declaration to orb.hh.
* IIOP/lib/object.hh: Added an abstract class
TAO_Operation_Table. CORBA_Object maintains a pointer to this
abstract class. The IDL compiler will eventually generate concrete
classes that employ different lookup strategies for operation name
lookup.
* IIOP/lib/orb.hh: Added forward declarations to all CORBA_*
classes. In addition, moved all the CORBA_*_ptr declarations here.
* IIOP/lib/orbobj.{hh,cpp}: Added the CORBA compliant BOA_init
method to class CORBA_ORB. Users can now pass arguments to
BOA_init. Eventually, we want to make this method return any of
the specialized OA's depending on the arguments. Right now, we get
a pointer to the ROA.
* IIOP/lib/params.{hh,i}: Added some more methods and enum
declarations to the ROA_PARAMS singleton.
* IIOP/lib/principa.hh: Moved the CORBA_Principal_ptr declaration
to orb.hh.
* IIOP/lib/roa.{hh,cpp}: Moved some functionality to boa.hh. ROA
is now only a specialized form of BOA.
* IIOP/lib/stub.hh: Moved the typedef for "skeleton" to orb.hh.
* IIOP/lib/svrrqst.{hh,cpp}: Had to rename BOA to CORBA_BOA.
* IIOP/lib/typecode.hh: Moved the CORBA_TypeCode_ptr declaration
to orb.hh.
Tue Apr 22 23:30:19 1997 Chris Cleeland <cleeland@cs.wustl.edu>
* IIOP/lib/connect.cpp (open): Added log message.
* IIOP/lib/params.cpp (concurrency_strategy): Uses reactive
strategy when appropriate.
* IIOP/lib/params.hh: Reactive strategy added.
Tue Apr 22 21:03:15 1997 Chris Cleeland <cleeland@tango.cs.wustl.edu>
* IIOP/lib/giop.cpp: Changed erroneous ACE_GUARD calls to ACE_GUARD_RETURN
calls.
Tue Apr 22 16:15:52 1997 Chris Cleeland <cleeland@cs.wustl.edu>
* IIOP/lib/roa.cpp: Removed more POSIX thread calls.
* IIOP/lib/invoke.cpp: Changed ForceSynchronousCancellation to
ACE_Synchronous_Cancellation_Required and made it use the ACE_OS
calls.
* IIOP/lib/{typecode,svrrqst,request,principa,orbobj,nvlist,iiopobj,giop,except,any}.*:
Removed all vestiges of pthread mutexes...they are now
ACE_Thread_Mutexes. This will likely have to change if we want to
compile something completely devoid of threads, but that's another
day. Also, the mutexes have moved from being globals to being
members on the respective classes. No files should be dependent
on thread.hh any longer.
* IIOP/lib/connect.cpp (open): Removed code obsoleted by use of
the Strategy_Acceptor.
* IIOP/lib/{roa.cpp,connect.cpp},IIOP/tests/svr.cpp: Changes to
use new singletons described below.
* IIOP/lib/params.*: Changed ROA_Parameters and ROA_Factory to use
ACE_Singleton<>. The singleton types are now named ROA_PARAMS and
ROA_FACTORY.
Mon Apr 21 23:44:34 1997 Douglas C. Schmidt <schmidt@flamenco.cs.wustl.edu>
* IIOP/lib/roa.cpp (ROA): Changed spelling of clientAcceptor_ to
client_acceptor_ to be consistent with ACE style conventions.
Mon Apr 21 10:52:42 1997 Chris Cleeland <cleeland@cs.wustl.edu>
* IIOP/test/clnt.cpp: Moved call to CORBA_ORB_init() prior to the
parsing of the command line args. This got switched around during
porting to VxWorks.
* IIOP/lib/roa.cpp: Changed calls using clientAcceptor_to use APIs
vended by ACE_Strategy_Acceptor.
* IIOP/lib/roa.hh: Moved default thread flags into ROA_Factory.
* IIOP/lib/params.*: Added ROA_Factory, a singleton which is the
beginning of an abstract factory dynamically producing runtime
strategies based on information found in ROA_Parameters.
* IIOP/lib/connect.cpp: Added call to ROA_Handler's base class
CTOR in initializer list.
* IIOP/lib/connect.hh: Changed ROA_Handler's CTOR so that it can
take an optional ACE_Thread_Manager* arg. This makes it
compatible with the CTORs for the base class. Also changed base
class for ROA_Acceptor to ACE_Strategy_Acceptor.
* IIOP/lib/svrrqst.*: Changed references to BOA_ptr from TOA_ptr.
* IIOP/lib/connect.*: ROA_Handler/ROA_Acceptor moved from roa.*
into here.
* IIOP/lib/params.*: ROA_Parameters moved from roa.* into here.
* IIOP/lib/boa.*: What used to be TOA is now BOA, and lives in
here.
* IIOP/lib/roa.*: Major restructuring required removal of all
classes (see other log entries) from here. This file now houses
only the ROA class.
* IIOP/lib/{tcpoa.*,toa.*}: Removed because of name changes from
TCP_OA->ROA and TOA->BOA.
Fri Apr 18 08:09:19 1997 Brian Mendel <bmendel@mdc.com>
* cdr.hh,corbacom.{hh,cpp},giop.cpp,marshall.cpp,typecode.cpp:
Changes required for WChar missed in earlier committed code.
* connmgr.cpp: Changes required for select statement.
* nvlist.cpp: Conditional include for memory.h added. VxWorks
does not have memory.h.
* object.cpp: Added conditional for VXWORKS to define
IID_IUnknown.
* orbconf.hh: Minor tuning of the configuration file.
* tcpoa.{hh,cpp}: Added VXWORKS conditional includes.
* toa.cpp: Added VXWORKS conditional includes.
Mon Apr 15 17:01:00 1997 Brian Mendel <bmendel@mdc.com>
* roa.cpp: Added return statement to ROA_Handler::open(void*)
method.
* giop.cpp: Modified giop::read_buffer to replace undefined fc
with peer.get_handle(). Modified giop::incoming_message method
parameter list to match function prototype exactly.
* tcpoa.cpp: Replaced fd instances in debug messages with
peer.get_handle() calls.
Mon Apr 14 13:45:54 1997 Chris Cleeland <cleeland@cs.wustl.edu>
* roa.{hh,i,cpp},tcpoa.cpp,svr.cpp: Replaced ACE_ROA with
ROA_Parameters, which is a GoF-style singleton.
Sun Apr 13 00:01:56 1997 Chris Cleeland <cleeland@tango.cs.wustl.edu>
* roa.cpp: Fix continuation condition in ROA_Handler::svc()'s loop
so that it doesn't stop after one iteration. Also added some
debug messages.
* giop.cpp: Fixed some returns being called with no value. This
should have been caught in the previous round of changes.
Sat Apr 12 23:10:08 1997 Chris Cleeland <cleeland@cs.wustl.edu>
* tcpoa.{hh,cpp}: TCP_OA::handle_message() now returns a value
indicating how a message was handled.
* roa.cpp: ROA_Handler::handle_input() now returns a meaningful
value based on what TCP_OA::handle_message() returns.
* giop.{hh,cpp}: Added end-of-file detection on socket
connections, and that is now propagated all the way back up
through GIOP::incoming_message(). I don't know if I violated
something in the spec by doing this, but it was necessary. I'll
look into it later.
Thu Apr 10 11:49:44 1997 Chris Cleeland <cleeland@cs.wustl.edu>
* giop.{hh,cpp}: Overloaded all methods dealing with connections
so that there are two, one taking a file descriptor as argument,
the other taking an ACE_SOCK_Stream. Right now, the *_Stream
version simply forwards to the fd-based one. I would have
preferred to get rid of the fd-based methods altogether, but we've
only converted the server runtime; the client is still using the
original sun code, which is effectively fd-based. In the course
of doing this, I also simplified the decls for incoming_message by
creating typedefs for some of the function pointers passed as
args.
* orbconf.hh: Fixed the stupid auto-endian-ness detector
AGAIN...had my logic reversed!
* roa.cpp: Adjusted code in accordance with changes to tcpoa.hh.
* tcpoa.hh: Moved and renamed TCP_OA::dispatch_context to be
::Dispatch_Context, and changed its endpoint member to be an
ACE_SOCK_Stream.
* roa.hh: Fixed handle_input() to use the underlying peer() data
member for reading data, rather than using its argument. This is
so that when a different thread handles each connection,
handle_input() can simply be called repeatedly by svc().
Wed Apr 9 16:19:21 1997 Chris Cleeland <cleeland@tango.cs.wustl.edu>
* tcpoa.cpp: Fixed a problem that G++ didn't notice regarding
changing the notion of endpoints in servers from server_endpoint
to an ACE_HANDLE.
Wed Apr 9 15:43:37 1997 Chris Cleeland <cleeland@cs.wustl.edu>
* svr.cpp: The -p option is gone, and -e takes its place and is
required. This requires the user to specify not only the port
number, but also the IP address of on which the server should
listen for requests. See ACE_INET_Addr documentation for valid
string formats for addresses. Also, the -t option sets the "use
threads" global.
* orbconf.hh: Hopefully resolved the tension between MS and Unix
platforms in inferring endian-ness of the target platform based on
preprocessor defines. We now check for i386, _M_X86, and vax
(yeah, like we really worry about that, but it's easy to do).
* roa.{hh,i,cpp}: Added support for spawning threads to handle
incoming requests. This involves a state flag for whether or not
to use threads, calling activate() in ROA_Handler::open() if that
flag is set, and creating ROA_Handler::svc() that simply loops
calling handle_input().
Tue Apr 8 11:14:57 1997 Chris Cleeland <cleeland@cs.wustl.edu>
* IIOP/test/svr.cpp: Moved setting of upcall(), forwarder(),
context(), etc. into here rather than in TCP_OA::TCP_OA(), which
is where I mistakenly stuck them a few days ago (duh!).
* IIOP/lib/tcpoa.cpp: Removed setting of ACE_ROA::upcall(), which belongs
in the server code. I got confused because the function names
were so similar: tcpoa.cpp contains ::tcp_oa_dispatcher(), and
svr.cpp contains ::tcpoa_dispatch().
* IIOP/lib/roa.{hh,i,cpp}: Added forwarding function to ACE_ROA global namespace
hack.
* IIOP/lib/orbconf.hh: Fixed preprocessor checks that auto-detect
endian-ness of this processor.
Mon Apr 7 21:08:24 1997 Chris Cleeland <cleeland@cs.wustl.edu>
* IIOP/test/test1_{clnt,svr}.cpp: THESE HAVE NOT BEEN CONVERTED TO
USE ACE EVENT HANDLING!! This round of changes explicitly
instantiates templates where required.
* IIOP/test/svr.cpp: Global function ::OA_listen() no longer
exists; its functionality is now fully contained within ::main().
If USE_ACE_EVENT_HANDLING is defined, a Reactor-based event loop
is used. The original intent was to allow conditional compilation
to select btw. the original method and a Reactor-based method.
However, weaving that into the library proved far more difficult
than anticipated, so more than likely not defining
USE_ACE_EVENT_HANDLING will cause massive grief.
* IIOP/lib/toa.cpp: Changed call to TCP_OA::init() to reflect new
ACE_INET_Addr argument type.
* IIOP/lib/tcpoa.cpp (TCP_OA): All initialization methods were
changed, specifically the CTOR and TCP_OA::init, to reflect the
introduction of ACE_INET_Addr. Two side-effects of using
ACE_INET_Addr are that (1) a server can specify the address on
which it wants to listen and (2) best that I can tell, the server
MUST specify the address on which it wants to listen because
otherwise it won't be able to publish a rational IOR. The event
loop is now changed to simply loop on Reactor::handle_events().
* IIOP/lib/tcpoa.hh (TCP_OA): Removed vestiges of this component's
use of the original connection management scheme. Where
appropriate, hostnames and ports were replaces by ACE_INET_Addr,
endpoints by ACE_HANDLEs, etc. One particularly nasty thing done
was to declare ROA_Handler as a friend so that handle_message()
can be called from ROA_Handler::handle_input(), which to me
exposes a hole in the original architecture wherein input is
"pulled" rather than waited-for. We might need to re-think how
this is handled within TAO.
* IIOP/lib/roa.{hh,i,cpp}: These files contain the required
components to support the new server-side ACE-based
connection/event substrate. The client side remains, as always,
using the connection mgmt scheme used by the original Sun IIOP
code.
* IIOP/lib/giop.cpp: Added explicit template instantiation for
when this is needed.
* IIOP/lib/corbacom.hh: Now protects itself from multiple
inclusion.
* IIOP/lib/Makefile: Added roa.* where appropriate.
Wed Mar 19 10:25:21 1997 Chris Cleeland <cleeland@cs.wustl.edu>
* IIOP/docs/us/codecount/*.count: Added to repository.
* Makefile: Added to repository.
* IIOP/objbase.h: Moved to IIOP/compat.
* IIOP/initguid.h: Moved to IIOP/compat.
Thu Mar 13 14:06:28 1997 Chris Cleeland <cleeland@cs.wustl.edu>
* ChangeLog: Added the ChangeLog.
|