1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
153
154
155
156
157
158
159
160
161
162
163
164
165
166
167
168
169
170
171
172
173
174
175
176
177
178
179
180
181
182
183
184
185
186
187
188
189
190
191
192
193
194
195
196
197
198
199
200
201
202
203
204
205
206
207
208
209
210
211
212
213
214
215
216
217
218
219
220
221
222
223
224
225
226
227
228
229
230
231
232
233
234
235
236
237
238
239
240
241
242
243
244
245
246
247
248
249
250
251
252
253
254
255
256
257
258
259
260
261
262
263
264
265
266
267
268
269
270
271
272
273
274
275
276
277
278
279
280
281
282
283
284
285
286
287
288
289
290
291
292
293
294
295
296
297
298
299
300
301
302
303
304
305
306
307
308
309
310
311
312
313
314
315
316
317
318
319
320
321
322
323
324
325
326
327
328
329
330
331
332
333
334
335
336
337
338
339
340
341
342
343
344
345
346
347
348
349
350
351
352
353
354
355
356
357
358
359
360
361
362
363
364
365
366
367
368
369
370
371
372
373
374
375
376
377
378
379
380
381
382
383
384
385
386
387
388
389
390
391
392
393
394
395
396
397
398
399
400
401
402
403
404
405
406
407
408
409
410
411
412
413
414
415
416
417
418
419
420
421
422
423
424
425
426
427
428
429
430
431
432
433
434
435
436
437
438
439
440
441
442
443
444
445
446
447
448
449
450
451
452
453
454
455
456
457
458
459
460
461
462
463
464
465
466
467
468
469
470
471
472
473
474
475
476
477
478
479
480
481
482
483
484
485
486
487
488
489
490
491
492
493
494
495
496
497
498
499
500
501
502
503
504
505
506
507
508
509
510
511
512
513
514
515
516
517
518
519
520
521
522
523
524
525
526
527
528
529
530
531
532
533
534
535
536
537
538
539
540
541
542
543
544
545
546
547
548
549
550
551
552
553
554
555
556
557
558
559
560
561
562
563
564
565
566
567
568
569
570
571
572
573
574
575
576
577
578
579
580
581
582
583
584
585
586
587
588
589
590
591
592
593
594
595
596
597
598
599
600
601
602
603
604
605
606
607
608
609
610
611
612
613
614
615
616
617
618
619
620
621
622
623
624
625
626
627
628
629
630
631
632
633
634
635
636
637
638
639
640
641
642
643
644
645
646
647
648
649
650
651
652
653
654
655
656
657
658
659
660
661
662
663
664
665
666
667
668
669
670
671
672
673
674
675
676
677
678
679
680
681
682
683
684
685
686
687
688
689
690
691
692
693
694
695
696
697
698
699
700
701
702
703
704
705
706
707
708
709
710
711
712
713
714
715
716
717
718
719
720
721
722
723
724
725
726
727
728
729
730
731
732
733
734
735
736
737
738
739
740
741
742
743
744
745
746
747
748
749
750
751
752
753
754
755
756
757
758
759
760
761
762
763
764
765
766
767
768
769
770
771
772
773
774
775
776
777
778
779
780
781
782
783
784
785
786
787
788
789
790
791
792
793
794
795
796
797
798
799
800
801
802
803
804
805
806
807
808
809
810
811
812
813
814
815
816
817
818
819
820
821
822
823
824
825
826
827
828
829
830
831
832
833
834
835
836
837
838
839
840
841
842
843
844
845
846
847
848
849
850
851
852
853
854
855
856
857
858
859
860
861
862
863
864
865
866
867
868
869
870
871
872
873
874
875
876
877
878
879
880
881
882
883
884
885
886
887
888
889
890
891
892
893
894
895
896
897
898
899
900
901
902
903
904
905
906
907
908
909
910
911
912
913
914
915
916
917
918
919
920
921
922
923
924
925
926
927
928
929
930
931
932
933
934
935
936
937
938
939
940
941
942
943
944
945
946
947
948
949
950
951
952
953
954
955
956
957
958
959
960
961
962
963
964
965
966
967
968
969
970
971
972
973
974
975
976
977
978
979
980
981
982
983
984
985
986
987
988
989
990
991
992
993
994
995
996
997
998
999
1000
1001
1002
1003
1004
1005
1006
1007
1008
1009
1010
1011
1012
1013
1014
1015
1016
1017
1018
1019
1020
1021
1022
1023
1024
1025
1026
1027
1028
1029
1030
1031
1032
1033
1034
1035
1036
1037
1038
1039
1040
1041
1042
1043
1044
1045
1046
1047
1048
1049
1050
1051
1052
1053
1054
1055
1056
1057
1058
1059
1060
1061
1062
1063
1064
1065
1066
1067
1068
1069
1070
1071
1072
1073
1074
1075
1076
1077
1078
1079
1080
1081
1082
1083
1084
1085
1086
1087
1088
1089
1090
1091
1092
1093
1094
1095
1096
1097
1098
1099
1100
1101
1102
1103
1104
1105
1106
1107
1108
1109
1110
1111
1112
1113
1114
1115
1116
1117
1118
1119
1120
1121
1122
1123
1124
1125
1126
1127
1128
1129
1130
1131
1132
1133
1134
1135
1136
1137
1138
1139
1140
1141
1142
1143
1144
1145
1146
1147
1148
1149
1150
1151
1152
1153
1154
1155
1156
1157
1158
1159
1160
1161
1162
1163
1164
1165
1166
1167
1168
1169
1170
1171
1172
1173
1174
1175
1176
1177
1178
1179
1180
1181
1182
1183
1184
1185
1186
1187
1188
1189
1190
1191
1192
1193
1194
1195
1196
1197
1198
1199
1200
1201
1202
1203
1204
1205
1206
1207
1208
1209
1210
1211
1212
1213
1214
1215
1216
1217
1218
1219
1220
1221
1222
1223
1224
1225
1226
1227
1228
1229
1230
1231
1232
1233
1234
1235
1236
1237
1238
1239
1240
1241
1242
1243
1244
1245
1246
1247
1248
1249
1250
1251
1252
1253
1254
1255
1256
1257
1258
1259
1260
1261
1262
1263
1264
1265
1266
1267
1268
1269
1270
1271
1272
1273
1274
1275
1276
1277
1278
1279
1280
1281
1282
1283
1284
1285
1286
1287
1288
1289
1290
1291
1292
1293
1294
1295
1296
1297
1298
1299
1300
1301
1302
1303
1304
1305
1306
1307
1308
1309
1310
1311
1312
1313
1314
1315
1316
1317
1318
1319
1320
1321
1322
1323
1324
1325
1326
1327
1328
1329
1330
1331
1332
1333
1334
1335
1336
1337
1338
1339
1340
1341
1342
1343
1344
1345
1346
1347
1348
1349
1350
1351
1352
1353
1354
1355
1356
1357
1358
1359
1360
1361
1362
1363
1364
1365
1366
1367
1368
1369
1370
1371
1372
1373
1374
1375
1376
1377
1378
1379
1380
1381
1382
1383
1384
1385
1386
1387
1388
1389
1390
1391
1392
1393
1394
1395
1396
1397
1398
1399
1400
1401
1402
1403
1404
1405
1406
1407
1408
1409
1410
1411
1412
1413
1414
1415
1416
1417
1418
1419
1420
1421
1422
1423
1424
1425
1426
1427
1428
1429
1430
1431
1432
1433
1434
1435
1436
1437
1438
1439
1440
1441
1442
1443
1444
1445
1446
1447
1448
1449
1450
1451
1452
1453
1454
1455
1456
1457
1458
1459
1460
1461
1462
1463
1464
1465
1466
1467
1468
1469
1470
1471
1472
1473
1474
1475
1476
1477
1478
1479
1480
1481
1482
1483
1484
1485
1486
1487
1488
1489
1490
1491
1492
1493
1494
1495
1496
1497
1498
1499
1500
1501
1502
1503
1504
1505
1506
1507
1508
1509
1510
1511
1512
1513
1514
1515
1516
1517
1518
1519
1520
1521
1522
1523
1524
1525
1526
1527
1528
1529
1530
1531
1532
1533
1534
1535
1536
1537
1538
1539
1540
1541
1542
1543
1544
1545
1546
1547
1548
1549
1550
1551
1552
1553
1554
1555
1556
1557
1558
1559
1560
1561
1562
1563
1564
1565
1566
1567
1568
1569
1570
1571
1572
1573
1574
1575
1576
1577
1578
1579
1580
1581
1582
1583
1584
1585
1586
1587
1588
1589
1590
1591
1592
1593
1594
1595
1596
1597
1598
1599
1600
1601
1602
1603
1604
1605
1606
1607
1608
1609
1610
1611
1612
1613
1614
1615
1616
1617
1618
1619
1620
1621
1622
1623
1624
1625
1626
1627
1628
1629
1630
1631
1632
1633
1634
1635
1636
1637
1638
1639
1640
1641
1642
1643
1644
1645
1646
1647
1648
1649
1650
1651
1652
1653
1654
1655
1656
1657
1658
1659
1660
1661
1662
1663
1664
1665
1666
1667
1668
1669
1670
1671
1672
1673
1674
1675
1676
1677
1678
1679
1680
1681
1682
1683
1684
1685
1686
1687
1688
1689
1690
1691
1692
1693
1694
1695
1696
1697
1698
1699
1700
1701
1702
1703
1704
1705
1706
1707
1708
1709
1710
1711
1712
1713
1714
1715
1716
1717
1718
1719
1720
1721
1722
1723
1724
1725
1726
1727
1728
1729
1730
1731
1732
1733
1734
1735
1736
1737
1738
1739
1740
1741
1742
1743
1744
1745
1746
1747
1748
1749
1750
1751
1752
1753
1754
1755
1756
1757
1758
1759
1760
1761
1762
1763
1764
1765
1766
1767
1768
1769
1770
1771
1772
1773
1774
1775
1776
1777
1778
1779
1780
1781
1782
1783
1784
1785
1786
1787
1788
1789
1790
1791
1792
1793
1794
1795
1796
1797
1798
1799
1800
1801
1802
1803
1804
1805
1806
1807
1808
1809
1810
1811
1812
1813
1814
1815
1816
1817
1818
1819
1820
1821
1822
1823
1824
1825
1826
1827
1828
1829
1830
1831
1832
1833
1834
1835
1836
1837
1838
1839
1840
1841
1842
1843
1844
1845
1846
1847
1848
1849
1850
1851
1852
1853
1854
1855
1856
1857
1858
1859
1860
1861
1862
1863
1864
1865
1866
1867
1868
1869
1870
1871
1872
1873
1874
1875
1876
1877
1878
1879
1880
1881
1882
1883
1884
1885
1886
1887
1888
1889
1890
1891
1892
1893
1894
1895
1896
1897
1898
1899
1900
1901
1902
1903
1904
1905
1906
1907
1908
1909
1910
1911
1912
1913
1914
1915
1916
1917
1918
1919
1920
1921
1922
1923
1924
1925
1926
1927
1928
1929
1930
1931
1932
1933
1934
1935
1936
1937
1938
1939
1940
1941
1942
1943
1944
1945
1946
1947
1948
1949
1950
1951
1952
1953
1954
1955
1956
1957
1958
1959
1960
1961
1962
1963
1964
1965
1966
1967
1968
1969
1970
1971
1972
1973
1974
1975
1976
1977
1978
1979
1980
1981
1982
1983
1984
1985
1986
1987
1988
1989
1990
1991
1992
1993
1994
1995
1996
1997
1998
1999
2000
2001
2002
2003
2004
2005
2006
2007
2008
2009
2010
2011
2012
2013
2014
2015
2016
2017
2018
2019
2020
2021
2022
2023
2024
2025
2026
2027
2028
2029
2030
2031
2032
2033
2034
2035
2036
2037
2038
2039
2040
2041
2042
2043
2044
2045
2046
2047
2048
2049
2050
2051
2052
2053
2054
2055
2056
2057
2058
2059
2060
2061
2062
2063
2064
2065
2066
2067
2068
2069
2070
2071
2072
2073
2074
2075
2076
2077
2078
2079
2080
2081
2082
2083
2084
2085
2086
2087
2088
2089
2090
2091
2092
2093
2094
2095
2096
2097
2098
2099
2100
2101
2102
2103
2104
2105
2106
2107
2108
2109
2110
2111
2112
2113
2114
2115
2116
2117
2118
2119
2120
2121
2122
2123
2124
2125
2126
2127
2128
2129
2130
2131
2132
2133
2134
2135
2136
2137
2138
2139
2140
2141
2142
2143
2144
2145
2146
2147
2148
2149
2150
2151
2152
2153
2154
2155
2156
2157
2158
2159
2160
2161
2162
2163
2164
2165
2166
2167
2168
2169
2170
2171
2172
2173
2174
2175
2176
2177
2178
2179
2180
2181
2182
2183
2184
2185
2186
2187
2188
2189
2190
2191
2192
2193
2194
2195
2196
2197
2198
2199
2200
2201
2202
2203
2204
2205
2206
2207
2208
2209
2210
2211
2212
2213
2214
2215
2216
2217
2218
2219
2220
2221
2222
2223
2224
2225
2226
2227
2228
2229
2230
2231
2232
2233
2234
2235
2236
2237
2238
2239
2240
2241
2242
2243
2244
2245
2246
2247
2248
2249
2250
2251
2252
2253
2254
2255
2256
2257
2258
2259
2260
2261
2262
2263
2264
2265
2266
2267
2268
2269
2270
2271
2272
2273
2274
2275
2276
2277
2278
2279
2280
2281
2282
2283
2284
2285
2286
2287
2288
2289
2290
2291
2292
2293
2294
2295
2296
2297
2298
2299
2300
2301
2302
2303
2304
2305
2306
2307
2308
2309
2310
2311
2312
2313
2314
2315
2316
2317
2318
2319
2320
2321
2322
2323
2324
2325
2326
2327
2328
2329
2330
2331
2332
2333
2334
2335
2336
2337
2338
2339
2340
2341
2342
2343
2344
2345
2346
2347
2348
2349
2350
2351
2352
2353
2354
2355
2356
2357
2358
2359
2360
2361
2362
2363
2364
2365
2366
2367
2368
2369
2370
2371
2372
2373
2374
2375
2376
2377
2378
2379
2380
2381
2382
2383
2384
2385
2386
2387
2388
2389
2390
2391
2392
2393
2394
2395
2396
2397
2398
2399
2400
2401
2402
2403
2404
2405
2406
2407
2408
2409
2410
2411
2412
2413
2414
2415
2416
2417
2418
2419
2420
2421
2422
2423
2424
2425
2426
2427
2428
2429
2430
2431
2432
2433
2434
2435
2436
2437
2438
2439
2440
2441
2442
2443
2444
2445
2446
2447
2448
2449
2450
2451
2452
2453
2454
2455
2456
2457
2458
2459
2460
2461
2462
2463
2464
2465
2466
2467
2468
2469
2470
2471
2472
2473
2474
2475
2476
2477
2478
2479
2480
2481
2482
2483
2484
2485
2486
2487
2488
2489
2490
2491
2492
2493
2494
2495
2496
2497
2498
2499
2500
2501
2502
2503
2504
2505
2506
2507
2508
2509
2510
2511
2512
2513
2514
2515
2516
2517
2518
2519
2520
2521
2522
2523
2524
2525
2526
2527
2528
2529
2530
2531
2532
2533
2534
2535
2536
2537
2538
2539
2540
2541
2542
2543
2544
2545
2546
2547
2548
2549
2550
2551
2552
2553
2554
2555
2556
2557
2558
2559
2560
2561
2562
2563
2564
2565
2566
2567
2568
2569
2570
2571
2572
2573
2574
2575
2576
2577
2578
2579
2580
2581
2582
2583
2584
2585
2586
2587
2588
2589
2590
2591
2592
2593
2594
2595
2596
2597
2598
2599
2600
2601
2602
2603
2604
2605
2606
2607
2608
2609
2610
2611
2612
2613
2614
2615
2616
2617
2618
2619
2620
2621
2622
2623
2624
2625
2626
2627
2628
2629
2630
2631
2632
2633
2634
2635
2636
2637
2638
2639
2640
2641
2642
2643
2644
2645
2646
2647
2648
2649
2650
2651
2652
2653
2654
2655
2656
2657
2658
2659
2660
2661
2662
2663
2664
2665
2666
2667
2668
2669
2670
2671
2672
2673
2674
2675
2676
2677
2678
2679
2680
2681
2682
2683
2684
2685
2686
2687
2688
2689
2690
2691
2692
2693
2694
2695
2696
2697
2698
2699
2700
2701
2702
2703
2704
2705
2706
2707
2708
2709
2710
2711
2712
2713
2714
2715
2716
2717
2718
2719
2720
2721
2722
2723
2724
2725
2726
2727
2728
2729
2730
2731
2732
2733
2734
2735
2736
2737
2738
2739
2740
2741
2742
2743
2744
2745
2746
2747
2748
2749
2750
2751
2752
2753
2754
2755
2756
2757
2758
2759
2760
2761
2762
2763
2764
2765
2766
2767
2768
2769
2770
2771
2772
2773
2774
2775
2776
2777
2778
2779
2780
2781
2782
2783
2784
2785
2786
2787
2788
2789
2790
2791
2792
2793
2794
2795
2796
2797
2798
2799
2800
2801
2802
2803
2804
2805
2806
2807
2808
2809
2810
2811
2812
2813
2814
2815
2816
2817
2818
2819
2820
2821
2822
2823
2824
2825
2826
2827
2828
2829
2830
2831
2832
2833
2834
2835
2836
2837
2838
2839
2840
2841
2842
2843
2844
2845
2846
2847
2848
2849
2850
2851
2852
2853
2854
2855
2856
2857
2858
2859
2860
2861
2862
2863
2864
2865
2866
2867
2868
2869
2870
2871
2872
2873
2874
2875
2876
2877
2878
2879
2880
2881
2882
2883
2884
2885
2886
2887
2888
2889
2890
2891
2892
2893
2894
2895
2896
2897
2898
2899
2900
2901
2902
2903
2904
2905
2906
2907
2908
2909
2910
2911
2912
2913
2914
2915
2916
2917
2918
2919
2920
2921
2922
2923
2924
2925
2926
2927
2928
2929
2930
2931
2932
2933
2934
2935
2936
2937
2938
2939
2940
2941
2942
2943
2944
2945
2946
2947
2948
2949
2950
2951
2952
2953
2954
2955
2956
2957
2958
2959
2960
2961
2962
2963
2964
2965
2966
2967
2968
2969
2970
2971
2972
2973
2974
2975
2976
2977
2978
2979
2980
2981
2982
2983
2984
2985
2986
2987
2988
2989
2990
2991
2992
2993
2994
2995
2996
2997
2998
2999
3000
3001
3002
3003
3004
3005
3006
3007
3008
3009
3010
3011
3012
3013
3014
3015
3016
3017
3018
3019
3020
3021
3022
3023
3024
3025
3026
3027
3028
3029
3030
3031
3032
3033
3034
3035
3036
3037
3038
3039
3040
3041
3042
3043
3044
3045
3046
3047
3048
3049
3050
3051
3052
3053
3054
3055
3056
3057
3058
3059
3060
3061
3062
3063
3064
3065
3066
3067
3068
3069
3070
3071
3072
3073
3074
3075
3076
3077
3078
3079
3080
3081
3082
3083
3084
3085
3086
3087
3088
3089
3090
3091
3092
3093
3094
3095
3096
3097
3098
3099
3100
3101
3102
3103
3104
3105
3106
3107
3108
3109
3110
3111
3112
3113
3114
3115
3116
3117
3118
3119
3120
3121
3122
3123
3124
3125
3126
3127
3128
3129
3130
3131
3132
3133
3134
3135
3136
3137
3138
3139
3140
3141
3142
3143
3144
3145
3146
3147
3148
3149
3150
3151
3152
3153
3154
3155
3156
3157
3158
3159
3160
3161
3162
3163
3164
3165
3166
3167
3168
3169
3170
3171
3172
3173
3174
3175
3176
3177
3178
3179
3180
3181
3182
3183
3184
3185
3186
3187
3188
3189
3190
3191
3192
3193
3194
3195
3196
3197
3198
3199
3200
3201
3202
3203
3204
3205
3206
3207
3208
3209
3210
3211
3212
3213
3214
3215
3216
3217
3218
3219
3220
3221
3222
3223
3224
3225
3226
3227
3228
3229
3230
3231
3232
3233
3234
3235
3236
3237
3238
3239
3240
3241
3242
3243
3244
3245
3246
3247
3248
3249
3250
3251
3252
3253
3254
3255
3256
3257
3258
3259
3260
3261
3262
3263
3264
3265
3266
3267
3268
3269
3270
3271
3272
3273
3274
3275
3276
3277
3278
3279
3280
3281
3282
3283
3284
3285
3286
3287
3288
3289
3290
3291
3292
3293
3294
3295
3296
3297
3298
3299
3300
3301
3302
3303
3304
3305
3306
3307
3308
3309
3310
3311
3312
3313
3314
3315
3316
3317
3318
3319
3320
3321
3322
3323
3324
3325
3326
3327
3328
3329
3330
3331
3332
3333
3334
3335
3336
3337
3338
3339
3340
3341
3342
3343
3344
3345
3346
3347
3348
3349
3350
3351
3352
3353
3354
3355
3356
3357
3358
3359
3360
3361
3362
3363
3364
3365
3366
3367
3368
3369
3370
3371
3372
3373
3374
3375
3376
3377
3378
3379
3380
3381
3382
3383
3384
3385
3386
3387
3388
3389
3390
3391
3392
3393
3394
3395
3396
3397
3398
3399
3400
3401
3402
3403
3404
3405
3406
3407
3408
3409
3410
3411
3412
3413
3414
3415
3416
3417
3418
3419
3420
3421
3422
3423
3424
3425
3426
3427
3428
3429
3430
3431
3432
3433
3434
3435
3436
3437
3438
3439
3440
3441
3442
3443
3444
3445
3446
3447
3448
3449
3450
3451
3452
3453
3454
3455
3456
3457
3458
3459
3460
3461
3462
3463
3464
3465
3466
3467
3468
3469
3470
3471
3472
3473
3474
3475
3476
3477
3478
3479
3480
3481
3482
3483
3484
3485
3486
3487
3488
3489
3490
3491
3492
3493
3494
3495
3496
3497
3498
3499
3500
3501
3502
3503
3504
3505
3506
3507
3508
3509
3510
3511
3512
3513
3514
3515
3516
3517
3518
3519
3520
3521
3522
3523
3524
3525
3526
3527
3528
3529
3530
3531
3532
3533
3534
3535
3536
3537
3538
3539
3540
3541
3542
3543
3544
3545
3546
3547
3548
3549
3550
3551
3552
3553
3554
3555
3556
3557
3558
3559
3560
3561
3562
3563
3564
3565
3566
3567
3568
3569
3570
3571
3572
3573
3574
3575
3576
3577
3578
3579
3580
3581
3582
3583
3584
3585
3586
3587
3588
3589
3590
3591
3592
3593
3594
3595
3596
3597
3598
3599
3600
3601
3602
3603
3604
3605
3606
3607
3608
3609
3610
3611
3612
3613
3614
3615
3616
3617
3618
3619
3620
3621
3622
3623
3624
3625
3626
3627
3628
3629
3630
3631
3632
3633
3634
3635
3636
3637
3638
3639
3640
3641
3642
3643
3644
3645
3646
3647
3648
3649
3650
3651
3652
3653
3654
3655
3656
3657
3658
3659
3660
3661
3662
3663
3664
3665
3666
3667
3668
3669
3670
3671
3672
3673
3674
3675
3676
3677
3678
3679
3680
3681
3682
3683
3684
3685
3686
3687
3688
3689
3690
3691
3692
3693
3694
3695
3696
3697
3698
3699
3700
3701
3702
3703
3704
3705
3706
3707
3708
3709
3710
3711
3712
3713
3714
3715
3716
3717
3718
3719
3720
3721
3722
3723
3724
3725
3726
3727
3728
3729
3730
3731
3732
3733
3734
3735
3736
3737
3738
3739
3740
3741
3742
3743
3744
3745
3746
3747
3748
3749
3750
3751
3752
3753
3754
3755
3756
3757
3758
3759
3760
3761
3762
3763
3764
3765
3766
3767
3768
3769
3770
3771
3772
3773
3774
3775
3776
3777
3778
3779
3780
3781
3782
3783
3784
3785
3786
3787
3788
3789
3790
3791
3792
3793
3794
3795
3796
3797
3798
3799
3800
3801
3802
3803
3804
3805
3806
3807
3808
3809
3810
3811
3812
3813
3814
3815
3816
3817
3818
3819
3820
3821
3822
3823
3824
3825
3826
3827
3828
3829
3830
3831
3832
3833
3834
3835
3836
3837
3838
3839
3840
3841
3842
3843
3844
3845
3846
3847
3848
3849
3850
3851
3852
3853
3854
3855
3856
3857
3858
3859
3860
3861
3862
3863
3864
3865
3866
3867
3868
3869
3870
3871
3872
3873
3874
3875
3876
3877
3878
3879
3880
3881
3882
3883
3884
3885
3886
3887
3888
3889
3890
3891
3892
3893
3894
3895
3896
3897
3898
3899
3900
3901
3902
3903
3904
3905
3906
3907
3908
3909
3910
3911
3912
3913
3914
3915
3916
3917
3918
3919
3920
3921
3922
3923
3924
3925
3926
3927
3928
3929
3930
3931
3932
3933
3934
3935
3936
3937
3938
3939
3940
3941
3942
3943
3944
3945
3946
3947
3948
3949
3950
3951
3952
3953
3954
3955
3956
3957
3958
3959
3960
3961
3962
3963
3964
3965
3966
3967
3968
3969
3970
3971
3972
3973
3974
3975
3976
3977
3978
3979
3980
3981
3982
3983
3984
3985
3986
3987
3988
3989
3990
3991
3992
3993
3994
3995
3996
3997
3998
3999
4000
4001
4002
4003
4004
4005
4006
4007
4008
4009
4010
4011
4012
4013
4014
4015
4016
4017
4018
4019
4020
4021
4022
4023
4024
4025
4026
4027
4028
4029
4030
4031
4032
4033
4034
4035
4036
4037
4038
4039
4040
4041
4042
4043
4044
4045
4046
4047
4048
4049
4050
4051
4052
4053
4054
4055
4056
4057
4058
4059
4060
4061
4062
4063
4064
4065
4066
4067
4068
4069
4070
4071
4072
4073
4074
4075
4076
4077
4078
4079
4080
4081
4082
4083
4084
4085
4086
4087
4088
4089
4090
4091
4092
4093
4094
4095
4096
4097
4098
4099
4100
4101
4102
4103
4104
4105
4106
4107
4108
4109
4110
4111
4112
4113
4114
4115
4116
4117
4118
4119
4120
4121
4122
4123
4124
4125
4126
4127
4128
4129
4130
4131
4132
4133
4134
4135
4136
4137
4138
4139
4140
4141
4142
4143
4144
4145
4146
4147
4148
4149
4150
4151
4152
4153
4154
4155
4156
4157
4158
4159
4160
4161
4162
4163
4164
4165
4166
4167
4168
4169
4170
4171
4172
4173
4174
4175
4176
4177
4178
4179
4180
4181
4182
4183
4184
4185
4186
4187
4188
4189
4190
4191
4192
4193
4194
4195
4196
4197
4198
4199
4200
4201
4202
4203
4204
4205
4206
4207
4208
4209
4210
4211
4212
4213
4214
4215
4216
4217
4218
4219
4220
4221
4222
4223
4224
4225
4226
4227
4228
4229
4230
4231
4232
4233
4234
4235
4236
4237
4238
4239
4240
4241
4242
4243
4244
4245
4246
4247
4248
4249
4250
4251
4252
4253
4254
4255
4256
4257
4258
4259
4260
4261
4262
4263
4264
4265
4266
4267
4268
4269
4270
4271
4272
4273
4274
4275
4276
4277
4278
4279
4280
4281
4282
4283
4284
4285
4286
4287
4288
4289
4290
4291
4292
4293
4294
4295
4296
4297
4298
4299
4300
4301
4302
4303
4304
4305
4306
4307
4308
4309
4310
4311
4312
4313
4314
4315
4316
4317
4318
4319
4320
4321
4322
4323
4324
4325
4326
4327
4328
4329
4330
4331
4332
4333
4334
4335
4336
4337
4338
4339
4340
4341
4342
4343
4344
4345
4346
4347
4348
4349
4350
4351
4352
4353
4354
4355
4356
4357
4358
4359
4360
4361
4362
4363
4364
4365
4366
4367
4368
4369
4370
4371
4372
4373
4374
4375
4376
4377
4378
4379
4380
4381
4382
4383
4384
4385
4386
4387
4388
4389
4390
4391
4392
4393
4394
4395
4396
4397
4398
4399
4400
4401
4402
4403
4404
4405
4406
4407
4408
4409
4410
4411
4412
4413
4414
4415
4416
4417
4418
4419
4420
4421
4422
4423
4424
4425
4426
4427
4428
4429
4430
4431
4432
4433
4434
4435
4436
4437
4438
4439
4440
4441
4442
4443
4444
4445
4446
4447
4448
4449
4450
4451
4452
4453
4454
4455
4456
4457
4458
4459
4460
4461
4462
4463
4464
4465
4466
4467
4468
4469
4470
4471
4472
4473
4474
4475
4476
4477
4478
4479
4480
4481
4482
4483
4484
4485
4486
4487
4488
4489
4490
4491
4492
4493
4494
4495
4496
4497
4498
4499
4500
4501
4502
4503
4504
4505
4506
4507
4508
4509
4510
4511
4512
4513
4514
4515
4516
4517
4518
4519
4520
4521
4522
4523
4524
4525
4526
4527
4528
4529
4530
4531
4532
4533
4534
4535
4536
4537
4538
4539
4540
4541
4542
4543
4544
4545
4546
4547
4548
4549
4550
4551
4552
4553
4554
4555
4556
4557
4558
4559
4560
4561
4562
4563
4564
4565
4566
4567
4568
4569
4570
4571
4572
4573
4574
4575
4576
4577
4578
4579
4580
4581
4582
4583
4584
4585
4586
4587
4588
4589
4590
4591
4592
4593
4594
4595
4596
4597
4598
4599
4600
4601
4602
4603
4604
4605
4606
4607
4608
4609
4610
4611
4612
4613
4614
4615
4616
4617
4618
4619
4620
4621
4622
4623
4624
4625
4626
4627
4628
4629
4630
4631
4632
4633
4634
4635
4636
4637
4638
4639
4640
4641
4642
4643
4644
4645
4646
4647
4648
4649
4650
4651
4652
4653
4654
4655
4656
4657
4658
4659
4660
4661
4662
4663
4664
4665
4666
4667
4668
4669
4670
4671
4672
4673
4674
4675
4676
4677
4678
4679
4680
4681
4682
4683
4684
4685
4686
4687
4688
4689
4690
4691
4692
4693
4694
4695
4696
4697
4698
4699
4700
4701
4702
4703
4704
4705
4706
4707
4708
4709
4710
4711
4712
4713
4714
4715
4716
4717
4718
4719
4720
4721
4722
4723
4724
4725
4726
4727
4728
4729
4730
4731
4732
4733
4734
4735
4736
4737
4738
4739
4740
4741
4742
4743
4744
4745
4746
4747
4748
4749
4750
4751
4752
4753
4754
4755
4756
4757
4758
4759
4760
4761
4762
4763
4764
4765
4766
4767
4768
4769
4770
4771
4772
4773
4774
4775
4776
4777
4778
4779
4780
4781
4782
4783
4784
4785
4786
4787
4788
4789
4790
4791
4792
4793
4794
4795
4796
4797
4798
4799
4800
4801
4802
4803
4804
4805
4806
4807
4808
4809
4810
4811
4812
4813
4814
4815
4816
4817
4818
4819
4820
4821
4822
4823
4824
4825
4826
4827
4828
4829
4830
4831
4832
4833
4834
4835
4836
4837
4838
4839
4840
4841
4842
4843
4844
4845
4846
4847
4848
4849
4850
4851
4852
4853
4854
4855
4856
4857
4858
4859
4860
4861
4862
4863
4864
4865
4866
4867
4868
4869
4870
4871
4872
4873
4874
4875
4876
4877
4878
4879
4880
4881
4882
4883
4884
4885
4886
4887
4888
4889
4890
4891
4892
4893
4894
4895
4896
4897
4898
4899
4900
4901
4902
4903
4904
4905
4906
4907
4908
4909
4910
4911
4912
4913
4914
4915
4916
4917
4918
4919
4920
4921
4922
4923
4924
4925
4926
4927
4928
4929
4930
4931
4932
4933
4934
4935
4936
4937
4938
4939
4940
4941
4942
4943
4944
4945
4946
4947
4948
4949
4950
4951
4952
4953
4954
4955
4956
4957
4958
4959
4960
4961
4962
4963
4964
4965
4966
4967
4968
4969
4970
4971
4972
4973
4974
4975
4976
4977
4978
4979
4980
4981
4982
4983
4984
4985
4986
4987
4988
4989
4990
4991
4992
4993
4994
4995
4996
4997
4998
4999
5000
5001
5002
5003
5004
5005
5006
5007
5008
5009
5010
5011
5012
5013
5014
5015
5016
5017
5018
5019
5020
5021
5022
5023
5024
5025
5026
5027
5028
5029
5030
5031
5032
5033
5034
5035
5036
5037
5038
5039
5040
5041
5042
5043
5044
5045
5046
5047
5048
5049
5050
5051
5052
5053
5054
5055
5056
5057
5058
5059
5060
5061
5062
5063
5064
5065
5066
5067
5068
5069
5070
5071
5072
5073
5074
5075
5076
5077
5078
5079
5080
5081
5082
5083
5084
5085
5086
5087
5088
5089
5090
5091
5092
5093
5094
5095
5096
5097
5098
5099
5100
5101
5102
5103
5104
5105
5106
5107
5108
5109
5110
5111
5112
5113
5114
5115
5116
5117
5118
5119
5120
5121
5122
5123
5124
5125
5126
5127
5128
5129
5130
5131
5132
5133
5134
5135
5136
5137
5138
5139
5140
5141
5142
5143
5144
5145
5146
5147
5148
5149
5150
5151
5152
5153
5154
5155
5156
5157
5158
5159
5160
5161
5162
5163
5164
5165
5166
5167
5168
5169
5170
5171
5172
5173
5174
5175
5176
5177
5178
5179
5180
5181
5182
5183
5184
5185
5186
5187
5188
5189
5190
5191
5192
5193
5194
5195
5196
5197
5198
5199
5200
5201
5202
5203
5204
5205
5206
5207
5208
5209
5210
5211
5212
5213
5214
5215
5216
5217
5218
5219
5220
5221
5222
5223
5224
5225
5226
5227
5228
5229
5230
5231
5232
5233
5234
5235
5236
5237
5238
5239
5240
5241
5242
5243
5244
5245
5246
5247
5248
5249
5250
5251
5252
5253
5254
5255
5256
5257
5258
5259
5260
5261
5262
5263
5264
5265
5266
5267
5268
5269
5270
5271
5272
5273
5274
5275
5276
5277
5278
5279
5280
5281
5282
5283
5284
5285
5286
5287
5288
5289
5290
5291
5292
5293
5294
5295
5296
5297
5298
5299
5300
5301
5302
5303
5304
5305
5306
5307
5308
5309
5310
5311
5312
5313
5314
5315
5316
5317
5318
5319
5320
5321
5322
5323
5324
5325
5326
5327
5328
5329
5330
5331
5332
5333
5334
5335
5336
5337
5338
5339
5340
5341
5342
5343
5344
5345
5346
5347
5348
5349
5350
5351
5352
5353
5354
5355
5356
5357
5358
5359
5360
5361
5362
5363
5364
5365
5366
5367
5368
5369
5370
5371
5372
5373
5374
5375
5376
5377
5378
5379
5380
5381
5382
5383
5384
5385
5386
5387
5388
5389
5390
5391
5392
5393
5394
5395
5396
5397
5398
5399
5400
5401
5402
5403
5404
5405
5406
5407
5408
5409
5410
5411
5412
5413
5414
5415
5416
5417
5418
5419
5420
5421
5422
5423
5424
5425
5426
5427
5428
5429
5430
5431
5432
5433
5434
5435
5436
5437
5438
5439
5440
5441
5442
5443
5444
5445
5446
5447
5448
5449
5450
5451
5452
5453
5454
5455
5456
5457
5458
5459
5460
5461
5462
5463
5464
5465
5466
5467
5468
5469
5470
5471
5472
5473
5474
5475
5476
5477
5478
5479
5480
5481
5482
5483
5484
5485
5486
5487
5488
5489
5490
5491
5492
5493
5494
5495
5496
5497
5498
5499
5500
5501
5502
5503
5504
5505
5506
5507
5508
5509
5510
5511
5512
5513
5514
5515
5516
5517
5518
5519
5520
5521
5522
5523
5524
5525
5526
5527
5528
5529
5530
5531
5532
5533
5534
5535
5536
5537
5538
5539
5540
5541
5542
5543
5544
5545
5546
5547
5548
5549
5550
5551
5552
5553
5554
5555
5556
5557
5558
5559
5560
5561
5562
5563
5564
5565
5566
5567
5568
5569
5570
5571
5572
5573
5574
5575
5576
5577
5578
5579
5580
5581
5582
5583
5584
5585
5586
5587
5588
5589
5590
5591
5592
5593
5594
5595
5596
5597
5598
5599
5600
5601
5602
5603
5604
5605
5606
5607
5608
5609
5610
5611
5612
5613
5614
5615
5616
5617
5618
5619
5620
5621
5622
5623
5624
5625
5626
5627
5628
5629
5630
5631
5632
5633
5634
5635
5636
5637
5638
5639
5640
5641
5642
5643
5644
5645
5646
5647
5648
5649
5650
5651
5652
5653
5654
5655
5656
5657
5658
5659
5660
5661
5662
5663
5664
5665
5666
5667
5668
5669
5670
5671
5672
5673
5674
5675
5676
5677
5678
5679
5680
5681
5682
5683
5684
5685
5686
5687
5688
5689
5690
5691
5692
5693
5694
5695
5696
5697
5698
5699
5700
5701
5702
5703
5704
5705
5706
5707
5708
5709
5710
5711
5712
5713
5714
5715
5716
5717
5718
5719
5720
5721
5722
5723
5724
5725
5726
5727
5728
5729
5730
5731
5732
5733
5734
5735
5736
5737
5738
5739
5740
5741
5742
5743
5744
5745
5746
5747
5748
5749
5750
5751
5752
5753
5754
5755
5756
5757
5758
5759
5760
5761
5762
5763
5764
5765
5766
5767
5768
5769
5770
5771
5772
5773
5774
5775
5776
5777
5778
5779
5780
5781
5782
5783
5784
5785
5786
5787
5788
5789
5790
5791
5792
5793
5794
5795
5796
5797
5798
5799
5800
5801
5802
5803
5804
5805
5806
5807
5808
5809
5810
5811
5812
5813
5814
5815
5816
5817
5818
5819
5820
5821
5822
5823
5824
5825
5826
5827
5828
5829
5830
5831
5832
5833
5834
5835
5836
5837
5838
5839
5840
5841
5842
5843
5844
5845
5846
5847
5848
5849
5850
5851
5852
5853
5854
5855
5856
5857
5858
5859
5860
5861
5862
5863
5864
5865
5866
5867
5868
5869
5870
5871
5872
5873
5874
5875
5876
5877
5878
5879
5880
5881
5882
5883
5884
5885
5886
5887
5888
5889
5890
5891
5892
5893
5894
5895
5896
5897
5898
5899
5900
5901
5902
5903
5904
5905
5906
5907
5908
5909
5910
5911
5912
5913
5914
5915
5916
5917
5918
5919
5920
5921
5922
5923
5924
5925
5926
5927
5928
5929
5930
5931
5932
5933
5934
5935
5936
5937
5938
5939
5940
5941
5942
5943
5944
5945
5946
5947
5948
5949
5950
5951
5952
5953
5954
5955
5956
5957
5958
5959
5960
5961
5962
5963
5964
5965
5966
5967
5968
5969
5970
5971
5972
5973
5974
5975
5976
5977
5978
5979
5980
5981
5982
5983
5984
5985
5986
5987
5988
5989
5990
5991
5992
5993
5994
5995
5996
5997
5998
5999
6000
6001
6002
6003
6004
6005
6006
6007
6008
6009
6010
6011
6012
6013
6014
6015
6016
6017
6018
6019
6020
6021
6022
6023
6024
6025
6026
6027
6028
6029
6030
6031
6032
6033
6034
6035
6036
6037
6038
6039
6040
6041
6042
6043
6044
6045
6046
6047
6048
6049
6050
6051
6052
6053
6054
6055
6056
6057
6058
6059
6060
6061
6062
6063
6064
6065
6066
6067
6068
6069
6070
6071
6072
6073
6074
6075
6076
6077
6078
6079
6080
6081
6082
6083
6084
6085
6086
6087
6088
6089
6090
6091
6092
6093
6094
6095
6096
6097
6098
6099
6100
6101
6102
6103
6104
6105
6106
6107
6108
6109
6110
6111
6112
6113
6114
6115
6116
6117
6118
6119
6120
6121
6122
6123
6124
6125
6126
6127
6128
6129
6130
6131
6132
6133
6134
6135
6136
6137
6138
6139
6140
6141
6142
6143
6144
6145
6146
6147
6148
6149
6150
6151
6152
6153
6154
6155
6156
6157
6158
6159
6160
6161
6162
6163
6164
6165
6166
6167
6168
6169
6170
6171
6172
6173
6174
6175
6176
6177
6178
6179
6180
6181
6182
6183
6184
6185
6186
6187
6188
6189
6190
6191
6192
6193
6194
6195
6196
6197
6198
6199
6200
6201
6202
6203
6204
6205
6206
6207
6208
6209
6210
6211
6212
6213
6214
6215
6216
6217
6218
6219
6220
6221
6222
6223
6224
6225
6226
6227
6228
6229
6230
6231
6232
6233
6234
6235
6236
6237
6238
6239
6240
6241
6242
6243
6244
6245
6246
6247
6248
6249
6250
6251
6252
6253
6254
6255
6256
6257
6258
6259
6260
6261
6262
6263
6264
6265
6266
6267
6268
6269
6270
6271
6272
6273
6274
6275
6276
6277
6278
6279
6280
6281
6282
6283
6284
6285
6286
6287
6288
6289
6290
6291
6292
6293
6294
6295
6296
6297
6298
6299
6300
6301
6302
6303
6304
6305
6306
6307
6308
6309
6310
6311
6312
6313
6314
6315
6316
6317
6318
6319
6320
6321
6322
6323
6324
6325
6326
6327
6328
6329
6330
6331
6332
6333
6334
6335
6336
6337
6338
6339
6340
6341
6342
6343
6344
6345
6346
6347
6348
6349
6350
6351
6352
6353
6354
6355
6356
6357
6358
6359
6360
6361
6362
6363
6364
6365
6366
6367
6368
6369
6370
6371
6372
6373
6374
6375
6376
6377
6378
6379
6380
6381
6382
6383
6384
6385
6386
6387
6388
6389
6390
6391
6392
6393
6394
6395
6396
6397
6398
6399
6400
6401
6402
6403
6404
6405
6406
6407
6408
6409
6410
6411
6412
6413
6414
6415
6416
6417
6418
6419
6420
6421
6422
6423
6424
6425
6426
6427
6428
6429
6430
6431
6432
6433
6434
6435
6436
6437
6438
6439
6440
6441
6442
6443
6444
6445
6446
6447
6448
6449
6450
6451
6452
6453
6454
6455
6456
6457
6458
6459
6460
6461
6462
6463
6464
6465
6466
6467
6468
6469
6470
6471
6472
6473
6474
6475
6476
6477
6478
6479
6480
6481
6482
6483
6484
6485
6486
6487
6488
6489
6490
6491
6492
6493
6494
6495
6496
6497
6498
6499
6500
6501
6502
6503
6504
6505
6506
6507
6508
6509
6510
6511
6512
6513
6514
6515
6516
6517
6518
6519
6520
6521
6522
6523
6524
6525
6526
6527
6528
6529
6530
6531
6532
6533
6534
6535
6536
6537
6538
6539
6540
6541
6542
6543
6544
6545
6546
6547
6548
6549
6550
6551
6552
6553
6554
6555
6556
6557
6558
6559
6560
6561
6562
6563
6564
6565
6566
6567
6568
6569
6570
6571
6572
6573
6574
6575
6576
6577
6578
6579
6580
6581
6582
6583
6584
6585
6586
6587
6588
6589
6590
6591
6592
6593
6594
6595
6596
6597
6598
6599
6600
6601
6602
6603
6604
6605
6606
6607
6608
6609
6610
6611
6612
6613
6614
6615
6616
6617
6618
6619
6620
6621
6622
6623
6624
6625
6626
6627
6628
6629
6630
6631
6632
6633
6634
6635
6636
6637
6638
6639
6640
6641
6642
6643
6644
6645
6646
6647
6648
6649
6650
6651
6652
6653
6654
6655
6656
6657
6658
6659
6660
6661
6662
6663
6664
6665
6666
6667
6668
6669
6670
6671
6672
6673
6674
6675
6676
6677
6678
6679
6680
6681
6682
6683
6684
6685
6686
6687
6688
6689
6690
6691
6692
6693
6694
6695
6696
6697
6698
6699
6700
6701
6702
6703
6704
6705
6706
6707
6708
6709
6710
6711
6712
6713
6714
6715
6716
6717
6718
6719
6720
6721
6722
6723
6724
6725
6726
6727
6728
6729
6730
6731
6732
6733
6734
6735
6736
6737
6738
6739
6740
6741
6742
6743
6744
6745
6746
6747
6748
6749
6750
6751
6752
6753
6754
6755
6756
6757
6758
6759
6760
6761
6762
6763
6764
6765
6766
6767
6768
6769
6770
6771
6772
6773
6774
6775
6776
6777
6778
6779
6780
6781
6782
6783
6784
6785
6786
6787
6788
6789
6790
6791
6792
6793
6794
6795
6796
6797
6798
6799
6800
6801
6802
6803
6804
6805
6806
6807
6808
6809
6810
6811
6812
6813
6814
6815
6816
6817
6818
6819
6820
6821
6822
6823
6824
6825
6826
6827
6828
6829
6830
6831
6832
6833
6834
6835
6836
6837
6838
6839
6840
6841
6842
6843
6844
6845
6846
6847
6848
6849
6850
6851
6852
6853
6854
6855
6856
6857
6858
6859
6860
6861
6862
6863
6864
6865
6866
6867
6868
6869
6870
6871
6872
6873
6874
6875
6876
6877
6878
6879
6880
6881
6882
6883
6884
6885
6886
6887
6888
6889
6890
6891
6892
6893
6894
6895
6896
6897
6898
6899
6900
6901
6902
6903
6904
6905
6906
6907
6908
6909
6910
6911
6912
6913
6914
6915
6916
6917
6918
6919
6920
6921
6922
6923
6924
6925
6926
6927
6928
6929
6930
6931
6932
6933
6934
6935
6936
6937
6938
6939
6940
6941
6942
6943
6944
6945
6946
6947
6948
6949
6950
6951
6952
6953
6954
6955
6956
6957
6958
6959
6960
6961
6962
6963
6964
6965
6966
6967
6968
6969
6970
6971
6972
6973
6974
6975
6976
6977
6978
6979
6980
6981
6982
6983
6984
6985
6986
6987
6988
6989
6990
6991
6992
6993
6994
6995
6996
6997
6998
6999
7000
7001
7002
7003
7004
7005
7006
7007
7008
7009
7010
7011
7012
7013
7014
7015
7016
7017
7018
7019
7020
7021
7022
7023
7024
7025
7026
7027
7028
7029
7030
7031
7032
7033
7034
7035
7036
7037
7038
7039
7040
7041
7042
7043
7044
7045
7046
7047
7048
7049
7050
7051
7052
7053
7054
7055
7056
7057
7058
7059
7060
7061
7062
7063
7064
7065
7066
7067
7068
7069
7070
7071
7072
7073
7074
7075
7076
7077
7078
7079
7080
7081
7082
7083
7084
7085
7086
7087
7088
7089
7090
7091
7092
7093
7094
7095
7096
7097
7098
7099
7100
7101
7102
7103
7104
7105
7106
7107
7108
7109
7110
7111
7112
7113
7114
7115
7116
7117
7118
7119
7120
7121
7122
7123
7124
7125
7126
7127
7128
7129
7130
7131
7132
7133
7134
7135
7136
7137
7138
7139
7140
7141
7142
7143
7144
7145
7146
7147
7148
7149
7150
7151
7152
7153
7154
7155
7156
7157
7158
7159
7160
7161
7162
7163
7164
7165
7166
7167
7168
7169
7170
7171
7172
7173
7174
7175
7176
7177
7178
7179
7180
7181
7182
7183
7184
7185
7186
7187
7188
7189
7190
7191
7192
7193
7194
7195
7196
7197
7198
7199
7200
7201
7202
7203
7204
7205
7206
7207
7208
7209
7210
7211
7212
7213
7214
7215
7216
7217
7218
7219
7220
7221
7222
7223
7224
7225
7226
7227
7228
7229
7230
7231
7232
7233
7234
7235
7236
7237
7238
7239
7240
7241
7242
7243
7244
7245
7246
7247
7248
7249
7250
7251
7252
7253
7254
7255
7256
7257
7258
7259
7260
7261
7262
7263
7264
7265
7266
7267
7268
7269
7270
7271
7272
7273
7274
7275
7276
7277
7278
7279
7280
7281
7282
7283
7284
7285
7286
7287
7288
7289
7290
7291
7292
7293
7294
7295
7296
7297
7298
7299
7300
7301
7302
7303
7304
7305
7306
7307
7308
7309
7310
7311
7312
7313
7314
7315
7316
7317
7318
7319
7320
7321
7322
7323
7324
7325
7326
7327
7328
7329
7330
7331
7332
7333
7334
7335
7336
7337
7338
7339
7340
7341
7342
7343
7344
7345
7346
7347
7348
7349
7350
7351
7352
7353
7354
7355
7356
7357
7358
7359
7360
7361
7362
7363
7364
7365
7366
7367
7368
7369
7370
7371
7372
7373
7374
7375
7376
7377
7378
7379
7380
7381
7382
7383
7384
7385
7386
7387
7388
7389
7390
7391
7392
7393
7394
7395
7396
7397
7398
7399
7400
7401
7402
7403
7404
7405
7406
7407
7408
7409
7410
7411
7412
7413
7414
7415
7416
7417
7418
7419
7420
7421
7422
7423
7424
7425
7426
7427
7428
7429
7430
7431
7432
7433
7434
7435
7436
7437
7438
7439
7440
7441
7442
7443
7444
7445
7446
7447
7448
7449
7450
7451
7452
7453
7454
7455
7456
7457
7458
7459
7460
7461
7462
7463
|
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 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_Sgram_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>
for this fix.
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_Sgram_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>
for this fix.
|