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
|
Fri Dec 31 08:07:18 1999 David L. Levine <levine@cs.wustl.edu>
* all Makefiles: updated dependencies.
Thu Dec 30 11:17:27 1999 David L. Levine <levine@cs.wustl.edu>
* etc/ACE-development-process.html: fixed some typos.
Wed Dec 29 15:42:21 1999 David L. Levine <levine@cs.wustl.edu>
* ace/OS.h: added null definition of ACE_ENDLESS_LOOP,
if not already #defined.
* ace/config-cxx-common.h: added definition of ACE_ENDLESS_LOOP
to avoid compiler warning about unreachable statement following
the loop.
* examples/IPC_SAP/SOCK_SAP/CPP-inserver-poll.cpp (main):
inserted ACE_ENDLESS_LOOP.
Wed Dec 29 13:21:48 1999 David L. Levine <levine@cs.wustl.edu>
* include/makeinclude/platform_linux_cxx.GNU: added
MATHLIB and test -f cxx_repository/*.o.
Wed Dec 29 09:11:46 1999 David L. Levine <levine@cs.wustl.edu>
* ace/config-cxx-common.h: enable ACE_USES_OLD_IOSTREAMS
without __USE_STD_IOSTREAM. Removed ACE_HAS_STRING_CLASS
on Linux, because IOStream_Test won't compile with it.
* include/makeinclude/platform_linux_cxx.GNU: removed
-D__USE_STD_IOSTREAM test, because IOStream_Test failed
with it.
* include/makeinclude/platform_linux_cxx.GNU: Removed
-use_ld_input because it has no effect on Linux. Thanks
to Ken Block <ptr_corp@ptrsv1.pko.dec.com> for pointing
that out.
Tue Dec 28 18:32:02 1999 Vishal Kachroo <vishal@cs.wustl.edu>
* ace/QoS_Session_Impl.cpp: Added a comment for get qos().
* examples/QOS/Receiver_QOS_Event_Handler.cpp:
* examples/QOS/Receiver_QOS_Event_Handler.h:
* examples/QOS/server.cpp:
Changed the server of the GQoS example to use the newly added
QoS classes of ACE. The program structure has changed to reflect
the abstractness of the ACE QoS API. The final goal is to remove
all the GQoSisms from the applications, even if this means
constraining it by the granularity provided by RAPI.
Tue Dec 28 15:50:46 1999 David L. Levine <levine@cs.wustl.edu>
* tests/test_config.h (set_output): removed the flags
local variable, with its conditionally compiled type
determination. The absorbed code is much cleaner.
Tue Dec 28 15:37:11 1999 Chris Gill <cdgill@cs.wustl.edu>
* ace/Log_Msg.cpp
ace/Malloc.cpp
ace/OS.{cpp, h, i}
ace/Process_Manager.cpp
ace/SOCK_Dgram_Mcast.cpp
ace/Service_Config.{cpp, h}
ace/Task.cpp
ace/Thread.i
ace/Thread_Manager.{cpp, h}
ace/config-psos-diab-ppc.h: merged in changes for pSOS (Diab PPC)
to support additional pHILE+ file system capabilities, and to deal
with the limitations on sharing file and socket handles across pSOS
tasks. Thanks to Sarmeesha Reddy and Steve Tine of Motorola for
contributing these changes to ACE.
Tue Dec 28 15:32:55 1999 David L. Levine <levine@cs.wustl.edu>
* tests/Makefile: build libDLL_Test.so before building
any executables, so that it doesn't see the template
instantiations from all of the tests (after a make
realclean, anyways).
Tue Dec 28 08:55:23 1999 David L. Levine <levine@cs.wustl.edu>
* include/makeinclude/platform_linux_cxx.GNU:
added -D__USE_STD_IOSTREAM.
* ace/config-cxx-common.h,ace/config-linux-common.h:
added support for __USE_STD_IOSTREAM.
Tue Dec 28 02:03:11 1999 Nanbor Wang <nanbor@cs.wustl.edu>
* ace/Container_T.i (remove): Changed to call the <remove> method
using the <list_> in ACE_DLList[_Reverse]_Iterator, otherwise,
the <remove> in the ACE_Double_Linked_List got called which
incurred memory leaks. Thanks to Lorin Hochstein
<lmh@xiphos.ca> for reporting the bug.
Mon Dec 27 21:29:25 1999 David L. Levine <levine@cs.wustl.edu>
* tests/Log_Msg_Test.cpp (test_ostream): removed local
variable flags, because cxx X6.3/Linux doesn't like
it as an int.
Mon Dec 27 19:17:46 1999 Vishal Kachroo <vishal@cs.wustl.edu>
* ace/SOCK.cpp: Added #pragma template instantiations for g++.
Mon Dec 27 16:24:09 1999 David L. Levine <levine@cs.wustl.edu>
* ace/IOStream.h (setb): commented out declaration of
unused arg a.
Mon Dec 27 15:51:39 1999 David L. Levine <levine@cs.wustl.edu>
* tests/test_config.h (set_output): with __USE_STD_OSTREAM
(with Compaq cxx X6.3 on Linux), declare variable flags
as std::ios_base::openmode instead of int. Otherwise,
it complained about a type mismatch. Other compilers
may need this eventually, as well. egcs didn't like it,
so let's wait to see how best to generalize it.
Mon Dec 27 13:03:50 1999 Vishal Kachroo <vishal@cs.wustl.edu>
* ace/QoS_Session_Impl.cpp: fixed the "pragma once is obsolete"
warning thrown by Sung++.
Mon Dec 27 12:27:33 1999 Nanbor Wang <nanbor@cs.wustl.edu>
* tests/run_tests.bat: Changed to allow _Borland 4_ users to set
the PATH environment variable to include the path to the
appropriate ACE dll if necessary, and it sets the PATH
environment variable to the correct directory depending on the
"build options". Thanks to Charles Frasch
<cfrasch@spawar.navy.mil> for contributing this fix.
Mon Dec 27 11:29:20 1999 David L. Levine <levine@cs.wustl.edu>
* include/makeinclude/platform_linux_cxx.GNU: removed
-I/usr/include/g++. (It's not needed with\end{verbatim}
ACE_HAS_CPLUSPLUS_HEADERS.) Thanks to Judy Ward
<ptr_corp@ptrsv1.pko.dec.com> for pointing out that cxx should
not be using the g++ headers.
* ace/config-cxx-common.h: on Linux, #define
ACE_HAS_CPLUSPLUS_HEADERS instead of ACE_LACKS_ACE_IOSTREAM.
Mon Dec 27 09:28:40 1999 Balachandran Natarajan <bala@cs.wustl.edu>
* QoS_Session_Impl.h: Fixed a warning in g++.
Sun Dec 26 23:45:44 1999 Vishal Kachroo <vishal@cs.wustl.edu>
* QoS_Session.h: Provided a definition for the virtual destructor
of ACE_QoS_Session.
* QoS_Session_Impl.{cpp,h}: Replaced the
ACE_LACKS_INLINE_FUNCTIONS macro with __ACE_INLINE__.
* ace/ace_dll.dsp: Added the new QoS files to the NT DLL project.
Sun Dec 26 21:50:46 1999 Vishal Kachroo <vishal@cs.wustl.edu>
The following existing files were changed for the ACE QoS API.
* SOCK.h:
* SOCK.cpp:
Added a QoS session set to the ACE_SOCK. Also methods to join
a new QoS session.
* SOCK_Dgram_Mcast.h:
* SOCK_Dgram_Mcast.cpp:
The QoS subscribe method was changed to accommodate QoS.
The following new files were added.
* QoS_Session.h: Has the abstract base class for concrete QoS
implementations.
* QoS_Session_Factory.{h,cpp}: Concrete Factory for QoS
implementations. Currently two implementations are
supported, RAPI and GQoS.
* QoS_Session_Impl.{h,cpp,i}: Has the QoS implementation classes.
RAPI and GQoS are supported.
* ace/Makefile: Added the new QoS classes.
* include/makeinclude/wrapper_macros.GNU (): Added the
ACE_HAS_RAPI flag. For ACE to have RAPI support it should be
built with "make rapi=1". The platform_macros.GNU should have
PLATFORM_RAPI_CPPFLAGS=
PLATFORM_RAPI_LIBS=-lrsvp
PLATFORM_RAPI_LDFLAGS=
Sun Dec 26 16:43:16 1999 Yamuna Krishnamurthy <yamuna@cs.wustl.edu>
* ace/OS.i:
Replaced malloc with ACE_NEW_RETURN
Fri Dec 24 16:33:48 1999 Ossama Othman <othman@cs.wustl.edu>
* acconfig.h:
Added ACE_HAS_RECURSIVE_MUTEXES to list of macros.
* configure.in:
Fixed ACE_LACKS_SETSCHED test. It previously didn't check that
sched_setscheduler() existed. Both sched_setscheduler() and
either pthread_attr_setschedpolicy() or pthread_attr_setsched()
must be defined. This was an AIX related fix.
Initialized variables in all compile-time tests. This fixes
compile-time test warnings on AIX.
Fri Dec 24 13:06:59 1999 Ossama Othman <othman@cs.wustl.edu>
The following fixes were motivated by problems discovered in a
configure script log file (config.log) that was generated on AIX,
and sent in by Mike Winter <Mike.Winter@Schwab.com>.
* THANKS:
Added my Mike Winter to the THANKS list.
* acconfig.h:
Removed an extraneous comment.
* configure.in:
Added tests for ACE_HAS_BROKEN_XTI_MACROS and
ACE_HAS_BROKEN_T_ERROR.
Updated TLI/XTI preprocessor directives in TLI/XTI related
tests.
Fixed pthread_rwlock_t and pthread_rwlockattr_t structure
tests. Previously the tests were missing the header files to
search in.
AIX defines _THREAD_SAFE in <pthread.h>. Check if it is defined
after including <pthread.h>.
* ltcf-cxx.sh:
Added Digital/Compaq C++ libtool support.
Minor Sun C++ updates.
* ace/OS.h:
AIX defines TCP_NODELAY and TCP_MAXSEG in tiuser.h so undefine
them if ACE_HAS_BROKEN_XTI_MACROS is defined before including
tiuser.h.
Simplified TLI/XTI related macros.
Fri Dec 24 08:04:58 1999 Douglas C. Schmidt <schmidt@tango.cs.wustl.edu>
* ace:
tests: Moved ace/Auto_IncDec_T.cpp to
tests/Auto_IncDec_Test.cpp, which is where it belongs. Thanks
to David for reporting this.
Thu Dec 23 13:57:04 1999 David L. Levine <levine@cs.wustl.edu>
* include/makeinclude/rules.local.GNU: uncommented the
rules for building .o files from .C and .cc files.
They've been commented out since this file was put
under CVS control, so it's not obvious why they can't
be used. Thanks to Wei.Chiang@nokia.com for suggesting
this.
Thu Dec 23 12:16:38 1999 Christopher Kohlhoff <chris@kohlhoff.com>
* ace: Added missing files Capabilities.cpp and Configuration.cpp
to $ACE_ROOT/ace/Makefile.bor.
* ACE/tests: Added new tests Auto_IncDec_Test and
Capabilities_test to Makefile.bor.
* ACE/tests: Fixed syntax error in a Borland C++Builder specific
section of Auto_IncDec_Test.cpp.
* ACE/tests: Fixed Malloc_Test so that it does not fail with
Borland C++Builder.
* ACE/tests/ Changed run_tests.bat so that it does not invoke
ACE_Init_Test when run with the "bor" command line
argument. This test uses MFC and need not be built or run.
Thu Dec 23 11:46:38 1999 Douglas C. Schmidt <schmidt@tango.cs.wustl.edu>
* ace/OS.h: Moved
#if defined (ACE_HAS_SYS_FILIO_H)
# include /**/ <sys/filio.h>
#endif /* ACE_HAS_SYS_FILIO_H */
from OS.i to OS.h so that the FIONREAD macro will be defined for
the ACE_SOCK_Dgram::recv() method even if inline = 0. Thanks to
Alain Sauron <sauron@syseca.thomson-csf.com> for reporting this.
Wed Dec 22 11:29:43 1999 Nanbor Wang <nanbor@cs.wustl.edu>
* bin/auto_compile_win32.pl: Renamed ImplRepo.dsw to
ImplRepo_Service.dsw. Thanks to Derek Dominish
<derek.dominish@boeing.com> for reporting this.
Wed Dec 22 08:44:56 1999 Douglas C. Schmidt <schmidt@tango.cs.wustl.edu>
* tests/Log_Msg_Test.cpp: Conditionally compiled the iostream
print statements so that the test builds correctly if
ACE_LACKS_IOSTREAM_TOTALLY is defined. Thanks to David Levine
for reporting this.
Wed Dec 22 08:22:24 1999 David L. Levine <levine@cs.wustl.edu>
* tests/CDR_File_Test.cpp: disabled with
ACE_LACKS_IOSTREAM_TOTALLY.
Tue Dec 21 21:27:48 1999 David L. Levine <levine@cs.wustl.edu>
* ace/config-cxx-common.h: enable ACE_LACKS_ACE_IOSTREAM
on Linux. cxx 6.3 generates unresolved streambuf symbols,
otherwise.
* include/makeinclude/platform_linux_cxx.GNU: added.
* include/makeinclude/platform_osf1_4.0.GNU: changed comment
now that cxx code is in ace/config-cxx-common.h.
Tue Dec 21 08:02:43 1999 Douglas C. Schmidt <schmidt@tango.cs.wustl.edu>
* ace/Log_Msg.h (ACE_Log_Msg): Clarified that the
ACE_Log_Msg_Callbacks are not inherited when a new thread is
spawned. Thanks to Airat A. Sadreev <airat@hq.tatenergo.ru>
for reporting this.
Tue Dec 21 11:31:18 1999 bala <bala@cs.wustl.edu>
* ACE version 5.0.10 released.
Tue Dec 21 01:04:55 1999 Ossama Othman <othman@cs.wustl.edu>
* ACE-configuration.txt:
Updated information about using ACE+autoconf.
* configure.in:
Moved AC_{EXE,OBJ}EXT tests before C++ linker flags since these
tests require C linker flags.
* Makefile (release, releaseall):
ACE-INSTALL should be a dependency of these targets in order for
it to be generated. This fixes a "no such file or directory"
error that occurs when making an ACE beta/release. Note that
this fix is unrelated to the ACE+autoconf bootstrapping support
that was recently added.
* bin/bootstrap:
Output message that lets the user know that bootstrapping is
done.
Mon Dec 20 23:55:18 1999 Ossama Othman <othman@cs.wustl.edu>
* Makefile (release, releaseall):
Removed ACE+autoconf bootstrapping commands. Bootstrapping must
be done later in the process (i.e. in bin/make_release).
* bin/make_release:
Fixed MD5 checksum generation.
Added temporary hacks to bootstrap ACE+autoconf support into the
release.
Mon Dec 20 22:15:45 1999 Ossama Othman <othman@cs.wustl.edu>
* Makefile:
Added ACE-configuration.txt, ltcf-c.sh, ltcf-cxx.sh and
Makefile.in to the list of CONTROLLED_FILES.
Added ACE+autoconf bootstrapping commands the release and
releaseall targets. This allows a bootstrapped ACE+autoconf
setup to be shipped with ACE, thus allowing the configure script
to work "out of the box."
* bin/bootstrap:
Added bootstrapping options that enable or disable certain types
of workspaces. By default, automatic dependency tracking is
disabled by default.
* bin/make_release:
If path to additional GNU tools is broken, default to existing
PATH and hope for the best.
Fixed MD5 checksum generation.
Mon Dec 20 21:14:41 1999 Ossama Othman <othman@cs.wustl.edu>
* configure.in:
Disabled maintainer mode check that prevented users from running
the configure script.
Added experimental libtool C++ support.
Replaced CVS directory check with top-level source directory
check to prevent stock ACE makefiles from being overwritten
during configuration.
* ltcf-c.sh:
* ltcf-cxx.sh:
Adding these files to the CVS repository. They will soon be
merged into the upstream libtool package. Local copies will no
longer be necessary.
* m4/acinclude.m4:
Alot of M4 quoting fixes/improvements.
Reduced size ACE_CONVERT_WARNINGS_TO_ERRORS Autoconf macro. It
still needs to be refined a bit (e.g. AC_REQUIREing compiler
flag setups).
(ACE_CHECK_SETRLIMIT_ENUM, ACE_CHECK_GETRUSAGE_ENUM):
Added regex for one or more spaces before function name to
prevent functions such as "__getrusage" from matching the
regex. This fixes a problem on platforms that have both
"getrusage," and "__getrusage," for example.
(ACE_CHECK_TOP_SRCDIR):
Added this autoconf macro. It prevents ACE from being
configured in the top-level source directory. Configuring ACE
in the top-level source directory would cause the stock ACE
makefiles to be overwritten. Since autoconf support in ACE is
still in the testing stages, we need to make sure that users can
fall back on the stock ACE build procedure. This "feature" can
be overridden by using the "--enable-maintainer-mode" configure
script option.
* m4/compiler.m4:
Set variable "WERROR" that contains the compiler flags to
convert warnings to errors. Eventually, this support should be
moved to its own macro that is AC_REQUIREd by
ACE_CONVERT_WARNINGS_TO_ERRORS.
* m4/features.m4 (ACE_CHECK_ASYNCH_IO):
Minor M4 quoting fixes/improvements.
Sun Dec 19 09:34:49 1999 David L. Levine <levine@cs.wustl.edu>
* bin/g++dep: set TAO_ROOT to $ACE_ROOT/TAO if it was
unset. Thanks to Darrell for reporting that TAO_ROOT
wasn't being substituted if it wasn't set.
Sat Dec 18 01:16:20 1999 Irfan Pyarali <irfan@cs.wustl.edu>
* ace/ACE.cpp (recv_i and send_i): The selection of the next
message block to send/recv was incorrect. The correct way is to
chase the continuation chain and then go to the next
continuation chain.
Fri Dec 17 22:25:56 1999 David L. Levine <levine@cs.wustl.edu>
* ace/config-cxx-common.h: added, to factor out common
configuration for Compaq cxx.
* ace/config-osf1-4.0.h,config-linux-common.h: updated to
use config-cxx-common.h.
Fri Dec 17 21:32:48 1999 David L. Levine <levine@cs.wustl.edu>
* ace/config-linux-common.h: added support for Compaq
(Digital) cxx. Currently, that just means allowing
compilation to succeed.
Fri Dec 17 21:29:19 1999 David L. Levine <levine@cs.wustl.edu>
* ace/OS.h: use __DECCXX instead of DEC_CXX to detect that
the compiler is Compaq (Digital) cxx. DEC_CXX is
#defined in ACE config files for cxx, but __DECCXX is
#defined by the compiler. Only the latter should be used.
Fri Dec 17 21:20:48 1999 David L. Levine <levine@cs.wustl.edu>
* ace/TTY_IO.cpp (control): added static cast of TCSETS to
int to avoid cxx 6.3 warning about conversion of unsigned
int to int. Also added the cast to TCGETS.
Fri Dec 17 14:40:02 1999 Nanbor Wang <nanbor@cs.wustl.edu>
* ace/Local_Tokens.h (ACE_TSS_TPQ_Entry): Made the destructor
virtual to avoid warnings from egcs.
Fri Dec 17 13:27:24 1999 Steve Huston <shuston@riverace.com>
* ace/config-pharlap.h: Added ACE_LACKS_TCP_NODELAY. Thanks to David
Hauck <davidh@realtimeint.com> for this. Fixes bugzilla #270.
Fri Dec 17 11:38:09 1999 Douglas C. Schmidt <schmidt@mambo.cs.wustl.edu>
* We just reached our 800th external contributor: Andrey
Nechypurenko <andreynech@yahoo.com>. Andrey gets a free copy of
ACE+TAO as a prize!
* ace/config-linux-common.h: Wrapped the #define
ACE_DEFAULT_SELECT_REACTOR_SIZE with a #if !defined() so that
users can override this. Thanks to Charlie Duke
<cduke@wpine.com> for suggesting this.
Thu Dec 16 12:26:36 1999 Nanbor Wang <nanbor@cs.wustl.edu>
* bin/auto_compile_win32.pl: Took out Concurrency Service from the
build list.
Wed Dec 15 21:24:05 1999 Irfan Pyarali <irfan@cs.wustl.edu>
* ace/config-win32-common.h (ACE_DEFAULT_MAX_SOCKET_BUFSIZ):
Windows doesn't like 65536 ;-) If 65536 is specified, it is
listenly ignored by the OS, i.e., setsockopt does not fail, and
you get stuck with the default size of 8k.
Tue Dec 14 08:57:03 1999 Vishal Kachroo <vishal@cs.wustl.edu>
* ace/OS.h: Added a #ifdef for WINSOCK2_GQOS for removing the
errors on NT due to the previous change in ACE_Flow_Spec class.
Tue Dec 14 07:49:58 1999 Vishal Kachroo <vishal@cs.wustl.edu>
* ace/OS.i:
* ace/OS.h: Extended the ACE_Flow_Spec and ACE_QoS classes to
accommodate the use of such classes for non-Win32
platforms. These changes are motivated by the new ACE QoS
classes that will soon be included with ACE.
Mon Dec 13 16:23:22 1999 Nanbor Wang <nanbor@cs.wustl.edu>
* ace/Malloc.{h,cpp}: Made print_alignment_info available for all
configuration.
Mon Dec 13 02:49:04 1999 Nanbor Wang <nanbor@cs.wustl.edu>
* ace/Memory_Pool.cpp (remap): Commented out the printout of remap
message in MMAP_Memory_Pool as this function is called from the
signal handler. (It didn't really cause any problem but we
shouldn't use ACE_DEBUG from signal handlers anyway.)
Mon Dec 13 01:12:00 1999 Irfan Pyarali <irfan@cs.wustl.edu>
* ace/WFMO_Reactor.cpp (update_state): make_changes() calls into
user code which can request other changes. So keep looping
until all requested changes are completed. Thanks to Edan Ayal
<EdanA@cti2.com> for reporting this problem!
Sun Dec 12 20:10:23 1999 Nanbor Wang <nanbor@cs.wustl.edu>
* ace/config-hpux-10.x.h: Tweaked ACE_MALLOC_PADDING,
ACE_MALLOC_ALIGN, and ACE_CONTROL_BLOCK_ALIGN_LONGS manually for
HPUX.
* tests/Malloc_Test.cpp: Added an ACE_TEST_REMAP_ON_FAULT macro
which is not defined on linux only. Linux seems to have problem
calling mmap from within the signal handler.
Sat Dec 11 15:00:43 1999 Nanbor Wang <nanbor@cs.wustl.edu>
* tests/Malloc_Test.cpp (main): Alignment information should only
be printed when ACE_NDEBUG is not defined.
Sat Dec 11 14:27:27 1999 Ossama Othman <othman@cs.wustl.edu>
* ace/Makefile.am (pkginclude_HEADERS):
Split header file list into `.h' files (HEADER_FILES) and `.i'
(INLINE_FILES). This gets around a limitation on Solaris.
Sat Dec 11 10:40:38 1999 Nanbor Wang <nanbor@cs.wustl.edu>
* ace/config-lynxos.h: Added ACE_HAS_TYPENAME_KEYWORD.
Fri Dec 11 11:13:54 1999 James Hu <jxh@entera.com>
* ace/Dirent.i:
Constructor with a path passed in was not initializing dirp_.
Fri Dec 10 17:29:54 1999 Nanbor Wang <nanbor@cs.wustl.edu>
* ace/Malloc.h:
* ace/Malloc.cpp: Added <print_alignment_info> methods for both
control block. They are only available for debug version.
* tests/Malloc_Test.cpp: Removed temporary debug print out and
changed to use <print_alignment_info>.
This test no longer forces the mmap to remap. Linux doesn't
handle the case correctly.
Fri Dec 10 15:37:09 1999 Douglas C. Schmidt <schmidt@tango.cs.wustl.edu>
* ACE-INSTALL.html: Clarified how the clone procedure should
work. Thank to Jerry D. De Master <jdemaste@ipdinc.com>
for suggesting this.
* ace/OS.h: Changed the value of O_NDELAY from 0 to 1 on
Windows NT. Thanks to Craig Perras <cperras@watchguard.com> for
reporting this.
Fri Dec 10 15:55:53 1999 Ossama Othman <othman@cs.wustl.edu>
* ace/Configuration.cpp:
Added a comment stating that ACE_SYNCH_MUTEX should not be used
in the template instantiations because the resulting template
instantiation for the single-threaded case already exists in
ACE. Thanks to Doug for letting me know about this.
* m4/compiler.m4 (CXXFLAGS):
Added missing flags that fix Sun C++ 5.0 weirdness on Solaris.
Fri Dec 10 14:35:26 1999 Ossama Othman <othman@cs.wustl.edu>
* acconfig.h (_RWSTD_NO_EXCEPTIONS):
Sun CC 5.0 without exception support needs this macro to be
defined to prevent warnings from occurring due to its broken
<memory> header.
* configure.in:
Added a few "checkpoints" where the cache is saved to aid in
debugging.
(ACE_HAS_THREAD_SPECIFIC_STORAGE):
Added check for pthread_keycreate(). Old POSIX threads
implementations used pthread_keycreate() instead of
pthread_key_create().
(ACE_HAS_SIG_C_FUNC):
(ACE_HAS_THR_C_FUNC):
(ACE_HAS_THR_C_DEST):
Added tests that check if signal handlers, thread start
routines, and thread destructors should be declared `extern
"C"'. These changes allow clean builds on Solaris 7 with Sun CC
5.0.
(ACE_HAS_STDARG_THR_DEST):
Check if thread destructor argument to pthread_key_create (or
pthread_keycreate) should be of type `void(*)(...)'.
* m4/compiler.m4 (_RWSTD_NO_EXCEPTIONS):
Define _RWSTD_NO_EXCEPTIONS when compiling on Solaris with Sun
CC 5.0 without exceptions.
Fri Dec 10 11:43:50 1999 Douglas C. Schmidt <schmidt@tango.cs.wustl.edu>
* tests/run_tests.lst: Disabled the MT_Reactor_Timer_Test
until Darrell can fix the timer queue.
Fri Dec 10 07:24:12 1999 David L. Levine <levine@cs.wustl.edu>
* ACE-INSTALL.html: on VxWorks, automatic
construction/destruction of static objects should be enabled.
Thanks to Erik Johannes <ejohannes@oresis.com> for reminding
me of this.
Thu Dec 9 17:18:57 1999 Douglas C. Schmidt <schmidt@tango.cs.wustl.edu>
* ace/Acceptor.cpp (handle_input): Only printout a diagnostic
message if ACE::debug () > 0. Thanks to Chris Uzdavinis
<chris@atdesk.com> for reporting this.
Thu Dec 9 19:55:58 1999 Ossama Othman <othman@cs.wustl.edu>
* acconfig.h:
* configure.in:
Added checks/support for the ACE_HAS_PTHREADS_UNIX98_EXT macro.
* ace/OS.h (ACE_rwlock_t):
* ace/OS.i (rw_tryrdlock, rw_trywrlock, rw_rdlock, rw_wrlock,
rw_unlock):
ACE_LACKS_RWLOCK_T should not imply !ACE_HAS_PTHREADS_UNIX98_EXT
because the pthread_rwlock_t type exist despite the fact that
rwlock_t doesn't.
Thu Dec 09 15:53:20 1999 Nanbor Wang <nanbor@cs.wustl.edu>
* ace/Malloc.cpp:
* ace/Malloc.h:
* ace/Malloc.i: Separated the control block implementation into
"position independent control block" and "lean and mean control
block." Each control block implementation has its own
definitions of Malloc_Header and Name_Node as inner classes.
ACE_Control_Block implements the "old, lean and mean" control
structure for ACE_Malloc_T and ACE_PI_Control_Block implements
the "new, position independent" control structure for
ACE_Malloc_T.
Added several macros to finer control the padding and alignment
because calculating the padding requires using some operations
that can not be evaluated during the compile time and the
original padding length calculation don't always work. Usually,
you don't have to worry about the padding. But if you are
interested in tweaking these parameters, here are some hints.
- (ACE_MALLOC_PADDING): defines the minimum size of a Malloc_Header.
The actual size of Malloc_Header should always be the a multiple
of ACE_MALLOC_ALIGN and may be larger then ACE_MALLOC_PADDING.
- (ACE_MALLOC_PADDING_SIZE): define the actual size of the array
of long used to pad the ACE_Control_Block::ACE_Malloc_Header.
If it is not defined by the user, ACE will try to calculate it
for you. If it is defined as 0, there'll be no padding at all.
This macro is compiler/platform dependent.
- (ACE_CONTROL_BLOCK_ALIGN_LONGS): define the actual size of the
array of long used to pad the ACE_Control_Block so that the
first Malloc_Header always starts from the alignment boundary.
If it is not defined by the user, ACE will try to calculate it
for you. If it is defined as 0, there'll be no padding at all.
This macro is compiler/platform dependent.
- (ACE_PI_MALLOC_PADDING_SIZE): similar to ACE_MALLOC_PADDING_SIZE
but applied to ACE_PI_Control_Block::ACE_Malloc_Header.
- (ACE_PI_CONTROL_BLOCK_ALIGN_LONGS): similar to
ACE_CONTROL_BLOCK_ALIGN_LONGS but applied to
ACE_PI_Control_Block.
* ace/Malloc_T.cpp:
* ace/Malloc_T.h:
* ace/Malloc_T.i: Parameterized the type of control block used in
ACE_Malloc, which is now renamed to ACE_Malloc_T, as a template
parameter so that we can control tradeoff between efficiency and
flexibility.
Another ACE_Malloc template class was added which simply use
ACE_Malloc_T with ACE_Control_Block as its internal control
structure so that we don't have to change the existing programs
using ACE_Malloc. However, for platforms/compilers using
explicit template instantiation, you still need to add the
instantiations for the based template class. For example, if
you instantiated "ACE_Malloc<A,B>", you'll need to add
"ACE_Malloc_T<A,B,ACE_Control_Block>". Likewise for
ACE_Malloc_LIFO_Iterator and ACE_Malloc_FIFO_Iterator.
* ace/Based_Pointer_T.h: Renamed arguments "overload" to "o". KCC
complained about using "overload" as variable names
* ace/Configuration.cpp:
* ace/Naming_Context.cpp:
* ace/Service_Config.cpp:
* ace/System_Time.cpp:
* ace/Template_Instantiations.cpp:
* docs/tutorials/021/client.cpp:
* docs/tutorials/021/server.cpp:
* examples/Reactor/Misc/demuxing.dsp:
* examples/Shared_Malloc/Malloc.cpp:
* examples/Shared_Malloc/test_persistence.cpp:
* examples/System_V_IPC/SV_Semaphores/Semaphores.cpp:
* examples/System_V_IPC/SV_Semaphores/Semaphores_1.cpp:
* examples/System_V_IPC/SV_Semaphores/Semaphores_2.cpp:
* performance-tests/TCP/TCP.dsp:
* tests/Malloc_Test.cpp:
* tests/SV_Shared_Memory_Test.cpp: Added explicit template
instantiations for base malloc class in corresponding with the
above change.
Thu Dec 09 15:40:03 1999 David L. Levine <levine@cs.wustl.edu>
* ace/OS.i (mmap): on LynxOS, fixed use of file_mapping
argument. It it was 0, set it equal to the address of
an int on the stack. Thanks to Chad Elliott
<elliott_c@ociweb.com> for reporting a problem with
ACE_OS::mmap on LynxOS. And thanks to Chad for an
explanation of why Malloc_Test and TAO's Naming_Service -f
don't work: it's because they require that the mapped
object be changed. LynxOS 3.0.x and earlier don't support
that.
Thu Dec 09 07:30:12 1999 David L. Levine <levine@cs.wustl.edu>
* Makefile (CONTROLLED_FILES): added ChangeLog-99a. Thanks
to Pierre Oberson <oberson@nagra-kudelski.ch> for reporting
that it was missing.
Wed Dec 8 13:36:59 1999 Ossama Othman <othman@cs.wustl.edu>
* configure.in (ACE_SYS_RESTARTABLE_SYSCALLS):
Disabled ACE_SYS_RESTARTABLE_SYSCALLS test. On platforms where
it detects restartable system calls, it defines
ACE_HAS_SIGNAL_SAFE_OS_CALLS. This causes the ACE_OSCALL*
macros in OS.h to use "ACE_LOG_MSG->restart()" before
ace/Log_Msg.h is included, ending up in ACE_LOG_MSG being an
unknown macro. Currently, none of ACE's supported platforms
actually define ACE_HAS_SIGNAL_SAFE_OS_CALLS so disabling this
test okay for now.
* ace/OS.i (ioctl):
Commented out ACE_DEBUG call. ACE_OS should not depend on
ACE_Log_Msg in any way.
Wed Dec 8 10:15:20 1999 Douglas C. Schmidt <schmidt@tango.cs.wustl.edu>
* bin/clone.cpp: The definition of mk_symbolic_link() was
missing the third argument 'int level'. Thanks to Jerry De
Master <jdemaste@ipdinc.com> for reporting this.
* ace/Synch.h: Added comments to ACE_Thread_Mutex_Guard and
ACE_Null_Mutex_Guard explaining that they were obsolete and
should be replaced by ACE_Guard<ACE_Thread_Mutex> and
ACE_Guard<ACE_Null_Mutex>, respectively. Thanks to Pierre
Oberson for reporting this.
Tue Dec 7 22:53:01 1999 Douglas C. Schmidt <schmidt@tango.cs.wustl.edu>
* netsvcs/lib/Client_Logging_Handler.cpp (send): Clarified that
*someday* we'll improve the implementation to queue data when a
connection is lost and automagically reinitiate the connection.
Thanks to David X Callaway <david.x.callaway@intel.com> for
motivating this.
Tue Dec 07 22:14:15 1999 David L. Levine <levine@cs.wustl.edu>
* docs/ACE-guidelines.html: added a guideline about signal
handlers.
Tue Dec 7 21:39:42 1999 Douglas C. Schmidt <schmidt@tango.cs.wustl.edu>
* ace/OS.i: Fixed the definition of ACE_NETDBCALL_RETURN so that
memcpy (TARGET,ace_result_,SIZE);
is changed to
memcpy (TARGET,ace_result_,
SIZE < sizeof(TYPE) ? SIZE : sizeof(TYPE));
This fixes a bug with UnixWare. Thanks to Phil Mesnier
<mesnier_p@ociweb.com> for reporting this.
Tue Dec 07 21:20:37 1999 Nanbor Wang <nanbor@cs.wustl.edu>
* ace/ace_dll.dsp:
* ace/ace_lib.dsp: Added ace.rc to project files. One can use
GetFileVersionInfo on Win32 to get the ACE library version info
now. Thanks to David Hauck <davidh@realtimeint.com> for
suggesting this.
Tue Dec 07 15:27:24 1999 David L. Levine <levine@cs.wustl.edu>
* docs/ACE-guidelines.html: added guideline to use THR_BOUND
for time-critical threads. Thanks to Marina for reminding
me about this, and for running some experiments on Solaris
that demonstrate that it's necessary (and really works :-).
Tue Dec 07 13:25:53 1999 Nanbor Wang <nanbor@cs.wustl.edu>
* ace/Based_Pointer_T.{h,cpp}: Added two constructors that take a
base pointer for base_offset_ calculation. They can be used
when we already know the base address of the pointer to avoid an
extra lookup from the Based_Pointer_Repository.
* ace/Malloc_T.i (init_malloc_header_ptr): Changed to initialize
the pointer using the address of control block. Notice that
the address of the control block should never change during the
lifetime of ACE_Malloc.
Thanks to Irfan for noticing the performance issue.
Mon Dec 06 21:16:53 1999 Irfan Pyarali <irfan@cs.wustl.edu>
* ace/SOCK_Dgram.cpp (send): Added missing timed send.
Thanks to Yuval Yosef <yuvi@isdn.net.il> for motivating this.
* ace/SOCK_IO.h (ACE_SOCK_IO): Most methods now support an
optional timeout parameter.
* ace/SOCK_Stream.h (ACE_SOCK_Stream): All methods now support an
optional timeout parameter. Also fixed the <len> parameter type
in recv_urg and send_urg to be size_t instead of int.
* ace/ACE:
- All the I/O function were made consistent in ACE. This
included matching send and recv functions, all of which now
support timeouts.
- Many of the timed functions, e.g., ACE::readv() and
ACE::sendto(), were changed such that the <timeout == 0> case
was made common between the code that expected OS provided timed
functions and the other where the timed function was simulated
by ACE.
- Certain file I/O operation were made simple by removing the
extra <timeout> parameter. Timeouts are not supported in file
I/O. In some cases, e.g., the timed writev and readv functions,
the function was removed since it was not necessary as taking
the <timeout> parameter made it redundant with the function in
ACE_OS.
- The "_n" methods were given a performance boost when they are
used with timeouts. We only set the handle into non-blocking
mode only once rather than for every iteration in the loop.
- Added send/recv/send_n/recv/recv_n methods that take a message
block as the data container.
- Here is the description of the updated functions from the
documentation:
________________________________________
The <timeout> parameter in the following methods indicates how
long to blocking trying to transfer data. If <timeout> == 0,
then the call behaves as a normal send/recv call, i.e., for
blocking sockets, the call will block until action is possible;
for non-blocking sockets, EWOULDBLOCK will be returned if no
action is immediately possible.
If <timeout> != 0, the call will wait until the relative time
specified in *<timeout> elapses.
Errors are reported by -1 and 0 return values. If the operation
times out, -1 is returned with <errno == ETIME>. If it succeeds
the number of bytes transferred is returned.
The "_n" I/O methods keep looping until all the data has been
transferred. These methods also work for sockets in
non-blocking mode i.e., they keep looping on EWOULDBLOCK.
<timeout> is used to make sure we keep making progress, i.e.,
the same timeout value is used for every I/O operation in the
loop and the timeout is not counted down. If the transfer times
out, the number of bytes transferred so far are returned.
Methods with <iovec> parameter are I/O vector variants of the
I/O operations.
________________________________________
* ace/config-win32-common.h: Set IOV_MAX on Win32 to be 1024. It
seems like Win32 does not have a limit on the number of buffers
that can be transferred by the scatter/gather type of I/O
functions, e.g., WSASend and WSARecv. We are arbitrarily
setting this to be 1k for now. The typically use case is to
create an I/O vector array of size IOV_MAX on the stack and then
filled in. Note that we probably don't want too big a value for
IOV_MAX since it may mostly go to waste or the size of the
activation record may become excessively large.
* ace/OS:
The "faked" readv() in ACE for operating systems without it was
calling read_n(). This was changed to call read() since readv()
makes no guarantee that everything requested will be read. Same
changes applied for writev().
send_n() does not belong in the OS class. It belongs in the ACE
class. Therefore, it was moved.
read_n() is only called for file handles (and not for socket
handles). Therefore, there is no point in checking for
EWOULDBLOCK. Same change was made to write_n().
* ace/Handle_Set.h (ACE_Handle_Set): Added an explicit fdset()
function to get to the fd_set *. This eliminates the need for
the stupid cast operator.
Mon Dec 6 21:13:08 1999 Douglas C. Schmidt <schmidt@tango.cs.wustl.edu>
* ace/Configuration.cpp (set_string_value): When setting a value
in the registry, the specified length must include the NUL
terminating character. Thanks to Chris Hafey
<chris@stentorsoft.com> for reporting this.
Mon Dec 6 11:06:43 1999 Ossama Othman <othman@cs.wustl.edu>
* m4/acinclude.m4 (ACE_TRY_COMPILE):
Make choice of compiler flags to use dependent on the current
autoconf test language. This fixes a problem with C++ compiler
flags potentially passed as C flags to libtool.
(ACE_USE_TEMP_FILE):
Added checks for existing files that should be directories and
vice versa.
If the file passed as argument is in a directory and the
directory doesn't exist then create the directory. In order to
be as general as possible a script fragment was implemented with
the same functionality as "mkdir -p" because "mkdir -p" may not
be portable.
* m4/threads.m4 (ACE_SEARCH_THREAD_FLAGS):
Make choice of compiler flags to use dependent on the current
autoconf test language. This fixes a problem with C++ compiler
flags potentially passed as C flags to libtool.
Mon Dec 06 08:25:22 1999 David L. Levine <levine@cs.wustl.edu>
* include/makeinclude/platform_sunos5_sunc++.GNU: added more
comments about support of 64-bit binaries with Sun CC 5.0.
Thanks to Dani Flexer <dani.flexer@israel.sun.com> for
providing them.
Mon Dec 6 07:55:05 1999 Douglas C. Schmidt <schmidt@tango.cs.wustl.edu>
* ace/config-sunos5.7.h: Added several new #defines needed to
port ACE to 64 bit Solaris. Thanks to Dani Flexer
<dani.flexer@israel.sun.com> for these.
* ace/ACE.cpp: Changed the implementation of count_interfaces()
to handle the fact that size_t is a 64 bit type but the
parameter to ioctl needs to be an int, which according to LP64
is 32 bits. Thanks to Dani Flexer <dani.flexer@israel.sun.com>
for reporting this.
* netsvcs/lib/Client_Logging_Handler.cpp (handle_signal):
If SIGPIPE occurs, ACE_Client_Logging_Handler::handle_signal()
returns -1, thus removing svc handler from reactor. Since svc
handler is implemented as a singleton here, all next incoming
SPIPE connections operate on object that is already destroyed ->
SIGSEGV/SIGBUS. Therefore, we now return 0 in handle_signal().
Thanks to Alexander Dergatch <dergy@websci.ru> for reporting
this.
* netsvcs/lib/Server_Logging_Handler_T.cpp (svc): The following
loop
while ((result = this->handle_input ()) > 0)
continue;
causes server thread to leave its execution loop, because
handle_input() always returns 0 or -1. This should be replaced
with
while ((result = this->handle_input ()) == 0)
Thanks to Alexander Dergatch <dergy@websci.ru> for reporting
this.
Sun Dec 05 21:54:47 1999 David L. Levine <levine@cs.wustl.edu>
* ace/Dump.cpp (ACE_ODB ctor): initialize current_size_
data member, so that examples/misc/test_dump will pass
on MSVC 6.0/NT 4.0, at least. Thanks to Soren Ilsoe
<soren.ilsoe@tellabs.com> for reporting this.
Sun Dec 5 16:50:37 1999 Ossama Othman <othman@cs.wustl.edu>
* ace/OS.h:
Some compilers were picky about the circular dependency fix.
Moved inclusion of ace/Log_Msg.h after ace/OS.i yet again.
Sat Dec 04 21:14:37 1999 Nanbor Wang <nanbor@cs.wustl.edu>
* tests/Malloc_Test.cpp (init_test): Need to call init_acquire to
make sure the old mapfile does get removed.
Added more printout items in the normally disabled debug
section.
Sat Dec 04 19:45:49 1999 Nanbor Wang <nanbor@cs.wustl.edu>
* ace/Memory_Pool.cpp: Conditionally bind/unbind the
Pagefile_Memory_Pool with the Based_Pointer_Repository depends
on whether position independent pointers are used or not.
Sat Dec 4 16:59:08 1999 Ossama Othman <othman@cs.wustl.edu>
Circular dependency fixes/updates:
* ace/OS.h:
Include "ace/Log_Msg.h" before "ace/OS.i" because the methods in
ACE_OS depend on ACE_Log_Msg for output and error reporting.
* ace/Log_Record.h:
Include "ace/OS.h" instead of "ace/ACE.h." OS.h is needed to
pull in the definition of ACE_Export. ACE.h was overkill. This
change is at the core of the circular dependency fix.
* ace/Log_Record.cpp:
Include "ace/ACE.cpp" to pull in definition of ACE::log2().
The above changes made the following changes necessary. They also
corrected an annoying circular dependency problem that was
occurring when using an automatically generated ace/config.h. The
below changes are actually legitimate fixes since the source files
in question unnecessarily relied on other headers to pull in ACE
class definitions.
* ace/DLL.cpp:
Include "ace/ACE.h" because ACE_DLL::open() uses ACE::ldfind().
* ace/Functor.h:
Include "ace/ACE.h" instead of "ace/OS.h" because
"ace/Functor.i" needs the hash functions in the ACE class.
All of the above changes nicely reduced the number of source files
that depend on ace/ACE.{h,i}!
* ace/Makefile:
* apps/gperf/src/Makefile:
Updated dependencies.
Fri Dec 3 21:51:38 1999 Nanbor Wang <nanbor@cs.wustl.edu>
* ace/Malloc_T.cpp (shared_malloc): Changed the for loop to
while(1) so the compilers can identify the control will never
fall off the end of the loop and apply ACE_NOTREACHED to the
final return statement.
Fri Dec 03 12:14:31 1999 Nanbor Wang <nanbor@cs.wustl.edu>
* ace/Malloc_T.i (init_malloc_header_ptr): Applied ACE_UNUSED_ARG
when we are not using position independent pointers.
* ace/Malloc_T.cpp (shared_malloc): Split the structural exception
try block into two to avoid warnings from the OSF compiler.
Thanks to David for reporting this.
Thu Dec 2 22:42:53 1999 James Hu <jxh@entera.com>
* ace/TP_Reactor.cpp:
Instead of setting suspend_set_ and wait_set_ both all the time,
try to determine whether or not the handler is suspended and
choose one of the sets to do the bit_ops on.
Thu Dec 2 22:41:53 1999 Yamuna Krishnamurthy <yamuna@cs.wustl.edu>
* ace/OS.i:
Added the bug fix to the SIO_GET_QOS call in ACE::ioctl () for
RC2 release. This involved removing explicit buffer allocation
for the provider specific buffer and just allocating one
contiguos buffer for the QOS structure.
Thu Dec 02 18:16:27 1999 James Hu <jxh@entera.com>
* ace/Filecache.cpp: Make it possible to remove something from
the Filecache.
Thu Dec 02 18:03:27 1999 Nanbor Wang <nanbor@cs.wustl.edu>
* tests/Malloc_Test.cpp (parent): Before binding the name "bar",
do a series of small malloc and a huge malloc to make sure the
child process will segfault and the remapping is tested on the
child process.
* ace/Memory_Pool.h:
* ace/Memory_Pool.cpp: Added a no-op <remap> method to
Local_Memory_Pool because we might call remap from ACE_Malloc on
Win32.
(Win32 only) Added a new <seh_selector> function that takes a
pointer to an EXCEPTION_POINTERS and is responsible to determine
if remapping of the memory map file is required or not.
* ace/Malloc_T.h:
* ace/Malloc_T.i (init_malloc_header_ptr): Added a new inline
function which simply initializes a (position independent)
pointer pointing to a Malloc_Header. This is required because
the placement new in this function makes MSVC think we are
creating a new object and disallow the use of ACE_SEH_TRY in
functions that use placement new.
* ace/Malloc_T.cpp: Added the use of ACE_SEH_TRY in several
ACE_Malloc::shared_* methods so we can catch the potential
access violations and force remapping of memory maps. On UNIX,
this is done thru <handle_signal> in Memory_Pool.
Thu Dec 2 09:17:02 1999 Douglas C. Schmidt <schmidt@tango.cs.wustl.edu>
* ace/config-win32-borland.h: Apparently, the Borland BC4 compiler
lacks operator placement delete, so I added #define
ACE_LACKS_PLACEMENT_OPERATOR_DELETE to handle this case. Thanks
to Mike Gingell <mgingell@istar.ca>.
Wed Dec 1 22:26:06 1999 Douglas C. Schmidt <schmidt@tango.cs.wustl.edu>
* tests/MM_Shared_Memory_Test.cpp: Make sure to force the test
to use System V Semaphores if the OS platform supports POSIX
semaphores natively (since these don't have the right semantics
for this test). Thanks to Steve Huston for reporting this bug.
This fix should clear BUG ID 382.
Wed Dec 01 06:16:34 1999 Nanbor Wang <nanbor@cs.wustl.edu>
* ace/Malloc.h (ACE_MALLOC_PADDING): Restored default value to 1.
Added a new macro ACE_MALLOC_HEADER_SIZE which serves the same
function as ACE_MALLOC_PADDING (both specify the minimum malloc
header size) but ACE_MALLOC_HEADER_SIZE is normalized to be
multiple of ACE_MALLOC_ALIGN.
(ACE_CONTROL_BLOCK_ALIGN_LONGS): Changed back to use
ACE_MALLOC_ALIGN to calculate the starting malloc header
alignment.
* tests/Malloc_Test.cpp: Expanded the memory offset between parent
and child mmap base address so there'll be no overlap even when
we use a larger ACE_MALLOC_PADDING.
Wed Dec 1 02:10:51 1999 Douglas C. Schmidt <schmidt@tango.cs.wustl.edu>
* tests/Auto_IncDec_Test.cpp: The main() function was missing
a return type. Also, don't run the test with output logged to
stderr. Thanks to David Levine for reporting this.
Tue Nov 30 16:11:52 1999 Steve Huston <shuston@riverace.com>
* tests/run_tests.sh: Made the check for libDLL_Test use a
configurable suffix rather than hardcoded .so so it works on
platforms like HP-UX (which uses .sl).
Tue Nov 30 14:24:31 1999 Ossama Othman <othman@cs.wustl.edu>
* acconfig.h:
Minor cosmetic updates.
* configure.in:
Only enable POSIX semaphore support if process shared semaphores
are supported. Presumably process shared semaphores are only
available if the _POSIX_THREAD_PROCESS_SHARED macro is defined
by the platform. [Bug 304]
Tue Nov 30 00:22:48 1999 Nanbor Wang <nanbor@cs.wustl.edu>
* tests/Malloc_Test.cpp: Changed to store the mmap allocator in an
auto_ptr instead of as a static object so we can be absolutely
sure about the creation order.
Added an init_test method which creates a mmap memory pool and
releases it immediately to make sure the test won't
crash/deadlock due to previous crashes.
Mon Nov 29 16:36:06 1999 Nanbor Wang <nanbor@cs.wustl.edu>
* ace/Malloc.h (ACE_MALLOC_PADDING): Changed the default value of
ACE_MALLOC_PADDING to 16 to avoid some some alignment problem.
Fixed the padding size calculation in ACE_Malloc_Header.
* tests/Malloc_Test.cpp (main): Added some debug printout which is
commented out for now (they are not used for regular test.)
Mon Nov 29 14:34:16 1999 Ossama Othman <othman@cs.wustl.edu>
* ace/config-win32-borland.h:
* ace/config-win32-common.h:
The ACE_HAS_BROKEN_IMPLICIT_CONST_CAST macro I previously
removed is used in TAO's IDL_Test. Thanks to Jeff for pointing
this out.
* ace/OS.i (sema_init):
The call to sem_init() for the process shared case incorrectly
used USYNC_THREAD for the second argument. For the
USYNC_PROCESS case, the second argument to ::sem_init() should
be "type == USYNC_PROCESS" since it will evaluate to "1" in this
case. A conditional is used since some platforms may not define
USYNC_PROCESS to be a non-zero value.
Mon Nov 29 12:15:56 1999 Douglas C. Schmidt <schmidt@tango.cs.wustl.edu>
* tests/Auto_IncDec_Test.cpp: Updated this test to use multiple
threads, if available. Thanks to Edan Ayal <EdanA@cti2.com> for
this.
Mon Nov 29 11:47:55 1999 Ossama Othman <othman@cs.wustl.edu>
* ace/OS.h:
Backed out the inline related changes I made. Some compilers
have a problem with them.
Sun Nov 28 20:03:03 1999 Ossama Othman <othman@cs.wustl.edu>
* ace/OS.i (sema_init):
According UNIX Network Programming V2 by Stevens, sem_init() is
currently not required to return zero on success, but it *does*
return -1 upon failure. For this reason, check for failure by
comparing to -1, instead of checking for success by comparing to
zero.
Sun Nov 28 19:05:31 1999 Nanbor Wang <nanbor@cs.wustl.edu>
* ace/Process_Manager.cpp (open): Fixed an ASYS_TEXT usage.
ASYS_TEXT can not enclose several string literals.
Sun Nov 28 18:09:49 1999 Ossama Othman <othman@cs.wustl.edu>
* m4/acinclude.m4 (ACE_USE_TEMP_FILE):
Check that the source directory is not the current directory
before moving a file in the current directory out of the way.
Previously an attempt to move the same file out of the way was
performed to twice.
Sun Nov 28 17:06:00 1999 Ossama Othman <othman@cs.wustl.edu>
* acconfig.h:
Added ACE_HAS_POSITION_INDEPENDENT_MALLOC macro.
* configure.in:
Dropped AC_ISC_POSIX macro in favor of an AC_CHECK_LIB strerror
test.
Disabled exception handling support by default.
Added "--enable-pi-malloc" configure script option to
enable/disable ACE's position independent malloc feature. By
default, this feature will be enabled.
Added a run-time test for sem_open(). glibc() apparently
defines a stub for this function in the pthread library but
there is no entry in <gnu/stubs.h> for it. As such, the
configure script assumed that it is a working function. It
turns out it is not (on Linux with glibc <= 2.1.2).
Generalized/improved setrlimit and getrusage tests that check if
the first argument is an enum. The tests now determine exactly
what the enum type is. Previously, the test was specific to
Linux/glibc platforms.
Fixed some tests that didn't initialize a const variable before
it was used.
Added a test that checks the integrity of the generated
configuration. The test attempts to compile ace/OS.cpp. If it
fails then the rest of ACE won't compile, indicating that the
automatic configuration wasn't successful. Upon failure, some
diagnostic information is output, and a request to submit a bug
report is made.
Flush the cached configuration test results to the cache file.
This is mainly useful for configure script debugging purposes.
* ace/Log_Msg.h (ACE_Log_Msg):
Added additional spaces before comments describing each format
specifier since the single quote "'" at the beginning of each
description was interpreted as a troff comment. Thanks to Kevin
Dalley for pointing this out and suggesting a fix.
* ace/OS.h:
Consolidated some ACE_INLINE macro preprocessor conditionals.
Moved inclusion of Log_Msg.h and OS.i to the end of the file in
case some declarations or definitions found earlier in OS.h are
ever needed in the future by these two files.
* ace/Trace.h:
* ace/Trace.cpp:
Removed inclusion of Log_Msg.h from Trace.cpp and included OS.h
in Trace.h. OS.h is needed for the definition of ACE_Export.
* ace/config-win32-borland.h:
* ace/config-win32-common.h:
Removed ACE_HAS_BROKEN_IMPLICIT_CONST_CAST macro. This macro
isn't used anywhere in ACE or TAO.
* ace/Makefile:
Updated dependencies.
* bin/am_edit:
This script is generates IDL source file targets and
dependencies in Makefile.in files. It is essentially the same
script that the KDE developers use for their IDL sources except
that it is has been customised for TAO_IDL generated sources.
Thanks to Stephan Kulow <coolo@kde.org> for pointing out the
availability of this script.
* bin/make_release:
Archive list should be concatenated instead replaced. This list
is currently only used by the MD5 checksum generation support.
* bin/generate_html_windex:
Created this script to generate the acewindex.html file. It
generates the acewindex.html directly from the man pages instead
of an intermediate windex file. Some platforms don't have a
"catman -w" equivalent command since the man database is
generated automatically by the OS (e.g. Debian GNU/Linux). This
script allows the acewindex.html file to be generated on such
platforms. The windex file (not acewindex.html) isn't generated
but this typically isn't a problem since it is not the ACE
install system's responsibility to (re)generate a windex file at
install time. It is up to the sysadmin to do so. Thanks to
Kevin Dalley <kevind@rahul.net> for motivating the creation of
this script.
* bin/bootstrap:
The list of ROFF and HTML man pages is now automatically
generated and inserted into the appropriate Makefile.am file in
this script. This allows the removal of the non-portable
"$(shell ...)" expression from the Makefile.am files. It also
improves build performance in the man directories since the list
is only evaluate at bootstrap time instead of each time the
directory is built.
* man/Makefile.am (acewindex.html):
Use the newly created `generate_html_windex' script to create
the acewindex.html file since not all platforms support "catman
-w" windex file generation.
* man/html/Makefile.am (html_DATA):
* man/man3/Makefile.am (man_MANS):
Removed the commands that generate the man pages lists. The
`bootstrap' script now takes care of substituting what each of
the Makefile.am variables should contain.
* m4/acinclude.m4:
Improved ACE_USE_TEMP_FILE macro. It now checks for the
existence of a file with the same name as the temporary file in
the current directory, in addition to the top-level source
directory.
Moved the setrlimit and getrusage enum tests into Autoconf
macros in this file. The macros are ACE_CHECK_SETRLIMIT_ENUM
and ACE_CHECK_GETRUSAGE_ENUM.
Fixed AC_SYS_RESTARTABLE_SYSCALLS and added it to this file.
The patched version compiles and runs, whereas the existing/old
version doesn't even compile on some platforms. The
AC_SYS_RESTARTABLE_SYSCALLS test is broken in GNU Autoconf
2.13. I use this test to determine if the
ACE_HAS_SIGNAL_SAFE_OS_CALLS macro should be defined for ACE. I
patched it so that it works, at least platforms that expect a
signal handler that expects an int argument.
* m4/subsets.m4:
Disable building of all subset libraries by default.
Sun Nov 28 09:45:36 1999 Darrell Brunsch <brunsch@cs.wustl.edu>
* netsvcs/lib/Logging_Strategy.cpp: ACE_Logging_Strategy::fini ()
now returns a value.
Sun Nov 28 02:41:02 1999 Nanbor Wang <nanbor@cs.wustl.edu>
* tests/Reactor_Notify_Test.cpp (run_test): Only print out the
error message when the notification pipe is not disable.
Otherwise, when the notification pipe gets disabled, the event
loop depends purely on the OS scheduling policy to determine how
many times to gets to run. Since the Supplier_Task removes
itself from the reactor, there could be no active event handler
available in the reactor when the <handle_events> gets called if
the <perform_notifications> task finishes before the event loop
has a chance to finish its iterations. Another way to solve
this is to add a thr_yield after every notification but that
seems to defeat the intention of the test. Thanks to Ivan
Murphy for reporting the false error output.
Sat Nov 27 22:06:26 1999 Nanbor Wang <nanbor@cs.wustl.edu>
* ace/OS.cpp: Defined ACE_ENDTHREADEX and ACE_BEGINTHREADEX to use
ExitThread and BeginThread for WinCE 2.11 and above. Thanks to
Peter C. Chien <peter@newsol.com> for the tip.
* ace/ace_ce_dll.dsp: Reworked for WinCE 2.11. More
configurations are added and the distributed token related files
are removed from the project.
* ace/OS.{h,cpp}: WinCE 2.11 and above does implement exit method
so we don't need to provide our own for them.
* ace/config-WinCE.h: Updated configuration settings for WinCE
2.11.
* ace/Memory_Pool.{h,i}: Added the <base_addr> method for
accessing the base address information of the memory pool.
Sat Nov 27 18:36:48 1999 Douglas C. Schmidt <schmidt@tango.cs.wustl.edu>
* tests/Priority_Buffer_Test.cpp (consumer): Revised the test
so that it doesn't bother to check the priority in the
ACE_ASSERT macro if we're sending a shutdown message. Thanks to
Ivan Murphy and Darrell Brunsch for narrowing this down.
Thu Nov 25 13:32:00 1999 Douglas C. Schmidt <schmidt@tango.cs.wustl.edu>
* netsvcs/lib/Client_Logging_Handler.cpp (parse_args): Make sure
to free() the host or logger key before calling strdup()!
* netsvcs/lib/Logging_Strategy.cpp (parse_args): Fixed up this
code so that we correctly allocated and deallocate filename_
using strdup()/free() to prevent weird memory problems. Thanks
to Alexander Dergatch <dergy@websci.ru> for reporting this.
Sat Nov 27 15:01:44 1999 Carlos O'Ryan <coryan@cs.wustl.edu>
* ACE version 5.0.9 released.
Sat Nov 27 14:59:27 1999 Carlos O'Ryan <coryan@cs.wustl.edu>
* bin/make_release:
There was a non-scoped variable.
Thu Nov 25 13:24:37 1999 Darrell Brunsch <brunsch@cs.wustl.edu>
* tests/Capabilities_Test.cpp: Changed a variable from
int to ACE_HANDLE.
Thu Nov 25 02:17:34 1999 Nanbor Wang <nanbor@cs.wustl.edu>
* ace/Malloc.h: Added back some apparent bug fixes during the
alignment change.
Thu Nov 25 01:41:33 1999 Nanbor Wang <nanbor@cs.wustl.edu>
* ace/Malloc.h: Removed the alignment change for now.
Wed Nov 24 14:41:14 1999 Nanbor Wang <nanbor@cs.wustl.edu>
* ace/Process.i (wait): Changed to use the process handle to wait
for process termination.
* ace/OS.h:
* ace/OS.i (wait,waitpid): Added an extra argument that takes the
process handle of the waited process. On Win32, <pid> is
ignored if the <handle> is not equal to 0. Passing the process
<handle> is prefer on Win32 because using <pid> to wait on the
project doesn't always work correctly if the waited process has
already terminated.
Wed Nov 24 08:30:52 1999 Douglas C. Schmidt <schmidt@tango.cs.wustl.edu>
* examples/Shared_Malloc/test_malloc.cpp (malloc_recurse): Fixed
the AMS macro to be ACE_MALLOC_STATS. Thanks to David Levine
for reporting this.
Tue Nov 23 12:47:39 1999 Douglas C. Schmidt <schmidt@tango.cs.wustl.edu>
* ace/Malloc.h: Modified the definition and use of
ACE_MALLOC_PADDING_SIZE so that it works correctly and the code
that uses it compiles... Thanks to Alexander Belopolsky
<belopolsky@my-deja.com> for reporting this.
* ace/Malloc: Replaced the AMS macro, which polluted the global
namespace, with ACE_MALLOC_STATS, which doesn't... Thanks to
Alexander Belopolsky <belopolsky@my-deja.com> for reporting
this.
* ace/OS.h: Modified ACE_MIN macro so that it uses the > operator to
be consistent with the ACE_MAX macro. Thanks to Derek Dominish
<Derek.Dominish@Australia.Boeing.com> for reporting this.
* tests/Malloc_Test: Updated the Malloc_Test so that it'll
allocate and test doubles to make sure they work correctly.
* ace/Malloc.h: Modified the alignment logic to make things
work properly for datatypes like doubles. Thanks to Alexander
Belopolsky <belopolsky@my-deja.com> for working this out.
Tue Nov 23 12:02:53 1999 Douglas C. Schmidt <schmidt@ace.cs.wustl.edu>
* ace/OS.i: Moved the inline methods for sec()/usec()/msec() so
that are defined *before* they are used...
Tue Nov 23 11:34:40 1999 Nanbor Wang <nanbor@cs.wustl.edu>
* tests/Malloc_Test.cpp (myallocator): Applied ACE_TEXT to several
malloc argument. Thanks to Ivan Murphy for reporting this.
Tue Nov 23 11:06:13 1999 Nanbor Wang <nanbor@cs.wustl.edu>
* tests/CDR_File_Test.cpp (run_test): Changed <filename> to
LPCTSTR so the test compile with UNICODE. Thanks to Ivan Murphy
for reporting this.
Mon Nov 22 18:02:19 1999 Irfan Pyarali <irfan@cs.wustl.edu>
* ace/Strategies_T.cpp:
* ace/Cached_Connect_Strategy_T.cpp:
There was a strange interaction in
find_or_create_svc_handler_i() because of these two changes:
Fri Nov 12 00:30:41 1999 Irfan Pyarali <irfan@cs.wustl.edu>
and
Mon Jul 19 22:46:54 1999 Irfan Pyarali <irfan@cs.wustl.edu>
Basically, <sh> was assigned to the newly created svc_handler.
It had, however, not been added to the connection map nor had it
been assigned a hint or recycler, i.e., it was partially
initialized.
However, we let go of the connector lock during the OS level
connect call, hence exposing the partially initialized
svc_handler to other threads.
The solution is to use a temporary variable until the
svc_handler is completely initialized. After this we can assign
<sh> to <potential_handler>. Note that making a new svc_handler,
connecting remotely, binding to the map, and assigning of the
hint and recycler should be atomic to the outside world.
Mon Nov 22 17:06:34 1999 Darrell Brunsch <brunsch@cs.wustl.edu>
* bin/auto_compile_win32.pl: Changed the project file for
ImplRepo_Service. Thanks to Derek Dominish
<Derek.Dominish@Australia.Boeing.com> for pointing this out.
Mon Nov 22 14:15:23 1999 Douglas C. Schmidt <schmidt@danzon.cs.wustl.edu>
* examples/Configuration/config_test.cpp: ACE-ified this example.
* ace/OS.i: Replaced all the uses of ACE_Time_Value private methods
within the overloaded global relational operator to use inline
methods. This change should work around bugs with MSVC++.
Thanks to Alok Gupta <alokg@ssind.stpn.soft.net> for reporting
this.
* ace/Service_Config.cpp (parse_args): Reverted the behavior
of parse_args() so that it doesn't return an error when it runs
across an option that it doesn't recognize. This is necessary
to support certain use-cases where the Service Configurator is
part of an application-specific configuration process. We do,
however, print a warning message if ACE::debug() > 0. Thanks to
Ivan Murphy <Ivan.Murphy@med.siemens.de> for reporting this and
suggesting a fix.
Sat Nov 20 10:16:07 1999 Douglas C. Schmidt <schmidt@tango.cs.wustl.edu>
* ace/Configuration.cpp: Moved DEFBUFSIZE into the Win32-specific
part of the code and changed the name to ACE_DEFAULT_BUFSIZE so
that it won't conflict with any global names. Thanks to David
Levine for reporting this.
Fri Nov 19 17:25:13 1999 Douglas C. Schmidt <schmidt@tango.cs.wustl.edu>
* ace: Double checked that ACE builds correctly when threads are
disabled.
* ace/Local_Tokens.cpp (client_id): Had to futz with the code
a bit to get it to work for both the threaded and non-threaded
case.
* ace/Activation_Queue.h: Added a #define of ACE_Activation_List
to ACE_Activation_Queue to be compatible with the terminology
used in the POSA2 book!
* ace/Message_Queue_T: Moved message_bytes(size_t) and
message_length(size_t) from the *.i file to the *.cpp file to
workaround bugs with SunC++ 5.0. Thanks to Rick Weisner
<Rick.Weisner@East.Sun.COM> and John Tucker
<jtucker@infoglide.com> for reporting this problem and providing
the fix.
* ace/Configuration.cpp: There were inconsistencies in the explicit
template instantiations where ACE_Thread_Mutex should have been
ACE_SYNCH_MUTEX so that the code will work when threading is
disabled. In addition, we must be careful to conditionally
compile certain ACE_Allocator<> and ACE_Malloc<> template
instantiations since they are only valid when ACE_HAS_THREADS is
defined.
* include/makeinclude/platform_irix6.x_sgic++.GNU,
* ace/Local_Tokens,
* ace/Synch_T.i:
Made a number of minor changes so that ACE will compile/work
when threading is not enabled. Thanks to Extern Chatterji
<Extern.Chatterji@kmweg.de> for reporting this.
* ace/Message_Block.h: Clarified the comment for space().
Thanks to Eric Newton for reporting this.
Fri Nov 19 02:21:11 1999 Darrell Brunsch <brunsch@cs.wustl.edu>
* ace/Configuration.h:
* ace/Configuration.cpp:
Altered the Unicode macros used so it compiles in the two
Unicode configurations. Thanks to Ruibiao Qiu
<ruibiao@arl.wustl.edu> for noticing this.
Thu Nov 18 22:49:09 1999 David L. Levine <levine@cs.wustl.edu>
* tests/run_tests.lst: DISABLED Process_Manager_Test
because it fails on Solaris and HPUX_aCC.
Thu Nov 18 20:47:49 1999 Krishnakumar Elakkara Pathayapura <krish@cs.wustl.edu>
* THANKS: added Marcelo Matus <mmatus@dinha.acms.arizona.edu>
Thu Nov 18 19:44:04 1999 David L. Levine <levine@cs.wustl.edu>
* ace/OS.i (ACE_TSS_Emulation::tss_base,ts_object): on VxWorks,
if ACE_VXWORKS_SPARE is 0, allocate a TSS array (and
zero it out) in tss_object () instead of tss_base ().
This allow tss_base () to still be used on the left-hand
side. The only way that tss_base () should be called
on VxWorks with 0 ACE_VXWORKS_SPARE is through ts_object ().
Thanks to Dave Steele <Dave_Steele@Mitel.com> and
Dale Wood <Dale_Wood@Mitel.com> for further discussion and
insight.
Thu Nov 18 19:20:16 1999 Ossama Othman <othman@cs.wustl.edu>
* ace/OS.h (SEM_FAILED):
Changed SEM_FAILED from ((sem_t *) 0) to ((sem_t *) -1).
Although it makes more sense to have a zero fail value, it
appears that many OSes are still brain damaged enough to use -1
instead. This change is consistent with what ACE expected as
the sem_open() fail value prior to my updates.
Thu Nov 18 16:37:55 1999 Ossama Othman <othman@cs.wustl.edu>
* ace/OS.h:
If a platform has named POSIX semaphores, define SEM_FAILED if
it isn't already defined.
* ace/OS.i (sema_init):
Cast MAP_FAILED to (sem_t *) when comparing to sem_t pointer.
Check sem_open() failure against SEM_FAILED macro instead of
((sem_t *) -1) since sem_open() in some named POSIX semaphore
implementations returns ((sem_t *) 0) on failure (e.g. glibc
2.1.x on Linux).
Thu Nov 18 08:19:39 1999 Douglas C. Schmidt <schmidt@tango.cs.wustl.edu>
* ace/SOCK_Dgram_Bcast.cpp: Some systems seem to generate 0
(AF_UNDEF) for the sa_family, even when there are no errors!
Thus, we only print an error if this is not the case, or if
we're in "debugging" mode. Thanks to Extern Chatterji
<Extern.Chatterji@kmweg.de> for reporting this.
Thu Nov 18 12:08:20 1999 Balachandran Natarajan <bala@cs.wustl.edu>
* ace/Configuration.cpp: Added missing template instantiations for
SunCC5.0
Thu Nov 18 11:49:39 1999 Ossama Othman <othman@cs.wustl.edu>
* bin/make_release:
Added MD5 checksum generation support. Each ACE/TAO archive
will now have an associated file that contains its MD5
checksum. [Bug 48]
Thu Nov 18 08:19:39 1999 Douglas C. Schmidt <schmidt@tango.cs.wustl.edu>
* ace/Log_Msg.cpp: Added a new flag to win32 FormatMessage call,
which removes unneccessary newlines in resulting message. So
whole logged message fits on one line and logs are then nicer
and easier to parse. Thanks to Martin Krumpolec
<krumpo@pobox.sk> for contributing this.
Wed Nov 17 22:45:01 1999 David L. Levine <levine@cs.wustl.edu>
* ace/OS.i (ACE_TSS_Emulation::tss_base): on VxWorks,
if ACE_VXWORKS_SPARE is 0, allocate a TSS array. This
can happen if the task wasn't spawned through ACE,
but then tries to use ACE's TSS emulation. Thanks
to Dave Steele <Dave_Steele@Mitel.com> for the
excellent detective work and patch.
* ace/config-vxworks5.x.h: added ACE_VXWORKS_SPARE,
defaulted to spare4.
Wed Nov 17 17:36:25 1999 Steve Huston <shuston@riverace.com>
* ace/config-hpux-11.x-hpc++.h: Added
ACE_LACKS_PLACEMENT_OPERATOR_DELETE for aC++. This is a known bug by
HP, at least at aC++ A.03.10.
Wed Nov 17 16:33:40 1999 Ossama Othman <othman@cs.wustl.edu>
* ace/Makefile.am:
Added Auto_IncDec_T.*, Capabilities.* and Configuration.* to
list of sources.
* tests/Makefile.am:
Added Auto_IncDec_Test, Capabilities_Test and
Process_Manager_Test to list of tests.
* tests/Capabilities_Test.cpp:
Create the config file within the test itself instead of having
a seperate config file. This makes the test self-contained, and
also allows the test to be run in a build environment where the
sources are in a different directory from the binaries (e.g. a
"VPATH" build). This change was motivated by a problem that
occurred in an ACE+autoconf VPATH build.
* tests/Capabilities_Test.cfg:
Removed this file. It is now created at run-time by the
Capablities_Test itself.
Wed Nov 17 13:45:25 1999 Ossama Othman <othman@cs.wustl.edu>
* acconfig.h:
* configure.in:
* ace/OS.h:
* ace/OS.i:
Added support for two additional macros, namely ACE_HAS_LSEEK64
and ACE_LACKS_LLSEEK_PROTOTYPE. This make it easier to
customize llseek support for a given platform.
* ace/config-linux-common.h:
Define ACE_HAS_LSEEK64 and ACE_LACKS_LSEEK64_PROTOTYPE for glibc
2.1.x, and define ACE_HAS_LLSEEK and ACE_LACKS_LLSEEK_PROTOTYPE
for glibc 2.0.x. [Bug 375]
Wed Nov 17 07:36:04 1999 Douglas C. Schmidt <schmidt@tango.cs.wustl.edu>
* tests: Removed the Cache_Manager_Test.cpp since Cache_Manager.*
is no longer in ACE. Thanks to Airat A. Sadreev
<airat@hq.tatenergo.ru> for reporting this.
* netsvcs/lib/Client_Logging_Handler.cpp (fini): Added a void *
cast to the arguments to ACE_OS::free(). Thanks to David Levine
for reporting this.
Tue Nov 16 07:58:11 1999 Douglas C. Schmidt <schmidt@tango.cs.wustl.edu>
* netsvcs/lib/Client_Logging_Handler.cpp (fini):
Make sure to dynamically allocate the logger_key_ and
server_host_ so that we don't end up with weird memory problems.
Thanks to Alexander Dergatch <dergy@websci.ru> for reporting this.
* ace/config-irix6.x-common.h: Added
ACE_LACKS_PLACEMENT_OPERATOR_DELETE to keep Irix compilers from
complaining! Thanks to David for reporting this.
Mon Nov 15 20:44:04 1999 Douglas C. Schmidt <schmidt@tango.cs.wustl.edu>
* ace/OS.cpp (inherit_log_msg): Added a comment explaining why
we don't inherit the callback when a new thread is created -
since all hell would break loose otherwise if it came off the
stack! Thanks to Sangwoo Jin <swjinjin@sei.co.kr> for
motivating this clarification.
Mon Nov 15 19:54:36 1999 Ossama Othman <othman@cs.wustl.edu>
* ace-config.in:
Added missing "-lACE" to the library list. Thanks to Benedikt
Eric Heinen <beh@icemark.ch> for pointing this out.
Mon Nov 15 13:28:03 1999 Luther J Baker <ljb1@cs.wustl.edu>
* ace/Log_Msg.cpp (priority_mask_):
Added delete_ostream_(0) to ctor.
Mon Nov 15 09:33:49 1999 Douglas C. Schmidt <schmidt@tango.cs.wustl.edu>
* ace/Synch.h (ACE_Mutex): changed protected: to public: in
ACE_Mutex so that certain compilers would be happy. Thanks to
Ivan Murphy for reporting this.
* ace/Configuration.h (ACE_Configuration_Section_Key): The
reserved word "operator" has a typo and is typed as "Operator".
Thanks to Andy Gokhale for reporting this.
Sun Nov 14 20:20:13 1999 Douglas C. Schmidt <schmidt@tango.cs.wustl.edu>
* ace/Configuration.h: Improved the ACE-ification of this file.
Sun Nov 14 18:13:37 1999 Ossama Othman <othman@cs.wustl.edu>
* ACE-configuration.txt:
Updated with information about bootstrapping autoconf support in
ACE since it is currently not enabled by default in ACE.
* configure.in:
User must now specify the "--enable-maintainer-mode" configure
script option in order to be able to use the configure script.
If an attempt is made to run the configure script with this
option, the configure script will immediately exit with a
summary that states that ACE stock build procedure should be
used until autoconf support is fully integrated into ACE.
Once autoconf support is fully integrated into ACE, this
requirement will be removed.
Sun Nov 14 15:22:29 1999 Darrell Brunsch <brunsch@cs.wustl.edu>
* ace/Configuration.cpp: Fixed a statement unreachable in
expand_path ().
Sat Nov 13 19:55:17 1999 Luther J Baker <ljb1@cs.wustl.edu>
* ace/SString.cpp (next):
Removed a buggy line for Tokenizer.
Thanks to Sangwoo Jin <swjinjin@sei.co.kr> for reporting this.
Sat Nov 13 18:38:21 1999 Darrell Brunsch <brunsch@cs.wustl.edu>
* ace/Configuration.cpp: Fixed some compiler problems with the
ACE_Malloc template instantiations and pointer casting.
Sat Nov 13 11:29:20 1999 Douglas C. Schmidt <schmidt@tango.cs.wustl.edu>
* tests/run_tests.lst: Re-enabled the Process_Manager_Test
to see if it Dave Madden's fixes worked.
Fri Nov 12 21:26:58 1999 David L. Levine <levine@cs.wustl.edu>
* ace/OS.h: without threads, added #ifndef protection for
all of the THR_* macros that didn't already have it.
And, with ACE_HAS_PRIOCNTL on sun, #include <thread.h>
before #including sys/rtpriocntl.h. That ensures that
the THR_* macros are defined first by the system header
file. Thanks to Timothy Canham <Timothy.Canham@jpl.nasa.gov>
for reporting this.
Also, changed a couple of <ace/sys_conf.h> #includes
to "ace/sys_conf.h", because that file is not a system
header.
Fri Nov 12 00:30:41 1999 Irfan Pyarali <irfan@cs.wustl.edu>
* ace/Connector.cpp (connect_i): Since we should change <sh> only
in the confines on the connector lock, it is not proper to use
the <new_sh> copy of <sh> and assign it to <sh> when the connect
succeeds. The removal of <new_sh> should not change the
algorithm (famous last words ;) since <sh> not really be
considered in the case of failures.
* ace/Strategies_T.cpp (ACE_Cached_Connect_Strategy):
* ace/Cached_Connect_Strategy_T.cpp:
If the new connection fails, close out the svc_handler and set
it to zero.
Also in cleanup_hint_i(), reset the <*act_holder> in the
confines and protection of the lock.
* ace/Svc_Handler.cpp (cleanup_hint): Expanded the interface to
allow the resetting of the <act_holder> in an atomic manner wrt
the lock of the connector.
The above changes should fix BUG 310. Thanks to Eric Mitchell
<emitchell@altaira.com> for reporting it.
Fri Nov 12 12:13:29 1999 Steve Huston <shuston@riverace.com>
* ace/config-aix-4.x.h: Made _BSD_INCLUDES and ACE_HAS_CHARPTR_DL
be defined only for pre-AIX 4.3. Thanks to Greg Siebers
<gsiebers@vignette.com> for these changes.
Set ACE_LACKS_PLACEMENT_OPERATOR_DELETE for IBM C++ 3.6 and prior.
Fri Nov 12 11:50:19 1999 Nanbor Wang <nanbor@ace.cs.wustl.edu>
* ACE-INSTALL.html: Added ACE lib/dll naming rules.
Fri Nov 12 10:02:10 1999 Douglas C. Schmidt <schmidt@tango.cs.wustl.edu>
* ace/config-win32-common.h,
* ace/config-win32.h: Fixed inconsistent use of <> and
"" for ACE-specific #includes. Thanks to Dave Delano
<delanod@agcs.com> for reporting this.
Fri Nov 12 08:25:25 1999 David L. Levine <levine@cs.wustl.edu>
* ace/Log_Msg.cpp (open,log,dump): ensure that there
is a message_queue_ by calling get_lock () in multithreaded
applications. This solves the problem where the first
thread that uses a Log_Msg terminates before any other
threads create a Log_Msg instance. Thanks to
Mike Mazurek <mmazurek@std.saic.com> for reporting this.
Thu Nov 11 20:46:29 1999 Ossama Othman <othman@cs.wustl.edu>
* examples/Configuration/Makefile:
Added a Makefile for this example.
* examples/Configuration/config_test.cpp:
ACEified this example, and corrected several errors and
warnings.
Thu Nov 11 20:28:44 1999 Carlos O'Ryan <coryan@cs.wustl.edu>
* ace/Local_Tokens.cpp:
* ace/OS.cpp:
Removed gcc-2.95 warnings about mismatch format and arguments,
the warning only shows up under gcc-2.95 for alphas.
We use <long> to print the addresses which produces correct
results in all the platforms we have access to.
Thanks to Cristian Ferretti <cfs@mat.puc.cl> for pointing this
out.
Thu Nov 11 19:55:52 1999 Darrell Brunsch <brunsch@cs.wustl.edu>
* ace/Configuration.h:
* ace/Configuration.cpp:
* examples/Configuration/config_test.cpp:
MSVC doesn't like _export and _import so changed them to
export_config and import_config.
Thu Nov 11 18:41:24 1999 Ossama Othman <othman@cs.wustl.edu>
* ace/Configuration.h:
* ace/Configuration.cpp:
"path_" variable was allocated with strdup(), but deallocated
with delete(). free() should be used instead.
Added missing class members to member initializer lists.
Changed name of export() to _export(). "export" is a C++
keyword, and shouldn't be used as function name. The import()
method was changed to _import() for sake of being consistent.
Removed duplicate template instantiations.
Thu Nov 11 17:09:19 1999 Darrell Brunsch <brunsch@cs.wustl.edu>
* ace/Configuration.h:
* ace/Configuration.cpp:
ACE-ified the code. Also fixed miscellaneous compiler warnings
and put in template specialization code.
Thu Nov 11 12:10:40 1999 Douglas C. Schmidt <schmidt@tango.cs.wustl.edu>
* ace/Process_Manager.cpp,
ace/Process.cpp: It looks like the thread that's going to use
the Process_Manager object must do a setpgid (0, 0) in order to
establish a process group for its children. Apparently, when
you run the test program from the command line, the shell sets
the process up in a group of its own, but when you run it from
the test script, it's a member of the script's group. In the
latter case, when you spawn a child process, you can't add it to
your own group (because your group doesn't exist!). Thanks to
Dave Madden <dhm@mersenne.com> for contributing this fix.
Thu Nov 11 01:54:55 1999 Luther J Baker <ljb1@cs.wustl.edu>
* ace/Log_Msg.h (msg_ostream):
* ace/Log_Msg.cpp (msg_ostream):
* ace/Log_Msg.cpp (~ACE_Log_Msg):
Added a member to flag whether or not Log_Msg object
assumes responsibility for destroying its ostream_*.
Wed Nov 10 23:29:25 1999 Darrell Brunsch <brunsch@cs.wustl.edu>
* ace/Configuration.cpp:
* ace/Configuration.h:
* ace/Configuration.i:
* examples/Configuration/Configuration.dsw:
* examples/Configuration/Test.dsp:
* examples/Configuration/config_test.cpp:
Added the ACE Configuration class files. Thanks to Chris
Hafey <chafey@pacbell.net> for submitting them.
* ace/ace_dll.dsp:
* ace/ace_lib.dsp:
* ace/Makefile:
* examples/Configuration/Makefile:
Added the Configuration files to the projects and Makefiles.
* ace/config-win32.h:
MSVC only supports operator placement delete as of version 6.
Wed Nov 10 22:12:32 1999 Ossama Othman <othman@cs.wustl.edu>
* configure.in:
Enabled the CVS directory check so that ACE's stock Makefiles
won't get inadvertently clobbered by developers who want to
experiment with the configure script.
* m4/acinclude.m4:
Made CVS directory check more verbose. It now provides an
example of how to avoid the error it detects, i.e. it provides
an example that demonstrates to do a build without affecting the
source.
* Makefile.in:
* ace/Makefile.in:
* ace/config.h.in:
* apps/gperf/src/Makefile.in:
* apps/gperf/Makefile.in:
* apps/Makefile.in:
* netsvcs/clients/Logger/Makefile.in:
* netsvcs/clients/Naming/Client/Makefile.in:
* netsvcs/clients/Naming/Dump_Restore/Makefile.in:
* netsvcs/clients/Naming/Makefile.in:
* netsvcs/clients/Tokens/collection/Makefile.in:
* netsvcs/clients/Tokens/deadlock/Makefile.in:
* netsvcs/clients/Tokens/invariant/Makefile.in:
* netsvcs/clients/Tokens/manual/Makefile.in:
* netsvcs/clients/Tokens/mutex/Makefile.in:
* netsvcs/clients/Tokens/rw_lock/Makefile.in:
* netsvcs/clients/Tokens/Makefile.in:
* netsvcs/clients/Makefile.in:
* netsvcs/lib/Makefile.in:
* netsvcs/servers/Makefile.in:
* netsvcs/Makefile.in:
* man/html/Makefile.in:
* man/man3/Makefile.in:
* man/Makefile.in:
* tests/Makefile.in:
Added these files so that developers who don't have GNU
Autoconf, Automake and Libtool can run the configure script and
attempt builds to provide feedback to us.
Wed Nov 10 21:35:47 1999 Ossama Othman <othman@cs.wustl.edu>
* m4/compiler.m4:
Added some default flags for compilers on IRIX.
* m4/threads.m4:
Added more thread library checks in an effort to figure out if a
thread library really is needed, in the case that the initial
check for pthread_create succeeds without the need of a thread
library. Such a problem occurred on IRIX. This modification
should correct the problem.
Wed Nov 10 10:55:34 1999 Ossama Othman <othman@cs.wustl.edu>
* ace/OS.i (memset, thr_self, thr_getspecific):
Commented the ACE_TRACE statements. On some compiler/platform
combinations these methods get called before the Object Manager
is initialized, which causes the ACE_TRACE call to seg fault
when tracing is enabled in ACE.
Tue Nov 9 17:50:01 1999 Darrell Brunsch <brunsch@cs.wustl.edu>
* ace/config-hpux-10.x-hpc++.h:
Added ACE_LACKS_PLACEMENT_OPERATOR_DELETE since it doesn't seem
to be supported on aCC.
Tue Nov 9 15:47:10 1999 Ossama Othman <othman@cs.wustl.edu>
* ace/XtReactor.cpp (TimerCallbackProc):
Fixed "unused argument" warning.
Tue Nov 9 14:57:51 1999 Ossama Othman <othman@cs.wustl.edu>
* configure.in:
Minor comment updates.
* m4/features.m4:
Fixed asynchronous IO tests. The tests now properly detect
working asynchronous IO on Linux, for example.
Force asynchronous IO tests to be performed after the thread
detection tests in case the real time functions depend on the
thread library.
Tue Nov 9 10:11:22 1999 Douglas C. Schmidt <schmidt@tango.cs.wustl.edu>
* ace/config-g++-common.h: Added ACE_LACKS_PLACEMENT_OPERATOR_DELETE
for the GCC 2.8 and earlier family of compilers since they don't
seem to support this feature.
Mon Nov 8 09:41:34 1999 Douglas C. Schmidt <schmidt@tango.cs.wustl.edu>
* ace/Svc_Handler.cpp: Removed the unused parameter `n'. Thanks
to David Levine for reporting this.
Mon Nov 8 16:34:27 1999 Ossama Othman <othman@cs.wustl.edu>
* acconfig.h:
* configure.in:
Added autoconf support/tests for the following ACE macros:
ACE_HAS_STRPTIME
ACE_LACKS_NATIVE_STRPTIME
ACE_LACKS_PLACEMENT_OPERATOR_NEW
ACE_LACKS_PLACEMENT_OPERATOR_DELETE
Mon Nov 8 09:41:34 1999 Douglas C. Schmidt <schmidt@tango.cs.wustl.edu>
* ace/config-g++-common.h: Added ACE_LACKS_PLACEMENT_OPERATOR_NEW
for older versions of G++. Thanks to David Levine for reporting
this.
* ace/config-sunos5.5.h: Added a #define for
ACE_LACKS_PLACEMENT_OPERATOR_DELETE to handle problems with
SunC++ 4.2.
* ace/Svc_Handler: Not all C++ compilers support placement
operator delete, so we need to #ifdef for it. Thanks to Andy
Gokhale for reporting this.
Sun Nov 07 23:36:51 1999 Nanbor Wang <nanbor@cs.wustl.edu>
* tests/run_tests.bat:
* tests/tests.dsw:
* tests/Auto_IncDec.dsp:
* tests/version_tests/version_tests.dsw:
* tests/version_tests/Auto_IncDec_Test.dsp: Added Auto_IncDec_Test
for MSVC workspaces.
Sun Nov 7 12:03:31 1999 Douglas C. Schmidt <schmidt@tango.cs.wustl.edu>
* ace/Svc_Handler: Added two new placement operator new() and
delete() operations so that it is possible to allocate an
ACE_Svc_Handler from a custom allocator. Thanks to Edan Ayal
<EdanA@cti2.com> for contributing this.
* tests/run_tests.lst: Added Auto_IncDec_Test to the tests.
* ace/Makefile,
tests/Makefile: Added the new Auto_IncDec* stuff to the
makefiles.
* ace: Added Auto_IncDec_T.{h,i,cpp} to the ACE release. This class
automatically increments and decrements a parameterized counter.
Thanks to Edan Ayal <EdanA@cti2.com> for contributing this.
* tests/Auto_IncDec_Test.cpp: Added a test for the ACE_Auto_IncDec
class. Thanks to Edan Ayal <EdanA@cti2.com> for contributing
this.
Fri Nov 05 14:26:38 1999 Jim Buck <jim@nowsol.com>
* ace/OS.cpp (ACE_Time_Value::set): fixed calculation of
microsecond part. This change restores the correct pre-ACE 5.0
behavior.
Fri Nov 5 07:58:14 1999 Douglas C. Schmidt <schmidt@tango.cs.wustl.edu>
* ace/Memory_Pool.i: Fixed stupid typos in Memory_Pool.i.
Thanks to Jeff Parsons for reporting this.
* ace/Memory_Pool.i: Default arguments shouldn't be in the
*.i signatures. Thanks to Andy Gokhale for reporting this.
Thu Nov 4 08:36:34 1999 Douglas C. Schmidt <schmidt@tango.cs.wustl.edu>
* ace/Memory_Pool: Moved the sync() and protect() methods
from ACE_Pagefile_Memory_Pool into the *.i file and made their
parameter names anonymous since these methods are no-ops.
Thanks to Martin Krumpolec <krumpo@pobox.sk> for suggesting
this.
* include/makeinclude/compiler.bor: Changed MISC_CFLAGS
to -a8 -b- -Ve -Vx. Thanks to Jody Hagins for this suggestion.
Thu Nov 04 15:19:54 1999 David L. Levine <levine@cs.wustl.edu>
* ACE version 5.0.8 released.
Thu Nov 04 08:16:25 1999 David L. Levine <levine@cs.wustl.edu>
* config-linux-common.h: only enabled ACE_HAS_SIGTIMEDWAIT
with glibc. RedHat 5.2 doesn't have sigtimedwait.
Mon Nov 01 14:29:04 1999 David L. Levine <levine@cs.wustl.edu>
* ace/Filecache.cpp,Capabilities.cpp,Makefile: moved
ACE_Hash<ACE_CString> and ACE_Equal_To<ACE_CString>
explicit instantiations from Filecache.cpp to Capabilities.cpp,
because it needs them and is used with FOR_TAO.
Mon Nov 01 15:05:44 1999 Steve Huston <shuston@riverace.com>
* THANKS: Added Greg Siebers <gsiebers@vignette.com>
Mon Nov 01 15:02:31 1999 Steve Huston <shuston@riverace.com>
* ace/config-aix-4.x.h: Added definition of ACE_LD_SEARCH_PATH.
Thanks to Greg Siebers <gsiebers@vignette.com> for this fix.
Mon Nov 01 10:11:36 1999 David L. Levine <levine@cs.wustl.edu>
* ace/Capabilities.{i,cpp}: unlined definition of
~ACE_CapEntry. It caused an internal compiler error
with g++ 2.7.2.3, and it is a good idea to not inline
it because it's virtual. Also, prepended ACE_ to
enum values.
Sun Oct 31 22:46:17 1999 David L. Levine <levine@cs.wustl.edu>
* tests/Capabilities_Test.cpp (main): removed declarations
of unused argc and argv arguments.
Sun Oct 31 16:39:53 1999 Darrell Brunsch <brunsch@cs.wustl.edu>
* ace/Capabilities.cpp:
Added ACE_BUILD_DLL so the class is properly exported on NT.
* ace/ace_dll.dsp:
* ace/ace_lib.dsp:
Added Capabilities files to MSVC projects.
* tests/Capabilities_Test.cpp:
Was loading the wrong file, changed to loading
Capabilites_Test.cfg instead of captest.cfg.
* tests/Capabilities_Test.dsp:
* tests/version_tests/Capabilities_Test.dsp:
* tests/tests.dsw:
Added Capabilities_Test project files.
* tests/run_tests.bat:
Added Capabilities_Test to the list of tests.
Sun Oct 31 15:29:08 1999 Douglas C. Schmidt <schmidt@tango.cs.wustl.edu>
* ace/Capabilities.cpp: Cleaned up some of the explicit template
instantiations so they will work on all platforms. Thanks to
Bala for pointing this out.
* ace/Makefile,
* tests/run_tests.lst,
tests/Makefile (BIN): Added an entry for the new ACE_Capabilities
classes.
Fri Oct 29 21:09:49 1999 Ossama Othman <othman@cs.wustl.edu>
* man/html/Makefile.am:
For some reason Automake couldn't automatically copy the HTML
man pages to the distribution directory when doing a `make dist'
so do it manually.
Fri Oct 29 19:53:59 1999 Ossama Othman <othman@cs.wustl.edu>
* Makefile.am (EXTRA_DIST):
Removed ACE.DSW from the distribution list.
* configure.in:
Removed test for necessity of _GNU_SOURCE macro. All uses and
need of that feature test macro have been removed from ACE.
If a thread library was detected, define _REENTRANT in the
command line, not the generated config.h header. The user can
use the ace-config script to determine what other flags are
needed to compile ACE.
Check for sched_yield in the librt library, if it exists, in
addition to the others listed. Solaris 7 moves sched_yield from
the libposix4 library to librt.
Added libsocket to list of libraries to search for
getservbyname().
If check for socket() results in unresolved symbols, add `-lnsl'
to library search.
Improved ACE_HAS_PTHREAD_PROCESS_ENUM test.
Added checks for getpgid, strtok_r, strptime and lseek64
prototypes. The old getpgid test is superceded by a new one. A
prototype is declared if the checks determine that certain
feature test macros are needed to enable them.
Added man directory Makefiles to list of files to generate.
* ace-config.in:
Minor updates. Modified so that "ace" is the default library if
one isn't specified.
* ace-config.1.in:
Minor updates.
* ace/config-linux-common.h:
* ace/OS.h:
Moved all prototypes to OS.h. Only macros should be defined
config headers. Each of the moved prototypes are enabled by
using the following newly added macros:
ACE_LACKS_GETPGID_PROTOTYPE
ACE_LACKS_STRPTIME_PROTOTYPE
ACE_LACKS_STRTOK_R_PROTOTYPE
ACE_LACKS_LSEEK64_PROTOTYPE
All prototypes in ace/OS.h should come after the inclusion of
ace/Basic_Types.h since the prototypes may need types that are
only available after that inclusion. Also added a
ACE_LACKS_PREAD_PROTOTYPE that is used to enable make both
pread() and pwrite() protypes.
Recent glibc libraries have pread() and pwrite() but only enable
the prototypes if _XOPEN_SOURCE=500 is defined (Single Unix
specification). Now define ACE_HAS_P_READ_WRITE and
ACE_LACKS_PREAD_PROTOTYPE on Linux.
* bin/bootstrap:
Added ACE man page generation. Generating the man pages during
the bootstrapping process allows the man page list in
man/man3/Makefile.am to be generated by a shell command instead
of having to explicitly specify each man page in that Makefile.
The man pages will only be generated if the ACE.3 man page
doesn't exist. That man page should be representative of the
existence of the rest of the man pages.
* man/Makefile.am:
* man/html/Makefile.am:
* man/man3/Makefile.am:
Added Automake input files for the ACE man pages. The man pages
will now be installed during a `make install'. This is an
ACE Configuration Project specific enhancement. ACE's current
man page scheme is unchanged, and doesn't support this feature.
* m4/features.m4:
Delete test_aio.log when the test is done.
Fri Oct 29 17:01:58 1999 Kirthika Parameswaran <kirthika@cs.wustl.edu>
* ace/OS.h: Added ACE_DEFAULT_SHLIB_MODE for KCC. Since this mode
wasnt right the DLL_Test failed when compiled using the KAI
compiler. This change fixes this problem too. Thanks to Nanbor
<nanbor@cs.wustl.edu> and Michael Kircher
<michael.kircher@mchp.siemens.de> for helping me on this task.
Fri Oct 29 07:08:16 1999 David L. Levine <levine@cs.wustl.edu>
* include/makeinclude/rules.local.GNU,
include/makeinclude/wrapper_macros.GNU
include/makeinclude/platform_vxworks5.x_g++.GNU:
fixed typo: COMSPEC instead of COMPSPEC.
Thu Oct 28 11:15:43 1999 Nanbor Wang <nanbor@ace.cs.wustl.edu>
* docs/ACE-guidelines.html: Added a new guideline on avoiding
multicharacter format specifiers in ACE_DEBUG/ACE_ERROR.
Thu Oct 28 10:54:42 1999 Nanbor Wang <nanbor@ace.cs.wustl.edu>
* ace/Message_Block.cpp:
* ace/Name_Request_Reply.cpp:
* ace/Time_Request_Reply.cpp:
* ace/Token_Request_Reply.cpp:
Replaced the use of %ld or %lu with %d or %u in
ACE_DEBUG/ACE_ERROR.
* ace/config-kcc-common.h: Undefined
ACE_HAS_NONSTATIC_OBJECT_MANAGER. Thanks to Russ Noseworthy for
noticing this.
Thu Oct 28 10:49:51 1999 Darrell Brunsch <brunsch@cs.wustl.edu>
* ACE.dsw: This is an internal file that I last updated
in 1997 (I don't think it ever got included in the
releases). Being out of date and not used, I removed it.
Thu Oct 28 09:31:19 1999 David L. Levine <levine@cs.wustl.edu>
* tests/SOCK_Send_Recv_Test.cpp (client): if len is not 255,
print out its value.
Thu Oct 28 09:27:47 1999 David L. Levine <levine@cs.wustl.edu>
* include/makeinclude/rules.local.GNU,
include/makeinclude/wrapper_macros.GNU
include/makeinclude/platform_vxworks5.x_g++.GNU:
support ComSpec as well as COMSPEC environment variable
(on Windows). Thanks to Tom Venturella for reporting that
ComSpec was defined on the system that he was using.
Wed Oct 27 20:31:22 1999 Luther J Baker <ljb1@cs.wustl.edu>
* ace/Arg_Shifter.h (ACE_Arg_Shifter): Spelling errors.
Wed Oct 27 16:45:56 1999 David L. Levine <levine@cs.wustl.edu>
* ace/OS.cpp (ACE_Thread_Adapter::invoke): use an
ACE_reinterpret_cast instead of an ACE_static_cast to
cast func (of type ACE_THR_FUNC_INTERNAL) to ACE_THR_FUNC.
Thanks to Tom Venturella for reporting that the static_cast
didn't compile on Tornado II.
Wed Oct 27 16:40:07 1999 David L. Levine <levine@cs.wustl.edu>
* ace/OS.h,ACE.h: added newline before ACE_CLASS_IS_NAMESPACE.
This might solve the problem with the ACE_OS man page
generation failure. Thanks to Samuel Stickland <sps196@hotmail.com>
for reporting this problem.
Wed Oct 27 12:53:15 1999 Nanbor Wang <nanbor@cs.wustl.edu>
* ace/Object_Manager.h:
* ace/config-win32.h: The instructions on how to disable the use
of nonstatic object manager were not consistent for NT and other
platforms. Thanks to Russ Noseworthy for reporting this.
Wed Oct 27 09:48:41 1999 David L. Levine <levine@cs.wustl.edu>
* include/makeinclude/wrapper_macros.GNU: changed check
for whether exceptions are enabled from ifndef exceptions
to ifeq ($(exceptions),). That allows use of
exceptions=0. Thanks to Phil Mesnier <mesnier_p@ociweb.com>
for reporting this.
Wed Oct 27 09:46:05 1999 David L. Levine <levine@cs.wustl.edu>
* include/makeinclude/platform_qnx_neutrino.GNU: removed
-Winline, because it was complaining about operator<<
in generated code.
Wed Oct 27 08:32:47 1999 Douglas C. Schmidt <schmidt@tango.cs.wustl.edu>
* ace/OS.i (timezone): Added an ACE_UNUSED_ARG to please KCC.
Thanks to Dave Madden for reporting this.
Tue Oct 26 14:56:15 1999 Balachandran Natarajan <bala@cs.wustl.edu>
* ace/FlReactor.cpp (reset_timer_interval): Fixed a compile error
with Sun_Egcs. Thanks to Thomas Groth <groth.th@stn-atlas.de>
for reporting this problem & also for giving a fix.
Sat Oct 23 19:11:51 1999 Nanbor Wang <nanbor@cs.wustl.edu>
* ACE version 5.0.7 released.
Fri Oct 22 16:58:44 1999 Darrell Brunsch <brunsch@cs.wustl.edu>
* ace/Dynamic_Service.h: Added an include for OS.h so the
Dynamic_Service.cpp will always get included on platforms
that need it (ie. win32).
Thanks to Paulo Breda Vieira <breda@inesca.pt> for spotting
this problem in the AV Streaming code on NT.
Thu Oct 21 20:21:13 1999 Douglas C. Schmidt <schmidt@tango.cs.wustl.edu>
* ace/Memory_Pool.cpp (map_file): Make sure to update the
base_addr_ with the new mem_map_.addr() before the call to
update the ACE based pointer. Thanks to Damien Dufour
<damien.dufour@horoquartz.fr> for reporting this.
Thu Oct 21 17:10:17 1999 Vishal Kachroo <vishal@cs.wustl.edu>
* ace/OS.i (ioctl): Corrected the implementation of
ACE_OS::ioctl () call with ACE_SIO_GET_QOS io control
code. Thanks to Vidya Narayanan <CVN065@lmpsil02.comm.mot.com>
for reporting this.
* ACE_wrappers/examples/QOS/server.cpp:
* ACE_wrappers/examples/QOS/client.cpp:
* ACE_wrappers/examples/QOS/Sender_QOS_Event_Handler.cpp:
* ACE_wrappers/examples/QOS/Receiver_QOS_Event_Handler.cpp:
Changed the QOS example to GET-QOS only on receipt of a QoS
event. Also tested the changes made to the ioctl (GET_QOS) in
OS.i.
Thu Oct 21 15:46:08 1999 David L. Levine <levine@cs.wustl.edu>
* tests/run_tests.lst: disabled Process_Manager_Test, for now,
because it asserts on Solaris, Irix, Linux, and HP/UX.
Wed Oct 21 14:05:00 1999 Ruibiao Qiu <ruibiao@cs.wustl.edu>
* ace/examples/IPC_SAP/ATM_SAP/CPP_{client,server}.dsp: Added
configurations for building static executables on NT.
Wed Oct 20 00:05:34 1999 Douglas C. Schmidt <schmidt@tango.cs.wustl.edu>
* ace/OS.i: Replaced 0666 wit ACE_DEFAULT_FILE_PERMS. Thanks
to Dave Delano for reporting this.
Tue Oct 19 13:31:15 1999 Joe Hoffert <joeh@cs.wustl.edu>
* ace/ATM_Params.h, ATM_QoS.{h,i}:
Cleaned up comments, removed ACE_ATM_QoS::get_options_params
method (since it's not used), and made changes for UNIX build.
Tue Oct 19 12:55:16 1999 Ossama Othman <othman@cs.wustl.edu>
* ace/Codeset_IBM1047.h:
Include `ace/inc_user_config.h' before check for definition of
ACE_MVS macro since otherwise ACE_MVS may not get defined.
* ace/Codeset_IBM1047.cpp:
Moved inclusion of `ace/Codeset_IBM1047.h' ahead of ACE_MVS
macro definition check, and removed inclusing of
`ace/inc_user_config.h'
* ace/OS.i (llseek):
Reenabled lseek64() on Linux. If _LARGEFILE64_SOURCE is not
defined then an external declaration for lseek64() is made in
the config-linux-common.h header.
* ace/config-linux-common.h:
Minor comment update.
Added extern declaration of lseek64() if _LARGEFILE64_SOURCE is
not defined.
* ace/Handle_Set.cpp:
Check if _XOPEN_SOURCE is #defined instead of _GNU_SOURCE to
determine if the fd_set structure has an fds_bits member.
* ace/Makefile:
Updated dependencies.
* ace/Makefile.am:
Added ATM files to source lists.
* acconfig.h:
Added entries for some additional "feature test" macros, such as
_XOPEN_SOURCE.
* bin/g++dep:
* include/makeinclude/rules.local.GNU:
Incorporated Jody Hagins <jody@atdesk.com> patches that get
around a trailing backslash problem in generated Makefile
dependencies. Thanks Jody!
Tue Oct 19 12:30:00 1999 Kirthika Parameswaran <kirthika@cs.wustl.edu>
* examples/Web_Crawler.dsp: Changed the settings to make the
executable name as main.exe.
* examples/Web_Crawler/URL_Visitor.cpp (~URL_Validation_Visitor):
Removed double deletion of the <strat_connector_> which is the
Strategy Connector.
Tue Oct 19 11:24:16 1999 Nanbor Wang <nanbor@cs.wustl.edu>
* include/makeinclude/wrapper_macros.GNU: Commented out an
out-dated OBJEXT definition. If a rule requires to generated
*.so, then it should specify the extension using SOEXT. Thanks
to Aniruddha Gokhale <gokhale@research.bell-labs.com> for
reporting this.
Tue Oct 19 10:27:37 1999 Carlos O'Ryan <coryan@cs.wustl.edu>
* bin/run_all_list.pm:
Added TAO/tests/DSI_Gateway to the list of tests
Tue Oct 19 00:43:34 1999 Nanbor Wang <nanbor@cs.wustl.edu>
* ace/config-win32-common.h: Undefined ACE_HAS_EXCEPTIONS under
WinCE.
The following changes are contributions from James Buck
<jim@newsol.com> and Peter C. Chien <peter@newsol.com> .
* ace/config-WinCE.h (ACE_LACKS_SOCKET_BUFSIZ): We cannot change
the socket buffer size on WinCE.
* ace/OS.h:
* ace/OS.i:
* ace/OS.cpp: Added a customized TSS errno implementation for
WinCE version 2.10 and above based on James and Peter's patch.
ACE_Errno_Guard also had to be changed when using this
implementation. However, this code is not active by default
because I don't know how to detect CE's OS and platform
configuration automatically. To use the code, define
ACE_HAS_WINCE_BROKEN_ERRNO.
* ace/OS.i(cond_wait,cond_timedwait): On WinCE, we must tweak the
returning result from the semaphore if timeout occurred.
Because CE uses the simulated semaphore, the returning value is
not the same as that returned by a native semaphore.
Tue Oct 19 00:03:57 1999 Nanbor Wang <nanbor@cs.wustl.edu>
* include/makeinclude/wrapper_macros.GNU:
* include/makeinclude/rules.bin.GNU:
* include/makeinclude/rules.lib.GNU:
* include/makeinclude/rules.local.GNU: Chaged the following
settings to be platform configurable:
OBJDIRS: Names of directories to keep obj files. Default is
'.obj' and '.shobj'.
OBJEXT: Extension name for obj files. Default is 'o'.
SOEXT: Extension name for so files. Default is 'so'.
LIBEXT: Extension name for lib files. Default is 'a'.
CC_OUTPUT_FLAG:
LINK_OUTPUT_FLAG:
SO_OUTPUT_FLAG: Flags to specify output file name for cc, linker
and so_linker. Defaults are '-o'.
Mon Oct 18 23:46:00 1999 Nanbor Wang <nanbor@cs.wustl.edu>
* ace/config-freebsd-pthread.h: Undefined ACE_HAS_PENTIUM for
freebsd. The high resolution timer doesn't seem to work on this
platfrom.
* ace/OS.i (cuserid): Added missing ACE_UNUSED_ARG (maxlen)
statement.
* ace/Log_Msg.cpp (log): FreeBSD defines sys_nerr as a const int.
Mon Oct 18 23:13:55 1999 Kirthika Parameswaran <kirthika@cs.wustl.edu>
* examples/Web_Crawler/URL_Visitor.cpp: Updated some broken
template instantiations. Thanks to Bruce Alderson
<balderso@triant.com> for reporting this.
Mon Oct 18 21:32:29 1999 Ossama Othman <othman@cs.wustl.edu>
Updates that remove need to use _GNU_SOURCE macro on Linux/glibc
systems [Bug 167]:
* ace/OS.i:
Return ACE_static_cast (off_t, -1), instead of just -1 in
ACE_OS::lseek(). (not related to _GNU_SOURCE updates)
Only enable lseek64() on Linux/glibc systems if
_LARGEFILE64_SOURCE is defined.
Don't use cuserid() on Linux/glibc systems. It was dropped
from POSIX.1 back in 1990. Instead, extract the user name from
getpwuid(geteuid()), as suggested by the glibc cuserid() man
pages and Stevens' Advanced programming in the UNIX
Environment.
* ace/Handle_Set.cpp:
XPG4.2 declares an fds_bit member in the fd_set structure.
Since _GNU_SOURCE is being disabled in ACE, use the __fds_bits
member. It's not pretty, but it works.
* ace/config-linux-common.h:
strptime() is an XOPEN function. It is only enabled if
_XOPEN_SOURCE or _GNU_SOURCE is defined (_GNU_SOURCE causes
_XOPEN_SOURCE to be defined on Linux/glibc systems). If
_XOPEN_SOURCE is not defined, create an external declaration for
it.
Mon Oct 18 18:41:38 1999 Steve Huston <shuston@riverace.com>
* ace/OS.h: Add #include <dce/cma_sigwait.h> for HP-UX 10.x, and...
* ace/OS.i (ACE_OS::sigwait): On HP-UX 10.x, call cma_sigwait
directly. Fixes bug #66.
Mon Oct 18 15:45:08 1999 Irfan Pyarali <irfan@cs.wustl.edu>
* ace/OS.i (event_wait): The following changes are incorrect and
have been reverted:
http://ace.cs.wustl.edu/cvsweb/ace-cvs.cgi/ACE_wrappers/ace/OS.i?r1=4.796&r2=4.797.
Remember that <is_signaled_> is only turned on to remember
state, i.e., when <waiting_threads_> == 0. In the case when
there are waiters, i.e., <waiting_threads_> != 0, <is_signaled_>
is not turned on, and therefore breaks the wait function since
while (event->is_signaled_ == 0)
never becomes false. We need a better way to protect against to
guard against spurious wakeups.
Mon Oct 18 13:42:37 1999 Nanbor Wang <nanbor@cs.wustl.edu>
* ace/OS.h: Added extra parentheses to avoid operator precedence
mix-up. Thanks to JM Strauss
<jms97@club-internet.fr> for reporting this.
Mon Oct 18 13:30:08 1999 Nanbor Wang <nanbor@cs.wustl.edu>
* ace/OS.h: Removed a whole bunch of extra blank in ACE_DES_*FREE*
macro definitions. Thanks to JM Strauss
<jms97@club-internet.fr> for pointing this out.
Sun Oct 17 19:08:51 1999 Balachandran Natarajan <bala@cs.wustl.edu>
* ace/QtReactor.cpp: Fixed a bug in remove_handle_i () method. I
found this when I was testing the test for the QtReactor.
Sun Oct 17 11:00:46 1999 Douglas C. Schmidt <schmidt@tango.cs.wustl.edu>
* include/makeinclude/platform_sunos5_sunc++.GNU (LD): Added
a fix so that SunC++ 5.0 will work correctly when it's used in
"compat" mode with SunC++ 4.2. Thanks to Susan Liebeskind
<susan.liebeskind@gtri.gatech.edu> for reporting this fix.
* ace/Malloc_T.cpp (remove): Need to call the destructor of
ACE_Malloc_Stats explicitly in remove(). Thanks to Jean-Marc
Strauss <jms97@club-internet.fr> for reporting this.
* ace/Containers_T.i (get): ACE_DLList::get() didn't check
the return value from ACE_Double_Linked_List::get() so it was
possible for the node variable to be NULL. Now it checks for
the error case explicitly. Thanks to Boris Sukholitko
<palisander@hotmail.com> for reporting this bug.
* ace/Containers_T.cpp (get): The ACE_Double_Linked_List::get()
method should return -1 on error but it was returning 1. Now,
the implementation matches the documentation. Thanks to Boris
Sukholitko <palisander@hotmail.com> for reporting this bug.
Sat Oct 16 17:10:23 1999 Douglas C. Schmidt <schmidt@tango.cs.wustl.edu>
* ace/Makefile:
* ace/Svc_Conf_l.cpp: Replace exit(1) with ACE_OS::exit(1)
so that CodeWarrior doesn't get confused. Thanks to David
Delano <delanod@agcs.com> for reporting this.
* ace/OS.cpp: Removed the '&' in front of thread_args to make
CodeWarrior happier. Thanks to David Delano <delanod@agcs.com>
for reporting this.
* ace/OS.cpp: Removed the table_() "initialization" for
ACE_TSS_Cleanup since this breaks the CodeWarrior C++ compiler.
Thanks to David Delano <delanod@agcs.com> for reporting this.
* ace/OS.i: There was a bug with the ACE_OS::truncate()
emulation for Win32. We need to check for ACE_INVALID_HANDLE
and NOT < 0! Thanks to David Delano <delanod@agcs.com> for
reporting this.
Sat Oct 16 11:17:10 1999 Irfan Pyarali <irfan@cs.wustl.edu>
* TAO/tao/Sync_Strategies.cpp (buffering_constraints_reached):
Changed the signature of
TAO_Flush_Sync_Strategy::buffering_constraints_reached() to
match the base class.
Fri Oct 15 17:28:05 1999 Irfan Pyarali <irfan@cs.wustl.edu>
* ace/Connector.cpp (connect_i): Only close <new_sh> if we have a
valid <new_sh>. Thanks to Yury Kuznesov <yury@websci.ru> for
reporting this problem.
Fri Oct 15 17:26:08 1999 Balachandran Natarajan <bala@cs.wustl.edu>
* include/makeinclude/wrapper_macros.GNU: Added a new flag that
would help conditional compilation compilation of the
QtReactor.
* ace/QtReactor.cpp:
* ace/QtReactor.h: Files for the QtReactor. Thanks to Hamish
Friedlander <ullexco@wave.co.nz> for donating this to ACE. For
the sake of record, Qt is a multiplatform C++ GUI toolkit.
* ace/Makefile: Added the above files to Makefile. Changes were
also made to generate files from moc (Meta Object Compiler,
that comes with Qt libraries) and include them with the build.
Fri Oct 15 01:03:13 1999 Douglas C. Schmidt <schmidt@tango.cs.wustl.edu>
* ace/Activation_Queue: ACE_Activation_Queue has no methods for
inspecting the size of the queue. The solution was to add the
methods: method_count(), is_empty(), and is_full(). Thanks to
Travis Shirk <travis@pobox.com> for contributing this.
Fri Oct 15 00:36:35 1999 Douglas C. Schmidt <schmidt@mambo.cs.wustl.edu>
* tests/Process_Manager_Test.cpp (main): Replaced
ACE_OS::exit(secs) with return secs so that Purify will be
happy.
Thu Oct 14 14:30:06 1999 David L. Levine <levine@cs.wustl.edu>
* tests/Process_Manager_Test.cpp: use u_int instead of
bool. Make ~Exit_Handler () public so that g++ doesn't
complain about a private destructor with no friends.
Commented out unused local variable child7.
Thu Oct 14 14:25:44 1999 Dave Madden <dhm@mersenne.com>
* tests/Process_Manager_Test.cpp: fixed the memory leaks, and
most of the "unused variable" warnings should be gone.
I've added, but left commented out, ASSERTs for the child
process' exit codes. The reason is that, on Unix, the exit
code contains extra information (exited, traced, stopped,
signaled, etc.) that causes the exit code from wait() to be
different from what the child's main() returned.
Wed Oct 13 20:23:58 1999 Nanbor Wang <nanbor@cs.wustl.edu>
* ace/config-WinCE.h: Added ACE_LACKS_ACE_TOKEN and
ACE_LACKS_ACE_OTHER to reduce CE dll's footprint.
* ace/Memory_Pool.cpp (ACE_Pagefile_Memory_Pool::map): The
SECURITY_DESCRIPTOR and its management routines are only
supported on NT. Changed to pass a NULL security attribute on
non-NT platforms (95, 98, CE.)
Wed Oct 13 10:50:39 1999 David L. Levine <levine@cs.wustl.edu>
* tests/run_tests.sh: use uname -s without checking to
see if /bin/uname, etc., exist. Redirect stderr to
the sysname string. It works.
Wed Oct 13 10:39:50 1999 David L. Levine <levine@cs.wustl.edu>
* ace/OS.h: ensure that ACE_THR_PRI_FIFO_DEF and
ACE_THR_PRI_OTHER_DEF are defined on non-threaded platforms,
to support application source code compatibility.
Wed Oct 13 10:11:47 1999 David L. Levine <levine@cs.wustl.edu>
* tests/Malloc_Test.cpp: fixed preprocessor logic so that
the test is neutered on LynxOS. [Bug 224]
Wed Oct 13 01:15:45 1999 Nanbor Wang <nanbor@cs.wustl.edu>
* ace/Parse_Node.cpp: Made sure we don't try to duplicate a null
string. This was causing problem when the initialization string
was missing from a service entry. Thanks to Chris Hafey
<chris@stentorsoft.com> for reporting this.
Tue Oct 12 15:05:12 1999 Douglas C. Schmidt <schmidt@tango.cs.wustl.edu>
* tests/run_tests.lst: Reenabed Dave Madden's new
Process_Manager_Test so that we can see if it works on various
platforms.
* tests/Process_Manager_Test.cpp (main): Added a new one-button
test for the ACE_Process_Manager. Thanks to Dave Madden
<dhm@mersenne.com> for contributing this test.
* ace/Process_Manager.cpp (wait): Fixed a bug triggered by
a process-specific wait. Thanks to Dave Madden
<dhm@mersenne.com> for contributing this fix.
* ace/ACE.cpp (format_hexdump): Replaced
textver[i] = (c < 0x20 || c > 0x7e) ? '.' : c;
with
textver[i] = isprint (c) ? c : '.';
since this is more portable. Thanks to Jim Rogers
<jrogers@viasoft.com> for reporting this.
* ace/Memory_Pool.i: Changed implementation to
round_to_chunk_size() to ACE::round_to_pagesize(), which appears
to be the "Right Thing"[TM] on NT.
Tue Oct 12 14:49:00 1999 Ruibiao Qiu <ruibiao@cs.wustl.edu>
* ace/ATM_Stream.h
* ace/ATM_Acceptor.h: Moved #pragma after ACE include
so that g++ would not give warning messages. Thanks to
Dr. David L. Levine <levine@cs.wustl.edu> for pointing this out.
Tue Oct 12 14:26:15 1999 David L. Levine <levine@cs.wustl.edu>
* ace/config-qnx-neutrino.h: added #define of
ACE_THR_PRI_FIFO_DEF. This allows us to easily set a thread
priority (10) that's lower the the TCP service threads (17) in
tests. Thanks to Sean Boudreau <seanb@qnx.com> for suggesting
that.
Tue Oct 12 14:16:18 1999 David L. Levine <levine@cs.wustl.edu>
* etc/purify.solaris2: added some more UMR suppressions
for SunOS 5.7 (with Sun CC 4.2).
Tue Oct 12 13:22:22 1999 David L. Levine <levine@cs.wustl.edu>
* include/makeinclude/platform_sunos5.6_sparc_sunc++_4.2.GNU:
removed to avoid confusion. It just included
platform_sunos5_sunc++.GNU; that should be used directly,
instead. Thanks to Dan Butler <daniel.g.butler@boeing.com>
for reporting this.
Tue Oct 12 12:40:41 1999 Jeff Parsons <parsons@cs.wustl.edu>
* ace/Memory_Pool.i:
* ace/Memory_Pool.cpp:
Fixed some errors in Win32 specific code.
Tue Oct 12 12:20:08 1999 David L. Levine <levine@cs.wustl.edu>
* docs/ACE-subsets.html: updated status, and added some
missing motivation sections. Thanks to Wei Chiang
<wei.chiang@nokia.com> for reporting that the document
was out-of-date.
Tue Oct 12 11:57:21 1999 David L. Levine <levine@cs.wustl.edu>
* ace/config-sunos5.6-sunc++-4.x.h: removed because it
#included a header that no longer exists in the
distribution. ace/config-sunos5.6.h should be used
instead. Thanks to Dan Butler <daniel.g.butler@boeing.com>
for reporting this.
Tue Oct 12 11:48:00 1999 Ruibiao Qiu <ruibiao@cs.wustl.edu>
* ace/ATM_Addr.{h,cpp,i}:
* ace/ATM_Stream.{h,cpp,i}:
* ace/ATM_Connector.{h,cpp,i}:
* ace/ATM_Acceptor.{h,cpp,i}:
* ace/ATM_QoS.{h,cpp,i}:
* ace/ATM_Params.{h,cpp,i}: Added support for Fore ATM on Windows
platform. Enabled when ACE_HAS_ATM and ACE_HAS_FORE_ATM_WS2
are defined.
* ace/config-win32-common.h: Added needed header include when
ACE_HAS_FORE_ATM_WS2 is defined.
* ace/ace_dll.dsp:
* ace/ace_lib.dsp: Included ATM_* classes files in the porject files.
* examples/IPC_SAP/ATM_SAP/CPP-client.cpp
* examples/IPC_SAP/ATM_SAP/CPP-server.cpp: Changed example codes
so that they can be run on Windows. They are now non-interactive,
and show data rates at each end.
* examples/IPC_SAP/ATM_SAP/CPP_client.dsp
* examples/IPC_SAP/ATM_SAP/CPP_server.dsp
* examples/IPC_SAP/ATM_SAP/ATM_SAP.dsw: Created MSVC project files
and workspace file for these examples.
Tue Oct 12 11:37:56 1999 David L. Levine <levine@cs.wustl.edu>
* tests/run_tests.sh: export ACE_ROOT if setting it.
Tue Oct 12 11:32:23 1999 David L. Levine <levine@cs.wustl.edu>
* tests/run_tests.pl,run_tests.sh: don't print "Skipping test
on this platform" message for DISABLED tests. Set
ACE_ROOT to .. if it wasn't set.
* tests/run_tests.sh: don't invoke uname command on
Neutrino, because it's not supported.
Tue Oct 12 08:53:52 1999 Irfan Pyarali <irfan@cs.wustl.edu>
* ace/Message_Queue.cpp (enqueue): <cur_bytes_> and <cur_length_>
should increase by total_size() and total_length() respectively.
And in dequeue(), <cur_length_> should decrease by
total_length(). Thanks to Christopher Kohlhoff
<chris@kohlhoff.com> for pointing this out.
Tue Oct 12 10:00:52 1999 Douglas C. Schmidt <schmidt@tango.cs.wustl.edu>
* ace/Memory_Pool (ACE_Pagefile_Memory_Pool):Added a new memory
pool that uses the Win32 page file. Thanks to Dieter Quehl for
contributing this.
Mon Oct 11 17:07:46 1999 Douglas C. Schmidt <schmidt@tango.cs.wustl.edu>
* ace/Message_Queue.cpp (enqueue): ACE fails to compile because of
a for-loop scoping problem in the method
ACE_Message_Queue_NT::enqueue. Thanks to Christopher Kohlhoff
<chris@kohlhoff.com> for reporting this.
* ace/Activation_Queue.cpp (enqueue): Changed the
creation of the ACE_Message_Block so that it uses the sizeof
(ACE_Method_Request) to ensure the queue's flow control
mechanism works properly. Thanks to Dan Gilboa
<dgilboa@qualcomm.com> for reporting this.
Mon Oct 11 17:36:15 1999 Nanbor Wang <nanbor@cs.wustl.edu>
Thanks to Wei Chiang <wei.chiang@nokia.com> for the following
patches.
* ace/Thread_Manager.cpp (kill_thr): Chorus only supports
SIGTHREADKILL here. Made sure we remove the killed thread from
the managed thread list.
* tests/Thread_Manager_Test.cpp: Changed the test to check for
cooperative cancellation even if the platform doesn't support
sending signaling to a specific thread. On Chorus, this signal
has to be SIGTHREADKILL.
Mon Oct 11 17:35:51 1999 Nanbor Wang <nanbor@cs.wustl.edu>
* ace/config-kcc-common.h: Added
ACE_HAS_STD_TEMPLATE_SPECIALIZATION for KCC.
Mon Oct 11 12:05:31 1999 Wei Chiang <wei.chiang@nokia.com>
* ace/Signal.cpp (ACE_Sig_Action ctors),
ace/Select_Reactor_T.cpp (register_handler,remove_handler):
disabled signal-related operations on Chorus.
Mon Oct 11 10:15:28 1999 David L. Levine <levine@cs.wustl.edu>
* bin/check_build_logs: suppress some Purify warnings. Purify
says that it's ignoring the problem; so will we.
Mon Oct 11 10:09:56 1999 David L. Levine <levine@cs.wustl.edu>
* ACE version 5.0.6 released.
Mon Oct 11 07:34:34 1999 Douglas C. Schmidt <schmidt@tango.cs.wustl.edu>
* ace/OS.h: Removed a stray '>' that was causing OS.h not to
compile. Thanks to Marvin Allen Wolfthal <maw@ziplink.net>
for reporting this.
Fri Oct 8 07:47:08 1999 Douglas C. Schmidt <schmidt@tango.cs.wustl.edu>
* ace/OS.h: Removed the word "defined" since that was breaking
SunCC 4.2. Thanks to Andy Gokhale for reporting this.
Thu Oct 07 18:47:03 1999 Irfan Pyarali <irfan@cs.wustl.edu>
* ace/OS.h (ACE_NOTSUP): Added new macro. This one is similar to
ACE_NOTSUP_RETURN, except that there is no return value (similar
to ACE_GUARD and ACE_GUARD_RETURN).
* ace/Message_Queue (message_length): Returns the total length on
the queue, i.e., sum of the message block lengths.
Since manual changes to these stats might be necessary,
specially when queued message blocks change size or lengths
(without dequeuing the messages from the queue), we also provide
methods for setting these stats.
* ace/Message_Block.i (total_length): This new method is similar
to <total_size> except that it deals with the length of the
message blocks and not the size of the message blocks. It
returns the length of the message blocks, including chained
message blocks.
Thu Oct 7 13:17:29 1999 Douglas C. Schmidt <schmidt@tango.cs.wustl.edu>
* ACE-INSTALL.html: Changed the word "compiler" to
"linker". Thanks to George Ball <george@jgserv.co.uk>
for reporting this.
Thu Oct 07 11:35:13 1999 Steve Huston <shuston@riverace.com>
* ace/streams.h: Added #include <strstream.h> in the non-Win32
section of the !ACE_HAS_STANDARD_CPP_LIBRARY section, for systems
like Solaris w/ SC4.2.
Wed Oct 6 21:36:18 1999 Douglas C. Schmidt <schmidt@tango.cs.wustl.edu>
* ace/Log_Msg.cpp (log): Forgot to remove a stray %s.
Thanks to Kitty Krishnakumar <kitty@neo.shinko.co.jp> for
reporting this.
Wed Oct 06 16:42:56 1999 Nanbor Wang <nanbor@cs.wustl.edu>
* examples/Reactor/Misc/Misc.dsw:
* examples/Reactor/Misc/demuxing.dsp: Added the demuxing test
project file.
* examples/Reactor/Misc/test_demuxing.cpp: MS Windows only
supports a limited set of signals. Made sure we use them in the
examples.
Wed Oct 06 16:20:28 1999 David L. Levine <levine@cs.wustl.edu>
* tests/CDR_File_Test.cpp (run_test): when reading, ensure
that the message block has sufficient space to properly
align the 64-bit double on LynxOS and Neutrino. Thanks
to Jeff for helping to track this down, and for Carlos
for providing the fix.
Wed Oct 6 15:40:11 1999 Vishal Kachroo <vishal@cs.wustl.edu>
* ace/OS.i : Initialised the qos_len variable to sizeof (QOS)
within the ioctl () method for ACE_SIO_GET_QOS.
* ACE_wrappers/examples/QOS/client.cpp:
* ACE_wrappers/examples/QOS/server.cpp: Added a test for the
ACE_SIO_GET_QOS io control code. The Sending and Receiving
QOS flowspec parameters are extracted and printed for both the
sender and receiver using this control code.
Wed Oct 6 08:36:17 1999 Douglas C. Schmidt <schmidt@tango.cs.wustl.edu>
* ace/OS.h: Changed
# if defined (__SUNPRO_CC < 0x500)
to this
# if defined (__SUNPRO_CC < 0x500) || ((__SUNPRO_CC == 0x500 && > __SUNPRO_CC_COMPAT == 4))
to work around compilation problems with Sun CC 5.0 when used in
Sun CC 4 compatibilty mode. Thanks to Erik Koerber
<erik.koerber@siemens.at> for this fix.
* ace/Log_Msg.cpp (log): Added support for a %m option that
behaves like strerror() rather than perror(). Thanks to Kitty
Krishnakumar <kitty@neo.shinko.co.jp> for this feature.
* ace/OS.i (event_wait): We need to put the call to
ACE_OS::cond_wait() in a loop to guard against spurious wakeups.
Thanks to Sergey Nemanov <sergey.nemanov@intel.com> and Vladimir
Kondratiev <vladimir.kondratiev@intel.com> for reporting this
and suggesting a fix.
* tests/Malloc_Test.cpp: Don't run the Malloc_Test on LynxOS.
* tests/MM_Shared_Memory_Test.cpp: Fixed the code so that it'll
compile correctly on platforms that lack fork(), such as
VxWorks. Thanks to David Levine for reporting this.
Tue Oct 5 16:17:57 1999 Douglas C. Schmidt <schmidt@tango.cs.wustl.edu>
* tests/MM_Shared_Memory_Test.cpp (spawn): Make sure to
delete the synchronizer in both the parent and the child
processes since otherwise we get a memory leak! Thanks to David
Levine for pointing this out.
* tests/Task_Test.cpp (main): Make sure to delete the thread hook
before exiting the process to avoid a memory leak. Thanks to
David Levine for pointing this out.
Tue Oct 5 15:04:03 1999 Douglas C. Schmidt <schmidt@danzon.cs.wustl.edu>
* ace/[Active_|Hash_]Map_Manager: Modified these classes so that the
find() methods are all "const". Thanks to Jody Hagins
<jody@atdesk.com> for reporting this.
Tue Oct 05 21:58:06 1999 Nanbor Wang <nanbor@cs.wustl.edu>
* ace/config-WinCE.h: Reenabled ACE_HAS_MFC. This should be the
most portable configuration. If you insist not to use MFC at
all, define ACE_HAS_MFC=0 in your config.h file.
* ace/OS.h:
* ace/OS.cpp (set_window): Removed the MFC specific set_window
method so we can use ACE in both MFC and non-MFC applications.
* ace/INET_Addr.h: Applied ASYS_TEXT to several default
string literals.
* ace/DLL.h:
* ace/DLL.cpp: Changed the type of <dll_name> in ctor and the open
method to ASYS_TCHAR to minimize string conversion.
* tests/DLL_Test.cpp: Applied ASYS_TEXT to the name of the DLL
file.
Tue Oct 5 19:01:43 1999 Jeff Parsons <parsons@cs.wustl.edu>
* ace/CDR_Stream.i:
Changed << for bounded (w)strings to marshal only 'length'
bytes, instead of 'bound' bytes. The previous method could
cause an access violation if the string fits near the end
of a system page, but the 'bound' extends beyond it. Thanks
to Brian Wright <bwright@paladyne.com> for reporting this
bug.
Mon Oct 4 08:31:58 1999 Douglas C. Schmidt <schmidt@tango.cs.wustl.edu>
* examples/Shared_Malloc/test_persistence.cpp: Enhanced the
list_employees() method so that it'll print the contents of
ACE_Malloc<> in FIFO and LIFO order.
* ace/Malloc[_T].{h,cpp}: Added a new iterator for ACE_Malloc<>
called ACE_Malloc_FIFO_Iterator, which prints out the
ACE_Name_Node entries in FIFO order. In addition, renamed
ACE_Malloc_Iterator to be ACE_Malloc_LIFO_Iterator because it
prints the ACE_Name_Node entries in LIFO order. Also added a
#define of ACE_Malloc_Iterator to ACE_Malloc_LIFO_Iterator to
ensure backwards compatibility. Thanks to Wenli Bai
<bai@gsao.med.ge.com> for this enhancements.
* tests/MM_Shared_Memory_Test.cpp: Fixed the test so that it should
work correctly for platforms that use either processes or
threads. Also, make sure to call remove() on the
ACE_Process_Semaphore so that stray semaphores aren't left
around. Thanks to David Levine for helping to track this down.
* ace/Synch.h: Updated the documentation for the
ACE_Process_Semaphore destructor to indicate that it doesn't
remove the semaphore. Instead, you must call remove()
explicitly. Thanks to David Levine for helping to track this
down.
* ace/Malloc_T.cpp (print_stats): Added a cast for the ACE_LOCK to
work around the fact that the print_stats() method is const.
Thanks to Jean-Marc Strauss <jms97@club-internet.fr> for
reporting this.
* ace/INET_Addr.cpp (set): Added ACE_UNUSED_ARG
so the compiler won't complain about the protocol paraemter in
parts of the code where it's not used.
* tests/MM_Shared_Memory_Test.cpp (spawn): Added ACE_UNUSED_ARG
so the compiler won't complain about process_synchronizer in
parts of the code where it's not used.
Sun Oct 3 12:47:35 1999 Douglas C. Schmidt <schmidt@tango.cs.wustl.edu>
* tests/Process_Mutex_Test.cpp (main): Renamed the confusing "server" stuff
to "parent" where appropriate.
* tests/MM_Shared_Memory_Test.cpp: Don't call ACE_OS::exit()
in the child since this won't clean up the Object_Manager
correctly. Thanks to David Levine for reporting this. However,
we'll still have two "end" statements, but only one begin
statement, which is confusing. I'm not sure how to solve this,
but it won't break anything.
* tests/MM_Shared_Memory_Test.cpp: Oops, only do the
acquire()/release() of the Process_Semaphore if we have fork()!
* tests/MM_Shared_Memory_Test.cpp: Added an ACE_Process_Semaphore
so we no longer need to sleep in order to wait for the server to
be initialized.
* tests/Process_Strategy_Test.cpp (main): Switched the processes
in which the client and server are run so that the server is now
run in the parent and the client is run in the child. This made
it possible to remove the ACE_OS::sleep(1) call because the
acceptor is created before the fork, so the client should always
be able to connect to the server, even if the server isn't
scheduled to run again before the client.
* tests/Process_Mutex_Test.cpp,
* tests/SV_Shared_Memory_Test.cpp:
Fixed some improper style problems with these tests.
Sun Oct 03 10:34:19 1999 David L. Levine <levine@cs.wustl.edu>
* tests/SV_Shared_Memory_Test.cpp (main): only delete
parent_mutex and parent_synch in the parent, to prevent
double deletion by the child. [Bug 91]
Sun Oct 03 10:21:15 1999 David L. Levine <levine@cs.wustl.edu>
* tests/SV_Shared_Memory_Test.cpp: create parent_mutex and
parent_synch before forking, to avoid race condition between
their creation in the parent and use in the child. This
allowed us to remove the sleep (1) in the child. [Bug 91]
Sun Oct 03 10:17:21 1999 David L. Levine <levine@cs.wustl.edu>
* ace/OS.cpp (ACE_Thread_Adapter::invoke): added casts of
func (to ACE_THR_FUNC) and its return value (to void *)
so that this function will compile for VxWorks and pSOS.
Sat Oct 2 18:54:38 1999 Vishal Kachroo <vishal@cs.wustl.edu>
* ace/SOCK_Dgram_Mcast.{cpp,h}: Added ACE_Protocol_info as a
parameter to the QoS enabled private method subscribe_ifs. This
allows the use of ACE_Protocol_Info->iAddressFamily in the call
to join_leaf (). Thanks to Vidya Narayanan
<CVN065@lmpsil02.comm.mot.com> for pointing this out.
Sat Oct 2 16:20:33 1999 Nanbor Wang <nanbor@cs.wustl.edu>
* ace/config-kcc-common.h: The macro __KCC_VERSION was not
available in 3.3e so we switched to check the existence of this
macro to decide the availability of auto_ptr::reset(). Thanks
to Ossama for noticing this bug.
Sat Oct 2 16:10:26 1999 Ossama Othman <othman@cs.wustl.edu>
* ace/config-linux-common.h:
Linux (glibc 2.x) has lseek64() so define ACE_HAS_LLSEEK.
* ace/OS.i (llseek):
Removed external declaration for llseek() on Linux. Linux uses
lseek64(), not llseek(). Updated macro checks to use lseek64()
for Linux. [Bug 276]
Sat Oct 2 16:01:50 1999 Douglas C. Schmidt <schmidt@mambo.cs.wustl.edu>
* ace/INET_Addr.h (ACE_INET_Addr): Removed an unnecessary "protocol"
string. Thanks to Jeff and Ossama for reporting this.
Sat Oct 2 12:50:43 1999 Douglas C. Schmidt <schmidt@danzon.cs.wustl.edu>
* ace/INET_Addr: Previous, it was not possible to specify the
proto argument in the ACE_INET_Addr constructor because it was
hard-coded to "tcp". Now, this can be passed as a parameter.
Thanks to Jaymes Galvin <galvinj@agcs.com> for this suggestion.
Fri Oct 1 14:44:12 1999 Vishal Kachroo <vishal@cs.wustl.edu>
* ace/OS.h : Added the Winsock2 GQOS related #defines to this
file. The #defines are limited to the ones used in the ACE QOS
example.
* ACE_wrappers/examples/QOS/server.cpp:
* ACE_wrappers/examples/QOS/client.cpp:
* ACE_wrappers/examples/QOS/QosEvent.h:
Changed the QOS example to use the ACE flags instead of Windows
flags. Removed the #defines from the example and moved them to
OS.h
Fri Oct 1 13:14:17 1999 Douglas C. Schmidt <schmidt@tango.cs.wustl.edu>
* ChangeLog: Added more Borland support. Thanks to
Christopher Kohlhoff <chris@kohlhoff.com> for this.
Fri Oct 01 13:05:24 1999 David L. Levine <levine@cs.wustl.edu>
* Makefile: move instructions for creating kits down in
the file, and added note that they're intended for
ACE+TAO developers and maintainers, only. Thanks to
Rick Hess <rick.hess@lmco.com> for pointing out that
that wasn't clear.
Fri Oct 1 08:23:36 1999 Joe Hoffert <joeh@cs.wustl.edu>
* ace/ATM_Connector.{h,i}: Added add_leaf method and functionality.
Thu Sep 30 16:55:41 1999 Douglas C. Schmidt <schmidt@tango.cs.wustl.edu>
* tests/Task_Test.cpp (main): Added a short example illustrating
how the new ACE_Thread_Hook mechanism works.
* ace/OS.cpp: Added new support for the thread_hook to
ACE_OS_Object_Manager.
* ace/OS.cpp (invoke): Added support for a virtual "start_hook()"
method in a new ACE_Thread_Hook class. This makes it possible
for users to subclass ACE_Thread_Hook perform initialization
operations before the thread entry point method is called back.
Thanks to Chris Hafey <chris@stentorsoft.com> for this
suggestion.
Thu Sep 30 20:40:42 1999 Marina Spivak <marina@cs.wustl.edu>
* bin/run_all_list.pm:
Added TAO/examples/Load_Balancing demo to the list of daily
executed tests.
Thu Sep 30 11:36:20 1999 Charles Frasch <cfrasch@spawar.navy.mil>
* include/makeinclude/wrapper_macros.GNU: in checks for
ACE_HAS_GNUG_PRE_2_8, use $(notdir $(CXX)) to properly
handle case where CXX has a directory part.
Thu Sep 30 11:13:14 1999 Douglas C. Schmidt <schmidt@tango.cs.wustl.edu>
* ace/Pipe.cpp (open): Don't use socketpair() for pipes on LynxOS
since this doesn't work for some reason. Instead, use the
socket emulation. Thanks to David Levine for reporting this.
Thu Sep 30 10:30:00 1999 Kirthika Parameswraan <kirthika@cs.wustl.edu>
* ace/README: Added documentation for:
ACE_HAS_BROEN_EXTENDED_TEMPLATES Thanks to Fritz Bosch
<FBosch@accatel.de> for suggesting this.
Thu Sep 30 10:07:38 1999 Douglas C. Schmidt <schmidt@tango.cs.wustl.edu>
* ace/Strategies_T.h: Added
#define ACE_Refcounted_Hash_Recyclable ARHR
to work around broken linkers that can't handle long
symbol names. Thanks to Fritz Bosch <FBosch@acatel.de>
for this suggestion.
Wed Sep 29 20:58:45 1999 Darrell Brunsch <brunsch@cs.wustl.edu>
* ace/config-win32.h:
* ace/config-win32-common.h:
Winsock2.h wasn't being included before my checks of the
winsock version, so I moved it to -common.h instead.
Wed Sep 29 16:40:45 1999 Nanbor Wang <nanbor@cs.wustl.edu>
The following changes fix the Service_Configurator on Windows
CE. Thanks very much to Kirthika for her help on making this
work.
* tests/WinCE/DLL_Test.dsp:
* tests/WinCE/ce_tests.dsw: Added the DLL_Test project.
* ace/ace_ce_dll.dsp: Added DLL.cpp into the project.
* ace/Service_Types.i (name):
* ace/Service_Object.i (name): Changed to use ACE::strnew to
duplicate the name string.
* ace/Parse_Node.cpp: Changed all the ACE_*_Node classes to make
copies of all string variables and release when they get
destructed. This is necessary because on Windows CE, the
strings passed into these classes are very short-lived (we use
ASCII to UNICODE conversion macros which make temporary copies
only.) The change shouldn't affect the performance of ACE since
parsing the svc.conf entries should never be in the critical
path.
* ace/Parse_Node.h: The comments for <must_delete_> in
ACE_Location_Node is completely outdated. It now specifies
whether the Service_Object generated by this Location_Node
should be removed or not when it is no longer in use, not the
<pathname_>.
* ace/OS.i (access): Added a temporary implementation for CE here.
ACE::ldfind check the file accessibility using this function.
Currently, we hard-code the method to check for read-access only
(i.e., the argument <amode> is not used) which needs to be
fixed.
* ace/OS.cpp (fopen): Check for invalid handle and return NULL if
handle is invalid on CE. Otherwise, CE programs get totally
confused.
* ace/Malloc.cpp (dump): I added some more operations in the dump
methods but forgot to make them UNICODE friendly.
* ace/config-WinCE.h: Added the macro definition for
ACE_DEFAULT_LD_SEARCH_PATH since CE doesn't support environment
variables at all and we need to hard-code the search path on
CE.
* ace/README: Added documentation for ACE_DEFAULT_LD_SEARCH_PATH.
* ace/ACE.cpp (ldfind): When the macro ACE_DEFAULT_LD_SEARCH_PATH is
defined, we should use the hard-coded search path instead of
trying to use getenv to acquire the search path.
* examples/Service_Configurator/Misc/Timer_Service.cpp:
* examples/Service_Configurator/Misc/Timer_Service.h: Made the
services UNICODE and CE friendly by applying ASYS_TEXT and using
ASYS_TCHAR liberally.
* examples/Service_Configurator/Misc/README: Added instructions on
how to run the example on Windows CE.
Tue Sep 28 15:46:23 1999 Darrell Brunsch <brunsch@cs.wustl.edu>
* ace/OS.i: Fixed some GQOS stuff for the older versions of
WinSock 2.
* ace/config-win32.h: Uses a better detection technique to
figure out whether we are compiling with WinSock 2's newer
headers or not.
Tue Sep 28 14:48:26 1999 Irfan Pyarali <irfan@cs.wustl.edu>
* ace/WFMO_Reactor.cpp (handler): Implemented previously
unimplemented function.
Tue Sep 28 15:02:33 1999 Vishal Kachroo <vishal@cs.wustl.edu>
* ace/OS.i (ioctl): Added the #if def ACE_HAS_WINSOCK2_GQOS for
the extra fields in struct _flowspec.
Mon Sep 27 19:16:34 1999 Douglas C. Schmidt <schmidt@tango.cs.wustl.edu>
* ace/OS.i (timezone): SunOS 4 needs to use gettimeofday() to find
the current timezone. Thanks to Kamen Penev
<penev@earthlink.net> for reporting this fix.
Mon Sep 27 19:30:54 1999 Carlos O'Ryan <coryan@cs.wustl.edu>
* THANKS:
Added Dennis to the hall of fame list.
Mon Sep 27 17:12:51 1999 Vishal Kachroo <vishal@cs.wustl.edu>
* ace/OS.i:
* ace/OS.h:
Added an overloaded ioctl () that is used when the io control
code is one of SIO_SET_QOS or SIO_GET_QOS. Thanks to Vidya
Narayanan <CVN065@lmpsil02.comm.mot.com> for help with this
feature.
* ACE_wrappers/examples/QOS/server.cpp:
* ACE_wrappers/examples/QOS/client.cpp:
Made changes to the usage of ioctl () in the above files to
reflect the corresponding changes in ACE.
Mon Sep 27 13:11:02 1999 Douglas C. Schmidt <schmidt@tango.cs.wustl.edu>
* ace/config-sunos5.5.h: Wrap the define statement in a
conditional that prevents declaration of #define
ACE_HAS_STL_QUEUE_CONFLICT for gcc 2.95. We don't know if this
is a problem in newer versions of Solaris but this will get rid
of it for 5.5.1. Thanks to Siegurd Weber <siegurdw@hotmail.com>
for this fix.
Mon Sep 27 16:56:10 1999 Carlos O'Ryan <coryan@cs.wustl.edu>
* ace/OS.cpp:
ACE_OS::cond_init() has two completely separate versions, i
forgot to fix the NT version too, thanks to Vishal for pointing
this out.
Mon Sep 27 16:05:35 1999 Darrell Brunsch <brunsch@cs.wustl.edu>
* tests/Object_Manager_Test.dsp:
* tests/run_tests.bat:
* tests/tests.dsw:
* tests/version_tests/Object_Manager_Test.dsp:
* tests/version_tests/version_tests.dsw:
Added Object_Manager_Test support on Win32 and MSVC.
Mon Sep 27 15:23:47 1999 Carlos O'Ryan <coryan@cs.wustl.edu>
* ace/OS.h:
* ace/OS.i:
Fixed overloading problems for cond_init() under LynxOS and
Chorus, thanks to John K. Black <jblack@s22ct.npt.nuwc.navy.mil>
for reporting the problem and providing a fix.
This fixes [BUGID:342]
Mon Sep 27 13:11:02 1999 Douglas C. Schmidt <schmidt@tango.cs.wustl.edu>
* ace/SString.h: Added the default value for the ACE_CString
method set (const char *, int = 1). We had removed the default
values from both the set() methods in order to remove an
ambiguity. However, it appears that it's ok to give just this
method a default value. Moreover, this prevents existing code
from breaking. Thanks to Giga Giguashvili
<gregoryg@ParadigmGeo.com> and Ivan Murthy
<Ivan.Murphy@med.siemens.de> for reporting this.
Sat Sep 25 17:09:57 1999 Carlos O'Ryan <coryan@cs.wustl.edu>
* ACE version 5.0.5 released.
Fri Sep 24 17:20:41 1999 Nanbor Wang <nanbor@cs.wustl.edu>
* ace/config-kcc-common.h: KCC does support auto_ptr<T>::reset
after 3.4. Made sure we don't define ACE_AUTO_PTR_LACKS_RESET
for newer version of KCC. Thanks to Ossama for reporting the
problem.
Fri Sep 24 08:59:13 1999 Douglas C. Schmidt <schmidt@tango.cs.wustl.edu>
* ace/config-sunos4-g++.h: Added ACE_HAS_DIRENT.
Thanks to Kamen Penev <penev@earthlink.net> for reporting this.
* tests/Handle_Set_Test.cpp (test_boundaries): Added some casts
and parens so that the code will compile with MSVC++ 5.0.
Thanks to Carlos O'Ryan for reporting this.
* examples/Connection/blocking/SPIPE-{acceptor,connector}.cpp:
Reformatted some of the code.
Fri Sep 24 08:27:28 1999 David L. Levine <levine@cs.wustl.edu>
* ace/OS.*,Synch.cpp: reverted changes of:
Thu Sep 23 11:13:38 1999 Wei Chiang <wei.chiang@nokia.com>
because Bug 342 proposes a more general fix.
Thu Sep 23 19:02:47 1999 Vishal Kachroo <vishal@cs.wustl.edu>
* examples/QOS/server.cpp (main):
* examples/QOS/server.cpp (main):
Removed the instantiation of ACE_OS_Object_Manager from
the above files. This is done automagically in ACE.
* examples/QOS/Sender_QOS_Event_Handler.h:
Fixed a warning regarding the #def of MY_DEFPORT.
Thu Sep 23 14:12:58 1999 Carlos O'Ryan <coryan@cs.wustl.edu>
* bin/auto_compile:
It was reporting success even when things failed.
Thu Sep 23 11:13:38 1999 Wei Chiang <wei.chiang@nokia.com>
* ace/OS.*,Synch.cpp: Chorus compiler (g++) seems to be
confused by "int" and "int&" in overloaded operations.
A dummy variables to full Chorus compiler is added to
cond_init (ACE_cond_t*, ACE_condattr_t&, LPCTSTR void*).
* include/makeinclude/rules.bin.GNU,platform_chorus.GNU:
updated to support linking of TAO executables for Chorus.
Wed Sep 22 19:30:49 1999 Randall Sharo <rasb@eci.esys.com>
* ace/OS.i (sema_wait): on VxWorks, update tv to return
the wait time. [Bug 339]
* ace/Synch.h (ACE_Semaphore::acquire): updated comment
to show that the absolute acquisition time is returned,
not the elapsed time while waiting.
Wed Sep 22 16:59:19 1999 Nanbor Wang <nanbor@cs.wustl.edu>
* ace/config-win32-common.h: Added definition of
ACE_AUTO_PTR_LACKS_RESET when ACE_HAS_STANDARD_CPP_LIBRARY is
defined. Thanks to Ossama for the quick hint.
Wed Sep 22 13:05:55 1999 Jim Rogers <jrogers@viasoft.com>
* ace/Codeset_IBM1047.cpp: added #include "ace/inc_user_config.h"
at the beginning, to properly pick up the ACE_MVS #define
on MVS.
Wed Sep 22 11:20:39 1999 David L. Levine <levine@cs.wustl.edu>
* ace/Basic_Types.h: use u_long for ptr_arith_t, even
with 64-bit ints, with Sun CC. For unknown reasons,
Sun CC 5.0 won't allow a reintepret cast of a 64-bit
pointer to a 64-bit int (with -xtarget=ultra -xarch=v9a).
Thanks to Giga Giguashvili <gregoryg@ParadigmGeo.com> for
reporting this.
1999-09-21 James CE Johnson <jcej@chiroptera.tragus.org>
* docs/tutorials/Makefile
* docs/tutorials/???/*
Added a number of notes about proper usage of THR_NEW_LWP and
THR_DETACHED. Rebuilt all of the .html and .shar files. Probably
touched too many along the way but better safe than sorry.
Tue Sep 21 21:56:10 1999 David L. Levine <levine@cs.wustl.edu>
* docs/ACE-subsets.html: replaced absolute link to
../ACE-INSTALL.html#repo with a relative link. And,
added "typically" to the 25 percent size reduction figure.
Tue Sep 21 16:49:36 1999 Douglas C. Schmidt <schmidt@tango.cs.wustl.edu>
* docs/ACE-subsets.html,ACE-INSTALL.html: Updated the document
to point to the -frepo discussion. Thanks to Timothy Canham
<Timothy.Canham@jpl.nasa.gov> for motivating this.
Tue Sep 21 16:07:26 1999 David L. Levine <levine@cs.wustl.edu>
* docs/ACE-subsets.html: fixed size comparison chart; the
For TAO entry was missing for SunOS 5.7/egcs 2.91.60.
Thanks to Timothy Canham <Timothy.Canham@jpl.nasa.gov>
for reporting this.
Tue Sep 21 15:34:16 1999 Douglas C. Schmidt <schmidt@tango.cs.wustl.edu>
* ace/Service_Config.cpp (process_directives_i): Added a fix
so that the Service_Config allows one level of reentrancy.
Thanks to Jonathan Reis <reis@minniemouse.cemax.com> for
suggesting this.
Tue Sep 21 11:35:57 1999 Douglas C. Schmidt <schmidt@ace.cs.wustl.edu>
* examples/Threads/tss1.cpp (main): Need to rearrange where the
explicit template instantiations are to make certain compilers
happy. Thanks to Jeffrey Franks <Jeffrey_Franks@i-o.com> for
reporting the problem.
* tests/Makefile.bor: Updated ACE tests makefile to build (almost)
all of the tests. Thanks to Christopher Kohlhoff
<chris@kohlhoff.com> for this fix.
* examples/Reactor/Misc/test_signals_2.cpp (main),
* examples/Reactor/WFMO_Reactor/test_talker.cpp (STDIN_Handler):
Preemptively fixed a couple more potential problems that might
trigger the type of problem reported in the next entry below.
Tue Sep 21 11:41:33 1999 Ossama Othman <othman@cs.wustl.edu>
* apps/Gateway/Gateway/Event_Channel.cpp (open):
Changed cast style to make gcc 2.95.1 happy. Thanks to Jeffrey
Franks <Jeffrey_Franks@i-o.com> for reporting the problems.
Tue Sep 21 11:25:32 1999 Carlos O'Ryan <coryan@cs.wustl.edu>
* bin/auto_compile:
Print the most recent ChangeLog entries in the log file.
Report successful builds by default.
Reformat email to make Darrell happier, btw, he made most of
these suggestions.
Tue Sep 21 11:13:21 1999 Steve Huston <shuston@riverace.com>
* ace/streams.h: Added includes/using to pick up strstream for
istrstream, ostrstream classes when ACE_HAS_STD_CPP_LIBRARY is set.
Tue Sep 21 09:38:20 1999 David L. Levine <levine@cs.wustl.edu>
* tests/run_tests.lst: disabled Signal_Test. [Bug 309]
Tue Sep 21 08:33:21 1999 David L. Levine <levine@cs.wustl.edu>
* ACE-INSTALL.html: use shared_libs=1, not shared_libs_only=1,
to build shared libs on VxWorks. That avoids missing libACE.a,
for example, when linking other libraries. Thanks to
Uwe Landrock <Uwe.Landrock@med.siemens.de> for reporting this.
Mon Sep 20 10:52:37 1999 Douglas C. Schmidt <schmidt@tango.cs.wustl.edu>
* ACE-INSTALL.html: Clarified that the --unix flag must be given for
Cygwin tools on Vxworks and NT. Thanks to Uwe Landrock
<Uwe.Landrock@med.siemens.de> for reporting this.
Mon Sep 20 10:34:51 1999 Steve Huston <shuston@riverace.com>
* ACE-INSTALL.html: Fixed broken link to Riverace's HP-UX info.
Thanks to Doug for finding this.
Sun Sep 19 12:48:31 1999 Douglas C. Schmidt <schmidt@tango.cs.wustl.edu>
* tests/Signal_Test.cpp: Only send outselves a signal if we're
running the signal handler in a separate thread.
Sun Sep 19 10:39:30 1999 Douglas C. Schmidt <schmidt@mambo.cs.wustl.edu>
* tests/Signal_Test.cpp: Changed the type of shut_down indicator from
ACE_Atomic_Op<> to sig_atomic_t. This prevents some nasty
deadlocks.
* tests/run_tests.lst: Reenabled Signal_Test so we can see if it's
still working.
* tests/Signal_Test.cpp: Changed the worker_child() function so that
just before its thread exits, it will sent its process a signal
to the signal handling thread to dislodge it if it hasn't
shutdown on its own accord yet. Thanks to David Levine for
reporting this. This fixes [BUGID:309].
* ACE/Handle_Set.h: Updated the documentation to point out that it's
the *caller's* responsibility to ensure handles aren't
added/cleared from the set if their values are larger than
ACE_DEFAULT_SELECT_REACTOR_SIZE. This behavior is necessary to
ensure efficiency.
* tests/Handle_Set_Test.cpp (test_boundaries): Fixed the test so
that it will correctly ignore any handle values >=
ACE_DEFAULT_SELECT_REACTOR_SIZE. Thanks to David Levine for
reporting this. This fixes [BUGID:315].
Sat Sep 18 18:49:31 1999 Jeff Parsons <parsons@cs.wustl.edu>
* ace/config-win32-borland.h:
Undefined ACE_HAS_BROKEN_IMPLICIT_CONST_CAST as
suggested by Christopher Kohlhoff <chris@kohlhoff.com>.
Sat Sep 18 17:31:52 1999 Douglas C. Schmidt <schmidt@tango.cs.wustl.edu>
* examples/QOS: Improved the conformance to ACE programming
guidelines a bit.
* ace/Message_Block.cpp: Whenever a ACE_Message_Block accepts a
ACE_Data_Block that was produced by someone else, it should
verify that the allocator is non-NULL and if it is, then it
should allocate the ACE_ALLOCATOR_RETURN on it. Thanks to
Pierre Grondin <pierre_grondin@srtelecom.com> for reporting
this.
* docs/tutorials/006: Fixed the activate() method so that it uses
THR_DETACHED. Thanks to Shafiek Savahl
<shafiek.savahl@ericsson.com.au> for reporting this.
Sat Sep 18 16:17:34 1999 Carlos O'Ryan <coryan@cs.wustl.edu>
* bin/auto_compile:
The messages include the build name in the subject line. Thanks
to Darrell for suggesting this idea.
Sat Sep 18 12:00:28 1999 Douglas C. Schmidt <schmidt@tango.cs.wustl.edu>
* ace/Message_Block.h: Changed all the ACE_Message_Block constructors
so that the priority parameter defaults to
ACE_DEFAULT_MESSAGE_BLOCK_PRIORITY, rather than 0. Thanks to
Detlef Becker for this suggestion.
* ace/OS.h: Added a new macro called
ACE_DEFAULT_MESSAGE_BLOCK_PRIORITY, which defaults to 0 but
which can be overridden in a config.h file to a different value
so it's possible to transparently choose default priorities that
are > 0. Thanks to Detlef Becker <Detlef.Becker@med.siemens.de>
for this suggestion.
Fri Sep 17 19:49:15 1999 Kirthika Parameswaran <kirthika@cs.wustl.edu>
* tests/Hash_Map_Manager_Test.cpp: Repositioned template
instantiations and static variables to make the debug=0 build
happy with SunCC5.0.
Fri Sep 17 15:34:46 1999 Nanbor Wang <nanbor@cs.wustl.edu>
* ace/Malloc.cpp (dump):
* ace/Malloc_T.cpp (dump): Enriched various dump methods a bit.
Thu Sep 16 17:53:57 CDT 1999 Loren Rittle <rittle@rsch.comm.mot.com>
* bin/update-ace+tao.sh: Added force option.
Thu Sep 16 17:43:02 CDT 1999 Loren Rittle <rittle@rsch.comm.mot.com>
* bin/update-ace+tao.sh: Improve portability.
Thu Sep 16 11:08:45 1999 Ossama Othman <othman@cs.wustl.edu>
* ace/Makefile:
* tests/Makefile:
Updated dependencies.
Wed Sep 15 21:42:08 1999 Carlos O'Ryan <coryan@cs.wustl.edu>
* ace/OS.h:
Removed extra "typedef" in the declaration of the
ACE_Protocol_Info structure, it was causing a large number of
warnings in several platforms.
Wed Sep 15 15:08:33 1999 Ossama Othman <othman@cs.wustl.edu>
* bin/run_all_list.pm:
Run the newly added TAO/tests/ORB_init/run_test.pl script when
executing the ORB_init test.
Wed Sep 15 14:49:50 1999 Balachandran Natarajan <bala@cs.wustl.edu>
* ace/Hash_Map_With_Allocator_T.h:
* ace/Hash_Map_With_Allocator_T.i: Added a method unbind () which
unbinds an entry by only taking a key.
Wed Sep 15 13:19:36 1999 Nanbor Wang <nanbor@cs.wustl.edu>
* ace/Service_Config.cpp (process_directive): Added ace_yyrestart
to make sure the service config parser has a valid buffer to
work on. Thanks to Lothar Werzinger
<werzinger.lothar@krones.de> for reporting this.
Wed Sep 15 10:50:21 1999 James Hu <jxh@entera.com>
* ace/TP_Reactor.{cpp,h,i} (mask_ops): Fixed a problem where
cancel_wakeup would fail. Since an event handler is suspended
for the duration of the up-call, the wait_mask_ was being
over-written by the suspend_mask_ when the event handler was
resumed. This fixes the problem by extending TP_Reactor with
its own implementations of mask_ops that operate on both
wait_mask_ and suspend_mask_.
Wed Sep 15 10:14:21 1999 Ossama Othman <othman@cs.wustl.edu>
* docs/exceptions.html:
Corrected some ACE_TRY_THROW examples. The exception being
thrown must have a parameter list, even if it is empty
(e.g.: ACE_TRY_THROW (CORBA::BAD_PARAM ());)
Tue Sep 14 22:10:24 1999 Kristopher Johnson <kjohnson@gardnersys.com>
* ace/Process_Manager.cpp (wait): changed array index from
i to idx. Thanks to Dave Madden for confirming this fix.
Reverted this change:
Tue Sep 14 16:01:04 1999 Christopher Kohlhoff <chris@kohlhoff.com>
because it's no longer necessary.
Tue Sep 14 21:00:45 1999 Vishal Kachroo <vishal@cs.wustl.edu>
* ace/OS.h: Added a typedef for ACE_Protocol_Info for non-Win32
platforms. Defined it as a struct (with limited fields) instead
of u_long because applications using ACE_Protocol_Info on
non-Win32 platforms expect this to be a structure instead of a
u_long.
* ACE_wrappers/examples/QOS/Makefile: Added this for the test to
compile on non-Win32 platforms.
* ACE_wrappers/examples/QOS/server.cpp:
* ACE_wrappers/examples/QOS/client.cpp:
* ACE_wrappers/examples/QOS/QosEvent.h:
* ACE_wrappers/examples/QOS/Sender_QOS_Event_Handler.cpp:
Removed the last remains of win32isms from the test. The QoS
test now compiles clean on non-Win32 platforms.
Tue Sep 14 17:49:33 1999 Luther J Baker <ljb1@cs.wustl.edu>
* ace/Arg_Shifter.cpp (get_the_parameter): removed an errant
return 0;
Tue Sep 14 16:01:04 1999 Christopher Kohlhoff <chris@kohlhoff.com>
* ace/Process_Manager.cpp (wait): moved declaration of
loop index i out of the loop, because it is used outside
the scope of the loop.
Tue Sep 14 15:03:21 1999 Ossama Othman <othman@cs.wustl.edu>
* bin/run_all_list.pm:
Added ORB_init test to the list of tests to run.
* configure.in:
* configure:
Do not define ACE_USE_POLL, even if system poll() works.
Tue Sep 14 11:02:06 1999 Balachandran Natarajan <bala@cs.wustl.edu>
* ace/Hash_Map_With_Allocator_T.h:
* ace/Hash_Map_With_Allocator_T.cpp:Added a find () method that
would lookup at the underlying Hash_Map_Manager_Ex to do the
find.
Sat Sep 11 12:18:22 1999 Douglas C. Schmidt <schmidt@tango.cs.wustl.edu>
* ace/Pipe.cpp: Make sure to use SOCK_STREAM rather than SOCK_DGRAM
when creating a socketpair. Thanks to Dave Madden for reporting
this.
Mon Sep 13 13:31:23 1999 Luther J Baker <ljb1@cs.wustl.edu>
* ace/Arg_Shifter.cpp (get_the_parameter): continued -ORB parsing
fixes. Allows one simple method to return a parameter value for
defined flag is it exists.
Mon Sep 13 11:01:24 1999 Nanbor Wang <nanbor@cs.wustl.edu>
* examples/Shared_Malloc/test_persistence.cpp: Added comments on
the use of scanf. Thanks to Wenli Bai <bai@gsao.med.ge.com> for
reporting the problem.
Sun Sep 12 19:23:51 1999 Nanbor Wang <nanbor@cs.wustl.edu>
* ACE version 5.0.4 released.
Sat Sep 11 12:18:22 1999 Douglas C. Schmidt <schmidt@tango.cs.wustl.edu>
* ace/Process_Manager.cpp: Reverted the following change so that we
just add a fake "friend" to keep G++ happy... Also, fixed a
typo where we should have allocated an ACE_Managed_Process
rather than an ACE_Process. Thanks to Dave Madden for reporting
this.
* ace/Process_Manager.cpp: Added the ACE_CLASS_IS_NAMESPACE method
to ACE_Managed_Process to make G++ happy. Also, removed the
trailing '_' since we don't need this because we've prefixed
"ACE_" already.
Fri Sep 10 16:58:34 1999 Nanbor Wang <nanbor@cs.wustl.edu>
* ace/Malloc_T.cpp (open,shared_malloc): Added several placement
new's if position independent malloc is enabled to avoid reading
uninitialized memory.
Fri Sep 10 16:39:13 1999 Vishal Kachroo <vishal@cs.wustl.edu>
* examples/QOS/README:
* examples/QOS/server.cpp:
* examples/QOS/client.cpp:
* examples/QOS/Sender_QOS_Event_Handler.h:
* examples/QOS/Sender_QOS_Event_Handler.cpp:
Removed the Win32-isms from the above files and used cleaner ACE
interfaces. Added a README file that describes the test.
Fri Sep 10 16:38:51 1999 Nanbor Wang <nanbor@cs.wustl.edu>
* tests/WinCE/*.dsp: VC 6 changed all the dsp files format.
Fri Sep 10 11:20:47 1999 Douglas C. Schmidt <schmidt@ace.cs.wustl.edu>
* ace/SOCK_Acceptor.h,
ace/SOCK_Connector.h: Updated the documentation to clarify what
happens wrt blocking vs. non-blocking connects and accepts.
Thanks to Jose Rubio <jrubio@tr.comm.mot.com> for motivating
this change.
Thu Sep 9 16:27:56 1999 Douglas C. Schmidt <schmidt@tango.cs.wustl.edu>
* ace/Process_Manager,
ace/Process: Added some new patches from Dave Madden to obtain
greater control over the spawn() behavior.
Fri Sep 10 14:30:17 1999 Vishal Kachroo <vishal@cs.wustl.edu>
* ace/SOCK_Dgram_Mcast.i:
* ace/SOCK_Dgram_Mcast.h:
Added two send () functions using overlapped I/O to the
ACE_SOCK_Dgram_Mcast class. These simply call the parent
class functions with the same signature. The recv () functions
need not be added as there is currently no recv () function
within SOCK_Dgram_Mcast class to hide any parent class recv ()
functions.
Fri Sep 10 12:24:17 1999 Carlos O'Ryan <coryan@cs.wustl.edu>
* THANKS:
Added Joerg Pommnitz to the list of contributors.
Thu Sep 9 22:48:56 1999 Darrell Brunsch <brunsch@cs.wustl.edu>
* ace/config-hpux-10.x-hpc++.h:
* ace/config-hpux-11.x-hpc++.h:
Fixed spelling of ACE_PREPROCESSOR_ARGS to
ACE_CC_PREPROCESSOR_ARGS.
Thu Sep 9 18:22:21 CDT 1999 Carlos O'Ryan <coryan@cs.wustl.edu>
* ace/Future.cpp:
HP/aCC was giving bogus warning about function without a return
statement (the function only has a throw).
Thu Sep 09 14:56:29 1999 David L. Levine <levine@cs.wustl.edu>
* ACE-INSTALL.html: we now fully support QNX Neutrino 2.0.
* ACE-INSTALL.html: expanded repo=1 discussion. [Bug 248]
Thu Sep 09 13:21:03 1999 Nanbor Wang <nanbor@cs.wustl.edu>
* ace/ace_ce.dsw:
* ace/ace_ce_dll.dsp: Changed to use the project file format for
CE Toolkit for VC 6.
* ace/config-WinCE.h: Added some macros definitons for POSIX error
codes. They are removed for Palm-size CE v2.01. This
configuration is still not working because its compilers don't
support placement new, which I don't know how to work around.
* ace/Process_Manager.cpp (wait): Applied ASYS_TEXT macros.
* ace/OS.cpp (init,fini): Applied ACE_TEXT macros around error
message print out.
(print_error_message): Added a WinCE specialized
implementation.
Thu Sep 09 12:45:06 1999 David L. Levine <levine@cs.wustl.edu>
* ace/config-qnx-neutrino.h: added ACE_HAS_SIGISMEMBER_BUG.
Sigset_Ops_Test passes with that.
Thu Sep 09 12:31:51 1999 David L. Levine <levine@cs.wustl.edu>
* tests/Handle_Set_Test (handle_vector[]):
limit the maximum handle in handle_vector to 31, 63, 127, and
254 if ACE_DEFAULT_REACTOR_SIZE is less than or equal to
32, 64, 128, and 256, respectively. [Bug 315]
Thu Sep 9 09:39:46 1999 Kirthika Parameswaran <kirthika@cs.wustl.edu>
* etc/purify.solaris2: Added suppression for MLK due to OS accept
call. [Bug 227]
Thu Sep 09 09:24:29 1999 David L. Levine <levine@cs.wustl.edu>
* tests/run_tests.lst: disabled Signal_Test. [Bug 309]
Thu Sep 9 08:46:58 1999 Douglas C. Schmidt <schmidt@tango.cs.wustl.edu>
* tests/Lazy_Map_Manager_Test.cpp (main): ACEified this a bit
and fixed a typo for the argv argument in main().
* Updated the ACE-mail.html file to put the *-request addresses
first. Thanks to Lorin Hochstein <lmh@xiphos.ca> for this
suggestion.
Wed Sep 08 23:01:22 1999 Nanbor Wang <nanbor@cs.wustl.edu>
* examples/Service_Configurator/Misc/Timer_Service.h: Added
ACE_Svc_Export specifiers.
* examples/Service_Configurator/Misc/Misc.dsw:
* examples/Service_Configurator/Misc/Timer.dsp: Added a new
project file for the dll file.
Wed Sep 08 22:19:47 1999 David L. Levine <levine@cs.wustl.edu>
* ace/config-qnx-neutrino.h: added some magic to allow
compilation to succeed when optimization is enabled,
for x86 targets. The egcs 1.1.2 string.h #includes
x86/string.h, which has anti-social #defines for
memcmp, memcpy, and memset. Therefore, they can't be
used as C++ member functions, such as in ACE_OS. The
hack is to disable optimization just when #including
string.h.
* include/makeinclude/platform_qnx_neutrino.GNU: default
both optimize and repo to 1.
Wed Sep 8 17:25:07 1999 Douglas C. Schmidt <schmidt@tango.cs.wustl.edu>
* ace/OS.h (ACE_FACTORY_DEFINE): It shouldn't be necessary
to use ACE_dynamic_cast() or ACE_static_cast() for the
ACE_FACTORY_DEFINE macro because ACE_Service_Object's destructor
is virtual. Thanks to Carlos for pointing this out.
Wed Sep 8 16:51:45 1999 Kirthika Parameswaran <kirthika@cs.wustl.edu>
* ace/Acceptor.cpp (handle_close): Removed a unnecessary check
for <concurrency_strategy_> which was causing UMR to occur.
Wed Sep 08 16:48:55 1999 David L. Levine <levine@cs.wustl.edu>
* include/makeinclude/wrapper_macros.gnu (purify): moved
-ignore-signals option to tests/Makefile, because that's
where it's needed.
* tests/Makefile (purify): added SIGHUP and SIGTERM to
-ignore-signals, to prevent warnings from Signal_Test.
[Bug 309]
Wed Sep 8 15:58:07 1999 Douglas C. Schmidt <schmidt@tango.cs.wustl.edu>
* tests/Log_Msg_Test.cpp (test_ostream): Make sure to add 1
to the buffer we allocate dynamically so we can put a NUL at the
end of it! Thanks to David Levine for reporting this. [Bug 312]
* examples/Service_Configurator/Misc/main.cpp (main): Changed the
test of the -f Service Configurator option so that it links two
different svc.conf files to avoid reentrancy problems.
* examples/Service_Configurator/Misc/svc.conf: Revised this
svc.conf file (and the application) to illustrate the use of
both static *and* dynamic service. Thanks to Amir Bahmanyari
<amir@peakstone.com> for motivating this.
Wed Sep 8 14:05:00 1999 Kirthika Parameswaran <kirthika@cs.wustl.edu>
* ace/Log_Msg.cpp: Shifted the instantiations to the top to keep
SunCC5.0 debug=0 build happy.
* tests/Cached_Accept_Conn_Test.cpp: Repositioned global
declarations to ward off compilation errors on HP-UX.
Wed Sep 8 13:13:18 1999 Douglas C. Schmidt <schmidt@tango.cs.wustl.edu>
* ace/Process.h (ACE_Process): Made the spawn() method virtual
so code can be executed just before and/or after the actual
fork(). Thanks to Dave Madden for this fix.
Tue Sep 07 19:55:52 1999 Irfan Pyarali <irfan@cs.wustl.edu>
* ace/Map_Manager.h (ACE_Map_Manager): The old map manager (the
one before the changes made to support the active map manager)
used to allow deletion of entries from the map during iteration
(note that this feature was accidental since typically changes
to container invalidates the iterators). The new design did not
support this "feature". However, some users had come to depend
on this feature.
The solution was to delay the movement of freed slots from the
occupied list to the free list until we run out of free slots in
the free list when binding new entries into the map. However,
this change requires additional state in each entry that keeps
track of whether this entry has been freed. Also, the time
required for binding new entries is less predictable since the
bind may require moving of freed slots from the occupied list to
the free list because of the initial lazy unbind.
Changes were also required to the Active_Map_Manager since it
directly depends on the internals of the Map_Manager.
Since this lazy feature is not required in the majority of cases
and results in increased memory consumption, this feature is
only support if ACE_HAS_LAZY_MAP_MANAGER is defined.
A new test Lazy_Map_Manager_Test.cpp was added to check the new
changes.
Thanks for Dr. Schmidt for helping with this solution and to
Murphy Ivan <Ivan.Murphy@med.siemens.de> for pointing out this
problem.
Bug fixed: id 228.
Tue Sep 7 15:19:33 1999 Douglas C. Schmidt <schmidt@tango.cs.wustl.edu>
* tests/Log_Msg_Test.cpp (test_ostream): NUL-terminated the buffer
to avoid an array bounds overflow! Thanks to David Levine for
reporting this.
Tue Sep 7 12:38:37 1999 Darrell Brunsch <brunsch@cs.wustl.edu>
* tests/Reactor_Timer_Test.cpp: Purify was showing an UMR in
test_registering_one_handler(). This was because Time_Handler
didn't have a constructor that initialized its timer_id_ member
and it wasn't being set in this method (like the others). I
added a default constructor to Time_Handler. [Bug 249]
Tue Sep 7 08:04:41 1999 Douglas C. Schmidt <schmidt@tango.cs.wustl.edu>
* ace/OS.i (isatty): Fixed this code so that it doesn't use
osf_handle() anymore on NT, but instead just casts the
ACE_HANDLE to an int. Thanks to Mark Winrock
<mwinrock@nortelnetworks.com> for suggesting this fix and
testing it out.
* tests/run_tests.lst: Added Signal_Test.
1999-09-07 Douglas C. Schmidt <schmidt@cs.wustl.edu>
* tests/Signal_Test.cpp (main): Fixed the test so that it won't
try to run the "synchronous signal handler in a separate thread"
on Linux because Linux threads are non-standard wrt signals.
Mon Sep 6 21:19:27 1999 Douglas C. Schmidt <schmidt@tango.cs.wustl.edu>
* tests/Signal_Test.cpp (run_test): Added an ACE_UNUSED_ARG
for the synchronous_signal_handler pointer-to-function for the
case where ACE_HAS_THREADS is disabled. Otherwise, we get a
warning.
Mon Sep 6 18:47:18 1999 Darrell Brunsch <brunsch@cs.wustl.edu>
* ace/Process_Manager.h: Moved handle_signal outside of a !defined
ACE_WIN32 block and moved handle_input inside of it, and this
fixes some errors on MSVC.
Mon Sep 6 14:19:14 1999 Douglas C. Schmidt <schmidt@ace.cs.wustl.edu>
* tests/Reactor_Notify_Test.cpp (main): Added a hyphen to
the ACE_DEBUG printout "with timeout =" so that it says "with
time-out =" to avoid confusing the run_tests.sh script! Thanks
to David Levine for reporting this.
* ace/Process_Manager.cpp: Integrated more patches from
Dave Madden <dhm@mersenne.com> so that the correct
register_handler() method is used on Win32.
Mon Sep 06 15:05:17 1999 David L. Levine <levine@cs.wustl.edu>
* ace/Makefile: moved ACELIB setting (to null) to before include
of rules.lib.GNU. That way, rules.lib.GNU can use the value of
$(ACELIB) to determine whether the ACE library object files
should be linked into the library, with repo=1. [Bug 248]
* include/makeinclude/rules.lib.GNU: with repo=1 when building
static libs, except for libACE, include all of the ACE lib's
object files. The prevents multiple instantiations, by GNU
repo, of templates that are used in the ACE library. See the
gcc info pages, Template Instantiation node, for more information.
[Bug 248]
Mon Sep 6 08:45:31 1999 Douglas C. Schmidt <schmidt@tango.cs.wustl.edu>
* examples/Reactor/WFMO_Reactor: Cleaned up some of the coding in
the examples.
* ace/Profile_Timer.cpp: Reformatted the code a bit.
* examples/Threads/process_manager.cpp (main): Fixed some warnings
and errors. Thanks to David for reporting this.
* ace/OS.i: Fixed ACE_UNUSED_ARG(options) to be
ACE_UNUSED_ARG(wait_options). Thanks to David's build logs for
reporting this.
* tests/Signal_Test.cpp: Changed the types of parameters passed
to run_test() from int to long so that we can safely cast them
to and from void *'s. Thanks to David Levine for pointing this
out.
* ace/Process_Manager.cpp (notify_proc_handler): Removed
the now unused parameter h. Thanks to David for pointing this
out.
Mon Sep 06 07:25:01 1999 David L. Levine <levine@cs.wustl.edu>
* ace/OS.h: added ACE_Export to ACE_OS_Exit_Info class
declaration. It shouldn't be necessary, but
Dmitry Goldshtain <Goldshtain@bank.gov.ua> reports that
Builder 4 needs it.
Mon Sep 06 03:31:34 1999 Nanbor Wang <nanbor@cs.wustl.edu>
* tests/Signal_Test.cpp (run_test): Removed a redundant use of
ACE_UNUSED_ARG (synchronous_signal_handler). Thanks to KCC 3.3e
for pointing this out.
Mon Sep 6 01:03:03 1999 Douglas C. Schmidt <schmidt@tango.cs.wustl.edu>
* examples/Threads/Makefile (BIN): Added process_manager.cpp
back into the list of programs that get built automagically.
* ace/Process_Manager: Added some new patches from Dave Madden
<dhm@mersenne.com> that continue to improve the
ACE_Process_Manager and make it portable between NT and UNIX.
* examples/Threads: Readded process_manager.cpp now that
Dave Madden <dhm@mersenne.com> has updated it.
Sun Sep 05 23:52:16 1999 Nanbor Wang <nanbor@cs.wustl.edu>
* ace/OS.h (WIFEXITED,WEXITSTATUS): On platforms that do not
define these macros, we should always assume the child process
exit properly because the return status does not tell us how the
process exited. Likewise, the WEXITSTATUS macro should simply
return the status we got from ACE_OS::wait because it only
contains the exit status of child process.
Sun Sep 5 23:40:25 1999 Douglas C. Schmidt <schmidt@tango.cs.wustl.edu>
* examples/QOS: Continued to improve the coding style so it'll
look like normal "ACE" code.
Sun Sep 05 21:32:40 1999 David L. Levine <levine@cs.wustl.edu>
* ace/Synch.cpp: removed unnecessary #include of ace/Object_Manager.h.
1999-09-05 Vishal Kachroo <vishal@cs.wustl.edu>
Made the receiver of QOS test portable by removing
Win32-isms from it. Files modified :
* examples/QOS/QosEvent.h:
* examples/QOS/server.cpp:
Sun Sep 5 13:40:18 1999 Michael Kircher <Michael.Kircher@mchp.siemens.de>
* ace/ACE.cpp: Made the status code to be of type
ACE_exitcode instead of int. This is necessary
because of the change on waitpid ().
Sun Sep 5 10:59:18 1999 Douglas C. Schmidt <schmidt@tango.cs.wustl.edu>
* ace/Process.i (wait): Removed the ACE_static_cast() Michael
had added recently because the change below makes it
unnecessary.
* ace/OS.h (ACE_OS): Modified the 3-arg wait() and the waitpid()
methods to take an ACE_exitcode* rather than int* so this will
work on Win32.
* ace/Log_Msg.cpp: Added a new explicit template instantiation
for template class
ACE_Guard<ACE_Reverse_Lock<ACE_Recursive_Thread_Mutex> >;
to fix compiler errors that showed up with EGCS.
* tests/Signal_Test.cpp (run_test): Added ACE_UNUSED_ARG macros
for several symbols that aren't used when the test is compiled
single threaded.
Sat Sep 05 02:05:00 1999 Michael Kircher <Michael.Kircher@mchp.siemens.de>
* ace/OS.cpp: Fixed a missing "#else".
* ace/Process.i,
ace/Process_Manager.h,
ace/Process_Manager.cpp:
Fixed an "int" versus "ACE_exitcode" conversion
problem.
Sat Sep 4 23:37:29 1999 Douglas C. Schmidt <schmidt@tango.cs.wustl.edu>
* ace/config-win32-common.h: Missing a '&&' that was causing
problems on Win32. Thanks to Michael Kircher
<Michael.Kircher@mchp.siemens.de> for reporting this.
Sat Sep 04 20:24:32 1999 David L. Levine <levine@cs.wustl.edu>
* ace/Handle_Gobbler.i (close_remaining_handles,free_handles):
moved the function definitions ahead of their first use in
the file.
Sat Sep 04 20:17:49 1999 David L. Levine <levine@cs.wustl.edu>
* ace/Pipe.cpp (open): added ACE_UNUSED_ARG (buffer_size)
for all platforms that #define ACE_LACKS_SOCKET_BUFSIZ.
Sat Sep 4 14:43:36 1999 Douglas C. Schmidt <schmidt@tango.cs.wustl.edu>
* tests/Signal_Test.cpp: Finished off the test so that it now
works for all the various combinations of synchronous and
asynchronous tests. Now, to make it work on Linux...
* ace/OS.h: The use of ACE_static_cast in the ACE_FACTORY_DEFINE macro
didn't make any sense, so I've replaced it with
ACE_dynamic_cast.
* ace/Process_Manager.*,
* ace/Process.*,
* ace/OS.h:
Created a new typedef called ACE_exitcode that factors out the
difference between Win32 and UNIX exit codes from wait()
operations. Thanks to Dave Madden <dhm@mersenne.com> for
suggesting this.
Sat Sep 04 12:22:38 1999 David L. Levine <levine@cs.wustl.edu>
* ace/OS.i (shm_open,close,filesize,ftruncate,mmap): moved
these functions up in the file so that they're defined before
being used by ACE_OS::sema_init ().
Fri Sep 3 11:57:24 1999 Douglas C. Schmidt <schmidt@tango.cs.wustl.edu>
* ace/Event_Handler.h (ACE_Event_Handler): Added the new
handle_exit() method, which is called by the ACE_Process_Manager
when a process exits. Thanks to Dave Madden <dhm@mersenne.com>
for contributing this.
* ace/Process.*,
ace/Process_Manager.*: Integrated a new round of changes from
Dave Madden <dhm@mersenne.com> that factor out most of the
remaining differences between Win32 and UNIX.
* ace/OS.h,
* ace/config-win32-common.h: Added a #ifndef for __IBMCPP__ to
make things work for Visual Age C++. Thanks to Boris Kaminer
<kaminer.boris@cherus.msk.ru> for reporting this.
* ace/{ACE,OS}: Added ACE_HAS_UNICODE to conditionally compile the
strnew() definition. Thanks to Boris Kaminer
<kaminer.boris@cherus.msk.ru> for reporting this.
* ace: Added a new optimized ace-dll.icc file so that ACE will
build better with IBM's Visual Age C++. Thanks to Boris Kaminer
<kaminer.boris@cherus.msk.ru> for contributing this.
* ace/OS.h,
* ace/config-win32-common.h: Added a #ifndef for __IBMCPP__ to
make things work for Visual Age C++. Thanks to Boris Kaminer
<kaminer.boris@cherus.msk.ru> for reporting this.
* ace/{ACE,OS}: Added ACE_HAS_UNICODE to conditionally compile the
strnew() definition. Thanks to Boris Kaminer
<kaminer.boris@cherus.msk.ru> for reporting this.
* ace: Added a new optimized ace-dll.icc file so that ACE will
build better with IBM's Visual Age C++. Thanks to Boris Kaminer
<kaminer.boris@cherus.msk.ru> for contributing this.
1999-09-03 Vishal Kachroo <vishal@cs.wustl.edu>
* ace/OS.i:
* ace/OS.h: Added a new overloaded ACE_OS::ioctl () function that
takes in ACE_QoS as one of the parameters, constructs a windows
QOS from it and passes it to WSAIoctl (). This function can be
used when the I/O control code is SIO_SET_QOS.
Fri Sep 3 14:58:51 1999 Darrell Brunsch <brunsch@cs.wustl.edu>
* config-aix-4.x.h:
* config-hpux-10.x-hpc++.h:
* config-hpux-11.x-hpc++.h:
* config-mvs.h:
* config-win32-borland.h:
* config-win32.h:
Moved many of the preprocessor information for various
platforms from TAO_IDL to here (in ACE_CC_PREPROCESSOR and
ACE_CC_PREPROCESSOR_ARGS).
Fri Sep 3 13:52:43 1999 Carlos O'Ryan <coryan@cs.wustl.edu>
* bin/auto_compile:
Fixed the implementation of the -dont_run option.
Fri Sep 3 09:05:20 1999 Kirthika Parameswaran <kirthika@cs.wustl.edu>
* ace/Containers_T.cpp (delete_nodes): Removed the redundant check
which was verifying that <cur_size_> was always > 0. But
<cur_size_> itself is unsigned so thsi check was redundant
causing warnings with egcs.
Thu Sep 2 23:54:49 1999 Nanbor Wang <nanbor@cs.wustl.edu>
* ace/Containers_T.h (class ACE_Double_Linked_List): Added more
comments to stress that this is not a general purpose container
class. Thanks to Rusty Conover <rconover@zootweb.com> for
suggesting this.
Thu Sep 2 18:39:23 1999 Douglas C. Schmidt <schmidt@ace.cs.wustl.edu>
* ace/Process_Manager.cpp (handle_close): Did a better job of
fixing the use of ACE_UNUSED_ARG to make EGCS happy.
Thu Sep 2 12:21:41 1999 Douglas C. Schmidt <schmidt@tango.cs.wustl.edu>
* ace/Select_Reactor_Base: Renamed the notify_set_, alloc_set_,
and free_set_ to *_queue_ since that's what they really are!
Thu Sep 2 17:42:22 1999 Carlos O'Ryan <coryan@cs.wustl.edu>
* ace/Malloc_T.cpp:
Eliminated UMR problem with the position independent malloc
support. Thanks to Doug for figuring this stuff out.
Thu Sep 2 12:21:41 1999 Douglas C. Schmidt <schmidt@tango.cs.wustl.edu>
* tests/Log_Msg_Test.cpp (test_log_msg_features): Changed the
use of %p to prevent an error message from being printed that'll
confuse the run_tests script.
* Just added the 700th non-DOC group individual who has contributed
to ACE+TAO over the years. In the last year, we've gone from
400 to 700 contributors, which is great!
* tests/CDR_File_Test.cpp (main): Fixed a signed/unsigned warning
and removed the unreferenced argc/argv parameters.
* tests{run_tests.lst,Makefile}: Added the new ACE_Log_Msg.cpp
test.
* tests: Added a new test called Log_Msg_Test.cpp. This exercises
the many features of the ACE_Log_Msg class.
* tests/Object_Manager_Test.cpp (main): Just reformatted some
stuff.
Thu Sep 2 14:42:31 1999 Kirthika Parameswaran <kirthika@cs.wustl.edu>
* tests/Cached_Accept_Conn_Test.cpp: Repositioned
ACE_HAS_BROKEN_EXTENDED_TEMPLATES macro before the inclusion of
the header since thats where the typedefs had been shifted.
Also, to keep both gcc2.7.3 and sunCC5.0 w.o debugging symbols
happy it was necessary to move the definitions of
<Accept_Startegy> methods before the instantiations.
Thu Sep 2 12:21:41 1999 Douglas C. Schmidt <schmidt@tango.cs.wustl.edu>
* ace/OS.h: Added an ACE_static_cast in the ACE_FACTORY_DEFINE macro
to let the compiler catch "bad casts," i.e., when X isn't allow
to be cast from an ACE_Service_Object. Thanks to Jody Hagins
for suggesting this.
* ace/config-win32-common.h: Deleted
#define ACE_LACKS_STRPTIME
and added
#define ACE_HAS_STRPTIME
#define ACE_LACKS_NATIVE_STRPTIME
In addition, I removed the wday and yday stuff in
ACE_OS::strptime(). Thanks to Kevin Lyda
<kevin.lyda@trintech.com> for suggesting this.
* ace/OS.h: Make sure to add a cast to ACE_Service_Object * in the
ACE_FACTORY_DEFINE macro so that the offset will be corrected
automagically. Thanks to Eric C. Newton <ecn@smart.net> for
reporting this and suggesting a fix.
* ace/Log_Msg: Modified the msg_callback(ACE_Log_Msg_Callback *)
method to return the existing ACE_Log_Msg_Callback * so we can
support "chaining".
* ace/Log_Msg.cpp: Added explicit template instantiations for
ACE_Reverse_Lock.
* ace/Log_Msg.cpp: Changed the implementation described below to
use an ACE_Reverse_Lock, which is cool ;-). Thanks to Carlos
for explaining how this worked.
* ace/Log_Msg.cpp: Don't hold the lock during a msg_callback() to
avoid deadlock. Thanks to Matthew Davis
<matthew.davis@solers.com> for reporting this.
* tests/Cached_Accept_Conn_Test.cpp: Removed a "static" from
int debug so that the friggin' SunC++ compiler will link...
Thu Sep 02 11:04:18 1999 David L. Levine <levine@cs.wustl.edu>
* bin/check_build_logs: added /dev/null to egrep invocation
so that it always shows the file name. Thanks to Doug for
reporting this.
Thu Sep 02 11:02:25 1999 David L. Levine <levine@cs.wustl.edu>
* ace/config-qnx-neutrino.h: added ACE_LACKS_SOCKET_BUFSIZ.
Thu Sep 2 08:56:39 1999 Jeff Parsons <parsons@cs.wustl.edu>
* ace/CDR_Stream.h:
* ace/CDR_Stream.i:
Added << and >> operators for ACE_CDR::Char. These are not
to be used by TAO or the IDL compiler, they are solely for
use with the ACE library, so that 1-byte values can be
streamed without using the CORBAisms to_char and from_char.
Otherwise, if a 1-byte value were on the rhs of a CDR operator,
the compiler will probably promote the operator to the one
using ACE_CDR::Short, which is not at all what we want.
Wed Sep 1 21:37:59 1999 Douglas C. Schmidt <schmidt@tango.cs.wustl.edu>
* tests/Makefile (BIN): Added the new CDR_File_Test.cpp to
the list of files that are automatically built. Also, added
this to run_tests.lst.
* tests: Added a new test called CDR_File_Test, which
exercises the ACE_CDR_Stream features in conjunction with file
I/O. Thanks to Giga Giguashvili <gregoryg@ParadigmGeo.com>.
* tests/CDR_Test.cpp: Moved the main() function to the end
of the file.
* ace/OS.i: Moved the new ACE_OS::filesize() method down in
this file until *after* the ACE_OS::close() method to prevent a
"used before being inlined" error on DU. Thanks to David for
reporting this.
Wed Sep 1 20:41:03 1999 Carlos O'Ryan <coryan@cs.wustl.edu>
* tests/run_tests.lst:
Disabled the Time_Service_Test, it was crashing the parent
process.
Wed Sep 01 19:46:30 1999 David L. Levine <levine@cs.wustl.edu>
* bin/check_build_logs: allow log directory (-l option argument)
to start with anything except -.
Wed Sep 1 17:15:25 1999 Kirthika Parameswaran <kirthika@cs.wustl.edu>
* ace/Arg_Shifter.cpp (get_current_parameter): Removed egcs
warnings by making <difference> int and also cleaned up the
code.
Wed Sep 1 15:51:41 1999 Douglas C. Schmidt <schmidt@tango.cs.wustl.edu>
* examples/Timer_Queue/Thread_Timer_Queue_Test.cpp: Fixed a typo
where ACE_reinterpret_cast() was misspelled. Thanks to
David for reporting this.
* examples/QOS/server.cpp: "ACE"-ified this example.
* ace/OS: Added a new method called ACE_OS::filesize() that
takes a LPCTSTR so that we can pass a file name to this.
* ace/config-win32-borland.h: Changed ACE_CC_COMPILER to
CPP32.EXE on the recommendation of Christopher Kohlhoff
<chris@kohlhoff.com>.
* ace/Synch.h: Updated the documentation of ACE_Semaphore::remove()
to clarify that it should only be called by one thread to avoid
race conditions. Thanks to Clarence Bishop
<clarence.bishop@na.marconicomms.com> for mentioning this.
1999-09-01 Vishal Kachroo <vishal@cs.wustl.edu>
* ACE_wrappers/ace/OS.h:
* ACE_wrappers/ace/OS.i:
Added a wrapper ACE_OS::enum_protocols () for WSAEnumProtocols().
Tested this function with the ACE QOS test.
* examples/QOS/client.cpp:
* examples/QOS/server.cpp:
Replaced the occurences of WSAEnumProtocols with
ACE_OS::enum_protocols () and successfully ran the QOS test.
Wed Sep 1 15:51:41 1999 Douglas C. Schmidt <schmidt@tango.cs.wustl.edu>
* ace/OS.i: Ensure that ACE_OS::localtime_r() does the "Right
Thing"[TM], i.e., returns the pointer in the buffer provided by
the user, even if there's no native support for localtime_r() on
the OS platform. In addition, added an ACE_OS_GUARD for this
use-case so that we don't have race conditions in MT programs.
This necessitated moving the localtime_r() wrapper facade into
the OS.cpp file. Thanks to Jody Hagins <jody@atdesk.com> for
these suggestions.
* ace/SV_Semaphore_Complex: Improved the documentation a bit
based on comments from Herbert <herbert@shym.com>.
Wed Sep 1 15:15:00 1999 Luther Baker <ljb1@cs.wustl.edu>
* ace/Arg_Shifter.h: Added function (get_current_parameter(offset)
to return parameters that may be mangled with flags.
* ace/Arg_Shifter.cpp: Implemented function above.
Wed Sep 1 14:50:48 1999 Nanbor Wang <nanbor@cs.wustl.edu>
* ace/OS.h: Added definitions for _O_BINARY, _O_TEXT, and _O_RAW
if they are not defined. Thanks to Kevin Lyda
<kevin.lyda@trintech.com> for pointing this out.
Wed Sep 1 14:30:58 1999 Darrell Brunsch <brunsch@cs.wustl.edu>
* ace/Process_Manager.cpp: Typo fixed.
Wed Sep 1 11:18:26 1999 Douglas C. Schmidt <schmidt@tango.cs.wustl.edu>
* tests/Reactor_Notify_Test.cpp: Fixed an erroneous use of =
rather than != and added another pair of explicit template
instantiations for ACE_Auto_Basic_Ptr<>. Thanks to Carlos for
reporting this.
* ace/Process_Manager.cpp (handle_close): Removed a warning
about unused parameter. Thanks to David for reporting this.
* tests/Reactor_Notify_Test.cpp: I needed to add
#elif defined (ACE_HAS_TEMPLATE_INSTANTIATION_PRAGMA)
rather than
#else
Wed Sep 01 11:55:31 1999 Steve Huston <shuston@riverace.com>
* ace/CORBA_Handler.{h cpp} (ACE_ST_CORBA_Handler): Made the
ACE_ST_CORBA_Handler instance get cleaned up via object manager
at rundown, giving it a chance to clean up it's reactor
registrations and reset its Orbix callbacks. Also added a new
capability of allowing the ACE_ST_CORBA_Handler to daisy-chain
the Orbix callbacks - this is only enabled if
ACE_TAKEOVER_ORBIX_CALLBACKS is set in the config.h file, and
its use is highly discouraged unless you really know what you're
doing and can account for all of the callbacks.
Wed Sep 1 11:18:26 1999 Douglas C. Schmidt <schmidt@tango.cs.wustl.edu>
Thanks to David for reporting this.
* tests/run_tests.lst: Disabled the Process_Manager_Test
until it's stable. Thanks to David for reporting this.
Wed Sep 1 00:05:04 1999 Douglas C. Schmidt <schmidt@tango.cs.wustl.edu>
* ace/config-win32-borland.h: Added a #define for ACE_CC_COMPILER
so that things will work properly on Borland. Thanks to
Goldshtain Dmitry <goldshtain.dmitry@usa.net> and Adrian
Mercieca <adrian@anvil.co.uk> for reporting this.
Wed Sep 01 10:45:15 1999 David L. Levine <levine@cs.wustl.edu>
* ace/OS.{h,cpp} (ACE_OS_Object_Manager::init,fini): replaced
use of ACE_ERROR with a new, private method (print_error_message).
If one of the operations in init () fails, then the Log_Msg
instance might not work properly. Thanks to Alain Magloire
<alain@qnx.com> for noting this.
print_error_message also consolidates the common const char
strings into one place. This entire changes reduces the size
of OS.o by about 900 bytes.
Wed Sep 1 00:05:04 1999 Douglas C. Schmidt <schmidt@tango.cs.wustl.edu>
* tests/Reactor_Notify_Test.cpp: Only run the iterations in
this test for 2000 times, not 10000 times.
Wed Sep 1 07:41:58 1999 Jeff Parsons <parsons@cs.wustl.edu>
* ace/Process_Manager.cpp (wait):
An ACE_NEW_RETURN needed ACE_INVALID_PID for the return
value instead of ACE_INVALID_HANDLE.
Wed Sep 1 00:05:04 1999 Douglas C. Schmidt <schmidt@tango.cs.wustl.edu>
* tests/Process_Manager_Test.cpp: Made some minor changes in
this test so that it'll compile. We still need to update it so
it'll run correctly with the new version of ACE_Process_Manager,
however.
* ace/Process_Manager: Integrated the latest and greatest
ACE_Process_Manager from Dave Madden <dhm@mersenne.com>. This
should now work relatively transparently on all OS platforms
that support processes. We'll be adding a new
Process_Manager_Test.cpp shortly...
* tests/Reactor_Notify_Test.cpp: Modified this test to exercise
the new user-level notification queueing in the ACE_Reactor.
Tue Aug 31 16:05:14 1999 Douglas C. Schmidt <schmidt@tango.cs.wustl.edu>
* ace/Process_Manager.cpp (handle_close): Added an ACE_UNUSED_ARG
to keep the compiler from warning that the "handle" parameter
isn't used.
* ace/OS.h: Added a new #defined called
ACE_REACTOR_NOTIFICATION_ARRAY_SIZE that designates the size of
the array of ACE_Notification_Buffers used by the new Reactor
user-level notification queue feature.
* ace/Select_Reactor_Base: Added support for a user-level
notification queue that can buffer very large amounts of pending
notifications, i.e., well beyond the 64 kbyte limit imposed by
the use of a socket. This feature is only enabled if
ACE_HAS_REACTOR_NOTIFICATION_QUEUE is enabled in a config.h
file. Thanks to Detlef Becker <Detlef.Becker@med.siemens.de>
for suggesting this and contributing a prototype implementation.
Tue Aug 31 20:10:49 1999 Yamuna Krishnamurthy <yamuna@cs.wustl.edu>
* ace/OS.h: Added the ACE_HAS_NO_THROW_SPEC check in order to
suppress the generation of throw specs to placate some compilers
and make it easier for CORBA developers to by lazy wrt C++
exception throw specs ;-). Thank to Andreas Geisler
<Andreas.Geisler@erls.siemens.de> for suggesting this addition
1999-08-31 Vishal Kachroo <vishal@cs.wustl.edu>
Modified the ACE GQoS test to use a single handler registered
for QOS_MASK|READ_MASK instead of two separate handlers. Had to
remove the following files and add other files.
* ACE_wrappers/examples/QOS/QOS_Event_Handler.cpp
* ACE_wrappers/examples/QOS/Read_Handler.h
* ACE_wrappers/examples/QOS/QOS_Event_Handler.h
* ACE_wrappers/examples/QOS/Read_Handler.cpp
Added the following files :
The Sender event handler is only registered for QOS events. It
uses the ACE_OS::sendto () as soon as it receives a QOS event.
* ACE_wrappers/examples/QOS/Sender_QOS_Event_Handler.cpp
* ACE_wrappers/examples/QOS/Sender_QOS_Event_Handler.h
The Receiver event handler is registered for both QOS as well as
READ events since it has to initially wait for a PATH RSVP
message from the sender (QOS event, finally!!) and then read
from the same QOS enabled socket.
* ACE_wrappers/examples/QOS/Receiver_QOS_Event_Handler.cpp
* ACE_wrappers/examples/QOS/Receiver_QOS_Event_Handler.cpp
The client and server have been modified to subscribe to the
same multicast session. The RSVP SP on the receiver side sends
RESV messages at the earliest indication of QOS parameters AND
existence of a matching PATH state. This state is found only if
a multicast socket has been created (by the sender) with a
matching "multicast session" address.
* ACE_wrappers/examples/QOS/server.cpp:
* ACE_wrappers/examples/QOS/client.cpp:
Modified the following to incorporate the removal and addition
of files listed above.
* ACE_wrappers/examples/QOS/QOS.dsw
* ACE_wrappers/examples/QOS/client.dsp
* ACE_wrappers/examples/QOS/server.dsp
Tue Aug 31 16:05:14 1999 Douglas C. Schmidt <schmidt@tango.cs.wustl.edu>
* ace/Malloc_T,
* ace/Malloc: For historical reasons, we'd had a nested class
called ACE_Malloc_Control_Block within ACE_Malloc_Header. This
was redundant and confusing, so I merged the fields of
ACE_Malloc_Control_Block into ACE_Malloc_Header. In addition, I
also added a constructor that initialized the fields to 0 so
that we won't have problems with Purify complaining about
uninitialized memory reads. Thanks to Carlos for reporting
this.
Tue Aug 31 15:54:56 1999 Douglas C. Schmidt <schmidt@ace.cs.wustl.edu>
* ace/Process_Manager.h: There was a bizarre default value
for the pid parameter, which was helping to cause ambiguity
warnings from the C++ compiler. I've removed this.
Tue Aug 31 00:16:34 1999 Douglas C. Schmidt <schmidt@tango.cs.wustl.edu>
* build/egcs/tests/Cached_Accept_Conn_Test.h: Moved the template
class into the header file so that IBM C++ will be happy.
* tests/Cached_*_Test.h: Updated these files to include the proper
descriptive information.
* tests/Upgradable_RW_Test.h: Cleaned up the formatting for this
test.
* tests/Cached_Accept_Conn_Test.cpp,
* tests/Cached_Conn_Test.cpp,
* tests/Conn_Test.cpp,
* tests/DLList_Test.cpp,
* tests/Hash_Map_Manager_Test.cpp:
Fixed some "order of definition" problems caused by the
workarounds for SunC++ 5.0 -g bugs. Also replaced the use of
ADDR and STRING with ACE_ADDR and ACE_STRING to avoid potential
clashes with symbols in the global name space. Thanks to David
for reporting this.
1999-08-31 Vishal Kachroo <vishal@cs.wustl.edu>
* ACE_wrappers/examples/QOS/server.cpp
* ACE_wrappers/examples/QOS/client.cpp
* ACE_wrappers/examples/QOS/QOS_Event_Handler.cpp
* ACE_wrappers/examples/QOS/QosEvent.h
* ACE_wrappers/examples/QOS/Read_Handler.h
* ACE_wrappers/examples/QOS/QOS_Event_Handler.h
* ACE_wrappers/examples/QOS/Read_Handler.cpp
* ACE_wrappers/examples/QOS/QOS.dsw
* ACE_wrappers/examples/QOS/client.dsp
* ACE_wrappers/examples/QOS/server.dsp:
These files test the new ACE GQoS features, which
implement IntServ features over WinNT 2000.
Tue Aug 31 14:47:54 1999 Kirthika Parameswaran <kirthika@cs.wustl.edu>
* ACE-INSTALL.html: Added a note on building egcs with the
-fsquangle option contributed by Skye Sweeney
<ssweeney@sanders.com>.
Tue Aug 31 00:16:34 1999 Douglas C. Schmidt <schmidt@tango.cs.wustl.edu>
* bin/clone.cpp: Modified this program so that it'll work more
flexibly with symbolic links. In particular, clone can now
generate symbolic links with relative pathnames to the source.
Thus, you can now call it like this:
% clone -s ../../foo .
and all of the cloned links will properly refer to ../../foo
(adding the appropriate number of extra '..'s to handle
directory nesting). Thanks to Jonathan Biggar <jon@biggar.org>
for these fixes.
* ace/Process.cpp: Need to #include "ace/Signal.h".
* Added a series of fixes that allow ACE to build and
run cleanly with SunC++ 5.0 and Solaris 7 even when debugging is
NOT enabled. These changes require moving the explicit template
instantiations from the BOTTOM of the *.cpp files to near the
top. Thanks to Robert Shewan <rshew@peri.com> for reporting
this.
* ace/Process_Manager.cpp: Fixed some warnings. Thanks to
Carlos for reporting this.
Mon Aug 30 21:14:46 1999 Douglas C. Schmidt <schmidt@tango.cs.wustl.edu>
* ace/Process_Manager.cpp: Added the destructor for
ACE_Process_Descriptor. Thanks to David for reporting this.
Mon Aug 30 17:20:56 1999 David L. Levine <levine@cs.wustl.edu>
* ace/config-qnx-neutrino.h: added ACE_LACKS_MUTEXATTR_PSHARED.
* ace/OS.i (mutex_init): enable the ACE_UNUSED_ARG (type)
statement with ACE_LACKS_MUTEXATTR_PSHARED.
Mon Aug 30 17:10:00 1999 Kirthika Parameswaran <kirthika@cs.wustl.edu>
* ACE-INSTALL.html: Added a note about the "-fsquangle" option
to be used with egcs to shorten long symbol names.
Mon Aug 30 16:12:36 1999 Douglas C. Schmidt <schmidt@tango.cs.wustl.edu>
* ace/Process.i: Oops, the implementation of gethandle() was
in a Win32-specific part of the code...
* ace/Msg_WFMO_Reactor.h: Fixed a problem that was causing
ACE_Msg_WFMO_Reactor from being included in the documentation
windex files. Thanks to Jody Hagins for reporting this.
Mon Aug 30 16:16:46 1999 Ossama Othman <othman@cs.wustl.edu>
* PROBLEM-REPORT-FORM:
Updated to point to refer reports ace-bugs mailing list.
Mon Aug 30 14:27:26 1999 David L. Levine <levine@cs.wustl.edu>
* tests/Cached_Accept_Conn_Test.cpp,Cached_Conn_Test.cpp,
Map_Manager.cpp:
use the explicit template instantiations even with
ACE_HAS_GNU_REPO. g++ 2.91.66 misses some of them with -frepo.
Mon Aug 30 15:23:12 1999 Douglas C. Schmidt <schmidt@tango.cs.wustl.edu>
* ace/Process_Manager: Integrated the new features that make it
possible to notify a Reactor when a process exits. Thanks to
Dave Madden <dhm@mersenne.com> for contributing this.
* ace/Process: Added a more portable timed wait() operation for
UNIX platforms. However, this method has the following two
limitations: (1) on UNIX platforms this function uses <ualarm>,
i.e., it overwrites any existing alarm and (2) it steals all
SIGCHLDs during the timeout period, which will break another
ACE_Process_Manager in the same process that's expecting SIGCHLD
to kick off process reaping. If you know a good solution to
this please let us know. Thanks to Dave Madden
<dhm@mersenne.com> for contributing this.
* ace/Process: Added setgroup() and getgroup() methods to
ACE_Process_Options so that we can manage groups of processes.
Thanks to Dave Madden <dhm@mersenne.com> for contributing this.
* examples/OS/Process/process.cpp: Added a new version that
tests the various wait() methods on ACE_Process. Thanks to Dave
Madden <dhm@mersenne.com> for contributing this.
* config-chorus.h,
config-cray.h,
config-cygwin32-common.h,
config-freebsd-pthread.h,
config-freebsd.h,
config-hpux-9.x.h,
config-hpux-9.x.h,
config-lynxos.h,
config-netbsd.h,
config-sunos4-g++.h,
config-sunos4-lucid3.2.h,
config-sunos4-sun3.x.h,
config-sunos4-sun4.1.4.h,
config-sunos4-sun4.x-orbix.h,
config-sunos4-sun4.x.h,
config-win32-common.h:
Added ACE_LACKS_SETPGID on the assumption that platforms lacking
getpgid() won't have setpgid() either. If this turns out to be
incorrect, please let me know.
* ace/OS: Added a new wrapper facade method for setpgid(). Thanks to
Dave Madden <dhm@mersenne.com> for contributing this.
* ace/OS.h: Added a new macro called ACE_INVALID_PID. Thanks to
Dave Madden <dhm@mersenne.com> for contributing this.
* ace/Local_Tokens.h: Added a comment explaining that these locking
classes aren't intended as general-purpose synchronization
mechanisms. Thanks to Brian Wright <bwright@paladyne.com>
* examples/Misc/test_trace.cpp (main): Added a call to
ACE_OS::atexit() to make sure we test this someplace.
Mon Aug 30 12:11:06 1999 Carlos O'Ryan <coryan@cs.wustl.edu>
* ace/Strategies.i:
Once a Recyclable object reaches the ACE_RECYCLABLE_CLOSED state
its state cannot change. This eliminates a nasty race condition
where one thread detects that the connection is closed (and sets
the state accordingly), but another thread changes the state to
IDLE, based on old information.
Thanks to Mark L Boriack <mboriack@std.saic.com> for reporting
this problem and helping us debug it.
Mon Aug 30 10:43:08 1999 Carlos O'Ryan <coryan@cs.wustl.edu>
* ace/config-irix6.x-common.h:
Added ACE_HAS_SIGSUSPEND and ACE_HAS_TIMEDWAIT
Mon Aug 30 10:18:52 1999 Ossama Othman <othman@cs.wustl.edu>
* PROBLEM-REPORT-FORM:
Fixed typo.
* acconfig.h:
* configure.in:
Removed ACE_LACKS_ATEXIT test since the macro no longer exists.
Added test for ACE_HAS_SIGSUSPEND.
Mon Aug 30 07:38:11 1999 David L. Levine <levine@cs.wustl.edu>
* tests/Message_Block_Test.cpp,
examples/Reactor/Misc/test_event_handler_t.cpp:
use the explicit template instantiations even with
ACE_HAS_GNU_REPO. g++ 2.91.66 misses some of them with -frepo.
Sun Aug 29 22:57:26 1999 Douglas C. Schmidt <schmidt@tango.cs.wustl.edu>
* tests/Signal_Test.cpp (worker_parent): Revised the test
so that we transmit the parent process ID in argv so that the
child doesn't have to "guess." This solves the annoying
problems with Linux threads...
Sun Aug 29 21:35:17 1999 David L. Levine <levine@cs.wustl.edu>
* ace/config-g++-common.h:
1) Don't #define ACE_HAS_EXPLICIT_INSTANTIATION with
ACE_HAS_GNU_REPO, so that -frepo can do its thing. [Bug 248]
2) #undef ACE_HAS_STRING_CLASS with ACE_HAS_GNU_REPO, because
egcs 2.91.66 can't build IOStream test (due to an unresolved
basic_string method instantiation) otherwise.
* ace/config-aix-4.x.h,ace/config-cygwin32-common.h,
ace/config-hpux-10.x-g++.h,ace/config-irix5.3-g++.h,
ace/config-irix6.x-g++.h,ace/config-linux-common.h,
ace/config-lynxos.h,ace/config-osf1-4.0.h,ace/config-sunos4-g++.h,
ace/config-sunos5.4-g++.h,ace/config-sunos5.5.h,
ace/config-unixware-2.*-g++.h:
moved ACE_HAS_STRING_CLASS #define before #include of
config-g++common.h, so that config-g++-common.h can #undef
it with ACE_HAS_GNU_REPO.
* include/makeinclude/rules.lib.GNU: when ace_lib_prelink is
enabled, add a link step before building a library. This is
used, for example, to insert template instantiations into
object files. [Bug 248]
* include/makeinclude/wrapper_macros.GNU: set ace_lib_prelink
to 1 when repo is enabled. Added ACE_NUL and ACE_NUL_STDERR
macros, for internal use to support the prelink step. [Bug 248]
Sun Aug 29 07:53:33 1999 Douglas C. Schmidt <schmidt@tango.cs.wustl.edu>
* tests/Signal_Test.cpp: Linux threads are problematic because
getppid() isn't the process id of your parent PROCESS, it's the
"process" id of your parent THREAD. Yikes! Therefore, I had to
rearrange this test so that it'll work on Linux.
* ace/config-qnx-neutrino.h,
* ace/config-vxworks5.x.h,
* ace/config-osf1-4.0.h,
* ace/config-sunos5.5.h,
* ace/config-linux-common.h: Added support for
the ACE_HAS_SIGTIMEDWAIT and ACE_HAS_SIGSUSPEND macros.
* ace/OS: Added a new sigsuspend() wrapper to class ACE_OS. This
implementation is "smarter" than the default behavior of
sigsuspend(2) because it'll handle NULL sigset_t *'s gracefully.
* ace/Signal: Make the use of ACE_Sig_Set & parameters
const-correct.
* ace/Signal: Added a new method for ACE_Sig_Action that'll register
an ACE_Sig_Set's worth of signals simultaneously.
* ace/Signal: Updated the documentation to explain what the various
constructors do.
* ace/Process.h: Updated the documentation for ACE_Process::spawn()
to explain what the return values are.
* tests/Makefile: Added Signal_Test to the list of tests that are
built automatically.
* tests: Added a new test, Signal_Test.cpp, that exercises the
various signal handling capabilities supported by ACE on various
OS platforms.
* ace/OS.h,
* ace/README,
* ace/config-vxworks5.x.h:
Removed all mention of the ACE_LACKS_ATEXIT feature. This is
now the default behavior because we ACE_OS_Object_Manager::at_exit()
to get consistent semantics, as described below. Thanks to David
for pointing this out.
* ace/OS.i: Changed the implementation of ACE_OS::atexit() to always
use the ACE_OS_Object_Manager::instance ()->at_exit() method so
that we get consistent semantics across platforms.
Sun Aug 29 18:27:38 1999 Ossama Othman <othman@cs.wustl.edu>
* ACE.ifnames:
* ace-diff-config.in:
Removed ace-diff-config.in and ACE.ifnames from the repository.
They are only used for internal ACE Configuration Project
testing.
* Makefile.am:
* configure.in:
Removed references to ace-diff-config.in and ACE.ifnames.
* acconfig.h:
* configure.in:
Added entries and tests for the following macros:
ACE_AUTO_PTR_LACKS_RESET
ACE_HAS_LLSEEK
ACE_HAS_EXPLICIT_KEYWORD
ACE_HAS_MUTABLE_KEYWORD
ACE_HAS_STD_TEMPLATE_SPECIALIZATION
ACE_HAS_STD_TEMPLATE_METHOD_SPECIALIZATION
ACE_HAS_SIGTIMEDWAIT
ACE_LACKS_ATEXIT
ACE_LACKS_GETPPID
* configure.in:
Fixed auto_ptr test. auto_ptr was being used incorrectly.
Sun Aug 29 07:53:33 1999 Douglas C. Schmidt <schmidt@tango.cs.wustl.edu>
* tests/Process_Manager_Test.cpp: Changed the names of the signal
handlers to one_child_synchronous_signal_handler() and
multiple_children_synchronous_signal_handler() to reflect how
they are used.
* ace/OS.[hi]: Added a new wrapper for sigtimedwait() so that
we can encapsulate this. To make programming more consistent,
the encapsulation uses an ACE_Time_Value, rather than a struct
timespec.
* ace/config-linux-pthread.h,
* ace/config-linux-lxpthreads.h: Removed the
#define ACE_HAS_SIGWAIT
macro since this was already defined in config-linux-common.h.
* tests/Malloc_Test.cpp: Improved the test by printing out
additional diagnostic information. Also validated that it works
when ACE_DEFAULT_BASE_ADDR == 0 on Solaris using SunCC (with
purify) and EGCS.
* ace/Malloc: Added a dump() method to ACE_Malloc_Header.
* ace/Process_Manager.cpp (ACE_Process_Descriptor): Changed
a -1 to a 0 to prevent a compiler warning. Thanks to
David Levine and DEC UNIX for reporting this.
Sun Aug 29 00:14:09 1999 Luther Baker <ljb1@cs.wustle.edu>
* ace/Arg_Shifter.h (cur_arg_strncasecmp): Removed and replaced earlier
method 'is_or_contains_ignore_case' with 'cur_arg_strncasecmp.'
This method does less and it is more self-contained, adding protection
and greater flexibility for the program program using it.
* ace/Arg_Shifter.cpp (cur_arg_strncasecmp): Implementation
corresponding with changes in ACE_Arg_Shifter class.
Sun Aug 29 00:13:35 1999 Douglas C. Schmidt <schmidt@tango.cs.wustl.edu>
* ace/Process_Manager.i: Moved the destructor for
ACE_Process_Descriptor out of the *.i file since it's always
called by vector delete and therefore inlining it is pointless.
Sat Aug 28 23:46:55 1999 Douglas C. Schmidt <schmidt@tango.cs.wustl.edu>
* ace/Process_Manager.cpp (resize): The loop should run
from 0 < this->current_count_ rather than 0 <
this->max_process_table_size_.
Sat Aug 28 16:28:33 1999 David L. Levine <levine@cs.wustl.edu>
* ace/Synch_T.i: reordered some methods to avoid
use before definition.
Fri Aug 27 18:52:00 1999 Luther Baker <ljb1@cs.wustl.edu>
* ace/Arg_Shifter.h (is_or_contains_ignore_case): added method
to facilitate CORBA spec in ORB_init.
* ace/Arg_Shifter.cpp (is_or_contains_ignore_case): implemented
the method added. Part of a larger project to implement CORBA
spec regarding -ORB parsing in ORB_init.
Fri Aug 27 18:58:50 1999 Douglas C. Schmidt <schmidt@ace.cs.wustl.edu>
* tests/run_tests.lst: Reenabled the Process_Manager_Test since
it now seems to work fine with EGCS after the fix noted below.
Fri Aug 27 18:39:14 1999 Douglas C. Schmidt <schmidt@tango.cs.wustl.edu>
* ace/Process_Manager.cpp (wait): Fixed a mistake in the coding
logic whereby we were returning from the function in a loop even
when there was no error. Thanks to David Levine and DEC UNIX
for pointing this out.
Fri Aug 27 16:05:49 1999 David L. Levine <levine@cs.wustl.edu>
* ace/OS.*,Log_Msg.cpp,Synch_T.i: reverted changes of
Fri Aug 27 11:29:21 1999 David L. Levine <levine@cs.wustl.edu>
to see if they caused problems on NT. Thanks to Michael
and Jeff for reporting this.
Fri Aug 27 12:01:37 1999 David L. Levine <levine@cs.wustl.edu>
* ace/OS.cpp (mktime): added static cast of -1 return value
to time_t to avoid warnings on VxWorks.
Fri Aug 27 11:38:36 1999 Nanbor Wang <nanbor@cs.wustl.edu>
* ace/Service_Config.cpp (process_directives): Remember to close
down the svc.conf file pointers once they are processed. Thanks
to Lothar Werzinger <werzinger.lothar@krones.de> for pointing
this out.
Fri Aug 27 11:29:21 1999 David L. Levine <levine@cs.wustl.edu>
* ace/OS.*: moved ACE_OS_Recursive_Thread_Mutex_Guard from
OS.cpp to OS.h so that Log_Msg.cpp can use it.
* ace/Log_Msg.cpp: replaced use of ACE_Guards with
ACE_OS_Thread_Recursive_Mutex. [Bug 262]
* ace/OS.h (ACE_OS_Recursive_Thread_Mutex_Guard::lock):
added this method.
* ace/OS.cpp (ACE_OS_GUARD,ACE_TSS_CLEANUP_GUARD,
ACE_TSS_BASE_GUARD): fixed to use
ACE_OS_Recursive_Thread_Mutex_Guard::lock. Added
_RETURN versions.
* ace/Synch_T.i: reordered some methods to avoid
use before definition.
Fri Aug 27 09:53:09 1999 Joe Hoffert <joeh@cs.wustl.edu>
* ace/ATM_Stream.{h,cpp}: added get_vpi_vci method.
* examples/IPC_SAP/ATM_SAP/CPP-{client,server}.cpp: Changed tests to
print out VPI and VCI after connected.
Fri Aug 27 10:50:10 1999 David L. Levine <levine@cs.wustl.edu>
* ACE version 5.0.3 released.
Fri Aug 27 09:32:26 1999 David L. Levine <levine@cs.wustl.edu>
* bin/make_release: added some diagnostics to see why
diffs aren't being created.
Fri Aug 27 07:17:58 1999 Toshio Hori <toshi@etl.go.jp>
* ACE-INSTALL.html: fixed a typo, missing ; after
< and >.
Thu Aug 26 21:01:02 1999 Jim Rucker <James.D.Rucker@jpl.nasa.gov>
* ace/Thread_Manager.cpp (spawn_i): on VxWorks, if t_handle
is non-0, set it with thr_handle.
Thu Aug 26 16:33:42 1999 David L. Levine <levine@cs.wustl.edu>
* ace/Log_Msg.cpp: removed unnecessary #include "ace/Synch_T.h".
[Bug 262]
Thu Aug 26 13:49:00 1999 David L. Levine <levine@cs.wustl.edu>
* examples/Threads/Makefile: removed process_manager from BIN.
See Sat Aug 21 12:36:40 1999 Douglas C. Schmidt.
Thu Aug 26 12:22:55 1999 David L. Levine <levine@cs.wustl.edu>
* ace/config-ghs-common.h: on Sun, added
ACE_HAS_NONSTATIC_OBJECT_MANAGER. It's necessary
to prevent seg fault on startup. Thanks to
David Sunwall <das@planet8.tds-eagan.lmco.com> for
reporting this problem.
Thu Aug 26 12:11:09 1999 David L. Levine <levine@cs.wustl.edu>
* docs/ACE-guidelines.html: added guidelines to avoid
default arguments, and favor narrow interfaces.
Thu Aug 26 11:44:26 1999 David L. Levine <levine@cs.wustl.edu>
* tests/Time_Value_Test.cpp (main): added static casts
of the doubles to longs. g++ 2.7.2.3 warned about
passing a double to a long :-)
Thu Aug 26 11:20:55 1999 David L. Levine <levine@cs.wustl.edu>
* tests/Time_Value_Test.cpp (main): added a test showing
that ACE_Time_Value (2.5) == ACE_Time_Value (2).
The 2.5 gets coerced to a long with value 2. Beware . . .
Thu Aug 26 10:43:04 1999 Carlos O'Ryan <coryan@cs.wustl.edu>
* ace/config-sunos5.6.h:
egcs-2.95 under Solaris 5.6 does not need
ACE_HAS_STL_QUEUE_CONFLICT, thanks to Krishnakumar
B. <kitty@neo.shinko.co.jp> for reporting this problem.
This fixes [BUGID:264]
Thu Aug 26 07:29:42 1999 David L. Levine <levine@cs.wustl.edu>
* ace/OS.{h,i} (ACE_Time_Value): reverted
Wed Aug 25 22:05:54 1999 David L. Levine <levine@cs.wustl.edu>
change. It caused overload ambiguity when the types of
sec and usec didn't match, and on Sun CC 4.2/SunOS 5.6.
Thanks to Andy for reporting that.
Wed Aug 25 22:05:54 1999 David L. Levine <levine@cs.wustl.edu>
* ace/OS.{h,i} (ACE_Time_Value): added four new
constructors. One takes a double, to avoid surprises
(truncation) when constructing an ACE_Time_Value from
a double. The other three constructors take two
unsigned longs, ints, and unsigned ints. They avoid
the ambiguity introduced by the new double constructor.
Thanks to Dave Meyer <dmeyer@std.saic.com> for starting this :-)
The double constructor is wrapped with
#ifndef ACE_LACKS_FLOATING_POINT.
* tests/Time_Value_Test.cpp (main): removed cast of
2.0 to long.
Wed Aug 25 16:15:07 1999 David L. Levine <levine@cs.wustl.edu>
* docs/ACE-subsets.html: removed spurious LOGGING_FILES
text.
Wed Aug 25 15:55:05 1999 David L. Levine <levine@cs.wustl.edu>
* ace/OS.{h,cpp},Object_Manager.*,Signal.i (default_mask): moved
the default_mask () static method from ACE_Object_Manager
to ACE_OS_Object_Manager, so that it can be used by
Log_Msg.cpp without layer inversion. (Left a deprecated,
inline ACE_Object_Manager::default_mask (), for backward
compatibility.) default_mask () now returns a sigset_t *
instead of an ACE_Sig_Set *, again to avoid layer inversion.
* ace/Log_Msg.cpp (log): replaced use of ACE_Sig_Guard
with a bare-bones ACE_Log_Msg_Sig_Guard. [Bug 262]
Wed Aug 25 14:53:58 1999 Carlos O'Ryan <coryan@cs.wustl.edu>
* bin/run_all.pl:
* bin/auto_compile:
The script did not start with the canonical trick to run perl
from [t]csh, [ba]sh or perl itself.
Wed Aug 25 14:45:06 1999 Ossama Othman <othman@cs.wustl.edu>
* tests/Process_Manager_Test.cpp:
Explicitly include "ace/Signal.h" to make declaration of
ACE_Sig_Set class visible.
return statement at end of multiple_children_sig_handler()
function is never reached. It was commented out to prevent
compiler warnings.
Wed Aug 25 13:34:07 1999 Narendra Ravi <naren@cs.ualberta.ca>
* ACE-INSTALL.html: added information about -j GNU make option.
Wed Aug 25 12:26:49 1999 Carlos O'Ryan <coryan@cs.wustl.edu>
* ace/OS.h:
On Borland C++ (and other platforms) we should use
std::bad_alloc instead of bad_alloc for the ACE_bad_alloc
exception. We use the ACE_USES_STD_NAMESPACE_FOR_STDCPP_LIB
macro to detect this. Thanks to Jody Hagins <jody@atdesk.com>
for this fix.
* tests/run_tests.lst:
Disabled the Token test, it is more trouble that it is worth. It
hangs and tends to freeze the complete testsuite.
Wed Aug 25 12:09:32 1999 Carlos O'Ryan <coryan@cs.wustl.edu>
* Makefile:
Include (conditionally) the $TAO_ROOT/tao/tao_targets.GNU file,
that defines the targets required to compile just TAO.
Tue Aug 24 21:47:44 1999 David L. Levine <levine@cs.wustl.edu>
* ace/Synch_Options.{h,cpp} (timeout): added const to
ACE_Time_Value & argument, because it's not modified.
Thanks to John Lindal <jafl@cco.caltech.edu> for suggesting this.
Tue Aug 24 10:02:51 1999 Douglas C. Schmidt <schmidt@tango.cs.wustl.edu>
* tests/Process_Manager_Test.cpp: Fixed a number of warnings
caused by unused args and signed/unsigned mismatches. Thanks to
David Levine for reporting this.
* ace/Service_Repository.h,
ace/Service_Config.h,
ace/OS.h:
Changed the default number of entries in the
ACE_Service_Repository from ACE_DEFAULT_SELECT_REACTOR_SIZE
to ACE_DEFAULT_SERVICE_REPOSITORY_SIZE, which defaults to
1024. Thanks to Ivan Murthy <Ivan.Murphy@med.siemens.de> for
suggesting this.
Tue Aug 24 16:23:07 1999 Carlos O'Ryan <coryan@cs.wustl.edu>
* bin/make_release:
Use an explicit temporary file to create the ChangeLog, i had
some problems with the previous scheme, but it could be my
shell.
When tagging TAO we have to change directories.
Tue Aug 24 12:19:29 1999 Carlos O'Ryan <coryan@cs.wustl.edu>
* tests/Makefile:
Updated dependencies
* performance-tests/TCP/tcp_test.cpp:
Fixed argument parsing.
Tue Aug 24 10:37:02 1999 David L. Levine <levine@cs.wustl.edu>
* bin/cvslog (find_changelogs): one more time: append /$file
to `pwd`, so that we can find ChangeLogs in child directories.
Always call basename (), again.
Tue Aug 24 09:10:58 1999 David L. Levine <levine@cs.wustl.edu>
* bin/cvslog (find_changelogs): don't call basename () immediately
after calling `pwd`, so that ChangeLogs in current directory
will be found.
Tue Aug 24 07:11:52 1999 David L. Levine <levine@cs.wustl.edu>
* ace/OS.*,Object_Manager.{h,cpp},README: with ACE_LACKS_ATEXIT,
use ACE_OS_Object_Manager::at_exit () to emulate atexit ().
[Bug 246]
* tests/Object_Manager_Test.cpp,tests/Makefile,
tests/run_pharlap_tests.bat,tests/run_tests.bat,
tests/run_tests.lst,tests/run_tests.psosim,
tests/run_tests.vxworks,tests/t.icc,tests/icc.bat:
added Object_Manager_Test.
Mon Aug 23 22:03:24 1999 Carlos O'Ryan <coryan@cs.wustl.edu>
* include/makeinclude/rules.lib.GNU:
* include/makeinclude/rules.local.GNU:
When compiling both shared and static libraries only one of them
was installed. Thanks to Paul Calabrese <calabrese_p@ociweb.com>
for providing this fix.
Mon Aug 23 21:41:43 1999 Carlos O'Ryan <coryan@cs.wustl.edu>
* tests/run_tests.pl:
We search for "Starting" instead of "starting" because that's
what the tests print out now.
Mon Aug 23 21:20:28 1999 Carlos O'Ryan <coryan@cs.wustl.edu>
* docs/ACE-guidelines.html:
Added new guidelines relevant to ACE+TAO.
Mon Aug 23 16:57:13 1999 Carlos O'Ryan <coryan@cs.wustl.edu>
* performance-tests/RPC/README:
* performance-tests/RPC/client.cpp:
Changed the options to make it more consistent with other tests
like this one.
Added a README file
Mon Aug 23 16:53:00 1999 Carlos O'Ryan <coryan@cs.wustl.edu>
* performance-tests/Makefile:
* performance-tests/TCP/README:
Added a README file for the test
* performance-tests/TCP/tcp_test.cpp:
Added options to pace the events and to control the message size
on the server side.
* performance-tests/RPC/Makefile:
* performance-tests/RPC/client.cpp:
* performance-tests/RPC/ping.x:
* performance-tests/RPC/server.c:
Added a simple RPC test to compare sockets (ACE), RPC and TAO.
Mon Aug 23 13:30:32 1999 Nanbor Wang <nanbor@cs.wustl.edu>
* include/makeinclude/platform_sunos5_kcc.GNU: The optimization
flag for KCC should be +K3, not -K2.
Mon Aug 23 10:56:40 1999 David L. Levine <levine@cs.wustl.edu>
* bin/cvslog: added this wrapper around cvs log. It
expands ChangeLogTags to their ChangeLog entries.
Thanks to Luther for helping greatly with it.
Mon Aug 23 08:46:37 1999 David L. Levine <levine@cs.wustl.edu>
* ace/Object_Manager.{h,cpp}: replaced the use of
ACE_Unbounded_Queue<ACE_Cleanup_Info> with a new
ACE_Cleanup_Info_Node private helper class. The reduces
the size of libACE by over 4 Kb, and is the first step
towards moving the Object_Manager's atexit () support to
OS. [Bug 246]
Mon Aug 23 07:28:02 1999 David L. Levine <levine@cs.wustl.edu>
* tests/run_tests.check: changed "starting" to "Starting",
to match a recent change to test_config.h.
* tests/test_config.h: changed one remaining "starting" to
"Starting", to be consistent.
Mon Aug 23 07:08:17 1999 David L. Levine <levine@cs.wustl.edu>
* tests/run_tests.lst: disabled Process_Manager_Test,
because it never terminates when built with egcs
on both Solaris 7 and Linux.
Sun Aug 22 21:15:13 1999 David L. Levine <levine@cs.wustl.edu>
* ace/Makefile: with Green Hills for x86 target, use
$(MAKE) instead of make to build .obj/gethrtime.o.
Thanks to Cliff_H_Campbell <Cliff_H_Campbell@res.raytheon.com>
for reporting this.
Sun Aug 22 21:02:26 1999 David L. Levine <levine@cs.wustl.edu>
* ace/config-vxworks5.x.h: added ACE_LACKS_ATEXIT.
Sun Aug 22 21:01:18 1999 David L. Levine <levine@cs.wustl.edu>
* ace/README: added ACE_LACKS_ATEXIT.
Sun Aug 22 14:51:56 1999 Vishal Kachroo <vishal@cs.wustl.edu>
* ace/OS.i (join_leaf): Constructed a winsock2 QOS structure
within ACE_OS::join_leaf () from the corresponding ACE QOS
classes. Passed this QOS structure to WSAJoinLeaf ().
Sun Aug 22 12:18:42 1999 Nanbor Wang <nanbor@cs.wustl.edu>
* ace/Process.i (wait): Fixed a typo.
* ace/Process.cpp (ACE_Process): Removed an extra underscore.
* ace/OS.i (getppid): Removed undefined variable <pid>.
Sat Aug 21 12:36:40 1999 Douglas C. Schmidt <schmidt@tango.cs.wustl.edu>
* ace/OS.h: Moved the ACE_OS::set_exit_hook() static method
into the OS.i file so be more consistent with the other ACE_OS
methods. Also, changed the signature of extern "C" void
ACE_OS_Object_Manager_Internal_Exit_Hook () to void
ACE_OS_Object_Manager_Internal_Exit_Hook (void) so that this
will match the type declaration for ACE_EXIT_HOOK.
[NOTE: that's not really a signature change. g++ needs the
"void", however, to avoid a bug without -pedantic.]
* ace/Process_Manager.cpp: Use the new ACE_OS::wait() method,
which is portable to Win32, rather than ACE_OS::waitpid().
* tests/Process_Manager_Test.cpp: Completed the first major
enhancement to the test that exercises the new
ACE_Process_Manager features. This test builds and runs cleanly
on Solaris using CC and should run on other versions of UNIX
that support threads and processes. It would be great if
someone could improve it to run on Win32, as well.
* ace/Process_Manager: Added support for the spawn_n() method,
which creates N new processes.
* tests: Cleaned up the use of ACE_INIT_LOG/ACE_APPEND_LOG in
Process_Manager_Test.cpp and Malloc_Test.cpp so we don't lose
information. Both these tests now write their child processes'
output to "<testname>-child.log".
* ace/Thread_Manager.h: Added a default value of 0 to the
exit() method since this is a common return status.
* ace/config-win32-common.h: Added ACE_LACKS_GETPPID.
* ace: Added a new wrapper for getppid(). For platforms that
don't support this system call, please add ACE_LACKS_GETPPID.
* tests: Moved the $ACE_ROOT/examples/Threads/process_manager.cpp
example into the $ACE_ROOT/tests directory, renamed it to
Process_Manager_Test.cpp, and revised the test to illustrate the
new ACE_Process_Manager features.
* tests/run_tests.lst: Added the Process_Manager_Test to the
list of tests to run.
* tests/Malloc_Test.cpp (main): Added some necessary ASYS_TEXT
macros.
* ace/Process.i: Rather than replicate the #ifdef logic in
ACE_OS::kill() within ACE_Process:kill(), we just forward to
ACE_OS::kill() and let it sort this out!
* ace/Process: Moved several of the short wait() methods from the
*.cpp file to the *.i file and inlined them.
* ace/Process_Manager.cpp: The logic for the implementation of
terminate() was incorrect, i.e., the process table entry should
be removed *if* ACE::terminate_process() succeeds but *not* if
it fails!
* ace/OS.h: Added a new method called wait() that works portably
on Win32 and UNIX/POSIX platforms.
* ace/Process: Added an optional "options" parameter to the former
"blocking" wait() method on ACE_Process. This allows clients to
use the WNOHANG option to avoid blocking if the child process
hasn't exited yet. Also changed the type of the return value to
pid_t rather than int. Finally, added an optional status
pointer to the "timed" wait() method (which only works on
Win32).
* ace/OS.h: On platforms that do not define WNOHANG natively,
changed #ifdef of WNOHANG to 0100 (which can be used in bitmask
comparisons) rather than Douglas Adams favorite constant: 42.
Sat Aug 21 14:13:46 1999 Carlos O'Ryan <coryan@cs.wustl.edu>
* ACE version 5.0.2 released.
Sat Aug 21 11:52:51 1999 Carlos O'Ryan <coryan@cs.wustl.edu>
* Makefile:
Fixed small problem in the releaseall target.
* bin/make_release:
The shell did not like the embedded script to print the
ChangeLog entry.
Fri Aug 20 15:40:58 1999 Douglas C. Schmidt <schmidt@tango.cs.wustl.edu>
* ace/Process_Manager: Added a new method called wait() that's
just syntactic sugar for ACE_Process_Manager::reap(). Thanks to
Dave Madden <dhm@mersenne.com> for suggesting this.
* ace/OS: Added support for ACE_OS::atexit(), which necessitated
changing the extern "C" signature for ACE_EXIT_HOOK to typedef
void (*ACE_EXIT_HOOK) (void) so that this will be consistent
with the signature expected by the ISO/ANSI C atexit() call. At
the moment, ACE_OS::atexit just calls ::atexit() (unless a
platform's config.h file #defines ACE_LACKS_ATEXIT).
Ultimately, we might want to have this hook into the
ACE_OS_Object_Manager's at_exit() support, which may be more
portable and reliable.
* ace/ACE_Process_Manager.h: Made the destructor virtual so it's
possible to subclass from this class.
* ace/Process_Manager.h: Updated the comments on the wait()
method to indicate that a signal handler must be used to keep
track of the number of remaining child processes. Thanks to
Dave Binder <dbinder@globalmt.com> for motivating this.
Thu Aug 19 18:45:00 1999 Chris Gill <cdgill@cs.wustl.edu>
* ace/Auto_Ptr.h: modified ACE_AUTO_PTR_RESET macro, to pass the
type of the pointer. This is needed for the case where
ACE_AUTO_PTR_LACKS_RESET is defined, in order to explicitly
convert the pointer into an auto_ptr for assignment.
Thu Aug 19 17:26:50 1999 John Heitmann <jwh1@cs.wustl.edu>
* docs/ACE-SSL.html: Cleaned up the auto generated errors.
Thu Aug 19 16:47:21 1999 Douglas C. Schmidt <schmidt@tango.cs.wustl.edu>
* ACE-INSTALL.html: Added a reference to $ACE_ROOT/docs/ACE-SLL.html.
* docs: Added a new ACE-SSL.html file that explains how to participate in the
ACE SSL project. Thanks to John Heitmann <jwh1@cs.wustl.edu>
for adding this.
Thu Aug 19 15:31:58 1999 Nanbor Wang <nanbor@cs.wustl.edu>
* ace/OS.h (ACE_OSTREAM_TYPE): Removed the redundant trailing *
for the defintion when ACE_LACKS_IOSTREAM_TOTALLY is defined.
Thu Aug 19 14:16:37 1999 David L. Levine <levine@cs.wustl.edu>
* include/makeinclude/rules.nested.GNU: added ACE_NESTED_COMMAND
hook. Users can set it to whatever they like (preferably in
include/makeinclude/platform_macros.GNU). One example is
to set it to:
ACE_NESTED_COMMAND := || break $?
to terminate building if a build in one subdirectory fails.
Thanks to Lothar Werzinger <werzinger.lothar@krones.de> for
suggesting this addition.
Thu Aug 19 13:06:00 1999 Michael Kircher <Michael.Kircher@mchp.siemens.de>
* ace/Read_Buffer.cpp: Fixed a bug in rec_read () method
which prohibited reading more than 1024 bytes at once.
Thu Aug 19 13:03:07 1999 Douglas C. Schmidt <schmidt@tango.cs.wustl.edu>
* ace/ACE.h (ACE): Fixed a "cut & paste" error in the comment --
basename should have been dirname. Thanks to Mark Hyett
<mhyett@std.saic.com> for reporting this.
* ace/ACE.cpp: Fixed a bug in ACE::dirname() that was causing problems
if the pathname didn't have a delim character. Thanks to Russ
Noseworthy for reporting this and providing a fix.
Thu Aug 19 12:59:56 1999 Carlos O'Ryan <coryan@cs.wustl.edu>
* ace/Message_Block.i:
Moved ACE_Message_Block::replace_data_block() down in the file
because it was using inline functions that were defined after it
was. Thanks to David for pointing this out.
Thu Aug 19 10:53:50 1999 David L. Levine <levine@cs.wustl.edu>
* ace/OS.i (setuid): added ACE_UNUSED_ARG (uid) for VxWorks,
pSOS, WIN32, and Chorus. Thanks to Garry Brother
<gmbroth@ncsc.mil> for reporting this.
Thu Aug 19 10:04:12 1999 David L. Levine <levine@cs.wustl.edu>
* include/makeinclude/platform_vxworks5.x_g++.GNU: added
trap to cause builds to fail if the exceptions flag is
enabled. The VxWorks libraries don't support exceptions.
And, exceptions give the (Tornado II) compiler fits, e.g.,
with ACE_wrappers/TAO/tao/IORManipulation.cpp. Thanks to
Erik Johannes <ejohannes@oresis.com> for this nifty preemptive
solution, and to Nick Sawadsky <Nick_Sawadsky@BrooksSoftware.com>
for motivating its implementation.
Thu Aug 19 09:34:41 1999 Douglas C. Schmidt <schmidt@tango.cs.wustl.edu>
* ace/WFMO_Reactor.h,
* ace/WFMO_Reactor.cpp,
* ace/Select_Reactor_T.h,
* ace/Select_Reactor_T.cpp,
* ace/Reactor_Impl.h,
* ace/Reactor.h,
* ace/Reactor.cpp:
Added a pair of restart() methods that can be used to set/get
the restart_ flag, which controls whether the handle_events()
event loop is restarted automatically when select() is
interrpted. Thanks to Erik Koerber <erik.koerber@siemens.at>
for suggesting this.
* ace/Service_Config: Updated the failure result comment for
open() and cleaned up the return value and errno propagation for
open_i() when process_commandline_directives() fails. Thanks to
Jerry D. De Master <jdemaste@ipdinc.com> for reporting the bug
and suggesting a fix.
* ace/Service_Config.h: Moved the process_directives() method
used to parse the svc.conf files out of the protected part of
the class to the public part so that application programmers can
call this directly to reconfigure services from the svc.conf
files. Thanks to John Mink <John.Mink@nl.origin-it.com> for
suggesting this.
Wed Aug 18 22:45:24 1999 Douglas C. Schmidt <schmidt@mambo.cs.wustl.edu>
* ace/WFMO_Reactor.h,
* ace/WFMO_Reactor.cpp,
* ace/XtReactor.h,
* ace/XtReactor.cpp,
* ace/TkReactor.h,
* ace/TkReactor.cpp,
* ace/FlReactor.h,
* ace/FlReactor.cpp,
* ace/Select_Reactor_T.h,
* ace/Select_Reactor_T.cpp,
* ace/Reactor_Impl.h,
* ace/Reactor.h,
* ace/Reactor.cpp:
* ace/Timer_Hash_T.h:
* ace/Timer_Heap_T.h:
* ace/Timer_List_T.h:
* ace/Timer_Queue_T.h:
* ace/Timer_Wheel_T.h:
* ace/Timer_Hash_T.cpp:
* ace/Timer_Heap_T.cpp:
* ace/Timer_List_T.cpp:
* ace/Timer_Wheel_T.cpp:
Changed all uses of const long to long...
Wed Aug 18 22:15:58 1999 Carlos O'Ryan <coryan@cs.wustl.edu>
* tests/run_tests.sh:
It was running the DISABLED tests, thanks to David for pointing
this out.
Wed Aug 18 21:48:52 1999 David L. Levine <levine@cs.wustl.edu>
* ACE-INSTALL.html: added Toshio Hori <lttoshi@etl.go.jp>
suggestions (in a new section) on building just what's
needed for TAO, and his tips for reducing disk space
usage on Unix platforms.
Wed Aug 18 21:32:56 1999 Ossama Othman <othman@cs.wustl.edu>
* docs/usage-bugzilla.html:
Added a simple document explaining basic usage of our
installation of bugzilla.
* ACE-INSTALL.html:
* PROBLEM-REPORT-FORM:
Updated with information about the bugzilla usage
documentation.
Wed Aug 18 20:28:23 1999 David L. Levine <levine@cs.wustl.edu>
* bin/check_build_logs: check for just Stop, not [Ss]top,
to avoid snagging top output. Gnu make says "Stop" when
it can't find a dependency.
Wed Aug 18 19:08:08 1999 David L. Levine <levine@cs.wustl.edu>
* ace/OS.{h,cpp},Object_Manager.{h,cpp},Log_Msg.cpp:
moved ACE_LOG_MSG_INSTANCE_LOCK from ACE_Object_Manager
to ACE_OS_Object_Manager, so that Log_Msg.cpp needn't
to depend on Object_Manager for it.
Wed Aug 18 18:20:11 1999 Carlos O'Ryan <coryan@cs.wustl.edu>
* tests/SOCK_Send_Recv_Test.cpp:
Fixed typo.
Wed Aug 18 17:58:06 1999 Carlos O'Ryan <coryan@cs.wustl.edu>
* THANKS:
* ace/README:
* ace/config-irix6.x-common.h:
Added new macro (ACE_HAS_BROKEN_DGRAM_SENDV) to handle platforms
where using sendmsg with exactly IOV_MAX elements in the iovec
fails (normally the number of elements can be up to and
including IOV_MAX). Thanks to Tobin Bergen-Hill
<tbhill@dctd.saic.com> for tracking this down.
Wed Aug 18 16:08:46 1999 Douglas C. Schmidt <schmidt@ace.cs.wustl.edu>
* tests/SOCK_Send_Recv_Test.cpp: Reformatted this test so
that it conforms to ACE programming guidelines.
Wed Aug 18 13:49:30 1999 David L. Levine <levine@cs.wustl.edu>
* ace/Makefile: if ACE_COMPONENTS = FOR_TAO, don't include
Filecache in UTILS_FILES. TAO doesn't need Filecache.
And, its ACE_Hash<ACE_CString> and ACE_Equal_To<ACE_CString>
explicit template instantiations collide with those in
ACE_wrappers/TAO/tao/POA.cpp. That precludes building
a shared libTAO for VxWorks, for example. And, it costs 14 Kb.
Thanks to Erik Johannes <ejohannes@oresis.com> for helping
to find this solution. And reminding me to implement it :-)
Wed Aug 18 13:16:09 1999 David L. Levine <levine@cs.wustl.edu>
* ACE-INSTALL.html: clarify that PERL_PATH must include
the full path, including the perl.exe filename. Thanks
to Walter Welzel <Walter.Welzel@med.siemens.de> for
reporting this.
Wed Aug 18 13:11:30 1999 Carlos O'Ryan <coryan@cs.wustl.edu>
* ace/OS.h:
* ace/OS.i:
The new methods to manipulate condition variable attributes
were not compiling on single threaded platforms.
Wed Aug 18 13:09:36 1999 David L. Levine <levine@cs.wustl.edu>
* tests/Makefile: don't add libDLL_Test.$(SOEXT) to BUILD
on VxWorks. Thanks to Walter Welzel <Walter.Welzel@med.siemens.de>
for reporting that it did get build for VxWorks with
shared libs enabled, but not successfully (or usefully).
Wed Aug 18 10:36:16 1999 Nanbor Wang <nanbor@cs.wustl.edu>
* ACE-INSTALL.html: Updated all references to MSVC 4.x. We no
longer support the compiler. Thanks to Welzel Walter
<Walter.Welzel@med.siemens.de> for pointing this out.
Wed Aug 18 10:42:13 1999 Douglas C. Schmidt <schmidt@tango.cs.wustl.edu>
* ace/Timer_List_T.cpp (reset_interval): Added a constcast to
make SunC++ 4.2 happy. Thanks to Andy for reporting this.
* ace/WFMO_Reactor.i (reset_timer_interval): The return type
was incorrect... Thanks to Andy and Jeff for reporting this.
Wed Aug 18 09:47:51 1999 Carlos O'Ryan <coryan@cs.wustl.edu>
* tests/run_tests.pl:
The disabled tests were executed anyway, thanks to David for
pointing this out.
Wed Aug 18 09:34:46 1999 Carlos O'Ryan <coryan@cs.wustl.edu>
* ace/FlReactor.cpp:
* ace/XtReactor.cpp:
Fixed typos in the code, this is only used in a few platforms,
that's why it didn't show up before.
Tue Aug 17 20:02:55 1999 Douglas C. Schmidt <schmidt@tango.cs.wustl.edu>
* tests/Reactor_Timer_Test.cpp: Enhanced this test to exercise
the new reset_timer_interval() feature that Darrell added. It
appears to work quite well. Also, make the test easier to
understand by adding more structure.
* ace/WFMO_Reactor.h,
* ace/WFMO_Reactor.cpp,
* ace/XtReactor.h,
* ace/XtReactor.cpp,
* ace/TkReactor.h,
* ace/TkReactor.cpp,
* ace/FlReactor.h,
* ace/FlReactor.cpp,
* ace/Select_Reactor_T.h,
* ace/Select_Reactor_T.cpp,
* ace/Reactor_Impl.h,
* ace/Reactor.h,
* ace/Reactor.cpp:
Exposed the new reset_interval() method Darrell added to all the
Timer mechanisms via a method in each of these Reactor's called
reset_timer_interval().
* ace/Timer_Hash_T.h:
* ace/Timer_Heap_T.h:
* ace/Timer_List_T.h:
* ace/Timer_Queue_T.h:
* ace/Timer_Wheel_T.h:
* ace/Timer_Hash_T.cpp:
* ace/Timer_Heap_T.cpp:
* ace/Timer_List_T.cpp:
* ace/Timer_Wheel_T.cpp:
Changed the return values of <reset_interval> to be (1)
consistent (i.e., to return a value through all paths in the
method) and (2) to return -1 on failure and 0 on success.
Also replaced a number of C-style casts with
ACE_reinterpret_casts.
Tue Aug 17 20:51:35 1999 Carlos O'Ryan <coryan@cs.wustl.edu>
* ace/TP_Reactor.h:
* ace/TP_Reactor.cpp:
The TP Reactor also experiences a performance hit if signal
masking is enabled. Therefore, we can now make this optional.
Tue Aug 17 19:10:00 1999 Darrell Brunsch <brunsch@cs.wustl.edu>
* ace/OS.cpp: Fixed typo.
* ace/Stats.cpp: Removed some warnings showing up in MSVC when
assigning ACE_UINT64 values to ACE_UINT32 variables. Used
ACE_U64_TO_U32 to remove these warnings.
* ace/Timer_Hash_T.h:
* ace/Timer_Heap_T.h:
* ace/Timer_List_T.h:
* ace/Timer_Queue_T.h:
* ace/Timer_Wheel_T.h:
* ace/Timer_Hash_T.cpp:
* ace/Timer_Heap_T.cpp:
* ace/Timer_List_T.cpp:
* ace/Timer_Wheel_T.cpp:
Added a new method, <reset_interval> which can be used to
change the interval of a timer represented by a timer_id.
Tue Aug 17 18:43:53 1999 Jeff Parsons <parsons@cs.wustl.edu>
* ace/OS.h:
* ace/OS.i:
Added wscmp and wsncmp functions to go with the existing
wslen and wscpy functions. These all use WChar*, so arg
size is independent of platform. These are to be used for
all manipulations of CORBA::WString. The two that were
added were needed for wstring tests in Param_Test. WChar*
versions of the other string manipulation functions will
be added as needed.
Tue Aug 17 17:49:33 1999 Douglas C. Schmidt <schmidt@ace.cs.wustl.edu>
* ace/config-sunos5.5.h: If (_LARGEFILE_SOURCE) || (_FILE_OFFSET_BITS==64)
are enabled then #undef ACE_HAS_PROC_FS and ACE_HAS_PRUSAGE_T to
work around problems with Solaris 7. Thanks to Sridhara Rao
Dasu <dasu@slac.stanford.edu> for reporting this.
* ace/OS.i: Updated the readdir_r() conditional compilation so that
it'll work when _FILE_OFFSET_BITS == 64. Thanks to Sridhara Rao
Dasu <dasu@slac.stanford.edu> for reporting this.
Tue Aug 17 17:17:13 1999 Carlos O'Ryan <coryan@cs.wustl.edu>
* ace/OS.h:
* ace/OS.i:
* ace/OS.cpp:
Added new data type to handle condition variable attributes
(ACE_condattr_t). New methods to manipulate that data type
(ACE_OS::cond_attr_init and destroy) Add new method to create a
condition variable from a pre-initialized attribute.
* ace/Synch.h:
* ace/Synch.i:
* ace/Synch.cpp:
Added new wrapper for the ACE_condattr_t structure.
* ace/Token.h:
* ace/Token.cpp:
Use ACE_Condition_Attributes to minimize the number of memory
allocations and locks in the critical path of the TP_Reactor.
Tue Aug 17 15:55:17 1999 Nanbor Wang <nanbor@cs.wustl.edu>
* performance-tests/TCP/TCP.{dsw,dsp}:
* performance-tests/TCP/Makefile:
* performance-tests/TCP/tcp_test.cpp: Added the new test modified
by Carlos and a bit further by me. The test measures TCP
performance of a platform. We can also use it to test the
performance of various reactors.
Tue Aug 17 14:52:40 1999 Darrell Brunsch <brunsch@cs.wustl.edu>
* ace/config-win32.h: Added ACE_CC_COMPILER definition for MSVC.
ACE_CC_COMPILER is a string containing the compiler program.
Tue Aug 17 13:48:27 CDT 1999 Loren Rittle <rittle@rsch.comm.mot.com>
* bin/update-ace+tao.sh: Use authoritative name list instead of
ad hoc list to update file.
Tue Aug 17 06:33:05 1999 Douglas C. Schmidt <schmidt@tango.cs.wustl.edu>
* ace/Task.h: Clarified the comment regarding
open() and close() on ACE_Task_Base. Thanks to Jeff Franks
<Jeffrey_Franks@i-o.com> for suggesting this.
Tue Aug 17 11:56:33 1999 Carlos O'Ryan <coryan@cs.wustl.edu>
* ace/Select_Reactor_T.h:
* ace/Select_Reactor_T.cpp:
Added option in the constructor to disable the signal handling
features in the select reactor. This eliminates a couple of
kernel level locks that are not needed in all applications.
* ace/Stats.h:
* ace/Stats.cpp:
Now we keep track of the iteration where the minimum and maximum
latencies were achieved.
Tue Aug 17 06:33:05 1999 Douglas C. Schmidt <schmidt@tango.cs.wustl.edu>
* bin: Added a new shell script called update-ace+tao.sh
that updates the ACE/TAO source tree to the latest
numeric-assigned version. Thanks to Loren Rittle
<rittle@comm.mot.com> for contributing this.
Mon Aug 16 20:09:12 1999 Carlos O'Ryan <coryan@cs.wustl.edu>
* ace/CDR_Stream.h:
* ace/CDR_Stream.i:
* ace/CDR_Stream.cpp:
Added new method to transfer the contents of one CDR stream into
another. This is used in the implementation of the ORB to
minimize the number of data copies, memory allocations and
locks.
* ace/Message_Block.h:
* ace/Message_Block.i:
Added new method to replace the Data_Block, this method returns
the old one, letting the user decide how to deallocated the Data
block, possibly transfering it to another Message_Block.
Mon Aug 16 15:58:12 1999 Steve Huston <shuston@riverace.com>
* ace/config-sunos5.5.h:
* include/makeinclude/platform_sunos5_sunc++.GNU: Added support
for using "compat=4" mode for Sun CC 5. To use this, do
"make compat4=1", or equivalent. Compat 4 uses -compat=4 with
its old iostreams, but the newer Sun CC 5 scheme of explicit
template instantiation.
Mon Aug 16 11:59:18 1999 Vishal Kachroo <vishal@cs.wustl.edu>
* ace/SOCK_Dgram_Mcast.cpp (subscribe): Constructed and passed a
complete sockaddr_in to the ACE_OS::join_leaf () call. This was
just being passed sockaddr_in.sin_addr.s_addr.
Sat Aug 14 18:01:27 1999 Carlos O'Ryan <coryan@cs.wustl.edu>
* tests/run_tests.pl:
Fixed some output messages that were going to stdout.
Sat Aug 14 15:20:27 1999 Douglas C. Schmidt <schmidt@tango.cs.wustl.edu>
* ace/SOCK_Dgram_Mcast.cpp (subscribe): It looks like there
was a bug where we were passing an s_addr to ACE_OS::join_leaf()
rather than a sockaddr *. Fixing this also cleaned up some code
that was #ifdef'd for UNICOS. Thanks to Vishal for reporting
this.
* ace/Process.h: Added a virtual to ~ACE_Process so that it
can be used for subclassing more readily. Thanks to Zoran
Ivanovic <zorani@pathcom.com> for suggesting this.
Sat Aug 14 14:11:25 1999 Everett Anderson <eea1@cs.wustl.edu>
* ace/Remote_Tokens.cpp (tryacquire): Fixed so that it uses
ACE_Token_Request::TRY_ACQUIRE instead of RELEASE.
Fri Aug 13 18:55:51 1999 Douglas C. Schmidt <schmidt@tango.cs.wustl.edu>
* ace/Handle_Set.h (ACE_Handle_Set): Clarified the meaning of the
nbits_ array. Thanks to Hao Ruan <hruan@lucent.com> for
motivating this.
Fri Aug 13 21:18:40 1999 David L. Levine <levine@cs.wustl.edu>
* ace/OS.i (llseek): on Linux, moved extern "C" llseek ()
declaration out of the function. Thanks to Tal Lev-Ami
<tla@tici.co.il> for this fix.
Fri Aug 13 20:50:02 1999 Nanbor Wang <nanbor@cs.wustl.edu>
* ace/Select_Reactor_T.cpp (handle_events): Added a deactivation
check for non-threaded case. The original check was mixed with
thread owner check and thus got disabled under single-threaded
configurations. Thanks to Kirthika for reporting the problem.
Fri Aug 13 13:11:16 1999 David L. Levine <levine@cs.wustl.edu>
* bin/make_release: moved ACE_wrappers/TAO addition to
$release_files so that it's only done for the ACE+TAO kit.
Fri Aug 13 12:44:08 1999 David L. Levine <levine@cs.wustl.edu>
* Makefile,bin/make_release: added support (and documentation)
for creating kits with or without new tags, or using an old
tag; generated man pages; installation to the public ftp/http
site on ace; and zip files.
Fri Aug 13 07:58:12 1999 David L. Levine <levine@cs.wustl.edu>
* ace/OS.{h,i},README,config-osf1-4.0.h (llseek): added
ACE_HAS_LLSEEK support. Thanks to Tal Lev-Ami <tla@tici.co.il>
for providing this.
Thu Aug 12 22:05:37 1999 Douglas C. Schmidt <schmidt@tango.cs.wustl.edu>
* ace/OS.i (sema_wait, rw_tryrdlock, rw_trywrlock):
Replaced more ad hoc uses of the
int error = 0;
...
error = errno;
...
errno = error;
idiom with the ACE_Errno_Guard.
* ace/Synch.h: Updated the comment to remind folks who would
like to have a working ACE_Process_Condition to contact us if
they know how to do this. Thanks to Craig Anderson
<chanders@timing.com> for motivating this.
* tests/Process_Strategy_Test.cpp (open): Clarified the behavior
of the code that's run when fork() is used. Thanks to Umar
Syyid for motivating this.
Thu Aug 12 21:30:09 1999 Alexander Babu Arulanthu <alex@cs.wustl.edu>
* include/makeinclude/platform_vxworks5.x_g++.GNU:
added SIMNT support.
Thu Aug 12 20:54:40 1999 David L. Levine <levine@cs.wustl.edu>
* ace/config-osf1-4.0.h: added ACE_HAS_USING_KEYWORD
for cxx and Rational compilers. [Bug 163]
Thu Aug 12 20:47:13 1999 Carlos O'Ryan <coryan@cs.wustl.edu>
* tests/Cached_Accept_Conn_Test.cpp:
Made the <debug> and <connection_accepted> variables global
instead of static, because otherwise Sun/CC automatic template
instantiation cannot find them at link time. The variables are
used in template code that is defined and used in the same file,
but Sun/CC does not seem to understand that.
Thu Aug 12 17:14:35 1999 Jeff Parsons <parsons@cs.wustl.edu>
* ace/OS.h:
Changed typedef of WChar to ACE_UINT16. The CDR operations
are already using write_2, read_2 and SHORT_SIZE, and
in the process of implementing wchars and wstrings in
IDL, it's going to be important to optimize for the
Unicode common case.
Thu Aug 12 16:24:16 1999 David L. Levine <levine@cs.wustl.edu>
* bin/make_release: chdir up a level before removing the
staging directory. Thanks to Carlos for pointing out
that it's necessary, because we had chdir'd into it.
And for noticing that $build_commands got clobbered in
create_kit (). Obey $generate_man_pages setting.
Thu Aug 12 16:03:03 1999 David L. Levine <levine@cs.wustl.edu>
* ACE version 5.0.1 released.
Thu Aug 12 15:49:00 1999 David L. Levine <levine@cs.wustl.edu>
* Makefile,bin/make_release: build kits in /tmp staging
area, and copy to ace's ftp pub/ACE directory.
Thu Aug 12 11:36:46 1999 Carlos O'Ryan <coryan@cs.wustl.edu>
* ace/OS.h:
* ace/Svc_Handler.cpp:
* ace/Future.cpp:
Some platforms require arguments in the exception thrown from
operator new. The standard (std::bad_alloc) does not require
any.
Added a new macro (ACE_throw_bad_alloc) that takes care of these
differences, including platforms that don't throw exceptions but
return something.
Wed Aug 11 17:00:00 1999 Kirthika Parameswaran <kirthika@cs.wustl.edu>
* tests/Cached_Accept_Conn_Test.cpp:
Removed run_event_loop and end_event_loop and put in
handle_events with a flag to stop the loop. This is a bug fix
for Bug183.
Wed Aug 11 15:49:37 1999 David L. Levine <levine@cs.wustl.edu>
* docs/ACE-guidelines.html: cleaned up ACE doc tool discussion.
Added Carlos' inlining heuristics.
Wed Aug 11 13:53:20 1999 David L. Levine <levine@cs.wustl.edu>
* ace/config-win32.h,config-win32-borland.h: added
ACE_HAS_MUTABLE_KEYWORD. Thanks to Jody for this request.
Wed Aug 11 13:15:26 1999 David L. Levine <levine@cs.wustl.edu>
* ace/config-g++-common.h,config-win32.h,config-win32-borland.h:
added ACE_HAS_EXPLICIT_KEYWORD
(for egcs only, in config-g++-common.h). Thanks to Jody Hagins
<jody@atdesk.com> for this update.
* ace/config-g++-common.h: added ACE_HAS_MUTABLE_KEYWORD.
Wed Aug 11 13:10:32 1999 David L. Levine <levine@cs.wustl.edu>
* ace/OS.h,README: added ACE_HAS_MUTABLE_KEYWORD support.
Thanks to Jody Hagins <jody@atdesk.com> for providing it.
Wed Aug 11 12:55:23 1999 Carlos O'Ryan <coryan@cs.wustl.edu>
* ace/Svc_Handler.cpp:
* ace/Future.cpp:
The throw expressions require a constructor, not just the type,
thanks to David for pointing this out.
Wed Aug 11 10:12:11 1999 David L. Levine <levine@cs.wustl.edu>
* ace/OS.h,Auto_Ptr.h,SString.h,README: added support for
ACE_HAS_EXPLICIT_KEYWORD. Thanks to Jody Hagins <jody@atdesk.com>
for suggesting this.
Wed Aug 11 10:07:36 1999 Carlos O'Ryan <coryan@cs.wustl.edu>
* ace/Future.cpp:
* ace/Local_Tokens.cpp:
* ace/Log_Msg.cpp:
* ace/Log_Record.cpp:
* ace/Svc_Handler.cpp:
* netsvcs/lib/Token_Handler.cpp:
Fixed several warnings and errors with gcc-2.95
* include/makeinclude/wrapper_macros.GNU:
Add -fcheck-new to the command-line of g++ when compiling with
exceptions disabled. In that case new operators could return 0
and without this option the constructor will surely be invoked
on invalid data.
* bin/auto_compile:
Use LOGNAME instead of USER to get the username because it is
more portable.
Tue Aug 10 23:47:32 1999 Kirthika Parameswaran <kirthika@cs.wustl.edu>
* ace/Cached_Connect_Strategy_T.h:
* ace/Caching_Utility_T.h:
* ace/Caching_Strategies_T.h:
* ace/Cleanup_Strategies_T.h:
* ace/Cache_Map_Manager_T.h:
* ace/Hash_Cache_Map_Manager_T.h:
Defined macros to shorten lengthy class names for linkers which
couldnt grok long names (example: Sun Linker). Thanks to
Dr.Schmidt for this cool idea.
Tue Aug 10 19:07:32 1999 Carlos O'Ryan <coryan@cs.wustl.edu>
* tests/run_tests.sh:
* tests/run_tests.pl:
* tests/run_tests.lst:
Move the list of tests to a separate file. This file is used to
drive both a perl version of the script and the old shell
version.
The new perl version is able to terminate programs that hang,
but still has problem with processes that fork children who then
hang for some reason. The perl script has to be ported to Win32
too.
* bin/run_all_list.pm:
Use the new tests/run_tests.pl script on Unix.
* bin/run_all.pl:
Run all the test scripts in ACE and TAO, much like run_all_win32
but for unix systems.
* bin/auto_compile:
Remember to remove the disable file in case of errors.
Tue Aug 10 18:08:30 1999 Jeff Parsons <parsons@cs.wustl.edu>
* ace/CDR_Stream.h:
* ace/CDR_STream.i:
Added all the necessary stuff for wstrings.
Tue Aug 10 15:36:02 1999 David L. Levine <levine@cs.wustl.edu>
* tests/Malloc_Test.cpp (main): removed unused argc
declaration, with ACE_LACKS_FORK && ! ACE_HAS_WIN32.
Tue Aug 10 15:26:43 1999 David L. Levine <levine@cs.wustl.edu>
* ace/OS.cpp (strptime): removed unreachable break after
return statement, in default case of switch statement.
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. Thanks to Jeffrey Franks <Jeffrey_Franks@i-o.com> for
reporting the problem.
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.
|