1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
153
154
155
156
157
158
159
160
161
162
163
164
165
166
167
168
169
170
171
172
173
174
175
176
177
178
179
180
181
182
183
184
185
186
187
188
189
190
191
192
193
194
195
196
197
198
199
200
201
202
203
204
205
206
207
208
209
210
211
212
213
214
215
216
217
218
219
220
221
222
223
224
225
226
227
228
229
230
231
232
233
234
235
236
237
238
239
240
241
242
243
244
245
246
247
248
249
250
251
252
253
254
255
256
257
258
259
260
261
262
263
264
265
266
267
268
269
270
271
272
273
274
275
276
277
278
279
280
281
282
283
284
285
286
287
288
289
290
291
292
293
294
295
296
297
298
299
300
301
302
303
304
305
306
307
308
309
310
311
312
313
314
315
316
317
318
319
320
321
322
323
324
325
326
327
328
329
330
331
332
333
334
335
336
337
338
339
340
341
342
343
344
345
346
347
348
349
350
351
352
353
354
355
356
357
358
359
360
361
362
363
364
365
366
367
368
369
370
371
372
373
374
375
376
377
378
379
380
381
382
383
384
385
386
387
388
389
390
391
392
393
394
395
396
397
398
399
400
401
402
403
404
405
406
407
408
409
410
411
412
413
414
415
416
417
418
419
420
421
422
423
424
425
426
427
428
429
430
431
432
433
434
435
436
437
438
439
440
441
442
443
444
445
446
447
448
449
450
451
452
453
454
455
456
457
458
459
460
461
462
463
464
465
466
467
468
469
470
471
472
473
474
475
476
477
478
479
480
481
482
483
484
485
486
487
488
489
490
491
492
493
494
495
496
497
498
499
500
501
502
503
504
505
506
507
508
509
510
511
512
513
514
515
516
517
518
519
520
521
522
523
524
525
526
527
528
529
530
531
532
533
534
535
536
537
538
539
540
541
542
543
544
545
546
547
548
549
550
551
552
553
554
555
556
557
558
559
560
561
562
563
564
565
566
567
568
569
570
571
572
573
574
575
576
577
578
579
580
581
582
583
584
585
586
587
588
589
590
591
592
593
594
595
596
597
598
599
600
601
602
603
604
605
606
607
608
609
610
611
612
613
614
615
616
617
618
619
620
621
622
623
624
625
626
627
628
629
630
631
632
633
634
635
636
637
638
639
640
641
642
643
644
645
646
647
648
649
650
651
652
653
654
655
656
657
658
659
660
661
662
663
664
665
666
667
668
669
670
671
672
673
674
675
676
677
678
679
680
681
682
683
684
685
686
687
688
689
690
691
692
693
694
695
696
697
698
699
700
701
702
703
704
705
706
707
708
709
710
711
712
713
714
715
716
717
718
719
720
721
722
723
724
725
726
727
728
729
730
731
732
733
734
735
736
737
738
739
740
741
742
743
744
745
746
747
748
749
750
751
752
753
754
755
756
757
758
759
760
761
762
763
764
765
766
767
768
769
770
771
772
773
774
775
776
777
778
779
780
781
782
783
784
785
786
787
788
789
790
791
792
793
794
795
796
797
798
799
800
801
802
803
804
805
806
807
808
809
810
811
812
813
814
815
816
817
818
819
820
821
822
823
824
825
826
827
828
829
830
831
832
833
834
835
836
837
838
839
840
841
842
843
844
845
846
847
848
849
850
851
852
853
854
855
856
857
858
859
860
861
862
863
864
865
866
867
868
869
870
871
872
873
874
875
876
877
878
879
880
881
882
883
884
885
886
887
888
889
890
891
892
893
894
895
896
897
898
899
900
901
902
903
904
905
906
907
908
909
910
911
912
913
914
915
916
917
918
919
920
921
922
923
924
925
926
927
928
929
930
931
932
933
934
935
936
937
938
939
940
941
942
943
944
945
946
947
948
949
950
951
952
953
954
955
956
957
958
959
960
961
962
963
964
965
966
967
968
969
970
971
972
973
974
975
976
977
978
979
980
981
982
983
984
985
986
987
988
989
990
991
992
993
994
995
996
997
998
999
1000
1001
1002
1003
1004
1005
1006
1007
1008
1009
1010
1011
1012
1013
1014
1015
1016
1017
1018
1019
1020
1021
1022
1023
1024
1025
1026
1027
1028
1029
1030
1031
1032
1033
1034
1035
1036
1037
1038
1039
1040
1041
1042
1043
1044
1045
1046
1047
1048
1049
1050
1051
1052
1053
1054
1055
1056
1057
1058
1059
1060
1061
1062
1063
1064
1065
1066
1067
1068
1069
1070
1071
1072
1073
1074
1075
1076
1077
1078
1079
1080
1081
1082
1083
1084
1085
1086
1087
1088
1089
1090
1091
1092
1093
1094
1095
1096
1097
1098
1099
1100
1101
1102
1103
1104
1105
1106
1107
1108
1109
1110
1111
1112
1113
1114
1115
1116
1117
1118
1119
1120
1121
1122
1123
1124
1125
1126
1127
1128
1129
1130
1131
1132
1133
1134
1135
1136
1137
1138
1139
1140
1141
1142
1143
1144
1145
1146
1147
1148
1149
1150
1151
1152
1153
1154
1155
1156
1157
1158
1159
1160
1161
1162
1163
1164
1165
1166
1167
1168
1169
1170
1171
1172
1173
1174
1175
1176
1177
1178
1179
1180
1181
1182
1183
1184
1185
1186
1187
1188
1189
1190
1191
1192
1193
1194
1195
1196
1197
1198
1199
1200
1201
1202
1203
1204
1205
1206
1207
1208
1209
1210
1211
1212
1213
1214
1215
1216
1217
1218
1219
1220
1221
1222
1223
1224
1225
1226
1227
1228
1229
1230
1231
1232
1233
1234
1235
1236
1237
1238
1239
1240
1241
1242
1243
1244
1245
1246
1247
1248
1249
1250
1251
1252
1253
1254
1255
1256
1257
1258
1259
1260
1261
1262
1263
1264
1265
1266
1267
1268
1269
1270
1271
1272
1273
1274
1275
1276
1277
1278
1279
1280
1281
1282
1283
1284
1285
1286
1287
1288
1289
1290
1291
1292
1293
1294
1295
1296
1297
1298
1299
1300
1301
1302
1303
1304
1305
1306
1307
1308
1309
1310
1311
1312
1313
1314
1315
1316
1317
1318
1319
1320
1321
1322
1323
1324
1325
1326
1327
1328
1329
1330
1331
1332
1333
1334
1335
1336
1337
1338
1339
1340
1341
1342
1343
1344
1345
1346
1347
1348
1349
1350
1351
1352
1353
1354
1355
1356
1357
1358
1359
1360
1361
1362
1363
1364
1365
1366
1367
1368
1369
1370
1371
1372
1373
1374
1375
1376
1377
1378
1379
1380
1381
1382
1383
1384
1385
1386
1387
1388
1389
1390
1391
1392
1393
1394
1395
1396
1397
1398
1399
1400
1401
1402
1403
1404
1405
1406
1407
1408
1409
1410
1411
1412
1413
1414
1415
1416
1417
1418
1419
1420
1421
1422
1423
1424
1425
1426
1427
1428
1429
1430
1431
1432
1433
1434
1435
1436
1437
1438
1439
1440
1441
1442
1443
1444
1445
1446
1447
1448
1449
1450
1451
1452
1453
1454
1455
1456
1457
1458
1459
1460
1461
1462
1463
1464
1465
1466
1467
1468
1469
1470
1471
1472
1473
1474
1475
1476
1477
1478
1479
1480
1481
1482
1483
1484
1485
1486
1487
1488
1489
1490
1491
1492
1493
1494
1495
1496
1497
1498
1499
1500
1501
1502
1503
1504
1505
1506
1507
1508
1509
1510
1511
1512
1513
1514
1515
1516
1517
1518
1519
1520
1521
1522
1523
1524
1525
1526
1527
1528
1529
1530
1531
1532
1533
1534
1535
1536
1537
1538
1539
1540
1541
1542
1543
1544
1545
1546
1547
1548
1549
1550
1551
1552
1553
1554
1555
1556
1557
1558
1559
1560
1561
1562
1563
1564
1565
1566
1567
1568
1569
1570
1571
1572
1573
1574
1575
1576
1577
1578
1579
1580
1581
1582
1583
1584
1585
1586
1587
1588
1589
1590
1591
1592
1593
1594
1595
1596
1597
1598
1599
1600
1601
1602
1603
1604
1605
1606
1607
1608
1609
1610
1611
1612
1613
1614
1615
1616
1617
1618
1619
1620
1621
1622
1623
1624
1625
1626
1627
1628
1629
1630
1631
1632
1633
1634
1635
1636
1637
1638
1639
1640
1641
1642
1643
1644
1645
1646
1647
1648
1649
1650
1651
1652
1653
1654
1655
1656
1657
1658
1659
1660
1661
1662
1663
1664
1665
1666
1667
1668
1669
1670
1671
1672
1673
1674
1675
1676
1677
1678
1679
1680
1681
1682
1683
1684
1685
1686
1687
1688
1689
1690
1691
1692
1693
1694
1695
1696
1697
1698
1699
1700
1701
1702
1703
1704
1705
1706
1707
1708
1709
1710
1711
1712
1713
1714
1715
1716
1717
1718
1719
1720
1721
1722
1723
1724
1725
1726
1727
1728
1729
1730
1731
1732
1733
1734
1735
1736
1737
1738
1739
1740
1741
1742
1743
1744
1745
1746
1747
1748
1749
1750
1751
1752
1753
1754
1755
1756
1757
1758
1759
1760
1761
1762
1763
1764
1765
1766
1767
1768
1769
1770
1771
1772
1773
1774
1775
1776
1777
1778
1779
1780
1781
1782
1783
1784
1785
1786
1787
1788
1789
1790
1791
1792
1793
1794
1795
1796
1797
1798
1799
1800
1801
1802
1803
1804
1805
1806
1807
1808
1809
1810
1811
1812
1813
1814
1815
1816
1817
1818
1819
1820
1821
1822
1823
1824
1825
1826
1827
1828
1829
1830
1831
1832
1833
1834
1835
1836
1837
1838
1839
1840
1841
1842
1843
1844
1845
1846
1847
1848
1849
1850
1851
1852
1853
1854
1855
1856
1857
1858
1859
1860
1861
1862
1863
1864
1865
1866
1867
1868
1869
1870
1871
1872
1873
1874
1875
1876
1877
1878
1879
1880
1881
1882
1883
1884
1885
1886
1887
1888
1889
1890
1891
1892
1893
1894
1895
1896
1897
1898
1899
1900
1901
1902
1903
1904
1905
1906
1907
1908
1909
1910
1911
1912
1913
1914
1915
1916
1917
1918
1919
1920
1921
1922
1923
1924
1925
1926
1927
1928
1929
1930
1931
1932
1933
1934
1935
1936
1937
1938
1939
1940
1941
1942
1943
1944
1945
1946
1947
1948
1949
1950
1951
1952
1953
1954
1955
1956
1957
1958
1959
1960
1961
1962
1963
1964
1965
1966
1967
1968
1969
1970
1971
1972
1973
1974
1975
1976
1977
1978
1979
1980
1981
1982
1983
1984
1985
1986
1987
1988
1989
1990
1991
1992
1993
1994
1995
1996
1997
1998
1999
2000
2001
2002
2003
2004
2005
2006
2007
2008
2009
2010
2011
2012
2013
2014
2015
2016
2017
2018
2019
2020
2021
2022
2023
2024
2025
2026
2027
2028
2029
2030
2031
2032
2033
2034
2035
2036
2037
2038
2039
2040
2041
2042
2043
2044
2045
2046
2047
2048
2049
2050
2051
2052
2053
2054
2055
2056
2057
2058
2059
2060
2061
2062
2063
2064
2065
2066
2067
2068
2069
2070
2071
2072
2073
2074
2075
2076
2077
2078
2079
2080
2081
2082
2083
2084
2085
2086
2087
2088
2089
2090
2091
2092
2093
2094
2095
2096
2097
2098
2099
2100
2101
2102
2103
2104
2105
2106
2107
2108
2109
2110
2111
2112
2113
2114
2115
2116
2117
2118
2119
2120
2121
2122
2123
2124
2125
2126
2127
2128
2129
2130
2131
2132
2133
2134
2135
2136
2137
2138
2139
2140
2141
2142
2143
2144
2145
2146
2147
2148
2149
2150
2151
2152
2153
2154
2155
2156
2157
2158
2159
2160
2161
2162
2163
2164
2165
2166
2167
2168
2169
2170
2171
2172
2173
2174
2175
2176
2177
2178
2179
2180
2181
2182
2183
2184
2185
2186
2187
2188
2189
2190
2191
2192
2193
2194
2195
2196
2197
2198
2199
2200
2201
2202
2203
2204
2205
2206
2207
2208
2209
2210
2211
2212
2213
2214
2215
2216
2217
2218
2219
2220
2221
2222
2223
2224
2225
2226
2227
2228
2229
2230
2231
2232
2233
2234
2235
2236
2237
2238
2239
2240
2241
2242
2243
2244
2245
2246
2247
2248
2249
2250
2251
2252
2253
2254
2255
2256
2257
2258
2259
2260
2261
2262
2263
2264
2265
2266
2267
2268
2269
2270
2271
2272
2273
2274
2275
2276
2277
2278
2279
2280
2281
2282
2283
2284
2285
2286
2287
2288
2289
2290
2291
2292
2293
2294
2295
2296
2297
2298
2299
2300
2301
2302
2303
2304
2305
2306
2307
2308
2309
2310
2311
2312
2313
2314
2315
2316
2317
2318
2319
2320
2321
2322
2323
2324
2325
2326
2327
2328
2329
2330
2331
2332
2333
2334
2335
2336
2337
2338
2339
2340
2341
2342
2343
2344
2345
2346
2347
2348
2349
2350
2351
2352
2353
2354
2355
2356
2357
2358
2359
2360
2361
2362
2363
2364
2365
2366
2367
2368
2369
2370
2371
2372
2373
2374
2375
2376
2377
2378
2379
2380
2381
2382
2383
2384
2385
2386
2387
2388
2389
2390
2391
2392
2393
2394
2395
2396
2397
2398
2399
2400
2401
2402
2403
2404
2405
2406
2407
2408
2409
2410
2411
2412
2413
2414
2415
2416
2417
2418
2419
2420
2421
2422
2423
2424
2425
2426
2427
2428
2429
2430
2431
2432
2433
2434
2435
2436
2437
2438
2439
2440
2441
2442
2443
2444
2445
2446
2447
2448
2449
2450
2451
2452
2453
2454
2455
2456
2457
2458
2459
2460
2461
2462
2463
2464
2465
2466
2467
2468
2469
2470
2471
2472
2473
2474
2475
2476
2477
2478
2479
2480
2481
2482
2483
2484
2485
2486
2487
2488
2489
2490
2491
2492
2493
2494
2495
2496
2497
2498
2499
2500
2501
2502
2503
2504
2505
2506
2507
2508
2509
2510
2511
2512
2513
2514
2515
2516
2517
2518
2519
2520
2521
2522
2523
2524
2525
2526
2527
2528
2529
2530
2531
2532
2533
2534
2535
2536
2537
2538
2539
2540
2541
2542
2543
2544
2545
2546
2547
2548
2549
2550
2551
2552
2553
2554
2555
2556
2557
2558
2559
2560
2561
2562
2563
2564
2565
2566
2567
2568
2569
2570
2571
2572
2573
2574
2575
2576
2577
2578
2579
2580
2581
2582
2583
2584
2585
2586
2587
2588
2589
2590
2591
2592
2593
2594
2595
2596
2597
2598
2599
2600
2601
2602
2603
2604
2605
2606
2607
2608
2609
2610
2611
2612
2613
2614
2615
2616
2617
2618
2619
2620
2621
2622
2623
2624
2625
2626
2627
2628
2629
2630
2631
2632
2633
2634
2635
2636
2637
2638
2639
2640
2641
2642
2643
2644
2645
2646
2647
2648
2649
2650
2651
2652
2653
2654
2655
2656
2657
2658
2659
2660
2661
2662
2663
2664
2665
2666
2667
2668
2669
2670
2671
2672
2673
2674
2675
2676
2677
2678
2679
2680
2681
2682
2683
2684
2685
2686
2687
2688
2689
2690
2691
2692
2693
2694
2695
2696
2697
2698
2699
2700
2701
2702
2703
2704
2705
2706
2707
2708
2709
2710
2711
2712
2713
2714
2715
2716
2717
2718
2719
2720
2721
2722
2723
2724
2725
2726
2727
2728
2729
2730
2731
2732
2733
2734
2735
2736
2737
2738
2739
2740
2741
2742
2743
2744
2745
2746
2747
2748
2749
2750
2751
2752
2753
2754
2755
2756
2757
2758
2759
2760
2761
2762
2763
2764
2765
2766
2767
2768
2769
2770
2771
2772
2773
2774
2775
2776
2777
2778
2779
2780
2781
2782
2783
2784
2785
2786
2787
2788
2789
2790
2791
2792
2793
2794
2795
2796
2797
2798
2799
2800
2801
2802
2803
2804
2805
2806
2807
2808
2809
2810
2811
2812
2813
2814
2815
2816
2817
2818
2819
2820
2821
2822
2823
2824
2825
2826
2827
2828
2829
2830
2831
2832
2833
2834
2835
2836
2837
2838
2839
2840
2841
2842
2843
2844
2845
2846
2847
2848
2849
2850
2851
2852
2853
2854
2855
2856
2857
2858
2859
2860
2861
2862
2863
2864
2865
2866
2867
2868
2869
2870
2871
2872
2873
2874
2875
2876
2877
2878
2879
2880
2881
2882
2883
2884
2885
2886
2887
2888
2889
2890
2891
2892
2893
2894
2895
2896
2897
2898
2899
2900
2901
2902
2903
2904
2905
2906
2907
2908
2909
2910
2911
2912
2913
2914
2915
2916
2917
2918
2919
2920
2921
2922
2923
2924
2925
2926
2927
2928
2929
2930
2931
2932
2933
2934
2935
2936
2937
2938
2939
2940
2941
2942
2943
2944
2945
2946
2947
2948
2949
2950
2951
2952
2953
2954
2955
2956
2957
2958
2959
2960
2961
2962
2963
2964
2965
2966
2967
2968
2969
2970
2971
2972
2973
2974
2975
2976
2977
2978
2979
2980
2981
2982
2983
2984
2985
2986
2987
2988
2989
2990
2991
2992
2993
2994
2995
2996
2997
2998
2999
3000
3001
3002
3003
3004
3005
3006
3007
3008
3009
3010
3011
3012
3013
3014
3015
3016
3017
3018
3019
3020
3021
3022
3023
3024
3025
3026
3027
3028
3029
3030
3031
3032
3033
3034
3035
3036
3037
3038
3039
3040
3041
3042
3043
3044
3045
3046
3047
3048
3049
3050
3051
3052
3053
3054
3055
3056
3057
3058
3059
3060
3061
3062
3063
3064
3065
3066
3067
3068
3069
3070
3071
3072
3073
3074
3075
3076
3077
3078
3079
3080
3081
3082
3083
3084
3085
3086
3087
3088
3089
3090
3091
3092
3093
3094
3095
3096
3097
3098
3099
3100
3101
3102
3103
3104
3105
3106
3107
3108
3109
3110
3111
3112
3113
3114
3115
3116
3117
3118
3119
3120
3121
3122
3123
3124
3125
3126
3127
3128
3129
3130
3131
3132
3133
3134
3135
3136
3137
3138
3139
3140
3141
3142
3143
3144
3145
3146
3147
3148
3149
3150
3151
3152
3153
3154
3155
3156
3157
3158
3159
3160
3161
3162
3163
3164
3165
3166
3167
3168
3169
3170
3171
3172
3173
3174
3175
3176
3177
3178
3179
3180
3181
3182
3183
3184
3185
3186
3187
3188
3189
3190
3191
3192
3193
3194
3195
3196
3197
3198
3199
3200
3201
3202
3203
3204
3205
3206
3207
3208
3209
3210
3211
3212
3213
3214
3215
3216
3217
3218
3219
3220
3221
3222
3223
3224
3225
3226
3227
3228
3229
3230
3231
3232
3233
3234
3235
3236
3237
3238
3239
3240
3241
3242
3243
3244
3245
3246
3247
3248
3249
3250
3251
3252
3253
3254
3255
3256
3257
3258
3259
3260
3261
3262
3263
3264
3265
3266
3267
3268
3269
3270
3271
3272
3273
3274
3275
3276
3277
3278
3279
3280
3281
3282
3283
3284
3285
3286
3287
3288
3289
3290
3291
3292
3293
3294
3295
3296
3297
3298
3299
3300
3301
3302
3303
3304
3305
3306
3307
3308
3309
3310
3311
3312
3313
3314
3315
3316
3317
3318
3319
3320
3321
3322
3323
3324
3325
3326
3327
3328
3329
3330
3331
3332
3333
3334
3335
3336
3337
3338
3339
3340
3341
3342
3343
3344
3345
3346
3347
3348
3349
3350
3351
3352
3353
3354
3355
3356
3357
3358
3359
3360
3361
3362
3363
3364
3365
3366
3367
3368
3369
3370
3371
3372
3373
3374
3375
3376
3377
3378
3379
3380
3381
3382
3383
3384
3385
3386
3387
3388
3389
3390
3391
3392
3393
3394
3395
3396
3397
3398
3399
3400
3401
3402
3403
3404
3405
3406
3407
3408
3409
3410
3411
3412
3413
3414
3415
3416
3417
3418
3419
3420
3421
3422
3423
3424
3425
3426
3427
3428
3429
3430
3431
3432
3433
3434
3435
3436
3437
3438
3439
3440
3441
3442
3443
3444
3445
3446
3447
3448
3449
3450
3451
3452
3453
3454
3455
3456
3457
3458
3459
3460
3461
3462
3463
3464
3465
3466
3467
3468
3469
3470
3471
3472
3473
3474
3475
3476
3477
3478
3479
3480
3481
3482
3483
3484
3485
3486
3487
3488
3489
3490
3491
3492
3493
3494
3495
3496
3497
3498
3499
3500
3501
3502
3503
3504
3505
3506
3507
3508
3509
3510
3511
3512
3513
3514
3515
3516
3517
3518
3519
3520
3521
3522
3523
3524
3525
3526
3527
3528
3529
3530
3531
3532
3533
3534
3535
3536
3537
3538
3539
3540
3541
3542
3543
3544
3545
3546
3547
3548
3549
3550
3551
3552
3553
3554
3555
3556
3557
3558
3559
3560
3561
3562
3563
3564
3565
3566
3567
3568
3569
3570
3571
3572
3573
3574
3575
3576
3577
3578
3579
3580
3581
3582
3583
3584
3585
3586
3587
3588
3589
3590
3591
3592
3593
3594
3595
3596
3597
3598
3599
3600
3601
3602
3603
3604
3605
3606
3607
3608
3609
3610
3611
3612
3613
3614
3615
3616
3617
3618
3619
3620
3621
3622
3623
3624
3625
3626
3627
3628
3629
3630
3631
3632
3633
3634
3635
3636
3637
3638
3639
3640
3641
3642
3643
3644
3645
3646
3647
3648
3649
3650
3651
3652
3653
3654
3655
3656
3657
3658
3659
3660
3661
3662
3663
3664
3665
3666
3667
3668
3669
3670
3671
3672
3673
3674
3675
3676
3677
3678
3679
3680
3681
3682
3683
3684
3685
3686
3687
3688
3689
3690
3691
3692
3693
3694
3695
3696
3697
3698
3699
3700
3701
3702
3703
3704
3705
3706
3707
3708
3709
3710
3711
3712
3713
3714
3715
3716
3717
3718
3719
3720
3721
3722
3723
3724
3725
3726
3727
3728
3729
3730
3731
3732
3733
3734
3735
3736
3737
3738
3739
3740
3741
3742
3743
3744
3745
3746
3747
3748
3749
3750
3751
3752
3753
3754
3755
3756
3757
3758
3759
3760
3761
3762
3763
3764
3765
3766
3767
3768
3769
3770
3771
3772
3773
3774
3775
3776
3777
3778
3779
3780
3781
3782
3783
3784
3785
3786
3787
3788
3789
3790
3791
3792
3793
3794
3795
3796
3797
3798
3799
3800
3801
3802
3803
3804
3805
3806
3807
3808
3809
3810
3811
3812
3813
3814
3815
3816
3817
3818
3819
3820
3821
3822
3823
3824
3825
3826
3827
3828
3829
3830
3831
3832
3833
3834
3835
3836
3837
3838
3839
3840
3841
3842
3843
3844
3845
3846
3847
3848
3849
3850
3851
3852
3853
3854
3855
3856
3857
3858
3859
3860
3861
3862
3863
3864
3865
3866
3867
3868
3869
3870
3871
3872
3873
3874
3875
3876
3877
3878
3879
3880
3881
3882
3883
3884
3885
3886
3887
3888
3889
3890
3891
3892
3893
3894
3895
3896
3897
3898
3899
3900
3901
3902
3903
3904
3905
3906
3907
3908
3909
3910
3911
3912
3913
3914
3915
3916
3917
3918
3919
3920
3921
3922
3923
3924
3925
3926
3927
3928
3929
3930
3931
3932
3933
3934
3935
3936
3937
3938
3939
3940
3941
3942
3943
3944
3945
3946
3947
3948
3949
3950
3951
3952
3953
3954
3955
3956
3957
3958
3959
3960
3961
3962
3963
3964
3965
3966
3967
3968
3969
3970
3971
3972
3973
3974
3975
3976
3977
3978
3979
3980
3981
3982
3983
3984
3985
3986
3987
3988
3989
3990
3991
3992
3993
3994
3995
3996
3997
3998
3999
4000
4001
4002
4003
4004
4005
4006
4007
4008
4009
4010
4011
4012
4013
4014
4015
4016
4017
4018
4019
4020
4021
4022
4023
4024
4025
4026
4027
4028
4029
4030
4031
4032
4033
4034
4035
4036
4037
4038
4039
4040
4041
4042
4043
4044
4045
4046
4047
4048
4049
4050
4051
4052
4053
4054
4055
4056
4057
4058
4059
4060
4061
4062
4063
4064
4065
4066
4067
4068
4069
4070
4071
4072
4073
4074
4075
4076
4077
4078
4079
4080
4081
4082
4083
4084
4085
4086
4087
4088
4089
4090
4091
4092
4093
4094
4095
4096
4097
4098
4099
4100
4101
4102
4103
4104
4105
4106
4107
4108
4109
4110
4111
4112
4113
4114
4115
4116
4117
4118
4119
4120
4121
4122
4123
4124
4125
4126
4127
4128
4129
4130
4131
4132
4133
4134
4135
4136
4137
4138
4139
4140
4141
4142
4143
4144
4145
4146
4147
4148
4149
4150
4151
4152
4153
4154
4155
4156
4157
4158
4159
4160
4161
4162
4163
4164
4165
4166
4167
4168
4169
4170
4171
4172
4173
4174
4175
4176
4177
4178
4179
4180
4181
4182
4183
4184
4185
4186
4187
4188
4189
4190
4191
4192
4193
4194
4195
4196
4197
4198
4199
4200
4201
4202
4203
4204
4205
4206
4207
4208
4209
4210
4211
4212
4213
4214
4215
4216
4217
4218
4219
4220
4221
4222
4223
4224
4225
4226
4227
4228
4229
4230
4231
4232
4233
4234
4235
4236
4237
4238
4239
4240
4241
4242
4243
4244
4245
4246
4247
4248
4249
4250
4251
4252
4253
4254
4255
4256
4257
4258
4259
4260
4261
4262
4263
4264
4265
4266
4267
4268
4269
4270
4271
4272
4273
4274
4275
4276
4277
4278
4279
4280
4281
4282
4283
4284
4285
4286
4287
4288
4289
4290
4291
4292
4293
4294
4295
4296
4297
4298
4299
4300
4301
4302
4303
4304
4305
4306
4307
4308
4309
4310
4311
4312
4313
4314
4315
4316
4317
4318
4319
4320
4321
4322
4323
4324
4325
4326
4327
4328
4329
4330
4331
4332
4333
4334
4335
4336
4337
4338
4339
4340
4341
4342
4343
4344
4345
4346
4347
4348
4349
4350
4351
4352
4353
4354
4355
4356
4357
4358
4359
4360
4361
4362
4363
4364
4365
4366
4367
4368
4369
4370
4371
4372
4373
4374
4375
4376
4377
4378
4379
4380
4381
4382
4383
4384
4385
4386
4387
4388
4389
4390
4391
4392
4393
4394
4395
4396
4397
4398
4399
4400
4401
4402
4403
4404
4405
4406
4407
4408
4409
4410
4411
4412
4413
4414
4415
4416
4417
4418
4419
4420
4421
4422
4423
4424
4425
4426
4427
4428
4429
4430
4431
4432
4433
4434
4435
4436
4437
4438
4439
4440
4441
4442
4443
4444
4445
4446
4447
4448
4449
4450
4451
4452
4453
4454
4455
4456
4457
4458
4459
4460
4461
4462
4463
4464
4465
4466
4467
4468
4469
4470
4471
4472
4473
4474
4475
4476
4477
4478
4479
4480
4481
4482
4483
4484
4485
4486
4487
4488
4489
4490
4491
4492
4493
4494
4495
4496
4497
4498
4499
4500
4501
4502
4503
4504
4505
4506
4507
4508
4509
4510
4511
4512
4513
4514
4515
4516
4517
4518
4519
4520
4521
4522
4523
4524
4525
4526
4527
4528
4529
4530
4531
4532
4533
4534
4535
4536
4537
4538
4539
4540
4541
4542
4543
4544
4545
4546
4547
4548
4549
4550
4551
4552
4553
4554
4555
4556
4557
4558
4559
4560
4561
4562
4563
4564
4565
4566
4567
4568
4569
4570
4571
4572
4573
4574
4575
4576
4577
4578
4579
4580
4581
4582
4583
4584
4585
4586
4587
4588
4589
4590
4591
4592
4593
4594
4595
4596
4597
4598
4599
4600
4601
4602
4603
4604
4605
4606
4607
4608
4609
4610
4611
4612
4613
4614
4615
4616
4617
4618
4619
4620
4621
4622
4623
4624
4625
4626
4627
4628
4629
4630
4631
4632
4633
4634
4635
4636
4637
4638
4639
4640
4641
4642
4643
4644
4645
4646
4647
4648
4649
4650
4651
4652
4653
4654
4655
4656
4657
4658
4659
4660
4661
4662
4663
4664
4665
4666
4667
4668
4669
4670
4671
4672
4673
4674
4675
4676
4677
4678
4679
4680
4681
4682
4683
4684
4685
4686
4687
4688
4689
4690
4691
4692
4693
4694
4695
4696
4697
4698
4699
4700
4701
4702
4703
4704
4705
4706
4707
4708
4709
4710
4711
4712
4713
4714
4715
4716
4717
4718
4719
4720
4721
4722
4723
4724
4725
4726
4727
4728
4729
4730
4731
4732
4733
4734
4735
4736
4737
4738
4739
4740
4741
4742
4743
4744
4745
4746
4747
4748
4749
4750
4751
4752
4753
4754
4755
4756
4757
4758
4759
4760
4761
4762
4763
4764
4765
4766
4767
4768
4769
4770
4771
4772
4773
4774
4775
4776
4777
4778
4779
4780
4781
4782
4783
4784
4785
4786
4787
4788
4789
4790
4791
4792
4793
4794
4795
4796
4797
4798
4799
4800
4801
4802
4803
4804
4805
4806
4807
4808
4809
4810
4811
4812
4813
4814
4815
4816
4817
4818
4819
4820
4821
4822
4823
4824
4825
4826
4827
4828
4829
4830
4831
4832
4833
4834
4835
4836
4837
4838
4839
4840
4841
4842
4843
4844
4845
4846
4847
4848
4849
4850
4851
4852
4853
4854
4855
4856
4857
4858
4859
4860
4861
4862
4863
4864
4865
4866
4867
4868
4869
4870
4871
4872
4873
4874
4875
4876
4877
4878
4879
4880
4881
4882
4883
4884
4885
4886
4887
4888
4889
4890
4891
4892
4893
4894
4895
4896
4897
4898
4899
4900
4901
4902
4903
4904
4905
4906
4907
4908
4909
4910
4911
4912
4913
4914
4915
4916
4917
4918
4919
4920
4921
4922
4923
4924
4925
4926
4927
4928
4929
4930
4931
4932
4933
4934
4935
4936
4937
4938
4939
4940
4941
4942
4943
4944
4945
4946
4947
4948
4949
4950
4951
4952
4953
4954
4955
4956
4957
4958
4959
4960
4961
4962
4963
4964
4965
4966
4967
4968
4969
4970
4971
4972
4973
4974
4975
4976
4977
4978
4979
4980
4981
4982
4983
4984
4985
4986
4987
4988
4989
4990
4991
4992
4993
4994
4995
4996
4997
4998
4999
5000
5001
5002
5003
5004
5005
5006
5007
5008
5009
5010
5011
5012
5013
5014
5015
5016
5017
5018
5019
5020
5021
5022
5023
5024
5025
5026
5027
5028
5029
5030
5031
5032
5033
5034
5035
5036
5037
5038
5039
5040
5041
5042
5043
5044
5045
5046
5047
5048
5049
5050
5051
5052
5053
5054
5055
5056
5057
5058
5059
5060
5061
5062
5063
5064
5065
5066
5067
5068
5069
5070
5071
5072
5073
5074
5075
5076
5077
5078
5079
5080
5081
5082
5083
5084
5085
5086
5087
5088
5089
5090
5091
5092
5093
5094
5095
5096
5097
5098
5099
5100
5101
5102
5103
5104
5105
5106
5107
5108
5109
5110
5111
5112
5113
5114
5115
5116
5117
5118
5119
5120
5121
5122
5123
5124
5125
5126
5127
5128
5129
5130
5131
5132
5133
5134
5135
5136
5137
5138
5139
5140
5141
5142
5143
5144
5145
5146
5147
5148
5149
5150
5151
5152
5153
5154
5155
5156
5157
5158
5159
5160
5161
5162
5163
5164
5165
5166
5167
5168
5169
5170
5171
5172
5173
5174
5175
5176
5177
5178
5179
5180
5181
5182
5183
5184
5185
5186
5187
5188
5189
5190
5191
5192
5193
5194
5195
5196
5197
5198
5199
5200
5201
5202
5203
5204
5205
5206
5207
5208
5209
5210
5211
5212
5213
5214
5215
5216
5217
5218
5219
5220
5221
5222
5223
5224
5225
5226
5227
5228
5229
5230
5231
5232
5233
5234
5235
5236
5237
5238
5239
5240
5241
5242
5243
5244
5245
5246
5247
5248
5249
5250
5251
5252
5253
5254
5255
5256
5257
5258
5259
5260
5261
5262
5263
5264
5265
5266
5267
5268
5269
5270
5271
5272
5273
5274
5275
5276
5277
5278
5279
5280
5281
5282
5283
5284
5285
5286
5287
5288
5289
5290
5291
5292
5293
5294
5295
5296
5297
5298
5299
5300
5301
5302
5303
5304
5305
5306
5307
5308
5309
5310
5311
5312
5313
5314
5315
5316
5317
5318
5319
5320
5321
5322
5323
5324
5325
5326
5327
5328
5329
5330
5331
5332
5333
5334
5335
5336
5337
5338
5339
5340
5341
5342
5343
5344
5345
5346
5347
5348
5349
5350
5351
5352
5353
5354
5355
5356
5357
5358
5359
5360
5361
5362
5363
5364
5365
5366
5367
5368
5369
5370
5371
5372
5373
5374
5375
5376
5377
5378
5379
5380
5381
5382
5383
5384
5385
5386
5387
5388
5389
5390
5391
5392
5393
5394
5395
5396
5397
5398
5399
5400
5401
5402
5403
5404
5405
5406
5407
5408
5409
5410
5411
5412
5413
5414
5415
5416
5417
5418
5419
5420
5421
5422
5423
5424
5425
5426
5427
5428
5429
5430
5431
5432
5433
5434
5435
5436
5437
5438
5439
5440
5441
5442
5443
5444
5445
5446
5447
5448
5449
5450
5451
5452
5453
5454
5455
5456
5457
5458
5459
5460
5461
5462
5463
5464
5465
5466
5467
5468
5469
5470
5471
5472
5473
5474
5475
5476
5477
5478
5479
5480
5481
5482
5483
5484
5485
5486
5487
5488
5489
5490
5491
5492
5493
5494
5495
5496
5497
5498
5499
5500
5501
5502
5503
5504
5505
5506
5507
5508
5509
5510
5511
5512
5513
5514
5515
5516
5517
5518
5519
5520
5521
5522
5523
5524
5525
5526
5527
5528
5529
5530
5531
5532
5533
5534
5535
5536
5537
5538
5539
5540
5541
5542
5543
5544
5545
5546
5547
5548
5549
5550
5551
5552
5553
5554
5555
5556
5557
5558
5559
5560
5561
5562
5563
5564
5565
5566
5567
5568
5569
5570
5571
5572
5573
5574
5575
5576
5577
5578
5579
5580
5581
5582
5583
5584
5585
5586
5587
5588
5589
5590
5591
5592
5593
5594
5595
5596
5597
5598
5599
5600
5601
5602
5603
5604
5605
5606
5607
5608
5609
5610
5611
5612
5613
5614
5615
5616
5617
5618
5619
5620
5621
5622
5623
5624
5625
5626
5627
5628
5629
5630
5631
5632
5633
5634
5635
5636
5637
5638
5639
5640
5641
5642
5643
5644
5645
5646
5647
5648
5649
5650
5651
5652
5653
5654
5655
5656
5657
5658
5659
5660
5661
5662
5663
5664
5665
5666
5667
5668
5669
5670
5671
5672
5673
5674
5675
5676
5677
5678
5679
5680
5681
5682
5683
5684
5685
5686
5687
5688
5689
5690
5691
5692
5693
5694
5695
5696
5697
5698
5699
5700
5701
5702
5703
5704
5705
5706
5707
5708
5709
5710
5711
5712
5713
5714
5715
5716
5717
5718
5719
5720
5721
5722
5723
5724
5725
5726
5727
5728
5729
5730
5731
5732
5733
5734
5735
5736
5737
5738
5739
5740
5741
5742
5743
5744
5745
5746
5747
5748
5749
5750
5751
5752
5753
5754
5755
5756
5757
5758
5759
5760
5761
5762
5763
5764
5765
5766
5767
5768
5769
5770
5771
5772
5773
5774
5775
5776
5777
5778
5779
5780
5781
5782
5783
5784
5785
5786
5787
5788
5789
5790
5791
5792
5793
5794
5795
5796
5797
5798
5799
5800
5801
5802
5803
5804
5805
5806
5807
5808
5809
5810
5811
5812
5813
5814
5815
5816
5817
5818
5819
5820
5821
5822
5823
5824
5825
5826
5827
5828
5829
5830
5831
5832
5833
5834
5835
5836
5837
5838
5839
5840
5841
5842
5843
5844
5845
5846
5847
5848
5849
5850
5851
5852
5853
5854
5855
5856
5857
5858
5859
5860
5861
5862
5863
5864
5865
5866
5867
5868
5869
5870
5871
5872
5873
5874
5875
5876
5877
5878
5879
5880
5881
5882
5883
5884
5885
5886
5887
5888
5889
5890
5891
5892
5893
5894
5895
5896
5897
5898
5899
5900
5901
5902
5903
5904
5905
5906
5907
5908
5909
5910
5911
5912
5913
5914
5915
5916
5917
5918
5919
5920
5921
5922
5923
5924
5925
5926
5927
5928
5929
5930
5931
5932
5933
5934
5935
5936
5937
5938
5939
5940
5941
5942
5943
5944
5945
5946
5947
5948
5949
5950
5951
5952
5953
5954
5955
5956
5957
5958
5959
5960
5961
5962
5963
5964
5965
5966
5967
5968
5969
5970
5971
5972
5973
5974
5975
5976
5977
5978
5979
5980
5981
5982
5983
5984
5985
5986
5987
5988
5989
5990
5991
5992
5993
5994
5995
5996
5997
5998
5999
6000
6001
6002
6003
6004
6005
6006
6007
6008
6009
6010
6011
6012
6013
6014
6015
6016
6017
6018
6019
6020
6021
6022
6023
6024
6025
6026
6027
6028
6029
6030
6031
6032
6033
6034
6035
6036
6037
6038
6039
6040
6041
6042
6043
6044
6045
6046
6047
6048
6049
6050
6051
6052
6053
6054
6055
6056
6057
6058
6059
6060
6061
6062
6063
6064
6065
6066
6067
6068
6069
6070
6071
6072
6073
6074
6075
6076
6077
6078
6079
6080
6081
6082
6083
6084
6085
6086
6087
6088
6089
6090
6091
6092
6093
6094
6095
6096
6097
6098
6099
6100
6101
6102
6103
6104
6105
6106
6107
6108
6109
6110
6111
6112
6113
6114
6115
6116
6117
6118
6119
6120
6121
6122
6123
6124
6125
6126
6127
6128
6129
6130
6131
6132
6133
6134
6135
6136
6137
6138
6139
6140
6141
6142
6143
6144
6145
6146
6147
6148
6149
6150
6151
6152
6153
6154
6155
6156
6157
6158
6159
6160
6161
6162
6163
6164
6165
6166
6167
6168
6169
6170
6171
6172
6173
6174
6175
6176
6177
6178
6179
6180
6181
6182
6183
6184
6185
6186
6187
6188
6189
6190
6191
6192
6193
6194
6195
6196
6197
6198
6199
6200
6201
6202
6203
6204
6205
6206
6207
6208
6209
6210
6211
6212
6213
6214
6215
6216
6217
6218
6219
6220
6221
6222
6223
6224
6225
6226
6227
6228
6229
6230
6231
6232
6233
6234
6235
6236
6237
6238
6239
6240
6241
6242
6243
6244
6245
6246
6247
6248
6249
6250
6251
6252
6253
6254
6255
6256
6257
6258
6259
6260
6261
6262
6263
6264
6265
6266
6267
6268
6269
6270
6271
6272
6273
6274
6275
6276
6277
6278
6279
6280
6281
6282
6283
6284
6285
6286
6287
6288
6289
6290
6291
6292
6293
6294
6295
6296
6297
6298
6299
6300
6301
6302
6303
6304
6305
6306
6307
6308
6309
6310
6311
6312
6313
6314
6315
6316
6317
6318
6319
6320
6321
6322
6323
6324
6325
6326
6327
6328
6329
6330
6331
6332
6333
6334
6335
6336
6337
6338
6339
6340
6341
6342
6343
6344
6345
6346
6347
6348
6349
6350
6351
6352
6353
6354
6355
6356
6357
6358
6359
6360
6361
6362
6363
6364
6365
6366
6367
6368
6369
6370
6371
6372
6373
6374
6375
6376
6377
6378
6379
6380
6381
6382
6383
6384
6385
6386
6387
6388
6389
6390
6391
6392
6393
6394
6395
6396
6397
6398
6399
6400
6401
6402
6403
6404
6405
6406
6407
6408
6409
6410
6411
6412
6413
6414
6415
6416
6417
6418
6419
6420
6421
6422
6423
6424
6425
6426
6427
6428
6429
6430
6431
6432
6433
6434
6435
6436
6437
6438
6439
6440
6441
6442
6443
6444
6445
6446
6447
6448
6449
6450
6451
6452
6453
6454
6455
6456
6457
6458
6459
6460
6461
6462
6463
6464
6465
6466
6467
6468
6469
6470
6471
6472
6473
6474
6475
6476
6477
6478
6479
6480
6481
6482
6483
6484
6485
6486
6487
6488
6489
6490
6491
6492
6493
6494
6495
6496
6497
6498
6499
6500
6501
6502
6503
6504
6505
6506
6507
6508
6509
6510
6511
6512
6513
6514
6515
6516
6517
6518
6519
6520
6521
6522
6523
6524
6525
6526
6527
6528
6529
6530
6531
6532
6533
6534
6535
6536
6537
6538
6539
6540
6541
6542
6543
6544
6545
6546
6547
6548
6549
6550
6551
6552
6553
6554
6555
6556
6557
6558
6559
6560
6561
6562
6563
6564
6565
6566
6567
6568
6569
6570
6571
6572
6573
6574
6575
6576
6577
6578
6579
6580
6581
6582
6583
6584
6585
6586
6587
6588
6589
6590
6591
6592
6593
6594
6595
6596
6597
6598
6599
6600
6601
6602
6603
6604
6605
6606
6607
6608
6609
6610
6611
6612
6613
6614
6615
6616
6617
6618
6619
6620
6621
6622
6623
6624
6625
6626
6627
6628
6629
6630
6631
6632
6633
6634
6635
6636
6637
6638
6639
6640
6641
6642
6643
6644
6645
6646
6647
6648
6649
6650
6651
6652
6653
6654
6655
6656
6657
6658
6659
6660
6661
6662
6663
6664
6665
6666
6667
6668
6669
6670
6671
6672
6673
6674
6675
6676
6677
6678
6679
6680
6681
6682
6683
6684
6685
6686
6687
6688
6689
6690
6691
6692
6693
6694
6695
6696
6697
6698
6699
6700
6701
6702
6703
6704
6705
6706
6707
6708
6709
6710
6711
6712
6713
6714
6715
6716
6717
6718
6719
6720
6721
6722
6723
6724
6725
6726
6727
6728
6729
6730
6731
6732
6733
6734
6735
6736
6737
6738
6739
6740
6741
6742
6743
6744
6745
6746
6747
6748
6749
6750
6751
6752
6753
6754
6755
6756
6757
6758
6759
6760
6761
6762
6763
6764
6765
6766
6767
6768
6769
6770
6771
6772
6773
6774
6775
6776
6777
6778
6779
6780
6781
6782
6783
6784
6785
6786
6787
6788
6789
6790
6791
6792
6793
6794
6795
6796
6797
6798
6799
6800
6801
6802
6803
6804
6805
6806
6807
6808
6809
6810
6811
6812
6813
6814
6815
6816
6817
6818
6819
6820
6821
6822
6823
6824
6825
6826
6827
6828
6829
6830
6831
6832
6833
6834
6835
6836
6837
6838
6839
6840
6841
6842
6843
6844
6845
6846
6847
6848
6849
6850
6851
6852
6853
6854
6855
6856
6857
6858
6859
6860
6861
6862
6863
6864
6865
6866
6867
6868
6869
6870
6871
6872
6873
6874
6875
6876
6877
6878
6879
6880
6881
6882
6883
6884
6885
6886
6887
6888
6889
6890
6891
6892
6893
6894
6895
6896
6897
6898
6899
6900
6901
6902
6903
6904
6905
6906
6907
6908
6909
6910
6911
6912
6913
6914
6915
6916
6917
6918
6919
6920
6921
6922
6923
6924
6925
6926
6927
6928
6929
6930
6931
6932
6933
6934
6935
6936
6937
6938
6939
6940
6941
6942
6943
6944
6945
6946
6947
6948
6949
6950
6951
6952
6953
6954
6955
6956
6957
6958
6959
6960
6961
6962
6963
6964
6965
6966
6967
6968
6969
6970
6971
6972
6973
6974
6975
6976
6977
6978
6979
6980
6981
6982
6983
6984
6985
6986
6987
6988
6989
6990
6991
6992
6993
6994
6995
6996
6997
6998
6999
7000
7001
7002
7003
7004
7005
7006
7007
7008
7009
7010
7011
7012
7013
7014
7015
7016
7017
7018
7019
7020
7021
7022
7023
7024
7025
7026
7027
7028
7029
7030
7031
7032
7033
7034
7035
7036
7037
7038
7039
7040
7041
7042
7043
7044
7045
7046
7047
7048
7049
7050
7051
7052
7053
7054
7055
7056
7057
7058
7059
7060
7061
7062
7063
7064
7065
7066
7067
7068
7069
7070
7071
7072
7073
7074
7075
7076
7077
7078
7079
7080
7081
7082
7083
7084
7085
7086
7087
7088
7089
7090
7091
7092
7093
7094
7095
7096
7097
7098
7099
7100
7101
7102
7103
7104
7105
7106
7107
7108
7109
7110
7111
7112
7113
7114
7115
7116
7117
7118
7119
7120
7121
7122
7123
7124
7125
7126
7127
7128
7129
7130
7131
7132
7133
7134
7135
7136
7137
7138
7139
7140
7141
7142
7143
7144
7145
7146
7147
7148
7149
7150
7151
7152
7153
7154
7155
7156
7157
7158
7159
7160
7161
7162
7163
7164
7165
7166
7167
7168
7169
7170
7171
7172
7173
7174
7175
7176
7177
7178
7179
7180
7181
7182
7183
7184
7185
7186
7187
7188
7189
7190
7191
7192
7193
7194
7195
7196
7197
7198
7199
7200
7201
7202
7203
7204
7205
7206
7207
7208
7209
7210
7211
7212
7213
7214
7215
7216
7217
7218
7219
7220
7221
7222
7223
7224
7225
7226
7227
7228
7229
7230
7231
7232
7233
7234
7235
7236
7237
7238
7239
7240
7241
7242
7243
7244
7245
7246
7247
7248
7249
7250
7251
7252
7253
7254
7255
7256
7257
7258
7259
7260
7261
7262
7263
7264
7265
7266
7267
7268
7269
7270
7271
7272
7273
7274
7275
7276
7277
7278
7279
7280
7281
7282
7283
7284
7285
7286
7287
7288
7289
7290
7291
7292
7293
7294
7295
7296
7297
7298
7299
7300
7301
7302
7303
7304
7305
7306
7307
7308
7309
7310
7311
7312
7313
7314
7315
7316
7317
7318
7319
7320
7321
7322
7323
7324
7325
7326
7327
7328
7329
7330
7331
7332
7333
7334
7335
7336
7337
7338
7339
7340
7341
7342
7343
7344
7345
7346
7347
7348
7349
7350
7351
7352
7353
7354
7355
7356
7357
7358
7359
7360
7361
7362
7363
7364
7365
7366
7367
7368
7369
7370
7371
7372
7373
7374
7375
7376
7377
7378
7379
7380
7381
7382
7383
7384
7385
7386
7387
7388
7389
7390
7391
7392
7393
7394
7395
7396
7397
7398
7399
7400
7401
7402
7403
7404
7405
7406
7407
7408
7409
7410
7411
7412
7413
7414
7415
7416
7417
7418
7419
7420
7421
7422
7423
7424
7425
7426
7427
7428
7429
7430
7431
7432
7433
7434
7435
7436
7437
7438
7439
7440
7441
7442
7443
7444
7445
7446
7447
7448
7449
7450
7451
7452
7453
7454
7455
7456
7457
7458
7459
7460
7461
7462
7463
7464
7465
7466
7467
7468
7469
7470
7471
7472
7473
7474
7475
7476
7477
7478
7479
7480
7481
7482
7483
7484
7485
7486
7487
7488
7489
7490
7491
7492
7493
7494
7495
7496
7497
7498
7499
7500
7501
7502
7503
7504
7505
7506
7507
7508
7509
7510
7511
7512
7513
7514
7515
7516
7517
7518
7519
7520
7521
7522
7523
7524
7525
7526
7527
7528
7529
7530
7531
7532
7533
7534
7535
7536
7537
7538
7539
7540
7541
7542
7543
7544
7545
7546
7547
7548
7549
7550
7551
7552
7553
7554
7555
7556
7557
7558
7559
7560
7561
7562
7563
7564
7565
7566
7567
7568
7569
7570
7571
7572
7573
7574
7575
7576
7577
7578
7579
7580
7581
7582
7583
7584
7585
7586
7587
7588
7589
7590
7591
7592
7593
7594
7595
7596
7597
7598
7599
7600
7601
7602
7603
7604
7605
7606
7607
7608
7609
7610
7611
7612
7613
7614
7615
7616
7617
7618
7619
7620
7621
7622
7623
7624
7625
7626
7627
7628
7629
7630
7631
7632
7633
7634
7635
7636
7637
7638
7639
7640
7641
7642
7643
7644
7645
7646
7647
7648
7649
7650
7651
7652
7653
7654
7655
7656
7657
7658
7659
7660
7661
7662
7663
7664
7665
7666
7667
7668
7669
7670
7671
7672
7673
7674
7675
7676
7677
7678
7679
7680
7681
7682
7683
7684
7685
7686
7687
7688
7689
7690
7691
7692
7693
7694
7695
7696
7697
7698
7699
7700
7701
7702
7703
7704
7705
7706
7707
7708
7709
7710
7711
7712
7713
7714
7715
7716
7717
7718
7719
7720
7721
7722
7723
7724
7725
7726
7727
7728
7729
7730
7731
7732
7733
7734
7735
7736
7737
7738
7739
7740
7741
7742
7743
7744
7745
7746
7747
7748
7749
7750
7751
7752
7753
7754
7755
7756
7757
7758
7759
7760
7761
7762
7763
7764
7765
7766
7767
7768
7769
7770
7771
7772
7773
7774
7775
7776
7777
7778
7779
7780
7781
7782
7783
7784
7785
7786
7787
7788
7789
7790
7791
7792
7793
7794
7795
7796
7797
7798
7799
7800
7801
7802
7803
7804
7805
7806
7807
7808
7809
7810
7811
7812
7813
7814
7815
7816
7817
7818
7819
7820
7821
7822
7823
7824
7825
7826
7827
7828
7829
7830
7831
7832
7833
7834
7835
7836
7837
7838
7839
7840
7841
7842
7843
7844
7845
7846
7847
7848
7849
7850
7851
7852
7853
7854
7855
7856
7857
7858
7859
7860
7861
7862
7863
7864
7865
7866
7867
7868
7869
7870
7871
7872
7873
7874
7875
7876
7877
7878
7879
7880
7881
7882
7883
7884
7885
7886
7887
7888
7889
7890
7891
7892
7893
7894
7895
7896
7897
7898
7899
7900
7901
7902
7903
7904
7905
7906
7907
7908
7909
7910
7911
7912
7913
7914
7915
7916
7917
7918
7919
7920
7921
7922
7923
7924
7925
7926
7927
7928
7929
7930
7931
7932
7933
7934
7935
7936
7937
7938
7939
7940
7941
7942
7943
7944
7945
7946
7947
7948
7949
7950
7951
7952
7953
7954
7955
7956
7957
7958
7959
7960
7961
7962
7963
7964
7965
7966
7967
7968
7969
7970
7971
7972
7973
7974
7975
7976
7977
7978
7979
7980
7981
7982
7983
7984
7985
7986
7987
7988
7989
7990
7991
7992
7993
7994
7995
7996
7997
7998
7999
8000
8001
8002
8003
8004
8005
8006
8007
8008
8009
8010
8011
8012
8013
8014
8015
8016
8017
8018
8019
8020
8021
8022
8023
8024
8025
8026
8027
8028
8029
8030
8031
8032
8033
8034
8035
8036
8037
8038
8039
8040
8041
8042
8043
8044
8045
8046
8047
8048
8049
8050
8051
8052
8053
8054
8055
8056
8057
8058
8059
8060
8061
8062
8063
8064
8065
8066
8067
8068
8069
8070
8071
8072
8073
8074
8075
8076
8077
8078
8079
8080
8081
8082
8083
8084
8085
8086
8087
8088
8089
8090
8091
8092
8093
8094
8095
8096
8097
8098
8099
8100
8101
8102
8103
8104
8105
8106
8107
8108
8109
8110
8111
8112
8113
8114
8115
8116
8117
8118
|
Wed Jun 14 08:30:53 2000 Carlos O'Ryan <coryan@uci.edu>
* */Makefile:
Updated dependencies (again), the last time I had
static_libs_only enabled that broke a number of things.
Tue Jun 13 17:46:42 2000 Irfan Pyarali <irfan@cs.wustl.edu>
* ace/Connector.cpp:
- handle_close(): cleanup_AST() will unbind an entry from the
map. This change of state in the map invalidates any iterators
currently iterating over the map. Therefore, the code in
handle_close() was changed such that a new iterator is created
after every call to cleanup_AST().
- cancel(): Cannot use the <entry> after cleanup_AST() is called
as cleanup_AST() will unbind the <entry> from the map.
Thanks to Roland Fischer <roli@gugus.com> for pointing out this
bug.
Tue Jun 13 15:31:21 2000 Ossama Othman <ossama@uci.edu>
* ltcf-c.sh:
* ltcf-cxx.sh:
* ltconfig:
* ltmain.sh:
Updated to latest upstream versions.
Tue Jun 13 15:51:33 2000 Jerry D. De Master <jdemaste@rite-solutions.com>
* netsvcs/lib/Logging_Strategy: Enhanced the Logging Strategy so
it can be used to limit log file size at any logging point
(i.e., application, client logging daemon, or server logging
daemon) by specifying the -i <sample_interval_in_secs> and -m
<max_size_in_KB> options for the Logging_Strategy class in a
svc.conf file.
Tue Jun 13 12:56:36 2000 Carlos O'Ryan <coryan@uci.edu>
* */Makefile:
Updated dependencies.
Tue Jun 13 09:47:25 2000 Darrell Brunsch <brunsch@uci.edu>
* bin/msvc_auto_compile.pl:
Fixed some typos related to the static build core.
Mon Jun 12 20:45:18 2000 Darrell Brunsch <brunsch@uci.edu>
* bin/Process_Win32.pm:
Changed the $newwindow check to check to see if the variable
was defined before comparing it to "yes". This removes a
perl warning.
* bin/msvc_auto_compile.pl:
The TAOACE[_static].dsw files were changed, so I altered the
CORE option to use the TAOACE.dsw file with -DLL, and added
some missing dsp files for the -LIB build.
* bin/create_vt_dsps.pl:
Changed the runtime library type used in the static versions
and added ACE_OS_HAS_DLL=0.
* ace/ace_lib.dsp:
* apps/gperf/src/gperf.dsp:
* apps/gperf/src/gperf_lib.dsp:
* examples/IPC_SAP/ATM_SAP/CPP_client.dsp:
* examples/IPC_SAP/ATM_SAP/CPP_server.dsp:
Miscellaneous fixes to get the static versions working again.
Mainly just adding ACE_OS_HAS_DLL=0.
* tests/version_tests/CDR_Array_Test.dsp: (added)
* tests/version_tests/Atomic_Op_Test.dsp:
* tests/version_tests/Auto_IncDec_Test.dsp:
* tests/version_tests/Barrier_Test.dsp:
* tests/version_tests/Basic_Types_Test.dsp:
* tests/version_tests/Buffer_Stream_Test.dsp:
* tests/version_tests/CDR_File_Test.dsp:
* tests/version_tests/CDR_Test.dsp:
* tests/version_tests/Cache_Map_Manager_Test.dsp:
* tests/version_tests/Cached_Accept_Conn_Test.dsp:
* tests/version_tests/Cached_Conn_Test.dsp:
* tests/version_tests/Capabilities_Test.dsp:
* tests/version_tests/Collection_Test.dsp:
* tests/version_tests/Conn_Test.dsp:
* tests/version_tests/DLL_Test.dsp:
* tests/version_tests/DLList_Test.dsp:
* tests/version_tests/Dynamic_Priority_Test.dsp:
* tests/version_tests/Enum_Interfaces_Test.dsp:
* tests/version_tests/Env_Value_Test.dsp:
* tests/version_tests/Future_Set_Test.dsp:
* tests/version_tests/Future_Test.dsp:
* tests/version_tests/Handle_Set_Test.dsp:
* tests/version_tests/Hash_Map_Bucket_Iterator_Test.dsp:
* tests/version_tests/Hash_Map_Manager_Test.dsp:
* tests/version_tests/High_Res_Timer_Test.dsp:
* tests/version_tests/IOStream_Test.dsp:
* tests/version_tests/Lazy_Map_Manager_Test.dsp:
* tests/version_tests/MM_Shared_Memory_Test.dsp:
* tests/version_tests/MT_Reactor_Timer_Test.dsp:
* tests/version_tests/MT_SOCK_Test.dsp:
* tests/version_tests/Malloc_Test.dsp:
* tests/version_tests/Map_Manager_Test.dsp:
* tests/version_tests/Map_Test.dsp:
* tests/version_tests/Mem_Map_Test.dsp:
* tests/version_tests/Message_Block_Test.dsp:
* tests/version_tests/Message_Queue_Notifications_Test.dsp:
* tests/version_tests/Message_Queue_Test.dsp:
* tests/version_tests/Naming_Test.dsp:
* tests/version_tests/New_Fail_Test.dsp:
* tests/version_tests/Notify_Performance_Test.dsp:
* tests/version_tests/Object_Manager_Test.dsp:
* tests/version_tests/OrdMultiSet_Test.dsp:
* tests/version_tests/Pipe_Test.dsp:
* tests/version_tests/Priority_Buffer_Test.dsp:
* tests/version_tests/Priority_Reactor_Test.dsp:
* tests/version_tests/Priority_Task_Test.dsp:
* tests/version_tests/Process_Manager_Test.dsp:
* tests/version_tests/Process_Mutex_Test.dsp:
* tests/version_tests/Process_Strategy_Test.dsp:
* tests/version_tests/RB_Tree_Test.dsp:
* tests/version_tests/Reactor_Exceptions_Test.dsp:
* tests/version_tests/Reactor_Notify_Test.dsp:
* tests/version_tests/Reactor_Performance_Test.dsp:
* tests/version_tests/Reactor_Timer_Test.dsp:
* tests/version_tests/Reactors_Test.dsp:
* tests/version_tests/Reader_Writer_Test.dsp:
* tests/version_tests/Recursive_Mutex_Test.dsp:
* tests/version_tests/Reverse_Lock_Test.dsp:
* tests/version_tests/SOCK_Connector_Test.dsp:
* tests/version_tests/SOCK_Send_Recv_Test.dsp:
* tests/version_tests/SOCK_Test.dsp:
* tests/version_tests/SPIPE_Test.dsp:
* tests/version_tests/SString_Test.dsp:
* tests/version_tests/SV_Shared_Memory_Test.dsp:
* tests/version_tests/Semaphore_Test.dsp:
* tests/version_tests/Service_Config_Test.dsp:
* tests/version_tests/Sigset_Ops_Test.dsp:
* tests/version_tests/Simple_Message_Block_Test.dsp:
* tests/version_tests/Svc_Handler_Test.dsp:
* tests/version_tests/TSS_Test.dsp:
* tests/version_tests/Task_Test.dsp:
* tests/version_tests/Thread_Manager_Test.dsp:
* tests/version_tests/Thread_Mutex_Test.dsp:
* tests/version_tests/Thread_Pool_Reactor_Test.dsp:
* tests/version_tests/Thread_Pool_Test.dsp:
* tests/version_tests/Time_Service_Test.dsp:
* tests/version_tests/Time_Value_Test.dsp:
* tests/version_tests/Timeprobe_Test.dsp:
* tests/version_tests/Timer_Queue_Test.dsp:
* tests/version_tests/Tokens_Test.dsp:
* tests/version_tests/UPIPE_SAP_Test.dsp:
* tests/version_tests/Upgradable_RW_Test.dsp:
* tests/version_tests/version_tests.dsw:
Regenerated.
Mon Jun 12 18:17:42 2000 Darrell Brunsch <brunsch@cs.wustl.edu>
* bin/auto_run_tests.lst: (added)
* bin/auto_run_tests.pl: (added)
* tests/run_test.lst: (added)
* tests/run_test.pl: (added)
New scripts to facilitate the auto_build testing on NT.
Sun Jun 11 18:12:12 2000 Vishal Kachroo <vishal@cs.wustl.edu>
* examples/QOS/QoSEvent.h: Removed a warning on Win2K.
Sat Jun 10 23:34:16 2000 Darrell Brunsch <brunsch@uci.edu>
* docs/CE-status.txt:
Updated to reflect my current plans for Windows CE.
Unfortunately, ACE on CE will not be working with the
next beta kit of ACE. :-( Need to get an autobuild
set up for CE sometime...
Sat Jun 10 20:51:56 2000 Darrell Brunsch <brunsch@uci.edu>
* ace/config-win32-common.h:
Changed the "You must link with Multithreaded DLL" error
to make it sound less like it is a problem with the ACE
project file instead of the application project file.
* docs/ACE-guidelines.html:
Updated the section on wchar support in ACE.
Sat Jun 10 17:33:55 2000 Carlos O'Ryan <coryan@uci.edu>
* ace/Configuration.cpp:
Fixed warnings under Linux/KCC
* bin/auto_compile:
Add separators between the different sections of the log.
Darrell script would be able to generate nice color coded
summaries based on that.
* include/makeinclude/platform_linux_kcc.GNU:
Add support for the math library.
Fri Jun 09 11:31:24 2000 Nanbor Wang <nanbor@cs.wustl.edu>
* ace/Service_Config.cpp (close_singletons): Applied Tom
Arbuckle's <arbuckle@uran.informatik.uni-bonn.de> patch so the
Process_Manager singleton is closed before Reactor singleton.
Fri Jun 9 09:28:18 2000 Carlos O'Ryan <coryan@uci.edu>
* include/makeinclude/platform_linux_kcc.GNU:
More fixes to make sure that shared and static libraries are
generated with the right configuration (threads, exceptions,
etc.).
Fri Jun 9 07:19:10 2000 Toshio Hori <toshi@etl.go.jp>
* ace/Stream.h (class ACE_Stream): Added an updated version an
insert() and replace() that make it possible to replace the
stream head and tail.
Fri Jun 09 02:34:07 2000 Irfan Pyarali <irfan@cs.wustl.edu>
* ace/OS.i (floor and ceil): Added new methods.
Thu Jun 8 20:58:17 2000 Darrell Brunsch <brunsch@uci.edu>
Patched for IBM VAC++ 4.02 for WinNT applied on behalf of
Boris Kaminer <kaminer.boris@cherus.msk.ru>
* config-win32-visualage.h:
Remove dupplicate definition of ACE_HAS_TYPENAME_KEYWORD.
* Auto_Ptr.h:
* Auto_Ptr.i:
Copy constructors bodies into class declarations from Auto_Ptr.i
to Auto_ptr.h for constructors with ACE_EXPLICIT. (workaround
for explicit bug in VAC++ 4.02)
* Malloc.cpp:
Changed ACE_ASSERT (0 == "not implemented!"); to
ACE_ASSERT (!"not implemented!");
(get over codestore fault)
* OS.i: (chdir)
Added !defined (ACE_WIN32) to the check for IBM CPP
* ace-dll.icc:
Changed the order of hpp files, and added a define for
_INTEGRAL_MAX_BITS = 64.
Thu Jun 8 18:35:30 2000 Carlos O'Ryan <coryan@uci.edu>
* ace/Date_Time.h:
* ace/Date_Time.i:
Made a bunch of accessors const, thanks to Derek Dominish
<Derek.Dominish@Australia.Boeing.com> for pointing this out.
Thu Jun 08 14:17:20 2000 Nanbor Wang <nanbor@cs.wustl.edu>
* ace/Process_Manager.{h,cpp} (close_singleton):
* ace/Service_Config.cpp (close_singletons): Applied Tom Arbuckle's
<arbuckle@uran.informatik.uni-bonn.de> patch to clean up
Process_Manager singleton at program exit.
Thu Jun 8 13:00:38 2000 Toshio Hori <toshi@etl.go.jp>
* ace/Stream.h (class ACE_Stream): Added support for an insert()
and replace() to make it easier to insert and update the
contents of an ACE_Stream.
Thu Jun 8 09:52:36 2000 Joe Hoffert <joeh@cs.wustl.edu>
* bin/pace_components:
Adding this file to handle setup and cleanup of PACE components
just like the ace_components file does for ACE.
Thu Jun 08 01:53:03 2000 Irfan Pyarali <irfan@cs.wustl.edu>
* ace/Message_Queue.i (peek_dequeue_head): Fixed typo.
Wed Jun 7 20:41:33 2000 Douglas C. Schmidt <schmidt@tango.cs.wustl.edu>
* ace/Message_Queue: Added some "no-op" impls for the new
pure virtual methods added to ACE_Message_Queue recently.
Thanks to Darrell for pointing this out.
Wed Jun 7 13:24:22 2000 Carlos O'Ryan <coryan@uci.edu>
* ace/OS.h:
For KCC under linux we have to define ACE_DEFAULT_SHLIB_MODE as
RLTD_LAZY (RTLD_GROUP and RTLD_NODELETE are not defined in that
configuration).
* ace/OS_Dirent.inl:
Removed unreachable statement.
* ace/config-linux-common.h:
KCC does not have LLSEEK or LLSEEK64
* include/makeinclude/platform_linux_kcc.GNU:
Fixed the configuration file so the default settings for
debugging, optimization and exceptions can be overriden by the
user.
Wed Jun 7 12:05:23 2000 Darrell Brunsch <brunsch@uci.edu>
* bin/fuzz.pl:
Dropped the level for the TCHAR check to 4, so it runs
by default.
Also added a new test to check for mismatch of ace/pre.h
and ace/post.h in header files (level 4).
* ace/ace_wchar.h:
Added a FUZZ: disable for the TCHAR check, since we need
to define the ASYS_TCHAR type macros for backwards
compatiblity here.
Wed Jun 07 13:22:01 2000 David L. Levine <levine@cs.wustl.edu>
* examples/IPC_SAP/SOCK_SAP/CPP-inclient.cpp (twoway_client_test):
replaced ASYS_TEXT with ACE_TEXT, see
Tue Jun 6 12:39:23 2000 Phil the Build Czar <mesnier_p@ociweb.com>
:-)
Wed Jun 7 12:09:50 2000 Joe Hoffert <joeh@cs.wustl.edu>
* include/makeinclude/platform_sunos5_sunc++.GNU:
Changed position-independent-code option from -PIC to -KPIC since
the C++ compiler recognizes either and the C compiler only
recognizes -KPIC.
* include/makeinclude/rules.local.GNU:
Added a compilation rule for C (i.e., .c) files.
Tue Jun 6 22:32:16 2000 Carlos O'Ryan <coryan@cs.wustl.edu>
* ace/OS.i:
* ace/OS_TLI.h:
Moved the explicit declaration of t_getname() from OS.i to OS_TLI.h
Tue Jun 6 20:02:18 2000 Carlos O'Ryan <coryan@uci.edu>
* ace/OS.h:
* ace/OS.i:
* ace/OS_TLI.cpp:
* ace/OS_TLI.h:
* ace/OS_TLI.inl:
* ace/config-all.h:
* ace/Makefile:
* ace/Makefile.am:
* ace/Makefile.bor:
* ace/ace-dll.icc:
* ace/ace-lib.icc:
* ace/ace.icc:
* ace/ace_dll.dsp:
* ace/ace_lib.dsp:
Moved the TLI wrappers to ACE_OS_TLI.
Tue Jun 6 17:57:14 2000 Vishal Kachroo <vishal@cs.wustl.edu>
* examples/QOS/server.cpp:
* examples/QOS/client.cpp:
Changed these to reflect changes to the ACE QoS API.
Tue Jun 06 15:44:03 2000 David L. Levine <levine@cs.wustl.edu>
* ace/config-lynxos.h: added support for LynxOS 3.1.0.
It uses ACE_HAS_PTHREADS_STD instead of ACE_HAS_PTHREADS_DRAFT4 +
ACE_HAS_STDARG_THR_DEST. Thanks to Dorr H. Clark
<dhclark@Lynx.COM> for reporting this.
Tue Jun 6 12:39:23 2000 Phil Mesnier <mesnier_p@ociweb.com>
Ported ACE & TAO to Unixware 7.1, using GNU C++ compiler gcc 2.95.2.
See ACE-INSTALL for specific information on configuring the build
environment.
* ACE-INSTALL.html
* ace/OS.h
* ace/config-unixware-7.1.0.h
* examples/IPC_SAP/SOCK_SAP/CPP-inclient.cpp
* examples/Threads/tss1.cpp
* include/makeinclude/platform_unixware_g++.GNU
* include/makeinclude/wrapper_macros.GNU
Tue Jun 6 10:32:51 2000 Edan Ayal <edanayal@yahoo.com>
* ace/Message_Queue.h: Added the following two pure
virtual methods to class 'ACE_Message_Queue_Base':
virtual ACE_Notification_Strategy *notification_strategy (void) = 0;
virtual void notification_strategy (ACE_Notification_Strategy *s) = 0;
virtual int peek_dequeue_head (ACE_Message_Block *&first_item,
ACE_Time_Value *timeout = 0);
These methods allow the 'ACE_Message_Queue_Base' to be used as a
base class (without specifying the synch method or templatizing
on it) and access/alter the notification strategy.
Tue Jun 6 09:42:39 2000 Chris Kohlhoff <chris@kohlhoff.com>
* include/makeinclude/ace_flags.bor:
Added support for new orbsvcs libraries.
Mon Jun 05 20:59:42 2000 David L. Levine <levine@cs.wustl.edu>
* include/makeinclude/wrapper_macros.GNU: protected definitions
of shared_libs and static_libs with ifeq null. Users can still
override the settings in their platform_macros.GNU, because
that's included after these definitions, or in their environment.
But this makes the code look more consistent. Thanks to Jody
Hagins <jody@atdesk.com> for this suggestion.
Mon Jun 5 14:54:46 2000 Ossama Othman <ossama@uci.edu>
* ace/Select_Reactor_T.cpp (ACE_Select_Reactor_T):
There is no need to deallocate resources from the previous call
to open() since the open() method deallocates any resources
prior to exiting if an error was encountered.
Mon Jun 5 14:18:18 2000 Ossama Othman <ossama@uci.edu>
* ace/Select_Reactor_T.cpp (ACE_Select_Reactor_T):
If the Reactor fails to open with the hard-coded default size
then set the Reactor size to be the current run-time limit on
the number of file descriptors available to the process. This
size is not necessarily the maximum limit. On platforms that do
not support run-time evaluation of the current file descriptor
limit, a default value of FD_SETSIZE will be used. This
corrects a problem on Solaris in 32 bit mode, and on any other
platform where the per-process file descriptor limit is less
than FD_SETSIZE.
Reported by Marvin Allen Wolfthal <maw@ziplink.net>.
* ace/config-linux-common.h (ACE_DEFAULT_SELECT_REACTOR_SIZE):
It is no longer necessary to hard-code the default reactor size
for older Linux kernels that had a file descriptor limit less
than FD_SETSIZE since the Select Reactor now falls back on the
run-time file descriptor limit for the given process.
Mon Jun 5 10:22:22 2000 Darrell Brunsch <brunsch@uci.edu>
* ace/OS_Memory.h:
Just like in OS_String.h, added an include for stddef.h to
get the definition of size_t.
Mon Jun 5 09:55:20 2000 Darrell Brunsch <brunsch@uci.edu>
* ace/OS_String.h:
* ace/OS_String.inl:
* ace/OS_String.cpp:
Removed some unnecessary *_emulation methods, and fixed some
other miscellaneous mistakes (like using ACE_OS instead of
ACE_OS_String).
During my last checkin, it seems like the strncasecmp_emulation
versions were lost, so I resurrected them.
Also changed the use of u_char in memchr_emulation to unsigned
char, since we shouldn't depend on definitions of u_char (since
on some platforms we don't have a definition of u_char at that
time). Thanks to David Levine for reporting this.
Sun Jun 4 14:58:37 2000 Darrell Brunsch <brunsch@uci.edu>
* apps/Orbix-Examples/Event_Comm/include/Event_Comm.hh:
* apps/Orbix-Examples/Event_Comm/libsrc/Event_Comm.hh:
* apps/Orbix-Examples/Logger/logger.hh:
* docs/ACE-categories.html:
* docs/tutorials/guide-tutorials.html:
* docs/tutorials/online-tutorials.html:
* docs/tutorials/templates.html:
* docs/tutorials/Chap_2/ex01.html:
* docs/tutorials/Chap_2/ex02.html:
* docs/tutorials/Chap_2/ex03.html:
* docs/tutorials/Chap_2/ex04.html:
* docs/tutorials/Chap_2/ex05.htm:
* docs/tutorials/Chap_2/ex05.html:
* docs/tutorials/Chap_2/ex06.html:
* docs/tutorials/Chap_3/ex01.html:
* docs/tutorials/Chap_3/ex02.html:
* docs/tutorials/Chap_4/ex01.html:
* docs/tutorials/Chap_4/ex02.html:
* docs/tutorials/Chap_4/ex03.html:
* docs/tutorials/Chap_4/ex04.html:
* docs/tutorials/Chap_4/ex05.html:
* docs/tutorials/Chap_4/ex06.html:
* docs/tutorials/Chap_4/ex07.html:
* docs/tutorials/Chap_4/ex08.html:
* docs/tutorials/Chap_5/ex01.html:
* docs/tutorials/Chap_5/ex02.html:
* docs/tutorials/Chap_5/ex03.html:
* docs/tutorials/Chap_5/ex04.html:
* docs/tutorials/Chap_5/ex05.html:
* docs/tutorials/Chap_6/ex01.html:
* docs/tutorials/Chap_6/ex02.html:
* docs/tutorials/Chap_6/ex03.html:
* docs/tutorials/Chap_6/ex04.html:
* docs/tutorials/Chap_6/ex05.html:
* docs/tutorials/Chap_6/ex06.html:
* docs/tutorials/Chap_6/ex07.html:
* docs/tutorials/Chap_6/ex08.html:
* docs/tutorials/Chap_6/ex09.html:
* docs/tutorials/Chap_6/ex10.html:
* docs/tutorials/Chap_7/ex01.html:
* docs/tutorials/Chap_7/ex02.html:
* docs/tutorials/Chap_7/ex03.html:
* examples/Service_Configurator/IPC-tests/server/Handle_Thr_Stream.i:
* os-patches/lynxos-patches.html:
* performance-tests/Synch-Benchmarks/context.c:
* psosim/drv_conf.c:
* rpc++/callback.cc:
* rpc++/request.cc:
* rpc++/service.cc:
* rpc++/stub.cc:
* rpc++/version.h:
* rpc++/xdr++.cc:
* rpc++/StdHdrs/rpc/auth.h:
* rpc++/StdHdrs/rpc/c_types.h:
* rpc++/StdHdrs/rpc/clnt.h:
* rpc++/StdHdrs/rpc/pmap_clnt.h:
* rpc++/StdHdrs/rpc/svc.h:
* rpc++/StdHdrs/rpc/xdr.h:
* rpc++/example/calcsvc.cc:
* rpc++/example/calcsvc.h:
* rpc++/example/client.cc:
* rpc++/example/server.cc:
* rpc++/rpc++/callback.h:
* rpc++/rpc++/request.h:
* rpc++/rpc++/service.h:
* rpc++/rpc++/stub.h:
* rpc++/rpc++/xdr++.h:
Added missing CVS Id strings.
Sun Jun 4 14:55:46 2000 Darrell Brunsch <brunsch@uci.edu>
* bin/fuzz.pl:
Added html files to the list of files checked for
ending with a newline.
Sun Jun 4 14:38:43 2000 Darrell Brunsch <brunsch@uci.edu>
* ace/OS_String.inl:
Some platforms (like QNX Neutrino) need strings.h to get
the declaration of strcasecmp.
* ace/config-qnx-neutrino.h:
Added a definition of ACE_HAS_STRINGS so strings.h will be
included in OS_String.inl.
Sun Jun 04 09:40:43 2000 David L. Levine <levine@cs.wustl.edu>
* ace/config-cxx-common.h: with __USE_STD_IOSTREAM, added
#define ACE_HAS_STANDARD_CPP_LIBRARY 1. Thanks to
Warren Miller <wmiller@stsci.edu> for reporting this [Bug 582].
Sat Jun 3 21:18:43 2000 Darrell Brunsch <brunsch@uci.edu>
* ace/OS.h:
* ace/OS.i:
* ace/OS_Memory.cpp: (added)
* ace/OS_Memory.h: (added)
* ace/OS_Memory.inl: (added)
Another bit of OS split off. Memory contains all the
malloc, calloc, etc. stuff.
* ace/Makefile:
* ace/Makefile.am:
* ace/Makefile.bor:
* ace/ace-dll.icc:
* ace/ace-lib.icc:
* ace/ace.icc:
* ace/ace_dll.dsp:
* ace/ace_dll_ce.dsp:
* ace/ace_lib.dsp:
Needed to add OS_Memory to the makefiles/projects.
* ace/OS_Dirent.cpp:
* ace/OS_Dirent.h:
* ace/OS_Dirent.inl:
* ace/OS_String.cpp:
* ace/OS_String.h:
* ace/OS_String.inl:
Over the years, the functions in OS.i have gotten way too
large and complicated to make sense being inlined. But the
problem is too many were complicated only on some platforms,
while being really simple (and inline-able) on others.
So the question is, how to separate two versions of a function
into the .cpp and .inl files. The latest solution is to do
this. For the simple stuff, keep it in the .inl file, but for
complicated versions, add another method to the class (like
foo_emulation for foo) and call that from the .inl file.
This gives us the best of both worlds, and should be
the easiest to understand of the possible ways of doing
this.
Sat Jun 3 18:51:46 2000 Darrell Brunsch <brunsch@uci.edu>
* bin/msvc_auto_compile.pl:
Changed the way libraries were detected to remove false
positives when the dsps are in a directory with DLL in
its name. Now it will search for " DLL " or " LIB "
instead of "DLL" or "LIB".
* bin/fuzz.pl:
Was giving false positives for TEXT, changed it to search
for "TEXT (" to remove it (so it will not detect "MUTEXTYPE"
like words.
Also disabled the 80 character check for ACE_RCSID lines,
since they are difficult to reduce in size, since they contain
the CVS ID string.
Sat Jun 3 17:00:11 2000 Darrell Brunsch <brunsch@uci.edu>
* bin/fuzz.pl:
Added two new tests:
- a check to see if a file ends with a newline
- a check to detect use of TCHAR, LPTSTR, LPCTSR, TEXT
ASYS_TEXT, and ASYS_TCHAR
Changed to look at more files, including those ending with
.cc, .c, .pl, .htm, .html, .hxx, .cxx, .hpp, .idl and .pidl.
Changed to keep track of the number of errors and warnings
and prints out the totals at the end of the run. Also will
exit with an exit code of 1 if there are any errors.
Added a new flag, -c, which will tell fuzz.pl to get the list
of files from ARGV instead of from searching or cvs.
Finally, also added support for the usage of
"FUZZ: disable check_for_xxxx" and
"FUZZ: enable check_for_xxxx" in files so the detection can
be turned off for files where the "offending" usage is needed.
This can be used with:
- check_for_inline
- check_for_math_include
- check_for_tchar
Fri Jun 02 22:33:32 2000 Irfan Pyarali <irfan@cs.wustl.edu>
* ace/Priority_Reactor.cpp (init_bucket): Removed extra inline
directive. Thanks to Darrell for pointing this out.
Fri Jun 2 11:06:33 2000 Darrell Brunsch <brunsch@uci.edu>
* bin/fuzz.pl:
Bumped up the levels for the 80 char lines and preprocessor
comment tests. The latter should now not run by default.
Thu Jun 2 12:30:00 2000 Kirthika Parameswaran <kirthika@cs.wustl.edu>
* ace/Caching_Utility.cpp: Changed the cache entries limit to 0 so
that when the Purge_Percent is 100, all the entries are purged
from the cache. Thanks to Edan Ayal <edana@bandwiz.com> for
reporting this bug and sending in the fix too!
Thu Jun 1 15:16:26 2000 Ossama Othman <ossama@uci.edu>
* ace/config-linux-common.h:
The change that allowed more than 256 file descriptors to be
opened for non-root processes on Linux only works for more
recent Linux kernels, such as the 2.2.x series. As such, the
default Select Reactor size is now set to 256 for Linux kernels
older than 2.2.0. Thanks to David for pointing out this
limitation.
* m4/platform.m4 (ACE_DEFAULT_SELECT_REACTOR_SIZE):
Added test that sets the default Select Reactor size to 256 if
the Linux kernel version is less than 2.2.0. This change is
related to the 256 file descriptor limit described above.
Thu Jun 01 12:35:00 2000 Nanbor Wang <nanbor@cs.wustl.edu>
* ace/ace_dll.dsp: Fixed typos in ACEMFC configuration. Thanks
to Steve for pointing this out.
Thu Jun 1 10:08:31 2000 Darrell Brunsch <brunsch@uci.edu>
* bin/fuzz.pl:
Was printing out "line test" when doing the preprocessor
comment test.
Thu Jun 1 08:43:14 2000 Darrell Brunsch <brunsch@uci.edu>
Fuzz is a script whose purpose is to check through ACE/TAO
files for easy to spot (by a perl script, at least) problems.
Usage is:
fuzz.pl [-dhm] [-l level]
-d turn on debugging
-h display this help
-l level set detection level (default = 5)
-m only check locally modified files (uses cvs)
It currently has checks for these:
- ACE/ASYS_INLINE in .cpp files (level 2+)
- $ID string in .h/.i/.cpp files (level 2+)
- Bare inline in a .i file (level 2+)
- Inclusion of math.h in a .h/.i/.cpp file (level 3+)
- Check for lines of > 80 chars in .h/.i/.cpp (level 6+)
- Check for use of // in a preprocessor directive (level 3+)
Wed May 31 16:30:44 2000 Ossama Othman <ossama@uci.edu>
* configure.in (AC_REVISION):
The RCS ID had to be quoted, otherwise the generated configure
script would end up having a mangled version of the RCS ID.
Wed May 31 16:18:35 2000 Ossama Othman <ossama@uci.edu>
* configure.in:
Fixed the informational message that is displayed when the
configuration integrity check fails so that the shell will no
longer interpret the RCS ID as a variable. This was done by
removing the dollar '$' signs from the RCS ID by using the M4
translit() built-in.
(LIBS):
Removed "-lrt" from the hardcoded list of libraries for OSF/1
{3,4,5}. The ACE_CHECK_ASYNCH_IO test should be able to detect
this library.
(AC_REVISION):
Changed revision string to be the RCS ID.
(AC_OUTPUT):
Removed the commented out TAO output files from the list files
the configure script should create. The latest CVS Autoconf
flagged them as problems when generating the configure script.
Wed May 31 18:08:12 2000 Vishal Kachroo <vishal@cs.wustl.edu>
* examples/QoS/QosEvent.h:
* examples/QoS/server.cpp:
* examples/QoS/client.cpp:
* examples/QoS/Receiver_QOS_Event_Handler.{cpp,h}:
* examples/QoS/Sender_QOS_Event_Handler.{cpp,h}:
Fixed the calls to subsribe() and qos () methods that
broke because of changes to ACE QoS API.
Wed May 31 12:29:12 2000 Darrell Brunsch <brunsch@uci.edu>
* apps/JAWS2/JAWS/jaws.dsp:
Added a couple of files that were in the Makefile but not
in this file.
Wed May 31 14:49:36 2000 Steve Huston <shuston@riverace.com>
* ace/Log_Msg.cpp (log): Revert change from Thu May 25 17:39:22 2000.
Add #if !defined (ACE_LACKS_UNIX_SIGNALS) to ACE_Log_Msg_Sig_Guard
ctor which matches a similar check in the dtor. This makes it work
on pSOS same as on other platforms without UNIX-like signals.
* ace/Signal.i (ACE_Sig_Guard::ACE_Sig_Guard): Added compile-time
check for !defined (ACE_LACKS_UNIX_SIGNALS) to not try to manipulate
the signal mask for platforms that don't do it. Matches an existing
check in the dtor.
Wed May 31 11:51:46 2000 Darrell Brunsch <brunsch@uci.edu>
* apps/gperf/src/gperf.dsp:
* apps/gperf/src/gperf_lib.dsp:
Fixed the output directories to be relative to ".\". Thanks
to Francois Bernier <fbernier@gel.ulaval.ca> for pointing
this out.
Wed May 31 10:31:18 2000 Darrell Brunsch <brunsch@uci.edu>
* examples/ConfigViewer/ConfigurationViewer.dsp:
Changed the configuration type to "Win32 wxWindows Debug"
instead of "Win32 Debug" (and the same for Release).
This will prevent this project from being picked up by
the msvc_auto_compile.pl, since we do not have wxWindows
installed with the auto builds.
Wed May 31 10:13:10 2000 Darrell Brunsch <brunsch@uci.edu>
* examples/Export/export_dll.dsp:
* examples/Export/test.dsp:
Fixed the relative paths for ace includes and libraries.
Wed May 31 11:25:34 2000 Irfan Pyarali <irfan@cs.wustl.edu>
* examples/Reactor/WFMO_Reactor/test_handle_close.cpp: Fixed
signed/unsigned comparison warning.
Tue May 30 14:23:22 2000 Ossama Othman <ossama@uci.edu>
* apps/Gateway/Gateway/gatewayd.cpp:
* examples/ASX/UPIPE_Event_Server/Options.cpp:
* examples/Naming/test_multiple_contexts.cpp:
Added missing "ace/Log_Msg.h" include.
Tue May 30 10:41:34 2000 Darrell Brunsch <brunsch@uci.edu>
* ace/Makefile.bor:
* include/makeinclude/ace_flags.bor:
ACE_OS_BUILD_DLL and ACE_OS_HAS_DLL were not being set correctly
in Borland.
Mon May 29 16:49:25 2000 Douglas C. Schmidt <schmidt@tango.cs.wustl.edu>
* ace/OS.i: Changed all 'ACE_Errno_Guard (errno, 0)' to
'ACE_Errno_Guard (errno)' in the following methods.
ACE_OS::sema_wait (ACE_sema_t *s, ACE_Time_Value &tv),
ACE_OS::rw_unlock (ACE_rwlock_t *rw),
ACE_OS::rw_trywrlock (ACE_rwlock_t *rw),
ACE_OS::rw_unlock (ACE_rwlock_t *rw)
Thus, if a critical section of code is guarded using an
ACE_Read_Guard, and errno is set inside, the value is not
overridden with 0 when the section is exited in
ACE_OS::rw_unlock. Thanks to Edan Ayal <edanayal@yahoo.com> for
reporting this.
* ace/Connector.h: Added a new typedef defined as follows:
typedef ACE_TYPENAME _ACE_PEER_CONNECTOR::PEER_ADDR
ACE_TYPENAME_ACE_PEER_CONNECTOR_PEER_ADDR;
This fixes some problems on some platforms due to problems with
the typename in a cast expression. Thanks to Ingo Dahm
<ingo.dahm@sun.com> for reporting this.
* ace/IO_Cntl_Msg.h: Changed the ACE_IO_Cntl_Cmds enum to be
a typedef u_short so that users could create their own values.
Thanks to vsg@ivl.kiev.ua for this suggestion.
* ace/ACE.h,
* ace/ACE.h: Make the documentation consistent for both
sockets and "normal" I/O methods!
Mon May 29 11:36:28 2000 Michael Kircher <Michael.Kircher@mchp.siemens.de>
* ace/OS_Dirent.cpp: Fixed the memory allocation in open_dir,
which allocated one char too little.
Sun May 28 17:26:28 2000 Ossama Othman <ossama@uci.edu>
* ace/Timer_Heap_T.cpp:
* ace/Timer_Queue_T.cpp:
* apps/JAWS/server/HTTP_Helpers.cpp:
* apps/JAWS/server/HTTP_Response.cpp:
* apps/drwho/BS_Client.cpp:
* examples/ASX/Event_Server/Event_Server/Options.cpp:
* examples/Logger/simple-server/Logging_Handler.cpp:
* examples/Logger/simple-server/server_loggerd.cpp:
* examples/Mem_Map/IO-tests/test_io.cpp:
* examples/Naming/test_non_existent.cpp:
* examples/Naming/test_writers.cpp:
* examples/Reactor/Dgram/CODgram.cpp:
* examples/Reactor/Dgram/Dgram.cpp:
* examples/Reactor/FIFO/server.cpp:
* examples/Reactor/Misc/pingpong.cpp:
* examples/Reactor/Misc/test_signals_1.cpp:
* examples/Reactor/Misc/test_timer_queue.cpp:
* examples/Reactor/Multicast/server.cpp:
* examples/Service_Configurator/IPC-tests/server/Handle_Broadcast.h:
* examples/Service_Configurator/IPC-tests/server/Handle_L_FIFO.h:
* examples/Service_Configurator/IPC-tests/server/Handle_R_Dgram.h:
* examples/Service_Configurator/IPC-tests/server/Handle_Timeout.h:
* examples/Service_Configurator/IPC-tests/server/server_test.cpp:
* examples/Service_Configurator/Misc/Timer_Service.cpp:
* examples/Service_Configurator/Misc/main.cpp:
* examples/System_V_IPC/SV_Message_Queues/TMQ_Server.cpp:
* examples/Threads/process_mutex.cpp:
* examples/Threads/process_semaphore.cpp:
* examples/Threads/tss2.cpp:
* netsvcs/clients/Naming/Client/main.cpp:
* netsvcs/clients/Naming/Dump_Restore/main.cpp:
* performance-tests/Misc/test_naming.cpp:
* performance-tests/UDP/udp_test.cpp:
Added missing "ace/Log_Msg.h" include. This fixes a series of
compile-time errors with Compaq C++.
Sat May 27 20:55:24 2000 Ossama Othman <ossama@uci.edu>:
* tests/test_config.h:
Added missing include for "ace/Log_Msg.h." This fixes a
compile-time error from Sun C++ 5.0.
Sat May 27 20:41:14 2000 Ossama Othman <ossama@uci.edu>
* ace/Hash_Map_Manager_T.h:
Added missing include for "ace/Log_Msg.h." This fixes a
compile-time error on Tru64.
Sat May 27 17:09:03 2000 David L. Levine <levine@cs.wustl.edu>
* docs/ACE-guidelines.html: added const to example
accessor declaration.
Sat May 27 14:17:35 2000 Ossama Othman <ossama@uci.edu>
* apps/JAWS2/HTTPU/parse_url.cpp:
* examples/Web_Crawler/URL_Addr.cpp:
* examples/Reactor/Multicast/client.cpp:
* examples/OS/Process/process.cpp:
* examples/IPC_SAP/ATM_SAP/CPP-client.cpp:
* examples/IPC_SAP/ATM_SAP/CPP-server.cpp:
* examples/DLL/Newsweek.cpp:
* examples/DLL/Today.cpp:
* examples/DLL/test_dll.cpp:
* websvcs/tests/Test_URL_Addr.cpp:
Added missing `ace/Log_Msg.h' include.
* examples/Web_Crawler/URL_Addr.cpp (ACE_URL_Addr):
Fixed warning about missing base class initialization in copy
constructor base member initializer list.
(~ACE_URL_Addr, addr_to_string):
Changed use of "LPTSTR" to "ACE_TCHAR *". This fixes an error
on UNIX builds.
Sat May 27 14:59:08 2000 Douglas C. Schmidt <schmidt@tango.cs.wustl.edu>
* tests/Signal_Test.cpp (worker_parent): Yet another fix of this...
Now we add an ACE_static_cast to long, as well as doing the %ld!
Thanks to Yamuna for fixing this!
* ace/SOCK_Stream.h: Improved the documentation of recv_n() et al.
Thanks to Sami Aario <saempylae@hotmail.com> for this
suggestion.
Sat May 27 01:07:01 2000 Darrell Brunsch <brunsch@uci.edu>
* ace/config-win32-common.h:
Added a semicolon to the definitions of
ACE_EXPORT_SINGLETON_DECLARE
ACE_IMPORT_SINGLETON_DECLARE
Since the default definition for this is nothing, the semicolon is
better off in the definitions themselves. Otherwise, one needs to
add a semicolon after the use of these macros, which can cause
warnings when the macro expands to nothing.
Fri May 26 20:00:22 2000 Darrell Brunsch <brunsch@uci.edu>
* ace/OS_String.inl (strcasecmp, strncasecmp):
I have no idea how this worked before, but in these two functions
we were using _stricmp/_strnicmp for Win32. Borland doesn't define
these by default, instead they use stricmp/strnicmp. So instead
of trying to figure out how this all worked before, I just added
an #elif for __BORLAND__ and called the stricmp/strnicmp.
Fri May 26 19:26:34 2000 Ossama Othman <ossama@uci.edu>
* netsvcs/clients/Logger/direct_logging.cpp:
Added missing include of `ace/Log_Msg.h'.
Fri May 26 18:14:47 2000 Darrell Brunsch <brunsch@uci.edu>
* ace/OS_String.inl:
Moved the ACE_OS_String::to_lower () methods up in the file, since
they are used in other inlined functions.
Fri May 26 16:13:08 2000 Darrell Brunsch <brunsch@uci.edu>
* ace/OS.cpp:
* ace/OS.h:
* ace/OS_String.cpp:
* ace/OS_String.h:
Moved the strptime back to OS.h, because it is more a time
thing than a string thing.
Fri May 26 15:58:52 2000 Ossama Othman <ossama@uci.edu>
* ace/Select_Reactor_Base.cpp (open):
Re-enabled the change that added ability to set the handle limit
to a value greater than FD_SETSIZE on platforms that support
this functionality. This was made possible by Steve Huston's
change to the ACE::max_handles() method described several
ChangeLog entries below.
Fri May 26 14:27:02 2000 Darrell Brunsch <brunsch@uci.edu>
* ace/OS_String.inl:
Changed the strncasecmp methods to not use ssize_t inside of
them. This required a reworking of the loop, since it
depended on negative values. This was needed since ssize_t
is more difficult to get defined than size_t, so it seemed
less obtrusive to do it this way.
Fri May 26 12:30:56 2000 Ossama Othman <ossama@uci.edu>
* ace/TLI_Connector.h:
* ace/TLI_Connector.cpp:
Moved include of ace/Log_Msg.h to the header file.
TLI_Connector.i utilizes some of the ACE_Log_Msg macros.
Fri May 26 14:25:31 2000 Jeff Parsons <parsons@cs.wustl.edu>
* ace/ace_dll.dsp:
Added OS_String.h to project for convenience.
Fri May 26 12:23:55 2000 Ossama Othman <ossama@uci.edu>
* ace/TLI_Acceptor.cpp:
* ace/TLI_Connector.cpp:
*sigh* These files also needed to include "ace/Log_Msg.h."
Fri May 26 12:13:26 2000 Ossama Othman <ossama@uci.edu>
* ace/Singleton.cpp:
* ace/TLI.cpp:
These files needed to explicitly include "ace/Log_Msg.h," too.
Fri May 26 12:04:39 2000 Ossama Othman <ossama@uci.edu>
* ace/ARGV.cpp:
* ace/Capabilities.cpp:
* ace/Dump.cpp:
* ace/Filecache.cpp:
* ace/Local_Tokens.h:
* ace/Log_Msg.cpp:
* ace/Malloc.h:
* ace/Map_Manager.h:
* ace/Memory_Pool.cpp:
* ace/Name_Proxy.cpp:
* ace/Process.cpp:
* ace/Process_Manager.cpp:
* ace/QoS_Manager.cpp:
* ace/QoS_Session_Factory.cpp:
* ace/QoS_Session_Impl.cpp:
* ace/Remote_Name_Space.cpp:
* ace/SOCK_Acceptor.cpp:
* ace/SOCK_Dgram.cpp:
* ace/Select_Reactor_Base.cpp:
* ace/Service_Repository.cpp:
* ace/Signal.cpp:
* ace/Stats.h:
* ace/Synch.cpp:
* ace/TP_Reactor.h:
* ace/Thread_Manager.h:
* ace/Token.cpp:
These files needed to explicitly include "ace/Log_Msg.h," too.
Fri May 26 11:29:44 2000 Ossama Othman <ossama@uci.edu>
* ace/ACE.cpp:
* ace/Malloc.h:
Include "ace/Log_Msg.h" to pull in the appropriate definition of
the ACE llessogging macros. This fixes a problem on Solaris.
Thu May 25 19:39:59 2000 Ossama Othman <ossama@uci.edu>
* configure.in:
Re-enabled test for ACE_HAS_SIGNAL_SAFE_OS_CALLS. The fixes to
the ACE_OSCALL* macros below make it possible to enable this
feature.
* ace/config-all.h (ACE_OSCALL, ACE_OSCALL_RETURN):
Removed call to "ACE_LOG_MSG->restart()" from these macros in
the "ACE_HAS_SIGNAL_SAFE_OS_CALLS" case.
* ace/OS.h:
Remove inclusion of "ace/Log_Msg.h" when the
ACE_ONLY_LATEST_AND_GREATEST preprocessor macro is defined.
This reduces the number of extraneous header interdependencies
in much of the ACE source files.
Added a forward declaration for ACE_Log_Msg to compensate for
the declaration that was initially pulled in by "ace/Log_Msg.h"
It was only needed for "friend" declaration inside the
ACE_OS_Object_Manager class.
* ace/Addr.cpp:
* ace/Addr.h:
* ace/Auto_Ptr.h:
* ace/DEV_Addr.cpp:
* ace/DEV_Connector.h:
* ace/DEV_Connector.i:
* ace/DEV_IO.cpp:
* ace/DLL.cpp:
* ace/FIFO.cpp:
* ace/FIFO_Recv.cpp:
* ace/FIFO_Recv_Msg.cpp:
* ace/FIFO_Send.cpp:
* ace/FIFO_Send_Msg.cpp:
* ace/FILE_Addr.cpp:
* ace/FILE_Connector.h:
* ace/FILE_IO.cpp:
* ace/Get_Opt.cpp:
* ace/Handle_Set.cpp:
* ace/INET_Addr.cpp:
* ace/IO_SAP.cpp:
* ace/IPC_SAP.cpp:
* ace/LSOCK.cpp:
* ace/LSOCK_Acceptor.cpp:
* ace/LSOCK_CODgram.cpp:
* ace/LSOCK_Connector.cpp:
* ace/LSOCK_Dgram.cpp:
* ace/LSOCK_Stream.cpp:
* ace/Log_Record.cpp:
* ace/MEM_Addr.cpp:
* ace/Makefile:
* ace/Mem_Map.cpp:
* ace/Name_Request_Reply.cpp:
* ace/OS.cpp:
* ace/Pipe.cpp:
* ace/SOCK.cpp:
* ace/SOCK_CODgram.cpp:
* ace/SOCK_Connector.cpp:
* ace/SOCK_Dgram_Bcast.cpp:
* ace/SOCK_Dgram_Mcast_QoS.cpp:
* ace/SPIPE_Acceptor.cpp:
* ace/SPIPE_Connector.cpp:
* ace/SV_Message_Queue.cpp:
* ace/SV_Semaphore_Complex.cpp:
* ace/SV_Semaphore_Simple.cpp:
* ace/SV_Shared_Memory.cpp:
* ace/Time_Request_Reply.cpp:
* ace/Trace.cpp:
* ace/Typed_SV_Message_Queue.cpp:
* ace/UNIX_Addr.h:
* apps/Gateway/Peer/Options.cpp:
* apps/JAWS/server/Parse_Headers.cpp:
* apps/drwho/Binary_Search.cpp:
* apps/drwho/CM_Client.cpp:
* apps/drwho/CM_Server.cpp:
* apps/drwho/Hash_Table.cpp:
* apps/drwho/Multicast_Manager.cpp:
* apps/drwho/Options.cpp:
* apps/drwho/PMC_All.cpp:
* apps/drwho/PMC_Flo.cpp:
* apps/drwho/PMC_Ruser.cpp:
* apps/drwho/PMC_Usr.cpp:
* apps/drwho/PMS_All.cpp:
* apps/drwho/PMS_Flo.cpp:
* apps/drwho/PMS_Ruser.cpp:
* apps/drwho/PMS_Usr.cpp:
* apps/drwho/PM_Client.cpp:
* apps/drwho/Protocol_Manager.cpp:
* apps/drwho/Protocol_Record.cpp:
* apps/drwho/SMR_Client.cpp:
* apps/drwho/SMR_Server.cpp:
* apps/drwho/SM_Client.cpp:
* apps/drwho/SM_Server.cpp:
* apps/drwho/Search_Struct.cpp:
* apps/drwho/Single_Lookup.cpp:
* apps/drwho/client.cpp:
* apps/drwho/server.cpp:
* examples/IOStream/client/iostream_client.cpp:
* examples/IPC_SAP/FIFO_SAP/FIFO-client.cpp:
* examples/IPC_SAP/FIFO_SAP/FIFO-server.cpp:
* examples/IPC_SAP/FIFO_SAP/FIFO-test.cpp:
* examples/IPC_SAP/SOCK_SAP/CPP-inserver-poll.cpp:
* examples/IPC_SAP/SPIPE_SAP/NPClient.cpp:
* examples/IPC_SAP/SPIPE_SAP/NPServer.cpp:
* examples/IPC_SAP/SPIPE_SAP/producer_read.cpp:
* examples/IPC_SAP/TLI_SAP/CPP-ATM-client.cpp:
* examples/IPC_SAP/TLI_SAP/CPP-ATM-server.cpp:
* examples/IPC_SAP/TLI_SAP/CPP-client.cpp:
* examples/IPC_SAP/TLI_SAP/CPP-server.cpp:
* examples/IPC_SAP/TLI_SAP/db-client.cpp:
* examples/IPC_SAP/TLI_SAP/ftp-client.cpp:
* examples/Log_Msg/test_callback.cpp:
* examples/Log_Msg/test_log_msg.cpp:
* examples/Log_Msg/test_ostream.cpp:
* examples/Logger/client/logging_app.cpp:
* examples/Mem_Map/IO-tests/IO_Test.cpp:
* examples/Mem_Map/file-reverse/file-reverse.cpp:
* examples/Misc/test_get_opt.cpp:
* examples/Misc/test_profile_timer.cpp:
* examples/Misc/test_sstring.cpp:
* examples/Reactor/FIFO/client.cpp:
* examples/Reactor/Misc/test_early_timeouts.cpp:
* examples/Reactor/Misc/test_time_value.cpp:
* examples/Service_Configurator/IPC-tests/client/broadcast_client_test.cpp:
* examples/Service_Configurator/IPC-tests/client/local_fifo_client_test.cpp:
* examples/Service_Configurator/IPC-tests/client/local_spipe_client_test.cpp:
* examples/Service_Configurator/IPC-tests/client/remote_dgram_client_test.cpp:
* examples/Service_Configurator/IPC-tests/client/remote_service_directory_test.cpp:
* examples/Service_Configurator/IPC-tests/client/remote_stream_client_test.cpp:
* examples/Service_Configurator/IPC-tests/client/remote_thr_stream_client_test.cpp:
* examples/Shared_Malloc/Options.cpp:
* examples/Shared_Memory/test_MM.cpp:
* examples/Shared_Memory/test_SV.cpp:
* examples/System_V_IPC/SV_Message_Queues/TMQ_Client.cpp:
* netsvcs/clients/Logger/indirect_logging.cpp:
* netsvcs/lib/Logging_Strategy.cpp:
* performance-tests/Misc/basic_perf.cpp:
Include "ace/Log_Msg.h" to pull in the appropriate definition of
the ACE logging macros.
Fri May 26 09:16:21 2000 Darrell Brunsch <brunsch@uci.edu>
* ace/OS_Dirent.cpp:
I shall not put ACE_INLINE's in a .cpp file.
I shall not put ACE_INLINE's in a .cpp file.
I shall not put ACE_INLINE's in a .cpp file.
I shall not put ACE_INLINE's in a .cpp file.
I shall not put ACE_INLINE's in a .cpp file.
I shall not put ACE_INLINE's in a .cpp file.
I shall not put ACE_INLINE's in a .cpp file.
I shall not put ACE_INLINE's in a .cpp file.
I shall not put ACE_INLINE's in a .cpp file.
I shall not put ACE_INLINE's in a .cpp file.
:-)
Thu May 25 20:23:45 2000 Darrell Brunsch <brunsch@uci.edu>
* bin/Process_Win32.pm:
The timed_wait wasn't returning the correct value if the
server actually timed out.
Thu May 25 18:21:41 2000 Steve Huston <shuston@riverace.com>
* ace/ACE.cpp (max_handles): If an ACE_LACKS_RLIMIT platform, let
it try sysconf or FD_SETSIZE instead of always getting ENOTSUP.
Thu May 25 17:39:22 2000 Steve Huston <shuston@riverace.com>
* ace/Event_Handler.cpp (register_stdin_handler): On pSOS, do
stdin using another thread (like Win32) because ACE_STDIN is not
a handle that select() can demux on. It only does sockets.
* ace/Log_Msg.cpp (log): Don't do a ACE_Log_Msg_Sig_Guard on pSOS.
It doesn't have signals to block out anyway.
Thu May 25 16:57:16 2000 Steve Huston <shuston@riverace.com>
* ace/Select_Reactor_T.cpp (handle_error, check_handles): For pSOS,
select() sets errno to EBADS for invalid socket handle. And, we
need to use select() (not fstat) to weed out the bad ones.
Thu May 25 15:19:14 2000 Darrell Brunsch <brunsch@uci.edu>
* ace/OS_String.cpp:
Added an include for stddef.h, since we use size_t here. Also
moved the OS_Export.h include after the #pragma once stuff.
Thu May 25 12:26:36 2000 Joe Hoffert <joeh@cs.wustl.edu>
* examples/IPC_SAP/ATM_SAP/Makefile:
Removed libraries that FORE used to need.
Thu May 25 09:07:16 2000 Carlos O'Ryan <coryan@uci.edu>
* ace/OS_String.cpp:
Removed a few ACE_INLINEs.
Wed May 24 20:27:26 2000 Ossama Othman <ossama@uci.edu>
* ace/OS_String.h:
Changed "u_long" to "unsigned long." The u_long typedef wasn't
being pulled in, so just use the basic type. This avoids having
to pull in a header, and fixes a compile time problem.
Wed May 24 20:18:59 2000 Ossama Othman <ossama@uci.edu>
* ace/Select_Reactor_Base.cpp (open):
Temporarily backed out change that added ability to set handle
limit to value greater than FD_SETSIZE. It breaks platforms
that don't support getrlimit().
Wed May 24 18:56:16 2000 Darrell Brunsch <brunsch@uci.edu>:
* ace/OS_Export.h: (added)
In preparation for an eventual splitting up of the ACE DLLs,
I'm starting to split up the Export macros also. OS_Export will
be used for the lowest level OS library.
* ace/Makefile:
* ace/Makefile.am:
* ace/Makefile.bor:
* ace/ace-dll.icc:
* ace/ace-lib.icc:
* ace/ace_dll.dsp:
* ace/ace_lib.dsp:
* ace/OS.cpp:
* ace/OS.h:
* ace/OS.i:
* ace/OS_String.cpp: (added)
* ace/OS_String.h: (added)
* ace/OS_String.inl: (added)
Moved the string methods of ACE_OS to ACE_OS_String.
* ace/OS_Dirent.cpp:
* ace/OS_Dirent.h:
* ace/OS_Dirent.inl:
Separated the Win32 versions of some of the methods into the
cpp file. The Win32 versions were a bit too complicated to make
sense having inlined.
Also changed to use ACE_OS_Export.
Wed May 24 10:22:18 2000 Ossama Othman <ossama@uci.edu>
* THANKS:
Added Håkon Innerdal <hakoni@funcom.com> to the list of
contributors.
* ace/config-linux-common.h (ACE_DEFAULT_SELECT_REACTOR_SIZE):
Commented out the definition of this macro. Its setting
unnecessarily limited the default size of the Select_Reactor to
256 file descriptors. `ace/OS.h' correctly sets the default
size to FD_SETSIZE. Thanks to Håkon Innerdal
<hakoni@funcom.com> for pointing this out.
* ace/Select_Reactor_Base.cpp (open):
Do not check if the desired size of the repository, i.e. the
maximum number of file descriptors, is greater than FD_SETSIZE.
The same check is effectively done in the call to
ACE::set_handle_limits(). The redundant check also prevented
the Reactor from supporting file descriptors numbering more than
FD_SETSIZE on platforms that support them (e.g. via
setrlimit(RLIMIT_NOFILE, ...)). Thanks to Håkon Innerdal
<hakoni@funcom.com> for reporting the problem, and for providing
a fix.
* m4/platform.m4 (ACE_DEFAULT_SELECT_REACTOR_SIZE):
No longer set the default size to 256 file descriptors.
`ace/OS.h' correctly set it to FD_SETSIZE.
Wed May 24 10:08:37 2000 Joe Hoffert <joeh@cs.wustl.edu>
* THANKS:
Added Pedro Brandao <pbrandao@inescn.pt> name for his additions
to support ATM for Linux.
Wed May 24 10:01:26 2000 Joe Hoffert <joeh@cs.wustl.edu>
* ace/ATM_Acceptor.{h,i,cpp}
* ace/ATM_Addr.{h,i,cpp}
* ace/ATM_Connector.{h,i,cpp}
* ace/ATM_Params.h
* ace/ATM_QoS.{h,i,cpp}
* ace/ATM_Stream.cpp:
Added support for ATM on Linux. Thanks to Pedro Brandao
<pbrandao@inescn.pt> for providing this.
* ace/TLI.{h,i,cpp}
* ace/TLI_Connector.{h,i,cpp}
* ace/TLI_Stream.{h,i,cpp}:
Changed hard-coded "inline" to "ACE_INLINE"
Wed May 24 08:10:21 2000 Steve Huston <shuston@riverace.com>
* ace/WFMO_Reactor.h: Wrapped the !WinSock2 defs in defined(ACE_WIN32)
to prevent compile errors on non-win32 platforms. It may be better to
wrap the whole file in #if defined (ACE_WIN32), but this will solve
the immediate problem.
Tue May 23 20:13:52 2000 Irfan Pyarali <irfan@cs.wustl.edu>
* ace/WFMO_Reactor.h: Moved the definition of WSANETWORKEVENTS to
before its use. Thanks to Craig Perras <cperras@watchguard.com>
for reporting this.
Tue May 23 17:59:06 2000 Luther J Baker <luther@cs.wustl.edu>
* ACE_wrappers/pace/pace:
Source files added.
Changes to pace subdirectory will be noted in
ACE_wrappers/pace/ChangeLog.
Tue May 23 17:55:17 2000 Steve Huston <shuston@riverace.com>
* ace/Log_Msg.cpp (log): For %t on MVS, use the old ACE 5.0 cast.
The pthread_t is a struct on MVS.
Tue May 23 17:21:37 2000 Steve Huston <shuston@riverace.com>
* include/makeinclude/platform_psos_diab_ppc.GNU: Add -ei1676 to
CCFLAGS to turn off the gazillion messages about not overriding
pure virtual functions in derived classes. Thanks to Matt Emerson
<memerson@escient.com> for this.
Tue May 23 16:37:27 2000 Luther J Baker <luther@cs.wustl.edu>
* ACE_wrappers/pace directories added to ACE_wrappers:
ACE_wrappers/pace/docs
ACE_wrappers/pace/examples
ACE_wrappers/pace/pace
ACE_wrappers/pace/pace++
ACE_wrappers/pace/tests
Mon May 22 15:26:42 2000 Steve Huston <shuston@riverace.com>
* ace/Synch.(cpp h i): ACE_Process_Mutex, ACE_Process_Semaphore -
changed to using ACE_Mutex and ACE_Semaphore for the underlying
synch. mechanism (same as Win32 and POSIX semaphores). Process
and thread are the same thing (synch-wise) on pSOS, and the
underlying mechanisms Do The Right Thing.
Wed May 10 16:47:31 2000 Steve Huston <shuston@riverace.com>
(actually committed on Tue May 23)
* ace/OS.(h i): pSOS changes:
- Use ACE_OSCALL_RETURN (ACE_ADAPT_RETVAL ()) rather than using
return func() == 0 ? 0 : -1 to avoid losing errno values.
- ACE_OS::thr_getspecific, copy existing code from the TSS-emulated
section to the native TSD-using section.
- Use u_long as ACE_condattr_t and set its flags in
ACE_OS::condattr_init rather than in ACE_OS::cond_init to
avoid strange return errors in other parts of ACE that use
ACE_OS::condattr_init and expect it to work.
Mon May 22 15:25:33 2000 Nanbor Wang <nanbor@cs.wustl.edu>
* ace/OS.{h,cpp} (ACE_Thread_Exit):
* ace/Thread_Manager.cpp (~ACE_Thread_Exit): Moved the reset of
ACE_Thread_Exit::is_constructed_ from the Thread_Exit's
destructor to ACE_OS_Object_Manager::fini (). Otherwise, the
singleton ACE_Thread_Exit may get created multiple times.
Thanks to Eric Yee <eyee@authentica.com> for reporting the
problem.
Notice that ACE 5.1.1, 5.1.2 and 5.1.3 all have the same problem
of creating TSS keys unnecessarily without cleaning them up.
This will most likely cause a long running server process
creating a lot of threads to crash eventually (at least on NT.)
Therefore, you should not use these versions in a production
environment.
Mon May 22 11:23:19 2000 Pradeep Gore <pradeep@cs.wustl.edu>
* ACE version 5.1.3 released.
Sun May 21 17:11:12 2000 Darrell Brunsch <brunsch@uci.edu>
* ace/Configuration.cpp:
Fixed some ACE_USES_WCHAR problems.
Sun May 21 12:29:11 2000 Carlos O'Ryan <coryan@uci.edu>
* bin/run_all_list.pm:
Removed the Connection_Purging test from the single threaded
builds, the test cannot work in that configuration.
Sun May 21 11:39:11 2000 Douglas C. Schmidt <schmidt@ace.cs.wustl.edu>
* tests/Signal_Test.cpp (worker_parent): My earlier fix on May 18th, 2000
was incorrect. The right fix is to make the format specifier be
%ld, rather than cast the pid_t to (int).
Sat May 20 18:34:05 2000 Ossama Othman <ossama@uci.edu>
* configure.in (ACE_HAS_BROKEN_T_ERROR):
Fixed the test that checks if t_error() correctly accepts a
"const char *" parameter. This should fix a problem that was
occuring on Solaris.
Sat May 20 19:47:52 2000 Nanbor Wang <nanbor@cs.wustl.edu>
* ace/Memory_Pool.cpp: Added the seh_selector method for
ACE_Pagefile_Memory_Pool so it can be used with ACE_Malloc.
Thanks to Charlie Duke <cduke@cuseeme.com> for pointing this
out.
Fri May 19 16:19:11 2000 Carlos O'Ryan <coryan@uci.edu>
* bin/run_all_list.pm:
Removed the InterOp-Naming test from the Minimum CORBA builds.
Thu May 18 20:40:37 2000 Carlos O'Ryan <coryan@uci.edu>
* tests/Makefile:
More tweaking to get CDR_Array_Test *not* to compile on LynxOS
but to compile in other platforms.
Thu May 18 15:59:10 2000 Carlos O'Ryan <coryan@cs.wustl.edu>
* tests/CDR_File_Test.cpp:
Fixed so it works on platforms that lack native 64 bit types.
Thu May 18 13:56:49 2000 Jeff Parsons <parsons@cs.wustl.edu>
* ace/Configuration.cpp:
Removed an unused variable from import_config().
Thu May 18 13:28:41 2000 Carlos O'Ryan <coryan@cs.wustl.edu>
* tests/Makefile:
More tweaking to disable the CDR_Array_Test on LynxOS, the 3.0
version of Lynx has a newer g++ compiler, but it is still
broken.
Thu May 18 12:48:54 2000 Douglas C. Schmidt <schmidt@tango.cs.wustl.edu>
* tests/Signal_Test.cpp (worker_parent): Added a cast of
pid_t to int to make G++ happy. Thanks to David Levine for
reporting this.
Thu May 18 10:37:30 2000 Darrell Brunsch <brunsch@uci.edu>
* ace/OS_Dirent.h:
It looks like LynxOS needed sys/types.h to be included
before dirent.h.
Thu May 18 10:29:49 2000 Carlos O'Ryan <coryan@uci.edu>
* tests/Makefile:
Disable the CDR_Array_Test with older versions of g++ because
the test breaks the templates there.
* tests/CDR_File_Test.cpp:
Use ULongLong instead of LongLong because the former is better
supported.
Thu May 18 10:11:20 2000 Darrell Brunsch <brunsch@uci.edu>
* ace/streams.h:
For !ACE_HAS_STANDARD_CPP_LIBRARY, iomanip wasn't being included
(except for MSVC). So I moved it outside of the _MSC_VER block
so platforms like IRIX will now include it.
Thu May 18 09:49:12 2000 Jeff Parsons <parsons@cs.wustl.edu>
* ace/Configuration.h:
* ace/Configuration.cpp:
Chris Hafey's <chafey@stentorsoft.com> bug fixes and
enhancements to ACE_Configuration. Set_string_value
and set_integer_value now work when the value already
exists, memory leaks have been plugged, and a new
function added called find_value, which checks for the
existence in a section of a field by name, and returns
the data type stored there if it is found.
Wed May 17 20:37:49 2000 Carlos O'Ryan <coryan@uci.edu>
* tests/Makefile.am:
Add missing CDR_File_Test_SOURCES and CDR_Array_Test_SOURCES
definitions.
Wed May 17 20:25:21 2000 Darrell Brunsch <brunsch@uci.edu>
* ace/OS.h:
* ace/config-all.h:
Needed to move another define from OS.h to config-all
(the ENOSYS to EFAULT define) since Borland doesn't
have ENOSYS defined.
Wed May 17 20:02:25 2000 Darrell Brunsch <brunsch@uci.edu>
* ace/Dirent.h:
* ace/Dirent.i:
* ace/Makefile:
* ace/Makefile.am:
* ace/Makefile.bor:
* ace/OS.h:
* ace/OS.i:
* ace/OS_Dirent.cpp: (added)
* ace/OS_Dirent.h: (added)
* ace/OS_Dirent.inl: (added)
* ace/ace-dll.icc:
* ace/ace-lib.icc:
* ace/ace.icc:
* ace/ace_dll.dsp:
* ace/ace_dll_ce.dsp:
* ace/ace_lib.dsp:
* ace/config-all.h:
Ladies and Gentlemen, you are witnessing the beginning of the
end of ACE_OS as we know it. That's right, I am taking on the
bazillion lines of stuff in OS.*, and separating it into bite
size pieces.
So this is the first step, kind of a test of concept. I took
the dirent methods and separated them out into a separate class
(in its own files), ACE_OS_Dirent. So now if one only wishes
to use the dirent static methods, one only has to include
OS_Dirent.h.
But what about all the code that thinks it is still in ACE_OS?
Glad you asked, since ACE_OS now inherits from ACE_OS_Dirent,
meaning using ACE_OS::opendir () and family still works.
So eventually everything will be moved out, and ACE_OS will
just be a shell of a class that inherits from the ACE_OS_*
classes (with maybe an ACE_ONLY_LATEST_AND_GREATEST thrown
in here and there).
Let's just hope that this works....
Wed May 17 19:01:52 2000 Carlos O'Ryan <coryan@uci.edu>
* bin/auto_compile:
Fixed minor typos in the -smart_proxies option.
* bin/run_all_list.pm:
The path for one of the tests (InterOp-Naming) was broken, my
fault.
Wed May 17 16:20:30 2000 Darrell Brunsch <brunsch@uci.edu>
* ace/Future.cpp:
* ace/Future.h:
* ace/Future_Set.cpp:
* ace/Future_Set.h:
* ace/LOCK_SOCK_Acceptor.cpp:
* ace/config-pharlap.h:
While searching for the cause of a warning being undisabled,
I noticed there were several places where we were using
#include /**/ "ace/some-header.h". The #include /**/ is only
for system headers, so it doesn't need to be used with ACE
headers.
* ace/streams.h:
If ACE_HAS_STANDARD_CPP_LIBRARY is defined, then we include
the .h-less versions of the header files. This is all fine
and good, except that these headers in MSVC will disable some
warnings with #pragma warning, but then set them back to
default at the end. So if we disabled a warning in the config
file, it would get reenabled because of these headers.
So I added a #pragma warning(push/pop) pair around the includes
in this file to localize the warning settings.
Wed May 17 14:32:50 2000 Carlos O'Ryan <coryan@uci.edu>
* tests/CDR_Array_Test.cpp:
Fixed warnings in KAI-3.4 (and other EDG based compilers), it
makes no sense to return 'const int'
Wed May 17 12:03:41 2000 Darrell Brunsch <brunsch@uci.edu>
* Msg_WFMO_Reactor.cpp:
* Msg_WFMO_Reactor.h:
* Msg_WFMO_Reactor.i:
* ace/README:
* ace/config-WinCE.h:
* ace/config-pharlap.h:
Added an ACE_LACKS_MSG_WFMO macro that is used when ACE_WIN32
is defined but MsgWaitForMultipleOjbects isn't. This replaces
the checking for Pharlap and Windows CE. Thanks to David Hauck
<davidh@realtimeint.com> for this suggestion.
Wed May 17 13:34:22 2000 Steve Huston <shuston@riverace.com>
* tests/Thread_Pool_Reactor_Test.cpp: Added a little more diagnostic
info that was useful in diagnosing a previous problem in the
ACE_TP_Reactor.
Wed May 17 12:48:24 2000 Carlos O'Ryan <coryan@cs.wustl.edu>
* tests/CDR_File_Test.cpp:
More workarounds for compiler bugs, this time egcs-1.1.1 is at
fault.
Wed May 17 10:58:23 2000 Steve Huston <shuston@riverace.com>
* ace/WFMO_Reactor.(cpp h): Changed complex_dispatch_handler() and
upcall() to redo upcall(s) when the handler returns 1. This adds
ACE_WFMO_Reactor functionality equivalent to the ACE_Select_Reactor
family. To do this, the upcall() function's signature was changed
to accept a WSANETWORKEVENTS structure by reference. upcall()
updates the lNetworkEvents flags to indicate which requested a
callback. If the handler is not marked for deletion, the upcall
is done again. To properly support this, the call to
WSAEnumNetworkEvents is done once in complex_dispatch_handler and
the events flags are updated on each call to upcall().
Thanks to Irfan Pyarali <irfan@cs.wustl.edu> for his guidance
in designing this change.
Wed May 17 10:54:05 2000 Jeff Parsons <parsons@cs.wustl.edu>
* examples/ConfigViewer/ConfigTreeCtrl.cpp:
* examples/ConfigViewer/ConfigTreeCtrl.h:
* examples/ConfigViewer/ConfigurationViewer.cpp:
* examples/ConfigViewer/ConfigurationViewer.dsp:
* examples/ConfigViewer/ConfigurationViewer.dsw:
* examples/ConfigViewer/ConfigurationViewer.rc:
* examples/ConfigViewer/MainFrame.cpp:
* examples/ConfigViewer/MainFrame.h:
* examples/ConfigViewer/README:
* examples/ConfigViewer/ValueDlg.cpp:
* examples/ConfigViewer/ValueDlg.h:
* examples/ConfigViewer/ValueListCtrl.cpp:
* examples/ConfigViewer/ValueListCtrl.h:
* examples/ConfigViewer/mondrian.ico:
* examples/ConfigViewer/mondrian.xpm:
* examples/ConfigViewer/stdafx.cpp:
* examples/ConfigViewer/stdafx.h:
Chris Hafey's ACE_Configuration viewer/editor for vxWindows.
For details, see the README file or email Chris at
<chris@stentorsoft.com>.
Wed May 17 09:02:45 2000 Carlos O'Ryan <coryan@uci.edu>
* tests/CDR_Array_Test.cpp:
Workaround problems with old versions of g++, in some cases it
gets confused with sizeof(T) inside a template.
Tue May 16 12:01:56 2000 Darrell Brunsch <brunsch@uci.edu>
* ace/Msg_WFMO_Reactor.cpp:
* ace/Msg_WFMO_Reactor.h:
Applied some patches that Bruce Trask <BTRASK@contactsystems.com>
sent for building ACE on Pharlap.
* ace/OS.cpp:
* ace/OS.h:
* ace/Process.cpp:
* ace/ace_wchar.h:
GetEnvironmentStrings is the only Windows API function that I've
seen that doesn't follow the same FuncA/FuncW naming that the
rest do. So I added a wrapper in ACE_OS (getenvstrings) and it
does the appropriate magic in the .cpp file to get this to work.
This only showed up when UNICODE was defined but ACE_USES_WCHAR
wasn't.
* ace/Process.cpp:
Removed a comment that stated that the WinCE version of
inherit_environment () was in Process.i. Actually, there isn't
a version for CE at all.
* tests/CDR_Array_Test.cpp:
Updated the test so it works with ACE_USES_WCHAR.
Tue May 16 10:02:33 2000 Carlos O'Ryan <coryan@uci.edu>
* tests/CDR_File_Test.cpp:
The test was removing the file even when the user requested not
to do so.
Tue May 16 09:53:19 2000 Carlos O'Ryan <coryan@uci.edu>
* ace/CDR_Stream.i:
Change swap_8 again, this time it compiles with -O2 and -O3,
using the assembly instructions for full performance.
* tests/CDR_Array_Test.cpp:
Fixed several problems reported during the last night builds.
Mostly template quirks and the ever annoying problems of Sun/CC
4.2 with static_casts
* tests/CDR_File_Test.cpp:
Don't use ?: operators when the arguments are of different
types.
Mon May 15 21:00:31 2000 Carlos O'Ryan <coryan@uci.edu>
* ace/CDR_Stream.i:
The swap_8 operator was not working when debugging was
disabled.
Mon May 15 16:06:01 2000 Priyanka Gontla <pgontla@ece.uci.edu>
* ace/CORBA_macros.h:
Added Support for Exception::_downcast () by modifying _narrow
to _downcast (). Thanks to William Horn <whorn1984@my-deja.com>.
Mon May 15 15:49:37 2000 Carlos O'Ryan <coryan@uci.edu>
* bin/run_all_list.pm:
Add Connection_Purging to the list.
Mon May 15 15:23:27 2000 Ossama Othman <ossama@uci.edu>
The following are primarily consistency related updates.
* ace/LSOCK.i (ACE_LSOCK):
Initialize "aux_handle_" member to ACE_INVALID_HANDLE in the
base member initializer list.
* ace/Thread_Manager.i (ACE_At_Thread_Exit):
Initialize "next_" member to 0 in the base member initializer
list.
(ACE_Thread_Descriptor_Base):
Initialize "next_" and "prev_" members to 0 in the base member
initializer list.
Mon May 15 15:14:41 2000 Carlos O'Ryan <coryan@uci.edu>
* ace/CDR_Stream.h:
* ace/CDR_Stream.i:
* ace/CDR_Stream.cpp:
Cristian Ferretti <cristian_ferretti@yahoo.com> has contributed
a number of optimizations to the byte swapping code for CDR
streams. The optimizations include loop unrolling for 32-bit
and 64-bit architectures, use of especial assembly instructions
for x86-based platforms and use of bit operations (instead of
memory manipulation) for other processors.
* tests/Makefile:
* tests/Makefile.am:
* tests/Makefile.bor:
* tests/run_tests.bat:
* tests/run_tests.lst:
* tests/run_tests.vxworks:
* tests/tests.dsw:
* tests/CDR_Array_Test.cpp:
* tests/CDR_Array_Test.dsp:
* tests/CDR_Array_Test.icc:
New test to verify that the array operations in the CDR classes
actually work, this is specially critical because the new
versions unroll loop, perform assembly instructions that work
best when the alignment is right, etc.
* tests/CDR_File_Test.cpp:
The test was extended. Now we can save a file in one platform
and load it (manually) in another platform, to verify that byte
swapping actually works.
Both tests were contributed by Cristian Ferretti
<cristian_ferretti@yahoo.com>, which is good because all this
voodoo programming needs testing.
The changes were tested using PA-RISC, Alphas, Sparcs and
finally Pentiums in various forms and using several compilers.
Mon May 15 14:01:23 2000 Ossama Othman <ossama@uci.edu>
* ace/OS.h:
QNX Neutrino has the <sys/resource.h> header, so include it.
* ace/config-qnx-neutrino.h:
QNX supports the {get,set}rlimit() functions. ACE's autoconf
support detected this support.
Mon May 15 12:32:05 2000 Ossama Othman <ossama@uci.edu>
* ace/Log_Record.cpp (print):
Added a "%s" format specifier to the fprintf() call. This was
needed to allow strings containing percent signs '%' to be
printed. This problem was inadvertently introduced during some
UNICODE related updates. The "%s" format specifier can handle
UNICODE strings. Thanks to Edan Ayal <edana@bandwiz.com> for
reporting this problem and providing a fix.
Mon May 15 10:25:38 2000 Darrell Brunsch <brunsch@uci.edu>
* bin/create_vt_dsps.pl:
I got tired of creating the version tests for the ACE tests,
so why not script it?
* tests/version_tests/ACE_Init_Test.dsp: (removed)
This test is tricky. It uses MFC, which gets complicated when
also using the static version of ACE. Since this is the only
test that does this, I just disabled it in the create_vt_dsps.pl.
* tests/version_tests/Reactor_Exception_Test.dsp: (removed)
* tests/version_tests/Sigset_Op_Test.dsp: (removed)
These two were named differently than their parents in
tests/, so they have been renamed.
* tests/version_tests/Atomic_Op_Test.dsp:
* tests/version_tests/Auto_IncDec_Test.dsp:
* tests/version_tests/Barrier_Test.dsp:
* tests/version_tests/Basic_Types_Test.dsp:
* tests/version_tests/Buffer_Stream_Test.dsp:
* tests/version_tests/CDR_File_Test.dsp:
* tests/version_tests/CDR_Test.dsp:
* tests/version_tests/Cache_Map_Manager_Test.dsp:
* tests/version_tests/Cached_Accept_Conn_Test.dsp:
* tests/version_tests/Cached_Conn_Test.dsp:
* tests/version_tests/Capabilities_Test.dsp:
* tests/version_tests/Collection_Test.dsp:
* tests/version_tests/Conn_Test.dsp:
* tests/version_tests/DLL_Test.dsp:
* tests/version_tests/DLList_Test.dsp:
* tests/version_tests/Dynamic_Priority_Test.dsp:
* tests/version_tests/Enum_Interfaces_Test.dsp:
* tests/version_tests/Env_Value_Test.dsp:
* tests/version_tests/Future_Set_Test.dsp:
* tests/version_tests/Future_Test.dsp:
* tests/version_tests/Handle_Set_Test.dsp:
* tests/version_tests/Hash_Map_Bucket_Iterator_Test.dsp:
* tests/version_tests/Hash_Map_Manager_Test.dsp:
* tests/version_tests/High_Res_Timer_Test.dsp:
* tests/version_tests/IOStream_Test.dsp:
* tests/version_tests/Lazy_Map_Manager_Test.dsp:
* tests/version_tests/MM_Shared_Memory_Test.dsp:
* tests/version_tests/MT_Reactor_Timer_Test.dsp:
* tests/version_tests/MT_SOCK_Test.dsp:
* tests/version_tests/Malloc_Test.dsp:
* tests/version_tests/Map_Manager_Test.dsp:
* tests/version_tests/Map_Test.dsp:
* tests/version_tests/Mem_Map_Test.dsp:
* tests/version_tests/Message_Block_Test.dsp:
* tests/version_tests/Message_Queue_Notifications_Test.dsp:
* tests/version_tests/Message_Queue_Test.dsp:
* tests/version_tests/Naming_Test.dsp:
* tests/version_tests/New_Fail_Test.dsp:
* tests/version_tests/Notify_Performance_Test.dsp:
* tests/version_tests/Object_Manager_Test.dsp:
* tests/version_tests/OrdMultiSet_Test.dsp:
* tests/version_tests/Pipe_Test.dsp:
* tests/version_tests/Priority_Buffer_Test.dsp:
* tests/version_tests/Priority_Reactor_Test.dsp:
* tests/version_tests/Priority_Task_Test.dsp:
* tests/version_tests/Process_Manager_Test.dsp:
* tests/version_tests/Process_Mutex_Test.dsp:
* tests/version_tests/Process_Strategy_Test.dsp:
* tests/version_tests/RB_Tree_Test.dsp:
* tests/version_tests/Reactor_Notify_Test.dsp:
* tests/version_tests/Reactor_Performance_Test.dsp:
* tests/version_tests/Reactor_Timer_Test.dsp:
* tests/version_tests/Reactors_Test.dsp:
* tests/version_tests/Reader_Writer_Test.dsp:
* tests/version_tests/Recursive_Mutex_Test.dsp:
* tests/version_tests/Reverse_Lock_Test.dsp:
* tests/version_tests/SOCK_Connector_Test.dsp:
* tests/version_tests/SOCK_Send_Recv_Test.dsp:
* tests/version_tests/SOCK_Test.dsp:
* tests/version_tests/SPIPE_Test.dsp:
* tests/version_tests/SString_Test.dsp:
* tests/version_tests/SV_Shared_Memory_Test.dsp:
* tests/version_tests/Semaphore_Test.dsp:
* tests/version_tests/Service_Config_Test.dsp:
* tests/version_tests/Simple_Message_Block_Test.dsp:
* tests/version_tests/Svc_Handler_Test.dsp:
* tests/version_tests/TSS_Test.dsp:
* tests/version_tests/Task_Test.dsp:
* tests/version_tests/Thread_Manager_Test.dsp:
* tests/version_tests/Thread_Mutex_Test.dsp:
* tests/version_tests/Thread_Pool_Reactor_Test.dsp:
* tests/version_tests/Thread_Pool_Test.dsp:
* tests/version_tests/Time_Service_Test.dsp:
* tests/version_tests/Time_Value_Test.dsp:
* tests/version_tests/Timeprobe_Test.dsp:
* tests/version_tests/Timer_Queue_Test.dsp:
* tests/version_tests/Tokens_Test.dsp:
* tests/version_tests/UPIPE_SAP_Test.dsp:
* tests/version_tests/Upgradable_RW_Test.dsp:
* tests/version_tests/version_tests.dsw:
* tests/version_tests/Reactor_Exceptions_Test.dsp: (added)
* tests/version_tests/Sigset_Ops_Test.dsp: (added)
These files were regenerated.
Mon May 15 12:28:32 2000 Aviad Eden <Aviad_Eden@icomverse.com>
* ace/Object_Manager.h: In the paragraph that describes the
behavior of ::exit function (starting with the words "NOTE
on the use of ::exit --"). The first sentence states that
using ::exit "does not destroy static objects" while it
should be "does not destroy automatic objects".
Mon May 15 12:25:59 2000 David L. Levine <levine@cs.wustl.edu>
* ace/OS.i (thr_join): removed comments about possible
implementation using ::taskSafe ()/::taskUnsafe () on
VxWorks. Join functionality is better implemented
in the Thread_Manager. Thanks to Umar for asking about
this comment.
Mon May 15 09:09:49 2000 Darrell Brunsch <brunsch@uci.edu>
* ace/Local_Name_Space_T.cpp:
* ace/Remote_Name_Space.cpp:
* netsvcs/lib/Name_Handler.cpp:
Changed my use of ACE_Auto_Array_Ptr for ACE_USHORT16
to ACE_Auto_Basic_Array_Ptr. Thanks to Andy Gokhale for
reporting this.
Mon May 15 08:31:13 2000 Darrell Brunsch <brunsch@uci.edu>
* ace/streams.h:
Undid the commenting out of #include <iomanip.h> for
ACE_USES_OLD_IOSTREAMS. It had previously been commented
out because of a problem with Qt. A better solution would
be to not include it only when ACE is used with Qt.
This problem was showing up with Explicit_Event_Loop.
Sun May 14 12:43:35 2000 Darrell Brunsch <brunsch@uci.edu>
(On behalf of Christopher Kohlhoff <chris@kohlhoff.com>)
* ace/Makefile.bor:
* include/makeinclude/ace_flags.bor:
Added new file, moved ACE_BUILD_DLL macro into ACE library's
makefile. Thanks also to Mogens Hansen <mogens_h@dk-online.dk>.
* include/makeinclude/recurse.bor:
Arguments like -i should now be propogated with makefile
recursion
Sun May 14 12:19:41 2000 Darrell Brunsch <brunsch@uci.edu>
* bin/msvc_auto_compile.pl:
Added a -TAO option to specify that the TAO subdirectory
should be compiled.
Sat May 13 19:05:23 2000 Darrell Brunsch <brunsch@uci.edu>
* ace/SString.cpp:
Forgot to add a base member initialization for the allocator
in the new ACE_USHORT16 constructor for ACE_WString. Thanks
to Chris Kohlhoff <chris@kohlhoff.com> for noticing this.
Sat May 13 19:07:32 2000 Nanbor Wang <nanbor@cs.wustl.edu>
* ace/config-kcc-common.h: Added ACE_HAS_STRING_CLASS. This fixed
the IOStream_Test.
Sat May 13 13:01:08 2000 Darrell Brunsch <brunsch@uci.edu>
* tests/SString_Test.cpp:
So yesterday I changed a type from ACE_USHORT16 to
wchar_t. Rather, it should have been ACE_WSTRING_TYPE.
Sat May 13 01:06:22 2000 Darrell Brunsch <brunsch@uci.edu>
* ace/Local_Name_Space_T.cpp:
* ace/Remote_Name_Space.cpp:
SunCC 5 didn't like the template instantiations in the
Local_Name_Space_T file, so I moved them to
Remote_Name_Space.cpp.
Fri May 12 17:48:17 2000 Darrell Brunsch <brunsch@uci.edu>
* bin/generate_export_file.pl:
Found a new way to write this script using map and a __DATA__
block.
Fri May 12 17:52:22 2000 Nanbor Wang <nanbor@cs.wustl.edu>
* ace/OS.cpp (ACE_Thread_Adapter::invoke): Reverted James'
previous change for now. It's causing problem with MSVC.
Fri May 12 15:04:58 2000 Carlos O'Ryan <coryan@uci.edu>
* bin/run_all_list.pm:
* bin/auto_compile_win32.pl:
Updated to include the new TAO test.
Fri May 12 11:25:10 2000 Darrell Brunsch <brunsch@uci.edu>
* ace/Basic_Types.h:
Didn't understand at first why ACE_SIZEOF_WCHAR wasn't
defined to just "sizeof (wchar_t)". So I changed it, but
now I realize that this will not work if ACE_SIZEOF_WCHAR
is used in a #if. Bleh. Since wchar_t is always different,
I just defined it as 2 for WIN32 and 0 for others (so the
tests/Basic_Types_Test will catch it). [Bug 560]
* ace/ACE.cpp:
Chris Kohlhoff <chris@kohlhoff.com> reported that Borland
didn't like "sizeof wchar_t", but adding parenthesis worked.
Applied this patch, and changed the cast to an ACE_static_cast.
[Bug 560]
* ace/High_Res_Timer.cpp:
Borland was giving some warnings here since a const method
was calling this->global_scale_factor (), which is a static
method. Changed it to ACE_High_Res_Timer::global_scale_factor ()
and things compiled cleanly.
* ace/config-win32-borland.h:
* ace/README:
* ace/SString.cpp:
* ace/SString.h:
* ace/Local_Name_Space_T.cpp:
* ace/Remote_Name_Space.cpp:
* netsvcs/lib/Name_Handler.cpp:
On Borland BCB 5, wchar_t is (correctly) a separate type than
unsigned short, so all the implicit casting between the two in
the ACE Name Space. So added a new macro,
ACE_WSTRING_HAS_USHORT_SUPPORT, that enables another constructor
for ACE_WString.
Chris Kohlhoff <chris@kohlhoff.com> also reported this problem
and a solution, but unfortunately ACE_Name_Space requires that
this type is 2 bytes so we couldn't just use ACE_WSTRING_TYPE
here. Instead I added in both the new constructor and a
ushort_rep method on ACE_WString. I changed the Name Space stuff
to use this instead. BTW, old code shouldn't need to be changed
on MSVC, just if you use BCB. [Bug 561]
* tests/SString_Test.cpp:
We were using ACE_USHORT16 as the single character type for
ACE_WString. This has been changed to wchar_t. Thanks to Chris
for this one also. [Bug 561]
Fri May 12 10:12:05 2000 James Hu <jxh@entera.com>
* ace/OS.cpp (ACE_Thread_Adapter::invoke):
If the TSS instance of the ACE_Thread_Exit class fails to
create, the application will crash. The new code will
detect the failure, and use an instance created off the
stack if it happens. This mimics how ACE does it in
the case of platforms that do not support TSS.
Thu May 11 18:07:53 2000 Chris Cleeland <cleeland_c@ociweb.com>
* ace/OS.i (malloc): Bug 566.
* ace/OS.i (realloc):
* ace/OS.i (calloc):
* ace/OS.i (free): Use the new macros (below) instead of directly
calling malloc-like functions, thereby allowing an installation to
substitute an alternate mallocator for the global (see comment for
OS.h below).
* ace/OS.i (strdup): Changed the emulation of strdup() to use
ACE_OS::malloc() rather than ::malloc().
* ace/OS.h: Added the four macros ACE_MALLOC_FUNC,
ACE_CALLOC_FUNC, ACE_REALLOC_FUNC, and ACE_FREE_FUNC which default
to the names of the global ::malloc, ::calloc, ::realloc and
::free. Using this, a site can define these in their config.h in
order to substitute an alternate malloc-like allocator.
Thu May 11 17:23:14 2000 Jeff Parsons <parsons@cs.wustl.edu>
* ace/ace_dll.dsp:
Removed non-existent file Configuration.i from project.
Thu May 11 15:21:34 2000 Darrell Brunsch <brunsch@uci.edu>
* ace/OS.i (dlsym):
I was checking for ACE_HAS_WIN32 instead of ACE_WIN32,
so this wasn't doing what it was supposed to with
ACE_USES_WCHAR turned on.
Thu May 11 02:04:58 2000 Irfan Pyarali <irfan@cs.wustl.edu>
* ace/OS.h
* ace/OS.cpp
* ace/SOCK_Stream.h
* ace/SOCK_Stream.i
* ace/TLI_Stream.h
* ace/TLI_Stream.i
* ace/ACE.cpp
* ace/ACE.h
* ace/ACE.i
In order to make the return values of recv_n() and send_n()
match the return values of recv() and send(), the following
changes were made to the interface:
old interface:
static ssize_t recv_n (ACE_HANDLE handle,
void *buf,
size_t len,
const ACE_Time_Value *timeout = 0,
int error_on_eof = 1);
new interface:
static ssize_t recv_n (ACE_HANDLE handle,
void *buf,
size_t len,
const ACE_Time_Value *timeout = 0,
size_t *bytes_transferred = 0);
Return value are:
- On complete transfer, <len> is returned.
- On timeout, -1 is returned, errno == ETIME.
- On error, -1 is returned, errno is set to appropriate error.
- On EOF, 0 is returned, errno is irrelevant.
On partial transfers, i.e., if any data is transferred before
timeout/error/EOF, <bytes_transferred> will contain the number
of bytes transferred. These return values now closely match the
return values from the non "_n" methods.
Thanks to Douglas Schmidt, Chris Cleeland, Steve Huston, James
Hu, and Rich Seibel for helping out!
Thu May 11 01:59:10 2000 Irfan Pyarali <irfan@cs.wustl.edu>
* ace/Pipe.cpp: Reader and writer handles were being left open
when there was an error in ACE_Pipe::open(). This fixes bug
549. Thanks to Rick Ohnemus <rjohnemus@systemware-inc.com> for
reporting this bug and providing patches.
Wed May 10 18:36:58 2000 Carlos O'Ryan <coryan@uci.edu>
* THANKS:
Add a new contributor
* bin/msvc_auto_compile.pl:
* bin/auto_compile_win32.pl:
Upgraded to use the new libraries in orbsvcs.
Tue May 9 20:02:41 2000 Darrell Brunsch <brunsch@uci.edu>
* ace/Asynch_Acceptor.cpp:
Was still including "Asynch_Acceptor.i" which has been removed.
* apps/JAWS2/JAWS/Cache_Manager_T.cpp:
Removed iostream.h include here. This is not good since ACE
already includes it, and ACE might already include <iostream>,
which is incompatible with <iostream.h>.
* examples/Reactor/WFMO_Reactor/test_talker.cpp:
Looks like the constructor to Proactor was changed, but this
test didn't get changed also. Removed one of the arguments
being passed to it.
* websvcs/lib/websvcs_export.h:
Regenerated it. It seems like I changed the websvcs library
based on what I thought was in this file. This didn't work,
since I was assuming that ACE_WEBSVCS_HAS_DLL was automatically
defined (and older versions of these export files did not do
that).
* apps/JAWS/server/HTTP_Helpers.cpp:
* examples/Shared_Malloc/test_malloc.cpp:
Changed empty ;'s in if statements to {} to remove warnings.
* bin/msvc_auto_compile.pl:
Added a -u option that tells the script to pass the /USEENV
flag to msdev when it runs.
Added a -ACE option that tells the script just to compile the
ACE directories.
Changed -core to -CORE to be consistent with -ACE (and the
upcoming -TAO).
* apps/Gateway/Gateway/Gateway.dsp:
* apps/Gateway/Gateway/gatewayd.dsp:
* apps/Gateway/Peer/Peer.dsp:
* apps/Gateway/Peer/peerd.dsp:
* apps/JAWS/clients/Caching/Caching.dsp:
* apps/JAWS/server/jaws.dsp:
* apps/JAWS2/server.dsp:
* apps/JAWS2/HTTPU/HTTPU.DSP:
* apps/JAWS2/HTTPU/HTTPU.DSW:
* apps/JAWS2/JAWS/jaws.dsp:
* examples/ASX/Event_Server/Event_Server/Event_Server.dsp:
* examples/ASX/Event_Server/Transceiver/transceiver.dsp:
* examples/ASX/Message_Queue/Bounded_Buffer.dsp:
* examples/ASX/Message_Queue/Buffer_Stream.dsp:
* examples/ASX/Message_Queue/Priority_Buffer.dsp:
* examples/ASX/UPIPE_Event_Server/UPIPE_Event_Server.dsp:
* examples/Bounded_Packet_Relay/Bounded_Packet_Relay.dsp:
* examples/Configuration/Test.dsp:
* examples/Connection/blocking/SPIPE.dsp:
* examples/Connection/blocking/acceptor.dsp:
* examples/Connection/non_blocking/non_blocking.dsp:
* examples/Connection/non_blocking/server.dsp:
* examples/IPC_SAP/ATM_SAP/CPP_client.dsp:
* examples/IPC_SAP/ATM_SAP/CPP_server.dsp:
* examples/IPC_SAP/SOCK_SAP/CPP_inclient.dsp:
* examples/IPC_SAP/SOCK_SAP/CPP_inserver.dsp:
* examples/IPC_SAP/SOCK_SAP/CPP_memclient.dsp:
* examples/IPC_SAP/SOCK_SAP/CPP_memserver.dsp:
* examples/IPC_SAP/SOCK_SAP/C_inserver.dsp:
* examples/IPC_SAP/SOCK_SAP/SOCK_SAP.dsp:
* examples/Log_Msg/Callback.dsp:
* examples/Log_Msg/Log_Msg.dsp:
* examples/Log_Msg/Ostream.dsp:
* examples/Logger/Acceptor-server/server_loggerd.dsp:
* examples/Mem_Map/file-reverse/file_reverse.dsp:
* examples/Naming/Naming.dsp:
* examples/Naming/multiple_contexts.dsp:
* examples/Naming/non_existent.dsp:
* examples/OS/Process/Process.dsp:
* examples/OS/Process/imore.dsp:
* examples/QOS/client.dsp:
* examples/QOS/server.dsp:
* examples/Reactor/Dgram/CODgram.dsp:
* examples/Reactor/Dgram/Dgram.dsp:
* examples/Reactor/Misc/Misc.dsp:
* examples/Reactor/Misc/demuxing.dsp:
* examples/Reactor/Misc/early_timeouts.dsp:
* examples/Reactor/Misc/notification.dsp:
* examples/Reactor/Misc/reactors.dsp:
* examples/Reactor/Misc/signals_1.dsp:
* examples/Reactor/Misc/signals_2.dsp:
* examples/Reactor/Ntalker/ntalker.dsp:
* examples/Reactor/Proactor/post_completions.dsp:
* examples/Reactor/Proactor/test_cancel.dsp:
* examples/Reactor/Proactor/test_end_event_loop.dsp:
* examples/Reactor/Proactor/test_multiple_loops.dsp:
* examples/Reactor/Proactor/test_proactor.dsp:
* examples/Reactor/Proactor/test_timeout.dsp:
* examples/Reactor/WFMO_Reactor/Handle_Close.dsp:
* examples/Registry/Registry.dsp:
* examples/Registry/update.dsp:
* examples/Service_Configurator/Misc/Timer.dsp:
* examples/Service_Configurator/Misc/main.dsp:
* examples/Shared_Malloc/malloc.dsp:
* examples/Shared_Malloc/multiple_mallocs.dsp:
* examples/Shared_Malloc/persistence.dsp:
* examples/Shared_Malloc/position_independent_malloc.dsp:
* examples/Web_Crawler/Web_Crawler.dsp:
* performance-tests/Misc/basic_perf.dsp:
* performance-tests/Misc/childbirth_time.dsp:
* performance-tests/Misc/context_switch_time.dsp:
* performance-tests/Misc/test_mutex.dsp:
* performance-tests/Misc/test_naming.dsp:
* performance-tests/Misc/test_singleton.dsp:
* performance-tests/Server_Concurrency/Leader_Follower/Leader_Follower.dsp:
* performance-tests/Server_Concurrency/Queue_Based_Workers/Queue_Based_Workers.dsp:
* performance-tests/TCP/TCP.dsp:
While testing the -ACE flag in msvc_auto_compile, I found that
there were many dsps that were either creating precompiled
headers, didn't have the correct include paths, or even weren't
in the CRLF format. Fixed them up.
* apps/JAWS/clients/Caching/testing.dsp:
* performance-tests/Synch-Benchmarks/Synch_Tests.dsp:
These project files didn't look like they are used anymore,
so I removed them.
Tue May 9 17:38:47 2000 Carlos O'Ryan <coryan@uci.edu>
* bin/auto_compile_win32.pl:
Include the new library used in the RT CORBA tests.
Tue May 9 09:01:24 2000 Darrell Brunsch <brunsch@uci.edu>
* examples/Export/README: (added)
* examples/Export/dll.cpp: (added)
* examples/Export/dll.h: (added)
* examples/Export/export_dll.dsp: (added)
* examples/Export/export_test.dsw: (added)
* examples/Export/run_test.pl: (added)
* examples/Export/test.cpp: (added)
* examples/Export/test.dsp: (added)
* examples/Export/test_export.h: (added)
The export example is an example of how to use the ACE_Export
type macros for DLLs.
Mon May 8 14:37:32 2000 Douglas C. Schmidt <schmidt@tango.cs.wustl.edu>
* ace/Task.h: Cleaned up the documentation so that it will
work correctly with class2man. Thanks to Charlie Duke
<cduke@www.cuseemeworld.com> for reporting this.
Mon May 08 22:56:28 2000 Carlos O'Ryan <coryan@cs.wustl.edu>
* ACE version 5.1.2 released.
Mon May 8 11:02:49 2000 Darrell Brunsch <brunsch@uci.edu>
* docs/CE-status.txt:
I will not get a chance to update this before the beta, so
I just put in a note mentioning that it is out of date and
will be updated next time.
Mon May 8 12:30:15 2000 Nanbor Wang <nanbor@cs.wustl.edu>
* include/makeinclude/platform_sunos5_kcc.GNU: Added
"--once_instantiation_per_object" flag for both compiler and
linker to avoid some warnings about duplicate symbol
definitions.
Sun May 7 19:50:21 2000 Darrell Brunsch <brunsch@uci.edu>
* include/makeinclude/platform_sunos5_sunc++.GNU:
Undid Doug's change on "Wed May 3 18:07:16 2000".
The fix wasn't working in our SUNCC 5 builds.
Sat May 6 17:49:01 2000 Darrell Brunsch <brunsch@uci.edu>
* ace/Log_Msg.h:
* ace/Log_Msg.cpp:
Changed the signature of log_priority_enabled to have both the
char * and wchar_t * versions when using ACE_USES_WCHAR. The
reason why this has to be done is because of ACE_HEX_DUMP.
ACE_HEX_DUMP calls both log_priority_enabled and log_hexdump,
and it doesn't make sense to change the signature of log_hexdump.
If it were to take in a wchar_t buffer, it should print the
entire wchar_t. But if we have a buffer that is a char *, then
it doesn't make sense to convert it to a wchar_t * buffer, since
it adds all those extra bytes that would show up with hexdump.
And now that we have 3 versions of this method which do the same
things, I changed the ones that is used by the macros to call
the one that just takes in the priority. An extra function call,
but if that is a problem, then they can be inlined.
Sat May 6 19:33:49 2000 Nanbor Wang <nanbor@cs.wustl.edu>
* include/makeinclude/platform_freebsd.GNU: Removed definition
BIN_TRUE. It's no longer used.
Thu May 4 14:53:45 2000 Darrell Brunsch <brunsch@uci.edu>
* ace/config-all.h:
* ace/config-win32-common.h:
* bin/generate_export_file.pl:
Changed the ACE_EXPORT_SINGLETON_DECLARE and
ACE_IMPORT_SINGLETON_DECLARE to take in arguments, but
this time it takes in 3, the singleton type, the class,
and then the lock. So we have:
ACE_EXPORT_SINGLETON_DECLARE (ACE_Singleton, foo, ACE_Null_Mutex);
Thu May 4 13:59:58 2000 Darrell Brunsch <brunsch@uci.edu>
* ace/config-all.h:
* ace/config-win32-common.h:
Added two new macros, ACE_EXPORT_SINGLETON_DECLARE and
ACE_IMPORT_SINGLETON_DECLARE. They do the same thing as the
*_DECLARATION macros except they do not take arguments.
So instead of
ACE_EXPORT_SINGLETON_DECLARATION (foo);
you use
ACE_EXPORT_SINGLETON_DECLARE foo;
This was needed since foo may be a template, and if so, the
comma that can be between multiple arguments causes problems.
* bin/generate_export_file.pl:
Now creates the above DECLARE macros in addition to the rest.
Thu May 4 14:47:09 2000 Nanbor Wang <nanbor@cs.wustl.edu>
* include/makeinclude/platform_freebsd.GNU: Defined BIN_TRUE as
/usr/bin/true.
Wed May 3 19:35:48 2000 Carlos O'Ryan <coryan@uci.edu>
* ace/Log_Msg.cpp:
The implementation of the log_priority_enabled function did not
match its declaration.
Wed May 3 17:21:50 2000 Darrell Brunsch <brunsch@uci.edu>
* ace/config-win32-common.h:
After many reports of not having _MT defined (and then not
quite knowing what to do about it), I felt we needed a bit
more descriptive error and comment.
* docs/ACE-FMM.html:
* docs/ACE-bug-process.html:
* docs/ACE-development-process.html:
* docs/ACE-guidelines.html:
* docs/ACE-lessons.html:
* docs/ACE-porting.html:
* docs/ACE-subsets.html:
* docs/exceptions.html:
* docs/index.html: (added)
* docs/usage-bugzilla.html:
Added an index for the files in this directory. Added
backlinks to the other files.
Wed May 3 18:07:16 2000 Douglas C. Schmidt <schmidt@ace.cs.wustl.edu>
* ace/Malloc_T (memory_pool): Found another bug with SunC++ 5.0...
Moved the ACE_Allocator_Adapter::protect() into the Malloc_T.cpp
file.
Wed May 3 17:16:12 2000 Ossama Othman <ossama@uci.edu>
* ace/Log_Msg.h (log_priority_enabled):
Corrected use of "ASYS_TCHAR." "ACE_TCHAR" should be used
instead.
Wed May 3 18:07:16 2000 Douglas C. Schmidt <schmidt@ace.cs.wustl.edu>
* ace/Log_Msg: Added the new log_priority_enabled() method. Thanks
to Ossama for reporting this ;-).
* include/makeinclude/platform_sunos5_sunc++.GNU (CC_VERSION):
The keywords to check if the version if greater than 5 is "C++"
on Solaris, not "Compilers." Thanks to Rick Weisner
<Rick.Weisner@East.Sun.COM> for reporting this.
Wed May 3 15:08:03 2000 Nanbor Wang <nanbor@cs.wustl.edu>
* include/makeinclude/platform_freebsd.GNU: Changed to set
versioned_so only when building on version 2 of FreeBSD. Thanks
to Henrik Kai <hka@ddk.de> for pointing this out.
Wed May 3 12:31:32 2000 Ossama Othman <ossama@uci.edu>
* ace/Makefile.am (INLINE_FILES):
Removed deprecated inline files from the list.
Wed May 3 11:59:14 2000 Carlos O'Ryan <coryan@uci.edu>
* include/makeinclude/macros.GNU:
* include/makeinclude/rules.common.GNU:
* include/makeinclude/rules.local.GNU:
New <idl_stubs> target that recusively builds all the IDL
generated files.
Wed May 3 11:43:05 2000 Douglas C. Schmidt <schmidt@ace.cs.wustl.edu>
* ace/Log_Msg.h: Only call set() in the ACE_{ERROR,DEBUG} macros if
the log_priority_enabled() is non-0, which avoids making
unecessary strcpy() calls. Thanks to Ganesh Pai
<gpai@voicetek.com> for reporting this.
* ace/Timer_Queue_Adapters (schedule): Make sure to pass
the act to the schedule() method. Also, updated the header file
so that it explains that interval timers aren't implemented.
Thanks to Umar Syyid for reporting these.
Wed May 3 09:49:57 2000 Jeff Parsons <parsons@cs.wustl.edu>
* ace/Caching_Utility_T.cpp:
* ace/Map.cpp:
* ace/Pair.cpp:
* ace/Svc_Handler.cpp:
* ace/Win32_Asynch_IO.cpp:
* ace/Win32_Proactor.cpp:
* ace/ace_dll.dsp:
* ace/ace_lib.dsp:
Removed inclusion of non-existent .i files from corresponding
.cpp files and from the project files.
Tue May 2 19:33:57 2000 Douglas C. Schmidt <schmidt@ace.cs.wustl.edu>
* Updated all the dependencies.
* ace: Removed all the following files because they were empty and
yet were being #included into various other *.h files, which
slowed down compilation unnnecessarily! Thanks to Espen Harlinn
<espen@harlinn.no> for reporting this.
* ace/Acceptor.i
* ace/WIN32_Proactor.i:
* ace/WIN32_Asynch_IO.i:
* ace/Token_Invariants.i:
* ace/TLI_Acceptor.i:
* ace/Svc_Handler.i:
* ace/Proactor.i:
* ace/Stream_Modules.i:
* ace/Select_Reactor.i:
* ace/Map.i:
* ace/Priority_Reactor.i:
* ace/Pair.i:
* ace/Hash_Map_Manager.i:
* ace/LSOCK_Acceptor.i
* ace/CORBA_Ref.i:
* ace/Configuration.i:
* ace/Connector.i:
* ace/Cleanup_Strategies_T.i;
* ace/SPIPE_Acceptor.i:
* ace/Trace.i:
* ace/Log_Msg.i:
* ace/IO_Cntl_Msg.i:
* ace/Dynamic_Service.i:
* ace/Caching_Utility_T.i:
* ace/Cached_Connect_Strategy_T.i:
* ace/Asynch_IO.i:
* ace/Asynch_Acceptor.i:
* ace/OS.i (readdir_r): Apparently the GNU compiler on DEC UNIX
defines a macro for readdir_r() that was breaking things.
Therefore, we #ifdef for that! Thanks to Jean-Marc Strauss
<jms97@club-internet.fr> for reporting this.
Tue May 2 12:48:00 2000 Carlos O'Ryan <coryan@uci.edu>
* bin/g++dep:
Use `pwd` instead of $PWD to get the currenct directory because
some shell don't get that one right.
Tue May 02 13:51:21 2000 David L. Levine <levine@cs.wustl.edu>
* bin/create_ace_build: updated comments at top to reflect
the fact that dead symlinks are removed when run on an
existing build tree.
Tue May 2 10:24:10 2000 Darrell Brunsch <brunsch@uci.edu>
* bin/auto_compile_win32.pl:
Fixed a couple of release configurations that were out of date.
Tue May 2 10:05:21 2000 Darrell Brunsch <brunsch@uci.edu>
* websvcs/lib/URL_Addr.cpp:
* websvcs/lib/URL_Addr.h:
* websvcs/lib/URL_Addr.i:
* websvcs/lib/websvcs.dsp:
The changes to the new wchar style wasn't completely correct,
and I missed quite a few LPCTSTRs in the .i file. Also corrected
my earlier attempt at doing the export stuff the "right way".
Also changed the use of the variable passwd to password. passwd
is also used as a structure so it confused MSVC when used in the
FTP class constructor
Tue May 2 09:34:31 2000 Steve Huston <shuston@riverace.com>
* tests/SOCK_Send_Recv_Test.cpp: Fix signed/unsigned warnings.
Mon May 1 16:51:07 2000 Darrell Brunsch <brunsch@uci.edu>
* bin/msvc_auto_compile.pl:
Now gets the current directory for the default of ACE_ROOT
instead of using ".". Also only tries compiling files ending
with dsp, not just ones with .dsp in their name (like *.dsp.bak).
Finally, added a print_status options (-s) that will output
status messages to STDERR, so you can see how much far it has
progressed when you are redirecting stdout to a file.
Mon May 01 12:41:39 2000 Irfan Pyarali <irfan@cs.wustl.edu>
* ace/Hash_Map_Manager_T.cpp (close_i): Restored freeing of the
table memory which had been mistakenly removed. Thanks to David
for pointing this out.
Mon May 1 10:27:48 2000 Darrell Brunsch <brunsch@uci.edu>
* bin/auto_compile_win32.pl:
Some minor changes that should make the Win32 builds clean
( which I want to see once before bugging Nanbor to switch
to my script :-) )
Mon May 01 02:06:02 2000 Nanbor Wang <nanbor@cs.wustl.edu>
* ace/Malloc_T.cpp (avail_chunks): Changed to use do-while loop to
go over all freelist when calculating the avail_chunks to make
sure all nodes in the freelist are accounted for. <freep_>
doesn't always point to the anchoring Malloc_Header in the
control block. Thanks to Ivan Murphy
<Ivan.Murphy@med.siemens.de> for reporting the problem.
Also we must reduce the header size count by one when
calculating the avail_chunks because each returning allocated
memory chunk takes at least two Malloc_Header's. This change
made the result of <avail_chunks> more realistic.
* ace/Malloc.h: Added more documentation explaining how Malloc_T
works.
Sun Apr 30 23:20:00 2000 Darrell Brunsch <brunsch@uci.edu>
* ace/SString.h:
SunCC 5 had problems with ACE_TString when it was typdefed,
but not when it was #defined.
* ace/ace_wchar.h:
Noticed I was including tchar.h still, which is no longer
necessary since ACE's use of wchar_t is separate from
tchar.h's.
Sat Apr 29 20:02:39 2000 Ossama Othman <ossama@uci.edu>
* bin/autoconf_compile (BUILD_LIST):
Remove TAO from the build list. It's autoconf support hasn't
been fully integrated yet.
Sat Apr 29 19:45:41 2000 Ossama Othman <ossama@uci.edu>
* netsvcs/lib/Log_Message_Receiver.cpp (attach, detach):
Fixed warning that occured when
ACE_LACKS_STATIC_DATA_MEMBER_TEMPLATES was not defined.
Use ACE_GUARD{_RETURN} macro instead of naked ACE_Guard.
Sat Apr 29 19:17:25 2000 Ossama Othman <ossama@uci.edu>
* ace-dll.icc:
* ace_dll.dsp:
* ace_lib.dsp:
These files still referred to the deprecated `inc_user_config.h'
header. The header is now called `config-all.h'.
Sat Apr 29 19:09:00 2000 Ossama Othman <ossama@uci.edu>
* ace/QoS_Manager.h:
Moved inclusion of one of the ACE headers prior to the check for
ACE_LACKS_PRAGMA_ONCE. The definition of ACE_LACKS_PRAGMA_ONCE
wasn't pulled before the check, so it ended up being defined
twice.
Sat Apr 29 16:15:29 2000 Ossama Othman <ossama@uci.edu>
* bin/autoconf_compile:
* bin/autoconf_compile_wrapper:
The ACE+autoconf counterparts to the auto_compile* scripts.
These scripts are used to run automatic builds of the ACE's
autoconf support.
Sat Apr 29 15:59:53 2000 Ossama Othman <ossama@uci.edu>
* ace/Makefile.am (HEADER_FILES):
Removed `inc_user_config.h' from the list of headers. It no
longer exists.
Added `config-all.h', `ACE_export.h' and `svc_export.h' to the
list of headers.
Sat Apr 29 17:13:55 2000 Vishal Kachroo <vishal@cs.wustl.edu>
* ace/Makefile.am: Added the SOCK_Dgram_Mcast_QoS.{cpp,h,i}
Sat Apr 29 14:49:13 2000 Darrell Brunsch <brunsch@uci.edu>
* examples/DLL/Newsweek.dsp:
* examples/Threads/barrier1.dsp:
* examples/Threads/barrier2.dsp:
* examples/Threads/cancel.dsp:
* examples/Threads/future1.dsp:
* examples/Threads/future2.dsp:
* examples/Threads/manual_event.dsp:
* examples/Threads/process_mutex.dsp:
* examples/Threads/process_semaphore.dsp:
* examples/Threads/reader_writer.dsp:
* examples/Threads/recursive_mutex.dsp:
* examples/Threads/task_five.dsp:
* examples/Threads/task_four.dsp:
* examples/Threads/task_one.dsp:
* examples/Threads/task_three.dsp:
* examples/Threads/task_two.dsp:
* examples/Threads/test.dsp:
* examples/Threads/thread_manager.dsp:
* examples/Threads/thread_pool.dsp:
* examples/Threads/thread_specific.dsp:
* examples/Threads/token.dsp:
* examples/Threads/tss1.dsp:
* examples/Threads/tss2.dsp:
* examples/Timer_Queue/Async_Timer_Queue_Test.dsp:
* examples/Timer_Queue/Reactor_Timer_Queue_Test.dsp:
* examples/Timer_Queue/Thread_Timer_Queue_Test.dsp:
* examples/Web_Crawler/Web_Crawler.dsp:
* performance-tests/Synch-Benchmarks/synch_driver.dsp:
* performance-tests/Synch-Benchmarks/Base_Test/Base_Test.dsp:
* performance-tests/Synch-Benchmarks/Perf_Test/Perf_Test.dsp:
* performance-tests/Synch-Benchmarks/Synch_Lib/Synch_Lib.dsp:
* websvcs/lib/websvcs.dsp:
* websvcs/tests/Test_URL_Addr.dsp:
I started to test out my msvc_auto_compile.pl script and after
testing it for the whole thing, found out that I soon ran out
of disk space. By the time I ran out of space, the PCH files
made up 3 GB of disk. So I removed them from these projects.
Sat Apr 29 14:15:12 2000 Darrell Brunsch <brunsch@uci.edu>
* bin/clean_dsp.pl:
Was still some bugs in this script. In general, beware
of using it. There is no guarantess that it does or ever
will work.
* ace/ace_dll.dsp:
* ace/ace_lib.dsp:
Having said that, I went and used it on these project files
anyway. Reduced their size by a good 50%.
* ace/ace_dll_ce.dsp:
Made the x86 emulation release configuration build correctly
by ingoring default libraries. Also cleaned this dsp, which
had an improvement of 98%.
Sat Apr 29 13:20:11 2000 Darrell Brunsch <brunsch@uci.edu>
* apps/drwho/PMS_All.cpp:
* apps/drwho/PMS_Ruser.cpp:
Was still using some ACE::strecpy, changed to ACE_OS::strecpy.
Fri Apr 28 21:30:46 2000 Darrell Brunsch <brunsch@uci.edu>
* bin/msvc_auto_compile.pl:
Fixed the build core logic to work correctly when more than
one configuration is specified.
* bin/vc_filter.pl:
Now ignores the LINK4089 warnings. We haven't quite figured
out how to fix them yet.
Fri Apr 28 21:11:32 2000 Darrell Brunsch <brunsch@uci.edu>
* bin/clean_dsp.pl: (added)
This script should clean out excess baggage from DSP files.
Fri Apr 28 13:11:20 2000 Ossama Othman <ossama@uci.edu>
* include/makeinclude/platform_linux_lxpthread.GNU:
* include/makeinclude/platform_linux_lxpthreads.GNU:
Renamed `platform_linux_lxpthread.GNU' to
platform_linux_lxpthreads.GNU to be consistent with the name of
its corresponding config header `config-linux-lxpthreads.h'.
Thanks to Ken Weinert <kenw@ihs.com> for reporting this.
`platform_linux_lxpthread.GNU' now includes the newly renamed
file for backward compatibility.
Fri Apr 28 11:54:21 2000 Douglas C. Schmidt <schmidt@ace.cs.wustl.edu>
* ace/SString.cpp: Fixed the delimiter_replace() method so that
it actually does what it's comment implies... Thanks to Martin
Krumpolec <krumpo@pobox.sk> for reporting this.
Thu Apr 27 18:19:19 2000 James Hu <jxh@entera.com>
* ace/Dirent.i: Added checks to see if dirp_ is initialized
before calling into ACE_OS.
Thu Apr 27 16:53:49 2000 Irfan Pyarali <irfan@cs.wustl.edu>
* ace/Hash_Map_Manager_T.cpp (unbind_all_i): Added new method
unbind_all() for removing all the entries in one shot. Thanks
to Boris Sukholitko <boris@WebGlide.com> for providing this
enhancement.
* tests/Hash_Map_Manager_Test.cpp: Added test for unbind_all().
Thu Apr 27 14:17:52 2000 Darrell Brunsch <brunsch@uci.edu>
* ace/OS.i:
isatty (): Messed up on my CE change, so the version that
takes an int was hidden by a ACE_WIN32 block. This has been
moved outside again.
* ace/OS.cpp:
Weird, somehow part of a section that should have been removed
with the CE changes was still present. Removed again.
Thu Apr 27 13:08:00 2000 Darrell Brunsch <brunsch@uci.edu>
* bin/msvc_auto_compile.pl:
Changed the code style and made it consistent.
Also changed the core build to build all of the orbsvcs and
do the static builds in the right order.
* ace/OS.cpp:
* ace/OS.i:
For some reason, I had trouble with the libraries when the
ACE_Cleanup destructor was in the .i file. So I moved it to
the .cpp file instead.
* ace/ace_dll.dsp:
Was defining ACE_ACE_HAS_DLL=1, which is #1, not needed and,
#2, the wrong macro name.
* ace/ace_lib.dsp:
Changed the static configs to be of type Win32 Static Release/
Debug instead of Win32 Release/Debug.
* apps/gperf/src/gperf.dsp:
* apps/gperf/src/gperf_lib.dsp:
Added Win32 Static Release/Debug configs.
Thu Apr 27 14:32:45 2000 Douglas C. Schmidt <schmidt@tango.cs.wustl.edu>
* ACE-INSTALL (make): Updated the documentation. Thanks to
Ken Weinert <kenw@ihs.com> for reporting this.
Thu Apr 27 12:41:42 2000 James C. Hu <jxh@entera.com>
* ace/OS.i:
* ace/OS.cpp:
* ace/config-freebsd-pthread.h:
* ace/README:
Removed ACE_HAS_TIME_R in favor of using existing
mechanism of ACE_HAS_REENTRANT_FUNCTIONS, and then
adding ACE_LACKS_NETDB_REENTRANT_FUNCTIONS and
also ACE_LACKS_PWD_REENTRANT_FUNCTIONS. Created a
new lacks called ACE_LACKS_RAND_REENTRANT_FUNCTIONS
to match the previous two. FreeBSD can now use its
native *time_r functions.
Thu Apr 27 10:55:11 2000 Darrell Brunsch <brunsch@uci.edu>
These changes bring the Windows CE port up to date. It currently
supports Windows CE 2.11 on the H/PC Pro. I am looking into the 2.11
P/PC port, but there are other problems with it still. Hopefully
the WinCE 3.0 SDK will be more mature.
* ace/ace_dll_ce.dsp: (added)
* ace/ace_ce_dll.dsp: (removed)
* ace/ace_ce.dsw:
Created a new dsp file from scratch from CE to see how the
toolkit sets up the projects. Removed the old one.
* ace/ACE.cpp:
format_hexdump (): Changed usage of isprint to ACE_OS::ace_isprint.
get_ip_interfaces (): Changed use of deprecated ACE_TEXT_STRING to
ACE_TString. Also added an ACE_TEXT_CHAR_TO_TCHAR to a use
of the ACE_INET_Addr constructor.
* ace/ARGV.cpp:
create_buf_from_queue (): We were not adjusting the size of a
ACE_TCHAR buffer by sizeof ACE_TCHAR when we did a memcopy.
Thanks to Valery Arkhangorodsky <valerya@servicesoft.com>
for reporting this.
* ace/Memory_Pool.cpp:
seh_selector (): Changed use of LPEXCEPTION_POINTERS to
EXCEPTION_POINTERS * since it seems like that definition is
missing in some WinCE configs.
* ace/ace_wchar.h:
Added deprecated definition of ACE_TEXT_STRING.
convert (): Changed the conversions from CharToOem to
MultiByteToWideChar, since it is more widely supported in Win32.
Also removed the loading of user32.lib since it was only needed
for CharToOem.
* ace/config-win32-common.h:
Changed the _MT check so it doesn't do anything on CE. Some
CE targets do not have the Multithreaded DLL generation option.
* ace/config-WinCE.h:
Changed ACE_DEFAULT_LD_SEARCH_PATH to use ACE_TEXT.
Added a define for ACE_HAS_WCHAR and a check to always define
ACE_USES_WCHAR.
Commented out the ACE_HAS_MFC check.
Defined FILE, since it seems to be missing from CE 2.11 H/PC Pro.
Added a definition for EXCEPTION_ACCESS_VIOLATION that was in
older SDK's.
Removed some UNDER_CE < 2.11 defines. < 2.11 CE will not be
supported anymore.
Removed definition of is_print, since it was moved into ACE_OS.
Added a definition for the operator placement new, which is
missing when MFC isn't used.
* ace/OS.h:
Enabled is_atty for Windows CE. Added ace_isprint and made
ace_isspace an ACE_TCHAR method.
* ace/OS.i:
chdir (): NOTSUP on CE 2.11
tempnam (): Also NOTSUP on CE 2.11
abort (): changed ::exit to exit to get it to compile.
ace_isspace (): Changed to use ACE_TCHAR, but also made it
NOTSUP on CE 2.11.
ace_isprint (): Added, but NOTSUP on CE 2.11.
sema_init (): Needed to cast an void *arg to ACE_mutexattr_t.
dlsym (): Changed the way ACE declares symbolname so it uses the
right one on Win32 (WinNT always uses char *, CE always uses
wchar_t *). The function still takes in ACE_TCHAR * though.
Thanks to Jeff Greif <jmg@trivida.com> for reporting this.
Removed a few global function definitions that were just for
CE (like fwrite, fread, getc, etc.). These are either supported
in newer CE's or is disabled in the ACE_OS methods.
is_atty (): Enabled on CE.
* ace/OS.cpp:
Enabled fopen on CE by using _wfopen (but not sure if this will
work correctly, since on other Win32 platforms we have a lot more
stuff.
Enabled several printf methods on CE.
open (): Removed the use of FILE_SHARE_DELETE on CE.
* ace/Service_Config.i:
initialize (): Added an ACE_TEXT_CHAR_TO_TCHAR and replaced
an ACE_WIDE_STRING with it also.
* ace/Svc_Conf.h:
* ace/Svc_Conf.y:
* ace/Svc_Conf_y.cpp:
ace_yyerror (): Takes an ACE_TCHAR * instead of char * now.
Thanks to Valery Arkhangorodsky <valerya@servicesoft.com>
for also reporting this.
* ace/Svc_Conf.l:
* ace/Svc_Conf_l.cpp:
Changed to use ACE_OS::isatty () and ACE_OS::ace_isprint.
Thu Apr 27 11:49:52 2000 Douglas C. Schmidt <schmidt@ace.cs.wustl.edu>
* ace/OS.i (memchr): Do not cast away constness when emulating
memchr(). Thanks to Rick Ohnemus <rjohnemus@systemware-inc.com>
for reporting this.
* ace/Select_Reactor_Base.cpp (open): The notification pipe handlers
created by the ACE_Select_Reactor_Notify::open were being left
open after fork() and exec(). Thanks to Rick Ohnemus
<rjohnemus@systemware-inc.com> for reporting this.
Wed Apr 26 23:47:31 2000 Douglas C. Schmidt <schmidt@ace.cs.wustl.edu>
* ace/Process_Manager.cpp (open): Make sure that the dummy I/O
handle is not inherited by child processes. Thanks to Rick
Ohnemus <rjohnemus@systemware-inc.com> for reporting this.
Wed Apr 26 20:32:59 2000 James C. Hu <jxh@entera.com>
* ace/OS.cpp:
* ace/OS.i:
* ace/README:
* ace/config-freebsd-pthread.h:
Added a new define ACE_HAS_TIME_R. FreeBSD supports
*time_r() calls, but not gethostbyname_r, so a new feature
specification was needed to get these functions into
ACE_OS.
Wed Apr 26 12:21:16 2000 Steve Huston <shuston@riverace.com>
* ace/ACE.cpp (send_n_i (ACE_HANDLE, const void *, size_t, int) and
send_n_i (ACE_HANDLE, const void *, size_t): If the send fails
with EWOULDBLOCK, wait for the handle to become writeable again
before retrying the send. Thanks to Edan Ayal <edana@bandwiz.com>
for reporting this.
* tests/SOCK_Send_Recv_Test.cpp: Added test 3 for send_n to verify
fix for writing to nonblocking handle.
Wed Apr 26 08:43:21 2000 Darrell Brunsch <brunsch@uci.edu>
* apps/drwho/PMC_Flo.cpp:
* apps/drwho/PMC_Usr.cpp:
* apps/drwho/PMS_All.cpp:
* apps/drwho/PMS_Flo.cpp:
* apps/drwho/PMS_Ruser.cpp:
* apps/drwho/PMS_Usr.cpp:
Was still using ACE::strecpy, changed to ACE_OS::strecpy.
Tue Apr 25 15:11:41 2000 Carlos O'Ryan <coryan@uci.edu>
* THANKS:
Add new member to the list.
Tue Apr 25 11:35:07 2000 Darrell Brunsch <brunsch@uci.edu>
* ace/Local_Name_Space.cpp:
The hash function was using the wrong length of the USHORT16
string representation. The len_ actually is the length in bytes,
not characters.
Tue Apr 25 08:57:59 2000 Darrell Brunsch <brunsch@uci.edu>
* ASNMP/tests/test_config.h:
Was using XXX_A and XXX_W macros which really do not make sense
anymore. Removed them and replaced with just the XXX macro which
uses ACE_TEXT.
* examples/Naming/test_multiple_contexts.cpp:
* examples/Naming/test_non_existent.cpp:
* examples/Naming/test_writers.cpp:
* performance-tests/Misc/test_naming.cpp:
* tests/Naming_Test.cpp:
* tests/SString_Test.cpp:
All of these were still being disabled when ACE_HAS_WCHAR wasn't
defined. Since the naming stuff was changed to work without
ACE_HAS_WCHAR, these were reenabled.
Tue Apr 25 00:02:08 2000 Douglas C. Schmidt <schmidt@ace.cs.wustl.edu>
* ace/Log_Msg.h (ACE_Log_Msg): Split msg_ostream() into two functions,
one of which allows the delete_ostream_ flag to be reset and the
other that doesn't. Thanks to Boris Sukholitko
<palisander@hotmail.com> for reporting this.
* ace/Message_Block.i (replace_data_block): If a data block is replaced
with a NULL pointer then don't bother doing certain operations!
Thanks to Boris Sukholitko <palisander@hotmail.com> for
reporting this.
* ace/OS.i (dlerror): Changed sizeof buf to sizeof buf / sizeof buf[0]
to avoid over-allocating a buffer in the
ACE_TEXT_FormateMessage() function. Thanks to Valery
Arkhangorodsky <valerya@servicesoft.com> for reporting this.
* ace/Service_Repository.cpp: The fini() method was claiming
it was the close() method. Likewise, changed the close() method
so that it keeps decrementing the current_size each time through
the look to allow checking the respository size or doing other
work from inside the fini() call. Thanks to Valery
Arkhangorodsky <valerya@servicesoft.com> for reporting this.
Mon Apr 24 17:44:21 2000 Darrell Brunsch <brunsch@uci.edu>
* ace/Object_Manager.cpp:
Ai Carumba! I disabled some stuff here a while back when
I first disabled the Naming Service, but forgot to enable
it again once I fixed that.
Mon Apr 24 16:44:22 2000 Darrell Brunsch <brunsch@uci.edu>
* ace/SString.i:
A couple of compilers were having problems with some
casting I was doing in a const hash method. Changed the
types of casts to hopefully make the compilers happy.
Mon Apr 24 10:04:51 2000 Darrell Brunsch <brunsch@uci.edu>
* ace/OS.cpp:
Another problem with a missing parenthesis.
Mon Apr 24 09:15:03 2000 Darrell Brunsch <brunsch@uci.edu>
* ace/OS.i:
Forgot a couple of ')'s that showed up on Lynx builds.
Also, ACE_const_char doesn't exist, ACE_const_cast does.
Sun Apr 23 19:51:41 2000 Darrell Brunsch <brunsch@uci.edu>
* ace/ACE.cpp:
* ace/Naming_Context.cpp:
* ace/SOCK_Dgram_Mcast_QoS.cpp:
Just tried the ACE_USES_WCHAR build and there were a couple
of things that needed updating. Mainly some missing ACE_TEXT's
or char's used instead of ACE_TCHAR's.
* tests/Process_Mutex_Test.cpp:
Was still using an old ACE_DEFAULT_MUTEX_A macro (updated to
ACE_DEFAULT_MUTEX).
* ace/ace_lib.dsp:
Added "static" to the config names (Win32 Debug => Win32 Static
Debug) so it is easier for the msvc_auto_compile.pl script to
figure out which is which.
Sun Apr 23 18:14:33 2000 Darrell Brunsch <brunsch@uci.edu>
* ace/ace_wchar.h:
Added compatibility for all the old ASYS_* macros by default.
But no part of ACE/TAO should still use them anymore. This
compatibility can be turned off by defining
ACE_ONLY_LATEST_AND_GREATEST.
* ace/SString.cpp:
* ace/SString.h:
* ace/SString.i:
* ace/Local_Name_Space.cpp:
* ace/Local_Name_Space.h:
* ace/Local_Name_Space_T.h:
* ace/Name_Space.cpp:
* ace/Name_Space.h:
* ace/Naming_Context.cpp:
* ace/Naming_Context.h:
* ace/Remote_Name_Space.cpp:
* ace/Remote_Name_Space.h:
Found a better way of support for the ACE_Name_Space classes when
there isn't a wchar_t. We now define the ACE_WString to internally
use a type called ACE_WSTRING_TYPE, which is defined to wchar_t
unless ACE_USES_WCHAR is not defined (in which case it is defined
to ACE_USHORT16).
Sun Apr 23 14:27:11 2000 Darrell Brunsch <brunsch@uci.edu>
* ace/CLASSIX/CLASSIX_Port.cpp:
* tests/IOStream_Test.cpp:
* tests/SOCK_Connector_Test.cpp:
Found some old ASYS macros still hanging around in code that wasn't
enabled on NT.
Sat Apr 22 22:01:15 2000 Darrell Brunsch <brunsch@uci.edu>
* ace/Local_Name_Space_T.cpp:
* ace/Naming_Context.cpp:
Fixed some wchar related changes.
Sat Apr 22 20:53:11 2000 Darrell Brunsch <brunsch@uci.edu>
This is my first checkin of my Unicode changes. They should be
mostly harmless, since most platforms and build do not use Unicode
stuff, in which these changes *should* result in the exact same
behavior as before.
But, if Unicode was being used, then chances are it is not going
to work without a few changes. A summary of the changes are:
- Standardized wide char support to the following macros:
ACE_HAS_WCHAR - if not defined, ACE will not use the type wchar_t
or provide any of the functions that use it.
ACE_USES_WCHAR - if defined, ACE will use wchar_t instead of char
for its strings (but not its buffers).
This support has been mostly completed, but there are still some
loose ends that need to be cleaned up.
Note also that even if ACE_USES_WCHAR is defined or not, both
wide and narrow versions of the string operations will be
available.
- Removed all the ASYS_* macros (besides ASYS_INLINE). So all code
using ASYS_TEXT and ASYS_TCHAR should now use ACE_TEXT and
ACE_TCHAR. And unlike their predecessers, these *will* turn into
wide character versions when ACE_USES_WCHAR is defined.
- Removed the macros ACE_HAS_WCHAR_TYPEDEFS_USHORT and
ACE_HAS_WCHAR_TYPEDEFS_CHAR since ACE will not depend on what
wchar_t defaults to.
- Messed around with Windows CE support, most likely it broke it
even more. I've halted my work on Windows CE until after this
change, so I'll be fixing it up in upcoming checkins.
- Since ACE_WString was changed, everything using it will now
not be available when ACE_HAS_WCHAR is not defined.
The motivation for this change was that the Unicode support was
a mess and was very unintuitive. Since I was given the job of
maintaining it (since I'm doing Windows CE stuff now), I decided
to fix it instead of try to figure out what was currently
happening. A consistent design is much easier to explain and
maintain.
* ace/ACE.h:
* ace/ACE.i:
* ace/ACE.cpp:
* ace/ARGV.cpp:
Removed ACE's strecpy since all it did was call ACE_OS's strecpy.
* ace/ace_wchar.h: (added)
Moved all the unicode specific stuff here.
* ace/SString.cpp:
* ace/SString.h:
* ace/SString.i:
ACE_WString used to use ACE_USHORT16 instead of wchar_t. I
changed it so it does, since it will be more useful and intuitive
this way.
* ace/Log_Record.cpp:
We were using ACE_OS::fwrite to print the string. This didn't work
when the string was wchar_t, so this was changed to ACE_OS::fprintf
instead.
* TODO:
* acconfig.h:
* configure.in:
* ace/ACE.cpp:
* ace/ACE.h:
* ace/ACE.i:
* ace/ARGV.cpp:
* ace/ARGV.h:
* ace/ARGV.i:
* ace/ATM_Addr.cpp:
* ace/ATM_Addr.h:
* ace/ATM_Connector.i:
* ace/ATM_QoS.cpp:
* ace/Acceptor.cpp:
* ace/Acceptor.h:
* ace/Activation_Queue.cpp:
* ace/Addr.cpp:
* ace/Arg_Shifter.cpp:
* ace/Arg_Shifter.h:
* ace/Asynch_Acceptor.cpp:
* ace/Asynch_IO.cpp:
* ace/Based_Pointer_T.cpp:
* ace/Basic_Types.h:
* ace/CORBA_Handler.cpp:
* ace/Cache_Map_Manager_T.cpp:
* ace/Cached_Connect_Strategy_T.cpp:
* ace/Caching_Strategies_T.i:
* ace/Capabilities.cpp:
* ace/Capabilities.h:
* ace/Capabilities.i:
* ace/Configuration.cpp:
* ace/Configuration.h:
* ace/Connector.cpp:
* ace/Connector.h:
* ace/Containers_T.cpp:
* ace/DEV_Addr.cpp:
* ace/DEV_Addr.h:
* ace/DEV_Addr.i:
* ace/DEV_Connector.i:
* ace/DLL.cpp:
* ace/DLL.h:
* ace/Dirent.h:
* ace/Dirent.i:
* ace/Dynamic_Service.cpp:
* ace/Dynamic_Service.h:
* ace/Env_Value_T.h:
* ace/Env_Value_T.i:
* ace/FIFO.cpp:
* ace/FIFO.h:
* ace/FIFO.i:
* ace/FIFO_Recv.cpp:
* ace/FIFO_Recv.h:
* ace/FIFO_Recv_Msg.cpp:
* ace/FIFO_Recv_Msg.h:
* ace/FIFO_Send.cpp:
* ace/FIFO_Send.h:
* ace/FIFO_Send_Msg.cpp:
* ace/FIFO_Send_Msg.h:
* ace/FILE_Addr.cpp:
* ace/FILE_Addr.h:
* ace/FILE_Addr.i:
* ace/FILE_Connector.cpp:
* ace/FILE_Connector.i:
* ace/Filecache.cpp:
* ace/Filecache.h:
* ace/Functor.h:
* ace/Functor.i:
* ace/Future.cpp:
* ace/Get_Opt.cpp:
* ace/Get_Opt.h:
* ace/Handle_Set.cpp:
* ace/Hash_Map_Manager_T.cpp:
* ace/Hash_Map_Manager_T.i:
* ace/High_Res_Timer.cpp:
* ace/High_Res_Timer.h:
* ace/INET_Addr.cpp:
* ace/INET_Addr.h:
* ace/INET_Addr.i:
* ace/IO_SAP.cpp:
* ace/IPC_SAP.cpp:
* ace/LSOCK.cpp:
* ace/LSOCK_CODgram.cpp:
* ace/LSOCK_Connector.cpp:
* ace/LSOCK_Dgram.cpp:
* ace/Local_Name_Space.cpp:
* ace/Local_Name_Space.h:
* ace/Local_Name_Space_T.cpp:
* ace/Local_Name_Space_T.h:
* ace/Local_Tokens.cpp:
* ace/Local_Tokens.h:
* ace/Local_Tokens.i:
* ace/Log_Msg.cpp:
* ace/Log_Msg.h:
* ace/Log_Record.cpp:
* ace/Log_Record.h:
* ace/Log_Record.i:
* ace/MEM_Acceptor.cpp:
* ace/MEM_Acceptor.h:
* ace/MEM_Acceptor.i:
* ace/MEM_Addr.cpp:
* ace/MEM_Addr.h:
* ace/MEM_Addr.i:
* ace/MEM_Connector.cpp:
* ace/MEM_SAP.cpp:
* ace/MEM_SAP.h:
* ace/Malloc.cpp:
* ace/Malloc_T.cpp:
* ace/Malloc_T.h:
* ace/Malloc_T.i:
* ace/Map_Manager.cpp:
* ace/Map_Manager.i:
* ace/Mem_Map.cpp:
* ace/Mem_Map.h:
* ace/Mem_Map.i:
* ace/Memory_Pool.cpp:
* ace/Memory_Pool.h:
* ace/Message_Block.cpp:
* ace/Message_Queue.cpp:
* ace/Message_Queue_T.cpp:
* ace/Module.cpp:
* ace/Module.h:
* ace/Module.i:
* ace/NT_Service.cpp:
* ace/NT_Service.h:
* ace/NT_Service.i:
* ace/Name_Proxy.cpp:
* ace/Name_Request_Reply.cpp:
* ace/Name_Space.cpp:
* ace/Name_Space.h:
* ace/Naming_Context.cpp:
* ace/Naming_Context.h:
* ace/OS.cpp:
* ace/OS.h:
* ace/OS.i:
* ace/Object_Manager.cpp:
* ace/Obstack.cpp:
* ace/Obstack.h:
* ace/POSIX_Asynch_IO.cpp:
* ace/Parse_Node.cpp:
* ace/Parse_Node.h:
* ace/Pipe.cpp:
* ace/Proactor.cpp:
* ace/Process.cpp:
* ace/Process.h:
* ace/Process.i:
* ace/Process_Manager.cpp:
* ace/QoS_Manager.cpp:
* ace/QoS_Session_Factory.cpp:
* ace/QoS_Session_Impl.cpp:
* ace/RB_Tree.cpp:
* ace/RB_Tree.i:
* ace/README:
* ace/Read_Buffer.cpp:
* ace/Registry.cpp:
* ace/Registry.h:
* ace/Registry_Name_Space.cpp:
* ace/Remote_Name_Space.cpp:
* ace/Remote_Name_Space.h:
* ace/Remote_Tokens.cpp:
* ace/Remote_Tokens.h:
* ace/Remote_Tokens.i:
* ace/SOCK.cpp:
* ace/SOCK_Acceptor.cpp:
* ace/SOCK_CODgram.cpp:
* ace/SOCK_Connector.cpp:
* ace/SOCK_Dgram.cpp:
* ace/SOCK_Dgram_Bcast.cpp:
* ace/SOCK_Dgram_Bcast.h:
* ace/SOCK_Dgram_Mcast.cpp:
* ace/SOCK_Dgram_Mcast.h:
* ace/SOCK_Dgram_Mcast_QoS.cpp:
* ace/SOCK_Dgram_Mcast_QoS.h:
* ace/SPIPE_Acceptor.cpp:
* ace/SPIPE_Addr.cpp:
* ace/SPIPE_Addr.h:
* ace/SPIPE_Addr.i:
* ace/SPIPE_Connector.cpp:
* ace/SString.cpp:
* ace/SString.h:
* ace/SString.i:
* ace/SV_Message_Queue.cpp:
* ace/SV_Semaphore_Complex.cpp:
* ace/SV_Semaphore_Simple.cpp:
* ace/SV_Shared_Memory.cpp:
* ace/Select_Reactor_Base.cpp:
* ace/Select_Reactor_T.cpp:
* ace/Service_Config.cpp:
* ace/Service_Config.h:
* ace/Service_Config.i:
* ace/Service_Manager.cpp:
* ace/Service_Manager.h:
* ace/Service_Object.cpp:
* ace/Service_Object.h:
* ace/Service_Object.i:
* ace/Service_Repository.cpp:
* ace/Service_Repository.h:
* ace/Service_Types.cpp:
* ace/Service_Types.h:
* ace/Service_Types.i:
* ace/Shared_Memory_MM.cpp:
* ace/Shared_Memory_MM.h:
* ace/Shared_Memory_MM.i:
* ace/Shared_Object.cpp:
* ace/Shared_Object.h:
* ace/Singleton.cpp:
* ace/Stats.cpp:
* ace/Stats.h:
* ace/Stats.i:
* ace/Strategies_T.cpp:
* ace/Strategies_T.i:
* ace/Stream.cpp:
* ace/Stream.h:
* ace/Stream_Modules.cpp:
* ace/Stream_Modules.h:
* ace/Svc_Conf.h:
* ace/Svc_Conf.l:
* ace/Svc_Conf.y:
* ace/Svc_Conf_l.cpp:
* ace/Svc_Conf_y.cpp:
* ace/Svc_Handler.cpp:
* ace/Svc_Handler.h:
* ace/Synch.cpp:
* ace/Synch.h:
* ace/Synch.i:
* ace/Synch_T.cpp:
* ace/Synch_T.h:
* ace/Synch_T.i:
* ace/System_Time.cpp:
* ace/System_Time.h:
* ace/TLI.cpp:
* ace/TLI_Acceptor.cpp:
* ace/TLI_Connector.i:
* ace/TP_Reactor.cpp:
* ace/TP_Reactor.i:
* ace/Task_T.cpp:
* ace/Task_T.h:
* ace/Template_Instantiations.cpp:
* ace/Thread_Manager.cpp:
* ace/Time_Request_Reply.cpp:
* ace/Timeprobe_T.cpp:
* ace/Timer_Hash_T.cpp:
* ace/Timer_Heap_T.cpp:
* ace/Timer_List_T.cpp:
* ace/Timer_Queue_Adapters.cpp:
* ace/Timer_Queue_T.cpp:
* ace/Timer_Wheel_T.cpp:
* ace/Token.cpp:
* ace/Token.h:
* ace/Token_Collection.cpp:
* ace/Token_Collection.h:
* ace/Token_Collection.i:
* ace/Token_Invariants.cpp:
* ace/Token_Invariants.h:
* ace/Token_Manager.cpp:
* ace/Token_Manager.h:
* ace/Token_Request_Reply.cpp:
* ace/Token_Request_Reply.h:
* ace/Token_Request_Reply.i:
* ace/Trace.cpp:
* ace/Trace.h:
* ace/UPIPE_Acceptor.cpp:
* ace/UPIPE_Connector.cpp:
* ace/UPIPE_Connector.i:
* ace/WFMO_Reactor.cpp:
* ace/WFMO_Reactor.i:
* ace/WIN32_Asynch_IO.cpp:
* ace/WIN32_Proactor.cpp:
* ace/XTI_ATM_Mcast.i:
* ace/config-WinCE.h:
* ace/config-all.h:
* ace/config-ghs-common.h:
* ace/config-tandem.h:
* ace/config-win32-borland.h:
* ace/config-win32-common.h:
* ace/config-win32-msvc.h:
* ace/config-win32-visualage.h:
* ace/CLASSIX/CLASSIX_CLD_Connector.cpp:
* ace/CLASSIX/CLASSIX_CO_Acceptor.cpp:
* ace/CLASSIX/CLASSIX_Port.cpp:
* ace/CLASSIX/CLASSIX_Port.h:
* ace/CLASSIX/CLASSIX_Select_Reactor.cpp:
* apps/Gateway/Gateway/Options.cpp:
* apps/JAWS/PROTOTYPE/JAWS/JAWS.h:
* bin/envinfo.cpp:
* docs/ACE-guidelines.html:
* docs/tutorials/Chap_3/mm.cpp:
* examples/Connection/blocking/SPIPE-acceptor.cpp:
* examples/Connection/blocking/SPIPE-acceptor.h:
* examples/Connection/blocking/SPIPE-connector.cpp:
* examples/Connection/blocking/SPIPE-connector.h:
* examples/Connection/non_blocking/test_lsock_acceptor.cpp:
* examples/Connection/non_blocking/test_lsock_connector.cpp:
* examples/IPC_SAP/ATM_SAP/CPP-client.cpp:
* examples/IPC_SAP/ATM_SAP/CPP-server.cpp:
* examples/IPC_SAP/SOCK_SAP/CPP-inclient.cpp:
* examples/IPC_SAP/SOCK_SAP/CPP-inserver-fancy.cpp:
* examples/IPC_SAP/SOCK_SAP/CPP-inserver.cpp:
* examples/IPC_SAP/UPIPE_SAP/ex3.cpp:
* examples/Naming/test_multiple_contexts.cpp:
* examples/Naming/test_non_existent.cpp:
* examples/Naming/test_writers.cpp:
* examples/Reactor/WFMO_Reactor/test_console_input.cpp:
* examples/Reactor/WFMO_Reactor/test_directory_changes.cpp:
* examples/Reactor/WFMO_Reactor/test_handle_close.cpp:
* examples/Reactor/WFMO_Reactor/test_registry_changes.cpp:
* examples/Registry/test_registry_iterator.cpp:
* examples/Service_Configurator/Misc/Timer_Service.cpp:
* examples/Service_Configurator/Misc/Timer_Service.h:
* examples/Service_Configurator/Misc/main.cpp:
* examples/Service_Configurator/Misc/main.dsp:
* examples/Web_Crawler/Options.cpp:
* examples/Web_Crawler/Options.h:
* examples/Web_Crawler/URL_Addr.cpp:
* examples/Web_Crawler/URL_Addr.h:
* netsvcs/clients/Logger/indirect_logging.cpp:
* netsvcs/clients/Naming/Client/main.cpp:
* netsvcs/lib/Logging_Strategy.cpp:
* netsvcs/lib/TS_Clerk_Handler.cpp:
* netsvcs/lib/TS_Clerk_Handler.h:
* performance-tests/Misc/test_naming.cpp:
* performance-tests/Server_Concurrency/Leader_Follower/leader_follower.cpp:
* performance-tests/Server_Concurrency/Queue_Based_Workers/workers.cpp:
* performance-tests/TCP/tcp_test.cpp:
* tests/ACE_Init_Test.dsp:
* tests/ARGV_Test.cpp:
* tests/Atomic_Op_Test.cpp:
* tests/Auto_IncDec_Test.cpp:
* tests/Barrier_Test.cpp:
* tests/Basic_Types_Test.cpp:
* tests/Buffer_Stream_Test.cpp:
* tests/CDR_File_Test.cpp:
* tests/CDR_Test.cpp:
* tests/Cache_Map_Manager_Test.cpp:
* tests/Cached_Accept_Conn_Test.cpp:
* tests/Cached_Conn_Test.cpp:
* tests/Capabilities_Test.cpp:
* tests/Collection_Test.cpp:
* tests/Conn_Test.cpp:
* tests/DLL_Test.cpp:
* tests/DLL_Test.h:
* tests/DLList_Test.cpp:
* tests/Dynamic_Priority_Test.cpp:
* tests/Enum_Interfaces_Test.cpp:
* tests/Env_Value_Test.cpp:
* tests/FlReactor_Test.cpp:
* tests/Future_Set_Test.cpp:
* tests/Future_Test.cpp:
* tests/Handle_Set_Test.cpp:
* tests/Hash_Map_Bucket_Iterator_Test.cpp:
* tests/Hash_Map_Manager_Test.cpp:
* tests/High_Res_Timer_Test.cpp:
* tests/IOStream_Test.cpp:
* tests/Lazy_Map_Manager_Test.cpp:
* tests/Log_Msg_Test.cpp:
* tests/MM_Shared_Memory_Test.cpp:
* tests/MT_Reactor_Timer_Test.cpp:
* tests/MT_SOCK_Test.cpp:
* tests/Malloc_Test.cpp:
* tests/Map_Manager_Test.cpp:
* tests/Map_Test.cpp:
* tests/Mem_Map_Test.cpp:
* tests/Message_Block_Test.cpp:
* tests/Message_Queue_Notifications_Test.cpp:
* tests/Message_Queue_Test.cpp:
* tests/Naming_Test.cpp:
* tests/New_Fail_Test.cpp:
* tests/Notify_Performance_Test.cpp:
* tests/Object_Manager_Test.cpp:
* tests/OrdMultiSet_Test.cpp:
* tests/Pipe_Test.cpp:
* tests/Priority_Buffer_Test.cpp:
* tests/Priority_Reactor_Test.cpp:
* tests/Priority_Task_Test.cpp:
* tests/Process_Manager_Test.cpp:
* tests/Process_Mutex_Test.cpp:
* tests/Process_Strategy_Test.cpp:
* tests/Process_Strategy_Test.h:
* tests/RB_Tree_Test.cpp:
* tests/Reactor_Exceptions_Test.cpp:
* tests/Reactor_Notify_Test.cpp:
* tests/Reactor_Performance_Test.cpp:
* tests/Reactor_Timer_Test.cpp:
* tests/Reactors_Test.cpp:
* tests/Reader_Writer_Test.cpp:
* tests/Recursive_Mutex_Test.cpp:
* tests/Reverse_Lock_Test.cpp:
* tests/SOCK_Connector_Test.cpp:
* tests/SOCK_Send_Recv_Test.cpp:
* tests/SOCK_Test.cpp:
* tests/SPIPE_Test.cpp:
* tests/SString_Test.cpp:
* tests/SV_Shared_Memory_Test.cpp:
* tests/Semaphore_Test.cpp:
* tests/Service_Config_Test.cpp:
* tests/Signal_Test.cpp:
* tests/Sigset_Ops_Test.cpp:
* tests/Simple_Message_Block_Test.cpp:
* tests/Svc_Handler_Test.cpp:
* tests/TSS_Test.cpp:
* tests/Task_Test.cpp:
* tests/Thread_Manager_Test.cpp:
* tests/Thread_Mutex_Test.cpp:
* tests/Thread_Pool_Reactor_Test.cpp:
* tests/Thread_Pool_Test.cpp:
* tests/Time_Service_Test.cpp:
* tests/Time_Value_Test.cpp:
* tests/Timeprobe_Test.cpp:
* tests/Timer_Queue_Test.cpp:
* tests/TkReactor_Test.cpp:
* tests/Tokens_Test.cpp:
* tests/UPIPE_SAP_Test.cpp:
* tests/Upgradable_RW_Test.cpp:
* tests/XtReactor_Test.cpp:
* tests/test_config.h:
* websvcs/lib/URL_Addr.cpp:
* websvcs/lib/URL_Addr.h:
* websvcs/lib/URL_Addr.i:
* websvcs/tests/Test_URL_Addr.cpp:
Made all the appropriate changes to support the new wide char
policy. Most changes were macro changes, changing ASYS_* to
ACE_*, changing char's to ACE_TCHAR's, adding in ACE_TEXT ()'s
when necessary, etc.
Sat Apr 22 18:41:06 2000 Vishal Kachroo <vishal@cs.wustl.edu>
* ace/SOCK_Dgram_Mcast.h:
* ace/SOCK_Dgram_Mcast.cpp:
* ace/SOCK_Dgram_Mcast.i: Removed the QoS enabled overloaded
methods.
* ace/SOCK_Dgram_Mcast_QoS.h:
* ace/SOCK_Dgram_Mcast_QoS.cpp:
* ace/SOCK_Dgram_Mcast_QoS.i: Added this new class that derives from
ACE_SOCK_Dgram_Mcast and handles all the QoS functionality that
was being done by the latter.
* ace/ace_dll.dsp:
* ace/ace_lib.dsp: Added the ace/SOCK_Dgram_Mcast_QoS.{cpp,i,h}
Fri Apr 21 10:23:19 2000 Darrell Brunsch <brunsch@uci.edu>
* bin/msvc_auto_compile.pl:
Removed all chdir's and fixed a bug with specifying multiple -dir's.
Fri Apr 21 09:13:20 2000 Carlos O'Ryan <coryan@uci.edu>
* websvcs/lib/URL_Addr.cpp:
The URL schemes are supposed to be case insensitive, thanks to
Paul Carreiro <pcarreir@genuity.com> for pointing this out.
Thu Apr 20 21:05:42 2000 Darrell Brunsch <brunsch@uci.edu>
* bin/msvc_auto_compile.pl:
Added a -core for only the core libraries. Also fixed a problem
with specifying incorrect directories and the -DLL/-Debug/etc.
macros.
Thu Apr 20 18:11:48 2000 Darrell Brunsch <brunsch@uci.edu>
* examples/DLL/Main.dsp:
* examples/DLL/Newsweek.dsp:
* examples/DLL/Today.dsp
* examples/Configuration/Configuration.dsw:
* examples/Bounded_Packet_Relay/Bounded_Packet_Relay.dsp:
* examples/Configuration/Test.dsp:
* examples/IPC_SAP/ATM_SAP/ATM_SAP.dsw:
* examples/IPC_SAP/ATM_SAP/CPP_client.dsp:
* examples/IPC_SAP/ATM_SAP/CPP_server.dsp:
* examples/IPC_SAP/SOCK_SAP/CPP_memclient.dsp:
* examples/Mem_Map/file-reverse/file_reverse.dsp:
* examples/NT_Service/NT_Service.dsp:
* examples/NT_Service/NT_Service.dsw:
* examples/OS/Process/Process.dsp:
* examples/OS/Process/imore.dsp:
* examples/QOS/client.dsp:
* examples/QOS/server.dsp:
* examples/Reactor/Misc/demuxing.dsp:
* examples/Reactor/Multicast/client.dsp:
* examples/Reactor/Multicast/server.dsp:
* examples/Service_Configurator/Misc/Timer.dsp:
* examples/Service_Configurator/Misc/main.dsp:
* examples/Timer_Queue/Async_Timer_Queue_Test.dsp:
* examples/Timer_Queue/Reactor_Timer_Queue_Test.dsp:
* examples/Timer_Queue/Thread_Timer_Queue_Test.dsp:
* examples/Timer_Queue/Timer_Queue.dsw:
* examples/Web_Crawler/Web_Crawler.dsp:
Fixed miscellaneous problems with these projects and workspaces.
Some projects were missing from workspaces or listed incorrectly.
Many project didn't have the correct include paths or definitions.
* examples/Reactor/Proactor/post_completion.dsp: (removed)
There was already a post_completions.dsp that was being used.
* examples/OS/Process/imore.cpp:
* examples/OS/Process/process.cpp:
Changed the type of the variables used with Process::wait from
int to ACE_exitcode.
* examples/Reactor/WFMO_Reactor/test_abandoned.cpp:
* examples/Reactor/WFMO_Reactor/test_apc.cpp:
Missing parentheses.
* Synch-Benchmarks/Synch_Lib/Synch_Lib.dsp:
Changed the name of the project so win32_auto_compile.pl works
with it properly.
* bin/msvc_auto_compile.pl: (added)
This is a new script for autocompiling with MSVC 6.
Eventually this should replace auto_compile_win32.pl. It still
needs more directories added to it and tested before we put it
into production
* bin/vc_filter.pl:
Updated to properly color code output from msvc_auto_compile.pl
also.
Thu Apr 20 09:50:49 2000 Carlos O'Ryan <coryan@uci.edu>
* ace/RB_Tree.h:
* ace/RB_Tree.i:
Fixed implementation of the end() method. It should return a
singular iterator that is different from all valid iterator, not
an iterator pointing to the last element in the collection.
Thu Apr 20 08:53:31 2000 Carlos O'Ryan <coryan@uci.edu>
* ace/CDR_Stream.i:
Fixed problem in the align_write_ptr() method. It was optimized
for the case where there was enough room in the current buffer,
but the optimization broke with a previous fix from Feb 29.
Thu Apr 20 08:40:00 2000 Chris Gill <cdgill@cs.wustl.edu>
* examples/Bounded_Packet_Relay/BPR_Drivers_T.h,
examples/Bounded_Packet_Relay/Thread_Bounded_Packet_Relay.cpp:
Fixed warnings from g++
Wed Apr 19 21:53:52 2000 Douglas C. Schmidt <schmidt@ace.cs.wustl.edu>
* examples/Bounded_Packet_Relay: Added some missing template
instantiations and other assorted problems. Thanks to Aoxiang
Xu <axu@cim.mcgill.ca> for reporting these.
Wed Apr 19 07:04:13 2000 Douglas C. Schmidt <schmidt@tango.cs.wustl.edu>
* ace/Containers_T.cpp (copy_nodes): insert_head() should have
been insert_tail(). Thanks to Umar Syyid for clarifying this.
Also, added some comments to explain what's going on in
insert_tail() since the code was somewhat non-intuitive ;-).
Wed Apr 19 15:00:44 2000 Carlos O'Ryan <coryan@uci.edu>
* apps/Makefile:
* apps/drwho/Makefile:
* performance-tests/Makefile:
* performance-tests/Server_Concurrency/Leader_Follower/Makefile:
* performance-tests/Server_Concurrency/Queue_Based_Workers/Makefile:
More Makefiles that were not in the default compilation path,
added them and update dependencies.
* bin/Makefile:
* examples/Bounded_Packet_Relay/Makefile:
* examples/QOS/Makefile:
* performance-tests/RPC/Makefile:
* performance-tests/Synch-Benchmarks/Base_Test/Makefile:
* performance-tests/Synch-Benchmarks/Perf_Test/Makefile:
* performance-tests/Synch-Benchmarks/Synch_Lib/Makefile:
* ASNMP/asnmp/Makefile:
* ASNMP/examples/get/Makefile:
* ASNMP/examples/next/Makefile:
* ASNMP/examples/set/Makefile:
* ASNMP/examples/trap/Makefile:
* ASNMP/examples/walk/Makefile:
* ASNMP/tests/Makefile:
Just updated dependencies. More fixes are needed to put them in
the normal compilation path.
* performance-tests/Server_Concurrency/Queue_Based_Workers/workers.cpp:
* performance-tests/Server_Concurrency/Leader_Follower/leader_follower.cpp:
They wouldn't compile on platforms that lack context switch
counters in rusage. Conditionally compile that code to avoid
the problem.
Wed Apr 19 14:09:29 2000 Darrell Brunsch <brunsch@uci.edu>
* etc/Svc_Conf_l.cpp.diff: Fixed the diff so it generates
the correct Svc_Conf_l.cpp.
Wed Apr 19 12:48:21 2000 Balachandran Natarajan <bala@cs.wustl.edu>
* ace/ACE.cpp: Added a missing pointer in the signature of
ACE::t_rcv_n_i ().
Wed Apr 19 10:11:23 2000 Darrell Brunsch <brunsch@uci.edu>
* tests/Atomic_Op_Test.dsp:
* tests/Auto_IncDec_Test.dsp:
* tests/Barrier_Test.dsp:
* tests/Basic_Types_Test.dsp:
* tests/Buffer_Stream_Test.dsp:
* tests/CDR_File_Test.dsp:
* tests/CDR_Test.dsp:
* tests/Cache_Map_Manager_Test.dsp:
* tests/Cached_Accept_Conn_Test.dsp:
* tests/Cached_Conn_Test.dsp:
* tests/Capabilities_Test.dsp:
* tests/Collection_Test.dsp:
* tests/Conn_Test.dsp:
* tests/DLList_Test.dsp:
* tests/Dynamic_Priority_Test.dsp:
* tests/Enum_Interfaces_Test.dsp:
* tests/Env_Value_Test.dsp:
* tests/Future_Set_Test.dsp:
* tests/Future_Test.dsp:
* tests/Handle_Set_Test.dsp:
* tests/Hash_Map_Bucket_Iterator_Test.dsp:
* tests/Hash_Map_Manager_Test.dsp:
* tests/High_Res_Timer_Test.dsp:
* tests/IOStream_Test.dsp:
* tests/Lazy_Map_Manager_Test.dsp:
* tests/MM_Shared_Memory_Test.dsp:
* tests/MT_Reactor_Timer_Test.dsp:
* tests/MT_SOCK_Test.dsp:
* tests/Malloc_Test.dsp:
* tests/Map_Manager_Test.dsp:
* tests/Map_Test.dsp:
* tests/Mem_Map_Test.dsp:
* tests/Message_Block_Test.dsp:
* tests/Message_Queue_Notifications_Test.dsp:
* tests/Message_Queue_Test.dsp:
* tests/Naming_Test.dsp:
* tests/New_Fail_Test.dsp:
* tests/Notify_Performance_Test.dsp:
* tests/Object_Manager_Test.dsp:
* tests/OrdMultiSet_Test.dsp:
* tests/Pipe_Test.dsp:
* tests/Priority_Buffer_Test.dsp:
* tests/Priority_Reactor_Test.dsp:
* tests/Priority_Task_Test.dsp:
* tests/Process_Manager_Test.dsp:
* tests/Process_Mutex_Test.dsp:
* tests/Process_Strategy_Test.dsp:
* tests/RB_Tree_Test.dsp:
* tests/Reactor_Exceptions_Test.dsp:
* tests/Reactor_Notify_Test.dsp:
* tests/Reactor_Performance_Test.dsp:
* tests/Reactor_Timer_Test.dsp:
* tests/Reactors_Test.dsp:
* tests/Reader_Writer_Test.dsp:
* tests/Recursive_Mutex_Test.dsp:
* tests/Reverse_Lock_Test.dsp:
* tests/SOCK_Connector_Test.dsp:
* tests/SOCK_Send_Recv_Test.dsp:
* tests/SOCK_Test.dsp:
* tests/SPIPE_Test.dsp:
* tests/SString_Test.dsp:
* tests/SV_Shared_Memory_Test.dsp:
* tests/Semaphore_Test.dsp:
* tests/Service_Config_Test.dsp:
* tests/Sigset_Ops_Test.dsp:
* tests/Simple_Message_Block_Test.dsp:
* tests/Svc_Handler_Test.dsp:
* tests/TSS_Test.dsp:
* tests/Task_Test.dsp:
* tests/Thread_Manager_Test.dsp:
* tests/Thread_Mutex_Test.dsp:
* tests/Thread_Pool_Reactor_Test.dsp:
* tests/Thread_Pool_Test.dsp:
* tests/Time_Service_Test.dsp:
* tests/Time_Value_Test.dsp:
* tests/Timeprobe_Test.dsp:
* tests/Timer_Queue_Test.dsp:
* tests/Tokens_Test.dsp:
* tests/UPIPE_SAP_Test.dsp:
* tests/Upgradable_RW_Test.dsp:
* tests/pharlap/Atomic_Op_Test.dsp: (added)
* tests/pharlap/Auto_IncDec_Test.dsp: (added)
* tests/pharlap/Barrier_Test.dsp: (added)
* tests/pharlap/Basic_Types_Test.dsp: (added)
* tests/pharlap/Buffer_Stream_Test.dsp: (added)
* tests/pharlap/CDR_File_Test.dsp: (added)
* tests/pharlap/CDR_Test.dsp: (added)
* tests/pharlap/Cache_Map_Manager_Test.dsp: (added)
* tests/pharlap/Cached_Accept_Conn_Test.dsp: (added)
* tests/pharlap/Cached_Conn_Test.dsp: (added)
* tests/pharlap/Capabilities_Test.dsp: (added)
* tests/pharlap/Collection_Test.dsp: (added)
* tests/pharlap/Conn_Test.dsp: (added)
* tests/pharlap/DLList_Test.dsp: (added)
* tests/pharlap/Dynamic_Priority_Test.dsp: (added)
* tests/pharlap/Enum_Interfaces_Test.dsp: (added)
* tests/pharlap/Env_Value_Test.dsp: (added)
* tests/pharlap/Future_Set_Test.dsp: (added)
* tests/pharlap/Future_Test.dsp: (added)
* tests/pharlap/Handle_Set_Test.dsp: (added)
* tests/pharlap/Hash_Map_Bucket_Iterator_Test.dsp: (added)
* tests/pharlap/Hash_Map_Manager_Test.dsp: (added)
* tests/pharlap/High_Res_Timer_Test.dsp: (added)
* tests/pharlap/IOStream_Test.dsp: (added)
* tests/pharlap/Lazy_Map_Manager_Test.dsp: (added)
* tests/pharlap/MM_Shared_Memory_Test.dsp: (added)
* tests/pharlap/MT_Reactor_Timer_Test.dsp: (added)
* tests/pharlap/MT_SOCK_Test.dsp: (added)
* tests/pharlap/Malloc_Test.dsp: (added)
* tests/pharlap/Map_Manager_Test.dsp: (added)
* tests/pharlap/Map_Test.dsp: (added)
* tests/pharlap/Mem_Map_Test.dsp: (added)
* tests/pharlap/Message_Block_Test.dsp: (added)
* tests/pharlap/Message_Queue_Notifications_Test.dsp: (added)
* tests/pharlap/Message_Queue_Test.dsp: (added)
* tests/pharlap/Naming_Test.dsp: (added)
* tests/pharlap/New_Fail_Test.dsp: (added)
* tests/pharlap/Notify_Performance_Test.dsp: (added)
* tests/pharlap/Object_Manager_Test.dsp: (added)
* tests/pharlap/OrdMultiSet_Test.dsp: (added)
* tests/pharlap/Pipe_Test.dsp: (added)
* tests/pharlap/Priority_Buffer_Test.dsp: (added)
* tests/pharlap/Priority_Reactor_Test.dsp: (added)
* tests/pharlap/Priority_Task_Test.dsp: (added)
* tests/pharlap/Process_Manager_Test.dsp: (added)
* tests/pharlap/Process_Mutex_Test.dsp: (added)
* tests/pharlap/Process_Strategy_Test.dsp: (added)
* tests/pharlap/RB_Tree_Test.dsp: (added)
* tests/pharlap/Reactor_Exceptions_Test.dsp: (added)
* tests/pharlap/Reactor_Notify_Test.dsp: (added)
* tests/pharlap/Reactor_Performance_Test.dsp: (added)
* tests/pharlap/Reactor_Timer_Test.dsp: (added)
* tests/pharlap/Reactors_Test.dsp: (added)
* tests/pharlap/Reader_Writer_Test.dsp: (added)
* tests/pharlap/Recursive_Mutex_Test.dsp: (added)
* tests/pharlap/Reverse_Lock_Test.dsp: (added)
* tests/pharlap/SOCK_Connector_Test.dsp: (added)
* tests/pharlap/SOCK_Send_Recv_Test.dsp: (added)
* tests/pharlap/SOCK_Test.dsp: (added)
* tests/pharlap/SPIPE_Test.dsp: (added)
* tests/pharlap/SString_Test.dsp: (added)
* tests/pharlap/SV_Shared_Memory_Test.dsp: (added)
* tests/pharlap/Semaphore_Test.dsp: (added)
* tests/pharlap/Service_Config_Test.dsp: (added)
* tests/pharlap/Sigset_Ops_Test.dsp: (added)
* tests/pharlap/Simple_Message_Block_Test.dsp: (added)
* tests/pharlap/Svc_Handler_Test.dsp: (added)
* tests/pharlap/TSS_Test.dsp: (added)
* tests/pharlap/Task_Test.dsp: (added)
* tests/pharlap/Thread_Manager_Test.dsp: (added)
* tests/pharlap/Thread_Mutex_Test.dsp: (added)
* tests/pharlap/Thread_Pool_Reactor_Test.dsp: (added)
* tests/pharlap/Thread_Pool_Test.dsp: (added)
* tests/pharlap/Time_Service_Test.dsp: (added)
* tests/pharlap/Time_Value_Test.dsp: (added)
* tests/pharlap/Timeprobe_Test.dsp: (added)
* tests/pharlap/Timer_Queue_Test.dsp: (added)
* tests/pharlap/Tokens_Test.dsp: (added)
* tests/pharlap/UPIPE_SAP_Test.dsp: (added)
* tests/pharlap/Upgradable_RW_Test.dsp: (added)
* tests/pharlap/pharlap_tests.dsw: (added)
Moved all the pharlap configurations to their own dsp files in
their own subdirectory. This was done so those of us who don't
have pharlap can load tests.dsw and do a select all in the Build
All window and only get the relavant builds.
* tests/run_pharlap_tests.bat: (removed)
* tests/pharlap/run_pharlap_tests.bat: (added)
Moved this file to the pharlap directory also.
Wed Apr 19 10:03:10 2000 Carlos O'Ryan <coryan@uci.edu>
* ace/SOCK_Stream.i:
The new <error_on_eof> flag was present but not used in several
methods, just forward them to the ACE::xxx() operation.
Wed Apr 19 08:18:30 2000 Carlos O'Ryan <coryan@uci.edu>
* */Makefile:
Updated all the dependencies
Wed Apr 19 09:44:14 2000 Jeff Parsons <parsons@cs.wustl.edu>
* ace/Log_Msg.cpp:
Changed the signature of a (WIN32-specific) call to
send_n, to resolve a function overload ambiguity on NT.
Wed Apr 19 00:00:29 2000 Irfan Pyarali <irfan@cs.wustl.edu>
* ace: There are two general use cases of the _n() methods:
(1) The method keeps looping, until all the data has been
transmitted, or until timeout occurs, or until the handle is
closed. This use case occurs when one does not know how much
data is coming across in the case of a recv(), or one wants to
know exactly how much data was sent in the case of a send().
And one don't want to treat a premature eof as an error but
wants to know the exact number of bytes that have been
transferred so far.
(2) In other cases when one knows exactly how much data is
coming across in the case of recv(), or how much data needs to
be transmitted in the case of a send(). Premature closing of the
handle is usually an error.
By adding an additional <error_on_eof> parameter to all the _n()
methods, the above two use cases can be distinguished. The
following files were modified:
- OS
- ACE
- SOCK_Stream
- TLI_Stream
The other IO classes such as FIFO, MEM_IO, PIPE, etc., should
also include this change. However, they should first get fixed
with respect to timeouts. If <error_on_eof> comes before
timeouts, ordering of the parameters will get messed up.
Thanks to Steffen Winther Sorensen <sts@siimnet.dk> for
reporting this second use of the _n() methods.
* ace/OS.h: t_snd() interface was fixed. The buffer parameter
should be const.
* ace/ACE: Added support for TLI I/O functions to the ACE class.
Tue Apr 18 19:08:37 2000 Darrell Brunsch <brunsch@uci.edu>
* ace/config-all.h: (added)
* ace/inc_user_config.h: (removed)
* ace/Codeset_IBM1047.h:
* ace/NT_Service.h:
* ace/config-win32-common.h:
* ace/OS.h:
Started moving several of the macros from OS.h to config-all.h.
The plan is to eventually split up OS.h, and config-all is a
place where the macros (which are not specific to any part of
ACE_OS) can go. config-all.h also ate inc_user_config.h.
* ASNMP/agent/main.cpp:
* ace/iosfwd.h:
* ace/streams.h:
* apps/JAWS/PROTOTYPE/JAWS/Assoc_Array.cpp:
* tests/OrdMultiSet_Test.cpp:
* tests/Time_Value_Test.cpp:
* tests/test_config.h:
Since inc_user_config.h was eaten, needed to change includes of
it to config-all.h.
* bin/generate_export_file.pl: (added)
* bin/GenExportH.BAT: (removed)
Replaced the batch file with a perl file so
- people can generate on other platforms
- it can generate Word_export and WORD_BUILD_DLL
(the batch file couldn't change the case of the key)
* ace/ACE_export.h: (added)
* ace/svc_export.h: (added)
Took the existing ACE_Export and ACE_Svc_Export macro and
moved them to separate files. Also tested out the new
generate_export_file.pl.
* ace/ACE.cpp:
* ace/ARGV.cpp:
* ace/ATM_Acceptor.cpp:
* ace/ATM_Addr.cpp:
* ace/ATM_Connector.cpp:
* ace/ATM_Params.cpp:
* ace/ATM_QoS.cpp:
* ace/ATM_Stream.cpp:
* ace/Acceptor.cpp:
* ace/Activation_Queue.cpp:
* ace/Active_Map_Manager.cpp:
* ace/Addr.cpp:
* ace/Arg_Shifter.cpp:
* ace/Asynch_Acceptor.cpp:
* ace/Asynch_IO.cpp:
* ace/Asynch_IO_Impl.cpp:
* ace/Auto_IncDec_T.cpp:
* ace/Auto_Ptr.cpp:
* ace/Based_Pointer_Repository.cpp:
* ace/Based_Pointer_T.cpp:
* ace/Basic_Types.cpp:
* ace/CDR_Stream.cpp:
* ace/CORBA_Handler.cpp:
* ace/CORBA_Ref.cpp:
* ace/Cache_Map_Manager_T.cpp:
* ace/Cached_Connect_Strategy_T.cpp:
* ace/Capabilities.cpp:
* ace/Cleanup_Strategies_T.cpp:
* ace/Configuration.cpp:
* ace/Connector.cpp:
* ace/Containers.cpp:
* ace/Containers_T.cpp:
* ace/DEV.cpp:
* ace/DEV_Addr.cpp:
* ace/DEV_Connector.cpp:
* ace/DEV_IO.cpp:
* ace/DLL.cpp:
* ace/Date_Time.cpp:
* ace/Dirent.cpp:
* ace/Dump.cpp:
* ace/Dynamic.cpp:
* ace/Dynamic_Service.cpp:
* ace/Event_Handler.cpp:
* ace/Event_Handler_T.cpp:
* ace/FIFO.cpp:
* ace/FIFO_Recv.cpp:
* ace/FIFO_Recv_Msg.cpp:
* ace/FIFO_Send.cpp:
* ace/FIFO_Send_Msg.cpp:
* ace/FILE.cpp:
* ace/FILE_Addr.cpp:
* ace/FILE_Connector.cpp:
* ace/FILE_IO.cpp:
* ace/Filecache.cpp:
* ace/FlReactor.cpp:
* ace/Functor.cpp:
* ace/Functor_T.cpp:
* ace/Future.cpp:
* ace/Future_Set.cpp:
* ace/Get_Opt.cpp:
* ace/Handle_Set.cpp:
* ace/Hash_Cache_Map_Manager_T.cpp:
* ace/Hash_Map_Manager.cpp:
* ace/High_Res_Timer.cpp:
* ace/INET_Addr.cpp:
* ace/IOStream.cpp:
* ace/IOStream_T.cpp:
* ace/IO_SAP.cpp:
* ace/IPC_SAP.cpp:
* ace/LSOCK.cpp:
* ace/LSOCK_Acceptor.cpp:
* ace/LSOCK_CODgram.cpp:
* ace/LSOCK_Connector.cpp:
* ace/LSOCK_Dgram.cpp:
* ace/LSOCK_Stream.cpp:
* ace/Local_Name_Space.cpp:
* ace/Local_Name_Space_T.cpp:
* ace/Local_Tokens.cpp:
* ace/Log_Msg.cpp:
* ace/Log_Record.cpp:
* ace/MEM_Acceptor.cpp:
* ace/MEM_Addr.cpp:
* ace/MEM_Connector.cpp:
* ace/MEM_IO.cpp:
* ace/MEM_SAP.cpp:
* ace/MEM_Stream.cpp:
* ace/Malloc.cpp:
* ace/Malloc_T.cpp:
* ace/Managed_Object.cpp:
* ace/Map.cpp:
* ace/Map_Manager.cpp:
* ace/Mem_Map.cpp:
* ace/Memory_Pool.cpp:
* ace/Message_Block.cpp:
* ace/Message_Block_T.cpp:
* ace/Message_Queue.cpp:
* ace/Message_Queue_T.cpp:
* ace/Method_Request.cpp:
* ace/Module.cpp:
* ace/Msg_WFMO_Reactor.cpp:
* ace/Multiplexor.cpp:
* ace/NT_Service.cpp:
* ace/Name_Proxy.cpp:
* ace/Name_Request_Reply.cpp:
* ace/Name_Space.cpp:
* ace/Naming_Context.cpp:
* ace/OS.cpp:
* ace/Object_Manager.cpp:
* ace/Obstack.cpp:
* ace/POSIX_Proactor.cpp:
* ace/Pair.cpp:
* ace/Parse_Node.cpp:
* ace/Pipe.cpp:
* ace/Priority_Reactor.cpp:
* ace/Proactor.cpp:
* ace/Process.cpp:
* ace/Process_Manager.cpp:
* ace/Profile_Timer.cpp:
* ace/QoS_Manager.cpp:
* ace/QoS_Session_Factory.cpp:
* ace/QoS_Session_Impl.cpp:
* ace/Reactor.cpp:
* ace/Read_Buffer.cpp:
* ace/Registry.cpp:
* ace/Registry_Name_Space.cpp:
* ace/Remote_Name_Space.cpp:
* ace/Remote_Tokens.cpp:
* ace/SOCK.cpp:
* ace/SOCK_Acceptor.cpp:
* ace/SOCK_CODgram.cpp:
* ace/SOCK_Connector.cpp:
* ace/SOCK_Dgram.cpp:
* ace/SOCK_Dgram_Bcast.cpp:
* ace/SOCK_Dgram_Mcast.cpp:
* ace/SOCK_IO.cpp:
* ace/SOCK_Stream.cpp:
* ace/SPIPE.cpp:
* ace/SPIPE_Acceptor.cpp:
* ace/SPIPE_Addr.cpp:
* ace/SPIPE_Connector.cpp:
* ace/SPIPE_Stream.cpp:
* ace/SString.cpp:
* ace/SV_Message.cpp:
* ace/SV_Message_Queue.cpp:
* ace/SV_Semaphore_Complex.cpp:
* ace/SV_Semaphore_Simple.cpp:
* ace/SV_Shared_Memory.cpp:
* ace/Sched_Params.cpp:
* ace/Select_Reactor.cpp:
* ace/Select_Reactor_Base.cpp:
* ace/Select_Reactor_T.cpp:
* ace/Service_Config.cpp:
* ace/Service_Manager.cpp:
* ace/Service_Object.cpp:
* ace/Service_Repository.cpp:
* ace/Service_Types.cpp:
* ace/Shared_Memory.cpp:
* ace/Shared_Memory_MM.cpp:
* ace/Shared_Memory_SV.cpp:
* ace/Shared_Object.cpp:
* ace/Signal.cpp:
* ace/Singleton.cpp:
* ace/Stats.cpp:
* ace/Strategies.cpp:
* ace/Strategies_T.cpp:
* ace/Stream.cpp:
* ace/Stream_Modules.cpp:
* ace/Svc_Conf.y:
* ace/Svc_Conf_l.cpp:
* ace/Svc_Conf_y.cpp:
* ace/Svc_Handler.cpp:
* ace/Synch.cpp:
* ace/Synch_Options.cpp:
* ace/Synch_T.cpp:
* ace/System_Time.cpp:
* ace/TLI.cpp:
* ace/TLI_Acceptor.cpp:
* ace/TLI_Connector.cpp:
* ace/TLI_Stream.cpp:
* ace/TP_Reactor.cpp:
* ace/TTY_IO.cpp:
* ace/Task.cpp:
* ace/Task_T.cpp:
* ace/Thread.cpp:
* ace/Thread_Manager.cpp:
* ace/Time_Request_Reply.cpp:
* ace/Timeprobe.cpp:
* ace/Timer_Hash.cpp:
* ace/Timer_Hash_T.cpp:
* ace/Timer_Heap.cpp:
* ace/Timer_Heap_T.cpp:
* ace/Timer_List.cpp:
* ace/Timer_List_T.cpp:
* ace/Timer_Queue.cpp:
* ace/Timer_Queue_Adapters.cpp:
* ace/Timer_Queue_T.cpp:
* ace/Timer_Wheel.cpp:
* ace/Timer_Wheel_T.cpp:
* ace/TkReactor.cpp:
* ace/Token.cpp:
* ace/Token_Collection.cpp:
* ace/Token_Invariants.cpp:
* ace/Token_Manager.cpp:
* ace/Token_Request_Reply.cpp:
* ace/Trace.cpp:
* ace/Typed_SV_Message.cpp:
* ace/Typed_SV_Message_Queue.cpp:
* ace/UNIX_Addr.cpp:
* ace/UPIPE_Acceptor.cpp:
* ace/UPIPE_Connector.cpp:
* ace/UPIPE_Stream.cpp:
* ace/WFMO_Reactor.cpp:
* ace/WIN32_Asynch_IO.cpp:
* ace/WIN32_Proactor.cpp:
* ace/XTI_ATM_Mcast.cpp:
* ace/XtReactor.cpp:
* include/makeinclude/ace_flags.bor:
* ace/ace_dll.dsp:
* ace/ace_lib.dsp:
The definition of ACE_BUILD_DLL was moved from the .cpp files
to the project files - so it is now handled like most of the
other libraries in ACE and TAO.
Tue Apr 18 21:32:21 2000 Douglas C. Schmidt <schmidt@tango.cs.wustl.edu>
* ace/OS.i (sema_init): Fixed another problem that required
a cast to ACE_mutexattr_t *. Thanks to Priyanka for
reporting this.
Tue Apr 18 19:39:41 2000 Douglas C. Schmidt <schmidt@ace.cs.wustl.edu>
* ace/Synch.cpp,
* ace/OS.cpp: Added a cast to ACE_mutexattr_t *. Thanks to
Darrell for pointing this out.
Tue Apr 18 15:18:53 2000 Douglas C. Schmidt <schmidt@tango.cs.wustl.edu>
* ace/OS.h,
* ace/OS.i,
* ace/Synch.h,
* ace/Synch.cpp: Updated the ACE_OS::*mutex_init() methods (and the
corresponding ACE_Thread_Mutex, ACE_Mutex, and
ACE_Recursive_Thread_Mutex classes) so that they now take an
optional ACE_mutexattr_t * rather than just a void *. This is
nice because it makes it possible to pass in special attributes,
such as the mutex prioceiling attribute, to the underlying
pthreads mutex (assuming we're running on pthreads, of course).
Thanks to lafortg@res.raytheon.com for motivating this.
* ace/Containers_T.cpp (copy_nodes): Added a call to the
allocator->malloc() rather than new. Thanks to Umar Syyid
<usyyid@hns.com> for reporting this.
Tue Apr 18 14:06:32 2000 Jeff Parsons <parsons@cs.wustl.edu>
* ace/CDR_Stream.cpp:
Patch to ACE_CDR::consolidate() sent in by Carlos, that
fixes a bug reported by Harald Finster <finster@ave.ac.agit.de>,
and an added check for 0 value of the 'length' arg in
read_array() and write_array(), that fixes [Bug 540],
reported by Mathew Samuel <Mathew.Samuel@msdw.com>.
Tue Apr 18 11:47:57 2000 Ossama Othman <ossama@uci.edu>
* ace/SOCK_Connector.cpp:
Removed inclusion of `ace/Handle_Set.h'. The ACE_SOCK_Connector
doesn't directly use an ACE_Handle_Set.
* ace/Makefile:
Updated dependencies.
Tue Apr 18 08:54:04 2000 Darrell Brunsch <brunsch@uci.edu>
* bin/vc_filter.pl:
Brand spankin' new filter script for Win32 auto build results.
Sun Apr 16 22:24:34 2000 Douglas C. Schmidt <schmidt@ace.cs.wustl.edu>
* ACE-INSTALL.html: Updated the link for GNU make to be more
specific. Thanks to Xiaojun Wu <depender@yahoo.com> for
reporting this. BTW, Xiaojun was the 900th contributor to
ACE+TAO, so he gets a free copy of ACE+TAO!
Mon Apr 17 20:10:18 2000 Vishal <vishal@cs.wustl.edu>
* ACE version 5.1.1 released.
Mon Apr 17 16:33:17 2000 Ossama Othman <ossama@uci.edu>
* acconfig.h (ACE_LACKS_ACE_OTHER, ACE_LACKS_ACE_SVCCONF,
ACE_LACKS_ACE_TOKEN):
Added support for these macros. They are used when enabling
subsetting.
* configure.in:
lseek64() and llseek() test has been moved to
`m4/acinclude.m4'.
Include `sys/types.h' when running the TLI/XTI tests. Some
platforms use typedefs such as "ulong" but such typedefs may not
be defined in the TLI/XTI headers.
(ACE_HAS_BROKEN_T_ERROR):
Corrected test for broken t_error(). A variable, "errmsg" was
being passed to the t_error() call in the test, but the variable
was declared as "ace_errmsg." Thanks to Roland Gigler
<roland@mch.pn.siemens.de> for pointing this out.
(ACE_MAJOR, ACE_MINOR, ACE_BETA):
If any of these variables is evaluates to the empty string, then
set it to zero. This fixes a problem that was occuring when the
the ACE version contained no beta number (e.g. "5.1" instead
"5.1.0"). Libtool didn't like the fact that one of the numbers
was an empty string.
* ace/Makefile.am (libACE_IPC_la_SOURCES, libACE_Other_la_SOURCES,
HEADER_FILES, INLINE_FILES):
Synchronized the sources associated with these Makefile
variables with those in the classical ACE Makefile.
* m4/acinclude.m4 (ACE_CHECK_LSEEK64):
Moved checks for lseek64() and llseek() from configure.in to
this file. The beginnings of a test for a 64 bit offset type
have also been added, but that test is currently not in use.
* m4/ace.m4 (ACE_COMPILATION_OPTIONS):
Removed check for exception support in C compiler. It didn't
make too much sense to check for exception support in a C
compiler.
Since exception support is disabled by default, make sure
"-fno-exceptions" is set when using g++ with the default ACE
exception configuration value.
* m4/compiler.m4 (ACE_SET_COMPILER_FLAGS):
Fixed typos where "$GXX" was used instead of "$CXX." "$GXX" is
set to yes when GNU C++ is being used, and "$CXX" is set to the
compiler being used (e.g. "c++"). Thanks to Rich Seibel
<seibel_r@ociweb.com> for pointing this out.
This also fixes a problem where "-fcheck-new" wasn't being added
to the C++ flags ($CXXFLAGS).
* m4/subsets.m4 (ACE_LACKS_ACE_OTHER, ACE_LACKS_ACE_SVCCONF,
ACE_LACKS_ACE_TOKEN):
When disabling the "Other," "SvcConf" and/or the "Token" subset,
then define the corresponding preprocessor macro.
Sat Apr 15 21:49:04 2000 Darrell Brunsch <brunsch@uci.edu>
* ace/ACE.cpp:
* apps/Gateway/Gateway/Options.cpp:
Nick Pratt <npratt@microstrategy.com> reported two cases where
we were using sizeof some_string to figure out its length. This
of course doesn't work when the string is a wide string, so they
have been changed to account for the character size.
* ace/ace_dll.dsp:
* ace/ace_lib.dsp:
* apps/gperf/src/gperf.dsp:
* apps/gperf/src/gperf_lib.dsp:
Changed around the order of the configurations so that in the
default case (such as out of the box) the regular Debug version
will be the current configuration.
Sat Apr 15 19:35:57 2000 Darrell Brunsch <brunsch@uci.edu>
(On behalf of Christopher Kohlhoff <chris@kohlhoff.com>)
* ace/Makefile.bor:
Added new file QoS_Manager.cpp.
* ace/Basic_Types.h:
* ace/Timer_Queue_Adapters.h:
Added missing pre/post includes.
* include/makeinclude/ace_flags.bor:
* include/makeinclude/build_example.bor:
Updated for new orbsvcs libraries.
Sat Apr 15 18:17:02 2000 Douglas C. Schmidt <schmidt@ace.cs.wustl.edu>
* apps/Gateway/Gateway/Concrete_Connection_Handlers.cpp:
Fixed the handle_output() function so that it does the "Right
Thing"[TM] on Windows NT. Win32 Winsock doesn't trigger
multiple "You can write now" signals, so we have to assume that
we can continue to write until we get another EWOULDBLOCK.
Thanks to Nick Pratt
Thu Apr 13 16:30:01 2000 David L. Levine <levine@cs.wustl.edu>
* ace/config-sunos5.7.h: added #undef ACE_NEEDS_LWP_PRIO_SET.
SunOS 5.7 no longer needs it, as shown by
performance-tests/Misc/preempt (run as superuser). Thanks
to John Foresteire <John_J_Foresteire@res.raytheon.com>
for reporting this.
Tue Apr 11 21:41:20 2000 Nanbor Wang <nanbor@cs.wustl.edu>
* bin/auto_compile_win32.pl: Updated the lists of
workspaces/projects to build.
Tue Apr 11 16:15:31 2000 David L. Levine <levine@cs.wustl.edu>
* ace/OS.cpp: moved ACE_Thread_Exit::is_constructed_
definition so that it's seen on all platforms, not just
those that are ACE_MT_SAFE. Fixes:
Mon Apr 10 07:30:22 2000 John Rodgers <jrrodgers@acm.org>
Thanks to Vishal for reporting it.
Tue Apr 11 13:57:11 2000 Douglas C. Schmidt <schmidt@tango.cs.wustl.edu>
* ace/Synch_T.cpp: Make sure to cast the "type" argument to
"short" to avoid overload confusions by certain compilers.
Thanks to Charles Taurines <ctaurines@amadeus.net> for reporting
this.
Tue Apr 11 12:52:04 2000 Vishal Kachroo <vishal@cs.wustl.edu>
* ace/SOCK_Dgram_Mcast.cpp (subscribe): Removed the #ifdef
for template instantiation.
Tue Apr 11 11:32:03 2000 Chad Elliott <elliott_c@ociweb.com>
* bin/ACEutils.pm
Refactored duplicate test code into ACEutils.pm
Mon Apr 10 19:45:32 2000 Vishal Kachroo <vishal@cs.wustl.edu>
* ace/SOCK_Dgram_Mcast.cpp (subscribe): Added a #ifdef to
get past a g++ error. I am looking into the right way to
do this.
Mon Apr 10 17:37:53 2000 Nanbor Wang <nanbor@cs.wustl.edu>
* ace/config-freebsd-pthread.h: Addplied John Aughey
<ajh4@cec.wustl.edu>'s patch for FreeBSD 4.0.
Mon Apr 10 07:30:22 2000 John Rodgers <jrrodgers@acm.org>
* ace/OS.{h,cpp},Thread_Manager.cpp (instance,~ACE_Thread_Exit):
added a state variable, is_constructed_, to ACE_Thread_Exit.
instance () sets it, ~ACE_Thread_Exit () clears it. This
allows ACE::init () to be called after ACE::fini (), because
a new ACE_Thread_Exit instance will be created. [Bug 526]
Sun Apr 9 14:16:23 2000 James CE Johnson <jcej@mobsec.com>
* docs/tutorials/015/page01.html : Thanks to Conrad Hughes for
pointing out that a real implementation would compress before
encrypting since encrypted data shouldn't really be compressible
anyway.
* docs/tutorials/015/Protocol_Stream.cpp (open): Reorder the
module pushing so that encryption happens before compression.
* docs/tutorials/015/Crypt.cpp :
* docs/tutorials/015/Compressor.cpp :
Add a few extra bytes when creating the new message blocks. A
real implementation would probably need that.
Sun Apr 09 00:04:25 2000 Nanbor Wang <nanbor@cs.wustl.edu>
* ace/Malloc_T.cpp (remove): Removed invocation of destructor to
<malloc_stats_>. It is a member of Control_Block and does not
require explicit initialization/destruction. This was causing
ACE not to compile when ACE_HAS_MALLOC_STATS was defined.
Thanks to John Smyder <jsmyder@salient.com> for reporting the
problem.
* ace/Malloc_T.cpp (open): Removed invocation of contructor to
<malloc_stats_> for the same reason.
Fri Apr 07 23:32:16 2000 Nanbor Wang <nanbor@cs.wustl.edu>
* ace/ace_dll.dsp:
* ace/ace_lib.dsp: Added QoS_Manager.* into project files.
Thu Apr 6 07:29:48 2000 Douglas C. Schmidt <schmidt@tango.cs.wustl.edu>
* ace/Token.h (ACE_Token): Clarified the recursive semantics of
ACE_Token. Thanks to Antti Valtokari
<Antti.Valtokari@iocore.fi> for reporting this.
Wed Apr 5 22:59:58 2000 Douglas C. Schmidt <schmidt@tango.cs.wustl.edu>
* ace/config-sunos5.5.h: Moved the ACE_HAS_USING_KEYWORD into
the part of this header file that's enabled when
__SUNPRO_CC_COMPAT >= 5 is defined. Thanks to Susan Liebeskind
<susan.liebeskind@gtri.gatech.edu> for reporting this.
Tue Apr 4 23:50:02 2000 Douglas C. Schmidt <schmidt@tango.cs.wustl.edu>
* ace/ACE.cpp (sock_error): Changed "int error" to "ssize_t error"
to be consistent...
Tue Apr 4 20:19:36 2000 <schmidt@rumba.ece.uci.edu>
* ace/Acceptor.cpp: Modified the implementation of
ACE_Acceptor::open() and ACE_Acceptor::accept_svc_handler() so
that the peer acceptor's handle is set into non-blocking mode.
This is a safe-guard against the race condition that can
otherwise occur between the time when <select> indicates that a
passive-mode socket handle is "ready" and when we call <accept>.
During this interval, the client can shutdown the connection, in
which case, the <accept> call can hang!
Mon Apr 3 11:09:26 2000 Vishal Kachroo <vishal@cs.wustl.edu>
* ace/QoS_Manager.cpp: Added the #if defined
(ACE_HAS_EXPLICIT_TEMPLATE_INSTANTIATION).
Mon Apr 3 08:00:00 2000 Kirthika Parameswaran <kirthika@cs.wustl.edu>
* bin/auto_compile: Added <smart_proxies> flag.
Mon Apr 3 04:07:47 2000 Douglas C. Schmidt <schmidt@tango.cs.wustl.edu>
* ace/config-freebsd-pthread.h: Added a #define for
ACE_HAS_ALT_CUSERID so that ACE will build on recent FreeBSD
releases. Thanks to Raymond Wiker <raymond@orion.no> for
reporting this.
Sun Apr 2 21:32:20 2000 Vishal Kachroo <vishal@cs.wustl.edu>
* ace/SOCK.cpp: removed the extra #ifdef
ACE_HAS_TEMPLATE_INSTANTIATION_PRAGMA
* ace/QoS_Manager.{h,cpp}: removed the obsolete #pragma once.
* ace/QoS_Session_Impl.i: fully qualified the ACE_End_Point_Type.
* ace/Makefile: Added the QoS_Manager.
Sun Apr 2 20:19:36 2000 Vishal Kachroo <vishal@cs.wustl.edu>
* ace/QoS_Manager.{h,cpp}: Added these two files. They define
a QoS Manager that manages the QoS for a socket. This was being
done earlier by the ACE_SOCK classes.
Changed the following files to accomodate the new classes added
above.
* ace/SOCK.{h,cpp}: Removed the heavy container from ACE_SOCK.
* ace/SOCK_Dgram_Mcast.{h,cpp}: Changed the QoS management from
ACE_SOCK to ACE_QoS_Manager.
* ace/QoS_Session_Impl.{h,cpp}:
* ace/QoS_Session.h: Changed the interface to use the
ACE_QoS_Manager class
Sun Apr 2 05:36:04 2000 Douglas C. Schmidt <schmidt@tango.cs.wustl.edu>
* ace/Containers_T.cpp: There were a number of incorrect uses
of ACE_NEW_MALLOC that I replaced with ACE_ALLOCATOR. Thanks to
Francisco Bravo <emefjbm@madrid.es.eu.ericsson.se> and Chris
Uzdavinis <chris@atdesk.com> for clarifying the error of my
ways!
Thu Mar 30 19:25:14 2000 Irfan Pyarali <irfan@cs.wustl.edu>
* ace/WFMO_Reactor.cpp (suspend_handler_i and resume_handler_i):
If a handle is resumed, then:
- check current handles to undo suspension (*)
- check suspended handles to resume
- check to_be_added handles to undo suspension
If a handle is suspended, then:
- check current handles to suspend
- check suspended handles to undo resumption (*)
- check to_be_added handles to suspend
(*) were missing. Thanks to Ji Wuliu <jiwuliu0952_cn@sina.com>
for pointing this out!
Thu Mar 30 15:54:23 2000 Steve Huston <shuston@riverace.com>
* ace/config-aix-4.x.h: Only set ACE_HAS_SIGTIMEDWAIT for AIX
4.3.x. 4.2.x doesn't have it. Thanks to Johnny Chen
<jchen@informatica.com> for reporting this.
* THANKS: Added Johnny Chen to the Hall of Fame.
Wed Mar 29 00:01:39 2000 Douglas C. Schmidt <schmidt@tango.cs.wustl.edu>
* netsvcs/lib/Client_Logging_Handler.cpp (handle_input):
ACE_OS::closesocket() was being used to do some very "low-level"
closing of handles without assigning a handle to
ACE_INVALID_HANDLE. This was causing problems. Therefore, we
now try to use this->peer ().close () if it's different from
handle. Thanks to Alexander Dergatch <dergy@websci.ru> for
reporting this. This fixes [BUGID 520].
Tue Mar 28 12:13:12 2000 Nanbor Wang <nanbor@cs.wustl.edu>
* ace/Containers_T.h: Fixed the mismatching filename in preamble.
Tue Mar 28 12:06:31 2000 Nanbor Wang <nanbor@cs.wustl.edu>
* ace/Array.h: Simply include "ace/Containers_T.h" would work.
Removed all other template kludge since they should be handled
in Containers_T.h. Thanks to Airat A. Sadreev
<airat@hq.tatenergo.ru> for report this problem.
Tue Mar 28 11:56:56 2000 Nanbor Wang <nanbor@cs.wustl.edu>
* ace/Dirent.h"
* ace/Dirent.cpp: The meaning of __ACE_INLINE__ is just the
opposite of ACE_LACKS_INLINE_FUNCTIONS (my fault.) Rearrange
the logic for checking __ACE_INLINE__ and include "ace/Dirent.h"
in Dirent.cpp.
Tue Mar 28 06:00:00 2000 Michael Kircher <Michael.Kircher@mchp.siemens.de>
* Dirent.cpp,
* Dirent.h: Renamed ACE_LACKS_INLINE_FUNCTIONS into __ACE_INLINE__ which
is the correct way of handling inlining differences.
* ace/OS.h,
ace/OS.i: Win32 does not support <dirent> a set of functions to
retrieve the content of a directory. However, the Win32 functions
FindFirstFile and FindNextFile provide similar behavior. This change
added an emulation of dirent based on these functions. Changes were
made to ACE_OS::opendir, ACE_OS::readdir, and ACE_OS::closedir.
* ace/config-win32-common.h: Added the defines ACE_HAS_DIRENT,
ACE_LACKS_TELLDIR, ACE_LACKS_SEEKDIR, ACE_LACKS_REWINDDIR and
ACE_LACKS_READDIR_R.
This was necessary to enable the above mentioned <dirent> emulation.
Mon Mar 27 16:58:03 2000 Yamuna Krishnamurthy <yamuna@cs.wustl.edu>
* ace/TkReactor.cpp:
Fixed the unused variable warning and ACE_Select_Reactor_Token
undeclared error.
Fri Mar 24 10:30:44 2000 Douglas C. Schmidt <schmidt@tango.cs.wustl.edu>
* ace/LSOCK.cpp (recv_handle): For some reason, Linux allocates an extra
handle when doing a recvmsg() with the MSG_PEEK flag set.
Therefore, we need to close this. Thanks to Rick Ohnemus
<rjohnemus@systemware-inc.com> for reporting this. Fixed [BUGID
511].
* examples/IPC_SAP/FILE_SAP/client.cpp. Fixed the formatting
to conform to ACE guidelines. Thanks to Steve Luoma
<stevel@dvc400.com> for motivating this.
Thu Mar 23 20:37:19 2000 David L. Levine <levine@cs.wustl.edu>
* bin/check_build_logs: removed leading "./" from log file names.
Thu Mar 23 17:38:34 2000 Nanbor Wang <nanbor@cs.wustl.edu>
* ace/MEM_SAP.cpp: Removed a redundant "defined". Thanks to David
Wicks <swicks@continuum-corp.com> for noticing this.
Thu Mar 23 15:26:52 2000 Carlos O'Ryan <coryan@uci.edu>
* PROBLEM-REPORT-FORM:
Modified the text to encourage users to report real bugs to
Bugzilla, that way we don't have to enter them ourselves. Only
dubious stuff should be reported to the mailing list.
Thu Mar 23 14:34:26 2000 Nanbor Wang <nanbor@cs.wustl.edu>
* ace/*.h: Moved the inclusion of <pre.h> down after the
definition of header guard macro. The original order violated
the ACE programming guideline. Thanks to Carlos for catching
this.
Wed Mar 23 15:10:01 2000 Chad Elliott <elliott_c@ociweb.com>
* tests/run_tests.sh
Fixed my fix for Chorus. It, again, supports FOR_TAO subset.
Thu Mar 23 15:09:22 2000 Jody Hagins <jody@atdesk.com>
* ace/Object_Manager.cpp (ACE_Static_Object_Lock::instance):
with ACE_SHOULD_MALLOC_STATIC_OBJECT_LOCK #defined,
use ACE_RETURN_NEW instead of ACE_RETURN so that a value
is returned by the function.
Thu Mar 23 10:39:23 2000 Carlos O'Ryan <coryan@uci.edu>
* bin/g++dep:
Changed the script to generate relative paths for local
dependencies. In other words if .obj/foo.o in the foo/bar
directory depends on $(ACE_ROOT)/foo/bar/foo.h we just generate
.obj/foo.o: foo.h
instead of the full path. This solves some problems with
parallel builds and IDL generated files.
Thu Mar 23 04:31:50 2000 Irfan Pyarali <irfan@cs.wustl.edu>
* ace/Reactor.i (register_handler): There was a very subtle bug in
all versions of <register_handler>. The problem was that once
the <event_handler> has been successfully registered with the
Reactor, it is available for processing events. In the problem
case, input arrived from the client, the handler handled it, and
eventually closed down. All this happened in the other thread
running the Reactor, and all before this line got executed:
event_handler->reactor (this);
By the time this thread came around to set the <reactor>, the
<event_handler> had packed up and gone home. The fix is to set
the <reactor> before registering the <event_handler> with the
<reactor>. Thanks to Steve Huston for report this bug.
Wed Mar 22 12:01:22 2000 Steve Huston <shuston@riverace.com>
* ace/NT_Service.{h i cpp}: Added support for operating on services
on a host other than the local host. Thanks to Stephen Moon
<smoon@oxmol.co.uk> for adding this new functionality!
Wed Mar 22 10:19:47 2000 Douglas C. Schmidt <schmidt@tango.cs.wustl.edu>
* ace/Thread.i: In ACE_Thread::setcancelstate() the code is
checking to see if thr_setcancelstate and thr_setcanceltype
return 0 and if so returning an error condition to the user.
Instead, both of these routines should be checked to see if they
return -1 on failure. Thanks to Umar Syyid for reporting this.
Wed Mar 22 09:29:09 2000 Chad Elliott <elliott_c@ociweb.com>
* ace/config-chorus.h, ace/ACE.cpp
Correction for Chorus 4.0 support on the Ultra-SPARC.
Wed Mar 22 09:24:12 2000 Balachandran Natarajan <bala@cs.wustl.edu>
* ace/Configuration.cpp: Fixed a link error with SunCC5. This
error only shows up when ACE is built with debug=0 and
exceptions=1. The fix was to move all the template
instantiations from the end of the file to the top of the
file. Thanks to Dr.Levine for helping me fix this and thanks to
Manuel Benche <mbenche@jazz.cs.utsa.edu> for reporting this
problem.
Wed Mar 22 09:16:48 2000 Jeff Parsons <parsons@cs.wustl.edu>
* ace/CDR_Stream.i:
Initialized a local variable inside the << operator
for wstring. It was producing a warning on Linux g++
(charanga).
Tue Mar 21 14:24:07 2000 Chad Elliott <elliott_c@ociweb.com>
* ace/config-chorus.h,
include/makeinclude/platform_chorus.GNU,
include/makeinclude/platform_chorus4.x_g++.GNU,
tests/run_tests.sh:
Expected ACE tests work. Added support for Chorus 4.0
on the Ultra-SPARC.
Tue Mar 21 10:37:17 2000 Carlos O'Ryan <coryan@cs.wustl.edu>
* Merged the non_interpretive branch.
This fixes [BUGID:135]
Fri Mar 10 11:27:04 2000 Carlos O'Ryan <coryan@uci.edu>
* ace/CDR_Stream.i:
Fixed the << operators for ACE_OutputCDR::from_string and
ACE_OutputCDR::from_wstring. They did not work with null
strings.
Mon Mar 20 17:54:15 2000 Darrell Brunsch <brunsch@uci.edu>
* ace/ACE.cpp:
The ascii version of get_temp_dir () was calling the wchar_t
version, which doesn't work on Win95/98 since the GetTempPathW
isn't supported. So I just called GetTempPathA directly.
Thanks to David Hauck <davidh@realtimeint.com> for first pointing
this out, Shalabh Bhatnagar <shalabh_b@hotmail.com> for informing
me that it doesn't work on Win95, and Torsten Pfuetzenreuter
<torsten_pf@geocities.com> for pointing out this doesn't work on
Win98 either.
[BUG 499]
Mon Mar 20 12:45:17 2000 Carlos O'Ryan <coryan@uci.edu>
* include/makeinclude/platform_linux_lxpthread.GNU:
Updated support for X11 and GL
* ace/CDR_Stream.i:
A small performance improvement for ACE_InputCDR. If the
current message block in not writable we call grow_and_adjust
immediately.
Sun Mar 19 22:11:47 2000 Ossama Othman <ossama@uci.edu>
* ace/ACE.cpp (recv_n_i, send_n_i, recvv_n_i, sendv_n_i):
Loop should continue if EWOULDBLOCK is set. Previously, calls
to these methods returned right away on error, even if errno was
set to EWOULDBLOCK, instead of continuing until all of the data
was received or sent.
If the number of bytes received/transfered during the current
iteration of the loop is zero, then break out of the loop so
that the actual number of bytes received/transfered is used as
the return value. Prior to this change, a value of zero was
returned, which may not always be the number of bytes
received/transfered.
Sun Mar 19 23:52:33 2000 Douglas C. Schmidt <schmidt@tango.cs.wustl.edu>
* ace/ACE.cpp: Reformatted some code.
Sun Mar 19 14:30:56 2000 James CE Johnson <jcej@mobsec.com>
* docs/tutorials/002/handler.h:
* docs/tutorials/008/broadcast_client.cpp:
* docs/tutorials/015/Compressor.cpp:
* docs/tutorials/006/server.cpp:
* docs/tutorials/005/server.cpp:
* docs/tutorials/007/server.cpp:
* docs/tutorials/009/server.cpp:
* docs/tutorials/015/Protocol_Task.h:
* docs/tutorials/015/Protocol_Task.cpp:
* docs/tutorials/015/Crypt.cpp:
* docs/tutorials/015/Handler.cpp:
A whole batch of ACE_UNUSED_ARGs were applied keep the compiler
quiet.
* docs/tutorials/018/Test_T.cpp (send):
Explicit creating of MB_HANGUP instance to avoid casting
confustion on the ACE_Message_Block constructor.
* docs/tutorials/005/client_handler.cpp:
* docs/tutorials/006/client_handler.cpp:
* docs/tutorials/007/client_handler.cpp:
Added a null-terminator to the strings received from the client
so that they look reasonable when printed. Thanks to Steven
Boelens <steven@casema.net> for catching this.
* docs/tutorials/*/hdr:
* docs/tutorials/*/*.pre:
* docs/tutorials/*/*.pst:
* docs/tutorials/*/*.cpp:
Eliminating trailing whitespace and \r to make CVS happy. The
relevant combine.shar files were also rebuilt.
* docs/tutorials/combine: Mutated to include CVS Id tag in every
page.
* docs/tutorials/*/*.html: Everything rebuilt due to changes
above.
Sat Mar 18 20:51:06 2000 David L. Levine <levine@cs.wustl.edu>
* bin/check_build_logs: added -u option, to provide a
URL prefix. If enabled, it will print the URL of
each log file, prepending the URL prefix.
Sat Mar 18 18:37:19 2000 Nanbor Wang <nanbor@cs.wustl.edu>
* ace/OS.h: Added inclusion of pre.h and post.h. It got left out
by the script. Thanks to Christopher Kohlhoff
<chris@kohlhoff.com> for noticing this.
Sat Mar 18 05:42:06 2000 Nanbor Wang <nanbor@cs.wustl.edu>
* ace/pre.h:
* ace/post.h: Added two new file. <pre.h> preserves the current
alignment setting of the compiler and <post.h> restores the
alignment setting. They are used to make ACE a better team
player with other library on NT platforms.
* include/makeinclude/compiler.bor:
* include/makeinclude/make_flags.bor: Applied the changes for the
updated Borland makefiles.
When using ACE+TAO on Win32 (using either MSVC or BCB) you
currently must ensure that your application's compiler options
are set to be the same as those used to build ACE+TAO. For
example, since ACE+TAO is built using 8-byte alignment, your
application must also use this alignment otherwise bad things
can happen.
Other libraries on Win32 free the developer from this burden by
explicitly setting these options in the source code. For
example, the Windows SDK header files contain things like
#include <pshpack4.h>
...
#include <poppack.h>
where these header files contain the appropriate #pragmas for
setting alignment options. (BTW, structure alignment is not the
only option that may be set, I'm just using it as an
example. Warnings could be disabled, and - my ulterior motive -
I have a few problematic BCB compiler options that I would like
to control.)
This sort of thing helps a library to play nicely with any other
libraries or source code someone may be using. It somewhat
simplifies the instructions for setting up project that uses
ACE+TAO, and it lets developers change their compiler options
with abandon without breaking ACE+TAO.
Thanks to Christopher Kohlhoff <chris@kohlhoff.com> for
providing the patches.
Fri Mar 17 23:28:20 2000 Douglas C. Schmidt <schmidt@tango.cs.wustl.edu>
* examples/OS/Process/process.cpp (tokenize): Fixed a typo in the
code. Thanks to Byron Harris <harris_b@ociweb.com> for noticing
this.
Fri Mar 17 20:43:20 2000 Sangwoo Jin <swjinjin@sei.co.kr>
* ace/Makefile,Reactor.cpp,Object_Manager.{h,cpp}:
Added ACE_LACKS_ACE_SVCCONF support.
Fri Mar 17 09:39:52 2000 Steve Huston <shuston@riverace.com>
* Makefile.am: Added ChangeLog-99b to the EXTRA_DIST list.
Fri Mar 17 00:18:40 2000 Douglas C. Schmidt <schmidt@tango.cs.wustl.edu>
* examples/QOS/Sender_QOS_Event_Handler.cpp (handle_qos):
Make sure to cast the const char* to void* to avoid compiler
warnings. Thanks to Craig Rodrigues <rodrigc@mediaone.net> for
reporting this.
Thu Mar 16 11:51:49 2000 Darrell Brunsch <brunsch@uci.edu>
* ace/MEM_SAP.i:
* ace/Malloc_T.cpp:
The ACE_TRACE macros were incompatible with SEH. Conditionally
compiled the ACE_TRACE statements in places where this was a
problem. Thanks to Edan Ayal <edanayal@yahoo.com> for reporting
this.
Thu Mar 16 13:40:53 2000 David L. Levine <levine@cs.wustl.edu>
* ace/config-sunos5.5.h: just #define ACE_USES_OLD_IOSTREAMS,
don't #define it explicitly to 1. This removes a source
of confusion: changing the 1 to 0 didn't disable the feature.
Thanks to Charles Scott <Charles.P.Scott@jpl.nasa.gov> for
reporting this.
Thu Mar 16 13:01:02 2000 Douglas C. Schmidt <schmidt@tango.cs.wustl.edu>
* ACE-INSTALL.html: Clarified some of the installation instructions for
building ACE. Thanks to Jeff Graham <jgraham@lincom-asg.com> for
contributing these.
* ace/Event_Handler.h: Clarified the comments for handle_timeout().
Thanks to Jonathan Reis <reis@stentorsoft.com> for this
suggestion.
Thu Mar 16 12:47:01 2000 David L. Levine <levine@cs.wustl.edu>
* ace/OS.cpp (thr_create): check for stacksize <
ACE_HAS_HUGE_THREAD_STACKSIZE on all platforms,
not just those with PTHREADS. Thanks to
Richard L. Johnson <Richard.L.Johnson@jpl.nasa.gov>
for reporting this.
Wed Mar 15 23:21:04 2000 Nanbor Wang <nanbor@cs.wustl.edu>
* ace/Configuration.cpp: Changed from using ACE_TString::rep() to
ACE_TString::fast_rep() to avoid memory leaks. Thanks to for
reporting this and suggesting the fix.
Also removed a call to add_ref() from the constructor of
ACE_Section_Key_Win32. It was causing another memory leak.
Wed Mar 15 21:18:19 2000 David L. Levine <levine@cs.wustl.edu>
* include/makeinclude/platform_lynxos.GNU: set
ACE_HAS_GNUG_PRE_2_8 to 1 for LynxOS 2.5.0, because
its g++ doesn't support -fno-exceptions.
Wed Mar 15 20:51:21 2000 Chad Elliott <elliott_c@ociweb.com>
* ace/OS.h,ace/ACE.cpp,ace/config-chorus.h,
include/makeinclude/platform_chorus4.x_g++.GNU:
added Chorus 4.0 support.
Wed Mar 15 20:47:12 2000 David L. Levine <levine@cs.wustl.edu>
* ace/ACE.h: moved #include of OS.h inside the #ifndef ACE_ACE_H
protection. OS.h no longer depends on ACE.h, so there's no
circular include problem. Thanks to Espen Harlinn
<espen.harlinn@seamos.no> for reporting this.
Wed Mar 15 20:43:14 2000 David L. Levine <levine@cs.wustl.edu>
* ace/OS.cpp (thr_keycreate): rearranged ::pthread_keycreate ()
calls so that ACE_HAS_STDARG_THR_DEST is only used with
ACE_HAS_PTHREADS_DRAFT4.
Wed Mar 15 17:30:57 2000 Balachandran <bala@cs.wustl.edu>
* ACE version 5.1 released.
Wed Mar 15 15:17:19 2000 Charles Scott <Charles.P.Scott@jpl.nasa.gov>
* include/makeinclude/platform_vxworks5.x_ghs.GNU: added
--stdle --exceptions to CCFLAGS if exceptions are enabled.
Tue Mar 14 15:01:46 2000 Steve Huston <shuston@riverace.com>
* tests/Malloc_Test.cpp: Disable mapping the file into different
address ranges for HP-UX because the PA-RISC architecture does not
allow it. See the DEPENDENCIES section of the mmap man page for
all the details.
Mon Mar 13 22:18:20 2000 David L. Levine <levine@cs.wustl.edu>
* bin/create_ace_build: default $directory_mode to 0777,
because it gets modified by the umask anyways. Thanks
to Dave Meyer <dmeyer@std.saic.com> for suggesting this.
Mon Mar 13 10:16:53 2000 Bala <bala@cs.wustl.edu>
* ACE version 5.0.16 released.
Sun Mar 12 21:10:13 2000 David L. Levine <levine@cs.wustl.edu>
* many Makefiles: updated dependencies.
Fri Mar 10 00:17:37 2000 Douglas C. Schmidt <schmidt@tango.cs.wustl.edu>
* netsvcs/ACE-netsvcs.html: Updated this document. Thanks to
Charles Meier <cmeier@concentus-tech.com> for contributing this.
* ace/WIN32_Proactor.cpp (ACE_WIN32_Proactor): Replaced
this->completion_port_ with 0 in the call to
CreateIoCompletionPort() to make it more clear what's going on.
* ace/SPIPE_Acceptor.cpp: Very minor reformatting of the code to
conform to ACE guidelines.
Thu Mar 09 23:12:39 2000 Nanbor Wang <nanbor@cs.wustl.edu>
* ace/OS.i (flock_init): On Win32, the hEvent in strut overlapped
should initialized to NULL. This was causing Naming_Test to
fail on Windows 2000. Thanks to <cody.dean@mindspring.com> for
pointing this out. [Bug 485]
Thu Mar 9 19:49:00 2000 Douglas C. Schmidt <schmidt@tango.cs.wustl.edu>
* ace/Reactor.h: Clarified that ACE_Reactor::end_event_loop() should
only be used for the "singleton reactor" and not for user defined
reactors. Thanks to Adrian Miranda <ade@psg.com> for motivating
this.
Thu Mar 09 18:20:00 2000 Angelo Corsaro <corsaro@cs.wustl.edu>
* ace/Asynch_IO.h:
* ace/Asynch_IO_Impl.h:
* ace/POSIX_Asynch_IO.h:
* ace/POSIX_Proactor.h:
* ace/Proactor.h:
* ace/Proactor_Impl.h:
* ace/WIN32_Asynch_IO.h:
* ace/WIN32_Proactor.h:
* ace/config-aix-4.1.x.h:
* ace/config-aix-4.2.x.h:
* ace/config-aix-4.3.x.h:
These files were using the #if !defined (WHATEVER) as multiple
inclusion guard instead of #ifndef WHATEVER. Thanks to Paul
Calabrese <calabrese_p@ociweb.com> for reporting that.
* ace/config-visualage.h:
* ace/CLASSIX/CLASSIX_Port_Default.h:
* ace/Svc_Conf_Tokens.h:
While this file were missing multiple inclusion guard. Thanks to
Paul Calabrese <calabrese_p@ociweb.com> for reporting that.
Thu Mar 09 18:06:52 2000 Steve Huston <shuston@riverace.com>
* ace/config-hpux-11.00.h: Added ACE_HAS_SIGTIMEDWAIT and the
ACE_PI_CONTROL_BLOCK_ALIGN_LONGS that Nanbor did for
config-hpux-10.x.h Wed Mar 8. There is still an assert failure
in Malloc_Test, so something is wrong there.
Thu Mar 09 17:47:41 2000 Steve Huston <shuston@riverace.com>
* ace/config-aix-4.x.h: Added ACE_HAS_SIGTIMEDWAIT.
Thu Mar 09 17:35:31 2000 Steve Huston <shuston@riverace.com>
* ace/Log_Msg.cpp (log): Related to Tue Mar 7 and Wed Mar 8; change the
static cast to a C-style cast and put in comments explaining that
depending on the underlying type of thread ID, sometimes a static
cast is needed, and sometimes a reinterpret cast, so we dropped
back and punted to a C-style cast. Thanks to Loren Rittle and
Bala for working this stuff out.
Thu Mar 09 17:01:23 2000 Steve Huston <shuston@riverace.com>
* ace/Naming_Context.cpp (ACE_Name_Options ctor): When allocating
space for the temp dir path, take the size of a char into account
to get enough for Unicode characters. Fixes Bugzilla #480.
Thu Mar 09 15:30:41 2000 David L. Levine <levine@cs.wustl.edu>
* ace/ACE.h (init, fini): added comments that these methods
can only be called once per program invocation. Thanks to
Chris Hafey <chris@stentorsoft.com> for reporting that an
init ()/fini ()/init () sequence fails.
Thu Mar 09 12:57:14 2000 Nanbor Wang <nanbor@cs.wustl.edu>
* tests/Time_Service_Test.cpp (main): Fixed several UNICODE
related problems. Thanks to Steve H. for reporting this.
Thu Mar 9 09:23:10 2000 Ossama Othman <ossama@uci.edu>
* bin/make_release (create_kit):
Change to the destination directory prior to invoking `md5sum'
on the file for which an MD5 checksum is being generated. This
was necessary to prevent the absolute path of the file from
being used as part of the checksum.
In any case, MD5 checksum generation is now working. [Bug 48]
(tag):
Confirmed that the missing Makefile templates now get installed
in the ACE betas/releases (no changes, just confirmation).
[Bug 408]
Thu Mar 9 11:01:34 2000 Douglas C. Schmidt <schmidt@tango.cs.wustl.edu>
* ace/Configuration.h: Changed export_config()/import_config() to
be virtual methods so users can change how the config files are
implemented. Thanks to Damien Dufour
<damien.dufour@horoquartz.fr> for reporting this.
Thu Mar 09 10:41:24 2000 Steve Huston <shuston@riverace.com>
* ace/NT_Service.(h cpp): Added !defined(ACE_HAS_PHARLAP) to the
if defined (ACE_HAS_WIN32) to prevent this feature from being
built on PharLap. Thanks to David Hauck <davidh@realtimeint.com>
for reporting this and suggesting a fix.
Wed Mar 08 22:19:26 2000 David L. Levine <levine@cs.wustl.edu>
* include/makeinclude/platform_vxworks5.x_g++.GNU:
moved VxWorks 5.4 (Tornado II) auto detection to
before CCFLAGS definition, so that it gets set
properly. Thanks to Thomas Lockhart
<Thomas.Lockhart@jpl.nasa.gov> for reporting this. [Bug 481]
Wed Mar 8 19:16:56 2000 Douglas C. Schmidt <schmidt@tango.cs.wustl.edu>
* tests/Time_Service_Test.cpp (main): Added the ASYS_TEXT macro
to the "ace-malloc-XXXXXX" string to avoid an error when
compiled with Unicode. Thanks to Steve Huston
<shuston@riverace.com> for reporting this. This fixes BUGID
479.
Wed Mar 8 19:19:46 2000 Nanbor Wang <nanbor@cs.wustl.edu>
* ace/config-irix6.x-common.h: Defined ACE_PI_CONTROL_BLOCK_ALIGN_LONGS
to 2.
Wed Mar 8 15:59:26 2000 Nanbor Wang <nanbor@cs.wustl.edu>
* ace/config-hpux-10.x.h: Defined ACE_PI_CONTROL_BLOCK_ALIGN_LONGS
to 2. The alignment computing macros didn't work in this case.
Thanks to Steve H. for reporting this.
Wed Mar 08 15:26:31 2000 Steve Huston <shuston@riverace.com>
* ace/ace-dll.icc: On AIX, the shared lib is now libACE.o and the
associated archive is libACE.a. Attempting to unify ACE with the
screwy way AIX does libraries. When the static library gets built,
it'll be called libACEns.a.
* tests/vacpp_setup.icc: On AIX, link libACE.a, not libACEshr.a
* tests/libDLL_Test.icc: New file to build the library required for
DLL_Test. Can't be built from DLL_Test.icc because the codestore
will complain that main() is already defined.
Wed Mar 08 14:46:52 2000 Steve Huston <shuston@riverace.com>
* ace/config-aix-4.x.h:
* include/makeinclude/platform_aix4_cset++.GNU: Allow building w/o
threads by including threads=0 on build command line. Include
-O2 compile option when optimize=1 is set on build command line.
Wed Mar 8 11:13:04 2000 Balachandran Natarajan <bala@cs.wustl.edu>
* ace/Log_Msg.cpp (log): Reverted this change.
Tue Mar 7 14:21:12 CST 2000 Loren Rittle
<rittle@rsch.comm.mot.com>. The change gave compile errors on
EGCS.
Wed Mar 8 01:33:21 2000 Christopher Kohlhoff <chris@kohlhoff.com>
* tests/Makefile.bor: Added new test Process_Manager_Test.
* include/makeinclude/compiler.bor, make_flags.bor: Added support
for BCB's codeguard memory checking tool.
* include/makeinclude/outputdir.bor: Allow a different directory
creation tool to be substituted for "mkdir" on Win9x.
Tue Mar 07 18:37:26 2000 Tom Ziomek <tomz@cc701.comm.mot.com>
* ace/Singleton.h: added comment to ACE_Unmanaged_Singleton
description to clarify that friend declaration must be
be for ACE_Unmanaged_Singleton.
Tue Mar 7 14:21:12 CST 2000 Loren Rittle <rittle@rsch.comm.mot.com>
* ace/Log_Msg.cpp (log): Correct cast usage, a reinterpret
cast was needed.
Tue Mar 07 11:00:10 2000 Douglas C. Schmidt <schmidt@tango.cs.wustl.edu>
* examples/Reactor/Proactor/test_proactor.cpp: Updated the comments
to make it clear how the ACE_Message_Block buffers are reused.
Thanks to Dong-Yueh Liu <dyliu@ms1.hinet.net> for suggesting
this.
Tue Mar 07 10:28:16 2000 bala <bala@cs.wustl.edu>
* ACE version 5.0.15 released.
Mon Mar 6 17:56:56 2000 Ossama Othman <ossama@uci.edu>
* bin/make_release (release_tag_files):
Added missing declaration of this variable.
Mon Mar 6 13:30:00 2000 Kirthika Parameswaran <kirthika@cs.wustl.edu>
* tests/run_tests.vxworks: Removed Cached_Conn_Test from the
list as this test fails for the current configuration. Until
researched completely, it has been disabled on vxworks.
Thanks to David Hall <David.Hall@grc.nasa.gov> for reporting
this bug.
Sun Mar 5 21:32:45 2000 Carlos O'Ryan <coryan@cs.wustl.edu>
* ace/CDR_Stream.cpp:
When allocating a new buffer in ACE_CDR::grow() we must leave
enough room for the buffer required by the user *and* space to
adjust the alignment. Thanks to Bala and Jeff for tracking this
down.
Fri Mar 03 17:01:54 2000 Steve Huston <shuston@riverace.com>
* tests/Malloc_Test.cpp: Changed a couple of straggling
ACE_HAS_POSITION_INDEPENDENT_MALLOC to
ACE_HAS_POSITION_INDEPENDENT_POINTERS.
Fri Mar 03 11:52:10 2000 David L. Levine <levine@cs.wustl.edu>
* include/makeinclude/rules.nested.GNU: added -f $(MAKEFILE)
to $(MAKE) invocation, to support overriding of the default
Makefile name. Added definition of MAKEFILE, if it is null.
Thanks to Wei Chiang <wei.chiang@nokia.com> for suggesting this.
* include/makeinclude/rules.local.GNU: changed test to see if
MAKEFILE macro isn't set from ifndef to ifeq null, for consistency
with above addition to rules.nested.GNU.
Thu Mar 2 13:23:39 2000 Douglas C. Schmidt <schmidt@tango.cs.wustl.edu>
* ace/TLI.cpp, TLI_Connector.cpp, TLI_Stream.cpp: Removed comments
regarding the quality of SunOS 4... Thanks to Malcolm Spence
<spence_m@ociweb.com> for reporting this!
Wed Mar 1 22:39:04 2000 Darrell Brunsch <brunsch@uci.edu>
* ace/Log_Record.cpp:
Thanks to Valery Arkhangorodsky <valerya@servicesoft.com>,
who took the time to figure out the code in round_up () and
spotted a mistake in it.
* examples/Shared_Malloc/test_persistence.cpp:
The last bug in my changes. Changing a pointer to an array
is not something to be done on a whim. Needed to change a
couple of "== 0" to strcpy's, etc.
Wed Mar 01 19:25:39 2000 Nanbor Wang <nanbor@cs.wustl.edu>
* ace/Based_Pointer_T.cpp:
* ace/Malloc.cpp: Replaced ACE_ASSERT (!"A STRING") with
ACE_ASSERT (0). Some brain-damaged compilers (i.e., Diab DCC
4.2b) can't handle this. Thanks to Bob Bouterse
<BBouterse@escient.com> for reporting and fixing this.
Wed Mar 1 16:29:55 2000 Ossama Othman <ossama@uci.edu>
* configure.in (ACE_HAS_ALT_CUSERID):
Wrapped the test for this macro with
ACE_CONVERT_WARNINGS_TO_ERRORS to cause implicit prototype
declaration warnings to be converted to errors when using
gcc < 2.95.2 (including egcs <= 1.1.x). This fixes a warning on
Red Hat 6.1 systems. Thanks to Rich Seibel
<seibel_r@ociweb.com> for providing a fix.
Tue Feb 29 23:36:29 2000 Nanbor Wang <nanbor@cs.wustl.edu>
* ace/README:
* ace/Thread_Manager.h:
* ace/Thread_Manager.i:
* ace/Thread_Manager.cpp (append_thr): Moved thread descriptor
reset statement into reset.
(reset): Added reset methods to
ACE_Thread_Descriptor and ACE_Thread_Descriptor_Base to reset
Thread_Descriptor back to its initialized state.
(ACE_Thread_Descriptor): Removed reset statements for
cleanup_info_. They are handle by ACE_Cleanup_Info's contructor
already.
(acquire_release): Added a macro
ACE_THREAD_MANAGER_USES_SAFE_SPAWN to disable double-checked
locking. When this macro is defined, a spawned thread will
always acquire the release the <sync_> lock before starting any
other initialization. This should avoid a potential race
condition on some platforms (i.e., DEC Alpha, Marced) using
aggressive read/write reordering strategies.
(spawn_i): Call <reset> method on the "new" thread descriptor
after acquiring a thread descriptor from the freelist. This
change moved most of the thread descriptor initialization code
from append_thr into <reset>, before spawning the thread.
Thanks to John Hickin <hickin@nortelnetworks.com> for motivating
these changes.
Tue Feb 29 21:18:12 2000 Darrell Brunsch <brunsch@uci.edu>
* ace/ACE.cpp:
One more warning cleaned up from my get_temp_dir () change.
Hopefully the last (crossing my fingers).
* ace/ace_dll.dsp:
* ace/ace_lib.dsp:
Missing some header files, thanks to Andres Kruse
<andres.kruse@creaturelabs.com> for noticing.
* ace/OS.h:
Even when ACE_HAS_WIN32_STRUCTURAL_EXCEPTIONS was not defined,
ACE_SEH_TRY and family was still being defined to the seh
commands (like __try) on Win32. When the above macro is not
defined, they are now noops. Thanks to Natarajan Kalpathy
<Natarajan_Kalpathy@mw.3com.com> for reporting this.
Tue Feb 29 16:40:43 2000 Carlos O'Ryan <coryan@uci.edu>
* ace/CDR_Stream.h:
* ace/CDR_Stream.i:
* ace/CDR_Stream.cpp:
Fixed alignment problems when inserting message blocks without
copying. The same fix was a good excuse to optimize the
OutputCDR class, as described in bug #160.
* ace/OS.h:
Use the ACE_ prefix in a couple of naked macros.
* ace/ACE.cpp:
Fixed the crc32 routine, it seems we inherited a bug from the
FreeBSD code. Thanks to Jonathan Reis <reis@stentorsoft.com>
for finding the bug and providing a patch for it.
Tue Feb 29 16:23:41 2000 Steve Huston <shuston@riverace.com>
* ace/Handle_Set.h: Added some explanation to a few ACE_Handle_Set
member functions to clarify their purpose and use.
Tue Feb 29 13:48:24 2000 Douglas C. Schmidt <schmidt@tango.cs.wustl.edu>
* ace/OS.h: Updated a comment about using ACE_Malloc for class-specific
allocations. Thanks to Boris Sukholitko <boris@webglide.com>
for reporting this.
Tue Feb 29 08:48:28 2000 Darrell Brunsch <brunsch@uci.edu>
* tests/Time_Service_Test.cpp: Enabled the test on Win32 and removed
a use of ACE_DEFAULT_BACKING_STORE.
Tue Feb 29 08:56:51 2000 David L. Levine <levine@cs.wustl.edu>
* include/makeinclude/platform_vxworks5.x_g++.GNU:
reverted this change:
Mon Feb 28 20:42:17 2000 David L. Levine <levine@cs.wustl.edu>
because it caused static constructors not to be called.
Thanks to Elias Sreih <sealstd1@nortelnetworks.com> for
reporting this.
Mon Feb 28 20:04:23 2000 Darrell Brunsch <brunsch@uci.edu>
* tests/Time_Service_Test.cpp: Missed a semicolon.
Mon Feb 28 20:42:17 2000 David L. Levine <levine@cs.wustl.edu>
* include/makeinclude/platform_vxworks5.x_g++.GNU:
with Tornado 2 (VxWorks 5.4) and later, use
ld$(TOOLENV) instead of ace_ld. Apparently, munch
is no longer required. Thanks to Elias Sreih
<sealstd1@nortelnetworks.com> for reporting that
ace_ld/munch caused undefined symbols for calls to
global ctors with Tornado 2.
Mon Feb 28 17:34:00 2000 Darrell Brunsch <brunsch@uci.edu>
* ace/ACE.h:
* ace/ACE.cpp:
The Unix and Win32 behavior for get_temp_dir () wasn't consistent.
Now both will return -1 if there is any problem such as the buffer
not being long enough.
Mon Feb 28 09:20:27 2000 Darrell Brunsch <brunsch@uci.edu>
* ace/ACE.h:
* ace/ACE.cpp:
Added get_temp_dir () method that fills a buffer with the path
for the temporary directory. ACE has previously hardcoded the
path. The right way is to find the path at runtime, especially on
Win32 where the TEMP directory can be different from machine to
machine (or even different for each user).
* ace/OS.h:
* ace/FILE_Addr.cpp:
* ace/MEM_Acceptor.cpp:
* ace/Memory_Pool.cpp:
* ace/Naming_Context.cpp:
* ace/Naming_Context.h:
* ace/System_Time.cpp:
* ace/System_Time.h:
* examples/Shared_Malloc/test_persistence.cpp:
* netsvcs/lib/Logging_Strategy.cpp:
* netsvcs/lib/Logging_Strategy.h:
* netsvcs/lib/TS_Clerk_Handler.cpp:
* tests/Time_Service_Test.cpp:
Removed the macro definitions that used C:\\temp:
ACE_DEFAULT_BACKING_STORE
ACE_DEFAULT_TEMP_FILE
ACE_DEFAULT_LOGFILE
ACE_DEFAULT_NAMESPACE
The default path in these cases are now found by using the
ACE::get_temp_dir method. The macros are still supported in
that they can still be used to override the default case.
* tests/test_config.h:
* tests/MM_Shared_Memory_Test.cpp:
* tests/Mem_Map_Test.cpp:
* tests/Process_Strategy_Test.cpp:
* tests/Process_Strategy_Test.h:
Removed the macro definitions for:
ACE_DEFAULT_TEST_FILE
ACE_TEMP_FILE_NAME
ACE_LOG_DIRECTORY
and replaced with ACE::get_temp_dir.
Also changed the default log file directory on Win32 to be in
the log subdirectory. So now both Unix and NT have the same
behavior, the logs will be written to $ACE_ROOT/tests/log.
* tests/ACE_Init_Test.res: (removed)
This file was giving me warnings when I built, and since it
should be generated from the .rc file, I don't think it should
be in the repository.
* tests/Process_Manager_Test.cpp:
* tests/Process_Manager_Test.dsp: (added)
* tests/version_tests/Process_Manager_Test.dsp: (added)
* tests/tests.dsw:
* tests/version_tests/version_tests.dsw:
Enabled the Process_Manager_Test on NT and created a MSVC
workspace for it. Also fixed some miscellaneous UNICODE issues.
* tests/run_tests.bat:
Added the Process_Manager_Test and changed the location of the
log files.
* tests/README:
Changed the location of the output of the log files.
Mon Feb 28 09:16:40 2000 Ossama Othman <ossama@uci.edu>
* ace/Local_Tokens.cpp (ACE_TPQ_Entry):
Removed cast of ACE_thread_t to long unsigned int since some
platforms (e.g. HPUX) declare the underlying thread type as a
structure. This change reverts back to the version prior to
Steve's change.
Mon Feb 28 08:33:43 2000 Zoran Ivanovic <Zoran_Ivanovic@i2.com>
* docs/ACE-guidelines.html: fixed typo, in example
#include directive (Foo_T.i instead of Active_Map_Manager_T.i).
Sun Feb 27 16:20:43 2000 Douglas C. Schmidt <schmidt@tango.cs.wustl.edu>
* ace/Synch_T.h: Made the ACE_TSS_Type_Adapter operator TYPE() a const
to avoid overloading ambiguities. Thanks to Bruce McIntosh
<Bruce.McIntosh@australia.boeing.com> for reporting this.
* ace/TP_Reactor.h: Improved the comments.
Sat Feb 26 19:52:01 2000 Carlos O'Ryan <coryan@uci.edu>
* ace/CDR_Stream.cpp:
The grow() function was re-allocating the buffer even when there
was just enough memory, i.e. this was an off-by-one error, in
the form of a < instead of <= comparison. When it finally
decided to grow the buffer it was using the global heap instead
of the allocators in the message block, which may be more
efficient.
Sat Feb 26 19:47:05 2000 Ossama Othman <ossama@uci.edu>
* ace/Local_Tokens.cpp (ACE_TPQ_Entry):
Needed to go a step further. Taking the jackhammer approach by
switching to a C style cast until a better solution presents
itself.
Sat Feb 26 13:40:57 2000 Ossama Othman <ossama@uci.edu>
* ace/Local_Tokens.cpp (ACE_TPQ_Entry):
Compaq C++ doesn't like the static cast from ACE_thread_t to
long unsigned int. Take the sledgehammer approach and use a
reinterpret cast instead.
Sat Feb 26 13:20:13 2000 Ossama Othman <ossama@uci.edu>
* ace/OS.h (INADDR_LOOPBACK):
Define this macro to hexidecimal value of the loopback address
127.0.0.1 (0x7f000001). LynxOS doesn't define this constant.
Fri Feb 25 16:50:37 2000 Steve Huston <shuston@riverace.com>
* ace/Profile_Timer.cpp (ACE_Profile_Timer ctor):
* ace/Log_Msg.cpp (format_msg):
* ace/Local_Tokens.cpp (ACE_TPQ_Entry::ACE_TPQ_Entry):
Fixed to avoid a gcc 2.95 warning about mismatch format/arg types.
Fri Feb 25 14:56:41 2000 Steve Huston <shuston@riverace.com>
* include/makeinclude/platform_aix_vacpp.GNU: New file for use
with Visual Age C++ on AIX. It isn't really needed for much at this
point except building the tests via Makefile. If you like doing
everything directly with vacbld without the aid of ACE's make
scheme, you don't need to use this.
Fri Feb 25 14:48:31 2000 Steve Huston <shuston@riverace.com>
* include/makeinclude/rules.bin.GNU: Add a rule to build a binary
based on a Visual Age C++ configuration (.icc file) and sources.
This allows building using Makefile, but defers all the real work
to Visual Age C++ builder (vacbld). Useful for building the ACE
tests especially.
Fri Feb 25 14:44:37 2000 Steve Huston <shuston@riverace.com>
* include/makeinclude/rules.local.GNU: Add *.ics to files deleted
in cleanup. This cleans up Visual Age C++ codestores.
Fri Feb 25 13:06:14 2000 David L. Levine <levine@cs.wustl.edu>
* include/makeinclude/platform_vxworks5.x_{ghs,g++}.GNU:
updated platform information to reflect that these
files are intended for VxWorks 5.3.1 and later.
Fri Feb 25 13:03:35 2000 Fernando D. Mato Mira <matomira@iname.com>
* include/makeinclude/platform_vxworks5.x_{diab,g++}.GNU:
added PPC603 support.
Fri Feb 25 10:47:33 2000 Douglas C. Schmidt <schmidt@tango.cs.wustl.edu>
* ace/config-win32-msvc.h,
* ace/config-win32-borland.h: Added ACE_INT64_FORMAT_SPECIFIER
for both platforms. Thanks to Christopher
Kohlhoff <chris@kohlhoff.com> for providing the fix.
Thu Feb 24 15:55:16 2000 Steve Huston <shuston@riverace.com>
* ace/Timer_Heap_T.cpp: Added "&& defined (_WINDOWS)" to all the places
where memory alloc sizes had been faked out on conditionals selecting
Visual Age C++. The reported issues that originated the conditions
are not problems for AIX; with the conditional code in, tests
failed due to memory corruptions.
Thu Feb 24 15:44:42 2000 Steve Huston <shuston@riverace.com>
* ace/ace-dll.icc: Added Capabilities.h and Capabilities.cpp.
Thu Feb 24 12:35:31 2000 Steve Huston <shuston@riverace.com>
* tests/ARGV_Test.icc:
* tests/Auto_IncDec_Test.icc:
* tests/CDR_File_Test.icc:
* tests/Cache_Map_Manager_Test.icc:
* tests/Cached_Accept_Conn_Test.icc:
* tests/Cached_Conn_Test.icc:
* tests/Capabilities_Test.icc:
* tests/FlReactor_Test.icc:
* tests/Future_Set_Test.icc:
* tests/Hash_Map_Bucket_Iterator_Test.icc:
* tests/Lazy_Map_Manager_Test.icc:
* tests/Log_Msg_Test.icc:
* tests/Malloc_Test.icc:
* tests/New_Fail_Test.icc:
* tests/Object_Manager_Test.icc:
* tests/Process_Manager_Test.icc:
* tests/Reverse_Lock_Test.icc:
* tests/SOCK_Send_Recv_Test.icc:
* tests/Signal_Test.icc:
* tests/Svc_Handler_Test.icc:
* tests/TkReactor_Test.icc:
New test configuration files for use w/ Visual Age C++, NT and AIX.
* tests/Aio_Platform_Test.icc:
* tests/Atomic_Op_Test.icc:
* tests/Barrier_Test.icc:
* tests/Basic_Types_Test.icc:
* tests/Buffer_Stream_Test.icc:
* tests/CDR_Test.icc:
* tests/Collection_Test.icc:
* tests/Conn_Test.icc:
* tests/DLL_Test.icc:
* tests/DLList_Test.icc:
* tests/Dynamic_Priority_Test.icc:
* tests/Enum_Interfaces_Test.icc:
* tests/Env_Value_Test.icc:
* tests/Future_Test.icc:
* tests/Handle_Set_Test.icc:
* tests/Hash_Map_Manager_Test.icc:
* tests/High_Res_Timer_Test.icc:
* tests/IOStream_Test.icc:
* tests/MM_Shared_Memory_Test.icc:
* tests/MT_Reactor_Timer_Test.icc:
* tests/MT_SOCK_Test.icc:
* tests/Map_Manager_Test.icc:
* tests/Map_Test.icc:
* tests/Mem_Map_Test.icc:
* tests/Message_Block_Test.icc:
* tests/Message_Queue_Notifications_Test.icc:
* tests/Message_Queue_Test.icc:
* tests/Naming_Test.icc:
* tests/Notify_Performance_Test.icc:
* tests/OrdMultiSet_Test.icc:
* tests/Pipe_Test.icc:
* tests/Priority_Buffer_Test.icc:
* tests/Priority_Reactor_Test.icc:
* tests/Priority_Task_Test.icc:
* tests/Process_Mutex_Test.icc:
* tests/Process_Strategy_Test.icc:
* tests/Purgable_Map_Manager_Test.icc:
* tests/RB_Tree_Test.icc:
* tests/Reactor_Exceptions_Test.icc:
* tests/Reactor_Notify_Test.icc:
* tests/Reactor_Performance_Test.icc:
* tests/Reactor_Timer_Test.icc:
* tests/Reactors_Test.icc:
* tests/Reader_Writer_Test.icc:
* tests/Recursive_Mutex_Test.icc:
* tests/SOCK_Connector_Test.icc:
* tests/SOCK_Test.icc:
* tests/SPIPE_Test.icc:
* tests/SString_Test.icc:
* tests/SV_Shared_Memory_Test.icc:
* tests/Semaphore_Test.icc:
* tests/Service_Config_Test.icc:
* tests/Sigset_Ops_Test.icc:
* tests/Simple_Message_Block_Test.icc:
* tests/TSS_Test.icc:
* tests/Task_Test.icc:
* tests/Thread_Manager_Test.icc:
* tests/Thread_Mutex_Test.icc:
* tests/Thread_Pool_Reactor_Test.icc:
* tests/Thread_Pool_Test.icc:
* tests/Time_Service_Test.icc:
* tests/Time_Value_Test.icc:
* tests/Timeprobe_Test.icc:
* tests/Timer_Queue_Test.icc:
* tests/Tokens_Test.icc:
* tests/UPIPE_SAP_Test.icc:
* tests/Upgradable_RW_Test.icc:
* tests/XtReactor_Test.icc:
Changed to work for both NT and AIX Visual Age C++, using new
vacpp_setup.icc file, added below.
Thu Feb 24 12:15:46 2000 Steve Huston <shuston@riverace.com>
* tests/makeicc.pl: Corrected to write Id variable in new .icc
file properly.
Thu Feb 24 01:52:51 2000 Nanbor Wang <nanbor@cs.wustl.edu>
* ace/Thread_Manager.cpp (append_thr): Moved the setting of
THR_SPAWNED state down to right before releasing the thread
creation lock. Hopefully, this will eliminate a warning about a
non-existing race condition from KAI Assure. Thanks to John
Hickin <hickin@nortelnetworks.com> for reporting this.
Wed Feb 23 23:52:15 2000 Douglas C. Schmidt <schmidt@mambo.cs.wustl.edu>
* ace/Log_Msg.h: Added a hack to work around nasty libraries
that #define THREAD 1. Thanks to Pierre Oberson
<oberson@nagra-kudelski.ch> for reporting this.
Wed Feb 23 19:37:29 2000 Carlos O'Ryan <coryan@uci.edu>
* tests/Dynamic_Priority_Test.cpp:
More stuff that is not used unless ACE_HAS_TIMED_MESSAGE_BLOCKS
is defined.
Wed Feb 23 18:58:06 2000 Douglas C. Schmidt <schmidt@tango.cs.wustl.edu>
* ace/Synch.i (lock): Make sure that ACE_File_Lock::set_handle()
sets this->removed_ = 0. Thanks to Sanwoo Jin
<swjinjin@sei.co.kr> for reporting this.
* tests/FlReactor_Test.cpp (main): Minor reformatting.
* ace/config-win32-borland.h: When you define _DEBUG the orbsvcs
dll exports all "inline" functions, and this seems to be too
much for BCB4 linker. Thaddeus L. Olczyk
<olczyk@interaccess.com> reported this problem and Christopher
Kohlhoff <chris@kohlhoff.com> provided the fix.
* ace/OS,
ace/Synch: Added a new parameter to flock_destroy() and
ACE_File_Lock::remove() that controls whether the lockfile is
removed when the filelock is destroyed. By default, this is
"enabled" so the existing semantics don't change. Thanks to
Sanwoo Jin <swjinjin@sei.co.kr> for suggesting this.
Wed Feb 23 17:02:34 2000 Steve Huston <shuston@riverace.com>
* tests/vacpp_setup.icc: Settings for Visual Age C++ which are included
in the individual tests' VAC++ configurations. Captures all of the
platform (AIX vs. NT) differences in one place.
* tests/makeicc.pl: Changed to generate .icc files that work on either
NT or AIX, using the above vacpp_setup.icc.
Wed Feb 23 16:54:31 2000 Steve Huston <shuston@riverace.com>
* ace/Based_Pointer_Repository.cpp (ACE_Based_Pointer_Repository_Rep):
Moved typedefs for MAP_MANAGER, MAP_ITERATOR, MAP_ENTRY inside
the class definition so they don't conflict with other types of
the same name (Visual Age C++ sees all of them at once, even if
other compilers may never see those two definitions in the same
compilation unit ever).
Wed Feb 23 14:48:52 2000 Steve Huston <shuston@riverace.com>
* ace/ace-dll.icc: Platform-specifics further segmented out to make
Visual Age C++ builds work for both NT and AIX. Removed Multiplexor.h
and Multiplexor.cpp since those files are not used. Added
Based_Pointer_Repository.(cpp h).
* ace/OS.i (getpwnam_r): Add a condition for the Visual Age C++ on
AIX compiler - it can't correctly handle the ::getpwnam_r call.
Wed Feb 23 14:45:21 2000 Carlos O'Ryan <coryan@uci.edu>
* ace/Message_Block.cpp:
* tests/Dynamic_Priority_Test.cpp:
Fixed warnings when compiling without
ACE_HAS_TIMED_MESSAGE_BLOCKS defined.
Wed Feb 23 12:19:51 2000 Ossama Othman <ossama@uci.edu>
* ace/OS.i (ACE_LACKS_SETREUID_PROTOTYPE,
ACE_LACKS_SETREGID_PROTOTYPE):
If either _BSD_SOURCE, _XOPEN_SOURCE or _XOPEN_SOURCE_EXTENEDED
is defined then do not allow the prototypes corresponding to
these macros to become visible since defining any of these
macros may make the real prototypes in the system headers
visible. Thanks to Rich Seibel <seibel_r@ociweb.com> for
pointing this out.
Tue Feb 22 21:11:03 2000 Ossama Othman <ossama@uci.edu>
* configure.in (ACE_HAS_XPG4_MULTIBYTE_CHAR):
Added test for wcslen(). Only define this macro if both the
wchar_t type and the wcslen() function exist. This fixes a link
problem on a ACE+autoconf QNX build.
Tue Feb 22 20:56:51 2000 Ossama Othman <ossama@uci.edu>
* config.guess:
Updated to latest version from the GNU CVS repository.
* config.sub:
Merged my QNX Neutrino patches into the latest version from the
GNU CVS repository.
Tue Feb 22 20:09:14 2000 Ossama Othman <ossama@uci.edu>
* config.sub:
Added support for QNX Neutrino. Hosts specifications such as
"i386-nto," "i386-qnx," "i386-qnx-nto," etc, will now be
accepted by the configure script's "--host" command line
option. A patch has been sent to the upstream maintainers of
this script.
* ace/OS.cpp (unique_name):
Fixed warning about mismatched format specifier by explicitly
casting the result of ACE_OS::getpid(), a "pid_t," to an "int."
* ace/OS.h (ACE_LOFF_T):
QNX Nuetrino has a 64-bit offset type, "off64_t."
* m4/platform.m4 (ACE_SET_PLATFORM_MACROS):
Added support for QNX Neutrino.
Tue Feb 22 17:42:09 2000 Douglas C. Schmidt <schmidt@tango.cs.wustl.edu>
* ace/Synch.cpp: Reset the ACE_File_Lock::remove_ data member to
0 in the open() method so that it can be reused. Thanks to
Sanwoo Jin <swjinjin@sei.co.kr> for reporting this.
Tue Feb 22 13:57:32 2000 Irfan Pyarali <irfan@cs.wustl.edu>
* ace/ACE.cpp (send_n and recv_n): Reduced the number of calls to
message_block->length () by caching the value. Also inlined
some of the smaller functions.
Tue Feb 22 12:29:44 2000 Ossama Othman <ossama@uci.edu>
* m4/threads.m4 (ACE_CHECK_THREAD_FLAGS):
Added run-time tests to this M4 macro to get around the annoying
fact that some platforms implement no-op thread function stubs,
which cause link-time tests to pass. The run-time tests check
the return value of pthread_create() and/or thr_create() to
determine if the function is working or not. The cross-compiled
case falls back on the link-time test. This fixes a problem on
Solaris with both Sun C++ and g++.
Tue Feb 22 14:00:38 2000 David L. Levine <levine@cs.wustl.edu>
* ace/OS.i (cond_timedwait): added pSOS support. Thanks
to Sarmeesha Reddy <sarmeesha@bigfoot.com> for the
implementation.
Tue Feb 22 09:52:50 2000 Ossama Othman <ossama@uci.edu>
* ace/config-linux-common.h (ACE_HAS_PROC_FS):
A conflict appears when including both <ucontext.h> and
<sys/procfs.h> with recent glibc headers, so don't define it.
However, at some point we should redefine this macro since the
latest glibc fixes this problem.
Tue Feb 22 09:16:29 2000 Balachandran Natarajan <bala@cs.wustl.edu>
* ace/streams.h: Commented out an inclusion of the file
<iomanip.h> as this was causing problems with Qt.
* ace/Signal.h: One of the variables for the constructors of
ACE_Sig_Action was named as "signals". This apparently causes
conflict with the Qt library as the library has a macro by that
name. So it was changed as "signalss". Thanks to James Briggs
<James.Briggs@dsto.defence.gov.au> for reporting this.
Tue Feb 22 01:52:09 2000 Douglas C. Schmidt <schmidt@tango.cs.wustl.edu>
* ace/Message_Block.cpp: Refactored the code in duplicate()
and clone() so that it doesn't have macro within macros.
Thanks to Nanbor for reporting this.
Tue Feb 22 01:19:40 2000 Nanbor Wang <nanbor@cs.wustl.edu>
* ace/MEM_IO.h: Added more comments.
Tue Feb 22 00:39:03 2000 Nanbor Wang <nanbor@cs.wustl.edu>
* ace/MEM_IO.h: Changed method fetch_recv_buf as protected and
added some missing comments.
* ace/MEM_Acceptor.h:
* ace/MEM_Connector.h: Added some missing comments.
Mon Feb 21 20:40:37 2000 Douglas C. Schmidt <schmidt@tango.cs.wustl.edu>
* ace/MEM_*: Minor modifications to formatting here.
* tests/Dynamic_Priority_Test.cpp: Only run this test if
ACE_HAS_TIMED_MESSAGE_BLOCKS is enabled.
* ace/Message_Block: By default, the deadline_time_ and execution_time_
data members are now omitted and their accessor/mutator
operations rendered "no-op"s unless ACE_HAS_TIMED_MESSAGE_BLOCKS
is enabled. This is necessary to avoid an unnecessary 16 bytes
per-Message_Block. Thanks to Irfan for pointing this out.
Mon Feb 21 17:22:33 2000 Ossama Othman <ossama@uci.edu>
* configure.in (ACE_LACKS_SETREUID):
Fixed typo.
(ACE_HAS_SOCKADDR_MSG_NAME):
Fixed broken test. A `struct sockaddr' was being cast to a
`struct sockaddr *', which is obviously broken. This fix has
the side effect of causing ACE_HAS_SOCKADDR_MSG_NAME to be
defined on platforms where the "msg_name" field of the "msghdr"
structure is a `void*', such as Linux and Solaris. This isn't
necessarily a bad thing since it is perfectly valid.
(ACE_HAS_VOIDPTR_SOCKOPT, ACE_HAS_CHARPTR_SOCKOPT):
Fixed the tests for these two macros. The fifth "optlen"
argument to setsockopt() was being passed in as a pointer to
some integral type. The "optlen" argument to setsockopt() is
not a pointer. Rather, it should be one of the following:
socklen_t, size_t or int. The appropriate type for "optlen"
will be determined from previous tests, such as the test for
socklen_t.
The test for ACE_HAS_CHARPTR_SOCKOPT will now only be run if the
test for ACE_HAS_VOIDPTR_SOCKOPT fails.
Mon Feb 21 16:23:03 2000 Ossama Othman <ossama@uci.edu>
Thanks to Rich Seibel <seibel_r@ociweb.com> for providing the
highly detailed feedback that led to the following changes/fixes:
* THANKS:
Added Rich Seibel <seibel_r@ociweb.com> to the list of
contributors.
* acconfig.h (ACE_HAS_IOMANIP_NO_H):
Removed this macro since it isn't used anywhere.
(ACE_LACKS_SETREGID_PROTO, ACE_LACKS_SETREUID_PROTO):
These should have been ACE_LACKS_SETREGID_PROTOTYPE, and
ACE_LACKS_SETREUID_PROTOTYPE, respectively.
* configure.in (ACE_HAS_IOMANIP_NO_H):
Removed the test for this macro. It isn't used anywhere.
(ACE_HAS_SIZET_SOCKET_LEN):
Only test for this macro if ACE_HAS_SOCKLEN_T isn't defined.
(ACE_LACKS_SETREGID_PROTO, ACE_LACKS_SETREUID_PROTO):
These should have been ACE_LACKS_SETREGID_PROTOTYPE, and
ACE_LACKS_SETREUID_PROTOTYPE, respectively.
Added "-U_BSD_SOURCE" to list of macros to undefine for each of
the tests for these macros. Defining "_BSD_SOURCE" on some
platforms may make the prototypes corresponding to the above
macros visible, so we need to explicitly undefine it.
* ace/config-linux-common.h (ACE_HAS_PROCFS):
Corrected typo. This macro should have been ACE_HAS_PROC_FS.
Mon Feb 21 16:19:36 2000 Carlos O'Ryan <coryan@uci.edu>
* ace/OS.h:
Protect the definitions of the CDR macros, so users can override
them in their config.h file. Thanks to Jim Scheller
<csoftware@iname.com> for pointing this out.
* ace/CDR_Stream.h:
* ace/CDR_Stream.i:
* ace/CDR_Stream.cpp:
Fixed the algorithm to allocate new CDR blocks in the chain. In
all but a few weird cases it was allocating fixed sized blocks,
while the intention was to grow the size of the blocks to
minimize the number of allocations. Thanks to Jim Scheller
<csoftware@iname.com> for finding this problem.
Also added a new ACE_CDR::consolidate() method to reduce a
message block chain into a single message block (with proper
alignment). This is useful in the implementation of the CDR
streams and Anys.
Mon Feb 21 14:35:39 2000 Christopher Kohlhoff <chris@kohlhoff.com>
* ace/Makefile.bor: Added new files.
* tests/*.cpp, tests/test_config.h: Removed macros that had been
used by C++Builder 3.
* include/makeinclude/compiler.bor: Added support for C++Builder 5
VCL libs.
* include/makeinclude/recurse.bor, lots of Makefile.bor files:
Added support for makefile recursion.
Mon Feb 21 14:35:39 2000 Douglas C. Schmidt <schmidt@tango.cs.wustl.edu>
* include/makeinclude/compiler.bor: Increased the limit of
LIB_LFLAGS from 2048 to 4096. Thanks to Mogens Hansen
<mogens_h@dk-online.dk> for reporting this.
Mon Feb 21 15:43:01 2000 Nanbor Wang <nanbor@cs.wustl.edu>
* ace/MEM_SAP.h:
* ace/MEM_SAP.cpp (create_shm_malloc): Renamed the typedef
<MALLOC> to <MALLOC_TYPE> to avoid name clashing problem on GHS
cross compilers. Thanks to Bill Tovrea
<gwtovrea@west.raytheon.com> for reporting this and the help in
tracking this down.
Mon Feb 21 12:51:52 2000 Ossama Othman <ossama@uci.edu>
* Makefile (RELEASE_TAG_FILES):
Added `man/Makefile.am' to the list of files to be tagged at
release time.
Mon Feb 21 08:35:58 2000 Chad Elliott <elliott_c@ociweb.com>
* ace/config-hpux-11.00.h
Corrected a build problem with KCC. Things were lost in the
transition to the new header file.
Sun Feb 20 18:31:46 2000 Douglas C. Schmidt <schmidt@tango.cs.wustl.edu>
* ace: Removed ACED.cpp and ACER.cpp. These were only
needed by Borland C++Builder 3.0, which is not supported by ACE
(i.e., you need to upgrade to BCB 4.0 or later). Thanks to
Christopher Kohlhoff <chris@kohlhoff.com> for this fix.
Sun Feb 20 23:43:22 2000 Darrell Brunsch <brunsch@uci.edu>
* ace/ace_dll.dsp:
* ace/ace_lib.dsp:
Changed Base_Pointer_T.cpp to Based_Pointer_T.cpp.
Also synced ace_lib with ace_dll to bring up to date.
Sun Feb 20 11:33:09 2000 Ossama Othman <ossama@uci.edu>
* THANKS:
Added Todd Gruhn <tgruhn2@mail.com> to the list of
contributors.
* ace/config-netbsd.h:
Defined ACE_HAS_DIRENT, and undefined ACE_LACKS_SIGSET. Thanks
to Todd Gruhn <tgruhn2@mail.com> for confirming that these
changes were necessary.
Sat Feb 19 17:53:47 2000 Ossama Othman <ossama@uci.edu>
* bin/make_release (create_kit):
Another attempt to fix MD5 checksum generation at release time:
The problem was that an attempt to get the MD5 checksum for a
file in the current directory was being made, but that file had
already been moved to the destination FTP directory. Prepending
the destination directory to the filename should correct the
problem. MD5 checksum generation has been re-enabled.
Sat Feb 19 17:32:28 2000 Ossama Othman <ossama@uci.edu>
* Makefile (RELEASE_TAG_FILES):
Added this new variable. It contains a list of files that
should be tagged at release time, but shouldn't be listed in any
of the release/controlled file lists. This is necessary to
prevent multiple instances of the same file from being passed to
the `.zip' file creation command line. For example,
ACE_wrappers/man, ACE_wrappers/man/man3/Makefile.am and
ACE_wrappers/man/html/Makefile.am were all being passed to the
`.zip' file creation command line, resulting in duplicate file
names on that command line. Thanks to David for pointing this
out.
The `bin/make_release' script will use this new list of files
when tagging a release.
(show_release_tag_files):
Makefile target that lists files that should be tagged at
release time.
* bin/make_release:
Invoke "$make show_release_tag_files" to determine if there are
any additional files to tag at release time.
(tag):
Added "$release_tag_files" to list of files to be tagged by CVS
at release time. This fixes a problem where the man page
Makefile.am files were not being tagged, which also prevented
them from being distributed with the ACE distribution. [Bug 408]
Sat Feb 19 15:33:05 2000 David L. Levine <levine@cs.wustl.edu>
* ACE version 5.0.14 released.
Fri Feb 18 20:58:08 2000 Carlos O'Ryan <coryan@uci.edu>
* bin/auto_compile:
Do not send email if the build completed without errors.
Fri Feb 18 17:30:26 2000 Steve Huston <shuston@riverace.com>
* ace/config-hpux-11.00.h: Filled out with the known compiler settings
for g++, KCC, HP CC, and HP aC++. This is now the official HP-UX 11
config.h file for all compilers.
* ace/config-hpux-11.x-hpc++.h: This file is no longer in use. It
generates a compiler error if used. It is planned to go away
for ACE 5.1.
Fri Feb 18 10:25:45 2000 Carlos O'Ryan <coryan@cs.wustl.edu>
* ace/OS.h:
Workaround MSVC5 bug when invoking explicit destructors. Thanks
to Achim Stindt <stindt@conbis.de> for this fix.
Thu Feb 17 18:32:05 2000 Jeff Parsons <parsons@cs.wustl.edu>
* OS.h:
Removed the ACE_GLOBAL_COLONS macro I added yesterday.
Found another way to generate code with the IDL compiler
that doesn't need it.
Thu Feb 17 09:38:06 2000 David L. Levine <levine@cs.wustl.edu>
* tests/Reader_Writer_Test.cpp: use default n_iterations
of 25 and n_loops of 10 on VxWorks. With the old defaults,
the test took too long, e.g., 7 minutes on a 450 MHz
Pentium. With the new defaults, it takes about 20 seconds.
Thanks to Dave Hall <David.Hall@grc.nasa.gov> for reporting this.
Thu Feb 17 08:10:08 2000 Douglas C. Schmidt <schmidt@tango.cs.wustl.edu>
* ace/Service_Config.cpp (close_singletons): Don't bother calling
ACE_Proactor::close_singleton() on WinCE, Win95/98, or if
these's no support for AIO calls. Thanks to Sanwoo Jin
<swjinjin@sei.co.kr> for reporting this.
Wed Feb 16 17:03:31 2000 Steve Huston <shuston@riverace.com>
* tests/version_tests/version_tests.dsw: Add Capabilities_Test.dsp.
Wed Feb 16 14:53:05 2000 Jeff Parsons <parsons@cs.wustl.edu>
* ace/OS.h:
Added ACE_GLOBAL_COLONS macro. In certain cases in IDL files
where nested scoped names repeat (after skipping a scope so
it's legal), all comilers except SucCC 5.0 need the fully
scoped name with the global double colon in order to resolve
the name. SunCC 5.0, on the other hand, not only doesn't
need it, but outputs an error whenever it sees these global
double colons just inside an open paranthesis, for example,
(::foo::...). This macro is used in generating code in
just these instances so all comilers can be happy.
Tue Feb 15 22:57:59 2000 Nanbor Wang <nanbor@cs.wustl.edu>
* ace/MEM_IO.h:
* ace/MEM_IO.cpp (send): Added a new method that sends a chain of
Message_Block. This function aggregates the data in
Message_Block and copies them directly into shared memory.
Tue Feb 15 21:26:00 2000 David L. Levine <levine@cs.wustl.edu>
* examples/IPC_SAP/SOCK_SAP/FD-unserver.cpp,CPP-unserver.cpp (main),
examples/Reactor/Multicast/server.cpp (main),
examples/System_V_IPC/SV_Message_Queues/MQ_Server.cpp (main),
examples/System_V_IPC/SV_Message_Queues/TMQ_Server.cpp (main),
wrapped final return with ACE_NOTREACHED to please cxx T6.3-003.
Mon Feb 14 16:52:24 2000 David L. Levine <levine@cs.wustl.edu>
* include/makeinclude/platform_linux_cxx.GNU:
no longer need to explicitly link all of the
template instantiation files into shared libs.
-shared works properly with T6.3-003.
Mon Feb 14 12:21:01 2000 Chad Elliott <elliott_c@ociweb.com>
* ace/config-hpux-11.x-hpc++.h
Added a conditional include for the KCC common include file.
Modified the values of ACE_HAS_EXCEPTIONS and
ACE_LACKS_LINEBUFFERED_STREAMBUF to match those of the KCC
common header. This will not affect non-KCC builds on HP.
* include/makeinclude/platform_hpux_kcc.GNU
Added this file for building on HPUX with KCC.
* include/makeinclude/platform_sunos5_kcc.GNU
Modified to allow building static libraries.
* include/makeinclude/platform_linux_kcc.GNU
Modified to allow building static libraries.
Mon Feb 14 08:43:31 2000 Ossama Othman <ossama@uci.edu>
* acconfig.h:
Changed ACE_HAS_POSITION_INDEPENDENT_MALLOC macro to
ACE_HAS_POSITION_INDEPENDENT_POINTERS since the name changed in
ACE as well.
* configure.in (AC_LANG_CPLUSPLUS):
Set the test language to C++ earlier in the configure script to
make sure all tests are done using the C++ compiler.
(ACE_CONFIGURATION_OPTIONS, ACE_COMPILATION_OPTIONS):
Moved configure script option macros to new `m4/ace.m4' M4
macros file.
(ACE_TEMPLATES_REQUIRE_SOURCE,
ACE_HAS_EXPLICIT_TEMPLATE_INSTANTIATION,
ACE_HAS_TEMPLATE_INSTANTIATION_PRAGMA):
Overhauled the tests for these macros. Since there may be a
tight dependency between some of these macros, the
ACE_TEMPLATES_REQUIRE_SOURCE test also tests if either of the
other two macros are required. This fixes a problem that was
occurring with Sun C++ 5.0.
Corrected a syntax error in the previous
ACE_HAS_TEMPLATE_INSTANTIATION_PRAGMA test, which is now part of
the ACE_TEMPLATES_REQUIRE_SOURCE test.
(ACE_TEMPLATES_REQUIRE_PRAGMA):
Added a test for this macro. It is only run if the
ACE_TEMPLATES_REQUIRE_SOURCE test failed. This should improve
AIX support.
* m4/ace.m4 (ACE_CONFIGURATION_OPTIONS, ACE_COMPILATION_OPTIONS):
Moved all configure script command line option macros to this
file and placed them in the above M4 macros. This makes things
a bit cleaner, and it also allows other macros to AC_REQUIRE the
above macros.
* m4/compiler.m4 (ACE_SET_COMPILER_FLAGS):
Made this macro depend on ACE_COMPILATION_OPTIONS
(i.e. AC_REQUIRE it).
Moved more compiler specific variable settings from configure.in
to this macro.
Sun Feb 13 11:17:33 2000 Nanbor Wang <nanbor@cs.wustl.edu>
* examples/Shared_Malloc/test_multiple_mallocs.cpp:
* examples/Shared_Malloc/test_position_independent_malloc.cpp:
* tests/Malloc_Test.cpp: Changed
ACE_HAS_POSITION_INDEPENDENT_MALLOC to
ACE_HAS_POSITION_INDEPENDENT_POINTERS.
Sat Feb 12 20:35:23 2000 Douglas C. Schmidt <schmidt@tango.cs.wustl.edu>
* examples/Shared_Malloc/test_position_independent_malloc.cpp (initialize):
Zapped several temporary variables that were causing warnings
when ACE_ASSERT is disabled. Thanks to David Levine for
reporting this.
Sat Feb 12 17:06:20 2000 Nanbor Wang <nanbor@cs.wustl.edu>
* ace/OS.h:
* ace/Thread_Manager.cpp (ACE_Thread_Exit): Removed member
<status_> and its accessors. They don't seem to be used
anywhere in ACE and can't be accessed by users. Thanks to
"Elias Sreih" <sealstd1@nortelnetworks.com> for noticing this.
Sat Feb 12 15:15:01 2000 Nanbor Wang <nanbor@cs.wustl.edu>
* ace/README (ACE_HAS_POSITION_INDEPENDENT_POINTERS): Renamed
the depricated ACE_HAS_POSITION_INDEPENDENT_MALLOC to
ACE_HAS_POSITION_INDEPENDENT_POINTERS.
* ace/OS.h: Made ACE_HAS_POSITION_INDEPENDENT_POINTERS=1 the default
if it is not defined already. If you don't want the support of
position independent pointers (which means you don't care about
position independent malloc,) define
ACE_HAS_POSITION_INDEPENDENT_POINTERS to 0.
* ace/MEM_SAP.h:
* ace/MEM_SAP.cpp:
* ace/Malloc.h:
* ace/Malloc.cpp:
* ace/Malloc.i:
* ace/Malloc_T.i:
* ace/Memory_Pool.cpp: Changed ACE_HAS_POSITION_INDEPENDENT_MALLOC
to ACE_HAS_POSITION_INDEPENDENT_POINTERS.
* ace/config-sunos5.5.h:
* ace/config-win32-common.h: Removed depricated
ACE_HAS_POSITION_INDEPENDENT_MALLOC.
Sat Feb 12 14:40:20 2000 David L. Levine <levine@cs.wustl.edu>
* examples/Connection/misc/Connection_Handler.cpp,
examples/Logger/Acceptor-server/server_loggerd.cpp,
examples/Logger/simple-server/Logging_Handler.cpp (handle_timeout):
added ACE_UNUSED_ARG (arg), only with ACE_NDEBUG.
Sat Feb 12 00:27:45 2000 Nanbor Wang <nanbor@cs.wustl.edu>
* ace/OS.h: Changed to conditionally define
ACE_DEFAULT_TEMP_DIR_ENV according to whether the unicode is
supported or not.
* ace/MEM_SAP.h:
* ace/MEM_SAP.cpp:
* ace/MEM_Acceptor.cpp (accept):
* ace/MEM_Connector.cpp (connect): Made UNICODE friendly. Thanks
to Steve for reporting the problem.
Fri Feb 11 13:26:49 2000 Nanbor Wang <nanbor@cs.wustl.edu>
* ace/MEM_Acceptor.cpp (accept): Changed to use
ACE_reinterpret_cast to cast (sockaddr *) to (sockaddr_in *).
This eliminate the warning on HPUX aCC compiler.
Fri Feb 11 01:16:15 2000 Nanbor Wang <nanbor@cs.wustl.edu>
* ace/MEM_Acceptor.cpp:
* ace/MEM_Acceptor.h: Changed to use ACE_LACKS_INLINE_FUNCTIONS to
determine where to include MEM_Acceptor.i file as ASYS_INLINE is
used. Thanks to Marina and SunCC 5 for reporting the problem.
Thu Feb 10 21:57:04 2000 Nanbor Wang <nanbor@cs.wustl.edu>
* ace/MEM_SAP.h
* ace/MEM_SAP.i (set_buf_len): Removed the const'ness of argument
<buf>.
Thu Feb 10 14:09:56 2000 Nanbor Wang <nanbor@cs.wustl.edu>
* ace/ace_dll.dsp:
* ace/ace_lib.dsp: Added MEM_* files.
Thu Feb 10 13:49:34 2000 Nanbor Wang <nanbor@cs.wustl.edu>
* ace/MEM_SAP.h:
* ace/MEM_SAP.i:
* ace/MEM_SAP.cpp: Implemented the adaptation layer for managing
shared memory in shared memory transport.
* ace/MEM_Addr.h:
* ace/MEM_Addr.i:
* ace/MEM_Addr.cpp: Implemented the "endpoint" addressing
mechanism for shared memory transport. The ACE_MEM_Addr make
sure the "endpoint" is not on an interface that is accessable
outside of the running host. It also serves as endpoint
identification and provides the <same_host> checking method.
* ace/MEM_IO.h:
* ace/MEM_IO.i:
* ace/MEM_IO.cpp: Implemented the IO routines for shared memory
transport. Currently, these IO routines treat shared memory
transport as a streaming devide and copy the data into its own
buffer before sending the data over. We'll add method for
acquiring and sending the internal buffer later.
* ace/MEM_Acceptor.h:
* ace/MEM_Acceptor.i:
* ace/MEM_Acceptor.cpp:
* ace/MEM_Connector.h:
* ace/MEM_Connector.i:
* ace/MEM_Connector.cpp:
* ace/MEM_Stream.h:
* ace/MEM_Stream.i:
* ace/MEM_Stream.cpp: These classes emulate SOCK_* classes but use
shared memory as their transport mechanism.
* ace/Malloc_T.cpp: Fixed a mis-matched ACE_TRACE message.
* ace/OS.h: Added definitions of ACE_MEM_ACCEPTOR,
ACE_MEM_CONNECTOR and, ACE_MEM_STREAM.
* ace/Makefile: Aded MEM_* files and updated dependencies.
* tests/Malloc_Test.cpp: Removed explicit template instantiations
for ACE_Malloc[_T] as they are taken care of in MEM_SAP.cpp
now.
* examples/IPC_SAP/SOCK_SAP/CPP-memclient.cpp:
* examples/IPC_SAP/SOCK_SAP/CPP-memserver.cpp:
* examples/IPC_SAP/SOCK_SAP/CPP_memclient.dsp:
* examples/IPC_SAP/SOCK_SAP/CPP_memserver.dsp:
* examples/IPC_SAP/SOCK_SAP/SOCK_SAP.dsw: Added a simple example
on how to use the shared-memory transport.
Thu Feb 10 10:18:00 2000 Ossama Othman <ossama@uci.edu>
* THANKS:
Added Hajdukiewicz Markus <MHajdukiewic@heyde.de> and Gerwin
Robert <RGerwin@heyde.de> to the list of fame.
* configure.in (ACE_LACKS_SETSCHED):
Fixed test so that it defines ACE_LACKS_SETSCHED when
sched_setscheduler() isn't found. This was the intended
behavior. Thanks to Hajdukiewicz Markus <MHajdukiewic@heyde.de>
and Gerwin Robert <RGerwin@heyde.de> for providing a patch for
this problem.
(ace_cv_feature_cxx_std_template_specialization):
It appears that this variable had to be quoted when testing if
it was set to "yes" on AIX. Thanks again to Markus and Robert
for providing a patch.
Wed Feb 09 00:41:36 2000 Irfan Pyarali <irfan@cs.wustl.edu>
* tests/Pipe_Test.cpp (main): Spawn command should be
"./Pipe_Test" and not "Pipe_Test". Otherwise the test will fail
if the user does not have "." in his/her PATH. Thanks to Ossama
for reporting this problem.
Tue Feb 08 21:22:45 2000 Irfan Pyarali <irfan@cs.wustl.edu>
* ace/Token: Yesterday's change caused one problem. There was no
way to distinguish which thread was going to be the next owner.
So the following happened:
Thread A had a read lock and was waiting in select(). Thread B
wanted a write lock, therefore it executed the sleep hook, and
then waited on the condition. Thread A got up through the sleep
hook, signaled thread B, released the lock and went back to grab
the read lock. Even though thread B was runnable, it hadn't
gotten a chance to become the owner and <in_use_> was still
zero. When thread A tried to reacquire the read lock, it
succeeded. Thread B finally ran to find out that the token was
in use and went back to sleep, and hence got starved in the
process.
Therefore, the following changes were made to fix the above:
- wakeup_next_waiter() always reset <in_use_> and <owner_>. If
there is a waiter, it sets <in_use_> and <owner_> for the next
owner.
- release() doesn't reset <in_use_> and <owner_> since
wakeup_next_waiter() now does.
- renew() doesn't set or reset <in_use_> and <owner_> since
wakeup_next_waiter() now does.
- shared_acquire() doesn't set <in_use_> and <owner_> since
wakeup_next_waiter() now does.
- The while loops in shared_acquire() and renew() now loop until
the calling thread becomes the owner.
Note that this version of the Token implementation is still
better than the previous one since it does not double delete on
timeouts and wakes up the next waiter if it timed out and became
the owner simultaneously.
Tue Feb 08 21:46:51 2000 Girish Birajdar <birajdar@lucent.com>
* include/makeinclude/platform_vxworks5.x_g++.GNU:
added SIMSPARCSOLARIS support.
Tue Feb 8 16:29:38 2000 Ossama Othman <ossama@uci.edu>
* ltcf-cxx.sh:
* ltconfig:
* ltmain.sh:
Updated from latest libtool multi-language branch versions.
Tue Feb 8 14:25:46 2000 Ossama Othman <ossama@uci.edu>
* ace/config-sunos5.5.h (ACE_HAS_TYPENAME_KEYWORD):
According to ACE's configure script, Sun C++ 5.0 also supports
the typename keyword.
Tue Feb 8 16:17:21 2000 Steve Huston <shuston@riverace.com>
* ace/Thread_Manager.h: Added comment text to ACE_Thread_Manager::wait
noting that it doesn't wait during ACE_Object_Manager rundown.
Tue Feb 8 14:16:50 2000 Ossama Othman <ossama@uci.edu>
* ace/config-sunos5.5.h (ACE_HAS_USING_KEYWORD):
Sun C++ 5.0 supports the `using' keyword. Thanks to David Wicks
<wicks@swbell.net> for pointing this out.
Mon Feb 07 21:11:32 2000 Irfan Pyarali <irfan@cs.wustl.edu>
* ace/Token: Bug 416
(http://ace.cs.wustl.edu/bugs/show_bug.cgi?id=416) was causing
problems for TAO/tests/Leader_Followers. The current owner of
the token was in the process of waking up the next thread. In
the meantime, the thread that was going to be woken up next
timed out. This lead to double deletes from queues and double
decrements of counters: one by the thread doing the signaling
and the other by the thread timing out. In addition, the other
threads waiting for token never woke up since there was nobody
to wake them up.
The following changes were made to rectify this problem:
- ACE_Token::ACE_Token_Queue::insert_entry() factored out common
code for adding followers to the queue.
- The thread adding itself to the waiter queue and changing the
counters is the one responsible for undoing the state
changes. The thread doing to wake up is only responsible for
the signaling.
- When a thread timeouts, it must check if it was also selected
as the next owner. If it was, it must wakeup another waiter.
- renew() was simplified and made consistent with
shared_acquire() and release().
- wakeup_next_waiter() abstracted out the code for the selection
of the next owner.
- Improved state management including values for <this->owner_>
and <this->in_use_>.
- The wait() loop was not correct. We now loop until the token
is no longer in use. This way if the token ownership was taken
by another (new) waiter thread by the time we wake up, we simply
go back to sleep.
Mon Feb 7 17:54:06 2000 Jeff Parsons <parsons@cs.wustl.edu>
* bin/run_all_list.pm:
Added TAO/tests/DynAny_Test/run_test.pl to the general
and single-threaded test groups.
Mon Feb 7 17:30:00 2000 Kirthika Parameswaran <kirthika@cs.wustl.edu>
* ace/ACE.cpp (out_of_handles): Added ENOTSUP (Operation not
supported) check for SunOS. This helped in solving a bug when
the Cached_Conn_Test was executed using a single-threaded build.
Thanks to Steve Huston <shuston@riverace.com> for reporting this
bug.
Mon Feb 7 17:28:40 2000 Douglas C. Schmidt <schmidt@tango.cs.wustl.edu>
* netsvcs/clients/Naming/Client/main.cpp (main): Removed two
warnings that crept in recently. Thanks to David Levine
for reporting this.
Mon Feb 7 08:34:26 2000 Darrell Brunsch <brunsch@uci.edu>
* docs/ACE-subsets.html:
Removed the instructions for subsets on Win32. Subsets are not
supported under MSVC Project files.
Sun Feb 6 20:44:26 2000 Ossama Othman <ossama@uci.edu>
* ace-config.1.in:
Updated e-mail address of author (me).
* configure.in:
Updated e-mail address of configure script maintainer (me again).
(PURE_CACHE_DIR):
Fixed syntax of shell script variables. This fixes a problem
that occurred on FreeBSD.
(LIBS):
Removed manual addition of some thread related libraries. They
are now in the auto-detection list in threads.m4.
* m4/compiler.m4 (ACE_SET_COMPILER_FLAGS):
Improved support for HP aCC, and corrections. Set WERROR to
"+We67" to cause use of "#pragma once" to be an error instead of
a warning.
* m4/features.m4 (ACE_CHECK_ASYNCH_IO):
Reduce timeout value in test program from INT_MAX to 5 seconds.
* m4/threads.m4 (ACE_CHECK_THREADS):
Add "-xnolib" to CXXFLAGS when testing thread flag support using
Sun C++. Sun C++ links a thread function stub library in the
single-threaded case. The stubs are no-ops but they exist,
nonetheless. This causes the link tests used to determine if a
thread flag is needed to incorrectly pass.
Sun Feb 6 14:52:28 2000 Ossama Othman <ossama@uci.edu>
* ace/Makefile.am (libACE_Demux_la_SOURCES):
Added `QtReactor.cpp' to list of sources.
(libACE_Other_la_SOURCES):
Added `QoS_Session_Impl.cpp' and `QoS_Session_Factory.cpp' to
the list of sources.
(HEADER_FILES):
Added `Min_Max.h', `QoS_Session_Impl.h' and
`QoS_Session_Factory.h' to the list of headers.
(INLINE_FILES):
Added `QoS_Session_Impl.i' to the list of inline files.
* ace/OS.h (ACE_LOFF_T):
HP-UX has a 64 bit offset type "off64_t."
Sat Feb 5 20:49:50 2000 Ossama Othman <ossama@uci.edu>
* ltcf-c.sh:
* ltcf-cxx.sh:
* ltconfig:
* ltmain.sh:
Updated from latest libtool multi-language CVS branch.
* m4/compiler.m4 (LDFLAGS):
Remove "-xildoff" from the Sun C++ linker flags. It doesn't
seem to be needed since the compiler is smart enough to know
when to use it.
Fri Feb 4 23:12:36 2000 Douglas C. Schmidt <schmidt@tango.cs.wustl.edu>
* netsvcs/lib/Client_Logging_Handler.cpp (handle_input): Added code to
handle the case where all the data isn't available when we do a
"recv()" from the socket. Thanks to David X. Callaway
<david.x.callaway@intel.com> for reporting this.
* ace/Log_Msg.cpp (open): Add a special-purpose case for NT to make sure
that handles are reused in the client logging daemon. Thanks to
David X. Callaway <david.x.callaway@intel.com> for reporting
this.
Fri Feb 4 19:29:31 2000 Darrell Brunsch <brunsch@uci.edu>
* ace/Process.h:
* ace/Process.cpp:
The method command_line_argv () now returns a LPTSTR const *
instead of a char * const *. This enables it to compile under
UNICODE. Thanks to Steve Huston for pointing this out.
Fri Feb 4 16:46:42 2000 Steve Huston <shuston@riverace.com>
* tests/run_tests.sh: Added . to PATH to be sure that tests which
fork/exec and rely on PATH to find the program (like Pipe_Test)
run correctly.
Fri Feb 4 16:31:22 2000 Steve Huston <shuston@riverace.com>
* tests/Message_Queue_Notifications_Test.cpp: Use ACE_HAS_THREADS
rather than ACE_MT to leave out the ACE_Barriers in Watermark_Test
class when building without threads to avoid compile errors on
Sun C++ 4.2.
Fri Feb 4 15:11:53 2000 Steve Huston <shuston@riverace.com>
* ace/config-hpux-11.00.h: New config file to handle building on
HP-UX 11.00 with aCC, CC, or g++ (tested on 2.95.2). This file
will be the new file for this platform when autoconf is not used.
The other config-hpux-11* files will go away soon (maybe before
ACE 5.1 is released).
Fri Feb 4 15:56:31 2000 Steve Huston <shuston@riverace.com>
* include/makeinclude/platform_hpux_gcc.GNU: Added -fstrict-prototype
for HP-UX 11 - it resolves a pthread_atfork dispute between two
slightly different declarations in pthread.h and unistd.h.
Thu Feb 3 11:38:15 2000 Douglas C. Schmidt <schmidt@tango.cs.wustl.edu>
* ace/Malloc_T.cpp (unbind): Removed the != 0 test since it was
causing ambiguity problems for G++. Thanks to David Levine for
reporting this.
* ace/Malloc_T.cpp (unbind): Make sure to update the prev_ pointer
so that we don't end up with an improperly linked list. Thanks
to Sandro Doro <doro.s@flashnet.it> for reporting this.
* examples/Shared_Malloc/test_position_independent_malloc.cpp: Only
explicitly instantiate a template for ACE_Malloc_T if we've got
ACE_HAS_POSITION_INDEPEDENT_MALLOC enabled. Thanks to David
Levine for reporting this.
Thu Feb 3 11:40:27 2000 Ossama Othman <ossama@uci.edu>
* docs/ACE-subsets.html:
Added some notes about building ACE subsets using MSVC++.
Thanks to Paul von Behren <vonbepd@lmy-deja.com> for providing
the tips.
Thu Feb 3 11:38:15 2000 Douglas C. Schmidt <schmidt@tango.cs.wustl.edu>
* ace/OS.i,
* ace/Synch.cpp: Added a cast of (short) to the use of USYNC_THREAD
in order to prevent ambiguity problems for KAI C++. Thanks to
Chad Elliott <elliott_c@ociweb.com> for reporting this. This
fixes bugid 418.
* ace/OS.cpp (thr_create): Added yet another cast to (long) for
PRIORITY_MAX so that the types will be consistent for the
ace_min() function. Thanks to Stephen Moon <smoon@oxmol.co.uk>
for reporting this.
Thu Feb 3 08:38:22 2000 Carlos O'Ryan <coryan@uci.edu>
* bin/run_all_list.pm:
Disable the $TAO_ROOT/orbsvcs/tests/Event/* tests under single
threaded builds because the tests do indeed use threads.
Wed Feb 2 23:35:19 2000 Douglas C. Schmidt <schmidt@tango.cs.wustl.edu>
* ace/OS.cpp (thr_create): Added a cast to (long) for
PRIORITY_MAX so that the types will be consistent for the
ace_min() function. Thanks to James Briggs
<James.Briggs@dsto.defence.gov.au> for reporting this.
Wed Feb 02 21:56:32 2000 David L. Levine <levine@cs.wustl.edu>
* bin/check_build_logs: added -p option to check Purify
output for anomaly and leak reports.
Wed Feb 02 16:29:19 2000 David L. Levine <levine@cs.wustl.edu>
* ace/OS.cpp (lwp_getparam): if the LWP is in the TS
class, set the policy to ACE_SCHED_OTHER instead of
ACE_SCHED_RR. That's the only thread scheduling policy
that's supported in TS class on Solaris, where this function
can be used. Thanks to Chris Gill for tracking this bug down.
Wed Feb 02 12:46:53 2000 Nanbor Wang <nanbor@cs.wustl.edu>
* ace/OS.cpp (open): Changed to determine whether files should be
opened using FILE_SHARE_DELETE flag on Win32 at runtime. This
allows ace libraries built for Win95/98 work correctly on NT.
Thanks to Alex Chachanashvili <achacha@panix.com> for reporting
this. [Bug 419]
* ace/OS.{h,i,cpp}: Added a static data member of type
OSVERSIONINFO on win32 and initialize it in
ACE_OS_Object_Manager::init to cache the OS version
informaiton.
Wed Feb 2 11:08:33 2000 Douglas C. Schmidt <schmidt@tango.cs.wustl.edu>
* ace/Thread.h: Clarified that cancel() is only portable
on platforms that support cancellation. Thanks to Jason
Czavislak <jczavislak@osprey.smcm.edu> for motivating this.
Wed Feb 2 08:43:29 2000 Carlos O'Ryan <coryan@uci.edu>
* include/makeinclude/platform_linux_lxpthread.GNU:
Add support for gprof, not very useful when compared to
Quantify, but helps.
* bin/auto_compile:
Some tests print ERROR to indicate a failure.
Tue Feb 1 12:59:28 2000 Ossama Othman <ossama@uci.edu>
* ltcf-cxx.sh:
Added HPUX shared library support for the aCC C++ compiler.
Tue Feb 1 09:40:50 2000 Ossama Othman <ossama@uci.edu>
* tests/Pipe_Test.cpp (main):
Exit with error if child exited with error. Previously, the
test returned successfully which was misleading.
* ltcf-cxx.sh:
* ltconfig:
* ltmain.sh:
Updated from latest libtool multi-language branch sources.
Mon Jan 31 00:09:11 2000 Douglas C. Schmidt <schmidt@tango.cs.wustl.edu>
* Added the following changes for Borland C++Builder 4:
ace/OS.cpp: Removed processor architecture "hack" since
Borland C++Builder 4 supports the required structure definition,
and earlier versions are no longer supported.
ace/OS.h: Do not define the ACE_No_Heap_Check class when
building with Borland C++Builder.
ace/OS.h, OS.i, config-win32-borland.h: Updated compiler version
numbers for macro definitions.
ace/Thread_Manager.h: ACE_Thread_Descriptor_Base class needs to
be exported when building a DLL.
include/makeinclude/build_dll.bor, build_exe.bor, build_lib.bor:
Added makefile target for "clean".
include/makeinclude/compiler.bor: Added -D_DEBUG compiler flag
when building debug configuration.
include/makeinclude/outputdir.bor: Allow object directory to be
overridden.
Thanks to Christopher Kohlhoff <chris@kohlhoff.com> for
contributing these.
* ace/OS.i: Minor reformatting.
* ace/SOCK_Dgram_Mcast: Updated the implementation comments related to
the subscribe_ifs() return value of 1 to indicate why this is
needed. Also, updated the documentation to indicate to check
for -1 on failure. Thanks to Mark Boriac for motivating this.
* etc/Svc_Conf_l.cpp.diff: The context diff was incorrectly
written, therefore, the wrong ACE_YY_BREAK was being commented
out. This is now fixed. Thanks to David Levine for reporting
this.
* examples/Shared_Malloc/test_position_independent_malloc.cpp:
Added a typedef to handle cases where
ACE_HAS_POSITION_INDEPENDENT_MALLOC is not set. Thanks to David
Levine for reporting this.
* examples/Service_Configurator/Misc/main.cpp (main): Changed
int i to size_t i to avoid complaint about signed/unsigned
mismatch. Thanks to David Levine for reporting this.
Sun Jan 30 12:35:20 2000 Nanbor Wang <nanbor@cs.wustl.edu>
* ace/Token.cpp (remove_entry): <tail_> should point to <prev>
entry if we are removing the last entry in the queue. Thanks to
Irfan for pointing this out.
Sat Jan 29 12:56:16 2000 bala <bala@cs.wustl.edu>
* ACE version 5.0.13 released.
Fri Jan 28 20:14:20 2000 Carlos O'Ryan <coryan@uci.edu>
* ace/RB_Tree.h:
* ace/RB_Tree.i:
current_size() was not const.
Fri Jan 28 13:57:37 2000 Fred Kuhns <fredk@cs.wustl.edu>
* fixed QoS realted bugs in QoS_Session_Impl.cpp QoS_Session_Impl.h
SOCK_Dgram_Mcast.cpp. Just added some error checking and
check errno after call to join_leaf.
Thu Jan 27 20:25:37 2000 Irfan Pyarali <irfan@cs.wustl.edu>
* ace/Token.cpp (shared_acquire and renew): Must decrement
<waiters_> in case of condition variable wait errors and
timeouts.
* ace/TP_Reactor.cpp (handle_events): If the user gives us a
timeout, we must call <token_.acquire_read> with that timeout.
Also, we must be more careful when dealing with the return value
from <token_.acquire_read> to distinguish timeouts from errors.
Thu Jan 27 16:52:40 2000 James Hu <jxh@entera.com>
* ace/Message_Block.*:
Added a ACE_Message_Block::reset() method that puts the
rd_ptr() and wr_ptr() back to the beginning of the message
block.
Thu Jan 27 16:38:03 2000 Steve Huston <shuston@riverace.com>
* ace/Asynch_IO.h: Updated comments for ACE_Asynch_Read_Stream::read
and ACE_Asynch_Write_Stream::write to state that the affected
message block's wr_ptr and rd_ptr, respectively, are updated upon
successful completion of the operation.
Thu Jan 27 11:06:22 2000 Nanbor Wang <nanbor@cs.wustl.edu>
* ace/Parse_Node.cpp: Strings duplicated using ACE::strnew() must
be deleted using delete[] instead of delete. Thanks to
Christopher Kohlhoff <chris@kohlhoff.com> for catching this.
Thu Jan 27 09:11:52 2000 Steve Huston <shuston@riverace.com>
* ace/Message_Block.h: Tried to clarify the comments regarding the
handling of the data block pointer in the <ACE_Data_Block>
manipulating functions. Thanks to Defang Zhou <dzhou@zoo.uvm.edu>
for pointing out the lack of documentation regarding this.
* THANKS: Added Defang Zhou to the Hall of Fame.
Thu Jan 27 00:15:08 2000 Irfan Pyarali <irfan@cs.wustl.edu>
* ace/ACE.cpp (recv_n and send_n): There was a bug in these
methods introduced by the double while loops and the use of a
single break ;-) Changed break to a return. Thanks to the
HPUX_aCC auto compile build for leading me to this bug!
Wed Jan 26 21:49:16 2000 James Hu <jxh@entera.com>
* ace/Message_Block.*:
Added new methods mark(), capacity(), and ::total_capacity().
mark() points at base_ + cur_size_, capacity_ returns
max_size_, and total_capacity_ sums all capcity()'s for all
MBs in the continuation. Changed space() to return
mark() - wr_ptr().
Wed Jan 26 21:03:43 2000 Darrell Brunsch <brunsch@uci.edu>
* ace/High_Res_Timer.cpp: Thanks to Adamo, Vince <adamo@vignette.com>
who noticed that global_scale_factor_ wasn't being set on ACE_WIN32
when QueryPerformanceFrequency () worked. Now the code sets it
to one when that happens.
Wed Jan 26 17:04:24 2000 Steve Huston <shuston@riverace.com>
* ace/Proactor.h: Changed some comments to work better with the
HTML man page generator.
Tue Jan 25 16:23:52 2000 Douglas C. Schmidt <schmidt@tango.cs.wustl.edu>
* examples/Shared_Malloc/test_position_independent_malloc.cpp: Updated
this example to use the ACE_Malloc_T<> template with the
ACE_PI_Control_Block so that we get true "position-independent"
malloc behavior. Thanks to Rick Ohnemus
<rjohnemus@systemware-inc.com> for reporting this.
Tue Jan 25 14:05:42 2000 Irfan Pyarali <irfan@cs.wustl.edu>
* ace/Connector.cpp (connect_i): In addition to checking <sh_copy>
for a zero value, <*sh_copy> should also be checked for a zero
value.
Mon Jan 24 12:09:14 2000 Irfan Pyarali <irfan@cs.wustl.edu>
* ace/Connector.cpp (connect_i):
* ace/Strategies_T.cpp (ACE_Cached_Connect_Strategy::connect_svc_handler):
Cannot use <sh> after the connector lock has been released since
other threads now have access to <sh> and can reset it. We must
use <sh_copy> instead (even when activating the newly connected
svc_handler). This should help with TAO/tests/MT_Client
crashes.
Sun Jan 23 14:08:12 2000 Ossama Othman <ossama@uci.edu>
* ace/OS.h (setgid):
Added prototype for ACE_OS::setgid() method.
* ace/OS.i (setgid):
Added wrapper for setgid() system call.
(getgid):
Removed duplicate getgid() wrapper, and fixed it so that it
returns with ENOTSUP on Win32 platforms, just like the getuid()
wrapper.
Sat Jan 22 21:10:49 2000 Ossama Othman <ossama@uci.edu>
* configure.in:
Moved check for old GNU C++ to m4/compilers.m4.
* m4/acinclude.m4 (ACE_CONVERT_WARNINGS_TO_ERRORS):
This macro depends on the compiler settings performed by the
ACE_SET_COMPILER_FLAGS macro, so added an
AC_REQUIRE([ACE_SET_COMPILER_FLAGS]).
* m4/compiler.m4 (ACE_SET_COMPILER_FLAGS):
Moved check for old GNU C++ from configure.in to here.
Sat Jan 22 15:27:39 2000 Douglas C. Schmidt <schmidt@danzon.cs.wustl.edu>
* ace/Svc_Conf_l.cpp: Updated this file to use the new
"warning-free" generated file.
* etc/Svc_Conf_l.cpp.diff: Commented out a YY_BREAK macro that was
causing an "unreached statement" warning on some C++ compilers.
Thanks to David Levine for reporting this.
* tests/Thread_Pool_Test.cpp: In the method
test_empty_message_shutdown() we don't need to allocate a new
message block when sending a "null" message. This removes
another memory leak. Thanks to David Levine for reporting this.
Sat Jan 21 12:30:33 2000 Ossama Othman <ossama@uci.edu>
* ace/ACE.cpp:
* ace/Service_Config.cpp:
* ace/Template_Instantiations.cpp:
Moved ACE_LOCAL_MEMORY_POOL/ACE_Null_Mutex related template
instantions to ACE.cpp. This fixes a single threaded build
problem.
Thu Jan 20 09:15:50 2000 Ossama Othman <ossama@uci.edu>
* bin/bootstrap:
Create NEWS file before automake is run. Automake complains
about missing NEWS file.
Thu Jan 20 09:03:37 2000 Ossama Othman <ossama@uci.edu>
* NEWS:
This file is currently generated during the autoconf support
bootstrapping process. As such, it shouldn't be placed under
version control. Removed this file from the repository.
* configure.in:
Added thread related preprocessor flags to CPPFLAGS prior to
running the tests that check for the pthread_cancel() strtok_r()
prototypes in case such flags are needed on some platforms.
If the configure script determines that no usable thread library
was found it then removes any thread related preprocessor flags
from the CPPFLAGS preprocessor flags variable.
* ace/README:
Added description of ACE_HAS_ALT_CUSERID.
* m4/threads.m4 (ACE_CHECK_THREADS):
Remove any definitions of _REENTRANT and _THREAD_SAFE from the
preprocessor flags prior to checking if the compiler defines
either one, and prior to searching for compiler thread flags by
using the sed stream editor. This is done instead of using the
"-U" preproccesor flag since using that flag may undefine the
same preprocessor macros potentially defined by the thread flag
being tested.
Added "kthread" to the list of thread flags to be searched.
FreeBSD uses "-kthread" to enable support for kernel threads.
(ACE_CHECK_THREAD_FLAGS):
Relaxed criteria used to determine if compiler provides thread
support by removing requirement that either _REENTRANT or
_THREAD_SAFE should be defined.
(ACE_CHECK_THREAD_CPPFLAGS):
Added this test. It checks if the compiler defines thread
related preprocessor flags, such as _REENTRANT and
_THREAD_SAFE. The test is a compile-time test that is performed
after the thread flag search test so that the thread flag (if
any) is used during this test in case it defines any
preprocessor flags.
Wed Jan 19 23:21:07 2000 Douglas C. Schmidt <schmidt@tango.cs.wustl.edu>
* tests/Thread_Pool_Test.cpp (test_queue_deactivation_shutdown): Make
sure to release the message block once we've decided to shutdown
the message queue to avoid a memory leak. Thanks to David
Levine for reporting this.
Tue Jan 19 13:33:08 2000 Joe Hoffert <joeh@cs.wustl.edu>
* ace/ATM_Addr.cpp, ATM_QoS.cpp:
Fixing format characters for ACE_Log_Msg::log() method.
Tue Jan 18 20:56:58 2000 Ossama Othman <ossama@uci.edu>
* THANKS:
Added Daniel Lang <dl@leo.org> to the list of contributors.
* acconfig.h (ACE_HAS_ALT_CUSERID):
Added this ACE macro to the list of macros.
* configure.in:
Thanks to Daniel Lang <dl@leo.org> for motivating the following
ACE+autoconf related FreeBSD 3.4 fixes.
(ACE_LACKS_SEMBUF_T):
Improved the test for this macro by including <sys/types.h> and
<sys/ipc.h> prior to <sys/sem.h>. It incorrectly failed on
FreeBSD. Presumably this change should correct the problem.
(ACE_HAS_ALT_CUSERID):
Added test for this macro. It should get defined for platforms
that lack support for or have deprecated support for the
cuserid() function, and have POSIX password file functions.
(ACE_LACKS_PWD_FUNCTIONS):
Added getpwuid() to list of functions necessary for
ACE_LACKS_PWD_FUNCTIONS to *not* be defined.
(ACE_LACKS_PTHREAD_CANCEL):
Added check for the pthread_cancel() prototype. If it doesn't
exist then don't use pthread_cancel(), i.e. define
ACE_LACKS_PTHREAD_CANCEL. It it probably a bad idea to create a
prototype for pthread_cancel in ACE, so just don't use
pthread_cancel(). FreeBSD 3.4 appears to have the
pthread_cancel() function but no prototype for it.
* ace/OS.i (cuserid):
Changed Linux implementation so that it can be used for other
platforms by simply defining ACE_HAS_ALT_CUSERID.
Added preprocessor error if ACE_HAS_ALT_CUSERID and
ACE_LACKS_PWD_FUNCTIONS are both defined. ACE's alternate
cuserid() implementation requires that password file related
functions exist.
* ace/config-linux-common.h:
Define ACE_HAS_ALT_CUSERID on glibc 2.1.x since the use of the
system cuserid() is discouraged.
* m4/acinclude.m4:
Cosmetic updates.
Tue Jan 18 22:53:18 2000 Toshio HORI <toshi@etl.go.jp>
* include/makeinclude/platform_vxworks_5.x_g++.GNU:
added support for compiling ACE for VxWorks/SPARC target.
Tue Jan 18 15:55:54 2000 Douglas C. Schmidt <schmidt@tango.cs.wustl.edu>
* netsvcs/ACE-netsvcs.html: Fixed a typo. Thanks to
Brian Jones <bjones@edgemail.com> for reporting this.
* ACE-INSTALL.html: Updated the text from
Dr. Toshio HORI <toshi@etl.go.jp>.
Tue Jan 18 15:37:25 2000 Joe Hoffert <joeh@cs.wustl.edu>
* ace/ATM_Connector.{cpp,h,i}, ATM_QoS.{cpp,h}, ATM_Stream.{cpp,i}:
Adding changes to support FORE's latest WinSock2 ATM support.
Tue Jan 18 13:44:34 2000 Douglas C. Schmidt <schmidt@tango.cs.wustl.edu>
* tests/Thread_Pool_Test.cpp: Replaced int with size_t to
prevent compiler warnings comparing signed and unsigned
quantities.
Tue Jan 18 09:13:43 2000 David L. Levine <levine@cs.wustl.edu>
* ACE-INSTALL.html: ACE works just fine on RedHat 5.1 and
later, not just 5.1 through 6.1. Thanks to Raj Narayanaswamy
<rnarayanaswamy@hologic.com> for asking about this.
Mon Jan 17 18:03:17 2000 Douglas C. Schmidt <schmidt@tango.cs.wustl.edu>
* ace/Process_Manager.cpp: Under WIN32, the ACE_Process_Manager
registered itself as an event handler with ACE_Reactor, but did
not properly unregister itself when it closed. For error to be
noticed, you must instantiate ACE_Process_Manager with an
ACE_Reactor. ACE_Process_Manager should *not* be run as a
singleton. It must be instantiated such that it will be
destroyed *before* the ACE_Reactor is destroyed.
When you call ACE_Process_Manager::spawn, the newly created
process is added to the ACE_Process_Manager's process table and
(under WIN32) the ACE_Process_Manager is registered as an event
handler for the new process (ace/Process_Manager.cpp, line 523)
using this call:
r->register_handler (this, proc->gethandle ());
This will happen for every process spawned. Thus,
ACE_Process_Manager will potentially be associated with more
than one WIN32 process handle.
When the ACE_Process_Manager was destroyed, the dtor calls
ACE_Process_Manager::close which (for WIN32) attempts to remove
ACE_Process_Manager as an Event_Handler from the ACE_Reactor
using the following code (ace/Process_Manager.cpp, line 256)
this->reactor ()->remove_handler (this, 0);
This version of ACE_Reactor::remove_handler is:
int ACE_Reactor::remove_handler
(
ACE_Event_Handler *event_handler,
ACE_Reactor_Mask mask
);
It calls event_handler->get_handle() to obtain the handle to
which 'event_handler' is associated. The problem is that
ACE_Process_Manager::get_handle returns ACE_INVALID_HANDLE, so
the ACE_Reactor never properly unregistered the
ACE_Process_Manager. This is now fixed and should work correctly
on Win32 and other platforms.
Thanks to Greg Gallant <gcg@intercap.com> for tracking all this
down and providing the fix.
* ace/Process_Manager.cpp (open): Wrapped the setpgid() call with a
#if !defined (ACE_LACKS_SETPGID) to remove spurious run-time
warnings on platforms that don't support setpgid(). Thanks to
Craig Perras <cperras@watchguard.com> for reporting this.
* ace/NT_Service: Reformatted this header to conform to the ACE
programming guidelines. Also, replaced
#if defined (ACE_HAS_WINNT4) && ACE_HAS_WINNT4 != 0)
with
#if defined (ACE_WIN32)
This change allows a single dll to be built that supports both
NT and Win9x. The app can use GetVersionEx() to check whether
the platform is NT or not dynamically, or it can just call the
various service functions, which will return a function not
supported error. Thanks to Craig Perras
<cperras@watchguard.com> for reporting this.
* tests/Thread_Pool_Test.cpp: Enhanced this test to illustrate how
to shut down Tasks using either the "empty message" strategy or
the "queue deactivation" strategy.
* ace/Message_Queue.h: Updated the documentation of the enqueue*()
and dequeue*() methods to clarify which errno values are set
when the calls return -1.
* examples/Threads/thread_pool.cpp: Updated this example to
remove the use of the now-defunct "wait_for_threads_to_shutdown"
feature of ACE_Task.
* ace/Task_T: Removed the recent feature added on
Sat Jan 8 09:44:51 2000 Douglas C. Schmidt
<schmidt@tango.cs.wustl.edu>
that allowed to an ACE_Task's destructor to wait for threads in
a task to exit. It turns out this is practically impossible to
use correctly because of the way that destructors are destroyed
from the "top down". However, it's trivial to get the same
behavior by simply calling the Tasks's wait() method whenever
you want to implement barrier synchronization on a Task's thread
exits.
* tests/Thread_Pool_Test.cpp: Updated this test to illustrate
various strategies to wait for threads to exit. Thanks to Mark
C. Barnes <marcus@muse3d.com> for motivating this example.
Mon Jan 17 14:20:17 2000 Nanbor Wang <nanbor@cs.wustl.edu>
* ace/OS.h:
* ace/OS.i: Changed the signature of isatty to (int) and added a
(ACE_HANDLE) version for Win32.
* ace/Makefile:
* ace/Svc_Conf_l.cpp: Removed the explicit casting of fileno()
from int to ACE_HANDLE.
* ace/config-WinCE.h: Added ACE_LACKS_ISATTY.
* ace/OS.i (isatty): Removed WinCE specific section.
Mon Jan 17 00:53:37 2000 Douglas C. Schmidt <schmidt@tango.cs.wustl.edu>
* ace/OS.h: Added a cast to (long) for ACE_THR_PRI_FIFO_MIN,
ACE_THR_PRI_FIFO_MAX ACE_THR_PRI_RR_MIN, ACE_THR_PRI_RR_MAX,
ACE_THR_PRI_OTHER_MIN, ACE_THR_PRI_OTHER_MAX since these are all
used as priority values, which is defined as a long. This
should solve a problem with the ACE_MAX()/ACE_MIN() templates on
Linux with G++. Thanks to Bala for reporting this problem.
* netsvcs/lib/Logging_Strategy: Added a new '-w' option that
instructs the logging strategy to "wipeout", rather than append
to, an existing logfile. Thanks to David X. Callaway
<david.x.callaway@intel.com> for reporting this.
Sun Jan 16 21:32:18 2000 Douglas C. Schmidt <schmidt@tango.cs.wustl.edu>
* ace/OS.h: Moved the #defines for ACE_MIN and ACE_MAX into the
new $ACE_ROOT/Min_Max.h file, along with their template function
definitions.
* ace: Added a new file called Min_Max.h that uses templates, rather
than macros, to implement the ACE_MIN and ACE_MAX macros. This
is a "Good Thing" because the use of macros has undesirable
side-effects due to the "call-by-name" semantics of macro
paramter expansion... If for some reason your compiler can't
handle this, please #define ACE_LACKS_MIN_MAX_TEMPLATES in your
config.h file. Thanks to Derek Dominish
<Derek.Dominish@Australia.Boeing.com> for contributing this.
Sun Jan 16 16:43:10 2000 Ossama Othman <ossama@uci.edu>
* ace/config.h.in:
Removed this file from the repository. It is automatically
generated when autoconf support is bootstrapped into a
workspace.
Sun Jan 16 16:13:00 2000 Ossama Othman <ossama@uci.edu>
* acconfig.h:
* configure.in:
Added support/tests for:
ACE_LACKS_SETREGID
ACE_LACKS_SETREUID
ACE_LACKS_SETREGID_PROTO
ACE_LACKS_SETREUID_PROTO
* ace/ACE.cpp:
* ace/Configuration.cpp:
Moved template instantiations related to ACE_LOCAL_MEMORY_POOL
to ACE.cpp, and fixed them so that they work in the single
threaded case. The idea is to place this set of template
instantiations in a "common" area, since TAO also needs these
templates instantations.
Sun Jan 16 10:49:26 2000 Douglas C. Schmidt <schmidt@tango.cs.wustl.edu>
* ace/Makefile (Svc_Conf_l.cpp): Fixed the "isatty()" sed hack to
use fileno and then add a cast to (ACE_HANDLE) since this is
what the ACE_OS::isatty() wrapper expects Thanks to Nanbor and
Bala for reporting this.
* etc/Svc_Conf_l.cpp.diff: Added a #define for ACE_YY_NO_UNPUT
to supress an unnecessary warning.
* tests/ARGV_Test.cpp (main): Fixed several warnings.
* ace/Process.i: Rearranged the order of the process_name() methods
so they are defined before being used/inlined.
Sat Jan 15 19:59:00 2000 Douglas C. Schmidt <schmidt@tango.cs.wustl.edu>
* ace: Reran flex on Svc_Conf.y to generate the Svc_Conf_l.cpp file
with Darrell's fixes.
Sat Jan 15 15:49:28 2000 Darrell Brunsch <brunsch@uci.edu>
* ace/config-win32-common.h:
Readded the ACE_LACKS_FCNTL macro, since it seems to have been
missed in the latest changes to the config-win32 files.
* ace/Makefile:
With Doug's help, added a couple of new commands to the generation
of the Svc_Conf_l.cpp, because the generated files were causing
a warning on NT.
Sat Jan 15 00:41:12 2000 Douglas C. Schmidt <schmidt@tango.cs.wustl.edu>
* ace/ARGV: Added a new add() method that adds an entire argv
array in one fell swoop.
* netsvcs/clients/Naming/Client/main.cpp (main): Replaced
the ad hoc use of argc/argv processing with the ACE_ARGV
approach.
* examples/Service_Configurator/Misc/main.cpp (main): Replaced
the ad hoc use of argc/argv processing with the ACE_ARGV
approach. Note that this required the enhancement shown in the
following bullet.
* ace/Svc_Conf.l: Updated the Service Configurator lexer so that
it will also accept strings that are delimited by single quotes,
as well as double quotes. This helps to simplify the use of
ACE_ARGV to create svc.conf entries "on-the-fly".
* tests: Added a new test ARGV_Test.cpp that illustrates how to
use advanced features of <ACE_ARGV>. Thanks to Suresh Kannan
<kannan@uav.ae.gatech.edu> for contributing this.
* ace/config-win32-common.h: Added
#define ACE_LACKS_SETREGID
#define ACE_LACKS_SETREUID
Thanks to Christopher Kohlhoff <chris@kohlhoff.com> for
reporting this.
* ace/Task.h: Added a comment to the suspend() and resume() methods
encouraging developers not to use these methods unless
absolutely necessary. Thanks to Mark C. Barnes <marcus@muse3d.com>
for motivating this.
* ace: Reorganized the config-win32*.h files
to insulate the different compiler configurations from each
other. The changes are as follows:
* Concatenated config-win32.h and config-win32-common.h to form
the new config-win32-common.h.
* Moved MSVC-specific language defines from config-win32-common.h
into config-win32-msvc.h
* Updated the other compilers' files to add required language
defines originally in config-win32-common.h.
Thanks to Christopher Kohlhoff <chris@kohlhoff.com> for
contributing this.
Fri Jan 14 15:42:28 2000 Irfan Pyarali <irfan@cs.wustl.edu>
* ace/Select_Reactor_T.cpp (work_pending): Made the code more
general such that any thread can call it, i.e., it is not
limited to the owner thread. This change alleviated the need
for the specialization in TP_Reactor.
Fri Jan 14 01:48:26 2000 Douglas C. Schmidt <schmidt@tango.cs.wustl.edu>
* ace/Process: Moved the command_line_argv() from the
non-Win32 part of the ACE_Process class to the generic
part since it shouldn't depend on the platform. Thanks
to Michael Kircher for reporting this.
* ace/Process: Consider a process that spawns a number of
processes using a same executable name but with different
arguments <say svc.conf file..>. Depending on the arguments,
each process does different things. Currently
<ACE_Process::spawn> calls <execvp> with argv[0] as the
exeutable name. Therefore, if you do a <ps> command now, all
these processes will look the same, since they are all launched
with the same command.
But for <execvp> call, you could actually give a different
executable name and a different argv[0]. This helps us to have
the name for a process to be different from the executable
name. In this case, <ps> command will show the processes with
different argv[0] names.
Therefore, we added a method called <process_name> to
ACE_Process_Options to specify the executable name. If you do
not call <process_name> method, argv[0] is taken as the
executable name. Thanks to Alex Arulanthu <alex@sylantro.com>
for these enhancements.
Thu Jan 13 20:11:55 2000 Irfan Pyarali <irfan@cs.wustl.edu>
* ace/TP_Reactor.cpp (work_pending): This version is similar to
the select reactor except there is no owner check.
* ace/Select_Reactor_T.cpp (work_pending): The handle set must be
copied before calling select().
Thu Jan 13 16:06:19 2000 Balachandran Natarajan <bala@cs.wustl.edu>
* bin/auto_compile:
* bin/run_all.pl:
* bin/run_all_list.pm: Added an AMI test case for testing in the
nightly builds.
Wed Jan 12 23:46:36 2000 Douglas C. Schmidt <schmidt@tango.cs.wustl.edu>
* ace/Service_Config.h: Updated the
ACE_Service_Config::close_singletons() method documentation to
reflect the fact that it no longer deletes the Allocator, which
is deleted by the ACE_Object_Manager now. Thanks to Craig
Perras <cperras@watchguard.com> for reporting this.
Wed Jan 12 09:49:57 2000 David L. Levine <levine@cs.wustl.edu>
* bin/make_release: don't create diffs if not installing
the kit.
Wed Jan 12 07:22:42 2000 David L. Levine <levine@cs.wustl.edu>
* Makefile (CONTROLLED_FILES): removed
man/man3/Makefile.am and man/html/Makefile.am. There
addition in
Tue Jan 4 12:58:54 2000 Ossama Othman <othman@cs.wustl.edu>
caused creation of .zip files to break. zip doesn't like
multiple occurrences of a file, apparently. [Bug 408]
Tue Jan 11 21:59:34 2000 David L. Levine <levine@cs.wustl.edu>
* bin/make_release (create_kit): disable creation of
md5 files, because it didn't work: just empty files
were created. I think that it was looking in the wrong
directory.
Tue Jan 11 21:26:14 2000 David L. Levine <levine@cs.wustl.edu>
* bin/make_release (check_workspace): removed the bootstrap
invocation. That is done in create_kit (), and should only
be done once. (create_kit): set umask to 2, so that the
kits will have group write permission.
Tue Jan 11 17:39:10 2000 Douglas C. Schmidt <schmidt@tango.cs.wustl.edu>
* ace/Service_Config.h: Updated the ACE_Service_Config::close()
method documentation to reflect the fact that it no longer
closes the singletons (these are closed by the
ACE_Object_Manager now). Thanks to Craig Perras
<cperras@watchguard.com> for reporting this.
Tue Jan 11 17:22:21 2000 bala <bala@cs.wustl.edu>
* ACE version 5.0.12 released.
Mon Jan 10 12:50:10 2000 Douglas C. Schmidt <schmidt@tango.cs.wustl.edu>
* ace/Select_Reactor_T.h (class ACE_Select_Reactor_T): Reformatted the
documentation a bit...
Mon Jan 10 15:37:22 2000 Irfan Pyarali <irfan@cs.wustl.edu>
* ace/Pair_T: Added const accessors to the pair class. Also,
changed the Reference_Pair accessors to be const. Thanks to
Serge Kolgan <skolgan@cisco.com> for reporting this.
Sun Jan 9 00:25:58 2000 Douglas C. Schmidt <schmidt@tango.cs.wustl.edu>
* ace/Process.i (setreugid): Added an ACE_UNUSED_ARG for the
ACE_LACKS_PWD_FUNCTIONS case. Thanks to David for catching
this!
* ace/Process.i (setreugid): Guard against the case where
ACE_LACKS_PWD_FUNCTIONS. Thanks to David Levine for
reporting this problem with VxWorks.
* ace/Pair_T.h: Reformatted to conform to the ACE style.
Sat Jan 8 09:44:51 2000 Douglas C. Schmidt <schmidt@tango.cs.wustl.edu>
* examples/Threads/thread_pool.cpp: Revised the example to
illustrate the new "wait_for_threads_in_destructor" feature of
ACE_Task.
* examples/Threads/task_four.cpp: Reformatted the code.
* ace/Task_T: Added a new flag to the constructor that enables
applications to request that an ACE_Task will wait in its
destructor for any and all threads in the task to exit before
returning. Thanks to Valery Arkhangorodsky
<valerya@servicesoft.com> for suggesting this.
* ace/OS.i: Needed to add an extern "C" {} block around the
setregid() and setreuid() functions. Thanks to David Levine
for reporting this.
Fri Jan 7 20:01:48 2000 Douglas C. Schmidt <schmidt@tango.cs.wustl.edu>
* ace/OS.i,
ace/config-sunos5.5.h: Some platforms seem to lack function
prototypes for setreuid() and setregid(), even though they are
in the library. Therefore, I've added
#define ACE_LACKS_SETREGID_PROTOTYPE
and
#define ACE_LACKS_SETREUID_PROTOTYPE
macros to handle this case.
* ace/Process: Added support to allow UNIX applications to
automagically set the real and effective user/group ids when
ACE_Process::spawn() is called. Thanks to Craig Perras
<cperras@watchguard.com> for contributing this.
* ace: Updated the following files to include
#define ACE_LACKS_SETREGID
#define ACE_LACKS_SETREUID
config-chorus.h
config-cray.h:168
config-cygwin32-common.h
config-freebsd-pthread.h
config-freebsd.h:33
config-hpux-9.x.h
config-lynxos.h
config-netbsd.h
config-sunos4-g++.h
config-sunos4-sun4.1.4.h
config-win32-common.h
Ideally, Ossama's autoconf stuff will auto-detect anything that
I'm missing.
* ace/OS: Added wrapper facade methods for setregid() and
setregid().
Fri Jan 7 16:05:32 2000 Ossama Othman <ossama@uci.edu>
* configure.in:
Only define ACE_HAS_XT if both the Xt headers and libraries are
available. Previously, the existence of the Xt libraries was
not part of the XtReactor enable criterion.
* m4/compiler.m4 (ACE_SET_COMPILER_FLAGS):
Added C++ preprocessor flag documentation and trivial support.
Many AIX related compiler flag updates.
* m4/platform.m4 (ACE_SET_PLATFORM_MACROS):
Moved/consolidated platform-specific settings from configure.in
to here.
Improved AIX support (updates, fixes, etc).
Fri Jan 7 10:48:55 2000 Nanbor Wang <nanbor@cs.wustl.edu>
* bin/run_all_list.pm: Added missing commas.
Thu Jan 06 22:26:42 2000 Irfan Pyarali <irfan@cs.wustl.edu>
* ace/OS.i (fcntl): There was a special fcntl() for Win32.
Removed that special version and added ACE_LACKS_FCNTL to
config-win32-common.h.
* ace/ACE.cpp: Removed the non-"_n" versions of send/recv
functions that deal with message blocks. Since we deal with
continuation chains and linked messages, we are essentially
dealing with "_n" style functions. Also, improved the error
handling in case of timeouts.
* ace/Strategies_T.cpp
(ACE_Cached_Connect_Strategy::connect_svc_handler): If an error
occurs while activating the handler, the <activate_svc_handler>
method will close the handler. We must set the handler to zero
to make sure that the higher layer doesn't try to close the
handler again!
Thu Jan 6 15:00:56 2000 Ossama Othman <othman@cs.wustl.edu>
* aclocal.m4:
* configure:
* All Makefile.in:
Removed these files. They are automatically generated, so they
should not be in the repository. Thanks to David for pointing
out that my ACE+autoconf updates caused CVS conflicts when
updating existing workspaces.
Wed Jan 5 10:09:35 2000 Douglas C. Schmidt <schmidt@tango.cs.wustl.edu>
* ace/Dirent.h: Added an ACE_Export on the ACE_Dirent class. I'm
surprised this hasn't been a problem before... Thanks to
Dominic Williams <dom@connected-place.co.uk> for indirectly
motivating this change.
* ace/SString.h: Updated the documentation for the various string
wrapper facades to clarify that they don't perform any locking.
Thanks to Jerry Jiang <javalist@21cn.com> for motivating this.
Wed Jan 05 09:53:04 2000 David L. Levine <levine@cs.wustl.edu>
* ace/SOCK_Stream.[hi] (sendv_n): added const to iov[]
argument declaration. Thanks to Rob Ruff <rruff@scires.com>
for reporting that TAO's AV service failed to compile
with Sun CC 5.0 because of this.
Tue Jan 4 15:06:41 2000 Ossama Othman <othman@cs.wustl.edu>
* configure.in:
Added note that asks user to use stock ACE build procedure
detailed in ACE-INSTALL.html in the event that the configure
script fails.
Tue Jan 4 14:40:17 2000 Ossama Othman <othman@cs.wustl.edu>
* ace/OS.h:
AIX defines "off64_t" as its 64 bit offset type. Typedef
ACE_LOFF_T as that type if ACE_HAS_LLSEEK or ACE_HAS_LSEEK64 is
defined. This should correct a problem that occurred during an
AIX configure script run. Thanks to Mike Winter for pointing
this out.
Tue Jan 4 14:09:51 2000 Ossama Othman <othman@cs.wustl.edu>
* configure.in:
Fixed test that checks if sched.h is needed for thread
scheduling definitions. This should correct problems discovered
on RedHat 6.1 installations. Thanks to
Improved sys_nerr and sys_errlist[] tests by checking for
external global variables in libraries. This should correct a
problem discovered in an AIX configure script run. Thanks to
Mike Winter for providing feedback.
Tue Jan 4 13:23:26 2000 Douglas C. Schmidt <schmidt@tango.cs.wustl.edu>
* ace/Service_Config: Updated the documentation for the various
open() methods and the constructors. Thanks to Christopher
Kohlhoff <chris@kohlhoff.com> for reporting this.
Tue Jan 4 12:58:54 2000 Ossama Othman <othman@cs.wustl.edu>
* Makefile (CONTROLLED_FILES):
man/man3/Makefile.am and man/html/Makefile.am previously weren't
being labelled. Thanks to David for pointing this out.
Mon Jan 3 21:01:53 2000 Douglas C. Schmidt <schmidt@tango.cs.wustl.edu>
* examples/Service_Configurator/IPC-tests: Updated the
README file so it'll point to the right documentation! Thanks
to John Buttitto for reporting this.
Tue Jan 04 07:26:24 2000 David L. Levine <levine@cs.wustl.edu>
* ACE version 5.0.11 released.
Mon Jan 03 07:34:38 2000 David L. Levine <levine@cs.wustl.edu>
* ace/OS.i (gmtime_r): return res instead of *res, because
the function returns a struct tm *, not a struct tm.
Sun Jan 2 11:02:54 2000 Douglas C. Schmidt <schmidt@tango.cs.wustl.edu>
* ace/OS.i (gmtime_r): We should return *res rather than
*result to make the behavior correct for Win32. Thanks to
J. Afshar <jafshar@vignette.com> for reporting this.
Sun Jan 02 00:50:00 2000 Chris Gill <cdgill@cs.wustl.edu>
* ace/OS.{cpp, h, i}
ace/Signal.cpp
ace/Synch.cpp
ace/config-psos-diab-ppc.h: Added support for native mutexs,
condition variables, and thread-specific storage in pSOS. Native
pSOS mutexes, where available, support several cool features,
including lock recursion and priority inheritance protocol and
priority ceiling protocol support.
Sat Jan 01 09:16:39 2000 David L. Levine <levine@cs.wustl.edu>
* ChangeLog,Makefile: moved to ChangeLog-99b.
|