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
|
Thu Jun 20 13:37:55 2002 Douglas C. Schmidt <schmidt@tango.doc.wustl.edu>
* examples/C++NPv2/README: Updated the README file to map the filenames
to the chapters in C++NPv2.
Wed Jun 19 21:30:05 UTC 2002 Craig Rodrigues <crodrigu@bbn.com>
Bill Fulton <Bill_A_Fulton@raytheon.com>
* ace/SOCK_Dgram_Mcast_T.cpp: Fix Win32 wchar build problems.
Thanks to Bill Fulton for supplying these fixes.
Wed Jun 19 16:16:32 2002 Nanbor Wang <nanbor@cs.wustl.edu>
* tests/tests.dsw:
* tests/Recursive_Condition_Test.dsp: Added a new project file.
Wed Jun 19 06:50:54 2002 Douglas C. Schmidt <schmidt@macarena.cs.wustl.edu>
* tests/run_test.lst:
* tests/Makefile.bor:
* tests/Makefile: Added the new Recursive_Condition_Test.
* ACE/Timer_Queue_Adapters.{h,cpp}: Enhanced
ACE_Thread_Timer_Queue_Adapter so it uses the new
ACE_Condition<ACE_Recursive_Thread_Mutex>. Thanks to
Stephen Howard <stephen.e.howard@lmco.com> for
suggesting this.
* ace/Synch_T.h: Added a new RECURSIVE_CONDITION trait in
ACE_NULL_SYNCH and ACE_MT_SYNCH.
* ace/Synch_T.h: Added a #define for ACE_SYNCH_RECURSIVE_CONDITION
so that we can parameterize it based on threads vs. non-threads.
* docs/exceptions.html: Updated document to use ACE_RE_THROW
instead of the deprecated ACE_RETHROW macro. Thanks to
Andy Ling <Andy.Ling@Quantel.Com> for reporting this.
* ace/Timer_Queue_Adapters.h: Changed the order in which
the condition variable and mutex are defined to ensure the
mutex is initialized before we pass it to condition_'s
constructor.
* ace/Synch.cpp:
* ace/Atomic_Op.i: Replaced ACE_TEMPLATE_SPECIALIZATION with
ACE_TEMPLATE_METHOD_SPECIALIZATION so this will compile correctly
on certain (broken) compilers, such as SunC++ 6.1.
Wed Jun 19 14:25:52 2002 Balachandran Natarajan <bala@cs.wustl.edu>
* ace/TP_Reactor.cpp (handle_socket_events): Couple of small
fixes. The fixes are for
1. Bug http://deuce.doc.wustl.edu/bugzilla/show_bug.cgi?id=1231
and it is self-explanatory
2. The find () operation after dispatch was not holding the lock
and chances of race are high. This is documented as #2 in
bug http://deuce.doc.wustl.edu/bugzilla/show_bug.cgi?id=1233
Added some comments in the code explaining what is going
on. Thanks to Carlos for identifying the problem.
* ace/Event_Handler.h: Added a enum to indicate the two states
returnable by the call resume_handler ().
* ace/Event_Handler.cpp (resume_handler): Instead of returning 0,
we return ACE_Event_Handler::ACE_REACTOR_RESUMES_HANDLER.
Wed Jun 19 13:42:16 2002 Balachandran Natarajan <bala@cs.wustl.edu>
* tests/tests.dsw (Project): Added TP_Reactor_Test.dsp to the
workspace.
Wed Jun 19 11:57:02 2002 Carlos O'Ryan <coryan@atdesk.com>
* bin/auto_run_tests.lst:
Disable TAO/tests/Nested_Upcall_Crash on minimum_corba builds.
Tue Jun 18 14:29:26 2002 Douglas C. Schmidt <schmidt@macarena.cs.wustl.edu>
* ace/Synch.{h,i}: Added a new template specialization of ACE_Condition<>
that supports recursive mutexes used in conjunction with ACE
condition variables. Thanks to Michael Lindner
<mikel@attmail.com> and Mike Vitalo <mvitalo@sprynet.com> for
contributing this.
* ace/SOCK_Dgram_Mcast.cpp: Reverted the file to the previous version
since somehow things got messed up...
Tue Jun 18 12:44:54 2002 Douglas C. Schmidt <schmidt@tango.doc.wustl.edu>
* ace/OS.{h,i}: Added a new method called stopped() that
returns 1 if the timer has already been stopped. Thanks to
Giovanni Zito <g.zito@acsys.it> for this suggestion.
Tue Jun 18 12:17:58 2002 Jaiganesh Balasubramanian <jai@doc.ece.uci.edu>
* ace/QoS/SOCK_Dgram_Mcast_QoS.cpp:
Added the RCS ID symbol.
Tue Jun 18 12:41:15 2002 Balachandran Natarajan <bala@cs.wustl.edu>
* ace/CDR_Stream.i (adjust): Added a check for pointer overflow
befor setting the write pointer. thanks to Rich Siebel and Byron
Harris for pointing this out.
Tue Jun 18 07:50:14 2002 Ossama Othman <ossama@uci.edu>
* ace/Env_Value_T.h:
Include "ace/OS.h". It is required for some types and function
calls made in this header. Thanks to Michael Kircher for
pointing this out.
Mon Jun 17 17:36:52 2002 Steve Huston <shuston@riverace.com>
* examples/C++NPv2/AIO_Client_Logging_Daemon.cpp: Changed call
to ACE_Asynch_Connector::open() to take advantage of new
defaults, made on:
Sat Jun 15 20:30:41 2002 Steve Huston <shuston@riverace.com>
Mon Jun 17 17:21:38 2002 Steve Huston <shuston@riverace.com>
* ace/SUN_Proactor.cpp (handle_events): Remove the now-deleted
success argument from call to application_specific_code().
Mon Jun 17 13:40:24 2002 Balachandran Natarajan <bala@cs.wustl.edu>
* include/makeinclude/platform_osf1_4.x_cxx.GNU: Removed the hard
override of LDFLAGS. Thanks to Martin Krumpolec
<krumpo@pobox.sk>.
Mon Jun 17 06:20:55 2002 Christopher Kohlhoff <chris@kohlhoff.com>
* ace/Object_Manager.cpp:
* ace/Service_Config.h:
* ace/Service_Config.cpp:
Some components registered with the framework repository have
dependencies on the ACE_Log_Msg or ACE_Thread_Manager singletons.
Reorganised the ACE_Object_Manager::fini function so that the
framework repository is cleaned up before these objects. Thanks to
Don Hinton <dhinton@ieee.org> for assistance in tracking this down.
* ace/Reactor.cpp:
Prevent the reactor from being erroneously registered with the
framework repository a second time, as happened when the reactor
instance pointer was explicitly set.
Sun Jun 16 20:38:27 2002 Krishnakumar B <kitty@cs.wustl.edu>
* ace/DLL_Manager.cpp (ACE_DLL_Handle):
* ace/DLL.cpp:
More mismatched delete/delete[] errors. I am fixing the easier
ones. There may be more.
Sun Jun 16 20:22:28 2002 Krishnakumar B <kitty@cs.wustl.edu>
* ACEXML/common/AttributesImpl.i (qName):
Fixed memory leaks caused by mismatched delete/delete[]. Caught
by Valgrind.
* ACEXML/examples/SAXPrint/main.cpp:
Give useful usage messages.
Sat Jun 15 20:56:29 2002 Steve Huston <shuston@riverace.com>
* tests/tests.dsw: Added Proactor_Timer_Test.dsp.
Sat Jun 15 20:30:41 2002 Steve Huston <shuston@riverace.com>
* ace/Asynch_Acceptor.{h cpp}: Added a new template method,
virtual int validate_connection
(const ACE_Asynch_Connect::Result& result,
const ACE_INET_Addr &remote,
const ACE_INET_Addr& local)
It replaces the old validate_new_connection() method, which is
now marked deprecated. Semantics are the same (return -1 to
ask framework to abort the connection before activating a
service). However, more information is available, including
the socket handle.
* ace/Asynch_Connector.{h cpp}: Replaced validate_new_connection()
method with:
virtual int validate_connection
(const ACE_Asynch_Connect::Result& result,
const ACE_INET_Addr &remote,
const ACE_INET_Addr& local)
Examining the result argument is the only way to find out if
the asynchronous connect attempt succeeded or not.
The connect completion calls validate_connection() on either
success or failure as long as the validate_new_connection
flag is set on open(). The default value was changed from
0 (don't call) to 1 (call) since this is the only way to learn
about connection success/failure.
* ace/POSIX_Proactor.{h cpp} (application_specific_code):
* ace/WIN32_Proactor.{h cpp} (application_specific_code): Removed the
'int success' argument. Success/fail is determined by the error
value now (0 == success). Simplifies the code, and makes the
result.success() call return 1 iff the operation succeeded.
Thanks very much to Alex Libman for these ideas and for working
to improve these classes for ACE and C++NPv2!
Sat Jun 15 12:01:38 2002 Steve Huston <shuston@riverace.com>
* ace/Obstack_T.cpp (request): Don't lose an initial set of characters
if the requested length won't fit. Thanks to Christopher W. Midgley
<cmidgley@livevault.com> for this report and fix.
* tests/Obstack_Test.{cpp dsp icc}: New test for the above, and
its MSVC and Visual Age C++ files.
* tests/Makefile:
* tests/Makefile.bor:
* tests/run_test.lst:
* tests/tests.dsw:
* tests/tests.icp: Added new Obstack_Test.
* THANKS: Added Christopher W. Midgley.
Sat Jun 15 12:41:07 Frank Hunleth <fhunleth@cs.wustl.edu>
* THANKS: Added Nick Cross to the hall of fame.
Fri Jun 14 14:39:33 2002 Nanbor Wang <nanbor@cs.wustl.edu>
* ace/Filecache.cpp: Removed excessive ACE_DEBUG statements.
Thanks to Charles F. Frasch <cfrasch@spawar.navi.mil> for
reporting them.
Fri Jun 14 12:04:17 2002 Jaiganesh Balasubramanian <jai@doc.ece.uci.edu>
* ace/QoS/SOCK_Dgram_Mcast_QoS.cpp:
* ace/QoS/SOCK_Dgram_Mcast_QoS.h:
Removed build errors for QoS library, due to dependencies to the
old SOCK_Dgram_Mcast class. Thanks to Bill Fulton for this fix.
Fri Jun 14 14:17:49 2002 Carlos O'Ryan <coryan@atdesk.com>
* bin/auto_run_tests.pl:
Fixed wrong application name in Usage message.
* bin/auto_run_tests.lst:
Add the Nested_Upcall_Crash test.
Fri Jun 14 09:34:41 2002 Ossama Othman <ossama@uci.edu>
* ace/OS.i (ctime):
For the ACE_HAS_WINCE, pass a statically allocated buffer to
ctime_r() since ctime_r() will return that same buffer as the
return value of ctime(). Fixes memory access violations.
Thanks to Michael Searles <msearles@base16.com> for pointing out
the problem.
Thu Jun 13 21:26:49 2002 Steve Huston <shuston@riverace.com>
* ace/Configuration_Import_Export.cpp (squish): Replaced use
of naked isspace() with ACE_OS_String::ace_isspace() to work
with wide chars also.
Thu Jun 13 21:09:33 2002 Steve Huston <shuston@riverace.com>
* tests/Config_Test.cpp (run_tests): Added a test for importing
a previously-existing ini file and verifying its contents.
* tests/Config_Test_Import_1.ini: File for the above test.
Thu Jun 13 19:05:57 2002 Krishnakumar B <kitty@cs.wustl.edu>
* include/makeinclude/rules.local.GNU:
Added a rule to install a symlink to libfoo.so.3 under
$(ACE_ROOT)/ace. This should fix all the build errors. ld.so
needs libfoo.so.3 to be in LD_LIBRARY_PATH. libfoo.so doesn't
do. Thanks to Marvin Wolfthal <maw@weichi.com> for reporting the
problem.
* bin/make_release:
Changes to ensure that all major releases are named
ACE-[0-9]+.0.0 and all minor releases are named
ACE-[0-9]+.[0-9]+.0. PLEASE TAG THE REPOSITORY AS ACE_5_3_0 and
TAO_1_3_0 or ACE_6_0_0 and TAO_2_0_0 WHEN MAKING A MINOR OR A
MAJOR RELEASE. Pointers to add this to somewhere more prominent
are welcome.
Thu Jun 13 14:45:13 2002 Douglas C. Schmidt <schmidt@tango.doc.wustl.edu>
* ace/SOCK_Dgram_Mcast_T.cpp: Added wchar support - remove
warnings in MSVC when #define ACE_USES_WCHAR used in config.h.
Thanks to Bill Fulton for this fix.
Wed Jun 12 21:28:29 2002 Steve Huston <shuston@riverace.com>
* tests/Framework_Component_DLL.cpp (Server_T): Add template
parameter name to class template arg to get aC++ to eat it.
Wed Jun 12 18:29:11 2002 Krishnakumar B <kitty@cs.wustl.edu>
* include/makeinclude/rules.lib.GNU:
* include/makeinclude/rules.local.GNU:
* include/makeinclude/wrapper_macros.GNU:
* TAO/rules.tao.GNU:
* include/makeinclude/platform_g++_common.GNU:
Added support for shared library versioning. Libraries built
with GNU ld will be versioned by default.
* include/makeinclude/platform_aix4_cset++.GNU:
* include/makeinclude/platform_aix4_g++.GNU:
* include/makeinclude/platform_aix_g++.GNU:
* include/makeinclude/platform_aix_ibm.GNU:
* include/makeinclude/platform_hpux.GNU:
* include/makeinclude/platform_hpux_aCC.GNU:
* include/makeinclude/platform_hpux_gcc.GNU:
* include/makeinclude/platform_hpux_kcc.GNU:
Added null SONAME and SOVERSION for disabling shared library
versioning.
* include/makeinclude/platform_dgux4_epc.GNU:
* include/makeinclude/platform_freebsd.GNU:
* include/makeinclude/platform_gnuwin32_common.GNU:
* include/makeinclude/platform_irix5.3_g++.GNU:
* include/makeinclude/platform_irix5.3_sgic++.GNU:
* include/makeinclude/platform_irix6.x_g++.GNU:
* include/makeinclude/platform_irix6.x_kcc.GNU:
* include/makeinclude/platform_irix6.x_sgic++.GNU:
* include/makeinclude/platform_linux.GNU:
* include/makeinclude/platform_linux_cxx.GNU:
* include/makeinclude/platform_linux_icc.GNU:
* include/makeinclude/platform_linux_kcc.GNU:
* include/makeinclude/platform_m88k.GNU:
* include/makeinclude/platform_macosx.GNU:
* include/makeinclude/platform_mvs.GNU:
* include/makeinclude/platform_netbsd.GNU:
* include/makeinclude/platform_osf1_3.2_cxx.GNU:
* include/makeinclude/platform_osf1_4.x_cxx.GNU:
* include/makeinclude/platform_osf1_4.x_g++.GNU:
* include/makeinclude/platform_osf1_4.x_kcc.GNU:
* include/makeinclude/platform_osf1_4.x_rcc.GNU:
* include/makeinclude/platform_psosim_g++.GNU:
* include/makeinclude/platform_qnx_neutrino.GNU:
* include/makeinclude/platform_qnx_rtp_gcc.GNU:
* include/makeinclude/platform_sco-nothread.GNU:
* include/makeinclude/platform_sco5.0.0-CC-fsu-pthread.GNU:
* include/makeinclude/platform_sco5.0.0-mit-pthread.GNU:
* include/makeinclude/platform_sco5.0.0-nothread.GNU:
* include/makeinclude/platform_sunos4_g++.GNU:
* include/makeinclude/platform_sunos4_lucid.GNU:
* include/makeinclude/platform_sunos4_sunc++3.x.GNU:
* include/makeinclude/platform_sunos4_sunc++4.x.GNU:
* include/makeinclude/platform_sunos5_centerline.GNU:
* include/makeinclude/platform_sunos5_g++.GNU:
* include/makeinclude/platform_sunos5_ghs.GNU:
* include/makeinclude/platform_sunos5_kcc.GNU:
* include/makeinclude/platform_sunos5_sunc++.GNU:
* include/makeinclude/platform_tandem.GNU:
* include/makeinclude/platform_unixware_g++.GNU:
* include/makeinclude/platform_unixware_udk.GNU:
Changed SOFLAGS = to SOFLAGS += to avoid dealing with order of
includes of various Makefile rules.
Wed Jun 12 11:25:22 2002 Douglas C. Schmidt <schmidt@tango.doc.wustl.edu>
* tests/Config_Test.cpp (test): Removed what appeared to be
an unnecessary and unused called to
const ACE_Configuration_Section_Key &root = config->root_section ();
* ace/Configuration.cpp (open_section): Fixed a warning in the
loop expression.
Wed Jun 12 11:49:33 2002 Steve Huston <shuston@riverace.com>
* examples/C++NPv2/AC_Client_Logging_Daemon.cpp: Changed to
match book.
* examples/C++NPv2/Reactor_Logging_Server_Adapter.cpp (init):
Use ACE_Auto_Array_Ptr to be cleaner about allocated char ptr
array. Coincides with book change.
Tue Jun 11 10:23:03 2002 Stephen Torri <storri@cs.wustl.edu>
* ace/String_Base.h: Updated comments/documentation on the String_Base
class.
* ace/String_Base.{i,cpp}: Added brackets to if/else statements for
better structure/readability. Changed "(cond) ? true : false" to
better "if/else" structure.
Tue Jun 11 19:05:39 2002 Douglas C. Schmidt <schmidt@macarena.cs.wustl.edu>
* ace/SOCK_Dgram_Mcast.h: Added a default constructor for
ACE_SOCK_Dgram_Mcast.
* tests/Config_Test.cpp (test): Added tests for the following capability.
Thanks to Eugene Alterman <eugalt@myrealbox.com> for
contributing these tests.
* ace/Configuration.{h,cpp}:
ACE_Configuration_Heap::open_section() now accepts path
separators in section name, so that it is consistent with the
updated version of
ACE_Configuration_Win32Registry::open_section(). Thanks to
Eugene Alterman <eugalt@myrealbox.com> for contributing this
patch.
Tue Jun 11 20:02:39 2002 Steve Huston <shuston@riverace.com>
* ace/DLL_Manager.cpp (ACE_DLL_Handle::error()): Change to a
different form of auto_ptr initialization that Visual Age C++
likes better.
Tue Jun 11 13:17:29 2002 Douglas C. Schmidt <schmidt@tango.doc.wustl.edu>
* ace/Cache_Map_Manager_T.h:
* ace/Caching_Utility_T.h:
* ace/Env_Value_T.h: Added #include "ace/Global_Macros.h".
Thanks to Ty Tenait <tytenait@yahoo.com> for reporting this.
* ace/Dirent_Selector.h: Added #include "ace/ACE_export.h".
Thanks to Ty Tenait <tytenait@yahoo.com> for reporting this.
Tue Jun 11 09:42:06 2002 Ossama Othman <ossama@uci.edu>
* ace/SOCK_Dgram_Mcast_T.cpp (make_multicast_ifaddr):
Use ACE_HTONL instead of htonl(). The latter causes the
assembler to choke on some Linux installations.
Mon Jun 10 14:50:46 2002 Nanbor Wang <nanbor@cs.wustl.edu>
* examples/DLL/Dll.dsw:
* examples/ASX/CCM_App/CCM_App.dsw: Updated project dependencies.
Mon Jun 10 14:23:28 2002 Douglas C. Schmidt <schmidt@tango.doc.wustl.edu>
* ace/Reactor.h (ACE_Reactor): Added a comment explaining that
the mask passed to notify() can only be READ_MASK, WRITE_MASK,
or EXCEPT_MASK. Thanks to Cary Steinmetz
<cary.s.steinmetz@boeing.com> for motivating this comment.
* ace/OS_String.cpp: Make sure to check whether src == dst and
avoid doing any copies in this case. Thanks to Michael Searles
<msearles@base16.com> for reporting this.
Sun Jun 9 20:01:00 2002 Douglas C. Schmidt <schmidt@macarena.cs.wustl.edu>
* ace/Makefile: Something is wrong with my ACE_ROOT environment
variable, which caused problems with the dependency generation.
This is now fixed.
Sun Jun 9 19:31:04 2002 Douglas C. Schmidt <schmidt@macarena.cs.wustl.edu>
* ace/SOCK_Dgram_Mcast.h: Added ACE_Export to ACE_SOCK_Dgram_Mcast.
Sun Jun 9 18:57:07 2002 Douglas C. Schmidt <schmidt@tango.doc.wustl.edu>
* examples/Reactor/Ntalker/ntalker.cpp:
* examples/Reactor/Multicast/Log_Wrapper.cpp: Added template
instantiations for the new ACE_SOCK_Dgram_Mcast_Ex<> template.
Sun Jun 9 18:47:22 2002 Douglas C. Schmidt <schmidt@macarena.cs.wustl.edu>
* tests/Config_Test.cpp (run_tests): Added code to exercise the
new subkey path feature contributed by Eugene Alterman.
* ace/Configuration.{h,cpp}: Added support for the path separator
('\\') in key names. Thanks to Eugene Alterman
<eugalt@myrealbox.com> for contributing this patch.
* ace/Date_Time.{h,i}: Added support for weekday. Thanks to
Eyal Lubetzky <eyall@BANDWIZ.COM> for reporting this.
Sun Jun 9 18:11:02 2002 Douglas C. Schmidt <schmidt@tango.doc.wustl.edu>
* ace/SOCK_Dgram_Mcast.cpp: Removed the explicit inclusion of
"ace/SOCK_Dgram_Mcast_T.cpp" since this is #included appropriately
by SOCK_Dgram_Mcast.h.
* ace/SOCK_Dgram_Mcast.cpp: Removed the ';' from the end of the
#pragma instantiates.
* ace/Makefile: Added SOCK_Dgram_Mcast_T.
* ace/SOCK_Dgram_Mcast_T.cpp
ace/SOCK_Dgram_Mcast_T.i
ace/SOCK_Dgram_Mcast_T.h:
Minor changes to conform to ACE coding conventions.
Sun Jun 9 17:50:37 2002 Bill Fulton <bill_a_fulton@raytheon.com>
* ace/SOCK_Dgram_Mcast.cpp
ace/SOCK_Dgram_Mcast.h
ace/SOCK_Dgram_Mcast_T.cpp <new>
ace/SOCK_Dgram_Mcast_T.i <new>
ace/SOCK_Dgram_Mcast_T.h <new>
Somewhat massive changes to the (already very useful)
ACE_SOCK_Dgram_Mcast class; some fixes to existing functionality,
some new functionality, and a different way of controlling optional
(per-instance) functionality. The intent was to preserve existing
interface and functionality (when correct), including environment-
specific functionality.
Fixes to Existing Functionality:
- For ::unsubscribe(void); unsubscribes from all active subscriptions.
Previous version unsubscribed only from the most recently
subscribed group/net_if.
* This could change execution behavior of existing code.
- Enhanced support for a passed port# of '0'.
The ephemeral port# assigned by the system when the socket is
bound is used for all local ::send methods.
- Validation of non-zero port# and, optionally, the address passed
to the ::subscribe method, if the socket has been bound.
On second and subsequent ::subscribe invocations, the previous
version allowed passed parameters that were inconsistent with the
bound socket parameters. This could result in a confusing
condition; you would not receive messages sent to the port and/or
address passed to ::subscribe.
* This could change execution behavior of existing code.
Added Functionality:
- Support specification of the (multicast) address and interface to
be used by all local ::send methods, independent of the receive
address and interface. The same port# is used for all base class
::recv methods and all local class ::send methods. The send
interface applies to all local and all base class ::send methods.
- Enhanced ::dump method, to show the dynamic list of subscriptions,
the bound address/port#, the send address/interface, and the state
of optional functionality. Also did some output reformatting.
Optional Functionality via Template Parameters and Ctor Args:
In the previous implementation, some aspects of class functionality
were transparently configured based on the OS it was compiled
under. This has been changed so that all optional functionality is
explicitly specified, using (a baroque set of) optional
constructor arguments. In addition, new optional functionality
was added and is specified with template parameters and optional
constructor arguments. For backward compatibility, there is an
explicit specialization called ACE_SOCK_Dgram_Mcast - this should
have the same functionality, including OS-specific functionality,
as the previous class implementation, and can still be used for
most normal (if there is such a thing with multicast) apps.
Overview of new template parameter:
ACE_SDM_LOCK_*
- Strategized locking (very limited MT-safety - see below).
Overview of new, optional ctor arguments (enumerations):
opt_bindaddr_*
- Whether to bind the address as well as the port#.
opt_nulliface_*
- Defines semantics of passing net_if parameter of NULL;
i.e. use all or only one iface.
opt_dtorunsub_*
- Whether destructor explicitly unsubscribes from all
groups.
See SOCK_Dgram_Mcast_T.h for a full description. Environment-
specific default values are explicitly declared, for use by app
code.
Changes to Previous Class (public) Interface & Functionality:
- Added a public (overloaded) ::open method.
This allows explicit specification of the port# and the multicast
address (if opt_bindaddr_yes is used) that is bound to this
socket. This also allows specification of the address and the
network interface to be used by local ::send methods (and the
network interface used by super-class and sub-class ::send
methods). There is only one address parameter; the same parameter
is used for both the send address/port# and the bound
address/port#. The port# in the address may be 0 (to use a
system-assigned ephemeral port# for sending and receiving).
NOTE: Use of this method is optional and, if used, must be
invoked _before_ any ::subscribe method is invoked - otherwise it
is _ignored_, and the (first) ::subscribe parameters will be used
to bind the socket and set the send parameters (as in the previous
code). Note that ::subscribe need not be invoked at all, now; if
only ::open is used, you can send but not receive multicast
messages, and you can specify the interface used for sending.
- Validation of ::subscribe parameters is now strict.
Once the port# is bound (by ::open or the first ::subscribe), the
port# passed to every ::subscribe call must either be '0' or match
the bound port#. Additionally; if opt_bindaddr_yes is used, the
address passed must match the bound address. If these conditions
are not met, an error is returned (with errno=ENXIO). Note that
such subscriptions would have no (useful) effect, since messages
could never be received for the given port#/address, due to IP
stack filtering. This condition was ignored in the previous
version; it is now an error condition. This may break some
existing code - but note that it flushes out a (silent) logical
error condition.
The port# in ::unsubscribe(addr,...) is _not_ checked, though;
this is not logically consistent, but ... a mistaken port# here
seems less potentially dangerous and/or confusing.
- The previous ::subscribe and ::unsubscribe methods had a special
return code (1) to indicate that (previously Win32-specific)
multiple-interface subscription/unsubscription had been done. This
seemed to be useful only internally, but was visible to the
caller. The new methods will always return '0' for success (even
if opt_nulliface_all is used).
- The dynamic subscription list housekeeping adds slight processing
overhead, and even more overhead is added if locking is enabled.
This should not be noticeable, except in MT thrashing conditions
and/or if doing very frequent subscribes/unsubscribes.
Known Restrictions:
- Interaction/Integration with other ACE multicast-oriented classes
and library code is _undefined_, i.e.:
+ ACE_SOCK_Dgram_Mcast_QoS: Presumably works ok, but inherits
legacy class; can't specify optional functionality.
+ ACE_RMCast: Presumably works ok, but uses legacy class;
can't specify optional functionality.
+ ACE_XTI_ATM_Mcast: I presume there's no integration desirable.
I've re-built vers. 5.2 ACE under Solaris and Windows with the
modified files, and it builds ok. Since the original functionality
is (basically) unchanged, it is _assumed_ that any other ACE lib
code that references the ACE_SOCK_Dgram_Mcast class signature
still functions ok. But ... things like adding templated code
could introduce problems! Also note that these classes use (now)
deprecated interface methods; e.g. RMCast passes protocol options
to ::subscribe that are now ignored.
- Environment-specific notes/restrictions on use of options:
+ The opt_nulliface_all option should be used only in environments
for which the ACE_Sock_Connect::get_ip_interfaces call is
correctly implemented (currently only Windows). In other
environments, using this option will _always_ return an error
from ::subscribe/::unsubscribe.
+ The opt_dtorunsub_yes option allows finer control of multicast
group "leave" effects for environments that do not automatically
unsubscribe when the socket is closed, or in situations where
the underlying handle has been duplicated (e.g. via fork()),
but will not be used. All in all, this option is useful only
under special, controlled circumstances.
+ The effect of using opt_bindaddr_yes is very environment-
specific; it may not do what you expect (or may do what you
don't expect :-)
The default option values are defined with these notes in mind.
- Options enumeration weaknesses.
+ The options enumeration list was put in the global namespace.
It seems like a pain for user code to have to prefix the option
values with the templated class name.
+ All option values use the same enumeration; this could allow
option values to be used for the "wrong" option in the ctor
options list. This was a trade-off; I didn't want to add too
many things to the global namespace. (Note that more options
might be added to the list, in the future.) All new code
compares against explicit enum values (instead of 0), for safety.
- The ::open parameter list may be too "dense" - it tries to do too
many different things with the passed parameters. This is an
artifact of its heritage. (Note that ::subscribe can also invoke
::open behavior). In particular, it would be nice to separate
bound addr/iface from send addr/iface.
- Does not explicitly check for duplicate active subscriptions (i.e.
subscription to the same address and interface while a previous
subscription is still active). (Subscription to the same address
but different interface is not a duplicate and is fully
supported.) Note that, for most IP stacks, a subscription attempt
for a duplicate addr/iface will fail (and a duplicate entry will
not be created). If it is allowed by the IP stack and you create
duplicate internal subscription list entries, you must call
::unsubscribe(addr) for _each_ duplicate subscription (or
::unsubscribe(void)) - until this is done, you will continue to
recv messages for this subscription.
- This implementation carries forward (for backward compatibility)
certain environment-specific hacks, i.e.:
+ A Win32 hack such that the default opt_nulliface_defopt value
for Win32 is different from all other environments.
+ A Linux hack such that the full address is unconditionally bound.
These would seem likely to lead to unexpected behavior for the
"casual user", but changing the default would break existing code.
- The SDM_OPT_LOCK parameter only controls locking of the dynamic
subscription list; and the need/use for this is debatable. It was
added as a fail-safe, in case one class instance is shared by
multiple threads. Note that a given instance can _not_ (reliably)
be shared by multiple threads; there are logical race conditions
(e.g. calling ::open) - but the logical race conditions should
cause only unpredictable operation, not corruption. However; the
subscription list could be corrupted if one instance is shared by
multiple threads, which could lead to undefined behavior/crashes.
- The class interface is probably too "busy"; there are a _lot_ of
side-effects that may not be evident.
- Currently only built and tested under Solaris w/ Forte-C++ and
Windows NT and 2000 w/ MSVC 6.
Implementation Changes:
- Now implemented as a templated class (ACE_SOCK_Dgram_Ex), via the
new SOCK_Dgram_Mcast_Ex.* files. The (remaining) SOCK_Dgram_Mcast.*
files are vestigial; they remain due to the build rules and
documentation conventions, and because existing user code
references the ace/SOCK_Dgram_Mcast.h file. Note that this
differs from most other *_Ex.* template source files in ACE, where
there is still at least some function implemented in the
non-templated source files; here there is none.
An explicit specialization is declared that matches the old class
signature.
- The constructor now has optional arguments (to specify per-instance
optional functionality. A default ctor can still be used; the
legacy default environment-specific functionality will be declared.
- I've tried to generalize code that was previously overly
environment-dependent and/or macro-driven. The intent was to make
future enhancements easier (there's still much desirable work to
be done ... speaking of which ...)
Suggested Future Work:
- Expose the SOCK_Dgram::send methods; i.e. allow specification of an
arbitrary dest address/port# with the ::send call. (Must check for
port# of '0' in the send address and set port# to the bound port#).
This would allow the specification of the network interface for
arbitrary multicast transmissions from one instance, and should
work as expected if the address specified is unicast. This seems
useful; currently, if you want to send multicast messages with
interface control, you would either have to create one instance of
this class for each send address, or force access to the inherited
ACE_SOCK_Dgram instance (which works ... "but it would be wrong").
I'm not sure why access to these was disabled in the original
design. (Is there a good reason not to do this?)
- Mark the current ::subscribe and ::unsubscribe interfaces as
deprecated and add new interfaces that remove all unnecessary
parameters.
+ Remove the (optional) protocol* parameters from the ::subscribe
and ::unsubscribe methods - they don't do anything. I (really)
wanted to do this now, but it could break existing app code (but
you can't really specify anything other than the default values,
anyway!)
+ Remove the (optional) reuse_addr parameter from the ::subscribe
method - it is only useful if ::open has not been previously
invoked. Problem: This will require that the ::open method be
explicitly invoked before invoking ::subscribe, which makes the
interface more clumsy.
Problem: Hard to get a unique signature for the new methods,
especially for ::unsubscribe.
- It seems that an ACE_SOCK_Dgram_Mcast_Manager class could be a
useful "layered" addition, e.g.:
- Trap ::subscribe invocations using different port numbers, and
create separate instances/sockets for each unique port#.
- Implement software loopback filtering for environments that do
not implement loopback disabling in the IP stack (e.g. older
Windows). Also implement per-interface filters for environments
(like Win/NT) that don't do this right.
- Implement multicast group "sets" to support easy and atomic
joins/leaves of a user-defined list of group/interface
combinations. Include enhanced failure condition handling, such
as subscription "roll-back"; all-or-none of the set's members
are joined.
Actually; all of these could be done in the current class - but
there are too many options in this class already, and the function
seems (to me) more appropriate to a higher-level "manager".
- Allow the send interface (and default send addr) to be changed,
after initial setting. (OS-specific support needed - most stacks
allow the interface to be changed once set, but I presume that not
all do.)
In general; might be worth splitting out the send from the
::open/::subscribe methods - e.g. ::send_parameters. Might add
optional TTL and loopback parameters to this, too.
- Add explicit methods to set common multicast socket options, e.g.
TTL, loopback. (So you don't have to remember the macro names and
to make these macros/actions more portable!).
- Tighten up the parameter semantics and/or validation, e.g.:
+ Verify that all addresses passed are multicast addresses.
For example, ::open does not check the send address. (It should
still work as expected - sending unicast on the route-derived
interface - but that's not the intended use.)
+ The reuse_addr parameter in ::open is used for both REUSEADDR
and REUSEPORT (if implemented) option setting; should these be
distinct parameters? (They do different things!)
- Enhanced integration with other ACE multicast classes, as needed
or desirable (see Restrictions section).
- (?) For ::subscribe and ::unsubscribe - if successful, return the
(positive) number of subscribes/unsubscribes done (instead of '0').
Possibly useful, as a way for the app to sense multi-interface
subs/unsubs (e.g. code that is passed an instance and does not
know what options were used when the instance was created).
- (?) Add method ::unsubscribe(int n) to unsubscribe from most
recent n subscription(s) (including opt_nulliface_all option
support.) The implementation of group sets might obviate the
usefulness of this.
- (?) Enhanced MT-safety and exception handling.
Don't know if any particular problems; but haven't tested
extensively. Also; might be able to make it more efficient.
In particular; if one instance is intended to be shared by multiple
threads, there is _much_ work to be done.
- (??) Track subscription list state; i.e. recognize the state when
any ::unsubscribe emptys the subscription list. This state might
be used to re-define some parameters (especially the network
interface for sends) set with ::open and for other changes ... but
utility vs. added complexity ratio seems low. (Note that closing
the socket and reopening another can cause nasty side-effects, so
probably can't change the bound parameters, anyway.)
Sun Jun 9 16:26:00 2002 Douglas C. Schmidt <schmidt@tango.doc.wustl.edu>
* ace/ATM_Acceptor.cpp:
* ace/ATM_Addr.cpp:
* ace/ATM_Connector.i:
* ace/ATM_QoS.cpp:
* ace/ATM_Stream.cpp:
* ace/CE_Screen_Output.cpp:
* ace/Configuration.cpp:
* ace/Handle_Set.i:
* ace/IOStream.cpp:
* ace/Lib_Find.cpp:
* ace/Log_Msg.cpp:
* ace/Log_Record.cpp:
* ace/MEM_Addr.cpp:
* ace/Malloc_T.i:
* ace/Memory_Pool.cpp:
* ace/Message_Queue.cpp:
* ace/Msg_WFMO_Reactor.cpp:
* ace/OS.cpp:
* ace/OS.i:
* ace/OS_String.cpp:
* ace/Process.cpp:
* ace/SOCK_Connector.i:
* ace/SPIPE_Connector.cpp:
* ace/Sock_Connect.cpp:
* ace/Synch_T.cpp:
* ace/ace_wchar.inl: Changed improper use of NULL to
0.
Sun Jun 9 15:33:05 2002 Jeff Parsons <parsons@cs.wustl.edu>
* ace/Date_Time.i:
Fixed some typos that caused build errors.
Sat Jun 8 14:46:19 2002 Douglas C. Schmidt <schmidt@macarena.cs.wustl.edu>
* ace/Array_Base.h: Replaced
#include "Global_Macros.h"
with
#include "ace/Global_Macros.h"
Thanks to Bill Fulton <Bill_A_Fulton@raytheon.com> for reporting
this.
Fri Jun 7 19:00:31 2002 Steve Huston <shuston@riverace.com>
* ace/OS_String.inl (strstr): Also see:
Thu May 30 16:45:10 UTC 2002 Craig Rodrigues <crodrigu@bbn.com>
HP-UX 11.00 doesn't supply wcsstr(), only wcswcs (), so
special-case that one with #if defined (HPUX).
Fri Jun 7 16:42:29 2002 Steve Huston <shuston@riverace.com>
* ace/Date_Time.i (update): Use ACE_OS::localtime_r rather than
ACE_OS::localtime to avoid MT time confusion. Thanks to Kelly
Hickel <kfh@mqsoftware.com> for reporting this.
Fri Jun 7 16:29:21 2002 Steve Huston <shuston@riverace.com>
* ace/Acceptor.{h cpp}:
(ACE_Strategy_Acceptor) Added an open () method with signature
that matches ACE_Acceptor::open to avoid hiding the one in
ACE_Acceptor, according to Forte 6. In the new open(), however,
the ACE_Reactor* arg is required, to make it distinguishable from
the existing open(). The new open forwards everything
to the previously-existing, more full-featured open().
Constructors and full-featured open(), added optional reuse_addr
arg - it's passed down to the ACE_Accept_Strategy::open method.
Removed the service_port_ member - it's not used.
(ACE_Acceptor::open): If the reactor registration fails, close
the peer_acceptor_ object.
* netsvcs/TS_Server_Handler.cpp (ACE_TS_Server_Acceptor::parse_args):
* netsvcs/Name_Handler.cpp (ACE_Name_Acceptor::parse_args):
* netsvcs/Server_Logging_Handler_T.cpp (ACE_Server_Logging_Acceptor_T):
Use a local variable for the -p port option; server_port_ is gone.
Fri Jun 7 14:30:22 2002 Steve Huston <shuston@riverace.com>
* ace/Message_Queue.{h cpp} (ACE_Message_Queue_NT): Change
deactivate (int pulse) to deactive() and pulse() - forgot this
one in "Thu Jun 6 18:10:45 2002 Steve Huston" set of changes.
Also, corrected the way the completion routine checks state
of the queue. enqueue() will always pass ACTIVATED as the
queue state to be sure that blocks are seen when dequeued.
Thu Jun 6 17:41:24 2002 Krishnakumar B <kitty@cs.wustl.edu>
* ACEXML/common/Mem_Map_Stream.h:
* ACEXML/common/Mem_Map_Stream.cpp:
* ACEXML/common/HttpCharStream.h:
* ACEXML/common/HttpCharStream.cpp:
* ACEXML/common/URL_Addr.cpp:
Fixed the explicit template instantiation problems on Solaris.
Thu Jun 6 18:35:49 2002 Steve Huston <shuston@riverace.com>
* ace/Acceptor.h (ACE_Strategy_Acceptor): Made open() virtual
since its parent class (ACE_Acceptor) ope() is also virtual.
Resolves warning from Forte 6 that open() hides its parent
class's open().
Thu Jun 6 18:10:45 2002 Steve Huston <shuston@riverace.com>
* ace/README: Removed ACE_HAS_OPTIMIZED_MESSAGE_QUEUE. No configs
use it, and it's functionality doesn't really support the
message queue deactivation/pulse semantics.
* ace/Message_Queue.h:
* ace/Message_Queue_T.{h cpp i}: Removed the "int pulse" argument
from deactivate() and add a pulse() method. States stay the
same.
Took out all the ACE_HAS_OPTIMIZED_MESSAGE_QUEUE stuff. It's
not used any longer.
* examples/C++NPv2/AC_Client_Logging_Daemon.cpp: Use the pulse()
method instead of deactivate (1).
* examples/C++NPv2/AIO_Client_Logging_Daemon.cpp: Removed answered
questions. Removed reimplemented handle_connect() method
because the needed things are now available via the framework.
* ace/Asynch_Acceptor.{h cpp}:
* ace/Asynch_Connector.{h cpp}: Added new hook method,
int validate_connection (const ACE_Asynch_Accept::Result&result,
const ACE_INET_Addr& remote_addr, const ACE_INET_Addr& local_addr)
that allows access to success/fail, handle, and addresses. The
validate_new_connection (const ACE_INET_Addr&) method is now
deprecated.
* ace/WFMO_Reactor.{h cpp} (ACE_WFMO_Reactor_Notify): Add an
optional argument to ACE_WFMO_Reactor_Notify constructor.
size_t max_notifies is used to specify a limit for how many
notifications can be queued. The value is used to calculate
new high and low watermarks to the message_queue_. Default 1024.
* ace/Activation_Queue.cpp:
* ace/Message_Block.cpp:
* ace/Message_Queue_T.cpp: Added #include "ace/Log_Msg.h" to get
the ACE_DEBUG, etc. definitions.
* ace/Read_Buffer.cpp: Added #include for ace/Log_Msg.h and
ace/Malloc_Base.h (for ACE_Allocator).
* ace/Log_Msg.cpp (log (ACE_Log_Record&)): If there's a
ACE_Log_Msg_Callback, do it before sending the log record
to any other logging sinks. Allows the callback to munge
the data.
Thu Jun 06 10:50:37 2002 Ossama Othman <ossama@uci.edu>
* ace/Dev_Poll_Reactor.cpp (cancel_timer):
Fixed race condition by adding an ACE_GUARD. Basically the same
fix that Doug made to the Select_Reactor below.
Thu Jun 6 12:28:20 2002 Douglas C. Schmidt <schmidt@macarena.cs.wustl.edu>
* ace/Select_Reactor_T.cpp: Moved the cancel_timer() methods
from the Select_Reactor_T.i file and added ACE_GUARD's around
them to ensure we're serialized correctly. Thanks to Johnny
Chen <jchen@informatica.com> for motivating this.
Thu Jun 6 08:24:43 2002 Jeff Parsons <parsons@cs.wustl.edu>
* ace/Malloc_T.h:
Removed extra comment closer */.
Thu Jun 6 07:11:15 2002 Douglas C. Schmidt <schmidt@tango.doc.wustl.edu>
* THANKS: Just added our 1,500th ACE+TAO contributor!!!!!
* ace/Malloc_T.cpp: Clarify that the memory backing store must
reside in a directory with the appropriate visibility and
permissions. Thanks to Frank O. Flemisch
<f.o.flemisch@larc.nasa.gov> for reporting this.
Wed Jun 5 23:06:11 UTC 2002 Don Hinton <dhinton@ieee.org>
* ace/DLL_Manager.h: Fixed compile error. Thanks to Jai
Balasubramanian for pointing this out.
Wed Jun 5 16:58:41 2002 Krishnakumar B <kitty@cs.wustl.edu>
* ACEXML/common/Mem_Map_Stream.cpp:
Instantiate the templates needed when explicit templates are
defined. Thanks to Carlos for pointing this out.
* ACEXML/common/HttpCharStream.cpp:
Peek means "get the next character", not "get the character
after next". The previous change to the test caught this bug.
Wed Jun 5 16:42:43 2002 Krishnakumar B <kitty@cs.wustl.edu>
* ACEXML/examples/SAXPrint/main.cpp (ACE_TMAIN):
Modified the example to test fetching and parsing an XML URL.
This actually tests most of the functions of the new stream
class and is better than the lame test that I wrote the other
day.
Wed Jun 5 13:54:03 UTC 2002 Don Hinton <dhinton@ieee.org>
* ace/DLL_Manager.{h,cpp}:
* ace/Framework_Component.cpp:
Made ACE_DLL_Manager a true singleton instead of using the
ACE_*Singleton templates, thus avoiding a problem with multiple
instantiations by broken compilers. Thanks to Chris Kohlhoff
<chris@kohloff.com> for this suggestion.
Wed Jun 5 08:33:25 2002 Douglas C. Schmidt <schmidt@tango.doc.wustl.edu>
* ace/Timer_Queue_T.h (class ACE_Timer_Queue_T): Clarify that the
second calculate_timeout() method doesn't use a lock. Thanks to
Johnny Chen <jchen@informatica.com> for motivating this.
* ace/Process_Manager.cpp (handle_signal): Added a check for
i == -1. Thanks to Dimitrije Jankovic <djankov99@yahoo.com>
for reporting this and providing a fix!
Tue Jun 04 16:47:27 2002 Ossama Othman <ossama@uci.edu>
* ace/Service_Config.h:
No need to include "ace/DLL.h". Forward declaring ACE_DLL is
enough.
* ace/Service_Config.cpp:
Include "ace/DLL.h" to pull in ACE_DLL class declaration.
Tue Jun 04 16:34:18 2002 Ossama Othman <ossama@uci.edu>
* ace/Service_Config.cpp:
Removed duplicate "ace/Auto_Ptr.h" include.
* ace/Svc_Conf_Lexer_Guard.cpp:
Moved Svc_Conf.h include within the ACE_USES_CLASSIC_SVC_CONF
preprocessor block. It isn't needed for the XML-based Service
Configurator.
Tue Jun 04 16:02:11 2002 Krishnakumar B <kitty@cs.wustl.edu>
* ACEXML/common/HttpCharStream.h:
* ACEXML/common/HttpCharStream.cpp:
* ACEXML/common/Filecharstream.h:
* ACEXML/common/Filecharstream.cpp:
Removed the constructor which accepted a string containing
either a filename or a URL from these files. Problem was it was
relying on calling open to do the work, but if open fails there
was no way to report the error without throwing exceptions. So
don't allow people to use this constructor and always insist on
using open.
* ACEXML/common/Mem_Map_Stream.cpp:
* ACEXML/common/URL_Addr.h:
* ACEXML/common/URL_Addr.cpp:
* ACEXML/common/XML_Codecs.cpp:
* tests/Codecs_Test.cpp:
Other miscellaneous fixes including using
ACE_Auto_Basic_Array_Ptr instead of ACE_Auto_Array_Ptr.
* ACEXML/common/Makefile.bor:
* ACEXML/tests/Makefile.bor:
Added new files.
* ACEXML/tests/HttpCharStream_Test.cpp:
Cosmetic fixes.
Tue Jun 04 14:18:56 2002 Nanbor Wang <nanbor@cs.wustl.edu>
* ACEXML/tests/HttpCharStream_Test.dsp:
* ACEXML/tests/Tests.dsw: Added a new test project.
Tue Jun 04 13:45:39 2002 Nanbor Wang <nanbor@cs.wustl.edu>
* ACEXML/common/Mem_Map_Stream.h: Fixed typedefs of template
classes.
* ACEXML/common/XML_Common.dsp: Added new files to project files.
Tue Jun 4 12:35:12 2002 Jeff Parsons <parsons@cs.wustl.edu>
* ace/Message_Queue*: Moved the state_ member and the accessor method
to the non-template base class to get rid of the Win32 build
bustage, since ACE_Message_Queue_NT is not a template class, and does
not inherit from ACE_Message_Queue<>.
Tue Jun 4 10:03:19 2002 Douglas C. Schmidt <schmidt@macarena.cs.wustl.edu>
* examples/C++NPv2/AC_Client_Logging_Daemon.cpp: Reverted the thr_count()
stuff since we need to reactivate the queue now.
* ace/Message_Queue*: Changed all the message queue implementations to
use the new ACTIVATED/DEACTIVATED/PULSED implementation of
deactivate()/activate().
Tue Jun 4 09:48:34 2002 Jeff Parsons <parsons@cs.wustl.edu>
* ace/Message_Queue.h:
* ace/Message_Queue_T.h:
Fixed the signatures of deactivate and deactivate_i to make the
appearance of the default parameter 'int pulse' consistent.
Tue Jun 4 06:46:27 2002 Douglas C. Schmidt <schmidt@tango.doc.wustl.edu>
* examples/C++NPv2/AC_Client_Logging_Daemon.cpp: Added the
"1" parameter to the call to deactivate() method to simply
"pulse" the queue. Also, changed the AC_Output_Handler::open()
method to check if thr_count() == 0 when determining if to
activate the service handler.
* ace/Message_Queue_T.h: Added new pulse parameter to
ACE_Message_Queue::deactivate() so that callers can decide
whether to change the state of the queue to be "deactivated" or
just to pulse waiting threads to wake up and continue their
processing. This simplies one of the examples in C++NPv2.
Mon Jun 3 16:11:12 2002 Krishnakumar B <kitty@cs.wustl.edu>
* ACEXML/common/FileCharStream.cpp:
Fixed a memory leak.
* ACEXML/common/HttpCharStream.cpp:
* ACEXML/common/HttpCharStream.cpp:
* ACEXML/common/HttpCharStream.h:
* ACEXML/common/Makefile:
* ACEXML/common/Mem_Map_Stream.cpp:
* ACEXML/common/Mem_Map_Stream.h:
* ACEXML/common/URL_Addr.cpp:
* ACEXML/common/URL_Addr.h:
Functionality needed by the parser to fetch URI's (DTDs etc)
from the web. This is a simple http_get implementation and
doesn't work for https URLs (which can be fixed easily provided
there is interest).
* ACEXML/common/Parser.cpp:
Fixed a typo.
* ACEXML/tests/HttpCharStream_Test.cpp:
* ACEXML/tests/Makefile:
New regression test to test fetching of URI's from the web by
the parser.
Mon Jun 3 06:21:57 2002 Douglas C. Schmidt <schmidt@tango.doc.wustl.edu>
* examples/C++NPv2/AIO_Client_Logging_Daemon.cpp: Removed
unnecessary 'return;' calls.
Mon Jun 3 07:23:56 UTC 2002 Don Hinton <dhinton@ieee.org>
* Framework_Component_DLL.bor: Fixed typo.
Sun Jun 2 22:52:23 UTC 2002 Craig Rodrigues <crodrigu@bbn.com>
[Bug 1208]
* ace/README: Document new ACE_HAS_3_PARAM_WCSTOK macro.
* ace/OS_String.inl (strtok_r): Check ACE_HAS_3_PARAM_WCSTOK macro.
* ace/config-aix-4.x.h:
* ace/config-linux-common.h:
* ace/config-sunos5.7.h:
Define ACE_HAS_3_PARAM_WCSTOK on these platforms after doing
the appropriate checks.
Sun Jun 2 15:34:41 UTC 2002 Don Hinton <dhinton@ieee.org>
* ace/DLL.cpp:
Test for null dll_name_ before calling open() in the copy ctor, since
open would flag it as an error. Improved error messages.
* ace/DLL_Manager.{h,cpp}:
* ace/Framework_Component.cpp:
Changed ACE_DLL_Manager to use ACE_Unmanaged_Singleton so that it can be
explicitely closed by ACE_Framework_Repository after ACE_Service_Config
is closed. Improved error messages. Thanks to Steve Huston for finding
this.
Sun Jun 2 09:03:06 2002 Douglas C. Schmidt <schmidt@tango.doc.wustl.edu>
* ace/Select_Reactor_Base.cpp: Delete temp buffers
if enqueue_head() fails in the ACE_Select_Reactor_Notify open()
and notify() methods. Thanks to Chris Uzdavinis
<chris@atdesk.com> for reporting this.
Sat Jun 1 22:42:17 2002 Steve Huston <shuston@riverace.com>
* examples/C++NPv2/AC_CLD.mak:
* examples/C++NPv2/TPCLS.mak: Added "ssl=1" to properly include
the SSL stuff in the build; these examples use SSL.
* examples/C++NPv2/AIO_Client_Logging_Daemon.cpp:
* examples/C++NPv2/AIO_CLD_export.h:
* examples/C++NPv2/AIO_CLD.mak: Asynch I/O example from Chapter 8.
Sat Jun 1 15:38:40 2002 Steve Huston <shuston@riverace.com>
* ace/Asynch_Acceptor.cpp (open): bind_port is in ACE_Sock_Connect,
not ACE.
Added #include "ace/SOCK_Stream.h" that class is also used, and
#include "ace/Log_Msg.h" to get the ACE_ERROR macros.
* ace/Asynch_Connector.cpp (handle_connect): clr_flags() is in
ACE_Flag_Manip, not ACE.
Added #include "ace/Log_Msg.h" to get ACE_ERROR macros.
Fri May 31 13:35:41 2002 Steve Huston <shuston@riverace.com>
* examples/C++NPv2/TPC_Logging_Server.{h cpp}:
* examples/C++NPv2/AC_Client_Logging_Daemon.cpp:
Primarily formatting changes to match the book.
* examples/C++NPv2/SLDex.mak: Removed Logging_Acceptor_Ex from
files list; it's only a header file.
Fri May 31 11:07:25 2002 Douglas C. Schmidt <schmidt@macarena.cs.wustl.edu>
* examples/C++NPv2/AC_Client_Logging_Daemon.cpp: Modified this
so use pointers rather than references to simplify things in
the book.
Thu May 30 23:03:38 2002 Steve Huston <shuston@riverace.com>
* examples/C++NPv2/SR_Configurable_Logging_Server.{cpp mak}:
* examples/C++NPv2/Makefile: Added new ACE_Select_Reactor-based
configurable logging server.
* examples/C++NPv2/AC_Client_Logging_Daemon.cpp: Code changes
to match book and fix reconnect problems.
Thu May 30 18:02:35 2002 Douglas C. Schmidt <schmidt@macarena.cs.wustl.edu>
* ace/OS.h: Changed EACESS to EACCES to be POSIX compliant. Thanks
to Eric Eide <eeide@cs.utah.edu> for (re)reporting this!
Thu May 30 10:01:12 2002 Ossama Othman <ossama@uci.edu>
* ace/UPIPE_Stream.h (ACE_UPIPE_Stream):
Added missing PEER_ADDR trait.
Thu May 30 16:45:10 UTC 2002 Craig Rodrigues <crodrigu@bbn.com>
[Bug 1208]
* ace/OS_String.inl (strstr): Remove wcswcs(), use wcsstr()
instead.
Thu May 30 9:15:19 2002 Douglas C. Schmidt <schmidt@macarena.cs.wustl.edu>
Thanks to Edan Ayal <edanayal@yahoo.com> and Alex Libman
<AlexL@rumblegroup.com> for the following fixes.
* ACE_WIN32_Asynch_Read_Stream_Result::complete ()
ACE_WIN32_Asynch_Write_Stream_Result::complete ()
ACE_WIN32_Asynch_Write_Dgram_Result::complete
ACE_WIN32_Asynch_Read_Dgram_Result::complete improved
readability and logic
* ACE_WIN32_Asynch_Read_File_Result::complete ()
ACE_WIN32_Asynch_Write_File_Result::complete () fixed
errors,improved readability and logic
* ACE_WIN32_Asynch_Read_Stream::read ()
ACE_WIN32_Asynch_Read_File::read ()
ACE_POSIX_Asynch_Read_Stream::read ()
ACE_POSIX_Asynch_Read_File::read ()
Added check for enough space in message block
bytes_to_read <= mb->space()
* ACE_WIN32_Asynch_Write_Stream::write ()
ACE_WIN32_Asynch_Write_File::write ()
ACE_POSIX_Asynch_Write_Stream::write ()
ACE_POSIX_Asynch_Write_File::write ()
Added check for correct length of message block
bytes_to_write <= mb->length()
* ACE_WIN32_Asynch_Read_Stream::readv ()
ACE_WIN32_Asynch_Read_File::readv ()
ACE_WIN32_Asynch_Read_Dgram::recv Added checks for: never read
more bytes_to_read bytes; correct using of buffers - message
blocks
* ACE_POSIX_Asynch_Write_Stream::writev ()
ACE_POSIX_Asynch_Write_File::writev ()
ACE_WIN32_Asynch_Write_Dgram::send Added checks for: never write
more bytes_to_write bytes; correct using of buffers - message
blocks improved readability and logic
Thu May 30 08:48:19 2002 Douglas C. Schmidt <schmidt@macarena.cs.wustl.edu>
* ace/Configuration_Import_Export.cpp (squish):
Replaced (*cp == ' ') || (*cp == '\t') || (*cp == '\n') || (*cp
== '\r')) with isspace (*cp). Thanks to Gonzalo A. Diethelm
<gonzalo.diethelm@aditiva.com> and Dave Steele
<Dave_Steele@Mitel.COM> for this suggestion.
Thu May 30 11:53:05 UTC 2002 Don Hinton <dhinton@ieee.org>
* ace/DLL_Manager.cpp: Fixed Fuzz errors. Thanks to Johnny
Willemsen for pointing this out.
Thu May 30 11:40:45 UTC 2002 Don Hinton <dhinton@ieee.org>
* tests/Framework_Component_DLL.bor:
Fixed cut-n-paste error that caused the symbols not to be
exported. Should fix the Borland builds.
Thu May 30 10:18:27 UTC 2002 Don Hinton <dhinton@ieee.org>
* tests/Framework_Component_Test.cpp:
Modified test to use the new macro definitions and method names.
* tests/Framework_Component_DLL.cpp:
Added ACE_DLL_UNLOAD_POLICY declaration specifying LAZY unloading.
Changed an errant ACE_LIB_TEXT macro to ACE_TEXT.
* ace/config-all.h:
Added the dll unloading policies mentioned below as well as an
ACE_DLL_UNLOAD_POLICY macro dlls can use to set/export their own
policy. If no policy is exported, the current per-process policy
is used.
* ace/DLL_Manager.{h,cpp}:
Renamed unload_strategy to unload_policy and moved the policy
definitions to config-all.h so that they can be used without
including DLL_Manager.h (which includes OS.h, etc...).
Refactored the unloading policies and implemented the per-dll
case by probing the dll for a "_get_dll_unload_policy" function
that returns the dll specific policy--if the dll chose to
implement it.
Added missing template instantiations.
* ace/DLL.{h,cpp} (symbol):
* ace/DLL_Manager.{h,cpp} (symbol):
Added additional default parameter, ignore_errors, so the dll
can be probed for symbols without sending error messages to
the log.
Thu May 30 08:53:12 2002 Johnny Willemsen <jwillemsen@remedy.nl>
* tests/Codecs_Test.cpp:
Removed not needed ; after the ACE_RCSID. This will fix a warning in
the Tru64 build
* tests/Framework_Component_DLL.cpp:
Corrected playing of ;. This will fix a warning in the Tru64 build.
Thu May 30 02:27:29 2002 Steve Huston <shuston@riverace.com>
* examples/C++NPv2/AC_Client_Logging_Daemon.cpp:
* examples/C++NPv2/AC_CLD_export.h:
* examples/C++NPv2/AC_CLD.mak:
* examples/C++NPv2/Makefile: Added remaining Chapter 7 example.
Thu May 30 08:04:12 2002 Johnny Willemsen <jwillemsen@remedy.nl
* ace/Asynch_IO.h:
* ace/Bound_Ptr.h:
Changed <p> in comment to \<p\> because the <p> is a commend
that is recognized by doxygen.
Thu May 30 07:46:12 2002 Johnny Willemsen <jwillemsen@remedy.nl
* ace/Makefile.bor:
Added Codecs
* tests/Framework_Component_Test.cpp:
Fixed msvc wchar compile errors
* etc/tao_costrader.doxygen:
Added this doxygen config file to generate TAO Cos Trader
documentation
* bin/generate_doxygen.pl:
Added tao_costrader to generate TAO Cos Trader documentation
* html/index.html:
Added link for CosTrader
Wed May 29 22:33:53 2002 Ossama Othman <ossama@uci.edu>
* ace/Acceptor.h (ACE_Acceptor, ACE_Oneshot_Acceptor):
* ace/Connector.h (ACE_Connector):
Use ACE_TYPENAME where appropriate in newly added traits to
correct build problems in g++ 2.95.x or better builds.
Wed May 29 22:13:19 2002 Ossama Othman <ossama@uci.edu>
* ace/Acceptor.h (ACE_Acceptor, ACE_Oneshot_Acceptor):
* ace/Connector.h (ACE_Connector):
* ace/Svc_Handler.h (ACE_Svc_Handler):
Added STL-style traits that may be useful when subclassing these
classes.
Wed May 29 21:55:49 2002 Steve Huston <shuston@riverace.com>
* examples/C++NPv2/TPC_Logging_Server.{h cpp}:
* examples/C++NPv2/TPCLS_export.h:
* examples/C++NPv2/TPCLS.mak:
* examples/C++NPv2/Makefile: Added Chapter 7 examples.
* ace/Acceptor.h (ACE_Acceptor::open): Made open() virtual.
Thu May 30 01:38:51 UTC 2002 Craig Rodrigues <crodrigu@bbn.com>
* ace/OS_String.inl: Revert:
Wed May 29 09:38:53 2002 Ossama Othman <ossama@uci.edu>
The intended fix is satisfactorily addressed by:
Tue May 28 18:35:46 UTC 2002 Craig Rodrigues <crodrigu@bbn.com>
Wed May 29 16:36:42 2002 Ossama Othman <ossama@uci.edu>
* ace/CDR_Stream.cpp (write_wchar, read_wchar, skip_wchar):
* ace/CDR_Stream.i (write_wchar_array, read_wchar_array):
Take into account the actual size of the ACE_CDR::WChar type
instead of assuming that it is always 16 bits long.
Wed May 29 20:16:48 UTC 2002 Don Hinton <dhinton@ieee.org>
* tests/Framework_Component_Test.cpp:
Changed ACE_Service_Config::open() to call the
ignore_default_svc_conf_file flag since all the directives
are passed directly without using a config file anyway.
* ACEXML/apps/svcconf/Svcconf_Handler.{h,cpp}:
Removed handle_ member variable and pass the local svc_dll
object instead of handle_ to ACE_Service_Config::create_service_type()
in accordance with changes below to ACE_DLL.
Wed May 29 12:35:21 2002 Ossama Othman <ossama@uci.edu>
* ace/OS.h:
If ACE_HAS_WCHAR is defined define the ACE_OS::WChar type to be
of type wchar_t. Otherwise, define it to be ACE_UINT16 (the
previous default). Addresses some wide character CDR and CORBA
C++ mapping issues. Thanks to David Smith
<dts@prismtechnologies.com> for reporting this.
Wed May 29 09:46:56 2002 Ossama Othman <ossama@uci.edu>
* ace/Message_Queue.h:
Include "ace/Synch.h" to pull in ACE_Thread_Mutex class
declaration. Thanks to Marek Maleta <marek_maleta@agilent.com>
for reporting the problem.
* THANKS:
Added Marek to the Hall of Fame.
Wed May 29 09:38:53 2002 Ossama Othman <ossama@uci.edu>
* ace/OS_String.inl (strstr):
Only use wcswcs() if _XOPEN_SOURCE is defined. In any case, the
Single UNIX Specification version 2 strongly encourages use of
wcsstr(). Fixes a compile-time error on glibc 2.x platforms.
(strtok_r):
Glibc has the 3 argument version of wcstok(). Use it instead.
Fixes a compile-time error on glibc 2.x platforms.
Wed May 29 15:52:52 UTC 2002 Don Hinton <dhinton@ieee.org>
* ace/DLL_Manager.{h,cpp}:
Cleaned some problems with auto_ptr usage and added symbol
name to the debug message if the symbol isn't found--not
all systems seem to give you the name of the unfound symbol.
Wed May 29 15:06:32 UTC 2002 Craig Rodrigues <crodrigu@bbn.com>
* bin/nightlybuilds/builds.lst: Move Debian_NoInterceptors to new
scoreboard.
Wed May 29 10:29:10 2002 Steve Huston <shuston@riverace.com>
* examples/C++NPv2/Client_Logging_Daemon.cpp: Use a safer scheme
to clean up sent blocks; compile the INET_Addr stuff clean.
Wed May 29 12:54:23 2002 Johnny Willemsen <jwillemsen@remedy.nl>
* ace/DLL_Manager.cpp:
* ace/Framework_Component.cpp:
Fixed msvc wchar compile errors
Wed May 29 08:41:12 2002 Johnny Willemsen <jwillemsen@remedy.nl>
* ace/Codecs.h:
Removed the ; after the ACE_UNIMPLEMENTED_FUNC, the BCB compiler has
problems with it.
* tests/Makefile.bor:
Added the new Codecs_Test.
Tue May 28 19:40:44 2002 Steve Huston <shuston@riverace.com>
* examples/C++NPv2/Client_Logging_Daemon.cpp:
* examples/C++NPv2/CLD_export.h:
* examples/C++NPv2/CLD.mak:
* examples/C++NPv2/TP_Logging_Server.{h cpp}:
* examples/C++NPv2/TPLS_export.h:
* examples/C++NPv2/TPLS.mak:
* examples/C++NPv2/Makefile: Added new client logging daemon
and thread pool logging server examples from chapter 6.
Wed May 29 02:09:32 UTC 2002 Craig Rodrigues <crodrigu@bbn.com>
* bin/nightlybuilds/builds.lst: Move RedHat_7.1_Full and
RedHat_7.1_NO_AMI_Messaging builds to new scoreboard.
Tue May 28 19:20:58 2002 Krishnakumar B <kitty@cs.wustl.edu>
* ace/Read_Buffer.cpp (rec_read):
It seems that my changes trash the files written by test
programs. I need to write a test to check out what's happening
before changing the CVS head. Reverting my change of Tue May 28
17:00:21 2002 Krishnakumar B <kitty@cs.wustl.edu>.
Tue May 28 23:13:45 UTC 2002 Don Hinton <dhinton@ieee.org>
* tests/Framework_Component_DLL.cpp:
Added missing ";" to end of template instantiation statements.
Tue May 28 22:34:03 UTC 2002 Don Hinton <dhinton@ieee.org>
* ace/DLL.cpp: Added missing ACE_const_cast().
Tue May 28 17:00:21 2002 Krishnakumar B <kitty@cs.wustl.edu>
* ace/Read_Buffer.cpp (rec_read):
Fixed stupid thinko when decrementing slot. Tell myself to think
twice to about using ?:. My previous change also ate the
character when only one character is in a file. ACE_Read_Buffer
is crying for a test under $ACE_ROOT/tests which tests variable
sized buffers with sizes of 1, < BUFSIZ, BUFSIZ, > BUFSIZ
instead of under examples/misc/test_tead_buffer.cpp. Will try to
get in one.
* docs/ACE-guidelines.html:
Update guidelines to be careful about using ?: in some
situations. Thanks to Doug for suggesting this.
Tue May 28 21:54:44 UTC 2002 Craig Rodrigues <crodrigu@bbn.com>
* bin/nightlybuilds/builds.lst: Move Debian_NoInline and
Debian_GCC_3.0.4 builds to new scoreboard.
Tue May 28 21:32:42 UTC 2002 Don Hinton <dhinton@ieee.org>
* ace/DLL.cpp:
* ace/DLL_Manager.cpp:
* ace/Framework_Component.cpp:
* ace/Framework_Component_T.cpp:
Fixed Fuzz errors.
Tue May 28 18:35:46 UTC 2002 Craig Rodrigues <crodrigu@bbn.com>
[Bug 1208]
* ace/OS_String.cpp (strok_r_emulation): Call ACE_OS_String::strtok
instead of ::wcstok.
* ace/OS_String.inl (strtok): If ACE_HAS_XPG4_MULTIBYTE_CHAR is defined,
call 3 parameter version of wcstok, else call 2 parameter version.
* ace/config-linux-common.h: Only define ACE_LACKS_WCSTOK and
ACE_LACKS_WCSDUP_PROTOTYPE for glibc versions less than 2. Define
ACE_HAS_XPG4_MULTIBYTE_CHAR for glibc 2 and higher.
* tests/OS_Test.cpp: Add test for wchar_t version of strtok.
Tue May 28 15:02:01 UTC 2002 Don Hinton <dhinton@ieee.org>
* tests/tests.dsw:
* tests/Framework_Component_DLL.dsp: Added new dsp.
Tue May 28 09:35:17 2002 Jeff Parsons <parsons@cs.wustl.edu>
* ace/ace_dll.dsp:
* ace/ace_lib.dsp:
Added DLL_Manager.* to these projects.
Tue May 28 10:47:50 UTC 2002 Don Hinton <dhinton@ieee.org>
* tests/Logging_Strategy_Test.cpp:
Fixed typo, ACE_AS_* > ACE_HAS_*.
* tests/Makefile.Framework_Component_DLL:
* tests/Makefile:
* tests/Makefile.bor:
Added/modified Makefiles to add new test file, and updated
dependancies.
* tests/Framework_Component_Test.{h,cpp}:
* tests/Framework_Component_DLL.{h,cpp}: Added.
* tests/Framework_Component_DLL_export.h: Added.
Modified to test to exercise the new ACE_DLL_Singleton and
ACE_DLL* classed in concert with the Service Config framework
and new Framework Component mechanisms.
* tests/DLL_Test.{h,cpp}:
Modified test to fully test all the features of the new
ACE_DLL, ACE_DLL_Handle, and ACE_DLL_Manager classes.
* ace/Makefile:
* ace/Makefile.bor:
Added DLL_Manager and updated dependancies.
* bin/generate_export_file.pl:
Added generation of library specific TRACE macros in
terms of the new ACE_TRACE_IMPL macro below.
* ace/Global_Macros.h:
Added new macro, ACE_TRACE_IMPL and implemented ACE_TRACE
in terms of it if tracing is enabled. This allows you
to turn tracing on for a particular cpp by just undef'ing
ACE_TRACE and redefining it as ACE_TRACE_IMPL.
* ace/Parse_Node.{h,cpp}:
Removed handle() method and added a dll() method. Also,
since ACE_DLL_Handle::symbol() calls ACE::ldname() internally,
changed the ACE::ldname() calls in the ctors for
ACE_Object_node and ACE_Function_Node to ACE::strnew().
* ace/Svc_Conf_y.cpp:
Changed call to ACE_Location_Node::handle() to ACE_Location_Node::dll()
in ACE_Service_Type::ctor.
* ace/Service_Object.{h,cpp,i}:
Modified ACE_Service_Type to maintain an ACE_DLL member variable
instead of an ACE_SHLIB_HANDLE, and changed ctor accordingly.
Removed call to ACE_OS::dlclose() from dtor. Removed handle()
methods.
* ace/Object_Manager.cpp:
* ace/Service_Config.cpp:
The Object Manager is now always responsible for cleaning up
the ACE_Framework_Repository, but only after the Service
Config framework has been cleanup. ACE_Service_Config no longer
knows anything about ACE_Framework_Repository.
* ace/Service_Config.cpp:
Changed create_service_type() to take an ACE_DLL& instead of
an ACE_SHLIB_HANDLE. Removed unneeded call to ACE::ldname().
* ace/DLL_Manager.{h,cpp}: Added.
* ace/DLL.{h,cpp}:
Added new classes, ACE_DLL_Manager_Ex and ACE_DLL_Handle, and
and moved all functionalility from ACE_DLL to the new classes.
ACE_DLL maintains the same interface and semantics but defers
all calls to the new classes. ACE_DLL_Manager is a singleton
that manages the lifetimes of instances of refcounted
ACE_DLL_Handle objects that represent the actual dlls. The
following unloading strategies are available: per-process/dll,
eager/lazy.
Added copy ctor to ACE_DLL so that the get/set_handle() methods
aren't needed--there use in the Service Config framework can
complicate orderly destruction of singletons based on
ACE_DLL_Singleton.
Added call to ACE::ldname() to the symbol() method so that
the caller no longer needs to do it themselves.
* ace/Singleton.{h,cpp,i}:
Added new singleton template, ACE_DLL_Singleton, that registers
itself with the ACE_Framework_Repository so that it can be
destroyed when the dll with which it is associated is unloaded.
* ace/Proactor.{h,cpp}:
* ace/Reactor.{h,cpp}:
Added name() method as needed by changes below, and implemented
dll_name() method to return "ACE".
* ace/Framework_Component.{h,cpp,inl}:
* ace/Framework_Component_T.{h,cpp}:
Enhanced the Framework Component "framework" ;-) to allow the
removal of registered components, either individually by name or
as a group, based on the dll that registered them.
Mon May 27 15:59:17 2002 Nanbor Wang <nanbor@cs.wustl.edu>
* ACEXML/common/XML_Codecs.h:
* ACEXML/common/XML_Codecs.cpp: Fixed VC warnings.
* ace/ace_dll.dsp:
* ace/ace_lib.dsp: Added Codecs.*.
* tests/tests.dsw:
* tests/Codecs_Test.dsp: Added a new test.
* ACEXML/common/XML_Common.dsp: Added XML_Codecs.*.
Mon May 27 15:47:44 2002 Steve Huston <shuston@riverace.com>
* ace/OS.h: Add new service-related macro, ACE_Local_Service_Export.
This is intended for use in the ACE_FACTORY_DEFINE macro, for
static services whose factory functions need not be exported.
To use this when defining a factory function, do
ACE_FACTORY_DEFINE(ACE_Local_Service, StaticSvcClass)
* examples/C++NPv2/Service_Reporter.cpp: Use ACE_Local_Service
in the ACE_FACTORY_DEFINE for the Service_Reporter service.
Mon May 27 15:21:57 2002 Krishnakumar B <kitty@cs.wustl.edu>
* ace/Codecs.h:
* ace/Codecs.cpp:
New files meant to hold all encoding/decoding classes/functions.
Currently implements Base 64 encoding.
* ACEXML/common/XML_Codecs.h:
* ACEXML/common/XML_Codecs.cpp:
* ACEXML/common/Makeile:
Same guy under a different hood.
* ace/Basic_Types.h:
Added definition of ACE_Byte.
* tests/Codecs_Test.cpp:
* tests/run_test.lst:
Regression test which tests the encoding/decoding functionality
added above.
* tests/Makefile:
* tests/RMCast/Makefile:
* ace/Makefile:
* ace/RMCast/Makefile:
Updated dependencies.
* ace/Read_Buffer.cpp:
Decrement the extra increment of slot. This is not completely
correct, as we should abstract the handling of end-of-line across
Unix and Windows and then use it here and all the places which
read stuff from files. See Fri May 24 10:42:25 2002 Douglas C.
Schmidt <schmidt@tango.doc.wustl.edu> for another manifestation
of the same bug.
* include/makeinclude/rules.local.GNU:
Remove files named core.[0-9]+. Newer kernels dump a core file
associated with each process separately.
Mon May 27 15:04:31 2002 Steve Huston <shuston@riverace.com>
* ace/OS.h (ACE_FACTORY_DEFINE): Add the export declaration to
the generated factory, removing the need to also use the
ACE_FACTORY_DECLARE in simple (most common) situations.
* examples/C++NPv2/SLD.cpp:
* examples/C++NPv2/SLDex.cpp:
* examples/C++NPv2/Server_Shutdown.cpp: Remove ACE_FACTORY_DECLARE.
It's not needed in these situations.
Mon May 27 07:39:41 2002 Douglas C. Schmidt <schmidt@tango.doc.wustl.edu>
* ace/Configuration_Import_Export.cpp (squish): Added a
check for '\r' to ensure that empty lines are handled properly.
Thanks to Vladimir Chovanec <Vladimir.CHOVANEC@asset.sk> for
reporting this.
Mon May 27 09:20:12 2002 Johnny Willemsen <jwillemsen@remedy.nl>
* bin/generate_doxygen.pl:
Added tao_costime to the list of doxygen files that must be run
* etc/tao_costime.doxygen:
Created doxygen config file for this TAO service
* html/index.html:
Added link for the TAO CosTime service doxygen documentation
Mon May 27 08:18:12 2002 Johnny Willemsen <jwillemsen@remedy.nl>
* ACEXML/common/Attributes_Def_Builder.h:
* ACEXML/common/DTD_Manager.h:
* ACEXML/common/Element_Def_Builder.h:
* ACEXML/common/Validator.h:
* ACEXML/parser/debug_validator/Debug_Attributes_Builder.h:
* ACEXML/parser/debug_validator/Debug_Element_Builder.h:
* ACEXML/parser/debug_validator/Element_Tree.h:
Corrected doxygen commands, no space between @ and the command is
allowed.
* ace/Active_Map_Manager.h:
* ace/Arg_Shifter.h:
* ace/Based_Pointer_Repository.cpp:
* ace/CDR_Stream.h:
* ace/Caching_Utility_T.h:
* ace/Configuration.h:
* ace/DEV_IO.h:
* ace/Dev_Poll_Reactor.h:
* ace/Dirent_Selector.h:
* ace/Env_Value_T.h:
* ace/FILE.h:
* ace/Get_Opt.h:
* ace/Hashable.h:
* ace/IO_Cntl_Msg.cpp:
* ace/Init_ACE.h:
* ace/Local_Tokens.h:
* ace/Log_Msg.cpp:
* ace/Log_Msg.h:
* ace/Memory_Pool.h:
* ace/Message_Block.h:
* ace/OS.cpp:
* ace/OS.h:
* ace/Object_Manager.cpp:
* ace/POSIX_Asynch_IO.cpp:
* ace/POSIX_Asynch_IO.h:
* ace/POSIX_Proactor.cpp:
* ace/POSIX_Proactor.h:
* ace/Pair_T.h:
* ace/Proactor.cpp:
* ace/Process.h:
* ace/Reactor_Impl.h:
* ace/Remote_Tokens.h:
* ace/SV_Message.h:
* ace/Select_Reactor_T.h:
* ace/Svc_Conf.h:
* ace/System_Time.h:
* ace/TLI_Stream.h:
* ace/TP_Reactor.cpp:
* ace/TP_Reactor.h:
* ace/Task.h:
* ace/Task_T.h:
* ace/Thread.h:
* ace/Timer_Wheel_T.cpp:
* ace/Token.h:
* ace/Token_Manager.h:
* ace/WIN32_Proactor.cpp:
Improved the doxygen documenation by converting old style documentation
to doxygen style. Also corrected small typing errors, start sentences with
capital letters and corrected incorrected doxygen commands.
* ace/POSIX_Proactor.cpp:
Corrected the signature of handle_events from unsigned long to u_long to
match the declaration of this method. This was found using the warning file
of the doxygen generation.
* ace/Future.h:
Corrected brief documentation. Brief documentation ends when a dot is found
followed by a space of a newline. We had "i.e. " in the brief documenation
and now this documentation ended after the second dot, changed it to
"i.e.,". This fixed [Bug 892].
* ace/config-doxygen.h:
Added ACE_HAS_TOKENS_LIBRARY to generate ACE token library documentation
* bin/generate_doxygen.pl:
Added tao_cosnaming to the list of doxygen files that must be run
* etc/tao_cosnaming.doxygen:
Created doxygen config file for this TAO service
* etc/tao_cosnotification.doxygen:
Corrected tagfile name and directory that is generated
* html/index.html:
Added link for the TAO Naming service doxygen documentation
Sun May 26 21:48:49 2002 Steve Huston <shuston@riverace.com>
* examples/C++NPv2/Reactor_Logging_Server_Adapter.cpp: Added
include guard.
* examples/C++NPv2/SLD.dsp: Define SLD_BUILD_DLL, not ACE_BUILD_DLL,
to set up the export stuff correctly.
* examples/C++NPv2/SLDex.dsp:
* examples/C++NPV2/examples.dsw: Add new project for second part
of chap 5 example.
* examples/C++NPv2/SLD.cpp:
* examples/C++NPv2/SLDex.cpp:
* examples/C++NPv2/Server_Shutdown.cpp: Add ACE_FACTORY_DECLARE to
get correct export declaration for factory.
Sun May 26 13:20:15 2002 Douglas C. Schmidt <schmidt@tango.doc.wustl.edu>
* ace/config-macosx.h: Added #define ACE_LACKS_SYSTIME_H.
Thanks to Dennis C. De Mars <demars@mminternet.com> for
recommending this.
Sat May 25 17:45:21 2002 Nanbor Wang <nanbor@cs.wustl.edu>
* tests/Proactor_Scatter_Gather_Test.dsp:
* tests/tests.dsw: Added Proactor_Scatter_Gather_Test.
Sat May 25 16:42:46 2002 Douglas C. Schmidt <schmidt@tango.doc.wustl.edu>
* tests/run_test.lst,
* tests/Makefile.bor,
* tests/Makefile: Added Proactor_Scatter_Gather_Test.
Sat May 25 16:30:00 2002 Edan Ayal <edanayal@yahoo.com>
* tests/Proactor_Scatter_Gather_Test.cpp:
Added a new test for the asynch scatter/gather I/O
functionality. It is currently supported (as the feature itself)
only under Win32 - actually NT4 SP2 and above. The test runs in
a single thread, and involves a single Sender, two Receivers and
a single Writer. The Sender async-reads (scattered) from a file
into chunks of <page size>. It async-sends (gathered) the odd
chunks to the first receiver over a stream, and the even chunks
to the second receiver over a different stream. The receivers
async-read (scattered) from the socket streams into chunks in
size of <page size>, and convey the data to the Writer. The
Writer reconstructs the file using async-write
(gathered). Finally, the reconstructed file is compared to the
original file to determine test success. The test therefore
covers both async scatter/gather stream I/O and async
scatter/gather file I/O.
Sat May 25 14:52:06 2002 Douglas C. Schmidt <schmidt@tango.doc.wustl.edu>
* ace/Strategies_T.cpp (make_svc_handler): Fixed a typo where
dll_name_ was misspelled as shared_library_. Thanks to Nathan
Krasney <natan-k@actcom.co.il> for reporting this.
Fri May 24 10:42:25 2002 Douglas C. Schmidt <schmidt@tango.doc.wustl.edu>
* ace/Configuration_Import_Export.cpp (squish): Added a
check for '\n' to ensure that empty lines are handled properly.
Thanks to Vladimir Chovanec <Vladimir.CHOVANEC@asset.sk> for
reporting this.
Sat May 25 15:09:42 2002 Steve Huston <shuston@riverace.com>
* examples/C++NPv2/SLDex.{cpp mak}:
* examples/C++NPv2/Server_Shutdown.cpp:
* examples/C++NPv2/SLDEX_export.h:
* examples/C++NPv2/Makefile: Add new dll for second part of
Chapter 5 dynamic (re)config example.
Sat May 25 11:47:33 2002 Steve Huston <shuston@riverace.com>
* examples/C++NPv2/Reactor_Logging_Server_Adapter.cpp (init):
Add wide->narrow char conversion to get ACE_TCHAR into
a char-based method.
Sat May 25 01:15:02 UTC 2002 Craig Rodrigues <crodrigu@bbn.com>
* bin/nightlybuilds/builds.lst: Move Debian_Minimum bulid to
new scoreboard.
Fri May 24 23:52:39 2002 Steve Huston <shuston@riverace.com>
* examples/C++NPv2/Configurable_Logging_Server.dsp:
* examples/C++NPv2/SLD.dsp:
* examples/C++NPv2/examples.dsw: Added new projects for chapter
5's configurable logging server.
Fri May 24 20:51:25 2002 Christopher Kohlhoff <chris@kohlhoff.com>
* ace/Log_Msg_NT_Event_Log.cpp (open):
Need to use logger_key, when it is supplied, to register the
event source with the system.
* ace/Log_Msg_NT_Event_Log.cpp (log):
Replace all newlines in the message with the CR-LF character
sequence so that line breaks are correctly displayed in the
event viewer.
Fri May 24 20:18:41 2002 Steve Huston <shuston@riverace.com>
* examples/C++NPv2/Reactor_Logging_Server.cpp:
* examples/C++NPv2/Reactor_Logging_Server_T.cpp: Move all the
method implementations for Reactor_Logging_Server<> into
Reactor_Logging_Server_T.cpp so they're reuseable in a
shared library.
* examples/C++NPv2/Reactor_Logging_Server.h: Add template
implementation reference plumbing for compilers.
* examples/C++NPv2/Select_Reactor_Logging_Server.cpp:
* examples/C++NPv2/TP_Reactor_Logging_Server.cpp:
* examples/C++NPv2/WFMO_Reactor_Logging_Server.cpp: Remove the
(duplicate) definitions of Reactor_Logging_Server<>; the
compiler now generates this using the code in
Reactor_Logging_Server_T.cpp.
* examples/C++NPv2/svc.conf:
* examples/C++NPv2/SLD.cpp:
* examples/C++NPv2/SLD_export.h:
* examples/C++NPv2/SLD.mak: Code and Makefile for the dynamic
logging service in chapter 5.
* examples/C++NPv2/Makefile: Added SLD.mak.
* examples/C++NPv2/Logging_Acceptor.h: Added a PEER_ADDR trait.
The Reactor_Logging_Server_Adapter's use of Logging_Acceptor
needs the trait.
* examples/C++NPv2/Service_Reporter.h: Make ctor public so
the service factory can instantiate this class.
Sat May 25 00:20:50 UTC 2002 Craig Rodrigues <crodrigu@bbn.com>
* bin/nightlybuilds/builds.lst: Move Debian_WChar to new scoreboard.
Fri May 24 10:18:39 2002 Steve Huston <shuston@riverace.com>
* bin/auto_compile: Don't bail out if the only CVS conflict is
in ChangeLog or THANKS.
* ace/CDR_Stream.h (ACE_InputCDR): Added comments clarifying
the behavior of the ctor that takes a const ACE_Message_Block *.
Thanks to Alexander Maack for motivating this.
* examples/C++NPv2/display_logfile.cpp (svc): Fix memory leak
(thanks to Alexander Maack for reporting this) and don't lose
the host name in the data if demarshaling has to be aborted to
go read more data from the file.
* examples/C++NPv2/Logging_Acceptor_Ex.h:
* examples/C++NPv2/Logging_Event_Handler_Ex.h: Remove trailing ';'
on inlined methods; Changed to match book.
* examples/C++NPv2/Select_Reactor_Logging_Server.cpp: Changed to
match book.
* examples/C++NPv2/Reactor_Logging_Server_Adapter.{h cpp}:
* examples/C++NPv2/Service_Reporter.{h cpp}:
* examples/C++NPv2/Configurable_Logging_Server.{cpp mak}:
Example code from Chapter 5 of C++NPv2 (Service Configurator).
* examples/C++NPv2/Makefile: Added new examples.
* THANKS: Added Alexander Maack to the Hall of Fame.
* ace/Reactor.h: Mark run[_alertable]_event_loop, end_event_loop,
event_loop_done, and reset_event_loop static methods deprecated
in favor of calling the non-static methods on
ACE_Reactor::instance(). Thanks to Don Hinton for motivating this.
* ace/String_Base.h (rep): Added note that directs the caller to free
the returned memory.
Mon May 13 19:15:49 2002 Steve Huston <shuston@riverace.com>
* ace/Service_Config.h: Doxygen-ized comments for open(), and
added a note on -b that files are evaluated relative to "/".
* netsvcs/servers/main.cpp: Move the reactor/signal initialization
to be after the service loading. If the user specifies -b (be a
daemon) it closes all handles, including the reactor
notification pipe. Also added ACE_TEXT decorator to the string
literals.
Fri May 24 13:29:05 UTC 2002 Craig Rodrigues <crodrigu@bbn.com>
* bin/nightlybuilds/builds.lst: Move Debian_Full and
Debian_Minimum_Static builds to new scoreboard.
Thu May 23 20:35:22 2002 Steve Huston <shuston@riverace.com>
* ace/RB_Tree.h: Clarified that iterator is valid after changes to
container only if the iterated-over element is not removed. Thanks
to Craig Ching <cching@mqsoftware.com> for noticing this.
* ace/Module.cpp (close): Fixed to only use the passed-in flags if
the task delete policy was not set explicitly. Thanks to Doug
Schmidt for this fix!
* examples/C++NPv2/WFMO_Reactor_Logging_Server.cpp: Use new technique
for detecting "quit" command. Unified with book content.
Thu May 23 20:36:46 UTC 2002 Craig Rodrigues <crodrigu@bbn.com>
* bin/nightlybuilds/builds.lst: Move Lynx_PPC build to new scoreboard.
Thu May 23 14:04:52 2002 Krishnakumar B <kitty@cs.wustl.edu>
* ACEXML/common/LocatorImpl.cpp:
* ACEXML/common/LocatorImpl.h:
* ACEXML/common/LocatorImpl.i:
* ACEXML/parser/parser/Parser.cpp:
* ACEXML/parser/parser/Parser.h:
* ACEXML/parser/parser/Parser.i:
Implemented the Locator for the XML parser.
* ACEXML/common/CharStream.h:
* ACEXML/common/DTDHandler.h:
* ACEXML/common/Env.h:
* ACEXML/common/Exception.h:
* ACEXML/common/FileCharStream.h:
* ACEXML/common/InputSource.cpp:
* ACEXML/common/SAXExceptions.cpp:
* ACEXML/common/SAXExceptions.h:
* ACEXML/examples/SAXPrint/SAXPrint_Handler.cpp:
* ACEXML/examples/SAXPrint/SAXPrint_Handler.h:
Cosmetic fixes including some fixing some memory leaks.
* ACEXML/examples/SAXPrint/Print_Handler.cpp:
* ACEXML/examples/SAXPrint/Print_Handler.h:
* ACEXML/examples/SAXPrint/main.cpp:
Add support for printing out errors which uses the Locator. This
will print out errors only if there is an error in the XML file.
Thu May 23 07:53:37 2002 Douglas C. Schmidt <schmidt@tango.doc.wustl.edu>
* examples/Misc/test_read_buffer.cpp (ACE_TMAIN): Use ACE_STDIN
rather than 0. Thanks to Soeren Gerlach <soeren.gerlach@gmx.de>
for motivating this.
Tue May 21 06:13:50 2002 Douglas C. Schmidt <schmidt@macarena.cs.wustl.edu>
* ace/Hash_Map_Manager_T.h (class ACE_Hash_Map_Manager_Ex): Made
shared_find() protected rather than private. Thanks to
Ganesh Pai <GPai@sonusnet.com> for reporting this.
Wed May 22 23:18:26 2002 Priyanka <oci@cs.wustl.edu>
* ACE version 5.2.3 released.
Sat May 18 09:32:58 2002 Ossama Othman <ossama@uci.edu>
* ace/SSL/SSL_SOCK_Stream.cpp (get_remote_addr):
Set errno to ENOTCONN if the SSL connection hasn't been
completed yet, and errno to EBADF if the file descriptor hasn't
been set yet. This emulates the getpeername() errno semantics.
Sat May 18 08:19:48 2002 Ossama Othman <ossama@uci.edu>
* ace/SSL/SSL_Connector.h:
* ace/SSL/SSL_Connector.cpp:
Temporarily removed these files since there are still some
thread-safefy issues to be addressed in the implementation.
Better to wait until after the forthcoming beta to ship them.
Fri May 17 07:32:49 2002 Douglas C. Schmidt <schmidt@tango.doc.wustl.edu>
* ace/Log_Msg.cpp: Replaced ACE_NEW_RETURN_I with ACE_NEW_RETURN.
Thanks to Johnny Willemsen for reporting this.
Thu May 16 20:15:36 2002 Douglas C. Schmidt <schmidt@tango.doc.wustl.edu>
* ace/OS.i: Added ACE_HAS_ISASTREAM_PROTO guard around the
extern "C" int isastream() method. Thanks to Oleg Terletsky
<oterletsky@comcast.net> for reporting this.
* ace/ARGV.h: Added a comment that points out the "add()" method
doesn't handle memory management. Thanks to Kyle Brost
<kyle.brost@quest.com> and Don Hinton for clarifying this.
Thu May 16 17:05:19 2002 Ossama Othman <ossama@uci.edu>
* ace/SSL/SSL_Connector.cpp (handle_input, handle_output):
Qualify the AST type with its appropriate scope. g++ requires
it.
Thu May 16 15:28:24 2002 Ossama Othman <ossama@uci.edu>
* ace/SSL/SSL_Connector.h:
* ace/SSL/SSL_Connector.cpp:
New ACE_SSL-specific subclasses of the standard
ACE_{Strategy_}Connector classes. The standard ACE_Connector
class assumes that a connection is established once the stream
handle becomes writable. However, that only holds for protocols
with a single handshake, such as TCP. Protocols with multiple
handshakes, such as SSL, require special handling to prevent the
connection from being considered completed once the stream
handle becomes writable. The subclasses simply override the
handle_input() and handle_output() methods for each of base
classes that were subclassed. If possible, these changes will
be generalized and merged into ACE proper. When that occurs,
these classes will be deprecated. As such, these classes are
only intended to be an interim solution.
* ace/SSL/SSL_SOCK_Connector.cpp (connect):
Fixed bug where the handle in the SSL_SOCK_Stream was not set if
a connection is in progress. In that case, the handle must also
be set in the SSL_SOCK_Stream so that the correct handle is
returned from SSL_SOCK_Stream::get_handle() when performing
non-blocking connect()s via the SSL_SOCK_Connector.
(complete):
No need to set the handle in SSL_SOCK_Stream since it is
already set in the connect() method.
Only attempt to complete the TCP connection if that hasn't
already been done.
* ace/SSL/SSL_SOCK_Stream.h (peer):
Made this method public so that it can be called by the new
SSL_{Strategy_}Connector classes.
* ace/SSL/SSL_SOCK_Stream.cpp (get_remote_addr):
Overrode the base class implementations of this method. Some
applications use get_remote_addr() as a way of determining
whether or not a connection has been established. In SSL's
case, the remote addr will be available once the TCP handshake
has been complete. Despite that fact, the SSL connection may
not have been completed. In such a case, a successful return
from get_remote_addr() would be misleading.
Thu May 16 13:34:19 2002 Nanbor Wang <nanbor@cs.wustl.edu>
* ACEXML/examples/SAXPrint/main.cpp: Added constness to
<test_string>. This fixed a GCC 3.0 warning.
Wed May 15 17:47:24 UTC 2002 Don Hinton <dhinton@ieee.org>
* ace/DLL.cpp: Fixed compile error in an AIX ifdef'd
section of code I missed before.
Wed May 15 17:18:58 UTC 2002 Don Hinton <dhinton@ieee.org>
* ace/DLL.cpp (open):
Removed unreferenced return value. Thanks to Nanbor
for noticing this.
Wed May 15 16:44:27 UTC 2002 Don Hinton <dhinton@ieee.org>
* ace/DLL.cpp (save_last_error):
Use ACE::strnew to make a copy of the saved string.
Wed May 15 15:58:07 UTC 2002 Don Hinton <dhinton@ieee.org>
* tests/DLL_Test.cpp:
Modified test to make calles to ACE_DLL::error () in order to test
changes below.
* ace/DLL.{h,cpp}:
Removed the return in open() after an ACE_Lib_Find error, so that
dlopen() will be called and the appropriate error stored.
Added new static flag, open_called_, to keep track of whether or not
a library function (specifically dlopen) has been called. This is
used internally to make sure that dlerror() isn't called unless the
library has been initialized with a call to dlopen first. Otherwise
it seg-faults on Linux (and perhaps others).
Also added a last_error_ variable and save_last_error() method and
placed a call to save_last_error() after each library call. Then
changed error() so it just returns last_erro_. This solves a few
problems, since open() made calls to error() which returned the
appropriate error but cleared the value for the next call. So for
instance, when the ctor failed and tried to call error() to report
the error, it didn't return anything since open() had already called
it. Also, if open() failed, and the called tried to call error() to
find out why, they got a blank error message since error() had
already been called by open().
Tue May 14 19:40:11 2002 Priyanka Gontla <pgontla@ece.uci.edu>
* tests/Proactor_Test.cpp (initiate_write_stream):
Applied the Patch Johnny Willemsen sent to fix the test for the
unicode builds.
Tue May 14 19:14:11 2002 Priyanka Gontla <pgontla@ece.uci.edu>
* tests/TP_Reactor_Test.cpp (Connector):
Fixed the warnings by removing the check condition
'size_t index_ >= 0' which is always going to be true.
* tests/Proactor_Test.cpp:
Integrated the changes sent by Alex Libman
<AlexL@rumblegroup.com>to fix the test on
linux and other platforms that has a weak AIO implementation.
Mon May 13 16:43:34 2002 Krishnakumar B <kitty@cs.wustl.edu>
* ACEXML/parser/parser/Parser.cpp (parse_xml_prolog):
I meant to change "standalong" to "standalone" not "encoding" to
"encodine". Brain damage...
Mon May 13 16:31:33 2002 Krishnakumar B <kitty@cs.wustl.edu>
* ACEXML/parser/parser/Parser.cpp (parse_xml_prolog):
Fixed a small typo. We should parse "standalone" not
"standalong".
Mon May 13 10:19:48 2002 Nanbor Wang <nanbor@cs.wustl.edu>
* ace/Message_Block.cpp: Fixed a fuzz warning.
Mon May 13 08:36:38 2002 Alex Libman <AlexL@rumblegroup.com>
* tests/Proactor_Test.cpp:
Improved flow-control in full-duplex mode by increasing the
window size, total_send - total_recv to achieve max performance
from TCP/IP
Improved static info which includes the number of bytes
sent/recv and the number of read/write operations. This allows
to see distribution of I/O operations between handlers. Would be
useful for Proactor's future improvements.
Impoved scatter/gather branch under Win32. Instead of splitting
one message into 3 small blocks we now send them as a
chain. This helps to improve performance.
Mon May 13 07:33:43 2002 Chad Elliott <elliott_c@ociweb.com>
* ACEXML/examples/SAXPrint/main.cpp:
Fix the Debian build by using ACEXML_Char instead of ACE_TCHAR.
Sun May 12 23:20:06 2002 Alex Libman <AlexL@rumblegroup.com>
* tests/TP_Reactor_Test.{h,cpp}:
Improved flow-control in full-duplex mode by increasing the
window size, total_send - total_recv to achieve max performance
from TCP/IP
Improved static info which includes the number of bytes
sent/recv and the number of read/write operations. This allows
to see distribution of I/O operations between handlers. Would be
useful for TP_Reactor's future improvements.
Sun May 12 10:11:07 2002 Douglas C. Schmidt <schmidt@macarena.cs.wustl.edu>
* ace/Message_Queue_T.cpp: Updated all the enqueue*() and
dequeue*() methods so that they use the new
total_size_and_length() method, which is more efficient.
* ace/Message_Block.h (ACE_Message_Block): Added new
total_size_and_length() method to speed up calculation of these
values by putting them into one loop.
Sun May 12 11:12:00 2002 Nanbor Wang <nanbor@cs.wustl.edu>
* Makefile: Moved ACEXML directory up so it would be compile right
after ACE. We will need them when XML-based Service
Configurator becomes the default. Thank to Kitty for pointing
this out.
Sat May 11 13:04:49 2002 Douglas C. Schmidt <schmidt@macarena.cs.wustl.edu>
* ace/Synch.h: Updated the documentation explaining
what an ACE_Barrier does. Thanks to Timothy Culp
<timothy.culp@computer.org> for motivating this.
Sun May 12 09:45:37 2002 Edan Ayal <edanayal@yahoo.com>
* ace/WIN32_Asynch_IO.cpp: Fixed check for ACE_IOV_MAX
limitation in the following methods:
- ACE_WIN32_Asynch_Read_Dgram::recv
- ACE_WIN32_Asynch_Write_Dgram::send
- ACE_WIN32_Asynch_Read_Stream::readv
- ACE_WIN32_Asynch_Write_Stream::writev
- ACE_WIN32_Asynch_Read_File::readv
- ACE_WIN32_Asynch_Write_File::writev.
Fri May 10 18:29:48 2002 Krishnakumar B <kitty@cs.wustl.edu>
* ace/config-icc-common.h (ACE_HAS_ANSI_CASTS):
* include/makeinclude/platform_linux_icc.GNU:
Fixed the config file to ensure compilation with Intel C++
Compiler version 6.0.
Fri May 10 18:16:50 2002 Irfan Pyarali <irfan@cs.wustl.edu>
* ace/Connector.cpp (handle_output): Removed unnecessary debug
statement.
Thu May 9 20:02:10 2002 Douglas C. Schmidt <schmidt@tango.doc.wustl.edu>
* docs/ACE-bug-process.html: Fixed a typo in the hostname of
the TAO FAQ. Thanks to Jeff Adams <Jeff.Adams@gd-ais.com>
for reporting this.
Thu May 9 16:26:48 2002 Nanbor Wang <nanbor@cs.wustl.edu>
* ACEXML/examples/SAXPrint/main.cpp: Added missing include file.
* ace/Service_Config.cpp:
* ace/Service_Config.h:
* ace/Svc_Conf.y:
* ace/Svc_Conf_y.cpp: Consolidated ace_create_service_type into
ACE_Service_Config::create_service_type_impl.
Thu May 9 14:35:24 2002 Nanbor Wang <nanbor@cs.wustl.edu>
* ace/XML_Svc_Conf.h: Changed to include ACE_export.h instead of
config-all.h and added #pragma once macros.
Thu May 09 12:12:59 2002 Nanbor Wang <nanbor@cs.wustl.edu>
* ACEXML/apps/svcconf/Svcconf.h:
* ACEXML/apps/svcconf/Svcconf.cpp:
* ACEXML/apps/svcconf/Svcconf_Handler.h:
* ACEXML/apps/svcconf/Svcconf_Handler.cpp: Commented out the code
if XML-based Service Configurator is not used.
* ACEXML/apps/svcconf/Makefile:
* ACEXML/apps/svcconf/XML_Svc_Conf_Parser.dsp: Removed ACEXML from
the list of include path to be consistent with other projects.
Thu May 09 10:53:51 2002 Nanbor Wang <nanbor@cs.wustl.edu>
* ACEXML/common/XML_Common.dsp: One more mis-merged project file.
Thu May 09 10:39:17 2002 Nanbor Wang <nanbor@cs.wustl.edu>
* ace/ace_dll.dsp:
* ace/ace_lib.dsp: Fixed link error on win32. I forgot to merge
these project files differently (they can not be merged.)
Thu May 9 01:07:56 2002 Nanbor Wang <nanbor@cs.wustl.edu>
* ACEXML/common/StrCharStream.h:
* ACEXML/common/StrCharStream.cpp: Fixed Linux compilation
errors.
Thu May 09 00:38:22 2002 Irfan Pyarali <irfan@cs.wustl.edu>
* ace/WFMO_Reactor.cpp (event_handling): Added a fix for bug
1161. The problem was described aptly and the fix was applied
exactly as suggested by Lyn Headley <headley@wolve.com>:
Problem: "The do-while loop in this function is problematic,
because active threads is incremented once prior to executing
the loop, and then decremented on every iteration of the loop
inside safe dispatch(). Thus on the second iteration of the
loop active threads is decremented to 2^32, which causes the
thread to block on waiting to change state inside update
state(), which is never signaled (because there are no other
active threads)."
Solution: "Moving the do clause of the loop up a few statements
to include the increment of active threads (and the acquisition
of the lock) would probably fix the larger bug."
Also, thanks to Lyn Headley <headley@wolve.com> and Paxton Mason
<pmason@wolve.com> at Wolverine, and Kobi Cohen Arazi
<kobi@mivzak.com>, Mike Winter (mwinter@sonic.net),
<sturtesm@hotmail.com> who have all suggested fimilar problems
and fixes.
Thu May 09 00:06:47 2002 Irfan Pyarali <irfan@cs.wustl.edu>
* examples/Reactor/WFMO_Reactor: Added the "Static Debug", "Static
Release", and "Release" build configurations to the "Debug"
configuration for all the 16 dsp files in this directory.
Wed May 8 23:57:32 UTC 2002 Craig Rodrigues <crodrigu@bbn.com>
* bin/nightlybuilds/builds.lst: Move Redhat 7.1 Core build to new scoreboard.
Wed May 8 15:15:41 2002 Nanbor Wang <nanbor@cs.wustl.edu>
Merged in the XML-based Service Configurator framework. The
XML-based Service Configruator is *not* enabled by default and
the merge should not affect existing applications. We will make
the XML-based Service Configurator the defualt one at some point
in the future. So you might want to try it out before that
time. :) To switch current ACE to use XML Service Configurtor,
Add
#define ACE_HAS_XML_SVC_CONF
in your <config.h>. You can use the
$(ACE_ROOT)/bin/svcconf_convert.pl to convert your existing
svc.conf files to svc.conf.xml.
* ace/OS.h:
* ace/Parse_Node.cpp:
* ace/Parse_Node.h:
* ace/Service_Config.cpp:
* ace/Service_Config.h:
* ace/Svc_Conf.h:
* ace/Svc_Conf_Lexer_Guard.cpp:
* ace/Svc_Conf_l.cpp:
* ace/Svc_Conf_y.cpp:
* tests/Service_Config_DLL.cpp: Simplified the macro check.
* ace/Service_Config.h:
* ACEXML/apps/svcconf/Svcconf.cpp: Fixed Linux compilation warnings.
* ACEXML/apps/svcconf/Svcconf_Handler.cpp:
* ace/Service_Config.cpp: Added more comprehensive error messages.
* ACEXML/Makefile:
* ACEXML/Makefile.bor:
* ACEXML/apps/Makefile:
* ACEXML/apps/Makefile.bor:
* ACEXML/apps/svcconf/Makefile:
* ACEXML/apps/svcconf/Makefile.bor:
* ACEXML/parser/parser/Makefile:
* ace/Makefile:
* ace/Makefile.am:
* ace/Makefile.bor:
* ace/ace.icc:
* examples/ASX/CCM_App/Makefile:
* examples/ASX/CCM_App/Makefile.CCM_App: Added or Updated Makefiles.
* bin/svcconf-convert.pl: Added more debugging info printout.
Fixed incorrect mapping on initializer path/path and
state/params.
* ace/Service_Object.h: Added enum definition to differentiate
ACE_Service_Type_Impl. The enum values are taken from
"ace/Svc_Conf_Toekns.h" so that the same service can work with
both classic and XML service configurator frameworks.
* ace/Service_Config.h:
* ace/Service_Config.cpp: Added <create_service_type> and
<create_service_type_impl> methods to ensure objects are
allocated in consistent DLL.
* ACEXML/parser/parser/Parser.cpp: Made the exception messages
more comprehensive so it's easier to determine the origins of
parse errors.
* ACEXML/apps/svcconf/Svcconf_Handler.h:
* ACEXML/apps/svcconf/Svcconf_Handler.i:
* ACEXML/apps/svcconf/Svcconf_Handler.cpp: Added more implementation.
* examples/ASX/CCM_App/svc.conf.xml:
* netsvcs/servers/svc.conf.xml:
* tests/Service_Config_Test.conf.xml: Added new XML-based svc.conf files.
* tests/Service_Config_DLL.cpp: Added xml-based inline svc.conf directives.
* ACEXML/apps/XML_Apps.dsw: Added new workspace for XML
applications. This should contains all projects under this
subdirectory.
* ACEXML/apps/svcconf/README:
* ACEXML/apps/svcconf/Svcconf.cpp:
* ACEXML/apps/svcconf/Svcconf.h:
* ACEXML/apps/svcconf/Svcconf_Handler.cpp:
* ACEXML/apps/svcconf/Svcconf_Handler.h:
* ACEXML/apps/svcconf/Svcconf_Handler.i:
* ACEXML/apps/svcconf/XML_Svc_Conf_Parser.dsp: Added new files
that implement the parser for XML-based Service Configurator.
* bin/svcconf-convert.pl: Updated the help message.
* ace/config-all.h: Added ACE_DEFAULT_SVC_CONF_EXT to define the
default file extention name for svc.conf files. It is ".conf"
when using classic Service Configurator and ".conf.xml" when
using XML Service Configurator.
* tests/Service_Config_Test.cpp: Changed to use different file
extension with different Service Configurator.
* tests/Service_Config_Test.conf.xml: Added the converted XML
based svc.conf file.
* ace/ace_dll.dsp:
* ace/ace_lib.dsp:
* ace/XML_Svc_Conf.h:
* ace/XML_Svc_Conf.cpp: Added abstract interface definition for
DLL based XML parser.
* ace/OS.h: Defined ACE_DEFAULT_SVC_CONF_FILE to "svc.conf.xml" if
ACE_USES_CLASSIC_SVC_CONF is not defined.
* ace/Service_Config.cpp: Adapt Service_Config to use XML parser
to process an svc.conf.xml file.
* bin/generate_export_file.pl: Added code to record the flags used
to generate an export file.
* XML/examples/svcconf/Svcconf_Handler.h:
* XML/examples/svcconf/Svcconf_Handler.i:
* XML/examples/svcconf/Svcconf_Handler.cpp: Added Svcconf handling
simulation.
* XML/examples/test_docs/svcconf.dtd: Revised Svcconf DTD.
* XML/examples/test_docs/svcconf.dtd: Updated the DTD again.
The <streamdef> tag also needed an "id" attribute.
* XML/examples/SAXPrint/main.cpp:
* XML/examples/SAXPrint/svc.conf.xml: Modified the sample XML to
conform to the updated svcconf.dtd.
* XML/examples/svcconf/README:
* XML/examples/svcconf/Svcconf.dsp:
* XML/examples/svcconf/Svcconf.dsw:
* XML/examples/svcconf/Svcconf_Handler.cpp:
* XML/examples/svcconf/Svcconf_Handler.h:
* XML/examples/svcconf/Svcconf_Handler.i:
* XML/examples/svcconf/main.cpp: New example to test out
svc.conf.xml parsing. Not finished.
* XML/examples/test_docs/svcconf.dtd: Simplied the svc.conf.dtd by
removing the <params> tags and making it an attribute for
<initializer> and <static> tags.
* ace/Parse_Node.cpp:
* ace/Parse_Node.h:
* ace/Service_Config.cpp:
* ace/Service_Config.h:
* ace/Svc_Conf.h:
* ace/Svc_Conf.y:
* ace/Svc_Conf_Lexer_Guard.cpp:
* ace/Svc_Conf_l.cpp:
* ace/Svc_Conf_y.cpp: Decoupled old Service_Config parser from ACE.
* XML/examples/SAXPrint/main.cpp: Added a new test to try the new
StrCharStream and switch to use ACE_Get_Opt to support more
robust command line arguments.
* XML/common/StrCharStream.h:
* XML/common/StrCharStream.cpp: Added new CharStream class that
take a null-terminated ACEXML_Char string as an input source.
* XML/common/FileCharStream.h: Removed unnecessary inclusion of
"ace/streams.h".
* XML/common/Makefile:
* XML/common/Makefile.bor:
* XML/common/XML_Common.dsp: Added StrCharStream.*.
Wed May 8 16:29:05 2002 Krishnakumar B <kitty@cs.wustl.edu>
* bin/nightlybuilds/builds.lst (STATUS):
Added more information about the build on toutatis.
Wed May 8 13:57:58 2002 Chad Elliott <elliott_c@ociweb.com>
* ace/OS_Dirent.h:
* ace/OS_Dirent.cpp:
Fixed the Dirent_Test under wide character builds with Visual C++
6.0. The d_name member of the dirent struct is normally a one
element ACE_TCHAR array that is used as an ACE_TCHAR pointer.
This doesn't work properly under wide character builds with VC6.
Note: because of this change, memcpy on a 'struct dirent' no
longer works on Windows as it would on UNIX.
Wed May 8 11:02:44 2002 Balachandran Natarajan <bala@cs.wustl.edu>
* tests/TP_Reactor_Test.cpp: Turned off full traces, only the
error messages will goto the log.
Wed May 8 10:58:15 2002 Alex Libman <AlexL@rumblegroup.com>
* tests/Proactor_Test.cpp: Fixed the test to work right on
Linux. Turned off full traces, only the error messages and
statistics will go to the log.
Wed May 8 06:14:08 2002 Douglas C. Schmidt <schmidt@macarena.cs.wustl.edu>
* ace/Proactor.h (ACE_Proactor): Fixed a comment that said
"ACE_Reactor" rather than "ACE_Proactor" (cut+paste error ;-)).
Thanks to Don Hinton for reporting this.
* ace/Filecache.cpp (R_MASK): Allow file sharing by default.
Thanks to Peter Kullmann" <P.Kullmann@rog.de> for reporting
this.
Tue May 07 21:03:01 2002 Ossama Othman <ossama@uci.edu>
* ace/Dev_Poll_Reactor.cpp:
Removed vestigial debugging code.
Tue May 07 17:42:16 2002 Irfan Pyarali <irfan@cs.wustl.edu>
* ace/OS.i: Added missing "\".
Tue May 7 16:45:13 2002 Krishnakumar B <kitty@cs.wustl.edu>
* ace/ACE.cpp (handle_timed_complete):
Check for the return value from ACE_OS::getsockopt(). Return
ACE_INVALID_HANDLE if return value is -1. Thanks to Jonathan
Wackley <jwackley@legato.com> for reporting this.
* ace/OS.i (ACE_LACKS_SETREUID_PROTOTYPE):
Check if we are compiling with gcc in addition to checking for
_XOPEN_SOURCE. GCC unconditionally turns on _XOPEN_SOURCE, but
it is not defined in Solaris 2.5.1. So this hack to expose the
missing prototypes of setreuid() and setregid(). Thanks to
Jonathan Wackley <jwackley@legato.com> for reporting this.
* include/makeinclude/platform_sunos5_sunc++.GNU:
Cosmetic fixes.
Tue May 07 15:44:41 2002 Balachandran Natarajan <bala@cs.wustl.edu>
* bin/auto_run_tests.lst: Reverted the change "Tue May 07 15:15:30
2002 Balachandran Natarajan <bala@cs.wustl.edu>". Got an idea
waht was going wrong with the test and fixed that.
Tue May 07 15:15:30 2002 Balachandran Natarajan <bala@cs.wustl.edu>
* bin/auto_run_tests.lst: Removed No_Server_MT_Connect_Test from
the daily builds. The testing methodology needs to be
rethought. Thanks to Ru for ppointing out that the test is
failing on a few paltforms.
Tue May 7 12:59:24 2002 Balachandran Natarajan <bala@cs.wustl.edu>
* tests/Proactor_Test.cpp (handle_write_stream): Tried to fix
warnings and errors in Borland builds. Thanks to Ru for pointing
it out.
Tue May 7 10:31:24 2002 Alex Libman <AlexL@rumblegroup.com>
* tests/TP_Reactor_Test.cpp:
* tests/TP_Reactor_Test.h: Fixed the tests to work fine on all
platforms.
* tests/run_test.lst (TP_Reactor_Test): Enabled the test for the
daily runs.
Mon May 06 16:31:14 2002 Irfan Pyarali <irfan@cs.wustl.edu>
* examples/Reactor/WFMO_Reactor/Abandoned.cpp (handle_timeout):
* examples/Reactor/WFMO_Reactor/APC.cpp (handle_signal):
Make sure to remove handlers from the reactor if they are not
going to be around when the reactor closes down.
* examples/Reactor/WFMO_Reactor/Handle_Close.cpp: Reactor creation
was buggy and the wrong reactor's event loop was being run.
* examples/Reactor/WFMO_Reactor/Talker.cpp: STDIN handler was not
getting cleaned up properly. Also, Proactor was not getting
removed properly from the Reactor.
* examples/Reactor/WFMO_Reactor/Network_Events.cpp: Network
listener was not getting cleaned up properly.
* examples/Reactor/WFMO_Reactor/Multithreading.cpp (Task_Handler):
Fixed an "out of bounds" error where a "for" loop that was going
from 1 to n rather than from 0 to n-1. Also, added a debug
statement.
* examples/Reactor/WFMO_Reactor/run_test.pl: Redirected some of
the output from STDERR to STDOUT.
Mon May 06 15:45:35 2002 Nanbor Wang <nanbor@cs.wustl.edu>
* ACEXML/parser/debug_validator/Debug_Validator.dsp: Fixed
rum-time library options to avoid compilation errors when MFC is
enabled.
Mon May 6 14:26:52 2002 Balachandran Natarajan <bala@cs.wustl.edu>
* tests/Proactor_Test.cpp: Fixed unused variable warnings in
non-win32 builds.
Mon May 6 13:37:45 2002 Balachandran Natarajan <bala@cs.wustl.edu>
* bin/generate_performance_chart.sh: Changed the range of the y
range for the plots.
Mon May 6 07:39:22 2002 Douglas C. Schmidt <schmidt@macarena.cs.wustl.edu>
* ace/Message_Queue_T.cpp (notify): Moved int queue_count definition
to outside the scope. Thanks to Chad Elliot for reporting this.
Sun May 5 19:14:34 2002 Douglas C. Schmidt <schmidt@macarena.cs.wustl.edu>
* ace/Message_Queue_T.cpp: Modified all the enqueue*() methods so that
their calls to notify() occur *outside* of the monitor lock.
This change prevents deadlock from occurring when a reactor's
notification pipe is full. Thanks to Sasha Agranov
<sagranov@COMGATES.co.il> for reporting this.
Mon May 6 10:24:12 2002 Johnny Willemsen <jwillemsen@remedy.nl>
* apps/gperf/src/Makefile:
Removed INSBIN because this didn't work before my change of
Fri May 03 2002, but now it works and it causes error in all
builds.
Sun May 5 22:23:00 2002 Edan Ayal <edanayal@yahoo.com>
* tests/Proactor_Test.cpp (Sender):
- Totally removed the message content mem-copies by having the
message blocks assume ownership without copying, by
pre-allocating space for the ending '\0' (needed for the
printouts), and by using an additional complete message content
string for the non-scatter/gather case.
- Added missing message blocks releases when the write
operations fail.
- Added a missing message block rd_ptr adjustment at the message
content printout in the non-scatter/gather case.
Fri May 03 20:29:12 UTC 2002 Johnny Willemsen <jwillemsen@remedy.nl>
* include/makeinclude/wrapper_macros.GNU:
Only set INSBIN, INSLIB, INSMAN and INSINC when they are not set
yet. This way these can be overruled in a makefile.
Fri May 03 08:38:27 2002 Ossama Othman <ossama@uci.edu>
* ace/SSL/SSL_Context.cpp (ssl_library_init):
Removed extraneous "SSL_library_init()" call.
SSLeay_add_ssl_algorithms(), which is an alias for
SSL_library_init(), is already called.
Thu May 02 16:33:05 2002 Nanbor Wang <nanbor@cs.wustl.edu>
* ace/OS.i (mmap): On Win32, check for both ERROR_INVALID_NAME and
ERROR_FILE_NOT_FOUND to account for difference when running it
on WINNT but with ACE_HAS_WINNT4 = 0. Thanks to Ram Ben-Yakir
<ram@BANDWIZ.COM> for figuring this out.
Fri May 3 07:21:20 2002 Ossama Othman <ossama@uci.edu>
* tests/Dev_Poll_Reactor_Test.cpp:
Uncommented ACE_START/END_TEST macros and removed extraneous
debugging statements.
Fri May 3 08:00:55 2002 Chad Elliott <elliott_c@ociweb.com>
* docs/tutorials/012/work.h:
Include ace/Log_Msg.h to get the definition of ACE_DEBUG and
related macros.
Fri May 3 07:07:31 2002 Chad Elliott <elliott_c@ociweb.com>
* tests/Proactor_Test.cpp:
Put ACE_TEXT around bare char strings.
Fri May 3 06:57:13 2002 Chad Elliott <elliott_c@ociweb.com>
* tests/Proactor_Test.cpp:
Add a conditional to avoid building this test if threads are not
enabled.
Fri May 3 06:47:23 2002 Chad Elliott <elliott_c@ociweb.com>
* tests/Dev_Poll_Reactor_Test.cpp:
Add a conditional main for when ACE_HAS_DEV_POLL and
ACE_HAS_EVENT_POLL are not defined.
Fri May 3 06:41:10 2002 Chad Elliott <elliott_c@ociweb.com>
* ace/Token.h:
Remove parameter name to avoid a warning from g++.
Thu May 02 15:54:48 2002 Ossama Othman <ossama@uci.edu>
* ace/Select_Reactor_T.cpp (work_pending):
Check if any timers are pending. If so, override any timeout
from the select() call. Corrects a problem where the decision
that no work was pending despite the fact that timers were
pending.
Thu May 02 15:53:39 2002 Ossama Othman <ossama@uci.edu>
* tests/Dev_Poll_Reactor_Test.cpp:
Added some comments that briefly describe the test.
Thu May 2 15:45:34 2002 Ossama Othman <ossama@uci.edu>
* tests/Dev_Poll_Reactor_Test.cpp:
New one-button test for the Dev_Poll_Reactor. Currently it is
fairly simple. Improvements to be added soon.
Thu May 2 15:22:36 2002 Ossama Othman <ossama@uci.edu>
* ace/Dev_Poll_Reactor.h (work_pending_i):
* ace/Dev_Poll_Reactor.cpp (work_pending_i):
Accept a pointer to ACE_Time_Value instead of a reference.
Corrected the logic for the test for pending timers.
Thu May 02 14:38:53 2002 Ossama Othman <ossama@uci.edu>
* examples/Reactor/Misc/pingpong.cpp:
Include "ACE.h" to pull in methods in the ACE class/namespace.
Thu May 2 14:02:20 2002 Ossama Othman <ossama@uci.edu>
* ace/Dev_Poll_Reactor.cpp (work_pending_i):
Take into account pending timers when deciding if there is work
to be done.
Thu May 02 13:34:08 2002 Ossama Othman <ossama@uci.edu>
* ace/Dev_Poll_Reactor.cpp:
Include "ACE.h" to pull in methods in the ACE class/namespace.
Thu May 2 13:28:01 2002 Ossama Othman <ossama@uci.edu>
* ace/Dev_Poll_Reactor.h:
Updated some documentation.
* ace/Dev_Poll_Reactor.inl (upcall):
New method containing common upcall operations for all types of
IO events.
* ace/Dev_Poll_Reactor.cpp:
Commented out "ready set" code since the upcall will simply loop
until the event handler no longer desires callbacks. This is
okay since multiple threads may dispatch event handlers (similar
to what the TP_Reactor does).
(close):
Cleaned up memory and resource leaks.
(handle_events_i, work_pending_i):
Moved "event polling" code to the new work_pending_i() method.
handle_events_i() now calls that method to determine if any
events must be dispatched.
If the underlying ioctl() call was interrupted (e.g. via the
INTR signal), i.e. returns -1 with errno set to EINTR, then
automatically restart the event loop if so desired by the user.
(work_pending):
Implemented this method. It simply grabs the reactor lock and
calls the new work_pending_i() method.
(dispatch_io_events):
Call the remove_handler() method that acquires the lock instead
of the one doesn't. The lock must be reacquired since reactor
state will potentially change during an upcall and since the
lock was released prior to dispatching the upcall. Fixes a race
condition.
Directly use pollfd pointers as the loop variables instead of an
integer. No need for the additional indirection.
Since the underlying event demultiplexing mechansim (`/dev/poll'
or '/dev/epoll') is stateful, and since only one result buffer
is used, all pending events (i.e. those retrieved from a
previous poll) must be dispatched before any additional event
can be polled. As such, the Dev_Poll_Reactor keeps track of the
progress of events that have been dispatched.
The semantics of the event loop in the presence of multiple
threads is non-trivial. The "start point" of the loop will be
incremented each time an event handler is dispatched, which may
be done across multiple threads. Multiple threads may change
the loop variables. Care must be taken to only change those
variables with the reactor lock held.
(dispatch_timer_handlers):
Release the reactor lock during the upcall. Fixes a potential
deadlock.
Thu May 2 10:35:25 2002 Phil Mesnier <mesnier_p@ociweb.com>
* ace/Log_Msg.cpp: ACE_Log_Msg::open() did not properly initialize a
custom backend due to improper evaluation of result code.
Thu May 02 07:15:31 2002 Ossama Othman <ossama@uci.edu>
* ace/IO_Cntl_Msg.h:
Include OS.h to pull in size_t typedef.
Thu May 2 07:50:29 2002 Chad Elliott <elliott_c@ociweb.com>
* examples/Web_Crawler/URL_Addr.h:
Include ace/ACE.h to avoid compilation error due to missing
method (ACE::hash_pjw) in inline method ACE_URL_Addr::hash().
Thu May 2 07:46:59 2002 Chad Elliott <elliott_c@ociweb.com>
* websvcs/lib/URL_Addr.h:
Include ace/ACE.h to avoid compilation error due to missing
method (ACE::hash_pjw) in inline method ACE_URL_Addr::hash().
Thu May 2 07:34:59 2002 Chad Elliott <elliott_c@ociweb.com>
* ace/QoS/SOCK_Dgram_Mcast_QoS.cpp:
Switch ACE::get_ip_interfaces() to
ACE_Sock_Connect::get_ip_interfaces() and include
ace/Sock_Connect.h. This only applies to Win32.
Thu May 2 00:39:32 2002 Irfan Pyarali <irfan@cs.wustl.edu>
* ace/Dynamic.i: Uncommented ACE_TRACE calls.
Thu May 2 00:29:34 2002 Irfan Pyarali <irfan@cs.wustl.edu>
* ace/TLI_Stream: Uninlined a methods that needed access to the
ACE class.
* ace/Service_Object: Uninlined ACE_Service_Type::name().
* ace/Malloc_T.cpp:
* ace/Process_Mutex.cpp:
* ace/SOCK_Dgram_Bcast.cpp:
* ace/TLI_Acceptor.cpp:
* ace/TLI_Connector.cpp:
* ace/TLI_Stream.cpp:
Added #include "ace/ACE.h".
Wed May 1 21:07:23 2002 Ossama Othman <ossama@uci.edu>
* ace/config-win32-msvc-6.h:
Moved library "decorator" related macros to
config-win32-msvc.h.
* ace/config-win32-msvc.h:
Support "decorated" library names for MSVC 6 or better. Fixes
run-time library search problems in MS Visual Studio .NET
builds.
* ace/ATM_Addr.h:
* ace/ATM_Params.h:
* ace/MEM_Addr.h:
* ace/Module.h:
* ace/Name_Space.h:
* ace/Naming_Context.h:
* ace/Remote_Name_Space.h:
Include "ACE_export.h" instead of "ACE.h." The latter is
overkill.
* ace/PI_Malloc.h:
Include "ACE_export.h" instead of "ACE.h." The latter is
overkill.
No need to include "ace/Malloc_T.h" and "ace/Memory_Pool.h"
* ace/Date_Time.h:
* ace/Event_Handler.h:
* ace/High_Res_Timer.h:
* ace/Malloc.h:
* ace/Malloc_Allocator.h:
* ace/Malloc_T.h:
* ace/Mem_Map.h:
* ace/Pipe.h:
* ace/Profile_Timer.h:
* ace/Read_Buffer.h:
* ace/Shared_Memory.h:
* ace/Shared_Object.h:
* ace/SOCK.h:
* ace/SPIPE_Addr.h:
* ace/Stats.h:
* ace/SV_Message.h:
* ace/SV_Semaphore_Simple.h:
* ace/SV_Shared_Memory.h:
* ace/Synch.h:
* ace/Synch_Options.h:
* ace/Thread.h:
* ace/Typed_SV_Message.h:
Include "OS.h" and "ACE_export.h" instead of "ACE.h." The
latter is overkill.
* ace/Configuration.h:
* ace/DEV_Addr.h:
* ace/FIFO.h:
* ace/Get_Opt.h:
* ace/Vector_T.h:
No need to include "ACE.h."
* ace/Dynamic.h:
No need to include "ACE.h", "Synch_T.h" and "Singleton.h."
"ACE_export.h" is enough.
* ace/INET_Addr.h:
Include "Sock_Connect.h" instead of "ACE.h". The latter is
overkill.
* ace/Message_Block.h:
Include "ace/OS.h" and "ace/ACE_export.h" instead "ace/ACE.h".
The latter is overkill.
No need to include "Malloc.h"
* ace/IO_Cntl_Msg.h:
* ace/Sock_Connect.h:
Include "ACE_export.h" to pull in ACE_Export macro definition.
* ace/Activation_Queue.cpp:
* ace/Message_Block.cpp:
Include "ace/Malloc_Base.h" to pull in ACE_Allocator class
declaration.
* ace/DEV_IO.h:
* ace/FIFO_Recv.h:
* ace/FIFO_Send.h:
* ace/NT_Service.h:
* ace/SOCK_Dgram.cpp:
* ace/SOCK_Dgram_Mcast.cpp:
* ace/SOCK_IO.h:
* ace/SPIPE_Stream.h:
* ace/SV_Semaphore_Simple.cpp:
* ace/Service_Types.h:
* tests/test_config.h:
Include "ace/ACE.h" pull in methods in the "ACE"
class/namespace.
* ace/Stream.h:
* ace/SV_Message_Queue.h:
Include "config-all.h" instead of "ACE.h." The latter is
overkill.
* ace/OS_Memory.h:
* ace/config-all.h:
Moved default definition of the
ACE_HAS_POSITION_INDEPENDENT_POINTERS macro to
"ace/config-all.h". Allows for additional reductions in
inter-header dependencies.
* ace/PI_Malloc.cpp:
Moved non-essential includes within the
"ACE_HAS_POSITION_INDEPENDENT_POINTERS == 1" block. No need to
include them if the implementation won't be compiled.
* ace/Select_Reactor_T.cpp:
Include "ace/ACE.h" pull in methods in the "ACE"
class/namespace.
(handle_events):
Moved ACE_Countdown_Time declaration within the ACE_MT_SAFE
block. It is only used for the multi-threaded case.
(work_pending):
As part of the timeout take into account the time taken to
acquire the lock.
Copy the timeout value. Do not ignore the interface by casting
away the const-ness.
Do not bother continuing if the reactor has been deactivated.
Wed May 1 15:49:33 2002 Steve Huston <shuston@riverace.com>
* tests/DLL_Test_Impl.{h cpp}: Add a nothrow variant of operator new
for platforms with ACE_HAS_NEW_NOTHROW (like HP-UX, aC++).
Tue Apr 30 14:54:02 2002 Balachandran Natarajan <bala@cs.wustl.edu>
* bin/auto_run_tests.lst: Added $TAO_ROOT/tests/Connection_Timeout
to the daily build list.
Tue Apr 30 14:42:06 2002 Chad Elliott <elliott_c@ociweb.com>
* ace/Synch.h:
* ace/Synch.i:
Change the Null wait condition wait() method to take a const
ACE_Time_Value* like the Mutex wait condtion.
Mon Apr 29 20:28:49 UTC 2002 Craig Rodrigues <crodrigu@bbn.com>
* bin/nightlybuild/builds.lst: Move SunOS_SunCC51, SunOS_GCC_2_95,
Solaris8_FORTE_UP_1 to new scoreboard.
Sun Apr 28 18:03:50 2002 Balachandran Natarajan <bala@cs.wustl.edu>
* bin/auto_run_tests.lst: Added the new tests to our daily list of
tests that needs to be run.
Sun Apr 28 11:50:17 2002 Edan Ayal <edanayal@yahoo.com>
* ace/WIN32_Asynch_IO.cpp:
ACE_WIN32_Asynch_Read/Write_Stream/File_Result::complete -
corrected the updates to the chained message blocks (rd_ptr and
wr_ptr) in case of scatter-gather IO. This was apparently a
cut-n-paste bug.
Sun Apr 28 08:19:37 2002 Balachandran Natarajan <bala@cs.wustl.edu>
* tests/Proactor_Test.cpp: Added code to test async scatter-gather
IO on Win32. Thanks Edan Ayal <edanayal@yahoo.com> for donating
this.
Sun Apr 28 12:27:12 2002 Johnny Willemsen <jwillemsen@remedy.nl>
* include/makeinclude/ace_flags.bor:
Added cflags and lib for new TAO IFRService library
Sat Apr 27 20:00:27 2002 Nanbor Wang <nanbor@cs.wustl.edu>
* ace/ace_dll.dsp:
* ace/ace_lib.dsp: Exclude template files Atomic_Op.cpp and
Framework_Component_T.cpp from compilation.
Sat Apr 27 18:10:37 2002 Balachandran Natarajan <bala@guajira.cs.wustl.edu>
* ace/Message_Queue_T.cpp (flush): Fixed fuzz error.
Sat Apr 27 17:13:16 2002 Balachandran Natarajan <bala@cs.wustl.edu>
* ace/Svc_Handler.cpp: Added a closing '}' for the method
ACE_Buffered_Svc_Handler::dump () const. This should fix the
compile errors with g++ that will start showing up shortly in
the Scoreboard.
* ace/*makefile: Updated dependencies.
Sat Apr 27 11:16:03 2002 Douglas C. Schmidt <schmidt@macarena.cs.wustl.edu>
Thanks to Boris Temkin <borist@allcharge.com> for motivating the
following fixes:
* ace/Svc_Handler.cpp: Updated the flush_i() method to call the
message queue's flush_i() method to avoid deadlocks on platforms
that lack recursive mutexes.
* ace/Message_Queue_T.{h,cpp}: Added the flush() and flush_i()
methods to the ACE_Message_Queue in order to remove messages
without deactivating the queue. Also refactored the close()
method to use flush_i().
Sat Apr 27 09:26:43 2002 Edan Ayal <edanayal@yahoo.com>
Added support (currently under win32 only) for asynchronous
scattered read and asynchronous gathered write with socket streams
and with files.
* ace/Asynch_IO.{h cpp}: Added methods 'readv' to
ACE_Asynch_Read_Stream/File, and 'writev' to
ACE_Asynch_Write_Stream/File, for win32 only. The methods just
delegate to the implementation.
* ace/Asynch_IO_Impl.h: Added pure virtual methods
'readv' to ACE_Asynch_Read_Stream/File_Impl, and 'writev' to
ACE_Asynch_Write_Stream/File_Impl, for win32 only.
* ace/WIN32_Asynch_IO.{h cpp}: Implemented the 'readv'
for ACE_WIN32_Asynch_Read_Stream/File and 'writev' for
ACE_WIN32_Asynch_Write_Stream/File. Modified the 'complete'
method and the ctor of ACE_WIN32_Asynch_Read_Stream/File_Result
and ACE_WIN32_Asynch_Write_Stream/File_Result.
Sat Apr 27 16:07:12 UTC 2002 Johnny Willemsen <jwillemsen@remedy.nl>
* examples/Reactor/Proactor/test_udp_proactor.cpp:
Fixed BCB warning about hides virtual function by renaming open
to open_addr
* ace/Asynch_IO.h:
Minor comment update
Sat Apr 27 08:59:56 2002 Douglas C. Schmidt <schmidt@macarena.cs.wustl.edu>
* ace/Process.i: If getpid() is ACE_INVALID_HANDLE, don't call
ACE::terminate_process() or ACE_OS::kill() since
ACE_INVALID_HANDLE is -1 on UNIX, which causes all sorts of
problems due to the fact that -1 terminates the whole session
group! Thanks to Olivier Brunet <o.brunet@free.fr> for
reporting this.
Sat Apr 27 15:28:12 UTC 2002 Johnny Willemsen <jwillemsen@remedy.nl>
* examples/Reactor/Proactor/test_proactor.cpp:
* examples/Reactor/WFMO_Reactor/Talker.cpp:
Fixed MSVC6 compile errors
Fri Apr 26 17:00:23 2002 Dante J. Cannarozzi <djc2@cs.wustl.edu>
* ace/Containers_T.h
* ace/Unbounded_Set.h
* ace/Hash_Map_Manager.h
* ace/RB_Tree.h
* ace/Vector_T.h
* ace/Unbounded_Queue.h
: with the help of Matt Hampton <mph2@cs.wustl.edu> updated
doxygen to contain a consistent html list that summarizes the
each container (like internal structure, duplicates allowed, etc.)
at the request of Steve Huston.
Fri Apr 26 16:36:52 2002 Steve Huston <shuston@riverace.com>
* netsvcs/lib/Server_Logging_Handler_T.cpp: Added #include
"ace/Log_Record.h" to pick up ACE_Log_Record declaration.
Fixes compile error on HP-UX.
Fri Apr 26 15:10:21 2002 Steve Huston <shuston@riverace.com>
* ace/ACE.cpp:
* ace/Sock_Connect.cpp: Moved ACE_Auto_Array_Ptr<> and
ACE_Auto_Basic_Array_Ptr<> instantiations from ACE.cpp to
Sock_Connect where they are now used. Also added MACOSX to the
platforms that get them instantiated.
Added include of OS.h in Sock_Connect.cpp to pick up the ifreq
stuff portably.
* ace.icc: Added Time_Value, Copy_Disabled, Argv_Type_Converter,
Dev_Poll_Reactor, POSIX_CB_Proactor, WIN32_Proactor,
WIN32_Asynch_IO, Obstack, Vector_T.
Added the new group TIMER_FILES (and TIMER_INCLUDES) to parallel
the TIMER_FILES in ace/Makefile.
Fri Apr 26 14:05:49 2002 Chad Elliott <elliott_c@ociweb.com>
* ace/OS.i:
Modify the ACE_OS::fflush() method to not call the system
implementation on VxWorks if the FILE* is 0. This causes
problems for the OS. Thanks to Michael Kirher
<Michael.Kircher@mchp.siemens.de> for reporting and providing
a fix for this.
* ace/Svc_Conf.l:
* ace/Svc_Conf_l.cpp:
Use ACE_OS::fflush() instead of fflush().
Fri Apr 26 13:22:18 2002 Douglas C. Schmidt <schmidt@tango.doc.wustl.edu>
* ace/Svc_Handler.{h,cpp}: Applied the Thread-safe Interface pattern
by factoring out the flush logic into a flush_i() method (that
doesn't hold a lock) and call this method from the put() and
flush() methods (that do hold locks). Thanks to Boris Temkin
<borist@allcharge.com> for reporting this problem.
Fri Apr 26 14:45:28 2002 Steve Huston <shuston@riverace.com>
* tests/Proactor_Test.cpp: Replace CALLBACK with CB. Apparantly,
CALLBACK is a macro with MSVC.
Fri Apr 26 14:39:37 2002 Steve Huston <shuston@riverace.com>
* tests/Proactor_Test.cpp: Use default proactor type for platform
if no specific proactor type for platform is chosen.
Fri Apr 26 11:39:22 2002 Steve Huston <shuston@riverace.com>
* examples/C++NPv2/examples.dsw:
* examples/C++NPv2/display_logfile.dsp:
* examples/C++NPv2/Reactor_Logging_Server.dsp:
* examples/C++NPv2/Select_Reactor_Logging_Server.dsp:
* examples/C++NPv2/TP_Reactor_Logging_Server.dsp:
* examples/C++NPv2/WFMO_Reactor_Logging_Server.dsp:
New project/workspace for the examples here so far.
* examples/C++NPv2/WFMO_Reactor_Logging_Server.cpp: Make dtor
public - this object is created on the stack.
Added constructor that accepts a ACE_Reactor * and passes it up
the inheritance chain.
* examples/C++NPv2/Select_Reactor_Logging_Server.cpp:
* examples/C++NPv2/TP_Reactor_Logging_Server.cpp: Add preprocessor
check to be sure that the correct C++ library is enabled on Windows.
Qualify "getline" call with "std::".
Fri Apr 26 07:42:12 2002 Johnny Willemsen <jwillemsen@remedy.nl>
* tests/IOStream_Test.cpp:
Corrected the debug output string of server received so that
the formatting is the same as client received. Thanks to
Soeren Gerlach for reporting this.
* examples/Reactor/WFMO_Reactor/Talker.cpp:
* examples/Reactor/Proactor/test_proactor.cpp:
* examples/Reactor/Proactor/test_proactor2.cpp:
Fixed BCB compile warnings
Thu Apr 25 17:34:31 2002 Steve Huston <shuston@riverace.com>
* bin/auto_compile: When doing 'realclean', do them in reverse
order of the builds, else ace/ACE_COMPONENTS.list gets wiped
out first, preventing things that examine the components list
(like netsvcs) from getting cleaned.
Thu Apr 25 16:20:33 2002 Steve Huston <shuston@riverace.com>
* examples/C++NPv2/TP_Reactor_Logging_Server.{cpp mak}:
* examples/C++NPv2/WFMO_Reactor_Logging_Server.cpp:
New source and makefiles for C++NPv2 chapter 4 examples.
* examples/C++NPv2/Makefile: Added TP_Reactor_Logging_Server.
Thu Apr 25 15:46:39 2002 Steve Huston <shuston@riverace.com>
POSIX asynch I/O improvements/corrections submitted by Alex
Libman <alibman@ihug.com.au>:
* ace/POSIX_CB_Proactor.{h i cpp}: New POSIX Proactor implementation
that makes use of the AIO facility's callback feature. This has
only been tested on SGI Irix.
* ace/Makefile: Added POSIX_CB_Proactor.
* ace/POSIX_Proactor.{h cpp}: Refactored some code and added better
cancellation/cleanup handling. Added hooks for the new
ACE_POSIX_CB_Proactor class and refactored methods
close(), get_result_status(), create_result_aiocb_list(), and
delete_result_aiocb_list().
* ace/SUN_Proactor.{h cpp}: Add the new get_result_status() method
and refactored the old results code into the new method. Also,
make good use of the new aiocb create/delete methods. Improvements
to operation status detection based on input from Sun.
* tests/Proactor_Test.cpp: Add support for new ACE_POSIX_CB_Proactor.
Added a log lock to be sure all messages from one transaction are
logged together. Also, sets up full duplex I/O for Windows and
Solaris; half duplex for all others due to general weakness in
AIO subsystems. If further testing reveals that more can be set
to full duplex, this can be expanded.
Thu Apr 25 14:02:38 2002 Steve Huston <shuston@riverace.com>
* tests/MT_Reactor_Upcall_Test.cpp: Fixed compile errors by using
sizeof (type) instead of sizeof type.
Thu Apr 25 06:51:58 2002 Douglas C. Schmidt <schmidt@macarena.cs.wustl.edu>
* ace/OS.h (ACE_FACTORY_DEFINE): Replaced an ACE_reinterpret_cast()
with an ACE_static_cast() since the latter works correctly with
multiple inheritance. Thanks to Chris Uzdavinis
<chris@atdesk.com> for reporting this.
* ace/CDR_Base.h (ACE_CDR): Improved the documentation of the
consolidate() method. Thanks to Alain Decamps for helping with this.
Thu Apr 25 03:34:43 2002 Irfan Pyarali <irfan@cs.wustl.edu>
* tests/MT_Reactor_Upcall_Test.cpp: Changed the test such that the
end of the test is indicated by a shutdown message rather than
an explicit message count.
Wed Apr 24 23:39:00 2002 Irfan Pyarali <irfan@cs.wustl.edu>
* examples/Reactor/WFMO_Reactor: Updated file names to match
executable names.
Thu Apr 25 07:34:12 UTC 2002 Johnny Willemsen <jwillemsen@remedy.nl>
* ace/Log_Msg.h:
Doxygen-ized some of the comments
Wed Apr 24 18:53:56 2002 Balachandran Natarajan <bala@cs.wustl.edu>
* include/makeinclude/rules.local.GNU (clean.local): Reverted the
change "Wed Apr 24 16:08:30 2002 Balachandran Natarajan
<bala@cs.wustl.edu>" since it is bogus.
Wed Apr 24 16:08:30 2002 Balachandran Natarajan <bala@cs.wustl.edu>
* include/makeinclude/rules.local.GNU: Added a rule to clean up
Sunws_cache properly. Should help SunCC5_1 builds.
Wed Apr 24 11:07:15 2002 Douglas C. Schmidt <schmidt@macarena.cs.wustl.edu>
* ace/RMCast/Makefile (FILES): Removed a stray "\". Thanks to
Amir Kunst <amir@fats.co.il> for reporting this. Also reordered
the files so they would be in alphabetical order.
Wed Apr 24 11:17:31 2002 Steve Huston <shuston@riverace.com>
* PROBLEM-REPORT-FORM: Always ask for config.h and
platform_macros.GNU; not just on compilation issues.
Wed Apr 24 07:56:12 UTC 2002 Johnny Willemsen <jwillemsen@remedy.nl>
* ace/Future_Set.h:
Converted a comment to javadoc style because it is very long for
the brief documentation.
* ace/DEV_IO.h:
* ace/TTY_IO.h:
Removed not needed includes
Wed Apr 24 03:14:11 UTC 2002 Craig Rodrigues <crodrigu@bbn.com>
* tests/MT_Reactor_Upcall_Test.cpp: Fix warnings on threads=0
build.
Tue Apr 23 18:45:31 2002 Steve Huston <shuston@riverace.com>
* examples/C++NPv2/Logging_Event_Handler.h (get_handle): Cast
away const-ness of logging_handler_ member to call it's
peer() method, but use that in a const method call. Keeps
the interface contract intact. This example now works.
* examples/C++NPv2/display_logfile.mak: Makefile for the
display_logfile example (chapter 9).
* examples/C++NPv2/Select_Reactor_Logging_Server.{cpp mak}: New
example for the ACE_Select_Reactor section in chapter 4.
* examples/C++NPv2/Makefile: Added Select_Reactor_Logging_Server.
Tue Apr 23 16:01:47 2002 Balachandran Natarajan <bala@cs.wustl.edu>
* bin/auto_run_tests.lst: Prevented the Miop/McastHello test from
running in SUNCC51 builds. SUNCC51 is too broken. Time to remove
the build of the scoreboard.
Tue Apr 23 11:31:43 2002 Ossama Othman <ossama@uci.edu>
* ace/Dev_Poll_Reactor.inl (ACE_Dev_Poll_Handler_Guard):
(~ACE_Dev_Poll_Handler_Guard):
Added "todo" comments about suspending and resuming the event
handler before and after the upcall, respectively.
Tue Apr 23 11:38:40 2002 Steve Huston <shuston@riverace.com>
* examples/C++NPv2/Makefile: Rearranged to build all the examples.
Tue Apr 23 13:32:12 UTC 2002 Johnny Willemsen <jwillemsen@remedy.nl>
* examples/Reactor/Makefile.bor:
Added Proactor directory
* examples/Reactor/Proactor/Makefile.bor:
Added this BCB makefile
* examples/Reactor/Proactor/*.cpp
Made all files compiling when doing a wchar build.
Tue Apr 23 10:03:12 UTC 2002 Johnny Willemsen <jwillemsen@remedy.nl>
* examples/Reactor/Makefile.bor:
Added WFMO_Reactor directory
* examples/Reactor/WFMO_Reactor/Makefile.bor:
Added this BCB makefile
* examples/Reactor/WFMO_Reactor/*.cpp
Fixed several unused argument warnings that appeared with bcb.
Made all files compiling when doing a wchar build.
Tue Apr 23 07:35:12 UTC 2002 Johnny Willemsen <jwillemsen@remedy.nl>
* ace/Base_Thread_Adapter.h:
* ace/Future.h:
* ace/Naming_Context.h:
* ace/Malloc.h:
* ace/Malloc_Base.h:
* ace/Malloc_T.h:
* ace/NT_Service.h:
* ace/Notification_Strategy.h:
* ace/Object_Manager.h:
* ace/OS_Thread_Adapter.h:
* ace/WIN32_Asynch_IO.h:
Doxygen-ized some of the comments
* ace/OS.h:
Added ACE_ALLOCATOR_NORETURN and ACE_NEW_MALLOC_NORETURN, these
macro's set errno to ENOMEM incase of an memory error but don't
call return but guarantee that the pointer is 0.
* ace/QoS/QoS_Manager.h:
* ace/QoS/QoS_Session_Impl.h:
Doxygen-ized some of the comments
* ace/config-doxygen.h:
Added define ACE_YY_USES_PROTOS to parse ace/Svc_Conf_l.cpp correctly
* tests/MT_Reactor_Upcall_Test.cpp:
Fixed unicode and single threaded build errors/warnings
Mon Apr 22 20:40:41 2002 Steve Huston <shuston@riverace.com>
* examples/C++NPv2/Logging_Event_Handler.{cpp h}:
Moved LOGFILE_SUFFIX to open() method. Changed get_handle() to be
const to match the signature inherited from ACE_Event_Handler.
* examples/C++NPv2/Logging_Event_Handler_Ex.h: Moved MAX_CLIENT_TIMEOUT
into class declaration as an enum.
* examples/Logging_Handler.h: Added terminating ';' to inlined
methods.
Mon Apr 22 18:33:20 2002 Irfan Pyarali <irfan@cs.wustl.edu>
* examples/Reactor/WFMO_Reactor/run_test.pl: This file will allow
us to run these tests nightly. Note that Console_Input,
Network_Events, and Talker are not included since they are
interactive tests.
* bin/auto_run_tests.lst: Added new test script.
* examples/Reactor/WFMO_Reactor/test_handle_close.cpp:
* examples/Reactor/WFMO_Reactor/test_multithreading.cpp:
* examples/Reactor/WFMO_Reactor/test_network_events.cpp:
Fixed several memory management and shutdown issues.
* examples/Reactor/WFMO_Reactor/WFMO_Reactor.dsw:
Changed "Abondoned" to "Abandoned"
* examples/Reactor/WFMO_Reactor/test_window_messages.cpp:
Fixed debug message formatting.
* examples/Reactor/WFMO_Reactor/test_network_events.cpp:
Fixed documentation to says that ACE_DEFAULT_SERVER_PORT
defaults to 10002; correct value is 20002.
Mon Apr 22 17:24:39 2002 Steve Huston <shuston@riverace.com>
* examples/C++NPv2/Reactor_Logging_Server.mak:
* examples/C++NPv2/Logging_Acceptor.{cpp h}:
* examples/C++NPv2/Logging_Acceptor_Ex.h:
* examples/C++NPv2/Logging_Event_Handler.{cpp h}:
* examples/C++NPv2/Logging_Event_Handler_Ex.{cpp h}:
* examples/C++NPv2/Reactor_Logging_Server.{cpp h}:
New files for examples in C++NPv2, chapter 3.
Mon Apr 22 15:43:15 2002 Nanbor Wang <nanbor@cs.wustl.edu>
* examples/DLL/Today.h:
* examples/DLL/Today.cpp:
* examples/DLL/Newsweek.h:
* examples/DLL/Newsweek.cpp: Added overloaded new/delete opertors
and updated magazine messages.
Mon Apr 22 15:20:02 2002 Nanbor Wang <nanbor@cs.wustl.edu>
* tests/DLL_Test.h:
* tests/DLL_Test.cpp: Removed the destroy method as it didn't help
ensuring allocating/deallocating the DLL object with consistent
heap. Instead, we reverted back to use auto_ptr and relied on
the overloaded new/delete operators.
* tests/DLL_Test_Impl.h:
* tests/DLL_Test_Impl.cpp: Added the aforementioned overloaded
new/delete operator implementations.
Mon Apr 22 12:33:30 2002 Irfan Pyarali <irfan@cs.wustl.edu>
* tests/MT_Reactor_Upcall_Test: This is a test that shows how to
handle upcalls from the TP_Reactor and the WFMO_Reactor when the
event loop is being run by multiple threads.
The following files were updated to include the new test:
- tests/Makefile
- tests/Makefile.am
- tests/Makefile.bor
- tests/Reactor_Dispatch_Order_Test.dsp
- tests/Reactor_Dispatch_Order_Test.icc
- tests/icc.bat
- tests/run_test.lst
- tests/run_tests.bat
- tests/run_tests.psosim
- tests/run_tests_remote.lst
- tests/tests.dsw
- tests/tests.icp
- tests/MT_Reactor_Upcall_Test_WinCE.vcp
- tests/tests_WinCE.vcw
Mon Apr 22 15:27:12 UTC 2002 Johnny Willemsen <jwillemsen@remedy.nl>
* docs/tutorials/021/page01.html
Corrected incorrect link
Mon Apr 22 11:20:12 UTC 2002 Johnny Willemsen <jwillemsen@remedy.nl>
* ace/Svc_Conf_y.cpp:
Removed some strange characters from this file
* ace/config-doxygen.h:
Added define of __cplusplus so that the file Svc_Conf_y.cpp and
Svc_Conf_l.cpp are correctly parsed. We parsed the c-code and
we got the following defines which we don't want:
#define const
Also there was a global variable 'int size' which cluttered other
documentation.
Mon Apr 22 08:55:12 UTC 2002 Johnny Willemsen <jwillemsen@remedy.nl>
* ace/Timer_Queue_T.h:
Doxygen-ized some of the comments
* etc/*.doxygen:
Added the following to all doxygen config files
DISTRIBUTE_GROUP_DOC = YES
When a doxygen group is used (starts with //@{ and ends with
//@}) and if there is only one description for all group members than
this description is used for all the members separately. If a member
has its own description than that description is used.
Mon Apr 22 01:34:32 2002 Nanbor Wang <nanbor@cs.wustl.edu>
* ace/Task.h: Enhanced the comment for <wait> method to make it
clear that it will not wait for detached thread. Thanks to
Alain Decamps <Alain.Decamps@PIDPA.be> for suggesting this.
Sun Apr 21 21:23:59 2002 Krishnakumar B <kitty@cs.wustl.edu>
* include/makeinclude/platform_osf1_4.x_cxx.GNU (SOFLAGS):
Re-enable -use_ld_input in SOFLAGS. Seems that this flag is used
to identify Digital Unix in some Makefiles which resort to all
kinds of hackery to get some files to link.
Sun Apr 21 20:59:26 2002 Krishnakumar B <kitty@cs.wustl.edu>
* include/makeinclude/platform_osf1_4.x_cxx.GNU (OCFLAGS):
* include/makeinclude/platform_osf1_4.x_g++.GNU (OCFLAGS):
Set the optimization to level -O3. That way we will might just
get two builds in a day. This is also the recommended level in
the manual.
Sun Apr 21 15:02:52 UTC 2002 Craig Rodrigues <crodrigu@bbn.com>
* ace/TP_Reactor_Test.cpp: Add checks for ACE_AS_THREADS.
Sun Apr 21 09:42:05 2002 Douglas C. Schmidt <schmidt@tango.doc.wustl.edu>
* ace/config-win32-common.h: Changed the value of ACE_IOV_MAX to
be 64 rather than 1024. Thanks to Alain Decamps for motivating
this.
Sat Apr 20 19:57:55 2002 Craig Rodrigues <crodrigu@bbn.com>
* ace/Asynch_Pseudo_Task.cpp (stop): Wrap ace_mon in ACE_MT() to eliminate
errors on builds which are configured single-threaded.
Fri Apr 19 12:05:42 2002 Ossama Othman <ossama@uci.edu>
* examples/Bounded_Packet_Relay/bpr_thread.cpp:
* examples/Timer_Queue/main_async.cpp:
* examples/Timer_Queue/main_reactor.cpp:
* examples/Timer_Queue/main_thread.cpp:
The recent "ace/OS.h" inclusion reductions prevented a pragma
that disables a MSVC 6 warning about an overly long debugging
symbol from occurring. Explicitly disable that warning in this
file to silence the warning.
Fri Apr 19 11:41:12 UTC 2002 Johnny Willemsen <jwillemsen@remedy.nl>
* ace/Typed_SV_Message_Queue.h:
* ace/Strategies_T.h:
* ace/OS.h:
* ace/MEM_SAP.h:
* ace/Asynch_IO.h:
Doxygen-ized some of the comments
Thu Apr 18 15:58:49 2002 Steve Huston <shuston@riverace.com>
* ace/Asynch_Connector.{h cpp}: Removed static member inet_addr_any_.
It doesn't work for all compilers (static in a template). Replaced
default arg for ACE_Asynch_Connector::connect with
ACE_INET_Addr ((u_short)0) to get the equivalent effect, i.e., let
the OS pick an unused port.
* ace/Asynch_Acceptor.cpp (parse_address): Use the ACE_SOCK support
for dealing with addresses, else the ability to deal with both
IPv4 and IPv6 is lost.
Also get rid of a lot of debugging output; use ACE_TRACE instead.
* tests/Proactor_Test.cpp: Fixed log file name. Corrected formatting
per ACE guidelines.
* tests/run_test.lst: Enabled Proactor_Test and Proactor_Timer_Test
everywhere except Chorus, VxWorks, LynxOS.
Thu Apr 18 11:34:12 UTC 2002 Johnny Willemsen <jwillemsen@remedy.nl>
* ace/Asynch_IO.h:
* ace/ATM_Params.h:
* ace/ATM_Stream.h:
* ace/Caching_Strategies_T.h:
* ace/Event_Handler.h:
* ace/MEM_Acceptor.h:
* ace/MEM_Connector.h:
* ace/MEM_SAP.h:
* ace/Memory_Pool.h:
* ace/Message_Block.h:
* ace/Message_Queue_T.h:
* ace/Pair_T.h:
* ace/Parse_Node.h:
* ace/Select_Reactor_Base.h:
* ace/Thread_Adapter.h:
* ace/Thread_Adapter.h:
* ace/Thread_Manager.h:
* ace/WIN32_Asynch_IO.h:
* ace/WIN32_Proactor.h:
Doxygen-ized some of the comments
Tue Apr 18 07:39:12 UTC 2002 Johnny Willemsen <jwillemsen@remedy.nl>
* performance-tests/Synch-Benchmarks/Base_Test/Baseline_Test.h:
* performance-tests/Synch-Benchmarks/Perf_Test/Benchmark_Performance.h:
* performance-tests/Synch-Benchmarks/Perf_Test/Performance_Test_Options.h:
Added include of svc_export.h.
Wed Apr 17 18:41:30 2002 Steve Huston <shuston@riverace.com>
* ace/Activation_Queue.h:
* ace/Method_Request.h: Doxygen-ize and improve some documentation.
Wed Apr 17 15:24:36 2002 Ossama Othman <ossama@uci.edu>
* bin/auto_run_tests.lst:
Added ORT test to the list of tests to run.
Wed Apr 17 14:30:29 2002 Steve Huston <shuston@riverace.com>
* examples/C++NPv2/display_logfile.cpp (Logrec_Module ctor): Change
name from ACE_TCHAR * to const ACE_TCHAR *.
Wed Apr 17 10:39:24 2002 Ossama Othman <ossama@uci.edu>
* ace/Dev_Poll_Reactor.cpp (open):
Corrected a potential resource (file descriptor) leak for the
"ACE_HAS_DEV_POLL" case.
Fixed a warning. Use "ACE_NEW_RETURN" instead of "ACE_NEW."
Wed Apr 17 10:29:14 2002 Ossama Othman <ossama@uci.edu>
* ace/Dev_Poll_Reactor.cpp (ACE_HAS_DEV_POLL):
Added missing "#endif" for this configuration.
Wed Apr 17 12:47:41 2002 Steve Huston <shuston@riverace.com>
* ace/WIN32_Asynch_IO.cpp (set_handle, handle_close): Fixed
"unused argument" warnings from C++Builder.
Wed Apr 17 14:30:12 UTC 2002 Johnny Willemsen <jwillemsen@remedy.nl>
* ace/config-doxygen.h:
Added define UNICODE to generate ACE_Registry_Name_Space
* ace/Proactor.h:
* ace/Proactor_Impl.h:
* ace/RB_Tree.h:
* ace/Reactor_Notification_Strategy.h:
* ace/Recyclable.h:
* ace/Registry.h:
* ace/Service_Types.h:
* ace/Signal.h:
* ace/Token_Request_Reply.h:
* ace/Typed_SV_Message.h:
Doxygen-ized some of the comments
Wed Apr 17 12:27:23 UTC 2002 Johnny Willemsen <jwillemsen@remedy.nl>
* etc/ace.doxygen:
* etc/ace_man.doxygen:
Removed ACE_COMPILE_TIMEPROBES as PREDEFINED because it should be
defined in Config-doxygen.h
* ace/Config-doxygen.h
Added ACE_COMPILE_TIMEPROBES as define to generate timeprobe
documentation. This config file is automatically included when doing
a doxygen generation.
* ace/Intrusive_List.h:
* ace/Synch.h:
Doxygen-ized some of the comments
* ace/Message_Queue.h:
Fixed typo
Wed Apr 17 07:28:12 UTC 2002 Johnny Willemsen <jwillemsen@remedy.nl>
* examples/DLL/Newsweek.cpp:
* examples/DLL/Today.cpp:
Added include of svc_export.h.
* tests/Proactor_Test.cpp:
Fixed fuzz and unicode error
* ace/Asynch_Acceptor.h:
* ace/Functor.h:
* ace/Message_Queue.h:
* ace/Module.h:
* ace/Thread_Manager.h:
Doxygen-ized some of the comments
Tue Apr 16 23:32:49 2002 Steve Huston <shuston@riverace.com>
* ace/ace_dll.dsp:
* ace/ace_lib.dsp: Added Asynch_Connector.{h cpp} and
Asynch_Pseudo_Task.{h cpp}.
Tue Apr 16 16:39:07 2002 Ossama Othman <ossama@uci.edu>
* ace/POSIX_Asynch_IO.cpp (set_handle, handle_close):
Fixed unused argument warnings.
Tue Apr 16 19:25:47 2002 Steve Huston <shuston@riverace.com>
* ace/Makefile.bor:
* ace/ace.icc: Added new Asynch_Connector and Asynch_Pseudo_Task files.
Tue Apr 16 19:07:22 2002 Steve Huston <shuston@riverace.com>
* tests/Proactor_Test.cpp: Basically replaced; new version also
tests new ACE_Asynch_Connector facility.
Tue Apr 16 18:42:39 2002 Steve Huston <shuston@riverace.com>
New feature, ACE_Asynch_Connect, contributed by Alex Libman
<alibman@ihug.com.au>. Allows asynchronous connect using the
ACE Proactor framework. The new classes follow the same arrangement
as the existing ACE_Asynch_Accept framework.
* ace/Asynch_Connector.{h cpp}: New files
* ace/Asynch_IO.{h cpp}: Added new ACE_Asynch_Connect class and
its result. Added new method, ACE_Handler::handle_connect(), to
handle completion of asynch connect operations.
* ace/Asynch_IO_Impl.{h i cpp}: Added new classes
ACE_Asynch_Connect_Impl and ACE_Asynch_Connect_Result_Impl.
* ace/Asynch_Pseudo_Task.{h cpp}: Generalized task that handles
asynch emulation where needed, for example, asynch accept/connect.
Replaces the ACE_Asynch_Accept_Task and used for both accept/connect.
* ace/POSIX_Asynch_IO.{h cpp}: Removed ACE_POSIX_Asynch_Accept_Task
(subsumed by ACE_Asynch_Pseudo_Task, above) and add the
ACE_POSIX_Asynch_Connect and its Result class.
* ace/POSIX_Proactor.{h cpp}: Added asynch connect plumbing.
* ace/Proactor.{h cpp}: Added asynch connect support methods.
* ace/Proactor_Impl.h: Added create_asynch_connect[_result] methods.
* ace/SUN_Proactor.cpp: Change from asynch_accept_task to
asynch_pseudo_task.
* ace/WIN32_Asynch_IO.{h cpp}: Add new ACE_WIN32_Asynch_Connect and
_Result.
* ace/WIN32_Proactor.{h cpp}: Added new create_asynch_connect() and
create_asynch_connect_result() methods.
* ace/Makefile: Added Asynch_Connector, Asynch_Pseudo_Task
Tue Apr 16 11:49:00 2002 Ossama Othman <ossama@uci.edu>
* ace/Service_Templates.cpp:
* ace/Thread_Manager.cpp:
Only instantiate ACE_Auto_Basic_Ptr templates if
ACE_LACKS_AUTO_PTR is defined or if ACE_HAS_STANDARD_CPP_LIBRARY
is not defined. In the above cases, they are only used as
base classes for ACE's implementation of the standard auto_ptr
template. When using the auto_ptr implementation provided by
the standard C++ library in use, the ACE_Auto_Basic_Ptr template
instances aren't needed. Reduces footprint in cases where the
standard C++ library implementation is used, and explicit
template instantation is required.
Tue Apr 16 14:38:12 UTC 2002 Johnny Willemsen <jwillemsen@remedy.nl>
* etc/ace.doxygen:
* etc/ace_man.doxygen:
Set ACE_COMPILE_TIMEPROBES as PREDEFINED so that timeprobe doxygen
documentation is generated
* ace/Dump.h:
* ace/Message_Block.h:
* ace/Task.h:
* ace/Task_T.h:
* ace/Thread_Manager.h:
* ace/TLI_Stream.h:
Doxygen-ized some of the comments
Tue Apr 16 11:04:12 UTC 2002 Johnny Willemsen <jwillemsen@remedy.nl>
* ace/Event_Handler.h:
* ace/Log_Msg.h:
* ace/Message_Block.h:
* ace/Timer_Hash_T.h:
Doxygen-ized some of the comments
Mon Apr 15 22:25:28 2002 Balachandran Natarajan <bala@cs.wustl.edu>
* THANKS: Added Andrew Guy to the hallf of fame.
Mon Apr 15 21:43:44 2002 Krishnakumar B <kitty@cs.wustl.edu>
* ace/Log_Msg.cpp (log):
* ace/Log_Msg.h:
Added new option '@' to ACE_Log_Msg to print out pointers in
hexadecimal format. This is equivalent to the "%p" option of the
standard C library printf.
Mon Apr 15 14:04:28 2002 Ossama Othman <ossama@uci.edu>
* ace/Dev_Poll_Reactor.h:
* ace/Dev_Poll_Reactor.inl:
* ace/Dev_Poll_Reactor.cpp:
Experimental implementation of a /dev/poll (or Linux /dev/epoll)
based Reactor. Refinements will be committed to the
implementation very soon.
Mon Apr 15 11:29:49 2002 Ossama Othman <ossama@uci.edu>
* ace/config-win32-msvc-7.h (ACE_NEEDS_FUNC_DEFINITIONS):
MSVC 7 requires "hidden" functions/methods to be defined. A
declaration is not enough. Fixes link-time "unresolved symbol"
errors when using the ACE_UNIMPLEMENTED_FUNC macro in exported
templates.
Mon Apr 15 16:20:12 UTC 2002 Johnny Willemsen <jwillemsen@remedy.nl>
* ace/Timer_Queue_Adapters.{h,i,cpp}:
Made several additions to the ACE_Thread_Timer_Queue_Adapter
- Make it possible to pass a timer queue instance to the
ACE_Thread_Timer_Queue_Adapter instance using the constructor
- Make it possible to get/set the timer queue based on pointers, the
get method with a & is still available, but is marked as deprecated
- Make the thr_id method const
- When the timer queue is created by the
ACE_Thread_Timer_Queue_Adapter then it is also deleted, if it is
passed or set afterwards it isn't deleted by
ACE_Thread_Timer_Queue_Adapter (just like in the ACE_Reactor).
Mon Apr 15 10:22:12 UTC 2002 Johnny Willemsen <jwillemsen@remedy.nl>
* ace/Containers_T.h:
Doxygen-ized some of the comments
Mon Apr 15 08:49:23 UTC 2002 Johnny Willemsen <jwillemsen@remedy.nl>
* examples/Makefile.bor:
* examples/Timer_Queue/Makefile.bor:
* exmaples/Timer_Queue/Async_Timer_Queue_Test.bor:
* examples/Timer_Queue/Reactor_Timer_Queue_Test.bor:
* examples/Timer_Queue/Thread_Timer_Queue_Test.bor:
Added BCB makefiles
* examples/Timer_Queue/main_async.cpp:
* examples/Timer_Queue/main_reactor.cpp:
* examples/Timer_Queue/main_thread.cpp:
Made the example compiling in an unicode build
Mon Apr 15 07:39:12 UTC 2002 Johnny Willemsen <jwillemsen@remedy.nl>
* examples/IPC_SAP/SOCK_SAP/CPP-unclient.cpp:
* examples/IPC_SAP/SOCK_SAP/FD-unclient.cpp:
* examples/IPC_SAP/SOCK_SAP/FD-unserver.cpp:
Added include of OS.h to get ACE_TMAIN macro
* apps/JAWS/server/HTTP_Server.h:
Added include of svc_export.h.
Sun Apr 14 20:33:12 UTC 2002 Johnny Willemsen <jwillemsen@remedy.nl>
* ace/Connector.h:
* ace/Process.h:
Doxygen-ized some of the comments
Sun Apr 14 19:25:12 UTC 2002 Johnny Willemsen <jwillemsen@remedy.nl>
* ace/Future.h:
Fixed small typing errors in comments
Sun Apr 14 17:56:33 UTC 2002 Johnny Willemsen <jwillemsen@remedy.nl>
* ace/SOCK_Dgram_Bcast.h:
* ace/SV_Message.h:
* ace/SV_Message_Queue.h:
Doxygen-ized some of the comments
Sun Apr 14 11:59:12 UTC 2002 Johnny Willemsen <jwillemsen@remedy.nl>
* ace/SPIPE_Addr.h:
* ace/Filecache.h:
* ace/Time_Request_Reply.h:
* ace/TLI.h:
Doxygen-ized some of the comments
Sat Apr 13 19:28:40 UTC 2002 Don Hinton <dhinton@ieee.org>
* ace/Basic_Types.h: Added include of pthread.h to pick
up typedef of pthread_key_t.
Sat Apr 13 17:16:10 UTC 2002 Don Hinton <dhinton@ieee.org>
* examples/Service_Configurator/IPC-tests/server/Handle_L_SPIPE.h:
* examples/ASX/CCM_App/CCM_App.cpp:
Added include of svc_export.h.
Sat Apr 13 15:42:03 UTC 2002 Don Hinton <dhinton@ieee.org>
* tests/DLL_Test.{h,cpp}:
* tests/DLL_Test_Impl.{h,cpp}: Added methods to test the
the malloc/free and strnew/strdelete methods below. Also
removed use auto_ptr and added a destroy method to delete
the object within the dll/heap it was allocated.
* ace/OS_Memory.{inl,cpp}: Changed malloc(), calloc()
realloc(), and free() to be non-inlined to avoid the heap
problem on Windows.
* ace/ACE.{h,i,cpp}: Changed strnew() to be non-inlined and
added strdelete() for the same reason.
Sat Apr 13 14:33:12 2002 Johnny Willemsen <jwillemsen@remedy.nl>
* ace/Configuration.h:
* ace/Containers_T.h:
* ace/High_Res_Timer.h:
* ace/Object_Manager.h:
* ace/Reactor.h:
* ace/Reactor_Impl.h:
* ace/Select_Reactor_T.h:
* ace/WFMO_Reactor.h:
Improved doxygen comments. Added @deprecated to methods that
are deprecated so that in the doxygen description this is also
clearly list.
Sat Apr 13 03:32:52 2002 Krishnakumar B <kitty@cs.wustl.edu>
* ace/Proactor.h:
Moved OS.h and ACE_export.h outside the #ifdef ACE_WIN32.
ACE_export.h beacuse the #else part uses it and OS.h because
sig_atomic_t is used in one of the dummy class's signatures. If
others have other opinions, please fix the case for the #else
part also. Fixes Tru64 bustage.
Fri Apr 12 19:15:39 2002 Steve Huston <shuston@riverace.com>
* ace/Asynch_Acceptor.cpp (parse_address): Set the entire address
(address and port) instead of just the IP address part.
Thanks to Alex Libman <alibman@ihug.com.au> for this fix.
Fri Apr 12 18:00:41 UTC 2002 Don Hinton <dhinton@ieee.org>
* ace/Log_Msg.h: Added missing includes.
* ace/Basic_Types.h: Removed erroneous ENOMEM definition.
Fri Apr 12 10:02:58 2002 Priyanka Gontla <pgontla@ece.uci.edu>
* ace/Based_Pointer_T.h:
Included ace/Trace.h to fix the compilation errors about
undeclared ACE_TRACE.
Fri Apr 12 08:56:46 2002 Priyanka Gontla <pgontla@ece.uci.edu>
* tests/DLL_Test_Impl.cpp:
Included OS_Errno.h to fix the compilation error about
undeclared errno.
Fri Apr 12 15:03:12 2002 Johnny Willemsen <jwillemsen@remedy.nl>
* etc/*.doxygen:
Set JAVADOC_AUTOBRIEF to YES. From now on, when there is only
javadoc style comments, there first line until the first '.' is
used as brief comment. In the brief class description a lof of more
methods will have a description.
* Timer_Heap_T.h:
Change the comment style for method remove_first from doxygen style
to javadoc style
Fri Apr 12 13:32:12 2002 Johnny Willemsen <jwillemsen@remedy.nl>
* ace/WFMO_Reactor.h:
* ace/Timer_List_T.h:
* ace/Timer_Heap_T.h:
* ace/Timer_Hash_T.h:
* ace/Timeprobe_T.h:
Minor improvements doxygen comments
* ace/POSIX_Asynch_IO.h:
Doxygen-ized some of the comments
Fri Apr 12 00:15:32 2002 Krishnakumar B <kitty@cs.wustl.edu>
* include/makeinclude/platform_sunos5_sunc++.GNU:
* ace/config-sunos5.5.h:
Reverted to status quo. If and when things go fine, I will
re-enable them. Too many things breaking currently.
Thu Apr 11 20:37:53 2002 Krishnakumar B <kitty@cs.wustl.edu>
* ace/OS.i (ftell):
* ace/OS.h:
Added new wrappers for ftell, fgetpos & fsetpos.
* ACEXML/common/FileCharStream.cpp:
* ACEXML/common/FileCharStream.h:
Implemented the previously unavailable available() call.
Thu Apr 11 20:06:41 2002 Steve Huston <shuston@riverace.com>
* examples/C++NPv2/display_logfile.cpp: Spacing/line length
changes so it fits on the book pages.
Thu Apr 11 18:29:27 2002 Steve Huston <shuston@riverace.com>
* examples/C++NPv2/Makefile: New Makefile to build display_logfile.
* examples/C++NPv2/display_logfile.cpp: Finished and debugged on Linux.
Thu Apr 11 22:07:40 UTC 2002 Don Hinton <dhinton@ieee.org>
* netsvcs/lib/Client_Logging_Handler.cpp: Added missing
Log_Record.h include.
* tests/Svc_Handler_Test.cpp:
Changed ACE_Log_Record::MAXLOGMSGLEN to ACE_MAXLOGMSGLEN.
Thu Apr 11 20:04:22 UTC 2002 Don Hinton <dhinton@ieee.org>
* ace/ARGV.h: Rolled back the change and readded ACE.h.
Too many error down the line to fix.
* ace/Sample_History.cpp: Added include of OS.h.
* apps/apps/gperf/src/Options.h: Added include of OS.h.
Thu Apr 11 14:37:09 2002 Nanbor Wang <nanbor@cs.wustl.edu>
* ace/config-win32-common.h: Added ACE_LACKS_PARAM_H.
Thu Apr 11 18:21:25 UTC 2002 Don Hinton <dhinton@ieee.org>
* ace/Basic_Types.h: Added include of <sys/param.h>
to pickup MAXPATHLEN if available and get rid of warning.
Thu Apr 11 17:37:20 UTC 2002 Don Hinton <dhinton@ieee.org>
* ace/Basic_Types.h: Added missing typedefs for pid_t and
ssize-t for WIN32 builds needed for my Log_Msg changes
below.
Thu Apr 11 14:42:32 UTC 2002 Don Hinton <dhinton@ieee.org>
* ace/ARGV.h: Replaced include of ACE.h with config-all.h.
* ace/Addr.cpp:
* ace/OS_Dirent.cpp:
* ace/Trace.cpp:
Added include of OS.h.
* apps/gperf/src/Bool_Array.cpp: Changed ACE_OS::memset() to
ACE_OS_String::memset() and added include of OS_String.h.
* tests/Log_Msg_Test.cpp:
* examples/Logger/Acceptor-server.cpp:
* examples/Logger/simple-server/Logging_Handler.cpp:
* examples/Log_Msg/test_callback.cpp:
Added includes of Log_Record.h.
* ace/Log_Msg.{h,cpp}:
Added new method, last_error_adapter(), and changed the
ACE_DEBUG, et al, macros to use new method instead of
ACE_OS::last_error(). Removed includes of OS.h and
Log_Record. Changed ACE_Log_Record::MAXLOGMSGLEN to
ACE_MAXLOGMSGLEN. Removed ACE_OS::cleanup_tss friend.
* ace/Basic_Types.h: Added definition of MAXPATHLEN and
typedef of ACE_thread_t to prevent need to include OS.h
in Log_Msg.h above.
* ace/Default_Constants.h:
* ace/OS.h:
Moved definitions of ACE_MAXLOGMSGLEN, ACE_MAXTOKENNAMELEN,
and ACE_MAXCLIENTIDLEN here from OS.h.
Thu Apr 11 14:26:12 2002 Johnny Willemsen <jwillemsen@remedy.nl>
* Timer_Hash_T.h:
* Timer_Heap_T.h:
* Timer_List_T.h:
* Timer_Wheel_T.cpp:
* Timer_Wheel_T.h:
The timer queue classes schedule timers using absolute time. The
describtion in the implementaton files correctly described this,
but the header file comment and the argument name where describing
that the queues work on delta timers, so corrected this.
* Timer_Queue_Adapters.cpp:
* Timer_Queue_Adapters.h:
Updated the describtion that the schedule method expects an absolute
time.
Thu Apr 11 13:29:12 2002 Johnny Willemsen <jwillemsen@remedy.nl>
* ace/String_Base.h:
Fixed some small typo in comment
Thu Apr 11 08:30:11 UTC 2002 Don Hinton <dhinton@ieee.org>
* ace/OS_String.inl (strnlen):
Fixed compile error.
Thu Apr 11 08:16:12 2002 Johnny Willemsen <jwillemsen@remedy.nl>
* ace/Timer_Queue_T.cpp:
Reverted my change of yesterday. Already the copy constructor is called
* ace/Task.h:
* ace/Timer_Queue_Adapters.h:
Fixed some small typos in comment
* ace/Capabilities.h:
Placed right comment with right method
Wed Apr 10 20:00:57 2002 Ossama Othman <ossama@uci.edu>
* ace/Proactor.h:
Include "ace/ACE_export.h" to pull in definition of ACE_Export
macro.
Wed Apr 10 19:53:01 2002 Ossama Othman <ossama@uci.edu>
* ace/Argv_Type_Converter.cpp:
Include "ace/OS_Errno.h" to pull in ENOMEM definition.
(align_char_with_wchar):
Fixed remaining ACE_OS::strcmp() to be ACE_OS_String::strcmp().
Wed Apr 10 19:37:58 2002 Ossama Othman <ossama@uci.edu>
* apps/gperf/src/Bool_Array.h:
* apps/gperf/src/Iterator.h:
* apps/gperf/src/List_Node.h:
No need to include "ace/OS.h". "ace/config-all.h" is enough.
Wed Apr 10 19:25:39 2002 Ossama Othman <ossama@uci.edu>
* apps/Gateway/Gateway/Config_Files.cpp (read_entry):
Use "unsigned short" instead of the "u_short" typedef to avoid
including "ace/OS.h".
* apps/Gateway/Gateway/Gateway.h:
* apps/Gateway/Gateway/Event_Channel.h:
* apps/Gateway/Gateway/Options.h:
* apps/Gateway/Peer/Options.h:
* examples/Service_Configurator/IPC-tests/server/Handle_Broadcast.h:
* examples/Service_Configurator/IPC-tests/server/Handle_L_CODgram.h:
* examples/Service_Configurator/IPC-tests/server/Handle_L_Dgram.h:
* examples/Service_Configurator/IPC-tests/server/Handle_L_FIFO.h:
* examples/Service_Configurator/IPC-tests/server/Handle_L_Pipe.h:
* examples/Service_Configurator/IPC-tests/server/Handle_L_Stream.h:
* examples/Service_Configurator/IPC-tests/server/Handle_R_Dgram.h:
* examples/Service_Configurator/IPC-tests/server/Handle_R_Stream.h:
* examples/Service_Configurator/IPC-tests/server/Handle_Timeout.h:
* examples/Service_Configurator/Misc/Timer_Service.h:
* netsvcs/clients/Naming/Client/Client_Test.h:
* netsvcs/clients/Naming/Dump_Restore/Dump_Restore.h:
* tests/DLL_Test_Impl.cpp:
Include "ace/svc_export.h" to pull in ACE_Svc_Export macro.
Wed Apr 10 18:57:11 2002 Ossama Othman <ossama@uci.edu>
* netsvcs/lib/Client_Logging_Handler.h:
* netsvcs/lib/Name_Handler.h:
* netsvcs/lib/Server_Logging_Handler.h:
* netsvcs/lib/TS_Clerk_Handler.h:
* netsvcs/lib/TS_Server_Handler.h:
Include "ace/svc_export.h" to pull in ACE_Svc_Export macro.
Wed Apr 10 19:37:12 2002 Krishnakumar B <kitty@cs.wustl.edu>
* ace/config-g++-common.h:
Fixed a missing #define. This should fix the Lynx PPC build.
Wed Apr 10 17:23:09 2002 Ossama Othman <ossama@uci.edu>
* ace/Auto_IncDec_T.h:
Include "ace/Global_Macros.h" to pull ACE_UNIMPLEMENTED_FUNC
macro definition.
Wed Apr 10 19:28:27 2002 Steve Huston <shuston@riverace.com>
* examples/C++NPv2/display_logfile.cpp: First cut at the C++NPv2
Streams chapter code for displaying a logfile written from any
C++NPv1 or C++NPv2 logging daemon.
Wed Apr 10 17:38:31 2002 Steve Huston <shuston@riverace.com>
* ace/README: New config macros ACE_HAS_STRNLEN and ACE_HAS_WCSNLEN.
* ace/OS_String.{h inl}: New method ACE_OS_String::strnlen finds the
length of a string with a specified maximum length. Mimicks the
GNU strnlen(3) and wcsnlen(3) functions.
* ace/config-linux-common.h: Added ACE_HAS_STRNLEN and ACE_HAS_WCSNLEN
if _GNU_SOURCE is defined, else glibc headers doesn't declare them.
Wed Apr 10 11:16:57 2002 Ossama Othman <ossama@uci.edu>
* ace/Addr.h (hash):
* ace/Addr.i (hash):
Use "unsigned long" instead of the "u_long" typedef to avoid
including "ace/OS.h".
Wed Apr 10 11:07:42 2002 Ossama Othman <ossama@uci.edu>
* ace/Method_Request.h:
Fixed remaining "u_long" to "unsigned long" change.
Wed Apr 10 11:04:56 2002 Ossama Othman <ossama@uci.edu>
* ace/Array_Base.h:
Include "ace/Global_Macros.h" to pull in the ACE_DES_* macros
that required by the inlined ACE_Array_Base destructor.
Wed Apr 10 11:01:56 2002 Ossama Othman <ossama@uci.edu>
* ace/Global_Macros.h:
* ace/OS.h:
Moved ACE_DES_* macros to Global_Macros.h. This allows some
sources to avoid including ace/OS.h.
Wed Apr 10 10:54:58 2002 Ossama Othman <ossama@uci.edu>
* ace/OS.h:
* ace/Time_Value.h:
Moved "time" related includes from OS.h to Time_Value.h. Fixes
build problems on Unix platforms.
Wed Apr 10 10:40:36 2002 Ossama Othman <ossama@uci.edu>
Inter-header dependency reductions:
* ace/Auto_IncDec_T.h:
* ace/Auto_Ptr.h:
* ace/Based_Pointer_T.h:
* ace/Bound_Ptr.h:
* ace/Cached_Connect_Strategy_T.h:
* ace/Cache_Map_Manager_T.h:
* ace/Caching_Strategies_T.h:
* ace/Caching_Utility_T.h:
* ace/Capabilities.h:
* ace/Cleanup_Strategies_T.h:
* ace/Containers_T.h:
* ace/CORBA_macros.h:
* ace/Dynamic_Service.h:
* ace/Env_Value_T.h:
* ace/Managed_Object.h:
* ace/Map.h:
* ace/Map_Manager.h:
No need to include "ace/OS.h". "ace/config-all.h" is enough.
* ace/Asynch_Acceptor.h:
No need to include "ace/OS.h". "ace/Default_Constants.h" is
enough.
* ace/Addr.h:
* ace/Arg_Shifter.h:
* ace/Argv_Type_Converter.h:
* ace/Based_Pointer_Repository.h:
* ace/Containers.h:
* ace/Containers.cpp:
* ace/Init_ACE.h:
* ace/Trace.h:
No need to include "ace/OS.h". "ace/ACE_export.h" is enough.
* ace/RB_Tree.h:
No need to include "ace/OS.h". "ace/Global_Macros.h" is
enough.
* ace/Global_Macros.h:
Moved ACE_GUARD macros to this file, meaning that it is no
longer necessary to include "ace/OS.h" just to get those
macros. This should save on pre-processing times for some
sources.
Include "ace/OS_Export.h" to pull in the ACE_OS_Export macro
definitions.
* ace/Arg_Shifter.cpp:
* ace/Argv_Type_Converter.cpp:
Include "ace/OS_String.h" to pull in static string manipulation
methods.
Changed all ACE_OS string method calls to ACE_OS_String.
* ace/Trace.cpp:
Minor include file cosmetic tweaks.
* ace/Time_Value.h:
* ace/Time_Value.inl:
* ace/Time_Value.cpp:
Moved ACE_Time_Value class and related macros/constants to these
files. Files that only need the ACE_Time_Value class
declaration need only include this header instead of "ace/OS.h",
thus reducing pre-processing times.
* ace/OS.h:
Moved ACE_Time_Value class and ACE_GUARD macros out of this
header.
* ace/OS.i:
* ace/OS.cpp:
Moved ACE_Time_Value methods out of the files into the new
Time_Value.* files.
* ace/Init_ACE.cpp:
Use "unsigned int" instead of the "u_int" typedef to avoid
including "ace/OS.h".
* ace/Hashable.h:
* ace/Hashable.cpp:
* ace/Method_Request.h:
* ace/Method_Request.cpp:
No need to include "ace/OS.h". "ace/ACE_export.h" is enough.
Use "unsigned long" instead of the "u_long" typedef to avoid
including "ace/OS.h".
* ace/Proactor.h:
No need to include "ace/OS.h" to pull in ACE_Time_Value class
declaration. A forward declaration is enough.
* ace/Argv_Type_Converter.inl:
* ace/CE_Screen_Output.h:
Cosmetic changes to improve conformance to our coding
style/guidelines.
* ace/config-all.h:
No need to include "ace/ACE_export.h" and "ace/svc_export.h".
They should only be included by headers that need them.
Do not include "ace/OS_Errno.h". Fixes a circular dependency.
* ace/Copy_Disabled.h:
* ace/Dirent.h:
* ace/Log_Msg_Backend.h:
* ace/Refcountable.h:
* ace/Recyclable.h:
* ace/String_Base_Const.h:
* ace/Thread_Adapter.h:
Include "ace/ACE_export.h" to pull in definition of ACE_Export
macro.
* ace/OS_Export.h:
Include "ace/config.h" instead of "ace/config-all.h" to fix a
circular include.
* ace/OS_Errno.h:
No need to include "ace/config.h". It is already included
indirectly by "ace/OS_Export.h".
* ace/OS_Dirent.h:
Include "ace/OS_Errno.h" to pull in errno definitions.
* ace/Handle_Ops.h:
Include "ace/ACE_export.h" to pull in ACE_Export macro
definition.
Added missing "#pragma once".
* ace/Makefile:
* ace/Makefile.bor:
Added new Time_Value.* sources to these Makefiles.
Wed Apr 10 13:32:15 2002 Johnny Willemsen <jwillemsen@remedy.nl>
* ace/Token.h:
* ace/Timer_Queue_T.h:
Doxygen-ized some of the comments
* ace/Select_Reactor_T.cpp:
Fixed typo in comment
Wed Apr 10 07:44:12 2002 Johnny Willemsen <jwillemsen@remedy.nl>
* ace/Timer_Queue_T.cpp:
Instead of creating a ACE_Time_Value with the default constructor
and immediatly filling it with the assignment operator, create the
ACE_Time_Value with the copy constructor
* examples/Logger/simple-server/Logging_Acceptor.cpp:
* examples/Service_Configurator/IPC-tests/server/Handle_R_Stream.h:
* examples/Reactor/Misc/test_signals_2.cpp:
Added missing includes of Log_Msg.h. These where caused by the
compilation speedup of Don Hinton on April 5th.
* ace/Name_Request_Reply.h:
Tue Apr 9 22:59:20 2002 Krishnakumar B <kitty@cs.wustl.edu>
* ace/config-sunos5.5.h:
Added ACE_LACKS_STATIC_DATA_MEMBER_TEMPLATES to fix errors.
* ace/config-sunos5.6.h:
Removed definition of ACE_HAS_EXPLICIT_TEMPLATE_INSTANTIATION as
we turn it on on the command line.
Tue Apr 9 19:48:15 2002 Krishnakumar B <kitty@cs.wustl.edu>
* include/makeinclude/platform_osf1_4.x_cxx.GNU (LDFLAGS):
Moved the -hidden and -non_hidden from LIBS to LDFLAGS. The
linker doesn't like it seeing at the end. This fixes the
problems with Tru64.
Tue Apr 9 12:43:04 2002 Balachandran Natarajan <bala@cs.wustl.edu>
* bin/auto_run_tests.lst: Added POA_BiDir to the list of tests to
be run and prevented MT_BiDir from running in minimum_corba
builds.
Tue Apr 9 11:46:52 2002 Steve Huston <shuston@riverace.com>
* ace/Message_Block.h: Doxygen tweaks to block type enum.
Tue Apr 9 11:20:19 2002 Steve Huston <shuston@riverace.com>
* netsvcs/Server_Logging_Handler_T.cpp (handle_logging_record):
Moved variable 'count' inside the #if 0 block so it's not flagged
as unused.
Tue Apr 9 15:02:12 2002 Johnny Willemsen <jwillemsen@remedy.nl>
* ace/Containers_T.h:
Fixed two small typos
* ace/Thread_Manager.h:
Doxygen-ized some of the comments
Tue Apr 9 03:04:19 2002 Krishnakumar B <kitty@cs.wustl.edu>
* include/makeinclude/rules.lib.GNU (VLIB):
Ensure that templates in the repository get added to the static
library during creation. This build now uses a new variable
called TMPINCDIR which points to the template repository from
which the templates should be pulled in.
* include/makeinclude/platform_osf1_4.x_cxx.GNU:
Added support for different template instantiations.
* include/makeinclude/platform_tru64_cxx.GNU:
Removed some repeated flags from the command line.
* ace/config-cxx-common.h:
Added ACE_TEMPLATES_REQUIRE_SOURCE to pull in the template
definitions to ensure proper template instantiation.
Tue Apr 9 00:52:42 2002 Krishnakumar B <kitty@cs.wustl.edu>
* ace/config-sunos5.5.h (ACE_TEMPLATES_REQUIRE_SOURCE):
Moved this from within a guard to enable it unconditionally.
* ace/Obstack_T.cpp:
Added guards to make it consistent with other usage of _T.cpp
files.
* tests/test_config.h:
Reverted the change Sun Apr 7 18:04:56 2002 Krishnakumar B
<kitty@cs.wustl.edu>. The original code was right.
* include/makeinclude/platform_g++_common.GNU:
Cosmetic fixes. Explicitly check for egcs. It dumps out version
information in a non-standard format confusing the make
conditionals. Should fix the RedHat Static build.
* include/makeinclude/platform_sunos5_sunc++.GNU:
Cosmetic fixes to fix build bustage.
Tue Apr 9 00:05:37 2002 Douglas C. Schmidt <schmidt@macarena.cs.wustl.edu>
* ace/Logging_Strategy.h (ACE_Logging_Strategy): Changed "private" to
"protected" so subclasses can access the implementation. Thanks
to Martin Krumpolec <krumpolec@asset.sk> for reporting this. This
fixes bugid 1182.
Mon Apr 8 13:18:12 2002 Johnny Willemsen <jwillemsen@remedy.nl>
* ace/Activation_Queue.h:
Corrected location of doxygen comments so that the right comment
is placed below the right method
Sun Apr 7 18:04:56 2002 Krishnakumar B <kitty@cs.wustl.edu>
* tests/test_config.h (randomize):
Wrapped the initialization of singleton_ within a
ACE_LACKS_STATIC_DATA_MEMBER_TEMPLATES guard. This should fix
the problems on FreeBSD and under RedHat static. Thanks to Craig
Rodrigues <crodrigu@bbn.com> for reporting this.
Sun Apr 7 06:02:26 2002 Krishnakumar B <kitty@cs.wustl.edu>
* include/makeinclude/platform_lynxos.GNU:
* include/makeinclude/platform_macosx.GNU:
Didn't know that these platforms used g++. Fixing them.
Sun Apr 7 05:27:35 2002 Krishnakumar B <kitty@cs.wustl.edu>
* include/makeinclude/platform_g++_common.GNU:
Fixed a comment from the previous checkin.
* include/makeinclude/platform_sunos5_sunc++.GNU:
* include/makeinclude/platform_sunos5_ghs.GNU:
* include/makeinclude/platform_sunos5_kcc.GNU:
Changed these files to the new template instantiation mechanism.
* tests/test_config.h:
Added missing definition for the template member.
Sun Apr 7 04:22:19 2002 Krishnakumar B <kitty@cs.wustl.edu>
* include/makeinclude/wrapper_macros.GNU(templates):
Added option templates which can be used to specify the
instantiation policy desired. Allowed values are explicit,
automatic and used. Added flag TEMPLATE_FLAGS which should be
set to the proper value in each of the platform config files.
* include/makeinclude/platform_g++_common.GNU:
New file which holds the parsing and setting logic for GNU C++.
* include/makeinclude/platform_aix4_g++.GNU(templates):
* include/makeinclude/platform_aix_g++.GNU:
* include/makeinclude/platform_chorus4.x_g++.GNU:
* include/makeinclude/platform_freebsd.GNU:
* include/makeinclude/platform_gnuwin32_common.GNU:
* include/makeinclude/platform_hpux_gcc.GNU:
* include/makeinclude/platform_irix5.3_g++.GNU:
* include/makeinclude/platform_irix6.x_g++.GNU:
* include/makeinclude/platform_linux.GNU:
* include/makeinclude/platform_osf1_4.x_g++.GNU:
* include/makeinclude/platform_psosim_g++.GNU:
* include/makeinclude/platform_rtems.x_g++.GNU:
* include/makeinclude/platform_sco5.0.0-mit-pthread.GNU:
* include/makeinclude/platform_sco5.0.0-nothread.GNU:
* include/makeinclude/platform_sunos4_g++.GNU:
* include/makeinclude/platform_sunos5_g++.GNU:
* include/makeinclude/platform_unixware_g++.GNU:
For all of the platforms above, when using g++ versions 2.95.x,
2.96, 3.0.x or 3.x or later, the instantiation policy is set to
automatic.
* include/makeinclude/platform_vxworks5.x_g++.GNU:
Only exception to the above. The kind of parsing that is done in
this file scares me. So I explicitly set it to "explicit".
Thanks to Alex Libman <AlexL@rumblegroup.com> for motivating
this.
If people with any of the above platforms can test if this works
for them, it would be great. If suddenly your files don't link,
just set templates="explicit" in platform_macros.GNU and all
will be fine. This one was easy :-) Next round of changes is for
the above platforms with different compilers.
Sun Apr 7 04:02:23 2002 Krishnakumar B <kitty@cs.wustl.edu>
* ace/config-g++-common.h (ACE_LACKS_STATIC_DATA_MEMBER_TEMPLATES):
Moved common definitions for egcs into a single block. Wrapped
ACE_LACKS_STATIC_DATA_MEMBER_TEMPLATES inside appropriate
compiler checks.
* ace/config-all.h:
Added a negation before check for
ACE_HAS_GNUC_BROKEN_TEMPLATE_INLINE_FUNCTIONS.
* ace/config-sunos5.5.h:
Enabled ACE_HAS_EXPLICIT_TEMPLATE_INSTANTIATION and
ACE_TEMPLATES_REQUIRE_SOURCE only if Sun CC version <= 5.0.
Sun Apr 07 10:25:12 2002 Johnny Willemsen <jwillemsen@remedy.nl>
* examples/IPC_SAP/SOCK_SAP/FD-unserver.cpp:
* examples/IPC_SAP/SOCK_SAP/FD-unclient.cpp:
* examples/IPC_SAP/SOCK_SAP/CPP-unclient.cpp:
Added include of Log_Msg.h to fix build errors in BCB
Fri Apr 05 21:17:44 2002 Balachandran Natarajan <bala@cs.wustl.edu>
* ace/CDR_Stream.cpp: Initialized a null wstring properly.
* tests/CDR_Test.cpp (test_get): Added a test case for a
marshalling and unmarshalling a zero length wstring.
The above changes fix [Bug 1169]. Thanks to Duane Binder
<duane.binder@veritas.com> for suggesting these fixes.
Fri Apr 5 19:20:39 2002 Steve Huston <shuston@riverace.com>
* ace/Proactor.h: Add #include "ace/OS.h" in the "non-AIO" section
to get the ACE_Time_Value class needed for the stubbed-out class.
* ace/config-aix-4.x.h: Add some commentary about ACE_HAS_AIO_CALLS.
* ace/Service_Manager.cpp: Added #include "ace/Log_Msg.h" to fix a
compile problem on AIX.
Fri Apr 5 11:30:00 2002 Justin Michel <michel_j@ociweb.com>
* ace/OS.i:
* ace/config-win32-common.h:
SO_REUSEADDR fix brought over from 1.2a
FD_SETSIZE fix brought over from 1.2a
Thanks to Juergen Pfreundt <Juergen.Pfreundt@gft.com> for
motivating this.
Fri Apr 5 07:45:54 2002 Balachandran Natarajan <bala@cs.wustl.edu>
* ace/Local_Tokens.cpp: Fixed a compile error.
Fri Apr 5 12:51:11 UTC 2002 Don Hinton <dhinton@ieee.org>
* ace/ACE.i (strnew): Added null pointer check to
the wchar_t version so its behavior matches the char
version.
Fri Apr 5 11:40:00 UTC 2002 Don Hinton <dhinton@ieee.org>
* ace/ATM_Acceptor.h
* ace/ATM_Addr.cpp
* ace/ATM_Addr.h
* ace/ATM_Connector.cpp
* ace/ATM_Connector.h
* ace/ATM_Params.h
* ace/ATM_QoS.h
* ace/ATM_Stream.h
* ace/Asynch_Acceptor.h
* ace/Asynch_IO.h
* ace/Asynch_IO_Impl.cpp
* ace/Asynch_IO_Impl.h
* ace/CE_Screen_Output.cpp
* ace/CE_Screen_Output.h
* ace/FlReactor.cpp
* ace/FlReactor.h
* ace/IOStream.h
* ace/LSOCK.cpp
* ace/LSOCK.h
* ace/LSOCK_Acceptor.cpp
* ace/LSOCK_Acceptor.h
* ace/LSOCK_CODgram.cpp
* ace/LSOCK_CODgram.h
* ace/LSOCK_Connector.cpp
* ace/LSOCK_Connector.h
* ace/LSOCK_Dgram.cpp
* ace/LSOCK_Dgram.h
* ace/LSOCK_Stream.cpp
* ace/LSOCK_Stream.h
* ace/Local_Tokens.cpp
* ace/Local_Tokens.
* ace/Msg_WFMO_Reactor.h
* ace/POSIX_Asynch_IO.h
* ace/POSIX_Proactor.h
* ace/Proactor.cpp
* ace/Proactor.h
* ace/Proactor_Impl.h
* ace/QtReactor.h
* ace/Reactor.cpp
* ace/SUN_Proactor.h
* ace/TkReactor.cpp
* ace/TkReactor.h
* ace/UNIX_Addr.cpp
* ace/UNIX_Addr.h
* ace/WFMO_Reactor.cpp
* ace/WFMO_Reactor.h
* ace/WIN32_Asynch_IO.h
* ace/WIN32_Proactor.h
* ace/XTI_ATM_Mcast.h
* ace/XtReactor.cpp
* ace/XtReactor.h
Moved all includes inside the platform- or feature-specific
macro guards and added config-all.h to the headers in order
to speed up compiles when the guard isn't defined.
Fri Apr 5 08:51:12 2002 Johnny Willemsen <jwillemsen@remedy.nl>
* apps/Gateway/Peer/Peer.h:
Added missing explicit template instantion exports for msvc7.
Thanks to Tom Phan <tomp@telhub.com> for reporting this
Thu Apr 4 21:01:11 2002 Carlos O'Ryan <coryan@atdesk.com>
* ace/SOCK_Dgram.cpp:
I accidentally left out some code in my last change, without it
platforms that lack IPV6 support will probably break. Whoopsie.
Thu Apr 4 20:39:51 2002 Carlos O'Ryan <coryan@atdesk.com>
* bin/g++dep:
Remove bogus path(s) to find gcc, they were site-specific,
host-specific and version-specific, and then outdated at
that. The developer better has a decent version of gcc in her
PATH already, or the 'make depend' commands simply won't work.
Thu Apr 4 13:17:52 2002 Balachandran Natarajan <bala@cs.wustl.edu>
* bin/auto_run_tests.lst: Added a new test to the list of tests
that need to be run.
Thu Apr 4 11:52:45 2002 Carlos O'Ryan <coryan@atdesk.com>
* ace/SOCK_Dgram.cpp:
Add support for anonymous PF_LOCAL/SOCK_DGRAM (aka
PF_UNIX/SOCK_DGRAM) sockets. As the class stood before these
changes it was impossible to create such sockets, forcing people
to choose a binding address even for sockets that are used only
to send messages. For PF_INET this is not a big deal, because
the OS (or ACE::bind_port) can choose a port for the
application. But there is no such luck for PF_LOCAL sockets,
where the application has to choose a filename for the socket,
functions like ACE_OS::tempnam() or ACE_OS::mktemp() are more
trouble than they are worth, as they open a security can of
worms.
This fixes bug 1179.
Thu Apr 4 10:30:54 2002 Balachandran Natarajan <bala@cs.wustl.edu>
* ace/RMCast/Makefile:
* ace/SSL/Makefile:
* ace/Makefile: Updated dependency. Other directories need this
too. Will get to them before the beta.
Thu Apr 4 11:05:48 2002 Carlos O'Ryan <coryan@uci.edu>
* ace/Select_Reactor_Base.cpp:
Apply proposed patch for bug 1175, i.e. a possible deadlock
condition when ACE_HAS_REACTOR_NOTIFICATION_QUEUE is defined.
Thu Apr 4 08:32:26 UTC 2002 Don Hinton <dhinton@ieee.org>
* ace/CDR_Stream.cpp (ctor):
Modified default ctor to always add ACE_CDR::MAX_ALIGNMENT to
the size parameter since it is always required since the
subsequent call to ACE_CDR::mb_align() might advance the
(rd|wr)_ptr's up to ACE_CDR::MAX_ALIGNMENT-1 bytes.
Wed Apr 3 18:01:33 2002 Steve Huston <shuston@riverace.com>
* ace/SOCK_Dgram.cpp (shared_open): Add PF_INET6 to the test for
need to bind an unused port if ACE_HAS_IPV6 is defined.
Wed Apr 3 11:04:37 2002 Steve Huston <shuston@riverace.com>
* ace/Handle_Ops.{h, cpp} (handle_timed_open):
* ace/SPIPE_Connector.{h cpp} (ctor, connect): Added optional
LPSECURITY_ATTRIBTUES arg, defaults to 0. Allows Windows users
to set security for the new file/pipe open.
* ace/SPIPE_Acceptor.{h cpp} (ctor, open): Added optional
LPSECURITY_ATTRIBUTES arg, defaults to 0, same as above.
Also added a LPSECURITY_ATTRIBUTES member for NT4 and up.
The LPSECURITY_ATTRIBUTES passed in is remembered across
named pipe instances, and is used to create each new instance.
Doxygen-ized the comments.
Wed Apr 3 10:15:00 2002 Si Mong Park <spark@ociweb.com>
* tests/Atomic_Op_Test_WinCE.vcp:
* tests/Auto_IncDec_Test_WinCE.vcp:
* tests/Barrier_Test_WinCE.vcp:
* tests/Basic_Types_Test_WinCE.vcp:
* tests/Bound_Ptr_Test_WinCE.vcp:
* tests/Buffer_Stream_Test_WinCE.vcp:
* tests/Cached_Accept_Conn_Test_WinCE.vcp:
* tests/Cached_Conn_Test_WinCE.vcp:
* tests/Cache_Map_Manager_Test_WinCE.vcp:
* tests/Capabilities_Test_WinCE.vcp:
* tests/CDR_Array_Test_WinCE.vcp:
* tests/CDR_File_Test_WinCE.vcp:
* tests/CDR_Test_WinCE.vcp:
* tests/Collection_Test_WinCE.vcp:
* tests/Conn_Test_WinCE.vcp:
* tests/DLList_Test_WinCE.vcp:
* tests/DLL_Test_WinCE.vcp:
* tests/Dynamic_Priority_Test_WinCE.vcp:
* tests/Enum_Interfaces_Test_WinCE.vcp:
* tests/Future_Set_Test_WinCE.vcp:
* tests/Future_Test_WinCE.vcp:
* tests/Handle_Set_Test_WinCE.vcp:
* tests/Hash_Map_Bucket_Iterator_Test_WinCE.vcp:
* tests/Hash_Map_Manager_Test_WinCE.vcp:
* tests/High_Res_Timer_Test_WinCE.vcp:
* tests/Lazy_Map_Manager_Test_WinCE.vcp:
* tests/Logging_Strategy_Test_WinCE.vcp:
* tests/Log_Msg_Test_WinCE.vcp:
* tests/Malloc_Test_WinCE.vcp:
* tests/Map_Manager_Test_WinCE.vcp:
* tests/Map_Test_WinCE.vcp:
* tests/Max_Default_Port_Test_WinCE.vcp:
* tests/Mem_Map_Test_WinCE.vcp:
* tests/MEM_Stream_Test_WinCE.vcp:
* tests/Message_Block_Test_WinCE.vcp:
* tests/Message_Queue_Notifications_Test_WinCE.vcp:
* tests/Message_Queue_Test_Ex_WinCE.vcp:
* tests/Message_Queue_Test_WinCE.vcp:
* tests/MM_Shared_Memory_Test_WinCE.vcp:
* tests/MT_Reactor_Timer_Test_WinCE.vcp:
* tests/MT_SOCK_Test_WinCE.vcp:
* tests/Naming_Test_WinCE.vcp:
* tests/New_Fail_Test_WinCE.vcp:
* tests/Notify_Performance_Test_WinCE.vcp:
* tests/Object_Manager_Test_WinCE.vcp:
* tests/OrdMultiSet_Test_WinCE.vcp:
* tests/OS_Test_WinCE.vcp:
* tests/Priority_Buffer_Test_WinCE.vcp:
* tests/Priority_Reactor_Test_WinCE.vcp:
* tests/Priority_Task_Test_WinCE.vcp:
* tests/Process_Manager_Test_WinCE.vcp:
* tests/RB_Tree_Test_WinCE.vcp:
* tests/Reactors_Test_WinCE.vcp:
* tests/Reactor_Exceptions_Test_WinCE.vcp:
* tests/Reactor_Notify_Test_WinCE.vcp:
* tests/Reactor_Performance_Test_WinCE.vcp:
* tests/Reactor_Timer_Test_WinCE.vcp:
* tests/Reader_Writer_Test_WinCE.vcp:
* tests/Recursive_Mutex_Test_WinCE.vcp:
* tests/Refcounted_Auto_Ptr_Test_WinCE.vcp:
* tests/Reverse_Lock_Test_WinCE.vcp:
* tests/Semaphore_Test_WinCE.vcp:
* tests/Service_Config_Test_WinCE.vcp:
* tests/Sigset_Ops_Test_WinCE.vcp:
* tests/Simple_Message_Block_Test_WinCE.vcp:
* tests/SOCK_Connector_Test_WinCE.vcp:
* tests/SOCK_Send_Recv_Test_WinCE.vcp:
* tests/SOCK_Test_WinCE.vcp:
* tests/SPIPE_Test_WinCE.vcp:
* tests/SString_Test_WinCE.vcp:
* tests/Svc_Handler_Test_WinCE.vcp:
* tests/Task_Test_WinCE.vcp:
* tests/Thread_Manager_Test_WinCE.vcp:
* tests/Thread_Mutex_Test_WinCE.vcp:
* tests/Thread_Pool_Reactor_Resume_Test_WinCE.vcp:
* tests/Thread_Pool_Reactor_Test_WinCE.vcp:
* tests/Thread_Pool_Test_WinCE.vcp:
* tests/Timeprobe_Test_WinCE.vcp:
* tests/Timer_Queue_Test_WinCE.vcp:
* tests/Time_Service_Test_WinCE.vcp:
* tests/Time_Value_Test_WinCE.vcp:
* tests/Tokens_Test_WinCE.vcp:
* tests/TSS_Test_WinCE.vcp:
* tests/Upgradable_RW_Test_WinCE.vcp:
Added aygshell.lib to the link option.
Wed Apr 3 00:03:05 2002 Krishnakumar B <kitty@cs.wustl.edu>
* include/makeinclude/platform_sunos5_g++.GNU (exceptions):
* include/makeinclude/platform_qnx_neutrino.GNU:
* include/makeinclude/platform_qnx_rtp_gcc.GNU:
Removed redefinitions of ACE_HAS_GNUG_PRE_2_8 as they were
unnecessary. Some more files also seem to be abusing this flag.
But I don't have access to those exotic platforms.
Tue Apr 2 19:36:31 2002 Steve Huston <shuston@riverace.com>
* ace/OS_String.inl (strtok_r): Another variant of wcstok()...
Linux/glibc uses the 3-arg version of wcstok(), and says it's
from UNIX98 and ISO/ANSI C.
Tue Apr 2 16:21:39 2002 Steve Huston <shuston@riverace.com>
* ace/Get_Opt.h: Doxygen-ized the comments.
Tue Apr 02 15:12:10 2002 Nanbor Wang <nanbor@cs.wustl.edu>
* bin/nightlybuilds/builds.lst: Removed KCC builds from the list.
Tue Apr 2 14:02:06 2002 Chris Cleeland <cleeland_c@ociweb.com>
* ace/SSL/SSL_Context.cpp (dh_params): Changed this to use the
OpenSSL 'BIO' abstraction for file i/o rather than file pointers.
Using file pointers caused problems on Win32 platforms, and BIOs
don't. So, despite the fact that it's ugly and pollutes ACE code
with an OpenSSL abstraction, at least it works. We'll have to
figure out a more palatable way of dealing with this eventually.
Tue Apr 2 12:53:00 2002 Si Mong Park <spark@ociweb.com>
* ace/Argv_Type_Converter.cpp:
Fixed possible memory leak in the Dtor with incorrect counter of
argv. Thanks to Don Hinton for finding this bug.
Mon Apr 1 18:27:46 2002 Steve Huston <shuston@riverace.com>
* ace/OS_String.inl (strtok_r): Corrected decision to call
wcstok() or wcstok_r(). This fixes builds on HP-UX 11.
Mon Apr 1 16:35:29 2002 Steve Huston <shuston@riverace.com>
* ace/Containers_T.h (ACE_Array): Added performance characteristics
and requirements table.
Mon Apr 1 11:56:55 2002 Steve Totten <totten_s@ociweb.com>
* ace/Process.h:
* ace/Process.cpp:
Applied change from Rich Seibel <seibel_r@ociweb.com> to add a
reset for the command_line_calculated_ flag (three places) and
rewrote the description of command_line_buf().
Mon Apr 1 12:38:44 2002 Steve Huston <shuston@riverace.com>
* ace/Asynch_Acceptor.h: Corrected @arg to be @a for Doxygen.
Sun Mar 31 22:44:00 2002 Si Mong Park <spark@ociweb.com>
* apps/FaCE/FaCE_OS.h:
* apps/FaCE/FaCE.cpp:
* apps/FaCE/Main.cpp:
Changed 'LPWSTR' to 'ACE_TCHAR*' and 'LPCTSTR' to 'const ACE_TCHAR*'.
Also removed fuzz no-checking header to enable fuzz again.
Sun Mar 31 22:08:00 2002 Si Mong Park <spark@ociweb.com>
* ChangeLog:
Fixed incorrect path for FaCE related files on prior change log
items.
Sat Mar 30 08:58:57 2002 Douglas C. Schmidt <schmidt@macarena.cs.wustl.edu>
* ace/Asynch_Acceptor.cpp: (handle_accept): Removed a stray
ACE_DEBUG() call.
Thanks to Edan Ayal <edanayal@yahoo.com> for reporting this.
Sun Mar 31 01:18:00 2002 Si Mong Park <spark@ociweb.com>
* apps/FaCE/FaCE_OS.h:
* apps/FaCE/FaCE.cpp:
* apps/FaCE/Main.cpp:
Added "// FUZZ: disable check_for_tchar" as the code is only and
specifically for the WinCE. Thanks to Nanbor Wang for help.
* apps/CE_ARGV.H:
* apps/CE_ARGV.CPP:
Minor lower/upper case change in the include statement.
Sat Mar 30 22:19:00 2002 Si Mong Park <spark@ociweb.com>
* ace/OS.h:
Removed FaCE_MAIN definition originally added during WinCE port
and moved to FaCE_OS.h in the FaCE package since it is FaCE
specific macro.
* apps/FaCE/Face_OS.h:
Contains FaCE_MAIN macro definition to set entry point on WinCE.
* apps/FaCE/ReadMe.txt:
Updated installation part for FacE_OS.h.
Fri Mar 29 17:35:39 2002 Steve Huston <shuston@riverace.com>
* ace/Proactor.h: Doxygen-ize some comments; correct the
close() comment (no I/O completion port is known at this level).
Fri Mar 29 13:40:00 2002 Si Mong Park <spark@ociweb.com>
* ace/OS.h:
Minor fix for WinCE IDC name.
* apps/FaCE/ACE.ico:
* apps/FaCE/ACE_Racer.bmp:
* apps/FaCE/CE_ARGV.CPP
* apps/FaCE/CE_ARGV.H
* apps/FaCE/CE_Screen_Output.cpp:
* apps/FaCE/CE_Screen_Output.h:
* apps/FaCE/FaCE.cpp:
* apps/FaCE/FaCE.h:
* apps/FaCE/FACE.ico:
* apps/FaCE/FaCE.rc:
* apps/FaCE/FaCE.vcp:
* apps/FaCE/FaCE.vcw:
* apps/FaCE/FaCENOACE.vcp:
* apps/FaCE/FaCENOACE.vcw:
* apps/FaCE/License.txt:
* apps/FaCE/Main.cpp:
* apps/FaCE/newres.h:
* apps/FaCE/ReadMe.txt:
* apps/FaCE/resource.h
* apps/FaCE/TAO.BMP:
A new front-end framework utility/plug-in for ACE on WinCE.
Fri Mar 29 11:33:00 2002 Si Mong Park <spark@ociweb.com>
* ace/ace_dll.vcp:
* tests/Refcounted_Auto_Ptr_Test_WinCE.vcp:
* tests/Service_Config_DLL_WinCE.vcp:
Added few files into project.
* tests/CE_fostream.h:
* tests/CE_fostream.cpp:
A class that simulates fostream on WinCE for CDR File test.
* tests/Bound_Ptr_Test.cpp:
* tests/CDR_File_Test.cpp:
* tests/Log_Msg_Test.cpp:
* tests/Logging_Strategy_Test.cpp:
* tests/Malloc_Test.cpp:
* tests/MEM_Stream_Test.cpp:
* tests/MM_Shared_Memory_Test.cpp:
* tests/MT_SOCK_Test.cpp:
* tests/Priority_Task_Test.cpp:
* tests/Refcounted_Auto_Ptr_Test.cpp:
* tests/SOCK_Send_Recv_Test.cpp:
* tests/SOCK_Test.cpp:
* tests/Svc_Handler_Test.cpp:
* tests/Thread_Pool_Test.cpp:
Minor updates for WinCE build.
Fri Mar 29 11:08:29 2002 Steve Huston <shuston@riverace.com>
* ace/Asynch_Acceptor.h: Doxygen-ized the method comments.
Fri Mar 29 02:50:33 2002 Craig Rodrigues <crodrigu@bbn.com>
* examples/QOS/Diffserv/README: Update links to RFC's for
Expedited Forwarding.
Fri Mar 29 08:32:12 2002 Johnny Willemsen <jwillemsen@remedy.nl>
* tests/Makefile.bor:
Added new Cached_Allocator_Test
* tests/Cached_Allocator_Test.cpp:
Fixed unicode build errors
Thu Mar 28 23:47:00 2002 Si Mong Park <spark@ociweb.com>
* ace/OS.h:
* ace/OS.cpp:
Fixed WinCE entry point definitions, and factored out Unicode format
checking parts as a separate function for both WinCE and Unicode builds.
* ace/config-WinCE.h:
Commented out the part that 'forces' WinCE to use DLL only. The
'commented out' part has been left for possible future reference.
* tests/test_config.h:
Changed path settings for WinCE file system as CE only supports absolute-
path and does not have concept of './'.
* tests/tests_WinCE.vcw:
* tests/ARGV_Test_WinCE.vcp:
* tests/Atomic_Op_Test_WinCE.vcp:
* tests/Auto_IncDec_Test_WinCE.vcp:
* tests/Barrier_Test_WinCE.vcp:
* tests/Basic_Types_Test_WinCE.vcp:
* tests/Bound_Ptr_Test_WinCE.vcp:
* tests/Buffer_Stream_Test_WinCE.vcp:
* tests/Cached_Accept_Conn_Test_WinCE.vcp:
* tests/Cached_Conn_Test_WinCE.vcp:
* tests/Cache_Map_Manager_Test_WinCE.vcp:
* tests/Capabilities_Test_WinCE.vcp:
* tests/CDR_Array_Test_WinCE.vcp:
* tests/CDR_File_Test_WinCE.vcp:
* tests/CDR_Test_WinCE.vcp:
* tests/Collection_Test_WinCE.vcp:
* tests/Conn_Test_WinCE.vcp:
* tests/DLList_Test_WinCE.vcp:
* tests/DLL_Test_DLL_WinCE.vcp:
* tests/DLL_Test_WinCE.vcp:
* tests/Dynamic_Priority_Test_WinCE.vcp:
* tests/Enum_Interfaces_Test_WinCE.vcp:
* tests/Future_Set_Test_WinCE.vcp:
* tests/Future_Test_WinCE.vcp:
* tests/Handle_Set_Test_WinCE.vcp:
* tests/Hash_Map_Bucket_Iterator_Test_WinCE.vcp:
* tests/Hash_Map_Manager_Test_WinCE.vcp:
* tests/High_Res_Timer_Test_WinCE.vcp:
* tests/Lazy_Map_Manager_Test_WinCE.vcp:
* tests/Logging_Strategy_Test_WinCE.vcp:
* tests/Log_Msg_Test_WinCE.vcp:
* tests/Malloc_Test_WinCE.vcp:
* tests/Map_Manager_Test_WinCE.vcp:
* tests/Map_Test_WinCE.vcp:
* tests/Max_Default_Port_Test_WinCE.vcp:
* tests/Mem_Map_Test_WinCE.vcp:
* tests/MEM_Stream_Test_WinCE.vcp:
* tests/Message_Block_Test_WinCE.vcp:
* tests/Message_Queue_Notifications_Test_WinCE.vcp:
* tests/Message_Queue_Test_Ex_WinCE.vcp:
* tests/Message_Queue_Test_WinCE.vcp:
* tests/MM_Shared_Memory_Test_WinCE.vcp:
* tests/MT_Reactor_Timer_Test_WinCE.vcp:
* tests/MT_SOCK_Test_WinCE.vcp:
* tests/Naming_Test_WinCE.vcp:
* tests/New_Fail_Test_WinCE.vcp:
* tests/Notify_Performance_Test_WinCE.vcp:
* tests/Object_Manager_Test_WinCE.vcp:
* tests/OrdMultiSet_Test_WinCE.vcp:
* tests/OS_Test_WinCE.vcp:
* tests/Priority_Buffer_Test_WinCE.vcp:
* tests/Priority_Reactor_Test_WinCE.vcp:
* tests/Priority_Task_Test_WinCE.vcp:
* tests/Process_Manager_Test_WinCE.vcp:
* tests/RB_Tree_Test_WinCE.vcp:
* tests/Reactors_Test_WinCE.vcp:
* tests/Reactor_Exceptions_Test_WinCE.vcp:
* tests/Reactor_Notify_Test_WinCE.vcp:
* tests/Reactor_Performance_Test_WinCE.vcp:
* tests/Reactor_Timer_Test_WinCE.vcp:
* tests/Reader_Writer_Test_WinCE.vcp:
* tests/Recursive_Mutex_Test_WinCE.vcp:
* tests/Refcounted_Auto_Ptr_Test_WinCE.vcp:
* tests/Reverse_Lock_Test_WinCE.vcp:
* tests/Semaphore_Test_WinCE.vcp:
* tests/Service_Config_DLL_WinCE.vcp:
* tests/Service_Config_Test_WinCE.vcp:
* tests/Sigset_Ops_Test_WinCE.vcp:
* tests/Simple_Message_Block_Test_WinCE.vcp:
* tests/SOCK_Connector_Test_WinCE.vcp:
* tests/SOCK_Send_Recv_Test_WinCE.vcp:
* tests/SOCK_Test_WinCE.vcp:
* tests/SPIPE_Test_WinCE.vcp:
* tests/SString_Test_WinCE.vcp:
* tests/Svc_Handler_Test_WinCE.vcp:
* tests/Task_Test_WinCE.vcp:
* tests/Thread_Manager_Test_WinCE.vcp:
* tests/Thread_Mutex_Test_WinCE.vcp:
* tests/Thread_Pool_Reactor_Resume_Test_WinCE.vcp:
* tests/Thread_Pool_Reactor_Test_WinCE.vcp:
* tests/Thread_Pool_Test_WinCE.vcp:
* tests/Timeprobe_Test_WinCE.vcp:
* tests/Timer_Queue_Test_WinCE.vcp:
* tests/Time_Service_Test_WinCE.vcp:
* tests/Time_Value_Test_WinCE.vcp:
* tests/Tokens_Test_WinCE.vcp:
* tests/TSS_Test_WinCE.vcp:
* tests/Upgradable_RW_Test_WinCE.vcp:
Project files for WinCE build on eMbedded Visual C++ 3.0.
Note that some tests run fine under emulator but not on the real
machine, and some tests run okay on WinCE 3.0 but not on Pocket PC 2002.
The missing tests are mostly not supported by WinCE 3.0/PPC 2002.
For example, WinCE does not have 'fork' or environment variables.
Also, WinCE supports memory mapped file; however, the method is so different
to other Windows platforms that it is really hard to make it work correctly
on current ACE mem-map function structure.
Thu Mar 28 16:15:17 2002 Douglas C. Schmidt <schmidt@tango.doc.wustl.edu>
* ace/TTY_IO.h: Added the ACE_Export macro to the Serial_Params
struct. Thanks to Pavel Repin <pavel@repin.com> for reporting
this.
Thu Mar 28 13:31:19 2002 Priyanka Gontla <pgontla@ece.uci.edu>
* ace/POSIX_Asynch_IO.cpp (handle_close):
Fixed the warnings on Debian_Core build that were caused by the
changes earlier today.
Thu Mar 28 16:14:39 2002 Steve Huston <shuston@riverace.com>
* ace/OS.h (ACE_Time_Value::dump): Added comments that'll go to
the man page to explain why this is a no-op.
Thu Mar 28 14:26:19 2002 Douglas C. Schmidt <schmidt@tango.doc.wustl.edu>
* tests/Cached_Allocator_Test.cpp: Added a missing template
instantiation.
Thu Mar 28 10:45:16 2002 Nanbor Wang <nanbor@cs.wustl.edu>
* tests/tests.dsw:
* tests/Cached_Allocator_Test.dsp: Added this new MSVC project.
Thu Mar 28 10:12:13 2002 Douglas C. Schmidt <schmidt@macarena.cs.wustl.edu>
* ace/Malloc_T.{h,i,cpp}: Added support for
ACE_Dynamic_Cached_Allocator.
Thanks to Jaroslaw Nozderko <jareknz@polbox.com> for
contributing this.
* tests: Added Cached_Allocator_Test.cpp. Thanks to
Jaroslaw Nozderko <jareknz@polbox.com> for contributing this.
* tests/Makefile (BIN):
* tests/run_test.lst: Added Cached_Allocator_Test.
Thu Mar 28 06:15:22 2002 Alex Libman <AlexL@rumblegroup.com>
* ace/POSIX_Asynch_IO.cpp,
ace/POSIX_Asynch_IO.h:
ACE_POSIX_AOICB_Asynch_Operation and ACE_POSIX_Asynch_Operation
merged in one class ACE_POSIX_Asynch_Operation
Since POSIX_SIG_Proactor and SUN_Proactor are based on
POSIX_AIOCB_Proactor and both of them use
ACE_POSIX_AOICB_Asynch_Operation, there is no necessity to
support extra class tree.
* ace/POSIX_Asynch_IO.cpp,
ace/POSIX_Asynch_IO.h:
ACE_POSIX_AOICB_Transmit_Handler and ACE_POSIX_Transmit_Handler
merged in ACE_POSIX_Transmit_Handler for same reason as previous
change.
* ace/POSIX_Asynch_IO.cpp,
ace/POSIX_Asynch_IO.h: ACE_POSIX_Asynch_Accept merged with
ACE_POSIX_Asynch_Accept_Hanlder and redesigned and added
new class ACE_POSIX_Asynch_Accept_Task.
POSIX_AIOCB_Proactor has new member
ACE_POSIX_Asynch_Accept_Task asynch_accept_task_.
Task activation should be done from the most derived
constructors , when the final table of virtual functions is
built (simular case with notify_manager).
// start asynch accept task
this->get_asynch_accept_task.start ();
All POSIX_Proactors implementations ( AIOCB,SIG,SUN ) should
stop ACE_POSIX_Asynch_Accept_Task in their destructors to avoid
post_completions from based classes
// stop asynch accept task
this->get_asynch_accept_task.stop ();
Thu Mar 28 06:14:22 2002 Douglas C. Schmidt <schmidt@macarena.cs.wustl.edu>
* ace/TTY_IO.cpp (Serial_Params): Zero out the values in the
Serial_Params constructor. Thanks to Pavel Repin
<pavel@repin.com> for reporting this.
Wed Mar 27 20:00:31 2002 Douglas C. Schmidt <schmidt@macarena.cs.wustl.edu>
* include/makeinclude/platform_linux.GNU: Fixed a typo where
PLATFORM_XT_LDFLAGS was spelled incorrectly. Thanks to Eric
Eide and Ansgar Konermann <ansgar.konermann@inf.tu-dresden.de>
for reporting this.
Wed Mar 27 18:36:14 2002 Krishnakumar B <kitty@cs.wustl.edu>
* include/makeinclude/platform_linux.GNU (CXX_VERSION):
Reorganised the switches a bit for handling the implicit
templates.
* include/makeinclude/wrapper_macros.GNU (ACE_HAS_GNUG_PRE_2_8):
If the compiler has g++ or any mutations of g++, test whether
the version is less than 2.8. If so set ACE_HAS_GNUG_PRE_2_8
to 1 else set it to 0. Thanks to James Haiar <haiar@ll.mit.edu>
for reporting this.
Wed Mar 27 16:32:55 2002 Irfan Pyarali <irfan@cs.wustl.edu>
* tests/Reactor_Dispatch_Order_Test.cpp: Minor compilation fixes.
Wed Mar 27 15:10:27 2002 Irfan Pyarali <irfan@cs.wustl.edu>
* tests/Reactor_Dispatch_Order_Test: Added a new test to check the
order of dispatching of ACE Reactors. Order should be: timeout,
output, and then input. Currently, Select and WFMO Reactors are
tested.
The following files we updated to include the new test:
- tests/Makefile
- tests/Makefile.am
- tests/Makefile.bor
- tests/Reactor_Dispatch_Order_Test.dsp
- tests/Reactor_Dispatch_Order_Test.icc
- tests/icc.bat
- tests/run_test.lst
- tests/run_tests.bat
- tests/run_tests.psosim
- tests/run_tests_remote.lst
- tests/tests.dsw
- tests/tests.icp
* ace/WFMO_Reactor.cpp (upcall): Changed the dispatch order to
match the Select_Reactor's dispatch order. The order now is:
FD_WRITE
FD_CONNECT
FD_OOB
FD_READ
FD_CLOSE
FD_ACCEPT
FD_QOS
FD_GROUP_QOS
Thanks to Steve Huston <shuston@riverace.com> for pointing this
out.
* tests/icc.bat: Removed duplicates.
Wed Mar 27 10:25:12 2002 Johnny Willemsen <jwillemsen@remedy.nl>
* ace/High_Res_Timer.{h,cpp}:
Fixed a few small typing errors in comments
Tue Mar 26 13:55:19 2002 Douglas C. Schmidt <schmidt@macarena.cs.wustl.edu>
* ace/OS.i (operator *=): Explicitly promote sec() to double before
multiplying it to prevent problems with overflow. Thanks to
Eric Page <Eric_S_Page@raytheon.com> for reporting this. This
fixes BugId [1174].
Tue Mar 26 06:50:58 2002 Douglas C. Schmidt <schmidt@tango.doc.wustl.edu>
* ace/Synch.h (ACE_Null_Mutex): Added a dummy "lock_" variable
to make ACE_Condition<ACE_Null_Mutex> work properly. Thanks to
Ido Yellin <Ido.Yellin@Focusengine.com> for reporting this.
Wed Mar 21 08:11:15 2002 Boris Kolpackov <bosk@ipmce.ru>
* THANKS: Added Frank Rybak <rybak@ll.mit.edu> to the Hall of fame.
Wed Mar 20 11:23:38 2002 Priyanka Gontla <pgontla@ece.uci.edu>
* ace/Service_Manager.cpp (handle_input):
Moved the declaration of 'error' outside the do-while loop to
fix the 'error (undeclared)' error.
Wed Mar 20 09:51:47 2002 Douglas C. Schmidt <schmidt@tango.doc.wustl.edu>
* ace/Acceptor.cpp (handle_input): Updated the comments to point out that
svc_handler->close() is called in accept_svc_handler() and
activate_svc_handler() if a failure occurs. Thanks to Rainer
Lucas <rainer.lucas@fun.de> for motivating this.
Wed Mar 20 06:44:02 2002 Douglas C. Schmidt <schmidt@siesta.cs.wustl.edu>
* ace/Service_Manager.cpp (handle_input): Fixed a bug that prevents
an infinite loop. Thanks to Sandro Doro <sandro@dorogroup.com>
for reporting this.
* include/makeinclude/platform_vxworks5.x_g++.GNU (HOST_DIR): Fixed
a typo where -mlongcal should be -mlongcall. Thanks to Erik
Johannes <erik_johannes@teseda.com> for reporting this.
Wed Mar 20 14:26:12 2002 Johnny Willemsen <jwillemsen@remedy.nl>
* docs/usage-bugzilla.html:
Updated the link to the Bugzilla project
Tue Mar 19 15:17:25 2002 Dante J. Cannarozzi <djc2@cs.wustl.edu>
* ace/Containers_T.h: with the help of Matt Hampton
<mph2@cs.wustl.edu> updated doxygen comments for container classes
with more details at the request of Steve Huston.
Tue Mar 19 02:40:00 2002 Si Mong Park <spark@ociweb.com>
* ace/OS_String.h:
* ace/OS_String.inl:
* ace/OS_String.cpp:
Corrected proper ACE_HAS_REENTRANT_FUNCTIONS macro checking location
for the strtok_r_emulation functions. Debian compilation error was
because ACE_HAS_REENTRANT_FUNCTIONS was not defined in the configuration.
If ACE_HAS_REENTRANT_FUNCTIONS is defined, then emulation functions
should not be visible.
Mon Mar 19 08:32:34 2002 Boris Kolpackov <bosk@ipmce.ru>
* THANKS: Added Chen Jian <jchen@huawei.com> to the Hall of fame.
Sun Mar 17 18:22:12 2002 Craig Rodrigues <crodrigu@bbn.com>
* include/makeinclude/platform_freebsd.GNU: Copy lines from
platform_linux.GNU. exceptions=1 is now the default,
unless overridden by the user, just like for Linux.
Sun Mar 17 11:53:12 2002 Johnny Willemsen <jwillemsen@remedy.nl>
* include/makeinclude/compiler.bor:
When doing a wchar build don't automatically define UNICODE and _UNICODE.
Fri Mar 15 18:08:28 2002 Steve Huston <shuston@riverace.com>
* ace/config-aix-4.x.h: Removed the optional setting of
ACE_HAS_EXPLICIT_TEMPLATE_INSTANTIATION for Visual Age C++
5 without __TEMPINC__ set. This was an experiment to try and
rid the build of all the "duplicate symbol" warnings, and it
broke the incremental builds.
Fri Mar 15 12:19:58 2002 Chad Elliott <elliott_c@ociweb.com>
* include/makeinclude/platform_vxworks5.x_ghs.GNU:
Added support for building with exceptions enabled.
Fri Mar 15 05:59:45 2002 Douglas C. Schmidt <schmidt@macarena.cs.wustl.edu>
* ace/SPIPE_Acceptor.cpp: Removed the ACE_ASSERT (result == FALSE)
macro call. Thanks to Oleg Burlachenko <ua_fireball@yahoo.com>
for reporting this.
Fri Mar 15 00:16:06 2002 Craig Rodrigues <crodrigu@bbn.com>
* include/makeinclude/platform_freebsd.GNU:
* include/makeinclude/platform_netbsd.GNU:
Make -fno-implicit-templates conditional, instead of default.
Thanks to Denis Otchenashko <oko@bank.gov.ua> for motivating
me to look into this and fix this.
Thu Mar 14 12:50:00 2002 Si Mong Park <spark@ociweb.com>
* ace/OS_String.h:
* ace/OS_String.inl:
* ace/OS_String.cpp:
Fixed a skipping strtok_r_emulation definition when ACE_HAS_WCHAR is
defined.
Thu Mar 14 11:26:41 2002 Nanbor Wang <nanbor@cs.wustl.edu>
* performance-tests/Misc/context_switch_time.cpp: Renamed the
internally used macro, DEBUG, to ACE_DEBUG_CST to avoid clashing
with the compiler defined macro. Thanks to Allan S Iverson
<allaniverson@sprynet.com> for motivating the fix.
Thu Mar 14 09:17:55 2002 Douglas C. Schmidt <schmidt@macarena.cs.wustl.edu>
* ace/Strategies_T.cpp (activate_svc_handler): Added a call to
destroy() the svc_handler if ACE::fork() fails. Thanks to
Rainer Lucas <rainer.lucas@fun.de> for reporting this.
* ace/Configuration.cpp (remove_section): Made the code consistent
for all versions of Windows. Thanks to Jon Lambert
<jlsysinc@ix.netcom.com> for the fix.
* examples/Service_Configurator/IPC-tests/client/remote_service_directory_test.cpp (ACE_TMAIN): Added
'\n' to the end of command strings so that the client won't hang. Thanks to
Marc M Adkins <Marc.M.Adkins@doorways.org> for this fix.
Wed Mar 13 15:55:54 2002 Douglas C. Schmidt <schmidt@tango.doc.wustl.edu>
* ace/OS.h: EACCESS was misspelled! Thanks to Eric Eide
<eeide@cs.utah.edu> for reporting this.
Wed Mar 13 20:50:00 2002 Si Mong Park <spark@ociweb.com>
* ace/OS.i:
Minor change to resolve signed/unsigned comparison warning.
* ace/OS_String.h:
* ace/OS_String.inl:
* ace/OS_String.cpp:
Added wide-char version of strtok_r and strtok_r_emulation.
* ace/Functor.h:
* ace/Functor.i:
Added hash related templates for ACE_ANTI_TCHAR type
when ACE_USES_WCHAR is defined.
* ace/ace_dll.vcp:
* ace/ace_os_dll.vcp: Added missing files.
Wed Mar 13 11:57:41 2002 Steve Huston <shuston@riverace.com>
* ace/Configuration_Import_Export.cpp: Replace ACE_ASSERTs with
validity checks that set errno and return -1. ACE_ASSERT is
a little too drastic for a simple error, and the ACE_ASSERT
check is removed altogether when building with ACE_NDEBUG.
Wed Mar 13 10:36:02 2002 Craig Rodrigues <crodrigu@bbn.com>
* ace/config-freebsd-pthread.h: Fix test for POSIX RT signals.
Thanks to Denis Otchenashko <oko@bank.gov.ua> for reporting
these problems.
Wed Mar 13 10:21:49 2002 Steve Huston <shuston@riverace.com>
* ace/Configuration_Import_Export.cpp (ACE_Ini_ImpExp::import_config):
Remove the "else value = ACE_LIB_TEXT("")" for zero-length
values - value is already a zero-length string.
Wed Mar 13 09:40:12 2002 Johnny Willemsen <jwillemsen@remedy.nl>
* ace/Registry_Name_Space.cpp:
Fixed warnings about unused variables in BCB Unicode build
Tue Mar 12 18:37:49 2002 Steve Huston <shuston@riverace.com>
* ace/Configuration_Import_Export.{h cpp} (ACE_Ini_ImpExp):
Changed behavior of ACE_Ini_ImpExp::import_config() to take
the entire string, with or without whitespace, without requiring
quotes around the string. This puts functionality on par with
regular Windows INI files.
Also, on ACE_Ini_ImpExp::export_config(), don't add quotes to
string values that are exported. import_config() will still read
files exported previously (which have quotes around strings)
but when re-exported, the quotes will not be added.
Tue Mar 12 17:43:32 2002 Balachandran Natarajan <bala@cs.wustl.edu>
* ace/CDR_Base.cpp (consolidate): If the incoming message block
does not have a chain of message blocks, there is no need to do
a deep copy, a refcount increment on the incoming datablock
would do. Thanks to Lothar Werzinger
<Werzinger.Lothar@krones.de> for the patches.
Tue Mar 12 15:32:46 2002 Balachandran Natarajan <bala@cs.wustl.edu>
* PROBLEM-REPORT-FORM (Subject): Added a request for the version
of winsock on Windows based OS's.
Tue Mar 12 15:22:29 2002 Balachandran Natarajan <bala@cs.wustl.edu>
* ace/OS.i (sendv): When using winsock1, we transfer data by
sending one iovec at a time. If transfer of a buffer isnt
complete because the socket buffers got full, we need to drop
out of the loop that sends data. Thanks to Stephan Gudmundson
<stephang@netacquire.com> for providing this patch.
* THANKS: Added Stephan Gudmundson to the Hall of fame.
Mon Feb 25 14:06:45 2002 Chad Elliott <elliott_c@ociweb.com>
* ace/config-hpux-11.00.h:
Do not define __HP_aCC if using KCC.
* include/makeinclude/platform_hpux_kcc.GNU:
Add the --one-instantiation-per-object parameter to avoid
build problems with KCC.
* tests/Dirent_Test.cpp:
Modify this test to work with Chorus (as it does with VxWorks).
* ace/config-aix-4.x.h:
Defined ACE_HAS_USING_KEYWORD for AIX 4.x with Visual Age 5 or
later. This change came from Yan Dai <dai_y@ociweb.com>
Tue Mar 12 11:53:53 2002 Chad Elliott <elliott_c@ociweb.com>
* bin/perltest2cpp.pl:
Corrected the code for array assignments.
* bin/vxworks_modify.pl:
Use ACE_ENV_* instead of TAO_ENV_*.
Tue Mar 12 10:45:00 2002 Justin Michel <michel_j@ociweb.com>
* ace/OS.i:
Added call to ACE_OS::set_errno_to_last_error() in two places
where Winsock WSARecvFrom or WSASendTo were called.
Tue Mar 12 09:06:00 2002 Si Mong Park <spark@ociweb.com>
* etc/Svc_Conf_l.cpp.diff:
Incorrect file had been checked in on prior commit.
This is the correct file.
* tests/Config_Test.cpp:
Fixed incorrect delete statement.
Tue Mar 12 08:54:00 2002 Si Mong Park <spark@ociweb.com>
* etc/Svc_Conf_l.cpp.diff:
Fixed CR/LF (DOS format) problem: no content changed.
Tue Mar 12 13:52:12 2002 Johnny Willemsen <jwillemsen@remedy.nl>
* THANKS : Added Oleg Kraynov <olegvkr@yahoo.com>
Mon Mar 11 21:05:26 2002 Krishnakumar B <kitty@cs.wustl.edu>
* ACEXML/parser/parser/Parser.cpp (parse):
Added comment on the order of processing that should be done by
the parser.
Mon Mar 11 20:21:38 2002 Steve Huston <shuston@riverace.com>
* ace/config-all.h: Fixed ACE_NEW section to work with HP-UX 10.20,
aC++ A.01.27 with -AA option.
Mon Mar 11 18:48:41 2002 Steve Huston <shuston@riverace.com>
* examples/C++NPv1/Logging_Client.cpp: Added a compile-time check
for Win32 to be sure ACE_HAS_STANDARD_CPP_LIBRARY is set, else
trying to use the new getline() method with an old cin won't work.
Mon Mar 11 17:43:00 2002 Si Mong Park <spark@ociweb.com>
* ace/Svc_Conf_l.cpp:
Minor comment change to make diff file.
* etc/Svc_Conf_l.cpp.diff:
Updated diff file for Svc_Conf_l.cpp.
Mon Mar 11 16:59:42 2002 Steve Huston <shuston@riverace.com>
* tests/TP_Reactor_Test.h (new file):
* tests/TP_Reactor_Test.cpp: Moved declarations for Receiver,
Acceptor, Sender, and Connector classes to the new file
TP_Reactor_Test.h so Visual Age C++ can find them when
instantiating templates.
Mon Mar 11 16:38:49 2002 Steve Huston <shuston@riverace.com>
* tests/Reactor_Notify_Test.cpp: Added missing #include "ace/Reactor.h"
to fix Visual Age C++ compile error.
Mon Mar 11 16:27:59 2002 Steve Huston <shuston@riverace.com>
* examples/C++NPv1/RT_Thread_Per_Connection_Logging_Server.cpp:
Added missing #include "ace/Auto_Ptr.h" to fix compile problem
for platforms w/o native auto_ptr (like MSVC).
Mon Mar 11 14:23:00 2002 Si Mong Park <spark@ociweb.com>
* tests/Config_Test.cpp:
Removed one of the delete statement that deletes twice and thus
causing an invalid access violation.
Mon Mar 11 10:28:45 2002 Chad Elliott <elliott_c@ociweb.com>
* bin/vxworks_modify.pl:
Update this script to work correctly with the new CORBA
Environment style.
Mon Mar 11 12:17:12 2002 Johnny Willemsen <jwillemsen@remedy.nl>
* include/makeinclude/build_dll.bor:
* include/makeinclude/build_exe.bor:
* include/makeinclude/build_lib.bor:
* include/makeinclude/compiler.bor:
* include/makeinclude/decorator.bor:
* include/makeinclude/make_flags.bor:
* include/makeinclude/outputdir.bor:
Added support for a real unicode build with BCB builder. A real
unicode build can for example be done with:
make -f makefile.bor -DUNICODE
Doing a real unicode build means that the defines ACE_USES_WCHAR,
UNICODE and _UNICODE are set, diffent BCB object files are used
to link with and the compiler gets the extra compiler option -WU.
The dll names have a 'u' added so that unicode dll's are separated
from the non-unicode dll's. Also the output files are build in a
separate subdirectory.
* ACE-INSTALL.html:
Explained the BCB make options that can be used with ACE
Mon Mar 11 11:35:12 2002 Johnny Willemsen <jwillemsen@remedy.nl>
* ace/Registry_Name_Space.cpp:
Changed ACE_USHORT16 to ACE_WSTRING_TYPE because the underlying type
of ACE_WString is ACE_USHORT16 with MSVC and with BCB it is
wchar_t. The define ACE_WSTRING_TYPE hides these differences. When
UNICODE and ACE_USES_WCHAR are defined BCB gave a compile error.
Sun Mar 10 18:53:48 2002 Si Mong Park <spark@ociweb.com>
* ace/Svc_Conf_l.cpp:
Commented out 'break' line to resolve unreachable statement warning.
Sun Mar 10 05:54:30 2002 Balachandran Natarajan <bala@cs.wustl.edu>
* THANKS : Added Val Dumitrescu <val.dumitrescu@am-beo.com> to the
Hal of Fame.
* bin/auto_run_tests.lst: Added a new test to the daily builds.
Sat Mar 9 21:22:51 2002 Balachandran Natarajan <bala@cs.wustl.edu>
* ace/CDR_Stream.cpp:
* ace/CDR_Stream.i:
* ace/CDR_Stream.h: Added accessor methods for GIOP versions of
Input and Output CDR streams.
Sat Mar 9 07:52:45 2002 Douglas C. Schmidt <schmidt@tango.doc.wustl.edu>
* ace/SPIPE_Addr.cpp (set): Changed a strcpy() to a strcat() to
fix the code. Thanks to Robert Laferriere
<robert.laferriere@med.ge.com> for reporting this.
Fri Mar 8 22:29:36 2002 Si Mong Park <spark@ociweb.com>
* ace/Argv_Type_Converter.cpp:
* ace/Argv_Type_Converter.h:
* ace/Argv_Type_Converter.inl:
new class to convert command line parameter type between char
and wchar_t.
* ace/Basic_Types.h:
Set the endian type to 'little endian' for ARM processor -
Pocket PC 2002 platform.
* ace/Log_Record.cpp:
* ace/Log_Record.h:
Removed print method that uses ACE_CE_Bridge since CE_Bridge is
no longer supported by ACE CE port.
* ace/ace_dll.dsp:
* ace/ace_lib.dsp:
Added Argv_Type_Converter class to the project.
* ace/WFMO_Reactor.cpp:
* ace/WFMO_Reactor.h:
* ace/WFMO_Reactor.i:
Updated to support WinCE.
* ace/Process.cpp:
Fixed incorrect call to CreateProcess for WinCE.
* ace/config-WinCE.h:
Updated for WinCE Pocket PC 2002.
* ace/ace.vcw:
* ace/ace_dll.vcp:
* ace/ace_os_dll.vcp:
New ACE project file for WinCE Pocket PC 2002 build on eMbedded
Visual C++ 3.0.
* ace/Makefile:
* ace/Makefile.am:
* ace/Makefile.bor:
Added Argv_Type_Converter file.
* ace/Configuration.cpp:
* ace/Memory_Pool.cpp:
Updated for the WinCE port.
* ace/Read_Buffer.cpp:
* ace/Read_Buffer.h:
Disabled Ctor with ACE_HANDLE on WinCE since ACE_HANDLE is same
as FILE* on WinCE.
* ace/OS.cpp:
* ace/OS.h:
* ace/OS.i:
Updated for WinCE port. Changes includes removal of CE Bridge
added CE argv process class, enabled many file IO functions
that formerly disabled on CE, bypassing QoS parts for CE, and
other CE specific declarations.
* ace/Dynamic_Service.h:
* ace/Dynamic_Service.i:
Added 'instance' method uses ACE_ANTI_TCHAR type name for when
ACE_TCHAR is wchar_t.
* ace/CE_Screen_Output.cpp:
* ace/CE_Screen_Output.h:
screen output helper class only for WinCE platform - should
not be used on any other platform.
* ace/OS_Memory.h:
* ace/OS_String.h:
Changed to skip including stddef.h for WinCE.
* ace/MEM_Acceptor.h:
* ace/MEM_Acceptor.i:
* ace/SOCK_Acceptor.cpp:
* ace/SOCK_Acceptor.h:
* ace/SOCK_Connector.cpp:
* ace/SOCK_Connector.h:
* ace/SOCK_Dgram_Mcast.h:
Updated to skip QoS part on WinCE.
* ace/Svc_Conf.l:
* ace/Svc_Conf_l.cpp:
Fixed a problem giving a parse error on reading carriage return
token on Unicode formatted svc conf file.
* ace/Registry.cpp:
Changed connect function for WinCE to return -1 because CE does
not allow direct registry connection.
* ace/Sock_Connect.cpp:
Changed to use Iphlpapi library (standard on WinCE) on WinCE to
find IP address instead of searching registry since CE has so
many variations on registry settings.
* ace/Log_Msg.cpp:
Minor change for WinCE on stderr.
Fri Mar 8 19:45:31 2002 Steve Huston <shuston@riverace.com>
* examples/C++NPv1/Thread_Per_Connection_Logging_Server.cpp:
* examples/C++NPv1/RT_Thread_Per_Connection_Logging_Server.cpp:
Use auto_ptr<> to manage dynamically-allocated Thread_Args.
Thanks to Chris Uzdavinis <chris@atdesk.com> for this suggestion.
Thu Mar 7 16:10:02 2002 Douglas C. Schmidt <schmidt@tango.doc.wustl.edu>
* include/makeincludes/platform_linux_icc.GNU,
* ace/config-icc-common.h,
* ace/config-linux-common.h: Added support for the Intel C++ compiler
(icc). Thanks to Roger Tragins for contributing this.
Thu Mar 7 11:17:12 2002 Johnny Willemsen <jwillemsen@remedy.nl>
* tests/RMCast/RMCast_Fragment_Test.cpp:
* tests/RMCast/RMCast_Membership_Test.cpp:
* tests/RMCast/RMCast_Reassembly_Test.cpp:
* tests/RMCast/RMCast_Reordering_Test.cpp:
* tests/RMCast/RMCast_Retransmission_Test.cpp:
* tests/RMCast/RMCast_UDP_Best_Effort_Test.cpp:
* tests/SSL/Thread_Pool_Reactor_SSL_Test.cpp:
Replaced main with ACE_TMAIN.
Wed Mar 6 21:48:15 2002 Krishnakumar B <kitty@cs.wustl.edu>
* include/makeinclude/platform_linux_kcc.GNU (CCFLAGS):
Moved --one_instantiation_per_object flag as a common flag.
Otherwise building with debugging enabled doesn't work with
libraries built without debug information.
Wed Mar 6 21:42:37 2002 Krishnakumar B <kitty@cs.wustl.edu>
* bin/ace-install:
Make sure that the .inl files are also installed. Thanks to
Carsten Prescher<carsten.prescher@sysde.eads.net> for reporting this.
Wed Mar 6 18:30:49 2002 Steve Huston <shuston@riverace.com>
* examples/C++NPv1/Thread_Per_Connection_Logging_Server.h:
Reimplemented the Logging_Server::run method. Because the
handle_connections() method spawns a new thread to run the
logging session, and it calls handle_data(), the call to
handle_data() from Logging_Server::run() is incorrect. Thanks
to Raghuram Shetty <Raghuram.Shetty@comverse.com> for reporting
this issue.
* examples/C++NPv1/Reactive_Logging_Server.h:
Fix wait_for_multiple_events() to correctly check error return
from select(). Also, in handle_connections(), sync the code
with the book to clear acceptor handles from the active_handles_
after accepting all ready connections.
* examples/C++NPv1/Reactive_Logging_Server_Ex.h (handle_connections):
Clear acceptor's handle from active_read_handles_ to keep from
dispatching it as a data handle. See, this is why you should use
the Reactor framework - so be sure to buy vol 2 ;-)
* THANKS: Added Raghuram Shetty to the Hall of Fame.
Wed Mar 06 17:06:43 2002 Nanbor Wang <nanbor@cs.wustl.edu>
* tests/Cached_Accept_Conn_Test.cpp:
* tests/Cached_Conn_Test.cpp: Replaced main with ACE_TMAIN.
Wed Mar 6 14:43:34 2002 Nanbor Wang <nanbor@cs.wustl.edu>
* ace/OS.h: Reverted my previous "fix" to the argv argument type.
Mon Jan 21 23:27:03 2002 Nanbor Wang <nanbor@cs.wustl.edu>
A program entry poing <code>main</code> can take any of the
three forms:
int main (int argc, char *argv[])
int wmain (int argc, wchar_t *argv[])
int ACE_TMAIN (int argc, ACE_TCHAR *argv[])
Of them, the entry point <code>main</code> always gives you
the command line arguemnt in char strings form. The entry
point <code>wmain</code> currently can only be used under
Win32 and it returns the command line arguments in wchar
strings format. Defining the <code>ACE_TMAIN</code> as the
program entry point is the more portable form. The command
line arguments are given in char strings in most cases,
or wchar strings when <code>ACE_USES_WCHAR</code> is defined.
See <code>$ACE_ROOT/docs/wchar.txt</code> for more information
on ACE support on wchar.
* docs/ACE-guidelines.html: Added a new guideline explaining which
main entry point to use, as above.
* bin/main2TMAIN.pl: Script to replace entry points of the form
main (int, ACE_TCHAR *[])
to
ACE_TMAIN (int, ACE_TCHAR *[])
* *.cpp: Changed to use the new ACE_TMAIN.
Tue Mar 06 14:30:12 2002 Johnny Willemsen <jwillemsen@remedy.nl>
* tests/MEM_Stream_Test.cpp:
Fixed the shutdown of this test. When _TEST_USES_THREADS is defined
we must do a wait() on the thread manager, else on the process
manager.
Tue Mar 05 20:34:22 2002 Ossama Othman <ossama@uci.edu>
* ace/OS_Thread_Adapter.cpp (invoke):
* ace/Thread_Adapter.cpp (invoke_i):
Fixed "jump out of __finally block" warning emanating from
MSVC 7.
Tue Mar 05 15:46:15 2002 Nanbor Wang <nanbor@cs.wustl.edu>
* ace/Memory_Pool.h:
* ace/Memory_Pool.i: Added a base_addr () method for all memroy
pool classes. For memory pools that don't have a base_addr and
will never remap the pool to a different area, this method
always return 0.
* ace/Malloc_T.cpp: Reset this->cb_ptr_ after acquiring new memory
to memory_pool's base_addr (if base_addr != 0). This makes sure
the cb_ptr_ points to the right memory after a remap. Thanks to
Ariel Peltz <Arielp@bigbandnet.com> for pointing this out.
Tue Mar 5 12:20:26 2002 Ossama Othman <ossama@uci.edu>
* ace/INET_Addr.cpp (get_host_name_i, set):
h_errno -> h_error. h_errno conflicts with a declaration in
Microsoft's Winsock headers. Thanks to Nanbor for pointing out
the problem.
Tue Mar 05 09:26:46 2002 Ossama Othman <ossama@uci.edu>
* ace/INET_Addr.cpp (get_host_name_i, set):
Do not clobber errno with the h_errno value returned from
gethostbyaddr_r(). They are two distinct types of errors.
Renamed "error" to "h_errno" where appropriate to make it
more obvious that errno should not be set to the value of
h_errno. Thanks to Felix Wyss <Felix.Wyss@inin.com> for
reporting this.
Tue Mar 5 05:51:44 2002 Douglas C. Schmidt <schmidt@macarena.cs.wustl.edu>
* ace/Process.cpp (spawn): If fork()/exec() fail, call ACE_OS::_exit()
rather than ACE_OS::exit() to avoid destructors being called
that will yield hang problems. Thanks to Renjie Tang
<rtang@informatica.com> and Max V. Zinal <Zlat0@mail.ru> for
this suggestion. This fixes BugID 1147.
Tue Mar 5 12:24:12 2002 Johnny Willemsen <jwillemsen@remedy.nl>
* ace/Auto_IncDec_T.h:
Corrected typing error in comment
Mon Mar 4 19:59:31 2002 Steve Huston <shuston@riverace.com>
* tests/Process_Strategy_Test.h: Added #include "ace/Strategies_T.h"
so Visual Age C++ can find ACE_Process_Strategy when instantiating
templates.
Mon Mar 4 19:52:27 2002 Steve Huston <shuston@riverace.com>
* tests/Message_Queue_Test_Ex.h (new file):
* tests/Message_Queue_Test_Ex.cpp: Moved declaration of
User_Class to .h file so Visual Age C++ can find it when
instantiating templates.
Mon Mar 4 19:43:51 2002 Steve Huston <shuston@riverace.com>
* tests/Framework_Component_Test.h (new file):
* tests/Framework_Component_Test.cpp: Moved declaration of
My_Singleton to .h file so Visual Age C++ can find it when
instantiating templates.
Mon Mar 04 11:20:45 2002 Carlos O'Ryan <coryan@uci.edu>
* ace/Copy_Disabled.h:
* ace/Copy_Disabled.cpp:
Add new helper class to disable copy constructors and assignment
operators. I simply got sick of writing this repetitive code:
// private & undefined
Foo (const Foo &);
Foo &operator= (const Foo&);
The new class makes life *much* easier, simply say:
class Foo : private ACE_Copy_Disabled
Isn't that cool?
* ace/Makefile:
* ace/Makefile.am:
* ace/Makefile.bor:
* ace/ace_dll.dsp:
* ace/ace_lib.dsp:
Add new file to the project files and Makefiles.
Mon Mar 4 07:36:12 2002 Johnny Willemsen <jwillemsen@remedy.nl>
* tests/Token_Strategy_Test.cpp:
Fixed MSVC6 unicode build errors.
Sun Mar 3 15:56:23 2002 Craig Rodrigues <crodrigu@bbn.com>
* tests/Token_Strategy_Test.cpp:
Add template instantiations for ACE_Array, ACE_Array_Base,
ACE_Array_Iterator.
Sun Mar 3 16:23:12 2002 Johnny Willemsen <jwillemsen@remedy.nl>
* tests/Token_Strategy_Test.cpp:
Fixed MSVC6 unicode build errors.
Sun Mar 3 11:00:12 2002 Johnny Willemsen <jwillemsen@remedy.nl>
* tests/Token_Strategy_Test.dsp:
Added MSVC project for this test
* tests/Token_Strategy_Test.cpp:
Corrected small typing errors in comment
* tests/tests.dsw:
Added new Token_Strategy_Test.dsp
Sat Mar 2 09:17:45 2002 Douglas C. Schmidt <schmidt@siesta.cs.wustl.edu>
* ace/INET_Addr.cpp (set): Change errno = EINVAL to errno = error if
the call to ACE_OS::gethostbyname_r() fails since errno should
already have been set! Thanks to Felix Wyss <FelixW@inin.com>
for reporting this.
Fri Mar 01 08:03:12 2002 Johnny Willemsen <jwillemsen@remedy.nl>
* ace/Makefile.bor:
Added Swap.cpp to the list of installable files
* ace/SSL/SSL_Context.cpp:
Added ACE_TEXT_CHAR_TO_TCHAR around first argument of ACE_OS::fopen
call to convert char to ACE_TCHAR to fix compile errors in unicode
build
* include/makeinclude/ace_flags.bor:
Corrected typing error for new tao messaging library
Wed Feb 27 13:50:20 2002 Jaiganesh Balasubramanian <jai@kelvar.ece.uci.edu>
* ace/INET_Addr.cpp:
Pull back changes from last night.
Wed Feb 27 06:00:37 2002 Douglas C. Schmidt <schmidt@tango.doc.wustl.edu>
* ace/Synch.h: Clarified that ACE_Auto_Event, ACE_Manual_Event, and
ACE_Event all support process-scope locking, but only Win32
supports global naming and system-scope locking. Thanks to
Kobi Cohen Arazi <kobi@mivzak.com> for motivating this change.
Wed Feb 27 09:24:30 2002 Carlos O'Ryan <coryan@uci.edu>
* include/makeinclude/platform_linux.GNU:
Pull back Jai's change from last night. It looks like an
accident to me, and it is breaking all the builds.
Wed Feb 27 12:09:12 2002 Johnny Willemsen <jwillemsen@remedy.nl>
* ACE-INSTALL.html:
Added description about setting environment variable BCBVER to
the Borland building instructions
Wed Feb 27 10:47:12 2002 Johnny Willemsen <jwillemsen@remedy.nl>
* include/makeinclude/ace_flags.bor:
Added lines for new TAO_Messaging library
Wed Feb 27 01:12:32 2002 Carlos O'Ryan <coryan@uci.edu>
* ace/Swap.h:
* ace/Swap.inl:
* ace/Swap.cpp:
Add helper template to swap variables, very useful when
implementing exception neutral/safe classes.
Wed Feb 26 00:38:50 2002 UTC Don Hinton <dhinton@ieee.org>
* ace/Select_Reactor_Base.h:
* ace/Select_Reactor.cpp:
* ace/Select_Reactor_T.cpp:
Removed ACE_SELECT_REACTOR_HAS_DEADLOCK_DETECTION since
it isn't used.
Tue Feb 26 22:54:50 2002 UTC Don Hinton <dhinton@ieee.org>
* ace/Synch.i (ACE_Noop_Token::queueing_strategy):
Removed ACE_UNUSED_ARG and commented out the parameter
instead. Thanks to Ossama and Craig for pointing this out.
Tue Feb 26 16:17:45 2002 Nanbor Wang <nanbor@cs.wustl.edu>
* ace/Thread_Manager.h (ACE_Thread_Manager): Fixed a typo in
doxygen document tag. Thanks to Brad Hoskins
<BHoskins@slo.newport.com> for reporting this.
Tue Feb 26 10:22:39 2002 Steve Huston <shuston@riverace.com>
* include/makeinclude/platform_sunos5_sunc++.GNU: Added the ability
to enable RTTI in the compat=4 case. Removed the explicit
inclusion of an installation-specific path to -L for compat=4.
Installation-specific adidtions/changes should go in the
installation's platform_macros.GNU file.
Tue Feb 26 09:48:24 2002 Craig Rodrigues <crodrigu@bbn.com>
* apps/drwho/Protocol_Manager.cpp: Replace #include "new.h"
with #include "ace/config.h" to eliminate gcc 3.1 warning
about deprecated header.
Tue Feb 25 10:16:12 2002 Johnny Willemsen <jwillemsen@remedy.nl>
* tests/Token_Strategy_Test.cpp:
Fixed unicode compile error
Mon Feb 25 19:30:54 2002 Steve Huston <shuston@riverace.com>
* tests/Collection_Test.cpp: Moved the declaration of UglyThing
to a new file, Collection_Test.h. Visual Age C++ needs it in
a separate file to do auto template instantiation.
* tests/Collection_Test.h: New file.
Mon Feb 25 19:27:41 2002 Steve Huston <shuston@riverace.com>
* ace/Log_Msg.cpp (log): In handling for %t, fixed the feature
test that changes behavior for AIX 4.2 and earlier. This
section missed my long-time-ago change to the AIX OS
version constants, and ended up being used for all AIX versions
which is wrong. Thanks to Yan Dai <dai_y@ociweb.com> for
reporting this problem.
* THANKS: Added Yan Dai to the Hall of Fame.
Mon Feb 25 19:16:12 2002 Johnny Willemsen <jwillemsen@remedy.nl>
* docs/tutorials/007/thread_pool.{h|cpp}:
* docs/tutorials/007/page07.html:
* docs/tutorials/007/page08.html:
* docs/tutorials/013/mld.h:
* docs/tutorials/013/page03.html:
* docs/tutorials/017/Barrier_i.h:
* docs/tutorials/017/page03.html:
* docs/tutorials/018/page03.html:
Added missing include of 'ace/Atomic_Op.h'
Mon Feb 25 18:51:37 2002 Johnny Willemsen <jwillemsen@remedy.nl>
* tests/Makefile.bor:
Added new Token_Strategy_Test
* tests/Token_Strategy_Test.cpp:
Fixed small compile error that appeared with the BCB compiler
Mon Feb 25 17:17:37 2002 UTC Don Hinton <dhinton@ieee.org>
* ace/Select_Reactor.h:
* ace/Select_Reactor_Base.h:
* ace/Select_Reactor_T.h: Added a new typedef, ACE_SELECT_TOKEN,
to Select_Reactor_Base.h so that the choice of TOKEN type can be
made prior to typedefing the class. This allows the use of the
TOKEN type within the paramaterized class, i.e.,
ACE_Select_Reactor_Token_T and ACE_Select_Reactor_T. Otherwise
you get an error on some compilers, e.g., M$VC, that complain
about generic types.
Mon Feb 25 15:53:56 2002 UTC Don Hinton <dhinton@ieee.org>
* ace/Synch.i (queueing_strategy): Added ACE_UNUSED_ARG for unused
queueing_strategy parameter, thanks to Craig Rodrigues
<crodrigu@bbn.com> for pointing this out.
Mon Feb 25 09:17:39 2002 Chris Cleeland <cleeland_c@ociweb.com>
* ace/SSL/SSL_Context.cpp (dh_params): Wrapped the second argument
to ACE_OS::fopen with ACE_TEXT so that it behaves properly on
wide character platforms. Thanks to Craig Rodrigues for
pointing this out and Ossama Othman for explaining the
difference btw. ACE_TEXT and ACE_LIB_TEXT.
Mon Feb 25 13:50:43 2002 UTC Don Hinton <dhinton@ieee.org>
* ace/Token.{h|i|cpp}: Added the ability to chose the queueing
strategy, FIFO or LIFO, by using the queueing_strategy()
methods. The default is FIFO, which was the previous behavior.
Now ACE_Token_Queue::insert_entry() is always called with the
queueing_strategy in order to determine where the thread should
requeue itself.
* ace/Synch.{h|i}: Added queueing strategy methods to
ACE_Noop_Token.
* ace/Select_Reactor_T.{h|cpp}:
* ace/TP_Reactor.{h|cpp}: Added QUEUEING_STRATEGY parameter to
ACE_Select_Reactor_Token_T, ACE_Select_Reactor_T, and
ACE_TP_Reactor ctors with FIFO default.
* tests/Token_Strategy_Test.cpp :
* tests/Makefile :
* tests/run_test.lst: Added new Token_Strategy_Test.cpp to test
the FIFO/LIFO strategies.
Mon Feb 25 13:44:12 2002 Johnny Willemsen <jwillemsen@remedy.nl>
* docs/tutorials/018/Test_T.h:
Added missing include of Atomic_Op.h
Fri Feb 22 15:54:32 2002 Craig Rodrigues <crodrigu@bbn.com>
* ace/Refcounted_Auto_Ptr.h: Fix comment, thanks to
Serge Kolgan <skolgan@objectsciences.com>.
Fri Feb 22 09:31:35 2002 Craig Rodrigues <crodrigu@bbn.com>
* ace/QoS/QoS_Session_Factory.h (ACE_QoS_Session_Type):
Change "const static" to "static const" to remove gcc 3.1
warning.
Fri Feb 22 08:07:12 2002 Johnny Willemsen <jwillemsen@remedy.nl>
* ace/Makefile.bor: Added String_Base.cpp and Atomic_op.cpp to the
list of files that must be installed when doing a make install.
Thanks to Cyrille Chépélov <cyrille@softek.fr> for reporting that
these files missed.
Thu Feb 21 16:33:11 2002 Douglas C. Schmidt <schmidt@tango.doc.wustl.edu>
* docs/tutorials/007: Rename Thread_Pool::open() to
Thread_Pool::start() and Thread_Pool::close() to
Thread_Pool::stop() and fixed all the usages. Also removed the
unneeded parameter from stop() and removed the unneeded
re-definition of close() (since we are not shadowing it any
more). Thanks to Peter Heitman <pheitman@cisco.com> for
reporting this.
Thu Feb 21 13:12:44 2002 Chris Cleeland <cleeland_c@ociweb.com>
* ace/SSL/SSL_Context.* (ACE_SSL_Context): Added new methods to
specify Diffie-Hellman parameters. These parameters are
required when using DSA certificates/keys. The new methods are
dh_params, dh_params_file_name, and dh_params_file_type.
Thu Feb 21 09:32:56 2002 Douglas C. Schmidt <schmidt@macarena.cs.wustl.edu>
* ace/TTY_IO.cpp (control): Use the appropriate B* macros to set
all the baudrate cases. Thanks to Olli Savia <ops@iki.fi> for
contributing this.
* ace/Signal.cpp (dispatch): Added a cast of (ACE_SignalHandler)
to the SIG_DFL parameter so things will work on IRIX 6.5 with
GCC 3.0.1. Thanks to Dan Green <dan.c.green@lmco.com> for
reporting this.
Thu Feb 21 13:09:13 2002 Craig Rodrigues <crodrigu@bbn.com>
* ace/streams.h: strstream was deprecated in the 1998 ISO C++
standard [D.7 depr.str.strstreams], and has been replaced by
sstream. Including <strstream> or <strstream.h> causes annoying
warnings with gcc 3.1. Since strstream and sstream are not used
internally within ACE or TAO, remove includes for strstream, and
let the developer include them in their own code.
Wed Feb 20 15:26:43 2002 Phil Mesnier <mesnier_p@ociweb.com>
* apps/soreduce/Library.cpp:
* apps/soreduce/Library.h:
* apps/soreduce/Makefile:
* apps/soreduce/Obj_Module.cpp:
* apps/soreduce/Obj_Module.h:
* apps/soreduce/README:
* apps/soreduce/SO_Group.cpp:
* apps/soreduce/SO_Group.h:
* apps/soreduce/Sig_List.cpp:
* apps/soreduce/Sig_List.h:
* apps/soreduce/Signature.cpp:
* apps/soreduce/Signature.h:
* apps/soreduce/soreduce.cpp:
New application to assist in production of reduced footprint
shared libraries for specific collections of applications. For
more details see the enclosed README.
Wed Feb 20 14:18:14 2002 Phil Mesnier <mesnier_p@ociweb.com>
* ace/Process.cpp:
* ace/Process.h: Added a new method
ACE_Process_Options::release_handles() to fix the trouble of
using a pipe as stdout, where the pipe closes completely when
the child terminates. This method replaces some functionality in
the Process options destructor.
Wed Feb 20 13:01:25 2002 Douglas C. Schmidt <schmidt@tango.doc.wustl.edu>
* ace/Atomic_Op.i: Fix the return value of the ACE_GUARD_RETURN
macros so that if the lock fails, the comparison also fails.
Thanks to Ivan Pia <pia@octet.spb.ru> for reporting this.
Wed Feb 20 17:00:34 2002 Balachandran Natarajan <bala@cs.wustl.edu>
* include/makeinclude/platform_sunos5_sunc++.GNU: Users who use
5.2 and above could use native exceptions with inlining turned
on. Thanks to Ken O'Brien <kmobrien@fedex.com> for reporting
this problem.
* THANKS: Added Ken O'Brien <kmobrien@fedex.com> to the hall of
fame.
Mon Feb 18 23:17:08 2002 Christopher Kohlhoff <chris@kohlhoff.com>
* ACEXML/parser/parser/Makefile.bor:
Changed library name for the Borland build to be consistent with the
UNIX build.
* include/makeinclude/ace_flags.bor:
Added macros for the ACEXML Parser library.
* ACEXML/examples/Makefile.bor:
* ACEXML/examples/SAXPrint/Makefile.bor:
Added Borland makefiles for the SAXPrint example.
Mon Feb 18 20:16:27 2002 Douglas C. Schmidt <schmidt@macarena.cs.wustl.edu>
* ace/Acceptor.cpp (make_svc_handler):
* ace/Connector.cpp (make_svc_handler): There doesn't seem to be
anypoint in *conditionally* assigning the Acceptor/Connector's
reactor to the Svc_Handler, so we'll just assign it...
Mon Feb 18 18:41:33 2002 Steve Huston <shuston@riverace.com>
Integrated the following from the ACE 5.2 stream:
Wed Feb 13 15:37:41 2002 Steve Huston <shuston@riverace.com>
* ace/Hash_Cache_Map_Manager_T.h: Added #include "ace/Synch.h" to
pick up ACE_Null_Mutex.
* tests/Process_Manager_Test.cpp: Added #include "ace/Thread.h" to
pick up ACE_Thread::self ().
* tests/Refcounted_Auto_Ptr_Test.h (new file):
* tests/Refcounted_Auto_Ptr_Test.cpp: Moved definition of Printer
from .cpp to .h so Visual Age C++ can find it when instantiating
templates. Also removes the compile warning where the compiler
warns that the test won't work...
Tue Feb 12 21:59:42 2002 Steve Huston <shuston@riverace.com>
* include/makeinclude/platform_aix_ibm.GNU: Added -qstaticinline
to CCFLAGS to tell compiler to generate inlined functions with
static scope instead of extern scope (how stupid is this?).
Removed error suppression options which should be unnecessary now.
Sat Feb 9 18:34:59 2002 Steve Huston <shuston@riverace.com>
* examples/C++NPv1/Reactive_Logging_Server_Ex.h: Removed an extra
master_handle_set_.set_bit call. Thanks to Craig Perras
<craigp@iswnet.com> for reporting this.
Sat Feb 9 13:49:44 2002 Steve Huston <shuston@riverace.com>
* ace/Hash_Map_With_Allocator_T.h: Added #include "ace/Synch.h" to
see the definition of ACE_Null_Mutex.
* ace/config-all.h (ACE_RCSID): Make generated function static to
keep Visual Age C++ from complaining about the multiple definitions.
Fri Feb 8 16:20:51 2002 Steve Huston <shuston@riverace.com>
* ace/config-aix-4.x.h: Removed #define ACE_TEMPLATES_REQUIRE_SOURCE
for Visual Age C++ 5. As it turns out, wherever the compiler sees
source and a template is referenced, it generates the template
class functions used. This is very bad for size as well as for
situations counting on only one such as ACE_Singleton.
Also added support for explicit template instantiation with Visual
Age C++. If the preprocessor define __TEMPINC__ is not defined,
explicit instantiation is turned on.
Mon Feb 4 17:21:39 2002 Steve Huston <shuston@riverace.com>
* ace/Singleton.h (ACE_TSS_Singleton): Added ACE_UNIMPLEMENTED_FUNCS
for assignment and copy ctor methods. This is necessary to allow
the *_SINGLETON_DECLARE macro, that explicitly instantiates a
template class on Win32, to compile clean when instantiating an
ACE_TSS_Singleton class. Thanks very much to Nanbor Wang for
direction on solving this problem.
* ace/config-win32-msvc-6.h: Added ACE_NEEDS_FUNC_DEFINITIONS. This
avoids warnings when explicitly instantiating an entire class, as
with ACE_TSS_Singleton and *_SINGLETON_DECLARE, above.
Mon Feb 18 18:23:49 2002 Steve Huston <shuston@riverace.com>
* ace/Reactor.h: Clarified behavior with respect to remaining
queued notifications when end_reactor_event_loop() is called
or when the reactor instance is closed/deleted.
Mon Feb 18 19:28:12 2002 Johnny Willemsen <jwillemsen@remedy.nl>
* ace/README:
* ace/Proactor.cpp:
* ace/SString.h:
* ace/Task_T.h:
* ace/Timer_Queue_Adapters.h:
* ace/config-win32-msvc-7.h:
* netsvcs/lib/Client_Logging_Handler.h:
* netsvcs/lib/Name_Handler.h:
* netsvcs/lib/TS_Clerk_Handler.h:
* netsvcs/lib/TS_Server_Handler.h:
Made ACE compiling with the Microsoft Visual C++ 7 compiler.
Template classes cannot be exported when doing a dynamic build, so
removed some export macro's from template definitions. When a class
is derived from a class template then the class template must be
explicit instantiated and be exported. To make sure that we only do
this when a compiler supports this we introduced the new define
ACE_HAS_EXPLICIT_TEMPLATE_INSTANTIATION_EXPORT. Also vc++ 7 generates
now a warning when a class is exported is derived from a class that
is not exported.
The following info was given by Microsoft on this:
The reason that a template can't be exported anymore is that it is
unlikely that anyone wants to export all specializations of a
class template. When B is a template and D is a class, the
construction 'class ACE_Export D : public B<D>' should
give no problems, but unfornately there is a bug in the vc++
compiler.
That's why we now explicit export the template instantations in ace.
Mon Feb 18 11:00:17 2002 Nanbor Wang <nanbor@cs.wustl.edu>
* html/index.html: Added an entry for ACEXML document.
* ace/OS.h: Removed the extern "C" link designator from the
typedef of ACE_Service_Object_Exterminator and the definition of
gobbler functions in ACE_FACTORY_DEFINE. They are not used
outside of a DLL so it's okay to have a mangled gobbler name.
Thanks to Doug for noticing this.
Mon Feb 18 11:12:39 2002 Steve Huston <shuston@riverace.com>
* ace/Refcounted_Auto_Ptr.h: Improved Doxygenation of some comments.
Mon Feb 18 10:45:00 2002 Craig Rodrigues <crodrigu@bbn.com>
* ace/QoS/QoS_Session_Factory.h:
Add new constant
ACE_QoS_Session_Factory::ACE_DEFAULT_QOS_SESSION. Give
ACE_QoS_Session_Factory::create_session() a default argument of
ACE_DEFAULT_QOS_SESSION.
* ace/QoS/QoS_Session_Factory.cpp:
Set the value of ACE_DEFAULT_QOS_SESSION to ACE_RAPI_SESSION on
platforms with RAPI RSVP support. Set it to
ACE_GQOS_SESSION on Win32 platforms with GQoS support.
Otherwise, issue a compilation error, since these are the only
two QoS types supported currently.
* examples/QOS/Change_Receiver_FlowSpec/receiver.cpp:
* examples/QOS/Change_Receiver_FlowSpec/sender.cpp:
* examples/QOS/Change_Sender_TSpec/receiver.cpp:
* examples/QOS/Change_Sender_TSpec/sender.cpp:
* examples/QOS/Simple/receiver.cpp:
* examples/QOS/Simple/sender.cpp:
Remove reference to ACE_RAPI_SESSION from invocations of
create_session(), leave it empty and choose default argument
instead. This will allow the examples to compile and run on
Win32.
Mon Feb 18 08:07:59 2002 Douglas C. Schmidt <schmidt@tango.doc.wustl.edu>
* ace/String_Base.{h,i}: Added two new overloaded operators that
work on characters. Thanks to Martin Krumpolec
<krumpolec@asset.sk> for contributing these patches.
Mon Feb 18 13:05:12 2002 Johnny Willemsen <jwillemsen@remedy.nl>
* ace/config-all.h:
Added ACE_NEW_NORETURN macro. This macro is the same as ACE_NEW
but doesn't do a return when an out of memory error occured so that
the caller can do extra handling.
* tests/New_fail_test.cpp:
Extended this test to test the new ACE_NEW_NORETURN macro.
Mon Feb 18 01:45:07 2002 Christopher Kohlhoff <chris@kohlhoff.com>
* include/makeinclude/compiler.bor:
* include/makeinclude/make_flags.bor:
Added support for Borland C++Builder 6.
Sun Feb 17 16:32:01 2002 Venkita <venkita@cs.wustl.edu>
* ACE version 5.2.2 released.
Sun Feb 17 16:03:03 2002 Nanbor Wang <nanbor@cs.wustl.edu>
* etc/acexml.doxygen: Fixed the output directory name for ACEXML.
Fri Feb 15 10:50:26 2002 Venkita Subramonian <venkita@cs.wustl.edu>
* ace/Dynamic_Service.h:
Fixed compile error. Added forward declaration for
ACE_Service_Object.
Thu Feb 14 19:10:04 2002 Douglas C. Schmidt <schmidt@macarena.cs.wustl.edu>
* ace/Refcounted_Auto_Ptr.h: Make the rep_ protected rather
than private. Rodney Morris <rodyland@hotmail.com> for
motivating this.
Thu Feb 14 15:26:06 2002 Douglas C. Schmidt <schmidt@tango.doc.wustl.edu>
* ace/Dynamic_Service.i (instance): Fixed instance to use an
ACE_dynamic_cast() so that the vptr is set correctly. Thanks to
Bill Dyer <bill.dyer@visogent.com> for suggesting this.
Thu Feb 14 16:15:50 2002 Balachandran Natarajan <bala@cs.wustl.edu>
* COPYING: Updated copyright years.
Thu Feb 14 11:25:39 2002 Nanbor Wang <nanbor@cs.wustl.edu>
* ACEXML/docs/bugs.txt:
* ACEXML/docs/guidelines.txt: Updated document.
Thu Feb 14 08:17:40 2002 Douglas C. Schmidt <schmidt@macarena.cs.wustl.edu>
* ace/config-all.h: There was a subtle difference between the
ACE_NEW based on try/catch and a 0 pointer. The version based on
the fact that new can return 0 always sets the pointer to 0 when
a memory error occured. The version that is based on try/catch
the pointer wasn't set to 0. If the pointer had a different
value, the pointer stays at the old value and wasn't set to 0.
This is now fixed. Thanks to Peter van Merkerk
<Peter.van.Merkerk@meco.nl> for noticing this and to Johnny
Willemsen for reporting it.
* ace/Strategies_T.h:
* ace/Strategies_T.i: Allow the reactor of the Svc Handler to be
set to the reactor passed to the Creation Strategy. Thanks to
David Smith <smithdav@tycoelectronics.com> for motivating this.
Thu Feb 14 01:14:40 2002 Nanbor Wang <nanbor@cs.wustl.edu>
* include/makeinclude/ace_flags.bor: Updated ACE_XML_CFLAGS.
Thanks to Johnny Willemsen for reminding this.
Thu Feb 14 01:01:10 2002 Nanbor Wang <nanbor@cs.wustl.edu>
* ACEXML/ACEXML.dsw:
* ACEXML/common/XML_Common.dsp:
* ACEXML/examples/SAXPrint/SAXPrint.dsp:
* ACEXML/parser/debug_validator/Debug_Validator.dsp:
* ACEXML/parser/parser/Parser.dsp:
* ACEXML/tests/NamespaceSupport_Test.dsp:
* ACEXML/tests/Transcoder_Test.dsp: Updated base include directories.
Thu Feb 14 00:20:39 2002 Nanbor Wang <nanbor@cs.wustl.edu>
* Makefile:
* Makefile.bor:
* ACEXML/common/Attributes.h:
* ACEXML/common/AttributesImpl.cpp:
* ACEXML/common/AttributesImpl.h:
* ACEXML/common/Attributes_Def_Builder.cpp:
* ACEXML/common/Attributes_Def_Builder.h:
* ACEXML/common/CharStream.cpp:
* ACEXML/common/CharStream.h:
* ACEXML/common/ContentHandler.h:
* ACEXML/common/DTDHandler.h:
* ACEXML/common/DTD_Manager.cpp:
* ACEXML/common/DTD_Manager.h:
* ACEXML/common/DefaultHandler.cpp:
* ACEXML/common/DefaultHandler.h:
* ACEXML/common/Element_Def_Builder.cpp:
* ACEXML/common/Element_Def_Builder.h:
* ACEXML/common/EntityResolver.h:
* ACEXML/common/Env.cpp:
* ACEXML/common/Env.h:
* ACEXML/common/ErrorHandler.h:
* ACEXML/common/Exception.cpp:
* ACEXML/common/Exception.h:
* ACEXML/common/FileCharStream.cpp:
* ACEXML/common/FileCharStream.h:
* ACEXML/common/InputSource.cpp:
* ACEXML/common/InputSource.h:
* ACEXML/common/Locator.h:
* ACEXML/common/LocatorImpl.cpp:
* ACEXML/common/LocatorImpl.h:
* ACEXML/common/Makefile:
* ACEXML/common/NamespaceSupport.cpp:
* ACEXML/common/NamespaceSupport.h:
* ACEXML/common/SAXExceptions.cpp:
* ACEXML/common/SAXExceptions.h:
* ACEXML/common/Transcode.cpp:
* ACEXML/common/Transcode.h:
* ACEXML/common/Validator.cpp:
* ACEXML/common/Validator.h:
* ACEXML/common/XMLFilter.h:
* ACEXML/common/XMLFilterImpl.cpp:
* ACEXML/common/XMLFilterImpl.h:
* ACEXML/common/XMLReader.h:
* ACEXML/common/XML_Types.h:
* ACEXML/examples/SAXPrint/Makefile:
* ACEXML/examples/SAXPrint/Print_Handler.h:
* ACEXML/examples/SAXPrint/SAXPrint_Handler.h:
* ACEXML/examples/SAXPrint/main.cpp:
* ACEXML/parser/debug_validator/Debug_Attributes_Builder.cpp:
* ACEXML/parser/debug_validator/Debug_Attributes_Builder.h:
* ACEXML/parser/debug_validator/Debug_DTD_Manager.cpp:
* ACEXML/parser/debug_validator/Debug_DTD_Manager.h:
* ACEXML/parser/debug_validator/Debug_Element_Builder.cpp:
* ACEXML/parser/debug_validator/Debug_Element_Builder.h:
* ACEXML/parser/debug_validator/Element_Tree.cpp:
* ACEXML/parser/debug_validator/Element_Tree.h:
* ACEXML/parser/parser/Entity_Manager.cpp:
* ACEXML/parser/parser/Entity_Manager.h:
* ACEXML/parser/parser/Makefile:
* ACEXML/parser/parser/Parser.cpp:
* ACEXML/parser/parser/Parser.h:
* ACEXML/tests/Makefile:
* ACEXML/tests/NamespaceSupport_Test.cpp:
* ACEXML/tests/Transcoder_Test.cpp:
* etc/acexml.doxygen: Renamed directory XML to ACEXML and moved the
base directory to include XML related files to $(ACE_ROOT).
Thanks to Johnny Tucker <jtucker@magisnetworks.com> for the
suggestion.
Wed Feb 13 17:42:32 2002 Balachandran Natarajan <bala@cs.wustl.edu>
* ace/Configuration.cpp (operator=): Fixed a warning in g++
builds. Stupid mistake on my part :(.
Wed Feb 13 12:45:06 2002 Balachandran Natarajan <bala@cs.wustl.edu>
* ace/Configuration.cpp:
* tests/Config_Test.cpp (iniCompare): Fixed memory leaks. Thanks
to Johnny willemson for providing the patches.
Wed Feb 13 11:46:54 2002 Nanbor Wang <nanbor@cs.wustl.edu>
* XML/parser/parser/Makefile: Added a library (-lACEXML) to link
to. Thanks to John Michael Zorko <j.zorko@att.net> for
reporting this.
Tue Feb 12 20:30:53 2002 Douglas C. Schmidt <schmidt@tango.doc.wustl.edu>
* ace/WIN32_Proactor.cpp (handle_events): When the proactor
was called by the reactor in handle_signal() this method should
loop till all events are done. But the loop never got executed
twice because handle_events returned 1 on success and the loop
exits. To catch more than one notifications handle_events
should be called again. Even if the loop is executed twice and
no more events are outstanding handle_events should return 0 and
not -1 when calling with timeout 0. Calling
GetQueuedCompletionStatus with timeout value 0 returns FALSE and
errno "ERROR_SUCCESS". This check has to be added to
handle_events and 0 has to be returned. Thanks to Hartmut Quast
<HartmutQuast@t-online.de> for reporting this.
Tue Feb 12 16:18:59 2002 Ossama Othman <ossama@uci.edu>
* tests/Proactor_Test.cpp (logflag):
* tests/TP_Reactor_Test.cpp (logflag):
Removed these unused global variables. Fixes an unused variable
warning.
Tue Feb 12 11:50:18 2002 Nanbor Wang <nanbor@cs.wustl.edu>
* bin/pippen.pl: Applied a patch from "the source" to fix a
problem in determining project dependencies.
Tue Feb 12 09:37:56 2002 Ossama Othman <ossama@uci.edu>
* ACE-INSTALL.html:
Corrected EGCS documentation. Native exception support is now
the default. [Bug 1149]
G++ 2.7.x is no longer supported. Updated accordingly.
Mon Feb 11 16:31:04 2002 Ossama Othman <ossama@uci.edu>
* bin/make_pretty.pl (is_warning):
Do not flag Fuzz's "#pragma warning(push)/(pop)" test title as a
warning.
Mon Feb 11 13:49:35 2002 Ossama Othman <ossama@uci.edu>
* bin/fuzz.pl (check_for_push_and_pop):
New test that verifies the number of #pragma warning(push)
pragmas matches the number of #pragma warning(pop) pragmas.
* examples/IPC_SAP/SSL_SAP/SSL-client.cpp (shared_client_test):
* examples/IPC_SAP/SSL_SAP/SSL-client-simple.cpp
(shared_client_test):
Do not convert the buffer length to network byte order when
allocating the buffer. Fixes excessive memory allocation. This
was apparently a cut-n-paste bug. Thanks to M Schulze
<m2.schulze@gmx.net>.
* THANKS:
Added M Schulze to the Hall of Fame.
Mon Feb 11 05:42:02 2002 Balachandran Natarajan <bala@cs.wustl.edu>
* ace/Connector.h: Fixed a typo in the coments. Thanks to Miljenko
Norsic (ETK) <Miljenko.Norsic@etk.ericsson.se> for reporting
this.
Sun Feb 10 16:28:30 2002 Douglas C. Schmidt <schmidt@macarena.cs.wustl.edu>
* ace/config-macosx.h
* ace/config-freebsd.h
* ace/config-freebsd-pthread.h
* ace/TTY_IO.cpp:
* TODO: Removed the ACE_USES_HIGH_BAUD_RATES macro since it no longer
seems to be necessary. Thanks to Olli Savia <ops@iki.fi> for
reporting this.
* ace/TTY_IO.cpp: Replaced the two strcmp() calls with one
strcasecmp(). Thanks to Olli Savia <ops@iki.fi> for reporting
this.
Sat Feb 9 15:17:45 2002 Balachandran Natarajan <bala@cs.wustl.edu>
* bin/make_release: Changed the path of gv as a new version of GV
was installed on deuce.doc. The old version had less colors and
it started mapping them to a smaller range. The graphs looked
very ugly. The new version fixes the problem and hence a change
in path.
Fri Feb 8 22:56:29 2002 Balachandran Natarajan <bala@cs.wustl.edu>
* ace/Log_Msg.cpp (log): Fixed a warning in TRU 64 builds.
Fri Feb 8 14:54:21 2002 Douglas C. Schmidt <schmidt@macarena.cs.wustl.edu>
* apps/JAWS2/Makefile (LDFLAGS):
* apps/JAWS2/HTTPU/Makefile (LDFLAGS): Fixed some makefile bugs so
that this stuff compiles on AIX. Thanks to Steve Ige
<steve.ige@reuters.com> for reporting this.
Thu Feb 7 18:13:03 2002 Douglas C. Schmidt <schmidt@macarena.cs.wustl.edu>
* tests/ACE_Init_Test.cpp (wait_and_kill_dialog): Replaced the call
to EndDialog() with EndModalLoop() to fix a race condition.
Thanks to Petru Marginean <petrum@ilx.com> for reporting this.
Fri Feb 8 14:02:06 2002 Balachandran Natarajan <bala@cs.wustl.edu>
* THANKS: Added Marco Kranawetter
<Marco.Kranawetter@icn.siemens.de> to the hall of fame.
Fri Feb 08 11:24:36 2002 Nanbor Wang <nanbor@cs.wustl.edu>
* ace/String_Base.h:
* ace/Task_T.h: Removed the ACE_Export decl from ACE_Task and
ACE_String_Base. They were added as work-aronds for a VC7's
internal compiler bug but didn't seem to solve the problem.
Thanks to Patrick Bennett <patrickb@inin.com>, Johnny, and
Christian Veleba <christian.veleba@porsche.co.at> for reporting
this.
Thu Feb 7 16:19:39 2002 Steve Huston <shuston@riverace.com>
* ace/config-all.h: Define new macros, ACE_nothrow and ACE_nothrow_t,
to decide which variety of nothrow is used in new (nothrow). At
this point, HP aC++ is the only platform defined to use this
feature, so that's the only section that defines it.
* ace/Svc_Handler.(cpp h):
* examples/Shared_Malloc/test_persistence.cpp: Use the new
ACE_nothrow[_t] macros in overridden operator new.
Thu Feb 7 14:11:31 2002 Douglas C. Schmidt <schmidt@macarena.cs.wustl.edu>
* ace/Singleton.cpp (close): Fixed the implementation so that the
ACE_Unmanaged_Singleton's internal singleton point is reset to 0
after cleanup to avoid double-deletion. Thanks to Marc Walrave
<marc.walrave@meco.nl> for this fix.
Thu Feb 7 07:52:47 2002 Douglas C. Schmidt <schmidt@macarena.cs.wustl.edu>
* ace/Activation_Queue.{h,i}: Added get/set methods to access/update
the underlying ACE_Message_Queue so users can call methods on
the queue directly if necessary. Thanks to Timothy Kilbourn
<kilbourn@sep.com> for reporting this.
Tue Feb 5 07:25:49 2002 Douglas C. Schmidt <schmidt@tango.doc.wustl.edu>
* tests/TP_Reactor_Test.cpp: Improved the comments to clarify the
differences between this test and the Thread_Pool_Reactor_Test.cpp.
Thanks to Alex Libman for explaining this.
Thu Feb 7 08:16:24 2002 Oliver Kellogg <oliver.kellogg@sysde.eads.net>
* ACE-INSTALL.html: Document the include_env=1 make switch.
* docs/exceptions.html: Replaced the "Transition from TAO_TRY
to ACE_TRY" section with "Transition from ACE_TRY_ENV usage
to ACE_ENV_ARG".
Wed Feb 6 06:57:35 2002 Balachandran Natarajan <bala@cs.wustl.edu>
* tests/run_test.lst: Disabled TP_Reactor_Test as the test is
hanging.
Tue Feb 5 11:59:00 2002 Craig Rodrigues <crodrigu@bbn.com>
* tests/TP_Reactor_Test.cpp (disable_signal): Eliminate unused
arguments warning on Win32 platforms.
Mon Feb 4 16:22:20 2002 Craig Rodrigues <crodrigu@bbn.com>
* ace/OS.h: Include <new> instead of <new.h> if
ACE_USES_STD_NAMESPACE_FOR_STDCPP_LIB is defined.
Mon Feb 4 19:58:03 2002 Boris Kolpackov <bosk@ipmce.ru>
* ace/Log_Msg.cpp:
Fixed minor bug in what's just commited before.
Thanks to Craig Rodrigues <crodrigu@bbn.com>
for pointing it out.
Mon Feb 4 14:11:14 2002 Boris Kolpackov <bosk@ipmce.ru>
* ace/Log_Msg.h:
* ace/Log_Msg.cpp:
Added ability to install custom backend which is a
per-process entity as opposite to callback which is
a per-thread not-inheritable entity.
Sun Feb 3 17:59:36 2002 Krishnakumar B <kitty@cs.wustl.edu>
* ace/config-sunos5.5.h (ACE_HAS_EXPLICIT_TEMPLATE_INSTANTIATION):
Explicitly defined the above macro as this is needed for SunOS
gcc to work. This was inside a __SUNPRO_CC #ifdef. I missed that
in my previous change. This should fix the builds under SunOS
gcc.
Sun Feb 3 18:32:29 2002 Craig Rodrigues <crodrigu@bbn.com>
* tests/TP_Reactor_Test.cpp: Use size_t instead of long
and int for index_ and sessions_ in order to eliminate
more compiler warnings.
Sun Feb 3 09:20:04 2002 Douglas C. Schmidt <schmidt@tango.doc.wustl.edu>
* tests/TP_Reactor_Test.cpp: Fixed a bunch of warnings. Thanks
to Venkita for reporting this.
Sun Feb 3 08:22:28 2002 Venkita Subramonian <venkita@cs.wustl.edu>
* tests/Makefile:
Regenerated makefile to create dependencies for TP_Reactor_Test.
Sun Feb 3 08:05:12 2002 Venkita Subramonian <venkita@cs.wustl.edu>
* tests/TP_Reactor_Test.dsp (RSC):
Regenerated the file in MSVC++.
Sun Feb 3 11:16:12 2002 Johnny Willemsen <jwillemsen@remedy.nl>
* tests/TP_Reactor_Test.cpp:
Fixed compile error in BCB unicode build
Sat Feb 2 07:45:51 2002 Douglas C. Schmidt <schmidt@tango.doc.wustl.edu>
* tests/run_test.lst:
* tests/TP_Reactor_Test.dsp:
* tests/Makefile.bor:
* tests/Makefile: Added the TP_Reactor_Test.
* tests/TP_Reactor_Test.cpp: Added another test of the ACE_TP_Reactor.
Thanks to Alex Libman for contributing this.
* ace/config-irix6.x-common.h: IRIX 6.5 supports AIO, so we'll
enable these features. Thanks to Alex Libman for validating
this.
* ace/Select_Reactor_T.cpp: Fixed work_pending() so that it takes
into account pending timers that need to be expired. Thanks to
Russ Noseworthy for reporting this.
* ace/Select_Reactor_T.cpp: Simplified the logic for calculating
timeouts in wait_for_multiple_events().
* ace/Process.{h,i,cpp}: When using ACE_Process_Options with the
inherit_environment set to off, i.e., ACE_Process_Options opts
(0), ACE_Process::spawn() was improperly setting the environment
in the child's process after fork (), before exec (). Changed
ACE_Process::spawn to check for the inherit_environment flag,
and to use the execve () call instead of execvp () if
inherit_environment is false. Thanks to James Risinger
<jrisinger@SignalSoftCorp.com> for contributing this fix.
* ace/Process.{h,i}: Added "const" to the various accessor methods.
Sat Feb 2 00:01:36 2002 Venkita Subramonian <venkita@cs.wustl.edu>
* ace/config-sunos5.6.h:
Added missing #endif.
Fri Feb 1 23:42:03 2002 Venkita Subramonian <venkita@cs.wustl.edu>
* ace/config-all.h:
Removed extra ).
Fri Feb 1 21:08:37 2002 Steve Huston <shuston@riverace.com>
* tests/Framework_Component_Test.icc:
* tests/Vector_Test.icc: New Visual Age C++ test configurations.
* tests/tests.icp: Add new test configurations to the project.
Fri Jan 1 19:33:49 2002 Steve Huston <shuston@riverace.com>
* ace/Vector.(h i cpp): Removed 'const' from the 2nd template
argument (size_T DEFAULT_SIZE). A size_t is always const,
and having const there causes errors from HP aC++. I'm not sure
if they're completely legit, but Stroustrup 3rd Ed says the
template argument is const anyway... if this is a problem,
please let me know.
Fri Feb 1 18:53:44 2002 Steve Huston <shuston@riverace.com>
* ace/ace.icc: Added Framework_Component.(h cpp) to the files list.
Fri Feb 1 10:19:46 2002 Jeff Parsons <parsons@cs.wustl.edu>
* Thread_Manager.h:
Removed extra '*/'.
Fri Feb 01 00:00:12 2002 Nanbor Wang <nanbor@cs.wustl.edu>
* ace/Task.h:
* ace/Thread_Manager.h: Added more explanation on how to use the
<task> argument. Thanks to Petr Shelomovsky
<pedrodon@trustworks.com> for motivating the change.
Thu Jan 31 19:18:37 2002 Steve Huston <shuston@riverace.com>
* ace/NT_Service.{h cpp}: To avoid race condition at shutdown time,
moved the call to report_status(SERVICE_STOPPED, 0) from the
open() method to a new override of the fini() method. Setting
status to SERVICE_STOPPED frees up Windows to do its own shutdown
for the service, and that can't be allowed to commence until all
ACE_NT_Service things are done. Thanks to Zoran Cetusic
<ZoranC@inter-intelli.com>, Patrick Bennett and Felix Wyss from
Interactive Intelligence, Inc. for diagnosing this problem and
sending in a fix.
* THANKS: Added Zoran Cetusic, Patrick Bennett, and Felix Wyss to
the Hall of Fame.
Thu Jan 31 17:00:52 2002 Balachandran Natarajan <bala@cs.wustl.edu>
* ace/config-all.h: Need to include <new> with all versions of
SunCC compiler and not just CC 5.0, when the compiler is using
compat mode 4.
* ace/config-sunos5.6.h: Need to define ACE_LACKS_ACE_IOSTREAM
when higher versions of CC are used with compat mode 4 and
such.
Thanks to Tim Rydell <tim.rydell@gd-ais.com> for the fixes.
* THANKS: Added Tim Rydell to the hall of fame.
Thu Jan 31 17:21:49 2002 Steve Huston <shuston@riverace.com>
* ace/Trace.cpp (constructor and destructor): Do not attempt
trace output if ACE has not been initialized. There is too
much not set up yet to bother trying. If you are on a platform
with ACE_HAS_NONSTATIC_OBJECT_MANAGER (such as Windows) and you
really, really need tracing in static objects, you should
try #define ACE_HAS_NONSTATIC_OBJECT_MANAGER 0 in your config.h
along with #define ACE_NTRACE 0. Beware, though, there are
crocodiles lurking there - platforms defined to use non-static
object manager are that way for good reason.
Thank you to Shmulik Regev <shmul@vself.com> for reporting this.
Thu Jan 31 13:32:07 2002 Nanbor Wang <nanbor@cs.wustl.edu>
* XML/common/XML_Common.dsp: Fixed the LIB path to use relative
path.
Thu Jan 31 19:18:16 2002 Oliver Kellogg <oliver.kellogg@sysde.eads.net>
* include/makeinclude/wrapper_macros.GNU:
Corrected placement of the include_env switch.
include_env=1 is only sensible in combination with
exceptions=1. NB: The include_env switch is only
intended to facilitate transition to the ACE_ENV_ARG
macros and should not be used for new applications.
There will be unused-variable warnings when using this
build configuration.
Thu Jan 31 11:57:07 2002 Nanbor Wang <nanbor@cs.wustl.edu>
* XML/parser/debug_validator/Debug_Attributes_Builder.cpp:
* XML/parser/debug_validator/Debug_Element_Builder.cpp:
Temporarily removed unused arguments.
* XML/common/FileCharStream.cpp (get): Made sure the character
read from the input file was converted to ACEXML_Char type
correctly. Casted the read XML_Char before comparing it to
'EOF'.
Thu Jan 31 13:06:12 2002 Boris Kolpackov <bosk@ipmce.ru>
* THANKS:
Added Koushik Banerjee to the hall of fame.
Wed Jan 30 22:41:39 2002 Krishnakumar B <kitty@cs.wustl.edu>
* include/makeinclude/platform_linux.GNU (CXX_VERSION):
Made it work when someone wants to turn off the implicit
template instantiation. Care should be taken to #define
ACE_HAS_EXPLICIT_TEMPLATE_INSTANTIATION in config.h also.
Surprisingly the code compiles without that also...
Wed Jan 30 17:22:49 2002 Steve Huston <shuston@riverace.com>
* ace/Process.cpp (wait (const ACE_Time_Value&, ACE_exitcode *)):
* ace/Process_Manager.cpp (wait (pid_t, const ACE_Time_Value&,
ACE_exitcode *)):
The mechanism for waiting up to a specified time for a child
process to exit has been replaced. Replaces the fix from:
Fri Jan 25 19:58:41 2002 Steve Huston <shuston@riverace.com>
and makes unnecessary any further work from:
Sat Jan 26 21:41:39 2002 Steve Huston <shuston@riverace.com>
Both classes now do a timed wait for a child by doing an
ACE_OS::sleep, counting on being interrupted if a SIGCHLD
is delivered. In ACE_Process_Manager when a reactor hasn't
been specified, and always in ACE_Process, a temporary
SIGCHLD handler is installed for the duration of the wait.
This is necessary because the default SIGCHLD action on
POSIX (and holds true for most non-Win32) is SIG_IGN, and
SIGCHLD is not generated when a child process exits.
Therefore, a handler is installed to force the SIGCHLD.
It's not needed in ACE_Process_Manager when a reactor is in
place because the reactor already has a handler for SIGCHLD.
Wed Jan 30 15:11:49 2002 Krishnakumar B <kitty@cs.wustl.edu>
* include/makeinclude/platform_linux.GNU (CXX_VERSION):
* ace/config-g++-common.h:
Turned off explicit template instantiation with gcc under Linux.
The specific versions are 2.95.x, 2.96, 3.0.x (3.x). Added a
flag implicit_templates to tweak the behaviour from the
platform_macros.GNU file.
The combination of the compiler and binutils seems to give a
nice reduction in the footprint.
Wed Jan 30 16:00:39 2002 Steve Huston <shuston@riverace.com>
* ace/Process_Manager.cpp (register_handler): Replaced ECHILD with
EINVAL if the pid is not found. Probably a more accurate
assessment of the situation, and should compile clean on WinCE.
Wed Jan 30 13:50:17 2002 Douglas C. Schmidt <schmidt@tango.doc.wustl.edu>
* docs/index.html: Fixed the ACE-inheritance.pdf document so
it isn't gzipped. Thanks to Michael Searles
<msearles@base16.com> for reporting this.
Wed Jan 30 09:28:12 2002 Johnny Willemsen <jwillemsen@remedy.nl>
* XML/parser/debug_validator/Debug_Attributes_Builder.cpp:
* XML/parser/debug_validator/Debug_DTD_Manager.cpp:
* XML/parser/debug_validator/Debug_Element_Builder.cpp:
* XML/parser/debug_validator/Element_Tree.cpp:
Added missing ACE_LIB_TEXT. This fixes the BCB unicode build errors
Tue Jan 29 20:11:21 2002 Balachandran Natarajan <bala@cs.wustl.edu>
* etc/*.doxygen (EXPAND_AS_DEFINED): Added ACE_CACHE_MAP_MANAGER
to the list in EXPAND_AS_DEFINED. Thanks to Don Hinton
<dhinton@ieee.org> for the suggestion.
Tue Jan 29 19:36:24 2002 Balachandran Natarajan <bala@cs.wustl.edu>
* bin/make_release: The whole release process has been moved to
Linux box. This is because the sun machines at WashU were having
problems and they are not dependable. The following are the list
of changes made
- All the path related stuff have been changed ie. instead of
using /pkg/gnu tools, we use native tools on Linux now.
- The gnu suffixes to many of the tools have been removed.
- Most of the path to the tools have been hardcoded in the PATH
environment variabe.
- Tools that were missing have been loaded on 3 main Linux boxes
at WashU including Graphviz and doxygen.
- A beta cannot be cut from a sun box.
- The script will recommend cutting a beta from deuce.doc.
The script has been tested with a dummy release.
Tue Jan 29 16:01:54 2002 Ossama Othman <ossama@uci.edu>
* bin/fuzz.pl (check_for_missing_rir_env):
Check for ACE_ENV_ARG_PARAMETER instead of
TAO_ENV_ARG_PARAMETER. The latter is deprecated.
Tue Jan 29 20:47:24 2002 Oliver Kellogg <oliver.kellogg@sysde.eads.net>
* docs/exceptions.html: Document the new ACE_ENV_ macros.
* bin/subst_env.pl: Transform to ACE_ENV_ instead of TAO_ENV_.
Tue Jan 29 08:39:24 2002 Oliver Kellogg <oliver.kellogg@sysde.eads.net>
* ace/CORBA_macros.h:
Added ACE_ENV_ARG macros to replace the TAO_ENV_ARG macros
defined in TAO/tao/orbconf.h. All exception related macros
are now defined in ace/CORBA_macros.h, and the TAO_ENV_ARG
macros will soon be deprecated.
* include/makeinclude/wrapper_macros.GNU:
Added the include_env switch for compatibility with the
exception handling use before TAO 1.2.2.
Tue Jan 29 08:17:12 2002 Johnny Willemsen <jwillemsen@remedy.nl>
* include/makeinclude/ace_flags.bor:
Added compiler flags for new cosevent orbsvcs test library CECTEST
Added compiler flags for new notify orbsvcs test library NotifyTests
Mon Jan 28 17:44:51 2002 Steve Huston <shuston@riverace.com>
* ace/Process_Manager.cpp (wait): When waiting for a non-specific
process, specify -1 pid for waitpid(). This is necessary because
of Fri Jan 25 19:58:41 2002 Steve Huston <shuston@riverace.com>
change to not alter the process group ID when ACE_Process_Manager
spawns a process.
Timed waits for a process still don't work on non-Win32, but
this fix corrects the failed wait with errno == ECHILD.
Mon Jan 28 12:16:28 2002 Carlos O'Ryan <coryan@uci.edu>
* bin/auto_run_tests.lst:
Removed EC_Basic and Event_Latency tests from nightly builds, I
left them there by mistake when I took them out of the
repository (around December, 25th 2001)
Mon Jan 28 13:20:32 2002 Nanbor Wang <nanbor@cs.wustl.edu>
* XML/common/AttributesImpl.cpp: Removed a bunch of inline
designators.
Sun Jan 27 22:18:50 2002 Nanbor Wang <nanbor@cs.wustl.edu>
* bin/msvc_auto_compile.pl: Projects in XML subdirectory are
interdependent. List out the order they should be built
explicitly.
Sun Jan 27 12:48:48 2002 Ossama Othman <ossama@uci.edu>
* bin/auto_run_tests.lst
* bin/performance_stats.sh:
Updated in accordance with the new TAO "Latency" performance
test organization.
Sun Jan 27 12:08:45 2002 Nanbor Wang <nanbor@cs.wustl.edu>
* XML/common/Transcode.h (ACEXML_Transcoder): Improved the
documentation.
The followings fixed the Tru64 warnings/errors.
* XML/common/AttributesImpl.i (operator):
* XML/common/Env.i: Reordered inline functions.
* XML/tests/Transcoder_Test.cpp: Removed an unused argument.
* XML/common/Attributes_Def_Builder.h: Added inclusion of
"ace/Auto_Ptr.h".
* XML/examples/SAXPrint/SAXPrint_Handler.cpp:
* XML/examples/SAXPrint/Print_Handler.cpp: Added inclusion of
"ace/Log_Msg.h".
Sun Jan 27 15:03:12 2002 Johnny Willemsen <jwillemsen@remedy.nl>
* Makefile.bor:
Build the XML library with BCB
* XML/parser/Makefile.bor:
Added debug_validator
* XML/parser/debug_validator/Makefile.bor:
Added BCB makefile
Sat Jan 26 19:02:49 2002 Ossama Othman <ossama@uci.edu>
* ace/Process_Manager.cpp (register_handler):
Corrected code that always returned -1. Code that should only
have been run on error was always run since it was outside of an
"if block." Curly braces are a good thing (they were missing).
Sat Jan 26 21:41:39 2002 Steve Huston <shuston@riverace.com>
* ace/Process_Manager.cpp (wait): Fixed compiler warning on
Linux about unused wait_until. This fix removes the ability
to spin around the 'for' loop waiting for signals multiple
times with the timeout decreasing to account for wait time.
Will have to come back to restore this functionality later.
Sat Jan 26 14:40:12 2002 Johnny Willemsen <jwillemsen@remedy.nl>
* include/makeinclude/ace_flags.bor:
Added compiler and linker flags for new XML library
* XML/common/Makefile.bor:
* XML/parser/parser.Makefile.bor:
* XML/Makefile.bor:
* XML/parser/Makefile.bor:
* XML/tests/Makefile.bor:
Added BCB makefiles for the new XML library.
Fri Jan 25 19:58:41 2002 Steve Huston <shuston@riverace.com>
* ace/Process_Manager.cpp (wait(pid_t, const ACE_Time_Value &,
ACE_exitcode *status)): If platform offers sigtimedwait, use it
instead of setting ualarm and then doing sigwait. Once ualarm
is set, it will fire, even if this method has returned. This
causes Solaris processes to die on SIGALRM.
Also, do not play with the process group ID by default. It's
not needed for doing normal signal management by most processes.
If processes really have a need to change or set a new process
group, they need to do it explicitly by using ACE_OS::setpgid()
or by setting a process group ID in an ACE_Process_Options object
when spawning processes.
* tests/Process_Manager_Test.cpp: Added a bit more diagnostic info.
Fri Jan 25 18:29:37 2002 Steve Huston <shuston@riverace.com>
* ace/config-aix-4.x.h: Removed ACE_HAS_SIGTIMEDWAIT. It compiles,
but returns ENOSYS at run time.
* ace/config-aix5.1.h: Added ACE_HAS_SIGTIMEDWAIT.
Fri Jan 25 15:36:40 2002 Nanbor Wang <nanbor@cs.wustl.edu>
* ace/ace_dll.dsp: Removed /version flags from the project since
they have been taken care of by ace.rc file. Thanks to Ossama
for pointing it out.
Fri Jan 25 14:45:00 2002 Venkita Subramonian <venkita@cs.wustl.edu>
* bin/auto_run_tests.lst:
Added Two_Objects test to the list.
Fri Jan 25 14:40:15 2002 Nanbor Wang <nanbor@cs.wustl.edu>
* XML/common/Exception.cpp:
* XML/common/NamespaceSupport.cpp:
* XML/common/SAXExceptions.cpp:
* XML/parser/parser/Parser.cpp: Moved the initialization of static
members before the inclusion of inline files to avoid
compilation erros on Borland compiler. Thanks to Johnny
Willemsen <jwillemsen@remedy.nl> for figuring this out.
Fri Jan 25 14:31:06 2002 Nanbor Wang <nanbor@cs.wustl.edu>
* XML/common/NamespaceSupport.cpp:
* XML/parser/parser/Parser.cpp: Fixed several KCC warnings.
Fri Jan 25 12:01:14 2002 Nanbor Wang <nanbor@cs.wustl.edu>
The following changes fixed SunCC5.1 compilation errors.
* XML/common/Makefile:
* XML/parser/parser/Makefile:
* XML/tests/Makefile:
* XML/examples/SAXPrint/Makefile: Removed extra spaces for -I
flags.
* XML/common/Attributes_Def_Builder.h: Removed a redundant comma.
* XML/common/NamespaceSupport.i: Changed
ACE_TEMPLATE_METHOD_SPECIALIZATION to
ACE_TEMPLATE_SPECIALIZATION.
* XML/tests/NamespaceSupport_Test.cpp: String literals needed to
be assigned to const char *.
Fri Jan 25 09:42:12 2002 Ossama Othman <ossama@uci.edu>
* ace/ace_dll.dsp:
Corrected inconsistency in the DLL minor version. The correct
minor version for the ACE 5.2 series is "2," not "1."
Fri Jan 25 11:21:28 2002 Nanbor Wang <nanbor@cs.wustl.edu>
* bin/msvc_auto_compile.pl: Added XML into the list of auto build
targets.
Fri Jan 25 00:37:00 2002 Douglas C. Schmidt <schmidt@tango.doc.wustl.edu>
* We now have 1,400 contributors to the ACE+TAO software. Yow!
Thu Jan 24 17:49:46 2002 Balachandran Natarajan <bala@cs.wustl.edu>
* ace/CDR_Stream.i: Fixed the check for the length within
ACE_InputCDR::read_*_array (). The method was checking just for
length passed in, which happens to be the number of elements in
the array, instead of the number of bytes necessary for the
elements. Thanks to William R Volz <WRVO@chevrontexaco.com> for
reporting this.
* THANKS: Added William Volz to the hall of fame.
Thu Jan 24 18:31:49 2002 Steve Huston <shuston@riverace.com>
* tests/Process_Manager_Test.cpp: Better diagnostics added.
Thu Jan 24 15:14:52 2002 Nanbor Wang <nanbor@cs.wustl.edu>
* ace/Lib_Find.cpp (ldfind): Restored previously removed Win32
code and re-organized macros so we wouldn't upset CE builds.
Thu Jan 24 14:53:38 2002 Nanbor Wang <nanbor@cs.wustl.edu>
* bin/generate_doxygen.pl:
* etc/acexml.doxygen: Added the doxygen config file for XML
subdirectory.
* Makefile: Added XML subdirectory into the lists to be compiled
and be included in the release.
* XML/*: Merged in the XML parser code.
Thu Jan 24 10:14:47 2002 Nanbor Wang <nanbor@cs.wustl.edu>
* ace/ace_wchar.h: Added the definition for ACE_TEXT_SearchPath.
* ace/Lib_Find.cpp (ldfind): Fixed UNICODE and Fuzz builds
errors. Thanks to Johnny Willemsen <jwillemsen@remedy.nl> for
the fix.
Wed Jan 23 16:48:54 2002 Nanbor Wang <nanbor@cs.wustl.edu>
* ace/Lib_Find.h:
* ace/Lib_Find.cpp (ldfind): Change to use Win32 API SearchPath to
search for the target DLL and updated the document for ldfind in
header file. Thanks to Eugene Alterman
<Eugene.Alterman@bremer-inc.com> for submitting the patch.
Wed Jan 23 14:01:32 2002 Ossama Othman <ossama@uci.edu>
* ace/config-lynxos.h (ACE_LACKS_INET_ATON):
LynxOS does not implement the inet_aton() function.
Wed Jan 23 16:37:52 2002 Steve Huston <shuston@riverace.com>
* ace/NT_Service.cpp (insert): If the CreateService call fails,
be sure to save the error value before making another Win32 call
that will smash it. Thanks to Kelly Hickel <kfh@mqsoftware.com>
for reporting this.
Also ACE-ified the source better.
* examples/NT_Service/main.cpp: Added some ACE_ERROR output if
operations requested from the command line fail.
Wed Jan 23 16:14:43 2002 Boris Kolpackov <bosk@ipmce.ru>
* include/makeinclude/platform_sunos5_sunc++.GNU
Added work around for famous Sun CC "pure virtual function called"
bug. Unfortunately this involves introduction of yet another #define.
See TAO/tao/ValueBase.h for more information.
Tue Jan 22 21:27:25 2002 Balachandran Natarajan <bala@cs.wustl.edu>
* ace/ace_dll.vcp: Add Frameork_Component.* to the builds. Thanks
to Venkita for pointing it out.
Tue Jan 22 17:42:39 2002 Steve Huston <shuston@riverace.com>
* ace/NT_Service.(h cpp): Added two new methods:
void capture_log_msg_attributes (void): Grabs a copy of the
calling thread's ACE_OS_Log_Msg_Attributes to facilitate
inheritance of the logging attributes in the service thread.
void inherit_log_msg_attributes (void): Called in a service
thread, inherits the main thread's logging attributes.
Modified the ACE_NT_SERVICE_RUN macro to capture the main
thread's logging attributes before starting the service control
dispatcher. Modified the ACE_NT_SERVICE_DEFINE macro to call
inherit_log_msg_attributes if the ACE_NT_Service object for
the service was set up before the thread started.
Fixes Bugzilla # 82.
* examples/NT_Service/main.cpp:
* examples/NT_Service/ntsvc.cpp: Now writes a log file in the current
working directory which should have messages from both main and
service threads in it.
Tue Jan 22 15:19:29 2002 Nanbor Wang <nanbor@cs.wustl.edu>
* ace/DLL.cpp: Changed to invoke this->open() in the
constructor. Thanks to Eugene Alterman
<Alterman@bremer-inc.com> for motivating this.
Mon Jan 21 23:27:03 2002 Nanbor Wang <nanbor@cs.wustl.edu>
* ace/OS.h: Reordered main redefinition macros so that it actually
passed wchar argv to main when UNICODE is defined.
Mon Jan 21 10:01:34 2002 Frank Hunleth <fhunleth@cs.wustl.edu>
* bin/auto_run_tests.lst:
Added MIOP unit tests.
Mon Jan 21 03:00:14 2002 Ossama Othman <ossama@uci.edu>
* ace/Framework_Component.cpp (register_component):
Removed debugging statements that always printed text.
Mon Jan 21 07:45:12 2002 Johnny Willemsen <jwillemsen@remedy.nl>
* ace/Framework_Component.cpp:
Fixed fuzz error
Mon Jan 21 00:13:42 2002 Christopher Kohlhoff <chris@kohlhoff.com>
* ace/streams.h:
Workaround for Borland C++ 5.5.1 bug we have now just hit.
Sun Jan 20 21:42:53 2002 Balachandran Natarajan <bala@cs.wustl.edu>
* ace/Framework_Component.cpp:
* ace/Framework_Component_T.cpp: Fixed fuzz errors.
2002-01-20 Oliver Kellogg <oliver.kellogg@sysde.eads.net>
* bin/subst_env.pl: New script to ease the transition to the
TAO_ENV_ARG macros defined in TAO/tao/orbconf.h.
Sun Jan 20 12:38:28 2002 Balachandran Natarajan <bala@cs.wustl.edu>
* tests/Framework_Component_Test.dsp: New dsp file for the test.
* tests/tests.dsw: Added the above test to the workspace.
Sun Jan 20 12:25:28 2002 Balachandran Natarajan <bala@cs.wustl.edu>
* ace/Framework_Component.h: Removed the definition of the
default constructor (in ACE_UNIMPLEMENTED_FUNC definition). The
other private constructor with a default argument tends towards
a default constructor and VC++ signals a multiple definition
error. Not sure how g++ didnt signal this one.
* ace/Framework_Component_T.h: #include'd Framework_Component.h
* ace/Framework_Component_T.cpp: Added a #ifndef around the file.
* ace/ace_dll.dsp:
* ace/ace_lib.dsp: Added the Framwork_Component* files to the
project file.
Sun Jan 20 10:40:28 2002 Nanbor Wang <nanbor@cs.wustl.edu>
* tests/Vector_Test.dsp:
* tests/tests.dsw: Added a new project for Vector_Test.
Sun Jan 20 16:25:12 2002 Johnny Willemsen <jwillemsen@remedy.nl>
* ace/Makefile.bor:
Added new Framework_Component
* tests/Makefile.bor:
Added new Framework_Component_Test
Sun Jan 20 00:00:30 2002 UTC Don Hinton <dhinton@ieee.org>
* ace/Vector_T.cpp (dump): Commented out the contents of this
function for the time being. It assumed that the element
was an object with a dump() method, which won't always be
the case.
* tests/Vector_Test.cpp: Changed a few data types from signed
to unsigned, size_t, to get rid of compiler warnings.
Sat Jan 19 17:29:50 2002 Douglas C. Schmidt <schmidt@siesta.cs.wustl.edu>
* ace/Vector_T.cpp (dump): Fixed problems with this method. Thanks
to Don Hinton for reporting this.
* tests/Vector_Test.cpp: Changed the typedef of DATA from int to
size_t to avoid "type mismatch" compiler warnings. Thanks to
Don Hinton for reporting this.
Sat Jan 19 22:30:26 UTC 2002 Don Hinton <dhinton@ieee.org>
* apps/JAWS2/JAWS/Hash_Bucket_T.h:
* apps/JAWS2/JAWS/Assoc_Array.h: Added missing keyword "class" to
friend declarations.
* ace/SString.cpp: Removed unneeded include of Service_Config.h.
* ace/Service_Config.{h|cpp}:
* examples/Connection/misc/Connection_Handler.cpp:
Removed static methods from ACE_Service_Config that delegated to
ACE_Reactor::instance(), and fixed a few instances where they were
still called.
* ace/Object_Manager.cpp:
* ace/Service_Config.cpp:
* ace/Proactor.cpp:
* ace/Reactor.cpp:
Added call to instance() methods that registers the singleton with
the new ACE_Framework_Repository so it can handle destruction, and
replaced explicit references to ACE_Reactor and ACE_Proactor with
calls to ACE_Framework_Repository.
* ace/Framework_Component.{h|inl|cpp}:
* ace/Framework_Component_T.{h|inl|cpp}:
* ace/Makefile:
* tests/Framework_Component_Test.cpp:
* tests/Makefile:
* tests/run_test.lst:
Added ACE_Framework_Repository to manage ACE_Framework_Component's,
e.g., singletons like ACE_Reactor or ACE_Proactor. It uses
External Polymorphism obviating any interface changes. The
components register themselves with repository in their instance
methods. This allows the Object_Manager and Service_Config to
manage these components without having to know about them a priori.
This was needed to reduce footprint for applications like TAO that
don't need to use all the available components, e.g., ACE_Proactor.
Sat Jan 19 10:23:39 2002 Douglas C. Schmidt <schmidt@macarena.cs.wustl.edu>
* ace/Makefile (TEMPLATE_FILES):
* tests/Makefile.bor:
* tests/Makefile:
* tests/run_test.lst:
* ace/Vector_T.{h,i,cpp}:
* tests/Vector_Test.cpp: Added support for the new ACE_Vector to
the appropriate places. This vector behaves like the STL
vector. Thanks to Gonzo and Craig Ching for contributing this.
* ace/Future_Set.h: Updated the documentation to explain how
various features work better. Thanks to Johnny Tucker for
contributing this.
Fri Jan 18 19:09:41 2002 Steve Huston <shuston@riverace.com>
* tests/run_test.lst: Re-enabled Process_Manager_Test for all but
Chorus and VxWorks. Could not find a reason it was disabled.
Also enabled Process_Mutex_Test on Win32.
Fri Jan 18 16:44:29 2002 Steve Huston <shuston@riverace.com>
* ace/ace.icc: Added Reactor_Notification_Strategy.(h cpp) sources.
* ace/Reactor_Notification_Strategy.cpp: Fixed ACE_RCSID to refer to
Reactor_Notification_Strategy, not Strategies.
* tests/Get_Opt_Test.icc:
* tests/INET_Addr_Test.icc: New Visual Age C++ configs for these tests.
* tests/tests.icp: Added Get_Opt_Test.icc and INET_Addr_Test.icc
Fri Jan 18 12:56:36 2002 Douglas C. Schmidt <schmidt@macarena.cs.wustl.edu>
* ace/Log_Msg.cpp (init_backend): Added support for SysLog on platforms
that don't lack it. Thanks to Alexei I. Adamovich
<lexa@adam.botik.ru> for reporting this fix.
Fri Jan 18 10:29:06 2002 Ossama Othman <ossama@uci.edu>
* ace/Service_Config.h (process_file):
* ace/Service_Config.cpp (process_directives, process_file):
Factored out code that processes a svc.conf file into the new
static process_file() method. This allows svc.conf files to be
explicitly parsed by the application at any arbitrary point in
time instead of Service Configuration initialization time alone.
Thu Jan 17 18:51:09 2002 Douglas C. Schmidt <schmidt@macarena.cs.wustl.edu>
* ace/Name_Space.cpp (operator =): Fixed a memory leak. Thanks
to Ian Cahoon <icahoon@cisco.com> for reporting this.
Thu Jan 17 12:13:51 2002 Ossama Othman <ossama@uci.edu>
* ace/SSL/SSL_Context.h (private_key, verify_private_key):
Added new documentation. These methods should only be called
after a certificate has been set since key verification is
performed against the certificate, among other things.
Thu Jan 17 13:11:27 2002 Chad Elliott <elliott_c@ociweb.com>
* ace/Message_Queue.h:
* ace/Message_Queue.cpp:
* ace/Message_Queue_T.h:
* ace/Message_Queue_T.cpp:
Provide the ability to enqueue based on the message deadline and
to dequeue based on priority, deadline and from the end.
Wed Jan 16 11:24:52 2002 Priyanka Gontla <pgontla@ece.uci.edu>
* THANKS:
Updated to add Gerhard Voss <Gerhard_Voss@t-online.de>.
Wed Jan 16 06:19:01 2002 Douglas C. Schmidt <schmidt@siesta.cs.wustl.edu>
* ace/OS.i: Replaced "set" with "sset" in sigtimedwait() and sigwait()
to avoid STL symbol clashes with MSVC++ 6.0. Thanks to Shmulik
Regev <shmul@vself.com> for reporting this.
Wed Jan 16 09:01:12 2002 Johnny Willemsen <jwillemsen@remedy.nl>
* ace/Containers_T.{h,cpp}:
Added ACE_Fixed_Set_Const_Iterator to make it possible to
iterate through a const ACE_Fixed_Set instance
Wed Jan 16 07:53:12 2002 Johnny Willemsen <jwillemsen@remedy.nl>
* include/makeinclude/ace_flags.bor:
Added new flags for the new TAO ETCL orbsvcs library
Tue Jan 15 17:24:53 2002 Steve Huston <shuston@riverace.com>
* ace/SSL/SSL_Context.cpp (report_error()): Set ACE_OS::last_error()
to ERR_get_error() so the caller can get the error code later.
* ace/SSL/SSL_SOCK_Connector.cpp: If the SSL handshake phase of a
connection attempt fails, close the underlying socket.
Tue Jan 15 15:35:41 2002 Steve Huston <shuston@riverace.com>
* ace/SOCK_Connector.(h cpp):
* ace/LSOCK_Connector.(h i cpp):
* ace/MEM_Connector.(h cpp):
* ace/SSL/SSL_SOCK_Connector.(h cpp):
Improved the Doxygenation and removed the protocol_family and
protocol arguments from the ctors and connect() methods. The
protocol family is always taken from the ACE_Addr remote_sap
argument since it can now be either PF_INET or PF_INET6 (for
SOCK_Connector objects) and should be PF_UNIX for LSOCKs.
It is pointless to allow the user to request something that
is impossible to do correctly.
Tue Jan 15 10:52:12 2002 Johnny Willemsen <jwillemsen@remedy.nl>
* include/makeinclude/ace_flags.bor:
Added new flags for the new TAO PortableGroup library
Mon Jan 14 14:40:25 2002 Carlos O'Ryan <coryan@uci.edu>
* bin/g++dep:
Fixed small problems in the dependency generation:
- The script did not properly handle files with '+' in their
names.
- In some cases the script generated escaped blanks, i.e. lines
containing a blank preceded by a backslash. Such blanks are
interpreted as part of a dependency name and break havoc with
the builds.
Mon Jan 14 16:49:37 2002 Steve Huston <shuston@riverace.com>
* ace/OS.h (ACE_STATIC_SVC_DEFINE): Corrected the documentation to
say the service-implementing class must be derived from
ACE_Service_Object, not ACE_Service_Config.
Mon Jan 14 07:40:16 2002 Douglas C. Schmidt <schmidt@macarena.cs.wustl.edu>
* ace/OS.i (mmap): There was a typo that prevented the ACE Memory Map
stuff from working properly on Win9x. Thanks to Edan Ayal
<edanayal@yahoo.com> for reporting this.
Sun Jan 13 18:59:37 2002 Douglas C. Schmidt <schmidt@macarena.cs.wustl.edu>
* ace/Memory_Pool.{h,cpp}: Added a new option that makes is possible
to control whether or not a fixed address will be used when
remapping a memory-mapped file. Thanks to Jonathan Reis
<reis@stentor.com> for this enhancement.
Mon Jan 14 11:02:12 2002 Johnny Willemsen <jwillemsen@remedy.nl>
* include/makeinclude/ace_flags.bor:
Added flags for new TAO FT_ORB library
Sun Jan 13 08:20:05 2002 Craig Rodrigues <crodrigu@bbn.com>
* ace/config-all.h: Make sure that ACE_bad_alloc
is defined as std::bad_alloc if
ACE_USES_STD_NAMESPACE_FOR_STDCPP_LIB macro is set.
Fixes gcc 3.0.3 compilation problem.
Fri Jan 11 22:54:22 2002 Balachandran Natarajan <bala@cs.wustl.edu>
* ace/config-lynxos.h: Added #define ACE_HAS_USING_KEYWORD to teh
file. The compiler supports namespaces. According to the new
rules at the doc_group, we dont use any compilers that dont
support namespaces. The above macro is itself a waste. But we
cannot remove it overnight as it has far reaching
consequences. Working around that for the timebeing.
Thu Jan 10 18:35:41 2002 Steve Huston <shuston@riverace.com>
* ace/Profile_Timer.h: Clarified that elapsed_time() calculates time
from start() to stop(). Improved Doxygenation.
Thu Jan 10 16:53:41 2002 Nanbor Wang <nanbor@cs.wustl.edu>
* examples/Service_Configurator/IPC-tests/server/server.dsp: The
Release version of the library needs to link in ADVAPI32.LIB as
GetUserName is used in ACE's inline code.
Wed Jan 9 22:07:50 2002 Douglas C. Schmidt <schmidt@macarena.cs.wustl.edu>
* ace/Logging_Strategy.cpp (fini): Make sure to cancel the
timer if interval_ and max_size_ are > 0. Thanks to Yaniv Ben
Ari <yanivb@bis.co.il> for reporting this.
Wed Jan 9 11:38:58 2002 Ossama Othman <ossama@uci.edu>
* tests/SSL/Makefile (LDLIBS):
Added missing SSL and crypto libraries. Fixed link errors.
Thanks to Marvin Wolfthal <maw@weichi.com> for reporting the
error and suggesting a fix.
Wed Jan 9 12:24:39 2002 Steve Huston <shuston@riverace.com>
* ace/Process.cpp (spawn): Don't attempt ACE_OS::setpgid if
ACE_LACKS_SETPGID is defined. Thanks to Victor Terber
<vterber@csksoftware.de> for reporting this.
Wed Jan 09 11:19:07 2002 Nanbor Wang <nanbor@cs.wustl.edu>
* ace/OS.h: Updated the comment for ACE_CE_Bridge to indicate that
it's obsolete and will be removed in the future.
Wed Jan 9 00:48:48 2002 Don Hinton <dhinton@gmx.net>
* ace/Get_Opt.cpp: Make sure to cast away constness
before deleting an ACE_TCHAR array. Thanks to
Bala for reporting this.
Tue Jan 8 17:29:33 2002 Steve Huston <shuston@riverace.com>
* ace/SSL/SSL_SOCK_Connector.cpp: Don't try to dereference a 0
timeout pointer. Gack. Thanks to Ossama for pointing this out.
Tue Jan 8 15:51:06 2002 Don Hinton <dhinton@gmx.net>
* ace/Get_Opt.cpp
* ace/Service_Config.cpp:
Moved the template instantiations from Service_Config.cpp to
Get_Opt.cpp where they belong.
* ace/Get_Opt.{h.cpp}: Replaced ACE_TString with ACE_TCHAR for
type of member variable ACE_Get_Opt_Long_Option since it
wasn't really needed and took up space.
Tue Jan 8 10:43:48 2002 Ossama Othman <ossama@uci.edu>
* ace/config-sunos5.5.h (ACE_LACKS_INET_ATON):
Solaris does indeed implement the inet_aton() function, but it
is found in `libresolv.*'. It doesn't seem worth it to link
another library just for that function. Just use the emulation
in ACE that has been used for years.
Tue Jan 8 11:31:22 2002 Steve Huston <shuston@riverace.com>
* tests/Makefile: When doing realclean, use the DLL_Test and
Service_Config_DLL Makefiles to clean their files up.
Tue Jan 8 08:36:33 2002 Steve Huston <shuston@riverace.com>
* ace/SSL/SSL_SOCK_Acceptor.cpp (ssl_accept):
* ace/SSL/SSL_SOCK_Connector.cpp (ssl_connect): Corrected order
of operations checking EWOULDBLOCK, and fixed compile errors.
Thanks to Vlado Chovanec <Vladimir.CHOVANEC@asset.sk> for this fix.
Mon Jan 7 19:55:39 2002 Steve Huston <shuston@riverace.com>
* ace/SSL/SSL_SOCK_Acceptor.cpp (ssl_accept):
* ace/SSL/SSL_SOCK_Connector.cpp (ssl_connect): Added extra check
for SSL_accept/connect status failure to avoid looping on a bad
socket if the socket closes during handshake. Thanks to Vlado
Chovanec <Vladimir.CHOVANEC@asset.sk> for this fix.
Also added timeout countdown support for SSL_SOCK_Connector, same
as in: Sun Jan 6 09:37:02 2002 Ossama Othman <ossama@uci.edu>
Mon Jan 7 15:55:26 2002 Ossama Othman <ossama@uci.edu>
* ace/INET_Addr.cpp (set):
Pass a pointer to a "struct in_addr" to inet_aton(), i.e. the
proper type, instead of a forcibly casted ACE_UINT32. Also
updated existing code to use the in_addr::s_addr member instead
of the previous ACE_UINT32 variable.
Mon Jan 7 15:13:09 2002 Mayur Deshpande <mayur@ics.uci.edu>
* performance-tests/Misc/context_switch_time.cpp (main):
Since the Yield_test does seem to work on VxWorks now (see
ChangeLog below), the 'ifdefs' for bypassing VxWorks for the
Yield-Test have now been removed.
Mon Jan 7 15:08:25 2002 Mayur Deshpande <mayur@ics.uci.edu>
* ace/OS.i (thr_yield):
Changed ::taskDelay (1) to ::taskDelay (0) for VxWorks in
thr_yield (). The change with (0), now does seem to perform
the yield correctly as reflected in the Yield-Test of
context_switch_time. Thanks to Charlie Grames
<charlie.grames@windriver.com> for this tip.
Mon Jan 7 15:16:10 2002 Ossama Othman <ossama@uci.edu>
* ace/OS.h (INADDR_NONE):
If the platform does not define this constant, then define it.
* ace/OS.cpp (inet_aton):
For some reason we were emulating inet_aton() on all platforms
using the now deprecated inet_addr() function. Use the native
inet_aton() function unless ACE_LACKS_INET_ATON is defined.
Instead of performing a memcpy() of the IPv4 32-bit address into
the in_addr data structure, simply assign it to the s_addr field
of that data structure. It's not clear why we didn't do this in
the first place.
(inet_ntoa):
Fixed PSoS emulation of this method. The result is supposed to
be stored in a statically allocated string, not a dynamically
allocated one. Fixes a memory leak. Note that this change
makes the implementation non-reentrant. However, inet_ntoa()
was not designed to be reentrant to begin with.
* ace/OS.i (inet_addr):
On error, inet_addr() is supposed to return INADDR_NONE.
The return value should be a 32 bit unsigned integer, not a
signed one.
* ace/config-win32-common.h:
MS Windows does not support the inet_aton() function. Define
ACE_LACKS_INET_ATON.
Mon Jan 7 12:20:26 2002 Ossama Othman <ossama@uci.edu>
* bin/auto_run_tests.lst:
Added the MT_SSLIOP test to the regression test suite list.
Sun Jan 6 21:19:10 2002 John Aughey <jha@cs.wustl.edu>
* tests/run_test.lst: Uncommented out Conn_Test from daily builds.
Sun Jan 6 21:09:10 2002 John Aughey <jha@cs.wustl.edu>
* ace/INET_Addr.cpp:
* ace/INET_Addr.h:
Reverted to January 1 version until I have time to put the
set_host_name() method in correctly.
Sun Jan 6 20:01:10 2002 Balachandran Natarajan <bala@cs.wustl.edu>
* tests/run_test.lst: Commented out Conn_Test from the daily
builds. This test seems to hang blocking build progress. Have
sent a mail to John Aughey on this.
Sun Jan 6 09:37:02 2002 Ossama Othman <ossama@uci.edu>
* ace/SSL/SSL_SOCK_Acceptor.cpp (accept, ssl_accept):
Take into account the time to complete the basic TCP handshake
and the SSL handshake. Specifically, ACE_Countdown_Time is used
to reduce the timeout value after each IO operation
(e.g. accept(), SSL_accept()) used during SSL passive connection
establishment. [Bug 1110]
Commented out debugging statements.
Sat Jan 5 20:57:36 2002 Venkita Subramonian <venkita@cs.wustl.edu>
* ace/Future.cpp (get): Added another ACE_const_cast in addition
to Doug's changes to fix compile errors. See below.
Sat Jan 5 14:57:36 2002 Craig Rodrigues <crodrigu@bbn.com>
* ace/OS_QoS.h: Fix comments, put in doxygen format.
Sat Jan 5 08:59:41 2002 Douglas C. Schmidt <schmidt@macarena.cs.wustl.edu>
* ace/Future.cpp (get): Added an ACE_const_cast() to silence certain
C++ compilers. Thanks to Venkita for reporting this.
Fri Jan 5 15:17:12 2002 Johnny Willemsen <jwillemsen@remedy.nl>
* ace/OS.{h,cpp}:
Added ACE_TSS_Emulation::release_key() method to release a
thread_key within the TSS_Emulation when a thread is stopped.
Added ACE_TSS_Emulation::tss_keys_used_ member to administrate which
thread_keys are used and which not.
Added ACE_TSS_Keys::is_set() method to test whether a specific
thread_key is marked as used.
Changed ACE_TSS_Emulation::next_key() method to return a thread_key
that is not used yet, this key is then marked as used at the same
time.
Changed ACE_OS::thr_keyfree() method to release the key in the
TSS_Emulation when ACE_HAS_TSS_EMULATION is defined.
These changes fix the bugzilla bugs 223 and 657. The ACE_TSS_Emulation
now recycles keys that are released earlier.
Fri Jan 4 19:59:03 2002 John Aughey <jha@cs.wustl.edu>
* ace/INET_Addr.cpp: Fixed the new set_host_name method
Fri Jan 4 18:59:27 2002 Balachandran Natarajan <bala@cs.wustl.edu>
* ChangeLogs/ChangeLog-01b: Added a new file. Trimmed this file
to have entries only in 2002.
Fri Jan 4 15:50:42 2002 Steve Huston <shuston@riverace.com>
* ace/SSL/SSL_SOCK_Acceptor.cpp (ssl_accept):
* ace/SSL/SSL_SOCK_Connector.cpp (ssl_connect):
On ACE::select-reported timeout or failure, set status to return
a -1 to caller, not 0. Thanks to Vladimir Chovanec
<Vladimir.CHOVANEC@asset.sk> for reporting this and sending a fix.
Fri Jan 4 08:31:49 2002 Douglas C. Schmidt <schmidt@tango.doc.wustl.edu>
* tests/Thread_Manager_Test.cpp (test_task_record_keeping): Fixed
a typo in an expression on line 226. Thanks to Harvinder
Sawhney <harvindersawhney@yahoo.com> for reporting this.
Fri Jan 4 05:51:22 2002 Douglas C. Schmidt <schmidt@ace.cs.wustl.edu>
* ace/Future.{h,cpp}: Made the get() and ready() methods const.
Thanks to Ran Kohavi <ran@kashya.con> for reporting this.
Fri Jan 4 15:06:31 2002 Steve Huston <shuston@riverace.com>
* ace/String_Base.h (operator=): Add <CHAR> to ACE_String_Base
return type. Fixes compile error on IBM C/C++.
* ace/SSL/SSL_SOCK_Acceptor.cpp (ssl_accept):
If SSL_get_error() returns SSL_ERROR_SYSCALL and it's EWOULDBLOCK,
don't blindly set both read and write handles for select. Check
if SSL is indicating SSL_want_write() and set the proper handle.
Also, don't ACE_ASSERT SSL_pending before return... if there's
an SSL handshake screw-up (like someone trying to break in)
just report the failure, don't abort/crash.
Wed Jan 02 13:27:09 2002 Nanbor Wang <nanbor@cs.wustl.edu>
* ace/INET_Addr.h:
* ace/INET_Addr.cpp: Removed tabs and trailing whitespaces.
Wed Jan 2 08:19:18 2002 Douglas C. Schmidt <schmidt@ace.cs.wustl.edu>
* ace/FILE_Connector.h,
* ace/OS.h (ACE_OS): Clarified the weak semantics of O_APPEND
on Win32. Thanks to Eugene Alterman <eugalt@myrealbox.com> for
reporting this.
Wed Jan 2 12:43:00 2002 John Aughey <jha@aughey.com>
* ace/INET_Addr.h
* ace/INET_Addr.cpp : Added set_host_name method and moved
relevant code into this method. Changed signature of
set_address method to take a void pointer rather than a
char *.
Wed Jan 2 12:30:01 2002 Chris Gill <cdgill@cs.wustl.edu>
* ace/RB_Tree.i
* tests/RB_Tree_Test.cpp : added check for valid current node to
forward_i and reverse_i methods of iterator base class. Thanks to
Craig L. Ching <cching@mqsoftware.com> for reporting this!
Wed Jan 2 08:19:18 2002 Douglas C. Schmidt <schmidt@ace.cs.wustl.edu>
* tests/README: Clarify that run_test.pl should be used rather
the run_tests.sh.
* tests/run_tests.bat: Clarify that run_test.pl should be used
on Win9x. Thanks to Edward A Thompson <ed4becky_2000@yahoo.com>
for prompting this.
Wed Jan 2 07:37:01 2002 Balachandran Natarajan <bala@cs.wustl.edu>
* ace/Handle_Set.h:
* ace/Handle_Set.cpp: Added a method reset_state () to the
ACE_Handle_Set_Iterator class.
Tue Jan 2 11:39:12 2002 Johnny Willemsen <jwillemsen@remedy.nl>
* ace/OS.i:
Added missing ACE_UNUSED_ARG in ACE_OS::event_timedwait
Tue Jan 1 15:36:39 2002 Steve Huston <shuston@riverace.com>
* include/makeinclude/platform_sunos5_sunc++.GNU: Added support
for the buildbits=64 make option.
Tue Jan 1 20:05:12 2002 Johnny Willemsen <jwillemsen@remedy.nl>
* ace/Name_Request_Reply.{h,cpp}:
Changed type of 3 constructor arguments from size_t to ACE_UINT32
because the members in which these arguments are stored are also
of type ACE_UINT32
* ace/OS.i
In ACE_OS::umask method, changed the type in the ACE_OSCALL_RETURN
macro from int to mode_t because that is the return type of the
method
Tue Jan 1 08:47:25 2002 Douglas C. Schmidt <schmidt@siesta.cs.wustl.edu>
* ace/Thread.h: Clarify how the ACE_Thread_Adapter is deleted
when spawn() is called. Thanks to Preston Elder
<prez@srealm.net.au> for reporting this confusion.
Tue Jan 1 14:09:26 2002 Johnny Willemsen <jwillemsen@remedy.nl>
* examples/Map_Manager/test_hash_map_manager.cpp:
Made this example compiling when ACE_USES_WCHAR is set
* Makefile.bor:
Added examples directory because all examples for which there are
BCB makefiles now build when ACE_USES_WCHAR is set
Tue Jan 1 00:02:12 2002 Nanbor Wang <nanbor@cs.wustl.edu>
* ace/ace_dll.vcp: Added String_Base_Const.*.
|