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
|
Mon Oct 14 19:20:35 2002 Frank Hunleth <frank@hunleth.com>
* ACE-INSTALL.html: Added installation notes for the OpenBSD port.
* ace/config-openbsd.h:
* ace/config-openbsd-pthread.h:
* include/makeinclude/platform_openbsd.GNU:
* include/makeinclude/platform_openbsd_pthread.GNU: Configuration
files for OpenBSD.
* ace/ACE.cpp: Added OpenBSD-specific error code to ACE::out_of_handles
* ace/OS.h: Added #define for OpenBSD-specific path to siginfo.h and
ACE_LACKS_CLEARERR guards around clearerr() for OpenBSD.
* ace/OS.i: Added support for getifaddrs() with ACE_HAS_GETIFADDRS
and fix for segfault when calling dlsym with a null handle. Added
guards on clearerr using ACE_LACKS_CLEARERR. (All only affect
OpenBSD.)
* ace/POSIX_Proactor.cpp:
* ace/POSIX_Proactor.h: Added SystemType family for OpenBSD.
* ace/README: Added new ACE #defines to support OpenBSD. These include:
ACE_HAS_GETIFADDRS - for support of the getifaddrs() system call
ACE_HAS_DLSYM_SEGFAULT_ON_INVALID_HANDLE - add check to dlsym call
to protect against NULL. OpenBSD 3.1 needs this.
ACE_LACKS_CLEARERR - #define to remove clearerr definition due
to bogus syntax error on OpenBSD.
* ace/Sock_Connect.cpp: Added code to get_ip_interfaces to use
getifaddrs() if it is supported. OpenBSD is the only platform to
use this currently. Under OpenBSD, the code to parse the return
values from the corresponding ioctl calls gets confused when IPv6
interfaces are present.
* tests/Malloc_Test.cpp: Added OpenBSD to the list of platforms that
can't handle the remap of fault part of the test.
* tests/Reactor_Dispatch_Order_Test.cpp: Added code for OpenBSD to
clear the write mask after handle_output is called, since OpenBSD
calls handle_output more than once before the data is received
over the pipe.
Mon Oct 14 18:21:40 2002 Patrick J. McNerthney <ace@mcnerthney.com>
* ace/OS.h: Added FILE_FLAG_WRITE_THROUGH defines for
non-supporting operating systems and added various PIPE_*
defines for non-supporting operating systems.
* ace/SPIPE_Connector.{h,cpp}: Added support to enable the
selection of whether bytestream or message mode is used on
Windows. Also added support for both blocking and timeout
connections on Windows, only non-blocking connections where
support before.
* ace/SPIPE_Acceptor.{h.cpp}: Added support to enable the
selection of whether bytestream or message mode is used on
Windows.
Mon Oct 14 20:19:51 2002 Steve Huston <shuston@riverace.com>
* ChangeLog: Removed a large chunk of duplicated dates from Oct 11
back to July.
* ace/OS.{h i}: Removed the owning_thread_ member from
ACE_recursive_mutex_state on Windows. This isn't needed since the
OS mutex restores the owner properly - it was in to do a sanity
check ACE_ASSERT, but can't do that from ACE_OS.
* ace/WFMO_Reactor.h: Expanded and clarified the class comments
to resolve Bugzilla #772.
Mon Oct 14 17:23:43 2002 Balachandran Natarajan <bala@isis-server.isis.vanderbilt.edu>
* ace/CDR_Base.cpp (consolidate): Reverted the optimization
performed in "Tue Mar 12 17:43:32 2002 Balachandran Natarajan
<bala@cs.wustl.edu>". This optimizations created problems for
CORBA::Any implementation which assumes that the data is totally
contained within the Any. Using the optimization created problems
for Any's that are copied between different threads. Thanks to
Chen Jian <jchen@huawei.com> for reporting this problem.
<<<<<<< ChangeLog
* THANKS: Added Chen Jian <jchen@huawei.com> to the hall of fame.
=======
>>>>>>> 4.4188
Mon Oct 14 10:12:31 2002 Steve Huston <shuston@riverace.com>
Fix for Bugzilla # 1316:
* ace/Synch.h:
* ace/OS.h: Moved the ACE_recursive_mutex_state from Synch.h
to OS.h. The recursive mutex methods need to handle this stuff
internally to properly synchronize releasing and reacquiring
the mutex around condition variable waits.
* ace/OS.i: Added ACE_OS::recursive_mutex_cond_unlock() and
ACE_OS::recursive_mutex_cond_relock() methods to support
recursive mutex handling around waiting on a condition variable.
* ace/Synch.cpp (ACE_Condition<ACE_Recursive_Thread_Mutex>):
Removed the guards from the broadcast() and signal() methods.
Removed the ACE_recursive_mutex_state class methods - this
functionality is now in the ACE_OS space; see above.
Reimplemented the wait() method to make use of the new ACE_OS
methods (above), enabling proper reclaiming of the recursive
mutex after cond_wait, and avoiding deadlock.
Mon Oct 14 00:12:48 2002 Krishnakumar B <kitty@cs.wustl.edu>
* ACEXML/docs/bugs.txt: Updated to match the current status of
ACEXML parser.
Sun Oct 13 19:38:35 2002 Krishnakumar B <kitty@cse.wustl.edu>
* ace/Exception_Macros.h:
Consolidated the checking of exceptions preprocessor hacking
into this file.
* ACEXML/common/XML_Macros.h:
Include the above file and get rid of redundant and broken
checking for exceptions.
* ace/CORBA_macros.h:
Moved over the stuff from Exception_Macros.h to where it was
originally. This should fix all the build breakage. Thanks to
Bala for pointing out the errors in the build.
Sun Oct 13 18:50:53 2002 Douglas C. Schmidt <schmidt@tango.doc.wustl.edu>
* ace/SPIPE_Stream.h: Enhanced the documentation of ACE_SPIPE_Stream.
Thanks to Pat McNerthney <ace@mcnerthney.com> for motivating
this.
Sun Oct 13 15:57:04 2002 Balachandran Natarajan <bala@isis-server.isis.vanderbilt.edu>
* ace/Asynch_IO.cpp:
* ace/Asynch_IO.h: Protected ACE_Asynch_Read_File::readv () and
ACE_Asynch_Write_File::writev () from being called when
ACE_HAS_WINNT4 == 0.
* ace/WIN32_Asynch_IO.cpp:
* ace/WIN32_Asynch_IO.h: Protected
ACE_WIN32_Asynch_Read_File::readv () and
ACE_WIN32_Asynch_Write_File::writev () from being called when
ACE_HAS_WINNT4 == 0.
Thanks to Eric Frias <efrias@syncad.com> for reporting the
problem and Alex Libman for suggesting the fix.
* THANKS: Added Eric Frias <efrias@syncad.com> to the hall of
fame.
Sun Oct 13 15:54:59 2002 Krishnakumar B <kitty@cse.wustl.edu>
* ACEXML/apps/svcconf/Svcconf_Handler.cpp: Fixed a couple of
warnings related to the exception argument handling.
Sun Oct 13 00:55:27 2002 Krishnakumar B <kitty@cs.wustl.edu>
* ACEXML/common/XML_Common.dsp:
Added XML_Macros.h to the project file.
* ACEXML/examples/SAXPrint/svc.conf.xml:
Reverted a mistaken change used for testing.
* ACEXML/apps/svcconf/Svcconf_Handler.cpp:
* ACEXML/common/SAXExceptions.cpp:
* ACEXML/parser/debug_validator/Debug_DTD_Manager.cpp:
Added ACE_TEXT around strings so that WCHAR build is happy.
Sat Oct 12 23:01:29 2002 Krishnakumar B <kitty@cse.wustl.edu>
* ACEXML/apps/svcconf/Svcconf.h (ACEXML_Svcconf_Parser): Removed
the unused member env_.
Sat Oct 12 22:50:02 2002 Krishnakumar B <kitty@cse.wustl.edu>
* ACEXML/common/XML_Macros.h:
New file which contains the macros needed to enable support for
Exceptions in ACEXML.
* ACEXML/apps/svcconf/Makefile:
* ACEXML/common/Makefile:
* ACEXML/examples/SAXPrint/Makefile:
* ACEXML/parser/parser/Makefile:
* ACEXML/tests/Makefile:
Regenerate dependencies.
* ACEXML/common/Env.cpp:
* ACEXML/common/Env.h:
* ACEXML/common/Env.i:
* ACEXML/common/Exception.cpp:
* ACEXML/common/Exception.h:
* ACEXML/common/Exception.i:
Enable support for Native Exceptions.
* ACEXML/apps/svcconf/Svcconf.cpp:
* ACEXML/apps/svcconf/Svcconf.h:
* ACEXML/apps/svcconf/Svcconf_Handler.cpp:
* ACEXML/apps/svcconf/Svcconf_Handler.h:
* ACEXML/common/Attributes_Def_Builder.h:
* ACEXML/common/ContentHandler.h:
* ACEXML/common/DTDHandler.h:
* ACEXML/common/DTD_Manager.h:
* ACEXML/common/DefaultHandler.cpp:
* ACEXML/common/DefaultHandler.h:
* ACEXML/common/Element_Def_Builder.h:
* ACEXML/common/EntityResolver.h:
* ACEXML/common/ErrorHandler.h:
* ACEXML/common/HttpCharStream.cpp:
* ACEXML/common/SAXExceptions.cpp:
* ACEXML/common/SAXExceptions.h:
* ACEXML/common/SAXExceptions.i:
* ACEXML/common/Validator.h:
* ACEXML/common/XMLFilterImpl.cpp:
* ACEXML/common/XMLFilterImpl.h:
* ACEXML/common/XMLReader.h:
* ACEXML/examples/SAXPrint/Print_Handler.cpp:
* ACEXML/examples/SAXPrint/Print_Handler.h:
* ACEXML/examples/SAXPrint/SAXPrint_Handler.cpp:
* ACEXML/examples/SAXPrint/SAXPrint_Handler.h:
* ACEXML/examples/SAXPrint/main.cpp:
* ACEXML/examples/SAXPrint/svc.conf.xml:
* ACEXML/examples/svcconf/Svcconf_Handler.cpp:
* ACEXML/examples/svcconf/Svcconf_Handler.h:
* ACEXML/examples/svcconf/main.cpp:
* ACEXML/parser/debug_validator/Debug_Attributes_Builder.cpp:
* ACEXML/parser/debug_validator/Debug_Attributes_Builder.h:
* ACEXML/parser/debug_validator/Debug_DTD_Manager.cpp:
* ACEXML/parser/debug_validator/Debug_DTD_Manager.h:
* ACEXML/parser/debug_validator/Debug_Element_Builder.cpp:
* ACEXML/parser/debug_validator/Debug_Element_Builder.h:
Switch over the files to support Native Exceptions.
* ACEXML/parser/parser/Parser.cpp:
* ACEXML/parser/parser/Parser.h:
Use the obstack unwind to unwind the stack and reuse memory.
Currently not done throughout the parser. That will come later.
* ace/Makefile.ace:
Added Codecs to ACE_COMPONENTS when building FOR_TAO. Thanks to
Don Hinton for suggesting this.
* include/makeinclude/rules.local.GNU:
Clean up the old symlinks under $ACE_ROOT/ace when building a
new version of the libraries.
* tests/Makefile:
Cleanup the Codecs_Test when $ACE_ROOT/ace has been realcleaned
previously.
Fri Oct 11 12:44:58 UTC 2002 Craig Rodrigues <crodrigu@bbn.com>
* RTJava/*: Removed. Angelo Corsaro <corsaro@ece.uci.edu>
keeps RTJperf related files in another CVS repository.
* ace/config-freebsd-pthread.h: Improved check of
_POSIX_REALTIME_SIGNALS preprocessor constant.
Thu Oct 10 16:02:20 2002 Ossama Othman <othman@cs.wustl.edu>
* ACE version 5.2.5 released.
Thu Oct 10 13:56:35 2002 Ossama Othman <ossama@uci.edu>
* bin/make_release (check_workspace):
Ignore platform_macros.GNU and config.h files. They are
needed when cutting the beta/release. This isn't a problem
since the ACE/TAO kits are created from a "cvs export"ed
workspace that doesn't include those files.
Thu Oct 10 15:11:07 2002 Balachandran Natarajan <bala@isis-server.isis.vanderbilt.edu>
* bin/make_release: A pattern matching issue. The cvs server now
gives a message starting with "cvs server:.." instead of "cvs
checkout:..". This created problems for Ossama when he was
trying to cut the beta.
Wed Oct 9 23:43:51 2002 Steve Huston <shuston@riverace.com>
* ace/WIN32_Asynch_IO.cpp (ACE_Asynch_Read_Stream::readv,
ACE_Asynch_Write_Stream::writev, ACE_Asynch_Read_Dgram::recv,
ACE_Asynch_Write_Dgram::send): Don't double-increment iovcnt
while checking for the need for multiple iov per message block.
Fixes bug introduced in:
Fri Oct 4 20:22:41 2002 Steve Huston <shuston@riverace.com>
Wed Oct 9 23:08:19 2002 Steve Huston <shuston@riverace.com>
* include/makeinclude/rules.lib.GNU: For the funky AIX shr.o/lib*.a
machination, declare shr.o as .INTERMEDIATE to avoid rebuilding it
all the time for nothing. Thanks to Craig L. Ching for motivating
this.
Wed Oct 09 12:19:40 2002 Nanbor Wang <nanbor@cs.wustl.edu>
* bin/PerlACE/Process_Win32.pm: Added hack to purify a process.
This will allow us to purify all the examples, tests much
easier. It is, however, tightly coupled to Purify 6.0. The
script automaticaly switch to purifying the process if the
ACE_RUN_PURIFY_CMD environment variable is defined. See the
comments in this file for more details.
Tue Oct 8 21:06:23 2002 Steve Huston <shuston@riverace.com>
* ace/config-sunos5.6.h: Undef ACE_HAS_TEMPLATE_TYPEDEFS for the
Forte 7 compiler (C++ 5.4). It should work, but Malloc_T doesn't
compile correctly with it enabled. Thanks to Serge Kolgan
<skolgan@objectsciences.com> for this fix.
* ace/config-sunos5.9.h: New config.h file for Solaris 9. Right now,
it just includes config-sunos5.8.h, but Solaris 9 has some new things
to play with as time goes on.
Tue Oct 8 09:22:41 2002 Steve Huston <shuston@riverace.com>
* ace/SOCK_Dgram_Bcast.cpp (send): Use next_ to find next
ACE_Bcast_Node in if_list_ rather than incrementing pointer.
Thanks to <k2@biogate.com> for this fix.
Mon Oct 7 17:29:14 2002 Ossama Othman <ossama@uci.edu>
* tests/Proactor_Scatter_Gather_Test.cpp (initiate_read_file):
Cast one of the operands in a subtraction operation to a size_t
to address a problem exhibited by Borland C++ where the ACE_MIN
template expects two parameters of the same type, but was
getting two parameter of different types. This problem occurred
on platforms where "unsigned int" and "unsigned long" are
different types.
Mon Oct 07 15:21:44 2002 Nanbor Wang <nanbor@cs.wustl.edu>
* ACEXML/apps/svcconf/XML_Svc_Conf_Parser.dsp:
* ACEXML/common/XML_Common.dsp:
* ACEXML/parser/debug_validator/Debug_Validator.dsp:
* ACEXML/parser/parser/Parser.dsp:
* ACEXML/tests/HttpCharStream_Test.dsp:
* ACEXML/tests/NamespaceSupport_Test.dsp:
* ACEXML/tests/Transcoder_Test.dsp:
* apps/JAWS2/server.dsp:
* examples/Export/test.dsp:
* examples/IPC_SAP/FILE_SAP/client.dsp:
* examples/Logger/client/client.dsp:
* examples/Logger/simple-server/server_loggerd.dsp:
* examples/QOS/Simple/receiver.dsp:
* examples/QOS/Simple/sender.dsp:
* examples/Reactor/Multicast/client.dsp:
* examples/Reactor/Multicast/server.dsp:
* examples/Reactor/Proactor/test_udp_proactor.dsp:
* examples/Synch/proc_sema.dsp:
* tests/DLL_Test_Impl.dsp:
* tests/Framework_Component_DLL.dsp: Disabled the generation
of precompiled headers. They were taking up too much disk space
on the nightly build machines. Thanks to Ossama for noticing
this.
Sun Oct 6 09:03:28 2002 Ossama Othman <ossama@uci.edu>
* ace/UPIPE_Stream.cpp (send):
Silenced a signed/unsigned conversion warning using a
static_cast<> until a better solution presents itself.
Sat Oct 5 17:04:38 2002 Steve Huston <shuston@riverace.com>
* ace/Memory_Pool.cpp (ACE_Pagefile_Memory_Pool::acquire): Remove
casts on comparisons, allowing size_t values to compare directly.
* apps/JAWS/server/IO.cpp (JAWS_Synch_IO::transmit_file): Remove
cast from send_n() return value to avoid signed/unsigned compare.
Sat Oct 5 12:30:49 2002 Steve Huston <shuston@riverace.com>
* ace/Service_Manager.cpp (list_services): Remove extra right paren.
* tests/Proactor_Timer_Test.cpp: Fixed signed/unsigned mismatch.
Fri Oct 04 22:24:23 2002 Krishnakumar B <kitty@cs.wustl.edu>
* ACEXML/common/URL_Addr.cpp (string_to_addr): Added a new wrapper
which matches the signature in ACE_INET_Addr, and delegates the
work to the ACEXML_Char function to work around Borland BCB
warning about hidden virtual function.
Fri Oct 4 21:32:51 2002 Steve Huston <shuston@riverace.com>
* ace/Service_Manager.cpp (list_services): Correct compiler
warning about sign/unsigned comparison. Don't bother for checking
transfer count != requested, since send_n always reports
an error (0 or -1) if there was a fail before the whole 'n' sent.
Fri Oct 4 20:22:41 2002 Steve Huston <shuston@riverace.com>
* ace/ace_dll64.mak: Removed the /wd4267 to re-enable the
conversion size_t to int warning.
Added Atomic_Op.obj to the files to compile directly.
* ace/ACE.cpp (recv, send): Extract int, not size_t, from implicit
char */int pairs.
(send_n, recv_n with ACE_Message_Blocks): Message block length
is a size_t but iov_len is u_long, so make as many iovs as needed
to fit the entire requested length.
* ace/Asynch_Acceptor.cpp: Added casts to fix size_t->DWORD warnings.
* ace/Asynch_IO.cpp (transmit_buffers): Cast lengths to DWORD for
Win64.
* ace/Configuration.{h cpp} (set_binary_value, get_binary_value):
Change length arg from u_int to size_t.
* ace/Configuration_Import_Export.cpp: Align use of u_int, size_t.
* ace/Containers_T.cpp (ACE_Fixed_Set::insert): Use ssize_t, not int,
to track free slot since max size is a size_t.
* ace/FIFO_Recv_Msg.i (recv):
* ace/FIFO_Send_Msg.i (send): Squeeze size_t max_len down to an int
because this gets run through the ACE_Str_Buf variant of recv/send.
If this restriction is too much, the code will need to be
refactored.
* ace/FILE_Addr.cpp (set): Cast size_t back to int for base_set().
* ace/FILE_IO.cpp (recv): Count iov tuples as an int to match what's
expected at the ACE_OS::readv level.
* ace/Filecache.h (ACE_File_Object): Change size_ from size_t to off_t.
It's a better match for what it's used for (checking against
stat.st_size, which is an off_t also).
* ace/Functor_T.i (ACE_Pointer_Hash): Add #pragmas for Win64 to
shut up the compiler warnings about casting a pointer to u_long.
* ace/INET_Addr.{h i} (ip_addr_size): Return an int, not size_t. This
value is just passed on to other methods (like host db functions)
that are expecting an int. Also, being the size of a IP addressing
structure, all the values are well within range of an int.
* ace/Lib_Find.cpp (ldfind, get_temp_dir): Cast path length value to
DWORD for calls to SearchPath and GetTempPath on Windows.
* ace/Local_Name_Space.{h cpp} (ACE_NS_String::strstr): Cast return
value from size_t to int. (hash): Change return type from size_t
to u_long to match what's expected from ACE_Hash<>, which this is
an adapter for.
* ace/Log_Msg_NT_Event_Log.cpp (open): Cast msg_file length to
DWORD for use in Windows API. Use size_t for reg key string length
since it need not be passed to a Windows API.
* ace/Log_Record.cpp (round_up): Do all the rounding math in size_t
terms, since all factors are size_t, but cast it back to ACE_UINT32
since the ACE_Log_Record length_ field is ACE_UINT32 and should
stay that way due to the need to send it over the network as a
known-length field.
(print): Cast verbose_msg string length to int so it can be compared
to fprintf return value.
* ace/MEM_Acceptor.cpp (accept): Cast string length to ACE_UINT16.
* ace/MEM_SAP.h:
* ace/MEM_IO.{h cpp} (ACE_Reactive_MEM_IO, ACE_MT_MEM_IO): Changed
return type of send_buf and recv_buf from int to ssize_t. This
is consistent with other ACE sock-type send methods, and matches
the range of sizes allowed to request sending of and the return
type expected by ACE_MEM_IO::send() and recv().
* ace/Mem_Map.i (advise): Get a size_t length as expected by
ACE_OS::madvise().
* ace/Mem_Map.cpp (map_it): Use off_t instead of size_t to calculate
null_byte_positition when extending the file. This is the type
that ACE_OS::pwrite() expects.
* ace/Memory_Pool.h (ACE_Pagefile_Memory_Pool::Shared_Control_Block):
Changed mapped_size_ from int to size_t to match the sizes it can
take (max_size_)and what's expected in the Win32/64 API calls.
Changed free_offset_ from int to ptrdiff_t to represent the full
range of mapped address range. Changed free_size_ from int to
size_t to match max_size_ and the range of mappable sizes.
Changed 'append' arg to map() from int to size_t, also to represent
full range of mappable size.
* ace/Memory_Pool.i (round_up): Cast nbytes to off_t for call to
ACE::round_to_page_size().
* ace/Memory_Pool.cpp: Adjust usage of size_t/off_t, usually with
casts where needed.
(map): For Win64, allow full 64-bit range of file mapping size.
* ace/Message_Queue.{h i cpp} (ACE_Message_Queue_NT): Changed
max_threads arg (ctor and open()) and max_cthrs_/cur_thrs_ from
size_t to DWORD, as expected by the underlying API (this class
is not portable, or compilable outside of ACE_WIN32).
* ace/Msg_WFMO_Reactor.{h cpp} (poll_remaining_handles()): Changed
argument from size_t to DWORD - matches similar changes to
WFMO_Reactor, below.
* ace/Name_Request_Reply.cpp (ctor): Cast length to ACE_UINT32.
* ace/Naming_Context.cpp (info): Cast info string length to int.
* ace/OS.{h i cpp}: (sema_post): Changed count from size_t to u_int,
to match both the value range for initializing (sema_init) and
the underlying OS calls on all platforms.
(getipnodebyaddr): For IPv4 case, cast len to int.
(recvfrom): size_t->int casting for Windows.
(read, write, pread, pwrite): Reduce byte count to DWORD range
for Windows.
(getcwd): Windows offers an int len for getcwd(), as opposed to
size_t everywhere else... so special-case the Windows need to
cast the length down.
(thr_create): Cast stack_size to u_int for beginthreadex().
Other miscellaneous int/size_t casts to get Win64 to build clean.
(iovec): Changed iov_len field from size_t to u_long to match
WSABUF, as comment says to.
* ace/OS_String.cpp (strtok_r_emulation): Change string lengths from
int to size_t, matching that returned from strlen().
* ace/Process.{h cpp} (setenv_i): Change len arg from int to size_t.
Matches string lengths in general, and the expectations of both
callers and callees with this information.
Changed environment_buf_index_ and environment_buf_len_ from int
to size_t as well, matching available range.
* ace/Process_Manager.cpp: size_t to DWORD casting for current_count_.
* ace/Registry.cpp (make_name): Use ssize_t instead of int for string
positions - matches interface for ACE_TString, which this method
accepts and uses.
* ace/Remote_Name_Space.cpp (bind, rebind, resolve, list_names,
list_values, list_types, list_name_entries, list_value_entries,
list_type_entries): Cast length values to ACE_UINT32 as
ACE_Name_Request expects.
* ace/Select_Reactor_Base.cpp (ACE_Select_Reactor_Handler_Repository):
In open(), cast size to int for call to ACE::set_handle_limit().
* ace/Service_Config.cpp (ctor): Cast size value to int for passing to
ACE_Service_Repository::instance(). The ACE_Service_Repository
size should probably be changed to size_t for consistency.
* ace/Service_Manager.cpp (info): Cast return string length to int.
* ace/Service_Types.cpp (info): Cast return string length to int.
* ace/Shared_Memory_MM.i (get_segment_size):
* ace/Shared_Memory_SV.i (get_segment_size): Cast shared_memory_ size
to int. Legit since the open() call's size is an int; otherwise
this should be changed to return a size_t.
* ace/SOCK_Connector.cpp (shared_connect_start): Align use of
int/size_t.
* ace/SOCK_Dgram.{h cpp} (recv, send):
* ace/SOCK_Dgram_Bcast.{h cpp} (recv, send):
* ace/SOCK_Dgram_Mcast.{h i} (send, recv): Change iovcnt from
size_t to int to match the args used by other iovcnt-accepting
methods in ACE.
* ace/SOCK_Dgram_Bcast.i (send): Align use of int/size_t.
* ace/SOCK_IO.cpp (recv (size_t, ...), send(size_t, ...)): The
comments say the pairs are char*, int, but the code extracted
ssize_t values instead of int. Changed to extract ints as the
comment says. The values are put in iovecs which accept
unsigned long, not ssize_t.
* ace/SPIPE_Addr.cpp (set): Align use of int/size_t.
* ace/SPIPE_Stream.cpp (send, recv): Align use of int/size_t.
* ace/SString.i (ACE_NS_WString): Add missing arg for ACE_WString
ctor initialization.
(ACE_SString::rfind): Cast string len to int for searching... note
this limits the string to 'int' range, though the other size
arguments/parameters are size_t. There are crocodiles lurking
here... hopefully this class is on its way out.
* ace/SV_Shared_Memory.{h i} (get_segment_size, round_up): Changed
return type from int to size_t, matching it's argument type.
Also changed class's size_ member from int to size_t, matching
the arg from which it's set.
* ace/Synch.{h i} (ACE_Semaphore::release): Change release count from
size_t to u_int - also see corresponding change to OS.h, above.
* ace/Thread.{h cpp} (spawn_n): Change return value from int to size_t,
matching the range available via the 'n' argument.
* ace/Thread_Manager.{h i cpp}:
(count_threads): Change return value from int to size_t. Matches
the requestable number of threads in spawn_n, as well as
underlying container size return.
(find_task): Change slot argument from int to size_t... matches
range of available slots. The default changed from -1 to 0, but
should make no difference since first check is for 0 >= <slot>.
(thread_all_list, task_all_list, task_list, thread_list,
hthread_list, thread_grp_list, hthread_grp_list): Changed
return value from int to ssize_t, to match <n> argument.
* ace/Timer_Hash_T.{h cpp}: This timer queue generates timer IDs
by casting a pointer to a dynamically-allocated structure to
a long. This, of course, is invalid on Win64. On Win64, the ID
is obtained by masking off the lower 32 bits of the pointer,
and saving the upper 32 bits. This adds an assumption that all
the Hash_Tokens allocated will have the same upper 32 bits in
the pointer value. Note that the original pointer value is used
as the ACT value in the timer scheduled within this class. The
timer ID must only be reconverted to cancel a timer by ID, or
to explicitly reschedule it. Expiration and cancel-by-handler
are all handled by reconverting the ACT to the dynamically-allocated
memory area (Hash_Token).
Also changed hash starter from time.usec() to time.sec(). usec()
isn't usually anything of value.
* ace/Timer_Wheel_T.cpp: Added #pragma to disable compile warnings.
We know of the issue and deliberately used the fields this way.
* ace/UPIPE_Stream.{h cpp} (send, recv): Changed return value from
int to ssize_t, consistent with other IPC streams in ACE.
* ace/WFMO_Reactor.{h cpp} (ACE_WFMO_Reactor_Handler_Repository):
Changed max_handlep1_ and max_handlep1 () from size_t to DWORD.
Matches what they're used for (input to WaitForMultipleObjects).
(ACE_WFMO_Reactor): Changed wait_for_multiple_events() to return
DWORD, not int - matches what WaitForMultipleObjects returns.
Changed wait_status and slot args to dispatch(), safe_dispatch(),
dispatch_handles (), dispatch_handler (), simple_dispatch_handler (),
complex_dispatch_handler (), and poll_remaining_handles () to also
be DWORD, not int, as they're working directly (or close to it)
with the same WFMO return value.
* ace/WIN32_Asynch_IO.cpp (ACE_WIN32_Asynch_Read_Stream::readv,
ACE_WIN32_Write_Stream::writev, ACE_WIN32_Asynch_Read_Dgram::recv,
ACE_WIN32_Asynch_Write_Dgram::send):
Make multiple iovecs if needed to transfer all data requested.
(ACE_WIN32_Asynch_Read_Stream::shared_read,
ACE_WIN32_Asynch_Write_Stream::shared_write,
ACE_WIN32_Asynch_Read_File::readv,
ACE_WIN32_Asynch_Write_File::writev,
ACE_WIN32_Asynch_Accept::accept,
ACE_WIN32_Asynch_Transmit_File::transmit_file): Limit requested
bytes to MAXDWORD. Return -1, ERANGE if over.
* ace/WIN32_Proactor.{h cpp}: Changed number_of_threads_ member from
size_t to DWORD, matching the API calls it's passed to.
(post_completion): Cast transfer count from size_t back to DWORD
for posting. The cast is ok since the original requested transfer
counts (in WIN32_Asynch_IO) were limited to DWORD range.
* tests/Config_Test.cpp:
* tests/Proactor_Scatter_Gather_Test.cpp:
* tests/Proactor_Test.cpp:
* tests/Proactor_Timer_Test.cpp:
* tests/Reactor_Timer_Test.cpp:
* tests/Semaphore_Test.cpp:
* tests/TP_Reactor_Test.cpp: size_t/int fixes.
Fri Oct 4 18:39:19 2002 Steve Huston <shuston@riverace.com>
* tests/Recursive_Condition_Test.cpp: Added a deactivate/wait
on the timer queue to make sure the queue shuts down. This
reveals a bug in the recursive condition... it's stuck.
Also added a much simpler wait/signal test that shows the issue
without the additional stuff to trudge through while looking for
the problem. Thanks to Philippe Haussy <p.haussy@xpedite.com>
for reporting this and sending a nice, concise test case.
* THANKS: Added Philippe Haussy to the Hall of Fame.
Thu Oct 3 17:29:36 2002 Douglas C. Schmidt <schmidt@ace.cs.wustl.edu>
* ace/OS_Dirent.cpp (readdir_emulation): Don't do a FindNextFile()
right after FindFirstFile() to avoid overwriting the existing
data! Thanks to Dmitry Botcharnikov <dimab@garant.ru> for
reporting this.
Wed Oct 2 20:44:19 2002 Steve Huston <shuston@riverace.com>
* tests/Proactor_Scatter_Gather_Test.cpp: Added some more diagnostic
info and removed ACE_ASSERT on file not compared correctly - just
note the error and return. When about to writev a chain of blocks,
update the odd/even chains before writing in case the write fails;
fixes a crash on NT4... test still fails, but doesn't crash.
Wed Oct 2 10:50:49 2002 Ossama Othman <ossama@uci.edu>
* ace/Basic_Types.h:
* ace/Basic_Types.cpp:
Do not rely on the u_int and u_long typedefs. They are not
always defined in system headers. Addresses a compile-time
issue when _XOPEN_SOURCE is explicitly set to 600 on Glibc
platforms, such as Linux.
* ace/OS.h:
Explicitly define the u_{char,short,int,long} typedefs on Glibc
platforms when _BSD_SOURCE is not defined. Addresses a
compile-time issue when _BSD_SOURCE is not defined.
* ace/config-linux.h:
If ACE_HAS_PTHREADS_UNIX98_EXT is not defined, do not define
ACE_LACKS_RWLOCK_T. Addresses a compile-time issue when
_XOPEN_SOURCE is not set to a value >= 600.
* ace/config-linux-common.h:
Reverted change that explicitly defined _XOPEN_SOURCE to 600.
Explicitly defining _XOPEN_SOURCE to 600 causes many
compile-time errors and warnings to occur.
Moved the check for (_XOPEN_SOURCE >= 600) after the
<features.h> include. That header may define _XOPEN_SOURCE when
other macros, such as _GNU_SOURCE, are defined.
Wed Oct 2 01:08:51 2002 Krishnakumar B <kitty@cs.wustl.edu>
* ace/SString.cpp (ACE_NS_WString): Fix the silly off-by-one error
causing heap corruption and core dumps in $ACE_ROOT/Naming_Test.
Thanks to Vladislav <vladislav@gtss.spb.ru> for reporting the
problem.
Tue Oct 1 20:46:35 2002 Christopher Kohlhoff <chris@kohlhoff.com>
* ace/Atomic_Op.cpp:
Added explicit instantiations for ACE_Atomic_Op<ACE_Thread_Mutex,long>
and ACE_Atomic_Op_Ex<ACE_Thread_Mutex,long>. Programs using ACE should
no longer explicitly instantiate these classes. This change eliminates
the complexity of having to test for the ACE_HAS_BUILTIN_ATOMIC_OP
define when doing explicit instantiations.
* tests/Atomic_Op_Test.cpp:
* tests/Notify_Performance_Test.cpp:
Removed ACE_Atomic_Op explicit instantiations that are now made in the
ACE library itself.
Tue Oct 1 19:49:36 2002 Krishnakumar B <kitty@cs.wustl.edu>
* ace/Exception_Macros.h:
Fixed some documentation for using the Exception macros.
* ace/OS.i:
* ace/config-aix-4.x.h:
* ace/config-hpux-11.00.h:
* ace/config-linux-common.h:
* ace/config-linux.h:
Enable support for using native rwlocks on Linux.
Tue Oct 1 05:06:18 2002 Balachandran Natarajan <bala@cs.wustl.edu>
* ace/WIN32_Asynch_IO.cpp: Minor cosmetic changes.
Mon Sep 30 12:21:32 2002 Ossama Othman <ossama@uci.edu>
From Christophe Juniet <cjuniet@entreview.com>
* ace/Sock_Connect.cpp (get_bcast_addr, get_ip_interfaces)
(count_interfaces):
The ifr_addr.sa_len field was not taken into account when
incrementing the ifreq pointer on FreeBSD. Addresses network
interface enumeration problems in FreeBSD builds.
Mon Sep 30 09:33:42 2002 Christopher Kohlhoff <chris@kohlhoff.com>
* bin/MakeProjectCreator/templates/bor.mpd:
* include/makeinclude/build_dll.bor:
* include/makeinclude/build_exe.bor:
* include/makeinclude/build_lib.bor:
* include/makeinclude/clean.bor:
* include/makeinclude/outputdir.bor:
Add support for the 'install', 'dllout' and 'libpaths'
MakeProjectCreator settings in generated Borland makefiles.
Mon Sep 30 13:25:12 2002 Johnny Willemsen <jwillemsen@remedy.nl>
* include/makeinclude/platform_linux_borland.GNU:
Now it is possible to create shared libraries, but no executables
yet with Kylix3.
Mon Sep 30 11:33:12 2002 Johnny Willemsen <jwillemsen@remedy.nl>
* include/makeinclude/platform_linux_borland.GNU:
Extended Kylix3 GNU file.
Mon Sep 30 11:13:33 2002 Johnny Willemsen <jwillemsen@remedy.nl>
* ace/config-borland-common.h:
* ace/config-win32-common.h:
Moved the dll export stuff for the Borland compiler from the win32
file to the borland file because the Kylix compiler also supports
the dll export stuff for shared objects.
Mon Sep 30 10:19:33 UTC 2002 Johnny Willemsen <jwillemsen@remedy.nl>
* include/makeinclude/rules.bin.GNU:
Added special part for Kylix. The Kylix linker expects that the
object files and the name of the executable are separated using
a comma.
Sun Sep 29 08:19:09 2002 Nanbor Wang <nanbor@cs.wustl.edu>
* ACEXML/examples/SAXPrint/Makefile: Removed inclusion of
rules.lib.GNU to allow mingw compilation to proceed. Thanks to
Vince Mounts <vince@mounts.cc> for reporting this.
* ace/SString.h: Moved the ACE_INLINE before ACE_Export in
declaration of operator+ to resolved a mingw warning. Thanks to
Vince Mounts <vince@mounts.cc> for reporting this.
Fri Sep 27 12:49:33 2002 Johnny Willemsen <jwillemsen@remedy.nl>
* include/makeinclude/rules.lib.GNU:
Added special part for Kylix
Thu Sep 26 21:52:05 2002 Balachandran Natarajan <bala@isis-server.isis.vanderbilt.edu>
* THANKS: Added Erich Hochmuth" <erich_hochmuth@hotmail.com> to
the hall of fame.
Thu Sep 26 13:48:26 2002 Balachandran Natarajan <bala@isis-server.isis.vanderbilt.edu>
* ace/TP_Reactor.cpp (remove_handler): Make a check for the return
value from the remove_handler_i () call before calling
handle_close (). Thanks to Eric Malenfant
<EMalenfant@interstarinc.com> for suggesting this.
Eric mentions that doesnt show up the BUG 1020 problem. But
local testing here doesnt tell so. I still see some core dumps
with a test, albeit slowly! The patch cannot do any harm and
hence this is checked in.
Thu Sep 26 07:16:56 2002 Douglas C. Schmidt <schmidt@ace.cs.wustl.edu>
* ace/Local_Name_Space.h (ACE_NS_String): Removed the comment
about ACE_NS_String not having a destructor since this seems to
have been overtaken by events. Thanks to Vladislav Zverev
<vladislav@gtss.spb.ru> for reporting this inconsistency.
Thu Sep 26 09:18:55 UTC 2002 Johnny Willemsen <jwillemsen@remedy.nl>
* ace/Logging_Strategy.h:
Improved doxygen documentation.
Thu Sep 26 05:42:33 UTC 2002 Johnny Willemsen <jwillemsen@remedy.nl>
* include/makeinclude/platform_gnuwin32_common.GNU:
Since mingw can now handle exceptions across dll boundries
removed that restriction. Thanks for Vince Mounts <vince@mounts.cc>
for reporting this.
Wed Sep 25 17:58:43 UTC 2002 Johnny Willemsen <jwillemsen@remedy.nl>
* ace/Basic_Stats.h:
* ace/Connector.h:
* ace/INET_Addr.h:
* ace/OS.h:
* ace/OS.i:
* ace/Service_Config.h:
* ace/Stats.h:
* ace/Timer_Queue_T.cpp:
* ace/TLI_Connector.cpp:
* ace/XTI_ATM_Mcast.i:
* ace/RMCast/RMCast_Reliable_Factory.h:
Small fixes in method argument names, types, comments to fix doxygen
warnings and improve the generated documentation.
Wed Sep 25 08:44:13 2002 Ossama Othman <ossama@uci.edu>
* tests/Notify_Performance_Test.cpp:
Do not explicitly instantiate an ACE_Atomic_Op<ACE_Thread_Mutex,
long> template if ACE_HAS_BUILTIN_ATOMIC_OP is defined.
Defining it causes template specialization with the same
parameters to be declared. Fixes a compile-time problem in
explicit template instantiation builds.
Wed Sep 25 14:49:12 UTC 2002 Johnny Willemsen <jwillemsen@remedy.nl>
* bin/fuzz.pl:
Extended the types of files that are tested in the doxygen
@file with the files_idl. Some of the idl files are parsed to
generate doxygen documentation and when then a @file tag
exists the filename must be correct.
Tue Sep 24 20:17:50 UTC 2002 Don Hinton <dhinton@objectsciences.com>
* tests/Process_Manager_Test.cpp: Removed the ACE_HAS_THREADS
requirement and the unneeded call to
ACE_Reactor::instance ()->owner () so that it would run cleanly
on single threaded builds. Thanks to Steve Huston for this
suggestion.
* tests/run_test.lst: Added !STATIC to Framework_Component_Test since
it must load a shared library as part of the test.
Tue Sep 24 16:07:21 2002 Steve Huston <shuston@riverace.com>
* examples/C++NPv1/Logging_Client.cpp:
* examples/C++NPv2/Select_Reactor_Logging_Server.cpp:
* examples/C++NPv2/Server_Shutdown.cpp:
* examples/C++NPv2/TP_Reactor_Logging_Server.cpp:
For Windows builds without ACE_HAS_STANDARD_CPP_LIBRARY, use
gets() and a char[] instead of the standard string and getline
functions. We don't want to be going this way for ACE in general,
but this fixes the legacy-mode builds.
Tue Sep 24 06:30:31 UTC 2002 Johnny Willemsen <jwillemsen@remedy.nl>
* ace/ACE.h:
* ace/Acceptor.h:
* ace/Activation_Queue.h:
* ace/Asynch_Acceptor.h:
* ace/Asynch_Connector.h:
* ace/Arg_Shifter.h:
* ace/Get_Opt.h:
* ace/Local_Tokens.h:
* ace/Method_Request.h:
* ace/Thread_Manager.h:
* ace/WIN32_Asynch_IO.h:
* ace/INET_Addr.h:
Corrected doxygen tags.
* ace/CDR_Stream.cpp (write_string):
* ace/Map_T.i (find, unbind):
* ace/Timer_Hash_T.cpp:
Made arguments in method definition and implementation the
same.
* ace/Future.h:
Improved doxygen documentation.
* ace/POSIX_CB_Proactor.i:
Added same ifdef as in the header file around the code in this
file, so that doxygen doesn't parse it.
Mon Sep 23 13:43:11 2002 Chad Elliott <elliott_c@ociweb.com>
* bin/MakeProjectCreator/modules/WorkspaceCreator.pm:
Fixed a bug with the per-project workspaces.
Mon Sep 23 13:00:13 2002 Douglas C. Schmidt <schmidt@macarena.cs.wustl.edu>
* ace/Log_Msg_NT_Event_Log.{h,cpp}: Made the #ifdefs consistent
in both the *.h and *.cpp files. Thanks to Johnny Willemsen for
reporting this.
Mon Sep 23 13:14:28 2002 Steve Huston <shuston@riverace.com>
* ace/Task.h (wait()):
* ace/Thread_Manager.h (wait_task()): Improved documentation, also
clarifying that the waited-for threads have been joined upon return.
Mon Sep 23 12:05:38 2002 Chad Elliott <elliott_c@ociweb.com>
* bin/MakeProjectCreator/modules/BorlandWorkspaceCreator.pm:
* bin/MakeProjectCreator/modules/GNUWorkspaceCreator.pm:
* bin/MakeProjectCreator/modules/NMakeWorkspaceCreator.pm:
* bin/MakeProjectCreator/modules/WorkspaceCreator.pm:
For GNU, NMake and Borland projects, create a workspace per
project file.
* bin/MakeProjectCreator/modules/BorlandProjectCreator.pm:
* bin/MakeProjectCreator/modules/Creator.pm:
* bin/MakeProjectCreator/modules/GHSWorkspaceCreator.pm:
* bin/MakeProjectCreator/modules/TemplateParser.pm:
Remove trailing whitespace.
Sun Sep 22 08:49:41 2002 Douglas C. Schmidt <schmidt@ace.cs.wustl.edu>
* ace/Svc_Handler.cpp (flush_i): Don't flush the queued messages
if the connection fails. Thanks to Andrew Finnell
<andrew@activesol.net> for this fix.
Sat Sep 21 23:05:56 2002 Balachandran Natarajan <bala@cs.wustl.edu>
* bin/subst_env.pl: Improved conversion to different coding
styles. Thanks to Oliver Kellog for suggesting this.
Fri Sep 20 13:52:23 2002 Chad Elliott <elliott_c@ociweb.com>
* bin/MakeProjectCreator/modules/NMakeProjectCreator.pm:
Fixed a problem with implicit idl dependencies.
* bin/MakeProjectCreator/README:
* bin/MakeProjectCreator/modules/Creator.pm:
* bin/MakeProjectCreator/modules/ProjectCreator.pm:
* bin/MakeProjectCreator/modules/TemplateParser.pm:
* bin/MakeProjectCreator/templates/bor.mpd:
* bin/MakeProjectCreator/templates/em3vcp.mpd:
* bin/MakeProjectCreator/templates/gnu.mpd:
* bin/MakeProjectCreator/templates/nmake.mpd:
* bin/MakeProjectCreator/templates/vc6dsp.mpd:
* bin/MakeProjectCreator/templates/vc7.mpd:
Added the ability to override or modify idlflags on a per file
group basis.
Thu Sep 19 22:13:13 2002 Krishnakumar B <kitty@cs.wustl.edu>
* ACEXML/common/HttpCharStream.cpp: Added license for the FSM in
HttpCharStream.cpp. It is a shortened BSD license which is
compatible with ACE/TAO licensing.
Wed Sep 18 12:26:22 2002 Douglas C. Schmidt <schmidt@ace.cs.wustl.edu>
* examples/Misc/test_trace.cpp: The call to activate() was
being invoked with the parameters in the wrong order. Thanks to
Jeff W <jeffw_1234@yahoo.com> for reporting this.
Tue Sep 17 17:26:40 2002 Ossama Othman <ossama@uci.edu>
* ace/Basic_Types.cpp:
Cosmetic changes to clarify some preprocessor blocks.
* ace/CDR_Base.h:
Corrected placement of '#' character in preprocessor
directives. It belongs in the first column, not arbitrary
ones.
Tue Sep 17 01:35:54 UTC 2002 Don Hinton <dhinton@ieee.org>
* ace/OS.h: Remove redundant MAXPATHLEN definition when
building VxWorks. Thanks to Rob Andzik <andzik@rtlogic.com>
for pointing this out.
Mon Sep 16 17:36:33 UTC 2002 Johnny Willemsen <jwillemsen@remedy.nl>
* ace/Hash_Cache_Map_Manager_T.cpp:
Use typedefs from header file.
* ace/Process.i (setreugid):
Made method implementation same as definition
Mon Sep 16 15:26:56 UTC 2002 Johnny Willemsen <jwillemsen@remedy.nl>
* ace/config-doxygen.h:
Added define ACE_HAS_TEMPLATE_TYPEDEFS to generate
ACE_Event_Handler_T documentation.
Mon Sep 16 07:35:12 UTC 2002 Johnny Willemsen <jwillemsen@remedy.nl>
* ace/config-doxygen.h:
Added define ACE_HAS_EVENT_POLL to generate Dev_Poll reactor
documentation
* ace/Acceptor.h:
* ace/Containers_T.{h,cpp}:
* ace/Dev_Poll_Reactor.h:
* ace/Sample_History.h:
* ace/Service_Config.h:
Improved doxygen documentation.
Sat Sep 14 10:34:34 2002 Douglas C. Schmidt <schmidt@ace.cs.wustl.edu>
* ace/config-freebsd-pthread.h: Added
#undef ACE_LACKS_UCONTEXT_H if we're compiling for FreeBSD
version > 4. Thanks to Christophe Juniet
<cjuniet@entreview.com> for reporting this.
Fri Sep 13 08:37:09 2002 Ossama Othman <ossama@uci.edu>
* ace/Time_Value.h:
* ace/Time_Value.inl:
Removed copy constructor. The default compiler-generated copy
constructor will do fine since ACE_Time_Value is a POD class.
This may also avoid potential confusion due to a missing
explicit assignment operator. The compiler-generated assignment
operator will suffice in this case, too.
From Gonzalo Diethelm <gonzalo.diethelm@aditiva.com>
* bin/.cvsignore:
* tests/.cvsignore:
* tests/log/.cvsignore:
Files to silence annoying CVS messages regarding generated files
it doesn't know about.
Fri Sep 13 08:57:03 2002 Chad Elliott <elliott_c@ociweb.com>
* bin/MakeProjectCreator/USAGE:
* bin/MakeProjectCreator/modules/Creator.pm:
* bin/MakeProjectCreator/modules/Driver.pm:
* bin/MakeProjectCreator/modules/ProjectCreator.pm:
* bin/MakeProjectCreator/modules/TemplateParser.pm:
* bin/MakeProjectCreator/modules/WorkspaceCreator.pm:
* bin/MakeProjectCreator/templates/bor.mpd:
* bin/MakeProjectCreator/templates/em3vcp.mpd:
* bin/MakeProjectCreator/templates/gnu.mpd:
* bin/MakeProjectCreator/templates/nmake.mpd:
* bin/MakeProjectCreator/templates/vc6dsp.mpd:
* bin/MakeProjectCreator/templates/vc7.mpd:
Added the ability to modify template and project variable
assignments from the command line. Also added rules to process
idl files and place the output in the directory relative to the
specified idl file.
Modified to not add duplicates to file lists.
Thu Sep 12 17:18:43 2002 Douglas C. Schmidt <schmidt@ace.cs.wustl.edu>
* ace/Synch.{h,cpp}: Only define the recursive condition support if
we're running on Win32. Hopefully, this will be generalized for
VxWorks at some point. Thanks to Rob Andzik
<andzik@rtlogic.com> for reporting this.
Thu Sep 12 19:29:41 2002 Steve Huston <shuston@riverace.com>
* ace/Atomic_Op_T.i (dump): Don't try to return a value from a
'void' method.
Thu Sep 12 17:38:10 2002 Nanbor Wang <nanbor@cs.wustl.edu>
* ace/Malloc_T.h:
* ace/Malloc_T.i (release): Added an extra argument (with default
value) to release so that we could decrease the refcount and
release the backing store if needed atomically (while holding the
lock.) This was causing a race condition when removing mmap
files used by MEM_Stream's.
* ace/Memory_Pool.h:
* ace/Memory_Pool.i:
* ace/Memory_Pool.cpp: Changed the release method to take an extra
argument so that we can control whether we want to perform
cleanup on backing store or not.
* ace/MEM_SAP.cpp (close_shm_malloc): Changed to use the extended
release method to remove the shared_memory.
* ace/MEM_IO.cpp: When sending/receiving data reactively, make
sure we don't even try if the socket is not valid.
Thu Sep 12 08:39:46 2002 Douglas C. Schmidt <schmidt@macarena.cs.wustl.edu>
* ace/Synch.h (class ACE_recursive_mutex_state): Changed "HANDLE" to
"ACE_HANDLE" to avoid problems with VxWorks. Thanks to Rob
Andzik <andzik@rtlogic.com> and Don Hinton <dhinton@ieee.org>
for reporting this.
Thu Sep 12 17:36:36 UTC 2002 Craig Rodrigues <crodrigu@bbn.com>
* include/makeinclude/wrapper_macros.GNU: Use awk instead of
perl to determine the ACE major, minor, and beta versions.
Thu Sep 12 12:02:31 2002 Steve Huston <shuston@riverace.com>
* tests/TSS_Test.cpp: Pass iteration count to worker() as a pointer
to int, not an int cast to a pointer and back.
Wed Sep 11 08:44:28 2002 Douglas C. Schmidt <schmidt@macarena.cs.wustl.edu>
* Our thoughts and prayers go out to the victims of 9/11/01 on the
anniversary of this terrible tragedy.
Wed Sep 11 13:03:48 2002 Carlos O'Ryan <coryan@atdesk.com>
* ace/Select_Reactor_Base.cpp:
Check the suspend mask before completely forgetting about a
handle, otherwise things do not work correctly with TP_Reactors
and multiply-registered handlers. This fixes:
http://deuce.doc.wustl.edu/bugzilla/show_bug.cgi?id=1306
Tue Sep 10 17:46:51 2002 Steve Huston <shuston@riverace.com>
* ace/Malloc_T.{h i cpp} (ACE_Malloc_T): Changed the lock_ member from
an ACE_LOCK to an ACE_LOCK *. Also added another constructor that
accepts an ACE_LOCK pointer instead of a ACE_TCHAR *lock_name.
This allows someone to form an ACE_LOCK externally and supply
it to the ACE_Malloc_T object. This is useful if special
permissions need to be set on the lock, such as the mode_t for
ACE_Process_Mutex.
Tue Sep 10 14:06:02 2002 Krishnakumar B <kitty@cs.wustl.edu>
* ace/Obstack_T.cpp:
* ace/Obstack_T.h:
Obstack is no longer restricted to fixed-size chunks. Chunk size
is increased by a power of two if we run out of memory in a
chunk. Added implementation of unwind operations. Stack can be
unwound by giving the address of an object on the stack. Fixed a
couple of bugs in the existing implementation when used with
WCHAR. We were incrementing the pointers by sizeof (CHAR) as
well as multiplying by sizeof (CHAR) to get the number of bytes
to be copied. This improvement doesn't deal with the alignment
issues as it requires a change in Obchunk which is postponed
till after ACE 5.3 is released.
* tests/Obstack_Test.cpp:
New, improved test which exercises all the code paths in the
implementation unlike the previous test.
Tue Sep 10 12:32:33 2002 Carlos O'Ryan <coryan@atdesk.com>
* ace/Connector.cpp:
Be more informative in error messages, at least report in what
library, class and function was the error detected. This fixes:
http://deuce.doc.wustl.edu/bugzilla/show_bug.cgi?id=1304
Tue Sep 10 12:28:41 2002 Carlos O'Ryan <coryan@atdesk.com>
* ace/Connector.cpp:
Be more paranoid about using AST's returned from cleanup_AST()
and always check the return value of that function. This fixes:
http://deuce.doc.wustl.edu/bugzilla/show_bug.cgi?id=1303
Mon Sep 9 16:44:00 2002 Balachandran Natarajan <bala@isis-server.vuse.vanderbilt.edu>
* THANKS: Surprise, surprise, Gautam Thaker'ss name was not there
in the THANKS file. So added it.
Mon Sep 9 16:57:41 2002 Steve Huston <shuston@riverace.com>
* ace/POSIX_Asynch_IO.cpp (cancel): Don't sanity-check the
proactor type - just call cancel_aio and let the proactor impl
figure it out.
* examples/Reactor/Proactor/test_aiocb.cpp: Fixes to not crash.
Mon Sep 09 11:37:13 2002 Nanbor Wang <nanbor@cs.wustl.edu>
* ace/OS.cpp (cond_timedwait): Changed to pass absolute time when
using emulated semaphore on WinCE. Thanks to Herbert Wang
<herbert@nowsol.com> for reporting this.
* ace/Thread_Manager.cpp (join): This function was not cropping
the thread return status when a thread had already exited when
we called and its Thread_Descriptor had been moved to
terminated_thr_list_. Thanks to Roger Weeks
<rogerw@firstlogic.com> for reporting the problem.
Mon Sep 9 00:12:04 UTC 2002 Craig Rodrigues <crodrigu@bbn.com>
* ace/Makefile.dirs:
* examples/Makefile:
* tests/Makefile:
Remove references to obsolete ACE_HAS_GNUG_PRE_2_8 make
variable.
Sat Sep 7 23:22:20 2002 Balachandran Natarajan <bala@isis-server.vuse.vanderbilt.edu>
* bin/make_release: The tar ball that is put out during the
release, is copied now to the the previous_versions directory
with the appopriate version information. This should work right
since this was tested against a local repo.
Thanks to Preston A. Elder <prez@gentoo.org> for motivating
this change.
Sat Sep 7 18:03:21 2002 Steve Huston <shuston@riverace.com>
* ace/Proactor.cpp: Removed some ACE_Proactor:: prefixes on member
variable access, replacing with this-> to clarify what's happening.
* ace/SUN_Proactor.cpp (handle_events): No need to cast a pointer to
long to check for 0.
Re-enabled some "should never happen" ACE_DEBUG lines until we
find out what's going wrong with this stuff.
Thu Sep 5 12:13:51 2002 Steve Huston <shuston@riverace.com>
* ACEXML/common/URL_Addr.inl: Removed ACE_RCSID - it's in URL_Addr.cpp.
Wed Sep 4 16:31:29 2002 Douglas C. Schmidt <schmidt@cs.wustl.edu>
* Kelly Clarkson wins "American Idol." Go Kelly!!
Wed Sep 4 17:50:27 2002 Steve Huston <shuston@riverace.com>
* tests/run_test.pl: Change run time limit from 300 to 400 seconds.
Some tests are timing out, and when run by hand, they run just over
5 minutes, so give them a little more time.
Wed Sep 4 17:31:24 2002 Steve Huston <shuston@riverace.com>
* tests/Cached_Conn_Test.cpp: ACE_DEBUG %@ for pointers, not %d.
Wed Sep 4 20:59:40 UTC 2002 Craig Rodrigues <crodrigu@bbn.com>
* include/makeinclude/platform_irix5.2.GNU:
* include/makeinclude/platform_m88k.GNU:
* include/makeinclude/platform_netbsd.GNU:
* include/makeinclude/platform_qnx_neutrino.GNU:
* include/makeinclude/platform_qnx_rtp_gcc.GNU:
* include/makeinclude/platform_sco-nothread.GNU:
Instead of setting -fno-implicit-templates,
use $(TEMPLATES_FLAG). Include platform_g++.GNU to get the
correct value of $(TEMPLATES_FLAG).
Wed Sep 4 16:31:29 2002 Steve Huston <shuston@riverace.com>
* ace/Timer_Wheel_T.cpp: Formatting tweaks for ACE coding style.
Wed Sep 4 20:08:54 UTC 2002 Don Hinton <dhinton@objectsciences.com>
* ace/Framework_Component.cpp (close):
Delete each component explicitely instead of calling
close_singleton () to avoid a memory leak. The dtor calls
close_singleton () anyway. Thanks Vladimir Chovanec
<Vladimir CHOVANEC@asset.sk> for reporting the leak and
suggesting the fix.
Tue Sep 03 22:59:27 2002 Krishnakumar B <kitty@cs.wustl.edu>
* ACEXML/common/XML_Common.dsp:
Added URL_Addr.inl to common.
Tue Sep 03 22:40:22 2002 Krishnakumar B <kitty@cs.wustl.edu>
* ACEXML/common/HttpCharStream.cpp:
Handle WCHAR properly when getting data from URLs.
* ACEXML/common/URL_Addr.cpp:
* ACEXML/common/URL_Addr.h:
* ACEXML/common/URL_Addr.inl:
Fixes for proper parsing of URLs when URLs are WCHARs.
* ACEXML/examples/SAXPrint/main.cpp:
Use int in GetOpt instead of char or ACEXML_Char.
Tue Sep 3 17:12:59 2002 Ossama Othman <ossama@uci.edu>
* ace/OS.cpp (num_processors_online):
Fixed ACE_TRACE macro.
Tue Sep 3 16:38:47 2002 Ossama Othman <ossama@uci.edu>
* ace/ace_dll.dsp:
* ace/ace_lib.dsp:
Atomic_Op.cpp is no longer a template source file. Moved it to
the "Source Files" folder.
* ace/Synch.cpp (ACE_Mutex):
Fixed "unused 'mode' argument" warning.
Tue Sep 3 15:54:33 2002 Christopher Kohlhoff <chris@kohlhoff.com>
* ace/OS.h:
* ace/OS.cpp:
Added new functions ACE_OS::num_processors() and
ACE_OS::num_processors_online() for determining the number of CPUs
available on a system.
* ace/Atomic_Op.cpp:
* ace/Atomic_Op.h:
* ace/Atomic_Op.i:
* ace/Atomic_Op_T.cpp:
* ace/Atomic_Op_T.h:
* ace/Atomic_Op_T.i:
* ace/Object_Manager.cpp:
* ace/Makefile.bor:
* ace/Makefile.ace:
* ace/ace.mpc:
* tests/Atomic_Op_Test.cpp:
Added a new fast, lightweight ACE_Atomic_Op template specialization
for x86 platforms that uses the architecture's atomic integer
primitives. It currently supports Win32 using MSVC6 or BCB, and g++
for (in theory) all x86 operating systems. It selects the
appropriate implementation for single- or multi-CPU systems at
runtime, based on the return value of the ACE_OS::num_processors
function added above.
Note that Atomic_Op.cpp is now a real .cpp file and not a template
file, and so project files need to be updated accordingly. The
template definitions have been moved to the new Atomic_Op_T.* files.
Note also that the ACE_Atomic_Op::mutex() operation has been
deprecated (and is not supported for the new specialization). If
you need this functionality, consider using the ACE_Atomic_Op_Ex
template instead.
Tue Sep 3 15:40:39 2002 Ossama Othman <ossama@uci.edu>
* tests/XtReactor_Test.cpp (sock_callback):
Removed this unused static function.
* tests/TkReactor_Test.cpp (sock_callback):
Likewise.
(ACE_TMAIN):
Fixed "deprecated conversion from string constant to char *"
warning.
Tue Sep 3 15:16:03 2002 Balachandran Natarajan <bala@isis-server.vuse.vanderbilt.edu>
* bin/auto_run_tests.lst: Fixed a typo!
Mon Sep 2 16:48:29 2002 Steve Huston <shuston@riverace.com>
* tests/OS_Test.cpp (ctime_r_test): Corrected ACE_Log_Msg to use
%P, not %p, to list process ID.
Mon Sep 2 13:17:26 2002 Steve Huston <shuston@riverace.com>
* ace/Memory_Pool.{h cpp}:
(ACE_MMAP_Memory_Pool_Options): Added optional file_mode arg
to set the protection mode on the mapped file, if it is
created; defaults to ACE_DEFAULT_FILE_PERMS.
(ACE_MMAP_Memory_Pool): Added file_mode_ member that can be set
by the ACE_MMAP_Memory_Pool_Options. Defaults to
ACE_DEFAULT_FILE_PERMS. It's used for call to ACE_Mem_Map::open()
and ACE_Mem_Map::map().
* ace/Process_Mutex.{h cpp}: ACE_Process_Mutex ctor takes an optional
mode_t arg to set the backing store mode (for ACE_Mutex use) or the
mode for the System V semaphore, when it's used.
* ace/Synch.{h cpp} (ACE_Mutex): Constructor takes an optional mode
to set backing store protection for Pthreads process mutex case,
where memory must be allocated to hold the mutex.
These are laying the groundwork for fixing Bugzilla #1219.
Mon Sep 2 14:07:12 2002 Krishnakumar B <kitty@cs.wustl.edu>
* ace/Exception_Macros.h:
New file which holds the exception macros previously present in
CORBA_macros.h. This file also makes the macros a bit generic so
that they can be used in other modules than TAO.
* ace/CORBA_macros.h:
Include only the definitions needed for TAO/CORBA. This file can
be placed under $TAO_ROOT now. Leaving it for compatibility
reasons.
* ace/OS.i:
Changed the definition of ctime_buf_size to const so that gcc
doesn't complain about using variable-sized array which is
non-ISO C++.
Mon Sep 2 10:00:40 2002 Balachandran Natarajan <bala@isis-server.vuse.vanderbilt.edu>
* ace/Timer_List_T.cpp (get_first_i): Fixes fuzz errors.
Sun Sep 01 08:18:37 UTC 2002 Johnny Willemsen <jwillemsen@remedy.nl>
* ace/Task.cpp (svc_run):
The latest version of the Borland compiler doesn't like the
static cast, so only do the static cast when the compiler
version is smaller than 0x570
* ace/Handle_Set.cpp:
When using Borland on Linux, we don't have fds_bits, but we have
__fds_bits.
Sun Sep 01 07:57:12 UTC 2002 Johnny Willemsen <jwillemsen@remedy.nl>
* ace/config-win32-borland.h:
* ace/config-borland-common.h:
Improved Borland config files for Kylix support.
Sun Sep 01 07:25:12 UTC 2002 Johnny Willemsen <jwillemsen@remedy.nl>
* include/makeinclude/platform_linux_borland.GNU:
Added first version of platform .GNU file for the Borland Kylix
compiler. Thanks to Newton Aird <naird@ix.netcom.com> for
providing this first version.
* THANKS: Added Newton Aird <naird@ix.netcom.com>
Sat Aug 31 14:57:53 2002 Balachandran Natarajan <bala@isis-server.vuse.vanderbilt.edu>
* THANKS: Added Cemal Yilmaz <cyilmaz@cs.umd.edu> to the hall of
fame.
Sat Aug 31 13:55:52 2002 Balachandran Natarajan <bala@isis-server.vuse.vanderbilt.edu>
* ace/OS.i (ctime_r): This fixes a problem on Linux for the call
to ::ctime_r where the pointer returned (result) is the same as
the pointer (buf) passed in, causing the buffer to get clobbed
if strsncpy is used subsequently to move the result back to the
caller's buffer.
* tests/OS_Test.cpp: Added a test for ACE_OS::ctime_r ().
Thanks to Michael Searles <msearles@base16.com> for providing
this patch.
Sat Aug 31 17:45:12 UTC 2002 Johnny Willemsen <jwillemsen@remedy.nl>
* ace/config-borland-common.h:
Created a new config file for the Borland compiler. This will be
used on the Win32 platform and the Kylix3 compiler on Linux
* ace/config-linux-common.h:
When the Borland compiler is detected, include the
config-borland-common.h file
* ace/config-win32-borland.h:
Moved most of the contents to the config-borland-common.h file,
only the lines that are Win32 specific stay here.
Sat Aug 31 10:32:38 2002 Douglas C. Schmidt <schmidt@tango.doc.wustl.edu>
* ace/Future.cpp (set): Removed a stray reference to "iterator"
and replaced the for loop with a while loop. Thanks to Craig
Rodrigues for reporting this.
Sat Aug 31 01:20:09 UTC 2002 Craig Rodrigues <crodrigu@bbn.com>
Gary Duzan <gduzan@bbn.com>
* include/makeinclude/rules.nested.GNU: Rewritten by Gary Duzan.
If a list of directories is specified with DIRS= for a recursive
make, make will halt immediately and propagate a non-zero
return code to the shell if an error is encountered in a
subdirectory. The present behavior does not propagate any
errors to make if there is an error in a subdirectory. If make -k
is specified, make will keep on going even if it encounters an
error in a subdirectory, but it will also propagate a non-zero
return code to make when the make finishes. The current behavior
is to keep on going if an error is encountered in a subdirectory,
but NOT propagate a non-zero return code upon termination of make.
* ace/Makefile.dirs: (Added) Specifies the DIRS= list of directories
to invoke recursive makes on.
* ace/Makefile.ace: (Added). This builds libACE, like the old Makefile
did.
* ace/Makefile: Invoke Makefile.ace first, then Makefile,dirs. It
was necessary to split apart the DIRS= rule from the part of the
Makefile which builds libACE in order to have parallel makes (-j 2)
work on recursive makes.
Fri Aug 30 17:34:00 2002 Justin Michel <michel_j@ociweb.com>
* ace/Timer_List_T.cpp:
* ace/Timer_List_T.h:
* ace/Timer_Wheel_T.cpp:
* tests/Timer_Queue_Test.cpp:
Reimplemented timer list to be compatible with Itanium. It no longer
uses a Node* as the timer_id, so the cancel operation is now much
more expensive. On the plus side I was able to make a few optimizations
that improve the speed of the schedule operations.
I also made a small optimization to the timer wheel, and updated
the test slightly.
Fri Aug 30 15:53:18 2002 Steve Huston <shuston@riverace.com>
* tests/SSL/Makefile: Move the addition of SSL options/flags up to
before the hackery of the compile command for AIX.
Fri Aug 30 05:48:12 UTC 2002 Johnny Willemsen <jwillemsen@remedy.nl>
* ace/OS.i (tempnam):
Changed defines because special things only happen on Win32
Thu Aug 29 22:01:27 2002 Steve Huston <shuston@riverace.com>
* include/makeinclude/platform_hpux_gcc.GNU: Make the build options
settable by the command line (and/or platform_macros.GNU), and
fix the threads and soname options, as well we remove the
-fstrict-prototype option from the compile options - it was needed
for an older g++ (nothing prior to g++ 3 works right on HP-UX
anyway) and is not valid for g++ 3.2 and later. Thanks to
Ville Lehtiniemi <guderian@ees2.oulu.fi> for reporting these
issues and sending fixes.
Thu Aug 29 15:18:31 2002 Steve Huston <shuston@riverace.com>
* ace/Get_Opt.{h i cpp} (long_option): Only print error messages for
long message addition problems if opterr is set. Also added
ACE_LIB_TEXT to naked strings for ACE_ERROR.
Added opt_opt() method to return the most recently matched
short option character. Thanks to Rich (Mr. POSIX) Seibel
for the idea and POSIX spec info for this new method.
* ace/Object_Manager.cpp (init): When finishing up initialization of
the object manager, call ACE_Trace::start_tracing() to reenable
trace in cases where a user does init/fini/init.
* tests/Get_Opt_Test.cpp: Added usage of ACE_Get_Opt::opt_opt().
Thu Aug 29 15:03:23 2002 Ossama Othman <ossama@uci.edu>
* ace/README:
Documented ACE_HAS_BROKEN_UNEXPECTED_EXCEPTIONS macro.
* ace/config-win32-msvc-6.h
(ACE_HAS_BROKEN_UNEXPECTED_EXCEPTIONS):
MSVC++ 6 does not correctly handle exceptions thrown from
functions/methods that do not list them in the exception
specification. In particular, the unexpected exception handler
is not invoked.
Thu Aug 29 06:12:56 2002 Douglas C. Schmidt <schmidt@tango.doc.wustl.edu>
* ace/Future.cpp (set): Fixed the loop code so it's possible for
the observer object to be deleted or detached in its update()
operation. Thanks to Tomer Amiaz <Tomer@bandwiz.com> for this
fix.
Thu Aug 29 09:40:20 2002 Nanbor Wang <nanbor@cs.wustl.edu>
* ACEXML/common/Transcode.h:
* ACEXML/parser/parser/Parser.h: Fixed incorrect usage of Doxygen
tag. Thanks to Johnny for pointing this out.
Thu Aug 29 12:20:17 UTC 2002 Johnny Willemsen <jwillemsen@remedy.nl>
* ace/config-win32-borland.h:
Removed the 1 after 2 defines, so that they are like the defines
in other files.
Thu Aug 29 05:53:12 UTC 2002 Johnny Willemsen <jwillemsen@remedy.nl>
* examples/Reactor/Proactor/post_completions.cpp:
Fixed compile error.
* ace/OS_Dirent.h:
* ace/OS_Errno.cpp:
* ace/Time_Value.h:
* ace/Time_Value.inl:
Made method signature the same in definition and implementation.
* ace/TkReactor.cpp:
* ace/TkReactor.h:
Made method argument names the same as in the base so that doxygen
can generate the documentation.
Wed Aug 28 23:30:31 2002 Steve Huston <shuston@riverace.com>
* include/makeinclude/wrapper_macros.GNU: Remove addition of SSL
compile/link options so that not all parts of ACE, needing SSL or
not, get these options.
* ace/SSL/Makefile:
* tests/SSL/Makefile: Added the SSL compile/link options from
wrapper_macros.GNU to these files, where they're needed.
* ace/POSIX_Proactor.cpp (post_wakeup_completions): Use int
to count completions, not ssize_t - match the passed-in arg type.
Post the completion directly via the proactor, not via the
wakeup completion; the dynamic_cast in ACE_POSIX_Asynch_IO::post_
completion loses the subclass of ACE_POSIX_AIOCB_Proactor and
when using any other subtype of proactor, the notification is
queued incorrectly.
(POSIX_SIG_Proactor::notify_completion()) - always queue the signal.
Not doing so leaves a window where MT proactors can lose a signal.
* tests/Proactor_Test.cpp: Use ACE_Proactor::close_singleton() to
delete proactor instance. Just to be sure we try it.
* ace/SSL/SSL_Asynch_Stream.{h cpp}: u_long->size_t changes.
Wed Aug 28 22:42:41 2002 Steve Huston <shuston@riverace.com>
* examples/Service_Configurator/Misc/main.cpp:
* netsvcs/clients/Naming/Client/main.cpp:
* tests/ARGV_Test.cpp:
* tests/Get_Opt_Test.cpp: Change size_t to int as a side-affect of:
Tue Aug 27 13:28:17 2002 Steve Huston <shuston@riverace.com>
* ace/ARGV.{h i cpp}: Changed argc() value from size_t to int. It
needs to get passed to many places that expect int (argc, argv).
* tests/Semaphore_Test.cpp:
* tests/TP_Reactor_Test.{cpp h}:
* tests/Upgradable_RW_Test.cpp: Further int/size_t corrections.
Wed Aug 28 19:56:16 2002 Douglas C. Schmidt <schmidt@tango.doc.wustl.edu>
* docs/ACE-subsets.html: Updated the document to point to the
soreduce tool and to remove the discussion of PACE. Thanks to
Chumsu Kim <chskim@add.re.kr> for motivating this.
Wed Aug 28 14:24:36 2002 Steve Huston <shuston@riverace.com>
* ace/Log_Msg.h: Fixed Doxygenation of ACE_Log_Msg. Thanks to
Philip Miller <pwmiller@sarnoff.com> for reporting this.
Wed Aug 28 11:21:04 2002 Chad Elliott <elliott_c@ociweb.com>
* bin/MakeProjectCreator/templates/em3vcpdll.mpt:
* bin/MakeProjectCreator/templates/em3vcpdllexe.mpt:
* bin/MakeProjectCreator/templates/em3vcplib.mpt:
* bin/MakeProjectCreator/templates/em3vcplibexe.mpt:
* bin/MakeProjectCreator/templates/nmakedll.mpt:
* bin/MakeProjectCreator/templates/nmakeexe.mpt:
* bin/MakeProjectCreator/templates/vc6dspdll.mpt:
* bin/MakeProjectCreator/templates/vc6dspdllexe.mpt:
* bin/MakeProjectCreator/templates/vc6dsplib.mpt:
* bin/MakeProjectCreator/templates/vc6dsplibexe.mpt:
Enabled RTTI for all VC based template input files.
Wed Aug 28 06:18:35 2002 Douglas C. Schmidt <schmidt@macarena.cs.wustl.edu>
* ace: Removed the config-sunos5.8-sunc++-5.4.h file since these
changes should go in the config-sunos5.8.h file rather than
a special file. Thanks to Steve Huston for noticing this.
* include/makeincludes: Removed the platform_sunos5_sunc++5.4.GNU
file since it's no different from the platform_sunos5_sunc++.GNU
file. Thanks to Steve Huston for noticing this.
Wed Aug 28 06:12:12 UTC 2002 Johnny Willemsen <jwillemsen@remedy.nl>
* etc/tao.doxygen:
Removed Services.h of the list of not to parse files
* etc/tao_rtportableserver.doxygen:
Added TAO_NAMESPACE to list of to expanded macros
* tests/Timer_Queue_Test.cpp:
Fixed unicode build error
* ace/Timer_Wheel_T.cpp:
Fixed doxygen tags.
Tue Aug 27 19:09:17 2002 Steve Huston <shuston@riverace.com>
* ace/Get_Opt.h: Documentation improvements.
Tue Aug 27 17:00:20 2002 Douglas C. Schmidt <schmidt@macarena.cs.wustl.edu>
* ace/Signal.cpp: Fixed the ACE_Sig_Action constructors so that
it doesn't break out of the loop just because a signal handler
failed. Thanks to Marcel Loose <loose@astron.nl> for reporting
this.
Tue Aug 27 19:03:05 2002 Balachandran Natarajan <bala@isis-server.vuse.vanderbilt.edu>
* bin/auto_run_tests.lst: Added $TAO_ROOT/tests/ORB_shutdown test
to the daily builds.
Tue Aug 27 18:52:59 2002 Balachandran Natarajan <bala@isis-server.vuse.vanderbilt.edu>
* ace/Select_Reactor_T.cpp (wait_for_multiple_events): Normally,
select() will reset the bits in dispatch_set so that only those
filed descriptors that are ready will have bits set. However,
when an error occurs, the bit set remains as it was when the
select call was first made. Thus, we now have a dispatch_set
that has every file descriptor that was originally waited for,
which is not correct. We must clear all the bit sets because we
have no idea if any of the file descriptors is ready.
Thanks to Jody Hagins <jody@atdesk.com> and Carlos O'Ryan
<coryan@atdesk.com> for reporting this problem and proving the
patches.
Tue Aug 27 15:56:10 2002 Ossama Othman <ossama@uci.edu>
* ace/config-sunos5.8-sunc++-5.4.h:
* include/makeinclude/platform_sunos5_sunc++5.4.GNU:
Solaris 8 + SunC++ SPRO 5.4 platform configuration files.
Thanks to Serge Kolgan <skolgan@objectsciences.com> for
contributing these files.
Tue Aug 27 17:25:39 2002 Steve Huston <shuston@riverace.com>
* ace/WIN32_Proactor.{h cpp}: More u_long->size_t corrections.
Tue Aug 27 16:50:41 2002 Steve Huston <shuston@riverace.com>
* tests/Proactor_Test.cpp: Fixed mismatched printf formats for
size_t arguments.
Tue Aug 27 16:32:18 2002 Steve Huston <shuston@riverace.com>
* ace/Proactor_Impl.h: Fixed some u_long->size_t changes missed
on POSIX platforms.
Tue Aug 27 14:44:00 2002 Justin Michel <michel_j@ociweb.com>
* ace/Timer_Wheel_T.cpp:
Fixed problem with incorrect name in ACE_TRACE macro.
Tue Aug 27 13:28:17 2002 Steve Huston <shuston@riverace.com>
* ace/config-win32-common.h: Added #define ACE_MALLOC_ALIGN 8 for
Win64.
* ace/Malloc_T.cpp (ACE_Cached_Allocator): When dividing up the
allocated space, maintain the platform's alignment requirements.
* ace/ace_dll64.mak: Removed references to Hash_Map_Manager_rt.*.
* ace/Stream_Modules.cpp (info): Cast string length back to int.
* ace/ARGV.{h i cpp}: Changed argc() value from size_t to int. It
needs to get passed to many places that expect int (argc, argv).
* ace/OS.{h cpp} (ACE_OS::string_to_argv): argc changed from size_t&
to int& to match the change above.
* ace/FILE_IO.{h i cpp}:
* ace/SPIPE_Stream.{h i}: Follow-up to ACE_SOCK_Stream change in:
Mon Jul 22 16:39:21 2002 Steve Huston <shuston@riverace.com>
(sendv_n, recvv_n, sendv, send, recv) - change iov count from
size_t to int.
* ace/Functor_T.i (ACE_Pointer_Hash::operator()): Use reinterpret_cast
to go from pointer to u_long.
* ace/config-win32-msvc-7.h: Define ACE_AUTO_PTR_LACKS_RESET for
Win64 SDK compiler.
* ace/Strategies_T.{h i cpp} (ACE_Thread_Strategy): Changed n_threads
parameter (and n_threads_ member) from size_t to int - matches
what's expected by ACE_Task::activate(), which is where this
value is passed.
* ace/Asynch_Acceptor.{h cpp}:
* ace/Asynch_IO.{h cpp}:
* ace/Asynch_IO_Impl.h:
* ace/POSIX_Asynch_IO.{h cpp}:
* ace/POSIX_Proactor.{h cpp}:
* ace/WIN32_Asynch_IO.{h cpp}:
* ace/WIN32_Proactor.{h cpp}: All byte-count arguments and members
in all classes changed from u_long to size_t. Some already were...
* ace/SOCK_Dgram.i (send): address length is an int, not size_t.
* tests/Cache_Map_Manager_Test.h (Hash_Key::operator()): Cast the
size_t argument to u_long for return.
* tests/Cache_Map_Manager_Test.cpp: Cast arg for ACE_OS::srand to
u_int (matches ACE_OS signature), not size_t.
* tests/CDR_Array_Test.cpp (zero): Change len arg to size_t, and
also the values passed to it. Also, correct length args to
ACE_InputCDR and ACE_OutputCDR - they're size_t, not int.
* tests/Handle_Set_Test.cpp: Disable the conversion warnings
initializing the array of ACE_HANDLE values on Win64. They're fine.
* tests/Mem_Map_Test.cpp (reverse_file): Changed size arg from int
to size_t.
* tests/Buffer_Stream_Test.cpp:
* tests/CDR_Test.cpp:
* tests/Message_Block_Test.cpp:
* tests/Message_Queue_Notifications_Test.cpp:
* tests/Priority_Buffer_Test.cpp:
* tests/Proactor_Scatter_Gather_Test.cpp:
* tests/Proactor_Test.cpp:
* tests/Semaphore_Test.cpp:
* tests/Thread_Pool_Test.cpp:
* tests/TP_Reactor_Test.{h cpp}:
* tests/Upgradable_RW_Test.cpp: Align size_t/int usage.
* tests/Message_Queue_Notifications_Test.cpp (Watermark_Test::producer)
Change hwm from size_t to ssize_t so it can go less than zero and
break the 'for' loop properly.
* tests/MT_SOCK_Test.cpp:
* tests/SOCK_Test.cpp: Use an int to pass to select(), always 0
for Win64.
* tests/SOCK_Send_Recv_Test.cpp:
* tests/Thread_Pool_Reactor_Resume_Test.cpp:
* tests/Thread_Pool_Reactor_Test.cpp:
* tests/TSS_TEst.cpp: Add missing type cast.
Tue Aug 27 11:08:54 2002 Douglas C. Schmidt <schmidt@tango.doc.wustl.edu>
* ace/Pair_T.{h,i}: Added support for operator== to the ACE_Pair
can be used in maps, etc. Thanks to Gonzalo Diethelm
<gonzalo.diethelm@aditiva.com> for this addition.
Tue Aug 27 06:45:58 2002 Chad Elliott <elliott_c@ociweb.com>
* bin/MakeProjectCreator/modules/ProjectCreator.pm:
Fixed a problem where .i and .h files would be added even if they
didn't exist.
Tue Aug 27 10:09:12 UTC 2002 Johnny Willemsen <jwillemsen@remedy.nl>
* etc/tao_dynamicany.doxygen:
* etc/tao_dynamicinterface.doxygen:
* etc/tao_iormanip.doxygen:
* etc/tao_iortable.doxygen:
* etc/tao_portableserver.doxygen:
* etc/tao_rtcorba.doxygen :
Added TAO_NAMESPACE to the list of defines to expand.
Mon Aug 26 17:33:54 2002 Ossama Othman <ossama@uci.edu>
* bin/msvc_auto_compile.pl (Build_Core):
Build the Messaging, PortableGroup and CosLoadBalancing
libraries in a specific order. CosLoadBalancing depends on the
first two. Fixes automated Win32 static builds.
Mon Aug 26 17:14:20 2002 Ossama Othman <ossama@uci.edu>
* tests/TkReactor_Test.cpp:
Fixed a number of warnings.
Mon Aug 26 18:21:34 UTC 2002 Justin Michel <michel_j@ociweb.com>
* ace/Timer_Wheel_T.cpp:
* ace/Timer_Wheel_T.h:
* tests/Timer_Queue_Test.cpp:
New and improved timer wheel implementation.
Mon Aug 26 09:51:12 UTC 2002 Johnny Willemsen <jwillemsen@remedy.nl>
* ace/FlReactor.{h,cpp}:
* ace/TkReactor.{h,cpp}:
* ace/QtReactor.{h,cpp}:
Made the names of the arguments of the schedule_timer() method the
same as in the base class. That way doxygen generates the same
documentation for this overruled method as in the base.
* ace/TLI_Connector.i:
* ace/XTI_ATM_MCast.i:
Made argument names the same as in the header file.
Mon Aug 26 08:29:12 UTC 2002 Johnny Willemsen <jwillemsen@remedy.nl>
* ace/Connector.cpp:
Replaced all short defines with the original ones. Doxygen can't
generate the documentation because of the short defines.
Sun Aug 25 14:15:12 UTC 2002 Johnny Willemsen <jwillemsen@remedy.nl>
* ace/config-win32-borland.h:
Certain defines should only be defined without a value.
Sun Aug 25 12:45:12 UTC 2002 Johnny Willemsen <jwillemsen@remedy.nl>
* etc/tao.doxygen:
Added TAO_NAMESPACE to the list of macro's that must be expanded
when generating doxygen documentation.
Sat Aug 24 22:47:22 2002 Christopher Kohlhoff <chris@kohlhoff.com>
* include/makeinclude/ace_flags.bor:
* include/makeinclude/clean.bor:
* include/makeinclude/compiler.bor:
Updated to support MakeProjectCreator.
* bin/MakeProjectCreator/config/core.mpb:
* bin/MakeProjectCreator/modules/ProjectCreator.pm:
* bin/MakeProjectCreator/modules/BorlandProjectCreator.pm:
* bin/MakeProjectCreator/modules/BorlandWorkspaceCreator.pm:
* bin/MakeProjectCreator/templates/bor.mpd:
Fixed support for Borland makefile generation.
New "core" config for projects that would typically be installed
on production system, i.e. pretty much everything except examples
and tests.
New "include_dir" project attribute used to specify a directory
path where header files for the project should be installed.
* ace/ace.mpc:
* ace/QoS/qos.mpc:
* ace/RMCast/rmcast.mpc:
* ace/SSL/ssl.mpc:
Added "core" as a base project and added "include_dir" value.
* apps/gperf/src/gperf.mpc:
Added "core" as a base project.
Sat Aug 24 16:41:36 2002 Krishnakumar B <kitty@cs.wustl.edu>
* ACEXML/common/FileCharStream.cpp (get):
Remove :: in front of the macro feof. VC is hopelessly confused.
* ace/Argv_Type_Converter.h:
Added #include "ace/OS_Memory.h" to get ACE_NEW. I needed to
touch this to test my changes.
Sat Aug 24 12:01:54 2002 Douglas C. Schmidt <schmidt@tango.doc.wustl.edu>
* ace/OS.h: #undef the atop macro so that it won't break the new
ACE_OS::atop() method on FreeBSD. Thanks to Russell Carter
<rcarter@pinyon.org> and Christophe Juniet
<cjuniet@entreview.com> for this report.
* ace/config-lynxos.h: Added some #defines for LynxOS 4.0. We'll
leave these comments out for now until we figure out how to add
them without breaking earlier versions of LynxOS. Thanks to
Umberto Mascia <u.mascia@pxl.it> for reporting this.
* docs/tutorials/015/Protocol_Stream.h (class Protocol_Stream):
Changed a comment to say "server-side applications" rather than
"client-side applications." Thanks to Mark Xu <ltxd@371.net>
for reporting this.
Fri Aug 23 18:20:31 2002 Steve Huston <shuston@riverace.com>
* ace/config-all.h:
* ace/OS_Memory.h: Moved the ACE_NEW macros from config-all.h to
OS_Memory.h
* ace/Log_Msg.h: Removed #include "ace/Basic_Types.h" (not needed)
and replaced "ace/OS_Errno.h" with "ace/OS.h" since thread defs
are necessary.
* ace/Basic_Types.h: Don't make thread definitions here - they belong
in ace/OS.h.
* ace/Cache_Map_Manager_T.h: Added #include "ace/Default_Constants.h"
to get ACE_DEFAULT_MAP_SIZE when instantiating templates on AIX
with Visual Age C++.
* ace/Caching_Utility_T.cpp: #include "ace/Min_Max.h" and
"ace/OS_Memory.h" so Visual Age C++ can see ACE_MAX and ACE_NEW
when instantiating templates.
* ace/Arg_Shifter.cpp: Added #include "ace/OS_Memory.h" to get ACE_NEW.
* netsvcs/clients/Naming/Dump_Restore/Dump_Restore.cpp: Added
#include "ace/Malloc_Base.h" to pick up ACE_Allocator.
* tests/Cached_Allocator_Test.cpp: Changed default speed tests loops
from 100,000,000 to 10,000,000. run_test.pl times it out on
non-nuclear processors ;-)
Fri Aug 23 16:59:51 2002 Nanbor Wang <nanbor@cs.wustl.edu>
* bin/svcconf-convert.pl: Fixed regex to handle empty option
strings in static/dynamic entries correctly.
Fri Aug 23 16:25:47 2002 Krishnakumar B <kitty@cs.wustl.edu>
* ace/OS.i:
* ace/OS.h:
Removed the wrappers for functions that are known to be
overloaded by macros. #undef will break user code for these
functions. This includes feof(), ferror() and ungetc(). The
other functions seem to only have a function implementation.
* ACEXML/common/FileCharStream.cpp:
Removed the use of ACE_OS wrappers for the above functions.
Fri Aug 23 08:40:38 2002 Douglas C. Schmidt <schmidt@tango.doc.wustl.edu>
* ace/config-qnx-rtp.h: Added some new #defines so ACE will
compile on QNX 6.2. Thanks to Leen Van Kampen
<leen.van.kampen@nl.vanderlande.com> for reporting this.
* ace/Task.cpp (svc_run): Added a #ifdef for _MSC_VER <= 1200
since there are complaints about reinterpret_cast from int to
unsigned long. Thanks to Espen Harlinn
<espen.harlinn@seamos.no> for this fix.
Fri Aug 23 13:04:34 2002 Nanbor Wang <nanbor@cs.wustl.edu>
* ace/Service_Config.cpp: Some minor cosmetic changes.
Fri Aug 23 07:16:13 2002 Chad Elliott <elliott_c@ociweb.com>
* bin/MakeProjectCreator/templates/vc6dsp.mpd:
Fixed a problem where the pch header files is not in the list of
header files.
Fri Aug 23 06:07:38 2002 Krishnakumar B <kitty@cs.wustl.edu>
* ace/OS.h (ACE_OS):
ungetc() is a macro under Borland. Undefine it to make Borland
compiler happy.
Thu Aug 22 21:27:56 2002 Nanbor Wang <nanbor@cs.wustl.edu>
* ace/OS_String.cpp (strtok_r_emulation): Applied the patch Frank
Kuhlman <kuhlmann@materna.de> submitted in [Bug 1272] which
resolved an overrun error.
Thu Aug 22 21:20:01 2002 Krishnakumar B <kitty@cs.wustl.edu>
* include/makeinclude/rules.local.GNU (realclean.local):
Remove older cruft when doing a realclean. Note this is a
sledgehammer (libfoo.so*). Don't blame me if you shoot yourself
in the feet, which technically shouldn't happen as long as you
have the sources to the libraries that you built. Thanks to
Ossama for pointing out that cruft was left behind.
Thu Aug 22 19:14:44 2002 Ossama Othman <ossama@uci.edu>
* ace/OS.i (fgetwc, ungetwc):
These functions are supposed to return WEOF on error, not -1 as
their ACE_OS wrappers were doing. Corrects a warning about
initialization of a negative value to "wint_t", which is an
unsigned integer on some platforms (e.g. GNU libc).
Thu Aug 15 10:43:51 2002 Steve Huston <shuston@riverace.com>
* ace/Message_Queue_T.cpp (enqueue_tail): Moved notify() call outside
lock scope, as Sun May 5 19:14:34 2002 Douglas C. Schmidt
suggested.
Wed Aug 14 18:14:57 2002 Steve Huston <shuston@riverace.com>
* ace/OS.cpp (ACE_TSS_Cleanup::remove()): Always mark the key no
longer in use, instead of simply decrementing the reference count.
Shouldn't call remove() until there are no more references to
the key.
(ACE_TSS_Cleanup::detach()): Decrement the reference count when
detaching. Previously, the count could never get to 0 and the
remove() method would never be called until object manager shutdown.
This resolves a problem where a service using
ACE_Unmanaged_TSS_Singleton would do its cleanup(), but there would
still be a reference to the key... if the destructor (in an unloaded
service DLL) was called at process shutdown, it would crash.
Thanks to Craig L. Ching <cching@mqsoftware.com> for pointing this
problem area out.
Fri Aug 9 16:11:39 2002 Steve Huston <shuston@riverace.com>
* ace/Message_Block.cpp:
(ACE_Data_Block::ACE_Data_Block): If the data allocation fails,
reset the cur_size_ and max_size_ to 0 to reflect the fact that
there is no legitimate memory allocated.
(ACE_Message_Block::init_i): If the data block size() that results
from allocating a new ACE_Data_Block is not what was requested,
return -1 to indicate the failure.
* ace/Malloc_T.i (ACE_Cached_Allocator::free): Don't attempt to
return a 0 pointer to the free_list_. Thanks to Laxmikant
Bopalkar <LBopalkar@protrader.com> for this fix.
* THANKS: Added Laxmikant Bopalkar to the Hall of Fame.
Thu Aug 22 17:34:18 2002 Steve Huston <shuston@riverace.com>
* ace/FIFO_Recv_Msg.{h i}: Fixed recv() in the non-
ACE_HAS_STREAM_PIPES case to throw away the part of a
message longer than the max number of bytes requested by
the caller. Filled out the doxygen comments in the header
to explain the behavior, and the differences when (not)
using ACE_HAS_STREAM_PIPES.
Wed Aug 21 17:48:29 2002 Steve Huston <shuston@riverace.com>
* examples/C++NPv2/TP_Logging_Server.cpp (TP_Logging_Task):
* examples/C++NPv2/display_logfile.cpp (svc):
Must use reinterpret_cast, not static_cast, to cast between
unrelated types (char *, class *).
* examples/C++NPv2/Makefile: Added AIO_CLD to top-level build.
Thu Aug 22 18:10:46 UTC 2002 Craig Rodrigues <crodrigu@bbn.com>
* bin/nightlybuilds/builds.lst: Move RedHat_Static build
to new scoreboard.
Thu Aug 22 01:32:46 2002 Krishnakumar B <kitty@cs.wustl.edu>
* ACEXML/common/StreamFactory.cpp:
Use ACE_TEXT for literals. Add destructor to avoid linker
problems.
* ACEXML/parser/parser/Parser.cpp:
Use ACEXML_Char instead of char* to fix compilation with WCHAR.
* ACEXML/common/XML_Common.dsp:
Add files StreamFactory.{h,cpp} to the project files.
Thu Aug 22 01:16:16 2002 Krishnakumar B <kitty@cs.wustl.edu>
* ace/OS.h:
Fixed compilation error under Windows by undefining the macros.
Wed Aug 21 22:22:42 2002 Ossama Othman <ossama@uci.edu>
* bin/msvc_auto_compile.pl (Build_Core):
Removed "LoadBalancing_Static.dsp" from the list of static
library projects to build. That MSVC++ project was for the old
load balancer, and no longer exists.
Thu Aug 22 03:50:02 UTC 2002 Craig Rodrigues <crodrigu@bbn.com>
* bin/performance_stats.sh:
* bin/footprint_stats.sh: Calculate value of DATE
inside these scripts instead of passing it in as the
third parameter. This will make it easier to make
an autobuild script around this.
Wed Aug 21 20:40:20 2002 Krishnakumar B <kitty@cs.wustl.edu>
* ace/OS.h:
* ace/OS.i:
Added wrappers for fgetc, fgetwc, ferror, clearerr, feof,
ungetc, ungetwc. All these are guaranteed to not be macros.
* ACEXML/apps/svcconf/Svcconf_Handler.cpp:
* ACEXML/apps/svcconf/Svcconf_Handler.h:
Fixed compilation errors.
* ACEXML/common/FileCharStream.cpp:
* ACEXML/common/HttpCharStream.cpp:
* ACEXML/common/XMLFilterImpl.cpp:
* ACEXML/examples/SAXPrint/Print_Handler.cpp:
* ACEXML/examples/SAXPrint/SAXPrint_Handler.cpp:
* ACEXML/examples/SAXPrint/main.cpp:
* ACEXML/examples/svcconf/Svcconf_Handler.cpp:
* ACEXML/parser/debug_validator/Debug_Attributes_Builder.cpp:
* ACEXML/parser/debug_validator/Debug_DTD_Manager.cpp:
* ACEXML/parser/debug_validator/Debug_Element_Builder.cpp:
* ACEXML/parser/debug_validator/Element_Tree.cpp:
* ACEXML/parser/parser/Parser.cpp:
Use ACE_TEXT instead of ACE_LIB_TEXT. It results in reducing
vertical space and the wchar.txt document also encourages it.
Wed Aug 21 17:02:44 2002 Nanbor Wang <nanbor@cs.wustl.edu>
* ace/OS_String.cpp: Changed to enabled wchar version of
strtok_r_emulation when both ACE_HAS_WCHAR and ACE_LACKS_WCSTOK
are both defined (instead of ACE_HAS_REENTRANT_FUNCTIONS.)
Thanks to Brian Appel <bappel@integ.com> for reporting this.
Wed Aug 21 12:41:51 2002 Chad Elliott <elliott_c@ociweb.com>
* bin/MakeProjectCreator/config/notifytest.mpb:
* tests/SSL/tests.mpc:
Fixed a few problems with some of the mpc files.
* nightly.mwc:
Added an initial nightly build workspace file.
Wed Aug 21 11:57:37 2002 Nanbor Wang <nanbor@cs.wustl.edu>
* bin/msvc_auto_compile.pl: Added ACEXML/apps to the list of
compiled ACE directories.
Wed Aug 21 11:15:11 2002 Chad Elliott <elliott_c@ociweb.com>
* bin/MakeProjectCreator/modules/NMakeWorkspaceCreator.pm:
* bin/MakeProjectCreator/modules/TemplateParser.pm:
* bin/MakeProjectCreator/templates/nmake.mpd:
Fixed a problem dealing with Windows, NMake and idl files.
Wed Aug 21 11:04:09 2002 Nanbor Wang <nanbor@cs.wustl.edu>
* ace/Object_Manager.cpp (init): Changed to return failure (-1) if
ACE_Object_Manager fail to acquire the TSS ACE_Log_Msg instance
for whatever reason. Thanks to Jeremy Altavilla
<jeremya@artifact-entertainment.com> for suggesting the fix.
Wed Aug 21 07:43:12 2002 Johnny Willemsen <jwillemsen@remedy.nl>
* ace/ATM_Addr.{h,i}:
Made the signature definition and implementation of set_selector()
and get_selector() the same.
* ace/CDR_Stream.cpp:
Made the read_string() signature the same as in the definition
* ace/config-doxygen.h:
Added ACE_HAS_XTI_ATM to the list of defines that must be set
when generating the doxygen documentation
* ace/config-win32-mingw.h:
Added extern "C" around the win32api methods ace uses but which
are not defined in the mingw win32api.
* ace/Lib_Find.cpp:
Made signature of ldfind method the same as in the definition
* ace/Log_Record.cpp:
Made signature of print method the same as in the definition
* ace/Multiplexor.i:
Added #ifdef 0/#endif around the contents of this file, because the
header and cpp file also do this. Doxygen parses now this .i file
and gives a lot of warnings about this file because it cannot find
the definition of the methods in this file.
* ace/Configuration.h:
* ace/Containers_T.cpp:
* ace/Lib_Find.h:
* ace/OS.h:
* ace/RMCast/RMCast_Reliable_Factory.h:
* ace/RMCast/RMCast_UDP_Proxy.h:
Small improvements for doxygen documentation.
* include/makeinclude/ace_flags.bor:
Added cflags and lib for TAO PSDL library
* include/makeinclude/platform_mingw32.GNU:
MingW doesn't support the adding of the version number after
the .dll, so set SONAME and SOVERSION to empty.
* examples/Connection/non_blocking/test_lsock_acceptor.cpp:
* examples/Connection/non_blocking/test_lsock_connector.cpp:
Added include of Log_Msg to fix compile errors with MingW
Tue Aug 20 14:19:55 2002 Jaiganesh@doc <bugzilla@cs.wustl.edu>
* ACE version 5.2.4 released.
Fri Aug 16 10:25:07 2002 Ossama Othman <ossama@uci.edu>
* include/makeinclude/ace_flags.bor:
Corrected CosLoadBalancing library related variables. They
were still setup for use with the old load balancer prototype.
Fri Aug 16 11:15:49 2002 Douglas C. Schmidt <schmidt@macarena.cs.wustl.edu>
* examples/Reactor/Proactor/test_aiosig_ace.cpp: Added
#include "ace/Log_Msg.h" so things will compile. Thanks to
Victor Poznyak <VPoznyak@Webley.COM> for reporting this and
Alexander Libman <alexl@aurema.com> for suggesting the fix.
Thu Aug 15 15:22:49 2002 Nanbor Wang <nanbor@cs.wustl.edu>
* tests/tests.dsw: Re-added Thread_Manager_Test.dsp into this
workspace. It got accidentally removed when someone merged a
branch into the main trunk. Thanks to Ronald Berger
<ronald.berger@wpafb.af.mil> for noticing this.
Mon Aug 12 10:17:55 2002 Douglas C. Schmidt <schmidt@ace.cs.wustl.edu>
* ace/Thread_Manager.h (ACE_Thread_Manager): Fixed a type where
"manipulated" was spelled "maniputated". Thanks to
Eric Newton <ecn@metaslash.com> for reporting this.
* PROBLEM-REPORT-FORM: Fixed a typo where "ASCII text" was spelled
"ASCII test". Thanks to Eric Newton <ecn@metaslash.com> for
reporting this.
Fri Aug 9 12:13:21 2002 Jaiganesh Balasubramanian <jai@doc.ece.uci.edu>
* bin/nightlybuilds/builds.1st:
Moved the Debian_Core builds to the new scoreboard.
Thanks to CRaig Rodrigues <crodrigu@bbn.com> for the fix.
Fri Aug 9 09:24:08 2002 Douglas C. Schmidt <schmidt@ace.cs.wustl.edu>
* ace/Time_Value.{inl,cpp}: Make sure to normalize the set() methods...
Thanks to Francois <francois@vibes.net> for reporting this. This
fixes BugID 1275.
Thu Aug 8 23:11:30 2002 Balachandran Natarajan <bala@cs.wustl.edu>
* include/makeinclude/rules.nested.GNU: Reverted this change "Thu
Aug 8 18:28:34 UTC 2002 Craig Rodrigues <crodrigu@bbn.com>"
since it would break our daily builds.
Thu Aug 8 18:28:34 UTC 2002 Craig Rodrigues <crodrigu@bbn.com>
* include/makeinclude/rules.nested.GNU: If we fail during a recursive
make, exit with error code 1. This makes it easier to detect errors
in automated builds. Thanks to Gary Duzan <gduzan@bbn.com> for showing
inspiring the fix.
Wed Aug 7 12:39:31 2002 Chad Elliott <elliott_c@ociweb.com>
* bin/MakeProjectCreator/modules/Driver.pm:
Speed up execution by changing the include path order.
* bin/MakeProjectCreator/modules/GNUWorkspaceCreator.pm:
Don't generate a for loop if there is only one project.
* bin/MakeProjectCreator/modules/ProjectCreator.pm:
Fixed a bug with the global assignments overwriting project
assignments.
Sun Aug 4 16:47:29 2002 Balachandran Natarajan <bala@cs.wustl.edu>
* tests/Framework_Component_DLL.cpp: Added a missing template
instantiation. It was caught only in SunCC53 builds.
Sun Aug 4 16:01:28 2002 Balachandran Natarajan <bala@cs.wustl.edu>
* bin/auto_run_tests.lst: Do not the Stack_Recursion tests in
single threaded builds.
Sat Aug 03 17:57:33 2002 Balachandran Natarajan <bala@cs.wustl.edu>
* ace/ace_dll.dsp: Removed the Hash_Map_Manager_rt.cpp from the
project file.
Sat Aug 03 15:42:49 2002 Balachandran Natarajan <bala@cs.wustl.edu>
* examples/Log_Msg/Log_Msg_MFC/Log_Msg_MFC.dsp: Made sure that it
builds only in MFC debug builds.
Sat Aug 3 14:56:23 2002 Krishnakumar B <kitty@cs.wustl.edu>
* ACEXML/common/HttpCharStream.cpp:
Fixed a conversion error from char to wchar_t. Thanks to Johnny
for pointing this out.
* ACEXML/parser/parser/Parser.cpp:
Fixed an unreachable statement warning. Thanks to Bala for
pointing this out.
Sat Aug 3 19:53:12 UTC 2002 Johnny Willemsen <jwillemsen@remedy.nl>
* ACEXML/common/XML_Codecs.h:
* ACEXML/parser/parser/Parser.h:
* ace/Registry.h:
* ace/String_Base.h:
* ace/QoS/QoS_Session_Factory.h:
Fixed doxygen commands.
Sat Aug 3 12:36:55 2002 Balachandran Natarajan <bala@cs.wustl.edu>
* ace/Hash_Map_Manager_rt.h:
* ace/Hash_Map_Manager_rt.cpp:
* ace/Hash_Map_Manager_rt.i: Removed these files from the main
trunk. They shouldnt have been there in the first place.
Fri Aug 2 22:00:26 UTC 2002 Craig Rodrigues <crodrigu@bbn.com>
* examples/Log_Msg/Log_Msg_MFC/*: Added example to show how
to send ACE_DEBUG output to the Microsoft Visual Studio debugger console.
Thanks to Don Hinton <dhinton@ieee.org> and
Chris Hafey <chafey@stentor.com> for help with this.
Fri Aug 2 13:10:05 2002 Krishnakumar B <kitty@cs.wustl.edu>
* ACEXML/examples/SAXPrint/main.cpp (ACE_TMAIN):
* ACEXML/common/InputSource.cpp:
Reverted the previous check-in with respect to the delete
statement. Memory is getting leaked somewhere down in ACE.
Fri Aug 2 12:31:34 2002 Krishnakumar B <kitty@cs.wustl.edu>
* ACEXML/common/ContentHandler.h:
* ACEXML/parser/parser/Entity_Manager.cpp:
* ACEXML/common/NamespaceSupport.cpp:
Fixed minor typos in the comments.
* ACEXML/common/InputSource.cpp:
Removed an erroneous delete statement. Not sure if this is a
implementation bug or a thinko.
* ACEXML/common/HttpCharStream.cpp:
* ACEXML/common/Mem_Map_Stream.cpp:
* ACEXML/common/Mem_Map_Stream.h:
Use char* when sending data on the network. Technically it
should be byte.
* ACEXML/examples/SAXPrint/Print_Handler.cpp:
* ACEXML/examples/SAXPrint/main.cpp:
Fixed a bug with getopt() when WCHAR is enabled. Since EOF is
-1, never use a WCHAR in the while loop.
* ACEXML/parser/parser/Parser.cpp:
* ACEXML/parser/parser/Parser.h:
Improved Namespace support. Modularized functions in the parser.
* ACEXML/docs/TODO.txt:
* ACEXML/docs/bugs.txt:
* ACEXML/docs/guidelines.txt:
* ACEXML/docs/parser_features.txt:
Updated to reflect the current status. People were reading these
old docs and assuming a lot of the features aren't implemented.
Fri Aug 2 16:06:12 UTC 2002 Johnny Willemsen <jwillemsen@remedy.nl>
* ace/config-doxygen.h:
Added ACE_HAS_ATM define to also generate the doxygen documentation
of the ACE ATM classes. This is one of the last parts of ACE that
are missing in the doxygen documentation.
Fri Aug 2 07:54:24 2002 Balachandran Natarajan <bala@cs.wustl.edu>
* ace/Malloc.cpp: Rearranged member initialization list in the
constructor of ACE_Malloc_Stats, to fix warnings with explicit
template builds.
Thu Aug 01 13:40:59 2002 Balachandran Natarajan <bala@cs.wustl.edu>
* tests/Malloc_Test.cpp: Changed the usage of ASYS_TEXT to
ACE_TEXT. Should fix most of the compile errors with g++.
Thu Aug 1 12:14:21 2002 Chad Elliott <elliott_c@ociweb.com>
* bin/MakeProjectCreator/templates/gnu.mpd:
Added $(ACELIB) to the list of ACE_SHLIBS.
Thu Aug 1 11:13:20 2002 Balachandran Natarajan <bala@cs.wustl.edu>
* ace/Malloc_Allocator.h:
* ace/Malloc_Allocator.cpp: Removed the declaration and definition
of ACE_Malloc_Stats since they are not needed in this
translation unit.
* ace/Malloc.h:
* ace/Malloc.cpp: Retained the definition if ACE_Malloc_Stats here
(yes, there were two declarations) and added the definition and
template instantiation for ACE_Atomic_Op used by
ACE_Alloc_Stats. This should fix the erros showing up on the
scoreboard explicit template builds which has
ACE_HAS_MALLOC_STATS turned on.
Thu Aug 1 09:08:36 2002 Douglas C. Schmidt <schmidt@macarena.cs.wustl.edu>
* ace/Message_Block.h: Made the non-static duplicate() and release()
methods virtual so they can be overridden by subclasses. Thanks
to Brian Raven <brianr@liffe.com> for this suggestion.
Thu Aug 01 15:24:32 UTC 2002 Johnny Willemsen <jwillemsen@remedy.nl>
* ace/OS_Thread_Adapter.h:
Fixed incorrected doxygen @file command.
Thu Aug 01 14:52:44 UTC 2002 Johnny Willemsen <jwillemsen@remedy.nl>
* bin/fuzz.pl:
Improved the check for the @file doxygen command. Incomplete file
names where not detected as error.
Thu Aug 1 07:03:05 2002 Chad Elliott <elliott_c@ociweb.com>
* bin/MakeProjectCreator/README:
Added a bit of background on the tool before plunging into the
details.
Thu Aug 01 07:59:12 UTC 2002 Johnny Willemsen <jwillemsen@remedy.nl>
* ace/Asynch_Acceptor.h:
* ace/XtReactor.cpp:
* ace/XtReactor.h:
Corrected argument names to fix doxygen warnings.
Thu Aug 01 07:34:12 UTC 2002 Johnny Willemsen <jwillemsen@remedy.nl>
* ace/config-win32-mingw.h:
Made the definition of the missing parts of the Win32api of MingW
dependent on the version of the w32api instead of our own defines.
This way we automically define the missing things when needed. Thanks
to Craig for suggesting this.
Wed Jul 31 23:39:27 UTC 2002 Craig Rodrigues <crodrigu@bbn.com>
* etc/*.doxygen: Change DOT_PATH from /usr/local/bin/ to
empty, forcing doxygen to look for the dot program in PATH.
This eliminates warnings in the Doxygen nightly build.
Wed Jul 31 12:23:47 2002 Steve Huston <shuston@riverace.com>
* ace/Malloc.cpp:
* ace/Malloc_T.cpp:
* tests/Malloc_Test.cpp: Changed logging of pointers to %@
* tests/Mem_Map_Test.cpp: Fixed loop bound error.
Wed Jul 31 11:34:58 2002 Nanbor Wang <nanbor@cs.wustl.edu>
* docs/index.html: Added a link to ACEXML document.
Wed Jul 31 10:47:54 2002 Chad Elliott <elliott_c@ociweb.com>
* include/makeinclude/rules.local.GNU:
Added a gnu macro (DEPEND_CMD_ARGS) to the g++dep line to allow
pasing arguments (such as -R) to g++dep when running "make depend"
Wed Jul 31 08:41:12 UTC 2002 Johnny Willemsen <jwillemsen@remedy.nl>
* ace/config-win32-mingw.h:
For the compilation of Win32_Asynch_IO we now need to have
FILE_SEGMENT_ELEMENT from winnt.h and ReadFileScatter and
WriteFileScatter from winbase.h.
These are not in the header files of the MingW w32api 1.4/1.5
release. That's why we do these union/defines also in this header
file. By adding the defines ACE_MINGW_LACKS_READWRITE_FILESCATTER
and ACE_MINGW_LACKS_FILE_SEGMENT_ELEMENT to your config.h file
these defines/union are done by ACE for MingW32 so that everything
will compile.
Wed Jul 31 08:11:12 UTC 2002 Johnny Willemsen <jwillemsen@remedy.nl>
* etc/Task.cpp:
Also the MinGW32 GCC3.1 compiler has problems with the
reinterpret_cast in the svc_run method. Use the static_cast instead.
Wed Jul 31 07:40:12 UTC 2002 Johnny Willemsen <jwillemsen@remedy.nl>
* etc/*.doxygen:
Enabled warnings to get them in the doxygen scoreboard.
* ace/Configuration.cpp:
Fixed method argument names to fix doxygen warnings.
Tue Jul 30 15:45:23 2002 Douglas C. Schmidt <schmidt@macarena.cs.wustl.edu>
* ace/SOCK_Dgram.h: Fixed the comment for send(), which had a
cut and paste error. Thanks to Jeff Wilson
<wilsonj@cs.ecs.baylor.edu> for reporting this.
Tue Jul 30 14:09:35 2002 Chad Elliott <elliott_c@ociweb.com>
* tests/tests.mpc:
Update the mpc file to include the libraries.
Tue Jul 30 09:07:29 2002 Ossama Othman <ossama@uci.edu>
* ace/Parse_Node.h:
* ace/Parse_Node.cpp:
Unexported all classes in this file. They are only meant for
internal use by ACE's Service Configurator. Updated Doxygen
comments accordingly.
(apply, symbol, open_dll):
These methods now accept a "yyerrno" reference argument to allow
for modification of the error count in a reentrant manner.
* ace/Svc_Conf.h:
Removed "ace_yyerrno" and "ace_yylineno" global variables.
Local ones are now used.
Altered signature of ace_yyerror() function to accept two
additional parameters, yyerrno and yylineno. Addresses a race
condition.
* ace/Svc_Conf.y:
Removed all remnants of the global "yyerrno" and "yylineno"
variables. Only the reentrant versions are used now.
Pass the "yyerrno" variable as a parameter to all functions that
read or modify the parse error count. Addresses several race
conditions.
Fixed call to ACE_Location_Node::handle(). This method no
longer exists. The correct call is ACE_Location_Node::dll().
For some reason, Svc_Conf_y.cpp (a generated file!!!) was
"fixed" but the parser grammar file was never fixed.
* ace/Svc_Conf.l:
Removed all remnants of the global "yylineno" variable. Only
the reentrant version is used now.
* ace/Service_Config.cpp (process_directives_i):
Removed initialization of "ace_yyerrno" and "ace_yylineno"
global variables. They no longer exist. Poof!
Reverted my previous change. The above changes obviate the need
to take into account the global parse error count.
* ace/Makefile:
Tweaked Svc_Conf_y.cpp and Svc_Conf_l.cpp generation rules so
that yyerrno and yylineno are not prepended with an "ace_".
That is no longer needed.
* etc/Svc_Conf_y.cpp.diff:
Regenerated this patch against parsers generated by the latest
GNU Bison (1.35).
* etc/Svc_Conf_l.cpp.diff:
Regenerated this patch to pull in new changes to Svc_Conf_l.cpp.
Tue Jul 30 10:06:04 2002 Douglas C. Schmidt <schmidt@ace.cs.wustl.edu>
* ace/Thread_Manager.cpp: Moved a stray colon until *after*
the #if !defined(ACE_USE_ONE_SHOT_AT_THREAD_EXIT) check. Thanks
to Alan Tanga <stang1@lucent.com> for reporting this.
* ace/POSIX_Proactor.cpp (delete_result_aiocb_list): Moved
the definition of size_t ai out of the for loops to avoid
problems on older C++ compilers. Thanks to George Varsamis
<gv@prismtechnologies.com> for reporting this.
Tue Jul 30 08:14:34 2002 Chad Elliott <elliott_c@ociweb.com>
* bin/MakeProjectCreator/modules/Creator.pm:
Added an error check for invalid inheritance syntax.
* bin/MakeProjectCreator/modules/Driver.pm:
Changed the progress indicator to allow for cleaner output
when an error occurs.
* bin/MakeProjectCreator/modules/ProjectCreator.pm:
Remove duplicate libs, libpaths and includes when addition or
subtraction is involved.
* bin/MakeProjectCreator/templates/gnu.mpd:
Cleaned up the template to make generated Makefiles a little more
consistent.
Tue Jul 30 06:50:26 2002 Douglas C. Schmidt <schmidt@macarena.cs.wustl.edu>
* ace/Dynamic_Service.cpp: Moved ACE_Dynamic_Service::instance()
from the .i file into the .cpp file and added a #include of
"ace/Service_Object.h" to the .cpp file so the complete type of
ACE_Service_Object would be available to the HP/UX C++ compiler.
Thanks to Torsten Kuepper <Torsten.Kuepper@nokia.com> for
reporting this.
Tue Jul 30 07:51:12 UTC 2002 Johnny Willemsen <jwillemsen@remedy.nl>
* etc/ace.doxygen:
Enabled warnings and undocument warnings to get these warnings
into the doxygen scoreboard. When this works I will enable the
warnings in all other .doxygen files later.
Mon Jul 29 14:47:46 2002 Ossama Othman <ossama@uci.edu>
* ace/Service_Config.cpp (process_directives_i):
In addition to the thread-safe yyerrno variable, check the
global ace_yyerrno variable when determining if errors have
occurred when processing Service Configurator directives.
Thanks to Doug for tracking down the problem and suggesting a
fix and to Denginere <denginere@hotmail.com> for reporting this.
Mon Jul 29 17:30:27 2002 Steve Huston <shuston@riverace.com>
* ace/Get_Opt.h (ctor): Changed documented name of the skip_argv0
argument to skip_args to better reflect that it's not just
argv[0] that can be skipped.
Mon Jul 29 07:45:12 2002 Johnny Willemsen <jwillemsen@remedy.nl>
* ace/OS.cpp (uname): Only check for PROCESSOR_ARCHITECTURE_IA64
when this is defined. The MingW w32api doesn't define this constant.
Sun Jul 28 17:17:50 2002 Douglas C. Schmidt <schmidt@ace.cs.wustl.edu>
* docs/ACE-subsets.html: Updated the breakdown of files to
each subset component so it's consistent with the
$ACE_ROOT/Makefile. Thanks to Ruslan Zasukhin
<sunshine@public.kherson.ua> for reporting this.
Sun Jul 28 10:31:12 2002 Johnny Willemsen <jwillemsen@remedy.nl>
* include/makeinclude/platform_gnuwin32_common.GNU:
Use -mcpu=$(TCPU) instead of -m$(TCPU), because MingW GCC 3.1
now gives warnings that -m is deprecated. Thanks to Craig Rodrigues
for confirming that -m was already deprecated in GCC 2.95.3
Sat Jul 27 17:35:06 2002 Krishnakumar B <kitty@cs.wustl.edu>
* include/makeinclude/platform_g++_common.GNU (SOFLAGS):
Allow building of shared libraries with gcc and Solaris ld.
There wasn't any reason that it wouldn't work.
* Changelog: Remove >>>>> left out by merge conflicts. People
should be more careful about checking for conflicts.
Sat Jul 27 16:20:19 2002 Douglas C. Schmidt <schmidt@ace.cs.wustl.edu>
* examples/Service_Configurator/Misc/main.cpp (ACE_TMAIN): Changed
the code to be more resilient against errors that occur during
parsing of the svc.conf file. Thanks to Denginere
<denginere@hotmail.com> for motivating this change.
Sat Jul 27 15:50:12 2002 Johnny Willemsen <jwillemsen@remedy.nl>
* ACEXML/examples/svcconf/main.cpp:
Made this file compiling with BCB and Unicode
* ACEXML/examples/svcconf/Svcconf_Handler.h:
Made includes like the other examples so that we can build it with
BCB
* ACEXML/examples/svcconf/Svcconf_Handler.cpp:
Fixed unused argument warnings
* ACEXML/examples/svcconf/Makefile.bor:
Added this BCB makefile
* ACEXML/examples/Makefile.bor
Added svcconf directory
Fri Jul 26 21:00:32 2002 Balachandran Natarajan <bala@cs.wustl.edu>
* ace/TP_Reactor.cpp: Fixed a unused variable warning in g++
builds.
Fri Jul 26 20:08:41 2002 Steve Huston <shuston@riverace.com>
* include/makeinclude/platform_aix4_g++.GNU: Corrected option for
using threads from -mthreads to -pthread. This may not work with
pre-gcc 3 compilers, but those compilers are busted on AIX anyway.
Added support for buildbits=32 and buildbits=64. Moved in the new
AIX library-building setup from platform_aix_ibm.GNU.
Fri Jul 26 15:52:12 2002 Balachandran Natarajan <bala@cs.wustl.edu>
* ace/TP_Reactor.cpp: Fixed a problem with handle_event
(ACE_Time_Value &). It should be calling the TP_Reactor's
handle_event () instead of Select_Reactor's. This should fix
[BUGID 1257].
Fri Jul 26 10:11:41 2002 Chad Elliott <elliott_c@ociweb.com>
* bin/MakeProjectCreator/config/messaging.mpb:
* bin/MakeProjectCreator/config/messaging_only.mpb:
Set up a new base project that just contains information about
the Messaging library.
* bin/MakeProjectCreator/modules/GNUProjectCreator.pm:
* bin/MakeProjectCreator/templates/gnu.mpd:
Allow the file lists to contain names of files that correspond
to relative directories.
Fri Jul 26 06:40:12 2002 Douglas C. Schmidt <schmidt@ace.cs.wustl.edu>
* ace/OS_String.inl: Added casts of the input parameter to
(unsigned char) for the ace_isprint() and ace_isspace() methods
on ACE_OS_String to prevent problems with MSVC++ 7.0. Thanks to
Colin Weaver <colin.weaver@invensys.com> for suggesting this
fix.
Fri Jul 26 10:37:12 2002 Johnny Willemsen <jwillemsen@remedy.nl>
* etc/tao_pss.doxygen:
Added doxygen config file to generate the new TAO PSS.
* bin/generate_doxygen_pl:
Added tao_pss.doxygen to the list of files to generate.
* htlm/index.html:
Added link for the new PPS doxygen documentation.
Thu Jul 25 22:58:24 2002 Balachandran Natarajan <bala@cs.wustl.edu>
* ace/Synch.cpp: Removed explicit instantiation of
ACE_Condition<ACE_Recursive_Thread_Mutex> since a template
specialization exists. This was causing a compile error when
explicit template instantiations were used with
g++-2.95.3.
Thu Jul 25 11:32:41 2002 Chad Elliott <elliott_c@ociweb.com>
* bin/MakeProjectCreator/README:
Added a little more detail about what the depends keyword refers
to.
* bin/MakeProjectCreator/USAGE:
* bin/MakeProjectCreator/modules/Driver.pm:
Changed the code to show the default type in the usage message.
* bin/MakeProjectCreator/modules/GNUWorkspaceCreator.pm:
Change the workspace to use a for loop when building on UNIX.
* tests/RMCast/tests.mpc:
* tests/SSL/tests.mpc:
Fixed the case on the dependencies lines.
Wed Jul 24 13:38:40 2002 Chad Elliott <elliott_c@ociweb.com>
* bin/MakeProjectCreator/modules/Creator.pm:
* bin/MakeProjectCreator/modules/Driver.pm:
* bin/MakeProjectCreator/modules/ProjectCreator.pm:
* bin/MakeProjectCreator/modules/WorkspaceCreator.pm:
Added a progress indicator (for those big workspaces).
Wed Jul 24 13:10:19 2002 Chad Elliott <elliott_c@ociweb.com>
* bin/MakeProjectCreator/modules/ProjectCreator.pm:
Add README and readme to the default documentation
files.
* bin/MakeProjectCreator/modules/Creator.pm:
* bin/MakeProjectCreator/modules/GUID.pm:
* bin/MakeProjectCreator/modules/VC7ProjectCreator.pm:
Change the GUID generation code to be deterministic (but still
unique) to allow for multiple solution files to contain the same
project files without having to regenerate the solutions.
Wed Jul 24 13:42:37 2002 Steve Huston <shuston@riverace.com>
* ace/OS.cpp (uname): Added case for PROCESSOR_ARCHITECTURE_IA64
when decoding processor type.
Wed Jul 24 10:58:22 2002 Steve Huston <shuston@riverace.com>
* ace/Acceptor.cpp (ACE_Acceptor::handle_input): When calling select(),
use a int value instead of casting a ACE_HANDLE to an int.
* tests/Cached_Accept_Conn_Test.cpp: Use %@ instead of %d when
logging pointers.
* tests/MT_Reactor_Upcall_Test.cpp: Added ACE_TEXT to char strings
where needed. Changed the send to send fixed header, then the
variable-size string. Sending all at once doesn't work if the
string doesn't immediately follow the size_ member in memory,
which happened on Win64.
Wed Jul 24 10:07:24 2002 Chad Elliott <elliott_c@ociweb.com>
* bin/MakeProjectCreator/README:
* bin/MakeProjectCreator/USAGE:
Update the documentation to reflect the current state.
Wed Jul 24 08:13:48 2002 Christopher Kohlhoff <chris@kohlhoff.com>
* include/makeinclude/build_dll.bor:
* include/makeinclude/build_exe.bor:
* include/makeinclude/build_lib.bor:
* include/makeinclude/make_flags.bor:
Improve debugging support with Borland C++Builder by invoking the
compiler with a full path to each source file. This can be disabled
by setting a NO_FULL_PATH environment variable to 1 or by passing
-DNO_FULL_PATH when running make, which may be necessary when doing
a debug build on Win9x.
Wed Jul 24 07:45:43 2002 Chad Elliott <elliott_c@ociweb.com>
* THANKS: Added Tim Bradley to the hall of fame.
Tue Jul 23 21:46:54 2002 Nanbor Wang <nanbor@cs.wustl.edu>
* ace/Process_Mutex.h:
* ace/Process_Mutex.cpp: Disallowed anonymous Process_Mutex by
invoking this->unique_name() to create a temporary name if
there's no mutex name passed to the constructor. Thanks John
Michael Zorko <j.zorko@att.net> for reporting this problem on
Mac OSX and submitting the patch.
Tue Jul 23 13:08:27 2002 Steve Huston <shuston@riverace.com>
* ace/Log_Msg.{h cpp} (log_hexdump):
* ace/ACE.{h cpp} (format_hexdump): Change size arguments from int
to size_t. Change format_hexdump()'s return from int to size_t.
Tue Jul 23 09:48:15 2002 Chad Elliott <elliott_c@ociweb.com>
* bin/MakeProjectCreator/modules/Driver.pm:
Always add the default include paths.
* bin/MakeProjectCreator/modules/ProjectCreator.pm:
Make sure that idl generated source files go at the front of the
file list in auto-generates source lists.
* bin/MakeProjectCreator/templates/gnu.mpd:
Only add LIB and SHLIB assignments if we are generating a Makefile
for libraries.
Mon Jul 22 22:30:53 2002 Nanbor Wang <nanbor@cs.wustl.edu>
* ACEXML/common/XML_Common.dsp: Added the macro definition
ACEXML_HAS_DLL=1 to the release configuration to resolve a
nightly biuld problem.
Mon Jul 22 18:28:48 2002 Steve Huston <shuston@riverace.com>
* ace/Configuration.h: Doxygen fixes.
Mon Jul 22 16:57:19 2002 Chris Cleeland <cleeland_c@ociweb.com>
* bin/g++dep: Added a -R option that allows you to specify a
variable which should be used to generate relative paths if it's
defined.
Mon Jul 22 17:45:48 2002 Steve Huston <shuston@riverace.com>
* ace/Get_Opt.h: Doxygen fixes.
Mon Jul 22 16:39:21 2002 Steve Huston <shuston@riverace.com>
* ace/Acceptor.cpp (info):
* ace/Connector.cpp (info): Cast return val to int.
* ace/Message_Queue.h (message_count):
* ace/Message_Queue_T.{h cpp i} (message_count): Change return value
from size_t to int. Changed cur_count_ member (and accessors that
return it) from size_t to int. This is a compromise to unify the
length of arguments without changing the return types of all
methods that return a message count (all the enqueue/dequeue methods,
as well as a few others).
Changed a number of @arg to @param for doxygen.
* ace/SOCK_IO.{h i} (recvv, sendv):
* ace/SOCK_Stream.{h i}(recvv_n, sendv_n): Changed iovcnt arg from
size_t to int. int, though sort of odd as a choice, is the
UNIX98 standard and more commonly implemented. Removes an arg
size mismatch between the SOCK_IO and ACE layers, restricting the
iovcnt range at the SOCK_IO layers to match the layer below.
Changed the recv and send iov-enabled, deprecated methods to cast
their size_t iovcnt args to int... these deprecated methods should
be removed after 5.3 is out.
* tests/Conn_Test.cpp: Replaced %d with %@ when logging pointers.
Added missing string arg for a ACE_ERROR %p directive. Use a
int select_width instead of casting ACE_HANDLE for Win64.
Mon Jul 22 15:13:38 2002 Carlos O'Ryan <coryan@atdesk.com>
* ace/Atomic_Op.h:
* ace/Atomic_Op.i:
Fixed bug 1253, add missing copy constructor.
Mon Jul 22 13:25:29 2002 Stephen Torri <storri@cs.wustl.edu>
* ace/streams.h: Fixed _MSC_VER compiler warning messages stating
concern about using MSC_VER without assurance that the macro
was defined.
Mon Jul 22 12:20:21 2002 Krishnakumar B <kitty@cs.wustl.edu>
* THANKS: Added Sean Ogle to the hall of fame.
Mon Jul 22 09:19:34 2002 Balachandran Natarajan <bala@cs.wustl.edu>
* THANKS: Aded Kew Whitney and Colin Weaver to the hall of fame.
Sat Jul 20 08:53:05 2002 Douglas C. Schmidt <schmidt@ace.cs.wustl.edu>
* ace/SOCK_Dgram.cpp (set_nic): Moved the #endif for
ACE_WIN32 *ahead* of the set_options() call. Thanks to Joe
Hayes <Joe.Hayes@lmco.com> for reporting this.
Fri Jul 19 14:42:37 2002 Steve Huston <shuston@riverace.com>
* ace/WFMO_Reactor.cpp (make_changes_in_suspension_infos,
make_changes_in_current_infos):
Fixed bug resulting from: Wed Jul 17 11:34:28 2002 Steve Huston
Thu Jul 18 15:48:29 2002 Steve Huston <shuston@riverace.com>
* ace/Future.h: Doxygenation improvements.
Thu Jul 18 08:39:08 2002 Chad Elliott <elliott_c@ociweb.com>
* bin/MakeProjectCreator/README:
Update the documentation to reflect the additions to the grammar.
* bin/MakeProjectCreator/config/avstreamsexe.mpb:
* bin/MakeProjectCreator/config/corba_messaging.mpb:
* bin/MakeProjectCreator/config/minimum_corba.mpb:
* bin/MakeProjectCreator/config/namingexe.mpb:
* bin/MakeProjectCreator/config/notify.mpb:
* bin/MakeProjectCreator/config/orbsvcsexe.mpb:
* bin/MakeProjectCreator/config/orbsvcslib.mpb:
* bin/MakeProjectCreator/config/rt_client.mpb:
* bin/MakeProjectCreator/config/rt_server.mpb:
* bin/MakeProjectCreator/config/rteventexe.mpb:
Add the GNU specific info for generating conditional target
Makefiles.
* bin/MakeProjectCreator/modules/GNUProjectCreator.pm:
Added code to generate the conditional sections of the GNU
Makefiles.
* bin/MakeProjectCreator/modules/ProjectCreator.pm:
* bin/MakeProjectCreator/modules/TemplateParser.pm:
Fix some minor problems with generated project files.
* bin/MakeProjectCreator/templates/gnu.mpd:
Added template info for conditional targets.
* bin/MakeProjectCreator/templates/vc6dsp.mpd:
* bin/MakeProjectCreator/templates/vc7.mpd:
Removed the tie class idl targets.
* bin/ace_components:
Added a new append option that will be used by the generated GNU
Makefiles.
Thu Jul 18 06:17:19 2002 Douglas C. Schmidt <schmidt@ace.cs.wustl.edu>
* Doug turns 40 today. Fortunately, 40 Octal is only 32 Decimal ;-).
Wed Jul 17 15:18:31 2002 Steve Huston <shuston@riverace.com>
* ace/Configuration.h: Doxygen improvements.
* ace/Configuration.cpp: All error cases where a return
(-2, -3, -4, -5) occurred now return -1 with errno set.
* ace/OS.{i cpp}: Follow-up to Wed Jul 17 11:34:28 2002 Steve Huston
Only make ACE_WIN64 use intptr_t - must have a new SDK to get
intptr_t, and not all have it.... so use it only for ACE_WIN64
since the compiler comes in the newer SDK... Win32 does
fine with long, which is what an intrptr_t is on Win32.
Also fixed the PACE-busted conditional compiles around siginfo_t
to match the declaration in OS.h. Win32 needs this stuff.
Wed Jul 17 14:25:39 2002 Steve Huston <shuston@riverace.com>
* include/makeinclude/platform_aix_ibm.GNU: Added -qfuncsect to the
compile options. Allows for smaller executables/libraries, and
gets rid of most of the multiple definition warnings for templates.
Unfortunately, there are still a few stragglers so the aix_shr
post-processing script is still required.
* ace/Sock_Connect.cpp: Added a hack to get Visual Age C++ on AIX
build running clean. Have to include a template instantiation we
don't need to get the compiler to pull the proper header files
at template compilation time.
Wed Jul 17 11:34:28 2002 Steve Huston <shuston@riverace.com>
* ace/OS.{i cpp}: Windows, in calls to _open_osfhandle(), cast
handle to long for C++Builder. Only MSVC has the intptr_t type.
* ace/WFMO_Reactor.cpp (make_changes_in_current_infos,
make_changes_in_suspension_infos): Run the index from 0 to
last_valid_slot rather than valid slot down to 0 to allow
correct use of size_t index.
* ace/WIN32_Proactor.cpp (register_handle, post_completion): Use
a reinterpret_cast, not static_cast to cast void* to ULONG for
non-Win64.
Wed Jul 17 03:50:56 UTC 2002 Don Hinton <dhinton@objectsciences.com>
* ace/ACE.cpp:
* ace/OS.{h,i,cpp}:
* ace/OS_Dirent.inl:
* ace/OS_Memory.h
* ace/OS_String.inl:
* ace/Thread_Manager.cpp:
* ace/WFMO_Reactor.cpp:
* ace/config-all.h:
* ace/config-win32-borland.h:
* ace/config-win32-msvc-5.h:
* ace/config-win32-msvc-6.h:
* include/makeinclude/wrapper_macros.GNU:
Removed PACE.
Tue Jul 16 14:19:37 2002 Steve Huston <shuston@riverace.com>
* ace/DLL_Manager.cpp:
* ace/Parse_Node.cpp: (also see Fri Jul 12 12:37:42 2002 Steve Huston)
Always use the ptrdiff_t trick to cast a void* to a func ptr.
Nanbor was right ;-) Thanks to Carlos O'Ryan <coryan@atdesk.com>
for clarifying this issue, including C++ chapter and verse.
(It's in ISO C++ section 5.2.10 for those interested).
* tests/DLL_Test.cpp: Use ptrdiff_t as a mediary to cast a void *
to a func ptr, not a long.
Mon Jul 15 21:23:47 2002 Balachandran Natarajan <bala@cs.wustl.edu>
* ace/Message_Block.i (base): Fixed a warning in TRU 64 builds.
Mon Jul 15 18:56:47 2002 Douglas C. Schmidt <schmidt@macarena.cs.wustl.edu>
* ace/String_Base.cpp (substring): Changed "nil" to "nill" to
avoid conflicts with a Mac OS X macro. Thanks to Ruslan
Zasukhin <sunshine@public.kherson.ua> for reporting this.
Mon Jul 15 15:18:33 2002 Steve Huston <shuston@riverace.com>
* ace/Configuration.{h cpp}: Changed ACE_Configuration_Value_IntId
data_ member to be a union with both pointer and u_int members.
Also, the length_ member is now size_t, not u_int.
* ace/Memory_Pool.cpp (ACE_Pagefile_Memory_Pool::map): Use
INVALID_HANDLE_VALUE instead of a literal 0xFFFFFFFF for call to
CreateFileMapping.
* ace/OS.{h i}: New method, void *atop(const char *s) converts a
string to void *.
* ace/OS.i (fdopen): Don't cast arg to _open_osfhandle - Microsoft
changed the type to something sensible.
(isatty): open a C run-time handle for the ACE_HANDLE.
* ace/OS.cpp (fopen): Don't cast arg to _open_osfhandle - Microsoft
changed the type to something sensible.
(unique_name): Use sprintf %p for pointer rather than casting
to an int.
* ace/Naming_Context.cpp (ACE_Name_Options::parse_args): Use
ACE_OS::atop instead of ACE_OS::atoi for converting an argument
to a pointer.
* ace/SOCK_Dgram.cpp (recv, send):
* ace/SOCK_IO.cpp (recvv): Use an int select_width
to pass width to select() so it can be ignored on ACE_WIN64.
* ace/SV_Semaphore_Simple.cpp (name_2_key): Disable the type cast
conversion warning casting ACE::crc32() to key_t... it's fine.
* ace/WIN32_Proactor.cpp (register_handle, post_completion): The
I/O completion port's completionKey argument is a ULONG in
"older" compiler/SDK versions, but was changed to a
ULONG_PTR (new type in newer SDK/compiler) for 64-bit
transition. The new type is used conditionally based on whether or
not we're building a 64-bit version.
Mon Jul 15 09:26:17 2002 Douglas C. Schmidt <schmidt@ace.cs.wustl.edu>
* ace/SString.cpp (substring): Changed "nil" to "nill" to
avoid conflicts with a Mac OS X macro. Thanks to Ruslan
Zasukhin <sunshine@public.kherson.ua> for reporting this.
Mon Jul 15 10:14:44 2002 Carlos O'Ryan <coryan@atdesk.com>
* bin/MakeProjectCreator/README:
Fixed typo
Sun Jul 14 20:14:16 2002 Douglas C. Schmidt <schmidt@macarena.cs.wustl.edu>
* FAQ: Fixed the use of "*.ps.gz" files. Thanks to
Carol Hunsicker <carol.hunsicker@lmco.com> for pointing this
out.
Sun Jul 14 01:55:03 2002 Balachandran Natarajan <bala@cs.wustl.edu>
* ace/Message_Block.i (reset_allocators): Reset the allocators in
the chain if the message block is chained.
Sun Jul 14 01:43:32 2002 Balachandran Natarajan <bala@cs.wustl.edu>
* ace/Message_Block.h:
* ace/Message_Block.i: Added two methods viz. reset_allocators ()
and access_allocators () to ACE_Message_Block.
Sat Jul 13 17:29:35 2002 Balachandran Natarajan <bala@cs.wustl.edu>
* bin/fuzz.pl: Removed the word "warning" from a print statement,
since our scoreboard scripts seems to catch that as a warning.
Sat Jul 13 13:31:54 2002 Balachandran Natarajan <bala@cs.wustl.edu>
* bin/auto_run_tests.lst: Added the Stack_Recursion test to the
daily builds.
Fri Jul 12 20:28:52 2002 Krishnakumar B <kitty@cs.wustl.edu>
* ACEXML/common/URL_Addr.cpp (string_to_addr):
Fixed confusion in handling normal and wchar strings. It should
compile now without problems.
* ACEXML/apps/svcconf/Svcconf_Handler.cpp:
* ACEXML/apps/svcconf/Svcconf_Handler.i:
Fixed memory leaks, some typos and used the locator to print
out error messages.
Fri Jul 12 17:55:08 2002 Carlos O'Ryan <coryan@atdesk.com>
* ace/String_Base.i:
Fixed rfind() to check for pos == npos also, that solved the
regression test failures.
Fri Jul 12 16:03:22 2002 Steve Huston <shuston@riverace.com>
* ace/Basic_Types.h: Itanium is little-endian, like x86. Although
the Itanium architecture allows big-endian operation, Windows
doesn't use it.
* tests/test_config.h (randomize): Fixed some int/size_t mix-ups.
Fri Jul 12 13:02:51 2002 Steve Huston <shuston@riverace.com>
* ace/String_Base.{h i} (rfind): Changed pos argument from size_t to
ssize_t to make proper use of npos and avoid compile error for
g++ 2.95.2.
Fri Jul 12 12:37:42 2002 Steve Huston <shuston@riverace.com>
* ace/DLL_Manager.cpp:
* ace/Parse_Node.cpp: g++ complains that ISO C++ won't allow cast
from void * to func ptr... so cast void * to ptrdiff_t, then to
func ptr.
Fri Jul 12 12:26:27 2002 Steve Huston <shuston@riverace.com>
* ace/Timer_Heap_T.cpp (ctor): Alloc timer_ids_ as ssize_t[],
not long[].
* examples/C++NPv2/TPCLS.dsp: Added SSL libraries to link input.
* examples/C++NPv2/TPLS.dsp: Added Logging_Handler.{h cpp} to project.
Fri Jul 12 12:15:49 2002 Steve Huston <shuston@riverace.com>
* ace/Timer_Heap_T.cpp (grow_heap): Fix compile warning.
Thu Jul 11 21:09:36 2002 Nanbor Wang <nanbor@cs.wustl.edu>
* Makefile.bor: Added a new BUILD target called "nightlybuild" to
simplify nightlybuild script.
Thu Jul 11 20:42:52 2002 Nanbor Wang <nanbor@cs.wustl.edu>
* ace/OS.i (creat): The Win32 implementation of this function was
broken. Thanks to Marvin Greenberg <mgreenberg@dctd.saic.com>
for submitting the fix.
Thu Jul 11 18:37:35 2002 Krishnakumar B <kitty@cs.wustl.edu>
* ACEXML/common/URL_Addr.cpp (string_to_addr):
* ACEXML/common/URL_Addr.h:
Change the argument to match the base class INET_Addr so that
warnings under Borland BCB is eliminated.
* ACEXML/common/HttpCharStream.cpp:
Use ACE_TEXT_ALWAYS_CHAR to convert an Unicode URL to char*
before converting it to an address. Thanks to Nanbor for
pointing this out.
* ACEXML/common/Makefile:
* ACEXML/common/StreamFactory.h:
* ACEXML/common/StreamFactory.cpp:
New class to create appropriate streams based on the URI. This
is needed for handling the parameter entities.
* ACEXML/examples/SAXPrint/main.cpp:
Move common error message to a new usage function.
Thu Jul 11 16:28:24 2002 Steve Huston <shuston@riverace.com>
* tests/Proactor_Scatter_Gather_Test.cpp: Changed Writer to derive
from ACE_Handler, not ACE_Service_Handler. It's not the target of
an asynch connection factory, and declares an open() method that
hides the one in ACE_Service_Handler.
Thu Jul 11 16:15:49 2002 Steve Huston <shuston@riverace.com>
* examples/C++NPv2/SR_Configurable_Logging_Server.dsp:
* examples/TPCLS.dsp:
* examples/TPLS.dsp:
* examples/C++NPv2/examples.dsw: Added SR_Configurable_Logging_Server,
TPCLS, and TPLS projects.
* examples/C++NPv2/TPC_Logging_Server.h: Use ACE traits macros to
allow build on Win32.
* examples/C++NPv2/TPC_Logging_Server.cpp: Fix build problems on
Win32.
* examples/TP_Logging_Server.h (init): Added #include "ace/Auto_Ptr.h"
and corrected use of ACE_NEW_NORETURN; use ACE_Auto_Ptr::get() to get
the argv pointer.
Thu Jul 11 15:03:47 2002 Steve Huston <shuston@riverace.com>
* ace/ace_dll64.mak: TEMPORARILY added /wd4267 to disable the
conversion size_t to int warning.
* ace/Activation_Queue.{h i} (method_count): Change return type
from int to size_t.
* ace/Arg_Shifter.cpp (cur_arg_strncasecmp): Change flag_length var
to size_t to match string function signatures. If returning a
'remaining' length, cast back to int.
* ace/ARGV.cpp (ctor): Build string length using size_t, not int.
* ace/CDR_Base.cpp (ACE_CDR::consolidate): Use ptrdiff_t, not the
nonstandard ptr_arith_t.
* ace/CDR_Stream.cpp (grow_and_adjust): Use ptrdiff_t, notptr_arith_t.
(write_string): Cast ACE_SString:length result to ACE_CDR::ULong.
A number of other size_t<->ACE_CDR::ULong casts.
* ace/CDR_Stream.i (write_string, operator<<): Use a ACE_CDR::ULong
len, can't directly use the return from strlen(), a size_t.
* ace/Codecs.cpp: size_t conversions.
* ace/DEV_Addr.i (set): Cast strlen result to int for base_set.
* ace/DEV_IO.{i cpp} (send, recv): Cast iovec count from size_t to
int for call to ACE_OS level.
* ace/Hash_Map_Manager_T.{h, i, cpp} (shared_find): Change loc argument
from u_long to size_t. Better match for its use.
* ace/OS.h (ACE_align_binary, ACE_ptr_align_binary): Change from
using ptr_arith_t to the standard ptrdiff_t.
* ace/DLL_Manager.cpp:
* ace/Parse_Node.cpp: Avoid casting a void * to a long then back to a
function pointer. Cast using proper calling signature.
* ace/Reactor_Impl.h (ACE_Reactor_Notify::notify):
* ace/Select_Reactor_Base.{h cpp} (ACE_Select_Reactor_Notify::notify):
Change return type from ssize_t to int to match advertised return
type from ACE_Reactor.
* ace/Select_Reactor_T.cpp (check_handles): Use an int select_width
to pass width to select() so it can be ignored on ACE_WIN64.
* ace/String_Base_Const.{h cpp}: Changed npos from int to ssize_t.
* ace/String_Base.{h i}: (operator[]) changed slot arg from int
to size_t. (strstr(), find(), rfind()) changed return type from
int to ssize_t; change pos arg from int to size_t.
* ace/Timer_Heap_T.{h cpp}: Change 'slot' arg from int to size_t.
Also changed timer_ids_ to use ssize_t rather than long to
avoid length mismatches between the max size and the timer
queue (a size_t) and the arrays.
* ace/WFMO_Reactor.h (ACE_WFMO_Reactor_Notify): Change return type
from ssize_to to int to match corresponding change in
ACE_Reactor_Notify, above. The implementation already was returning
int.
* ace/WFMO_Reactor.cpp (make_changes_in_current_infos,
make_changes_in_suspension_infos): Align use of size_t.
(wait_for_multiple_events)...........Should maybe make the
sizes in this class DWORD?????
* ace/WIN32_Proactor.cpp (close, handle_events): completion_key
needs to be a different on Win64 than on Win32.
Thu Jul 11 08:34:22 2002 Chad Elliott <elliott_c@ociweb.com>
* bin/MakeProjectCreator/USAGE:
* bin/MakeProjectCreator/modules/Driver.pm:
Added new options and documentation dealing with generation of
relative paths in projects.
Wed Jul 10 11:46:02 2002 Mayur Deshpande <mayur@ics.uci.edu>
* bin/auto_run_tests.lst:
Added tests/AMH_Exception and examples/AMH/Sink_Server as tests
for AMH
Wed Jul 10 13:31:49 2002 Steve Huston <shuston@riverace.com>
* examples/C++NPv2/CLD.dsp:
* examples/C++NPv2/examples.dsw: Added CLD project.
* examples/Client_Logging_Daemon.cpp: Disable the info, suspend, and
resume methods - these are left as an exercise for the reader.
Wed Jul 10 11:24:39 2002 Steve Huston <shuston@riverace.com>
* examples/C++NPv2/AIO_CLD.dsp:
* examples/C++NPv2/examples.dsw: Added AIO_CLD project.
* examples/C++NPv2/AIO_Client_Logging_Daemon.cpp: Fix Win32 compile
problems.
Wed Jul 10 07:22:24 2002 Chad Elliott <elliott_c@ociweb.com>
* bin/MakeProjectCreator/modules/TemplateParser.pm:
If the project creator needs the slashes converted, then
do so when generating relative paths.
Tue Jul 9 23:24:44 2002 Krishnakumar B <kitty@cs.wustl.edu>
* include/makeinclude/rules.local.GNU:
Print out more explanative messages.
* include/makeinclude/platform_osf1_4.x_cxx.GNU:
* include/makeinclude/platform_sunos5_sunc++.GNU:
Turn on symbol versioning for these platforms with the
proprietary compilers that ships with these systems viz, Sun CC
and cxx.
Tue Jul 9 16:24:46 2002 Douglas C. Schmidt <schmidt@ace.cs.wustl.edu>
* ace/Containers_T.cpp: Fixed inconsistent initializer order for
ACE_Fixed_Stack and ACE_Bounded_Stack. Thanks to Michael
Searles <msearles@base16.com> for reporting this.
Tue Jul 9 11:10:38 2002 Steve Huston <shuston@riverace.com>
* apps/Gateway/Peer/Peer.{h cpp}: Renamed Peer_Acceptor::open()
to Peer_Acceptor::start() to avoid clashes with virtual
ACE_Acceptor::open.
Tue Jul 9 09:01:14 2002 Chad Elliott <elliott_c@ociweb.com>
* bin/MakeProjectCreator/config/taolib_with_idl.mpb:
Change the default tao_idl option from -Gs to -Sc.
Tue Jul 9 08:07:20 2002 Chad Elliott <elliott_c@ociweb.com>
* bin/MakeProjectCreator/modules/TemplateParser.pm:
When using Cygwin Perl, we need to convert the cwd to a windows
path to match up with environment variables that are usable
outside of Cygwin.
Tue Jul 9 07:46:57 2002 Chad Elliott <elliott_c@ociweb.com>
* bin/MakeProjectCreator/modules/TemplateParser.pm:
Fix up the relative value matching code to work correctly
on Windows.
Tue Jul 9 07:31:48 2002 Chad Elliott <elliott_c@ociweb.com>
* ace/ace.mpc:
* ace/QoS/qos.mpc:
* ace/RMCast/rmcast.mpc:
* ace/SSL/ssl.mpc:
* apps/gperf/src/gperf.mpc:
* tests/tests.mpc:
* tests/RMCast/tests.mpc:
* tests/SSL/tests.mpc:
Input files for the Make Project Creator for just the basic
libraries, exe's and tests.
Tue Jul 9 07:24:06 2002 Chad Elliott <elliott_c@ociweb.com>
* bin/mpc.pl:
* bin/mwc.pl:
The starting point for creating workspaces and projects.
* bin/MakeProjectCreator/README:
* bin/MakeProjectCreator/USAGE:
A bit of lite documentation on the Make Project Creator.
* bin/MakeProjectCreator/config/aceexe.mpb:
* bin/MakeProjectCreator/config/acelib.mpb:
* bin/MakeProjectCreator/config/aceversion.mpb:
* bin/MakeProjectCreator/config/avstreamsexe.mpb:
* bin/MakeProjectCreator/config/client.mpb:
* bin/MakeProjectCreator/config/global.mpb:
* bin/MakeProjectCreator/config/messaging.mpb:
* bin/MakeProjectCreator/config/namingexe.mpb:
* bin/MakeProjectCreator/config/notify.mpb:
* bin/MakeProjectCreator/config/notifytest.mpb:
* bin/MakeProjectCreator/config/orbsvcsexe.mpb:
* bin/MakeProjectCreator/config/orbsvcslib.mpb:
* bin/MakeProjectCreator/config/rt_client.mpb:
* bin/MakeProjectCreator/config/rt_server.mpb:
* bin/MakeProjectCreator/config/rteventexe.mpb:
* bin/MakeProjectCreator/config/server.mpb:
* bin/MakeProjectCreator/config/strategies.mpb:
* bin/MakeProjectCreator/config/taoexe.mpb:
* bin/MakeProjectCreator/config/taolib.mpb:
* bin/MakeProjectCreator/config/taolib_with_idl.mpb:
* bin/MakeProjectCreator/config/taoversion.mpb:
Base projects for most of ACE and TAO.
* bin/MakeProjectCreator/modules/Driver.pm:
* bin/MakeProjectCreator/modules/Creator.pm:
* bin/MakeProjectCreator/modules/WorkspaceCreator.pm:
* bin/MakeProjectCreator/modules/GUID.pm:
* bin/MakeProjectCreator/modules/Parser.pm:
* bin/MakeProjectCreator/modules/ProjectCreator.pm:
* bin/MakeProjectCreator/modules/TemplateInputReader.pm:
* bin/MakeProjectCreator/modules/TemplateParser.pm:
The main modules of the Make Project Creator which provide most of
the functionalty.
* bin/MakeProjectCreator/modules/BorlandProjectCreator.pm:
* bin/MakeProjectCreator/modules/BorlandWorkspaceCreator.pm:
* bin/MakeProjectCreator/modules/EM3ProjectCreator.pm:
* bin/MakeProjectCreator/modules/EM3WorkspaceCreator.pm:
* bin/MakeProjectCreator/modules/GHSProjectCreator.pm:
* bin/MakeProjectCreator/modules/GHSWorkspaceCreator.pm:
* bin/MakeProjectCreator/modules/GNUProjectCreator.pm:
* bin/MakeProjectCreator/modules/GNUWorkspaceCreator.pm:
* bin/MakeProjectCreator/modules/NMakeProjectCreator.pm:
* bin/MakeProjectCreator/modules/NMakeWorkspaceCreator.pm:
* bin/MakeProjectCreator/modules/VA4ProjectCreator.pm:
* bin/MakeProjectCreator/modules/VA4WorkspaceCreator.pm:
* bin/MakeProjectCreator/modules/VC6ProjectCreator.pm:
* bin/MakeProjectCreator/modules/VC6WorkspaceCreator.pm:
* bin/MakeProjectCreator/modules/VC7ProjectCreator.pm:
* bin/MakeProjectCreator/modules/VC7WorkspaceCreator.pm:
Subclassed workspace and project creators.
* bin/MakeProjectCreator/templates/bor.mpd:
* bin/MakeProjectCreator/templates/bordll.mpt:
* bin/MakeProjectCreator/templates/borexe.mpt:
* bin/MakeProjectCreator/templates/em3vcp.mpd:
* bin/MakeProjectCreator/templates/em3vcpdll.mpt:
* bin/MakeProjectCreator/templates/em3vcpdllexe.mpt:
* bin/MakeProjectCreator/templates/em3vcplib.mpt:
* bin/MakeProjectCreator/templates/em3vcplibexe.mpt:
* bin/MakeProjectCreator/templates/ghs.mpd:
* bin/MakeProjectCreator/templates/gnu.mpd:
* bin/MakeProjectCreator/templates/gnudll.mpt:
* bin/MakeProjectCreator/templates/gnuexe.mpt:
* bin/MakeProjectCreator/templates/nmake.mpd:
* bin/MakeProjectCreator/templates/nmakedll.mpt:
* bin/MakeProjectCreator/templates/nmakeexe.mpt:
* bin/MakeProjectCreator/templates/va4icc.mpd:
* bin/MakeProjectCreator/templates/va4iccdll.mpt:
* bin/MakeProjectCreator/templates/va4iccdllexe.mpt:
* bin/MakeProjectCreator/templates/va4icclib.mpt:
* bin/MakeProjectCreator/templates/va4icclibexe.mpt:
* bin/MakeProjectCreator/templates/vc6dsp.mpd:
* bin/MakeProjectCreator/templates/vc6dspdll.mpt:
* bin/MakeProjectCreator/templates/vc6dspdllexe.mpt:
* bin/MakeProjectCreator/templates/vc6dsplib.mpt:
* bin/MakeProjectCreator/templates/vc6dsplibexe.mpt:
* bin/MakeProjectCreator/templates/vc7.mpd:
* bin/MakeProjectCreator/templates/vc7dll.mpt:
* bin/MakeProjectCreator/templates/vc7exe.mpt:
Template and template input files for all of the different project
creators.
Tue Jul 9 07:21:29 2002 Chad Elliott <elliott_c@ociweb.com>
* ace/Map_T.h:
* ace/Map.cpp:
* ace/Pair_T.h:
* ace/Pair.cpp:
Remove the use of Map.h and Pair.h.
* ace/gethrtime.cpp:
Only compile the contents of this file if using GHS and are
building for the x86.
Mon Jul 8 17:26:51 2002 Steve Huston <shuston@riverace.com>
* ace/Task.cpp (svc_run): Borland complains about reinterpret_cast from
int to unsigned long, so change the cast to ACE_THR_FUNC_RETURN to
a static_cast for that compiler. Thanks to Johnny Willemsen
<jwillemsen@remedy.nl> for this fix.
Fri Jul 5 10:30:44 2002 Douglas C. Schmidt <schmidt@tango.doc.wustl.edu>
* ace/Array_Base.cpp: Swapped the order of includes so that
Array_Base.h comes after Malloc_Base.h. Thanks to Al Pariante
<Albert.Pariante@axcelis.com> for reporting this.
Thu Jul 4 11:27:05 2002 Douglas C. Schmidt <schmidt@tango.doc.wustl.edu>
* Happy 226th Birthday USA!
Sat Jul 06 19:32:40 2002 Balachandran Natarajan <bala@cs.wustl.edu>
* ace/Time_Value.h (ACE_Time_Value): Fix for [BUGID 1240]. Some of
the operators were missing explicit declarations in the header
file (they were anyway defined in the inlined files) which
created problems in builds where inlining was diabled. Please
see
http://deuce.doc.wustl.edu/bugzilla/show_bug.cgi?id=1240 for
more details. Thanks to Marina Spivak <marina@atdesk.com> for
reporting this.
Fri Jul 5 18:44:39 2002 Steve Huston <shuston@riverace.com>
* ace/ACE.cpp: Corrected undeclared 'select_width' errors and
signed/unsigned mismatch warnings.
Fri Jul 5 16:14:51 2002 Steve Huston <shuston@riverace.com>
* ace/OS.{h i} (send, sendto, recv, recvfrom): Change 'len' argument
from int to size_t.
Removed conditional typedef of ssize_t; it's done in Basic_Types.h.
* ace/ACE.h (recv): Filled in documentation for varargs variant.
* ace/ACE.cpp (send, recv): Properly convert size_t 'count' arg to int
iovec count for call to ACE_OS::sendv/recvv().
(handle_timed_accept, handle_timed_complete, handle_ready): Use
an int select_width for ACE_OS::select() calls to get the types
correct. This arg is ignored on Windows anyway.
* ace/Basic_Types.h: If ACE_HAS_SSIZE_T not defined, and Win64,
typedef SSIZE_T ssize_t; else use the existing int typedef.
Wed Jul 3 11:09:31 2002 Steve Huston <shuston@riverace.com>
* tests/SSL/Thread_Pool_Reactor_SSL_Test.cpp:
Change thread function to return ACE_THR_FUNC_RETURN, not void *.
Tue Jul 02 21:43:53 2002 Nanbor Wang <nanbor@cs.wustl.edu>
* ACEXML/common/XMLFilterImpl.h: One more pre/post mismatch.
Tue Jul 2 16:58:55 2002 Krishnakumar B <kitty@cs.wustl.edu>
* ACEXML/common/XML_Types.h:
Removed unnecessary includes and fixed a typo.
Tue Jul 02 16:35:19 2002 Nanbor Wang <nanbor@cs.wustl.edu>
* ACEXML/common/Attributes.h:
* ACEXML/common/Locator.h: Fixed mismatched pre/post inclusions.
* ACEXML/parser/parser/Parser.cpp: Fixed compilation errors.
Tue Jul 2 11:53:29 2002 Steve Huston <shuston@riverace.com>
* ace/config-all.h: Changed definition of ACE_THR_FUNC to incorporate
the platform's thread function return type (DWORD on Windows,
void * on most others). Uses a new typedef ACE_THR_FUNC_RETURN
to specify the platform's thread function return type.
* ace/OS.{h i cpp} (thr_exit, thr_join): The status arg is now
a ACE_THR_FUNC_RETURN *.
Also moved remaining thread function definition type things to
config-all.h with the rest of them.
* ace/Base_Thread_Adapter.{h cpp} (invoke(), ace_thread_adapter()):
* ace/OS_Thread_Adapter.{h cpp}
* ace/Thread_Adapter.{h cpp} (invoke(), invoke_i()):
Return type changed from void * to ACE_THR_FUNC_RETURN.
* ace/Event_Handler.{cpp h} (read_adapter): Change return value from
void* to ACE_THR_FUNC_RETURN.
* ace/Thread_Hook.{h cpp}: ACE_Thread_Hook::start () returns
ACE_THR_FUNC_RETURN, not void *.
* ace/Thread.{h i} (exit, join): 'status' arg is now
ACE_THR_FUNC_RETURN *, not void *.
* ace/Thread_Control.{h inl cpp} (status, exit):
* ace/Thread_Manager.{h cpp} (exit, join): Thread exit status
type changed from void * to ACE_THR_FUNC_RETURN.
* ace/Task.{h cpp} (ACE_Task_Base): Return type from svc_run now
ACE_THR_FUNC_RETURN.
* examples/C++NPv1/RT_Thread_Per_Connection_Logging_Server.cpp:
* examples/C++NPv1/Thread_Per_Connection_Logging_Server.{cpp, h}:
* examples/C++NPv2/Select_Reactor_Logging_Server.cpp:
* examples/C++NPv2/Server_Shutdown.cpp:
* examples/C++NPv2/TP_Reactor_Logging_Server.cpp:
* examples/C++NPv2/WFMO_Reactor_Logging_Server.cpp:
* examples/C++NPv2/Client_Logging_Daemon.cpp:
* examples/Connection/blocking/SPIPE-acceptor.cpp:
* examples/IPC_SAP/SOCK_SAP/CPP-inserver.cpp:
* examples/IPC_SAP/SSL_SAP/SSL-server.cpp:
* examples/Reactor/WFMO_Reactor/Abandoned.cpp:
* performance-tests/TCP/tcp_test.cpp:
* tests/ACE_Init_Test.cpp:
* tests/MEM_Stream_Test.cpp:
* tests/Service_Config_DLL.cpp:
* tests/Task_Test.cpp:
* tests/Thread_Pool_Reactor_Resume_Test.cpp:
* tests/Thread_Pool_Reactor_Test.cpp:
Change thread function to return ACE_THR_FUNC_RETURN, not void *.
* examples/C++NPv2/TP_Logging_Server.cpp (handle_input, svc):
* examples/C++NPv2/AC_Client_Logging_Daemon.cpp (open):
* examples/C++NPv2/display_logfile.cpp (svc): Change
ACE_reinterpret_cast to ACE_static_cast. Thanks to Doug Schmidt
for finding this.
* examples/C++NPv2/TP_Logging_Server.h:
* examples/C++NPv2/Reactor_Logging_Server_Adapter.cpp: Corrected use
of ACE_NEW_RETURN.
Mon Jul 1 23:16:47 2002 Jeff Parsons <parsons@cs.wustl.edu>
* */Makefile:
Updated dependencies.
Mon Jul 1 21:59:44 2002 Krishnakumar B <kitty@cs.wustl.edu>
* ACEXML/common/Attributes.h:
* ACEXML/common/AttributesImpl.h:
* ACEXML/common/Attributes_Def_Builder.h:
* ACEXML/common/CharStream.h:
* ACEXML/common/ContentHandler.h:
* ACEXML/common/DTDHandler.h:
* ACEXML/common/DTD_Manager.h:
* ACEXML/common/DefaultHandler.h:
* ACEXML/common/Element_Def_Builder.h:
* ACEXML/common/EntityResolver.h:
* ACEXML/common/Env.h:
* ACEXML/common/ErrorHandler.h:
* ACEXML/common/Exception.h:
* ACEXML/common/FileCharStream.h:
* ACEXML/common/HttpCharStream.h:
* ACEXML/common/InputSource.h:
* ACEXML/common/Locator.h:
* ACEXML/common/LocatorImpl.h:
* ACEXML/common/Mem_Map_Stream.h:
* ACEXML/common/NamespaceSupport.h:
* ACEXML/common/SAXExceptions.h:
* ACEXML/common/StrCharStream.h:
* ACEXML/common/Transcode.h:
* ACEXML/common/URL_Addr.h:
* ACEXML/common/Validator.h:
* ACEXML/common/XMLFilter.h:
* ACEXML/common/XMLFilterImpl.h:
* ACEXML/common/XMLReader.h:
* ACEXML/common/XML_Codecs.h:
* ACEXML/common/XML_Types.h:
* ACEXML/parser/debug_validator/Debug_Attributes_Builder.cpp:
* ACEXML/parser/debug_validator/Debug_Attributes_Builder.h:
* ACEXML/parser/debug_validator/Debug_DTD_Manager.h:
* ACEXML/parser/debug_validator/Debug_Element_Builder.h:
* ACEXML/parser/debug_validator/Element_Tree.h:
* ACEXML/parser/parser/Entity_Manager.h:
* ACEXML/parser/parser/Parser.cpp:
* ACEXML/parser/parser/Parser.h:
ACE_LACKS_PRAGMA_ONCE fixes.
Mon Jul 1 06:21:00 2002 Douglas C. Schmidt <schmidt@macarena.cs.wustl.edu>
* ace/Sock_Connect.cpp (count_interfaces): Added a MacOSX-specific
value for OSIOCGIFCONF. Thanks to John Zorko <j.zorko@att.net>
|