1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
153
154
155
156
157
158
159
160
161
162
163
164
165
166
167
168
169
170
171
172
173
174
175
176
177
178
179
180
181
182
183
184
185
186
187
188
189
190
191
192
193
194
195
196
197
198
199
200
201
202
203
204
205
206
207
208
209
210
211
212
213
214
215
216
217
218
219
220
221
222
223
224
225
226
227
228
229
230
231
232
233
234
235
236
237
238
239
240
241
242
243
244
245
246
247
248
249
250
251
252
253
254
255
256
257
258
259
260
261
262
263
264
265
266
267
268
269
270
271
272
273
274
275
276
277
278
279
280
281
282
283
284
285
286
287
288
289
290
291
292
293
294
295
296
297
298
299
300
301
302
303
304
305
306
307
308
309
310
311
312
313
314
315
316
317
318
319
320
321
322
323
324
325
326
327
328
329
330
331
332
333
334
335
336
337
338
339
340
341
342
343
344
345
346
347
348
349
350
351
352
353
354
355
356
357
358
359
360
361
362
363
364
365
366
367
368
369
370
371
372
373
374
375
376
377
378
379
380
381
382
383
384
385
386
387
388
389
390
391
392
393
394
395
396
397
398
399
400
401
402
403
404
405
406
407
408
409
410
411
412
413
414
415
416
417
418
419
420
421
422
423
424
425
426
427
428
429
430
431
432
433
434
435
436
437
438
439
440
441
442
443
444
445
446
447
448
449
450
451
452
453
454
455
456
457
458
459
460
461
462
463
464
465
466
467
468
469
470
471
472
473
474
475
476
477
478
479
480
481
482
483
484
485
486
487
488
489
490
491
492
493
494
495
496
497
498
499
500
501
502
503
504
505
506
507
508
509
510
511
512
513
514
515
516
517
518
519
520
521
522
523
524
525
526
527
528
529
530
531
532
533
534
535
536
537
538
539
540
541
542
543
544
545
546
547
548
549
550
551
552
553
554
555
556
557
558
559
560
561
562
563
564
565
566
567
568
569
570
571
572
573
574
575
576
577
578
579
580
581
582
583
584
585
586
587
588
589
590
591
592
593
594
595
596
597
598
599
600
601
602
603
604
605
606
607
608
609
610
611
612
613
614
615
616
617
618
619
620
621
622
623
624
625
626
627
628
629
630
631
632
633
634
635
636
637
638
639
640
641
642
643
644
645
646
647
648
649
650
651
652
653
654
655
656
657
658
659
660
661
662
663
664
665
666
667
668
669
670
671
672
673
674
675
676
677
678
679
680
681
682
683
684
685
686
687
688
689
690
691
692
693
694
695
696
697
698
699
700
701
702
703
704
705
706
707
708
709
710
711
712
713
714
715
716
717
718
719
720
721
722
723
724
725
726
727
728
729
730
731
732
733
734
735
736
737
738
739
740
741
742
743
744
745
746
747
748
749
750
751
752
753
754
755
756
757
758
759
760
761
762
763
764
765
766
767
768
769
770
771
772
773
774
775
776
777
778
779
780
781
782
783
784
785
786
787
788
789
790
791
792
793
794
795
796
797
798
799
800
801
802
803
804
805
806
807
808
809
810
811
812
813
814
815
816
817
818
819
820
821
822
823
824
825
826
827
828
829
830
831
832
833
834
835
836
837
838
839
840
841
842
843
844
845
846
847
848
849
850
851
852
853
854
855
856
857
858
859
860
861
862
863
864
865
866
867
868
869
870
871
872
873
874
875
876
877
878
879
880
881
882
883
884
885
886
887
888
889
890
891
892
893
894
895
896
897
898
899
900
901
902
903
904
905
906
907
908
909
910
911
912
913
914
915
916
917
918
919
920
921
922
923
924
925
926
927
928
929
930
931
932
933
934
935
936
937
938
939
940
941
942
943
944
945
946
947
948
949
950
951
952
953
954
955
956
957
958
959
960
961
962
963
964
965
966
967
968
969
970
971
972
973
974
975
976
977
978
979
980
981
982
983
984
985
986
987
988
989
990
991
992
993
994
995
996
997
998
999
1000
1001
1002
1003
1004
1005
1006
1007
1008
1009
1010
1011
1012
1013
1014
1015
1016
1017
1018
1019
1020
1021
1022
1023
1024
1025
1026
1027
1028
1029
1030
1031
1032
1033
1034
1035
1036
1037
1038
1039
1040
1041
1042
1043
1044
1045
1046
1047
1048
1049
1050
1051
1052
1053
1054
1055
1056
1057
1058
1059
1060
1061
1062
1063
1064
1065
1066
1067
1068
1069
1070
1071
1072
1073
1074
1075
1076
1077
1078
1079
1080
1081
1082
1083
1084
1085
1086
1087
1088
1089
1090
1091
1092
1093
1094
1095
1096
1097
1098
1099
1100
1101
1102
1103
1104
1105
1106
1107
1108
1109
1110
1111
1112
1113
1114
1115
1116
1117
1118
1119
1120
1121
1122
1123
1124
1125
1126
1127
1128
1129
1130
1131
1132
1133
1134
1135
1136
1137
1138
1139
1140
1141
1142
1143
1144
1145
1146
1147
1148
1149
1150
1151
1152
1153
1154
1155
1156
1157
1158
1159
1160
1161
1162
1163
1164
1165
1166
1167
1168
1169
1170
1171
1172
1173
1174
1175
1176
1177
1178
1179
1180
1181
1182
1183
1184
1185
1186
1187
1188
1189
1190
1191
1192
1193
1194
1195
1196
1197
1198
1199
1200
1201
1202
1203
1204
1205
1206
1207
1208
1209
1210
1211
1212
1213
1214
1215
1216
1217
1218
1219
1220
1221
1222
1223
1224
1225
1226
1227
1228
1229
1230
1231
1232
1233
1234
1235
1236
1237
1238
1239
1240
1241
1242
1243
1244
1245
1246
1247
1248
1249
1250
1251
1252
1253
1254
1255
1256
1257
1258
1259
1260
1261
1262
1263
1264
1265
1266
1267
1268
1269
1270
1271
1272
1273
1274
1275
1276
1277
1278
1279
1280
1281
1282
1283
1284
1285
1286
1287
1288
1289
1290
1291
1292
1293
1294
1295
1296
1297
1298
1299
1300
1301
1302
1303
1304
1305
1306
1307
1308
1309
1310
1311
1312
1313
1314
1315
1316
1317
1318
1319
1320
1321
1322
1323
1324
1325
1326
1327
1328
1329
1330
1331
1332
1333
1334
1335
1336
1337
1338
1339
1340
1341
1342
1343
1344
1345
1346
1347
1348
1349
1350
1351
1352
1353
1354
1355
1356
1357
1358
1359
1360
1361
1362
1363
1364
1365
1366
1367
1368
1369
1370
1371
1372
1373
1374
1375
1376
1377
1378
1379
1380
1381
1382
1383
1384
1385
1386
1387
1388
1389
1390
1391
1392
1393
1394
1395
1396
1397
1398
1399
1400
1401
1402
1403
1404
1405
1406
1407
1408
1409
1410
1411
1412
1413
1414
1415
1416
1417
1418
1419
1420
1421
1422
1423
1424
1425
1426
1427
1428
1429
1430
1431
1432
1433
1434
1435
1436
1437
1438
1439
1440
1441
1442
1443
1444
1445
1446
1447
1448
1449
1450
1451
1452
1453
1454
1455
1456
1457
1458
1459
1460
1461
1462
1463
1464
1465
1466
1467
1468
1469
1470
1471
1472
1473
1474
1475
1476
1477
1478
1479
1480
1481
1482
1483
1484
1485
1486
1487
1488
1489
1490
1491
1492
1493
1494
1495
1496
1497
1498
1499
1500
1501
1502
1503
1504
1505
1506
1507
1508
1509
1510
1511
1512
1513
1514
1515
1516
1517
1518
1519
1520
1521
1522
1523
1524
1525
1526
1527
1528
1529
1530
1531
1532
1533
1534
1535
1536
1537
1538
1539
1540
1541
1542
1543
1544
1545
1546
1547
1548
1549
1550
1551
1552
1553
1554
1555
1556
1557
1558
1559
1560
1561
1562
1563
1564
1565
1566
1567
1568
1569
1570
1571
1572
1573
1574
1575
1576
1577
1578
1579
1580
1581
1582
1583
1584
1585
1586
1587
1588
1589
1590
1591
1592
1593
1594
1595
1596
1597
1598
1599
1600
1601
1602
1603
1604
1605
1606
1607
1608
1609
1610
1611
1612
1613
1614
1615
1616
1617
1618
1619
1620
1621
1622
1623
1624
1625
1626
1627
1628
1629
1630
1631
1632
1633
1634
1635
1636
1637
1638
1639
1640
1641
1642
1643
1644
1645
1646
1647
1648
1649
1650
1651
1652
1653
1654
1655
1656
1657
1658
1659
1660
1661
1662
1663
1664
1665
1666
1667
1668
1669
1670
1671
1672
1673
1674
1675
1676
1677
1678
1679
1680
1681
1682
1683
1684
1685
1686
1687
1688
1689
1690
1691
1692
1693
1694
1695
1696
1697
1698
1699
1700
1701
1702
1703
1704
1705
1706
1707
1708
1709
1710
1711
1712
1713
1714
1715
1716
1717
1718
1719
1720
1721
1722
1723
1724
1725
1726
1727
1728
1729
1730
1731
1732
1733
1734
1735
1736
1737
1738
1739
1740
1741
1742
1743
1744
1745
1746
1747
1748
1749
1750
1751
1752
1753
1754
1755
1756
1757
1758
1759
1760
1761
1762
1763
1764
1765
1766
1767
1768
1769
1770
1771
1772
1773
1774
1775
1776
1777
1778
1779
1780
1781
1782
1783
1784
1785
1786
1787
1788
1789
1790
1791
1792
1793
1794
1795
1796
1797
1798
1799
1800
1801
1802
1803
1804
1805
1806
1807
1808
1809
1810
1811
1812
1813
1814
1815
1816
1817
1818
1819
1820
1821
1822
1823
1824
1825
1826
1827
1828
1829
1830
1831
1832
1833
1834
1835
1836
1837
1838
1839
1840
1841
1842
1843
1844
1845
1846
1847
1848
1849
1850
1851
1852
1853
1854
1855
1856
1857
1858
1859
1860
1861
1862
1863
1864
1865
1866
1867
1868
1869
1870
1871
1872
1873
1874
1875
1876
1877
1878
1879
1880
1881
1882
1883
1884
1885
1886
1887
1888
1889
1890
1891
1892
1893
1894
1895
1896
1897
1898
1899
1900
1901
1902
1903
1904
1905
1906
1907
1908
1909
1910
1911
1912
1913
1914
1915
1916
1917
1918
1919
1920
1921
1922
1923
1924
1925
1926
1927
1928
1929
1930
1931
1932
1933
1934
1935
1936
1937
1938
1939
1940
1941
1942
1943
1944
1945
1946
1947
1948
1949
1950
1951
1952
1953
1954
1955
1956
1957
1958
1959
1960
1961
1962
1963
1964
1965
1966
1967
1968
1969
1970
1971
1972
1973
1974
1975
1976
1977
1978
1979
1980
1981
1982
1983
1984
1985
1986
1987
1988
1989
1990
1991
1992
1993
1994
1995
1996
1997
1998
1999
2000
2001
2002
2003
2004
2005
2006
2007
2008
2009
2010
2011
2012
2013
2014
2015
2016
2017
2018
2019
2020
2021
2022
2023
2024
2025
2026
2027
2028
2029
2030
2031
2032
2033
2034
2035
2036
2037
2038
2039
2040
2041
2042
2043
2044
2045
2046
2047
2048
2049
2050
2051
2052
2053
2054
2055
2056
2057
2058
2059
2060
2061
2062
2063
2064
2065
2066
2067
2068
2069
2070
2071
2072
2073
2074
2075
2076
2077
2078
2079
2080
2081
2082
2083
2084
2085
2086
2087
2088
2089
2090
2091
2092
2093
2094
2095
2096
2097
2098
2099
2100
2101
2102
2103
2104
2105
2106
2107
2108
2109
2110
2111
2112
2113
2114
2115
2116
2117
2118
2119
2120
2121
2122
2123
2124
2125
2126
2127
2128
2129
2130
2131
2132
2133
2134
2135
2136
2137
2138
2139
2140
2141
2142
2143
2144
2145
2146
2147
2148
2149
2150
2151
2152
2153
2154
2155
2156
2157
2158
2159
2160
2161
2162
2163
2164
2165
2166
2167
2168
2169
2170
2171
2172
2173
2174
2175
2176
2177
2178
2179
2180
2181
2182
2183
2184
2185
2186
2187
2188
2189
2190
2191
2192
2193
2194
2195
2196
2197
2198
2199
2200
2201
2202
2203
2204
2205
2206
2207
2208
2209
2210
2211
2212
2213
2214
2215
2216
2217
2218
2219
2220
2221
2222
2223
2224
2225
2226
2227
2228
2229
2230
2231
2232
2233
2234
2235
2236
2237
2238
2239
2240
2241
2242
2243
2244
2245
2246
2247
2248
2249
2250
2251
2252
2253
2254
2255
2256
2257
2258
2259
2260
2261
2262
2263
2264
2265
2266
2267
2268
2269
2270
2271
2272
2273
2274
2275
2276
2277
2278
2279
2280
2281
2282
2283
2284
2285
2286
2287
2288
2289
2290
2291
2292
2293
2294
2295
2296
2297
2298
2299
2300
2301
2302
2303
2304
2305
2306
2307
2308
2309
2310
2311
2312
2313
2314
2315
2316
2317
2318
2319
2320
2321
2322
2323
2324
2325
2326
2327
2328
2329
2330
2331
2332
2333
2334
2335
2336
2337
2338
2339
2340
2341
2342
2343
2344
2345
2346
2347
2348
2349
2350
2351
2352
2353
2354
2355
2356
2357
2358
2359
2360
2361
2362
2363
2364
2365
2366
2367
2368
2369
2370
2371
2372
2373
2374
2375
2376
2377
2378
2379
2380
2381
2382
2383
2384
2385
2386
2387
2388
2389
2390
2391
2392
2393
2394
2395
2396
2397
2398
2399
2400
2401
2402
2403
2404
2405
2406
2407
2408
2409
2410
2411
2412
2413
2414
2415
2416
2417
2418
2419
2420
2421
2422
2423
2424
2425
2426
2427
2428
2429
2430
2431
2432
2433
2434
2435
2436
2437
2438
2439
2440
2441
2442
2443
2444
2445
2446
2447
2448
2449
2450
2451
2452
2453
2454
2455
2456
2457
2458
2459
2460
2461
2462
2463
2464
2465
2466
2467
2468
2469
2470
2471
2472
2473
2474
2475
2476
2477
2478
2479
2480
2481
2482
2483
2484
2485
2486
2487
2488
2489
2490
2491
2492
2493
2494
2495
2496
2497
2498
2499
2500
2501
2502
2503
2504
2505
2506
2507
2508
2509
2510
2511
2512
2513
2514
2515
2516
2517
2518
2519
2520
2521
2522
2523
2524
2525
2526
2527
2528
2529
2530
2531
2532
2533
2534
2535
2536
2537
2538
2539
2540
2541
2542
2543
2544
2545
2546
2547
2548
2549
2550
2551
2552
2553
2554
2555
2556
2557
2558
2559
2560
2561
2562
2563
2564
2565
2566
2567
2568
2569
2570
2571
2572
2573
2574
2575
2576
2577
2578
2579
2580
2581
2582
2583
2584
2585
2586
2587
2588
2589
2590
2591
2592
2593
2594
2595
2596
2597
2598
2599
2600
2601
2602
2603
2604
2605
2606
2607
2608
2609
2610
2611
2612
2613
2614
2615
2616
2617
2618
2619
2620
2621
2622
2623
2624
2625
2626
2627
2628
2629
2630
2631
2632
2633
2634
2635
2636
2637
2638
2639
2640
2641
2642
2643
2644
2645
2646
2647
2648
2649
2650
2651
2652
2653
2654
2655
2656
2657
2658
2659
2660
2661
2662
2663
2664
2665
2666
2667
2668
2669
2670
2671
2672
2673
2674
2675
2676
2677
2678
2679
2680
2681
2682
2683
2684
2685
2686
2687
2688
2689
2690
2691
2692
2693
2694
2695
2696
2697
2698
2699
2700
2701
2702
2703
2704
2705
2706
2707
2708
2709
2710
2711
2712
2713
2714
2715
2716
2717
2718
2719
2720
2721
2722
2723
2724
2725
2726
2727
2728
2729
2730
2731
2732
2733
2734
2735
2736
2737
2738
2739
2740
2741
2742
2743
2744
2745
2746
2747
2748
2749
2750
2751
2752
2753
2754
2755
2756
2757
2758
2759
2760
2761
2762
2763
2764
2765
2766
2767
2768
2769
2770
2771
2772
2773
2774
2775
2776
2777
2778
2779
2780
2781
2782
2783
2784
2785
2786
2787
2788
2789
2790
2791
2792
2793
2794
2795
2796
2797
2798
2799
2800
2801
2802
2803
2804
2805
2806
2807
2808
2809
2810
2811
2812
2813
2814
2815
2816
2817
2818
2819
2820
2821
2822
2823
2824
2825
2826
2827
2828
2829
2830
2831
2832
2833
2834
2835
2836
2837
2838
2839
2840
2841
2842
2843
2844
2845
2846
2847
2848
2849
2850
2851
2852
2853
2854
2855
2856
2857
2858
2859
2860
2861
2862
2863
2864
2865
2866
2867
2868
2869
2870
2871
2872
2873
2874
2875
2876
2877
2878
2879
2880
2881
2882
2883
2884
2885
2886
2887
2888
2889
2890
2891
2892
2893
2894
2895
2896
2897
2898
2899
2900
2901
2902
2903
2904
2905
2906
2907
2908
2909
2910
2911
2912
2913
2914
2915
2916
2917
2918
2919
2920
2921
2922
2923
2924
2925
2926
2927
2928
2929
2930
2931
2932
2933
2934
2935
2936
2937
2938
2939
2940
2941
2942
2943
2944
2945
2946
2947
2948
2949
2950
2951
2952
2953
2954
2955
2956
2957
2958
2959
2960
2961
2962
2963
2964
2965
2966
2967
2968
2969
2970
2971
2972
2973
2974
2975
2976
2977
2978
2979
2980
2981
2982
2983
2984
2985
2986
2987
2988
2989
2990
2991
2992
2993
2994
2995
2996
2997
2998
2999
3000
3001
3002
3003
3004
3005
3006
3007
3008
3009
3010
3011
3012
3013
3014
3015
3016
3017
3018
3019
3020
3021
3022
3023
3024
3025
3026
3027
3028
3029
3030
3031
3032
3033
3034
3035
3036
3037
3038
3039
3040
3041
3042
3043
3044
3045
3046
3047
3048
3049
3050
3051
3052
3053
3054
3055
3056
3057
3058
3059
3060
3061
3062
3063
3064
3065
3066
3067
3068
3069
3070
3071
3072
3073
3074
3075
3076
3077
3078
3079
3080
3081
3082
3083
3084
3085
3086
3087
3088
3089
3090
3091
3092
3093
3094
3095
3096
3097
3098
3099
3100
3101
3102
3103
3104
3105
3106
3107
3108
3109
3110
3111
3112
3113
3114
3115
3116
3117
3118
3119
3120
3121
3122
3123
3124
3125
3126
3127
3128
3129
3130
3131
3132
3133
3134
3135
3136
3137
3138
3139
3140
3141
3142
3143
3144
3145
3146
3147
3148
3149
3150
3151
3152
3153
3154
3155
3156
3157
3158
3159
3160
3161
3162
3163
3164
3165
3166
3167
3168
3169
3170
3171
3172
3173
3174
3175
3176
3177
3178
3179
3180
3181
3182
3183
3184
3185
3186
3187
3188
3189
3190
3191
3192
3193
3194
3195
3196
3197
3198
3199
3200
3201
3202
3203
3204
3205
3206
3207
3208
3209
3210
3211
3212
3213
3214
3215
3216
3217
3218
3219
3220
3221
3222
3223
3224
3225
3226
3227
3228
3229
3230
3231
3232
3233
3234
3235
3236
3237
3238
3239
3240
3241
3242
3243
3244
3245
3246
3247
3248
3249
3250
3251
3252
3253
3254
3255
3256
3257
3258
3259
3260
3261
3262
3263
3264
3265
3266
3267
3268
3269
3270
3271
3272
3273
3274
3275
3276
3277
3278
3279
3280
3281
3282
3283
3284
3285
3286
3287
3288
3289
3290
3291
3292
3293
3294
3295
3296
3297
3298
3299
3300
3301
3302
3303
3304
3305
3306
3307
3308
3309
3310
3311
3312
3313
3314
3315
3316
3317
3318
3319
3320
3321
3322
3323
3324
3325
3326
3327
3328
3329
3330
3331
3332
3333
3334
3335
3336
3337
3338
3339
3340
3341
3342
3343
3344
3345
3346
3347
3348
3349
3350
3351
3352
3353
3354
3355
3356
3357
3358
3359
3360
3361
3362
3363
3364
3365
3366
3367
3368
3369
3370
3371
3372
3373
3374
3375
3376
3377
3378
3379
3380
3381
3382
3383
3384
3385
3386
3387
3388
3389
3390
3391
3392
3393
3394
3395
3396
3397
3398
3399
3400
3401
3402
3403
3404
3405
3406
3407
3408
3409
3410
3411
3412
3413
3414
3415
3416
3417
3418
3419
3420
3421
3422
3423
3424
3425
3426
3427
3428
3429
3430
3431
3432
3433
3434
3435
3436
3437
3438
3439
3440
3441
3442
3443
3444
3445
3446
3447
3448
3449
3450
3451
3452
3453
3454
3455
3456
3457
3458
3459
3460
3461
3462
3463
3464
3465
3466
3467
3468
3469
3470
3471
3472
3473
3474
3475
3476
3477
3478
3479
3480
3481
3482
3483
3484
3485
3486
3487
3488
3489
3490
3491
3492
3493
3494
3495
3496
3497
3498
3499
3500
3501
3502
3503
3504
3505
3506
3507
3508
3509
3510
3511
3512
3513
3514
3515
3516
3517
3518
3519
3520
3521
3522
3523
3524
3525
3526
3527
3528
3529
3530
3531
3532
3533
3534
3535
3536
3537
3538
3539
3540
3541
3542
3543
3544
3545
3546
3547
3548
3549
3550
3551
3552
3553
3554
3555
3556
3557
3558
3559
3560
3561
3562
3563
3564
3565
3566
3567
3568
3569
3570
3571
3572
3573
3574
3575
3576
3577
3578
3579
3580
3581
3582
3583
3584
3585
3586
3587
3588
3589
3590
3591
3592
3593
3594
3595
3596
3597
3598
3599
3600
3601
3602
3603
3604
3605
3606
3607
3608
3609
3610
3611
3612
3613
3614
3615
3616
3617
3618
3619
3620
3621
3622
3623
3624
3625
3626
3627
3628
3629
3630
3631
3632
3633
3634
3635
3636
3637
3638
3639
3640
3641
3642
3643
3644
3645
3646
3647
3648
3649
3650
3651
3652
3653
3654
3655
3656
3657
3658
3659
3660
3661
3662
3663
3664
3665
3666
3667
3668
3669
3670
3671
3672
3673
3674
3675
3676
3677
3678
3679
3680
3681
3682
3683
3684
3685
3686
3687
3688
3689
3690
3691
3692
3693
3694
3695
3696
3697
3698
3699
3700
3701
3702
3703
3704
3705
3706
3707
3708
3709
3710
3711
3712
3713
3714
3715
3716
3717
3718
3719
3720
3721
3722
3723
3724
3725
3726
3727
3728
3729
3730
3731
3732
3733
3734
3735
3736
3737
3738
3739
3740
3741
3742
3743
3744
3745
3746
3747
3748
3749
3750
3751
3752
3753
3754
3755
3756
3757
3758
3759
3760
3761
3762
3763
3764
3765
3766
3767
3768
3769
3770
3771
3772
3773
3774
3775
3776
3777
3778
3779
3780
3781
3782
3783
3784
3785
3786
3787
3788
3789
3790
3791
3792
3793
3794
3795
3796
3797
3798
3799
3800
3801
3802
3803
3804
3805
3806
3807
3808
3809
3810
3811
3812
3813
3814
3815
3816
3817
3818
3819
3820
3821
3822
3823
3824
3825
3826
3827
3828
3829
3830
3831
3832
3833
3834
3835
3836
3837
3838
3839
3840
3841
3842
3843
3844
3845
3846
3847
3848
3849
3850
3851
3852
3853
3854
3855
3856
3857
3858
3859
3860
3861
3862
3863
3864
3865
3866
3867
3868
3869
3870
3871
3872
3873
3874
3875
3876
3877
3878
3879
3880
3881
3882
3883
3884
3885
3886
3887
3888
3889
3890
3891
3892
3893
3894
3895
3896
3897
3898
3899
3900
3901
3902
3903
3904
3905
3906
3907
3908
3909
3910
3911
3912
3913
3914
3915
3916
3917
3918
3919
3920
3921
3922
3923
3924
3925
3926
3927
3928
3929
3930
3931
3932
3933
3934
3935
3936
3937
3938
3939
3940
3941
3942
3943
3944
3945
3946
3947
3948
3949
3950
3951
3952
3953
3954
3955
3956
3957
3958
3959
3960
3961
3962
3963
3964
3965
3966
3967
3968
3969
3970
3971
3972
3973
3974
3975
3976
3977
3978
3979
3980
3981
3982
3983
3984
3985
3986
3987
3988
3989
3990
3991
3992
3993
3994
3995
3996
3997
3998
3999
4000
4001
4002
4003
4004
4005
4006
4007
4008
4009
4010
4011
4012
4013
4014
4015
4016
4017
4018
4019
4020
4021
4022
4023
4024
4025
4026
4027
4028
4029
4030
4031
4032
4033
4034
4035
4036
4037
4038
4039
4040
4041
4042
4043
4044
4045
4046
4047
4048
4049
4050
4051
4052
4053
4054
4055
4056
4057
4058
4059
4060
4061
4062
4063
4064
4065
4066
4067
4068
4069
4070
4071
4072
4073
4074
4075
4076
4077
4078
4079
4080
4081
4082
4083
4084
4085
4086
4087
4088
4089
4090
4091
4092
4093
4094
4095
4096
4097
4098
4099
4100
4101
4102
4103
4104
4105
4106
4107
4108
4109
4110
4111
4112
4113
4114
4115
4116
4117
4118
4119
4120
4121
4122
4123
4124
4125
4126
4127
4128
4129
4130
4131
4132
4133
4134
4135
4136
4137
4138
4139
4140
4141
4142
4143
4144
4145
4146
4147
4148
4149
4150
4151
4152
4153
4154
4155
4156
4157
4158
4159
4160
4161
4162
4163
4164
4165
4166
4167
4168
4169
4170
4171
4172
4173
4174
4175
4176
4177
4178
4179
4180
4181
4182
4183
4184
4185
4186
4187
4188
4189
4190
4191
4192
4193
4194
4195
4196
4197
4198
4199
4200
4201
4202
4203
4204
4205
4206
4207
4208
4209
4210
4211
4212
4213
4214
4215
4216
4217
4218
4219
4220
4221
4222
4223
4224
4225
4226
4227
4228
4229
4230
4231
4232
4233
4234
4235
4236
4237
4238
4239
4240
4241
4242
4243
4244
4245
4246
4247
4248
4249
4250
4251
4252
4253
4254
4255
4256
4257
4258
4259
4260
4261
4262
4263
4264
4265
4266
4267
4268
4269
4270
4271
4272
4273
4274
4275
4276
4277
4278
4279
4280
4281
4282
4283
4284
4285
4286
4287
4288
4289
4290
4291
4292
4293
4294
4295
4296
4297
4298
4299
4300
4301
4302
4303
4304
4305
4306
4307
4308
4309
4310
4311
4312
4313
4314
4315
4316
4317
4318
4319
4320
4321
4322
4323
4324
4325
4326
4327
4328
4329
4330
4331
4332
4333
4334
4335
4336
4337
4338
4339
4340
4341
4342
4343
4344
4345
4346
4347
4348
4349
4350
4351
4352
4353
4354
4355
4356
4357
4358
4359
4360
4361
4362
4363
4364
4365
4366
4367
4368
4369
4370
4371
4372
4373
4374
4375
4376
4377
4378
4379
4380
4381
4382
4383
4384
4385
4386
4387
4388
4389
4390
4391
4392
4393
4394
4395
4396
4397
4398
4399
4400
4401
4402
4403
4404
4405
4406
4407
4408
4409
4410
4411
4412
4413
4414
4415
4416
4417
4418
4419
4420
4421
4422
4423
4424
4425
4426
4427
4428
4429
4430
4431
4432
4433
4434
4435
4436
4437
4438
4439
4440
4441
4442
4443
4444
4445
4446
4447
4448
4449
4450
4451
4452
4453
4454
4455
4456
4457
4458
4459
4460
4461
4462
4463
4464
4465
4466
4467
4468
4469
4470
4471
4472
4473
4474
4475
4476
4477
4478
4479
4480
4481
4482
4483
4484
4485
4486
4487
4488
4489
4490
4491
4492
4493
4494
4495
4496
4497
4498
4499
4500
4501
4502
4503
4504
4505
4506
4507
4508
4509
4510
4511
4512
4513
4514
4515
4516
4517
4518
4519
4520
4521
4522
4523
4524
4525
4526
4527
4528
4529
4530
4531
4532
4533
4534
4535
4536
4537
4538
4539
4540
4541
4542
4543
4544
4545
4546
4547
4548
4549
4550
4551
4552
4553
4554
4555
4556
4557
4558
4559
4560
4561
4562
4563
4564
4565
4566
4567
4568
4569
4570
4571
4572
4573
4574
4575
4576
4577
4578
4579
4580
4581
4582
4583
4584
4585
4586
4587
4588
4589
4590
4591
4592
4593
4594
4595
4596
4597
4598
4599
4600
4601
4602
4603
4604
4605
4606
4607
4608
4609
4610
4611
4612
4613
4614
4615
4616
4617
4618
4619
4620
4621
4622
4623
4624
4625
4626
4627
4628
4629
4630
4631
4632
4633
4634
4635
4636
4637
4638
4639
4640
4641
4642
4643
4644
4645
4646
4647
4648
4649
4650
4651
4652
4653
4654
4655
4656
4657
4658
4659
4660
4661
4662
4663
4664
4665
4666
4667
4668
4669
4670
4671
4672
4673
4674
4675
4676
4677
4678
4679
4680
4681
4682
4683
4684
4685
4686
4687
4688
4689
4690
4691
4692
4693
4694
4695
4696
4697
4698
4699
4700
4701
4702
4703
4704
4705
4706
4707
4708
4709
4710
4711
4712
4713
4714
4715
4716
4717
4718
4719
4720
4721
4722
4723
4724
4725
4726
4727
4728
4729
4730
4731
4732
4733
4734
4735
4736
4737
4738
4739
4740
4741
4742
4743
4744
4745
4746
4747
4748
4749
4750
4751
4752
4753
4754
4755
4756
4757
4758
4759
4760
4761
4762
4763
4764
4765
4766
4767
4768
4769
4770
4771
4772
4773
4774
4775
4776
4777
4778
4779
4780
4781
4782
4783
4784
4785
4786
4787
4788
4789
4790
4791
4792
4793
4794
4795
4796
4797
4798
4799
4800
4801
4802
4803
4804
4805
4806
4807
4808
4809
4810
4811
4812
4813
4814
4815
4816
4817
4818
4819
4820
4821
4822
4823
4824
4825
4826
4827
4828
4829
4830
4831
4832
4833
4834
4835
4836
4837
4838
4839
4840
4841
4842
4843
4844
4845
4846
4847
4848
4849
4850
4851
4852
4853
4854
4855
4856
4857
4858
4859
4860
4861
4862
4863
4864
4865
4866
4867
4868
4869
4870
4871
4872
4873
4874
4875
4876
4877
4878
4879
4880
4881
4882
4883
4884
4885
4886
4887
4888
4889
4890
4891
4892
4893
4894
4895
4896
4897
4898
4899
4900
4901
4902
4903
4904
4905
4906
4907
4908
4909
4910
4911
4912
4913
4914
4915
4916
4917
4918
4919
4920
4921
4922
4923
4924
4925
4926
4927
4928
4929
4930
4931
4932
4933
4934
4935
4936
4937
4938
4939
4940
4941
4942
4943
4944
4945
4946
4947
4948
4949
4950
4951
4952
4953
4954
4955
4956
4957
4958
4959
4960
4961
4962
4963
4964
4965
4966
4967
4968
4969
4970
4971
4972
4973
4974
4975
4976
4977
4978
4979
4980
4981
4982
4983
4984
4985
4986
4987
4988
4989
4990
4991
4992
4993
4994
4995
4996
4997
4998
4999
5000
5001
5002
5003
5004
5005
5006
5007
5008
5009
5010
5011
5012
5013
5014
5015
5016
5017
5018
5019
5020
5021
5022
5023
5024
5025
5026
5027
5028
5029
5030
5031
5032
5033
5034
5035
5036
5037
5038
5039
5040
5041
5042
5043
5044
5045
5046
5047
5048
5049
5050
5051
5052
5053
5054
5055
5056
5057
5058
5059
5060
5061
5062
5063
5064
5065
5066
5067
5068
5069
5070
5071
5072
5073
5074
5075
5076
5077
5078
5079
5080
5081
5082
5083
5084
5085
5086
5087
5088
5089
5090
5091
5092
5093
5094
5095
5096
5097
5098
5099
5100
5101
5102
5103
5104
5105
5106
5107
5108
5109
5110
5111
5112
5113
5114
5115
5116
5117
5118
5119
5120
5121
5122
5123
5124
5125
5126
5127
5128
5129
5130
5131
5132
5133
5134
5135
5136
5137
5138
5139
5140
5141
5142
5143
5144
5145
5146
5147
5148
5149
5150
5151
5152
5153
5154
5155
5156
5157
5158
5159
5160
5161
5162
5163
5164
5165
5166
5167
5168
5169
5170
5171
5172
5173
5174
5175
5176
5177
5178
5179
5180
5181
5182
5183
5184
5185
5186
5187
5188
5189
5190
5191
5192
5193
5194
5195
5196
5197
5198
5199
5200
5201
5202
5203
5204
5205
5206
5207
5208
5209
5210
5211
5212
5213
5214
5215
5216
5217
5218
5219
5220
5221
5222
5223
5224
5225
5226
5227
5228
5229
5230
5231
5232
5233
5234
5235
5236
5237
5238
5239
5240
5241
5242
5243
5244
5245
5246
5247
5248
5249
5250
5251
5252
5253
5254
5255
5256
5257
5258
5259
5260
5261
5262
5263
5264
5265
5266
5267
5268
5269
5270
5271
5272
5273
5274
5275
5276
5277
5278
5279
5280
5281
5282
5283
5284
5285
5286
5287
5288
5289
5290
5291
5292
5293
5294
5295
5296
5297
5298
5299
5300
5301
5302
5303
5304
5305
5306
5307
5308
5309
5310
5311
5312
5313
5314
5315
5316
5317
5318
5319
5320
5321
5322
5323
5324
5325
5326
5327
5328
5329
5330
5331
5332
5333
5334
5335
5336
5337
5338
5339
5340
5341
5342
5343
5344
5345
5346
5347
5348
5349
5350
5351
5352
5353
5354
5355
5356
5357
5358
5359
5360
5361
5362
5363
5364
5365
5366
5367
5368
5369
5370
5371
5372
5373
5374
5375
5376
5377
5378
5379
5380
5381
5382
5383
5384
5385
5386
5387
5388
5389
5390
5391
5392
5393
5394
5395
5396
5397
5398
5399
5400
5401
5402
5403
5404
5405
5406
5407
5408
5409
5410
5411
5412
5413
5414
5415
5416
5417
5418
5419
5420
5421
5422
5423
5424
5425
5426
5427
5428
5429
5430
5431
5432
5433
5434
5435
5436
5437
5438
5439
5440
5441
5442
5443
5444
5445
5446
5447
5448
5449
5450
5451
5452
5453
5454
5455
5456
5457
5458
5459
5460
5461
5462
5463
5464
5465
5466
5467
5468
5469
5470
5471
5472
5473
5474
5475
5476
5477
5478
5479
5480
5481
5482
5483
5484
5485
5486
5487
5488
5489
5490
5491
5492
5493
5494
5495
5496
5497
5498
5499
5500
5501
5502
5503
5504
5505
5506
5507
5508
5509
5510
5511
5512
5513
5514
5515
5516
5517
5518
5519
5520
5521
5522
5523
5524
5525
5526
5527
5528
5529
5530
5531
5532
5533
5534
5535
5536
5537
5538
5539
5540
5541
5542
5543
5544
5545
5546
5547
5548
5549
5550
5551
5552
5553
5554
5555
5556
5557
5558
5559
5560
5561
5562
5563
5564
5565
5566
5567
5568
5569
5570
5571
5572
5573
5574
5575
5576
5577
5578
5579
5580
5581
5582
5583
5584
5585
5586
5587
5588
5589
5590
5591
5592
5593
5594
5595
5596
5597
5598
5599
5600
5601
5602
5603
5604
5605
5606
5607
5608
5609
5610
5611
5612
5613
5614
5615
5616
5617
5618
5619
5620
5621
5622
5623
5624
5625
5626
5627
5628
5629
5630
5631
5632
5633
5634
5635
5636
5637
5638
5639
5640
5641
5642
5643
5644
5645
5646
5647
5648
5649
5650
5651
5652
5653
5654
5655
5656
5657
5658
5659
5660
5661
5662
5663
5664
5665
5666
5667
5668
5669
5670
5671
5672
5673
5674
5675
5676
5677
5678
5679
5680
5681
5682
5683
5684
5685
5686
5687
5688
5689
5690
5691
5692
5693
5694
5695
5696
5697
5698
5699
5700
5701
5702
5703
5704
5705
5706
5707
5708
5709
5710
5711
5712
5713
5714
5715
5716
5717
5718
5719
5720
5721
5722
5723
5724
5725
5726
5727
5728
5729
5730
5731
5732
5733
5734
5735
5736
5737
5738
5739
5740
5741
5742
5743
5744
5745
5746
5747
5748
5749
5750
5751
5752
5753
5754
5755
5756
5757
5758
5759
5760
5761
5762
5763
5764
5765
5766
5767
5768
5769
5770
5771
5772
5773
5774
5775
5776
5777
5778
5779
5780
5781
5782
5783
5784
5785
5786
5787
5788
5789
5790
5791
5792
5793
5794
5795
5796
5797
5798
5799
5800
5801
5802
5803
5804
5805
5806
5807
5808
5809
5810
5811
5812
5813
5814
5815
5816
5817
5818
5819
5820
5821
5822
5823
5824
5825
5826
5827
5828
5829
5830
5831
5832
5833
5834
5835
5836
5837
5838
5839
5840
5841
5842
5843
5844
5845
5846
5847
5848
5849
5850
5851
5852
5853
5854
5855
5856
5857
5858
5859
5860
5861
5862
5863
5864
5865
5866
5867
5868
5869
5870
5871
5872
5873
5874
5875
5876
5877
5878
5879
5880
5881
5882
5883
5884
5885
5886
5887
5888
5889
5890
5891
5892
5893
5894
5895
5896
5897
5898
5899
5900
5901
5902
5903
5904
5905
5906
5907
5908
5909
5910
5911
5912
5913
5914
5915
5916
5917
5918
5919
5920
5921
5922
5923
5924
5925
5926
5927
5928
5929
5930
5931
5932
5933
5934
5935
5936
5937
5938
5939
5940
5941
5942
5943
5944
5945
5946
5947
5948
5949
5950
5951
5952
5953
5954
5955
5956
5957
5958
5959
5960
5961
5962
5963
5964
5965
5966
5967
5968
5969
5970
5971
5972
5973
5974
5975
5976
5977
5978
5979
5980
5981
5982
5983
5984
5985
5986
5987
5988
5989
5990
5991
5992
5993
5994
5995
5996
5997
5998
5999
6000
6001
6002
6003
6004
6005
6006
6007
6008
6009
6010
6011
6012
6013
6014
6015
6016
6017
6018
6019
6020
6021
6022
6023
6024
6025
6026
6027
6028
6029
6030
6031
6032
6033
6034
6035
6036
6037
6038
6039
6040
6041
6042
6043
6044
6045
6046
6047
6048
6049
6050
6051
6052
6053
6054
6055
6056
6057
6058
6059
6060
6061
6062
6063
6064
6065
6066
6067
6068
6069
6070
6071
6072
6073
6074
6075
6076
6077
6078
6079
6080
6081
6082
6083
6084
6085
6086
6087
6088
6089
6090
6091
6092
6093
6094
6095
6096
6097
6098
6099
6100
6101
6102
6103
6104
6105
6106
6107
6108
6109
6110
6111
6112
6113
6114
6115
6116
6117
6118
6119
6120
6121
6122
6123
6124
6125
6126
6127
6128
6129
6130
6131
6132
6133
6134
6135
6136
6137
6138
6139
6140
6141
6142
6143
6144
6145
6146
6147
6148
6149
6150
6151
6152
6153
6154
6155
6156
6157
6158
6159
6160
6161
6162
6163
6164
6165
6166
6167
6168
6169
6170
6171
6172
6173
6174
6175
6176
6177
6178
6179
6180
6181
6182
6183
6184
6185
6186
6187
6188
6189
6190
6191
6192
6193
6194
6195
6196
6197
6198
6199
6200
6201
6202
6203
6204
6205
6206
6207
6208
6209
6210
6211
6212
6213
6214
6215
6216
6217
6218
6219
6220
6221
6222
6223
6224
6225
6226
6227
6228
6229
6230
6231
6232
6233
6234
6235
6236
6237
6238
6239
6240
6241
6242
6243
6244
6245
6246
6247
6248
6249
6250
6251
6252
6253
6254
6255
6256
6257
6258
6259
6260
6261
6262
6263
6264
6265
6266
6267
6268
6269
6270
6271
6272
6273
6274
6275
6276
6277
6278
6279
6280
6281
6282
6283
6284
6285
6286
6287
6288
6289
6290
6291
6292
6293
6294
6295
6296
6297
6298
6299
6300
6301
6302
6303
6304
6305
6306
6307
6308
6309
6310
6311
6312
6313
6314
6315
6316
6317
6318
6319
6320
6321
6322
6323
6324
6325
6326
6327
6328
6329
6330
6331
6332
6333
6334
6335
6336
6337
6338
6339
6340
6341
6342
6343
6344
6345
6346
6347
6348
6349
6350
6351
6352
6353
6354
6355
6356
6357
6358
6359
6360
6361
6362
6363
6364
6365
6366
6367
6368
6369
6370
6371
6372
6373
6374
6375
6376
6377
6378
6379
6380
6381
6382
6383
6384
6385
6386
6387
6388
6389
6390
6391
6392
6393
6394
6395
6396
6397
6398
6399
6400
6401
6402
6403
6404
6405
6406
6407
6408
6409
6410
6411
6412
6413
6414
6415
6416
6417
6418
6419
6420
6421
6422
6423
6424
6425
6426
6427
6428
6429
6430
6431
6432
6433
6434
6435
6436
6437
6438
6439
6440
6441
6442
6443
6444
6445
6446
6447
6448
6449
6450
6451
6452
6453
6454
6455
6456
6457
6458
6459
6460
6461
6462
6463
6464
6465
6466
6467
6468
6469
6470
6471
6472
6473
6474
6475
6476
6477
6478
6479
6480
6481
6482
6483
6484
6485
6486
6487
6488
6489
6490
6491
6492
6493
6494
6495
6496
6497
6498
6499
6500
6501
6502
6503
6504
6505
6506
6507
6508
6509
6510
6511
6512
6513
6514
6515
6516
6517
6518
6519
6520
6521
6522
6523
6524
6525
6526
6527
6528
6529
6530
6531
6532
6533
6534
6535
6536
6537
6538
6539
6540
6541
6542
6543
6544
6545
6546
6547
6548
6549
6550
6551
6552
6553
6554
6555
6556
6557
6558
6559
6560
6561
6562
6563
6564
6565
6566
6567
6568
6569
6570
6571
6572
6573
6574
6575
6576
6577
6578
6579
6580
6581
6582
6583
6584
6585
6586
6587
6588
6589
6590
6591
6592
6593
6594
6595
6596
6597
6598
6599
6600
6601
6602
6603
6604
6605
6606
6607
6608
6609
6610
6611
6612
6613
6614
6615
6616
6617
6618
6619
6620
6621
6622
6623
6624
6625
6626
6627
6628
6629
6630
6631
6632
6633
6634
6635
6636
6637
6638
6639
6640
6641
6642
6643
6644
6645
6646
6647
6648
6649
6650
6651
6652
6653
6654
6655
6656
6657
6658
6659
6660
6661
6662
6663
6664
6665
6666
6667
6668
6669
6670
6671
6672
6673
6674
6675
6676
6677
6678
6679
6680
6681
6682
6683
6684
6685
6686
6687
6688
6689
6690
6691
6692
6693
6694
6695
6696
6697
6698
6699
6700
6701
6702
6703
6704
6705
6706
6707
6708
6709
6710
6711
6712
6713
6714
6715
6716
6717
6718
6719
6720
6721
6722
6723
6724
6725
6726
6727
6728
6729
6730
6731
6732
6733
6734
6735
6736
6737
6738
6739
6740
6741
6742
6743
6744
6745
6746
6747
6748
6749
6750
6751
6752
6753
6754
6755
6756
6757
6758
6759
6760
6761
6762
6763
6764
6765
6766
6767
6768
6769
6770
6771
6772
6773
6774
6775
6776
6777
6778
6779
6780
6781
6782
6783
6784
6785
6786
6787
6788
6789
6790
6791
6792
6793
6794
6795
6796
6797
6798
6799
6800
6801
6802
6803
6804
6805
6806
6807
6808
6809
6810
6811
6812
6813
6814
6815
6816
6817
6818
6819
6820
6821
6822
6823
6824
6825
6826
6827
6828
6829
6830
6831
6832
6833
6834
6835
6836
6837
6838
6839
6840
6841
6842
6843
6844
6845
6846
6847
6848
6849
6850
6851
6852
6853
6854
6855
6856
6857
6858
6859
6860
6861
6862
6863
6864
6865
6866
6867
6868
6869
6870
6871
6872
6873
6874
6875
6876
6877
6878
6879
6880
6881
6882
6883
6884
6885
6886
6887
6888
6889
6890
6891
6892
6893
6894
6895
6896
6897
6898
6899
6900
6901
6902
6903
6904
6905
6906
6907
6908
6909
6910
6911
6912
6913
6914
6915
6916
6917
6918
6919
6920
6921
6922
6923
6924
6925
6926
6927
6928
6929
6930
6931
6932
6933
6934
6935
6936
6937
6938
6939
6940
6941
6942
6943
6944
6945
6946
6947
6948
6949
6950
6951
6952
6953
6954
6955
6956
6957
6958
6959
6960
6961
6962
6963
6964
6965
6966
6967
6968
6969
6970
6971
6972
6973
6974
6975
6976
6977
6978
6979
6980
6981
6982
6983
6984
6985
6986
6987
6988
6989
6990
6991
6992
6993
6994
6995
6996
6997
6998
6999
7000
7001
7002
7003
7004
7005
7006
7007
7008
7009
7010
7011
7012
7013
7014
7015
7016
7017
7018
7019
7020
7021
7022
7023
7024
7025
7026
7027
7028
7029
7030
7031
7032
7033
7034
7035
7036
7037
7038
7039
7040
7041
7042
7043
7044
7045
7046
7047
7048
7049
7050
7051
7052
7053
7054
7055
7056
7057
7058
7059
7060
7061
7062
7063
7064
7065
7066
7067
7068
7069
7070
7071
7072
7073
7074
7075
7076
7077
7078
7079
7080
7081
7082
7083
7084
7085
7086
7087
7088
7089
7090
7091
7092
7093
7094
7095
7096
7097
7098
7099
7100
7101
7102
7103
7104
7105
7106
7107
7108
7109
7110
7111
7112
7113
7114
7115
7116
7117
7118
7119
7120
7121
7122
7123
7124
7125
7126
7127
7128
7129
7130
7131
7132
7133
7134
7135
7136
7137
7138
7139
7140
7141
7142
7143
7144
7145
7146
7147
7148
7149
7150
7151
7152
7153
7154
7155
7156
7157
7158
7159
7160
7161
7162
7163
7164
7165
7166
7167
7168
7169
7170
7171
7172
7173
7174
7175
7176
7177
7178
7179
7180
7181
7182
7183
7184
7185
7186
7187
7188
7189
7190
7191
7192
7193
7194
7195
7196
7197
7198
7199
7200
7201
7202
7203
7204
7205
7206
7207
7208
7209
7210
7211
7212
7213
7214
7215
7216
7217
7218
7219
7220
7221
7222
7223
7224
7225
7226
7227
7228
7229
7230
7231
7232
7233
7234
7235
7236
7237
7238
7239
7240
7241
7242
7243
7244
7245
7246
7247
7248
7249
7250
7251
7252
7253
7254
7255
7256
7257
7258
7259
7260
7261
7262
7263
7264
7265
7266
7267
7268
7269
7270
7271
7272
7273
7274
7275
7276
7277
7278
7279
7280
7281
7282
7283
7284
7285
7286
7287
7288
7289
7290
7291
7292
7293
7294
7295
7296
7297
7298
7299
7300
7301
7302
7303
7304
7305
7306
7307
7308
7309
7310
7311
7312
7313
7314
7315
7316
7317
7318
7319
7320
7321
7322
7323
7324
7325
7326
7327
7328
7329
7330
7331
7332
7333
7334
7335
7336
7337
7338
7339
7340
7341
7342
7343
7344
7345
7346
7347
7348
7349
7350
7351
7352
7353
7354
7355
7356
7357
7358
7359
7360
7361
7362
7363
7364
7365
7366
7367
7368
7369
7370
7371
7372
7373
7374
7375
7376
7377
7378
7379
7380
7381
7382
7383
7384
7385
7386
7387
7388
7389
7390
7391
7392
7393
7394
7395
7396
7397
7398
7399
7400
7401
7402
7403
7404
7405
7406
7407
7408
7409
7410
7411
7412
7413
7414
7415
7416
7417
7418
7419
7420
7421
7422
7423
7424
7425
7426
7427
7428
7429
7430
7431
7432
7433
7434
7435
7436
7437
7438
7439
7440
7441
7442
7443
7444
7445
7446
7447
7448
7449
7450
7451
7452
7453
7454
7455
7456
7457
7458
7459
7460
7461
7462
7463
7464
7465
7466
7467
7468
7469
7470
7471
7472
7473
7474
7475
7476
7477
7478
7479
7480
7481
7482
7483
7484
7485
7486
7487
7488
7489
7490
7491
7492
7493
7494
7495
7496
7497
7498
7499
7500
7501
7502
7503
7504
7505
7506
7507
7508
7509
7510
7511
7512
7513
7514
7515
7516
7517
7518
7519
7520
7521
7522
7523
7524
7525
7526
7527
7528
7529
7530
7531
7532
7533
7534
7535
7536
7537
7538
7539
7540
7541
7542
7543
7544
7545
7546
7547
7548
7549
7550
7551
7552
7553
7554
7555
7556
7557
7558
7559
7560
7561
7562
7563
7564
7565
7566
7567
7568
7569
7570
7571
7572
7573
7574
7575
7576
7577
7578
7579
7580
7581
7582
7583
7584
7585
7586
7587
7588
7589
7590
7591
7592
7593
7594
7595
7596
7597
7598
7599
7600
7601
7602
7603
7604
7605
7606
7607
7608
7609
7610
7611
7612
7613
7614
7615
7616
7617
7618
7619
7620
7621
7622
7623
7624
7625
7626
7627
7628
7629
7630
7631
7632
7633
7634
7635
7636
7637
7638
7639
7640
7641
7642
7643
7644
7645
7646
7647
7648
7649
7650
7651
7652
7653
7654
7655
7656
7657
7658
7659
7660
7661
7662
7663
7664
7665
7666
7667
7668
7669
7670
7671
7672
7673
7674
7675
7676
7677
7678
7679
7680
7681
7682
7683
7684
7685
7686
7687
7688
7689
7690
7691
7692
7693
7694
7695
7696
7697
7698
7699
7700
7701
7702
7703
7704
7705
7706
7707
7708
7709
7710
7711
7712
7713
7714
7715
7716
7717
7718
7719
7720
7721
7722
7723
7724
7725
7726
7727
7728
7729
7730
7731
7732
7733
7734
7735
7736
7737
7738
7739
7740
7741
7742
7743
7744
7745
7746
7747
7748
7749
7750
7751
7752
7753
7754
7755
7756
7757
7758
7759
7760
7761
7762
7763
7764
7765
7766
7767
7768
7769
7770
7771
7772
7773
7774
7775
7776
7777
7778
7779
7780
7781
7782
7783
7784
7785
7786
7787
7788
7789
7790
7791
7792
7793
7794
7795
7796
7797
7798
7799
7800
7801
7802
7803
7804
7805
7806
7807
7808
7809
7810
7811
7812
7813
7814
7815
7816
7817
7818
7819
7820
7821
7822
7823
7824
7825
7826
7827
7828
7829
7830
7831
7832
7833
7834
7835
7836
7837
7838
7839
7840
7841
7842
7843
7844
7845
7846
7847
7848
7849
7850
7851
7852
7853
7854
7855
7856
7857
7858
7859
7860
7861
7862
7863
7864
7865
7866
7867
7868
7869
7870
7871
7872
7873
7874
7875
7876
7877
7878
7879
7880
7881
7882
7883
7884
7885
7886
7887
7888
7889
7890
7891
7892
7893
7894
7895
7896
7897
7898
7899
7900
7901
7902
7903
7904
7905
7906
7907
7908
7909
7910
7911
7912
7913
7914
7915
7916
7917
7918
7919
7920
7921
7922
7923
7924
7925
7926
7927
7928
7929
7930
7931
7932
7933
7934
7935
7936
7937
7938
7939
7940
7941
7942
7943
7944
7945
7946
7947
7948
7949
7950
7951
7952
7953
7954
7955
7956
7957
7958
7959
7960
7961
7962
7963
7964
7965
7966
7967
7968
7969
7970
7971
7972
7973
7974
7975
7976
7977
7978
7979
7980
7981
7982
7983
7984
7985
7986
7987
7988
7989
7990
7991
7992
7993
7994
7995
7996
7997
7998
7999
8000
8001
8002
8003
8004
8005
8006
8007
8008
8009
8010
8011
8012
8013
8014
8015
8016
8017
8018
8019
8020
8021
8022
8023
8024
8025
8026
8027
8028
8029
8030
8031
8032
8033
8034
8035
8036
8037
8038
8039
8040
8041
8042
8043
8044
8045
8046
8047
8048
8049
8050
8051
8052
8053
8054
8055
8056
8057
8058
8059
8060
8061
8062
8063
8064
8065
8066
8067
8068
8069
8070
8071
8072
8073
8074
8075
8076
8077
8078
8079
8080
8081
8082
8083
8084
8085
8086
8087
8088
8089
8090
8091
8092
8093
8094
8095
8096
8097
8098
8099
8100
8101
8102
8103
8104
8105
8106
8107
8108
8109
8110
8111
8112
8113
8114
8115
8116
8117
8118
8119
8120
8121
8122
8123
8124
8125
8126
8127
8128
8129
8130
8131
8132
8133
8134
8135
8136
8137
8138
8139
8140
8141
8142
8143
8144
8145
8146
8147
8148
8149
8150
8151
8152
8153
8154
8155
8156
8157
8158
8159
8160
8161
8162
8163
8164
8165
8166
8167
8168
8169
8170
8171
8172
8173
8174
8175
8176
8177
8178
8179
8180
8181
8182
8183
8184
8185
8186
8187
8188
8189
8190
8191
8192
8193
8194
8195
8196
8197
8198
8199
8200
8201
8202
8203
8204
8205
8206
8207
8208
8209
8210
8211
8212
8213
8214
8215
8216
8217
8218
8219
8220
8221
8222
8223
8224
8225
8226
8227
8228
8229
8230
8231
8232
8233
8234
8235
8236
8237
8238
8239
8240
8241
8242
8243
8244
8245
8246
8247
8248
8249
8250
8251
8252
8253
8254
8255
8256
8257
8258
8259
8260
8261
8262
8263
8264
8265
8266
8267
8268
8269
8270
8271
8272
8273
8274
8275
8276
8277
8278
8279
8280
8281
8282
8283
8284
8285
8286
8287
8288
8289
8290
8291
8292
8293
8294
8295
8296
8297
8298
8299
8300
8301
8302
8303
8304
8305
8306
8307
8308
8309
8310
8311
8312
8313
8314
8315
8316
8317
8318
8319
8320
8321
8322
8323
8324
8325
8326
8327
8328
8329
8330
8331
8332
8333
8334
8335
8336
8337
8338
8339
8340
8341
8342
8343
8344
8345
8346
8347
8348
8349
8350
8351
8352
8353
8354
8355
8356
8357
8358
8359
8360
8361
8362
8363
8364
8365
8366
8367
8368
8369
8370
8371
8372
8373
8374
8375
8376
8377
8378
8379
8380
8381
8382
8383
8384
8385
8386
8387
8388
8389
8390
8391
8392
8393
8394
8395
8396
8397
8398
8399
8400
8401
8402
8403
8404
8405
8406
8407
8408
8409
8410
8411
8412
8413
8414
8415
8416
8417
8418
8419
8420
8421
8422
8423
8424
8425
8426
8427
8428
8429
8430
8431
8432
8433
8434
8435
8436
8437
8438
8439
8440
8441
8442
8443
8444
8445
8446
8447
8448
8449
8450
8451
8452
8453
8454
8455
8456
8457
8458
8459
8460
8461
8462
8463
8464
8465
8466
8467
8468
8469
8470
8471
8472
8473
8474
8475
8476
8477
8478
8479
8480
8481
8482
8483
8484
8485
8486
8487
8488
8489
8490
8491
8492
8493
8494
8495
8496
8497
8498
8499
8500
8501
8502
8503
8504
8505
8506
8507
8508
8509
8510
8511
8512
8513
8514
8515
8516
8517
8518
8519
8520
8521
8522
8523
8524
8525
8526
8527
8528
8529
8530
8531
8532
8533
8534
8535
8536
8537
8538
8539
8540
8541
8542
8543
8544
8545
8546
8547
8548
8549
8550
8551
8552
8553
8554
8555
8556
8557
8558
8559
8560
8561
8562
8563
8564
8565
8566
8567
8568
8569
8570
8571
8572
8573
8574
8575
8576
8577
8578
8579
8580
8581
8582
8583
8584
8585
8586
8587
8588
8589
8590
8591
8592
8593
8594
8595
8596
8597
8598
8599
8600
8601
8602
8603
8604
8605
8606
8607
8608
8609
8610
8611
8612
8613
8614
8615
8616
8617
8618
8619
8620
8621
8622
8623
8624
8625
8626
8627
8628
8629
8630
8631
8632
8633
8634
8635
8636
8637
8638
8639
8640
8641
8642
8643
8644
8645
8646
8647
8648
8649
8650
8651
8652
8653
8654
8655
8656
8657
8658
8659
8660
8661
8662
8663
8664
8665
8666
8667
8668
8669
8670
8671
8672
8673
8674
8675
8676
8677
8678
8679
8680
8681
8682
8683
8684
8685
8686
8687
8688
8689
8690
8691
8692
8693
8694
8695
8696
8697
8698
8699
8700
8701
8702
8703
8704
8705
8706
8707
8708
8709
8710
8711
8712
8713
8714
8715
8716
8717
8718
8719
8720
8721
8722
8723
8724
8725
8726
8727
8728
8729
8730
8731
8732
8733
8734
8735
8736
8737
8738
8739
8740
8741
8742
8743
8744
8745
8746
8747
8748
8749
8750
8751
8752
8753
8754
8755
8756
8757
8758
8759
8760
8761
8762
8763
8764
8765
8766
8767
8768
8769
8770
8771
8772
8773
8774
8775
8776
8777
8778
8779
8780
8781
8782
8783
8784
8785
8786
8787
8788
8789
8790
8791
8792
8793
8794
8795
8796
8797
8798
8799
8800
8801
8802
8803
8804
8805
8806
8807
8808
8809
8810
8811
8812
8813
8814
8815
8816
8817
8818
8819
8820
8821
8822
8823
8824
8825
8826
8827
8828
8829
8830
8831
8832
8833
8834
8835
8836
8837
8838
8839
8840
8841
8842
8843
8844
8845
8846
8847
8848
8849
8850
8851
8852
8853
8854
8855
8856
8857
8858
8859
8860
8861
8862
8863
8864
8865
8866
8867
8868
8869
8870
8871
8872
8873
8874
8875
8876
8877
8878
8879
8880
8881
8882
8883
8884
8885
8886
8887
8888
8889
8890
8891
8892
8893
8894
8895
8896
8897
8898
8899
8900
8901
8902
8903
8904
8905
8906
8907
8908
8909
8910
8911
8912
8913
8914
8915
8916
8917
8918
8919
8920
8921
8922
8923
8924
8925
8926
8927
8928
8929
8930
8931
8932
8933
8934
8935
8936
8937
8938
8939
8940
8941
8942
8943
8944
8945
8946
8947
8948
8949
8950
8951
8952
8953
8954
8955
8956
8957
8958
8959
8960
8961
8962
8963
8964
8965
8966
8967
8968
8969
8970
8971
8972
8973
8974
8975
8976
8977
8978
8979
8980
8981
8982
8983
8984
8985
8986
8987
8988
8989
8990
8991
8992
8993
8994
8995
8996
8997
8998
8999
9000
9001
9002
9003
9004
9005
9006
9007
9008
9009
9010
9011
9012
9013
9014
9015
9016
9017
9018
9019
9020
9021
9022
9023
9024
9025
9026
9027
9028
9029
9030
9031
9032
9033
9034
9035
9036
9037
9038
9039
9040
9041
9042
9043
9044
9045
9046
9047
9048
9049
9050
9051
9052
9053
9054
9055
9056
9057
9058
9059
9060
9061
9062
9063
9064
9065
9066
9067
9068
9069
9070
9071
9072
9073
9074
9075
9076
9077
9078
9079
9080
9081
9082
9083
9084
9085
9086
9087
9088
9089
9090
9091
9092
9093
9094
9095
9096
9097
9098
9099
9100
9101
9102
9103
9104
9105
9106
9107
9108
9109
9110
9111
9112
9113
9114
9115
9116
9117
9118
9119
9120
9121
9122
9123
9124
9125
9126
9127
9128
9129
9130
9131
9132
9133
9134
9135
9136
9137
9138
9139
9140
9141
9142
9143
9144
9145
9146
9147
9148
9149
9150
9151
9152
9153
9154
9155
9156
9157
9158
9159
9160
9161
9162
9163
9164
9165
9166
9167
9168
9169
9170
9171
9172
9173
9174
9175
9176
9177
9178
9179
9180
9181
9182
9183
9184
9185
9186
9187
9188
9189
9190
9191
9192
9193
9194
9195
9196
9197
9198
9199
9200
9201
9202
9203
9204
9205
9206
9207
9208
9209
9210
9211
9212
9213
9214
9215
9216
9217
9218
9219
9220
9221
9222
9223
9224
9225
9226
9227
9228
9229
9230
9231
9232
9233
9234
9235
9236
9237
9238
9239
9240
9241
9242
9243
9244
9245
9246
9247
9248
9249
9250
9251
9252
9253
9254
9255
9256
9257
9258
9259
9260
9261
9262
9263
9264
9265
9266
9267
9268
9269
9270
9271
9272
9273
9274
9275
9276
9277
9278
9279
9280
9281
9282
9283
9284
9285
9286
9287
9288
9289
9290
9291
9292
9293
9294
9295
9296
9297
9298
9299
9300
9301
9302
9303
9304
9305
9306
9307
9308
9309
9310
9311
9312
9313
9314
9315
9316
9317
9318
9319
9320
9321
9322
9323
9324
9325
9326
9327
9328
9329
9330
9331
9332
9333
9334
9335
9336
9337
9338
9339
9340
9341
9342
9343
9344
9345
9346
9347
9348
9349
9350
9351
9352
9353
9354
9355
9356
9357
9358
9359
9360
9361
9362
9363
9364
9365
9366
9367
9368
9369
9370
9371
9372
9373
9374
9375
9376
9377
9378
9379
9380
9381
9382
9383
9384
9385
9386
9387
9388
9389
9390
9391
9392
9393
9394
9395
9396
9397
9398
9399
9400
9401
9402
9403
9404
9405
9406
9407
9408
9409
9410
9411
9412
9413
9414
9415
9416
9417
9418
9419
9420
9421
9422
9423
9424
9425
9426
9427
9428
9429
9430
9431
9432
9433
9434
9435
9436
9437
9438
9439
9440
9441
9442
9443
9444
9445
9446
9447
9448
9449
9450
9451
9452
9453
9454
9455
9456
9457
9458
9459
9460
9461
9462
9463
9464
9465
9466
9467
9468
9469
9470
9471
9472
9473
9474
9475
9476
9477
9478
9479
9480
9481
9482
9483
9484
9485
9486
9487
9488
9489
9490
9491
9492
9493
9494
9495
9496
9497
9498
9499
9500
9501
9502
9503
9504
9505
9506
9507
9508
9509
9510
9511
9512
9513
9514
9515
9516
9517
9518
9519
9520
9521
9522
9523
9524
9525
9526
9527
9528
9529
9530
9531
9532
9533
9534
9535
9536
9537
9538
9539
9540
9541
9542
9543
9544
9545
9546
9547
9548
9549
9550
9551
9552
9553
9554
9555
9556
9557
9558
9559
9560
9561
9562
9563
9564
9565
9566
9567
9568
9569
9570
9571
9572
9573
9574
9575
9576
9577
9578
9579
9580
9581
9582
9583
9584
9585
9586
9587
9588
9589
9590
9591
9592
9593
9594
9595
9596
9597
9598
9599
9600
9601
9602
9603
9604
9605
9606
9607
9608
9609
9610
9611
9612
9613
9614
9615
9616
9617
9618
9619
9620
9621
9622
9623
9624
9625
9626
9627
9628
9629
9630
9631
9632
9633
9634
9635
9636
9637
9638
9639
9640
9641
9642
9643
9644
9645
9646
9647
9648
9649
9650
9651
9652
9653
9654
9655
9656
9657
9658
9659
9660
9661
9662
9663
9664
9665
9666
9667
9668
9669
9670
9671
9672
9673
9674
9675
9676
9677
9678
9679
9680
9681
9682
9683
9684
9685
9686
9687
9688
9689
9690
9691
9692
9693
9694
9695
9696
9697
9698
9699
9700
9701
9702
9703
9704
9705
9706
9707
9708
9709
9710
9711
9712
9713
9714
9715
9716
9717
9718
9719
9720
9721
9722
9723
9724
9725
9726
9727
9728
9729
9730
9731
9732
9733
9734
9735
9736
9737
9738
9739
9740
9741
9742
9743
9744
9745
9746
9747
9748
9749
9750
9751
9752
9753
9754
9755
9756
9757
9758
9759
9760
9761
9762
9763
9764
9765
9766
9767
9768
9769
9770
9771
9772
9773
9774
9775
9776
9777
9778
9779
9780
9781
9782
9783
9784
9785
9786
9787
9788
9789
9790
9791
9792
9793
9794
9795
9796
9797
9798
9799
9800
9801
9802
9803
9804
9805
9806
9807
9808
9809
9810
9811
9812
9813
9814
9815
9816
9817
9818
9819
9820
9821
9822
9823
9824
9825
9826
9827
9828
9829
9830
9831
9832
9833
9834
9835
9836
9837
9838
9839
9840
9841
9842
9843
9844
9845
9846
9847
9848
9849
9850
9851
9852
9853
9854
9855
9856
9857
9858
9859
9860
9861
9862
9863
9864
9865
9866
9867
9868
9869
9870
9871
9872
9873
9874
9875
9876
9877
9878
9879
9880
9881
9882
9883
9884
9885
9886
9887
9888
9889
9890
9891
9892
9893
9894
9895
9896
9897
9898
9899
9900
9901
9902
9903
9904
9905
9906
9907
9908
9909
9910
9911
9912
9913
9914
9915
9916
9917
9918
9919
9920
9921
9922
9923
9924
9925
9926
9927
9928
9929
9930
9931
9932
9933
9934
9935
9936
9937
9938
9939
9940
9941
9942
9943
9944
9945
9946
9947
9948
9949
9950
9951
9952
9953
9954
9955
9956
9957
9958
9959
9960
9961
9962
9963
9964
9965
9966
9967
9968
9969
9970
9971
9972
9973
9974
9975
9976
9977
9978
9979
9980
9981
9982
9983
9984
9985
9986
9987
9988
9989
9990
9991
9992
9993
9994
9995
9996
9997
9998
9999
10000
10001
10002
10003
10004
10005
10006
10007
10008
10009
10010
10011
10012
10013
10014
10015
10016
10017
10018
10019
10020
10021
10022
10023
10024
10025
10026
10027
10028
10029
10030
10031
10032
10033
10034
10035
10036
10037
10038
10039
10040
10041
10042
10043
10044
10045
10046
10047
10048
10049
10050
10051
10052
10053
10054
10055
10056
10057
10058
10059
10060
10061
10062
10063
10064
10065
10066
10067
10068
10069
10070
10071
10072
10073
10074
10075
10076
10077
10078
10079
10080
10081
10082
10083
10084
10085
10086
10087
10088
10089
10090
10091
10092
10093
10094
10095
10096
10097
10098
10099
10100
10101
10102
10103
10104
10105
10106
10107
10108
10109
10110
10111
10112
10113
10114
10115
10116
10117
10118
10119
10120
10121
10122
10123
10124
10125
10126
10127
10128
10129
10130
10131
10132
10133
10134
10135
10136
10137
10138
10139
10140
10141
10142
10143
10144
10145
10146
10147
10148
10149
10150
10151
10152
10153
10154
10155
10156
10157
10158
10159
10160
10161
10162
10163
10164
10165
10166
10167
10168
10169
10170
10171
10172
10173
10174
10175
10176
10177
10178
10179
10180
10181
10182
10183
10184
10185
10186
10187
10188
10189
10190
10191
10192
10193
10194
10195
10196
10197
10198
10199
10200
10201
10202
10203
10204
10205
10206
10207
10208
10209
10210
10211
10212
10213
10214
10215
10216
10217
10218
10219
10220
10221
10222
10223
10224
10225
10226
10227
10228
10229
10230
10231
10232
10233
10234
10235
10236
10237
10238
10239
10240
10241
10242
10243
10244
10245
10246
10247
10248
10249
10250
10251
10252
10253
10254
10255
10256
10257
10258
10259
10260
10261
10262
10263
10264
10265
10266
10267
10268
10269
10270
10271
10272
10273
10274
10275
10276
10277
10278
10279
10280
10281
10282
10283
10284
10285
10286
10287
10288
10289
10290
10291
10292
10293
10294
10295
10296
10297
10298
10299
10300
10301
10302
10303
10304
10305
10306
10307
10308
10309
10310
10311
10312
10313
10314
10315
10316
10317
10318
10319
10320
10321
10322
10323
10324
10325
10326
10327
10328
10329
10330
10331
10332
10333
10334
10335
10336
10337
10338
10339
10340
10341
10342
10343
10344
10345
10346
10347
10348
10349
10350
10351
10352
10353
10354
10355
10356
10357
10358
10359
10360
10361
10362
10363
10364
10365
10366
10367
10368
10369
10370
10371
10372
10373
10374
10375
10376
10377
10378
10379
10380
10381
10382
10383
10384
10385
10386
10387
10388
10389
10390
10391
10392
10393
10394
10395
10396
10397
10398
10399
10400
10401
10402
10403
10404
10405
10406
10407
10408
10409
10410
10411
10412
10413
10414
10415
10416
10417
10418
10419
10420
10421
10422
10423
10424
10425
10426
10427
10428
10429
10430
10431
10432
10433
10434
10435
10436
10437
10438
10439
10440
10441
10442
10443
10444
10445
10446
10447
10448
10449
10450
10451
10452
10453
10454
10455
10456
10457
10458
10459
10460
10461
10462
10463
10464
10465
10466
10467
10468
10469
10470
10471
10472
10473
10474
10475
10476
10477
10478
10479
10480
10481
10482
10483
10484
10485
10486
10487
10488
10489
10490
10491
10492
10493
10494
10495
10496
10497
10498
10499
10500
10501
10502
10503
10504
10505
10506
10507
10508
10509
10510
10511
10512
10513
10514
10515
10516
10517
10518
10519
10520
10521
10522
10523
10524
10525
10526
10527
10528
10529
10530
10531
10532
10533
10534
10535
10536
10537
10538
10539
10540
10541
10542
10543
10544
10545
10546
10547
10548
10549
10550
10551
10552
10553
10554
10555
10556
10557
10558
10559
10560
10561
10562
10563
10564
10565
10566
10567
10568
10569
10570
10571
10572
10573
10574
10575
10576
10577
10578
10579
10580
10581
10582
10583
10584
10585
10586
10587
10588
10589
10590
10591
10592
10593
10594
10595
10596
10597
10598
10599
10600
10601
10602
10603
10604
10605
10606
10607
10608
10609
10610
10611
10612
10613
10614
10615
10616
10617
10618
10619
10620
10621
10622
10623
10624
10625
10626
10627
10628
10629
10630
10631
10632
10633
10634
10635
10636
10637
10638
10639
10640
10641
10642
10643
10644
10645
10646
10647
10648
10649
10650
10651
10652
10653
10654
10655
10656
10657
10658
10659
10660
10661
10662
10663
10664
10665
10666
10667
10668
10669
10670
10671
10672
10673
10674
10675
10676
10677
10678
10679
10680
10681
10682
10683
10684
10685
10686
10687
10688
10689
10690
10691
10692
10693
10694
10695
10696
10697
10698
10699
10700
10701
10702
10703
10704
10705
10706
10707
10708
10709
10710
10711
10712
10713
10714
10715
10716
10717
10718
10719
10720
10721
10722
10723
10724
10725
10726
10727
10728
10729
10730
10731
10732
10733
10734
10735
10736
10737
10738
10739
10740
10741
10742
10743
10744
10745
10746
10747
10748
10749
10750
10751
10752
10753
10754
10755
10756
10757
10758
10759
10760
10761
10762
10763
10764
10765
10766
10767
10768
10769
10770
10771
10772
10773
10774
10775
10776
10777
10778
10779
10780
10781
10782
10783
10784
10785
10786
10787
10788
10789
10790
10791
10792
10793
10794
10795
10796
10797
10798
10799
10800
10801
10802
10803
10804
10805
10806
10807
10808
10809
10810
10811
10812
10813
10814
10815
10816
10817
10818
10819
10820
10821
10822
10823
10824
10825
10826
10827
10828
10829
10830
10831
10832
10833
10834
10835
10836
10837
10838
10839
10840
10841
10842
10843
10844
10845
10846
10847
10848
10849
10850
10851
10852
10853
10854
10855
10856
10857
10858
10859
10860
10861
10862
10863
10864
10865
10866
10867
10868
10869
10870
10871
10872
10873
10874
10875
10876
10877
10878
10879
10880
10881
10882
10883
10884
10885
10886
10887
10888
10889
10890
10891
10892
10893
10894
10895
10896
10897
10898
10899
10900
10901
10902
10903
10904
10905
10906
10907
10908
10909
10910
10911
10912
10913
10914
10915
10916
10917
10918
10919
10920
10921
10922
10923
10924
10925
10926
10927
10928
10929
10930
10931
10932
10933
10934
10935
10936
10937
10938
10939
10940
10941
10942
10943
10944
10945
10946
10947
10948
10949
10950
10951
10952
10953
10954
10955
10956
10957
10958
10959
10960
10961
10962
10963
10964
10965
10966
10967
10968
10969
10970
10971
10972
10973
10974
10975
10976
10977
10978
10979
10980
10981
10982
10983
10984
10985
10986
10987
10988
10989
10990
10991
10992
10993
10994
10995
10996
10997
10998
10999
11000
11001
11002
11003
11004
11005
11006
11007
11008
11009
11010
11011
11012
11013
11014
11015
11016
11017
11018
11019
11020
11021
11022
11023
11024
11025
11026
11027
11028
11029
11030
11031
11032
11033
11034
11035
11036
11037
11038
11039
11040
11041
11042
11043
11044
11045
11046
11047
11048
11049
11050
11051
11052
11053
11054
11055
11056
11057
11058
11059
11060
11061
11062
11063
11064
11065
11066
11067
11068
11069
11070
11071
11072
11073
11074
11075
11076
11077
11078
11079
11080
11081
11082
11083
11084
11085
11086
11087
11088
11089
11090
11091
11092
11093
11094
11095
11096
11097
11098
11099
11100
11101
11102
11103
11104
11105
11106
11107
11108
11109
11110
11111
11112
11113
11114
11115
11116
11117
11118
11119
11120
11121
11122
11123
11124
11125
11126
11127
11128
11129
11130
11131
11132
11133
11134
11135
11136
11137
11138
11139
11140
11141
11142
11143
11144
11145
11146
11147
11148
11149
11150
11151
11152
11153
11154
11155
11156
11157
11158
11159
11160
11161
11162
11163
11164
11165
11166
11167
11168
11169
11170
11171
11172
11173
11174
11175
11176
11177
11178
11179
11180
11181
11182
11183
11184
11185
11186
11187
11188
11189
11190
11191
11192
11193
11194
11195
11196
11197
11198
11199
11200
11201
11202
11203
11204
11205
11206
11207
11208
11209
11210
11211
11212
11213
11214
11215
11216
11217
11218
11219
11220
11221
11222
11223
11224
11225
11226
11227
11228
11229
11230
11231
11232
11233
11234
11235
11236
11237
11238
11239
11240
11241
11242
11243
11244
11245
11246
11247
11248
11249
11250
11251
11252
11253
11254
11255
11256
11257
11258
11259
11260
11261
11262
11263
11264
11265
11266
11267
11268
11269
11270
11271
11272
11273
11274
11275
11276
11277
11278
11279
11280
11281
11282
11283
11284
11285
11286
11287
11288
11289
11290
11291
11292
11293
11294
11295
11296
11297
11298
11299
11300
11301
11302
11303
11304
11305
11306
11307
11308
11309
11310
11311
11312
11313
11314
11315
11316
11317
11318
11319
11320
11321
11322
11323
11324
11325
11326
11327
11328
11329
11330
11331
11332
11333
11334
11335
11336
11337
11338
11339
11340
11341
11342
11343
11344
11345
11346
11347
11348
11349
11350
11351
11352
11353
11354
11355
11356
11357
11358
11359
11360
11361
11362
11363
11364
11365
11366
11367
11368
11369
11370
11371
11372
11373
11374
11375
11376
11377
11378
11379
11380
11381
11382
11383
11384
11385
11386
11387
11388
11389
11390
11391
11392
11393
11394
11395
11396
11397
11398
11399
11400
11401
11402
11403
11404
11405
11406
11407
11408
11409
11410
11411
11412
11413
11414
11415
11416
11417
11418
11419
11420
11421
11422
11423
11424
11425
11426
11427
11428
11429
11430
11431
11432
11433
11434
11435
11436
11437
11438
11439
11440
11441
11442
11443
11444
11445
11446
11447
11448
11449
11450
11451
11452
11453
11454
11455
11456
11457
11458
11459
11460
11461
11462
11463
11464
11465
11466
11467
11468
11469
11470
11471
11472
11473
11474
11475
11476
11477
11478
11479
11480
11481
11482
11483
11484
11485
11486
11487
11488
11489
11490
11491
11492
11493
11494
11495
11496
11497
11498
11499
11500
11501
11502
11503
11504
11505
11506
11507
11508
11509
11510
11511
11512
11513
11514
11515
11516
11517
11518
11519
11520
11521
11522
11523
11524
11525
11526
11527
11528
11529
11530
11531
11532
11533
11534
11535
11536
11537
11538
11539
11540
11541
11542
11543
11544
11545
11546
11547
11548
11549
11550
11551
11552
11553
11554
11555
11556
11557
11558
11559
11560
11561
11562
11563
11564
11565
11566
11567
11568
11569
11570
11571
11572
11573
11574
11575
11576
11577
11578
11579
11580
11581
11582
11583
11584
11585
11586
11587
11588
11589
11590
11591
11592
11593
11594
11595
11596
11597
11598
11599
11600
11601
11602
11603
11604
11605
11606
11607
11608
11609
11610
11611
11612
11613
11614
11615
11616
11617
11618
11619
11620
11621
11622
11623
11624
11625
11626
11627
11628
11629
11630
11631
11632
11633
11634
11635
11636
11637
11638
11639
11640
11641
11642
11643
11644
11645
11646
11647
11648
11649
11650
11651
11652
11653
11654
11655
11656
11657
11658
11659
11660
11661
11662
11663
11664
11665
11666
11667
11668
11669
11670
11671
11672
11673
11674
11675
11676
11677
11678
11679
11680
11681
11682
11683
11684
11685
11686
11687
11688
11689
11690
11691
11692
11693
11694
11695
11696
11697
11698
11699
11700
11701
11702
11703
11704
11705
11706
11707
11708
11709
11710
11711
11712
11713
11714
11715
11716
11717
11718
11719
11720
11721
11722
11723
11724
11725
11726
11727
11728
11729
11730
11731
11732
11733
11734
11735
11736
11737
11738
11739
11740
11741
11742
11743
11744
11745
11746
11747
11748
11749
11750
11751
11752
11753
11754
11755
11756
11757
11758
11759
11760
11761
11762
11763
11764
11765
11766
11767
11768
11769
11770
11771
11772
11773
11774
11775
11776
11777
11778
11779
11780
11781
11782
11783
11784
11785
11786
11787
11788
11789
11790
11791
11792
11793
11794
11795
11796
11797
11798
11799
11800
11801
11802
11803
11804
11805
11806
11807
11808
11809
11810
11811
11812
11813
11814
11815
11816
11817
11818
11819
11820
11821
11822
11823
11824
11825
11826
11827
11828
11829
11830
11831
11832
11833
11834
11835
11836
11837
11838
11839
11840
11841
11842
11843
11844
11845
11846
11847
11848
11849
11850
11851
11852
11853
11854
11855
11856
11857
11858
11859
11860
11861
11862
11863
11864
11865
11866
11867
11868
11869
11870
11871
11872
11873
11874
11875
11876
11877
11878
11879
11880
11881
11882
11883
11884
11885
11886
11887
11888
11889
11890
11891
11892
11893
11894
11895
11896
11897
11898
11899
11900
11901
11902
11903
11904
11905
11906
11907
11908
11909
11910
11911
11912
11913
11914
11915
11916
11917
11918
11919
11920
11921
11922
11923
11924
11925
11926
11927
11928
11929
11930
11931
11932
11933
11934
11935
11936
11937
11938
11939
11940
11941
11942
11943
11944
11945
11946
11947
11948
11949
11950
11951
11952
11953
11954
11955
11956
11957
11958
11959
11960
11961
11962
11963
11964
11965
11966
11967
11968
11969
11970
11971
11972
11973
11974
11975
11976
11977
11978
11979
11980
11981
11982
11983
11984
11985
11986
11987
11988
11989
11990
11991
11992
11993
11994
11995
11996
11997
11998
11999
12000
12001
12002
12003
12004
12005
12006
12007
12008
12009
12010
12011
12012
12013
12014
12015
12016
12017
12018
12019
12020
12021
12022
12023
12024
12025
12026
12027
12028
12029
12030
12031
12032
12033
12034
12035
12036
12037
12038
12039
12040
12041
12042
12043
12044
12045
12046
12047
12048
12049
12050
12051
12052
12053
12054
12055
12056
12057
12058
12059
12060
12061
12062
12063
12064
12065
12066
12067
12068
12069
12070
12071
12072
12073
12074
12075
12076
12077
12078
12079
12080
12081
12082
12083
12084
12085
12086
12087
12088
12089
12090
12091
12092
12093
12094
12095
12096
12097
12098
12099
12100
12101
12102
12103
12104
12105
12106
12107
12108
12109
12110
12111
12112
12113
12114
12115
12116
12117
12118
12119
12120
12121
12122
12123
12124
12125
12126
12127
12128
12129
12130
12131
12132
12133
12134
12135
12136
12137
12138
12139
12140
12141
12142
12143
12144
12145
12146
12147
12148
12149
12150
12151
12152
12153
12154
12155
12156
12157
12158
12159
12160
12161
12162
12163
12164
12165
12166
12167
12168
12169
12170
12171
12172
12173
12174
12175
12176
12177
12178
12179
12180
12181
12182
12183
12184
12185
12186
12187
12188
12189
12190
12191
12192
12193
12194
12195
12196
12197
12198
12199
12200
12201
12202
12203
12204
12205
12206
12207
12208
12209
12210
12211
12212
12213
12214
12215
12216
12217
12218
12219
12220
12221
12222
12223
12224
12225
12226
12227
12228
12229
12230
12231
12232
12233
12234
12235
12236
12237
12238
12239
12240
12241
12242
12243
12244
12245
12246
12247
12248
12249
12250
12251
12252
12253
12254
12255
12256
12257
12258
12259
12260
12261
12262
12263
12264
12265
12266
12267
12268
12269
12270
12271
12272
12273
12274
12275
12276
12277
12278
12279
12280
12281
12282
12283
12284
12285
12286
12287
12288
12289
12290
12291
12292
12293
12294
12295
12296
12297
12298
12299
12300
12301
12302
12303
12304
12305
12306
12307
12308
12309
12310
12311
12312
12313
12314
12315
12316
12317
12318
12319
12320
12321
12322
12323
12324
12325
12326
12327
12328
12329
12330
12331
12332
12333
12334
12335
12336
12337
12338
12339
12340
12341
12342
12343
12344
12345
12346
12347
12348
12349
12350
12351
12352
12353
12354
12355
12356
12357
12358
12359
12360
12361
12362
12363
12364
12365
12366
12367
12368
12369
12370
12371
12372
12373
12374
12375
12376
12377
12378
12379
12380
12381
12382
12383
12384
12385
12386
12387
12388
12389
12390
12391
12392
12393
12394
12395
12396
12397
12398
12399
12400
12401
12402
12403
12404
12405
12406
12407
12408
12409
12410
12411
12412
12413
12414
12415
12416
12417
12418
12419
12420
12421
12422
12423
12424
12425
12426
12427
12428
12429
12430
12431
12432
12433
12434
12435
12436
12437
12438
12439
12440
12441
12442
12443
12444
12445
12446
12447
12448
12449
12450
12451
12452
12453
12454
12455
12456
12457
12458
12459
12460
12461
12462
12463
12464
12465
12466
12467
12468
12469
12470
12471
12472
12473
12474
12475
12476
12477
12478
12479
12480
12481
12482
12483
12484
12485
12486
12487
12488
12489
12490
12491
12492
12493
12494
12495
12496
12497
12498
12499
12500
12501
12502
12503
12504
12505
12506
12507
12508
12509
12510
12511
12512
12513
12514
12515
12516
12517
12518
12519
12520
12521
12522
12523
12524
12525
12526
12527
12528
12529
12530
12531
12532
12533
12534
12535
12536
12537
12538
12539
12540
12541
12542
12543
12544
12545
12546
12547
12548
12549
12550
12551
12552
12553
12554
12555
12556
12557
12558
12559
12560
12561
12562
12563
12564
12565
12566
12567
12568
12569
12570
12571
12572
12573
12574
12575
12576
12577
12578
12579
12580
12581
12582
12583
12584
12585
12586
12587
12588
12589
12590
12591
12592
12593
12594
12595
12596
12597
12598
12599
12600
12601
12602
12603
12604
12605
12606
12607
12608
12609
12610
12611
12612
12613
12614
12615
12616
12617
12618
12619
12620
12621
12622
12623
12624
12625
12626
12627
12628
12629
12630
12631
12632
12633
12634
12635
12636
12637
12638
12639
12640
12641
12642
12643
12644
12645
12646
12647
12648
12649
12650
12651
12652
12653
12654
12655
12656
12657
12658
12659
12660
12661
12662
12663
12664
12665
12666
12667
12668
12669
12670
12671
12672
12673
12674
12675
12676
12677
12678
12679
12680
12681
12682
12683
12684
12685
12686
12687
12688
12689
12690
12691
12692
12693
12694
12695
12696
12697
12698
12699
12700
12701
12702
12703
12704
12705
12706
12707
12708
12709
12710
12711
12712
12713
12714
12715
12716
12717
12718
12719
12720
12721
12722
12723
12724
12725
12726
12727
12728
12729
12730
12731
12732
12733
12734
12735
12736
12737
12738
12739
12740
12741
12742
12743
12744
12745
12746
12747
12748
12749
12750
12751
12752
12753
12754
12755
12756
12757
12758
12759
12760
12761
12762
12763
12764
12765
12766
12767
12768
12769
12770
12771
12772
12773
12774
12775
12776
12777
12778
12779
12780
12781
12782
12783
12784
12785
12786
12787
12788
12789
12790
12791
12792
12793
12794
12795
12796
12797
12798
12799
12800
12801
12802
12803
12804
12805
12806
12807
12808
12809
12810
12811
12812
12813
12814
12815
12816
12817
12818
12819
12820
12821
12822
12823
12824
12825
12826
12827
12828
12829
12830
12831
12832
12833
12834
12835
12836
12837
12838
12839
12840
12841
12842
12843
12844
12845
12846
12847
12848
12849
12850
12851
12852
12853
12854
12855
12856
12857
12858
12859
12860
12861
12862
12863
12864
12865
12866
12867
12868
12869
12870
12871
12872
12873
12874
12875
12876
12877
12878
12879
12880
12881
12882
12883
12884
12885
12886
12887
12888
12889
12890
12891
12892
12893
12894
12895
12896
12897
12898
12899
12900
12901
12902
12903
12904
12905
12906
12907
12908
12909
12910
12911
12912
12913
12914
12915
12916
12917
12918
12919
12920
12921
12922
12923
12924
12925
12926
12927
12928
12929
12930
12931
12932
12933
12934
12935
12936
12937
12938
12939
12940
12941
12942
12943
12944
12945
12946
12947
12948
12949
12950
12951
12952
12953
12954
12955
12956
12957
12958
12959
12960
12961
12962
12963
12964
12965
12966
12967
12968
12969
12970
12971
12972
12973
12974
12975
12976
12977
12978
12979
12980
12981
12982
12983
12984
12985
12986
12987
12988
12989
12990
12991
12992
12993
12994
12995
12996
12997
12998
12999
13000
13001
13002
13003
13004
13005
13006
13007
13008
13009
13010
13011
13012
13013
13014
13015
13016
13017
13018
13019
13020
13021
13022
13023
13024
13025
13026
13027
13028
13029
13030
13031
13032
13033
13034
13035
13036
13037
13038
13039
13040
13041
13042
13043
13044
13045
13046
13047
13048
13049
13050
13051
13052
13053
13054
13055
13056
13057
13058
13059
13060
13061
13062
13063
13064
13065
13066
13067
13068
13069
13070
13071
13072
13073
13074
13075
13076
13077
13078
13079
13080
13081
13082
13083
13084
13085
13086
13087
13088
13089
13090
13091
13092
13093
13094
13095
13096
13097
13098
13099
13100
13101
13102
13103
13104
13105
13106
13107
13108
13109
13110
13111
13112
13113
13114
13115
13116
13117
13118
13119
13120
13121
13122
13123
13124
13125
13126
13127
13128
13129
13130
13131
13132
13133
13134
13135
13136
13137
13138
13139
13140
13141
13142
13143
13144
13145
13146
13147
13148
13149
13150
13151
13152
13153
13154
13155
13156
13157
13158
13159
13160
13161
13162
13163
13164
13165
13166
13167
13168
13169
13170
13171
13172
13173
13174
13175
13176
13177
13178
13179
13180
13181
13182
13183
13184
13185
13186
13187
13188
13189
13190
13191
13192
13193
13194
13195
13196
13197
13198
13199
13200
13201
13202
13203
13204
13205
13206
13207
13208
13209
13210
13211
13212
13213
13214
13215
13216
13217
13218
13219
13220
13221
13222
13223
13224
13225
13226
13227
13228
13229
13230
13231
13232
13233
13234
13235
13236
13237
13238
13239
13240
13241
13242
13243
13244
13245
13246
13247
13248
13249
13250
13251
13252
13253
13254
13255
13256
13257
13258
13259
13260
13261
13262
13263
13264
13265
13266
13267
13268
13269
13270
13271
13272
13273
13274
13275
13276
13277
13278
13279
13280
13281
13282
13283
13284
13285
13286
13287
13288
13289
13290
13291
13292
13293
13294
13295
13296
13297
13298
13299
13300
13301
13302
13303
13304
13305
13306
13307
13308
13309
13310
13311
13312
13313
13314
13315
13316
13317
13318
13319
13320
13321
13322
13323
13324
13325
13326
13327
13328
13329
13330
13331
13332
13333
13334
13335
13336
13337
13338
13339
13340
13341
13342
13343
13344
13345
13346
13347
13348
13349
13350
13351
13352
13353
13354
13355
13356
13357
13358
13359
13360
13361
13362
13363
13364
13365
13366
13367
13368
13369
13370
13371
13372
13373
13374
13375
13376
13377
13378
13379
13380
13381
13382
13383
13384
13385
13386
13387
13388
13389
13390
13391
13392
13393
13394
13395
13396
13397
13398
13399
13400
13401
13402
13403
13404
13405
13406
13407
13408
13409
13410
13411
13412
13413
13414
13415
13416
13417
13418
13419
13420
13421
13422
13423
13424
13425
13426
13427
13428
13429
13430
13431
13432
13433
13434
13435
13436
13437
13438
13439
13440
13441
13442
13443
13444
13445
13446
13447
13448
13449
13450
13451
13452
13453
13454
13455
13456
13457
13458
13459
13460
13461
13462
13463
13464
13465
13466
13467
13468
13469
13470
13471
13472
13473
13474
13475
13476
13477
13478
13479
13480
13481
13482
13483
13484
13485
13486
13487
13488
13489
13490
13491
13492
13493
13494
13495
13496
13497
13498
13499
13500
13501
13502
13503
13504
13505
13506
13507
13508
13509
13510
13511
13512
13513
13514
13515
13516
13517
13518
13519
13520
13521
13522
13523
13524
13525
13526
13527
13528
13529
13530
13531
13532
13533
13534
13535
13536
13537
13538
13539
13540
13541
13542
13543
13544
13545
13546
13547
13548
13549
13550
13551
13552
13553
13554
13555
13556
13557
13558
13559
13560
13561
13562
13563
13564
13565
13566
13567
13568
13569
13570
13571
13572
13573
13574
13575
13576
13577
13578
13579
13580
13581
13582
13583
13584
13585
13586
13587
13588
13589
13590
13591
13592
13593
13594
13595
13596
13597
13598
13599
13600
13601
13602
13603
13604
13605
13606
13607
13608
13609
13610
13611
13612
13613
13614
13615
13616
13617
13618
13619
13620
13621
13622
13623
13624
13625
13626
13627
13628
13629
13630
13631
13632
13633
13634
13635
13636
13637
13638
13639
13640
13641
13642
13643
13644
13645
13646
13647
13648
13649
13650
13651
13652
13653
13654
13655
13656
13657
13658
13659
13660
13661
13662
13663
13664
13665
13666
13667
13668
13669
13670
13671
13672
13673
13674
13675
13676
13677
13678
13679
13680
13681
13682
13683
13684
13685
13686
13687
13688
13689
13690
13691
13692
13693
13694
13695
13696
13697
13698
13699
13700
13701
13702
13703
13704
13705
13706
13707
13708
13709
13710
13711
13712
13713
13714
13715
13716
13717
13718
13719
13720
13721
13722
13723
13724
13725
13726
13727
13728
13729
13730
13731
13732
13733
13734
13735
13736
13737
13738
13739
13740
13741
13742
13743
13744
13745
13746
13747
13748
13749
13750
13751
13752
13753
13754
13755
13756
13757
13758
13759
13760
13761
13762
13763
13764
13765
13766
13767
13768
13769
13770
13771
13772
13773
13774
13775
13776
13777
13778
13779
13780
13781
13782
13783
13784
13785
13786
13787
13788
13789
13790
13791
13792
13793
13794
13795
13796
13797
13798
13799
13800
13801
13802
13803
13804
13805
13806
13807
13808
13809
13810
13811
13812
13813
13814
13815
13816
13817
13818
13819
13820
13821
13822
13823
13824
13825
13826
13827
13828
13829
13830
13831
13832
13833
13834
13835
13836
13837
13838
13839
13840
13841
13842
13843
13844
13845
13846
13847
13848
13849
13850
13851
13852
13853
13854
13855
13856
13857
13858
13859
13860
13861
13862
13863
13864
13865
13866
13867
13868
13869
13870
13871
13872
13873
13874
13875
13876
13877
13878
13879
13880
13881
13882
13883
13884
13885
13886
13887
13888
13889
13890
13891
13892
13893
13894
13895
13896
13897
13898
13899
13900
13901
13902
13903
13904
13905
13906
13907
13908
13909
13910
13911
13912
13913
13914
13915
13916
13917
13918
13919
13920
13921
13922
13923
13924
13925
13926
13927
13928
13929
13930
13931
13932
13933
13934
13935
13936
13937
13938
13939
13940
13941
13942
13943
13944
13945
13946
13947
13948
13949
13950
13951
13952
13953
13954
13955
13956
13957
13958
13959
13960
13961
13962
13963
13964
13965
13966
13967
13968
13969
13970
13971
13972
13973
13974
13975
13976
13977
13978
13979
13980
13981
13982
13983
13984
13985
13986
13987
13988
13989
13990
13991
13992
13993
13994
13995
13996
13997
13998
13999
14000
14001
14002
14003
14004
14005
14006
14007
14008
|
Tue Aug 10 14:46:12 1999 David L. Levine <levine@cs.wustl.edu>
* ace/OS.{h,cpp},README: Changed support for ACE_OS::strptime ()
to be configurable. VxWorks, LynxOS, and Chorus, for example,
don't have a native ::strptime (). The current emulation cost
2 Kb, which will be objectionable to some embedded systems
developers.
Replaced ACE_LACKS_STRPTIME with a combination
ACE_HAS_STRPTIME/ACE_LACKS_NATIVE_STRPTIME. ACE_HAS_STRPTIME
enables ACE_OS::strptime () support. ACE_LACKS_NATIVE_STRPTIME
lets ACE know that there's no native ::strptime (), so it then
uses its emulation.
This has two advantages: it minimizes footprint in the default
case, and doesn't break builds on platforms that don't have
::strptime (). It easily allows developers to configure ACE
identically, with respect to strptime, on their Unix, NT, and
embedded platforms. [Bug 219]
* ace/config-sunos5.5.h,config-linux-common.h,config-osf1-4.0.h,
config-irix6.x-common.h:
added #define ACE_HAS_STRPTIME. [Bug 219]
Tue Aug 10 12:28:54 1999 Jeff Parsons <parsons@cs.wustl.edu>
* bin/run_all_list.pm:
Added IDL test to the list.
Mon Aug 09 16:49:45 1999 Nanbor Wang <nanbor@cs.wustl.edu>
* ace/Process.{h,cpp} (wait): Re-visited the implementation so it
behaves the same on both UNIX and Win32. Thanks to Doug for
suggesting this.
Mon Aug 09 16:30:24 1999 David L. Levine <levine@cs.wustl.edu>
* docs/ACE-guidelines.html: added note to follow the
ACE documentation tools guidelines and restrictions.
Thanks to Doug for pointing this out.
Mon Aug 09 16:06:01 1999 Nanbor Wang <nanbor@cs.wustl.edu>
* include/makeinclude/wrapper_macros.GNU: Applied smart eg++
recognizer. Thanks to Craig Anderson <chanders@timing.com> for
providing the patch.
Mon Aug 9 11:29:36 1999 Douglas C. Schmidt <schmidt@tango.cs.wustl.edu>
* bin: Fixed html-windex so that it works when class names contain
the digit '3' in them, e.g., ACE_WIN32_Asynch_Accept, etc.
Thanks to Jody Hagins <jody@atdesk.com> for reporting this
problem.
Mon Aug 09 15:10:27 1999 Nanbor Wang <nanbor@cs.wustl.edu>
* ace/Process.h (wait): Rewrote comments.
* ace/Service_Config.h (open): Revised the comments for several
service_config flags. Thanks to Doug for pointing this out.
Mon Aug 9 11:29:36 1999 Douglas C. Schmidt <schmidt@tango.cs.wustl.edu>
* examples/Reactor/Misc/test_demuxing.cpp: Added a destructor
to ~STDIN_Handler that will remove the event handler for STDIN
and the registered timer.
Mon Aug 9 10:45:24 1999 Douglas C. Schmidt <schmidt@mambo.cs.wustl.edu>
* ace/Memory_Pool.cpp (handle_signal): When working with an MMAP
memory pool, a "real" segmentation fault (not related to
updating the memory mapping) will cause the process to fail but
not write a core file. This is because that on linux (and
possibly other flavours of UNIX) core file writing is a default
behaviour which is disabled once you register a signal handler.
Even if the signal handler returns a bad return value which
crashes the program, a core file will not be written.
The fix for this is to modify the mmap() signal handler so that
it de-registers the signal handler when detecting a segfault
with the mapping up to date and return an "ok" answer. the
program will attempt to access the illegal address again and
dump core. Thanks to Joseph Weihs <joseph-w@Orbotech.Co.IL> for
contributing this fix.
* ace/Signal: Changed the new handle_i() and register_handler_i()
methods to be static member functions so they can be called from
the static dispatch() member function. Thanks to Andreas
Geisler <andreas.geisler@erls.siemens.de> for reporting this.
Mon Aug 9 10:33:50 1999 Douglas C. Schmidt <schmidt@tango.cs.wustl.edu>
* examples/ASX/CCM_App/SC_Server.cpp: Make sure to enable
the appropriate parameter for ACE_Service_Config::open() so that
static services will be enabled. Thanks to Michael Roth
<ombelico@gmx.net> for reporting this.
Mon Aug 09 10:21:37 1999 David L. Levine <levine@cs.wustl.edu>
* include/makeinclude/wrapper_macros.GNU (INCLDIRS):
removed "-I.". It's not necessary, because the preprocessor
will first look for headers in the current directory, when
appropriate. It causes trouble, for example, on NT for
VxWorks with Green Hills. Instead of including the system's
Signal.h, ACE's signal.h gets #included with "-I.". Thanks
to Dale Wood <dale_wood@Mitel.com> for helping to track
this down. [Bug 35]
* include/makeinclude/platform_vxworks5.x_ghs.GNU: no longer
need to override INCLDIRS, now that it doesn't contain "-I.".
[Bug 35]
Mon Aug 09 10:09:57 1999 David L. Levine <levine@cs.wustl.edu>
* ace/OS.h,streams.h: moved ACE_OSTREAM_TYPE #define from
streams.h to OS.h, so that it is seen with
ACE_LACKS_IOSTREAM_TOTALLY. And, provide default value
for ACE_DEFAULT_LOG_STREAM. [Bug 208]
* ace/Log_Msg.cpp: changed a couple remaining ostream occurrences
to ACE_OSTREAM_TYPE. Replaced conditional use of
ACE_DEFAULT_LOG_STREAM/&cerr with ACE_DEFAULT_LOG_STREAM,
now that it's always defined. [Bug 208]
Mon Aug 09 09:47:06 1999 David L. Levine <levine@cs.wustl.edu>
* ace/Log_Msg.{h,cpp}: replaced the ACE_Log_Msg_key_created_
and ACE_Log_Msg_key_ file static variables with static
class members ACE_Log_Msg::key_created_ and
ACE_Log_Msg::log_msg_tss_key_, respectively. Only declare
ACE_Log_Msg::log_msg_tss_key_ if the platform supports TSS
(native or emulated). Replaced the ACE_Log_Msg_message_queue
file static variable with ACE_Log_Msg_Manager::message_queue_.
Cleaned up Log_Msg.cpp. [Bug 86]
Thanks to Umar Syyid <usyyid@hns.com> for suggesting that
we remove the file static variables.
Mon Aug 09 09:33:43 1999 David L. Levine <levine@cs.wustl.edu>
* ace/OS.h: #define ECOMM (to ECONNABORTED) if it's not
already #defined. This allows support on NT. Thanks to
Andy for reporting this.
Mon Aug 9 07:45:19 1999 Douglas C. Schmidt <schmidt@tango.cs.wustl.edu>
* ace/Signal.h: Modified the behavior of the
ACE_Sig_Handler::dispatch() method so that on Win32 it'll
automagically re-register the signal handler after the
handler_signal() method returns with a non -1 value. Thanks to
Andreas Geisler <andreas.geisler@erls.siemens.de> for suggesting
this.
* tests/Malloc_Test.cpp: Win32 didn't seem to like a 32k
offset for the virtual address. Let's try 64k instead. Thanks
to Nanbor for reporting this.
* tests/Malloc_Test.cpp: Changed the sense of the conditional
compilation test from && !defined (ACE_WIN32) to || defined
(ACE_WIN32) so that this will run on Win32. Thanks to
Nanbor for reporting this.
* ace/OS.i: Cleaned up the coding style for the sigset*
wrapper functions.
Sun Aug 08 21:19:42 1999 David L. Levine <levine@cs.wustl.edu>
* ace/config-osf1-4.0.h: removed unreferenced_function_param
warning suppression. It's no longer needed with the fixes
to avoid unreferenced function parameters. [Bug 217]
Fri Aug 06 15:20:00 1999 Kirthika Parameswaran <kirthika@cs.wustl.edu>
* ACE-INSTALL.html: added information about compilation on
SunOS5.6 using egcs1.1.2.
Fri Aug 06 13:47:51 1999 David L. Levine <levine@cs.wustl.edu>
* ACE-INSTALL.html: added note about disabling optimization
for some files with Tornado II.
Fri Aug 06 13:39:48 1999 David L. Levine <levine@cs.wustl.edu>
* ACE-INSTALL.html: updated VxWorks build information,
specifically, the instructions for building on NT host.
And, added information about linking libACE.so and libTAO.so
into the VxWorks kernel. Thanks to
Erik Johannes <ejohannes@oresis.com> and Stephane Chatre
<schatre@oresis.com> for helping to clarify and verify.
Fri Aug 06 12:10:19 1999 Nanbor Wang <nanbor@cs.wustl.edu>
* ace/config-win32-common.h: Added
ACE_HAS_POSITION_INDEPENDENT_MALLOC.
* ace/OS.cpp (strptime_getnum): getnum should be strptim_getnum.
* ace/config-win32-common.h: Added ACE_LACKS_STRPTIME. Thanks to
Andy for pointing this out.
Fri Aug 06 11:13:27 1999 David L. Levine <levine@cs.wustl.edu>
* ace/streams.h,OS.h,Log_Msg.h: with ACE_LACKS_IOSTREAM_TOTALLY,
removed the hack that re-#defined ostream. Replaced that
with an ACE_OSTREAM_TYPE macro. [Bug 208]
Fri Aug 06 10:49:34 1999 David L. Levine <levine@cs.wustl.edu>
* ACE-INSTALL.html: updated egcs versions that we use
(1.1.1 and 1.1.2).
Fri Aug 6 08:43:22 1999 Douglas C. Schmidt <schmidt@tango.cs.wustl.edu>
* examples/Log_Msg/test_log_msg.cpp (main): Changed this
test so that it no longer abort()s, but instead calls
ACE_OS::_exit(). This should help avoid confusion when it's
run. Thanks to Kevin Lyda <kevin.lyda@trintech.com> for
reporting this. This fixes [BUGID:211].
* ace/SOCK_Dgram_Mcast: The QoS-enabled subscribe() call must
call the QoS-enabled open() call, rather than the "regular"
open() call because otherwise QoS information isn't initialized!
Thanks to Vishal for pointing this out.
Fri Aug 06 08:22:00 1999 David L. Levine <levine@cs.wustl.edu>
* ace/Object_Manager.cpp: with ACE_SHOULD_MALLOC_STATIC_OBJECT_LOCK,
made the ACE_Static_Object_Lock_lock instance static, to
match the non-ACE_SHOULD_MALLOC_STATIC_OBJECT_LOCK behavior.
Thanks to Jody for this change.
Also, consolidated the code to alway use the
ACE_Static_Object_Lock_Type typedef.
Fri Aug 06 06:55:49 1999 Jody Hagins <jody@atdesk.com>
* include/makeinclude/rules.local.GNU (depend.local): added
ACE_DEPEND_SED_CMD hook, so that users can add sed scripts.
An example is to use relative instead of absolute paths
in dependencies. I put this into it to get the desired
(site-specific) functionality:
USER_DEPEND_SED_CMD=-e "s;$(PRISM_ROOT);\$$(PRISM_ROOT);g"
Thu Aug 5 22:26:18 1999 Douglas C. Schmidt <schmidt@mambo.cs.wustl.edu>
* ace/OS.h (ACE_OS): Added support for strptime() for platforms that
lack it. Thanks to Kevin Lyda <kevin.lyda@trintech.com> for
contributing this. Note that if a platform fails to compile
because it doesn't support this function, please enable
ACE_LACKS_STRPTIME in the config.h file and send us email.
Thu Aug 05 21:37:05 1999 David L. Levine <levine@cs.wustl.edu>
* ace/Object_Manager.cpp (ACE_Static_Object_Lock_lock,
ACE_Static_Object_Lock::instance, cleanup_lock):
added support for ACE_SHOULD_MALLOC_STATIC_OBJECT_LOCK.
It's not (currently) used by ACE. But, applications may
find it useful for avoiding recursive calls if they have
overridden operator new. Thanks to Jody Hagins
<jody@atdesk.com> for contributing it.
Thu Aug 05 21:04:20 1999 David L. Levine <levine@cs.wustl.edu>
* ace/streams.h: removed #includes of istream.h and ostream.h
with ACE_HAS_STD_CPP_LIBRARY and ACE_USES_OLD_IOSTREAMS.
Those headers aren't available with Sun CC. I think that
they might be unnecessary with egcs for Tornado II. Thanks
to Doug for reporting this. Ref.
Thu Aug 05 14:31:48 1999 David L. Levine <levine@cs.wustl.edu>.
Thu Aug 5 16:43:29 1999 Douglas C. Schmidt <schmidt@mambo.cs.wustl.edu>
* tests/Malloc_Test.cpp: Rearranged the #ifdefs so that
we don't do much of anything if the platform doesn't support
processes. Thanks to David Levine for reporting this.
Thu Aug 5 16:27:15 1999 Carlos O'Ryan <coryan@cs.wustl.edu>
* include/makeinclude/rules.lib.GNU:
* include/makeinclude/wrapper_macros.GNU:
Added new macro (ACE_SHLIBS) to control the final link line of
shared libraries. Use this macro to list the -l options
required by your shared library that are *not* included in the
system LIBS macro, for example "-lTAO -lACE"; the system will
automagically change that to be "-lTAOshr -lACEshr" on AIX.
This also decouples the shared library link line from the
binaries, which use LDLIBS and ACELIB, allowing the application
developers to easily mix shared libraries and binaries in the
same directory, even if the binaries depend on the generated
shared library.
Thu Aug 05 15:44:39 1999 David L. Levine <levine@cs.wustl.edu>
* include/makeinclude/platform_vxworks5.x_g++.GNU: on
WIN32 host, assume that $(CC) is on the user's path (or is a
full pathname). That way, we don't need to determine ACE_CC
dynamically, which causes trouble with the WIN32 shell. Thanks
to Erik Johannes <ejohannes@oresis.com> for reporting this.
[NOTE: this had been committed on a branch, but never on the
main line.]
Thu Aug 05 15:35:21 1999 Nanbor Wang <nanbor@cs.wustl.edu>
* apps/gperf/src/gperf.dsp:
* apps/gperf/src/gperf_lib.dsp:
* ace/ace_lib.dsp:
* ace/ace_dll.dsp: Changed the default configuration to Win32
Debug so if anyone doesn't know what he is doing, he'll most
likely to success.
Thu Aug 05 15:30:32 1999 David L. Levine <levine@cs.wustl.edu>
* ace/streams.h: with ACE_LACKS_IOSTREAMS_TOTALLY, always
#define ostream FILE *. [Bug 208]
Thu Aug 05 15:13:01 1999 David L. Levine <levine@cs.wustl.edu>
* ace/config-lynxos.h: added note on why we don't #define
ACE_HAS_POSIX_SEM for LynxOS. [Bug 164]
Thu Aug 05 14:53:44 1999 David L. Levine <levine@cs.wustl.edu>
* ace/config-vxworks5.x.h: added support for the Diab
compiler, version 4.2a or later. Compilation succeeds but links
still have unresolved symbols related to new and delete. [Bug
207]
* ace/OS.h,README: added support for ACE_LACKS_NEW_H. [Bug 207]
* ace/OS.h: for VxWorks, use the ANSI prototypes for
inet_ntoa.h, etc., for all VxWorks compilers, not just Green
Hills. This allows compilation to succeed with Diab 4.2a. [Bug
207]
Thanks to Erik Johannes <ejohannes@oresis.com> for helping with
this quick port to Diab 4.2a for VxWorks.
Thu Aug 05 14:31:48 1999 David L. Levine <levine@cs.wustl.edu>
* ace/iosfwd.h: #include iosfwd with
ACE_HAS_MINIMUM_IOSTREAMH_INCLUSION as well as without
ACE_HAS_OLD_IOSTREAMS. This allows builds to succeed for
Tornado II with its egcs. [Bug 206]
* ace/streams.h: added #includes of istream.h, ostream.h,
and iomanip.h with ACE_HAS_STD_CPP_LIBRARY and
ACE_USES_OLD_IOSTREAMS. It's necessary for builds for Tornado
II, but should be harmless and helpful on other platforms. [Bug
206]
Thanks to Matthias Schumann <matthias.schumann@xcc.de> for
first reporting the solution to the build problem for Tornado II.
Thu Aug 5 13:03:28 1999 Douglas C. Schmidt <schmidt@ace.cs.wustl.edu>
* ace/Malloc_T.cpp (shared_free): Looks like ACE_reinterpret_cast
isn't the right thing to do... Let's just use good ol'
fashioned C-style casts instead. Thanks to Bala for reporting
this.
Thu Aug 05 12:05:42 1999 David L. Levine <levine@cs.wustl.edu>
* include/makeinclude/wrapper_macros.GNU: moved minimum_corba
make flag support from wrapper_macros.GNU to TAO/rules.tao.GNU.
Thanks to Bala for noticing this. [Bug 204]
Thu Aug 05 12:01:14 1999 Nanbor Wang <nanbor@cs.wustl.edu>
* ace/Malloc_T.cpp (shared_free): Applied
ACE_reinterpret_cast (ACE_Malloc_Header*, yadda) to serveral
pointer comparisons. MSVC was complaining because the pointers are
of different types.
Thu Aug 5 11:57:23 1999 Balachandran Natarajan <bala@cs.wustl.edu>
* include/makeinclude/wrapper_macros.GNU (YACC): Removed the
definition of interface_repo a command line option with 'make'
to $TAO_ROOT/rules.tao.GNU as per Dr.Levine's suggestions.
Thu Aug 05 08:43:27 1999 David L. Levine <levine@cs.wustl.edu>
* include/makeinclude/platform_vxworks5.x_diab.GNU: added.
Thanks to Erik Johannes <ejohannes@oresis.com> for
helping to figure out its contents. Note that compiles
succeed with Diab 4.2a for VxWorks, but links do not, yet.
Thu Aug 05 08:37:09 1999 David L. Levine <levine@cs.wustl.edu>
* ACE-INSTALL.html: added Kirk Davies' notes for running
the ACE tests on Tornado II, without NFS installed.
Thu Aug 5 00:15:45 1999 Douglas C. Schmidt <schmidt@tango.cs.wustl.edu>
* ace/Based_Pointer_T: Changed the type of index for operator[]
and operator+= to be int instead of long so that it'll work
correctly when constant values are used. Thanks to
Nanbor and KCC for pointing this out!
Wed Aug 4 19:46:33 1999 Carlos O'Ryan <coryan@cs.wustl.edu>
* tests/run_tests.sh:
Disabled the New_Fail_Test because it breaks other
compilations.
Wed Aug 4 15:56:51 1999 Douglas C. Schmidt <schmidt@mambo.cs.wustl.edu>
* tests/Malloc_Test.cpp: Make this test work even if
ACE_HAS_POSITION_INDEPENDENT_MALLOC isn't set for a particular
platform.
* tests/Malloc_Test.h: Added a #include for
"ace/Based_Pointer_T.h". Thanks to Carlos for pointing out the
need for this.
Wed Aug 4 17:07:12 1999 Balachandran Natarajan <bala@cs.wustl.edu>
* include/makeinclude/wrapper_macros.GNU : Made the interface
repository files to be compiled by default. If the user does not
want these files to be compiled he can turn it off by issuing
interface_repo=1 with the 'make' command.
Wed Aug 4 15:56:51 1999 Douglas C. Schmidt <schmidt@mambo.cs.wustl.edu>
* ace/Task.h (ACE_Task_Base): Changed the parameter name
<thread_names> to <thread_ids>, which is more descriptive.
Thanks to John Forest <forestj@res.raytheon.com> for
motivating this.
Wed Aug 4 15:54:51 1999 Carlos O'Ryan <coryan@cs.wustl.edu>
* netsvcs/clients/Naming/Client/Makefile:
* netsvcs/clients/Naming/Dump_Restore/Makefile:
If the libraries are specified as dependencies then they don't
need to be listed in LDLIBS
Wed Aug 4 13:20:54 1999 Douglas C. Schmidt <schmidt@ace.cs.wustl.edu>
* ace/Malloc.h: Ok, let's try this again ;-). Removed the
forward declarations and typedefs and replaced them with
#defines. Hopefully, this will make all the compilers happy!
Wed Aug 04 12:58:53 1999 Nanbor Wang <nanbor@cs.wustl.edu>
* tests/*.dsp: Fixed Alpha configurations.
Wed Aug 4 12:26:53 1999 Carlos O'Ryan <coryan@cs.wustl.edu>
* ace/Malloc.h:
Added more forward declarations for the compilations that
enabled PIM.
Wed Aug 4 11:59:57 1999 Carlos O'Ryan <coryan@cs.wustl.edu>
* ace/Malloc.h:
The previous fix did not work, i used forward declarations to
make it work.
Wed Aug 4 09:28:35 1999 Douglas C. Schmidt <schmidt@ace.cs.wustl.edu>
* ace/Malloc.h: Replaced the use of typedefs for macros
to define ACE_MALLOC_HEADER_PTR ACE, ACE_NAME_NODE_PTR,
ACE_CHAR_PTR to try to avoid "incomplete type" messages from
certain versions of G++. Macros are "later binding" than
typedefs for this situation.
* ace/Asynch_Acceptor.cpp (handle_accept): Fixed an expression
that had incorrect parentheses. Thanks to David Digby
<DWD15274@glaxowellcome.co.uk> for reporting this.
Wed Aug 04 02:40:45 1999 Nanbor Wang <nanbor@cs.wustl.edu>
* tests/run_tests.bat: * tests/tests.dsw:
* tests/Malloc_Test.dsp:
* tests/version_tests/Malloc_Test.dsp: Added project files for the
Malloc_Test and added the test in run_test.bat.
Tue Aug 3 22:39:34 1999 Douglas C. Schmidt <schmidt@tango.cs.wustl.edu>
* tests/{Makefile,run_tests.sh}: Added support for the new
Malloc_Test.
* tests/Malloc_Test.cpp: Added a new test that exercises the new
position-independent ACE_Malloc with ACE_MMAP_Memory_Pool and
ACE_Process_Mutex.
* ace/Malloc_T: Added an accessor called mutex() to allow
applications to acquire()/release() the lock used to provide
mutual exclusion to an <ACE_Malloc> allocator.
* tests/SV_Shared_Memory_Test.cpp: Reformatted this test to
conform to ACE programming guidelines.
* ace/Memory_Pool: The void * and char * arguments to the various
ACE_*_Memory_Pool_Options constructors should be const; now they
are!
* examples/Shared_Malloc/test_position_independent_malloc.cpp (main):
Added auto_ptr support to this test, as well.
* examples/Shared_Malloc/test_multiple_mallocs.cpp: Enhanced
this test so that it uses auto pointers and also now takes
advantage of position-independent malloc, when possible.
* examples/Shared_Malloc/test_position_independent_malloc.cpp:
Finished integrating all the features of this test. It's pretty
cool now!
* examples/Shared_Malloc/Makefile: Updated the LSRC target so
'make depend' works correctly...
* ace/Select_Reactor_Base.cpp (find): Don't set errno = ENOENT
if we find a valid mapping of handle to Event_Handler. Thanks
to Hao Ruan <hruan@lucent.com> for reporting this.
* ace/Based_Pointer_T: Added support for operator= (const
ACE_Based_Pointer_Basic<T> &).
* ace/Based_Pointer_T: Added definitions for
ACE_Based_Pointer::operator= and
ACE_Based_Pointer_Basic::operator= to make EGCS happy.
* ace/Malloc.h: Factored out the common code for
ACE_Based_Pointer<> and the underlying types, thereby reducing
the number of #ifdef's.
* ace/Based_Pointer_T: Added an operator CONCRETE *() method
* ace/Based_Pointer_Repository.cpp: The original implementation
of this classes stored a pointer to the size of each mapped
address, rather than just the value. This was causing problems
when used for shared memory because the memory was allocated in
one process and freed in another. This is now fixed by not
storing a pointer, but by storing the value instead. Thanks to
Nanbor for reporting this.
Tue Aug 3 23:43:47 1999 Carlos O'Ryan <coryan@cs.wustl.edu>
* netsvcs/clients/Naming/Client/Makefile:
* netsvcs/clients/Naming/Dump_Restore/Makefile:
Fixed dependencies so parallel compilations (using the -j
option) will work correctly. This fixes [BUGID:187]
Tue Aug 3 23:23:18 1999 Kirthika Parameswaran <kirthika@cs.wustl.edu>
* ace/Cached_Connect_Strategy_T.{h,cpp} (cleanup):
Added a specialised method to prevent memory leaks with old
versions of g++. This method calls the underlying iterator
and does the cleanup.
* ace/run_tests.sh:
Removed purify check over Cached_Accept_Conn_Test and
Cached_Conn_Test since they no longer leak memory when built
using old version of g++.
Tue Aug 3 22:23:18 1999 Balachandran Natarajan <bala@cs.wustl.edu>
* include/makeinclude/wrapper_macros.GNU: Added an ifeq flag for
the interface repository. Compiling with interface_repo=1 will
compile the files for interface repository.
Tue Aug 03 21:17:00 1999 Nanbor Wang <nanbor@cs.wustl.edu>
* tests/SOCK_Connector_Test.cpp (host_is_up): Added a time out
value of 5 second to spped up the test. Thanks to Jody Hagins
<jody@atdesk.com> for submitting the patch.
Tue Aug 03 18:30:47 1999 Kirthika Parameswaran <kirthika@cs.wustl.edu>
* ace/Strategies.h (ACE_Connection_Recycling_Strategy):
Added a new pure virtual method <marked_as_closed_i> which will
provide a non-locking implementation of the <mark_as_closed>
method.
* ace/Strategies_T.h (ACE_Cached_Connect_Strategy):
* ace/Cached_Connect_Strategy_T.h (ACE_Cached_Connect_Strategy_Ex):
Made <mark_as_closed_i> public.
* ace/Caching_Utility_T.{h,cpp}
(ACE_Refcounted_Recyclable_Caching_Utility): Added this class
which caters to purging of refcounted and recyclable handlers.
* ace/Cleanup_Strategy_T.{h,cpp}:
(ACE_Refcounted_Recyclable_Cleanup_Strategy): Added this class
which caters to the cleanup of handlers which are refcounted and
recyclable. Heres where the necessity of making the non-locking
version of <marked_as_closed> public arose in the first place.
* ace/OS.h (ACE_Recyclable_State):
Removed hardcoded values and left the enum values to the
discretion of the compiler.
Tue Aug 03 16:58:08 1999 Joe Hoffert <joeh@cs.wustl.edu>
* ace/ATM_Acceptor.{h,cpp}:
* ace/ATM_Connector.{h,cpp}:
* ace/ATM_Stream.{h,i,cpp}:
* ace/ATM_Params.cpp:
* ace/ATM_QoS.cpp:
* ace/XTI_ATM_Mcast.{h,i,cpp}:
Fixed inlining errors.
Tue Aug 03 16:15:00 1999 Chris Gill <cdgill@cs.wustl.edu>
* ace/Auto_Ptr.h: created ACE_AUTO_PTR_RESET macros, which depend on
whether or not ACE_AUTO_PTR_LACKS_RESET is defined.
* ace/config-kcc-common.h: defined ACE_AUTO_PTR_LACKS_RESET, because
KCC native auto_ptr support is difficult to disable, and implements
an older version of auto_ptr (without the reset method).
Tue Aug 03 13:26:47 1999 Nanbor Wang <nanbor@cs.wustl.edu>
* ace/Service_Repository.cpp (instance): Check to see if
the ACE_Object_Manager is being shutting down before creating a
new instance of Service_Repository. Otherwise, we may be
creating a new service repository just for shutting it down.
Thanks to Doug for noticing this.
* ace/Service_Config.cpp (fini_svcs): Since it is now possible for
ACE_Service_Repository::instance to return 0 during program
shutdown, we must check its value before using it.
Notice that the change assumes people don't do stupid things
like initializing the Service_Config during program shutdown.
Mon Aug 2 23:21:01 1999 Carlos O'Ryan <coryan@cs.wustl.edu>
* bin/auto_compile:
Added several flags to: disable test execution, specify the list
of build directories on the command line, send email on
successful compilation, keep a more detailed history, etc.
Mon Aug 02 18:38:37 1999 Joe Hoffert <joeh@cs.wustl.edu>
* ace/ATM_Acceptor.{h,i,cpp} :
* ace/ATM_Connector.{h,i,cpp} :
* ace/ATM_Params.{h,i,cpp} :
* ace/ATM_QoS.{h,i,cpp} :
* ace/ATM_Stream.{h,i,cpp} :
* ace/XTI_ATM_Mcast.{h,i,cpp} :
* ace/ATM_Addr.{h,cpp}:
* ace/Makefile:
* ace/TLI_Connector.i:
Added new ATM wrapper files to make the mechanism of sockets or
XTI transparent when using the ATM protocol. Modified existing
files to take advantage of these wrapper classes.
* examples/IPC_SAP/ATM_SAP :
* examples/IPC_SAP/ATM_SAP/CPP-client.cpp :
* examples/IPC_SAP/ATM_SAP/CPP-server.cpp :
* examples/IPC_SAP/ATM_SAP/Makefile :
Added new test directory and programs to test ATM wrapper classes.
* examples/IPC_SAP/TLI_SAP/CPP-ATM-client.cpp:
Modified existing test program to utilize new ATM_QoS class.
Mon Aug 02 17:24:05 1999 Nanbor Wang <nanbor@cs.wustl.edu>
* ace/OS.h (ACE_DL_TYPE): Only WinCE uses wchar_t DL type, we'll
just deal with this in ACE_OS::dlsym instead of defining
different types here.
* ace/OS.i (dlsym): GetProcAddress is defined differently on
Windows CE and other Win32 platforms so we need to treat them
differently.
* ace/Malloc.h (ACE_Malloc_Header): Added a dummy member function
to prevent egcs from complaining "all member functions are
private."
* ace/Based_Pointer_Repository.cpp: Fixed the use of map
iterators.
* examples/Shared_Malloc/test_position_independent_malloc.cpp
(main): Delete the allocator before exiting from main.
* ace/Malloc.h (ACE_Malloc_Header,ACE_Name_Node,ACE_Control_Block):
Added an unimplemented assignment operator for this class.
Otherwise, some compilers will try to use
ACE_Based_Pointer_Base<T>::operator= which is not implemented.
Mon Aug 2 09:58:20 1999 Ossama Othman <othman@cs.wustl.edu>
* netsvcs/lib/Name_Handler.cpp (init):
* netsvcs/lib/Server_Logging_Handler_T.cpp (init):
* netsvcs/lib/TS_Clerk_Handler.cpp (init):
Changed cast to ACE_SignalHandler to allow it to compile under
gcc 2.95.
Sun Aug 1 15:58:39 1999 James CE Johnson <jcej@chiroptera.tragus.org>
* docs/tutorials/colorize:
Added <PRE></PRE> wrapper around generated output.
* docs/tutorials/Chap_03/Makefile:
* docs/tutorials/Chap_03/README:
* docs/tutorials/Chap_03/mm.cpp:
* docs/tutorials/Chap_03/ex03.html: mm.cpp (and ex03.html) are a
slightly modified version of ex02.html that uses a memory mapped
file instead of SYSV SHMEM. To work around the lack of fork()
in Win32, the app must be executed once in server mode
(argv[1] == 's') and again in client mode.
Sun Aug 1 15:58:39 1999 Douglas C. Schmidt <schmidt@ace.cs.wustl.edu>
* ace/Memory_Pool.cpp: If the base_addr is 0 for the
ACE_MMAP_Memory_Pool_Options, then we will disable the
"use_fixed_addr" option since it's going to cause big trouble to
mmap() at location 0! Plus, when 0 is used it's intended as an
indication that the application wants the OS to choose the
appropriate mapping. This minor change in semantics works
particularly well with the new
ACE_HAS_POSITION_INDEPENDENT_MALLOC feature, because we can now
let the OS choose the mapping location with out fear of begin
mapped to a different location!
* ace /Memory_Pool.cpp: Conditionally include
ace/Based_Pointer_Repository.h when
ACE_HAS_POSITION_INDEPENDENT_MALLOC is defined.
* ace/config-sunos5.5.h: Enabled the
ACE_HAS_POSITION_INDEPENDENT_MALLOC macro by default. Let's see
whether this breaks lots of stuff ;-).
* ace/OS.h: Moved the definition of ACE_IPPROTO_TCP down
further in this file so that the IPPROTO_TCP macro would be
defined.
* ace/Based_Pointer_T.cpp: Removed an inappropriate use of
ACE_INLINE in the *.cpp file. Thanks to DEC UNIX C++ for
reporting this!
Sun Aug 01 02:41:44 1999 Nanbor Wang <nanbor@cs.wustl.edu>
* examples/Shared_Malloc/Shared_Malloc.dsw
* examples/Shared_Malloc/position_independent_malloc.dsp: Added
this new project file for position independent malloc test.
Sat Jul 31 20:29:17 1999 Nanbor Wang <nanbor@cs.wustl.edu>
* ace/OS.cpp: Moved the comment regarding *printf to where it
belongs.
* ace/OS.h: Removed an extra trailing semicolon following
IPPROTO_TCP.
Sat Jul 31 19:27:50 1999 Douglas C. Schmidt <schmidt@tango.cs.wustl.edu>
* examples/Shared_Malloc/test_position_independent_malloc.cpp:
Now that position-independent malloc works, I finished
integrating all the features in this test.
Sat Jul 31 19:06:05 1999 Carlos O'Ryan <coryan@cs.wustl.edu>
* ace/Pipe.cpp:
The third argument to ACE_OS::setsockopt() is a "const char*" no
sense in casting it to void*!
Sat Jul 31 18:55:34 1999 Kirthika Parameswaran <kirthika@cs.wustl.edu>
* ace/Asynch_IO_Impl.{h, cpp}:
Fixed compiler errors: redefinition of destructors of the
classes in this file. Removed inline declaration of destructors
and defined those which hadnt been defined.
Sat Jul 31 17:54:32 1999 Carlos O'Ryan <coryan@cs.wustl.edu>
* etc/enforce_ace_try.diff:
Apply this patch file and then compile to enforce the correct
use of ACE_TRY macros. It renames the exception(), clear() and
print_exception() methods in the CORBA::Environment class.
Sat Jul 31 17:39:42 1999 Carlos O'Ryan <coryan@cs.wustl.edu>
* ace/Timeprobe_T.cpp:
Print timeprobe results with higher precision (3 decimal
digits), this is useful for extremely fine grained analysis
where just microseconds won't cut it.
Sat Jul 31 12:07:48 1999 Douglas C. Schmidt <schmidt@mambo.cs.wustl.edu>
* ace: Updated comments in all the header files so that references
to method names like ACE_Event_Handler::handle_input() were
changed to <ACE_Event_Handler::handle_input>. This change
enables the class2man scripts to use the appropriate "code" font
for these names in the auto-generated documentation.
* ace/Asynch_IO_Impl: Moved the
virtual destructors for all the ACE_Asynch_*_Impl classes into
the *.cpp file, which is where they belong.
* ace/Functor_T.h: Moved the destructor of ACE_Command_Callback
out of the header file and into the *.cpp file.
* ace/Sched_Params.h: Updated the documentation a bit to mention
the ACE_SCHED_{FIFO,RR,OTHER} policies explicitly. Thanks to
Peter Mueller <pmueller@decrc.abb.de> for motivating this.
* ace/Synch_T: Moved the implementations of ACE_Read_Guard and
ACE_Write_Guard out of the class header and into the *.i file,
which is where they belong.
* ace/Based_Pointer_T.i (operator *): In order to distinquish a
"NULL" pointer we keep a value of -1 in target.
* ace/Based_Pointer_T.i: I was forgetting to check if
rhs == 0 for the ACE_Based_Pointer<> class. This leads to weird
behavior when assigning a "NULL" pointer.
* examples/Reactor/Misc/notification.cpp: Cleaned up the program so
that it looks better and doesn't crash and burn when signals occur.
* ace/Pipe.cpp (open): We now set the default size of the
ACE_Pipes that are implemented as Internet or UNIX-domain
sockets to ACE_DEFAULT_MAX_SOCKET_BUFSIZ. This will speed up
the Reactor's notify() method and prevent it from deadlocking as
quickly. Thanks to Detlef Becker <Detlef.Becker@med.siemens.de>
for testing this out.
* ace/OS.h: Added a new macro called ACE_IPPROTO_TCP that factors
out the differences between PHARLAPs and "normal" systems.
* ace/Strategies_T.{i,cpp}: Added some additional ACE_ERROR printouts
if open() methods fail in constructors.
* ace/Strategies_T: The logic for creating a new Singleton wasn't
dynamic enough. It's now intelligent enough to create a new
SVC_HANDLER if it's not given one. Thanks to Hao Ruan
<hruan@lucent.com> for reporting this.
Sat Jul 31 15:57:16 1999 Carlos O'Ryan <coryan@cs.wustl.edu>
* ACE version 5.0 released. Party on Wayne.
Sat Jul 31 12:20:59 1999 Nanbor Wang <nanbor@cs.wustl.edu>
* tests/version_tests/version_tests.dsw:
* tests/version_tests/Hash_Map_Bucket_Iterator_Test.dsp:
* tests/version_tests/Cached_Conn_Test.dsp:
* tests/version_tests/Cached_Accept_Conn_Test.dsp: Added three
missing version_tests project files.
Sat Jul 31 00:22:46 1999 Nanbor Wang <nanbor@cs.wustl.edu>
* tests/Basic_Types_Test.dsp:
* tests/Collection_Test.dsp:
* tests/Dynamic_Priority_Test.dsp:
* tests/New_Fail_Test.dsp:
* tests/Reverse_Lock_Test.dsp:
* tests/SOCK_Connector_Test.dsp:
* tests/SOCK_Send_Recv_Test.dsp:
* tests/Thread_Mutex_Test.dsp:
* tests/Timeprobe_Test.dsp:
* tests/Upgradable_RW_Test.dsp: Rebuilt. ACE_Init_Test.dsp is
still broken.
Fri Jul 30 10:27:31 1999 Steve Huston <shuston@riverace.com>
* ace/config-hpux-10.x.h: Allow building w/o threads - set _REENTRANT
if not set, to pick up _r functions; move
ACE_HAS_NONCONST_SELECT_ TIMEVAL out of the threads-only
section.
Fri Jul 30 08:36:43 1999 Douglas C. Schmidt <schmidt@tango.cs.wustl.edu>
* ace/OS.i: Commented out the ACE_TRACE calls in ACE_OS::mutex_lock()
and ACE_OS::thread_mutex_lock() to avoid infinite recursion. Thanks
to Ulf Jaehrig <jaehrig@desys.com> for reporting this.
Fri Jul 30 03:33:14 1999 Carlos O'Ryan <coryan@cs.wustl.edu>
* bin/auto_compile:
* bin/auto_compile_wrapper:
* bin/run_all_list.pm:
Added options to run only the tests that do not require threads
(-single_threaded) and that do not require the full corba
profile (-minimum_corba). Also added options to disable the cvs
update, to execute realclean before compiling and to print some
debugging info.
Thu Jul 29 20:44:56 1999 Ossama Othman <othman@cs.wustl.edu>
* include/makeinclude/wrapper_macros.GNU:
Override minimum_corba variable if it isn't set to 1 (i.e. if
minimum_corba is not enabled). This change was needed to make
it easier to disable some TAO ORB services, examples and tests
that rely on CORBA features that aren't supported in the minimum
CORBA specification.
Thu Jul 29 19:04:12 1999 Ossama Othman <othman@cs.wustl.edu>
* ace/Atomic_Op.i:
* ace/Filecache.cpp:
Replaced raw ACE_*_Guards with their corresponding
ACE_GUARD_RETURN macros. This corrects "unused variable"
warnings when building ACE without thread support. See David's
ChangeLog entry from Fri May 14 16:10:29 1999 for a better
description of why this was necessary.
Thu Jul 29 18:29:46 1999 Nanbor Wang <nanbor@cs.wustl.edu>
* bin/run_all_list.pm: Moved the RUN_LIST definition from
auto_compile to this file to reduce the work to maintain the
list and allow auto_compile and run_all_win32.pl to synchronize
the tests being run.
* bin/auto_compile:
* bin/run_all_win32.pl: Removed definition of RUN_LIST and use the
run_all_list module.
Thu Jul 29 17:30:14 1999 Douglas C. Schmidt <schmidt@tango.cs.wustl.edu>
* ace/Makefile[.am] (pkginclude_HEADERS): Removed Future_Node.*
Thanks to John Tucker <jtucker@infoglide.com> and Michael Garvin
<mgarvin@nortelnetworks.com> for reporting this.
Thu Jul 29 14:47:10 1999 Ossama Othman <othman@cs.wustl.edu>
* ace/Select_Reactor_T.cpp (dispatch_notification_handlers):
This code is used for picking up updates from non-owner threads.
However, it is also useful for picking up notifications from the
notify pipe (even though the notify is part of the I/O handle
set in the Select_Reactor). Therefore, we have enabled this
code for the single-threaded case also. Thanks to Irfan for
this fix.
Thu Jul 29 14:32:28 1999 Carlos O'Ryan <coryan@cs.wustl.edu>
* ace/ACE.cpp:
Linux without returns a different errno (EOPNOTSUPP) if the
connector or acceptor runs out of file descriptors.
* ace/OS.i:
The Errno_Guard constructor was not using an argument in
platforms without exceptions.
Thu Jul 29 13:59:15 1999 Douglas C. Schmidt <schmidt@cs.wustl.edu>
* ACE version 4.6.47 released.
Thu Jul 29 12:32:01 1999 Nanbor Wang <nanbor@cs.wustl.edu>
* ace/WFMO_Reactor.cpp (ACE_WFMO_Reactor):
* ace/Select_Reactor_T.cpp (ACE_Select_Reactor_T): I forgot to
initialize <deactivated_> flag in one of the two ctors. Thanks
to Ruediger Franke <Ruediger.Franke@decrc.abb.de> for catching
this one.
Thu Jul 29 01:04:03 1999 Carlos O'Ryan <coryan@cs.wustl.edu>
* bin/auto_compile:
* bin/auto_compile_wrapper:
Updated to include the latest round of changes, new tests and
several improvements to send email and stuff.
Wed Jul 28 18:29:46 1999 Jeff Parsons <parsons@cs.wustl.edu>
* ace/config-win32.h:
Removed ACE_HAS_STD_TEMPLATE_SPECIALIZATION
definition. See below.
* ace/config-win32-common.h:
Added ACE_HAS_STD_TEMPLATE_SPECIALIZATION
definition, since there is a place for MSVC 6.0 stuff like this.
Also added ACE_HAS_BROKEN_IMPLICIT_CONST_CAST
definition for a generated code bug fix that just didn't have one version
that would satisfy both SunCC and MSVC.
Wed Jul 28 18:26:53 1999 Carlos O'Ryan <coryan@cs.wustl.edu>
* ace/CDR_Stream.cpp:
* ace/Message_Block.h:
* ace/Message_Block.cpp:
* ace/Message_Block_T.h:
* ace/Message_Block_T.cpp:
Re-implemented the clone() method without data copies in a
backwards compatible way, a new clone_nocopy() method was added
so classes that inherit from Data_Block and only override
clone() will work correctly.
Also fixed the implementation of Locked_Data_Blocked because it
is used in TAO and we need zero-copy clone() operations in that
case.
Wed Jul 28 16:16:27 1999 Nanbor Wang <nanbor@cs.wustl.edu>
* ace/OS.cpp (set): Fixed a unsigned/signed conversion problem
that caused negative usec value in ACE_Time_Value. Thanks to
Jerry D. De Master <jdemaste@ipdinc.com> for reporting the bug.
(FILETIME): Removed some unused macros for dealing with older
Borland C++ compilers. Thanks to Jody and Gonzo for confirming
this.
Wed Jul 28 13:44:15 1999 Nanbor Wang <nanbor@cs.wustl.edu>
* ACE-INSTALL.html: Remind users to pick the right configurations
when building from MSVC project files. Thanks to Jerry D. De
Master <jdemaste@ipdinc.com> for suggesting this.
Wed Jul 28 13:26:36 1999 David L. Levine <levine@cs.wustl.edu>
* ACE-INSTALL.html: for VxWorks (thru Tornado 1.0.1),
-fno-implicit-templates is broken for x86 targets,
not all targets.
Wed Jul 28 13:09:26 1999 David L. Levine <levine@cs.wustl.edu>
* docs/ACE-subsets.html: updated libACE size breakdown.
Wed Jul 28 12:08:56 1999 Ossama Othman <othman@cs.wustl.edu>
* ace/CDR_Stream.cpp (reset_contents):
Modified call to clone() so that it uses the newly added
zero-copy semantics. A data copy was already being made in
ACE_InputCDR::steal_from(), which also calls
ACE_InputCDR::reset_contents(). Two data copies were being
performed. This change reduces the number of data copies to
one. Thanks to Carlos for this change.
Wed Jul 28 11:23:36 1999 Ossama Othman <othman@cs.wustl.edu>
* ace/Message_Block.h:
* ace/Message_Block.cpp (clone):
Added argument that allows the characteristics of an
ACE_Data_Block to be copied without copying the data that the
ACE_Data_Block holds. This modification is part of a zero-copy
optimization for TAO. Thanks to Carlos for implementing this
change.
Wed Jul 28 09:48:37 1999 David L. Levine <levine@cs.wustl.edu>
* docs/ACE-guidelines.html: added guideline about testing
for definition of a macro before using it. Thanks to
Susan Liebeskind <susan.liebeskind@gtri.gatech.edu> for
providing this guideline.
Wed Jul 28 00:06:32 1999 Douglas C. Schmidt <schmidt@tango.cs.wustl.edu>
* ace: Added a new Makefile.bor file for BCB4. Thanks to Christopher
Kohlhoff <chris@kohlhoff.com> for contributing this.
Tue Jul 27 23:25:18 1999 Douglas C. Schmidt <schmidt@tango.cs.wustl.edu>
* netsvcs/lib/Server_Logging_Handler_T.cpp (open): Updated a
comment to point out that we use a thread-per-connection
concurrency model. Thanks to Raghu Nambiath
<raghun@wipinfo.soft.net> for reporting this.
Tue Jul 27 21:05:23 1999 David L. Levine <levine@cs.wustl.edu>
* include/makeinclude/platform_tru64_cxx.GNU (ACE_DU_SUBVERSION):
fixed typo: -v instead of v-. Thanks to
Doug Anderson <dla@home.com> for reporting this.
Tue Jul 27 16:58:54 1999 Kirthika Parameswaran <kirthika@cs.wustl.edu>
* ace/ACE.cpp (out_of_handles): Added bug-fixes for RedHat5.2 and
FreeBSD. Thanks to James Megquier <jmegq@bbn.com> for discovering
and testing out the bug-fix on RedHat5.2 and Russell.L.Carter
<rcarter@pinyon.org> for sending in a patch for FreeBSD. These
bug fixes are for: $ACE_ROOT/tests/
Cached_Conn_Test and Cached_Accept_Conn_Test.
Tue Jul 27 16:55:44 1999 Nanbor Wang <nanbor@cs.wustl.edu>
* include/makeinclude/platform_sunos5_kcc.GNU (MATHLIB): KCC needs
to have this defined.
Tue Jul 27 16:18:21 1999 David L. Levine <levine@cs.wustl.edu>
* ACE-INSTALL.html: updated note about shared libraries
on VxWorks. In particular, they don't provide copies
of global (static) variables in the library. So, "programs"
that share a library will also share the static variables in
the library. [Bug 86]
Tue Jul 27 14:26:37 1999 Douglas C. Schmidt <schmidt@tango.cs.wustl.edu>
* ace/SOCK_Dgram: Removed the QoS_Params from open() and
ACE_SOCK_Dgram since they don't appear to be useful. Thanks to
Vidya Narayanan <CVN065@lmpsil02.comm.mot.com> for suggesting
this.
Tue Jul 27 14:41:26 1999 Steve Huston <shuston@riverace.com>
* ace/Codeset_IBM1047.cpp: Added a static variable only for HP aC++
to make it stop warning of an empty translation unit.
Tue Jul 27 14:16:55 1999 Nanbor Wang <nanbor@cs.wustl.edu>
* ace/Thread_Manager.cpp (cancel_thr): This method should return
the result of thread cancel operation if async_cancel is used.
Thanks to Peter Mueller <pmueller@decrc.abb.de> for suggesting
the fix.
Mon Jul 26 20:50:37 1999 Douglas C. Schmidt <schmidt@tango.cs.wustl.edu>
* ace/OS: Addded a new pair of priority() fields as place
holders for the forthcoming DiffServ QoS features. Thanks to
Vidya Narayanan <CVN065@lmpsil02.comm.mot.com> for suggesting
this.
Tue Jul 27 13:28:48 1999 David L. Levine <levine@cs.wustl.edu>
* ace/OS.i (getuid): removed extra ACE_TRACE with
ACE_WIN32 or CHORUS. Thanks to Jerry D. De Master
<jdemaste@ipdinc.com> for reporting this.
Tue Jul 27 11:10:39 1999 David L. Levine <levine@cs.wustl.edu>
* examples/System_V_IPC/Makefile: on VxWorks only, fixed
so that make all, etc., work properly (by just printing
the message that these examples aren't used on VxWorks).
Tue Jul 27 10:25:41 1999 Steve Huston <shuston@riverace.com>
* ACE-INSTALL.html: Added a note about required HP-UX 10.20
patch. Updated aC++ versions.
* ace/Process.{h cpp} (ACE_Process_Options::command_line): Added
'const' to make the entire array and contents const. Restores
ability for users of pre-5.0 to still pass char **. Thanks to
Bill Tovrea <gwtovrea@west.raytheon.com> for reporting this.
* examples/Connection/non_blocking/Makefile: Re-added LIBS += $(ACELIB)
(see ChangeLog, 23-Jul-1999) but did it in the section for AIX
C Set++ and IBM C/C++ only (ifdef TEMPINCDIR). This is needed to
generate the shared library (libConn) using those compilers.
Mon Jul 26 20:50:37 1999 Douglas C. Schmidt <schmidt@tango.cs.wustl.edu>
* ace/Future.h: Moved the static methods until the bottom
of the ACE_Future_Rep class (again) to workaround a bug with
Borland's C++ Builder. Thanks to Christopher Kohlhoff
<chris@kohlhoff.com> for reporting this (again).
Mon Jul 26 20:59:23 1999 Carlos O'Ryan <coryan@cs.wustl.edu>
* websvcs/README:
Added a brief description of the directory and its current
contents. Thanks to Will Skunk <willskunk@homemail.com>
for motivating this.
Mon Jul 26 20:50:37 1999 Douglas C. Schmidt <schmidt@tango.cs.wustl.edu>
* ace/Log_Msg.cpp: Added support for the 'W' (UNICODE) option for
Win32. Thanks to Valery Arkhangorodsky
<valerya@servicesoft.com> for contributing this.
Mon Jul 26 20:58:35 1999 Alexander Babu Arulanthu <alex@cs.wustl.edu>
* ace/POSIX_Asynch_IO.cpp:
* ace/WIN32_Asynch_IO.cpp: Fixed the double deletion problem of
the result classes. Thanks to David Digby
<DWD15274@glaxowellcome.co.uk> and Timothy Schimke
<Schimke.Timothy@LittonDSD.com> for reporting this.
Mon Jul 26 18:09:09 1999 Irfan Pyarali <irfan@cs.wustl.edu>
* tests/run_tests.sh (Cached_Conn_Test and
Cached_Accept_Conn_Test): These two tests are known to leak
memory when compiled with old gcc (g++). Therefore, we skip
these tests when using purify and old gcc (g++). A -p option
was added to the script to indicate that we want to run with
purify.
Mon Jul 26 17:09:09 1999 David L. Levine <levine@cs.wustl.edu>
* ace/Object_Manager.{h,cpp},Makefile: don't create the
ACE_TOKEN_MANAGER_CREATION_LOCK and
ACE_TOKEN_INVARIANTS_CREATION_LOCK preallocated objects
if the Token component isn't build. This gets rid of
unresolved references to the ACE_Token_Proxy compoents
on VxWorks/g++ when Token isn't built. Thanks to
Stephane Chatre <schatre@oresis.com> for reporting this.
Mon Jul 26 17:02:08 1999 David L. Levine <levine@cs.wustl.edu>
* include/makeinclude/wrapper_macros.GNU: don't override
OBJDIRS on VxWorks with shared libs. This allows
make realclean to work properly on VxWorks, when shared
lib builds are enabled.
Mon Jul 26 15:06:23 1999 Jeff Parsons <parsons@cs.wustl.edu>
* ace/CDR_Stream.i:
* ace/Map_Manager.i:
Had to cast some return values to avoid MSVC signed/unsigned
mismatch type warnings (level 4).
* ace/config-win32.h:
Added ACE_HAS_STD_TEMPLATE_SPECIALIZATION define, so that
ACE_TEMPLATE_SPECIALIZATION macro adds the necessart
'template <>' for MSVC, and so averts many many level 4
warnings.
Mon Jul 26 14:10:56 1999 Kirthika Parameswaran <kirthika@cs.wustl.edu>
* ace/DLL.cpp (get_handle): Changed the check of <become_owner>
flag to now reset <close_on_destruction> only if the
<become_owner> is set. Thanks to Bob McWhirter <bob@werken.com>
for pointing this out.
Mon Jul 26 12:32:41 1999 Douglas C. Schmidt <schmidt@cs.wustl.edu>
* ACE version 4.6.46 released.
Fri Jul 23 18:20:11 1999 Carlos O'Ryan <coryan@cs.wustl.edu>
* ace/config-irix6.x-sgic++-nothreads.h:
Enabled namespaces with MIPSPro 7.2 or higher.
Fri Jul 23 16:40:15 1999 Carlos O'Ryan <coryan@cs.wustl.edu>
* ace/ACE.cpp:
Fixed typos in error return values for ACE::execname()
Fri Jul 23 14:51:48 1999 Douglas C. Schmidt <schmidt@tango.cs.wustl.edu>
* examples/Service_Configurator/IPC-tests/Handle_L_CODgram,
examples/Service_Configurator/IPC-tests/Handle_L_Dgram,
examples/Service_Configurator/IPC-tests/Handle_L_Pipe:
Cleaned this stuff up so that it builds correctly when
ACE_LACKS_UNIX_DOMAIN_SOCKETS is enabled. Thanks to
David for reporting this.
* examples/Service_Configurator/IPC-tests/server/Handle_L_Pipe:
Made upper_case() a method in the Handle_L_Pipe class.
* examples/Service_Configurator/IPC-tests/server/Handle_L_Pipe.cpp,
examples/Service_Configurator/IPC-tests/server/Handle_L_CODgram.cpp:
Removed the bizarre hacks for SunOS4. This stuff probably
hasn't been tested since 1992!
Fri Jul 23 14:16:22 1999 Steve Huston <shuston@riverace.com>
* ace/OS.i (ACE_OS::read): (only non-Win32), if call fails and
errno is EAGAIN, change it to EWOULDBLOCK. Improve portability for
platforms where EAGAIN and EWOULDBLOCK are different values and
both used, like HP-UX.
* ace/Malloc_T.cpp (ACE_Malloc<> ctor): Added missing newline in error
message.
Fri Jul 23 12:09:18 1999 Nanbor Wang <nanbor@cs.wustl.edu>
* ace/OS.i: Fixed some mismatched ifdef/endif comments.
* ace/ACE.cpp (execname): Fixed some misuses of ACE_HAS_WIN32
macros where they should have been ACE_WIN32. Thanks to Andy
for noticing this.
Fri Jul 23 11:28:17 1999 Douglas C. Schmidt <schmidt@tango.cs.wustl.edu>
* ace/Memory_Pool.cpp (init_acquire): shmat() returns -1 on
failure, not 0. Thanks to Kevin Liu
<kliu@fitch.math.uwaterloo.ca> for reporting this.
Fri Jul 23 11:35:31 1999 David L. Levine <levine@cs.wustl.edu>
* examples/Connection/non_blocking/tests_lsock_{acceptor,
connector.cpp}: disabled if ACE_LACKS_UNIX_DOMAIN_SOCKETS.
Thanks to Alain Magloire <alain@qnx.com> for reporting this.
* examples/Connection/non_blocking/Makefile: removed unneeded
LIBS (=$(ACELIB)) and BUILD macro definitions.
Fri Jul 23 10:07:05 1999 David L. Levine <levine@cs.wustl.edu>
* include/makeinclude/platform_qnx_neutrino.GNU: added
CROSS-COMPILE macro definition. Thanks to
Alain Magloire <alain@qnx.com> for reporting this.
Fri Jul 23 08:58:56 1999 Douglas C. Schmidt <schmidt@tango.cs.wustl.edu>
* ace/Service_Config.h: Clarified the fact that the
ACE_Service_Config uses the Monostate pattern, so there can only
be one of them per-process. Thanks to Ralf Kluthe
<kluthe@iti.mu-luebeck.de> for reporting this.
Fri Jul 23 07:49:31 1999 David L. Levine <levine@cs.wustl.edu>
* include/makeinclude/platform_sunos5_sunc++.GNU: added
comment about options for producing 64-bit binaries.
Thanks to Jeff Franks <Jeffrey_Franks@i-o.com> for
raising this issue.
Fri Jul 23 03:10:31 1999 Irfan Pyarali <irfan@cs.wustl.edu>
* ace/Strategies_T.cpp (find_or_create_svc_handler_i):
* ace/Cached_Connect_Strategy_T.cpp (cached_connect):
I had added the new_connection() method that lets go of the lock
for the duration of the connect(), but forgot to use it in the
above functions ;) It should be fine now.
* tests/Cached_Conn_Test.cpp (cached_connect):
* tests/Cached_Accept_Conn_Test.cpp (cached_connect):
Host of the remote address should be ACE_LOCALHOST instead of
ACE_DEFAULT_SERVER_HOST.
Thu Jul 22 23:23:26 1999 Irfan Pyarali <irfan@cs.wustl.edu>
* ace/Handle_Gobbler.h (class ACE_Handle_Gobbler): Inlined
declaration of the functions.
Thu Jul 22 20:03:54 1999 Douglas C. Schmidt <schmidt@tango.cs.wustl.edu>
* ace/Acceptor.cpp: For sanity's sake, initialize all the data
members to 0 in the ACE_Strategy_Acceptor constructor. Thanks
to Jody Hagins <jody@atdesk.com> for reporting this.
* ace/Acceptor.cpp: The service_port_ data member in the
ACE_Strategy_Acceptor wasn't being initialized to 0. Thanks to
Jody Hagins <jody@atdesk.com> for reporting this.
* ace/Acceptor.cpp: Modified the dump() and info() methods so that
don't do bad things if service_name_ and service_description_
are NULL. Thanks to Jody Hagins <jody@atdesk.com> for this
suggestion.
* ace/Message_Queue_T.h: Clarified what the errnos get set to when
timeouts occur or queues are deactivated. Thanks to
John Forest <forestj@res.raytheon.com> for suggesting this.
Thu Jul 22 16:55:14 1999 Carlos O'Ryan <coryan@cs.wustl.edu>
* ace/Stats.cpp:
Fixed message that had a %s but no argument!
Thu Jul 22 15:12:18 1999 David L. Levine <levine@cs.wustl.edu>
* ace/Codeset_IBM1047.{h,cpp}: wrapped with #ifdef ACE_MVS
so that the code doesn't occupy any space on platforms
other than MVS.
Thu Jul 22 14:22:41 1999 David L. Levine <levine@cs.wustl.edu>
* examples/Shared_Malloc/Malloc.cpp: fixed explicit
template instantiations so that there are no duplications
with ACE_LACKS_SBRK and ACE_LACKS_SYSV_SHMEM.
Thu Jul 22 12:17:26 1999 David L. Levine <levine@cs.wustl.edu>
* ace/config-lynxos.h: removed ACE_LACKS_FORK on PowerPC.
All of the ACE tests that fork now succeed.
Thu Jul 22 11:54:58 1999 David L. Levine <levine@cs.wustl.edu>
* tests/SV_Shared_Memory_Test.cpp (child): added a one
second sleep to give the parent a chance to create the
semaphore. This allows the test to succeed on LynxOS/PPC
(with fork ()).
* tests/Process_Mutex_Test.cpp,Process_Strategy_Test.cpp (main):
added a one second sleep after spawning each server, to give it
a chance to start. Also, wrapped some string literals with
ASYS_TEXT. Again, success on LynxOS/PPC with fork ().
Thu Jul 22 10:42:06 1999 Clarence M. Weaver <clarence_m_weaver@md.northgrum.com>
* ACE-INSTALL.html: added steps for running the ACE tests
on VxWorks platforms that lack NFS.
Thu Jul 22 10:25:31 1999 David L. Levine <levine@cs.wustl.edu>
* ace/Log_Record.cpp,SString.cpp: wrapped #include of
ace/streams.h with #ifndef ACE_LACKS_IOSTREAMS_TOTALLY.
[Bug 84]
Thu Jul 22 09:55:10 1999 David L. Levine <levine@cs.wustl.edu>
* docs/ACE-guidelines.html: updated commit message guideline
to show ChangeLogTag example.
Thu Jul 22 02:15:46 1999 Irfan Pyarali <irfan@cs.wustl.edu>
* ace/Handle_Gobbler (class ACE_Handle_Gobbler): New class that
gobbles up handles :) This class is useful when we need to
control the number of handles available for a process. Mostly
used for testing purposes.
Note that even though the new files are in the ace directory,
they are not part of the ace library. The files only contain
inline functions and Handle_Gobbler.h is only included where
needed.
* tests/Cached_Conn_Test.cpp:
* tests/Cached_Accept_Conn_Test.cpp:
Added Handle_Gobbler to the test to reduce the iterations
required before handles run out and purging starts.
Wed Jul 21 21:45:22 1999 Nanbor Wang <nanbor@cs.wustl.edu>
* ace/Reactor.cpp: Applied ACE_NOTREACHED to several
run_*_event_loop methods.
* docs/ACE-guidelines.html: Updated ASYS_TEXT usage.
* ace/RB_Tree.cpp:
* tests/Cache_Map_Manager_Test.cpp: Applied ASYS_TEXT liberally.
Wed Jul 21 21:19:36 1999 David L. Levine <levine@cs.wustl.edu>
* ACE-INSTALL.html: added note about ACE support for
shared libraries on VxWorks. It's still under
development.
Wed Jul 21 18:38:00 1999 Irfan Pyarali <irfan@cs.wustl.edu>
* ace/Strategies_T.h (ACE_Cached_Connect_Strategy): Renamed
<connection_cache_> to <connection_map_>.
* ace/Hash_Cache_Map_Manager_T.cpp (find): Finding and updating
the attributes is faster through the find() that uses an entry.
Therefore, for find (key, value) and find (key) we go to
find (key, entry) instead of going to the base class.
* ace/Cached_Connect_Strategy_T.cpp:
- ACE_Cached_Connect_Strategy_Ex::check_hint_i
- ACE_Cached_Connect_Strategy_Ex::find
Update the caching attributes directly since we don't do a
find() on the cache map.
Wed Jul 21 15:54:25 1999 Nanbor Wang <nanbor@cs.wustl.edu>
* ace/DLL.cpp: ACE_HAS_MOSTLY_UNICODE_APIS fixes.
* ace/OS.i (ctime):
* ace/OS.cpp (ctime): One copy should only be available when
ACE_HAS_MOSTLY_UNICODE_APIS is defined. Thanks to Steve for
reporting this.
Wed Jul 21 15:21:32 1999 David L. Levine <levine@cs.wustl.edu>
* tests/Env_Value_Test.cpp (main): use the single-process
version if ACE_LACKS_FORK, in addition to if
ACE_HAS_NONSTATIC_OBJECT_MANAGER.
* tests/Time_Service_Test.cpp (main): neuter if ACE_LACKS_FORK,
because the test uses ACE_Process::spawn ().
Thanks to Riaz Syed <syed@Lynx.COM> for reporting these.
Wed Jul 21 11:48:53 1999 David L. Levine <levine@cs.wustl.edu>
* include/makeinclude/platform_vxworks5.x_g++.GNU:
use full path to $(CC) in egcs version check, to avoid
warning if it is not on the user's PATH.
Wed Jul 21 11:44:19 1999 Carlos O'Ryan <coryan@cs.wustl.edu>
* ace/OS.h:
Simplified the definition of the ACE_THR_PRI_*_DEF macros from
(MIN+(MAX-MIN)/2) to ((MIN+MAX)/2), the new definition is not
only easier to read, makes less operations (and function calls)
but it is also safer when the the priorities are "backwards" and
PRI_MAX < PRI_MIN
Wed Jul 21 11:40:31 1999 Steve Huston <shuston@riverace.com>
* include/makeinclude/platform_aix4_cset++.GNU:
* include/makeinclude/platform_hpux_aCC.GNU: Replaced lines like
"debug=1" with ifeq (,$(debug)) debug=1 endif.
* include/makeinclude/platform_aix4_g++.GNU:
Above change for variables, also added -Wl,-bbigtoc when linking
TAO_IDL, else it runs out of toc space. Don't do it for all links
because bigtoc introduces a run-time performance penalty.
Wed Jul 21 10:25:07 1999 David L. Levine <levine@cs.wustl.edu>
* ace/OS.{h,cpp} (tss_base,tss_open): with TSS emulation,
no longer return indication of whether tss_base allocated
the ts_storage array. Instead, added an (optional)
argument that tss_open can use for that purpose. This
allows threads that haven't been spawned by ACE to use
ACE's TSS emulation. Thanks to David Hauck
<davidh@realtimeint.com> for reporting this and testing
the fix on NT. And, thanks to Terry Rosenbaum
<Terry.Rosenbaum@Radiology.MSU.edu> for originally reporting it.
Wed Jul 21 09:34:09 1999 David L. Levine <levine@cs.wustl.edu>
* examples/Shared_Malloc/test_position_independent_malloc.cpp (main):
removed declarations of unused argc and argv.
Wed Jul 21 04:32:20 1999 Nanbor Wang <nanbor@cs.wustl.edu>
* ace/Reactor.cpp:
* ace/Reactor.h:
* ace/Reactor.i:
* ace/Reactor_Impl.h:
* ace/Select_Reactor_T.cpp:
* ace/Select_Reactor_T.h:
* ace/Select_Reactor_T.i:
* ace/TP_Reactor.cpp:
* ace/WFMO_Reactor.cpp:
* ace/WFMO_Reactor.h:
* ace/WFMO_Reactor.i: The change was motivated by removing a race
condition in TP_Reactor during shutdown. There was a small time
gap between a thread running TP_Reactor event loop checking its
end_event_loop flag to the thread actually grabing the token in
TP_Reactor. Since the token return to its "normal" state after
broadcasting, this thread has no chance to notice that the
reactor has already been shutdowned and thus a deadlock occured.
In order to fix the problem, we must keep a state indicating
whether the reactor has been shutdowned or not in the reactor.
An added benefit of adding this state is that every reactor now
has its own run_reactor_event_loop which mimic the behavior of
the static ACE_Reactor::run_event_loop but instead of working on
the singleton reactor, the added function work on an instance of
reactor object. In fact, all event_loop control functions have
been added. They are named *_reactor_event_loop to
differentiate their behavior. These newly added function use
the added state in the reactor to control the looping of event
handling. All run_reactor_event_loop methods take an extra
argument of a function pointer. The function will be called in
every iteration if it is set.
Notice that the singleton event loop control functions are still
available. Although these function merely forward the call to
the singleton reactor's *_reactor_event_loop functions, you can
still use them to control the "main" event loop. In fact, it is
required that you use these functions to run the main event loop
because it facilitates Service_Configurator's "reconfigure"
feature.
All reactors now also have two extra functions namely
"deactivated" which is used to query whether the reactor will
handle more incoming event or not, and "deactivate" which is
used to control this new feature.
An side effect of the change is that, once a reactor get
deactivated, calls to handle_events will return -1 immediately.
You can use the "deactivated" method to check if there's
actually an error in the handle_events method or it simply
returned because the reactor has been deactivated. This is also
how the various "run_reactor_event_loop" handle the situation.
Notice that this should not cause any backward compatibility
problem becuase if a user is using his own end_event_loop flag,
he will not (and should not) invoke any more handle_events after
the flag has been set. Also, if he is using the global
run_event_loop methods (for controling singleton reactor,) they
should still behave the same.
To summarize the change:
1. The run_event_loop control logic has been "pushed" down into
each individual reactor. The methods supporting the logic are
defined in ACE_Reactor and are:
run_reactor_event_loop ()
run_alertable_reactor_event_loop ()
end_reactor_event_loop ()
reactor_event_loop_done ()
reset_reactor_event_loop ()
2. The origianl run_event_loop methods in ACE_Reactor are still
working but they now use the run_reactor_event_loop methods in
the implementation of the reactor.
3. Reactors now keep a state to indicate handle_events should be
called or not. They can be controlled thru:
deactivated ()
deactivate ()
methods.
Tue Jul 20 21:31:50 1999 Jim Rogers jrogers@viasoft.com
* ace/config-mvs.h: added ACE_HAS_EXCEPTIONS.
Tue Jul 20 21:23:19 1999 David L. Levine <levine@cs.wustl.edu>
* ace/OS.* (next_key,total_keys): with TSS_EMULATION,
added guard (using preallocated ACE_TSS_KEY_LOCK)
to access of next_key_. Uninlined both of these
functions because they now have the guards. Thanks
to Jake Hamby <jehamby@anobject.com> for reporting this.
Tue Jul 20 21:11:02 1999 David L. Levine <levine@cs.wustl.edu>
* include/makeinclude/platform_vxworks5.x_g++.GNU:
fixed test of g++ for whether it's egcs. Thanks to
Erik Johannes <ejohannes@oresis.com> for reporting this.
(The symptom was that TAO's IORManipulation.cpp wouldn't
compile due to an internal compiler error. Adding
-fno-exceptions works around that.)
Tue Jul 20 18:30:22 1999 Irfan Pyarali <irfan@cs.wustl.edu>
* ace/Cached_Connect_Strategy_T.h: All functions in
ACE_Cached_Connect_Strategy_Ex and ACE_Cached_Connect_Strategy
that contain specific information about the map used by the
class should not be virtual.
* ace/Future_Set.cpp (next_readable): Removed extra code that was
left behind from a debugging stage. Thanks to author John
Tucker <jtucker@infoglide.com> for helping with this.
Tue Jul 20 12:02:47 1999 David L. Levine <levine@cs.wustl.edu>
* examples/Threads/task_five.cpp (main): removed
ACE_NOTREACHED wrapper around the final return statement.
It's reachable now.
Tue Jul 20 11:46:09 1999 Douglas C. Schmidt <schmidt@tango.cs.wustl.edu>
* examples/Shared_Malloc/test_position_independent_malloc.cpp:
Completely #ifdef'd this example out until we get it working.
Thanks to David Levine for reporting this.
Tue Jul 20 11:15:23 1999 David L. Levine <levine@cs.wustl.edu>
* ACE-INSTALL.html: updated memory requirements discussions.
Tue Jul 20 09:43:36 1999 Ossama Othman <othman@cs.wustl.edu>
* ace/Future_Set.cpp (next_readable):
Fixed unused variable warnings.
Tue Jul 20 09:33:02 1999 David L. Levine <levine@cs.wustl.edu>
* ace/OS.{h,i} (sigwait): only use the DIGITAL_UNIX sigwait
massaging with cxx, not with any other compiler. Thanks to
Doug Anderson <dla@home.com> for suggesting this, because
egcs issued warnings with it.
Tue Jul 20 07:06:28 1999 David L. Levine <levine@cs.wustl.edu>
* include/makeinclude/platform_osf1_4.0.GNU:
removed -ptr ptrepository. Let the compiler use its
default template repository.
* include/makeinclude/rules.local.GNU (realclean): added
cxx_repository, for DU cxx.
Tue Jul 20 07:01:57 1999 Doug Anderson <doug@clark.net>
* ace/OS.i (sigwait,thr_sigsetmask): added support for
Cray UNICOS 9.
Mon Jul 19 22:46:54 1999 Irfan Pyarali <irfan@cs.wustl.edu>
* ace/Strategies_T.cpp
(ACE_Cached_Connect_Strategy::new_connection):: We use a reverse
lock to let go of the lock for the duration of the actual
connect. This will allow other threads to hack on the
connection cache while this thread creates the new connection.
Thanks to James Whitledge <jwhitledge@spyglass.com> for
suggesting this.
* tests/Cached_Accept_Conn_Test.cpp
* tests/Cached_Conn_Test.cpp
* tests/Conn_Test.cpp
Added reverse lock template instantiations.
* ace/Synch_T: Since the reverse lock constructor that created the
regular lock was removed, there was no need for the
<delete_lock_> variable, and <lock_> could be changed into a
reference (instead of pointer).
Mon Jul 19 23:04:15 1999 Douglas C. Schmidt <schmidt@tango.cs.wustl.edu>
* netsvcs/lib/Logging_Strategy.cpp (init): The ACE_LOG_MSG->open()
call at the end of the ACE_Logging_Strategy::init() method
*must* specify the flags and logger key or an application will
not connect to the client logger daemon automatically when the
ACE_Log_Msg::LOGGER flag is set in a svc.conf file. Thanks to
Jerry De Master <jdemaste@ipdinc.com> for reporting this.
Mon Jul 19 22:11:13 1999 David L. Levine <levine@cs.wustl.edu>
* ACE-INSTALL.html: cleaned up instructions for building
on NT for VxWorks target. Thanks to Stephane Chatre
<schatre@oresis.com> for reporting that the instructions
were out of date.
Mon Jul 19 21:38:16 1999 Carlos O'Ryan <coryan@cs.wustl.edu>
* tests/run_tests.vxworks:
Re-enable the Cached_Conn_Test and Cached_Accept_Conn_Test, it
works on Linux, NT, Solaris, IRIX and HP-UX so we should be
pretty close. Thanks to Irfan for fixing the problems with this
test.
Mon Jul 19 21:26:57 1999 David L. Levine <levine@cs.wustl.edu>
* ace/OS.{h,i}: reverted sigwait () changes on Digital
Unix. They cause examples/Threads/process_manager.cpp
to not compile on DU 5.0 with cxx 6.2-021. See
Mon Jul 19 21:13:16 1999 Doug Anderson <doug@clark.net>.
Mon Jul 19 21:13:16 1999 Doug Anderson <doug@clark.net>
* ace/ACE.cpp,ace/Basic_Types.h,ace/CDR_Stream.{h,cpp},
ace/SOCK_Dgram_Bcast.cpp,ace/config-cray.h,
tests/Basic_Types_Test.cpp,tests/Handle_Set_Test.cpp,
include/makeinclude/platform_cray.GNU
I finally managed to get the latest and greatest to work on
the Cray. Still no CDR support, but that will be post 5.0.
* ace/OS.{h,i}: added support for egcs on Digital Unix (4.0d & e).
Fixe problem with legacy workarounds in OS.* for sigwait() and
cxx/GNU that don't appear to be necessary on 4.0d/e/f with
neither cxx nor GNU.
* include/makeinclude/platform_tru64_g++.GNU: added. Works
with ace/config-tru64.h.
Mon Jul 19 19:46:50 1999 Irfan Pyarali <irfan@cs.wustl.edu>
* ace/OS.h: Added ACE_*_cast_*_ptr and ACE_*_cast_*_ref for const,
static, and reinterpret casts.
* ace/Strategies_T.cpp (find):
* ace/Cached_Connect_Strategy_T.cpp (find):
The comparison should be between ACE_PEER_CONNECTOR_ADDR and not
REFCOUNTED_HASH_RECYCLABLE_ADDRESS.
* ace/Svc_Handler: Changed <state> to <recycle_state>. <state>
was too generic and in some cases a <state> method was already
present in classes deriving from Svc_Handler.
Also, added a <recycle_state> accessor.
The following files were effected:
- ace/Cached_Connect_Strategy_T.cpp
- ace/Cached_Connect_Strategy_T.h
- ace/Caching_Utility_T.cpp
- ace/Strategies.h
- ace/Strategies.i
- ace/Strategies_T.cpp
- ace/Strategies_T.h
- ace/Strategies_T.i
- tests/Cached_Accept_Conn_Test.cpp
- tests/Cached_Conn_Test.cpp
Mon Jul 19 20:08:15 1999 Carlos O'Ryan <coryan@cs.wustl.edu>
* ace/Strategies_T.cpp:
Fixed lookup of connections in the Cached_Connect_Strategy,
thanks to Irfan for providing this fix.
Mon Jul 19 12:26:20 1999 David L. Levine <levine@cs.wustl.edu>
* include/makeinclude/platform_vxworks5.x_g++.GNU,
ace/config-g++-common.h:
don't #define ACE_HAS_GNUG_PRE_2_8 with Tornado II's
g++. It's egcs, though it's version identifier says
it's 2.7. Thanks to Thomas Lockhart
<Thomas.G.Lockhart@jpl.nasa.gov> for reporting this. [Bug 80]
Mon Jul 19 09:50:31 1999 Steve Huston <shuston@riverace.com>
* ace/Future.cpp: Added ACE_TYPENAME to template-qualified types.
* ace/Future.cpp: Added #include "ace/Containers.h" to be sure the
types necessary for this class is available at template link
time.
* apps/gperf/src/Options.h: If on PharLap ETS, clear out its definition
of EOS to avoid compile errors. Thanks to David Hauck
<davidh@realtimeint.com> for this fix.
Mon Jul 19 08:12:30 1999 David L. Levine <levine@cs.wustl.edu>
* include/makeinclude/platform_tru64_cxx.GNU: added support
for DU 4.0E and D.
Mon Jul 19 08:08:25 1999 Steve Huston <shuston@riverace.com>
* ace/config-hpux-(10 11).x-hpc++.h: In the aC++ section, if __HP_aCC
is not set, set it. Some parts of TAO rely on it, but it's not set
until the most recent versions of the compiler. Thanks to Brian
Wallis <Brian.Wallis@sr.com.au> for helping figure this out.
Mon Jul 19 07:53:59 1999 David L. Levine <levine@cs.wustl.edu>
* ace/SOCK_Dgram_Mcast.cpp (open): added unnecessary const_cast
of mcast_addr to ACE_Addr &, so that Sun C++ 4.2 will compile
without error. Thanks to Andy for this fix.
Sun Jul 18 21:36:04 1999 David L. Levine <levine@cs.wustl.edu>
* OS.cpp (sched_params): wrapped DIGITAL_UNIX preprocessor
symbol in parenthesis.
Sun Jul 18 14:30:54 1999 Douglas C. Schmidt <schmidt@tango.cs.wustl.edu>
* tests/run_tests.sh: Reenabled the Future_Set_Test. Hopefully,
this will work on Solaris and the other platforms now!
* ace/Future*: Added some fixes for Future_Set that should prevent
it from hanging indefinitely on certain platforms. Also,
removed the Future_Node.h and Future_Node.cpp files since they
are no longer used. Thanks to John Tucker
<jtucker@infoglide.com> for contributing these fixes.
* ace/SOCK_Dgram_Mcast: Finished implementing the QoS-enabled APIs for
socket datagram multicast. This required refactoring quite a
bit of code and adding some new methods that take the
ACE_QoS_Params.
* ace/SOCK_Dgram.cpp: Finished integrating the QoS support
for SOCK dgrams.
* ace/SOCK_Dgram.cpp: Factored out common code in the
ACE_SOCK_Dgram constructors.
* ace/SOCK_Connector: Finished implementing the QoS-enabled
connect() methods. To make this cleaner, I've created a new
"shared_open()" method that factors out the common code.
* ace/SOCK_Acceptor: Finished implementing the QoS-enabled open()
method. To make this cleaner, I've created a new
"shared_open()" method that factors out the common code.
Sat Jul 17 13:36:03 1999 Ossama Othman <othman@cs.wustl.edu>
* ace/High_Res_Timer.cpp (get_cpuinfo):
Removed extra `FILE *cpuinfo' declaration.
Sat Jul 17 12:20:25 1999 Douglas C. Schmidt <schmidt@tango.cs.wustl.edu>
* ace/High_Res_Timer: Added integrated support for Alpha and
Pentium that will eliminate the 5sec startup delay for Linux/PII
clients using the ACE high resolution timer. Thanks to Thomas
Lockhart <Thomas.G.Lockhart@jpl.nasa.gov> for these fixes.
* netsvcs/servers/main.cpp (main): Fixed a typo caused by recent
integration of Jerry De Master's fixes.
Fri Jul 16 19:41:05 1999 Irfan Pyarali <irfan@cs.wustl.edu>
* ace/ACE.cpp (out_of_handles): Added a function to check if a
process is out of handles (file descriptors). This is required
to avoid repeating this code in many places. Also, note that
all platform specific quirks can be captured in this function.
* ace/Cached_Connect_Strategy_T.cpp (cached_connect):
* tests/Cached_Conn_Test.cpp (out_of_sockets_handler):
* tests/Cached_Accept_Conn_Test.cpp (out_of_sockets_handler):
Changed the above to use the new ACE::out_of_handles() function.
* ace/OS.h (ENFILE): Added ENFILE if missing on platform. In that
case, ENFILE will equal to EMFILE.
Fri Jul 16 13:55:34 1999 Douglas C. Schmidt <schmidt@tango.cs.wustl.edu>
* include/makeinclude/{build_dll.bor,build_exe.bor,compiler.bor},
ace/{Makefile.bor,ace.rc}:
Updated these files to add version information to the DLLs so
when you right click them in windows explorer you can see what
version the file is (e.g., "4.6.45"). Thanks to Christopher
Kohlhoff <chris@kohlhoff.com> for contributing this.
* netsvcs/servers/main.cpp (main): Disable debugging messages
if the -d option isn't given to ACE_Service_Config. Thanks to
Jerry De Master <jdemaste@ipdinc.com> for reporting this.
* ace/config-win32-borland.h: Updated this file to enable some
necessary macros. Thanks to Christopher Kohlhoff
<chris@kohlhoff.com> for reporting this.
* tests/DLL_Test.cpp,
tests/run_test.bat: Updated these to handle the appropriate
directory where the Borland tests are built. Thanks to
Christopher Kohlhoff <chris@kohlhoff.com> for reporting this.
* netsvcs/lib/Logging_Strategy.cpp (init): When the application
program is started, none of the log output is sent to the
Client_Logging_Service. Further investigation shows that the
ACE_Log_Msg::open() method is responsible for connecting to the
client logger if the ACE_Log_Msg::LOGGER flag is set. However,
the connections never attempted because the ACE_Log_Msg::open()
method is called before the Logging_Strategy flags have been
parsed. This problem was fixed by rearranging the point at
which the ACE_LOG_MSG->open() method was called. Thanks to
Jerry De Master <jdemaste@ipdinc.com> for contributing this.
* netsvcs/lib/Client_Logging_Handler.cpp (send),
netsvcs/lib/Log_Message_Receiver.cpp (log_output):
All log message output in ACE is done through one of the
ACE_Log_Record::print() methods. Each of the overloaded methods
has a <flags> argument as the second argument. However, all
uses of the ACE_Log_Record::print() method in
Log_Message_Receiver.cpp and Client_Logging_Handler.cpp pass
zero for the flags argument. To fix this, simply pass
ACE_Log_Msg::instance()->flags() instead of 0. Thanks to Jerry
De Master <jdemaste@ipdinc.com> for contributing this.
* ace/Log_Record.cpp (format_msg): Added code for the new
ACE_Log_Record::format_msg() method that adds the date/time
stamp to the ACE_Log_Msg::VERBOSE_LITE output. Thanks to Jerry
De Master <jdemaste@ipdinc.com> for contributing this.
* netsvcs/lib/Logging_Strategy.cpp (init): Make sure the
ACE_Log_Msg::VERBOSE_LITE flag is OR'd into the clr_flags()
call. Thanks to Jerry De Master <jdemaste@ipdinc.com> for
reporting this.
* netsvcs/lib/Logging_Strategy.cpp (tokenize): Make sure that
the ACE_Log_Msg::VERBOSE_LITE flag is correctly parsed. Thanks
to Jerry De Master <jdemaste@ipdinc.com> for reporting this.
* ace/Memory_Pool.h: Added a way to set the segment_size in
ACE_Shared_Memory_Pool_Options and ACE_Shared_Memory_Pool.
Thanks to Serge Kolgan <skolgan@cisco.com> for this fix. [This
feature was actually added a couple of beta releases ago, but
somehow the ChangeLog entry got lost.]
Fri Jul 16 16:41:22 1999 Ossama Othman <othman@cs.wustl.edu>
* ace/Stats.cpp (print_summary):
Fixed format specifier that was expecting an integer argument.
It needed an additional percent specifier.
Fri Jul 16 09:20:42 1999 Arturo Montes <mitosys@colomsat.net.co>
* ace/OS.i: Patch the dl* family to keep ACE
compatible in SCO OpenServer 5.0.0, 5.0.2, 5.0.4 with 5.0.5
* ace/config-sco-5.0.0.h: Bring OpenServer up to date.
* include/makeinclude/platform_sco5.0.0-fsu-pthread.GNU:
Use gcc-2.95.
Fri Jul 16 11:50:24 1999 Nanbor Wang <nanbor@cs.wustl.edu>
* ace/Log_Msg.cpp (log):
* tests/Basic_Types_Test.cpp (main): Reverted my previous
change. It was not a safe assumption.
Fri Jul 16 02:28:10 1999 Nanbor Wang <nanbor@cs.wustl.edu>
* ace/Log_Msg.cpp (log): Changed (*va_arg (argp,PTF))(), which
extracts a function pointer from va_list and makes a call using
the pointer pointer to ACE_reinterpret_cast (PTF, va_arg (argp,
long))(). This assumes the sizeof (long) is exactly equal to
the size of a function pointer.
* tests/Basic_Types_Test.cpp (main): Narrow down the check to
ensure sizeof(long) == sizeof (a function pointer) (which is
true for all the platforms that ACE runs on.)
Fri Jul 16 00:07:23 1999 Irfan Pyarali <irfan@cs.wustl.edu>
* tests/Cached_Accept_Conn_Test.cpp (test_connection_management):
Changed the test to allow for both one listen endpoint or
multiple listen endpoints.
Thu Jul 15 22:42:36 1999 Nanbor Wang <nanbor@cs.wustl.edu>
* ace/Message_Queue.h: (ACE_MESSAGE_QUEUE_DEFAULT_TYPE):
* ace/Future_Set.{h,cpp} (ACE_Future_Set): Typedef'ed the
ACE_Message_Queue to ACE_MESSAGE_QUEUE_DEFAULT_TYPE and use the
typedef'ed name in ACE_Future_Set's contstructor to get around a
bug in vxworks' g++ compiler.
Thu Jul 15 22:14:18 1999 Irfan Pyarali <irfan@cs.wustl.edu>
* ace/Cached_Connect_Strategy_T.cpp
* ace/Cached_Connect_Strategy_T.h
* ace/Strategies_T.cpp
* ace/Strategies_T.h
Changed find()'s signature to help g++.
* tests/Cached_Accept_Conn_Test.cpp
* tests/Conn_Test.cpp
Added template instantiations.
Thu Jul 15 21:32:26 1999 David L. Levine <levine@cs.wustl.edu>
* bin/create_ace_build: removed # -*- perl -*- on first
line so that t/csh users don't trip over it. Thanks
to Irfan for reporting this.
Thu Jul 15 20:23:39 1999 Irfan Pyarali <irfan@cs.wustl.edu>
* tests/Cached_Conn_Test.cpp (test_connection_management): Changed
the test to allow for both one listen endpoint or multiple
listen endpoints.
* ace/Cached_Connect_Strategy_T.cpp:
* ace/Strategies_T.cpp
- find: Since the comparison of
REFCOUNTED_HASH_RECYCLABLE_ADDRESS doesn't work very well when
trying to find an idle connection (because there are many idle
states), we now use the new backet iterator to find a idle
connection.
- check_hint_i: Explicitly checks for idleness; previously it
was simple checking !closed.
* ace/Strategies.h (ACE_Recyclable): Changed ACE_Recyclable::State
to ACE_Recyclable_State.
* ace/Strategies_T.h (ACE_Refcounted_Hash_Recyclable):
- Added operator!=(ACE_Refcounted_Hash_Recyclable<T>)
- Removed operator==(T)
- Added T &subject()
- Change operator==(ACE_Refcounted_Hash_Recyclable<T>) to check
for equality in state and subject.
* ace/Caching_Utility_T.cpp (minimum): Entries marked
ACE_RECYCLABLE_PURGABLE_BUT_NOT_IDLE should also be considered
for purging.
* ace/Cleanup_Strategies_T.cpp (cleanup): The hash map of the
connection cache may contain duplicates. Therefore, we are not
exactly sure which map entry will be removed when calling
unbind(). Therefore, we use the other unbind() which gives us
back the value of the entry that was removed. This way will
close the correct handler.
* ace/Svc_Handler.cpp (state): Added a new method that allows the
user to explcitly set the state of the Svc_Handler. If the
Svc_Handler does not have a recycler, this method will have no
effect.
Thu Jul 15 16:39:06 1999 Ossama Othman <othman@cs.wustl.edu>
* Makefile:
* NEWS:
The NEWS file is no longer a generated file so it was added to
the list of controlled files.
Thu Jul 15 16:20:43 1999 Nanbor Wang <nanbor@cs.wustl.edu>
* ace/Service_Manager.cpp (init): Check to see the acceptor handle
is ACE_INVALID_HANDLE before the actual initialization to
prevent this service from being initialized twice.
(fini): Must call remove_handler with
ACE_Event_Handler::DONT_CALL since the service manager won't be
around when the reactor is being destroyed. Thanks to Gheorghe
Aprotosoaie <gaprotosoaie@paragonms.com> for reporting this.
Thu Jul 15 16:26:28 1999 David L. Levine <levine@cs.wustl.edu>
* ace/OS.cpp (spa): use ACE_NEEDS_HUGE_THREAD_STACKSIZE
instead of hard-coded value.
* ace/config-vxworks5.x.h: added default
ACE_NEEDS_HUGE_THREAD_STACKSIZE of 64000.
Thu Jul 15 16:08:48 1999 Nanbor Wang <nanbor@cs.wustl.edu>
* ace/config-win32-common.h: Moved ACE_HAS_IP_MULTICAST down
*after* ACE_HAS_WINSOCK2 is defined. Thanks to Marina for
reporting this.
Thu Jul 15 16:11:04 1999 David L. Levine <levine@cs.wustl.edu>
* ace/Basic_Types.h (ACE_U_LongLong): removed user-defined
conversion to ptr_arith_t. Replaced with new macro,
ACE_LONGLONG_TO_PTR.
Thu Jul 15 15:31:49 1999 Ossama Othman <othman@cs.wustl.edu>
* ace/ACE.cpp (timestamp):
* ace/High_Res_Timer.cpp (print_ave):
* ace/Local_Tokens.cpp (open):
* ace/Log_Msg.cpp (log):
* ace/Log_Record.cpp (format_msg):
* ace/Naming_Context.cpp (parse_args):
* ace/OS.cpp (unique_name):
Fixed warnings and generated by gcc 2.95; mostly due to format
specifier mismatches and inefficient conversion operator usage.
Thu Jul 15 14:21:32 1999 David L. Levine <levine@cs.wustl.edu>
* docs/ACE-guidelines.html: reverted to the original
perl magic that goes at the top of every script. The
fix that was supposed to work on HP/UX doesn't. See
Thu Jul 08 22:15:50 1999 David L. Levine <levine@cs.wustl.edu>
Thu Jul 15 12:19:44 1999 David L. Levine <levine@cs.wustl.edu>
* bin/make_release: added -u option, to allow updating the
version stamps from any directory. Also, added suppression
of cvs checkout warning about empty ("New") directories.
* Makefile: added -u to make_release invocations.
Thu Jul 15 11:39:44 1999 David L. Levine <levine@cs.wustl.edu>
* ACE version 4.6.45 released.
Thu Jul 15 11:26:43 1999 David L. Levine <levine@cs.wustl.edu>
* Makefile: made NEWS a dependency of release.
Thu Jul 15 10:05:40 1999 David L. Levine <levine@cs.wustl.edu>
* docs/ACE-guidelines.html: removed reference to
ACE_OS::scanf (). No such thing.
Thu Jul 15 10:01:31 1999 Steve Huston <shuston@riverace.com>
* ace/OS.h: TRANSMIT_FILE_BUFFERS are not defined on PharLap ETS -
it's a Microsoft-specific extension to Winsock 1.1.
* ace/config-win32-common.h: ACE_HAS_IP_MULTICAST is only set for
Winsock 2.
Thanks to David Hauck <davidh@realtimeint.com> for these fixes.
Thu Jul 15 09:28:32 1999 David L. Levine <levine@cs.wustl.edu>
* include/makeinclude/platform_tru64_cxx.GNU: changed
4.0f to 4.0F, because that's what sizer -v returns
on DU 4.0F. Thanks to Doug Anderson <dla@home.com>
for reporting this.
* ace/config-tru64.h: only #define _LIBC_POLLUTION_H_
with DU >= 5.0. Thanks to Doug Anderson <dla@home.com>
for reporting that it's not necessary on DU 4.0F.
Thu Jul 15 09:15:11 1999 Steve Huston <shuston@riverace.com>
* ace/config-aix-4.x.h: Corrected template settings for IBM C/C++
3.6 compiler. It does not get ACE_HAS_STD_TEMPLATE_SPECIALIZATION.
* include/makeinclude/platform_aix4_cset++.GNU: Delete the
testAIXCompilerVersion.cpp file after getting the compiler version.
Thu Jul 15 07:33:30 1999 David L. Levine <levine@cs.wustl.edu>
* ace/config-tru64.h,config-osf1.h,config-osf1-4.0.h,
include/makeinclude/platform_tru64_cxx.GNU,platform_osf1_cxx.GNU,
ACE-INSTALL.html: moved config-osf1.h to config-tru64.h,
and platform_osf1_cxx.GNU to platform_tru64_cxx.GNU.
Thanks to Doug Anderson <dla@home.com> for this suggestion.
Wed Jul 14 22:23:10 1999 David L. Levine <levine@cs.wustl.edu>
* ace/config-cray.h: replaced ACE_HAS_TEMPLATE_INSTANTIATION_PRAGMA
with ACE_HAS_EXPLICIT_TEMPLATE_INSTANTIATION. The standard
"template class" explicit instantiations work with version
3.2.0.1 of the compiler. Thanks to Doug Anderson <dla@home.com>
for reporting this.
* ace/config-ghs-common.h: use
ACE_HAS_EXPLICIT_TEMPLATE_INSTANTIATION with Green Hills 1.8.9
and later. Thanks to Carlos for suggesting that we give it
whirl. It worked :-)
Wed Jul 14 22:03:08 1999 David L. Levine <levine@cs.wustl.edu>
* ace/config-osf1-4.0.h: enable pragma message disable declbutnotref
with Digital Unix 4.0f, as well as 5.0. Thanks to
Doug Anderson <dla@home.com> for reporting that
it's necessary.
* ACE-INSTALL.html: updated config/platform info for
Digital UNIX 4.0f (and 5.0).
[Bug 65]
Wed Jul 14 19:44:21 1999 Steve Huston <shuston@riverace.com>
* ace/Thread_Manager.cpp (spawn_i): Defer acquiring the thread
descriptor's lock until just before attempting to start the thread
to avoid places where the thread descriptor could be destroyed
while holding the lock (doing that is an undefined operation in
pthreads, and has particularly bad results on HP-UX 11). If the
thread creation does fail, release the lock before returning
the error indication (taking care to guard errno). Removed an
unreachable block of code which put the thread descriptor on the
wrong list anyway.
Removed the #if 1, #else, #endif around the auto_ptr for
new_thr_desc - if it's still working this close the ACE 5 release,
it wins. Besides, the use of the auto_ptr was ingrained in the
rest of the function, without the #if checks.
Wed Jul 14 19:03:57 1999 David L. Levine <levine@cs.wustl.edu>
* etc/purify.solaris2: added another UMR suppression for
__sigprocmask in the Solaris 2.6 threads library. Thanks
to Andy for reporting this.
Wed Jul 14 16:30:48 1999 Irfan Pyarali <irfan@cs.wustl.edu>
* ace/Hash_Map_Manager_T.h (class ACE_Hash_Map_Bucket_Iterator):
Added a new class that allows the iteration over the entries of
a of a particular bucket in a hash map.
* tests/Hash_Map_Bucket_Iterator_Test.cpp: A test for the new
ACE_Hash_Map_Bucket_Iterator class.
Wed Jul 14 16:37:33 1999 Ossama Othman <othman@cs.wustl.edu>
* Makefile:
Added Makefile.am and NEWS to the list of controlled files. The
file `NEWS' will get generated when a release is made.
* TODO:
* acconfig.h:
* configure.in:
* configure:
Minor ACE Configuration Project related updates and fixes.
Wed Jul 14 13:38:12 1999 Steve Huston <shuston@riverace.com>
* tests/Cached_Accept_Conn_Test.cpp: Moved defs of Client_Svc_Handler
and Server_Svc_Handler classes to new file, Cached_Accept_Conn_Test.h
to make AIX xlC happy.
* tests/Cached_Conn_Test.cpp: Moved definition of Svc_Handler class
new file, Cached_Conn_Test.h to make AIX xlC happy.
* tests/Cached_Accept_Conn_Test.cpp, Cached_Conn_Test.cpp: Don't
even try to build these on AIX C Set++ 3.1. It can't hack the
auto template instantiation - overwrites a template generator
file and tosses its cookies. ACE is still the best C++ compiler
test on the planet.
Wed Jul 14 16:24:38 1999 Carlos O'Ryan <coryan@cs.wustl.edu>
* ace/CDR_Stream.h:
* ace/CDR_Stream.cpp:
Added new method to efficiently steal the contents of a CDR
stream and store them in another.
Wed Jul 14 12:05:13 1999 David L. Levine <levine@cs.wustl.edu>
* include/makeinclude/rules.local.GNU (LN_S): on WIN32
hosts, use cp -p instead of ln -s, because symbolic
links aren't supported.
Wed Jul 14 11:22:31 1999 David L. Levine <levine@cs.wustl.edu>
* include/makeinclude/platform_vxworks5.x_g++.GNU,
ACE_INSTALL.html: with egcs (Tornado II) and without
exception handling, add -Wno-uninitialized to CCFLAGS.
The version of egcs that is provided with Tornado II
produces some spurious warnings about uninitialized
variables (including "this" :-). This was a problem
in older versions of egcs, but has since been fixed.
To avoid the warning, we always disable the warning
with VxWorks' egcs.
Wed Jul 14 11:20:31 1999 Steve Huston <shuston@riverace.com>
* ace/config-aix-4.x.h: Add ACE_LACKS_SETSCHED for pre-4.3 AIX.
Wed Jul 14 11:15:24 1999 David L. Levine <levine@cs.wustl.edu>
* examples/Shared_Malloc/Malloc.cpp: only explicitly
instantiate ACE_Read_Guard<ACE_SYNCH_MUTEX> and
ACE_Write_Guard<ACE_SYNCH_MUTEX> ifndef ACE_HAS_THREADS.
With threads, they're explicitly instantiated in
ace/Synch.cpp.
Wed Jul 14 10:58:30 1999 Carlos O'Ryan <coryan@cs.wustl.edu>
* ace/CDR_Stream.h:
* ace/CDR_Stream.cpp:
Clarified the relationship between this implementation and the
original SunSoft version.
Wed Jul 14 10:47:45 1999 David L. Levine <levine@cs.wustl.edu>
* include/makeinclude/platform_qnx_neutrino.GNU:
added ACE_HAS_GNUG_PRE_2_8 := 0, so that exception
handling will be disabled by default.
Wed Jul 14 10:34:37 1999 David L. Levine <levine@cs.wustl.edu>
* examples/IPC_SAP/SOCK_SAP/FD-unclient.cpp: fixed typo,
ACE_LACKS_UNIX_DOMAIN_SOCKETS instead of
ACE_HAS_UNIX_DOMAIN_SOCKETS.
Wed Jul 14 10:22:29 1999 David L. Levine <levine@cs.wustl.edu>
* ace/Singleton.*: added ACE_Unmanaged_Singleton and
ACE_Unmanaged_TSS_Singleton template class. They're
identical to ACE_Singleton and ACE_TSS_Singleton,
respectively, except that they don't register for
cleanup with the ACE_Object_Manager. Therefore,
the application is responsible for explicitly destroying
the instance after it is no longer needed (if it wants to
avoid memory leaks, at least). The close () static member
function must be used to explicitly destroy the Singleton.
Thanks to Valery Arkhangorodsky <valerya@servicesoft.com>
for suggesting this and providing the code.
Wed Jul 14 10:01:47 1999 David L. Levine <levine@cs.wustl.edu>
* ace/OS.h (ACE_{,U_}ONE_SECOND_IN*): made the trailing
L or U upper case, for readability. Thanks to Chris
for noticing this.
Wed Jul 14 09:40:37 1999 David L. Levine <levine@cs.wustl.edu>
* include/makeinclude/wrapper_macros.GNU: when setting
ACE_HAS_GNUG_PRE_2_8, if not g++: don't override
the value to null if it was non-null. Also, clarified
use of ACE_HAS_GNUG_PRE_2_8: 1 for g++ < 2.8.0,
0 for g++ >= 2.8.0, undefined for non-g++.
Wed Jul 14 09:29:57 1999 David L. Levine <levine@cs.wustl.edu>
* tests/Makefile (realclean): remove log/compilations.log*.
Tue Jul 13 22:25:18 1999 Carlos O'Ryan <coryan@cs.wustl.edu>
* include/makeinclude/wrapper_macros.GNU:
Disable the "unitialized" warnings with EGCS+exceptions, it
gives too many bogus warnings to take care of them.
Tue Jul 13 22:16:17 1999 Carlos O'Ryan <coryan@cs.wustl.edu>
* bin/ACEutils.pm:
Wait for non empty files, sometimes the process creates the
files but does not have enough time to fill its contents.
Tue Jul 13 21:32:44 1999 Ossama Othman <othman@cs.wustl.edu>
* acconfig.h:
* ltconfig:
* ltmain.sh:
* ace/Makefile.am:
* tests/Makefile.am:
ACE Configuration Project updates. Synchronized with current
version of ACE in CVS repository.
Tue Jul 13 15:22:51 1999 David L. Levine <levine@cs.wustl.edu>
* include/makeinclude/platform_vxworks5.x_g++.GNU:
set ACE_HAS_GNUG_PRE_2_8 to 0 with egcs (Tornado II).
Tue Jul 13 15:15:43 1999 Steve Huston <shuston@riverace.com>
* ace/ace-dll.icc, ace-lib.icc: Corrected source file set; now builds
(still with some warnings) on AIX, Visual Age C++ 4.
Tue Jul 13 15:11:28 1999 Nanbor Wang <nanbor@cs.wustl.edu>
* bin/run_all_win32.pl: Fixed program output redirection problem.
Unfortunately, the fix requires one to have either 'sh' or '4nt'
to redirect output from another perl script correctly.
Tue Jul 13 15:04:35 1999 David L. Levine <levine@cs.wustl.edu>
* include/makeinclude/platform_qnx_neutrino.GNU:
removed full paths from commands, because they're
prefixed with i386-nto-.
* ace/config-qnx-neutrino.h: updated to build with egcs.
Tue Jul 13 15:03:01 1999 David L. Levine <levine@cs.wustl.edu>
* ace/Pipe.cpp (open): moved declaration of local variable
"one" inside the ACE_LACKS_TCP_NODELAY #ifndef block.
Tue Jul 13 14:57:56 1999 David L. Levine <levine@cs.wustl.edu>
* ace/SV_Semaphore_Simple.{h,cpp} (init,open,name_2_key):
added static cast of ACE_INVALID_SEM_KEY to key_t. key_t
is unsigned on QNX Neutrino, but we want to keep
ACE_INVALID_SEM_KEY as -1.
Tue Jul 13 11:57:53 1999 Nanbor Wang <nanbor@cs.wustl.edu>
* ace/config-win32.h: Changed CApplication to CWinApp. Thanks to
John Morey <jmorey@tbi.com> for pointing this out.
Tue Jul 13 11:13:52 1999 Steve Huston <shuston@riverace.com>
* ACE_INSTALL.html: Added some info for building on AIX with
Visual Age C++.
* ace/config-aix-4.3.x.h: New file - these version-specific configs
are particularly useful with Visual Age C++, which has its own
funky make system that doesn't use the platform_macros.GNU files,
and so doesn't pick up the ACE_AIX_MAJOR/MINOR_VERS settings which
are used in config-aix-4.x.h.
* ace/config-aix-4.x.h: Corrected template settings for Visual Age C++
and added ACE_HAS_TYPENAME for VAC++ also.
Tue Jul 13 10:40:31 1999 Irfan Pyarali <irfan@cs.wustl.edu>
* ace/Cached_Connect_Strategy_T.cpp (purge_connections): There is
no need to set the purge percentage again.
Tue Jul 13 10:39:57 1999 Matthew J Braun <mjb2@cs.wustl.edu>
* ace/Containers_T.h,i: Altered private member list_ of
DLList_Iterator to be a pointer rather than a reference. This
allows the reset method to work because it was overwriting the
contents of list_ rather than iterating over a different list
Tue Jul 13 09:14:31 1999 Steve Huston <shuston@riverace.com>
* ace/Cached_Connect_Strategy_T.cpp (dtor): Added ACE_TYPENAME
to 'iter' declaration since its type depends on template parameters.
Tue Jul 13 09:11:24 1999 David L. Levine <levine@cs.wustl.edu>
* include/makeinclude/platform_vxworks5.x_ghs.GNU:
moved LIBS setting for Green Hills 1.8.9 from
x86-only to all targets. Thanks to Dale Wood
<dale_wood@Mitel.com> for confirming that this
is necessary for PowerPC targets.
Tue Jul 13 08:18:56 1999 David L. Levine <levine@cs.wustl.edu>
* ace/config-osf1.h,config-osf1-4.0.h,
include/makeinclude/platform_osf1_cxx.GNU:
added another significant figure to the version identifer,
e.g., 0x40F and 0x500. [Bug 65]
Tue Jul 13 06:45:53 1999 Steve Huston <shuston@riverace.com>
* examples/Shared_Malloc/test_position_independent_malloc.cpp: Moved
definition of Dummy_Data to test_position_independent_malloc.h, a
new file, to satisfy AIX IBM C++ template instantiation.
* include/makeinclude/platform_aix4_cset++.GNU: Turn on/off warnings
based on compiler version, not OS version. Thanks to Craig
Rodrigues <rodrigc@mediaone.net> for sending the code in!
* THANKS: Added Craig Rodrigues to the hall of fame.
* ace/config-aix-4.1.x.h, config-aix-4.2.x.h: Added setting for
ACE_AIX_MAJOR_VERS and ACE_AIX_MINOR_VERS if they weren't set
already. Eases backwards compatibility for those who don't use
the ACE build macros (horrors! :-). Thanks to Jeff Donner
<jdonner@schedsys.com> for this suggestion.
Mon Jul 12 18:24:34 1999 Kirthika Parameswaran <kirthika@cs.wustl.edu>
* tests/Cached_Accept_Conn_Test.cpp:
This tests explicit purging from the server's point of view.
When the acceptor in either its accept_svc_handler () or open ()
runs out of descriptors, purging of unused svc_handlers from the
connecton cache is requested.
* tests/Cached_Conn_Test.cpp:
Defined ACE_HAS_BROKEN_EXTENDED_TEMPLATES for the
Caching_Strategy_Adapter. If this condition is true, then only
Least Recently Used Caching Strategy is available. This was
necessary for compilers which dont accept long template lists,
for example GNUC version < 8.0. Total credit for this hack
to get through the old GNUC compiler goes to Irfan
<irfan@cs.wustl.edu> of the DOC group.
* tests/Makefile:
Added Cached_Accept_Conn_Test.cpp.
* tests/Makefile:
* tests/run_tests.sh:
* tests/run_pharlap_tests.bat:
* tests/run_tests.bat:
* tests/run_tests.psosim:
* tests/run_tests.vxworks:
Added Cached_Conn_Test, Map_Manager_Test and
Cache_Map_Manager_Test to the above.
Mon Jul 12 17:31:28 1999 Nanbor Wang <nanbor@cs.wustl.edu>
* bin/run_all_win32.pl: Fixed the missing execution output problem
and simplified how the script gets invoked. See comments for
more details.
* ace/config-win32.h:
* ace/Object_Manager.h: Updated some unclear comments regarding
the use and instantiation of non-static object manager. Thanks
to John Morey and David for pointing this out.
* ace/ace_dll.dsp: Merged additional MFC configuration. Thanks to
John Morey <jmorey@tbi.com> for submitting the patch.
Mon Jul 12 15:27:37 1999 David L. Levine <levine@cs.wustl.edu>
* ace/config-osf1.h,config-osf1-4.0.h,
include/makeinclude/platform_osf1_cxx.GNU,
ACE-INSTALL.html: added support for DU 4.0f. It needs the
same #defines that we use on DU 5.0. [Bug 65]
Mon Jul 12 14:41:14 1999 David L. Levine <levine@cs.wustl.edu>
* ace/config-win32.h,Object_Manager.h: cleaned up comments
about the non-static ACE_Object_Manager. Thanks to
John Morey <jmorey@tbi.com> for reporting this.
Mon Jul 12 13:54:34 1999 Kirthika Parameswaran <kirthika@cs.wustl.edu>
* ace/Cache_Map_Manager_T.{h,i,cpp}:
Defined ACE_T1 and ACE_T2 which contain the template parameter
list and added ACE_HAS_BROKEN_EXTENDED_TEMPLATES macro where
needed. This takes care of the template list for compilers which
cant accept a long template list, for example: GCC 2.7.2.
Also changed the purge() to now call the <caching_utility> for
purging entries form the cache.
* ace/Hash_Cache_Map_Manager_T.h:
Added ACE_HAS_BROKEN_EXTENDED_TEMPLATES to complement the
Cache_Map_Manager class changes.
* ace/Cached_Connect_Strategy_T.cpp:
Changed dtor to take care of the
ACE_HAS_BROKEN_EXTENDED_TEMPLATES definition.
* ace/Cached_Connect_Strategy_T.h:
Removed CONNECTION_CACHE_ITERATOR typedef.
* ace/Caching_Strategies_T.{h,i,cpp}:
Changed template parameter list and removed dependency on the
CONTAINER. Removed clear_cache() method.
* ace/Caching_Utility_T.{h,i,cpp}:
Added default cleanup strategies to every kind of
caching_utiltity. ACE_Recyclable_Hanlder_Caching_Utility no
longer derives form ACE_Pair_Caching_Utility.
* ace/Cleanup_Strategies_T.{h,i,cpp}:
Changed ACE_Svc_Cleanup_Strategy to
ACE_Recyclable_Handler_Cleanup_Strategy.
* tests/Cache_Map_Manager_Test.cpp:
* tests/Map_Manager_Test.cpp:
Made changes to template instantiations.
* tests/Cached_Conn_Test.cpp:
Added out_of_sockets_handler() which will do the purging.
Added a check for ENOBUFS which arose on NT and ENOENT which
arose on Linux + Solaris. Defined
ACE_HAS_BROKEN_EXTENDED_TEMPLATES for GCC versions < GCC 2.8.
Mon Jul 12 12:14:45 1999 David L. Levine <levine@cs.wustl.edu>
* docs/ACE-development-process.html: added this page, as
a start towards a less chaotic development process.
Mon Jul 12 10:05:31 1999 Steve Huston <shuston@riverace.com>
* ace/Event_Handler_T.i: Added ACE_TYPENAME on template-dependent types
in function signatures. Quiets HP-UX aC++.
* ace/Based_Pointer_Repository.h:
* ace/Based_Pointer_T.h: Added #include "ace/OS.h" to pick up def. of
ACE_Export when instantiating templates with AIX IBM C++.
* include/makeinclude/platform_hpux_aCC.GNU: Removed definition for
CPP_LOCATION - use aCC - cpp has too many problems, and a fix for
the pragma warnings was checked into TAO_IDL.
Mon Jul 12 09:26:29 1999 David L. Levine <levine@cs.wustl.edu>
* testsr/Makefile: don't build libDLL_Test.so if not building
shared libraries. This simplifies the build on static-libs
only platforms, and can be used by run_tests.sh, below.
[Bug 62]
* tests/run_tests.sh: don't run DLL_Test if libDLL_Test.so
was not built.
Mon Jul 12 07:48:04 1999 David L. Levine <levine@cs.wustl.edu>
* docs/ACE-guidelines.html: updated guideline under CVS
section to match the other one about always testing
on egcs.
Sun Jul 11 23:59:52 1999 nanbor <nanbor@cs.wustl.edu>
* ACE version 4.6.44 released.
Sat Jul 10 18:05:41 1999 Nanbor Wang <nanbor@cs.wustl.edu>
* ace/config-kcc-common.h: Added ACE_NEW_THROWS_EXCEPTIONS.
Thanks to David for pointing this out.
Sat Jul 10 16:22:00 1999 Chris Gill <cdgill@tango.cs.wustl.edu>
* ace/config-win32-common.h: wrapped ACE_HAS_TYPENAME_KEYWORD so it is
only set for MSVC++ 6.0 or higher. This is to work around a compiler
bug in MSVC++ 5.0 when trying to compile certain forms with the
typename keyword in a template method argument list.
Sat Jul 10 13:16:50 1999 Douglas C. Schmidt <schmidt@tango.cs.wustl.edu>
* ace/Malloc: Changed the type of pointer used by ACE_Name_Node
from void * to char * so that we can integrate this cleanly with
ACE_Based_Pointer<>, which will fail if we use void since we
can't return from a "void" function!
* tests/Thread_Pool_Test.cpp (open): Fixed another somewhat bogus
warning from EGCS related to initialization of loop variables.
* tests/New_Fail_Test.cpp (main): Make sure to initialize pointers
so that EGCS doesn't complain.
* tests/MT_Reactor_Timer_Test.cpp (main): Fixed a signed/unsigned
mismatch.
* tests: Added appropriate header comments for all the *.h files.
* tests/Cache_Map_Manager_Test.cpp: Capitlized the hash_key
class to be Hash_Key, which is standard ACE programming style.
* ace/Service_Config.cpp: Added yet another set of
changes to open_i() so that the -d option is handled
appropriately. Thanks to Jonathan Reis
<reis@minniemouse.cemax.com> for this fix.
* ace/SOCK_Acceptor.h: Clarified the parameters for
ACE_SOCK_Acceptor's constructor and open() methods. Thanks to
Ron MacKenzie <ronm@SLAC.Stanford.EDU> for motivating this.
Sat Jul 10 13:56:30 1999 Nanbor Wang <nanbor@cs.wustl.edu>
* tests/MT_Reactor_Timer_Test.cpp (main): Fixed signed/unsigned
comparison.
Sat Jul 10 08:01:36 1999 David L. Levine <levine@cs.wustl.edu>
* docs/ACE-guidelines.html: THANKS instead of README.
Fri Jul 9 20:54:30 1999 Ossama Othman <othman@cs.wustl.edu>
* ace/UNIX_Addr.{h,i} (hash):
Implemented a hash function for ACE_UNIX_Addr instead of relying
on the base class no-op hash function. Thanks to Irfan for
explaining the best way to do this.
Fri Jul 9 20:39:47 1999 Kirthika Parameswaran <kirthika@cs.wustl.edu>
* tests/Cached_Conn_Test.cpp: Added an Svc_Handler class which
helped in verifying the course of the program execution.
* ace/Caching_Utility_T.cpp (minimum): Cleaned up code by removing
redundant else if statement.
* tests/Cache_Map_Manager_Test.cpp: Resolved some template typos
which surfaced on compiling with VxWorks.
Fri Jul 09 20:14:13 1999 Irfan Pyarali <irfan@cs.wustl.edu>
* tests/MT_Reactor_Timer_Test.cpp (main): Added fixes so that test
can work with WFMO_Reactor (WFMO_Reactor needs an extra
handle_events() to get started).
* tests/Conn_Test.cpp (spawn_processes): Only printing reaping
message when result is not -1.
* ace/Strategies_T.i (ACE_Refcounted_Hash_Recyclable<T>::operator==):
The check should be for "and", not "or".
* tests/Conn_Test.cpp: Since timed accept is implemented using
select(), and we use timed accepts with threads, we need a real
lock when using timed accepts even if the OS has thread-safe
accept.
Also changed the default number of clients to 5. Hopefully,
this won't overrun the backlog on the listen socket.
* ace/Svc_Handler.cpp (shutdown): Remove self from Reactor only
when we have a valid handle. Otherwise, we lose our current
errno, since the failed remove_handler will set the errno to
EINVAL.
Fri Jul 9 14:02:52 1999 Steve Huston <shuston@riverace.com>
* ace/config-aix-4.x.h: Re-enabled ACE_LACKS_SETSCHED for AIX 4.3.
The OS defs are not aligned/matched correctly with what they mean
in this area, but will need to wait til after ACE 5.0 is done
before straightening it out.
* ace/WFMO_Reactor.cpp (ACE_WFMO_Reactor_Handler_Repository::bind_i):
Set errno to EMFILE if the max number of handles is registered,
instead of leaving a stale errno for the user to figure out.
* tests/MT_Reactor_Timer_Test.h (Dispatch_Count_Handler): Changed
type of timers_fired_ from int to size_t so it matches type of
ACE_MAX_TIMERS.
Fri Jul 9 14:27:10 1999 Douglas C. Schmidt <schmidt@tango.cs.wustl.edu>
* ace/Service_Config.cpp (open_i): Be default, disable debugging
messages. Only reenable them if the -d option is given. Thanks
to Jerry De Master <jdemaste@ipdinc.com> for reporting this.
* ace/Based_Pointer_T: Factored out all but the operator-> into
a new class called ACE_Based_Pointer_Basic so that we can use
this for "basic types" like char *. Thanks to Irfan for
pointing this out.
* ace/Based_Pointer_Repository.cpp (unbind): Fixed a
bug in the unbind() loop. Thanks to David Levine and DEC UNIX
C++ for noticing this!
* ace/Reactor.i (schedule_wakeup): Fixed a misplaced assignment
of Event_Handler->reator (). Thanks to Carlos for reporting
this.
Fri Jul 09 13:11:33 1999 Nanbor Wang <nanbor@cs.wustl.edu>
* tests/Conn_Test.cpp (spawn_threads): ACE_OS::perror takes a
wchar_t string on CE.
* tests/test_config.h (set_output): We should use non-unicode
version of ACE_OS::getenv to initialize test_dir on "regular"
UNICODE compilation. Thanks to Steve for reporting this.
Added more WinCE/UNICODE fixes.
Fri Jul 9 12:16:00 1999 Kirthika Parameswaran <kirthika@cs.wustl.edu>
* ace/Caching_Utility_T.cpp (minimum):
Modified minimum () of ACE_Recyclable_Handler_Utility class so
that the minimum value is also an entry which is purgable.
* tests/Cache_Map_Manager_Test.cpp:
SunC++4.0 compiler doesnt accept typedefs with templates and
having ::, for example: HASH_MAP::iterator. One has to typedef
HASH_MAP::iterator and use it to typedef something else. Fixed
this problem in the above test.
Fri Jul 9 11:39:40 1999 Douglas C. Schmidt <schmidt@tango.cs.wustl.edu>
* ace/Dirent.i: Added a pair of checks to open() and close()
to avoid double deletes. Thanks to Tom Arbuckle
<arbuckle@uran.informatik.uni-bonn.de> for pointing this out.
* ace/Reactor.i: For schedule_timer() and schedule_wakeup(),
make sure that the Event_Handler is assigned "this" Reactor
upon successful completion of the operation. Thanks to
Dirk Broer <Dirk.Broer@gsfc.nasa.gov> for suggesting this.
Fri Jul 9 11:10:23 1999 Steve Huston <shuston@riverace.com>
* include/makeinclude/platform_hpux_aCC.GNU: Re-suppress warning
829 on 10.x because there's an offending system header file.
* tests/test_config.h (ACE_Test_Output::set_output): Change test_dir
to be const because it's initialized with a string literal.
Fri Jul 9 10:52:45 1999 Kirthika Parameswaran <kirthika@cs.wustl.edu>
* ace/Caching_Utility_T.cpp (minimum): Checked the state of the
Refcounted_Hash_Address with ACE_Recyclable::IDLE_AND_PURGABLE.
Fri Jul 09 10:49:40 1999 David L. Levine <levine@cs.wustl.edu>
* tests/Message_Queue_Test.cpp (main): changed success
message from timed dequeue test to not contain "timedout",
because that trips run_tests.check.
Fri Jul 09 10:25:42 1999 Irfan Pyarali <irfan@cs.wustl.edu>
* ace/Shared_Memory_MM.h (ACE_Shared_Memory_MM): Changed the
filename parameter from a non-const string to a const string.
Thanks to Ulf Jaehrig <jaehrig@desys.com> for pointing out this
problem.
Fri Jul 09 03:31:34 1999 David L. Levine <levine@cs.wustl.edu>
* ace/Basic_Types.i: added const to each of the static casts.
Fri Jul 09 01:45:25 1999 Nanbor Wang <nanbor@cs.wustl.edu>
* bin/auto_compile_win32.pl: A lot of projects changed names
recently and thus the file was not working properly.
Thu Jul 8 23:15:06 1999 Alexander Babu Arulanthu <alex@cs.wustl.edu>
* Merging the "ami_phase3" branch on to the main branch. Change
was done to the CDR_Stream{h,i} files to add the method
<byte_order> to the CDR class. Other than that, no change was
done to ACE.
Thu Jul 08 22:15:50 1999 David L. Levine <levine@cs.wustl.edu>
* docs/ACE-guidelines.html: changed the perl magic that
goes at the top of every perl script, to pick up perl
from the users path. This new version works on HP/UX.
Thanks to Carlos for divining it.
Thu Jul 08 22:05:31 1999 David L. Levine <levine@cs.wustl.edu>
* ace/config-linux-common.h: added #define of
ACE_DEFAULT_BASE_ADDR to 0x40000000 on __powerpc__
only.
* ace/config-linuxppcr5.h: removed. LinuxPPC can
now use config-linux-lxpthreads.h.
* ACE-INSTALL.html: added LinuxPPC info.
Thanks to Andreas Tobler <a.tobler@schweiz.ch> for helping
to factor out the code from config-linuxppcr5.h.
Thu Jul 8 21:57:17 1999 Carlos O'Ryan <coryan@cs.wustl.edu>
* ace/Malloc_T.h:
* ace/Malloc_T.cpp:
Changed the Cached_Allocator class to use a char* as the memory
source.
It was allocated as char* and deallocated as a char*, but casted
to T* to use placement new; this was actually unneeded and
actually an error: the memory does not become a T* until
placement new is invoked on it. [BUGID:40]
Thu Jul 08 21:34:42 1999 David L. Levine <levine@cs.wustl.edu>
* ace/config-lynxos.h: on PowerPC, set
ACE_NEEDS_HUGE_THREAD_STACKSIZE to 32000, instead of
its apparent default of 15000. On both x86 and ppc,
#define ACE_MAP_FIXED to 0 and ACE_DEFAULT_BASE_ADDR to
0 to try to get the OS to always pick shared memory addresses.
Thanks to Dan Butler <daniel.g.butler@boeing.com> for
suggesting the use of ACE_NEEDS_HUGE_THREAD_STACKSIZE here.
* tests/Recursive_Mutex_Test.cpp (main): removed explicit
stack size setting, now that we're using
ACE_NEEDS_HUGE_THREAD_STACKSIZE on LynxOS/PPC.
Thu Jul 08 18:47:23 1999 Kirthika Parameswaran <kirthika@cs.wustl.edu>
* ace/Cached_Connect_Strategy_T.cpp:
Changed:
entry->ext_id_.state (ACE_Recyclable::IDLE);
to
entry->ext_id_.state (ACE_Recyclable::IDLE_AND_PURGABLE);
* ace/Caching_Utility_T.{h,cpp}:
Added ACE_Recyclable_Handler_Caching_Utility which takes care
that the svc_handler to be purged is in the IDLE_AND_PURGABLE
state.
Made method minimum () virtual.
* ace/Strategies.h:
Added IDLE_AND_PURGABLE and IDLE_BUT_NOT_PURGABLE states and
removed IDLE state from the enum. This change was necessary to
take care of AMI using the Mux Strategy.
* ace/Strategies_T.cpp (cache_i):
Made entry state ACE_Recyclable::IDLE_AND_PURGABLE.
* ace/Startegies_T.i (operator==):
Added checks for the ACE_Recyclable::IDLE_AND_PURGABLE and
ACE_Recyclable::IDLE_BUT_NOT_PURGABLE states.
Thanks to Irfan <irfan@cs.wustl.edu> of the DOC group for
helping with this.
Thu Jul 08 18:47:23 1999 Irfan Pyarali <irfan@cs.wustl.edu>
* tests/Cache_Map_Manager_Test.cpp: Simplified code and output.
Thu Jul 08 14:56:22 1999 David L. Levine <levine@cs.wustl.edu>
* ace/Basic_Types.{h,i} (ACE_U_LongLong): added operators
that take ACE_UINT32 arguments corresponding to each of
the operators that take ACE_U_LongLong & arguments. This
solves some more overload resolution ambiguities.
* ace/Stats.cpp: changed comparisons of ACE_U_LongLong with
ints to unsigned ints, to avoid overload resolution ambiguity.
Thu Jul 08 14:29:42 1999 David L. Levine <levine@cs.wustl.edu>
* ace/OS.i (gethrtime): cast ts.tv_nsec explicitly to
ACE_hrtime_t, instead of ACE_UINT32, to avoid overload
resolution ambiguity now that we have that ACE_U_LongLong
implicit conversion to ptr_arith_t.
Thu Jul 8 13:50:14 1999 Steve Huston <shuston@riverace.com>
* ace/Reactor_Impl.h (dispatch_notifications): Changed ACE_Handle_Set
arg from const to non-const. Fix in ACE_Select_Reactor_Notify
requires the ability to change the handle set.
* ace/WFMO_Reactor.{h cpp}: Corresponding removal of 'const' from
ACE_WFMO_Reactor_Notify::dispatch_notifications. Signature change
only - the function is a no-op in this class.
* ace/Select_Reactor_Base.{h cpp}: In ACE_Select_Reactor_Notify,
dispatch_notifications(), remove the notify pipe's handle from the
dispatch handle set when handling a notification. Else it remained
set and dispatchng I/O handlers came back and ran through it
again, which artificially increased the count of dispatched
handlers, and left some input unhandled when it was ready.
* tests/MT_Reactor_Timer_Test.cpp: Added some verification checks to
be sure that timer, notify, and input events all are handled at the
right time.
Thu Jul 08 12:35:23 1999 Nanbor Wang <nanbor@cs.wustl.edu>
* tests/test_config.h: Reorganized WinCE's macros and fix some
minor unicode problems.
Thu Jul 8 11:33:50 1999 Douglas C. Schmidt <schmidt@tango.cs.wustl.edu>
* Rebuilt the ACE+TAO.tar.gz file. For some reason, there
was a ^M at the end of each line! Thanks to Bruce Edge
<bedge@sattel.com> for reporting this.
* ace/Based_Pointer_Repository.cpp (unbind): Rearranged the
iterator code a bit to see if that'll make DEC C++ happy.
* ace/OS.h: Moved the ACE_MALLOC_ALIGN macro into OS.h.
* config-aix-4.x.h,
config-lynxos.h,
config-psos-diab-mips.h,
config-psos-diab-ppc.h,
config-psos-diab.h,
config-psos-tm.h,
config-psosim-g++.h,
config-sunos5.5.h:
Added the ACE_MALLOC_ALIGN macro back since it's used in
an ACE test program.
* ace/Malloc.cpp: Removed the trailing ';' on the #pragma
instantiate. Thanks to David Levine for reporting this.
Thu Jul 08 11:35:53 1999 David L. Levine <levine@cs.wustl.edu>
* ACE-INSTALL.html: added note about IP multicast support
with Tornado II/VxWorks 5.4. It's not enabled by default
in ACE.
Thu Jul 8 11:31:13 1999 Steve Huston <shuston@riverace.com>
* tests/Message_Queue_Test.cpp: Added a test to see the correct errno
is set for a timed-out dequeue operation.
Thu Jul 08 11:30:43 1999 David L. Levine <levine@cs.wustl.edu>
* ACE-INSTALL.html: added note about the uninitialized
variable warnings from (the old) egcs that is
distributed with Wind River's Tornado II.
* ace/config-linuxppcr5.h: use config-linux-lxpthreads.h
because thread support works.
* ace/config-linuxppcr5.h, config-linux-common.h: use an
ACE_DEFAULT_BASE_ADDR of 0x40000000, because that allows
Naming_Test to work.
With these two changes, all ACE tests pass on LinuxPPC.
Thanks to Andreas Tobler <a.tobler@schweiz.ch> for the
fixes and testing.
* ace/OS.h,Basic_Types.h: added ACE_U_LongLong conversion operator
to ptr_arith_t. Moved ptr_arith_t typedef from OS.h to
Basic_Types.h, so that it can be used by ACE_U_LongLong.
Thanks to Chris for helping to figure this out.
Thu Jul 8 08:34:22 1999 Steve Huston <shuston@riverace.com>
* ace/Log_Msg.cpp (log): Don't special-case the %t handling on AIX
4.3 - just 4.2 and earlier.
Thu Jul 8 00:23:02 1999 Douglas C. Schmidt <schmidt@tango.cs.wustl.edu>
* ace/Malloc_T.cpp: Updated all the methods that check
cp_ptr_ to return immediately if it's 0. Thanks to Dieter for
suggesting this.
* ace/Malloc.cpp (dump): Added a cast to trigger operator void
* for freep_ (which may be a smart pointer in some
configurations).
* ace/Based_Pointer_Repository: Revised the implementation of
this class to use the "Cheshire-Cat" technique to hide the
implementation to avoid circular #include dependencies.
* ace/Token.h (ACE_Token): Clarified that the timeouts are in
"absolute" time, not relative time. Thanks to Everett Anderson
<eea1@cs.wustl.edu> for reporting this.
* ace/config-win32-borland.h: Only enable
ACE_HAS_EXPLICIT_TEMPLATE_INSTANTIATION if we're running on
older versions of Borland. Thanks to Christopher Kohlhoff
<chris@kohlhoff.com> for reporting this.
Wed Jul 07 22:44:22 1999 David L. Levine <levine@cs.wustl.edu>
* tests/Recursive_Mutex_Test.cpp (main): added comment
explaining why the stack size is now set.
* tests/test_config.h: removed special ACE_MAX_PROCESSES
and ACE_MAX_THREADS values for LynxOS, because most
tests don't need them.
* tests/Process_Mutex_Test.cpp: use only 4 processes
instead of ACE_MAX_PROCESSES, on LynxOS only. Otherwise,
the test's ACE_LOG_MSG->op_status assertion fails.
* ACE-INSTALL.html: removed statements about some tests
failing on LynxOS/PPC. Just Naming_Test and
MM_Shared_Memory_Test fail now.
Wed Jul 07 19:51:00 1999 Chris Gill <cdgill@cs.wustl.edu>
* ace/config-ghs-common.h: removed use of native auto_ptrs, as they
implement an older specification which lacks the reset method.
Wed Jul 7 17:17:10 1999 Ossama Othman <othman@cs.wustl.edu>
* ace/ARGV.cpp (ACE_ARGV):
* ace/OS.cpp (ACE_OS_Recursive_Thread_Mutex_Guard):
* ace/Sched_Params.i (ACE_Sched_Priority_Iterator):
Added some class members to the member initializer lists to fix
some "Effective C++" warnings from EGCS.
Wed Jul 7 16:33:29 1999 Kirthika Parameswaran <kirthika@cs.wustl.edu>
* tests/Cached_Conn_Test.cpp (main): Added default testing of LRU,
LFU, FIFO caching strategies.
* tests/Cached_Conn_Test.cpp (parse_args):
* tests/Cache_Map_Manager_Test (parse_args):
Runtime selection of different caching strategies
(lru/lfu/fifo/null) made possible.
* Caching_Strategies_T.{i,cpp}:
Removed typos and also definied the virtual destructor for
ACE_Caching_Strategy.
* tests/Map_Manager_Test.cpp (test_cache_map_manager):
Added <null_caching_strategy> to the construction of
<cache_map_manager> and <hash_cache_map_manager> objects to make
it in sync with the changes made below.
Wed Jul 07 16:06:45 1999 David L. Levine <levine@cs.wustl.edu>
* tests/Recursive_Mutex_Test.cpp: explicitly set the
stack size. This solves the problem on LynxOS/PPC, below, so
the 65-iteration workaround was removed. Thanks to Doug for
this suggestion.
Wed Jul 7 13:27:53 1999 Douglas C. Schmidt <schmidt@tango.cs.wustl.edu>
* ace/config-win32-borland.h,
ace/config-win32.h: Added support for the ACE::major_versions(), etc.
for PC versions of ACE, as well as UNIX. Thanks to
Jeff Hellzen <jhellzen@my-deja.com> for suggesting this.
* ace: Added a new Based_Pointer_T.i file that inlines the
small methods.
* ace/Malloc[_T]: Cleaned up the code so that we can use the
ACE_Based_Pointer<> consistently when
ACE_HAS_POSITION_INDEPENDENT_MALLOC is enabled and disable.
* ace/Malloc.h: By default, ACE_MALLOC_PADDING is set to 1 so that
we don't get "divide by zero" errors. However, it's only used
in the computation of the ACE_Malloc_Header if it's > 1.
* config-aix-4.x.h,
config-lynxos.h,
config-psos-diab-mips.h,
config-psos-diab-ppc.h,
config-psos-diab.h,
config-psos-tm.h,
config-psosim-g++.h,
config-sunos5.5.h:
Removed the ACE_MALLOC_ALIGN macro since it should no longer
be necessary.
* ace/Malloc.h: Changed the use of macro ACE_MALLOC_ALIGN to
ACE_MALLOC_PADDING, which is more descriptive.
* Fixed a typo in the TAO-mail.html program where ace-*
should have been tao-*. Thanks to Pedro Alves Ferreira
<pedro.ferreira@inescn.pt> for reporting this.
* Fixed all vestiages of "BUG-REPORT-FORM" to say
"PROBLEM-REPORT-FORM." Thanks to Neil B. Cohen <nbc@cisco.com>
for reporting this.
Wed Jul 07 12:27:32 1999 David L. Levine <levine@cs.wustl.edu>
* ace/config-lynxos.h: added ACE_LACKS_FORK for PowerPC
only. This cleans up most of the remaining test problems
on LynxOS/PPC.
Wed Jul 07 11:26:06 1999 Nanbor Wang <nanbor@cs.wustl.edu>
* ace/Malloc_T.cpp: Added ASYS_TEXT macros.
Wed Jul 7 09:05:32 1999 Steve Huston <shuston@riverace.com>
* ace/Caching_Strategies_T.i (ACE_Caching_Strategy_Adapter<>::purge_
percent): Don't return a value from a void function.
Tue Jul 6 17:54:52 1999 Kirthika Parameswaran <kirthika@cs.wustl.edu>
* ace/Caching_Strategies_T.{h,i,cpp}: Added Abstract Base class
called ACE_Caching_Strategy and ACE_Caching_Strategy_Adaptor
which facilitate changing of caching strategies at runtime using
the External Polymorphism pattern.
* ace/Cached_Connect_Strategy_T.{h, cpp}: Changed the signature of
the constructor and also removed the <caching_strategy_> member.
* ace/Cache_Map_Manager_T.{h, cpp}:
* ace/Hash_Cache_Map_Manager_T.{h,cpp}:
Changed the signature of the constructor.This was needed to be
able to use the External Polymorphism pattern.
* tests/Cache_Map_Manager_Test.cpp:
* tests/Cached_Conn_Test.cpp:
Made necessary changes to reflect the changes above.
Thanks to Irfan of the DOC group for helping with this.
Tue Jul 6 17:34:52 1999 Steve Huston <shuston@riverace.com>
* ace/config-aix-4.x.h: Enabled ACE_HAS_PTHREADS_UNIX98_EXT and
removed ACE_LACKS_RWLOCK_T for AIX 4.3. Moved some other
ACE_LACKS settings to the pre-4.3 threads section to allow
taking advantage of more capability on AIX 4.3.
Tue Jul 06 16:29:32 1999 Nanbor Wang <nanbor@cs.wustl.edu>
* ace/OS.h: Moved the string conversion macros before including
OS.i because we also use them in the file. Thanks to Carlos for
reporting this.
* OS.{h,i,cpp}:
* Parse_Node.cpp: Windows CE fixes.
Tue Jul 06 15:56:19 1999 David L. Levine <levine@cs.wustl.edu>
* ace/ACE.h,Object_Manager.{h,cpp},OS.{h,cpp}
(ACE_Object_Manager*::init () and fini ()): return 1 instead
of -1 after the first call, per program invocation. Thanks
to Jody Hagins <jody@atdesk.com> for this suggestion.
Tue Jul 6 15:04:49 1999 Douglas C. Schmidt <schmidt@ace.cs.wustl.edu>
* ace/OS.i (sigwait): Fixed a problem with macro-itis and GCC. The
following macro
# if (__FreeBSD__ < 3) || defined (CHORUS) || defined (ACE_PSOS)
was always evaluating to true, even when we're not on FreeBSD!.
The following macro works around this:
# if (defined (__FreeBSD__) && (__FreeBSD__ < 3)) ||
defined (CHORUS) || defined (ACE_PSOS)
Thanks to Elias Sreih <sealstd1@nortelnetworks.com> for
reporting this and Carlos for suggesting the workaround.
Tue Jul 6 11:39:59 1999 Douglas C. Schmidt <schmidt@tango.cs.wustl.edu>
* ace/OS.i: Updated the comment for ACE_ADAPT_RETVAL to
clarify why it is needed. Thanks to Elias Sreih
<sealstd1@nortelnetworks.com> for motivating this clarification.
Tue Jul 6 10:42:02 1999 Nanbor Wang <nanbor@cs.wustl.edu>
* tests/test_config.h (ACE_INIT_LOG): Fixed a typo in VxWorks'
definition of ACE_INIT_LOG. Thanks to David for reporting
this.
Tue Jul 6 10:17:19 1999 Douglas C. Schmidt <schmidt@tango.cs.wustl.edu>
* include/makeinclude/ace_flags.bor: Removed an extraneous
"\orbsvcs". Thanks to Eugene Surovegin (surovegin@softlab.ru)
for reporting this.
Tue Jul 06 10:17:12 1999 David L. Levine <levine@cs.wustl.edu>
* bin/check_build_logs: use mhmail instead of mailx on Suns.
mailx loses the subject, when run from my cron job. Thanks
to Naga for reporting this.
Mon Jul 5 20:45:21 1999 Steve Huston <shuston@riverace.com>
* ace/OS.(h i): Added code for support of pthread suspend/resume and
pthreads reader-writer locks. These features are enabled by setting
the ACE_HAS_PTHREADS_UNIX98_EXT and removing ACE_LACKS_RWLOCK_T.
* ace/config-hpux11.h: Added ACE_HAS_PTHREADS_UNIX98_EXT and removed
ACE_LACKS_RWLOCK_T - this enables native reader/writer locks as well
as thread suspend and reusme.
* ace/README: Added ACE_HAS_PTHREADS_UNIX98_EXT.
* apps/JAWS/server/HTTP_Config.(h cpp):
* apps/JAWS/server/HTTP_Response.( h cpp): const-corrected char *.
Mon Jul 5 16:39:50 1999 Douglas C. Schmidt <schmidt@mambo.cs.wustl.edu>
* ACE-INSTALL.html: Updated the discussion to point out
our support for KAI C++ 3.3, Borland C++ Builder 4.0, and the
IBM VisualAge C++ compiler.
* ace/Future.h: Moved the static methods until the bottom
of the ACE_Future_Rep class to workaround a bug with Borland's
C++ Builder. Thanks to Christopher Kohlhoff
<chris@kohlhoff.com> for testing this fix.
* ace/Timer_Heap_T.cpp (grow_heap): Removed an extra memory
allocation that snuck in whilst integrating the IBM VisualAge
C++ compiler patches. Thanks to David Levine for reporting
this.
* Added new Borland Makefiles. Thanks to Christopher Kohlhoff
<chris@kohlhoff.com> for these.
* include/makeinclude: Added several new platform configuration
files for Borland C++ Builder. Thanks to Christopher Kohlhoff
<chris@kohlhoff.com> for these.
Mon Jul 5 13:08:36 1999 Kirthika Parameswaran <kirthika@cs.wustl.edu>
* tests/Cache_Map_Manager_Test.cpp: Added ACE_UNUSED_ARG macros
for <result> to ward off warnings.
Mon Jul 05 13:00:19 1999 Irfan Pyarali <irfan@cs.wustl.edu>
* ace/Malloc.i (free): Fixed unused arg warning for <ptr>.
* examples/Threads/future1.cpp:
* examples/Threads/future2.cpp:
Fixed template instantiations.
Mon Jul 5 12:25:11 1999 Carlos O'Ryan <coryan@cs.wustl.edu>
* ace/OS.i (strspn):
This function cannot return -1 to indicate errors, the function
returns an unsigned integral type.
Mon Jul 05 12:14:56 1999 Nanbor Wang <nanbor@cs.wustl.edu>
* ace/OS.i: Wchat_t version of strenvdup should only be available
on Win32. Thanks to Bala, Carlos, and David for noticing this.
(strspn): Ditto to this function.
Mon Jul 05 09:58:07 1999 David L. Levine <levine@cs.wustl.edu>
* ACE-INSTALL.html: in example config.h for VxWorks on NT,
use "" style #includes instead of <>. <> should only be
used for system headers.
Mon Jul 05 04:11:05 1999 Nanbor Wang <nanbor@cs.wustl.edu>
* tests/version_tests/Future_Set_Test.dsp:
* tests/version_tests/version_tests.dsw: Added Future_Set_Test
into version tests workspace.
* ace/ACE.cpp:
* ace/ACE.h:
* ace/DLL.cpp:
* ace/DLL.h:
* ace/Env_Value_T.h:
* ace/Env_Value_T.i:
* ace/FIFO.cpp:
* ace/FIFO.h:
* ace/FIFO.i:
* ace/FIFO_Recv.cpp:
* ace/FIFO_Recv.h:
* ace/FIFO_Recv_Msg.cpp:
* ace/FIFO_Recv_Msg.h:
* ace/FIFO_Send.cpp:
* ace/FIFO_Send.h:
* ace/FIFO_Send_Msg.cpp:
* ace/FIFO_Send_Msg.h:
* ace/FILE_Connector.i:
* ace/Filecache.cpp:
* ace/Get_Opt.cpp:
* ace/INET_Addr.cpp:
* ace/Local_Name_Space_T.cpp:
* ace/Log_Record.cpp:
* ace/Message_Queue_T.cpp:
* ace/Name_Proxy.cpp:
* ace/Naming_Context.cpp:
* ace/Naming_Context.h:
* ace/OS.cpp:
* ace/OS.h:
* ace/OS.i:
* ace/Parse_Node.cpp:
* ace/Parse_Node.h:
* ace/Proactor.cpp:
* ace/Process.cpp:
* ace/RB_Tree.cpp:
* ace/Registry_Name_Space.cpp:
* ace/Remote_Name_Space.cpp:
* ace/Remote_Name_Space.h:
* ace/Remote_Tokens.cpp:
* ace/Remote_Tokens.h:
* ace/Remote_Tokens.i:
* ace/SOCK_Dgram_Mcast.cpp:
* ace/SPIPE_Connector.cpp:
* ace/SV_Message_Queue.cpp:
* ace/SV_Semaphore_Simple.cpp:
* ace/SV_Shared_Memory.cpp:
* ace/Stats.cpp:
* ace/Stats.h:
* ace/Strategies_T.cpp:
* ace/Strategies_T.i:
* ace/Svc_Conf.h:
* ace/Svc_Conf.y:
* ace/Svc_Conf_y.cpp:
* ace/Token_Collection.cpp:
* ace/Token_Collection.h:
* ace/Token_Collection.i:
* ace/Token_Invariants.cpp:
* ace/Token_Invariants.h:
* ace/UPIPE_Acceptor.cpp:
* ace/UPIPE_Connector.cpp:
* ace/UPIPE_Connector.i:
* ace/WFMO_Reactor.cpp:
* ace/WIN32_Asynch_IO.cpp:
* ace/WIN32_Proactor.cpp:
* ace/config-win32-common.h:
* tests/CDR_Test.cpp:
* tests/Cache_Map_Manager_Test.cpp:
* tests/Collection_Test.cpp:
* tests/DLL_Test.cpp:
* tests/DLL_Test.h:
* tests/DLList_Test.cpp:
* tests/Dynamic_Priority_Test.cpp:
* tests/Env_Value_Test.cpp:
* tests/Handle_Set_Test.cpp:
* tests/High_Res_Timer_Test.cpp:
* tests/IOStream_Test.cpp:
* tests/MT_Reactor_Timer_Test.cpp:
* tests/Map_Manager_Test.cpp:
* tests/Map_Test.cpp:
* tests/Message_Queue_Test.cpp:
* tests/Naming_Test.cpp:
* tests/New_Fail_Test.cpp:
* tests/Pipe_Test.cpp:
* tests/Priority_Reactor_Test.cpp:
* tests/Process_Mutex_Test.cpp:
* tests/Process_Strategy_Test.cpp:
* tests/Process_Strategy_Test.h:
* tests/Reactor_Performance_Test.cpp:
* tests/SOCK_Connector_Test.cpp:
* tests/SPIPE_Test.cpp:
* tests/SV_Shared_Memory_Test.cpp:
* tests/Service_Config_Test.cpp:
* tests/Thread_Manager_Test.cpp:
* tests/Time_Service_Test.cpp:
* tests/Tokens_Test.cpp:
* tests/UPIPE_SAP_Test.cpp:
* tests/Upgradable_RW_Test.cpp:
* tests/test_config.h: Changes to make it possible to write pure
UNICODE programs on NT. Now it is possible to compile ACE on NT
with ACE_HAS_MOSTLY_UNICODE_APIS defined. Most tests passed
without trouble. However, Future_Set_Test is not yet included
in the version_tests and Dynamic_Priority_Test also
failed. Thanks to Valery Arkhangorodsky
<valerya@servicesoft.com> for providing a preliminary patch for
ACE to motivate the change.
Sun Jul 04 18:57:13 1999 David L. Levine <levine@cs.wustl.edu>
* ACE-INSTALL.html: when building tao_idl on NT to be
used for generating code for VxWorks, build without
ACE_HAS_EXCEPTIONS. Otherwise, TAO_IDLFLAGS must
be overridden to be null instead of -Ge 1. Thanks to
Carlos for this suggestion.
Sun Jul 4 17:06:17 1999 Douglas C. Schmidt <schmidt@tango.cs.wustl.edu>
* tests/Notify_Performance_Test.cpp,
tests/Message_Block_Test.cpp,
tests/Priority_Task_Test.cpp,
tests/Thread_Pool_Reactor_Test.cpp: Fixed a couple of
warnings related to initializing char *'s with const char *'s.
Thanks to SunC++ 5.0 for reporting this.
Sun Jul 04 16:07:33 1999 David L. Levine <levine@cs.wustl.edu>
* ACE-INSTALL.html: updated instructions for building on
NT host for VxWorks.
Sun Jul 04 15:41:34 1999 David L. Levine <levine@cs.wustl.edu>
* many Makefiles: call ace_components via sh, instead of
directly in the make $(shell) command. This allows it
to work on platforms that don't have /bin/sh, such as NT.
Sun Jul 4 12:34:24 1999 Douglas C. Schmidt <schmidt@tango.cs.wustl.edu>
* ace/Timer_Hash_T.cpp (cancel): Reversed a comparison from
<= to > to make the ACE_ASSERT replacement work properly.
Thanks to David Levine for reporting this.
* tests/Thread_Pool_Test.cpp (open): We need to define 'int i'
outside of the for loop to keep EGCS from complaining for some
reason.
* ace/Timer_Heap_T.cpp: Reformatted this code to conform to
the ACE programming guidelines.
* ace/Timer_Heap_T.cpp (schedule): Replaced an ad hoc check for
allocator failure with the ACE_ALLOCATOR_RETURN macro.
* ace/RB_Tree.cpp: Modified Carlo's change so that we add an
extra set of parens in a special way, rather than using a new
macro. This is more consistent with how we deal with this
problem in other parts of ACE.
* ace/RB_Tree.cpp (insert_i): Removed an unreachable statement.
Thanks to David Levine for reporting this.
Sat Jul 3 22:12:07 1999 Carlos O'Ryan <coryan@cs.wustl.edu>
* ace/Object_Manager.cpp (get_singleton_lock):
Fixed one of the ACE_Thread_Mutex version of this method. One of
the braces after an if() statement got "accidentaly" removed;
binding the "else" part of the statement to the previous if()
instead.
Sat Jul 3 18:54:18 1999 Carlos O'Ryan <coryan@cs.wustl.edu>
* ace/RB_Tree.cpp:
If the "constructor" parameter in an ACE_NEW_RETURN macro has a
comma in it (such as Foo(x,y,z)) we need to replace it with a
macro, so it is seen as a single token by the pre-processor.
Otherwise it (the pre-processor) gets confused and uses
the comma as separator. Thanks to David for detecting this one.
Sat Jul 3 15:57:40 1999 Carlos O'Ryan <coryan@cs.wustl.edu>
* ace/SOCK_Dgram_Mcast.cpp:
Fixed error code return, it should be -1 not ACE_INVALID_HANDLE
* ace/SOCK_Connector.cpp:
Fixed stray comment characters.
Sat Jul 03 14:04:10 1999 David L. Levine <levine@cs.wustl.edu>
* ace/Makefile: call ace_components via sh, and use single
instead of double quotes, so that it works with Cygwin
on NT host.
Sat Jul 3 12:05:46 1999 Douglas C. Schmidt <schmidt@tango.cs.wustl.edu>
* ace/SOCK_Dgram_Mcast: Modified the subscribe() method to return
0 or -1 rather than ACE_HANDLE. Thanks to Vidya Narayanan
<CVN065@lmpsil02.comm.mot.com> for suggesting this.
* ace/SOCK_Acceptor,
ace/SOCK_Connector,
ace/SOCK: Added the ACE_Protocol_Info *, ACE_SOCK_GROUP, and
flags parameters to these classes so we can pass down the GQoS
information. Thanks to Vidya Narayanan
<CVN065@lmpsil02.comm.mot.com> for suggesting this.
* ace/SOCK.h: Added the reuse_addr parameter to open() and the
ACE_SOCK constructor.
* tests/Future_Set_Test.cpp (main): We were casting a
const ASYS_TCHAR * to u_int, yikes!
* ace/RB_Tree.cpp: Cleaned up the code so it's conformant with the
ACE programming style, particularly for dynamic memory
allocation (which wasn't using ACE_NEW).
* ace/ACE.cpp (get_ip_interfaces): Cleaned up the code so it conforms
to the ACE programming guidelines.
* ace/Timer_Hash_T.cpp: Fixed a number mistakes where the return
value of new wasn't being checked.
* ace/Timer_Heap_T.cpp,
ace/Timer_Wheel_T.cpp: Removed the apparently extraneous parens
used in the ACE_NEW* macros in order to keep EGCS 2.95 happy.
Thanks to Jody Hagins and Arturo Montes
<mitosys@colomsat.com.co> for reporting this. BTW, if this
causes problems on any compilers please let me know.
* ace: Reformatted all the ACE_NEW* macros so they conform to
ACE programming style.
* ace/Priority_Reactor.cpp: Cleaned up the code to conform to
the ACE programming style.
* ace/OS.cpp (tss_base): Cleaned up a loop a bit so it conforms
to the ACE programming style.
Sat Jul 3 11:09:51 1999 Alexander Babu Arulanthu <alex@cs.wustl.edu>
* ace/WIN32_Asynch_IO.cpp
* ace/WIN32_Proactor.cpp
Addressed Doug's @@ Alex comments. It was simply making some
debug statements conditional upon ACE::debug () flag.
Fri Jul 2 19:50:29 1999 Douglas C. Schmidt <schmidt@tango.cs.wustl.edu>
* ace/OS.h: There was a typo in the ACE_WIN32CALL_RETURN() macro
for Borland C++. Thanks to Jody Hagins <jody@atdesk.com> for
reporting this.
* ace/config-win32-borland.h: Clarified the fact that this file
shouldn't be #included directly. Thanks to Thaddeus Olczyk
<olczyk@interaccess.com> for motivating this.
Fri Jul 02 22:22:12 1999 Steve Huston <shuston@riverace.com>
* ace/config-hpux-11.x-hpc++.h: Added
ACE_HAS_STD_TEMPLATE_METHOD_SPECIALIZATION for aC++.
* include/makeinclude/platform_hpux_aCC.GNU: Removed the suppression
of warning 829 (auto convert of string literal to char * deprecated).
With the exception of some JAWS code, all of ACE has been rid of the
offenders.
* websvcs/tests/Makefile: Replace VLDLIBS with correct LDLIBS. Now
works on AIX.
Fri Jul 2 19:37:16 1999 Carlos O'Ryan <coryan@cs.wustl.edu>
* tests/Future_Test.cpp:
The timeout variable was declared in one scope but used in
another one. Added another timeout variable to keep it happy.
* tests/Message_Queue_Test.cpp:
A pointer was initialize using "0x" i think it was a typo and
should be "0".
Fri Jul 02 18:28:31 1999 Steve Huston <shuston@riverace.com>
* ace/config-hpux11.h: Added ACE_HAS_BROKEN_T_ERROR.
Enable threads by default, unless site config explicitly turns it
off by setting ACE_HAS_THREADS to 0. Thanks to Brian Wallis
<Brian.Wallis@sr.com.au> for motivating this change.
* ace/config-hpux-11.x-hpc++.h: Added
ACE_HAS_STD_TEMPLATE_SPECIALIZATION.
* include/makeinclude/platform_hpux_aCC.GNU: If on 11.00 and the
user requests a build w/o threads, set ACE_HAS_THREADS to 0 to
override the config default (see config-hpux11.h, above).
Fri Jul 2 11:49:12 1999 Kirthika Parameswaran <kirthika@cs.wustl.edu>
* tests/Cached_Conn_Test.cpp: This is a test which shows how the
Strategy Connector can automagically as well as explicitly cache
and purge connection from its connection cache using different
caching strategies.
* ace/Cached_Connect_Strategy_T.{h, cpp}: Added a method
"purge_connections ()" which allows explicit purging of
connnections from the connection cache.
Fri Jul 2 13:54:14 1999 Douglas C. Schmidt <schmidt@tango.cs.wustl.edu>
* ace/Future_Set.cpp,
ace/Future.cpp: Added ACE_TYPENAME at a couple of places
to make HP/UX aCC happy. Thanks to Eric Mitchell
<emitchell@altaira.com> for reporting this.
* ace/SOCK_Dgram: Added send() and recv() methods that take
ACE_OVERLAPPED structures. Thanks to Vidya Narayanan
<CVN065@lmpsil02.comm.mot.com> for suggesting this.
* ace/OS.h: Added an ACE_OVERLAPPED_FLAG that's used to abstract
away from the WSA_FLAG_OVERLAPPED macro on Win32. Thanks to
Vidya Narayanan <CVN065@lmpsil02.comm.mot.com> for suggesting
this.
* ace/OS.cpp: Removed unnecessary ';' after ACE_BEGINTHREADEX() and
ACE_ENDTHREADEX(). Thanks to Kris Johnson
<kjohnson@gardnersys.com> for reporting this.
* ace/Service_Config.cpp (open_i): It appears that
if (ACE::debug ())
ACE_Log_Msg::disable_debug_messages ();
should really be
if (ACE::debug () == 0)
ACE_Log_Msg::disable_debug_messages ();
Thanks to Jonathan Reis <reis@minniemouse.cemax.com> for
reporting this.
* tests/Future_Test.cpp (main): Make sure to use absolute time
rather than relative time for the timeouts. Thanks to Peter
Brandstrom <peter.brandstrom@ericsson.com> for reporting this.
Fri Jul 02 13:44:17 1999 Irfan Pyarali <irfan@cs.wustl.edu>
* tests/Thread_Pool_Reactor_Test.cpp (worker): Added const fix to
<msg> and <rendezvous>.
* tests/Priority_Task_Test.cpp: Added const fix to <usage>.
* tests/Notify_Performance_Test.cpp (print_results): Added const
fix to <reactor_type>.
* tests/Message_Block_Test.cpp: Added const fix to <name_>.
Fri Jul 2 11:49:12 1999 Irfan Pyarali <irfan@cs.wustl.edu>
* Initialized some variables to zero to avoid some silly warnings
from egcs (with exceptions):
- ace/Free_List.cpp
- ace/Malloc.i
- tests/DLL_Test.cpp
- tests/Mem_Map_Test.cpp
- tests/Message_Queue_Test.cpp
- tests/Reactor_Notify_Test.cpp
Fri Jul 2 11:49:12 1999 Kirthika Parameswaran <kirthika@cs.wustl.edu>
* ace/Strategies_T.h (ACE_Cached_Connect_Strategy): Made "virtual"
methods which were getting overriden in the derived
Cached_Connect_Strategy_Ex class.
* ace/Cached_Connect_Strategy_T.{h, cpp}: Added a method
"purge_connections ()" which allows explicit purging of
connnections from the connection cache.
* tests/Cached_Conn_Test.cpp: This is a test which shows how the
Strategy Connector can automagically as well as explicitly cache
and purge connection from its connection cache using different
caching strategies.
Fri Jul 2 11:49:12 1999 Kirthika Parameswaran <kirthika@cs.wustl.edu>
* tests/Cached_Conn_Test.cpp: This is a test which shows how the
Strategy Connector can automagically as well as explicitly cache
and purge connection from its connection cache using different
caching strategies.
* ace/Cached_Connect_Strategy_T.{h, cpp}: Added a method
"purge_connections ()" which allows explicit purging of
connnections from the connection cache.
Fri Jul 02 11:50:21 1999 Steve Huston <shuston@riverace.com>
* ace/ace_lib.dsp: Added Pharlap ETS configurations for Debug and
Release.
* ace/config-pharlap.h: Added ACE_LACKS_* definitions to avoid some
unimplemented memory mapped things. Added a definition for
ACE_PAGE_SIZE because it's not obvious how to get it at run time.
Include <embkern.h> because some of the OS functions call ETS
kernel functions for low-level system info gathering.
Set ACE_HAS_TSS_EMULATION. The PharLap TSS leaves some to be
desired, according to TSS_Test.
* ace/config-win32-common.h: In building for PharLap, don't bring in
the OS-supplied wsock32.lib - need to use the PharLap one.
* ace/ACE.cpp: PharLap ETS changes:
ACE::ldfind: PharLap doesn't have expand environment strings.
ACE::get_ip_interfaces: Use PharLap kernel functions to find
interfaces and learn their addresses.
ACE::terminate_process: Unsupported on PharLap.
ACE::handle_timed_open: If the open times out, set errno to
ETIMEDOUT, not ETIME.
ACE::handle_timed_accept: If the select times out, set errno to
ETIMEDOUT, not ETIME.
ACE::sock_error: If not a known error, format a message with the
error number in it - this is the only chance for a PharLap
system error to indicate the error number.
* ace/OS.h: Changed def of ACE_DEFAULT_SERVER_HOST to ACE_LOCALHOST.
* ace/OS.cpp (ACE_OS::uname): PharLap: Use ETS kernel functions to get
target processor class. PharLap doesn't do GetSystemInfo.
* ace/OS.i (ACE_OS::hostname): PharLap: Attempt gethostname if using
RT version, though this isn't too reliable (requires ethernet and
BOOTP).
(ACE_OS::dlerror): PharLap doesn't support FormatMessage,
so format the error number.
(ACE_OS::mmap, ACE_OS::mprotect, ACE_OS::msync): PharLap doesn't
do memory-mapped files.
(ACE_OS::getpagesize): PharLap - use page size set from config.h.
Don't know a way to get this info at run time.
(ACE_OS::hostname (whar_t *, size_t)): PharLap - no wide chars.
* ace/Log_Msg.cpp (log): PharLap doesn't do FormatMessage, so print
<unknown error> = %d for %p.
* ace/Pipe.cpp (open): The protocol level for TCP_NODELAY on PharLap
is SOL_SOCKET, as opposed to Win32, where it's IPPROTO_TCP.
* ace/SPIPE_Connector.cpp (connect): PharLap doesn't have the
SetNamedPipeHandleState function.
* ace/WFMO_Reactor.cpp: PharLap ETS changes, because PharLap doesn't
implement async I/O, or WaitForMultipleObjectsEx.
register_handler_i: (This is a general Winsock 1.1 change) Creating
an event handle for a socket is not supported.
ok_to_wait, wait_for_multiple_events: Use WaitForMultipleObjects,
not WaitForMultipleObjectsEx. Should be fine since the big
difference is alertable, and that's not supported on ETS anyway.
* tests/test_config.h: On PharLap, direct all logging to host console.
* tests/tests_pharlap_msvc.lnk: Cleaned things up; extended stack size
from 8K to 32K. Change the starting load offset to
0x100000 - the tests don't all fit in the default range.
Disabled the target screen driver to make all the test output from
all threads go to the host, thereby getting saved in the log files.
* tests/run_pharlap_tests.bat: Fixed names of the executables.
* tests/Atomic_Op_Test.dsp:
* tests/Barrier_Test.dsp:
* tests/Basic_Types_Test.dsp:
* tests/Buffer_Stream_Test.dsp:
* tests/CDR_Test_Test.dsp:
* tests/Collection_Test.dsp:
* tests/Conn_Test.dsp:
* tests/DLList_Test.dsp:
* tests/Dynamic_Priority_Test.dsp:
* tests/Enum_Interfaces_Test.dsp:
* tests/Env_Value_Test.dsp:
* tests/Future_Test.dsp:
* tests/Handle_Set_Test.dsp:
* tests/Hash_Map_Manager_Test.dsp:
* tests/High_Res_Timer_Test.dsp:
* tests/IOStream_Test.dsp:
* tests/Map_Manager_Test.dsp:
* tests/Map_Test.dsp:
* tests/Mem_Map_Test.dsp:
* tests/Message_Block_Test.dsp:
* tests/Message_Queue_Notifications_Test.dsp:
* tests/Message_Queue_Test.dsp:
* tests/MM_Shared_Memory_Test.dsp:
* tests/MT_Reactor_Timer_Test.dsp:
* tests/MT_SOCK_Test.dsp:
* tests/Naming_Test.dsp:
* tests/New_Fail_Test.dsp:
* tests/Notify_Performance_Test.dsp:
* tests/OrdMultiSet_Test.dsp:
* tests/Pipe_Test.dsp:
* tests/Priority_Buffer_Test.dsp:
* tests/Priority_Reactor_Test.dsp:
* tests/Priority_Task_Test.dsp:
* tests/Process_Mutex_Test.dsp:
* tests/Process_Strategy_Test.dsp:
* tests/RB_Tree_Test.dsp:
* tests/Reactor_Exceptions_Test.dsp:
* tests/Reactor_Notify_Test.dsp:
* tests/Reactor_Performance_Test.dsp:
* tests/Reactor_Timer_Test.dsp:
* tests/Reactors_Test.dsp:
* tests/Reader_Writer_Test.dsp:
* tests/Recursive_Mutex_Test.dsp:
* tests/Reverse_Lock_Test.dsp:
* tests/Semaphore_Test.dsp:
* tests/Service_Config_Test.dsp:
* tests/Sigset_Ops_Test.dsp:
* tests/Simple_Message_Block_Test.dsp:
* tests/SOCK_Connector_Test.dsp:
* tests/SOCK_Send_Recv_Test.dsp:
* tests/SOCK_Test.dsp:
* tests/SPIPE_Test.dsp:
* tests/SString_Test.dsp:
* tests/SV_Shared_Memory_Test.dsp:
* tests/Svc_Handler_Test.dsp:
* tests/Task_Test.dsp:
* tests/Thread_Manager_Test.dsp:
* tests/Thread_Mutex_Test.dsp:
* tests/Thread_Pool_Reactor_Test.dsp:
* tests/Thread_Pool_Test.dsp:
* tests/Time_Service_Test.dsp:
* tests/Time_Value_Test.dsp:
* tests/Timeprobe_Test.dsp:
* tests/Timer_Queue_Test.dsp:
* tests/Tokens_Test.dsp:
* tests/TSS_Test.dsp:
* tests/Upgradeable_RW_Test.dsp:
* tests/UPIPE_SAP_Test.dsp:
Fixed settings for PharLap ETS configurations.
* tests/Conn_Test.cpp (server): If the acceptor fails, do not try to
close the svc_handler - the failed ACE_Oneshot_Acceptor already
closed it.
* tests/SOCK_Send_Recv_Test.cpp: Use ACE_LOCALHOST, not "localhost".
Thu Jul 1 21:49:39 1999 Matthew J Braun <mjb2@cs.wustl.edu>
* ace/Containers_T.i,h,cpp
Added reset () methods to the derived classes of
ACE_Double_Linked_List_Iterator because the behavior of the base
class's version was not sufficient (and would cause way fun
segfaults when used).
* tests/Map_Manager_Test.cpp
* tests/DLList_Test.cpp
ACE_const_cast'ed some string literals to char *'s to appease
the evil monstrosity that is SC 5.0.
Wed Jun 30 18:11:41 1999 Ossama Othman <othman@cs.wustl.edu>
* ace/OS.i (strncasecmp):
Corrected ACE_TRACE statement to contain "strncasecmp" instead
of "strcasecmp."
Thu Jul 01 21:07:22 1999 Douglas C. Schmidt <schmidt@cs.wustl.edu>
* ACE version 4.6.43 released.
Thu Jul 01 10:53:33 1999 David L. Levine <levine@cs.wustl.edu>
* include/makeinclude/platform_vxworks5.x_ghs.GNU:
set INCLDIRS, so that wrapper_macros.GNU doesn't insert -I.
Otherwise, with GHS on NT host, ACE's Signal.h gets #included
instead of VxWorks' signal.h by target/h/private/sigLibP.h.
Thanks to Dale Wood <dale_wood@Mitel.com> and
Dave Steele <Dave_Steele@Mitel.COM> for helping to figure
this out.
Thu Jul 01 10:53:33 1999 David L. Levine <levine@cs.wustl.edu>
* include/makeinclude/platform_vxworks5.x_g++.GNU,
bin/ace_ld: changed -c option to -C [...] --, so
that its arguments don't need to be quoted. I
couldn't figure out a way to quote on NT host. Thanks
to Dale Wood <dale_wood@Mitel.com> for enlightening me
on some of the intricacies of NT.
Thu Jul 01 10:47:41 1999 David L. Levine <levine@cs.wustl.edu>
* bin/libsize.pl: always use `pwd`, because the PWD environment
variable doesn't appear to get updated by recursive makes.
Thu Jul 01 08:46:10 1999 David L. Levine <levine@cs.wustl.edu>
* bin/check_build_logs: filter out lines from IDL_Cubit
that contain "0 errors".
Thu Jul 01 00:24:52 1999 Nanbor Wang <nanbor@cs.wustl.edu>
* docs/ACE-guidelines.html: Added a table explaining how to use
all the different ACE_*_STRING macros.
* tests/DLList_Test.cpp:
* tests/Hash_Map_Manager_Test.cpp:
* tests/Map_Manager_Test.cpp:
* tests/Message_Block_Test.cpp:
* tests/Notify_Performance_Test.cpp:
* tests/Priority_Task_Test.cpp:
* tests/Thread_Pool_Reactor_Test.cpp:
* tests/test_config.h: UNICODE fixes. The usage of ASYS_TCHAR and
LPCTSTR were mistaken in many places.
Wed Jun 30 16:13:58 1999 Irfan Pyarali <irfan@cs.wustl.edu>
* tests/Future_Set_Test.cpp: Added missing template instantiation
for ACE_Hash_Map_Reverse_Iterator_Ex. Also, added some fixes
from John Tucker <jtucker@infoglide.com>.
Wed Jun 30 12:09:22 1999 Nanbor Wang <nanbor@cs.wustl.edu>
* ace/ace_bcc.ide:
* tests/tests_bcc.ide:
* *.{bpr,bpg}: Removed unused BCB project files.
Tue Jun 29 23:12:58 1999 Carlos O'Ryan <coryan@cs.wustl.edu>
* ace/OS.i:
Use ACE_CAST_CONST to keep the silly Sun/CC 4.2 from
complaining.
Tue Jun 29 22:48:43 1999 Irfan Pyarali <irfan@cs.wustl.edu>
* ace/OS.i (strncasecmp): Changed <n> to <len>.
Tue Jun 29 22:33:55 1999 Carlos O'Ryan <coryan@cs.wustl.edu>
* ace/OS.i:
Fixed warnings in green hills and possibly othre EDG-based
compilers.
* tests/run_tests.sh:
* tests/run_tests.vxworks:
Take Future_Set_Test out, it does not work in too many
platforms.
Tue Jun 29 21:24:13 1999 Douglas C. Schmidt <schmidt@tango.cs.wustl.edu>
* ace/SOCK.cpp (open): Removed an unused variable. Thanks
to Carlos for reporting this.
Tue Jun 29 20:53:41 1999 Carlos O'Ryan <coryan@cs.wustl.edu>
* ace/config-irix5.3-g++.h:
IRIX 5.3 (!) has a DIRENT structure, thanks to Isaac Stoddard
<i_stoddard@hso.link.com> for providing this fix.
Tue Jun 28 20:19:11 1999 Darrell Brunsch <brunsch@cs.wustl.edu>
* ace/ace_dll.dsp:
* ace/ace_lib.dsp:
Manually cleaned up these projects and fixed them so they should
work on NT Alpha again.
Tue Jun 29 18:48:22 1999 Irfan Pyarali <irfan@cs.wustl.edu>
* ace/Functor_T.h (class ACE_Pointer_Hash): Added new class for
hashing pointers on their values.
* ace/Future_Set: Restored future map to be a
ACE_Hash_Map_Manager_Ex.
Tue Jun 29 14:45:38 1999 Irfan Pyarali <irfan@cs.wustl.edu>
* tests/run_tests.bat: Removed New_Fail_Test from the
run_tests.bat (the script for NT). This tests takes too long to
run and swaps out the entire machine making is impossible to do
useful things while the test is running. Note that the test is
still there and can be run by hand (i.e., on its own, without
the run_tests.bat script).
* ace/Future: Changed the observer collection to be an unbounded
set and changed the future map to map manager. These are
temporary changes to get things compiling again. Once we figure
out the correct hashing functions, we can restore the original
code.
Tue Jun 29 13:38:52 1999 Ossama Othman <othman@cs.wustl.edu>
* AUTHORS:
Added an AUTHORS file to bring ACE closer to recent software
distribution conventions.
* Makefile:
Added Carlos' websvcs directory to the release, in addition to
the missing top-level ACE Configuration project files and
directories.
* config.guess:
* config.sub:
* ltconfig:
* ltmain.sh:
* missing:
* mkinstalldirs:
Updated from latest GNU libtool and GNU automake.
Tue Jun 29 12:07:08 1999 Ossama Othman <othman@cs.wustl.edu>
* README:
* THANKS:
Moved list of contributors to the file `THANKS' to bring the
distribution closer to conventional distribution standards.
* Makefile:
Added the THANKS file to the list of controlled files so that it
gets distributed with ACE.
Tue Jun 29 11:27:23 1999 Matthew J Braun <mjb2@cs.wustl.edu>
* ace/Containers_T.i: Modified next method in ACE_DLList_Iterator
to avoid segfaults (a bad thing).
Tue Jun 29 10:54:15 1999 Carlos O'Ryan <coryan@cs.wustl.edu>
* ace/OS.i:
Sun/CC was not pleased with a cast from "void* const" to "const
char*", and rightly so.
Tue Jun 29 09:21:06 1999 Carlos O'Ryan <coryan@cs.wustl.edu>
* ace/OS.h:
* ace/OS.i:
* ace/SOCK_Dgram.h:
* ace/SOCK_Dgram.i:
Fixed the unix version ACE_OS::sendto() call.
Also fixed the Win32 version and the Win32 version of
ACE_OS::recvfrom, had to change the signatures to make them safe
and fit the WinSock2 interfaces.
Tue Jun 29 07:07:30 1999 David L. Levine <levine@cs.wustl.edu>
* bin/check_build_logs: allow _ with -l and -m options, and
@ and . with -m option.
Mon Jun 28 21:31:58 1999 Douglas C. Schmidt <schmidt@tango.cs.wustl.edu>
* ace/OS: Added a constructor to ACE_Flow_Spec to initialize
its various fields wholesale. Thanks to Kumar Surender
<csk037@lmpsil02.comm.mot.com> for this suggestion.
* ace/SOCK: Added a new constructor and a new open() method
that pass through the QoS information required by WSASocket().
* ace/{OS,SOCK_Connector,SOCK_Dgram,SOCK_Dgram_Mcast}: Renamed
ACE_Connect_QoS_Params to ACE_QoS_Params since (1) it's used in
ACE_OS::connect() *and* ACE_OS::join_leaf() and (2) it's used
for Dgrams, which aren't connection oriented. Thanks to Kumar
Surender <csk037@lmpsil02.comm.mot.com> for this suggestion.
* ace/OS: Added set/get methods for time-to-live on the
ACE_Flow_Spec classes. This is necessary since RAPI defines
this.
* ace/OS: Added a new ACE_OS::recvfrom() method that's a wrapper
for the WSARecvFrom() on Win32 and (will be) an "emulation" on
non-Win32 platforms.
* ace/OS: Added a new ACE_OS::sendto() method that's a wrapper
for the WSASendTo() on Win32 and an "emulation" on non-Win32
platforms.
* ace/OS.h: Updated the QoS documentation to clarify that these
features are appropriate for IntServ (RSVP) *and* DiffServ.
Thanks to Kumar Surender <csk037@lmpsil02.comm.mot.com>, Vidya
Narayanan <CVN065@lmpsil02.comm.mot.com> and Pradeep Avasthi
<Pradeep.Avasthi@motorola.com> suggesting this.
* ace/SOCK_Dgram.h: Added send() and recv() methods for
ACE_SOCK_Dgram that take overlapped I/O parameters. This is
needed for the GQoS WinSock API.
Mon Jun 28 21:53:06 1999 David L. Levine <levine@cs.wustl.edu>
* bin/libsize.pl: added support for liborbsvcs, and
for shared libs (with -s option).
* bin/check_build_logs: fixed command-line argument processing.
Mon Jun 28 17:30:08 1999 Nanbor Wang <nanbor@cs.wustl.edu>
* ace/OS.i (recvv): We must not passed a null pointer to <flags>
but a pointer pointing to a real flag. This fixed the
SOCK_Send_Recv_Test failing on NT problem. Thanks to Jody
Hagins <jody@atdesk.com> for reporting this.
Mon Jun 28 15:10:50 1999 Irfan Pyarali <irfan@cs.wustl.edu>
* ace/Strategies_T: Removed ACE_Hash_Addr which was no longer used
in ACE and is not necessary given the new
ACE_Hash_Map_Manager_Ex class.
Mon Jun 28 15:00:01 1999 Carlos O'Ryan <coryan@cs.wustl.edu>
* ace/CDR_Stream.h:
* ace/CDR_Stream.cpp:
Added new method to reset the state of a CDR stream without need
for any memory allocations.
Mon Jun 28 12:48:35 1999 David L. Levine <levine@cs.wustl.edu>
* bin/check_build_logs: added this script, which checks build
logs named *.log, of current day.
Mon Jun 28 09:32:59 1999 Douglas C. Schmidt <schmidt@tango.cs.wustl.edu>
* ace/{Future_Set,Future}: Integrated new enhancements to use
the ACE_Hash_Map_Manager rather than the ACE_DLL_Linked_List to
speed up notifications for the Future Set. Thanks to John
Tucker <jtucker@infoglide.com> for this enhancement.
* tests: Integrated the Future_Set_Test into this directory and the
various batch files. Thanks to John Tucker
<jtucker@infoglide.com> for this test.
* ace/Map_Manager.i: Added an ACE_const_cast to the lock_ used
in the newly const total_size() and current_size() methods.
* ace/Map_T,
* ace/Map_Manager,
* ace/Cache_Map_Manager_T,
* ace/Active_Map_Manager_T,
* ace/Hash_Map_Manager_T: The current_size() and total_size() methods
must be const.
* ace/OS.i: Fixed a type inconsistency where wchar_t should have been
char and added a missing ';'.
* ace/OS.i: Fixed a typo where last_error should have been
lerror. Thanks to Chris Gill for reporting this.
* ace/OS.cpp (ACE_BEGINTHREADEX): Oops, mistyped "_beginthreadex()"
as "_beingthreadex()". I must be going through an existential
phase ;-). Thanks to Chris Gill for reporting this.
* ace/OS.i: Fixed a typo where last_error should have been
lerror. Thanks to Chris Gill for reporting this.
* ace/OS.cpp (ACE_BEGINTHREADEX): Oops, mistyped "_beginthreadex()"
as "_beingthreadex()". I must be going through an existential
phase ;-). Thanks to Chris Gill for reporting this.
Sun Jun 27 18:03:24 1999 Douglas C. Schmidt <schmidt@danzon.cs.wustl.edu>
* ACE-INSTALL.html: Updated the discussion for Borland C++
Building 4.0 and IBM's VisualAge C++ compiler to reference the
appropriate maintainers.
* ace/WIN32_Proactor.cpp, ace/WIN32_Asynch_IO.cpp: Added back some
initializers to keep EGCS happy.
* ace/config-g++-common.h: Added ACE_LACKS_AUTO_PTR to work around
an omission within the EGCS standard library.
* ace/Auto_Ptr.h: If ACE_LACKS_AUTO_PTR is enabled then use our
version of auto_ptr. This is necessary to work around problems
with EGCS.
* ace/config-g++-common.h: Define ACE_HAS_STANDARD_CPP_LIBRARY so
that #include <exception> will work properly. However, this
required that we also set ACE_USES_OLD_IOSTREAMS, as well.
Thanks to Carlos for help with this.
* ace/config-g++-common.h: The EGCS 1.1.1 compiler supports the
template<> syntax. If this breaks older EGCS or GCC compilers
we'll have to handle each of those cases.
* ace/config-win32-borland.h:
Added ACE_HAS_STD_TEMPLATE_METHOD_SPECIALIZATION.
* ace/OS.h: Replaced the const's for ACE_DEFAULT_SHLIB_MODE and
ACE_SHLIB_INVALID_HANDLE with #defines since it's more portable.
* ace/OS.i: All the strcasecmp() and strncasecmp() methods were
broken. Thanks to David Levine for reporting this.
* ace/WFMO_Reactor.cpp: Updated the programming style a bit to
conform to the ACE guidelines.
Sun Jun 27 20:50:02 1999 Douglas C. Schmidt <schmidt@tango.cs.wustl.edu>
Added support for IBM's VisualAge C++ compiler.
* ace: Added a new config-visualage.h file that automatically
includes the proper configurations for IBM's VisualAge C++
compiler on Win32 and AIX.
* ace/OS.i: The IBM VisualAge C++ compiler's prototypes for _chdir(),
_mkdir(), and _tempnam() are broken, so we must add a cast to
char *.
* ace/OS.cpp: Added new macros ACE_ENDTHREADEX and
ACE_BEGINTHREADEX to work around a bugs with _endthreadex() and
_beginthreadex() on IBM's VisualAge C++ compiler.
* ace/OS.cpp (ACE_Time_Value::set): Replaced this expression:
this->tv_.tv_usec = long ((_100ns.QuadPart % (10000 * 1000)) / 10);
with this expression:
this->tv_.tv_usec = long ((long (_100ns.QuadPart) % long (10000 * 1000)) / 10);
to work around a bug with IBM's VisualAge C++ compiler.
* ace/OS.cpp: Replaced a hard-coded MSVC++'ism for signed long long
with a use of the ACE_UINT64_LITERAL macro, which works for all
Win32 C++ compilers.
* ace/config-win32-visualage.h,
ace/config-aix-4.x.h: Added a workaround for an IBM VisualAge
C++ bug with the WIFEXITED and WEXITSTATUS macro.
* ace/OS.h: Added workarounds for bugs with IBM's VisualAge C++ compiler
as it pertains to the ACE_DES_FREE_TEMPLATE and
ACE_DES_FREE_TEMPLATE2 macros.
* ace/Map_T.h: Added a workaround for a bug with IBM's VisualAge C++
compiler. I think this workaround should help with other C++
compilers, as well. Also reformated the code to make it
consistent with the ACE programming guidelines.
* ace/Hash_Purgable_Map_Manager_T.cpp: Added a workaround for a
VisualAge C++ bug.
* ace/config-aix-4.x.h: Added VisualAge C++ compiler support.
* ace/Timer_Heap_T.cpp: We must hard code numbers like
1024 for an array size to workaround bugs with the IBM VisualAge
C++ compiler.
* ace/Basic_Types.h: Added #defines for ACE_INT64_LITERAL.
* ace/config-win32-common.h: #include the
config-win32-visualage.h file.
* ace: Added the following files for the IBM VisualAge C++ compiler:
ace-lib.icc - WinNT configuration file to create a static library
ace-dll.icc - WinNT configuration file to create a dynamic library
config-win32-visualage.h - VisualAge C++ defines
* tests: Added the icc.bat and makeicc.pl files, which build the
tests for the IBM VisualAge C++ compiler.
* tests: Added the *.icc project files for the IBM VisualAge C++ compiler.
Sun Jun 27 18:17:43 1999 Carlos O'Ryan <coryan@cs.wustl.edu>
* ace/CORBA_macros.h:
On platforms with native C++ exceptions we use ACE_UNUSED_ARG()
in the throw macros to avoid warnings about the unused
ACE_TRY_ENV variable.
Sun Jun 27 14:56:16 1999 Nanbor Wang <nanbor@cs.wustl.edu>
* tests/run_tests.bat: Added the patch for running tests compiled
with Borland C++. Thanks to Jody Hagins <jody@atdesk.com> for
the patch.
* tests/Cache_Map_Manager_Test.dsp: The project file was
mis-configured.
* tests/version_tests/version_tests.dsw:
* tests/version_tests/Cache_Map_Manager_Test.dsp: Added this new
project file.
Sun Jun 27 12:36:00 1999 Chris Gill <cdgill@cs.wustl.edu>
* ace/RB_Tree.{h, i}: Moved non-deprecated iterator base class
method next (RB_Tree_Node<...>) down into derived forward and
reverse iterator classes due to method resolution conflict
with deprecated next (void) method in forward iterator class.
When the deprecated next method is removed, these will be
moved out of the derived classes and into the base class.
Thanks to Matt Braun and Carlos O'Ryan for pointing out
this problem.
Sat Jun 26 16:22:07 1999 Marina Spivak <marina@cs.wustl.edu>
* ace/ace_lib.dsp
* ace/ace_dll.dsp:
Updated to include Hash_Map_With_Allocator_T.* files.
Sat Jun 26 16:05:29 1999 Ossama Othman <othman@cs.wustl.edu>
* acconfig.h:
* configure.in:
Added support/test for ACE_HAS_MEMCHR macro.
* ace/Makefile.am:
* tests/Makefile.am:
Synchronized with latest version of ACE.
* m4/features.m4:
Updated asynchronous IO tests.
Sat Jun 26 14:41:31 1999 Marina Spivak <marina@cs.wustl.edu>
* ace/Event_Handler_T.h
Removed "ACE_Export" - it is not necessary for a template class.
* ace/Hash_Map_With_Allocator.{h,i,cpp}:
Added these files to ACE. These files contain a thin wrapper
around ACE_Hash_Map_Manager, which is useful when
ACE_Hash_Map_Manager is used with a shared memory (or memory
mapped file) allocator (e.g., ACE Naming Service, and TAO Naming
Service are example use cases). Please see header file for more
details.
Sat Jun 26 12:45:26 1999 Douglas C. Schmidt <schmidt@tango.cs.wustl.edu>
* tests/Cache_Map_Manager_Test.cpp: Fixed this test so that it
compiles with SunC++ 4.2 and its broken C++ templates... Thanks
to David Levine for reporting this.
* ace/Malloc_T.i: Make sure to put ACE_INLINE on all the methods
in the .i files. Thank to Marina for reporting this.
* ace/Hash_Map_Manager_T.h: Fixed the programming style a bit.
* ace/Arg_Shifter.cpp (ACE_Arg_Shifter): Reformatted this
stuff a bit.
Sat Jun 26 12:45:26 1999 Jody Hagins <jody@atdesk.com>
This is a change log for the modifications made to support
Borland C++Builder 4.0, Patch 1. Thanks to
Christopher Kohlhoff <chris@kohlhoff.com> and Chris Uzdavinis
<chris@uzdavinis.com> for helping with this.
First, I did not get integrate the makefiles to the BCB environment
as it requires alot of tools and more time. I hope to fet to this
in the somewhat near future. However, each directory that has stuff
that I built and tested has a Makefile.bor, which will make whatever
is there with BCB4. Note that the makefiles do not, at present,
have a clean or anything except the default make.
To build, make sure config.h points to, or simply includes
ace/config-win32.h.
Finally, not all the programs and exampales have BCB makefiles.
However, it should not be too difficult to adapt the ones that are
there. In addition, the .bpr files should NOT be used to build
the libraries, or any examples. If you want to build examples,
you will need to start with a fresh project in BCB.
At present (4.6.42) all tests, except SOCK_Send_Recv_Test run
successfully, and some of my own tests run. Also, the TAO services
and programs seem to be operating as well.
* ace/Asynch_Acceptor.cpp: Need CancelIO for BCB as well
* ace/Atomic_Op.i: Need ACE_TEMPLATE_SPECIALIZE on specializations.
* ace/CDR_Stream.h: Need LongLong for BCB as well
* ace/Functor.i: Need ACE_TEMPLATE_SPECIALIZE on specializations.
* ace/Future.h: Work around a BCB4 bug which causes the create()
method from being seen.
* ace/IOStream.h: Only want CString stuff for MSC.
* ace/IOStream_T.cpp: Only want CString stuff for MSC.
* ace/OS.cpp: _fdopen, in BCB, takes a non-const pointer
* ace/OS.h: Differentiate between mode masks and user mode masks.
BCB doesn't like initialized data in precompiled header files so
define certain constants instead. A bug in BCB prevents calling
a destructor explicitly on a typedef declared inside a class.
So, TEMPLATE3 and TEMPLATE4 versions of ACE_DES_FREE are
necessary for destruction of templates with more parameters.
BCB4 has a bug in the RTL that resets the GetLastError() value
to zero when errno is accessed. Thus, setting errno to
::GetLastError requires a copy. To keep from having the code
everywhere, I added ACE_OS::set_errno_to_last_error () and
ACE_OS::set_errno_to_wsa_last_error (), and used it everywhere
errno was being set to GetLastError() or WSAGetLastError().
BCB4 has a bug in the optimizer that screws up the return from
certain expressions when a variable is set on both sides of an
assignment. Thus, the definition of ACE_WIN32CALL_RETURN needed
to change.
* ace/OS.i: Use ACE_set_errno_to_last_error where appropriate.
BCB4 bug requires splitting FILETIME dummy_1, dummy_2; into
separate declarations.
* ace/Select_Reactor.h: Need ACE_TEMPLATE_SPECIALIZE on
specializations.
* ace/WFMO_Reactor.cpp: Use ACE_set_errno_to_last_error where
appropriate. Likewise, fix the use of auto_ptr copy ctor, which
can not take a const ref.
* ace/WIN32_Asynch_IO.cpp: Use ACE_set_errno_to_last_error
where appropriate. Need CancelIo for BCB as well.
* ace/WIN32_Proactor.cpp: Use ACE_set_errno_to_last_error
where appropriate.
* ace/config-win32-borland.h: Specific build stuff for BCB
* ace/config-win32-common.h: Differences between BCB and MSC
* apps/JAWS/PROTOTYPE/JAWS/Cache_Hash_T.cpp: BCB4 bug prevents
using typedef inside class for explicit dextructor.
* apps/JAWS/PROTOTYPE/JAWS/Cache_List_T.cpp:
BCB4 bug prevents using typedef inside class for explicit
dextructor.
* apps/JAWS/PROTOTYPE/JAWS/Cache_Manager_T.cpp: BCB4 bug prevents
using typedef inside class for explicit dextructor.
* apps/JAWS/PROTOTYPE/JAWS/IO.cpp: Get rid of const warning
* tests/DLL_Test.cpp: The get_hello function has calling
convention __cdecl (by default since the calling convention is
not mentioned). However, BCB decorates __cdecl with a leading
underscore (and doesn't decorate __stdcall). Thus, we needed to
add some decoration to find the function. Also, added prefix to
find the executable.
* tests/Message_Queue_Test.cpp: BCB4 defines a "messages" and by
default sucks that namespace into the global namespace, so a new
variable name was needed.
* tests/Reactor_Exceptions_Test.cpp: The test throws a structured
exception. The ISO does not require non C++ exceptions to be
caught by catch (...). MSVC catches it but BCB4 does not. So,
the code needed to be changed to catch a structured exception as
well.
* tests/run_tests.bat: Changed to allow running the BCB tests,
when in another directory.
Sat Jun 26 08:40:01 1999 David L. Levine <levine@cs.wustl.edu>
* ace/Proactor.cpp: fixed template instantiation pragmas
(to match explicit template instantiation directives).
Sat Jun 26 08:21:52 1999 David L. Levine <levine@cs.wustl.edu>
* ace/Signal.h: reordered #includes to avoid warning about
#pragma once.
Fri Jun 25 22:30:24 1999 David L. Levine <levine@cs.wustl.edu>
* docs/ACE-guidelines.html: always test on egcs before
commiting. It catches real problems that are missed
by some of the other compilers we (well, some of us :-)
use.
Fri Jun 25 22:20:16 1999 David L. Levine <levine@cs.wustl.edu>
* ace/Future.cpp (detach): changed equality comparison of
curr_observer from itself to the observer argument.
Thanks to egcs -W for snagging this.
Fri Jun 25 21:46:46 1999 David L. Levine <levine@cs.wustl.edu>
* ace/OS.h,ace/Signal.h,ace/config-psos-tm.h
(ACE_DONT_INCLUDE_ACE_SIGNAL_H): added this interlock
diagnostic to inform the user when ace/Signal.h gets #included
instead of signal.h. Thanks to Dale Wood <Dale_Wood@Mitel.com>
and Timothy Canham <Timothy.Canham@jpl.nasa.gov> for tripping
over it, on the same day, and reporting it.
Fri Jun 25 17:22:02 1999 Nanbor Wang <nanbor@cs.wustl.edu>
* ace/Select_Reactor_T.cpp (close): Don't call close() on the
<notify_handler_> if there isn't one.
* ace/SOCK_Acceptor.cpp (open): The error status was not set
correctly if listen() failed.
Thanks to Irfan for helping with this.
Fri Jun 25 16:48:17 1999 David L. Levine <levine@cs.wustl.edu>
* ace/OS.h: don't #include <signal.h> directly on VxWorks.
When cross-compiling on NT host, the GreenHills compiler
#includes ace's Signal.h instead of VxWorks' signal.h.
No comment. OS.h doesn't need to #include signal.h directly,
because it gets indirectly #included through sigLib.h. Thanks
to Dale Wood <Dale_Wood@Mitel.com> for reporting this.
Fri Jun 25 16:03:59 1999 Douglas C. Schmidt <schmidt@ace.cs.wustl.edu>
* ace/Future.cpp: Fixed a couple of places where the set() method
didn't have the new *this parameter added.
* ace: Added Future_Set.{h,cpp} and Future_Node.{h,cpp}, as well
as the new Future.{h,cpp} files to the ACE release. Thanks to
John Tucker <jtucker@infoglide.com> for contributing these.
* ace/Synch.h: Added a comment pointing out that Solaris
threads do not support timed acquire(). Thanks to Darren
DeRidder <darren.deridder@bridgewatersys.com> for reporting
this.
Fri Jun 25 15:07:00 1999 John Tucker <jtucker@infoglide.com>
The following describes the changes to ACE_Future_Set:
* I followed the Observer Pattern where the ACE_Future_Set is the
"Observer" and the ACE_Future_Rep is the "Subject".
* I created an abstract base class called ACE_Future_Observer<T>
which contains a single pure virtual member function "update()".
* The ACE_Future_Rep is modified so that it contains a list of
ACE_Future_Observer<T> pointers and an interface for attaching
and detaching ACE_Future_Observer<T> Observer objects. The
"attach(...)" member function allows objects which implement the
ACE_Future_Observer<T> interface to attach themselves to
ACE_Future_Rep<T> objects so that they will be notified of
changes to the ACE_Future_Rep<T> Subject. The "detach(...)"
member function allows objects which implement the
ACE_Future_Observer<T> interface to detach themselves from
ACE_Future_Rep<T> objects so that they will no longer be
notified of changes to the ACE_Future_Rep<T> Subject.
* The ACE_Future_Rep::set() method is modified so that it invokes the
"update()" method of each ACE_Future_Observer<T> object stored
in its list of attached ACE_Future_Observer<T> Observer
objects. It also removes each ACE_Future_Observer<T> Observer
object from its list.
* The ACE_Future_Set<T> class derives from the ACE_Future_Observer<T>
class.
* The ACE_Future_Set<T> class contains its own ACE_Message_Queue
attribute which will be used by writer threads to notify reader
threads that an ACE_Future is readable.
* The ACE_Future_Set<T> class contains a list of ACE_Future<T>
Subject objects which clients in the reader threads insert into
it. When an ACE_Future<T> is inserted into an
ACE_Future_Set<T>, the ACE_Future_Set<T> attaches itself to the
specified ACE_Future<T>, keeping in mind the ACE_Future_Set<T>
implements the ACE_Future_Observer<T> interface, and also
inserts the specified ACE_Future<T> object into its list of
ACE_Future<T> objects.
* The ACE_Future_Set<T> class implements its "update()" method to
just enqueue an ACE_Message_Block with Null data onto its
ACE_Message_Queue. Since this "ACE_Future_Set<T>::update()"
method will be invoked by the ACE_Future_Rep::set() method in
the writer thread, it will allow the ACE_Future_Set<T> in the
writer thread to signal itself that an ACE_Future has become
readable.
* The "int ACE_Future_Set<T>::next_readable(ACE_Future<T> &future,
ACE_Time_Value *)" method in the reader thread will block via a
call to "dequeue()" on its ACE_Message_Queue until is awakened
by a call to "ACE_Future_Set<T>::update()" in the writer thread.
Once awakened, the ACE_Future_Set<T> object iterates through its
list of ACE_Future<T> objects until it encounters a readable
one. This readable ACE_Future<T> will be removed from its list
and assigned to the specified "future" parameter".
* The ACE_Future_Set<T> destructor detaches itself from all
ACE_Future<T> objects remaining in its list.
* I did not use the ACE_Reactor since I could foresee the
ACE_Future_Set being used by applications which did not run,or
want to run, the event loop.
Fri Jun 25 14:28:05 1999 Ossama Othman <othman@cs.wustl.edu>
* ace/UNIX_Addr.cpp (ACE_UNIX_Addr): Moved base_set() call in
constructor to member initializer list. This is cleaner coding
style. The original code, before a bug fix was made, was like
that. I just forgot to put it back in the member initializer
list after the fix.
Fri Jun 25 15:15:32 1999 Steve Huston <shuston@riverace.com>
* performance-tests/Misc/Makefile: set static_libs_only so the library
selection gets done right on AIX. Clean out the tempinc dir
between binaries on AIX.
* performance-tests/Misc/test_singleton.cpp: Moved def of DC_Singleton
to new file, test_singleton.h so it works on AIX w/ xlC.
* ace/Hash_Cache_Map_Manager_T.h: Removed the "ace/" from the
#pragma implementation line. The compiler remembers the directory
it came from.
* examples/ASX/UPIPE_Event_Server/Peer_Router.h:
* examples/Connection/non_blocking/CPP-connector.h:
* examples/Connection/non_blocking/CPP-acceptor.h:
Added #pragma implementation, for AIX IBM C++.
* examples/IPC_SAP/SOCK_SAP/CPP-inclient.cpp:
* examples/IPC_SAP/SOCK_SAP/CPP-inserver-fancy.cpp:
Split the Options class to a new file, CPP-inclient.h, to make
IBM C++ (xlC) like it.
* examples/IOStream/server/iostream_server.cpp: Split the Handler
class off to new iostream_server.h file, to make IBM C++ (xlC)
like it.
* examples/Logger/Acceptor-server/server_loggerd.cpp: Moved the
Options and handler classes' definitions to new server_loggerd.h
file to build with AIX IBM C++.
* examples/Misc/testr_dump.cpp: Moved the program's classes'
definitions to new server_loggerd.h file to build with AIX IBM
C++.
* examples/IPC_SAP/SOCK_SAP/Makefile:
* examples/Connection/non_blocking/Makefile:
* examples/Misc/Makefile:
On AIX w/ IBM C++, delete the tempinc directory before compiling
each new program. Keeps the template instantiations from one
program from conflicting with the others.
* include/makeinclude/rules.lib.GNU: On AIX using IBM C++ only, don't
try to link in the auto-instantiated template object modules if
there aren't any.
* include/platform_aix4_cset++.GNU: Removed TMPL_OBJS - not needed now.
* examples/Misc/Makefile: On AIX w/ IBM C++, delete the tempinc
directory before compiling each new program. Keeps the template
instantiations from one program from conflicting with the
others.
Fri Jun 25 12:40:29 1999 David L. Levine <levine@cs.wustl.edu>
* ACE-INSTALL.html: added/expanded/moved discussions of
enabling/increasing virtual memory on Linux and LynxOS. Thanks
to Fabrice Podlyski <podlyski@clrhp04.in2p3.fr> for providing
detailed information for LynxOS.
Fri Jun 25 11:16:32 1999 Kirthika Parameswaran <kirthika@cs.wustl.edu>
* tests/Makefile: Updated dependencies for Cache_Map_Manager_Test
and Map_Manager_Test.
Fri Jun 25 07:41:05 1999 David L. Levine <levine@cs.wustl.edu>
* docs/ACE-guidelines.html: added guideline to include
directories containing files with template definitions in a -I.
Thu Jun 24 22:42:44 1999 David L. Levine <levine@cs.wustl.edu>
* ace/SOCK_Dgram_Mcast.cpp (subscribe): fixed UNICOS
preprocessor usage so that it's not in the middle of the
ACE_reintepret_cast.
Thu Jun 24 22:18:52 1999 Doug Anderson <dla@home.com>
* ace/CDR_Stream.*,ace/SOCK_Dgram_Mcast.cpp,ace/config-cray.h:
updates for Cray UNICOS port.
Thu Jun 24 21:33:11 1999 Kirthika Parameswaran <kirthika@cs.wustl.edu>
* ace/Caching_Strategies_T.{h, cpp} (class ACE_FIFO_Caching_Strategy):
* ace/Caching_Strategies_T.{h, cpp} (class ACE_LRU_Caching_Strategy):
* ace/Caching_Strategies_T.{h, cpp} (class ACE_LFU_Caching_Strategy):
Removed the overloaded clear_cache () method with entries as an
formal argument.
* ace/Caching_Strategy_Utility_T.{h,i,cpp}: Renamed as
Caching_Utiltity.{h, i, cpp}. Also, removed <entries> formal
argument from the clear_cache() method, and made purge_percent
of type double instead of unsigned int.
* tests/Cache_Map_Manager_Test.cpp: Changed the purge_test and
added a test for the Cache_Map_Manager using the Map_Manager.
* tests/Map_Manager_Test.cpp: Changed the template instantiation
in vein with the changes to the names of the Caching_Utility
classes.
* tests/Cache_Map_Manager_test.dsp:
* tests/tests.dsw:
Made NT project for the test and added it to the tests workspace.
Thu Jun 24 20:43:54 1999 Irfan Pyarali <irfan@cs.wustl.edu>
* examples/Reactor/WFMO_Reactor/test_multithreading.cpp
(Task_Handler): Change loop to go from 1 to number_of_handles
instead of 0 to number_of_handles - 1.
Thu Jun 24 18:36:22 1999 Douglas C. Schmidt <schmidt@tango.cs.wustl.edu>
* ace/Signal.h: Removed the still-born
ACE_Sig_Action (struct sigaction *) method. Thanks to Umar
Syyid for reporting this.
Thu Jun 24 15:47:32 1999 Steve Huston <shuston@riverace.com>
* tests/run_pharlap_tests.bat: One-button script for running the tests
built for PharLap ETS.
* tests/tests_pharlap_msvc.lnk: PharLap ETS LinkLoc input file for
building test for ETS. Very possible that local sites will need to
adjust this for the target environment.
* tests/Atomic_Op_Test.dsp:
* tests/Barrier_Test.dsp:
* tests/Basic_Types_Test.dsp:
* tests/Buffer_Stream_Test.dsp:
* tests/CDR_Test_Test.dsp:
* tests/Collection_Test.dsp:
* tests/Conn_Test.dsp:
* tests/DLList_Test.dsp:
* tests/Dynamic_Priority_Test.dsp:
* tests/Enum_Interfaces_Test.dsp:
* tests/Env_Value_Test.dsp:
* tests/Future_Test.dsp:
* tests/Handle_Set_Test.dsp:
* tests/Hash_Map_Manager_Test.dsp:
* tests/High_Res_Timer_Test.dsp:
* tests/IOStream_Test.dsp:
* tests/Map_Manager_Test.dsp:
* tests/Map_Test.dsp:
* tests/Mem_Map_Test.dsp:
* tests/Message_Block_Test.dsp:
* tests/Message_Queue_Notifications_Test.dsp:
* tests/Message_Queue_Test.dsp:
* tests/MM_Shared_Memory_Test.dsp:
* tests/MT_Reactor_Timer_Test.dsp:
* tests/MT_SOCK_Test.dsp:
* tests/Naming_Test.dsp:
* tests/New_Fail_Test.dsp:
* tests/Notify_Performance_Test.dsp:
* tests/OrdMultiSet_Test.dsp:
* tests/Pipe_Test.dsp:
* tests/Priority_Buffer_Test.dsp:
* tests/Priority_Reactor_Test.dsp:
* tests/Priority_Task_Test.dsp:
* tests/Process_Mutex_Test.dsp:
* tests/Process_Strategy_Test.dsp:
* tests/RB_Tree_Test.dsp:
* tests/Reactor_Exceptions_Test.dsp:
* tests/Reactor_Notify_Test.dsp:
* tests/Reactor_Performance_Test.dsp:
* tests/Reactor_Timer_Test.dsp:
* tests/Reactors_Test.dsp:
* tests/Reader_Writer_Test.dsp:
* tests/Recursive_Mutex_Test.dsp:
* tests/Reverse_Lock_Test.dsp:
* tests/Semaphore_Test.dsp:
* tests/Service_Config_Test.dsp:
* tests/Sigset_Ops_Test.dsp:
* tests/Simple_Message_Block_Test.dsp:
* tests/SOCK_Connector_Test.dsp:
* tests/SOCK_Send_Recv_Test.dsp:
* tests/SOCK_Test.dsp:
* tests/SPIPE_Test.dsp:
* tests/SString_Test.dsp:
* tests/SV_Shared_Memory_Test.dsp:
* tests/Svc_Handler_Test.dsp:
* tests/Task_Test.dsp:
* tests/Thread_Manager_Test.dsp:
* tests/Thread_Mutex_Test.dsp:
* tests/Thread_Pool_Reactor_Test.dsp:
* tests/Thread_Pool_Test.dsp:
* tests/Time_Service_Test.dsp:
* tests/Time_Value_Test.dsp:
* tests/Timeprobe_Test.dsp:
* tests/Timer_Queue_Test.dsp:
* tests/Tokens_Test.dsp:
* tests/TSS_Test.dsp:
* tests/Upgradeable_RW_Test.dsp:
* tests/UPIPE_SAP_Test.dsp:
Added "PharLap ETS Debug" configurations.
* ACE-INSTALL.html: Added some info about the PharLap TNT ETS port.
Thu Jun 24 14:10:20 1999 David L. Levine <levine@cs.wustl.edu>
* bin/libsize.pl: use appropriate size command for all of
our cross-compile platforms.
Thu Jun 24 14:00:27 1999 David L. Levine <levine@cs.wustl.edu>
* ace/config-sunos5.7.h: with ghs only, undef ACE_HAS_PROC_FS
and ACE_HAS_PRUSAGE_T because the Sun's sys/procfs_isa
requires 64-bit ints.
Thu Jun 24 13:53:53 1999 David L. Levine <levine@cs.wustl.edu>
* ace/Proactor.cpp: added missing backslash to one of
the instantiation pragmas.
Thu Jun 24 12:53:22 1999 Steve Huston <shuston@riverace.com>
* ace/OS.(h i): Added check for ACE_HAS_WINSOCK2 != 0 wherever
the check was only for ifdef ACE_HAS_WINSOCK2. Allows building on
Winsock 1.1.
* ace/config-pharlap.h: New config file for use with PharLap TNT
Embedded ToolSuite. This is not really tested yet - that activity
continues.
Thu Jun 24 07:05:17 1999 David L. Levine <levine@cs.wustl.edu>
* ace/config-osf1-4.0.h,include/makeinclude/platform_osf1_4.0.GNU,
include/makeinclude/platform_osf1_cxx.GNU: use pragmas instead of
command line arguments to disable specific warning messages.
This cleans up the command line, and makes it easier to control
warning message suppression (because the compiler version is
available in __DECCXX_VER to the preprocessor.)
Wed Jun 23 21:27:45 1999 David L. Levine <levine@cs.wustl.edu>
* ACE-INSTALL.html: removed space from "resource requirements"
tag to avoid problems with web browers.
Wed Jun 23 20:18:42 1999 Douglas C. Schmidt <schmidt@tango.cs.wustl.edu>
* ace/WFMO_Reactor: Added a no-op work_pending()
implementation until we figure out how to implement this.
* ace/Reactor_Impl.h,
* ace/Reactor.{cpp,h},
* ace/Select_Reactor_T.{h,cpp}: Added a work_pending() method
that just checks if there are I/O events "ready" for
dispatching, but doesn't actually dispatch event handlers. This
is needed for TAO's work_pending() API. Thanks to Irfan for
suggesting this.
Wed Jun 23 15:27:48 1999 David L. Levine <levine@cs.wustl.edu>
* bin/libsize.pl: added this script, which provide a size
breakdown of either the ACE or TAO libraries.
Wed Jun 23 14:34:27 1999 David L. Levine <levine@cs.wustl.edu>
* ACE-INSTALL.html: added link to ACE Library Size Breakdown
in System Resource Requirements discussion.
Wed Jun 23 14:09:27 1999 Kirthika Parameswaran <kirthika@cs.wustl.edu>
* ace/Caching_Strategies_T.cpp (ACE_LRU_Caching_Strategy):
Checked and modified the creation and deletion logic of the
caching utility object.
* ace/Cache_Map_Manager_T.cpp (~Cache_Map_Manager):
Added the close method call to avoid memory leaks.
* tests/run_test.pl:
* tests/run_test.bat:
Added Cache_Map_Manager_Test.
* tests/Cache_Map_Manager_Test: Removed extra comma.
* ace/Caching_Strategies_T.{h, i, cpp}
* ace/Cache_Map_Manager_T.{i,h,cpp}
* ace/Caching_Strategy_Utility_T.{h,i,cpp}
* ace/Cleanup_Strategies_T.{h, i,cpp}
* ace/Hash_Cache_Map_Manager_T.{h, i,cpp}
* ace/ace_dll.dsp:
Added above caching related files into the NT ace workspace.
Wed Jun 23 10:09:06 1999 David L. Levine <levine@cs.wustl.edu>
* ACE-INSTALL.html: updated System Resource requirements discussion.
All of ACE+TAO requires well over 1 Gb of disk now :-/.
Wed Jun 23 00:03:31 1999 Douglas C. Schmidt <schmidt@tango.cs.wustl.edu>
* ace/SOCK_Dgram.cpp (ACE_SOCK_Dgram): Fixed an unused args
warning. Thanks to David for reporting this.
* ace/Service_Config.h (ACE_Service_Config): Moved the
documentation for the open() method's "argv" parameters *to* the
open() method. Also clarified that by default we don't install
the "statically configured services" (such as ACE_Svc_Manager).
Thanks to Ian MacDonald <ianmacd@bg.com> for motivating this.
* ace/OS.i (accept): Added a new workaround for platforms
like VxWorks that can't handle NULL addrs to accept(). Thanks
to James Hu <jhx@entera.com> and John Weald
<John.Weald@sylantro.com> for this fix.
* ace/config-vxworks5.x.h: Added a new macro
ACE_HAS_BROKEN_ACCEPT_ADDR to work around VxWorks problems
with NULL addrs to accept().
Tue Jun 22 21:17:49 1999 Kirthika Parameswaran <kirthika@cs.wustl.edu>
* tests/Cache_Map_Manager_Test.cpp: Tests the Cache_Map_Manager
as well as the Hash_Cache_Map_Manager which has additional
features of caching and purging of entries along with the map
properties.
* tests/Makefile: Added Cache_Map_Manager_Test.cpp
Tue Jun 22 15:20:53 1999 David L. Levine <levine@cs.wustl.edu>
* tests/Thread_Manager_Test.cpp (main): removed THR_DETACHED.
That seems to solve the libthread panic problem on Solaris,
even with group signalling enabled. Thanks to Carlos for
suggesting this.
Tue Jun 22 15:11:34 1999 Matthew J Braun <mjb2@cs.wustl.edu>
* ace/Containers_T.h,i
Added new next(T *&) methods to the ACE_DLList_Iterator
classes and marked the old versions as DEPRECATED.
Tue Jun 22 13:40:22 1999 David L. Levine <levine@cs.wustl.edu>
* docs/tutorials/*/Makefile: replace rm -f with $(RM).
Tue Jun 22 13:07:19 1999 Carlos O'Ryan <coryan@cs.wustl.edu>
* tests/Message_Block_Test.cpp:
* websvcs/lib/URL_Addr.i:
* websvcs/lib/URL_Addr.cpp:
Removed more g++ -W warnings
Tue Jun 22 11:12:42 1999 David L. Levine <levine@cs.wustl.edu>
* ACE-INSTALL.html: added System Resource Requirements
section. Thanks to Hakan Kallberg <hk@simulina.se>
and Eric Mitchell <emitchell@altaira.com> for the
Linux swap space and -pipe removal suggestions.
Tue Jun 22 07:45:59 1999 David L. Levine <levine@cs.wustl.edu>
* ace/Event_Handler_T.i: fixed some occurrences of
ACE_INLINE that were after the function return type.
Tue Jun 22 07:30:12 1999 David L. Levine <levine@cs.wustl.edu>
* ace/Stats.cpp: fixed for ACE_LACKS_LONGLONG_T platforms.
(sample): replace return statement with an else branch, to
make it easier to see what the code is doing.
Mon Jun 21 23:36:02 1999 Carlos O'Ryan <coryan@cs.wustl.edu>
* websvcs/lib/URL_Addr.cpp:
Fixed warnings about unused variables.
Mon Jun 21 23:27:01 1999 Darrell Brunsch <brunsch@cs.wustl.edu>
* ace/SString.h: Added ACE_TString typdef that is either a
ACE_CString or ACE_WString, depending on whether UNICODE
is defined.
Mon Jun 21 23:22:46 1999 Douglas C. Schmidt <schmidt@tango.cs.wustl.edu>
* examples/Misc/test_trace.cpp: Improved this test so it will
work more effectively on single-threaded *and* multi-threaded
platforms. Thanks to Hao Ruan <hruan@lucent.com> for reporting
this. Also fixed a warnng in this test caused by failure to
return a value on every return path. Thanks to David Levine for
reporting this.
Mon Jun 21 14:17:22 1999 Carlos O'Ryan <coryan@cs.wustl.edu>
* ace/Stats.h:
* ace/Stats.cpp:
Added new class to keep latency and throughput statistics.
Mon Jun 21 13:24:41 1999 David L. Levine <levine@cs.wustl.edu>
* include/makeinclude/platform_freebsd.GNU,platform_linux.GNU,
platform_linux_lxpthread.GNU,platform_psosim_g++.GNU,
platform_qnx_neutrino.GNU,platform_sunos5_g++.GNU,
platform_vxworks5.x_g++.GNU: added -W to CFLAGS. -Wall
doesn't include the -W checks, at least with egcs 1.1.2.
Mon Jun 21 10:18:01 1999 David L. Levine <levine@cs.wustl.edu>
* ace/Makefile: moved FlReactor, Msg_WFMO_Reactor, TkReactor,
and XtReactor from OTHER to DEMUX_FILES because TAO uses
them in some configurations. They add negligible size
overhead when not used. Thanks to Nanbor for pointing this
out.
Mon Jun 21 10:11:15 1999 Carlos O'Ryan <coryan@cs.wustl.edu>
* ace/Makefile:
The TP_Reactor is used by TAO, but was listed in the OTHER
component. Moved to the DEMUX component to make it always
available. Thanks to David Levine for pointing this out.
Mon Jun 21 09:58:42 1999 Joe Hoffert <joeh@cs.wustl.edu>
* ace/QoS.{h,cpp}: Removed these files from ACE since they have a
lot of problems. Will add back later when they compile and are
tested.
Mon Jun 21 08:40:14 1999 Steve Huston <shuston@riverace.com>
* examples/Connection/misc/Connection_Handler.cpp (handle_input):
Corrected signed/unsigned mismatch I accidentally put in last week.
* ace/CORBA_macros.h: Added __HP_aCC to the compilers that need
special handling for throwing an exception from a value-returning
function.
* include/makeinclude/platform_hpux_aCC.GNU: Added +DAportable
to CCFLAGS if no architecture specified. Added -z to LDFLAGS
to force SEGV on dereference 0 pointer. Added definition for
CPP_LOCATION to not use aCC - it displays warnings for unrecognized
#pragmas and this dirties the TAO builds. Thanks to Brian Wallis
<Brian.Wallis@sr.com.au> for these ideas.
Sat Jun 19 22:28:35 1999 Carlos O'Ryan <coryan@cs.wustl.edu>
* bin/auto_compile:
Updated the list of tests run every night.
Sat Jun 19 18:15:48 1999 Carlos O'Ryan <coryan@cs.wustl.edu>
* ace/OS.h:
* ace/CORBA_macros.h:
The ACE_GUARD macros needed some blanks to work with a template
as the lock type parameter.
Sat Jun 19 10:34:55 1999 Douglas C. Schmidt <schmidt@tango.cs.wustl.edu>
* ace/Acceptor.cpp,
ace/Connector.cpp: Modified the make_svc_handler() hook method
in these classes to set the Reactor of the newly created
SVC_HANDLER to the same reactor that the Acceptor or Connector
is using. Thanks to John Aughey <jha@FreeBSD.ORG> for
this suggestion.
* man/{html,man3}: Zapped the Ace_Export.* files since
they don't belong here. Thanks to Zoran Ivanovic
<zorani@pathcom.com> for reporting this.
Fri Jun 18 20:49:09 1999 Irfan Pyarali <irfan@cs.wustl.edu>
* ace/Synch.cpp: Added template instantiations for
ACE_Write_Guard<ACE_Thread_Mutex>.
Fri Jun 18 19:30:09 1999 Douglas C. Schmidt <schmidt@cs.wustl.edu>
* ACE version 4.6.42 released.
Fri Jun 18 18:49:39 1999 Carlos O'Ryan <coryan@cs.wustl.edu>
* tests/Makefile:
* tests/run_tests.psosim:
* tests/run_tests.sh:
* tests/run_tests.vxworks:
Disabled Map_Manager_Test, it does not work with too many
platforms and the features it tests are not used (yet).
Fri Jun 18 16:54:43 1999 Irfan Pyarali <irfan@cs.wustl.edu>
* tests/Message_Queue_Test.cpp:
* tests/Message_Block_Test.cpp:
Removed template instantiations for ACE_Message_Queue_Iterator
and ACE_Message_Queue_Reverse_Iterator. They are already
available in the ace library.
* ace/Service_Types.cpp: Added explicit instantiations for
ACE_Message_Queue_Reverse_Iterator. ACE_Message_Queue and
ACE_Message_Queue_Iterator were already there. This addition
will complete the set.
Fri Jun 18 12:12:59 1999 Douglas C. Schmidt <schmidt@tango.cs.wustl.edu>
* ace/SOCK_Dgram: Added the first set of hooks to support
QoS-enabled data grams for Win2K GQoS.
Fri Jun 18 11:37:31 1999 Nanbor Wang <nanbor@cs.wustl.edu>
* *.{mdp,mak}: Removed all MSVC++ 4.x workspaces and makefiles.
We are no longer supporting this version of MSVC++. If you need
support for MSVC++ 4.x please contact Steve Huston
<shuston@riverace.com> of Riverace to arrange a support
contract.
Fri Jun 18 12:19:42 1999 Matthew J Braun <mjb2@cs.wustl.edu>
* tests/DLList_Test.cpp: Removeed unnecessary explicit template
instantiation that mirrored ones in ace/Containers.cpp to fix
compile errors on VxWorks. Why this _ever_ worked, I don't
know...
Fri Jun 18 11:37:31 1999 Nanbor Wang <nanbor@cs.wustl.edu>
* ace/Service_Config.h (class ACE_Static_Svc_Descriptor): Changed
the type of <name_> from LPTCSTR to 'const ASYS_TCHAR*'.
Thu Jun 17 12:46:30 1999 Douglas C. Schmidt <schmidt@tango.cs.wustl.edu>
* tests/Conn_Test.cpp: Fixed a problem with explicit template
instantiations so that this test will compile even if ACE isn't
built with threads.
* netsvcs/lib/Server_Logging_Handler.cpp: Fixed the explicit
template instantiations so hopefully they'll work when ACE is
compiled without threads. Thanks to Carlos for reporting this.
* ace/SOCK_Dgram_Mcast.cpp: We needed to modify the return values
of subscribe_i() so that we'd have the ability to differentiate
a "short-circuit" return on NT. Thanks to Marina for reporting
this.
* ace/OS.h: Added an automatic test to check if we're running on
an EBCDIC character set, and if so, set
ACE_STANDARD_CHARACTER_SET_SIZE to 256 rather than 128. Thanks
to Jim Rogers for this suggestion.
* performance-tests/TTCP/Makefile: Zapped the Orbix and ORBeline
directories from the Makefile. These are *way* out of date and
have been superceeded by the versions in
$TAO_ROOT/performance-tests/Thruput/. Thanks to Youzhong Liu
<yoliu@cise.ufl.edu> for reporting this.
Thu Jun 17 12:59:24 1999 Carlos O'Ryan <coryan@cs.wustl.edu>
* ace/CDR_Stream.h:
* ace/CDR_Stream.i:
Added accessors for the codeset translators.
Thu Jun 17 00:33:57 1999 Nanbor Wang <nanbor@cs.wustl.edu>
* include/makeinclude/platform_freebsd.GNU (VERSION): Applied the
patch to automatically detect FreeBSD version. Thanks to
Goldshtain Dmitry <goldshtain@bank.gov.ua> for providing the
patch.
* bin/Process_Win32.pm (TimedWait):
Get and return the exit status from the waited process.
Wed Jun 16 22:03:29 1999 Irfan Pyarali <irfan@cs.wustl.edu>
* ace/OS.h (ACE_OS): Removed ACE_WIDE_DL_TYPE and the wide char
versions of dlopen(), dlsym(), and dlerror(). Even Win32
doesn't support them.
Also changed the argument type of ACE_OS::dlopen(),
ACE_OS::dlsym(), ACE_DLL::ACE_DLL(), ACE_DLL::open(), and
ACE_DLL::symbol() from ACE_DL_TYPE to const char *. Now the
ACE_OS wrappers do the correct const cast before calling the OS
function. Note that since this change is only adding constness
to the argument, the change is backward compatible.
Wed Jun 16 20:47:27 1999 Carlos O'Ryan <coryan@cs.wustl.edu>
* bin/Process_Win32.pm:
The wait time for a process seems to be in milliseconds.
Wed Jun 16 20:03:41 1999 Steve Huston <shuston@riverace.com>
* ace/Containers_T.cpp: Qualify dllist_ with 'this->' to get the
template types looked up correctly. This is what fixes the pesky
future error 641 on HP-UX aC++.
* ace/RB_Tree.i: Qualify node_ and tree_ with 'this->' to get the
template types looked up correctly. aC++ is really happy now,
and so is Steve :-)
Wed Jun 16 18:50:38 1999 Carlos O'Ryan <coryan@cs.wustl.edu>
* ace/OS.i:
Fixed typos in single threaded code.
Wed Jun 16 18:14:45 1999 Kirthika Parameswaran <kirthika@cs.wustl.edu>
* ace/Cached_Connect_Strategy_T.{h, cpp}: Added ATTRIBUTES to
the template list for the Cached_Connect_Strategy_Ex class to
ward off g++ compiler errors.
Mon Jun 14 22:52:48 1999 Kirthika Parameswaran <kirthika@cs.wustl.edu>
* tests/Map_Manager_Test.cpp: Removed template instantiation
regarding ACE_Read_Mutex<Thread_Mutex>. Added template
instantiations for ACE_Pair<VALUE, int> and
ACE_Reference_Pair<TYPE, VALUE> to make sunc++5.0 happy.
* ace/Caching_Strategy_Utility_T.{h.cpp}: Removed math.h from the
include list since it caused problems when native exceptions were
enabled.
Mon Jun 14 21:41:40 1999 Douglas C. Schmidt <schmidt@mambo.cs.wustl.edu>
* ace/Connector.h: Added a comment to clarify that if
Connector::connect() fails the close() hook of the Svc_Handler
is called to prevent resource leaks. Thanks to V. Lakshmanan
<lakshman@doplight.nssl.noaa.gov> for motivating this.
Mon Jun 14 20:54:09 1999 Kirthika Parameswaran <kirthika@cs.wustl.edu>
* ace/Synch.cpp: Declared template definitions for
ACE_Read_Mutex<ACE_Thread_Mutex> to get around compiler errors
while building $ACE_ROOT/tests. Thanks to Dr.Schmidt for
suggesting this.
Mon Jun 14 19:33:04 1999 Douglas C. Schmidt <schmidt@tango.cs.wustl.edu>
* ace/SOCK_Acceptor.cpp (accept): Fixed a bizarre problem with
Win32 where it's imperative that the third parameter to <accept>
must be a NULL pointer if we want to ignore the client address.
* ace/OS.i: Cleaned up warnings in join_leaf() and ioctl() due to
unused args. Thanks to Marina for reporting this.
Mon Jun 14 15:56:27 1999 David L. Levine <levine@cs.wustl.edu>
* ace/config-qnx-neutrino.h,
include/makeinclude/platform_qnx_neutrino.GNU: added config
files for QNX Neutrino. They support cross-compiling on a
QNX4 host for Neutrino target. Builds are almost (but not
completely) clean.
* include/makeinclude/platform_qnx_neutrino.GNU: only
build static libs, because they seem to work better. Many
of the ACE tests pass with this configuration! (Some of
the usual suspects, such as Conn_Test, don't.)
* ace/config-qnx-neutrino.h: don't need ACE_HAS_PENTIUM here,
because it's in config-g++-common.h. Removed
ACE_HAS_USING_KEYWORD, because g++ 2.8.1 doesn't support
namespaces.
Mon Jun 14 14:33:29 1999 David L. Levine <levine@cs.wustl.edu>
* tests/Reactor_Performance_Test.cpp (handle_input): removed
printout when result == 0. It happens when the client finishes
first, which I think is OK.
Mon Jun 14 11:55:31 1999 Steve Huston <shuston@riverace.com>
* include/makeinclude/platform_aix4_g++.GNU: New platform file for AIX
4.x using GNU compiler. Been tested w/ egcs 1.1.2.
* include/makeinclude/platform_aix4_cset++.GNU: Make shared libs
correctly and without building the static one first.
Also, for cset++, disable warnings on AIX 4.3 to shut up the
0-valued preprocessor warnings. This is not a great
long-term general solution, but it'll do the job.
* include/makeinclude/wrapper_macros.GNU:
* include/makeinclude/rules.lib.GNU: On AIX, build shared lib w/o
requiring static one first. When building shared libs, also link
against them and install the proper files when done. The correct
files built for libfoo are:
libfoo.a: archive/static library
libfoo.so: shared library, but not set up for run-time linker.
This is the one loaded by ACE dynamic loading.
libfooshr.a: an archive library with libfoo.so as its only
member. This is what to link against when building
a program/library that uses libfoo.
Silly? Uh-huh. But that's life in AIX land. I tried to get things
building/running clean using the run-time linker (-brtl) but had
no end of trouble. And, since no other libs in /usr/lib want to
do it that way either, it's like this.
Mon Jun 14 09:58:02 1999 Douglas C. Schmidt <schmidt@tango.cs.wustl.edu>
* ace/OS.i: Added ACE_UNUSED_ARG() macros for all the non-WINSOCK2
cases in the ACE_Flow_Spec and ACE_QoS methods. Thanks to David
for reporting this.
* ace/OS.i: Moved the definition of ACE_Errno_Guard's methods to
earlier in the file to avoid problems with inline ordering.
Thanks to David for reporting this.
* ACE-INSTALL.html: Updated Barry Hoggard's CORBA page URL.
Mon Jun 14 07:17:23 1999 David L. Levine <levine@cs.wustl.edu>
* docs/ACE-guidelines.html: fixed typo: exceptions.
Sun Jun 13 14:22:54 1999 Douglas C. Schmidt <schmidt@maxixe.cs.wustl.edu>
* ace/LSOCK_Acceptor.cpp: Rewrote the accept() method to use the
same new technique that's used in ACE_SOCK_Acceptor::accept().
This is necessary since there's no longer a shared_accept().
* ace/SOCK_Acceptor: Removed shared_accept() since it's been split
into two parts to make the QoS features easier to maintain.
* ace/SOCK_Acceptor: Added the new ACE_Accept_QoS_Params parameter
to the ACE_SOCK_Acceptor::accept(). Also created two new
private methods, shared_accept_start() and
shared_accept_finish(), that factor out common code.
* ace/SOCK_Connector: Added the new ACE_Connect_QoS_Params
parameter to ACE_SOCK_Connector::connect(). Also created two
new private methods, shared_connect_start() and
shared_connect_finish(), that factor out common code.
* ace/SOCK_Connector.cpp: Cleaned up the logic that checks for
various types of errors and updated the code to use the new
ACE_Errno_Guard features.
* ace/OS.h: Added an equality and in-equality operator for
ACE_Errno_Guard and moved all the methods into OS.i rather than
OS.h. Also added an ACE_Export to the ACE_Errno_Guard class so
that it can be used outside of the ACE library.
* ace/OS.h: For Win32, added support for the WinSock2 QoS
functions WSAAccept(), WSAConnect(), WSAJoinLeaf(), and
WSAIoctl().
* ace/OS.h: For Win32, added thin wrappers ACE_Flow_Spec and
ACE_QoS that encapsulate the WinSock2 FLOWSPEC and QOS structs,
respectively.
* ace/OS.h: For Win32, added an implicit conversion operator from
iovec to WSABUF since they are structurally equivalent.
Sun Jun 13 14:22:54 1999 Douglas C. Schmidt <schmidt@tango.cs.wustl.edu>
* bin/README.html: Updated the information about the ACE
documentation tools to be more helpful.
Fri Jun 11 20:04:37 1999 Carlos O'Ryan <coryan@cs.wustl.edu>
* bin/Process_Unix.pm:
Fixed problems on TimedWait().
Fri Jun 11 15:28:44 1999 Douglas C. Schmidt <schmidt@tango.cs.wustl.edu>
* ace/OS.h: Need to add #include <signal.h> before <pthread.h>
since pthread.h doesn't include signal.h on SunOS 5.7. Thanks
to Rick Weisner <rick.weisner@east.sun.com> for reporting this.
* ace/OS: ACE_OS::memchr() should return a const void * rather
than a void *. Thanks to Rick Weisner
<rick.weisner@east.sun.com> for reporting this.
* ace/Dirent.i: Don't call closedir() on a NULL dirp because some
platforms (such as SunOS 5.7) will segfault! Thanks to Tom
Arbuckle <arbuckle@uran.informatik.uni-bonn.de> for pointing
this out.
Fri Jun 11 14:47:47 1999 Carlos O'Ryan <coryan@cs.wustl.edu>
* bin/auto_compile: Does not compile all the directories in TAO,
because it takes too much space (and time). Run several more
tests in TAO that are stable. Improve output.
* ace/Log_Msg.cpp: Use ACE_HAS_THR_C_DEST for TSS "destructors",
not ACE_HAS_THR_C_FUNC.
* bin/ACEutils.pm:
* bin/Process_Unix.pm:
* bin/Process_Win32.pm: Added new routines to wait for a process
with a timeout, ditto for the ACE::waitforfile() routine. They
can be used to write more reliable test drivers.
Fri Jun 11 14:40:49 1999 David L. Levine <levine@cs.wustl.edu>
* bin/create_ace_build: run the directory mode value through eval,
to convert it from octal to decimal, if necessary. Thanks to
Russ Noseworthy for providing the patch.
* include/makeinclude/platform_sunos5_sunc++.GNU: only set
TEMPLATE_REPOSITORY for Sun C++ 4.2. 5.0 doesn't need it.
Thanks to Dennis C. De Mars <demars@mminternet.com> for
reporting this.
* tests/Reactor_Performance_Test.cpp (main): return error status
from run_event_loop () call. And, added a few ACE_ERROR
printouts. Thanks to Steve for mentioned this.
* ace/config-sunos5.5.h: properly reverted all the changes of
today. The comments are more helpful this way.
* include/makeinclude/platform_linux_lxpthread.GNU: changed
PLATFORM_AIO_SUPPORT to use := instead of =, so that it only
invokes the shell once. Thanks to Lothar Werzinger
<lwerzinger@krones.de> for suggesting this.
Fri Jun 11 12:10:00 1999 Chris Gill <cdgill@cs.wustl.edu>
* tests/RB_Tree_Test.{cpp, h (new)}: factored out class template
declaration into a .h file to make AIX C++ happy.
Thu Jun 10 23:11:36 1999 Kirthika Parameswaran <kirthika@cs.wustl.edu>
* ace/Cache_Map_Manager_T.{h, i, cpp}: Added Iterator
implementations to the template parameters to be able to build
using the g++ compiler. Also removed unnecessary HASH_KEY and
COMPARE_KEYS from the template list.
* ace/Hash_Cache_Map_Manager_T.{h, i, cpp}: Made appropriate
changes to support changes made to Cache_Map_Manager.
* ace/Caching_Strategies_T.{h, i, cpp}: Added an overloaded
clear_cache method which allows the user to specify the total
number of entries in the cache. Also added the
Caching_Strategy_Utility parameter which decouples the actual
purging from the caching strategy.
* ace/Caching_Strategy_Utility.{h,i,cpp}: Added a Null version of
the utility to be used with the Null strategy.
* ace/Cleanup_Strategies_T.{h,i,cpp}: Added the ACE_UNSED_ARGS
macro to ward of g++ warnings.
* tests/Map_Manager_Test.cpp: Added performance tests for the
Cache_Map_Manager and the Hash_Cache_Map_Manager.
Thu Jun 10 20:29:00 1999 Chris Gill <cdgill@cs.wustl.edu>
* ace/RB_Tree.h: Made constructors for iterator base class
protected instead of protected, so the the base class can only
be constructed by the derived forward and reverse iterator
classes. Thanks to Matt Braun for pointing this out.
* tests/RB_Tree_Test.cpp: Major overhaul of the test to use a test
class template that encapsulates the test details and makes the
code much more readable. Then, the main program merely
instantiates a test for each of the four possible combinations
of key/item type parameterization over int and const char *, and
calls the run_test () method of each test instance.
Thu Jun 10 12:44:22 1999 Steve Huston <shuston@riverace.com>
* tests/UPIPE_SAP_Test.cpp: Disable for Win32 if !ACE_HAS_WINNT4.
The test relies on ACE_SPIPE_Acceptor which requires NT4 to
work.
Thu Jun 10 12:47:52 1999 David L. Levine <levine@cs.wustl.edu>
* ace/config-linux-lxpthreads.h: removed ACE_HAS_AIO_CALLS. It's
now enabled in the platform_macros.GNU file:
* include/makeinclude/platform_linux_lxpthread.GNU: added
automatic detection of AIO support, based on existence of
/usr/lib/librt.so.
* include/makeinclude/platform_linux_lxpthread.GNU: add -lrt to
LIBS only if $(PLATFORM_AIO_SUPPORT) is equal to
-DACE_HAS_AIO_CALLS.
Thanks to Jake Hamby <jehamby@anobject.com> for reporting that not
all Linux platforms have AIO support.
Thu Jun 10 10:17:08 1999 David L. Levine <levine@cs.wustl.edu>
* ace/config-sunos5.5.h: with Sun C++ 5.0, #define
_RWSTD_NO_EXCEPTIONS 1 if exceptions are not enabled. This
avoids a warning about throw expressions being ignored with
-noex. See /opt/SUNWspro_5.0/SC5.0/include/CC/stdcomp.h for
more information.
* ace/os-patches/vxworks-5.1.txt,ACE-INSTALL.html: added these
notes for using ACE with VxWorks 5.1.
* docs/ACE-guidelines.html: avoid source code filenames that
include "Error". Avoid #include <math.h>.
Wed Jun 9 21:45:24 1999 Douglas C. Schmidt <schmidt@tango.cs.wustl.edu>
* tests/Svc_Handler_Test.cpp (main): Revised the test a bit to
make it more clear what's going on.
* ace/Svc_Handler.cpp: Fixed a typo in flush() -- we need to
update the temp pointer with temp->cont() *not* entry->cont().
* ace/Svc_Handler.cpp (dump): Fixed a typo -- I wasn't comparing
the pointer to 0, I was comparing the ACE_Time_Value!
Wed Jun 9 21:10:00 1999 Chris Gill <cdgill@cs.wustl.edu>
* ace/config-psos-diab-ppc.h: added
ACE_HAS_NONCONST_SELECT_TIMEVAL
* tests/RB_Tree_Test.cpp: fixed constness issues revealed by
SunC++ 5.0, added return value assertions for insert calls,
added typedefs.
Wed Jun 9 20:40:50 1999 Carlos O'Ryan <coryan@cs.wustl.edu>
* ace/CDR_Stream.h:
* ace/CDR_Stream.cpp: Added new methods to support message
reassembly in GIOP 1.1
Wed Jun 9 15:32:37 1999 Douglas C. Schmidt <schmidt@mambo.cs.wustl.edu>
* ace/Message_Queue_T: Added a lock() accessor method so that
other components can access the lock used by a Message Queue.
* ace/Svc_Handler.cpp: Added better support for timeout handling
for the ACE_Buffered_Svc_Handler.
* ace/Svc_Handler: Split the buffering portion of ACE_Svc_Handler
off into a separate class called ACE_Buffered_Svc_Handler to
avoid adding extra space and complexity to the existing
ACE_Svc_Handler. Thanks to Irfan for suggesting this, as well
as also suggesting ways to improve the performance by caching
the current size of the buffer.
* ace/OS.h: Added a patch to work around some problems with macros
for USYNCH_THREAD. Thanks to David Levine and Russ Noseworthy
for this.
* examples/Threads/task_five.cpp (main): Improved the form and
content of this example a bit.
* include/makeinclude/platform_sunos5_sunc++.GNU,
* include/makeinclude/platform_sunos5_g++.GNU,
* include/makeinclude/platform_irix6.x_g++.GNU,
* include/makeinclude/platform_linux_lxpthread.GNU,
* include/makeinclude/platform_irix6.x_sgic++.GNU:
Added support to make it easier to override various settings
in platform_macros files. Thanks to Dave Meyer
<dmeyer@lima.arl.std.saic.com> for contributing this.
* ace/SPIPE_Stream: Added sendv(), sendv_n(), and recvv_n()
methods to SPIPE_Stream. Thank to Carlos for pointing this out.
* ace/config-mvs.h: Changed the size of the ACE_SIZEOF_DOUBLE and
ACE_SIZEOF_LONG_DOUBLE from 4 and to 8 and 16, respectively.
Thanks to Jim Rogers for reporting this.
* ace/config-mvs.h: Added ACE_HAS_NONCONST_SELECT_TIMEVAL on the
advice of Jim Rogers <jrogers@viasoft.com>.
* ace/OS.h (class ACE_Errno_Guard): Propagate the return value of
the assignment operator to allow chaining. Thanks to Jeff for
reporting this.
* ace/OS.i: Fixed a bizzarre problem with lower-case ace_os::.
Thanks to Andy for pointing this out.
* ace/Svc_Conf.y: Don't enable YYDEBUG by default so that we can
save some space in the generated code.
* ace/OS: Added several more uses of ACE_Errno_Guard, which has
been enhanced to support assignment. Thanks to Irfan for
suggesting this.
* tests/Svc_Handler_Test.cpp: Added a simple test for the new
buffering feature in ACE_Svc_Handler.
* ace/Strategies.cpp: Added an explicit template instantiation for
ACE_Message_Queue_Iterator <ACE_NULL_SYNCH> since this is now
used in ACE_Svc_Handler.
* ace/Svc_Handler: Added a "buffering" feature to the
ACE_Svc_Handler. This feature makes it possible to queue up
ACE_Message_Blocks in an ACE_Message_Queue until (1) the queue
is "full" or (2) a period of time elapses, at which point the
queue is "flushed" via sendv_n() to the peer.
Wed Jun 9 12:23:30 1999 Jeff Parsons <parsons@cs.wustl.edu>
* tests/version_tests/version_tests.dsw:
* tests/run_tests.bat:
* tests/run_tests.psosim:
* tests/run_tests.vxworks:
Added Svc_Handler_Test to these.
* tests/tests.dsw:
Added Svc_Handler_Test.dsp (created and checked in by
Nanbor) to the workspace.
Wed Jun 9 10:46:07 1999 Carlos O'Ryan <coryan@cs.wustl.edu>
* ace/Strategies.cpp:
Moved template instantiations to ace/Service_Types.cpp
* ace/Service_Types.cpp:
Added missing template instantiations for
ACE_Message_Queue_Iterator<>
* ace/Svc_Handler.cpp (flush):
Removed extra characters and the end of a #endif
Fixed warning about unused variable
Use right iterator for the Message_Queue
Wed Jun 09 10:11:29 1999 David L. Levine <levine@cs.wustl.edu>
* ace/config-g++-common.h: added #define of
ACE_NEW_THROWS_EXCEPTIONS, with egcs if ACE_HAS_EXCEPTIONS is
#defined. That allows ACE's New_Fail_Test to pass. Thanks
to Jake Hamby <jehamby@anobject.com> for providing the fix.
Tue Jun 8 22:44:18 1999 Douglas C. Schmidt <schmidt@tango.cs.wustl.edu>
* Hacked BYACC to generate a parser that doesn't have any
incorrect const char *'s. This clears the last major const
issue in libACE.
Tue Jun 8 20:46:05 1999 Matthew J Braun <mjb2@cs.wustl.edu>
* ace/Functor.i,h:
Migrated ACE_Hash template specializations to the ace type
wrappers (ACE_UINT16, etc).
Tue Jun 8 15:47:06 1999 Douglas C. Schmidt <schmidt@danzon.cs.wustl.edu>
* ace: Updated most of the places in ACE that can benefit from the
new ACE_Errno_Guard class.
* ace/OS.h: Added a new ACE_Errno_Guard class that improves
performance when thread-specific errno must be saved/restored in
a block of code. Thanks to Serge Kolgan <skolgan@cisco.com> for
motivating this and to Rick Weisner <Rick.Weisner@East.Sun.COM>
for explaining the technique to Serge.
* ace/Env_Value_T.h: Added a new ACE_Convert() function that works
for const char *'s. Thanks to David for reporting this.
Tue Jun 08 18:08:41 1999 Steve Huston <shuston@riverace.com>
* ace/OS.h: Added new overridable macro, ACE_LOCALHOST. This allows
overriding of the string used to do a loopback IP socket to the
local host. Some systems (e.g. PharLap ETS) don't have a host table
out of the box, and require an IP address string.
* ace/Pipe.cpp: Use the new ACE_LOCALHOST macro instead of a hard
"localhost" when using a socket to emulate a pipe. Thanks to
Bruce Trask <BTRASK@contactsystems.com> for working to get this
ironed out for PharLap ETS.
* README: Added Bruce Trask to the Hall of Fame ;-)
* tests/SOCK_Connector_Test.cpp: Check for failed host lookup
before trying to connect. Changed the way sethostent is done on
AIX 4.3 to work around an apparent bug in AIX 4.3.
Tue Jun 08 13:46:38 1999 Nanbor Wang <nanbor@cs.wustl.edu>
* ace/OS.h (wmain): Added a new macro to tweak the wchat_t version
of main program entry point to create the non-static
Object_Manager. This is only enabled if UNICODE and ACE_WIN32
is defined (although you can also use wmain under non-UNICODE
environment).
Mon Jun 07 14:34:53 1999 Nanbor Wang <nanbor@cs.wustl.edu>
* ace/CORBA_macros.h: The member function for dumping
TAO_Exception is changed to _tao_print_exception.
Tue Jun 08 14:44:07 1999 David L. Levine <levine@cs.wustl.edu>
* tests/Thread_Manager_Test.cpp (main): on Sun only, added 5
second sleep before the "main thread finished" printout. It
might help (but certainly doesn't prevent) avoid an occasional
thread lib panic on SunOS 5.5 through 5.7.
Tue Jun 08 14:01:51 1999 David L. Levine <levine@cs.wustl.edu>
* ACE version 4.6.41 released.
Tue Jun 8 12:42:56 1999 Douglas C. Schmidt <schmidt@tango.cs.wustl.edu>
* Fixed lots of brokens URL links. Thanks to Eric S Rosenthal
<esr@netcom.com> for reporting these.
Mon Jun 7 17:09:56 1999 Douglas C. Schmidt <schmidt@tango.cs.wustl.edu>
* examples/Naming/test_multiple_contexts.cpp (main): Added a cast
to resolve const problems. Thanks to David for reporting this.
* examples/Naming/test_writers.cpp (main): Fixed a typo. Thanks
to David for reporting this.
Mon Jun 7 14:21:48 1999 Kirthika Parameswaran <kirthika@cs.wustl.edu>
* tests/DLL_Test.cpp (main): ANSI C++ spec doesnt allow void * to
be typecasted to a function_pointer. Hence made changes to
remove the warning due to this. Thanks to Nanbor
<nanbor@cs.wustl.edu> for pointing it out.
Mon Jun 7 14:12:02 1999 Nanbor Wang <nanbor@cs.wustl.edu>
* ACE-INSTALL.html: Added a general section explaining the order
of user defined macros and platform config file. Thanks to
Stephen E Blake <stephen_e_blake@email.moore.com> for pointing
this out.
Mon Jun 07 10:55:12 1999 David L. Levine <levine@cs.wustl.edu>
* ace/config-osf1-4.0.h: added #define ACE_HAS_BROKEN_T_ERROR
to permit building again. Thanks to Doug for this fix.
Mon Jun 7 12:35:17 1999 Douglas C. Schmidt <schmidt@danzon.cs.wustl.edu>
* examples/Service_Configurator/IPC-tests/client: Fixed some more
warnings related to const-correctness. I believe that ACE is
now just about completely const-correct.
* examples/Service_Configurator/Misc/main.cpp (main): Cast to
(ASYS_TCHAR **) rather than (ASYS_THCAR *[]). Thanks to David
for reporting this.
* examples/IPC_SAP/DEV_SAP/writer/writer.cpp (main): Fixed a stray
comma. Thanks to David for reporting this.
* tests/Hash_Map_Manager_Test.cpp: Changed the use of ASYS_TCHAR *
to LPCTSTR to ensure const-correctness.
* netsvcs/lib: Reformatted all the *.h files to conform to the ACE
programming guidelines.
Sun Jun 6 22:02:43 1999 Douglas C. Schmidt <schmidt@tango.cs.wustl.edu>
* ace/OS.i (t_error): Fixed the broken t_error() usage on SunOS
5.5 and 5.6...
* ace/README: Added a new macro called ACE_HAS_BROKEN_T_ERROR to
workaround the frigging broken prototype for t_error() on
Solaris 2.5. Note that this macro is required for SunOS 2.5 and
2.6, but not SunOS 2.7 (thank goodness).
* Fixed gazillions of incorrect usages of char * (which should
have been const char *) throughout ACE.
* netsvcs/clients/Tokens: Fixed some const char * inconsistencies.
* netsvcs/lib/Name_Handler.h: Fixed another inconsistent use of
char * that should have been const char *.
* ace/Service_Config.h: Fixed a const incorrectness in the
ACE_Static_Svc_Descriptor.
* ace/Process.h (ACE_Process_Options): The parameter type of
command_line() should be LPCTSTR argv[] *not* LPTSTR argv[].
This fix should be ok as a further extension to what Carlos did
below.
Sun Jun 06 20:33:00 1999 Carlos O'Ryan <coryan@cs.wustl.edu>
* ace/SString.h:
Added missing ACE_Export macro
Sun Jun 6 20:34:40 1999 Carlos O'Ryan <coryan@cs.wustl.edu>
* ace/Synch.h:
* ace/Timer_Queue_T.h:
* ace/Timer_Queue.cpp:
* ace/Select_Reactor.cpp:
Moved explicit template instantiations around, now ACE compiles
and links with Sun/CC and inlining enabled. TAO does not.
Sun Jun 6 18:05:48 1999 Carlos O'Ryan <coryan@cs.wustl.edu>
* ace/Process.h:
* ace/Process.cpp:
Added const-correct version of the command_line() method, in the
future we should remove the non-const version, but I don't feel
like breaking an interface today.
Sun Jun 06 09:08:48 1999 David L. Levine <levine@cs.wustl.edu>
* PROBLEM-REPORT-FORM: added requests to not send
as attachment, or tar'red, compressed, and/or
uuencoded, or with line lengths >= 80 characters.
Sun Jun 06 08:08:11 1999 David L. Levine <levine@cs.wustl.edu>
* ace/Functor.{h,i} (ACE_Hash<ACE_UINT64>::operator ()):
conditionally compile only if ACE_SIZEOF_LONG is not 8,
to avoid conflict with ACE_HASH<unsigned long> on 64-bit
platforms (alphas).
Sat Jun 5 23:34:21 1999 Douglas C. Schmidt <schmidt@danzon.cs.wustl.edu>
* ace/Containers_T: Changed all uses of "index" to "slot" to avoid
conflicts with broken C++ compilers that define macros named
"index."
Sat Jun 5 22:57:31 1999 Carlos O'Ryan <coryan@cs.wustl.edu>
* ace/OS.h:
Added new macro (ACE_TEMPLATE_SPECIALIZATION) to handle the
differences between compilers supporting the standard way to
specialize a template (i.e. template<> class Foo<int>) vs. the
old style (just saying class Foo<int>).
Also added new macro ACE_HAS_STD_TEMPLATE_SPECIALIZATION that
platforms must define if they want the new style.
* ace/Filecache.cpp:
* ace/Functor.h:
Use the new ACE_TEMPLATE_SPECIALIZATION macro
* ace/config-sunos5.5.h:
Define the new ACE_HAS_STD_TEMPLATE_SPECIALIZATION for Sun/CC
5.0
* ACE-INSTALL.html:
Added some notes about our success with Sun/CC 5.0
Sat Jun 5 16:48:47 1999 Carlos O'Ryan <coryan@cs.wustl.edu>
* ace/config-irix6.x-common.h
* ace/config-irix6.x-sgic++-nothreads.h
* ace/config-irix6.x-sgic++.h
* include/makeinclude/platform_irix6.x-sgic++.GNU
* include/makeinclude/platform_irix6.x_common.GNU
* include/makeinclude/platform_irix6.x_g++.GNU
* include/makeinclude/platform_irix6.x_kcc.GNU
* include/makeinclude/platform_irix6.x_sgic++.GNU: On IRIX 6.5 we
must not define ACE_LACKS_NETDB_REENTRANT_FUNCTIONS, thanks to
Bob Laferriere <laferrie@gsao.med.ge.com> for pointing this out.
Created a new platform_*.GNU file that auto detects the IRIX
version (couldn't find a pre-processor macro to do it); also
renamed the platform_irix6.x-sgic++.GNU file to use underscore
instead of '-'; that way it is more consistent with the other
files.
Sat Jun 5 13:29:07 1999 Douglas C. Schmidt <schmidt@tango.cs.wustl.edu>
* ace/Codeset_IBM1047: Minor reformatting to conform to ACE
programming guidelines.
Sat Jun 5 13:00:46 1999 Carlos O'Ryan <coryan@cs.wustl.edu>
* ace/CDR_Stream.h:
* ace/CDR_Stream.i:
* ace/CDR_Stream.cpp:
New methods added to the InputCDR class to simplify the process
of reading a buffer from a socket or file.
Fri Jun 4 23:52:19 1999 Carlos O'Ryan <coryan@cs.wustl.edu>
* ace/CDR_Stream.h:
* ace/CDR_Stream.i:
* ace/CDR_Stream.cpp:
Added support for codeset translators.
Many thanks to Jim Rogers <jrogers@viasoft.com> for providing
these fixes.
* ace/Makefile:
* ace/Codeset_IBM1047.h:
* ace/Codeset_IBM1047.cpp:
A pair of codeset translators between IBM1047 (aka EBCDIC) and
ISO8859-1 (aka ISO-Latin-1)
* ace/config-mvs.h:
Define an ACE_MVS macro
Fri Jun 4 15:23:18 1999 Kirthika Parameswaran <kirthika@cs.wustl.edu>
* ace/Cached_Connect_Strategy_T.{h,i,cpp}: Removed common code by
making Cached_Connect_Strategy_Ex derive from
Cached_Connect_Strategy class.
Fri Jun 04 09:59:58 1999 Irfan Pyarali <irfan@cs.wustl.edu>
* docs/tutorials/tutorials.dsw: Fixed "_" to "-". Thanks to Tom
Bradley <thomas.bradley@maisel-gw.enst-bretagne.fr> for pointing
out this problem.
Fri Jun 4 09:02:35 1999 Aniruddha Gokhale <gokhale@sahyadri.research.bell-labs.com>
* ace/POSIX_Asynch_IO.cpp: Fixed a syntax error. There were two
consecutive commas in the ACE_DEBUG statement which were causing
syntax errors while compiling.
Fri Jun 4 00:28:07 1999 Alexander Babu Arulanthu <alex@cs.wustl.edu>
* ace/POSIX_Asynch_IO.cpp: Fixed the Linux egcs warning.
Thu Jun 3 17:05:36 1999 Kirthika Parameswaran <kirthika@cs.wustl.edu>
* ace/Cached_Connect_Strategy_T.h
* ace/Cached_Connect_Strategy_T.i
* ace/Cached_Connect_Strategy_T.cpp
Caching connection strategy used by the Strategy Connector.
* ace/Cache_Map_Manager_T.h
* ace/Cache_Map_Manager_T.i
* ace/Cache_Map_Manager_T.cpp
Map Manager which performs caching depending on the caching
strategy used.
* ace/Hash_Cache_Map_Manager_T.h
* ace/Hash_Cache_Map_Manager_T.i
* ace/Hash_Cache_Map_Manager_T.cpp
Hash_Map used as a specialised form of the Cache Map.
* ace/Caching_Strategies_T.h
* ace/Caching_Strategies_T.i
* ace/Caching_Strategies_T.cpp
Strategies used for caching purposes, example: Least Recently
Used.
* ace/Caching_Strategy_Utility_T.h
* ace/Caching_Strategy_Utility_T.i
* ace/Caching_Strategy_Utility_T.cpp
Helper class for the caching strategy classes which does the
purging of entries.
* ace/Cleanup_Strategies_T.h
* ace/Cleanup_Strategies_T.i
* ace/Cleanup_Strategies_T.cpp
Strategy which deals with destruction and cleanup in general.
* ace/Makefile
Added the above under the TEMPLATE_FILES.
* examples/Web_Crawler/Optimal_Cache_Map_Manager_T.h
* examples/Web_Crawler/Optimal_Cache_Map_Manager_T.i
* examples/Web_Crawler/Optimal_Cache_Map_Manager_T.cpp
* examples/Web_Crawler/Cached_Connect_Strategy_T.h
* examples/Web_Crawler/Cached_Connect_Strategy_T.i
* examples/Web_Crawler/Cached_Connect_Strategy_T.cpp
* examples/Web_Crawler/Caching_Strategies_T.h
* examples/Web_Crawler/Caching_Strategies_T.i
* examples/Web_Crawler/Caching_Strategies_T.cpp
Removed these files and added them to the ace library itself.
* examples/Web_Crawler/Command_Processor.cpp
* examples/Web_Crawler/Command_Processor.h
* examples/Web_Crawler/HTTP_URL.cpp
* examples/Web_Crawler/HTTP_URL.h
* examples/Web_Crawler/Iterators.h
* examples/Web_Crawler/Makefile
* examples/Web_Crawler/Mem_Map_Stream.cpp
* examples/Web_Crawler/Mem_Map_Stream.h
* examples/Web_Crawler/Options.h
* examples/Web_Crawler/URL.h
* examples/Web_Crawler/URL_Addr.h
* examples/Web_Crawler/URL_Status.h
* examples/Web_Crawler/URL_Visitor.cpp
* examples/Web_Crawler/URL_Visitor.h
* examples/Web_Crawler/URL_Visitor_Factory.h
* examples/Web_Crawler/Web_Crawler.h
* examples/Web_Crawler/main.cpp
Changed to include files pertaining to Caching and Connection
management from ace library.
Thu Jun 03 15:57:43 1999 Irfan Pyarali <irfan@cs.wustl.edu>
* ace/Strategies_T (ACE_Cached_Connect_Strategy): Allowed the user
to pass in a mutex. This allows the user to pass in a
preconfigured mutex of his/her liking. Since the parameters
default appropriately, no existing code should break.
* ace/Functor: Changed ACE_Hash<unsigned long long> specialization
to ACE_Hash<ACE_UINT64>.
Thu Jun 3 10:36:35 Matthew J Braun <mjb2@cs.wustl.edu>
* ace/Functor.i
* ace/Functor.h:
Added ACE_Hash <unsigned long long>. It truncates the ULongLong
to a ULong and returns it. Nothing major...
Wed Jun 2 17:50:23 1999 Carlos O'Ryan <coryan@cs.wustl.edu>
* include/makeinclude/platform_mvs.GNU:
Debugging info was not generated on the C++ files.
The -+ flag should be added to CPPFLAGS using +=
Thanks to Jim Rogers <jrogers@viasoft.com> for these fixes.
Wed Jun 02 16:11:34 1999 Nanbor Wang <nanbor@cs.wustl.edu>
* ace/TTY_IO.cpp (control): Commented out odd baud rates (56000,
128000, 256000) which don't seem to be supported on FreeBSD.
Wed Jun 02 00:07:44 1999 <alex@cs.wustl.edu>
* tao/test_cancel.dsp
* tao/post_completions.
* tao/test_end_event_lo
* tao/test_multiple_loo
* tao/test_proactor.dsp
* tao/test_proactor.dsw
* tao/test_timeout.dsp
* examples/Reactor/Proactor/test_cancel.cpp:
* examples/Reactor/Proactor/README:
* examples/Reactor/Proactor/Makefile:
Related to ChangeLog : Tue Jun 1 16:48:58 1999 Alexander Babu
Arulanthu <alex@cs.wustl.edu>
Tue Jun 1 21:44:05 1999 Carlos O'Ryan <coryan@cs.wustl.edu>
* include/makeinclude/platform_linux_lxpthread.GNU:
Added the rt library to the command line, ACE uses aynchronous
I/O by default on linux.
Tue Jun 1 16:48:58 1999 Alexander Babu Arulanthu <alex@cs.wustl.edu>
Ported <ACE_Asynch_Operation::cancel> to POSIX platforms based
on <aio_cancel> API. Made the return values consistent in both
WIN32 and POSIX platforms as follows.
All completion notifications for the I/O operations will occur
normally.
= Return Values:
-1 : Operation failed. (can get only in POSIX).
0 : All the operations were cancelled.
1 : All the operations were already finished in this
handle. Unable to cancel them.
2 : Atleast one of the requested operations cannot be
cancelled.
* ace/Asynch_IO.cpp
* ace/Asynch_IO.h
* ace/POSIX_Asynch_IO.cpp
* ace/POSIX_Asynch_IO.h
* ace/POSIX_Proactor.h
* ace/WIN32_Asynch_IO.cpp:
* ace/POSIX_Proactor.cpp:
* ace/config-linux-lxpthreads.h: Enabled the ACE_HAS_AIO_CALLS
flag for this platform.
Tue Jun 1 15:02:34 1999 Carlos O'Ryan <coryan@cs.wustl.edu>
* ace/Connector.h:
Documented the new connect() method
Tue Jun 01 11:18:03 1999 <alex@cs.wustl.edu>
* examples/Reactor/Proactor/test_end_event_loop.cpp:
* tao/post_completions.cpp
* tao/test_end_event_loop.cpp
* tao/test_end_event_loop.dsp
* tao/test_proactor.dsw
Fixed the link problems.
Tue Jun 1 09:57:42 1999 Douglas C. Schmidt <schmidt@tango.cs.wustl.edu>
* ace/TTY_IO.cpp (control),
* ace/config-freebsd.h,
ace/config-freebsd-pthread.h: Attached is a patch that will
allow the ACE_TTY_IO class to work with FreeBSD tty devices.
Thanks to John Aughey <jha@FreeBSD.ORG> for contributing these.
* ACE-INSTALL.html: Updated the list of platforms that ACE is
supported on.
Tue Jun 01 10:00:29 1999 David L. Levine <levine@cs.wustl.edu>
* ACE-INSTALL.html: updated Sun C++ and DU versions in fully
supported platforms list.
Mon May 31 22:45:18 1999 David L. Levine <levine@cs.wustl.edu>
* ace/config-lynxos.h: added ACE_HAS_GPERF.
Mon May 31 16:28:27 1999 Jeff Parsons <parsons@cs.wustl.edu>
* ace/CDR_Stream.h:
Added and updated some comments.
Mon May 31 16:13:21 1999 David L. Levine <levine@cs.wustl.edu>
* ace/Makefile: if ACE_COMPONENTS is equal to FOR_TAO,
override it with the proper component values. The
override allows it to be set on the command line, e.g.,
make ACE_COMPONENTS=FOR_TAO. Thanks to Carlos for
reporting this.
Mon May 31 14:00:21 1999 Steve Huston <shuston@riverace.com>
* ace/RB_Tree.i: Reverted changes from May 21. It broke the LynxOS
build of tests/RB_Tree_Test.
Mon May 31 11:51:03 1999 Douglas C. Schmidt <schmidt@tango.cs.wustl.edu>
* ace/CORBA_Handler.h: Updated the comments to clarify how to use
this class. Thanks to Ram Vishnuvajjala
<rvishnuvajjala@lucent.com> for motivating this.
* ace/Service_Config: Added a static variable called is_initialized
that keeps track of whether the <ACE_Service_Config> is already
initialized. If it is, we can't allow <yyparse> to be called
since it's not reentrant...
Sun May 30 14:08:48 1999 Ossama Othman <othman@cs.wustl.edu>
* ace/Makefile:
* ace/Vector.{h,i,cpp}:
* tests/Makefile:
* tests/Vector_Test.cpp: Removed the ACE_Vector implementation
from the distribution.
Sat May 29 14:14:37 1999 Ossama Othman <othman@cs.wustl.edu>
* ace/Vector.{h,i,cpp}: Added STL Vector-style insert() and
erase() methods. Also added a new constructor that creates an
ACE_Vector from a specified range of iterators. ACE_Vector
class is now Purify clean (i.e. fixed any and all memory leaks).
* tests/Vector_Test.cpp: Added tests for the newly added
ACE_Vector<T>::insert() and ACE_Vector<T>::erase() methods.
Fri May 28 20:19:50 1999 Ossama Othman <othman@cs.wustl.edu>
* ace/Vector.{h,i,cpp},
tests/Vector_Test.cpp: Implemented an ACE_Vector class based on
the ACE_Array class. It is not derived from it, however. The
ACE_Vector class provides an STL Vector-like interface. The
Vector_Test tests the important features of the ACE_Vector class
and sends output to `logs/Vector_Test.log'.
* ace/Makefile,
tests/Makefile: Added ACE_Vector related files to the makefiles
and updated the dependencies.
Thu May 27 15:50:17 1999 Ossama Othman <othman@cs.wustl.edu>
* ace/UNIX_Addr.cpp (set), Explicitly set the sun_family to
AF_UNIX, otherwise it will be zero by a previous call to
memset(). AF_UNSPEC, which is zero, is what the call to
memset() cause the sun_family to be.
Wed May 26 01:46:27 1999 Nanbor Wang <nanbor@cs.wustl.edu>
* include/makeinclude/platform_freebsd.GNU:
* include/makeinclude/platform_freebsd_pthread.GNU: Consolidated
platform macro files for FreeBSD.
* ace/config-freebsd-pthread.h:
* ace/config-freebsd.h: Added ACE_HAS_NONCONST_SELECT_TIMEVAL.
Tue May 25 21:38:40 1999 Carlos O'Ryan <coryan@cs.wustl.edu>
* ace/UNIX_Addr.cpp: The default constructor was not setting the
address family to AF_UNIX. Now that we do so we can let the OS
select a ephemeral UNIX domain endpoint for us.
Tue May 25 19:20:15 1999 Steve Huston <shuston@riverace.com>
* tests/run_tests.(sh bat): Added SOCK_Send_Recv_Test.
Tue May 25 16:54:41 1999 Jeff Parsons <parsons@cs.wustl.edu>
* tests/SOCK_Send_Recv_Test.cpp:
Fixed a signed/unsigned mismatch warning and
changed several uses of static_cast to
reinterpret_cast. This is a belated entry, I put it
first in TAO/ChangeLog by mistake.
Tue May 25 15:19:06 1999 David L. Levine <levine@cs.wustl.edu>
* include/makeinclude/platform_sunos5_ghs.GNU: added
-Xleaveg7 to CFLAGS with threads=1. It's necessary
to avoid execution problems in multithreaded programs.
Thanks to Stefaan Kiebooms <stefaan@ghs.com> for providing
this fix.
Tue May 25 13:40:10 1999 Ossama Othman <othman@cs.wustl.edu>
* ace/LSOCK_Acceptor.cpp (get_local_addr):
Only the base class members of ACE_UNIX_Addr were being copied
since the assignment lacked a dynamic cast. Thanks to Carlos and
Irfan for clarifying this.
Tue May 25 11:41:28 1999 Irfan Pyarali <irfan@cs.wustl.edu>
* ace/Timeprobe_T.h (class ACE_Timeprobe): Moved the default size
from Timeprobe_T.h to OS.h, where it can easily be redefined by
the user.
Tue May 25 07:37:47 1999 David L. Levine <levine@cs.wustl.edu>
* include/makeinclude/platform_osf1_4.0.GNU: removed suppression
of warning 839: no_corresponding_delete.
Mon May 24 14:04:11 1999 Steve Huston <shuston@riverace.com>
* tests/SOCK_Send_Recv_Test.cpp: New test to exercise ACE_SOCK send
and receive variations. It concentrates on recvv/sendv-like things
now in order to shake out Winsock 1.1 issues. To be complete, it
should be added to over time.
* tests/Makefile:
* tests/version_tests/{SOCK_Send_Recv_Test.dsp, version_tests.dsw}:
* tests/{SOCK_Send_Recv_Test.dsp, tests.dsw}: Add new test.
Mon May 24 12:11:03 1999 Irfan Pyarali <irfan@cs.wustl.edu>
* ace/OS.i (ACE_SOCKCALL_RETURN): Fixed macro by comparing against
FAILVALUE rather than SOCKET_ERROR. Some winsock calls don't
return SOCKET_ERROR. Thanks to Christopher Kohlhoff
<chris@kohlhoff.com> for reporting this problem.
Sun May 23 11:33:07 1999 Alexander Babu Arulanthu <alex@cs.wustl.edu>
Changes for the following enhancement in the Proactor
implementation. Enhanced the semantics of the <end_event_loop>,
so that when it is called, it wakes up all the threads blocked on
waiting for completions and end the event loop. Thanks to Edwin
D. Windes <ewindes@usa.net> for reporting the issue.
* ace/Proactor.h:
* ace/Proactor.cpp: Added static helper methods and states to post
the wakeup completions to the CompletionPort.
* ace/Asynch_IO.h:
* ace/Asynch_IO.cpp: Added a method <handle_wakeup> to the
ACE_Handler.
* ace/Object_Manager.cpp
* ace/Object_Manager.h: Added a new Thread_Mutex called
<ACE_PROACTOR_EVENT_LOOP_LOCK> to protect the thread count in
the event loop.
* ace/POSIX_Asynch_IO.cpp
* ace/POSIX_Proactor.cpp
* ace/POSIX_Proactor.h
* ace/Proactor.cpp
* ace/Proactor.h
* ace/Proactor_Impl.h
* ace/WIN32_Proactor.cpp
* ace/WIN32_Proactor.h:
Changes for posting wakeup completions.
* examples/Reactor/Proactor/test_end_event_loop.cpp:
* examples/Reactor/Proactor/test_end_event_loop.dsp:
* examples/Reactor/Proactor/post_completions.dsp:
* examples/Reactor/Proactor/Makefile: Test file the
<end_event_loop> enhancement.
Sat May 22 16:57:38 1999 Carlos O'Ryan <coryan@cs.wustl.edu>
* ace/FlReactor.cpp: Sun/CC doesn't like reinterpret cast when
converting from an int into an int; this is silly, but I cannot
use static_cast because on NT reinterpret_cast is the right
thing. Use old-style casts for the moment.
* tests/FlReactor_Test.cpp: Minor cosmetic fixes.
Sat May 22 16:36:14 1999 Chris Gill <cdgill@cs.wustl.edu>
* ACE version 4.6.40 released.
Sat May 22 14:53:47 1999 David L. Levine <levine@cs.wustl.edu>
* ace/Filecache.cpp: snagged another "template <>". Thanks to
Bala for reporting it.
Sat May 22 07:30:44 1999 David L. Levine <levine@cs.wustl.edu>
* ace/config-chorus.h,ace/config-lynxos.h: added
ACE_HAS_NONCONST_SELECT_TIMEVAL.
* ace/Filecache.cpp: commented out "template<>" for now. Not all
compilers can cope with it.
Fri May 21 21:12:37 1999 Irfan Pyarali <irfan@cs.wustl.edu>
* ace/Map_Manager.i (operator==): Since <map_man_> is a pointer
now, we must compare by value, rather than by address.
Fri May 21 12:56:38 1999 David L. Levine <levine@cs.wustl.edu>
* examples/IPC_SAP/SOCK_SAP/CPP-inclient.cpp: fixed to
build without threads: #ifdef ACE_MT_SAFE is insufficient.
Must also check if it is 0.
Fri May 21 12:45:32 1999 Carlos O'Ryan <coryan@cs.wustl.edu>
* ace/Map_Manager.i:
Fixed minor error in previous commit. Thanks to Irfan for
helping out with this.
Fri May 21 11:18:21 1999 Steve Huston <shuston@riverace.com>
* ace/config-hpux11.h: Added ACE_HAS_NONCONST_SELECT_TIMEVAL.
* ace/RB_Tree.i: Fully template-qualified references to node_ and
tree_ in iterators; makes HP aC++ happy.
Fri May 21 11:27:44 1999 Irfan Pyarali <irfan@cs.wustl.edu>
* ace/Map_Manager.h (class ACE_Map_Iterator_Base): Changed the
ACE_Map_Manager reference to a pointer. This way there is no
problem in reinitializing <map_man_>, and hence the compiler
will not have a problem in providing us a default assignment
operator. Thanks to Knut Johannessen <knutj@funcom.com> for
pointing out this problem.
* ace/Process: A nifty ACE::fork was added several months ago
which offers the option to avoid zombies, but it is not used in
ACE_Process::spawn.
Mark L. Boriack <mboriack@sito.saic.com> provided patches which
adds an <avoid_zombies_> data member to ACE_Process_Options,
appropriate accessor functions, and changes the ACE_OS::fork
call to ACE::fork in ACE_Process::spawn, making use of the
option. The default behavior is left unchanged, i.e., you get
zombies. Thanks Mark.
Fri May 21 10:34:10 1999 David L. Levine <levine@cs.wustl.edu>
* ace/gethrtime.cpp,Makefile (gethrtime on Green
Hills/VxWorks): reverted to building gethrtime.cpp with g++, because
the ghs assembly code didn't work properly.
Fri May 21 10:10:13 1999 Ossama Othman <othman@cs.wustl.edu>
* ACE-INSTALL.html: Updated information about building egcs' C++
shared libraries with an example, and emphasized the fact that
the `--enable-shared' configuration option is not an egcs
run-time option. Thanks to Wallace Owen <owen@visicom.com> for
motivating this.
Fri May 21 09:15:08 1999 Carlos O'Ryan <coryan@cs.wustl.edu>
* ace/config-sunos5.5.h:
Added ACE_HAS_NONCONST_SELECT_TIMEVAL here too
Fri May 21 07:53:58 1999 Steve Huston <shuston@riverace.com>
* ace/config-vxworks5.x.h, config-osf1-4.0.h: Added
ACE_HAS_NONCONST_SELECT_TIMEVAL.
Thu May 20 18:01:24 1999 Steve Huston <shuston@riverace.com>
* ace/Filecache.cpp: Added "template<>" to specializations.
* ace/OS.i (ACE_OS::select, ACE_OS::sleep): Removed implicit
dependency on binary object layout with regard to using an
ACE_Time_Value object as a struct timeval; use the timeval*
operator instead. On platforms with ACE_HAS_NONCONST_SELECT_TIMEVAL
don't just cast away const-ness of the ACE_Time_Value - modification
of the timeval by select() is not consistent, and Linux is not the
only one that modifies it (Solaris 7 does also, as well as AIX and
possibly HP; Solaris 2.5/6 don't specify). So, play it safe.
Inlining and optimization should prevent this from having any
affect on performance.
* ace/config-sunos5.5.h, config-hpux-10.x.h, config-aix-4.x.h:
Added #define ACE_HAS_NONCONST_SELECT_TIMEVAL.
Thu May 20 17:47:35 1999 Irfan Pyarali <irfan@cs.wustl.edu>
* ace/OS.h (ACE_DES_ARRAY_FREE_*): Added new macros to facilitate
proper destruction of arrays.
* ace/Containers_T.cpp (ACE_Array_Base): Changed ACE_Array_Base to
use the new ACE_DES_ARRAY_FREE_* macros in order to prevent the
memory leaks.
Thu May 20 17:46:02 1999 Nanbor Wang <nanbor@cs.wustl.edu>
* ace/ace_dll.dsp:
* ace/ace_lib.dsp: Fixed Alpha configurations. Thanks to
Christian Schuderer <Christian.Schuderer@erl9.siemens.de> for
reporting this.
Thu May 20 15:35:23 1999 Carlos O'Ryan <coryan@cs.wustl.edu>
* tests/TkReactor_Test.cpp:
It was not compiling if ACE_HAS_TK was not defined.
Thu May 20 15:33:21 1999 David L. Levine <levine@cs.wustl.edu>
* include/makeinclude/platform_vxworks5.x_ghs.GNU:
added (and default to) LIBS for Green Hills 1.8.9.
Thu May 20 14:34:59 1999 David L. Levine <levine@cs.wustl.edu>
* ace/config-sunos5.5.h: with Green Hills only, added
ACE_LACKS_ACE_IOSTREAM. ACE's IOStream_Test never halts
when built with Green Hills 1.8.9.
Thu May 20 14:21:44 1999 David L. Levine <levine@cs.wustl.edu>
* ace/OS.i: (t_getname): fixed comment after #endif, to
agree with the #ifdef.
Thu May 20 13:51:20 1999 Nanbor Wang <nanbor@cs.wustl.edu>
* ace/config-win32-common.h: I forgot to put '/**/' between
#include and <blah.h> which caused MSVC to generate warnings
when checking file dependencies. Thanks to Christian Schuderer
<Christian.Schuderer@erl9.siemens.de> for reporting this.
Thu May 20 13:52:04 1999 David L. Levine <levine@cs.wustl.edu>
* ace/config-sunos5.5.h: build with threads if
_POSIX_C_SOURCE >= 199506L or #ifdef _POSIX_PTHREAD_SEMANTICS.
Added #define ACE_LACKS_RWLOCK_T if _POSIX_PTHREAD_SEMANTICS
is #defined (and therefore ACE_HAS_STHREADS is not #defined).
The rwlock functions are a Solaris threads interface, and
are not POSIX.
* include/makeinclude/platform_sunos5_ghs.GNU: default to
building without threads support, because Green Hills 1.8.9
is incompatible with the SunOS threads libraries.
Thu May 20 12:12:01 1999 David L. Levine <levine@cs.wustl.edu>
* ace/OS.{h,cpp},Sched_Params.cpp: with ACE_HAS_PRIOCNTL,
moved #include of sys/{rt,ts}priocntl.h from OS.cpp and
Sched_Params.cpp to OS.h, so that USYNC_THREAD and USYNC_PROCESS
#defines can be protected effectively.
Thu May 20 11:19:45 1999 Joe Hoffert <joeh@cs.wustl.edu>
* ace/ATM_Addr.cpp: Added ACE_UNUSED_ARG for selector parameter
when appropriate.
Thu May 20 09:57:57 1999 Bill Rizzi <rizzi@softserv.com>
* ace/Log_Msg.{h,cpp},examples/Log_Msg/test_log_msg.cpp
(priority_mask): added optional support for process priority
mask, in addition to the (now default) thread priority mask.
Thu May 20 09:42:54 1999 David L. Levine <levine@cs.wustl.edu>
* ace/OS.h (fcntl): changed type of last argument from int to
long, to permit safer casting from pointer types.
* ace/OS.i (flock_*): use ACE_OS::fcntl instead of ::fcntl.
* ace/OS.cpp (ftruncate): use ACE_OS::fcntl instead of ::fcntl.
Thanks to an anonymous ACE user for reporting that
these functions weren't using ACE_OS::fcntl.
Wed May 19 23:50:18 1999 Nagarajan Surendran <naga@cs.wustl.edu>
* ace/TkReactor.{h,cpp}:
* ace/Makefile:
Added a new reactor implementation based on the Tcl/Tk Event
loop and event handling mechanism.
* ace/tests/TkReactor_Test.{cpp,tcl}:
* ace/tests/Makefile:
The Tk Reactor test and the tcl script for the GUI. This is
similar to the XtReactor_Test.
* ace/include/makeinclude/wrapper_macros.GNU:
* ace/include/makeinclude/platform_sunos5_sunc++.GNU
Added changes to Makefile flags for XtReactor.
Wed May 19 21:56:49 1999 David L. Levine <levine@cs.wustl.edu>
* ace/Message_Queue.h: fixed typo in comment: interrupt.
Wed May 19 21:34:29 1999 David L. Levine <levine@cs.wustl.edu>
* include/makeinclude/platform_osf1_4.0.GNU: removed these
warning suppressions:
174: expr_has_no_effect
610: nonoverriding_function_decl
They're certainly not needed with cxx 6.2-020, and
hopefully not needed with earlier versions.
Wed May 19 10:52:15 1999 Irfan Pyarali <irfan@cs.wustl.edu>
* examples/DLL/test_dll.cpp (main): Fixed auto pointer use. It
was causing "Temporary used for non-const reference" warnings.
Wed May 19 10:04:54 1999 Jeff Parsons <parsons@cs.wustl.edu>
* ace/SString.i:
Changed the default constructor to set rep_ to the
empty string instead of the null string. Thanks to
Knut Johannessen <knutj@funcom.com> for pointing
this out.
Wed May 19 06:34:58 1999 David L. Levine <levine@cs.wustl.edu>
* ace/config-minimal.h: added #define ACE_USE_THREAD_MANAGER_ADAPTER,
so that ACE_Thread_Exit isn't needed in the ACE_OS layer.
Tue May 18 22:03:49 1999 David L. Levine <levine@cs.wustl.edu>
* include/makeinclude/platform_osf1_4.0.GNU,platform_osf1_cxx.GNU:
removed suppression of warning 9 (nested comment not allowed) on
Digital Unix 5.0 and later.
Tue May 18 15:01:39 1999 Steve Huston <shuston@riverace.com>
* ace/ACE.cpp: Added #include "ace/SString.h" to catch def for
ACE_Tokenizer in Winsock 1.1 mode.
Tue May 18 13:30:55 1999 Nanbor Wang <nanbor@cs.wustl.edu>
* include/makeinclude/rules.nested.GNU: FOR is not an excutable on
Win32, therefore, we must bring in the command processor in to
use FOR. Thanks to David Hooker <DHooker@uniview.net> for
reporting the bug.
Tue May 18 11:46:55 1999 Douglas C. Schmidt <schmidt@tango.cs.wustl.edu>
* ace/FILE_Connector.h: Changed the default perms from 0 to
ACE_DEFAULT_FILE_PERMS.
Tue May 18 11:28:32 1999 Joe Hoffert <joeh@cs.wustl.edu>
* examples/IPC_SAP/TLI_SAP/CPP-ATM-server.cpp: forced
ACE_TLI_Stream's recv method to call ACE_OS::t_rcv rather than
ACE_OS::read to be compatible with XTI.
Tue May 18 11:00:15 1999 Douglas C. Schmidt <schmidt@tango.cs.wustl.edu>
* ace/Task_T: Moved the ACE_Buffered_Task logic out of the Task
abstraction since it doesn't belong there.
* ace/Makefile: Regenerated the dependencies.
* ace/FlReactor.cpp: We should be including <FL/Fl.h> rather than
"FL/Fl.h".
Tue May 18 10:42:47 1999 David L. Levine <levine@cs.wustl.edu>
* include/makeinclude/platform_osf1_4.0.GNU: removed
suppression of warning 1180, statement causes unreachable
return, because it's no longer necessary.
Tue May 18 10:38:53 1999 David L. Levine <levine@cs.wustl.edu>
* tests/Thread_Manager_Test.cpp: replaced Hash_Map_Manager
with a simple array. This avoids dynamic allocation in
the signal handler. And, it avoids having to specialize
ACE_Hash<ACE_hthread_t> on platforms that have a pthread_t
struct.
Tue May 18 09:33:46 1999 Douglas C. Schmidt <schmidt@tango.cs.wustl.edu>
* ace/FILE_IO: Added new sendv()/recvv() and sendv_n()/recvv_n()
methods to be consistent with SOCK_IO and SOCK_Stream.
* ace/SOCK_IO.cpp (recvv): Make sure to 0-out the iov_base so that
it's always ok to delete it, even if any of the internal
operations fail!
Tue May 18 10:14:47 1999 Carlos O'Ryan <coryan@cs.wustl.edu>
* ace/Makefile:
* ace/FlReactor.h:
* ace/FlReactor.i:
* ace/FlReactor.cpp:
* include/makeinclude/platform_linux_lxpthread.GNU:
* include/makeinclude/wrapper_macros.GNU:
* tests/Makefile:
* tests/FlReactor_Test.cpp:
Added new reactor implementation based on the event loop of the
Fast-Light toolkit, similar to the XtReactor.
FLTK is a GUI toolkit that works on UNIX/X-Windows and on Win32,
it is integrated to OpenGL and is pure C++.
Check http://fltk.easysw.org for more details.
Tue May 18 09:35:00 1999 David L. Levine <levine@cs.wustl.edu>
* tests/Thread_Manager_Test.{h,cpp},Makefile:
removed Thread_Manager_Test.h.
Mon May 17 22:39:06 1999 David L. Levine <levine@cs.wustl.edu>
* tests/Thread_Manager_Test.cpp: added a couple more
explicit template instantiations. Thanks to Carlos
for reporting that they're needed on Irix. And,
added an ACE_Hash<ACE_hthread_t> specialization to
keep DU cxx happy.
Mon May 17 16:31:16 1999 Douglas C. Schmidt <schmidt@tango.cs.wustl.edu>
* ace/Task_T.cpp,
ace/OS.h: Removed ACE_DEFAULT_WRITEV_MAX and replaced it
with IOV_MAX.
Mon May 17 15:49:48 1999 David L. Levine <levine@cs.wustl.edu>
* config-dgux-4.x-ghs.h,config-vxworks5.x.h,config-ghs-common.h:
factored ACE_LACKS_SIGNED_CHAR to config-ghs-common.h.
* config-dgux-4.x-ghs.h: removed ACE_LACKS_ACE_IOSTREAM.
It should work now, though we don't have that platform
to verify it.
Mon May 17 15:08:45 1999 Carlos O'Ryan <coryan@cs.wustl.edu>
* ace/CORBA_macros.h:
Fixed implementation of the ACE_READ_GUARD_THROW_EX and
ACE_WRITE_GUARD_THROW_EX macros.
Mon May 17 15:12:54 1999 David L. Levine <levine@cs.wustl.edu>
* test/Thread_Manager_Test.cpp: use a hash map, instead of
TSS, to store each thread's indication of whether it has
been signalled. That way, the signal handler doesn't have
to access TSS. Increased the delay from 1 to 2 seconds after
the signal test, which also seems to help avoid thread lib
panics on Solaris.
Mon May 17 14:02:01 1999 David L. Levine <levine@cs.wustl.edu>
* tests/Conn_Test.cpp (handler): added comment saying that even
the ACE_OS::exit () call isn't safe.
Mon May 17 10:31:04 1999 Nanbor Wang <nanbor@cs.wustl.edu>
* ace/Service_Repository.cpp (find_i): A missing pointer check was
causing the remove method to segfault. Thanks to Tom Arbuckle
<arbuckle@uran.informatik.uni-bonn.de> for pointing this out.
Mon May 17 10:21:29 1999 David L. Levine <levine@cs.wustl.edu>
* tests/TSS_Test.cpp: removed the signal handler. It
wasn't used for the test, and contained an ACE_DEBUG.
Mon May 17 10:12:45 1999 David L. Levine <levine@cs.wustl.edu>
* ace/config-chorus.h,config-dgux-4.x-ghs.h,config-sunos5.5.h,
config-vxworks5.x.h,config-ghs-common.h:
factored out Green Hill-specific #defines to config-ghs-common.h.
Mon May 17 09:07:41 1999 David L. Levine <levine@cs.wustl.edu>
* tests/Conn_Test.cpp (handler): commented out unused arg
"signum".
Sun May 16 20:38:58 1999 Nanbor Wang <nanbor@cs.wustl.edu>
* ace/CDR_Stream.{h,i} (current): Added this accesor function for
Flick IDL compiler. Thanks to Tim Stack <stack@aros.net> for
recommending this.
Sun May 16 20:08:41 1999 David L. Levine <levine@cs.wustl.edu>
* tests/Thread_Manager_Test.cpp (handler,worker):
moved ACE_DEBUG out of signal handler. It was
causing occasional lockups on SunOS. Signal
handlers must never do anything that could cause
a lock to be acquired.
* tests/Conn_Test.cpp (handler): removed ACE_DEBUG.
Sun May 16 20:04:09 1999 David L. Levine <levine@cs.wustl.edu>
* ace/OS.h: moved #include of ace/Trace.h to before #include of
ace/OS.i.
* ace/OS.{i,cpp}: enabled ACE_TRACE for most functions (except
those that are used by ACE_TRACE).
Sun May 16 19:54:10 1999 Alexander Babu Arulanthu <alex@cs.wustl.edu>
* ace/config-sunos5.7.h: Comments
* ace/config-sunos5.6.h: Comments
* ace/POSIX_Asynch_IO.cpp:
* ace/POSIX_Proactor.h:
* ace/POSIX_Proactor.cpp: - Using ACE_dynamic_cast to get
<ACE_POSIX_Asynch_Result *> from <aiocb *> gives build errors on
egcs. <ACE_reinterpret_cast> is not the correct solution for
this. Solved this problem by having one more list of
<ACE_POSIX_Asynch_Result *> so that we dont have to do any
casting.
* ace/Proactor.cpp (ACE_Proactor): Indentation.
* examples/Reactor/Proactor/post_completions.cpp: Added template
pragma's.
Sun May 16 18:35:59 1999 Douglas C. Schmidt <schmidt@cs.wustl.edu>
* ACE version 4.6.39 released.
Sun May 16 12:34:48 1999 David L. Levine <levine@cs.wustl.edu>
* ace/Log_Msg.cpp (ACE_Log_Msg_Manager::lock_): changed
the lock type from ACE_Thread_Mutex to
ACE_Recursive_Thread_Mutex. This allows ACE_Log_Msg's
methods to be called after calling ACE_Log_Msg::acquire (),
without deadlock. Thanks to Bill Rizzi <rizzi@softserv.com>
for suggesting this.
Sat May 15 08:30:43 1999 David L. Levine <levine@cs.wustl.edu>
* ace/Containers.h: added #include of ace/Malloc_Base.h.
It's needed for the definition of ACE_Allocator when
instantiating container classes.
Sat May 15 03:32:02 1999 Nanbor Wang <nanbor@cs.wustl.edu>
* ace/CDR_Stream.h: Added #include of ace/SString.h.
Fri May 14 23:05:32 1999 David L. Levine <levine@cs.wustl.edu>
* ace/Log_Record.h: removed unnecessary #include of ace/SString.h.
Fri May 14 21:11:46 1999 Carlos O'Ryan <coryan@cs.wustl.edu>
* ace/Task_T.h:
* ace/Task_T.cpp:
Fixed syntax errors in ACE_Buffered_Task
Fri May 14 21:03:30 1999 Carlos O'Ryan <coryan@cs.wustl.edu>
* netsvcs/lib/Log_Message_Receiver.cpp:
Changed ACE_Guard instantiations with ACE_GUARD() macros to
avoid some warnings with egcs, similar to the problem that David
had with Message_Queue_T.cpp
Fri May 14 19:31:04 1999 Ossama Othman <othman@cs.wustl.edu>
* ace/Message_Block.cpp (total_size):
Corrected warning caused by assignment to non-const from const.
* ace/Message_Queue_T.cpp (close):
Temporary variable wasn't declared.
* ace/Message_Queue_T.cpp (remove_messages):
Removed unused variable.
Fri May 14 19:16:06 1999 Ossama Othman <othman@cs.wustl.edu>
* ace/Task_T.cpp (put, flush):
Corrected syntax errors where return type was placed before
template keyword.
Fri May 14 16:46:42 1999 Douglas C. Schmidt <schmidt@tango.cs.wustl.edu>
* ace/Task_T: Added a new class called ACE_Buffered_Task that
buffers up its ACE_Message_Blocks until (1) the buffer is full
or (2) a timeout elapses, at which point the buffers are written
out using some type of writev()-like mechanism.
* ace/OS.h: Added a new macro called ACE_DEFAULT_WRITEV_MAX, which
defaults to the maximum value that writev() can have.
* ace/Message_Block.cpp: Added a new method called total_size()
that returns the total number of bytes in a composite
Message_Block (i.e., a Message_Block that has a chain of
Message_Blocks).
* ace/Message_Queue_T.cpp: Reimplemented all the hand-coded loops
to use the new ACE_Message_Block::total_size() method.
Fri May 14 16:17:27 1999 Nanbor Wang <nanbor@cs.wustl.edu>
* ace/Synch.h (ACE_Null_Mutex>): Conditionally compiles ~ACE_Guard()
destructor. Win32 needs this definition.
Fri May 14 16:10:29 1999 David L. Levine <levine@cs.wustl.edu>
* ace/Message_Queue_T.cpp: replaced raw ACE_Read_Guards
with ACE_READ_GUARD_RETURN macros. That avoids a compiler
warning (egcs 1.1.1/SunOS 5.7) now that the ACE_Guard<Null_Mutex>
destructor has been removed. Thanks to Irfan and Carlos
for suggesting this fix.
Fri May 14 15:35:50 1999 Irfan Pyarali <irfan@cs.wustl.edu>
* ace/ACE.cpp (clr_flags and set_flags): We should use ioctl()
calls to implement on vxworks this rather than fcntl(). Thanks
to Joseph A. Condlin <jac@slpmbo.ed.ray.com> for reporting this.
Fri May 14 13:15:02 1999 Joe Hoffert <joeh@cs.wustl.edu>
* examples/IPC_SAP/TLI_SAP/Makefile: Took out FORE specific
information. Somehow my local changes got checked in - this is
to undo that.
Fri May 14 12:58:02 1999 Joe Hoffert <joeh@cs.wustl.edu>
* ace/ATM_Addr.h:
* ace/ATM_Addr.i:
* ace/ATM_Addr.cpp: Added accessor methods for the selector byte
of an ATM address.
* examples/IPC_SAP/TLI_SAP/CPP-ATM-client.cpp:
* examples/IPC_SAP/TLI_SAP/CPP-ATM-server.cpp: Modify example code
to have the user optionally specify the selector byte.
Fri May 14 12:47:38 1999 David L. Levine <levine@cs.wustl.edu>
* ace/Addr.cpp,ace/Synch_Options.cpp: added comments about
the static objects.
Fri May 14 11:36:05 1999 Carlos O'Ryan <coryan@cs.wustl.edu>
* ace/SString.h:
* ace/SString.i: Added new class to auto destroy dynamically
allocated strings, sort of a mixing between auto_ptr and
CString. Auto_Ptr_Array was not useful because we need to free
using ACE_OS::free() (and in the future allocators).
Fri May 14 10:37:49 1999 Douglas C. Schmidt <schmidt@tango.cs.wustl.edu>
* ace/OS.i: Fixed a deadlock in cond_timedwait()/cond_broadcast().
Thanks to Brian C. Olson <bolson@rtlogic.com> for reporting
this.
* ace/Synch.h (ACE_Null_Mutex>): Commented out the ~ACE_Guard()
destructor to prevent segfaults on certain versions of SunC++.
Thanks to Russ Noseworthy for reporting this bizarre bug!
Fri May 14 09:51:55 1999 Carlos O'Ryan <coryan@cs.wustl.edu>
* ace/Message_Block.h:
* ace/Message_Block.cpp:
Modified default constructor and constructor taking a Data_Block
to also take an Allocator.
Fri May 14 09:14:55 1999 David L. Levine <levine@cs.wustl.edu>
* include/makeinclude/platform_osf1_cxx.GNU:
added $(ACELIB) to SOFLAGS for DU 5.x. It should
have been there all along.
Thu May 13 17:27:14 1999 Nanbor Wang <nanbor@cs.wustl.edu>
* netsvcs/servers/svc.conf:
* netsvcs/clients/Naming/Client/svc2.conf:
* netsvcs/clients/Naming/Client/svc2.conf: Removed relative paths
from all DLL's. They were hard-coded which was not portable.
ACE should figure out the correct path automatically.
* netsvcs/lib/Name_Handler.cpp: Replaced several calls to
ACE_WString::rep with ACE_WString::fast_rep to avoid memory
leaks. Thanks to Valery Arkhangorodsky
<valerya@servicesoft.com> for reporting this.
* ace/Registry.cpp (close): Only close <key_> when we do own a
key.
* netsvcs/lib/Name_Handler.cpp (resolve): The atype string needs
to be delete[]'ed once we are done with it. Thanks to Valery
Arkhangorodsky <valerya@servicesoft.com> for pointing this out.
Thu May 13 09:39:17 1999 David L. Levine <levine@cs.wustl.edu>
* tests/Makefile: added Tokens_Test to BIN2 if Tokens component
is not configured in. This ensures that Tokens_Test gets
cleaned up, even if the ace directory was realcleaned first
(and ACE_BUILD_COMPONENTS is therefore empty).
Thu May 13 07:24:41 1999 David L. Levine <levine@cs.wustl.edu>
* ace/POSIX_Proactor.cpp (handle_events): replaced
incorrect dynamic_cast with a reinterpret cast.
Wed May 12 17:42:09 1999 Carlos O'Ryan <coryan@cs.wustl.edu>
* ace/Message_Block.h:
* ace/Message_Block.cpp:
The message blocks can be obtained from an allocator now. Thanks
to John Aughey <Aughey@concentric.net> for this cool feature.
Wed May 12 16:24:17 1999 Alexander Babu Arulanthu <alex@cs.wustl.edu>
* examples/Reactor/Proactor/Makefile:
* examples/Reactor/Proactor/test_proactor.cpp:
* ace/POSIX_Proactor.cpp:
* ace/POSIX_Proactor.h:
* ace/Proactor.cpp :
* ace/POSIX_Asynch_IO.cpp: Fixed the problem with terminating the
Timer thread. Also, fixed the places where conversion between
void * and ACE_POSIX_Asynch_Result. Used ACE_reinterpret_cast at
these places.
Wed May 12 12:14:09 1999 Ossama Othman <othman@cs.wustl.edu>
* COPYING: Additional updates/clarifications suggested by Richard
Stallman.
Wed May 12 00:25:57 1999 Nanbor Wang <nanbor@cs.wustl.edu>
* ace/Thread_Manager.h (ACE_Thread_Manager): Added clarification
for the semantics differences among wait(), wait_grp() and
wait_task().
Tue May 11 18:11:51 1999 James C. Hu <jxh@entera.com>
* ace/config-sunos5.7.h: SunOS 5.7 (aka Solaris 7) does not have a
limited select.
Tue May 11 17:11:51 1999 David L. Levine <levine@cs.wustl.edu>
* tests/Conn_Test.cpp (spawn_threads): changed some ACE_NEW
statements to ACE_NEW_RETURN.
Tue May 11 15:43:30 1999 David L. Levine <levine@cs.wustl.edu>
* ace/OS.h: added ACE_THR_PRI_OTHER_DEF for NT, because MT_Cubit
uses it.
Tue May 11 14:45:08 1999 David L. Levine <levine@cs.wustl.edu>
* tests/Conn_Test.cpp: fixed use of status on platforms that lack
fork.
Tue May 11 14:10:29 1999 David L. Levine <levine@cs.wustl.edu>
* ace/config-osf-4.0.h: added #define of
ACE_NEW_THROWS_EXCEPTIONS, if exception handling is enabled.
* tests/New_Fail_Test.cpp: removed workaround for DEC cxx, and
modified error message to mention ACE_NEW_THROWS_EXCEPTIONS.
Tue May 11 12:02:03 1999 David L. Levine <levine@cs.wustl.edu>
* ace/config-win32-common.h: set __ACE_INLINE__ to 1 if not
#defined. It's scary when I trip over syntax errors on Win32
:-)
Tue May 11 10:00:00 1999 Chris Gill <cdgill@cs.wustl.edu>
* ace/OS.i: fixed name of unused argument for pSOS
* ace/RB_Tree.{cpp, h}: moved enumerated type from template to
non-templatized base class to make old g++ happy.
Mon May 10 22:59:46 1999 David L. Levine <levine@cs.wustl.edu>
* include/makeinclude/wrapper_macros.GNU: don't set VDIR to
.shobj/ for VxWorks, because it uses the same .o files for
static and shared libs.
* include/makeinclude/platform_vxworks5.x_g++.GNU: disable RTTI
for egcs, because the Tornado 1.0.x libs don't support it. No
harm in disabling for old g++.
Mon May 10 15:33:56 1999 Douglas C. Schmidt <schmidt@tango.cs.wustl.edu>
* ace/INET_Addr.cpp (string_to_addr): Fixed a mistake that
occurred when integrating Jerry D. De Master
<jdemaste@ipdinc.com> fix. Thanks to Zoran and Jerry for
reporting this.
Mon May 10 15:00:31 1999 Nanbor Wang <nanbor@cs.wustl.edu>
* ACE-INSTALL.html: Changed to use ACE_NO_INLINE to supress
inlining to match with the recent dsp file changes. Added a
link to Barry Hoggard's CORBA page which contains ACE related
MSVC setting hints.
* ace/Select_Reactor_Base.cpp (unbind): We need to make sure the
reactor's suspend_set_ also gets cleaned up when unbinding a
handler. Thanks to Casey Lucas <clucas@sabre.com> for pointing
this out.
Mon May 10 17:08:29 1999 James C. Hu <jxh@entera.com>
* ace/ACE.cpp:
* ace/config-sunos5.6.h:
* ace/README: Added support to enter_recv_timedwait,
enter_send_timedwait, handle_timed_complete, and
handle_timed_accept to use poll() instead of select() if poll()
is available and select() is known to have problems. Created
ACE_HAS_LIMITED_SELECT macro. Certain versions of SunOS 5.6 do
not correctly select on file descriptors that are larger than
1023.
Mon May 10 13:32:11 1999 David L. Levine <levine@cs.wustl.edu>
* tests/Conn_Test.cpp (spawn_threads): wait a maximum of 200
seconds. Carlos reported that the test sometimes hangs on Irix.
Mon May 10 12:14:00 1999 Chris Gill <cdgill@cs.wustl.edu>
* ace/RB_Tree.cpp: fixed a dangling pointer bug in
RB_Tree::delete_fixup. Added pointer tests to all dereferences
in this piece of code.
Mon May 10 11:35:18 1999 Ossama Othman <othman@cs.wustl.edu>
* COPYING: Made some updates suggested by Richard Stallman
<rms@gnu.org> of the Free Software Foundation
(http://www.fsf.org/).
Mon May 10 11:01:58 1999 David L. Levine <levine@cs.wustl.edu>
* tests/New_Fail_Test.cpp: DEC cxx catches its default,
NoNamedException. OK, I guess.
* tests/Upgradable_RW_Test.cpp: added -f option, which enables
FIFO thread scheduling. Some platforms require superuser
privilege to use it. Also, wait a maximum of 1 second per
iteration. And, replaced some u_longs with u_ints.
* tests/Thread_Manager_Test.cpp (main): wait a maximum of 60
seconds, because the test sometimes hangs on SunOS 5.5.1 and
SunOS 5.7.
Mon May 10 08:26:44 1999 David L. Levine <levine@cs.wustl.edu>
* bin/g++dep: added support for our Solaris 7 machines.
Sun May 9 18:07:24 1999 Ossama Othman <othman@cs.wustl.edu>
* acconfig.h:
* configure.in: Added support/tests for
ACE_LACKS_CHAR_RIGHT_SHIFTS and
ACE_LACKS_CHAR_STAR_RIGHT_SHIFTS.
* ace/README: Fixed typo. ACE_LACKS_LINEBUFFERED_STREAMBUF was
used twice. Corrected the appropriate one to
ACE_LACKS_UNBUFFERED_STREAMBUF.
Sun May 09 11:45:00 1999 Chris Gill <cdgill@cs.wustl.edu>
* ace/RB_Tree.cpp added explicit scoping to RB_SearchResult
parameter in RB_Tree<...>::find_node ().
Sun May 09 11:30:00 1999 Chris Gill <cdgill@cs.wustl.edu>
* ace/Makefile
examples/Connection/non_blocking/Makefile
examples/IPC_SAP/SPIPE_SAP/Makefile
examples/IPC_SAP/TLI_SAP/Makefile
examples/Reactor/Misc/Makefile
examples/Service_Configurator/IPC-tests/client/Makefile
examples/Service_Configurator/IPC-tests/server/Makefile
netsvcs/lib/Makefile
netsvcs/servers/Makefile
tests/Makefile: ran make depend after adding new RB_Tree
interface.
Sat May 08 19:30:00 1999 Chris Gill <cdgill@cs.wustl.edu>
* ace/RB_Tree.{cpp, h, i}
tests/RB_Tree_Test.cpp: finished implementing all methods for
the ACE_Hash_Map_Manager_Ex compliant interface, fixed a bug in
the internal tree search method (thanks to David Levine for
pointing this out), and added a new section to the test that
exercises the new bind and unbind methods.
Sat May 08 17:09:10 1999 David L. Levine <levine@cs.wustl.edu>
* apps/Gateway/Gateway/Event_Channel.cpp (bind_proxy,subscribe):
wrapped final return statement with ACE_NOTREACHED, to please DU
cxx 6.2.
Sat May 08 08:49:44 1999 David L. Levine <levine@cs.wustl.edu>
* ace/CDR_Stream.h: only use unsigned long for Boolean with Green
Hills 1.8.8 on Chorus, not 1.8.9.
* ace/IOStream.h,README: added ACE_LACKS_CHAR_STAR_RIGHT_SHIFTS
and ACE_LACKS_CHAR_RIGHT_SHIFTS support.
* ace/config-chorus.h: added ACE_LACKS_CHAR_STAR_RIGHT_SHIFTS
#define for g++.
* ace/config-vxworks5.x.h: added ACE_LACKS_CHAR_RIGHT_SHIFTS
#define for Green Hills 1.8.9.
Sat May 08 08:44:00 1999 Chris Gill <cdgill@cs.wustl.edu>
* ace/RB_Tree.{cpp, h, i}
tests/RB_Tree_Test.cpp
apps/JAWS/PROTOTYPE/HTTPU/http_headers.cpp: Added more
implementation code and necessary template instantiations for
migration of RB_Tree class templates to conform to the
ACE_Hash_Map_Manager API.
Sat May 08 03:59:52 1999 Nanbor Wang <nanbor@cs.wustl.edu>
* ace/config-win32-common.h: Re-ordered __ACE_INLINE__ macro check
and definition so users can turn of inlining correctly.
However, the right thing to do is to define ACE_NO_INLINE macro.
* ace/ace_{dll,lib}.dsp: Moved RB_Tree.cpp to template folder and
excluded it from being built.
* ace/ace_lib.dsp:
* performance-tests/Misc/basic_perf.dsp:
* performance-tests/Misc/context_switch_time.dsp:
* tests/version_tests/*.dsp: We should have used ACE_NO_INLINE
instead of defining __ACE_INLINE__=0 to supress the use of
inlining. Thanks to Nick Sawadsky
<Nick_Sawadsky@BrooksSoftware.com> for reporting this.
Fri May 07 23:05:24 1999 David L. Levine <levine@cs.wustl.edu>
* ace/config-vxworks5.x.h: added ACE_LACKS_LINEBUFFERED_STREAMBUF
for Green Hills 1.8.9.
* ace/README: added ACE_LACKS_LINEBUFFERED_STREAMBUF.
Fri May 7 19:39:43 1999 Carlos O'Ryan <coryan@cs.wustl.edu>
* ace/Message_Block_T.i: Found little buf in
ACE_Locked_Data_Block<> default constructor.
Fri May 07 16:54:00 1999 Chris Gill <cdgill@cs.wustl.edu>
* ace/RB_Tree.{cpp, h, i}: Reorganized and optimized internal
methods, added read and write guards, implemented all public
find and unbind methods for the interface comparable to
ACE_Hash_Map_Manager_Ex.
Fri May 07 14:40:12 1999 David L. Levine <levine@cs.wustl.edu>
* include/makeinclude/platform_osf1_cxx.GNU: added, to support
uniform use of cxx across different OS versions.
* ace/config-osf1-4.0.h: conditionally #define DIGITAL_UNIX, to
support definition in CFLAGS.
* ace/config-osf1.h: added, to support easy migration to DU 5.0.
Fri May 07 11:00:52 1999 David L. Levine <levine@cs.wustl.edu>
* ACE-INSTALL.html: OK on RedHat 6.0 Linux.
Fri May 07 08:58:47 1999 David L. Levine <levine@cs.wustl.edu>
* ace/OS.{h,i}: added some QNX support. In OS.i, this mostly
consisted of adding a !defined (ACE_LACKS_MUTEXATTR_PSHARED)
check to _POSIX_THREAD_PROCESS_SHARED. Thanks to Alain Magloire
<alain@qnx.com> for providing this support.
Thu May 6 21:48:26 1999 Ossama Othman <othman@cs.wustl.edu>
* acconfig.h:
* configure.in:
* ace/OS.h:
* ace/README:
* ace/config-hpux11.h:
* ace/config-irix6.x-g++.h:
* ace/config-irix6.x-kcc.h:
* ace/config-irix6.x-sgic++.h:
* ace/config-linux-lxpthreads.h:
* ace/config-osf1-4.0.h:
* ace/config-sco-5.0.0-mit-pthread.h:
* ace/config-sunos5.5.h: Removed all references to
ACE_HAS_PTHREAD_SIGMASK. This macro has been deprecated.
Thu May 6 20:12:57 1999 Ossama Othman <othman@cs.wustl.edu>
* acconfig.h:
* configure.in: Added tests/support for ACE_LACKS_PTHREAD_SIGMASK,
ACE_LACKS_TCP_NODELAY and ACE_LACKS_NULL_PTHREAD_STATUS. Thanks
to David for providing a test for ACE_LACKS_NULL_PTHREAD_STATUS.
Thu May 06 14:26:54 1999 David L. Levine <levine@cs.wustl.edu>
* ace/README,ace/Pipe.cpp (open): added support for
ACE_LACKS_TCP_NODELAY. Thanks to Alain Magloire <alain@qnx.com>
for providing the patch.
Thu May 6 14:23:14 1999 Carlos O'Ryan <coryan@cs.wustl.edu>
* ace/Synch_T.cpp: Removed ACE_ALLOC_HOOK_DEFINE macros for the
Guard<> objects, they don't need them (because they are
allocated on the stack) and the HOOK_DECLARE macros where not
used in the header file.
* bin/count_lines: Several new file types, fixed computations when
multiple modules are used.
Thu May 06 12:28:54 1999 David L. Levine <levine@cs.wustl.edu>
* docs/ACE-FMM.html: replaced a > with > and added RCS Id
string.
* ACE-INSTALL.html: added link to docs/ACE-FMM.html.
Thu May 06 12:23:51 1999 Steve Huston <shuston@riverace.com>
* ace/OS.i (recvv, sendv): Added code to make these functions work
on Win32 w/ Winsock 1.1.
Wed May 05 15:10:37 1999 David L. Levine <levine@cs.wustl.edu>
* ace/OS.h: added ACE_U_ONE_SECOND_IN_*SECS. They're typed and
unsigned. The old ACE_ONE_SECOND_IN_*SECS macros are retained
for backward compatibility.
Wed May 5 13:58:25 1999 Carlos O'Ryan <coryan@cs.wustl.edu>
* ace/OS.i: Don't use poll() for the implementation of
ACE_OS::sleep(), it has bad resolution and it gives wrong
results on Linux.
* tests/High_Res_Timer_Test.cpp: Added new option to run several
iterations of each interval.
Wed May 05 13:14:52 1999 Steve Huston <shuston@riverace.com>
* ace/ACE.cpp: Removed DllMain - Win32 does not have the gusto to
handle the initialization/finalization in this way. It causes
DLL dependency problems which result in early detachment of
winsock, and possible network data loss in some cases.
* ace/OS.cpp, Object_Manager.cpp: Clarified some comments
regarding multiple ACE_OS_Object_Manager and ACE_Object_Manager
objects in existence and how they're handled.
* tests/ACE_Init_Test.cpp: Always does ACE::init and ACE::fini
now. This is one example of how to handle a non-console program
in Win32.
Wed May 05 13:07:49 1999 David L. Levine <levine@cs.wustl.edu>
* bin/Makefile: replaced /bin/rm with $(RM) and removed clean
pseudotarget.
Tue May 04 20:38:00 1999 Chris Gill <cdgill@cs.wustl.edu>
* tests/RB_Tree_Test.cpp: Added missing explicit template
instantiations for ACE_RB_Tree_Iterator_Base. Thanks to Carlos
O'Ryan for reporting this.
* include/makeinclude/platform_psos_diab_ppc.GNU: added -g flag
back into debug flags since it can easily be deactivated via
make debug=0.
1999-05-04 Seth Widoff <swidoff@cs.cmu.edu>
* ace/Containers_T.cpp (ACE_Array_Base<T>::max_size): When
resizing the array to be larger, the max_size method was copying
in the contents of the older, smaller array, but not
initializing the new elements.
Tue May 4 17:37:30 1999 Kirthika Parameswaran <kirthika@cs.wustl.edu>
* examples/Web_Crawler/Options.cpp (parse_args): Change the
default options from "www.cs.wustl.edu" to "tao.cs.wustl.edu".
Tue May 04 16:24:00 1999 Chris Gill <cdgill@cs.wustl.edu>
* ace/RB_Tree.{cpp, h, i}: Added deprecation comments to methods
that are going to be replaced by the new Hash_Map_Manager
compliant interface. Factored out iterator base class, added
reverse iterator. Interim checkin since it all compiles and
RB_Tree_Test runs clean.
Tue May 04 15:56:41 1999 Steve Huston <shuston@riverace.com>
* ace/ACE.cpp: Re-enabled DllMain (see Mon May 3 entry from Chris
Gill).
* ace/OS.cpp, Object_Manager.cpp: In ACE_OS_Object_Manager and
ACE_Object_Manager, differentiate between The singleton instance
and other instances when allocating and freeing per-process
information.
* tests/run_tests.bat: Added ACE_Init_Test.
Mon May 3 18:04:32 1999 Alexander Babu Arulanthu <alex@cs.wustl.edu>
* examples/Reactor/Proactor/test_aiocb_ace.cpp: Added this
file. If this test is sucessful, ACE_POSIX_AIOCB_PROACTOR could
be defined for a platform.
Mon May 03 09:35:00 1999 Chris Gill <cdgill@cs.wustl.edu>
* ace/RB_Tree.cpp: fixed bug in ACE_RB_Tree::RB_delete_fixup in
which a null pointer was dereferenced while trying to determine
the color of the node that was being pointed to. Per the RB
Tree discussion in Cormen Lieserson and Rivest's "Introduction
to Algorithms", after which this implementation is modeled, a
nil node is implicity treated as having been colored BLACK.
Thanks to Long Hoang <LHoang@hwdcsaws.cahwnet.gov> for reporting
the problem and providing a test program that showed the bug.
Mon May 03 15:53:15 1999 David L. Levine <levine@cs.wustl.edu>
* include/makeinclude/platform_vxworks5.x_g++.GNU,
tests/run_tests.vxworks,ACE-INSTALL.html: added support for
shared lib builds. Thanks to Ramiro Penataro Blanco
<penataro@ll.iac.es> and James D. Rucker
<jdrucker@huey.jpl.nasa.gov> for figuring this out, and
providing detailed instructions for others to follow.
Mon May 03 15:20:00 1999 Kirthika Parameswaran <kirthika@bambuca.cs.wustl.edu>
* examples/Web_Crawler/main.cpp:
* examples/Web_Crawler/Web_Crawler.{h,cpp}:
* examples/Web_Crawler/Cached_Connect_Strategy_T.{h,i,cpp}:
* examples/Web_Crawler/Caching_Strategies_T.{h,i,cpp}:
* examples/Web_Crawler/Command_Processor.{h,cpp}:
* examples/Web_Crawler/HTTP_URL.{h,cpp}:
* examples/Web_Crawler/Iterators.{h,cpp}:
* examples/Web_Crawler/Mem_Map_Stream.{h,cpp}:
* examples/Web_Crawler/Optimal_Cache_Map_Manager_T.{h,i,cpp}:
* examples/Web_Crawler/Options.{h,cpp}:
* examples/Web_Crawler/URL.{h,cpp}:
* examples/Web_Crawler/URL_Addr.{h,cpp}:
* examples/Web_Crawler/URL_Status.{h,cpp}:
* examples/Web_Crawler/URL_visitor.{h,cpp}:
* examples/Web_Crawler/URL_Visitor_Factory.{h,cpp}:
* examples/Web_Crawler/Makefile
* examples/Web_Crawler/README
This example is a HTTP client which crawls over the link provided
and checks whether the links recusively are valid or not.
This example was used to test teh auto-purging feature where the
connections are removed from the connection cache when the process
runs out of file descriptors.
Mon May 03 14:46:28 1999 Steve Huston <shuston@riverace.com>
* tests/ACE_Init_Test.dsp: Fixed to build on all configurations (for
Intel anyway).
Mon May 03 10:30:37 1999 David L. Levine <levine@cs.wustl.edu>
* ACE version 4.6.38 released.
Mon May 3 09:56:06 1999 Douglas C. Schmidt <schmidt@tango.cs.wustl.edu>
* ace/INET_Addr.cpp (get_host_name): Make sure to check if
get_host_name() fails and do something useful in this case.
Thanks to Frank O'Dwyer <fod@brd.ie> for reporting this.
Mon May 03 09:35:00 1999 Chris Gill <cdgill@cs.wustl.edu>
* ace/ACE.cpp: disabled BOOL APIENTRY DllMain(HANDLE hModule,
DWORD ul_reason_for_call, LPVOID lpReserved) by having it
just return TRUE. This function is used only on NT. This
is a temporary workaround for the problem of tao_idl
crashing on NT, and will be replaced ASAP with a more
complete fix to Object Manager initialization/cleanup at
DLL load/unload time on NT. Thanks to David Levine for
suggesting this fix.
Mon May 03 09:27:54 1999 David L. Levine <levine@cs.wustl.edu>
* docs/ACE-guidelines.html: added guideline to put
spaces around comment delimiters. Thanks to Chris
Gill for suggesting this.
Sun May 02 14:36:43 1999 David L. Levine <levine@cs.wustl.edu>
* ace/OS.h: Added ghs back to the list of compilers for which
ACE_NOTREACHED disappears. It was causing warnings for
many ACE and TAO files.
Sun May 02 08:21:13 1999 David L. Levine <levine@cs.wustl.edu>
* ace/OS.i (pthread_sigmask): added ACE_UNUSED_ARGs to
NOTSUP case.
* ace/OS.i (pthread_sigmask),ace/config-chorus.h,ace/README:
added ACE_LACKS_PTHREAD_SIGMASK.
Sat May 01 17:33:04 1999 David L. Levine <levine@cs.wustl.edu>
* ace/OS.cpp,Object_Manager.cpp: reverted this change because
it causes a seg fault on NT:
Thu Apr 29 13:41:52 1999 Steve Huston <shuston@riverace.com>
* ace/{OS.cpp Object_Manager.cpp}: Fixed leaking ACE_Object_Manager
when config has #define ACE_HAS_NONSTATIC_OBJECT_MANAGER 0.
Sat May 01 12:06:57 1999 Nanbor Wang <nanbor@cs.wustl.edu>
* ace/ACE.cpp:
* ace/config-win32.h: Reverted my previous change. I didn't
notice David had already fixed it. Thanks David.
Sat May 01 01:48:29 1999 Nanbor Wang <nanbor@cs.wustl.edu>
* ace/ACE.cpp (DllMain): Only use DllMain to control
Object_Manager's lifecycle when
ACE_USES_DLL_TO_MANAGE_THE_LIFECYCLE_OF_OBJECT_MANAGER is
defined and we are building ACE as a DLL.
* ace/config-win32.h: Defining
ACE_USES_DLL_TO_MANAGE_THE_LIFECYCLE_OF_OBJECT_MANAGER =1, when
compiling DLL version of ACE will cause then ACE::init/fini be
called automatically for you in DllMain when ACE gets linked
in/unlinked.
Defining ACE_USES_DLL_TO_MANAGE_THE_LIFECYCLE_OF_OBJECT_MANAGER
=1 automatically define ACE_HAS_NONSTATIC_OBJECT_MANAGER to 1
and define ACE_DOESNT_INSTANTIATE_NONSTATIC_OBJECT_MANAGER.
Fri Apr 30 22:53:01 1999 David L. Levine <levine@cs.wustl.edu>
* ace/OS.h: put Object_Manager back on the stack of main,
instead of using ACE::init () and ACE::fini (). It
should be functionally equivalent, and then some: if
the user's main () returns, the Object_Manager will get
properly destroyed if it's on the stack. And, it's better
for subset support if we avoid class ACE calls from OS.h.
* include/makeinclude/rules.lib.GNU: cleaned up a bit.
Fri Apr 30 17:42:11 1999 Alexander Babu Arulanthu <alex@cs.wustl.edu>
* ace/OS.i (pthread_sigmask):
* ace/OS.h (ACE_OS): Added wrapper for <pthread_sigmask> to get
the Proactor code compile on LynxOS.
* ace/config-lynxos.h (ACE_HAS_AIO_CALLS):
Enabled ACE_HAS_AIO_CALLS for LynxOS. Also enabled
ACE_HAS_AIOCB_PROACTOR since LynxOS 3.0.0 has not got
<pthread_sigmask> yet, so signal proactor cannot work correctly.
* ace/POSIX_Proactor.cpp:
* examples/Reactor/Proactor/test_aiosig_ace.cpp
(setup_signal_delivery): Added ACE_OS:: scope to pthread_sigmask
so that it works (fails!!) correctly on LynxOS.
* examples/Reactor/Proactor/post_completions.cpp:
* examples/Reactor/Proactor/test_timeout.cpp: Added 'main'
function for platforms where only AIOCB_Proactor is enabled so
that the test prints out a message.
* examples/Reactor/Proactor/Makefile:
Fri Apr 30 14:44:12 1999 Darrell Brunsch <brunsch@cs.wustl.edu>
* ACE-INSTALL.html: Added a note about manually cleaning out the
ACE_wrappers directories on Win32, which could be required for a
true start from scratch build. Thanks to David Hooker
<DHooker@uniview.net> for this insight.
Fri Apr 30 14:06:41 1999 Douglas C. Schmidt <schmidt@tango.cs.wustl.edu>
* COPYING: Updated the COPYING file to reflect the use new of
ACE(TM) and TAO(TM).
Fri Apr 30 13:23:22 1999 Steve Huston <shuston@riverace.com>
* docs/tutorials/017/Barrier_i.cpp:
* docs/tutorials/018/token.cpp: Added explicit template
instantiations.
Fri Apr 30 12:11:36 1999 Ossama Othman <othman@cs.wustl.edu>
* ace/OS.i (gethostbyname2):
Added an IPv4-only implementation. If ACE_HAS_IP6 is not defined,
the IPv4-only implementation will be used.
Fri Apr 30 12:11:50 1999 Nanbor Wang <nanbor@cs.wustl.edu>
* tests/Basic_Types_Test.cpp: Added checks for sizeof(long) ==
sizeof(void*) and sizeof(long) >= sizeof (a_function_pointer).
Certain code in ACE depends on the assumptions.
Fri Apr 30 11:24:26 1999 Steve Huston <shuston@riverace.com>
* tests/ACE_Init_Test.cpp: Added compile-time change to adapt to
build w/ static ACE lib and ACE_HAS_NONSTATIC_OBJECT_MANAGER.
* tests/version_tests/ACE_Init_Test.dsp: Changes to build clean on
all configurations.
Fri Apr 30 02:06:53 1999 Nanbor Wang <nanbor@cs.wustl.edu>
* ace/Parse_Node.cpp (symbol): According to the new ANSI C++
specification, casting a void* pointer to a function pointer is
not allowed. However, casting a void* pointer to an integer
type that is large enough to hold the pointer value is legal. I
chose to cast the return value to long since it should be large
enough to hold the void* pointer's value on most platforms. I am
not sure if casting a long value to a function pointer is legal
or not (can't find a good explanation in spec) but it prevent
SunC++ 5.0 compilers from complaining about illegal pointer
conversion.
* ace/OS.h: Removed ACE_non_function_ptr_to_function_ptr_cast,
it is no longer needed.
Fri Apr 30 00:36:23 1999 Ossama Othman <othman@cs.wustl.edu>
* ace/Get_Opt.cpp:
* ace/TLI_Acceptor.cpp:
* ace/TLI_Connector.cpp:
Cast away const from string literals using ACE_const_cast to make
Sun C++ 5.0 happier.
Thu Apr 29 18:32:43 1999 Irfan Pyarali <irfan@cs.wustl.edu>
* ace/OS.h: Removed ghs from the list of compilers for which
ACE_NOTREACHED disappears. It was causing warnings for
TAO/orbsvcs/orbsvcs/Naming/Persistent_Context_Index_T.cpp.
Thu Apr 29 19:48:25 1999 Ossama Othman <othman@cs.wustl.edu>
* ace/OS.{h,i} (ACE_OS):
More IPv6 support. Added support for the new IPv4/IPv6
inet_ntop() and inet_pton() calls. If ACE_HAS_IP6 is not
defined, these calls will use IPv4 implementations (see
Stevens' book "UNIX Network Programming - Volume I") and
return an error if a family other than AF_INET is passed to
them.
* ace/OS.h:
Define INET_ADDRSTRLEN and INET6_ADDRSTRLEN if they don't
get defined after including <netinet/in.h>.
Thu Apr 29 18:32:43 1999 Ossama Othman <othman@cs.wustl.edu>
* ace/README:
* ace/OS.h (ACE_OS):
* ace/OS.i (gethostbyname2):
Added support for the gethostbyname2() system call. It is only
enabled if ACE_HAS_IP6 is defined. When I have time, I'll add
more IPv6 support.
Thu Apr 29 15:30:04 1999 Douglas C. Schmidt <schmidt@tango.cs.wustl.edu>
* ace/INET_Addr.cpp (string_to_addr): Added support to check for
both "port numbers" and "port names". Thanks to Jerry D. De
Master <jdemaste@ipdinc.com> for suggesting this.
* ace/Select_Reactor_T.h,
ace/Reactor.h,
ace/Select_Reactor_T.h,
ace/TP_Reactor.h (ACE_TP_Reactor): Updated the documentation to
clarify the purpose of the <restart> flag. Thanks to Susan
Liebeskind <shl@cc.gatech.edu> for reporting this.
Thu Apr 29 13:41:52 1999 Steve Huston <shuston@riverace.com>
* ace/{OS.cpp Object_Manager.cpp}: Fixed leaking ACE_Object_Manager
when config has #define ACE_HAS_NONSTATIC_OBJECT_MANAGER 0. Now
both ACE_OS_Object_Manager and ACE_Object_Manager remember if they
were dynamically allocated whether the above #define is used or not
and correctly clean up and track the singleton properly.
Thanks to David and Irfan for identifying this and helping with the
solution.
Wed Apr 28 20:21:12 1999 Irfan Pyarali <irfan@cs.wustl.edu>
* ace/Synch_T.h (class ACE_Anti_*_Guard): I had accidentally
checked in the anti guard classes. These are not needed since
we decided to stick with the reverse lock class rather than the
anti guard classes.
Wed Apr 28 18:02:36 1999 Nanbor Wang <nanbor@cs.wustl.edu>
* ace/OS.h: Added a new macro called
ACE_non_function_ptr_to_function_ptr_cast to get around some
compiler constrain. In face, ANSI C++ standard prevents casting
from a non-function pointer (e.g., void *) to a function
pointer. Currently, only egcs check for this condition.
* ace/Parse_Node.cpp (symbol): Changed to use the new
ACE_non_function_ptr_to_function_ptr_cast.
Wed Apr 28 16:53:16 1999 Alexander Babu Arulanthu <alex@cs.wustl.edu>
* examples/Reactor/Proactor/Aio_Platform_Test_C.cpp: Added this
file, a simple C version of the
$ACE_ROOT/tests/Aio_Platforms_Test.cpp. Useful for submitting bug
reports etc.
* ace/Proactor.cpp:
* ace/POSIX_Asynch_IO.cpp: Fixed old g++ warnings
Wed Apr 28 15:39:14 1999 Nanbor Wang <nanbor@cs.wustl.edu>
* ace/Parse_Node.cpp (symbol): Use reinterpret_cast to cast
dlsym's return value.
Wed Apr 28 12:40:26 1999 David L. Levine <levine@cs.wustl.edu>
* ace/Synch_T.{i,cpp} (~ACE_Reverse_Lock): uninlined destructor.
See docs/ACE-guidelines.html for an explanation of why a
class should have at least one non-inline, non-pure virtual
function if it has any virtual functions. egcs 1.1.1b
needed this one.
Wed Apr 28 09:02:26 1999 Douglas C. Schmidt <schmidt@tango.cs.wustl.edu>
* ace/config-sunos5.5.h: It appears that SunC++ 5.0 wants
ACE_HAS_THR_C_DEST to be defined.
* ace/SString: Clarified the comments a bit to avoid confusion.
Also, moved the definition of ACE_SString to AFTER ACE_CString
and ACE_WString since they are more general. Thanks to Kevin
Lyda <kevin.lyda@trintech.com> for reporting this.
Tue Apr 27 20:59:52 1999 Douglas C. Schmidt <schmidt@tango.cs.wustl.edu>
* netsvcs/clients/Naming: Moved the README file into the Client/
directory since that's what it described.
* netsvcs/clients/Naming/Client/Client_Test.cpp: Reformatted some
code to conform to ACE programming guidelines.
* ace/Naming_Context.cpp (parse_args): Oops, fixed a braino
related to strcmp(). Thanks to Valery Arkhangorodsky
<avalery@balisoft.com> for reporting this.
Tue Apr 27 18:00:31 1999 Steve Huston <shuston@riverace.com>
* ace/OS.cpp (ACE_OS_CString, ACE_OS_WString): Fixed one-off error
in allocating new string's memory.
Tue Apr 27 17:36:28 1999 Ossama Othman <othman@cs.wustl.edu>
* m4/threads.m4:
Restructured thread detection test so that it properly detects
threads on platforms that provide PTHREADS backward compatibility
macros, such as Digital Unix 4.0 and 5.0.
Tue Apr 27 18:56:00 1999 Chris Gill <cdgill@cs.wustl.edu>
* ace/Containers_T.{cpp, h}
tests/OrdMultiSet_Test.cpp: added a workaround for a problem with
implicit template instantiation and a do-nothing destructor
definition. Thanks to Sarmeesha Reddy <sreddy@tr.comm.mot.com> and
Steven Tine <stevent@tr.comm.mot.com> for reporting this.
* include/makeinclude/platform_psos_diab_ppc.GNU: changes to use
the board support package linker file. Thanks to Sarmeesha
Reddy <sreddy@tr.comm.mot.com> and Steven Tine
<stevent@tr.comm.mot.com> for contributing this change.
Tue Apr 27 16:30:57 1999 Ossama Othman <othman@cs.wustl.edu>
* ace/UNIX_Addr.h (ACE_UNIX_Addr):
Corrected typographical error in comment.
Tue Apr 27 12:57:06 1999 Ossama Othman <othman@cs.wustl.edu>
* configure.in:
Removed `tests/log/Makefile' from the list of files to
generate (i.e. removed from AC_OUTPUT macro call).
* tests/Makefile.am:
Corrected a typo. I neglected to add "_SOURCES" to the end
of the Collection_Test source variable variable. Also added
more missing tests to the list of test programs. Commented out
Cache_Manager_Test. It appears to need a header that doesn't
exist.
* ace/Makefile.am (pkginclude_HEADERS):
Removed `Timer_Queue.i' from the list of headers.
* bin/autogen:
* bin/bootstrap:
Renamed the `autogen' script to `bootstrap'.
Tue Apr 27 11:54:53 1999 Ossama Othman <othman@cs.wustl.edu>
* configure.in:
Temorarily removed my experimental C++ libtool support so that
I can get a semi-working test distribution out on the net.
* ltconfig:
* ltmain.sh:
Reverted to more stable version, i.e. w/o my C++ support.
* m4/threads.m4:
Added KAI C++ thread flag check.
Tue Apr 27 11:45:40 1999 Irfan Pyarali <irfan@cs.wustl.edu>
* tests/Collection_Test.cpp (main): Added some additional array
tests and fixed template instantiation errors. Thanks to David
Levine for pointing them out.
* ace/OS.h (ACE_DES_FREE): Changed all the ACE_DES* macros to
check for zero pointers. Thanks to Torsten Kuepper
<kuepper2@uni-wuppertal.de> for pointing this bug out.
Tue Apr 27 11:08:35 1999 Nanbor Wang <nanbor@cs.wustl.edu>
* ace/Basic_Types.h: Forced KAI compiler to use ACE_U_LongLong if
ACE_LACKS_LONGLONG_T is defined.
* ace/DLL.cpp:
* ace/Service_Config.i:
* ace/Service_Object.i:
* ace/INET_Addr.cpp: Some CE related changes.
Tue Apr 27 00:03:16 1999 Irfan Pyarali <irfan@cs.wustl.edu>
* tests/Collection_Test.cpp (main): Added test code for ACE_Array.
Mon Apr 26 23:55:43 1999 Irfan Pyarali <irfan@cs.wustl.edu>
* ace/Synch_T.h (class ACE_Reverse_Lock): Removed constructor that
created the lock. There were two reasons for this: (a) it was
unrealistic that the reverse lock would own and create the
regular lock and (b) this constructor made it impossible that
ACE_Reverse_Lock can be used with ACE_Lock (the abstract
class). Thanks to Carlos for pointing this out.
Mon Apr 26 21:43:23 1999 Ossama Othman <othman@cs.wustl.edu>
* ace/Makefile.am (pkginclude_HEADERS, libACE_IPC_la_SOURCES):
Added ATM_Addr sources to these variables.
* ace/Makefile.am (EXTRA_libACE_la_SOURCES):
Accidentally removed this variable. It is needed for
conditionally built sources, such as `gethrtime.cpp'.
* tests/Makefile.am:
Added newly added tests to the list of test programs to be built.
Changed "noinst_PROGRAMS" variable to "check_PROGRAMS" so that
tests only get built when a `make check' is issued by the user.
Mon Apr 26 19:29:25 1999 Ossama Othman <othman@cs.wustl.edu>
* tests/Reverse_Lock_Test.cpp (main):
ACE_START_TEST macro had "Thread_Mutex_Test" instead of
"Reverse_Lock_Test."
Mon Apr 26 17:01:22 1999 Steve Huston <shuston@riverace.com>
* ace/ACE.cpp (DllMain): Re-enabled this for use on Win32.
* ace/OS.h (main): On non-pSoS, use ACE::init, ACE::fini rather than
creating object manager instances on the stack. Allows a single
instance regardless of program type; especially helpful on Win32.
* ace/OS.cpp (ACE_OS_Object_Manager ctor):
* ace/Object_Manager.cpp (ACE_Object_Manager ctor):
Don't set instance_ if it was already set. So if two
ACE_Object_Manager instances end up getting created, the first one
stays The Instance, and the second gets used privately by its
creator. Previously, the original was forgotten. Thanks to David
Levine for working out this and the above details with me to get the
Win32 crowd in business without platform-specific hacks.
Mon Apr 26 16:43:32 1999 Nanbor Wang <nanbor@cs.wustl.edu>
* ace/Asynch_IO_Impl.h (ACE_Asynch_[Read|Write]_File_Impl):
Declared the read/write pure virtual methods of
ACE_Asynch_[Read|Write]_Stream_Impl again in these class to
avoid KAI compiler's overwriting pure virtual function
warnings.
Mon Apr 26 10:54:23 1999 Carlos O'Ryan <coryan@cs.wustl.edu>
* ace/High_Res_Timer.h:
Moved the static method hrtime_to_tv to the public section. It
is useful outside this class.
* ace/Synch_T.cpp:
The default constructor for ACE_Reverse_Lock should not allocate
the locking mechanism, otherwise it cannot work with ACE_Lock.
Mon Apr 26 07:30:51 1999 Nanbor Wang <nanbor@cs.wustl.edu>
* ace/OS.i (fstat): Changed to use CE's implementation and added
some features that're supported on other Win32 platforms. The
original implementation for Win32 closed down the file handle
accidentally which is not a "Good Thing[TM]". Thanks to Dominic
Williams <dom@connected-place.co.uk> for pointing this out.
Sun Apr 25 21:35:37 1999 David L. Levine <levine@cs.wustl.edu>
* ace/ACE.{h,cpp},OS.{h,cpp},Object_Manager.{h,cpp} (init,fini):
moved init_fini_count_ from ACE Object_Managers to ACE, so that
it is only used via ACE::init () and ACE::fini (). Thanks
to Steve Huston for pointing out that the old way didin't work
if an Object_Manager was created prior to starting main (),
and there were ACE::init ()/ACE::fini () calls in main ().
Sun Apr 25 16:59:21 1999 Nanbor Wang <nanbor@cs.wustl.edu>
* include/makeinclude/platform_sunos5_kcc.GNU: Fixed incorrect
compiler flags.
* ace/config-sunos5.7.h: Added definition of uint64_t on KAI.
* ace/config-kcc-common.h: Changed to use non-static object
manager.
Defined ACE_SIZEOF_LONGLONG. KAI compiler has type long long.
* ace/OS.h: ACE_NOTREACHED should expand to nothing on KAI
compiler.
* ace/CDR_Stream.h (ACE_CDR): KAI compiler doesn't have
longlong_t.
* ace/Basic_Types.h: KAI compiler should define ACE_UINT64 as
unsigned long long.
Sun Apr 25 14:52:18 1999 Douglas C. Schmidt <schmidt@tango.cs.wustl.edu>
* COPYING,
TAO/COPYING: Updated the ACE+TAO COPYING information to
emphasize the relationship to open source. Thanks to Malcolm
Spence <spence_m@ociweb.com> for suggesting the wording.
Sat Apr 24 23:03:31 1999 Alexander Babu Arulanthu <alex@cs.wustl.edu>
* ACE_wrappers/ace/POSIX_Asynch_IO.cpp
* ACE_wrappers/ace/POSIX_Asynch_IO.h
* ACE_wrappers/ace/POSIX_Proactor.cpp
* ACE_wrappers/ace/POSIX_Proactor.h
* ACE_wrappers/ace/Proactor.cpp
* ACE_wrappers/ace/Proactor.h
* ACE_wrappers/ace/Proactor_Impl.h
* ACE_wrappers/examples/Reactor/Proactor/Makefile
* ACE_wrappers/examples/Reactor/Proactor/README
* ACE_wrappers/examples/Reactor/Proactor/test_aiocb.cpp
* ACE_wrappers/examples/Reactor/Proactor/test_aiosig.cpp
* ACE_wrappers/examples/Reactor/Proactor/test_aiosig_ace.cpp
* ACE_wrappers/examples/Reactor/Proactor/test_proactor.cpp
* ACE_wrappers/examples/Reactor/Proactor/test_timeout.cpp
- Completed Multithreading of POSIX_SIG_Proactor.
- Introduced another constructor for ACE_POSIX_SIG_Proactor for taking
signal mask to be used with the Proactor.
- Thanks to Dave Butenhof <butenhof@zko.dec.com> for helping a lot to
understand the various things in the POSIX4 standard.
- Thanks to Dave suggestion of keeping null_handler for the sigaction
to real-time signals. With this and a couple of other correct POSIX
things SIG proactor is now working with in Solaris 2.7.
- Lynx OS doesnt support <pthread_sigmask>, so it couldnt be
multithreaded. Enabled AIOCB_Proactor for this platform.
- Added an example to make use of the real-time signal numbers for the
asynchronous I/O calls.
* examples/Reactor/Proactor/test_posix_sig_proactor.cpp: This
program demonstrates how to post fake completions to The
Proactor. It also shows the how to specify the particular
real-time signals to post completions.
* ace/config-lynxos.h: Enabled ACE_POSIX_AIOCB_PROACTOR for this
platform, since <pthread_sigmask> was not available. Without
<pthread_sigmask>, SIG_Proactor can not work correctly.
* ace/config-linux-lxpthreads.h: Removed ACE_HAS_AIO_CALLS. Even
simple aio calls test is hanging.
Sat Apr 24 13:09:27 1999 Douglas C. Schmidt <schmidt@tango.cs.wustl.edu>
* ace/Containers_T.h: Added allocator support to ACE_Array.
Thakns to Paul Francis <pfrancis@dkl.com> for contributing this.
* ace/Future.h (class ACE_Future): Make sure to mention that
get()'s ACE_Time_Value must be in absolute, not relative, time.
Thanks to Ian MacDonald <ianmacd@bg.com> for reporting this.
Sat Apr 24 07:24:51 1999 David L. Levine <levine@cs.wustl.edu>
* tests/Reverse_Lock_Test.cpp: removed ACE_Guard<ACE_SYNCH_MUTEX>
instantiation because it's in ace/Synch.cpp.
* ace/config-vxworks5.x.h: added ACE_THR_PRI_OTHER_DEF
#define, for use by MT_Cubit.
* ace/Object_Manager.cpp, OS.cpp (fini): unconditionally set
instance_ to 0 at the end. This allows init () to
work properly if called after fini (), such as for
repeated test on VxWorks. Thanks to Todd Mullanix
<Todd.Mullanix@sylantro.com> for reporting this.
Fri Apr 23 17:53:24 1999 David L. Levine <levine@cs.wustl.edu>
* include/makeinclude/platform_vxworks5.x_g++.GNU:
for PPC860, changed -m=860 to -mcpu=860. Thanks to
Todd Mullanix <Todd.Mullanix@sylantro.com> for reporting this.
Fri Apr 23 15:48:31 1999 James Hu <jxh@entera.com>
* ace/OS.h:
* ace/OS.i:
* ace/README:
* ace/config-sunos5.5.h: added support for the memchr
library call, and created ACE_HAS_MEMCHR macro.
Fri Apr 23 10:48:31 1999 David L. Levine <levine@cs.wustl.edu>
* tests/New_Fail_Test.cpp (main): added uses of the
two static functions when they're not otherwise used,
to prevent g++ warnings.
Fri Apr 23 09:11:24 1999 Carlos O'Ryan <coryan@cs.wustl.edu>
* tests/Reverse_Lock_Test.cpp:
Fixed template instantiation problems.
Thu Apr 22 21:39:44 1999 Ossama Othman <othman@cs.wustl.edu>
* tests/Makefile.am:
Added support to create the `tests/log' directory after
the tests have been built.
* tests/log/Makefile.am
The above change deprecates this Makefile.am file. Thanks to
Nanbor for motivating this change.
Thu Apr 22 20:50:30 1999 Jeff Parsons <parsons@cs.wustl.edu>
* ace/CDR_Stream.i: Modified reset() to reset all the message
blocks, instead of just the first one as it had previously done.
Thanks to Jerry D. De Master <jdemaste@ipdinc.com> for pointing
out the problem and suggesting a fix.
Thu Apr 22 19:40:52 1999 Steve Huston <shuston@riverace.com>
* ace/OS.h: Adjust exception thrown at out-of-memory for HP-UX, aC++.
* ace/config-hpux-10.x-hpc++.h: Add ACE_NEW_THROWS_EXCEPTIONS.
Thu Apr 22 19:30:01 1999 Irfan Pyarali <irfan@cs.wustl.edu>
* ace/Synch_T.h (class ACE_Reverse_Lock): Added an interesting
adapter class that changes a lock into a reverse lock, i.e.,
acquire() on this class calls release() on the lock, and
release() on this class calls acquire() on the lock.
One motivation for this class is when we temporarily want to
release a lock (which we have already acquired) but then
reaquire it soon after. An alternative design would be to add a
Anti_Guard or Reverse_Guard class which would release() on
construction and acquire() destruction. However, there are
*many* varieties of the Guard class and this design choice would
lead to at least 6 new classes. One new ACE_Reverse_Lock class
seemed more reasonable.
* tests/Reverse_Lock_Test.cpp: Test for the new ACE_Reverse_Lock
class.
* tests/Env_Value_Test.cpp (main): Fixed UNICODE string
concatenation problem.
* tests/version_tests: Added a bunch of missing project files.
* ace/ace_lib.dsp: Added missing files.
Thu Apr 22 19:10:52 1999 Steve Huston <shuston@riverace.com>
* ace/ATM_Addr.cpp: Put in class's consts for non-FORE platforms.
Thu Apr 22 17:05:36 1999 Nanbor Wang <nanbor@cs.wustl.edu>
* bin/auto_compile_win32.pl: Added version_tests.
* include/makeinclude/platform_sunos5_kcc.GNU: Makefile macros for
KAI C++ compiler.
* ace/config-sunos5.5.h: Added KAI C++ compiler support.
* docs/exceptions.html: Explicitly state that ACE try macros will
replace TAO try macros and advise users to take action if they
are still using TAO try macros. Thanks to Don Busch
<busch_d@ociweb.com> for pointing this out.
Thu Apr 22 15:07:10 1999 David L. Levine <levine@cs.wustl.edu>
* include/makeinclude/platform_vxworks5.x_g++.GNU:
added PPC860 support. Thanks to Todd Mullanix
<Todd.Mullanix@sylantro.com> figuring out how to
support it, with help from Thomas Mehrkam <Thomas_Mehrkam@i-o.com>
and Hai Vu <Hai_Vu@Mitel.Com>.
Thu Apr 22 13:26:26 1999 Irfan Pyarali <irfan@cs.wustl.edu>
* ace/XtReactor.cpp (remove_handler_i): In the registration phase,
we registered first with ACE_Select_Reactor and then with X.
Now we are now doing things in reverse order. Thanks to JM
Strauss <jms97@club-internet.fr> for contributing these changes.
Thu Apr 22 13:23:00 1999 Chris Gill <cdgill@cs.wustl.edu>
* include/makeinclude/platform_psos_diab_ppc.GNU: commented out -g
switch which was triggering a bug in the Diab 4.2b compiler when
compiling in debug information. This is supposed to be fixed in
the 4.3a release of the Diab compiler. The ACE tests all compile
now for pSOS/PPC. Thanks to Sarmeesha Reddy <sreddy@tr.comm.mot.com>
for reporting the bug to Diab and obtaining the workaround.
Thu Apr 22 10:46:17 1999 Steve Huston <shuston@riverace.com>
* apps/JAWS/server: Added $(ACELIB) to LDLIBS to build libJAWS on AIX
with xlC.
* tests/New_Fail_Test.cpp: Added __GNUG__ to the platforms which do not
actually perform the test; added some more explanation and a better
log message for when it doesn't actually run.
Thu Apr 22 10:28:39 1999 David L. Levine <levine@cs.wustl.edu>
* ace/config-minimal.h: removed suppression of ACE_TSS_EMULATION
and enable of ACE_USE_THREAD_MANAGER_ADAPTER. They're no
longer necessary with the clean OS.cpp.
Thu Apr 22 08:52:48 1999 Steve Huston <shuston@riverace.com>
* tests/New_Fail_Test.cpp: Fixed to compile clean without exceptions.
* tests/run_tests.{sh bat}: Added New_Fail_Test.
Wed Apr 21 16:41:08 1999 David L. Levine <levine@cs.wustl.edu>
* tests/Reactor_Performance_Test.cpp (main): added 10 second
time limit to run_event_loop () call. That prevents the
test from hanging forever if some of the connections
are lost.
* tests/Priority_Reactor_Test.cpp: default to 5 children
instead of 10 on LynxOS. Beyond 8, the test seems to
take forever on LynxOS 3.0.0.
* tests/run_tests.sh: enabled Reactor_Performance_Test,
Priority_Reactor_Test, Time_Service_Test, and Tokens_Test
on LynxOS.
Wed Apr 21 16:35:21 1999 Steve Huston <shuston@riverace.com>
* tests/New_Fail_Test.cpp: Test to be sure that the ACE_NEW[_RETURN]
stuff works correctly when heap is exhausted.
* tests/Makefile: Added New_Fail_Test.
* tests/tests.dsw, New_Fail_Test.dsp: Add new test to MSVC.
Wed Apr 21 15:35:44 1999 Steve Huston <shuston@riverace.com>
* ace/ACE.cpp: On Win32, with ACE_HAS_NONSTATIC_OBJECT_MANAGER, use
DllMain to do ACE::init() and ACE::fini().
* tests/ACE_Init_Test.dsp,
* tests/ACE_Init_Test.{cpp h},
* tests/ACE_Init_TestDlg.{cpp h},
* tests/ACE_Init_Test.(ico rc rc2 res},
* tests/ACE_Init_Test_(Resource StdAfx}.h: New test to be sure that
ACE DLL is initialized properly from an MFC app.
* tests/tests.dsw: Added ACE_Init_Test.dsp project.
Wed Apr 21 14:59:04 1999 David L. Levine <levine@cs.wustl.edu>
* ace/OS.cpp (ACE_OS_Object_Manager::fini): on LynxOS only,
disabled ACE_{recursive/thread}_mutex_destroy () calls, because
they failed on LynxOS in forked children. The prevents
the failure message from being printed, with no apparent
ill effect.
Wed Apr 21 10:06:11 1999 Steve Huston <shuston@riverace.com>
* include/makeinclude/platform_sunos5_sunc++.GNU: Moved -lthread from
the all-Orbix section to the MT-Orbix section for LIBS.
Wed Apr 21 09:25:16 1999 David L. Levine <levine@cs.wustl.edu>
* tests/Upgradable_RW_Test.cpp (main): replaced ACE_SCHED_FIFO
with THR_SCHED_FIFO in activate call. Thanks to Carlos for
finding this subtle error.
Wed Apr 21 03:34:18 1999 Douglas C. Schmidt <schmidt@cs.wustl.edu>
* ACE version 4.6.37 released.
Tue Apr 20 22:55:18 1999 David L. Levine <levine@cs.wustl.edu>
* ace/OS.i (thr_join): ifdef ACE_LACKS_PTHREAD_NULL_STATUS,
provide the address of a temporary variable for the status
argument of ::pthread_join (), if the caller passed 0.
* ace/config-lynxos.h,README: added ACE_LACKS_PTHREAD_NULL_STATUS.
LynxOS 3.0.0 fails ::pthread_join () calls with EFAULT
if the second (status) argument is 0.
Tue Apr 20 21:53:32 1999 Joe Hoffert <joeh@cs.wustl.edu>
* examples/IPC_SAP/TLI_SAP/Makefile: Had inadvertently checked in
local changes. Now undoing these changes.
Tue Apr 20 18:25:45 1999 Douglas C. Schmidt <schmidt@tango.cs.wustl.edu>
* ace/{SOCK,TLI,LSOCK,Asynch}_Acceptor.h: Replaced the use of the
hard-coded backlog value of 5 with ACE_DEFAULT_BACKLOG. Thanks
to Irfan for motivating this.
* ace/OS.h: Added a new (overriddable) macro called
ACE_DEFAULT_BACKLOG that's used to control the default number of
connections that can be accepted by an OS. The default value is
5.
Tue Apr 20 18:22:00 1999 Chris Gill <cdgill@cs.wustl.edu>
* ace/Map_T.i
ace/config-psos-diab-mips.h
ace/config-psos-diab-ppc.h
ace/config-psos-diab.h
include/makeinclude/platform_psos_diab_ppc.GNU
tests/Handle_Set_Test.cpp
tests/Process_Strategy_Test.cpp: fixed the remaining tests
for which compiler bug workarounds were available for pSOS
PPC with the Diab 4.2b compiler.
Tue Apr 20 16:41:39 1999 Nanbor Wang <nanbor@cs.wustl.edu>
* ace/Thread_Manager.cpp (num_tasks_in_group): Make sure we are
not searching for a null task. Thanks to Umar Syyid
<usyyid@hns.com> for pointing this out.
Tue Apr 20 15:10:33 1999 Irfan Pyarali <irfan@cs.wustl.edu>
* tests/Reactor_Performance_Test.cpp: Changed the default number
of connections (<opt_nconnection>) from 20 to 5 for NT. This
seems reasonable since the default backlog is 5. Once we have
the ability to set the backlog from the ACE_Acceptor class, we
can increase this number.
Tue Apr 20 13:55:34 1999 Joe Hoffert <joeh@cs.wustl.edu>
* ace/OS.i: Fixed ACE_OS::t_free to free memory if pointer is not
null.
* ace/TLI.h: Added default ACE_XTI_ATM_DEVICE.
* ace/TLI_Connector.cpp: Disabled non-blocking connects for XTI/ATM
since FORE's drivers have problems with this. Also, fixed t_alloc
memory leaks.
* ace/ATM_Addr.cpp: Added code formatting change.
* examples/IPC_SAP/TLI_SAP/CPP-ATM-{server,client}.cpp: Added
the use of ACE_XTI_ATM_DEVICE
Tue Apr 20 13:30:51 1999 Douglas C. Schmidt <schmidt@tango.cs.wustl.edu>
* ace/ace.icc: Added a configuration file for creating a shared
library with Visual Age C++.
Mon Apr 19 23:50:25 1999 Irfan Pyarali <irfan@cs.wustl.edu>
* tests/Time_Service_Test.cpp (main): Fixed error message.
* ace/Connector.cpp (handle_close): Removed unused argument
<mask>.
Mon Apr 19 17:17:47 1999 Steve Huston <shuston@riverace.com>
* docs/tutorials/tutorials.dsw: Fixed project file name for 019-021.
Mon Apr 19 17:02:42 1999 Irfan Pyarali <irfan@cs.wustl.edu>
* ace/Connector.cpp (handle_close): There is no need to call
cancel_timer() or remove_handler() from handle_close(). Removal
of all svc tuples from the <reactor> is done by <cleanup_AST>.
Mon Apr 19 16:45:54 1999 David L. Levine <levine@cs.wustl.edu>
* ace/OS.{h,cpp},Object_Manager.{h,cpp} (ACE_OS_Object_Manager,
ACE_Object_Manager: added static counter to match init ()/fini ()
calls. Don't destroy Object_Managers until final fini () call.
Thanks to Ian MacDonald <ianmacd@bg.com> for tracking down
the problem with multiple DLLs in a process. This change
delays destruction of the ACE_Object_Manager until the final
fini () call.
Mon Apr 19 15:24:55 1999 Douglas C. Schmidt <schmidt@tango.cs.wustl.edu>
* ace/TLI_Stream.cpp (ACE_TLI_Stream): Make sure to set the value
of rwflag_ to 0 so that purify is happy. Thanks to Joe Hoffert
for reporting this.
Mon Apr 19 14:35:42 1999 Irfan Pyarali <irfan@cs.wustl.edu>
* examples/IPC_SAP/UPIPE_SAP/ex2.cpp (supplier):
* examples/IPC_SAP/UPIPE_SAP/ex3.cpp (consumer):
Avoided annoying g++ warning about <auto_ptr> by explicitly
making a temporary. Thanks to David for pointing this out.
Sun Apr 18 21:52:43 1999 David L. Levine <levine@cs.wustl.edu>
* ace/config-linux-common.h: moved ACE_LACKS_MADVISE to
non-glibc section. Thanks to JM Strauss <jms97@club-internet.fr>
for reporting that it wasn't on a Linux system with a
2.0.35 kernel.
Sun Apr 18 16:36:30 1999 Ossama Othman <othman@cs.wustl.edu>
* ace/config-linux-common.h (ACE_LACKS_MADVISE):
Re-enabled #define ACE_LACKS_MADVISE. Linux doesn't appear
to have an madvise() system call.
* configure.in:
* tests/Makefile.am:
Added libtool support for modules (dlopened libraries).
Sun Apr 18 08:48:37 1999 David L. Levine <levine@cs.wustl.edu>
* ace/Auto_Ptr.i: reordered inline methods to avoid use before
definition. Fixed a few ACE_TRACE comments.
Sun Apr 18 00:26:28 1999 Irfan Pyarali <irfan@cs.wustl.edu>
* tests/Notify_Performance_Test.cpp (main):
* tests/Reactor_Performance_Test.cpp (main):
* tests/Priority_Reactor_Test.cpp (main):
Avoided annoying g++ warning about <auto_ptr> by explicitly
making a temporary. Thanks to David for pointing this out.
Sat Apr 17 18:52:38 1999 Irfan Pyarali <irfan@cs.wustl.edu>
* ace/Memory_Pool.cpp (acquire): Changed use of auto_ptr.
* ace/Auto_Ptr.i (operator=): Changed <a> to <rhs>. Thanks to
David Levine and Jean-Marc Strauss <strauss@club-internet.fr>
for reporting this.
Sat Apr 17 08:34:22 1999 David L. Levine <levine@cs.wustl.edu>
* examples/Naming/Makefile,performance-tests/Misc/Makefile,
tests/Makefile,all netsvcs Makefiles:
updated for proper support of ACE subsets, with BIN2/LIB2/SHLIB2.
Fri Apr 16 22:14:36 1999 Irfan Pyarali <irfan@cs.wustl.edu>
* ace/Auto_Ptr: Made several changes to bring the implementation
up to the specification:
- Made the constructors take non-const parameters.
- Made release() non-const.
- Added reset().
Thanks to Simeon Simeonov <simeons@allaire.com>, Rainer Blome
<blome@de.ibm.com>, Jody Hagins <jody@atdesk.com>, and John
Mulhern <John.Mulhern@lawson.com> for helping.
* tests/Reactor_Performance_Test.cpp: Updated to work with new
auto pointer implementation.
Fri Apr 16 19:36:35 1999 Alexander Babu Arulanthu <alex@cs.wustl.edu>
* ace/Proactor.h (ACE_Proactor): Switched the order of TIMER_QUEUE
and delete_implementation in the constructor.
* examples/Reactor/Proactor/test_multiple_loops.cpp: Fixed to work
on the WIN32 correctly. This can work only on WIN32 (combining
Proactor with Reactor's event loop). So I have put a #if defined
around the file.
Fri Apr 16 18:09:44 1999 Irfan Pyarali <irfan@cs.wustl.edu>
* tests/Conn_Test.cpp (server): If we timeout on accept(), it is
not an error, and should not be reported as one. Thanks to
Thomas Mehrkam <Thomas_Mehrkam@i-o.com> for pointing this out.
Fri Apr 16 13:08:49 1999 David L. Levine <levine@cs.wustl.edu>
* ace/OS.{h,cpp},ACE.{h,cpp}: (read_n,send_n,write_n): moved
from ACE to ACE_OS, so that the uses in OS.cpp could be localized.
The ACE versions are now just wrappers over the ACE_OS
versions, for backward compatibility. Thanks to
Erik Ivanenko <erik.ivanenko@utoronto.ca> for reporting
that OS.cpp used a couple of the ACE static member functions.
Fri Apr 16 10:13:14 1999 David L. Levine <levine@cs.wustl.edu>
* include/makeinclude/rules.nested.GNU,ACE-INSTALL.html: added
support for recursive make invocations with Windows NT's shell.
Thanks to Dave Steele <Dave_Steele@Mitel.COM> for diagnosing the
problem, and Tres Seaver <tseaver@palladion.com> for providing
the wild NT FOR command. Check it out, Darrell.
Fri Apr 16 07:52:11 1999 Darrell Brunsch <brunsch@cs.wustl.edu>
* ace/High_Res_Timer.cpp: Fixed my previous fix with
calibrate being called on Windows NT when a high-res
timer of 1 Mhz was being found. Calibrate should not
be called on NT now. Thanks to Zoran Ivanovic
<zorani@pathcom.com> for noticing this.
* ace/Profile_Timer.cpp: Integrated the patch from Andy
Marchewka <AndyM@who.net> for returning rusage information
from elapsed_time.
Thu Apr 15 16:50:21 1999 David L. Levine <levine@cs.wustl.edu>
* ACE-INSTALL.html: updated discussion of "dir unexpected"
error when building for VxWorks on NT. Thanks to
Dave Steele <Dave_Steele@Mitel.COM> for providing the
insight.
Thu Apr 15 14:04:36 1999 David L. Levine <levine@cs.wustl.edu>
* include/makeinclude/rules.lib.GNU: don't call $(RANLIB)
if it is null.
* include/makeinclude/platform_vxworks5.x_{g++,ghs}.GNU: removed
RANLIB definition, so that it will be null. This prevents
calling "true" on NT hosts.
Thanks to Thomas Mehrkam <Thomas_Mehrkam@i-o.com> for reporting
that his NT host doesn't have "true".
Thu Apr 15 14:00:00 1999 Chris Gill <cdgill@cs.wustl.edu>
* ace/OS.{h, i}: simplified the conditional compilation logic
for a couple of the pSOS-specific ACE_OS methods, removed a
handful of marker comments, added a conditional compilation
branch for pid_t declaration.
Wed Apr 14 22:40:08 1999 David L. Levine <levine@cs.wustl.edu>
* tests/run_tests.sh: call run_tests.check via sh, to support
platforms that don't have /bin/sh. Thanks to Thomas Mehrkam
<Thomas_Mehrkam@i-o.com> for reporting that his NT host doesn't
have /bin/sh.
Wed Apr 14 18:56:00 1999 Chris Gill <cdgill@cs.wustl.edu>
* ace/OS.{h, i}
ace/config-psos-diab-ppc.h
include/makeinclude/platform_psos_diab_ppc.GNU: changes to adapt
the pSOS Diab 68k/MIPS port to PPC. Many thanks to Sarmeesha
Reddy <sreddy@tr.comm.mot.com> and Steven Tine
<stevent@tr.comm.mot.com> for contributing these changes.
Wed Apr 14 17:06:22 1999 David L. Levine <levine@cs.wustl.edu>
* ace/config-vxworks5.x.h: added #define ACE_HAS_DLL 0.
Thanks to Thomas Mehrkam <Thomas_Mehrkam@i-o.com> for
reporting that it's necessary on NT hosts.
Wed Apr 14 13:10:48 1999 Alexander Babu Arulanthu <alex@cs.wustl.edu>
* ace/config-sunos5.7.h:
Enabled ACE_HAS_AIO_CALLS for Solaris
7. ACE_POSIX_AIOCB_PROACTOR works now on this.
* examples/Reactor/Proactor/test_aiocb.cpp: Updated comments.
* ace/config-sunos5.6.h: Removed the ACE_AIORETURN/ERROR macros.
* ace/Proactor.cpp (ACE_Proactor): Removed debug print statments.
* ace/config-lynxos.h: Removed the ACE_AIORETURN/ERROR macros.
* ace/POSIX_Proactor.cpp:
* ace/WIN32_Asynch_IO.h:
* ace/WIN32_Asynch_IO.cpp:
* ace/WIN32_Proactor.h:
* ace/WIN32_Proactor.cpp:
* ace/Proactor_Impl.h:
Completed committing changes related to the <signal_number>
additions done earlier.
Wed Apr 14 09:07:38 EDT 1999 Aniruddha Gokhale <gokhale@sahyadri.research.bell-labs.com>
* ace/POSIX_Proactor.cpp:
Several methods were missing the "int signal_number" parameter
that was added as mentioned in the log entry below. In addition,
an undefined ACE_SIG_AIO flag was used. I found a log entry in
ChangeLog-98b which says that ACE_SIG_AIO is ACE_SIGRTMIN. So I
replaced the 5 occurrences of ACE_SIG_AIO with ACE_SIGRTMIN.
Wed Apr 14 02:34:13 1999 Alexander Babu Arulanthu <alex@cs.wustl.edu>
Added additional parameter <int signal_number> to all the Asynchronos
Operation method so that we can specify which real-time signal should
be used for each of the Asynchronous Operation. This only makes sense
in the ACE_SIG_Proactor configuration.
* ace/Asynch_IO_Impl.h:
* ace/Asynch_IO.h:
* ace/Asynch_IO.cpp:
* ace/POSIX_Asynch_IO.h:
* ace/POSIX_Asynch_IO.cpp:
* ace/POSIX_Proactor.h:
- For each asynchronous call issued, the real-time signal is
registered with the Proactor so that it can wait for the completions
using that signal. Previously, the signal number for all the
operations was the same signal and it was hard coded.
- <register_aio_with_proactor> method which earlier existed only for
<AIOCB_Proactor> has been added to <SIG_Proactor>
also. <SIG_Proactor> just takes the <signal_number> from the result
object and registers the signal number. Registering involves,
masking the signal, setting the signal delivery for that RT signal
etc.
- Allowing to specify signal number for each operation can be useful,
since the order in which the completions are delivered from the
completion queue, is based on the signal numbers in addition to the
priority. Applications might want to leverage this.
* ace/OS.h:
OS.h has been defined with ACE_SIGRTMIN and ACE_SIGRTMAX, which are
defined to SIGRTMIN and SIGRTMAX respectively, for POSIX4
platforms. For others, they are 0.
Tue Apr 13 15:29:37 1999 David L. Levine <levine@cs.wustl.edu>
* ace/Object_Manager.cpp: moved ACE_Service_Config signal
handler allocation from constructor to init (). Tidy,
tidy, tidy.
Tue Apr 13 14:52:15 1999 Joe Hoffert <joeh@cs.wustl.edu>
* ace/ATM_Addr.cpp: Fixed g++ warnings of unused parameters.
Tue Apr 13 14:47:18 1999 David L. Levine <levine@cs.wustl.edu>
* tests/Basic_Types_Test.cpp (main): replaced call to sysconf ()
with ACE_OS::sysconf (). Thanks to Erik Ivanenko
<erik.ivanenko@utoronto.ca> for noticing this.
Tue Apr 13 14:17:48 1999 David L. Levine <levine@cs.wustl.edu>
* ace/OS.cpp: replaced use of ACE_TSS<T> with ACE_WIN32 or
ACE_HAS_TSS_EMULATION with native use of ACE_OS TSS, to remove
dependency on ace/Synch.h. Also, changed ACE_OS::NULL_key to
be -1 instead of 0 with ACE_HAS_TSS_EMULATION.
Tue Apr 13 09:05:25 1999 David L. Levine <levine@cs.wustl.edu>
* ace/Sched_Params.i (ACE_Sched_Priority_Iterator): removed
ACE_TRACE's, because Sched_Param is in the ACE_OS (lowest)
component. Thanks to Erik Ivanenko <erik.ivanenko@utoronto.ca>
for reporting this.
Tue Apr 13 08:21:41 1999 Steve Huston <shuston@riverace.com>
* include/makeinclude/platform_sunos5_sunc++.GNU
* include/makeinclude/platform_sunos5_sunc++_orbix.GNU: Added a make
option, mt_orbix, to control whether the MT or non-MT variant of
Orbix is used. Default is MT; to use non-MT, "make mt_orbix=0".
* ace/config-sunos5.x-sunc++-4.x-orbix.h: Include correct config-sunos5
file based on OS version at compile time. Allow site config to
specify ACE_HAS_MT_ORBIX 0.
Mon Apr 12 14:24:28 1999 David L. Levine <levine@cs.wustl.edu>
* include/makeinclude/rules.local.GNU (realclean.local):
added BIN2, LIB2, SHLIB2, and SHLIBA2 to support
subsetting. It allows realclean to remove old BIN,
LIB, SHLIB, and SHLIBA targets after remove the
ace_components information file. Also, removed explicit
-f following $(RM). -f should be included in the RM macro
if appropriate for the platform.
Mon Apr 12 13:01:32 1999 David L. Levine <levine@cs.wustl.edu>
* ace/gethrtime.cpp (ACE_gethrtime),Makefile: added support for
rdtsc instruction with GHS on Intel targets. Thanks to
Andy Alvarez <axab@eci-esyst.com> for providing the assembly
instructions to do this!
Mon Apr 12 12:04:20 1999 Joe Hoffert <joeh@cs.wustl.edu>
* ace/Makefile,ATM_Addr.cpp:
Added ACE_ATM_Addr class back into Makefile since it's working
now. Fixed address initialization problem in ACE_ATM_Addr.
NOTE: This code currently only works with Solaris 2.5/2.6. Will
need to update the code for FORE's implementation on Solaris 2.7.
NOTE: To use FORE's XTI/ATM implementation the following #defines
need to be included (typically in ace/config.h):
#define ACE_HAS_FORE_ATM_XTI
#define ACE_HAS_TIUSER_H_BROKEN_EXTERN_C
#define ACE_TLI_TCP_DEVICE "/dev/xtisvc*" //(e.g., /dev/xtisvc0)
AND the following flags are needed to build the ace library
(typically in include/makeinclude/platform_macros.GNU):
CPPFLAGS += -I$(FORE_ROOT)/include
Mon Apr 12 10:04:31 1999 Carlos O'Ryan <coryan@cs.wustl.edu>
* include/makeinclude/rules.local.GNU:
The default rule to compile .idl files is only enabled if
TAO_ROOT is not defined, otherwise we should use the rule in
$TAO_ROOT/rules.tao.GNU
Mon Apr 12 00:18:23 1999 Douglas C. Schmidt <schmidt@cs.wustl.edu>
* ACE version 4.6.36 released.
Sun Apr 11 17:06:53 1999 Alexander Babu Arulanthu <alex@cs.wustl.edu>
* examples/IPC_SAP/SOCK_SAP/CPP-inclient.cpp (run_client): Fixed
the warnings on Linux (config-linux.h).
Sun Apr 11 16:09:16 1999 Douglas C. Schmidt <schmidt@tango.cs.wustl.edu>
* examples/IPC_SAP/SOCK_SAP/CPP-inclient.cpp (run_client): Made
some fixes if ACE_MT_SAFE is false... Thanks to Alex for
reporting these.
Sun Apr 11 16:02:49 1999 Alexander Babu Arulanthu <alex@cs.wustl.edu>
* examples/IPC_SAP/SOCK_SAP/CPP-inserver-fancy.cpp (create_handler):
Fixed the warnings (control reaching end of block) and error (passing
u_long to close) which showed up on Linux(with config-linux.h)
* performance-tests/Misc/preempt.cpp,
* examples/Threads/task_five.cpp: Replaced ACE_MT_SYNCH by
ACE_SYNCH to get it compile on Linux.
Sun Apr 11 14:38:22 1999 Ossama Othman <othman@cs.wustl.edu>
* configure.in: Added test for ACE_NEEDS_FUNC_DEFINITIONS.
Corrected bug in ACE_TEMPLATES_REQUIRE_SOURCE test.
Sat Apr 10 14:02:11 1999 Douglas C. Schmidt <schmidt@tango.cs.wustl.edu>
* ace/Malloc[_Base]: Added a new no-op constructor for
ACE_Allocator to hopefully work around a problem with DEC UNIX
C++.
Fri Apr 09 10:08:49 1999 David L. Levine <levine@cs.wustl.edu>
* include/makeinclude/platform_vxworks5.x_g++.GNU:
enable -fno-implicit-templates for targets other than
Intel. It appears to work for PPC targets, and is necessary
to avoid compiler warnings about different symbol sizes
in object files. Thanks to Thomas Mehrkam <Thomas_Mehrkam@i-o.com>
for tracking down the source of the warnings, and verifying
that -fno-implicit-templates works for PPC targets.
Fri Apr 09 08:14:55 1999 David L. Levine <levine@cs.wustl.edu>
* include/makeinclude/rules.local.GNU: replaced "ln -s" with
$(LN_S), and set that to "ln -s" by default. Thanks to
Rainer Blome <rainer_blome@de.ibm.com> for suggesting this.
Fri Apr 9 00:38:03 1999 Douglas C. Schmidt <schmidt@tango.cs.wustl.edu>
* ace/SOCK_Acceptor.cpp (shared_accept): Make sure to disable
ACE_NONBLOCK on the newly accepted socket since otherwise
applications can have weird behavior. Thanks to Margaret Reitz
<margaret@veritas.com> and Irfan for helping to track this down.
Thu Apr 08 13:47:03 1999 David L. Levine <levine@cs.wustl.edu>
* BUG-REPORT-FORM,PROBLEM-REPORT-FORM,
README,VERSION,Makefile,Makefile.am,bin/make_release,
docs/ACE-bug-process.html: moved BUG-REPORT-FORM
to PROBLEM-REPORT-FORM. Thanks to Thomas Lockhart
<Thomas.G.Lockhart@jpl.nasa.gov> for suggesting this.
* docs/ACE-guidelines.html: added checklist for ACE/TAO changes,
including commit with a meaningful message, update a
ChangeLog, and ack and respond to the requestor.
Thu Apr 8 13:18:22 1999 Alexander Babu Arulanthu <alex@cs.wustl.edu>
* ace/SString.h: Updated the documentation to show that "Memory is
_not_ allocated/freed if <release> is 0".
Wed Apr 7 20:24:48 1999 Nanbor Wang <nanbor@cs.wustl.edu>
* ace/CORBA_macros.h (ACE_DECLARE_NEW_CORBA_ENV): Removed the
trailing semi-column. Thanks to Marina for the reminder.
Wed Apr 7 19:09:05 1999 Douglas C. Schmidt <schmidt@tango.cs.wustl.edu>
* ace/Containers_T: Replaced all Foo &Foo::operator=() with void
Foo::operator=() to avoid nasty problems with propagation of
errors. Thanks to Chris Schleicher <chrissch@cnd.hp.com> for
reporting this.
Wed Apr 07 17:25:07 1999 Nanbor Wang <nanbor@cs.wustl.edu>
* apps/Gateway/Gateway/connection_config: Changed the connection 1
and 2 to use localhost since it would probably be the most
common test case.
* apps/Gateway/README: Replaced all references of proxy_config
to connection_config. Also change the example port number to
10011 and 10012 which are the default port number used by the
gatewayd.
Thanks to Sam Rhine <rmsolution20@earchlink.net> for reporting
this.
Wed Apr 7 16:36:41 1999 Darrell Brunsch <brunsch@cs.wustl.edu>
* ACE-INSTALL.html: Put a note in saying to rebuild all
when upgrading releases.
Wed Apr 07 14:25:47 1999 Joe Hoffert <joeh@cs.wustl.edu>
* ace/ATM_Addr.{h,cpp}: modified files to compile for
machines without FORE XTI/ATM support.
* examples/IPC_SAP/TLI_SAP/CPP-{server,client}.cpp:
modified files to take out XTI/ATM code.
* examples/IPC_SAP/TLI_SAP/Makefile,CPP-ATM-{server,client}.cpp:
added separate test files for XTI/ATM
Wed Apr 7 14:20:59 1999 Jeff Parsons <parsons@cs.wustl.edu>
* ace/Basic_Types.h:
Added a signed companion to David's
ACE_UINT64_LITERAL, to avoid MSVC warnings. If
the platform has no 8-byte integer, this is
useless, but we must keep all compilers happy.
Also modified ACE_INT64_MAX tp use this, and
added a signed companion to
ACE_UINT64_FORMAT_SPECIFIER.
Wed Apr 07 13:57:33 1999 David L. Levine <levine@cs.wustl.edu>
* ACE-INSTALL.html: updated egcs shared library discussion
with information from Tim Rose <trose@bridgewatersys.com>
that egcs 1.1.1 statics libs work fine on Solaris 2.6.
Wed Apr 07 13:14:34 1999 Nanbor Wang <nanbor@cs.wustl.edu>
* ace/Service_Object.{h,i} (fini_called): Accessor to the
underlying fini_already_called_ flag.
* ace/Service_Repository.cpp (find_i): Disallowed returning a
service which fini() has been called upon.
Wed Apr 7 11:30:09 1999 Carlos O'Ryan <coryan@cs.wustl.edu>
* bin/auto_compile:
Added more tests to the script.
Wed Apr 07 09:54:28 1999 David L. Levine <levine@cs.wustl.edu>
* include/makeinclude/rules.local.GNU: instead of trying to
overwrite an existing symlink with ln -f, remove it first.
Thanks to Keith Rohrer <KRohrer@hnv.com> for reporting that
Solaris' ln -f doesn't work.
* ace/config-vxworks_5.x.h: added ACE_HAS_RECURSIVE_MUTEXES.
Thanks to Tom Venturella <Thomas.Venturella@MW.Boeing.com>
for suggesting this, because the VxWorks semaphores that
ACE uses for mutexes are recursive.
* ace/Synch.i (set_thread_id): added ACE_UNUSED_ARG (t), with
ACE_HAS_RECURSIVE_MUTEXES.
Wed Apr 07 09:37:34 1999 David L. Levine <levine@cs.wustl.edu>
* include/makeinclude/platform_osf1_4.0.GNU: disable warning
1016 when optimization is enabled. That gets rid of the
"D:incint" warning about bzero in sys/select.h.
* docs/ACE-guidelines.html: always use $(RM) instead of rm or
rm -f in Makefiles.
Wed Apr 07 02:42:50 1999 Douglas C. Schmidt <schmidt@cs.wustl.edu>
* ACE version 4.6.35 released.
Wed Apr 07 02:04:30 1999 Douglas C. Schmidt <schmidt@cs.wustl.edu>
* ACE version 4.6.34 released.
Tue Apr 6 21:09:32 1999 Douglas C. Schmidt <schmidt@tango.cs.wustl.edu>
* ace/ATM_Addr: Added the ATM_Addr.* files into the CVS
respository. However, we're not going to enable this in the
Makefile or project files until they are tested.
Tue Apr 6 20:48:16 1999 Jeff Parsons <parsons@cs.wustl.edu>
* ace/Basic_Types.h:
Added max and min #defines for various ACE data types. Now,
when using the ACE or ACE_CDR data types, we need not
depend on the vagaries of limits.h and float.
Tue Apr 6 20:39:01 1999 Ossama Othman <othman@cs.wustl.edu>
* ace/Log_Record.cpp (format_msg):
* ace/Log_Record.cpp (print):
Changed host_name[] to *host_name since null pointers were being
passed into the host_name array. Strictly speaking, host_name
should thus be a pointer, not an array. Also cleaned up
ternary operator in format_msg() by parenthesizing some
expressions.
Tue Apr 6 20:19:23 1999 Douglas C. Schmidt <schmidt@tango.cs.wustl.edu>
* ace/Makefile: Removed the ATM_Addr files until Joe can
get them checked in.
Tue Apr 06 19:36:24 1999 Irfan Pyarali <irfan@cs.wustl.edu>
* ace/Active_Map_Manager.h (ACE_Active_Map_Manager_Key): Added a
separate structure that holds the fields of the key. This
separate structure makes it easier to manage copying the index
and the generation to and from the user buffer.
Tue Apr 6 16:07:29 1999 Douglas C. Schmidt <schmidt@tango.cs.wustl.edu>
* ace/Synch.cpp (get_thread_id): If we have recursive mutexes then
it's not possible to get the id of the thread that's currently
holding the mutex. Thanks to David for reporting this.
Tue Apr 6 15:50:14 1999 Balachandran Natarajan <bala@cs.wustl.edu>
* docs/exceptions.html:
Updated the documentation.
Tue Apr 6 15:25:56 1999 Darrell Brunsch <brunsch@cs.wustl.edu>
* ace/High_Res_Timer.{h,i,cpp}: On Win32, don't call calibrate if
we cannot get the scale factor. Instead, just automatically
fall back on ACE_OS::gettimeofday ().
Also added another static variable to represent the conditions
where the global scale factor is not set yet or high resolution
timers are not supported.
Tue Apr 06 15:14:29 1999 David L. Levine <levine@cs.wustl.edu>
* ace/Basic_Types.h: added ACE_UINT64_LITERAL for platforms
with ACE_LACKS_U_LONGLONG_T.
* tests/Basic_Types_Test.cpp: added test of ACE_UINT64_LITERAL.
Tue Apr 06 14:54:56 1999 Nanbor Wang <nanbor@cs.wustl.edu>
* tests/Message_Queue_Test.cpp (performance_test):
* tests/Message_Queue_Notifications_Test.cpp (producer): Unicode
related change.
* ace/ace_ce_dll.dsp: Added Active_Map_Manager.cpp.
* ace/OS.h:
* ace/config-WinCE.h: CE now uses non-static object manager.
* WindozeCE/WindozeCE.h: Instantiate the non-static object manager
within the class.
* WindozeCE/WindozeCEDlg.cpp: We should register the bridge window
using its HANDLE so it would work no matter we build ACE with or
without MFC support.
Tue Apr 6 14:17:06 1999 Joe Hoffert <joeh@tango.cs.wustl.edu>
* ace/OS.h: Added support for the FORE ATM XTI interface.
* ace/TLI_{Acceptor,Connector}: Added support for the FORE ATM XTI
interface.
* ace/ATM_Addr: Added support for ATM address for the XTI ATM
driver. Eventually, this class will be generalized to work on
WinSock 2 ATM support, as well.
Tue Apr 06 13:56:18 1999 Thomas Lockhart <Thomas.G.Lockhart@jpl.nasa.gov>
* include/makeinclude/rules.local.GNU: added -f to ln -s commands,
to force overwrite of old symlink. This eases moving of
installed ACE code trees.
Tue Apr 6 00:17:59 1999 Kirthika Parameswaran <kirthika@cs.wustl.edu>
* ace/DLL {.h, .cpp} (set_handle): Added the set_handle () method
which allows the user to set the ACE_SHLIB_HANDLE for the DLL.
Thanks to Bob McWhirter for bringing up this point.
Mon Apr 5 22:27:02 1999 Douglas C. Schmidt <schmidt@tango.cs.wustl.edu>
* ace/config-irix6.x-sgic++-nothreads.h: Added
#if !defined (ACE_HAS_NETDB_REENTRANT_FUNCTIONS)
#define ACE_LACKS_NETDB_REENTRANT_FUNCTIONS
#endif /* ACE_HAS_NETDB_REENTRANT_FUNCTIONS */
to fix a problem with SGI 6.5. Thanks to Bob Laferrie
<laferrie@execpc.com> for reporting this.
Mon Apr 5 19:42:11 1999 Ossama Othman <othman@cs.wustl.edu>
* configure.in:
* m4/acinclude.m4:
Created the macro ACE_CHECK_FOR_CVS_DIR to prevent the configure
script from continuing the configuration if the current
configuration directory is in a CVS controlled directory. The
idea is to prevent automatically generated files from being
checked into the repository. This will prevent accidental
overwrites of ACE's current Makefiles by the automatically
generated ones, for example.
In addition, this should ease the transition from the current
Makefile scheme to the new Auto{conf,make}/libtool scheme since
the current Makefiles can remain under CVS control without
the generate Makefiles interfering with them.
Mon Apr 05 17:02:46 1999 David L. Levine <levine@cs.wustl.edu>
* ace/High_Res_Timer.cpp (global_scale_factor ()): removed
comment that said we use BogoMIPS on Linux/Intel. We
only use it on Linux/alpha. Thanks to
Thomas Lockhart <Thomas.G.Lockhart@jpl.nasa.gov> for
reporting this.
Mon Apr 5 15:54:57 1999 Darrell Brunsch <brunsch@cs.wustl.edu>
* ace/Profile_Timer.i: Removed ACE_OS::gettimeofday ()
calls from start and stop.
Mon Apr 05 15:09:49 1999 David L. Levine <levine@cs.wustl.edu>
* ace/OS.h: removed second #include of netdb.h. Thanks to
John H Aughey <tmpsp499@cec.wustl.edu> for reporting this.
Mon Apr 05 14:17:31 1999 David L. Levine <levine@cs.wustl.edu>
* ace/Trace.cpp: removed unnecessary (and complicated)
#include of ace/ACE.h.
Mon Apr 5 13:21:49 1999 Alexander Babu Arulanthu <alex@cs.wustl.edu>
* ace/Proactor.cpp:
(svc):
* ace/POSIX_Proactor.cpp:
* ace/POSIX_Proactor.h:
* ace/Proactor.h:
* ace/Proactor_Impl.h:
* ace/WIN32_Proactor.cpp:
* ace/WIN32_Proactor.h:
* examples/Reactor/Proactor/test_timeout.cpp:
Completed Timers implementation for POSIX platforms. Timers
implementation is now common for POSIX and WIN32. Portable
ACE_Auto_Event is used in the auxillary thread to wait for the
Timer events.
The Timer's code in WIN32 has been removed and the common code exists
in Proactor.{h,cpp} only.
A new factory method called create_asynch_timer has been created to
create the Timer Result class. This is used internally by the Proactor
to post timer completions to the Proactor completion
queue. Application may want to use this directly to fake
completions.
Mon Apr 05 12:05:01 1999 David L. Levine <levine@cs.wustl.edu>
* ace/OS.*,Thread_Manager.{h,cpp}: moved flags members from
ACE_Thread_Descriptor to a new ACE_OS_Thread_Descriptor base
class, to remove dependency of OS.cpp on Thread_Manager.h.
Sun Apr 4 18:19:05 1999 Ossama Othman <othman@cs.wustl.edu>
* configure.in:
Changed ANSI C++ cast test to fail on warnings. Currently,
only g++ and Sun C++ warning/error conversion is supported.
Moved the ACE_SET_COMPILER_FLAGS macro after the AC_ARG_ENABLE
and AC_ARG_WITH calls so that user settings can influence what
compiler flags get set.
Removed some M4 comments (`dnl') that were inside of the
template specialization test header block. The test was failing
since `dnl' was being quoted by M4 and actually placed inside
the test program source during test source compilation. Also
corrected a typo in the same test.
Changed test for ACE_HAS_EXPLICIT_TEMPLATE_INSTANTIATION so
that it attempts to link instead of just compile. Hopefully
this will make the test "tougher."
* m4/compiler.m4:
Added `-features=castop' compiler flag and completed support for
`-features=rtti' via `--enable-rtti'. These flags only work for
Sun C++ 4.2. Added support for the `-noex' Sun C++ compiler flag
when the user disables exception handling.
* m4/platform.m4: Minor comment updates.
Sat Apr 3 19:41:36 1999 Nanbor Wang <nanbor@cs.wustl.edu>
* ace/TTY_IO.cpp (control): Disabled support for higher baudrate
for non-NT platforms.
Sat Apr 3 19:37:07 1999 Douglas C. Schmidt <schmidt@tango.cs.wustl.edu>
* ace/TTY_IO.cpp (control): Added support for more modem speeds.
Thanks to Valery Arkhangorodsky <avalery@geocities.com> for
reporting this.
Sat Apr 3 17:02:48 1999 James CE Johnson <jcej@chiroptera.tragus.org>
* docs/tutorials/*: Regenerated all the HTML to get the hyperlinks
into the various headers. I'm sure somebody will let me know if I
munged it all.
* docs/tutorials/(019|020|021) : Finally made myself sit down and
add Kirthika's last abstracts.
Sat Apr 3 15:27:07 1999 Ossama Othman <othman@cs.wustl.edu>
* Makefile.am
* ace/Makefile.am
* netsvcs/clients/Naming/Client/Makefile.am
* netsvcs/clients/Tokens/manual/Makefile.am
* netsvcs/lib/Makefile.am
* tests/Makefile.am
Added targets to clean up files and directories created during
compilation. Automake will setup the `clean-local' targets to
run automatically whenever a `make clean' is done.
Fri Apr 02 23:25:11 1999 David L. Levine <levine@cs.wustl.edu>
* bin/make_release: added TAO/tao/Version.h. Thanks to
Nanbor for suggesting this.
* ace/OS.cpp: removed use of ACE_Array with WIN32 and
TSS_EMULATION. In doing this, fixed an off-by-one error:
ACE_TSS_Cleanup::remove () would try to remove key value
"n" from an ACE_Array of size "n".
Fri Apr 2 19:19:09 1999 Ossama Othman <othman@cs.wustl.edu>
* bin/autogen: Update NEWS file by copying VERSION. Temporary
hack to make Automake happy when doing a `make dist'.
Fri Apr 2 18:37:29 1999 Ossama Othman <othman@cs.wustl.edu>
* configure.in: Placed the asynchronous IO checks right after
the thread library checks. This was done to make sure the
library with AIO support gets added to the link list before
the rest of the tests start, and to make sure that it doesn't
get added if AIO isn't supported or isn't working.
* Makefile.am (ACE_EXTRA_DIST): Changed directory names to use
`$(top_srcdir)' instead of the current directory `.'. This
allows a distribution to be made from a directory other than
ACE's top level source directory.
* m4/compiler.m4: Explicitly add the `-xildoff' flag to Sun CC's
LDFLAGS. This is just a precautionary measure. It shouldn't
be needed.
Fri Apr 2 12:41:09 1999 Ossama Othman <othman@cs.wustl.edu>
* ace/Containers_T.h (all of the classes listed below):
* ace/Containers_T.i (ACE_Array):
* ace/Containers_T.i (ACE_DLList):
* ace/Containers_T.cpp (ACE_Bounded_Stack):
* ace/Containers_T.cpp (ACE_Fixed_Stack):
* ace/Containers_T.cpp (ACE_Unbounded_Stack):
* ace/Containers_T.cpp (ACE_Unbounded_Queue):
* ace/Containers_T.cpp (ACE_Double_Linked_List):
* ace/Containers_T.cpp (ACE_Fixed_Set):
* ace/Containers_T.cpp (ACE_Bounded_Set):
* ace/Containers_T.cpp (ACE_Unbounded_Set):
* ace/Containers_T.cpp (ACE_Ordered_MultiSet):
* ace/Handle_Set.h (ACE_Handle_Set):
* ace/Handle_Set.i (ACE_Handle_Set):
Changed assignment operators (operator=) to return a reference
to `*this' so that assignments may be chained.
Thu Apr 1 23:41:56 1999 Jeff Parsons <parsons@cs.wustl.edu>
* ace/CDR_Stream.cpp:
Fixed write_array() to memcpy if doing a byte-swap
and size = 1. Previously, it was falling through
without writing anything. Thanks to Jerry De Master
<jdemaste@ipdinc.com> for pointing this out.
Thu Apr 01 22:38:25 1999 Douglas C. Schmidt <schmidt@cs.wustl.edu>
* ACE version 4.6.33 released.
Thu Apr 01 21:09:00 1999 Irfan Pyarali <irfan@cs.wustl.edu>
* Sequence.h (TAO_Base_Sequence): Made the copy constructor and
the assignment operator public since making them protected was
breaking some compilers.
* ace/Filecache.cpp (ACE_Filecache_Object): Fixed typo: <lock_>
should be <lock>.
Thu Apr 1 19:41:26 1999 Ossama Othman <othman@cs.wustl.edu>
* ace/IPC_SAP.h (ACE_IPC_SAP):
* ace/SOCK.h (ACE_SOCK):
* ace/SOCK_IO.h (ACE_SOCK_IO):
* ace/SV_Semaphore_Simple.h (ACE_SV_Semaphore_Simple):
* ace/Synch.h (ACE_Barrier):
* ace/Synch.h (ACE_Event):
* ace/Synch.h (ACE_Guard):
* ace/Synch.h (ACE_Null_Mutex):
* ace/Synch.h (ACE_RW_Mutex):
* ace/Synch.h (ACE_Semaphore):
Reverted the changes that made these base class destructors
virtual. They don't need to be virtual for the way they are
being used.
Thu Apr 01 19:01:20 1999 Irfan Pyarali <irfan@cs.wustl.edu>
* ace/Containers.h (ACE_DLList_Node):
* ace/Containers_T.h (ACE_Double_Linked_List_Iterator):
* ace/Containers_T.h (ACE_Unbounded_Set_Iterator):
* ace/Event_Handler.h (ACE_Event_Handler):
* ace/Event_Handler.h (ACE_Notification_Buffer):
* ace/Filecache.h (ACE_Filecache_Handle):
* ace/Filecache.h (ACE_Filecache_Object):
* ace/Local_Tokens.h (ACE_TPQ_Iterator):
* ace/Local_Tokens.h (ACE_Token_Proxy):
* ace/Local_Tokens.h (ACE_Token_Proxy_Queue):
* ace/Malloc.h (ACE_Name_Node):
* ace/Malloc.h (ACE_Static_Allocator_Base):
* ace/Memory_Pool.h (ACE_MMAP_Memory_Pool):
* ace/Memory_Pool.h (ACE_MMAP_Memory_Pool_Options):
* ace/Memory_Pool.h (ACE_Shared_Memory_Pool):
* ace/Memory_Pool.h (ACE_Shared_Memory_Pool_Options):
* ace/OS.h (ACE_Countdown_Time):
* ace/OS.h (ACE_Thread_Adapter):
* ace/OS.h (ACE_Thread_Control):
* ace/OS.h (ACE_Thread_Exit):
* ace/Service_Object.h (ACE_Service_Type):
* ace/Signal.h (ACE_Sig_Adapter):
* ace/Synch.h (ACE_Adaptive_Lock):
* ace/Synch.h (ACE_TSS_Adapter):
In some cases, classes with pointers *can* use the default copy
constructor and the assignment operator. A more careful
screening of the egcs -Weffc++ flag need to be done before a
copy constructor and assignment operator can be considered
harmful/dangerous. For now, the changes Ossama made have been
reverted.
* ace/Filecache.cpp (ACE_Filecache_Object):
* ace/Signal.i (ACE_Sig_Action):
* ace/OS.i (ACE_Time_Value):
Removed default contruction of structs. Old g++ is broken.
* ace/Filecache.cpp (ACE_Filecache_Object): Fixed incorrect
initialization of <mmap_>.
Thu Apr 1 16:22:18 1999 Ossama Othman <othman@cs.wustl.edu>
* ace/Containers_T.h (ACE_Unbounded_Set_Iterator):
* ace/Containers_T.cpp (ACE_Unbounded_Set_Iterator):
The signatures for the prefix and postfix operators were
switched. Prefix operators take a void and return a
a reference and postfix operators take an int and returns a
copy.
* ace/Containers.h (ACE_DLList_Node):
* ace/Containers_T.h (ACE_Double_Linked_List_Iterator):
* ace/Containers_T.h (ACE_Unbounded_Set_Iterator):
* ace/Event_Handler.h (ACE_Event_Handler):
* ace/Event_Handler.h (ACE_Notification_Buffer):
* ace/Filecache.h (ACE_Filecache_Handle):
* ace/Filecache.h (ACE_Filecache_Object):
* ace/Local_Tokens.h (ACE_TPQ_Iterator):
* ace/Local_Tokens.h (ACE_Token_Proxy):
* ace/Local_Tokens.h (ACE_Token_Proxy_Queue):
* ace/Malloc.h (ACE_Name_Node):
* ace/Malloc.h (ACE_Static_Allocator_Base):
* ace/Memory_Pool.h (ACE_MMAP_Memory_Pool):
* ace/Memory_Pool.h (ACE_MMAP_Memory_Pool_Options):
* ace/Memory_Pool.h (ACE_Shared_Memory_Pool):
* ace/Memory_Pool.h (ACE_Shared_Memory_Pool_Options):
* ace/OS.h (ACE_Countdown_Time):
* ace/OS.h (ACE_Thread_Adapter):
* ace/OS.h (ACE_Thread_Control):
* ace/OS.h (ACE_Thread_Exit):
* ace/Service_Object.h (ACE_Service_Type):
* ace/Signal.h (ACE_Sig_Adapter):
* ace/Synch.h (ACE_Adaptive_Lock):
* ace/Synch.h (ACE_TSS_Adapter):
Explicitly disallow use of implicitly generated copy
constructor and assignment operator to prevent inadvertent
memory leaks.
* ace/Filecache.cpp (ACE_Filecache_Object):
* ace/OS.i (ACE_Time_Value):
* ace/Signal.i (ACE_Sig_Action):
* ace/Signal.i (ACE_Sig_Guard):
* ace/Signal.i (ACE_Sig_Set):
* ace/Synch_T.i (ACE_Guard):
Added base member initializers for class members that weren't
initialized. Better style and helps avoid some warnings.
* ace/IPC_SAP.h (ACE_IPC_SAP):
* ace/SOCK.h (ACE_SOCK):
* ace/SOCK_IO.h (ACE_SOCK_IO):
* ace/SV_Semaphore_Simple.h (ACE_SV_Semaphore_Simple):
* ace/Synch.h (ACE_Barrier):
* ace/Synch.h (ACE_Event):
* ace/Synch.h (ACE_Guard):
* ace/Synch.h (ACE_Null_Mutex):
* ace/Synch.h (ACE_RW_Mutex):
* ace/Synch.h (ACE_Semaphore):
Made base class destructor virtual to ensure that it gets
called by derived class destructor.
Thu Apr 1 13:31:56 1999 Jeff Parsons <parsons@cs.wustl.edu>
* ace/CDR_Stream.{i,cpp}:
Moved the destructors and a couple of short output CDR
functions from .cpp to .i.
Thu Apr 1 03:30:19 1999 Nanbor Wang <nanbor@cs.wustl.edu>
* bin/tao_svcconf.pl: New perl script to help converting TAO's
svc.conf file to use static services.
Wed Mar 31 14:30:28 1999 Nanbor Wang <nanbor@cs.wustl.edu>
* ace/OS.h: Fixed mis-matched #endif comments. Thanks to Eric
Eide <eeide@cs.utah.edu> for pointing this out.
Thu Mar 31 14:30:20 Douglas C. Schmidt <schmidt@cs.wustl.edu>
* tests/Message_Block_Test.cpp: updated some printouts.
Wed Mar 31 10:46:31 1999 Steve Huston <shuston@riverace.com>
* ace/Message_Block_T.h: Add template arg to operator = definition for
ACE_Locked_Data_Block<>.
* ace/config-aix-4.x.h: Don't set _BSD for AIX 4.2 (or 4.3). Setting
it works ok on AIX 4.2, but breaks TAO builds. Not setting it has
caused no regressions on 4.2, and allows TAO to build more.
Tue Mar 30 23:28:41 1999 Irfan Pyarali <irfan@cs.wustl.edu>
* ace/Message_Block.cpp (init_i): This function was not releasing
the old data block (if <data_block_> was non-zero). Fixed this
problem and avoided the memory leak. Thanks to Sangwoo Jin
<swjinjin@sei.co.kr> for reporting this leak.
Also changed the constructors to set <data_block_> to zero.
* tests/Message_Queue_Test.cpp (receiver): Fixed hacked use of
init() to prevent memory leak. The new init_i() fixes the leak.
Tue Mar 30 23:24:02 1999 Ossama Othman <othman@cs.wustl.edu>
* configure.in:
* m4/features.m4:
* m4/threads.m4:
Updated several library checks to use a single call of my
re/implementation of the new autoconf AC_SEARCH_LIBS test instead
of having several AC_CHECK_LIB calls in a row. Nice!
The thread detection tests were overhauled. They are now
simpler but retain the same functionality as the previous
tests. They were greatly reduced in size so debugging, updating
and enhancing should be much easier now.
* m4/acinclude.m4:
Reimplemented Autoconf's AC_SEARCH_LIBS into ACE_SEARCH_LIBS.
The functionality is the same but the ACE reimplementation
actually works when C++ is the test language. For some reason
Autoconf's test isn't being generated properly by GNU M4.
Tue Mar 30 22:04:49 1999 Nanbor Wang <nanbor@cs.wustl.edu>
* ace/config-win32-common.h: Added definition of
ACE_DEFAULT_THREAD_PRIORITY as 0. Thanks to John Morey
<jmorey@tbi.com> for reporting this.
Tue Mar 30 21:31:01 1999 David L. Levine <levine@cs.wustl.edu>
* Makefile (RELEASE_LIB_FILES): added bin/ and etc/.
Thanks to John Lindal <jafl@alice.wonderland.caltech.edu>
for reporting that the ACE library Makefile needs
bin/ace_components.
Tue Mar 30 18:49:58 1999 Darrell Brunsch <brunsch@cs.wustl.edu>
* bin/make_release: Added .ico to binary file types.
Tue Mar 30 12:23:23 1999 Douglas C. Schmidt <schmidt@cs.wustl.edu>
* ACE version 4.6.32 released.
Tue Mar 30 11:03:31 1999 Douglas C. Schmidt <schmidt@tango.cs.wustl.edu>
* ace/Synch.h (ACE_Adaptive_Lock): Clarified a comment about how
to define a constructor in a subclass that initializes the
lock_. Thanks to Michael Kircher for reporting this.
Tue Mar 30 10:37:43 1999 Ossama Othman <othman@cs.wustl.edu>
* ace/OS.i (getpwnam_r): Added patch contributed by Roland Gigler
<roland@mch.pn.siemens.de> for getpwnam_r on SCO UnixWare 7.
Mon Mar 29 20:22:44 1999 Ossama Othman <othman@cs.wustl.edu>
* configure.in:
* m4/features.m4:
Added new M4 macro include file, and moved asynchronous IO tests
to `m4/features.m4'. The asynchronous IO tests were improved by
making them run-time tests. Cross-compiled platforms will fall
back to a compile-time test. Thanks to Alex for providing
run-time tests. The tests are based on his AIO tests found in
the examples/Reactor/Proactor directory.
Sun Mar 28 18:02:54 1999 Ossama Othman <othman@cs.wustl.edu>
* configure.in:
Enabled the C++ libtool support mentioned below. Removed all
references to CXXCPPFLAGS since the CPPFLAGS variable is used
by autoconf for both C and C++.
* ltconfig:
Added my experimental libtool C++ support. The hacks I made
allow it to build C++ shared libraries.
* m4/acinclude.m4:
* m4/threads.m4:
Renamed some variables. Namespace pollution was breaking most
of the tests.
Sun Mar 28 12:20:44 1999 Nanbor Wang <nanbor@cs.wustl.edu>
* ace/OS.h:
* ace/CORBA_macros.h: Moved ACE_NEW_THROW* and ACE_GUARD_THROW*
macros from OS.h to CORBA_macros.h. Also added
ACE_*GUARD_THROW_EX which has the new ACE try macros semantics.
CORBA_macros.h needs to include "OS.h" to source in the correct
platform configuration macros.
Sun Mar 28 13:27:15 1999 Balachandran Natarajan <bala@cs.wustl.edu>
* docs/exceptions.html:
Added a new example
Fri Mar 26 23:35:28 1999 Nanbor Wang <nanbor@cs.wustl.edu>
* ace/config-freebsd-pthread.h: Added ACE_NEEDS_SCHED_H.
* ace/config-irix6.x-g++.h:
* ace/config-irix6.x-kcc.h:
* ace/config-irix6.x-sgic++.h:
* ace/OS.h: Reverted changes about ACE_LASKS_SCHED_H.
* ace/config-dgux-4.x-ghs.h:
* ace/config-irix6.x-sgic++.h:
* ace/README:
* ace/OS.h: Renamed ACE_LACKS_SCHED_H with ACE_NEEDS_SCHED_H to
refect what it really means. The original name was quite
confusing.
Fri Mar 26 18:16:25 1999 Carlos O'Ryan <coryan@cs.wustl.edu>
* ace/config-irix6.x-g++.h:
* ace/config-irix6.x-kcc.h:
* ace/config-irix6.x-sgic++.h:
There is no need to explicitly include <sched.h> or to define
ACE_LACKS_SCHED_H the file is present in IRIX 6.4.
Fri Mar 26 17:57:25 1999 Nanbor Wang <nanbor@cs.wustl.edu>
* ace/config-freebsd-pthread.h: Defined cuserid as an extern "C"
function.
* ace/OS.h: <sched.h> should only be included when !defined
(ACE_LACKS_SCHED_H).
Thanks to Eric Eide <eeide@cs.utah.edu> for sending the patch.
Fri Mar 26 17:12:21 1999 Darrell Brunsch <brunsch@cs.wustl.edu>
* ace/Profile_Timer.{h,i,cpp}: On Win32 platforms that
support RUsage, Profile_Timer will use both that and
High Resolution Timers for measurements. Depending
on the method, one or the other will be used.
Fri Mar 26 17:02:00 1999 Ossama Othman <othman@cs.wustl.edu>
* configure.in:
Improved ACE_HAS_USING_KEYWORD test so that it works for platforms
that support the `using' keyword but don't have the `std' namespace.
Updated ACE_HAS_TEMPLATE_SPECIALIZATION test so that it works for
compilers that require the "template<>" syntax for specialization.
Improved ACE_HAS_ONLY_SCHED_OTHER by checking for run time errors
when a thread scheduling policy other than SCHED_OTHER is set.
Thanks to David for suggesting this modification.
* m4/acinclude.m4:
Added support for converting warnings to errors for Sun C++.
* m4/threads.m4:
Added test to check if `-Kthread' compiler flag enables thread
support. SCO UnixWare 7 uses this flag.
Fri Mar 26 07:21:33 1999 David L. Levine <levine@cs.wustl.edu>
* tests/Reactor_Performance_Test.cpp (handle_input): wrapped
final return statement with ACE_NOTREACHED.
Thu Mar 25 20:16:49 1999 Darrell Brunsch <brunsch@cs.wustl.edu>
* bin/make_release: I wasn't using $bin_files for the
ACE+TAO.zip creation, so now that is fixed. Thanks to
Greg Ross <gwross@west.raytheon.com> for pointing this out.
Thu Mar 25 16:31:27 1999 Carlos O'Ryan <coryan@cs.wustl.edu>
* ace/OS.h:
Added new macros for byte swapping, this are rather evil. They
add the correct padding to use a single long to represent a
short or char, but in such a way that the first bytes of the
long contain the required data.
Nobody should need that, but the IDL compiler does.
Thu Mar 25 16:25:46 1999 Ossama Othman <othman@cs.wustl.edu>
* configure.in: Added test for ACE_HAS_BROKEN_MAP_FAILED.
* ace/OS.h: Added __USLC__ to list of macros in the conditional that
keeps the compiler from complaining about parameters which are not
used. This is needed for the C++ compiler on SCO UnixWare 7.
Thanks to Roland for letting me know about this.
Thu Mar 25 14:55:37 1999 David L. Levine <levine@cs.wustl.edu>
* tests/Basic_Types_Test.cpp: print out ACE version
information even with ACE_HAS_MINIMAL_ACE_OS.
Thu Mar 25 13:52:57 1999 Irfan Pyarali <irfan@cs.wustl.edu>
* tests/Reactor_Performance_Test.cpp (handle_input): This code
wasn't entirely correct. Well actually, I think where was some
change in the semantics of Windows. Previously, once the handle
was close, it seems that the application still got notified if
there was data on the socket. With WinNT SP4, it seems that
once the handle was closed, no additional FD_READs were issued
by the OS, even if data was available on the socket.
In ACE, both FD_READ and FD_CLOSE get mapped to handle_input().
The way to know when the connection was closed is to do a recv()
in handle_input() and check for a zero return. When told of new
data, the old code in handle_input() only did one recv() of
BUFSIZ bytes. If there was more than BUFSIZ bytes of data on the
socket, there would be some data left on the socket. Hence,
when notified of FD_CLOSE, it did another recv() which
succeeded, and handle_input() never returned -1, making the test
hang.
The change made was to make handle_input() call recv() until
EWOULDBLOCK occurs (note that the socket is in non-blocking
mode). Hence, when FD_CLOSE occurred, the socket did not have
any data left, recv() returned 0 and handle_input() returned -1,
which finally closed the test down correctly.
Thu Mar 25 13:13:51 1999 Ossama Othman <othman@cs.wustl.edu>
* Makefile.am (ACE.ifnames):
Placed rule generation of ACE.ifnames within a MAINTAINER_MODE
automake conditional. If a `--enable-maintainer-mode' option
isn't given on the configure script command line then don't
generate a new `ACE.ifnames' file.
* configure.in:
Added AM_MAINTAINER_MODE so that maintainer level Makefile
features are disabled by default.
* acconfig.h:
* ace/OS.h:
* ace/README:
Added ACE_HAS_BROKEN_MAP_FAILED macro for platforms that do not
cast MAP_FAILED to a (void *). Defining this macro prevents
compilers on those platforms from complaining about assigning
an int to a (void *). Thanks to Roland Gigler
<roland@mch.pn.siemens.de> for providing feedback about this.
Thu Mar 25 11:30:44 1999 Balachandran Natarajan <bala@cs.wustl.edu>
* docs/exceptions.html:
Corrected a couple of links...
Thu Mar 25 01:04:00 1999 Alexander Babu Arulanthu <alex@cs.wustl.edu>
* ace/OS.h (ACE_OS): Added ACE_DEFAULT_TEMP_DIR_ENV to be "TEMP"
for WIN32 and "TMP" for Unix.
Wed Mar 24 18:30:18 1999 Douglas C. Schmidt <schmidt@tango.cs.wustl.edu>
* performance-tests/TTCP/ACE-C++/wrapper-new-ttcp.cpp: Added a new
version of this program that fixes a number of bugs with the old
one. Thanks to Hao Ruan <hruan@lucent.com> for these fixes.
Wed Mar 24 15:31:27 1999 Darrell Brunsch <brunsch@cs.wustl.edu>
* High_Res_Timer.cpp:
* High_Res_Timer.h:
* OS.i:
Changed the implementation of the High Resolution Timer on
Win32 to use QueryPerformanceCounter instead of assembly code.
The docs also say that this is MP-safe. Thanks to Gregory D.
Fee <gdf2@cec.wustl.edu> for suggesting this.
* Profile_Timer.cpp:
* Profile_Timer.h:
* Profile_Timer.i:
Now uses the High Res Timer on Win32 instead of rusage.
Wed Mar 24 14:36:12 1999 Ossama Othman <othman@cs.wustl.edu>
* ace/OS.cpp (ACE_OS_PREALLOCATE_OBJECT): Initialized obj_p to zero
to make egcs happy.
Wed Mar 24 13:23:36 1999 David L. Levine <levine@cs.wustl.edu>
* ACE-INSTALL.html: removed note about building netsvcs before
running the one-button test on WIN32. Thanks to Nanbor for
hacking run_tests.bat :-)
Wed Mar 24 13:16:17 1999 Nanbor Wang <nanbor@cs.wustl.edu>
* ace/WFMO_Reactor.i (handler):
* ace/Select_Reactor_T.cpp (handler_i): Made sure we can safely
pass out the event handler before we do so. Thanks to Michael
Preobrazhensky <mikep@xpedite.com> for reporting this.
* tests/run_tests.bat: Do not run Time_Service_Test if
netsvcs/servers/main.exe doesn't exist. Thanks to
Jeffrey_Franks@i-o.com for reporting the problem and David for
suggesting the fix.
Wed Mar 24 12:47:56 1999 David L. Levine <levine@cs.wustl.edu>
* ACE-INSTALL.html: added note to build netsvcs on Win32
before running run_tests.bat. Thanks to Jeff Franks
<Jeffrey_Franks@i-o.com> for suggesting this.
Wed Mar 24 06:53:57 1999 David L. Levine <levine@cs.wustl.edu>
* ace/OS.cpp (thr_create): SunOS 5.7 allows thread priority of 0,
so we no longer need to work around that.
Tue Mar 23 22:49:15 1999 Ossama Othman <othman@cs.wustl.edu>
* configure.in: Added a test for ACE_NEEDS_DEV_IO_CONVERSION.
Tue Mar 23 22:29:20 1999 David L. Levine <levine@cs.wustl.edu>
* ace/config-sunos5.7.h: undef ACE_HAS_ONLY_SCHED_OTHER, because
other scheduling policies are supported by SunOS 5.7. Thanks
to Ossama and autoconf for noticing this.
Tue Mar 23 20:42:44 1999 Ossama Othman <othman@cs.wustl.edu>
* tests/Cache_Manager_Test.cpp (main): Added missing ACE_START_TEST
and ACE_END_TEST macros.
* m4/threads.m4: Modified UNIX International threads check to include
check for rwlock_destroy() in -lthread since thr_create() was
found without explicitly linking to -lthread on Solaris 2.5.1.
rwlock_destroy() should be found only by linking to -lthread which
will cause the configure script to add -lthread to the library link
list.
Tue Mar 23 16:25:39 1999 David L. Levine <levine@cs.wustl.edu>
* docs/ACE-subsets.html: added FOR_TAO subset sizes.
Tue Mar 23 15:15:20 1999 Nanbor Wang <nanbor@cs.wustl.edu>
* ace/Map_Manager.{i,cpp} (ACE_Map_Iterator_Base::operator*):
Moved this function to .cpp file to avoid compilation problem on
SunOS 5.6 with SunCC 4.2. Once we know a patch that will fix
the problem, we should move it back to .i file again. Thanks to
James Megquier <jmegq@bbn.com> for reporting the problem.
Tue Mar 23 14:56:58 1999 Ossama Othman <othman@cs.wustl.edu>
* acconfig.h:
* configure.in:
* ace/OS.h:
* ace/TLI.cpp:
* ace/config-osf1-4.0.h: Removed all references to
ACE_HAS_BROKEN_T_ERRNO and removed the definition of the _terrno()
function from TLI.cpp since it isn't a standard TLI function (at
least not the Steven's books that I've read). This also fixes a
problem on Solaris that was causing an autoconfigured build of
TLI.cpp to fail.
* ace/Makefile.am: Make sure template source files get installed for
all cases. Previously, they only got installed if the template
source is required by the compiler. However, they are still needed
by compilers that don't explicitly require template sources to
be included in a file that references them.
* configure.in: Fixed the test for ACE_TEMPLATES_REQUIRE_SOURCE.
Thanks to Carlos for his help on this. Removed the test for
ACE_HAS_BROKEN_T_ERRNO since it is no longer needed due to the
above change.
* README: Added Konstantinos Margaritis <kmargar@cc.uoa.gr> to the
ACE contributor list.
Tue Mar 23 12:57:40 1999 Douglas C. Schmidt <schmidt@tango.cs.wustl.edu>
* netsvcs/lib/Client_Logging_Handler.cpp: Split off the logging to
an ostream from the logging for STDERR. Thanks to Bill Rizzi
(rizzi@softserv.com) for pointing out this problem.
* netsvcs/lib/Client_Logging_Handler.cpp: Changed the default from
ACE_STDOUT to ACE_STDERR to be consistent. Thanks to Bill Rizzi
(rizzi@softserv.com) for pointing out the problem.
Tue Mar 23 12:06:04 1999 Nanbor Wang <nanbor@cs.wustl.edu>
* ace/OS.h (ACE_THROW_SPEC): Added prgama to disable reporting
warning 4290 on MSVC. MSVC "supports" the exception
specification but doesn't provide an implementation for it.
Instead, it warns you the specification is ignored.
Mon Mar 22 21:34:06 1999 David L. Levine <levine@cs.wustl.edu>
* include/makeinclude/platform_sunos5_g++.GNU: use -m uname
option instead of -i, because GNU uname doesn't support -i.
Mon Mar 22 18:59:55 1999 Steve Huston <shuston@riverace.com>
* ace/NT_Service.cpp (state): Changed the (DWORD *, ACE_Time_Value *)
version to reliably return -1 on any error. Thanks to Martin
Krumpolec <krumpo@pobox.sk> for keeping me honest here, and for
sending in better code.
Mon Mar 22 14:16:04 1999 David L. Levine <levine@cs.wustl.edu>
* ace/OS.{h,cpp} (cleanup_tss): added tss_close (), to enable
deleting the native key on program termination. That's not
implemented yet, because it requires a separate
ACE_OS::thr_keyfree (ACE_OS_thread_key_t).
* ace/OS.cpp (fini), README, ace/config-linux-lxpthreads.h:
removed ACE_FINI_HOOK support. It wasn't helping.
Mon Mar 22 11:14:16 1999 Ossama Othman <othman@cs.wustl.edu>
* Makefile.am:
Various minor updates.
* configure.in:
* m4/platform.m4
Moved known platform specific macro checks from `configure.in'
to `platform.m4'.
* tests/Makefile.am:
Updated to build the DLL_Test shared library. Support for the
test is still broken (my fault :).
* aclocal.m4:
* configure:
These are automatically generated so they shouldn't be under
CVS control. I Removed them from the CVS repository.
Mon Mar 22 09:42:26 1999 David L. Levine <levine@cs.wustl.edu>
* docs/ACE-subsets.html: added current status section.
Mon Mar 22 01:04:23 1999 Nanbor Wang <nanbor@cs.wustl.edu>
* ace/OS.cpp (free_all_keys_left): Changed to remove left-over
keys using TlsFree on Win32. We can't use ACE_OS::thr_keyfree
here because it tries to update the TSS in_use_ information
which has already been deleted at this point.
(cleanup_tss): Uncommented free_all_keys_left.
Sun Mar 21 21:26:46 1999 David L. Levine <levine@cs.wustl.edu>
* bin/make_release: fixed error status when building ACE+TAO.
Thanks to Doug for reporting this.
Sun Mar 21 21:16:02 1999 Douglas C. Schmidt <schmidt@cs.wustl.edu>
* ACE version 4.6.31 released.
Sun Mar 21 20:45:57 1999 Douglas C. Schmidt <schmidt@cs.wustl.edu>
* ACE version 4.6.30 released.
Sun Mar 21 18:39:16 1999 Ossama Othman <othman@cs.wustl.edu>
* ACE.ifnames:
Updated with new macro list.
* Makefile.am:
Added the m4 directory to the distribution list and made some
minor updates.
* ace/Makefile.am:
* m4/subsets.m4:
Subsetting updates/corrections.
* configure.in:
Added work around for buggy glibc2.1 when including both
<ucontext.h> and <sys/procfs.h>. Added check for auto_ptr class
declaration since some platforms have <memory> but may not
declare the auto_ptr class. Shortened some of the "checking"
messages.
* ace-config.1.in: ace-config script man page template
* aceConf.sh.in: ace-config "unknown" library script
Added these files to the CVS repository.
* config.guess:
* config.sub:
* ltconfig:
* ltmain.sh:
Updated these files to the ones in the latest libtool.
* libtool:
Removed this since it is automatically generated for each platform.
It shouldn't be under CVS control.
Sun Mar 21 17:59:22 1999 Carlos O'Ryan <coryan@cs.wustl.edu>
* ace/CDR_Stream.cpp:
Fixed a problem with ACE_OutputCDR::write_octet_array_mb, thanks
to Dave Meyer <dmeyer@std.saic.com> for isolating and reporting
this bug again [it was fixed in TAO and somehow it crept to the
ACE version of the CDR classes].
Sun Mar 21 17:42:08 1999 Ossama Othman <othman@cs.wustl.edu>
* netsvcs/lib/Server_Logging_Handler_T.cpp (handle_logging_record):
Use ACE_NTOHL macro instead of system ntohl() to get around bug
in egcs-2.91.6x.
Sun Mar 21 16:07:24 1999 Ossama Othman <othman@cs.wustl.edu>
* ace/config-g++-common.h (ACE_HAS_USING_KEYWORD):
Define ACE_HAS_USING_KEYWORD for egcs 1.1.x.
Sun Mar 21 09:44:30 1999 David L. Levine <levine@cs.wustl.edu>
* tests/Timeprobe_Test.cpp: don't test ACE_Singleton
creation during static construction if ACE_HAS_PURIFY
is enabled, because it notices the memory-in-use.
* examples/Naming/Makefile: changed SRC to PSRC.
* examples/Naming/Makefile,performance-tests/Misc/Makefile,
tests/Makefile:
Use ace_components instead of the current ACE_COMPONENTS
setting to determine what should be built.
Sat Mar 20 19:10:37 1999 Carlos O'Ryan <coryan@cs.wustl.edu>
* ace/Connector.h:
* ace/Connector.cpp:
* ace/Strategies_T.h:
* ace/Strategies_T.cpp:
Added new methods to the ACE_Connector, ACE_Strategy_Connector,
ACE_Connect_Strategy and ACE_Cached_Connect_Strategy.
The motivation for this new method is a bit convoluted:
In TAO we store the Svc_Handler returned from connect() as a
hint for later Cached_Connector lookups. But the location
where we store it could be shared between multiple threads.
To minimize the number of locks this hint is only modified and
examined by the Cached_Connector, while the lock in the
connection map is beign held.
The problem arises when the hint is returned: another thread
could try to use the same hint location, detect that the hint
is in use and replace it before the thread that just requested
the object has a chance to read the hint value.
The solution is to use two variables: one is the hint
location, carefully protected by the Cached_Connector lock,
the other is a variable in the thread stack, they return the
same thing, but the second variable is not affected by changes
done by other threads.
In short: we addeda connect() method that takes two arguments,
the first is just intented to update the cached connector
hint, the second is where the real connection gets returned.
* tests/Makefile:
David discovered that using SRC to list the sources does not
work under some platforms. But using PSRC does.
Sat Mar 20 15:51:14 1999 Ossama Othman <othman@cs.wustl.edu>
* configure.in:
Added tests for: ACE_HAS_BROKEN_NAMESPACES
ACE_HAS_BROKEN_CONVERSIONS
ACE_HAS_BROKEN_CONDITIONAL_STRING_CASTS
ACE_HAS_PTHREAD_CONDATTR_SETKIND_NP
ACE_HAS_PTHREAD_MUTEXATTR_SETKIND_NP
ACE_HAS_PTHREAD_PROCESS_ENUM
Added some minor updates and corrections.
Sat Mar 20 09:06:10 1999 David L. Levine <levine@cs.wustl.edu>
* tests/Map_Manager_Test.cpp: changed index () to slot_index ()
and generation () to slot_generation (), to correspond to
Active_Map_Manager interface change.
* examples/ASX/Message_Queue/Makefile: changed LSRC to PSRC.
* ace/Object_Manager.{h,cpp}: removed complex support from
ACE_Object_Manager for cleanup of some ACE_Singleton locks
during static construction/destruction, only. The affected
lock types are ACE_Thread_Mutex, ACE_Mutex, and
ACE_RW_Thread_Mutex. ACE_Recursive_Thread_Mutex and
ACE_Null_Mutex will still be cleaned up if used to create
ACE_Singletons during static construction/destruction. As
noted in ace/Singleton.h, those are the best type of locks
to use with ACE_Singleton, anyways.
This support was tricky to get right, and increased the size of
the Object_Manager object file by 46 to 59 percent. Now, if
ACE_Singletons are created during static construction or
destruction, with either an ACE_Thread_Mutex, ACE_Mutex, or
ACE_RW_Thread_Mutex lock, those locks will be dynamically
allocated and leaked.
Sat Mar 20 02:03:53 1999 Ossama Othman <othman@cs.wustl.edu>
* acinclude.m4:
Split acinclude.m4 into several M4 macro files and moved those
files into the new `m4' subdirectory, includind acinclude.m4.
* m4/acinclude.m4:
* m4/compiler.m4:
* m4/subsets.m4:
* m4/threads.m4:
Added these M4 files.
* bin/autogen:
Script to regenerate auto{conf,make} and libtool related files.
Additional functionality may be added to this script in the
future.
* Makefile.am:
* ace/Makefile.am:
* apps/gperf/src/Makefile.am:
* apps/gperf/tests/Makefile.am:
* apps/gperf/Makefile.am:
* apps/Makefile.am:
* netsvcs/clients/Logger/Makefile.am:
* netsvcs/clients/Naming/Client/Makefile.am:
* netsvcs/clients/Naming/Dump_Restore/Makefile.am:
* netsvcs/clients/Naming/Makefile.am:
* netsvcs/clients/Tokens/collection/Makefile.am:
* netsvcs/clients/Tokens/deadlock/Makefile.am:
* netsvcs/clients/Tokens/invariant/Makefile.am:
* netsvcs/clients/Tokens/manual/Makefile.am:
* netsvcs/clients/Tokens/mutex/Makefile.am:
* netsvcs/clients/Tokens/rw_lock/Makefile.am:
* netsvcs/clients/Tokens/Makefile.am:
* netsvcs/clients/Makefile.am:
* netsvcs/lib/Makefile.am:
* netsvcs/servers/Makefile.am:
* netsvcs/Makefile.am:
* man/man3/Makefile.am: ( NOT ADDED YET )
* man/Makefile.am: ( NOT ADDED YET )
* tests/log/Makefile.am:
* tests/Makefile.am:
Added Automake makefile templates for ACE.
* configure.in:
* m4/subsets.m4:
* ace/Makefile.am:
Added support for David's ACE subsetting work.
Fri Mar 19 23:36:37 1999 Irfan Pyarali <irfan@cs.wustl.edu>
* ace/Active_Map_Manager.h (ACE_Active_Map_Manager_Key): Changed
method index() to slot_index() and generation() to
slot_generation(). These changes were motivated by the
OpenEdition platform/compiler, which defines a macro called
index(). Also, changed the type of <index_> and <generation_>
from u_long to ACE_UINT32 to get consistent size across
platforms.
Fri Mar 19 22:50:19 1999 David L. Levine <levine@cs.wustl.edu>
* bin/ace_ld: inserted ^['"]? at beginning of patterns that check
for -l and -L, to make sure they're at the beginning of arguments.
Thanks to Henric Jungheim <junghelh@pe-nelson.com> for
suggesting this.
* tests/Makefile: removed SRC, because it caused link problems
on DU 4.0.
Fri Mar 19 18:56:26 1999 Carlos O'Ryan <coryan@cs.wustl.edu>
* Fixed several makefiles that did not have a SRC or LSRC variable
defined.
* Re-generated the dependencies for both ACE and TAO, this time on
a platform that includes the template code.
* include/makeinclude/rules.local.GNU:
Now we can run make depend inside a build directory.
Removed any $(ACE_ROOT)/ace/config*.h files from the dependency
list, those are not used.
Fri Mar 19 18:05:27 1999 Ossama Othman <othman@cs.wustl.edu>
* netsvcs/lib/Server_Logging_Handler_T.cpp (handle_logging_record):
Reverted change that was thought to work around egcs compiler bug.
The call to ntohl() within the templates still causes the compiler
to complain.
Fri Mar 19 17:31:57 1999 Carlos O'Ryan <coryan@cs.wustl.edu>
* ace/CDR_Stream.cpp:
Fixed silly error in the InputCDR constructor taking an
ACE_Message_Block.
Fri Mar 19 15:41:30 1999 Irfan Pyarali <irfan@cs.wustl.edu>
* ace/config-win32-common.h: Added CE fix.
Fri Mar 19 15:03:54 1999 Carlos O'Ryan <coryan@cs.wustl.edu>
* ace/CDR_Stream.h:
* ace/CDR_Stream.i:
* ace/CDR_Stream.cpp:
Changed CDR to ACE_CDR.
Fixed ACE_InputCDR constructor when receiving a linked list of
Message_Blocks.
* tests/CDR_Test.cpp:
Added a test for the constructor above.
Fri Mar 19 10:29:17 1999 David L. Levine <levine@cs.wustl.edu>
* ace/Singleton.cpp (instance): removed at_exit () calls
from both ACE_Singleton and ACE_TSS_Singleton, only
when the ACE_Object_Manager hasn't started or has already
shutdown. In those cases, the singletons will leak.
* ace/Object_Manager.cpp (ACE_Object_Manager ctor),
ace/OS.cpp (ACE_OS_Object_Manager ctor): allow
newer instances to overwrite older ones, in case an application
#defines ACE_HAS_NONSTATIC_OBJECT_MANAGER and uses the
Object_Manager during construction of static objects.
* tests/Timeprobe_Test.cpp: added test of ACE_Singleton
creation during construction of static objects. Timeprobes
can do that, when they're enabled.
* ace/OS.cpp (fini), README: added ACE_FINI_HOOK support.
Applications can #define ACE_FINI_HOOK to any executable code,
and it will be executed on program termination.
* ace/config-linux-lxpthreads.h: with ACE_HAS_TSS_EMULATION,
#define ACE_FINI_HOOK to insert a one-second sleep at
program termination. It's necessary to avoid occasional
segfaults of unknown origin, but they appear to be in the
LinuxThreads library.
* bin/ace_components: added. It is used to record/access
which components were built into the ACE library. See next
entry for files that have been updated to use it.
* ace/Makefile,tests/Makefile,tests/run_tests.sh: use
ace_components to record which components are in the ACE library.
Suppress build/run of tests that use Token and Other.
* netsvcs/{clients,servers}/Makefile: use ace_components instead of
the current ACE_COMPONENTS setting to determine what should be built.
Fri Mar 19 03:24:34 1999 Irfan Pyarali <irfan@cs.wustl.edu>
* ace/Singleton.cpp (instance): Commented out the call to
ACE_Object_Manager::at_exit(). Currently, this is causing
multiple instances of ACE_Object_Manager to get created, and
hence causing all sorts of problems.
* ace/OS.cpp (cleanup_tss): Removed the call to
free_all_keys_left() (WIN32 only), because it causes
segmentation faults at shutdown.
Fri Mar 19 00:15:21 1999 Nanbor Wang <nanbor@cs.wustl.edu>
The following changes are specific to WindowsCE. They are
required to remove MFC dependency from CE port. Thanks to Eric
Covington <eric@nowsol.com> for motivating this.
* ace/config-WinCE.h: We no longer enfoce the use of MFC with ACE
CE port anymore.
* ace/config-win32-common.h: When not using MFC, CE needs to
include <windows.h> and <wce.h> explicitly.
* ace/Log_Record.cpp (print):
* ace/OS.{h,cpp} (ACE_CE_Bridge): Changed to use HWND to record
target window handle instead of CWnd. Also, we stop passing
output string in a CString anymore. The string is now created
using ACE_OS::strdup and must be released by the target window
using ACE_OS::free.. A small smart pointer class will be added
later. Notice that if you used ACE CE port before, the wParam
can no longer be casted to a CString*, it should be casted to
LPTSTR now.
* WindozeCE/WindozeCEDlg.cpp: <wParam> should be casted to LPTSTR
and it should be freed using ACE_OS::free.
* ace/ace_ce_dll.dsp: CE programs (or DLL only?) not using MFC
must specify all libraries used by the program, even msvcrt.
Thu Mar 18 22:21:39 1999 David L. Levine <levine@cs.wustl.edu>
* include/makeinclude/platform_vxworks5.x_g++.GNU: changed
ACE_QUOTE to '"', instead of "", on win32 hosts. "" just
evaporates to nothing; we really need one double quote.
Thanks to Hans Rohnert for verifying this.
Thu Mar 18 18:49:32 1999 Marina Spivak <marina@cs.wustl.edu>
* ace/SString.i (compare): fixed the function to work properly in
case strings have different lenghts.
* ace/SString.cpp: fixed code to gracefully handle failed memory
allocations.
* ace/SString.h: added comments about strings with release=0, not
necessarily being null terminated.
Thu Mar 18 14:31:29 1999 Steve Huston <shuston@riverace.com>
* tests/DLL_Test.cpp: Use the new DLL_Test.h file that contains the
class defs - needed for AIX xlC. This should have been done
with the Mar 15 changes but slipped through the cracks.
* include/makeinclude/platform_hpux_aCC.GNU: Added support for
building HP-UX 11 distributions with both 32 and 64 bits.
* docs/tutorials/006/client_handler.cpp (Client_Handler::open): Changed
arg name to void_acceptor to avoid redefining it inside the function.
* docs/tutorials/007/client_acceptor.cpp (Client_Acceptor(Thread_Pool&)
Fixed initialization of concurrency_.
* docs/tutorials/018/Test_T.cpp (open): Fix ACE_UNUSED_ARG(arg).
* ace/Message_Queue.h (ACE_Message_Queue_Base): Removed "= 0" from
~ACE_Message_Queue_Base. AIX xlC warns that pure virtual dtor
needs an out-of-line definition to be a base of another class.
There is already a definition for the dtor in Message_Queue.i.
Thu Mar 18 14:30:04 1999 Nanbor Wang <nanbor@cs.wustl.edu>
* ace/OS.i (timezone): Removed the leading '::' to cope with VC
5. Thanks to Lan Yaolong <lyaolong@cs.sunysb.edu> for reporting
this.
Wed Mar 17 17:23:43 1999 Vishal Kachroo <vishal@merengue.cs.wustl.edu>
* ace/OS.i (timezone): Added support for timezone () on CHORUS
Wed Mar 17 14:06:24 1999 Ossama Othman <othman@cs.wustl.edu>
* acconfig.h: Some characters got removed so I put them back.
Wed Mar 17 13:59:42 1999 Ossama Othman <othman@cs.wustl.edu>
* configure.in:
* acconfig.h:
Added autoconf check for rename() system call.
Wed Mar 17 07:55:38 1999 Nanbor Wang <nanbor@cs.wustl.edu>
* include/makeinclude/platform_freebsd_pthread.GNU: Made some
adjustment for building ELF executables which are the default on
FreeBSD 3 and above. I'll incoporate Russell's LinuxThread
change later.
Wed Mar 17 13:36:32 1999 David L. Levine <levine@cs.wustl.edu>
* bin/make_release: return non-zero exit status on failure.
Wed Mar 17 12:47:04 1999 Nanbor Wang <nanbor@cs.wustl.edu>
* ace/Service_Config.cpp (open_i): Also delete the parse buffer
before exiting the function for it is no longer needed. We
still need to deallocate the buffer at close method to prevent
the case when uses manipulate Service_Config directly using
process_directives.
Wed Mar 17 12:33:35 1999 Douglas C. Schmidt <schmidt@ace.cs.wustl.edu>
* ace/OS.i: Reenabed ACE_OS::rename() and we'll see which
platforms need to have ACE_LACKS_RENAME. Thanks to Susan
Liebeskind <shl@cc.gatech.edu> for reporting this.
Wed Mar 17 10:46:26 1999 Ossama Othman <othman@cs.wustl.edu>
* ace/Message_Block.i (space): Moved ACE_Message_Block::space()
after inline declarations of ACE_Message_Block::end() and
ACE_Message_Block::wr_ptr() to prevent "used before it was
declared inline" warnings on end() and wr_ptr().
Wed Mar 17 10:24:26 1999 David L. Levine <levine@cs.wustl.edu>
* ace/OS.cpp (argv_to_string): initialized temp to 0 to avoid warnings
from VxWorks g++.
ace/OS.i (strenvdup): initialized temp to 0 to avoid warnings from
VxWorks g++. Thanks to Hans Rohnert for reporting these.
* include/makeinclude/platform_vxworks5.x_g++.GNU (RANLIB):
replaced /bin/true with @true, to avoid build warning on
NT hosts. Thanks to Hans Rohnert for reporting this.
Wed Mar 17 09:58:43 1999 Douglas C. Schmidt <schmidt@tango.cs.wustl.edu>
* ace/Svc_Conf.l (yy_delete_parse_buffer): Added a check for NULL
to avoid freeing buffers multiple times. Thanks to Tom Arbuckle
<arbuckle@uran.informatik.uni-bonn.de> for this fix and to
Nanbor for noticing the problem in the first place!
Wed Mar 17 08:30:58 1999 David L. Levine <levine@cs.wustl.edu>
* ACE version 4.6.29 released.
Wed Mar 17 03:12:43 1999 James C. Hu <jxh@entera.com>
* ace/Message_Block.i: Changed the definition of space () to be
something more useful than it was. Thanks to Bill Rizzi
(rizzi@softserv.com) for pointing out the problem.
* ace/Cache_*: Removed by popular decree. Can be found in
JAWS/PROTOTYPE.
Wed Mar 17 03:06:20 1999 Nanbor Wang <nanbor@cs.wustl.edu>
* ace/Service_Config.cpp (close): Re-enabled cleaning up the lex
buffer.
* ace/Svc_Conf_l.cpp (ace_yy_delete_parse_buffer): We should not
remove uninitialize buffer.
Tue Mar 16 19:48:57 1999 Irfan Pyarali <irfan@cs.wustl.edu>
* ace/Makefile and tests/Makefile: Reverted these files to the
pre-Cache_Manager state. The Cache_Manager files don't compile
on g++ and vxworks and we need to make a release now.
* ace/Map_T.h (class ACE_Noop_Key_Generator): Added new class.
This class makes it easy to use the map adapters when you don't
care about generating new keys.
Tue Mar 16 11:36:41 1999 Nanbor Wang <nanbor@cs.wustl.edu>
* ace/config-freebsd-pthread.h: FreeBSD 2.2 and above also support
threads, but siginfo_t is only supported on FreeBSD 3.0 and
above. Thanks to Goldshtain Dmitry <goldshtain.dmitry@usa.net>
for pointing these out.
Tue Mar 16 16:46:04 1999 David L. Levine <levine@cs.wustl.edu>
* ace/Hash_Bucket_T.h: added class to friend
ACE_Hash_Bucket_DLCStack_Iterator declaration.
Tue Mar 16 16:35:39 1999 David L. Levine <levine@cs.wustl.edu>
* docs/ACE-guidelines.html: never use TRUE, true, FALSE, false, etc.
Tue Mar 16 15:58:07 1999 Nanbor Wang <nanbor@cs.wustl.edu>
* ace/Service_Config.cpp (close): Don't call the
ace_yy_delete_parse_buffer for now. It is causing access
violation.
Tue Mar 16 15:15:00 1999 Chris Gill <cdgill@cs.wustl.edu>
* ace/ACE.{cpp, i}
ace/OS.{cpp, h, i}
ace/FIFO.cpp
ace/Log_Record.cpp
ace/SOCK_Dgram_Mcast.cpp
ace/SPIPE_Connector.cpp
ace/TLI_Acceptor.cpp
ace/config-psos-diab-mips.h (new)
ace/config-psos-diab.h
ace/config-psos-tm.h
ace/streams.h: integrated pSOS/MIPS changes into ACE. Thanks to
Jaepil Kim (jpkim@lgsoft.com) for completing the ACE pSOS port
for the MIPS platform, and for sending these modifications.
Tue Mar 16 14:25:03 1999 Steve Huston <shuston@riverace.com>
* ace/ACE.cpp (get_ip_interfaces, count_interfaces, get_bcast_addr):
On AIX, use CSIOCGIFCONF instead of SIOCGIFCONF to retrieve
interface information. Thanks to Eric Newton <ecn@smart.net> for
figuring this out.
Tue Mar 16 12:20:53 1999 Balachandran Natarajan <bala@cs.wustl.edu>
* ace/Service_Config.h (ACE_Service_Config):
Added documentation for the parse_args () method. This was in
request to Bill Rizzi <rizzi@softserv.com>.
Tue Mar 16 10:57:46 1999 Douglas C. Schmidt <schmidt@tango.cs.wustl.edu>
* ace/Svc_Conf.l: Added a new method ace_yy_delete_parse_buffer()
that frees up FLEX buffers when the program is done. Thanks to
Tom Arbuckle <arbuckle@uran.informatik.uni-bonn.de> for
this fix.
* examples/ASX/Message_Queue/buffer_stream.cpp (main): Changed pm
to cm and vice versa to be consistent. Thanks to Rainer Blome
<rainer_blome@de.ibm.com> for reporting this.
Tue Mar 16 10:50:42 1999 Steve Huston <shuston@riverace.com>
* include/makeinclude/platform_aix4_cset++.GNU: New file to cover
all AIX 4.x versions with the C Set++ (xlC) compiler.
* include/makeinclude/platform_aix.GNU, platform_aix4.2.GNU: These
files are deprecated; they simply include the new file above,
platform_aix4_cset++.GNU.
Tue Mar 16 10:38:35 1999 Carlos O'Ryan <coryan@cs.wustl.edu>
* ace/Hash_Bucket_T.cpp:
Removed default parameter declaration from the constructor for
ACE_Hash_Bucket_Manager definition. Default parameter
declarations can only show up in the function declaration.
Tue Mar 16 10:25:53 1999 Steve Huston <shuston@riverace.com>
* ace/config-aix-4.1.x.h, config-aix-4.2.x.h: These now simply
include config-aix-4.x.h. All further changes for any AIX 4.x
version should go in config-aix-4.x.h.
Tue Mar 16 08:12:54 1999 Steve Huston <shuston@riverace.com>
* ace/Thread_Manager.cpp: In thread_within(ACE_thread_t), replaced use
of '==' with ACE_OS::thr_equal. In hthread_within (ACE_hthread_t),
replaced use of '==' with ACE_OS::thr_cmp. Thanks very much to
Peter Windle <peterw@ugsolutions.com> for pointing this out.
* README: Added Peter Windle to the list of distinguished contributors.
Tue Mar 16 03:05:22 1999 James Hu <jxh@entera.com>
* ace/Cache_Hash_T.{cpp,h}:
* ace/Cache_Heap_T.{cpp,h}:
* ace/Cache_List_T.{cpp,h}:
* ace/Cache_Manager.{cpp,h}:
* ace/Cache_Manager_T.{cpp,h}:
* ace/Cache_Object.{cpp,h}:
* ace/Hash_Bucket_T.{cpp,h}:
Incorporated fixes from purify and benchmarking sessions at Entera.
Cosmetic changes coming soon (documentation strings and removal
of magic numbers).
* ace/Makefile: Added above files to Makefile.
* ace/OS.i: FreeBSD does not support the timezone() function as
documented by Vishal below. Using Chris Gill's implementation
for LynxOS.
* tests/Makefile:
* tests/Cache_Manager_Test.cpp: Added this test to illustrate
Cache_Manager. Still needs changes to use ACE_DEBUG instead of
cerr.
Mon Mar 15 19:05:22 1999 Steve Huston <shuston@riverace.com>
* ace/config-aix-4.x.h: New config file that covers all of the AIX 4.x
versions with C Set++ (xlC) and g++. Many thanks to Susan
Liebeskind <shl@cc.gatech.edu> for doing to port to AIX 4.3 and
testing, providing needed changes!
* ace/OS.i (wait): Fixed to handle ACE_HAS_UNION_WAIT case correctly,
without depending on AIX - thanks to Susan Liebeskind for this too!
* ace/ACE.cpp (fork, with zombie avoidance): Fixed to work right
with ACE_HAS_UNION_WAIT (ala AIX 4.2).
* include/makeinclude/rules.lib.GNU: New template instantiation
scheme for AIX with C Set++ (xlC); goes with...
* etc/xlc_dummy.cpp: New file, purpose of which is to help with AIX
xlC template instantiation. This is the new, improved method from
IBM suport. It still generates a zillion duplicate definition
warnings, but IBM doesn't have any better solution.
* include/makeinclude/platform_aix4.2.GNU: This will work with both
AIX 4.2 and 4.3 now. I'll take care of the naming soon.
* tests/Map_Test.(cpp h): Moved template defs to new file, Map_Test.h
to satisfy AIX xlC. Thanks to Susan for this too.
* tests/DLL_Test.(cpp h): Moved template defs to new file, DLL_Test.h
to satisfy AIX xlC.
* tests/Makefile, Makefile.DLL: Fixed to build libDLL_Test correctly
on AIX w/ xlC.
* tests/run_tests.sh: Sets LIBPATH correctly for AIX (4.2 at least).
Mon Mar 15 00:26:31 1999 Douglas C. Schmidt <schmidt@tango.cs.wustl.edu>
* netsvcs/ACE-netsvcs.html: Updated this to document the current
version. Thanks to Bill Rizzi <rizzi@softserv.com> for
reporting this.
* netsvcs/lib/Client_Logging_Handler.cpp: Make sure that debug
messages go to stderr and log messages go to stdout. Thanks to
Bill Rizzi <rizzi@softserv.com> for reporting this.
* netsvcs/lib/Client_Logging_Handler.cpp (fini): Oops, fixed a
minor buglet with return values. Thanks to David for reporting
this.
* netsvcs/lib/Client_Logging_Handler.cpp (send): Added a check to
make sure we don't crash if the ostream is NULL. Thanks to Bill
Rizzi <rizzi@softserv.com> for reporting this.
Sun Mar 14 22:54:41 1999 Douglas C. Schmidt <schmidt@tango.cs.wustl.edu>
* netsvcs/lib/Client_Logging_Handler.cpp (init): Added an
ACE_OS::unlink() to prevent STREAM pipes from getting confused
if this application doesn't shutdown gracefully. Thanks to Bill
Rizzi <rizzi@softserv.com> for reporting this.
Sun Mar 14 19:51:25 1999 Ossama Othman <othman@cs.wustl.edu>
* configure.in: Added real-time support library `-lrt' check to
asynchronous IO functions/libraries checks.
GNU glibc 2.1 adds support for the POSIX 1b real-time
specification in the library `librt'. The POSIX asynchronous IO
functions may be found in that library. Currently, `-lpthread'
must also be linked to in addition to `-lrt'.
Sun Mar 14 17:20:09 1999 Douglas C. Schmidt <schmidt@tango.cs.wustl.edu>
* ace/Log_Msg: Generalized the enable_debug_messages() and
disable_debug_messages() methods so they can be used to enable
or disable arbitrary priorities. Thanks to Susan Liebeskind
<shl@janis.gtri.gatech.edu> for suggesting this.
Sun Mar 14 14:46:00 1999 Chris Gill <cdgill@cs.wustl.edu>
* ace/OS.i (tzset,timezone): pSOS doesn't support these two
functions.
* ace/OS.{cpp, h}: added comments clarifying usage for
ACE_Time_Value::max_time, use of ACE_PSOS_TM in ACE_OS::signal ().
Sun Mar 14 01:30:43 1999 Nanbor Wang <nanbor@cs.wustl.edu>
* ace/OS.i (tzset,timezone): WinCE doesn't support these two
functions.
Sat Mar 13 12:14:34 1999 Douglas C. Schmidt <schmidt@tango.cs.wustl.edu>
* ace/Thread_Manager: Changed the following methods:
int task_list (..)
int thread_list (...)
int hthread_list (..)
int thread_grp_list (...)
int hthread_grp_list (...)
to return actual number of fetched values.
* ace/Thread_Manager: Added two new methods, task_all_list() and
thread_all_list(), which return lists of all the tasks and
threads in a Thread_Manager, respectively. Thanks to Zoran
Ivanovic <zorani@pathcom.com> for contributing this.
* ace/Shared_Memory_{MM,SV}.h: Clarified the relationship of
these classes to the more powerful ACE_Malloc<> abstraction.
Thanks to Ti Z <tiz@cisco.com> for suggesting this.
Sat Mar 13 13:27:55 1999 David L. Levine <levine@cs.wustl.edu>
* ace/OS.i (timezone,tzset): not supported on VxWorks.
* include/makeinclude/ platform_osf1_4.0.GNU: added suppression
of msg 1180, statement causes unreachble return, with cxx 6.2
and later. It doesn't like ACE_OSCALL_RETURN and
ACE_NOTSUP_RETURN, though it seems to be going overboard.
The warnings appeared with cxx 6.2-009. If someone uses
6.2-007, they might have to manually remove the 1180 suppression.
* examples/IPC_SAP/SOCK_SAP/CPP-inserver-fancy.cpp (handle_events),
C-inserver.cpp (main),
netsvcs/lib/Server_Logging_Handler_T.cpp (handle_logging_record),
apps/Gateway/Gateway/Concrete_Connection_Handlers.cpp (svc):
replaced NOTREACHED comment with ACE_NOTREACHED macro. DU cxx
started complaining about the unreached return statement.
Sat Mar 13 16:16:13 1999 James CE Johnson <jcej@chiroptera.tragus.org>
* docs/tutorials/021: Added some comments to page04 about the
template parameters and the use of the ACE_LOCK parameter in
particular. (Thanks to Bala for the suggestion.)
Sat Mar 13 00:37:17 1999 Douglas C. Schmidt <schmidt@cs.wustl.edu>
* ACE version 4.6.28 released.
Fri Mar 12 20:17:47 1999 Irfan Pyarali <irfan@cs.wustl.edu>
* ace/Select_Reactor_Base.cpp (handle_input):
* ace/WFMO_Reactor.cpp (handle_signal): Added support for
dispatching QOS_MASK and GROUP_QOS_MASK.
Fri Mar 12 19:13:11 1999 Carlos O'Ryan <coryan@cs.wustl.edu>
* ace/OS.i:
Implemented ACE_OS::timezone() for LynxOS.
Fri Mar 12 16:31:19 1999 Ossama Othman <othman@cs.wustl.edu>
* ACE-INSTALL.html (Linux): added note about non-thread safe
glibc 2.0 dynamic loader. The dynamic loader in glibc 2.1 is
thread safe.
Fri Mar 12 13:44:54 1999 Kirthika Parameswaran <kirthika@cs.wustl.edu>
* tests/DLL_Test.cpp (main): Fixed the errors on VxWorks and
LynxOS by shifting the START_TEST before the #ifdefs began.
Fri Mar 12 12:53:17 1999 David L. Levine <levine@cs.wustl.edu>
* ace/config-sunos5.5.h: with CC 5.0, replaced ACE_LACKS_ACE_IOSTREAMS
with ACE_USES_OLD_IOSTREAMS.
* include/makeinclude/platform_sunos5.5_sunc++.GNU: with CC 5.0,
added -library=iostream,no%Cstd to CCFLAGS.
Thanks to Diethard Ohrt <Diethard.Ohrt@siemens.at> for the
above two updates to support CC 5.0.
Fri Mar 12 12:09:14 1999 David L. Levine <levine@cs.wustl.edu>
* ace/OS.h: fixed comment after #endif to match its #ifdef.
Fri Mar 12 11:46:55 1999 Vishal Kachroo <vishal@merengue.cs.wustl.edu>
Added two new functions tzset () and timezone (). The former sets the
timezone information based on an environment variable TZ which is
set when the user logs on. (For St. Louis TZ=US/Central and
timezone = 360 minutes or 6 hrs. from GMT.). timezone () retrieves
the timezone value in seconds.
* ace/OS.h (ACE_OS): Added a wrapper for timezone () and tzset ().
* ace/OS.i (ACE_OS): Added Implementation for the above functions.
The timezone information is being used in the Time Service.
Thu Mar 11 20:11:13 1999 Douglas C. Schmidt <schmidt@tango.cs.wustl.edu>
* ace/Get_Opt.cpp (operator): Reverted the following change since
it will break documented behavior. Thanks to Jon Biggar for
reporting this.
* ace/Get_Opt.cpp (operator): When the getopt encountered an
unknown option or an option with a missing required argument, it
returned '?' and continues to allow processing with the next
argument (no problem so far). However, if it encountered an
argument that is not an option (i.e. no '-' in front) or if it
encounters a double dash (i.e. '--') it returns EOF which
disallows further processing. Now, it returns a '?' after
advancing optind to allow further processing. Thanks to Mark
Laffoon <mark.laffoon@centraxcorp.com> for reporting this.
Thu Mar 11 15:34:24 1999 David L. Levine <levine@cs.wustl.edu>
* ace/ACE.cpp: removed unnecessary #includes of ace/IPC_SAP.h,
ace/Process.h, and ace/SString.h. Thanks to Elias Sreih
<sealstd1@nortelnetworks.com> and Liang Chen
<chenl@nortelnetworks.com> for suggesting this.
* ace/OS.cpp (ACE_OS::thr_setspecific): on ACE_WIN32 with
ACE_HAS_TSS_EMULATION, don't register the one native key
with ACE_TSS_Cleanup::instance (). There's no need, because
it doesn't have a destructor. And, it prevents startup
because the ACE_TSS_Cleanup structures haven't been set up
completely when it is called. Thanks to Terry Rosenbaum
<Terry.Rosenbaum@Radiology.MSU.edu> for reporting this.
Thu Mar 11 14:04:15 1999 David L. Levine <levine@cs.wustl.edu>
* include/makeinclude/platform_chorus_ghs.GNU: added protection
to not reset exceptions flag if it was defined.
Thu Mar 11 12:53:41 1999 Carlos O'Ryan <coryan@cs.wustl.edu>
* ace/Thread_Manager.i:
The method to return the number of threads was using thr_lists_
as a pointer, but it isn't.
Thu Mar 11 10:12:51 1999 Douglas C. Schmidt <schmidt@ace.cs.wustl.edu>
* ace/Thread_Manager: Added a method to return the current number
of threads in the ACE_Thread_Manager. Thanks to Zoran Ivanovic
<zorani@pathcom.com> for suggesting this.
Thu Mar 11 10:27:51 1999 Kirthika Parameswaran <kirthika@cs.wustl.edu>
* tests/DLL_Test.cpp (main): Allowed the main to be accessible on
all platforms by shifting the #ifdefs inside the main. The
problem arose due to the main being declared an undefined
reference on LynxOS.
Wed Mar 10 13:31:37 1999 Ossama Othman <othman@cs.wustl.edu>
* ace/config-linux-common.h:
Commented out ACE_HAS_DLFCN_H_BROKEN_EXTERN_C, ACE_LACKS_MSYNC and
ACE_LACKS_MADVISE. They are no longer needed for recent revisions
of glibc 2.x. Thanks to <nbecker@fred.net> for pointing this out.
Wed Mar 10 11:05:39 1999 David L. Levine <levine@cs.wustl.edu>
* ace/Thread.h,ace/Thread_Manager.h (exit): added comment
that exit () should not be called by main thread.
* ace/OS.h: added an ACE_OS_thread_key_t typedef on WIN32
with ACE_HAS_TSS_EMULATION. Thanks to Terry Rosenbaum
<Terry.Rosenbaum@Radiology.MSU.edu> for reporting that
it was missing.
* include/makeinclude/platform_osf1_4.0.GNU: disable msg 1136 with
cxx 6.1-029. Thanks to Doug Anderson <dla@home.com> for
reporting this.
Wed Mar 10 10:57:16 1999 Carlos O'Ryan <coryan@cs.wustl.edu>
* ace/Basic_Types.h:
Fixed minor problem that would show up if sizeof(int)==2; thanks
to Cristian Ferretti <cfs@mat.puc.cl> for reporting this
problem.
Wed Mar 10 10:13:52 1999 Nanbor Wang <nanbor@cs.wustl.edu>
* ace/Message_Block.i (reference_count): Made sure the inline
function is defined before used. Thanks to David for noticing
this.
Wed Mar 10 08:52:59 1999 David L. Levine <levine@cs.wustl.edu>
* include/makeinclude/platform_chorus.GNU: fixed
exceptions=1 support. Thanks to Wei Chiang for
reporting this.
* include/makeinclude/wrapper_macros.GNU: added exceptions=1
support for pre-2.8 g++. It's not recommended, because pre-2.8
g++ doesn't support exceptions well. It's provided for
completeness.
* include/makeinclude/platform_chorus.GNU: removed
exceptions=1 support, because now it's in wrapper_macros.GNU.
Tue Mar 09 21:54:39 1999 David L. Levine <levine@cs.wustl.edu>
* netsvcs/Makefile,netsvcs/clients/Makefile: updated
ACE_COMPONENTS check to allow everything to be built
in the default case, when ACE_COMPONENTS isn't set.
Thanks to Carlos for noticing this.
* netsvcs/Makefile,netsvcs/servers/Makefile: moved
netsvcs/server build suppression, when ACE_COMPONENTS
lacks Other, from netsvcs/Makefile to netsvcs/servers/Makefile.
* examples/Naming/Makefile: suppress build if ACE_COMPONENTS
is defined and doesn't contain Other.
* performance-tests/Misc/Makefile: don't build test_naming
if ACE_COMPONENTS is defined and doesn't contain Other.
* ace/Log_Record.i (length): cast the long argument to ACE_UINT32,
to avoid warning message if long is greater than 4 bytes.
Thanks to Hao Ruan <hruan@lucent.com> for reporting this.
Tue Mar 9 20:56:35 1999 Carlos O'Ryan <coryan@cs.wustl.edu>
* include/makeinclude/rules.nested.GNU:
If the DIRS macro is not set we simply do not recurse. Before
this change we got an error from the shell.
* bin/auto_compile:
If there are no errors then send a message when a warning was
detected during compilation.
Tue Mar 09 15:15:19 1999 David L. Levine <levine@cs.wustl.edu>
* bin/create_ace_build: check for ace/ and include/ directories
in top level directory, instead of ace/, examples/ and netsvcs/.
This allows use with trimmed-down workspaces. Thanks to Jeff
for suggesting this.
* include/makeinclude/platform_chorus_ghs.GNU: added exceptions
make option support. Thanks to Wei Chiang for reporting that
it wasn't supported.
Tue Mar 9 12:59:09 1999 Douglas C. Schmidt <schmidt@tango.cs.wustl.edu>
* docs/ACE-subsets.html: Updated the subsets to reflect what's
actually in the ACE Makefile.
* ace/Message_Block.h: Changed the private section in both
ACE_Message_Block and ACE_Data_Block to protected allowing
derived classes to access data members of the parent class;
Thanks to Alexander Davidovich <sasha@ms.com> for suggesting
this.
* ace/Message_Block: Added new reference counting accessor methods
to Message_Block and Data_Block. Thanks to Alexander Davidovich
<sasha@ms.com> for suggesting this.
Tue Mar 09 11:21:49 1999 Nanbor Wang <nanbor@cs.wustl.edu>
* ace/Message_Block.h: For some reason, default ctor and operator=
must be declared private instead of protected if they are not to
be accessable. Otherwise, VC complains.
Tue Mar 09 01:06:44 1999 Douglas C. Schmidt <schmidt@cs.wustl.edu>
* ACE version 4.6.27 released.
Tue Mar 09 00:39:23 1999 Douglas C. Schmidt <schmidt@cs.wustl.edu>
* ACE version 4.6.26 released.
Mon Mar 08 23:23:35 1999 Nanbor Wang <nanbor@cs.wustl.edu>
* ace/Thread_Manager.{h,cpp} (thread_within,hthread_within,
thread_grp_list,hthread_grp_list): Added new functions to
check if a thread is managed by the thread manager and collect
the thread ids/handles in a thread group. Thanks to XuYifeng
<wj@puclic.hz.zj.cn> for motivating the addition.
Mon Mar 08 22:23:33 1999 David L. Levine <levine@cs.wustl.edu>
* ace/Makefile: added FOR_TAO short-cut to ACE_COMPONENTS.
If the ACE_COMPONENTS variable is set to FOR_TAO, then
only the components necessary to support TAO will be
built into libACE.
* netsvcs/clients/Makefile: suppress build if Other
ACE_COMPONENT isn't built.
* netsvcs/Makefile: suppress server build if Other and Token
ACE_COMPONENT aren't built.
Mon Mar 8 17:35:04 1999 Gonzalo Diethelm <gonzo@tango.cs.wustl.edu>
* ace/NT_Service.cpp:
* ace/NT_Service.h:
Now the handle_control method calls separate protected virtual
methods to do its work. That way, it is easier to override what
must be done on each case, just by overriding one of the new
methods.
Mon Mar 08 15:41:08 1999 Steve Huston <shuston@riverace.com>
* include/makeinclude/platform_hpux.GNU: Added -DACE_LACKS_PRAGMA_ONCE.
Thanks to Hao Ruan for reporting this.
* README: Added Hao Ruan to the list of contributors.
Mon Mar 08 12:27:54 1999 David L. Levine <levine@cs.wustl.edu>
* ace/Service_Config.cpp (handle_signal): added ACE_UNUSED_ARG (sig)
if ACE_NDEBUG is defined, to avoid compilation warning about
unused argument with debug=0.
* docs/ACE-subsets.html: added subset characterizations on
several platforms.
* include/makeinclude/platform_sunos5_ghs.GNU: fixed AR and
ARFLAGS to use CC to build static libs. It looks like GreenHills
no longer supplies a separate archiver with 1.8.9.
Mon Mar 08 11:58:03 1999 Nanbor Wang <nanbor@cs.wustl.edu>
* ace/Task.cpp (activate): Made sure we don't mess with the passed
in grp_id if the task was not previously actived. Thanks to
XuYifeng <wj@puclic.hz.zj.cn> for noticing this.
Fri Mar 05 14:15:46 1999 David L. Levine <levine@cs.wustl.edu>
* ace/OS.cpp (ACE_TSS_Cleanup (),free_all_keys_left ()):
with ACE_TSS_Emulation only, don't free the TSS key that
ACE_TSS_Cleanup uses internally for its in_use_ member.
The key doesn't get freed in ACE_OS::thr_key_detach (),
because that gets called during shutdown. So,
free_all_keys_left () would attempt to free it. But,
the dynamic memory associated with it had already been
deleted by ACE_TSS_Cleanup::exit (). And, there
aren't any other resources associated with it. So,
free_all_keys_left () can just skip over it.
* ace/OS.cpp (cleanup_tss): disabled call to
free_all_keys_left () with ACE_HAS_TSS_EMULATION, because
we can't safely access the TSS values that were created by
the main thread. They were destroyed when the ACE_TSS_Cleanup
instance exit () function was called. There don't seem to
be any leaks if free_all_keys_left () isn't called, anyways.
Fri Mar 5 11:05:04 1999 Nanbor Wang <nanbor@cs.wustl.edu>
* examples/Log_Msg/Log_Msg.dsw: Fixed the path to Callback.dsp.
Thanks to Zoran Ivanovic <zorani@pathcom.com> for reporting
this.
* performance-tests/Misc/Makefile: Removed test_guard from the
Makefile. This test requires having
ACE_USES_OBSOLETE_GUARD_CLASSES defined in order to compare
ACE_Guard to ACE_Thread_Mutex_Guard (obsolete).
* ace/OS.h: Removed ACE_THREAD_GUARD*.
* ace/config-psos-{diab,tm}.h: Removed
ACE_LACKS_METHOD_DEFINITIONS_IN_CLASS_TEMPLATE. It is no longer
needed.
* ace/Synch_T.{h,i}: One would assume compilers are smart enough
to treat _all_ in-class functions as inline. Not for template
member functions. This is true at least for SunCC, egcs, gcc,
and MSVC. These functions seems to impose extra overhead.
After removing the in-class definitions for ACE_Guard, the cost
of using ACE_Guard is now as good as using
ACE_Thread_Mutex_Guard (which, by the way, is depricated.) So,
there's no need for a ACE_THREAD_MUTEX_GUARD class. Afterall,
the "ACE Way[TM]" of defining inline functions is the "Right
Way[TM]". The motto of the change is, always put inline
functions in .i files (even for template specialization)
otherwise, they'll become regular functions. If you really need
to put function definitions within class definitions, mark
inline function explicitly.
Thanks to Andy Marchewka <AndyM@who.net> for noticing the
performance differences between ACE_Thread_Mutex_Guard and (old)
ACE_Guard.
Fri Mar 5 11:06:12 1999 Douglas C. Schmidt <schmidt@tango.cs.wustl.edu>
* ace/Svc_Conf.y: Always print out an error message when we
increment yyerror. Thanks to Ulf Jaehrig <jaehrig@desys.com>
for reporting this.
Thu Mar 4 12:26:47 1999 Nanbor Wang <nanbor@cs.wustl.edu>
* tests/Message_Queue_Notifications_Test.cpp (svc): Made increment
of <role_> thread-safe.
Thu Mar 04 07:00:20 1999 David L. Levine <levine@cs.wustl.edu>
* ace/config-aix-4.2.x.h: added ACE_LACKS_PRAGMA_ONCE
to xlC section. Thanks to Rainer Blome <rainer_blome@de.ibm.com>
for reporting this.
* ace/config-osf1-4.0.h: added ACE_LACKS_PRAGMA_ONCE to
cxx section, with __DECCXX_VER < 60090010. This should
help avoid compilation warnings from cxx 5.x. Thanks
to Oliver M. Kellogg <Oliver.Kellogg@vs.dasa.de> for
reporting this.
* ACE-INSTALL.html: corrected name of ace/config-linux-lxpthreads.h.
Thanks to Barry Hoggard <hoggard@cfx.com> for reporting this.
* tests/Makefile,Makefile.DLL: instead of always running a
recursive make to build libDLL_Test.so, only do that if it
needs to be built. And, added dependencies to Makefile.DLL.
* ace/Makefile: commented out use of TEMPLATE_FILES. I don't
believe that it's needed.
* ace/CLASSIX/Makefile: removed unused TEMPLATE_FILES and
LSRC2 macros, and gethrtime build rule.
* docs/ACE-subsets.html: updated, and added documentation for
ACE_COMPONENTS and the ACE_OS adapation layer.
Wed Mar 3 22:30:02 1999 James CE Johnson <jcej@lads.com>
* ace/IOStream_T.{cpp|h|i}: Those last changes break (at least)
examples/IOStream/server. I'm backing them out and restoring
the 4.6.25 versions of these files until Chris can get back to
me about what's going on.
Wed Mar 03 21:49:58 1999 David L. Levine <levine@cs.wustl.edu>
* ace/OS.cpp (socket_init,socket_fini): replaced use of
cerr with ACE_OS::fprintf.
* ace/OS.h: conditionally #include Object_Manager.h, only
if ACE_HAS_MINIMAL_ACE_OS is not defined. Merged main ()
#defines for Unix/NT and WinCE, to ease maintenance.
* ace/config-minimal.h: removed undef of
ACE_HAS_NONSTATIC_OBJECT_MANAGER, because OS.h now conditionally
#includes Object_Manager.h. Added ACE_MAIN_OBJECT_MANAGER #define,
to only instantiate the ACE_OS_Object_Manager.
* ace/config-WinCE.h: added ACE_MAIN and ACE_MAIN_OBJECT_MANAGER
#defines, to support merging of the main () #defines in OS.h.
* ace/OS.{h,cpp}: added ACE_OS_Object_Manager::starting_up ()
and shutting_down (). (ACE_TSS_Cleanup::remove): replaced
use of ACE_Object_Manager::shutting_down () with
ACE_OS_Object_Manager::shutting_down (). Thanks to Irfan
for reporting that, otherwise, ace/Object_Manager.h had
to be #included by OS.cpp on NT, if ACE_NONSTATIC_OBJECT_MANAGER
wasn't #defined.
* tests/Basic_Types_Test.cpp: hacked a bit to support building,
and running, with ACE_HAS_MINIMAL_ACE_OS. Don't look,
unless you want to forever ruin all of your good coding habits.
Wed Mar 03 19:08:52 1999 Irfan Pyarali <irfan@cs.wustl.edu>
* ace/Map_T.h (ACE_Map): Further degraded my code to make it
compile with lame compilers ;-) This time it was the lame pSOS
diab compiler that could not recongnize a typedef in the base
template class.
Wed Mar 03 11:31:00 1999 David L. Levine <levine@cs.wustl.edu>
* docs/ACE-guidelines.html: added guideline to try to limit
the length of source code lines to less than 80 characters.
And, reverted to the previous version of the file. The
last version was apparently committed by mistake.
* include/makeinclude/wrapper_macros.GNU (ACE_HAS_GNUG_PRE_2_8):
added support for eg++. Assume that it's egcs, and therefore
ACE_HAS_GNUG_PRE_2_8 is set to 0. Thanks to Russell L. Carter
<rcarter@consys.com> for supplying a patch.
Wed Mar 3 09:35:20 1999 Ossama Othman <othman@cs.wustl.edu>
* ace/Memory_Pool.cpp (handle_signal): Added a check to see if the
current mapping is up to date so that faults caused by other
mappings will be passed on. Thanks to
Joseph Weihs <joseph-w@Orbotech.COM> for reporting this and for
providing a fix.
Wed Mar 3 05:48:24 1999 Douglas C. Schmidt <schmidt@ace.cs.wustl.edu>
* ace/ACE.cpp (fork): Added an extra pair of parens within the
WIFE*() macros to work around GCC bugs. Thanks to Alexandre
Karev <Alexandre.Karev@cern.ch> and Andre Folkers
<folkers@informatik.mu-leubeck.de> for reporting this.
Tue Mar 2 22:50:18 1999 Alexander Babu Arulanthu <alex@cs.wustl.edu>
* ace/POSIX_Asynch_IO.h:
* ace/POSIX_Proactor.cpp:
Added forward declaration for ACE_Proactor_Impl. Using static cast
to down cast from <aiocb *> to
<ACE_POSIX_Asynch_Result *>. Thanks to John.Mulhern@lawson.com for
reporting the warnings in HP UX.
Tue Mar 02 21:17:19 1999 David L. Levine <levine@cs.wustl.edu>
* ace/OS.{h,cpp},Object_Manager.{h,cpp}: changed Object_Manager
state to be per-instance, instead of global. This makes
it easier to enforce startup and shutdown ordering,
regardless of whether the Object_Managers are static,
created on the stack of main (), or dynamically allocated.
* ace/IOStream_T.h: fixed a couple more line breaks.
* Makefile: added support for suppressing man page regeneration
on make release command line.
* include/makeinclude/platform_osf1_4.0.GNU: added automated
support for warning 1136. It's only supported by cxx 6.2.
Thanks to James CE Johnson <jcej@lads.com> for reporting
this, and to Andrew Hobson <ahobson@eng.mindspring.net> for
diagnosing the problem.
* ace/OS.i (thr_getspecific): added #else clause w/ACE_NOTSUP_RETURN
to support ACE_HAS_MINIMAL_ACE_OS.
* ace/config-minimal.h: added #undef of
ACE_HAS_NONSTATIC_OBJECT_MANAGER, to avoid #include of
Object_Manager.h. And, added #define ACE_USE_THREAD_MANAGER_ADAPTER
so that ACE_Thread_Adapter::invoke () won't use any
ACE_Thread_Exit functions.
* ace/OS.cpp (ACE_Thread_Adapter::invoke): removed
ACE_HAS_MINIMAL_ACE_OS conditional compilation, because
config-minimal.h now #defines ACE_USE_THREAD_MANAGER_ADAPTER.
And, added #else clauses to three TSS-related functions.
Tue Mar 02 14:43:29 1999 Steve Huston <shuston@riverace.com>
* ace/Map_T.(h i): Qualified types inherited from template base
classes; qualified with ACE_TYPENAME where needed. Now aC++
is happy.
* ace/config-hpux-10.x-hpc++.h: Added ACE_HAS_TYPENAME_KEYWORD for
aC++.
* tests/DLL_Test.cpp: Enable on HP-UX. Generalize the library
prefix/suffix with the platform definitions from OS.h.
Tue Mar 2 12:41:00 1999 Chris Gill <cdgill@cs.wustl.edu>
* ace/IOStream_T.{cpp, h}: Fixed some line breaks that were
inadvertently introduced when these files were last checked in.
Tue Mar 2 10:54:16 1999 Nanbor Wang <nanbor@cs.wustl.edu>
* Cache_{Hash,Heap}_T.{h,cpp}:
* Cache_Manager[_T].{h,cpp}:
* Cache_Object.cpp:
* Hash_Bucket_T.{h,cpp}: Fixed erroneous include directives.
Thanks to Christian.Destor@alcatel.fr for reporting this.
Tue Mar 2 10:33:47 1999 James CE Johnson <jcej@lads.com>
* ace/IOStream_T.{cpp|h|i}: Christopher Healey
<chealey@entera.com> noticed occasional core dumps from
~ACE_IOStream on heavily loaded systems. It turns out that
streambuf_ was being deleted out from under the object. These
three files include his patches for this problem.
Tue Mar 2 02:28:54 1999 Nanbor Wang <nanbor@cs.wustl.edu>
* ace/CDR_Stream.h (do_byte_swap): This accessor function should
be public accessible. Otherwise it's useless. Reorder class
declaration so the protected members appear before private
members/functions.
Mon Mar 1 23:26:41 1999 Kirthika Parameswaran <kirthika@cs.wustl.edu>
* tests/DLL_Test.cpp (ACE_HAS_SVR4_DYNAMIC_LINKING):
Added this check to prevent this test from being run
separately.
Mon Mar 01 17:02:48 1999 David L. Levine <levine@cs.wustl.edu>
* ACE version 4.6.25 released.
Mon Mar 01 16:54:02 1999 David L. Levine <levine@cs.wustl.edu>
* ace/OS.cpp,Object_Manager.cpp: fixed ObjMan state logic to
ensure that the ACE_Object_Manager is fini'd before the
ACE_OS_Object_Manager, even when both are static objects.
Thanks to Carlos for reporting this problem.
Mon Mar 01 14:05:46 1999 David L. Levine <levine@cs.wustl.edu>
* ACE version 4.6.24 released.
Mon Mar 01 13:04:53 1999 David L. Levine <levine@cs.wustl.edu>
* ace/OS.*,Object_Manager.{h,cpp},ACE.cpp: added class
ACE_OS_Object_Manager. It manages the three preallocated
locks that ACE_OS uses. Many thanks to Nanbor for
suggesting the scheme to avoid dependency on Synch_T.h
for the ACE_Guard instantiations: OS.cpp now has a
couple of lightweight guards for its internal use.
* ace/ACE.{i,cpp},OS.*: moved ACE::strecpy () and
ACE::unique_name () from class ACE to ACE_OS. That
allows ACE_OS to be self-contained. The ACE versions
were left for backward compatibility; they now just
wrap the ACE_OS versions.
With these changes, a stand-alone ACE OS adaptation layer
can now be built. The ace/config-minimal.h config file
should be included in ace/config.h if you want to build
the ACE OS adaptation layer.
Two deficiencies remain with the ACE OS adaptation layer:
the dependencies on ACE_Log_Msg have been conditionally
compiled out by config-minimal.h. Similarly, there is
a conditional dependency of ACE_Thread_Adapter::invoke ()
on ACE_Thread_Exit. It would probably be best to move
that to ACE Thread_Manager, if possible.
* ace/config-minimal.h: suppress ACE_HAS_TSS_EMUATION, because
it requires other ACE headers to be #included.
* ace/Synch.{i,cpp} (~ACE_Recursive_Thread_Mutex): added
a call to this->remove (). Without it, the mutex wasn't
being destroyed. Uninlined both the destructor to avoid
code bloat if there are multiple returns in a function
that instantiates an ACE_Recursive_Thread_Mutex locally.
And, uninlined the remove () function, to save code space,
because it's non-trivial and not expected to be time critical.
Sun Feb 28 20:21:05 1999 Kirthika Parameswaran <kirthika@cs.wustl.edu>
* tests/Makefile.DLL (realclean): Added the realclean target to
the makefile.
* tests/run_tests.sh (ace_version): Disabled DLL_Test for chorus,
LynxOS, Unicos platforms as they dont support shared libraries.
Sun Feb 28 20:08:54 1999 Alexander Babu Arulanthu <alex@cs.wustl.edu>
* ace/POSIX_Proactor.cpp:
* ace/POSIX_Asynch_IO.h:
* ace/POSIX_Asynch_IO.cpp:
Fixed to pass <ACE_POSIX_Asynch_Result *> wherever <aiocb *> is being
passed, since it is ok to pass the derived class pointer in place of
base class pointer.
Defined the fields <bytes_transferred_> and <error_> in
<ACE_POSIX_Asynch_Result> so that they can be used instead of
<AIO_SYSERROR> and <AIO_SYSRETURN>. Because <aiocb:;aio_return> and
<aiocb::aio_error> fields are not supported on HP yet.
Sun Feb 28 14:22:38 1999 David L. Levine <levine@cs.wustl.edu>
* include/makeinclude/platform_linux_kcc.GNU: added
-D_GNU_SOURCE to CFLAGS, because it's needed with
glibc 2.1. It can't go into the config file, because
it needs to be #defined before the #include of
features.h. But, features.h #defines the glibc version.
Thanks to Ben Eng <bet@jetpen.com> for reporting this.
* ace/config-minimal.h: disable ACE_ASSERT, ACE_DEBUG, and ACE_ERROR.
Sun Feb 28 12:57:53 1999 Nanbor Wang <nanbor@cs.wustl.edu>
* ace/Thread_Manager.cpp (terminate): The condition for handling
joining thread was wrong. Thanks to Terry Rosenbaum
<Terry.Rosenbaum@Radiology.MSU.edu> for reporting the bug.
Sun Feb 28 08:37:44 1999 David L. Levine <levine@cs.wustl.edu>
* ace/OS.cpp (ACE_Thread_Adapter::invoke): replaced call
to ACE_Thread::self () with call to ACE_OS::thr_self (),
so that we don't need to #include ace/Thread.h. Thanks
to Russ Noseworthy for reporting this.
Sat Feb 27 17:25:52 1999 David L. Levine <levine@cs.wustl.edu>
* ace/Makefile: updated dependencies. They didn't have
any .shobj dependencies, just .obj.
* tests/Makefile: ran make depend. It didn't have any
dependencies.
* include/makeinclude/platform_linux_kcc.GNU: added note that
evaluation copies of KCC might come with libraries that were
built with exception handling support. To use them, ACE must be
built with exception handling support
(exceptions=1). Thanks to John Lindal <jafl@cco.caltech.edu>
for reporting this.
Also, added support for the exceptions make flag.
Sat Feb 27 13:31:17 1999 Douglas C. Schmidt <schmidt@tango.cs.wustl.edu>
* ace/OS.i: Fixed the remaining problems with ACE_OSCALL_RETURN
macro usage for sem_wait(), sem_post(), and sem_trywait().
Thanks to David Levine for reporting this.
* ace/OS.h: Added a set of ACE_THREAD_GUARD macros that use
ACE_Thread_Mutex_Guard. These seem to be faster on many
platforms than the ACE_Guard<ACE_Thread_Mutex>. Thanks to
Andy Marchewka <AndyM@who.net> for reporting this.
* ace/Dump.cpp: Moved the explicit template instantiation of
ACE_Guard<ACE_Thread_Mutex> out of dump and put it into
Synch.cpp, where it's with the other instantiations.
Fri Feb 26 23:58:46 1999 Jeff Parsons <parsons@cs.wustl.edu>
* ace/CDR_Stream.{h,i,cpp}:
Added some read- and write-pointer alignment
functions, as proposed by Carlos. Also deleted some
ACE_OutputCDR members that weren't being used.
Checked the build on NT and suncc. Must come up with
some kind of test for these new functions.
Fri Feb 26 21:56:05 1999 David L. Levine <levine@cs.wustl.edu>
* ace/Makefile: moved ACE_COMPONENTS to after include
of wrapper_macros.GNU, so that users can set it in
their platform_macros.GNU. Also, added ACE_LACKS_ACE_OTHER
to CFLAGS if Other ACE_COMPONENT is not built.
Fri Feb 26 17:48:32 1999 Steve Huston <shuston@riverace.com>
* include/makeinclude/platform_hpux_aCC.GNU: Added OCFLAGS
value for optimize=1 builds; added support for distrib=1
builds to build for off-site distribution.
Fri Feb 26 12:38:00 1999 David L. Levine <levine@cs.wustl.edu>
* ace/OS.cpp: added #include "ace/Thread_Manager.h" on
WIN32, for ACE_Thread_Descriptor declaration. Thanks
to Barry Hoggard <hoggard@cfx.com> for reporting this.
* ace/Managed_Object.h: fixed comments in description.
Fri Feb 26 11:56:08 1999 Ossama Othman <othman@cs.wustl.edu>
* ace/Log_Priority.h (ACE_Log_Priority): Removed all references to
ACE_HAS_BROKEN_ENUMS since it has been deprecated (see David's
ChangeLog entries from Feb 5).
Fri Feb 26 11:09:47 1999 Ossama Othman <othman@cs.wustl.edu>
* ace/OS.i (sema_destroy): ACE_OSCALL and ACE_OSCALL_RETURN macro
calls for sem_destroy, sem_unlink and sem_close had too few
arguments. Added the missing arguments for the macros.
Fri Feb 26 10:59:45 1999 Alexander Babu Arulanthu <alex@cs.wustl.edu>
* examples/Reactor/WFMO_Reactor/test_talker.cpp (main): Fixed to
use the new proactor interface.
Thu Feb 25 22:17:58 1999 David L. Levine <levine@cs.wustl.edu>
* ace/OS.cpp (spa, for VxWorks only): updated comment about
::sp () default values, and added comments for each argument
to ::taskSpawn (). Thanks to Tad Jarosinski <tadj@qualcomm.com>
for asking about spa ().
Thu Feb 25 20:10:06 1999 Ossama Othman <othman@cs.wustl.edu>
* ace/Synch.h:
* ace/Synch.i:
* ace/Synch_T.h:
Added an ACE_Null_Semaphore class. Thanks to Irfan for his guidance
on this. Also fixed ACE_SYNCH_SEMAPHORE to be ACE_Null_Semaphore
when ACE is built without thread support.
Thu Feb 25 18:37:27 1999 Irfan Pyarali <irfan@cs.wustl.edu>
* ace/WFMO_Reactor (cancel_wakeup and masks_ops): Fixed the
cancel_wakeup() method. It was doing too much, i.e., if the
masks were reduced to null, it was removing the event handler
entry. The new version behaves more like the Select Reactor in
that it simply plays with the masks without removing the event
handler.
Also, implemented the mask_ops() operation.
Thanks to Douglas C. Schmidt <schmidt@cs.wustl.edu> and Zoran
Ivanovic <zorani@pathcom.com> for helping in pinpointing the
problem.
* ace/Service_Config.cpp (fini_svcs and close): Since the reactor
and proactor singletons potentially call user code (in
handle_close()), we must shut them down *before* the log msg is
destroyed. Therefore, moved the close_singletons() call from
close() to fini_svcs().
* ace/Select_Reactor_Base.cpp (bit_ops): Since we return the old
masks everytime, find the old reactor masks at the start of the
method. This automatically does the work of the GET_MASK
operation.
* ace/Proactor.cpp: Added #include "ace/Object_Manager.h"
* examples/Reactor/WFMO_Reactor/test_prerun_state_changes.cpp:
handle_close() was getting called twice; changed code to prevent
double deletion.
* examples/Reactor/WFMO_Reactor/test_handle_close.cpp: Added the
ability to cancel reads, change masks, and check for existing
reactor masks.
Thu Feb 25 17:35:10 1999 Kirthika Parameswaran <kirthika@cs.wustl.edu>
* tests/DLL_Test.cpp:
Changed the OBJ_SUFFIX to ".so" as on Linux the .o file cannot
be a shared object. Also the OBJ_PREFIX is now "./lib" for
non-Win32 platforms.
* tests/Makefile:
Additional option DLL_TEST added so that a .so can be produced
for DLL_Test.
* tests/Makefile.DLL:
This is the makefile which produces libDLL_Test.so for DLL_Test.
Wed Feb 24 23:47:22 1999 Alexander Babu Arulanthu <alex@cs.wustl.edu>
* examples/Reactor/Proactor/test_proactor.cpp:
* ace/WIN32_Asynch_IO.h:
* ace/Proactor.cpp:
* ace/WIN32_Proactor.cpp:
* ace/Proactor.h:
* ace/Proactor_Impl.h:
* ace/POSIX_Proactor.h:
Changed the return values of the <ACE_Proactor::handle_events> API to
return -1 on error, 0 on timeout, 1 on success. This has been done so
that it looks like the <ACE_Reactor::handle_events>. Previously
<ACE_Proactor::handle_events> was returning -1 on error, 0 on success
and 0 on timeout also.
Fixed the <ACE_POSIX_AIOCB_Proactor::handle_events> and
<ACE_POSIX_SIG_Proactor::handle_events> to do indefinite blocking when
ACE_INFINITE is passed. <sigwaitinfo> is used instead of
<sigtimedwait>.
Renamed the <ACE_AIO_Accept_Handler> class to more appropriate
<ACE_Notify_Pipe_Manager>.
Wed Feb 24 22:08:50 1999 Douglas C. Schmidt <schmidt@tango.cs.wustl.edu>
* ace/OS.i: Fixed all the sem_* calls so that they no longer use
the ACE_ADAPT_RETVAL() macro, which was broken since these calls
all return -1 on failure. Thanks to John E. Bossom
<John.Bossom@cognos.com> for reporting this.
Wed Feb 24 17:40:49 1999 James CE Johnson <jcej@chiroptera.tragus.org>
* docs/tutorials/combine:
* docs/tutorials/colorize:
A few enhancements to make the colorization better. Also, when
#include "ace/something.h" is seen by the colorizer, it will
create a link to ../../../ace/something.h. That should give
direct links from the tutorial pages to the ACE headers.
Wed Feb 24 16:56:51 1999 James CE Johnson <jcej@chiroptera.tragus.org>
* docs/tutorials/017/barrier2.cpp: Added this to show how you can
change the thread count while threads are still active.
* docs/tutorials/017/*.html: Regenerated due to the new file.
* docs/tutorials/018/*.html: Added Kirthika's abstract &
regenerated.
* docs/tutorials/018/token.cpp: Typo in the comments...
Wed Feb 24 14:57:10 1999 Nanbor Wang <nanbor@cs.wustl.edu>
* ace/OS.h (ASYS_ONLY_WIDE_STRING): New UNICODE macros to convert
char* to wchar* when UNICODE is defined but not on CE.
* ace/Service_Config.cpp (parse_args): Convert getopt.optarg using
ASYS_ONLY_WIDE_STRING.
Wed Feb 24 13:54:15 1999 David L. Levine <levine@cs.wustl.edu>
* ace/config-minimal.h: changed #include protection to
ACE_CONFIG_MINIMAL_H, so that this config can be #included
by others.
* ace/OS.{h,cpp},Thread_Manager.h: moved ACE_Thread_Control and
ACE_Thread_Exit class definitions from Thread_Manager.h to OS.h,
so that Task.h no longer needs to be #included by OS.cpp.
* ace/OS.cpp: protected #include of Containers_T.h with
defined (ACE_WIN32) || defined (ACE_HAS_TSS_EMULATION).
Wed Feb 24 05:30:59 1999 Douglas C. Schmidt <schmidt@tango.cs.wustl.edu>
* ace/Message_Queue_T.i (dequeue): Replaced the improper
self-recursive call to dequeue() with dequeue_head(). Thanks to
Marc Engel <engelm@tlse.sofreavia.fr> for reporting this.
Tue Feb 23 20:58:17 1999 Douglas C. Schmidt <schmidt@tango.cs.wustl.edu>
* ace/OS.i: Make sure to do the right thang if we're compiling the
ACE recursive thread mutexes on platforms that lack threading.
* ace/Service_Object: Added a new ACE_Service_Object constructor
that takes an ACE_Reactor * and passes this down to the
ACE_Event_Handler base class.
* ace/Event_Handler: Added a new ACE_Event_Handler constructor
that takes an ACE_Reactor * and an int priority that default to
the right values.
Tue Feb 23 21:53:32 1999 David L. Levine <levine@cs.wustl.edu>
* ace/OS.h,README: added ACE_HAS_MINIMAL_ACE_OS support.
* ace/config-minimal.h: added this config file. It defines
ACE_HAS_MINIMAL_ACE_OS. It is designed to build only
the minimal ACE_OS adaptation layer.
Tue Feb 23 20:28:45 1999 Marina Spivak <marina@cs.wustl.edu>
* ace/SString.{h,i,cpp}: Added a private member <buf_len_> to the
ACE_CString class to keep track of the size of data buffer, and
avoid unnecessary memory reallocations. Updated class methods
to use buf_len_.
Tue Feb 23 19:54:55 1999 Alexander Babu Arulanthu <alex@cs.wustl.edu>
* ace/POSIX_Asynch_IO.h:
* ace/POSIX_Asynch_IO.cpp:
Fixed the potential dominance warnings in POSIX
implementation. Updated the documentation.
Tue Feb 23 18:11:11 1999 Kirthika Parameswaran <kirthika@cs.wustl.edu>
* examples/DLL/DLL.dsw:
examples/DLL/Main.dsp:
examples/DLL/Newsweek.dsp:
examples/DLL/Today.dsp:
Added extra include and linker options to the projects.
* tests/DLL_Test:
Added OBJ_PREFIX to cater to the problem which arose due to the fact
that the .o is produced under the .obj directory on SunOS.
* tests/run_tests.sh:
tests/run_tests.bat:
Made an entry for DLL_Test.
Tue Feb 23 16:54:33 1999 Irfan Pyarali <irfan@cs.wustl.edu>
* ace/OS.i (recursive_mutex_trylock and recursive_mutex_lock):
Removed the "abandoned" versions of these routines. Abandoned
mutexes are only supported for process mutexes, but not for
thread mutexes.
Tue Feb 23 15:50:40 1999 Alexander Babu Arulanthu <alex@cs.wustl.edu>
* ace/Proactor.cpp:
* ace/Proactor.h:
* ace/Proactor_Impl.h:
* ace/POSIX_Proactor.h:
* ace/POSIX_Proactor.cpp:
* ace/POSIX_Asynch_IO.h:
* ace/POSIX_Asynch_IO.cpp:
* ace/WIN32_Proactor.cpp:
Implemented <post_completion> for POSIX platforms. Thanks to Irfan
for the cool design. This API has been changed a little bit for
portability. <post_completion> API now exists at
<ACE_Asynch_Result_Impl> class. To post completions, users will have
to get hold of an <ACE_Asynch_Result_Impl> class (either get it from
the predefined factory methods at the Proactor or derive from
<ACE_WIN32_Asynch_Result> or <ACE_POSIX_Asynch_Result>, then call
<post_completion> on it passing in the <Proactor_Impl *> which can
be got through <implementation> method in the <ACE_Proactor>.
The need for RTTI has been avioded in this design.
Tue Feb 23 15:19:33 1999 Steve Huston <shuston@riverace.com>
* ace/NT_Service.(h cpp): Added two new methods:
state (DWORD *, ACE_Time_Value * = 0) as an alternate way to get the
service's state, with definite indication of error. Also changed
comments on the other state() method to clarify the return value.
test_access (DWORD) tests caller's access to the service.
Thanks to Martin Krumpolec <krumpo@pobox.sk> for these ideas and
suggestions!
Tue Feb 23 14:12:52 1999 Irfan Pyarali <irfan@cs.wustl.edu>
* ace/Active_Map_Manager_T.h (npos): Added a new static member
function that returns a key that cannot be found in the map.
Thanks to Fernando D. Mato Mira <matomira@acm.org> for
suggesting this.
Tue Feb 23 12:15:09 1999 Nanbor Wang <nanbor@cs.wustl.edu>
* ace/Svc_Conf.y:
* ace/Svc_Conf_y.cpp:
* ace/Parse_Node.cpp (symbol):
* ace/OS.cpp (fork_exec):
* ace/INET_Addr.cpp (ACE_INET_Addr): More Unicode fixes.
Tue Feb 23 12:00:21 1999 Steve Huston <shuston@riverace.com>
* examples/NT_Service/main.cpp: Allow -i option without a value, and
default to AUTO_START. Also, added a README file to explain how to
use the program. Thanks to Zoran Ivanovic <zorani@pathcom.com> for
the change and the README file!
Mon Feb 22 22:03:47 1999 Nanbor Wang <nanbor@cs.wustl.edu>
* bin/auto_compile_win32.pl: Perl script for compiling all the
million different config. combination on Win32. Hey, it also
works on Alpha. Thanks to Darrell Brunsch for testing it on
Alpha/NT.
* ace/ace_{dll,lib}.dsp: Fixed broken project settings.
Mon Feb 22 21:56:27 1999 David L. Levine <levine@cs.wustl.edu>
* ace/Sched_Params.cpp: removed #include of ACE.h because it's
not necessary.
* ace/Makefile: added ACE_COMPONENTS default definition.
Moved Sched_Params from THREADS_FILES to OS_FILES because
OS.cpp needs it. It only contributes 172 bytes to libACE
on VxWorks and 248 on LynxOS.
Sun Feb 21 18:52:17 1999 Douglas C. Schmidt <schmidt@cs.wustl.edu>
* ACE version 4.6.23 released.
Sun Feb 21 08:46:09 1999 David L. Levine <levine@cs.wustl.edu>
* ace/OS.i (recursive_mutex_{init,lock,trylock}: added some
ACE_UNUSED_ARGS.
* ace/OS.{i,cpp} (cond_*): uninlined the ACE_OS:cond_* function
versions with ACE_LACKS_COND_T. Most are too big to be
good candidates for inlining. And the others cause use-before-
definition problems in OS.i.
Sun Feb 21 00:17:58 1999 Darrell Brunsch <brunsch@cs.wustl.edu>
* websvcs/lib/URL_Addr.i: Can now copy null Addrs. Also added
hash function implementation.
* websvcs/lib URL_Addr.h: Added hash function.
* websvcs/lib/URL_Addr.cpp: Fixed a bug with
ACE_HTTP_Addr::create_relative_address and urls beginning with
"/". It used to copy the first '/', which wasn't needed.
Sat Feb 20 15:39:16 1999 David L. Levine <levine@cs.wustl.edu>
* ace/OS.{h,cpp},Object_Manager.{h,cpp}: changed ACE_OS::exit ()
to call an exit hook that is registered by the ACE_Object_Manager,
instead of directly calling ACE_Object_Manager::fini ().
* ace/OS.i (thr_self): moved definitions to before first use.
Sat Feb 20 11:50:30 1999 Nanbor Wang <nanbor@cs.wustl.edu>
* ace/OS.i (thr_equal): Moved the body of ACE_OS::thr_equal before
recursive_mutex methods to avoid "function redefined as inline"
problem. Thanks to David Levine for reporting this.
Sat Feb 20 09:05:20 1999 Douglas C. Schmidt <schmidt@ace.cs.wustl.edu>
* ace/OS.cpp: Changed the ACE_static_cast() in ACE_OS_Wstring to
first use an ACE_const_cast(). Thanks to Andy Gokhale for
reporting this.
Sat Feb 20 02:53:38 1999 Nanbor Wang <nanbor@cs.wustl.edu>
* ace/OS.cpp (ACE_OS_WString): Need to add a statis cast when
converting from wchar to char to eliminate a warning from Win98.
* ace/config-win32-common.h: Do not check for library type on CE.
* ace/config-WinCE.h: Defined ACE_HAS_WINCE as 1.
Fri Feb 19 22:54:18 1999 Carlos O'Ryan <coryan@cs.wustl.edu>
* ace/OS.h:
Fixed the return types for ACE_OS_WString and ACE_OS_CString
assignment operators, even though they are not defined they
should be declared to return something, otherwise egcs give us a
ton of warnings.
Fri Feb 19 21:02:49 1999 Douglas C. Schmidt <schmidt@tango.cs.wustl.edu>
* ace/config-win32-common.h: #define'd ACE_HAS_RECURSIVE_MUTEXES
for Win32.
* ace/OS.cpp: Removed the SString.h dependency in OS.cpp!
Fri Feb 19 21:44:31 1999 Darrell Brunsch <brunsch@cs.wustl.edu>
* ace/OS.i: Was using two many arguments to thread_mutex_lock ()
and ACE_OS::thread_mutex_trylock ().
* ace/Synch.i: Typo in comment
Fri Feb 19 18:18:13 1999 Nanbor Wang <nanbor@cs.wustl.edu>
* ace/OS.{h,i,cpp}: Added ACE_OS_WString and ACE_OS_CString which
should only be used within ACE_OS to perform conversion between
wchar strings and char string.
Changed the wide/multibyte conversion macros to use
ACE_OS_?String classes and removed dependencies to Auto_Ptr.h
and SString.h.
* ace/config-win32-common.h: Removed checked for (_DLL) if
ACE_HAS_DLL = 0. Otherwise, the static build won't compile.
* ace/Token_Manager.cpp (release_token):
* ace/Service_Manager.cpp (list_services): Changed
ASYS_MULTIBYTE_STRING to ASYS_ONLY_MULTIBYTE_STRING. Because
the new conversion classes have stronger type checking, these
errors weren't found until now.
Fri Feb 19 17:01:08 1999 David L. Levine <levine@cs.wustl.edu>
* ace/Makefile: moved ACE from OS_FILES to UTILS_FILES.
Fri Feb 19 15:44:23 1999 Douglas C. Schmidt <schmidt@tango.cs.wustl.edu>
* ace/OS,
ace/Synch: Moved the implementation of the
ACE_Recursive_Thread_Mutex from the Synch.* files to
the OS.* files in order to reduce coupling in OS.* and
other parts of ACE.
Fri Feb 19 12:36:43 1999 Carlos O'Ryan <coryan@cs.wustl.edu>
* ace/OS.i:
Fixed missing ACE_INLINE for ACE_OS::strenvdup()
Fri Feb 19 11:35:57 1999 Steve Huston <shuston@riverace.com>
* include/makeinclude/platform_sunos5_sunc++.GNU: Added new option
"distrib". If you do a "make distrib=1" the -R options won't be
given when linking, which produces dynamic load records requiring
objects/libraries in standard places, or use of LD_LIBRARY_PATH.
The default is distrib=0, which is the existing behavior.
Fri Feb 19 11:22:48 1999 Nanbor Wang <nanbor@cs.wustl.edu>
* ace/OS.cpp (open): Don't call CreateFileA with FILE_SHARE_DELETE
when compiled on Win95 because it doesn't support the flag. The
implication of this change is that unlink before close will not
work on Win95. So programs that are targeted to both NT and
Win95 cannot depend on it. Thanks to Rod Joseph
<rodjoseph@adt.com> for reporting the bug.
Thu Feb 18 21:10:45 1999 Douglas C. Schmidt <schmidt@tango.cs.wustl.edu>
* ace/OS.cpp (string_to_argv): We no longer have to special case
for WinCE since this logic has been moved into
ACE_OS::strenvdup().
* ace/ACE.cpp: Implemented ACE::strenvdup() using
ACE_OS::strenvdup().
* ace/OS: Move the implementation of strenvdup() from ACE to
ACE_OS to remove another dependency from the OS wrappers.
* ace/ARGV.cpp: Rewrote the ACE_ARGV::string_to_argv() and
ACE_ARGV::argv_to_string() methods to use the new
ACE_OS::string_to_argv() and ACE_OS::argv_to_string().
* ace/OS.h: Added string_to_argv() and argv_to_string() methods to
ACE_OS to remove the dependency on ACE_ARGV.
Thu Feb 18 19:21:03 1999 James CE Johnson <jcej@chiroptera.tragus.org>
* docs/tutorials/005/client_handler.cpp: Replaced the leading '_'
in the open() method so that we can cast _acceptor to acceptor.
Thu Feb 18 14:12:28 1999 Nanbor Wang <nanbor@cs.wustl.edu>
* netsvcs/clients/Naming/Client/svc.conf: Changed to start up
ACE_Naming_Context as dynamic service. Thanks to Darren
Whobrey <whobrey@fecit.co.uk> for reporting this problem.
* ace/Name_Proxy.cpp (open): The timeout value was set upp
ACE_Time_Value::zero accidentally when we want blocking
connect. Thanks to Darren Whobrey <whobrey@fecit.co.uk> for
reporting the bug.
* ace/CDR_Stream.{h,i} (ACE_InputCDR::do_byte_swap): Added
accessor function for Flick.
* ace/CORBA_macros.h (ACE_THROW_INT): This should return a new
instance of the exception. Thanks to Andy for pointing this
out.
Wed Feb 17 16:40:56 1999 Nanbor Wang <nanbor@cs.wustl.edu>
* ace/OS.h (ACE_NEW_THROW_EX): A new ACE_NEW_THROW macro which
makes ACE_NEW_THROW_EX behave like a exception-throwing
function. I.e., you need to follow ACE_NEW_THOW_EX with
appropriate ACE_CHECK* macros. The use of ACE_NEW_THROW,
ACE_NEW_THROW_RETURN, ACE_NEW_TRY_THROW are deprecated.
* docs/exceptions.html: Added documentation for
ACE_DECLARE_NEW_CORBA_ENV.
* ace/config-WinCE.h: Automatically define ACE_HAS_WINCE if it is
not already defined.
* ace/Synch.cpp: I had to shuffle the location of .i file around
to avoid a warning from SH compiler for CE.
* ace/config-win32-common.h: Disabled checking for DLL run-time,
WIN32, and multi-threaded run-time on Windows CE.
* ace/CORBA_macros.h (ACE_DECLARE_NEW_CORBA_ENV): Added this macro
for declaring a new CORBA_Environment called ACE_TRY_ENV.
ACE_TRY_NEW_ENV should now be avoided because it won't work if
multiple try blocks are needed in the top-most functions.
Instead, you can use the new macro to define the environment
variable and use ACE_TRY/ACE_TRY_EX as usually. This is even
more intuitive than ACE_TRY_NEW_ENV. ;) Thanks to Andy for
reporting the problem.
Wed Feb 17 10:44:29 1999 Alexander Babu Arulanthu <alex@cs.wustl.edu>
* examples/Reactor/Proactor/test_proactor.dsp:
* examples/Reactor/Proactor/test_proactor.cpp:
* examples/Reactor/Proactor/Makefile:
rtagged these files with "new_proactor"
Tue Feb 16 17:08:53 1999 Steve Huston <shuston@riverace.com>
* examples/ASX/Event_Server/Transceiver: Moved Event_Transceiver
class definition to new file, transceiver.h, to build ok on AIX (P15)
and fixed core dump if ctor fails to connect.
* examples/Connection/misc: Moved some class definitions from
test_upipe.cpp to new file test_upipe.h to build ok on AIX (P17).
Same thing with Connection_Handler - new file Connection_Handler.h.
* examples/Connection/misc/Makefile: Clean out tempinc directory
between program compiles so AIX xlC doesn't freak out.
Tue Feb 16 16:42:23 1999 Nanbor Wang <nanbor@cs.wustl.edu>
* ace/CORBA_macros.h (ACE_PRINT_EXCEPTION): A new macro that deal
with printing out the exception for debugging. Thanks to Lothar
Werzinger <lwerzinger@krones.de> for suggesting this.
* docs/exceptions.html: Added documentation for the new macro
ACE_PRINT_EXCEPTION. Since there's no portable way to print out
the content of a CORBA_Exception, we use this macro to deal with
differences among various ORB implementations. This macro is
user definable.
Thanks to Eric Covington <eric@nowsol.com> for figuring out the
following.
* ace/ace_ce_dll.dsp: Added Functor.cpp and Message_Queue.cpp.
* ace/High_Res_Timer.cpp (dump): Fixed Unicode problem.
* ace/OS.i (truncate): WinCE does not have char* version of
truncate.
Tue Feb 16 00:39:35 1999 Alexander Babu Arulanthu <alex@cs.wustl.edu>
* ace/ace_dll.dsp:
* examples/Reactor/Proactor/test_proactor.dsp:
* examples/Reactor/Proactor/test_proactor.cpp:
Updated the files.
* ace/WIN32_Asynch_IO.h:
* ace/WIN32_Asynch_IO.cpp:
* ace/WIN32_Asynch_IO.i:
Added the files
* ace/ace_dll.dsp:
* ace/ace_lib.dsp:
Updated these files
* examples/Reactor/Proactor/Makefile:
New make file which also compiles the test_aiosig_ace.cpp
program.
* ace/POSIX_Asynch_IO.i:
Added the file.
rTagged the ACE_wrappers repository with <before_proactor>
After the following changes rtagged the repository with
<after_proactor>
* ace/
Proactor.h
Asynch_IO.cpp
Asynch_IO.h
Makefile
Proactor.cpp
Proactor.h
config-lynxos.h
config-sunos5.6.h
config-sunos5.7.h
POSIX_Asynch_IO.{h,CPP}
POSIX_Proactor.{h,cpp}
WIN32_Asynch_IO.{h,cpp}
Asynch_IO_Impl.{h,cpp,i}
Proactor_Impl.h
Applied Bridge pattern to the POSIX implementation of the Proactor
code. ACE_POSIX_AIOCB_Proactor works fine on Solaris
2.6. ACE_POSIX_SIG_Proactor works on LynxOS. Take a look at the tests
at the $(ACE_ROOT)/examples/Reactor/Proactor/ and the README.
* tests/
Aio_Platform_Test.cpp
*examples/Reactor/Proactor/:
test_proactor.cpp
test_aiocb.cpp
test_aiosig.cpp
test_aiosig_ace.cpp
README
Test files for testing out the platforms.
Mon Feb 15 13:17:15 1999 Douglas C. Schmidt <schmidt@cs.wustl.edu>
* ACE version 4.6.22 released.
Sun Feb 14 15:25:27 1999 Ossama Othman <othman@cs.wustl.edu>
* ACE-configuration.txt:
* ACE.ifnames:
* acconfig.h:
* ace-config.in:
* ace-diff-config.in:
* acinclude.m4:
* aclocal.m4:
* config.guess:
* config.sub:
* configure:
* configure.in:
* install-sh:
* libtool:
* ltconfig:
* ltmain.sh:
* missing:
* mkinstalldirs:
* ace/config.h.in:
Started to introduce the work done by the ACE Configuration
Project into the official ACE distribution.
To help speed development, the work being done by the ACE
Configuration Project is being slowly introduced into the official
ACE distribution. Some of the functionality in the work created by
the ACE Configuration Project has been removed so that ACE may be
built in the usual fashion. Once the ACE Configuration Project
work stabilizes on more platforms that removed functionality may be
added to ACE.
Currently the configure script contains most of the tests that are
necessary to properly configure ACE on most platforms. However,
there are still some autoconf tests that are missing. As such, you
may encounter and most likely will have compilation problems.
The `configure' script that is currently being used has been
modified from the ACE Configuration Project's `configure' script to
prevent makefiles from being automatically generated since there are
still some issues that must be addressed before automatically
generated makefiles are incorporated into the official ACE
distribution.
Sun Feb 14 14:09:11 1999 James CE Johnson <jcej@chiroptera.tragus.org>
* docs/tutorials/015/server.cpp (main): Force the singleton to use
the Select Reactor instead of the OS-default. This should fix the
problem this tutorial has on Win32 due to blocking vs non-blocking
socket configuration.
* docs/tutorials/015/Protocol_Task.h : Removed the ability to
activate this task. The code is now a little simpler and less
likely to behave in unpredicatable ways.
* docs/tutorials/015/* : A few typos fixed but mostly fallout from
removing the ability to activate the Protocol_Task.
* docs/tutorials/016/page01.html : Added Kirthika's abstract.
* docs/tutorials/016/condition.cpp : Made max_threads_ a
non-static member variable that is set by open().
* docs/tutorials/017/page01.html : Added Kirthika's abstract.
Sun Feb 14 12:47:03 1999 Carlos O'Ryan <coryan@cs.wustl.edu>
* ace/CDR_Stream.h:
* ace/CDR_Stream.i:
* ace/CDR_Stream.cpp:
Minor cosmetic changes, mostly trailing spaces.
Sat Feb 13 22:06:17 1999 Nanbor Wang <nanbor@cs.wustl.edu>
The following changes are based on the patch Eric Covington
<eric@nowsol.com> submitted. Thanks very much to Eric for
bringing ACE/CE up-to-date.
* ace/ace_ce_dll.dsp: Updated.
* ace/OS.cpp: (open): CE doesn't support opening files with
attribute FILE_SHARE_DELETE.
* ace/OS.i (abort): CE doesn't support abort.
* ace/Stats.cpp (print_summary): CE doesn't support strerror.
* ace/Stats.i (dump): Changed to use ACE_DEBUG.
* tests/Thread_Manager_Test.cpp (main):
* ace/tests/SOCK_Connector_Test.cpp (find_another_host):
* ace/Log_Msg.cpp (log):
* ace/INET_Addr.cpp (addr_to_string): Fixed Unicode problems.
Fri Feb 12 16:14:47 1999 Douglas C. Schmidt <schmidt@tango.cs.wustl.edu>
* ace/Remote_Tokens.cpp: Replaced the typedef for
ACE_TSS_CONNECTION_MUTEX with #define ACE_TSS_CONNECTION_MUTEX.
Thanks to Arturo for reporting this.
Fri Feb 12 18:41:22 1999 Steve Huston <shuston@riverace.com>
* ace/SString.cpp: Added "ace/" to #include "Auto_Ptr.h" to conform
to conding guidelines.
Fri Feb 12 17:16:17 1999 David L. Levine <levine@cs.wustl.edu>
* tests/run_tests.vxworks: commented out Message_Queue_Test and
Timeprobe_Test, because they lockup the machine. And,
fixed string length of DLL_Test printout.
Fri Feb 12 17:06:30 1999 Arturo Montes <mitosys@colomsat.com.co>
* ace/config-sco-5.0.0-CC-fsu-pthread.h: removed this config
file, because it's not used.
Fri Feb 12 16:36:55 1999 Nanbor Wang <nanbor@cs.wustl.edu>
* ace/SOCK_IO.{h,i,cpp} (send,recv): Added back the iovec version
of send/recv back to maintain backward compatibility. Thanks to
Steve for pointing this out.
Fri Feb 12 15:37:10 1999 David L. Levine <levine@cs.wustl.edu>
* ace/Makefile: split FILES up into subsets. See
docs/ACE-subsets.html for more information.
Fri Feb 12 12:31:29 1999 Ossama Othman <othman@cs.wustl.edu>
* ace/Makefile: Removed blank line that was added when troubleshooting
the cvs log problem. The extra line cause Digital Unix's make to
complain about a missing separator.
Fri Feb 12 09:19:21 1999 David L. Levine <levine@cs.wustl.edu>
* ace/config-sunos5.5.h: added ACE_HAS_STANDARD_CPP_LIBRARY and
ACE_USES_STD_NAMESPACE_FOR_STDCPP_LIB #defines with Sun CC 5.0.
Thanks to Diethard Ohrt <Diethard.Ohrt@siemens.at> for
providing these.
Thu Feb 11 15:05:42 1999 Darrell Brunsch <brunsch@cs.wustl.edu>
* ACE-INSTALL.html: Reworded the first step of the Windows
NT installation to be a bit clearer.
Thu Feb 11 14:30:35 1999 Darrell Brunsch <brunsch@cs.wustl.edu>
* ace/ace_dll.dsp: Fixed Alpha Configuration.
Thu Feb 11 03:48:50 1999 Nanbor Wang <nanbor@cs.wustl.edu>
* ace/CORBA_macros.h: Added #pragma once and ACE_CORBA_MACROS_H to
prevent duplicate inclusion of this file.
Added a new macro ACE_ANY_EXCEPTION to denote the name of the
CORBA exception caught by the ACE_CATCHANY. Thanks to Lothar
Werzinger <lwerzinger@krones.de> for suggesting this.
Wed Feb 10 23:01:16 1999 Darrell Brunsch <brunsch@cs.wustl.edu>
* ace/config-win32-common.h: Made a better effort at finding out
if the files are compiled against the correct run-time
libraries. Now _DLL is checked to see if it is defined for
ACE_HAS_DLL != 0 builds, and if it is not defined for static
builds.
This should help diagnose the problem of not using (Debug)
Multithreaded DLL run-time libraries in clients that use DLL
versions of ace (one symptom of this mistake is errno not
working correctly because of one copy being defined in the DLL
and one in the program itself).
Wed Feb 10 22:19:33 1999 James CE Johnson <jcej@chiroptera.tragus.org>
* docs/tutorials/014/stream.cpp : Removed the __LINE__ displays.
* docs/tutorials/014/page01.html : Added Kirthika's abstract
* docs/tutorials/015/page01.html : Added Kirthika's abstract
* docs/tutorials/015/page12.html : Oops... Wrong intro text.
* docs/tutorials/015/Protocol_Stream.cpp : Typos fixed
* docs/tutorials/015/Protocol_Task.cpp : Typos fixed
Wed Feb 10 15:04:26 1999 Ossama Othman <othman@cs.wustl.edu>
* ace/Makefile: added Pair_T.cpp and Template_Instantiations.cpp
to the TEMPLATE_FILES list/variable. They were missing.
* tests/Conn_Test.cpp (spawn_processes): initialized
pid_t *children_ptr to zero to prevent "uninitialized"
warnings from egcs 1.1.1.
Wed Feb 10 14:16:25 1999 Ossama Othman <othman@cs.wustl.edu>
* tests/Message_Queue_Test.cpp (performance_test): initialized
ACE_Message_Block **send_block to zero to prevent "uninitialized"
warnings from egcs 1.1.1.
Wed Feb 10 14:02:46 1999 Ossama Othman <othman@cs.wustl.edu>
* ace/ACE.cpp (get_ip_interfaces): initialized struct ifreq * ifs
to zero to prevent "uninitialized" warnings from egcs 1.1.1.
Wed Feb 10 10:53:59 1999 Carlos O'Ryan <coryan@cs.wustl.edu>
* examples/IPC_SAP/TLI_SAP/ftp-server.cpp:
Fixed several minor syntax errors.
Tue Feb 09 16:54:10 1999 Jeff Parsons <parsons@cs.wustl.edu>
* ace/CDR_Stream.cpp:
Put the 'XXX_DISABLE_SWAP_ON_READ' code back into the
ACE_INputCDR methods read_array(), read_2(), read_4(),
read_8() and read_16(). I didn't realize at first how
crucial that is to the Boeing folks. Thanks to Carlos
for bringing this to my attention.
Tue Feb 09 16:07:32 1999 Nanbor Wang <nanbor@cs.wustl.edu>
* ace/Synch.{h,i,cpp}: Removed classes ACE_Null_Mutex_Guard and
ACE_Thread_Mutex_Guard since there doesn't seem any need for
them any more. They should be replaced by
ACE_Guard<ACE_Null_Mutex> and ACE_Guard<ACE_Thread_Mutex>. If
by any chance you still need to use them, add
ACE_USES_OBSOLETE_GUARD_CLASSES into your config.h file.
* ace/Local_Tokens.h: Replaced ACE_Null_Mutex_Guard and
ACE_Thread_Mutex_Guard with ACE_Guard<ACE_Null_Mutex> and
ACE_Guard<ACE_Thread_Mutex>.
Tue Feb 9 16:12:42 1999 James CE Johnson <jcej@chiroptera.tragus.org>
* docs/tutorials/{010|011}/task.{h|cpp} : barrier_ doesn't need to be a
pointer since Doug moved n_threads to the ctor. Minor typos
corrected also.
* docs/tutorials/010/message_queue.cpp : Typos...
* docs/tutorials/002/server.cpp: Added call to notify() in the
signal handler so that ^C will exit as expected.
Tue Feb 09 13:57:23 1999 Nanbor Wang <nanbor@cs.wustl.edu>
* tests/DLList_Test.cpp (main): The test should log the result to
DLList_Test.log, not ACE_DLList_Test.log.
* tests/run_tests.{sh,vxworks,psosim}: Added DLList_Test.
* tests/run_tests.bat: Removed DLL_Test.
* ace/ACE.cpp (ldfind): Win32 only. Made sure we always look for
the DLL at the current directory first on Win32 which is the
default behavior on Win32.
* ace/ace_{dll,lib}.dsp: Removed entries of Service_Record.{h,i}.
Thanks to David for noticing this.
Tue Feb 09 10:21:33 1999 David L. Levine <levine@cs.wustl.edu>
* ace/Service_Types.{i,cpp},README: removed obsolete references to
Service_Record.
* tests/MT_Reactor_Timer_Test.cpp (main): added printout with numbers
of expected and actual events, if result is not ACE_MAX_TIMERS + 2
* include/makeinclude/wrapper_macros.GNU: added BUILD line with both
shared_libs and static_libs enabled, so that individual Makefiles
don't need a BUILD line.
* docs/ACE-subsets.html: updated to reflect current ACE status.
Mon Feb 08 14:32:43 1999 Nanbor Wang <nanbor@cs.wustl.edu>
* docs/exceptions.html: Added guidelines of switching from TAO try
macros to ACE try macros. Other cosmetic changes.
Mon Feb 8 13:54:32 1999 Yamuna Krishnamurthy <yamuna@cs.wustl.edu>
* docs/tutorials/011/task.cpp :
In the open return this->activate (THR_NEW_LWP,
this->n_threads_); was taking an udefined variable threads.
* docs/tutorials/011/message_queue.cpp:
Corrected Compilation error due to a typo (static misspelt as
statuc!!!)
Mon Feb 8 09:21:10 1999 Douglas C. Schmidt <schmidt@tango.cs.wustl.edu>
* ace/Map_T.h,
ace/Pair_T.h: Aded parens around the #pragma implementation file
names so the AIX compiler would be happy. Thanks to Martin
Krumpolec <krumpo@pobox.sk> for reporting this.
Mon Feb 08 00:39:49 1999 Douglas C. Schmidt <schmidt@cs.wustl.edu>
* ACE version 4.6.21 released.
Sun Feb 7 22:48:01 1999 Nanbor Wang <nanbor@cs.wustl.edu>
* ace/CORBA_macros.h (ACE_THROW_RETURN): The second macro argument
was missing.
Sun Feb 7 22:32:21 1999 Douglas C. Schmidt <schmidt@tango.cs.wustl.edu>
* ace/CORBA_macros.h: It wasn't clear why the ACE_THROW_RETURN
macro for non-NT platforms wasn't taking a second RETV
parameter. I've fixed this, however.
Sun Feb 07 13:55:15 1999 David L. Levine <levine@cs.wustl.edu>
* include/makeinclude/platform_sunos5_sunc++.GNU: added
comment about possibly needing -compat=4 with Sun CC 5.0.
Thanks to Sush Bankapura <Sush.Bankapura@sylantro.com> for
reporting success with it.
Sun Feb 7 00:43:32 1999 Jeff Parsons <parsons@cs.wustl.edu>
* ace/CDR_Stream.cpp:
Turns out that read_boolean_array was declared, but
the body was missing (?).
Sat Feb 6 22:38:40 1999 Jeff Parsons <parsons@cs.wustl.edu>
* ACE_wrappers/tests/CDR_Test.cpp:
Changed #include file name to ace/CDR_Stream.h (the new
source file name).
Sat Feb 6 22:21:14 1999 Carlos O'Ryan <coryan@cs.wustl.edu>
* ace/CDR_Stream.h:
* ace/CDR_Stream.cpp:
Fixed the write_boolean_array() method; it only needs a const
array of booleans.
Sat Feb 6 22:07:45 1999 Jeff Parsons <parsons@cs.wustl.edu>
* ace/CDR.{h,i,cpp}: Renamed these as...
* ace/CDR_Stream.{h,i,cpp}: Mustn't have files with the
same name (the TAO files) for the sake of some compilers.
* Makefile:
* ace_dll.dsp:
Changed to reflect the renaming above.
Sat Feb 6 20:30:51 1999 Carlos O'Ryan <coryan@cs.wustl.edu>
* ace/CDR.h:
* ace/CDR.i:
* ace/CDR.cpp:
Fixed some indentation and style problems.
Sat Feb 06 07:47:20 1999 David L. Levine <levine@cs.wustl.edu>
* tests/test_config.h (~ACE_Test_Output): wrapped use of
cerr with #ifndef ACE_LACKS_IOSTREAM_TOTALLY.
Sat Feb 06 02:41:07 1999 Irfan Pyarali <irfan@cs.wustl.edu>
* tests/Map_Test.cpp: The hell of explicit template instantiation.
Someone please save me from these stupid compilers.
* ace/Map: Broken g++ (2.7) has deformed my beautiful code based
on typedefs and forced me to use their basic form. However,
users should continue to use the typedefs provided as I do in
the Map_Test.
Fri Feb 05 21:57:24 1999 Irfan Pyarali <irfan@cs.wustl.edu>
* ace/Map_T: Added a new Map mini framework to ACE. The classes
in this mini framework allows the Map interface to be used
without caring about the specific Map implementation being used.
There is the class hierarchy of the framework:
forwards
ACE_Iterator --------> ACE_Iterator_Impl (abstract)
ACE_Iterator_Impl is subclassed by:
- ACE_Map_Impl_Iterator_Adapter<IMPLEMENTATION>
- ACE_Active_Map_Manager_Iterator_Adapter
- ACE_Hash_Map_Manager_Ex_Iterator_Adapter
- ACE_Map_Manager_Iterator_Adapter
forwards
ACE_Reverse_Iterator --------> ACE_Reverse_Iterator_Impl (abstract)
ACE_Reverse_Iterator_Impl is subclassed by:
- ACE_Map_Impl_Reverse_Iterator_Adapter<IMPLEMENTATION>
- ACE_Active_Map_Manager_Reverse_Iterator_Adapter
- ACE_Hash_Map_Manager_Ex_Reverse_Iterator_Adapter
- ACE_Map_Manager_Reverse_Iterator_Adapter
ACE_Map is subclassed by:
- ACE_Map_Impl<IMPLEMENTATION>
- ACE_Active_Map_Manager_Adapter
- ACE_Hash_Map_Manager_Ex_Adapter
- ACE_Map_Manager_Adapter
Also included in the framework is a Key Generator class and a
Key Adapter class. The Key Generator class is used by some map
adapters to generate keys since the maps they adapt do not
generate keys. The Key Adapter class is used by the active map
adapter to allow encoding and decoding of active keys into user
keys.
Note that the iterators use the bridge pattern while the map
class uses an abstract base class based inheritance approach.
The reason for this is that STL containers return the iterators
by value. An abstract base class cannot be returned by value.
An alternative design would be to add an abstract base class
that the ACE maps would derive from. Unfortunately, this would
break many things including the ability to add these maps to
shared memory and explicit template instantiations.
This mini framework would have been idle to apply the external
polymorphism pattern. However, the ACE map classes are
different enough that adaption was necessary. This turned out
to be a blessing in disguise since I was able to add extra
common functionality such as the key generator and key adapter
to the map adapters. I did add the external polymorphic
subclasses to the framework for future use.
The classes in this framework are as close STL containers as I
would dare to make them ;) Thanks to Carlos for helping design
them.
* tests/Map_Test: New test to illustrate and test the workings of
the new ACE Map classes. There are two aspect to this test:
(a) functionality testing includes testing the iterators and
various operations, and (b) performance testing to compare the
relative performance of the maps.
* ace/Pair: Added new Pair class to ACE that holds instances of
the template arguments. Also, added a Reference_Pair class that
only hold references of the template arguments.
* ace/Hash_Map_Manager_T.* (ACE_Hash_Map_Manager_Ex):
* ace/Map_Manager.* (Map_Manager):
Added new rebind() methods to make interface compatible with
other maps. Also, fixed the constness of some functions.
* ace/Hash_Map_Manager.h: Fixed order of inclusion of template
code.
* ace/Active_Map_Manager_T.h (ACE_Active_Map_Manager): Added new
versions of bind, find, and unbind to reduce the number of data
copies.
* ace/Active_Map_Manager.h (ACE_Active_Map_Manager_Key): Added the
ability for the active key to encode and decode into and out of
a data stream. This relieves the developer from concerning
herself about the internal structure of the active key.
* ace/config-win32-common.h: Define WIN32 if not already defined.
* tests/SString_Test.cpp: Added testing for substring creation and
comparisons.
* ace/OS.h (ACE_dynamic_cast_*_ptr and ACE_dynamic_cast_*_ref):
Added new macros to handle casting of template class.
* tests/test_config.h: Removed global KEY class that was not being
used anymore anyway.
Fri Feb 05 21:12:56 1999 Douglas C. Schmidt <schmidt@cs.wustl.edu>
* ACE version 4.6.20 released.
Fri Feb 05 12:02:31 1999 Steve Huston <shuston@riverace.com>
* tests/run_tests.sh: Added SHLIB_PATH support for HP-UX. Fixed
the LD_LIBRARY_PATH setting to work if there was no path set
on entry to the script.
* ace/config-hpux-9.x.h, config-hpux-(10,11).x-hpc++.h:
Removed ACE_HAS_BROKEN_ENUMS. This affects the HP C++ compiler, not
aC++. I made this change based on David's experience with the
enums and Green Hills, below. If it causes any problems, let me
know and I'll reset it.
Fri Feb 05 10:11:18 1999 David L. Levine <levine@cs.wustl.edu>
* ace/Log_Priority.h: changed ENSURE_32_BITS to LM_ENSURE_32_BITS,
and its value from 0xffffffff to 0x7fffffff. Green Hills 1.8.9
properly complained that 0xffffffff doesn't fit into an int.
* ace/config-sco-5.0.0-CC-fsu-pthread.h,config-sunos5.5.h,
config-vxworks5.x.h: removed ACE_HAS_BROKEN_ENUMS, because
it's not necessary with 0x7fffffff.
Thu Feb 4 23:11:26 1999 Carlos O'Ryan <coryan@cs.wustl.edu>
* websvcs/lib/URL_Addr.h:
* websvcs/lib/URL_Addr.i:
Added operator= to the ACE_URL_Addr classes.
* websvcs/lib/URL_Addr.cpp:
Fixed minor memory allocation problem for invalid HTTP
addresses.
It removes './' when creating relative addresses.
Wed Feb 03 21:50:09 1999 David L. Levine <levine@cs.wustl.edu>
* ace/config-vxworks5.x.h: added ACE_HAS_BROKEN_ENUMS with
Green Hills, because it's needed with 1.8.9. And, added
ACE_HAS_STANDARD_CPP_LIBRARY #define to 1, for Green Hills 1.8.9
(with __STANDARD_CXX #defined) only, because it doesn't work with
1.8.8. Thanks to Jacob Jones <Jacob.J.Jones@notesmta.gd-is.com> for
reporting these.
* ace/config-sunos5.5.h: with Green Hills 1.8.9 (with
__STANDARD_CXX #defined), added ACE_HAS_STANDARD_CPP_LIBRARY
#define to 1.
Wed Feb 03 14:57:21 1999 Nanbor Wang <nanbor@cs.wustl.edu>
* ace/Thread_Manager.h (ACE_At_Thread_Exit[_Func]): Added
ACE_Export keywords. Thanks to Terry Rosenbaum
<Terry.Rosenbaum@Radiology.MSU.edu> for pointing this out.
* ace/Service_Config.{h,i,cpp}: Added one more argument to open
methods that allows ignoring the default svc.conf file. You can
still open svc.conf files using the -f option.
Wed Feb 03 10:12:14 1999 David L. Levine <levine@cs.wustl.edu>
* bin/make_release: fixed release_filter so that it doesn't put
CVS files into the release.
* ace/Object_Manager.h: updated comments to reflect that
ACE_HAS_NONSTATIC_OBJECT_MANAGER is now #defined in
several ace/config files, including that for Win32.
Thanks to Dave Meyer <dmeyer@std.saic.com> for pointing
that out.
Wed Feb 3 09:30:11 1999 Carlos O'Ryan <coryan@cs.wustl.edu>
* websvcs/lib/URL_Addr.cpp:
Fixed some memory leaks.
HTTP_Addr::create_relative_address supports the #label syntax.
Wed Feb 03 07:02:49 1999 David L. Levine <levine@cs.wustl.edu>
* tests/CDR_Test.cpp: commented out ACE_Auto_Basic_Array_Ptr<CDR:Char>
explicit instantiation, because it's in ace/Memory_Pool.cpp.
Tue Feb 2 21:35:21 1999 James CE Johnson <jcej@chiroptera.tragus.org>
* docs/tutorials/007/client_handler.h:
* docs/tutorials/007/thread_pool.h:
A couple of syntax goofs. I'm surprised it compiled for anyone!
* docs/tutorials/007/thread_pool.h:
Changed ACE_Time_Value(0.25) to ACE_Time_Value(0,250000)
* docs/tutorials/*/Makefile:
Added '.depend' to the list of files removed by the CLEAN
target. I shoulda' done this the other day.
Tue Feb 2 20:02:22 1999 Darrell Brunsch <brunsch@cs.wustl.edu>
* bin/make_release: Added .gz to the list of binary file extensions.
Tue Feb 2 19:28:46 1999 Douglas C. Schmidt <schmidt@ace.cs.wustl.edu>
* docs/tutorials: ACE-ified the first 11 tutorials. I hope
James still recognizes this stuff now ;-)
Tue Feb 2 19:12:50 1999 James CE Johnson <jcej@chiroptera.tragus.org>
* docs/tutorials/001/logger.h (class Logging_Handler):
Incorporated Pradeep's suggestion to get rid of the memset() and
use the recv() return value to drop in the null-termination.
Tue Feb 2 14:19:30 1999 Darrell Brunsch <brunsch@cs.wustl.edu>
* websvcs/websvcs.dsw:
* websvcs/lib/websvcs.dsw:
* websvcs/lib/websvcs.dsp:
* websvcs/tests/tests.dsw:
* websvcs/tests/Test_URL_Addr.dsp:
Added MSVC project files for the websvcs library.
* websvcs/lib/URL_addr.cpp:
Now correctly exports classes in DLLs.
Tue Feb 2 12:48:34 1999 Jeff Parsons <parsons@cs.wustl.edu>
* tests/CDR_Test.cpp:
Changed the template type of the auto_ptr for char. We were
getting a Purify FMR message on Unix.
Tue Feb 2 12:27:13 1999 Douglas C. Schmidt <schmidt@tango.cs.wustl.edu>
* ace/ACE.cpp: Added an ACE_UNUSED_ARG for program_name for
ACE::daemonize(). Thanks to David Levine for reporting this.
* ace/OS.h: Generalized the WIF* macros so that they will be
defined on any platform that lacks them, not just NT. Thanks to
David Levine for reporting this.
Tue Feb 02 08:58:32 1999 Steve Huston <shuston@riverace.com>
* tests/MT_Reactor_Timer_Test.cpp: Moved definition of status outside
of ACE_HAS_THREADS condition since it's used in either case. Thanks
to Frederic Andres <andres@rd.nacsis.ac.jp> for this fix.
Mon Feb 01 23:16:34 1999 Douglas C. Schmidt <schmidt@cs.wustl.edu>
* ACE version 4.6.19 released.
Mon Feb 01 22:06:40 1999 David L. Levine <levine@cs.wustl.edu>
* bin/make_release (create_kit): fixed typo, bin_files
instead of binfiles.
Mon Feb 01 21:24:45 1999 Douglas C. Schmidt <schmidt@cs.wustl.edu>
* ACE version 4.6.18 released.
Mon Feb 1 21:02:26 1999 Darrell Brunsch <brunsch@cs.wustl.edu>
* ace/ace_dll.dsp: Some template files were being compiled
in the Release/Unicode/Alpha configs. This is now not the
case.
Mon Feb 1 13:49:11 1999 Carlos O'Ryan <coryan@cs.wustl.edu>
* ace/config-linux-common.h:
Added a definition for ACE_TIMER_SKEW, apparently it is only
needed in multiple CPU machines (with SMP enabled); but it did
solve the problems with MT_Reactor_Timer_Test.
Mon Feb 01 13:08:11 1999 Jeff Parsons <parsons@cs.wustl.edu>
* tests/CDR_Test.cpp:
Used an auto_ptr to manage a string sent to string_read(). I
had included the .h file for auto ptrs (Carlos corrected my
typo, see below), but had never checked in the code using
auto_ptr.
Mon Feb 01 12:54:11 1999 Steve Huston <shuston@riverace.com>
* ace/NT_Service.(h i): Some fixes provided by Martin Krumpolec
<krumpo@pobox.sk> - thanks to Martin for these!
- Supplied missing ctor for name/desc variant.
- svc() method is not pure virtual any longer to prevent SCP-type
applications from having to override it and never use it.
Mon Feb 1 12:04:35 1999 Darrell Brunsch <brunsch@cs.wustl.edu>
* bin/make_release: Added zip and gif to the binary files in
zips.
Mon Feb 01 12:00:55 1999 David L. Levine <levine@cs.wustl.edu>
* ace/config-sunos5.5.h: With CC 5.0, enabled explicit template
instantiation and added ACE_LACKS_ACE_IOSTREAM. Early versions
of CC 5.0 seem to have problems with automatic template
instantiation and ACE_IOStream.
* include/makeinclude/platform_sunos5_sunc++.GNU: added CC 5.0
support to enable explicit template instantiation, and disable
inlining by default.
Thanks to Diethard Ohrt <Diethard.Ohrt@siemens.at> for confirming
that above fixes allow ACE and TAO to build with CC 5.0.
* include/makeinclude/platform_sunos5_{g++,ghs}.GNU: removed -lw
from libs. It's not necessary, and apparently causes problems
on Solaris 2.6, because libc now includes the code that was
formerly in libw. Thanks to Steve Coleman <Steve.Coleman@jhuapl.edu>
for reporting this.
Mon Feb 1 10:41:09 1999 Carlos O'Ryan <coryan@cs.wustl.edu>
* tests/CDR_Test.cpp:
There was a typo in a included filename.
Mon Feb 1 08:39:15 1999 Douglas C. Schmidt <schmidt@ace.cs.wustl.edu>
* ace/Synch.h: Clarified that the ACE_Semaphore::acquire() is in
absolute, rather than relative, time. Thanks to Jacques
Salerian <Jacques.Salerian@era.ericsson.se> for reporting this.
Sun Jan 31 20:10:23 1999 Jeff Parsons <parsons@cs.wustl.edu>
* ace/OS.h:
Just renamed the CDR byte order macros to something more
reasonable.
Sun Jan 31 18:19:45 1999 Douglas C. Schmidt <schmidt@ace.cs.wustl.edu>
* docs/tutorials/Makefile: Now we can build the UNSHAR SHAR HTML
right from the top-level. Thanks James!
* tests/Process_Strategy_Test: Updated the test to use ACE::fork()
and the new "avoid zombies" feature of ACE_Process_Strategy.
* ace/ACE: Added a new version of fork() that can avoid creating
zombies. Thanks to Garry Brother <gmbroth@romulus.ncsc.mil> for
this code.
* ace/Strategies_T: Changed the ACE_Process_Strategy so that
programmers can designate to not create zombies. Thanks to
Garry Brother <gmbroth@romulus.ncsc.mil> for this suggestion.
* ace/ACE.cpp (daemonize): Only do a chdir if pathname != 0.
* ace/ACE: Added a "program_name" argument to daemonize() so that
we can set the program name.
* docs/tutorials: Reformatted all the header files to conform
to the ACE programming style.
Sun Jan 31 16:09:55 1999 Jeff Parswons >parsons@cs.wustl.edu>
* ACE_wrappers/tests/CDR_Test.cpp:
Plugged a memory leak in a string read from the CDR stream.
Thanks to Sangwoo Jin <swjinjin@sei.co.kr> for pointing this out.
* ace/CDR.{h,i,cpp}:
Changed the name of the "base" class holding the constants to
'CDR' from 'ACE_CDR'. In leveraging this code in the TAO cdr
classes, I've discovered that there are many files that
use these constants, so probably best to keep the original
name. Also made minor changes to read_string, read_wstring,
append_string and append_wstring to prevent a memeory leak
if the operation fails.
Sun Jan 31 11:58:32 1999 James CE Johnson <jcej@chiroptera.tragus.org>
* docs/tutorials/{010|011|012|013|017}:
In all of these, I'd overridden open() as open(int) to specify
the number of threads in a thread-pool. Steve Huston pointed
out that this causes grief with some compilers. I've changed
all of these open(int) overrides to start(int) instead.
* docs/tutorials/017/Barrier_i.cpp (threads):
The thr_equal() call was changed to !thr_equal().
* docs/tutorials/010/taks.cpp:
Vishal recommended some extra commentation to make things a bit
more clear WRT barrier synch.
* docs/tutorials/013/page01.html:
Added Kirthika's abstract.
Sat Jan 30 16:03:23 1999 Carlos O'Ryan <coryan@cs.wustl.edu>
* websvcs/lib/URL_Addr.h:
* websvcs/lib/URL_Addr.cpp:
The HTTP address class can create an URL_Addr from a path
relative to it. This is useful when interpreting an address
inside an HTML document.
Sat Jan 30 13:34:00 1999 Nanbor Wang <nanbor@cs.wustl.edu>
* examples/Connection/non_blocking/test_sock_connector.cpp (main):
Prevent the program from executing if compiled on non-NT Win32
platform without Winsock2 installed. Thanks to Greg Harrison
<harrisog@erinet.com> for reporting ths problem.
1999-01-29 Irfan Pyarali <irfan@cs.wustl.edu>
* ace/Mem_Map.cpp (map_it): NT makes no claims about replacing
previous mapping at the specified address. Therefore, I have
added a new macro ACE_LACKS_AUTO_MMAP_REPLACEMENT which is
defined if there is no system support for replacing any previous
mappings. In this case, we unmap() before (potentially) mapping
to the same location. ACE_LACKS_AUTO_MMAP_REPLACEMENT is
defined on NT.
Fri Jan 29 17:40:34 1999 Carlos O'Ryan <coryan@cs.wustl.edu>
* websvcs/lib/URL_Addr.h:
* websvcs/lib/URL_Addr.cpp:
We were not checking against nil strings in several places, also
fixed some uninitialized members in the HTTP_Addr constructors.
* bin/auto_compile:
Added protection against simultaneous executions of the script;
it checks for .disable file on the $LOGDIR directory, if present
it does not execute; if not present it creates one; the file is
deleted at program termination.
Fri Jan 29 16:25:22 1999 Steve Huston <shuston@riverace.com>
* ace/config-hpux-10.x-hpc++.h: Added ACE_HAS_GPERF.
* apps/gperf/src/List_Node.cpp (ctor): Added ACE_const_cast to
a char * initializer.
* apps/gperf/src/Options.cpp: Fixed -j processing (typo).
* docs/tutorials/017/barrier.cpp: Can't init a long with a thread ID.
On HP-UX 10.20, it's a struct.
* docs/tutorials/017/Barrier_i.cpp: Use ACE_OS::thr_equal to check
equality of thread IDs.
* docs/tutorials/019/server/cpp: Removed redefinition of char *s from
'for' loop. Works around a compiler issue, but isn't needed anyway.
* include/makeinclude/platform_hpux_aCC.GNU: On HP-UX 10.20, suppress
(future)error 667 and warning 495 to stop hearing about the problems
with the system-supplied header files. The compiler still says
there was 1 future error, but at least it's easy to scan the output
for real errors now.
Fri Jan 29 14:49:37 1999 Carlos O'Ryan <coryan@cs.wustl.edu>
* ace/ACE.cpp:
* ace/Basic_Types.h:
* ace/INET_Addr.cpp:
* ace/Memory_Pool.cpp:
* ace/OS.cpp:
* ace/OS.h:
* ace/OS.i:
* ace/SOCK_Dgram_Bcast.cpp:
* ace/config-cray.h:
* examples/IPC_SAP/SOCK_SAP/C-inserver.cpp:
* examples/System_V_IPC/SV_Semaphores/Semaphores_1.cpp:
* examples/System_V_IPC/SV_Semaphores/Semaphores_2.cpp:
* include/makeinclude/platform_cray.GNU:
* tests/Basic_Types_Test.cpp:
* tests/Handle_Set_Test.cpp:
* tests/Message_Queue_Test.cpp:
* tests/SV_Shared_Memory_Test.cpp:
* tests/run_tests.sh:
Thanks to Doug Anderson <dla@home.com> for this port of ACE to
Cray machines.
Fri Jan 29 13:51:40 1999 Nanbor Wang <nanbor@cs.wustl.edu>
* ace/OS.h: Removed definition of ACE_Thread_State.
* ace/Thread_Manager.*: Changed the ACE_Thread_State as a bunch of
bit-masks so we don't overwrite the thread states accidentally.
Thanks to Tom Dobridge <dobridge@persimmon.com> for reporting
the bug.
1999-01-28 Irfan Pyarali <irfan@cs.wustl.edu>
* ace/Hash_Map_Manager_T.cpp (open): this->close_i() must be
called *before* the allocators are changed.
* ace/Map_Manager.cpp (open): Close the old map (if any) before
creating the new map. This also make open() reentrant. Thanks
to Zoran Ivanovic <zorani@pathcom.com> for reporting this bug.
Thu Jan 28 19:08:25 1999 Carlos O'Ryan <coryan@cs.wustl.edu>
* ace/Active_Map_Manager_T.h:
Steve's change didn't make it, so I changed BASE to
ACE_AMM_BASE, I don't know about the pragma.
Thu Jan 28 16:43:17 1999 Steve Huston <shuston@riverace.com>
* ace/Active_Map_Manager_T.(h i): Renamed BASE to ACE_AMM_BASE - BASE
conflicted with something in AIX xlC. Also fixed #pragma
implementatation to work on xlC.
Thu Jan 28 10:04:39 1999 Carlos O'Ryan <coryan@cs.wustl.edu>
* ace/Hash_Map_Manager_T.cpp:
Reverted to version 4.2, thanks to Kirthika for helping find
this one.
Thu Jan 28 09:11:29 1999 Andreas Tobler <toa@pop.agri.ch>
* ace/config-linuxppcr5.h: added this config file, for
LinuxPPC R5 platforms.
Thu Jan 28 08:55:21 1999 David L. Levine <levine@cs.wustl.edu>
* ace/config-mklinux.h: replaced ACE_HAS_SOCKLEN_T, removed
__USE_XOPEN. Thanks to Andreas Tobler <toa@pop.agri.ch> for
these clarifying this.
Wed Jan 27 19:12:48 1999 James CE Johnson <jcej@chiroptera.tragus.org>
* docs/tutorials/008/*:
* docs/tutorials/009/*:
* docs/tutorials/011/*:
* docs/tutorials/012/*:
Updates from the reviewers.
Wed Jan 27 17:06:38 1999 David L. Levine <levine@cs.wustl.edu>
* ace/Makefile: removed some unprintable characters.
Wed Jan 27 16:31:01 1999 Ossama Othman <othman@cs.wustl.edu>
* ace/Makefile: Added LOCK_SOCK_Acceptor to TEMPLATE_FILES list.
Wed Jan 27 14:50:13 1999 Nanbor Wang <nanbor@cs.wustl.edu>
* examples/Service_Configurator/Misc/main.cpp: Changed to open the
Service_Config object with ignore_static_svc set to 0. That
allows this example to use static service. (By default, static
services are not loaded.) Thanks to Arturo Montes
<mitosys@colomsat.com.co> for reporting this.
Wed Jan 27 13:47:00 1999 David L. Levine <levine@cs.wustl.edu>
* include/makeinclude/platform_vxworks5.x_g++.GNU: use
double double quotes around COMPILE argument to ace_ld,
but only on WIN32 hosts. Thanks to Peter Weat <weatp@syntron.com>
for figuring this out.
Wed Jan 27 13:04:55 1999 David L. Levine <levine@cs.wustl.edu>
* ACE version 4.6.17 released.
Wed Jan 27 12:32:22 1999 David L. Levine <levine@cs.wustl.edu>
* ACE-INSTALL.html,include/makeinclude/platform_vxworks5.x_g++.GNU:
default PERL_PATH to "perl", and added notes to set it to the full
perl path if perl is not on your path.
Wed Jan 27 10:16:06 1999 Carlos O'Ryan <coryan@cs.wustl.edu>
* docs/ACE-guidelines.html:
Added an entry for the creation of files containing template
code.
Tue Jan 26 20:44:36 1999 Nanbor Wang <nanbor@cs.wustl.edu>
* ace/SOCK_IO.cpp (send,recv): Changed to use sendv/recvv to
handle variable arguments send/recv.
* ACE-INSTALL.html: Fixed the dead link to CE-status. Thanks to
Mike Preradovic <michael_preradovic@epicdata.com> for reporting
this.
Tue Jan 26 14:38:11 1999 David L. Levine <levine@cs.wustl.edu>
* include/makeinclude/platform_vxworks5.x_g++.GNU: expanded
the information on the PERL_PATH environment variable for
NT hosts. Thanks to Peter Weat <weatp@syntron.com> for
reporting this.
Tue Jan 26 13:40:51 1999 Nanbor Wang <nanbor@cs.wustl.edu>
* ace/High_Res_Timer.cpp (elapsed_time_incr): Rearranged the
formula to avoid compilation errors for platforms without
ULONGLONG. Thanks to David for the tip.
Tue Jan 26 12:01:19 1999 Jeff Parsons <parsons@cs.wustl.edu>
* ACE_wrappers/tests/CDR_Test.dsp:
* ACE_wrappers/tests/CDR_Test.cpp:
Added lines to the test code to send the output to
the log file, and deleted the unnecessary Header
Files folder in the project.
* ace/CDR.{i,cpp}:
Relocated the longdouble comparison operators'
definitions, and moved a misplaced '}', which
were causing build errors.
Tue Jan 26 10:55:02 1999 Carlos O'Ryan <coryan@cs.wustl.edu>
* ace/Active_Map_Manager.h:
The _T.h file has to be included *after* the inclusion of the .i
file, otherwise the template may not see the inline functions;
the problem only showed up on IRIX.
Mon Jan 25 22:11:36 1999 Jeff Parsons <parsons@cs.wustl.edu>
* ACE_wrappers/tests/CDR_Test.dsp:
* ACE_wrappers/tests/tests.dsw:
* ACE_wrappers/tests/versions_tests/CDR_Test.dsp:
* ACE_wrappers/tests/versions_tests/version_tests.dsw:
* ACE_wrappers/tests/run_tests.sh:
* ACE_wrappers/tests/run_tests.psosim:
* ACE_wrappers/tests/run_tests.bat:
* ACE_wrappers/tests/run_tests.vxworks:
Fixed the project files (they had incorrrect project
settings, I think) and updated the workspace files.
Also, on a tip from Nanbor, added CDR_Test to the
various run_tests files.
Mon Jan 25 20:22:01 1999 Jeff Parsons <parsons@cs.wustl.edu>
* ace/CDR.{h,i,cpp}:
* ace/Basic_Types.h:
* ACE_Wrappers/tests/CDR_Test.cpp:
Better design of ACE CDR, compiles and runs on NT, g++
and CC.
Mon Jan 25 09:35:42 1999 Steve Huston <shuston@riverace.com>
* ace/ACE.cpp (handle_timed_complete): If connect times out, set
errno to ETIMEDOUT, not ETIME. Matches what will happen if a
simple blocking connect times out.
* ace/OS.i (ACE_OS::accept, ACE_OS::recv): (only non-Win32), if
call fails and errno is EAGAIN, change it to EWOULDBLOCK.
* tests/MT_SOCK_Test.cpp: Remove EAGAIN hacks; above changes fix
this for all programs.
Sun Jan 24 22:04:42 1999 David L. Levine <levine@cs.wustl.edu>
* docs/ACE-guidelines.html: added operator==/!= guideline.
Sun Jan 24 20:25:44 1999 Irfan Pyarali <irfan@cs.wustl.edu>
* ace: When a class provides operator==, it must also provide
operator!=. Also, both these operators should be const.
Fixed the above violations in:
ACE_TSS_Ref
ACE_Thread_ID
ACE_Registry::Binding
ACE_Registry::Name_Component
ACE_Active_Map_Manager_Key
* ace/Map_Manager: Renamed methods that may become identical if
INT_ID is the same as size_t. Thanks to Ossama for helping with
this.
Sun Jan 24 19:46:55 1999 Jeff Parsons <parsons@cs.wustl.edu>
* ace/CDR.{h,i,cpp}:
* ace/Basic_Types.h:
Made some fixes to make DEC cxx happy, but I'm going to
undo many of the typedefs and change the design. These
changes will hopefully lead to a clean build with cxx,
but the CDR classes are not yet in finished form.
Sun Jan 24 19:26:34 1999 Irfan Pyarali <irfan@cs.wustl.edu>
* ace/SString.cpp (set): Fixed usage case of when the incoming
string is not zero but the length specified is zero.
* tests/SString_Test.cpp (main): Added zero sized strings and
single character strings to the test.
Sun Jan 24 19:09:45 1999 Nanbor Wang <nanbor@cs.wustl.edu>
* ace/config-win32-common.h
(ACE_HAS_WORKING_EXPLICIT_TEMPLATE_DESTRUCTOR): VC apparently
does it right.
Sun Jan 24 17:22:02 1999 Ossama Othman <othman@cs.wustl.edu>
* ace/SString.cpp (substring): the variable "length" was misspelled
on one of the lines in the method.
Sun Jan 24 16:17:58 1999 Nanbor Wang <nanbor@cs.wustl.edu>
* ace/README:
* ace/OS.h:
* ace/config-g++-common.h:
* ace/config-osf1-4.0.h:
* ace/config-psos-diab.h:
* ace/config-psos-tm.h: Replace ACE_HAS_BROKEN_EXPLICIT_DESTRUCTOR
with ACE_HAS_WORKING_EXPLITCIT_TEMPLATE_DESTRUCTOR to reflect
the true problem. Thanks to Ossama for suggesting the name.
Sun Jan 24 16:20:17 1999 James CE Johnson <jcej@chiroptera.tragus.org>
* docs/ACE-FMM:
Added an entry about the DONT_CALL flag to remove_handler().
* docs/tutorials/00[45789]:
* docs/tutorials/01[012]:
Many changes from Yamuna, Pradeep, Kirthika and Ossama. In all,
there were 62 files changed. Mostly the .html's due to
recombination and colorization.
Sun Jan 24 14:23:07 1999 Douglas C. Schmidt <schmidt@tango.cs.wustl.edu>
* ace/SString.cpp: The substring() method did not check for zero
length. Thanks to Mike Goldman for this fix.
Sun Jan 24 02:08:57 1999 Carlos O'Ryan <coryan@cs.wus...tl.edu>
* websvcs/lib/URL_Addr.cpp:
* websvcs/lib/URL_Addr.h:
* websvcs/lib/URL_Addr.i:
* websvcs/tests/Test_URL_Addr.cpp:
Added support for mailto: URLs
Sat Jan 23 23:53:29 1999 Carlos O'Ryan <coryan@cs.wustl.edu>
* websvcs/Makefile:
* websvcs/lib/Makefile:
* websvcs/lib/URL_Addr.h:
* websvcs/lib/URL_Addr.i:
* websvcs/lib/URL_Addr.cpp:
* websvcs/tests/Makefile:
* websvcs/tests/Test_URL_Addr.cpp:
Added a small library to keep basic Web related wrappers. The
first set is a small collection of URL address classes,
including HTTP and FTP representations.
Sat Jan 23 23:26:17 1999 Nanbor Wang <nanbor@cs.wustl.edu>
* ace/High_Res_Timer.{h,cpp} (elapsed_time_incr): Added a new
function to access the incremental timer in nanosecond.
Sat Jan 23 23:08:27 1999 Jeff Parsons <parsons@cs.wustl.edu>
* ace/CDR.{h,i,cpp}:
Caught numerous inline ordering errors and mistakes in
long double functions (not defined on NT) with g++.
Sat Jan 23 21:13:47 1999 Jeff Parsons <jp4@cs.wustl.edu>
* tests/tests.dsw:
* tests/CDR_Test.dsp:
* tests/Makefile:
* tests/CDR_Test.cpp:
New test in the suite for the new ACE CDR classes (see below).
* TAO/TAOACE.dsw:
* TAO/TAOACE_static.dsw:
* ace/Makefile:
* ace/CDR.{h,i,cpp}:
* ace/OS.h:
* ace/Basic_Types.h:
CDR stuff modified from TAO library. Typedefs, default
constants and macros added to OS.h and Basic_Types.h.
There is now complete CDR functionality in ACE, except
for the interpreter, and thus also no handling of Any
or TypeCode types.
Sat Jan 23 17:50:22 1999 Steve Huston <shuston@riverace.com>
* tests/MT_SOCK_Test.cpp: 1. Check for EAGAIN as well as EWOULDBLOCK
after an accept fail (this change will probably be removed at some
point when we figure out how to handle EAGAIN/EWOULDBLOCK).
2. Close the ACE_SOCK_Acceptor in the server before going into
the "reap children" loop so any half-connected clients will get
closed.
Sat Jan 23 17:25:48 1999 Kirthika Parameswaran <kirthika@cs.wustl.edu>
* ace/Hash_Map_Manager_T.{h,cpp}: Reverted changes made since the
ACE_Hash_Map_Manager_Ex was getting used in shared memory and
hence could not have "virtual" methods.
Sat Jan 23 04:53:12 1999 Irfan Pyarali <irfan@cs.wustl.edu>
* ace/Active_Map_Manager: Added a new associative container (map
abstraction) that associates system generated keys with user
specified values. Since the key is system generated, searches
are very fast and take a constant amount of time. This map uses
a key that keeps information of the index and the generation
count of the slot it represents. Since the index information is
part of the key, lookups are super fast and predictable.
This performance of this map is truely awesome:
- inserts O(1) worse case
- lookups O(1) worse case
- deletes O(1) worse case
* ace/Map_Manager: Completely reworked the internals of the
Map_Manager. A number of problems were addressed:
(a) Finding an empty slot took O(n). New code takes O(1).
(b) Resizing was lame as it increased by ACE_DEFAULT_MAP_SIZE
everytime. The new scheme is cool since it grows
exponentially up to 64K and after that grow in chunks of
32K.
(c) Old scheme used a simple but inefficient <is_free_> flag.
The new scheme uses two doubly linked list to track used and
free slots. Note that this scheme still uses an array to
manage the search structure but manages the two linked list
on top of the array. Thanks to Carlos for this cool idea.
(d) current_size() was broken. This is fixed in the new code.
(e) Inlined a bunch of small functions.
* tests/SString_Test.cpp: Added empty string test.
* ace/Containers_T.h (operator=): ACE_Array_Base must be fully
qualified: ACE_Array_Base<T>. Thanks to Susan Liebeskind
<shl@janis.gtri.gatech.edu> for pointing this out.
* tests/Map_Manager_Test.cpp (test_map_manager): Added
Active_Map_Manager to the test.
Fri Jan 22 21:27:14 1999 Kirthika Parameswaran <kirthika@cs.wustl.edu>
* ace/Hash_Map_Manager_T.h
(class ACE_Hash_Map_Entry): Modified the destructor to be
"virtual" so that it gets invoked on the destruction of its
derived class objects.
(class ACE_Hash_Map_Manager_Ex): Modified the destructor to be
"virtual" so that it gets invoked on the destruction of its
derived class objects.
Modified shared_find () to be "virtual" so that it can be
defined in its derived classes.
Declared a virtual method for creating new entries for the map
called create_entry ().
* ace/Hash_Map_Manager_T.cpp
(create_entry): Added this virtual method which creates a new
map entry. This is necessary to allow the map to contain various
types of map entries.
(bind_i):
(trybind_i):
(unbind_i):
Used create_entry () to obtain a new entry object.
* ace/Hash_Purgable_Map_Manager_T.{h,i,cpp}:
The ACE_Hash_Purgable_Map_Manager_Ex derives from
ACE_Hash_Map_Manager_Ex and provides the feature of purging
K entries from the map. The default purging algorithm is Least
Recently Used, which has been implemented using a virtual timer
that increments whenever an entry is looked up or used. Each
entry has a purge_tag which is the timestamp updated by the
timer value whenever it is referenced. The entry is an object of
ACE_Hash_Purgable_Map_Entry class which is derived from
ACE_Hash_Map_Entry.
(purge): This is the method which flushes K entries from the
map. Locks are held.
(purge_i): This method also flushes K entries but w.o. locks
being held.
(create_entry): Creates an ACE_Hash_Purgable_Map_Entry object.
(shared_find): This method is used to lookup and verify whether
an entry is present in the map. Also, the purge_tag of the entry
is updated with the current timer value.
* tests/Purgable_Map_Manager.cpp: Added this test which
illustrates the use of the Hash_Purgable_Map_Manager to maintain
a cache map. Also displays the change in the map size on
purging.
Fri Jan 22 16:10:35 1999 Steve Huston <shuston@riverace.com>
* ace/Select_Reactor_Base.cpp (ACE_Select_Reactor_Notify::handle_input)
EAGAIN is also a legit errno value (not only EWOULDBLOCK) for end
of data on pipe. Makes count of dispatches returned from
ACE_Select_Reactor's handle_events correct in the presence of
notifications.
* ace/OS.i (ACE_OS::sema_init): Always init s->name_ to 0, else it
might be non-zero (and junk) when deleted.
* ace/config-hpux11.h: Added an overrideable ACE_TIMER_SKEW of 10 msec.
Fri Jan 22 15:07:08 1999 Douglas C. Schmidt <schmidt@tango.cs.wustl.edu>
* ace/Containers_T.cpp: Yikes, don't delete the fixed stack since
it wasn't allocated dynamically! Thanks to Mike Goldman
<whig@by.net> for this fix!
Fri Jan 22 13:08:00 1999 Chris Gill <cdgill@cs.wustl.edu>
* ace/ACE.{cpp, h}: added static methods ACE::gcd, which computes the
greatest common divisor of two u_longs using Euclid's algorithm, and
ACE::minimum_frame size, which computes the minimum enclosing frame
size for two u_longs.
Thu Jan 21 20:45:09 1999 James CE Johnson <jcej@chiroptera.tragus.org>
* docs/tutorials/006/client_acceptor.h
* docs/tutorials/006/client_handler.cpp
* docs/tutorials/006/client_handler.h
* docs/tutorials/006/page01.html
* docs/tutorials/006/page02.html
* docs/tutorials/006/page03.html
* docs/tutorials/006/page04.html
* docs/tutorials/006/page05.html
Integrated changes from Vishal and Kirthika
* docs/tutorials/008/combine.shar
* docs/tutorials/008/page02.html
* docs/tutorials/008/page03.html
* docs/tutorials/008/page04.html
* docs/tutorials/009/combine.shar
* docs/tutorials/009/directed_client.cpp
* docs/tutorials/009/page01.html
* docs/tutorials/009/page02.html
* docs/tutorials/009/page03.html
* docs/tutorials/009/page04.html
* docs/tutorials/009/page05.html
* docs/tutorials/009/server.cpp
Changes from Kirthika plus colorization.
Thu Jan 21 16:01:50 1999 James CE Johnson <jcej@lads.com>
* docs/tutorials/007/Makefile:
* docs/tutorials/007/combine.shar:
* docs/tutorials/007/page01.html:
* docs/tutorials/007/page02.html:
* docs/tutorials/007/page03.html:
* docs/tutorials/007/page04.html:
* docs/tutorials/007/page05.html:
* docs/tutorials/007/page06.html:
* docs/tutorials/007/page07.html:
* docs/tutorials/007/page08.html:
* docs/tutorials/007/page09.html:
* docs/tutorials/007/thread_pool.cpp:
* docs/tutorials/008/Makefile:
* docs/tutorials/008/combine.shar:
* docs/tutorials/008/directed_client.cpp:
* docs/tutorials/008/page01.html:
* docs/tutorials/008/page02.html:
* docs/tutorials/008/page03.html:
* docs/tutorials/008/page04.html:
* docs/tutorials/008/page05.html:
* docs/tutorials/008/server.cpp:
* docs/tutorials/009/Makefile:
Included Kirthika's abstract.
Colorized both tutorials & convereted to new format.
Thu Jan 21 14:25:58 1999 David L. Levine <levine@cs.wustl.edu>
* ace/SString.h: changed !ACE_HAS_WINCE wrap of ostream
operators to !ACE_LACKS_IOSTREAM_TOTALLY.
* ace/OS.i (getuid): added static cast of -1 to uid_t on
Chorus, to avoid compiler warning about change in sign.
* ace/OS.h: moved (protected) MAXHOSTNAMELEN #define from
pSOS and NT-only code to where its visible on all platforms.
When we removed the #include of rpc.h, we lost the
#define of MAXHOSTNAMELEN on Chorus.
Thu Jan 21 15:19:26 1999 James CE Johnson <jcej@lads.com>
* docs/tutorials/001/Makefile:
* docs/tutorials/001/page01.html:
* docs/tutorials/001/page02.html:
* docs/tutorials/001/page03.html:
* docs/tutorials/001/page04.html:
* docs/tutorials/001/page05.html:
* docs/tutorials/005/client_handler.cpp:
* docs/tutorials/005/page02.html:
* docs/tutorials/005/page03.html:
* docs/tutorials/005/page04.html:
* docs/tutorials/005/page05.html:
* docs/tutorials/005/page06.html:
* docs/tutorials/006/client_handler.cpp:
* docs/tutorials/006/page01.html:
* docs/tutorials/006/page02.html:
* docs/tutorials/006/page03.html:
* docs/tutorials/006/page04.html:
* docs/tutorials/006/page05.html:
Incorporated new comments from Vishal, Yamuna and Pradeep.
Thu Jan 21 13:05:31 1999 Steve Huston <shuston@riverace.com>
* docs/tutorials/Makefile: Removed include .depend to allow the
whole set of tutorials to be built from the top. Thanks to James
Johnson for guiding this fix.
Wed Jan 20 19:47:16 1999 Nanbor Wang <nanbor@cs.wustl.edu>
* ace/OS.{h,i,cpp} (fopen): Reimplement fopen using Win32 APIs so
ACE_OS::unlink behaves the same as it does on UNIX platforms.
Both ACE_OS::open and ACE_OS::fopen have been corrected.
There's also a ACE::open_temp_file which should be the prefered
method to open temp files when ACE_HANDLE is used. That's
because Win32 tries to map the file opened by
ACE::open_temp_file to memory.
* ace/Parse_Node.cpp (symbol): <func> need to be initialized.
Thanks to David for reporting the bug.
Wed Jan 20 17:37:21 1999 Steve Huston <shuston@riverace.com>
* ace/Log_Msg.h: Added "do {} while (0)" as defs for ACE_HEX_DUMP,
ACE_ERROR, ACE_DEBUG when ACE_NLOGGING is defined. Having null defs
for these caused MSVC some problems. Thanks to Doug Schmidt for
giving (and explaining) the correct definitions.
Wed Jan 20 13:38:03 1999 David L. Levine <levine@cs.wustl.edu>
* ace/OS.i (readdir_r): added ACE_UNUSED_ARG (entry)
without ACE_HAS_REENTRANT_FUNCTIONS.
* docs/ACE-guidelines.html: added guideline for calling
ACE_OS::unlink () immediately after opening a temporary file.
* *.h: replaced () around #pragma implementation argument. Thanks
to Susan Liebeskind <susan.liebeskind@gtri.gatech.edu> and
Steve Huston for reporting and confirming that it's necessary
on AIX.
Wed Jan 20 01:48:21 1999 Nanbor Wang <nanbor@cs.wustl.edu>
* ace/Parse_Node.cpp (symbol): Remembered to pass down the
"gobbler" in a Static_Function_Node. Thanks to Eric C. Newton
<ecn@smart.net> for reporting and providing the fix.
Tue Jan 19 17:52:49 1999 Douglas C. Schmidt <schmidt@tango.cs.wustl.edu>
* ace/SString.h: Clarified the role of the <release> argument for
the <set> method. Thanks to Sudhanshu Garg
<sg2@ladybug.cec.wustl.edu> for suggesting this.
Tue Jan 19 16:15:26 1999 David L. Levine <levine@cs.wustl.edu>
* OS.i,README,config-cygwin32-common.h,config-linux-common.h,
config-psos-diab.h,config-psos-tm.h,config-psosim-g++.h,
config-sco-5.0.0-mit-pthread.h,config-sco-5.0.0.h,
config-tandem.h: removed removed include of rpc/rpc.h, and
ACE_LACKS_RPC_H. Thanks to Susan Liebeskind
<susan.liebeskind@gtri.gatech.edu> for initially suggesting this,
and to Russ Noseworthy for reporting another problem (on
SunOS 5.6 w/o threads) with it. ACE doesn't need it.
* bin/g++dep: removed /project/doc/pkg/gnu/bin from PATH so that
I can run make depend on Linux.
Tue Jan 19 12:14:09 1999 Douglas C. Schmidt <schmidt@ace.cs.wustl.edu>
* Makefile (CONTROLLED_FILES): Added ChangeLog-98b to the
CONTROLLED_FILES macro. Thanks to Susan Liebeskind
<susan.liebeskind@gtri.gatech.edu> for suggesting this.
Tue Jan 19 10:24:00 1999 Chris Gill <cdgill@cs.wustl.edu>
* apps/JAWS/PROTOTYPE/HTTPU/HTTPU.{dsp, dsw}: converted to MSVC++ 6.0
(and backward compatible) format.
* apps/JAWS/PROTOTYPE/HTTPU/http_headers.{cpp, h}: fixed ACE_RB_Tree
templates, template instantiations. Thanks to Sridhar Sabella
(ssabbella@cemax.com) for pointing this out.
Tue Jan 19 00:42:44 1999 Irfan Pyarali <irfan@cs.wustl.edu>
* examples/Log_Msg/test_callback.cpp (log): Removed the use of
cerr and used ACE_OS::printf() instead.
* ace/Log_Record.cpp (print): Fixed comparison between signed and
unsigned. Thanks to David Levine for pointing this out.
Mon Jan 18 23:55:03 1999 Darrell Brunsch <brunsch@cs.wustl.edu>
* ACE-INSTALL.html: Added more info on Alpha configuration
problems and fixes.
Mon Jan 18 23:07:38 1999 Nanbor Wang <nanbor@cs.wustl.edu>
* ace/OS.cpp (open): Files opened with CreateFileA (on Win32 of
course,) are now opened with FILE_SHARE_DELETE flag set. This
allows ACE_OS::unlink to work as it should. However, I haven't
figured out how to make unlink work with file opened with fopen
yet. Apparently, fopen does not open file with
FILE_SHARE_DELETE.
Mon Jan 18 22:54:18 1999 Darrell Brunsch <brunsch@cs.w...ustl.edu>
* ace/ace_dll.dsp:
* ace/ace_lib.dsp:
Updated NT Alpha configurations.
* apps/gperf/src/gperf.dsp:
* apps/gperf/src/gperf_lib.dsp:
Added NT Alpha configurations.
Mon Jan 18 22:14:00 1999 James CE Johnson <jcej@chiroptera.tragus.org>
* docs/tutorials/011/message_queue.cpp:
* docs/tutorials/011/page02.html:
ACE_Message_Block::copy() will advance the wr_ptr() for us.
Previously, I was doing that myself in run_test(). The test only
worked because I never wrote data to the block after that. If I
had, things would have broken horribly.
Mon Jan 18 20:41:48 1999 Douglas C. Schmidt <schmidt@tango.cs.wustl.edu>
* ace/Message_Block.h: Clarified that the wr_ptr() is incremented
by n as a result of the copy operation. Thanks to Zoran
Ivanovic <zorani@pathcom.com> for suggesting this.
* ace/INET_Addr.h (ACE_INET_Addr): Changed the default for
ipaddr_format to 1 (which is what it had been originally) rather
than 0 since the original way is faster since it doesn't use
DNS. Thanks to Zoran Ivanovic <zorani@pathcom.com> for finding
this.
Mon Jan 18 20:31:47 1999 James CE Johnson <jcej@chiroptera.tragus.org>
* docs/tutorials/006/client_handler.cpp:
Typo...
* docs/tutorials/006/*.html:
* docs/tutorials/006/combine.shar:
Colorized, added Kirthika's abstract.
Mon Jan 18 16:19:56 1999 Nanbor Wang <nanbor@cs.wustl.edu>
* ace/OS.cpp (open): If a file is open with _O_TEMPORARY flag set
on Win32, we also set the FILE_ATTRIBUTE_TEMPORARY so OS will
try to cache it in memory to speed up access.
* ace/ACE.cpp (open_temp_file): On Win32, temporary file should be
opened with _O_TEMPORARY flag set, not FILE_DELETE_ON_CLOSE.
* include/makeinclude/wrapper_macros.GNU: My previous fix of
avoiding multiple definition of ACE_NDEBUG was not correct. Now
the macro check where should the definition go to. Thanks to
David for showing me the right way to do this.
Mon Jan 18 11:23:06 1999 Carlos O'Ryan <coryan@cs.wustl.edu>
* include/makeinclude/platform_irix6.x-sgic++.GNU:
Added the -multigot flag when building shared libraries,
otherwise TAO/orbsvcs is too big.
Mon Jan 18 09:54:54 1999 David L. Levine <levine@cs.wustl.edu>
* ace/config-sunos5.5.h: moved ACE_HAS_PRIOCNTL #define so
that it's defined even without threads. Thanks to
Russ Noseworthy for reporting this.
* ace/OS.cpp (lwp_getparams): removed ACE_MT_SAFE check
that Doug added Saturday. It's not necessary with the
above fix to config-sunos5.5.h.
* examples/Log_Msg/test_ostream.cpp: don't try to create the
ofstream if ACE_LACKS_IOSTREAM_TOTALLY. Also, removed
declarations of unused argc/argv arguments because some
g++ versions complain about them.
Mon Jan 18 08:17:49 1999 Douglas C. Schmidt <schmidt@tango.cs.wustl.edu>
* ace/SOCK_IO.cpp,
ace/SOCK_Dgram.cpp: Added
ACE_UNUSED_ARG (timeout);
to the #else part of the recv (iovec *) methods. Thanks to Mike
Goldman for reporting this.
Mon Jan 18 01:13:57 1999 Nanbor Wang <nanbor@cs.wustl.edu>
* ace/CORBA_macros.h: ACE_TRY_NEW_ENV also needs to define a new
CORBA::Environment even with native exceptions. Mark exception
caught by ACE_CATCH as unused arg to avoid compilation warnings.
Mon Jan 18 00:12:13 1999 Douglas C. Schmidt <schmidt@cs.wustl.edu>
* ACE version 4.6.16 released.
Sun Jan 17 16:40:22 1999 Douglas C. Schmidt <schmidt@tango.cs.wustl.edu>
* tests/Reactor_Exceptions_Test.cpp (main): Changed the LM_INFO
message to indicate that C++ exception support isn't ENABLED on
a platform, rather than saying that it's not supported at all...
Sun Jan 17 15:16:35 1999 Nanbor Wang <nanbor@cs.wustl.edu>
* ace/SString.cpp (operator<<): The operator<< used to print out
ACE_WString caused an infinite loop on platform without UNICODE
defined because we didn't convert the wide string on these
platform. However, since an ACE_WString always contains a wide
string, the conversion from wide string to char string should
always be done here. Thanks to Scott Snyder
<snyder@d0sgif.fnal.gov> for noticing this bug.
(operator<<): Changed the ACE_SString and ACE_CString version to
check against the case when the internal <rep_> contains 0.
The ACE_CString version was printing out the string one char a
time. Can't see any reason why this is done like this. Changed
to print out the underlying <rep_> directly.
Sun Jan 17 14:42:39 1999 James CE Johnson <jcej@chiroptera.tragus.org>
* docs/tutorials/001/*:
* docs/tutorials/002/*:
* docs/tutorials/003/*:
* docs/tutorials/004/*:
* docs/tutorials/005/*:
Converted to the new (colorized) format used by T13 and beyond.
I will convert the remaining tutorials (6-12) as each is reviewed.
* docs/tutorials/005/fix.Makefile:
* docs/tutorials/006/fix.Makefile:
* docs/tutorials/007/fix.Makefile: Replaced by ../fix.Makefile.
* docs/tutorials/010/Makefile:
* docs/tutorials/011/Makefile:
* docs/tutorials/012/Makefile:
* docs/tutorials/013/Makefile:
* docs/tutorials/014/Makefile:
* docs/tutorials/016/Makefile:
* docs/tutorials/017/Makefile:
These all referenced ../007/fix.Makefile. They now reference
../fix.Makefile instead.
Sun Jan 17 13:50:16 1999 James CE Johnson <jcej@chiroptera.tragus.org>
* docs/tutorials/002/handler.h:
* docs/tutorials/002/handler.h:
* docs/tutorials/002/page03.html:
* docs/tutorials/003/client.cpp:
* docs/tutorials/003/page01.html:
* docs/tutorials/004/page01.html:
* docs/tutorials/005/client_handler.h:
* docs/tutorials/005/page02.html:
* docs/tutorials/005/page04.html:
* docs/tutorials/005/page05.html:
* docs/tutorials/005/server.cpp:
More improvements from Doug's class (and Ossama). Each "page2"
includes an abstract by Kirthika.
Reviewers to date:
Yamuna Krishnamurthy <yamuna@cs.wustl.edu>
Kirthika Parameswaran <kirthika@cs.wustl.edu>
Balachandran Natarajan <bala@cs.wustl.edu>
Pradeep Gore <pradeep@cs.wustl.edu>
Ossama Othman <othman@cs.wustl.edu>
Sat Jan 16 19:08:12 1999 Douglas C. Schmidt <schmidt@ace.cs.wustl.edu>
* ace/High_Res_Timer.cpp: Added #ifdef so high-res timers work
correctly on KCC. Thanks to Scott Snyder
<snyder@d0sgif.fnal.gov> for contributing this.
* tests/test_config.h: Updated randomize() so that it uses a
"fixed" seed, so that it will produce "reusable" random numbers.
* include/makeinclude/platform_linux_kcc.GNU (LD): Added the -lm
flag. Thanks to Scott Snyder <snyder@d0sgif.fnal.gov> for
contributing this.
* tests/run_tests.sh: Added an
LD_LIBRARY_PATH=../netsvcs/lib:$LD_LIBRARY_PATH so that we can
use a relative name for the svc.conf files used in the
Time_Service_Test and Tokens_Test.
* ace/config-irix6.x-common.h: Added support for long double for
KCC. Thanks to Scott Snyder <snyder@d0sgif.fnal.gov> for
contributing this.
* ace/config-irix6.x-kcc.h: Added KCC support. Thanks to Scott
Snyder <snyder@d0sgif.fnal.gov> for contributing this.
* ace/config-osf1-4.0.h: Added KCC support. Thanks to Scott
Snyder <snyder@d0sgif.fnal.gov> for contributing this.
* ace/IOStream.h: Fixed up the PUT_CODE and GET_CODE macros so
that they work with KCC. Thanks to Scott Snyder
<snyder@d0sgif.fnal.gov> for contributing this.
* ace/Env_Value_T.h (ACE_Convert): Added a new ACE_Convert
constructor for u_int so that TAO compiles correctly with KCC.
Thanks to Scott Snyder <snyder@d0sgif.fnal.gov> for contributing
this.
* include/makeinclude/platform_osf1_4.0_kcc.GNU: Added a new
platform config file for KCC. Thanks to Scott Snyder
<snyder@d0sgif.fnal.gov> for contributing this.
Sat Jan 16 18:13:29 1999 Nanbor Wang <nanbor@cs.wustl.edu>
* include/makeinclude/wrapper_macros.GNU: Commented out adding
ACE_NDEBUG to CCFLAGS to avoid defining it twice. Most (if not
all) platforms include CFLAGS into CCFLAGS. So, if "make
debug=0" no longer work on your platform, then, you may need to
add "CCFLAGS += $(CFLAGS)" into your platform_xxx.GNU.
Sat Jan 16 13:40:40 1999 Douglas C. Schmidt <schmidt@tango.cs.wustl.edu>
* ace/Proactor.cpp (schedule_timer): Had to add an
ACE_SYNCH_RECURSIVE_THREAD_MUTEX in place of
ACE_Recursive_Thread_Mutex to avoid problems when threads=0.
* ace/OS.cpp (lwp_getparams): For some reason we had to
add
# if defined (ACE_HAS_STHREADS) || (defined (sun) && (ACE_MT_SAFE != 0))
instead of
# if defined (ACE_HAS_STHREADS) || defined (sun)
to avoid problems when threads=0.
* ace/Asynch_IO.cpp: Replaced some ACE_Thread_Mutex decls with
ACE_SYNCH_MUTEX to avoid problems with threads=0.
* ace/config-sunos5.6.h: If defined(_POSIX_C_SOURCE) &&
_POSIX_C_SOURCE >= 199506L) || defined (__EXTENSIONS__) then
#define ACE_HAS_SIGWAIT to avoid compilation errors. Thanks to
Russ Noseworthy for reporting this.
* ace/OS.i: Fixed the ACE_OS::readdir_r() so that it doesn't fail
if threads are disabled via "make threads=0". Thanks to Russ
Noseworthy for reporting this.
* ace/FILE_Connector.h (ACE_FILE_Connector): Added the O_CREAT
flag to the list of flags passed to connect(). This ensures
that the file is created if it doesn't already exist. Thanks to
Pradeep Gore <pradeep@cs.wustl.edu> for reporting this.
Fri Jan 15 21:28:04 1999 Irfan Pyarali <irfan@cs.wustl.edu>
* ace/Log_Msg (ACE_Log_Msg_Callback): Added an interface class
used for getting logging callbacks. Users who are interested in
getting the logging messages directly, can subclass this
interface and override the log() method. They must then register
their subclass with the Log_Msg class and make sure that they
turn on the ACE_Log_Msg::MSG_CALLBACK flag.
Your log() routine is called with an instance of
ACE_Log_Record. From this class, you can get the log
message, the verbose log message, message type, message
priority, and so on.
Remember that there is one Log_Msg object per thread.
Therefore, you may need to register your callback object with
many Log_Msg objects (and have the correct synchronization in
the log() method) or have a separate callback object per
Log_Msg object.
Thanks to Chris Lahey <clahey@ix.netcom.com> for suggesting this
and send patches.
* examples/Log_Msg/test_callback.cpp: Added new example for
Log_Msg. This program tests the Log_Msg abstraction wrt writing
to user defined callback objects.
Fri Jan 15 21:10:25 1999 Nanbor Wang <nanbor@cs.wustl.edu>
* ace/CORBA_macros.h: Made sure ACE_CORBA_HAS_EXCEPTIONS always
gets set properly. Added ACE_ADPOT_CORBA_ENV to reuse a
existing CORBA::Environment variable.
Fri Jan 15 17:05:12 1999 Irfan Pyarali <irfan@cs.wustl.edu>
* ace/Log_Record: Factored out the redundant formatting code. The
new scheme also allows the end user to get to verbose formatted
string. Thanks to Nanbor for helping out with this.
Fri Jan 15 17:15:18 EST 1999 James CE Johnson <jcej@lads.com>
* docs/tutorials/templates.html
docs/tutorials/001/acceptor.h
docs/tutorials/001/logger.h
docs/tutorials/001/page01.html
docs/tutorials/001/page02.html
docs/tutorials/001/page03.html
docs/tutorials/001/page04.html
docs/tutorials/001/page05.html
docs/tutorials/001/server.cpp
docs/tutorials/003/page01.html
Many changes from Ossama plus a new abstract (for T3) from
Kirthika.
Fri Jan 15 14:40:26 1999 Douglas C. Schmidt <schmidt@tango.cs.wustl.edu>
* ace/SOCK_IO,
ace/SOCK_Dgram: Modified the recv(iovec *) and recvv(iovec *)
methods so that they use select() to avoid spinning if no data
is available. Thanks to Mike Goldman <whig@by.net> for this
fix.
Fri Jan 15 10:47:26 1999 Douglas C. Schmidt <schmidt@ace.cs.wustl.edu>
* ace/Service_Repository.cpp: If a service being removed from the
Service_Repository used the Service_Repository while being
removed it could access objects that had already been deleted.
Fix this by decrementing the current_size_ member in
"real-time". Thanks to Eric Newton for reporting this.
Fri Jan 15 08:08:31 1999 Douglas C. Schmidt <schmidt@cs.wustl.edu>
* ACE version 4.6.15 released.
Fri Jan 15 07:20:46 1999 Chris Gill <cdgill@cs.wustl.edu>
* ace/OS.i: Fixed variable names in isatty () on NT
Fri Jan 15 03:45:46 1999 Nanbor Wang <nanbor@cs.wustl.edu>
* docs/exceptions.html: Rewrote the exception handling guildlines
based on ACE's try macros.
Fri Jan 15 01:32:55 1999 Douglas C. Schmidt <schmidt@cs.wustl.edu>
* ACE version 4.6.14 released.
Fri Jan 15 00:03:32 1999 Irfan Pyarali <irfan@cs.wustl.edu>
* examples/Log_Msg/test_ostream.cpp: Added new example for
Log_Msg. This program tests the Log_Msg abstraction wrt writing
to stderr and to a file.
Thu Jan 14 21:50:22 1999 Nanbor Wang <nanbor@cs.wustl.edu>
* ace/CORBA_macros.h: Added a new set of try macros which help
application developers write portable code that handles
CORBA::Exception portably. The macros will work with any ORB.
The total number of macros has reduces significantly and they
should be much easier to use because the rules all follow the
same style.
The new try macros should be prefered over the original try
macro in $TAO_ROOT/TAO/try_macros.h because those macros will
soon be *DEPRICATED* once we finished convert TAO to use the new
macros.
Please see ACE_wrappers/docs/exceptions.html for guidelines and
rules of using ACE's try macros.
Thu Jan 14 20:41:33 1999 Douglas C. Schmidt <schmidt@ace.cs.wustl.edu>
* ace/OS: Moved some code around to consolidate the getuid() and
isatty() functions.
* ace/OS: Added support for the setuid() call. Thanks to Susan
Liebeskind <susan.liebeskind@gtri.gatech.edu> for suggesting
this.
Thu Jan 14 16:18:37 EST 1999 James CE Johnson <jcej@lads.com>
* docs/tutorials/001/page02.html:
docs/tutorials/001/page03.html:
Included Kirthika Parameswaran's <Kirthika@cs.wustl.edu>
abstract and analogy. Thanks Kirthika!
* docs/tutorials/001/Source.tgz:
docs/tutorials/001/acceptor.h:
docs/tutorials/001/logger.h:
docs/tutorials/001/server.cpp:
docs/tutorials/001/page[345].html:
* docs/tutorials/002/page0[23].html:
docs/tutorials/002/handler.h:
Added improvements from Kirthika, Pradeep and Yamuna
Thu Jan 14 11:46:25 1999 Douglas C. Schmidt <schmidt@ace.cs.wustl.edu>
* ace/Synch_T.h: Pointed out that we can only parameterize
ACE_Condition<> with ACE_Thread_Mutex and ACE_...Null_Mutex.
Thanks to Knut-Havard Aksnes <knut@orion.no> for reporting
this.
Thu Jan 14 02:33:37 1999 Douglas C. Schmidt <schmidt@cs.wustl.edu>
* ACE version 4.6.13 released.
Thu Jan 14 00:07:34 1999 Irfan Pyarali <irfan@cs.wustl.edu>
* docs/tutorials/014/stream.cpp: Added #include "ace/streams.h".
Wed Jan 13 23:18:03 1999 Nanbor Wang <nanbor@cs.wustl.edu>
* ace/OS.h:
* config-g++-common.h:
* config-osf1-4.0.h:
* config-psos-diab.h:
* config-psos-tm.h: Revert my previous change. Removed the
ChangeLog entry about the change.
Wed Jan 13 22:30:49 1999 David L. Levine <levine@cs.wustl.edu>
* include/makeinclude/platform_chorus_ghs.GNU: removed
explicit link with libedgnoe.a, because GreenHills adds
that implicitly.
* ace/OS.h: added quick hack to ACE_HAS_BROKEN_EXPLICIT_DESTRUCTOR
logic to allow compilation with g++.
Wed Jan 13 18:48:30 EST 1999 James CE Johnson <jcej@lads.com>
* docs/tutorials/004/client.cpp:
docs/tutorials/010/message_queue.cp:
docs/tutorials/011/message_queue.cpp:
docs/tutorials/012/message_queue.cpp:
docs/tutorials/013/message_queue.cpp:
docs/tutorials/014/EndTask.h:
docs/tutorials/019/client.cpp:
docs/tutorials/019/client2.cpp:
docs/tutorials/019/server.cpp:
docs/tutorials/019/server2.cpp:
docs/tutorials/019/shmem.cpp:
docs/tutorials/020/client.cpp:
docs/tutorials/020/server.cpp:
docs/tutorials/021/client.cpp:
docs/tutorials/021/mpool.cpp:
docs/tutorials/021/mpool.h:
docs/tutorials/021/server.cpp:
Fixed many NT issues found by Irfan. Most are related to the
fact that NT doesn't have SysV shared memory.
Wed Jan 13 04:45:59 1999 James C Hu <jxh@cs.wustl.edu>
* ace/Cache_Object.{h,cpp}:
* ace/Cache_Manager.{h,cpp}:
* ace/Cache_Manager_T.{h,cpp}:
* ace/Cache_Hash_T.{h,cpp}:
* ace/Cache_Heap_T.{h,cpp}:
* ace/Hash_Bucket_T.{h,cpp}:
Supporting infrastructure for the new Filecache. These classes
form the basis of a generic in memory cache engine.
Wed Jan 13 02:17:57 1999 Irfan Pyarali <irfan@cs.wustl.edu>
* ace/OS.cpp (writev): This function should use ACE::write_n
instead of ACE::send_n. Similarly, readv() should use
ACE::read_n instead of ACE::recv_n.
* ace/ACE.cpp (send): This function should use ACE_OS::sendv
instead of ACE_OS::writev. Similarly, recv() should use
ACE_OS::recvv instead of ACE_OS::readv.
* docs/tutorials: Fixed all the NT project files.
Tue Jan 12 22:41:05 1999 Nanbor Wang <nanbor@cs.wustl.edu>
* ace/config-freebsd.h: Uncommented ACE_HAS_SIGWAIT. This is
required for FreeBSD 2.2.8. Thanks to John Aughey
<jha@FreeBSD.ORG> for reporting this.
* ace/SOCK_IO.{h,i}:
* ace/SOCK_Stream.{h,i} (sendv_n/recvv_n): Moved these functions
from SOCK_IO to SOCK_Stream where it makes more sense to have
the semantic of sending/receiving <n> bytes.
Tue Jan 12 19:52:26 1999 Nanbor Wang <nanbor@cs.wustl.edu>
* ACE-INSTALL.html: Added more info on dynamically linking
run-time libraries.
* ace/SOCK_IO.{h,i,cpp} (sendv,recvv,sendv_n,recvv_n): Renamed
vector send_n/recv_n. There were name clashing since these
methods have similar signatures to some send_n/recv_n in
ACE_SOCK_Stream, they got hidden by the derived methods.
Renaming them solve the problem.
Tue Jan 12 10:59:58 1999 David L. Levine <levine@cs.wustl.edu>
* include/makeinclude/platform_chorus_ghs.GNU: fixed location of
libedgenoe.a, so that a symlink in $(GHS_DIR) is no longer necessary.
Thanks to Steve Kay for reporting this.
* ace/config-mklinux.h: removed ACE_HAS_SOCKLEN_T, added __USE_XOPEN.
Thanks to Andreas Tobler <toa@pop.agri.ch> for these updates.
Tue Jan 12 08:44:11 EST 1999 Aniruddha Gokhale <gokhale@sahyadri.research.bell-labs.com>
* ace/Acceptor.cpp (handle_close):
Since the reactor_ data member is made private, we need to use
its accessor method to retrieve it.
Tue Jan 12 02:12:38 1999 Nanbor Wang <nanbor@cs.wustl.edu>
* ace/OS.h (ACE_DES_NO_FREE,ACE_DES_FREE): These two macros
shouldn't be treated differently no matter
ACE_HAS_BROKEN_EXPLICIT_DESTRUCTOR is defined or not.
Otherwise, virtual destructor won't work in one of the original
definitions.
There shouldn't be different different definitions for calling
template destructor explicitly either. However, we need to find
that out. The meaning of ACE_HAS_BROKEN_EXPLICIT_DESTRUCTOR
seems to be reversed. That needs to be fixed also.
Tue Jan 12 00:18:15 1999 Douglas C. Schmidt <schmidt@ace.cs.wustl.edu>
* ace/Event_Handler.h: Moved the priority_ and reactor_ data
members into the private section of the class since these can
always be accessed via their accessor methods. Thanks to Mike
Goldman <whig@by.net> for reporting this.
Mon Jan 11 15:30:26 1999 Nanbor Wang <nanbor@cs.wustl.edu>
* ace/Process.{h,i} (get_process_attributes,get_thread_attributes):
Removed the constness from the return value to avoid Intel C++
warnings. Thanks to Karel Zuiderveld
<kzuiderveld@vitalimages.com> for reporting this.
* bin/ADDIDL.DSM: A VB script to add new IDL files into DevStudio
projects. Thanks to Peter <weatp@syntron.com> for contributing
this nice tool.
Mon Jan 11 12:54:26 1999 Douglas C. Schmidt <schmidt@tango.cs.wustl.edu>
* ace/SOCK_IO: Added const qualifiers to all the send*() and
recv*() methods that take ACE_Time_Value values. Thanks to Jody
Hagins <jody@atdesk.com> for reporting this.
* ace/SOCK_IO: Added a new send_n() method that uses the new
ACE::sendv_n() method!
* ace/ACE: Added a new sendv_n() and writev_n() method that sends
all the bytes in the iovec!
* ace/ACE.h (ACE): Added default values of 0 for ACE::writev() and
ACE::readv().
* examples/NT_Service: Tidied up the formatting to conform to the
ACE programming guidelines.
Mon Jan 11 10:23:06 1999 Nanbor Wang <nanbor@cs.wustl.edu>
* ace/config-freebsd-pthread.h: Added ACE_LACKS_READDIR_R.
* ace/config-freebsd.h: Added ACE_LACKS_READDIR_R,
ACE_HAS_NONCONST_MSGSND, ACE_LACKS_MALLOC_H. ACE_HAS_SIGINFO_T
only applies to 3.0 and above. Thanks to Ivan Pascal
<pascal@info.tsu.ru> for reporting the change.
Sun Jan 10 21:52:57 1999 David L. Levine <levine@cs.wustl.edu>
* tests/Message_Queue_Notifications_Test.cpp (iterator_test):
added comment explaining why a message queue size of 32 Kb
is used, instead of the default of 16 Kb.
* docs/ACE-guidelines.html: added guidelines for boolean types
and function return values.
Sun Jan 10 17:33:29 1999 Douglas C. Schmidt <schmidt@ace.cs.wustl.edu>
* tests/Message_Queue_Notifications_Test.cpp: Replaced delete mb
with mb->release(). Thanks to Susan Liebeskind
<susan.liebeskind@gtri.gatech.edu> for reporting this
inconsistency.
* ace/Task_T.h,
ace/Message_Queue_T.h: Clarified the fact that the
ACE_Time_Value arguments to the Message_Queue methods
use absolute, rather than relative, time. Thanks to
Stanford S. Guillory <sguillory@vignette.com> for pointing out
the need for this clarification.
Sun Jan 10 09:18:41 1999 Martin Krumpolec <krumpo@pobox.sk>
* ace/Log_Msg.cpp (log): only re-enable tracing if it had
not been explicitly disabled.
Sun Jan 10 01:06:18 1999 Irfan Pyarali <irfan@cs.wustl.edu>
* ace/Log_Msg.cpp (log): Change call from exit() to abort().
* ace/OS.i (abort): Added new function.
Sat Jan 9 22:05:07 1999 Nanbor Wang <nanbor@cs.wustl.edu>
* bin/tao_env.pl: A new perl script that help you translate _env
to TAO_IN_ENV.
Sat Jan 09 10:53:37 1999 David L. Levine <levine@cs.wustl.edu>
* ace/Name_Proxy.cpp (open): swapped branches of conditional
so that options.time_value () is used if USE_TIMEOUT is enabled.
Thanks to Mike Goldman <whig@by.net> for reporting this.
Fri Jan 08 19:19:17 1999 Nanbor Wang <nanbor@cs.wustl.edu>
* ace/OS.h: Applied ACE_TEXT to the definition of
ACE_DEFAULT_TEMP_FILE on Win32. Thanks to
<gwross@west.raytheon.com> for reporting this.
Fri Jan 08 13:24:12 1999 David L. Levine <levine@cs.wustl.edu>
* ace/Synch.h (ACE_Process_Mutex): made data members
private instead of public. Thanks to Peter Gross
<pgross@signalsoftcorp.com> for reporting this.
* examples/Threads/reader_writer.cpp: removed volatile
qualifier from declaration of "shared_thr_id", so that
the file will compile on DU 4.0 with DCE threads. The
volatile qualifier caused a type mismatch with
ACE_thread_t. And, it's not necessary, because all
access of the shared_thr_id is guarded.
* include/makeinclude/platform_chorus_ghs.GNU: added gnuch68
to -alttools, and removed bin from AR; use libedgnoe.a instead
of libedg.a with GHS 1.8.9.1.
* ace/config-sunos5.5.h: don't define ACE_HAS_XPG4_MULTIBYTE_CHAR
with ghs, because its version 1.8.9 doesn't seem to support it.
Also, with ghs, replaced the __ctype [] declaration with an
#include of <stdlib.h>, because that's cleaner. Finally,
added ACE_HAS_BROKEN_ENUMS for ghs (1.8.9).
Thu Jan 07 09:05:27 1999 David L. Levine <levine@cs.wustl.edu>
* ace/config-sunos5.5.h: added ACE_HAS_SIG_C_FUNC with
Sun CC >= 4.2. Sun CC 5.0 needs it; Sun CC 4.2 doesn't
object to it on SunOS 5.5.1, 5.6, and 5.7. Thanks to
Neil Cohen <nbc@aikisoft.com> for figuring out how to
compile ACE with Sun CC 5.0.
* include/makeinclude/platform_sunos5_sunc++.GNU: only
use -features=castop and -rtti with Sun CC 4.2. CC 5.0
doesn't support them; I assume that it enables RTTI by
default. Thanks to Neil Cohen <nbc@aikisoft.com> for
reporting this.
* ACE-INSTALL.html: added ACE_HAS_REGEX #undef suggestion for
shared lib link problems with egcs 1.1.x on Solaris 2.5.x.
Thanks to Bob McWhirter <bob@werken.com> for reporting this
problem.
Thu Jan 07 04:45:36 1999 Douglas C. Schmidt <schmidt@cs.wustl.edu>
* ACE version 4.6.12 released.
Thu Jan 07 04:01:08 1999 Irfan Pyarali <irfan@cs.wustl.edu>
* ace/Containers_T.cpp (max_size): No need to reallocate if the
new size is the same. Thanks to Mike Goldman <whig@by.net> for
pointing this out.
* ace/Strategies_T.cpp (check_hint_i and cleanup_hint_i):
purge_i() should be called after the entry is closed.
* Select_Reactor_Base.cpp (unbind): The next <max_handlep1_>
should be calculated not only based on the <wait_set> but also
the <suspend_set>.
Thanks to Mark L. Boriack <mboriack@std.saic.com> for providing
a description of this bug.
Wed Jan 06 21:42:11 1999 David L. Levine <levine@cs.wustl.edu>
* ace/OS.cpp (thr_create): moved #endif /* ACE_LACKS_SETDETACH */
outside of }, to allow compilation on DU 4.0/cxx with DCE threads.
* ace/config-osf1-4.0.h: with DCE threads only, added
ACE_LACKS_THREAD_PROCESS_SCOPING.
Wed Jan 06 16:36:21 1999 David L. Levine <schmidt@cs.wustl.edu>
* ACE version 4.6.11 released.
Wed Jan 06 15:15:37 1999 Nanbor Wang <nanbor@cs.wustl.edu>
* ace/Service_Config.cpp (process_directive,close): Moved the
deletion of <svc_conf_file_queue_> into close method.
Otherwise, there's no way to reconfigure the service
configuration once it get started. Thanks to Mike Goldman
<whig@by.net> for reporting the problem.
Wed Jan 6 14:27:24 EST 1999 James CE Johnson <jcej@lads.com
* docs/tutorials/021/*:
Completed the ACE_Malloc<> tutorial. It could be a lot better
than it is but I'm still new to ACE_Malloc...
* docs/tutorials/021/online-tutorials.html:
Added the link for #21
Tue Jan 05 22:55:07 1999 Irfan Pyarali <irfan@cs.wustl.edu>
* ace/Strategies_T.cpp (cleanup_hint_i and check_hint_i): Since we
are holding the connection cache lock in these methods, the
Svc_Handler should not call purge(). If it does, a deadlock
will occur (unless we have recursive locks) since we are already
holding the connection cache lock. Therefore, we zero out the
recycler before calling svc_handler->close() and purge out the
svc_handler entry ourself (through purge_i()).
Thanks to Mark L. Boriack <mboriack@std.saic.com> for providing
a precise example illustrating this bug.
Tue Jan 5 18:48:47 James CE Johnson <jcej@lads.com>
* docs/tutorials/templates.html: Fixed a number of problems here.
Thanks to Amos Shapira <Amos_Shapira@icomverse.com> for pointing
them out.
* docs/tutorials/colorize: I pulled out the colorization code from
combine into this standalone script. One of these days I'll fix
combine so that the code isn't duplicated...
Tue Jan 5 16:14:00 1999 Carlos O'Ryan <coryan@cs.wustl.edu>
* ace/config-irix6.x-common.h:
Added ACE_TIMER_SKEW definition.
* ace/FILE.cpp:
Fixed the seek() prototype, is was declared as taking a "off_t"
argument, but is was defined with a "long" argument,
unfortunately in most platforms this was not a problem.
Tue Jan 05 13:15:35 1999 Nanbor Wang <nanbor@cs.wustl.edu>
* ace/Service_Config.i (open): Be sure to pass down the
<ignore_static_svcs> argument down to the real open method.
Tue Jan 05 08:08:06 1999 David L. Levine <levine@cs.wustl.edu>
* tests/MM_Shared_Memory_Test.cpp (spawn): fixed syntax error
by moving ) to end of ACE_ERROR invocation.
* ace/config-osf1-4.0.h: added 10 ms ACE_TIMER_SKEW, so that
MT_Reactor_Timer_Test passes.
* ace/config-lynxos.h: added 10 ms ACE_TIMER_SKEW, so that
MT_Reactor_Timer_Test comes closer to passing. It now
chokes on the wait () near the end.
* ace/OS.i (thr_getspecific): moved return 0 statement inside
the Draft 7/STD #else block, to avoid warning about unreachable
statement with Draft 4/6.
* ace/config-osf1-4.0.h: with Draft 4 pthreads, added
ACE_LACKS_READDIR_R.
* tests/MT_Reactor_Timer_Test.cpp (main): added printout if
wait () fails.
Tue Jan 5 00:59:04 1999 Douglas C. Schmidt <schmidt@ace.cs.wustl.edu>
* ace/Synch: Changed the remove() method of ACE_Thread_Mutex,
ACE_Mutex, ACE_Semaphore, ACE_RW_Mutex, ACE_Event,
ACE_Thread_Condition_Mutex, ACE_File_Lock, and
ACE_Recursive_Thread_Mutex so that they check a flag to see if
remove() has already been called. If it has, then the remove()
call does nothing. This avoids nasty problems on platforms like
Win95 that fail mysteriously if locks are destroyed multiple
times. Note that our solution isn't perfect since it won't
protect against race conditions if multiple threads call
remove() simultaneously. However, if this happens it's a sign
that the application was designed incorrectly... Thanks to Paul
Felix <pef@fluent.com> and Irfan for tracking this down....
* ace/FILE: Added new methods, seek() and tell(), that are more
intuitively named than the existing position() methods. The
position() methods have been retained for backwards
compatiblity, but are now marked as deprecated.
* ace/OS.h: Added a macro for ACE_DEFAULT_HTTP_PORT, which
is 80 of course...
* ace/INET_Addr.cpp: Make sure that addr_to_string() correctly
checks the length of its buffer before doing a sprintf(). In
addition, added an option to print the results in either ip-addr
format or ip-name format.
* ace/Mem_Map.cpp (map): where ace/Mem_Map.cpp mmap() will succeed
if the length of the file mapping is 0, which will be the case
if we've just created the file. This was the wrong place to
make this check.
* tests/MM_Shared_Memory_Test.cpp: Cleaned up a few things
in this test so that it'll be easier to maintain.
Mon Jan 04 08:45:45 1999 David L. Levine <levine@cs.wustl.edu>
* ace/config-sunos5.7.h: only use the g++ hacks if the
g++ version is prior to 2.8. Assume that later versions
were built on SunOS 5.7 host, and/or don't have header
files that are incompatible with the system headers.
* bin/create_ace_build: changed symlink creation failure from
error (with termination) to warning create_ace_build.
Mon Jan 4 03:15:57 1999 Douglas C. Schmidt <schmidt@ace.cs.wustl.edu>
* ace/Mem_Map: If we're remapping an already-mapped file
(i.e., the base_addr_ != 0) && the addr parameter IS 0 (i.e.,
the user isn't trying to respecify where to map this file), then
we'll try to map over top of the existing region, which implies
"MAP_FIXED".
Sun Jan 03 23:21:46 1999 Nanbor Wang <nanbor@cs.wustl.edu>
* ace/Service_Config.cpp (initialize): Both initialize methods now
remove the service object from the repository if its init()
method failed.
Sun Jan 3 14:39:49 1999 Douglas C. Schmidt <schmidt@ace.cs.wustl.edu>
* ace/ACE: Added a simple dirname() wrapper method.
* ace/SString: The set(const char *, size_t, int = 1) and
set(const char *, size_t) methods were inherently ambiguous.
I've fixed this by changing removing the default parameters.
Thanks to Irfan for suggesting this fix.
* ace/Mem_Map.cpp: mmap() will fail if the length of the file
mapping is 0, which will be the case if we've just created the
file. Therefore, don't even bother trying to mmap() in this
case and return a successful result.
* ace/FILE: Moved the get_remote_addr() and get_local_addr()
methods from the FILE_IO class to the FILE class since that's
more properly where they belong. Also added a new remove()
method that unlinks the file.
* tests/Priority_Reactor_Test.cpp,
tests/Conn_Test.cpp,
tests/Notify_Performance_Test.cpp,
Priority_Reactor_Test.cpp,
Reactor_Performance_Test.cpp: Since the default is to skip argv0
there's no sense explicitly saying this in the constructor of
ACE_Get_Opt.
* ace/FILE_Connector.h: Updated the comments to reflect recent
changes.
* ace/FILE.h: Added a new get_info() method that takes a reference
to an ACE_FILE_Info rather than a pointer. This is a cleaner
API, IMHO.
* ace/FILE_Connector.cpp (connect): When the <remote_sap> argument
is ACE_Addr::sap_any, then connect will select a temporary
filename using the new feature of ACE_FILE_Addr described below.
* ace/FILE_Addr.cpp (set): When the address is ACE_Addr::sap_any,
then we'll select a new temporary filename using the new
ACE_DEFAULT_TEMP_FILE macro and ACE_OS::mktemp().
* ace/OS.h: Added a new ACE_DEFAULT_TEMP_FILE macro that defaults
to "/tmp/ace-file-XXXXXX" and is used by the ACE_FILE_Connector
to create a temporary file when it's given an ACE_Addr::sap_any.
* ace/FILE_Addr.h: The <set> accessor should return an int to be
consistent.
* ace/OS.h: Added a new ACE_sap_any_cast macro, which makes it
much easier to cast the ACE_Addr::sap_any to the right subclass.
* tests/Reactor_Performance_Test.cpp,
tests/Reactor_Exceptions_Test.cpp,
tests/Process_Strategy_Test.cpp,
tests/Priority_Reactor_Test.cpp,
tests/IOStream_Test.cpp,
tests/Conn_Test.cpp: Replaced all the C-style casts for
ACE_Addr::sap_any with the new ACE_sap_any_cast macro.
Sun Jan 03 21:48:37 1999 Irfan Pyarali <irfan@cs.wustl.edu>
* ace/Asynch_Acceptor.cpp: Since this is a template file, I
removed it from the ace library build on NT.
* ace/Asynch_Acceptor.cpp (open): Changed C-style cast to use the
new ACE_sap_any_cast macro from Dr. Schmidt.
Sun Jan 03 09:12:23 1999 David L. Levine <levine@cs.wustl.edu>
* ace/config-sunos5.5.h: with GreenHills, added
ACE_LACKS_LINEBUFFERED_STREAMBUF and ACE_LACKS_SIGNED_CHAR.
* ace/Basic_Types.* (ACE_U_LongLong): unioned the data members
with a double, to ensure alignment on 8-byte boundaries. It
could matter when an ACE_U_LongLong is used as a true 8-byte
quantity, such as in a call to Solaris ::gethrtime ().
* tests/Time_Value_Test.cpp: replaced remaining #ifdef
ACE_HAS_STHREADS with #ifdef sun.
Sat Jan 2 23:48:44 1999 James CE Johnson <jcej@chiroptera.tragus.org>
* docs/ACE-tutorials.html
* docs/tutorials/guide-tutorials.html
* docs/tutorials/new-tutorials.html
* docs/tutorials/online-tutorials.html
Converted some of the absolute URLs to relative. I only have the
docs/tutorials tree here at home so I couldn't do any more than
these.
* docs/tutorials/021/*
New tutorial on ACE_Malloc<>. I haven't begun the documentation
yet but wanted to get the code commited so it doesn't get lost.
Sat Jan 02 08:34:27 1999 David L. Levine <levine@cs.wustl.edu>
* examples/ASX/Event_Server/Event_Server/event_server.cpp
(handle_input),
examples/Reactor/Misc/test_early_timeouts.cpp (main):
added ACE_UNUSED_ARG (n), to avoid compile warning with ACE_NDEBUG.
* performance-tests/Misc/test_naming.cpp (find): moved function
call w/side effect out of ACE_ASSERT. Thanks to DU 4.0 cxx
for noticiing it, with ACE_NDEBUG.
Fri Jan 01 18:57:22 1999 David L. Levine <levine@cs.wustl.edu>
* ace/Containers_T.i (ACE_Array,ACE_Array::operator=):
added missing ACE_INLINE's.
* ace/OS.{h,cpp} (ACE_TSS_Info::operator{==,!=}): added
constness. It's necessary with the ACE_Array changes,
with ACE_HAS_TSS_EMULATION.
Fri Jan 1 12:22:14 1999 Carlos O'Ryan <coryan@cs.wustl.edu>
* ace/Containers_T.h:
* ace/Containers_T.i:
* ace/Containers_T.cpp:
* bin/Array_Helper:
* bin/Array.pl:
Moved most of the implementation of ACE_Array into
ACE_Array_Base this class does not require == or != operators
defined for the template parameter.
I also added methods to access and manipulate the capacity of
the array (max_size) as opposed to always changing its size (the
portion actually used).
* ace/Object_Manager.cpp:
* ace/Template_Instantiations.cpp:
* ace/OS.cpp:
* apps/JAWS/clients/Caching/URL_Properties.cpp:
Fixed ACE_Array instantiations.
|