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
|
Sat Jul 14 20:18:36 2001 Balachandran Natarajan <bala@cs.wustl.edu>
* docs/tutorials/Quoter/Event_Service/Makefile: Updated
dependencies.
Sat Jul 14 18:59:48 2001 Balachandran Natarajan <bala@cs.wustl.edu>
* performance-tests/Cubit/TAO/IDL_Cubit/collocation_test.dsp:
* performance-tests/RTCorba/Multiple_Endpoints/Orb_Per_Priority/Server.dsp:
* performance-tests/RTCorba/Multiple_Endpoints/Orb_Per_Priority/Client.dsp:
These dsp files needed the strategies library. Added them to fix
Win32 builds.
Sat Jul 14 17:44:28 2001 Balachandran Natarajan <bala@cs.wustl.edu>
* tests/Param_Test/anyop.dsp (RSC): Looks like this has been
broken for a long time now. Fixed the dsp file so that we dont
any errors during loading.
Sat Jul 14 00:33:28 2001 Paul Calabrese <calabrese_p@ociweb.com>
* examples/PluggableUDP/tests/SimplePerformance/svc.conf:
Switch this configuration file to use the
Advanced_Resource_Factory. This way the options
actually do something.
Fri Jul 13 16:07:04 2001 Douglas C. Schmidt <schmidt@tango.doc.wustl.edu>
* orbsvcs/ImplRepo_Service/ImplRepo_i.cpp: Make sure
that this->ior_multicast is non-NULL in ~ImplRepo_i() before
using it to lookup in the reactor. Thanks to Victor Chernenko
<v_chernenko@hotmail.com> for reporting this.
Thu Jul 13 14:30:16 2001 Paul Calabrese <calabrese_p@ociweb.com>
* examples/AMI/FL_Callback/AMI_Peer.dsp:
* examples/AMI/FL_Callback/AMI_Progress.dsp:
* orbsvcs/tests/AVStreams/Latency/control.dsp:
* orbsvcs/tests/AVStreams/Latency/ping.dsp:
* orbsvcs/tests/AVStreams/Latency/pong.dsp:
* performance-tests/Callback/client.dsp:
* performance-tests/Callback/server.dsp:
* performance-tests/Cubit/TAO/MT_Cubit/client.dsp:
* performance-tests/Cubit/TAO/MT_Cubit/server.dsp:
* tests/Collocation/Collocation.dsp:
* tests/Exposed_Policies/Client.dsp:
* tests/Exposed_Policies/Server.dsp:
Add in missing path for TAO_Strategies library.
Fri Jul 13 10:48:03 2001 Jeff Parsons <parsons@cs.wustl.edu>
* TAO_IDL/be/be_visitor_union/union_cs.cpp:
* TAO_IDL/be/be_visitor_union_branch/pulbic_assign_cs.cpp:
Fixed code generation for copy constructor and assignment
operator for object reference union members. These operations
were failing if the rhs union was uninitialized. Thanks to
Matt Cheers <matt.cheers@boeing.com> for sending in the example
IDL file and application code.
Thu Jul 12 22:22:31 2001 Ossama Othman <ossama@uci.edu>
* tao/Connector_Registry.cpp (create_profile):
Print the hexadecimal value of the unknown profile tag in the
debugging output rather than the decimal value. The former is
generally more useful.
Thu Jul 12 21:36:53 2001 Ossama Othman <ossama@uci.edu>
* orbsvcs/orbsvcs/Makefile (MKLIST):
The AV Service needs the CosNaming and CosProperty libraries.
Add their Makefiles to the build list if they aren't already
there.
Thu Jul 12 20:40:51 2001 Ossama Othman <ossama@uci.edu>
* orbsvcs/orbsvcs/SSLIOP/SSLIOP_Connector.cpp (connect):
Corrected placement of an ACE_CHECK_RETURN statement.
Thu Jul 12 20:29:42 2001 Ossama Othman <ossama@uci.edu>
* tao/ORB_Core.i (resolve_rt_orb, resolve_rt_current):
Fixed broken emulated exception code. ACE_CHECK_RETURN should
have been used instead of ACE_TRY_FLAG.
Thu Jul 12 20:21:36 2001 Ossama Othman <ossama@uci.edu>
* docs/tutorials/Quoter/Makefile (DIRS):
* docs/tutorials/Quoter/Simple/Makefile (DIRS):
Do not build certain directories if AMI is disabled or if
Minimum CORBA is enabled. Some tutorials require AMI, or
features that are not available in the minimum CORBA
configuration.
Thu Jul 12 19:45:06 2001 Ossama Othman <ossama@uci.edu>
* orbsvcs/Naming_Service/NT_Naming_Server.cpp (ConsoleHandler):
Fixed unused argument warning.
Thu Jul 12 17:30:42 2001 Frank Hunleth <fhunleth@cs.wustl.edu>
* tao/orbconf.h:
* tao/ORB.cpp:
* tao/ORB_Core.cpp:
* tao/ORB_Core.h:
* tao/ORB_Core.i:
Removed the RTORB and RTCurrent from the hardcoded list of
initial references. Now, both get added dynamically when the
RTCORBA library is loaded using the PortableInterceptors.
This should fix a segfault that was reported by Max
Voronoy <M.Voronoy@telesenskscl.com.ua> and investigated by
Ossama.
* tao/RTCORBA/RTCORBA.cpp:
* tao/RTCORBA/RT_ORB.cpp:
* tao/RTCORBA/RT_ORB.h:
* tao/RTCORBA/RT_ORBInitializer.cpp:
* tao/RTCORBA/RT_ORBInitializer.h:
* tao/RTCORBA/RT_ORB_Loader.cpp:
* tao/RTCORBA/RT_ORB_Loader.h:
* tao/RTCORBA/Thread_Pool.cpp:
* tao/RTCORBA/Thread_Pool.h:
Code changes necessary to support creating the RTORB and
RTCurrent in the pre_init method rather than on demand.
This is necessary to add both objects to the initial
references list using the PortableInterceptors.
* tests/RTCORBA/Makefile:
* tests/RTCORBA/Makefile.bor:
* tests/RTCORBA/README:
* tests/RTCORBA/ORB_init/Makefile:
* tests/RTCORBA/ORB_init/Makefile.bor:
* tests/RTCORBA/ORB_init/ORB_init.cpp:
* tests/RTCORBA/ORB_init/ORB_init.dsp:
* tests/RTCORBA/ORB_init/README:
* tests/RTCORBA/ORB_init/run_test.pl:
Added unit test to check for correct processing when
instantiating multiple RT enabled ORBs. Looking at some
of the RT code indicated that there might be a problem,
and there actually was. Thanks to Irfan for writing
the test.
* tao/TAO_Internal.cpp:
Added check to automatically initialize RTCORBA if it
has been linked in. This should fix a common source
of RTCORBA errors. Thanks to Irfan for the suggestion.
* tests/RTCORBA/Private_Connection/svc.conf:
* tests/RTCORBA/Server_Declared/server.conf:
* tests/RTCORBA/Server_Declared/svc.conf:
* tests/RTCORBA/Server_Protocol/server_iiop.conf:
* tests/RTCORBA/Server_Protocol/server_reverse.conf:
* tests/RTCORBA/Server_Protocol/server_reverse_nt.conf:
* tests/RTCORBA/Server_Protocol/server_shmiop.conf:
* tests/RTCORBA/Server_Protocol/svc.conf:
* tests/RTCORBA/Thread_Pool/svc.conf:
* tests/Exposed_Policies/server.conf:
* tests/Exposed_Policies/svc.conf:
* tests/RTCORBA/Banded_Connections/server.conf:
* tests/RTCORBA/Banded_Connections/svc.conf:
* tests/RTCORBA/Client_Propagated/svc.conf:
* tests/RTCORBA/Client_Protocol/svc.conf:
* tests/RTCORBA/Explicit_Binding/svc.conf:
* tests/RTCORBA/MT_Client_Protocol_Priority/server.conf:
* tests/RTCORBA/MT_Client_Protocol_Priority/svc.conf:
Updated configuration files to remove RT_ORB initialization
to test out the above change.
Thu Jul 12 15:10:52 2001 Ossama Othman <ossama@uci.edu>
* TAO_IDL/driver/drv_preproc.cpp (DRV_pre_proc):
Open the temporary file with the O_EXCL flag to close a symbolic
link attack vulnerability.
Thu Jul 12 13:31:25 2001 Ossama Othman <ossama@uci.edu>
* orbsvcs/orbsvcs/Security/EstablishTrustPolicy.h:
Corrected constructor signature to match the implementation.
* orbsvcs/orbsvcs/Security/Security_PolicyFactory.cpp
(create_policy):
Support creation of the SecurityLevel2::EstablishTrustPolicy.
* orbsvcs/orbsvcs/SSLIOP/SSLIOP_Connector.h:
* orbsvcs/orbsvcs/SSLIOP/SSLIOP_Connector.cpp (connect):
Refactored IIOP-specific and SSLIOP-specific code into new
iiop_connect() and ssliop_connect() methods, respectively.
(ssliop_connect):
Added support for the SecurityLevel2::EstablishTrustPolicy.
* orbsvcs/orbsvcs/SSLIOP/SSLIOP_Endpoint.h:
* orbsvcs/orbsvcs/SSLIOP/SSLIOP_Endpoint.i (object_addr):
Cache the SSLIOP-specific ACE_INET_Addr in the
TAO_SSLIOP_Endpoint rather than initializing one each time an
invocation is made. This should improve SSLIOP performance.
* orbsvcs/orbsvcs/SSLIOP/SSLIOP_Endpoint.cpp:
Removed left over Security::Detect{Replay,Misordering} security
association bits from the default security association value.
They were actually unused, but removed them anwyay since SSLIOP
doesn't support either. No visible run-time change will occur.
* orbsvcs/orbsvcs/Makefile.Security (FILES):
* orbsvcs/orbsvcs/Security.bor (OBJFILES):
* orbsvcs/orbsvcs/Security.dsp:
Added EstablishTrustPolicy files to the list of sources.
Thu Jul 12 15:10:46 2001 Paul Calabrese <calabrese_p@ociweb.com>
* examples/PluggableUDP/tests/Basic/svc.conf:
* examples/PluggableUDP/tests/Performance/svc.conf:
* tests/RTCORBA/Server_Protocol/server_iiop.conf:
* tests/RTCORBA/Server_Protocol/server_reverse.conf:
* tests/RTCORBA/Server_Protocol/server_reverse_nt.conf:
* tests/RTCORBA/Server_Protocol/server_shmiop.conf:
Switch these configuration files to use the
Advanced_Resource_Factory. This way their options
actually do something.
Thu Jul 12 13:07:20 2001 Jeff Parsons <parsons@cs.wustl.edu>
* tests/IDL_Test/interface.idl:
* tests/IDL_Test/reopened_modules.idl:
Moved some example code having nested modules from
interface.idl to reopened_modules.idl. This move hides
the generated code from both configurations of VxWorks,
which can't compile C++ code generated from nested IDL
modules.
Thu Jul 12 07:11:39 2001 Ossama Othman <ossama@uci.edu>
* tao/Strategies/advanced_resource.cpp (init):
Fixed broken code that initialized a stack allocated string
array with a non-const size. Use a CORBA::StringSeq instead.
Wed Jul 11 18:00:13 2001 Ossama Othman <ossama@uci.edu>
* tao/Invocation_Endpoint_Selectors.cpp (select_endpoint):
Applied patch from Wayne Erchak <werchak@stentor.com> that fixes
problem where the endpoint list in a given profile was not
iterated through during connection failures. "Fail-over"
semantics for a non-RTCORBA configured ORB once again work.
[Bug 927]
* orbsvcs/orbsvcs/Security/EstablishTrustPolicy.h:
* orbsvcs/orbsvcs/Security/QOPPolicy.h:
Added Doxygen comments for the TAO_QOPPolicy and
TAO_EstablishTrustPolicy classes.
Wed Jul 11 16:03:49 2001 Ossama Othman <ossama@uci.edu>
* orbsvcs/orbsvcs/Security/EstablishTrustPolicy.h:
* orbsvcs/orbsvcs/Security/EstablishTrustPolicy.cpp:
Implementation of the SecurityLevel2::EstablishTrustPolicy. It
makes it possible to control whether or not client/target
authentication is performed.
Wed Jul 11 16:03:58 2001 Paul Calabrese <calabrese_p@ociweb.com>
* tao/Object_Loader.h:
* tao/Resource_Factory.cpp:
* tao/Resource_Factory.h:
* tao/Server_Strategy_Factory.cpp:
* tao/Server_Strategy_Factory.h:
* tao/default_client.cpp:
* tao/default_client.h:
* tao/default_resource.cpp:
* tao/default_resource.h:
* tao/default_server.cpp:
* tao/default_server.h:
* tao/Strategies/advanced_resource.cpp:
* tao/Strategies/advanced_resource.h:
Improved processing of service configurator options. Many
failures were not being reported to the user. These changes
cause many failure to print warning messages but should not
affect execution of the code. The following situations now
result in warning messages:
- Passing unknown -ORB* options to a factory
(This includes passing advanced resource factory
options to the default resource factory)
- Passing an unknown value to a defined option
- Passing options to the default resource factory
(Resource_Factory) when the advanced resource factory
(Advanced_Resource_Factory) is being used
I also removed several deprecated options: -ORBEventLoopLock,
-ORBDemuxStrategy, and -ORBConnectorLock.
* examples/AMI/FL_Callback/AMI_Peer.dsp:
* examples/AMI/FL_Callback/AMI_Progress.dsp:
* examples/AMI/FL_Callback/Makefile:
* examples/AMI/FL_Callback/peer.conf:
* examples/AMI/FL_Callback/peer.cpp:
* examples/AMI/FL_Callback/svc.conf:
* orbsvcs/tests/AVStreams/Latency/Makefile:
* orbsvcs/tests/AVStreams/Latency/control.cpp:
* orbsvcs/tests/AVStreams/Latency/control.dsp:
* orbsvcs/tests/AVStreams/Latency/ping.cpp:
* orbsvcs/tests/AVStreams/Latency/ping.dsp:
* orbsvcs/tests/AVStreams/Latency/pong.cpp:
* orbsvcs/tests/AVStreams/Latency/pong.dsp:
* orbsvcs/tests/AVStreams/Latency/svc.conf:
* orbsvcs/tests/Event/Performance/latency.conf:
* orbsvcs/tests/Notify/performance-tests/RedGreen/svc.conf:
* performance-tests/Callback/Makefile:
* performance-tests/Callback/client.bor:
* performance-tests/Callback/client.cpp:
* performance-tests/Callback/client.dsp:
* performance-tests/Callback/server.bor:
* performance-tests/Callback/server.cpp:
* performance-tests/Callback/server.dsp:
* performance-tests/Callback/svc.conf:
* performance-tests/Cubit/TAO/IDL_Cubit/collocation_test.cpp:
* performance-tests/Cubit/TAO/IDL_Cubit/iiop_lite.conf:
* performance-tests/Cubit/TAO/IDL_Cubit/run_test.pl:
* performance-tests/Cubit/TAO/IDL_Cubit/svc.mt_server.conf:
* performance-tests/Cubit/TAO/IDL_Cubit/svc.st_client.conf:
* performance-tests/Cubit/TAO/IDL_Cubit/svc.st_server.conf:
* performance-tests/Cubit/TAO/IDL_Cubit/svc.zero_lock.conf:
* performance-tests/Cubit/TAO/IDL_Cubit/uiop_lite.conf:
* performance-tests/Cubit/TAO/IDL_Cubit/collocation/svc.conf:
* performance-tests/Cubit/TAO/MT_Cubit/Makefile:
* performance-tests/Cubit/TAO/MT_Cubit/client.bor:
* performance-tests/Cubit/TAO/MT_Cubit/client.cpp:
* performance-tests/Cubit/TAO/MT_Cubit/client.dsp:
* performance-tests/Cubit/TAO/MT_Cubit/server.cpp:
* performance-tests/Cubit/TAO/MT_Cubit/server.dsp:
* performance-tests/Cubit/TAO/MT_Cubit/svc.conf:
* performance-tests/RTCorba/Multiple_Endpoints/Orb_Per_Priority/client.conf:
* performance-tests/RTCorba/Multiple_Endpoints/Orb_Per_Priority/server.conf:
* performance-tests/RTCorba/Multiple_Endpoints/Orb_Per_Priority/client.cpp:
* performance-tests/RTCorba/Multiple_Endpoints/Orb_Per_Priority/server.cpp:
* performance-tests/RTCorba/Multiple_Endpoints/Orb_Per_Priority/Makefile:
* performance-tests/RTCorba/Multiple_Endpoints/Single_Endpoint/client.conf:
* performance-tests/Throughput/Makefile:
* performance-tests/Throughput/client.bor:
* performance-tests/Throughput/client.cpp:
* performance-tests/Throughput/server.bor:
* performance-tests/Throughput/server.cpp:
* performance-tests/Throughput/svc.conf:
* tests/AMI_Timeouts/svc.conf:
* tests/Collocation/Collocation.bor:
* tests/Collocation/Collocation.cpp:
* tests/Collocation/Collocation.dsp:
* tests/Collocation/Makefile.test:
* tests/Collocation/svc.conf:
* tests/Exposed_Policies/Client.dsp:
* tests/Exposed_Policies/Makefile:
* tests/Exposed_Policies/Server.dsp:
* tests/Exposed_Policies/client.bor:
* tests/Exposed_Policies/client.cpp:
* tests/Exposed_Policies/server.bor:
* tests/Exposed_Policies/server.conf:
* tests/Exposed_Policies/server.cpp:
* tests/Exposed_Policies/svc.conf:
* tests/FL_Cube/Makefile:
* tests/FL_Cube/client.bor:
* tests/FL_Cube/client.cpp:
* tests/FL_Cube/server.bor:
* tests/FL_Cube/server.cpp:
* tests/FL_Cube/svc.conf:
* tests/LongUpcalls/svc.conf:
* tests/MT_Server/server.conf:
* tests/Strategies/Makefile:
* tests/Strategies/README:
* tests/Strategies/client.bor:
* tests/Strategies/server.bor:
* tests/Strategies/svc.conf
These are changes to TAO tests and examples with
broken service config files. The above changes
caused these files to generate warnings. The vast
majority of the problems were the passing of advanced
resource factory options to the default resource
factory. Most were changed to simply use the advanced
resource factory. Some were modified to use
the defaults of the default resource factory.
Wed Jul 11 14:41:20 2001 Jeff Parsons <parsons@cs.wustl.edu>
* TAO_IDL/ast/ast_decl.cpp (compute_prefix):
Fixed function to work if the #pragma prefix string looks like
'#pragma prefix "foo.bar"'. The preprocessor takes care
of the whitespace, if any, between '#pragma' and 'prefix'.
Wed Jul 11 14:38:00 2001 Craig Rodrigues <crodrigu@bbn.com>
* tao/Strategies/DIOP_Connection_Handler.cpp:
Only display debugging message if TAO_debug_level is set > 5.
Wed Jul 11 13:49:00 2001 Craig Rodrigues <crodrigu@bbn.com>
* utils/catior/catior.cpp:
Add support for printing DIOP (GIOP over UDP) profiles.
Wed Jul 11 08:39:14 2001 Jeff Parsons <parsons@cs.wustl.edu>
* tao/RTCORBA/RT_Protocols_Hooks.cpp (get_thread_CORBA_priority):
Replace ACE_CHECK with ACE_CHECK_RETURN (-1) - function must
return an int.
Wed Jul 11 09:25:00 2001 Craig Rodrigues <crodrigu@bbn.com>
* orbsvcs/tests/Makefile.bor:
Add Simple_Naming test
Wed Jul 11 02:19:59 2001 Irfan Pyarali <irfan@cs.wustl.edu>
* tao/RTPortableServer/RT_Servant_Dispatcher.cpp: Remember the
native priority of the invoking thread. Once the invocation
completes, restore the thread to the original native thread
priority.
Previously, when the priority was restored, it was done it terms
of CORBA priority. The problem with this approach was that in
the conversion from native to CORBA and then back to native, we
can lose precision and hence the native priority of the native
thread may not be the same as its original native priority.
Therefore, remembering the original native priority will
alleviate this problem.
* tao/Protocols_Hooks:
* tao/Default_Protocols_Hooks:
* tao/RT_Protocols_Hooks.cpp:
Expanded the priority interfaces on the Protocols_Hooks such
that the user can obtain both the native and CORBA priorities.
Also, the user can set both.
* tao/RTCORBA/RT_Invocation_Endpoint_Selectors.cpp (select_endpoint):
* tao/RTCORBA/RT_Current.cpp (the_priority):
* tao/Strategies/Reactor_Per_Priority.cpp (reactor):
Changed to use new priority interfaces.
Tue Jul 10 22:37:48 2001 Ossama Othman <ossama@uci.edu>
* orbsvcs/orbsvcs/Security/QOPPolicy.cpp (copy):
Perform a deep copy, not a shallow copy. The copy is supposed
to be independent of the original.
Tue Jul 10 15:59:31 2001 Ossama Othman <ossama@uci.edu>
* tao/PortableInterceptorC.h:
Include "PolicyC.h" to pull in some policy related exception
definitions. This fixed a problem with some minimum CORBA
builds with native exception support enabled. Thanks to
Sangeetha Ramadurai <Sangeetha.Ramadurai@geind.ge.com> for
reporting the problem and providing a fix.
Tue Jul 10 15:56:13 2001 Krishnakumar B <kitty@cs.wustl.edu>
* tao/GIOP_Message_Lite.h:
* tao/GIOP_Message_Lite.cpp:
* tao/Pluggable_Messaging.h:
* tao/Pluggable_Messaging.cpp:
Fixed warning about virtual function override. Was caught by the
Tru64 compiler.
Tue Jul 10 13:09:18 2001 Jeff Parsons <parsons@cs.wustl.edu>
* TAO_IDL/be/be_visitor_valuetype/valuetype.cpp:
Corrected a generation of skel_export_macro to
stub_export_macro. Thanks to Alexander Rieger
<Alexander.Rieger@inka.de> for tracking this down.
Tue Jul 10 11:51:05 2001 Jeff Parsons <parsons@cs.wustl.edu>
* TAO_IDL/be/be_visitor_interface/interface_ch.cpp:
* TAO_IDL/be/be_visitor_interface/interface_sh.cpp:
Changed code so that the inheritance list of a class
declaration consists of fully scoped names. The stub
generation was using ACE_NESTED_CLASS, and the skeleton
generation was using a computed relative name. Both
generated uncompilable code in some cases. Thanks to
Richard L. Johnson <rich@huey.jpl.nasa.gov> for reporting
this bug and for sending in the example IDL file.
* tests/IDL_Test/interface.idl:
Added example IDL to this file in the IDL test suite.
Tue Jul 10 05:52:09 2001 Douglas C. Schmidt <schmidt@ace.cs.wustl.edu>
* tao/Profile.h,
* tao/Object.h: Fixed typos in comments. Thanks to Johnny
Willemsen for reporting this.
* tao/Connector_Registry.h (TAO_Connector_Registry): Fixed a typo
where svc.comf should have been svc.conf. Thanks to Johnny
Willemsen for reporting this.
* tao/ORB.cpp: Added an addition expression to the #ifdef for the
using std::set_unexpected declaration. Thanks to Scott Plant
<splant@softhome.net> for reporting this.
Tue Jul 10 00:45:00 2001 Ossama Othman <ossama@uci.edu>
* tao/RTCORBA/RT_ORB.cpp (TAO_RT_CORBA_Priority_Normalizer):
Fixed busted code that did not check if the resolved
PriorityMappingManager object reference was nil. Since this
check was missing, a seg fault would occur when attempting to
invoke a method on that mapping manager. Throw a
CORBA::INTERNAL() exception if the reference is nil. This at
leasts lets us identify a problem without seg faulting.
Fixed broken code that did not use emulated exceptions properly.
The ACE_TRY/CATCH block was missing.
Tue Jul 10 09:13:12 2001 Johnny Willemsen <jwillemsen@remedy.nl>
* tao/orbsvcs/orbsvcs/security.bor
Added the missing files Security_PolicyFactory and QOPPolicy
Mon Jul 09 23:43:29 2001 Ossama Othman <ossama@uci.edu>
* tao/params.i (default_init_ref):
Use CORBA::string_dup() to return a duplicate string instead of
relying on ACE_CString::rep(). This allows us to portably take
advantage of CORBA::String_var in TAO_ORB_Core::resolve_rir().
* tao/ORB_Core.cpp (list_initial_references):
Corrected long standing bug where the stringified object
reference was placed in the ObjectIdList instead of the ObjectId
that represents it.
Include the ObjectIds stored in the underlying table for
the ORB::register_initial_reference() mechanism in the returned
ObjectIdList. This was a bug.
(TAO_ORB_Core, fini):
The rt_priority_mapping_manager_ cached object reference member
was unused. Removed its initialization and finalization code.
(resolve_rir):
Improved exception-safety of this method by using a
CORBA::String_var instead of relying solely on delete().
* tao/ORB_Core.h (rt_priority_mapping_manager_):
Removed this unused attribute.
* tao/Object_Ref_Table.h (begin, end):
Made iterator accessors public so that the ORB_Core can use
them.
* tao/Object_Ref_Table.cpp:
Removed three unnecessary Hash Map related template
instantiations.
(current_size):
Return the current size of the underlying table.
* tests/InterOp-Naming/README:
Corrected format for corbaloc IORs.
Mon Jul 9 17:39:21 2001 Jeff Parsons <parsons@cs.wustl.edu>
* orbsvcs/tests/Security/Secure_Invocation/client.cpp:
Added .in() to a CORBA::ORB_var passed to a function.
Mon Jul 9 14:56:26 2001 Douglas C. Schmidt <schmidt@tango.doc.wustl.edu>
* docs/components.html (bgcolor): Fixed a typo. Thanks to
John Ashmun for reporting this.
Mon Jul 09 10:56:30 2001 Ossama Othman <ossama@uci.edu>
* tao/DynamicInterface/Server_Request.h:
* tao/DynamicInterface/Server_Request.inl (_tao_server_request):
Added this accessor that returns a reference to the underlying
TAO_ServerRequest object. Thanks to James Megquier
<jmegq@bbn.com> and Mouna Seri <seri@crhc.uiuc.edu> for
suggesting addition of this accessor.
Mon Jul 9 11:16:36 2001 Jeff Parsons <parsons@cs.wustl.edu>
* tao/IFR_Client/TAO_IFR_Client.dsp:
* tao/TypeCodeFactory/TypeCodeFactory.dsp:
Added MFC debug and release versions to these projects.
Thanks to Francois Bernier <fbernier@gel.ulaval.ca> for
sending them in.
Mon Jul 9 10:13:54 2001 Jeff Parsons <parsons@cs.wustl.edu>
* TAO_IDL/be/be_interface.cpp:
* TAO_IDL/be_visitor_interface/interface_ch.cpp:
* TAO_IDL/be_visitor_interface/interface_cs.cpp:
* tao/Object.cpp:
* tao/Object.h:
* tao/Object.i:
Added static int _tao_class_id to CORBA::Object and
to all classes generated from IDL interfaces. The
address of this variable is used in all
_unchecked_narrow() and _tao_QueryInterface() methods.
Formerly, the address of the _narrow() method was used,
but on BCB, this address is not usable across DLLs.
Thanks to Christopher Kohlhoff <chris@kohlhoff.com> for
suggesting the fix.
Mon Jul 9 15:27:12 2001 Johnny Willemsen <jwillemsen@remedy.nl>
* tao/orbsvcs/tests/AVStreams/Makefile.bor
* tao/orbsvcs/tests/AVStreams/Multicast_Full_Profile/*.bor
* tao/orbsvcs/tests/AVStreams/Full_Profile/*.bor
Added BCB makefiles for the mentioned AVStreams test
Mon Jul 09 04:11:45 2001 Ossama Othman <ossama@uci.edu>
* orbsvcs/orbsvcs/Security/QOPPolicy.h:
Added missing "ace/post.h" include.
Mon Jul 09 02:43:38 2001 Ossama Othman <ossama@uci.edu>
* orbsvcs/tests/Security/Secure_Invocation/Makefile:
* orbsvcs/tests/Security/Secure_Invocation/client.cpp:
* orbsvcs/tests/Security/Secure_Invocation/client.dsp:
* orbsvcs/tests/Security/Secure_Invocation/run_test.pl:
Updated this test to take advantage of the newly added
Security::QOPPolicy support. The test is more self-contained
now, i.e. it no longer depends so much on the "run_test.pl" Perl
script to test all features.
Mon Jul 09 02:21:32 2001 Ossama Othman <ossama@uci.edu>
* docs/releasenotes/index.html:
Updated Security Service release notes.
Mon Jul 09 01:51:27 2001 Ossama Othman <ossama@uci.edu>
* tao/Invocation.h:
* tao/Invocation.i:
Added accessors to the transport and max_wait_time members.
* tao/Invocation.cpp (perform_call):
Updated invocation of the connect() method to match the
signature change described below.
* tao/Connector_Registry.cpp:
* tao/Connector_Registry.h:
* tao/IIOP_Connector.cpp:
* tao/IIOP_Connector.h:
* tao/Pluggable.h:
* tao/Strategies/DIOP_Connector.cpp:
* tao/Strategies/DIOP_Connector.h:
* tao/Strategies/SHMIOP_Connector.cpp:
* tao/Strategies/SHMIOP_Connector.h:
* tao/Strategies/UIOP_Connector.cpp:
* tao/Strategies/UIOP_Connector.h:
* orbsvcs/orbsvcs/SSLIOP/IIOP_SSL_Connector.h:
* orbsvcs/orbsvcs/SSLIOP/SSLIOP_Connector.h:
Changed signature of connect() method to accept a pointer to a
TAO_GIOP_Invocation object. Some pluggable protocols
(e.g. SSLIOP) may need access to some of the information in that
object.
* orbsvcs/orbsvcs/Security.idl:
Corrected spelling of Security::SecFeaturePolicy. "Feature" not
"Features".
* orbsvcs/orbsvcs/Security/QOPPolicy.cpp:
* orbsvcs/orbsvcs/Security/QOPPolicy.h:
Implementation of the Security::QOPPolicy policy. This policy
is used to set the desired invocation Quality-of-Protection
(QoP). It can be created using ORB::create_policy(), and used
in conjunction with the standard policy manipulation CORBA
features (e.g. PolicyManager, PolicyCurrent), meaning that this
policy can be set on a per-ORB, per-thread or per-object basis.
This policy makes it possible to, for example, make both secure
and insecure invocations within the same client process.
* orbsvcs/orbsvcs/Security/Security_PolicyFactory.cpp:
* orbsvcs/orbsvcs/Security/Security_PolicyFactory.h:
Security policy factory implementation that is registered with
the ORB's policy factory registry.
* orbsvcs/orbsvcs/Security/Security_ORBInitializer.cpp (post_init,
register_policy_factories):
Register the supported security policy factories with the ORB.
* orbsvcs/orbsvcs/Security/Security_ORBInitializer.h:
Added a shared security policy factory member to this
ORBInitializer. The factory is reentrant so there is no need
create one for each ORB. Just share one between all ORBs.
* orbsvcs/orbsvcs/SSLIOP/IIOP_SSL_Connector.cpp (connect):
Moved code that obtained the TAO_IIOP_Endpoint from the
TAO_SSLIOP_Endpoint from this method to the corresponding one in
TAO_SSLIOP_Connector. This cleans up the code a bit. It
shouldn't differ all that much from the
IIOP_Connector::connect() implementation.
* orbsvcs/orbsvcs/SSLIOP/SSLIOP_Connector.cpp (connect):
Now that both secure and insecure invocations are supported
within the same client process, an IIOP-only transport
descriptor must be used instead of the one passed to this method
since the latter is used for SSLIOP connections. Doing so
prevents an IIOP-only cached transport from being associated
with an SSLIOP connection.
This fixes a problem that was revealed when support for secure
and insecure invocations within the same client process was
added (i.e. via the Security::QOPPolicy support). An insecure
cached transport was matched against an SSLIOP connection.
* tao/IIOP_Endpoint.i:
* orbsvcs/orbsvcs/SSLIOP/SSLIOP_Endpoint.cpp:
Cosmetic updates.
* tao/Exception.cpp:
Corrected "unknown description" message.
* tao/Strategies/SHMIOP_Endpoint.h:
* tao/Strategies/UIOP_Endpoint.h:
Doxygen-ated these headers.
* orbsvcs/orbsvcs/Makefile.Security:
* orbsvcs/orbsvcs/Security.dsp:
* orbsvcs/orbsvcs/Security/Security.bor:
Added new QOPPolicy and Security_PolicyFactory filenames to
these Makefiles and project files.
Mon Jul 9 08:41:12 2001 Johnny Willemsen <jwillemsen@remedy.nl>
* tao/orbsvcs/tests/AVStreams/Makefile.bor
* tao/orbsvcs/tests/AVStreams/Pluggable/*.bor
* tao/orbsvcs/tests/AVStreams/Multicast/*.bor
Added BCB makefiles for the mentioned AVStreams test
Sat Jul 7 19:44:55 2001 Krishnakumar B <kitty@cs.wustl.edu>
* tao/Incoming_Message_Queue.inl (get_queued_data):
Moved the definition to the beginning to fix warning. Was caught
by Tru64 cxx compiler.
Fri Jul 6 22:04:51 2001 Balachandran Natarajan <bala@cs.wustl.edu>
* tests/LongUpcalls/run_ami_test.pl: Made the perl script
runnable. It was giving weird errors in the builds.
Fri Jul 06 21:53:26 2001 Christopher Kohlhoff <chris@kohlhoff.com>
* tao/Makefile.bor:
* tao/Strategies/Makefile.bor:
Removed GIOP Lite support and added new source files.
* orbsvcs/orbsvcs/AV/AV_Core.h:
Fixed borland #pragmas to correctly reset previous options.
Fri Jul 6 16:58:52 2001 Ossama Othman <ossama@uci.edu>
* orbsvcs/Notify_Service/Notify_Service.cpp (shutdown):
Applied the same fix from Jody's patch described below to this
method.
Fri Jul 6 15:59:17 2001 Ossama Othman <ossama@uci.edu>
* orbsvcs/Notify_Service/Notify_Service.h (naming_):
* orbsvcs/Notify_Service/Notify_Service.cpp (init,
resolve_naming_service):
Integrated patch from Jody Hagins <jody@atdesk.com>. Take
advantage of the methods provided by the
CosNaming::NamingContextExt interface so that the Notification
Service does the right thing with an option such as
"-Factory Foo.Bar/My_Event_Channel".
Fri Jul 6 18:02:07 2001 Balachandran Natarajan <bala@cs.wustl.edu>
* tao/TAO_Static.dsp: Removed support for GIOP Lite for the time
being. Just want to make sure that the interface and other stuff
stabilises before we can squeeze this in.
Fri Jul 6 17:55:25 2001 Jeff Parsons <parsons@cs.wustl.edu>
* TAO_IDL/be/be_visitor_argument/pre_invoke_cs.cpp (void_return_type):
Change a call to base_node_type() on the operation's return type
node to node_type(), which is the same but does no unaliasing.
We are checking for a return type of void, which can't be aliased
anyway. The return from base_node_type() checks for equality to
the enum value NT_pre_defined, which now returns true for some
aliased return types, and that causes problems later in the
function. Thanks to Walter Wehrli <walter.wehrli@ubs.com> for
sending in the example IDL file that uncovered this bug.
Fri Jul 6 17:13:20 2001 Jeff Parsons <parsons@cs.wustl.edu>
* tao/ORB_Core.cpp:
Changed the string passed to
ACE_Dynamic_Service<TAO_Object_Loader>::instance from
"TypeCodeFactory" to "TypeCodeFactor_Loader" to match the string
in the ACE_STATIC_SVC_DEFINE macro in
TypeCodeFactory_Loader.cpp. Thanks to Francois Bernier
<fbernier@gel.ulaval.ca> for reporting the bug.
Fri Jul 6 17:10:07 2001 Balachandran Natarajan <bala@cs.wustl.edu>
* tao/GIOP_Message_Base.cpp:
* tao/Transport.cpp: Added support for LocateRequest & LocateReply
that. It should have been added before the code from my branch
came to the main trunk, but somehow got missed.
Fri Jul 6 16:01:45 2001 Balachandran Natarajan <bala@cs.wustl.edu>
* tao/Transport.cpp (process_queue_head):
* tao/GIOP_Message_State.cpp: Fixed a problem that has long been
there. We have been unlucky that we did not get to this before.
Fri Jul 06 14:58:09 2001 Nanbor Wang <nanbor@cs.wustl.edu>
To build "CosEvent - Win32 MFC Release":
* TAOACE.dsw: Make RTEvent a dependent of CosEvent.
* orbsvcs/orbsvcs/RTEvent.dsp: Set up IDL custom build rules for
MFC configs.
* orbsvcs/orbsvcs/CosEvent.dsp: Changed the name for release
version libarary to XXXmfc.lib.
Thanks to Kristopher Johnson <kristopher.johnson@transcore.com>
for providing the fix. [Bug 898]
Fri Jul 6 13:33:35 2001 Jeff Parsons <parsons@cs.wustl.edu>
* TAO_IDL/Makefile.BE:
* TAO_IDL/Makefile.FE:
Added lines to force static lib compiliation for mingw. Thanks
to Cristian Ferretti <cristian_ferretti@yahoo.com> for the
patches.
Fri Jul 6 13:23:46 2001 Balachandran Natarajan <bala@cs.wustl.edu>
* tao/Synch_Reply_Dispatcher.cpp:
* tao/Asynch_Reply_Dispatcher.cpp: Removed the initialization of a
buffer from the constructor. Looks like I used to do it in some
life of mine and I dont which one it was. :( SunCC 4.2 doesnt
like that.
* tao/Resume_Handle.cpp: Added a #include of the reactor to fix
compile errors in Sun CC4.2.
Fri Jul 6 13:19:25 2001 Jeff Parsons <parsons@cs.wustl.edu>
* TAO_IDL/be/be_visitor_sequence/gen_bounded_obj_sequence_ch.cpp:
* TAO_IDL/be/be_visitor_sequence/gen_bounded_sequence_ch.cpp:
* TAO_IDL/be/be_visitor_sequence/gen_bounded_str_sequence_ch.cpp:
* TAO_IDL/be/be_visitor_sequence/gen_bounded_wstr_sequence_ch.cpp:
Added generation of 'TAO_EXPORT_MACRO' to class declaration.
Thanks to Craig Rodrigues and Christopher Kohlhoff for helping to
track this stuff down.
* TAO_IDL/be/be_visitor_sequence/gen_unbounded_sequence_ch.cpp:
Changed generation of 'TAO_EXPORT_NESTED_MACRO' to 'TAO_EXPORT_MACRO'.
Fri Jul 6 12:38:06 2001 Balachandran Natarajan <bala@cs.wustl.edu>
* tao/Transport.cpp: Fixed a bug with thread-per-connection
model. We dont need to send notify () to the reactor as there is
no reactor.
Fri Jul 6 11:27:00 2001 Craig Rodrigues <crodrigu@bbn.com>
* tao/IFR_Client/IFR_BaseC.h:
* tao/DynamicAny/DynamicAnyC.h:
* tao/IORManipulation/IORC.h:
Export more classes to appease Borland C++.
Fri Jul 6 08:27:06 2001 Balachandran Natarajan <bala@cs.wustl.edu>
* tao/Incoming_Message_Queue.h:
* tao/Resume_Handle.h:
* orbsvcs/orbsvcs/SSLIOP/IIOP_SSL_Transport.h: Fixed fuzz errors.
Fri Jul 6 08:14:48 2001 Balachandran Natarajan <bala@cs.wustl.edu>
* performance-tests/Cubit/TAO/MT_Cubit/Makefile:
* performance-tests/Cubit/TAO/IDL_Cubit/Makefile: Generated
dependencies again.
Fri Jul 6 07:43:15 2001 Chad Elliott <elliott_c@ociweb.com>
* orbsvcs/IFR_Service/Makefile:
Disable building this for Visual Age C++ due to the fact that the
using keyword is not properly supported.
Fri Jul 6 07:38:55 2001 Chad Elliott <elliott_c@ociweb.com>
* performance-tests/Cubit/TAO/MT_Cubit/Task_Client.h:
Fix warning when using gcc on Tru64.
Fri Jul 6 07:38:44 2001 Balachandran Natarajan <bala@cs.wustl.edu>
* orbsvcs/orbsvcs/SSLIOP.bor:
* orbsvcs/orbsvcs/SSLIOP.dsp: Added the new file
IIOP_SSL_Transport.cpp to the above files.
Fri Jul 6 07:12:44 2001 Balachandran Natarajan <bala@cs.wustl.edu>
* orbsvcs/orbsvcs/Makefile.av: Generated dependencies again. Looks
like the last dependency generation did not do a good job. This
should fix all the compile errors seen in the builds.
Fri Jul 6 06:56:59 2001 Balachandran Natarajan <bala@cs.wustl.edu>
* tao/Makefile.bor:
* tao/Strategies/Makefile.bor: Fixed the makefiles. Thanks to
Johnny Willemsen for alerting me on this.
Thu Jul 6 01:06:55 2001 Balachandran Natarajan <bala@cs.wustl.edu>
* tao/Strategies/DIOP_Connection_Handler.h: Fixed a link error
on Win32 builds.
Fri Jul 6 00:39:38 2001 Balachandran Natarajan <bala@cs.wustl.edu>
* orbsvcs/*/Makefile: Updated dependencies.
Fri Jul 6 00:38:05 2001 Balachandran Natarajan <bala@cs.wustl.edu>
* examples/*/Makefile: Updated dependencies.
Fri Jul 6 00:34:13 2001 Balachandran Natarajan <bala@cs.wustl.edu>
* performance-tests/*/Makefile: Updated dependencies.
Fri Jul 6 00:27:54 2001 Balachandran Natarajan <bala@cs.wustl.edu>
* tests/*/Makefile: Updated dependencies.
Thu Jul 6 00:16:55 2001 Balachandran Natarajan <bala@cs.wustl.edu>
* tao/TAO_Static.dsp:
* tao/Strategies/TAO_Strategies.dsp:
* tao/Strategies/TAO_Strategies_Static.dsp: Added the new files
and removed old ones.
Thu Jul 5 23:57:55 2001 Balachandran Natarajan <bala@cs.wustl.edu>
* tao/Makefile:
* tao/*/Makefile: Updated dependencies.
Thu Jul 5 23:49:34 2001 Balachandran Natarajan <bala@cs.wustl.edu>
* orbsvcs/orbsvcs/Makefile.SSLIOP: Added IIOP_SSL_Transport to it.
Thu Jul 5 23:44:16 2001 Balachandran Natarajan <bala@cs.wustl.edu>
* tao/Strategies/GIOP_Message_NonReactive_Base.h:
* tao/Strategies/GIOP_Message_NonReactive_Base.cpp:
* tao/Strategies/GIOP_Message_NonReactive_Handler.h:
* tao/Strategies/GIOP_Message_NonReactive_Handler.cpp:
* tao/Strategies/GIOP_Message_NonReactive_Handler.inl:
* tao/GIOP_Message_Reactive_Handler.h:
* tao/GIOP_Message_Reactive_Handler.cpp:
* tao/GIOP_Message_Reactive_Handler.inl: Removed them from the
main trunk. They are no longer needed.
Thu Jul 5 23:42:17 2001 Balachandran Natarajan <bala@cs.wustl.edu>
* tao/GIOP_Message_State.i: Removed from the main trunk. Replaced
that with GIOP_Message_State.inl.
Thu Jul 5 23:30:07 2001 Balachandran Natarajan <bala@cs.wustl.edu>
The long awaited fix for bug 575 is finally in!! This has been
merged from bug_575_stage_2. The ChangeLog entries start here,
Thu Jul 5 23:00:43 2001 Balachandran Natarajan <bala@cs.wustl.edu>
* orbsvcs/orbsvcs/SSLIOP/SSLIOP_Connection_Handler.cpp
* orbsvcs/orbsvcs/SSLIOP/SSLIOP_Connection_Handler.h
* orbsvcs/orbsvcs/SSLIOP/SSLIOP_Transport.cpp
* orbsvcs/orbsvcs/SSLIOP/SSLIOP_Transport.h: Fixed some more
compilation errors in g++.
Thu Jul 5 22:35:07 2001 Balachandran Natarajan <bala@cs.wustl.edu>
* orbsvcs/orbsvcs/SSLIOP/IIOP_SSL_Transport.h:
* orbsvcs/orbsvcs/SSLIOP/IIOP_SSL_Transport.cpp: Fixed compile
errors in g++. The new IIOP_SSL_Transport classes now does the
functionality of the IIOP_SSL_Connection_Handler classes. The
connection handler classes exist now only to create the
transport.
Thu Jul 5 21:44:59 2001 Balachandran Natarajan <bala@cs.wustl.edu>
* orbsvcs/orbsvcs/SSLIOP/IIOP_SSL_Transport.h:
* orbsvcs/orbsvcs/SSLIOP/IIOP_SSL_Transport.cpp: New files for the
SSLIOP.
* orbsvcs/orbsvcs/SSLIOP/IIOP_SSL_Connection_Handler.h:
* orbsvcs/orbsvcs/SSLIOP/IIOP_SSL_Connection_Handler.cpp: Moved
the handle_input () from the connection handler to transport.
* tao/Strategies/DIOP_*: Fixed it for the new setup. We now make
a buffer of dgram size and use that to read messages.
Thu Jul 5 14:44:59 2001 Balachandran Natarajan <bala@cs.wustl.edu>
Merged with the main trunk and moved it to a new branch by name
bug_575_stage_2.
Wed Jul 4 18:53:22 2001 Balachandran Natarajan <bala@cs.wustl.edu>
* orbsvcs/orbsvcs/SSLIOP/SSLIOP_Transport.cpp (recv_i): Added the
error checking.
* tao/Pluggable_Messaging.h: Made reset () as a pure virtual
function.
* tao/Strategies/UIOP_Transport.cpp: Removed the close_connection
() call on TMS.
* tao/LIST_OF_TODO: Updated..
Wed Jul 4 18:45:22 2001 Balachandran Natarajan <bala@cs.wustl.edu>
* tao/GIOP_Message_State.inl (reset):
* tao/GIOP_Message_State.h:
* tao/GIOP_Message_State.cpp:
* tao/GIOP_Message_Base.h:
* tao/GIOP_Message_Base.cpp:
* tao/GIOP_Message_Base.inl:
* tao/Incoming_Message_Queue.cpp:
* tao/Pluggable_Messaging.h:
* tao/Pluggable_Messaging.cpp: Added documentation.
* tao/Transport.h:
* tao/Transport.cpp: Fixed a minor bug. In consolidate_message ()
we were not checking the queue before processing the message on
hand. Now we check the queue and process the head of the queue
if it is not empty. In the process we add the message on hand in
the queue.
Wed Jul 4 16:21:22 2001 Balachandran Natarajan <bala@cs.wustl.edu>
* tao/IIOP_Transport.cpp: Removed the connection_closed () from
the recv_i () call.
* tao/Transport.h:
* tao/Transport.cpp: Added a number of comments and cleaned up the
code for readability.
* tao/LIST_OF_TODO: Updated the list.
Wed Jul 4 09:20:22 2001 Balachandran Natarajan <bala@cs.wustl.edu>
* tao/Transport.h (TAO_Transport): Added some documentation for
the incoming_data_path.
* orbsvcs/orbsvcs/SSLIOP/SSLIOP_Transport.cpp:
* orbsvcs/orbsvcs/SSLIOP/SSLIOP_Transport.h:
* orbsvcs/orbsvcs/SSLIOP/SSLIOP_Connection_Handler.cpp:
* orbsvcs/orbsvcs/SSLIOP/SSLIOP_Connection_Handler.h: Fixed the
SSLIOP for the changes. Havent compiled this yet.
Tue Jul 3 17:09:22 2001 Balachandran Natarajan <bala@cs.wustl.edu>
* tao/Strategies/SHMIOP_Transport.cpp: Fixed a bug in
consolidate_message (). The IDL_Cubit tests work fine with the
SHMIOP & UIOP transports.
Tue Jul 3 16:29:06 2001 Balachandran Natarajan <bala@cs.wustl.edu>
* tao/Strategies/SHMIOP_Connection_Handler.cpp:
* tao/Strategies/SHMIOP_Connection_Handler.h:
* tao/Strategies/SHMIOP_Transport.cpp: Fixed warnings and errors
in g++.
* tao/Strategies/UIOP_Transport.cpp:
* tao/Strategies/UIOP_Transport.h:
* tao/Strategies/UIOP_Connection_Handler.h:
* tao/Strategies/UIOP_Connection_Handler.cpp: Fixed warnungs and
errors in g++.
* tao/IIOP_Connection_Handler.cpp: Used fetch_handle () to get the
handle instead of the handle passed as an argument of the
handle_input () call.
* tao/Connection_Handler.h: Added a new #define and changed
TAO_CONNECTION_HANDLER_BUF_SIZE as
TAO_CONNECTION_HANDLER_STACK_BUF_SIZE.
Tue Jul 03 15:45:03 2001 Balachandran Natarajan <bala@cs.wustl.edu>
* tao/Strategies/SHMIOP_Transport.h:
* tao/Strategies/SHMIOP_Transport.cpp:
* tao/Strategies/SHMIOP_Connection_Handler.h:
* tao/Strategies/SHMIOP_Connection_Handler.cpp: Fixed the protocol
to work with the latest changes.
* tao/Strategies/TAO_Strategies.dsp: Removed the
GIOP_NonReactive_* files.
* tao/Resume_Handle.cpp: Fixed a bug in resume_handle (). If we
have a null ORB_Core we just dont resume the handle.
Mon Jul 02 23:16:03 2001 Balachandran Natarajan <bala@cs.wustl.edu>
* tao/IIOP_Transport.cpp:
* tao/IIOP_Transport.h: Removed some functions which would no
longer be used.
* tao/Transport.h: Added some documentation for the incoming data
path.
* tao/Strategies/UIOP_Transport.h:
* tao/Strategies/UIOP_Transport.cpp:
* tao/Strategies/UIOP_Connection_Handler.cpp: Brought them up in
sync with IIOP.
Mon Jul 02 20:28:03 2001 Balachandran Natarajan <bala@cs.wustl.edu>
This checkin fixes many problems with multiple calls being read in
a single read.
* tao/GIOP_Message_Base.cpp: Changed the way we calculate the
remaining length that needs to be copied if the last read had
left with a very small piece of message ie. less than 12 bytes
in the queue.
* tao/GIOP_Message_State.cpp: Fixed a check condition before we go
ahead to parse the header.
* tao/Incoming_Message_Queue.h:
* tao/Incoming_Message_Queue.cpp:
* tao/Incoming_Message_Queue.inl: Added a method set_flags
(). Further the condition for resuming the handler has been
relaxed. Clients of this class can decide not to resume handlers
at all. This comes in handy at times. Also added a operator=
method.
* tao/Transport.cpp:
* tao/Transport.h: One of the bigger problems have been
solved. The way we now multiple oneways is like this
- The leader thread uses the transport and reads more messages
- It splits up the messages in to pieces and queues them up.
- It just takes one message and processes (the head of the
queue). The changes above makes sure that only one of the
message is processed.
- Before processing if it finds one more message it sends a
notify () to the reactor. An important point is that it does
this without resuming the handler.
- The notify call processes one more message. Before processing
if it finds one more complete message it just sends another
notify to the reactor.
- The thread that reads the last complete message from the queue
resumes the handler before processing the message.
By the above process we dont starve any thread and at the
same time ensures concurrency within the ORB.
* tao/LIST_OF_TODO: Updated..
Sun Jul 01 18:35:03 2001 Balachandran Natarajan <bala@cs.wustl.edu>
* tao/Asynch_Reply_Dispatcher.h:
* tao/Asynch_Reply_Dispatcher.cpp:
* tao/DynamicInterface/DII_Reply_Dispatcher.h:
* tao/DynamicInterface/DII_Reply_Dispatcher.cpp: Applied the same
optimization that was done in the last checkin. The last checkin
works fine. It is no more a suspect.
Sun Jul 01 18:05:03 2001 Balachandran Natarajan <bala@cs.wustl.edu>
* tao/GIOP_Message_Base.cpp: Fixed small problems in getting
message types.
* tao/Synch_Reply_Dispatcher.h:
* tao/Synch_Reply_Dispatcher.cpp:
* tao/Pluggable_Messaging_Utils.h:
* tao/Pluggable_Messaging_Utils.cpp: Suspect optimisations added
to create datablocks on stack.
* tao/LIST_OF_TODO: Updated list..
Sun Jul 01 09:05:03 2001 Balachandran Natarajan <bala@cs.wustl.edu>
* tao/Transport_Mux_Strategy.h:
* tao/Muxed_TMS.h:
* tao/Muxed_TMS.cpp:
* tao/Exclusive_TMS.cpp:
* tao/Exclusive_TMS.h: Removed commented out code. They have been
commented out for sometime that we dont need them anymore.
* tao/Incoming_Message_Queue.cpp:
* tao/Incoming_Message_Queue.inl:
* tao/Incoming_Message_Queue.h: Added lots of comments. Changed
the name of the method copy_message () to copy_tail () and
missing_data () to missing_data_tail (). Added a new static
method TAO_Queued_Data::release () that releases a node.
* tao/Transport.cpp: Accomodated the changes to the
Incoming_Message_Queue to the Transport class.
* tao/LIST_OF_TODO: Updated ..
Sat Jun 30 13:00:03 2001 Balachandran Natarajan <bala@cs.wustl.edu>
* tao/GIOP_Message_Base.cpp:
* tao/GIOP_Message_Base.h: Fixed a subtle bug while allocating
memory for the datablock in the queue. Memory was allocated only
for the exact number of bytes without thinking about the
alignment. Increased the number of bytes allocated.
Created the outgoing CDR streams on the stack with memory drawn
from the TSS. We cannot share the buffers like the way it has
been done so far.
* tao/IIOP_Transport.cpp: Increased the debug_level for a debug
statement.
* This checkin fixes the AMI problems that have been seen so far.
* tao/LIST_OF_TODO: Updated the list.
Fri Jun 29 18:30:03 2001 Balachandran Natarajan <bala@cs.wustl.edu>
* tao/GIOP_Message_Base.cpp: Fixed a bug in calculating the number
of bytes that needs to be copied into queue.
* tao/Incoming_Message_Queue.cpp:
* tao/Incoming_Message_Queue.h: Changed the signature of copy
(). It returns the number of bytes copied instead of a void.
* tao/Transport.cpp (parse_consolidate_messages):
* tao/Transport.h: Added a new method parse_consolidate_messages
() to the class. It does some common functaionalities like
parsing the messages & consolidating the messages.
Thu Jun 28 18:30:03 2001 Balachandran Natarajan <bala@cs.wustl.edu>
* tao/Resume_Handle.cpp: Added a check for resumable_handlers
before actually resuming the handle.
Thu Jun 28 18:25:03 2001 Balachandran Natarajan <bala@cs.wustl.edu>
* tao/Transport.cpp (process_queue_head):
* tao/Transport.h: Added a new method that would take the message
from the head of the incoming queue and send it for processing.
* tao/GIOP_Message_Base.cpp: Minor formatting.
Thu Jun 28 17:16:50 2001 Balachandran Natarajan <bala@cs.wustl.edu>
* tao/GIOP_Message_Base.cpp:
* tao/GIOP_Message_Base.h:
* tao/Pluggable_Messaging.h: Removed all the arguments that had an
TAO_ORB_Core as one of the arguments. GIOP classes hold a copy
of the pointer to the ORB_Core and so it is no
necessary. Removed the following methods
- is_message_complete ()
- message_type ()
The message_type () method is now local to the GIOP classes and
it returns the Pluggable Message type from the
GIOP_Message_State. This method is now used to fill the node
with the right information type about the message.
* tao/Transport.cpp: Used the information from the node of the
queue to determine the type of message before processing it.
Thu Jun 28 15:12:32 2001 Balachandran Natarajan <bala@cs.wustl.edu>
* tao/GIOP_Message_Base.cpp:
* tao/GIOP_Message_Base.i: Moved the get_queued_data () from the
.i file to the .cpp file.
* tao/Incoming_Message_Queue.h: #include'd a file.
* tao/Makefile: Added new files.
* tao/Resume_Handle.inl: Added the ACE_INLINE macros to the
methods defined in this file.
Thu Jun 28 09:30:43 2001 Balachandran Natarajan <bala@cs.wustl.edu>
* tao/Transport.cpp:
* tao/GIOP_Message_Base.h:
* tao/GIOP_Message_Base.i:
* tao/GIOP_Message_Base.cpp: Made lots of changes to deal with the
following
- to parse & queue up messages if we have read multiple messages.
- to consolidate messages if we had read half of a message
- to process a consolidated message.
We now use the node of the Incoming Message Queue to share data
between the Transport layer and the GIOP layer.
* tao/Incoming_Message_Queue.h:
* tao/Incoming_Message_Queue.cpp:
* tao/Incoming_Message_Queue.inl: Made the TAO_Queued_Data as a
seperate class. This helped using the node of the queue to be
shared between the GIOP layer. Removed many of the useless
methods like wr_ptr (), is_message_complete (), add_message ()
etc. We have the following methods that are more meaningful
- is_tail_complete ()
- is_message_complete ()
- dequeue_head ()
- dequeue_tail ()
- enqueue_tail ()
Added a static method get_queued_data () to create a node in the
Message Queue.
Added the protocol version information to the Queued Data. We
also need the message type and that has also been added.
* tao/Resume_Handle.h:
* tao/Resume_Handle.cpp:
* tao/Resume_Handle.inl: This is a utility class that is used to
resume handlers. This works more or less similar to our
ACE_GUARD macros, but uses a flag to keep track whether the
handle has been resumed.
* tao/IIOP_Connection_Handler.cpp: Installed the Resume_Handle in
handle_input () methods.
* tao/Pluggable_Messaging.h: Removed the method byte_order () and
added the methods consolidate_node (), get_message_data () and
extract_next_message ().
* tao/Wait_On_Read.cpp:
* tao/Connection_Handler.cpp: Changes to keep in sync with the
changes to the signature of handle_input_i () in Transport
class.
* tao/LIST_OF_TODO: Updated the list of TODO's.
Mon Jun 25 19:21:43 2001 Balachandran Natarajan <bala@cs.wustl.edu>
* tao/GIOP_Message_Base.cpp:
* tao/GIOP_Message_Base.h:
* tao/GIOP_Message_Base.i:
* tao/GIOP_Message_State.inl:
* tao/IIOP_Transport.cpp:
* tao/Incoming_Message_Queue.cpp:
* tao/Incoming_Message_Queue.h:
* tao/Incoming_Message_Queue.inl:
* tao/Pluggable_Messaging.h:
* tao/Transport.cpp:
* tao/Transport.h: An inconsistent checkin only to transfer the
files to the box at home.
Mon Jun 25 12:10:15 2001 Balachandran Natarajan <bala@cs.wustl.edu>
* tao/Incoming_Message_Queue.{h,cpp,inl}:
* tao/LIST_OF_TODO:
* tao/GIOP_Message_State.inl: Added these to my branch.
Mon Jun 25 07:54:31 2001 Balachandran Natarajan <bala@cs.wustl.edu>
* tao/* : Merged the files from the main branch.
Mon Jun 25 07:45:38 2001 Balachandran Natarajan <bala@cs.wustl.edu>
* Created this file.
Fri Jun 22 17:00:38 2001 Balachandran Natarajan <bala@cs.wustl.edu>
* tao/LIST_OF_TODO: Updated the list of TODO's.
Mon Jun 18 13:31:38 2001 Balachandran Natarajan <bala@cs.wustl.edu>
* tao/Asynch_Reply_Dispatcher.cpp (dispatch_reply):
* tao/Synch_Reply_Dispatcher.cpp:
* tao/GIOP_Message_Base.cpp:
* tao/Transport.cpp:
* tao/DynamicInterface/DII_Reply_Dispatcher.cpp: Fixed warnings in
g++ builds.
Sat Jun 17 17:46:23 2001 Balachandran Natarajan <bala@cs.wustl.edu>
This set of changes comes with complete revamping of the previous
design. The flaws with the previous design were as follows
(1) We were unnecessarily penalising large data blocks. We were
trying to read a particular size of data till the data was
completely removed from the socket. This was totally
ridiculous because we were doing more reads than required.
(2) The message block that was constructed on the stack with a
buffer from stack never did what we wanted. It was allocating
a data block on the heap and was thus spoiling whatever
optimization that we had tried putting in.
(3) The incoming message Queue is now managed by the TAO_Transport
object instead of the GIOP classes.
* tao/GIOP_Message_Base.cpp:
* tao/GIOP_Message_Base.h: Removed the references to the incoming
message queue. Implemention for two methods missing_data () and
byte_order (). Added an extra argument to the methods
process_request_message () and process_reply_message (). Used
the incoming message block to create a input CDR with the
DONT_DELETE flag so that the data block is not deleted after
request processing.
* tao/GIOP_Message_State.cpp: Removed the inclusion of
Transport.h.
* tao/Incoming_Message_Queue.h:
* tao/Incoming_Message_Queue.cpp:
* tao/Incoming_Message_Queue.inl: Added an argument to the
add_message (). Further the implementation of add_message () has
changed a bit. It now adds only a new message to the queue. It
doesn't modify a half filled queue. The TAO_Transport object
does that job. So declared the TAO_Transport as the friend class
of the Incoming_Message_Queue.
Changed the name of the methods complete_message () as
is_complete_message (). Removed the methods current_message ()&
current_byte_order ().
Added a new method copy_message () which copies messages into
the half empty nodes.
Added a method wr_ptr () to access the write pointer of the tail
node that has halfempty message.
* tao/Transport.cpp:
* tao/Transport.h: The Incoming Message Queue is now managed by
this class. Added the following methods
- missing_data ()
- parse_incoming_messages ()
- check_message_integrity ()
- consolidate_message ()
- conslodate_message_queue ()
* tao/Pluggable_Messaging.h: Added two new virtual functions
missing_data () and byte_order ().
* tao/ORB_Core.h:
* tao/ORB_Core.cpp:
* tao/ORB_Core.i: Added an accessor for the locking_strategy used
for the CDR blocks.
* tao/Synch_Reply_Dispatcher.cpp:
* tao/Asynch_Reply_Dispatcher.cpp:
* tao/DynamicInterface/DII_Reply_Dispatcher.cpp: Changed the
exchange_data_block () to clone_from () which is a new method in
ACE_InputCDR.
* tao/LIST_OF_TODO: Updated the list
Sat Jun 16 15:49:23 2001 Balachandran Natarajan <bala@cs.wustl.edu>
* tao/Any.cpp:
* tao/Asynch_Reply_Dispatcher.cpp:
* tao/CDR.cpp:
* tao/CDR.h:
* tao/CDR.i:
* tao/GIOP_Message_Lite.cpp:
* tao/IIOP_Profile.cpp:
* tao/Invocation.cpp:
* tao/ORB.cpp:
* tao/Pluggable_Messaging_Utils.cpp:
* tao/Synch_Reply_Dispatcher.cpp:
* tao/TAO_Server_Request.cpp:
* tao/DynamicInterface/DII_Reply_Dispatcher.cpp: Integrated some
of the changes from the main trunk in this branch.
Wed Jun 13 17:55:24 2001 Balachandran Natarajan <bala@cs.wustl.edu>
* tao/Incoming_Message_Queue.cpp:
* tao/Incoming_Message_Queue.inl: Fixed a bad way to use the tail
of the circular linked list. This is now replaced by the size of
the linked list. This fixes quite a few errors.
* tao/Transport.cpp: On read () if we get errno == EWOULDBLOCK we
were closing the connection prematurely. This is not right. We
should only return a 0 to the reactor, so that it can call us
back when there is data in the socket.
Wed Jun 13 10:45:24 2001 Balachandran Natarajan <bala@cs.wustl.edu>
* tao/GIOP_Message_Base.cpp (process_reply_message): Fixed the
reply parsing and generation of the CDR stream that is passed on
to the higher layers of the ORB.
Wed Jun 13 07:25:24 2001 Balachandran Natarajan <bala@cs.wustl.edu>
* tao/Makefile: Added new files.
* tao/Exclusive_TMS.cpp: Removed some commented code.
Tue Jun 12 18:42:55 2001 Balachandran Natarajan <bala@cs.wustl.edu>
* tao/GIOP_Message_State.h:
* tao/GIOP_Message_State.inl: The message_size () now returns the
payload size + the GIOP header length. Added a new method
payload_size () that returns the payload size alone.
* tao/GIOP_Message_Base.cpp: Fixed a warning with g++ builds.
* tao/Connection_Handler.h:
* tao/Connection_Handler.cpp: The svc_i () method now calls
handle_input_i () on the transport instead of the method in the
same class. The handle_input_i () in the TAO_Connection_Handler
class has been removed as it is no longer used.
* tao/IIOP_Connection_Handler.h:
* tao/IIOP_Connection_Handler.cpp: Removed the implementation of
handle_input_i ().
* tao/Incoming_Message_Queue.cpp: When trying to make a new data
block we dont add the size of GIOP header. The message_size ()
now returns with that value.
* tao/Incoming_Message_Queue.inl: Fixed a link error in g++
builds.
Tue Jun 12 17:42:55 2001 Balachandran Natarajan <bala@cs.wustl.edu>
First set of checkins for big two ways.
* tao/Connection_Handler.h: Added #define for the default
buffer size . Not sure yet whether this is the right place for
it.
* tao/Incoming_Message_Queue.h:
* tao/Incoming_Message_Queue.cpp:
* tao/Incoming_Message_Queue.inl: Queue up the incoming
messages. We form a circular linked list of messages that are
bigger than a particular buffer size. During processing we take
messages of the queue to pass it onto the higher layers of the
ORB.
* tao/GIOP_Message_Base.cpp:
* tao/GIOP_Message_Base.h: Added support for big two way
requests. If the message has only been partially read we add the
message in the queue and then go for the next read. During
processing we check if the queue has messages before processing
the message on hand.
* tao/GIOP_Message_State.h:
* tao/GIOP_Message_State.cpp:
* tao/GIOP_Message_State.inl: Added accessor methods.
* tao/Transport.cpp: Added support for bigger two ways. If we
receive a two way bigger than a particular size we read and
queue the message and do a further read to retrieve the rest of
the message.
* tao/TAO.dsp: Added new files.
* tao/default_resource.cpp: For single threaded configuration we
have been creating a locked data block and that seems to defy
logic. We now should create a lock free datablock for single
threaded configurations.
Sat Jun 2 12:02:55 2001 Balachandran Natarajan <bala@cs.wustl.edu>
* tao/* : Merged with the main trunk.
Fri Jun 1 17:22:29 2001 Balachandran Natarajan <bala@cs.wustl.edu>
* tao/GIOP_Message_State.cpp (parse_message_header_i):
* tao/Connection_Handler.cpp:
* tao/GIOP_Message_Base.cpp:
* tao/Makefile:
* tao/Transport.cpp: Fixed warnings and errors in Linux g++.
Thu Jun 01 13:39:02 2001 Balachandran Natarajan <bala@cs.wustl.edu>
* tao/Transport.cpp:
* tao/Transport.h: Added the following methods -- handle_input_i
(), process_parsed_message (). The handle_input_i () creates a
buffer on the stack. It uses the buffer to read the
messages. Any errors in read () or dealt here directly. The read
message is then parsed and processed by the GIOP classes. Moved
most of the code for processing here as they seem to be common
between different transport protocols. Once we have received a
full message, we just resume the handler and go ahead with
processing the message.
* tao/IIOP_Connection_Handler.cpp (handle_input ()): Calls
handle_input_i () on the transport.
* tao/Connection_Handler.h:
* tao/Connection_Handler.cpp: The svc_i () calls the
handle_input_i () on the transport instead of the same call on
the connection handler. This way we should be able to share the
same code among different protocol objects.
* tao/GIOP_Message_State.h:
* tao/GIOP_Message_State.cpp: Much of the message parsing and
state information is stored here.
* tao/GIOP_Message_Base.h:
* tao/GIOP_Message_Base.cpp:
* tao/Pluggable_Messaging.h: made some changes to suit the
above. But more changes could come in, to suit different
protocols. We may want to change the interfaces in
Pluggable_Messaging to give a much cleaner interface to the
world.
* tao/Wait_On_Read.cpp: Used the handle_input_i () on the
transport for processing the incoming data.
* tao/TAO.dsp:
* tao/PortableServer/TAO_PortableServer.dsp: Added new files and
removed files from GIOP_Lite in the first round.
* tao/GIOP_Message_Reactive_Handler.cpp:
* tao/GIOP_Message_Reactive_Handler.h: Looks like these files
would be removed during the final merge.
The above checkins works for simple two way calls. The
BiDirectional_NestedUpcall test works with the TP_Reactor. This
works on Win32.
Thu May 24 12:19:02 2001 Balachandran Natarajan <bala@cs.wustl.edu>
* tao/Transport.h: Added some design forces for the input data
path.
End of ChangeLog entries from branch bug_575_stage_2.
Thu Jul 5 22:04:24 2001 Balachandran Natarajan <bala@cs.wustl.edu>
* tests/LongUpcalls/run_ami_test.pl: Adding a new perl script to
this test. This is supposed to fail in the daily builds as this
needs bug fix 575.
Thu Jul 5 21:16:00 2001 Craig Rodrigues <crodrigu@bbn.com>
* orbsvcs/orbsvcs/AV/AV_Core.h
Added some Borland compiler pragma options to prevent
singleton problems when AV_Core is in a DLL.
Thu Jul 5 20:41:00 2001 Craig Rodrigues <crodrigu@bbn.com>
* tao/CONV_FRAMEC.h
* tao/DynamicC.h
* tao/PolicyC.h
Added export macros for some Unbounded Sequence types.
* TAO_IDL/be/be_visitor_sequence/gen_unbounded_obj_sequence_ch.cpp
Add export macro for unbounded object sequence types
Thu Jul 5 09:22:12 2001 Johnny Willemsen <jwillemsen@remedy.nl>
* orbsvcs/tests/AVStreams/Makefile.bor
Added Asynch_Three_Stage
* orbsvcs/tests/AVStreams/Asynch_Three_Stage/*.bor
Added BCB makefiles
Thu Jul 5 04:53:00 2001 Craig Rodrigues <crodrigu@bbn.com>
* orbsvcs/tests/AVStreams/Component_Switching/Makefile
Add missing link flag -lTAO_Strategies, needed
for Advanced_Resource_Factory in svc.conf.
* orbsvcs/tests/AVStreams/Component_Switching/receiver.cpp
Fix typo
* orbsvcs/tests/AVStreams/Component_Switching/run_test.pl
Add -ORBSkipServiceConfigOpen to startup of Naming_Service,
it did not like the svc.conf file in this directory.
Wed Jul 4 09:53:01 2001 Frank Hunleth <fhunleth@cs.wustl.edu>
* tao/Strategies/TAO_Strategies_Static.dsp:
Updated static build with DIOP files.
Wed Jul 4 09:52:20 2001 Jeff Parsons <parsons@cs.wustl.edu>
* tao/DynamicAny/DynCommon.cpp (insert_reference):
Added a call to _is_a() as a final check to see if there
is a type mismatch between the dynamic any and the
object reference argument. Thanks to Jonathan Biggar
<jon@floorboard.com> for clarifying the spec and to
Philippe Merle <Philippe.Merle@lifl.fr> for suggesting
optimizations.
Wed Jul 4 09:10:24 2001 Jeff Parsons <parsons@cs.wustl.edu>
* TAO_IDL/be/be_visitor_interface/tie_sh.cpp:
* TAO_IDL/be/be_visitor_root/root_sth.cpp:
Removed ACE_HAS_USING_KEYWORD guard from each TIE class
declaration, and added it to the global module reopening
where all TIE class declarations will occur. This
includes the TAO_NAMESPACE macro inside the guard, which
is what we want if the platform does not support
namespaces.
Wed Jul 4 14:05:12 2001 Johnny Willemsen <jwillemsen@remedy.nl>
* orbsvcs/tests/Makefile.bor
Updated to include AVStreams
* orbsvcs/tests/AVStreams/Component_Switching/*.bor
* orbsvcs/tests/AVStreams/Simple_Three_Stage/*.bor
* orbsvcs/tests/AVStreams/Simgle_Two_Stage/*.bor
Updated these BCB makefiles so that these tests are now
build without errors
Tue Jul 3 20:09:58 2001 Frank Hunleth <fhunleth@cs.wustl.edu>
* tao/Strategies/TAO_Strategies.dsp:
Added DIOP source files to project.
Tue Jul 3 20:09:58 2001 Frank Hunleth <fhunleth@cs.wustl.edu>
* examples/PluggableUDP/tests/Basic/Makefile:
* examples/PluggableUDP/tests/Performance/Makefile:
* examples/PluggableUDP/tests/SimplePerformance/Makefile:
* tao/Strategies/Makefile:
Updated dependencies.
Tue Jul 3 18:25:41 2001 Frank Hunleth <fhunleth@cs.wustl.edu>
* examples/PluggableUDP/DIOP/*:
Moved DIOP source files from PluggableUDP to Strategies.
* examples/PluggableUDP/README:
* examples/PluggableUDP/DIOP/README:
Updated README files to note file location change.
* examples/PluggableUDP/Makefile:
* examples/PluggableUDP/Makefile.bor:
Removed DIOP directory from build.
* examples/PluggableUDP/tests/Basic/Makefile:
* examples/PluggableUDP/tests/Basic/client.bor:
* examples/PluggableUDP/tests/Basic/client.cpp:
* examples/PluggableUDP/tests/Basic/client.dsp:
* examples/PluggableUDP/tests/Basic/server.bor:
* examples/PluggableUDP/tests/Basic/server.cpp:
* examples/PluggableUDP/tests/Basic/server.dsp:
* examples/PluggableUDP/tests/Basic/svc.conf:
* examples/PluggableUDP/tests/Performance/Makefile:
* examples/PluggableUDP/tests/Performance/client.bor:
* examples/PluggableUDP/tests/Performance/client.cpp:
* examples/PluggableUDP/tests/Performance/client.dsp:
* examples/PluggableUDP/tests/Performance/server.bor:
* examples/PluggableUDP/tests/Performance/server.cpp:
* examples/PluggableUDP/tests/Performance/server.dsp:
* examples/PluggableUDP/tests/Performance/svc.conf:
* examples/PluggableUDP/tests/SimplePerformance/Makefile:
* examples/PluggableUDP/tests/SimplePerformance/client.bor:
* examples/PluggableUDP/tests/SimplePerformance/client.cpp:
* examples/PluggableUDP/tests/SimplePerformance/client.dsp:
* examples/PluggableUDP/tests/SimplePerformance/server.bor:
* examples/PluggableUDP/tests/SimplePerformance/server.cpp:
* examples/PluggableUDP/tests/SimplePerformance/server.dsp:
* examples/PluggableUDP/tests/SimplePerformance/svc.conf:
Updated source files and Makefiles to look for the DIOP
code in the Strategies library rather than in the DIOP library.
* tao/orbconf.h:
Added #define to control whether DIOP is compiled in or not.
* tao/Strategies/DIOP_Acceptor.cpp:
* tao/Strategies/DIOP_Acceptor.h:
* tao/Strategies/DIOP_Acceptor.i:
* tao/Strategies/DIOP_Connection_Handler.cpp:
* tao/Strategies/DIOP_Connection_Handler.h:
* tao/Strategies/DIOP_Connection_Handler.i:
* tao/Strategies/DIOP_Connector.cpp:
* tao/Strategies/DIOP_Connector.h:
* tao/Strategies/DIOP_Endpoint.cpp:
* tao/Strategies/DIOP_Endpoint.h:
* tao/Strategies/DIOP_Endpoint.i:
* tao/Strategies/DIOP_Factory.cpp:
* tao/Strategies/DIOP_Factory.h:
* tao/Strategies/DIOP_Profile.cpp:
* tao/Strategies/DIOP_Profile.h:
* tao/Strategies/DIOP_Profile.i:
* tao/Strategies/DIOP_Transport.cpp:
* tao/Strategies/DIOP_Transport.h:
* tao/Strategies/DIOP_Transport.i:
Moved DIOP files to Strategies. Updated linking specifiers and
include files to reflect change.
* tao/Strategies/Makefile:
* tao/Strategies/Makefile.bor:
Added DIOP files.
* tao/Strategies/TAO_Strategies_Internal.cpp:
* tao/Strategies/advanced_resource.cpp:
Added service configurator hooks for DIOP.
Tue Jul 3 14:53:00 2001 Craig Rodrigues <crodrigu@bbn.com>
* orbsvcs/orbsvcs/AV/AV_Core.h
* orbsvcs/orbsvcs/AV/RTCP.h
* orbsvcs/orbsvcs/AV/RTP.h
* orbsvcs/orbsvcs/AV/Transport.h
* orbsvcs/orbsvcs/AV/UDP.h
Fix some includes, add TAO_AV_Export in more class
declarations.
Tue Jul 3 11:27:03 2001 Jeff Parsons <parsons@cs.wustl.edu>
* TAO_IDL/be/be_codegen.cpp:
* TAO_IDL/be/be_visitor_interface/tie_sh.cpp:
* TAO_IDL/be/be_visitor_interface/tie_si.cpp:
Removed the #if defined (ACE_HAS_USING_KEYWORD)
guards from the top and bottom of the *S_T.{h,i}
files and added their generation on a TIE class by
TIE class basis, conditionally, if the original
interface is defined inside a module. TIE class
code will compile for interfaces declared at global
scope, even on platforms that do not support
namespaces. This enhancement was requested by
Marco Kranawetter <Marco.Kranawetter@icn.siemens.de>.
Tue Jul 3 09:55:22 2001 Jeff Parsons <parsons@cs.wustl.edu>
* tao/DynamicAny/DynUnion_i.cpp:
Added missing .in() to a CORBA::Any_var.
* tao/DynamicAny/DynCommon.cpp:
Removed unnecessary break statement.
Tue Jul 3 08:45:13 2001 Jeff Parsons <parsons@cs.wustl.edu>
* tests/Smart_Proxies/Benchmark/client.dsp:
* tests/Smart_Proxies/Benchmark/server.dsp:
Fixed IDL compiler settings in the release version.
Mon Jul 2 08:59:16 2001 Johnny Willemsen <jwillemsen@remedy.nl>
* orbsvcs/tests/AVStreams/Makefile.bor
Added BCB makefile
Mon Jul 2 23:13:00 2001 Craig Rodrigues <crodrigu@bbn.com>
* orbsvcs/orbsvcs/AV/AVStreams_i.h
* orbsvcs/orbsvcs/AV/Protocol_Factory.h
* orbsvcs/orbsvcs/AV/Transport.h
* orbsvcs/orbsvcs/AV/UDP.h
Added TAO_AV_Export to more classes to fix Borland DLL builds.
* orbsvcs/tests/AVStreams/Simple_Two_Stage/receiver.bor
* orbsvcs/tests/AVStreams/Simple_Two_Stage/sender.bor
Added more linker flags to fix Borland DLL builds.
Mon Jul 2 19:32:09 2001 Jeff Parsons <parsons@cs.wustl.edu>
* tests/Queued_Message_Test/Queued_Message_Test.cpp:
Changed use of ACE_OS::rand_r(seed) to ACE_OS::srand(seed)
and ACE_OS::rand(). ACE_OS::rand_r(seed) is not supported
on Win32 platforms, and was causing the test to hang.
Mon Jul 2 17:06:22 2001 Balachandran Natarajan <bala@cs.wustl.edu>
* tao/ORB_Core.cpp: Initialization of the transport_cache ()
should preceed the preconnects (). Thanks to Irfan for pointing
this out.
Mon Jul 2 15:53:29 2001 Jeff Parsons <parsons@cs.wustl.edu>
* orbsvcs/tests/InterfaceRepo/IFR_Test/Admin_Client.cpp:
* tao/Typecode.cpp:
* tao/append.cpp:
* tao/skip.cpp:
* tao/DynamicAny/DynUnion_i.cpp:
Modified CORBA::TypeCode::member_label() to return a duplicate
Any pointer (to be comsumed by the caller), making it consistent
with other ORB functions that return pseudo-object types. Also
modified all uses of member_label() in TAO to prevent memory
leaks. Thanks to Philippe Merle <Philippe.Merle@lifl.fr> for
pointing out this inconsistency, and to Jonanthan Biggar
<jon@floorboard.com> for clarifying the spec with regard to
memory management of pseudo-objects.
Mon Jul 2 14:29:49 2001 Frank Hunleth <fhunleth@cs.wustl.edu>
* performance-tests/RTCorba/Multiple_Endpoints/Single_Endpoint/Makefile:
* performance-tests/RTCorba/Multiple_Endpoints/Orb_Per_Priority/Makefile:
Removed duplicate ACE and TAO library includes. Should fix KCC
linker warnings.
Mon Jul 2 14:50:00 2001 Craig Rodrigues <crodrigu@bbn.com>
* orbsvcs/AV/AVStreams_i.cpp
Only display certain debug messages when higher ORB debug level
is specified.
Mon Jul 2 13:37:45 2001 Jeff Parsons <parsons@cs.wustl.edu>
* TAO_IDL/fe/idl.ll:
* TAO_IDL/fe/lex.yy.cpp:
Added '\x' to the list of escaped characters in the
regular expression for strings in the TAO IDL lexer,
and regenerated the C++ file. Legal IDL strings such
as "\xA" were producing syntax errors. Thanks to
Jules Colding <dsl11814@vip.cybercity.dk> for reporting
this bug.
Mon Jul 2 13:18:14 2001 Douglas C. Schmidt <schmidt@tango.doc.wustl.edu>
* Moved all the ChangeLog-* files into the new ChangeLogs
directory. Thanks to Holger P . Krekel <krekel@merlinux.de> for
this suggestion.
Mon Jul 2 10:57:26 2001 Jeff Parsons <parsons@cs.wustl.edu>
* tests/Smart_Proxies/Benchmark/Benchmark.dsw:
* tests/Smart_Proxies/Benchmark/client.dsp:
* tests/Smart_Proxies/Benchmark/server.dsp:
New files to build the smart proxies benchmark test on
Win32 platforms.
* tests/Smart_Proxies/Benchmark/client.cpp:
* tests/Smart_Proxies/Benchmark/Smart_Proxy_Impl.cpp:
* tests/Smart_Proxies/Benchmark/Smart_Proxy_Impl.h:
Removed unnecessary TAO_HAS_SMART_PROXIES macro from
these files.
* docs/Smart_Proxies.html:
Updated documentation.
|