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
|
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 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.*.
|