1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
153
154
155
156
157
158
159
160
161
162
163
164
165
166
167
168
169
170
171
172
173
174
175
176
177
178
179
180
181
182
183
184
185
186
187
188
189
190
191
192
193
194
195
196
197
198
199
200
201
202
203
204
205
206
207
208
209
210
211
212
213
214
215
216
217
218
219
220
221
222
223
224
225
226
227
228
229
230
231
232
233
234
235
236
237
238
239
240
241
242
243
244
245
246
247
248
249
250
251
252
253
254
255
256
257
258
259
260
261
262
263
264
265
266
267
268
269
270
271
272
273
274
275
276
277
278
279
280
281
282
283
284
285
286
287
288
289
290
291
292
293
294
295
296
297
298
299
300
301
302
303
304
305
306
307
308
309
310
311
312
313
314
315
316
317
318
319
320
321
322
323
324
325
326
327
328
329
330
331
332
333
334
335
336
337
338
339
340
341
342
343
344
345
346
347
348
349
350
351
352
353
354
355
356
357
358
359
360
361
362
363
364
365
366
367
368
369
370
371
372
373
374
375
376
377
378
379
380
381
382
383
384
385
386
387
388
389
390
391
392
393
394
395
396
397
398
399
400
401
402
403
404
405
406
407
408
409
410
411
412
413
414
415
416
417
418
419
420
421
422
423
424
425
426
427
428
429
430
431
432
433
434
435
436
437
438
439
440
441
442
443
444
445
446
447
448
449
450
451
452
453
454
455
456
457
458
459
460
461
462
463
464
465
466
467
468
469
470
471
472
473
474
475
476
477
478
479
480
481
482
483
484
485
486
487
488
489
490
491
492
493
494
495
496
497
498
499
500
501
502
503
504
505
506
507
508
509
510
511
512
513
514
515
516
517
518
519
520
521
522
523
524
525
526
527
528
529
530
531
532
533
534
535
536
537
538
539
540
541
542
543
544
545
546
547
548
549
550
551
552
553
554
555
556
557
558
559
560
561
562
563
564
565
566
567
568
569
570
571
572
573
574
575
576
577
578
579
580
581
582
583
584
585
586
587
588
589
590
591
592
593
594
595
596
597
598
599
600
601
602
603
604
605
606
607
608
609
610
611
612
613
614
615
616
617
618
619
620
621
622
623
624
625
626
627
628
629
630
631
632
633
634
635
636
637
638
639
640
641
642
643
644
645
646
647
648
649
650
651
652
653
654
655
656
657
658
659
660
661
662
663
664
665
666
667
668
669
670
671
672
673
674
675
676
677
678
679
680
681
682
683
684
685
686
687
688
689
690
691
692
693
694
695
696
697
698
699
700
701
702
703
704
705
706
707
708
709
710
711
712
713
714
715
716
717
718
719
720
721
722
723
724
725
726
727
728
729
730
731
732
733
734
735
736
737
738
739
740
741
742
743
744
745
746
747
748
749
750
751
752
753
754
755
756
757
758
759
760
761
762
763
764
765
766
767
768
769
770
771
772
773
774
775
776
777
778
779
780
781
782
783
784
785
786
787
788
789
790
791
792
793
794
795
796
797
798
799
800
801
802
803
804
805
806
807
808
809
810
811
812
813
814
815
816
817
818
819
820
821
822
823
824
825
826
827
828
829
830
831
832
833
834
835
836
837
838
839
840
841
842
843
844
845
846
847
848
849
850
851
852
853
854
855
856
857
858
859
860
861
862
863
864
865
866
867
868
869
870
871
872
873
874
875
876
877
878
879
880
881
882
883
884
885
886
887
888
889
890
891
892
893
894
895
896
897
898
899
900
901
902
903
904
905
906
907
908
909
910
911
912
913
914
915
916
917
918
919
920
921
922
923
924
925
926
927
928
929
930
931
932
933
934
935
936
937
938
939
940
941
942
943
944
945
946
947
948
949
950
951
952
953
954
955
956
957
958
959
960
961
962
963
964
965
966
967
968
969
970
971
972
973
974
975
976
977
978
979
980
981
982
983
984
985
986
987
988
989
990
991
992
993
994
995
996
997
998
999
1000
1001
1002
1003
1004
1005
1006
1007
1008
1009
1010
1011
1012
1013
1014
1015
1016
1017
1018
1019
1020
1021
1022
1023
1024
1025
1026
1027
1028
1029
1030
1031
1032
1033
1034
1035
1036
1037
1038
1039
1040
1041
1042
1043
1044
1045
1046
1047
1048
1049
1050
1051
1052
1053
1054
1055
1056
1057
1058
1059
1060
1061
1062
1063
1064
1065
1066
1067
1068
1069
1070
1071
1072
1073
1074
1075
1076
1077
1078
1079
1080
1081
1082
1083
1084
1085
1086
1087
1088
1089
1090
1091
1092
1093
1094
1095
1096
1097
1098
1099
1100
1101
1102
1103
1104
1105
1106
1107
1108
1109
1110
1111
1112
1113
1114
1115
1116
1117
1118
1119
1120
1121
1122
1123
1124
1125
1126
1127
1128
1129
1130
1131
1132
1133
1134
1135
1136
1137
1138
1139
1140
1141
1142
1143
1144
1145
1146
1147
1148
1149
1150
1151
1152
1153
1154
1155
1156
1157
1158
1159
1160
1161
1162
1163
1164
1165
1166
1167
1168
1169
1170
1171
1172
1173
1174
1175
1176
1177
1178
1179
1180
1181
1182
1183
1184
1185
1186
1187
1188
1189
1190
1191
1192
1193
1194
1195
1196
1197
1198
1199
1200
1201
1202
1203
1204
1205
1206
1207
1208
1209
1210
1211
1212
1213
1214
1215
1216
1217
1218
1219
1220
1221
1222
1223
1224
1225
1226
1227
1228
1229
1230
1231
1232
1233
1234
1235
1236
1237
1238
1239
1240
1241
1242
1243
1244
1245
1246
1247
1248
1249
1250
1251
1252
1253
1254
1255
1256
1257
1258
1259
1260
1261
1262
1263
1264
1265
1266
1267
1268
1269
1270
1271
1272
1273
1274
1275
1276
1277
1278
1279
1280
1281
1282
1283
1284
1285
1286
1287
1288
1289
1290
1291
1292
1293
1294
1295
1296
1297
1298
1299
1300
1301
1302
1303
1304
1305
1306
1307
1308
1309
1310
1311
1312
1313
1314
1315
1316
1317
1318
1319
1320
1321
1322
1323
1324
1325
1326
1327
1328
1329
1330
1331
1332
1333
1334
1335
1336
1337
1338
1339
1340
1341
1342
1343
1344
1345
1346
1347
1348
1349
1350
1351
1352
1353
1354
1355
1356
1357
1358
1359
1360
1361
1362
1363
1364
1365
1366
1367
1368
1369
1370
1371
1372
1373
1374
1375
1376
1377
1378
1379
1380
1381
1382
1383
1384
1385
1386
1387
1388
1389
1390
1391
1392
1393
1394
1395
1396
1397
1398
1399
1400
1401
1402
1403
1404
1405
1406
1407
1408
1409
1410
1411
1412
1413
1414
1415
1416
1417
1418
1419
1420
1421
1422
1423
1424
1425
1426
1427
1428
1429
1430
1431
1432
1433
1434
1435
1436
1437
1438
1439
1440
1441
1442
1443
1444
1445
1446
1447
1448
1449
1450
1451
1452
1453
1454
1455
1456
1457
1458
1459
1460
1461
1462
1463
1464
1465
1466
1467
1468
1469
1470
1471
1472
1473
1474
1475
1476
1477
1478
1479
1480
1481
1482
1483
1484
1485
1486
1487
1488
1489
1490
1491
1492
1493
1494
1495
1496
1497
1498
1499
1500
1501
1502
1503
1504
1505
1506
1507
1508
1509
1510
1511
1512
1513
1514
1515
1516
1517
1518
1519
1520
1521
1522
1523
1524
1525
1526
1527
1528
1529
1530
1531
1532
1533
1534
1535
1536
1537
1538
1539
1540
1541
1542
1543
1544
1545
1546
1547
1548
1549
1550
1551
1552
1553
1554
1555
1556
1557
1558
1559
1560
1561
1562
1563
1564
1565
1566
1567
1568
1569
1570
1571
1572
1573
1574
1575
1576
1577
1578
1579
1580
1581
1582
1583
1584
1585
1586
1587
1588
1589
1590
1591
1592
1593
1594
1595
1596
1597
1598
1599
1600
1601
1602
1603
1604
1605
1606
1607
1608
1609
1610
1611
1612
1613
1614
1615
1616
1617
1618
1619
1620
1621
1622
1623
1624
1625
1626
1627
1628
1629
1630
1631
1632
1633
1634
1635
1636
1637
1638
1639
1640
1641
1642
1643
1644
1645
1646
1647
1648
1649
1650
1651
1652
1653
1654
1655
1656
1657
1658
1659
1660
1661
1662
1663
1664
1665
1666
1667
1668
1669
1670
1671
1672
1673
1674
1675
1676
1677
1678
1679
1680
1681
1682
1683
1684
1685
1686
1687
1688
1689
1690
1691
1692
1693
1694
1695
1696
1697
1698
1699
1700
1701
1702
1703
1704
1705
1706
1707
1708
1709
1710
1711
1712
1713
1714
1715
1716
1717
1718
1719
1720
1721
1722
1723
1724
1725
1726
1727
1728
1729
1730
1731
1732
1733
1734
1735
1736
1737
1738
1739
1740
1741
1742
1743
1744
1745
1746
1747
1748
1749
1750
1751
1752
1753
1754
1755
1756
1757
1758
1759
1760
1761
1762
1763
1764
1765
1766
1767
1768
1769
1770
1771
1772
1773
1774
1775
1776
1777
1778
1779
1780
1781
1782
1783
1784
1785
1786
1787
1788
1789
1790
1791
1792
1793
1794
1795
1796
1797
1798
1799
1800
1801
1802
1803
1804
1805
1806
1807
1808
1809
1810
1811
1812
1813
1814
1815
1816
1817
1818
1819
1820
1821
1822
1823
1824
1825
1826
1827
1828
1829
1830
1831
1832
1833
1834
1835
1836
1837
1838
1839
1840
1841
1842
1843
1844
1845
1846
1847
1848
1849
1850
1851
1852
1853
1854
1855
1856
1857
1858
1859
1860
1861
1862
1863
1864
1865
1866
1867
1868
1869
1870
1871
1872
1873
1874
1875
1876
1877
1878
1879
1880
1881
1882
1883
1884
1885
1886
1887
1888
1889
1890
1891
1892
1893
1894
1895
1896
1897
1898
1899
1900
1901
1902
1903
1904
1905
1906
1907
1908
1909
1910
1911
1912
1913
1914
1915
1916
1917
1918
1919
1920
1921
1922
1923
1924
1925
1926
1927
1928
1929
1930
1931
1932
1933
1934
1935
1936
1937
1938
1939
1940
1941
1942
1943
1944
1945
1946
1947
1948
1949
1950
1951
1952
1953
1954
1955
1956
1957
1958
1959
1960
1961
1962
1963
1964
1965
1966
1967
1968
1969
1970
1971
1972
1973
1974
1975
1976
1977
1978
1979
1980
1981
1982
1983
1984
1985
1986
1987
1988
1989
1990
1991
1992
1993
1994
1995
1996
1997
1998
1999
2000
2001
2002
2003
2004
2005
2006
2007
2008
2009
2010
2011
2012
2013
2014
2015
2016
2017
2018
2019
2020
2021
2022
2023
2024
2025
2026
2027
2028
2029
2030
2031
2032
2033
2034
2035
2036
2037
2038
2039
2040
2041
2042
2043
2044
2045
2046
2047
2048
2049
2050
2051
2052
2053
2054
2055
2056
2057
2058
2059
2060
2061
2062
2063
2064
2065
2066
2067
2068
2069
2070
2071
2072
2073
2074
2075
2076
2077
2078
2079
2080
2081
2082
2083
2084
2085
2086
2087
2088
2089
2090
2091
2092
2093
2094
2095
2096
2097
2098
2099
2100
2101
2102
2103
2104
2105
2106
2107
2108
2109
2110
2111
2112
2113
2114
2115
2116
2117
2118
2119
2120
2121
2122
2123
2124
2125
2126
2127
2128
2129
2130
2131
2132
2133
2134
2135
2136
2137
2138
2139
2140
2141
2142
2143
2144
2145
2146
2147
2148
2149
2150
2151
2152
2153
2154
2155
2156
2157
2158
2159
2160
2161
2162
2163
2164
2165
2166
2167
2168
2169
2170
2171
2172
2173
2174
2175
2176
2177
2178
2179
2180
2181
2182
2183
2184
2185
2186
2187
2188
2189
2190
2191
2192
2193
2194
2195
2196
2197
2198
2199
2200
2201
2202
2203
2204
2205
2206
2207
2208
2209
2210
2211
2212
2213
2214
2215
2216
2217
2218
2219
2220
2221
2222
2223
2224
2225
2226
2227
2228
2229
2230
2231
2232
2233
2234
2235
2236
2237
2238
2239
2240
2241
2242
2243
2244
2245
2246
2247
2248
2249
2250
2251
2252
2253
2254
2255
2256
2257
2258
2259
2260
2261
2262
2263
2264
2265
2266
2267
2268
2269
2270
2271
2272
2273
2274
2275
2276
2277
2278
2279
2280
2281
2282
2283
2284
2285
2286
2287
2288
2289
2290
2291
2292
2293
2294
2295
2296
2297
2298
2299
2300
2301
2302
2303
2304
2305
2306
2307
2308
2309
2310
2311
2312
2313
2314
2315
2316
2317
2318
2319
2320
2321
2322
2323
2324
2325
2326
2327
2328
2329
2330
2331
2332
2333
2334
2335
2336
2337
2338
2339
2340
2341
2342
2343
2344
2345
2346
2347
2348
2349
2350
2351
2352
2353
2354
2355
2356
2357
2358
2359
2360
2361
2362
2363
2364
2365
2366
2367
2368
2369
2370
2371
2372
2373
2374
2375
2376
2377
2378
2379
2380
2381
2382
2383
2384
2385
2386
2387
2388
2389
2390
2391
2392
2393
2394
2395
2396
2397
2398
2399
2400
2401
2402
2403
2404
2405
2406
2407
2408
2409
2410
2411
2412
2413
2414
2415
2416
2417
2418
2419
2420
2421
2422
2423
2424
2425
2426
2427
2428
2429
2430
2431
2432
2433
2434
2435
2436
2437
2438
2439
2440
2441
2442
2443
2444
2445
2446
2447
2448
2449
2450
2451
2452
2453
2454
2455
2456
2457
2458
2459
2460
2461
2462
2463
2464
2465
2466
2467
2468
2469
2470
2471
2472
2473
2474
2475
2476
2477
2478
2479
2480
2481
2482
2483
2484
2485
2486
2487
2488
2489
2490
2491
2492
2493
2494
2495
2496
2497
2498
2499
2500
2501
2502
2503
2504
2505
2506
2507
2508
2509
2510
2511
2512
2513
2514
2515
2516
2517
2518
2519
2520
2521
2522
2523
2524
2525
2526
2527
2528
2529
2530
2531
2532
2533
2534
2535
2536
2537
2538
2539
2540
2541
2542
2543
2544
2545
2546
2547
2548
2549
2550
2551
2552
2553
2554
2555
2556
2557
2558
2559
2560
2561
2562
2563
2564
2565
2566
2567
2568
2569
2570
2571
2572
2573
2574
2575
2576
2577
2578
2579
2580
2581
2582
2583
2584
2585
2586
2587
2588
2589
2590
2591
2592
2593
2594
2595
2596
2597
2598
2599
2600
2601
2602
2603
2604
2605
2606
2607
2608
2609
2610
2611
2612
2613
2614
2615
2616
2617
2618
2619
2620
2621
2622
2623
2624
2625
2626
2627
2628
2629
2630
2631
2632
2633
2634
2635
2636
2637
2638
2639
2640
2641
2642
2643
2644
2645
2646
2647
2648
2649
2650
2651
2652
2653
2654
2655
2656
2657
2658
2659
2660
2661
2662
2663
2664
2665
2666
2667
2668
2669
2670
2671
2672
2673
2674
2675
2676
2677
2678
2679
2680
2681
2682
2683
2684
2685
2686
2687
2688
2689
2690
2691
2692
2693
2694
2695
2696
2697
2698
2699
2700
2701
2702
2703
2704
2705
2706
2707
2708
2709
2710
2711
2712
2713
2714
2715
2716
2717
2718
2719
2720
2721
2722
2723
2724
2725
2726
2727
2728
2729
2730
2731
2732
2733
2734
2735
2736
2737
2738
2739
2740
2741
2742
2743
2744
2745
2746
2747
2748
2749
2750
2751
2752
2753
2754
2755
2756
2757
2758
2759
2760
2761
2762
2763
2764
2765
2766
2767
2768
2769
2770
2771
2772
2773
2774
2775
2776
2777
2778
2779
2780
2781
2782
2783
2784
2785
2786
2787
2788
2789
2790
2791
2792
2793
2794
2795
2796
2797
2798
2799
2800
2801
2802
2803
2804
2805
2806
2807
2808
2809
2810
2811
2812
2813
2814
2815
2816
2817
2818
2819
2820
2821
2822
2823
2824
2825
2826
2827
2828
2829
2830
2831
2832
2833
2834
2835
2836
2837
2838
2839
2840
2841
2842
2843
2844
2845
2846
2847
2848
2849
2850
2851
2852
2853
2854
2855
2856
2857
2858
2859
2860
2861
2862
2863
2864
2865
2866
2867
2868
2869
2870
2871
2872
2873
2874
2875
2876
2877
2878
2879
2880
2881
2882
2883
2884
2885
2886
2887
2888
2889
2890
2891
2892
2893
2894
2895
2896
2897
2898
2899
2900
2901
2902
2903
2904
2905
2906
2907
2908
2909
2910
2911
2912
2913
2914
2915
2916
2917
2918
2919
2920
2921
2922
2923
2924
2925
2926
2927
2928
2929
2930
2931
2932
2933
2934
2935
2936
2937
2938
2939
2940
2941
2942
2943
2944
2945
2946
2947
2948
2949
2950
2951
2952
2953
2954
2955
2956
2957
2958
2959
2960
2961
2962
2963
2964
2965
2966
2967
2968
2969
2970
2971
2972
2973
2974
2975
2976
2977
2978
2979
2980
2981
2982
2983
2984
2985
2986
2987
2988
2989
2990
2991
2992
2993
2994
2995
2996
2997
2998
2999
3000
3001
3002
3003
3004
3005
3006
3007
3008
3009
3010
3011
3012
3013
3014
3015
3016
3017
3018
3019
3020
3021
3022
3023
3024
3025
3026
3027
3028
3029
3030
3031
3032
3033
3034
3035
3036
3037
3038
3039
3040
3041
3042
3043
3044
3045
3046
3047
3048
3049
3050
3051
3052
3053
3054
3055
3056
3057
3058
3059
3060
3061
3062
3063
3064
3065
3066
3067
3068
3069
3070
3071
3072
3073
3074
3075
3076
3077
3078
3079
3080
3081
3082
3083
3084
3085
3086
3087
3088
3089
3090
3091
3092
3093
3094
3095
3096
3097
3098
3099
3100
3101
3102
3103
3104
3105
3106
3107
3108
3109
3110
3111
3112
3113
3114
3115
3116
3117
3118
3119
3120
3121
3122
3123
3124
3125
3126
3127
3128
3129
3130
3131
3132
3133
3134
3135
3136
3137
3138
3139
3140
3141
3142
3143
3144
3145
3146
3147
3148
3149
3150
3151
3152
3153
3154
3155
3156
3157
3158
3159
3160
3161
3162
3163
3164
3165
3166
3167
3168
3169
3170
3171
3172
3173
3174
3175
3176
3177
3178
3179
3180
3181
3182
3183
3184
3185
3186
3187
3188
3189
3190
3191
3192
3193
3194
3195
3196
3197
3198
3199
3200
3201
3202
3203
3204
3205
3206
3207
3208
3209
3210
3211
3212
3213
3214
3215
3216
3217
3218
3219
3220
3221
3222
3223
3224
3225
3226
3227
3228
3229
3230
3231
3232
3233
3234
3235
3236
3237
3238
3239
3240
3241
3242
3243
3244
3245
3246
3247
3248
3249
3250
3251
3252
3253
3254
3255
3256
3257
3258
3259
3260
3261
3262
3263
3264
3265
3266
3267
3268
3269
3270
3271
3272
3273
3274
3275
3276
3277
3278
3279
3280
3281
3282
3283
3284
3285
3286
3287
3288
3289
3290
3291
3292
3293
3294
3295
3296
3297
3298
3299
3300
3301
3302
3303
3304
3305
3306
3307
3308
3309
3310
3311
3312
3313
3314
3315
3316
3317
3318
3319
3320
3321
3322
3323
3324
3325
3326
3327
3328
3329
3330
3331
3332
3333
3334
3335
3336
3337
3338
3339
3340
3341
3342
3343
3344
3345
3346
3347
3348
3349
3350
3351
3352
3353
3354
3355
3356
3357
3358
3359
3360
3361
3362
3363
3364
3365
3366
3367
3368
3369
3370
3371
3372
3373
3374
3375
3376
3377
3378
3379
3380
3381
3382
3383
3384
3385
3386
3387
3388
3389
3390
3391
3392
3393
3394
3395
3396
3397
3398
3399
3400
3401
3402
3403
3404
3405
3406
3407
3408
3409
3410
3411
3412
3413
3414
3415
3416
3417
3418
3419
3420
3421
3422
3423
3424
3425
3426
3427
3428
3429
3430
3431
3432
3433
3434
3435
3436
3437
3438
3439
3440
3441
3442
3443
3444
3445
3446
3447
3448
3449
3450
3451
3452
3453
3454
3455
3456
3457
3458
3459
3460
3461
3462
3463
3464
3465
3466
3467
3468
3469
3470
3471
3472
3473
3474
3475
3476
3477
3478
3479
3480
3481
3482
3483
3484
3485
3486
3487
3488
3489
3490
3491
3492
3493
3494
3495
3496
3497
3498
3499
3500
3501
3502
3503
3504
3505
3506
3507
3508
3509
3510
3511
3512
3513
3514
3515
3516
3517
3518
3519
3520
3521
3522
3523
3524
3525
3526
3527
3528
3529
3530
3531
3532
3533
3534
3535
3536
3537
3538
3539
3540
3541
3542
3543
3544
3545
3546
3547
3548
3549
3550
3551
3552
3553
3554
3555
3556
3557
3558
3559
3560
3561
3562
3563
3564
3565
3566
3567
3568
3569
3570
3571
3572
3573
3574
3575
3576
3577
3578
3579
3580
3581
3582
3583
3584
3585
3586
3587
3588
3589
3590
3591
3592
3593
3594
3595
3596
3597
3598
3599
3600
3601
3602
3603
3604
3605
3606
3607
3608
3609
3610
3611
3612
3613
3614
3615
3616
3617
3618
3619
3620
3621
3622
3623
3624
3625
3626
3627
3628
3629
3630
3631
3632
3633
3634
3635
3636
3637
3638
3639
3640
3641
3642
3643
3644
3645
3646
3647
3648
3649
3650
3651
3652
3653
3654
3655
3656
3657
3658
3659
3660
3661
3662
3663
3664
3665
3666
3667
3668
3669
3670
3671
3672
3673
3674
3675
3676
3677
3678
3679
3680
3681
3682
3683
3684
3685
3686
3687
3688
3689
3690
3691
3692
3693
3694
3695
3696
3697
3698
3699
3700
3701
3702
3703
3704
3705
3706
3707
3708
3709
3710
3711
3712
3713
3714
3715
3716
3717
3718
3719
3720
3721
3722
3723
3724
3725
3726
3727
3728
3729
3730
3731
3732
3733
3734
3735
3736
3737
3738
3739
3740
3741
3742
3743
3744
3745
3746
3747
3748
3749
3750
3751
3752
3753
3754
3755
3756
3757
3758
3759
3760
3761
3762
3763
3764
3765
3766
3767
3768
3769
3770
3771
3772
3773
3774
3775
3776
3777
3778
3779
3780
3781
3782
3783
3784
3785
3786
3787
3788
3789
3790
3791
3792
3793
3794
3795
3796
3797
3798
3799
3800
3801
3802
3803
3804
3805
3806
3807
3808
3809
3810
3811
3812
3813
3814
3815
3816
3817
3818
3819
3820
3821
3822
3823
3824
3825
3826
3827
3828
3829
3830
3831
3832
3833
3834
3835
3836
3837
3838
3839
3840
3841
3842
3843
3844
3845
3846
3847
3848
3849
3850
3851
3852
3853
3854
3855
3856
3857
3858
3859
3860
3861
3862
3863
3864
3865
3866
3867
3868
3869
3870
3871
3872
3873
3874
3875
3876
3877
3878
3879
3880
3881
3882
3883
3884
3885
3886
3887
3888
3889
3890
3891
3892
3893
3894
3895
3896
3897
3898
3899
3900
3901
3902
3903
3904
3905
3906
3907
3908
3909
3910
3911
3912
3913
3914
3915
3916
3917
3918
3919
3920
3921
3922
3923
3924
3925
3926
3927
3928
3929
3930
3931
3932
3933
3934
3935
3936
3937
3938
3939
3940
3941
3942
3943
3944
3945
3946
3947
3948
3949
3950
3951
3952
3953
3954
3955
3956
3957
3958
3959
3960
3961
3962
3963
3964
3965
3966
3967
3968
3969
3970
3971
3972
3973
3974
3975
3976
3977
3978
3979
3980
3981
3982
3983
3984
3985
3986
3987
3988
3989
3990
3991
3992
3993
3994
3995
3996
3997
3998
3999
4000
4001
4002
4003
4004
4005
4006
4007
4008
4009
4010
4011
4012
4013
4014
4015
4016
4017
4018
4019
4020
4021
4022
4023
4024
4025
4026
4027
4028
4029
4030
4031
4032
4033
4034
4035
4036
4037
4038
4039
4040
4041
4042
4043
4044
4045
4046
4047
4048
4049
4050
4051
4052
4053
4054
4055
4056
4057
4058
4059
4060
4061
4062
4063
4064
4065
4066
4067
4068
4069
4070
4071
4072
4073
4074
4075
4076
4077
4078
4079
4080
4081
4082
4083
4084
4085
4086
4087
4088
4089
4090
4091
4092
4093
4094
4095
4096
4097
4098
4099
4100
4101
4102
4103
4104
4105
4106
4107
4108
4109
4110
4111
4112
4113
4114
4115
4116
4117
4118
4119
4120
4121
4122
4123
4124
4125
4126
4127
4128
4129
4130
4131
4132
4133
4134
4135
4136
4137
4138
4139
4140
4141
4142
4143
4144
4145
4146
4147
4148
4149
4150
4151
4152
4153
4154
4155
4156
4157
4158
4159
4160
4161
4162
4163
4164
4165
4166
4167
4168
4169
4170
4171
4172
4173
4174
4175
4176
4177
4178
4179
4180
4181
4182
4183
4184
4185
4186
4187
4188
4189
4190
4191
4192
4193
4194
4195
4196
4197
4198
4199
4200
4201
4202
4203
4204
4205
4206
4207
4208
4209
4210
4211
4212
4213
4214
4215
4216
4217
4218
4219
4220
4221
4222
4223
4224
4225
4226
4227
4228
4229
4230
4231
4232
4233
4234
4235
4236
4237
4238
4239
4240
4241
4242
4243
4244
4245
4246
4247
4248
4249
4250
4251
4252
4253
4254
4255
4256
4257
4258
4259
4260
4261
4262
4263
4264
4265
4266
4267
4268
4269
4270
4271
4272
4273
4274
4275
4276
4277
4278
4279
4280
4281
4282
4283
4284
4285
4286
4287
4288
4289
4290
4291
4292
4293
4294
4295
4296
4297
4298
4299
4300
4301
4302
4303
4304
4305
4306
4307
4308
4309
4310
4311
4312
4313
4314
4315
4316
4317
4318
4319
4320
4321
4322
4323
4324
4325
4326
4327
4328
4329
4330
4331
4332
4333
4334
4335
4336
4337
4338
4339
4340
4341
4342
4343
4344
4345
4346
4347
4348
4349
4350
4351
4352
4353
4354
4355
4356
4357
4358
4359
4360
4361
4362
4363
4364
4365
4366
4367
4368
4369
4370
4371
4372
4373
4374
4375
4376
4377
4378
4379
4380
4381
4382
4383
4384
4385
4386
4387
4388
4389
4390
4391
4392
4393
4394
4395
4396
4397
4398
4399
4400
4401
4402
4403
4404
4405
4406
4407
4408
4409
4410
4411
4412
4413
4414
4415
4416
4417
4418
4419
4420
4421
4422
4423
4424
4425
4426
4427
4428
4429
4430
4431
4432
4433
4434
4435
4436
4437
4438
4439
4440
4441
4442
4443
4444
4445
4446
4447
4448
4449
4450
4451
4452
4453
4454
4455
4456
4457
4458
4459
4460
4461
4462
4463
4464
4465
4466
4467
4468
4469
4470
4471
4472
4473
4474
4475
4476
4477
4478
4479
4480
4481
4482
4483
4484
4485
4486
4487
4488
4489
4490
4491
4492
4493
4494
4495
4496
4497
4498
4499
4500
4501
4502
4503
4504
4505
4506
4507
4508
4509
4510
4511
4512
4513
4514
4515
4516
4517
4518
4519
4520
4521
4522
4523
4524
4525
4526
4527
4528
4529
4530
4531
4532
4533
4534
4535
4536
4537
4538
4539
4540
4541
4542
4543
4544
4545
4546
4547
4548
4549
4550
4551
4552
4553
4554
4555
4556
4557
4558
4559
4560
4561
4562
4563
4564
4565
4566
4567
4568
4569
4570
4571
4572
4573
4574
4575
4576
4577
4578
4579
4580
4581
4582
4583
4584
4585
4586
4587
4588
4589
4590
4591
4592
4593
4594
4595
4596
4597
4598
4599
4600
4601
4602
4603
4604
4605
4606
4607
4608
4609
4610
4611
4612
4613
4614
4615
4616
4617
4618
4619
4620
4621
4622
4623
4624
4625
4626
4627
4628
4629
4630
4631
4632
4633
4634
4635
4636
4637
4638
4639
4640
4641
4642
4643
4644
4645
4646
4647
4648
4649
4650
4651
4652
4653
4654
4655
4656
4657
4658
4659
4660
4661
4662
4663
4664
4665
4666
4667
4668
4669
4670
4671
4672
4673
4674
4675
4676
4677
4678
4679
4680
4681
4682
4683
4684
4685
4686
4687
4688
4689
4690
4691
4692
4693
4694
4695
4696
4697
4698
4699
4700
4701
4702
4703
4704
4705
4706
4707
4708
4709
4710
4711
4712
4713
4714
4715
4716
4717
4718
4719
4720
4721
4722
4723
4724
4725
4726
4727
4728
4729
4730
4731
4732
4733
4734
4735
4736
4737
4738
4739
4740
4741
4742
4743
4744
4745
4746
4747
4748
4749
4750
4751
4752
4753
4754
4755
4756
4757
4758
4759
4760
4761
4762
4763
4764
4765
4766
4767
4768
4769
4770
4771
4772
4773
4774
4775
4776
4777
4778
4779
4780
4781
4782
4783
4784
4785
4786
4787
4788
4789
4790
4791
4792
4793
4794
4795
4796
4797
4798
4799
4800
4801
4802
4803
4804
4805
4806
4807
4808
4809
4810
4811
4812
4813
4814
4815
4816
4817
4818
4819
4820
4821
4822
4823
4824
4825
4826
4827
4828
4829
4830
4831
4832
4833
4834
4835
4836
4837
4838
4839
4840
4841
4842
4843
4844
4845
4846
4847
4848
4849
4850
4851
4852
4853
4854
4855
4856
4857
4858
4859
4860
4861
4862
4863
4864
4865
4866
4867
4868
4869
4870
4871
4872
4873
4874
4875
4876
4877
4878
4879
4880
4881
4882
4883
4884
4885
4886
4887
4888
4889
4890
4891
4892
4893
4894
4895
4896
4897
4898
4899
4900
4901
4902
4903
4904
4905
4906
4907
4908
4909
4910
4911
4912
4913
4914
4915
4916
4917
4918
4919
4920
4921
4922
4923
4924
4925
4926
4927
4928
4929
4930
4931
4932
4933
4934
4935
4936
4937
4938
4939
4940
4941
4942
4943
4944
4945
4946
4947
4948
4949
4950
4951
4952
4953
4954
4955
4956
4957
4958
4959
4960
4961
4962
4963
4964
4965
4966
4967
4968
4969
4970
4971
4972
4973
4974
4975
4976
4977
4978
4979
4980
4981
4982
4983
4984
4985
4986
4987
4988
4989
4990
4991
4992
4993
4994
4995
4996
4997
4998
4999
5000
5001
5002
5003
5004
5005
5006
5007
5008
5009
5010
5011
5012
5013
5014
5015
5016
5017
5018
5019
5020
5021
5022
5023
5024
5025
5026
5027
5028
5029
5030
5031
5032
5033
5034
5035
5036
5037
5038
5039
5040
5041
5042
5043
5044
5045
5046
5047
5048
5049
5050
5051
5052
5053
5054
5055
5056
5057
5058
5059
5060
5061
5062
5063
5064
5065
5066
5067
5068
5069
5070
5071
5072
5073
5074
5075
5076
5077
5078
5079
5080
5081
5082
5083
5084
5085
5086
5087
5088
5089
5090
5091
5092
5093
5094
5095
5096
5097
5098
5099
5100
5101
5102
5103
5104
5105
5106
5107
5108
5109
5110
5111
5112
5113
5114
5115
5116
5117
5118
5119
5120
5121
5122
5123
5124
5125
5126
5127
5128
5129
5130
5131
5132
5133
5134
5135
5136
5137
5138
5139
5140
5141
5142
5143
5144
5145
5146
5147
5148
5149
5150
5151
5152
5153
5154
5155
5156
5157
5158
5159
5160
5161
5162
5163
5164
5165
5166
5167
5168
5169
5170
5171
5172
5173
5174
5175
5176
5177
5178
5179
5180
5181
5182
5183
5184
5185
5186
5187
5188
5189
5190
5191
5192
5193
5194
5195
5196
5197
5198
5199
5200
5201
5202
5203
5204
5205
5206
5207
5208
5209
5210
5211
5212
5213
5214
5215
5216
5217
5218
5219
5220
5221
5222
5223
5224
5225
5226
5227
5228
5229
5230
5231
5232
5233
5234
5235
5236
5237
5238
5239
5240
5241
5242
5243
5244
5245
5246
5247
5248
5249
5250
5251
5252
5253
5254
5255
5256
5257
5258
5259
5260
5261
5262
5263
5264
5265
5266
5267
5268
5269
5270
5271
5272
5273
5274
5275
5276
5277
5278
5279
5280
5281
5282
5283
5284
5285
5286
5287
5288
5289
5290
5291
5292
5293
5294
5295
5296
5297
5298
5299
5300
5301
5302
5303
5304
5305
5306
5307
5308
5309
5310
5311
5312
5313
5314
5315
5316
5317
5318
5319
5320
5321
5322
5323
5324
5325
5326
5327
5328
5329
5330
5331
5332
5333
5334
5335
5336
5337
5338
5339
5340
5341
5342
5343
5344
5345
5346
5347
5348
5349
5350
5351
5352
5353
5354
5355
5356
5357
5358
5359
5360
5361
5362
5363
5364
5365
5366
5367
5368
5369
5370
5371
5372
5373
5374
5375
5376
5377
5378
5379
5380
5381
5382
5383
5384
5385
5386
5387
5388
5389
5390
5391
5392
5393
5394
5395
5396
5397
5398
5399
5400
5401
5402
5403
5404
5405
5406
5407
5408
5409
5410
5411
5412
5413
5414
5415
5416
5417
5418
5419
5420
5421
5422
5423
5424
5425
5426
5427
5428
5429
5430
5431
5432
5433
5434
5435
5436
5437
5438
5439
5440
5441
5442
5443
5444
5445
5446
5447
5448
5449
5450
5451
5452
5453
5454
5455
5456
5457
5458
5459
5460
5461
5462
5463
5464
5465
5466
5467
5468
5469
5470
5471
5472
5473
5474
5475
5476
5477
5478
5479
5480
5481
5482
5483
5484
5485
5486
5487
5488
5489
5490
5491
5492
5493
5494
5495
5496
5497
5498
5499
5500
5501
5502
5503
5504
5505
5506
5507
5508
5509
5510
5511
5512
5513
5514
5515
5516
5517
5518
5519
5520
5521
5522
5523
5524
5525
5526
5527
5528
5529
5530
5531
5532
5533
5534
5535
5536
5537
5538
5539
5540
5541
5542
5543
5544
5545
5546
5547
5548
5549
5550
5551
5552
5553
5554
5555
5556
5557
5558
5559
5560
5561
5562
5563
5564
5565
5566
5567
5568
5569
5570
5571
5572
5573
5574
5575
5576
5577
5578
5579
5580
5581
5582
5583
5584
5585
5586
5587
5588
5589
5590
5591
5592
5593
5594
5595
5596
5597
5598
5599
5600
5601
5602
5603
5604
5605
5606
5607
5608
5609
5610
5611
5612
5613
5614
5615
5616
5617
5618
5619
5620
5621
5622
5623
5624
5625
5626
5627
5628
5629
5630
5631
5632
5633
5634
5635
5636
5637
5638
5639
5640
5641
5642
5643
5644
5645
5646
5647
5648
5649
5650
5651
5652
5653
5654
5655
5656
5657
5658
5659
5660
5661
5662
5663
5664
5665
5666
5667
5668
5669
5670
5671
5672
5673
5674
5675
5676
5677
5678
5679
5680
5681
5682
5683
5684
5685
5686
5687
5688
5689
5690
5691
5692
5693
5694
5695
5696
5697
5698
5699
5700
5701
5702
5703
5704
5705
5706
5707
5708
5709
5710
5711
5712
5713
5714
5715
5716
5717
5718
5719
5720
5721
5722
5723
5724
5725
5726
5727
5728
5729
5730
5731
5732
5733
5734
5735
5736
5737
5738
5739
5740
5741
5742
5743
5744
5745
5746
5747
5748
5749
5750
5751
5752
5753
5754
5755
5756
5757
5758
5759
5760
5761
5762
5763
5764
5765
5766
5767
5768
5769
5770
5771
5772
5773
5774
5775
5776
5777
5778
5779
5780
5781
5782
5783
5784
5785
5786
5787
5788
5789
5790
5791
5792
5793
5794
5795
5796
5797
5798
5799
5800
5801
5802
5803
5804
5805
5806
5807
5808
5809
5810
5811
5812
5813
5814
5815
5816
5817
5818
5819
5820
5821
5822
5823
5824
5825
5826
5827
5828
5829
5830
5831
5832
5833
5834
5835
5836
5837
5838
5839
5840
5841
5842
5843
5844
5845
5846
5847
5848
5849
5850
5851
5852
5853
5854
5855
5856
5857
5858
5859
5860
5861
5862
5863
5864
5865
5866
5867
5868
5869
5870
5871
5872
5873
5874
5875
5876
5877
5878
5879
5880
5881
5882
5883
5884
5885
5886
5887
5888
5889
5890
5891
5892
5893
5894
5895
5896
5897
5898
5899
5900
5901
5902
5903
5904
5905
5906
5907
5908
5909
5910
5911
5912
5913
5914
5915
5916
5917
5918
5919
5920
5921
5922
5923
5924
5925
5926
5927
5928
5929
5930
5931
5932
5933
5934
5935
5936
5937
5938
5939
5940
5941
5942
5943
5944
5945
5946
5947
5948
5949
5950
5951
5952
5953
5954
5955
5956
5957
5958
5959
5960
5961
5962
5963
5964
5965
5966
5967
5968
5969
5970
5971
5972
5973
5974
5975
5976
5977
5978
5979
5980
5981
5982
5983
5984
5985
5986
5987
5988
5989
5990
5991
5992
5993
5994
5995
5996
5997
5998
5999
6000
6001
6002
6003
6004
6005
6006
6007
6008
6009
6010
6011
6012
6013
6014
6015
6016
6017
6018
6019
6020
6021
6022
6023
6024
6025
6026
6027
6028
6029
6030
6031
6032
6033
6034
6035
6036
6037
6038
6039
6040
6041
6042
6043
6044
6045
6046
6047
6048
6049
6050
6051
6052
6053
6054
6055
6056
6057
6058
6059
6060
6061
6062
6063
6064
6065
6066
6067
6068
6069
6070
6071
6072
6073
6074
6075
6076
6077
6078
6079
6080
6081
6082
6083
6084
6085
6086
6087
6088
6089
6090
6091
6092
6093
6094
6095
6096
6097
6098
6099
6100
6101
6102
6103
6104
6105
6106
6107
6108
6109
6110
6111
6112
6113
6114
6115
6116
6117
6118
6119
6120
6121
6122
6123
6124
6125
6126
6127
6128
6129
6130
6131
6132
6133
6134
6135
6136
6137
6138
6139
6140
6141
6142
6143
6144
6145
6146
6147
6148
6149
6150
6151
6152
6153
6154
6155
6156
6157
6158
6159
6160
6161
6162
6163
6164
6165
6166
6167
6168
6169
6170
6171
6172
6173
6174
6175
6176
6177
6178
6179
6180
6181
6182
6183
6184
6185
6186
6187
6188
6189
6190
6191
6192
6193
6194
6195
6196
6197
6198
6199
6200
6201
6202
6203
6204
6205
6206
6207
6208
6209
6210
6211
6212
6213
6214
6215
6216
6217
6218
6219
6220
6221
6222
6223
6224
6225
6226
6227
6228
6229
6230
6231
6232
6233
6234
6235
6236
6237
6238
6239
6240
6241
6242
6243
6244
6245
6246
6247
6248
6249
6250
6251
6252
6253
6254
6255
6256
6257
6258
6259
6260
6261
6262
6263
6264
6265
6266
6267
6268
6269
6270
6271
6272
6273
6274
6275
6276
6277
6278
6279
6280
6281
6282
6283
6284
6285
6286
6287
6288
6289
6290
6291
6292
6293
6294
6295
6296
6297
6298
6299
6300
6301
6302
6303
6304
6305
6306
6307
6308
6309
6310
6311
6312
6313
6314
6315
6316
6317
6318
6319
6320
6321
6322
6323
6324
6325
6326
6327
6328
6329
6330
6331
6332
6333
6334
6335
6336
6337
6338
6339
6340
6341
6342
6343
6344
6345
6346
6347
6348
6349
6350
6351
6352
6353
6354
6355
6356
6357
6358
6359
6360
6361
6362
6363
6364
6365
6366
6367
6368
6369
6370
6371
6372
6373
6374
6375
6376
6377
6378
6379
6380
6381
6382
6383
6384
6385
6386
6387
6388
6389
6390
6391
6392
6393
6394
6395
6396
6397
6398
6399
6400
6401
6402
6403
6404
6405
6406
6407
6408
6409
6410
6411
6412
6413
6414
6415
6416
6417
6418
6419
6420
6421
6422
6423
6424
6425
6426
6427
6428
6429
6430
6431
6432
6433
6434
6435
6436
6437
6438
6439
6440
6441
6442
6443
6444
6445
6446
6447
6448
6449
6450
6451
6452
6453
6454
6455
6456
6457
6458
6459
6460
6461
6462
6463
6464
6465
6466
6467
6468
6469
6470
6471
6472
6473
6474
6475
6476
6477
6478
6479
6480
6481
6482
6483
6484
6485
6486
6487
6488
6489
6490
6491
6492
6493
6494
6495
6496
6497
6498
6499
6500
6501
6502
6503
6504
6505
6506
6507
6508
6509
6510
6511
6512
6513
6514
6515
6516
6517
6518
6519
6520
6521
6522
6523
6524
6525
6526
6527
6528
6529
6530
6531
6532
6533
6534
6535
6536
6537
6538
6539
6540
6541
6542
6543
6544
6545
6546
6547
6548
6549
6550
6551
6552
6553
6554
6555
6556
6557
6558
6559
6560
6561
6562
6563
6564
6565
6566
6567
6568
6569
6570
6571
6572
6573
6574
6575
6576
6577
6578
6579
6580
6581
6582
6583
6584
6585
6586
6587
6588
6589
6590
6591
6592
6593
6594
6595
6596
6597
6598
6599
6600
6601
6602
6603
6604
6605
6606
6607
6608
6609
6610
6611
6612
6613
6614
6615
6616
6617
6618
6619
6620
6621
6622
6623
6624
6625
6626
6627
6628
6629
6630
6631
6632
6633
6634
6635
6636
6637
6638
6639
6640
6641
6642
6643
6644
6645
6646
6647
6648
6649
6650
6651
6652
6653
6654
6655
6656
6657
6658
6659
6660
6661
6662
6663
6664
6665
6666
6667
6668
6669
6670
6671
6672
6673
6674
6675
6676
6677
6678
6679
6680
6681
6682
6683
6684
6685
6686
6687
6688
6689
6690
6691
6692
6693
6694
6695
6696
6697
6698
6699
6700
6701
6702
6703
6704
6705
6706
6707
6708
6709
6710
6711
6712
6713
6714
6715
6716
6717
6718
6719
6720
6721
6722
6723
6724
6725
6726
6727
6728
6729
6730
6731
6732
6733
6734
6735
6736
6737
6738
6739
6740
6741
6742
6743
6744
6745
6746
6747
6748
6749
6750
6751
6752
6753
6754
6755
6756
6757
6758
6759
6760
6761
6762
6763
6764
6765
6766
6767
6768
6769
6770
6771
6772
6773
6774
6775
6776
6777
6778
6779
6780
6781
6782
6783
6784
6785
6786
6787
6788
6789
6790
6791
6792
6793
6794
6795
6796
6797
6798
6799
6800
6801
6802
6803
6804
6805
6806
6807
6808
6809
6810
6811
6812
6813
6814
6815
6816
6817
6818
6819
6820
6821
6822
6823
6824
6825
6826
6827
6828
6829
6830
6831
6832
6833
6834
6835
6836
6837
6838
6839
6840
6841
6842
6843
6844
6845
6846
6847
6848
6849
6850
6851
6852
6853
6854
6855
6856
6857
6858
6859
6860
6861
6862
6863
6864
6865
6866
6867
6868
6869
6870
6871
6872
6873
6874
6875
6876
6877
6878
6879
6880
6881
6882
6883
6884
6885
6886
6887
6888
6889
6890
6891
6892
6893
6894
6895
6896
6897
6898
6899
6900
6901
6902
6903
6904
6905
6906
6907
6908
6909
6910
6911
6912
6913
6914
6915
6916
6917
6918
6919
6920
6921
6922
6923
6924
6925
6926
6927
6928
6929
6930
6931
6932
6933
6934
6935
6936
6937
6938
6939
6940
6941
6942
6943
6944
6945
6946
6947
6948
6949
6950
6951
6952
6953
6954
6955
6956
6957
6958
6959
6960
6961
6962
6963
6964
6965
6966
6967
6968
6969
6970
6971
6972
6973
6974
6975
6976
6977
6978
6979
6980
6981
6982
6983
6984
6985
6986
6987
6988
6989
6990
6991
6992
6993
6994
6995
6996
6997
6998
6999
7000
7001
7002
7003
7004
7005
7006
7007
7008
7009
7010
7011
7012
7013
7014
7015
7016
7017
7018
7019
7020
7021
7022
7023
7024
7025
7026
7027
7028
7029
7030
7031
7032
7033
7034
7035
7036
7037
7038
7039
7040
7041
7042
7043
7044
7045
7046
7047
7048
7049
7050
7051
7052
7053
7054
7055
7056
7057
7058
7059
7060
7061
7062
7063
7064
7065
7066
7067
7068
7069
7070
7071
7072
7073
7074
7075
7076
7077
7078
7079
7080
7081
7082
7083
7084
7085
7086
7087
7088
7089
7090
7091
7092
7093
7094
7095
7096
7097
7098
7099
7100
7101
7102
7103
7104
7105
7106
7107
7108
7109
7110
7111
7112
7113
7114
7115
7116
7117
7118
7119
7120
7121
7122
7123
7124
7125
7126
7127
7128
7129
7130
7131
7132
7133
7134
7135
7136
7137
7138
7139
7140
7141
7142
7143
7144
7145
7146
7147
7148
7149
7150
7151
7152
7153
7154
7155
7156
7157
7158
7159
7160
7161
7162
7163
7164
7165
7166
7167
7168
7169
7170
7171
7172
7173
7174
7175
7176
7177
7178
7179
7180
7181
7182
7183
7184
7185
7186
7187
7188
7189
7190
7191
7192
7193
7194
7195
7196
7197
7198
7199
7200
7201
7202
7203
7204
7205
7206
7207
7208
7209
7210
7211
7212
7213
7214
7215
7216
7217
7218
7219
7220
7221
7222
7223
7224
7225
7226
7227
7228
7229
7230
7231
7232
7233
7234
7235
7236
7237
7238
7239
7240
7241
7242
7243
7244
7245
7246
7247
7248
7249
7250
7251
7252
7253
7254
7255
7256
7257
7258
7259
7260
7261
7262
7263
7264
7265
7266
7267
7268
7269
7270
7271
7272
7273
7274
7275
7276
7277
7278
7279
7280
7281
7282
7283
7284
7285
7286
7287
7288
7289
7290
7291
7292
7293
7294
7295
7296
7297
7298
7299
7300
7301
7302
7303
7304
7305
7306
7307
7308
7309
7310
7311
7312
7313
7314
7315
7316
7317
7318
7319
7320
7321
7322
7323
7324
7325
7326
7327
7328
7329
7330
7331
7332
7333
7334
7335
7336
7337
7338
7339
7340
7341
7342
7343
7344
7345
7346
7347
7348
7349
7350
7351
7352
7353
7354
7355
7356
7357
7358
7359
7360
7361
7362
7363
7364
7365
7366
7367
7368
7369
7370
7371
7372
7373
7374
7375
7376
7377
7378
7379
7380
7381
7382
7383
7384
7385
7386
7387
7388
7389
7390
7391
7392
7393
7394
7395
7396
7397
7398
7399
7400
7401
7402
7403
7404
7405
7406
7407
7408
7409
7410
7411
7412
7413
7414
7415
7416
7417
7418
7419
7420
7421
7422
7423
7424
7425
7426
7427
7428
7429
7430
7431
7432
7433
7434
7435
7436
7437
7438
7439
7440
7441
7442
7443
7444
7445
7446
7447
7448
7449
7450
7451
7452
7453
7454
7455
7456
7457
7458
7459
7460
7461
7462
7463
7464
7465
7466
7467
7468
7469
7470
7471
7472
7473
7474
7475
7476
7477
7478
7479
7480
7481
7482
7483
7484
7485
7486
7487
7488
7489
7490
7491
7492
7493
7494
7495
7496
7497
7498
7499
7500
7501
7502
7503
7504
7505
7506
7507
7508
7509
7510
7511
7512
7513
7514
7515
7516
7517
7518
7519
7520
7521
7522
7523
7524
7525
7526
7527
7528
7529
7530
7531
7532
7533
7534
7535
7536
7537
7538
7539
7540
7541
7542
7543
7544
7545
7546
7547
7548
7549
7550
7551
7552
7553
7554
7555
7556
7557
7558
7559
7560
7561
7562
7563
7564
7565
7566
7567
7568
7569
7570
7571
7572
7573
7574
7575
7576
7577
7578
7579
7580
7581
7582
7583
7584
7585
7586
7587
7588
7589
7590
7591
7592
7593
7594
7595
7596
7597
7598
7599
7600
7601
7602
7603
7604
7605
7606
7607
7608
7609
7610
7611
7612
7613
7614
7615
7616
7617
7618
7619
7620
7621
7622
7623
7624
7625
7626
7627
7628
7629
7630
7631
7632
7633
7634
7635
7636
7637
7638
7639
7640
7641
7642
7643
7644
7645
7646
7647
7648
7649
7650
7651
7652
7653
7654
7655
7656
7657
7658
7659
7660
7661
7662
7663
7664
7665
7666
7667
7668
7669
7670
7671
7672
7673
7674
7675
7676
7677
7678
7679
7680
7681
7682
7683
7684
7685
7686
7687
7688
7689
7690
7691
7692
7693
7694
7695
7696
7697
7698
7699
7700
7701
7702
7703
7704
7705
7706
7707
7708
7709
7710
7711
7712
7713
7714
7715
7716
7717
7718
7719
7720
7721
7722
7723
7724
7725
7726
7727
7728
7729
7730
7731
7732
7733
7734
7735
7736
7737
7738
7739
7740
7741
7742
7743
7744
7745
7746
7747
7748
7749
7750
7751
7752
7753
7754
7755
7756
7757
7758
7759
7760
7761
7762
7763
7764
7765
7766
7767
7768
7769
7770
7771
7772
7773
7774
7775
7776
7777
7778
7779
7780
7781
7782
7783
7784
7785
7786
7787
7788
7789
7790
7791
7792
7793
7794
7795
7796
7797
7798
7799
7800
7801
7802
7803
7804
7805
7806
7807
7808
7809
7810
7811
7812
7813
7814
7815
7816
7817
7818
7819
7820
7821
7822
7823
7824
7825
7826
7827
7828
7829
7830
7831
7832
7833
7834
7835
7836
7837
7838
7839
7840
7841
7842
7843
7844
7845
7846
7847
7848
7849
7850
7851
7852
7853
7854
7855
7856
7857
7858
7859
7860
7861
7862
7863
7864
7865
7866
7867
7868
7869
7870
7871
7872
7873
7874
7875
7876
7877
7878
7879
7880
7881
7882
7883
7884
7885
7886
7887
7888
7889
7890
7891
7892
7893
7894
7895
7896
7897
7898
7899
7900
7901
7902
7903
7904
7905
7906
7907
7908
7909
7910
7911
7912
7913
7914
7915
7916
7917
7918
7919
7920
7921
7922
7923
7924
7925
7926
7927
7928
7929
7930
7931
7932
7933
7934
7935
7936
7937
7938
7939
7940
7941
7942
7943
7944
7945
7946
7947
7948
7949
7950
7951
7952
7953
7954
7955
7956
7957
7958
7959
7960
7961
7962
7963
7964
7965
7966
7967
7968
7969
7970
7971
7972
7973
7974
7975
7976
7977
7978
7979
7980
7981
7982
7983
7984
7985
7986
7987
7988
7989
7990
7991
7992
7993
7994
7995
7996
7997
7998
7999
8000
8001
8002
8003
8004
8005
8006
8007
8008
8009
8010
8011
8012
8013
8014
8015
8016
8017
8018
8019
8020
8021
8022
8023
8024
8025
8026
8027
8028
8029
8030
8031
8032
8033
8034
8035
8036
8037
8038
8039
8040
8041
8042
8043
8044
8045
8046
8047
8048
8049
8050
8051
8052
8053
8054
8055
8056
8057
8058
8059
8060
8061
8062
8063
8064
8065
8066
8067
8068
8069
8070
8071
8072
8073
8074
8075
8076
8077
8078
8079
8080
8081
8082
8083
8084
8085
8086
8087
8088
8089
8090
8091
8092
8093
8094
8095
8096
8097
8098
8099
8100
8101
8102
8103
8104
8105
8106
8107
8108
8109
8110
8111
8112
8113
8114
8115
8116
8117
8118
8119
8120
8121
8122
8123
8124
8125
8126
8127
8128
8129
8130
8131
8132
8133
8134
8135
8136
8137
8138
8139
8140
8141
8142
8143
8144
8145
8146
8147
8148
8149
8150
8151
8152
8153
8154
8155
8156
8157
8158
8159
8160
8161
8162
8163
8164
8165
8166
8167
8168
8169
8170
8171
8172
8173
8174
8175
8176
8177
8178
8179
8180
8181
8182
8183
8184
8185
8186
8187
8188
8189
8190
8191
8192
8193
8194
8195
8196
8197
8198
8199
8200
8201
8202
8203
8204
8205
8206
8207
8208
8209
8210
8211
8212
8213
8214
8215
8216
8217
8218
8219
8220
8221
8222
8223
8224
8225
8226
8227
8228
8229
8230
8231
8232
8233
8234
8235
8236
8237
8238
8239
8240
8241
8242
8243
8244
8245
8246
8247
8248
8249
8250
8251
8252
8253
8254
8255
8256
8257
8258
8259
8260
8261
8262
8263
8264
8265
8266
8267
8268
8269
8270
8271
8272
8273
8274
8275
8276
8277
8278
8279
8280
8281
8282
8283
8284
8285
8286
8287
8288
8289
8290
8291
8292
8293
8294
8295
8296
8297
8298
8299
8300
8301
8302
8303
8304
8305
8306
8307
8308
8309
8310
8311
8312
8313
8314
8315
8316
8317
8318
8319
8320
8321
8322
8323
8324
8325
8326
8327
8328
8329
8330
8331
8332
8333
8334
8335
8336
8337
8338
8339
8340
8341
8342
8343
8344
8345
8346
8347
8348
8349
8350
8351
8352
8353
8354
8355
8356
8357
8358
8359
8360
8361
8362
8363
8364
8365
8366
8367
8368
8369
8370
8371
8372
8373
8374
8375
8376
8377
8378
8379
8380
8381
8382
8383
8384
8385
8386
8387
8388
8389
8390
8391
8392
8393
8394
8395
8396
8397
8398
8399
8400
8401
8402
8403
8404
8405
8406
8407
8408
8409
8410
8411
8412
8413
8414
8415
8416
8417
8418
8419
8420
8421
8422
8423
8424
8425
8426
8427
8428
8429
8430
8431
8432
8433
8434
8435
8436
8437
8438
8439
8440
8441
8442
8443
8444
8445
8446
8447
8448
8449
8450
8451
8452
8453
8454
8455
8456
8457
8458
8459
8460
8461
8462
8463
8464
8465
8466
8467
8468
8469
8470
8471
8472
8473
8474
8475
8476
8477
8478
8479
8480
8481
8482
8483
8484
8485
8486
8487
8488
8489
8490
8491
8492
8493
8494
8495
8496
8497
8498
8499
8500
8501
8502
8503
8504
8505
8506
8507
8508
8509
8510
8511
8512
8513
8514
8515
8516
8517
8518
8519
8520
8521
8522
8523
8524
8525
8526
8527
8528
8529
8530
8531
8532
8533
8534
8535
8536
8537
8538
8539
8540
8541
8542
8543
8544
8545
8546
8547
8548
8549
8550
8551
8552
8553
8554
8555
8556
8557
8558
8559
8560
8561
8562
8563
8564
8565
8566
8567
8568
8569
8570
8571
8572
8573
8574
8575
8576
8577
8578
8579
8580
8581
8582
8583
8584
8585
8586
8587
8588
8589
8590
8591
8592
8593
8594
8595
8596
8597
8598
8599
8600
8601
8602
8603
8604
8605
8606
8607
8608
8609
8610
8611
8612
8613
8614
8615
8616
8617
8618
8619
8620
8621
8622
8623
8624
8625
8626
8627
8628
8629
8630
8631
8632
8633
8634
8635
8636
8637
8638
8639
8640
8641
8642
8643
8644
8645
8646
8647
8648
8649
8650
8651
8652
8653
8654
8655
8656
8657
8658
8659
8660
8661
8662
8663
8664
8665
8666
8667
8668
8669
8670
8671
8672
8673
8674
8675
8676
8677
8678
8679
8680
8681
8682
8683
8684
8685
8686
8687
8688
8689
8690
8691
8692
8693
8694
8695
8696
8697
8698
8699
8700
8701
8702
8703
8704
8705
8706
8707
8708
8709
8710
8711
8712
8713
8714
8715
8716
8717
8718
8719
8720
8721
8722
8723
8724
8725
8726
8727
8728
8729
8730
8731
8732
8733
8734
8735
8736
8737
8738
8739
8740
8741
8742
8743
8744
8745
8746
8747
8748
8749
8750
8751
8752
8753
8754
8755
8756
8757
8758
8759
8760
8761
8762
8763
8764
8765
8766
8767
8768
8769
8770
8771
8772
8773
8774
8775
8776
8777
8778
8779
8780
8781
8782
8783
8784
8785
8786
8787
8788
8789
8790
8791
8792
8793
8794
8795
8796
8797
8798
8799
8800
8801
8802
8803
8804
8805
8806
8807
8808
8809
8810
8811
8812
8813
8814
8815
8816
8817
8818
8819
8820
8821
8822
8823
8824
8825
8826
8827
8828
8829
8830
8831
8832
8833
8834
8835
8836
8837
8838
8839
8840
8841
8842
8843
8844
8845
8846
8847
8848
8849
8850
8851
8852
8853
8854
8855
8856
8857
8858
8859
8860
8861
8862
8863
8864
8865
8866
8867
8868
8869
8870
8871
8872
8873
8874
8875
8876
8877
8878
8879
8880
8881
8882
8883
8884
8885
8886
8887
8888
8889
8890
8891
8892
8893
8894
8895
8896
8897
8898
8899
8900
8901
8902
8903
8904
8905
8906
8907
8908
8909
8910
8911
8912
8913
8914
8915
8916
8917
8918
8919
8920
8921
8922
8923
8924
8925
8926
8927
8928
8929
8930
8931
8932
8933
8934
8935
8936
8937
8938
8939
8940
8941
8942
8943
8944
8945
8946
8947
8948
8949
8950
8951
8952
8953
8954
8955
8956
8957
8958
8959
8960
8961
8962
8963
8964
8965
8966
8967
8968
8969
8970
8971
8972
8973
8974
8975
8976
8977
8978
8979
8980
8981
8982
8983
8984
8985
8986
8987
8988
8989
8990
8991
8992
8993
8994
8995
8996
8997
8998
8999
9000
9001
9002
9003
9004
9005
9006
9007
9008
9009
9010
9011
9012
9013
9014
9015
9016
9017
9018
9019
9020
9021
9022
9023
9024
9025
9026
9027
9028
9029
9030
9031
9032
9033
9034
9035
9036
9037
9038
9039
9040
9041
9042
9043
9044
9045
9046
9047
9048
9049
9050
9051
9052
9053
9054
9055
9056
9057
9058
9059
9060
9061
9062
9063
9064
9065
9066
9067
9068
9069
9070
9071
9072
9073
9074
9075
9076
9077
9078
9079
9080
9081
9082
9083
9084
9085
9086
9087
9088
9089
9090
9091
9092
9093
9094
9095
9096
9097
9098
9099
9100
9101
9102
9103
9104
9105
9106
9107
9108
9109
9110
9111
9112
9113
9114
9115
9116
9117
9118
9119
9120
9121
9122
9123
9124
9125
9126
9127
9128
9129
9130
9131
9132
9133
9134
9135
9136
9137
9138
9139
9140
9141
9142
9143
9144
9145
9146
9147
9148
9149
9150
9151
9152
9153
9154
9155
9156
9157
9158
9159
9160
9161
9162
9163
9164
9165
9166
9167
9168
9169
9170
9171
9172
9173
9174
9175
9176
9177
9178
9179
9180
9181
9182
9183
9184
9185
9186
9187
9188
9189
9190
9191
9192
9193
9194
9195
9196
9197
9198
9199
9200
9201
9202
9203
9204
9205
9206
9207
9208
9209
9210
9211
9212
9213
9214
9215
9216
9217
9218
9219
9220
9221
9222
9223
9224
9225
9226
9227
9228
9229
9230
9231
9232
9233
9234
9235
9236
9237
9238
9239
9240
9241
9242
9243
9244
9245
9246
9247
9248
9249
9250
9251
9252
9253
9254
9255
9256
9257
9258
9259
9260
9261
9262
9263
9264
9265
9266
9267
9268
9269
9270
9271
9272
9273
9274
9275
9276
9277
9278
9279
9280
9281
9282
9283
9284
9285
9286
9287
9288
9289
9290
9291
9292
9293
9294
9295
9296
9297
9298
9299
9300
9301
9302
9303
9304
9305
9306
9307
9308
9309
9310
9311
9312
9313
9314
9315
9316
9317
9318
9319
9320
9321
9322
9323
9324
9325
9326
9327
9328
9329
9330
9331
9332
9333
9334
9335
9336
9337
9338
9339
9340
9341
9342
9343
9344
9345
9346
9347
9348
9349
9350
9351
9352
9353
9354
9355
9356
9357
9358
9359
9360
9361
9362
9363
9364
9365
9366
9367
9368
9369
9370
9371
9372
9373
9374
9375
9376
9377
9378
9379
9380
9381
9382
9383
9384
9385
9386
9387
9388
9389
9390
9391
9392
9393
9394
9395
9396
9397
9398
9399
9400
9401
9402
9403
9404
9405
9406
9407
9408
9409
9410
9411
9412
9413
9414
9415
9416
9417
9418
9419
9420
9421
9422
9423
9424
9425
9426
9427
9428
9429
9430
9431
9432
9433
9434
9435
9436
9437
9438
9439
9440
9441
9442
9443
9444
9445
9446
9447
9448
9449
9450
9451
9452
9453
9454
9455
9456
9457
9458
9459
9460
9461
9462
9463
9464
9465
9466
9467
9468
9469
9470
9471
9472
9473
9474
9475
9476
9477
9478
9479
9480
9481
9482
9483
9484
9485
9486
9487
9488
9489
9490
9491
9492
9493
9494
9495
9496
9497
9498
9499
9500
9501
9502
9503
9504
9505
9506
9507
9508
9509
9510
9511
9512
9513
9514
9515
9516
9517
9518
9519
9520
9521
9522
9523
9524
9525
9526
9527
9528
9529
9530
9531
9532
9533
9534
9535
9536
9537
9538
9539
9540
9541
9542
9543
9544
9545
9546
9547
9548
9549
9550
9551
9552
9553
9554
9555
9556
9557
9558
9559
9560
9561
9562
9563
9564
9565
9566
9567
9568
9569
9570
9571
9572
9573
9574
9575
9576
9577
9578
9579
9580
9581
9582
9583
9584
9585
9586
9587
9588
9589
9590
9591
9592
9593
9594
9595
9596
9597
9598
9599
9600
9601
9602
9603
9604
9605
9606
9607
9608
9609
9610
9611
9612
9613
9614
9615
9616
9617
9618
9619
9620
9621
9622
9623
9624
9625
9626
9627
9628
9629
9630
9631
9632
9633
9634
9635
9636
9637
9638
9639
9640
9641
9642
9643
9644
9645
9646
9647
9648
9649
9650
9651
9652
9653
9654
9655
9656
9657
9658
9659
9660
9661
9662
9663
9664
9665
9666
9667
9668
9669
9670
9671
9672
9673
9674
9675
9676
9677
9678
9679
9680
9681
9682
9683
9684
9685
9686
9687
9688
9689
9690
9691
9692
9693
9694
9695
9696
9697
9698
9699
9700
9701
9702
9703
9704
9705
9706
9707
9708
9709
9710
9711
9712
9713
9714
9715
9716
9717
9718
9719
9720
9721
9722
9723
9724
9725
9726
9727
9728
9729
9730
9731
9732
9733
9734
9735
9736
9737
9738
9739
9740
9741
9742
9743
9744
9745
9746
9747
9748
9749
9750
9751
9752
9753
9754
9755
9756
9757
9758
9759
9760
9761
9762
9763
9764
9765
9766
9767
9768
9769
9770
9771
9772
9773
9774
9775
9776
9777
9778
9779
9780
9781
9782
9783
9784
9785
9786
9787
9788
9789
9790
9791
9792
9793
9794
9795
9796
9797
9798
9799
9800
9801
9802
9803
9804
9805
9806
9807
9808
9809
9810
9811
9812
9813
9814
9815
9816
9817
9818
9819
9820
9821
9822
9823
9824
9825
9826
9827
9828
9829
9830
9831
9832
9833
9834
9835
9836
9837
9838
9839
9840
9841
9842
9843
9844
9845
9846
9847
9848
9849
9850
9851
9852
9853
9854
9855
9856
9857
9858
9859
9860
9861
9862
9863
9864
9865
9866
9867
9868
9869
9870
9871
9872
9873
9874
9875
9876
9877
9878
9879
9880
9881
9882
9883
9884
9885
9886
9887
9888
9889
9890
9891
9892
9893
9894
9895
9896
9897
9898
9899
9900
9901
9902
9903
9904
9905
9906
9907
9908
9909
9910
9911
9912
9913
9914
9915
9916
9917
9918
9919
9920
9921
9922
9923
9924
9925
9926
9927
9928
9929
9930
9931
9932
9933
9934
9935
9936
9937
9938
9939
9940
9941
9942
9943
9944
9945
9946
9947
9948
9949
9950
9951
9952
9953
9954
9955
9956
9957
9958
9959
9960
9961
9962
9963
9964
9965
9966
9967
9968
9969
9970
9971
9972
9973
9974
9975
9976
9977
9978
9979
9980
9981
9982
9983
9984
9985
9986
9987
9988
9989
9990
9991
9992
9993
9994
9995
9996
9997
9998
9999
10000
10001
10002
10003
10004
10005
10006
10007
10008
10009
10010
10011
10012
10013
10014
10015
10016
10017
10018
10019
10020
10021
10022
10023
10024
10025
10026
10027
10028
10029
10030
10031
10032
10033
10034
10035
10036
10037
10038
10039
10040
10041
10042
10043
10044
10045
10046
10047
10048
10049
10050
10051
10052
10053
10054
10055
10056
10057
10058
10059
10060
10061
10062
10063
10064
10065
10066
10067
10068
10069
10070
10071
10072
10073
10074
10075
10076
10077
10078
10079
10080
10081
10082
10083
10084
10085
10086
10087
10088
10089
10090
10091
10092
10093
10094
10095
10096
10097
10098
10099
10100
10101
10102
10103
10104
10105
10106
10107
10108
10109
10110
10111
10112
10113
10114
10115
10116
10117
10118
10119
10120
10121
10122
10123
10124
10125
10126
10127
10128
10129
10130
10131
10132
10133
10134
10135
10136
10137
10138
10139
10140
10141
10142
10143
10144
10145
10146
10147
10148
10149
10150
10151
10152
10153
10154
10155
10156
10157
10158
10159
10160
10161
10162
10163
10164
10165
10166
10167
10168
10169
10170
10171
10172
10173
10174
10175
10176
10177
10178
10179
10180
10181
10182
10183
10184
10185
10186
10187
10188
10189
10190
10191
10192
10193
10194
10195
10196
10197
10198
10199
10200
10201
10202
10203
10204
10205
10206
10207
10208
10209
10210
10211
10212
10213
10214
10215
10216
10217
10218
10219
10220
10221
10222
10223
10224
10225
10226
10227
10228
10229
10230
10231
10232
10233
10234
10235
10236
10237
10238
10239
10240
10241
10242
10243
10244
10245
10246
10247
10248
10249
10250
10251
10252
10253
10254
10255
10256
10257
10258
10259
10260
10261
10262
10263
10264
10265
10266
10267
10268
10269
10270
10271
10272
10273
10274
10275
10276
10277
10278
10279
10280
10281
10282
10283
10284
10285
10286
10287
10288
10289
10290
10291
10292
10293
10294
10295
10296
10297
10298
10299
10300
10301
10302
10303
10304
10305
10306
10307
10308
10309
10310
10311
10312
10313
10314
10315
10316
10317
10318
10319
10320
10321
10322
10323
10324
10325
10326
10327
10328
10329
10330
10331
10332
10333
10334
10335
10336
10337
10338
10339
10340
10341
10342
10343
10344
10345
10346
10347
10348
10349
10350
10351
10352
10353
10354
10355
10356
10357
10358
10359
10360
10361
10362
10363
10364
10365
10366
10367
10368
10369
10370
10371
10372
10373
10374
10375
10376
10377
10378
10379
10380
10381
10382
10383
10384
10385
10386
10387
10388
10389
10390
10391
10392
10393
10394
10395
10396
10397
10398
10399
10400
10401
10402
10403
10404
10405
10406
10407
10408
10409
10410
10411
10412
10413
10414
10415
10416
10417
10418
10419
10420
10421
10422
10423
10424
10425
10426
10427
10428
10429
10430
10431
10432
10433
10434
10435
10436
10437
10438
10439
10440
10441
10442
10443
10444
10445
10446
10447
10448
10449
10450
10451
10452
10453
10454
10455
10456
10457
10458
10459
10460
10461
10462
10463
10464
10465
10466
10467
10468
10469
10470
10471
10472
10473
10474
10475
10476
10477
10478
10479
10480
10481
10482
10483
10484
10485
10486
10487
10488
10489
10490
10491
10492
10493
10494
10495
10496
10497
10498
10499
10500
10501
10502
10503
10504
10505
10506
10507
10508
10509
10510
10511
10512
10513
10514
10515
10516
10517
10518
10519
10520
10521
10522
10523
10524
10525
10526
10527
10528
10529
10530
10531
10532
10533
10534
10535
10536
10537
10538
10539
10540
10541
10542
10543
10544
10545
10546
10547
10548
10549
10550
10551
10552
10553
10554
10555
10556
10557
10558
10559
10560
10561
10562
10563
10564
10565
10566
10567
10568
10569
10570
10571
10572
10573
10574
10575
10576
10577
10578
10579
10580
10581
10582
10583
10584
10585
10586
10587
10588
10589
10590
10591
10592
10593
10594
10595
10596
10597
10598
10599
10600
10601
10602
10603
10604
10605
10606
10607
10608
10609
10610
10611
10612
10613
10614
10615
10616
10617
10618
10619
10620
10621
10622
10623
10624
10625
10626
10627
10628
10629
10630
10631
10632
10633
10634
10635
10636
10637
10638
10639
10640
10641
10642
10643
10644
10645
10646
10647
10648
10649
10650
10651
10652
10653
10654
10655
10656
10657
10658
10659
10660
10661
10662
10663
10664
10665
10666
10667
10668
10669
10670
10671
10672
10673
10674
10675
10676
10677
10678
10679
10680
10681
10682
10683
10684
10685
10686
10687
10688
10689
10690
10691
10692
10693
10694
10695
10696
10697
10698
10699
10700
10701
10702
10703
10704
10705
10706
10707
10708
10709
10710
10711
10712
10713
10714
10715
10716
10717
10718
10719
10720
10721
10722
10723
10724
10725
10726
10727
10728
10729
10730
10731
10732
10733
10734
10735
10736
10737
10738
10739
10740
10741
10742
10743
10744
10745
10746
10747
10748
10749
10750
10751
10752
10753
10754
10755
10756
10757
10758
10759
10760
10761
10762
10763
10764
10765
10766
10767
10768
10769
10770
10771
10772
10773
10774
10775
10776
10777
10778
10779
10780
10781
10782
10783
10784
10785
10786
10787
10788
10789
10790
10791
10792
10793
10794
10795
10796
10797
10798
10799
10800
10801
10802
10803
10804
10805
10806
10807
10808
10809
10810
10811
10812
10813
10814
10815
10816
10817
10818
10819
10820
10821
10822
10823
10824
10825
10826
10827
10828
10829
10830
10831
10832
10833
10834
10835
10836
10837
10838
10839
10840
10841
10842
10843
10844
10845
10846
10847
10848
10849
10850
10851
10852
10853
10854
10855
10856
10857
10858
10859
10860
10861
10862
10863
10864
10865
10866
10867
10868
10869
10870
10871
10872
10873
10874
10875
10876
10877
10878
10879
10880
10881
10882
10883
10884
10885
10886
10887
10888
10889
10890
10891
10892
10893
10894
10895
10896
10897
10898
10899
10900
10901
10902
10903
10904
10905
10906
10907
10908
10909
10910
10911
10912
10913
10914
10915
10916
10917
10918
10919
10920
10921
10922
10923
10924
10925
10926
10927
10928
10929
10930
10931
10932
10933
10934
10935
10936
10937
10938
10939
10940
10941
10942
10943
10944
10945
10946
10947
10948
10949
10950
10951
10952
10953
10954
10955
10956
10957
10958
10959
10960
10961
10962
10963
10964
10965
10966
10967
10968
10969
10970
10971
10972
10973
10974
10975
10976
10977
10978
10979
10980
10981
10982
10983
10984
10985
10986
10987
10988
10989
10990
10991
10992
10993
10994
10995
10996
10997
10998
10999
11000
11001
11002
11003
11004
11005
11006
11007
11008
11009
11010
11011
11012
11013
11014
11015
11016
11017
11018
11019
11020
11021
11022
11023
11024
11025
11026
11027
11028
11029
11030
11031
11032
11033
11034
11035
11036
11037
11038
11039
11040
11041
11042
11043
11044
11045
11046
11047
11048
11049
11050
11051
11052
11053
11054
11055
11056
11057
11058
11059
11060
11061
11062
11063
11064
11065
11066
11067
11068
11069
11070
11071
11072
11073
11074
11075
11076
11077
11078
11079
11080
11081
11082
11083
11084
11085
11086
11087
11088
11089
11090
11091
11092
11093
11094
11095
11096
11097
11098
11099
11100
11101
11102
11103
11104
11105
11106
11107
11108
11109
11110
11111
11112
11113
11114
11115
11116
11117
11118
11119
11120
11121
11122
11123
11124
11125
11126
11127
11128
11129
11130
11131
11132
11133
11134
11135
11136
11137
11138
11139
11140
11141
11142
11143
11144
11145
11146
11147
11148
11149
11150
11151
11152
11153
11154
11155
11156
11157
11158
11159
11160
11161
11162
11163
11164
11165
11166
11167
11168
11169
11170
11171
11172
11173
11174
11175
11176
11177
11178
11179
11180
11181
11182
11183
11184
11185
11186
11187
11188
11189
11190
11191
11192
11193
11194
11195
11196
11197
11198
11199
11200
11201
11202
11203
11204
11205
11206
11207
11208
11209
11210
11211
11212
11213
11214
11215
11216
11217
11218
11219
11220
11221
11222
11223
11224
11225
11226
11227
11228
11229
11230
11231
11232
11233
11234
11235
11236
11237
11238
11239
11240
11241
11242
11243
11244
11245
11246
11247
11248
11249
11250
11251
11252
11253
11254
11255
11256
11257
11258
11259
11260
11261
11262
11263
11264
11265
11266
11267
11268
11269
11270
11271
11272
11273
11274
11275
11276
11277
11278
11279
11280
11281
11282
11283
11284
11285
11286
11287
11288
11289
11290
11291
11292
11293
11294
11295
11296
11297
11298
11299
11300
11301
11302
11303
11304
11305
11306
11307
11308
11309
11310
11311
11312
11313
11314
11315
11316
11317
11318
11319
11320
11321
11322
11323
11324
11325
11326
11327
11328
11329
11330
11331
11332
11333
11334
11335
11336
11337
11338
11339
11340
11341
11342
11343
11344
11345
11346
11347
11348
11349
11350
11351
11352
11353
11354
11355
11356
11357
11358
11359
11360
11361
11362
11363
11364
11365
11366
11367
11368
11369
11370
11371
11372
11373
11374
11375
11376
11377
11378
11379
11380
11381
11382
11383
11384
11385
11386
11387
11388
11389
11390
11391
11392
11393
11394
11395
11396
11397
11398
11399
11400
11401
11402
11403
11404
11405
11406
11407
11408
11409
11410
11411
11412
11413
11414
11415
11416
11417
11418
11419
11420
11421
11422
11423
11424
11425
11426
11427
11428
11429
11430
11431
11432
11433
11434
11435
11436
11437
11438
11439
11440
11441
11442
11443
11444
11445
11446
11447
11448
11449
11450
11451
11452
11453
11454
11455
11456
11457
11458
11459
11460
11461
11462
11463
11464
11465
11466
11467
11468
11469
11470
11471
11472
11473
11474
11475
11476
11477
11478
11479
11480
11481
11482
11483
11484
11485
11486
11487
11488
11489
11490
11491
11492
11493
11494
11495
11496
11497
11498
11499
11500
11501
11502
11503
11504
11505
11506
11507
11508
11509
11510
11511
11512
11513
11514
11515
11516
11517
11518
11519
11520
11521
11522
11523
11524
11525
11526
11527
11528
11529
11530
11531
11532
11533
11534
11535
11536
11537
11538
11539
11540
11541
11542
11543
11544
11545
11546
11547
11548
11549
11550
11551
11552
11553
11554
11555
11556
11557
11558
11559
11560
11561
11562
11563
11564
11565
11566
11567
11568
11569
11570
11571
11572
11573
11574
11575
11576
11577
11578
11579
11580
11581
11582
11583
11584
11585
11586
11587
11588
11589
11590
11591
11592
11593
11594
11595
11596
11597
11598
11599
11600
11601
11602
11603
11604
11605
11606
11607
11608
11609
11610
11611
11612
11613
11614
11615
11616
11617
11618
11619
11620
11621
11622
11623
11624
11625
11626
11627
11628
11629
11630
11631
11632
11633
11634
11635
11636
11637
11638
11639
11640
11641
11642
11643
11644
11645
11646
11647
11648
11649
11650
11651
11652
11653
11654
11655
11656
11657
11658
11659
11660
11661
11662
11663
11664
11665
11666
11667
11668
11669
11670
11671
11672
11673
11674
11675
11676
11677
11678
11679
11680
11681
11682
11683
11684
11685
11686
11687
11688
11689
11690
11691
11692
11693
11694
11695
11696
11697
11698
11699
11700
11701
11702
11703
11704
11705
11706
11707
11708
11709
11710
11711
11712
11713
11714
11715
11716
11717
11718
11719
11720
11721
11722
11723
11724
11725
11726
11727
11728
11729
11730
11731
11732
11733
11734
11735
11736
11737
11738
11739
11740
11741
11742
11743
11744
11745
11746
11747
11748
11749
11750
11751
11752
11753
11754
11755
11756
11757
11758
11759
11760
11761
11762
11763
11764
11765
11766
11767
11768
11769
11770
11771
11772
11773
11774
11775
11776
11777
11778
11779
11780
11781
11782
11783
11784
11785
11786
11787
11788
11789
11790
11791
11792
11793
11794
11795
11796
11797
11798
11799
11800
11801
11802
11803
11804
11805
11806
11807
11808
11809
11810
11811
11812
11813
11814
11815
11816
11817
11818
11819
11820
11821
11822
11823
11824
11825
11826
11827
11828
11829
11830
11831
11832
11833
11834
11835
11836
11837
11838
11839
11840
11841
11842
11843
11844
11845
11846
11847
11848
11849
11850
11851
11852
11853
11854
11855
11856
11857
11858
11859
11860
11861
11862
11863
11864
11865
11866
11867
11868
11869
11870
11871
11872
11873
11874
11875
11876
11877
11878
11879
11880
11881
11882
11883
11884
11885
11886
11887
11888
11889
11890
11891
11892
11893
11894
11895
11896
11897
11898
11899
11900
11901
11902
11903
11904
11905
11906
11907
11908
11909
11910
11911
11912
11913
11914
11915
11916
11917
11918
11919
11920
11921
11922
11923
11924
11925
11926
11927
11928
11929
11930
11931
11932
11933
11934
11935
11936
11937
11938
11939
11940
11941
11942
11943
11944
11945
11946
11947
11948
11949
11950
11951
11952
11953
11954
11955
11956
11957
11958
11959
11960
11961
11962
11963
11964
11965
11966
11967
11968
11969
11970
11971
11972
11973
11974
11975
11976
11977
11978
11979
11980
11981
11982
11983
11984
11985
11986
11987
11988
11989
11990
11991
11992
11993
11994
11995
11996
11997
11998
11999
12000
12001
12002
12003
12004
12005
12006
12007
12008
12009
12010
12011
12012
12013
12014
12015
12016
12017
12018
12019
12020
12021
12022
12023
12024
12025
12026
12027
12028
12029
12030
12031
12032
12033
12034
12035
12036
12037
12038
12039
12040
12041
12042
12043
12044
12045
12046
12047
12048
12049
12050
12051
12052
12053
12054
12055
12056
12057
12058
12059
12060
12061
12062
12063
12064
12065
12066
12067
12068
12069
12070
12071
12072
12073
12074
12075
12076
12077
12078
12079
12080
12081
12082
12083
12084
12085
12086
12087
12088
12089
12090
12091
12092
12093
12094
12095
12096
12097
12098
12099
12100
12101
12102
12103
12104
12105
12106
12107
12108
12109
12110
12111
12112
12113
12114
12115
12116
12117
12118
12119
12120
12121
12122
12123
12124
12125
12126
12127
12128
12129
12130
12131
12132
12133
12134
12135
12136
12137
12138
12139
12140
12141
12142
12143
12144
12145
12146
12147
12148
12149
12150
12151
12152
12153
12154
12155
12156
12157
12158
12159
12160
12161
12162
12163
12164
12165
12166
12167
12168
12169
12170
12171
12172
12173
12174
12175
12176
12177
12178
12179
12180
12181
12182
12183
12184
12185
12186
12187
12188
12189
12190
12191
12192
12193
12194
12195
12196
12197
12198
12199
12200
12201
12202
12203
12204
12205
12206
12207
12208
12209
12210
12211
12212
12213
12214
12215
12216
12217
12218
12219
12220
12221
12222
12223
12224
12225
12226
12227
12228
12229
12230
12231
12232
12233
12234
12235
12236
12237
12238
12239
12240
12241
12242
12243
12244
12245
12246
12247
12248
12249
12250
12251
12252
12253
12254
12255
12256
12257
12258
12259
12260
12261
12262
12263
12264
12265
12266
12267
12268
12269
12270
12271
12272
12273
12274
12275
12276
12277
12278
12279
12280
12281
12282
12283
12284
12285
12286
12287
12288
12289
12290
12291
12292
12293
12294
12295
12296
12297
12298
12299
12300
12301
12302
12303
12304
12305
12306
12307
12308
12309
12310
12311
12312
12313
12314
12315
12316
12317
12318
12319
12320
12321
12322
12323
12324
12325
12326
12327
12328
12329
12330
12331
12332
12333
12334
12335
12336
12337
12338
12339
12340
12341
12342
12343
12344
12345
12346
12347
12348
12349
12350
12351
12352
12353
12354
12355
12356
12357
12358
12359
12360
12361
12362
12363
12364
12365
12366
12367
12368
12369
12370
12371
12372
12373
12374
12375
12376
12377
12378
12379
12380
12381
12382
12383
12384
12385
12386
12387
12388
12389
12390
12391
12392
12393
12394
12395
12396
12397
12398
12399
12400
12401
12402
12403
12404
12405
12406
12407
12408
12409
12410
12411
12412
12413
12414
12415
12416
12417
12418
12419
12420
12421
12422
12423
12424
12425
12426
12427
12428
12429
12430
12431
12432
12433
12434
12435
12436
12437
12438
12439
12440
12441
12442
12443
12444
12445
12446
12447
12448
12449
12450
12451
12452
12453
12454
12455
12456
12457
12458
12459
12460
12461
12462
12463
12464
12465
12466
12467
12468
12469
12470
12471
12472
12473
12474
12475
12476
12477
12478
12479
12480
12481
12482
12483
12484
12485
12486
12487
12488
12489
12490
12491
12492
12493
12494
12495
12496
12497
12498
12499
12500
12501
12502
12503
12504
12505
12506
12507
12508
12509
12510
12511
12512
12513
12514
12515
12516
12517
12518
12519
12520
12521
12522
12523
12524
12525
12526
12527
12528
12529
12530
12531
12532
12533
12534
12535
12536
12537
12538
12539
12540
12541
12542
12543
12544
12545
12546
12547
12548
12549
12550
12551
12552
12553
12554
12555
12556
12557
12558
12559
12560
12561
12562
12563
12564
12565
12566
12567
12568
12569
12570
12571
12572
12573
12574
12575
12576
12577
12578
12579
12580
12581
12582
12583
12584
12585
12586
12587
12588
12589
12590
12591
12592
12593
12594
12595
12596
12597
12598
12599
12600
12601
12602
12603
12604
12605
12606
12607
12608
12609
12610
12611
12612
12613
12614
12615
12616
12617
12618
12619
12620
12621
12622
12623
12624
12625
12626
12627
12628
12629
12630
12631
12632
12633
12634
12635
12636
12637
12638
12639
12640
12641
12642
12643
12644
12645
12646
12647
12648
12649
12650
12651
12652
12653
12654
12655
12656
12657
12658
12659
12660
12661
12662
12663
12664
12665
12666
12667
12668
12669
12670
12671
12672
12673
12674
12675
12676
12677
12678
12679
12680
12681
12682
12683
12684
12685
12686
12687
12688
12689
12690
12691
12692
12693
12694
12695
12696
12697
12698
12699
12700
12701
12702
12703
12704
12705
12706
12707
12708
12709
12710
12711
12712
12713
12714
12715
12716
12717
12718
12719
12720
12721
12722
12723
12724
12725
12726
12727
12728
12729
12730
12731
12732
12733
12734
12735
12736
12737
12738
12739
12740
12741
12742
12743
12744
12745
12746
12747
12748
12749
12750
12751
12752
12753
12754
12755
12756
12757
12758
12759
12760
12761
12762
12763
12764
12765
12766
12767
12768
12769
12770
12771
12772
12773
12774
12775
12776
12777
12778
12779
12780
12781
12782
12783
12784
12785
12786
12787
12788
12789
12790
12791
12792
12793
12794
12795
12796
12797
12798
12799
12800
12801
12802
12803
12804
12805
12806
12807
12808
12809
12810
12811
12812
12813
12814
12815
12816
12817
12818
12819
12820
12821
12822
12823
12824
12825
12826
12827
12828
12829
12830
12831
12832
12833
12834
12835
12836
12837
12838
12839
12840
12841
12842
12843
12844
12845
12846
12847
12848
12849
12850
12851
12852
12853
12854
12855
12856
12857
12858
12859
12860
12861
12862
12863
12864
12865
12866
12867
12868
12869
12870
12871
12872
12873
12874
12875
12876
12877
12878
12879
12880
12881
12882
12883
12884
12885
12886
12887
12888
12889
12890
12891
12892
12893
12894
12895
12896
12897
12898
12899
12900
12901
12902
12903
12904
12905
12906
12907
12908
12909
12910
12911
12912
12913
12914
12915
12916
12917
12918
12919
12920
12921
12922
12923
12924
12925
12926
12927
12928
12929
12930
12931
12932
12933
12934
12935
12936
12937
12938
12939
12940
12941
12942
12943
12944
12945
12946
12947
12948
12949
12950
12951
12952
12953
12954
12955
12956
12957
12958
12959
12960
12961
12962
12963
12964
12965
12966
12967
12968
12969
12970
12971
12972
12973
12974
12975
12976
12977
12978
12979
12980
12981
12982
12983
12984
12985
12986
12987
12988
12989
12990
12991
12992
12993
12994
12995
12996
12997
12998
12999
13000
13001
13002
13003
13004
13005
13006
13007
13008
13009
13010
13011
13012
13013
13014
13015
13016
13017
13018
13019
13020
13021
13022
13023
13024
13025
13026
13027
13028
13029
13030
13031
13032
13033
13034
13035
13036
13037
13038
13039
13040
13041
13042
13043
13044
13045
13046
13047
13048
13049
13050
13051
13052
13053
13054
13055
13056
13057
13058
13059
13060
13061
13062
13063
13064
13065
13066
13067
13068
13069
13070
13071
13072
13073
13074
13075
13076
13077
13078
13079
13080
13081
13082
13083
13084
13085
13086
13087
13088
13089
13090
13091
13092
13093
13094
13095
13096
13097
13098
13099
13100
13101
13102
13103
13104
13105
13106
13107
13108
13109
13110
13111
13112
13113
13114
13115
13116
13117
13118
13119
13120
13121
13122
13123
13124
13125
13126
13127
13128
13129
13130
13131
13132
13133
13134
13135
13136
13137
13138
13139
13140
13141
13142
13143
13144
13145
13146
13147
13148
13149
13150
13151
13152
13153
13154
13155
13156
13157
13158
13159
13160
13161
13162
13163
13164
13165
13166
13167
13168
13169
13170
13171
13172
13173
13174
13175
13176
13177
13178
13179
13180
13181
13182
13183
13184
13185
13186
13187
13188
13189
13190
13191
13192
13193
13194
13195
13196
13197
13198
13199
13200
13201
13202
13203
13204
13205
13206
13207
13208
13209
13210
13211
13212
13213
13214
13215
13216
13217
13218
13219
13220
13221
13222
13223
13224
13225
13226
13227
13228
13229
13230
13231
13232
13233
13234
13235
13236
13237
13238
13239
13240
13241
13242
13243
13244
13245
13246
13247
13248
13249
13250
13251
13252
13253
13254
13255
13256
13257
13258
13259
13260
13261
13262
13263
13264
13265
13266
13267
13268
13269
13270
13271
13272
13273
13274
13275
13276
13277
13278
13279
13280
13281
13282
13283
13284
13285
13286
13287
13288
13289
13290
13291
13292
13293
13294
13295
13296
13297
13298
13299
13300
13301
13302
13303
13304
13305
13306
13307
13308
13309
13310
13311
13312
13313
13314
13315
13316
13317
13318
13319
13320
13321
13322
13323
13324
13325
13326
13327
13328
13329
13330
13331
13332
13333
13334
13335
13336
13337
13338
13339
13340
13341
13342
13343
13344
13345
13346
13347
13348
13349
13350
13351
13352
13353
13354
13355
13356
13357
13358
13359
13360
13361
13362
13363
13364
13365
13366
13367
13368
13369
13370
13371
13372
13373
13374
13375
13376
13377
13378
13379
13380
13381
13382
13383
13384
13385
13386
13387
13388
13389
13390
13391
13392
13393
13394
13395
13396
13397
13398
13399
13400
13401
13402
13403
13404
13405
13406
13407
13408
13409
13410
13411
13412
13413
13414
13415
13416
13417
13418
13419
13420
13421
13422
13423
13424
13425
13426
13427
13428
13429
13430
13431
13432
13433
13434
13435
13436
13437
13438
13439
13440
13441
13442
13443
13444
13445
13446
13447
13448
13449
13450
13451
13452
13453
13454
13455
13456
13457
13458
13459
13460
13461
13462
13463
13464
13465
13466
13467
13468
13469
13470
13471
13472
13473
13474
13475
13476
13477
13478
13479
13480
13481
13482
13483
13484
13485
13486
13487
13488
13489
13490
13491
13492
13493
13494
13495
13496
13497
13498
13499
13500
13501
13502
13503
13504
13505
13506
13507
13508
13509
13510
13511
13512
13513
13514
13515
13516
13517
13518
13519
13520
13521
13522
13523
13524
13525
13526
13527
13528
13529
13530
13531
13532
13533
13534
13535
13536
13537
13538
13539
13540
13541
13542
13543
13544
13545
13546
13547
13548
13549
13550
13551
13552
13553
13554
13555
13556
13557
13558
13559
13560
13561
13562
13563
13564
13565
13566
13567
13568
13569
13570
13571
13572
13573
13574
13575
13576
13577
13578
13579
13580
13581
13582
13583
13584
13585
13586
13587
13588
13589
13590
13591
13592
13593
13594
13595
13596
13597
13598
13599
13600
13601
13602
13603
13604
13605
13606
13607
13608
13609
13610
13611
13612
13613
13614
13615
13616
13617
13618
13619
13620
13621
13622
13623
13624
13625
13626
13627
13628
13629
13630
13631
13632
13633
13634
13635
13636
13637
13638
13639
13640
13641
13642
13643
13644
13645
13646
13647
13648
13649
13650
13651
13652
13653
13654
13655
13656
13657
13658
13659
13660
13661
13662
13663
13664
13665
13666
13667
13668
13669
13670
13671
13672
13673
13674
13675
13676
13677
13678
13679
13680
13681
13682
13683
13684
13685
13686
13687
13688
13689
13690
13691
13692
13693
13694
13695
13696
13697
13698
13699
13700
13701
13702
13703
13704
13705
13706
13707
13708
13709
13710
13711
13712
13713
13714
13715
13716
13717
13718
13719
13720
13721
13722
13723
13724
13725
13726
13727
13728
13729
13730
13731
13732
13733
13734
13735
13736
13737
13738
13739
13740
13741
13742
13743
13744
13745
13746
13747
13748
13749
13750
13751
13752
13753
13754
13755
13756
13757
13758
13759
13760
13761
13762
13763
13764
13765
13766
13767
13768
13769
13770
13771
13772
13773
13774
13775
13776
13777
13778
13779
13780
13781
13782
13783
13784
13785
13786
13787
13788
13789
13790
13791
13792
13793
13794
13795
13796
13797
13798
13799
13800
13801
13802
13803
13804
13805
13806
13807
13808
13809
13810
13811
13812
13813
13814
13815
13816
13817
13818
13819
13820
13821
13822
13823
13824
13825
13826
13827
13828
13829
13830
13831
13832
13833
13834
13835
13836
13837
13838
13839
13840
13841
13842
13843
13844
13845
13846
13847
13848
13849
13850
13851
13852
13853
13854
13855
13856
13857
13858
13859
13860
13861
13862
13863
13864
13865
13866
13867
13868
13869
13870
13871
13872
13873
13874
13875
13876
13877
13878
13879
13880
13881
13882
13883
13884
13885
13886
13887
13888
13889
13890
13891
13892
13893
13894
13895
13896
13897
13898
13899
13900
13901
13902
13903
13904
13905
13906
13907
13908
13909
13910
13911
13912
13913
13914
13915
13916
13917
13918
13919
13920
13921
13922
13923
13924
13925
13926
13927
13928
13929
13930
13931
13932
13933
13934
13935
13936
13937
13938
13939
13940
13941
13942
13943
13944
13945
13946
13947
13948
13949
13950
13951
13952
13953
13954
13955
13956
13957
13958
13959
13960
13961
13962
13963
13964
13965
13966
13967
13968
13969
13970
13971
13972
13973
13974
13975
13976
13977
13978
13979
13980
13981
13982
13983
13984
13985
13986
13987
13988
13989
13990
13991
13992
13993
13994
13995
13996
13997
13998
13999
14000
14001
14002
14003
14004
14005
14006
14007
14008
14009
14010
14011
14012
14013
14014
14015
14016
14017
14018
14019
14020
14021
14022
14023
14024
14025
14026
14027
14028
14029
14030
14031
14032
14033
14034
14035
14036
14037
14038
14039
14040
14041
14042
14043
14044
14045
14046
14047
14048
14049
14050
14051
14052
14053
14054
14055
14056
14057
14058
14059
14060
14061
14062
14063
14064
14065
14066
14067
14068
14069
14070
14071
14072
14073
14074
14075
14076
14077
14078
14079
14080
14081
14082
14083
14084
14085
14086
14087
14088
14089
14090
14091
14092
14093
14094
14095
14096
14097
14098
14099
14100
14101
14102
14103
14104
14105
14106
14107
14108
14109
14110
14111
14112
14113
14114
14115
14116
14117
14118
14119
14120
14121
14122
14123
14124
14125
14126
14127
14128
14129
14130
14131
14132
14133
14134
14135
14136
14137
14138
14139
14140
14141
14142
14143
14144
14145
14146
14147
14148
14149
14150
14151
14152
14153
14154
14155
14156
14157
14158
14159
14160
14161
14162
14163
14164
14165
14166
14167
14168
14169
14170
14171
14172
14173
14174
14175
14176
14177
14178
14179
14180
14181
14182
14183
14184
14185
14186
14187
14188
14189
14190
14191
14192
14193
14194
14195
14196
14197
14198
14199
14200
14201
14202
14203
14204
14205
14206
14207
14208
14209
14210
14211
14212
14213
14214
14215
14216
14217
14218
14219
14220
14221
14222
14223
14224
14225
14226
14227
14228
14229
14230
14231
14232
14233
14234
14235
14236
14237
14238
14239
14240
14241
14242
14243
14244
14245
14246
14247
14248
14249
14250
14251
14252
14253
14254
14255
14256
14257
14258
14259
14260
14261
14262
14263
14264
14265
14266
14267
14268
14269
14270
14271
14272
14273
14274
14275
14276
14277
14278
14279
14280
14281
14282
14283
14284
14285
14286
14287
14288
14289
14290
14291
14292
14293
14294
14295
14296
14297
14298
14299
14300
14301
14302
14303
14304
14305
14306
14307
14308
14309
14310
14311
14312
14313
14314
14315
14316
14317
14318
14319
14320
14321
14322
14323
14324
14325
14326
14327
14328
14329
14330
14331
14332
14333
14334
14335
14336
14337
14338
14339
14340
14341
14342
14343
14344
14345
14346
14347
14348
14349
14350
14351
14352
14353
14354
14355
14356
14357
14358
14359
14360
14361
14362
14363
14364
14365
14366
14367
14368
14369
14370
14371
14372
14373
14374
14375
14376
14377
14378
14379
14380
14381
14382
14383
14384
14385
14386
14387
14388
14389
14390
14391
14392
14393
14394
14395
14396
14397
14398
14399
14400
14401
14402
14403
14404
14405
14406
14407
14408
14409
14410
14411
14412
14413
14414
14415
14416
14417
14418
14419
14420
14421
14422
14423
14424
14425
14426
14427
14428
14429
14430
14431
14432
14433
14434
14435
14436
14437
14438
14439
14440
14441
14442
14443
14444
14445
14446
14447
14448
14449
14450
14451
14452
14453
14454
14455
14456
14457
14458
14459
14460
14461
14462
14463
14464
14465
14466
14467
14468
14469
14470
14471
14472
14473
14474
14475
14476
14477
14478
14479
14480
14481
14482
14483
14484
14485
14486
14487
14488
14489
14490
14491
14492
14493
14494
14495
14496
14497
14498
14499
14500
14501
14502
14503
14504
14505
14506
14507
14508
14509
14510
14511
14512
14513
14514
14515
14516
14517
14518
14519
14520
14521
14522
14523
14524
14525
14526
14527
14528
14529
14530
14531
14532
14533
14534
14535
14536
14537
14538
14539
14540
14541
14542
14543
14544
14545
14546
14547
14548
14549
14550
14551
14552
14553
14554
14555
14556
14557
14558
14559
14560
14561
14562
14563
14564
14565
14566
14567
14568
14569
14570
14571
14572
14573
14574
14575
14576
14577
14578
14579
14580
14581
14582
14583
14584
14585
14586
14587
14588
14589
14590
14591
14592
14593
14594
14595
14596
14597
14598
14599
14600
14601
14602
14603
14604
14605
14606
14607
14608
14609
14610
14611
14612
14613
14614
14615
14616
14617
14618
14619
14620
14621
14622
14623
14624
14625
14626
14627
14628
14629
14630
14631
14632
14633
14634
14635
14636
14637
14638
14639
14640
14641
14642
14643
14644
14645
14646
14647
14648
14649
14650
14651
14652
14653
14654
14655
14656
14657
14658
14659
14660
14661
14662
14663
14664
14665
14666
14667
14668
14669
14670
14671
14672
14673
14674
14675
14676
14677
14678
14679
14680
14681
14682
14683
14684
14685
14686
14687
14688
14689
14690
14691
14692
14693
14694
14695
14696
14697
14698
14699
14700
14701
14702
14703
14704
14705
14706
14707
14708
14709
14710
14711
14712
14713
14714
14715
14716
14717
14718
14719
14720
14721
14722
14723
14724
14725
14726
14727
14728
14729
14730
14731
14732
14733
14734
14735
14736
14737
14738
14739
14740
14741
14742
14743
14744
14745
14746
14747
14748
14749
14750
14751
14752
14753
14754
14755
14756
14757
14758
14759
14760
14761
14762
14763
14764
14765
14766
14767
14768
14769
14770
14771
14772
14773
14774
14775
14776
14777
14778
14779
14780
14781
14782
14783
14784
14785
14786
14787
14788
14789
14790
14791
14792
14793
14794
14795
14796
14797
14798
14799
14800
14801
14802
14803
14804
14805
14806
14807
14808
14809
14810
14811
14812
14813
14814
14815
14816
14817
14818
14819
14820
14821
14822
14823
14824
14825
14826
14827
14828
14829
14830
14831
14832
14833
14834
14835
14836
14837
14838
14839
14840
14841
14842
14843
14844
14845
14846
14847
14848
14849
14850
14851
14852
14853
14854
14855
14856
14857
14858
14859
14860
14861
14862
14863
14864
14865
14866
14867
14868
14869
14870
14871
14872
14873
14874
14875
14876
14877
14878
14879
14880
14881
14882
14883
14884
14885
14886
14887
14888
14889
14890
14891
14892
14893
14894
14895
14896
14897
14898
14899
14900
14901
14902
14903
14904
14905
14906
14907
14908
14909
14910
14911
14912
14913
14914
14915
14916
14917
14918
14919
14920
14921
14922
14923
14924
14925
14926
14927
14928
14929
14930
14931
14932
14933
14934
14935
14936
14937
14938
14939
14940
14941
14942
14943
14944
14945
14946
14947
14948
14949
14950
14951
14952
14953
14954
14955
14956
14957
14958
14959
14960
14961
14962
14963
14964
14965
14966
14967
14968
14969
14970
14971
14972
14973
14974
14975
14976
14977
14978
14979
14980
14981
14982
14983
14984
14985
14986
14987
14988
14989
14990
14991
14992
14993
14994
14995
14996
14997
14998
14999
15000
15001
15002
15003
15004
15005
15006
15007
15008
15009
15010
15011
15012
15013
15014
15015
15016
15017
15018
15019
15020
15021
15022
15023
15024
15025
15026
15027
15028
15029
15030
15031
15032
15033
15034
15035
15036
15037
15038
15039
15040
15041
15042
15043
15044
15045
15046
15047
15048
15049
15050
15051
15052
15053
15054
15055
15056
15057
15058
15059
15060
15061
15062
15063
15064
15065
15066
15067
15068
15069
15070
15071
15072
15073
15074
15075
15076
15077
15078
15079
15080
15081
15082
15083
15084
15085
15086
15087
15088
15089
15090
15091
15092
15093
15094
15095
15096
15097
15098
15099
15100
15101
15102
15103
15104
15105
15106
15107
15108
15109
15110
15111
15112
15113
15114
15115
15116
15117
15118
15119
15120
15121
15122
15123
15124
15125
15126
15127
15128
15129
15130
15131
15132
15133
15134
15135
15136
15137
15138
15139
15140
15141
15142
15143
15144
15145
15146
15147
15148
15149
15150
15151
15152
15153
15154
15155
15156
15157
15158
15159
15160
15161
15162
15163
15164
15165
15166
15167
15168
15169
15170
15171
15172
15173
15174
15175
15176
15177
15178
15179
15180
15181
15182
15183
15184
15185
15186
15187
15188
15189
15190
15191
15192
15193
15194
15195
15196
15197
15198
15199
15200
15201
15202
15203
15204
15205
15206
15207
15208
15209
15210
15211
15212
15213
15214
15215
15216
15217
15218
15219
15220
15221
15222
15223
15224
15225
15226
15227
15228
15229
15230
15231
15232
15233
15234
15235
15236
15237
15238
15239
15240
15241
15242
15243
15244
15245
15246
15247
15248
15249
15250
15251
15252
15253
15254
15255
15256
15257
15258
15259
15260
15261
15262
15263
15264
15265
15266
15267
15268
15269
15270
15271
15272
15273
15274
15275
15276
15277
15278
15279
15280
15281
15282
15283
15284
15285
15286
15287
15288
15289
15290
15291
15292
15293
15294
15295
15296
15297
15298
15299
15300
15301
15302
15303
15304
15305
15306
15307
15308
15309
15310
15311
15312
15313
15314
15315
15316
15317
15318
15319
15320
15321
15322
15323
15324
15325
15326
15327
15328
15329
15330
15331
15332
15333
15334
15335
15336
15337
15338
15339
15340
15341
15342
15343
15344
15345
15346
15347
15348
15349
15350
15351
15352
15353
15354
15355
15356
15357
15358
15359
15360
15361
15362
15363
15364
15365
15366
15367
15368
15369
15370
15371
15372
15373
15374
15375
15376
15377
15378
15379
15380
15381
15382
15383
15384
15385
15386
15387
15388
15389
15390
15391
15392
15393
15394
15395
15396
15397
15398
15399
15400
15401
15402
15403
15404
15405
15406
15407
15408
15409
15410
15411
15412
15413
15414
15415
15416
15417
15418
15419
15420
15421
15422
15423
15424
15425
15426
15427
15428
15429
15430
15431
15432
15433
15434
15435
15436
15437
15438
15439
15440
15441
15442
15443
15444
15445
15446
15447
15448
15449
15450
15451
15452
15453
15454
15455
15456
15457
15458
15459
15460
15461
15462
15463
15464
15465
15466
15467
15468
15469
15470
15471
15472
15473
15474
15475
15476
15477
15478
15479
15480
15481
15482
15483
15484
15485
15486
15487
15488
15489
15490
15491
15492
15493
15494
15495
15496
15497
15498
15499
15500
15501
15502
15503
15504
15505
15506
15507
15508
15509
15510
15511
15512
15513
15514
15515
15516
15517
15518
15519
15520
15521
15522
15523
15524
15525
15526
15527
15528
15529
15530
15531
15532
15533
15534
15535
15536
15537
15538
15539
15540
15541
15542
15543
15544
15545
15546
15547
15548
15549
15550
15551
15552
15553
15554
15555
15556
15557
15558
15559
15560
15561
15562
15563
15564
15565
15566
15567
15568
15569
15570
15571
15572
15573
15574
15575
15576
15577
15578
15579
15580
15581
15582
15583
15584
15585
15586
15587
15588
15589
15590
15591
15592
15593
15594
15595
15596
15597
15598
15599
15600
15601
15602
15603
15604
15605
15606
15607
15608
15609
15610
15611
15612
15613
15614
15615
15616
15617
15618
15619
15620
15621
15622
15623
15624
15625
15626
15627
15628
15629
15630
15631
15632
15633
15634
15635
15636
15637
15638
15639
15640
15641
15642
15643
15644
15645
15646
15647
15648
15649
15650
15651
15652
15653
15654
15655
15656
15657
15658
15659
15660
15661
15662
15663
15664
15665
15666
15667
15668
15669
15670
15671
15672
15673
15674
15675
15676
15677
15678
15679
15680
15681
15682
15683
15684
15685
15686
15687
15688
15689
15690
15691
15692
15693
15694
15695
15696
15697
15698
15699
15700
15701
15702
15703
15704
15705
15706
15707
15708
15709
15710
15711
15712
15713
15714
15715
15716
15717
15718
15719
15720
15721
15722
15723
15724
15725
15726
15727
15728
15729
15730
15731
15732
15733
15734
15735
15736
15737
15738
15739
15740
15741
15742
15743
15744
15745
15746
15747
15748
15749
15750
15751
15752
15753
15754
15755
15756
15757
15758
15759
15760
15761
15762
15763
15764
15765
15766
15767
15768
15769
15770
15771
15772
15773
15774
15775
15776
15777
15778
15779
15780
15781
15782
15783
15784
15785
15786
15787
15788
15789
15790
15791
15792
15793
15794
15795
15796
15797
15798
15799
15800
15801
15802
15803
15804
15805
15806
15807
15808
15809
15810
15811
15812
15813
15814
15815
15816
15817
15818
15819
15820
15821
15822
15823
15824
15825
15826
15827
15828
15829
15830
15831
15832
15833
15834
15835
15836
15837
15838
15839
15840
15841
15842
15843
15844
15845
15846
15847
15848
15849
15850
15851
15852
15853
15854
15855
15856
15857
15858
15859
15860
15861
15862
15863
15864
15865
15866
15867
15868
15869
15870
15871
15872
15873
15874
15875
15876
15877
15878
15879
15880
15881
15882
15883
15884
15885
15886
15887
15888
15889
15890
15891
15892
15893
15894
15895
15896
15897
15898
15899
15900
15901
15902
15903
15904
15905
15906
15907
15908
15909
15910
15911
15912
15913
15914
15915
15916
15917
15918
15919
15920
15921
15922
15923
15924
15925
15926
15927
15928
15929
15930
15931
15932
15933
15934
15935
15936
15937
15938
15939
15940
15941
15942
15943
15944
15945
15946
15947
15948
15949
15950
15951
15952
15953
15954
15955
15956
15957
15958
15959
15960
15961
15962
15963
15964
15965
15966
15967
15968
15969
15970
15971
15972
15973
15974
15975
15976
15977
15978
15979
15980
15981
15982
15983
15984
15985
15986
15987
15988
15989
15990
15991
15992
15993
15994
15995
15996
15997
15998
15999
16000
16001
16002
16003
16004
16005
16006
16007
16008
16009
16010
16011
16012
16013
16014
16015
16016
16017
16018
16019
16020
16021
16022
16023
16024
16025
16026
16027
16028
16029
16030
16031
16032
16033
16034
16035
16036
16037
16038
16039
16040
16041
16042
16043
16044
16045
16046
16047
16048
16049
16050
16051
16052
16053
16054
16055
16056
16057
16058
16059
16060
16061
16062
16063
16064
16065
16066
16067
16068
16069
16070
16071
16072
16073
16074
16075
16076
16077
16078
16079
16080
16081
16082
16083
16084
16085
16086
16087
16088
16089
16090
16091
16092
16093
16094
16095
16096
16097
16098
16099
16100
16101
16102
16103
16104
16105
16106
16107
16108
16109
16110
16111
16112
16113
16114
16115
16116
16117
16118
16119
16120
16121
16122
16123
16124
16125
16126
16127
16128
16129
16130
16131
16132
16133
16134
16135
16136
16137
16138
16139
16140
16141
16142
16143
16144
16145
16146
16147
16148
16149
16150
16151
16152
16153
16154
16155
16156
16157
16158
16159
16160
16161
16162
16163
16164
16165
16166
16167
16168
16169
16170
16171
16172
16173
16174
16175
16176
16177
16178
16179
16180
16181
16182
16183
16184
16185
16186
16187
16188
16189
16190
16191
16192
16193
16194
16195
16196
16197
16198
16199
16200
16201
16202
16203
16204
16205
16206
16207
16208
16209
16210
16211
16212
16213
16214
16215
16216
16217
16218
16219
16220
16221
16222
16223
16224
16225
16226
16227
16228
16229
16230
16231
16232
16233
16234
16235
16236
16237
16238
16239
16240
16241
16242
16243
16244
16245
16246
16247
16248
16249
16250
16251
16252
16253
16254
16255
16256
16257
16258
16259
16260
16261
16262
16263
16264
16265
16266
16267
16268
16269
16270
16271
16272
16273
16274
16275
16276
16277
16278
16279
16280
16281
16282
16283
16284
16285
16286
16287
16288
16289
16290
16291
16292
16293
16294
16295
16296
16297
16298
16299
16300
16301
16302
16303
16304
16305
16306
16307
16308
16309
16310
16311
16312
16313
16314
16315
16316
16317
16318
16319
16320
16321
16322
16323
16324
16325
16326
16327
16328
16329
16330
16331
16332
16333
16334
16335
16336
16337
16338
16339
16340
16341
16342
16343
16344
16345
16346
16347
16348
16349
16350
16351
16352
16353
16354
16355
16356
16357
16358
16359
16360
16361
16362
16363
16364
16365
16366
16367
16368
16369
16370
16371
16372
16373
16374
16375
16376
16377
16378
16379
16380
16381
16382
16383
16384
16385
16386
16387
16388
16389
16390
16391
16392
16393
16394
16395
16396
16397
16398
16399
16400
16401
16402
16403
16404
16405
16406
16407
16408
16409
16410
16411
16412
16413
16414
16415
16416
16417
16418
16419
16420
16421
16422
16423
16424
16425
16426
16427
16428
16429
16430
16431
16432
16433
16434
16435
16436
16437
16438
16439
16440
16441
16442
16443
16444
16445
16446
16447
16448
16449
16450
16451
16452
16453
16454
16455
16456
16457
16458
16459
16460
16461
16462
16463
16464
16465
16466
16467
16468
16469
16470
16471
16472
16473
16474
16475
16476
16477
16478
16479
16480
16481
16482
16483
16484
16485
16486
16487
16488
16489
16490
16491
16492
16493
16494
16495
16496
16497
16498
16499
16500
16501
16502
16503
16504
16505
16506
16507
16508
16509
16510
16511
16512
16513
16514
16515
16516
16517
16518
16519
16520
16521
16522
16523
16524
16525
16526
16527
16528
16529
16530
16531
16532
16533
16534
16535
16536
16537
16538
16539
16540
16541
16542
16543
16544
16545
16546
16547
16548
16549
16550
16551
16552
16553
16554
16555
16556
16557
16558
16559
16560
16561
16562
16563
16564
16565
16566
16567
16568
16569
16570
16571
16572
16573
16574
16575
16576
16577
16578
16579
16580
16581
16582
16583
16584
16585
16586
16587
16588
16589
16590
16591
16592
16593
16594
16595
16596
16597
16598
16599
16600
16601
16602
16603
16604
16605
16606
16607
16608
16609
16610
16611
16612
16613
16614
16615
16616
16617
16618
16619
16620
16621
16622
16623
16624
16625
16626
16627
16628
16629
16630
16631
16632
16633
16634
16635
16636
16637
16638
16639
16640
16641
16642
16643
16644
16645
16646
16647
16648
16649
16650
16651
16652
16653
16654
16655
16656
16657
16658
16659
16660
16661
16662
16663
16664
16665
16666
16667
16668
16669
16670
16671
16672
16673
16674
16675
16676
16677
16678
16679
16680
16681
16682
16683
16684
16685
16686
16687
16688
16689
16690
16691
16692
16693
16694
16695
16696
16697
16698
16699
16700
16701
16702
16703
16704
16705
16706
16707
16708
16709
16710
16711
16712
16713
16714
16715
16716
16717
16718
16719
16720
16721
16722
16723
16724
16725
16726
16727
16728
16729
16730
16731
16732
16733
16734
16735
16736
16737
16738
16739
16740
16741
16742
16743
16744
16745
16746
16747
16748
16749
16750
16751
16752
16753
16754
16755
16756
16757
16758
16759
16760
16761
16762
16763
16764
16765
16766
16767
16768
16769
16770
16771
16772
16773
16774
16775
16776
16777
16778
16779
16780
16781
16782
16783
16784
16785
16786
16787
16788
16789
16790
16791
16792
16793
16794
16795
16796
16797
16798
16799
16800
16801
16802
16803
16804
16805
16806
16807
16808
16809
16810
16811
16812
16813
16814
16815
16816
16817
16818
16819
16820
16821
16822
16823
16824
16825
16826
16827
16828
16829
16830
16831
16832
16833
16834
16835
16836
16837
16838
16839
16840
16841
16842
16843
16844
16845
16846
16847
16848
16849
16850
16851
16852
16853
16854
16855
16856
16857
16858
16859
16860
16861
16862
16863
16864
16865
16866
16867
16868
16869
16870
16871
16872
16873
16874
16875
16876
16877
16878
16879
16880
16881
16882
16883
16884
16885
16886
16887
16888
16889
16890
16891
16892
16893
16894
16895
16896
16897
16898
16899
16900
16901
16902
16903
16904
16905
16906
16907
16908
16909
16910
16911
16912
16913
16914
16915
16916
16917
16918
16919
16920
16921
16922
16923
16924
16925
16926
16927
16928
16929
16930
16931
16932
16933
16934
16935
16936
16937
16938
16939
16940
16941
16942
16943
16944
16945
16946
16947
16948
16949
16950
16951
16952
16953
16954
16955
16956
16957
16958
16959
16960
16961
16962
16963
16964
16965
16966
16967
16968
16969
16970
16971
16972
16973
16974
16975
16976
16977
16978
16979
16980
16981
16982
16983
16984
16985
16986
16987
16988
16989
16990
16991
16992
16993
16994
16995
16996
16997
16998
16999
17000
17001
17002
17003
17004
17005
17006
17007
17008
17009
17010
17011
17012
17013
17014
17015
17016
17017
17018
17019
17020
17021
17022
17023
17024
17025
17026
17027
17028
17029
17030
17031
17032
17033
17034
17035
17036
17037
17038
17039
17040
17041
17042
17043
17044
17045
17046
17047
17048
17049
17050
17051
17052
17053
17054
17055
17056
17057
17058
17059
17060
17061
17062
17063
17064
17065
17066
17067
17068
17069
17070
17071
17072
17073
17074
17075
17076
17077
17078
17079
17080
17081
17082
17083
17084
17085
17086
17087
17088
17089
17090
17091
17092
17093
17094
17095
17096
17097
17098
17099
17100
17101
17102
17103
17104
17105
17106
17107
17108
17109
17110
17111
17112
17113
17114
17115
17116
17117
17118
17119
17120
17121
17122
17123
17124
17125
17126
17127
17128
17129
17130
17131
17132
17133
17134
17135
17136
17137
17138
17139
17140
17141
17142
17143
17144
17145
17146
17147
17148
17149
17150
17151
17152
17153
17154
17155
17156
17157
17158
17159
17160
17161
17162
17163
17164
17165
17166
17167
17168
17169
17170
17171
17172
17173
17174
17175
17176
17177
17178
17179
17180
17181
17182
17183
17184
17185
17186
17187
17188
17189
17190
17191
17192
17193
17194
17195
17196
17197
17198
17199
17200
17201
17202
17203
17204
17205
17206
17207
17208
17209
17210
17211
17212
17213
17214
17215
17216
17217
17218
17219
17220
17221
17222
17223
17224
17225
17226
17227
17228
17229
17230
17231
17232
17233
17234
17235
17236
17237
17238
17239
17240
17241
17242
17243
17244
17245
17246
17247
17248
17249
17250
17251
17252
17253
17254
17255
17256
17257
17258
17259
17260
17261
17262
17263
17264
17265
17266
17267
17268
17269
17270
17271
17272
17273
17274
17275
17276
17277
17278
17279
17280
17281
17282
17283
17284
17285
17286
17287
17288
17289
17290
17291
17292
17293
17294
17295
17296
17297
17298
17299
17300
17301
17302
17303
17304
17305
17306
17307
17308
17309
17310
17311
17312
17313
17314
17315
17316
17317
17318
17319
17320
17321
17322
17323
17324
17325
17326
17327
17328
17329
17330
17331
17332
17333
17334
17335
17336
17337
17338
17339
17340
17341
17342
17343
17344
17345
17346
17347
17348
17349
17350
17351
17352
17353
17354
17355
17356
17357
17358
17359
17360
17361
17362
17363
17364
17365
17366
17367
17368
17369
17370
17371
17372
17373
17374
17375
17376
17377
17378
17379
17380
17381
17382
17383
17384
17385
17386
17387
17388
17389
17390
17391
17392
17393
17394
17395
17396
17397
17398
17399
17400
17401
17402
17403
17404
17405
17406
17407
17408
17409
17410
17411
17412
17413
17414
17415
17416
17417
17418
17419
17420
17421
17422
17423
17424
17425
17426
17427
17428
17429
17430
17431
17432
17433
17434
17435
17436
17437
17438
17439
17440
17441
17442
17443
17444
17445
17446
17447
17448
17449
17450
17451
17452
17453
17454
17455
17456
17457
17458
17459
17460
17461
17462
17463
17464
17465
17466
17467
17468
17469
17470
17471
17472
17473
17474
17475
17476
17477
17478
17479
17480
17481
17482
17483
17484
17485
17486
17487
17488
17489
17490
17491
17492
17493
17494
17495
17496
17497
17498
17499
17500
17501
17502
17503
17504
17505
17506
17507
17508
17509
17510
17511
17512
17513
17514
17515
17516
17517
17518
17519
17520
17521
17522
17523
17524
17525
17526
17527
17528
17529
17530
17531
17532
17533
17534
17535
17536
17537
17538
17539
17540
17541
17542
17543
17544
17545
17546
17547
17548
17549
17550
17551
17552
17553
17554
17555
17556
17557
17558
17559
17560
17561
17562
17563
17564
17565
17566
17567
17568
17569
17570
17571
17572
17573
17574
17575
17576
17577
17578
17579
17580
17581
17582
17583
17584
17585
17586
17587
17588
17589
17590
17591
17592
17593
17594
17595
17596
17597
17598
17599
17600
17601
17602
17603
17604
17605
17606
17607
17608
17609
17610
17611
17612
17613
17614
17615
17616
17617
17618
17619
17620
17621
17622
17623
17624
17625
17626
17627
17628
17629
17630
17631
17632
17633
17634
17635
17636
17637
17638
17639
17640
17641
17642
17643
17644
17645
17646
17647
17648
17649
17650
17651
17652
17653
17654
17655
17656
17657
17658
17659
17660
17661
17662
17663
17664
17665
17666
17667
17668
17669
17670
17671
17672
17673
17674
17675
17676
17677
17678
17679
17680
17681
17682
17683
17684
17685
17686
17687
17688
17689
17690
17691
17692
17693
17694
17695
17696
17697
17698
17699
17700
17701
17702
17703
17704
17705
17706
17707
17708
17709
17710
17711
17712
17713
17714
17715
17716
17717
17718
17719
17720
17721
17722
17723
17724
17725
17726
17727
17728
17729
17730
17731
17732
17733
17734
17735
17736
17737
17738
17739
17740
17741
17742
17743
17744
17745
17746
17747
17748
17749
17750
17751
17752
17753
17754
17755
17756
17757
17758
17759
17760
17761
17762
17763
17764
17765
17766
17767
17768
17769
17770
17771
17772
17773
17774
17775
17776
17777
17778
17779
17780
17781
17782
17783
17784
17785
17786
17787
17788
17789
17790
17791
17792
17793
17794
17795
17796
17797
17798
17799
17800
17801
17802
17803
17804
17805
17806
17807
17808
17809
17810
17811
17812
17813
17814
17815
17816
17817
17818
17819
17820
17821
17822
17823
17824
17825
17826
17827
17828
17829
17830
17831
17832
17833
17834
17835
17836
17837
17838
17839
17840
17841
17842
17843
17844
17845
17846
17847
17848
17849
17850
17851
17852
17853
17854
17855
17856
17857
17858
17859
17860
17861
17862
17863
17864
17865
17866
17867
17868
17869
17870
17871
17872
17873
17874
17875
17876
17877
17878
17879
17880
17881
17882
17883
17884
17885
17886
17887
17888
17889
17890
17891
17892
17893
17894
17895
17896
17897
17898
17899
17900
17901
17902
17903
17904
17905
17906
17907
17908
17909
17910
17911
17912
17913
17914
17915
17916
17917
17918
17919
17920
17921
17922
17923
17924
17925
17926
17927
17928
17929
17930
17931
17932
17933
17934
17935
17936
17937
17938
17939
17940
17941
17942
17943
17944
17945
17946
17947
17948
17949
17950
17951
17952
17953
17954
17955
17956
17957
17958
17959
17960
17961
17962
17963
17964
17965
17966
17967
17968
17969
17970
17971
17972
17973
17974
17975
17976
17977
17978
17979
17980
17981
17982
17983
17984
17985
17986
17987
17988
17989
17990
17991
17992
17993
17994
17995
17996
17997
17998
17999
18000
18001
18002
18003
18004
18005
18006
18007
18008
18009
18010
18011
18012
18013
18014
18015
18016
18017
18018
18019
18020
18021
18022
18023
18024
18025
18026
18027
18028
18029
18030
18031
18032
18033
18034
18035
18036
18037
18038
18039
18040
18041
18042
18043
18044
18045
18046
18047
18048
18049
18050
18051
18052
18053
18054
18055
18056
18057
18058
18059
18060
18061
18062
18063
18064
18065
18066
18067
18068
18069
18070
18071
18072
18073
18074
18075
18076
18077
18078
18079
18080
18081
18082
18083
18084
18085
18086
18087
18088
18089
18090
18091
18092
18093
18094
18095
18096
18097
18098
18099
18100
18101
18102
18103
18104
18105
18106
18107
18108
18109
18110
18111
18112
18113
18114
18115
18116
18117
18118
18119
18120
18121
18122
18123
18124
18125
18126
18127
18128
18129
18130
18131
18132
18133
18134
18135
18136
18137
18138
18139
18140
18141
18142
18143
18144
18145
18146
18147
18148
18149
18150
18151
18152
18153
18154
18155
18156
18157
18158
18159
18160
18161
18162
18163
18164
18165
18166
18167
18168
18169
18170
18171
18172
18173
18174
18175
18176
18177
18178
18179
18180
18181
18182
18183
18184
18185
18186
18187
18188
18189
18190
18191
18192
18193
18194
18195
18196
18197
18198
18199
18200
18201
18202
18203
18204
18205
18206
18207
18208
18209
18210
18211
18212
18213
18214
18215
18216
18217
18218
18219
18220
18221
18222
18223
18224
18225
18226
18227
18228
18229
18230
18231
18232
18233
18234
18235
18236
18237
18238
18239
18240
18241
18242
18243
18244
18245
18246
18247
18248
18249
18250
18251
18252
18253
18254
18255
18256
18257
18258
18259
18260
18261
18262
18263
18264
18265
18266
18267
18268
18269
18270
18271
18272
18273
18274
18275
18276
18277
18278
18279
18280
18281
18282
18283
18284
18285
18286
18287
18288
18289
18290
18291
18292
18293
18294
18295
18296
18297
18298
18299
18300
18301
18302
18303
18304
18305
18306
18307
18308
18309
18310
18311
18312
18313
18314
18315
18316
18317
18318
18319
18320
18321
18322
18323
18324
18325
18326
18327
18328
18329
18330
18331
18332
18333
18334
18335
18336
18337
18338
18339
18340
18341
18342
18343
18344
18345
18346
18347
18348
18349
18350
18351
18352
18353
18354
18355
18356
18357
18358
18359
18360
18361
18362
18363
18364
18365
18366
18367
18368
18369
18370
18371
18372
18373
18374
18375
18376
18377
18378
18379
18380
18381
18382
18383
18384
18385
18386
18387
18388
18389
18390
18391
18392
18393
18394
18395
18396
18397
18398
18399
18400
18401
18402
18403
18404
18405
18406
18407
18408
18409
18410
18411
18412
18413
18414
18415
18416
18417
18418
18419
18420
18421
18422
18423
18424
18425
18426
18427
18428
18429
18430
18431
18432
18433
18434
18435
18436
18437
18438
18439
18440
18441
18442
18443
18444
18445
18446
18447
18448
18449
18450
18451
18452
18453
18454
18455
18456
18457
18458
18459
18460
18461
18462
18463
18464
18465
18466
18467
18468
18469
18470
18471
18472
18473
18474
18475
18476
18477
18478
18479
18480
18481
18482
18483
18484
18485
18486
18487
18488
18489
18490
18491
18492
18493
18494
18495
18496
18497
18498
18499
18500
18501
18502
18503
18504
18505
18506
18507
18508
18509
18510
18511
18512
18513
18514
18515
18516
18517
18518
18519
18520
18521
18522
18523
18524
18525
18526
18527
18528
18529
18530
18531
18532
18533
18534
18535
18536
18537
18538
18539
18540
18541
18542
18543
18544
18545
18546
18547
18548
18549
18550
18551
18552
18553
18554
18555
18556
18557
18558
18559
18560
18561
18562
18563
18564
18565
18566
18567
18568
18569
18570
18571
18572
18573
18574
18575
18576
18577
18578
18579
18580
18581
18582
18583
18584
18585
18586
18587
18588
18589
18590
18591
18592
18593
18594
18595
18596
18597
18598
18599
18600
18601
18602
18603
18604
18605
18606
18607
18608
18609
18610
18611
18612
18613
18614
18615
18616
18617
18618
18619
18620
18621
18622
18623
18624
18625
18626
18627
18628
18629
18630
18631
18632
18633
18634
18635
18636
18637
18638
18639
18640
18641
18642
18643
18644
18645
18646
18647
18648
18649
18650
18651
18652
18653
18654
18655
18656
18657
18658
18659
18660
18661
18662
18663
18664
18665
18666
18667
18668
18669
18670
18671
18672
18673
18674
18675
18676
18677
18678
18679
18680
18681
18682
18683
18684
18685
18686
18687
18688
18689
18690
18691
18692
18693
18694
18695
18696
18697
18698
18699
18700
18701
18702
18703
18704
18705
18706
18707
18708
18709
18710
18711
18712
18713
18714
18715
18716
18717
18718
18719
18720
18721
18722
18723
18724
18725
18726
18727
18728
18729
18730
18731
18732
18733
18734
18735
18736
18737
18738
18739
18740
18741
18742
18743
18744
18745
18746
18747
18748
18749
18750
18751
18752
18753
18754
18755
18756
18757
18758
18759
18760
18761
18762
18763
18764
18765
18766
18767
18768
18769
18770
18771
18772
18773
18774
18775
18776
18777
18778
18779
18780
18781
18782
18783
18784
18785
18786
18787
18788
18789
18790
18791
18792
18793
18794
18795
18796
18797
18798
18799
18800
18801
18802
18803
18804
18805
18806
18807
18808
18809
18810
18811
18812
18813
18814
18815
18816
18817
18818
18819
18820
18821
18822
18823
18824
18825
18826
18827
18828
18829
18830
18831
18832
18833
18834
18835
18836
18837
18838
18839
18840
18841
18842
18843
18844
18845
18846
18847
18848
18849
18850
18851
18852
18853
18854
18855
18856
18857
18858
18859
18860
18861
18862
18863
18864
18865
18866
18867
18868
18869
18870
18871
18872
18873
18874
18875
18876
18877
18878
18879
18880
18881
18882
18883
18884
18885
18886
18887
18888
18889
18890
18891
18892
18893
18894
18895
18896
18897
18898
18899
18900
18901
18902
18903
18904
18905
18906
18907
18908
18909
18910
18911
18912
18913
18914
18915
18916
18917
18918
18919
18920
18921
18922
18923
18924
18925
18926
18927
18928
18929
18930
18931
18932
18933
18934
18935
18936
18937
18938
18939
18940
18941
18942
18943
18944
18945
18946
18947
18948
18949
18950
18951
18952
18953
18954
18955
18956
18957
18958
18959
18960
18961
18962
18963
18964
18965
18966
18967
18968
18969
18970
18971
18972
18973
18974
18975
18976
18977
18978
18979
18980
18981
18982
18983
18984
18985
18986
18987
18988
18989
18990
18991
18992
18993
18994
18995
18996
18997
18998
18999
19000
19001
19002
19003
19004
19005
19006
19007
19008
19009
19010
19011
19012
19013
19014
19015
19016
19017
19018
19019
19020
19021
19022
19023
19024
19025
19026
19027
19028
19029
19030
19031
19032
19033
19034
19035
19036
19037
19038
19039
19040
19041
19042
19043
19044
19045
19046
19047
19048
19049
19050
19051
19052
19053
19054
19055
19056
19057
19058
19059
19060
19061
19062
19063
19064
19065
19066
19067
19068
19069
19070
19071
19072
19073
19074
19075
19076
19077
19078
19079
19080
19081
19082
19083
19084
19085
19086
19087
19088
19089
19090
19091
19092
19093
19094
19095
19096
19097
19098
19099
19100
19101
19102
19103
19104
19105
19106
19107
19108
19109
19110
19111
19112
19113
19114
19115
19116
19117
19118
19119
19120
19121
19122
19123
19124
19125
19126
19127
19128
19129
19130
19131
19132
19133
19134
19135
19136
19137
19138
19139
19140
19141
19142
19143
19144
19145
19146
19147
19148
19149
19150
19151
19152
19153
19154
19155
19156
19157
19158
19159
19160
19161
19162
19163
19164
19165
19166
19167
19168
19169
19170
19171
19172
19173
19174
19175
19176
19177
19178
19179
19180
19181
19182
19183
19184
19185
19186
19187
19188
19189
19190
19191
19192
19193
19194
19195
19196
19197
19198
19199
19200
19201
19202
19203
19204
19205
19206
19207
19208
19209
19210
19211
19212
19213
19214
19215
19216
19217
19218
19219
19220
19221
19222
19223
19224
19225
19226
19227
19228
19229
19230
19231
19232
19233
19234
19235
19236
19237
19238
19239
19240
19241
19242
19243
19244
19245
19246
19247
19248
19249
19250
19251
19252
19253
19254
19255
19256
19257
19258
19259
19260
19261
19262
19263
19264
19265
19266
19267
19268
19269
19270
19271
19272
19273
19274
19275
19276
19277
19278
19279
19280
19281
19282
19283
19284
19285
19286
19287
19288
19289
19290
19291
19292
19293
19294
19295
19296
19297
19298
19299
19300
19301
19302
19303
19304
19305
19306
19307
19308
19309
19310
19311
19312
19313
19314
19315
19316
19317
19318
19319
19320
19321
19322
19323
19324
19325
19326
19327
19328
19329
19330
19331
19332
19333
19334
19335
19336
19337
19338
19339
19340
19341
19342
19343
19344
19345
19346
19347
19348
19349
19350
19351
19352
19353
19354
19355
19356
19357
19358
19359
19360
19361
19362
19363
19364
19365
19366
19367
19368
19369
19370
19371
19372
19373
19374
19375
19376
19377
19378
19379
19380
19381
19382
19383
19384
19385
19386
19387
19388
19389
19390
19391
19392
19393
19394
19395
19396
19397
19398
19399
19400
19401
19402
19403
19404
19405
19406
19407
19408
19409
19410
19411
19412
19413
19414
19415
19416
19417
19418
19419
19420
19421
19422
19423
19424
19425
19426
19427
19428
19429
19430
19431
19432
19433
19434
19435
19436
19437
19438
19439
19440
19441
19442
19443
19444
19445
19446
19447
19448
19449
19450
19451
19452
19453
19454
19455
19456
19457
19458
19459
19460
19461
19462
19463
19464
19465
19466
19467
19468
19469
19470
19471
19472
19473
19474
19475
19476
19477
19478
19479
19480
19481
19482
19483
19484
19485
19486
19487
19488
19489
19490
19491
19492
19493
19494
19495
19496
19497
19498
19499
19500
19501
19502
19503
19504
19505
19506
19507
19508
19509
19510
19511
19512
19513
19514
19515
19516
19517
19518
19519
19520
19521
19522
19523
19524
19525
19526
19527
19528
19529
19530
19531
19532
19533
19534
19535
19536
19537
19538
19539
19540
19541
19542
19543
19544
19545
19546
19547
19548
19549
19550
19551
19552
19553
19554
19555
19556
19557
19558
19559
19560
19561
19562
19563
19564
19565
19566
19567
19568
19569
19570
19571
19572
19573
19574
19575
19576
19577
19578
19579
19580
19581
19582
19583
19584
19585
19586
19587
19588
19589
19590
19591
19592
19593
19594
19595
19596
19597
19598
19599
19600
19601
19602
19603
19604
19605
19606
19607
19608
19609
19610
19611
19612
19613
19614
19615
19616
19617
19618
19619
19620
19621
19622
19623
19624
19625
19626
19627
19628
19629
19630
19631
19632
19633
19634
19635
19636
19637
19638
19639
19640
19641
19642
19643
19644
19645
19646
19647
19648
19649
19650
19651
19652
19653
19654
19655
19656
19657
19658
19659
19660
19661
19662
19663
19664
19665
19666
19667
19668
19669
19670
19671
19672
19673
19674
19675
19676
19677
19678
19679
19680
19681
19682
19683
19684
19685
19686
19687
19688
19689
19690
19691
19692
19693
19694
19695
19696
19697
19698
19699
19700
19701
19702
19703
19704
19705
19706
19707
19708
19709
19710
19711
19712
19713
19714
19715
19716
19717
19718
19719
19720
19721
19722
19723
19724
19725
19726
19727
19728
19729
19730
19731
19732
19733
19734
19735
19736
19737
19738
19739
19740
19741
19742
19743
19744
19745
19746
19747
19748
19749
19750
19751
19752
19753
19754
19755
19756
19757
19758
19759
19760
19761
19762
19763
19764
19765
19766
19767
19768
19769
19770
19771
19772
19773
19774
19775
19776
19777
19778
19779
19780
19781
19782
19783
19784
19785
19786
19787
19788
19789
19790
19791
19792
19793
19794
19795
19796
19797
19798
19799
19800
19801
19802
19803
19804
19805
19806
19807
19808
19809
19810
19811
19812
19813
19814
19815
19816
19817
19818
19819
19820
19821
19822
19823
19824
19825
19826
19827
19828
19829
19830
19831
19832
19833
19834
19835
19836
19837
19838
19839
19840
19841
19842
19843
19844
19845
19846
19847
19848
19849
19850
19851
19852
19853
19854
19855
19856
19857
19858
19859
19860
19861
19862
19863
19864
19865
19866
19867
19868
19869
19870
19871
19872
19873
19874
19875
19876
19877
19878
19879
19880
19881
19882
19883
19884
19885
19886
19887
19888
19889
19890
19891
19892
19893
19894
19895
19896
19897
19898
19899
19900
19901
19902
19903
19904
19905
19906
19907
19908
19909
19910
19911
19912
19913
19914
19915
19916
19917
19918
19919
19920
19921
19922
19923
19924
19925
19926
19927
19928
19929
19930
19931
19932
19933
19934
19935
19936
19937
19938
19939
19940
19941
19942
19943
19944
19945
19946
19947
19948
19949
19950
19951
19952
19953
19954
19955
19956
19957
19958
19959
19960
19961
19962
19963
19964
19965
19966
19967
19968
19969
19970
19971
19972
19973
19974
19975
19976
19977
19978
19979
19980
19981
19982
19983
19984
19985
19986
19987
19988
19989
19990
19991
19992
19993
19994
19995
19996
19997
19998
19999
20000
20001
20002
20003
20004
20005
20006
20007
20008
20009
20010
20011
20012
20013
20014
20015
20016
20017
20018
20019
20020
20021
20022
20023
20024
20025
20026
20027
20028
20029
20030
20031
20032
20033
20034
20035
20036
20037
20038
20039
20040
20041
20042
20043
20044
20045
20046
20047
20048
20049
20050
20051
20052
20053
20054
20055
20056
20057
20058
20059
20060
20061
20062
20063
20064
20065
20066
20067
20068
20069
20070
20071
20072
20073
20074
20075
20076
20077
20078
20079
20080
20081
20082
20083
20084
20085
20086
20087
20088
20089
20090
20091
20092
20093
20094
20095
20096
20097
20098
20099
20100
20101
20102
20103
20104
20105
20106
20107
20108
20109
20110
20111
20112
20113
20114
20115
20116
20117
20118
20119
20120
20121
20122
20123
20124
20125
20126
20127
20128
20129
20130
20131
20132
20133
20134
20135
20136
20137
20138
20139
20140
20141
20142
20143
20144
20145
20146
20147
20148
20149
20150
20151
20152
20153
20154
20155
20156
20157
20158
20159
20160
20161
20162
20163
20164
20165
20166
20167
20168
20169
20170
20171
20172
20173
20174
20175
20176
20177
20178
20179
20180
20181
20182
20183
20184
20185
20186
20187
20188
20189
20190
20191
20192
20193
20194
20195
20196
20197
20198
20199
20200
20201
20202
20203
20204
20205
20206
20207
20208
20209
20210
20211
20212
20213
20214
20215
20216
20217
20218
20219
20220
20221
20222
20223
20224
20225
20226
20227
20228
20229
20230
20231
20232
20233
20234
20235
20236
20237
20238
20239
20240
20241
20242
20243
20244
20245
20246
20247
20248
20249
20250
20251
20252
20253
20254
20255
20256
20257
20258
20259
20260
20261
20262
20263
20264
20265
20266
20267
20268
20269
20270
20271
20272
20273
20274
20275
20276
20277
20278
20279
20280
20281
20282
20283
20284
20285
20286
20287
20288
20289
20290
20291
20292
20293
20294
20295
20296
20297
20298
20299
20300
20301
20302
20303
20304
20305
20306
20307
20308
20309
20310
20311
20312
20313
20314
20315
20316
20317
20318
20319
20320
20321
20322
20323
20324
20325
20326
20327
20328
20329
20330
20331
20332
20333
20334
20335
20336
20337
20338
20339
20340
20341
20342
20343
20344
20345
20346
20347
20348
20349
20350
20351
20352
20353
20354
20355
20356
20357
20358
20359
20360
20361
20362
20363
20364
20365
20366
20367
20368
20369
20370
20371
20372
20373
20374
20375
20376
20377
20378
20379
20380
20381
20382
20383
20384
20385
20386
20387
20388
20389
20390
20391
20392
20393
20394
20395
20396
20397
20398
20399
20400
20401
20402
20403
20404
20405
20406
20407
20408
20409
20410
20411
20412
20413
20414
20415
20416
20417
20418
20419
20420
20421
20422
20423
20424
20425
20426
20427
20428
20429
20430
20431
20432
20433
20434
20435
20436
20437
20438
20439
20440
20441
20442
20443
20444
20445
20446
20447
20448
20449
20450
20451
20452
20453
20454
20455
20456
20457
20458
20459
20460
20461
20462
20463
20464
20465
20466
20467
20468
20469
20470
20471
20472
20473
20474
20475
20476
20477
20478
20479
20480
20481
20482
20483
20484
20485
20486
20487
20488
20489
20490
20491
20492
20493
20494
20495
20496
20497
20498
20499
20500
20501
20502
20503
20504
20505
20506
20507
20508
20509
20510
20511
20512
20513
20514
20515
20516
20517
20518
20519
20520
20521
20522
20523
20524
20525
20526
20527
20528
20529
20530
20531
20532
20533
20534
20535
20536
20537
20538
20539
20540
20541
20542
20543
20544
20545
20546
20547
20548
20549
20550
20551
20552
20553
20554
20555
20556
20557
20558
20559
20560
20561
20562
20563
20564
20565
20566
20567
20568
20569
20570
20571
20572
20573
20574
20575
20576
20577
20578
20579
20580
20581
20582
20583
20584
20585
20586
20587
20588
20589
20590
20591
20592
20593
20594
20595
20596
20597
20598
20599
20600
20601
20602
20603
20604
20605
20606
20607
20608
20609
20610
20611
20612
20613
20614
20615
20616
20617
20618
20619
20620
20621
20622
20623
20624
20625
20626
20627
20628
20629
20630
20631
20632
20633
20634
20635
20636
20637
20638
20639
20640
20641
20642
20643
20644
20645
20646
20647
20648
20649
20650
20651
20652
20653
20654
20655
20656
20657
20658
20659
20660
20661
20662
20663
20664
20665
20666
20667
20668
20669
20670
20671
20672
20673
20674
20675
20676
20677
20678
20679
20680
20681
20682
20683
20684
20685
20686
20687
20688
20689
20690
20691
20692
20693
20694
20695
20696
20697
20698
20699
20700
20701
20702
20703
20704
20705
20706
20707
20708
20709
20710
20711
20712
20713
20714
20715
20716
20717
20718
20719
20720
20721
20722
20723
20724
20725
20726
20727
20728
20729
20730
20731
20732
20733
20734
20735
20736
20737
20738
20739
20740
20741
20742
20743
20744
20745
20746
20747
20748
20749
20750
20751
20752
20753
20754
20755
20756
20757
20758
20759
20760
20761
20762
20763
20764
20765
20766
20767
20768
20769
20770
20771
20772
20773
20774
20775
20776
20777
20778
20779
20780
20781
20782
20783
20784
20785
20786
20787
20788
20789
20790
20791
20792
20793
20794
20795
20796
20797
20798
20799
20800
20801
20802
20803
20804
20805
20806
20807
20808
20809
20810
20811
20812
20813
20814
20815
20816
20817
20818
20819
20820
20821
20822
20823
20824
20825
20826
20827
20828
20829
20830
20831
20832
20833
20834
20835
20836
20837
20838
20839
20840
20841
20842
20843
20844
20845
20846
20847
20848
20849
20850
20851
20852
20853
20854
20855
20856
20857
20858
20859
20860
20861
20862
20863
20864
20865
20866
20867
20868
20869
20870
20871
20872
20873
20874
20875
20876
20877
20878
20879
20880
20881
20882
20883
20884
20885
20886
20887
20888
20889
20890
20891
20892
20893
20894
20895
20896
20897
20898
20899
20900
20901
20902
20903
20904
20905
20906
20907
20908
20909
20910
20911
20912
20913
20914
20915
20916
20917
20918
20919
20920
20921
20922
20923
20924
20925
20926
20927
20928
20929
20930
20931
20932
20933
20934
20935
20936
20937
20938
20939
20940
20941
20942
20943
20944
20945
20946
20947
20948
20949
20950
20951
20952
20953
20954
20955
20956
20957
20958
20959
20960
20961
20962
20963
20964
20965
20966
20967
20968
20969
20970
20971
20972
20973
20974
20975
20976
20977
20978
20979
20980
20981
20982
20983
20984
20985
20986
20987
20988
20989
20990
20991
20992
20993
20994
20995
20996
20997
20998
20999
21000
21001
21002
21003
21004
21005
21006
21007
21008
21009
21010
21011
21012
21013
21014
21015
21016
21017
21018
21019
21020
21021
21022
21023
21024
21025
21026
21027
21028
21029
21030
21031
21032
21033
21034
21035
21036
21037
21038
21039
21040
21041
21042
21043
21044
21045
21046
21047
21048
21049
21050
21051
21052
21053
21054
21055
21056
21057
21058
21059
21060
21061
21062
21063
21064
21065
21066
21067
21068
21069
21070
21071
21072
21073
21074
21075
21076
21077
21078
21079
21080
21081
21082
21083
21084
21085
21086
21087
21088
21089
21090
21091
21092
21093
21094
21095
21096
21097
21098
21099
21100
21101
21102
21103
21104
21105
21106
21107
21108
21109
21110
21111
21112
21113
21114
21115
21116
21117
21118
21119
21120
21121
21122
21123
21124
21125
21126
21127
21128
21129
21130
21131
21132
21133
21134
21135
21136
21137
21138
21139
21140
21141
21142
21143
21144
21145
21146
21147
21148
21149
21150
21151
21152
21153
21154
21155
21156
21157
21158
21159
21160
21161
21162
21163
21164
21165
21166
21167
21168
21169
21170
21171
21172
21173
21174
21175
21176
21177
21178
21179
21180
21181
21182
21183
21184
21185
21186
21187
21188
21189
21190
21191
21192
21193
21194
21195
21196
21197
21198
21199
21200
21201
21202
21203
21204
21205
21206
21207
21208
21209
21210
21211
21212
21213
21214
21215
21216
21217
21218
21219
21220
21221
21222
21223
21224
21225
21226
21227
21228
21229
21230
21231
21232
21233
21234
21235
21236
21237
21238
21239
21240
21241
21242
21243
21244
21245
21246
21247
21248
21249
21250
21251
21252
21253
21254
21255
21256
21257
21258
21259
21260
21261
21262
21263
21264
21265
21266
21267
21268
21269
21270
21271
21272
21273
21274
21275
21276
21277
21278
21279
21280
21281
21282
21283
21284
21285
21286
21287
21288
21289
21290
21291
21292
21293
21294
21295
21296
21297
21298
21299
21300
21301
21302
21303
21304
21305
21306
21307
21308
21309
21310
21311
21312
21313
21314
21315
21316
21317
21318
21319
21320
21321
21322
21323
21324
21325
21326
21327
21328
21329
21330
21331
21332
21333
21334
21335
21336
21337
21338
21339
21340
21341
21342
21343
21344
21345
21346
21347
21348
21349
21350
21351
21352
21353
21354
21355
21356
21357
21358
21359
21360
21361
21362
21363
21364
21365
21366
21367
21368
21369
21370
21371
21372
21373
21374
21375
21376
21377
21378
21379
21380
21381
21382
21383
21384
21385
21386
21387
21388
21389
21390
21391
21392
21393
21394
21395
21396
21397
21398
21399
21400
21401
21402
21403
21404
21405
21406
21407
21408
21409
21410
21411
21412
21413
21414
21415
21416
21417
21418
21419
21420
21421
21422
21423
21424
21425
21426
21427
21428
21429
21430
21431
21432
21433
21434
21435
21436
21437
21438
21439
21440
21441
21442
21443
21444
21445
21446
21447
21448
21449
21450
21451
21452
21453
21454
21455
21456
21457
21458
21459
21460
21461
21462
21463
21464
21465
21466
21467
21468
21469
21470
21471
21472
21473
21474
21475
21476
21477
21478
21479
21480
21481
21482
21483
21484
21485
21486
21487
21488
21489
21490
21491
21492
21493
21494
21495
21496
21497
21498
21499
21500
21501
21502
21503
21504
21505
21506
21507
21508
21509
21510
21511
21512
21513
21514
21515
21516
21517
21518
21519
21520
21521
21522
21523
21524
21525
21526
21527
21528
21529
21530
21531
21532
21533
21534
21535
21536
21537
21538
21539
21540
21541
21542
21543
21544
21545
21546
21547
21548
21549
21550
21551
21552
21553
21554
21555
21556
21557
21558
21559
21560
21561
21562
21563
21564
21565
21566
21567
21568
21569
21570
21571
21572
21573
21574
21575
21576
21577
21578
21579
21580
21581
21582
21583
21584
21585
21586
21587
21588
21589
21590
21591
21592
21593
21594
21595
21596
21597
21598
21599
21600
21601
21602
21603
21604
21605
21606
21607
21608
21609
21610
21611
21612
21613
21614
21615
21616
21617
21618
21619
21620
21621
21622
21623
21624
21625
21626
21627
21628
21629
21630
21631
21632
21633
21634
21635
21636
21637
21638
21639
21640
21641
21642
21643
21644
21645
21646
21647
21648
21649
21650
21651
21652
21653
21654
21655
21656
21657
21658
21659
21660
21661
21662
21663
21664
21665
21666
21667
21668
21669
21670
21671
21672
21673
21674
21675
21676
21677
21678
21679
21680
21681
21682
21683
21684
21685
21686
21687
21688
21689
21690
21691
21692
21693
21694
21695
21696
21697
21698
21699
21700
21701
21702
21703
21704
21705
21706
21707
21708
21709
21710
21711
21712
21713
21714
21715
21716
21717
21718
21719
21720
21721
21722
21723
21724
21725
21726
21727
21728
21729
21730
21731
21732
21733
21734
21735
21736
21737
21738
21739
21740
21741
21742
21743
21744
21745
21746
21747
21748
21749
21750
21751
21752
21753
21754
21755
21756
21757
21758
21759
21760
21761
21762
21763
21764
21765
21766
21767
21768
21769
21770
21771
21772
21773
21774
21775
21776
21777
21778
21779
21780
21781
21782
21783
21784
21785
21786
21787
21788
21789
21790
21791
21792
21793
21794
21795
21796
21797
21798
21799
21800
21801
21802
21803
21804
21805
21806
21807
21808
21809
21810
21811
21812
21813
21814
21815
21816
21817
21818
21819
21820
21821
21822
21823
21824
21825
21826
21827
21828
21829
21830
21831
21832
21833
21834
21835
21836
21837
21838
21839
21840
21841
21842
21843
21844
21845
21846
21847
21848
21849
21850
21851
21852
21853
21854
21855
21856
21857
21858
21859
21860
21861
21862
21863
21864
21865
21866
21867
21868
21869
21870
21871
21872
21873
21874
21875
21876
21877
21878
21879
21880
21881
21882
21883
21884
21885
21886
21887
21888
21889
21890
21891
21892
21893
21894
21895
21896
21897
21898
21899
21900
21901
21902
21903
21904
21905
21906
21907
21908
21909
21910
21911
21912
21913
21914
21915
21916
21917
21918
21919
21920
21921
21922
21923
21924
21925
21926
21927
21928
21929
21930
21931
21932
21933
21934
21935
21936
21937
21938
21939
21940
21941
21942
21943
21944
21945
21946
21947
21948
21949
21950
21951
21952
21953
21954
21955
21956
21957
21958
21959
21960
21961
21962
21963
21964
21965
21966
21967
21968
21969
21970
21971
21972
21973
21974
21975
21976
21977
21978
21979
21980
21981
21982
21983
21984
21985
21986
21987
21988
21989
21990
21991
21992
21993
21994
21995
21996
21997
21998
21999
22000
22001
22002
22003
22004
22005
22006
22007
22008
22009
22010
22011
22012
22013
22014
22015
22016
22017
22018
22019
22020
22021
22022
22023
22024
22025
22026
22027
22028
22029
22030
22031
22032
22033
22034
22035
22036
22037
22038
22039
22040
22041
22042
22043
22044
22045
22046
22047
22048
22049
22050
22051
22052
22053
22054
22055
22056
22057
22058
22059
22060
22061
22062
22063
22064
22065
22066
22067
22068
22069
22070
22071
22072
22073
22074
22075
22076
22077
22078
22079
22080
22081
22082
22083
22084
22085
22086
22087
22088
22089
22090
22091
22092
22093
22094
22095
22096
22097
22098
22099
22100
22101
22102
22103
22104
22105
22106
22107
22108
22109
22110
22111
22112
22113
22114
22115
22116
22117
22118
22119
22120
22121
22122
22123
22124
22125
22126
22127
22128
22129
22130
22131
22132
22133
22134
22135
22136
22137
22138
22139
22140
22141
22142
22143
22144
22145
22146
22147
22148
22149
22150
22151
22152
22153
22154
22155
22156
22157
22158
22159
22160
22161
22162
22163
22164
22165
22166
22167
22168
22169
22170
22171
22172
22173
22174
22175
22176
22177
22178
22179
22180
22181
22182
22183
22184
22185
22186
22187
22188
22189
22190
22191
22192
22193
22194
22195
22196
22197
22198
22199
22200
22201
22202
22203
22204
22205
22206
22207
22208
22209
22210
22211
22212
22213
22214
22215
22216
22217
22218
22219
22220
22221
22222
22223
22224
22225
22226
22227
22228
22229
22230
22231
22232
22233
22234
22235
22236
22237
22238
22239
22240
22241
22242
22243
22244
22245
22246
22247
22248
22249
22250
22251
22252
22253
22254
22255
22256
22257
22258
22259
22260
22261
22262
22263
22264
22265
22266
22267
22268
22269
22270
22271
22272
22273
22274
22275
22276
22277
22278
22279
22280
22281
22282
22283
22284
22285
22286
22287
22288
22289
22290
22291
22292
22293
22294
22295
22296
22297
22298
22299
22300
22301
22302
22303
22304
22305
22306
22307
22308
22309
22310
22311
22312
22313
22314
22315
22316
22317
22318
22319
22320
22321
22322
22323
22324
22325
22326
22327
22328
22329
22330
22331
22332
22333
22334
22335
22336
22337
22338
22339
22340
22341
22342
22343
22344
22345
22346
22347
22348
22349
22350
22351
22352
22353
22354
22355
22356
22357
22358
22359
22360
22361
22362
22363
22364
22365
22366
22367
22368
22369
22370
22371
22372
22373
22374
22375
22376
22377
22378
22379
22380
22381
22382
22383
22384
22385
22386
22387
22388
22389
22390
22391
22392
22393
22394
22395
22396
22397
22398
22399
22400
22401
22402
22403
22404
22405
22406
22407
22408
22409
22410
22411
22412
22413
22414
22415
22416
22417
22418
22419
22420
22421
22422
22423
22424
22425
22426
22427
22428
22429
22430
22431
22432
22433
22434
22435
22436
22437
22438
22439
22440
22441
22442
22443
22444
22445
22446
22447
22448
22449
22450
22451
22452
22453
22454
22455
22456
22457
22458
22459
22460
22461
22462
22463
22464
22465
22466
22467
22468
22469
22470
22471
22472
22473
22474
22475
22476
22477
22478
22479
22480
22481
22482
22483
22484
22485
22486
22487
22488
22489
22490
22491
22492
22493
22494
22495
22496
22497
22498
22499
22500
22501
22502
22503
22504
22505
22506
22507
22508
22509
22510
22511
22512
22513
22514
22515
22516
22517
22518
22519
22520
22521
22522
22523
22524
22525
22526
22527
22528
22529
22530
22531
22532
22533
22534
22535
22536
22537
22538
22539
22540
22541
22542
22543
22544
22545
22546
22547
22548
22549
22550
22551
22552
22553
22554
22555
22556
22557
22558
22559
22560
22561
22562
22563
22564
22565
22566
22567
22568
22569
22570
22571
22572
22573
22574
22575
22576
22577
22578
22579
22580
22581
22582
22583
22584
22585
22586
22587
22588
22589
22590
22591
22592
22593
22594
22595
22596
22597
22598
22599
22600
22601
22602
22603
22604
22605
22606
22607
22608
22609
22610
22611
22612
22613
22614
22615
22616
22617
22618
22619
22620
22621
22622
22623
22624
22625
22626
22627
22628
22629
22630
22631
22632
22633
22634
22635
22636
22637
22638
22639
22640
22641
22642
22643
22644
22645
22646
22647
22648
22649
22650
22651
22652
22653
22654
22655
22656
22657
22658
22659
22660
22661
22662
22663
22664
22665
22666
22667
22668
22669
22670
22671
22672
22673
22674
22675
22676
22677
22678
22679
22680
22681
22682
22683
22684
22685
22686
22687
22688
22689
22690
22691
22692
22693
22694
22695
22696
22697
22698
22699
22700
22701
22702
22703
22704
22705
22706
22707
22708
22709
22710
22711
22712
22713
22714
22715
22716
22717
22718
22719
22720
22721
22722
22723
22724
22725
22726
22727
22728
22729
22730
22731
22732
22733
22734
22735
22736
22737
22738
22739
22740
22741
22742
22743
22744
22745
22746
22747
22748
22749
22750
22751
22752
22753
22754
22755
22756
22757
22758
22759
22760
22761
22762
22763
22764
22765
22766
22767
22768
22769
22770
22771
22772
22773
22774
22775
22776
22777
22778
22779
22780
22781
22782
22783
22784
22785
22786
22787
22788
22789
22790
22791
22792
22793
22794
22795
22796
22797
22798
22799
22800
22801
22802
22803
22804
22805
22806
22807
22808
22809
22810
22811
22812
22813
22814
22815
22816
22817
22818
22819
22820
22821
22822
22823
22824
22825
22826
22827
22828
22829
22830
22831
22832
22833
22834
22835
22836
22837
22838
22839
22840
22841
22842
22843
22844
22845
22846
22847
22848
22849
22850
22851
22852
22853
22854
22855
22856
22857
22858
22859
22860
22861
22862
22863
22864
22865
22866
22867
22868
22869
22870
22871
22872
22873
22874
22875
22876
22877
22878
22879
22880
22881
22882
22883
22884
22885
22886
22887
22888
22889
22890
22891
22892
22893
22894
22895
22896
22897
22898
22899
22900
22901
22902
22903
22904
22905
22906
22907
22908
22909
22910
22911
22912
22913
22914
22915
22916
22917
22918
22919
22920
22921
22922
22923
22924
22925
22926
22927
22928
22929
22930
22931
22932
22933
22934
22935
22936
22937
22938
22939
22940
22941
22942
22943
22944
22945
22946
22947
22948
22949
22950
22951
22952
22953
22954
22955
22956
22957
22958
22959
22960
22961
22962
22963
22964
22965
22966
22967
22968
22969
22970
22971
22972
22973
22974
22975
22976
22977
22978
22979
22980
22981
22982
22983
22984
22985
22986
22987
22988
22989
22990
22991
22992
22993
22994
22995
22996
22997
22998
22999
23000
23001
23002
23003
23004
23005
23006
23007
23008
23009
23010
23011
23012
23013
23014
23015
23016
23017
23018
23019
23020
23021
23022
23023
23024
23025
23026
23027
23028
23029
23030
23031
23032
23033
23034
23035
23036
23037
23038
23039
23040
23041
23042
23043
23044
23045
23046
23047
23048
23049
23050
23051
23052
23053
23054
23055
23056
23057
23058
23059
23060
23061
23062
23063
23064
23065
23066
23067
23068
23069
23070
23071
23072
23073
23074
23075
23076
23077
23078
23079
23080
23081
23082
23083
23084
23085
23086
23087
23088
23089
23090
23091
23092
23093
23094
23095
23096
23097
23098
23099
23100
23101
23102
23103
23104
23105
23106
23107
23108
23109
23110
23111
23112
23113
23114
23115
23116
23117
23118
23119
23120
23121
23122
23123
23124
23125
23126
23127
23128
23129
23130
23131
23132
23133
23134
23135
23136
23137
23138
23139
23140
23141
23142
23143
23144
23145
23146
23147
23148
23149
23150
23151
23152
23153
23154
23155
23156
23157
23158
23159
23160
23161
23162
23163
23164
23165
23166
23167
23168
23169
23170
23171
23172
23173
23174
23175
23176
23177
23178
23179
23180
23181
23182
23183
23184
23185
23186
23187
23188
23189
23190
23191
23192
23193
23194
23195
23196
23197
23198
23199
23200
23201
23202
23203
23204
23205
23206
23207
23208
23209
23210
23211
23212
23213
23214
23215
23216
23217
23218
23219
23220
23221
23222
23223
23224
23225
23226
23227
23228
23229
23230
23231
23232
23233
23234
23235
23236
23237
23238
23239
23240
23241
23242
23243
23244
23245
23246
23247
23248
23249
23250
23251
23252
23253
23254
23255
23256
23257
23258
23259
23260
23261
23262
23263
23264
23265
23266
23267
23268
23269
23270
23271
23272
23273
23274
23275
23276
23277
23278
23279
23280
23281
23282
23283
23284
23285
23286
23287
23288
23289
23290
23291
23292
23293
23294
23295
23296
23297
23298
23299
23300
23301
23302
23303
23304
23305
23306
23307
23308
23309
23310
23311
23312
23313
23314
23315
23316
23317
23318
23319
23320
23321
23322
23323
23324
23325
23326
23327
23328
23329
23330
23331
23332
23333
23334
23335
23336
23337
23338
23339
23340
23341
23342
23343
23344
23345
23346
23347
23348
23349
23350
23351
23352
23353
23354
23355
23356
23357
23358
23359
23360
23361
23362
23363
23364
23365
23366
23367
23368
23369
23370
23371
23372
23373
23374
23375
23376
23377
23378
23379
23380
23381
23382
23383
23384
23385
23386
23387
23388
23389
23390
23391
23392
23393
23394
23395
23396
23397
23398
23399
23400
23401
23402
23403
23404
23405
23406
23407
23408
23409
23410
23411
23412
23413
23414
23415
23416
23417
23418
23419
23420
23421
23422
23423
23424
23425
23426
23427
23428
23429
23430
23431
23432
23433
23434
23435
23436
23437
23438
23439
23440
23441
23442
23443
23444
23445
23446
23447
23448
23449
23450
23451
23452
23453
23454
23455
23456
23457
23458
23459
23460
23461
23462
23463
23464
23465
23466
23467
23468
23469
23470
23471
23472
23473
23474
23475
23476
23477
23478
23479
23480
23481
23482
23483
23484
23485
23486
23487
23488
23489
23490
23491
23492
23493
23494
23495
23496
23497
23498
23499
23500
23501
23502
23503
23504
23505
23506
23507
23508
23509
23510
23511
23512
23513
23514
23515
23516
23517
23518
23519
23520
23521
23522
23523
23524
23525
23526
23527
23528
23529
23530
23531
23532
23533
23534
23535
23536
23537
23538
23539
23540
23541
23542
23543
23544
23545
23546
23547
23548
23549
23550
23551
23552
23553
23554
23555
23556
23557
23558
23559
23560
23561
23562
23563
23564
23565
23566
23567
23568
23569
23570
23571
23572
23573
23574
23575
23576
23577
23578
23579
23580
23581
23582
23583
23584
23585
23586
23587
23588
23589
23590
23591
23592
23593
23594
23595
23596
23597
23598
23599
23600
23601
23602
23603
23604
23605
23606
23607
23608
23609
23610
23611
23612
23613
23614
23615
23616
23617
23618
23619
23620
23621
23622
23623
23624
23625
23626
23627
23628
23629
23630
23631
23632
23633
23634
23635
23636
23637
23638
23639
23640
23641
23642
23643
23644
23645
23646
23647
23648
23649
23650
23651
23652
23653
23654
23655
23656
23657
23658
23659
23660
23661
23662
23663
23664
23665
23666
23667
23668
23669
23670
23671
23672
23673
23674
23675
23676
23677
23678
23679
23680
23681
23682
23683
23684
23685
23686
23687
23688
23689
23690
23691
23692
23693
23694
23695
23696
23697
23698
23699
23700
23701
23702
23703
23704
23705
23706
23707
23708
23709
23710
23711
23712
23713
23714
23715
23716
23717
23718
23719
23720
23721
23722
23723
23724
23725
23726
23727
23728
23729
23730
23731
23732
23733
23734
23735
23736
23737
23738
23739
23740
23741
23742
23743
23744
23745
23746
23747
23748
23749
23750
23751
23752
23753
23754
23755
23756
23757
23758
23759
23760
23761
23762
23763
23764
23765
23766
23767
23768
23769
23770
23771
23772
23773
23774
23775
23776
23777
23778
23779
23780
23781
23782
23783
23784
23785
23786
23787
23788
23789
23790
23791
23792
23793
23794
23795
23796
23797
23798
23799
23800
23801
23802
23803
23804
23805
23806
23807
23808
23809
23810
23811
23812
23813
23814
23815
23816
23817
23818
23819
23820
23821
23822
23823
23824
23825
23826
23827
23828
23829
23830
23831
23832
23833
23834
23835
23836
23837
23838
23839
23840
23841
23842
23843
23844
23845
23846
23847
23848
23849
23850
23851
23852
23853
23854
23855
23856
23857
23858
23859
23860
23861
23862
23863
23864
23865
23866
23867
23868
23869
23870
23871
23872
23873
23874
23875
23876
23877
23878
23879
23880
23881
23882
23883
23884
23885
23886
23887
23888
23889
23890
23891
23892
23893
23894
23895
23896
23897
23898
23899
23900
23901
23902
23903
23904
23905
23906
23907
23908
23909
23910
23911
23912
23913
23914
23915
23916
23917
23918
23919
23920
23921
23922
23923
23924
23925
23926
23927
23928
23929
23930
23931
23932
23933
23934
23935
23936
23937
23938
23939
23940
23941
23942
23943
23944
23945
23946
23947
23948
23949
23950
23951
23952
23953
23954
23955
23956
23957
23958
23959
23960
23961
23962
23963
23964
23965
23966
23967
23968
23969
23970
23971
23972
23973
23974
23975
23976
23977
23978
23979
23980
23981
23982
23983
23984
23985
23986
23987
23988
23989
23990
23991
23992
23993
23994
23995
23996
23997
23998
23999
24000
24001
24002
24003
24004
24005
24006
24007
24008
24009
24010
24011
24012
24013
24014
24015
24016
24017
24018
24019
24020
24021
24022
24023
24024
24025
24026
24027
24028
24029
24030
24031
24032
24033
24034
24035
24036
24037
24038
24039
24040
24041
24042
24043
24044
24045
24046
24047
24048
24049
24050
24051
24052
24053
24054
24055
24056
24057
24058
24059
24060
24061
24062
24063
24064
24065
24066
24067
24068
24069
24070
24071
24072
24073
24074
24075
24076
24077
24078
24079
24080
24081
24082
24083
24084
24085
24086
24087
24088
24089
24090
24091
24092
24093
24094
24095
24096
24097
24098
24099
24100
24101
24102
24103
24104
24105
24106
24107
24108
24109
24110
24111
24112
24113
24114
24115
24116
24117
24118
24119
24120
24121
24122
24123
24124
24125
24126
24127
24128
24129
24130
24131
24132
24133
24134
24135
24136
24137
24138
24139
24140
24141
24142
24143
24144
24145
24146
24147
24148
24149
24150
24151
24152
24153
24154
24155
24156
24157
24158
24159
24160
24161
24162
24163
24164
24165
24166
24167
24168
24169
24170
24171
24172
24173
24174
24175
24176
24177
24178
24179
24180
24181
24182
24183
24184
24185
24186
24187
24188
24189
24190
24191
24192
24193
24194
24195
24196
24197
24198
24199
24200
24201
24202
24203
24204
24205
24206
24207
24208
24209
24210
24211
24212
24213
24214
24215
24216
24217
24218
24219
24220
24221
24222
24223
24224
24225
24226
24227
24228
24229
24230
24231
24232
24233
24234
24235
24236
24237
24238
24239
24240
24241
24242
24243
24244
24245
24246
24247
24248
24249
24250
24251
24252
24253
24254
24255
24256
24257
24258
24259
24260
24261
24262
24263
24264
24265
24266
24267
24268
24269
24270
24271
24272
24273
24274
24275
24276
24277
24278
24279
24280
24281
24282
24283
24284
24285
24286
24287
24288
24289
24290
24291
24292
24293
24294
24295
24296
24297
24298
24299
24300
24301
24302
24303
24304
24305
24306
24307
24308
24309
24310
24311
24312
24313
24314
24315
24316
24317
24318
24319
24320
24321
24322
24323
24324
24325
24326
24327
24328
24329
24330
24331
24332
24333
24334
24335
24336
24337
24338
24339
24340
24341
24342
24343
24344
24345
24346
24347
24348
24349
24350
24351
24352
24353
24354
24355
24356
24357
24358
24359
24360
24361
24362
24363
24364
24365
24366
24367
24368
24369
24370
24371
24372
24373
24374
24375
24376
24377
24378
24379
24380
24381
24382
24383
24384
24385
24386
24387
24388
24389
24390
24391
24392
24393
24394
24395
24396
24397
24398
24399
24400
24401
24402
24403
24404
24405
24406
24407
24408
24409
24410
24411
24412
24413
24414
24415
24416
24417
24418
24419
24420
24421
24422
24423
24424
24425
24426
24427
24428
24429
24430
24431
24432
24433
24434
24435
24436
24437
24438
24439
24440
24441
24442
24443
24444
24445
24446
24447
24448
24449
24450
24451
24452
24453
24454
24455
24456
24457
24458
24459
24460
24461
24462
24463
24464
24465
24466
24467
24468
24469
24470
24471
24472
24473
24474
24475
24476
24477
24478
24479
24480
24481
24482
24483
24484
24485
24486
24487
24488
24489
24490
24491
24492
24493
24494
24495
24496
24497
24498
24499
24500
24501
24502
24503
24504
24505
24506
24507
24508
24509
24510
24511
24512
24513
24514
24515
24516
24517
24518
24519
24520
24521
24522
24523
24524
24525
24526
24527
24528
24529
24530
24531
24532
24533
24534
24535
24536
24537
24538
24539
24540
24541
24542
24543
24544
24545
24546
24547
24548
24549
24550
24551
24552
24553
24554
24555
24556
24557
24558
24559
24560
24561
24562
24563
24564
24565
24566
24567
24568
24569
24570
24571
24572
24573
24574
24575
24576
24577
24578
24579
24580
24581
24582
24583
24584
24585
24586
24587
24588
24589
24590
24591
24592
24593
24594
24595
24596
24597
24598
24599
24600
24601
24602
24603
24604
24605
24606
24607
24608
24609
24610
24611
24612
24613
24614
24615
24616
24617
24618
24619
24620
24621
24622
24623
24624
24625
24626
24627
24628
24629
24630
24631
24632
24633
24634
24635
24636
24637
24638
24639
24640
24641
24642
24643
24644
24645
24646
24647
24648
24649
24650
24651
24652
24653
24654
24655
24656
24657
24658
24659
24660
24661
24662
24663
24664
24665
24666
24667
24668
24669
24670
24671
24672
24673
24674
24675
24676
24677
24678
24679
24680
24681
24682
24683
24684
24685
24686
24687
24688
24689
24690
24691
24692
24693
24694
24695
24696
24697
24698
24699
24700
24701
24702
24703
24704
24705
24706
24707
24708
24709
24710
24711
24712
24713
24714
24715
24716
24717
24718
24719
24720
24721
24722
24723
24724
24725
24726
24727
24728
24729
24730
24731
24732
24733
24734
24735
24736
24737
24738
24739
24740
24741
24742
24743
24744
24745
24746
24747
24748
24749
24750
24751
24752
24753
24754
24755
24756
24757
24758
24759
24760
24761
24762
24763
24764
24765
24766
24767
24768
24769
24770
24771
24772
24773
24774
24775
24776
24777
24778
24779
24780
24781
24782
24783
24784
24785
24786
24787
24788
24789
24790
24791
24792
24793
24794
24795
24796
24797
24798
24799
24800
24801
24802
24803
24804
24805
24806
24807
24808
24809
24810
24811
24812
24813
24814
24815
24816
24817
24818
24819
24820
24821
24822
24823
24824
24825
24826
24827
24828
24829
24830
24831
24832
24833
24834
24835
24836
24837
24838
24839
24840
24841
24842
24843
24844
24845
24846
24847
24848
24849
24850
24851
24852
24853
24854
24855
24856
24857
24858
24859
24860
24861
24862
24863
24864
24865
24866
24867
24868
24869
24870
24871
24872
24873
24874
24875
24876
24877
24878
24879
24880
24881
24882
24883
24884
24885
24886
24887
24888
24889
24890
24891
24892
24893
24894
24895
24896
24897
24898
24899
24900
24901
24902
24903
24904
24905
24906
24907
24908
24909
24910
24911
24912
24913
24914
24915
24916
24917
24918
24919
24920
24921
24922
24923
24924
24925
24926
24927
24928
24929
24930
24931
24932
24933
24934
24935
24936
24937
24938
24939
24940
24941
24942
24943
24944
24945
24946
24947
24948
24949
24950
24951
24952
24953
24954
24955
24956
24957
24958
24959
24960
24961
24962
24963
24964
24965
24966
24967
24968
24969
24970
24971
24972
24973
24974
24975
24976
24977
24978
24979
24980
24981
24982
24983
24984
24985
24986
24987
24988
24989
24990
24991
24992
24993
24994
24995
24996
24997
24998
24999
25000
25001
25002
25003
25004
25005
25006
25007
25008
25009
25010
25011
25012
25013
25014
25015
25016
25017
25018
25019
25020
25021
25022
25023
25024
25025
25026
25027
25028
25029
25030
25031
25032
25033
25034
25035
25036
25037
25038
25039
25040
25041
25042
25043
25044
25045
25046
25047
25048
25049
25050
25051
25052
25053
25054
25055
25056
25057
25058
25059
25060
25061
25062
25063
25064
25065
25066
25067
25068
25069
25070
25071
25072
25073
25074
25075
25076
25077
25078
25079
25080
25081
25082
25083
25084
25085
25086
25087
25088
25089
25090
25091
25092
25093
25094
25095
25096
25097
25098
25099
25100
25101
25102
25103
25104
25105
25106
25107
25108
25109
25110
25111
25112
25113
25114
25115
25116
25117
25118
25119
25120
25121
25122
25123
25124
25125
25126
25127
25128
25129
25130
25131
25132
25133
25134
25135
25136
25137
25138
25139
25140
25141
25142
25143
25144
25145
25146
25147
25148
25149
25150
25151
25152
25153
25154
25155
25156
25157
25158
25159
25160
25161
25162
25163
25164
25165
25166
25167
25168
25169
25170
25171
25172
25173
25174
25175
25176
25177
25178
25179
25180
25181
25182
25183
25184
25185
25186
25187
25188
25189
25190
25191
25192
25193
25194
25195
25196
25197
25198
25199
25200
25201
25202
25203
25204
25205
25206
25207
25208
25209
25210
25211
25212
25213
25214
25215
25216
25217
25218
25219
25220
25221
25222
25223
25224
25225
25226
25227
25228
25229
25230
25231
25232
25233
25234
25235
25236
25237
25238
25239
25240
25241
25242
25243
25244
25245
25246
25247
25248
25249
25250
25251
25252
25253
25254
25255
25256
25257
25258
25259
25260
25261
25262
25263
25264
25265
25266
25267
25268
25269
25270
25271
25272
25273
25274
25275
25276
25277
25278
25279
25280
25281
25282
25283
25284
25285
25286
25287
25288
25289
25290
25291
25292
25293
25294
25295
25296
25297
25298
25299
25300
25301
25302
25303
25304
25305
25306
25307
25308
25309
25310
25311
25312
25313
25314
25315
25316
25317
25318
25319
25320
25321
25322
25323
25324
25325
25326
25327
25328
25329
25330
25331
25332
25333
25334
25335
25336
25337
25338
25339
25340
25341
25342
25343
25344
25345
25346
25347
25348
25349
25350
25351
25352
25353
25354
25355
25356
25357
25358
25359
25360
25361
25362
25363
25364
25365
25366
25367
25368
25369
25370
25371
25372
25373
25374
25375
25376
25377
25378
25379
25380
25381
25382
25383
25384
25385
25386
25387
25388
25389
25390
25391
25392
25393
25394
25395
25396
25397
25398
25399
25400
25401
25402
25403
25404
25405
25406
25407
25408
25409
25410
25411
25412
25413
25414
25415
25416
25417
25418
25419
25420
25421
25422
25423
25424
25425
25426
25427
25428
25429
25430
25431
25432
25433
25434
25435
25436
25437
25438
25439
25440
25441
25442
25443
25444
25445
25446
25447
25448
25449
25450
25451
25452
25453
25454
25455
25456
25457
25458
25459
25460
25461
25462
25463
25464
25465
25466
25467
25468
25469
25470
25471
25472
25473
25474
25475
25476
25477
25478
25479
25480
25481
25482
25483
25484
25485
25486
25487
25488
25489
25490
25491
25492
25493
25494
25495
25496
25497
25498
25499
25500
25501
25502
25503
25504
25505
25506
25507
25508
25509
25510
25511
25512
25513
25514
25515
25516
25517
25518
25519
25520
25521
25522
25523
25524
25525
25526
25527
25528
25529
25530
25531
25532
25533
25534
25535
25536
25537
25538
25539
25540
25541
25542
25543
25544
25545
25546
25547
25548
25549
25550
25551
25552
25553
25554
25555
25556
25557
25558
25559
25560
25561
25562
25563
25564
25565
25566
25567
25568
25569
25570
25571
25572
25573
25574
25575
25576
25577
25578
25579
25580
25581
25582
25583
25584
25585
25586
25587
25588
25589
25590
25591
25592
25593
25594
25595
25596
25597
25598
25599
25600
25601
25602
25603
25604
25605
25606
25607
25608
25609
25610
25611
25612
25613
25614
25615
25616
25617
25618
25619
25620
25621
25622
25623
25624
25625
25626
25627
25628
25629
25630
25631
25632
25633
25634
25635
25636
25637
25638
25639
25640
25641
25642
25643
25644
25645
25646
25647
25648
25649
25650
25651
25652
25653
25654
25655
25656
25657
25658
25659
25660
25661
25662
25663
25664
25665
25666
25667
25668
25669
25670
25671
25672
25673
25674
25675
25676
25677
25678
25679
25680
25681
25682
25683
25684
25685
25686
25687
25688
25689
25690
25691
25692
25693
25694
25695
25696
25697
25698
25699
25700
25701
25702
25703
25704
25705
25706
25707
25708
25709
25710
25711
25712
25713
25714
25715
25716
25717
25718
25719
25720
25721
25722
25723
25724
25725
25726
25727
25728
25729
25730
25731
25732
25733
25734
25735
25736
25737
25738
25739
25740
25741
25742
25743
25744
25745
25746
25747
25748
25749
25750
25751
25752
25753
25754
25755
25756
25757
25758
25759
25760
25761
25762
25763
25764
25765
25766
25767
25768
25769
25770
25771
25772
25773
25774
25775
25776
25777
25778
25779
25780
25781
25782
25783
25784
25785
25786
25787
25788
25789
25790
25791
25792
25793
25794
25795
25796
25797
25798
25799
25800
25801
25802
25803
25804
25805
25806
25807
25808
25809
25810
25811
25812
25813
25814
25815
25816
25817
25818
25819
25820
25821
25822
25823
25824
25825
25826
25827
25828
25829
25830
25831
25832
25833
25834
25835
25836
25837
25838
25839
25840
25841
25842
25843
25844
25845
25846
25847
25848
25849
25850
25851
25852
25853
25854
25855
25856
25857
25858
25859
25860
25861
25862
25863
25864
25865
25866
25867
25868
25869
25870
25871
25872
25873
25874
25875
25876
25877
25878
25879
25880
25881
25882
25883
25884
25885
25886
25887
25888
25889
25890
25891
25892
25893
25894
25895
25896
25897
25898
25899
25900
25901
25902
25903
25904
25905
25906
25907
25908
25909
25910
25911
25912
25913
25914
25915
25916
25917
25918
25919
25920
25921
25922
25923
25924
25925
25926
25927
25928
25929
25930
25931
25932
25933
25934
25935
25936
25937
25938
25939
25940
25941
25942
25943
25944
25945
25946
25947
25948
25949
25950
25951
25952
25953
25954
25955
25956
25957
25958
25959
25960
25961
25962
25963
25964
25965
25966
25967
25968
25969
25970
25971
25972
25973
25974
25975
25976
25977
25978
25979
25980
25981
25982
25983
25984
25985
25986
25987
25988
25989
25990
25991
25992
25993
25994
25995
25996
25997
25998
25999
26000
26001
26002
26003
26004
26005
26006
26007
26008
26009
26010
26011
26012
26013
26014
26015
26016
26017
26018
26019
26020
26021
26022
26023
26024
26025
26026
26027
26028
26029
26030
26031
26032
26033
26034
26035
26036
26037
26038
26039
26040
26041
26042
26043
26044
26045
26046
26047
26048
26049
26050
26051
26052
26053
26054
26055
26056
26057
26058
26059
26060
26061
26062
26063
26064
26065
26066
26067
26068
26069
26070
26071
26072
26073
26074
26075
26076
26077
26078
26079
26080
26081
26082
26083
26084
26085
26086
26087
26088
26089
26090
26091
26092
26093
26094
26095
26096
26097
26098
26099
26100
26101
26102
26103
26104
26105
26106
26107
26108
26109
26110
26111
26112
26113
26114
26115
26116
26117
26118
26119
26120
26121
26122
26123
26124
26125
26126
26127
26128
26129
26130
26131
26132
26133
26134
26135
26136
26137
26138
26139
26140
26141
26142
26143
26144
26145
26146
26147
26148
26149
26150
26151
26152
26153
26154
26155
26156
26157
26158
26159
26160
26161
26162
26163
26164
26165
26166
26167
26168
26169
26170
26171
26172
26173
26174
26175
26176
26177
26178
26179
26180
26181
26182
26183
26184
26185
26186
26187
26188
26189
26190
26191
26192
26193
26194
26195
26196
26197
26198
26199
26200
26201
26202
26203
26204
26205
26206
26207
26208
26209
26210
26211
26212
26213
26214
26215
26216
26217
26218
26219
26220
26221
26222
26223
26224
26225
26226
26227
26228
26229
26230
26231
26232
26233
26234
26235
26236
26237
26238
26239
26240
26241
26242
26243
26244
26245
26246
26247
26248
26249
26250
26251
26252
26253
26254
26255
26256
26257
26258
26259
26260
26261
26262
26263
26264
26265
26266
26267
26268
26269
26270
26271
26272
26273
26274
26275
26276
26277
26278
26279
26280
26281
26282
26283
26284
26285
26286
26287
26288
26289
26290
26291
26292
26293
26294
26295
26296
26297
26298
26299
26300
26301
26302
26303
26304
26305
26306
26307
26308
26309
26310
26311
26312
26313
26314
26315
26316
26317
26318
26319
26320
26321
26322
26323
26324
26325
26326
26327
26328
26329
26330
26331
26332
26333
26334
26335
26336
26337
26338
26339
26340
26341
26342
26343
26344
26345
26346
26347
26348
26349
26350
26351
26352
26353
26354
26355
26356
26357
26358
26359
26360
26361
26362
26363
26364
26365
26366
26367
26368
26369
26370
26371
26372
26373
26374
26375
26376
26377
26378
26379
26380
26381
26382
26383
26384
26385
26386
26387
26388
26389
26390
26391
26392
26393
26394
26395
26396
26397
26398
26399
26400
26401
26402
26403
26404
26405
26406
26407
26408
26409
26410
26411
26412
26413
26414
26415
26416
26417
26418
26419
26420
26421
26422
26423
26424
26425
26426
26427
26428
26429
26430
26431
26432
26433
26434
26435
26436
26437
26438
26439
26440
26441
26442
26443
26444
26445
26446
26447
26448
26449
26450
26451
26452
26453
26454
26455
26456
26457
26458
26459
26460
26461
26462
26463
26464
26465
26466
26467
26468
26469
26470
26471
26472
26473
26474
26475
26476
26477
26478
26479
26480
26481
26482
26483
26484
26485
26486
26487
26488
26489
26490
26491
26492
26493
26494
26495
26496
26497
26498
26499
26500
26501
26502
26503
26504
26505
26506
26507
26508
26509
26510
26511
26512
26513
26514
26515
26516
26517
26518
26519
26520
26521
26522
26523
26524
26525
26526
26527
26528
26529
26530
26531
26532
26533
26534
26535
26536
26537
26538
26539
26540
26541
26542
26543
26544
26545
26546
26547
26548
26549
26550
26551
26552
26553
26554
26555
26556
26557
26558
26559
26560
26561
26562
26563
26564
26565
26566
26567
26568
26569
26570
26571
26572
26573
26574
26575
26576
26577
26578
26579
26580
26581
26582
26583
26584
26585
26586
26587
26588
26589
26590
26591
26592
26593
26594
26595
26596
26597
26598
26599
26600
26601
26602
26603
26604
26605
26606
26607
26608
26609
26610
26611
26612
26613
26614
26615
26616
26617
26618
26619
26620
26621
26622
26623
26624
26625
26626
26627
26628
26629
26630
26631
26632
26633
26634
26635
26636
26637
26638
26639
26640
26641
26642
26643
26644
26645
26646
26647
26648
26649
26650
26651
26652
26653
26654
26655
26656
26657
26658
26659
26660
26661
26662
26663
26664
26665
26666
26667
26668
26669
26670
26671
26672
26673
26674
26675
26676
26677
26678
26679
26680
26681
26682
26683
26684
26685
26686
26687
26688
26689
26690
26691
26692
26693
26694
26695
26696
26697
26698
26699
26700
26701
26702
26703
26704
26705
26706
26707
26708
26709
26710
26711
26712
26713
26714
26715
26716
26717
26718
26719
26720
26721
26722
26723
26724
26725
26726
26727
26728
26729
26730
26731
26732
26733
26734
26735
26736
26737
26738
26739
26740
26741
26742
26743
26744
26745
26746
26747
26748
26749
26750
26751
26752
26753
26754
26755
26756
26757
26758
26759
26760
26761
26762
26763
26764
26765
26766
26767
26768
26769
26770
26771
26772
26773
26774
26775
26776
26777
26778
26779
26780
26781
26782
26783
26784
26785
26786
26787
26788
26789
26790
26791
26792
26793
26794
26795
26796
26797
26798
26799
26800
26801
26802
26803
26804
26805
26806
26807
26808
26809
26810
26811
26812
26813
26814
26815
26816
26817
26818
26819
26820
26821
26822
26823
26824
26825
26826
26827
26828
26829
26830
26831
26832
26833
26834
26835
26836
26837
26838
26839
26840
26841
26842
26843
26844
26845
26846
26847
26848
26849
26850
26851
26852
26853
26854
26855
26856
26857
26858
26859
26860
26861
26862
26863
26864
26865
26866
26867
26868
26869
26870
26871
26872
26873
26874
26875
26876
26877
26878
26879
26880
26881
26882
26883
26884
26885
26886
26887
26888
26889
26890
26891
26892
26893
26894
26895
26896
26897
26898
26899
26900
26901
26902
26903
26904
26905
26906
26907
26908
26909
26910
26911
26912
26913
26914
26915
26916
26917
26918
26919
26920
26921
26922
26923
26924
26925
26926
26927
26928
26929
26930
26931
26932
26933
26934
26935
26936
26937
26938
26939
26940
26941
26942
26943
26944
26945
26946
26947
26948
26949
26950
26951
26952
26953
26954
26955
26956
26957
26958
26959
26960
26961
26962
26963
26964
26965
26966
26967
26968
26969
26970
26971
26972
26973
26974
26975
26976
26977
26978
26979
26980
26981
26982
26983
26984
26985
26986
26987
26988
26989
26990
26991
26992
26993
26994
26995
26996
26997
26998
26999
27000
27001
27002
27003
27004
27005
27006
27007
27008
27009
27010
27011
27012
27013
27014
27015
27016
27017
27018
27019
27020
27021
27022
27023
27024
27025
27026
27027
27028
27029
27030
27031
27032
27033
27034
27035
27036
27037
27038
27039
27040
27041
27042
27043
27044
27045
27046
27047
27048
27049
27050
27051
27052
27053
27054
27055
27056
27057
27058
27059
27060
27061
27062
27063
27064
27065
27066
27067
27068
27069
27070
27071
27072
27073
27074
27075
27076
27077
27078
27079
27080
27081
27082
27083
27084
27085
27086
27087
27088
27089
27090
27091
27092
27093
27094
27095
27096
27097
27098
27099
27100
27101
27102
27103
27104
27105
27106
27107
27108
27109
27110
27111
27112
27113
27114
27115
27116
27117
27118
27119
27120
27121
27122
27123
27124
27125
27126
27127
27128
27129
27130
27131
27132
27133
27134
27135
27136
27137
27138
27139
27140
27141
27142
27143
27144
27145
27146
27147
27148
27149
27150
27151
27152
27153
27154
27155
27156
27157
27158
27159
27160
27161
27162
27163
27164
27165
27166
27167
27168
27169
27170
27171
27172
27173
27174
27175
27176
27177
27178
27179
27180
27181
27182
27183
27184
27185
27186
27187
27188
27189
27190
27191
27192
27193
27194
27195
27196
27197
27198
27199
27200
27201
27202
27203
27204
27205
27206
27207
27208
27209
27210
27211
27212
27213
27214
27215
27216
27217
27218
27219
27220
27221
27222
27223
27224
27225
27226
27227
27228
27229
27230
27231
27232
27233
27234
27235
27236
27237
27238
27239
27240
27241
27242
27243
27244
27245
27246
27247
27248
27249
27250
27251
27252
27253
27254
27255
27256
27257
27258
27259
27260
27261
27262
27263
27264
27265
27266
27267
27268
27269
27270
27271
27272
27273
27274
27275
27276
27277
27278
27279
27280
27281
27282
27283
27284
27285
27286
27287
27288
27289
27290
27291
27292
27293
27294
27295
27296
27297
27298
27299
27300
27301
27302
27303
27304
27305
27306
27307
27308
27309
27310
27311
27312
27313
27314
27315
27316
27317
27318
27319
27320
27321
27322
27323
27324
27325
27326
27327
27328
27329
27330
27331
27332
27333
27334
27335
27336
27337
27338
27339
27340
27341
27342
27343
27344
27345
27346
27347
27348
27349
27350
27351
27352
27353
27354
27355
27356
27357
27358
27359
27360
27361
27362
27363
27364
27365
27366
27367
27368
27369
27370
27371
27372
27373
27374
27375
27376
27377
27378
27379
27380
27381
27382
27383
27384
27385
27386
27387
27388
27389
27390
27391
27392
27393
27394
27395
27396
27397
27398
27399
27400
27401
27402
27403
27404
27405
27406
27407
27408
27409
27410
27411
27412
27413
27414
27415
27416
27417
27418
27419
27420
27421
27422
27423
27424
27425
27426
27427
27428
27429
27430
27431
27432
27433
27434
27435
27436
27437
27438
27439
27440
27441
27442
27443
27444
27445
27446
27447
27448
27449
27450
27451
27452
27453
27454
27455
27456
27457
27458
27459
27460
27461
27462
27463
27464
27465
27466
27467
27468
27469
27470
27471
27472
27473
27474
27475
27476
27477
27478
27479
27480
27481
27482
27483
27484
27485
27486
27487
27488
27489
27490
27491
27492
27493
27494
27495
27496
27497
27498
27499
27500
27501
27502
27503
27504
27505
27506
27507
27508
27509
27510
27511
27512
27513
27514
27515
27516
27517
27518
27519
27520
27521
27522
27523
27524
27525
27526
27527
27528
27529
27530
27531
27532
27533
27534
27535
27536
27537
27538
27539
27540
27541
27542
27543
27544
27545
27546
27547
27548
27549
27550
27551
27552
27553
27554
27555
27556
27557
27558
27559
27560
27561
27562
27563
27564
27565
27566
27567
27568
27569
27570
27571
27572
27573
27574
27575
27576
27577
27578
27579
27580
27581
27582
27583
27584
27585
27586
27587
27588
27589
27590
27591
27592
27593
27594
27595
27596
27597
27598
27599
27600
27601
27602
27603
27604
27605
27606
27607
27608
27609
27610
27611
27612
27613
27614
27615
27616
27617
27618
27619
27620
27621
27622
27623
27624
27625
27626
27627
27628
27629
27630
27631
27632
27633
27634
27635
27636
27637
27638
27639
27640
27641
27642
27643
27644
27645
27646
27647
27648
27649
27650
27651
27652
27653
27654
27655
27656
27657
27658
27659
27660
27661
27662
27663
27664
27665
27666
27667
27668
27669
27670
27671
27672
27673
27674
27675
27676
27677
27678
27679
27680
27681
27682
27683
27684
27685
27686
27687
27688
27689
27690
27691
27692
27693
27694
27695
27696
27697
27698
27699
27700
27701
27702
27703
27704
27705
27706
27707
27708
27709
27710
27711
27712
27713
27714
27715
27716
27717
27718
27719
27720
27721
27722
27723
27724
27725
27726
27727
27728
27729
27730
27731
27732
27733
27734
27735
27736
27737
27738
27739
27740
27741
27742
27743
27744
27745
27746
27747
27748
27749
27750
27751
27752
27753
27754
27755
27756
27757
27758
27759
27760
27761
27762
27763
27764
27765
27766
27767
27768
27769
27770
27771
27772
27773
27774
27775
27776
27777
27778
27779
27780
27781
27782
27783
27784
27785
27786
27787
27788
27789
27790
27791
27792
27793
27794
27795
27796
27797
27798
27799
27800
27801
27802
27803
27804
27805
27806
27807
27808
27809
27810
27811
27812
27813
27814
27815
27816
27817
27818
27819
27820
27821
27822
27823
27824
27825
27826
27827
27828
27829
27830
27831
27832
27833
27834
27835
27836
27837
27838
27839
27840
27841
27842
27843
27844
27845
27846
27847
27848
27849
27850
27851
27852
27853
27854
27855
27856
27857
27858
27859
27860
27861
27862
27863
27864
27865
27866
27867
27868
27869
27870
27871
27872
27873
27874
27875
27876
27877
27878
27879
27880
27881
27882
27883
27884
27885
27886
27887
27888
27889
27890
27891
27892
27893
27894
27895
27896
27897
27898
27899
27900
27901
27902
27903
27904
27905
27906
27907
27908
27909
27910
27911
27912
27913
27914
27915
27916
27917
27918
27919
27920
27921
27922
27923
27924
27925
27926
27927
27928
27929
27930
27931
27932
27933
27934
27935
27936
27937
27938
27939
27940
27941
27942
27943
27944
27945
27946
27947
27948
27949
27950
27951
27952
27953
27954
27955
27956
27957
27958
27959
27960
27961
27962
27963
27964
27965
27966
27967
27968
27969
27970
27971
27972
27973
27974
27975
27976
27977
27978
27979
27980
27981
27982
27983
27984
27985
27986
27987
27988
27989
27990
27991
27992
27993
27994
27995
27996
27997
27998
27999
28000
28001
28002
28003
28004
28005
28006
28007
28008
28009
28010
28011
28012
28013
28014
28015
28016
28017
28018
28019
28020
28021
28022
28023
28024
28025
28026
28027
28028
28029
28030
28031
28032
28033
28034
28035
28036
28037
28038
28039
28040
28041
28042
28043
28044
28045
28046
28047
28048
28049
28050
28051
28052
28053
28054
28055
28056
28057
28058
28059
28060
28061
28062
28063
28064
28065
28066
28067
28068
28069
28070
28071
28072
28073
28074
28075
28076
28077
28078
28079
28080
28081
28082
28083
28084
28085
28086
28087
28088
28089
28090
28091
28092
28093
28094
28095
28096
28097
28098
28099
28100
28101
28102
28103
28104
28105
28106
28107
28108
28109
28110
28111
28112
28113
28114
28115
28116
28117
28118
28119
28120
28121
28122
28123
28124
28125
28126
28127
28128
28129
28130
28131
28132
28133
28134
28135
28136
28137
28138
28139
28140
28141
28142
28143
28144
28145
28146
28147
28148
28149
28150
28151
28152
28153
28154
28155
28156
28157
28158
28159
28160
28161
28162
28163
28164
28165
28166
28167
28168
28169
28170
28171
28172
28173
28174
28175
28176
28177
28178
28179
28180
28181
28182
28183
28184
28185
28186
28187
28188
28189
28190
28191
28192
28193
28194
28195
28196
28197
28198
28199
28200
28201
28202
28203
28204
28205
28206
28207
28208
28209
28210
28211
28212
28213
28214
28215
28216
28217
28218
28219
28220
28221
28222
28223
28224
28225
28226
28227
28228
28229
28230
28231
28232
28233
28234
28235
28236
28237
28238
28239
28240
28241
28242
28243
28244
28245
28246
28247
28248
28249
28250
28251
28252
28253
28254
28255
28256
28257
28258
28259
28260
28261
28262
28263
28264
28265
28266
28267
28268
28269
28270
28271
28272
28273
28274
28275
28276
28277
28278
28279
28280
28281
28282
28283
28284
28285
28286
28287
28288
28289
28290
28291
28292
28293
28294
28295
28296
28297
28298
28299
28300
28301
28302
28303
28304
28305
28306
28307
28308
28309
28310
28311
28312
28313
28314
28315
28316
28317
28318
28319
28320
28321
28322
28323
28324
28325
28326
28327
28328
28329
28330
28331
28332
28333
28334
28335
28336
28337
28338
28339
28340
28341
28342
28343
28344
28345
28346
28347
28348
28349
28350
28351
28352
28353
28354
28355
28356
28357
28358
28359
28360
28361
28362
28363
28364
28365
28366
28367
28368
28369
28370
28371
28372
28373
28374
28375
28376
28377
28378
28379
28380
28381
28382
28383
28384
28385
28386
28387
28388
28389
28390
28391
28392
28393
28394
28395
28396
28397
28398
28399
28400
28401
28402
28403
28404
28405
28406
28407
28408
28409
28410
28411
28412
28413
28414
28415
28416
28417
28418
28419
28420
28421
28422
28423
28424
28425
28426
28427
28428
28429
28430
28431
28432
28433
28434
28435
28436
28437
28438
28439
28440
28441
28442
28443
28444
28445
28446
28447
28448
28449
28450
28451
28452
28453
28454
28455
28456
28457
28458
28459
28460
28461
28462
28463
28464
28465
28466
28467
28468
28469
28470
28471
28472
28473
28474
28475
28476
28477
28478
28479
28480
28481
28482
28483
28484
28485
28486
28487
28488
28489
28490
28491
28492
28493
28494
28495
28496
28497
28498
28499
28500
28501
28502
28503
28504
28505
28506
28507
28508
28509
28510
28511
28512
28513
28514
28515
28516
28517
28518
28519
28520
28521
28522
28523
28524
28525
28526
28527
28528
28529
28530
28531
28532
28533
28534
28535
28536
28537
28538
28539
28540
28541
28542
28543
28544
28545
28546
28547
28548
28549
28550
28551
28552
28553
28554
28555
28556
28557
28558
28559
28560
28561
28562
28563
28564
28565
28566
28567
28568
28569
28570
28571
28572
28573
28574
28575
28576
28577
28578
28579
28580
28581
28582
28583
28584
28585
28586
28587
28588
28589
28590
28591
28592
28593
28594
28595
28596
28597
28598
28599
28600
28601
28602
28603
28604
28605
28606
28607
28608
28609
28610
28611
28612
28613
28614
28615
28616
28617
28618
28619
28620
28621
28622
28623
28624
28625
28626
28627
28628
28629
28630
28631
28632
28633
28634
28635
28636
28637
28638
28639
28640
28641
28642
28643
28644
28645
28646
28647
28648
28649
28650
28651
28652
28653
28654
28655
28656
28657
28658
28659
28660
28661
28662
28663
28664
28665
28666
28667
28668
28669
28670
28671
28672
28673
28674
28675
28676
28677
28678
28679
28680
28681
28682
28683
28684
28685
28686
28687
28688
28689
28690
28691
28692
28693
28694
28695
28696
28697
28698
28699
28700
28701
28702
28703
28704
28705
28706
28707
28708
28709
28710
28711
28712
28713
28714
28715
28716
28717
28718
28719
28720
28721
28722
28723
28724
28725
28726
28727
28728
28729
28730
28731
28732
28733
28734
28735
28736
28737
28738
28739
28740
28741
28742
28743
28744
28745
28746
28747
28748
28749
28750
28751
28752
28753
28754
28755
28756
28757
28758
28759
28760
28761
28762
28763
28764
28765
28766
28767
28768
28769
28770
28771
28772
28773
28774
28775
28776
28777
28778
28779
28780
28781
28782
28783
28784
28785
28786
28787
28788
28789
28790
28791
28792
28793
28794
28795
28796
28797
28798
28799
28800
28801
28802
28803
28804
28805
28806
28807
28808
28809
28810
28811
28812
28813
28814
28815
28816
28817
28818
28819
28820
28821
28822
28823
28824
28825
28826
28827
28828
28829
28830
28831
28832
28833
28834
28835
28836
28837
28838
28839
28840
28841
28842
28843
28844
28845
28846
28847
28848
28849
28850
28851
28852
28853
28854
28855
28856
28857
28858
28859
28860
28861
28862
28863
28864
28865
28866
28867
28868
28869
28870
28871
28872
28873
28874
28875
28876
28877
28878
28879
28880
28881
28882
28883
28884
28885
28886
28887
28888
28889
28890
28891
28892
28893
28894
28895
28896
28897
28898
28899
28900
28901
28902
28903
28904
28905
28906
28907
28908
28909
28910
28911
28912
28913
28914
28915
28916
28917
28918
28919
28920
28921
28922
28923
28924
28925
28926
28927
28928
28929
28930
28931
28932
28933
28934
28935
28936
28937
28938
28939
28940
28941
28942
28943
28944
28945
28946
28947
28948
28949
28950
28951
28952
28953
28954
28955
28956
28957
28958
28959
28960
28961
28962
28963
28964
28965
28966
28967
28968
28969
28970
28971
28972
28973
28974
28975
28976
28977
28978
28979
28980
28981
28982
28983
28984
28985
28986
28987
28988
28989
28990
28991
28992
28993
28994
28995
28996
28997
28998
28999
29000
29001
29002
29003
29004
29005
29006
29007
29008
29009
29010
29011
29012
29013
29014
29015
29016
29017
29018
29019
29020
29021
29022
29023
29024
29025
29026
29027
29028
29029
29030
29031
29032
29033
29034
29035
29036
29037
29038
29039
29040
29041
29042
29043
29044
29045
29046
29047
29048
29049
29050
29051
29052
29053
29054
29055
29056
29057
29058
29059
29060
29061
29062
29063
29064
29065
29066
29067
29068
29069
29070
29071
29072
29073
29074
29075
29076
29077
29078
29079
29080
29081
29082
29083
29084
29085
29086
29087
29088
29089
29090
29091
29092
29093
29094
29095
29096
29097
29098
29099
29100
29101
29102
29103
29104
29105
29106
29107
29108
29109
29110
29111
29112
29113
29114
29115
29116
29117
29118
29119
29120
29121
29122
29123
29124
29125
29126
29127
29128
29129
29130
29131
29132
29133
29134
29135
29136
29137
29138
29139
29140
29141
29142
29143
29144
29145
29146
29147
29148
29149
29150
29151
29152
29153
29154
29155
29156
29157
29158
29159
29160
29161
29162
29163
29164
29165
29166
29167
29168
29169
29170
29171
29172
29173
29174
29175
29176
29177
29178
29179
29180
29181
29182
29183
29184
29185
29186
29187
29188
29189
29190
29191
29192
29193
29194
29195
29196
29197
29198
29199
29200
29201
29202
29203
29204
29205
29206
29207
29208
29209
29210
29211
29212
29213
29214
29215
29216
29217
29218
29219
29220
29221
29222
29223
29224
29225
29226
29227
29228
29229
29230
29231
29232
29233
29234
29235
29236
29237
29238
29239
29240
29241
29242
29243
29244
29245
29246
29247
29248
29249
29250
29251
29252
29253
29254
29255
29256
29257
29258
29259
29260
29261
29262
29263
29264
29265
29266
29267
29268
29269
29270
29271
29272
29273
29274
29275
29276
29277
29278
29279
29280
29281
29282
29283
29284
29285
29286
29287
29288
29289
29290
29291
29292
29293
29294
29295
29296
29297
29298
29299
29300
29301
29302
29303
29304
29305
29306
29307
29308
29309
29310
29311
29312
29313
29314
29315
29316
29317
29318
29319
29320
29321
29322
29323
29324
29325
29326
29327
29328
29329
29330
29331
29332
29333
29334
29335
29336
29337
29338
29339
29340
29341
29342
29343
29344
29345
29346
29347
29348
29349
29350
29351
29352
29353
29354
29355
29356
29357
29358
29359
29360
29361
29362
29363
29364
29365
29366
29367
29368
29369
29370
29371
29372
29373
29374
29375
29376
29377
29378
29379
29380
29381
29382
29383
29384
29385
29386
29387
29388
29389
29390
29391
29392
29393
29394
29395
29396
29397
29398
29399
29400
29401
29402
29403
29404
29405
29406
29407
29408
29409
29410
29411
29412
29413
29414
29415
29416
29417
29418
29419
29420
29421
29422
29423
29424
29425
29426
29427
29428
29429
29430
29431
29432
29433
29434
29435
29436
29437
29438
29439
29440
29441
29442
29443
29444
29445
29446
29447
29448
29449
29450
29451
29452
29453
29454
29455
29456
29457
29458
29459
29460
29461
29462
29463
29464
29465
29466
29467
29468
29469
29470
29471
29472
29473
29474
29475
29476
29477
29478
29479
29480
29481
29482
29483
29484
29485
29486
29487
29488
29489
29490
29491
29492
29493
29494
29495
29496
29497
29498
29499
29500
29501
29502
29503
29504
29505
29506
29507
29508
29509
29510
29511
29512
29513
29514
29515
29516
29517
29518
29519
29520
29521
29522
29523
29524
29525
29526
29527
29528
29529
29530
29531
29532
29533
29534
29535
29536
29537
29538
29539
29540
29541
29542
29543
29544
29545
29546
29547
29548
29549
29550
29551
29552
29553
29554
29555
29556
29557
29558
29559
29560
29561
29562
29563
29564
29565
29566
29567
29568
29569
29570
29571
29572
29573
29574
29575
29576
29577
29578
29579
29580
29581
29582
29583
29584
29585
29586
29587
29588
29589
29590
29591
29592
29593
29594
29595
29596
29597
29598
29599
29600
29601
29602
29603
29604
29605
29606
29607
29608
29609
29610
29611
29612
29613
29614
29615
29616
29617
29618
29619
29620
29621
29622
29623
29624
29625
29626
29627
29628
29629
29630
29631
29632
29633
29634
29635
29636
29637
29638
29639
29640
29641
29642
29643
29644
29645
29646
29647
29648
29649
29650
29651
29652
29653
29654
29655
29656
29657
29658
29659
29660
29661
29662
29663
29664
29665
29666
29667
29668
29669
29670
29671
29672
29673
29674
29675
29676
29677
29678
29679
29680
29681
29682
29683
29684
29685
29686
29687
29688
29689
29690
29691
29692
29693
29694
29695
29696
29697
29698
29699
29700
29701
29702
29703
29704
29705
29706
29707
29708
29709
29710
29711
29712
29713
29714
29715
29716
29717
29718
29719
29720
29721
29722
29723
29724
29725
29726
29727
29728
29729
29730
29731
29732
29733
29734
29735
29736
29737
29738
29739
29740
29741
29742
29743
29744
29745
29746
29747
29748
29749
29750
29751
29752
29753
29754
29755
29756
29757
29758
29759
29760
29761
29762
29763
29764
29765
29766
29767
29768
29769
29770
29771
29772
29773
29774
29775
29776
29777
29778
29779
29780
29781
29782
29783
29784
29785
29786
29787
29788
29789
29790
29791
29792
29793
29794
29795
29796
29797
29798
29799
29800
29801
29802
29803
29804
29805
29806
29807
29808
29809
29810
29811
29812
29813
29814
29815
29816
29817
29818
29819
29820
29821
29822
29823
29824
29825
29826
29827
29828
29829
29830
29831
29832
29833
29834
29835
29836
29837
29838
29839
29840
29841
29842
29843
29844
29845
29846
29847
29848
29849
29850
29851
29852
29853
29854
29855
29856
29857
29858
29859
29860
29861
29862
29863
29864
29865
29866
29867
29868
29869
29870
29871
29872
29873
29874
29875
29876
29877
29878
29879
29880
29881
29882
29883
29884
29885
29886
29887
29888
29889
29890
29891
29892
29893
29894
29895
29896
29897
29898
29899
29900
29901
29902
29903
29904
29905
29906
29907
29908
29909
29910
29911
29912
29913
29914
29915
29916
29917
29918
29919
29920
29921
29922
29923
29924
29925
29926
29927
29928
29929
29930
29931
29932
29933
29934
29935
29936
29937
29938
29939
29940
29941
29942
29943
29944
29945
29946
29947
29948
29949
29950
29951
29952
29953
29954
29955
29956
29957
29958
29959
29960
29961
29962
29963
29964
29965
29966
29967
29968
29969
29970
29971
29972
29973
29974
29975
29976
29977
29978
29979
29980
29981
29982
29983
29984
29985
29986
29987
29988
29989
29990
29991
29992
29993
29994
29995
29996
29997
29998
29999
30000
30001
30002
30003
30004
30005
30006
30007
30008
30009
30010
30011
30012
30013
30014
30015
30016
30017
30018
30019
30020
30021
30022
30023
30024
30025
30026
30027
30028
30029
30030
30031
30032
30033
30034
30035
30036
30037
30038
30039
30040
30041
30042
30043
30044
30045
30046
30047
30048
30049
30050
30051
30052
30053
30054
30055
30056
30057
30058
30059
30060
30061
30062
30063
30064
30065
30066
30067
30068
30069
30070
30071
30072
30073
30074
30075
30076
30077
30078
30079
30080
30081
30082
30083
30084
30085
30086
30087
30088
30089
30090
30091
30092
30093
30094
30095
30096
30097
30098
30099
30100
30101
30102
30103
30104
30105
30106
30107
30108
30109
30110
30111
30112
30113
30114
30115
30116
30117
30118
30119
30120
30121
30122
30123
30124
30125
30126
30127
30128
30129
30130
30131
30132
30133
30134
30135
30136
30137
30138
30139
30140
30141
30142
30143
30144
30145
30146
30147
30148
30149
30150
30151
30152
30153
30154
30155
30156
30157
30158
30159
30160
30161
30162
30163
30164
30165
30166
30167
30168
30169
30170
30171
30172
30173
30174
30175
30176
30177
30178
30179
30180
30181
30182
30183
30184
30185
30186
30187
30188
30189
30190
30191
30192
30193
30194
30195
30196
30197
30198
30199
30200
30201
30202
30203
30204
30205
30206
30207
30208
30209
30210
30211
30212
30213
30214
30215
30216
30217
30218
30219
30220
30221
30222
30223
30224
30225
30226
30227
30228
30229
30230
30231
30232
30233
30234
30235
30236
30237
30238
30239
30240
30241
30242
30243
30244
30245
30246
30247
30248
30249
30250
30251
30252
30253
30254
30255
30256
30257
30258
30259
30260
30261
30262
30263
30264
30265
30266
30267
30268
30269
30270
30271
30272
30273
30274
30275
30276
30277
30278
30279
30280
30281
30282
30283
30284
30285
30286
30287
30288
30289
30290
30291
30292
30293
30294
30295
30296
30297
30298
30299
30300
30301
30302
30303
30304
30305
30306
30307
30308
30309
30310
30311
30312
30313
30314
30315
30316
30317
30318
30319
30320
30321
30322
30323
30324
30325
30326
30327
30328
30329
30330
30331
30332
30333
30334
30335
30336
30337
30338
30339
30340
30341
30342
30343
30344
30345
30346
30347
30348
30349
30350
30351
30352
30353
30354
30355
30356
30357
30358
30359
30360
30361
30362
30363
30364
30365
30366
30367
30368
30369
30370
30371
30372
30373
30374
30375
30376
30377
30378
30379
30380
30381
30382
30383
30384
30385
30386
30387
30388
30389
30390
30391
30392
30393
30394
30395
30396
30397
30398
30399
30400
30401
30402
30403
30404
30405
30406
30407
30408
30409
30410
30411
30412
30413
30414
30415
30416
30417
30418
30419
30420
30421
30422
30423
30424
30425
30426
30427
30428
30429
30430
30431
30432
30433
30434
30435
30436
30437
30438
30439
30440
30441
30442
30443
30444
30445
30446
30447
30448
30449
30450
30451
30452
30453
30454
30455
30456
30457
30458
30459
30460
30461
30462
30463
30464
30465
30466
30467
30468
30469
30470
30471
30472
30473
30474
30475
30476
30477
30478
30479
30480
30481
30482
30483
30484
30485
30486
30487
30488
30489
30490
30491
30492
30493
30494
30495
30496
30497
30498
30499
30500
30501
30502
30503
30504
30505
30506
30507
30508
30509
30510
30511
30512
30513
30514
30515
30516
30517
30518
30519
30520
30521
30522
30523
30524
30525
30526
30527
30528
30529
30530
30531
30532
30533
30534
30535
30536
30537
30538
30539
30540
30541
30542
30543
30544
30545
30546
30547
30548
30549
30550
30551
30552
30553
30554
30555
30556
30557
30558
30559
30560
30561
30562
30563
30564
30565
30566
30567
30568
30569
30570
30571
30572
30573
30574
30575
30576
30577
30578
30579
30580
30581
30582
30583
30584
30585
30586
30587
30588
30589
30590
30591
30592
30593
30594
30595
30596
30597
30598
30599
30600
30601
30602
30603
30604
30605
30606
30607
30608
30609
30610
30611
30612
30613
30614
30615
30616
30617
30618
30619
30620
30621
30622
30623
30624
30625
30626
30627
30628
30629
30630
30631
30632
30633
30634
30635
30636
30637
30638
30639
30640
30641
30642
30643
30644
30645
30646
30647
30648
30649
30650
30651
30652
30653
30654
30655
30656
30657
30658
30659
30660
30661
30662
30663
30664
30665
30666
30667
30668
30669
30670
30671
30672
30673
30674
30675
30676
30677
30678
30679
30680
30681
30682
30683
30684
30685
30686
30687
30688
30689
30690
30691
30692
30693
30694
30695
30696
30697
30698
30699
30700
30701
30702
30703
30704
30705
30706
30707
30708
30709
30710
30711
30712
30713
30714
30715
30716
30717
30718
30719
30720
30721
30722
30723
30724
30725
30726
30727
30728
30729
30730
30731
30732
30733
30734
30735
30736
30737
30738
30739
30740
30741
30742
30743
30744
30745
30746
30747
30748
30749
30750
30751
30752
30753
30754
30755
30756
30757
30758
30759
30760
30761
30762
30763
30764
30765
30766
30767
30768
30769
30770
30771
30772
30773
30774
30775
30776
30777
30778
30779
30780
30781
30782
30783
30784
30785
30786
30787
30788
30789
30790
30791
30792
30793
30794
30795
30796
30797
30798
30799
30800
30801
30802
30803
30804
30805
30806
30807
30808
30809
30810
30811
30812
30813
30814
30815
30816
30817
30818
30819
30820
30821
30822
30823
30824
30825
30826
30827
30828
30829
30830
30831
30832
30833
30834
30835
30836
30837
30838
30839
30840
30841
30842
30843
30844
30845
30846
30847
30848
30849
30850
30851
30852
30853
30854
30855
30856
30857
30858
30859
30860
30861
30862
30863
30864
30865
30866
30867
30868
30869
30870
30871
30872
30873
30874
30875
30876
30877
30878
30879
30880
30881
30882
30883
30884
30885
30886
30887
30888
30889
30890
30891
30892
30893
30894
30895
30896
30897
30898
30899
30900
30901
30902
30903
30904
30905
30906
30907
30908
30909
30910
30911
30912
30913
30914
30915
30916
30917
30918
30919
30920
30921
30922
30923
30924
30925
30926
30927
30928
30929
30930
30931
30932
30933
30934
30935
30936
30937
30938
30939
30940
30941
30942
30943
30944
30945
30946
30947
30948
30949
30950
30951
30952
30953
30954
30955
30956
30957
30958
30959
30960
30961
30962
30963
30964
30965
30966
30967
30968
30969
30970
30971
30972
30973
30974
30975
30976
30977
30978
30979
30980
30981
30982
30983
30984
30985
30986
30987
30988
30989
30990
30991
30992
30993
30994
30995
30996
30997
30998
30999
31000
31001
31002
31003
31004
31005
31006
31007
31008
31009
31010
31011
31012
31013
31014
31015
31016
31017
31018
31019
31020
31021
31022
31023
31024
31025
31026
31027
31028
31029
31030
31031
31032
31033
31034
31035
31036
31037
31038
31039
31040
31041
31042
31043
31044
31045
31046
31047
31048
31049
31050
31051
31052
31053
31054
31055
31056
31057
31058
31059
31060
31061
31062
31063
31064
31065
31066
31067
31068
31069
31070
31071
31072
31073
31074
31075
31076
31077
31078
31079
31080
31081
31082
31083
31084
31085
31086
31087
31088
31089
31090
31091
31092
31093
31094
31095
31096
31097
31098
31099
31100
31101
31102
31103
31104
31105
31106
31107
31108
31109
31110
31111
31112
31113
31114
31115
31116
31117
31118
31119
31120
31121
31122
31123
31124
31125
31126
31127
31128
31129
31130
31131
31132
31133
31134
31135
31136
31137
31138
31139
31140
31141
31142
31143
31144
31145
31146
31147
31148
31149
31150
31151
31152
31153
31154
31155
31156
31157
31158
31159
31160
31161
31162
31163
31164
31165
31166
31167
31168
31169
31170
31171
31172
31173
31174
31175
31176
31177
31178
31179
31180
31181
31182
31183
31184
31185
31186
31187
31188
31189
31190
31191
31192
31193
31194
31195
31196
31197
31198
31199
31200
31201
31202
31203
31204
31205
31206
31207
31208
31209
31210
31211
31212
31213
31214
31215
31216
31217
31218
31219
31220
31221
31222
31223
31224
31225
31226
31227
31228
31229
31230
31231
31232
31233
31234
31235
31236
31237
31238
31239
31240
31241
31242
31243
31244
31245
31246
31247
31248
31249
31250
31251
31252
31253
31254
31255
31256
31257
31258
31259
31260
31261
31262
31263
31264
31265
31266
31267
31268
31269
31270
31271
31272
31273
31274
31275
31276
31277
31278
31279
31280
31281
31282
31283
31284
31285
31286
31287
31288
31289
31290
31291
31292
31293
31294
31295
31296
31297
31298
31299
31300
31301
31302
31303
31304
31305
31306
31307
31308
31309
31310
31311
31312
31313
31314
31315
31316
31317
31318
31319
31320
31321
31322
31323
31324
31325
31326
31327
31328
31329
31330
31331
31332
31333
31334
31335
31336
31337
31338
31339
31340
31341
31342
31343
31344
31345
31346
31347
31348
31349
31350
31351
31352
31353
31354
31355
31356
31357
31358
31359
31360
31361
31362
31363
31364
31365
31366
31367
31368
31369
31370
31371
31372
31373
31374
31375
31376
31377
31378
31379
31380
31381
31382
31383
31384
31385
31386
31387
31388
31389
31390
31391
31392
31393
31394
31395
31396
31397
31398
31399
31400
31401
31402
31403
31404
31405
31406
31407
31408
31409
31410
31411
31412
31413
31414
31415
31416
31417
31418
31419
31420
31421
31422
31423
31424
31425
31426
31427
31428
31429
31430
31431
31432
31433
31434
31435
31436
31437
31438
31439
31440
31441
31442
31443
31444
31445
31446
31447
31448
31449
31450
31451
31452
31453
31454
31455
31456
31457
31458
31459
31460
31461
31462
31463
31464
31465
31466
31467
31468
31469
31470
31471
31472
31473
31474
31475
31476
31477
31478
31479
31480
31481
31482
31483
31484
31485
31486
31487
31488
31489
31490
31491
31492
31493
31494
31495
31496
31497
31498
31499
31500
31501
31502
31503
31504
31505
31506
31507
31508
31509
31510
31511
31512
31513
31514
31515
31516
31517
31518
31519
31520
31521
31522
31523
31524
31525
31526
31527
31528
31529
31530
31531
31532
31533
31534
31535
31536
31537
31538
31539
31540
31541
31542
31543
31544
31545
31546
31547
31548
31549
31550
31551
31552
31553
31554
31555
31556
31557
31558
31559
31560
31561
31562
31563
31564
31565
31566
31567
31568
31569
31570
31571
31572
31573
31574
31575
31576
31577
31578
31579
31580
31581
31582
31583
31584
31585
31586
31587
31588
31589
31590
31591
31592
31593
31594
31595
31596
31597
31598
31599
31600
31601
31602
31603
31604
31605
31606
31607
31608
31609
31610
31611
31612
31613
31614
31615
31616
31617
31618
31619
31620
31621
31622
31623
31624
31625
31626
31627
31628
31629
31630
31631
31632
31633
31634
31635
31636
31637
31638
31639
31640
31641
31642
31643
31644
31645
31646
31647
31648
31649
31650
31651
31652
31653
31654
31655
31656
31657
31658
31659
31660
31661
31662
31663
31664
31665
31666
31667
31668
31669
31670
31671
31672
31673
31674
31675
31676
31677
31678
31679
31680
31681
31682
31683
31684
31685
31686
31687
31688
31689
31690
31691
31692
31693
31694
31695
31696
31697
31698
31699
31700
31701
31702
31703
31704
31705
31706
31707
31708
31709
31710
31711
31712
31713
31714
31715
31716
31717
31718
31719
31720
31721
31722
31723
31724
31725
31726
31727
31728
31729
31730
31731
31732
31733
31734
31735
31736
31737
31738
31739
31740
31741
31742
31743
31744
31745
31746
31747
31748
31749
31750
31751
31752
31753
31754
31755
31756
31757
31758
31759
31760
31761
31762
31763
31764
31765
31766
31767
31768
31769
31770
31771
31772
31773
31774
31775
31776
31777
31778
31779
31780
31781
31782
31783
31784
31785
31786
31787
31788
31789
31790
31791
31792
31793
31794
31795
31796
31797
31798
31799
31800
31801
31802
31803
31804
31805
31806
31807
31808
31809
31810
31811
31812
31813
31814
31815
31816
31817
31818
31819
31820
31821
31822
31823
31824
31825
31826
31827
31828
31829
31830
31831
31832
31833
31834
31835
31836
31837
31838
31839
31840
31841
31842
31843
31844
31845
31846
31847
31848
31849
31850
31851
31852
31853
31854
31855
31856
31857
31858
31859
31860
31861
31862
31863
31864
31865
31866
31867
31868
31869
31870
31871
31872
31873
31874
31875
31876
31877
31878
31879
31880
31881
31882
31883
31884
31885
31886
31887
31888
31889
31890
31891
31892
31893
31894
31895
31896
31897
31898
31899
31900
31901
31902
31903
31904
31905
31906
31907
31908
31909
31910
31911
31912
31913
31914
31915
31916
31917
31918
31919
31920
31921
31922
31923
31924
31925
31926
31927
31928
31929
31930
31931
31932
31933
31934
31935
31936
31937
31938
31939
31940
31941
31942
31943
31944
31945
31946
31947
31948
31949
31950
31951
31952
31953
31954
31955
31956
31957
31958
31959
31960
31961
31962
31963
31964
31965
31966
31967
31968
31969
31970
31971
31972
31973
31974
31975
31976
31977
31978
31979
31980
31981
31982
31983
31984
31985
31986
31987
31988
31989
31990
31991
31992
31993
31994
31995
31996
31997
31998
31999
32000
32001
32002
32003
32004
32005
32006
32007
32008
32009
32010
32011
32012
32013
32014
32015
32016
32017
32018
32019
32020
32021
32022
32023
32024
32025
32026
32027
32028
32029
32030
32031
32032
32033
32034
32035
32036
32037
32038
32039
32040
32041
32042
32043
32044
32045
32046
32047
32048
32049
32050
32051
32052
32053
32054
32055
32056
32057
32058
32059
32060
32061
32062
32063
32064
32065
32066
32067
32068
32069
32070
32071
32072
32073
32074
32075
32076
32077
32078
32079
32080
32081
32082
32083
32084
32085
32086
32087
32088
32089
32090
32091
32092
32093
32094
32095
32096
32097
32098
32099
32100
32101
32102
32103
32104
32105
32106
32107
32108
32109
32110
32111
32112
32113
32114
32115
32116
32117
32118
32119
32120
32121
32122
32123
32124
32125
32126
32127
32128
32129
32130
32131
32132
32133
32134
32135
32136
32137
32138
32139
32140
32141
32142
32143
32144
32145
32146
32147
32148
32149
32150
32151
32152
32153
32154
32155
32156
32157
32158
32159
32160
32161
32162
32163
32164
32165
32166
32167
32168
32169
32170
32171
32172
32173
32174
32175
32176
32177
32178
32179
32180
32181
32182
32183
32184
32185
32186
32187
32188
32189
32190
32191
32192
32193
32194
32195
32196
32197
32198
32199
32200
32201
32202
32203
32204
32205
32206
32207
32208
32209
32210
32211
32212
32213
32214
32215
32216
32217
32218
32219
32220
32221
32222
32223
32224
32225
32226
32227
32228
32229
32230
32231
32232
32233
32234
32235
32236
32237
32238
32239
32240
32241
32242
32243
32244
32245
32246
32247
32248
32249
32250
32251
32252
32253
32254
32255
32256
32257
32258
32259
32260
32261
32262
32263
32264
32265
32266
32267
32268
32269
32270
32271
32272
32273
32274
32275
32276
32277
32278
32279
32280
32281
32282
32283
32284
32285
32286
32287
32288
32289
32290
32291
32292
32293
32294
32295
32296
32297
32298
32299
32300
32301
32302
32303
32304
32305
32306
32307
32308
32309
32310
32311
32312
32313
32314
32315
32316
32317
32318
32319
32320
32321
32322
32323
32324
32325
32326
32327
32328
32329
32330
32331
32332
32333
32334
32335
32336
32337
32338
32339
32340
32341
32342
32343
32344
32345
32346
32347
32348
32349
32350
32351
32352
32353
32354
32355
32356
32357
32358
32359
32360
32361
32362
32363
32364
32365
32366
32367
32368
32369
32370
32371
32372
32373
32374
32375
32376
32377
32378
32379
32380
32381
32382
32383
32384
32385
32386
32387
32388
32389
32390
32391
32392
32393
32394
32395
32396
32397
32398
32399
32400
32401
32402
32403
32404
32405
32406
32407
32408
32409
32410
32411
32412
32413
32414
32415
32416
32417
32418
32419
32420
32421
32422
32423
32424
32425
32426
32427
32428
32429
32430
32431
32432
32433
32434
32435
32436
32437
32438
32439
32440
32441
32442
32443
32444
32445
32446
32447
32448
32449
32450
32451
32452
32453
32454
32455
32456
32457
32458
32459
32460
32461
32462
32463
32464
32465
32466
32467
32468
32469
32470
32471
32472
32473
32474
32475
32476
32477
32478
32479
32480
32481
32482
32483
32484
32485
32486
32487
32488
32489
32490
32491
32492
32493
32494
32495
32496
32497
32498
32499
32500
32501
32502
32503
32504
32505
32506
32507
32508
32509
32510
32511
32512
32513
32514
32515
32516
32517
32518
32519
32520
32521
32522
32523
32524
32525
32526
32527
32528
32529
32530
32531
32532
32533
32534
32535
32536
32537
32538
32539
32540
32541
32542
32543
32544
32545
32546
32547
32548
32549
32550
32551
32552
32553
32554
32555
32556
32557
32558
32559
32560
32561
32562
32563
32564
32565
32566
32567
32568
32569
32570
32571
32572
32573
32574
32575
32576
32577
32578
32579
32580
32581
32582
32583
32584
32585
32586
32587
32588
32589
32590
32591
32592
32593
32594
32595
32596
32597
32598
32599
32600
32601
32602
32603
32604
32605
32606
32607
32608
32609
32610
32611
32612
32613
32614
32615
32616
32617
32618
32619
32620
32621
32622
32623
32624
32625
32626
32627
32628
32629
32630
32631
32632
32633
32634
32635
32636
32637
32638
32639
32640
32641
32642
32643
32644
32645
32646
32647
32648
32649
32650
32651
32652
32653
32654
32655
32656
32657
32658
32659
32660
32661
32662
32663
32664
32665
32666
32667
32668
32669
32670
32671
32672
32673
32674
32675
32676
32677
32678
32679
32680
32681
32682
32683
32684
32685
32686
32687
32688
32689
32690
32691
32692
32693
32694
32695
32696
32697
32698
32699
32700
32701
32702
32703
32704
32705
32706
32707
32708
32709
32710
32711
32712
32713
32714
32715
32716
32717
32718
32719
32720
32721
32722
32723
32724
32725
32726
32727
32728
32729
32730
32731
32732
32733
32734
32735
32736
32737
32738
32739
32740
32741
32742
32743
32744
32745
32746
32747
32748
32749
32750
32751
32752
32753
32754
32755
32756
32757
32758
32759
32760
32761
32762
32763
32764
32765
32766
32767
32768
32769
32770
32771
32772
32773
32774
32775
32776
32777
32778
32779
32780
32781
32782
32783
32784
32785
32786
32787
32788
32789
32790
32791
32792
32793
32794
32795
32796
32797
32798
32799
32800
32801
32802
32803
32804
32805
32806
32807
32808
32809
32810
32811
32812
32813
32814
32815
32816
32817
32818
32819
32820
32821
32822
32823
32824
32825
32826
32827
32828
32829
32830
32831
32832
32833
32834
32835
32836
32837
32838
32839
32840
32841
32842
32843
32844
32845
32846
32847
32848
32849
32850
32851
32852
32853
32854
32855
32856
32857
32858
32859
32860
32861
32862
32863
32864
32865
32866
32867
32868
32869
32870
32871
32872
32873
32874
32875
32876
32877
32878
32879
32880
32881
32882
32883
32884
32885
32886
32887
32888
32889
32890
32891
32892
32893
32894
32895
32896
32897
32898
32899
32900
32901
32902
32903
32904
32905
32906
32907
32908
32909
32910
32911
32912
32913
32914
32915
32916
32917
32918
32919
32920
32921
32922
32923
32924
32925
32926
32927
32928
32929
32930
32931
32932
32933
32934
32935
32936
32937
32938
32939
32940
32941
32942
32943
32944
32945
32946
32947
32948
32949
32950
32951
32952
32953
32954
32955
32956
32957
32958
32959
32960
32961
32962
32963
32964
32965
32966
32967
32968
32969
32970
32971
32972
32973
32974
32975
32976
32977
32978
32979
32980
32981
32982
32983
32984
32985
32986
32987
32988
32989
32990
32991
32992
32993
32994
32995
32996
32997
32998
32999
33000
33001
33002
33003
33004
33005
33006
33007
33008
33009
33010
33011
33012
33013
33014
33015
33016
33017
33018
33019
33020
33021
33022
33023
33024
33025
33026
33027
33028
33029
33030
33031
33032
33033
33034
33035
33036
33037
33038
33039
33040
33041
33042
33043
33044
33045
33046
33047
33048
33049
33050
33051
33052
33053
33054
33055
33056
33057
33058
33059
33060
33061
33062
33063
33064
33065
33066
33067
33068
33069
33070
33071
33072
33073
33074
33075
33076
33077
33078
33079
33080
33081
33082
33083
33084
33085
33086
33087
33088
33089
33090
33091
33092
33093
33094
33095
33096
33097
33098
33099
33100
33101
33102
33103
33104
33105
33106
33107
33108
33109
33110
33111
33112
33113
33114
33115
33116
33117
33118
33119
33120
33121
33122
33123
33124
33125
33126
33127
33128
33129
33130
33131
33132
33133
33134
33135
33136
33137
33138
33139
33140
33141
33142
33143
33144
33145
33146
33147
33148
33149
33150
33151
33152
33153
33154
33155
33156
33157
33158
33159
33160
33161
33162
33163
33164
33165
33166
33167
33168
33169
33170
33171
33172
33173
33174
33175
33176
33177
33178
33179
33180
33181
33182
33183
33184
33185
33186
33187
33188
33189
33190
33191
33192
33193
33194
33195
33196
33197
33198
33199
33200
33201
33202
33203
33204
33205
33206
33207
33208
33209
33210
33211
33212
33213
33214
33215
33216
33217
33218
33219
33220
33221
33222
33223
33224
33225
33226
33227
33228
33229
33230
33231
33232
33233
33234
33235
33236
33237
33238
33239
33240
33241
33242
33243
33244
33245
33246
33247
33248
33249
33250
33251
33252
33253
33254
33255
33256
33257
33258
33259
33260
33261
33262
33263
33264
33265
33266
33267
33268
33269
33270
33271
33272
33273
33274
33275
33276
33277
33278
33279
33280
33281
33282
33283
33284
33285
33286
33287
33288
33289
33290
33291
33292
33293
33294
33295
33296
33297
33298
33299
33300
33301
33302
33303
33304
33305
33306
33307
33308
33309
33310
33311
33312
33313
33314
33315
33316
33317
33318
33319
33320
33321
33322
33323
33324
33325
33326
33327
33328
33329
33330
33331
33332
33333
33334
33335
33336
33337
33338
33339
33340
33341
33342
33343
33344
33345
33346
33347
33348
33349
33350
33351
33352
33353
33354
33355
33356
33357
33358
33359
33360
33361
33362
33363
33364
33365
33366
33367
33368
33369
33370
33371
33372
33373
33374
33375
33376
33377
33378
33379
33380
33381
33382
33383
33384
33385
33386
33387
33388
33389
33390
33391
33392
33393
33394
33395
33396
33397
33398
33399
33400
33401
33402
33403
33404
33405
33406
33407
33408
33409
33410
33411
33412
33413
33414
33415
33416
33417
33418
33419
33420
33421
33422
33423
33424
33425
33426
33427
33428
33429
33430
33431
33432
33433
33434
33435
33436
33437
33438
33439
33440
33441
33442
33443
33444
33445
33446
33447
33448
33449
33450
33451
33452
33453
33454
33455
33456
33457
33458
33459
33460
33461
33462
33463
33464
33465
33466
33467
33468
33469
33470
33471
33472
33473
33474
33475
33476
33477
33478
33479
33480
33481
33482
33483
33484
33485
33486
33487
33488
33489
33490
33491
33492
33493
33494
33495
33496
33497
33498
33499
33500
33501
33502
33503
33504
33505
33506
33507
33508
33509
33510
33511
33512
33513
33514
33515
33516
33517
33518
33519
33520
33521
33522
33523
33524
33525
33526
33527
33528
33529
33530
33531
33532
33533
33534
33535
33536
33537
33538
33539
33540
33541
33542
33543
33544
33545
33546
33547
33548
33549
33550
33551
33552
33553
33554
33555
33556
33557
33558
33559
33560
33561
33562
33563
33564
33565
33566
33567
33568
33569
33570
33571
33572
33573
33574
33575
33576
33577
33578
33579
33580
33581
33582
33583
33584
33585
33586
33587
33588
33589
33590
33591
33592
33593
33594
33595
33596
33597
33598
33599
33600
33601
33602
33603
33604
33605
33606
33607
33608
33609
33610
33611
33612
33613
33614
33615
33616
33617
33618
33619
33620
33621
33622
33623
33624
33625
33626
33627
33628
33629
33630
33631
33632
33633
33634
33635
33636
33637
33638
33639
33640
33641
33642
33643
33644
33645
33646
33647
33648
33649
33650
33651
33652
33653
33654
33655
33656
33657
33658
33659
33660
33661
33662
33663
33664
33665
33666
33667
33668
33669
33670
33671
33672
33673
33674
33675
33676
33677
33678
33679
33680
33681
33682
33683
33684
33685
33686
33687
33688
33689
33690
33691
33692
33693
33694
33695
33696
33697
33698
33699
33700
33701
33702
33703
33704
33705
33706
33707
33708
33709
33710
33711
33712
33713
33714
33715
33716
33717
33718
33719
33720
33721
33722
33723
33724
33725
33726
33727
33728
33729
33730
33731
33732
33733
33734
33735
33736
33737
33738
33739
33740
33741
33742
33743
33744
33745
33746
33747
33748
33749
33750
33751
33752
33753
33754
33755
33756
33757
33758
33759
33760
33761
33762
33763
33764
33765
33766
33767
33768
33769
33770
33771
33772
33773
33774
33775
33776
33777
33778
33779
33780
33781
33782
33783
33784
33785
33786
33787
33788
33789
33790
33791
33792
33793
33794
33795
33796
33797
33798
33799
33800
33801
33802
33803
33804
33805
33806
33807
33808
33809
33810
33811
33812
33813
33814
33815
33816
33817
33818
33819
33820
33821
33822
33823
33824
33825
33826
33827
33828
33829
33830
33831
33832
33833
33834
33835
33836
33837
33838
33839
33840
33841
33842
33843
33844
33845
33846
33847
33848
33849
33850
33851
33852
33853
33854
33855
33856
33857
33858
33859
33860
33861
33862
33863
33864
33865
33866
33867
33868
33869
33870
33871
33872
33873
33874
33875
33876
33877
33878
33879
33880
33881
33882
33883
33884
33885
33886
33887
33888
33889
33890
33891
33892
33893
33894
33895
33896
33897
33898
33899
33900
33901
33902
33903
33904
33905
33906
33907
33908
33909
33910
33911
33912
33913
33914
33915
33916
33917
33918
33919
33920
33921
33922
33923
33924
33925
33926
33927
33928
33929
33930
33931
33932
33933
33934
33935
33936
33937
33938
33939
33940
33941
33942
33943
33944
33945
33946
33947
33948
33949
33950
33951
33952
33953
33954
33955
33956
33957
33958
33959
33960
33961
33962
33963
33964
33965
33966
33967
33968
33969
33970
33971
33972
33973
33974
33975
33976
33977
33978
33979
33980
33981
33982
33983
33984
33985
33986
33987
33988
33989
33990
33991
33992
33993
33994
33995
33996
33997
33998
33999
34000
34001
34002
34003
34004
34005
34006
34007
34008
34009
34010
34011
34012
34013
34014
34015
34016
34017
34018
34019
34020
34021
34022
34023
34024
34025
34026
34027
34028
34029
34030
34031
34032
34033
34034
34035
34036
34037
34038
34039
34040
34041
34042
34043
34044
34045
34046
34047
34048
34049
34050
34051
34052
34053
34054
34055
34056
34057
34058
34059
34060
34061
34062
34063
34064
34065
34066
34067
34068
34069
34070
34071
34072
34073
34074
34075
34076
34077
34078
34079
34080
34081
34082
34083
34084
34085
34086
34087
34088
34089
34090
34091
34092
34093
34094
34095
34096
34097
34098
34099
34100
34101
34102
34103
34104
34105
34106
34107
34108
34109
34110
34111
34112
34113
34114
34115
34116
34117
34118
34119
34120
34121
34122
34123
34124
34125
34126
34127
34128
34129
34130
34131
34132
34133
34134
34135
34136
34137
34138
34139
34140
34141
34142
34143
34144
34145
34146
34147
34148
34149
34150
34151
34152
34153
34154
34155
34156
34157
34158
34159
34160
34161
34162
34163
34164
34165
34166
34167
34168
34169
34170
34171
34172
34173
34174
34175
34176
34177
34178
34179
34180
34181
34182
34183
34184
34185
34186
34187
34188
34189
34190
34191
34192
34193
34194
34195
34196
34197
34198
34199
34200
34201
34202
34203
34204
34205
34206
34207
34208
34209
34210
34211
34212
34213
34214
34215
34216
34217
34218
34219
34220
34221
34222
34223
34224
34225
34226
34227
34228
34229
34230
34231
34232
34233
34234
34235
34236
34237
34238
34239
34240
34241
34242
34243
34244
34245
34246
34247
34248
34249
34250
34251
34252
34253
34254
34255
34256
34257
34258
34259
34260
34261
34262
34263
34264
34265
34266
34267
34268
34269
34270
34271
34272
34273
34274
34275
34276
34277
34278
34279
34280
34281
34282
34283
34284
34285
34286
34287
34288
34289
34290
34291
34292
34293
34294
34295
34296
34297
34298
34299
34300
34301
34302
34303
34304
34305
34306
34307
34308
34309
34310
34311
34312
34313
34314
34315
34316
34317
34318
34319
34320
34321
34322
34323
34324
34325
34326
34327
34328
34329
34330
34331
34332
34333
34334
34335
34336
34337
34338
34339
34340
34341
34342
34343
34344
34345
34346
34347
34348
34349
34350
34351
34352
34353
34354
34355
34356
34357
34358
34359
34360
34361
34362
34363
34364
34365
34366
34367
34368
34369
34370
34371
34372
34373
34374
34375
34376
34377
34378
34379
34380
34381
34382
34383
34384
34385
34386
34387
34388
34389
34390
34391
34392
34393
34394
34395
34396
34397
34398
34399
34400
34401
34402
34403
34404
34405
34406
34407
34408
34409
34410
34411
34412
34413
34414
34415
34416
34417
34418
34419
34420
34421
34422
34423
34424
34425
34426
34427
34428
34429
34430
34431
34432
34433
34434
34435
34436
34437
34438
34439
34440
34441
34442
34443
34444
34445
34446
34447
34448
34449
34450
34451
34452
34453
34454
34455
34456
34457
34458
34459
34460
34461
34462
34463
34464
34465
34466
34467
34468
34469
34470
34471
34472
34473
34474
34475
34476
34477
34478
34479
34480
34481
34482
34483
34484
34485
34486
34487
34488
34489
34490
34491
34492
34493
34494
34495
34496
34497
34498
34499
34500
34501
34502
34503
34504
34505
34506
34507
34508
34509
34510
34511
34512
34513
34514
34515
34516
34517
34518
34519
34520
34521
34522
34523
34524
34525
34526
34527
34528
34529
34530
34531
34532
34533
34534
34535
34536
34537
34538
34539
34540
34541
34542
34543
34544
34545
34546
34547
34548
34549
34550
34551
34552
34553
34554
34555
34556
34557
34558
34559
34560
34561
34562
34563
34564
34565
34566
34567
34568
34569
34570
34571
34572
34573
34574
34575
34576
34577
34578
34579
34580
34581
34582
34583
34584
34585
34586
34587
34588
34589
34590
34591
34592
34593
34594
34595
34596
34597
34598
34599
34600
34601
34602
34603
34604
34605
34606
34607
34608
34609
34610
34611
34612
34613
34614
34615
34616
34617
34618
34619
34620
34621
34622
34623
34624
34625
34626
34627
34628
34629
34630
34631
34632
34633
34634
34635
34636
34637
34638
34639
34640
34641
34642
34643
34644
34645
34646
34647
34648
34649
34650
34651
34652
34653
34654
34655
34656
34657
34658
34659
34660
34661
34662
34663
34664
34665
34666
34667
34668
34669
34670
34671
34672
34673
34674
34675
34676
34677
34678
34679
34680
34681
34682
34683
34684
34685
34686
34687
34688
34689
34690
34691
34692
34693
34694
34695
34696
34697
34698
34699
34700
34701
34702
34703
34704
34705
34706
34707
34708
34709
34710
34711
34712
34713
34714
34715
34716
34717
34718
34719
34720
34721
34722
34723
34724
34725
34726
34727
34728
34729
34730
34731
34732
34733
34734
34735
34736
34737
34738
34739
34740
34741
34742
34743
34744
34745
34746
34747
34748
34749
34750
34751
34752
34753
34754
34755
34756
34757
34758
34759
34760
34761
34762
34763
34764
34765
34766
34767
34768
34769
34770
34771
34772
34773
34774
34775
34776
34777
34778
34779
34780
34781
34782
34783
34784
34785
34786
34787
34788
34789
34790
34791
34792
34793
34794
34795
34796
34797
34798
34799
34800
34801
34802
34803
34804
34805
34806
34807
34808
34809
34810
34811
34812
34813
34814
34815
34816
34817
34818
34819
34820
34821
34822
34823
34824
34825
34826
34827
34828
34829
34830
34831
34832
34833
34834
34835
34836
34837
34838
34839
34840
34841
34842
34843
34844
34845
34846
34847
34848
34849
34850
34851
34852
34853
34854
34855
34856
34857
34858
34859
34860
34861
34862
34863
34864
34865
34866
34867
34868
34869
34870
34871
34872
34873
34874
34875
34876
34877
34878
34879
34880
34881
34882
34883
34884
34885
34886
34887
34888
34889
34890
34891
34892
34893
34894
34895
34896
34897
34898
34899
34900
34901
34902
34903
34904
34905
34906
34907
34908
34909
34910
34911
34912
34913
34914
34915
34916
34917
34918
34919
34920
34921
34922
34923
34924
34925
34926
34927
34928
34929
34930
34931
34932
34933
34934
34935
34936
34937
34938
34939
34940
34941
34942
34943
34944
34945
34946
34947
34948
34949
34950
34951
34952
34953
34954
34955
34956
34957
34958
34959
34960
34961
34962
34963
34964
34965
34966
34967
34968
34969
34970
34971
34972
34973
34974
34975
34976
34977
34978
34979
34980
34981
34982
34983
34984
34985
34986
34987
34988
34989
34990
34991
34992
34993
34994
34995
34996
34997
34998
34999
35000
35001
35002
35003
35004
35005
35006
35007
35008
35009
35010
35011
35012
35013
35014
35015
35016
35017
35018
35019
35020
35021
35022
35023
35024
35025
35026
35027
35028
35029
35030
35031
35032
35033
35034
35035
35036
35037
35038
35039
35040
35041
35042
35043
35044
35045
35046
35047
35048
35049
35050
35051
35052
35053
35054
35055
35056
35057
35058
35059
35060
35061
35062
35063
35064
35065
35066
35067
35068
35069
35070
35071
35072
35073
35074
35075
35076
35077
35078
35079
35080
35081
35082
35083
35084
35085
35086
35087
35088
35089
35090
35091
35092
35093
35094
35095
35096
35097
35098
35099
35100
35101
35102
35103
35104
35105
35106
35107
35108
35109
35110
35111
35112
35113
35114
35115
35116
35117
35118
35119
35120
35121
35122
35123
35124
35125
35126
35127
35128
35129
35130
35131
35132
35133
35134
35135
35136
35137
35138
35139
35140
35141
35142
35143
35144
35145
35146
35147
35148
35149
35150
35151
35152
35153
35154
35155
35156
35157
35158
35159
35160
35161
35162
35163
35164
35165
35166
35167
35168
35169
35170
35171
35172
35173
35174
35175
35176
35177
35178
35179
35180
35181
35182
35183
35184
35185
35186
35187
35188
35189
35190
35191
35192
35193
35194
35195
35196
35197
35198
35199
35200
35201
35202
35203
35204
35205
35206
35207
35208
35209
35210
35211
35212
35213
35214
35215
35216
35217
35218
35219
35220
35221
35222
35223
35224
35225
35226
35227
35228
35229
35230
35231
35232
35233
35234
35235
35236
35237
35238
35239
35240
35241
35242
35243
35244
35245
35246
35247
35248
35249
35250
35251
35252
35253
35254
35255
35256
35257
35258
35259
35260
35261
35262
35263
35264
35265
35266
35267
35268
35269
35270
35271
35272
35273
35274
35275
35276
35277
35278
35279
35280
35281
35282
35283
35284
35285
35286
35287
35288
35289
35290
35291
35292
35293
35294
35295
35296
35297
35298
35299
35300
35301
35302
35303
35304
35305
35306
35307
35308
35309
35310
35311
35312
35313
35314
35315
35316
35317
35318
35319
35320
35321
35322
35323
35324
35325
35326
35327
35328
35329
35330
35331
35332
35333
35334
35335
35336
35337
35338
35339
35340
35341
35342
35343
35344
35345
35346
35347
35348
35349
35350
35351
35352
35353
35354
35355
35356
35357
35358
35359
35360
35361
35362
35363
35364
35365
35366
35367
35368
35369
35370
35371
35372
35373
35374
35375
35376
35377
35378
35379
35380
35381
35382
35383
35384
35385
35386
35387
35388
35389
35390
35391
35392
35393
35394
35395
35396
35397
35398
35399
35400
35401
35402
35403
35404
35405
35406
35407
35408
35409
35410
35411
35412
35413
35414
35415
35416
35417
35418
35419
35420
35421
35422
35423
35424
35425
35426
35427
35428
35429
35430
35431
35432
35433
35434
35435
35436
35437
35438
35439
35440
35441
35442
35443
35444
35445
35446
35447
35448
35449
35450
35451
35452
35453
35454
35455
35456
35457
35458
35459
35460
35461
35462
35463
35464
35465
35466
35467
35468
35469
35470
35471
35472
35473
35474
35475
35476
35477
35478
35479
35480
35481
35482
35483
35484
35485
35486
35487
35488
35489
35490
35491
35492
35493
35494
35495
35496
35497
35498
35499
35500
35501
35502
35503
35504
35505
35506
35507
35508
35509
35510
35511
35512
35513
35514
35515
35516
35517
35518
35519
35520
35521
35522
35523
35524
35525
35526
35527
35528
35529
35530
35531
35532
35533
35534
35535
35536
35537
35538
35539
35540
35541
35542
35543
35544
35545
35546
35547
35548
35549
35550
35551
35552
35553
35554
35555
35556
35557
35558
35559
35560
35561
35562
35563
35564
35565
35566
35567
35568
35569
35570
35571
35572
35573
35574
35575
35576
35577
35578
35579
35580
35581
35582
35583
35584
35585
35586
35587
35588
35589
35590
35591
35592
35593
35594
35595
35596
35597
35598
35599
35600
35601
35602
35603
35604
35605
35606
35607
35608
35609
35610
35611
35612
35613
35614
35615
35616
35617
35618
35619
35620
35621
35622
35623
35624
35625
35626
35627
35628
35629
35630
35631
35632
35633
35634
35635
35636
35637
35638
35639
35640
35641
35642
35643
35644
35645
35646
35647
35648
35649
35650
35651
35652
35653
35654
35655
35656
35657
35658
35659
35660
35661
35662
35663
35664
35665
35666
35667
35668
35669
35670
35671
35672
35673
35674
35675
35676
35677
35678
35679
35680
35681
35682
35683
35684
35685
35686
35687
35688
35689
35690
35691
35692
35693
35694
35695
35696
35697
35698
35699
35700
35701
35702
35703
35704
35705
35706
35707
35708
35709
35710
35711
35712
35713
35714
35715
35716
35717
35718
35719
35720
35721
35722
35723
35724
35725
35726
35727
35728
35729
35730
35731
35732
35733
35734
35735
35736
35737
35738
35739
35740
35741
35742
35743
35744
35745
35746
35747
35748
35749
35750
35751
35752
35753
35754
35755
35756
35757
35758
35759
35760
35761
35762
35763
35764
35765
35766
35767
35768
35769
35770
35771
35772
35773
35774
35775
35776
35777
35778
35779
35780
35781
35782
35783
35784
35785
35786
35787
35788
35789
35790
35791
35792
35793
35794
35795
35796
35797
35798
35799
35800
35801
35802
35803
35804
35805
35806
35807
35808
35809
35810
35811
35812
35813
35814
35815
35816
35817
35818
35819
35820
35821
35822
35823
35824
35825
35826
35827
35828
35829
35830
35831
35832
35833
35834
35835
35836
35837
35838
35839
35840
35841
35842
35843
35844
35845
35846
35847
35848
35849
35850
35851
35852
35853
35854
35855
35856
35857
35858
35859
35860
35861
35862
35863
35864
35865
35866
35867
35868
35869
35870
35871
35872
35873
35874
35875
35876
35877
35878
35879
35880
35881
35882
35883
35884
35885
35886
35887
35888
35889
35890
35891
35892
35893
35894
35895
35896
35897
35898
35899
35900
35901
35902
35903
35904
35905
35906
35907
35908
35909
35910
35911
35912
35913
35914
35915
35916
35917
35918
35919
35920
35921
35922
35923
35924
35925
35926
35927
35928
35929
35930
35931
35932
35933
35934
35935
35936
35937
35938
35939
35940
35941
35942
35943
35944
35945
35946
35947
35948
35949
35950
35951
35952
35953
35954
35955
35956
35957
35958
35959
35960
35961
35962
35963
35964
35965
35966
35967
35968
35969
35970
35971
35972
35973
35974
35975
35976
35977
35978
35979
35980
35981
35982
35983
35984
35985
35986
35987
35988
35989
35990
35991
35992
35993
35994
35995
35996
35997
35998
35999
36000
36001
36002
36003
36004
36005
36006
36007
36008
36009
36010
36011
36012
36013
36014
36015
36016
36017
36018
36019
36020
36021
36022
36023
36024
36025
36026
36027
36028
36029
36030
36031
36032
36033
36034
36035
36036
36037
36038
36039
36040
36041
36042
36043
36044
36045
36046
36047
36048
36049
36050
36051
36052
36053
36054
36055
36056
36057
36058
36059
36060
36061
36062
36063
36064
36065
36066
36067
36068
36069
36070
36071
36072
36073
36074
36075
36076
36077
36078
36079
36080
36081
36082
36083
36084
36085
36086
36087
36088
36089
36090
36091
36092
36093
36094
36095
36096
36097
36098
36099
36100
36101
36102
36103
36104
36105
36106
36107
36108
36109
36110
36111
36112
36113
36114
36115
36116
36117
36118
36119
36120
36121
36122
36123
36124
36125
36126
36127
36128
36129
36130
36131
36132
36133
36134
36135
36136
36137
36138
36139
36140
36141
36142
36143
36144
36145
36146
36147
36148
36149
36150
36151
36152
36153
36154
36155
36156
36157
36158
36159
36160
36161
36162
36163
36164
36165
36166
36167
36168
36169
36170
36171
36172
36173
36174
36175
36176
36177
36178
36179
36180
36181
36182
36183
36184
36185
36186
36187
36188
36189
36190
36191
36192
36193
36194
36195
36196
36197
36198
36199
36200
36201
36202
36203
36204
36205
36206
36207
36208
36209
36210
36211
36212
36213
36214
36215
36216
36217
36218
36219
36220
36221
36222
36223
36224
36225
36226
36227
36228
36229
36230
36231
36232
36233
36234
36235
36236
36237
36238
36239
36240
36241
36242
36243
36244
36245
36246
36247
36248
36249
36250
36251
36252
36253
36254
36255
36256
36257
36258
36259
36260
36261
36262
36263
36264
36265
36266
36267
36268
36269
36270
36271
36272
36273
36274
36275
36276
36277
36278
36279
36280
36281
36282
36283
36284
36285
36286
36287
36288
36289
36290
36291
36292
36293
36294
36295
36296
36297
36298
36299
36300
36301
36302
36303
36304
36305
36306
36307
36308
36309
36310
36311
36312
36313
36314
36315
36316
36317
36318
36319
36320
36321
36322
36323
36324
36325
36326
36327
36328
36329
36330
36331
36332
36333
36334
36335
36336
36337
36338
36339
36340
36341
36342
36343
36344
36345
36346
36347
36348
36349
36350
36351
36352
36353
36354
36355
36356
36357
36358
36359
36360
36361
36362
36363
36364
36365
36366
36367
36368
36369
36370
36371
36372
36373
36374
36375
36376
36377
36378
36379
36380
36381
36382
36383
36384
36385
36386
36387
36388
36389
36390
36391
36392
36393
36394
36395
36396
36397
36398
36399
36400
36401
36402
36403
36404
36405
36406
36407
36408
36409
36410
36411
36412
36413
36414
36415
36416
36417
36418
36419
36420
36421
36422
36423
36424
36425
36426
36427
36428
36429
36430
36431
36432
36433
36434
36435
36436
36437
36438
36439
36440
36441
36442
36443
36444
36445
36446
36447
36448
36449
36450
36451
36452
36453
36454
36455
36456
36457
36458
36459
36460
36461
36462
36463
36464
36465
36466
36467
36468
36469
36470
36471
36472
36473
36474
36475
36476
36477
36478
36479
36480
36481
36482
36483
36484
36485
36486
36487
36488
36489
36490
36491
36492
36493
36494
36495
36496
36497
36498
36499
36500
36501
36502
36503
36504
36505
36506
36507
36508
36509
36510
36511
36512
36513
36514
36515
36516
36517
36518
36519
36520
36521
36522
36523
36524
36525
36526
36527
36528
36529
36530
36531
36532
36533
36534
36535
36536
36537
36538
36539
36540
36541
36542
36543
36544
36545
36546
36547
36548
36549
36550
36551
36552
36553
36554
36555
36556
36557
36558
36559
36560
36561
36562
36563
36564
36565
36566
36567
36568
36569
36570
36571
36572
36573
36574
36575
36576
36577
36578
36579
36580
36581
36582
36583
36584
36585
36586
36587
36588
36589
36590
36591
36592
36593
36594
36595
36596
36597
36598
36599
36600
36601
36602
36603
36604
36605
36606
36607
36608
36609
36610
36611
36612
36613
36614
36615
36616
36617
36618
36619
36620
36621
36622
36623
36624
36625
36626
36627
36628
36629
36630
36631
36632
36633
36634
36635
36636
36637
36638
36639
36640
36641
36642
36643
36644
36645
36646
36647
36648
36649
36650
36651
36652
36653
36654
36655
36656
36657
36658
36659
36660
36661
36662
36663
36664
36665
36666
36667
36668
36669
36670
36671
36672
36673
36674
36675
36676
36677
36678
36679
36680
36681
36682
36683
36684
36685
36686
36687
36688
36689
36690
36691
36692
36693
36694
36695
36696
36697
36698
36699
36700
36701
36702
36703
36704
36705
36706
36707
36708
36709
36710
36711
36712
36713
36714
36715
36716
36717
36718
36719
36720
36721
36722
36723
36724
36725
36726
36727
36728
36729
36730
36731
36732
36733
36734
36735
36736
36737
36738
36739
36740
36741
36742
36743
36744
36745
36746
36747
36748
36749
36750
36751
36752
36753
36754
36755
36756
36757
36758
36759
36760
36761
36762
36763
36764
36765
36766
36767
36768
36769
36770
36771
36772
36773
36774
36775
36776
36777
36778
36779
36780
36781
36782
36783
36784
36785
36786
36787
36788
36789
36790
36791
36792
36793
36794
36795
36796
36797
36798
36799
36800
36801
36802
36803
36804
36805
36806
36807
36808
36809
36810
36811
36812
36813
36814
36815
36816
36817
36818
36819
36820
36821
36822
36823
36824
36825
36826
36827
36828
36829
36830
36831
36832
36833
36834
36835
36836
36837
36838
36839
36840
36841
36842
36843
36844
36845
36846
36847
36848
36849
36850
36851
36852
36853
36854
36855
36856
36857
36858
36859
36860
36861
36862
36863
36864
36865
36866
36867
36868
36869
36870
36871
36872
36873
36874
36875
36876
36877
36878
36879
36880
36881
36882
36883
36884
36885
36886
36887
36888
36889
36890
36891
36892
36893
36894
36895
36896
36897
36898
36899
36900
36901
36902
36903
36904
36905
36906
36907
36908
36909
36910
36911
36912
36913
36914
36915
36916
36917
36918
36919
36920
36921
36922
36923
36924
36925
36926
36927
36928
36929
36930
36931
36932
36933
36934
36935
36936
36937
36938
36939
36940
36941
36942
36943
36944
36945
36946
36947
36948
36949
36950
36951
36952
36953
36954
36955
36956
36957
36958
36959
36960
36961
36962
36963
36964
36965
36966
36967
36968
36969
36970
36971
36972
36973
36974
36975
36976
36977
36978
36979
36980
36981
36982
36983
36984
36985
36986
36987
36988
36989
36990
36991
36992
36993
36994
36995
36996
36997
36998
36999
37000
37001
37002
37003
37004
37005
37006
37007
37008
37009
37010
37011
37012
37013
37014
37015
37016
37017
37018
37019
37020
37021
37022
37023
37024
37025
37026
37027
37028
37029
37030
37031
37032
37033
37034
37035
37036
37037
37038
37039
37040
37041
37042
37043
37044
37045
37046
37047
37048
37049
37050
37051
37052
37053
37054
37055
37056
37057
37058
37059
37060
37061
37062
37063
37064
37065
37066
37067
37068
37069
37070
37071
37072
37073
37074
37075
37076
37077
37078
37079
37080
37081
37082
37083
37084
37085
37086
37087
37088
37089
37090
37091
37092
37093
37094
37095
37096
37097
37098
37099
37100
37101
37102
37103
37104
37105
37106
37107
37108
37109
37110
37111
37112
37113
37114
37115
37116
37117
37118
37119
37120
37121
37122
37123
37124
37125
37126
37127
37128
37129
37130
37131
37132
37133
37134
37135
37136
37137
37138
37139
37140
37141
37142
37143
37144
37145
37146
37147
37148
37149
37150
37151
37152
37153
37154
37155
37156
37157
37158
37159
37160
37161
37162
37163
37164
37165
37166
37167
37168
37169
37170
37171
37172
37173
37174
37175
37176
37177
37178
37179
37180
37181
37182
37183
37184
37185
37186
37187
37188
37189
37190
37191
37192
37193
37194
37195
37196
37197
37198
37199
37200
37201
37202
37203
37204
37205
37206
37207
37208
37209
37210
37211
37212
37213
37214
37215
37216
37217
37218
37219
37220
37221
37222
37223
37224
37225
37226
37227
37228
37229
37230
37231
37232
37233
37234
37235
37236
37237
37238
37239
37240
37241
37242
37243
37244
37245
37246
37247
37248
37249
37250
37251
37252
37253
37254
37255
37256
37257
37258
37259
37260
37261
37262
37263
37264
37265
37266
37267
37268
37269
37270
37271
37272
37273
37274
37275
37276
37277
37278
37279
37280
37281
37282
37283
37284
37285
37286
37287
37288
37289
37290
37291
37292
37293
37294
37295
37296
37297
37298
37299
37300
37301
37302
37303
37304
37305
37306
37307
37308
37309
37310
37311
37312
37313
37314
37315
37316
37317
37318
37319
37320
37321
37322
37323
37324
37325
37326
37327
37328
37329
37330
37331
37332
37333
37334
37335
37336
37337
37338
37339
37340
37341
37342
37343
37344
37345
37346
37347
37348
37349
37350
37351
37352
37353
37354
37355
37356
37357
37358
37359
37360
37361
37362
37363
37364
37365
37366
37367
37368
37369
37370
37371
37372
37373
37374
37375
37376
37377
37378
37379
37380
|
2006-12-30 Casey Marshall <csm@gnu.org>
* gnu/java/security/x509/X509Certificate.java (serialVersionUID):
new constant.
(extensions): parameterize.
(getExtendedKeyUsage): parameterize return type.
(getSubjectAlternativeNames): parameterize return type; handle changes
to `SubjectAlternativeNames' class.
(getIssuerAlternativeNames): parameterize return type; handle changes
to `IssuerAlternativeNames' class.
(getCriticalExtensionOIDs, getNonCriticalExtensionOIDs): parameterize
return type.
* gnu/java/security/x509/ext/CertificatePolicies.java
(policies, policyQualifierInfos): parameterize.
* gnu/java/security/x509/ext/ExtendedKeyUsage.java (purposeIds):
parameterize.
* gnu/java/security/x509/ext/Extension.java (<init>): add support
for NameConstraints extension.
* gnu/java/security/x509/ext/GeneralName.java: new class.
* gnu/java/security/x509/ext/GeneralNames.java (names): parameterize;
retrofit to use the GeneralName class.
* gnu/java/security/x509/ext/GeneralSubtree.java: new class.
* gnu/java/security/x509/ext/IssuerAlternativeNames.java (getNames):
change return type to GeneralName parameterized list.
* gnu/java/security/x509/ext/NameConstraints.java: new class.
* gnu/java/security/x509/ext/SubjectAlternativeNames.java (getNames):
change return type to GeneralName parameterized list.
* java/security/cert/X509CertSelector.java: re-sorted methods.
(makeName): new method.
(addPathToName, addPathToName, getPathToNames, getPolicy,
getSubjectAlternativeNames, setPathToNames, setPolicy): implemented.
(keyPurposeSet, altNames, policy): parametized.
(pathToNames): new field.
2006-12-29 Andrew John Hughes <gnu_andrew@member.fsf.org>
* java/text/DateFormatSymbols:
(DateFormatSymbols()): Update documentation.
(DateFormatSymbols(Locale)): Likewise.
(getInstance()): Implemented.
(getInstance(Locale)): Partially implemented.
* java/util/Calendar.java:
(SHORT, LONG, ALL_STYLES): New constants.
(getDisplayName(int,int,Locale)); Implemented.
(getDisplayNames(int,int,Locale)): Likewise.
2006-12-28 Andrew John Hughes <gnu_andrew@member.fsf.org>
* java/util/Arrays.java:
(copyOf(boolean[],int)): Implemented.
(copyOfRange(boolean[],int,int)): Likewise.
(copyOf(byte[],int)): Likewise.
(copyOfRange(byte[],int,int)): Likewise.
(copyOf(char[],int)): Likewise.
(copyOfRange(char[],int,int)): Likewise.
(copyOf(double[],int)): Likewise.
(copyOfRange(double[],int,int)): Likewise.
(copyOf(float[],int)): Likewise.
(copyOfRange(float[],int,int)): Likewise.
(copyOf(int[],int)): Likewise.
(copyOfRange(int[],int,int)): Likewise.
(copyOf(long[],int)): Likewise.
(copyOfRange(long[],int,int)): Likewise.
(copyOf(short[],int)): Likewise.
(copyOfRange(short[],int,int)): Likewise.
(copyOf(T[],int)): Likewise.
(copyOfRange(T[],int,int)): Likewise.
(copyOf(U[],int,Class<? extends T>)): Likewise.
(copyOfRange(U[],int,int,Class<? extends T>)):
Likewise.
* java/util/Collections.java:
(asLifoQueue(Deque<T>)): Implemented.
(newSetFromMap(Map<E>)): Likewise.
(MapSet): New class for newSetFromMap.
(LIFOQueue): New class for asLifoQueue.
2006-12-28 Jeroen Frijters <jeroen@frijters.net>
* javax/net/ssl/SSLServerSocketFactory.java:
(getDefault): Return inoperative factory instead of throwing error
(as per spec).
(ErrorServerSocketFactory): New class.
* javax/net/ssl/SSLSocketFactory.java:
(getDefault): Return inoperative factory instead of throwing error
(as per spec).
(ErrorSocketFactory): New class.
2006-12-28 Andrew John Hughes <gnu_andrew@member.fsf.org>
* java/util/AbstractMap.java:
(SimpleImmutableEntry): Document and add
serialVersionUID.
(SimpleEntry): Likewise, and fix JAPI errors.
* java/util/TreeMap.java:
(entrySet()): Return navigableSet instead.
(headMap(K, boolean)): Implemented.
(subMap(K, boolean, K, boolean)): Likewise.
(tailMap(K, boolean)): Likewise.
(highestLessThan(K,boolean)): Likewise.
(lowestGreaterThan(K,boolean,boolean)): Likewise.
(SubMap.ceilingEntry(K)): Likewise.
(SubMap.ceilingKey(K)): Likewise.
(SubMap.descendingKeySet()): Likewise.
(SubMap.descendingMap()): Likewise.
(SubMap.entrySet()): Return navigableSet instead.
(SubMap.firstEntry()): Implemented.
(SubMap.floorEntry(K)): Likewise.
(SubMap.floorKey(K)): Likewise.
(SubMap.headMap(K,boolean)): Likewise.
(SubMap.higherEntry(K)): Likewise.
(SubMap.higherKey(K)): Likewise.
(SubMap.lastEntry()): Likewise.
(SubMap.lowerEntry(K)): Likewise.
(SubMap.lowerKey(K)): Likewise.
(SubMap.navigableKeySet()): Likewise.
(SubMap.pollFirstEntry()): Likewise.
(SubMap.pollLastEntry()): Likewise.
(SubMap.subMap(K,boolean,K,boolean)): Likewise.
(SubMap.tailMap(K,boolean)): Likewise.
(SubMap.KeySet): New class for keySet().
(SubMap.NavigableKeySet): New class for navigableKeySet().
(SubMap.EntrySet): New class for entrySet().
(SubMap.NavigableEntrySet): Likewise.
(ceilingEntry(K)): Likewise.
(ceilingKey(K)): Likewise.
(descendingKeySet()): Likewise.
(descendingMap()): Likewise.
(firstEntry()): Implemented.
(floorEntry(K)): Likewise.
(floorKey(K)): Likewise.
(higherEntry(K)): Likewise.
(higherKey(K)): Likewise.
(lastEntry()): Likewise.
(lowerEntry(K)): Likewise.
(lowerKey(K)): Likewise.
(navigableKeySet()): Likewise.
(pollFirstEntry()): Likewise.
(pollLastEntry()): Likewise.
(DescendingMap): New class for descendingMap().
(KeySet): New class for keySet().
(NavigableKeySet): New class for navigableKeySet().
(DescendingSet): New class for descendingSet().
(EntrySet): New class for entrySet().
(NavigableEntrySet): Likewise.
* java/util/TreeSet.java:
(headSet(T,boolean)): Implemented.
(subSet(T,boolean,T,boolean)): Likewise.
(tailSet(T,boolean)): Likewise.
(descendingIterator()): Likewise.
(descendingSet()): Likewise.
(floor(T)): Likewise.
(higher(T)): Likewise.
(lower(T)): Likewise.
(pollFirst(T)): Likewise.
(pollLast(T)): Likewise.
2006-12-27 Andrew John Hughes <gnu_andrew@member.fsf.org>
* java/util/LinkedList.java:
(offer(T)): Documented.
(element()): Likewise.
(peek()): Likewise.
(poll()): Likewise.
(remove()): Likewise.
(descendingIterator()): Implemented.
(offerFirst(T)): Likewise.
(offerLast(T)): Likewise.
(peekFirst()): Likewise.
(peekLast()): Likewise.
(pollFirst()): Likewise.
(pollLast()): Likewise.
(pop()): Likewise.
(push(T)): Likewise.
(removeFirstOccurrence(Object)): Likewise.
(removeLastOccurrence(Object)): Likewise.
2006-12-26 Andrew John Hughes <gnu_andrew@member.fsf.org>
* NEWS: Mention 1.6 support for java.lang.management
* configure.ac: Check for getloadavg.
* examples/gnu/classpath/examples/management/TestOS.java:
Print system load average.
* gnu/java/lang/management/OperatingSystemMXBeanImpl.java:
(getSystemLoadAverage()): Implemented.
* include/Makefile.am: Add new header.
* include/gnu_java_awt_peer_gtk_CairoGraphics2D.h:
Regenerated.
* include/gnu_java_lang_management_VMOperatingSystemMXBeanImpl.h:
Generated.
* java/lang/management/OperatingSystemMXBean.java:
(getSystemLoadAverage()): Implemented.
* native/jni/java-lang/Makefile.am: Add new native code.
* native/jni/java-lang/gnu_java_lang_management_VMOperatingSystemMXBeanImpl.c:
New file.
* vm/reference/gnu/java/lang/management/VMOperatingSystemMXBeanImpl.java:
Likewise.
2006-12-25 Andrew John Hughes <gnu_andrew@member.fsf.org>
* NEWS:
Add information on threading bean VM update.
2006-12-25 Andrew John Hughes <gnu_andrew@member.fsf.org>
* doc/vmintegration.texinfo:
Updated to match new threading bean API.
* gnu/java/lang/management/ThreadMXBeanImpl.java:
(MONITOR_SUPPORT): New constant for object monitor
lock support property.
(SYNCHRONIZER_SUPPORT): New constant for ownable
synchronizer lock support property.
(dumpAllThreads(boolean,boolean)): Implemented.
(findDeadlockedThreads()): Likewise.
(getThreadInfo(long[],boolean,boolean)): Likewise.
(isObjectMonitorUsageSupported()): Likewise.
(isSynchronizerUsageSupported()): Likewise.
* java/lang/management/ThreadInfo.java:
(ThreadInfo(Thread,long,long,Object,Thread,long,
long,boolean,boolean,StackTraceElement[],
MonitorInfo[], LockInfo[])): New constructor.
(ThreadInfo(long,String,Thread.State,long,long,
String,long,String,long,long,boolean,boolean,
StackTraceElement[],MonitorInfo[], LockInfo[])):
Likewise.
(from(CompositeData)): Updated to handle new attributes.
(getLockedMonitors()): Implemented.
(getLockedSynchronizers()): Likewise.
(getLockInfo()): Likewise.
(getLockName()): Handle blocking as documented in 1.6
(getLockOwnerId()): Likewise.
(getLockOwnerName()): Likewise.
(toString()): Likewise.
(isThreadBlocked()): Thread blocked check based on
documented 1.6 semantics.
* java/lang/management/ThreadMXBean.java:
(dumpAllThreads(boolean,boolean)): Implemented.
(findDeadlockedThreads()): Likewise.
(getThreadInfo(long[],boolean,boolean)): Likewise.
(isObjectMonitorUsageSupported()): Likewise.
(isSynchronizerUsageSupported()): Likewise.
* vm/reference/gnu/java/lang/management/VMThreadMXBeanImpl.java:
(findDeadlockedThreads()): New native method.
(getLockInfo(ThreadInfo)): Likewise.
(getMonitorInfo(ThreadInfo)): Likewise.
2006-12-25 Andrew John Hughes <gnu_andrew@member.fsf.org>
* java/lang/management/MonitorInfo.java:
Make variables private.
* java/util/Arrays.java:
(binarySearch(byte[],byte)): Implemented in terms
of range-based variant.
(binarySearch(short[],short)): Likewise.
(binarySearch(int[],int)): Likewise.
(binarySearch(long[],long)): Likewise.
(binarySearch(char[],char)): Likewise.
(binarySearch(float[],float)): Likewise.
(binarySearch(double[],double)): Likewise.
(binarySearch(byte[],int,int,byte)): Implemented.
(binarySearch(short[],int,int,short)): Likewise.
(binarySearch(int[],int,int,int)): Likewise.
(binarySearch(long[],int,int,long)): Likewise.
(binarySearch(char[],int,int,char)): Likewise.
(binarySearch(float[],int,int,float)): Likewise.
(binarySearch(double[],int,int,double)): Likewise.
(binarySearch(Object[],int,int,Object)): Likewise.
(binarySearch(T[],int,int,T,Comparator)): Likewise.
2006-12-25 Andrew John Hughes <gnu_andrew@member.fsf.org>
* java/beans/ConstructorProperties.java:
New file.
* java/lang/management/LockInfo.java:
Likewise.
* java/lang/management/MonitorInfo.java:
Likewise.
* java/lang/management/ThreadInfo.java:
(getStackTraceType()): New method to
make the StackTraceElement type accessible.
(from(CompositeData)): Refactored to use
getStackTraceType().
2006-12-24 Andrew John Hughes <gnu_andrew@member.fsf.org>
* gnu/classpath/Pair.java: New class.
* java/io/ObjectInputStream.java:
(readUnshared()): Implemented.
(readObject(boolean)): Renamed from readObject
in order to handle unshared serialization.
(parseContent(byte,boolean)): Added unshared parameter.
(assignNewHandle(Object,boolean)): Likewise.
(rememberHandle(Object,boolean,int)): Likewise.
(lookupHandle(int)): Added handling of invalidated handles.
(processResolution(ObjectStreamClass,Object,int,boolean)):
Added unshared parameter.
* java/io/ObjectOutputStream.java:
(writeUnshared()): Implemented.
(writeObject(Object,boolean)): Renamed from
writeObject(Object) in order to handle
unshared serialization.
2006-12-23 Andrew John Hughes <gnu_andrew@member.fsf.org>
* gnu/java/lang/management/BeanImpl.java:
(translate(String)): Correct handling of
CompositeData objects.
* java/lang/management/ManagementFactory.java:
(ManagementInvocationHandler.invoke(Object,
Method,Object[])): Handle translation and notifications.
(ManagementInvocationHandler.translate(Object,
Method)): Implement type translation.
* java/lang/management/MemoryUsage.java:
(from(CompositeData)): Fix capitalisation.
* java/lang/management/ThreadInfo.java:
(from(CompositeData)): Likewise.
* javax/management/StandardMBean.java:
(getMBeanInfo()): Add notification handling.
2006-12-23 Sven de Marothy <sven@physto.se>
* java/util/GregorianCalendar.java,
(add): Don't set fields directly anymore. Use set()
2006-12-22 Andrew John Hughes <gnu_andrew@member.fsf.org>
PR classpath/30268:
* javax/management/MBeanServerFactory.java:
Initialise map of servers immediately.
(createMBeanServer(String)): Remove map
construction.
2006-12-22 Francis Kung <fkung@redhat.com>
* gnu/java/awt/peer/gtk/CairoGraphics2D.java
(shiftX): Remove rounding.
(shiftY): Likewise.
2006-12-22 Francis Kung <fkung@redhat.com>
* gnu/java/awt/peer/gtk/BufferedImageGraphics.java
(locked): Removed field.
(BufferedImageGraphics): Remove locked flag.
(drawComposite): Transform bounds properly; set cairo composite directly.
(drawImage): Transform bounds properly.
(updateBufferedImage): Remove locked flag; transform bounds properly.
* gnu/java/awt/peer/gtk/CairoGraphics2D.java
(copyArea): Add comment.
(drawImage): Transform bounds properly; update clipping region.
(getClipInDevSpace): Transform bounds properly.
(getTransformedBounds): New method.
(setAntialias): Updated javadoc.
(setCustomPaint): Transform bounds properly.
(updateClip): Avoid use of GeneralPath when possible.
2006-12-22 Andrew John Hughes <gnu_andrew@member.fsf.org>
PR classpath/30217:
* javax/management/ObjectName.java:
(getKeyPropertyList()): Remove cast and call
to UnmodifiableMap.
2006-12-22 Andrew John Hughes <gnu_andrew@member.fsf.org>
PR classpath/30216:
* javax/management/MBeanServerDelegate.java:
Initialise list of listeners immediately.
(addListener(NotificationListener)): Remove list
construction.
2006-12-21 David Daney <ddaney@avtrex.com>
* gnu/java/net/protocol/http/Headers.java: Update imports. Implement
Iterable<Headers.HeaderElement>.
(iterator): Make public.
* gnu/java/net/protocol/http/Request.java (dispatch): Use enhanced for
loop.
(notifyHeaderHandlers): Same.
* gnu/java/net/protocol/http/SimpleCookieManager.java (addCookies):
Remove unneeded cast.
2006-12-21 Mario Torre <neugens@limasoftware.net>
* .settings/org.eclipse.jdt.core.prefs: set compilation flag to warning
instead of error for empty control flow statements.
* gnu/javax/swing/text/html/css/CSSParser.java (parseSelector):
(parseValue): Reverted last change.
* java/text/BreakIterator.java (preceding): likewise.
* external/jsr166/java/util/AbstractQueue.java (clear): likewise.
* gnu/java/io/Base64InputStream.java (read): likewise.
* javax/swing/text/DefaultStyledDocument.java (ElementBuffer.insertUpdate):
likewise.
* java/util/zip/DeflaterEngine.java (findLongestMatch): likewise.
* java/util/zip/ZipInputStream.java (closeEntry): likewise.
* java/util/zip/DeflaterHuffman.java (Tree.buildLength): likewise.
* java/io/StreamTokenizer.java (nextToken): likewise.
* gnu/javax/imageio/png/PNGICCProfile.java (PNGICCProfile): likewise.
* gnu/java/awt/font/opentype/truetype/VirtualMachine.java (execute):
likewise.
* gnu/java/nio/charset/ByteCharset.java (Decoder.decodeLoop): likewise.
Also fixed typo.
* gnu/java/awt/print/PostScriptGraphics2D.java (spoolPostScript): likewise.
* gnu/java/awt/print/JavaPrinterGraphics.java (spoolPostScript): likewise.
* gnu/javax/net/ssl/provider/SSLRSASignatureImpl.java (engineVerify):
likewise.
* javax/swing/text/html/CSSParser.java:
(parse): likewise.
* java/lang/String.java (trim): likewise.
* java/lang/StrictMath.java (remPiOver2): likewise.
* gnu/java/awt/peer/qt/QtToolkit.java (QtToolkit): likewise.
* javax/swing/JComponent.java (paintImmediately2): likewise.
(paintChildren): likewise.
* java/util/EnumMap.java (..next): likewise.
* java/util/BitSet.java (length): likewise.
* java/util/Collections.java (binarySearch): likewise.
* java/util/StringTokenizer.java (nextToken): likewise.
* java/util/PriorityQueue.java (.next): likewise.
* java/math/BigInteger.java (BigInteger): likewise.
* gnu/java/lang/management/BeanImpl.java (translate): likewise.
2006-12-19 Mario Torre <neugens@limasoftware.net>
* javax/imageio/spi/ServiceRegistry.java: fixed Empty control-flow
statement.
* tools/gnu/classpath/tools/rmid/ActivationSystemImpl.java: likewise.
* gnu/java/io/Base64InputStream.java (read): likewise.
* gnu/javax/swing/text/html/CharacterAttributeTranslator.java: likewise.
* java/util/zip/DeflaterEngine.java (findLongestMatch): likewise.
* java/util/zip/ZipInputStream.java (closeEntry): likewise.
* java/util/zip/DeflaterHuffman.java (Tree.buildLength): likewise.
* org/omg/CORBA/ORB.java: likewise.
* javax/swing/plaf/metal/MetalFileChooserUI.java: likewise.
* gnu/javax/imageio/png/PNGICCProfile.java (PNGICCProfile): likewise.
* tools/external/asm/org/objectweb/asm/xml/ASMContentHandler.java: likewise.
* java/text/MessageFormat.java (MessageFormatElement.setLocale): likewise.
* java/text/BreakIterator.java (preceding): likewise.
* gnu/javax/net/ssl/provider/SSLEngineImpl.java: likewise.
* gnu/javax/net/ssl/provider/SSLRSASignatureImpl.java (engineVerify):
likewise.
* java/beans/XMLEncoder.java (writeObject): likewise.
* gnu/java/beans/encoder/ScanEngine.java (ScanEngine): likewise.
* java/util/Collections.java (binarySearch): likewise.
* java/util/StringTokenizer.java (nextToken): likewise.
* java/util/PriorityQueue.java (.next): likewise.
* java/util/EnumMap.java (..next): likewise.
* java/util/BitSet.java (length): likewise.
* java/util/Date.java (parse): likewise.
* javax/swing/text/html/CSSParser.java (parse): likewise.
* javax/swing/plaf/basic/BasicTabbedPaneUI.java
(TabbedPaneScrollLayout.calculateTabRects): likewise.
* java/lang/Character.java (UnicodeBlock): likewise.
* java/lang/String.java (trim): likewise.
* java/lang/StrictMath.java (remPiOver2): likewise.
* javax/swing/JFormattedTextField.java (commitEdit): likewise.
* javax/swing/JComponent.java (paintImmediately2): likewise.
(paintChildren): likewise.
* javax/swing/JToolTip.java (paramString): likewise.
* javax/swing/JEditorPane.java (JEditorPane): likewise.
* gnu/CORBA/Poa/gnuPOA.java: likewise.
* gnu/javax/security/auth/login/ConfigFileParser.java
(parseAppOrOtherEntry): likewise.
(parse): likewise.
* java/math/BigInteger.java (setBitOp): likewise.
(add): likewise.
(BigInteger): likewise.
* gnu/java/lang/management/BeanImpl.java (translate): likewise.
* javax/swing/text/DefaultStyledDocument.java (ElementBuffer.insertUpdate):
likewise.
* javax/swing/text/AbstractDocument.java (BranchElement): likewise.
* javax/swing/text/JTextComponent.java (getScrollableTracksViewportWidth):
likewise.
* javax/swing/text/FieldView.java (checkContainer): likewise.
* javax/swing/text/AsyncBoxView.java (ChildLocator.updateChildOffsets):
likewise.
* java/text/DecimalFormat.java (formatToCharacterIterator): likewise.
(parse): small refactoring.
2006-12-19 Andrew John Hughes <gnu_andrew@member.fsf.org>
* java/lang/Enum.java:
(finalize()): Implemented.
2006-12-18 Andrew John Hughes <gnu_andrew@member.fsf.org>
* gnu/java/lang/management/BeanImpl.java:
(getAttribute(String)): Fix Map and List conversion.
* java/lang/management/ManagementFactory.java:
(newPlatformMXBeanProxy(MBeanServerConnection,
String, Class<T>)): Add a comma.
2006-12-18 Tom Tromey <tromey@redhat.com>
* vm/reference/java/net/VMNetworkInterface.java (addresses):
Genericized.
(VMNetworkInterface): Updated.
* java/net/URLClassLoader.java (urls): Genericized.
(urlinfos): Likewise.
(addURLImpl): Updated.
(findClass): Likewise.
(newInstance): Likewise.
* java/net/URL.java (ph_cache): Genericized.
(getURLStreamHandler): Updated.
* java/net/ResolverCache.java (cache): Genericized.
(killqueue): Likewise.
* java/net/NetworkInterface.java (getInetAddresses): Genericized.
* java/net/MimeTypeMapper.java (mime_types): Genericized.
(fillFromFile): Likewise.
(main): Likewise.
* gnu/java/net/protocol/jar/Handler.java (flat): Genericized.
* gnu/java/net/protocol/jar/Connection.java (JarFileCache.cache):
Genericized.
(JarFileCache.get): Updated.
* gnu/java/net/protocol/http/SimpleCookieManager.java (cookies):
Genericized.
(SimpleCookieManager): Updated.
(setCookie): Likewise.
(getCookies): Likewise.
(addCookies): Likewise.
* gnu/java/net/protocol/http/Request.java (responseHeaderHandlers):
Genericized.
(Request): Updated.
(createResponseBodyStream): Removed unused variable.
* gnu/java/net/protocol/http/HTTPURLConnection.java (connect): Remove
unused variable.
(getRequestProperties): Genericized.
* gnu/java/net/protocol/http/HTTPConnection.java
(handshakeCompletedListeners): Genericized.
(nonceCounts): Likewise.
(HTTPConnection): Updated.
(Pool.connectionPool): Likewise.
(getNonceCount): Updated.
(incrementNonce): Likewise.
* gnu/java/net/protocol/http/Headers.java (headers): Genericized.
* gnu/java/net/protocol/http/ChunkedInputStream.java (CR, LF): Removed
unused fields.
* gnu/java/net/protocol/ftp/FTPURLConnection.java (connect):
Genericized.
(getRequestProperties): Likewise.
(addRequestPropertyValue): Likewise. Fixed return result.
* gnu/java/net/protocol/ftp/FTPConnection.java (nameList):
Genericized.
* gnu/java/net/local/LocalSocket.java: Fixed imports.
* gnu/java/net/local/LocalServerSocket.java: Fixed imports.
* gnu/java/net/loader/URLStreamHandlerCache.java (factoryCache):
Genericized.
(add): Updated.
(get): Likewise.
* gnu/java/net/loader/URLLoader.java (getClassPath): Genericized.
* gnu/java/net/loader/JarURLLoader.java (classPath): Genericized.
(initialize): Updated.
(getClassPath): Genericized.
* gnu/java/net/IndexListParser.java (prefixes): Genericized.
(IndexListParser): Updated.
(getHeaders): Likewise.
* gnu/java/net/HeaderFieldHelper.java (headerFieldKeys): Genericized.
(headerFieldValues): Likewise.
(HeaderFieldHelper): Updated.
(getHeaderFieldValueByKey): Likewise.
(getHeaderFields): Likewise.
* gnu/java/net/GetLocalHostAction.java: Genericized.
* gnu/java/net/DefaultContentHandlerFactory.java (imageTypes):
Genericized.
2006-12-18 Tom Tromey <tromey@redhat.com>
* java/util/prefs/Preferences.java (getFactory): Genericized.
* java/util/prefs/AbstractPreferences.java (childCache): Genericized.
(nodeListeners): Likewise.
(preferenceListeners): Likewise.
(cachedChildren): Rewrote.
(childrenNames): Updated.
(addNodeChangeListener): Likewise.
(addPreferenceChangeListener): Likewise.
* gnu/java/util/prefs/gconf/GConfNativePeer.java (getKeys):
Genericized.
(getChildrenNodes): Likewise.
(gconf_client_all_nodes): Likewise.
(gconf_client_all_keys): Likewise.
* gnu/java/util/prefs/MemoryBasedPreferences.java (entries):
Genericized.
(keysSpi): Likewise.
(getSpi): Likewise.
* gnu/java/util/prefs/GConfBasedPreferences.java (childrenNamesSpi):
Genericized.
(keysSpi): Likewise.
(postorderRemove): Likewise.
* gnu/java/util/prefs/EventDispatcher.java (queue): Genericized.
(run): Updated.
2006-12-18 Francis Kung <fkung@redhat.com>
* gnu/java/awt/peer/gtk/BufferedImageGraphics.java
(drawGlyphVector): Round bounds instead of casting & truncating..
2006-12-17 Tom Tromey <tromey@redhat.com>
* javax/sound/sampled/BooleanControl.java (type): Removed unused
field.
* javax/sound/sampled/AudioSystem.java (getAudioFileTypes):
Genericized.
(getAudioInputStream): Removed unused variable.
(getMixerInfo): Genericized.
(getSourceLineInfo): Likewise.
(getTargetEncodings): Likewise.
(getTargetFormats): Likewise.
(getTargetLineInfo): Likewise.
* javax/sound/sampled/AudioFormat.java (properties): Genericized.
(AudioFormat): Updated.
* javax/sound/sampled/AudioFileFormat.java (properties): Genericized.
(AudioFileFormat): Updated.
2006-12-17 Andrew John Hughes <gnu_andrew@member.fsf.org>
* java/lang/management/ManagementFactory.java:
(newPlatformMXBeanProxy(MBeanServerConnection,
String, Class<T>)): Initial implementation.
2006-12-17 Tom Tromey <tromey@redhat.com>
* javax/naming/spi/Resolver.java: Fixed comments and imports.
* javax/naming/ldap/InitialLdapContext.java (InitialLdapContext):
Genericized.
* javax/naming/directory/BasicAttributes.java (attributes):
Genericized.
(BasicAttributes): Updated.
(get): Likewise.
(getAll): Likewise.
(getIDs): Rewrote.
(readObject): Updated.
(BasicAttributesEnumeration): Genericized.
* javax/naming/directory/BasicAttribute.java (BasicAttribute):
Genericized.
(clone): Likewise.
(readObject): Likewise.
* javax/naming/Reference.java (Reference): Genericized.
(clone): Likewise.
(get): Likewise.
(get): Likewise.
* javax/naming/InitialContext.java (colon_list): Genericized.
(merge): Likewise.
* javax/naming/CompoundName.java (elts): Genericized.
(CompoundName): Updated.
(addAll): Likewise.
(compareTo): Likewise.
(endsWith): Likewise.
(get): Likewise.
(hashCode): Likewise.
(startsWith): Likewise.
(readObject): Likewise.
* javax/naming/CompositeName.java (elts): Genericized.
(CompositeName): Updated.
(addAll): Likewise.
(compareTo): Likewise.
(get): Likewise.
(getPrefix): Likewise.
(getSuffix): Likewise.
(toString): Likewise.
(readObject): Likewise.
2006-12-17 Mark Wielaard <mark@klomp.org>
* doc/www.gnu.org/include/layout.wml: Remove gif reference.
* doc/www.gnu.org/include/macros.wml: Correct FSF contact info.
* doc/www.gnu.org/newsitems.txt: Add 0.93.
* doc/www.gnu.org/downloads/downloads.wml: Likewise.
* doc/www.gnu.org/announce/20061211.wml: New file.
2006-12-17 Mark Wielaard <mark@klomp.org>
* examples/Makefile.am (JCOMPILER): Don't warn for deprecation,
serial, typeHiding, unchecked, unused and varargsCast.
* tools/Makefile.am (JCOMPILER): Likewise.
2006-12-17 Mark Wielaard <mark@klomp.org>
* tools/Makefile.am (TOOLS_ZIP): Don't remove .lst files immediately.
(clean-local): Remove all .lst files
* tools/.cvsignore: Add *.lst.
2006-12-16 Roman Kennke <kennke@aicas.com>
* examples/gnu/classpath/examples/awt/HintingDemo.java:
New demonstration program for the autohinter.
2006-12-16 Roman Kennke <kennke@aicas.com>
* gnu/java/awt/font/FontDelegate.java
(FLAG_FITTED): New constant field.
(FLAG_NO_HINT_HORIZONTAL): New constant field.
(FLAG_NO_HINT_VERTICAL): New constant field.w
(FLAG_NO_HINT_EDGE_POINTS): New constant field.
(FLAG_NO_HINT_STRONG_POINTS): New constant field.
(FLAG_NO_HINT_WEAK_POINTS): New constant field.
(TYPE_FITTED): Replaced by flags above.
(TYPE_SCALED): Replaced by flags above.
(TYPE_ORIGINAL): Replaced by flags above.
* gnu/java/awt/font/GNUGlyphVector.java
(getGlyphOutline): Use FLAG_FITTED.
* gnu/java/awt/font/autofit/AutoHinter.java
(setFlags): New method. Sets hinting flags.
* gnu/java/awt/font/autofit/GlyphHints.java
(flags): New field.
(alignStrongPoint): Use 16.16 fixed arithmetic.
(doAlignEdgePoints): New helper method.
(doAlignStrongPoints): New helper method.
(doAlignWeakPoints): New helper method.
(doHorizonal): Check flags.
(doVertical): Check flags.
* gnu/java/awt/font/autofit/Latin.java
(applyHints): Check hinting flags.
(computeEdges): Also initialize fitted position.
(scaleMetricsDim): Commented out buggy block.
* gnu/java/awt/font/opentype/Hinter.java
(setFlags): New method.
* gnu/java/awt/font/opentype/OpenTypeFont.java
(checkHinter): Accept flags parameter.
(createGlyphVector): Pass flags to hinter.
(getGlyphOutline): Pass flags to hinter.
* gnu/java/awt/font/opentype/truetype/Fixed.java
(floatValue16): New method.
* gnu/java/awt/font/opentype/truetype/Zone.java
(getX): Use new flags.
(getY): Use new flags.
2006-12-16 Mark Wielaard <mark@klomp.org>
* tools/Makefile.am (TOOLS_ZIP): Remove all-classes.lst.
(clean-local): Likewise.
2006-12-16 Mark Wielaard <mark@klomp.org>
* tools/Makefile.am (TOOLS_ZIP): Don't pass -w to JCOMPILER.
2006-12-15 Andrew John Hughes <gnu_andrew@member.fsf.org>
* java/util/Collections.java:
(toArray()): Return Object[] as required.
(toArray(S[])): Use new type variable S rather than
the class one.
2006-12-15 Christian Thalinger <twisti@complang.tuwien.ac.at>
* m4/acinclude.m4 (CLASSPATH_FIND_JAVAC): Added support for Sun's
javac.
(CLASSPATH_WITH_JAVAC): Added.
(CLASSPATH_CHECK_JAVAC): Likewise.
* lib/Makefile.am (JAVAC): Renamed to JCOMPILER.
(FOUND_JAVAC): Added support for Sun's javac.
* examples/Makefile.am: Likewise.
* tools/Makefile.am: Likewise.
2006-12-15 Francis Kung <fkung@redhat.com>
* gnu/java/awt/peer/gtk/CairoGraphics2D.java:
(draw): Pass boolean to setAntialias.
(drawGlyphVector): Likewise.
(drawString): Likewise.
(fill): Likewise.
(setAntialias): Change signature to accept boolean.
2006-12-15 Roman Kennke <kennke@aicas.com>
* gnu/java/awt/font/FontDelegate.java
(TYPE_FITTED): New constant.
(TYPE_ORIGINAL): New constant.
(TYPE_SCALED): New constant.
(getGlyphOutline): Allow the kind of outline be specified as one
of the constants above.
* gnu/java/awt/font/GNUGlyphVector.java
(getGlyphOutline(int,int)): Add type parameter for fetching
the intermediate outlines for debugging.
(getGlyphOutline(int)): Fetch TYPE_FITTED outline from font
delegate.
(getOutline(float,float,int)): Added for debugging purpose.
(performDefaultLayout): Round the advance here for better hinting.
This is only a workaround for not hinting the metrics right now.
* gnu/java/awt/font/autofit/AxisHints.java
(getEdgeIndex): New helper method. Fetches the index of
a given edge in the array.
(newEdge): Fixed sorting.
* gnu/java/awt/font/autofit/Edge.java
(pos): New field. Stores the fitted position.
(scale): New field.
(toString): More debug output.
* gnu/java/awt/font/autofit/GlyphHints.java
(alignEdgePoints): New method. Aligns the points of an outline
to their edges hinted positions.
(alignStrongPoints): New method. Aligns strong points.
(alignWeakPoints): New method. Aligns weak points.
(getPointIndex): New helper method.
(iupInterp): New helper method. Interpolates points.
(iupShift): New helper method. Shifts a complete contour.
(storePoint): New helper method.
* gnu/java/awt/font/autofit/Latin.java
(alignEdgePoints): Moved to GlyphHints.
(alignLinkedEdge): New helper method.
(alignSerifEdge): New helper method.
(alignStrongPoints): Moved to GlyphHints.
(alignWeakPoints): Moved to GlyphHints.
(applyHints): Call moved methods on GlyphHints.
(computeStemWidth): New helper method.
(doHorzSnap): New helper method.
(doVertSnap): New helper method.
(doMono): New helper method.
(doneWidth): New helper method.
(doStemAdjust): New helper method.
(hintEdges): Implemented.
(initWidths): Removed old comment.
(snapWidth): New helper method.
* gnu/java/awt/font/autofit/Width.java
(toString): More debug output.
* gnu/java/awt/font/opentype/OpenTypeFont.java
(getGlyphOutline): Add type parameter for debugging.
* gnu/java/awt/font/opentype/Scaler.java
(getOutline): Add type parameter for debugging.
* gnu/java/awt/font/opentype/truetype/Point.java
Make all flags of short type. Add new accessor methods for
coordinates that can return scaled and original shapes too.
* gnu/java/awt/font/opentype/truetype/TrueTypeScaler.java
(getOutline): Add type parameter for debugging.
* gnu/java/awt/font/opentype/truetype/Zone.java
Add type parameter to X and Y accessors.
(getPath): Add type parameter.
(getPathIterator): Likewise.
(transform): Do store transformed value in the x and y fields too.
* gnu/java/awt/font/opentype/truetype/ZonePathIterator.java
(type): New field.
(ZonePathIterator): Add type parameter.
(getSegment): Fetch coordinates with type.
(getStartSegment): Likewise.
2006-12-15 Christian Thalinger <twisti@complang.tuwien.ac.at>
* autogen.sh: Check for all 2.6x autoconf versions.
2006-12-15 Francis Kung <fkung@redhat.com>
* gnu/java/awt/peer/gtk/CairoGraphics2D.java
(antialias): New private field.
(ignoreAA): New private field.
(cairoSetAntialias): New native method.
(draw): Check anti-alias setting.
(drawGlyphVector): Likewise.
(drawString): Likewise.
(fill): Likewise.
(setAntialias): New private method.
(setup): Set default antialias value.
* include/gnu_java_awt_peer_gtk_CairoGraphics2D.h: Regenerated.
* native/jni/gtk-peer/gnu_java_awt_peer_gtk_CairoGraphics2D.c:
(gnu_java_awt_peer_gtk_CairoGraphics2D_cairoSetAntialias): New method.
2006-12-15 Tom Tromey <tromey@redhat.com>
* external/jsr166/.cvsignore: Added Makefile.
2006-12-15 Tom Tromey <tromey@redhat.com>
* tools/gnu/classpath/tools/serialver/SerialVer.java (addFileURL):
Genericized.
(getClassLoader): Likewise.
(classes): Likewise.
* tools/gnu/classpath/tools/native2ascii/Native2ASCII.java (main):
Removed unused variable.
* tools/gnu/classpath/tools/jar/WorkSet.java (allItems): Genericize.
(initSet): Likewise.
* tools/gnu/classpath/tools/jar/Main.java (entries): Genericize.
* tools/gnu/classpath/tools/jar/Indexer.java (indexJarFile):
Genericized.
* tools/gnu/classpath/tools/jar/Creator.java (writeFile): Close the
input stream.
(writtenItems): Genericize.
(addEntries): Likewise.
(getAllEntries): Likewise.
2006-12-15 Tom Tromey <tromey@redhat.com>
PR classpath/29526:
* gnu/java/nio/ChannelInputStream.java (read): New overload.
(read): Mask return result.
2006-12-15 Andrew Haley <aph@redhat.com>
* tools/Makefile.am (TOOLS_ZIP): Pass -g -w to javac.
Create all-classes.lst that contains all source filenames.
Delete asm.lst.
* tools/gnu/classpath/tools/jar/Creator.java (writeFile): Close
the inputStream.
2006-12-14 David Daney <ddaney@avtrex.com>
* gnu/java/net/protocol/http/HTTPURLConnection.java: Clean
imports.
(getHeaderFields): Change return type to Map<String,List<String>>
* gnu/java/net/protocol/http/Headers.java: Clean imports.
(headers) Change type to ArrayList<HeaderElement>.
(iterator) Change return type to Iterator<HeaderElement>.
(getValue) Remove casts.
(put) Same.
(putAll) Same.
(remove) Same.
(getAsMap) Change return type to Map<String,List<String>> and use
generics internally.
(getHeaderName) Remove casts.
(getHeaderValue) Same.
2006-12-14 Roman Kennke <kennke@aicas.com>
* gnu/java/awt/font/autofit/HintScaler.java
Renamed Scaler to HintScaler to avoid name-clash.
* gnu/java/awt/font/autofit/AutoHinter.java
(scaler): New field.
(applyHints): Scale the metrics before applying the hints.
(init): Copy font into scaler.
* gnu/java/awt/font/autofit/Edge.java
(blueEdge): New field.
(toString): Include first and last fields in debug output.
* gnu/java/awt/font/autofit/GlyphHints.java
(reload): Grab the scales here.
* gnu/java/awt/font/autofit/Latin.java
(computeBlueEdges): Implemented blue-edge detection.
(computeEdges): Correctly calculate edgeDistanceThreshold and
the scaled edge position.
(initWidths): Renamed Scaler to HintScaler. Sort widths and
store widthCount.
(scaleMetrics): Add HintScaler parameter. Implemented to scale
the metrics.
(scaleMetricsDim): New helper method.
* gnu/java/awt/font/autofit/LatinAxis.java
(orgDelta): New field.
(orgScale): New field.
* gnu/java/awt/font/autofit/LatinBlue.java: Reordered flags.
(FLAG_BLUE_ACTIVE): New flag.
* gnu/java/awt/font/autofit/Scaler.java: Renamed to HintScaler.
* gnu/java/awt/font/autofit/Script.java
(scaleMetrics): Add HintScaler argument.
* gnu/java/awt/font/autofit/ScriptMetrics.java
Renamed Scaler to HintScaler.
* gnu/java/awt/font/autofit/Utils.java
(sort(int,Width[])): New helper method. Sorts Width arrays.
(mulDiv): New helper method.
(pixFloor): New helper method.
(pixRound): New helper method.
* gnu/java/awt/font/autofit/Width.java
(toString): New method. For debug output.
* gnu/java/awt/font/opentype/truetype/Fixed.java
(mul16): New method. Multiplies with 16.16 fixed point arithmetics.
(div16): New method. Divides with 16.16 fixed point arithmetics.
(valueOf16): New method. Converts double to 16.16 fixed point.
* gnu/java/awt/font/opentype/truetype/Zone.java
(scaleX): New field.
(scaleY): New field.
(shearX): New field.
(shearY): New field.
(transform): Store translation and shearing in fields instead of
local vars.
2006-12-14 Roman Kennke <kennke@aicas.com>
* gnu/java/awt/font/autofit/AutoHinter.java
(hints): New field.
(applyHints): New method. Implements the actual hinting.
* gnu/java/awt/font/autofit/AxisHints.java
(edges): New field.
(AxisHints): Initialize edges field.
(newEdge): New method. Records a new edge and sorts it into the
existing list.
* gnu/java/awt/font/autofit/Edge.java: New class.
* gnu/java/awt/font/autofit/GlyphHints.java
(GlyphHints): Initialize the scales with 1.
(doHorizontal): New method.
(doVertical): New method.
* gnu/java/awt/font/autofit/Latin.java
(alignEdgePoints): New stub method.
(alignStrongPoints): New stub method.
(alignWeakPoints): New stub method.
(applyHints): Take outline as argument. Implemented skeleton.
(computeBlueEdges): New stub method.
(computeEdges): New method. Detects edges on a glyph outline.
(detectFeatures): New methods. Performs local feature analysis.
(hintEdges): New stub method.
(initBlues): Remove debug output.
* gnu/java/awt/font/autofit/LatinAxis.java
(edgeDistanceThreshold): Changed to be an int
(as fixed-point decimal).
* gnu/java/awt/font/autofit/Script.java
(applyHints): Include the outline in the method call.
* gnu/java/awt/font/autofit/Segment.java
(FLAG_EDGE_NORMAL): Set value to 0.
(FLAG_EDGE_SERIF): New constant.
(FLAG_EDGE_DONE): New constant.
(edge): New field.
(edgeNext): New field.
* gnu/java/awt/font/opentype/Hinter.java
(applyHints): New method. Applies the hints to the specified outline.
* gnu/java/awt/font/opentype/OpenTypeFont.java
(getGlyphOutline): Check the hinter and call the scaler with the
hinter.
* gnu/java/awt/font/opentype/Scaler.java
(getOutline): Also pass a Hinter.
* gnu/java/awt/font/opentype/truetype/GlyphLoader.java
(loadCompoundGlyph): Also accept a hinter argument.
(loadGlyph): Also accept a hinter argument.
(loadSimpleGlyph): Also accept a hinter argument. Hint the
resulting outline.
(loadSubGlyph): Also accept a hinter argument.
* gnu/java/awt/font/opentype/truetype/TrueTypeScaler.java
(getOutline): Accept hinter and pass it to the loader.
(getRawOutline): Pass null hinter to the loader.
2006-12-14 Roman Kennke <kennke@aicas.com>
* gnu/java/awt/font/autofit/LatinBlue.java:
New class.
2006-12-14 Roman Kennke <kennke@aicas.com>
* gnu/java/awt/font/autofit/Latin.java
(CAPITAL_TOP): New constant.
(CAPITAL_BOTTOM): New constant.
(SMALL_F_TOP): New constant.
(SMALL_TOP): New constant.
(SMALL_BOTTOM): New constant.
(SMALL_MINOR): New constant.
(BLUE_MAX): New constant.
(IDENTITY): New constant transform.
(MAX_TEST_CHARS): New constant.
(TEST_CHARS): New constants.
(initBlues): Implemented.
(initWidths): Use constant identity transform for loading
the test glyph.
(isTopBlue): New helper method.
* gnu/java/awt/font/autofit/LatinAxis.java
(widths): Initialize in constructor.
(blues): New field. Stores the blue zones.
(blueCount): New field. The number of blue zones.
(LatinAxis): New constructor.
* gnu/java/awt/font/autofit/Utils.java
(sort): New helper method.
* gnu/java/awt/font/opentype/truetype/Zone.java
(getContourEnd): New helper method.
2006-12-13 David Daney <ddaney@avtrex.com>
* java/lang/Collections.java
(UnmodifiableEntrySet.toArray): Fix bad casts.
2006-12-13 Roman Kennke <kennke@aicas.com>
* gnu/java/awt/font/autofit/AutoHinter.java: New class. The entry
point into the autohinter.
* gnu/java/awt/font/autofit/AxisHints.java
(majorDir): New field.
(numEdges): New field.
(numSegments): New field.
(AxisHints): New constructor.
(newSegment): New method. Records a new segment.
* gnu/java/awt/font/autofit/Constants.java
(DIR_DOWN): New constant.
(DIR_LEFT): New constant.
(DIR_RIGHT): New constant.
(DIR_TOP): New constant.
(DIR_NONE): New constant.
* gnu/java/awt/font/autofit/GlyphHints.java
(contours): New field.
(numContours): New field.
(maxPoints): New field.
(metrics): New field.
(numPoints): New field.
(points): New field.
(GlyphHints): New constructor.
(computeInflectionPoints): New helper method.
(computeSegments): Moved to Latin.
(linkSegments): Moved to Lating.
(reload): Implemented.
(rescale): Copy the metrics.
(setWeakPoint): New helper method.
* gnu/java/awt/font/autofit/Latin.java
(MAX_WIDTH): Make package private.
(computeSegments): New method. Computes the segments to a glyph.
(initWidths): Implemented. Determines the standard widths of stems
for the font.
(linkSegments): New method. Links stem segments and determines
serif segments.
* gnu/java/awt/font/autofit/LatinMetrics.java
(LatinMetrics()): New constructor.
(LatinMetrics(OpenTypeFont)): New constructor.
* gnu/java/awt/font/autofit/ScriptMetrics.java
(ScriptMetrics): New constructor.
* gnu/java/awt/font/autofit/Segment.java
(FLAG_EDGE_NORMAL): New constant.
(FLAG_EDGE_ROUND): New constant.
(contour): New field.
(dir): New field.
(first): New field.
(flags): New field.
(index): Removed.
(last): New field.
(len): New field.
(maxPos): New field.
(minPos): New field.
(numLinked): New field.
(score): New field.
(serif): New field.
(toString): New method. For debug output.
* gnu/java/awt/font/autofit/Utils.java: New utility class.
* gnu/java/awt/font/opentype/Hinter.java: New interface for
hinter implementations.
* gnu/java/awt/font/opentype/OpenTypeFont.java
(hinter): New field. Stores the hinter for that font.
(checkHinter): Checks if a hinter is installed and installs one
if necessary.
(createGlyphVector): Check installed hinter.
* gnu/java/awt/font/opentype/truetype/Fixed.java: Make class public
for access in the autohinting package.
* gnu/java/awt/font/opentype/truetype/Point.java: New class. Stores
coordinates and additional info that describe the outline of a glyph.
* gnu/java/awt/font/opentype/truetype/Zone.java: Use Point class
for storing the points.
2006-12-13 Tom Tromey <tromey@redhat.com>
* java/security/BasicPermission.java: Remove gcj workaround.
* java/security/cert/X509Certificate.java: Remove gcj workaround.
* java/net/ServerSocket.java (ServerSocket): Remove gcj
workaround.
(getImpl): Likewise.
* java/util/TreeMap.java (TreeIterator): Remove gcj workaround.
* java/text/AttributedStringIterator.java (getRunLimit): Remove
qualifications.
(getRunStart): Likewise.
* java/awt/AWTKeyStroke.java (removeEldestEntry): Remove gcj
workaround.
* java/awt/AlphaComposite.java (removeEldestEntry): Remove gcj
workaround.
* java/awt/geom/GeneralPath.java (WIND_EVEN_ODD, WIND_NON_ZERO,
BIG_VALUE): Don't fully qualify.
* gnu/javax/sound/midi/alsa/AlsaMidiSequencerDevice.java: Removed
imports.
* gnu/javax/sound/midi/alsa/AlsaPortDevice.java: Removed import.
* gnu/javax/sound/midi/dssi/DSSISynthesizer.java: Removed import.
* javax/swing/JComponent.java (firePropertyChange): Removed.
* javax/swing/text/InternationalFormatter.java (clone):
Uncomment.
* javax/swing/text/AbstractDocument.java (addEdit): Remove gcj
workaround.
(getChange): Likewise.
2006-12-13 Tom Tromey <tromey@redhat.com>
* examples/Makefile.am: Removed gcjx code.
* lib/Makefile.am: Removed gcjx code.
* tools/Makefile.am: Removed gcjx code.
* m4/acinclude.m4 (CLASSPATH_FIND_JAVAC): Removed gcjx code.
(CLASSPATH_WITH_GCJX): Removed.
(CLASSPATH_CHECK_GCJX): Likewise.
2006-12-13 Tom Tromey <tromey@redhat.com>
* tools/toolwrapper.c (MAINCLASS): New define.
(main): Use it.
* tools/Makefile.am (gnative2ascii_CFLAGS): Added -D for
MAINCLASS.
(gserialver_CFLAGS): Likewise.
* tools/gnative2ascii.in: Main class is named Native2ASCII.
* tools/gserialver.in: Main class is named SerialVer.
2006-12-12 Roman Kennke <kennke@aicas.com>
* javax/imageio/FileCacheImageOutputStream.java
(cache): New field. The actual cache as RandomAccessFile.
(cacheDir): Removed. Not needed at all.
(cacheFile): New field. The cache file.
(maxPos): New field. Stores the maximum position.
(FileCacheImageOutputStream): Initialize cache file.
(checkStreamClosed): Removed. This should be done by the super
method checkClosed().
(close): Properly close the stream and delete the cache.
(flushBefore): Implemented to also flush the cache.
(length): Implemented to return the length of the cache.
(read()): Implemented to read from the cache.
(read(byte[],int,int)): Likewise.
(seek): Implemented to seek the cache too.
(write(int)): Write to cache.
(write(byte[],int,int))
2006-12-12 Francis Kung <fkung@redhat.com>
PR 30155
* javax/imageio/spi/IIORegistry.java (IIORegistry): Register Toolkit SPIs.
2006-12-12 Andrew John Hughes <gnu_andrew@member.fsf.org>
* javax/management/AttributeList.java:
Extend ArrayList<Object>.
2006-12-12 Andrew John Hughes <gnu_andrew@member.fsf.org>
PR classpath/30154:
* javax/management/MBeanServer.java:
(createMBeanServer(String)): Check for a null
builder.
2006-12-11 Roman Kennke <kennke@aicas.com>
* java/awt/print/PrinterJob.java
(lookupStreamPrintServices): Uncommented and fixed parameters.
2006-12-11 Roman Kennke <kennke@aicas.com>
* java/awt/datatransfer/SystemFlavorMap.java
(flavorToNativeMap): Make typesafe.
(nativeToFlavorMap): Make typesafe.
(SystemFlavorMap): Read in mapping by reading the flavormap.properties.
(addFlavorForUnencodedNative): Access maps in a typesafe way.
(addUnencodedNativeForFlavor): Access maps in a typesafe way.
(getFlavorsForNative): Implemented.
(getNativesForFlavor): Implemented.
(setupMapping): New helper method.
2006-12-11 Jeroen Frijters <jeroen@frijters.net>
* javax/net/ssl/SSLSocketFactory.java (getDefault):
Chain exception cause.
2006-12-11 Roman Kennke <kennke@aicas.com>
* .classpath: Include ASM in Eclipse classpath.
2006-12-11 Andrew John Hughes <gnu_andrew@member.fsf.org>
* gnu/java/lang/management/BeanImpl.java:
(translate(String)): Trim strings of whitespace.
* javax/management/MBeanAttributeInfo.java:
(MBeanAttributeInfo(String,String,Method,Method)):
Use Class.getName() for normal (non-parameterized) cases.
* javax/management/MBeanConstructorInfo.java:
(MBeanConstructorInfo(String, Constructor)):
Likewise.
* javax/management/MBeanOperationInfo.java:
(MBeanOperationInfo(String, Method)):
Likewise.
2006-12-11 Andrew John Hughes <gnu_andrew@member.fsf.org>
* java/lang/Class.java:
(getClasses()): Return Class<?>[].
(internalGetClasses()): Likewise.
(getConstructor(Class<?>...)): Add type parameter
to parameters.
(getDeclaredConstructor(Class<?>...)): Likewise.
(getDeclaredClasses()): Return Class<?>[].
(getDeclaredClasses(boolean)): Likewise.
(getDeclaredConstructors()): Return Constructor<?>[].
(getDeclaredConstructors(boolean)): Likewise.
(getDeclaredMethod(String,Class<?>...)): Add type
parameter to parameters.
(getInterfaces()): Return Class<?>[].
(getMethods(String,Class<?>...)): Add type
parameter to parameters.
* java/text/CollationKey.java:
Make non-final.
* java/text/DecimalFormatSymbols.java:
Likewise.
2006-12-11 Andrew John Hughes <gnu_andrew@member.fsf.org>
* gnu/java/lang/management/BeanImpl.java:
(translate(String)): Handle Map and List as
Strings of the form "java.util.Map<K,V>" and
"java.util.List<E>"
* javax/management/MBeanAttributeInfo.java:
(MBeanAttributeInfo(String,String,Method,Method)):
Use generic parameter and return types.
* javax/management/MBeanConstructorInfo.java:
(MBeanConstructorInfo(String, Constructor)):
Use generic parameter types.
* javax/management/MBeanOperationInfo.java:
(MBeanOperationInfo(String, Method)):
Use generic parameter and return types.
2006-12-10 Andrew John Hughes <gnu_andrew@member.fsf.org>
* gnu/java/lang/management/BeanImpl.java:
(translate(String)): Comment out code for using type
variables for Map and List.
* java/lang/Thread.java:
(Thread(ThreadGroup,Runnable,String,long)): Fix
incrementation of totalThreadsCreated to be prior to use.
2006-12-10 Andrew John Hughes <gnu_andrew@member.fsf.org>
* javax/management/MBeanServerFactory.java:
(createMBeanServer(String)): Added security check.
(findMBeanServer(String)): Likewise.
(newMBeanServer(String)): Likewise.
(releaseMBeanServer(String)): Likewise.
* javax/management/MBeanServerPermission.java:
New file.
2006-12-08 David Daney <ddaney@avtrex.com>
* native/jni/java-nio/gnu_java_nio_VMChannel.c (is_non_blocking_fd):
Fix comment.
2006-12-08 David Daney <ddaney@avtrex.com>
* NEWS: Mention URLConnection.[get|set]ReadTimeout.
2006-12-08 David Daney <ddaney@avtrex.com>
* gnu/java/net/protocol/http/HTTPConnection.java (imports): Add
SocketException.
(HTTPConnection): Handle NumberFormatException in properties parsing.
(Pool.get): Set timeout on reused sockets.
* gnu/java/net/protocol/http/HTTPURLConnection.java (proxyPort):
Initialize.
(HTTPURLConnection): Cleanup properties handling.
(getConnection): Use both connection and read timeouts.
(setConnectTimeout): Removed.
(setReadTimeout): New method.
* java/net/URLConnection.java (timeout): Renamed to...
(connectTimeout): ... connectTimeout throughout.
(readTimeout): New field.
(getReadTimeout): New method.
(setReadTimeout): New method.
2006-12-08 Tania Bento <tbento@redhat.com>
* java/awt/ScrollPane.java
(doLayout): Change the location of the scrollpane's child
to (0, 0).
2006-12-08 David Daney <ddaney@avtrex.com>
* native/jni/java-nio/gnu_java_nio_VMChannel.c (is_non_blocking_fd):
New method.
(Java_gnu_java_nio_VMChannel_read__ILjava_nio_ByteBuffer_2): Throw
SocketTimeoutException if a blocking socket timesout.
(Java_gnu_java_nio_VMChannel_readScattering): Same.
(Java_gnu_java_nio_VMChannel_read__I): Same.
(Java_gnu_java_nio_VMChannel_connect): Initialize the fd set.
(Java_gnu_java_nio_VMChannel_connect6): Same.
2006-12-08 Mark Wielaard <mark@klomp.org>
* configure.ac (VERSION): Set to 0.93-generics.
* NEWS: Add release date.
2006-12-08 Tania Bento <tbento@redhat.com>
* java/awt/ScrollPane.java
(getScrollPosition): Throw NullPointerException if scrollpane
does have a child.
(setScrollPosition(int, int)): Throw NullPointerException if
scrollpane does have a child. Check that both ints are within
the allowed bounds; If they are not, scroll to the closest allowed
bound.
2006-12-07 Roman Kennke <kennke@aicas.com>
* javax/swing/JEditorPane.java
(EditorKitMapping): New inner helper class.
(editorKits): New static field for caching editor kit instances.
(static_initiazer): Initialize static mappings here.
(createEditorKitForContentType): Try to use cached instance.
Use correct classloader for loading.
(getEditorKitClassNameForContentType): Make use of EditorKitMapping
class.
(getEditorKitForContentType): Store the fetched editor kit.
Fallback to createDefaultEditorKit().
(init): Don't clean the static registry here.
(registerEditorKitForContentType(String,String,ClassLoader)):
Implemented.
(registerEditorKitForContentType(String,String)): Delegate to
the other version of this method with the thread's context
classloader.
2006-12-07 Mark Wielaard <mark@klomp.org>
* examples/gnu/classpath/examples/swing/HtmlDemo.java
(setPage): Don't convert URL to String for setPage().
2006-12-07 Mark Wielaard <mark@klomp.org>
* tools/Makefile.am (clean-local): Remove iasm and asm.lst.
2006-12-07 Mark Wielaard <mark@klomp.org>
* tools/Makefile.am: Explicitly define and use bootclasspath as
GLIBJ_BOOTCLASSPATH
2006-12-07 Mark Wielaard <mark@klomp.org>
* javax/swing/JEditorPane.java (createEditorKitForContentType):
Always load from system class loader.
2006-12-07 Mark Wielaard <mark@klomp.org>
* java/net/URL.java (URL(URL,String,URLStreamHandler,boolean)): New
private constructor.
(URL(URL,String,URLStreamHandler)): Call new constructor.
(URL(URL,String)): Likewise.
(URL(String)): Likewise.
2006-12-07 Tom Tromey <tromey@redhat.com>
* NEWS: Mention ASM.
* INSTALL: Don't mention --with-asm.
* tools/external/README: New file.
* tools/toolwrapper.c (main): Don't use ASM_JAR.
* tools/gjavah.in: Don't use PATH_TO_ASM.
* tools/grmic.in: Likewise.
* tools/Makefile.am (GLIBJ_CLASSPATH): Removed PATH_TO_ASM, added
'asm'.
(javah, rmic): Removed variables.
(bin_PROGRAMS): Updated.
(gappletviewer_CFLAGS): Don't define ASM_JAR.
(gjarsigner_CFLAGS): Likewise.
(gkeytool_CFLAGS): Likewise.
(gjar_CFLAGS): Likewise.
(gnative2ascii_CFLAGS): Likewise.
(gserialver_CFLAGS): Likewise.
(grmiregistry_CFLAGS): Likewise.
(gtnameserv_CFLAGS): Likewise.
(gorbd_CFLAGS): Likewise.
(grmid_CFLAGS): Likewise.
(gjavah_CFLAGS): Likewise.
(grmic_CFLAGS): Likewise.
(bin_SCRIPTS): Updated.
(TOOLS_JAVA_FILES): Updated.
($(TOOLS_ZIP)): Compile ASM sources. Copy resource files.
* configure.ac: Removed --with-asm. Always build gjavah.
2006-12-06 Roman Kennke <kennke@aicas.com>
* examples/gnu/classpath/examples/swing/BrowserEditorKit.java:
New class.
* examples/gnu/classpath/examples/swing/HtmlDemo.java
(LoadActionListener): Call setPage() helper method.
(createContent): Register tweaked editor kit. For FormSubmitEvents
call submitForm(), otherwise setPage().
(postData): Helper method for posting form data.
(setPage): Helper method for navigating to a new URL.
(submitForm): Helper method for submitting a form.
* examples/gnu/classpath/examples/swing/forms.html:
Added text/password fields and select boxes.
* examples/gnu/classpath/examples/swing/welcome.html: Fixed typo.
2006-12-06 Roman Kennke <kennke@aicas.com>
* javax/swing/text/html/FormView.java
(SubmitThread.postData): Implemented.
(SubmitThread.run): Pass data to postData().
(actionPerformed): Reset form when reset button is activated.
(createComponent): Add support for select lists and comboboxes.
Don't set value of text and password fields here, this is done
now in HTMLDocument for consistency.
(getElementFormData): Add support for fetching form data from
select lists and comboboxes as well as textareas.
(getSelectData): New helper method. Fetches form data from
select boxes.
(getTextAreaData): New helper method. Fetches form data from
textareas.
(resetForm): New helper method. Resets the entire form.
* javax/swing/text/html/HTMLDocument.java
(HTMLReader.FormAction.end): Handle SELECT and OPTION tags.
(HTMLReader.FormAction.start): Handle SELECT and OPTION tags.
(HTMLReader.FormAction.setModel): Initialize text and password
values here. Also, use the resetable special models.
Group radio buttons into ButtonGroup for exclusive selection.
(HTMLReader.FormTagAction): New class. Handles FORM tags.
(HTMLReader.buttonGroups): New field.
(HTMLReader.numOptions): New field.
(HTMLReader.option): New field.
(HTMLReader.selectModel): New field.
(HTMLReader.textAreaDocument): Make ResetablePlainDocument.
(HTMLReader.handleText): Handle OPTION text.
(HTMLReader.initTags): Map FORM tags to FormTagAction.
(HTMLReader.textAreaContent): Set initial content.
* javax/swing/text/html/Option.java
(Option): Make copy of attribute set. Initialize selected state.
(getValue): Fetch value from attribute set.
* javax/swing/text/html/ResetableModel.java: New interface.
* javax/swing/text/html/ResetablePlainDocument.java: New class.
Supports resetting the state.
* javax/swing/text/html/ResetableToggleButtonModel.java: Likewise.
* javax/swing/text/html/SelectComboBoxModel.java: Likewise.
* javax/swing/text/html/SelectListModel.java: Likewise.
2006-12-06 Roman Kennke <kennke@aicas.com>
* javax/swing/text/DefaultCaret.java
(appear): Adjust visibility here.
(setDotImpl): Don't adjust visibility here.
(moveDotImpl): Don't adjust visibility here.
2006-12-06 Roman Kennke <kennke@aicas.com>
* gnu/java/awt/peer/gtk/AsyncImage.java
(Loader.run): Synchronize on the AsyncImage to avoid threading
issues.
(addObservers): Check for obs==null outside and synchronize on
this inside to avoid locking issues.
(checkImage): New helper method.
(notifyObservers): Check that the correct lock is held and
remove actual locking.
* gnu/java/awt/peer/gtk/GtkToolkit.java
(checkImage): Added special handling for AsyncImages.
2006-12-06 Roman Kennke <kennke@aicas.com>
* examples/gnu/classpath/examples/swing/Demo.java
(getIcon): Made package private.
* examples/gnu/classpath/examples/swing/HtmlDemo.java
(hyperlinkUpdate): Convert URL to string.
2006-12-06 Mark Wielaard <mark@klomp.org>
* gnu/java/awt/peer/gtk/AsyncImage.java (addObserver): Never notify
null Observer.
2006-12-06 Roman Kennke <kennke@aicas.com>
* examples/gnu/classpath/examples/icons/back.png,
* examples/gnu/classpath/examples/icons/reload.png:
New icons for the HTML browser.
* examples/gnu/classpath/examples/swing/HtmlDemo.java
(history): New field. Manages the browsing history.
(HtmlDemo): Initialize history.
(createContent): Set location and add history. Add toolbar.
(createToolBar): New helper method.
(main): Make default size bigger.
* examples/gnu/classpath/examples/swing/frame1.html,
* examples/gnu/classpath/examples/swing/frame2.html,
* examples/gnu/classpath/examples/swing/frame3.html,
* examples/gnu/classpath/examples/swing/frame4.html,
* examples/gnu/classpath/examples/swing/frames.html,
* examples/gnu/classpath/examples/swing/tables.html:
New example pages.
* examples/gnu/classpath/examples/swing/welcome.html
Add a couple of links and new test pages.
2006-12-06 Roman Kennke <kennke@aicas.com>
* javax/swing/JEditorPane.java
(getStream): Buffer the stream for efficiency.
(setPage): Don't scroll the view at this point.
* javax/swing/plaf/basic/BasicTextUI.java
(RootView.paint): Call RootView's setSize to get synchronization.
(RootView.setSize): Synchronize to prevent race in layout code.
* javax/swing/text/AbstractDocument.java
(notifyListeners): New field.
(fireChangedUpdate): Track notifyListener field.
(fireRemoveUpdate): Track notifyListener field.
(fireIndertUpdate): Track notifyListener field.
(writeLock): Check notifyListener and throw IllegalStateException.
* javax/swing/text/View.java
(preferenceChanged): Create local var for better thread safety and
more efficiency.
2006-12-06 Thomas Fitzsimmons <fitzsim@redhat.com>
* java/awt/ScrollPane.java (addNotify): Add a parent panel for any
lightweight component, not just for non-Panel components.
(addImpl): Do not call doLayout.
* native/jni/gtk-peer/gnu_java_awt_peer_gtk_GtkButtonPeer.c
(setNativeBounds): Ensure widget parent is a GtkFixed before
calling gtk_fixed_move.
* native/jni/gtk-peer/gnu_java_awt_peer_gtk_GtkLabelPeer.c
(setNativeBounds): Likewise.
* native/jni/gtk-peer/gnu_java_awt_peer_gtk_GtkComponentPeer.c
(setNativeBounds): Likewise.
2006-12-06 Roman Kennke <kennke@aicas.com>
* javax/swing/text/html/TableView.java
(RowView.layoutMajorAxis): Check column index for invalid value.
(updateGrid): Check column index for invalid value.
2006-12-06 Roman Kennke <kennke@aicas.com>
* javax/swing/text/html/BlockView.java
(getAlignment): Align blocks horizontally by the superclass.
* javax/swing/text/html/HTMLEditorKit.java
(HTMLFactory.create): Replace equals comparison by == for efficiency.
Add mapping for misplaced tr, td and th tags. Include object mapping.
* javax/swing/text/html/TableView.java
(RowView.replace): Invalidate grid early.
(gridValid): Initialize with false.
(create): Only create RowView and CellView for correctly placed
tags. Avoid unnecessary casts.
(getAlignment): Removed.
(replace): Invalidate grid early.
2006-12-06 Francis Kung <fkung@redhat.com>
* java/awt/geom/RectangularShape.java
(getBounds): Remove empty rectangle check.
2006-12-06 Ben Konrath <bkonrath@redhat.com>
Fixes PR 29853.
* gnu/xml/dom/DomAttr.java: Don't report mutation if oldValue and
newValue are the same.
* gnu/xml/dom/DomNode.java: Set parent if null during mutation.
2006-12-06 Tania Bento <tbento@redhat.com>
* javax/swing/border/CompoundBorder.java:
(isBorderOpaque): If inside border is null, return true if outside
border is opaque, false otherwise; if outside border is null, return
true if inside border is opaque, false otherwise; if inside or
outside border are both not null, then return true only if both the
inside and outside border are opaque, false otherwise.
2006-12-06 Tania Bento <tbento@redhat.com>
* javax/swing/border/CompoundBorder.java:
(isBorderOpaque): If inside and outside border both have a null
value, return true.
2006-12-06 Chris Burdess <dog@gnu.org>
Fixes PR 29272.
* javax/xml/parsers/DocumentBuilderFactory.java: Fix broken Javadoc.
* gnu/xml/stream/SAXParser.java: Fix file descriptor leak.
2006-12-06 Chris Burdess <dog@gnu.org>
Fixes PR 29264.
* gnu/xml/stream/XMLStreamWriterImpl.java: Allow arbitrary text in
writeDTD method.
2006-12-06 Chris Burdess <dog@gnu.org>
Fixes PR 28816.
* javax/xml/validation/SchemaFactory.java: Use correct algorithm to
discover schema factory implementation class.
2006-12-05 Francis Kung <fkung@redhat.com>
* java/awt/BasicStroke.java
(capEnd): Prevent division by zero.
* java/awt/geom/Arc2D.java
(ArcIterator.ArcIterator): Do not shift the arc to make the extent positive.
(ArcIterator.currentSegment): Handle a negative extent.
2006-12-05 Francis Kung <fkung@redhat.com>
* gnu/java/awt/peer/gtk/BufferedImageGraphics.java
(constructor): Handle translated subimages properly, ie, if the image's
0,0 position is not the data buffer's first element.
2006-12-05 Roman Kennke <kennke@aicas.com>
* gnu/java/awt/peer/gtk/AsyncImage.java
(Loader.run): Nullify observers after loading.
(observers): Made package private.
(addObserver): Check for null observers field. Create local
variable for thread safety.
(getHeight): Use addObserver() for checking state of field
and notifying observer when necessary.
(getWidth): Use addObserver() for checking state of field
and notifying observer when necessary.
(getProperty): Use addObserver() for checking state of field
and notifying observer when necessary.
(notifyObservers): Check for null observers field. Create local
variable for thread safety.
2006-12-05 Roman Kennke <kennke@aicas.com>
* javax/swing/text/html/HTMLEditorKit.java
(HTMLFactory.create): Removed debug output.
* javax/swing/text/html/InlineView.java
(getBreakWeight): Likewise.
* javax/swing/text/html/StyleSheet.java
(addRule): Likewise.
(ListPainter.paint): Removed debug output.
2006-12-05 Roman Kennke <kennke@aicas.com>
* javax/swing/text/html/BlockView.java
(painter): Made package visible.
* javax/swing/text/html/StyleSheet.java
(translateBorder): New helper method.
(translateHTMLToCSS): Add mappings for border attributes.
* javax/swing/text/html/TableView.java
Made class subclass of BlockView to get CSS goodness.
(CellView.rowSpan): New field.
(CellView.setPropertiesFromAttributes): Fetch rowspan.
(RowView.overlap): New field.
(RowView.rowIndex): New field.
(RowView.layoutMajorAxis): Skip overlapping cells.
(RowView.layoutMinorAxis): Layout cells that span more than 1 row.
(numColumns): New field.
(tmpRect): New field.
(TableView): Initialize tmpRect.
(calculateColumnRequirements): Adjusted and fixed for multirows.
(getAlignment): Overridden to center tables.
(paint): Overridden to fix clipping.
(getStyleSheet): Made protected.
(layoutMajorAxis): Invalidate rows.
(setPropertiesFromAttributes): Made protected and call super.
(updateGrid): Update the overlapping information for multirows.
2006-12-05 Roman Kennke <kennke@aicas.com>
* gnu/java/awt/peer/gtk/AsyncImage.java
(addObserver): Check for null and ignore null observers.
(getWidth): Check for null and ignore null observers.
(getHeight): Check for null and ignore null observers.
(getProperty): Check for null and ignore null observers.
2006-12-05 Francis Kung <fkung@redhat.com>
* java/awt/BasicStroke.java
(capEnd): Prevent division by zero.
* java/awt/geom/Arc2D.java
(ArcIterator.ArcIterator): Do not shift the arc to make the extent positive.
(ArcIterator.currentSegment): Handle a negative extent.
2006-12-05 Francis Kung <fkung@redhat.com>
* gnu/java/awt/peer/gtk/BufferedImageGraphics.java
(constructor): Handle translated subimages properly, ie, if the image's
0,0 position is not the data buffer's first element.
2006-12-05 Roman Kennke <kennke@aicas.com>
* javax/swing/text/html/ImageView.java
(imageUpdate): Use spans field to determine if the CSS width/height
are set. Call safePreferenceChanged to protect view structure
from threading issues.
(spans): Made package private.
(ImageView): Initialize loadOnDemand with false.
(loadImage): Call Toolkit.prepareImage() to make sure we have
our Observer registered.
(safePreferenceChanged): New helper method. Calls preferenceChanged
in a thread safe environment.
2006-12-05 Roman Kennke <kennke@aicas.com>
* NEWS: Add entry about improved HTML support.
2006-12-05 Roman Kennke <kennke@aicas.com>
* javax/swing/text/html/ImageView.java
(ImageView): Initialize spans array here.
(setPropertiesFromAttributes): Moved init of spans array to
constructor.
2006-12-05 Roman Kennke <kennke@aicas.com>
* javax/swing/text/html/BlockView.java
(painter): Made package visible.
* javax/swing/text/html/StyleSheet.java
(translateBorder): New helper method.
(translateHTMLToCSS): Add mappings for border attributes.
* javax/swing/text/html/TableView.java
Made class subclass of BlockView to get CSS goodness.
(CellView.rowSpan): New field.
(CellView.setPropertiesFromAttributes): Fetch rowspan.
(RowView.overlap): New field.
(RowView.rowIndex): New field.
(RowView.layoutMajorAxis): Skip overlapping cells.
(RowView.layoutMinorAxis): Layout cells that span more than 1 row.
(numColumns): New field.
(tmpRect): New field.
(TableView): Initialize tmpRect.
(calculateColumnRequirements): Adjusted and fixed for multirows.
(getAlignment): Overridden to center tables.
(paint): Overridden to fix clipping.
(getStyleSheet): Made protected.
(layoutMajorAxis): Invalidate rows.
(setPropertiesFromAttributes): Made protected and call super.
(updateGrid): Update the overlapping information for multirows.
2006-12-05 Roman Kennke <kennke@aicas.com>
* javax/swing/text/html/HTMLEditorKit.java
(HTMLFactory.create): Removed debug output.
* javax/swing/text/html/InlineView.java
(getBreakWeight): Likewise.
* javax/swing/text/html/StyleSheet.java
(addRule): Likewise.
(ListPainter.paint): Removed debug output.
2006-12-06 Roman Kennke <kennke@aicas.com>
* javax/swing/text/html/BlockView.java
(getAlignment): Align blocks horizontally by the superclass.
* javax/swing/text/html/HTMLEditorKit.java
(HTMLFactory.create): Replace equals comparison by == for efficiency.
Add mapping for misplaced tr, td and th tags. Include object mapping.
* javax/swing/text/html/TableView.java
(RowView.replace): Invalidate grid early.
(gridValid): Initialize with false.
(create): Only create RowView and CellView for correctly placed
tags. Avoid unnecessary casts.
(getAlignment): Removed.
(replace): Invalidate grid early.
2006-12-06 Roman Kennke <kennke@aicas.com>
* javax/swing/text/html/TableView.java
(RowView.layoutMajorAxis): Check column index for invalid value.
(updateGrid): Check column index for invalid value.
2006-12-06 Roman Kennke <kennke@aicas.com>
* javax/swing/JEditorPane.java
(getStream): Buffer the stream for efficiency.
(setPage): Don't scroll the view at this point.
* javax/swing/plaf/basic/BasicTextUI.java
(RootView.paint): Call RootView's setSize to get synchronization.
(RootView.setSize): Synchronize to prevent race in layout code.
* javax/swing/text/AbstractDocument.java
(notifyListeners): New field.
(fireChangedUpdate): Track notifyListener field.
(fireRemoveUpdate): Track notifyListener field.
(fireIndertUpdate): Track notifyListener field.
(writeLock): Check notifyListener and throw IllegalStateException.
* javax/swing/text/View.java
(preferenceChanged): Create local var for better thread safety and
more efficiency.
2006-12-06 Roman Kennke <kennke@aicas.com>
* examples/gnu/classpath/examples/icons/back.png,
* examples/gnu/classpath/examples/icons/reload.png:
New icons for the HTML browser.
* examples/gnu/classpath/examples/swing/HtmlDemo.java
(history): New field. Manages the browsing history.
(HtmlDemo): Initialize history.
(createContent): Set location and add history. Add toolbar.
(createToolBar): New helper method.
(main): Make default size bigger.
* examples/gnu/classpath/examples/swing/frame1.html,
* examples/gnu/classpath/examples/swing/frame2.html,
* examples/gnu/classpath/examples/swing/frame3.html,
* examples/gnu/classpath/examples/swing/frame4.html,
* examples/gnu/classpath/examples/swing/frames.html,
* examples/gnu/classpath/examples/swing/tables.html:
New example pages.
* examples/gnu/classpath/examples/swing/welcome.html
Add a couple of links and new test pages.
2006-12-06 Roman Kennke <kennke@aicas.com>
* examples/gnu/classpath/examples/swing/Demo.java
(getIcon): Made package private.
* examples/gnu/classpath/examples/swing/HtmlDemo.java
(hyperlinkUpdate): Convert URL to string.
2006-12-06 Roman Kennke <kennke@aicas.com>
* javax/swing/text/DefaultCaret.java
(appear): Adjust visibility here.
(setDotImpl): Don't adjust visibility here.
(moveDotImpl): Don't adjust visibility here.
2006-12-06 Roman Kennke <kennke@aicas.com>
* javax/swing/text/html/FormView.java
(SubmitThread.postData): Implemented.
(SubmitThread.run): Pass data to postData().
(actionPerformed): Reset form when reset button is activated.
(createComponent): Add support for select lists and comboboxes.
Don't set value of text and password fields here, this is done
now in HTMLDocument for consistency.
(getElementFormData): Add support for fetching form data from
select lists and comboboxes as well as textareas.
(getSelectData): New helper method. Fetches form data from
select boxes.
(getTextAreaData): New helper method. Fetches form data from
textareas.
(resetForm): New helper method. Resets the entire form.
* javax/swing/text/html/HTMLDocument.java
(HTMLReader.FormAction.end): Handle SELECT and OPTION tags.
(HTMLReader.FormAction.start): Handle SELECT and OPTION tags.
(HTMLReader.FormAction.setModel): Initialize text and password
values here. Also, use the resetable special models.
Group radio buttons into ButtonGroup for exclusive selection.
(HTMLReader.FormTagAction): New class. Handles FORM tags.
(HTMLReader.buttonGroups): New field.
(HTMLReader.numOptions): New field.
(HTMLReader.option): New field.
(HTMLReader.selectModel): New field.
(HTMLReader.textAreaDocument): Make ResetablePlainDocument.
(HTMLReader.handleText): Handle OPTION text.
(HTMLReader.initTags): Map FORM tags to FormTagAction.
(HTMLReader.textAreaContent): Set initial content.
* javax/swing/text/html/Option.java
(Option): Make copy of attribute set. Initialize selected state.
(getValue): Fetch value from attribute set.
* javax/swing/text/html/ResetableModel.java: New interface.
* javax/swing/text/html/ResetablePlainDocument.java: New class.
Supports resetting the state.
* javax/swing/text/html/ResetableToggleButtonModel.java: Likewise.
* javax/swing/text/html/SelectComboBoxModel.java: Likewise.
* javax/swing/text/html/SelectListModel.java: Likewise.
2006-12-06 Roman Kennke <kennke@aicas.com>
* examples/gnu/classpath/examples/swing/BrowserEditorKit.java:
New class.
* examples/gnu/classpath/examples/swing/HtmlDemo.java
(LoadActionListener): Call setPage() helper method.
(createContent): Register tweaked editor kit. For FormSubmitEvents
call submitForm(), otherwise setPage().
(postData): Helper method for posting form data.
(setPage): Helper method for navigating to a new URL.
(submitForm): Helper method for submitting a form.
* examples/gnu/classpath/examples/swing/forms.html:
Added text/password fields and select boxes.
* examples/gnu/classpath/examples/swing/welcome.html: Fixed typo.
2006-12-07 Mark Wielaard <mark@klomp.org>
* java/net/URL.java (URL(URL,String,URLStreamHandler,boolean)): New
private constructor.
(URL(URL,String,URLStreamHandler)): Call new constructor.
(URL(URL,String)): Likewise.
(URL(String)): Likewise.
2006-12-07 Mark Wielaard <mark@klomp.org>
* javax/swing/JEditorPane.java (createEditorKitForContentType):
Always load from system class loader.
2006-12-06 Ben Konrath <bkonrath@redhat.com>
Fixes PR 29853.
* gnu/xml/dom/DomAttr.java: Don't report mutation if oldValue and
newValue are the same.
* gnu/xml/dom/DomNode.java: Set parent if null during mutation.
2006-12-06 Chris Burdess <dog@gnu.org>
Fixes PR 29272.
* javax/xml/parsers/DocumentBuilderFactory.java: Fix broken Javadoc.
* gnu/xml/stream/SAXParser.java: Fix file descriptor leak.
2006-12-06 Chris Burdess <dog@gnu.org>
Fixes PR 29264.
* gnu/xml/stream/XMLStreamWriterImpl.java: Allow arbitrary text in
writeDTD method.
2006-12-056 Chris Burdess <dog@gnu.org>
Fixes PR 28816.
* javax/xml/validation/SchemaFactory.java: Use correct algorithm to
discover schema factory implementation class.
2006-12-05 Roman Kennke <kennke@aicas.com>
* gnu/java/awt/peer/gtk/AsyncImage.java: New class. Supports
asynchronous loading of images.
* gnu/java/awt/peer/gtk/CairoGraphics2D.java
(drawImage): Fetch real image from possibly AsyncImage.
* gnu/java/awt/peer/gtk/ComponentGraphics.java
(drawImage): Fetch real image from possibly AsyncImage.
* gnu/java/awt/peer/gtk/GtkToolkit.java
(createImage(URL)): Create async image.
(imageOrError): Made method static for easy access from AsyncImage.
(prepareImage): For async images, register the observer to the
image.
2006-12-05 Roman Kennke <kennke@aicas.com>
(paintComponent): Include paint area from event.
(updateComponent): Include paint area from event.
2006-12-06 Thomas Fitzsimmons <fitzsim@redhat.com>
* java/awt/ScrollPane.java (addNotify): Add a parent panel for any
lightweight component, not just for non-Panel components.
(addImpl): Do not call doLayout.
* native/jni/gtk-peer/gnu_java_awt_peer_gtk_GtkButtonPeer.c
(setNativeBounds): Ensure widget parent is a GtkFixed before
calling gtk_fixed_move.
* native/jni/gtk-peer/gnu_java_awt_peer_gtk_GtkLabelPeer.c
(setNativeBounds): Likewise.
* native/jni/gtk-peer/gnu_java_awt_peer_gtk_GtkComponentPeer.c
(setNativeBounds): Likewise.
2006-12-04 Thomas Fitzsimmons <fitzsim@redhat.com>
* java/awt/Component.java (getFontImpl): Return a default font if
topmost parent's font is null.
2006-12-04 Mark Wielaard <mark@klomp.org>
* javax/swing/text/html/CSS.java (parseMarginShorthand):
Remove debug output.
2006-12-04 Roman Kennke <kennke@aicas.com>
* java/awt/font/TextLayout.java
(hitTestChar): Fixed conditions for inclusion of range.
Use layout information in the run for more efficiency.
2006-12-04 Roman Kennke <kennke@aicas.com>
* javax/swing/text/GlyphView.java
(J2DGlyphPainter): New inner class.
(checkPainter): For Java2D capable environments create
a J2DGlyphPainter.
2006-12-04 Roman Kennke <kennke@aicas.com>
* gnu/java/awt/peer/gtk/FreetypeGlyphVector.java
(FreeTypeGlyphVector): Don't filter control chars here.
(getGlyphs): Filter control chars and replace them by
hair space char.
2006-12-04 Roman Kennke <kennke@aicas.com>
* native/jni/java-nio/gnu_java_nio_VMChannel.c
(Java_gnu_java_nio_VMChannel_connect): Retry on EINTR.
2006-12-04 Andrew John Hughes <gnu_andrew@member.fsf.org>
* gnu/java/lang/management/BeanImpl.java:
(translate(String)): Don't assume the list uses "E",
just use the first and only type variable.
* java/lang/management/ManagementFactory.java:
(getPlatformMBeanServer()): Register logging bean.
* javax/management/openmbean/OpenType.java:
(OpenType(String,String,String)): Actually use
the string created to handle arrays.
2006-12-04 Mark Wielaard <mark@klomp.org>
* native/jni/java-nio/gnu_java_nio_VMChannel.c
(JCL_thread_interrupted): Use CallStaticBooleanMethod.
2006-12-04 Mark Wielaard <mark@klomp.org>
* vm/reference/gnu/java/nio/VMChannel.java (isThreadInterrupted):
Make static.
* native/jni/java-nio/gnu_java_nio_VMChannel.c
(JCL_thread_interrupted): Only take JNIEnv.
(vm_channel_class): New static variable.
(initID): Set vm_channel_class.
Wrap all reads() and writes() in do-while blocks that check
interrupted status.
2006-12-04 Andrew John Hughes <gnu_andrew@member.fsf.org>
* gnu/javax/management/Server.java:
Make map final and initialise it.
(unregisterMBean(ObjectName)): Match against
delegate's object name and not the instance.
* java/lang/management/ManagementFactory.java:
Added constant fields.
(getPlatformMBeanServer()): Implemented.
* javax/management/MBeanServerFactory.java: New file.
2006-12-04 Roman Kennke <kennke@aicas.com>
* javax/swing/text/BoxView.java
(paint): Replaced painting algorithm with more simple and more
reliable painting of the box.
* javax/swing/text/html/BlockView.java
(PositionInfo): New inner class. Stores additional CSS
positioning information.
(positionInfo): New field.
(BlockView): Initialize positionInfo field.
(fetchLayoutInfo): New helper method. Fetches additional
CSS positioning information.
(layoutMajorAxis): Perform additional CSS layout.
(layoutMinorAxis): Perform additional CSS layout.
(positionView): New helper method.
(replace): Overridden to fetch additional layout information.
* javax/swing/text/html/CSS.java
(Attribute.POSITION): New field.
(Attribute.LEFT): New field.
(Attribute.RIGHT): New field.
(Attribute.TOP): New field.
(Attribute.BOTTOM): New field.
(getValue): Create Length for left, right, top and bottom
attributes.
2006-12-04 Roman Kennke <kennke@aicas.com>
* gnu/javax/swing/text/html/parser/support/Parser.java
(Sgml): Consume any whitespace that immediately follows
and sgml insertion.
(parseDocument): Consume any initial whitespace.
2006-12-03 Mark Wielaard <mark@klomp.org>
* gnu/javax/management/Server.java (beans): Initialize.
(registerMBean): Don't initialize beans.
2006-12-03 Mark Wielaard <mark@klomp.org>
* java/util/logging/LogManager.java (getLevelProperty): Check
whether value is null before passing to Level.parse().
2006-12-04 Robert Lougher <rob.lougher@gmail.com>
* java/lang/management/ThreadInfo.java (ThreadInfo): Check
whether given a null lock and lockOwner.
2006-12-03 Mark Wielaard <mark@klomp.org>
* javax/swing/JEditorPane.java (PageLoader.in): Made a PageStream.
(PageLoader.page): Made package local.
(PageLoader.run): Don't reset loader.
(PageLoader.cancel): New method.
(loading): Renamed to loader.
(getPage): Return loader.page.
(setPage): Always set loader. Never reset to null.
2006-12-03 Mark Wielaard <mark@klomp.org>
* javax/swing/plaf/basic/BasicTreeUI.java (paint): Check whether
path[k] is null.
(isLastChild): Return false when path is null.
2006-12-03 Mark Wielaard <mark@klomp.org>
* gnu/java/awt/peer/gtk/GtkComponentPeer.java (paintArea): Renamed
to currentPaintArea.
(paintComponent): Work with local reference to currentPaintArea.
(updateComponent): Likewise.
(coalescePaintEvent): Set currentPaintArea.
2006-12-02 Andrew John Hughes <gnu_andrew@member.fsf.org>
* javax/management/MBeanServerBuilder.java: New file.
2006-12-01 Mark Wielaard <mark@klomp.org>
* java/text/DecimalFormat.java (parse): Always increment parsing
index and adjust pos result.
2006-12-01 Roman Kennke <kennke@aicas.com>
* javax/swing/text/html/HTML.java
(Attribute.DYNAMIC_CLASS): New field.
(Attribute.PSEUDO_CLASS): New field.
* javax/swing/text/html/HTMLDocument.java
(HTMLReader.CharacterAction.start): Initialize anchor with link
pseudo attribute.
(updateSpecialClass): New helper method. Updates the dynamic
or pseudo class for anchor tags.
* javax/swing/text/html/HTMLEditorKit.java
(LinkController.lastAnchorElement): New field. For tracking
enter/exit of anchors.
(LinkController.activateLink): Set pseudo class to 'visited'.
(LinkController.mouseMoved): Added support for tracking
the 'hover' dynamic class.
* javax/swing/text/html/InlineView.java
(changedUpdate): Fetch new properties.
* javax/swing/text/html/StyleSheet.java
(attributeSetToMap): New helper method.
(getRule): Also append dynamic and pseudo class to key.
(resolveStyle): Resolve style based generally on all attributes.
* javax/swing/text/html/TableView.java
(RowView.layoutMajorAxis): Make sure the grid is valid.
(updateGrid): Made package private.
* gnu/javax/swing/text/html/css/Selector.java
(calculateSpecificity): Added support for dynamic and pseudo classes.
(matches): Changed to operate on general attributes.
Added support for dynamic and pseudo classes.
2006-12-01 Mario Torre <neugens@limasoftware.net>
* java/text/DecimalFormat.java (formatInternal): move the formatting of
fractional portion in a separate method.
Also fixes the handling of decimal separator and its associated field.
(handleFractionalPart): new method, needed to relax a bit
formatInternal.
2006-12-01 Andrew John Hughes <gnu_andrew@member.fsf.org>
* java/beans/beancontext/BeanContextServicesSupport.java:
(BCSSProxyServiceProvider.getCurrentServiceSelectors(BeanContextServices,
Class)): Implemented.
(BCSSProxyServiceProvider.getService(BeanContextServices, Object,
Class, Object)): Implemented.
(BCSSProxyServiceProvider.releaseService(BeanContextServices,
Object, Object)): Implemented.
(BCSSProxyServiceProvider.serviceRevoked(BeanContextServiceRevokedEvent)):
Implemented.
(initialiseBeanContextResources()): Implemented.
(releaseBeanContextResoures()): Implemented.
2006-12-01 Mark Wielaard <mark@klomp.org>
* include/gnu_java_awt_peer_gtk_GdkFontPeer.h: Regenerated.
2006-12-01 Roman Kennke <kennke@aicas.com>
* gnu/javax/swing/text/html/css/BorderStyle.java: New class for
handling border styles.
* gnu/javax/swing/text/html/css/BorderWidth.java
(isValid): New method.
* gnu/javax/swing/text/html/css/Length.java
(isValid): New method.
* javax/swing/text/html/CSS.java
(addInternal): Added shorthand parsing for border, padding and
margin.
(parseBackgroundShorthand): Added API docs.
(parsePaddingShorthand): New method. Handles padding shorthand
values.
(parseMarginShorthand): New method. Handles margin shorthand
values.
(parseBorderShorthand): New method. Handles border shorthand
values.
* javax/swing/text/html/StyleSheet.java
(translateHTMLToCSS): Set specific padding attributes.
(BoxPainter.BoxPainter): Don't handle PADDING and MARGIN here.
These shorthands are now handled in CSS.
(BoxPainter.paint): Exclude the outer margin.
2006-12-01 Roman Kennke <kennke@aicas.com>
* gnu/javax/swing/text/html/css/Length.java
(emBase): New field.
(exBase): New field.
(isFontEMRelative): New field.
(isFontEXRelative): New field.
(Length): Recognize and setup EM and EX relative values.
(getValue): Handle EM and EX relative values.
(isEMRelative): New method.
(isEXRelative): New method.
(setEMBase): New method.
(setEXBase): New method.
(setFontBases): New method.
* gnu/javax/swing/text/html/parser/support/Parser.java
(_handleEmptyTag): Use new isBlock() helper method.
(_handleEndTag_remaining): Use new isBlock() helper method.
(_handleStartTag): Consume whitespace after block start tag.
(Comment): Consume whitespace after a comment.
(isBlock): New helper method.
(readAttributes): Consider all characters in unquoted attribute
values.
* javax/swing/text/html/BlockView.java
(layoutMinorAxis): Use cached span value.
(paint): Added debug code (commented out).
(setPropertiesFromAttributes): Set the EM and EX base on lengths.
* javax/swing/text/html/CSSBorder.java
(CSSBorder): Take StyleSheet as argument. Call getBorderWidth()
with stylesheet.
(getBorderWidth): Set the EM and EX base on the length values.
* javax/swing/text/html/HTMLDocument.java
(HTMLReader.ParagraphAction.end): Do not set the inParagraph field.
(HTMLReader.ParagraphAction.start): Do not set the inParagraph field.
(HTMLReader.inImpliedParagraph): Removed.
(HTMLReader.inParagraph): Removed.
(HTMLReader.parseStack): New field.
(HTMLReader.addContent): Use new paragraph handling.
(HTMLReader.addSpecialElement): Use new paragraph handling.
(HTMLReader.blockClose): Use new paragraph handling.
(HTMLReader.blockOpen): Use new paragraph handling.
(HTMLReader.inImpliedParagraph): New helper method.
(HTMLReader.inParagraph): New helper method.
* javax/swing/text/html/ImageView.java
(attributes): New field. Caches view attributes.
(spans): New field. Caches CSS spans.
(getAttributes): Correctly setup CSS view attributes.
(getPreferredSpan): Use caches spans.
(getStyleSheet): Use the view's getDocument() method.
(setPropertiesFromAttributes): Cache spans and setup EM and EX.
(updateSize): Use cached spans.
* javax/swing/text/html/ParagraphView.java
(setPropertiesFromAttributes): Setup EM and EX.
* javax/swing/text/html/StyleSheet.java
(BoxPainter.BoxPainter): Setup EM and EX correctly.
(getEMBase): New helper method.
(getEXBase): New helper method.
* javax/swing/text/html/TableView.java
(width): New field. Caches the table width.
(calculateMinorAxisRequirements): Use caches span.
(setPropertiesFromAttributes): Cache span and setup EM/EX.
(updateGrid): Correctly setup EM/EX.
2006-11-30 Roman Kennke <kennke@aicas.com>
* javax/swing/text/html/FormSubmitEvent.java: New class.
* javax/swing/text/html/FormView.java
(SubmitThread): New class for submitting data in a separate thread.
(actionPerformed): Fetch the actual for data.
(addData): New helper method.
(getElementFormData): New helper method.
(getFormData): New helper method.
(getInputFormData): New helper method.
(submitData): Implemented.
* javax/swing/text/html/FrameView.java
(createComponent): Add this as hyperlink listener.
Set the target document as frame document.
(getTopEditorPane): New helper method.
(hyperlinkUpdate): Implementation of the HyperlinkListener interface.
(handleHyperlinkEvent): New helper method.
(handleFormSubmitEvent): New helper method.
* javax/swing/text/html/HTMLDocument.java
(HTMLReader.BaseAction.start): Track the base target.
(HTMLReader.BaseAction.end): Removed.
(baseTarget): New field.
(frameDocument): New field.
(getBaseTarget): New property accessor.
(isFrameDocument): New property accessor.
(processHTMLFrameHyperlinkEvent): Implemented.
(setFrameDocument): New property accessor.
(updateFrame): New helper method.
(updateFrameSet): New helper method.
* javax/swing/text/html/HTMLEditorKit.java
(LinkController.createHyperlinkEvent): Handle frame documents.
(autoFormSubmission): New field.
(HTMLEditorKit): Set autoFormSubmission to true.
(isAutoFormSubmission): New property accessor.
(setAutoFormSubmission): New property accessor.
2006-11-30 Roman Kennke <kennke@aicas.com>
* javax/swing/text/ElementIterator.java
(ElementRef): New inner class.
(currentDepth): Removed.
(currentElement): Removed.
(previousItem): Removed.
(stack): New field. Holds the iteration stack.
(state): Removed.
(ElementIterator(Document)): Removed init of removed fields.
(ElementIterator(Element)): Removed init of removed fields.
(current): Changed to stack based algorithm.
(deepestLeaf): New helper method.
(depth): Changed to stack based algorithm.
(first): Changed to stack based algorithm.
(next): Changed to stack based algorithm.
(previous): Changed to stack based algorithm.
2006-11-30 Francis Kung <fkung@redhat.com>
* .settings/org.eclipse.jdt.core.prefs: Set compilar compliance to 1.4.
* .externalToolBuilders/ClasspathJar.launch: Include sun.* classses.
2006-11-30 Francis Kung <fkung@redhat.com>
* gnu/java/awt/peer/gtk/BufferedImageGraphics.java
(draw): Set transform in buffered composite.
(drawComposite): Do not transform bounds; round bounds.
(drawGlyphVector): Set transform in buffered composite.
(drawRenderedImage): Set transform in buffered composite.
(fill): Set transform in buffered composite.
(updateBufferedImage): Fix scanline & height calculations.
* gnu/java/awt/peer/gtk/CairoGraphics2D.java
(createPath): Simplify width & height calculation.
(drawImage): Also transform width & height.
2006-11-30 Roman Kennke <kennke@aicas.com>
* javax/swing/text/html/FrameSetView.java: New class. Implements
HTML framesets.
* javax/swing/text/html/FrameView.java: New class. Implements
HTML frames.
* javax/swing/text/html/HTMLDocument.java:
(HTMLReader.addSpecialElement): Only add one artificial space.
* javax/swing/text/html/HTMLEditorKit.java
(HTMLFactory.create): Uncomment code for FrameSetView and FrameView.
* gnu/javax/swing/text/html/parser/support/Parser.java
(_handleEmptyTag): Also consume whitespace after frame tags.
2006-11-30 Gary Benson <gbenson@redhat.com>
* java/lang/Thread.java: Javadoc fixes.
2006-11-29 Tom Tromey <tromey@redhat.com>
PR classpath/28203:
* java/lang/Class.java (getAnnotations): Rewrote.
2006-11-29 Tania Bento <tbento@redhat.com>
* tools/gnu/classpath/tools/appletviewer/TagParser.java:
(parseParams): Unescape 'val' before putting it into the Map.
(unescapeString): New private method.
2006-11-29 Tom Tromey <tromey@redhat.com>
* tools/gnu/classpath/tools/getopt/package.html: New file.
2006-11-29 David Gilbert <david.gilbert@object-refinery.com>
* javax/swing/plaf/metal/MetalIconFactory.java
(HorizontalSliderThumbIcon.paintIcon()): Commented out gradient paint,
(VerticalSliderThumbIcon.paintIcon()): Likewise.
2006-11-29 Mario Torre <neugens@limasoftware.net>
* java/text/NumberFormat.java (getCurrencyInstance): Replaced dollar sign
with the default international currency sign \u00A4.
* java/text/DecimalFormat.java (scanFix): Fix to use the localized symbol
table for string formatting.
(formatInternal): likewise.
(scanNegativePattern): likewise.
(applyPattern): likewise.
* java/text/DecimalFormatSymbols.java (clone): Revert to old version as
Locale is immutable and does not need clone.
2006-11-29 Francis Kung <fkung@redhat.com>
* gnu/java/awt/peer/gtk/CairoGraphics2D.java
(drawLine): Remove hard-coded pixel shifting.
2006-11-29 Roman Kennke <kennke@aicas.com>
* java/awt/Component.java
(isShowing): Simplified condition code and avoid unnecessary
if-codepaths.
(coalesceEvents): Always coalesce paint events and let the peer
figure out the expanding of the repaint area.
* gnu/java/awt/peer/swing/SwingComponentPeer.java
(currentPaintEvents): Removed. Replaced by paintArea.
(paintArea): New field. Tracks the dirty area.
(SwingComponentPeer): Removed init of currentPaintEvents.
(coalescePaintEvent): Simplified to only union the dirty regions.
(handleEvent): Paint dirty region that was tracked in paintArea.
* gnu/java/awt/peer/gtk/GtkComponentPeer.java
(paintArea): New field. Tracks the dirty region.
(coalescePaintEvent): Implemented to track the dirty region.
(paintComponent): Use the dirty region in paintArea. Protect
state by putting the paint and dispose code in a try-finally.
(updateComponent): Use the dirty region in paintArea. Protect
state by putting the paint and dispose code in a try-finally.
2006-11-29 Roman Kennke <kennke@aicas.com>
* java/awt/font/TextLayout.java
(getVisualHighlightShape): Removed debug output.
2006-11-28 Andrew Haley <aph@redhat.com>
* vm/reference/sun/reflect/misc/ReflectUtil.java
(checkPackageAccess): Implement.
2006-11-28 Dalibor Topic <robilad@kaffe.org>
* native/jni/java-lang/java_lang_VMDouble.c:
(parseDoubleFromChars) New function. Factored out from ...
(Java_java_lang_VMDouble_parseDouble): Factored out the parsing.
(dtoa_toString): New function. Factored out from ...
(Java_java_lang_VMDouble_toString) : Factored out the conversion.
Changed conversion mode to 2, as modes 0 and 1 don't round
as the API spec demands. Invoke conversion function as often
as necessary with growing precision until a reversible
representation of the double in form of a string is reached.
2006-11-28 Roman Kennke <kennke@aicas.com>
* javax/swing/JComponent.java
(putClientProperty): Do not fire event when both old and new
value are == null.
2006-11-27 Andrew John Hughes <gnu_andrew@member.fsf.org>
* java/lang/Enum.java:
Make name and ordinal final.
2006-11-27 Casey Marshall <csm@gnu.org>
* java/util/jar/JarEntry.java (certs): removed.
(jarfile): new field.
(getCertificates): read the certificates from the containing JarFile.
* java/util/jar/JarFile.java (JarEnumeration.nextElement): don't
fill in 'certs,' fill in 'jarfile' for the entry.
(getEntry): likewise.
2006-11-27 Francis Kung <fkung@redhat.com>
* java/awt/image/WritableRaster.java
(createChild): Implemented.
2006-11-27 Roman Kennke <kennke@aicas.com>
* java/awt/font/TextLayout.java
(TextLayout(TextLayout,int,int)): Also layout the new runs.
(getVisualHighlightShape): Implemented.
(layoutRuns): Fixed boundary so that the last run is also laid out.
(left): New helper method.
(right): New helper method.
2006-11-27 Roman Kennke <kennke@aicas.com>
* java/awt/font/TextLayout.java
(getCaretShape(TextHitInfo,Rectangle2D)): Implemented.
(getCaretShape(TextHitInfo)): Use natural bounds.
(getCaretShapes(int,Rectangle2D,CaretPolicy)): New API method.
(getCaretShapes(int,Rectangle2D)): Delegate to new method
above with DEFAULT_CARET_POLICY.
(getCaretShapes(int)): Use natural bounds.
2006-11-27 Roman Kennke <kennke@aicas.com>
* java/awt/font/TextLayout.java
(Run.font): New field.
(Run.location): New field.
(Run.Run): Initialize font.
(font): Removed field. This is moved into Run as the actual font
is something run-specific.
(TextLayout(String,Font,FontRenderContext)): Set font on the
single runs. Layout the runs here.
(TextLayout(TextLayout,int,int)): Copy over the run fonts.
(findRunAtIndex): New helper method.
(getCaretInfo): Implemented.
(layoutRuns): New helper method.
(toString): Don't put font in output string.
2006-11-27 Raif S. Naffah <classpath@naffah-raif.name>
* AUTHORS: Added Jeroen Fritjers.
2006-11-27 neugens <neugens@nirvana.limasoftware.net>
* java/text/DecimalFormat.java (formatInternal): Add an explicit test
for FieldPosition to be null.
Check if the factional part is just 0 and can be omitted from the
result.
(scanNegativePattern): Fixed index out of bound exception when searching
for international currency symbol in negative pattern.
2006-11-27 Andrew John Hughes <gnu_andrew@member.fsf.org>
* java/beans/beancontext/BeanContextSupport.java:
(readObject(ObjectInputStream)): Implemented.
(writeObject(ObjectOutputStream)): Likewise.
(BCSChild.getTargetChild()): Added.
(bcsPreDeserializationHook()): Implemented.
(bcsPreSerializationHook()): Likewise.
(childDeserializedHook(Object,BCSChild)): Likewise.
(isSerializing()): Likewise.
(readChildren(ObjectInputStream)): Likewise.
(writeChildren(ObjectOutputStream)): Likewise.
2006-11-26 Roger Sayle <roger <at> eyesopen.com>
Ian Lance Taylor <ian <at> airs.com>
Paolo Bonzini <bonzini <at> gnu.org>
Fixes bug #25557.
* lib/gen-classlist.sh.in: Avoid using test's -ef operator for
increased portability. Likewise, use -f instead of -e.
2006-11-26 Mark Wielaard <mark@klomp.org>
* lib/Makefile.am (propertydirs): Removed.
(resources): Explicitly create all dirs.
2006-11-26 Mark Wielaard <mark@klomp.org>
* gnu/java/net/PlainSocketImpl.java (accept): Reset timeout on Socket.
2006-11-26 Dalibor Topic <robilad@kaffe.org>
* native/target/.cvsignore,
native/target/generic/.cvsignore,
native/target/Linux/.cvsignore:
Removed no longer used files.
* native/target: Removed no longer used directory.
2006-11-26 Dalibor Topic <robilad@kaffe.org>
Fixes bug #29133.
* libraries/clib/nio/gnu_java_nio_VMSelector.c
(Java_gnu_java_nio_VMSelector_select):
Use strerror if strerror_r is not available.
Reported by: Michael Franz <mvfranz@gmail.com>,
Riccardo Mottola <zuse@libero.it>
2006-11-26 Dalibor Topic <robilad@kaffe.org>
Fixes bug #26756.
* native/jni/midi-dssi/Makefile.am (AM_CFLAGS): Removed
STRICT_WARNING_CFLAGS since it caused the build to fail
on GNU/Linux.
2006-11-26 Ian Rogers <ian.rogers@manchester.ac.uk>
* doc/vmintegration.texinfo: Update VM Threading Model section.
2006-11-26 Tom Tromey <tromey@redhat.com>
* native/jni/java-net/java_net_VMNetworkInterface.c: Conditionally
include ifaddrs.h.
(Java_java_net_VMNetworkInterface_getVMInterfaces): Updated
conditional.
* native/jni/java-net/gnu_java_net_VMPlainSocketImpl.c:
Conditionally include ifaddrs.h.
(getif_address): Updated conditional.
(getif_index): Likewise.
* configure.ac: Check for ifaddrs.h.
2006-11-25 Mark Wielaard <mark@klomp.org>
* java/io/File.java (list): Return empty list for unreadable dirs.
2006-11-25 Mark Wielaard <mark@klomp.org>
* gnu/java/awt/peer/gtk/CairoGraphics2D.java (drawGlyphVector):
Synchronize on font peer.
(setFont): Likewise.
* gnu/java/awt/peer/gtk/GdkFontPeer.java (getFontMetrics): Mark
synchronized.
(getTextMetrics): Likewise.
2006-11-25 Roman Kennke <kennke@aicas.com>
* javax/swing/text/GapContent.java
(getPositionsInRange): Rewritten to use the more efficient
binary search searchFirst() and avoid an NPE that was caused
by GC'ed positions.
2006-11-25 Mark Wielaard <mark@klomp.org>
* javax/swing/text/CompositeView.java (modelToView): Never return
null.
2006-11-25 Mark Wielaard <mark@klomp.org>
* javax/swing/text/html/TableView.java (calculateColumnRequirements):
Check whether rowView instanceof RowView.
(updateGrid): Likewise.
2006-11-25 Mario Torre <neugens@nirvana.limasoftware.net>
PR28462
* java/text/DecimalFormat.java: Almost new rewrite, and update to 1.5.
* java/text/NumberFormat.java (format): all format methods, fixed
FieldPosition argument should never be null.
(format(Object, StringBuffer, FieldPosition)): fixed signature,
method is not final.
* java/text/DecimalFormatSymbols.java (clone): fixed to also clone
locale.
* AUTHORS: added my name to the file.
2006-11-25 Mark Wielaard <mark@klomp.org>
* javax/swing/text/html/StyleSheet.java (paint): Guard against
getChildAllocation() returning null.
2006-11-25 Mark Wielaard <mark@klomp.org>
* gnu/javax/swing/text/html/css/Selector.java (calculateSpecificity):
Use clazzIndex for id substring.
2006-11-25 Mark Wielaard <mark@klomp.org>
* java/awt/EventQueue.java (pop): Only terminate dispatchThread when
it is still running.
2006-11-25 Mark Wielaard <mark@klomp.org>
Fixes bug #28822
* doc/api/Makefile.am (create_html): Guard GJDOC invocation with
CREATE_API_DOCS
2006-11-24 Tania Bento <tbento@redhat.com>
* java/awt/font/TextHitInfo.java
(equals(TextHitInfo)): If TextHitInfo parameter is null, return false.
(beforeOffset): Decreased first parameter by 1.
2006-11-24 Francis Kung <fkung@redhat.com>
* gnu/java/awt/peer/gtk/BufferedImageGraphics.java
(constructor): Check sample model when setting fastCM flag.
(updateBufferedImage): Check scanline and sample model offsets before
copying data directly into the image data buffer.
2006-11-24 Francis Kung <fkung@redhat.com>
* gnu/java/awt/java2d/QuadSegment.java
(offsetSubdivided): Handle special straight-line cases.
2006-11-24 Roman Kennke <kennke@aicas.com>
* java/awt/dnd/DropTarget.java
(DropTargetAutoScroller.HYSTERESIS): New constant.
(DropTargetAutoScroller.DELAY): New constant.
(DropTargetAutoScroller.inner): New field. A cached
Rectangle instance.
(DropTargetAutoScroller.outer): New field. A cached
Rectangle instance.
(DropTargetAutoScroller.timer): New field. The actual timer.
(DropTargetAutoScroller.DropTargetAutoScroller):
Initialize timer.
(DropTargetAutoScroller.actionPerformed): Implemented.
(DropTargetAutoScroller.stop): Implemented.
(DropTargetAutoScroller.updateLocation): Implemented.
(clearAutoscroll): Stop the autoscroller before nullifying it.
(createDropTargetAutoScroller): Don't set the field here,
only return a new instance.
(dragEnter): Only do something when active. Initialize
auto scrolling.
(dragExit): Only do something when active. Stop auto scrolling.
(dragOver): Only do something when active. Update auto scrolling.
(drop): Only do something when active. Update auto scrolling.
(dropActionChanged): Only do something when active. Update
auto scrolling.
(initializeAutoScrolling): Check if component is an instance
of Autoscroll, otherwise do nothing.
(setActive): Disable autoscrolling when deactivating.
(setComponent): When component is set to null, disable autoscrolling.
2006-11-24 David Gilbert <david.gilbert@object-refinery.com>
* java/beans/beancontext/BeanContextServicesSupport.java
(getChildBeanContextServicesListener): Implemented.
2006-11-23 Roman Kennke <kennke@aicas.com>
* gnu/java/awt/peer/headless/HeadlessGraphicsEnvironment.java
(createGraphics): Use constructor to create new instance of
BufferedImageGraphics.
* java/awt/Toolkit.java
(getDefaultToolkit): Really try to get a real toolkit. Only
use HeadlessToolkit if no other is available.
* gnu/java/awt/peer/gtk/GtkToolkit.java
(checkHeadless): New helper method. Checks for headless environment
and throws HeadlessException if appropriate.
(createButton): Check for headless.
(createCanvas): Check for headless.
(createCheckbox): Check for headless.
(createCheckboxMenuItem): Check for headless.
(createChoice): Check for headless.
(createDialog): Check for headless.
(createDragGestureRecognizer): Check for headless.
(createDragSourceContextPeer): Check for headless.
(createEmbeddedWindow): Check for headless.
(createFileDialog): Check for headless.
(createFrame): Check for headless.
(createCheckbox): Check for headless.
(createLabel): Check for headless.
(createList): Check for headless.
(createMenu): Check for headless.
(createMenuBar): Check for headless.
(createMenuItem): Check for headless.
(createPanel): Check for headless.
(createPopupMenu): Check for headless.
(createScrollbar): Check for headless.
(createScrollPane): Check for headless.
(createTextArea): Check for headless.
(createTextField): Check for headless.
(createWindow): Check for headless.
2006-11-23 David Gilbert <david.gilbert@object-refinery.com>
* java/beans/beancontext/BeanContextSupport.java
(deserialize): Implemented,
(serialize): Implemented.
2006-11-23 Roman Kennke <kennke@aicas.com>
* gnu/java/awt/peer/headless/HeadlessGraphicsEnvironment.java
(createGraphics): Try to use Cairo graphics if available.
2006-11-22 David Gilbert <david.gilbert@object-refinery.com>
* java/beans/beancontext/BeanContextSupport.java
(toArray): Added API docs,
(toArray(Object[])): Added API docs, removed NotImplementedException.
2006-11-22 Tania Bento <tbento@redhat.com>
* javax/swing/JRootPane.java
(setLayeredPane): Added documentation; throw
IllegalComponentStateException if layered pane parameter is null.
2006-11-22 David Gilbert <david.gilbert@object-refinery.com>
* java/beans/beancontext/BeanContextSupport.java
(avoidingGui): Removed NotImplementedException.
2006-11-22 Francis Kung <fkung@redhat.com>
* gnu/java/awt/peer/gtk/BufferedImageGraphics.java
(drawGlyphVector): Clip updated area to glyph bounds.
* gnu/java/awt/peer/gtk/CairoGraphics2D.java
(createPath): Eliminate distortion when pixel-shifting rectangles; separate
x-coordinate and y-coordinate pixel shifting.
(shifted): Removed method.
(shiftX): New method, recognising scaling transforms.
(shiftY): New method, recognising scaling transforms.
(walkPath): Separate x-coordinate and y-coordinate pixel shifting.
2006-11-22 Roman Kennke <kennke@aicas.com>
* java/awt/font/TextLayout.java
(hash): New field. Caches the hash code.
(hashCode): Implemented.
2006-11-22 Roman Kennke <kennke@aicas.com>
* java/awt/image/ImageFilter.java
Reformat whole class.
(getFilterInstance): Don't touch the consumer field. Don't check
consumer.
(imageComplete): Don't check consumer.
(setColorModel): Don't check consumer.
(setDimensions): Don't check consumer.
(setHints): Don't check consumer.
(setPixels): Don't check consumer.
(setProperties): Pass the original property too.
* java/awt/image/IndexColorModel.java
(IndexColorModel(int,int,byte[],byte[],byte[],int)): Set the
transparent pixel by calling the new helper method.
(IndexColorModel(int,int,byte[],int,boolean,int)): Set the
transparent pixel by calling the new helper method.
(IndexColorModel(int,int,int[],int,boolean,int,int)): Set the
transparent pixel by calling the new helper method.
(coerceData): Removed. This is not needed.
(getAlpha): Simply return value from color map. The transparent
pixel has to be there.
(setTransparentPixel): New helper method. Inserts the transparent
pixel.
* java/awt/image/RGBImageFilter.java
Reformat whole class.
(convertColorModelToDefault): Removed. No longer needed.
(filterIndexColorModel): Don't handle transparent pixels
separately.
(filterRGBPixels): Set pixels on consumer already.
(makeColor): Removed. No longer needed.
* java/awt/image/ReplicateScaleFilter.java
(replicatePixels): Removed.
(setDimension): Correctly compute destination size, avoid double
calculations.
(setPixels): Avoid double calculations. Fixed some boundary cases.
(setupSources): New helper method.
* java/awt/image/SampleModel.java
(setDataElements): Also handle TYPE_SHORT, TYPE_FLOAT
and TYPE_DOUBLE.
* java/awt/image/SinglePixelPackedSampleModel.java
(setDataElements(int,int,int,int,Object,DataBuffer)): Removed.
This is not needed as the superclass already copies line
by line.
(setDataElements(int,int,Object,DataBuffer)): Simplified code,
removed some checks that the RI also doesn't perform. Call
DataBuffer.setElem().
2006-11-22 Roman Kennke <kennke@aicas.com>
* java/awt/text/TextLayout.java
(getLogicalRangesForVisualSelection): Implemented.
2006-11-21 Andrew John Hughes <gnu_andrew@member.fsf.org>
* sun/reflect/annotation/AnnotationParser.java,
* sun/reflect/annotation/AnnotationType.java,
* sun/reflect/annotation/EnumConstantNotPresentExceptionProxy.java,
* sun/reflect/annotation/ExceptionProxy.java:
Stubbed.
* sun/misc/ServiceConfigurationError.java,
* sun/misc/Service.java:
Implemented.
2006-11-21 Roman Kennke <kennke@aicas.com>
* java/awt/text/TextLayout.java
(Run.isLeftToRight): New helper method.
(logicalToVisual): New field. Maps logical indices to visual
indices.
(visualToLogical): New field. Maps visual indices to logical
indices.
(TextLayout): Setup mappings.
(setupMappings): New method for setting up the mappings.
(getCharacterLevel): Reorganized code.
(getNextLeftHit(int)): Implemented.
(getNextLeftHit(int,CaretPolicy)): New method.
(getNextLeftHit(TextHitInfo)): Implemented.
(getNextRightHit(int)): Implemented.
(getNextRightHit(int,CaretPolicy)): New method.
(getNextRightHit(TextHitInfo)): New method.
(getVisualOtherHit): Implemented.
(checkHitInfo): New helper methods for checking parameters.
(hitToCaret): New helper method. Maps hit infos to caret locations.
(caretToHit): New helper method. Maps caret locations to hit infos.
(isCharacterLTR): New helper method.
(CaretPolicy.getStrongCaret): Implemented.
2006-11-21 Francis Kung <fkung@redhat.com>
* gnu/java/awt/peer/gtk/BufferedImageGraphics.java
(draw): Include stroke width when calculating bounds.
(updateBufferedImage): Round bounds more generously, handle negative
height/width values, and clip more intelligently.
* gnu/java/awt/peer/gtk/CairoGraphics2D.java
(createPath): Add shortcut optimization for lines.
(draw): Include stroke width when calculating bounds.
(drawLine): Delegate to main draw() method.
(drawRect): Likewise.
(fillRect): Delegate to main fill() method.
(findStrokedBounds): New method.
(setCustomPaint): Round bounds more generously.
* gnu/java/awt/peer/gtk/ComponentGraphics.java
(drawLine): Removed.
(drawRect): Removed.
(fillRect): Removed.
2006-11-21 Francis Kung <fkung@redhat.com>
* gnu/java/awt/java2d/TexturePaintContext.java
(getRaster): Handle negative coordinate values.
* gnu/java/awt/peer/gtk/CairoGraphics2D.java
(setPaint): Moved custom paint processing to a new method.
(setPaintPixels): Added x, y parameters.
(getRealBounds): Added documentation.
(copy): Copy clipping information.
(drawLine): Process custom paints.
(setCustomPaint): New method.
(fill): Process custom paints.
(drawGlyphVector): Process custom paints.
(drawRect): Process custom paints.
(draw): Process custom paints.
* gnu/java/awt/peer/gtk/CairoSurface.java
(cairoCM_opaque): New constant.
* gnu/java/awt/peer/gtk/BufferedImageGraphics.java
(argb32): Removed constant.
(rgb32): Removed constant.
(BufferedImageGraphics(BufferedImage)): Updated constant names.
(BufferedImageGraphics(BufferedImageGraphics)): Copy color model flags.
(updateBufferedImage): Transform to device-space before updating.
* include/gnu_java_awt_peer_gtk_CairoGraphics2D.h
(Java_gnu_java_awt_peer_gtk_CairoGraphics2D_setPaintPixels): Added x, y
parameters.
* native/jni/gtk-peer/gnu_java_awt_peer_gtk_CairoGraphics2D.c
(Java_gnu_java_awt_peer_gtk_CairoGraphics2D_setPaintPixels): Set pattern
source at designated x, y origin.
2006-11-21 Roman Kennke <kennke@aicas.com>
* java/awt/text/TextLayout.java
(Run): New inner helper class.
(length): New field.
(naturalBounds): New field.
(offset): New field.
(runIndices): Removed. This is now encapsulate in a Run object.
(runs): Changed to Run[].
(string): Changed to char[].
(totalAdvance): New field. Caches advance value.
(TextLayout(String,Font,FontRenderContext)): Change to store
string as char[] and run layout as Run[]. Clean out empty
run items.
(TextLayout(TextLayout,int,int)): Change to store
string as char[] and run layout as Run[].
(clone): Call private constructor for maximum efficiency.
(determineWhitespace): Adapted to use char[] data.
(draw): Adapted to use Run objects.
(getAdvance): Cache computed total advance.
(getBlackBoxBounds): Adapted to use Run objects.
(getCaretInfo): Use natural layout bounds.
(getCharacterCount): Return length field.
(getLogicalHighlightShape): Adapted to use Run objects.
(getNaturalBounds): New helper method. Calculates and returns the
natural bounds of this text layout.
(getOutline): Adapted to use Run objects.
(getStringProperties): Adapted to use char[] data.
(getVisibleAdvance): Adapted to use char[] and Run data.
(handleJustify): Adapted to use char[] and Run data.
(hitTestChar(float,float,Rectangle2D)): Implemented.
(hitTestChar(float,float)): Use natural bounds.
(setCharIndices): Adapted to use char[] and Run data.
(toString): Adapted to use char[] and Run data.
* java/text/Bidi.java
(requiresBidi): Exclude paragraph separators from bidi-triggers.
2006-11-21 Roman Kennke <kennke@aicas.com>
* gnu/java/awt/peer/gtk/GdkFontMetrics.java:
Removed. This is now an inner class in GdkFontPeer.
* gnu/java/awt/peer/gtk/CairoGraphics2D.java
(drawString(float,float)): Use text layout cache from
GdkFontPeer.
(getFontMetrics): Delegate to GdkFontPeer.
* gnu/java/awt/peer/gtk/FreetypeGlyphVector.java
(getGlyphCodes): Also check array size.
(getGlyphPositions): Also check array size.
* gnu/java/awt/peer/gtk/GdkFontPeer.java
(GdkFontLineMetrics.fm): Removed.
(GdkFontLineMetrics.strikeThroughOffset): Removed.
(GdkFontLineMetrics.strikeThroughThickness): Removed.
(GdkFontLineMetrics.underlineOffset): Removed.
(GdkFontLineMetrics.underlineThickness): Removed.
(GdkFontLineMetrics.GdkFontLineMetrics): Don't take
FontMetrics argument. Don't init removed fields.
(GdkFontLineMetrics.getAscent): Return font peer's field.
(GdkFontLineMetrics.getDescent): Return font peer's field.
(GdkFontLineMetrics.getHeight): Return font peer's field.
(GdkFontLineMetrics.getLeading): Return font peer's field.
(GdkFontLineMetrics.getNumChars): Reformat.
(GdkFontLineMetrics.getStrikeThroughOffset): Return half ascent.
(GdkFontLineMetrics.getStrikeThroughThickness): Return 1.
(GdkFontLineMetrics.getUnderlineOffset): Return font peer's field.
(GdkFontLineMetrics.getUnderlineThickness): Return font peer's field.
(GdkFontMetrics): Moved class in here as inner class.
Make it use the font peer's fields and for the char(s) width
and string width method, use TextLayout to measure the actual widths.
(ascent): New field.
(bundle): Removed.
(DEFAULT_CTX): New constant field.
(descent): New field.
(FONT_METRICS_ASCENT): New constant.
(FONT_METRICS_DESCENT): New constant.
(FONT_METRICS_HEIGHT): New constant.
(FONT_METRICS_MAX_ADVANCE): New constant.
(FONT_METRICS_MAX_ASCENT): New constant.
(FONT_METRICS_MAX_DESCENT): New constant.
(FONT_METRICS_UNDERLINE_OFFSET): New constant.
(FONT_METRICS_UNDERLINE_THICKNESS): New constant.
(height): New field.
(maxAdvance): New field.
(maxAscent): New field.
(maxDescent): New field.
(metrics): New field. Stores a FontMetrics for this font.
(textLayoutCache): New field. Caches TextLayout instances.
(underlineOffset): New field.
(underlineThickness): New field.
(cinit): Don't initialize resource bundle.
(GdkFontPeer): Setup the metrics.
(getFontMetrics): Return stored metrics if possible.
(getLineMetrics): Adapt to new constructor.
(initFont): New helper method.
(setupMetrics): New helper method.
* gnu/java/awt/peer/gtk/GtkToolkit.java
(LRUCache): Made class a static class.
(getFontMetrics): Delegate to GdkFontPeer.
* native/jni/gtk-peer/gdkfont.h
Added new constant defines.
* native/jni/gtk-peer/gnu_java_awt_peer_gtk_GdkFontPeer.c
(getFontMetrics): Rewritten to fetch the font metrics from
FreeType.
2006-11-20 Tania Bento <tbento@redhat.com>
* javax/swing/ButtonGroup.java:
(setSelected): Select the ButtonModel if all conditions
are met.
2006-11-20 Tania Bento <tbento@redhat.com>
* javax/swing/JSlider.java:
(updateLabelUIs): Removed casting.
2006-11-20 Mark Wielaard <mark@klomp.org>
* gnu/java/util/regex/RE.java (messages): Don't initialize.
(bundle): New static final String field.
(getLocalizedMessage): Initialize messages when still null.
* gnu/java/util/regex/RESyntax.java (SYNTAX_IS_FINAL): Removed.
(set): Use RE.getLocalizedMessage().
(clear): Likewise.
(setLineSeparator): Likewise.
2006-11-20 Roman Kennke <kennke@aicas.com>
* javax/swing/text/html/StyleSheet.java
(linked): New field.
(styleSheet): Replaced by linked.
(addStyleSheet): Use an arraylist for simplicity.
(getRule): Removed useless instantiation.
(getStyleSheets): Convert array list to array.
(removeStyleSheet): Use an arraylist for simplicity.
(resolveStyle): Include styles from linked lists.
2006-11-20 Roman Kennke <kennke@aicas.com>
* javax/swing/text/BoxView.java
(BoxView): Initialize with invalid req's.
(forwardUpdate): Trigger repaint when children changed the
major axis.
(getResizeWeight): Return resizable when the pref differs from
the min or the pref differs from the max size.
(layoutMajorAxis): Actually sum up the preferred sizes.
(paint): Made binary search more robust.
(replace): Let arrays shrink when needed.
(replaceLayoutArray): Let arrays shrink when needed.
(setAxis): Trigger preferenceChanged.
* javax/swing/text/CompositeView.java
(getInsideAllocation): Call insets method to take account
of overriding subclasses.
* javax/swing/text/DefaultStyledDocument.java
(ElementBuffer.finishEdit): Clear the stack and edits buffer.
(ElementBuffer.insertUpdate): Only remove the found element, not
all.
* javax/swing/text/GlyphView.java
(insertUpdate): Pass null in preferenceChanged.
(removeUpdate): Pass null in preferenceChanged.
(changedUpdate): Pass null in preferenceChanged.
* javax/swing/text/Utilities.java
(drawTabbedText): Avoid single calls to charWidth() and instead
call charsWidth() on whole chunks.
* javax/swing/text/html/HTMLDocument.java
(BlockElement.getName): Fall back to super when necessary.
(RunElement.getName): Fall back to super when necessary.
(HTMLReader.MAX_THRESHOLD): New constant field.
(HTMLReader.GROW_THRESHOLD): New constant field.
(HTMLReader.theshold): New field.
(HTMLReader.HTMLReader): Fetch threshold from document.
(HTMLReader.addContent): Sucessivly grow the threshold.
(createLeafElement): Don't create two elemens and don't set
attribute.
* javax/swing/text/html/TableView.java
(RowView.replace): Invalidate grid.
(gridValid): Made package private.
(layoutMinorAxis): Mark all rows as invalid.
(replace): Invalidate grid.
2006-11-20 Roman Kennke <kennke@aicas.com>
* javax/swing/text/AbstractDocument.java
(DefaultDocumentEvent.changes): Changed to be a HashMap.
(DefaultDocumentEvent.modified): Made private.
(DefaultDocumentEvent.THRESHOLD): New constant field.
(DefaultDocumentEvent.DefaultDocumentEvent): Don't initialize
changes table.
(DefaultDocumentEvent.addEdit): Switch to hashmap only when
exceeding threshold.
(DefaultDocumentEvent.getChange): Use iterative approach
when we have no hashmap yet.
(documentCV): Removed.
(numWriters): Renamed from numWritersWaiting.
(createPosition): Reformat.
(getCurrentWriter): Synchronized.
(readLock): Implement more straightforward.
(readUnlock): Implement more straightforward.
(writeLock): Implement more straightforward.
(writeUnlock): Implement more straightforward.
(remove): Write-lock here.
(removeImpl): Don't write-lock here.
2006-11-20 Roman Kennke <kennke@aicas.com>
* javax/swing/JEditorPane.java
(setPage): Set priority on loading thread.
2006-11-20 Roman Kennke <kennke@aicas.com>
* javax/swing/plaf/basic/BasicTextUI.java
(RootView.paint): Avoid allocation.
(cachedInsets): New field. Caches an Insets instance.
(getNextVisualPositionFrom): Read-lock the document to avoid
thread nastiness. Push allocation.
(getPreferredSize): Push fake allocation when not yet laid out.
(getVisibleEditorRect): Use cached insets.
(viewToModel): Read-lock the document to avoid
thread nastiness. Push allocation.
2006-11-20 Roman Kennke <kennke@aicas.com>
* javax/swing/text/StyleContext.java
(attributeSetPool): Synchronize this map.
(addAttribute): Synchronize this method.
(addAttributes: Synchronize this method.
(readObject): Install synchronized map on target object.
(removeAttribute): Synchronize this method.
(removeAttributes): Synchronize this method.
(removeAttributes): Synchronize this method.
2006-11-20 Roman Kennke <kennke@aicas.com>
* javax/swing/text/GapContent.java
(GapContentPosition.GapContentPosition): Removed constructor.
(Mark): Made subclass of WeakReference to refer directly to
the associated position.
(Mark.refCount): Removed.
(Mark.Mark(int,GapContentPosition,ReferenceQueue):
New constructor. Used to reference a position and register the
reference queue.
(Mark.Mark(index)): Call super and don't adjust mark offset.
(Mark.compareTo): Removed.
(Mark.equals): Removed.
(Mark.getOffset): Return at least null. Removed assert.
(Mark.getPosition): New helper method.
(garbageMarks): New field.
(positions): Removed.
(searchMark): New field.
(GapContent): Removed init of positions map.
(addImpl): New helper method.
(adjustPositionsInRange): Removed.
(compare): New helper method.
(createPosition): Rewritten for new datastructures. This now
performs a much more efficient binary search for finding
a position at the requested offste.
(garbageCollect): Rewritten to collect unused marks.
(getPositionsInRange): Adjusted for new data structures.
(removeImpl): New helper method.
(replace): Use new addImpl() and removeImpl() helper method for
correctly adjusting the positions and gap.
(search): Rewritten. Implements a more suitable binary search.
(searchFirst): New helper method.
(setPositionsInRange): Removed.
(shiftEnd): Update the marks here.
(shiftGap): Update the marks here.
(shiftGapEndUp): Update the marks here.
(shiftGapStartDown): Update the marks here.
2006-11-20 Marco Trudel <mtrudel@gmx.ch>
* java/util/jar/JarFile.java (digestAlgorithms): New field used to cache
digest algorithm implementations.
(readSignatures): Parse the manifest once and reuse that data.
Add support for line breaks.
(verifyHashes): Use the parsed manifest entry.
(readManifestEntry): Removed.
2006-11-20 Andrew John Hughes <gnu_andrew@member.fsf.org>
* java/beans/beancontext/BeanContextServicesSupport.java:
Added more documentation.
(addService(Class,BeanContextServiceProvider,boolean)):
Synchronized over global hierarchy lock.
(bcsPreDeserializationHook(ObjectInputStream)): Implemented.
(bcsPreSerializationHook(ObjectOutputStream)): Implemented.
(childJustRemovedHook(Object,BCSChild)): Implemented.
(createBCSSServiceProvider(Class,BeanContextServiceProvider)):
Implemented.
(fireServiceRevoked(BeanContextServiceRevokedEvent)):
Added revocation-only listeners.
(getBeanContextServicesPeer()): Implemented.
(getCurrentServiceClasses(Class)): Synchronized over global
hierarchy lock.
(getCurrentServiceSelectors(Class)): Synchronized over global
hierarchy lock, and fixed FIXME.
(getService(BeanContextChild,Object,Class,Object,
BeanContextServiceRevokedListener)): Implemented.
(hasService(Class)): Synchronized over global hierarchy lock.
(releaseService(BeanContextChild,Object,Object)): Implemented.
(revokeService(Class,BeanContextServiceProvider,boolean)): Implemented.
* java/beans/beancontext/BeanContextSupport.java:
(remove(Object, boolean)): Documentation correction.
2006-11-19 Roman Kennke <kennke@aicas.com>
* javax/swing/JEditorPane.java
(PageStream): New inner class.
(PageLoader): New inner class.
(loading): New field.
(setPage): Implemented asynchronous loading.
* javax/swing/text/DefaultStyledDocument.java
(ElementBuffer.create): New helper method.
(create): Use new ElementBuffer method instead of hack.
* javax/swing/text/html/HTMLDocument.java
(HTMLReader.flushImpl): New helper method.
(HTMLReader.addContent): Use flushImpl().
(HTMLReader.blockClose): Added null check.
(HTMLReader.flush): Use flushImpl().
* javax/swing/text/html/HTMLEditorKit.java
(createDefaultDocument): Set load priority to 4 and token threshold
to 100.
* javax/swing/text/html/TableView.java
(insertUpdate): Overridden to provide correct view factory.
(removeUpdate): Overridden to provide correct view factory.
(changedUpdate): Overridden to provide correct view factory.
2006-11-19 Roman Kennke <kennke@aicas.com>
* javax/swing/text/BoxView.java
(clipRect): New field.
(tmpRect): New field.
(layout): Reorganized code. Now uses layoutAxis() helper method.
(layoutAxis): New helper method.
(paint): Optimized by using cached Rectangle objects and
a binary search for child views inside the clip.
* javax/swing/text/CompositeView.java
(insideAllocation): Made private and initialized in constructor.
(getInsideAllocation): Removed initialization block for
insideAllocation field. Avoid unnecessary allocations.
* javax/swing/text/GlyphView.java
(DefaultGlyphPainter.paint): Only paint the actual glyphs here
The remaining stuff (background, underline and striking) is
done in the GlpyhView itself. Avoid unnecessary allocations.
(cached): A cached Segment instance.
(getText): Return cached segment.
(paint): Paint underline, strike and background here. Avoid
unecessary allocs.
2006-11-19 Roman Kennke <kennke@aicas.com>
* javax/swing/text/html/StyleSheet.java
(getFontSize): Removed debug output.
(ListPainter.tmpRect): New field.
(ListPainter.paint): Align bullet vertically centered to
the first line of the paragraph.
2006-11-17 Roman Kennke <kennke@aicas.com>
* gnu/javax/swing/text/html/css/CSSParser.java
(parseDeclaration): Trim string before reporting.
* gnu/javax/swing/text/html/css/FontSize.java
(size): New field.
(isRelative): New field.
(sizeIndex): New field.
(FontSize): Initialize new fields.
(getValue): Changed to call getValue(int).
(getValue(int)): New method. Implements relative font sizes.
(isRelative): New method.
(mapAbsolute): Store index.
(mapEM): New helper method.
(mapLarger): New helper method.
(mapPercent): New helper method.
(mapRelative): New helper method.
(mapSmaller): New helper method.
(mapValue): New helper method.
* javax/swing/text/html/CSS.java
(parseBackgroundShorthand): Create CSSColor directly.
* javax/swing/text/html/StyleSheet.java
(addRule): Invalidate resolved styles.
(getFont): Call new getFontSize() method to resolve relative
font sizes.
(getFontSize): New helper method. Resolves relative font sizes.
(translateHTMLToCSS): Create CSS objects directly.
2006-11-13 Andrew John Hughes <gnu_andrew@member.fsf.org>
* gnu/java/util/regex/RETokenNamedProperty.java:
(getHandler(String)): Add support for 'all'.
2006-11-18 Andrew John Hughes <gnu_andrew@member.fsf.org>
* gnu/javax/management/Server.java:
Initial implementation of a GNU management server.
* javax/management/MBeanPermission.java,
* javax/management/MBeanRegistration.java,
* javax/management/MBeanTrustPermission.java:
Implemented.
2006-11-17 Mark Wielaard <mark@klomp.org>
* docs/www.gnu.org/newsitems.txt: Add Sun GPL news announcement.
2006-11-17 Gary Benson <gbenson@redhat.com>
* java/net/DatagramSocket.java (getLocalAddress, connect,
receive): Perform security check on address not hostname.
2006-11-16 Roman Kennke <kennke@aicas.com>
* gnu/javax/swing/text/html/parser/support/Parser.java
(_handleText): Fixed condition for consuming whitespace.
Removed validator check, this is superfluous now.
2006-11-16 Roman Kennke <kennke@aicas.com>
* gnu/javax/swing/text/html/css/CSSParser.java
(parseRuleset): Support 'combined' selectors.
(main): Adapt callback for combined selectors support.
* gnu/javax/swing/text/html/css/CSSParserCallback.java
(startStatement): Take selector array as argument, to
support combined selectors.
* javax/swing/text/html/BlockView.java
(calculateMinorAxisRequirements): Fetch and apply alignment.
* javax/swing/text/html/StyleSheet.java
(CSSStyle): Inverted the constants for correct precedence.
(CSSStyleSheetParserCallback.styles): New field. Stores the current
styles.
(CSSStyleSheetParserCallback.style): Removed.
(CSSStyleSheetParserCallback.declaration): Update multiple styles.
(CSSStyleSheetParserCallback.end): Push multiple styles.
(CSSStyleSheetParserCallback.start): Initialize multiple styles.
2006-11-16 Roman Kennke <kennke@aicas.com>
* javax/swing/text/FlowView.java
(LogicalView.getPreferredSpan): Calculate maximum correctly.
* javax/swing/text/GlyphView.java
(tabExpander): New field.
(tabX): New field.
(breakView): Set tabX on broken view.
(getPartialSpan): Let the painter fetch the span.
(getTabbedSpan): Update the tab expander field. Maybe trigger
relayout.
(getTabExpander): Simply return the stored expander.
* javax/swing/text/Utilities.java
(getTabbedTextOffset): Made algoritm a little smarter and more
efficient.
(getTabbedTextWidth): Don't add single char widths, instead add
chunks of characters.
* javax/swing/text/html/ParagraphView.java
(calculateMinorAxisRequirements): Adjust margin only when the
CSS span is not fixed.
2006-11-16 David Gilbert <david.gilbert@object-refinery.com>
* java/beans/beancontext/BeanContextSupport.java
(getChildBeanContextMembershipListener): Implemented,
(getChildPropertyChangeListener): Implemented,
(getChildSerializable): Implemented,
(getChildVetoableChangeListener): Implemented,
(getChildVisibility): Implemented,
(setDesignTime): Use same property name as Sun's implementation.
2006-11-16 David Gilbert <david.gilbert@object-refinery.com>
* java/beans/DesignMode.java: Reformatted and removed a FIXME,
* java/beans/Statement.java
(toString): Updated to match reference implementation.
2006-11-15 Roman Kennke <kennke@aicas.com>
* javax/swing/text/html/HTMLEditorKit.java
(InsertHTMLTextAction.actionPerformed): Also try inserting
the alternate tag. Adjust the selection accordingly.
(InsertHTMLTextAction.adjustSelection): New helper method.
Adjusts the selection after an insertion.
(insertAtBoundary): Delegate to deprecated method.
(insertAtBoundry): Implemented missing method.
(tryInsert): New helper method.
(defaultActions): Implemented to fill the array with
a couple of InsertHTMLTextActions.
2006-11-15 Roman Kennke <kennke@aicas.com>
* javax/swing/text/html/ImageView.java
(Observer): New class. Observes image loading.
(haveHeight): New field.
(haveWidth): New field.
(height): New field.
(width): New field.
(image): New field.
(imageIcon): New field.
(loading): New field.
(observer): New field.
(reloadImage): New field.
(reloadProperties): New field.
(ImageView): Initialize observer and some flags.
(getImage): Update the image state and return the image.
(loadImage): New helper method. Actually starts loading.
(paint): Rewritten to paint the image directly, not via Icon.
(reloadImage): Rewritten. Loads the image and its properties.
(renderIcon): Removed. No more necessary.
(setPropertiesFromAttributes): Don't nullify image here.
Added comment about missing impl.
(setSize): Added comment about missing impl.
(updateSize): New helper method. Updates the size attributes.
(updateState): New helper method. Makes sure the image
and its properties are valid.
2006-11-15 Roman Kennke <kennke@aicas.com>
* gnu/javax/swing/text/html/parser/support/Parser.java
(_handleEndTag_remaining): Consume whitespace after a closing
block like tag.
2006-11-15 Roman Kennke <kennke@aicas.com>
* javax/swing/text/html/HTMLDocument.java
(HTMLReader.ParagraphAction.end): Call super instead of blockClose()
directly.
(HTMLReader.ParagraphAction.start): Call super instead of blockOpen()
directly.
(HTMLReader.parseStack): Removed.
(HTMLReader.blockClose): Simply call addContent() with ' '
instead of doing more complicated stuff. Removed parseStack
handling.
(HTMLReader.blockOpen): Removed parseStack handling.
(getInsertingReader): Removed parseStack init.
* gnu/javax/swing/text/html/parser/htmlValidator.java
(closeTag): Return true only when the tag actually should be
closed.
* gnu/javax/swing/text/html/parser/support/Parser.java
(_handleEndTag): Only actually close the tag when the validator
allows it.
2006-11-15 Roman Kennke <kennke@aicas.com>
* javax/swing/text/html/CSS.java
(Attribute.BORDER_SPACING): New field for the CSS border-spacing
attribute.
* javax/swing/text/html/StyleSheet.java
(BoxPainter.bottomPadding): New field.
(BoxPainter.leftPadding): New field.
(BoxPainter.rightPadding): New field.
(BoxPainter.topPadding): New field.
(BoxPainter.BoxPainter): Fetch the MARGIN and PADDING* attributes
too.
(BoxPainter.getInset): Recognize and include the padding.
(translateHTMLToCSS): Added mapping for CELLPADDING and CELLSPACING.
javax/swing/text/html/TableView.java
(RowView.calculateMajorAxisRequirements): Adjust req's for
cellSpacing.
(RowView.layoutMajorAxis): Adjust multi-column span for cellSpacing.
(cellSpacing): New field.
(columnRequirements): Made package private to avoid accessor method.
(calculateMinorAxisRequirements): Include cellSpacing.
(calculateMajorAxisRequirements): Overridden to include cellSpacing.
(layoutMajorAxis): Likewise.
(layoutColumns): Respect cellSpacing.
(setParent): Overridden to fetch the CSS attributes when view gets
connected.
(setPropertiesFromAttributes): New method. Fetches the cell
spacing from the CSS attributes.
2006-11-15 Roman Kennke <kennke@aicas.com>
* gnu/javax/swing/text/html/parser/support/Parser.java
(_handleText): Consume whitespace directly before a closing tag.
(restOfTag): Consume whitespace directly after opening.
* gnu/javax/swing/text/html/parser/support/textPreProcessor.java
(preprocess): Don't perform array boundary checking by
catch AIOOBE, instead check the boundary in loop condition.
* gnu/javax/swing/text/html/parser/support/low/Constants.java
(TAG_CLOSE): New constants. Describes the token pattern for
a closing tag.
2006-11-14 Roman Kennke <kennke@aicas.com>
* javax/swing/text/html/ImageView.java
(getPreferredSpan): Use CSS length values.
* javax/swing/text/html/TableView.java
(CellView.calculateMajorAxisRequirements): Overridden to
set the maximum reqs to maximum.
(RowView.getMaximumSize): For the X_AXIS, set the maximum
span to maximum.
(RowView.getMinimumSpan): Overridden. For the X_AXIS, return
the total column reqs.
(RowView.getPreferredSpan): Overridden. For the X_AXIS, return
the total column reqs.
* gnu/javax/swing/text/html/css/CSSColor.java
(convertValue): Catch NumberFormatExceptions for more robustness.
* gnu/javax/swing/text/html/css/FontSize.java
(mapPixels): Actually map px values. Catch NFE for more robustness.
2006-11-14 Roman Kennke <kennke@aicas.com>
* gnu/java/awt/font/autofit/AxisHints.java,
* gnu/java/awt/font/autofit/Constants.java,
* gnu/java/awt/font/autofit/GlyphHints.java,
* nu/java/awt/font/autofit/Latin.java,
* nu/java/awt/font/autofit/LatinAxis.java,
* gnu/java/awt/font/autofit/LatinMetrics.java,
* gnu/java/awt/font/autofit/Scaler.java,
* gnu/java/awt/font/autofit/Script.java,
* gnu/java/awt/font/autofit/ScriptMetrics.java,
* gnu/java/awt/font/autofit/Segment.java,
* gnu/java/awt/font/autofit/Width.java:
New classes. This is some skeleton stuff for the FreeType-alike
auto-gridfitter.
* gnu/java/awt/font/opentype/CharGlyphMap.java: Made class public.
* gnu/java/awt/font/opentype/OpenTypeFont.java
(unitsPerEm): Made field public.
(getRawGlyphOutline): New method. Fetches the raw outline.
* gnu/java/awt/font/opentype/Scaler.java
(getRawGlyphOutline): New method. Fetches the raw outline.
* gnu/java/awt/font/opentype/truetype/GlyphLoader.java
(loadGlyph): New method. This is used to load raw outlines.
* gnu/java/awt/font/opentype/truetype/TrueTypeScaler.java
(getRawOutline): New method. Fetches the raw outline.
* gnu/java/awt/font/opentype/truetype/Zone.java:
Made class public.
2006-11-14 Roman Kennke <kennke@aicas.com>
* javax/swing/RepaintManager.java
(RepaintManager): Fetch the default state for the double buffering
from a system property gnu.swing.doublebuffering.
2006-11-14 Roman Kennke <kennke@aicas.com>
* javax/swing/plaf/basic/BasicLabelUI.java
(cachedInsets): New field.
(getFontMetrics): New helper method. Fetches the font metrics
from the component or the toolkit.
(getPreferredSize): Use getFontMetrics() helper method for
fetching the font metrics.
(paint): Use getFontMetrics() helper method for
fetching the font metrics. Only paint if icon or text
are != null. Use cached insets.
(paintDisabledText): Don't store/restore color object. The
JComponent painting mechanism takes care of this by calling
create().
(paintEnabledText): Don't store/restore color object. The
JComponent painting mechanism takes care of this by calling
create().
2006-11-14 Roman Kennke <kennke@aicas.com>
* gnu/java/awt/peer/GLightweightPeer.java
(handleEvent): Try to do something reasonable and trigger painting
for the lightweight component.
(getFontMetrics): Fetch and return a font metrics object from
the Toolkit.
2006-11-13 Andrew John Hughes <gnu_andrew@member.fsf.org>
* gnu/java/util/regex/RETokenNamedProperty.java:
(getHandler(String)): Add support for 'all'.
2006-11-13 Andreas Tobler <a.tobler@schweiz.org>
* AUTHORS: Add myself.
2006-11-13 Thomas Fitzsimmons <fitzsim@redhat.com>
* AUTHORS: Add Tania Bento, Thomas Fitzsimmons, Francis Kung and
Dalibor Topic. Re-order 'K' section. Remove trailing space from
Roman Kennke's entry.
2006-11-13 Roman Kennke <kennke@aicas.com>
* java/awt/image/IndexColorModel.java
(createCompatibleSampleModel): Implemented missing method.
2006-11-11 Andreas Tobler <a.tobler@schweiz.org>
* gnu/java/awt/peer/gtk/GtkImageConsumer.java (setPixels): Handle data
from big endian systems correctly.
2006-11-11 Roman Kennke <kennke@aicas.com>
* gnu/javax/swing/text/html/css/CSSColor.java
(isValidColor): New helper method. Checks strings if they
form a valid color value.
* gnu/javax/swing/text/html/css/Length.java
(Length): Catch number format exceptions.
* javax/swing/text/html/CSS.java
(addInternal): New method. Checks for shorthand CSS attributes
and parses them.
(parseBackgroundShorthand): New method. Parses the background
shorthand attribute.
* javax/swing/text/html/HTMLDocument.java
(HTMLReader.LinkAction): Made class a subclass of HiddenAction.
(HTMLReader.LinkAction.start): Implemented to load the linked
stylesheet.
(HTMLReader.LinkAction.end): Removed. This is not needed.
* javax/swing/text/html/StyleSheet.java
(CSSStyleSheetParserCallback.declaration): Push declaration
through CSS.addInternal() to parse shorthand attributes.
(addCSSAttribute): Push declaration through CSS.addInternal()
to parse shorthand attributes.
(importStyleSheet): Implemented. This adds a stylesheet from
an URL.
* javax/swing/text/html/TableView.java
(calculateColumnRequirements): Increase column index for
non CellView children to avoid endless loop.
* javax/swing/text/CompositeView.java
(setParent): Comparen with numChildren not with real arraylength.
2006-11-11 David Gilbert <david.gilbert@object-refinery.com>
* java/beans/beancontext/BeanContextSupport.java
(getChildBeanContextChild): Implemented.
2006-11-10 Roman Kennke <kennke@aicas.com>
* javax/swing/text/View.java
(updateLayout): Only repaint when needed.
2006-11-10 David Gilbert <david.gilbert@object-refinery.com>
* java/util/Collections.java
(sort(List)): Minor API doc addition,
(sort(List, Comparator)): Likewise.
2006-11-10 David Fu <fchoong@netbeans.jp>
* javax/swing/text/html/HTMLWriter.java
(traverse): Removed Classpath specific handling of implied
tags.
(traverseHtmlFragment): Removed Classpath specific handling of
implied tags.
2006-11-10 Roman Kennke <kennke@aicas.com>
* javax/swing/text/ParagraphView.java
(Row.getMaximumSize): Removed. This method is not necessary.
* javax/swing/text/html/TableView.java
(CellView): Moved attribute init to setPropertiesFromAttributes().
(setPropertiesFromAttributes): Fetch attributes here.
(RowView.RowView): Documented.
(RowView.getMaximumSpan): Overridden to restrict the max span
in the Y direction.
(RowView.layoutMajorAxis): Correctly layout the spans.
(columnWidths): New field. Stores the width attributes of
the columns.
(calculateColumnRequirements): Added support for relative
(== percent) width attributes.
(calculateMajorAxisRequirements): Removed.
(calculateMinorAxisRequirements): Removed unnecessary code.
(getMaximumSpan): Overridden to restrict the table's width.
(layoutColumns): Documented. Implement more clever table layout,
i.e. for relative columns etc.
(layoutMinorAxis): Don't mark rows invalid.
(updateGrid): Added docs. Initialize column widths.
2006-11-09 Roman Kennke <kennke@aicas.com>
* gnu/java/awt/peer/headless/HeadlessGraphicsEnvironment,
* gnu/java/awt/peer/headless/HeadlessToolkit: New classes.
Implement basic headless toolkit.
* java/awt/Toolkit.java
(getDefaultToolkit): Check headless property and create
headless toolkit when true.
2006-11-09 Ingo Proetel <proetel@aicas.com>
2006-11-09 Roman Kennke <kennke@aicas.com>
* gnu/java/awt/peer/swing/SwingButtonPeer.java
(SwingButton.button): New field.
(SwingButton.SwingButton): Added constructor.
(SwingButton.isShowing): Access button field instead of
the surrounding class.
(SwingButton.getParent): Access button field instead of
the surrounding class.
(SwingButtonPeer): Call new SwingButton constructor.
* gnu/java/awt/peer/swing/SwingComponent.java:
Several documentation updates.
* gnu/java/awt/peer/swing/SwingComponentPeer.java
(currentPaintEvents): New field.
(peerFont): New field.
(SwingComponentPeer): Initialize currentPaintEvents fields.
(coalescePaintEvents): Implemented.
(dispose): Unregister peer from heavyweight list of its container.
(getGraphics): Fetch graphics from parent component.
(handleEvent): Discard paint event if its coalesced.
(init): Register component with its container for proper painting.
(paint): Call peerPaint().
(peerPaint): Added argument that indicates if we should update.
Call paint or update on the actual AWT component.
(peerPaintComponent): New method. Paints the peer (Swing) component.
(setFont): Set peerFont field.
* gnu/java/awt/peer/swing/SwingContainerPeer.java
(backbuffer): New field.
(focusOwner): New field.
(heavyweightDescendents): New field.
(SwingContainerPeer): Take Container as argument. Don't call init
yet.
(addHeavyweightDescendent): New method.
(getFocusOwner): New helper method.
(getInsets): Delegate to insets().
(handleKeyEvent): Dispatch event to focus owner.
(handleMouseEvent): Dispatch to child component.
(isDoubleBuffering): New helper method.
(peerPaint): Overridden to implement container painting with
double buffering.
(peerPaintChildren): New method. Paints the descendents of this
container.
(removeHeavyweightDescendent): New helper method.
* gnu/java/awt/peer/swing/SwingFramePeer.java
(peerPaint): Removed.
(peerPaintComponent): Overridden to paint the menu bar.
* gnu/java/awt/peer/swing/SwingLabelPeer.java
(SwingLabel.label): New field.
(SwingLabel.SwingLabel): Added constructor with Label argument.
(SwingLabel.getGraphics): Implemented to fetch the graphics from
the actual AWT component.
(SwingLabel.getParent): Implemented to fetch the parent from
the AWT component.
(SwingLabel.isShowing): Access the label field.
(SwingLabelPeer): Set alignment from label.
* gnu/java/awt/peer/swing/SwingListPeer.java: New class.
* gnu/java/awt/peer/swing/SwingMenuBarPeer.java: Documentation
fixlet.
* gnu/java/awt/peer/swing/SwingPanelPeer.java:
Don't be a lighweight peer.
(SwingPanelPeer): Call init.
* gnu/java/awt/peer/swing/SwingTextAreaPeer.java: New class.
* gnu/java/awt/peer/swing/SwingTextFieldPeer.java
(SwingTextField.textField): New field.
(SwingTextField.SwingTextField): New constructor.
(SwingTextField.isShowing): Access field not enclosing class.
(SwingTextField.getGraphics): New method.
(SwingTextField.getParent): New method.
(SwingTextFieldPeer): Call new constructor.
(select): Renamed arguments.
* gnu/java/awt/peer/swing/SwingWindowPeer.java
(SwingWindowPeer): Call init.
2006-11-09 Tania Bento <tbento@redhat.com>
* javax/swing/JLabel.java
(JLabel(Icon)): Changed documentation; Changed text to null.
(JLabel(Icon,int)): Likewise.
(JLabel(text)): Changed documenation.
(JLabel(text,int)): Likewise.
(JLabel(text,Icon,int)): Changed documentation; Throw
IllegalArgumentException if int is not one of LEFT, RIGHT,
CENTER, LEADING or TRAILING.
2006-11-09 David Gilbert <david.gilbert@object-refinery.com>
* java/beans/beancontext/BeanContextSupport.java
(BeanContextSupport): Use correct dtime default,
(BeanContextSupport(BeanContext)): Likewise,
(BeanContextSupport(BeanContext, Locale)): Likewise, plus renamed
locale argument,
(BeanContextSupport(BeanContext, Locale, boolean)): Likewise,
(BeanContextSupport(BeanContext, Locale, boolean, boolean)): Likewise.
2006-11-09 David Gilbert <david.gilbert@object-refinery.com>
* java/beans/beancontext/BeanContextSupport.java
(getBeanContextPeer): Implemented.
2006-11-09 Roman Kennke <kennke@aicas.com>
* javax/swing/text/html/BlockView.java
(cssHeight): Removed.
(cssWidth): Removed.
(cssSpans): New field. Replaces the two fields above.
(BlockView): Allocate cssSpans array.
(layoutMinorAxis): Fetch and use child span, not this view's span.
(setCSSSpan): Adjusted to use cssSpans array.
(setPropertiesFromAttributes): Adjusted to use cssSpans array.
2006-11-09 Roman Kennke <kennke@aicas.com>
* javax/swing/text/html/InlineView.java
(nowrap): New field.
(getBreakWeight): Add support for nowrap.
(setPropertiesFromAttributes): Fetch the nowrap setting.
2006-11-09 Roman Kennke <kennke@aicas.com>
* gnu/javax/swing/text/html/css/CSSParser.java
(parseRuleset): Use new Selector class.
(parseValue): Parse multiple anys, not only one.
(main): Allow stylesheet be specified on the command line.
Use new Selector class.
* gnu/javax/swing/text/html/css/CSSParserCallback.java
(startStatement): Use Selector class.
* gnu/javax/swing/text/html/css/CSSScanner.java
(readName): Actually read a character in the loop to avoid
endless loop.
* gnu/javax/swing/text/html/css/Length.java
(getValue): Only multiply when we have a percentage value.
* gnu/javax/swing/text/html/css/Selector.java:
New class. Provides handling of CSS selectors.
* javax/swing/text/html/StyleSheet.java
(CSSStyle.PREC_AUTHOR_IMPORTANT): New constant field.
(CSSStyle.PREC_AUTHOR_NORMAL): New constant field.
(CSSStyle.PREC_NORM): New constant field.
(CSSStyle.PREC_UA): New constant field.
(CSSStyle.PREC_USER_IMPORTANT): New constant field.
(CSSStyle.precedence): New field.
(CSSStyle.priority): Removed.
(CSSStyle.selector): New field.
(CSSStyle.CSSStyle(int,Selector)): Initialize with Selector
and precendence.
(CSSStyle.compareTo): Adjusted to use the precedence and
specificity of the selector.
(CSSStyleSheetParserCallback.precedence): New field.
(CSSStyleSheetParserCallback.selector): Removed.
(CSSStyleSheetParserCallback.style): New field.
(CSSStyleSheetParserCallback.CSSStyleSheetParserCallback):
Initialize with precedence.
(CSSStyleSheetParserCallback.declaration): Don't look up
existing rule, simply create new one.
(CSSStyleSheetParserCallback.endStatement): Append style
to stylesheet.
(CSSStyleSheetParserCallback.startStatement): Use new Selector
class.
(css): Changed to be ArrayList.
(addRule): Create parser with author-normal precendence.
(getRule): Fixed implementation.
(loadRules): Create parser with UA precendence.
(resolveStyle): Use Selector class for resolving and matching
stylesheet rules.
(translateHTMLToCSS): Added mappings for a couple of HTML
attributes.
2006-11-09 David Gilbert <david.gilbert@object-refinery.com>
Fixes bug #29770
* java/beans/SimpleBeanInfo.java
(loadImage): Check for nulls.
2006-11-09 Robert Schuster <robertschuster@fsfe.org>
* native/jni/java-nio/gnu_java_nio_VMChannel.c:
(getpeername): Added 16 byte offset to memcpy operation.
2006-11-09 Robert Schuster <robertschuster@fsfe.org>
* native/jni/java-nio/gnu_java_nio_VMChannel.c:
(getsockname): Added 16 byte offset to memcpy operation.
2006-11-08 Mark Wielaard <mark@klomp.org>
Fixes bug #29754
* java/io/OutputStreamWriter.java
(OutputStreamWriter(OutputStream,Charset)): Set encodingName.
(OutputStreamWriter(OutputStream,CharsetEncoder)): Likewise.
2006-11-08 Roman Kennke <kennke@aicas.com>
* javax/swing/text/html/HTMLEditorKit.java
(getParser): Use plain HTML_401F DTD.
* javax/swing/text/html/HTMLDocument.java
(HTMLReader.print): Removed method and all calls to it.
(HTMLReader.printBuffer): Removed method and all calls to it.
(HTMLReader.inImpliedParagraph): New field.
(HTMLReader.inParagraph): New field.
(HTMLReader.addContent): Create implied p-tag if necessary.
(HTMLReader.addSpecialElement): Create implied p-tag if necessary.
(HTMLReader.blockClose): Close implied p-tag if necessary.
(HTMLReader.blockOpen): Close implied p-tag if necessary.
* gnu/javax/swing/text/html/parser/HTML_401Swing.java: Removed.
2006-11-08 Roman Kennke <kennke@aicas.com>
* javax/swing/text/html/HTMLEditorKit.java
(HTMLFactory.create): Removed mapping for TD tag. This
is done in TableView.
* javax/swing/text/html/TableView.java:
Implemented from scratch.
2006-11-07 Roman Kennke <kennke@aicas.com>
* gnu/javax/swing/text/html/parser/support/Parser.java
(_handleText): Check if text content is actually allowed before
passing empty text fragments on to the parser callbacks.
2006-11-07 Mark Wielaard <mark@klomp.org>
* gnu/java/net/protocol/jar/Handler.java (parseURL): Flatten jar
path.
(flat): New method.
2006-11-07 Tania Bento <tbento@redhat.com>
* java/awt/FlowLayout.java
(getSize): If parent does not have a component, then a
different formula is used to calcuate the width.
2006-11-07 Roman Kennke <kennke@aicas.com>
* javax/swing/text/html/HTMLEditorKit.java
(HTMLFactory.create): Include ListView.
* javax/swing/text/html/ListView.java
(paint): Removed comment.
* javax/swing/text/html/StyleSheet.java
(CSSStyle.priority): New field.
(CSSStyle.CSSStyle(int)): New constructor with priority.
(CSSStyle.compareTo): New method. Used for sorting the styles.
(CSSStyleSheetParserCallback.declaration): Store the style
with the complete selector.
(ListPainter.attributes): Renamed as field.
(ListPainter.styleSheet): New field.
(ListPainter.type): New field.
(ListPainter.ListPainter): Pass StyleSheet to constructor.
(ListPainter.paint): Provide simplistic implementation.
(getListPainter): Pass StyleSheet to constructor.
(resolveStyle): Fixed CSS style resolving.
2006-11-07 Roman Kennke <kennke@aicas.com>
* gnu/javax/swing/text/html/css/BorderWidth.java:
New class. Handles CSS border width values.
* gnu/javax/swing/text/html/css/Length.java
(floatValue): Made protected so that BorderWidth can access it.
* javax/swing/text/html/CSS.java
(Attribute.BORDER_BOTTOM_COLOR): New static field.
(Attribute.BORDER_BOTTOM_STYLE): New static field.
(Attribute.BORDER_LEFT_COLOR): New static field.
(Attribute.BORDER_LEFT_STYLE): New static field.
(Attribute.BORDER_RIGHT_COLOR): New static field.
(Attribute.BORDER_RIGHT_STYLE): New static field.
(Attribute.BORDER_TOP_COLOR): New static field.
(Attribute.BORDER_TOP_STYLE): New static field.
(getValue): Added some mappings for the border color and
border width values.
* javax/swing/text/html/CSSBorder.java: New class. Implements
CSS borders.
* javax/swing/text/html/StyleSheet.java
(BoxPainter.background): New field.
(BoxPainter.border): New field.
(BoxPainter.bottomInset): Documented.
(BoxPainter.leftInset): Documented.
(BoxPainter.rightInset): Documented.
(BoxPainter.topInset): Documented.
(BoxPainter.BoxPainter): Added support for borders and background.
(BoxPainter.getInset): Add border insets.
(BoxPainter.paint): Implemented. Paints the background and the
CSS border.
(addRule): Be less picky about parse and IO exceptions.
(getBoxPainter): Adjust to new BoxPainter constructor.
2006-11-07 Andreas <a.tobler@schweiz.org>
* examples/Makefile.am: Add rule to install the *.html files we use
in the Swing Demo.
2006-11-06 Francis Kung <fkung@redhat.com>
* gnu/java/awt/peer/gtk/ComponentGraphics.java
(fillRect): Handle custom composites.
(drawRenderedImage): Handle custom composites.
(drawImage): Handle custom composites.
(createBuffer): New method.
(drawLine): Handle custom composites.
(drawComposite): New method.
(fill): Handle custom composites.
(getNativeCM): New method.
(drawGlyphVector): Handle custom composites.
(drawRect): Handle custom composites.
(draw): Handle custom composites.
* gnu/java/awt/peer/gtk/VolatileImageGraphics.java
(drawComposite): Unset composite during draw call, to prevent parent
from handling composite again.
* gnu/java/awt/peer/gtk/CairoGraphics2D.java
(getBufferCM): Added comments.
(getNativeCM): Made abstract.
(setComposite): Removed comments.
2006-11-06 Roman Kennke <kennke@aicas.com>
* examples/gnu/classpath/examples/swing/HtmlDemo.java:
Fixed initial window size and start document.
2006-11-06 Roman Kennke <kennke@aicas.com>
* javax/swing/text/html/HTMLDocument.java
(HTMLReader.addSpecialElement): Removed comment about
htmlAttributeSet.
(HTMLReader.handleComment): Create SimpleAttributeSet instead
of htmlAttributeSet.
* javax/swing/text/html/parser/DocumentParser.java
(gnuParser.handleStartTag): Use SimpleAttributeSet instead
of htmlAttributeSet.
* javax/swing/text/html/parser/ParserDelegator.java
(gnuParser.handleStartTag): Use SimpleAttributeSet instead
of htmlAttributeSet.
* gnu/javax/swing/text/html/parser/GnuParserDelegator.java
(gnuParser.handleStartTag): Use SimpleAttributeSet instead
of htmlAttributeSet.
* gnu/javax/swing/text/html/parser/support/Parser.java
(getAttributes): Return a SimpleAttributeSet.
(restOfTag): Don't set resolving parent here.
2006-11-06 Tania Bento <tbento@redhat.com>
* java/awt/TextComponent.java
(setSelectionStart): Added check.
2006-11-06 Tania Bento <tbento@redhat.com>
* java/awt/TextField.java
(minimumSize(int)): Check if minimum size has been previously
set and changed values of Dimension returned if peer == null.
(preferredSize(int)): Check if preferred size has been previously
set and changed values of Dimension returned if peer == null.
2006-11-06 Roman Kennke <kennke@aicas.com>
* javax/swing/JTree.java
(TreeModelHandler.treeNodesRemoved): Implemented.
(TreeModelHandler.treeStructureChanged): Implemented.
(nodeStates): Made package private.
2006-11-06 Francis Kung <fkung@redhat.com>
PR 29420
* javax/swing/JTree.java
(clearSelectionPathStates): New private method to clean up nodeStates.
(removeSelectionPath): Call clearSelectionPathStates().
(removeSelectionPaths): Call clearSelectionPathStates().
(removeSelectionRow): Call clearSelectionPathStates().
(setSelectionPath): Call clearSelectionPathStates().
(setSelectionPaths): Call clearSelectionPathStates().
(setSelectionRow): Call clearSelectionPathStates().
2006-11-06 Ito Kazumitsu <kaz@maczuka.gcd.org>
Fixes bug #29703
* java/util/regex/Matcher.java(reset): Reset inputCharIndexed.
2006-11-06 Roman Kennke <kennke@aicas.com>
* examples/gnu/classpath/examples/swing/HtmlDemo.java:
Changed to implement a minimalistic browser.
* examples/gnu/classpath/examples/swing/forms.html,
* examples/gnu/classpath/examples/swing/textstyles.html,
* examples/gnu/classpath/examples/swing/welcome.html:
Some example content.
2006-11-06 Roman Kennke <kennke@aicas.com>
* javax/swing/text/ComponentView.java
(setParent): Lock the document and repaint the hosting
container.
* javax/swing/text/FlowView.java
(FlowStrategy.createView): Removed comment.
(FlowView): Initialize span with Short.MAX_VALUE.
(getFlowStart): Return 0 unconditionally.
(layout): Moved code around to make it more readable.
(loadChildren): Always set the parent.
* javax/swing/text/GlyphView.java
(DefaultGlyphPainter.fontMetrics): New field.
(DefaultGlyphPainter.getAscent): Use new helper method to
synchronize the font metrics.
(DefaultGlyphPainter.getBoundedPosition): Use new helper method
to synchronize the font metrics.
(DefaultGlyphPainter.getDescent): Use new helper method to
synchronize the font metrics.
(DefaultGlyphPainter.getHeight): Use new helper method to
synchronize the font metrics.
(DefaultGlyphPainter.getSpan): Use new helper method to
synchronize the font metrics.
(DefaultGlyphPainter.modelToView): Use new helper method to
synchronize the font metrics.
(DefaultGlyphPainter.updateFontMetrics): New helper method for
font metrics caching.
(DefaultGlyphPainter.viewToModel): Use new helper method to
synchronize the font metrics. Fixed view to model mapping.
* javax/swing/text/View.java
(removeAll): Pass null to replace().
(setParent): Only reparent children that have this view as parent.
2006-11-05 Mark Wielaard <mark@klomp.org>
* include/gnu_java_net_VMPlainDatagramSocketImpl.h: Removed.
* include/gnu_java_nio_channels_FileChannelImpl.h: Removed.
* native/jni/java-net/gnu_java_net_VMPlainDatagramSocketImpl.c:
Removed.
* native/jni/java-nio/gnu_java_nio_channels_FileChannelImpl.c:
Removed.
* native/jni/java-nio/Makefile.am (libjavanio_la_SOURCES):
Remove gnu_java_nio_channels_FileChannelImpl.c.
2006-11-03 Roman Kennke <kennke@aicas.com>
* javax/swing/text/html/BlockView.java
(attributes): New field.
(cssHeight): New field.
(cssWidth): New field.
(painter): New field.
(calculateMajorAxisRequirements): Overridden to account for
CSS settings.
(calculateMinorAxisRequirements): Overridden to account for
CSS settings.
(layoutMinorAxis): Overridden to account for CSS settings.
(changedUpdate): Formatting fixlet.
(constrainSize): New helper method.
(getAlignment): Fix alignment.
(getAttributes): Cache attributes for better performance.
(getStyleSheet): Fetch stylesheet from document rather than creating
a new one.
(paint): Remove comment.
(setCSSSpan): New helper method.
(setPropertiesFromAttributes): Implemented to fetch the
recognized properties.
* javax/swing/text/html/CSS.java
(getValue): Added mapping for width and height attributes.
* javax/swing/text/html/InlineView.java
(longestWord): New field.
(getLongestWord): New helper method.
(calculateLongestWord): New helper method.
(getMinimumSpan): Overridden to constrain the minimum span by the
longest word.
* javax/swing/text/html/ParagraphView.java
(cssHeight): New field.
(cssWidth): New field.
(calculateMinorAxisRequirements): Overridden to account for
CSS settings.
(setCSSSpan): New helper method.
(setPropertiesFromAttributes): Fetch CSS width and height. Added
null check.
* gnu/javax/swing/text/html/css/Length.java
(percentage): New field.
(Length): Determine percentage values.
(getValue(float)): New method for handling percentage values.
(isPercentage): New method.
2006-11-03 Tania Bento <tbento@redhat.com>
* java/awt/TextArea.java
(getMinimumSize): Changed documentation.
(getPreferredSize): Changed documentation.
(getMinimumSize(int,int)): Changed documenation.
(getPreferredSize(int,int)): Changed documenation.
(minimumSize): Changed documentation.
(preferredSize): Changed documenation.
(minimumSize(int,int)): Changed documentation. Checked if
minimum size had been previously set and changed values of
Dimension returned if peer == null.
(preferredSize(int, int)): Checked if preferred size had been
previously set and changed values of Dimension returned if
peer = null.
2006-11-03 Tania Bento <tbento@redhat.com>
* java/awt/event/ComponentEvent.java
(paramString): Changed format of string representation returned.
2006-11-03 Roman Kennke <kennke@aicas.com>
* javax/swing/text/html/HTMLDocument.java
(HTMLReader.FormAction.start): Added support for textarea.
(HTMLReader.FormAction.end): Added support for textarea.
(HTMLReader.HeadAction.end): Call super to actually close the
block.
(HTMLReader.inTextArea): New field.
(HTMLReader.textAreaDocument): New field.
(HTMLReader.handleText): Call textAreaContent when inside
a textarea tag.
(HTMLReader.textAreaContent): Implemented to initialize
the text area's model.
* javax/swing/text/html/FormView.java
(createComponent): Added support for textarea tag.
2006-11-03 Roman Kennke <kennke@aicas.com>
* javax/swing/text/html/HTMLDocument.java
(HTMLReader.IsindexAction.start): Implemented.
2006-11-03 Roman Kennke <kennke@aicas.com>
* javax/swing/text/html/StyleSheet.java
(addRule): Implemented.
* javax/swing/text/html/HTMLDocument.java
(HTMLReader.inStyleTag): New field.
(HTMLReader.styles): New field.
(HTMLReader.HeadAction.end): Implemented to read all stylesheets,
if any.
(HTMLReader.StyleAction.start): Set inStyleTag flag.
(HTMLReader.StyleAction.end): Set inStyleTag flag.
(HTMLReader.handleText): When inside a style tag, add
content to the styles array.
2006-11-02 Roman Kennke <kennke@aicas.com>
* javax/swing/text/html/FormView.java
(maxIsPreferred): New field.
(createComponent): Initialize components correctly.
(getMaximumSpan): Return the preferred span for components
that need this. The maxIsPreferred flag is set accordingly
in createComponent.
* javax/swing/text/html/HTMLDocument.java
(HTMLReader.FormAction.start): Implemented to set the
correct model as attribute.
(HTMLReader.FormAction.setModel): New helper method.
(HTMLReader.FormAction.end): Call super to finish the element.
Added TODO about things left to do.
(HTMLReader.handleComment): Use SimpleAttributeSet rather
than htmlAttributeSet.
* javax/swing/text/html/HTMLEditorKit.java
(HTMLFactory.create): Create BlockView for FORM tags.
Create FormView for INPUT, TEXTAREA and SELECT tags.
2006-11-02 David Gilbert <david.gilbert@object-refinery.com>
* java/awt/geom/GeneralPath.java: API doc fixes.
2006-11-02 Roman Kennke <kennke@aicas.com>
* javax/swing/text/html/ImageView.java
(getImageURL): Fetch attribute from element. Consider the
base URL for relative image locations.
2006-11-02 Roman Kennke <kennke@aicas.com>
* javax/swing/JEditorPane.java
(setContentType): Strip off attributes.
* javax/swing/text/html/HTMLEditorKit.java
(LinkController.activateLink(int,JEditorPane,int,int): New
method. Implements activation of a hyperlink.
(LinkController.activateLinke(int,JEditorPane)): Delegate
to the other activateLink() method.
(LinkController.createHyperlinkEvent): New helper method.
(LinkController.mouseClicked): Implemented to activate the link.
(LinkController.mouseDragged): Added comment that this
method does nothing.
(LinkController.mouseMoved): Update cursor for hyperlinks.
(mouseHandler): Renamed field to linkController.
(HTMLEditorKit): Create a link controller.
(clone): Give the clone a new link controller.
(deinstall): De-install link controller as mouseMotionListener too.
(install): Install link controller as mouseMotionListener too.
2006-11-02 Roman Kennke <kennke@aicas.com>
PR 29644
* javax/swing/text/FlowView.java
(FlowStrategy.changedUpdate): Reversed condition. This caused
wrong layout and bad performance.
(FlowStrategy.insertUpdate): Reversed condition. This caused
wrong layout and bad performance.
(FlowStrategy.removeUpdate): Reversed condition. This caused
wrong layout and bad performance.
(LogicalView): Changed to be a subclass of CompositeView.
(LogicalView()): Only take one Element argument.
(LogicalView.childAllocation): New method for implementing
the abstract CompositeView method.
(LogicalView.forwardUpdateToView): Overridden for correct
reparenting.
(getMinimumSpan): Overridden to handle line breaking correctly.
(getPreferredSpan): Implemented to handle line breaking correctly.
(getViewAtPoint): New method for implementing
the abstract CompositeView method.
(getViewIndexAtPosition): Overridden to handle leaf elements
correctly.
(isAfter): New method for implementing
the abstract CompositeView method.
(isBefore): New method for implementing
the abstract CompositeView method.
(loadChildren): Overridden to handle leaf elements
correctly.
(paint): New method for implementing
the abstract CompositeView method.
(calculateMinorAxisRequirements): Use preferredSpan in calculation.
(loadChildren): Initialize flow layout by sending a synthetic
insertUpdate() to the layout strategy.
* javax/swing/text/GlyphView.java
(DefaultGlyphPainter.getBoundedPosition): Fall back to Toolkit's
font metrics if component is not available. Add initial offset
to result.
(breakView): Be more clever when breaking the view.
(getBreakLocation): New helper method to determine a good
break location.
(getBreakWeight): Be more clever when breaking the view.
(getTabbedSpan): Make sure we have a painter. Use view's
start and end offset rather than the element's.
* javax/swing/text/Utilities.java
(drawTabbedText): Avoid useless add and sub with the y offset.
2006-11-02 Roman Kennke <kennke@aicas.com>
PR 29644
* gnu/java/awt/peer/ClasspathFontPeer.java
(getStringBounds): Removed abstract method. This is replaced
in java.awt.Font to use a TextLayout.
* gnu/java/awt/peer/gtk/GtkWindowPeer.java
(GtkWindowPeer): Set a font on the window object.
* gnu/java/awt/peer/gtk/FreetypeGlyphVector.java
(FreetypeGlyphVector(Font,String,FontRenderContext,int)):
Changed to take char,int,int instead of String. Filter
control characters.
(FreetypeGlyphVector(Font,String,FontRenderContext)):
Create char array out of string.
(getLogicalBounds): Don't translate bounds. They already are
translated.
* gnu/java/awt/peer/gtk/GdkFontMetrics.java
(stringWidth): Filter out control characters.
* gnu/java/awt/peer/gtk/GdkFontPeer.java
(getStringBounds): Removed unneeded method.
(layoutGlyphVector): Pass char array directly to FreetypeGlyphVector
constructor.
* gnu/java/awt/peer/qt/QtFontPeer.java
(getStringBounds): Removed unneeded method.
* gnu/java/awt/peer/x/XFontPeer.java
(getStringBounds): Removed unneeded method.
* gnu/java/awt/peer/x/XFontPeer2.java
(getStringBounds): Removed unneeded method.
* java/awt/Font.java
(getStringBounds(char[],int,int,FontRenderContext)):
Use TextLayout to determine the bounds.
(getStringBounds(CharacterIterator,int,int,FontRenderContext)):
Delegate to the char[] version of this method.
(getStringBounds(String,FontRenderContext)):
Delegate to the char[] version of this method.
(getStringBounds(String,int,int,FontRenderContext)):
Delegate to the String version of this method.
2006-11-01 Tania Bento <tbento@redhat.com>
* java/awt/ScrollPaneAdjustable.java
(paramString): Changed format of string representation returned.
(paramStringHelper): New private method.
2006-11-01 Tania Bento <tbento@redhat.com>
* java/awt/GridBagLayout.java
(toString): Implemented method.
2006-10-30 Thomas Fitzsimmons <fitzsim@redhat.com>
* native/plugin/gcjwebplugin.cc (GCJ_New): Move GLib threading
initialization to NP_Initialize.
(NP_Initialize): Initialize GLib threading.
2006-10-31 Tania Bento <tbento@redhat.com>
* javax/swing/JTextField.java
(fireActionPerformed): When creating the new event, if
actionCommand == null, then getText() is used.
2006-10-31 Francis Kung <fkung@redhat.com>
* gnu/java/awt/peer/gtk/CairoGraphics2D.java
(fillArc): Corrected arc type to Arc2D.PIE.
2006-10-31 Roman Kennke <kennke@aicas.com>
* javax/swing/text/html/HTMLDocument.java
(HTMLReader.PreAction.end): Implemented.
(HTMLReader.PreAction.start): Implemented.
(HTMLReader.inPreTag): New field.
(HTMLReader.handleTag): When inside a pre tag, call preContent().
(HTMLReader.preContent): Implemented.
2006-10-31 Tania Bento <tbento@redhat.com>
* javax/swing/JTextField.java
(fireActionPerformed): When creating the new event,
actionCommand should be used as the command, not
getText().
2006-10-31 Roman Kennke <kennke@aicas.com>
* javax/swing/text/html/HTMLEditorKit.java
(write): Use HTMLWriter or MinimalHTMLWriter for writing
HTML or Styled documents.
2006-10-31 David Fu <fchoong@netbeans.jp>
* javax/swing/text/html/HTMLWriter.java: New class.
2006-10-30 Roman Kennke <kennke@aicas.com>
* java/awt/dnd/DragSourceContext.java
(dragExit): Use constant fields instead of 0.
(updateCurrentCursor): Completed implementation.
2006-10-30 Roman Kennke <kennke@aicas.com>
* java/awt/dnd/DragGestureRecognizer.java
(resetRecognizer): Added API docs. Do not replace the events object
but rather clear() it. Removed not implemented tag.
2006-10-30 Roman Kennke <kennke@aicas.com>
* java/awt/datatransfer/DataFlavor.java
(writeExternal): Remove not implemented tag.
2006-10-30 Roman Kennke <kennke@aicas.com>
* java/awt/datatransfer/DataFlavor.java
(javaFileListFlavor): Don't explicitly specify class.
(plainTextFlavor): Don't explicitly specify class.
(mimeType): Changed to type MimeType. Remove final.
(representationClass): Remove final.
(DataFlavor): Don't do anything here.
(DataFlavor(Class,String,String)): Removed.
(DataFlavor(Class,String)): Initialize here.
(DataFlavor(String,String,ClassLoader)): Initialize in init().
(DataFlavor(String,String)): Initialize in init().
(DataFlavor(String)): Initialize in init().
(init): New initialization method.
(getMimeType): Delegate to MimeType.toString().
(getParameter(String,String)): Removed. Is now done in MimeType.
(getParameter(String)): Delegate to MimeType.
(getPrimaryType): Delegate to MimeType.
(getRepresentationClassFromMime): Removed.
(getRepresentationClassFromMimeThrows): Removed.
(getSubType): Delegate to MimeType.
(hashCode): Take MimeType.toString() for the hashCode.
(isFlavorRemoveObjectType): Return true only when representation
class is remove and serializable and the mime type is remote.
(isFlavorSerializedObjectType): Return true only when representation
class is serializable and the mime type is serialized.
(isMimeTypeEqual): Rewritten to delegate to MimeType.matches().
(isMimeTypeSerializedObject): Delegate to isMimeTypeEqual().
(readExternal): Implemented stub method.
(writeExternal): Implemented stub method.
* java/awt/datatransfer/MimeType.java: New helper class.
2006-10-28 Roman Kennke <kennke@aicas.com>
* javax/swing/TransferHandler.java
(importData): Implemented stub method. Added API docs.
2006-10-26 Christian Elias Naur <elias@oddlabs.com>
* native/jni/gtk-peer/gtk_jawt.c (classpath_jawt_get_depth): New
function.
* native/jni/classpath/classpath_jawt.h: Likewise.
* native/jawt/jawt.c (_Jv_GetDrawingSurfaceInfo): Added
initializer for surface_info_x11->depth.
2006-10-26 Tania Bento <tbento@redhat.com>
* java/awt/FileDialog.java:
(setFile): Changed if-clause condition.
2006-10-25 Francis Kung <fkung@redhat.com>
* include/gnu_java_nio_VMChannel.h,
* include/java_net_VMNetworkInterface.h,
* include/gnu_java_nio_EpollSelectorImpl.h,
* include/gnu_java_awt_peer_gtk_CairoGraphics2D.h,
* include/gnu_java_nio_FileChannelImpl.h,
* include/gnu_java_nio_KqueueSelectorImpl.h,
* include/gnu_java_nio_VMPipe.h,
* include/gnu_java_net_VMPlainSocketImpl.h: Regenerated.
2006-10-25 Tania Bento <tbento@redhat.com>
* java/awt/Dialog.java: Created new private variable
next_dialog_number.
(Dialog(Frame, String, boolean, GraphicsConfiguration)):
Set cursor to default cursor.
(Dialog(Dialog, STring, boolean, GraphicsConfiguration)):
Same.
(generateName): New method.
(getUniqueLong): New private method.
* java/awt/FileDialog.java: Created new private variable
next_file_dialog_number.
(setFile): If file == "", set it to null.
(generateName): New method.
(getUniqueLong): New private method.
2006-10-25 Robert Schuster <robertschuster@fsfe.org>
* java/net/MulticastSocket.java:
(setNetworkInterface): Rewritten.
2006-10-25 Robert Schuster <robertschuster@fsfe.org>
* native/jni/java-net/javanet.h: Added declaration for
_javanet_create_inetaddress.
* native/jni/java-net/javanet.c:
(_javanet_create_inetaddress): Removed static keyword.
2006-10-25 Robert Schuster <robertschuster@fsfe.org>
* gnu/java/net/PlainDatagramSocketImpl.java:
(connect): Use VMChannel instance for connect call.
(getTimeToLive): Call VMPlainSocketImpl.getTimeToLive.
(setTimeToLive): Call VMPlainSocketImpl.setTimeToLive.
(setOption): Handle multicast options.
(getOption): Handle multicast options.
* gnu/java/net/PlainSocketImpl.java:
(getTimeToLive): Call VMPlainSocketImpl.getTimeToLive.
(setTimeToLive): Call VMPlainSocketImpl.setTimeToLive.
(setOption): Filter unappropriate options.
(getOption): Filter unappropriate options.
(connect): Use given SocketAddress.
(close): Reset address and port.
(getInetAddress):
* include/Makefile.am: Removed all occurences of
gnu_java_net_VMPlainDatagramSocketImpl.h.
* include/gnu_java_net_VMPlainDatagramSocketImpl.h: Removed.
* native/jni/java-net/Makefile.am: Removed
gnu_java_net_VMPlainDatagramSocketImpl.c from sources.
* native/jni/java-net/gnu_java_net_VMPlainDatagramSocketImpl.c:
Removed.
as SocketException, declare to throw SocketException.
* native/jni/java-nio/gnu_java_nio_VMChannel.c: Added definitions
for SocketException and ConnectException.
(Java_gnu_java_nio_VMChannel_connect): Throw SocketException instead
of IOException.
(Java_gnu_java_nio_VMChannel_connect6): Throw SocketException instead
of IOException.
(Java_gnu_java_nio_VMChannel_accept): Rewritten.
(JCL_thread_interrupted): New function.
(initIDs): Added initialisation for isThreadInterrupted method id.
* native/jni/java-net/gnu_java_net_VMPlainSocketImpl.c: Added
CPNET_IP_TTL to java_sockopt enum.
(Java_gnu_java_net_VMPlainSocketImpl_setOption): Handle CPNET_IP_TTL
case, handle SO_LINGER case properly.
(Java_gnu_java_net_VMPlainSocketImpl_getOption): Handle CPNET_IP_TTL
case, handle SO_LINGER case properly.
(Java_gnu_java_net_VMPlainSocketImpl_getMulticastInterface): New
function.
(Java_gnu_java_net_VMPlainSocketImpl_setMulticastInterface): New
function.
(Java_gnu_java_net_VMPlainSocketImpl_setMulticastInterface6): New
function.
(Java_gnu_java_net_VMPlainSocketImpl_leave6): Fixed constant to be
IPV6_LEAVE_GROUP.
* vm/reference/gnu/java/net/VMPlainDatagramSocketImpl.java: Removed.
* vm/reference/gnu/java/nio/VMChannel.java:
(connect(int, byte[], int, int)): Declare to throw SocketException.
(connect6): Declare to throw SocketException.
(connect(InetSocketAddress, int)): Catch IOException and rethrow
(isThreadInterrupted): New method.
* vm/reference/gnu/java/net/VMPlainSocketImpl.java: Added CP_IP_TTL
field.
(setTimeToLive): New method.
(getTimeToLive): New method.
(setMulticastInterface(int, InetAddress)): New method.
(setMulticastInterface(int, int, Inet4Address): New method.
(setMulticastInterface6(int, int, Inet6Address): New method.
(setOptions): Handle SO_LINGER case.
(getOptions): Add missing SO_REUSEADDR case.
* java/net/Socket.java:
(Socket(InetAddress, int, InetAddress, int, boolean)): Close socket
when exception was thrown out of connect().
(setSoLinger): Replaced instantiations with valueOf calls, replaced
Boolean.FALSE with Integer.valueOf(-1).
* native/jni/native-lib/cpio.h: Added cpio_closeOnExec declaration.
* native/jni/native-lib/cpio.c: Added cpio_closeOnExec implementation.
* NEWS: Documented VM interface changes.
2006-10-25 Robert Schuster <robertschuster@fsfe.org>
* java/net/Inet6Address.java:
(isMulticastAddress): Fixed check.
2006-10-25 Robert Schuster <robertschuster@fsfe.org>
Fixes PR29576
* java/net/MulticastSocket.java:
(getNetworkInterface): Return a special NetworkInterface instance
if the socket's multicast interface is set to any.
2006-10-25 Robert Schuster <robertschuster@fsfe.org>
Fixes PR29576
* java/net/NetworkInterface.java:
(createAnyInterface): New method.
(equals): Added if-statement to handle case where netif.name is null.
* vm/reference/java/net/VMNetworkInterface.java:
(hashCode): Rewritten.
(VMNetworkInterface): New constructor.
2006-10-24 Thomas Fitzsimmons <fitzsim@redhat.com>
* tools/Makefile.am: Add ASM_JAR define to each tool's CFLAGS.
* tools/toolwrapper.c (main): Set bootclasspath, not classpath.
Add ASM_JAR to bootclasspath.
2006-10-24 Tania Bento <tbento@redhat.com>
* java/awt/Scrollbar.java:
(setLineIncrement): Removed unnecessary if-clause and if
lineIncrement == 0, then it should be set to 1, not 0.
(setPageIncrement): Removed unnecessary if-clause and if
pageIncrement == 0, then it should be set to 1, not 0.
(setValues): If visibleAmount <= 0, it should be set to 1, not 0.
If maximum <= minimum, maximum should be set to mininum + 1. The
actual value of maximum is maximum - visibleAmount, so I made
this change to the appropriate if-check. Remove the two unneccessary
if-clauses.
2006-10-23 Francis Kung <fkung@redhat.com>
* gnu/java/awt/peer/gtk/CairoGraphics2D.java
(cairoSetFont): New method.
(copy): Set font using setFont method.
(setFont): Call cairoSetFont.
(setup): Set font using setFont method.
* include/gnu_java_awt_peer_gtk_CairoGraphics2D.h: Added method.
* native/jni/gtk-peer/gnu_java_awt_peer_gtk_CairoGraphics2D.c
(install_font_peer): Removed.
(cairoDrawGlyphVector): Removed call to install_font_peer.
(cairoSetFont): New method.
2006-10-23 Thomas Fitzsimmons <fitzsim@redhat.com>
* gnu/java/awt/peer/NativeEventLoopRunningEvent.java: New file.
* gnu/java/awt/peer/gtk/GtkMainThread.java: Post
NativeEventLoopRunningEvent after GTK main loop start and stop.
* java/awt/EventQueue.java (isShutdown): Check nativeLoopRunning.
(getNextEvent): Set dispatchThread to null.
(postEventImpl): Set nativeLoopRunning.
(pop): Interrupt event dispatch thread.
* java/awt/Frame.java (noteFrame): Synchronize on weakFrames.
2006-10-22 Christian Thalinger <twisti@complang.tuwien.ac.at>
* native/jni/java-net/gnu_java_net_VMPlainSocketImpl.c (config-int.h):
Added include.
* native/jni/java-nio/gnu_java_nio_VMChannel.c (config-int.h):
Likewise.
2006-10-23 Marco Trudel <mtrudel@gmx.ch>
* gnu/javax/crypto/pad/PKCS7.java (unpad): Removed an unnecessary test.
* javax/crypto/CipherOutputStream.java: Re-implemented.
* gnu/javax/crypto/jce/cipher/CipherAdapter.java
(engineUpdate(byte[], int, int)): Always keep data for unpadding in padded
decryption mode and check if it is a complete block.
(engineUpdate(byte[], int, int, byte[], int)): Likewise.
(engineDoFinal(byte[], int, int)): In padded decryption mode, take
partially processed data into account.
2006-10-21 Tom Tromey <tromey@redhat.com>
PR classpath/29086:
* java/util/AbstractCollection.java (toArray): Removed cast.
2006-10-20 Tom Tromey <tromey@redhat.com>
* tools/gnu/classpath/tools/javah/JniIncludePrinter.java (printClass):
Don't use mangled class name for .h file.
* tools/gnu/classpath/tools/javah/JniStubPrinter.java (printClass):
Don't use mangled class name for .c file.
* tools/gnu/classpath/tools/javah/CniPrintStream.java (writeClass):
Handle classes from the default package.
2006-10-20 Francis Kung <fkung@redhat.com>
* include/gnu_java_awt_peer_gtk_CairoGraphics2D.h: Added missing constants.
2006-10-19 Francis Kung <fkung@redhat.com>
PR 29510
* java/awt/image/BufferedImage.java
(constructor): Updated some properties of default image types.
* gnu/java/awt/peer/gtk/BufferedImageGraphics.java
(argb32): Updated field to match default in BufferedImage.
2006-10-18 Roman Kennke <kennke@aicas.com>
PR 29419
* gnu/java/awt/peer/gtk/CairoGraphics2D.java
(copyArea): Changed size comparison to return when size == 0
too.
* javax/swing/JViewport.java
(paintBackingStore): Check width and height of blitted area
and only do blit if its > 0.
(paintBlit): Check width and height of blitted area
and only do blit if its > 0.
2006-10-18 Roman Kennke <kennke@aicas.com>
PR 27091
* gnu/java/awt/peer/gtk/GtkFramePeer.java
(maximize): New native method.
(unmaximize): New native method.
(iconify): New native method.
(deiconify): New native method.
(getState): Implemented.
(setState): Implemented.
* gnu/java/awt/peer/gtk/GtkWindowPeer.java
(oldState): Rename to windowState and made protected, so that
the FramePeer can access it.
(postWindowEvent): Handle state change events more gently and
correctly.
* java/awt/Frame.java
(getState): Fetch state from getExtendedState().
(setExtendedState): Update the peer. Check if the state change
is actually supported.
(getExtendedState): Update the state from the peer.
* native/jni/gtk-peer/gnu_java_awt_peer_gtk_GtkFramePeer.c
(maximize): New method.
(unmaximize): New method.
(iconify): New method.
(deiconify): New method.
* native/jni/gtk-peer/gnu_java_awt_peer_gtk_GtkWindowPeer.c
(AWT_FRAME_NORMAL): New macro.
(AWT_FRAME_ICONIFIED): New macro.
(AWT_FRAME_MAXIMIZED_BOTH): New macro.
(window_window_state_cb): Rewritten to handle window state changes
more gently (mostly on the java side of the world).
* include/gnu_java_awt_peer_gtk_GtkFramePeer.h: Regenerated.
2006-10-18 Tania Bento <tbento@redhat.com>
* java/awt/CardLayout.java:
(maximumLayoutSize): Return a new Dimension with Integer.MAX_VALUE as
its height and width if Container passed as argument is null.
(gotoComponent): Consider the case where the component is not visible.
2006-10-18 Thomas Fitzsimmons <fitzsim@redhat.com>
* resource/gnu/classpath/tools/appletviewer/MessagesBundle.properties:
Rename file...
* resource/gnu/classpath/tools/appletviewer/messages.properties:
New file.
* resource/gnu/classpath/tools/appletviewer/MessagesBundle_de.properties:
Remove file.
* tools/gnu/classpath/tools/appletviewer/AppletWarning.java:
Remove file.
* tools/gnu/classpath/tools/appletviewer/ConsoleDialog.java:
Likewise.
* tools/gnu/classpath/tools/appletviewer/Messages.java: New file.
* tools/gnu/classpath/tools/appletviewer/CommonAppletStub.java:
Retrieve user-visible strings through Messages.getString.
* tools/gnu/classpath/tools/appletviewer/Main.java: Likewise.
* tools/gnu/classpath/tools/appletviewer/PluginAppletContext.java:
Likewise.
* tools/gnu/classpath/tools/appletviewer/PluginAppletViewer.java:
Likewise.
* tools/gnu/classpath/tools/appletviewer/PluginAppletWindow.java:
Likewise.
* tools/gnu/classpath/tools/appletviewer/StandaloneAppletContext.java:
Likewise.
* tools/gnu/classpath/tools/appletviewer/StandaloneAppletViewer.java:
Likewise.
* tools/gnu/classpath/tools/appletviewer/StandaloneAppletWindow.java:
Likewise.
2006-10-18 Roman Kennke <kennke@aicas.com>
* native/jni/gtk-peer/gnu_java_awt_peer_gtk_GtkWindowPeer.c
(AWT_WINDOW_OPENED): Remove unnecessary macro.
(window_show_cb): Removed unnecessary function.
(connect_signals): Don't connect signal for show. *
gnu/java/awt/peer/gtk/GtkWindowPeer.java
(hasBeenShown): Removed. This is handled in java.awt.Window.
(postWindowEvent): Removed handling of WINDOW_OPENED. This is done
in java.awt.Window. * java/awt/Window.java
(dispose): Post WINDOW_CLOSED here, not WINDOW_OPENED.
2006-10-18 Francis Kung <fkung@redhat.com>
* gnu/java/awt/peer/gtk/CairoSurfaceGraphics.java
(drawRenderedImage): New method.
(drawImage): New method.
(CairoSurfaceGraphics): Set clip.
(createBuffer): New method.
(getBufferCM): New method.
(drawComposite): New method.
(fill): New method.
(getNativeCM): New method.
(drawGlyphVector): New method.
(draw): New method.
* gnu/java/awt/peer/gtk/VolatileImageGraphics.java
(getNativeCM): Reflect renamed field.
* gnu/java/awt/peer/gtk/CairoSurface.java
(cairoCM_pre): Renamed from cairoColorModel.
(cairoColorModel): Set premultiplication to false.
2006-10-18 Roman Kennke <kennke@aicas.com>
PR 28769
* javax/swing/JScrollPane.java
(viewportBorder): Made field private.
(wheelScrollingEnabled): Made field private.
(JScrollPane): Enabled wheel scrolling by default.
* javax/swing/JTree.java
(TreeSelectionRedirector.valueChanged): Don't repaint anything
here.
(getScrollableUnitIncrement): Fixed thinko.
* javax/swing/plaf/basic/BasicScrollBarUI.java
(static scrollByBlock): New static method to avoid code duplication
for the BasicScrollPane wheel scrolling.
(static scrollByUnits): New static method to avoid code duplication
for the BasicScrollPane wheel scrolling.
(scrollByBlock): Delegate to static helper method.
(scrollByUnit): Delegate to static helper method.
* javax/swing/plaf/basic/BasicScrollPaneUI.java
(MouseWheelHandler.mouseWheelMoved): Delegate to BasicScrollBarUI
static helper methods to avoid code duplication.
(MouseWheelHandler.bounds): Removed.
(MouseWheelHandler.getValue): Removed.
(MouseWheelHandler.scroll): Removed.
2006-10-18 Roman Kennke <kennke@aicas.com>
PR 29502
* gnu/java/awt/peer/gtk/GtkWindowPeer.java
(updateComponent): Don't override this here.
* java/awt/Window.java
(addWindowListener): Ignore null listener. Set newEventsOnly flag.
(addWindowFocusListener): Ignore null listener. Set newEventsOnly
flag.
(addWindowStateListener): Ignore null listener. Set newEventsOnly
flag.
2006-10-18 Roman Kennke <kennke@aicas.com>
* javax/swing/JEditorPane.java
(getStream): Try to detect and set the content type of the
connection stream.
2006-10-18 Roman Kennke <kennke@aicas.com>
* javax/swing/RepaintManager.java
(RepaintWorkerEvent): Pass full set of params to super.
(RepaintWorker.dispatch): Overridden to allow apps to call this
via reflection.
(addDirtyRegion): Synchronize a little more to protect the
dirtyComponents field and avoid NPEs.
(invokeLater): Pass full set of params to RepaintWorkerEvent
constructor.
2006-10-18 Roman Kennke <kennke@aicas.com>
* javax/swing/JEditorPane.java
(page): Removed field. The page is now stored in the correct
document property.
(getPage): Fetch page URL from document property.
(read): Set the document for this JEditorPane. Use a Reader
for reading in the document.
(setPage): Call getStream() to get the stream from which we read.
Fire property change. Store page in document property.
2006-10-18 Roman Kennke <kennke@aicas.com>
* java/awt/datatransfer/DataFlavor.java
(DataFlavor(String)): Removed check for space in mime string.
2006-10-18 Roman Kennke <kennke@aicas.com>
* java/awt/Container.java
(validateTree): Call ContainerPeer.begin|endLayout() rather than
begin|endValidate().
(validate): Call ContainerPeer.begin|endValidate() here.
Added some local vars to avoid NPEs.
2006-10-18 Roman Kennke <kennke@aicas.com>
* native/target/.cvsignore
* native/target/Linux/.cvsignore
* native/target/generic/.cvsignore:
Added to let CVS ignore the generated Makefile and Makefile.in
files.
2006-10-18 Roman Kennke <kennke@aicas.com>
PR 29448
* java/awt/Window.java
(eventTypeEnabled): Overridden to handle WindowEvents.
(processEvent): Switch between processWindowEvent(),
processWindowFocusEvent() and processWindowStateEvent() here,
rather than simply calling processWindowEvent().
(processWindowEvent): Only dispatch event to listener, do not
switch to processWindowFocusEvent() or processWindowStateEvent()
here.
* javax/swing/JFrame.java
(frameInit): Explicitly enable window and key events here.
(processWindowEvent): Throw out some unnecessary code.
* javax/swing/JWindow.java
(windowInit): Explicitly enable key events here.
* javax/swing/JDialog.java
(close_action): Renamed to closeAction.
(dialogInit): Explicitly enable window events here.
(getDefaultCloseOperation): Renamed close_action to closeAction.
(processWindowEvent): Throw out some unnecessary code.
Renamed close_action to closeAction.
(setDefaultCloseOperation): Renamed close_action to closeAction.
2006-10-17 Thomas Fitzsimmons <fitzsim@redhat.com>
* gnu/java/awt/peer/gtk/GtkMainThread.java: Introduce running flag
to track native GTK event loop status.
* native/jni/gtk-peer/gnu_java_awt_peer_gtk_GtkToolkit.c: Set and
clear running flag when native GTK event loop starts and stops.
2006-10-17 Roman Kennke <kennke@aicas.com>
* javax/swing/TransferHandler.java
(exportToClipboard): Implemented.
2006-10-17 Francis Kung <fkung@redhat.com>
* gnu/java/awt/peer/gtk/BufferedImageGraphics.java (draw): Extend updated
region to account for pixel-shifting.
* gnu/java/awt/peer/gtk/CairoGraphics2D.java (shiftDrawCalls): Made
proctected.
2006-10-17 Francis Kung <fkung@redhat.com>
PR 29450
* gnu/java/awt/peer/gtk/FreetypeGlyphVector.java
(getLogicalBounds): Translate individual glyphs before appending bounds.
(getOutline): Translate individual glyphs before appending outline.
2006-10-17 Cameron McCormack <cam@mcc.id.au>
PR 29014
* java/awt/font/TextLayout.java
(bidi): New field.
(constructor): Store bidi in field.
(getCharacterLevel): Implemented.
2006-10-17 Roman Kennke <kennke@aicas.com>
* javax/swing/TransferHandler.java
(PropertyTransferable): New inner class. Handles transfers
from component properties.
(createTransferable): Implemented.
2006-10-17 Francis Kung <fkung@redhat.com>
* gnu/java/awt/peer/gtk/BufferedImageGraphics.java
(drawComposite): Ensure composite does not extend beyond buffer
bounds.
* java/awt/image/Raster.java
(createChild): Ensure child does not extend beyond parent's
bounds.
* java/awt/image/WritableRaster.java
(createWritableChild): Ensure child does not extend beyond
parent's bounds.
2006-10-17 Jeroen Frijters <jeroen@frijters.net>
* native/jni/classpath/jcl.c
(JNI_OnLoad): Corrected calling convention.
2006-10-16 Roman Kennke <kennke@aicas.com>
* javax/swing/TransferHandler.java
(propertyName): New field.
(TransferHandler(String)): Store property name in field.
(canImport): Implemented stub method.
(exportDone): This is a no-op. Removed not-implemented mark.
(getPropertyDataFlavor): New helper method.
(getPropertyDescriptor): New helper method.
2006-10-16 Roman Kennke <kennke@aicas.com>
* javax/swing/AbstractButton.java
(AccessibleJButton.getAfterIndex): Implemented.
(AccessibleJButton.getAtIndex): Implemented.
(AccessibleJButton.getBeforeIndex): Implemented.
(AccessibleJButton.getCharacterAttribute): Completed incomplete
method implementation.
2006-10-16 Roman Kennke <kennke@aicas.com>
* javax/swing/JLabel.java
(AccessibleJLabel.getIndexAtPoint): Implemented.
(AccessibleJLabel.getCharacterBounds): Implemented.
(AccessibleJLabel.getTextRectangle): New helper method.
2006-10-16 Roman Kennke <kennke@aicas.com>
* javax/swing/filechooser/FileSystemView.java
(getFileSystemView): Mark as implemented.
2006-10-14 Roman Kennke <kennke@aicas.com>
PR 27957
* javax/swing/JComponent.java
(toolTipText): Removed field.
(createToolTip): Don't set tooltip text here. This is done
in the ToolTipManager.
(setToolTipText): Set tooltip text as client property.
(getToolTipText): Get tooltip text from client property.
* javax/swing/ToolTipManager.java
(currentComponent): Made field non-static and of type JComponent.
(currentPoint): Made field non-static.
(currentTip): Made field non-static.
(popup): Made field non-static.
(toolTipText): New field. Stores the current tooltip text.
(checkTipUpdate): New helper method. Checks for updates of
the tooltip text and triggers the appropriate actions.
(getContentPaneDeepestComponent): Removed unneeded casts.
(mouseEntered): Removed unneeded cast. Initially fetch tooltip
text from component.
(mouseMoved): Check for tooltip text updates.
(showTip): Set tooltip text from current setting.
2006-10-14 Roman Kennke <kennke@aicas.com>
PR 27956
* javax/swing/JSlider.java
(setPaintLabels): Call setLabelTable() instead of setting
the field directly. This also updates the label's size.
2006-10-13 Tom Tromey <tromey@redhat.com>
* tools/gnu/classpath/tools/javah/ClassWrapper.java (toString): New
method.
2006-10-13 Tania Bento <tbento@redhat.com>
* java/awt/ScrollPane.java
(setLayout): Should throw AWTError whenever called.
2006-10-13 Roman Kennke <kennke@aicas.com>
PR 29448
* java/awt/Component.java
(dispatchEventImpl): Special handle ComponentReshapeEvents to
update the AWT's knowledge about a component's size.
* gnu/java/awt/ComponentReshapeEvent.java: New class.
* gnu/java/awt/peer/gtk/GtkWindowPeer.java
(postConfigureEvent): Directly dispatch a ComponentReshapeEvent
to update the AWT's knowledge about the component bounds.
2006-10-13 Tania Bento <tbento@redhat.com>
* java/awt/ScrollPaneAdjustable.java
(setMaximum): Should throw AWTError whenever called.
(setMinimum): Same.
(setVisibleAmount): Same.
2006-10-13 Tania Bento <tbento@redhat.com>
* java/awt/ScrollPane.java
(addImpl): When calling super, index should be value passed,
not -1.
(getIsValidString): New helper method for paramString().
(getScrollbarDisplayString): New helper method for paramString().
(paramString): Changed format of outputted string.
2006-10-13 David Gilbert <david.gilbert@object-refinery.com>
* javax/swing/tree/DefaultTreeSelectionModel.java
(clone): Added cast to TreePath[].
2006-10-13 Roman Kennke <kennke@aicas.com>
PR 27780
* javax/swing/JMenuItem.java
(isDragging): New field. Indicates if we are inside a mouse
drag.
(createMenuDragMouseEvent): Removed unneeded method.
(processMenuDragMouseEvent): Track if we are dragging.
(processMouseEvent): Simply forward to processMenuDragMouseEvent().
* javax/swing/plaf/basic/BasicMenuItemUI.java
(MenuDragMouseHandler.menuDragMouseDragged): Fetch
MenuSelectionManager from event.
(MenuDragMouseHandler.menuDragMouseEntered): Fetch
MenuSelectionManager from event.
(MenuDragMouseHandler.menuDragMouseExited): Fetch
MenuSelectionManager from event.
(MenuDragMouseHandler.menuDragMouseReleased): Click on mouse
release inside menu item, otherwise clear selection.
(MenuInputHandler.mouseReleased): Avoid multiple calls to getX()
and getY(). Call doClick() rather than the doClick() of JMenuItem.
(doClick): Perform an immediate click.
2006-10-13 Thomas Fitzsimmons <fitzsim@redhat.com>
* javax/swing/DefaultComboBoxModel.java (setSelectedItem): Simply
return if object is not in the list.
2006-10-12 Andrew Haley <aph@redhat.com>
* java/lang/InheritableThreadLocal.java: Rename NULL to sentinel.
* java/lang/ThreadLocal.java: Likewise.
2006-10-12 Roman Kennke <kennke@aicas.com>
PR 27956
* javax/swing/JSlider.java
(LabelUIResource): New inner class. A JLabel as UIResource.
(createStandardLabels): Don't set label bounds here.
Create LabelUIResource instances.
(setInverted): Repaint.
(setLabelTable): Update the label UIs. Revalidate and repaint.
(setMajorTickSpacing): Update the label table. Repaint if
necessary.
(setMinorTickSpacing): Repaint if necessary.
(setOrientation): Revalidate.
(setPaintLabels): Revalidate and repaint.
(setPaintTicks): Revalidate and repaint.
(setPaintTrack): Repaint.
(updateLabelUIs): Set the label sizes here.
(updateUI): Also update the label UIs.
* javax/swing/plaf/basic/BasicSliderUI.java
(ComponentHandler.componentResized): Don't revalidate.
(FocusHandler.focusGained): Don't set field.
(FocusHandler.focusLost): Don't set field.
(PropertyChangeHandler.propertyChange): Calculate geometry
and repaint for a couple more properties.
(TrackListener.mouseReleased): Repaint.
(hasFocus): Removed unneeded field.
(calculateContentRect): No need to check for content size < 0.
(calculateFocusRect): Use insets from insetCache.
(calculateLabelRect): Fixed calculation of label rectangle.
It is relative to the tick rectangle, rather than the content
rectangle.
(calculateTickRect): Small restructuring to avoid unnecessary
comparisons.
(calculateTrackRect): Fixed calculation of track rectangle.
(getMaximumSize): Fixed. Fetch preferred size and set
the height of width to Short.MAX_VALUE.
(getMinimumHorizontalSize): Fixed to return UIManager value.
(getMinimumVerticalSize): Fixed to return UIManager value.
(getPreferredHorizontalSize): Fixed to return UIManager value.
(getPreferredVerticalSize): Fixed to return UIManager value.
(getMinimumSize): Fixed to return the UIManager value plus
insets added.
(getPreferredSize): Fixed to return the UIManager value plus
insets added.
(getWidthOfWidestLabel): Restructured for more cleanness and
efficiency.
(hitClip): New helper method.
(paintHorizontalLabel): Replaced by more efficient and clean
implementation.
(paintVerticalLabel): Replaced by more efficient and clean
implementation.
(paintLabels): Replaced by more efficient and clean
implementation.
(paint): Check if rectangles intersect with clip for maximum
efficiency.
(recalculateIfInsetsChanged): Fixed. This method should
recalculate only when the insets changed.
(setThumbLocation): Repaint with a reasonable clip.
(xPositionForValue): Made more clean and efficient.
(yPositionForValue): Made more clean and efficient.
* javax/swing/plaf/basic/BasicLookAndFeel.java
(initComponenDefaults): Added Slider.horizontalSize,
Slider.verticalSize, Slider.minimumHorizontalSize and
Slider.minimumVerticalSize properties.
* javax/swing/plaf/metal/MetalSliderUI.java
(getTickLength): Add 1 for horizontal sliders and 3 for
vertical sliders.
(paintMajorTickForHorizSlider): Fix colors. Fix line locations.
(paintMinorTickForHorizSlider): Fix colors. Fix line locations.
(paintMajorTickForVertSlider): Fix colors. Fix line locations.
(paintMinorTickForVertSlider): Fix colors. Fix line locations.
2006-10-12 Roman Kennke <kennke@aicas.com>
PR 28696
* javax/swing/text/FlowView.java
(FlowStrategy.layout): Preserve logical views from getting lost.
(FlowStrategy.layoutRow): Fix line breaking.
(FlowStrategy.adjustRow): Fix line breaking.
(FlowStrategy.changedUpdate): Mark layout invalid, or repaint.
(FlowStrategy.insertUpdate): Mark layout invalid, or repaint.
(FlowStrategy.removeUpdate): Mark layout invalid, or repaint.
(createView): Don't check index.
(contains): New helper method.
(reparent): New helper method.
(layoutDirty): Removed unneeded field.
(FlowView): Removed layoutDirty field init.
(changedUpdate): Removed layoutDirty handling.
(insertUpdate): Removed layoutDirty handling.
(removeUpdate): Removed layoutDirty handling.
(layout): Use isLayoutValid() rather than the layoutDirty field.
* javax/swing/text/GlyphView.java
(startOffset): Removed.
(endOffset): Removed.
(offset): New field.
(length): New field.
(GlyphView): Initialize new fields. Removed old fields.
(createFragment): Create fragment with new relative offsets.
(getEndOffset): Work with new relative offsets.
(getStartOffset): Work with new relative offsets.
* javax/swing/text/ParagraphView.java
(Row.getStartOffset): Overidden to determine the minimum start
offset from the children.
(Row.getEndOffset): Overidden to determine the maximum end
offset from the children.
* javax/swing/text/html/BRView.java
Make subclass of InlineView.
(getBreakWeight): Fall back to super for Y_AXIS.
2006-10-12 Roman Kennke <kennke@aicas.com>
PR 28733
* javax/swing/plaf/basic/BasicTabbedPaneUI.java
(TabPaneLayout.normalizeTabRuns): Replaced algorithm with
one that avoids faulty state that could cause division by zero
error.
2006-10-12 Roman Kennke <kennke@aicas.com>
PR 28057
* javax/swing/plaf/basic/BasicRadioButtonUI.java
(paint): Determine correct icon. Added support for HTML label.
Added small optimizations.
(getPreferredSize): Only consider the buttons iconTextGap, and
only when the text is not null.
* javax/swing/plaf/basic/BasicLookAndFeel.java
(initComponentDefaults): Fetch border for RadioButton from
BasicButtons.getRadioButtonBorder().
* javax/swing/plaf/metal/MetalRadioButtonUI.java
(paintFocus): Paint focus rectangle one pixel smaller.
2006-10-12 Roman Kennke <kennke@aicas.com>
PR 29418
* javax/swing/tree/AbstractLayoutCache.java
(getNodeDimensions): Don't throw InternalError, but instead
return null.
(getRowsForPaths): Check for null here.
(isFixedRowHeight): Returns true when rowHeight > 0.
(setSelectionModel): Set this as the row mapper for the selection
model.
* javax/swing/tree/VariableHeightLayoutCache.java
(NodeRecord.NodeRecord): Initialize bounds field.
(getBounds): Simply return the bounds field.
(row2Node): Changed to be an ArrayList.
(RECT_CACHE): New field. Caches a Rectangle instance.
(countRows): Added y parameter and return value. The method
now takes the current y position as parameter, and returns
the updated y position.
(getBounds): Fixed to return the correct bounds.
(getPathForRow): Replaced by fixed implementation.
(getPreferredHeight): Replaced by more efficient implementation.
This simply fetches the last node record and returns its lower
bounds.
(getPreferredWidth): Added null check.
(getVisibleChildCount): Added null check.
(getVisiblePathsFrom): Added null check.
(setExpandedState): Also expand the ancestors of the node
to be expanded.
(setModel): Set dirty flag rather than updating for real.
(setNodeDimensions): Overridden to set the dirty flag.
(setRowHeight): Overridden to set the dirty flag.
(update): Don't special case the root here, this is done now
in countRows().
2006-10-12 Roman Kennke <kennke@aicas.com>
* javax/swing/JComponent.java
(paintImmediately2): Added support for components which need
to force themselves as paint root.
(isPaintRoot): New method. This should be overridden by components
which need to force themselves as paint root.
* javax/swing/JViewport.java
(isPaintRoot): Overridden to force the viewport as paint root
when running in backingstore mode.
2006-10-12 Roman Kennke <kennke@aicas.com>
* javax/swing/tree/DefaultTreeSelectionModel.java
(PathPlaceHolder): New inner class. Wraps a path and its status
wrt to its newness.
(selectedPaths): New field. A supporting datastructure.
(tmpPaths): New field. A supporting datastructure.
(DefaultTreeSelectionModel): Initialize the list selection model,
the leadIndex and the supporting datastructures.
(addPropertyChangeListener): Create changeSupport object lazily.
(addSelectionPaths): Mostly rewritten to handle the different
selection modes correctly.
(addSelectionPath): Delegate to addSelectionPaths().
(arePathsContiguous): Replaced with more efficient implementation
using BitSet
(canPathBeAdded): Removed unneeded method.
(canPathsBeAdded): Replaced with more efficient implementation.
(clearSelection): Create correct event. Clear the fields correctly,
including the supporting datastructures.
(clone): Also clone the supporting datastructures and nullify
changeSupport field.
(getMaxSelectionRow): Delegate to list selection model.
(getMinSelectionRow): Delegate to list selection model.
(getPath): Removed unneeded method.
(getPropertyChangeListeners): Handle null changeSupport field
correctly.
(getRow): Handle null rowMapper field correctly.
(getSelectionRows): Handle invisible rows correctly.
(insureRowContinuity): Replaced by more efficient and correct
implementation.
(isRowSelected): Delegate to list selection model.
(notifyPathChange): Made more efficient by use of PathPlaceHolder
class.
(removePropertyChangeListener): Handle null changeSupport field.
(removeSelectionPaths): Mostly rewritten to handle the different
selection modes correctly.
(removeSelectionPath): Delegate to removeSelectionPaths().
(resetRowSelection): Handle list selection model.
(selectOne): Removed unneeded field.
(setRowMapper): Reset the row selection.
(setSelectionMode): Check for invalid mode and set to
DISCONTINUOUS_TREE_SELECTION in this case. Fire property change.
(setSelectionPaths): Mostly rewritten to handle the different
selection modes correctly.
(setSelectionPath): Delegate to setSelectionPaths().
(updateLeadIndex): Made more efficient.
2006-10-11 Francis Kung <fkung@redhat.com>
* gnu/java/awt/peer/gtk/BufferedImageGraphics.java
(buffer, locked): New fields.
(constructors): Initialize new variables.
(createBuffer): New method.
(draw): Implement custom composites.
(drawComposite): New method.
(drawGlyphVector): Implement custom composites.
(drawImage): Implement custom composites.
(drawRenderedImage): Implement custom composites.
(fill): Implement custom composites.
(getBufferCM): New method.
(getNativeCM): New method.
(updateBufferedImage): Fix premultiplication.
* gnu/java/awt/peer/gtk/CairoGraphics2D.java
(copy): Copy composite.
(drawImage): Set background properly.
(getBufferCM): New method.
(setComposite): Reset alpha composite when using custom composite.
* gnu/java/awt/peer/gtk/CairoSurface.java
(cairoColorModel): New field.
(nativeColorModel): Renamed.
(constructor): Use renamed createCairoSampleModel method.
(createCairoSampleModel): New method.
(createNativeSampleModel): Renamed.
(getBufferedImage): Use renamed cairoColorModel field.
* gnu/java/awt/peer/gtk/GtkVolatileImage.java
(gdkColorModel): New field.
(createGdkSampleModel): New method.
(getPixels): Added comments.
(getSnapshot): Use GDK colour and sample models.
* gnu/java/awt/peer/gtk/VolatileImageGraphics.java
(createBuffer): Use GDK colour and sample models.
(getNativeCM): Added comments.
* java/awt/image/BufferedImage.java
(constructor): Set premultiplied flag properly.
2006-10-11 Edwin Steiner <edwin.steiner@gmx.net>
* native/jni/java-nio/gnu_java_nio_VMChannel.c
(Java_gnu_java_nio_VMChannel_lock): Special case Long.MAX_VALUE.
2006-10-10 Francis Kung <fkung@redhat.com>
PR 29372
* gnu/java/awt/peer/gtk/CairoGraphics2D.java
(createPath): Added isDraw parameter.
(draw): Updated createPath call.
(fill): Updated createPath call.
2006-10-10 Tom Tromey <tromey@redhat.com>
PR classpath/29362:
* gnu/xml/transform/TransformerImpl.java (transform): Only strip if
there is a stylesheet.
2006-10-10 Roman Kennke <kennke@aicas.com>
* java/awt/Toolkit.java
(getDefaultTookit): Make method synchronized to avoid
accidentally creating more than one toolkits from different
threads.
2006-10-10 Roman Kennke <kennke@aicas.com>
* java/awt/LightweightDispatcher.java
(handleMouseEvent): Redispatch MOUSE_WHEEL events too.
(redispatch): Transfer the button to the redispatched event.
2006-10-10 Francis Kung <fkung@redhat.com>
* java/awt/image/ColorModel.java (coerceData): Implemented.
2006-10-09 Christian Elias Naur <elias@oddlabs.com>
* vm/reference/java/lang/VMClassLoader.java:
(defineClassWithTransformers): Use proper class name format.
2006-10-09 Gary Benson <gbenson@redhat.com>
* java/net/ServerSocket.java
(implAccept): Add security check.
(accept): Close socket if security check fails.
(setSocketFactory): Add security check and already-set check.
2006-10-09 Roman Kennke <kennke@aicas.com>
PR 29325
* javax/swing/JSplitPane.java
(dividerLocation): New field. Stores the divider location.
(JSplitPane): Initialize dividerLocation with -1.
(addImpl): Removed unneeded local variables.
(getDividerLocation): Manage dividerLocation in the JSplitPane
class, not in the UI.
(setDividerLocation): Manage dividerLocation in the JSplitPane
class, not in the UI. Only call the UI method for notification.
* javax/swing/plaf/basic/BasicSplitPaneUI.java
(BasicHorizontalLayoutManager.layoutContainer): Fetch divider
location from the JSplitPane. Honour the minimumSize, but only
if the divider location hasn't been set explicitly.
(BasicHorizontalLayoutManager.minimumLayoutSize): Removed unneeded
statement.
(BasicHorizontalLayoutManager.preferredLayoutSize): Removed unneeded
statement.
(BasicHorizontalLayoutManager.resetToPreferredSizes): Don't touch
the divider location.
(dividerLocationSet): New field.
(dividerLocation): Removed field.
(createActionMap): Fetch and set divider location on the JSplitPane.
(getDividerLocation): Return the actual real divider location.
(getMaximumSize): Removed unneeded cast.
(getPreferredSize): Removed unneeded cast.
(getMinimumSize): Removed unneeded cast.
(installUI): Initialize dividerLocationSet with false.
(uninstallUI): Initialize dividerLocationSet with false.
(setDividerLocation): Set dividerLocationSet to true.
2006-10-09 Robert Schuster <robertschuster@fsfe.org>
* native/jni/java-net/gnu_java_net/VMPlainSocketImpl.c:
(Java_gnu_java_net_VMPlainSocketImpl_joinGroup): Properly
convert jstring into char *.
(Java_gnu_java_net_VMPlainSocketImpl_joinGroup6): Dito.
(Java_gnu_java_net_VMPlainSocketImpl_leaveGroup): Dito.
(Java_gnu_java_net_VMPlainSocketImpl_leaveGroup6): Dito.
(getif_address): Added const modifier to second argument.
(getif_index): Dito.
2006-10-09 Roman Kennke <kennke@aicas.com>
* javax/swing/JTree.java
(isSelected): Added API docs.
2006-10-09 Roman Kennke <kennke@aicas.com>
* javax/swing/JTree.java
(isSelected): Delegate to the selection model directly.
2006-10-09 Robert Schuster <robertschuster@fsfe.org>
* gnu/java/nio/KqueueSelectorImpl.java: Renamed field
sizeof_struct_kevent to _sizeof_struct_kevent.
2006-10-07 Audrius Meskauskas <AudriusA@Bioinformatics.org>
* tools/gnu/classpath/tools/rmic/RMICException.java:
javadoc corrections, reformatted.
2006-10-07 Christian Elias Naur <elias@oddlabs.com>
* gnu/java/lang/InstrumentationImpl.java:
Made constructor package visible.
2006-10-05 Gary Benson <gbenson@redhat.com>
* java/net/Socket.java
(Socket): Perform security check on address not hostname.
2006-10-04 Roman Kennke <kennke@aicas.com>
* javax/swing/tree/VariableHeightLayoutCache.java
(getBounds): When rect is null, create a new Rectangle.
2006-10-04 Christian Thalinger <twisti@complang.tuwien.ac.at>
* native/jni/java-nio/javanio.c (cpnio_read, cpnio_readv)
(cpnio_write, cpnio_writev, cpnio_socket, cpnio_connect)
(cpnio_accept, cpnio_sendto, cpnio_recvfrom, cpnio_fcntl)
(cpnio_select): Use CPNIO_EXPORT.
* native/jni/java-nio/javanio.h (CPNIO_EXPORT): Define to static
inline instead of extern inline, as newer GCCs changed their
behavior.
2006-10-04 Gary Benson <gbenson@redhat.com>
* java/net/InetAddress.java: Updated javadoc.
(<clinit>, getByLiteral): Throw InternalError on failures.
2006-10-03 Francis Kung <fkung@redhat.com>
* gnu/java/awt/peer/gtk/CairoGraphics2D.java
(compCtx): New field for composite context.
(copy): Copy composite.
(dispose): Dispose of composite context.
(getNativeCM): New method.
(setComposite): Discard old composite context and set up new context.
(setRenderingHints): Update composite context.
* gnu/java/awt/peer/gtk/CairoSurface.java
(nativeColorModel): New field, renamed from nativeModel.
(nativeModel): Renamed field to nativeColorModel.
(CairoSurface(int, int)): Call new method to create sample model.
(createNativeSampleModel): New method.
(getBufferedImage): Updated variable name.
* gnu/java/awt/peer/gtk/VolatileImageGraphics.java
(buffer): New field.
(createBuffer): New method.
(draw): New method.
(drawComposite): New method.
(drawGlyphVector): New method.
(drawImage(Image, AffineTransform, Color, ImageObserver)): New method.
(drawImage(Image, int, int, ImageObserver)): Check composite.
(drawImage(Image, int, int, int, int, ImageObserver)): Check composite.
(fill): New method.
(getNativeCM): New method.
* native/jni/gtk-peer/gnu_java_awt_peer_gtk_GtkVolatileImage.c
(Java_gnu_java_awt_peer_gtk_GtkVolatileImage_nativeGetPixels): Use
intermediary pixbuf to grab on-screen pixels.
2006-10-03 Tom Tromey <tromey@redhat.com>
PR classpath/28987:
* java/util/IdentityHashMap.java (tombstone): Removed.
(emptyslot): Removed.
(nullslot): New field.
(IdentityHashMap): Don't fill array.
(clear): Fill with null.
(hash): Now final. Use linear probing.
(xform): New method.
(unxform): Likewise.
(removeAtIndex): Likewise.
(clone, containsKey, containsValue, entrySet, get, hashCode,
keySet, put, remove, values): Updated.
(IdentityIterator, IdentityEntry): Likewise.
(writeObject): Likewise.
2006-10-03 Tom Tromey <tromey@redhat.com>
* java/util/Locale.java (hashcode): Updated javadoc.
(hashcodeCache): Removed.
(Locale): Updated.
(hashCode): Updated.
(writeObject): New method.
(readObject): Updated.
2006-10-02 Francis Kung <fkung@redhat.com>
* gnu/java/awt/peer/gtk/BufferedImageGraphics.java
(updateBufferedImage): Recognise that raw data is alpha-premultiplied.
* gnu/java/awt/peer/gtk/CairoGraphics2D.java
(clearRect): Paint background colour with AlphaComposite.SRC rule.
(drawImage(Image, AffineTransform, Color, ImageObserver)): Alpha
pre-multiply data before drawing.
(fillRect): Draw using regular fill() method.
(setComposite): Handle null case with AlphaComposite.SrcOver default.
* gnu/java/awt/peer/gtk/CairoSurface.java
(nativeModel): Use correct value for alpha premultiplication (true).
* java/awt/image/BufferedImage.java
(coerceData): Update isPremultiplied field.
2006-10-02 Andrew John Hughes <gnu_andrew@member.fsf.org>
* gnu/classpath/ListenerData.java:
New class for holding listener data.
* gnu/java/lang/management/MemoryMXBeanImpl.java:
ListenerData class moved to its own file.
* javax/management/MBeanServerDelegate.java,
* javax/management/MBeanServerDelegateMBean.java,
* javax/management/MBeanServerNotification.java:
Implemented.
2006-10-02 Tania Bento <tbento@redhat.com>
* java/ast/Rectangle.java:
(Rectangle(Rectangle)): Do not throw NPE.
(Rectangle(Point, Dimension)): Same.
(Rectangle(Point)): Same.
(Rectangle(Dimension)): Same.
2006-09-29 Casey Marshall <csm@gnu.org>
PR 29190
* gnu/java/nio/EpollSelectionKeyImpl.java: extend
`AbstractSelectionKey.'
(cancel, isValid): removed.
* gnu/java/nio/EpollSelectorImpl.java (cancelledKeys): removed.
(events): new field.
(INITIAL_CAPACITY, MAX_DOUBLING_CAPACITY, CAPACITY_INCREMENT): new
fields.
(<clinit>): initialize those constants.
(<init>): don't initialize `cancelledKeys;' initialize `events.'
(doSelect): deregister cancelled keys; remove keys attached to
closed channels; wrap `epoll_wait' in `begin' and `end' calls; use
`events' buffer; reallocate `events' buffer if needed.
(register): reallocate `events' buffer if needed.
(reallocateBuffer): new method.
(cancel): removed.
2006-09-29 Roman Kennke <kennke@aicas.com>
PR 28929
* javax/swing/JViewport.java
(cinit): Renamed system property to gnu.swing.scrollmode
to avoid bloat. Default to BACKINGSTORE, this is much
more reliable.
(repaint): Forward repaint() to parent as is specified.
2006-09-29 Tania Bento <tbento@redhat.com>
* javax/swing/plaf/basic/BasicTableUI.java
(getPreferredSize): The number of iterations for the for-loop should be
the number of columns in the table's column model, not the number of
columns of the table.
* javax/swing/JTable.java
(JTable(TableModel, TableColumnModel, ListSelectionModel): Removed 4
lines that are not needed.
(initializeLocalVars): dragEnabled should be set to false, not true.
(getCellRenderer): Added a check to prevent an
ArrayIndexOutOfBoundsException.
(doLayout): The number of iterations for the for-loops should be the
number of columns in the table's column model, not the number of columns
of the table.
2006-09-29 Roman Kennke <kennke@aicas.com>
* gnu/java/awt/java2d/AbstractGraphics2D.java: Updated
API docs.
(isOptimized): Initialize with true.
(paintRaster): Removed unneeded field.
(shapeCache): New static field. Caches certain shapes for reuse.
(computeIntersection): Removed unneeded casts.
(drawArc): Use shape cache.
(drawImage): Removed unneeded statement.
(drawLine): Use shape cache. Pass untranslated coordinates
to rawDrawLine().
(drawOval): Use shape cache.
(drawPolygon): Use shape cache.
(drawRect): Overridden to provide accelerated rectangle drawing
if possible and to use the shape cache.
(drawRoundRect): Use shape cache.
(fillArc): Use shape cache.
(fillOval): Use shape cache.
(fillPolygon): Use shape cache.
(fillRect): Pass untranslated coordinates to rawFillRect().
Use shape cache.
(fillRoundRect): Use shape cache.
(fillScanlineAA): Removed unneeded statement.
(fillScanline): Updated API docs.
(fillShapeAntialias): Removed unnecessary cast.
(fillShapeImpl): Update API docs. Removed unnecessary cast.
(fillShape): Updated API docs.
(getShapeCache): New helper method.
* gnu/java/awt/java2d/ShapeCache.java: New class. Caches
certain shapes for reuse in AbstractGraphics2D.
2006-09-28 Andrew John Hughes <gnu_andrew@member.fsf.org>
* javax/management/BadBinaryOpValueExpException.java:
(getExp()): Implemented.
* javax/management/MBeanConnection.java:
Renamed to MBeanServerConnection.
* javax/management/MBeanServer.java:
(setAttribute(Attribute)): Fixed...
(setAttribute(ObjectName,Attribute)): to this.
* javax/management/MBeanServerConnection.java:
Renamed from MBeanConnection.
* javax/management/QueryExp.java:
Extend Serializable.
* javax/management/ValueExp.java:
Likewise.
* javax/management/loading/ClassLoaderRepository.java:
(loadClass(String)): Throw ClassNotFoundException.
(loadClassBefore(ClassLoader,String)): Likewise.
(loadClassWithout(String, ClassLoader): Fixed...
(loadClassWithout(ClassLoader,String)): to this.
2006-09-28 Roman Kennke <kennke@aicas.com>
* javax/swing/tree/DefaultTreeCellRenderer.java
(DefaultTreeCellRenderer): Fetch drawsFocusBorderAroundIcon
property from UIManager.
(paint): Rewritten to use super's implementation and only paint
background and focus indicator before.
(paintFocus): New helper method.
(getXOffset): New helper method.
2006-09-28 Andrew John Hughes <gnu_andrew@member.fsf.org>
* javax/management/BadBinaryOpValueExpException.java,
* javax/management/MBeanConnection.java,
* javax/management/MBeanServer.java,
* javax/management/ObjectInstance.java:
Implemented.
* javax/management/ObjectName.java:
(setMBeanServer(MBeanServer)): Implemented.
* javax/management/QueryExp.java,
* javax/management/ValueExp.java,
* javax/management/loading/ClassLoaderRepository.java:
Implemented.
2006-09-27 Robert Schuster <robertschuster@fsfe.org>
* gnu/java/nio/VMChannelOwner.java: Removed unneeded imports.
2006-09-27 Robert Schuster <robertschuster@fsfe.org>
* vm/reference/gnu/java/nio/VMChannel.java: Removed unneeded imports.
* vm/reference/gnu/java/nio/VMPipe.java: Removed unneeded imports.
* gnu/java/nio/EpollSelectorImpl.java:
(doSelect): Use Integer.valueOf() instead of constructor call.
(register): Use Integer.valueOf() instead of constructor call.
2006-09-27 Roman Kennke <kennke@aicas.com>
* java/awt/Container.java
(addContainerListener): Activate newEventsOnly for the component.
Ignore null listeners.
2006-09-27 Roman Kennke <kennke@aicas.com>
* java/awt/EventQueue.java
(Queue): New inner class. Implements the actual queue.
(LOW_PRIORITY): New constant field.
(NORM_PRIORITY): New constant field.
(queueHead): Removed. Moved into Queue.
(queueTail): Removed. Moved into Queue.
(queues): New field.
(EventQueue): Initialize two internal queues, one for
normal events, one for low priority events.
(getNextEventImpl): New helper method, fetches the next event.
(getNextEvent): Use getNextEventImpl() for fetching the event.
(peekEvent): Use getNextEventImpl() for fetching the event.
(peekEvent(int)): Search for event in all queues.
(postEventImpl(AWTEvent)): Moved actual posting into
postEventImpl(AWTEvent,int). Prioritize events here.
(postEventImpl(AWTEvent,int)): Take priority parameter and insert
event into correct queue. Re-enable event coalescing.
* gnu/java/awt/LowPriorityEvent.java: New marker interface.
* javax/swing/RepaintManager.java
(RepaintWorkerEvent): New internal class. This is a low priority
event for the repaint worker.
(addDirtyRegion): Use new internal invokeLater() for sending
a low priority event.
(addInvalidComponent): Use new internal invokeLater() for sending
a low priority event.
(commitBuffer): Added some null checks.
(invokeLater): New helper method. Sends a low priority
repaint worker event on the event queue.
2006-09-27 Roman Kennke <kennke@aicas.com>
PR 29036
PR 29161
* javax/swing/plaf/basic/BasicButtonUI.java
(cachedInsets): New field.
(installListeners): Fire synthetic property change to initialize
TEXT_LAYOUT_CACHE for the button because the font has been
installed before.
(uninstallUI): Clear the TEXT_LAYOUT_CACHE for the button.
(paint): Use cached insets.
(paintText): Let new method forward to old one, not vice versa.
* javax/swing/plaf/basic/BasicMenuItemUI.java
(defaultAcceleratorLabelGap): Removed unused field.
(MenuGap): Removed unused field.
(propertyChangeListener): Made private.
(getAcceleratorRect): Removed unused method.
(getAcceleratorText): Removed unused method.
(getPath): Removed unnecessary cast.
(installListeners): Fire synthetic property change to initialize
TEXT_LAYOUT_CACHE for the button because the font has been
installed before.
(uninstallUI): Clear the TEXT_LAYOUT_CACHE for the button.
(layoutMenuItem): Removed unused statements.
2006-09-27 Roman Kennke <kennke@aicas.com>
PR 29218
* javax/swing/tree/DefaultTreeModel.java
(isLeaf): Check if the node allows children when
asksAllowsChildren is true, otherwise fall back
to return the node's leaf property.
2006-09-27 Mario Torre <neugens@limasoftware.net>
* scripts/check_jni_methods.sh: removed methods from the
ignore list:
Java_gnu_java_util_prefs_gconf_GConfNativePeer_finalize_1class
Java_gnu_java_util_prefs_gconf_GConfNativePeer_init_1id_1cache
Java_gnu_java_util_prefs_gconf_GConfNativePeer_init_1class
Java_gnu_java_util_prefs_gconf_GConfNativePeer_gconf_1escape_1key
Java_gnu_java_util_prefs_gconf_GConfNativePeer_gconf_1unescape_1key
* native/jni/gconf-peer/GConfNativePeer.c: fixed coding style
to better follow the GNU style.
* include/gnu_java_util_prefs_gconf_GConfNativePeer.h.
regenerated header file for GConfNativePeer.
2006-09-27 Robert Schuster <robertschuster@fsfe.org>
* INSTALL: Added information about grmic being built when ASM
is available, added information about gconf dependency, indented
Qt4 dependency section.
* configure.ac: Added information about grmic being built when ASM
is available.
2006-09-27 Ian Rogers <ian.rogers@manchester.ac.uk>
* native/jni/classpath/jcl.c (JNI_OnLoad): Don't call
DeleteGlobalRef on a local ref.
2006-09-24 Mario Torre <neugens@limasoftware.net>
* scripts/check_jni_methods.sh: added two new methods in the
ignore list:
Java_gnu_java_util_prefs_gconf_GConfNativePeer_gconf_1escape_1key
and
Java_gnu_java_util_prefs_gconf_GConfNativePeer_gconf_1unescape_1key
* native/jni/gconf-peer/GConfNativePeer.c:
(Java_gnu_java_util_prefs_gconf_GConfNativePeer_gconf_1client_1all_1keys):
refacored method name, renamed from
Java_gnu_java_util_prefs_gconf_GConfNativePeer_gconf_1client_1gconf_1client_1all_1keys.
Added code to unescape escaped GConf key names.
(Java_gnu_java_util_prefs_gconf_GConfNativePeer_gconf_1client_1all_1nodes):
refacored method name, renamed from
Java_gnu_java_util_prefs_gconf_GConfNativePeer_gconf_1client_1gconf_1client_1all_1nodes.
Added code to unescape escaped GConf key names.
(Java_gnu_java_util_prefs_gconf_GConfNativePeer_gconf_1escape_1key):
new function.
(Java_gnu_java_util_prefs_gconf_GConfNativePeer_gconf_1unescape_1key):
new function.
* gnu/java/util/prefs/gconf/GConfNativePeer.java: removed
version javadoc tag.
(escapeString): new method.
(unescapeString): likewise.
(gconf_escape_key): new native method.
(gconf_unescape_key): likewise.
(gconf_client_suggest_sync): update native method signature, now
explicity throws BackingStoreException.
(gconf_client_all_nodes): update native method signature, now
explicity throws BackingStoreException. Refactored method name,
renamed from gconf_client_gconf_client_all_nodes.
(gconf_client_all_keys): update native method signature, now
explicity throws BackingStoreException. Refactored method name,
renamed from gconf_client_gconf_client_all_keys.
(getKeys): refactored to use the new method name
gconf_client_all_keys.
(getChildrenNodes): refactored to use the new method name
gconf_client_all_nodes.
* gnu/java/util/prefs/GConfBasedPreferences.java: removed
version javadoc tag.
(GConfBasedPreferences): Added code to escape node names from
invalid characters so that GConf now accept invalid node names.
(GConfBasedPreferences): Moved code to register the current
node to the list of nodes watched by GConf outside the constructor.
(childSpi): Added code to register the current node to the
list of nodes watched by GConf.
(getGConfKey): Added code to escape key names from
invalid characters so that GConf now accept invalid key names.
2006-09-26 Tom Tromey <tromey@redhat.com>
* tools/gnu/classpath/tools/javah/Printer.java (Printer): Don't
call mkdirs in output-directory case.
(getPrintStream): Create output directory.
* tools/gnu/classpath/tools/javah/Main.java (makeOutputDirectory):
Don't call mkdirs.
2006-09-27 Raif S. Naffah <raif@swiftdsl.com.au>
* tools/gnu/classpath/tools/javah/CniIncludePrinter.java (CniIncludePrinter):
Accept three additional arguments.
(writePreambleImpl): New method.
(getPrintStreamImpl): Likewise.
(printClass): Adapted to use new methods in Printer superclass.
* tools/gnu/classpath/tools/javah/CniStubPrinter.java: Likewise.
* tools/gnu/classpath/tools/javah/JniIncludePrinter.java: Likewise.
* tools/gnu/classpath/tools/javah/JniStubPrinter.java: Likewise.
* tools/gnu/classpath/tools/javah/Main.java (outFileName): New field.
(force): Likewise.
(getParser): Add support for -o option.
Check that only one of -d or -o is defined.
Add support for -jni option.
Add support for -force option.
(makeOutputFile): New method.
(writeHeaders): Removed File argument from signature.
(run): Take into account newly added fields.
Invoke concrete PrintStream implementations with augmented constructors.
* tools/gnu/classpath/tools/javah/Printer.java (outputFileObject): New field.
(isDirectory): Likewise.
(force): Likewise.
(wrotePreamble): Likewise.
(Printer): Changed ctor to accept three additional arguments.
(printClass): Changed signature to accept one ClassWrapper argument.
(writePreambleImpl): New abstract method.
(getPrintStreamImpl): Likewise.
(getPrintStream): New method.
(writePreamble): Likewise.
2006-09-26 Tania Bento <tbento@redhat.com>
* java/awt/GridLayout.java
(toString): There is no common before hgap.
* java/awt/Rectangle.java
(Rectangle(Rectangle)): Throw NPE if Rectangle is null.
(Rectangle(Point, Rectangle)): Throw NPE if either Point or
Rectangle is null.
(Rectangle(Point)): Throw NPE if Point is null.
(Rectangle(Dimension)): Throw NPE if Dimension is null.
2006-09-26 David Gilbert <david.gilbert@object-refinery.com>
* javax/swing/plaf/metal/MetalIconFactory.java
(FileIcon16.paintIcon): Apply vertical shift by the number of pixels
returned by getShift(),
(FileIcon16.getShift): Updated API docs,
(FolderIcon16.paintIcon): Apply vertical shift by the number of pixels
returned by getShift(),
(FolderIcon16.getShift): Updated API docs,
(TreeFolderIcon.getShift): Likewise,
(TreeLeafIcon.getShift): Likewise.
2006-09-26 David Gilbert <david.gilbert@object-refinery.com>
* javax/swing/plaf/metal/MetalIconFactory.java
(FileIcon16.paintIcon): Fetch colors from look and feel,
(FolderIcon16.paintIcon): Likewise.
2006-09-25 Casey Marshall <csm@gnu.org>
* gnu/java/nio/FileChannelImpl.java (read): revert back to using
`readScattering.'
(write): revert back to using `writeGathering.'
* vm/reference/gnu/java/nio/VMChannel.java (writeGathering): find
the first buffer that has data remaining, and start at that one.
2006-09-25 Tom Tromey <tromey@redhat.com>
* native/jni/gconf-peer/Makefile.am (libgconfpeer_la_LDFLAGS): New
variable.
2006-09-25 Tom Tromey <tromey@redhat.com>
* tools/.cvsignore: Updated.
2006-09-25 Tom Tromey <tromey@redhat.com>
PR libgcj/29178:
* gnu/java/nio/charset/US_ASCII.java (Encoder.canEncode): New method.
(Encoder.canEncode): Likewise.
(Encoder.encodeLoop): Return unmappable for all non-ASCII characters.
* gnu/java/nio/charset/ByteCharset.java (Encoder.canEncode): New
method.
(Encoder.canEncode): Likewise.
* gnu/java/nio/charset/ISO_8859_1.java (Encoder.canEncode): New
method.
(Encoder.canEncode): Likewise.
2006-09-25 Tom Tromey <tromey@redhat.com>
* native/fdlibm/mprec.c (mprec_calloc): Renamed.
(Balloc): Updated.
2006-09-25 Francis Kung <fkung@redhat.com>
* java/awt/image/ColorModel.java
(coerceData): Made abstract.
(coerceDataWorker): New protected method.
* java/awt/image/ComponentColorModel.java
(coerceData): Return new instance of proper ColorModel.
* java/awt/image/DirectColorModel.java
(coerceData): Return new instance of proper ColorModel.
* java/awt/image/IndexColorModel.java
(coerceData): New method.
2006-09-24 Casey Marshall <csm@gnu.org>
* gnu/java/nio/FileChannelImpl.java
(read): call `read' in a loop, don't use `readScattering.'
(write): call `write' in a loop, don't use `writeGathering.'
2006-09-24 Mark Wielaard <mark@klomp.org>
* configure.ac: Move -pedantic from WARNING to STRICT flags.
2006-09-24 Jeroen Frijters <jeroen@frijters.net>
* java/nio/channels/spi/AbstractSelectableChannel.java
(register): Set interestOps and attachment when the key already
exists.
2006-09-24 Jeroen Frijters <jeroen@frijters.net>
* java/net/ServerSocket.java
(bind(SocketAddress,int)): Added support for null address.
Throw proper exception if already bound.
Handle unresolved addresses correctly. Ignore exceptions that
happen during close in error path (to prevent losing the original
exception.)
2006-09-24 Mark Wielaard <mark@klomp.org>
Suggested by Aaron M. Ucko <ucko@debian.org>
Fixes bug #29203
* native/fdlibm/mprec.c (ulp): Define L as int32_t.
2006-09-24 Jeroen Frijters <jeroen@frijters.net>
* java/nio/channels/spi/AbstractSelectableChannel.java
(implCloseChannel): Cancel all keys after closing the channel.
2006-09-22 Casey Marshall <csm@gnu.org>
* gnu/java/nio/EpollSelectorImpl.java (doSelect): remove keys
after we delete them.
(selectedKeys): return an empty set if nothing's been selected.
* native/jni/java-nio/gnu_java_nio_EpollSelectorImpl.c
(Java_gnu_java_nio_EpollSelectorImpl_epoll_1delete): don't
throw an exception on EBADF.
(Java_gnu_java_nio_EpollSelectorImpl_epoll_1wait): don't
throw exception on EINTR, just return 0.
2006-09-22 Casey Marshall <csm@gnu.org>
* native/jni/java-io/java_io_VMFile.c (Java_java_io_VMFile_list):
remove `const' from `filename.'
* native/jni/native-lib/cpio.c (cpio_readDir): remove `const' from
`filename.'
* native/jni/native-lib/cpio.h (cpio_readDir): likewise.
2006-09-22 Casey Marshall <csm@gnu.org>
* configure.ac (AC_CHECK_FUNCS): check for `readdir_r.'
* native/jni/java-io/java_io_VMFile.c (Java_java_io_VMFile_list):
allocate `filename,' and handle changes to `cpio_readDir.'
* native/jni/native-lib/cpio.c (cpio_readDir): use `readdir_r' if
available; copy the filename into the destination buffer; return
an error code if readdir returns NULL, but errno is 0.
* native/jni/native-lib/cpio.h (cpio_readDir): change second
parameter to `const char *.'
2006-09-23 Andrew John Hughes <gnu_andrew@member.fsf.org>
* javax/management/ObjectName.java:
Implemented.
2006-09-22 Thomas Fitzsimmons <fitzsim@redhat.com>
* resource/gnu/classpath/tools/orbd: New directory.
* resource/gnu/classpath/tools/rmic: Likewise.
* resource/gnu/classpath/tools/rmid: Likewise.
* resource/gnu/classpath/tools/rmiregistry: Likewise.
* resource/gnu/classpath/tools/tnameserv: Likewise.
* tools/gnu/classpath/tools/giop: Move contents to...
* tools/gnu/classpath/tools/orbd,
tools/gnu/classpath/tools/tnameserv: New directories.
* tools/gnu/classpath/tools/rmi/rmic: Move contents to...
* tools/gnu/classpath/tools/rmic: New directory.
* tools/gnu/classpath/tools/rmi/rmid: Move contents to...
* tools/gnu/classpath/tools/rmid: New directory.
* tools/gnu/classpath/tools/rmi/registry: Move contents to...
* tools/gnu/classpath/tools/rmiregistry: New directory.
* resource/gnu/classpath/tools/orbd/messages.properties: New file.
* resource/gnu/classpath/tools/rmic/messages.properties: Likewise.
* resource/gnu/classpath/tools/rmid/messages.properties: Likewise.
* resource/gnu/classpath/tools/rmiregistry/messages.properties:
Likewise.
* resource/gnu/classpath/tools/tnameserv/messages.properties:
Likewise.
* tools/gnu/classpath/tools/orbd/Main.java,
tools/gnu/classpath/tools/orbd/Messages.java,
tools/gnu/classpath/tools/orbd/PersistentContext.java,
tools/gnu/classpath/tools/orbd/PersistentContextMap.java,
tools/gnu/classpath/tools/orbd/PersistentMap.java,
tools/gnu/classpath/tools/rmic/AbstractMethodGenerator.java,
tools/gnu/classpath/tools/rmic/CompilationError.java,
tools/gnu/classpath/tools/rmic/Generator.java,
tools/gnu/classpath/tools/rmic/GiopIo.java,
tools/gnu/classpath/tools/rmic/HashFinder.java,
tools/gnu/classpath/tools/rmic/Main.java,
tools/gnu/classpath/tools/rmic/Messages.java,
tools/gnu/classpath/tools/rmic/MethodGenerator.java,
tools/gnu/classpath/tools/rmic/RMICException.java,
tools/gnu/classpath/tools/rmic/RmiMethodGenerator.java,
tools/gnu/classpath/tools/rmic/RmicBackend.java,
tools/gnu/classpath/tools/rmic/SourceGiopRmicCompiler.java,
tools/gnu/classpath/tools/rmic/SourceRmicCompiler.java,
tools/gnu/classpath/tools/rmic/Variables.java,
tools/gnu/classpath/tools/rmic/WrapUnWrapper.java,
tools/gnu/classpath/tools/rmic/templates,
tools/gnu/classpath/tools/rmid/ActivationSystemImpl.java,
tools/gnu/classpath/tools/rmid/ActivationSystemImpl_Stub.java,
tools/gnu/classpath/tools/rmid/Main.java,
tools/gnu/classpath/tools/rmid/Messages.java,
tools/gnu/classpath/tools/rmid/PersistentBidiHashTable.java,
tools/gnu/classpath/tools/rmiregistry/Main.java,
tools/gnu/classpath/tools/rmiregistry/Messages.java,
tools/gnu/classpath/tools/rmiregistry/PersistentHashTable.java,
tools/gnu/classpath/tools/rmiregistry/RegistryImpl.java,
tools/gnu/classpath/tools/rmiregistry/RegistryImpl_Skel.java,
tools/gnu/classpath/tools/rmiregistry/RegistryImpl_Stub.java,
tools/gnu/classpath/tools/tnameserv/Main.java,
tools/gnu/classpath/tools/tnameserv/Messages.java: New files.
* tools/gnu/classpath/tools/rmic/ClassRmicCompiler.java: Import
RMIC.java from cp-tools.
* configure.ac (AC_CONFIG_FILES): Add tools/grmiregistry,
tools/gtnameserv, tools/gorbd, tools/grmid and tools/grmic.
(AC_CONFIG_COMMANDS): Add grmiregistry, gtnameserv, gorbd, grmid
and grmic.
* examples/Makefile.am (GLIBJ_CLASSPATH): Add tools.zip.
* gnu/CORBA/NamingService/NamingServiceTransient.java (main):
Rename...
(start): New method.
* tools/Makefile.am: Add build support for new tool wrappers.
* tools/gorbd.in: New file.
* tools/grmic.in: Likewise.
* tools/grmid.in: Likewise.
* tools/grmiregistry.in: Likewise.
* tools/gtnameserv.in: Likewise.
* tools/gnu/classpath/tools/AbstractMethodGenerator.java: Move to...
* tools/gnu/classpath/tools/rmic/AbstractMethodGenerator.java: New
file.
* tools/gnu/classpath/tools/HelpPrinter.java: Remove file.
* tools/gnu/classpath/tools/rmi/Persistent.java: Move to...
* tools/gnu/classpath/tools/common/Persistent.java: New file.
2006-09-22 Ito Kazumitsu <kaz@maczuka.gcd.org>
Fixes bug #29047
* gnu/java/util/regex/RETokenRepeated.java
(findMatch): Rewriten without using recursive calls,
(FindMatchControlStack): New class,
(FindMatchControl): New class,
(TryAnotherResult): New class,
(tryAnother): New method.
2006-09-22 Gary Benson <gbenson@redhat.com>
* java/net/SocketPermission.java
(processHostport): Cope with IPv6 addresses with a
one-digit first component.
2006-09-22 Roman Kennke <kennke@aicas.com>
* java/awt/Component.java
(enableEvents): Set newEventsOnly flag.
* java/awt/Container.java
(dispatchEventImpl): Consume event if lightweight dispatcher
dispatched the event. Don't call processEvent() here, this
is already done in Component.dispatchEventImpl(). For
heavyweights or when the lightweight dispatcher could
not dispatch, fall back to calling super.
(dispatchNoLightweight): New helper method to avoid
recursivly calling the lightweight dispatcher.
* java/awt/LightweightDispatcher.java
(dragButton): Removed field.
(dragTarget): Removed field.
(mouseEventTarget): New field.
(convertPointToChild): Removed method.
(dispatchEvent): Don't depend on component beeing
a window.
(findTarget): Improved algorithm for finding a target.
Before we went down to the deepest component and went
up again to find a suitable target. Now we go
down only once, without going up.
(handleMouseEvent): Broke method down into some smaller
helper methods.
(isDragging): New helper method.
(isMouseListening): New helper method.
(redispatch): New helper method.
(trackEnterExit): New helper method.
2006-09-22 David Gilbert <david.gilbert@object-refinery.com>
* javax/swing/SizeSequence.java
(getSize): Return 0 if index is out of bounds.
2006-09-21 Tom Tromey <tromey@redhat.com>
* tools/gnu/classpath/tools/javah/PathOptionGroup.java
(PathOptionGroup): Make -I a joined option.
* tools/gnu/classpath/tools/keytool/CACertCmd.java: Updated.
* tools/gnu/classpath/tools/keytool/CertReqCmd.java: Updated.
* tools/gnu/classpath/tools/keytool/DeleteCmd.java: Updated.
* tools/gnu/classpath/tools/keytool/ExportCmd.java: Updated.
* tools/gnu/classpath/tools/keytool/GenKeyCmd.java: Updated.
* tools/gnu/classpath/tools/keytool/IdentityDBCmd.java: Updated.
* tools/gnu/classpath/tools/keytool/ImportCmd.java: Updated.
* tools/gnu/classpath/tools/keytool/KeyCloneCmd.java: Updated.
* tools/gnu/classpath/tools/keytool/KeyPasswdCmd.java: Updated.
* tools/gnu/classpath/tools/keytool/ListCmd.java: Updated.
* tools/gnu/classpath/tools/keytool/MainCmd.java: Updated.
* tools/gnu/classpath/tools/keytool/PrintCertCmd.java: Updated.
* tools/gnu/classpath/tools/keytool/SelfCertCmd.java: Updated.
* tools/gnu/classpath/tools/keytool/StorePasswdCmd.java: Updated.
* tools/gnu/classpath/tools/appletviewer/Main.java: Updated.
* tools/gnu/classpath/tools/jar/Main.java: Updated.
* tools/gnu/classpath/tools/jarsigner/Main.java: Updated.
* tools/gnu/classpath/tools/javah/Main.java: Updated.
* tools/gnu/classpath/tools/native2ascii/Main.java: Updated.
* tools/gnu/classpath/tools/serialver/SerialVer.java: Updated.
* resource/gnu/classpath/tools/getopt/Messages.properties: Removed
unused entries.
* resource/gnu/classpath/tools/common/Messages.properties: New file.
* tools/gnu/classpath/tools/common/Messages.java: New file.
* tools/gnu/classpath/tools/getopt/Messages.java: Now package-private.
* tools/gnu/classpath/tools/common/ClasspathToolParser.java: Moved
from getopt.
(ClasspathToolParser): Add -J option here.
(ClasspathToolParser): Call other constructor in this class.
* tools/gnu/classpath/tools/getopt/Parser.java (handleLongOption):
Handle joined options.
(handleShortOptions): Likewise.
(handleShortOption): Removed.
(finalGroup): New field.
(Parser): Initialize new field. Don't add -J option.
(addFinal): New method.
* tools/gnu/classpath/tools/getopt/OptionGroup.java (printHelp): Use
isJoined.
* tools/gnu/classpath/tools/getopt/Option.java (isJoined): New method.
(Option): Check short option for validity.
(Option): New constructors.
(joined): New field.
2006-09-21 csm <csm@pollux.local>
* gnu/java/net/PlainDatagramSocketImpl.java (send): ignore
`InterruptedIOException;' try again if it gets thrown.
(receive): likewise, but re-throw `SocketTimeoutException.'
* gnu/java/nio/EpollSelectorImpl.java (doSelect): just return 0
if we have nothing to select.
2006-09-21 Francis Kung <fkung@redhat.com>
* gnu/java/awt/peer/gtk/FreetypeGlyphVector.java:
(getLogicalBounds): Respect glyph transformations.
(getGlyphOutline): Added null pointer check.
(getGlyphTransform): Do not generate identity transform (API permits null).
(setGlyphPosition): Do not invalidate transform.
(setGlyphTransform): Do not modify glyph position.
2006-09-21 Francis Kung <fkung@redhat.com>
* java/awt/image/ColorModel.java (coerceData): Set alpha premultiplied flag.
2006-09-21 Francis Kung <fkung@redhat.com>
* java/awt/image/ColorModel.java (coerceData): Return proper colour model.
* java/awt/image/ComponentColorModel.java (coerceData): Likewise.
* java/awt/image/DirectColorModel.java (coerceData): Likewise.
2006-09-21 Tania Bento <tbento@redhat.com>
* javax/swing/JTabbedPane.java:
(insertTab): Notify ChangeListeners if the tab inserted is selected.
(setModel): A ChangeListener should be created only if there does not
currently exist one.
2006-09-21 David Gilbert <david.gilbert@object-refinery.com>
* javax/swing/plaf/basic/BasicInternalFrameTitlePane.java
(MaximizeAction.actionPerformed): Change icon on maxButton.
2006-09-21 Roman Kennke <kennke@aicas.com>
* javax/swing/plaf/basic/BasicScrollPaneUI.java
(syncScrollPaneWithViewport): Fixed typo (hsb vs. vsb).
Use more efficient getViewPosition() and getViewSize() methods
to avoid creating a rectangle.
(HSBChangeListener.stateChanged): Update the view position
unconditionally. Let the Viewport figure out if something
changed.
(VSBChangeListener.stateChanged): Update the view position
unconditionally. Let the Viewport figure out if something
changed.
* javax/swing/JViewport.java
(ViewListener.componentResized): Fire state change, because
the extentSize changes.
(extentSize): Removed unneeded field.
(viewSize): Removed unneeded field.
(getExtentSize): Return the viewport's size here.
(getViewRect): Reformatted.
(getViewSize): Reordered for only one return statement.
(paintImmediately2): Fixed up javadoc.
(paint): Removed unneeded statement.
(setExtentSize): Set viewport size and check for actual change
of value.
(setViewPosition): Simplified condition. Set scrollUnderway
true and don't set isViewSizeSet. Avoid creating one Point
object.
(setViewSize): Fixed != comparison with equals(). Set scrollUnderway
to false.
* javax/swing/JScrollBar.java
(ScrollBarListener): New class. Forwards change events from
the model as adjustment events.
(sbChangeListener): New field.
(JScrollBar): Install listener on new model.
(fireAdjustmentValueChanged(int,int,int)): Delegate to new helper
method.
(fireAdjustmentValueChanged(int,int,int,boolean)): New helper
method to allow custom isAdjusting value.
(setMaximum): Only forward to model.
(setMinimum): Only forward to model.
(setValue): Only forward to model.
(setVisibleAmount): Only forward to model.
(setValues): Only forward to model.
(setModel): Update the change listener.
2006-09-20 Christian Thalinger <twisti@complang.tuwien.ac.at>
* java/util/Formatter.java (basicIntegralConversion): Removed
check for ZERO && !LEFT_JUSTIFY.
2006-09-20 Roman Kennke <kennke@aicas.com>
PR 29036
* javax/swing/plaf/metal/DefaultMetalTheme.java
(PLAIN_CONTROL_TEXT_FONT): New constant field.
(BOLD_CONTROL_TEXT_FONT): New constant field.
(PLAIN_MENU_TEXT_FONT): New constant field.
(BOLD_MENU_TEXT_FONT): New constant field.
(controlTextFont): Removed.
(menuTextFont): Removed.
(CONTROL_TEXT_FONT): New constant field.
(MENU_TEXT_FONT): New constant field.
(getControlTextFont): Use getFont() helper method for fetching
the correct font.
(getMenuTextFont): Use getFont() helper method for fetching
the correct font.
(getFont): New helper method.
(isBoldMetal): New helper method.
2006-09-20 Casey Marshall <csm@gnu.org>
* NEWS: mention epoll selector along with the kqueue one.
2006-09-20 Casey Marshall <csm@gnu.org>
* native/jni/java-nio/gnu_java_nio_EpollSelectorImpl.c
(Java_gnu_java_nio_EpollSelectorImpl_epoll_1delete): ignore ENOENT.
2006-09-20 Francis Kung <fkung@redhat.com>
PR 29011
* gnu/java/awt/peer/gtk/FreetypeGlyphVector.java:
(getGlyphTransform): Use translation instead of scale.
(performDefaultLayout): Increment position values instead of resetting, and
pre-increment instead of post-increment.
(setGlyphTransform): Handle null case with identity transform.
2006-09-20 Casey Marshall <csm@gnu.org>
* configure.ac (AC_CHECK_HEADERS): check for `sys/epoll.h.'
(AC_CHECK_FUNCS): check for `epoll_create.'
* gnu/java/nio/EpollSelectionKeyImpl.java: new file.
* gnu/java/nio/EpollSelectorImpl.java: new file.
* gnu/java/nio/SelectorProviderImpl.java (epoll_failed): new class
field.
(openSelector): return epoll selector if requested and available.
* include/Makefile.am (H_FILES): add gnu_java_nio_EpollSelectorImpl.h.
(gnu_java_nio_EpollSelectorImpl.h): new target.
* include/gnu_java_nio_EpollSelectorImpl.h: new file.
* native/jni/java-nio/Makefile.am (libjavanio_la_SOURCES): add
gnu_java_nio_EpollSelectorImpl.c.
* native/jni/java-nio/gnu_java_nio_EpollSelectorImpl.c: new file.
2006-09-20 Casey Marshall <csm@gnu.org>
* gnu/java/nio/SocketChannelImpl.java (finishConnect): don't
call `isConnected.'
(isConnected): return false if `connectionPending' is true.
2006-09-20 Francis Kung <fkung@redhat.com>
PR 29011
* gnu/java/awt/peer/gtk/FreetypeGlyphVector.java:
(constructor): Expanded glyphPositions array to accomodate Y-coordinates.
(getGlyphOutline): Call getGylphTransform to generate transform.
(getGylphPosition): Read position directly out of array.
(getGlyphPositions): Read positions directly out of array.
(getGlyphTransform): Generate transform based on gylphPositions array.
(performDefaultLayout): Populate glyphPositions array instead of transforms.
(setGlyphPosition): Set position directly into array.
(setGlyphTransform): Update positions array as well.
2006-09-20 David Daney <ddaney@avtrex.com>
PR classpath/28661
* gnu/java/net/protocol/http/HTTPURLConnection.java (connect): Add
default content-type for POST method.
2006-09-20 David Gilbert <david.gilbert@object-refinery.com>
* javax/swing/plaf/basic/BasicRadioButtonUI.java
(BasicRadioButtonUI): Don't fetch icon here,
(installDefaults): Initialise icon here,
(getDefaultIcon): Just return icon.
2006-09-20 Mark Wielaard <mark@klomp.org>
* native/jni/java-nio/Makefile.am (libjavanio_la_SOURCES):
Add gnu_java_nio_channels_FileChannelImpl.c and javanio.h.
(EXTRA_DIST): Include javanio.c.
2006-09-20 David Gilbert <david.gilbert@object-refinery.com>
* java/awt/geom/RoundRectangle2D.java:
(getPathIterator): Reimplemented,
and updated various API doc comments.
2006-09-20 Roman Kennke <kennke@aicas.com>
* java/awt/Container.java
(addImpl): Set the new component's parent after it has been
added to the array. Call addNotify() and invalidate()
after the component has been added, so that the peer
gets to know about the component structure when it is created.
* java/awt/Window.java
(dispatchEventImpl): Only revalidate when window is resized,
let the other stuff be processed by the superclass.
(dispose): Post WINDOW_CLOSED event only when some listener
is registered or event is explicitly enabled.
(show): Post WINDOW_OPENED event when appropriate.
2006-09-20 Roman Kennke <kennke@aicas.com>
* java/awt/Component.java
(addNotify): Invalidate here. Fetch peer font.
(getFont): Delegate to helper method, to protect from
overriding client code. Lock the tree while fetching the font.
(getFontImpl): New helper method. Moved code from getFont() in
here.
(removeNotify): Nullify peerFont too.
(setFont): Synchronize on tree and component to avoid threading
issues. Update the peerFont correctly.
(validate): Update the peer font if necessary, before validating.
(getGraphics): Revert to recursive graphics fetching.
Set component font on the Graphics object.
(translateEvent): Removed unnecessary cast.
* java/awt/Container.java
(invalidateTree): Made final and private. Made implementation
slightly more efficient.
(setFont): Get old and new font via getFont() to account for
the real font, and only invalidate the tree when they are not
the same and not equal.
(visitChild): Set the font of the child on the component graphics.
* java/awt/Frame.java
(setMenuBar): Create local reference of peer for thread safety.
Only call simple invalidate, not invalidateTree().
2006-09-19 Cameron McCormack <cam@mcc.id.au>
PR 29012
* gnu/java/awt/peer/gtk/BufferedImageGraphics.java:
(constructor): Copy image field.
2006-09-19 David Gilbert <david.gilbert@object-refinery.com>
* javax/swing/JMenuBar.java
(getHelpMenu): Implemented to throw an Error, and added API docs,
(getMargin): Added API docs,
(setMargin): Likewise.
2006-09-19 David Gilbert <david.gilbert@object-refinery.com>
* javax/swing/AbstractButton.java
(AbstractButton): Don't call updateUI(),
* javax/swing/JButton.java
(JButton(String, Icon)): Call setModel() before init(),
* javax/swing/JMenuItem.java
(JMenuItem()): Delegate to another constructor,
(JMenuItem(Icon)): Likewise,
(JMenuItem(Action)): Set model,
(JMenuItem(String, Icon)): Likewise,
* javax/swing/JToggleButton.java
(init): Call setModel() before init().
2006-09-19 Mark Wielaard <mark@klomp.org>
Fixes bug #29137
* java/util/logging/LogManager.java (addLogger): Always check for
existing children of a new Logger.
2006-09-19 Roman Kennke <kennke@aicas.com>
* javax/swing/plaf/basic/BasicScrollPaneUI.java
(HSBChangeListener.stateChanged): Moved handling of header to
syncScrollPaneWithViewport().
(VSBChangeListener.stateChanged): Moved handling of header to
syncScrollPaneWithViewport().
(ViewportChangedHandler.stateChanged): Removed unused statements.
(syncScrollPaneWithViewport): Added null checks. Use setValues
rather then the single setter methods to avoid multiple
adjustments and side effects. Also snyc the headers here.
(updateScrollBarDisplayPolicy): Revalidate and repaint here.
(uninstallUI): Removed unnecessary cast and this qualifier as well
as the call to super.
2006-09-19 Gary Benson <gbenson@redhat.com>
* java/net/ResolverCache.java: New class (a DNS cache).
* java/net/InetAddress.java
(internalGetCanonicalHostName, getAllByName): Use the above.
2006-09-19 Jeroen Frijters <jeroen@frijters.net>
* gnu/java/nio/SocketChannelImpl.java: Removed unused import.
* java/net/ServerSocket.java
(port): New field.
(bind): Set port field.
(close): Set impl to null.
(isClosed): Check impl and channel instead of using VMChannel.
(toString): Use port field and getLocalPort() method.
* java/net/Socket.java
(isClosed): Check impl and channel instead of using VMChannel.
2006-09-18 Tom Tromey <tromey@redhat.com>
* java/util/concurrent/CopyOnWriteArrayList.java
(CopyOnWriteArrayList): New constructor.
2006-09-18 Casey Marshall <csm@gnu.org>
* native/jni/java-net/gnu_java_net_VMPlainSocketImpl.c
(Java_gnu_java_net_VMPlainSocketImpl_listen): remove debug printf.
2006-09-18 Tom Tromey <tromey@redhat.com>
* gnu/javax/net/ssl/provider/SSLSocket.java (isBound, isClosed,
isConnected): Removed old comment.
(getRemoteSocketAddress): Uncommented.
(setOOBInline, getOOBInline, setKeepAlive, getKeepAlive,
setTrafficClass, getTrafficClass, setReuseAddress,
getReuseAddress, shutdownInput, shutdownOutput, isInputShutdown,
isOutputShutdown): Uncommented.
2006-09-18 David Pirkle <dpirkle@symyx.com>
Fixes PR 28589
* gnu/xml/transform/XSLURIResolver.java: Test SAXSource for specific
input stream during resolution.
2006-09-18 Roman Kennke <kennke@aicas.com>
* java/awt/LightweightDispatcher.java
(findTarget): Correctly translate child coordinates.
Use Component.eventTypeEnabled() for checking if a component
has a certain event enabled.
(handleMouseEvent): Find the correct mouse event target.
Use Component.eventTypeEnabled() for checking if a component
has a certain event enabled.
2006-09-18 Roman Kennke <kennke@aicas.com>
* java/awt/Component.java
(show): Test for the peer beeing lightweight directly.
(paintAll): Validate before painting. Don't paint when not
showing. Call peer.paint() when the component is heavyweight.
(repaint): Delegate to the parent when lightweight, rather
than skipping to the nearest heavyweight.
(createImage): Added null check to prevent NPE.
(dispatchEvent): Moved old event dispatching and toolkit
event dispatching to dispatchEventImpl.
(addComponentListener): Don't enable event. Only add listener
when not null. Switch to new event dispatching only.
(addFocusListener): Likewise.
(addHierarchyListener): Likewise.
(addHierarchyBoundsListener): Likewise.
(addKeyListener): Likewise.
(addMouseListener): Likewise.
(addMouseMotionListener): Likewise.
(addMouseWheelListener): Likewise.
(addInputMethodListener): Likewise.
(coalesceEvents): For mouse events coalesce them only when
their modifiers are equal. For paint events coalesce the events
when one contains the other, without going through complicated
heuristics.
(dispatchEventImpl): Moved old event dispatching and toolkit
event dispatching to dispatchEventImpl.
(coalescePaintEvents): Removed.
(HeavyweightInLightweightListener.componentHidden):
Fixed condition.
* java/awt/Container.java
(addImpl): Don't enable events on lightweights.
(remove): Reordered operations. Don't remove any listeners.
Throw ArrayIndexOutOfBoundsException when index >= ncomponents.
Only removeNotify() when peer is != null. Only invalidate if
not already invalid. Only fire ContainerEvent if there is
an interested listener or the event is enabled. Dispatch this
event directly without the event queue.
(removeAll): Likewise.
(paintComponents): Only paint when showing. Also paint heavyweights.
Don't paint the container itself.
(removeNotify): Create local variables for improved thread safety.
(addNotifyContainerChildren): Don't enable events for lightweights.
2006-09-18 Roman Kennke <kennke@aicas.com>
* java/awt/EventQueue.java
(INITIAL_QUEUE_DEPTH): Removed obsolete field.
(next_in): Removed obsolete field.
(next_out): Removed obsolete field.
(queueHead): New field. Markes the head of the queue.
(queueTail): New field. Markes the tail of the queue.
(queue): Removed obsolete field.
(EventQueue): Documented empty block.
(getNextEvent): Changed array based implementation to single-linked
list based implementation.
(invokeAndWait): Use an Object as synchronization object rather
than the current thread.
(peekEvent(int)): Changed array based implementation to single-linked
list based implementation.
(peekEvent()): Changed array based implementation to single-linked
list based implementation.
(pop()): Changed array based implementation to single-linked
list based implementation.
(postEvent): Foward to postEventImpl.
(postEventImpl): Changed array based implementation to single-linked
list based implementation.
(push): Changed array based implementation to single-linked
list based implementation.
* java/awt/AWTEvent.java
(queueNext): New field. Implements a single-linked list for
the EventQueue.
2006-09-17 Mark Wielaard <mark@klomp.org>
* javax/swing/text/html/HTMLEditorKit (getStyleSheet): Load
resource from HTMLEditorKit.class.
2006-09-17 Mark Wielaard <mark@klomp.org>
* javax/swing/plaf/basic/BasicToolBarUI.java
(setBorderToNonRollover): Check whether border is null.
(setBorderToRollover): Likewise.
2006-09-17 Mark Wielaard <mark@klomp.org>
* javax/swing/JTree.java (setLeadSelectionPath): Handle null path.
2006-09-17 Mark Wielaard <mark@klomp.org>
* native/jni/java-nio/javanio.c (cpnio_fcntl): Last argument is long.
* native/jni/java-nio/javanio.h (cpnio_fcntl): Likewise.
* native/jni/java-nio/gnu_java_nio_VMChannel.c
(Java_gnu_java_nio_VMChannel_lock): Likewise.
(Java_gnu_java_nio_VMChannel_unlock): Likewise.
2006-09-17 Casey Marshall <csm@gnu.org>
* native/jni/classpath/jcl.c (JNI_OnLoad): mark `reserved' as
unused.
2006-09-17 Chris Burdess <dog@gnu.org>
Fixes PR 27610 27687.
* gnu/xml/dom/ls/SAXEventSink.java: Permit limited subclassing.
* gnu/xml/transform/SAXTemplatesHandler.java,
* gnu/xml/transform/SAXTransformerHandler.java: New files.
* gnu/xml/transform/TransformerFactoryImpl.java: Implement
SAXTransformerFactory.
2006-09-16 Casey Marshall <csm@gnu.org>
* NEWS: updated.
* configure.ac (AC_CHECK_HEADERS): check for `sys/event.h'.
(AC_CHECK_FUNCS): add checks for readv, writev, getifaddrs,
kqueue, and kevent.
(HAVE_INET6): define if IPv6 is supported.
* gnu/java/net/PlainDatagramSocketImpl.java (channel): new field.
(native_fd): removed.
(impl): new field.
(<init>): throw IOException; initialize fields.
(finalize): removed.
(getNativeFD): removed.
(bind): use `PlainSocketImpl.bind.'
(create): use `PlainSocketImpl.initSocket.'
(disconnect): use `PlainSocketImpl.disconnect.'
(getLocalPort): new method.
(send): use `VMChannel.send.'
(receive): use `VMChannel.receive.'
(setOption): use `PlainSocketImpl.setOption.'
(getOption): use `PlainSocketImpl.getOption.'
(close): use `VMChannel.State.close.'
(join): use `PlainSocketImpl.join.'
(leave): use `PlainSocketImpl.leave.'
(joinGroup, leaveGroup): implemented.
* gnu/java/net/PlainSocketImpl.java: make non-final.
(native_fd): removed.
(impl): new field.
(channel): new field.
(<init>): initialize `impl.'
(finalize, getNativeFD): removed.
(setOption): use `PlainSocketImpl.setOption.'
(getOption): use `PlainSocketImpl.getOption.'
(shutdownInput): use `PlainSocketImpl.shutdownInput.'
(shutdownOutput): use `PlainSocketImpl.shutdownOutput.'
(create): create `channel,' initialize `impl's native state.
(connect): use `connect(SocketAddress, int).'
(connect): use `SocketChannelImpl.connect;' initialize `address'
and `port.'
(bind): use `VMPlainSocketImpl.bind.'
(listen): use `VMPlainSocketImpl.listen.'
(accept): use `SocketChannelImpl.accept.'
(available): use `VMChannel.available.'
(close): use `PlainSocketImpl.close.'
(sendUrgentData): use `PlainSocketImpl.sendUrgentData.'
(getVMChannel, getInetAddress, getLocalPort, getLocalAddress,
getPort): new methods.
(SocketInputStream.read): use `VMChannel.read.'
(SocketInputStream.read): use `SocketChannel.read.'
(SocketOutputStream.write): use `VMChannel.write.'
(SocketOutputStream.write): use `SocketChannel.write.'
* gnu/java/nio/DatagramChannelImpl.java: implement VMChannel.
(channel): new field.
(<init>): initialize `channel.'
(implCloseSelectableChannel): use `VMChannel.close.'
(implConfigureBlocking): use `VMChannel.setBlocking.'
(connect): use `VMChannel.connect.'
(disconnect): use `VMChannel.disconnect.'
(isConnected): use `VMChannel.getPeerAddress.'
(write): use `VMChannel.write.'
(write): use `VMChannel.writeGathering.'
(read): use `VMChannel.read.'
(read): use `VMChannel.readScattering.'
(receive): use `VMChannel.receive.'
(send): use `VMChannel.send.'
(getVMChannel): new method.
* gnu/java/nio/DatagramChannelSelectionKey.java (getNativeFD):
access native FD through VMChannel.State.
* gnu/java/nio/FileChannelImpl.java: moved from
gnu/java/nio/channels/FileChannelImpl.java.
* gnu/java/nio/FileLockImpl.java: fix imports.
* gnu/java/nio/KqueueSelectionKeyImpl.java: new file.
* gnu/java/nio/KqueueSelectorImpl.java: new file.
* gnu/java/nio/NIOSocket.java (impl): removed.
(channel): new field.
(<init>): init superclass with a `NIOSocketImpl;' init `channel.'
(getPlainSocketImpl, setChannel): removed.
(isConnected): new method.
* gnu/java/nio/NIOSocketImpl.java: new file.
* gnu/java/nio/PipeImpl.java (SourceChannelImpl): implement
`VMChannelOwner.'
(SourceChannelImpl.native_fd): removed.
(SourceChannelImpl.<init>): init with a `VMChannel.'
(SourceChannelImpl.getNativeFD): removed.
(SourceChannelImpl.getVMChannel): new method.
(SourceChannelImpl.implCloseSelectableChannel): implement.
(SinkChannelImpl): implement `VMChannelOwner.'
(SinkChannelImpl.native_fd): removed.
(SinkChannelImpl.<init>): init with a `VMChannel.'
(SinkChannelImpl.implCloseSelectableChannel): implement.
(SinkChannelImpl.getNativeFD): removed.
(SinkChannelImpl.getVMChannel): new method.
* gnu/java/nio/SelectionKeyImpl.java (getNativeFD): mark
deprecated.
* gnu/java/nio/SelectorProviderImpl.java (SELECTOR_IMPL_KQUEUE,
SELECTOR_IMPL_EPOLL, SELECTOR_IMPL): new constants.
(openSelector): return kqueue selector if available.
* gnu/java/nio/ServerSocketChannelImpl.java: implement
`VMChannelOwner.'
(channel): new field.
(<init>): init `channel.'
(finalizer): check if the `VMChannel.State' is valid.
(implCloseSelectableChannel): use `VMChannel.close.'
(implConfigureBlocking): use `VMChannel.setBlocking.'
(accept): use `VMChannel.accept.'
(getVMChannel): new method.
* gnu/java/nio/ServerSocketChannelSelectionKey.java (getNativeFD):
access native FD through `VMChannel.State.'
* gnu/java/nio/SocketChannelImpl.java: implement `VMChannelOwner.'
(impl): removed.
(channel, connected, connectAddress): new field.
(<init>): new constructors.
(getPlainSocketImpl): removed.
(implCloseSelectableChannel): use `VMChannel.close.'
(implConfigureBlocking): use `VMChannel.setBlocking.'
(connect): use `connect(SocketAddress,int).'
(connect): use `VMChannel.connect.'
(finishConnect): don't use a selector.
(isConnected): use `VMChannel.getPeerAddress.'
(read): use `VMChannel.read.'
(read): use `VMChannel.readScattering.'
(write): use `VMChannel.write.'
(write): use `VMChannel.writeGathering.'
(getVMChannel): new method.
* gnu/java/nio/SocketChannelSelectionKey.java (getNativeFD): get
native FD from `VMChannel.State.'
* gnu/java/nio/SocketChannelSelectionKeyImpl.java (getNativeFD):
get native FD from `VMChannel.State.'
* gnu/java/nio/VMChannelOwner.java: new file.
* gnu/java/nio/channels/FileChannelImpl.java: removed.
* include/Makefile.am: generate `gnu_java_nio_FileChannelImpl.h'
and `gnu_java_nio_KqueueSelectorImpl.h;' don't generate
`gnu_java_nio_channels_FileChannelImpl.h.'
* include/gnu_java_net_VMPlainSocketImpl.h: regenerated.
* include/gnu_java_nio_FileChannelImpl.h: new file.
* include/gnu_java_nio_KqueueSelectorImpl.h: new file.
* include/gnu_java_nio_VMChannel.h: regenerated.
* include/gnu_java_nio_VMPipe.h: regenerated.
* include/java_net_VMNetworkInterface.h: regenerated.
* java/io/FileDescriptor.java: fix imports.
* java/io/FileInputStream.java (<init>): handle exceptions.
(read): wrap the destination arary.
* java/io/FileOutputStream.java (<init>): handle exceptions.
(write): wrap the source array.
* java/io/RandomAccessFile.java (<init>): handle exceptions.
* java/net/DatagramSocket.java (<init>): handle exceptions.
(receive): handle length/port setting.
(connect): bind to any address/port if the argument is null.
* java/net/NetworkInterface.java (name, inetAddress): removed.
(netif): new field.
(<init>): make private.
(getName): return `netif.name.'
(getInetAddresses): access `netif.addresses.'
(getDisplayName): return `netif.name.'
(getByName, getByAddress): handle changes to `VMNetworkInterface.'
(condense): removed.
(getNetworkInterfaces): handle changes to `VMNetworkInterface.'
(equals): compare `netif' fields.
(hashCode): get hash codes from `netif.'
(toString): use a StringBuffer.
* java/net/ServerSocket.java (close): don't set `impl' to null.
(isClosed): use `VMChannel.State.isClosed.'
* java/net/Socket.java (getLocalAddress): don't use `getOption' if
the `SocketImpl' is a `PlainSocketImpl.'
(close): just close the `impl.'
(toString): use `super.toString' in the value we return.
(isConnected): just access `impl,' not `getImpl.'
(isBound): use `PlainSocketImpl' methods if we can.
(isClosed): look at `VMChannel.State.'
* native/jni/classpath/jcl.c (JNI_OnLoad): new function.
(JCL_NewRawDataObject): don't initialize cached fields here; throw
an exception if they were not.
(JCL_GetRawData): throw an exception if cached fields weren't
created.
* native/jni/java-lang/java_lang_VMProcess.c: handle
FileChannelImpl move.
* native/jni/java-net/gnu_java_net_VMPlainSocketImpl.c
(IO_EXCEPTION, SOCKET_EXCEPTION, BIND_EXCEPTION,
THROW_NO_NETWORK): new macros.
(Java_gnu_java_net_VMPlainSocketImpl_bind): reipmlemented.
(Java_gnu_java_net_VMPlainSocketImpl_bind6): new function.
(Java_gnu_java_net_VMPlainSocketImpl_listen): reimplemented.
(java_sockopt): new enum.
(Java_gnu_java_net_VMPlainSocketImpl_setOption): reimplemented.
(Java_gnu_java_net_VMPlainSocketImpl_getOption): reimplemented.
(Java_gnu_java_net_VMPlainSocketImpl_shutdownInput):
reimplemented.
(Java_gnu_java_net_VMPlainSocketImpl_shutdownOutput):
reimplemented.
(Java_gnu_java_net_VMPlainSocketImpl_sendUrgentData): new
function.
(Java_gnu_java_net_VMPlainSocketImpl_join): new function.
(Java_gnu_java_net_VMPlainSocketImpl_join6): new function.
(Java_gnu_java_net_VMPlainSocketImpl_read): removed.
(Java_gnu_java_net_VMPlainSocketImpl_leave): new function.
(Java_gnu_java_net_VMPlainSocketImpl_leave6): new function.
(Java_gnu_java_net_VMPlainSocketImpl_joinGroup): new function.
(Java_gnu_java_net_VMPlainSocketImpl_write): removed.
(Java_gnu_java_net_VMPlainSocketImpl_joinGroup6): new function.
(Java_gnu_java_net_VMPlainSocketImpl_leaveGroup): new function.
(Java_gnu_java_net_VMPlainSocketImpl_leaveGroup6): new function.
(getif_address): new function.
(getif_index): new function.
* native/jni/java-net/java_net_VMNetworkInterface.c
(java_net_VMNetworkInterface_init,
java_net_VMNetworkInterface_addAddress): new file-scope globals.
(Java_java_net_VMNetworkInterface_initIds): new function.
(struct netif_entry): new struct.
(free_netif_list): new function.
(Java_java_net_VMNetworkInterface_getInterfaces): removed.
(Java_java_net_VMNetworkInterface_getVMInterfaces): new function.
* native/jni/java-nio/Makefile.am (libjavanio_la_SOURCES): remove
gnu_java_nio_channels_FileChannelImpl.c, add
gnu_java_nio_KqueueSelectorImpl.c.
* native/jni/java-nio/gnu_java_nio_KqueueSelectorImpl.c: new file.
* native/jni/java-nio/gnu_java_nio_VMChannel.c
(INTERRUPTED_IO_EXCEPTION, SOCKET_TIMEOUT_EXCEPTION, ALIGN_UP,
ALIGN_DOWN): new macros.
(JCL_init_buffer): get the address through GetDirectBufferAddress
if possible.
(Java_gnu_java_nio_VMChannel_stdin_1fd,
Java_gnu_java_nio_VMChannel_stdout_1fd,
Java_gnu_java_nio_VMChannel_stderr_1fd): new functions.
(Java_gnu_java_nio_VMChannel_setBlocking): fix setting blocking
value.
(Java_gnu_java_nio_VMChannel_read): renamed...
(Java_gnu_java_nio_VMChannel_read__ILjava_nio_ByteBuffer_2): to
this; handle interrupted IO; add HAVE_READ check.
(Java_gnu_java_nio_VMChannel_write): renamed...
(Java_gnu_java_nio_VMChannel_write__ILjava_nio_ByteBuffer_2): to
this; handle zero-length write; add HAVE_WRITE check.
(Java_gnu_java_nio_VMChannel_receive): new function.
(Java_gnu_java_nio_VMChannel_send): new function.
(Java_gnu_java_nio_VMChannel_send6): new function.
(Java_gnu_java_nio_VMChannel_read__I): new function.
(Java_gnu_java_nio_VMChannel_write__II): new function.
(Java_gnu_java_nio_VMChannel_socket): new function.
(Java_gnu_java_nio_VMChannel_connect): new function.
(Java_gnu_java_nio_VMChannel_connect6): new function.
(Java_gnu_java_nio_VMChannel_getsockname): new function.
(Java_gnu_java_nio_VMChannel_getpeername): new function.
(Java_gnu_java_nio_VMChannel_accept): new function.
(Java_gnu_java_nio_VMChannel_disconnect): new function.
(Java_gnu_java_nio_VMChannel_close): new function.
(Java_gnu_java_nio_VMChannel_available): new function.
(FileChannel_mode): new enum.
(Java_gnu_java_nio_VMChannel_open): new function.
(Java_gnu_java_nio_VMChannel_position): new function.
(Java_gnu_java_nio_VMChannel_seek): new function.
(Java_gnu_java_nio_VMChannel_truncate): new funciton.
(Java_gnu_java_nio_VMChannel_lock): new function.
(Java_gnu_java_nio_VMChannel_unlock): new function.
(Java_gnu_java_nio_VMChannel_size): new function.
(Java_gnu_java_nio_VMChannel_map): new function.
(Java_gnu_java_nio_VMChannel_flush): new function.
* native/jni/java-nio/gnu_java_nio_VMPipe.c
(Java_gnu_java_nio_VMPipe_init): removed.
(Java_gnu_java_nio_VMPipe_pipe0): new function.
* native/jni/java-nio/javanio.c: new file.
* native/jni/java-nio/javanio.h: new file.
* native/jni/native-lib/cpnet.c (cpnet_getHostByName): fix for
systems without `gethostbyname_r.'
* vm/reference/gnu/java/net/VMPlainSocketImpl.java (nfd): new
field.
(<init>, <init>): new constructors.
(setOption, getOption): make instance methods; defer to native
implementation.
(connect): removed.
(bind): make an instance method; defer to native methods.
(accept): removed.
(available): removed.
(listen): make an instance method; defer to native method.
(read): removed.
(join, leave): new methods.
(write): removed.
(joinGroup, leaveGroup): new methods.
(shutdownInput, shutdownOutput): make instance methods.
(sendUrgentData): removed.
(State): new class.
* vm/reference/gnu/java/nio/VMChannel.java: make final.
(fd): removed.
(nfd): new field.
(<init>): new, public constructors.
(getVMChannel): methods removed.
(getState, getStdin, getStdout, getStderr, stdin_fd, stdout_fd,
stderr_fd): new methods.
(setBlocking): make an instance method.
(available): new method.
(read): get native fd from `nfd.'
(read): new single-byte read method.
(readScattering): get native fd from `nfd.'
(receive): new method.
(write, writeGathering): get native fd from `nfd.'
(send): new method.
(write): new single-byte write method.
(initSocket): new method.
(connect): new method.
(disconnect): new method.
(getLocalAddress): new method.
(getPeerAddress): new method.
(accept): new method.
(openFile): new method.
(position): new method.
(seek): new method.
(truncate): new method.
(lock): new method.
(unlock): new method.
(size): new method.
(map): new method.
(flush): new method.
(close): new method.
(State): new class.
(Kind): new class.
* vm/reference/gnu/java/nio/VMPipe.java (init): removed.
(pipe, pipe0): new method.
* vm/reference/java/net/VMNetworkInterface.java (name, addresses):
new fields.
(<clinit>): call `initIds.'
(initIds): new method.
(getInterfaces): removed.
(getVMInterfaces): new method.
(addAddress): new method.
* vm/reference/java/nio/channels/VMChannels.java: fix imports.
2006-09-16 Chris Burdess <dog@gnu.org>
Fixes PR 28572.
* gnu/xml/transform/StreamSerializer.java: Don't escape XML entities
when in text output mode.
2006-09-16 Chris Burdess <dog@gnu.org>
Fixes PR 27293.
* gnu/xml/dom/DomNode.java: Increment length of node during insert.
2006-09-14 Michael Koch <konqueror@gmx.de>
* include/gnu_java_awt_peer_gtk_CairoGraphics2D.h: Recreated.
2006-09-15 Chistian Elias Naur <elias@oddlabs.com>
* java/io/ObjectStreamClass.java (setClass(Class, ObjectStreamClass)):
Added !cl.isArray() to serialVersionUID mismatch check.
2006-09-14 Francis Kung <fkung@redhat.com>
* native/jni/gtk-peer/gnu_java_awt_peer_gtk_CairoGraphics2D.c
(gnu_java_awt_peer_gtk_CairoGraphics2D_setGradient): Updated constants to
be compatibe with Cairo 1.2.x.
2006-09-14 Francis Kung <fkung@redhat.com>
* gnu/java/awt/peer/gtk/CairoGraphics2D.java: Added interpolation constants.
(cairoSurfaceSetFilter): Removed method.
(drawImage): Pass interpolation type as argument to drawing methods.
(drawPixels): Added interpolation parameter.
(drawRaster): Pass interpolation type as argument to drawing method.
(getInterpolation): New method.
(setRenderingHint): Store hints, but do not set interpolation in cairo.
(setRenderingHints): Store hints, but do not set interpolation in cairo.
* gnu/java/awt/peer/gtk/CairoSurface.java
(drawSurface): Added interpolation parameter.
(nativeDrawSurface): Added interpolation parameter.
* include/gnu_java_awt_peer_gtk_CairoGraphics2D.h
(Java_gnu_java_awt_peer_gtk_CairoGraphics2D_drawPixels): Added interpolation
parameter.
(Java_gnu_java_awt_peer_gtk_CairoGraphics2D_cairoSurfaceSetFilter): Removed.
* native/jni/gtk-peer/cairographics2d.h
(java_awt_rendering_hints_filter): Added bicubic interpolation constant.
* native/jni/gtk-peer/gnu_java_awt_peer_gtk_CairoGraphics2D.c
(Java_gnu_java_awt_peer_gtk_CairoGraphics2D_drawPixels): Added interpolation
parameter.
(Java_gnu_java_awt_peer_gtk_CairoGraphics2D_cairoSurfaceSetFilter): Removed.
* native/jni/gtk-peer/gnu_java_awt_peer_gtk_CairoSurface.c
(Java_gnu_java_awt_peer_gtk_CairoSurface_nativeDrawSurface): Added
interpolation parameter.
2006-09-14 Gary Benson <gbenson@redhat.com>
* java/net/InetAddress.java
(internalGetCanonicalHostName): New method.
(getCanonicalHostName): Use internalGetCanonicalHostName.
(getByLiteral): New method.
(getAllByName): Use getByLiteral.
* java/net/SocketPermission.java
(host): Replaced with...
(hostname, address): New fields.
(equals, hashcode): Reflect the above.
(setHostPort): Parse host into hostname or address.
(implies): Rewrite host checks.
2006-09-14 David Gilbert <david.gilbert@object-refinery.com>
Fixes PR28699
* java/awt/Menu.java
(insert(MenuItem, int)): Fixed loop range,
(insert(String, int)): Updated API docs.
2006-09-14 Christian Thalinger <twisti@complang.tuwien.ac.at>
Fixes PR22800
* native/fdlibm/mprec.h (Storeinc): Define correctly for LE
architectures (like Arm).
* native/jni/java-lang/java_lang_VMDouble.c (doubleToLongBits):
Reverted SWAP_DOUBLE patch.
(doubleToRawLongBits): Likewise.
(longBitsToDouble): Likewise.
2006-09-14 David Gilbert <david.gilbert@object-refinery.com>
* java/awt/Menu.java: Reformatted source file.
2006-09-14 Jeroen Frijters <jeroen@frijters.net>
* gnu/java/rmi/server/ActivatableRef.java
(readExternal, writeExternal): Partial fix for serialization format.
2006-09-14 Jeroen Frijters <jeroen@frijters.net>
PR classpath/28984
* java/io/InputStreamReader.java
(read(char[],int,int)): Fixed bug.
2006-09-13 Francis Kung <fkung@redhat.com>
* java/awt/image/BandCombineOp.java: Updated documentation.
(filter(Raster, WritableRaster)): Use int arrays, and added simple cache.
2006-09-13 Tom Tromey <tromey@redhat.com>
PR classpath/29034:
* java/io/PipedReader.java (read): Return early if len==0.
* java/io/PipedInputStream.java (read): Return early if len==0.
2006-09-13 Francis Kung <fkung@redhat.com>
* java/awt/image/ConvolveOp.java (filter(Raster, WritableRaster)):
Removed hard-coded max sample value.
* java/awt/image/RescaleOp.java (filter(Raster, WritableRaster)):
Fixed finding of max sample value.
2006-09-12 David Gilbert <david.gilbert@object-refinery.com>
* gnu/java/awt/peer/gtk/CairoGraphics2D.java
(setPaint): Check null argument ('p').
2006-09-12 Francis Kung <fkung@redhat.com>
PR 27940
* gnu/java/awt/java2d/TexturePaintContext.java
(constructor): Fixed typo, getMinY instead of getMaxX.
* gnu/java/awt/peer/gtk/CairoGraphics2D.java
(setPaint): Implemented support for custom Paint classes.
(setPaintPixels): Renamed from setTexturePixels, added repeat parameter.
(setTexturePixels): Renamed to setPaintPixels, added repeat parameter.
* include/gnu_java_awt_peer_gtk_CairoGraphics2D.h: Renamed setTexturePixels
to setPaintPixels, and added repeat parameter.
* native/jni/gtk-peer/gnu_java_awt_peer_gtk_CairoGraphics2D.c:
Renamed setTexturePixels to setPaintPixels, and added repeat parameter.
2006-09-12 Gary Benson <gbenson@redhat.com>
* java/net/NetworkInterface.java (getInetAddresses):
Fix port used in security check.
2006-09-12 David Gilbert <david.gilbert@object-refinery.com>
* javax/swing/plaf/metal/DefaultMetalTheme.java
(CONTROL_TEXT_FONT): Renamed 'controlTextFont',
(MENU_TEXT_FONT): Renamed 'menuTextFont',
(getControlTextFont): Check 'swing.boldMetal' setting before
initialising font,
(getMenuTextFont): Likewise.
2006-09-12 David Gilbert <david.gilbert@object-refinery.com>
* javax/swing/plaf/metal/OceanTheme.java
(addCustomEntriesToTable): Added 'List.focusCellHighlightBorder' entry.
2006-09-12 David Gilbert <david.gilbert@object-refinery.com>
* javax/swing/plaf/metal/MetalIconFactory.java
(InternalFrameDefaultMenuIcon.paintIcon): Use theme colors.
2006-09-12 David Gilbert <david.gilbert@object-refinery.com>
* javax/swing/AbstractSpinnerModel.java: API doc updates.
2006-09-12 David Gilbert <david.gilbert@object-refinery.com>
* javax/swing/AbstractButton.java
(AbstractButton): Initialise textIconGap field.
2006-09-11 Tom Tromey <tromey@redhat.com>
* tools/gnu/classpath/tools/javah/FieldHelper.java (print): Print
"volatile" when needed.
2006-09-11 David Gilbert <david.gilbert@object-refinery.com>
* java/text/AttributedCharacterIterator.java
(LANGUAGE): Initialise with lower case string,
(INPUT_METHOD_SEGMENT): Likewise,
(READING): Likewise,
* java/text/AttributedStringIterator.java
(getRunLimit): Check all attributes for changes.
2006-09-11 David Gilbert <david.gilbert@object-refinery.com>
* java/text/AttributedCharacterIterator.java: Added @since tag,
renamed some variables (no underscores) and removed some spaces to
match the common style,
* java/text/AttributedString.java: Likewise,
* java/text/AttributedStringIterator.java: Likewise.
2006-09-11 Gary Benson <gbenson@redhat.com>
* java/net/Inet4Address.java
(FAMILY): Renamed back to AF_INET.
(<init>, writeReplace): Reflect the above.
* java/net/Inet6Address.java
(FAMILY): Renamed back to AF_INET6.
(<init>): Reflect the above.
2006-09-11 Cameron McCormack <cam-gcc-bugzilla@aka.mcc.id.au>
Fixes PR29010
* java/text/AttributedString.java
(AttributedString(AttributedCharacterIterator, int, int,
AttributedCharacterIterator.Attribute[])): Fixed check for defined
attribute.
2006-09-11 Gary Benson <gbenson@redhat.com>
* java/net/Inet4Address.java
(AF_INET): Renamed to FAMILY.
(<init>, writeReplace): Reflect the above.
* java/net/Inet6Address.java
(AF_INET6): Renamed to FAMILY.
(<init>): Reflect the above.
2006-09-10 Ito Kazumitsu <kaz@maczuka.gcd.org>
Fixes bug #28867
Originally in Kaffe: 2004-04-16 Helmer Kraemer <hkraemer@freenet.de>
* java/net/ServerSocket.java(implAccept): Deleted socket.implCreated.
* java/net/Socket.java: Avoid creating a redundant file descriptor.
(implCreated): Deleted, (getImpl): Don't check impleCreated,
(bind): Call getImpl().create(true).
2006-09-09 Chris Burdess <dog@gnu.org>
* gnu/xml/xpath/Expr.java: Ensure that node-set evaluation returns
an instance of org.w3c.dom.NodeList.
2006-09-08 Thomas Fitzsimmons <fitzsim@redhat.com>
* tools/gnu/classpath/tools/appletviewer/Main.java: Warn about
missing security manager when run in standalone mode.
2006-09-08 Francis Kung <fkung@redhat.com>
* java/awt/image/AffineTransformOp.java: Updated documentation.
(createCompatibleDestRaster): Updated formatting.
(filter(BufferedImage, BufferedImage)): Updated formatting.
(filter(Raster, WritableRaster)): Delegated processing to native peers for
if colour model is compatible.
(filterBicubic): Get entire pixel at once, and use appropriate array type.
(filterBilinear): Get entire pixel at once, and use appropriate array type.
2006-09-08 Gary Benson <gbenson@redhat.com>
* java/net/InetAddress.java
(family): Updated javadoc and made private.
(<init>): Add an address family argument.
(readObject): Don't overwrite family.
* java/net/Inet4Address.java
(AF_INET): New constant.
(<init>): Use AF_INET as the family.
(writeReplace): Likewise.
* java/net/Inet6Address.java
(AF_INET6): New constant.
(<init>): Use AF_INET6 as the family.
2006-09-08 Gary Benson <gbenson@redhat.com>
* java/net/InetAddress.java
(getHostName): Move lookup into getCanonicalHostName.
(getCanonicalHostName): Move lookup from getHostName,
Perform security check on canonical name (ie after lookup).
2006-09-08 Gary Benson <gbenson@redhat.com>
* java/net/Inet4Address.java (isMulticastAddress,
isLoopbackAddress, isAnyLocalAddress, isLinkLocalAddress,
isSiteLocalAddress, isMCGlobal, isMCNodeLocal, isMCLinkLocal,
isMCSiteLocal, isMCOrgLocal, getHostAddress): Moved
implementations from InetAddress.
* java/net/InetAddress.java (isMulticastAddress,
isLoopbackAddress, isAnyLocalAddress, isLinkLocalAddress,
isSiteLocalAddress, isMCGlobal, isMCNodeLocal, isMCLinkLocal,
isMCSiteLocal, isMCOrgLocal, getHostAddress): Replace
implementations with UnsupportedOperationExceptions.
2006-09-08 Gary Benson <gbenson@redhat.com>
* java/net/InetAddress.java
(inaddr_any): Removed.
(ANY_IF, LOCALHOST): Create using getByAddress.
(<init>): Updated javadoc.
(getHostName): Cache hostname even if the lookup failed.
(getByAddress): Create Inet4Address objects when passed
IPv4-mapped IPv6 addresses.
(aton): Removed.
(getAllByName): Create address objects using getByAddress.
Do not perform security checks unless actually required.
Do not strip whitespace from the hostname.
(getInaddrAny): Removed.
(getLocalHost): Return the loopback address if getByName
throws a SecurityException.
(readResolve): Updated javadoc.
* vm/reference/java/net/VMInetAddress.java (aton): Declared.
* include/java_net_VMInetAddress.h
(Java_java_net_VMInetAddress_aton): Likewise.
* native/jni/java-net/java_net_VMInetAddress.c
(Java_java_net_VMInetAddress_aton): New method.
* native/jni/native-lib/cpnet.h (cpnet_aton): Declared.
* native/jni/native-lib/cpnet.c (cpnet_aton): New method.
* configure.ac (AC_CHECK_FUNCS): Checks for cpnet_aton.
* java/net/Inet4Address.java (writeReplace): Updated javadoc.
* NEWS: Added note about updated VM interface.
2006-09-07 David Gilbert <david.gilbert@object-refinery.com>
* javax/swing/plaf/basic/BasicInternalFrameUI.java
(setNorthPane): Assign component to titlePane.
2006-09-07 Audrius Meskauskas <AudriusA@Bioinformatics.org>
* gnu/CORBA/NamingService/NameParser.java (corbaloc):
Remove unused variable alt_addr.
* gnu/CORBA/NamingService/NameTransformer.java (toName):
Remove unused variables.
2006-09-07 David Gilbert <david.gilbert@object-refinery.com>
* javax/swing/plaf/metal/MetalScrollBarUI.java
(installDefaults): Initialise scrollBarWidth from UI defaults here,
(createDecreaseButton): Don't fetch scrollBarWidth here,
(createIncreaseButton): Likewise.
2006-09-07 David Gilbert <david.gilbert@object-refinery.com>
* java/awt/image/MemoryImageSource.java: Added API docs.
2006-09-06 David Gilbert <david.gilbert@object-refinery.com>
* javax/swing/plaf/basic/BasicScrollBarUI.java
(installDefaults): Call configureScrollBarColors().
2006-09-06 Francis Kung <fkung@redhat.com>
* java/awt/image/RescaleOp.java: Updated documentation and formatting.
(constructor): Make copy of arrays.
(createCompatibleDestImage): Changed treatment of null ColorModel.
(filter(BufferedImage, BufferedImage)): Re-implemented.
(filter(Raster, WritableRaster, boolean[])): New method.
(filter(Raster, WritableRaster)): Re-implemented.
(getOffsets): Prevent ArrayIndexOutOfBoundsException.
(getPoint2D): Cleaned up formatting.
(getScaleFactors): Prevent ArrayIndexOutOfBoundsException.
2006-09-06 David Gilbert <david.gilbert@object-refinery.com>
* javax/swing/UIManager.java
(getBoolean(Object)): Reimplemented,
(getBoolean(Object, Locale)): Likewise,
(getBorder(Object)): Likewise,
(getBorder(Object, Locale)): Likewise,
(getColor(Object)): Likewise,
(getColor(Object, Locale)): Likewise,
(getDimension(Object)): Likewise,
(getDimension(Object, Locale)): Likewise,
(getFont(Object)): Likewise,
(getFont(Object, Locale)): Likewise,
(getIcon(Object)): Likewise,
(getIcon(Object, Locale)): Likewise,
(getInsets(Object)): Updated API docs,
(getInsets(Object, Locale)): Likewise,
(getInt(Object)): Reimplemented,
(getInt(Object, Locale)): Likewise,
(getString(Object)): Likewise,
(getString(Object, Locale)): Likewise.
2006-09-06 David Gilbert <david.gilbert@object-refinery.com>
* javax/swing/UIManager.java
(MultiplexUIDefaults.MultiplexUIDefaults()): Don't allow null fallback,
(getDefaults): Initialise MultiplexUIDefaults with empty fallback.
2006-09-06 David Gilbert <david.gilbert@object-refinery.com>
* javax/swing/plaf/metal/MetalLookAndFeel.java
(initComponentDefaults): Corrected various font defaults.
2006-09-05 David Gilbert <david.gilbert@object-refinery.com>
* java/awt/List.java: Added @since to various methods.
2006-09-05 Andrew John Hughes <gnu_andrew@member.fsf.org>
* native/jni/native-lib/cpprocess.c:
(forkAndExec(char*,char*,int,int,pid_t,char*)):
Add redirection of stdout to stderr.
* native/jni/native-lib/cpprocess.h:
Added redirect argument.
* native/jni/java-lang/java_lang_VMProcess.c
(Java_java_lang_VMProcess_nativeSpawn): Readd redirect argument.
* vm/reference/java/lang/VMProcess.java: Likewise.
* include/java_lang_VMProcess.h: Regenerated.
2006-09-05 Andreas Tobler <a.tobler@schweiz.ch>
* native/jni/gtk-peer/gnu_java_awt_peer_gtk_GtkVolatileImage.c: Adjust
__attribute to __attribute__.
* native/jni/java-nio/java_nio_MappedByteBufferImpl.c: Remove duplicate
header include.
2006-09-05 David Gilbert <david.gilbert@object-refinery.com>
* java/awt/List.java: Source code reformatted.
2006-09-05 Audrius Meskauskas <AudriusA@Bioinformatics.org>
* gnu/CORBA/CollocatedOrbs.java,
gnu/CORBA/SafeForDirectCalls.java: New files.
* gnu/CORBA/NamingService/Binding_iterator_impl.java:
Implement gnu.CORBA.SafeForDirectCalls.
* gnu/CORBA/NamingService/Ext.java: Likewise.
* gnu/CORBA/NamingService/TransientContext.java: Likewise.
* gnu/CORBA/OrbFunctional.java (createIor):Cache the address
of the local host. (ior_to_object): Return the local object
where possible. (run): Register/unregister this ORB.
* gnu/CORBA/Poa/LocalRequest.java (v_invoke): Call gnuPOA.checkDiscarding.
* gnu/CORBA/Poa/gnuPOA.java (checkDiscarding): Made package private.
* gnu/CORBA/Poa/gnuServantObject.java (noRetain): New field.
(constructors): Initialize noRetain. (_invoke): Drop servant
if noRetain is true. (getHandler): Always seach for the new servant
if noRetain is true.
* gnu/CORBA/SimpleDelegate.java (create_request): Implemented.
* NEWS: Added note about the new feature.
2006-09-05 David Gilbert <david.gilbert@object-refinery.com>
* java/awt/Choice.java
(addItem): Fixed API doc glitch.
2006-09-05 Francis Kung <fkung@redhat.com>
* java/awt/image/LookupOp.java: Updated documentation & formatting.
(createCompatibleDestImage): Re-implemented.
(filter(BufferedImage, BufferedImage)): Added check for src/dest image
compatibility, and use ColorConvertOp for color conversion if needed.
(filter(Raster, WritableRaster)): Made exceptions more descriptive.
2006-09-05 Audrius Meskauskas <AudriusA@Bioinformatics.org>
gnu/CORBA/CDR/Vio.java,
org/omg/CORBA_2_3/ORB.java,
org/omg/CORBA_2_3/portable/InputStream.java,
org/omg/CORBA_2_3/portable/OutputStream.java,
org/omg/CosNaming/BindingIteratorHelper.java,
org/omg/CosNaming/BindingTypeHelper.java,
org/omg/CosNaming/NameComponentHelper.java,
org/omg/CosNaming/NameHelper.java,
org/omg/CosNaming/NamingContextExtHelper.java,
org/omg/CosNaming/NamingContextExtPackage/AddressHelper.java,
org/omg/CosNaming/NamingContextExtPackage/InvalidAddressHelper.java,
org/omg/CosNaming/NamingContextExtPackage/InvalidAddressHolder.java,
org/omg/CosNaming/NamingContextExtPackage/StringNameHelper.java,
org/omg/CosNaming/NamingContextExtPackage/URLStringHelper.java,
org/omg/CosNaming/NamingContextHelper.java,
org/omg/CosNaming/NamingContextPackage/AlreadyBoundHelper.java,
org/omg/CosNaming/NamingContextPackage/InvalidName.java,
org/omg/CosNaming/NamingContextPackage/InvalidNameHelper.java,
org/omg/CosNaming/NamingContextPackage/NotEmptyHelper.java,
org/omg/CosNaming/NamingContextPackage/NotFoundReasonHelper.java,
org/omg/CosNaming/NamingContextPackage/NotFoundReasonHolder.java,
org/omg/DynamicAny/AnySeqHelper.java,
org/omg/DynamicAny/DynAnyFactoryHelper.java,
org/omg/DynamicAny/DynAnyFactoryOperations.java,
org/omg/DynamicAny/DynAnyFactoryPackage/InconsistentTypeCodeHelper.java,
org/omg/DynamicAny/DynAnyHelper.java,
org/omg/DynamicAny/DynAnyOperations.java,
org/omg/DynamicAny/DynAnyPackage/InvalidValueHelper.java,
org/omg/DynamicAny/DynAnyPackage/TypeMismatchHelper.java,
org/omg/DynamicAny/DynAnySeqHelper.java,
org/omg/DynamicAny/DynArrayHelper.java,
org/omg/DynamicAny/DynEnumHelper.java,
org/omg/DynamicAny/DynFixedHelper.java,
org/omg/DynamicAny/DynSequenceHelper.java,
org/omg/DynamicAny/DynStructHelper.java,
org/omg/DynamicAny/DynStructOperations.java,
org/omg/DynamicAny/DynUnionHelper.java,
org/omg/DynamicAny/DynValueHelper.java,
org/omg/DynamicAny/NameDynAnyPairHelper.java,
org/omg/DynamicAny/NameDynAnyPairSeqHelper.java,
org/omg/IOP/CodecFactoryHelper.java,
org/omg/IOP/CodecFactoryPackage/UnknownEncodingHelper.java,
org/omg/IOP/CodecOperations.java,
org/omg/IOP/CodecPackage/FormatMismatchHelper.java,
org/omg/IOP/CodecPackage/InvalidTypeForEncodingHelper.java,
org/omg/IOP/CodecPackage/TypeMismatchHelper.java,
org/omg/IOP/ComponentIdHelper.java,
org/omg/IOP/ExceptionDetailMessage.java,
org/omg/IOP/MultipleComponentProfileHelper.java,
org/omg/IOP/ProfileIdHelper.java,
org/omg/IOP/ServiceContextListHelper.java,
org/omg/IOP/ServiceIdHelper.java,
org/omg/IOP/TAG_CODE_SETS.java,
org/omg/PortableInterceptor/ClientRequestInfoOperations.java,
org/omg/PortableInterceptor/ClientRequestInterceptorOperations.java,
org/omg/PortableInterceptor/CurrentHelper.java,
org/omg/PortableInterceptor/IORInfo.java,
org/omg/PortableInterceptor/IORInterceptor_3_0Helper.java,
org/omg/PortableInterceptor/ORBIdHelper.java,
org/omg/PortableInterceptor/ORBInitInfoOperations.java,
org/omg/PortableInterceptor/ORBInitInfoPackage/InvalidNameHelper.java,
org/omg/PortableInterceptor/ORBInitializerOperations.java,
org/omg/PortableInterceptor/ObjectReferenceFactoryHelper.java,
org/omg/PortableInterceptor/ObjectReferenceTemplateHelper.java,
org/omg/PortableInterceptor/RequestInfoOperations.java,
org/omg/PortableInterceptor/ServerIdHelper.java,
org/omg/PortableInterceptor/ServerRequestInfoOperations.java,
org/omg/PortableInterceptor/ServerRequestInterceptorOperations.java,
org/omg/PortableServer/AdapterActivatorOperations.java,
org/omg/PortableServer/CurrentHelper.java,
org/omg/PortableServer/CurrentPackage/NoContextHelper.java,
org/omg/PortableServer/ForwardRequestHelper.java,
org/omg/PortableServer/IdAssignmentPolicyValue.java,
org/omg/PortableServer/IdUniquenessPolicyValue.java,
org/omg/PortableServer/ImplicitActivationPolicyValue.java,
org/omg/PortableServer/LifespanPolicyValue.java,
org/omg/PortableServer/POA.java,
org/omg/PortableServer/POAHelper.java,
org/omg/PortableServer/POAManagerPackage/AdapterInactiveHelper.java,
org/omg/PortableServer/POAManagerPackage/State.java,
org/omg/PortableServer/POAOperations.java,
org/omg/PortableServer/POAPackage/AdapterAlreadyExistsHelper.java,
org/omg/PortableServer/POAPackage/AdapterNonExistentHelper.java,
org/omg/PortableServer/POAPackage/InvalidPolicy.java,
org/omg/PortableServer/POAPackage/NoServantHelper.java,
org/omg/PortableServer/POAPackage/ObjectAlreadyActiveHelper.java,
org/omg/PortableServer/POAPackage/ObjectNotActiveHelper.java,
org/omg/PortableServer/POAPackage/ServantAlreadyActiveHelper.java,
org/omg/PortableServer/POAPackage/ServantNotActiveHelper.java,
org/omg/PortableServer/POAPackage/WrongAdapterHelper.java,
org/omg/PortableServer/POAPackage/WrongPolicyHelper.java,
org/omg/PortableServer/RequestProcessingPolicyValue.java,
org/omg/PortableServer/ServantActivatorHelper.java,
org/omg/PortableServer/ServantLocatorHelper.java,
org/omg/PortableServer/ServantLocatorOperations.java,
org/omg/PortableServer/ServantRetentionPolicyValue.java,
org/omg/PortableServer/ThreadPolicyValue.java,
org/omg/PortableServer/_ServantActivatorStub.java,
org/omg/PortableServer/_ServantLocatorStub.java,
org/omg/PortableServer/portable/Delegate.java: Documentation fixes.
2006-09-05 Audrius Meskauskas <AudriusA@Bioinformatics.org>
* javax/rmi/CORBA/Tie.java,
org/omg/CORBA/AnyHolder.java,
org/omg/CORBA/AnySeqHelper.java,
org/omg/CORBA/AnySeqHolder.java,
org/omg/CORBA/BooleanHolder.java,
org/omg/CORBA/BooleanSeqHelper.java,
org/omg/CORBA/BooleanSeqHolder.java,
org/omg/CORBA/ByteHolder.java,
org/omg/CORBA/CharHolder.java,
org/omg/CORBA/CharSeqHelper.java,
org/omg/CORBA/CharSeqHolder.java,
org/omg/CORBA/Context.java,
org/omg/CORBA/CurrentHelper.java,
org/omg/CORBA/CustomValue.java,
org/omg/CORBA/DataOutputStream.java,
org/omg/CORBA/DefinitionKindHelper.java,
org/omg/CORBA/DomainManagerOperations.java,
org/omg/CORBA/DoubleHolder.java,
org/omg/CORBA/DoubleSeqHelper.java,
org/omg/CORBA/DoubleSeqHolder.java,
org/omg/CORBA/DynAny.java,
org/omg/CORBA/DynSequence.java,
org/omg/CORBA/DynValue.java,
org/omg/CORBA/DynamicImplementation.java,
org/omg/CORBA/FieldNameHelper.java,
org/omg/CORBA/FixedHolder.java,
org/omg/CORBA/FloatHolder.java,
org/omg/CORBA/FloatSeqHelper.java,
org/omg/CORBA/FloatSeqHolder.java,
org/omg/CORBA/IdentifierHelper.java,
org/omg/CORBA/IntHolder.java,
org/omg/CORBA/LocalObject.java,
org/omg/CORBA/LongHolder.java,
org/omg/CORBA/LongLongSeqHelper.java,
org/omg/CORBA/LongLongSeqHolder.java,
org/omg/CORBA/LongSeqHelper.java,
org/omg/CORBA/LongSeqHolder.java,
org/omg/CORBA/ORB.java,
org/omg/CORBA/ObjectHelper.java,
org/omg/CORBA/ObjectHolder.java,
org/omg/CORBA/OctetSeqHelper.java,
org/omg/CORBA/OctetSeqHolder.java,
org/omg/CORBA/PolicyErrorCodeHelper.java,
org/omg/CORBA/PolicyErrorHelper.java,
org/omg/CORBA/PolicyHelper.java,
org/omg/CORBA/PolicyListHelper.java,
org/omg/CORBA/PolicyTypeHelper.java,
org/omg/CORBA/PrincipalHolder.java,
org/omg/CORBA/RepositoryIdHelper.java,
org/omg/CORBA/Request.java,
org/omg/CORBA/ShortHolder.java,
org/omg/CORBA/ShortSeqHelper.java,
org/omg/CORBA/ShortSeqHolder.java,
org/omg/CORBA/StringSeqHelper.java,
org/omg/CORBA/StringSeqHolder.java,
org/omg/CORBA/ULongLongSeqHelper.java,
org/omg/CORBA/ULongLongSeqHolder.java,
org/omg/CORBA/ULongSeqHelper.java,
org/omg/CORBA/ULongSeqHolder.java,
org/omg/CORBA/UShortSeqHelper.java,
org/omg/CORBA/UShortSeqHolder.java,
org/omg/CORBA/ValueBaseHelper.java,
org/omg/CORBA/ValueBaseHolder.java,
org/omg/CORBA/VersionSpecHelper.java,
org/omg/CORBA/WCharSeqHelper.java,
org/omg/CORBA/WCharSeqHolder.java,
org/omg/CORBA/WStringSeqHelper.java,
org/omg/CORBA/WStringSeqHolder.java,
org/omg/CORBA/WrongTransactionHelper.java,
org/omg/CORBA/_IDLTypeStub.java,
org/omg/CORBA/_PolicyStub.java,
org/omg/CORBA/portable/BoxedValueHelper.java,
org/omg/CORBA/portable/Delegate.java,
org/omg/CORBA/portable/ObjectImpl.java,
org/omg/CORBA/portable/ServantObject.java,
org/omg/CORBA/portable/StreamableValue.java,
org/omg/CosNaming/BindingType.java,
org/omg/CosNaming/IstringHelper.java,
org/omg/DynamicAny/FieldNameHelper.java,
org/omg/PortableServer/Servant.java: Documentation fixes.
2006-09-04 David Gilbert <david.gilbert@object-refinery.com>
* java/awt/Rectangle.java
(setRect(double, double, double, double)): Modified rounding of input
values.
2006-09-03 Audrius Meskauskas <AudriusA@Bioinformatics.org>
* gnu/javax/swing/text/html/parser/HTML_401F.java (defineElements):
Disallow H1 - H6 in the paragraphs.
* gnu/javax/swing/text/html/parser/support/textPreProcessor.java
(preprocess): Leave at most one leading and/or trailing space.
* javax/swing/text/html/HTMLDocument.java (HTMLReader.handleText):
Do not add any text after closing the HTML tag.
2006-09-02 Roman Kennke <kennke@aicas.com>
PR 28928
* javax/swing/plaf/basic/BasicTextUI.java
(RootView.getPreferredSpan): Default to 10 when there is no
real view.
(RootView.getMinimumSpan): Forward to view and default to 10
when there is no real view.
(RootView.getMaximumSpan): Return Integer.MAX_VALUE.
(getMaximumSize): Check for overflow.
* javax/swing/text/FieldView.java
(getResizeWeight): Removed unneeded assignment.
2006-09-01 Francis Kung <fkung@redhat.com>
* java/awt/image/ColorConvertOp.java
(copyImage): Updated javadoc and comments.
(copyRaster): Add javadoc.
(createCompatibleColorModel): Add javadocs and comments.
(createCompatibleDestImage): Use correct transfer type.
(createCompatibleDestRaster): Add new parameter for transfer type.
(filter): Use correct transfer type.
* java/awt/image/ConvolveOp.java: Updated javadocs.
(createCompatibleDestImage): Set new image properties correctly.
(filter(BufferedImage, BufferedImage): Correct handling of premultiplication.
(filter(WritableRaster, Raster): Clip sample values to [0-255].
2006-09-01 Robert Schuster <robertschuster@fsfe.org>
* javax/swing/table/DefaultTableModel.java:
(checkSize): Added null check for dataVector.
2006-09-01 Robert Schuster <robertschuster@fsfe.org>
* javax/swing/plaf/basic/BasicSplitPaneUI.java:
(BasicHorizontalLayout.getAlignmentX): Return fixed value.
(BasicHorizontalLayout.getAlignmentY): Return fixed value.
2006-09-01 Robert Schuster <robertschuster@fsfe.org>
* javax/swing/plaf/metal/MetalCheckBoxIcon.java:
(paintIcon): Removed unused import statements, lowered cast requirement
from JCheckBox to AbstractButton.
2006-09-01 Robert Schuster <robertschuster@fsfe.org>
* javax/swing/plaf/basic/BasicLookAndFeel.java:
(initComponentDefaults): Added, changed and removed some
tabbed pane properties.
2006-09-01 Robert Schuster <robertschuster@fsfe.org>
* examples/gnu/classpath/examples/swing/TabbedPaneDemo.java:
(createContent): Changed menu item name and tab naming.
2006-09-01 Roman Kennke <kennke@aicas.com>
PR 28922
* javax/swing/plaf/basic/BasicHTML.java
(HTMLRootView.getAttributes): Overridden to return null.
(HTMLRootView.getElement): Overridden to return the view's
element.
2006-09-01 Robert Schuster <robertschuster@fsfe.org>
* javax/swing/plaf/basic/BasicTabbedPaneUI.java:
(calculateTabAreaHeight): Use getTabRunOverlay method instead
of accessing variable directly.
(calculateTabAreaWidth): Dito.
2006-08-31 Keith Seitz <keiths@redhat.com>
* include/jvmti.h: Include jvmti_md.h.
2006-08-31 Keith Seitz <keiths@redhat.com>
From Martin Platter <motse@complang.tuwien.ac.at>:
* Makefile.am (include_HEADERS): Include jvmti.h.
* include/jvmti.h (jvmtiEnv) [!__cplusplus]: Add missing '*'.
(jvmtiError): Remove superfluous comma after last entry.
(jvmtiEvent): It's "BREAKPOINT" not "BERAKPOINT".
(_Jv_jvmtiEnv.StopThread): Add missing exception parameter.
(_Jv_jvmtiEnv.RawMonitorWait): Add missing millis parameter.
(_Jv_jvmtiEnv.GetSourceFileName): source_name_ptr is pointer to
character pointer.
(_Jv_JVMTIEnv::StopThread): Add missing exception parameter.
(_Jv_JVMTIEnv::RawMonitorWait): Add missing millis parameter.
(_Jv_JVMTIEnv::GetSourceFileName): source_name_ptr is pointer to
character pointer.
2006-08-31 Roman Kennke <kennke@aicas.com>
* javax/swing/text/BoxView.java
(getWidth): Return the width with insets added, not with one
added and one removed.
(getHeight): Return the height with insets added, not with one
added and one removed.
* javax/swing/text/GlyphView.java
(DefaultGlyphPainter.viewToModel): Need to add the start offset.
* javax/swing/text/ParagraphView.java
(Row.getAlignment): Adjust alignment with respect to
the justification attribute.
(Row.getLeftInset): Overridden to adjust for firstLineIndent
attribute.
* javax/swing/text/html/CSS.java
(getValue): Convert length values.
* javax/swing/text/html/Paragraph.java
(painter): New field.
(paint): Implemented to delegate painting to the BoxPainter too.
(setPropertiesFromAttributes): Implemented to load attributes
from CSS.
* javax/swing/text/html/StyleSheet.java
(BoxPainter.as): Removed field.
(BoxPainter.leftInset): New field.
(BoxPainter.bottomInset): New field.
(BoxPainter.rightInset): New field.
(BoxPainter.topInset): New field.
(BoxPainter.BoxPainter): Implemented to load the insets from
CSS.
(BoxPainter.getInset): Implemented.
* gnu/javax/swing/text/html/Length.java: New class.
Converts CSS length units to usable values.
2006-08-31 Andreas Tobler <a.tobler@schweiz.ch>
* configure.ac: Add check for gethostbyname_r.
Add check for MSG_NOSIGNAL and SO_NOSIGPIPE.
* native/jni/native-lib/cpnet.c (SOCKET_NOSIGNAL): Define
SOCKET_NOSIGNAL according to the configure check.
(cpnet_send): Use SOCKET_NOSIGNAL.
(cpnet_sendTo): Likewise.
(cpnet_getHostByName): Use gethostbyname in case gethostbyname_r is not
defined.
* native/jni/native-lib/cpio.c: Define O_SYNC and O_DSYNC in case they
are not available.
* lib/Makefile.am (cssfiles): Add new rule to install css files.
2006-08-31 Roman Kennke <kennke@aicas.com>
* javax/swing/JEditorPane.java
(getPreferredSize): Replace preferred size with minimum
UI size only if the scrollable does _not_ track the viewport
size and only if the viewport's size is smaller than the
scrollable's size.
(getScrollableTracksViewportWidth): Avoid unnecessary multiple
method calls.
* javax/swing/plaf/basic/BasicTextUI.java
(getPreferredSize): Read-lock the document to avoid
concurrency problems.
(getMaximumSize): Return maximum size of the view.
Read-lock the document to avoid concurrency problems.
(getMinimumSize): Return minimum size of the view.
Read-lock the document to avoid concurrency problems.
2006-08-31 Gary Benson <gbenson@redhat.com>
* java/net/SocketPermission.java
(maybeBracketIPv6Address): Renamed to processHostport.
(processHostport): Also translate "" to "localhost".
(setHostPort): Remove special cases for empty hostport and for
extra colons in hostport (processHostport handles these now).
2006-08-31 Mark Wielaard <mark@klomp.org>
* javax/swing/text/ZoneView.java (Zone): Make static class.
Constructor takes axis parameter.
(createZone): Create Zone with getAxis() as major axis.
2006-08-30 Roman Kennke <kennke@aicas.com>
* javax/swing/text/ZoneView.java
(loadChildren): Implemented.
(getViewIndexAtPosition): Implemented.
(checkZoneAt): New helper method.
(splitZone): New helper method.
(getPreferredZoneEnd): New helper method.
2006-08-30 Roman Kennke <kennke@aicas.com>
* javax/swing/text/ZoneView.java: New class.
2006-08-30 Roman Kennke <kennke@aicas.com>
* javax/swing/JMenu.java
(getMenu): Removed unneeded cast.
(getPopupMenuOrigin): Made positioning algorithm better respect
the screen bounds.
(setMenuLocation): Also set the location on the popup if it's
not null.
(setModel): Use menuChangeListener so that we don't override
the changeListener field from AbstractButton.
(setPopupMenuVisible): Use custom location if set, otherwise
fallback to getPopupMenuOrigin().
2006-08-29 Roman Kennke <kennke@aicas.com>
* javax/swing/text/InternationalFormatter.java
(stringToValue): Fixed bounds check.
* javax/swing/text/MaskFormatter.java
(MaskFormatter): Don't explicitly set allosInvalid property.
(convertStringToValue): New helper method.
(convertValueToString): New helper method.
(convertValue): Removed. Replaced by the 2 convert* methods
above.
(getPadCharAt): Removed.
(isCharValid): Removed.
(pad): Removed.
(stringToValue): Fixed stringToValue conversion.
(stripLiterals): Removed.
(valueToString): Fixed valueToString conversion.
* javax/swing/text/DefaultFormatter.java
(DefaultFormatter): Default to commitsOnValidEdit = false.
2006-08-29 Roman Kennke <kennke@aicas.com>
* javax/swing/text/TextAction.java
(getTextComponent): Check event for null and return null in
this case.
(augmentList): Augment Actions based on their names.
* javax/swing/text/DefaultEditorKit.java
(BeginAction.actionPerformed): Check target for null.
(BeginLineAction.actionPerformed): Check target for null.
(CopyAction.actionPerformed): Check target for null.
(CutAction.actionPerformed): Check target for null.
(EndAction.actionPerformed): Check target for null.
(EndLineAction.actionPerformed): Check target for null.
(InsertBreakAction.actionPerformed): Check target for null.
(InsertTabAction.actionPerformed): Check target for null.
(PasteAction.actionPerformed): Check target for null.
(SelectAllAction.actionPerformed): Check target for null.
(SelectionBeginAction.actionPerformed): Check target for null.
(SelectionBeginLineAction.actionPerformed): Check target for null.
(SelectionEndAction.actionPerformed): Check target for null.
(SelectionEndLineAction.actionPerformed): Check target for null.
(SelectLineAction.actionPerformed): Check target for null.
(SelectWordAction.actionPerformed): Check target for null.
2006-08-29 Roman Kennke <kennke@aicas.com>
* javax/swing/plaf/basic/BasicTextUI.java
(FocusHandler): New class. This is moved from the anonymous
inner focus listener class to a static member class, and
is now shared between components.
(DocumentHandler): This class is combined with the PropertyHandler
into the Handler class.
(PropertyChangeHandler): This class is combined with the
DocumentHandler into the Handler class.
(Handler): New class. This combines the Property and Document
handler into one class.
(RootView.changedUpdate): Only forward if real view != null.
(RootView.insertUpdate): Only forward if real view != null.
(RootView.removeUpdate): Only forward if real view != null.
(documentHandler): Removed field and replaced by handler.
(focuslistener): Made field static and renamed to focusListener.
(handler): New field.
(kit): Lazily initialize field.
(rootView): Lazily initialize field.
(updateHandler): Removed and replaced by handler.
(getEditorKit): Lazily instantiate field.
(installDefaults): Don't set margin twice. Install correct
property for disabledTextColor. Moved caret and highlighter
initialization to installFixedDefaults.
(installFixedDefaults): New method. Installs defaults that
can't be overridden by subclasses.
(installListeners): Only install focus handler when new
system property gnu.swing.text.no-xlike-clipboard is not set.
Lazily initialize focus handler.
(installUI): Lazily initialize rootView. Install handler
both for property and document changes.
(uninstallDefaults): Uninstall the UI defaults.
(uninstallFixedDefaults): New method. Uninstalls the fixed
defaults.
(installListeners): Only uninstall focus handler when not null.
(uninstallUI): Uninstall property and document listener here.
2006-08-29 Gary Benson <gbenson@redhat.com>
* java/net/SocketPermission.java
(maybeBracketIPv6Address): New method.
(<init>): Pass the hostport argument through the above.
* java/net/NetworkInterface.java (getInetAddresses):
Don't bracket IPv6 addresses.
2006-08-28 Roman Kennke <kennke@aicas.com>
* javax/swing/text/BoxView.java
(calculateMinorAxisRequirements): Initialize max size
with Integer.MAX_VALUE.
* javax/swing/text/Utilities.java
(getBreakLocation): For simple chars, scan the text directly.
* javax/swing/text/WrappedPlainView.java
(tabBase): New field.
(tabSize): New field.
(calculateBreakPosition): Use Utilities. Fixed for correct
break calculation.
(changedUpdate): Update children directly.
(insertUpdate): Update children directly. Notify children.
(removeUpdate): Update children directly. Notify children.
(updateChildren): New helper method.
(nextTabStop): Fixed to return correct results.
(paint): Update tabBase.
(updateMetrics): Update tab size.
2006-08-28 Roman Kennke <kennke@aicas.com>
* javax/swing/text/Position.java
(Bias.Forward): Initialize with 'Forward' rather then 'forward'.
(Bias.Backward): Initialize with 'Backward' rather then 'backward'.
2006-08-28 Roman Kennke <kennke@aicas.com>
* javax/swing/text/View.java
(height): Removed unneeded field.
(width): Removed unneeded field.
(getBreakWeight): Return GoodBreakWeight when pos is after
the view's span.
(getToolTipText): Check view index more carefully. Avoid
Rectangle creation.
(insertUpdate): Only execute method body if view count > 0.
When updateChildren returns false, clear the ec variable.
(updateChildren): Added null checks.
(viewToModel): Initialize bias array correctly.
* javax/swing/text/CompositeView.java
(children): Made private.
(numChildren): New field.
(loadChildren): Check factory for null. Don't load children
when factory is null.
(replace): Removed null check. Nullify removed children. Made
growing the array more efficient.
(getViewCount): Return numChildren rather then the real array
size.
* javax/swing/text/BoxView.java
(getViewAtPoint): Fixed algorithm for finding the view.
(replace): Made array growing more efficient.
(replaceLayoutArray): New helper method for growing/patching
the layout arrays.
(viewToModel): Make sure we have a valid layout.
2006-08-28 Tania Bento <tbento@redhat.com>
* java/awt/MenuShortcut.java
(MenuShortcut (int, boolean)): Set keyName.
(toString): Modified string output.
(setKeyName): New private method.
2006-08-28 Roman Kennke <kennke@aicas.com>
* javax/swing/text/GapContent.java
(Mark.getOffset): Made assert less strict, include boundary.
(search): Made package private to avoid accessor method.
2006-08-28 Roman Kennke <kennke@aicas.com>
* javax/swing/text/StringContent.java
(InsertUndo.positions): New field.
(InsertUndo.redo): Update the undo positions.
(InsertUndo.undo): Fetch the undo positions.
(Mark): New class. Layer of indirection to allow Positions
to be GC'ed while we still hold references to the Mark.
(RemoveUndo.len): New field.
(RemoveUndo.positions): New field.
(RemoveUndo.RemoveUndo): Fetch undo positions.
(RemoveUndo.redo): Re-fetch positions and string.
(RemoveUndo.undo): Update undo positions.
(StickyPosition.mark): New field.
(StickyPosition.offset): Removed field.
(StickyPosition.StickyPosition): Create new Mark. Register
Position in queueOfDeath. Update reference count on mark.
(StickyPosition.getOffset): Return offset stored in mark.
(StickyPosition.setOffset): Removed unneeded method.
(UndoPosRef): New class. Handles undo/redo on positions/marks.
(EMPTY): New field.
(marks): New field. Stores the marks.
(positions): Removed field.
(queueOfDeath): New field. Used for GCing the positions.
(StringContent): Initialize queueOfDeath.
(createPosition): Lazily create marks vector.
(garbageCollect): New helper method. Collects positions
to be GCed and updates their marks.
(getChars): Fixed bounds check.
(getPositionsInRange): When v == null, create new Vector,
otherwise use v. Store UndoPosRefs in vector.
(getString): Added comment about bug in RI.
(insertString): Use new helper method for replacing the array.
Correctly update positions.
(length): Removed this qualifier.
(remove): Use new helper method for replacing the array.
Correctly update positions.
(replace): New helper method for growing or patching the array.
(updateUndoPositions): Implemented. Updates the positions
for undo/redo operations.
2006-08-27 Roman Kennke <kennke@aicas.com>
* javax/swing/text/StyleContext.java
(NamedStyle.attributes): Made field transient.
(NamedStyle.changeEvent): Made field transient.
(NamedStyle.name): Removed field. The name is stored as
attribute.
(NamedStyle.NamedStyle(String,Style)): Call setName() for
storing the name and check for null name and resolveParent.
Don't initialize changeEvent.
(NamedStyle.copyAttributes): Return a new NamedStyle,
rather than a plain copy of the attributes field.
(NamedStyle.fireStateChange): Lazily create changeEvent
field.
(NamedStyle.getName): Fetch name from attributes.
(NamedStyle.setName): Store name from attributes.
(NamedStyle.readObject): Implemented for correct
deserialization.
(NamedStyle.writeObject): Implemented for correct
serialization.
(NamedStyle.setResolveParent): When new parent is null,
remove resolveParent attribute. Use addAttribute() method
rather than StyleContext addAttribute().
(NamedStyle.toString): Fixed to produce output equal to the
RI.
(SmallAttributeSet.resolveParent): New field.
(SmallAttributeSet.SmallAttributeSet(AttributeSet)): Update
the resolveParent field correctly.
(SmallAttributeSet.SmallAttributeSet(Object[])): Don't copy
array but store it directly. Update
the resolveParent field correctly.
(SmallAttributeSet.clone): Return this as the object is
immutable.
(SmallAttributeSet.containsAttributes): Make sure that keys
and values are the same.
(SmallAttributeSet.containsAttribute): Make sure that keys
and values are the same.
(SmallAttributeSet.copyAttributes): Return this as the object is
immutable.
(SmallAttributeSet.equals): Fixed comparison. Two AttributeSet
are equal if they have the same number of attributes and
one contains the other.
(SmallAttributeSet.getAttribute): Improved lookup of
resolveParent.
(SmallAttributeSet.getResolveParent): Improved lookup of
resolveParent.
(SmallAttributeSet.isEqual): When comparing object is a
SmallAttributeSet, consider them equal only if they are the
same object.
(SmallAttributeSet.toString): Fixed to produce output equal to the
RI.
(attributeSetPool): New field.
(defaultStyleContext): Initialize lazily.
(defaultStyle): Removed field. This is stored in the style context
as attribute.
(listenerList): Removed field. The NamedStyle stores the
listeners.
(readAttributeKeys): New static field. Used for looking up
the serialization mappings when reading.
(search): New field. Used as search key.
(staticAttributeKeys): Replaced by read/writeAttributeKeys.
(styles): New field. Stores the styles and listeners.
(styleTable): Removed field. Replaced by styles field.
(writeAttributeKeys): New static field. Used for looking up
the serialization mappings when writing.
(static_initializer): Register mappings for all keys in
StyleConstants.
(StyleContext): Initialize styles correctly.
(addAttributes): Fixed caching of immutable attributes.
(addAttribute): Fixed caching of immutable attributes.
(removeAttributes): Fixed caching of immutable attributes.
(removeAttribute): Fixed caching of immutable attributes.
(addChangeListener): Add listener to styles field.
(removeChangeListener): Remove listener from styles field.
(getChangeListeners): Fetch listeners from styles field.
(addStyle): Add style to styles field.
(cleanupPool): New method.
(getDefaultStyleContext): Lazily create context.
(getEmptySet): Simply return SimpleAttributeSet.EMPTY.
(getMutableAttributeSet): New helper method. Used for
caching.
(getStaticAttribute): Fetch key from readAttributeKeys.
(getStyleNames): Return names from styles field.
(getStyle): Lookup style in styles field.
(removeStyle): Remove style from styles field.
(readAttributeSet): Fixed deserialization.
(writeAttributeSet): Fixed serialization.
(readObject): Fixed deserialization.
(writeObject): Fixed serialization.
(reclaim): Simply cleanup the pool.
(registerStaticAttributeKey): Store mapping in both ways.
(searchImmutableSet): New helper method for caching.
(toString): Fixed for output like the RI.
* javax/swing/text/StyleConstants.java
(keys): New field. Stores all known keys.
(StyleConstants): Store created key in keys list.
* javax/swing/event/EventListenerList.java
(readObject): Fixed deserialization.
(writeObject): Fixed serialization.
2006-08-25 Roman Kennke <kennke@aicas.com>
* javax/swing/text/CompositeView.java
(insets): Removed. Replaced by single short fields.
(top): New field. Replaces insets.
(bottom): New field. Replaces insets.
(left): New field. Replaces insets.
(right): New field. Replaces insets.
(CompositeView): Initialize insets fields.
(createDefaultLocation): Removed unneeded method.
(getBottomInset): Return field directly.
(getTopInset): Return field directly.
(getLeftInset): Return field directly.
(getRightInset): Return field directly.
(getInsideAllocation): Adjusted to work on new insets fields.
(getViewIndex): Fixed check.
(loadChildren): Don't replace the old children.
(replace): Make sure that there is an array to operate on.
Only set parent to null, when it is this View.
(setInsets): Adjusted to work with new insets fields.
(setParagraphInsets): Fixed to pull insets directly from
StyleConstants.
2006-08-25 Roman Kennke <kennke@aicas.com>
* javax/swing/text/ComponentView.java
(Interceptor): New inner helper class. Used to propagate
invalidate requests and cache component layout sizes.
(interceptor): New field.
(getAlignment): Fetch alignment from interceptor container.
(getComponent): Don't create component here. This is done
in setParent().
(getMaximumSpan): Fetch layout info from interceptor. Check
for illegal axis.
(getMinimumSpan): Fetch layout info from interceptor. Check
for illegal axis.
(getPreferredSpan): Fetch layout info from interceptor. Check
for illegal axis.
(modelToView): Fixed model to view mapping.
(viewToModel): Fixed view to model mapping.
(paint): Check for null. Set bounds on interceptor rather
then component.
(setParentImpl): Install interceptor between component
and hosting container.
(setParent): Call super.setParent() immediately.
2006-08-25 Roman Kennke <kennke@aicas.com>
* javax/swing/text/LabelView.java
(setPropertiesFromAttributes): Only set background when
the corresponding attribute is actually defined, otherwise
set to null, as the StyleConstants would return black.
* javax/swing/text/DefaultStyledDocument.java
(ElementBuffer.documentEvent): Removed obsolete field.
(ElementBuffer.change): Do prepareEdits() and finishEdits()
to correctly update the element structure.
(ElementBuffer.insertContentTag): Removed unused statement.
(ElementBuffer.recreateAfterFracture): Removed
unused obsolete method.
(setCharacterAttributes): Removed unused statement.
2006-08-25 Roman Kennke <kennke@aicas.com>
* examples/gnu/classpath/examples/swing/Demo.java
(LaterMain.run): Removed unused local variable.
(Demo): Don't put desktop in scrollpane.
(addChildren): Removed unused method.
(mkButtonBar): Added HTML demo.
(mkMenuBar): Added HTML demo.
(mkPanel): Removed unused method.
(mkScrollPane): Removed unused method.
(mkTree): Removed unused method.
(valign2str): Removed unused method.
* examples/gnu/classpath/examples/swing/HtmlDemo.java:
Initialize text field with some HTML that already works.
(DEBUG): New field. Set to true for debugging output.
(createContent): Dump element tree after parsing.
2006-08-25 Roman Kennke <kennke@aicas.com>
* javax/swing/text/html/CSS.java
(getValue): Added color value conversion.
* javax/swing/text/html/HTMLDocument.java
(HTMLReader.ConvertAction): New class, converts HTML style tags
to CSS attributes.
(HTMLReader.initTags): Register ConvertAction for <font> tag.
* javax/swing/text/html/InlineView.java
(setPropertiesFromAttributes): Implemented to fetch
CSS character attributes.
* javax/swing/text/html/StyleSheet.java
(addCSSAttribute): Convert value.
(getBackground): Implemented to fetch CSS background color
attribute.
(getForeground): Implemented to fetch CSS color
attribute.
(getFont): Adjust font size for superscript and subscript.
(translateHTMLToCSS): Rudimentary implementation that
copies the original attributes, so that any CSS attributes in
there are preserved.
(stringToColor): Use CSSColor for conversion.
* gnu/javax/swing/text/html/css/CSSColor.java:
New class. Converts CSS color values to RGB color values.
* gnu/javax/swing/text/html/CharacterAttributeTranslator.java:
Removed. This is more or less replaced by CSSColor and the
ConvertAction in HTMLReader.
2006-08-25 Roman Kennke <kennke@aicas.com>
* javax/swing/text/BoxView.java
(childReqs): Removed obsolete field.
(baselineLayout): Reimplemented for correct baseline layout.
(baselineRequirements): Reimplemented for correct baseline
layout.
(updateChildRequirements): Removed obsolete method.
* javax/swing/text/GlyphView.java
(DefaultGlyphPainter.getSpan): Removed unused statement.
(DefaultGlyphPainter.paint): Dont paint subscript/superscript
specially. The subscript/superscript layout is performed
via the alignment, the font is supplied by the StyleContext.
(breakView): Removed unused statements.
(getAlignment): Adjust alignment according to the
superscript/subscript setting.
(getFont): Reimplemented to fetch the font from the style
context, or from the document if the stylecontext is not
available.
(getPreferredSpan): Adjust span for superscript. Use switch
instead of if-else.
* javax/swing/text/LabelView.java
(setPropertiesFromAttributes): Fetch background and foreground
from document / style context.
(isSubscript): Resync properties if needed.
* javax/swing/text/ParagraphView.java
(Row.calculateMinorAxisRequirements): Overridden to perform
a baseline layout.
(Row.layoutMinorAxis): Overridden to perform a baseline layout.
2006-08-24 Roman Kennke <kennke@aicas.com>
* javax/swing/text/Utilities.java
(BUF_LENGTH): Removed unused field.
(drawTabbedText): Removed unneeded cast.
(getBreakLocation): Removed unneeded cast.
Fixed offset to account for Segments not starting at 0.
2006-08-24 Roman Kennke <kennke@aicas.com>
* javax/swing/plaf/basic/BasicTabbedPaneUI.java
(TabbedPaneLayout.normalizeTabRuns): Removed unused statement.
(TabbedPaneScrollLayout.layoutContainer): Likewise.
(ScrollingPane.updateUI): Likewise.
(calculateTabWidth): Rewritten to correctly and efficiently
layout the tab width.
(layoutLabel): Call SwingUtilities method with the tabPane
as argument.
(paintContentBorderLeftEdge): Removed unused statement.
(paintContentBorderRightEdge): Removed unused statement.
(paintContentBorder): Removed unused statement.
2006-08-24 Roman Kennke <kennke@aicas.com>
* javax/swing/plaf/basic/BasicTextUI.java
(RootView.getAttributes): Overridden to return null,
as the RootView has no parent.
2006-08-24 Roman Kennke <kennke@aicas.com>
* javax/swing/text/html/CSSParser.java: Removed.
* javax/swing/text/html/CSS.java
(getValue): New helper method. Returns special converter
instances for certain kinds of property values.
* javax/swing/text/html/HTMLDocument.java
(HTMLReader.CharacterAction.start): Don't translate tags
here. Instead, store the attributes directly with the tag
as key.
(content): Removed field. The Content object is handled
by AbstractDocument.
(styleSheet): Removed field. The styleSheet is the styleContext
of this document and handled by the DefaultStyledDocument already.
(HTMLDocument(Content,StyleSheet): Simply call super here.
The super classes already handle the content and styleContext.
(HTMLDocument()): Call this() with a default GapContent and
StyleSheet.
(getStyleSheet): Return the styleContext here.
(insertUpdate): New method. Overridden to add the
CONTENT dummy tag to the element's attributes.
(setBase): Set the base on the styleContext.
* javax/swing/text/html/HTMLEditorKit.java
(styleContext): Removed unneeded field.
(styleSheet): Made field private.
(HTMLEditorKit): Do nothing here. The StyleSheet is
created lazily in getStyleSheet(). A styleContext is not
needed here.
(getStyleSheet): Create StyleSheet correctly.
(insertHTML): Removed unneeded cast.
* javax/swing/text/html/InlineView.java
(attributes): New field.
(changedUpdate): Reload attributes. Trigger preferenceChanged.
(getAttributes): Implemented to fetch the attributes from
the stylesheet.
* javax/swing/text/html/MultiAttributeSet.java: New class.
Multiplexes between several AttributeSets.
* javax/swing/text/html/MultiStyle.java: New class.
Multiplexes between several Styles.
* javax/swing/text/html/ParagraphView.java
(attributes): New field.
(getAttributes): Implemented to fetch the attributes from
the stylesheet.
* javax/swing/text/html/StyleSheet.java
(CssParser): Removed inner class.
(CSSStyle): New inner class. Represents a style defined
by a CSS rule.
(CSSStyleSheetParserCallback): New class, for parsing
CSS stylesheets.
(css): New field. Stores the CSS rules.
(resolvedStyles): New field. Stores resolved styles.
(StyleSheet): Initialize resolvedStyles map.
(addRule): Removed bogus impl.
(getFont): Implemented to fetch font, based on CSS rules.
(getResolvedStyle): New helper method. Looks up resolved
styles, and resolves a style if necessary.
(resolveStyle): New pair of helper methods. Resolves
CSS style rules.
(getRule(String)): Provide rudimentary implementation.
(getRule(Tag,Element)): Implemented.
(getViewAttributes): Implemented.
(loadRules): Implemented.
(translateHTMLToCSS): Tagged as not implemented.
* javax/swing/text/html/ViewAttributeSet.java: New class.
2006-08-24 Roman Kennke <kennke@aicas.com>
* javax/swing/text/FlowView.java:
(LogicalView.getAttributes): New method. Overrides super
impl to return the attributes of the FlowView instance.
* javax/swing/text/LabelView.java:
(setPropertiesFromAttributes): Fetch attributes from
View, rather then from the Element. (In the HTML
package the getAttributes() method is overridden to
return different attributes). Fetch font from the StyledDocument.
2006-08-24 Roman Kennke <kennke@aicas.com>
* javax/swing/text/DefaultEditorKit.java:
(DefaultKeyTypedAction.actionPerform): Also filter
ALT and CTRL modifiers.
2006-08-24 Roman Kennke <kennke@aicas.com>
* gnu/javax/swing/text/html/css/FontSize.java,
* gnu/javax/swing/text/html/css/FontStyle.java,
* gnu/javax/swing/text/html/css/FontWeight.java:
New classes. Used to convert CSS font attributes to AWT/Swing
Font constants.
2006-08-24 Francis Kung <fkung@redhat.com>
* gnu/java/awt/color/PyccConverter.java: Throw UnsupportedOperationExceptions.
* java/awt/image/ColorConvertOp.java: Updated javadocs.
(srccs, dstcs, rasterValid): Variables removed.
(ColorConvertOp(RenderingHints)): Initialize spaces to empty array.
(copyRaster): Check for null rendering hints
(createCompatibleColorModel): New private method.
(createCompatibleDestImage): Re-implemented.
(createCompatibleDestRaster(Raster, ColorSpace, boolean)): New private method.
(createCompatibleDestRaster(Raster)): Re-implemented.
(filter(BufferedImage, BufferedImage)): Add checks; fix temp image creation.
(filter(Raster, WritableRaster)): Add checks; fix temp raster creation.
(getPoint2D): Clean up formatting.
* java/awt/image/ComponentColorModel.java
(constructor): use findBits method instead of passing null.
(findBits): New method.
2006-08-24 Gary Benson <gbenson@redhat.com>
* java/net/NetworkInterface.java (getInetAddresses): Bracket IPv6
addresses.
2006-08-24 Jeroen Frijters <jeroen@frijters.net>
* java/lang/ref/Reference.java
(queue, nextOnQueue): Made volatile.
(enqueue): Made thread safe.
* java/lang/ref/ReferenceQueue.java
(lock): New field.
(poll): Removed synchronized.
(enqueue): Changed to synchronize on lock object, to update Reference
state and return success status.
(dequeue, remove): Synchronize on lock object.
2006-08-24 Jeroen Frijters <jeroen@frijters.net>
* java/security/SecureClassLoader.java
(protectionDomainCache): Changed to HashMap.
(SecureClassLoader): Removed redundant security check.
(defineClass(String,byte[],int,int,CodeSource): Moved
protection domain lookup/construction to new method.
(defineClass(String,ByteBuffer,CodeSource): New method.
(getProtectionDomain): New method.
2006-08-23 Roman Kennke <kennke@aicas.com>
* javax/swing/JComponent.java
(isRepainting): Made package private.
(paintChild): New field.
(findOpaqueParent): Removed method. This is now in
paintImmediately().
(findOverlapFreeParent): Removed method. This is now
in paintImmediately2().
(findPaintRoot): Removed method. This is now
in paintImmediately2().
(isCompletelyObscured): Changed to take rectangle as single
ints as argument.
(isPaintingDoubleBuffered): Removed method. This is now
in paintImmediately2().
(isPartiallyObscured): New helper method.
(onTop): New helper method for optimization.
(paintChildren): Paint only to specific child when
requested like this from paintImmediately2().
(paintDoubleBuffered): Changed to take rectangle as single int
arguments.
(paintImmediately2): Changed to take rectangle as single int
arguments. Optimized determination of paint root.
(paintImmediately(Rectangle)): Change to delegate to
paintImmediately(int,int,int,int).
(paintImmediately(int,int,int,int)): Look for opaque ancestor
and start painting there.
(paint): Call paintDoubleBuffered() with int arguments. Only
paint component, when not completely occupied by opaque child.
(processKeyBinding): Removed unnecessary cast.
(isOccupiedByChild): New helper method.
* javax/swing/RepaintManager.java
(repaintUnderway): Removed obsolete field.
(commitRequests): Removed obsolete field.
(RepaintManager): Removed initialization of obsolete fields.
(addDirtyRegion): Removed unused statement.
(commitBuffer): Changed to take plain ints as argument.
(compileRepaintRoots): Optimized to avoid use of Rectangle.
Compute offsets in place, rather than using SwingUtilities.
(paintDirtyRegions): Removed unused field.
* javax/swing/JMenuItem.java
(onTop): Return true when not descendant of JInternalFrame.
* javax/swing/JPopupMenu.java
(onTop): Return true.
* javax/swing/JToolTip.java
(onTop): Return true.
* javax/swing/JViewport.java
(paintImmediately2): Change signature to match the
corresponding JComponent method.
2006-08-23 Tania Bento <tbento@redhat.com>
* java/awt/Color.java
(brighter): Modified algorithm to correctly determine the
new brighter colour.
2006-08-23 Roman Kennke <kennke@aicas.com>
* java/awt/Container.java
(maxSize): Removed field. This is already declared in Component.
(validateTree): Check for ContainerPeer. Don't addNotify here.
Only validate Component instances if they are invalid.
2006-08-22 Roman Kennke <kennke@aicas.com>
* javax/swing/JComponent.java
(preferredSize): Removed field.
(maximumSize): Removed field.
(minimumSize): Removed field.
(getMaximumSize): Adjusted to delegate to Component, rather
then managing the size in JComponent.
(getMinimumSize): Adjusted to delegate to Component, rather
then managing the size in JComponent.
(getPreferredSize): Adjusted to delegate to Component, rather
then managing the size in JComponent.
(isMaximumSizeSet): Removed.
(isMinimumSizeSet): Removed.
(isPreferredSizeSet): Removed.
(setMaximumSize): Removed.
(setMinimumSize): Removed
(setPreferredSize): Removed.
2006-08-22 Roman Kennke <kennke@aicas.com>
* javax/swing/AbstractButton.java
(ButtonChangeListener.stateChanged): Delegate to combined
handler.
(EventHandler): New inner class. Handles all three types
of events on the model.
(eventHandler): New field. Stores the combined event
handler.
(AbstractButton): Moved listener initialization to
setModel().
(createActionListener): Return combined handler.
(createChangeListener): Return combined handler.
(createItemListener): Return combined handler.
(getEventHandler): New helper method for creating the combined
handler.
(setModel): Initialize listeners here.
* javax/swing/plaf/basic/BasicButtonListener.java
(ButtonAction): New class. Implements the keyboard action
for buttons.
(checkOpacity): Implemented.
(createDefaultActionMap): New helper method.
(installKeyboardActions): Rewritten to install InputMap
and ActionMap according to 'new' keyboard input method.
(mouseClicked): Commented as no-op.
(mouseDragged): Commented as no-op.
(mouseMoved): Commented as no-op.
(propertyChange): Check for contentAreaFilled change and
update opacity. Pull handling of HTLM in font and text handler.
(stateChanged): Repaint button.
(uninstallKeyboardActions): Properly uninstall keyboard actions.
* javax/swing/plaf/basic/BasicButtonUI.java
(listener): Removed.
(sharedListener): New static field. Stores the shared listener.
(sharedUI): New static field. Stores the shared UI.
(createButtonListener): Return shared instance here.
(createUI): Return shared instance here.
(getButtonListener): New helper method. Looks for the
BasicButtonListener installed on a button and returns it.
(installDefaults): Correctly install rollover property here.
Fetch defaultTextShiftOffset. Initialize opaqueness correctly.
(installKeyboardActions): Fetch listener with new helper method.
(installListeners): Don't use removed field. Check for null.
(installUI): Added comment about order of method invocations.
(uninstallDefaults): Don't uninstall non-uninstallable properties.
(uninstallKeyboardActions): Fetch listener with new helper method.
(uninstallListeners): Fetch listener with new helper method.
(paintIcon): Paint icon offset when pressed and armed.
* javax/swing/plaf/metal/MetalButtonListener.java: Removed.
* javax/swing/plaf/metal/MetalButtonUI.java
(sharedUI): New field. Stores the shared UI.
(MetalButtonUI): Don't initialize fields here.
(createButtonListener): Removed method. Use super impl.
(createUI): Return shared instance.
(getDisabledTextColor): Update field here.
(getFocusColor): Update field here.
(getSelectColor): Update field here.
(installDefaults): Don't handle rollover property here.
(uninstallDefaults): Don't handle rollover property here.
(paintButtonPressed): Use accessor method to update the
field value.
2006-08-21 Mark Wielaard <mark@klomp.org>
Merge NATIVE_LAYER branch.
2006-08-20 Mark Wielaard <mark@klomp.org>
* doc/tools.texinfo: Add file from trunk.
* native/jni/Makefile.am (DIST_SUBDIRS): Add native-lib.
* native/jni/java-io/java_io_VMFile.c: Include lstat and readlink
headers.
* native/jni/java-lang/java_lang_VMProcess.c
(Java_java_lang_VMProcess_nativeSpawn): Remove redirect argument.
* native/jni/java-net/java_net_VMInetAddress.c
(Java_java_net_VMInetAddress_getHostByName): Remove unused variable.
* native/jni/native-lib/Makefile.am: Remove empty and nonexisting
files.
* native/jni/native-lib/cpio.c (cpio_setFileReadonly): Use correct
mask.
* native/jni/native-lib/cpnet.c (cpnet_connect): Removed unused
theaddr.
* native/jni/native-lib/cpnet.h (cpnet_freeAddresses): Moved from
cpnet.h.
* native/jni/native-lib/cpnet.h (cpnet_freeAddresses): Declare,
don't implement.
* vm/reference/java/lang/VMProcess.java: Removed unused redirect
argument.
* include/java_lang_VMProcess.h: Regenerated.
2006-07-09 Guilhem Lavaux <guilhem@kaffe.org>
* native/jni/java-net/gnu_java_net_VMPlainDatagramSocketImpl.c
(nativeReceive): Fixed the type of the arrays (use java types).
(nativeSendTo): Force throwing an exception if port is 0.
* native/jni/java-net/javanet.c:
(_javanet_accept): Throw SocketTimeoutException if ETIMEDOUT is
returned.
(_javanet_recvfrom): Likewise.
(_javanet_sendto): Throw a NullPointerException if the socket is
not connected and no address is given.
* native/jni/java-net/javanet.h
(NULL_EXCEPTION): Defined.
2006-06-16 Guilhem Lavaux <guilhem@kaffe.org>
* native/jni/java-net/java_net_VMInetAddress.c
(Java_java_net_VMInetAddress_getHostByName): Fix detection of
error.
* native/jni/java-net/javanet.c
(_javanet_accept): Fixed bogus call to TARGET.
(_javanet_create_inetaddress): Fixed address generation. Fixed
bogus memory free.
(_javanet_bind): set "Reuse address" flag.
* native/jni/native-lib/cpio.c
(cpio_getModificationTime): Fixed type.
(cpio_removeFile): Use rmdir too.
* native/jni/native-lib/cpnet.c
(cpnet_getHostByName): Fixed error detection.
* native/jni/native-lib/cpnet.h
(cpnet_newIPV4address, cpnet_newIPV6address): Put zero in the
memory.
(cpnet_IPV4AddressToBytes): Fixed types.
2006-06-10 Guilhem Lavaux <guilhem@kaffe.org>
* native/jni/native-lib/cpio.c
(cpio_openDir, cpio_closeDir, cpio_readDir): Implemented.
* native/jni/native-lib/cpnet.h:
(cpnet_bytesToIPV4Address): Fixed type casting to avoid being
messed by signs in jbyte.
* native/jni/native-lib/cpproc.h
(CPIO_EXEC_NUM_PIPES): Compilation fix.
2006-05-09 Guilhem Lavaux <guilhem@kaffe.org>
* native/jni/native-lib/cpnet.c
(cpnet_getSocketTimeout, cpnet_setSocketTimeout): Reimplemented.
(waitForWritable, waitForReadable): New functions.
(socketTimeouts): New static global table to hold timeouts for all
socket fds.
(cpnet_accept,cpnet_bind,cpnet_sendTo,cpnet_recv,cpnet_recvFrom):
Added waitForXXXX safeguards to handle socket timeouts.
* native/jni/java-net/javanet.c
(_javanet_accept): Check for the right error value when a timeout
occurs.
2006-03-25 Guilhem Lavaux <guilhem@kaffe.org>
* native/jni/java-io/Makefile.am,
native/jni/java-lang/Makefile.am,
native/jni/java-net/Makefile.am,
native/jni/java-nio/Makefile.am: Link to libclasspathnative.la now.
* native/jni/native-lib/Makefile.am: Added cpproc.c
* native/jni/native-lib/cpio.c: Implemented missing functions for
CPIO.
* native/jni/native-lib/cpnet.c
(cpnet_getHostByName): Fixed address array initialization.
* native/jni/native-lib/cpproc.c: Implemented.
2006-02-19 Guilhem Lavaux <guilhem@kaffe.org>
* configure.ac: Invoke GCC_ATTRIBUTE_UNUSED.
* m4/gcc_attribute.m4: New file from ac_archive.
* native/jni/java-net/javanet.c: Adapted to cpnet API
modification.
* native/jni/native-lib/cpnet.c: Implemented.
* native/jni/native-lib/cpnet.h
(cpnet_openSocketDatagram,
cpnet_openSocketStream): These calls need an address family now.
(cpnet_IPV4AddressToBytes,
cpnet_bytesToIPV4Address): Convert the address to network order.
2006-02-19 Guilhem Lavaux <guilhem@kaffe.org>
* native/jni/java-io/java_io_VMFile.c,
native/jni/java-nio/gnu_java_nio_channels_FileChannelImpl.c,
native/jni/midi-dssi/dssi_data.h,
native/jni/native-lib/cpio.c,
native/jni/native-lib/cpmath.h: Removed cpmath
dependency. Fixed coding style.
2006-02-18 Guilhem Lavaux <guilhem@kaffe.org>
* native/jni/java-lang/java_lang_VMProcess.c: Removed TARGET
dependency. Simplified the JNI code by moving some part into the
native layer.
* native/jni/native-lib/cpproc.h: New interface to handle processes.
2006-02-18 Guilhem Lavaux <guilhem@kaffe.org>
* native/jni/java-net/java_net_VMInetAddress.c: Fixed compilation
errors. Removed any remaining TARGET invocations.
* native/jni/java-net/javanet.c
(_javanet_create_inetaddress): Removed spurious arr and
octets. Fixed compilation errors.
* native/jni/native-lib/cpnet.h
(cpnet_getHostname, cpnet_getHostByName, cpnet_getHostByAddr,
cpnet_setIPV4Any, cpnet_freeAddresses, cpnet_isIPV6Address,
cpnet_isIPV4Address): New functions.
(cpnet_bytesToIPV4Address): Fixed interface to be consistent with
the rest.
2006-01-28 Guilhem Lavaux <guilhem@kaffe.org>
* native/jni/java-io/java_io_VMFile.c,
native/jni/java-net/gnu_java_net_VMPlainDatagramSocketImpl.c,
native/jni/java-net/gnu_java_net_VMPlainSocketImpl.c,
native/jni/java-net/javanet.c,
native/jni/java-net/javanet.h: Adapted the VM layer code
to the new native layer.
* native/jni/native-lib/cpnet.h
(cpnet_addMembership,
cpnet_dropMembership,
cpnet_getAvailableBytes): Added the declarations of
some new functions.
(cpnet_newIPV6Address,
cpnet_IPV6AddressToBytes,
cpnet_bytesToIPV6Address): Implemented.
(cpnet_newIPV4Address): Initialize the sin_family field.
2006-01-28 Guilhem Lavaux <guilhem@kaffe.org>
* native/target: Removed.
* configure.ac: Removed target from CLASSPATH_INCLUDES and
Makefile generation.
* native/jni/native-lib/Makefile.am,
native/jni/native-lib/cpnet.h,
native/jni/native-lib/cpnet.c
native/jni/native-lib/cpio.h,
native/jni/native-lib/cpio.c,
native/jni/native-lib/cpmath.h: Imported new native compatibility
layer.
2006-08-21 Roman Kennke <kennke@aicas.com>
* gnu/javax/swing/text/html/css/CSSParser.java:
New class.
* gnu/javax/swing/text/html/css/CSSParserCallback.java:
New interface.
* gnu/javax/swing/text/html/css/CSSParserException.java:
New exception.
* gnu/javax/swing/text/html/css/CSSScanner.java:
Adjusted API comments. Made all constants package private.
(EOF): New constant field.
(parseBuffer): Made package private.
(tokenEnd): Made package private.
(CSSScanner): Initialize lookahead buffer with -1.
(main): Print out to System.out rather then System.err.
(nextToken): Push back character after IDENT.
2006-08-21 Jeroen Frijters <jeroen@frijters.net>
* java/io/File.java (normalizePath): Fixed handling of "//" and "\\".
2006-08-21 Roman Kennke <kennke@aicas.com>
* gnu/javax/swing/text/html/css/CSSScanner.java
(main): Use buffered input stream.
(nextToken): Removed 65536 workaround. Use int value directly
without cast to char.
(readComment): Use int value directly without cast to char.
Cast to char only when putting the character into the buffer.
(readEscape): Likewise.
(readIdent): Likewise.
(readName): Likewise.
(readNum): Likewise.
(readString): Likewise.
(readWhitespace): Likewise.
2006-08-21 Ingo Proetel <proetel@aicas.com>
* java/io/InputStreamReader.java
(bytesCache): New field.
(cacheLock): New field.
(read(byte[],int,int): Avoid allocations of new byte
array on every call and reuse cached byte array if possible.
2006-08-21 Roman Kennke <kennke@aicas.com>
* gnu/java/net/local/LocalSocketImpl.java
Only load native lib if this is supported by runtime.
* native/jni/java-net/local.c
Include config.h unconditionally.
* native/jni/java-net/gnu_java_net_local_LocalSocketImpl.c
Include config.h unconditionally.
2006-08-21 Friedjof Siebert <siebert@aicas.com>
* java/io/ObjectInputStream.java
(objectLookupTable): Changed to be a Vector.
(ObjectInputStream): Initialize objectLookupTable as Vector.
(assignNewHandle): Store Object using handle index rather than
Hashtable, using the new rememberHandle() method.
(hierarchy): New method. This replaces inputGetObjectStreamClasses()
with a caching in ObjectStreamClass.
(inputGetObjectStreamClass): Replaced by hierarchy().
(lookupHandle): New method. Looks up an object by it's handle
index.
(parseContent): Avoid creating of Integer objects. Use
hierarchy() method for looking up the class hierarchy.
(processResolution): Use rememberHandle() to store
handle per index, rather than Hashtabling the object.
(readFields):
(rememberHandle): New method.
* java/io/ObjectOutputStream.java
(OIDLookupTable): Use ObjectIdentityMap2Int instead of
Hashtable for improved lookup performance.
(ObjectOutputStream): Initialize OIDLookupTable as
ObjectIdentityMap2Int.
(assignNewHandle): Change to use ObjectIdentityMap2Int.
(findHandle): Change to use ObjectIdentityMap2Int.
(getBooleanField): Removed.
(getByteField): Removed.
(getCharField): Removed.
(getDoubleField): Removed.
(getField): Removed.
(getFloatField): Removed.
(getIntField): Removed.
(getLongField): Removed.
(getObjectField): Removed.
(writeFields(Object,ObjectStreamClass)): Use new helper method.
(writeFields(Object,ObjectStreamField)): New helper method.
Use switch rather then if-else cascade.
(writeObject): Use int handle, rather then Integer.
* java/io/ObjectStreamClass.java
(hierarchy): New field. Caches the class hierarchy.
(methodCache): New field. Caches methods.
(readObjectSignature): New field. Stores the read signature.
(uidCache): New field. Caches UIDs.
(writeObjectSignature): New field. Stores the write signature.
(cacheMethods): Cache methods in methodCache.
(calculateClassID): Outsourced from getClassUID()
for computing the UIDs.
(getClassUIDFromField): Outsourced from getClassUID() for
fetching the UID from the class field.
(getClassUID): Use cached uid if possible. Use new helper
methods for fetching the UID from the field or computing
from scratch.
(getObjectStreamClasses): Removed. Replaced by more
efficient hierarchy() method, that also caches the result.
(hierarchy): Replaces getObjectStreamClasses() for caching
the result.
(loadedByBootOrApplicationClassLoader): New helper method.
(setClass): Invalidate hierarchy cache.
(setSuperclass): Invalidate hierarchy cache.
* java/io/ObjectStreamField.java
(field): Made field package private for access from other
classes.
* gnu/java/io/ObjectIdentityWrapper.java: Removed.
* gnu/java/io/ObjectIdentityMap2Int.java: Efficient
hashtable for mapping objects to ints.
2006-08-21 Roman Kennke <kennke@aicas.com>
* java/io/File.java
(getAbsolutePath): Fetch absolute path from
VMFile.getAbsolutePath(). Moved actual impl to there.
(isAbsolute): Let VMFile determine the absoluteness.
(toURL): Let VMFile convert the filename.
* vm/reference/java/io/VMFile.java
(getAbsolutePath): New method.
(isAbsolute): New method.
(toURL): New method.
2006-08-21 Jeroen Frijters <jeroen@frijters.net>
* NEWS: Added note about updated VM interface.
2006-08-20 Andrew John Hughes <gnu_andrew@member.fsf.org>
* java/lang/management/ManagementFactory.java:
Updated documentation.
2006-08-20 Ito Kazumitsu <kaz@maczuka.gcd.org>
Fixes bug #28412
* gnu/java/util/regex/CharIndexed.java(move1, setHitEnd, hitEnd):
New methods.
* gnu/java/util/regex/CharIndexedCharSequence.java,
gnu/java/util/regex/CharIndexedInputStream.java: Implemented the
new methods above.
* gnu/java/util/regex/RE.java(REG_FIX_STARTING_POSITION): New flag,
(match): call the new method setHitEnd of the input,
(getMatchImpl): Handle the new flag REG_FIX_STARTING_POSITION,
Some optimization commented out, Use CharIndexed#move1 instead of move.
* gnu/java/util/regex/REMatch.java: Made some debugging methods public.
* gnu/java/util/regex/REToken.java(match): The method body has been
moved to an internal private method, (matchFake): New method,
(setHitEnd): New method.
* gnu/java/util/regex/RETokenChar.java(matchThis): Call setHitEnd
if the match is not complete, (matchOneString): Count the number of
characters which matched the pattern.
* gnu/java/util/regex/RETokenEnd.java(fake): New field,
(setFake): New method, (match): Call super.match or super.matchFake.
* gnu/java/util/regex/RETokenEndSub.java(setHitEnd): New method.
* gnu/java/util/regex/RETokenOneOf.java(match): call the new method
setHitEnd of the input,
* gnu/java/util/regex/RETokenRepeated.java(match): Likewise.
* java/util/regex/Matcher.java(lookingAt, match): Use the new flag
RE.REG_FIX_STARTING_POSITION, (hitEnd, toString): New methods.
2006-08-18 Tom Tromey <tromey@redhat.com>
* gnu/javax/swing/text/html/css/CSSScanner.java (readWhitespace): Push
the 'int', not the cast char.
2006-08-18 Roger Sayle <roger@eyesopen.com>
* scripts/check_jni_methods.sh: Don't use the "set -C" command
which isn't available in all shells.
2006-08-18 Roger Sayle <roger@eyesopen.com>
* lib/Makefile.am (resources): Fix some shell portability issues.
2006-08-18 Thomas Fitzsimmons <fitzsim@redhat.com>
* configure.ac (tool-wrappers): Check for ltdl support when tool
wrapper binaries are enabled.
* tools/Makefile.am (LIBJVM): Remove variable.
(AM_CPPFLAGS): Add LIBJVM define.
(gappletviewer_LDFLAGS, gjarsigner_LDFLAGS, gkeytool_LDFLAGS,
gjar_LDFLAGS, gnative2ascii_LDFLAGS, gserialver_LDFLAGS,
gjavah_LDFLAGS): Remove variables.
* tools/toolwrapper.c (main): Use dlopen to load libjvm library.
2006-08-18 Tom Tromey <tromey@redhat.com>
* gnu/java/util/prefs/NodeWriter.java (writeParents): Removed
debugging prints.
* gnu/java/util/prefs/NodeReader.java (readNodes): Removed debugging
print.
(readEntries): Likewise.
2006-08-17 Roman Kennke <kennke@aicas.com>
* javax/swing/plaf/basic/BasicTabbedPaneUI.java
(layoutLabel): Reset the text and icon rectangles.
2006-08-17 Thomas Fitzsimmons <fitzsim@redhat.com>
PR classpath/28537
* native/plugin/Makefile.am (libgcjwebplugin_la_CXXFLAGS):
Transform gappletviewer name using program_transform_name.
2006-08-17 Jeroen Frijters <jeroen@frijters.net>
* javax/swing/filechooser/FileSystemView.java
(getFileSystemView): Always return UnixFileSystemView, since
that's the only one we got. Marked with NotImplementedException.
* javax/swing/plaf/basic/BasicFileChooserUI.java
(mouseClicked, installUI): Don't parse path by hand.
2006-08-17 Roman Kennke <kennke@aicas.com>
* javax/swing/JComponent.java
(scrollRectToVisible): Handle intermediate non-JComponents
more gracefully.
2006-08-17 Roman Kennke <kennke@aicas.com>
* javax/swing/RepaintManager.java
(blitBuffer): Removed. This is now done in commitBuffer().
(commitBuffer): Always paint on the root window or applet.
No need to look for intermediate heavyweights. Optimized
rectangle translation.
(commitRemainingBuffers): Removed. Not needed anymore.
(getHeavyweightParent): Removed. Not needed anymore.
(getOffscreenBuffer): Fetch offscreen image from the
actual root component.
(paintDirtyRegions): Don't call commitRemainingBuffers().
2006-08-17 Roman Kennke <kennke@aicas.com>
* javax/swing/SwingUtilities.java
(clipString): New helper method for trimming strings.
(layoutCompoundLabelImpl): Fixed algorithm to conform
testsuites. Trim text if it's too long. Avoid creating
new Rectangles. Optimized for performance.
(layoutCompoundLabel): Use switch rather then if-else-chain.
* javax/swing/plaf/basic/BasicButtonUI.java
(viewR): New field.
(iconR): New field.
(textR): New field.
(paint): Reset and use cached rectangles. Only call paintIcon()
if icon is not null. Don't call paintButtonPressed() when
button is selected, only when it is both armed and pressed.
* javax/swing/plaf/basic/BasicGraphicsUtils.java
(getPreferredButtonSize): Reused cached rectangles rather
then creating new ones. Don't create new Rectangle via
Rectangle.union().
* javax/swing/plaf/basic/BasicLabelUI.java
(getPreferredSize): Correctly reset cached rectangles. Especially
the view rect must have a big size to give it room for layouting.
Short cut layout when text == null.
(paint): Correctly reset cached rectangles.
* javax/swing/plaf/basic/BasicMenuItemUI.java
(resetRectangles): New helper method.
(getPreferredMenuItemSize): Correctly reset the cached rectangles.
(paintMenuItem): Correctly reset the cached rectangles.
* javax/swing/plaf/basic/BasicRadioButtonUI.java
(getPreferredSize): Use cached Rectangle objects and initialize
them correctly.
(paint): Use cached Rectangle objects and initialize
them correctly.
2006-08-17 David Gilbert <david.gilbert@object-refinery.com>
* java/util/Calendar.java: API doc additions.
2006-08-17 Robert Schuster <robertschuster@fsfe.org>
* javax/swing/DefaultButtonModel.java:
(setRollover): Simplified statement.
2006-08-17 Jeroen Frijters <jeroen@frijters.net>
* gnu/java/rmi/server/RMIClassLoaderImpl.java
(loadClass): Rewritten to use getClassLoader.
(loadProxyClass): Implemented.
(getClassLoader): Fixed support for null or empty codebase.
* gnu/java/rmi/server/RMIObjectInputStream.java
(resolveClass): Use user class loader as default class loader.
(resolveProxyClass): Delegate to RMIClassLoader.loadProxyClass.
* gnu/javax/rmi/CORBA/UtilDelegateImpl.java
(loadClass): Simplified and use user class loader instead of
context class loader as default.
* java/io/ObjectInputStream.java
(currentLoader): Use VMStackWalker.firstNonNullClassLoader().
* vm/reference/gnu/classpath/VMStackWalker.java
(firstNonNullClassLoader): New method.
* vm/reference/java/io/VMObjectInputStream.java
(loaderAction, currentClassLoader): Removed.
2006-08-17 Robert Schuster <robertschuster@fsfe.org>
* javax/swing/plaf/basic/BasicTabbedPaneUI.java:
(getTabBounds(JTabbedPane, int)): Added code to shift rectangle
by current scroll offset, added method documention.
(getTabBounds(int, Rectangle)): Added method documentation.
* javax/swing/plaf/metal/MetalTabbedPaneUI.java:
(paintContentBorderLeftEdge): Changed y to 1.
2006-08-17 Robert Schuster <robertschuster@fsfe.org>
* javax/swing/plaf/basic/BasicTabbedPaneUI.java:
(MouseHandler.mouseReleased): Implemented.
(MouseHandler.mousePressed): Added delegation to tabbed pane.
(MouseHandler.mouseEntered): Dito.
(MouseHandler.mouseExited): Dito.
(MouseHandler.mouseMoved): Dito.
(MouseHandler.redispatchEvent): New method.
(PropertyChangeHandler.propertyChange): Added extra block level,
added code to handle tab placement changes, added comment.
(updateViewPosition): Set unneeded coordinate to 0, added comment.
2006-08-16 Roman Kennke <kennke@aicas.com>
* gnu/javax/swing/text/html/css/CSSScanner.java: New file.
* gnu/javax/swing/text/html/css/CSSLexicalException.java:
New file.
2006-08-16 Mark Wielaard <mark@klomp.org>
* java/awt/Component.java (orientation): Renamed to
componentOrientation.
(setComponentOrientation): Use new field name.
(getComponentOrientation): Likewise.
2006-08-16 Roman Kennke <kennke@aicas.com>
PR 28750
* javax/swing/plaf/basic/BasicTreeUI.java
(CellEditorHandler.editingCancelled): Call completeEditing
directly.
(CellEditorHandler.editingStopped): Call completeEditing
directly.
(NodeDimensionHandler.getNodeDimensions): Rewritten
to use the preferred sizes of the renderer and editor.
(TreeExpansionHandler.treeCollapsed): Complete editing
here.
(TreeSelectionHandler.valueChanged): Complete editing
here.
(cancelEditing): Call completeEditing with false, false and
false. Don't call finish (removed method).
(completeEditing(boolean,boolean,boolean): Only do something when
stopEditingInCompleteEditing is true. Nullify editingComponent
and editingPath. Remove editingComponent from tree. Update
the layout when necessary and repaint.
(completeEditing): Stop editing when necessary.
(editorRequestFocus): New helper method. Request focus
on the actual editor.
(finish) Removed. This is now done in completeEditing().
(prepareForUIInstall): Set stopEditingInCompleteEditing to true.
(setLargeModel): Complete editing here.
(setRootVisible): Complete editing here.
(setRowHeight): Complete editing here.
(setSelectionModel): Complete editing here.
(startEditing): Correctly initialize and start editing.
(updateExpandedDescendants): Complete editing here.
* javax/swing/tree/DefaultTreeCellEditor.java
(DefaultTextField): Fetch size from super and use renderer's height
if appropriate.
(EditorContainer.EditorContainer): Set layout to null, just
to make sure.
(EditorContainer.doLayout): Layout so that the editor
is offset to the right of the icon.
(EditorContainer.getPreferredSize): Implemented to
provide a reasonable preferred size.
(EditorContainer.paint): Position icon in the middle.
Also paint border if appropriate.
(EditorContainer.setBounds): Removed.
(RealEditorListener): Removed.
(DefaultTreeCellEditor): Set correct border.
(cancelCellEditing): Message real editor. Call finish().
(createCellEditor): Don't add listener.
(determineOffset): Correctly determine offset, and update
the icon.
(finish): New helper method.
(getTreeCellEditorComponent): Set correct font. Call
prepareForEditing() and determineOffset() to correctly initialize
the state.
(stopCellEditing): Messsage realEditor to stop editing. Call
finish to clean up.
(stopEditingTimer): Removed.
(valueChanged): Correctly reset lastPath.
* javax/swing/tree/DefaultTreeCellRenderer.java
(getPreferredSize): Return super plus some extra space for
better readability.
2006-08-16 Roman Kennke <kennke@aicas.com>
* javax/swing/plaf/metal/MetalTreeUI.java
(LineStyleListener): New property listener, that updates
the line style setting if the corresponding property
changes.
(lineStyleListener): New field.
(lineStyle): New field.
(LINE_STYLE_ANGLED): New constant field.
(LINE_STYLE_HORIZONTAL): New constant field.
(LINE_STYLE_NONE): New constant field.
(LINE_STYLE_VALUE_ANGLED): New constant field.
(LINE_STYLE_VALUE_HORIZONTAL): New constant field.
(LINE_STYLE_VALUE_NONE): New constant field.
(LINE_STYLE_PROPERTY): New constant field.
(decodeLineStyle): Implemented.
(installUI): Install line style listener. Set initial
lineStyle.
(uninstallUI): Uninstall line style listener.
(paintHorizontalPartOfLeg): Only call super for angled
lineStyle.
(paintVerticalPartOfLeg): Only call super for angled
lineStyle.
(paintHorizontalSeparators): Implemented.
(paint): If lineStyle==HORIZONTAL, call
paintHorizontalSeparators().
* examples/gnu/classpath/examples/swing/TreeDemo.java
(createContent): Add panel for selecting line styles.
2006-08-16 Robert Schuster <robertschuster@fsfe.org>
* examples/gnu/classpath/demo/swing/TabbedPaneDemo.java:
(createContent): Rewritten.
(createPlacementChangingMenuItem): New method.
(createLayoutPolicyChangingMenuItem): New method.
(createTabbedPane): New method.
(createTabContent): New method.
2006-08-16 Robert Schuster <robertschuster@fsfe.org>
* javax/swing/plaf/basic/BasicTabbedPaneUI.java:
(MouseHandler.mousePressed): Fixed indentation, intercept clicks on
disabled tabs, do proper revalidation in WRAP_TAB_LAYOUT mode.
2006-08-16 Robert Schuster <robertschuster@fsfe.org>
* javax/swing/text/WrappedPlainView.java:
(WrappedLine.modelToView): Provide variable pos as argument and not a fixed value.
(calculateBreakPosition): Add p0 to return value.
2006-08-15 Roman Kennke <kennke@aicas.com>
* javax/swing/plaf/basic/BasicTreeUI.java
(MouseHandler.selectedOnPress): New field.
(MouseHandler.handleEvent): New helper method for handling
selection and start/stop editing for mouse events.
(MouseHandler.mouseDragged): Commented as no-op method.
(MouseHandler.mouseMoved): Commented as no-op method.
(MouseHandler.mousePressed): Use handleEvent() to handle
selection and editing handling.
(MouseHandler.mouseReleased): Use handleEvent() to handle
selection and editing handling.
(MouseInputHandler.MouseInputHandler): Register itself
as mouse listener on source. Redispatch event to
destination.
(MouseInputHandler.dispatch): New helper method.
(MouseInputHandler.mouseClicked): Dispatch event.
(MouseInputHandler.mouseDragged): Dispatch event.
(MouseInputHandler.mouseEntered): Stop dispatching
if dragging stopped.
(MouseInputHandler.mouseExited): Stop dispatching
if dragging stopped.
(MouseInputHandler.mouseMoved): Stop dispatching.
(MouseInputHandler.mousePressed): Marked as no-op.
(MouseInputHandler.mouseReleased): Dispatch and stop
dispatching afterwards.
(MouseInputHandler.removeFromSource): Implemented.
(PropertyChangeHandler.propertyChange): Also handle
editable property changes by calling setEditable().
(SelectionModelPropertyChangeHandler.propertyChange):
Reset row selection.
(startEditTimer): Removed.
(setCellEditor): Call updateEditor().
(setEditable): Call updateEditor().
(startEditingAtPath): Make path fully visible before starting
editing.
(startEditing): Maybe cancel previous edit session. Add
editing component itself, not its parent container.
Register MouseInputHandler for correctly redispatching
initial events.
(stopEditing): Message cellEditor and only completeEditing()
when approved by cell editor.
(updateCellEditor): Complete editing before updating
the cell editor. Get cell editor from JTree if possible,
otherwise create default editor. Update the listeners
on the editor.
* javax/swing/tree/DefaultTreeCellEditor.java
(CLICK_COUNT_TO_START): Removed.
(DefaultTreeCellEditor): Install correct border. Let setTree()
update the listeners. Don't initialize lastPath and font yet.
(actionPerformed): Implemented to start editing.
(createTreeCellEditor): Set click count to start to 1, rather than
3.
(isCellEditable): Prepare editor here. Determine if we can
start immediately, or if we trigger a timer to do so.
(prepareForEditing): Don't removeAll() (not necessary),
check editingComponent to be non-null.
(setTree): Update listeners.
(shouldStartEditingTimer): Check for left mouse button.
(startEditingTimer): Lazily create timer.
2006-08-15 Lillian Angel <langel@redhat.com>
* java/awt/dnd/DropTargetDragEvent.java
(getTransferable): Implemented.
2006-08-15 Roman Kennke <kennke@aicas.com>
* java/util/Vector.java
(removeAll): Added comment about NPE.
(retainAll): Added comment about NPE.
2006-08-15 Roman Kennke <kennke@aicas.com>
* java/util/zip/ZipFile.java
(UTF8DECODER): Removed.
(UTF8CHARSET): New constant field. Stores the UTF8 charset.
(utf8Decoder): New instance field.
(decodeChars): Lazily create UTF8 decoder. Use instance
field rather than a static field to avoid corruption.
2006-08-15 Roman Kennke <kennke@aicas.com>
* java/io/PrintStream.java
(line_separator): Provide default for system property.
* java/io/FileDescriptor.java
(valid): Create local copy of channel field for better
threading safetly.
2006-08-15 Ingo Proetel <proetel@aicas.com>
* java/util/zip/ZipFile.java
(PartialInputStream.UTF8DECODER): New constant field, used
for decoding UTF8 strings.
(readLeShort): Access buffer directly if it has enough bytes
available.
(readLeInt): Access buffer directly if it has enough bytes
available.
(decodeChars): New helper method for decoding UTF8 strings.
(readString): Avoid NIO charset decoder if possible.
2006-08-15 Roman Kennke <kennke@aicas.com>
* java/util/Vector.java
(removeAll): Don't explicitly null-check here. The RI allows
null arguments when Vector is empty. In other cases we
implicitly throw an NPE.
(retainAll): Don't explicitly null-check here. The RI allows
null arguments when Vector is empty. In other cases we
implicitly throw an NPE.
2006-08-14 Casey Marshall <csm@gnu.org>
Merge in ssl-nio-branch work. See `ChangeLog-ssl-nio' for a record
of changes made on this branch.
Files modified:
* gnu/classpath/debug/Component.java
* gnu/classpath/debug/SystemLogger.java
* gnu/java/security/action/GetPropertyAction.java
* gnu/java/security/action/GetSecurityPropertyAction.java
* gnu/javax/crypto/RSACipherImpl.java
* gnu/javax/net/ssl/PrivateCredentials.java
* gnu/javax/net/ssl/provider/Alert.java
* gnu/javax/net/ssl/provider/AlertException.java
* gnu/javax/net/ssl/provider/Certificate.java
* gnu/javax/net/ssl/provider/CertificateRequest.java
* gnu/javax/net/ssl/provider/CertificateType.java
* gnu/javax/net/ssl/provider/CertificateVerify.java
* gnu/javax/net/ssl/provider/CipherSuite.java
* gnu/javax/net/ssl/provider/ClientHello.java
* gnu/javax/net/ssl/provider/ClientKeyExchange.java
* gnu/javax/net/ssl/provider/CompressionMethod.java
* gnu/javax/net/ssl/provider/Constructed.java
* gnu/javax/net/ssl/provider/ContentType.java
* gnu/javax/net/ssl/provider/DiffieHellman.java
* gnu/javax/net/ssl/provider/Extension.java
* gnu/javax/net/ssl/provider/Finished.java
* gnu/javax/net/ssl/provider/Handshake.java
* gnu/javax/net/ssl/provider/Jessie.java
* gnu/javax/net/ssl/provider/ProtocolVersion.java
* gnu/javax/net/ssl/provider/Random.java
* gnu/javax/net/ssl/provider/ServerHello.java
* gnu/javax/net/ssl/provider/ServerKeyExchange.java
* gnu/javax/net/ssl/provider/Signature.java
* gnu/javax/net/ssl/provider/Util.java
* gnu/javax/net/ssl/provider/X509KeyManagerFactory.java
* gnu/javax/net/ssl/provider/X509TrustManagerFactory.java
* java/security/MessageDigest.java
* java/security/MessageDigestSpi.java
* java/security/Signature.java
* java/security/SignatureSpi.java
* javax/crypto/Mac.java
* javax/crypto/MacSpi.java
* javax/net/ssl/HandshakeCompletedEvent.java
* javax/net/ssl/HttpsURLConnection.java
* javax/net/ssl/SSLContext.java
* javax/net/ssl/SSLContextSpi.java
* javax/net/ssl/SSLSession.java
Files added:
* gnu/javax/net/ssl/provider/ServerKeyExchangeBuilder.java
* gnu/javax/net/ssl/provider/SSLv3HMacSHAImpl.java
* gnu/javax/net/ssl/provider/SimpleSessionContext.java
* gnu/javax/net/ssl/provider/ServerRSAParams.java
* gnu/javax/net/ssl/provider/SSLContextImpl.java
* gnu/javax/net/ssl/provider/ServerDHParams.java
* gnu/javax/net/ssl/provider/ClientHelloBuilder.java
* gnu/javax/net/ssl/provider/ClientDHE_PSKParameters.java
* gnu/javax/net/ssl/provider/SignatureAlgorithm.java
* gnu/javax/net/ssl/provider/CipherSuiteList.java
* gnu/javax/net/ssl/provider/ServerNameList.java
* gnu/javax/net/ssl/provider/SSLServerSocketImpl.java
* gnu/javax/net/ssl/provider/CompressionMethodList.java
* gnu/javax/net/ssl/provider/ServerRSA_PSKParameters.java
* gnu/javax/net/ssl/provider/ClientKeyExchangeBuilder.java
* gnu/javax/net/ssl/provider/TrustedAuthorities.java
* gnu/javax/net/ssl/provider/CertificateStatusRequest.java
* gnu/javax/net/ssl/provider/ServerHelloDone.java
* gnu/javax/net/ssl/provider/ServerDHE_PSKParameters.java
* gnu/javax/net/ssl/provider/SSLSocketImpl.java
* gnu/javax/net/ssl/provider/ServerHelloBuilder.java
* gnu/javax/net/ssl/provider/Record.java
* gnu/javax/net/ssl/provider/SSLRSASignatureImpl.java
* gnu/javax/net/ssl/provider/EncryptedPreMasterSecret.java
* gnu/javax/net/ssl/provider/PreSharedKeyManagerFactoryImpl.java
* gnu/javax/net/ssl/provider/KeyExchangeAlgorithm.java
* gnu/javax/net/ssl/provider/SSLServerSocketFactoryImpl.java
* gnu/javax/net/ssl/provider/CertificateBuilder.java
* gnu/javax/net/ssl/provider/ClientRSA_PSKParameters.java
* gnu/javax/net/ssl/provider/CertificateStatusType.java
* gnu/javax/net/ssl/provider/ExtensionList.java
* gnu/javax/net/ssl/provider/ClientCertificateTypeList.java
* gnu/javax/net/ssl/provider/ClientPSKParameters.java
* gnu/javax/net/ssl/provider/X500PrincipalList.java
* gnu/javax/net/ssl/provider/ServerHandshake.java
* gnu/javax/net/ssl/provider/ClientDiffieHellmanPublic.java
* gnu/javax/net/ssl/provider/SessionImpl.java
* gnu/javax/net/ssl/provider/SSLSocketFactoryImpl.java
* gnu/javax/net/ssl/provider/ServerPSKParameters.java
* gnu/javax/net/ssl/provider/TruncatedHMAC.java
* gnu/javax/net/ssl/provider/MaxFragmentLength.java
* gnu/javax/net/ssl/provider/HelloRequest.java
* gnu/javax/net/ssl/provider/ServerKeyExchangeParams.java
* gnu/javax/net/ssl/provider/UnresolvedExtensionValue.java
* gnu/javax/net/ssl/provider/CipherAlgorithm.java
* gnu/javax/net/ssl/provider/ClientHandshake.java
* gnu/javax/net/ssl/provider/ExchangeKeys.java
* gnu/javax/net/ssl/provider/CertificateURL.java
* gnu/javax/net/ssl/provider/EmptyExchangeKeys.java
* gnu/javax/net/ssl/provider/CertificateRequestBuilder.java
* gnu/javax/net/ssl/provider/SSLv3HMacMD5Impl.java
* gnu/javax/net/ssl/provider/Builder.java
* gnu/javax/net/ssl/provider/Debug.java
* gnu/javax/net/ssl/provider/SSLEngineImpl.java
* gnu/javax/net/ssl/provider/MacAlgorithm.java
* gnu/javax/net/ssl/provider/DelegatedTask.java
* gnu/javax/net/ssl/provider/InputSecurityParameters.java
* gnu/javax/net/ssl/provider/ClientHelloV2.java
* gnu/javax/net/ssl/provider/OutputSecurityParameters.java
* gnu/javax/net/ssl/provider/AbstractHandshake.java
* javax/net/ssl/SSLEngine.java
* javax/net/ssl/CertPathTrustManagerParameters.java
* javax/net/ssl/KeyStoreBuilderParameters.java
* javax/net/ssl/X509ExtendedKeyManager.java
* javax/net/ssl/SSLEngineResult.java
* gnu/javax/net/ssl/PreSharedKeyManager.java
* gnu/javax/net/ssl/Session.java
* gnu/javax/net/ssl/PreSharedKeyManagerParameters.java
* gnu/javax/net/ssl/SSLCipherSuite.java
* gnu/javax/net/ssl/AbstractSessionContext.java
* gnu/javax/net/ssl/SessionStoreException.java
* gnu/javax/net/ssl/SSLRecordHandler.java
* gnu/javax/net/ssl/SSLProtocolVersion.java
* gnu/javax/crypto/key/GnuPBEKey.java
* gnu/java/security/util/ByteBufferOutputStream.java
* gnu/java/security/Requires.java
* gnu/javax/security/auth/callback/CertificateCallback.java
Files removed:
* gnu/javax/net/ssl/provider/Context.java
* gnu/javax/net/ssl/provider/DigestInputStream.java
* gnu/javax/net/ssl/provider/DigestOutputStream.java
* gnu/javax/net/ssl/provider/Enumerated.java
* gnu/javax/net/ssl/provider/Extensions.java
* gnu/javax/net/ssl/provider/GNUSecurityParameters.java
* gnu/javax/net/ssl/provider/JCESecurityParameters.java
* gnu/javax/net/ssl/provider/JDBCSessionContext.java
* gnu/javax/net/ssl/provider/JessieDHPrivateKey.java
* gnu/javax/net/ssl/provider/JessieDHPublicKey.java
* gnu/javax/net/ssl/provider/JessieRSAPrivateKey.java
* gnu/javax/net/ssl/provider/JessieRSAPublicKey.java
* gnu/javax/net/ssl/provider/KeyPool.java
* gnu/javax/net/ssl/provider/OverflowException.java
* gnu/javax/net/ssl/provider/RecordInput.java
* gnu/javax/net/ssl/provider/RecordInputStream.java
* gnu/javax/net/ssl/provider/RecordOutputStream.java
* gnu/javax/net/ssl/provider/RecordingInputStream.java
* gnu/javax/net/ssl/provider/SSLRSASignature.java
* gnu/javax/net/ssl/provider/SSLServerSocket.java
* gnu/javax/net/ssl/provider/SSLServerSocketFactory.java
* gnu/javax/net/ssl/provider/SSLSocket.java
* gnu/javax/net/ssl/provider/SSLSocketFactory.java
* gnu/javax/net/ssl/provider/SSLSocketInputStream.java
* gnu/javax/net/ssl/provider/SSLSocketOutputStream.java
* gnu/javax/net/ssl/provider/SecurityParameters.java
* gnu/javax/net/ssl/provider/Session.java
* gnu/javax/net/ssl/provider/SessionContext.java
* gnu/javax/net/ssl/provider/SynchronizedRandom.java
* gnu/javax/net/ssl/provider/XMLSessionContext.java
2006-08-14 Roman Kennke <kennke@aicas.com>
* javax/swing/plaf/basic/BasicSplitPaneDivider.java
(DividerLayout.layoutContainer): Removed debug output.
* javax/swing/plaf/basic/BasicSplitPaneUI.java
(BasicHorizontalLayoutManager.axis): New field.
(BasicHorizontalLayoutManager.BasicHorizontalLayoutManager(int)):
New constructor.
(BasicHorizontalLayoutManager.BasicHorizontalLayoutManager()):
Call new axis constructor.
(BasicHorizontalLayoutManager.getAvailableSize): Refactored to
handle direction.
(BasicHorizontalLayoutManager.getInitialLocation): Refactored to
handle direction.
(BasicHorizontalLayoutManager.getPreferredSizeOfComponent):
Refactored to handle direction.
(BasicHorizontalLayoutManager.getSizeOfComponent): Refactored
to handle direction.
(BasicHorizontalLayoutManager.minimumLayoutSize): Refactored to
handle direction.
(BasicHorizontalLayoutManager.preferredLayoutSize): Refactored
to handle direction.
(BasicHorizontalLayoutManager.minimumSizeOfComponent): Refactored
to handle direction.
(BasicHorizontalLayoutManager.setComponentToSize): Refactored
to handle direction.
(BasicHorizontalLayoutManager.updateComponents): Don't reset
divider size.
(BasicVerticalLayoutManager.BasicVerticalLayoutManager):
New explicit constructor. Calls super with vertical axis.
(BasicVerticalLayoutManager.getAvailableSize): Functionality moved
to BasicHorizontalLayoutManager.
(BasicVerticalLayoutManager.getInitialLocation): Functionality
moved to BasicHorizontalLayoutManager.
(BasicVerticalLayoutManager.getPreferredSizeOfComponent):
Functionality moved to BasicHorizontalLayoutManager.
(BasicVerticalLayoutManager.getSizeOfComponent): Functionality
moved to BasicHorizontalLayoutManager.
(BasicVerticalLayoutManager.minimumLayoutSize): Functionality
moved to BasicHorizontalLayoutManager.
(BasicVerticalLayoutManager.minimumSizeOfComponent):
Functionality moved to BasicHorizontalLayoutManager.
(BasicVerticalLayoutManager.preferredLayoutSize): Functionality
moved to BasicHorizontalLayoutManager.
(BasicVerticalLayoutManager.setComponentToSize): Functionality
moved to BasicHorizontalLayoutManager.
* javax/swing/plaf/metal/MetalSplitPaneDivider.java
(BUTTON_SPRITE): Renamed to BUTTON_SPRITE_L.
(BUTTON_SPRITE_R): New constant field.
(MetalOneTouchButton.paint): Paint R sprite for right buttons,
L sprite for left buttons.
2006-08-14 Andreas Tobler <a.tobler@schweiz.ch>
* native/jni/gtk-peer/gnu_java_awt_peer_gtk_GdkPixbufDecoder.c
(query_formats): g_free 'name' after usage.
g_strfreev 'ch', the gdk_pixbuf_format_get_extensions instance.
g_strfreev 'ch', the gdk_pixbuf_format_get_mime_types instance.
2006-08-14 Thomas Fitzsimmons <fitzsim@redhat.com>
PR classpath/27723
* configure.ac (MOZILLA_FOUND): Add pkg-config check for
seamonkey-plugin.
2006-08-14 Francis Kung <fkung@redhat.com>
PR 28694
* java/awt/image/ColorModel.java
(coerceData): Added check for non-transparent images.
2006-08-14 Francis Kung <fkung@redhat.com>
* java/awt/image/BandCombineOp.java
(BandCombineOp): Perform checks on validity of matrix.
(createCompatibleDestRaster): Add checks and choose raster type dynamically.
(filter): Updated to work with new matrix storage.
(getMatrix): Updated javadoc.
(getPoint2D): Formatting change.
2006-08-14 Francis Kung <fkung@redhat.com>
* java/awt/image/AffineTransformOp.java
(AffineTransformOp): Updated javadoc.
(createCompatibleDestImage): Match behaviour of reference implementation.
(createCompatibleDestRaster): Formatting changes.
(filter(BufferedImage, BufferedImage)): Create compatible destination image.
(filter(Raster, WritableRaster)): Re-implemented.
(filterBicubic): New private method.
(filterBilinear): New private method.
(filterNearest): New private method.
(getBounds2D): No longer fixed around one point for rotations.
(getInterpolationType): Add support for bicubic interpolation.
2006-08-14 Roman Kennke <kennke@aicas.com>
* javax/swing/plaf/metal/MetalLookAndFeel.java
(MetalLookAndFeel): Moved theme initialization to
getDefaults().
(createDefaultTheme): Forward to getCurrentTheme().
(getDefaults): Initialize theme before doing anything else.
(getCurrentTheme): Recognize swing.metalTheme property.
2006-08-14 Roman Kennke <kennke@aicas.com>
* javax/swing/JTable
(getScrollableUnitIncrement): Expose partially exposed
row in scrolling direction.
2006-08-14 Audrius Meskauskas <AudriusA@Bioinformatics.org>
* javax/swing/JTable (getScrollableUnitIncrement):
Removing my name as the whole method body have been
recently completely replaced.
2006-08-14 Roman Kennke <kennke@aicas.com>
PR 28028
* javax/swing/text/Utilities.java
(getTabbedTextOffset): Don't add p0 here.
2006-08-14 Roman Kennke <kennke@aicas.com>
PR 28719
* javax/swing/plaf/basic/BasicScrollPaneUI.java
(MouseWheelHandler.mouseWheelMoved): Scroll negative delta
when wheel is going up.
2006-08-14 Roman Kennke <kennke@aicas.com>
PR 28693
* javax/swing/plaf/basic/BasicSplitPaneDivider.java
(BasicOneTouchButton): New inner class.
(DividerLayout.changeButtonOrientation): Removed.
(DividerLayout.positionButtons): Moved into layoutContainer.
(DividerLayout.layoutContainer): Reworked for correct layout.
(OneTouchAction): New inner class.
(centerOneTouchButtons): New field.
(BasicSplitPaneDivider): Initialize centerOneTouchButton from
UIManager.
(createLeftOneTouchButton): Reimplemented to return
BasicOneTouchButton.
(createRightOneTouchButton): Reimplemented to return
BasicOneTouchButton.
(getPreferredSize): Reimplemented to return fixed preferredSize.
(oneTouchExpandableChanged): Add OneTouchAction action to
buttons. Don't install mouse listeners.
(MouseHandler.mousePressed): Removed handling of one touch buttons.
(paint): Don't trigger extra paint for buttons.
(propertyChange): Revalidate splitPane when orientation is changed.
(setBasicSplitPaneUI): Call oneTouchExpandableChanged only when
oneTouchExpandable is true.
* javax/swing/plaf/basic/BasicSplitPaneUI.java
(installDefaults): Install dividerSize on the divider too.
* javax/swing/plaf/metal/MetalSplitPaneDivider.java
(MetalDividerLayout): Removed. Functionality is already
in BasicSplitPaneDivider.DividerLayout.
(MetalOneTouchButton): New inner class.
(BUTTON_SPRITE): New constant field.
(MetalSplitPaneDivider): Don't change layout.
(createLeftOneTouchButton): Overridden to return custom button
for Metal.
(createRightOneTouchButton): Overridden to return custom button
for Metal.
(paint): Don't trigger button painting. Call super instead.
2006-08-13 Roman Kennke <kennke@aicas.com>
* javax/swing/plaf/basic/BasicTableHeaderUI.java
(installKeyboardAction): Unmarked as stub. Added comment
explaining that the RI seems to do nothing here.
(uninstallKeyboardAction): Unmarked as stub. Added comment
explaining that the RI seems to do nothing here.
2006-08-13 Roman Kennke <kennke@aicas.com>
PR 28135
* javax/swing/ScrollPaneLayout.java
(layoutContainer): Consider the viewportBorder of the
JScrollPane.
(minimumLayoutSize): Consider the viewportBorder of the
JScrollPane.
(preferredLayoutSize): Consider the viewportBorder of the
JScrollPane.
* javax/swing/plaf/basic/BasicScrollPaneUI.java
(installDefaults): Also install viewportBorder if specified.
(paint): Paint viewportBorder if present.
(uninstallDefaults): Uninstall viewportBorder if appropriate.
Don't nullify foreground, background and font. Uninstall
border via LookAndFeel helper method to avoid uninstall
user set border.
2006-08-13 Roman Kennke <kennke@aicas.com>
PR 28696
* javax/swing/plaf/basic/BasicHTML.java
(HTMLRootView.HTMLRootView): Trigger initial layout.
(HTMLRootView.setSize): Overridden to forward to real view.
* javax/swing/plaf/basic/BasicToolTipUI.java
(PropertyChangeHandler): New inner class. Updates the HTML
renderer.
(propertyChangeHandler): New field.
(getMaximumSize): Add HTML width delta.
(getMinimumSize): Add HTML width delta.
(getPreferredSize): Reimplemented to use HTML view for size
calculation if appropriate, otherwise use simple stringWidth()
measurement.
(installListeners): Install propertyChangeHandler.
(uninstallListeners): Uninstall propertyChangeHandler.
(installUI): Update HTML renderer.
(uninstallUI): Update HTML renderer.
(paint): Reimplemented to use HTML view for rendering if
appropriate, simple drawString otherwise.
* javax/swing/plaf/metal/MetalToolTipUI.java
(getPreferredSize): Call super and add accelerator delta.
(paint): Simply call super.
2006-08-13 Roman Kennke <kennke@aicas.com>
* javax/swing/JMenu.java
(changeListener): Renamed to menuChangeListener to avoid
shadowing changeListener field from AbstractButton.
2006-08-13 Roman Kennke <kennke@aicas.com>
* javax/swing/JTree.java
(getScrollableUnitIncrement): Fixed direction.
(getScrollableBlockIncrement): Implemented to scroll one
page.
* javax/swing/tree/VariableHeightLayoutCache.java
(distance): Consider y + height already outside the node.
2006-08-13 Roman Kennke <kennke@aicas.com>
* javax/swing/JTable.java
(getScrollableUnitIncrement): Fixed direction. Make it behave
like the RI.
(getScrollableBlockIncrement): Fixed direction. Make it behave
like the RI.
2006-08-13 Roman Kennke <kennke@aicas.com>
* javax/swing/JList.java
(getScrollableUnitIncrement): Fixed direction. Implemented
horizontal scrolling. Improved usability.
(getScrollableBlockIncrement): Fixed direction. Improved usability.
2006-08-13 Roman Kennke <kennke@aicas.com>
* javax/swing/plaf/basic/BasicScrollBarUI.java
(scrollByUnit): Scroll by -unit when direction is not positive
and +unit otherwise.
(scrollByBlock): Scroll by -unit when direction is not positive
and +unit otherwise.
2006-08-13 Roman Kennke <kennke@aicas.com>
PR 28028
* javax/swing/text/PlainView.java
(paint): Limit painted area to the lines inside the clip
and allocation.
2006-08-13 Roman Kennke <kennke@aicas.com>
* javax/swing/plaf/basic/BasicTextUI.java
(uninstallListeners): Unregister document listener.
2006-08-13 Sven de Marothy <sven@physto.se>
* java/util/Locale.java
(hashcodeCache): New field.
(hashCode): use the above field instead of the serialized one
(writeObject): Removed method.
(readObject): Intern strings.
(equals): Revert to previous method.
2006-08-13 Roman Kennke <kennke@aicas.com>
* javax/swing/JTabbedPane.java
(JTabbedPane): Call setModel() here and let this install the
change listener correctly.
(setModel): Correctly uninstall and reinstall ChangeListener when
model changes.
2006-08-13 Raif S. Naffah <raif@swiftdsl.com.au>
PR Classpath/23952
* java/util/ResourceBundle.java (CACHE_SIZE): New constant.
(bundleCache): Replaced with an LRU of CACHE_SIZE elements.
(lastDefaultLocale): Removed.
(emptyLocale): Likewise.
(BundleKey.defaultLocale): New field.
(BundleKey.BundleKey): Add a Locale (as a 1st positional) argument.
(BundleKey.set): Likewise.
(BundleKey.equals): Take defaultLocal field into consideration.
(getBundle(String, Locale, ClassLoader)): Use updated BundleKey and LRU.
2006-08-13 Roman Kennke <kennke@aicas.com>
* javax/swing/JMenu.java
(MenuChangeListener): New inner class, helps firing menu events.
(changeListener): New field.
(add(text)): Create new JMenuItem here and call add(JMenuItem).
(add(Action)): Create Action using createActionComponent()
and add via add(Component).
(setModel): Install and uninstall MenuChangeListener here.
2006-08-13 Raif S. Naffah <raif@swiftdsl.com.au>
PR Classpath/27372
* java/math/BigInteger.java: Updated copyright year.
(init): Consume as little bytes as possible.
(BigInteger(int, int, Random)): Ensure bitLength bits are used.
(valueOf(String, int)): Throw NumberFormatException for malformed strings
as per RI's documentation.
2006-08-13 Sven de Marothy <sven@physto.se>
* java/util/Locale.java
(hashcode): Is a serialized field, not transient.
(equals): Should NOT compare strings by reference.
(readObject/writeObject): Use the default methods and handle the hash
seperately.
2006-08-13 Raif S. Naffah <raif@swiftdsl.com.au>
PR Classpath/28678
* gnu/java/security/Engine.java (getInstance(String, String, Provider)):
Updated documentation.
Formatting.
(getInstance(String, String, Provider, Object[])): Likewise.
Separate checks for null and empty string arguments.
Include as much information as possible in the exception's message.
Do not swallow original exception; instead use it as the cause of the
resulting exception.
* gnu/javax/security/auth/callback/AbstractCallbackHandler.java
(getInstance(String)): Updated documentation.
Formatting.
Store last exception caught when iterating through all providers.
If no implementation found, raise last exception if one was caught.
(getInstance(String, String)): Updated documentation.
Formatting.
Check for null or empty provider as per RI-5's documentation.
(getInstance(String, Provider)): Updated documentation.
Formatting.
Use as much information as possible in the exception message.
Do not swallow original exception; instead use it as the cause for the
ultimate raised exception(s).
* java/security/cert/CertificateFactory.java: Likewise.
* java/security/cert/CertPathBuilder.java: Likewise.
* java/security/cert/CertPathValidator.java: Likewise.
* java/security/cert/CertStore.java: Likewise.
* java/security/AlgorithmParameterGenerator.java: Likewise.
* java/security/AlgorithmParameters.java: Likewise.
* java/security/KeyFactory.java: Likewise.
* java/security/KeyPairGenerator.java: Likewise.
* java/security/KeyStore.java: Likewise.
* java/security/MessageDigest.java: Likewise.
* java/security/SecureRandom.java: Likewise.
* java/security/Signature.java: Likewise.
* javax/crypto/Cipher.java: Likewise.
* javax/crypto/ExemptionMechanism.java: Likewise.
* javax/crypto/KeyAgreement.java: Likewise.
* javax/crypto/KeyGenerator.java: Likewise.
* javax/crypto/Mac.java: Likewise.
* javax/crypto/SecretKeyFactory.java: Likewise.
* javax/net/ssl/KeyManagerFactory.java: Likewise.
* javax/net/ssl/SSLContext.java: Likewise.
* javax/net/ssl/TrustManagerFactory.java: Likewise.
2006-08-13 Roman Kennke <kennke@aicas.com>
* javax/swing/JEditorPane.java
(getScrollableTracksViewportHeight): Also check maximum size.
* javax/swing/JTextPane.java
(insertIcon): Use input attributes for adding the icon
attribute.
* javax/swing/plaf/basic/BasicTextUI.java
(RootView.setSize): Overridden to forward to real view.
(getPreferredSize): Trigger setSize() on the view.
(viewToModel(JTextComponent,Point)): Pass Position.Bias array
to viewToModel() call, rather then null.
* javax/swing/text/ParagraphView.java
(changedUpdate): Invalide layout. Call super.
* javax/swing/text/SimpleAttributeSet.java
(clone): Use super's clone method to create clone.
* javax/swing/text/StyleConstants.java
(setIcon): Also set element name attribute.
* javax/swing/text/StyledEditorKit.java
(BoldAction.actionPerformed): Actually set the bold attribute,
not italic.
(setCharacterAttributes): Replaced with more straightforward
impl.
* javax/swing/text/TextAction.java
(getFocusedComponent): Implemented.
* javax/swing/text/Utilities.java
(getNextVisualPositionFrom): Pass Position.Bias arrays instead
of null.
* javax/swing/text/View.java
(changedUpdate): Nullify element change when updateChildren
says so.
2006-08-11 Andrew John Hughes <gnu_andrew@member.fsf.org>
* vm/reference/gnu/java/lang/management/VMMemoryMXBeanImpl.java:
Fix documentation typos.
2006-08-11 David Daney <ddaney@avtrex.com>
PR classpath/28580
* gnu/java/net/protocol/http/Request.java (readResponse): Call
createResponseBodyStream in more cases and with new parameter.
(createResponseBodyStream): Added new parameter mayHaveBody. Handle
HEAD and !mayHaveBody responses specially.
2006-08-11 Roman Kennke <kennke@aicas.com>
* javax/swing/text/GlyphView.java
(DefaultGlyphPainter.modelToView): Fixed model->view mapping.
* javax/swing/text/LabelView.java
(valid): New flag indicating if the text attributes are valid.
(LabelView): Initialize valid field with false.
(setPropertiesFromAttributes): Call setter methods instead
of setting properties directly. Set valid to true.
(changedUpdate): Invalidate attributes. Call super.
(getBackground): Sync attributes if necessary.
(getForeground): Sync attributes if necessary.
(getFont): Sync attributes if necessary.
(isUnderline): Sync attributes if necessary.
(isSuperscript): Sync attributes if necessary.
(isStrikeThrough): Sync attributes if necessary.
(getFontMetrics): Sync attributes if necessary. Fetch font metrics
from toolkit if Container is not available yet.
2006-08-11 Roman Kennke <kennke@aicas.com>
* javax/swing/text/PlainView.java
(tabBase): New field.
(tabSize): New field.
(updateMetrics): Update tabSize.
(lineToRect): Only allocate when really necessary.
(modelToView): Use tabBase for offset calculations.
(paint): Only allocate when really necessary. Update tabBase.
(nextTabStop): Fixed tab calculation.
(viewToModel): Correctly handle multiline text and locations
outside the view's bounds. Set bias.
(getLineLength): Use tabBase.
* javax/swing/text/Utilities.java
(drawTabbedText): Don't special case newlines. The views
must take care of this.
2006-08-11 Roman Kennke <kennke@aicas.com>
* javax/swing/text/GapContent.java
(UndoPosRef): New inner class. Used for resetting positions
after undo/redo operations.
(InsertUndo.positions): New field.
(InsertUndo.undo): Store positions in removed range.
(InsertUndo.redo): Restore positions in re-inserted range.
(UndoRemove.positions): New field.
(UndoRemove.UndoRemove): Store positions in removed range.
(UndoRemove.undo): Restore positions in re-inserted range.
(UndoRemove.redo): Store positions in removed range.
(insertString): Create InsertUndo instance before actually
inserting the string.
(remove): Create UndoRemove instance before actually
removing.
(getPositionsInRange): Don't clear the Vector. Return Vector
of UndoPosRefs.
(updateUndoPositions): Implemented to reset all UndoPosRefs
in the vector.
2006-08-11 Jeroen Frijters <jeroen@frijters.net>
* java/io/ObjectInputStream.java (readClassDescriptor):
Use class's class loader to resolve field types.
* java/io/ObjectStreamField.java
(ObjectStreamField(String,String,ClassLoader)): Removed.
(ObjectStreamField(String,String)): Don't try to resolve typename.
(resolveType): New method.
2006-08-10 Roman Kennke <kennke@aicas.com>
* javax/swing/text/BoxView.java
(calculateMajorAxisRequirements): Sum up the preferred and
maximum sizes.
(isAfter): Also add in the rectangle's with/height.
(childAllocation): Don't trigger layout here.
(layoutMinorAxis): Removed debug output.
(getWidth): Consider the insets.
(getHeight): Consider the insets.
(setSize): Consider the insets.
(updateRequirements): Check axis and throw
IllegalArgumentException.
2006-08-10 Roman Kennke <kennke@aicas.com>
* javax/swing/text/AbstractDocument.java
(BidiRootName): New constant field, denotes the element name
for bidi root elements.
(AsyncLoadPriority): New constant field, denotes the property
to store the asynchronousLoadPriority.
(I18N): New constant field, denotes the property for
I18N support.
(bidiRoot): Made field type BidiRootElement.
(AbstractDocument): Build initial element structure for
bidi.
(getAsynchronousLoadPriority): Implemented. Returns the
value stored in the document properties.
(setAsynchronousLoadPriority): Implemented. Sets the
value stored in the document properties.
(getEndPosition): Implemented to use a Position from the
content.
(getStartPosition): Implemented to use a Position from the
content.
(insertStringImpl): Update the I18N setting if necessary.
(insertUpdate): Update the bidi structure if necessary.
(postRemoveUpdate): Update the bidi structure if necessary.
(putProperty): Update the I18N setting and bidi structure
if necessary.
(updateBidi): New helper method for updating the bidi
structure.
(getBidis): New helper method. Fetches the Bidi analysers
for the paragraphs of the range to check.
(dump): Also dump the bidi structure.
(AbstractElement.dump): Indent the '>' correctly.
(AbstractElement.children): Check numChildren rather then
children.length.
(BidiRootElement): New inner class.
(BidiElement): New inner class.
2006-08-10 Roman Kennke <kennke@aicas.com>
* javax/swing/text/GapContent.java
(getChars): Optimized to only copy array when really necessary.
Respect the partialReturn property.
2006-08-10 Lillian Angel <langel@redhat.com>
* gnu/java/awt/dnd/peer/gtk/GtkDragSourceContextPeer.java
(getComponentPeer): Added check to prevent NPE.
2006-08-10 Gary Benson <gbenson@redhat.com>
* java/security/AccessControlContext.java (<init>):
Avoid a duplicated AccessController.getContext() call.
2006-08-09 Mark Wielaard <mark@klomp.org>
* doc/www.gnu.org/newsitems.txt: Add 0.92.
* doc/www.gnu.org/downloads/downloads.wml: Likewise.
* doc/www.gnu.org/announce/20060809.wml: New file.
2006-08-09 Mark Wielaard <mark@klomp.org>
* configure.ac (VERSION): Set to 0.92-generics.
* NEWS: Add updates for 0.92 release.
2006-08-09 Tom Tromey <tromey@redhat.com>
PR classpath/28658:
* java/text/SimpleDateFormat.java (parse): Let an unquoted space in
the pattern match any number of spaces in the text.
2006-08-09 Sven de Marothy <sven@physto.se>
* java/awt/image/BufferedImage.java
(BufferedImage): Reimplement predefined-type constructor.
(observers/tileObservers): Field renamed to tileObservers.
(createDefaultIndexedColorModel): New method.
2006-08-09 Tom Tromey <tromey@redhat.com>
PR classpath/28666:
* native/jni/gtk-peer/gnu_java_awt_peer_gtk_GdkScreenGraphicsDevice.c
(Java_gnu_java_awt_peer_gtk_GdkScreenGraphicsDevice_nativeGetDisplayModes):
Create a 'short' array.
2006-08-09 Tom Tromey <tromey@redhat.com>
* tools/gnu/classpath/tools/javah/JniHelper.java (getName): Properly
handle arrays.
* tools/gnu/classpath/tools/javah/JniIncludePrinter.java
(writeFields): Print "L" after int constant. Don't mangle the field
name. Only print int/long fields.
2006-08-09 Tom Tromey <tromey@redhat.com>
* tools/gnu/classpath/tools/javah/Main.java (getParser): Name program
"javah".
2006-08-09 Sven de Marothy <sven@physto.se>
* javax/swing/JTree.java
(JTree): Default SelectionModel should be DefaultTreeSelectionModel.
(setSelectionModel): Null parameter should create an EmptySelectionM.
2006-08-09 Roman Kennke <kennke@aicas.com>
* javax/swing/text/AbstractDocument.java
(insertString): Perform modifications inside a write lock.
(insertStringImpl): Don't lock here. This is already done
in insertString().
(replace): Perform modifications inside a write lock.
(AbstractElement.AbstractElement): Call addAttributes() to
add the attributes.
(AbstractElement.getName): Fetch name from the ElementNameAttibute.
(BranchElement.lastIndex): New field. Optimizes getElementIndex().
(BranchElement.BranchElement): Set lastIndex to -1.
(BranchElement.getElementIndex): Implemented more efficient
search.
2006-08-09 Roman Kennke <kennke@aicas.com>
* javax/swing/text/DefaultStyledDocument.java
(Edit): Moved this inner class into ElementBuffer where it
is actually needed.
(edits): Moved this field into ElementBuffer.
(getEditForParagraphAndIndex): Removed obsolete method.
(insertUpdate): Added some optimizations and fixes. Split
out handling insertion after newlines.
(insertAfterNewline): New helper method. Handles insertions
after a newline.
(ElementBuffer.Edit): New inner class. Moved here from
DefaultStyledDocument.
(ElementBuffer.createdFracture): New field.
(ElementBuffer.documentEvent): Made private.
(ElementBuffer.edits): New field. Moved here from
DefaultStyledDocument.
(ElementBuffer.fracNotCreated): Replaced by createdFracture.
(ElementBuffer.fracturedChild): New field.
(ElementBuffer.fracturedParent): New field.
(ElementBuffer.insertPath): New field.
(ElementBuffer.lastFractured): Removed. Replaced by fracturedChild and
fracturedParent.
(ElementBuffer.offsetLastIndex): New field.
(ElementBuffer.offsetLastIndexReplace): New field.
(ElementBuffer.recreateLeafs): New field.
(ElementBuffer.ElementBuffer): Don't initialize stack here.
(ElementBuffer.canJoin): New helper method.
(ElementBuffer.changeUpdate): Changed to use elementStack with
Edits rather than Elements. Let the split method do the work.
(ElementBuffer.cloneAsNecessary): New helper method.
(ElementBuffer.createFracture): Changed to fracture the bottommost
child in the stack.
(ElementBuffer.finishEdit): New helper method. Moved out
from insertUpdate to perform the actual changes and update
the event.
(fracture): New helper method.
(insertContentTag): Fixed some bugs and changed to use Edit
instances in the stack, rather then Elements.
(insertElement): New helper method. Moved out from insertUpdate()
to process the ElementSpecs.
(insertFirstContentTag): Fixed some problems and changed to use Edit
instances in the stack, rather then Elements.
(insertFracture): Removed. Basically moved into createFracture()
and fracture().
(insertParagraph): Removed.
(insertUpdate): Split out the ElementSpec processing into
insertElement(). Use Edit instances in the stack. Fixed some
problems.
(insert): Split out the preparation and finishing code into
prepareEdit() and finishEdit().
(join): New helper method.
(pop): New helper method.
(prepareEdit): New helper method.
(recreateFracturedElement): New helper method.
(recreateLeaves): Removed.
(recreate): New helper method.
(removeElements): New helper method. Split out from removeUpdate().
(removeUpdate): Split out the actual removal. Use the
Edit stack to perform removal and perform the remove actions
and event updates afterwards, just like in insertImpl().
(remove): Use prepareEdit() and finishEdit().
(split): Replaced with more flexible impl.
2006-08-09 Sven de Marothy <sven@physto.se>
* gnu/java/awt/peer/gtk/CairoSurface.java
Change class to extend WritableRaster and not DataBuffer.
(CairoDataBuffer): New inner class.
* gnu/java/awt/peer/gtk/BufferedImageGraphics.java
* gnu/java/awt/peer/gtk/CairoGraphics2D.java
* gnu/java/awt/peer/gtk/GdkGraphicsEnvironment.java
Accomodate the above change.
2006-08-09 Sven de Marothy <sven@physto.se>
* gnu/java/awt/peer/gtk/GtkMainThread.java
New file.
* gnu/java/awt/peer/gtk/GtkChoicePeer.java
* gnu/java/awt/peer/gtk/GtkComponentPeer.java
Replace GtkToolkit.mainThread with GtkMainThread.mainThread.
* gnu/java/awt/peer/gtk/GtkToolkit.java
Minor style fixes; removed unused fields,
set fields to private where possible.
(createDialog, createFrame, createWindow, createEmbeddedWindow):
Call GtkMainThread.createWindow().
* gnu/java/awt/peer/gtk/GtkWindowPeer.java
(dispose): New method.
* include/gnu_java_awt_peer_gtk_GtkToolkit.h
* native/jni/gtk-peer/gnu_java_awt_peer_gtk_GtkToolkit.c
(gtkQuit): New native method.
2006-08-08 Lillian Angel <langel@redhat.com>
* java/awt/Component.java
(setDropTarget): Added check.
2006-08-08 Lillian Angel <langel@redhat.com>
* gnu/java/awt/dnd/peer/gtk/GtkDragSourceContextPeer.java
(GtkDragSourceContextPeer): Added FIXME. Changed call
to setTarget.
* gnu/java/awt/dnd/peer/gtk/GtkDropTargetContextPeer.java
(GtkDropTargetContextPeer): Removed target initialization.
* java/awt/Component.java
(setTarget): Removed commented out code.
2006-08-08 Mark Wielaard <mark@klomp.org>
* javax/swing/text/DefaultHighlighter.java: Qualify
Highlighter.HighlightPainter class name for gcj.
2006-08-05 Roman Kennke <kennke@aicas.com>
* javax/swing/plaf/basic/BasicTableUI.java
(MouseInputHandler.mousePressed): Request focus on list
component.
2006-08-05 Roman Kennke <kennke@aicas.com>
* javax/swing/plaf/basic/BasicListUI.java
(MouseInputHandler.mousePressed): Request focus on list
component.
2006-08-05 Roman Kennke <kennke@aicas.com>
PR 28650
* javax/swing/plaf/basic/BasicMenuBarUI.java
(getActionMap): Store ActionMap in MenuBar.actionMap, rather
than Tree.actionMap.
* javax/swing/plaf/basic/BasicTreeUI.java
(action): Removed obsolete field.
(uninstallKeyboardActions): Removed action field handling.
(installKeyboardActions): Removed action field handling.
(createDefaultActions): Don't install removed TreeAction.
(TreeAction): Removed obsolete inner class.
(ActionListenerProxy): Removed obsolete inner class.
(MouseHandler.mousePressed): Request focus on JTree component
on mouse press.
2006-08-08 Roman Kennke <kennke@aicas.com>
* javax/swing/plaf/basic/BasicListUI.java
(MouseInputHandler.mousePressed): Request focus on list
component.
2006-08-08 Roman Kennke <kennke@aicas.com>
* javax/swing/plaf/basic/BasicTableUI.java
(MouseInputHandler.mousePressed): Request focus on list
component.
2006-08-08 Roman Kennke <kennke@aicas.com>
* javax/swing/plaf/basic/BasicTextUI.java
(damageRange(JTextComponent,int,int)): Call damageRange() with
correct biases, rather than null.
(damageRange(JTextComponent,int,int,Bias,Bias)): Rewritten
to use simpler modelToView() approach without much special
casing. This seems not worth the effort and actually
caused problems. Added locking of the document.
* javax/swing/text/BoxView.java
(requirementsValid): New field.
(calculateMajorAxisRequirements): Rewritten without using
SizeRequirements. The SizeRequirements algorithms are slightly
different and too inefficient.
(calculateMinorAxisRequirements): Rewritten without using
SizeRequirements. The SizeRequirements algorithms are slightly
different and too inefficient.
(getAlignment): Simply return the alignment of the cached
requirements.
(getMaximumSpan): Add insets.
(getMinimumSpan): Add insets.
(getPreferredSpan): Add insets.
(layoutMajorAxis): Rewritten without using
SizeRequirements. The SizeRequirements algorithms are slightly
different and too inefficient.
(layoutMinorAxis): Rewritten without using
SizeRequirements. The SizeRequirements algorithms are slightly
different and too inefficient.
(modelToView): Call setSize() rather than layout().
(paint): Check clip for more efficient painting.
(preferenceChanged): Invalidate requirements here.
(replace): Invalidate requirements here.
(updateRequirements): Update requirements only when requirements
are marked invalid.
* javax/swing/text/CompositeView.java
(modelToView): Added some more checks and handling of corner cases.
* javax/swing/text/FlowView.java
(calculateMinorAxisRequirements): Set aligment to 0.5 and maximum
span to Integer.MAX_VALUE. Limit preferredSize to minimumSize.
* javax/swing/text/IconView.java
(getAlignment): Implemented to return 1.0 for vertical alignment.
* javax/swing/text/ParagraphView.java
(Row.getMaximumSpan): Implemented to let Rows span the whole
ParagraphView.
(getAlignment): Fixed horizontal alignment and vertical alignment
for empty paragraphs to be 0.5.
2006-08-08 Roman Kennke <kennke@aicas.com>
* javax/swing/text/View.java
(modelToView): Added special handling for corner case at the end
of the view and for multiline views.
2006-08-08 Roman Kennke <kennke@aicas.com>
* javax/swing/plaf/basic/BasicTextUI.java
(modelToView): Read-lock the document. Set size of the
root view before fetching the model-to-view mapping.
(getViewIndex): Check of the position is inside the range and
return -1 if this is not the case.
(getViewAtPosition(int,Rectangle): Update child allocation for valid
view index.
(getViewIndexAtPosition(int)): Delegate the index search to
the element since we have a 1:1 mapping between elements and
views here.
* javax/swing/text/DefaultCaret.java
(appear): Ignore BadLocationException.
(paint): Ignore BadLocationException.
* javax/swing/text/FlowView.java
(changedUpdate): Also notify the layoutPool view.
(removeUpdate): Also notify the layoutPool view.
* javax/swing/text/ParagraphView.java
(Row.getViewIndexAtPosition): Overridden to search linearily
through the view instead of relying on a 1:1 model to view
mapping.
* javax/swing/text/View.java
(removeUpdate): Clear ElementChange object if updateChildren
returns false.
(forwardUpdate): Special handle some boundary cases.
2006-08-07 Raif S. Naffah <raif@swiftdsl.com.au>
* gnu/java/security/key/dss/DSSKey.java: Updated documentation.
(hasInheritedParameters): New method.
(equals): Updated documentation.
Take into consideration the outcome of hasInheritedParameters invocation.
(toString): Call hasInheritedParameters and adjust the result accordingly.
* gnu/java/security/key/dss/DSSKeyPairX509Codec.java (encodePublicKey):
Updated documentation.
Handle case of public keys with null p, q, and g MPIs.
(decodePublicKey): Handle case of absent or NULL p, q and g MPIs.
2006-08-07 Tom Tromey <tromey@redhat.com>
PR libgcj/23682:
* java/nio/channels/SelectionKey.java (attach): Now synchronized.
(attachment): Likewise.
* java/nio/channels/spi/AbstractSelectionKey.java (cancel): Now
synchronized.
(isValid): Likewise.
* gnu/java/nio/SelectionKeyImpl.java (impl): Now final
(ch): Likewise.
(interestOps): Synchronize.
(readyOps): Likewise.
* gnu/java/nio/SelectorImpl.java (register): Synchronize around
interestOps call.
2006-08-07 C. Scott Marshall <csm@gnu.org>
Fixes PR 28608.
* java/nio/DirectByteBufferImpl.java (duplicate): only reset if
the mark has been set.
* native/jni/java-nio/java_nio_VMDirectByteBuffer.c
(Java_java_nio_VMDirectByteBuffer_allocate): zero out the
allocated data.
2006-08-07 Sven de Marothy <sven@physto.se>
* gnu/java/awt/peer/gtk/CairoGraphics2D.java
(drawGlyphVector): Synchronize against font object when drawing.
* native/jni/gtk-peer/gnu_java_awt_peer_gtk_CairoGraphics2D.c
(nativeDrawGlyphVector): Use pango locking when drawing.
(install_font_peer): Use pango locking when creating the cairo face.
2006-08-06 Roman Kennke <kennke@aicas.com>
PR 28571
* gnu/java/awt/peer/gtk/GtkCanvasPeer.java
(getPreferredSize): Renamed method to preferredSize(). That's
the one that gets called from java.awt.*.
* java/awt/peer/ComponentPeer.java
(getPreferredSize): Added specnote about this method never
beeing called in the RI.
(getMinimumSize): Added specnote about this method never
beeing called in the RI.
2006-08-03 Sven de Marothy <sven@physto.se>
* gnu/java/awt/peer/gtk/ComponentGraphics.java
(grab, nativeGrab): New methods.
* include/gnu_java_awt_peer_gtk_ComponentGraphics.h
* native/jni/gtk-peer/gnu_java_awt_peer_gtk_ComponentGraphics.c
(nativeGrab): New method.
* gnu/java/awt/peer/gtk/GtkComponentPeer.java
(print): Implement.
* java/awt/Component.java
(printAll): Should call peer print method.
2006-08-06 Thomas Minor <1nocentrabidlamb@sexMagnet.com>
* java/net/URL.java (getContent(Class[])): Implement.
2006-08-06 Mark Wielaard <mark@klomp.org>
PR 28555
Suggested by Matthew Burgess <matthew@linuxfromscratch.org>
* gnu/xml/transform/ApplyTemplatesNode.java (clone): Check whether
withParams is null.
* gnu/xml/transform/ForEachNode.java (clone): Check whether
sortKeys is null.
2006-08-06 Roman Kennke <kennke@aicas.com>
* NEWS: Added note about the X peers.
* INSTALL: Added install notes about the X peers.
2006-08-06 Raif S. Naffah <raif@swiftdsl.com.au>
Paul Jenner <psj@harker.dyndns.org>
* README: Update bug, patches and cvs instructions plus new URLs of
various external projects.
2006-08-06 Thomas Fitzsimmons <fitzsim@redhat.com>
* configure.ac (MOZILLA_FOUND): Fall back to
mozilla-firefox-plugin.
2006-08-06 Mario Torre <neugens@limasoftware.net>
Reported by Raif S. Naffah <raif@swiftdsl.com.au>
* native/jni/gconf-peer/GConfNativePeer.c (init_gconf_client):
g_type_init earlier in function to correctly initialize the
type system used by the backend.
2006-08-05 Roman Kennke <kennke@aicas.com>
* javax/swing/text/DefaultHighlight.java
(DefaultHighlightPainter.paintHighlight): Removed method.
(DefaultHighlightPainter.paintLayer): Implemented.
(DefaultHighlightPainter.paint): Implemented more efficient
painting for multiline-highlights.
(HighlightEntry.p0): Changed to be a Position.
(HighlightEntry.p1): Changed to be a Position.
(HighlightEntry.HighlightEntry): Changed to take Position
arfuments.
(HighlightEntry.getStartOffset): Changed to return p0.getOffset();
(HighlightEntry.getEndOffset): Changed to return p1.getOffset();
(LayerHighlightEntry): New inner class. Extends HighlightEntry
and tracks the painted rectangle for efficient repainting.
(addHighlight): Handle layered highlight.
(changeHighlight): Handle layered highlight.
(paintLayeredHighlights): Implemented.
(paint): Paint only non-layered highlights here.
(removeAllHighlights): Trigger correct repaint.
(removeHighlight): Handle layered highlight here for
more efficient repainting.
* javax/swing/text/GlyphView.java
(paint): Handle layered highlights.
* javax/swing/text/PlainView.java
(paint): Handle layered highlights.
* javax/swing/text/WrappedPlainView.java
(WrappedLine.paint): Handle layered highlights.
2006-08-07 Audrius Meskauskas <AudriusA@Bioinformatics.org>
PR 26972
* NEWS: As suggested by Paul Jennier, added note about the fix of
the InitialContext.
2006-08-07 Audrius Meskauskas <AudriusA@Bioinformatics.org>
* NEWS: Added entry about the context factories for JNDI.
2006-08-07 Audrius Meskauskas <AudriusA@Bioinformatics.org>
PR 27383
* gnu/CORBA/Connected_objects.java (size): New method.
* gnu/CORBA/OrbFunctional.java (countConnectedObjects):
New method.
* javax/naming/spi/NamingManager.java (getURLContext):
Also search for the URL context factories in
gnu/javax/naming/jndi/url.
* gnu/javax/naming/giop/ContextContinuation.java,
gnu/javax/naming/giop/CorbalocParser.java,
gnu/javax/naming/giop/GiopNamingEnumeration.java,
gnu/javax/naming/giop/GiopNamingServiceFactory.java,
gnu/javax/naming/giop/GiopNamingServiceURLContext.java,
gnu/javax/naming/giop/ListBindingsEnumeration.java,
gnu/javax/naming/giop/ListEnumeration.java,
gnu/javax/naming/jndi/url/corbaname/corbanameURLContextFactory.java,
gnu/javax/naming/jndi/url/rmi/ContextContinuation.java,
gnu/javax/naming/jndi/url/rmi/ListBindingsEnumeration.java,
gnu/javax/naming/jndi/url/rmi/ListEnumeration.java,
gnu/javax/naming/jndi/url/rmi/RmiContinuation.java,
gnu/javax/naming/jndi/url/rmi/RmiNamingEnumeration.java,
gnu/javax/naming/jndi/url/rmi/rmiURLContext.java,
gnu/javax/naming/jndi/url/rmi/rmiURLContextFactory.java: New files.
2006-08-06 Sven de Marothy <sven@physto.se>
* gnu/java/awt/peer/gtk/CairoGraphics2D.java
(drawGlyphVector): Synchronize against font object when drawing.
* native/jni/gtk-peer/gnu_java_awt_peer_gtk_CairoGraphics2D.c
(nativeDrawGlyphVector): Use pango locking when drawing.
(install_font_peer): Use pango locking when creating the cairo face.
2006-08-06 C. Scott Marshall <csm@gnu.org>
Fixes PR 28608.
* java/nio/DirectByteBufferImpl.java (duplicate): only reset if
the mark has been set.
* native/jni/java-nio/java_nio_VMDirectByteBuffer.c
(Java_java_nio_VMDirectByteBuffer_allocate): zero out the
allocated data.
2006-08-06 Mark Wielaard <mark@klomp.org>
PR 28555
Suggested by Matthew Burgess <matthew@linuxfromscratch.org>
* gnu/xml/transform/ApplyTemplatesNode.java (clone): Check whether
withParams is null.
* gnu/xml/transform/ForEachNode.java (clone): Check whether
sortKeys is null.
2006-08-06 Raif S. Naffah <raif@swiftdsl.com.au>
Paul Jenner <psj@harker.dyndns.org>
* README: Update bug, patches and cvs instructions plus new URLs of
various external projects.
2006-08-05 Andrew John Hughes <gnu_andrew@member.fsf.org>
* gnu/java/lang/management/BeanImpl.java:
(cacheMBeanInfo(MBeanInfo)): Override given MBeanInfo
with open variant.
(getCachedMBeanInfo()): Return open variant.
(getMBeanInfo()): Likewise.
(getTypeFromClass(Class)): Implemented.
(translateSignature(MBeanParameterInfo)): Likewise.
(translate(String)): Likewise.
* javax/management/StandardMBean.java:
(getMBeanInfo()): Return attribute names with capital letters,
as in docs for java.lang.management.ManagementFactory, and
ensure descriptions are not "".
* javax/management/openmbean/OpenMBeanConstructorInfoSupport.java,
* javax/management/openmbean/OpenMBeanInfoSupport.java,
* javax/management/openmbean/OpenMBeanOperationInfoSupport.java:
(toString()): Use Arrays.toString().
* javax/management/openmbean/OpenMBeanParameterInfoSupport.java:
(OpenMBeanParameterInfoSupport(String, String, OpenType)):
Set open type here rather than in other constructors.
2006-08-05 Andrew John Hughes <gnu_andrew@member.fsf.org>
* javax/management/MBeanFeatureInfo.java:
Make string variable package-private.
* javax/management/StandardMBean.java:
(getMBeanInterface()): Made final.
* javax/management/openmbean/SimpleType.java:
Made final.
2006-08-05 Jeroen Frijters <jeroen@frijters.net>
* java/awt/Component.java (setDropTarget): Commented out GTK specific
code.
2006-08-05 Andrew John Hughes <gnu_andrew@member.fsf.org>
* examples/gnu/classpath/examples/swing/FillRect.java,
* gnu/CORBA/Focused_ORB.java,
* gnu/CORBA/interfaces/gnuSocketFactory.java,
* gnu/classpath/ByteArray.java,
* gnu/classpath/ObjectPool.java,
* gnu/java/awt/peer/ClasspathTextLayoutPeer.java,
* gnu/java/awt/peer/x/fonts.properties,
* gnu/java/security/util/Prime2.java,
* gnu/javax/imageio/gif/GIFStream.java,
* javax/swing/text/html/HTMLTableView.java,
* native/cni/Makefile.am,
* org/omg/CORBA/SendingContext/RunTimeOperations.java,
* org/omg/CORBA/SendingContext/Runtime.java,
* resource/gnu/regexp/MessagesBundle.properties,
* resource/gnu/regexp/MessagesBundle_fr.properties,
* resource/gnu/regexp/MessagesBundle_it.properties,
* tools/appletviewer.in,
* tools/jarsigner.in,
* tools/keytool.in,
* vm/reference/java/lang/management/VMThreadInfo.java:
Removed.
* examples/gnu/classpath/examples/awt/aicas.png,
* examples/gnu/classpath/examples/awt/palme.gif,
* examples/gnu/classpath/examples/java2d/aicas.png,
* examples/gnu/classpath/examples/java2d/palme.gif,
* gnu/java/awt/font/opentype/truetype/doc-files/ZonePathIterator-1.dia,
* gnu/java/awt/font/opentype/truetype/doc-files/ZonePathIterator-1.png,
* java/awt/doc-files/capjoin.png,
* java/awt/geom/doc-files/Area-1.png,
* java/awt/geom/doc-files/Ellipse-1.png,
* java/awt/geom/doc-files/GeneralPath-1.png:
Added.
2006-08-05 Andrew John Hughes <gnu_andrew@member.fsf.org>
* configdiag.jnlp:
Removed.
2006-08-05 Andrew John Hughes <gnu_andrew@member.fsf.org>
* gnu/java/lang/management/BeanImpl.java:
(getAttribute(String)): Implemented.
2006-08-05 Roman Kennke <kennke@aicas.com>
* javax/swing/text/JTextComponent.java
(AccessibleJTextComponent.dot): Renamed field into caretDot.
(AccessibleJTextComponent.textComp): Removed field
and replace with JTextComponent.this construct.
(AccessibleJTextComponent.AccessibleJTextComponent):
Fetch caret position.
(caretUpdate): Implemented. Fires property change events and
updates the caretDot field.
(changedUpdate): Implemented. Fires property change events.
(insertUpdate): Implemented. Fires property change events.
(removeUpdate): Implemented. Fires property change events.
(cut): Replaced textComp with JTextComponent.this construct.
(paste): Replaced textComp with JTextComponent.this construct.
(replaceText): Replaced textComp with JTextComponent.this construct.
(selectText): Replaced textComp with JTextComponent.this construct.
(getCaretPosition): Replaced textComp with JTextComponent.this
construct.
(getCharCount): Replaced textComp with JTextComponent.this construct.
(getSelectedText): Replaced textComp with JTextComponent.this
construct.
(getSelectionEnd): Replaced textComp with JTextComponent.this
construct.
(getSelectionStart): Replaced textComp with JTextComponent.this
construct.
(getTextRange): Replaced textComp with JTextComponent.this
construct.
(doAccessibleAction): Implemented.
(getAccessibleActionCount): Implemented.
(getAccessibleActionDescription): Implemented.
(getAccessibleStateSet): Implemented.
(getAfterIndex): Implemented.
(getBeforeIndex): Implemented.
(getAtIndex): Implemented.
(getAtIndexImpl): New helper method.
(getCharacterAttribute): Implemented.
(getCharacterBounds): Implemented.
(getIndexAtPoint): Implemented.
(insertTextAtIndex): Implemented.
(setAttributes): Implemented.
(setTextContents): Implemented.
2006-08-05 Raif S. Naffah <raif@swiftdsl.com.au>
* configure.ac: Better handling of default-preferences-peer option.
2006-08-04 Andreas Tobler <a.tobler@schweiz.ch>
* java/awt/BasicStroke.java (dashedStroke): Cast coords.clone to
double[].
2006-08-04 Andrew John Hughes <gnu_andrew@member.fsf.org>
* javax/management/openmbean/TabularData.java:
Documentation corrections.
* javax/management/openmbean/TabularDataSupport.java:
New file.
2006-08-04 Francis Kung <fkung@redhat.com>
* java/awt/BasicStroke.java
(dashedStroke): Implemented.
2006-08-04 Andrew John Hughes <gnu_andrew@member.fsf.org>
* javax/management/BadAttributeValueExpException.java,
* javax/management/BadStringOperationException.java,
* javax/management/InstanceAlreadyExistsException.java,
* javax/management/InstanceNotFoundException.java,
* javax/management/InvalidApplicationException.java,
* javax/management/MBeanRegistrationException.java,
* javax/management/MalformedObjectNameException.java,
* javax/management/RuntimeErrorException.java,
* javax/management/RuntimeMBeanException.java,
* javax/management/ServiceNotFoundException.java:
New files.
2006-08-04 Roman Kennke <kennke@aicas.com>
* javax/swing/SwingUtilities.java
(layoutCompoundLabel(JComponent,FontMetrics,String,Icon,int,int,int,
int,Rectangle,Rectangle,Rectangle,int)): Delegate to new
layoutCompoundLabelImpl().
(layoutCompoundLabel(FontMetrics,String,Icon,int,int,int,int,
Rectangle,Rectangle,Rectangle,int)): Delegate to new
layoutCompoundLabelImpl().
(layoutCompoundLabelImpl): New helper method. Moved impl from
layoutCompoundLabel() to here and added handling of HTML.
* javax/swing/plaf/basic/BasicButtonUI.java
(installUI): Update HTML view if appropriate.
(uninstallUI): New method. Do the usual uninstallUI things
and uninstall HTML view.
(getMinimumSize): New method. Adjusts the minimum size
by the HTML view minimum size.
(getMaximumSize): New method. Adjusts the maximum size
by the HTML view maximum size.
(getPreferredSize): Pass the button's iconTextGap to the
BasicGraphicsUtils method.
(paint): Let HTML view paint the text, if present.
* javax/swing/plaf/basic/BasicButtonListener.java
(propertyChange): Update the HTML view when the button's
text is changed.
2006-08-04 Mario Torre <neugens@limasoftware.net>
Reported by Raif S. Naffah <raif@swiftdsl.com.au>
* native/jni/gconf-peer/GConfNativePeer.c (init_gconf_client):
g_type_init earlier in function to correctly initialize the
type system used by the backend.
2006-08-04 Audrius Meskauskas <AudriusA@Bioinformatics.org>
PR 26972
* javax/naming/Name.java (addAll, getPrefix, getSuffix):
Documented.
* gnu/javax/naming/ictxImpl/trans/GnuName.java: New file.
2006-08-04 Robert Schuster <robertschuster@fsfe.org>
Reported by Henrik Gulbrandsen <henrik@gulbra.net>
Fixes PR27864.
* gnu/xml/dom/DomIterator.java:
(successor): Added if-statement.
2006-08-04 Mark Wielaard <mark@klomp.org>
* scripts/Makefile.am (EXTRA_DIST): Add import-cacerts.sh.
2006-08-04 Robert Schuster <robertschuster@fsfe.org>
* javax/swing/plaf/metal/MetalMenuBarUI.java:
(update): Check size and paint smaller gradient.
* javax/swing/plaf/metal/MetalBorders.java:
(MenuBarBorder): Removed borderColor field.
(MenuBarBorder.paintBorder): Added note, fetch color from UIManager or
MetalLookAndFeel.
2006-08-03 Roman Kennke <kennke@aicas.com>
PR 27637
* javax/swing/plaf/basic/BasicInternalFrameUI.java
(ComponentHandler.componentResized): Reimplemented to handle
arbitrary parents.
(InternalFramePropertyChangeHandler.propertyChange): (Un)install
component listener on changed ancestor.
(installListeners): Install componentListener.
(uninstallListeners): Uninstall componentListener.
2006-08-03 Carsten Neumann <cn-develop@gmx.net>
* StrictMath.java (cbrt): Return argument if it is a NaN.
(cosh): Likewise.
(expm1): Likewise.
(sinh): Likewise.
2006-08-03 Carsten Neumann <cn-develop@gmx.net>
* java/lang/StrictMath.java (tanh): New method.
2006-08-03 Raif S. Naffah <raif@swiftdsl.com.au>
* scripts/import-cacerts.sh: Batch CA certificates import script.
2006-08-03 Roman Kennke <kennke@aicas.com>
PR 27606
* javax/swing/plaf/basic/BasicListUI.java
(paintCell): Pass row index to cell renderer.
* javax/swing/plaf/basic/MetalFileChooserUI.java
(DirectoryComboBoxRenderer.indentIcon): New field.
(DirectoryComboBoxRenderer.DirectoryComboBoxRenderer):
Initialize indentIcon.
(DirectoryComboBoxRenderer.getListCellRendererComponent):
Fall back to super and removed standard functionality.
Handle indentation.
(IndentIcon): New class. Wraps and indents another icon.
2006-08-02 Andrew John Hughes <gnu_andrew@member.fsf.org>
* javax/management/MBeanConstructorInfo.java:
(MBeanConstructorInfo(String,String,MBeanParameterInfo[]):
Copy array rather than directly assigning.
* javax/management/MBeanInfo.java:
(MBeanInfo(String,String,MBeanAttributeInfo[],
MBeanConstructorInfo[], MBeanOperationInfo[],
MBeanNotificationInfo[])): Likewise.
* javax/management/MBeanOperationInfo.java:
(MBeanOperationInfo(String,String,MBeanParameterInfo[],String,int)):
Likewise.
* javax/management/openmbean/OpenMBeanAttributeInfoSupport.java,
* javax/management/openmbean/OpenMBeanConstructorInfoSupport.java:
New files.
* javax/management/openmbean/OpenMBeanInfo.java:
Corrected documentation.
* javax/management/openmbean/OpenMBeanInfoSupport.java:
New file.
* javax/management/openmbean/OpenMBeanOperationInfo.java:
Corrected documentation.
* javax/management/openmbean/OpenMBeanOperationInfoSupport.java:
New file.
* javax/management/openmbean/OpenMBeanParameterInfoSupport.java:
(MBeanParameterInfo(String,String,OpenType,Object,Object[])):
Call other constructor rather than reimplementing.
2006-08-02 Lillian Angel <langel@redhat.com>
* java/awt/dnd/DragSource.java
(isDragImageSupported): Implemented.
(getDragThreshold): Changed default value.
* java/awt/dnd/DropTarget.java
(DropTarget): Default action is changed to ACTION_COPY_OR_MOVE.
(DropTarget): Likewise.
(DropTarget): If FlavorMap passed in is null, we should use the system default.
(addDropTargetListener): Added check to determine if new DropTargetListener
is this class. If so, an IllegalArgumentException is thrown. If the
new listener is null, nothing happens.
2006-08-02 Thomas Fitzsimmons <fitzsim@redhat.com>
* configure.ac (MOZILLA_FOUND): Fall back to
mozilla-firefox-plugin.
2006-08-02 Sven de Marothy <sven@physto.se>
* java/awt/geom/AffineTransform.java
(hashCode): Tweak impl.
* java/awt/font/FontRenderContext.java
(hashCode): Implement.
2006-08-02 Carsten Neumann <cn-develop@gmx.net>
* java/lang/StrictMath.java (sinh): New method.
2006-08-02 Roman Kennke <kennke@aicas.com>
PR 27605
* javax/swing/JComboBox.java
(setSelectedItem): Fire ActionEvent here.
* javax/swing/plaf/basic/BasicDirectoryModel.java
(directories): Changed to type Vector.
(files): New field.
(loadThread): New field.
(DirectoryLoadThread): New inner class. This loads the contents
of directories asynchronously.
(getDirectories): Return cached Vector.
(getFiles): Return cached Vector.
(getSize): Return plain size of contents Vector.
(propertyChange): Reread directory also for DIRECTORY_CHANGED,
FILE_FILTER_CHANGED, FILE_HIDING_CHANGED and FILE_VIEW_CHANGED.
(sort): Don't store sorted list in contents. This must be done
asynchronously from the EventThread.
(validateFileCache): Rewritten for asynchronous reading
of directory contents.
* javax/swing/plaf/basic/BasicFileChooserUI.java
(installListeners): Install model as PropertyChangeListener.
(uninstallListeners): Uninstall model as PropertyChangeListener.
(createPropertyChangeListener): Return null just like the
RI.
2006-08-02 Sven de Marothy <sven@physto.se>
* gnu/java/awt/peer/gtk/GtkChoicePeer.java
(remove): Force event on removing item 0 when it's selected.
(handleEvent): Always call Choice.selected().
* java/awt/Choice.java:
(remove): Simplify and correct.
2006-08-02 Mark Wielaard <mark@klomp.org>
PR 28535
* configure.ac (gconf-peer): Check for gdk-2.0.
* native/jni/gconf-peer/Makefile.am
(AM_LDFLAGS): Use GDK_LIBS.
(AM_CFLAGS): Use GDK_CFLAGS.
2006-08-02 Thomas Minor <1nocentrabidlamb@sexMagnet.com>
* java/net/URL.java (getContent(Class[])): Implement.
2006-08-02 Roman Kennke <kennke@aicas.com>
PR 27624
* javax/swing/JMenu.java
(JMenu()): Removed setting of delay.
(JMenu(String)): Removed setting of delay.
(JMenu(Action)): Removed setting of delay.
(JMenu(String,boolean)): Removed setting of delay.
(setSelectedHelper): Removed unneeded method.
(setSelected): Simply set the model state.
(setPopupMenuVisible): Recognize the popup location
determined by getPopupMenuOrigin().
(getPopupMenuOrigin): Recognize the UI properties for
X and Y offset.
(menuSelectionChanged): Call setSelected() directly.
* javax/swing/JPopupMenu.java
(menuSelectionChanged): If invoker is a JMenu, then delegate
to that to get the position right.
* javax/swing/Popup.java
(LightweightPopup.show): Insert the popup as first component
in the layer, so that it overlaps it's caller.
* javax/swing/plaf/basic/BasicMenuItemUI.java
(getPath): Don't include the popup.
* javax/swing/plaf/basic/BasicMenuUI.java
(SelectMenuAction): New class. This invokes the popup when
a menu is selected.
(installDefaults): Install delay of 200 ms.
(setupPostTimer): Implemented.
(MouseInputHandler.mouseClicked): Do nothing here.
(MouseInputHandler.mouseEntered): Use MenuSelectionManager
magic to handle the selection. Open the menu via a timer.
(MouseInputHandler.mousePressed): Use MenuSelectionManager
magic to handle the selection. Open the menu via a timer.
(MenuDragMouseHandler.menuMouseDragged): Probably use
timer.
(menuDragMouseEntered): Do nothing here.
2006-08-02 Andrew John Hughes <gnu_andrew@member.fsf.org>
* javax/management/openmbean/InvalidOpenTypeException.java,
* javax/management/openmbean/KeyAlreadyExistsException.java:
New files.
2006-08-02 Roman Kennke <kennke@aicas.com>
PR 27604
* javax/swing/plaf/basic/BasicChooserUI.java
(BasicFileView.getName): Fetch the real name from the
file chooser's FileSystemView.
* javax/swing/plaf/metal/MetalChooserUI.java
(DirectoryComboBoxRenderer.getListCellRendererComponent):
Set the text fetched from the JFileChooser.getName().
* javax/swing/FileSystemView.java
(createFileObject): When file is a filesystem root,
create a filesystem root object first.
(getSystemDisplayName): Return the filename. Added specnote
about ShellFolder class that is mentioned in the spec.
* javax/swing/UnixFileSystemView.java
(getSystemDisplayName): Implemented to return the real name
of a file, special handling files like '.' or '..'.
2006-08-03 Mark Wielaard <mark@klomp.org>
* examples/gnu/classpath/examples/icons/badge.png: Add file.
2006-08-03 Roman Kennke <kennke@aicas.com>
PR 28562
* javax/swing/plaf/basic/BasicOptionPaneUI.java
(PropertyChangeHandler.propertyChange): Cleanly reinstall
components when visual property chanegs.
2006-08-03 Roman Kennke <kennke@aicas.com>
PR 28562
* javax/swing/plaf/basic/BasicOptionPaneUI.java
(PropertyChangeHandler.propertyChange): Uninstall and reinstall
component when visual properties change.
2006-08-03 Roman Kennke <kennke@aicas.com>
PR 28534
* javax/swing/JTree.java
(JTree(TreeModel)): Set cell renderer to null.
* javax/swing/plaf/basic/BasicTreeUI.java
(setCellRenderer): Finish editing before setting the
cell renderer. Refresh the layout. Don't set the
currentCellRenderer field here (that's done in updateRenderer).
(updateRenderer): Handle createdRenderer field here too.
Set renderer to a default handler when the current renderer
in the JTree is null.
2006-08-02 Raif S. Naffah <raif@swiftdsl.com.au>
PR Classpath/23899
* java/security/SecureRandom.java (next): Call nextBytes as per specs.
2006-08-02 Raif S. Naffah <raif@swiftdsl.com.au>
PR Classpath/28556
* gnu/java/security/key/rsa/RSAKeyPairPKCS8Codec.java (encodePrivateKey):
Updated documentation to clarify that RFC-2459 states that the parameters
field of the AlgorithmIdentifier element MUST be NULL if present.
Amended the code to reflect the specs.
(decodePrivateKey): Handle case of NULL AlgorithmIdentifier.parameters.
2006-08-01 Andrew John Hughes <gnu_andrew@member.fsf.org>
* javax/management/openmbean/OpenMBeanParameterInfoSupport.java:
Call parameter 'defaultValue' not 'defValue'.
2006-08-01 Andrew John Hughes <gnu_andrew@member.fsf.org>
* javax/management/openmbean/OpenMBeanParameterInfoSupport.java:
New file.
2006-08-01 Roman Kennke <kennke@aicas.com>
PR 28562
* javax/swing/plaf/basic/BasicOptionPaneUI.java
(PropertyChangeHandler.propertyChange): Cleanly reinstall
components when visual property chanegs.
2006-08-01 Andrew John Hughes <gnu_andrew@member.fsf.org>
* javax/management/openmbean/OpenMBeanAttributeInfo.java:
(toString()): Corrected documentation.
* javax/management/openmbean/OpenMBeanConstructorInfo.java,
* javax/management/openmbean/OpenMBeanInfo.java,
* javax/management/openmbean/OpenMBeanOperationInfo.java:
New files.
* javax/management/openmbean/OpenMBeanParameterInfo.java:
(toString()): Corrected documentation.
2006-08-01 Tania Bento <tbento@redhat.com>
* java/awt/Choice.java
(remove(int)): Added documentation.
2006-08-01 Tania Bento <tbento@redhat.com>
* java/awt/Choice.java
(remove(int)): An IllegalArgumentException should not be thrown
if int is invalid. Update selectedIndex and peer selection.
2006-08-01 Tania Bento <tbento@redhat.com>
* java/awt/CardLayout.java
(toString): Changed format of string outputted.
(goToComponent): Changed the order of the if-clause.
2006-07-31 Tom Tromey <tromey@redhat.com>
* INSTALL: Updated for ASM.
2006-07-31 Tom Tromey <tromey@redhat.com>
PR libgcj/23682:
* java/nio/channels/SelectionKey.java (attach): Now synchronized.
(attachment): Likewise.
* java/nio/channels/spi/AbstractSelectionKey.java (cancel): Now
synchronized.
(isValid): Likewise.
* gnu/java/nio/SelectionKeyImpl.java (impl): Now final
(ch): Likewise.
(interestOps): Synchronize.
(readyOps): Likewise.
* gnu/java/nio/SelectorImpl.java (register): Synchronize around
interestOps call.
2006-07-31 Roman Kennke <kennke@aicas.com>
* NEWS: Added note about the X peers.
* INSTALL: Added install notes about the X peers.
2006-07-31 Carsten Neumann <cn-develop@gmx.net>
* StrictMath.java (getLowDWord): Return long instead of int.
(getHighDWord): Likewise.
(buildDouble): Take two long arguments.
(cbrt): Adapted to int -> long change.
(expm1): Likewise.
(cosh): Likewise.
2006-07-31 Thomas Fitzsimmons <fitzsim@redhat.com>
* native/jni/qt-peer/Makefile.am (libqtpeer_la_LDFLAGS): Add
-avoid-version.
2006-07-31 Raif S. Naffah <raif@swiftdsl.com.au>
* java/security/Provider.java: Updated copyright year.
Updated documentation.
Formatting.
(put): Updated documentation.
Added security manager check.
Canonicalize the key before adding its mapping.
(get): Override superclass implementation to use canonicalized keys.
(remove): Updated documentation.
Added security manager check.
Canonicalize the key before removing its mapping.
(clear): Updated documentation.
Added security manager check.
(toCanonicalKey): New method.
2006-07-30 Matt Wringe <mwringe@redhat.com>
* gnu/java/security/Engine.java
(getInstance): Ignore self referencing aliases.
2006-07-30 Mark Wielaard <mark@klomp.org>
* javax/swing/JComponent.java (getListeners): Revert
un-genericization.
2006-07-30 Mark Wielaard <mark@klomp.org>
* resource/java/security/classpath.security: Add /dev/urandom as
default securerandom.source.
2006-07-30 Mark Wielaard <mark@klomp.org>
* java/util/GregorianCalendar.java (maximums): Months can have up to
6 weeks.
(nonLeniencyCheck): weeks is either 5 or 6.
2006-07-30 Andrew John Hughes <gnu_andrew@member.fsf.org>
* javax/management/openmbean/OpenMBeanAttributeInfo.java,
* javax/management/openmbean/OpenMBeanParameterInfo.java:
New files.
2006-07-30 Matt Wringe <mwringe@redhat.com>
* gnu/java/security/Engine.java
(getInstance): Ignore self referencing aliases.
2006-07-30 Sven de Marothy <sven@physto.se>
* java/awt/Choice.java:
(accessibleAction): Call select() directly.
(add, insert, remove): Reimplement.
(dispatchEventImpl): Always call super.
(processItemEvent): Does not set the index.
* include/gnu_java_awt_peer_gtk_GtkChoicePeer.h
* native/jni/gtk-peer/gnu_java_awt_peer_gtk_GtkChoicePeer.c
(append): removed.
(nativeAdd): Name changed to add.
(selection_changed_cb): Simplify callback.
* gnu/java/awt/peer/gtk/GtkChoicePeer.java
(selected): New field.
(add): Replaced with native impl.
(handleEvent): New method.
2006-07-30 Sven de Marothy <sven@physto.se>
* java/awt/Choice.java:
Reformat, fix copyright year.
2006-07-29 Mark Wielaard <mark@klomp.org>
* javax/swing/JComponent.java (paintingDoubleBuffered): Renamed
static field isPaintingDoubleBuffered to not have the same name
as a method.
2006-07-29 Andrew John Hughes <gnu_andrew@member.fsf.org>
* examples/gnu/classpath/examples/management/TestBeans.java:
New file.
* javax/management/MBeanAttributeInfo.java:
(toString()): Implemented.
* javax/management/MBeanConstructorInfo.java:
(toString()): Implemented.
* javax/management/MBeanFeatureInfo.java:
(toString()): Implemented.
* javax/management/MBeanInfo.java:
(toString()): Implemented.
* javax/management/MBeanNotificationInfo.java:
(toString()): Implemented.
* javax/management/MBeanOperationInfo.java:
(toString()): Implemented.
* javax/management/MBeanParameterInfo.java:
(toString()): Implemented.
* javax/management/StandardMBean.java:
(getMBeanInfo()): Fix attribute naming.
2006-07-29 Andrew John Hughes <gnu_andrew@member.fsf.org>
* gnu/java/lang/management/BeanImpl.java:
Extended javax.management.StandardMBean.
* gnu/java/lang/management/ClassLoadingMXBeanImpl.java,
* gnu/java/lang/management/CompilationMXBeanImpl.java,
* gnu/java/lang/management/GarbageCollectorMXBeanImpl.java,
* gnu/java/lang/management/MemoryMXBeanImpl.java,
* gnu/java/lang/management/MemoryManagerMXBeanImpl.java,
* gnu/java/lang/management/MemoryPoolMXBeanImpl.java,
* gnu/java/lang/management/OperatingSystemMXBeanImpl.java,
* gnu/java/lang/management/RuntimeMXBeanImpl.java,
* gnu/java/lang/management/ThreadMXBeanImpl.java:
Call the superclass with the appropriate class.
* java/lang/management/ManagementFactory.java:
(getOperatingSystemMXBean()): Catch exception from
StandardMBean.
(getRuntimeMXBean()): Likewise.
(getClassLoadingMXBean()): Likewise.
(getThreadMXBean()): Likewise.
(getMemoryMXBean()): Likewise.
(getCompilationMXBean()): Likewise.
(getMemoryPoolMXBeans()): Likewise.
(getMemoryManagerMXBeans()): Likewise.
(getGarbageCollectorMXBeans()): Likewise.
* javax/management/MBeanFeatureInfo.java:
hashCode()): Fixed to check for null values.
2006-07-29 Matt Wringe <mwringe@redhat.com>
* gnu/java/security/Engine.java
(getInstance): Add case insentivity to algorithm names
* java/security/Provider.java
(put): Stop using canonical key naming
(remove): Likewise
(toCanonicalKey): Method removed
(get): Method removed, no longer needs to overwrite
parent implementation
2006-07-29 Mark Wielaard <mark@klomp.org>
* gnu/java/awt/peer/gtk/GdkTextLayout.java: Removed.
* gnu/java/awt/peer/gtk/GtkCheckboxGroupPeer.java: Removed.
* include/gnu_java_awt_peer_gtk_GdkTextLayout.h: Removed.
* include/gnu_java_awt_peer_gtk_GtkCheckboxGroupPeer.h: Removed.
* native/jni/gtk-peer/gnu_java_awt_peer_gtk_GdkTextLayout.c: Removed.
* native/jni/gtk-peer/gnu_java_awt_peer_gtk_GtkCheckboxGroupPeer.c:
Removed.
2006-07-29 Sven de Marothy <sven@physto.se>
* java/math/BigDecimal.java
Adjust copyright date.
(divide(BigDecimal): Implement.
(precision): Reimplement.
(numDigitsInBigInteger, numDigitsInLong): Removed.
(toString): Get exponent from string length,
fix negative values with exponential form.
(toEngineeringString): Same as for toString.
(setScale): Throw ArithmeticException if scale < 0.
2006-07-27 Francis Kung <fkung@redhat.com>
* gnu/java/awt/java2d/CubicSegment.java: Added import.
(cp1): Renamed from first().
(c2): Renamed from last().
(first): Renamed to cp1().
(getDisplacedSegments): Implemented.
(last): Renamed to cp2().
* gnu/java/awt/java2d/LineSegment.java
(cp1): Renamed from first().
(c2): Renamed from last().
(first): Renamed to cp1().
(last): Renamed to cp2().
* gnu/java/awt/java2d/QuadSegment.java
(cp1): Renamed from first().
(c2): Renamed from last().
(first): Renamed to cp1().
(last): Renamed to cp2().
* gnu/java/awt/java2d/Segment.java: Added comments.
(first): New field.
(Segment): Keep track of first element in list.
(add): Update first & last element variables.
(cp1): Renamed from first().
(c2): Renamed from last().
(first()): Renamed to cp1() to reduce ambiguity.
(last()): Renamed to cp2() to reduce ambiguity.
(reverseAll): Update first element variable..
* gnu/java/awt/peer/gtk/CairoGraphics2D.java
(draw): Remove flattening path iterator.
* java/awt/BasicStroke.java: Clarified comments.
(addSegments): Refactored some code into joinSegments and
joinInnerSegments.
(capEnd): Rename of Segment.first() and Segment.end().
(joinInnerSegments): New method.
(joinOuterSegments): New method.
(joinSegments): Refactored some code into joinOuterSegments.
(solidStroke): Connect segments together properly.
2006-07-28 Thomas Fitzsimmons <fitzsim@redhat.com>
* native/jawt/Makefile.am (libjawt_la_LDFLAGS): Add
-avoid-version.
* native/jni/gtk-peer/Makefile.am (libgtkpeer_la_LDFLAGS):
Likewise.
* native/jni/midi-alsa/Makefile.am (libgjsmalsa_la_LDFLAGS):
Likewise.
* native/jni/midi-dssi/Makefile.am (libgjsmdssi_la_LDFLAGS):
Likewise.
2006-07-28 Tom Tromey <tromey@redhat.com>
* configure.ac: Enable -Werror by default on Linux-with-gcc.
2006-07-28 Lillian Angel <langel@redhat.com>
* native/jni/gtk-peer/GtkDragSourceContextPeer.c:
Removed function declarations.
(connect_signals_for_widget): Removed implementation because
stub functions have been removed.
(drag_begin_cb): Removed function.
(drag_motion_cb): Likewise.
(drag_data_get_cb): Likewise.
(drag_data_delete_cb): Likewise.
(drag_drop_cb): Likewise.
(drag_end_cb): Likewise.
(drag_data_received_cb): Likewise.
2006-07-28 Mark Wielaard <mark@klomp.org>
* configure.ac: Set version to 0.93-pre.
2006-07-29 Raif S. Naffah <raif@swiftdsl.com.au>
* tools/Makefile.am: Added source 1.4 compliance option when ECJ is used.
2006-07-29 Raif S. Naffah <raif@swiftdsl.com.au>
* tools/gnu/classpath/tools/keytool/Command.java: Removed unused import.
(getCallbackHandler): Fully qualify linked class in javadoc.
* tools/gnu/classpath/tools/keytool/GenKeyCmd.java (cmdOptionsParser): Removed.
* tools/gnu/classpath/tools/keytool/ImportCmd.java (imported): Likewise.
* tools/gnu/classpath/tools/keytool/Main.java (printHelp): Likewise.
2006-07-27 Tom Tromey <tromey@redhat.com>
PR classpath/28486:
* java/net/URLStreamHandler.java (equals): Properly handle default
port. Rewrote javadoc. Don't compare 'authority' parts of URLs.
2006-07-27 Roman Kennke <kennke@aicas.com>
* javax/swing/text/AbstractDocument.java
(documentCV): Made field private.
(bypass): Made field private.
(bidiRoot): New field.
(AbstractDocument): Initialize bidiRoot.
(getBidiRootElement): Return bidiRoot.
(getRootElements): Adjusted to also return the bidiRoot element.
(BranchElement.startOffset): Removed unneeded field.
(BranchElement.endOffset): Removed unneeded field.
(BranchElement.BranchElement): Removed unneeded fields.
(BranchElement.getEndOffset): Don't explicitly throw NPE here. This is
done automatically when there's no element left in the array.
(BranchElement.getStartOffset): Likewise.
(BranchElement.replace): Reordered calculations to avoid double
calculations.
(removeImpl): Silently ignore requests with length <= 0.
* javax/swing/text/GapContent.java
(createPosition): Removed explicit check for correct offset.
This class can deal with offsets outside the document.
(shiftEnd): Update all positions, even those outside the
document.
(adjustPositionsInRange): Fixed to also adjust positions outside
the document boundary.
2006-07-18 Kyle Galloway <kgallowa@redhat.com>
* gnu/classpath/jdwp/event/ExceptionEvent.java: Added _klass field to hold
defining class.
(getParameter): Returns _klass field instead of determining
class from _instance.
(setCatchLoc): New method.
(writeData): Now assumes Location deals with empty locations instead of
using null.
* gnu/classpath/jdwp/util/Location.java (write): Check for empty
locations and write out accordingly.
(getEmptyLocation): New method.
2006-07-27 Roman Kennke <kennke@aicas.com>
* javax/swing/text/SimpleAttributeSet.java
(EMPTY): Use EmptyAttributeSet for this field rather than
SimpleAttributeSet.
* javax/swing/text/EmptyAttributeSet.java: New class. Implements
an empty and immutable AttributeSet.
2006-07-27 Roman Kennke <kennke@aicas.com>
* java/awt/Component.java
(reshape): Invalidate the component itself only when the
size has changed. Invalidate the parent always. Fixed
repainting. Pulled out the notification into
notifyReshape().
(notifyReshape): New helper method. Notify interested listeners
about a reshape.
(update): Simply call paint() without clearing the background.
This is done in Container.update() if appropriate.
(repaint): Delagate the repaint to the nearest heavyweight
parent (for lightweights) and send an UPDATE event, rather than
calling ComponentPeer.repaint().
* java/awt/Container.java
(backCleared): Removed field.
(paint): Removed handling of backCleared flag.
(update): Only paint if the container is actually
showing. Removed handling of backCleared flag.
2006-07-27 Robert Schuster <robertschuster@fsfe.org>
* javax/swing/plaf/basic/BasicTabbedPaneUI.java: Fixed copyright and
authorship.
(NavigateAction): New inner class.
(NavigatePageDownAction): New inner class.
(NavigatePageUpAction): New inner class.
(RequestFocusAction): New inner class.
(RequestFocusForVisibleComponentAction): New inner class.
(FocusHandler.focusGained): Implemented.
(FocusHandler.focusLost): Implemented.
(MouseHandler.mouseReleased): Implemented.
(MouseHandler.mousePressed): Rewritten.
(PropertyChangeHandler.propertyChange): Reset currentScrollOffset and
currentScrollLocation to 0.
(TabbedPaneLayout.calculateSize): Stored tab count in local variable,
removed local variables, fixed indentation to stay under 80 column
limit.
(TabbedPaneLayout.calculateTabRects): Decrease tab area position by
one, set selectedIndex to 0 if its negative, corrected start values
for normalization, suppressed padding when only one tab run,
(TabbedPaneLayout.minimumLayoutSize): Toggled argument value.
(TabbedPaneLayout.normalizeTabRuns): Fixed indentation to stay under
80 column limit, corrected the starting value for the bounds fixing
phase.
(TabbedPaneLayout.preferredTabAreaWidth): Fixed indentation.
(TabbedPaneLayout.rotateTabInRuns): Corrected comparison value for
selectedRun, set start index for loop to 0.
(TabbedPaneScrollLayout.preferredLayoutSize): Toggled argument value.
(TabbedPaneScrollLayout.calculateTabRects): Rewritten.
(TabbedPaneScrollLayout.layoutContainer): Added scrolling button
alignment and visibility handling.
(TabSelectionHandler.stateChanged): Do revalidation only in wrap tab
layout mode.
(ScrollingPanel.ScrollingPanelUI.paint): Rewritten.
(currentScrollOffset): New field.
(tabRuns): Rewritten documentation.
(selectedColor): New field.
(tempTextRect): New field.
(tempIconRect): New field.
(scrollTab): New method.
(updateButtons): New method.
(updateViewPosition): New method.
(createLayoutManager): Reordered method calls, predefine new fields,
register proper listeners.
(uninstallComponents): Implemented.
(installDefaults): Corrected property names, fixed indentation,.
(uninstallDefaults): Set new fields to null.
(uninstallListeners): Remove listeners from components neccessary for
scrolling tab layout.
(installKeyboardActions): Implemented.
(uninstallKeyboardActions): Implemented.
(paint): Paint tab area background.
(paintTabArea): Fixed indentation, removed usage of local Rectangle
objects.
(getTabLabelShiftX): Rewritten.
(getTabLabelShiftY): Rewritten.
(paintFocusIndicator): Reindented.
(paintTabBorder): Rewritten.
(paintTabBackground): Corrected color usage, rewritten background
rectangle painting.
(paintContentBorderTopEdge): Rewritten.
(paintContentBorderBottomEdge): Rewritten.
(paintContentBorderLeftEdge): Rewritten.
(paintContentBorderRightEdge): Rewritten.
(tabForCoordinate): Return selected index when no tab could be
found, removed FIXME note.
(getRunForTab): Changed return value for first if-statement.
(navigateSelectedTab): Fixed last argument for both
getTabRunOffset() calls.
(selectedNextTabInRun): Added scrolling code.
(selectedPreviousTabInRun): Added scrolling code.
(selectedNextTab): Added scrolling code.
(selectedPreviousTab): Added scrolling code.
(selectAdjacentRunTab): Added scrolling code.
(getTextViewForTab): Added FIXME note.
(calculateTabHeight): Changed FIXME note.
(getTabRunOffset): Fixed indentation.
(getNextTabIndexInRun): Corrected return value.
(rotateInsets): Make TOP case the default in switch-statement.
(getActionMap): New method.
(createActionMap): New method.
* javax/swing/plaf/metal/MetalTabbedPaneUI.java:
(createLayoutManager): Rewritten.
(paintLeftTabBorder): Do not paint left line when previous tab
is selected but current tab is the first in its run, do not paint
left line when current tab is selected and is first in its run.
(paintRightTabBorder): Added missing setColor() call, fixed color
usage, do not paint right line if previous tab is selected but
current tab is the first in its run.
(paintBottomTabBorder): Do not paint left line if tab is selected
and is the first tab in the last run.
(paintFocusIndicator): New method.
(getLabelShiftX): New method.
(getLabelShiftY): New method.
2006-07-27 Andreas Tobler <a.tobler@schweiz.ch>
* native/jni/gtk-peer/gnu_java_awt_peer_gtk_CairoGraphics2D.c
(Java_gnu_java_awt_peer_gtk_CairoGraphics2D_cairoSetMatrix): Remove
g_assert from unused obj.
(Java_gnu_java_awt_peer_gtk_CairoGraphics2D_cairoDrawGlyphVector): Mark
obj as unused and remove g_assert on it.
2006-07-26 Roman Kennke <kennke@aicas.com>
* javax/swing/RepaintManager.java
(markCompletelyDirty): Add dirty region with Integer.MAX_VALUE
for the component.
(isCompletelyDirty): Consider a component completely dirty
when it has a dirty region with Integer.MAX_VALUE.
2006-07-26 Roman Kennke <kennke@aicas.com>
* java/awt/KeyboardFocusManager.java
(getGlobalFocusOwner): Explicitly check for thread security.
(getGlobalPermanentFocusOwner): Explicitly check for thread security.
(getGlobalFocusedWindow): Explicitly check for thread security.
(getGlobalActiveWindow): Explicitly check for thread security.
(getGlobalCurrentFocusCycleRoot): Explicitly check for thread security.
(getGlobalObject): Added new argument for specifying if
a security check should be performed or not.
(setGlobalObject): Don't check for thread security when
calling getGlobalObject.
2006-07-26 Andrew John Hughes <gnu_andrew@member.fsf.org>
* javax/management/MBeanConstructorInfo.java:
Documentation fix.
* javax/management/MBeanInfo.java:
(MBeanInfo(String,String,MBeanAttributeInfo[],
MBeanConstructorInfo[], MBeanOperationInfo[],
MBeanNotificationInfo[])): Implemented.
(equals(Object)): Likewise.
(getAttributes()): Likewise.
(getConstructors()): Likewise.
(getOperations()): Likewise.
(hashCode()): Likewise.
* javax/management/MBeanOperationInfo.java,
* javax/management/NotCompliantMBeanException.java,
* javax/management/StandardMBean.java:
New files.
2006-07-26 Sven de Marothy <sven@physto.se>
* java/awt/geom/GeneralPath.java: Fix severe typo.
2006-07-26 Sven de Marothy <sven@physto.se>
* include/java_lang_VMSystem.h
* vm/reference/java/lang/VMSystem.java
* native/jni/java-lang/java_lang_VMSystem.c
(nanoTime, currentTimeMillis): Switch the former to native code and
the latter to java.
2006-07-26 Andreas Tobler <a.tobler@schweiz.ch>
* gnu/java/awt/peer/qt/QtCheckboxPeer.java: Removed unneeded imports.
* gnu/java/awt/peer/qt/QtComponentGraphics.java: Likewise.
* gnu/java/awt/peer/qt/QtComponentPeer.java: Likewise.
* gnu/java/awt/peer/qt/QtContainerPeer.java: Likewise.
* gnu/java/awt/peer/qt/QtDialogPeer.java: Likewise.
* gnu/java/awt/peer/qt/QtEmbeddedWindowPeer.java: Likewise.
* gnu/java/awt/peer/qt/QtFontMetrics.java: Likewise.
* gnu/java/awt/peer/qt/QtFontPeer.java: Likewise.
* gnu/java/awt/peer/qt/QtGraphics.java: Likewise.
* gnu/java/awt/peer/qt/QtGraphicsEnvironment.java: Likewise.
* gnu/java/awt/peer/qt/QtImage.java: Likewise.
* gnu/java/awt/peer/qt/QtImageConsumer.java: Likewise.
* gnu/java/awt/peer/qt/QtImageDirectGraphics.java: Likewise.
* gnu/java/awt/peer/qt/QtImageGraphics.java: Likewise.
* gnu/java/awt/peer/qt/QtMenuBarPeer.java: Likewise.
* gnu/java/awt/peer/qt/QtMenuItemPeer.java: Likewise.
* gnu/java/awt/peer/qt/QtPopupMenuPeer.java: Likewise.
* gnu/java/awt/peer/qt/QtScreenDeviceConfiguration.java: Likewise.
* gnu/java/awt/peer/qt/QtScrollPanePeer.java: Likewise.
* gnu/java/awt/peer/qt/QtToolkit.java: Likewise.
* gnu/java/awt/peer/qt/QtVolatileImage.java: Likewise.
2006-07-26 Roman Kennke <kennke@aicas.com>
* java/awt/KeyboardFocusManager.java
(getFocusOwner): Don't check permanent owner.
(getGlobalFocusOwner): Don't check permanent owner.
2006-07-26 Carsten Neumann <cn-develop@gmx.net>
* StrictMath.java (cosh): New method.
(expm1): New method.
(EXPM1_Q1): New field.
(EXPM1_Q2): Likewise.
(EXPM1_Q3): Likewise.
(EXPM1_Q4): Likewise.
(EXPM1_Q6): Likewise.
2006-07-26 Roman Kennke <kennke@aicas.com>
* javax/swing/plaf/basic/BasicButtonListener.java
(mousePressed): Request focus if appropriate.
* javax/swing/text/DefaultCaret.java
(mousePressed): Also handle the focus of the text component
as specified. Don't consume events.
2006-07-26 Roman Kennke <kennke@aicas.com>
* gnu/java/awt/peer/gtk/GtkComponentPeer.java
(focusRequest): Removed field.
(postFocusEvent(int,boolean,Component)): Removed.
(postFocusEvent(int,boolean)): Reverted to post event using
the heavyweight component.
(requestFocus): Post focus event using the heavyweight
component.
* gnu/java/awt/peer/gtk/GtkWindowPeer.java
(requestFocus): Post focus event using the heavyweight
component.
* java/awt/AWTEvent.java
(isFocusManagerEvent): New field, indicating if this is
an event that is redispatched by the KeyboardFocusManager.
* java/awt/Component.java
(requestFocusImpl): Register component for
heavyweight->lightweight mapping.
(dispatchEventImpl): Retarget focus events before dispatching
to the KeyboardFocusManager. Use new AWTEvent flag instead
of locking hack. Dispatch all events through the
KeyboardFocusManager. Don't request focus on lightweight
components.
* java/awt/DefaultKeyboardFocusManager.java
(dispatchEvent): Pulled out handling of FOCUS_GAINED and
FOCUS_LOST.
(handleFocusGained): Fixed handling of temporary vs permanent
focus changes. Added some checks.
(handleFocusLost): Fixed handling of temporary vs permanent
focus changes. Added some checks.
* java/awt/EventDispatchThread.java
(run): Don't dispatch to KeyboardFocusManager here. This
is done in Component.dispatchEventImpl().
* java/awt/KeyboardFocusManager.java
(redispatchEvent): Use new AWTEvent flag instead of locking hack.
(focusRequests): New field.
(retargetFocusEvent): New method. Retargets focus events
that come from heavyweights to the correct lightweight component.
(addLightweightFocusRequest): New method. Stores a mapping
for later retargetting of heavyweight focus events.
* java/awt/Window.java
(addFocusListener): Removed bogus method. If at all, this
should be performed in the KeyboardFocusManager.
(Window): Don't install a focus listener on the Window.
2006-07-26 Robert Schuster <robertschuster@fsfe.org>
* gnu/java/awt/peer/gtk/CairoGraphics2D.java:
(drawLine): Apply shift to line coordinates.
2006-07-26 Robert Schuster <robertschuster@fsfe.org>
* java/awt/image/ColorConvertOp.java: Fixed copyright header.
(copyimage): Do not call setRenderingHints() when the respective map
does not exist.
(filter): Removed code to clone the ColorModel instance.
* java/awt/image/ColorModel.java:
(cloneColorModel): Removed.
2006-07-26 Robert Schuster <robertschuster@fsfe.org>
* javax/swing/JTabbedPane.java:
(setSelectedIndex): Removed updating of component visibility status,
added note.
(remove(Component)): Use indexOfComponent() to find whether we have
to use super.remove(int) or removeTabAt().
2006-07-26 Roman Kennke <kennke@aicas.com>
* javax/swing/JOptionPane.java
(createDialog): Add property change handler for closing
the dialog when the value property changes.
(ValuePropertyHandler): New inner helper class.
* javax/swing/plaf/basic/BasicOptionPaneUI.java
(OptionPaneCloseAction): New class.
(messageForeground): Removed field.
(messageBorder): Removed field.
(buttonBorder): Removed field.
(addIcon): Configure the new label.
(addMessageComponents): Configure newly created labels.
(burstStringInto): Likewise.
(createButtonArea): Install border here.
(createMessageArea): Install border and foreground here.
(createSeparator): Added comment and removed
NotImplementedException.
(installComponents): Don't install the UI defaults for the
message and button area here. This is moved to the
corresponding create* methods. Adjusted comment about
separator.
(installDefaults): Removed initialization of removed fields.
(installKeyboardActions): Implemented.
(getActionMap): New helper method.
(createDefaultActions): New helper method.
(uninstallDefaults): Removed de-initialization of removed fields.
(uninstallKeyboardActions): Implemented.
(configureLabel): New helper method.
* javax/swing/plaf/basic/BasicTableUI.java
(getActionMap): Fixed the UI property names.
* javax/swing/plaf/basic/BasicToolBarUI.java
(getActionMap): Fixed the UI property names.
2006-07-26 David Gilbert <david.gilbert@object-refinery.com>
* java/awt/image/BandedSampleModel.java
(getDataElements): Check for negative x or y,
(getPixels): Likewise,
(getSamples): Likewise,
(setSamples): Likewise.
2006-07-26 Roman Kennke <kennke@aicas.com>
* javax/swing/plaf/basic/BasicToolBarUI.java
(ToolBarAction): New inner class for handling keyboard
actions.
(installKeyboardActions): Implemented.
(getActionMap): New helper method.
(createDefaultActions): New helper method.
(installListeners): Install focus listener on toolbar's
children, rather than the toolbar itself.
(navigateFocusedComp): Implemented.
(uninstallKeyboardActions): Implemented.
(uninstallListeners): Uninstall focus listener from
toolbar's children, rather than the toolbar itself.
(ToolBarContListener.componentAdded): Install focus
listener on added child.
(ToolBarContListener.componentRemoved): Uninstall focus
listener from removed child.
(ToolBarFocusListener.ToolBarFocusListener): Nothing to do here.
(ToolBarFocusListener.focusGained): Implemented.
(ToolBarFocusListener.focusLost): Implemented.
2006-07-26 Roman Kennke <kennke@aicas.com>
* java/awt/DefaultKeyboardFocusManager.java
(dispatchEvent): Notify old focus owner when it has lost
focus.
2006-07-26 Roman Kennke <kennke@aicas.com>
* javax/swing/plaf/basic/BasicTableUI.java
(FocusHandler.focusGained): Implemented to refresh the
lead cell.
(FocusHandler.focusLost): Implemented to refresh the
lead cell.
(FocusHandler.repaintLeadCell): New helper method.
(MouseInputHandler.mouseEntered): Do nothing here.
(MouseInputHandler.mouseExited): Do nothing here.
(MouseInputHandler.mouseMoved): Do nothing here.
(installKeyboardActions): Rewritten to use a shared InputMap
and ActionMap and correctly install the maps via SwingUtilities
methods.
(getActionMap): New helper method.
(createDefaultActions): New helper method.
(ActionListenerProxy): Removed unneeded class.
(TableAction): Made class static.
(TableAction.actionPerformed): Determine table by fetching
the event source. Pass the table to helper methods.
Use __command__ hack to determine the action command.
(TableAction.getFirstVisibleColumnIndex): Get table as argument.
(TableAction.getLastVisibleColumnIndex): Get table as argument.
(TableAction.getFirstVisibleRowIndex): Get table as argument.
(TableAction.getLastVisibleRowIndex): Get table as argument.
(TableAction.advanceMultipleSelection): Get table as argument.
(uninstallDefaults): Do nothing here.
(uninstallKeyboardActions): Uninstall the keyboard actions.
2006-07-26 Roman Kennke <kennke@aicas.com>
* javax/swing/JComponent.java
(processKeyBinding): Store the action command as property
in the Action instance that we call. This allows for
improvement on the side of the Action.
2006-07-26 Roman Kennke <kennke@aicas.com>
* javax/swing/plaf/metal/MetalUtils.java
(fillMetalPattern): Use fillRect() instead of drawLine() to
fill single pixels.
2006-07-26 Roman Kennke <kennke@aicas.com>
* javax/swing/text/GapContent.java
(getChars): Check for negative length and throw
BadLocationException.
2006-07-26 Roman Kennke <kennke@aicas.com>
* javax/swing/plaf/basic/BasicMenuBarUI.java
(FocusAction): Made class static.
2006-07-26 Roman Kennke <kennke@aicas.com>
* javax/swing/plaf/basic/BasicLookAndFeel.java
(initComponentDefaults): Add keyboard bindings for
PopupMenu.
2006-07-26 Roman Kennke <kennke@aicas.com>
* javax/swing/UIManager.java
(getLookAndFeelDefaults): Return the look and feel defaults.
(setLookAndFeel): Improved exception messsage.
2006-07-26 David Gilbert <david.gilbert@object-refinery.com>
* javax/swing/text/StringContent.java
(StringContent): Changed initialLength to 10.
2006-07-26 David Gilbert <david.gilbert@object-refinery.com>
* java/util/Vector.java: Fixed API doc typo.
2006-07-26 David Gilbert <david.gilbert@object-refinery.com>
* java/awt/image/BandedSampleModel.java
(createCompatibleSampleModel): Fixed typo in loop increment, set
correct scanlineStride, and updated API docs.
2006-07-25 Roman Kennke <kennke@aicas.com>
* javax/swing/plaf/basic/BasicPopupMenuUI.java
(NavigateAction): New inner class. This is responsible for
keyboard navigation through menus.
(KeyboardHelper): New inner class. This manages the
keyboard mappings and focus when a popup opens or closes.
(keyboardHelper): New static field.
(numPopups): New static field.
(installUI): Create KeyboardHelper for first popup.
Call installKeyboardActions().
(installKeyboardActions): Removed NotImplementedException.
This method is a no-op.
(installKeyboardActionsImpl): New method. Installs keyboard
mapping when a popup is opened.
(getActionMap): New helper method.
(createDefaultActions): New helper method.
(uninstallUI): Uninstall KeyboardHelper when last Popup is
uninstalled. Call uninstallKeyboardActions().
(uninstallKeyboardActions): Removed NotImplementedException.
This method is a no-op.
(uninstallKeyboardActionsImpl): New method. Uninstalls keyboard
mapping when a popup is closed.
2006-07-25 Roman Kennke <kennke@aicas.com>
* java/awt/Component.java
(requestFocus()): Reimplemented to use requestFocusImpl().
(requestFocus(boolean)): Reimplemented to use requestFocusImpl().
(requestFocusInWindow()): Reimplemented to use requestFocusImpl().
(requestFocusInWindow(boolean)): Reimplemented to use
requestFocusImpl().
(requestFocusImpl): Reimplemented focus request to use
new peer method. Also added some obvious additional checks
for rejecting focus requests early.
* java/awt/ComponentPeer.java
(requestFocus(Component,boolean,boolean,long)): Documented
this method.
* gnu/java/awt/peer/gtk/GtkComponentPeer.java
(requestFocus): New field.
(gtkWidgetHasFocus): New native method.
(gtkWidgetCanFocus): New native method.
(requestFocus): Replaced with assert false to prevent
usage of obsolete method.
(postFocusEvent(int,boolean,Component)): New overloaded method
for posting the focus event to a specific target.
(postFocusEvent(int,boolean)): Post event to requestFocus
component.
(requestFocus(Component,boolean,boolean,long)): Implemented.
(getWindowFor): New helper method.
(isLightweightDescendant): New helper method.
* gnu/java/awt/peer/gtk/GtkWindowPeer.java
(gtkWindowHasFocus): New native method.
(requestFocus(Component,boolean,boolean,long)): New method.
Overrides GtkComponentPeer method to specially handly the
case when a Window receives a focus request for a lightweight
child.
* native/jni/gtk-peer/gnu_java_awt_peer_gtk_GtkComponentPeer.c
(gtkWidgetHasFocus): New native method.
(gtkWidgetCanFocus): New native method.
* native/jni/gtk-peer/gnu_java_awt_peer_gtk_GtkWindowPeer.c
(gtkWindowHasFocus): New native method.
* include/gnu_java_awt_peer_gtk_GtkComponentPeer.h,
* include/gnu_java_awt_peer_gtk_GtkWindowPeer.h:
Regenerated.
2006-07-25 Francis Kung <fkung@redhat.com>
* java/awt/DefaultKeyboardFocusManager.java
(dispatchEvent): Add check for valid component.
2006-07-25 Andrew John Hughes <gnu_andrew@member.fsf.org>
* javax/management/MBeanConstructorInfo.java:
New file.
* javax/management/MBeanNotificationInfo.java:
Documentation fix.
* javax/management/MBeanParameterInfo.java:
New file.
2006-07-25 Robert Schuster <robertschuster@fsfe.org>
* java/awt/peer/gtk/CairoGraphics.java:
(drawLine): Added special case for 1 pixel lines.
2006-07-25 Robert Schuster <robertschuster@fsfe.org>
Fixes PR27844.
* java/awt/peer/gtk/CairoGraphics.java:
(drawLine): Removed calls to shifted().
2006-07-25 Robert Schuster <robertschuster@fsfe.org>
* javax/swing/JTabbedPane.java:
(remove(Component)): Rewritten.
(setSelectedIndex): Implemented updating of component visibility state.
2006-07-25 Sven de Marothy <sven@physto.se>
* native/jni/gtk-peer/gnu_java_awt_peer_gtk_GtkVolatileImage.c
(init): Default to the actual depth in the worst case.
* java/awt/Font.java
(createFont(int, File)): New method.
2006-07-25 Ito Kazumitsu <kaz@maczuka.gcd.org>
Fixes bug #28413
* gnu/java/util/regex/RETokenEnd.java(check_java_line_terminators):
New field.
(RETokenEnd): New constructer to set check_java_line_terminators.
(matchThis): Checck line terminators if check_java_line_terminators.
* gnu/java/util/regex/RETokenStart.java: Likewise.
* gnu/regexp/RE.java(initialize): Use the new constructors for
RETokenEnd and RETokenStart if REG_MULTILINE is set.
* java/util/regex/Pattern.java(Patteren): Changed so that
gnu/regexp/RE.java may use the new the new constructors.
2006-07-25 Roman Kennke <kennke@aicas.com>
* java/awt/Container.java
(focusTraversalPolicyProvider): New field.
(isFocusTraversalPolicyProvider): New method.
(setFocusTraversalPolicyProvider): New method.
* java/awt/ContainerOrderFocusTraversalPolicy.java
(getFirstComponent): Use accept() instead of lengthy checks.
Don't fetch getComponents() to avoid copying of array.
Traverse down the hierarchy to find the first focused component.
* java/awt/DefaultKeyboardFocusManager.java
(dispatchEvent): Let the initial component request focus.
2006-07-25 David Gilbert <david.gilbert@object-refinery.com>
* javax/swing/text/Segment.java
(last): Update current index before returning DONE for zero count.
2006-07-24 Mark Wielaard <mark@klomp.org>
* javax/swing/tree/TreePath.java (equals): Swap path equals call.
2006-07-25 Roman Kennke <kennke@aicas.com>
* javax/swing/plaf/basic/BasicMenuBarUI.java
(FocusAction): New inner class. Used to grab focus.
(installKeyboardActions): Implemented.
(uninstallKeyboardActions): Implemented.
(getActionMap): New helper method.
(createDefaultActions): New helper method.
2006-07-25 Robert Schuster <robertschuster@fsfe.org>
* examples/gnu/classpath/examples/swing/Demo.java:
(mkMenuBar): Install instantiable basic look and feel.
(InstantiableBasicLookAndFeel): New inner class.
2006-07-25 Roman Kennke <kennke@aicas.com>
* javax/swing/plaf/basic/BasicInternalFrameUI.java
(GlassPaneDispatcher.dragTarget): New field.
(GlassPaneDispatcher.isDragging): New field.
(GlassPaneDispatcher.pressedComponent): Removed field.
(GlassPaneDispatcher.tempComponent): Removed field.
(GlassPaneDispatcher.pressCount): Removed field.
(GlassPaneDispatcher.mousePressed): Call
borderListener.mousePressed() to activate the frame.
(acquireComponentForMouseEvent): Removed method.
(handleEvent): Rewritten.
(redispatch): New method.
(InternalFramePropertyChangeListener.propertyChange):
Make glasspane invisible when frame is selected, and visible
if it gets deselected.
2006-07-25 Roman Kennke <kennke@aicas.com>
* java/awt/LightweightDispatcher.java
(handleMouseEvent): Dispatch event to real target if
the dragTarget has become invisible in the meantime.
2006-07-25 David Gilbert <david.gilbert@object-refinery.com>
* javax/swing/text/TabSet.java
(equals): New method override for 1.5,
(hashCode): Likewise,
(toString): Added spaces to match reference implementation.
2006-07-24 Andrew John Hughes <gnu_andrew@member.fsf.org>
* javax/management/IntrospectionException.java,
* javax/management/MBeanAttributeInfo.java:
New files.
* javax/management/MBeanNotificationInfo.java:
Documentation cleanups.
2006-07-24 David Gilbert <david.gilbert@object-refinery.com>
* javax/swing/text/TabSet.java
(TabSet): Check for null argument,
(getTab): Throw IllegalArgumentException for index out of bounds,
(getTabIndexAfter): Changed test to '<=',
and updated API docs all over,
* javax/swing/text/TabStop.java: Updated API docs.
2006-07-24 David Gilbert <david.gilbert@object-refinery.com>
* javax/swing/text/TabStop.java
(toString): Don't use 'left ' prefix, and added space between tab
location and '(w/leader)' suffix.
2006-07-24 Francis Kung <fkung@redhat.com>
* javax/swing/JComboBox.java
(DefaultKeySelectionManager): Implemented.
(createDefaultKeySelectionManager): Implemented.
(getKeySelectionManager): Implemented.
(processKeyEvent): Removed duplicate code.
* javax/swing/JPopupMenu.java
(selectionModel): Changed visibility.
* javax/swing/plaf/basic/BasicComboBoxUI.java
(KeyHandler.keyPressed): Added navigation keys.
(configureEditor): Add key listener.
(installListeners): Install focus listener to combo box.
(isNavigationKey): Added enter, escape, and tab.
(selectPreviousPossibleValue): Added out of bounds check.
(unconfigureEditor): Remove key listener.
* javax/swing/plaf/metal/MetalComboBoxButton.java
(paintComponent): Highlight combo box when in focus.
2006-07-24 Roman Kennke <kennke@aicas.com>
* javax/swing/SwingUtilities.java
(isLeftMouseButton): Fixed condition.
* java/awt/LightweightDispatcher.java
(handleMouseEvent): Dispatch MOUSE_ENTERED even when mouse
is dragged.
2006-07-24 Roman Kennke <kennke@aicas.com>
* gnu/java/awt/peer/gtk/CairoGraphics2D.java
(setPaint): Fixed scaleX and scaleY.
2006-07-24 Roman Kennke <kennke@aicas.com>
* javax/swing/JTable.java
(handleInsert): Repaint the whole table for variable row
height tables and an optimized region otherwise.
(handleDelete): Likewise.
(handleUpdate): Likewise.
2006-07-24 Mario Torre <neugens@limasoftware.net>
* gnu/java/awt/peer/gtk/GtkToolkit.java (createDragGestureRecognizer):
now explicity registerListeners on GtkMouseDragGestureRecognizer
instance.
* gnu/java/awt/dnd/GtkMouseDragGestureRecognizer.java
(unregisterListeners): new method, overrided from base class
to rise visibility (from protected to public).
(registerListeners): Likewise.
(GtkMouseDragGestureRecognizer): fixed potential threading issue:
removed call to registerListeners from the constructor.
2006-07-23 Andrew John Hughes <gnu_andrew@member.fsf.org>
* gnu/java/lang/management/MemoryPoolMXBeanImpl.java,
* java/lang/management/MemoryPoolMXBean.java:
(getType()): Changed return type to MemoryType.
* java/lang/management/MemoryType.java:
New file.
2006-07-23 Mark Wielaard <mark@klomp.org>
* configure.ac: Check for moc and moc-qt4.
2006-07-23 David Gilbert <david.gilbert@object-refinery.com>
* java/awt/image/Kernel.java: API doc updates.
2006-07-22 Andreas Tobler <a.tobler@schweiz.ch>
* gnu/java/awt/peer/gtk/CairoSurface.java: Optimize pixel swap code a
bit more.
2006-07-22 Mark Wielaard <mark@klomp.org>
* java/lang/Iterable.java: Import all of java.util.
* lib/mkcollections.pl.in (javautilclasses): Add Iterable.
* lib/Makefile.am: Only search for .java files in COLLECTIONS_PREFIX.
2006-07-22 Andrew John Hughes <gnu_andrew@member.fsf.org>
* doc/vmintegration.texinfo:
Document getType(String).
* gnu/java/lang/management/MemoryPoolMXBeanImpl.java,
* java/lang/management/MemoryPoolMXBean.java:
(getType()): Implemented.
* vm/reference/gnu/java/lang/management/VMMemoryPoolMXBeanImpl.java
(getType(String)): Implemented.
2006-07-22 Andrew John Hughes <gnu_andrew@member.fsf.org>
* doc/vmintegration.texinfo:
Move end of itemization block.
2006-07-22 Robert Schuster <robertschuster@fsfe.org>
* javax/swing/plaf/metal/MetalLookAndFeel.java:
(initComponentDefaults): Added new properties, added comments.
2006-07-22 Andrew John Hughes <gnu_andrew@member.fsf.org>
* doc/vmintegration.texinfo:
Mention callback methods.
* gnu/java/lang/management/MemoryMXBeanImpl.java:
(fireNotification(String,String,long,long,long,long,long)):
Made package-private.
(fireThresholdExceededNotification(String,long,long,long,
long,long)): Likewise.
(fireCollectionThresholdExceededNotification(String,long,
long,long,long,long)): Likewise.
* java/lang/management/MemoryMXBean.java:
Document notifications.
2006-07-22 Andrew John Hughes <gnu_andrew@member.fsf.org>
* gnu/java/lang/management/MemoryMXBeanImpl.java:
(fireNotification(String,String,long,long,long,long,long)):
Implemented.
(fireThresholdExceededNotification(String,long,long,long,
long,long)): Likewise.
(fireCollectionThresholdExceededNotification(String,long,
long,long,long,long)): Likewise.
* java/lang/management/MemoryNotificationInfo.java:
Use composite type from MemoryMXBeanImpl.
* javax/management/openmbean/CompositeData.java:
Correct documentation.
* javax/management/openmbean/CompositeDataSupport.java,
* javax/management/openmbean/InvalidKeyException.java:
New files.
2006-07-22 Raif S. Naffah <raif@swiftdsl.com.au>
* gnu/java/security/util/IntegerUtil.java: New file.
2006-07-22 Raif S. Naffah <raif@swiftdsl.com.au>
PR Classpath/28100
* gnu/javax/crypto/cipher/TripleDES.java: Updated documentation.
(KEY_SIZE): Likewise.
(adjustParity(int,byte[],int): New method.
(adjustParity(byte[],int): Call above method with 3 as 1st argument.
(isParityAdjusted(int,byte[],int)): New method.
(isParityAdjusted): Call above method with 3 as 1st argument.
(keySizes): Add 8 and 16 as other valid key sizes.
(makeKey): Amended to cater for 1, 2 and 3 independent DES keys.
2006-07-22 Andreas Tobler <a.tobler@schweiz.ch>
* gnu/java/awt/peer/gtk/CairoSurface.java (CairoSurface): Rearrange
code for the pixel swap routine to be more efficient.
2006-07-21 Carsten Neumann <cn-develop@gmx.net>
* java/util/CopyOnWriteArrayList.java (indexOf(E, int)): New method.
(lastIndexOf(E, int)): Likewise.
(add(E)): Increase the size of newData array by one.
(add(int, E)): Likewise.
2006-07-20 Lillian Angel <langel@redhat.com>
* gnu/java/awt/dnd/GtkMouseDragGestureRecognizer.java:
Removed unused fields.
(GtkMouseDragGestureRecognizer): Removed initializations.
2006-07-20 Lillian Angel <langel@redhat.com>
* gnu/java/awt/dnd/GtkMouseDragGestureRecognizer.java
(GtkMouseDragGestureRecognizer): New constructor.
(GtkMouseDragGestureRecognizer): New constructor.
(GtkMouseDragGestureRecognizer): New constructor.
(mouseClicked): Removed FIXME.
(mousePressed): Implemented.
(mouseReleased): Implemented.
(mouseEntered): Implemented.
(mouseDragged): Implemented to check mouse point and trigger origin.
(mouseMoved): Removed FIXME.
(getDropActionFromEvent): New helper function used to convert mouse event
modifiers to a drop action.
* java/awt/dnd/DragSource.java
(getDragThreshold): Changed to return some arbitrary value for testing
purposes.
2006-07-20 Roman Kennke <kennke@aicas.com>
* java/awt/LightweightDispatcher.java
(findTarget): Also consider components that have their eventMask
set, for compatibility with stonage AWT. Optimized check
for MouseListener.
(handleMouseEvent): Likewise.
2006-07-20 Roman Kennke <kennke@aicas.com>
* javax/swing/JTable.java
(tableChanged): Split out handling of the event into multiple
subroutines.
(handleCompleteChange): New method. Clear the selection and
check the lead/anchor indices.
(handleInsert): New method. Check the lead/anchor indices.
Optimized repainting.
(handleDelete): New method. Check the lead/anchor indices.
Optimized repainting.
(handleUpdate): New method. Optimized repainting.
(checkSelection): New helper method.
(setSelectionModel): Update lead/anchor indices.
2006-07-20 Lillian Angel <langel@redhat.com>
PR 28440
* gnu/java/awt/peer/gtk/GtkCheckboxPeer.java
(dispose): Reset all fields.
2006-07-20 Roman Kennke <kennke@aicas.com>
* gnu/java/awt/peer/x/XToolkit.java
(createImage(InputStream)): Only copy image to Pixmap if
it's actually opaque. Transparent images are left as
BufferedImage and composited later onto the screen.
* gnu/java/awt/peer/x/XGraphics.java
(XGraphics): Fetch some parameters for image rendering.
(drawImage): Added special handling of transparent images.
(getRGB): New helper method.
(setRGB): New helper method.
2006-07-20 Roman Kennke <kennke@aicas.com>
* gnu/javax/imageio/IIOInputStream.java: New class. Wraps
ImageInputStreams as normal InputStreams.
* gnu/javax/imageio/gif/GIFStream.java:
Moved to gnu/javax/imageio/IIOInputStream.java.
* gnu/javax/imageio/gif/GIFImageReader.java
(readImage): Use IIOInputStream.
* gnu/javax/imageio/gif/GIFImageReaderSpi.java
(canDecodeInput): Use IIOInputStream.
* gnu/javax/imageio/png/PNGException.java: Make subclass
of IOException.
* gnu/javax/imageio/png/PNGImageReader.java: New class.
Implements the ImageIO ImageReader for PNG.
* gnu/javax/imageio/png/PNGImageReaderSpi.java: New class.
Implements the ImageIO ImageReaderSpi for PNG.
* javax/imageio/spi/IIORegistry.java:
(IIORegistry): Add PNGImageReaderSpi.
2006-07-20 David Gilbert <david.gilbert@object-refinery.com>
* java/awt/image/ComponentSampleModel.java
(getPixel): Added argument check,
(getSample): Modified exception message.
2006-07-20 David Gilbert <david.gilbert@object-refinery.com>
PR Classpath/28422
* java/awt/image/ConvolveOp.java
(filter(Raster, WritableRaster)): Reimplemented,
(fillEdge): New private method.
2006-07-19 Keith Seitz <keiths@redhat.com>
* include/jvmti.h (JVMTI_VERSION_1_0): Define.
(JVMTI_VERSION): Define.
2006-07-19 Roman Kennke <kennke@aicas.com>
* resource/gnu/regexp/MessagesBundle.properties,
* resource/gnu/regexp/MessagesBundle_fr.properties,
* resource/gnu/regexp/MessagesBundle_it.properties:
Moved to resource/gnu/java/util/regex.
* resource/gnu/java/util/regex/MessagesBundle.properties,
* resource/gnu/java/util/regex/MessagesBundle_fr.properties,
* resource/gnu/java/util/regex/MessagesBundle_it.properties:
New files.
* gnu/java/util/regex/RE.java
Use new resource bundle location.
2006-07-19 Roman Kennke <kennke@aicas.com>
* javax/swing/JComponent.java
(paintChildren): Refactored. The paintChildrenOptimized method
has been moved back in here. Added locking of the tree and
only check for completely obscured child components
when not optimized drawing enabled. Use Graphics.create() to
protect from irreversible changes.
(isCompletelyObscured): New helper method.
(paintComponent): Also use Graphics.create() for Graphics2D,
to protect from irreverible changes.
(clipAndTranslateGraphics): Refactored to use more efficient
iterative (vs recursive) approach.
* javax/swing/RepaintManager.java
(getOffscreenBuffer): Create image from root component.
2006-07-19 Roman Kennke <kennke@aicas.com>
* gnu/java/awt/peer/x/XGraphics.java
(translate): Don't set the clip on the X server.
(clipRect): Use setXClip() to set the clip on the X server.
(hitClip): More efficient and correct implementation.
(setClip): Use setXClip() to set the clip on the X server.
(setClip(Shape)): Use setXClip() to set the clip on the X server.
(copyArea): Translate and clip the source rectangle correctly.
(dispose): Only flush when object is not yet disposed.
(clone): Use setXClip() to set the clip on the X server.
2006-07-19 Sven de Marothy <sven@physto.se>
* gnu/javax/imageio/png/PNGChunk.java,
* gnu/javax/imageio/png/PNGData.java,
* gnu/javax/imageio/png/PNGDecoder.java,
* gnu/javax/imageio/png/PNGEncoder.java,
* gnu/javax/imageio/png/PNGException.java,
* gnu/javax/imageio/png/PNGFile.java,
* gnu/javax/imageio/png/PNGFilter.java,
* gnu/javax/imageio/png/PNGGamma.java,
* gnu/javax/imageio/png/PNGHeader.java,
* gnu/javax/imageio/png/PNGICCProfile.java,
* gnu/javax/imageio/png/PNGPalette.java,
* gnu/javax/imageio/png/PNGPhys.java,
* gnu/javax/imageio/png/PNGTime.java:
New files.
2006-07-19 Sven de Marothy <sven@physto.se>
* java/net/Inet6Address.java:
(getScopedId, getScopedInterface): New methods.
2006-07-19 Lillian Angel <langel@redhat.com>
* examples/gnu/classpath/examples/awt/Demo.java
(DragDropWindow): Fixed typo in Label text.
* gnu/java/awt/dnd/peer/gtk/GtkDragSourceContextPeer.java
(GtkDragSourceContextPeer): Removed unneeded initialization for field.
(startDrag): Initialized context field.
(transferablesFlavorsChanged): Removed FIXME. Nothing is done in this
function.
(dragEnter): New function.
(dragExit): Likewise.
(dragDropEnd): Likewise.
(dragMouseMoved): Likewise.
(dragOver): Likewise.
(dragActionChanged): Likewise.
2006-07-19 Raif S. Naffah <raif@swiftdsl.com.au>
PR Classpath/26302
* resource/java/security/classpath.security: Updated copyright year.
(auth.login.defaultCallbackHandler): New property; set to our default
callback handler. This is needed by the LoginContext when no callback
handler was specified.
* javax/security/auth/login/LoginContext.java: Updated copyright year.
(LoginContext(4)): Assign passed parameters to local fields before invoking
lookup method.
2006-07-19 Roman Kennke <kennke@aicas.com>
* gnu/java/awt/peer/x/XGraphics.java
(drawImage(Image,int,int,int,int,int,int,int,int,ImageObserver)):
Fixed ordering of parameters.
2006-07-18 Andrew John Hughes <gnu_andrew@member.fsf.org>
* gnu/java/lang/management/MemoryMXBeanImpl.java:
(MemoryMXBeanImpl()): Implemented.
(ListenerData): New private class.
(addNotificationListener(NotificationListener,
NotificationFilter, Object)): Implemented.
(getNotificationInfo()): Likewise.
(removeNotificationListener(NotificationListener)):
Likewise.
(removeNotificationListener(NotificationListener,
NotificationFilter, Object)): Likewise.
2006-07-18 Roman Kennke <kennke@aicas.com>
* gnu/java/awt/peer/x/XFontPeer.java
(encodeFont): Be more flexible with font sizes.
(validSize): New helper method.
* gnu/java/awt/peer/x/XGraphics.java
(drawImage(Image,int,int,int,int,int,int,int,int,ImageObserver)):
Implemented.
(drawImage(Image,int,int,int,int,int,int,int,int,Color,ImageObserver)):
Implemented.
* gnu/java/awt/peer/x/XImage.java
(properties): New field.
(getProperty): Implemented.
* resource/gnu/java/awt/peer/x/fonts.properties:
Added copyright header. Fixed font size field.
2006-07-18 David Gilbert <david.gilbert@object-refinery.com>
* java/awt/image/BandedSampleModel.java
(createDataBuffer): New method override,
* java/awt/image/ByteLookupTable.java
(ByteLookupTable(int, byte[][])): Create new array to hold references,
(ByteLookuptable(int, byte[])): Check for null array,
* java/awt/image/ComponentSampleModel.java
(createDataBuffer): Removed unnecessary braces,
(getSample): Check (x, y) is within bounds,
* java/awt/image/ShortLookupTable.java
(ShortLookupTable(int, short[][])): Create new array to hold references,
(ShortLookupTable(int, short[])): Check for null array,
(getTable): Added API docs,
(lookupPixel): Source reformatting.
2006-07-18 Tania Bento <tbento@redhat.com>
* java/awt/GridLayout.java
(setHgap): Illegal Argument Exception should not be thrown if
hgap < 0.
(setVgap): Illegal Argument Exception should not be thrown if
vgap < 0.
(toString): Opening square braket ([) should appear before hgap
value, not the name of the class.
2006-07-18 Roman Kennke <kennke@aicas.com>
* lib/copy-vmresources.sh.in: Reverted.
* gnu/java/awt/peer/x/fonts.properties: Moved to resource/
* resource/gnu/java/awt/peer/x/fonts.properties: New file.
2006-07-18 Roman Kennke <kennke@aicas.com>
* lib/copy-vmresources.sh.in: Include properties from X peers.
2006-07-18 Raif S. Naffah <raif@swiftdsl.com.au>
PR Classpath/27205
* tools/gnu/classpath/tools/jarsigner/SFHelper.java (writeDSA): Check
certificate validity.
(getIssuerName): New method.
(getSubjectName): Likewise.
(getNotAfterDate): Likewise.
(getNotBeforeDate): Likewise.
* resource/gnu/classpath/tools/jarsigner/messages.properties: Added
messages for newly added messages in SFHelper.
2006-07-18 Roman Kennke <kennke@aicas.com>
* gnu/java/awt/peer/x/XDialogPeer.java: New class.
* gnu/java/awt/peer/x/XEventPump.java
(handleEvent): Cast to XWindowPeer rather than XFramePeer.
* gnu/java/awt/peer/x/XFramePeer.java
Made a subclass of XWindowPeer, rather than SwingFramePeer.
* gnu/java/awt/peer/x/XGraphics.java
Made subclass of Graphics rather than Graphics2D. Removed
all Graphics2D specific method stubs.
(setColor): Map colors using the X color map that is
stored in XToolkit.
* gnu/java/awt/peer/x/XToolkit.java
(colorMap): New field.
(getLocalGraphicsEnvironment): Return new XGraphicsEnvironment
instance.
(createDialog): Implemented.
(createImage(ImageProducer)): Implemented.
(createImage(InputStream)): Use createImage(ImageProducer)
to convert the BufferedImage to an XImage.
* gnu/java/awt/peer/x/XWindowPeer.java
(XWindowPeer): Removed debug output.
2006-07-18 David Gilbert <david.gilbert@object-refinery.com>
* java/awt/image/BufferedImageOp.java: API docs added,
* java/awt/image/RasterOp.java: Likewise.
2006-07-18 David Gilbert <david.gilbert@object-refinery.com>
* java/awt/Graphics2D.java: API docs updated.
2006-07-18 David Gilbert <david.gilbert@object-refinery.com>
* java/awt/image/WritableRaster.java: Added API docs and reformatted
source code.
2006-07-18 Sven de Marothy <sven@physto.se>
* java/net/Inet6Address.java:
Add 1.5 serialized fields.
(getByAddress): New methods.
(readObject, writeObject): New methods.
(equals): Reimplement.
2006-07-18 David Gilbert <david.gilbert@object-refinery.com>
* java/awt/image/Raster.java: Added API docs and reformatted source
code.
2006-07-18 Andreas Tobler <a.tobler@schweiz.ch>
* gnu/java/awt/peer/gtk/BufferedImageGraphics.java: Remove unneeded
imports.
* gnu/java/awt/peer/gtk/CairoSurface.java: Likewise.
* gnu/java/awt/peer/gtk/CairoSurfaceGraphics.java: Likewise.
* gnu/java/awt/peer/gtk/ComponentGraphicsCopy.java: Likewise.
* gnu/java/awt/peer/gtk/GdkFontPeer.java: Likewise.
* gnu/java/awt/peer/gtk/GdkPixbufDecoder.java: Likewise.
* gnu/java/awt/peer/gtk/GtkButtonPeer.java: Likewise.
* gnu/java/awt/peer/gtk/GtkClipboardNotifier.java: Likewise.
* gnu/java/awt/peer/gtk/GtkComponentPeer.java: Likewise.
* gnu/java/awt/peer/gtk/GtkContainerPeer.java: Likewise.
* gnu/java/awt/peer/gtk/GtkDialogPeer.java: Likewise.
* gnu/java/awt/peer/gtk/GtkFramePeer.java: Likewise.
* gnu/java/awt/peer/gtk/GtkImage.java: Likewise.
* gnu/java/awt/peer/gtk/GtkImageConsumer.java: Likewise.
* gnu/java/awt/peer/gtk/GtkMenuBarPeer.java: Likewise.
* gnu/java/awt/peer/gtk/GtkMenuItemPeer.java: Likewise.
* gnu/java/awt/peer/gtk/GtkMouseInfoPeer.java: Likewise.
* gnu/java/awt/peer/gtk/GtkPanelPeer.java: Likewise.
* gnu/java/awt/peer/gtk/GtkPopupMenuPeer.java: Likewise.
* gnu/java/awt/peer/gtk/GtkScrollbarPeer.java: Likewise.
* gnu/java/awt/peer/gtk/GtkWindowPeer.java: Likewise.
* gnu/java/awt/peer/gtk/VolatileImageGraphics.java: Likewise.
2006-07-17 Andreas Tobler <a.tobler@schweiz.ch>
* javax/swing/text/html/HTMLEditorKit.java: Rearrange import statements
to make it compile again under jikes. Note added.
2006-07-17 Lillian Angel <langel@redhat.com>
* examples/gnu/classpath/examples/awt/Demo.java
(Demo): Added new window for DnD demo.
(DragDropWindow): New class.
* gnu/java/awt/dnd/peer/gtk/GtkDragSourceContextPeer.java:
Added new fields and declarations for native functions.
(GtkDragSourceContextPeer): Implemented.
(getComponentPeer): New function.
(startDrag): Partially implemented.
(getCursor): Implemented.
(setCursor): Implemented.
* include/GtkDragSourceContextPeer.h: New file.
* include/Makefile.am: Added new header file.
* java/awt/Component.java
(addNotify): Added call to the dropTarget's addNotify.
* java/awt/dnd/DragSource.java
(startDrag): Fixed code to use shared instances of peer and
context.
(getDragThreshold): Added stub.
* java/awt/dnd/DropTarget.java
(DropTarget): Implemented fully.
(addNotify): Added code to get the peer of the parent that is
not lightweight.
* java/awt/dnd/DropTargetDragEvent.java
(getTransferable): Added stub.
* native/jni/gtk-peer/GtkDragSourceContextPeer.c: New file.
* native/jni/gtk-peer/Makefile.am: Added new c file.
* gnu/java/awt/dnd/peer/gtk/GtkDropTargetContextPeer.java:
Changed to extend GtkGenericPeer.
(GtkDropTargetContextPeer): New constructor.
* gnu/java/awt/dnd/peer/gtk/GtkDropTargetPeer.java:
Changed to extend GtkGenericPeer.
(GtkDropTargetContextPeer): New constructor.
2006-07-17 David Gilbert <david.gilbert@object-refinery.com>
* java/awt/image/SinglePixelPackedSampleModel.java
(createSubsetSampleModel): Added argument check and API docs.
2006-07-17 Roman Kennke <kennke@aicas.com>
* gnu/java/awt/peer/x/XGraphics.java
(copyArea): Implemented.
2006-07-17 David Gilbert <david.gilbert@object-refinery.com>
* java/awt/image/SinglePixelPackedSampleModel.java
(getSampleSize): Return copy of array,
(getOffset): Added API docs,
(getScanlineStride): Likewise,
(hashCode): Implemented.
2006-07-17 David Gilbert <david.gilbert@object-refinery.com>
* java/awt/image/MultiPixelPackedSampleModel.java
(getOffset): Updated API docs and source reformatting,
(getBitOffset): Source reformatting only,
(getDataElements): Likewise,
(getPixel): Likewise,
(getPixels): Removed method override,
(setDataElements): Reimplemented.
2006-07-17 Gary Benson <gbenson@redhat.com>
* resource/META-INF/services/.cvsignore: New file.
* lib/.cvsignore: Updated.
2006-07-17 Roman Kennke <kennke@aicas.com>
* javax/swing/plaf/basic/BasicButtonListener.java
(propertyChange): Only do the text layout caching as long
as the noGraphics2D property isn't set.
* javax/swing/plaf/basic/BasicMenuItemUI.java
(PropertyChangeHandler.propertyChange): Only do the text layout
caching as long as the noGraphics2D property isn't set.
2006-07-17 Roman Kennke <kennke@aicas.com>
* gnu/java/awt/peer/x/XGraphicsEnvironment.java
(XGraphicsEnvironment): Make constructor public so that it
can be called via Class.forName().newInstance().
* gnu/java/awt/peer/x/XImage.java
(XImage): Fetch GraphicsEnvironment via
GraphicsEnvironment.getLocalGraphicsEnvironment() rather
than the XToolkit method, to avoid double instantiation
of the XGraphicsEnvironment.
* gnu/java/awt/peer/x/XToolkit.java
(env): Removed field.
(getLocalGraphicsEnvironment): Removed impl. This method
should not be called since we set the graphicsenv property
in the constructor.
2006-07-16 Andrew John Hughes <gnu_andrew@member.fsf.org>
* java/util/UUID.java:
(compareTo(Object)): Call compareTo(UUID).
(compareTo(UUID)): Implemented.
2006-07-16 Tom Tromey <tromey@redhat.com>
* java/lang/StrictMath.java (cbrt): Added '@since'.
2006-07-16 Carsten Neumann <cn-develop@gmx.net>
* java/lang/StrictMath.java (cbrt): New method.
(getLowDWord): New helper method.
(getHighDWord): Likewise.
(buildDouble): Likewise.
(CBRT_B1): New field.
(CBRT_B2): Likewise.
(CBRT_C): Likewise.
(CBRT_D): Likewise.
(CBRT_E): Likewise.
(CBRT_F): Likewise.
(CBRT_G): Likewise.
2006-07-16 Andrew John Hughes <gnu_andrew@member.fsf.org>
* javax/management/MBeanInfo.java:
(getNotifications()): Implemented.
* javax/management/NotificationBroadcaster.java:
(removeNotificationListener(NotificationListener)):
Renamed from removeListener.
* javax/management/NotificationEmitter.java:
(removeNotificationListener(NotificationListener,
NotificationFilter, Object)): Likewise.
* javax/management/NotificationFilter.java:
Implement Serializable.
* javax/management/NotificationListener.java:
Implement java.util.EventListener.
* javax/rmi/ssl/SslRMIClientSocketFactory.java:
Implement Serializable.
2006-07-16 Andrew John Hughes <gnu_andrew@member.fsf.org>
* java/lang/management/MemoryNotificationInfo.java:
New file.
2006-07-16 Audrius Meskauskas <AudriusA@Bioinformatics.org>
PR 28392
* gnu/javax/swing/text/html/parser/htmlValidator.java
(tagIsValidForContext): If it is not possible to insert any tag, but
is possible to insert a P, insert a P.
* gnu/javax/swing/text/html/parser/HTML_401Swing.java
(newInstance): Removed print statement. (getBodyElements):
Removed ABBR, ACRONYM, BDO, Q, S, SUB, SUP and ADDRESS from the
valid body level tags (will be enclosed into P's).
2006-07-17 Raif S. Naffah <raif@swiftdsl.com.au>
* tools/gnu/classpath/tools/keytool/Command.java (setKeystoreURLParam):
Condition the creation of .keystore (a default keystore) based on the
createIfNotFound argument as well.
2006-07-16 Audrius Meskauskas <AudriusA@Bioinformatics.org>
PR 28392
* examples/gnu/classpath/examples/swing/HtmlDemo.java:
Removed heading p tag from the parsing example.
* gnu/javax/swing/text/html/parser/HTML_401F.java:
(createHtmlContentModel): Explained.
(defineElements): Call getBodyElements to get the body
elements. (getBodyElements): New method. (model):
Made protected from private.
* gnu/javax/swing/text/html/parser/htmlValidator.java
(openTag): Mind that current content model may be null.
(tagIsValidForContext): If the tag is PCDATA, and it is not
valid for context, but the paragraph (P) is valid for context,
suggest to insert the P tag here.
* javax/swing/text/html/HTMLDocument.java (HTMLReader.addContent,
HTMLReader.blockOpen, HTMLReader.blockClose): Do not handle
implied P tags here.
* javax/swing/text/html/HTMLEditorKit.java (getParser):
Get the custom parser, using HTML_401Swing.java DTD.
* javax/swing/text/html/parser/ParserDelegator.java:
Removed the obsolete note that HTMLEditorKit does not exist.
* gnu/javax/swing/text/html/parser/GnuParserDelegator.java,
gnu/javax/swing/text/html/parser/HTML_401Swing.java: New files.
2006-07-16 Andrew John Hughes <gnu_andrew@member.fsf.org>
* javax/management/ListenerNotFoundException.java:
New file.
* javax/management/MBeanFeatureInfo.java:
(hashCode()): Use summation instead of multiplication
for consistency with other classes.
* javax/management/MBeanNotificationInfo.java,
* javax/management/Notification.java,
* javax/management/NotificationBroadcaster.java,
* javax/management/NotificationEmitter.java,
* javax/management/NotificationFilter.java,
* javax/management/NotificationListener.java:
New files.
* javax/management/OperationsException.java:
(serialVersionUID): Added.
2006-07-16 Thomas Minor <1nocentrabidlamb@sexMagnet.com>
Mark Wielaard <mark@klomp.org>
* java/io/PrintStream.java: Added four constructors, for File and
String describing a filename with or without explicit encoding.
2006-07-16 Sven de Marothy <sven@physto.se>
* javax/rmi/ssl/SslRMIServerSocketFactory.java,
* javax/rmi/ssl/SslRMIClientSocketFactory.java:
New files.
2006-07-16 Raif S. Naffah <raif@swiftdsl.com.au>
PR Classpath/28391
* tools/gnu/classpath/tools/keytool/Command.java (setKeyStoreParams(5)):
New method.
(setKeyStoreParams(4)): Call the above method with false as its 1st arg.
(setProviderClassNameParam): Made private.
(setKeystoreTypeParam): Likewise.
(setKeyPasswordParam): Likewise
(setKeystorePasswordParam): Likewise.
(setKeystoreURLParam): Now accepts 2 more arguments; the first a boolean to
create or not the keystore if it's not there, and the second is the store's
password to process before loading the keystore. Amended the code
accordingly.
* tools/gnu/classpath/tools/keytool/GenKeyCmd.java (setup): Call super's
setKeyStoreParams(5) with true as its first argument.
* tools/gnu/classpath/tools/keytool/IdentityDBCmd.java (setup): Likewise.
* tools/gnu/classpath/tools/keytool/ImportCmd.java (setup): Likewise.
2006-07-16 Sven de Marothy <sven@physto.se>
* java/util/UUID.java: New file.
2006-07-16 Raif S. Naffah <raif@swiftdsl.com.au>
* gnu/javax/crypto/jce/cipher/KeyWrappingAlgorithmAdapter.java: New file.
* gnu/javax/crypto/jce/cipher/AESKeyWrapSpi.java: New file.
* gnu/javax/crypto/jce/cipher/AES128KeyWrapSpi.java: Likewise.
* gnu/javax/crypto/jce/cipher/AES192KeyWrapSpi.java: Likewise.
* gnu/javax/crypto/jce/cipher/AES256KeyWrapSpi.java: Likewise.
* gnu/javax/crypto/jce/cipher/TripleDESKeyWrapSpi.java: Likewise.
* gnu/javax/crypto/jce/GnuCrypto.java (.run): Added mappings for newly
added Key Wrapping Algorithm SPIs.
2006-07-16 Raif S. Naffah <raif@swiftdsl.com.au>
* javax/crypto/Cipher.java (getOutputSize): Allow SPIs initialised for key
wrapping/unwrapping to invoke their engineGetOutputSize.
2006-07-16 Raif S. Naffah <raif@swiftdsl.com.au>
* gnu/javax/crypto/kwa/TripleDESKeyWrap.java (rnd): New field.
(engineInit): If a SecureRandom was specified then use it.
(nextRandomBytes): New method.
(engineWrap): Use above method.
* gnu/javax/crypto/kwa/BaseKeyWrappingAlgorithm.java (prng): New field.
(getDefaultPRNG): New method.
* gnu/javax/crypto/kwa/AESKeyWrap.java (engineInit): Reset underlying AES.
* gnu/javax/crypto/kwa/IKeyWrappingAlgorithm.java (SOURCE_OF_RANDOMNESS):
New constant.
2006-07-16 Raif S. Naffah <raif@swiftdsl.com.au>
* gnu/javax/crypto/jce/params/BlockCipherParameters.java
(engineGetParameterSpec): Should be able to return an IvParameterSpec.
2006-07-16 Raif S. Naffah <raif@swiftdsl.com.au>
* gnu/javax/crypto/cipher/DES.java (adjustParity): Index limit now takes
offset into consideration.
2006-07-16 Mario Torre <neugens@limasoftware.net>
* native/jni/gconf-peer/GConfNativePeer.c (init_gconf_client):
Fixed comment. This functions now requires to be called
with gdk lock held, the comment states that.
(Java_gnu_java_util_prefs_gconf_GConfNativePeer_init_1id_1cache):
Introduces gdk locks around critical regions of code.
(Java_gnu_java_util_prefs_gconf_GConfNativePeer_gconf_1client_1gconf_1client_1all_1keys):
Likewise.
(Java_gnu_java_util_prefs_gconf_GConfNativePeer_gconf_1client_1gconf_1client_1all_1nodes):
Likewise.
(Java_gnu_java_util_prefs_gconf_GConfNativePeer_gconf_1client_1suggest_1sync):
Likewise.
(Java_gnu_java_util_prefs_gconf_GConfNativePeer_gconf_1client_1unset):
Likewise.
(Java_gnu_java_util_prefs_gconf_GConfNativePeer_gconf_1client_1get_1string):
Likewise.
(Java_gnu_java_util_prefs_gconf_GConfNativePeer_gconf_1client_1set_1string):
Likewise.
(Java_gnu_java_util_prefs_gconf_GConfNativePeer_gconf_1client_1remove_1dir):
Likewise.
(Java_gnu_java_util_prefs_gconf_GConfNativePeer_gconf_1client_1add_1dir):
Likewise.
(Java_gnu_java_util_prefs_gconf_GConfNativePeer_gconf_1client_1dir_1exists):
Likewise.
(Java_gnu_java_util_prefs_gconf_GConfNativePeer_finalize_1class):
* native/jni/gconf-peer/Makefile.am: The GConf peer now depends on GTK.
2006-07-15 Sven de Marothy <sven@physto.se>
* javax/swing/JFileChooser.java
Change default selection mode to FILES_ONLY.
* javax/swing/plaf/basic/BasicDirectoryModel.java
Document, fix selection mode filtering.
(renameFile): Implement
* javax/swing/plaf/basic/BasicFileChooserUI.java
(selectedDir): New field to handle selected directories,
disallow selecting of directories in FILES_ONLY mode.
* javax/swing/plaf/metal/MetalFileChooserUI.java:
(EditingActionListener.actionPerformed):
Stop editing on all actions (e.g. return-key press)
2006-07-15 Mark Wielaard <mark@klomp.org>
* doc/vmintegration.texinfo (gnu.java.lang.management): Change xref
to code.
(JNI Implementation): Mark JVMTI Implementation as next.
(JVMTI Implementation): Mark JNI Implementation as prev.
2006-07-15 Mark Wielaard <mark@klomp.org>
* include/Makefile.am: Remove
include/gnu_java_awt_peer_gtk_GdkTextLayout.h.
* include/gnu_java_awt_peer_gtk_GdkTextLayout.h: Removed.
* native/jni/gtk-peer/Makefile.am: Remove
gnu_java_awt_peer_gtk_GdkTextLayout.c
* native/jni/gtk-peer/gnu_java_awt_peer_gtk_GdkTextLayout.c:
Removed.
* include/gnu_java_awt_peer_gtk_GtkWindowPeer.h: Regenerated.
2006-07-15 Mark Wielaard <mark@klomp.org>
* autogen.sh: Recognize autoconf 2.60.
2006-07-15 Keith Seitz <keiths@redhat.com>
* NEWS: Update for JVMTI and jvmti.h.
* doc/vmintegration.texinfo: Likewise.
* include/jvmti.h: New file.
2006-07-15 Mark Wielaard <mark@klomp.org>
* native/jni/gtk-peer/gnu_java_awt_peer_gtk_GtkToolkit.c:
Removed C++ style comment.
2006-07-15 Sven de Marothy <sven@physto.se>
* gnu/java/awt/peer/gtk/GtkMouseInfoPeer.java,
* java/awt/MouseInfo.java,
* java/awt/PointerInfo.java,
* java/awt/peer/MouseInfoPeer.java:
New files.
* java/awt/Image.java
(accelerationPriority): New field.
(setAccelerationPriority, getAccelerationPriority): New methods..
* include/gnu_java_awt_peer_gtk_GdkGraphicsEnvironment.h,
* native/jni/gtk-peer/gnu_java_awt_peer_gtk_GdkGraphicsEnvironment.c,
* gnu/java/awt/peer/gtk/GdkGraphicsEnvironment.java:
(getMouseCoordinates): New method.
* gnu/java/awt/peer/gtk/GtkFramePeer.java
(updateAlwaysOnTop): Remove stub overload.
* gnu/java/awt/ClasspathToolkit.java,
* gnu/java/awt/peer/gtk/GtkToolkit.java,
* include/gnu_java_awt_peer_gtk_GtkToolkit.h,
* native/jni/gtk-peer/gnu_java_awt_peer_gtk_GtkToolkit.c:
(getMouseInfoPeer): New method.
(getMouseNumberOfButtons): New method.
* gnu/java/awt/peer/gtk/GtkWindowPeer.java
* include/gnu_java_awt_peer_gtk_GtkWindowPeer.h
* native/jni/gtk-peer/gnu_java_awt_peer_gtk_GtkWindowPeer.c
(gtkWindowSetAlwaysOnTop): New method.
(updateAlwaysOnTop): Implement.
* java/awt/Toolkit.java,
(getMouseInfoPeer): New method.
* java/awt/Window.java
(alwaysOnTop): New field.
(isAlwaysOnTop, setAlwaysOnTop): New methods.
* java/awt/peer/WindowPeer.java: Doc fix.
2006-07-14 Sven de Marothy <sven@physto.se>
* java/awt/font/TextLayout.java:
(hitTestChar): Stub method.
* java/awt/font/TextMeasurer.java:
(getLayout): Throw exception on invalid argument.
2006-07-14 Sven de Marothy <sven@physto.se>
* java/awt/image/DataBuffer.java
(DataBuffer): Call constructors in the correct order,
2006-07-14 Mark Wielaard <mark@klomp.org>
Revert to previous implementation.
* java/awt/GridBagLayout.java (AdjustForGravity): Only adjust for
constraints insets.
2006-07-14 Roman Kennke <kennke@aicas.com>
* gnu/java/awt/peer/x/XToolkit.java
(XToolkit): Install properties to SystemProperties
rather than System, to avoid SecurityManager.
(getImage(String)): Return error image when string is invalid.
(createImage(URL)): Moved image loading to helper method.
(createImage(ImageProducer)): Implemented.
(createImage(byte[],int,int)): Implemented.
(createImage(InputStream)): New helper method.
2006-07-14 Tania Bento <tbento@redhat.com>
* java/awt/FlowLayout.java
(setHgap): No Excpetion should be thrown if hgap has
a negative value.
(setVgap): No Exception should be thrown if vgap has
a negative value.
2006-07-14 David Gilbert <david.gilbert@object-refinery.com>
* java/awt/image/MultiPixelPackedSampleModel.java:
Added API docs all over.
2006-07-14 Matt Wringe <mwringe@redhat.com>
* gnu/javax/crypto/jce/cipher/CipherAdapter.java
(engineInit): Throw InvalidAlgorithmParameterException
for invalid IVParameterSpec IV length.
2006-07-14 David Gilbert <david.gilbert@object-refinery.com>
* java/awt/image/MultiPixelPackedSampleModel.java
(createDataBuffer): Include dataBitOffset in calculating the size for
the data buffer.
2006-07-14 David Gilbert <david.gilbert@object-refinery.com>
* java/awt/image/MultiPixelPackedSampleModel.java
(getSampleSize()): Return a copy of the array,
(getTransferType()): New method override.
2006-07-14 Roman Kennke <kennke@aicas.com>
* java/awt/CardLayout.java
(show): Validate parent to make sure that the layout is
valid.
2006-07-14 Roman Kennke <kennke@aicas.com>
* java/awt/Component.java
(enable): Added tree locking.
(disable): Added tree locking.
(show): Added tree locking.
(hide): Added tree locking.
(getLocationOnScreen): Added tree locking.
(reshape): Added tree locking.
(addHierarchyListener): Added tree locking.
(removeHierarchyListener): Added tree locking.
(addHierarchyBoundsListener): Added tree locking.
(removeHierarchyBoundsListener): Added tree locking.
(addNotify): Added tree locking.
(removeNotify): Added tree locking.
* java/awt/Container.java
(invalidateTree): Added tree locking.
(getAlignmentX): Added tree locking.
(getAlignmentY): Added tree locking.
(addNotify): Added tree locking.
(setComponentZOrder): Added tree locking.
(getComponentZOrder): Added tree locking.
2006-07-14 David Gilbert <david.gilbert@object-refinery.com>
* java/awt/image/MultiPixelPackedSampleModel.java
(createSubsetSampleModel): Restored argument check, but let null
through.
2006-07-14 David Gilbert <david.gilbert@object-refinery.com>
* java/awt/image/MultiPixelPackedSampleModel.java
(createSubsetSampleModel): Removed argument check.
2006-07-14 Roman Kennke <kennke@aicas.com>
* java/awt/Component.java
(numHierarchyListeners): New field.
(numHierarchyBoundsListeners): New field.
(show): Fire hierarchy events here. Only fire component event
if there is actually a listener for it.
(hide): Fire hierarchy events here. Only fire component event
if there is actually a listener for it.
(reshape): Fire hierarchy events here. Only fire component event
if there is actually a listener for it.
(addHierarchyListeners): Update listener counters.
(removeHierarchyListeners): Update listener counters.
(addHierarchyBoundsListeners): Update listener counters.
(removeHierarchyBoundsListeners): Update listener counters.
(fireHierarchyEvent): New helper method for firing hierarchy
events.
* java/awt/Container.java
(addImpl): Update listener counters. Fire hierarchy event.
(remove): Update listener counters. Fire hierarchy event.
(fireHierarchyEvent): New helper method for firing hierarchy
events.
(updateHierarchyListenerCount): New helper method for
updating the listener counters.
2006-07-14 David Gilbert <david.gilbert@object-refinery.com>
* java/awt/image/MultiPixelPackedSampleModel.java
(equals): New method override,
(hashCode): Likewise.
2006-07-14 David Gilbert <david.gilbert@object-refinery.com>
* java/awt/image/MultiPixelPackedSampleModel.java
(MultiPixelPackedSampleModel(int, int, int, int, int, int)):
Corrected scanlineStride calculation.
2006-07-14 Raif S. Naffah <raif@swiftdsl.com.au>
* gnu/java/security/Registry.java (KWA_PREFIX): New constant.
(AES_KWA): Likewise.
(AES128_KWA): Likewise.
(AES192_KWA): Likewise.
(AES256_KWA): Likewise.
(RIJNDAEL_KWA): Likewise.
(TRIPLEDES_KWA): Likewise.
(DESEDE_KWA): Likewise.
* gnu/javax/crypto/kwa/AESKeyWrap.java: New file
* gnu/javax/crypto/kwa/BaseKeyWrappingAlgorithm.java: Likewise.
* gnu/javax/crypto/kwa/IKeyWrappingAlgorithm.java: Likewise.
* gnu/javax/crypto/kwa/KeyUnwrappingException.java: Likewise.
* gnu/javax/crypto/kwa/KeyWrappingAlgorithmFactory.java: Likewise.
* gnu/javax/crypto/kwa/TripleDESKeyWrap.java: Likewise.
2006-07-14 Raif S. Naffah <raif@swiftdsl.com.au>
* gnu/javax/crypto/pad/IPad.java: Updated class documentation.
(PADDING_BLOCK_SIZE): New constant.
(init(Map attributes)): New method.
* gnu/javax/crypto/pad/BasePad.java (init): New method.
2006-07-14 Mario Torre <neugens@limasoftware.net>
* gnu/java/security/OID.java (OID): Private Constructor removed as
it is not needed anymore.
(clone): Fixed. Now uses super.clone instead of the private
constructor as per specification of clone method.
(serialVersionUID): added new field to allow serialization.
2006-07-13 Sven de Marothy <sven@physto.se>
* gnu/javax/imageio/gif/GIFImageReader.java
(read): Remove old debugging trace.
2006-07-13 Andreas Tobler <a.tobler@schweiz.ch>
PR awt/28369:
* gnu/java/awt/peer/gtk/CairoSurface.java (ColorModel): Swap red and
blue mask.
2006-07-13 Roman Kennke <kennke@aicas.com>
* java/awt/Component.java
(DEFAULT_MAX_SIZE): New static constant.
(preferredSize): Return copy of the actual value computed
by new helper method.
(preferredSizeImpl): New helper method. Adds locking and
correct handling of cached value.
(minimumSize): Return copy of the actual value computed
by new helper method.
(minimumSizeImpl): New helper method. Adds locking and
correct handling of cached value.
(getMaximumSize): Return copy of the actual value computed
by new helper method.
(maximumSizeImpl): New helper method. Adds locking and
correct handling of cached value.
(invalidate): Correct handling of cached layout information.
Added locking.
* java/awt/Container.java
(preferredSize): Minimized locking. Corrected handling of cached
values. Return copy of real value.
(minimumSize): Minimized locking. Corrected handling of cached
values. Return copy of real value.
(getMaximumSize): Minimized locking. Corrected handling of cached
values. Return copy of real value.
2006-07-13 Tania Bento <tbento@redhat.com>
* gnu/java/awt/peer/ClasspathFontPeer.java
(isLogicalFontName): Return true if name == default.
(logicalFontNameToFaceName): Check if name == default,
and if so, return "Dialog.plain".
(setStandardAttributes(String, Map)): If name == null,
it should be set to "Default", not "SansSerif".
* java/awt/Canvas.java
(generateName): Fixed documentation.
* java/awt/CheckboxMenuItem.java
Added static variable "next_chkmenuitem_number".
(generateName): Added and implemented method.
(getUniqueLong): Likewise.
* java/awt/Choice.java
Added static variable "next_choice_number".
(generateName): Added and implemented method.
(getUniqueLong): Likewise.
* java/awt/Cursor.java
(Cursor(int)): Set name depending on the type passed.
* java/awt/List.java
Added static variable "next_list_number".
(generateName): Added and implemented method.
(getUniqueLong): Likewise.
* java/awt/Menu.java
Added static variable "next_menu_number".
(generateName): Added and implemented method.
(getUniqueLong): Likewise.
* java/awt/MenuBar.java
Added static variable "next_menubar_number".
(generateName): Added and implemented method.
(getUniqueLong): Likewise.
* java/awt/MenuComponent.java
(getName): Before returning name, check if name == null
and name is not explicity set. If this is the case,
name will be generated.
(generateName): Added and implemented method.
* java/awt/MenuItem.java
Added static variable "next_menuitem_number".
(generateName): Added and implemented method.
(getUniqueLong): Likewise.
* java/awt/PopupMenu.java
Added static variable "next_popup_number".
(generateName): Added and implemented method.
(getUniqueLong): Likewise.
* java/awt/ScrollPane.java
Added static variable "next_scrollpane_number".
(generateName): Added and implemented method.
(getUniqueLong): Likewise.
* java/awt/TextField.java
Added static variable "next_textfield_number".
(generateName): Added and implemented method.
(getUniqueLong): Likewise.
2006-07-13 David Gilbert <david.gilbert@object-refinery.com>
* java/awt/image/SinglePixelPackedSampleModel.java
(SinglePixelPackageSampleModel(int, int, int, int, int[])): Convert
mask correctly as an unsigned integer,
(equals): New method override.
2006-07-13 Audrius Meskauskas <AudriusA@Bioinformatics.org>
* javax/swing/text/html/HTMLDocument.java (insertAfterEnd,
insertAfterStart, insertBeforeEnd): Removed stub markings.
2006-07-13 David Gilbert <david.gilbert@object-refinery.com>
* java/awt/image/BandedSampleModel.java: API doc updates and source
code reformatting,
* java/awt/image/SinglePixelPackageSampleModel.java: Likewise.
2006-07-13 David Gilbert <david.gilbert@object-refinery.com>
* java/awt/image/BandedSampleModel.java: API doc updates.
2006-07-13 Audrius Meskauskas <AudriusA@Bioinformatics.org>
* javax/swing/text/html/HTMLDocument.java (HTMLReader.parseStack):
Made package private. (HTMLReader.charAttr, HTMLReader.charAttrStack,
HTMLReader.insertTag, HTMLReader.insertTagEncountered,
HTMLReader.pushDepth, HTMLReader.popDepth): Documented.
(HRMLReader.blockClose): Mind that parser stack may be empty.
(HTMLReader.handeComment, HTMLReader.handleStartTag,
HTMLReader.handleEndTag, HTMLReader.handleSimpleTag): Rewritten.
(HTMLReader.shouldInsert): New method. (getElement(String)):
Pass HTML.Atrribute.ID. (insertAfterEnd, insertBeforeEnd,
insertAfterStart, insertBeforeStart, setInnerHTML, setOuterHTML):
Implemented. (getInsertingReader): New method.
* examples/gnu/classpath/examples/swing/HtmlDemo.java:
Added buttons to demonstrate the work of the insert actions.
2006-07-13 David Gilbert <david.gilbert@object-refinery.com>
* java/awt/image/SampleModel.java: API doc updates and additions,
* java/awt/image/SinglePixelPackedSampleModel.java: Likewise.
2006-07-12 Sven de Marothy <sven@physto.se>
* javax/swing/JFileChooser.java:
(createDialog): Close operation should cause a cancel.
2006-07-12 Francis Kung <fkung@redhat.com>
* gnu/java/awt/peer/gtk/CairoGraphics2D.java: Organized imports.
(cairoArc): New native method.
(cairoRestore): New native method.
(cairoSave): New native method.
(cairoScale): New native method.
(createPath): New method to centralize code from draw and fill.
(draw): Modified to use createPath method.
(fill): Modified to use createPath method.
* include/gnu_java_awt_peer_gtk_CairoGraphics2D.h: Added
function declarations.
* native/jni/gtk-peer/gnu_java_awt_peer_gtk_CairoGraphics2D.c
(Java_gnu_java_awt_peer_gtk_CairoGraphics2D_cairoScale): New
method.
(Java_gnu_java_awt_peer_gtk_CairoGraphics2D_cairoSave): New
method.
(Java_gnu_java_awt_peer_gtk_CairoGraphics2D_cairoArc): New
method.
2006-07-12 Tom Tromey <tromey@redhat.com>
PR libgcj/27271:
* java/util/zip/ZipFile.java (getInputStream): Call addDummyByte
on PartialInputStream.
(PartialInputStream.dummyByteCount): New field.
(PartialInputStream.fillBuffer): Handle dummy byte.
(PartialInputStream.read): Likewise.
(PartialInputStream.addDummyByte): New method.
2006-07-12 Mario Torre <neugens@limasoftware.net>
* native/jni/gconf-peer/GConfNativePeer.c
(Java_gnu_java_util_prefs_gconf_GConfNativePeer_gconf_1client_1get_1string):
Fixed C++ style comment.
2006-07-12 David Gilbert <david.gilbert@object-refinery.com>
* java/util/Arrays.java
(asList): Updated API docs.
2006-07-11 Robert Schuster <robertschuster@fsfe.org>
Fixes PR28350.
* native/jni/gconf-peer/GConfNativePeer.c:
(Java_gnu_java_util_prefs_gconf_GConfNativePeer_gconf_1client_1set_1string):
Changed if-expression.
(Java_gnu_java_util_prefs_gconf_GConfNativePeer_gconf_1client_1get_1string):
Added check for _value not being NULL.
2006-07-11 Roman Kennke <kennke@aicas.com>
* native/jni/java-net/gnu_java_net_local_LocalSocketImpl.c
(read): Use fd when local sockets are disabled to make the
compiler quite.
(write): Likewise.
2006-07-11 Roman Kennke <kennke@aicas.com>
* java/awt/image/MultiPixelPackedSampleModel.java
(MultiPixelPackedSampleModel): Substract -1 so that the integer
division gets rounded up.
2006-07-11 Andrew John Hughes <gnu_andrew@member.fsf.org>
* java/lang/management/ManageFactory.java:
(getMemoryManagerMXBeans()): Use addAll, not add.
2006-07-11 Vivek Lakshmanan <vivekl@redhat.com>
PR 27649:
* gnu/classpath/ByteArray.java: Removed (moved).
* gnu/java/security/util/ByteArray.java: New File.
* gnu/javax/crypto/RSACipherImpl.java: Reference
gnu.java.security.util.ByteArray instead of gnu.classpath.ByteArray.
2006-07-11 Roman Kennke <kennke@aicas.com>
* native/jni/java-net/gnu_java_net_local_LocalSocketImpl.c
(available): Pass fd as argument and avoid JNI class/field
lookup.
(read): Likewise.
(write): Likewise.
* include/gnu_java_net_local_LocalSocketImpl.h:
Regenerated.
* gnu/java/net/local/LocalSocketImpl.h
(available): Pass fd as argument and avoid JNI class/field
lookup.
(read): Likewise.
(write): Likewise.
2006-07-11 Sven de Marothy <sven@physto.se>
* gnu/javax/sound/sampled/AU/AUReader.java:
Correct file extension from .as to .au.
2006-07-11 Sven de Marothy <sven@physto.se>
* gnu/javax/sound/sampled/AU/AUReader.java:
New file.
* resource/META-INF/services/javax.sound.sampled.spi.AudioFileReader:
Added new provider.
2006-07-11 David Gilbert <david.gilbert@object-refinery.com>
* javax/swing/JTable.java
(setRowSelectionAllowed): Fire required PropertyChangeEvent,
(setColumnSelectionAllowed): Likewise.
2006-07-10 Vivek Lakshmanan <vivekl@redhat.com>
PR 27649:
* gnu/classpath/debug/Simple1LineFormatter.java: Use
AccessController.doPrivileged instead of SystemProperties.getProperty.
* gnu/classpath/debug/SystemLogger.java: Likewise.
* gnu/java/security/PolicyFile.java: Likewise and cut unnecessary
repeated getProperty calls for "file.seperator".
(refresh): Since already in privileged block, call System.getProperty
instead of SystemProperties.getProperty.
* gnu/java/security/key/dss/DSSKey.java
(toString): Use AccessController.doPrivileged instead of
SystemProperties.getProperty.
* gnu/java/security/key/dss/DSSPrivateKey.java
(toString): Likewise.
* gnu/java/security/key/dss/DSSPublicKey.java
(toString): Likewise.
* gnu/java/security/key/rsa/GnuRSAKey.java
(toString): Likewise.
* gnu/java/security/key/rsa/GnuRSAPrivateKey.java
(toString): Likewise.
* gnu/java/security/key/rsa/GnuRSAPublicKey.java
(toString): Likewise.
* gnu/javax/crypto/sasl/plain/PasswordFile.java: Likewise.
* gnu/javax/crypto/key/dh/GnuDHKey.java
(toString): Likewise.
* gnu/javax/crypto/key/dh/GnuDHPrivateKey.java
(toString): Likewise.
* gnu/javax/crypto/key/dh/GnuDHPublicKey.java
(toString): Likewise.
2006-07-11 David Gilbert <david.gilbert@object-refinery.com>
* javax/swing/AbstractButton.java
(disabledIcon): Fixed name (was 'disabeldIcon'),
(getDisabledIcon): Updated for corrected field name,
(setDisabledIcon): Fire a PropertyChangeEvent.
2006-07-11 David Gilbert <david.gilbert@object-refinery.com>
* javax/swing/DefaultBoundedRangeModel.java
(readObject): New private method,
(writeObject): Likewise.
2006-07-11 David Gilbert <david.gilbert@object-refinery.com>
* javax/swing/ButtonGroup.java
(add): Ignore null argument,
(remove): Ignore null argument. If removing selected button, clear the
sel field,
(findButton): Changed case for method name, and documented,
(setSelected): Updated for modification to findButton() method name,
(isSelected): Updated API docs.
2006-07-11 David Gilbert <david.gilbert@object-refinery.com>
* java/awt/image/BufferedImage.java
(BufferedImage(int, int, int)): Use correct color space for
TYPE_BYTE_GRAY and TYPE_USHORT_GRAY, and throw an
IllegalArgumentException for an unrecognised type.
2006-07-10 Andrew John Hughes <gnu_andrew@member.fsf.org>
* java/lang/management/ManagementFactory.java:
(getMemoryPoolMXBeans): Genericized fully.
(getMemoryManagerMXBeans): Likewise.
(getGarbageCollectorMXBeans): Likewise.
2006-07-10 Tom Tromey <tromey@redhat.com>
* java/lang/management/ManagementFactory.java (getMemoryPoolMXBeans):
Genericized.
(getMemoryManagerMXBeans): Likewise.
(getGarbageCollectorMXBeans): Likewise.
2006-07-10 Mario Torre <neugens@limasoftware.net>
* java/awt/BasicStroke.java: Removed unused import.
* gnu/java/awt/java2d/CubicSegment.java (clone): Fixed.
* gnu/java/awt/java2d/LineSegment.java (clone): Fixed.
* gnu/java/awt/java2d/QuadSegment.java (clone): Fixed.
2006-07-10 Matt Wringe <mwringe@redhat.com>
PR classpath/28212:
* javax/crypto/spec/SecretKeySpec.java
(equals): Check object type.
2006-07-10 Audrius Meskauskas <AudriusA@Bioinformatics.org>
* examples/gnu/classpath/examples/CORBA/SimpleCommunication/
communication/StructureToPassHelper.java,
examples/gnu/classpath/examples/CORBA/SimpleCommunication/
communication/StructureToReturnHelper.java,
examples/gnu/classpath/examples/CORBA/SimpleCommunication/
communication/TreeNodeHelper.java,
examples/gnu/classpath/examples/CORBA/SimpleCommunication/
communication/WeThrowThisExceptionHelper.java,
gnu/CORBA/ForwardRequestHelper.java,
org/omg/CORBA/CompletionStatusHelper.java,
org/omg/CORBA/CurrentHelper.java,
org/omg/CORBA/DefinitionKindHelper.java,
org/omg/CORBA/IDLTypeHelper.java,
org/omg/CORBA/NameValuePairHelper.java,
org/omg/CORBA/ObjectHelper.java,
org/omg/CORBA/ParameterModeHelper.java,
org/omg/CORBA/PolicyErrorCodeHelper.java,
org/omg/CORBA/PolicyErrorHelper.java,
org/omg/CORBA/PolicyHelper.java,
org/omg/CORBA/PolicyListHelper.java,
org/omg/CORBA/PolicyTypeHelper.java,
org/omg/CORBA/ServiceDetailHelper.java,
org/omg/CORBA/ServiceInformationHelper.java,
org/omg/CORBA/SetOverrideTypeHelper.java,
org/omg/CORBA/StringValueHelper.java,
org/omg/CORBA/UnionMemberHelper.java,
org/omg/CORBA/UnknownUserExceptionHelper.java,
org/omg/CORBA/VisibilityHelper.java,
org/omg/CORBA/WStringValueHelper.java,
org/omg/CORBA/WrongTransactionHelper.java,
org/omg/CosNaming/BindingHelper.java,
org/omg/CosNaming/BindingIteratorHelper.java,
org/omg/CosNaming/BindingListHelper.java,
org/omg/CosNaming/BindingTypeHelper.java,
org/omg/CosNaming/NameComponentHelper.java,
org/omg/CosNaming/NameHelper.java,
org/omg/CosNaming/NamingContextExtHelper.java,
org/omg/CosNaming/NamingContextExtPackage/AddressHelper.java,
org/omg/CosNaming/NamingContextExtPackage/InvalidAddressHelper.java,
org/omg/CosNaming/NamingContextExtPackage/StringNameHelper.java,
org/omg/CosNaming/NamingContextExtPackage/URLStringHelper.java,
org/omg/CosNaming/NamingContextHelper.java,
org/omg/CosNaming/NamingContextPackage/AlreadyBoundHelper.java,
org/omg/CosNaming/NamingContextPackage/CannotProceedHelper.java,
org/omg/CosNaming/NamingContextPackage/InvalidNameHelper.java,
org/omg/CosNaming/NamingContextPackage/NotEmptyHelper.java,
org/omg/CosNaming/NamingContextPackage/NotFoundHelper.java,
org/omg/CosNaming/NamingContextPackage/NotFoundReasonHelper.java,
org/omg/DynamicAny/AnySeqHelper.java,
org/omg/DynamicAny/DynAnyFactoryHelper.java,
org/omg/DynamicAny/DynAnyFactoryPackage/InconsistentTypeCodeHelper.java,
org/omg/DynamicAny/DynAnyHelper.java,
org/omg/DynamicAny/DynAnyPackage/InvalidValueHelper.java,
org/omg/DynamicAny/DynAnyPackage/TypeMismatchHelper.java,
org/omg/DynamicAny/DynAnySeqHelper.java,
org/omg/DynamicAny/DynArrayHelper.java,
org/omg/DynamicAny/DynEnumHelper.java,
org/omg/DynamicAny/DynFixedHelper.java,
org/omg/DynamicAny/DynSequenceHelper.java,
org/omg/DynamicAny/DynStructHelper.java,
org/omg/DynamicAny/DynUnionHelper.java,
org/omg/DynamicAny/DynValueHelper.java,
org/omg/DynamicAny/NameDynAnyPairHelper.java,
org/omg/DynamicAny/NameDynAnyPairSeqHelper.java,
org/omg/DynamicAny/NameValuePairHelper.java,
org/omg/DynamicAny/NameValuePairSeqHelper.java,
org/omg/IOP/CodecFactoryHelper.java,
org/omg/IOP/CodecFactoryPackage/UnknownEncodingHelper.java,
org/omg/IOP/CodecPackage/FormatMismatchHelper.java,
org/omg/IOP/CodecPackage/InvalidTypeForEncodingHelper.java,
org/omg/IOP/CodecPackage/TypeMismatchHelper.java,
org/omg/IOP/ComponentIdHelper.java,
org/omg/IOP/IORHelper.java,
org/omg/IOP/MultipleComponentProfileHelper.java,
org/omg/IOP/ProfileIdHelper.java,
org/omg/IOP/ServiceContextHelper.java,
org/omg/IOP/ServiceContextListHelper.java,
org/omg/IOP/ServiceIdHelper.java,
org/omg/IOP/TaggedComponentHelper.java,
org/omg/IOP/TaggedProfileHelper.java,
org/omg/PortableInterceptor/AdapterManagerIdHelper.java,
org/omg/PortableInterceptor/AdapterNameHelper.java,
org/omg/PortableInterceptor/AdapterStateHelper.java,
org/omg/PortableInterceptor/CurrentHelper.java,
org/omg/PortableInterceptor/ForwardRequestHelper.java,
org/omg/PortableInterceptor/IORInterceptor_3_0Helper.java,
org/omg/PortableInterceptor/InvalidSlotHelper.java,
org/omg/PortableInterceptor/ORBInitInfoPackage/DuplicateNameHelper.java,
org/omg/PortableInterceptor/ORBInitInfoPackage/InvalidNameHelper.java,
org/omg/PortableInterceptor/ObjectReferenceFactoryHelper.java,
org/omg/PortableInterceptor/ObjectReferenceTemplateHelper.java,
org/omg/PortableInterceptor/ObjectReferenceTemplateSeqHelper.java,
org/omg/PortableServer/CurrentHelper.java,
org/omg/PortableServer/CurrentPackage/NoContextHelper.java,
org/omg/PortableServer/ForwardRequestHelper.java,
org/omg/PortableServer/POAHelper.java,
org/omg/PortableServer/POAManagerPackage/AdapterInactiveHelper.java,
org/omg/PortableServer/POAPackage/AdapterAlreadyExistsHelper.java,
org/omg/PortableServer/POAPackage/AdapterNonExistentHelper.java,
org/omg/PortableServer/POAPackage/InvalidPolicyHelper.java,
org/omg/PortableServer/POAPackage/NoServantHelper.java,
org/omg/PortableServer/POAPackage/ObjectAlreadyActiveHelper.java,
org/omg/PortableServer/POAPackage/ObjectNotActiveHelper.java,
org/omg/PortableServer/POAPackage/ServantAlreadyActiveHelper.java,
org/omg/PortableServer/POAPackage/ServantNotActiveHelper.java,
org/omg/PortableServer/POAPackage/WrongAdapterHelper.java,
org/omg/PortableServer/POAPackage/WrongPolicyHelper.java,
org/omg/PortableServer/ServantActivatorHelper.java,
org/omg/PortableServer/ServantLocatorHelper.java: Remove the
typecode caching and always use OrbRestricted.Singleton.
2006-07-09 Tom Tromey <tromey@redhat.com>
* java/util/logging/LoggingMXBean.java (getLoggerNames): Genericized.
2006-07-09 Mark Wielaard <mark@klomp.org>
* gnu/java/awt/peer/gtk/ComponentGraphics.java (hasXRenderExtension):
New static final boolean field.
(getComponentGraphics): Use hasXRenderExtension.
(setClip): Override method for locking.
2006-07-09 David Gilbert <david.gilbert@object-refinery.com>
* javax/swing/AbstractButton.java
(setHorizontalTextPosition): Added check for illegal argument,
(setVerticalTextPosition): Likewise.
2006-07-09 David Gilbert <david.gilbert@object-refinery.com>
* javax/swing/Timer.java
(setDelay): Throw IllegalArgumentException for negative delay,
(setInitialDelay): Likewise,
* javax/swing/ToolTipManager.java
(setInitialDelay): Document IllegalArgumentException,
(setDismissDelay): Likewise,
(setReshowDelay): Likewise.
2006-07-09 Andrew John Hughes <gnu_andrew@member.fsf.org>
* java/lang/management/MemoryUsage.java:
(from(javax.management.openmbean.CompositeData)):
Implemented.
* java/lang/management/ThreadInfo.java:
Changed to use open types throughout for the state.
(ThreadInfo(long,String,String,long,long,String,
long,String,long,long,boolean,StackTraceElement[])):
New constructor.
(checkAttribute(javax.management.openmbean.CompositeType,
String, javax.management.openmbean.OpenType)): New method.
(from(javax.management.openmbean.CompositeData)):
Implemented.
(getLockName()): Fixed to use new variable.
(getLockOwnerId()): Likewise.
(getLockOwnerName()): Likewise.
(getThreadId()): Likewise.
(getThreadName()): Likewise.
(getThreadState()): Likewise.
(toString()): Refactored to use new variables.
* javax/management/openmbean/ArrayType.java:
New file.
* javax/management/openmbean/CompositeType.java:
Variables should be transient, not volatile.
* javax/management/openmbean/OpenDataException.java:
(serialVersionUID): Added.
* javax/management/openmbean/SimpleType.java:
New file.
* javax/management/openmbean/TabularType.java
Variables should be transient, not volatile.
2006-07-09 Tom Tromey <tromey@redhat.com>
* tools/.cvsignore: Updated for new tools.
2006-07-09 Andrew John Hughes <gnu_andrew@member.fsf.org>
* javax/management/openmbean/CompositeData.java,
* javax/management/openmbean/CompositeType.java,
* javax/management/openmbean/OpenDataException.java,
* javax/management/openmbean/OpenType.java,
* javax/management/openmbean/TabularData.java,
* javax/management/openmbean/TabularType.java,
* javax/management/openmbean/package.html:
New files.
2006-07-09 Mark Wielaard <mark@klomp.org>
* gnu/javax/print/ipp/IppRequest.java: Remove double assignment.
* gnu/java/rmi/server/UnicastServerRef.java: Likewise.
* gnu/java/rmi/server/ActivatableServerRef.java: Likewise.
2006-07-08 Anthony Green <green@redhat.com>
* gnu/javax/sound/sampled/WAV/WAVReader.java,
resource/META-INF/services/javax.sound.sampled.spi.AudioFileReader:
New files.
2006-07-09 Mario Torre <neugens@limasoftware.net>
* native/jni/gconf-peer/GConfNativePeer.c:
Fixed indentation to be more compliant to the GNU coding
guidelines.
(Java_gnu_java_util_prefs_gconf_GConfNativePeer_gconf_1client_1unset):
Added explicit test for errors in the GConf backend.
(Java_gnu_java_util_prefs_gconf_GConfNativePeer_gconf_1client_1get_1string):
Added explicit test for errors in the GConf backend.
Fixed Segmentation Fault when non valid key names are given as input.
(Java_gnu_java_util_prefs_gconf_GConfNativePeer_gconf_1client_1set_1string):
likewise.
(Java_gnu_java_util_prefs_gconf_GConfNativePeer_gconf_1client_1dir_1exists):
Added explicit test for errors in the GConf backend.
* gnu/java/util/prefs/gconf/GConfNativePeer.java:
Added javadoc comments for all native methods.
(nodeExist): removed test to check for valid absolute path name
for nodes.
(startWatchingNode): likewise.
(stopWatchingNode): likewise.
(setString): likewise, plus fixed javadoc comments.
(unset): likekwise.
(getKey): likewise.
(getKeys): likewise, also fixed javadoc comments.
(getChildrenNodes): likewise.
* gnu/java/util/prefs/GConfBasedPreferences.java:
changed DEFAULT_USER_ROOT to /apps/classpath.
(constructor): Test to check for a valid absolute path for nodes
is now in the contructor for that node, instead of being on
each method of the backend.
(getGConfKey): removed empty new line.
2006-07-08 Mark Wielaard <mark@klomp.org>
* .classpath: Add gnu/java/awt/peer/x/ to excludes.
2006-07-08 Audrius Meskauskas <AudriusA@Bioinformatics.org>
* javax/swing/text/FlowView.java (FlowStrategy.layoutRow):
Handle the forced break in the same way as exceeding the
available row space.
* javax/swing/text/html/HRuleView.java: Rewritten.
* javax/swing/text/html/HTMLDocument.java
(HTMLReader.addSpecialElement):Reserve two characters for
the special elements.
* examples/gnu/classpath/examples/swing/HtmlDemo.java
(text): Extended the HTML example to parse.
2006-07-07 David Gilbert <david.gilbert@object-refinery.com>
* javax/swing/AbstractButton.java
(setHorizontalAlignment): Check for illegal argument,
(setVerticalAlignment): Likewise.
2006-07-07 Audrius Meskauskas <AudriusA@Bioinformatics.org>
* javax/swing/text/html/TableView.java
(getStyleSheet): New method. (RowView.getStyleSheet):
New method.
2006-07-07 David Gilbert <david.gilbert@object-refinery.com>
* javax/swing/AbstractButton.java
(setRolloverIcon): Call setRolloverEnabled(true),
(setRolloverSelectedIcon): Likewise.
2006-07-07 David Gilbert <david.gilbert@object-refinery.com>
* javax/swing/border/TitledBorder.java
(setTitlePosition): Added message to exception,
(setTitleJustification): Likewise.
2006-07-07 David Gilbert <david.gilbert@object-refinery.com>
* javax/swing/plaf/metal/MetalLookAndFeel.java
(createDefaultTheme): Corrected API docs,
(initComponentDefaults): Added entry for 'TitledBorder.border',
(getCurrentTheme): Initialise theme if it is null.
2006-07-07 Roman Kennke <kennke@aicas.com>
* java/awt/Component.java
(isValid): Return false when component has no peer,
don't query the showing state.
2006-07-07 Audrius Meskauskas <AudriusA@Bioinformatics.org>
* javax/swing/text/FlowView.java (FlowStrategy.layoutRow):
Advance the offset also in the case of the enforced break.
2006-07-07 David Gilbert <david.gilbert@object-refinery.com>
* javax/swing/plaf/basic/BasicArrowButton.java
(MAXIMUM_SIZE): Removed field,
(MINIMUM_SIZE): Likewise,
(PREFERRED_SIZE): Likewise,
(getMaximumSize): Return new instance every time,
(getMinimumSize): Likewise,
(getPreferredSize): Likewise.
2006-07-07 Roman Kennke <kennke@aicas.com>
* java/awt/LightweightDispatcher.java
(findTarget): Avoid array copying in
Container.getComponents().
2006-07-07 Roman Kennke <kennke@aicas.com>
* javax/swing/JComponent.java
(paintChildrenWithOverlap): Avoid array copying in
Container.getComponents().
(paintChildrenOptimized): Avoid array copying in
Container.getComponents().
(fireAncestorEvent): Avoid array copying in
Container.getComponents().
(findOverlapFreeParent): Avoid array copying in
Container.getComponents().
2006-07-07 Matt Wringe <mwringe@redhat.com>
* javax/crypto/spec/PBEKeySpec.java: Updated copyright year.
(passwordValid): New field.
(setPassword): New method.
(setSalt): Likewise.
(setIterationCount): Likewise.
(setKeyLength): Likewise.
(PBEKeySpec(char[])): Use new setter methods.
(PBEKeySpec(char[], byte[], int)): Likewise.
(PBEKeySpec(char[], byte[], int, int)): Likewise.
(clearPassword): Set passwordValid to false.
(getPassword): Check that clearPassword() was not called earlier.
Return a clone of the password.
(getSalt): Return a clone of the salt if it was not null.
2006-07-07 Roman Kennke <kennke@aicas.com>
* java/awt/Component.java
(isValid): Always return false when component is
not showing.
(setFont): Always set font, even when setting
the same or equal font again.
2006-07-07 David Gilbert <david.gilbert@object-refinery.com>
* javax/swing/plaf/metal/MetalIconFactory.java
(CheckBoxMenuItemIcon): Implement UIResource,
(FileChooserDetailViewIcon): Likewise,
(FileChooserHomeFolderIcon): Likewise,
(FileChooserListViewIcon): Likewise,
(FileChooserNewFolderIcon): Likewise,
(FileChooserUpFolderIcon): Removed redundant 'implements',
(RadioButtonMenuItemIcon): Implement UIResource,
(HorizontalSliderThumbIcon): Likewise,
(InternalFrameCloseIcon): Likewise,
(InternalFrameDefaultMenuIcon): Likewise,
(InternalFrameAltMaximizeIcon): Likewise,
(InternalFrameMaximizeIcon): Likewise,
(InternalFrameMinimizeIcon): Likewise,
(VerticalSliderThumbIcon): Likewise,
(TreeHardDriveIcon): Likewise,
(TreeFloppyDriveIcon): Likewise,
(TreeComputerIcon): Likewise,
(horizontalSliderThumbIcon): New field,
(verticalSliderThumbIcon): New field,
(getHorizontalSliderThumbIcon): Cache icon,
(getVerticalSliderThumbIcon): Likewise.
2006-07-06 Mark Wielaard <mark@klomp.org>
* lib/Makefile.am (CLEANFILES): Add Makefile.deps.
(DISTCLEANFILES): Add standard.omit.
(clean-local): Remove Makefile.deps, only remove dirs.
2006-07-06 Roman Kennke <kennke@aicas.com>
* java/awt/Component.java
(setFont): Only invalidate when component is valid.
* java/awt/Container.java
(setLayout): Only invalidate when component is valid.
2006-07-06 Lillian Angel <langel@redhat.com>
* gnu/java/awt/dnd/GtkMouseDragGestureRecognizer.java:
New class not fully implemented.
* gnu/java/awt/dnd/peer/gtk/GtkDragSourceContextPeer.java:
New class not fully implemented.
* gnu/java/awt/dnd/peer/gtk/GtkDropTargetPeer.java:
New class not fully implemented.
* gnu/java/awt/dnd/peer/gtk/GtkDropTargetContextPeer.java:
New class not fully implemented.
* nu/java/awt/peer/gtk/GtkToolkit.java:
Fixed Imports.
(createDragSourceContextPeer): Implemented.
(createDragGestureRecognizer): New function to override
java.awt.Toolkit.createDragGestureRecognizer.
* java/awt/dnd/DragSource.java
(NoDragGestureRecognizer): Removed inner class.
(createDragGestureRecognizer): Re-Implemented to
call Toolkit's createDragGestureRecognizer.
(createDefaultDragGestureRecognizer): Re-Implemented to
call Toolkit's createDragGestureRecognizer.
* java/awt/dnd/DropTarget.java
(addNotify): Added check to determine type of peer and call
addDropTarget.
(removeNotify): Added call to removeDropTarget.
2006-07-06 Tom Tromey <tromey@redhat.com>
* gnu/java/util/prefs/EventDispatcher.java (dispatch): Notify
'queue'.
(run): Wait on queue, not 'this'.
2006-07-06 Lillian Angel <langel@redhat.com>
* java/awt/dnd/DragSource.java
(startDrag): Implemented. Added comments describing
what the function should do. Removed FIXME.
2006-07-06 Tania Bento <tbento@redhat.com>
* gnu/java/awt/Canvas.java
Added new private variable 'next_canvas_number'.
(generateName): Added.
(getUniqueLong): Added.
2006-07-06 Audrius Meskauskas <AudriusA@Bioinformatics.org>
* gnu/javax/swing/text/html/CharacterAttributeTranslator.java
(getColor): Made public.
* javax/swing/text/html/StyleSheet.java (stringToColor):
Use CharacterAttributeTranslator.getColor(String)
2006-07-06 Audrius Meskauskas <AudriusA@Bioinformatics.org>
* javax/swing/text/html/HTMLEditorKit.java:
(HTMLFactory.createElement): Update reference to the html table view.
* javax/swing/text/html/HTMLTableView.java: Removed (renamed).
* javax/swing/text/html/TableView.java: New file.
2006-07-06 Audrius Meskauskas <AudriusA@Bioinformatics.org>
* javax/swing/text/html/HTMLEditorKit.java:
(HTMLFactory.createElement): Uncomment
code for BRView and HRuleView.
* javax/swing/text/html/BRView.java,
javax/swing/text/html/HRuleView.java: New files.
2006-07-05 Andrew John Hughes <gnu_andrew@member.fsf.org>
* java/lang/Thread.java:
(getAllStackTraces(Map<Thread,StackTraceElement[]>)):
Added generic type signature.
2006-07-05 Andrew John Hughes <gnu_andrew@member.fsf.org>
* NEWS: Updated.
* doc/vmintegration.texinfo: Likewise.
* examples/gnu/classpath/examples/management/TestGarbageCollector.java,
* examples/gnu/classpath/examples/management/TestMemoryManager.java,
* gnu/java/lang/management/GarbageCollectorMXBeanImpl.java,
* gnu/java/lang/management/MemoryManagerMXBeanImpl.java,
* java/lang/management/GarbageCollectorMXBean.java:
New files.
* java/lang/management/ManagementFactory.java:
(getGarbageCollectorMXBeans()): Implemented.
(getMemoryManagerMXBeans()): Likewise.
* vm/reference/gnu/java/lang/management/VMGarbageCollectorMXBeanImpl.java,
* vm/reference/gnu/java/lang/management/VMMemoryManagerMXBeanImpl.java:
New files.
* vm/reference/java/lang/management/VMManagementFactory.java:
(getMemoryManagerNames()): Added.
(getGarbageCollectorNames()): Added.
2006-07-05 Thomas Fitzsimmons <fitzsim@redhat.com>
* native/plugin/Makefile.am (nativeexeclib_LTLIBRARIES): Rename
from lib_LTLIBRARIES.
(install-plugin): Depend on nativeexeclib_LTLIBRARIES.
2006-07-05 Lillian Angel <langel@redhat.com>
* java/awt/dnd/DragGestureEvent.java:
Added new fields.
(DragGestureEvent): Initialized new fields, added to check and
added documentation.
(getSourceAsDragGestureRecognizer): Added documentation and
changed to use getSource.
(getComponent): Added documentation and fixed to return the proper
value.
(getDragSource): Likewise.
(getDragOrigin): Added documentation.
(iterator): Implemented and added documentation.
(toArray): Likewise.
(toArray): Likewise.
(getDragAction): Likewise.
(getTriggerEvent): Likewise.
(startDrag): Likewise.
* java/awt/dnd/DragGestureRecognizer.java
(resetRecognizer): Added FIXME.
* java/awt/dnd/DragSource.java:
Added new field.
(DragSource): Set ds to be null if headless.
(getDefaultDragSource): Added documentation and implemented.
(isDragImageSupported): Marked as unimplemented.
(startDrag): Likewise.
(createDragSourceContext): Implemented.
(NoDragGestureRecognizer): Formatted inner class.
* java/awt/dnd/DropTarget.java
(stop): Marked as unimplemented.
(actionPerformed): Likewise.
(addDropTargetListener): Added code to throw exception.
(removeDropTargetListener): Added check, removed FIXME.
(dragEnter): Implemented.
(dragOver): Implemented.
(dropActionChanged): Implemented.
(dragExit): Implemented.
(drop): Implemented.
(addNotify): Implemented.
(removeNotify): Implemented.
(createDropTargetContext): Implemented.
(createDropTargetAutoScroller): Implemented.
(initializeAutoscrolling): Implemented.
(updateAutoscroll): Implemented.
(clearAutoscroll): Implemented.
* java/awt/dnd/DropTargetContext.java
(dropComplete): Implemented.
(acceptDrag): Implemented.
(rejectDrag): Implemented.
(acceptDrop): Implemented.
(rejectDrop): Implemented.
(getCurrentDataFlavors): Implemented.
(getTransferable): Partially implemented.
* java/awt/dnd/DropTargetDragEvent.java
(getDropAction): Uncommented correct code.
* java/awt/dnd/DropTargetDropEvent.java
(dropComplete) :Implemented.
* java/awt/dnd/InvalidDnDOperationException.java
(InvalidDnDOperationException): Added call to super.
2006-07-05 Robert Schuster <robertschuster@fsfe.org>
* javax/swing/plaf/basic/BasicArrowButton.java:
(paint): Removed getBounds() call, changed center point
calculation.
2006-07-05 David Gilbert <david.gilbert@object-refinery.com>
* javax/swing/InputMap.java
(inputMap): Don't initialize yet,
(InputMap): Removed TODO,
(get): Check for null inputMap,
(put): Return immediately for null keyStroke, check for null inputMap
and initialize if necessary,
(remove): Check for null inputMap,
(size): Likewise,
(clear): Likewise,
(keys): Likewise,
(allKeys): Likewise,
(writeObject): Removed,
(readObject): Removed.
2006-07-05 David Gilbert <david.gilbert@object-refinery.com>
* gnu/classpath/examples/swing/TabbedPaneDemo.java
(createContent): Use different labels for buttons.
2006-07-04 Andrew John Hughes <gnu_andrew@member.fsf.org>
* NEWS: Updated.
* doc/vmintegration.texinfo: Likewise.
* examples/gnu/classpath/examples/management/TestMemoryPool.java,
* gnu/java/lang/management/MemoryPoolMXBeanImpl.java:
New files.
* java/lang/management/ManagementFactory.java:
(getMemoryPoolMXBeans()): Implemented.
* vm/reference/gnu/java/lang/management/VMMemoryPoolMXBeanImpl.java,
* vm/reference/java/lang/management/VMManagementFactory.java:
New files.
2006-07-04 Lillian Angel <langel@redhat.com>
* java/awt/dnd/DragSourceContext.java:
Removed FIXMEs from fields.
(DragSourceContext): Added code to initialize cursor and sourceActions.
(getDragSource): Added documentation.
(getComponent): Likewise.
(getTrigger): Likewise.
(getSourceActions): Added documentation and implemented.
(setCursor): Implemented. Added documentation.
(getCursor): Implemented. Added documentation.
(dragEnter): Added code to notify DragSource's listeners.
(dragOver): Likewise.
(dragExit): Likewise.
(dropActionChanged): Likewise.
(dragDropEnd): Likewise.
(dragMouseMoved): Implemented.
(getTransferable): Added API documentation.
(updateCurrentCursor): Added API documentation and partially implemented.
2006-07-04 Audrius Meskauskas <AudriusA@Bioinformatics.org>
* javax/swing/plaf/basic/BasicTreeUI.java (KeyHandler): Implemented.
2006-07-04 Lillian Angel <langel@redhat.com>
* java/awt/dnd/DragSourceContext.java
(DragSourceContext): Implemented fully. Fixed API docs.
(transferablesFlavorsChanged): Implemented.
(dragEnter): Implemented.
(dragOver): Implemented.
(dragExit): Implemented.
(dropActionChanged): Implemented.
(dragDropEnd): Implemented.
2006-07-04 Lillian Angel <langel@redhat.com>
* javax/swing/plaf/basic/BasicOptionPaneUI.java:
Fixed name of constant.
(getIconWidth): Changed name of constant returned.
(getIconHeight): Likewise.
(paint): Likewise.
(createSeparator): Marked as unimplemented.
* javax/swing/plaf/basic/BasicTableUI.java
(focusGained): Marked as unimplemented.
(focusLost): Marked as unimplemented.
(mouseEntered): Likewise.
(mouseMoved): Likewise.
(uninstallDefaults): Likewise.
* javax/swing/plaf/basic/BasicToolBarUI.java
(mouseClicked): Changed comment.
(mouseEntered): Likewise.
(mouseExited): Likewise.
(mouseMoved): Likewise.
(setOrientation): Implemented.
(ToolBarFocusListener): Marked as unimplemented.
(focusGained): Marked as unimplemented.
(focusLost): Marked as unimplemented.
2006-07-04 Audrius Meskauskas <AudriusA@Bioinformatics.org>
PR 28061
* javax/swing/plaf/basic/BasicTreeUI.java (isLocationInExpandControl):
Mind the effect of the root visibility on the position of the control.
Quess icon width 18. (paintVerticalPartOfLeg): Do no paint the
vertical line over first level nodes.
2006-07-04 Lillian Angel <langel@redhat.com>
* javax/swing/plaf/basic/BasicMenuUI.java
(installKeyboardActions): Implemented to call super. Nothing else
needs to be done here.
(setupPostTimer): Marked as unimplemented.
(uninstallKeyboardActions): Implemented to call super. Nothing else
needs to be done here.
(mouseMoved): Removed TODO. Nothing to be done here.
(ChangeHandler): Implemented.
(menuDragMouseExited): Removed TODO. Nothing to be done here.
(menuDragMouseReleased): Removed TODO. Nothing to be done here.
(menuKeyReleased): Removed TODO. Nothing to be done here.
(menuKeyTyped): Marked as unimplemented.
2006-07-04 Audrius Meskauskas <AudriusA@Bioinformatics.org>
PR 28061
* gnu/javax/swing/plaf/gnu/GNULookAndFeel.java
(getDefaults): Set hash color to black.
* javax/swing/plaf/basic/BasicLookAndFeel.java
(initComponentDefaults): Set hash color to grey blue.
* javax/swing/plaf/basic/BasicTreeUI.java
(instellDefaults): Set hash color.
* javax/swing/plaf/metal/MetalIconFactory.java
(TreeControlIcon.paint): Rewritten.
2006-07-04 Audrius Meskauskas <AudriusA@Bioinformatics.org>
PR 28061
* javax/swing/plaf/basic/BasicTreeUI.java (MouseHandler.mousePressed):
Always cancel the current editing session before doing anything else,
return immediately if this fails.
(TreeHomeAction): Ensure that the lead selection path is visible after
the action is performed. TreeIncrementAction: Likewise. TreeToggleAction:
Likewise. TreeTraverseAction: Likewise.
2006-07-04 Audrius Meskauskas <AudriusA@Bioinformatics.org>
PR 28061
* javax/swing/plaf/basic/BasicTreeUI.java (MouseHandler.mousePressed):
Returned back the code to handle the start of the click-pause-click
editing initiation, explained about this code.
(TreeStartEditingAction): New inner class.
(stopEditingInCompleteEditing): Explained about this field.
(completeEditing(boolean, boolean, boolean): Only return early
if there is no current editing session.
(createDefaultActions): Install TreeStartEditingAction and
TreeCancelEditingAction.
2006-07-04 Mario Torre <neugens@limasoftware.net>
* configure.ac: Added new option --enable-default-preferences-peer
to pass user specified default preference backend.
If the GConf peer is built, GConf become the default backend.
* resource/META-INF/services/java.util.prefs.PreferencesFactory.in:
new file.
* lib/Makefile.am: excludes files terminating in 'in' from
the metafiles list.
* lib/copy-vmresources.sh.in: excludes files terminating in 'in'
from copy into META-INF.
* java/util/prefs/Preferences.java: added two new import
classes gnu.classpath.ServiceFactory and java.util.Iterator.
(getFactory): Now try to check for
a system defined default preference backend before to fall back on
FileBasedPreference.
2006-07-04 Audrius Meskauskas <AudriusA@Bioinformatics.org>
PR 28061
* javax/swing/JTree.java (COLLAPSED): Initialise to Boolean.FALSE.
(EXPANDED): Initialise to Boolean.TRUE.
* javax/swing/plaf/basic/BasicTreeUI.java (completeUIInstall):
First configure layout cache and then set the assigned value
as row mapper. Set the root visibility property.
(toggleExpandState): Obtains expansion state from the layout cache.
2006-07-03 Andrew John Hughes <gnu_andrew@member.fsf.org>
* java/lang/management/MemoryPoolMXBean.java:
New file.
2006-07-03 Raif S. Naffah <raif@swiftdsl.com.au>
* gnu/javax/crypto/RSACipherImpl.java: Source formatting.
2006-07-03 Raif S. Naffah <raif@swiftdsl.com.au>
* gnu/javax/crypto/sasl/anonymous/AnonymousClient.java: Source formatting.
* gnu/javax/crypto/sasl/anonymous/AnonymousServer.java: Likewise.
* gnu/javax/crypto/sasl/anonymous/AnonymousUtil.java: Likewise.
* gnu/javax/crypto/sasl/crammd5/CramMD5AuthInfoProvider.java: Likewise.
* gnu/javax/crypto/sasl/crammd5/CramMD5Client.java: Likewise.
* gnu/javax/crypto/sasl/crammd5/CramMD5Registry.java: Likewise.
* gnu/javax/crypto/sasl/crammd5/CramMD5Server.java: Likewise.
* gnu/javax/crypto/sasl/crammd5/CramMD5Util.java: Likewise.
* gnu/javax/crypto/sasl/crammd5/PasswordFile.java: Likewise.
* gnu/javax/crypto/sasl/plain/PasswordFile.java: Likewise.
* gnu/javax/crypto/sasl/plain/PlainAuthInfoProvider.java: Likewise.
* gnu/javax/crypto/sasl/plain/PlainClient.java: Likewise.
* gnu/javax/crypto/sasl/plain/PlainRegistry.java: Likewise.
* gnu/javax/crypto/sasl/plain/PlainServer.java: Likewise.
* gnu/javax/crypto/sasl/srp/CALG.java: Likewise.
* gnu/javax/crypto/sasl/srp/ClientStore.java: Likewise.
* gnu/javax/crypto/sasl/srp/IALG.java: Likewise.
* gnu/javax/crypto/sasl/srp/KDF.java: Likewise.
* gnu/javax/crypto/sasl/srp/PasswordFile.java: Likewise.
* gnu/javax/crypto/sasl/srp/SecurityContext.java: Likewise.
* gnu/javax/crypto/sasl/srp/ServerStore.java: Likewise.
* gnu/javax/crypto/sasl/srp/SRP.java: Likewise.
* gnu/javax/crypto/sasl/srp/SRPAuthInfoProvider.java: Likewise.
* gnu/javax/crypto/sasl/srp/SRPClient.java: Likewise.
* gnu/javax/crypto/sasl/srp/SRPRegistry.java: Likewise.
* gnu/javax/crypto/sasl/srp/SRPServer.java: Likewise.
* gnu/javax/crypto/sasl/srp/StoreEntry.java: Likewise.
* gnu/javax/crypto/sasl/AuthInfo.java: Likewise.
* gnu/javax/crypto/sasl/AuthInfoProviderFactory.java: Likewise.
* gnu/javax/crypto/sasl/ClientFactory.java: Likewise.
* gnu/javax/crypto/sasl/ClientMechanism.java: Likewise.
* gnu/javax/crypto/sasl/ConfidentialityException.java: Likewise.
* gnu/javax/crypto/sasl/IAuthInfoProvider.java: Likewise.
* gnu/javax/crypto/sasl/IAuthInfoProviderFactory.java: Likewise.
* gnu/javax/crypto/sasl/IllegalMechanismStateException.java: Likewise.
* gnu/javax/crypto/sasl/InputBuffer.java: Likewise.
* gnu/javax/crypto/sasl/IntegrityException.java: Likewise.
* gnu/javax/crypto/sasl/NoSuchMechanismException.java: Likewise.
* gnu/javax/crypto/sasl/NoSuchUserException.java: Likewise.
* gnu/javax/crypto/sasl/OutputBuffer.java: Likewise.
* gnu/javax/crypto/sasl/SaslEncodingException.java: Likewise.
* gnu/javax/crypto/sasl/SaslInputStream.java: Likewise.
* gnu/javax/crypto/sasl/SaslOutputStream.java: Likewise.
* gnu/javax/crypto/sasl/SaslUtil.java: Likewise.
* gnu/javax/crypto/sasl/ServerFactory.java: Likewise.
* gnu/javax/crypto/sasl/ServerMechanism.java: Likewise.
* gnu/javax/crypto/sasl/UserAlreadyExistsException.java: Likewise.
2006-07-02 Anthony Green <green@redhat.com>
* gnu/javax/sound/midi/file/MidiFileWriter.java (writeTrack): Make
sure that every track written ends with an End Of Track meta
message.
2006-07-02 Andrew John Hughes <gnu_andrew@member.fsf.org>
* java/lang/management/MemoryUsage.java:
(toString()): Fix missing MB for maximum memory usage.
2006-07-02 Andrew John Hughes <gnu_andrew@member.fsf.org>
* NEWS:
Updated to include VMCompilationMXBeanImpl.
* doc/vmintegration.texinfo:
Likewise, along with update to VMMemoryMXBeanImpl
as below.
* examples/gnu/classpath/examples/management/TestCompilation.java,
* gnu/java/lang/management/CompilationMXBeanImpl.java,
* java/lang/management/CompilationMXBeanImpl.java:
New files.
* java/lang/management/ManagementFactory.java:
(getCompilationMXBean()): Implemented.
* vm/reference/gnu/java/lang/management/VMCompilationMXBeanImpl.java:
New file.
* vm/reference/gnu/java/lang/management/VMMemoryMXBeanImpl.java:
(getHeapMemoryUsage()): Added default implementation.
2006-07-02 Anthony Green <green@redhat.com>
* NEWS: Mention MIDI file reader/writer providers.
2006-07-02 Anthony Green <green@redhat.com>
* resource/META-INF/services/javax.sound.midi.spi.MidiFileWriter,
gnu/javax/sound/midi/file/MidiFileWriter.java,
gnu/javax/sound/midi/file/MidiDataOutputStream.java: New files.
2006-07-01 Andrew John Hughes <gnu_andrew@member.fsf.org>
* NEWS:
Updated to include VMMemoryMXBeanImpl.
* doc/vmintegration.texinfo: Likewise.
* examples/gnu/classpath/examples/management/TestMemory.java:
New file.
* gnu/java/lang/management/ClassLoadingMXBeanImpl.java:
Remove redundant import.
* gnu/java/lang/management/MemoryMXBeanImpl.java:
New file.
* gnu/java/lang/management/ThreadMXBeanImpl.java:
Remove redundant import.
* java/lang/management/ManagementFactory.java:
(getMemoryMXBean()): Implemented.
* java/lang/management/MemoryMXBean.java,
* java/lang/management/MemoryUsage.java:
New files.
* java/lang/management/ThreadInfo.java:
(toString()): Updated documentation.
* vm/reference/gnu/java/lang/management/VMMemoryMXBeanImpl.java:
New file.
2006-07-01 Anthony Green <green@redhat.com>
* resource/META-INF/services/javax.sound.midi.spi.MidiFileReader,
gnu/javax/sound/midi/file/MidiFileReader.java,
gnu/javax/sound/midi/file/ExtendedMidiFileFormat.java,
gnu/javax/sound/midi/file/MidiDataInputStream.java: New files.
2006-07-02 Raif S. Naffah <raif@swiftdsl.com.au>
* gnu/javax/crypto/prng/ARCFour.java: Source formatting.
* gnu/javax/crypto/prng/CSPRNG.java: Likewise.
* gnu/javax/crypto/prng/Fortuna.java: Likewise.
* gnu/javax/crypto/prng/ICMGenerator.java: Likewise.
* gnu/javax/crypto/prng/PBKDF2.java: Likewise.
* gnu/javax/crypto/prng/PRNGFactory.java: Likewise.
* gnu/javax/crypto/prng/UMacGenerator.java: Likewise.
2006-07-02 Raif S. Naffah <raif@swiftdsl.com.au>
* gnu/javax/crypto/pad/BasePad.java: Source formatting.
* gnu/javax/crypto/pad/IPad.java: Likewise.
* gnu/javax/crypto/pad/PadFactory.java: Likewise.
* gnu/javax/crypto/pad/PKCS1_V1_5.java: Likewise.
* gnu/javax/crypto/pad/PKCS7.java: Likewise.
* gnu/javax/crypto/pad/SSL3.java: Likewise.
* gnu/javax/crypto/pad/TBC.java: Likewise.
* gnu/javax/crypto/pad/TLS1.java: Likewise.
* gnu/javax/crypto/pad/WrongPaddingException.java: Likewise.
2006-07-01 Anthony Green <green@redhat.com>
* javax/sound/midi/SysexMessage.java (setMessage): Fix sysex
status byte test.
(setMessage): Fix it again, in a different setMessage method.
2006-07-02 Raif S. Naffah <raif@swiftdsl.com.au>
* gnu/javax/crypto/mode/BaseMode.java: Source formatting.
* gnu/javax/crypto/mode/CBC.java: Likewise.
* gnu/javax/crypto/mode/CFB.java: Likewise.
* gnu/javax/crypto/mode/CTR.java: Likewise.
* gnu/javax/crypto/mode/EAX.java: Likewise.
* gnu/javax/crypto/mode/ECB.java: Likewise.
* gnu/javax/crypto/mode/IAuthenticatedMode.java: Likewise.
* gnu/javax/crypto/mode/ICM.java: Likewise.
* gnu/javax/crypto/mode/IMode.java: Likewise.
* gnu/javax/crypto/mode/ModeFactory.java: Likewise.
* gnu/javax/crypto/mode/OFB.java: Likewise.
2006-07-02 Raif S. Naffah <raif@swiftdsl.com.au>
* gnu/javax/crypto/mac/BaseMac.java: Source formatting.
* gnu/javax/crypto/mac/HMac.java: Likewise.
* gnu/javax/crypto/mac/HMacFactory.java: Likewise.
* gnu/javax/crypto/mac/IMac.java: Likewise.
* gnu/javax/crypto/mac/MacFactory.java: Likewise.
* gnu/javax/crypto/mac/MacInputStream.java: Likewise.
* gnu/javax/crypto/mac/MacOutputStream.java: Likewise.
* gnu/javax/crypto/mac/OMAC.java: Likewise.
* gnu/javax/crypto/mac/TMMH16.java: Likewise.
* gnu/javax/crypto/mac/UHash32.java: Likewise.
* gnu/javax/crypto/mac/UMac32.java: Likewise.
2006-07-01 Anthony Green <green@redhat.com>
* javax/sound/midi/Track.java (vector, eventSet): Initialize.
2006-07-02 Raif S. Naffah <raif@swiftdsl.com.au>
* gnu/javax/crypto/keyring/AuthenticatedEntry.java: Source formatting.
* gnu/javax/crypto/keyring/BaseKeyring.java: Likewise.
* gnu/javax/crypto/keyring/BinaryDataEntry.java: Likewise.
* gnu/javax/crypto/keyring/CertificateEntry.java: Likewise.
* gnu/javax/crypto/keyring/CertPathEntry.java: Likewise.
* gnu/javax/crypto/keyring/CompressedEntry.java: Likewise.
* gnu/javax/crypto/keyring/EncryptedEntry.java: Likewise.
* gnu/javax/crypto/keyring/Entry.java: Likewise.
* gnu/javax/crypto/keyring/EnvelopeEntry.java: Likewise.
* gnu/javax/crypto/keyring/GnuPrivateKeyring.java: Likewise.
* gnu/javax/crypto/keyring/GnuPublicKeyring.java: Likewise.
* gnu/javax/crypto/keyring/IKeyring.java: Likewise.
* gnu/javax/crypto/keyring/IPrivateKeyring.java: Likewise.
* gnu/javax/crypto/keyring/IPublicKeyring.java: Likewise.
* gnu/javax/crypto/keyring/MalformedKeyringException.java: Likewise.
* gnu/javax/crypto/keyring/MaskableEnvelopeEntry.java: Likewise.
* gnu/javax/crypto/keyring/MeteredInputStream.java: Likewise.
* gnu/javax/crypto/keyring/PasswordAuthenticatedEntry.java: Likewise.
* gnu/javax/crypto/keyring/PasswordEncryptedEntry.java: Likewise.
* gnu/javax/crypto/keyring/PasswordProtectedEntry.java: Likewise.
* gnu/javax/crypto/keyring/PrimitiveEntry.java: Likewise.
* gnu/javax/crypto/keyring/PrivateKeyEntry.java: Likewise.
* gnu/javax/crypto/keyring/Properties.java: Likewise.
* gnu/javax/crypto/keyring/PublicKeyEntry.java: Likewise.
2006-07-01 David Gilbert <david.gilbert@object-refinery.com>
* javax/swing/AbstractCellEditor.java: Source code formatting,
* javax/swing/AbstractSpinnerModel.java: Likewise,
* javax/swing/Box.java: Likewise,
* javax/swing/BoxLayout.java: Likewise,
* javax/swing/DefaultListModel.java: Likewise,
* javax/swing/GrayFilter.java: Likewise,
* javax/swing/LookAndFeel.java: Likewise,
* javax/swing/ProgressMonitor.java: Likewise,
* javax/swing/ProgressMonitorInputStream.java: Likewise,
* javax/swing/ScrollPaneLayout.java: Likewise,
* javax/swing/SpringLayout.java: Likewise,
* javax/swing/event/EventListenerList.java: Likewise,
* javax/swing/event/MenuEvent.java: Likewise,
* javax/swing/event/TreeExpansionListener.java: Likewise.
2006-07-01 Andrew John Hughes <gnu_andrew@member.fsf.org>
* NEWS:
Mention threading bean and getState().
* doc/vmintegration.texinfo:
Update documentation for threading bean and new
method of VMThread.
2006-07-01 Andrew John Hughes <gnu_andrew@member.fsf.org>
* examples/gnu/classpath/examples/management/TestClassLoading.java,
* examples/gnu/classpath/examples/management/TestOS.java,
* examples/gnu/classpath/examples/management/TestRuntime.java,
* examples/gnu/classpath/examples/management/TestThread.java:
New files.
2006-07-01 Jeroen Frijters <jeroen@frijters.net>
* java/lang/ThreadGroup.java
(getThreadFromId, getThreadFromIdImpl): New methods.
2006-07-01 Jeroen Frijters <jeroen@frijters.net>
* java/lang/Thread.java:
Make thread IDs start from 1 in a more efficient way.
2006-07-01 Andrew John Hughes <gnu_andrew@member.fsf.org>
* java/lang/Thread.java:
Make thread IDs start from 1.
2006-07-01 Andrew John Hughes <gnu_andrew@member.fsf.org>
* gnu/java/lang/management/BeanImpl.java:
New superclass for all bean implementations.
* gnu/java/lang/management/ClassLoadingMXBeanImpl.java:
Extend BeanImpl and call permission code there.
* gnu/java/lang/management/OperatingSystemMXBeanImpl.java:
Extend BeanImpl.
* gnu/java/lang/management/RuntimeMXBeanImpl.java:
Extend BeanImpl and call permission code there.
* gnu/java/lang/management/ThreadMXBeanImpl.java:
New file.
* java/lang/management/ManagementFactory.java:
(getThreadMXBean()): Implemented.
* java/lang/management/ThreadInfo.java:
(ThreadInfo(Thread,int)): Replaced...
(ThreadInfo(Thread,long,long,Object,Thread,long,long,
boolean, boolean, StackTraceElement[])): with this.
(getBlockedCount()): Refactored to use local variables.
(getBlockedTime()): Likewise.
(getLockName()): Likewise.
(getLockOwnerId()): Likewise.
(getLockOwnerName()): Likewise.
(getStackTrace()): Likewise.
(getWaitedCount()): Likewise.
(getWaitedTime()): Likewise.
(isInNative()): Likewise.
(isSuspended()): Likewise.
(toString()): Changed to use new local variables.
* java/lang/management/ThreadMXBean.java:
(getThreadInfo(long, int)): Corrected documentation.
(getThreadInfo(long[], int)): Likewise.
* vm/reference/gnu/java/lang/management/VMThreadMXBeanImpl.java:
New file.
* vm/reference/java/lang/management/VMThreadInfo.java:
Removed.
2006-07-01 Raif S. Naffah <raif@swiftdsl.com.au>
* gnu/javax/crypto/key/dh/DHKeyPairRawCodec.java: Source formatting.
* gnu/javax/crypto/key/dh/DiffieHellmanKeyAgreement.java: Likewise.
* gnu/javax/crypto/key/dh/DiffieHellmanReceiver.java: Likewise.
* gnu/javax/crypto/key/dh/DiffieHellmanSender.java: Likewise.
* gnu/javax/crypto/key/dh/ElGamalKeyAgreement.java: Likewise.
* gnu/javax/crypto/key/dh/ElGamalReceiver.java: Likewise.
* gnu/javax/crypto/key/dh/ElGamalSender.java: Likewise.
* gnu/javax/crypto/key/dh/GnuDHKey.java: Likewise.
* gnu/javax/crypto/key/dh/GnuDHKeyPairGenerator.java: Likewise.
* gnu/javax/crypto/key/dh/GnuDHPrivateKey.java: Likewise.
* gnu/javax/crypto/key/dh/GnuDHPublicKey.java: Likewise.
* gnu/javax/crypto/key/dh/RFC2631.java: Likewise.
* gnu/javax/crypto/key/srp6/SRP6Host.java: Likewise.
* gnu/javax/crypto/key/srp6/SRP6KeyAgreement.java: Likewise.
* gnu/javax/crypto/key/srp6/SRP6SaslClient.java: Likewise.
* gnu/javax/crypto/key/srp6/SRP6SaslServer.java: Likewise.
* gnu/javax/crypto/key/srp6/SRP6TLSClient.java: Likewise.
* gnu/javax/crypto/key/srp6/SRP6TLSServer.java: Likewise.
* gnu/javax/crypto/key/srp6/SRP6User.java: Likewise.
* gnu/javax/crypto/key/srp6/SRPAlgorithm.java: Likewise.
* gnu/javax/crypto/key/srp6/SRPKey.java: Likewise.
* gnu/javax/crypto/key/srp6/SRPKeyPairGenerator.java: Likewise.
* gnu/javax/crypto/key/srp6/SRPKeyPairRawCodec.java: Likewise.
* gnu/javax/crypto/key/srp6/SRPPrivateKey.java: Likewise.
* gnu/javax/crypto/key/srp6/SRPPublicKey.java: Likewise.
* gnu/javax/crypto/key/BaseKeyAgreementParty.java: Likewise.
* gnu/javax/crypto/key/GnuSecretKey.java: Likewise.
* gnu/javax/crypto/key/IKeyAgreementParty.java: Likewise.
* gnu/javax/crypto/key/IncomingMessage.java: Likewise.
* gnu/javax/crypto/key/KeyAgreementException.java: Likewise.
* gnu/javax/crypto/key/KeyAgreementFactory.java: Likewise.
* gnu/javax/crypto/key/OutgoingMessage.java: Likewise.
2006-07-01 Roman Kennke <kennke@aicas.com>
* gnu/java/awt/java2d/AbstractGraphics2D.java
(transform): Make field protected.
(getDestinationRaster): Provide default implementation for
previously abstract method.
2006-06-30 Tania Bento <tbento@redhat.com>
* java/awt/TextArea.java
(TextArea(String, int, int, int)): No longer throws
IllegalArgumentException if rows, columns, or scrollbarVisibility
values are invalid.
(TextArea(String, int, int, int)): If rows or columns are < 0,
they get set to 0. If scrollbarVisibility is < 0 or > 4, it
gets set to the default value of 0 (SCROLLBARS_BOTH).
(appendText): Added case when peer = null.
(insertText): Added case when peer == null.
(replaceText): Added case when peer == null.
* java/awt/TextComponent.java
(TextComponent(String)): If text == null, set it to "".
2006-06-30 Lillian Angel <langel@redhat.com>
* gnu/java/awt/peer/gtk/GtkCheckboxPeer.java
(create): Added synchronized block around groupMap.get calls.
(setCheckboxGroup): Likewise.
2006-06-30 Lillian Angel <langel@redhat.com>
* gnu/java/awt/peer/gtk/GtkCheckboxPeer.java
(create): Changed to be non-synchronized.
(setLabel): Likewise.
(setCheckboxGroup): Likewise.
(addToGroupMap): Likewise. Added synchronized block around
code.
(dispose): Changed to be non-synchronized.
2006-06-30 Lillian Angel <langel@redhat.com>
* gnu/java/awt/peer/gtk/GtkCheckboxPeer.java:
Changed all return values of native functions to void.
(create): Changed function to be synchronized. Removed
call to put value in groupMap, this is now done from
the native code.
(setState): Changed function to be synchronized.
(setLabel): Changed function to be synchronized.
(setCheckboxGroup): Changed function to be synchronized. Removed
call to put value in groupMap, this is now done from
the native code.
(postItemEvent): Changed function to be synchronized.
(addToGroupMap): New function. Called by native code to add
new value to the group.
(dispose): Changed function to be synchronized.
* include/gnu_java_awt_peer_gtk_GtkCheckboxPeer.h: Updated
all functions.
* native/jni/gtk-peer/gnu_java_awt_peer_gtk_GtkCheckboxPeer.c
(cp_gtk_checkbox_init_jni): Added code to link to
java function.
(Java_gnu_java_awt_peer_gtk_GtkCheckboxPeer_createRadioButton):
Changed return value to void. Added call
to java function to set pointer in groupMap.
(Java_gnu_java_awt_peer_gtk_GtkCheckboxPeer_addtoGroup): Likewise. Also,
changed check to an assert. Also, removed call to set/del pointer.
(Java_gnu_java_awt_peer_gtk_GtkCheckboxPeer_removeFromGroup):
Likewise. Also, added check to determine if native_group should be
set to NULL.
(Java_gnu_java_awt_peer_gtk_GtkCheckboxPeer_switchToGroup): Likewise.
2006-06-30 Sven de Marothy <sven@physto.se>
* gnu/java/awt/ClasspathToolkit.java,
* gnu/java/awt/peer/x/XToolkit.java,
* gnu/java/awt/peer/qt/QtToolkit.java,
* gnu/java/awt/peer/gtk/GtkToolkit.java,
Remove ClasspathTextLayoutPeer.
* gnu/java/awt/peer/gtk/GdkTextLayout.java,
* gnu/java/awt/peer/ClasspathTextLayoutPeer:
Files removed.
2006-06-30 Sven de Marothy <sven@physto.se>
* gnu/java/awt/peer/gtk/CairoGraphics2D.java:
(drawGlyphVector): Don't draw empty vectors.
2006-06-30 Lillian Angel <langel@redhat.com>
Tom Fitzsimmons <fitzsim@redhat.com>
* gnu/java/awt/peer/gtk/GtkCheckboxGroupPeer.java: Removed class.
* gnu/java/awt/peer/gtk/GtkCheckboxPeer.java:
Added current_group, groupMap fields. Added definitions for
new native functions.
(create): Removed FIXME. Added code to create the check button or
radio button when appropriate. Updated groupMap to contain
pointer to the newly created group.
(setCheckboxGroup): Added code to handle all cases. Removing
a button from a group, adding a button to a group, or changing the
group of a button.
(dispose): Changed to call super.
* include/Makefile.am: Removed reference to
gnu_java_awt_peer_gtk_GtkCheckboxGroupPeer.h.
* include/gnu_java_awt_peer_gtk_GtkCheckboxGroupPeer.h: Removed file.
* include/gnu_java_awt_peer_gtk_GtkCheckboxPeer.h: Added definitions
for new functions.
* native/jni/gtk-peer/Makefile.am: Removed reference to
gnu_java_awt_peer_gtk_GtkCheckboxGroupPeer.c.
* native/jni/gtk-peer/gnu_java_awt_peer_gtk_GtkCheckboxGroupPeer.c:
Removed file.
* native/jni/gtk-peer/gnu_java_awt_peer_gtk_GtkCheckboxPeer.c
(Java_gnu_java_awt_peer_gtk_GtkCheckboxPeer_combobox_get_widget):
Renamed to checkbox_get_widget.
(Java_gnu_java_awt_peer_gtk_GtkCheckboxPeer_connectSignals):
Changed to use checkbox_get_widget.
(Java_gnu_java_awt_peer_gtk_GtkCheckboxPeer_nativeSetCheckboxGroup):
Removed.
(Java_gnu_java_awt_peer_gtk_GtkCheckboxPeer_gtkWidgetModifyFont):
Changed to use checkbox_get_widget.
(Java_gnu_java_awt_peer_gtk_GtkCheckboxPeer_gtkButtonSetLabel):
Likewise.
(Java_gnu_java_awt_peer_gtk_GtkCheckboxPeer_createCheckButton):
New function. Creates checkbutton without a group.
(Java_gnu_java_awt_peer_gtk_GtkCheckboxPeer_createRadioButton):
Creates a radio button in a group, using groupPointer. If groupPointer
is 0, then a new group is created.
(Java_gnu_java_awt_peer_gtk_GtkCheckboxPeer_addToGroup): Adds the
check button to a group, using groupPointer. A radio button is created
in its place. If groupPointer is 0, then a new group is created.
(Java_gnu_java_awt_peer_gtk_GtkCheckboxPeer_removeFromGroup): The
radio button is removed from the group. A check button is created in
its place.
(Java_gnu_java_awt_peer_gtk_GtkCheckboxPeer_switchToGroup): The
radio button is moved to a new group.
2006-06-30 Mark Wielaard <mark@klomp.org>
* configure.ac: Move standard.omit creation after dirs are created.
Cat standard.omit.in from srcdir. Make exclude regex more explicit.
* lib/Makefile.am (EXTRA_DIST): Add standard.omit.in.
(clean-local): Remove standard.omit.
* lib/gen-classlist.sh.in: Use omit file in build dir.
* lib/standard.omit.in: Make exclude regex more explicit.
2006-06-30 Roman Kennke <kennke@aicas.com>
* lib/Makefile.am: Added Escher dir/jar to classpath when
requested.
* configure.ac: Moved handling of standard.omit to a place
where it actually gets executed.
2006-06-30 David Gilbert <david.gilbert@object-refinery.com>
* java/awt/TextComponent.java: Reformatted source code,
* java/awt/TextField.java: Likewise.
2006-06-29 Jeroen Frijters <jeroen@sumatra.nl>
* java/lang/Thread.java:
(getState()): Handle case of no VMThread
correctly.
2006-06-29 Andrew John Hughes <gnu_andrew@member.fsf.org>
* java/lang/Thread.java,
* java/lang/VMThread.java:
Reverted patch from 2006-06-28.
2006-06-29 Roman Kennke <kennke@aicas.com>
* gnu/java/awt/peer/x/GLGraphics.java,
* gnu/java/awt/peer/x/ImageConverter.java,
* gnu/java/awt/peer/x/KeyboardMapping.java,
* gnu/java/awt/peer/x/XEventPump.java,
* gnu/java/awt/peer/x/XFontPeer.java,
* gnu/java/awt/peer/x/XFontPeer2.java,
* gnu/java/awt/peer/x/XFramePeer.java,
* gnu/java/awt/peer/x/XGraphics.java,
* gnu/java/awt/peer/x/XGraphics2D.java,
* gnu/java/awt/peer/x/XGraphicsConfiguration.java,
* gnu/java/awt/peer/x/XGraphicsDevice.java,
* gnu/java/awt/peer/x/XGraphicsEnvironment.java,
* gnu/java/awt/peer/x/XImage.java,
* gnu/java/awt/peer/x/XLightweightPeer.java,
* gnu/java/awt/peer/x/XToolkit.java,
* gnu/java/awt/peer/x/XWindowPeer.java,
* gnu/java/awt/peer/x/fonts.properties: New files.
* lib/standard.omit: Removed.
* lib/standard.omit.in: Added.
* configure.ac: Added configure option --with-escher. Added some
configury for omitting gnu.java.awt.peer.x package when
this option is not specified.
2006-06-29 David Gilbert <david.gilbert@object-refinery.com>
* javax/swing/JComponent.java
(JComponent()): Initialize the locale here, not the default locale,
(getDefaultLocale): If null, return Locale.getDefault(),
(setDefaultLocale): Added API docs.
2006-06-29 Tania Bento <tbento@redhat.com>
* java/awt/Container.java
(applyComponentOrientation): Implemented method.
2006-06-29 Gary Benson <gbenson@redhat.com>
* java/io/File.java (listRoots): Merge security checks from libgcj.
2006-06-29 Gary Benson <gbenson@redhat.com>
* java/io/FilePermission.java (implies): Work when path is "/".
2006-06-28 Andrew John Hughes <gnu_andrew@member.fsf.org>
* java/lang/Thread.java:
(Thread(ThreadGroup,Runnable,String,long)): Update
state.
(Thread(VMThread,String,int,boolean)): Likewise.
(join(long,int)): Likewise.
(resume()): Likewise.
(sleep(long,int)): Likewise.
(start()): Likewise.
(stop()): Likewise.
(suspend()): Likewise.
(die()): Likewise.
(getState()): Return either state or use VMThread.
* java/lang/VMThread.java:
(getState()): Added default implementation to return
thread.state
2006-06-28 Andreas Tobler <a.tobler@schweiz.ch>
* gnu/java/awt/peer/gtk/CairoSurface.java: Swap the data from the
GdkPixbuf correctly on big endian systems. Fix a typo in the little
endian swapping code.
* native/jni/gtk-peer/gnu_java_awt_peer_gtk_GtkImage.c
(Java_gnu_java_awt_peer_gtk_GtkImage_getPixels): Swap the pixeldata
without alpha information correctly on big endian systems.
2006-06-28 Roman Kennke <kennke@aicas.com>
* gnu/java/net/local/LocalSocket.java
(setSoTimeout): Don't throw exception and ignore request.
(getSoTimeout): Don't throw exception and always return 0.
2006-06-28 David Gilbert <david.gilbert@object-refinery.com>
* javax/swing/JComponent.java
(getRegisteredKeyStrokes): Implemented.
2006-06-28 David Gilbert <david.gilbert@object-refinery.com>
* javax/swing/JComponent.java
(verifyInputWhenFocusTarget): Initialise to true.
2006-06-28 David Gilbert <david.gilbert@object-refinery.com>
* java/beans/VetoableChangeSupport.java
(addVetoableChangeListener(VetoableChangeListener)): Do nothing for
null listener,
(addVetoableChangeListener(String, VetoableChangeListener)): Do nothing
for null property name and/or listener,
* javax/swing/JComponent.java
(getListeners): Handle VetoableChangeListener.class as a special case,
(getVetoableChangeListeners): Fetch these from the
vetoableChangeSupport object.
2006-06-28 David Gilbert <david.gilbert@object-refinery.com>
* javax/swing/JComponent.java
(componentPopupMenu): New field,
(inheritsPopupMenu): New field,
(getInheritsPopupMenu): Implemented,
(setInheritsPopupMenu): Likewise,
(getComponentPopupMenu): Likewise,
(setComponentPopupMenu): Likewise,
* javax/swing/JLabel.java
(JLabel(String, Icon, int)): Set inheritsPopupMenu to true.
2006-06-28 Raif S. Naffah <raif@swiftdsl.com.au>
* gnu/javax/crypto/key/dh/GnuDHPublicKey.java (str): New field.
(toString): New method.
* gnu/javax/crypto/key/dh/GnuDHPrivateKey.java (str): New field.
(toString): New method.
* gnu/javax/crypto/key/dh/GnuDHKey.java (str): New field.
(toString): New method.
* gnu/javax/crypto/key/dh/DHKeyPairPKCS8Codec.java (encodePrivateKey):
Handle case when Q is null.
(decodePrivateKey): Likewise.
* gnu/javax/crypto/key/dh/DHKeyPairX509Codec.java (encodePublicKey):
Likewise.
(decodePublicKey): Likewise.
* gnu/javax/crypto/jce/GnuCrypto.java (run): Added AlgorithmParameters
aliases for all block ciphers.
* gnu/javax/crypto/jce/DiffieHellmanImpl.java (result): Changed to byte[].
(engineDoPhase): Compute fully the shared secret.
(checkState): New method.
(reset): Likewise.
(engineGenerateSecret()): Reset key-agreement before returning.
(engineGenerateSecret(byte[],int)): Check for short-buffer.
Reset key-agreement before returning.
(engineGenerateSecret(String)): Reset key-agreement before returning.
(engineInit(Key,SecureRandom)): Call reset() before returning.
* gnu/javax/crypto/jce/params/BlockCipherParameters.java (log): New field.
(engineInit): Replace printing to System.out with conditional logging.
* gnu/javax/crypto/jce/cipher/CipherAdapter.java (engineInitHandler):
When the key-size is not specified, attempt best effort to find a suitable
value among those advertised by the cipher before setting it to the length
of provided key material.
2006-06-28 David Gilbert <david.gilbert@object-refinery.com>
* javax/swing/table/DefaultTableColumnModel.java
(changeEvent): Don't initialize yet, removed FIXME,
(fireColumnModelChanged): Initialize changeEvent if necessary.
2006-06-27 Andrew John Hughes <gnu_andrew@member.fsf.org>
* java/lang/Thread.java:
(getAllStackTraces()): Implemented.
(getStackTrace()): Likewise.
2006-06-27 Tania Bento <tbento@redhat.com>
* java/awt/Component.java
(setComponentOrientation): NPE should not be thrown.
2006-06-27 Tom Tromey <tromey@redhat.com>
* configure.ac: Create gjar, gnative2ascii, gserialver.
* tools/gappletviewer.in: Quote $@.
* tools/gkeytool.in: Likewise.
* tools/gjarsigner.in: Likewise.
* tools/gjar.in: New file.
* tools/gnative2ascii.in: Likewise.
* tools/gserialver.in: Likewise.
* tools/Makefile.am (bin_PROGRAMS): Added gjar, gnative2ascii,
gserialver.
(bin_SCRIPTS): Likewise.
2006-06-27 Andrew John Hughes <gnu_andrew@member.fsf.org>
* java/lang/management/ThreadMXBean.java:
(getThreadInfo(long[])): Corrected return type.
(getThreadInfo(long[], int)): Likewise.
2006-06-27 Mark Wielaard <mark@klomp.org>
* java/awt/datatransfer/Clipboard.java (addFlavorListener): Do
nothing when listener is null.
(removeFlavorListener): Likewise.
* java/awt/datatransfer/DataFlavor.java
(getRepresentationClassFromMime): Renamed to
getRepresentationClassFromMimeThrows.
(isRepresentationClassInputStream): Use Class.isAssignableFrom().
(isRepresentationClassSerializable): Likewise.
(isFlavorJavaFileListType): Likewise and check primary and
subtype.
(getParameter): Parameters are separated by semi-colons.
(DataFlavor(Class,String,String)): Do some sanity checks.
(DataFlavor(String,String,ClassLoader)): Call
getRepresentationClassFromMimeThrows.
(DataFlavor(String)): Likewise.
(equals(DataFlavor)): Special case primary type text and charset
parameter.
2006-06-27 David Gilbert <david.gilbert@object-refinery.com>
* java/awt/Component.java
(setName): Fire required PropertyChangeEvent,
* java/awt/Label.java
(getText): Removed redundant brackets,
(generateName): New method (override),
(nextLabelNumber): New field,
(getUniqueLong): New method.
2006-06-27 Roman Kennke <kennke@aicas.com>
* gnu/java/awt/peer/swing/SwingComponentPeer.java
(createImage): Delegate this to the parent.
(handleEvent): Only handle PAINT/UPDATE events when the
component is actually showing.
(hide): Repaint the parent after hiding a component.
(prepareImage): Have only one return point.
(setVisible): Delegate to show() and hide().
(createVolatileImage): Added null check to avoid NPE.
2006-06-27 David Gilbert <david.gilbert@object-refinery.com>
* java/awt/Label.java: Reformatted source code.
2006-06-27 Roman Kennke <kennke@aicas.com>
* java/awt/image/BufferedImage.java
(getSource): Use a fixed DirectColorModel to deliver the
RGB pixels to the ImageConsumer.
2006-06-27 David Gilbert <david.gilbert@object-refinery.com>
* java/awt/Point.java
(setLocation(double, double)): Round to nearest integer coordinates.
2006-06-27 David Gilbert <david.gilbert@object-refinery.com>
* java/awt/Component.java
(minSizeSet): New field,
(maxSize): Likewise,
(maxSizeSet): Likewise,
(isMaximumSizeSet): Implemented,
(isMinimumSizeSet): Likewise,
(isPreferredSizeSet): Likewise,
(setMaximumSize): Likewise,
(setMinimumSize): Likewise,
(setPreferredSize): Likewise.
2006-06-27 Roman Kennke <kennke@aicas.com>
* javax/imageio/spi/IIORegistry.java
(IIORegistry): Added BMP codec.
2006-06-27 Mark Wielaard <mark@klomp.org>
* javax/swing/JComponent.java
(firePropertyChange(String,char,char)): New override method.
2006-06-26 Andrew John Hughes <gnu_andrew@member.fsf.org>
* java/lang/Thread.java:
(getState()): New method.
* java/lang/management/ClassLoadingMXBean.java:
Corrected class documentation.
* java/lang/management/ManagementFactory.java:
Added new temporary marked stub to get thread bean.
* java/lang/management/OperatingSystemMXBean.java:
Corrected class documentation.
* java/lang/management/RuntimeMXBean.java:
Corrected class documentation.
* java/lang/management/ThreadInfo.java,
* java/lang/management/ThreadMXBean.java:
New classes.
* vm/reference/java/lang/VMThread.java:
(getState()): New method.
* vm/reference/java/lang/management/VMThreadInfo.java:
New VM class.
2006-06-26 Sven de Marothy <sven@physto.se>
* gnu/javax/imageio/gif/GIFFile.java
* gnu/javax/imageio/gif/GIFImageReader.java
* gnu/javax/imageio/gif/GIFImageSpi.java
* gnu/javax/imageio/gif/GIFStream.java
New files.
* javax/imageio/spi/IIORegistry.java: Load new GIF decoder plugin.
2006-06-26 Tania Bento <tbento@redhat.com>
* java/awt/List.java
(List): A list should have at least 4 visible rows.
(replaceItem): Should throw an ArrayIndexOutOfBoundsException,
not an IllegalArgumentException.
(makeVisible): Should not throw an IllegalArgumentException if
the specified index is out of range.
2006-06-26 David Gilbert <david.gilbert@object-refinery.com>
* javax/swing/JList.java
(getNextMatch): Reimplemented to perform a circular search for the
matching item.
2006-06-26 David Gilbert <david.gilbert@object-refinery.com>
* javax/swing/JList.java
(init): Set default value for visibleRowCount to 8,
(setVisibleRowCount): Fire PropertyChangeEvent when value changes.
2006-06-26 David Gilbert <david.gilbert@object-refinery.com>
* javax/swing/JList.java
(valueIsAdjusting): Removed,
(init): Removed initialization of valueIsAdjusting field,
(getValueIsAdjusting): Fetch value from selection model,
(setValueIsAdjusting): Store value in selection model.
2006-06-26 Roman Kennke <kennke@aicas.com>
* javax/swing/plaf/basic/BasicListUI.java
(installKeyboardActions): Rewritten to fit with the
ActionMap/InputMap architecture.
(uninstallKeyboardActions): Implemented.
(ListAction): Made private. Added TODO for splitting
up this bulk Action.
(ListAction.ListAction): New constructor. This one
takes a cmd parameter to be installed as actionCommand.
2006-06-26 Raif S. Naffah <raif@swiftdsl.com.au>
* gnu/java/security/key/rsa/RSAKeyPairRawCodec.java: Remove RCS Revision.
* gnu/javax/crypto/assembly/DeflateTransformer.java: Likewise.
2006-06-26 Raif S. Naffah <raif@swiftdsl.com.au>
* gnu/javax/crypto/jce/PBKDF2SecretKeyFactory.java: Source formatting.
* gnu/javax/crypto/jce/GnuSasl.java: Likewise.
* gnu/javax/crypto/jce/GnuCrypto.java: Likewise.
* gnu/javax/crypto/jce/DiffieHellmanImpl.java: Likewise.
* gnu/javax/crypto/jce/spec/UMac32ParameterSpec.java: Likewise.
* gnu/javax/crypto/jce/spec/TMMHParameterSpec.java: Likewise.
* gnu/javax/crypto/jce/spec/BlockCipherParameterSpec.java: Likewise.
* gnu/javax/crypto/jce/sig/DHKeyFactory.java: Likewise.
* gnu/javax/crypto/jce/prng/UMacRandomSpi.java: Likewise.
* gnu/javax/crypto/jce/prng/ICMRandomSpi.java: Likewise.
* gnu/javax/crypto/jce/prng/FortunaImpl.java: Likewise.
* gnu/javax/crypto/jce/prng/CSPRNGSpi.java: Likewise.
* gnu/javax/crypto/jce/prng/ARCFourRandomSpi.java: Likewise.
* gnu/javax/crypto/jce/params/DERWriter.java: Likewise.
* gnu/javax/crypto/jce/params/DERReader.java: Likewise.
* gnu/javax/crypto/jce/params/DEREncodingException.java: Likewise.
* gnu/javax/crypto/jce/params/BlockCipherParameters.java: Likewise.
* gnu/javax/crypto/jce/mac/UMac32Spi.java: Likewise.
* gnu/javax/crypto/jce/mac/UHash32Spi.java: Likewise.
* gnu/javax/crypto/jce/mac/TMMH16Spi.java: Likewise.
* gnu/javax/crypto/jce/mac/OMacTwofishImpl.java: Likewise.
* gnu/javax/crypto/jce/mac/OMacTripleDESImpl.java: Likewise.
* gnu/javax/crypto/jce/mac/OMacSquareImpl.java: Likewise.
* gnu/javax/crypto/jce/mac/OMacSerpentImpl.java: Likewise.
* gnu/javax/crypto/jce/mac/OMacRijndaelImpl.java: Likewise.
* gnu/javax/crypto/jce/mac/OMacKhazadImpl.java: Likewise.
* gnu/javax/crypto/jce/mac/OMacImpl.java: Likewise.
* gnu/javax/crypto/jce/mac/OMacDESImpl.java: Likewise.
* gnu/javax/crypto/jce/mac/OMacCast5Impl.java: Likewise.
* gnu/javax/crypto/jce/mac/OMacBlowfishImpl.java: Likewise.
* gnu/javax/crypto/jce/mac/OMacAnubisImpl.java: Likewise.
* gnu/javax/crypto/jce/mac/MacAdapter.java: Likewise.
* gnu/javax/crypto/jce/mac/HMacWhirlpoolSpi.java: Likewise.
* gnu/javax/crypto/jce/mac/HMacTigerSpi.java: Likewise.
* gnu/javax/crypto/jce/mac/HMacSHA512Spi.java: Likewise.
* gnu/javax/crypto/jce/mac/HMacSHA384Spi.java: Likewise.
* gnu/javax/crypto/jce/mac/HMacSHA256Spi.java: Likewise.
* gnu/javax/crypto/jce/mac/HMacSHA160Spi.java: Likewise.
* gnu/javax/crypto/jce/mac/HMacRipeMD160Spi.java: Likewise.
* gnu/javax/crypto/jce/mac/HMacRipeMD128Spi.java: Likewise.
* gnu/javax/crypto/jce/mac/HMacMD5Spi.java: Likewise.
* gnu/javax/crypto/jce/mac/HMacMD4Spi.java: Likewise.
* gnu/javax/crypto/jce/mac/HMacMD2Spi.java: Likewise.
* gnu/javax/crypto/jce/mac/HMacHavalSpi.java: Likewise.
* gnu/javax/crypto/jce/keyring/GnuKeyring.java: Likewise.
* gnu/javax/crypto/jce/key/TwofishSecretKeyFactoryImpl.java: Likewise.
* gnu/javax/crypto/jce/key/TwofishKeyGeneratorImpl.java: Likewise.
* gnu/javax/crypto/jce/key/TripleDESKeyGeneratorImpl.java: Likewise.
* gnu/javax/crypto/jce/key/SquareSecretKeyFactoryImpl.java: Likewise.
* gnu/javax/crypto/jce/key/SquareKeyGeneratorImpl.java: Likewise.
* gnu/javax/crypto/jce/key/SerpentSecretKeyFactoryImpl.java: Likewise.
* gnu/javax/crypto/jce/key/SerpentKeyGeneratorImpl.java: Likewise.
* gnu/javax/crypto/jce/key/SecretKeyGeneratorImpl.java: Likewise.
* gnu/javax/crypto/jce/key/SecretKeyFactoryImpl.java: Likewise.
* gnu/javax/crypto/jce/key/RijndaelSecretKeyFactoryImpl.java: Likewise.
* gnu/javax/crypto/jce/key/RijndaelKeyGeneratorImpl.java: Likewise.
* gnu/javax/crypto/jce/key/KhazadSecretKeyFactoryImpl.java: Likewise.
* gnu/javax/crypto/jce/key/KhazadKeyGeneratorImpl.java: Likewise.
* gnu/javax/crypto/jce/key/DESSecretKeyFactoryImpl.java: Likewise.
* gnu/javax/crypto/jce/key/DESKeyGeneratorImpl.java: Likewise.
* gnu/javax/crypto/jce/key/DESedeSecretKeyFactoryImpl.java: Likewise.
* gnu/javax/crypto/jce/key/Cast5SecretKeyFactoryImpl.java: Likewise.
* gnu/javax/crypto/jce/key/Cast5KeyGeneratorImpl.java: Likewise.
* gnu/javax/crypto/jce/key/BlowfishSecretKeyFactoryImpl.java: Likewise.
* gnu/javax/crypto/jce/key/BlowfishKeyGeneratorImpl.java: Likewise.
* gnu/javax/crypto/jce/key/AnubisSecretKeyFactoryImpl.java: Likewise.
* gnu/javax/crypto/jce/key/AnubisKeyGeneratorImpl.java: Likewise.
* gnu/javax/crypto/jce/cipher/TwofishSpi.java: Likewise.
* gnu/javax/crypto/jce/cipher/TripleDESSpi.java: Likewise.
* gnu/javax/crypto/jce/cipher/SquareSpi.java: Likewise.
* gnu/javax/crypto/jce/cipher/SerpentSpi.java: Likewise.
* gnu/javax/crypto/jce/cipher/RijndaelSpi.java: Likewise.
* gnu/javax/crypto/jce/cipher/PBES2.java: Likewise.
* gnu/javax/crypto/jce/cipher/NullCipherSpi.java: Likewise.
* gnu/javax/crypto/jce/cipher/KhazadSpi.java: Likewise.
* gnu/javax/crypto/jce/cipher/DESSpi.java: Likewise.
* gnu/javax/crypto/jce/cipher/CipherAdapter.java: Likewise.
* gnu/javax/crypto/jce/cipher/Cast5Spi.java: Likewise.
* gnu/javax/crypto/jce/cipher/BlowfishSpi.java: Likewise.
* gnu/javax/crypto/jce/cipher/ARCFourSpi.java: Likewise.
* gnu/javax/crypto/jce/cipher/AnubisSpi.java: Likewise.
* gnu/javax/crypto/jce/cipher/AESSpi.java: Likewise.
2006-06-26 David Gilbert <david.gilbert@object-refinery.com>
* javax/swing/JList.java
(setLayoutOrientation): Check for valid argument.
2006-06-26 Roman Kennke <kennke@aicas.com>
* javax/swing/JComponent.java
(firePropertyChange(String,int,int)): New method. Overrides
Component method and makes it public.
(firePropertyChange(String,boolean,boolean)): Likewise.
2006-06-25 Vivek Lakshmanan <vivekl@redhat.com>
* gnu/java/security/.cvsignore: New File.
* gnu/java/security/Configuration.java.in: New File.
* gnu/java/security/Properties.java: Change import from
gnu.classpath.Configuration to gnu.java.security.Configuration.
* gnu/java/security/hash/Whirlpool.java: Likewise.
* gnu/java/security/jce/sig/EncodedKeyFactory.java: Likewise.
* gnu/java/security/jce/sig/SignatureAdapter.java: Likewise.
* gnu/java/security/key/dss/DSSKeyPairGenerator.java: Likewise.
* gnu/java/security/key/dss/DSSKeyPairPKCS8Codec.java: Likewise.
* gnu/java/security/key/dss/DSSPrivateKey.java: Likewise.
* gnu/java/security/key/rsa/GnuRSAPrivateKey.java: Likewise.
* gnu/java/security/key/rsa/RSAKeyPairGenerator.java: Likewise.
* gnu/java/security/key/rsa/RSAKeyPairPKCS8Codec.java: Likewise.
* gnu/java/security/key/rsa/RSAKeyPairX509Codec.java: Likewise.
* gnu/java/security/pkcs/PKCS7SignedData.java: Likewise.
* gnu/java/security/pkcs/SignerInfo.java: Likewise.
* gnu/java/security/provider/PKIXCertPathValidatorImpl.java: Likewise.
* gnu/java/security/sig/rsa/EMSA_PSS.java: Likewise.
* gnu/java/security/sig/rsa/RSAPSSSignature.java: Likewise.
* gnu/java/security/util/Base64.java: Likewise.
* gnu/java/security/x509/X509CRL.java: Likewise.
* gnu/java/security/x509/X509CRLEntry.java: Likewise.
* gnu/java/security/x509/ext/Extension.java: Likewise.
* gnu/javax/crypto/cipher/Anubis.java: Likewise.
* gnu/javax/crypto/cipher/BaseCipher.java: Likewise.
* gnu/javax/crypto/cipher/Khazad.java: Likewise.
* gnu/javax/crypto/cipher/Rijndael.java: Likewise.
* gnu/javax/crypto/cipher/Twofish.java: Likewise.
* gnu/javax/crypto/jce/keyring/GnuKeyring.java: Likewise.
* gnu/javax/crypto/jce/prng/ICMRandomSpi.java: Likewise.
* gnu/javax/crypto/jce/prng/UMacRandomSpi.java: Likewise.
* gnu/javax/crypto/key/dh/GnuDHKeyPairGenerator.java: Likewise.
* gnu/javax/crypto/key/srp6/SRPKeyPairGenerator.java: Likewise.
* gnu/javax/crypto/keyring/Entry.java: Likewise.
* gnu/javax/crypto/keyring/EnvelopeEntry.java: Likewise.
* gnu/javax/crypto/keyring/GnuPrivateKeyring.java: Likewise.
* gnu/javax/crypto/keyring/GnuPublicKeyring.java: Likewise.
* gnu/javax/crypto/keyring/PasswordAuthenticatedEntry.java: Likewise.
* gnu/javax/crypto/keyring/PasswordEncryptedEntry.java: Likewise.
* gnu/javax/crypto/mac/OMAC.java: Likewise.
* gnu/javax/crypto/pad/BasePad.java: Likewise.
* gnu/javax/crypto/pad/PKCS1_V1_5.java: Likewise.
* gnu/javax/crypto/pad/PKCS7.java: Likewise.
* gnu/javax/crypto/pad/TBC.java: Likewise.
* gnu/javax/crypto/prng/CSPRNG.java: Likewise.
* gnu/javax/crypto/sasl/SaslInputStream.java: Likewise.
* gnu/javax/crypto/sasl/SaslOutputStream.java: Likewise.
* gnu/javax/crypto/sasl/srp/SRPClient.java: Likewise.
* gnu/javax/crypto/sasl/srp/SRPServer.java: Likewise.
* gnu/javax/security/auth/login/ConfigFileParser.java: Likewise.
* gnu/javax/security/auth/login/ConfigFileTokenizer.java: Likewise.
* gnu/javax/security/auth/login/GnuConfiguration.java
(getAppConfigurationEntry): Change reference to
gnu.classpath.Configuration.DEBUG to gnu.java.security.Configuration.DEBUG.
(getConfigFromUserHome): Likewise.
(getInputStreamFromURL): Likewise.
(getUserHome): Likewise.
(init): Likewise.
(processSecurityProperties): Likewise.
(processSystemProperty): Likewise.
(processUserHome): Likewise.
* configure.ac: Add gnu/java/security/Configuration.java to AC_CONFIG_FILES list.
* lib/Makefile.am: Remove gnu/java/security/Configuration.java when required.
2006-06-25 Carsten Neumann <cn-develop@gmx.net>
* javax/swing/text/DefaultCaret.java (isActive): New method.
2006-06-26 Andrew John Hughes <gnu_andrew@member.fsf.org>
* gnu/java/lang/management/ClassLoadingMXBeanImpl.java,
* java/lang/management/ClassLoadingMXBean.java:
(getTotalLoadedClassCount()): Corrected return type.
(getUnloadedClassCount()): Likewise.
* vm/reference/gnu/java/lang/management/VMClassLoadingMXBeanImpl.java:
(getUnloadedClassCount()): Likewise.
2006-06-25 Raif S. Naffah <raif@swiftdsl.com.au>
* gnu/javax/crypto/cipher/WeakKeyException.java: Source formatting.
* gnu/javax/crypto/cipher/Twofish.java: Likewise.
* gnu/javax/crypto/cipher/TripleDES.java: Likewise.
* gnu/javax/crypto/cipher/Square.java: Likewise.
* gnu/javax/crypto/cipher/Serpent.java: Likewise.
* gnu/javax/crypto/cipher/Rijndael.java: Likewise.
* gnu/javax/crypto/cipher/NullCipher.java: Likewise.
* gnu/javax/crypto/cipher/Khazad.java: Likewise.
* gnu/javax/crypto/cipher/IBlockCipherSpi.java: Likewise.
* gnu/javax/crypto/cipher/IBlockCipher.java: Likewise.
* gnu/javax/crypto/cipher/DES.java: Likewise.
* gnu/javax/crypto/cipher/CipherFactory.java: Likewise.
* gnu/javax/crypto/cipher/Cast5.java: Likewise.
* gnu/javax/crypto/cipher/Blowfish.java: Likewise.
* gnu/javax/crypto/cipher/BaseCipher.java: Likewise.
* gnu/javax/crypto/cipher/Anubis.java: Likewise.
2006-06-25 Raif S. Naffah <raif@swiftdsl.com.au>
* gnu/javax/crypto/assembly/TransformerException.java: Source formatting.
* gnu/javax/crypto/assembly/Transformer.java: Likewise.
* gnu/javax/crypto/assembly/Stage.java: Likewise.
* gnu/javax/crypto/assembly/PaddingTransformer.java: Likewise.
* gnu/javax/crypto/assembly/Operation.java: Likewise.
* gnu/javax/crypto/assembly/ModeStage.java: Likewise.
* gnu/javax/crypto/assembly/LoopbackTransformer.java: Likewise.
* gnu/javax/crypto/assembly/Direction.java: Likewise.
* gnu/javax/crypto/assembly/DeflateTransformer.java: Likewise.
* gnu/javax/crypto/assembly/CascadeTransformer.java: Likewise.
* gnu/javax/crypto/assembly/CascadeStage.java: Likewise.
* gnu/javax/crypto/assembly/Cascade.java: Likewise.
* gnu/javax/crypto/assembly/Assembly.java: Likewise.
2006-06-24 Andrew John Hughes <gnu_andrew@member.fsf.org>
* NEWS,
* doc/vmintegration.texinfo:
Updated with information on new VM interface.
* gnu/java/lang/management/ClassLoadingMXBeanImpl.java,
* java/lang/management/ClassLoadingMXBean.java:
New files implementing the class loading bean.
* java/lang/management/ManagementFactory.java:
(getClassLoadingMXBean()): Implemented.
* vm/reference/gnu/java/lang/management/VMClassLoadingMXBeanImpl.java:
New VM interface file.
2006-06-24 Andrew John Hughes <gnu_andrew@member.fsf.org>
* gnu/java/lang/management/RuntimeMXBeanImpl.java:
(isBootClassPathSupported()): Use SystemProperties
rather than System.getProperty.
2006-06-24 Raif S. Naffah <raif@swiftdsl.com.au>
* gnu/java/security/Properties.java: Source formatting.
* gnu/java/security/Registry.java: Likewise.
2006-06-24 Raif S. Naffah <raif@swiftdsl.com.au>
* gnu/java/security/util/Util.java: Source formatting.
* gnu/java/security/util/SimpleList.java: Likewise.
* gnu/java/security/util/Sequence.java: Likewise.
* gnu/java/security/util/PRNG.java: Likewise.
* gnu/java/security/util/ExpirableObject.java: Likewise.
* gnu/java/security/util/Base64.java: Likewise.
* gnu/java/security/sig/SignatureFactory.java: Likewise.
* gnu/java/security/sig/ISignatureCodec.java: Likewise.
* gnu/java/security/sig/ISignature.java: Likewise.
* gnu/java/security/sig/BaseSignature.java: Likewise.
* gnu/java/security/sig/rsa/RSAPSSSignatureRawCodec.java: Likewise.
* gnu/java/security/sig/rsa/RSAPSSSignature.java: Likewise.
* gnu/java/security/sig/rsa/RSAPKCS1V1_5Signature.java: Likewise.
* gnu/java/security/sig/rsa/RSA.java: Likewise.
* gnu/java/security/sig/rsa/EMSA_PSS.java: Likewise.
* gnu/java/security/sig/rsa/EMSA_PKCS1_V1_5.java: Likewise.
* gnu/java/security/sig/rsa/EME_PKCS1_V1_5.java: Likewise.
* gnu/java/security/sig/dss/DSSSignatureRawCodec.java: Likewise.
* gnu/java/security/sig/dss/DSSSignature.java: Likewise.
* gnu/java/security/provider/X509CertificateFactory.java: Likewise.
* gnu/java/security/provider/PKIXCertPathValidatorImpl.java: Likewise.
* gnu/java/security/provider/Gnu.java: Likewise.
* gnu/java/security/prng/RandomEventListener.java: Likewise.
* gnu/java/security/prng/RandomEvent.java: Likewise.
* gnu/java/security/prng/PRNGFactory.java: Likewise.
* gnu/java/security/prng/MDGenerator.java: Likewise.
* gnu/java/security/prng/LimitReachedException.java: Likewise.
* gnu/java/security/prng/IRandom.java: Likewise.
* gnu/java/security/prng/EntropySource.java: Likewise.
* gnu/java/security/prng/BasePRNG.java: Likewise.
2006-06-23 Francis Kung <fkung@redhat.com>
* examples/gnu/classpath/examples/java2d/J2dBenchmarkGUI.java
(Harness.actionPerformed): Process additional options.
(J2dBenchmarkWrapper): Defer init call until after options are processed.
(J2dBenchmarkWrapper.setAlias): New method.
(J2dBenchmarkWrapper.setComposite): New method.
(J2dBenchmarkWrapper.setFill): New method.
(J2dBenchmarkWrapper.setRotation): New method.
(J2dBenchmarkWrapper.setShear): New method.
(J2dBenchmarkWrapper.setStroke): New method.
(J2dBenchmarkWrapper.setTranslation): New method.
(run): Add additional options to GUI.
* examples/gnu/classpath/examples/java2d/J2dBenchmark.java:
Added protected fields for various options.
(GraphicsTest.runSet_noClipping): Reset graphics settings between tests.
(GraphicsTest.runSet_withClipping): Reset graphics settings between tests.
(GraphicsTest.runSet_zeroClipping): Reset graphics settings between tests.
(getNextColor): Renamed to setRandom.
(init): Load additional image for texturing if needed.
(loadBufferedImage): New method.
(main): Accept additional command-line switches.
(prepareGraphics): New method.
(resetGraphics): New method.
(runTestSuite): Accept additional image-processing options.
(setRandom): Renamed from getNextColor; generate various random options
(test_drawArc): Rename getNextColor to setRandom.
(test_drawCubic): Likewise.
(test_drawEllipse): Likewise.
(test_drawGeneralPath): Likewise.
(test_drawImage): Likewise.
(test_drawLine): Likewise.
(test_drawQuadCurve): Likewise.
(test_drawRectangle): Likewise.
(test_drawRoundRectangle): Likewise.
(test_drawTransparentImage): Likewise.
(test_fillArc): Rename getNextColor to setRandom.
(test_fillEllipse): Likewise.
(test_fillGeneralPath): Likewise.
(test_fillRectangle): Likewise.
(test_fillRoundRectangle): Likewise.
(TestRecorder.getAverage): Round the average time.
2006-06-23 Tom Tromey <tromey@redhat.com>
* java/util/logging/LoggingMXBean.java: New file.
* java/util/logging/LogManager.java (LOGGING_MXBEAN_NAME): New field.
(loggingBean): New field.
(getLoggingMXBean): New method.
2006-06-23 Tania Bento <tbento@redhat.com>
* java/awt/TextField.java
(TextField): Default number of columns should be 0, not 1.
(TextField): Check if number of columns given as argument
is valid (>= 0) and set the number of columns accordingly.
(TextField): Check if the string passed is null. If it is,
set columns to 0, else columns is set to the length of
the string.
2006-06-23 Roman Kennke <kennke@aicas.com>
* javax/swing/plaf/basic/BasicInternalFrameUI.java
(InternalFramePropertyChangeListener.propertyChange):
Don't call getPropertyName() repeatedly. Added null checks
to avoid NPEs. Call closeFrame() if the closed property
changes.
2006-06-23 Roman Kennke <kennke@aicas.com>
* javax/swing/JInternalFrame.java
(maxTransition): Removed.
(JInternalFrame): Set maxium=false. Initialize desktopIcon here.
Don't initialize storedBounds here.
(dipose): Rewritten to correctly dispose the JInternalFrame.
(getDesktopIcon): Don't initialize desktopIcon here.
(getLayer): Delegate to JLayeredPane.getLayer().
(getNormalBounds): Return bounds when storedBounds == null,
otherwise storedBounds.
(hide): Don't change selection. Also hide the desktopIcon.
(moveToBack): Call getParent() only once.
(moveToFront): Call getParent() only once.
(pack): Call validate() to make sure that the layout is
propagated to the children.
(setClosed): Fire InternalFrameEvent first, before the
PropertyVetoEvent.
(setJMenuBar): Fire PropertyChangeEvent for this property.
(setLayer): Delegate to JLayeredPane.
(setLayeredPane): Check for null and throw IllegalArgumenException.
(setMaximum): Remove handling of maxTransition and normalBounds.
Should probably be done in the UI.
(setNormalBounds): Store Rectangle object directly, not a copy.
(setRootPane): Go into rootPaneCheckingEnabled mode so that
adding the RootPane doesn't add it to the contentPane.
Fire PropertyChangeEvent.
(setSelected): Added condition for when this property must not
be changed.
(show): Don't ask the DesktopPane to select the frame. Moved
code around to fire InternalFrameEvent before actually calling
super.show(). Also make the desktopIcon visible.
(setTitle): Fire PropertyChangeEvent unconditionally.
2006-06-23 Roman Kennke <kennke@aicas.com>
* javax/swing/JLayeredPane.java
(getPosition): Moved code around to avoid unnecessary method calls.
(setPosition): Delegate to setLayer().
(insertIndexForLayer(int,int)): Delegate to new private helper method.
(insertIndexForLayer(Component,int,int)): New helper method
to support the use of setComponentZOrder() which doesn't remove
the component and thus the insertIndexForLayer must ignore
the component to be moved to get the index right.
(setLayer): Added check to prevent unnecessary execution of
method body. Changed to update the component order here.
Added repaint() to make sure that the update becomes visible.
(addImpl): Call setLayer() only when a constraint has been specified.
Validate and repaint the JLayeredPane.
2006-06-23 Roman Kennke <kennke@aicas.com>
* java/awt/Container.java
(getComponentZOrder): Use ncomponents instead of
component.length so that we don't consider the empty space
after the last component.
2006-06-22 Roman Kennke <kennke@aicas.com>
* javax/swing/JComponent.java
(vetoableChangeSupport): New field.
(removeVetoableChangeListener): Rewritten to use
vetoableChangeSupport.
(addVetoableChangeListener): Rewritten to use
vetoableChangeSupport.
(fireVetoableChange): Rewritten to use
vetoableChangeSupport.
(addPropertyChangeListener): Removed. This is handled in
Component already.
(firePropertyChange(String,boolean,boolean)): Likewise.
(firePropertyChange(String,char,char)): Likewise.
(firePropertyChange(String,int,int)): Likewise.
(revalidate): Don't do anything when the commponent has no
parent.
2006-06-22 David Gilbert <david.gilbert@object-refinery.com>
* javax/swing/JLabel.java: Updated API docs.
2006-06-22 Robert Schuster <robertschuster@fsfe.org>
* java/awt/Insets.java: Updated copyright year.
(toString): Changed string, removed a line from the
documentation.
2006-06-22 Roman Kennke <kennke@aicas.com>
* javax/swing/text/AbstractDocument.java
(AbstractDocument): Set the i18n document property.
(removeImpl): Added checks for correct boundaries.
2006-06-22 Roman Kennke <kennke@aicas.com>
* javax/swing/text/PlainDocument.java
(rootElement): Changed type to Element.
(tabSize): Removed field. This is stored in the document properties
instead.
(PlainDocument): Set tabSize property. Init rootElement without
cast.
(insertUpdate): Rewritten. The previous implementation did not
handle some corner cases properly and was a mess.
(removeUpdate): Cast rootElement to BranchElement.
2006-06-22 David Gilbert <david.gilbert@object-refinery.com>
* javax/swing/plaf/basic/BasicLabelUI.java
(installKeyboardActions): Implemented,
(uninstallKeyboardActions): Implemented,
(propertyChange): Add handling for 'displayedMnemonic' and 'labelFor'
properties.
2006-06-22 Robert Schuster <robertschuster@fsfe.org>
* javax/swing/JMenu.java:
(removeAll): Added check for popupMenu not being null.
2006-06-22 David Gilbert <david.gilbert@object-refinery.com>
* javax/swing/JLabel.java
(getText): Updated API docs,
(setText): Corrected the check for an unchanged value, and the update
of the displayedMnemonicIndex.
2006-06-22 David Gilbert <david.gilbert@object-refinery.com>
* javax/swing/JLabel.java
(setDisplayedMnemonic(int)): Fire property change event AFTER updating
field,
(setDisplayedMnemonicIndex): Modified argument checking to handle case
where label text is null.
2006-06-22 David Gilbert <david.gilbert@object-refinery.com>
* javax/swing/JLabel.java
(setDisplayedMnemonic): Updated API docs,
(getDisplayedMnemonic): Removed unnecessary type-cast,
(setDisplayedMnemonicIndex): Removed unnecessary validation,
(getDisplayedMnemonicIndex): Updated API docs.
2006-06-21 Jeroen Frijters <jeroen@frijters.net>
* java/util/Collections (entrySet): Fixed compile error.
2006-06-21 David Gilbert <david.gilbert@object-refinery.com>
* javax/swing/DefaultListSelectionModel.java
(getSelectionMode): Updated API docs,
(setAnchorSelectionIndex): Added ListSelectionEvent generation,
(addSelectionInterval): If mode is SINGLE_SELECTION, just call
setSelectionInterval(),
(setSelectionInterval): Reimplemented SINGLE_SELECTION and
SINGLE_INTERVAL_SELECTION cases.
2006-06-21 Roman Kennke <kennke@aicas.com>
* javax/swing/text/AbstractDocument.java
(BranchElement.numChildren): New field.
(BranchElement.BranchElement): Initialize children array with
one element (that's the least number of elements that makes sense).
Initialize numChildren.
(BranchElement.children): Use numChildren as boundary.
(BranchElement.getElement): Use numChildren as boundary.
(BranchElement.getElementCount): Use numChildren as boundary.
(BranchElement.getElementIndex): Use numChildren as boundary.
(BranchElement.getEndOffset): Use numChildren as boundary.
(BranchElement.getStartOffset): Use numChildren as boundary.
(BranchElement.positionToElement): Use numChildren as boundary.
(BranchElement.replace): Handle the children array more efficiently
by growing in blocks > 1, and reusing space from removed elements.
(LeafElement.startDelta): Removed.
(LeafElement.endDelta): Removed.
(LeafElement.LeafElement): Removed handling of deltas.
(LeafElement.getEndOffset): Likewise.
(LeafElement.getStartOffset): Likewise.
* javax/swing/text/JTextComponent.java
(setDocument): Added locking of the old document to avoid dangling
notification beeing delivered while the document is beeing
disconnected.
(getScrollableTracksViewportWidth): Fixed condition.
* javax/swing/text/PlainDocument.java
(createDefaultRoot): Create elements without AttributeSet.
* javax/swing/text/rtf/RTFParser.java
(parseFile): Handle slightly incorrect RTF gracefully.
* javax/swing/text/rtf/RTFScanner.java
(lastToken): New field.
(readTokenImpl): New method.
(peekToken): New method.
(readToken): Changed to call readTokenImpl or return the lastToken
if there's one present.
2006-06-21 Tania Bento <tbento@redhat.com>
* javax/swing/JMenu.java
(remove): An IllegalArgumentException should be thrown if
either index < 0 or if index > 0 and there are no menu
components. Also, a check was added that ensures there are
menu components before removing the desired the component.
2006-06-21 Lillian Angel <langel@redhat.com>
* javax/swing/text/DefaultCaret.java
(install): Added check to prevent NPE.
(propertyChange): Added checks to prevent NPEs.
2006-06-21 Tania Bento <tbento@redhat.com>
* javax/swing/JMenu.java
Changed instantiation of popupMenu to null.
(JMenu): Instantiated popupMenu to new JPopupMenu.
(JMenu): Instantiated popupMenu to new JPopupMenu.
(add): Changed popupMenu to getPopupMenu().
(add): Changed popupMenu to getPopupMenu().
(add): Changed popupMenu to getPopupMenu().
(add): Changed popupMenu to getPopupMenu().
(remove): Changed popupMenu to getPopupMenu().
(remove): Changed popupMenu to getPopupMenu().
(insert): Changed popupMenu to getPopupMenu().
(setSelectedHelper): Changed popupMenu to getPopupMenu().
(isPopupMenuVisible): Changed popupMenu to getPopupMenu().
(setPopupMenuVisible): Changed popupMenu to getPopupMenu().
(getMenuComponentCount): Changed popupMenu to getPopupMenu().
(getMenuComponents): Changed popupMenu to getPopupMenu().
(getPopupMenu): Check first if popupMenu is null and if so,
instantiate it to a new JPopupMenu and set the invoker.
* javax/swing/plaf/basic/BasicPopupMenuUI.java
(popupMenuWillBecomeVisible): Component Listener should only
be added to the root container if the root container is not
null. This avoids a null pointer exception.
2006-06-21 Tania Bento <tbento@redhat.com>
* javax/swing/JMenu.java
(JMenu): Delay should be set to 200, not default of 0.
(JMenu): Delay should be set to 200, not default of 0.
(JMenu): Delay should be set to 200, not default of 0.
(JMenu): Delay should be set to 200, not default of 0.
(remove): Added check that index >= 0 before removing
the component.
(getItem): Return null if item count equals 0.
(isTearOff): Should throw new error and not return false.
(getMenuComponent): Return null if popupMenu is null or
if there are no menu components.
2006-06-21 Roman Kennke <kennke@aicas.com>
* java/awt/font/FontRenderContext.java:
(equals): Added special conditions for affineTransform beeing
null.
2006-06-21 Roman Kennke <kennke@aicas.com>
* javax/swing/UIManager.java
(MultiplexUIDefaults.clear): Removed method. The fallback UIDefaults
must not be cleared.
2006-06-21 Roman Kennke <kennke@aicas.com>
* javax/swing/plaf/metal/MetalUtils.java
(paintHorizontalGradient): Use paintHorizontalGradient2D when
Graphics2D is available. Use fillRect instead of drawLine, this
is much faster.
(paintVerticalGradient): Use paintHorizontalGradient2D when
Graphics2D is available. Use fillRect instead of drawLine, this
is much faster.
(paintHorizontalGradient2D): New method. Paints gradient
using Graphics2D functions.
(paintVerticalGradient2D): New method. Paints gradient
using Graphics2D functions.
2006-06-21 Roman Kennke <kennke@aicas.com>
* javax/swing/plaf/basic/BasicButtonListener.java
(propertyChange): Create a TextLayout and store it in the button
when the 'text' property changes.
* javax/swing/plaf/basic/BasicButtonUI.java
(paintText): Call BasicGraphicsUtils utility method for
drawing strings, instead of Graphics.drawString().
* javax/swing/plaf/basic/BasicGraphicsUtils.java
(CACHE_TEXT_LAYOUT): New constant field. Used as a key for storing
cached text layouts as client properties in JComponents.
(drawString(JComponent,Graphics,String,int,int)): New helper method.
(drawStringUnderlineCharAt): New helper method.
* javax/swing/plaf/basic/BasicMenuItemUI.java
(PropertyChangeHandler.propertyChange): Update cached text layout
when 'text' property changes. Use equals() instead of == for
string comparison.
(paintText): Use new BasicGraphicsUtils methods for painting
the cached text layout.
(installListeners): Call super.installListeners() and remove
the unneeded listener installs.
(uninstallListeners): Call super.uninstallListeners() and remove
the unneeded listener uninstalls.
2006-06-21 Roman Kennke <kennke@aicas.com>
* javax/swing/plaf/basic/BasicTextUI.java
(PropertyChangeHandler.propertyChange): Handle document listener
update here.
(background): Removed unneeded fields.
(inactiveBackground): Remove unneeded fields.
(installUI): Install the document listener. Slightly changed
order of operations. Don't trigger modelChanged().
(installDefaults): Only install properties when the
current properties are null or instances of UIResource.
(installListeners): Removed unnecessary listener installs.
(installDocumentListeners): Removed unneeded method.
(uninstallListeners): Removed unnecessary listener uninstalls.
(modelChanged): Removed call to installDocumentListeners().
* javax/swing/plaf/basic/BasicTextFieldUI.java
(propertyChange): Update the colors by fetching them from
SharedUIDefaults. Fixed conditions.
* javax/swing/plaf/basic/SharedUIDefaults.java
(getColor): New method.
2006-06-21 Roman Kennke <kennke@aicas.com>
* javax/swing/SizeSequence.java
(SizeSequence): Initialize array with correct number of entries.
2006-06-21 Roman Kennke <kennke@aicas.com>
* javax/swing/JSplitPane.java
(setDividerLocation): Substract divider size when computing
the absolute size.
2006-06-21 Roman Kennke <kennke@aicas.com>
* javax/swing/JComponent.java
(paintChildrenWithOverlap): Determine opaque property by
calling the corresponding Component method, without requiring
a JComponent.
(paintChildrenOptimized): Removed old unneeded code.
(paintImmediately): Use JComponent's convertRectangleToAncestor()
method instead of SwingUtilities.convertRectangle(). This is
more efficient.
2006-06-21 Roman Kennke <kennke@aicas.com>
* javax/swing/AbstractButton.java
(init): Call setText() instead of setting the property directly,
so that listeners (especially in the UI) get notified.
2006-06-21 Roman Kennke <kennke@aicas.com>
* javax/swing/UIManager.java
(MultiplexUIDefaults): New inner class.
(currentUIDefaults): Changed type to be MultiplexUIDefaults.
(userUIDefaults): Changed name to be lookAndFeelDefaults.
(<cinit>): Call setLookAndFeel(String) instead of trying to load
directly. Print stacktrace if something goes wrong.
(get): Delegate call to currentUIDefaults.
(getDefaults): If currentUIDefaults is null, then lazily instantiate
it.
(getUI): Delegate call to currentUIDefaults.
(put): Delegate call to currentUIDefaults.
(setLookAndFeel): Initialize currentUIDefaults with
MultiplexUIDefaults. Set lookAndFeelDefaults.
(setLookAndFeel): Use current thread's context classloader for
loading the L&F.
2006-06-21 Roman Kennke <kennke@aicas.com>
* javax/swing/text/GapContent.java
(GapContentPosition.GapContentPosition): Replace
Collections.binarySearch with call to local search() to make
sure we find the first object that equals the searched object.
(setPositionsInRange): Likewise.
(adjustPositionsInRange): Likewise.
(search): New helper method.
2006-06-21 Gary Benson <gbenson@redhat.com>
* gnu/java/awt/peer/gtk/CairoGraphics2D.java: Add security check.
* gnu/java/awt/peer/qt/QtGraphics.java: Likewise.
* gnu/java/awt/java2d/AbstractGraphics2D.java: Likewise.
2006-06-20 Thomas Fitzsimmons <fitzsim@redhat.com>
* native/plugin/Makefile.am (libgcjwebplugin_la_CXXFLAGS): Define
APPLETVIEWER_EXECUTABLE to gappletviewer.
2006-06-20 Tom Tromey <tromey@redhat.com>
PR classpath/28095:
* java/net/URL.java (URL): Throw MalformedURLException if a
RuntimeException is caught. Chain exceptions.
2006-06-20 Lillian Angel <langel@redhat.com>
* gnu/java/awt/peer/gtk/GtkCheckboxPeer.java
(create): Added check to prevent Seg Fault. Should not
set the label if it is null.
* gnu/java/awt/peer/gtk/GtkLabelPeer.java
(setText): Changed to be a non-native function. Calls
setNativeText if the String parameter is non-null.
(setNativeText): Replaces old native setText function.
* include/gnu_java_awt_peer_gtk_GtkLabelPeer.h: Regenerated.
* native/jni/gtk-peer/gnu_java_awt_peer_gtk_GtkLabelPeer.c
(Java_gnu_java_awt_peer_gtk_GtkLabelPeer_setText): Removed.
Replaced by Java_gnu_java_awt_peer_gtk_GtkLabelPeer_setNativeText.
(Java_gnu_java_awt_peer_gtk_GtkLabelPeer_setNativeText): Replaced
Java_gnu_java_awt_peer_gtk_GtkLabelPeer_setText.
2006-06-20 Lillian Angel <langel@redhat.com>
* javax/swing/text/JTextComponent.java
(AccessibleJTextComponent): Rewrote all javadocs
for this inner class.
2006-06-20 Francis Kung <fkung@redhat.com>
* examples/gnu/classpath/examples/java2d/J2dBenchmark.java:
Changed many members to be protected.
(J2dBenchmark): moved to init() instead.
(init): New method.
(main): Call init() after creating object
(testComplete): New method.
(test_drawArc): Use maxTests varialbe instead of constant.
(test_drawCubicCurve): Likewise.
(test_drawEllipse): Likewise.
(test_drawGeneralPath): Likewise.
(test_drawImage): Likewise.
(test_drawLine): Likewise.
(test_drawQuadCurve): Likewise.
(test_drawRectangle): Likewise.
(test_drawRoundRectangle): Likewise.
(test_drawTransparentImage): Likewise.
(test_fillArc): Likewise.
(test_fillEllipse): Likewise.
(test_fillGeneralPath): Likewise.
(test_fillRectangle): Likewise.
(test_fillRoundRectangle): Likewise.
(GraphicsTest.runSetNoClipping): Added runCount parameter.
(GraphicsTest.runSetWithClipping): Likewise.
(GraphicsTest.runSetZeroClipping): Likewise.
(GraphicsTest.run): Added checks for more option flags.
* examples/gnu/classpath/examples/java2d/J2dBenchmarkGUI.java:
New file.
2006-06-20 Roman Kennke <kennke@aicas.com>
* javax/swing/text/GapContent.java
(GapContentPosition.mark): New field.
(GapContentPosition.index): Removed.
(GapContentPosition.GapContentPosition): Changed to take the
real offset as parameter. Added handling of reference counter.
Try to cleanup before creating new instances.
(getOffset): Delegate to the Mark method with same name.
(Mark): New class, encapsulating a mark.
(positionMarks): Removed field.
(numMarks): Removed field.
(marks): New field.
(queueOfDeath): New field.
(GapContent): Removed init of old fields, added init of new fields.
(createPosition): Added check for validity of arguments.
Create GapContentPosition directly with offset.
(shiftEnd): Pass end of buffer directly to adjustPositionsInRange.
(shiftGap): Pass end of buffer directly to adjustPositionsInRange.
(shiftGapStartDown): Call resetMarksAtZero().
(shiftGapEndUp): Call resetMarksAtZero().
(replace): Don't call resetMarksAtZero().
(setPositionInRange): Replaced by simpler algorithm, similar to
adjustPositionsInRange.
(adjustPositionsInRange): Adapted to use of Mark objects.
(resetMarksAtZero): Reset all marks that point to zero instead
of only the first one.
(dumpMarks): Adjusted to dump Mark objects.
(insertMark): Removed.
(garbageCollect): New method. Cleans up the marks list.
(binarySearch): Removed.
2006-06-20 Lillian Angel <langel@redhat.com>
* gnu/java/awt/peer/gtk/CairoGraphics2D.java
(drawImage): Added call to updateColor because
Cairo seems to lose the current color.
2006-06-20 Gary Benson <gbenson@redhat.com>
* java/awt/Toolkit.java: Add security check.
* gnu/java/awt/peer/gtk/GtkToolkit.java: Likewise.
* gnu/java/awt/peer/qt/QtToolkit.java: Likewise.
2006-06-20 Raif S. Naffah <raif@swiftdsl.com.au>
* gnu/java/security/key/dss/DSSKey.java: Source formatting.
* gnu/java/security/key/dss/DSSKeyPairGenerator.java: Likewise.
* gnu/java/security/key/dss/DSSKeyPairPKCS8Codec.java: Likewise.
* gnu/java/security/key/dss/DSSKeyPairRawCodec.java: Likewise.
* gnu/java/security/key/dss/DSSKeyPairX509Codec.java: Likewise.
* gnu/java/security/key/dss/DSSPrivateKey.java: Likewise.
* gnu/java/security/key/dss/DSSPublicKey.java: Likewise.
* gnu/java/security/key/dss/FIPS186.java: Likewise.
* gnu/java/security/key/rsa/GnuRSAKey.java: Likewise.
* gnu/java/security/key/rsa/GnuRSAPrivateKey.java: Likewise.
* gnu/java/security/key/rsa/GnuRSAPublicKey.java: Likewise.
* gnu/java/security/key/rsa/RSAKeyPairGenerator.java: Likewise.
* gnu/java/security/key/rsa/RSAKeyPairPKCS8Codec.java: Likewise.
* gnu/java/security/key/rsa/RSAKeyPairRawCodec.java: Likewise.
* gnu/java/security/key/rsa/RSAKeyPairX509Codec.java: Likewise.
* gnu/java/security/key/IKeyPairCodec.java: Likewise.
* gnu/java/security/key/IKeyPairGenerator.java: Likewise.
* gnu/java/security/key/KeyPairCodecFactory.java: Likewise.
* gnu/java/security/key/KeyPairGeneratorFactory.java: Likewise.
2006-06-19 Lillian Angel <langel@redhat.com>
* gnu/java/awt/peer/gtk/CairoGraphics2D.java
(drawImage): Should always use getRGB to get the pixels.
getData returns an incorrect array of pixels.
2006-06-19 Raif S. Naffah <raif@swiftdsl.com.au>
* gnu/java/security/jce/hash/HavalSpi.java: Source formatting.
* gnu/java/security/jce/hash/MD2Spi.java: Likewise.
* gnu/java/security/jce/hash/MD4Spi.java: Likewise.
* gnu/java/security/jce/hash/MD5Spi.java: Likewise.
* gnu/java/security/jce/hash/MessageDigestAdapter.java: Likewise.
* gnu/java/security/jce/hash/RipeMD128Spi.java: Likewise.
* gnu/java/security/jce/hash/RipeMD160Spi.java: Likewise.
* gnu/java/security/jce/hash/Sha160Spi.java: Likewise.
* gnu/java/security/jce/hash/Sha256Spi.java: Likewise.
* gnu/java/security/jce/hash/Sha384Spi.java: Likewise.
* gnu/java/security/jce/hash/Sha512Spi.java: Likewise.
* gnu/java/security/jce/hash/TigerSpi.java: Likewise.
* gnu/java/security/jce/hash/WhirlpoolSpi.java: Likewise.
* gnu/java/security/jce/prng/HavalRandomSpi.java: Likewise.
* gnu/java/security/jce/prng/MD2RandomSpi.java: Likewise.
* gnu/java/security/jce/prng/MD4RandomSpi.java: Likewise.
* gnu/java/security/jce/prng/MD5RandomSpi.java: Likewise.
* gnu/java/security/jce/prng/RipeMD128RandomSpi.java: Likewise.
* gnu/java/security/jce/prng/RipeMD160RandomSpi.java: Likewise.
* gnu/java/security/jce/prng/SecureRandomAdapter.java: Likewise.
* gnu/java/security/jce/prng/Sha160RandomSpi.java: Likewise.
* gnu/java/security/jce/prng/Sha256RandomSpi.java: Likewise.
* gnu/java/security/jce/prng/Sha384RandomSpi.java: Likewise.
* gnu/java/security/jce/prng/Sha512RandomSpi.java: Likewise.
* gnu/java/security/jce/prng/TigerRandomSpi.java: Likewise.
* gnu/java/security/jce/prng/WhirlpoolRandomSpi.java: Likewise.
* gnu/java/security/jce/sig/DSSKeyFactory.java: Likewise.
* gnu/java/security/jce/sig/DSSKeyPairGeneratorSpi.java: Likewise.
* gnu/java/security/jce/sig/DSSParameters.java: Likewise.
* gnu/java/security/jce/sig/DSSRawSignatureSpi.java: Likewise.
* gnu/java/security/jce/sig/EncodedKeyFactory.java: Likewise.
* gnu/java/security/jce/sig/KeyPairGeneratorAdapter.java: Likewise.
* gnu/java/security/jce/sig/RSAKeyFactory.java: Likewise.
* gnu/java/security/jce/sig/RSAKeyPairGeneratorSpi.java: Likewise.
* gnu/java/security/jce/sig/RSAPSSRawSignatureSpi.java: Likewise.
* gnu/java/security/jce/sig/SignatureAdapter.java: Likewise.
2006-06-19 Raif S. Naffah <raif@swiftdsl.com.au>
* NEWS: Updated (delayed) for security tools and tools.texinfo.
2006-06-19 Roman Kennke <kennke@aicas.com>
* gnu/java/awt/peer/gtk/ComponentGraphics.java
(drawImage): Clip volatile image correctly.
(drawVolatileImage): Added arguments for clipping.
* native/jni/gtk-peer/gnu_java_awt_peer_gtk_ComponentGraphics.c
(drawVolatileImage): Added arguments for clipping. Clip image
correctly.
* include/gnu_java_awt_peer_gtk_ComponentGraphics.h: Regenerated.
2006-06-19 Audrius Meskauskas <AudriusA@Bioinformatics.org>
PR 28035
* java/rmi/server/UID.java (constructor): Synchronized
the whole constructor on the UID class.
2006-06-19 Roman Kennke <kennke@aicas.com>
* javax/swing/RepaintManager.java
(addInvalidComponent): Only add component that are displayable,
that have displayable parents and that have a validateRoot.
Also, don't validate components that have a CellRendererPane
ancestor.
2006-06-19 David Gilbert <david.gilbert@object-refinery.com>
* javax/swing/plaf/IconUIResource.java
(IconUIResource): Throw IllegalArgumentException for null icon.
2006-06-18 Audrius Meskauskas <AudriusA@Bioinformatics.org>
PR 28035
* java/rmi/server/UID.java (constructor): First increment
uidCounter, and then use the value.
2006-06-18 Thomas Fitzsimmons <fitzsim@redhat.com>
* java/awt/GridBagLayout.java (AdjustForGravity): Implement.
* java/awt/GridBagConstraints.java: Indent.
2006-06-18 Tom Tromey <tromey@redhat.com>
* native/jni/gconf-peer/.cvsignore: New file.
2006-06-18 Tom Tromey <tromey@redhat.com>
* tools/gnu/classpath/tools/getopt/Parser.java (handleLongOption):
Also handle short options.
2006-06-18 Jim Huang <jserv@kaffe.org>
PR classpath/28076:
* native/jni/gconf-peer/Makefile.am (libgconfpeer_la_LIBADD):
Fixed typo.
2006-06-19 Mark Wielaard <mark@klomp.org>
* include/Makefile.am: gnu_java_util_prefs_gconf_%.h should depend
on gnu/java/util/prefs/gconf/%.class.
* Java_gnu_java_util_prefs_gconf_GConfNativePeer_init_1class: Fix
chache typo, should be cache.
(Java_gnu_java_util_prefs_gconf_GConfNativePeer_gconf_1client_1gconf_1client_1all_1keys):
Declare tmp early.
(Java_gnu_java_util_prefs_gconf_GConfNativePeer_gconf_1client_1gconf_1client_1all_1nodes):
Likewise.
(Java_gnu_java_util_prefs_gconf_GConfNativePeer_gconf_1client_1remove_1dir):
Don't return a value for void function.
(Java_gnu_java_util_prefs_gconf_GConfNativePeer_gconf_1client_1add_1dir)
Likewise.
(Java_gnu_java_util_prefs_gconf_GConfNativePeer_gconf_1client_1dir_1exists):
Mark clazz as unused. Return JNI_FALSE, not NULL for jboolean
function.
(Java_gnu_java_util_prefs_gconf_GConfNativePeer_finalize_1class):
Mark clazz ad unused.
2006-06-18 Raif S. Naffah <raif@swiftdsl.com.au>
* gnu/java/security/hash/Whirlpool.java: Source formatting.
* gnu/java/security/hash/Tiger.java: Likewise.
* gnu/java/security/hash/Sha512.java: Likewise.
* gnu/java/security/hash/Sha384.java: Likewise.
* gnu/java/security/hash/Sha256.java: Likewise.
* gnu/java/security/hash/Sha160.java: Likewise.
* gnu/java/security/hash/RipeMD160.java: Likewise.
* gnu/java/security/hash/RipeMD128.java: Likewise.
* gnu/java/security/hash/MD5.java: Likewise.
* gnu/java/security/hash/MD4.java: Likewise.
* gnu/java/security/hash/MD2.java: Likewise.
* gnu/java/security/hash/IMessageDigest.java: Likewise.
* gnu/java/security/hash/Haval.java: Likewise.
* gnu/java/security/hash/HashFactory.java: Likewise.
* gnu/java/security/hash/BaseHash.java: Likewise.
2006-06-18 Sven de Marothy <sven@physto.se>
* java/awt/event/KeyEvent.java:
(VK_WINDOWS, VK_CONTEXT_MENU, VK_BEGIN): Add new keysym fields.
* natve/jni/gtk-peer/gnu_java_awt_peer_gtk_GtkWindowPeer.c:
Implement WINDOWS, ALT_GR and CONTEXT_MENU keysyms.
2006-06-18 Raif S. Naffah <raif@swiftdsl.com.au>
* gnu/java/security/util/Prime2.java: Removed.
* gnu/java/security/key/dss/FIPS186.java: Remove unused imports.
(generateParameters): Use isProbablePrime() in BigInteger instead of Prime2.
* gnu/java/security/key/rsa/RSAKeyPairGenerator.java: Remove unused imports.
(generate): Use isProbablePrime() in BigInteger instead of Prime2.
* gnu/javax/crypto/key/dh/RFC2631.java: Remove unused imports.
(generateParameters): Use isProbablePrime() in BigInteger instead of Prime2.
* gnu/javax/crypto/key/srp6/SRPAlgorithm.java: Remove unused imports.
(checkParams): Use isProbablePrime() in BigInteger instead of Prime2.
* gnu/javax/crypto/key/srp6/SRPKeyPairGenerator.java: Remove unused imports.
(generateParameters): Use isProbablePrime() in BigInteger instead of Prime2.
* gnu/javax/net/ssl/provider/KeyPool.java: Remove unused imports.
(generateRSAKeyPair): Use isProbablePrime() in BigInteger instead of Prime2.
2006-06-18 Sven de Marothy <sven@physto.se>
* java/awt/GridBagLayout.java (AdjustForGravity): Implement.
* java/awt/font/TextMeasurer.java: Fix copyright date,
remove commented-out code.
2006-06-18 Sven de Marothy <sven@physto.se>
* gnu/java/awt/peer/gtk/FreetypeGlyphVector.java
(FreetypeGlyphVector, clone): Implement cloning.
(getGlyphLogicalBounds): Bounds should be offset to the glyph position.
* java/awt/font/TextMeasurer.java: Implement.
* java/awt/font/LineBreakMeasurer.java:
Reimplement to use TextMeasurer.
* java/awt/font/TextLayout.java
New constructors.
(getBlackboxBounds, getLogicalHighlightShape): Reimplement.
(getText, getFont): New private static methods.
(setCharIndices): New method.
* java/text/AttributedString.java
(AttributedString): Fix constructor to stop at end point.
2006-06-17 Tom Tromey <tromey@redhat.com>
* lib/gen-classlist.sh.in: Search all top-level directories, not
just 'org', in external.
2006-06-12 Mario torre <neugens at limasoftware.net>
* gnu/java/util/prefs/GConfBasedPreferences.java: new class.
* gnu/java/util/prefs/GConfBasedFactory.java: new class.
* gnu/java/util/prefs/gconf/GConfNativePeer.java: new class.
* gnu_java_util_prefs_gconf_GConfNativePeer.h: generated
header file.
* classpath/native/jni/gconf-peer/GConfNativePeer.c: new C file.
* configure.ac: update to introduce new files. Added options
to build gconf native peer used by the GConf preference backend.
* include/Makefile.am: update to introduce new files.
* native/jni/Makefile.am update to introduce new files.
* scripts/check_jni_methods.sh: added three new ignored file
from check.
* native/jni/gconf-peer/Makefile.am: new Makefile needed to
build gconf-peer shared library.
2006-06-17 Raif S. Naffah <raif@swiftdsl.com.au>
* gnu/java/security/jce/sig/DSSKeyPairGeneratorSpi.java:
Use Integer.valueOf() instead of new Integer().
* gnu/java/security/jce/sig/EncodedKeyFactory.java: Likewise.
* gnu/java/security/jce/sig/RSAKeyPairGeneratorSpi.java: Likewise.
* gnu/java/security/util/Sequence.java: Likewise.
* gnu/java/security/x509/ext/GeneralNames.java: Likewise.
* gnu/java/security/x509/X509Certificate.java: Likewise.
* gnu/javax/crypto/assembly/ModeStage.java: Likewise.
* gnu/javax/crypto/cipher/Anubis.java: Likewise.
* gnu/javax/crypto/cipher/Blowfish.java: Likewise.
* gnu/javax/crypto/cipher/Cast5.java: Likewise.
* gnu/javax/crypto/cipher/DES.java: Likewise.
* gnu/javax/crypto/cipher/Khazad.java: Likewise.
* gnu/javax/crypto/cipher/NullCipher.java: Likewise.
* gnu/javax/crypto/cipher/Rijndael.java: Likewise.
* gnu/javax/crypto/cipher/Serpent.java: Likewise.
* gnu/javax/crypto/cipher/Square.java: Likewise.
* gnu/javax/crypto/cipher/TripleDES.java: Likewise.
* gnu/javax/crypto/cipher/Twofish.java: Likewise.
* gnu/javax/crypto/jce/cipher/CipherAdapter.java: Likewise.
* gnu/javax/crypto/jce/cipher/PBES2.java: Likewise.
* gnu/javax/crypto/jce/key/SecretKeyGeneratorImpl.java: Likewise.
* gnu/javax/crypto/jce/PBKDF2SecretKeyFactory.java: Likewise.
* gnu/javax/crypto/jce/prng/ICMRandomSpi.java: Likewise.
* gnu/javax/crypto/jce/prng/UMacRandomSpi.java: Likewise.
* gnu/javax/crypto/jce/sig/DHKeyPairGeneratorSpi.java: Likewise.
* gnu/javax/crypto/keyring/AuthenticatedEntry.java: Likewise.
* gnu/javax/crypto/keyring/EncryptedEntry.java: Likewise.
* gnu/javax/crypto/keyring/PasswordAuthenticatedEntry.java: Likewise.
* gnu/javax/crypto/keyring/PasswordEncryptedEntry.java: Likewise.
* gnu/javax/crypto/keyring/PasswordProtectedEntry.java: Likewise.
* gnu/javax/crypto/mac/UHash32.java: Likewise.
* gnu/javax/crypto/mac/UMac32.java: Likewise.
* gnu/javax/crypto/mode/BaseMode.java: Likewise.
* gnu/javax/crypto/mode/EAX.java: Likewise.
* gnu/javax/crypto/prng/ICMGenerator.java: Likewise.
* gnu/javax/crypto/prng/UMacGenerator.java: Likewise.
* gnu/javax/crypto/sasl/srp/KDF.java: Likewise.
* gnu/javax/security/auth/callback/ConsoleCallbackHandler.java: Likewise.
* java/security/cert/X509CertSelector.java: Likewise.
2006-06-17 Andrew John Hughes <gnu_andrew@member.fsf.org>
* javax/management/DynamicMBean.java:
(setAttribute): Fixed to return void.
* javax/management/MBeanFeatureInfo.java:
New file.
2006-06-17 Raif S. Naffah <raif@swiftdsl.com.au>
On behalf of Vivek Lakshmanan <vivekl@redhat.com>
* gnu/javax/crypto/jce/cipher/CipherAdapter.java
(engineInit(int, Key, SecureRandom)): Seperate common initialization logic
into engineInitHandler and reuse the code in
engineInit(int, Key, AlgorithmSpec, SecureRandom).
(engineInitHandler): New method.
(engineInit(int, Key, AlgorithmParameterSpec, SecureRandom)): When param is
null, use random or default information when possible.
2006-06-16 Francis Kung <fkung@redhat.com>
* examples/gnu/classpath/examples/swing/Demo.java:
(mkButtonBar): Rename FillRect to JNIOverhead.
(mkMenuBar): Rename FillRect to JNIOverhead.
* examples/gnu/classpath/examples/swing/FillRect.java: Removed.
* examples/gnu/classpath/examples/java2d/J2dBenchmark.java: New file.
* examples/gnu/classpath/examples/java2d/JNIOverhead.java:
Moved from old FillRect.
2006-06-16 Tom Tromey <tromey@redhat.com>
* tools/.cvsignore: Added new tool names.
2006-06-16 Keith Seitz <keiths@redhat.com>
* gnu/classpath/jdwp/event/EventManager.java (getDefault): Redo
instantiation so that EventManager is created when getDefault
is first called.
* gnu/classpath/jdwp/Jdwp.java (Thread): Force creation
of EventManager.
2006-06-16 Keith Seitz <keiths@redhat.com>
* gnu/classpath/jdwp/Jdwp.java (_initLock): New field.
(_initCount): New field.
(Jdwp): Don't set isDebugging until fully initialized.
(subcomponentInitialized): New method.
(run): Wait for PacketProcessor and JdwpConnection to
startup, then set isDebugging, and then let this thread
die.
* gnu/classpath/jdwp/transport/JdwpConnection.java
(run): Add synchronization notification.
* gnu/classpath/jdwp/processor/PacketProcessor.java
(run): Likewise.
2006-06-16 Tom Tromey <tromey@redhat.com>
* NEWS: Updated for JSR 166.
2006-06-16 Tom Tromey <tromey@redhat.com>
* lib/Makefile.am (compile_classpath): Added jsr166.
* configure.ac: Added external/jsr166/Makefile.
* external/Makefile.am (SUBDIRS): Added jsr166.
* external/jsr166/Makefile.am: New file.
* lib/gen-classlist.sh.in: Look in external/jsr166.
2006-06-16 Kyle Galloway <kgallowa@redhat.com>
* gnu/classpath/jdwp/event/ExceptionEvent:
Added Object instance to javadoc in constructor
* gnu/classpath/jdwp/event/MethodEntryEvent:
Ditto.
* gnu/classpath/jdwp/event/MethodExitEvent:
Ditto,
* gnu/classpath/jdwp/event/SingleStepEvent:
Ditto.
2006-06-16 Tom Tromey <tromey@redhat.com>
Imported JSR 166 reference implementation:
* .classpath: Added external/jsr166.
* java/util/concurrent/CopyOnWriteArrayList.java: New file.
* java/util/AbstractQueue.java: Removed.
* java/util/Queue.java: Removed.
* external/jsr166/java/util/concurrent/ScheduledThreadPoolExecutor.java
(runPeriodic): Added explicit cast.
* external/jsr166/java/util/ArrayDeque.java (clone): Use
elements.clone.
2006-06-16 Tom Tromey <tromey@redhat.com>
* vm/reference/sun/reflect/Reflection.java (verifyMemberAccess):
Removed.
(getCallerClass): Now static.
* vm/reference/sun/reflect/misc/ReflectUtil.java: New file.
2006-06-16 Lillian Angel <langel@redhat.com>
* java/awt/FileDialog.java
(FileDialog): Added @since tag to API docs.
(FileDialog): Likewise.
(FileDialog): Likewise.
* java/awt/Font.java:
Added @since tag to TYPE1_FONT field docs.
* javax/swing/plaf/basic/BasicScrollBarUI.java:
(isThumbRollover): Likewise.
(setThumbRollover): Likewise.
(getSupportsAbsolutePositioning): Likewise.
* javax/swing/plaf/basic/BasicSliderUI.java:
(isDragging): Likewise.
2006-06-16 Lillian Angel <langel@redhat.com>
* java/awt/FileDialog.java
(FileDialog): Implemented.
(FileDialog): Implemented.
(FileDialog): Implemented.
* java/awt/Font.java:
Added TYPE1_FONT constant field.
2006-06-16 Lillian Angel <langel@redhat.com>
* java/awt/font/TextLayout.java:
Removed unneeded imports.
* javax/swing/plaf/basic/BasicScrollBarUI.java:
Added new thumbRollover field.
(mouseMoved): Added code to set thumbRollover field.
(isThumbRollover): New function.
(setThumbRollover): New function.
(getSupportsAbsolutePositioning): Implemented. This
needs to be changed once the feature has been
implemented.
* javax/swing/plaf/basic/BasicSliderUI.java:
Added new dragging field.
(mouseDragged): Initialized dragging field.
(isDragging): New function.
* javax/swing/plaf/basic/BasicTabbedPaneUI.java
(focusGained): Marked as not implemented.
(focusLost): Likewise.
2006-06-16 Kyle Galloway <kgallowa@redhat.com>
* gnu/classpath/jdwp/event/filters/ThreadOnlyFilter.java:
Added check for null ThreadId to avoid null pointer
exception.
2006-06-16 David Gilbert <david.gilbert@object-refinery.com>
* javax/swing/DefaultComboBoxModel.java
(removeElementAt): Set new selected item by calling setSelectedItem().
2006-06-16 David Gilbert <david.gilbert@object-refinery.com>
* javax/swing/DefaultButtonModel.java
(setSelected): Use 'this', not null, for the item in the ItemEvent.
2006-06-16 David Gilbert <david.gilbert@object-refinery.com>
* javax/swing/event/ListDataEvent.java: updated API docs, plus
(ListDataEvent): Handle case where index0 > index1,
(toString): Implemented.
2006-06-16 Robert Schuster <robertschuster@fsfe.org>
* javax/swing/plaf/metal/MetalMenuBarUI.java:
(update): Added subexpression to if-statement.
2006-06-16 Robert Schuster <robertschuster@fsfe.org>
* javax/swing/plaf/basic/BasicRadioButtonUI.java:
(installDefaults): Removed unneccessary code.
(paint): Removed complex if-cascade, revert to default icon if
icon property is not set.
(getPreferredSize): New method.
2006-06-16 Roman Kennke <kennke@aicas.com>
PR 28027
* gnu/java/awt/peer/gtk/CairoGraphics2D.java
(drawImage): Don't use setClip() but instead clipRect() to
intersect the current clip with a new one.
2006-06-15 Tom Tromey <tromey@redhat.com>
* scripts/sanitize-jsr166: New file.
* external/jsr166/IMPORTING: New file.
* vm/reference/sun/reflect/Reflection.java: New file.
* vm/reference/gnu/classpath/Unsafe.java: Moved...
* vm/reference/sun/misc/Unsafe.java: ...here.
2006-06-15 Thomas Fitzsimmons <fitzsim@redhat.com>
* configure.ac: Rename appletviewer to gappletviewer, jarsigner to
gjarsigner and keytool to gkeytool.
* doc/tools.texinfo: Add note about tool exectable names.
* tools/Makefile.am: Rename appletviewer to gappletviewer,
jarsigner to gjarsigner and keytool to gkeytool.
* tools/appletviewer.in: Rename ...
* tools/gappletviewer.in: New file.
* tools/jarsigner.in: Rename ...
* tools/gjarsigner.in: New file.
* tools/keytool.in: Rename ...
* tools/gkeytool.in: New file.
* tools/toolwrapper.c: Simplify TOOLS_ZIP macro.
2006-06-15 Andrew John Hughes <gnu_andrew@member.fsf.org>
* javax/management/AttributeList.java:
Add serialization UID.
* javax/management/DynamicMBean.java:
New file.
* javax/management/JMRuntimeException.java:
Add serialization UID and correct name
of serialized field.
* javax/management/MBeanInfo.java: New file.
2006-06-15 Andrew John Hughes <gnu_andrew@member.fsf.org>
* javax/management/AttributeList.java,
* javax/management/JMRuntimeException.java,
* javax/management/RuntimeOperationsException.java:
New files.
2006-06-15 Lillian Angel <langel@redhat.com>
* java/awt/font/TextLayout.java:
DEFAULT_CARET_POLICY changed to be public static final.
2006-06-15 Tania Bento <tbento@redhat.com>
* javax/swing/plaf/metal/MetalScrollButton.java
(MetalScrollButton): Should set 'focusable' to false.
2006-06-15 Tania Bento <tbento@redhat.com>
* javax/swing/plaf/basic/BasicArrowButton.java
(BasicArrowButton): Should set 'focusable' to false.
(BasicArrowButton): Should set 'focusable' to false.
2006-06-15 Mark Wielaard <mark@klomp.org>
* gnu/java/awt/peer/gtk/GtkComponentPeer.java
(getGraphicsConfiguration): Return default screen device.
* gnu/java/awt/peer/gtk/GtkVolatileImage.java (component):
New field.
(GtkVolatileImage): Record initiating component.
* gnu/java/awt/peer/gtk/VolatileImageGraphics.java
(getDeviceConfiguration): Return configuration of image component.
2006-06-15 Mark Wielaard <mark@klomp.org>
* java/awt/geom/GeneralPath.java (closePath): Return if path already
closed.
2006-06-15 Mark Wielaard <mark@klomp.org>
* java/awt/BasicStroke.java (createStrokedShape): Call getPathIterator
with null argument.
2006-06-15 Kyle Galloway <kgallowa@redhat.com>
* gnu/classpath/jdwp/event/filters/ExceptionOnlyFilter.java
(matches): Added explicit brackets to return statement.
2006-06-15 Tania Bento <tbento@redhat.com>
* javax/swing/JRadioButtonMenuItem.java
(JRadioButtonMenuItem): Should set 'focusable' to false.
2006-06-15 Tania Bento <tbento@redhat.com>
* javax/swing/JCheckBoxMenuItem.java
(JCheckBoxMenuItem): Should set 'focusable' to false.
2006-06-15 Tania Bento <tbento@redhat.com>
* javax/swing/AbstractButton.java:
(AbstractButton): 'Focusable' should be set to true and not false.
2006-06-15 Andrew John Hughes <gnu_andrew@member.fsf.org>
* java/lang/management/ManagementFactory.java:
Add private constructor to prevent instance creation.
* java/lang/management/ManagementPermission.java:
Make final.
2006-06-15 Francis Kung <fkung@redhat.com>
* javax/swing/plaf/basic/BasicArrowButton.java:
(BasicArrowButton): move client property for not triggering out
of consturctor
* javax/swing/plaf/basic/BasicComboBoxUI.java:
(configureArrowButton): set client property for not triggering
(installUI): set client property for not triggering
* javax/swing/plaf/basic/BasicLookAndFeel.java:
(PopupHelper.mousePressed): check client property for triggering
2006-06-15 Roman Kennke <kennke@aicas.com>
PR 28037
* javax/swing/RepaintManager.java
(blitBuffer): Substract coordinates the other way around.
2006-06-15 Roman Kennke <kennke@aicas.com>
PR 28027
* javax/swing/JComponent.java
(paintImmediately2): Only paint component without double buffering
when all of it's parents have also double buffering disabled.
(isPaintingDoubleBuffered): New helper method.
2006-06-15 David Gilbert <david.gilbert@object-refinery.com>
* gnu/java/awt/peer/gtk/CairoGraphics2D.java
(draw(Shape)): Pass null transform to getPathIterator(),
(getClip): Likewise,
* gnu/java/print/PostscriptGraphics2D.java
(drawStringShape): Pass null transform to getPathIterator(),
(writeShape): Likewise,
* java/awt/Shape.java: Small updates to API docs.
2006-06-14 Andrew John Hughes <gnu_andrew@member.fsf.org>
* javax/naming/InitialContext.java:
(list(javax.naming.Name)): Fixed generic type.
(list(String)): Likewise.
(listBindings(javax.naming.Name)): Likewise.
(listBindings(String)): Likewise.
2006-06-14 Roman Kennke <kennke@aicas.com>
* javax/swing/plaf/basic/BasicComboBoxUI.java
(getAccessibleChildrenCount): Implemented.
(getAccessibleChild): Implemented.
(isNavigationKey): Implemented.
(KeyHandler.keyPressed): Implemented.
2006-06-14 Andrew John Hughes <gnu_andrew@member.fsf.org>
* java/lang/management/ManagementPermission.java:
Added serialization UID.
* javax/management/Attribute.java: Likewise.
* javax/management/MBeanException.java,
* javax/management/ReflectionException.java:
Added serialization UID and changed to extend
javax.management.JMException.
2006-06-14 Lillian Angel <langel@redhat.com>
* java/awt/Component.java
(ignoreOldMouseEvents): Made static.
(translateEvent): Made static.
* java/awt/TextComponent.java
(ignoreOldMouseEvents): Made static.
2006-06-14 Mark Wielaard <mark@klomp.org>
* gnu/java/awt/peer/gtk/ComponentGraphics.java (drawLine): Lock and
call super.
(drawRect): Likewise.
(fillRect): Likewise.
2006-06-14 Lillian Angel <langel@redhat.com>
* java/awt/Component.java
(ignoreOldMouseEvents): New helper function.
(translateEvent): Changed to be non-static and use new helper.
* java/awt/TextComponent.java
(ignoreOldMouseEvents): New helper function.
2006-06-14 Roman Kennke <kennke@aicas.com>
* javax/swing/RepaintManager.java
(MERGE_REGIONS): New constant flag.
(commitBuffer): Exclude the merging of regions by default. This
was causing painting artifacts in some applications, especially
when different areas of the GUI are updated synchronously.
2006-06-14 Roman Kennke <kennke@aicas.com>
* examples/gnu/classpath/examples/awt/AicasGraphicsBenchmark.java:
New file. This is a benchmark for AWT 1.1 style graphics operations.
* examples/gnu/classpath/examples/awt/palme.gif: New file.
* examples/gnu/classpath/examples/awt/aicas.gif: New file.
2006-06-14 Tom Tromey <tromey@redhat.com>
* java/io/File.java (getParent): Javadoc fix.
2006-06-14 Tom Tromey <tromey@redhat.com>
* gnu/java/net/loader/JarURLLoader.java (initialize): Skip our own
jar.
* gnu/java/net/IndexListParser.java (IndexListParser): Call clearAll
when index entry does not exist.
2006-06-14 Tania Bento <tbento@redhat.com>
* javax/swing/AbstractButton.java
(AbstractButton): Set focusable to false, not true.
2006-06-14 Tania Bento <tbento@redhat.com>
* javax/swing/JMenuItem.java
(init): Changed horizontalAlignment from JButton.LEFT to JButton.LEADING.
2006-06-14 Tania Bento <tbento@redhat.com>
* javax/swing/JCheckBoxMenuItem.java
(JCheckBoxMenuItem): Added check to set the selected state.
2006-06-14 Roman Kennke <kennke@aicas.com>
* gnu/java/awt/peer/gtk/CairoGraphics2D.java
(cairoDrawLine): New native method.
(cairoDrawRect): New native method.
(cairoFillRect): New native method.
(drawLine): Use special native method.
(drawRect): Use special native method.
(fillRect): Use special native method.
* native/jni/gtk-peer/gnu_java_awt_peer_gtk_CairoGraphics2D.c
(cairoDrawLine): New native method.
(cairoDrawRect): New native method.
(cairoFillRect): New native method.
* include/gnu_java_awt_peer_gtk_CairoGraphics2D.h: Regenerated.
2006-06-14 Mark Wielaard <mark@klomp.org>
* native/jni/gtk-peer/gnu_java_awt_peer_gtk_GtkImage.c
(Java_gnu_java_awt_peer_gtk_GtkImage_getPixels): Return when array
cannot be allocated.
2006-06-14 Tom Tromey <tromey@redhat.com>
PR java/28024:
* m4/acinclude.m4 (REGEN_WITH_JAY): Use backquote, not $(...).
* configure.ac (QT_INCLUDE_DIR): Use backquote, not $(...).
2006-06-14 Roman Kennke <kennke@aicas.com>
* javax/swing/JComponent.java
(isRepainting): New flag.
(paintImmediately2): Set isRepainting flag.
(getRoot): Removed obsolete method.
(paintDoubleBuffered): Differenciate between paint calls from
RepaintManager and from AWT refresh. Call
RepaintManager.commitBuffer with this and local coordinates.
(findOpaqueParent): Stop searching at heavyweight component. These
are always opaque.
(paintChildrenOptimized): Don't paint heavyweight children. These
should care for themselves.
(paintChildrenWithOverlap): Don't paint heavyweight children. These
should care for themselves.
* javax/swing/RepaintManager.java
(getOffscreenBuffer): Associate offscreen buffer with toplevel
windows only.
(getVolatileOffscreenBuffer): Associate offscreen buffer with
toplevel windows only.
(getRoot): Removed obsolete method.
(commitBuffer): Blit buffer on nearest heavyweight.
(blitBuffer): New helper method.
(getHeavyweightParent): New helper method.
(commitRemainingBuffers): Call blitBuffer instead of commitBuffer.
* javax/swing/SwingUtilities.java
(convertRectangleToAncestor): New helper method.
2006-06-14 Raif S. Naffah <raif@swiftdsl.com.au>
* gnu/javax/security/auth/login/ConfigFileTokenizer.java: Fixed a typo.
Condition all trace/debug code based on Configuration.DEBUG.
Use logger instead of STDOUT and ot STDERR.
2006-06-13 Lillian Angel <langel@redhat.com>
* native/plugin/gcjwebplugin.cc
(NP_Initialize): Removed code to create whitelist file.
(GCJ_New): Added code to create whitelist file.
(plugin_user_trusts_documentbase): Fixed error message.
2006-06-13 David Gilbert <david.gilbert@object-refinery.com>
* javax/swing/plaf/metal/MetalIconFactory.java
(HorizontalSliderThumbIcon.gradientMask): Modified by 1 pixel to
prevent overwriting border,
(VerticalSliderThumbIcon.gradientMask): Likewise.
2006-06-13 Andrew John Hughes <gnu_andrew@member.fsf.org>
* javax/management/AttributeNotFoundException.java,
* javax/management/InvalidAttributeValueException.java,
* javax/management/JMException.java,
* javax/management/MBeanException.java,
* javax/management/OperationsException.java,
* javax/management/ReflectionException.java:
New files.
2006-06-13 Roman Kennke <kennke@aicas.com>
* java/awt/Component.java
(dispatchEvent): Handle events even when consumed (this might be
picked up later in the dispatching chain).
* javax/swing/plaf/basic/BasicLookAndFeel.java
(PopupHelper.mousePressed): Don't consume event. Only close popup
when target component isn't flagged as DONT_CANCEL_POPUP.
(DONT_CANCEL_POPUP): New package private constant for flagging
special components that don't trigger popup closing.
* javax/swing/plaf/basic/BasicArrowButton.java
(BasicArrowButton): Set client property for not triggering closing
of popups.
2006-06-13 Lillian Angel <langel@redhat.com>
* java/awt/image/PixelGrabber.java
(PixelGrabber): Added to API documentation.
2006-06-13 Keith Seitz <keiths@redhat.com>
From Kyle Galloway <kgallowa@redhat.com>:
* gnu/classpath/jdwp/event/filters/ExceptionOnlyFilter.java
(ExceptionOnlyFilter): Allow null refId.
* gnu/classpath/jdwp/event/BreakpointEvent.java: Added _instance for
compatibility with filters.
(getParameter): Modified to allow access to above.
2006-06-13 Sven de Marothy <sven@physto.se>
* gnu/java/awt/peer/gtk/CairoSurface.java
* native/jni/gtk-peer/gnu_java_awt_peer_gtk_CairoSurface.c
(create): Use stride in ints.
2006-06-13 Keith Seitz <keiths@redhat.com>
From Kyle Galloway <kgallowa@redhat.com>:
* gnu/classpath/jdwp/event/ClassUnloadEvent.java: New file.
2006-06-13 David Gilbert <david.gilbert@object-refinery.com>
* javax/swing/plaf/basic/BasicSliderUI.java
(calculateThumbSize): Removed unnecessary code,
(calculateThumbLocation): Shift position by one,
(calculateTickRect): Shift position by one when ticks are displayed,
(calculateLabelRect): Calculate rect differently according to whether
or not the labels are visible,
(paintTrack): Shift track down one pixel.
2006-06-13 Lillian Angel <langel@redhat.com>
* java/awt/image/PixelGrabber.java
(PixelGrabber): Removed check to throw exception. JDK does
not do this.
(startGrabbing): Removed line to print stacktrace.
2006-06-13 Mark Wielaard <mark@klomp.org>
* gnu/java/awt/peer/gtk/CairoGraphics2D.java (drawImage): Don't
allocate unused AffineTransform. Add comment about conversion to
BufferedImage.
* gnu/java/awt/peer/gtk/ComponentGraphics.java (drawImage):
Recognize identity transform as "easy". Always convert to
BufferedImage before calling super.
2006-06-13 Roman Kennke <kennke@aicas.com>
* java/awt/Component.java
(getGraphics): Translate child graphics correctly.
(dispatchEvent): Only dispatch event if it hasn't been consumed
yet by the global dispatcher.
* javax/swing/plaf/basic/BasicLookAndFeel.java
Added some API docs.
(PopupHelper.mousePressed): Consume the event after closing
opened menus.
2006-06-13 David Gilbert <david.gilbert@object-refinery.com>
* javax/swing/plaf/basic/BasicCheckBoxUI.java: Source code formatting
changes only,
* javax/swing/plaf/basic/BasicComboBoxUI.java: Likewise,
* javax/swing/plaf/basic/BasicComboPopup.java: Likewise,
* javax/swing/plaf/basic/BasicFileChooserUI.java: Likewise,
* javax/swing/plaf/basic/BasicInternalFrameUI.java: Likewise,
* javax/swing/plaf/basic/BasicLookAndFeel.java: Likewise,
* javax/swing/plaf/basic/BasicMenuItemUI.java: Likewise,
* javax/swing/plaf/basic/BasicOptionPaneUI.java: Likewise,
* javax/swing/plaf/basic/BasicProgressBarUI.java: Likewise,
* javax/swing/plaf/basic/BasicRadioButtonUI.java: Likewise,
* javax/swing/plaf/basic/BasicScrollBarUI.java: Likewise,
* javax/swing/plaf/basic/BasicSliderUI.java: Likewise,
* javax/swing/plaf/basic/BasicTableHeaderUI.java: Likewise,
* javax/swing/plaf/basic/BasicTableUI.java: Likewise,
* javax/swing/plaf/basic/BasicTextUI.java: Likewise,
* javax/swing/plaf/basic/BasicToolBarUI.java: Likewise,
* javax/swing/plaf/basic/BasicTreeUI.java: Likewise.
2006-06-12 Sven de Marothy <sven@physto.se>
* java/awt/font/LineBreakMeasurer.java): Implement.
2006-06-12 Keith Seitz <keiths@redhat.com>
From Kyle Galloway <kgallowa@redhat.com>:
* gnu/classpath/jdwp/event/SingleStepEvent.java: New file.
2006-06-12 Keith Seitz <keiths@redhat.com>
From Kyle Galloway <kgallowa@redhat.com>:
* gnu/classpath/jdwp/event/MethodEntryEvent.java: New file.
* gnu/classpath/jdwp/event/MethodExitEvent.java: New file.
2006-06-12 Roman Kennke <kennke@aicas.com>
* javax/swing/JComponent.java
(paintDoubleBuffered): Correctly translate and clip the Graphics
instance.
(clipAndTranslateGraphics): New helper method.
2006-06-12 Roman Kennke <kennke@aicas.com>
* gnu/java/awt/peer/gtk/CairoGraphics2D.java
(copy): Use getClip() to copy the clip. Make copied transform
null when original transform is null. Set clip here.
(setTransform): Correctly update the clip.
(setTransformImpl): New method. Updates the actual transform for
Cairo.
(transform): Correctly update the clip.
(translate): Correctly update the clip.
(clip): Handle null clip and argument correctly.
(clipRect): Avoid creating new Rectangle objects.
(getClip): Get the correct copy of the clip.
(setClip): Correctly handle null argument.
* gnu/java/awt/peer/gtk/CairoSurfaceGraphics.java
(CairoSurfaceGraphics): Don't set the clip here. The clip can either
be null or whatever has been set in copy().
* gnu/java/awt/peer/gtk/ComponentGraphics.java
(drawImage): Add translation to the image coordinates.
* gnu/java/awt/peer/gtk/VolatileImageGraphics.java
(VolatileImageGraphics): Don't set clip here. The clip can either
be null or whatever has been set in copy().
2006-06-12 Keith Seitz <keiths@redhat.com>
From Kyle Galloway <kgallowa@redhat.com>:
* gnu/classpath/jdwp/event/filters/ExceptionOnlyFilter.java
(forCaught): Removed unused/unnecessary method.
(forUncaught): Likewise.
(matches): Implement.
2006-06-12 Keith Seitz <keiths@redhat.com>
From Kyle Galloway <kgallowa@redhat.com>:
* gnu/classpath/jdwp/event/ExceptionEvent.java: New file.
2006-06-12 Keith Seitz <keiths@redhat.com>
From Kyle Galloway <kgallowa@redhat.com>:
* gnu/classpath/jdwp/event/Event.java: Added constants for
type.
(getParameter): Changed parameter type from Class to int.
* gnu/classpath/jdwp/event/BreakpointEvent.java (getParameter):
Changed from Class type to constants.
* gnu/classpath/jdwp/event/ClassPrepareEventEvent.java (getParameter):
Likewise.
* gnu/classpath/jdwp/event/ThreadEndEvent.java (getParameter):
Likewise.
* gnu/classpath/jdwp/event/ThreadStartEvent.java (getParameter):
Likewise.
* gnu/classpath/jdwp/event/VmDeathEvent.java (getParameter):
Likewise.
* gnu/classpath/jdwp/event/VmInitEvent.java (getParameter):
Likewise.
* gnu/classpath/jdwp/event/ClassMatchFilter.java (matches):
Likewise.
* gnu/classpath/jdwp/event/ClassOnlyFilter.java (matches):
Likewise.
* gnu/classpath/jdwp/event/InstanceOnlyFilter.java (matches):
Likewise.
* gnu/classpath/jdwp/event/ThreadOnlyFilter.java (matches):
Likewise.
2006-06-12 Lillian Angel <langel@redhat.com>
* tools/gnu/classpath/tools/appletviewer/StandaloneAppletWindow.java
(StandaloneAppletWindow): Changed title of standalone window.
2006-06-12 Lillian Angel <langel@redhat.com>
* javax/swing/plaf/basic/BasicTabbedPaneUI.java
(layoutContainer): Added missing selectedComponent assignment.
2006-06-12 Lillian Angel <langel@redhat.com>
* javax/swing/plaf/basic/BasicTabbedPaneUI.java
(layoutContainer): Added check to prevent exception.
2006-06-12 Tom Tromey <tromey@redhat.com>
* java/lang/Thread.java (uncaughtException): Javadoc fix.
2006-06-12 Mark Wielaard <mark@klomp.org>
* gnu/java/awt/peer/gtk/ComponentGraphics.java (hasLock):
New static field.
(ONE): Likewise.
(lock): New method.
(unlock): Likewise.
(draw): Use lock() and unlock().
(fill): Likewise.
(drawRenderedImage): Likewise.
(drawImage): Likewise.
(drawGlyphVector): Likewise.
2006-06-12 Roman Kennke <kennke@aicas.com>
* gnu/java/awt/peer/gtk/CairoGraphics2D.java
(drawPixels): Include alpha in parameter list.
(cairoFill): Include alpha in parameter list.
(setComposite): Don't modify the color.
(draw(Shape))): Use fill when the current composite has an alpha
of != 1.0, so that the stroked shaped will be composited.
(fill(Shape)): Call cairoFill() with alpha.
(drawImage): Call drawPixels or drawSurface with alpha.
(drawGlyphVector): When composite alpha is != 1.0, render the
outline using fill() to enable compositing for text.
(drawRaster): Call drawPixels with alpha.
* gnu/java/awt/peer/gtk/CairoGraphics2D.java
(nativeDrawSurface): Include alpha in parameter list.
(drawSurface): Include alpha in parameter list. Pass it to
nativeDrawSurface().
* include/gnu_java_awt_peer_gtk_CairoGraphics2D.h
* include/gnu_java_awt_peer_gtk_CairoSurface.h:
Regenerated.
* native/jni/gtk-peer/gnu_java_awt_peer_gtk_CairoGraphics2D.c
(drawPixels): Handle possible alpha for compositing.
(cairoFill): Likewise.
* native/jni/gtk-peer/gnu_java_awt_peer_gtk_CairoSurface.c
(nativeDrawSurface): Handle possible alpha for compositing.
2006-06-12 Mark Wielaard <mark@klomp.org>
* gnu/java/awt/peer/gtk/GdkPixbufDecoder.java (streamImage):
Notify data when completely done. Wait for worker thread to finish.
Rethrow any pending exceptions.
(exception): New field.
(run): Store pending exception.
2006-06-12 Andrew John Hughes <gnu_andrew@member.fsf.org>
* java/lang/management/ManagementPermission.java:
New file.
2006-06-12 Raif S. Naffah <raif@swiftdsl.com.au>
* doc/tools.texinfo: Replaced original author with "The GNU Classpath Team".
2006-06-12 Raif S. Naffah <raif@swiftdsl.com.au>
* gnu/javax/security/auth/login/ConfigFileParser.java (validateClassName):
Use String.charAt().
2006-06-11 Thomas Fitzsimmons <fitzsim@redhat.com>
* doc/tools.texinfo
(Applet Tools): New chapter.
(appletviewer Tool): New section.
(gcjwebplugin): New section.
2006-06-11 Mark Wielaard <mark@klomp.org>
* gnu/java/awt/peer/gtk/GdkPixbufDecoder.java (streamImage):
Takes GdkPixbufWriter.
(GdkPixbufWriter): Implements Runnable.
(write(IIOMetadata,IIOImage,ImageWriteParam)): Start Thread for
data processing.
(DATADONE): New static final field.
(data): New field.
(write(byte[])): New method.
(run): Likewise.
* native/jni/gtk-peer/gnu_java_awt_peer_gtk_GdkPixbufDecoder.c
(Java_gnu_java_awt_peer_gtk_GdkPixbufDecoder_initStaticState):
Get dataOutputWriteID from writeClass.
(stream_save_request): Change stream field to writer.
(save_to_stream): Remove FIXME, call writer.
(Java_gnu_java_awt_peer_gtk_GdkPixbufDecoder_streamImage):
Store writer.
2006-06-11 Andrew John Hughes <gnu_andrew@member.fsf.org>
* NEWS:
Mention new VM interface and use of properties.
* doc/vmintegration.texinfo:
Update with new gnu.java.lang.management section.
* gnu/java/lang/management/RuntimeMXBeanImpl.java:
New file.
* java/lang/management/ManagementFactory.java:
(getRuntimeMXBean()): Implemented.
* vm/reference/gnu/java/lang/management/RuntimeMXBeanImpl.java:
New VM interface file.
2006-06-11 Raif S. Naffah <raif@swiftdsl.com.au>
PR Classpath/26065
* gnu/javax/security/auth/login/GnuConfiguration.java: Condition all trace/
debug code based on Configuration.DEBUG.
Use logger instead of STDOUT and ot STDERR.
* gnu/javax/security/auth/login/ConfigFileParser.java: Likewise.
* gnu/javax/crypto/sasl/SaslOutputStream.java: Likewise.
* gnu/javax/crypto/sasl/SaslInputStream.java: Likewise.
* gnu/javax/crypto/sasl/srp/SRPServer.java: Likewise.
* gnu/javax/crypto/sasl/srp/SRPClient.java: Likewise.
* gnu/javax/crypto/prng/CSPRNG.java: Likewise.
* gnu/javax/crypto/pad/TBC.java: Likewise.
* gnu/javax/crypto/pad/PKCS7.java: Likewise.
* gnu/javax/crypto/pad/PKCS1_V1_5.java: Likewise.
* gnu/javax/crypto/pad/BasePad.java: Likewise.
* gnu/javax/crypto/mac/OMAC.java: Likewise.
* gnu/javax/crypto/keyring/PasswordEncryptedEntry.java: Likewise.
* gnu/javax/crypto/keyring/PasswordAuthenticatedEntry.java: Likewise.
* gnu/javax/crypto/keyring/GnuPublicKeyring.java: Likewise.
* gnu/javax/crypto/keyring/GnuPrivateKeyring.java: Likewise.
* gnu/javax/crypto/keyring/EnvelopeEntry.java: Likewise.
* gnu/javax/crypto/keyring/Entry.java: Likewise.
* gnu/javax/crypto/key/srp6/SRPKeyPairGenerator.java: Likewise.
* gnu/javax/crypto/key/dh/GnuDHKeyPairGenerator.java: Likewise.
* gnu/javax/crypto/jce/prng/UMacRandomSpi.java: Likewise.
* gnu/javax/crypto/jce/prng/ICMRandomSpi.java: Likewise.
* gnu/javax/crypto/jce/keyring/GnuKeyring.java: Likewise.
* gnu/javax/crypto/cipher/Twofish.java: Likewise.
* gnu/javax/crypto/cipher/Khazad.java: Likewise.
* gnu/javax/crypto/cipher/Rijndael.java: Likewise.
* gnu/javax/crypto/cipher/BaseCipher.java: Likewise.
* gnu/javax/crypto/cipher/Anubis.java: Likewise.
* gnu/java/security/Properties.java: Likewise.
* gnu/java/security/x509/X509CRLEntry.java: Likewise.
* gnu/java/security/x509/X509CRL.java: Likewise.
* gnu/java/security/x509/ext/Extension.java: Likewise.
* gnu/java/security/util/Prime2.java: Likewise.
* gnu/java/security/util/Base64.java: Likewise.
* gnu/java/security/sig/rsa/RSAPSSSignature.java: Likewise.
* gnu/java/security/sig/rsa/EMSA_PSS.java: Likewise.
* gnu/java/security/provider/PKIXCertPathValidatorImpl.java: Likewise.
* gnu/java/security/pkcs/SignerInfo.java: Likewise.
* gnu/java/security/pkcs/PKCS7SignedData.java: Likewise.
* gnu/java/security/key/rsa/RSAKeyPairX509Codec.java: Likewise.
* gnu/java/security/key/rsa/RSAKeyPairPKCS8Codec.java: Likewise.
* gnu/java/security/key/rsa/RSAKeyPairGenerator.java: Likewise.
* gnu/java/security/key/rsa/GnuRSAPrivateKey.java: Likewise.
* gnu/java/security/key/dss/DSSPrivateKey.java: Likewise.
* gnu/java/security/key/dss/DSSKeyPairPKCS8Codec.java: Likewise.
* gnu/java/security/key/dss/DSSKeyPairGenerator.java: Likewise.
* gnu/java/security/jce/sig/SignatureAdapter.java: Likewise.
* gnu/java/security/jce/sig/EncodedKeyFactory.java: Likewise.
* gnu/java/security/hash/Whirlpool.java: Likewise.
2006-06-11 Mark Wielaard <mark@klomp.org>
* native/jni/gtk-peer/gnu_java_awt_peer_gtk_FreetypeGlyphVector.c
(Java_gnu_java_awt_peer_gtk_FreetypeGlyphVector_getGlyphs):
Remove unused variable glyph_index.
2006-06-11 Mark Wielaard <mark@klomp.org>
* gnu/java/awt/peer/gtk/CairoGraphics2D.java (drawImage):
Don't recurse, return false if not an BufferedImage and no image
source available.
* gnu/java/awt/peer/gtk/ComponentGraphics.java (draw): Add
end_gdk_drawing() to finally block.
(fill): Likewise.
(drawRenderedImage): Likewise.
(drawImage): Likewise.
(drawGlyphVector): Likewise.
2006-06-11 Raif S. Naffah <raif@swiftdsl.com.au>
* doc/tools.texinfo: Added text for new -cacert command.
Re-structured sections.
* resource/gnu/classpath/tools/keytool/messages.properties: Added messages
for -cacert command.
* tools/gnu/classpath/tools/keytool/Main.java (CACERT_CMD): New constant.
(_CACERT): Likewise.
(shutdownThread): New field.
(Main): Install shutdown thread.
(main): Uninstall shutdown thread.
(start): Handle new -cacert command.
(getParser): Likewise.
(teardown): Increased visibility.
(ShutdownHook): New inner class.
* tools/gnu/classpath/tools/keytool/CACertCmd.java: New file.
2006-06-11 Sven de Marothy <sven@physto.se>
* gnu/java/awt/peer/gtk/FreetypeGlyphVector.java
(setupGlyphMetrics): New method. Add glyphmetrics caching.
(getOutline): Operate on the shape directly.
* gnu/java/awt/peer/gtk/GdkFontPeer.java
(getGlyphMetrics,putGlyphMetrics): Add GlyphMetrics caching.
* include/gnu_java_awt_peer_gtk_FreetypeGlyphVector.h
(getGlyph renamed getGlyphs)
* java/awt/geom/AffineTransform.java
(getTranslateInstance): Set fields directly.
* native/jni/gtk-peer/gnu_java_awt_peer_gtk_FreetypeGlyphVector.c
(getGlyphs): Get all glyph codes at once.
2006-06-11 Raif S. Naffah <raif@swiftdsl.com.au>
PR Classpath/27853
* gnu/javax/crypto/RSACipherImpl.java (engineDoFinal): Was short by 1 byte.
2006-06-11 Sven de Marothy <sven@physto.se>
* java/awt/font/TextLayout.java
(getLogicalHighlightShape): Add check.
* gnu/java/awt/peer/gtk/FreetypeGlyphVector.java
(getLogicalBounds, getGlyphPositions): Cache bounds, positions.
2006-06-11 Raif S. Naffah <raif@swiftdsl.com.au>
* gnu/javax/security/auth/login/ConfigFileParser.java (validateClassName):
Check that every component of 'cn' starts with a valid Java identifier char.
2006-06-10 Tom Tromey <tromey@redhat.com>
* java/io/File.java (pathSeparator): Typo fix.
2006-06-10 Mark Wielaard <mark@klomp.org>
* native/jni/gtk-peer/cairographics2d.h (cp_gtk_get_cairo_t):
Removed.
* native/jni/gtk-peer/gnu_java_awt_peer_gtk_CairoGraphics2D.c
Mark all unused parameters.
(cp_gtk_get_cairo_t): Removed.
(Java_gnu_java_awt_peer_gtk_CairoGraphics2D_cairoSetMatrix):
Don't mix declerations and statements.
* native/jni/gtk-peer/gnu_java_awt_peer_gtk_CairoSurface.c:
Mark all unused parameters.
(Java_gnu_java_awt_peer_gtk_CairoSurface_nativeDrawSurface):
Get cairographics2d pointer directly.
* native/jni/gtk-peer/gnu_java_awt_peer_gtk_GdkTextLayout.c
(Java_gnu_java_awt_peer_gtk_GdkTextLayout_cairoDrawGdkTextLayout):
Use jlong to pass pointer.
* native/jni/gtk-peer/gnu_java_awt_peer_gtk_GtkVolatileImage.c:
Mark all unused parameters.
* include/gnu_java_awt_peer_gtk_CairoGraphics2D.h: Regenerated.
* include/gnu_java_awt_peer_gtk_CairoSurface.h: Regenerated.
* include/gnu_java_awt_peer_gtk_ComponentGraphics.h: Regenerated.
* include/gnu_java_awt_peer_gtk_GdkTextLayout.h: Regenerated.
* include/gnu_java_awt_peer_gtk_GtkVolatileImage.h: Regenerated.
* include/java_io_VMFile.h: Regenerated.
2006-06-10 Roman Kennke <kennke@aicas.com>
* gnu/java/awt/peer/gtk/VolatileImageGraphics.java
(VolatileImageGraphics(VolatileImageGraphics)): Use clipRect()
instead of setClip(), so that an already present clip is intersected
and not resetted.
2006-06-10 Mark Wielaard <mark@klomp.org>
* gnu/java/awt/peer/gtk/GdkFontPeer.java (GdkFontLineMetrics):
Call getSize() to avoid accessor method.
2006-06-10 Mark Wielaard <mark@klomp.org>
* javax/swing/text/html/HTMLDocument.java (addSpecialElement):
Qualify ElementSpec.
2006-06-10 Mark Wielaard <mark@klomp.org>
* lib/.cvsignore: Add sun.
* lib/Makefile.am (dist-hook): Likewise.
2006-06-10 Roman Kennke <kennke@aicas.com>
* gnu/java/awt/peer/gtk/CairoGraphics2D.java
* gnu/java/awt/peer/gtk/CairoSurface.java
* gnu/java/awt/peer/gtk/CairoSurfaceGraphics.java
* gnu/java/awt/peer/gtk/ComponentGraphics.java
* gnu/java/awt/peer/gtk/GtkVolatileImage.java
* native/jni/gtk-peer/cairographics2d.h
* native/jni/gtk-peer/gnu_java_awt_peer_gtk_CairoGraphics2D.c
* native/jni/gtk-peer/gnu_java_awt_peer_gtk_CairoSurface.c
* native/jni/gtk-peer/gnu_java_awt_peer_gtk_ComponentGraphics.c
* native/jni/gtk-peer/gnu_java_awt_peer_gtk_GtkVolatileImage.c:
Changed method signatures and calls to pass native pointers directly
into the JNI code, in order to avoid costly lookups on each
JNI call.
* include/gnu_java_awt_peer_gtk_CairoGraphics2D.h,
* include/gnu_java_awt_peer_gtk_CairoSurface.h,
* include/gnu_java_awt_peer_gtk_ComponentGraphics.h,
* include/gnu_java_awt_peer_gtk_GtkVolatileImage.h:
Regenerated
2006-06-10 Audrius Meskauskas <AudriusA@Bioinformatics.org>
PR 27973
* javax/swing/text/DefaultStyledDocument.java
(ElementBuffer.insertContentTag):
Do not recreate leaves and do not remove elements here.
2006-06-10 Audrius Meskauskas <AudriusA@Bioinformatics.org>
* javax/swing/text/html/HTMLDocument.java
(HTMLReader.HiddenAction): Implemented.
2006-06-10 Roman Kennke <kennke@aicas.com>
* javax/swing/RepaintManager.java
(getVolatileOffscreenBuffer): Store the created buffer.
* javax/swing/JComponent.java
(paintDoubleBuffered): Try to use a volatile offscreen buffer
for better performance.
2006-06-10 Roman Kennke <kennke@aicas.com>
* gnu/java/awt/peer/gtk/VolatileImageGraphics.java
(VolatileImageGraphics(VolatileImageGraphics)): Initialize native
context correctly.
(getRealBounds): Overridden to return the correct bounds.
2006-06-10 Roman Kennke <kennke@aicas.com>
* javax/swing/plaf/metal/MetalButtonUI.java
(update): Fixed to paint the gradient under the correct conditions.
(updateWidthGradient): Removed.
(isToolbarButton): New helper method.
(isDrawingGradient): New helper method.
2006-06-09 Roman Kennke <kennke@aicas.com>
* javax/swing/JTabbedPane.java
(setSelectedIndex): Don't change the visibility of the components,
this is done by the UI class.
* javax/swing/plaf/basic/BasicTabbedPaneUI.java
(TabbedPaneLayout.layoutContainer): Change visibility of component
here, depending on the selected index. Only do this if the new
selected component is not null. Some programs seem to expect
this.
(visibleComponent): New field.
(getVisibleComponent): Changed to return visibleComponent field.
(setVisibleComponent): Changed to set the visibility of
the old and new visible component.
2006-06-09 Roman Kennke <kennke@aicas.com>
* javax/swing/JComponent.java
(paintChildrenOptimized): Paint component with a new Graphics
object to protect the other painting code from modifications
done in that object, and avoid cleanup ops on possibly dispose()ed
Graphics object.
2006-06-09 Sven de Marothy <sven@physto.se>
* native/jni/gtk-peer/gnu_java_awt_peer_gtk_ComponentGraphics.c
(Java_gnu_java_awt_peer_gtk_ComponentGraphics_disposeSurface):
Use GTK locks while disposing (Xlib) surface.
2006-06-09 Tom Tromey <tromey@redhat.com>
* lib/Makefile.am (install-data-local): Copy 'sun' files.
(uninstall-local): Delete 'sun' directory.
(glibj.zip): Include 'sun' classes.
(clean-local): Delete 'sun' directory.
* lib/gen-classlist.sh.in: Search 'sun' subdirectories.
2006-06-09 Roman Kennke <kennke@aicas.com>
* gnu/java/awt/java2d/AbstractGraphics2D.java
(drawImage): Fixed scaling.
(fillShape): Removed offset handling.
(fillShapeImpl): Limit scanlining to device bounds.
(getSegments): Removed offset handling.
* gnu/java/awt/java2d/PolyEdge.java
(toString): Include isClip flag in output.
2006-06-08 Sven de Marothy <sven@physto.se>
* java/awt/font/TextLayout.java
(getOutline): Allow null transform.
2006-06-08 Sven de Marothy <sven@physto.se>
* gnu/java/awt/peer/gtk/CairoGraphics2D.java
(drawString): Use TextLayout instead of GlyphVector.
2006-06-08 Sven de Marothy <sven@physto.se>
* java/text/Bidi.java: Treat WS as neutral for rules N1 & N2.
* gnu/java/awt/peer/gtk/FreetypeGlyphVector.java
New constructor for bidirectionality.
(getGlyphMetrics): Return whitespace glyphs.
(getLogicalBounds): Offset rectangles to correct positions.
* gnu/java/awt/peer/gtk/GdkFontPeer.java
(getBaselineFor): Default to ROMAN_BASELINE.
(GdkFontLineMetrics): Guess some values for underline and
strikethrough.
(layoutGlyphVector): Use bidirectionality.
* java/awt/font/TextLayout.java: Implement, mostly.
2006-06-09 Anthony Green <green@redhat.com>
PR classpath/27888:
* javax/swing/text/GapContent.java (binarySearch): Use unsigned shift.
* java/util/Collections.java (binarySearch): Use unsigned shift.
* java/util/Arrays.java (binarySearch): Use unsigned shift.
2006-06-09 Tom Tromey <tromey@redhat.com>
* tools/.cvsignore: Added .deps.
2006-06-09 Kazuya Ujihara <ujihara@aurora.dti.ne.jp>
PR classpath/27966:
* gnu/javax/security/auth/login/ConfigFileParser.java
(validateClassName): Quote '.' in regexp.
2006-06-09 Tom Tromey <tromey@redhat.com>
PR classpath/23863:
* native/fdlibm/dtoa.c (_dtoa): Free contents of _Jv_reent when
finished.
* native/fdlibm/mprec.c: New version from newlib. Commented out
some includes. Added <assert.h>.
(_reent, _Bigint): New defines.
(_REENT_CHECK_MP, _REENT_MP_FREELIST, _REENT_MP_P5S): Likewise.
(__ULong, __Long): New types.
(_calloc_r): New function.
(Balloc): Dynamically add new _freelist entries as needed.
* native/fdlibm/mprec.h (struct _Jv_Bigint): Don't use
MAX_BIGNUMS to size _x[].
(struct _Jv_reent): _freelist now a _Jv_Bigint**. Removed
_allocation_map, num. Added _max_k.
2006-06-09 Roman Kennke <kennke@aicas.com>
* gnu/java/awt/peer/gtk/CairoGraphics2D.java
(drawGlyphVector): Added fallback for non-FreetypeGlyphVector
implementations.
2006-06-09 David Gilbert <david.gilbert@object-refinery.com>
* java/awt/image/BufferedImage.java
(BufferedImage(int, int, int)): Added API docs,
(getProperty(String)): Return correct value for undefined properties,
(getPropertyNames()): Added comments and removed FIXME.
2006-06-09 Thomas Fitzsimmons <fitzsim@redhat.com>
* native/plugin/gcjwebplugin.cc (PLUGIN_ERROR_THREE): New macro.
(NP_Initialize): Use PLUGIN_ERROR_THREE in place of g_strconcat.
2006-06-09 Francis Kung <fkung@redhat.com>
* javax/swing/plaf/basic/BasicComboBoxRenderer.java:
(getPreferredSize): Return correct height for null or empty
items.
2006-06-09 David Gilbert <david.gilbert@object-refinery.com>
* java/awt/datatransfer/DataFlavor.java
(readExternal): Mark as stub,
(writeExternal): Likewise,
* java/awt/dnd/DropTargetContext.java
(dropComplete): Mark as stub,
(acceptDrag): Likewise,
(rejectDrag): Likewise,
(acceptDrop): Likewise,
(rejectDrop): Likewise,
(getCurrentDataFlavors): Likewise,
(getTransferable): Likewise,
* java/awt/dnd/DropTargetDropEvent.java
(dropComplete): Mark as stub.
2006-06-09 Audrius Meskauskas <AudriusA@Bioinformatics.org>
* gnu/javax/swing/text/html/parser/SmallHtmlAttributeSet.java
(constructor): Do not lowercase the values.
* javax/swing/text/html/HTMLDocument.java
(HTMLReader.addSpecialElement): Implemented.
* examples/gnu/classpath/examples/swing/HtmlDemo.java: New file.
2006-06-09 Raif S. Naffah <raif@swiftdsl.com.au>
On behalf of Matthew Wringe <mwringe@redhat.com>
* gnu/java/security/Registry.java (ISO10126_PAD): New constant.
* gnu/javax/crypto/pad/ISO10126.java: New class.
* gnu/javax/crypto/pad/PadFactory.java (names): New field.
(getInstance): Added support for ISO-10126 scheme.
(getNames): Likewise.
Cache result for speed.
2006-06-09 Raif S. Naffah <raif@swiftdsl.com.au>
* gnu/javax/crypto/pad/BasePad.java (selfTest): Re-factored to allow more
flexible self-test by sub-classes.
(test1BlockSize): New method.
2006-06-09 David Gilbert <david.gilbert@object-refinery.com>
* javax/swing/plaf/basic/BasicLookAndFeel.java
(initComponentDefaults): Corrected 'ScrollBar.focusInputMap' entry,
* javax/swing/plaf/basic/BasicScrollBarUI.java
(installKeyboardActions): Implemented,
(uninstallKeyboardActions): Implemented,
(getInputMap): New method,
(getActionMap): New method,
(createActionMap): New method,
(installUI): Call installKeyboardActions(),
(uninstallUI): Call uninstallKeyboardActions().
2006-06-09 David Gilbert <david.gilbert@object-refinery.com>
* javax/swing/plaf/basic/BasicScrollPaneUI.java
(getActionMap): Use correct key to store action map.
2006-06-09 Jeroen Frijters <jeroen@frijters.net>
* gnu/java/awt/font/opentype/truetype/VirtualMachine.java
(executeInstruction): Added NOT support.
2006-06-09 Jeroen Frijters <jeroen@frijters.net>
* sun/reflect/annotation/AnnotationInvocationHandler.java:
New file.
2006-06-08 Tom Tromey <tromey@redhat.com>
* java/text/Bidi.java (resolveNeutralTypes): Set j'th slot
of 'types'.
2006-06-09 Andrew John Hughes <gnu_andrew@member.fsf.org>
* java/lang/management/RuntimeMXBean.java:
New file.
2006-06-08 Lillian Angel <langel@redhat.com>
* native/plugin/gcjwebplugin.cc:
(NP_Shutdown): Freed whitelist_filename.
2006-06-08 Lillian Angel <langel@redhat.com>
* native/plugin/Makefile.am:
Removed DATA_DIRECTORY.
* native/plugin/gcjwebplugin.cc:
Added new global fields for whitelist_file
and data_directory. Removed WHITELIST_FILE.
(NP_Initialize): Initialized new fields. Also,
Changed to use new fields.
(NP_Shutdown): Freed data_directory.
(GCJ_New): Changed to use new fields.
(plugin_ask_user_about_documentbase): Likewise.
2006-06-08 Lillian Angel <langel@redhat.com>
* native/plugin/Makefile.am:
Changed DATA_DIRECTORY to be ~/.gcjwebplugin.
* native/plugin/gcjwebplugin.cc:
Changed all instances of PLUGIN_DATA_DIRECTORY
to DATA_DIRECTORY.
2006-06-08 Roman Kennke <kennke@aicas.com>
* java/awt/LightweightDispatcher.java
(handleMouseEvent): Replaced calls to AWTUtilities.convertPoint()
with convertPointToChild(). This is more efficient and avoids
problems with getLocationOnScreen().
(findTarget): Check for component beeing showing() early.
Simplified AWTUtilities.convertPoint() to a simple substraction
operation.
(convertPointToChild): New helper method.
2006-06-08 Thomas Fitzsimmons <fitzsim@redhat.com>
* native/plugin/gcjwebplugin.cc (SECURITY_DESCRIPTION): Update
message.
2006-06-08 Tom Fitzsimmons <fitzsim@redhat.com>
Lillian Angel <langel@redhat.com>
* native/plugin/gcjwebplugin.cc
(NP_Shutdown): Added code to free plugin mutex and whitelist file.
Also, reset initialized field.
2006-06-08 Lillian Angel <langel@redhat.com>
* javax/swing/plaf/basic/BasicProgressBarUI.java
(paintString): Fixed to paint string at the correct location.
2006-06-08 Roman Kennke <kennke@aicas.com>
* javax/swing/plaf/basic/BasicTreeUI.java
(createDefaultActions): Added new actions.
(TreePageAction.TreePageAction): Set action name.
(TreePageAction.actionPerformed): Implemented.
(TreePageAction.isEnabled): Implemented.
(TreeToggleAction.TreePageAction): Set action name.
(TreeToggleAction.actionPerformed): Implemented.
(TreeToggleAction.isEnabled): Implemented.
(TreeTraverseAction.TreeTraverseAction): Set action name.
(TreeTraverseAction.actionPerformed): Use action name as command.
(TreeTraverseAction.isEnabled): Implemented.
2006-06-08 Roman Kennke <kennke@aicas.com>
* javax/swing/plaf/basic/BasicTreeUI.java
(installKeyboardActions): Rewritten to correctly install the UI
input and action maps.
(getActionMap): New helper method.
(createDefaultActionMap): New helper method.
(TreeHomeAction.TreeHomeAction()): Implemented.
(TreeHomeAction.actionPerformed): Implemented.
(TreeHomeAction.isEnabled): Implemented.
(TreeIncrementAction.TreeIncrementAction()): Implemented.
(TreeIncrementAction.actionPerformed): Use action name as command.
(TreeIncrementAction.isEnabled): Implemented.
2006-06-08 Mark Wielaard <mark@klomp.org>
PR 27917
* native/jni/gtk-peer/gnu_java_awt_peer_gtk_GtkImage.c
(Java_gnu_java_awt_peer_gtk_GtkImage_loadImageFromData): Ref pixbuf
and unref loader.
2006-06-08 Mark Wielaard <mark@klomp.org>
* native/jni/gtk-peer/gnu_java_awt_peer_gtk_GdkFontPeer.c
(attrs): Removed unused static.
2006-06-08 David Gilbert <david.gilbert@object-refinery.com>
* javax/swing/plaf/basic/BasicScrollPaneUI.java
(getInputMap): New method,
(getActionMap): New method,
(createActionMap): New method,
(installKeyboardActions): Implemented,
(uninstallKeyboardActions): Implemented.
2006-06-08 Robert Schuster <robertschuster@fsfe.org>
* javax/swing/border/MatteBorder.java:
(MatteBorder(int,int,int,int,Icon)): Removed if-statement and exception
throwing.
(paintBorder): Added if-statement to abort painting early.
2006-06-08 Robert Schuster <robertschuster@fsfe.org>
Fixes PR27864.
* gnu/xml/dom/DomIterator.java:
(successor): Changed expression.
2006-06-08 Sven de Marothy <sven@physto.se>
* gnu/java/awt/peer/gtk/FreetypeGlyphVector.java
(defaultLayout): Do kerning.
* native/jni/gtk-peer/gnu_java_awt_peer_gtk_FreetypeGlyphVector.c
(getKerning): Correct class name, removed unused variable.
2006-06-07 Thomas Fitzsimmons <fitzsim@redhat.com>
* gnu/java/awt/peer/qt/QtToolkit.java (initToolkit): Load
libqtpeer.so unconditionally.
2006-06-07 Andrew John Hughes <gnu_andrew@member.fsf.org>
* java/util/InputMismatchException.java:
Documented.
2006-06-07 Andreas Tobler <a.tobler@schweiz.ch>
* native/jawt/Makefile.am (AM_LDFLAGS): Add XTEST_LIBS.
2006-06-07 Roman Kennke <kennke@aicas.com>
* javax/swing/plaf/basic/BasicTreeUI.java
(completeUIUninstall): Implemented.
(uninstallUI): Moved some bits to completeUIUninstall(). Complete
editing before uninstalling anything.
(isToggleEvent): Implemented.
(selectPathForEvent): Make use of isToggleEvent().
(ComponentHandler.componentMoved): Implemented.
(ComponentHandler.startTimer): Implemented.
(ComponentHandler.getScrollPane): Implemented.
(ComponentHandler.actionPerformed): Implemented.
2006-06-07 Francis Kung <fkung@redhat.com>
* javax/swing/JMenuBar.java:
(getSubElements): Do not return null values.
2006-06-07 Roman Kennke <kennke@aicas.com>
PR 27902
* gnu/regexp/BacktrackStack.java
* gnu/regexp/CharIndexed.java
* gnu/regexp/CharIndexedCharArray.java
* gnu/regexp/CharIndexedCharSequence.java
* gnu/regexp/CharIndexedInputStream.java
* gnu/regexp/CharIndexedString.java
* gnu/regexp/CharIndexedStringBuffer.java
* gnu/regexp/RE.java
* gnu/regexp/REException.java
* gnu/regexp/REFilterInputStream.java
* gnu/regexp/REMatch.java
* gnu/regexp/REMatchEnumeration.java
* gnu/regexp/RESyntax.java
* gnu/regexp/REToken.java
* gnu/regexp/RETokenAny.java
* gnu/regexp/RETokenBackRef.java
* gnu/regexp/RETokenChar.java
* gnu/regexp/RETokenEnd.java
* gnu/regexp/RETokenEndOfPreviousMatch.java
* gnu/regexp/RETokenEndSub.java
* gnu/regexp/RETokenIndependent.java
* gnu/regexp/RETokenLookAhead.java
* gnu/regexp/RETokenLookBehind.java
* gnu/regexp/RETokenNamedProperty.java
* gnu/regexp/RETokenOneOf.java
* gnu/regexp/RETokenPOSIX.java
* gnu/regexp/RETokenRange.java
* gnu/regexp/RETokenRepeated.java
* gnu/regexp/RETokenStart.java
* gnu/regexp/RETokenWordBoundary.java
* gnu/regexp/UncheckedRE.java
* gnu/java/util/regex/BacktrackStack.java
* gnu/java/util/regex/CharIndexed.java
* gnu/java/util/regex/CharIndexedCharArray.java
* gnu/java/util/regex/CharIndexedCharSequence.java
* gnu/java/util/regex/CharIndexedInputStream.java
* gnu/java/util/regex/CharIndexedString.java
* gnu/java/util/regex/CharIndexedStringBuffer.java
* gnu/java/util/regex/RE.java
* gnu/java/util/regex/REException.java
* gnu/java/util/regex/REFilterInputStream.java
* gnu/java/util/regex/REMatch.java
* gnu/java/util/regex/REMatchEnumeration.java
* gnu/java/util/regex/RESyntax.java
* gnu/java/util/regex/REToken.java
* gnu/java/util/regex/RETokenAny.java
* gnu/java/util/regex/RETokenBackRef.java
* gnu/java/util/regex/RETokenChar.java
* gnu/java/util/regex/RETokenEnd.java
* gnu/java/util/regex/RETokenEndOfPreviousMatch.java
* gnu/java/util/regex/RETokenEndSub.java
* gnu/java/util/regex/RETokenIndependent.java
* gnu/java/util/regex/RETokenLookAhead.java
* gnu/java/util/regex/RETokenLookBehind.java
* gnu/java/util/regex/RETokenNamedProperty.java
* gnu/java/util/regex/RETokenOneOf.java
* gnu/java/util/regex/RETokenPOSIX.java
* gnu/java/util/regex/RETokenRange.java
* gnu/java/util/regex/RETokenRepeated.java
* gnu/java/util/regex/RETokenStart.java
* gnu/java/util/regex/RETokenWordBoundary.java
* gnu/java/util/regex/UncheckedRE.java
Moved gnu.regexp classes to gnu.java.util.regex package.
* java/util/regex/Matcher.java
* java/util/regex/Pattern.java
Adjusted import statements for new package name for gnu regexp.
2006-06-07 Tom Tromey <tromey@redhat.com>
PR classpath/27905:
* gnu/java/nio/charset/Provider.java (loadExtended): Now synchronized.
Added missing charsets.
(charsetForName): Don't check 'extendedLoaded'.
2006-06-07 Roman Kennke <kennke@aicas.com>
PR 27833
* gnu/java/awt/peer/gtk/CairoGraphics2D.java
(clip(Shape)): Implemented correctly, so that the current shape
gets intersected by the parameter shape.
2006-06-07 Lillian Angel <langel@redhat.com>
* javax/swing/plaf/basic/BasicTabbedPaneUI.java
(getTabBounds): If this method is called with a tab index
that is not in the rects array, we need to re-layout the container
so it is created.
2006-06-07 Lillian Angel <langel@redhat.com>
* gnu/java/awt/peer/gtk/FreetypeGlyphVector.java
(FreetypeGlyphVector): Removed assignment. Caused compilation error.
* java/lang/String.java
(codePointCount): Fixed check to match API. Shouldn't throw exception
if end == count. end is 1 more than the endIndex, so end == count is
possible.
2006-06-07 Gary Benson <gbenson@redhat.com>
PR 24895
* native/jni/java-io/java_io_VMFile.c
(Java_java_io_VMFile_toCanonicalForm): New method.
* configure.ac: Added checks for lstat and readlink.
* include/java_io_VMFile.h: Added new method.
* vm/reference/java/io/VMFile.java: Use new method.
* gnu/java/io/PlatformHelper.java (toCanonicalForm): Removed.
* NEWS: Documented the above.
* java/io/File.java: Javadoc fix.
2006-06-07 Roman Kennke <kennke@aicas.com>
PR 27920
* javax/swing/JTree.java
(JTree()): Initialize with default model.
(JTree(TreeModel)): Clear expanded state hashtable. Added comment
on the updateUI() / setModel() order.
(setModel): Correctly (un-)setup the listeners. Clear the expanded
paths.
* javax/swing/plaf/basic/BasicTreeUI.java
(BasicTreeUI()): Initialize listeners in installListeners().
(setModel): Complete editing on model change. Correctly resetup
the listeners. Update the layout cache accordingly.
(setShowRootHandles): Complete editing and update layout. Do not
call back into the JTree, this could cause cycles.
(prepareForUIInstall): Implemented. Moved some init code from
installUI() to this method.
(completeUIInstall): Implemented. Moved some init code from
installUI() to this method.
(createDefaultCellEditor): Check for type of renderer, and install
with null renderer when not DefaultTreeCellRenderer.
(updateLayoutCacheExpandedNodes): Added null check for tree root
to avoid NPE.
(updateRenderer): Call updateEditor().
(installListeners): Initialize the listeners here. Added some null
checks to avoid NPEs.
(installUI): Moved some init code to prepareForUIInstall() and
completeUIInstall().
(completeEditing): Return immediately if editing component is null
or if the setting is to not stop editing on complete editing.
(checkForClickInExpandControl): Call handleExpandControlClick()
instead of toggleExpandState() directly.
(isLocationInExpandControl): Rewritten to correctly determine the
expand click location.
(MouseHandler.mousePressed): Rewritten to make better use of the
instance methods of BasicTreeUI to handle the click.
(PropertyHandler.propertyChange): Handle model and cell renderer
updates.
* javax/swing/tree/DefaultTreeCellEditor.java
(DefaultTreeCellEditor): Removed initialization of the icon. This
is done so that the constructor can deal with null renderer as the
RI does. Maybe this needs more fixing.
* javax/swing/tree/TreePath.java
(isDescendant): Fixed this method. The previous version did too
much and compared the wrong things, which lead to a ClassCastException
in equals().
* javax/swing/tree/VariableHeightLayoutCache.java
(update): Do nothing when model is null.
(setModel): Clear the tables and update the layout. Added null
check to prevent NPE.
2006-06-07 Sven de Marothy <sven@physto.se>
* gnu/java/awt/peer/gtk/GdkGlyphVector: Removed file.
2006-06-07 Sven de Marothy <sven@physto.se>
* gnu/java/awt/peer/gtk/FreetypeGlyphVector.java
* include/gnu_java_awt_peer_gtk_FreetypeGlyphVector.h
* native/jni/gtk-peer/gnu_java_awt_peer_gtk_FreetypeGlyphVector.c
New files.
* gnu/java/awt/peer/gtk/GdkFontPeer.java
(getGlyphVector): Removed native method.
(createGlyphVector, getStringBounds): Use new GV class.
* include/Makefile.am
* native/jni/gtk-peer/Makefile.am
Add new files.
* include/gnu_java_awt_peer_gtk_GdkFontPeer.h
* native/jni/gtk-peer/gnu_java_awt_peer_gtk_GdkFontPeer.c
(getGlyphVector): Removed native method.
2006-06-07 Chris Burdess <dog@gnu.org>
* gnu/classpath/debug/TeeInputStream.java,
gnu/classpath/debug/TeeOutputStream.java,
gnu/classpath/debug/TeeReader.java,
gnu/classpath/debug/TeeWriter.java: New classes for debugging streams.
* gnu/xml/stream/XMLParser.java: Use tee streams for debugging. Don't
read more characters than absolutely necessary in tryRead method.
2006-06-07 Robert Schuster <robertschuster@fsfe.org>
* examples/gnu/classpath/examples/swing/Demo.java:
(mkMenuBar): Put look and feel radio buttons into
appropriate button group.
2006-06-07 Chris Burdess <dog@gnu.org>
* gnu/xml/stream/SAXParser.java,
gnu/xml/stream/XMLParser.java: Add command line options for setting
parsing parameters (for simpler debugging).
* gnu/xml/transform/TransformerImpl.java: Try to ensure that I/O error
closing output stream is propagated to application.
2006-06-06 Mark Wielaard <mark@klomp.org>
PR 27917
* gnu/java/awt/peer/gtk/CairoSurface.java (finalize): Call dispose.
* gnu/java/awt/peer/gtk/ComponentGraphics.java: Override dispose to
call disposeSurface.
(disposeSurface): New native method.
* native/jni/gtk-peer/gnu_java_awt_peer_gtk_CairoGraphics2D.c
(Java_gnu_java_awt_peer_gtk_CairoGraphics2D_disposeNative): Free
pattern_pixels.
* native/jni/gtk-peer/gnu_java_awt_peer_gtk_CairoSurface.c
(Java_gnu_java_awt_peer_gtk_CairoSurface_drawSurface): Call
cairo_pattern_destroy.
* native/jni/gtk-peer/gnu_java_awt_peer_gtk_ComponentGraphics.c
(Java_gnu_java_awt_peer_gtk_ComponentGraphics_disposeSurface):
New function to destroy the surface.
* include/gnu_java_awt_peer_gtk_CairoGraphics2D.h: Regenerated.
* include/gnu_java_awt_peer_gtk_CairoSurface.h: Likewise.
* include/gnu_java_awt_peer_gtk_ComponentGraphics.h: Likewise.
2006-06-06 Mark Wielaard <mark@klomp.org>
* include/jni.h (JDK1_1InitArgs): Mark pointer-to-function types
with JNICALL.
2006-06-06 David Gilbert <david.gilbert@object-refinery.com>
* javax/swing/plaf/metal/MetalSplitPaneDivider.java
(paint): If has focus, paint special background color,
* javax/swing/plaf/basic/BasicSplitPaneUI.java
(FocusHandler.focusGained): Implemented,
(FocusHandler.focusLost): Implemented.
2006-06-06 Tom Tromey <tromey@redhat.com>
* javax/swing/text/StyleContext.java (registerStaticAttributeKey):
Javadoc fix.
(writeAttributeSet): Implemented.
2006-06-06 Tom Tromey <tromey@redhat.com>
* javax/swing/text/html/HTMLDocument.java (SpecialAction.start):
Implement.
(SpecialAction.end): Removed.
(IsindexAction.end): Likewise.
2006-06-06 Tom Tromey <tromey@redhat.com>
* include/jni.h (JDK1_1InitArgs): New struct.
(JDK1_1AttachArgs): Likewise.
2006-06-06 Tom Tromey <tromey@redhat.com>
* java/security/UnresolvedPermission.java (getUnresolvedType): New
method.
(getUnresolvedName): New method.
(getUnresolvedActions): New method.
(getUnresolvedCerts): New method.
2006-06-06 Audrius Meskauskas <AudriusA@Bioinformatics.org>
* gnu/javax/swing/text/html/CharacterAttributeTranslator.java
(getColor): Removed debugging code.
2006-06-06 Audrius Meskauskas <AudriusA@Bioinformatics.org>
* gnu/javax/swing/text/html/CharacterAttributeTranslator.java
(getColor): Added support for "rgb(red, green, blue)" notation.
(translateTag): Use Boolean.TRUE, not new Boolean().
2006-06-06 Roman Kennke <kennke@aicas.com>
PR 27651
* javax/swing/JTree.java
(JTree(TreeModel)): Call updateUI() before setModel().
(setModel): Don't call updateUI here.
2006-06-06 Lillian Angel <langel@redhat.com>
* native/plugin/gcjwebplugin.cc:
Fixed failure message and commenting.
(NP_Initialize): Added more comments.
2006-06-06 David Gilbert <david.gilbert@object-refinery.com>
* javax/swing/JSplitPane.java
(AccessibleJSplitPane): API doc fixes,
(setDividerLocation): Likewise,
* javax/swing/plaf/basic/BasicLookAndFeel.java
(initComponentDefaults): Additions to SplitPane.ancestorInputMap,
* javax/swing/plaf/basic/BasicSplitPaneUI.java
(getInputMap): New method,
(getActionMap): New method,
(createActionMap): New method,
(installKeyboardActions): Implemented,
(uninstallKeyboardActions): Implemented.
2006-06-06 Roman Kennke <kennke@aicas.com>
PR 27523
* javax/swing/MenuSelectionManager.java
(processKeyEvent): Added check to avoid
ArrayIndexOutOfBoundsException.
2006-06-06 Audrius Meskauskas <AudriusA@Bioinformatics.org>
* gnu/javax/swing/text/html/htmlAttributeSet.java
(getAttributeNames): Rewritten
2006-06-06 Chris Burdess <dog@gnu.org>
* gnu/xml/transform/TransformerImpl.java: Check type of created
document (more cases).
2006-06-06 Audrius Meskauskas <AudriusA@Bioinformatics.org>
* gnu/javax/swing/text/html/htmlAttributeSet.java
(clone): New method. (copyAttributes): New method.
(getResolveParent): Comment fix. (getAttribute):
Rewritten. (addAttribute): Rewritten.
* gnu/javax/swing/text/html/SmallHtmlAttributeSet.java:
New file.
2006-06-06 Roman Kennke <kennke@aicas.com>
PR 27522
* javax/swing/JMenuBar.java
(processKeyBindingHelper): Added null check to prevent NPE.
2006-06-06 Roman Kennke <kennke@aicas.com>
* javax/swing/plaf/basic/BasicInternalFrameUI.java
(ShowSystemMenuAction): New class.
(installKeyboardActions): Implemented.
(uninstallKeyboardActions): Implemented.
* javax/swing/plaf/metal/MetalInternalFrameUI.java
(installKeyboardActions): Overridden to remove showSystemMenu action.
2006-06-06 Chris Burdess <dog@gnu.org>
* gnu/xml/transform/TransformerImpl.java: Check type of created
document.
2006-06-06 Robert Schuster <robertschuster@fsfe.org>
* gnu/java/awt/peer/gtk/GdkGraphicsEnvironment.java:
(getScreenDevices): Added explicit cast.
2006-06-06 Roman Kennke <kennke@aicas.com>
* javax/swing/plaf/basic/BasicTextUI.java
(installKeyboardActions): Use shared input map. Correctly
install the input/action maps in the component's input/action
map hierarchies.
(getActionMap): New helper method for fetching an ActionMap from
the UIManager or creating a default one if there is none supplied
by the UIManager.
(createActionMap): Add the TransferHandler's actions here. Made
method private.
(getInputMap): Leave out unnecessary method parameter. Load
shared input map.
* javax/swing/plaf/basic/SharedUIDefaults.java: New file.
2006-06-06 Robert Schuster <robertschuster@fsfe.org>
* configure.ac: Added missing [ to expression.
2006-06-06 Robert Schuster <robertschuster@fsfe.org>
* configure.ac: Added missing { to expression.
2006-06-06 Robert Schuster <robertschuster@fsfe.org>
* include/gnu_java_awt_peer_gtk_GdkGraphicsEnvironment.h: Regenerated.
* include/gnu_java_awt_peer_gtk_GdkScreenGraphicsDevice.h: New file.
* include/Makefile.am: Added
gnu_java_awt_peer_gtk_GdkScreenGraphicsDevice.
* gnu/java/awt/peer/gtk/GdkGraphicsConfiguration.java:
(GdkGraphicsConfiguration): Rewritten.
(getColorModel): Rewritten.
(getColorModel(int)): Rewritten.
(getBounds): Rewritten.
(createCompatibleVolatileImage): Implemented.
* gnu/java/awt/peer/gtk/GdkGraphicsEnvironment.java: Added static
initializer.
(getDefaultScreenDevice): Rewritten.
(nativeGetDefaultScreenDevice): New method.
(getScreenDevices): Rewritten.
(nativeGetScreenDevices): New method.
(nativeInitState): New method.
* gnu/java/awt/peer/gtk/GdkScreenGraphicsDevice.java: Entirely
rewritten.
(X11DisplayMode): New inner class.
* native/jni/gtk-peer/Makefile.am: Added gdkdisplay.h and
gnu_java_awt_peer_gtk_GdkScreenGraphicsDevice.c
* native/jni/gtk-peer/gdkdisplay.h: New file.
* native/jni/gtk-peer/gnu_java_awt_peer_gtk_GdkGraphicsEnvironment.c:
(Java_gnu_java_awt_peer_gtk_GdkGraphicsEnvironment_initStaticState):
New function.
(Java_gnu_java_awt_peer_gtk_GdkGraphicsEnvironment_nativeInitState):
New function.
(Java_gnu_java_awt_peer_gtk_GdkGraphicsEnvironment
_nativeGetScreenDevices):
New function.
(Java_gnu_java_awt_peer_gtk_GdkGraphicsEnvironment
_nativeGetDefaultScreenDevice):
New function.
* native/jni/gtk-peer/gnu_java_awt_peer_gtk_GdkScreenGraphicsDevice.c:
New file.
* configure.ac: Added check for Xrandr library.
2006-06-06 Roman Kennke <kennke@aicas.com>
* javax/swing/plaf/basic/BasicTableUI.java
(getMaximumSize): Don't return null. Fixed calculation of
table height.
(getMinimumSize): Don't return null. Fixed calculation of
table height.
(getPreferredSize): Fixed calculation of with and height. Added
API docs.
(getHeight): New helper method.
2006-06-06 David Gilbert <david.gilbert@object-refinery.com>
* javax/swing/JComponent.java
(getInputMap(int)): Throw IllegalArgumentException for unknown
condition argument, and added API docs,
(getInputMap()): Added API docs.
2006-06-06 Robert Schuster <robertschuster@fsfe.org>
* java/awt/BufferedImage.java: Added fourth 8 to bits4 field.
2006-06-06 David Gilbert <david.gilbert@object-refinery.com>
* javax/swing/JTable.java
(AccessibleJTableHeaderCell.header): New field,
(AccessibleJTableHeaderCell.columnIndex): Likewise,
(AccessibleJTableHeaderCell.AccessibleJTableHeaderCell()): Initialise,
(AccessibleJTableHeaderCell.getColumnHeaderRenderer): New method,
(AccessibleJTableHeaderCell.getAccessibleContext): Implemented,
(AccessibleJTableHeaderCell.getAccessibleRole): Implemented,
(AccessibleJTable.getAccessibleChild(int)): Overridden,
(AccessibleJTable.getAccessibleAt): Reimplemented.
2006-06-05 Sven de Marothy <sven@physto.se>
* include/gnu_java_awt_peer_gtk_ComponentGraphics.h
* native/jni/gtk-peer/gnu_java_awt_peer_gtk_ComponentGraphics.c
* gnu/java/awt/peer/gtk/ComponentGraphics.java
(initFromVolatile): New method.
* gnu/java/awt/peer/gtk/GtkVolatileImage.java
* gnu/java/awt/peer/gtk/VolatileImageGraphics.java
Reimplement.
* include/gnu_java_awt_peer_gtk_GtkVolatileImage.h
* native/jni/gtk-peer/gnu_java_awt_peer_gtk_GtkVolatileImage.c
(copyArea, drawVolatileImage): New methods.
2006-06-05 Tania Bento <tbento@redhat.com>
* javax/swing/JFrame.java
(frameInit): Set background color and fixed layout parameters.
2006-06-05 Tom Tromey <tromey@redhat.com>
* NEWS: Mention VMURLConnection.
2006-06-05 Lillian Angel <langel@redhat.com>
* native/plugin/gcjwebplugin.cc:
Added new field to keep track of initialization.
(plugin_start_appletviewer): Fixed to return an error value, if
an error was encountered when loading the appletviewer.
(GCJ_NEW): Added call to plugin_failed if the loading of the appletviewer
has failed.
(plugin_failed): New helper function. Shows a warning if the appletviewer
has not been installed.
(NP_Initialize): Added code to make sure this function is only called
once.
2006-06-05 Lillian Angel <langel@redhat.com>
* native/plugin/Makefile.am:
Fixed to use a set plugin directory in the .mozilla directory.
All applet logs are now stored here, instead of /tmp.
* native/plugin/gcjwebplugin.cc:
Added new fields for security warning.
(GCJ_NEW): Added code to generate a security warning for all pages
that spawn an appletviewer. This warning asks the user if they trust
the applet and if they would like to add it to a 'whitelist'. This
whitelist keeps track of all the addresses the user would like
to trust indefinitely.
(plugin_user_trusts_documentbase): New helper function.
(plugin_add_documentbase_to_whitelist): New helper function.
(plugin_ask_user_about_documentbase): New helper function.
(plugin_in_pipe_callback): Fixed check to determine if channel_error
has been set.
(plugin_start_appletviewer): Likewise.
(plugin_create_applet_tag): Reset all fields to null after they have been
freed.
(plugin_send_message_to_appletviewer): Fixed all error checks to determine
if channel_error has been set.
(plugin_stop_appletviewer): Likewise.
(NP_Initialize): Likewise. Also, added code to determine if directory and file
should be created.
2006-06-05 Francis Kung <fkung@redhat.com>
PR 27507
* gnu/java/awt/peer/gtk/GtkImage.java
(getSource): Added check to determine if in
errorLoading state.
* gnu/java/awt/peer/gtk/GtkToolkit.java
(createImage): Added check to prevent NPE.
2006-06-05 Audrius Meskauskas <AudriusA@Bioinformatics.org>
* javax/swing/text/html/HTMLEditorKit.java (HTMLFactory.create):
Create the ImageView, when applicable.
* gnu/javax/swing/text/html/CombinedAttributes.java,
javax/swing/text/html/ImageView.java: New files.
2006-06-05 Roman Kennke <kennke@aicas.com>
PR 27834
* javax/swing/text/GapContent.java
(setPositionsInRange): Compare with startIndex and endIndex
rather than start and end.
(dumpMarks): Only dump real marks.
2006-06-05 Sven de Marothy <sven@physto.se>
* gnu/java/awt/peer/gtk/ComponentGraphics.java
(ComponentGraphics): Use 0,0 as clip origin.
2006-06-04 Andrew John Hughes <gnu_andrew@member.fsf.org>
* java/util/Formattable.java,
* java/util/FormattableFlags.java,
* java/util/Formatter.java:
Documented.
2006-06-04 Tom Tromey <tromey@redhat.com>
* javax/naming/Context.java (list): Genericized.
(listBindings): Likewise.
* javax/naming/Reference.java (addrs): Genericized.
* javax/naming/InitialContext.java (myProps): Fixed type.
(init): Genericized.
2006-06-04 Andrew John Hughes <gnu_andrew@member.fsf.org>
* java/util/DuplicateFormatFlagsException.java,
* java/util/FormatFlagsConversionMismatchException.java,
* java/util/FormatterClosedException.java,
* java/util/IllegalFormatCodePointException.java,
* java/util/IllegalFormatConversionException.java,
* java/util/IllegalFormatException.java,
* java/util/IllegalFormatFlagsException.java,
* java/util/IllegalFormatPrecisionException.java,
* java/util/IllegalFormatWidthException.java,
* java/util/MissingFormatArgumentException.java,
* java/util/MissingFormatWidthException.java,
* java/util/UnknownFormatConversionException.java,
* java/util/UnknownFormatFlagsException.java:
Documented.
2006-06-04 Andrew John Hughes <gnu_andrew@member.fsf.org>
* java/lang/System.java:
(getenv()): Handle cases where split only
returns an array of size 1.
2006-06-04 Sven de Marothy <sven@physto.se>
* gnu/java/awt/peer/gtk/GtkComponentPeer.java
(createVolatileImage): Pass peer to VolatileImage constructor.
* java/awt/Component.java
(createVolatileImage): Call peer method directly.
2006-06-04 Sven de Marothy <sven@physto.se>
* gnu/java/awt/peer/gtk/CairoSurface.java
(getFlippedBuffer): New method.
(getGtkImage): Renamed method.
* gnu/java/awt/peer/gtk/ComponentGraphicsCopy.java
* gnu/java/awt/peer/gtk/GtkVolatileImage.java
Renamed getSharedImage to getGtkImage.
* include/gnu_java_awt_peer_gtk_CairoSurface.h
* native/jni/gtk-peer/gnu_java_awt_peer_gtk_CairoSurface.c
(getFlippedBuffer): New method
* native/jni/gtk-peer/gnu_java_awt_peer_gtk_ComponentGraphics.c
Avoid window casts.
2006-06-04 Andrew John Hughes <gnu_andrew@member.fsf.org>
* native/jni/gtk-peer/gnu_java_awt_peer_gtk_ComponentGraphics.c:
(drawVolatile): Add casts.
* native/jni/gtk-peer/gnu_java_awt_peer_gtk_GdkTextLayout.c:
(getOutline): Add casts.
* native/jni/gtk-peer/gnu_java_awt_peer_gtk_GtkVolatileImage.c:
Comment out unused prototype.
(getPixels): Add appropriate cast and comment out unused variable.
2006-06-04 Raif S. Naffah <raif@swiftdsl.com.au>
* gnu/javax/crypto/sasl/SaslUtil.java: Remove unused import.
* gnu/javax/crypto/sasl/srp/SRPRegistry.java (PASSWORD_DB): Fix javadoc @link.
* gnu/javax/crypto/sasl/srp/PasswordFile.java: Removed unused import.
* gnu/javax/crypto/prng/CSPRNG.java (FILE_SOURCES): Fix javadoc @see.
(getSystemInstance): Fix javadoc @link.
(counter): Increased visibility.
* gnu/javax/crypto/pad/TLS1.java: Remove unused import.
* gnu/javax/crypto/pad/IPad.java: Fix javadoc @link.
* gnu/javax/crypto/pad/PKCS1_V1_5.java (PKCS1_V1_5): Likewise.
* gnu/javax/crypto/pad/PKCS7.java (PKCS7): Likewise.
* gnu/javax/crypto/pad/TBC.java (TBC): Likewise.
* gnu/javax/crypto/mode/CTR.java: Remove unused import.
* gnu/javax/crypto/mode/BaseMode.java (defaultBlockSize): Fix javadoc @see.
* gnu/javax/crypto/key/dh/GnuDHPrivateKey.java (getEncoded): Fix javadoc @see.
* gnu/javax/crypto/jce/spec/TMMHParameterSpec.java: Fix javadoc @link.
* gnu/javax/crypto/keyring/AuthenticatedEntry.java: Remove unused imports.
* gnu/javax/crypto/keyring/CertificateEntry.java: Likewise.
* gnu/javax/crypto/keyring/CertPathEntry.java: Likewise.
* gnu/javax/crypto/keyring/EncryptedEntry.java: Likewise.
* gnu/javax/crypto/keyring/PublicKeyEntry.java: Likewise.
* gnu/javax/crypto/mac/OMAC.java: Likewise.
* gnu/javax/crypto/jce/key/AnubisSecretKeyFactoryImpl.java: Likewise.
* gnu/javax/crypto/jce/key/BlowfishSecretKeyFactoryImpl.java: Likewise.
* gnu/javax/crypto/jce/key/Cast5SecretKeyFactoryImpl.java: Likewise.
* gnu/javax/crypto/jce/key/KhazadSecretKeyFactoryImpl.java: Likewise.
* gnu/javax/crypto/jce/key/RijndaelSecretKeyFactoryImpl.java: Likewise.
* gnu/javax/crypto/jce/key/SerpentSecretKeyFactoryImpl.java: Likewise.
* gnu/javax/crypto/jce/key/SquareSecretKeyFactoryImpl.java: Likewise.
* gnu/javax/crypto/jce/key/TwofishSecretKeyFactoryImpl.java: Likewise.
* gnu/javax/crypto/jce/mac/OMacImpl.java: Likewise.
* gnu/javax/crypto/jce/prng/CSPRNGSpi.java: Likewise.
* gnu/javax/crypto/cipher/IBlockCipherSpi.java: Fix javadoc @link.
* gnu/javax/crypto/jce/cipher/CipherAdapter.java (CipherAdapter): Likewise.
* gnu/javax/crypto/cipher/BaseCipher.java: Remove unused import.
* gnu/javax/crypto/assembly/Cascade.java: Fix javadoc @link.
* gnu/javax/crypto/assembly/Direction.java: Likewise.
* gnu/javax/crypto/assembly/Transformer.java: Likewise.
2006-06-04 Raif S. Naffah <raif@swiftdsl.com.au>
* gnu/java/security/PolicyFile.java: Updated copyright year.
(logger): Increased visibility.
* gnu/java/security/x509/Util.java: Updated copyright year.
(hexDump): Fix javadoc @link.
* gnu/java/security/x509/ext/GeneralNames.java: Updated copyright year.
Removed unused import.
* gnu/java/security/sig/rsa/RSAPSSSignatureRawCodec.java: Fix javadoc @link.
* gnu/java/security/sig/ISignature.java (SOURCE_OF_RANDOMNESS): Likewise.
* gnu/java/security/util/ExpirableObject.java: Likewise.
(destroy): Likewise.
* gnu/java/security/util/SimpleList.java (SimpleList): Likewise.
* gnu/java/security/provider/PKIXCertPathValidatorImpl.java:
Updated copyright year.
(checkCRL): Fix javadoc @param.
2006-06-03 Andrew John Hughes <gnu_andrew@member.fsf.org>
* java/lang/annotation/IncompleteAnnotationException.java:
Documented.
2006-06-03 Andrew John Hughes <gnu_andrew@member.fsf.org>
* java/lang/ProcessBuilder.java:
Documented.
(environment): Create as a copy.
* java/lang/System.java:
(EnvironmentMap.EnvironmentMap(Map<String,String>)):
New constructor.
(EnvironmentMap.put(String,String)): Override superclass
method with checks for nulls and non-Strings.
2006-06-02 Sven de Marothy <sven@physto.se>
* gnu/java/awt/peer/gtk/CairoGraphics2D.java
(cairoPreserveClip, cairoResetClip): New methods.
(setClip, clip): Reimplement.
* native/jni/gtk-peer/gnu_java_awt_peer_gtk_CairoGraphics2D.c
* include/gnu_java_awt_peer_gtk_CairoGraphics2D.h
(cairoPreserveClip, cairoResetClip): New methods.
2006-06-02 Sven de Marothy <sven@physto.se>
* gnu/java/awt/peer/gtk/VolatileImageGraphics.java
* include/gnu_java_awt_peer_gtk_GtkVolatileImage.h
* native/jni/gtk-peer/gnu_java_awt_peer_gtk_GtkVolatileImage.c
New files.
* gnu/java/awt/peer/gtk/ComponentGraphics.java
(drawImage): Overloads for VolatileImage drawing.
(drawVolatile): New method.
* native/jni/gtk-peer/gnu_java_awt_peer_gtk_ComponentGraphics.c
* include/gnu_java_awt_peer_gtk_ComponentGraphics.h
(drawVolatile): New method.
* gnu/java/awt/peer/gtk/GtkVolatileImage.java
Unstub implementation.
* include/Makefile.am
* native/jni/gtk-peer/Makefile.am
Add new files.
* native/jni/gtk-peer/gtkpeer.h
New prototype.
2006-06-03 Roman Kennke <kennke@aicas.com>
PR 27418
* javax/swing/plaf/basic/BasicTextUI.java
(damageRange): Added null check to avoid NPE.
2006-06-03 Roman Kennke <kennke@aicas.com>
* javax/swing/text/PlainView.java
(updateDamage): Check for valid longestLine and initialize if
necessary.
2006-06-03 Mark Wielaard <mark@klomp.org>
* native/jni/gtk-peer/gnu_java_awt_peer_gtk_CairoSurface.c: Use C
comments, not C++.
2006-06-02 Sven de Marothy <sven@physto.se>
PR 27879
* gnu/java/awt/peer/gtk/CairoGraphics2D.java
(copyArea): Implement.
(copyAreaImpl, getRealBounds): New methods.
* gnu/java/awt/peer/gtk/CairoSurfaceGraphics.java
* gnu/java/awt/peer/gtk/ComponentGraphics.java
* gnu/java/awt/peer/gtk/BufferedImageGraphics.java
(copyAreaImpl, getRealBounds): Implement.
* native/jni/gtk-peer/gnu_java_awt_peer_gtk_CairoSurface.c
(nativeCopyArea): Reimplement.
2006-06-02 Andreas Tobler <a.tobler@schweiz.ch>
* configure.ac: Add -lX11 and -lXtst to XTEST_LIBS.
(XTEST_LIBS): New, substitute.
* native/jni/gtk-peer/Makefile.am (AM_LDFLAGS): Add XTEST_LIBS.
2006-06-02 Roman Kennke <kennke@aicas.com>
PR 26738
* javax/swing/text/PlainView.java
(updateDamage): Rewritten for correct repainting and revalidating.
(findLongestLine): New helper method.
(getLineLength): New helper method.
2006-06-02 Sven de Marothy <sven@physto.se>
* gnu/java/awt/peer/gtk/BufferedImageGraphics.java
* gnu/java/awt/peer/gtk/CairoSurfaceGraphics.java
* native/jni/gtk-peer/gnu_java_awt_peer_gtk_CairoSurface.c
(nativeCopyArea): Change stride parameter to use # of ints.
(setPixels): Add checks.
* gnu/java/awt/peer/gtk/ComponentGraphics.java
(ComponentGraphics): Set background, clip.
* gnu/java/awt/peer/gtk/CairoGraphics2D.java
(Cairographics2D): Don't set clip.
* native/jni/gtk-peer/gnu_java_awt_peer_gtk_ComponentGraphics.c
Add flush.
2006-06-02 Lillian Angel <langel@redhat.com>
PR 24458
* java/awt/DefaultKeyboardFocusManager.java
(dispatchEvent): Fixed to getFocusOwner, if that fails it tries
to get the focused window.
2006-06-01 Miriam Schuster <schmir11@web.de>
* Makefile.am: Add fallback if "mozilla-plugin" is not available.
Fallbacks used: "firefox-plugin" and "xulrunner-plugin".
2006-06-02 Roman Kennke <kennke@aicas.com>
* javax/swing/JTable.java
(columnSelectionChanged): Don't return when there's only one
column (might still need repainting). Correctly calculate
repaint rectangle.
(valueChanged): Use return value of SwingUtilities.computeUnion
as dirty region.
2006-06-01 Keith Seitz <keiths@redhat.com>
From Martin Platter <motse@complang.tuwien.ac.at>:
* gnu/classpath/jdwp/processor/EventRequestCommandSet.java
(executeSet): Fix buffer underflow reading reference ID.
* gnu/classpath/jdwp/processor/ThreadGroupReferenceCommandSet.java
(executeParent): Fix NPE if ThreadGroup is top-level ThreadGroup.
* gnu/classpath/jdwp/processor/ClassTypeCommandSet.java
(executeSuperclass): Handle case of Object with ID zero.
2006-06-02 Raif S. Naffah <raif@swiftdsl.com.au>
* tools/gnu/classpath/tools/keytool/StorePasswdCmd.java: Fixed typo.
* tools/gnu/classpath/tools/keytool/CertReqCmd.java: Likewise.
* tools/gnu/classpath/tools/keytool/DeleteCmd.java: Likewise.
* tools/gnu/classpath/tools/keytool/ExportCmd.java: Likewise.
* tools/gnu/classpath/tools/keytool/GenKeyCmd.java: Likewise.
* tools/gnu/classpath/tools/keytool/IdentityDBCmd.java: Likewise.
* tools/gnu/classpath/tools/keytool/ImportCmd.java: Likewise.
* tools/gnu/classpath/tools/keytool/KeyCloneCmd.java: Likewise.
* tools/gnu/classpath/tools/keytool/KeyPasswdCmd.java: Likewise.
* tools/gnu/classpath/tools/keytool/ListCmd.java: Likewise.
* tools/gnu/classpath/tools/keytool/SelfCertCmd.java: Likewise.
2006-06-02 Raif S. Naffah <raif@swiftdsl.com.au>
* tools/gnu/classpath/tools/keytool/Command.java (shutdownThread): New field.
(Command): Add the shutdown hook.
(doCommand): Remove the shutdown hook.
(ShutdownHook): New class.
2006-06-02 Raif S. Naffah <raif@swiftdsl.com.au>
* tools/jarsigner.in: Use @VM_BINARY@.
* tools/keytool.in: Likewise.
2006-06-01 Sven de Marothy <sven@physto.se>
* gnu/java/awt/peer/gtk/CairoGraphics2D.java:
(setColor): Update the cairo paint.
2006-06-01 Mark Wielaard <mark@klomp.org>
* java/util/logging/LogManager.java (createInstance): Always add
original exception on warning.
2006-06-01 Lillian Angel <langel@redhat.com>
* tools/gnu/classpath/tools/appletviewer/AppletTag.java
(prependCodebase): Fixed check. No dirname was ever considered to
be a file, so every applet fell into the if-statement causing a lot
of classloading problems with the applets.
2006-06-01 Sven de Marothy <sven@physto.se>
Patch submitted by Boris Dusek.
* native/jni/qt-peer/qtmenupeer.cpp
Fix segfault
2006-06-01 Roman Kennke <kennke@aicas.com>
* javax/swing/JTable.java
(AccessibleJTableCell.getAccessibleRow): Added comment explaining
why the behaviour is like it is.
(AccessibleJTableCell.getAccessibleStateSet): Implemented.
(AccessibleJTableHeader): New inner class.
(AccessibleJTableHeaderCell): New inner class.
(AccessibleJTable.lastSelectedRow): New field.
(AccessibleJTable.lastSelectedColumn): New field.
(AccessibleJTable.caption): New field.
(AccessibleJTable.summary): New field.
(AccessibleJTable.rowDescriptions): New field.
(AccessibleJTable.columnDescriptions): New field.
(AccessibleJTable): Initialize lastSelectedRow and lastSelectedColumn.
(AccessibleJTable.getAccessibleSelection(int)): Implemented.
(AccessibleJTable.isAccessibleChildSelected): Implemented.
(AccessibleJTable.addAccessibleSelection): Implemented.
(AccessibleJTable.removeAccessibleSelection): Implemented.
(AccessibleJTable.clearAccessibleSelection): Implemented.
(AccessibleJTable.selectAllAccessibleSelection): Implemented.
(AccessibleJTable.valueChange): Implemented.
(AccessibleJTable.tableRowsInserted): Implemented.
(AccessibleJTable.tableRowsDeleted): Implemented.
(AccessibleJTable.handleRowChange): New helper method.
(AccessibleJTable.columnAdded): Implemented.
(AccessibleJTable.columnMarginChanged): Implemented.
(AccessibleJTable.columnMoved): Implemented.
(AccessibleJTable.columnRemoved): Implemented.
(AccessibleJTable.columnSelectionChanged): Implemented.
(AccessibleJTable.handleColumnChange): New helper method.
(AccessibleJTable.editingCanceled): Implemented.
(AccessibleJTable.editingStopped): Implemented.
(AccessibleJTable.getAccessibleRow): Implemented.
(AccessibleJTable.getAccessibleColumn): Implemented.
(AccessibleJTable.getAccessibleIndex): Implemented.
(AccessibleJTable.getAccessibleCaption): Implemented.
(AccessibleJTable.setAccessibleCaption): Implemented.
(AccessibleJTable.getAccessibleSummary): Implemented.
(AccessibleJTable.setAccessibleSummary): Implemented.
(AccessibleJTable.getAccessibleRowCount): Implemented.
(AccessibleJTable.getAccessibleColumnCount): Implemented.
(AccessibleJTable.getAccessibleAt): Implemented.
(AccessibleJTable.getAccessibleRowExtentAt): Implemented.
(AccessibleJTable.getAccessibleColumnExtentAt): Implemented.
(AccessibleJTable.getAccessibleRowHeader): Implemented.
(AccessibleJTable.setAccessibleRowHeader): Implemented.
(AccessibleJTable.getAccessibleColumnHeader): Implemented.
(AccessibleJTable.setAccessibleColumnHeader): Implemented.
(AccessibleJTable.getAccessibleRowDescription): Implemented.
(AccessibleJTable.setAccessibleRowDescription): Implemented.
(AccessibleJTable.getAccessibleColumnDescription): Implemented.
(AccessibleJTable.setAccessibleColumnDescription): Implemented.
(AccessibleJTable.isAccessibleSelected): Implemented.
(AccessibleJTable.isAccessibleRowSelected): Implemented.
(AccessibleJTable.isAccessibleColumnSelected): Implemented.
(AccessibleJTable.getSelectedAccessibleRows): Implemented.
(AccessibleJTable.getSelectedAccessibleColumns): Implemented.
(getAccessibleContext): Register listeners for the accessibility
class on the JTable.
2006-06-01 Sven de Marothy <sven@physto.se>
* gnu/java/awt/peer/gtk/CairoGraphics2D.java:
(setPaint): Scale +1 pixel larger.
2006-06-01 Sven de Marothy <sven@physto.se>
PR 27854
* gnu/java/awt/Buffers.java (getData): Reimplement.
* gnu/java/awt/peer/gtk/CairoSurface.java
(getElem, setElem): Call native methods.
2006-06-01 Audrius Meskauskas <AudriusA@Bioinformatics.org>
* gnu/javax/swing/text/html/ImageViewIconFactory.java: New file.
2006-06-01 Sven de Marothy <sven@physto.se>
* gnu/java/awt/peer/gtk/CairoGraphics2D.java
(drawImage): Check for zero size.
* gnu/java/awt/peer/gtk/GdkTextLayout.java:
(setFont): Declare new native method.
(GdkTextLayout): Read some attributes.
* include/gnu_java_awt_peer_gtk_GdkTextLayout.h
* native/jni/gtk-peer/gnu_java_awt_peer_gtk_GdkTextLayout.c
(setFont): New native method.
2006-06-01 Sven de Marothy <sven@physto.se>
* gnu/java/awt/peer/gtk/BufferedImageGraphics.java
(updateBufferedImage): Fix some errors.
2006-06-01 David Gilbert <david.gilbert@object-refinery.com>
* javax/swing/plaf/basic/BasicButtonUI.java: Minor source code style
fixes,
* javax/swing/plaf/basic/BasicDirectoryModel.java: Likewise,
* javax/swing/plaf/basic/BasicFileChooserUI.java: Likewise,
* javax/swing/plaf/basic/BasicIconFactory.java: Likewise,
* javax/swing/plaf/basic/BasicListUI.java: Likewise,
* javax/swing/plaf/basic/BasicOptionPaneUI.java: Likewise,
* javax/swing/plaf/basic/BasicRootPaneUI.java: Likewise,
* javax/swing/plaf/basic/BasicScrollPaneUI.java: Likewise,
* javax/swing/plaf/basic/BasicSpinnerUI.java: Likewise,
* javax/swing/plaf/basic/BasicTabbedPaneUI.java: Likewise,
* javax/swing/plaf/basic/BasicTextAreaUI.java: Likewise.
2006-06-01 David Gilbert <david.gilbert@object-refinery.com>
* javax/swing/JComboBox.java: Minor source code formatting fixes,
* javax/swing/JEditorPane.java: Likewise,
* javax/swing/JFormattedTextField.java: Likewise,
* javax/swing/JLayeredPane.java: Likewise,
* javax/swing/JScrollPane.java: Likewise,
* javax/swing/JSlider.java: Likewise,
* javax/swing/JSpinner.java: Likewise,
* javax/swing/JTree.java: Likewise,
* javax/swing/JViewport.java: Likewise,
* javax/swing/UIDefaults.java: Likewise,
* javax/swing/UIManager.java: Likewise.
2006-06-01 Sven de Marothy <sven@physto.se>
* gnu/java/awt/peer/gtk/BufferedImageGraphics.java
(BufferedImageGraphics): Cache surfaces.
(updateBufferedImage): Copy directly for certain color models.
* gnu/java/awt/peer/gtk/CairoGraphics2D.java
(drawImage): Reimplement.
2006-06-01 Sven de Marothy <sven@physto.se>
* native/jni/gtk-peer/gnu_java_awt_peer_gtk_CairoSurface.c
(setPixels): Don't swap, correct size.
2006-05-31 Anthony Green <green@redhat.com>
PR 27828
* java/net/InetSocketAddress.java: Defer getting the host
name until somebody calls InetSocketAddress.getHostName().
Fix "represenation" typo.
2006-06-01 Sven de Marothy <sven@physto.se>
* gnu/java/awt/peer/gtk/BufferedImageGraphics.java
(updateBufferedImage): Simplify.
* native/jni/gtk-peer/gnu_java_awt_peer_gtk_CairoSurface.c
(getPixels): Don't swap.
2006-06-01 Sven de Marothy <sven@physto.se>
* native/jni/gtk-peer/gnu_java_awt_peer_gtk_CairoGraphics2D.c
(setGradient): Reimplement.
2006-06-01 Andreas Tobler <a.tobler@schweiz.ch>
* native/jni/gtk-peer/cairographics2d.h: Rename/prefix function
CairoGraphics2D_getCairoT to cp_gtk_get_cairo_t correctly.
* native/jni/gtk-peer/gnu_java_awt_peer_gtk_CairoSurface.c
(Java_gnu_java_awt_peer_gtk_CairoSurface_drawSurface): Rename function
CairoGraphics2D_getCairoT to cp_gtk_get_cairo_t.
* native/jni/gtk-peer/gnu_java_awt_peer_gtk_GdkTextLayout.c
(Java_gnu_java_awt_peer_gtk_GdkTextLayout_cairoDrawGdkTextLayout):
Likewise.
2006-05-31 David Gilbert <david.gilbert@object-refinery.com>
* javax/swing/table/JTableHeader.java
(getColumnHeaderRenderer): New method,
(getAccessibleColumnHeaderRenderer): Delegate part to new
getColumnHeaderRenderer() method,
(getLocale): Implemented.
2006-05-31 Andreas Tobler <a.tobler@schweiz.ch>
* native/jni/gtk-peer/gnu_java_awt_peer_gtk_ComponentGraphics.c
(cp_gtk_grab_current_drawable): Rename
cp_java_awt_peer_gtk_ComponentGraphics_grab_current_drawable to
cp_gtk_grab_current_drawable, remove static declaration.
(Java_gnu_java_awt_peer_gtk_ComponentGraphics_initState): Renamed above
function.
(Java_gnu_java_awt_peer_gtk_ComponentGraphics_copyAreaNative): Likewise.
* native/jni/gtk-peer/gnu_java_awt_peer_gtk_ComponentGraphicsCopy.c:
Remove prototype of
cp_java_awt_peer_gtk_ComponentGraphics_grab_current_drawable.
(Java_gnu_java_awt_peer_gtk_ComponentGraphicsCopy_getPixbuf): Rename
function.
(Java_gnu_java_awt_peer_gtk_ComponentGraphicsCopy_copyPixbuf): Likewise.
* native/jni/gtk-peer/gtkpeer.h: Add prototype for
cp_gtk_grab_current_drawable here.
2006-05-31 Sven de Marothy <sven@physto.se>
Should fix PR 27835
* gnu/java/awt/peer/gtk/BufferedImageGraphics.java
(updateBufferedImage): Keep within image bounds.
2006-05-31 Thomas Fitzsimmons <fitzsim@redhat.com>
Andreas Tobler <a.tobler@schweiz.ch>
* configure.ac: Check for libXrender when the GTK peers are
enabled, and set HAVE_XRENDER accordingly. Add -lXrender to
X_EXTRA_LIBS.
* native/jni/gtk-peer/gnu_java_awt_peer_gtk_ComponentGraphics.c
(Java_gnu_java_awt_peer_gtk_ComponentGraphics_hasXRender)
[HAVE_XRENDER]: Call XRenderQueryExtension conditionally.
2006-05-31 Lillian Angel <langel@redhat.com>
* javax/swing/plaf/basic/BasicProgressBarUI.java
(paintString): Implemented to paint the string vertically.
2006-05-31 David Gilbert <david.gilbert@object-refinery.com>
* javax/swing/JTable.java
(AccessibleJTable.AccessibleJTable()): Check for null editor,
(AccessibleJTable.getAccessibleRole()): Overridden to return correct
value,
(AccessibleJTable.getAccessibleTable()): Likewise,
(getAccessibleContext): Create new context if required.
2006-05-31 Roman Kennke <kennke@aicas.com>
* javax/swing/JTabbedPane.java
(AccessibleJTabbedPane.stateChanged): Implemented.
(Page.getAccessibleStateSet): Implemented.
(Page.getAccessibleIndexInParent): Implemented.
(getAccessibleContext): Add AccessibleJTabbedPane object
as ChangeListener to the JTabbedPane.
2006-05-31 Roman Kennke <kennke@aicas.com>
* javax/swing/JMenuItem.java
(getAccessibleContext): Register accessible object as ChangeListener
to the JMenuItem.
(AccessibleJMenuItem.armed): New field.
(AccessibleJMenuItem.focusOwner): New field.
(AccessibleJMenuItem.pressed): New field.
(AccessibleJMenuItem.selected): New field.
(stateChanged): Implemented.
2006-05-31 David Gilbert <david.gilbert@object-refinery.com>
* javax/swing/ListSelectionModel.java: Added API docs all over.
2006-05-31 Audrius Meskauskas <AudriusA@Bioinformatics.org>
* examples/gnu/classpath/examples/swing/FillRect.java
(paintComponent): Optionally paint lines rather than rectangles.
(createContent): Added option to test line painting.
2006-05-31 David Gilbert <david.gilbert@object-refinery.com>
* javax/swing/event/EventListenerList.java
(getListenerList): Updated API docs.
2006-05-30 Sven de Marothy <sven@physto.se>
* gnu/java/awt/peer/gtk/CairoGraphics2D.java
(drawImage): Clip scaled image to dest rectangle.
2006-05-30 Sven de Marothy <sven@physto.se>
* gnu/java/awt/peer/gtk/CairoSurface.java:
(CairoSurface): Convert pixels properly.
* gnu/java/awt/peer/gtk/ComponentGraphics.java
Remove commented-out lines.
2006-05-30 Sven de Marothy <sven@physto.se>
* gnu/java/awt/peer/gtk/CairoGraphics2D.java
(drawImage): Use Toolkit to convert to BufferedImage.
* gnu/java/awt/peer/gtk/CairoSurface.java
(CairoSurface(GtkImage)): New Constructor.
(getBufferedImage): New method.
* gnu/java/awt/peer/gtk/ComponentGraphics.java
Don't fill background - FIXME.
* gnu/java/awt/peer/gtk/GdkPixbufDecoder.java:
Remove unused methods.
* gnu/java/awt/peer/gtk/GtkImage.java:
(pixbuflock): New field. Methods change to use this lock.
* gnu/java/awt/peer/gtk/GtkToolkit.java
(createImage): Use Cairo-backed surfaces via GtkImage instead of
GtkPixbufDecoder.
* native/jni/gtk-peer/gnu_java_awt_peer_gtk_CairoSurface.c
(setPixels): Correct length in bytes.
2006-05-30 Thomas Fitzsimmons <fitzsim@redhat.com>
* gnu/java/awt/peer/gtk/CairoGraphics2D.java (static): Call
System.loadLibrary unconditionally.
* gnu/java/awt/peer/gtk/GdkFontPeer.java: Likewise.
* gnu/java/awt/peer/gtk/GdkPixbufDecoder.java: Likewise.
* gnu/java/awt/peer/gtk/GdkTextLayout.java: Likewise.
* gnu/java/awt/peer/gtk/GtkToolkit.java: Likewise.
2006-05-30 Mark Wielaard <mark@klomp.org>
* native/jni/gtk-peer/gnu_java_awt_peer_gtk_ComponentGraphics.c
(Java_gnu_java_awt_peer_gtk_ComponentGraphics_copyAreaNative):
Mark unused parameters, remove unused variables.
2006-05-30 Sven de Marothy <sven@physto.se>
* gnu/java/awt/peer/gtk/ComponentGraphics.java
(copyArea): Implemented.
* include/gnu_java_awt_peer_gtk_ComponentGraphics.h
* native/jni/gtk-peer/gnu_java_awt_peer_gtk_ComponentGraphics.c:
(copyAreaNative): New method.
2006-05-30 Andreas Tobler <a.tobler@schweiz.ch>
* native/jni/gtk-peer/gnu_java_awt_peer_gtk_CairoSurface.c
(Java_gnu_java_awt_peer_gtk_CairoSurface_getPixels): Define i only
for non big endian systems.
(Java_gnu_java_awt_peer_gtk_CairoSurface_setPixels): Likewise.
2006-05-30 Roman Kennke <kennke@aicas.com>
* gnu/java/awt/java2d/TexturePaintContext.java: New file.
* java/awt/TexturePaint.java
(createContext): Implemented.
2006-05-30 Robert Schuster <robertschuster@fsfe.org>
* javax/swing/table/DefaultTableMode.java: Initialize dataVector
field early.
2006-05-30 Robert Schuster <robertschuster@fsfe.org>
* java/awt/Container.java:
(removeAll): Reimplemented, added note.
2006-05-30 Robert Schuster <robertschuster@fsfe.org>
* java/awt/Container.java:
(removeAll): Implemented different removal mechanism, added note.
2006-05-30 Lillian Angel <langel@redhat.com>
PR 27785
* java/awt/Component.java:
(translateEvent): Added handling to translate WindowEvents
* java/awt/Window.java:
Removed unneeded imports.
2006-05-30 Mark Wielaard <mark@klomp.org>
* native/jni/gtk-peer/Makefile.am (libgtkpeer_la_SOURCES): Add
cairographics2d.h.
2006-05-30 Thomas Fitzsimmons <fitzsim@redhat.com>
* gnu/java/awt/peer/gtk/GtkImage.java: Fix constructor javadoc.
2006-05-29 Audrius Meskauskas <AudriusA@Bioinformatics.org>
* gnu/java/awt/peer/gtk/CairoGraphics2D.java
(clearRect): Do not reuse the fg field, call updateColor.
(drawRaster): Likewise.
(setColor): Call updateColor.
(updateColor): New method.
2006-05-30 Mark Wielaard <mark@klomp.org>
* native/jni/classpath/jcl.h (JLONG_TO_PTR): New macro.
(PTR_TO_JLONG): Likewise.
* native/jni/gtk-peer/gnu_java_awt_peer_gtk_CairoGraphics2D.c
(getPointer): Use new conversion macros.
(Java_gnu_java_awt_peer_gtk_CairoGraphics2D_init): Likewise.
* native/jni/gtk-peer/gnu_java_awt_peer_gtk_CairoSurface.c
(Java_gnu_java_awt_peer_gtk_CairoSurface_newCairoContext):
Likewise.
(setNativeObject): Likewise.
(getNativeObject): Likewise.
* native/jni/gtk-peer/gnu_java_awt_peer_gtk_ComponentGraphics.c
(cp_java_awt_peer_gtk_ComponentGraphics_grab_current_drawable):
Mark static.
(Java_gnu_java_awt_peer_gtk_ComponentGraphics_initState):
Correctly cast XID and pointer values.
* native/jni/gtk-peer/gnu_java_awt_peer_gtk_ComponentGraphicsCopy.c
(Java_gnu_java_awt_peer_gtk_ComponentGraphicsCopy_getPixbuf):
Mark unused variables.
(Java_gnu_java_awt_peer_gtk_ComponentGraphicsCopy_copyPixbuf):
Likewise.
* native/jni/gtk-peer/gnu_java_awt_peer_gtk_GdkTextLayout.c
(Java_gnu_java_awt_peer_gtk_GdkTextLayout_cairoDrawGdkTextLayout):
Remove unused cairographics2d struct.
(_moveTo, _lineTo, _quadTo, _curveTo): Mark arguments const.
(Java_gnu_java_awt_peer_gtk_GtkImage_initFromBuffer):
Use new conversion macros.
* native/jni/midi-dssi/dssi_data.h: Move conversion macros to jcl.h.
2006-05-30 Mark Wielaard <mark@klomp.org>
* include/Makefile.am (gnu_java_nio_VMChannel.h): Added.
2006-05-29 Audrius Meskauskas <AudriusA@Bioinformatics.org>
* gnu/java/awt/peer/gtk/CairoGraphics2D.java
(copy): Do not reuse the fd field.
(setColor): Do not set the color if the parameter
matches fd field.
(translate(double, double): Rewritten to use
AffineTransform.translate.
2006-05-30 Sven de Marothy <sven@physto.se>
* gnu/java/awt/peer/gtk/ComponentGraphicsCopy.java
* include/gnu_java_awt_peer_gtk_ComponentGraphicsCopy.h
* native/jni/gtk-peer/gnu_java_awt_peer_gtk_ComponentGraphicsCopy.c
New files.
* include/Makefile.am
* native/jni/gtk-peer/Makefile.am
Add new files.
* gnu/java/awt/peer/gtk/CairoSurface.java
(getSharedGtkImage): New method.
* gnu/java/awt/peer/gtk/CairoSurfaceGraphics.java
* native/jni/gtk-peer/gnu_java_awt_peer_gtk_CairoSurface.c
Fix copyArea.
* gnu/java/awt/peer/gtk/ComponentGraphics.java
Support a non-xrender context.
* native/jni/gtk-peer/gnu_java_awt_peer_gtk_ComponentGraphics.c
Plug memory leak.
* gnu/java/awt/peer/gtk/GtkImage.java
* include/gnu_java_awt_peer_gtk_GtkImage.h
* native/jni/gtk-peer/gnu_java_awt_peer_gtk_GtkImage.c
(initFromBuffer): New method.
* native/jni/gtk-peer/gtkpeer.h:
Remove declarations of previouslyremoved methods.
2006-05-29 Thomas Fitzsimmons <fitzsim@redhat.com>
* tools/Makefile.am [FOUND_CACAO] (LIBJVM): Define to -ljvm.
2006-05-29 Mark Wielaard <mark@klomp.org>
* native/jni/gtk-peer/gnu_java_awt_peer_gtk_CairoGraphics2D.c
(Java_gnu_java_awt_peer_gtk_CairoGraphics2D_init): Mark unused
arguments.
* native/jni/gtk-peer/gnu_java_awt_peer_gtk_CairoSurface.c
(Java_gnu_java_awt_peer_gtk_CairoSurface_setPixels): Declare size
early. Remove unused return statement in void function.
(Java_gnu_java_awt_peer_gtk_CairoSurface_newCairoContext): Declare
ptr early.
* native/jni/gtk-peer/gnu_java_awt_peer_gtk_ComponentGraphics.c
(Java_gnu_java_awt_peer_gtk_ComponentGraphics_hasXRender): Mark
unused arguments.
(Java_gnu_java_awt_peer_gtk_ComponentGraphics_initState): Likewise.
(Java_gnu_java_awt_peer_gtk_ComponentGraphics_start_1gdk_1drawing):
Likewise.
(Java_gnu_java_awt_peer_gtk_ComponentGraphics_end_1gdk_1drawing):
Likewise.
2006-05-29 Sven de Marothy <sven@physto.se>
* native/jni/gtk-peer/gnu_java_awt_peer_gtk_CairoSurface.c
(setPixels): Remove superfluous return statement.
2006-05-29 Sven de Marothy <sven@physto.se>
* gnu/java/awt/peer/gtk/BufferedImageGraphics.java
* gnu/java/awt/peer/gtk/CairoGraphics2D.java
* gnu/java/awt/peer/gtk/CairoSurface.java
* gnu/java/awt/peer/gtk/CairoSurfaceGraphics.java
* gnu/java/awt/peer/gtk/ComponentGraphics.java
* include/gnu_java_awt_peer_gtk_CairoGraphics2D.h
* include/gnu_java_awt_peer_gtk_CairoSurface.h
* include/gnu_java_awt_peer_gtk_ComponentGraphics.h
* native/jni/gtk-peer/cairographics2d.h
* native/jni/gtk-peer/gnu_java_awt_peer_gtk_CairoGraphics2D.c
* native/jni/gtk-peer/gnu_java_awt_peer_gtk_ComponentGraphics.c
New files.
* gnu/java/awt/peer/gtk/GdkGraphics2D.java
* native/jni/gtk-peer/gnu_java_awt_peer_gtk_GdkGraphics2D.c
* include/gnu_java_awt_peer_gtk_GdkGraphics2D.h
Removed
* include/gnu_java_awt_peer_gtk_GdkFontPeer.h
* native/jni/gtk-peer/gnu_java_awt_peer_gtk_GdkFontPeer.c
* gnu/java/awt/peer/gtk/GdkFontPeer.java
(releasePeerGraphicsResource): Moved to Font peer class.
* gnu/java/awt/peer/gtk/GdkGraphicsEnvironment.java
(createGraphics): Use new context classes.
* gnu/java/awt/peer/gtk/GdkPixbufDecoder.java:
Use native BufferedImages where possible.
* gnu/java/awt/peer/gtk/GdkTextLayout.java
* include/gnu_java_awt_peer_gtk_GdkTextLayout.h
* native/jni/gtk-peer/gnu_java_awt_peer_gtk_GdkTextLayout.c
Move GdkGraphics2D.drawGdkTextLayout to the GdkTextLayout class,
renamed to cairoDrawGdkTextLayout.
* gnu/java/awt/peer/gtk/GtkComponentPeer.java
(getGraphics): Use ComponentGraphics context.
(createImage): Use native BufferedImage.
* gnu/java/awt/peer/gtk/GtkImage.java:
* include/gnu_java_awt_peer_gtk_GtkImage.h
* native/jni/gtk-peer/gnu_java_awt_peer_gtk_GtkImage.c
Remove pixmap support. (GtkImage(int, int) constructor, getGraphics)
Remove drawing methods.
* gnu/java/awt/print/JavaPrinterGraphics.java:
Use CairoSurface instead of GtkImage.
* include/Makefile.am
* native/jni/gtk-peer/Makefile.am
Update for new files.
* native/jni/gtk-peer/gnu_java_awt_peer_gtk_GtkClipboard.c
* native/jni/gtk-peer/gnu_java_awt_peer_gtk_GtkFramePeer.c
Remove superfluous GtkImage code for GdkPixmaps.
* native/jni/gtk-peer/gtkpeer.h
Remove graphics2d structure.
2006-05-29 Audrius Meskauskas <AudriusA@Bioinformatics.org>
* gnu/java/awt/peer/gtk/GdkGraphics2D.java (copying constructor):
Do not reuse fg in the constructor.
2006-05-29 Carsten Neumann <cn-develop@gmx.net>
* java/io/ObjectStreamConstants.java: Added API docs.
2006-05-29 Audrius Meskauskas <AudriusA@Bioinformatics.org>
* gnu/java/awt/peer/gtk/GdkGraphics2D.java (setColor):
Take no action if this color is already set.
2006-05-29 Audrius Meskauskas <AudriusA@Bioinformatics.org>
* gnu/java/awt/peer/gtk/GdkGraphics2D.java (translate):
Rewritten.
* examples/gnu/classpath/examples/swing/FillRect.java (paintComponent):
Optionally paint with translation. (createContent): Added option
to test painting with translation
2006-05-29 Raif S. Naffah <raif@swiftdsl.com.au>
* java/util/logging/FileHandler.java (FileHandler): Set the instance field
pattern to the default value when null.
Pass field pattern, and not parameter with same name to createFileStream.
2006-05-28 Andrew John Hughes <gnu_andrew@member.fsf.org>
* gnu/java/lang/management/OperatingSystemMXBeanImpl.java:
New class implementing the OS bean.
* gnu/java/lang/management/package.html:
New file to document the gnu.java.lang.management package.
* java/lang/management/ManagementFactory.java:
New class to provide access to the OS bean.
* java/lang/management/OperatingSystemMXBean.java:
New interface.
* java/lang/management/package.html:
New file to document the java.lang.management package.
2006-05-28 Raif S. Naffah <raif@swiftdsl.com.au>
* tools/gnu/classpath/tools/keytool/ImportCmd.java (GKR): New constant.
(JKS): Likewise.
(LIB): Likewise.
(SECURITY): Likewise.
(CACERTS): Likewise.
(CACERTS_GKR): Likewise.
(gkrCaCertsPathName): New field.
(jksCaCertsPathName): Likewise.
(selfSignedCertificate): Likewise.
(start): Initialize trusted certificate key stores if -trustcacerts is
specified.
(ensureReplyIsOurs): Initialize selfSignedCertificate.
(orderChain): Implemented.
(findTrustAndUpdate): Check a cacerts.gkr (GKR) and a cacert (JKS) trusted
certificate key stores if -trustcacerts option is specified.
(findTrustInCACerts): Removed.
(getCertPathParameters): New method.
(validate): New method.
* resource/gnu/classpath/tools/keytool/messages.properties: Added message.
2006-05-28 Raif S. Naffah <raif@swiftdsl.com.au>
* java/util/logging/FileHandler.java (PROPERTY_PREFIX): New constant.
(PATTERN_KEY): Likewise.
(DEFAULT_PATTERN): Likewise.
(LIMIT_KEY): Likewise.
(DEFAULT_LIMIT): Likewise.
(COUNT_KEY): Likewise.
(DEFAULT_COUNT): Likewise.
(APPEND_KEY): Likewise.
(DEFAULT_APPEND): Likewise.
(FileHandler()): Use pattern value as set in logging.properties.
Use constants defined above.
(FileHandler(1)): Use constants defined above.
(FileHandler(2)): Likewise.
(FileHandler(3)): Likewise.
(FileHandler(4)): Likewise.
(createFileStream): Likewise.
2006-05-28 Raif S. Naffah <raif@swiftdsl.com.au>
* java/util/logging/FileHandler.java: Reverted previous patch.
* java/util/logging/LogManager.java: Likewise.
2006-05-28 Raif S. Naffah <raif@swiftdsl.com.au>
* java/util/logging/FileHandler.java (PATTERN_KEY): New constant.
(DEFAULT_PATTERN): Likewise.
(FileHandler()): Use configured pattern property if any; otherwise use a
default value as per RI documentation.
* java/util/logging/LogManager.java (getStringProperty): New method.
2006-05-27 Thomas Fitzsimmons <fitzsim@redhat.com>
* NEWS: Announce libjawtgnu.so-to-libjawt.so rename.
2006-05-27 Thomas Fitzsimmons <fitzsim@redhat.com>
* configure.ac (FOUND_CACAO): New automake conditional.
Add --enable-tool-wrappers.
* NEWS: Introduce the --enable-tool-wrappers option.
* tools/Makefile.am[CREATE_WRAPPERS]: Build wrapper binaries.
* tools/appletviewer.c: Remove file. Make tool-indepedent and
rename ...
* tools/toolwrapper.c: New file.
2006-05-27 Dalibor Topic <robilad@kaffe.org>
* java/awt/Graphics2D.java: Use full class name for
PrinterJob in javadoc.
2006-05-27 Andreas Tobler <a.tobler@schweiz.ch>
* native/jni/qt-peer/eventmethods.h (callVoidMethod): Silence warning.
(callMouseMethod): Likewise.
2006-05-26 Andrew John Hughes <gnu_andrew@member.fsf.org>
* native/jni/java-net/java_net_VMURLConnection.c:
Fix function declarations to specify unused parameters.
* scripts/check_jni_methods.sh:
Remove copies of the same function using uniq.
2006-05-26 Andrew John Hughes <gnu_andrew@member.fsf.org>
* vm/reference/java/net/VMURLConnection.java:
Make package-private and final.
2006-05-27 Audrius Meskauskas <AudriusA@Bioinformatics.org>
* examples/gnu/classpath/examples/swing/TableDemo.java
(TModed): Added editor for the icons column.
(createContent): Increase the row height by 2 px.
2006-05-26 Tom Tromey <tromey@redhat.com>
PR classpath/27685:
* java/math/BigInteger.java (modPow): Correctly handle negative
exponent.
2006-05-26 Tom Tromey <tromey@redhat.com>
* configure.ac: Check for magic.h and -lmagic.
* vm/reference/java/net/VMURLConnection.java: New file.
* include/java_net_VMURLConnection.h: New file.
* include/Makefile.am (H_FILES): Add VMURLConnection.h.
($(top_srcdir)/include/java_net_VMURLConnection.h): New target.
* native/jni/java-net/Makefile.am (libjavanet_la_SOURCES):
Mention new file.
(libjavanet_la_LIBADD): Add $(LIBMAGIC).
* native/jni/java-net/java_net_VMURLConnection.c: New file.
2006-05-26 Thomas Fitzsimmons <fitzsim@redhat.com>
* tools/Makefile.am (installcheck-binSCRIPTS): Do nothing.
2006-05-26 Thomas Fitzsimmons <fitzsim@redhat.com>
* native/jawt/Makefile.am (nativeexeclib_LTLIBRARIES): Rename
libjawtgnu.la libjawt.la.
2006-05-26 Thomas Fitzsimmons <fitzsim@redhat.com>
* native/jni/gtk-peer/Makefile.am (libgtkpeer_la_SOURCES): Remove
gtkcairopeer.h.
2006-05-25 Lillian Angel <langel@redhat.com>
PR 26174
* java/awt/Window.java
(Window): Moved code to helper.
(addWindowFocusListener): New function. Handles focus
listener code. Added code to handle focus lost/gained
from the window.
2006-05-25 Andrew John Hughes <gnu_andrew@member.fsf.org>
* configure.ac:
Make pkg-config check for GTK+ >= 2.8.
2006-05-25 Thomas Fitzsimmons <fitzsim@redhat.com>
* native/jni/gtk-peer/gnu_java_awt_peer_gtk_GdkGraphics2D.c
(flush): Remove debugging printfs.
2006-05-25 Thomas Fitzsimmons <fitzsim@redhat.com>
* native/jni/gtk-peer/gnu_java_awt_peer_gtk_GdkGraphics2D.c
(schedule_flush): New function.
(end_drawing_operation): Call schedule_flush.
2006-05-25 Thomas Fitzsimmons <fitzsim@redhat.com>
* examples/gnu/classpath/examples/swing/Demo.java: Add FillRect
paint performance demo.
* examples/gnu/classpath/examples/swing/FillRect.java: New file.
2006-05-25 Thomas Fitzsimmons <fitzsim@redhat.com>
* INSTALL: Bump GTK requirement to 2.8 or higher. Do not mention
Cairo version requirement. Do not mention --enable-gtk-cairo
configure option.
* NEWS: Add entry for GdkGraphics2D.
* configure.ac: Remove --enable-gtk-cairo and explicit checks for
Cairo library and headers.
* .externalToolBuilders/Configure.launch: Remove
--enable-gtk-cairo from configure line.
* gnu/classpath/Configuration.java.in (GTK_CAIRO_ENABLED): Remove
field.
* gnu/java/awt/BitwiseXORComposite.java: Fix javadoc typo.
* gnu/java/awt/peer/gtk/GdkFontPeer.java,
native/jni/gtk-peer/gnu_java_awt_peer_gtk_GdkFontPeer.c : Remove
useGraphics2D references. Always assume Graphics2D is enabled.
* gnu/java/awt/peer/gtk/GdkGraphics.java,
native/jni/gtk-peer/gnu_java_awt_peer_gtk_GdkGraphics.c: Remove.
* gnu/java/awt/peer/gtk/GdkGraphics2D.java,
native/jni/gtk-peer/gnu_java_awt_peer_gtk_GdkGraphics2D.c: Remove
Unlocked method variants. Remove GTK_CAIRO_ENABLED and
useGraphics2D references. Always assume Graphics2D is enabled.
* gnu/java/awt/peer/gtk/GdkTextLayout.java: Remove instanceof
Graphics2D check. Always assume Graphics2D is enabled.
* gnu/java/awt/peer/gtk/GtkCanvasPeer.java,
native/jni/gtk-peer/gnu_java_awt_peer_gtk_GtkCanvasPeer.c
(realize): Remove method.
* gnu/java/awt/peer/gtk/GtkComponentPeer.java,
native/jni/gtk-peer/gnu_java_awt_peer_gtk_GtkComponentPeer.c
(isRealized): Remove method.
(realize): Implement as a native method. Remove useGraphics2D
references. Always assume Graphics2D is enabled.
* gnu/java/awt/peer/gtk/GtkImage.java,
native/jni/gtk-peer/gnu_java_awt_peer_gtk_GtkImage.c: Replace
GdkGraphics references with GdkGraphics2D references.
* gnu/java/awt/peer/gtk/GtkToolkit.java,
native/jni/gtk-peer/gnu_java_awt_peer_gtk_GtkToolkit.c: Remove
useGraphics2D references. Always assume Graphics2D is enabled.
* include/Makefile.am (GTKPEER_H_FILES): Remove
gnu_java_awt_peer_gtk_GdkGraphics.h.
* include/gnu_java_awt_peer_gtk_GdkFontPeer.h: Regenerate.
* include/gnu_java_awt_peer_gtk_GdkGraphics.h: Remove.
* include/gnu_java_awt_peer_gtk_GdkGraphics2D.h: Regenerate.
* include/gnu_java_awt_peer_gtk_GtkCanvasPeer.h: Likewise.
* include/gnu_java_awt_peer_gtk_GtkComponentPeer.h: Likewise.
* native/jawt/Makefile.am (AM_LDFLAGS): Remove CAIRO_LIBS.
* native/jni/gtk-peer/Makefile.am (libgtkpeer_la_SOURCES): Remove
gnu_java_awt_peer_gtk_GdkGraphics.c. Include
gnu_java_awt_peer_gtk_GdkGraphics2D.c unconditionally.
(AM_LDFLAGS): Remove CAIRO_LIBS.
(AM_CFLAGS): Remove CAIRO_CFLAGS.
* native/jni/gtk-peer/gtkcairopeer.h: Remove. Move declarations
to ...
* native/jni/gtk-peer/gtkpeer.h: Add Graphics2D declarations.
2006-05-25 Lillian Angel <langel@redhat.com>
* native/jni/gtk-peer/gnu_java_awt_peer_gtk_GtkComponentPeer.c
(Java_gnu_java_awt_peer_gtk_GtkComponentPeer_gtkWidgetSetCursorUnlocked):
Added check to prevent assertion error. If widget->window is null, then
use the parent widget's window to set the cursor on.
2006-05-25 Audrius Meskauskas <AudriusA@Bioinformatics.org>
* javax/swing/plaf/basic/BasicTreeUI.java (TreeCancelEditingAction):
Implemented.
2006-05-24 Lillian Angel <langel@redhat.com>
* tools/gnu/classpath/tools/appletviewer/AppletTag.java
(prependCodeBase): Added check to determine if the documentbase
points to a directory or a file.
2006-05-24 Sven de Marothy <sven@physto.se>
* java/awt/dnd/DragGestureRecognizer.java
(resetRecognizer): Implement.
(fireDragGestureRecognized): Implement.
2006-05-24 David Gilbert <david.gilbert@object-refinery.com>
* javax/swing/plaf/basic/BasicComboBoxUI.java: Marked stub methods and
fixed source code formatting.
2006-05-24 Audrius Meskauskas <AudriusA@Bioinformatics.org>
* javax/swing/JTable.java (valueChanged): If is editing, stop editing.
2006-05-24 Audrius Meskauskas <AudriusA@Bioinformatics.org>
Reported by Antony Balkisson.
* javax/swing/JTable.java (selectAll): Return without action
if the table is empty.
2006-05-23 Audrius Meskauskas <AudriusA@Bioinformatics.org>
* examples/gnu/classpath/examples/swing/TableDemo.java:
(SliderCell): New inner class. (setCustomEditors,
setInformativeHeaders): New fields. (createContent):
Rewritten.
* javax/swing/DefaultCellEditor.java
(JComboBoxDelegate.shouldSelectCell): New method.
* javax/swing/JTable.java (editCellAt): Call shouldSelectCell.
* javax/swing/plaf/basic/BasicTableUI.java
(MouseInputHandler.mouseClicked): Start editing on a single
click if the cell editor is not a default cell editor.
2006-05-23 Audrius Meskauskas <AudriusA@Bioinformatics.org>
* javax/swing/naming/CompositeName.java,
javax/swing/naming/CompoundName.java:
Documented.
2006-05-23 Archie Cobbs <archie@dellroad.org>
* vm/reference/java/lang/VMClassLoader.java: fix static initializer
ordering problem.
2006-05-23 David Gilbert <david.gilbert@object-refinery.com>
* javax/swing/tree/AbstractLayoutCache.java: Coding style fixes,
* javax/swing/tree/DefaultMutableTreeNode.java: Likewise,
* javax/swing/tree/DefaultTreeCellRenderer.java: Likewise,
* javax/swing/tree/DefaultTreeModel.java: Likewise,
* javax/swing/tree/DefaultTreeSelectionModel.java: Likewise,
* javax/swing/tree/ExpandVetoException.java: Likewise,
* javax/swing/tree/FixedHeightLayoutCache.java: Likewise,
* javax/swing/tree/RowMapper.java: Likewise,
* javax/swing/tree/TreeNode.java: Likewise,
* javax/swing/tree/TreeSelectionModel.java: Likewise,
* javax/swing/tree/VariableHeightLayoutCache.java: Likewise.
2006-05-23 David Gilbert <david.gilbert@object-refinery.com>
* javax/swing/tree/DefaultTreeCellRenderer.java
(DefaultTreeCellRenderer): Changed key for
setBackgroundNonSelectionColor(),
plus API docs all over.
2006-05-23 Audrius Meskauskas <AudriusA@Bioinformatics.org>
PR 27680
* javax/swing/JTable.java (booleanInvertingEditor): New field.
(defaultEditorsByColumnClass, defaultRenderersByColumnClass):
Initialise in constructor. (columnMoved): Cancel editing.
(createDefaultEditors): Rewritten. (editCellAt):
Just invert the value if this is a boolean cell.
(initialiseLocalVars): Do not initialise renderer and editor tables.
(setUI): Create editors and renderers here.
2006-05-23 Robert Schuster <robertschuster@fsfe.org>
* examples/gnu/classpath/examples/awt/Demo.java:
(MainWindow.MainWindow): Added ResolutionWindow and FullscreenWindow
instance as subframe.
(ResolutionWindow): New inner class.
(FullscreenWindow): New inner class.
2006-05-23 Audrius Meskauskas <AudriusA@Bioinformatics.org>
PR 27680
* javax/swing/JTable.java (BooleanCellRenderer, IconCellRenderer):
Set horizontal alignment to centered.
2006-05-22 David Gilbert <david.gilbert@object-refinery.com>
* javax/accessibility/AccessibleContext.java
(getAccessibleComponent): Fixed typo in docs,
* javax/swing/JLabel.java:
(AccessibleJLabel.getAccessibleName): Check for explicit
accessibleName,
* javax/swing/JTableHeader.java
(AccessibleJTableHeaderEntry.columnIndex): New field,
(AccessibleJTableHeaderEntry.parent): New field,
(AccessibleJTableHeaderEntry.table): New field,
(AccessibleJTableHeaderEntry.AccessibleJTableHeaderEntry()):
Implemented,
(AccessibleJTableHeaderEntry.getAccessibleColumnHeaderRenderer): New
utility method,
(AccessibleJTableHeaderEntry.addFocusListener): Implemented,
(AccessibleJTableHeaderEntry.addPropertyChangeListener): Implemented,
(AccessibleJTableHeaderEntry.contains): Implemented,
(AccessibleJTableHeaderEntry.getAccessibleAction): Implemented,
(AccessibleJTableHeaderEntry.getAccessibleAt): Implemented,
(AccessibleJTableHeaderEntry.getAccessibleChild): Implemented,
(AccessibleJTableHeaderEntry.getAccessibleChildrenCount): Implemented,
(AccessibleJTableHeaderEntry.getAccessibleComponent): Implemented,
(AccessibleJTableHeaderEntry.getAccessibleContext): Implemented,
(AccessibleJTableHeaderEntry.getAccessibleDescription): Implemented,
(AccessibleJTableHeaderEntry.getAccessibleIndexInParent): Implemented,
(AccessibleJTableHeaderEntry.getAccessibleName): Implemented,
(AccessibleJTableHeaderEntry.getAccessibleRole): Implemented,
(AccessibleJTableHeaderEntry.getAccessibleSelection): Implemented,
(AccessibleJTableHeaderEntry.getAccessibleStateSet): Implemented,
(AccessibleJTableHeaderEntry.getAccessibleText): Implemented,
(AccessibleJTableHeaderEntry.getAccessibleValue): Implemented,
(AccessibleJTableHeaderEntry.getBackground): Implemented,
(AccessibleJTableHeaderEntry.getBounds): Implemented,
(AccessibleJTableHeaderEntry.getCursor): Implemented,
(AccessibleJTableHeaderEntry.getFont): Implemented,
(AccessibleJTableHeaderEntry.getFontMetrics): Implemented,
(AccessibleJTableHeaderEntry.getForeground): Implemented,
(AccessibleJTableHeaderEntry.getLocation): Implemented,
(AccessibleJTableHeaderEntry.getLocationOnScreen): Implemented,
(AccessibleJTableHeaderEntry.getSize): Implemented,
(AccessibleJTableHeaderEntry.isEnabled): Implemented,
(AccessibleJTableHeaderEntry.isFocusTraversable): Implemented,
(AccessibleJTableHeaderEntry.isShowing): Implemented,
(AccessibleJTableHeaderEntry.isVisible): Implemented,
(AccessibleJTableHeaderEntry.removeFocusListener): Implemented,
(AccessibleJTableHeaderEntry.removePropertyChangeListener):
Implemented,
(AccessibleJTableHeaderEntry.requestFocus): Implemented,
(AccessibleJTableHeaderEntry.setAccessibleDescription): Implemented,
(AccessibleJTableHeaderEntry.setAccessibleName): Implemented,
(AccessibleJTableHeaderEntry.setBackground): Implemented,
(AccessibleJTableHeaderEntry.setBounds): Implemented,
(AccessibleJTableHeaderEntry.setCursor): Implemented,
(AccessibleJTableHeaderEntry.setEnabled): Implemented,
(AccessibleJTableHeaderEntry.setFont): Implemented,
(AccessibleJTableHeaderEntry.setForeground): Implemented,
(AccessibleJTableHeaderEntry.setLocation): Implemented,
(AccessibleJTableHeaderEntry.setSize): Implemented,
(AccessibleJTableHeaderEntry.setVisible): Implemented,
(AccessibleJTableHeader.getAccessibleRole): Implemented,
(AccessibleJTableHeader.getAccessibleChildrenCount): Implemented,
(AccessibleJTableHeader.getAccessibleChild): Implemented,
(AccessibleJTableHeader.getAccessibleAt): Implemented.
2006-05-22 Tom Tromey <tromey@redhat.com>
* NEWS: Updated.
2006-05-22 David Gilbert <david.gilbert@object-refinery.com>
* javax/swing/JLabel.java
(AccessibleJLabel.getAccessibleName): New method (override),
(setLabelFor): Fire 'labelFor' property change event before other
events.
2006-05-22 David Gilbert <david.gilbert@object-refinery.com>
* javax/swing/JLabel.java
(AccessibleJLabel.getAccessibleRole): New method (override).
2006-05-22 Tom Tromey <tromey@redhat.com>
* resource/gnu/classpath/tools/serialver/messages.properties: New
file.
* tools/gnu/classpath/tools/serialver/Messages.java: New file.
* tools/gnu/classpath/tools/serialver/SerialVer.java (classes): New
field.
(classpath): Likewise.
(run): New method.
(main): Use it.
(addFileURL): New method.
(getClassLoader): Likewise.
(printMessage): Likewise.
2006-05-22 Tom Tromey <tromey@redhat.com>
* tools/gnu/classpath/tools/serialver/SerialVer.java: New file.
2006-05-22 Audrius Meskauskas <AudriusA@Bioinformatics.org>
* javax/swing/JTable.java (doLayout): In the column
resize mode, only repaing the changed part of the table.
(getLeftResizingBoundary): New method.
2006-05-22 Audrius Meskauskas <AudriusA@Bioinformatics.org>
* javax/naming/spi/InitialContextFactory.java,
javax/naming/spi/InitialContextFactoryBuilder.java,
javax/naming/spi/NamingManager.java,
javax/naming/spi/ObjectFactory.java,
javax/naming/spi/ResolveResult.java,
javax/naming/spi/Resolver.java,
javax/naming/spi/StateFactory.java: Documented.
2006-05-21 Tom Tromey <tromey@redhat.com>
PR classpath/27688:
* tools/gnu/classpath/tools/jar/Extractor.java (allItems): Now
a WorkSet.
(initSet): Removed.
(shouldExtract): Removed.
(run): Updated.
* tools/gnu/classpath/tools/jar/WorkSet.java: New file.
* tools/gnu/classpath/tools/jar/Lister.java (readUntilEnd): New
method.
(listJar): Use it.
(allItems): New field.
(run): Initialize it.
(listJar): Use it.
2006-05-22 Sven de Marothy <sven@physto.se>
* java/nio/CharBuffer.java
(wrap): Fix bounds checking.
2004-08-26 Tom Tromey <tromey@redhat.com>
* java/io/OutputStream.java
(OutputStream): Implements Closeable, Flushable.
2006-04-02 Andrew John Hughes <gnu_andrew@member.fsf.org>
* java/io/ObjectOutputStream.java:
(writeObject(Object)): Added enum support.
(writeClassDescriptor(ObjectStreamClass)): Likewise.
* java/io/ObjectStreamClass.java:
(isEnum()): New package-private method.
(setFlags(Class)): Added enum support.
* java/io/ObjectStreamConstants.java:
(SC_ENUM): Added.
2006-03-29 Andrew John Hughes <gnu_andrew@member.fsf.org>
* java/io/ObjectInputStream.java:
(parseContent(byte)): Added enum support.
* java/io/ObjectStreamConstants.java:
(TC_ENUM): Added.
(TC_MAX): Changed to new maximum, TC_ENUM.
2006-05-21 Andrew John Hughes <gnu_andrew@member.fsf.org>
* java/beans/beancontext/BeanContextSupport.java:
(instantiateChild(String)): Implemented.
2006-05-21 Andrew John Hughes <gnu_andrew@member.fsf.org>
* java/beans/beancontext/BeanContextSupport.java:
(add(Object)): Add further documentation.
(isEmpty()): Documented.
(propertyChange(PropertyChangeEvent)): Implemented.
(remove(Object)): Documented.
(remove(Object,boolean)): Documented and implemented.
(vetoableChange(PropertyChangeEvent)): Marked as
implemented (only subclasses appear to need this).
2006-05-21 Andrew John Hughes <gnu_andrew@member.fsf.org>
* java/beans/beancontext/BeanContextSupport.java:
(add(Object)): Implement support for the child being
a BeanContextChild.
(avoidingGui()): Implemented.
(dontUseGui()): Likewise.
(needsGui()): Likewise.
(okToUseGui()): Likewise.
2006-05-21 Audrius Meskauskas <AudriusA@Bioinformatics.org>
* javax/naming/Context.java,
javax/naming/ContextNotEmptyException.java,
javax/naming/Reference.java: Documented.
2006-05-21 Audrius Meskauskas <AudriusA@Bioinformatics.org>
* javax/swing/text/html/MinimalHTMLWriter.java
(writeComponent, writeImage): Declare that the method
may throw the IOException.
2006-05-21 Audrius Meskauskas <AudriusA@Bioinformatics.org>
PR 26972
* javax/naming/InitialContext.java (colon_list): Changed type to
hashset. (use_properties): New field. (init(Hashtable)): Rewritten.
(merge): Rewritten.
2006-05-21 Audrius Meskauskas <AudriusA@Bioinformatics.org>
* javax/naming/InitialContext.java: Documented.
2006-05-21 Audrius Meskauskas <AudriusA@Bioinformatics.org>
* javax/naming/NameParser.java,
javax/naming/NamingEnumeration.java,
javax/naming/PartialResultException.java,
javax/naming/SizeLimitExceededException.java,
javax/naming/spi/ObjectFactory.java,
javax/naming/spi/ObjectFactoryBuilder.java: Documented.
2006-05-21 Andrew John Hughes <gnu_andrew@member.fsf.org>
* gnu/java/net/loader/JarURLLoader.java:
Use Map.Entry instead of LinkedHashMap.Entry
2006-05-21 Audrius Meskauskas <AudriusA@Bioinformatics.org>
* javax/naming/Context.java: Documented.
2006-05-21 Audrius Meskauskas <AudriusA@Bioinformatics.org>
* javax/naming/Referenceable.java: Documented.
* javax/naming/spi/NamingManager.java: Documented.
2006-05-21 Raif S. Naffah <raif@swiftdsl.com.au>
* doc/tools.texinfo: Replaced references to MessageBundle.properties
to messages.properties.
* resource/gnu/classpath/tools/jarsigner/MessageBundle.properties:
Renamed to messages.properties.
* resource/gnu/classpath/tools/keytool/MessageBundle.properties:
Likewise.
* resource/gnu/classpath/tools/jarsigner/messages.properties:
Renamed from MessageBundle.properties.
Added copyright notice.
* resource/gnu/classpath/tools/keytool/messages.properties:
Likewise.
* tools/gnu/classpath/tools/jarsigner/Messages.java
(BUNDLE_NAME): Use messages instead of MessageBundle properties file.
(getFormattedString): Fixed a spelling mistake.
* tools/gnu/classpath/tools/keytool/Messages.java: Likewise.
2006-05-20 Sven de Marothy <sven@physto.se>
* gnu/java/awt/font/opentype/NameDecoder.java
Made class public.
(getName): Use getShort instead of getChar(), fix PS name.
(decodeName): New method.
* gnu/java/awt/peer/gtk/GdkFontPeer.java
(getSubFamilyName): Implement.
(getPostScriptName): Use the NameDecoder class instead.
(parsePSName): Removed.
(getName): Added
2006-05-20 Sven de Marothy <sven@physto.se>
* gnu/java/awt/peer/gtk/GdkFontPeer.java
(getTrueTypeTable): New native method.
(getPostScriptName): Reimplement.
(parsePSName): New method.
(getNumGlyphs): Implement.
* include/gnu_java_awt_peer_gtk_GdkFontPeer.h: New native method.
* native/jni/gtk-peer/gnu_java_awt_peer_gtk_GdkFontPeer.c
(Java_gnu_java_awt_peer_gtk_GdkFontPeer_getTrueTypeTable):
New function. File is now explicitly dependent on FT2.
2006-05-20 Tom Tromey <tromey@redhat.com>
* tools/gnu/classpath/tools/native2ascii/Messages.java: New file.
* resource/gnu/classpath/tools/native2ascii/messages.properties: New
file.
* tools/gnu/classpath/tools/native2ascii/Native2ASCII.java
(HandleFile): New class.
(input, output, encoding, reversed): New fields.
(createParser): New method.
(run): Likewise.
(main): Use 'run'.
* tools/gnu/classpath/tools/getopt/FileArgumentCallback.java
(notifyFile): Throws OptionException.
2006-05-20 Tom Tromey <tromey@redhat.com>
* tools/gnu/classpath/tools/native2ascii/Native2ASCII.java: New file,
from cp-tools.
2006-05-20 Andrew John Hughes <gnu_andrew@member.fsf.org>
* native/jni/java-nio/gnu_java_nio_VMChannel.c:
(JCL_print_buffer): Fix to work with -Werror on 64-bit
platforms.
2006-05-20 Sven de Marothy <sven@physto.se>
* java/awt/Font.java (getNumGlyphs): Call correct peer method.
2006-05-20 Sven de Marothy <sven@physto.se>
* gnu/java/awt/print/JavaPrinterJob.java
(print): Use PostScriptGraphics2D.
* gnu/java/awt/print/PostScriptGraphics2D.java: New file.
2006-05-20 Sven de Marothy <sven@physto.se>
* javax/swing/text/html/MinimalHTMLWriter.java: New file
2006-05-20 Raif S. Naffah <raif@swiftdsl.com.au>
* gnu/java/security/OID.java: Updated copyright year.
(OID): Removed unused Javadoc param tag.
* gnu/java/security/prng/PRNGFactory.java: Removed unused import.
* gnu/java/security/hash/MD4.java: Fixed a Javadoc link.
2006-05-20 Raif S. Naffah <raif@swiftdsl.com.au>
* gnu/javax/crypto/jce/keyring/GnuKeyring.java (engineAliases):
Formatting.
Added trace/debug statements.
(engineSetCertificateEntry): Ensure alias is not already used for a Key
Entry. Also ensure that any previous entry for this alias is removed
before a new one is added.
(engineGetKey): Do not trace/log passwords.
Trace key's class name only.
(engineSetKeyEntry): Ensure alias is not alredy used for a Trusted
Certificate Entry. Also ensure that previous entry for this alias is
removed before a new one is added.
(engineLoad): Do not trace/log passwords.
(engineStore): Likewise.
(engineSize): Use size of enumeration instead of collection size.
2006-05-20 Raif S. Naffah <raif@swiftdsl.com.au>
* gnu/javax/crypto/keyring/PrivateKeyEntry.java: Formatting.
(toString): New method.
* gnu/javax/crypto/keyring/PasswordEncryptedEntry.java (decrypt):
Do not trace/log passwords.
Set masked to false before decoding envelope.
Do not set payload to null.
(encrypt): Set masked to true.
* gnu/javax/crypto/keyring/PasswordAuthenticatedEntry.java (verify):
Do not trace/log passwords.
Set masked to false before decoding envelope.
Do not set payload to null.
Added trace/debug statements.
(authenticate): Do not trace/log passwords.
Set masked to true.
Added trace/debug statements.
(getMac): Added trace/debug statements.
* gnu/javax/crypto/keyring/MaskableEnvelopeEntry.java
(remove(String)): Changed the signature to return a boolean.
(toString): New method.
* gnu/javax/crypto/keyring/GnuPublicKeyring.java (containsCertificate):
Formatting
(getCertificate): Likewise.
(putCertificate): Likewise.
(load): Likewise.
Do not trace/log passwords.
(store): Likewise.
* gnu/javax/crypto/keyring/GnuPrivateKeyring.java (getPrivateKey):
Do not trace/log passwords.
Added more trace/logging statements.
(putPrivateKey): Do not trace/log passwords.
Trace only key's class name.
Formatting.
(containsPublicKey): Formatting.
(getPublicKey): Likewise.
Trace only key's class name.
(putPublicKey): Trace only key's class name.
(containsCertPath): Formatting.
(getCertPath): Likewise.
(putCertPath): Likewise.
(load): Do not trace/log passwords.
Formatting.
(store): Likewise.
* gnu/javax/crypto/keyring/EnvelopeEntry.java (log): New field.
(add): Do not set payload to null.
Added trace/debug statements.
(containsAlias): Added trace/debug statements.
(get): Likewise.
(remove(Entry)): Likewise.
(remove(String)): Likewise.
Changed the signature to return a boolean.
Do not set payload to null unless really removed.
(toString): New method.
(decodeEnvelope): Clear entries before proceeding.
(makeAliasList): Added trace/debug statements.
Ensure only non-null aliases and alias-lists are added.
* gnu/javax/crypto/keyring/Entry.java (log): New field.
(TYPES): New constant.
(toString): New method.
(defaultDecode): Add trace/debug statement.
2006-05-20 Raif S. Naffah <raif@swiftdsl.com.au>
* tools/gnu/classpath/tools/keytool/ListCmd.java (rfc):
Increased visibility.
(setup): Do not trace/log passwords.
(parsed): Was not setting correct (rfc) field; fixed.
(print1Chain): Formatting.
* tools/gnu/classpath/tools/keytool/DeleteCmd.java (setup):
Do not trace/log passwords.
* tools/gnu/classpath/tools/keytool/ExportCmd.java (setup): Likewise.
* tools/gnu/classpath/tools/keytool/GenKeyCmd.java (setup): Likewise.
* tools/gnu/classpath/tools/keytool/IdentityDBCmd.java (setup): Likewise.
* tools/gnu/classpath/tools/keytool/KeyCloneCmd.java (setup): Likewise.
* tools/gnu/classpath/tools/keytool/StorePasswdCmd.java (setup): Likewise.
* tools/gnu/classpath/tools/keytool/ImportCmd.java (setup): Likewise.
(orderChain): Added FIXME.
* tools/gnu/classpath/tools/keytool/CertReqCmd.java (setup):
Do not trace/log passwords.
Removed commented out code.
* tools/gnu/classpath/tools/keytool/KeyPasswdCmd.java (setup): Likewise.
* tools/gnu/classpath/tools/keytool/SelfCertCmd.java (setup): Likewise.
* tools/gnu/classpath/tools/keytool/Command.java (doCommand): Formatting.
(setKeystoreURLParam): Likewise.
(setKeystorePasswordParam): Do not trace/log passwords.
(saveKeyStore): Likewise.
2006-05-19 Roman Kennke <kennke@aicas.com>
* gnu/java/awt/java2d/AbstractGraphics2D.java
Added class docs.
(pixel): Removed obsolete field.
(draw(Shape)): Removed commented out code.
(drawImage): Formatting.
(drawString): Added optimization hook.
(setPaint): Removed rawSetForeground().
(getFontRenderContext): Return context with correct transform.
(drawGlyphVector): Draw complete outline in one go.
(copyArea): Added optimization hook.
(clearRect): Added optimization hook.
(drawImage): Added optimization hook.
(fillShape): (Temporarily) Set antialiasing off by default for
font rendering. Adjust the shape by some bits to improve rendering.
Pass clip bounds to the render methods.
(drawPixel): Removed.
(rawSetPixel): Removed.
(rawSetForeground): Removed.
(rawDrawLine): Default impl calls standard pipeline.
(rawDrawString): New method, calls standard pipeline for rendering.
(rawClearRect): New method, calls standard pipeline for rendering.
(rawFillRect): New method, calls standard pipeline for rendering.
(rawDrawImage): New method, calls standard pipeline for rendering.
(rawCopyArea): New method.
(copyAreaImpl): New method.
(rawFillShape): Renamed to fillShapeImpl(). Small optimization
for rendering.
(fillShapeAntialias): Fixed AA rendering.
(fillScanlineAA): Fixed AA rendering.
(getSegments): Take offset into account.
2006-05-19 Sven de Marothy <sven@physto.se>
* javax/swing/text/AbstractWriter.java
(getText): Fix parameters (start, length) not (start, end).
2006-05-19 Tom Tromey <tromey@redhat.com>
PR classpath/27444:
* gnu/java/net/loader/URLLoader.java (getClassPath): Documented.
Changed return type.
* java/net/URLClassLoader.java (urlloaders): Removed.
(addURLImpl): Updated.
* gnu/java/net/loader/JarURLLoader.java (initialized): New field.
(indexSet): Likewise.
(classPath): Changed type.
(JarURLLoader): New constructor.
(initialize): New method.
(getResource): Use index set if it exists.
(getClassPath): Updated.
* gnu/java/net/IndexListParser.java (IndexListParser): Avoid NPE.
(prefixes): New field.
(headers): Removed.
(IndexListParser): Fill in prefixes.
(clearAll): Clear prefixes.
(getHeaders): Changed return type.
2006-05-19 Audrius Meskauskas <AudriusA@Bioinformatics.org>
* javax/swing/plaf/basic/BasicTableHeaderUI.java
(MouseInputHandler.mouseExitted): No nothing there.
(MouseInputHandler.endDragging): Move column to the
first/last position if released outside the horizontal
table range.
2006-05-19 Lillian Angel <langel@redhat.com>
* java/awt/font/GlyphVector.java
(getGlyphCharIndex): Implemented.
(getGlyphCharIndices): Implemented.
(getGlyphOutline): Implemented.
(getGlyphVisualBounds): Implemented.
(getGlyphVisualBounds): Implemented.
(getPixelBounds): Implemented.
(getLayoutFlags): Implemented.
2006-05-19 Robert Schuster <robertschuster@fsfe.org>
* java/awt/LightweightDispatcher.java: Added field dragButton and
documentation for it.
(handleMouseEvent): Rewritten MOUSE_PRESSED case in switch-statement,
added subexpression to if-clause in MOUSE_RELEASED case.
2006-05-19 Robert Schuster <robertschuster@fsfe.org>
* javax/swing/metal/MetalButtonUI.java:
(update): Removed some subexpression from if-clause and call
updateWithGradient.
(updateWithGradient): New method.
2006-05-19 Roman Kennke <kennke@aicas.com>
* javax/swing/JComponent.java
(findOverlapFreeParent): Implemented algorithm for finding
overlapping in component hierarchy.
2006-05-19 Jeroen Frijters <jeroen@frijters.net>
* java/lang/Thread.java
(contextClassLoaderIsSystemClassLoader): New field.
(Thread(ThreadGroup,Runnable)): Call createAnonymousThreadName.
(Thread(VMThread,String,int,boolean)): Call createAnonymousThreadName
and set contextClassLoaderIsSystemClassLoader.
(Thread(ThreadGroup,Runnable,String,long)):
Set contextClassLoaderIsSystemClassLoader.
(createAnonymousThreadName): New method.
(getContextClassLoader): Check contextClassLoaderIsSystemClassLoader
and fixed security check.
(setContextClassLoader): Clear contextClassLoaderIsSystemClassLoader.
2006-05-19 Robert Schuster <robertschuster@fsfe.org>
* javax/swing/plaf/basic/BasicToolBarUI.java:
(createNonRolloverBorder): Rewritten.
(createRolloverBorder): Rewritten.
(setToNonRolloverBorder): Store old border instance in hashtable.
(setToRolloverBorder): Store old border instance in hashtable, use
AbstractButton instead of JButton in statements.
(setBorderToNormal): Rewritten.
* javax/swing/plaf/metal/MetalLookAndFeel.java:
(initComponentDefaults): Added values for ToolBar.rolloverBorder and
ToolBar.nonrolloverBorder.
2006-05-18 Thomas Fitzsimmons <fitzsim@redhat.com>
* javax/imageio/stream/ImageInputStreamImpl.java: Complete.
* javax/imageio/stream/MemoryCacheImageInputStream.java: Likewise.
2006-05-18 Lillian Angel <langel@redhat.com>
* java/awt/font/GlyphMetrics.java
(getLSB): Implemented.
(getRSB): Implemented.
2006-05-18 Lillian Angel <langel@redhat.com>
* java/awt/font/GraphicAttribute.java:
Documented entire class.
(GraphicAttribute): Added check for alignment.
(getBounds): Implemented.
(getJustificationInfo): Implemented.
2006-05-18 Robert Schuster <robertschuster@fsfe.org>
* java/awt/LightweightDispatcher.java:
(handleMouseEvent): Added note, added subexpression to if-statement.
2006-05-18 Robert Schuster <robertschuster@fsfe.org>
* javax/swing/plaf/basic/BasicToolBarUI.java:
(navigateFocusedComp): Marked as stub.
(createRolloverBorder): Create a different Border instance, added note.
* javax/swing/plaf/metal/MetalBorders.java:
(ButtonBorder): Added documentation.
(ButtonBorder.paintDefaultButtonBorder): Added else-block.
(ButtonBorder.paintOceanButtonBorder): Added else-block, added
subexpression into if-else cascade, added note.
2006-05-18 Lillian Angel <langel@redhat.com>
* java/awt/font/ShapeGraphicAttribute.java:
Documented entire class.
(ShapeGraphicAttribute): Initialized bounds field.
(draw): Implemented.
(equals): Implemented.
(getAdvance): Implemented.
(getAscent): Implemented.
(getBounds): Implemented.
(getDescent): Implemented.
(hashCode): Implemented.
2006-05-18 Roman Kennke <kennke@aicas.com>
* javax/swing/CellRendererPane.java
(CellRendererPane): Set CellRendererPane to invisible.
2006-05-18 Roman Kennke <kennke@aicas.com>
* gnu/java/awt/peer/gtk/GdkGraphics.java
(clipRect): Removed old intersection statement.
2006-05-18 Roman Kennke <kennke@aicas.com>
* gnu/java/awt/peer/gtk/GdkGraphics.java
(clipRect): Don't use Rectangle.intersection() to avoid creating
2 unnecessary Rectangle instances and fix a clipping problem.
(computeIntersection): New helper method, adapted from SwingUtilities.
2006-05-18 Roman Kennke <kennke@aicas.com>
* javax/swing/JComponent.java
(isCompletelyDirty): Removed.
(paint): Don't mark children as clean, this is no longer necessary.
(findOverlapFreeParent): Don't stop at Viewports, this breaks
painting when something overlaps the viewport (like a popup/menu).
* javax/swing/RepaintManager.java
(currentRepaintManagers): Made package private to avoid accessor
methods.
(dirtyComponents): Made private.
(dirtyComponentsWork): Made private.
(markCompletelyDirty): Fixed bounds of dirtyrect to be
component-local not parent-local. Do not set flag in JComponent.
(markCompletelyClean): Don't set JComponent flag.
(isCompletelyDirty): Rewritten to return true when the complete
component is marked dirty.
(paintDirtyRegions): Improved parent-merging so that the merged-in
components don't get painted too. 'Outsourced' the compilation
of the repaint root components.
(compileRepaintRoots): New helper method.
2006-05-18 Roman Kennke <kennke@aicas.com>
PR 26368
* javax/swing/text/GapContent.java
(GapContentPosition(int)): Use adapted binarySearch method to
allow for having a greater array than number of entries.
(numMarks): New field, holds the end of the marks list.
(GapContent): Initialize positionMarks with size of 10 instead of 0.
(shiftGapStartDown): Adjusted for new setPositionsInRange signature.
(shiftGapEndUp): Adjusted for new setPositionsInRange signature.
(setPositionsInRange): Changed signature to narrow the purpose and
special cases inside. Reimplemented to crunch together equal marks.
(adjustPositionsInRange): Added assertion to make sure we do
not accidentally change the order of the mark. Added some debug
output for a special case of which I don't know if it even exists.
(resetMarksAtZero): Made impl simpler.
(dumpMarks): New debug helper method.
(insertMark): Grow array in bigger chunks to avoid excessive copying.
(binarySearch): New method. An adaption of Arrays.binarySearch()
that allows for an maxIndex parameter.
2006-05-18 Roman Kennke <kennke@aicas.com>
* javax/swing/KeyboardManager.java
(topLevelLookup): Use WeakHashMap to avoid memory leak.
2006-05-18 Jeroen Frijters <jeroen@frijters.net>
* gnu/java/net/loader/JarURLLoader.java
(JarURLLoader): Use a slightly more efficient URL constructor.
2006-05-18 David Gilbert <david.gilbert@object-refinery.com>
* gnu/java/awt/print/JavaPrinterGraphics.java
(drawImage(Image, int, int, Color, ImageObserver)): Fix endless loop,
(drawImage(Image, int, int, ImageObserver)): Likewise,
(drawImage(Image, int, int, int, int, Color, ImageObserver)): Likewise,
(drawImage(Image, int, int, int, int, ImageObserver)): Likewise,
(drawImage(Image, int, int, int, int, int, int, int, int, Color,
ImageObserver)): Likewise,
(drawImage(Image, int, int, int, int, int, int, int, int,
ImageObserver)): Likewise.
2006-05-17 Tom Tromey <tromey@redhat.com>
* tools/gnu/classpath/tools/jar/Indexer.java (indexJarFile): Use a
LinkedHashSet.
2006-05-17 David Gilbert <david.gilbert@object-refinery.com>
* javax/swing/border/AbstractBorder.java: Source code formatting fixes,
* javax/swing/border/BevelBorder.java: Likewise,
* javax/swing/border/CompoundBorder.java: Likewise,
* javax/swing/border/TitledBorder.java: Likewise.
2006-05-17 David Gilbert <david.gilbert@object-refinery.com>
* javax/swing/table/AbstractTableModel.java: Formatting fixes,
* javax/swing/table/DefaultTableModel.java: Likewise,
* javax/swing/table/TableCellEditor.java: Likewise,
* javax/swing/table/TableCellRenderer.java: Likewise.
2006-05-17 Lillian Angel <langel@redhat.com>
* java/awt/font/ImageGraphicAttribute.java:
Documented entire class.
(ImageGraphicAttribute): Changed to call this.
(ImageGraphicAttribute): Implemented.
(draw): Implemented.
(equals): Implemented.
(getAdvance): Implemented.
(getAscent): Implemented.
(getBounds): Implemented.
(getDescent): Implemented.
(hashCode): Implemented.
* javax/swing/text/html/HTMLDocument.java
(create): Removed. Sufficent enough for
super to be called.
(insert): Likewise.
(insertUpdate): Likewise.
(processHTMLFrameHyperlinkEvent): Marked as stub.
(start): Removed FIXME.
(end): Likewise.
(start): Called super.
(end): Called super.
(getElement): removed unneeded code.
(setParagraphAttribute): Removed. Sufficent enough
for super to be called.
(fireChangedUpdate): Likewise.
(fireUndoableEditUpdate): Likewise.
2006-05-17 Lillian Angel <langel@redhat.com>
* java/awt/TexturePaint.java:
Added documentation for class and all functions.
(getTransparency): Implemented.
2006-05-17 Roman Kennke <kennke@aicas.com>
* java/awt/LightweightDispatcher.java
(findTarget): Translate point to child components.
2006-05-17 Roman Kennke <kennke@aicas.com>
PR 26368
* javax/swing/text/GapContent.java
(GapContentPosition): Do no more implement Comparable.
(GapContentPosition.mark): Removed field.
(GapContentPosition.index): New field to hold the index into
the positions array.
(GapContentPosition(int)): Rewritten to use the new indirection
to the positions array.
(GapContentPosition.compareTo): Removed.
(GapContentPosition.getOffset): Synchronized. Fetch mark from
positionMarks array.
(WeakPositionComparator): Removed obsolete class.
(positions): Changed type to WeakHashMap.
(positionMarks): New field, holds the marks of the positions.
(GapContent): Initialize new fields.
(createPosition): Rewritten to use the new indirection
to the positions array.
(getPositionsInRange): Rewritten to use the new indirection
to the positions array.
(setPositionsInRange): Rewritten to use the new indirection
to the positions array.
(adjustPositionsInRange): Rewritten to use the new indirection
to the positions array.
(insertMark): New helper method.
(clearPositionReferences): Removed obsolete methods.
2006-05-17 Lillian Angel <langel@redhat.com>
* java/awt/GraphicsConfiguration.java
(getImageCapabilities): Implemented.
(getBufferCapabilities): Implemented.
2006-05-17 Lillian Angel <langel@redhat.com>
* javax/swing/plaf/basic/BasicSliderUI.java
(focusGained): Implemented.
(focusLost): Implemented.
(paint): Added code to paint the focus.
* javax/swing/plaf/metal/MetalSliderUI.java
(paintThumb): Added code to set the thumbColor.
(paintFocus): Implemented properly.
2006-05-17 Audrius Meskauskas <AudriusA@Bioinformatics.org>
PR 27383
* javax/naming/spi/NamingManager.java (getURLContext):
Always search for the factory class in all possible places
and use VMStackWalker.
(forName): New method.
2006-05-17 Roman Kennke <kennke@aicas.com>
* java/awt/LightweightDispatcher.java
(handleMouseEvent): Fixed search algorithm for finding the
mouse event target.
(findTarget): Fixed search algorithm for finding the
mouse event target.
2006-05-17 Audrius Meskauskas <AudriusA@Bioinformatics.org>
* javax/naming/spi/NamingManager.java: Documented.
2006-05-17 Mark Wielaard <mark@klomp.org>
* THANKYOU: Add Trevor Linton <tlinton@xmission.com>.
* gnu/javax/imageio/jpeg/DCT.java: Cleanup Todo copyright.
* gnu/javax/imageio/jpeg/YCbCr_ColorSpace.java: Likewise.
* gnu/javax/imageio/jpeg/ZigZag.java: Likewise.
2006-05-17 Robert Schuster <robertschuster@fsfe.org>
Fixes PR 26947.
* javax/swing/plaf/basic/BasicInternalFrameUI.java: Updated copyright
year.
(BorderListener.mouseClicked): Detect double-clicks in title pane,
copied code from
BasicInternalFrameTitlePaneUI.MaximizeAction.actionPerformed().
2006-05-17 Robert Schuster <robertschuster@fsfe.org>
Fixes PR 27626.
* java/awt/LightweightDispatcher.java:
(handleMouseEvent): Moved assignment into switch-block, added notes.
2006-05-16 Lillian Angel <langel@redhat.com>
* javax/swing/text/StyleContext.java:
Changed staticAttributeKeys to be a Hashtable.
(getStaticAttribute): Implemented.
(getStaticAttributeKey): Implemented.
(readAttributeSet): Implemented.
(writeAttributeSet): Added FIXME. Not sure how
to implement this.
(readAttributes): Implemented.
(writeAttributes): Implemented.
(registerStaticAttibuteKey): Fixed to add key to
the hash table.
2006-05-16 David Gilbert <david.gilbert@object-refinery.com>
* javax/swing/DefaultButtonModel.java
(setGroup): Removed event notification.
2006-05-16 Lillian Angel <langel@redhat.com>
* javax/swing/plaf/basic/BasicComboBoxUI.java
(installKeyboardActions): Implemented.
(uninstallKeyboardActions): Implemented.
* javax/swing/plaf/basic/BasicComboPopup.java
(uninstallKeyboardActions): Removed FIXME. Nothing
to be done here.
(installKeyboardActions): Likewise.
* javax/swing/plaf/basic/BasicTextUI.java
(uninstallKeyboardActions): Implemented.
* javax/swing/plaf/basic/BasicTreeUI.java:
Added field for hashColor.
Marked stub methods.
(getHashColor): Implemented to use field.
(setHashColor): Likewise.
(getRowX): Implemented.
(NodeDimensions.getRowX): Changed to use BasicTreeUI.getRowX.
2006-05-16 Roman Kennke <kennke@aicas.com>
PR 26521
* javax/swing/JTable.java
(rowHeights): New field.
(initializeLocalVars): Call setRowHeigt instead of rowHeight=,
in order to initialize rowHeights correctly.
(tableChanged): Nullify rowHeights when model changes. Only
create default columns from model when corresponding property
is set. Sync table model with rowHeights as appropriate.
(valueChanged): Call repaint with the correct rectangle.
(rowAtPoint): Handle rowHeights.
(getCellRect): Mostly rewritten. Check for boundaries
of model and return (0,0,0,0) or (0,0,width,height) when outside.
Handle component orientation. Round correctly.
(getRowHeight(int)): Implemented for variable row height.
(setRowHeight(int,int)): Implemented for variable row height.
(setRowHeight(int)): Nullify rowHeights.
(setModel): Notify tableChanged().
* javax/swing/plaf/basic/BasicTableUI.java
(installDefaults): Create rendererPane in installUI.
(installUI): Create and install rendererPane.
(uninstallUI): Uninstall rendererPane and nullify rendererPane
and table.
(paint): Correctly handle rowMargin.
2006-05-16 Tom Tromey <tromey@redhat.com>
PR classpath/27563:
* java/text/NumberFormat.java (getIntegerInstance): Use
"integerFormat", not "numberFormat".
2006-05-16 Lillian Angel <langel@redhat.com>
* javax/swing/JPopupMenu.java
(addMenuKeyListener): Implemented.
(removeMenuKeyListener): Implemented.
(getMenuKeyListeners): Implemented.
* javax/swing/ProgressMonitor.java:
Added new protected field.
(getAccessibleContext): Implemented.
2006-05-16 Lillian Angel <langel@redhat.com>
* javax/swing/JFileChooser.java:
Added new private field.
(setDragEnabled): Implemented.
(getDragEnabled): Implemented.
2006-05-16 Lillian Angel <langel@redhat.com>
* java/awt/Window.java
(applyResourceBundle): Implemented.
2006-05-16 David Gilbert <david.gilbert@object-refinery.com>
* javax/swing/DefaultButtonModel.java
(setSelected): If new SELECTED state is false, clear ARMED and PRESSED
states also.
2006-05-16 Audrius Meskauskas <AudriusA@Bioinformatics.org>
* javax/swing/JList.java (getSelectedValues):
Ask the value for the indexed array element.
2006-05-16 Roman Kennke <kennke@aicas.com>
* javax/swing/JTable.java
(valueChanged): Also repaint when table has only 1 row. Fixed
repaint rectangle to span the entire changed rows.
2006-05-16 Roman Kennke <kennke@aicas.com>
PR 24031
* javax/swing/JOptionPane.java
(startModal): Rewritten. The events are now dispatched, even
when the event dispatch thread gets blocked by the call
to this method. Also, mouse events get intercepted outside the
internal frame.
2006-05-16 Audrius Meskauskas <AudriusA@Bioinformatics.org>
* javax/swing/plaf/basic/BasicInternalFrameUI.java
(BorderListener.mouseDragged):Do not set cursor
if the frame is being dragged.
2006-05-16 Audrius Meskauskas <AudriusA@Bioinformatics.org>
* javax/swing/plaf/basic/BasicInternalFrameUI.java
(BorderListener): Rewritten. (InternalFrameBorder):
Made package private.
(InternalFrameBorder.offset):
Renamed to cornerSize, made package private.
(bSize): Made package private.
2006-05-16 Roman Kennke <kennke@aicas.com>
* javax/swing/JMenu.java
(AccessibleJMenu.getAccessibleChildrenCount): Implemented.
(AccessibleJMenu.getAccessibleChild): Implemented.
(AccessibleJMenu.getAccessibleSelection): Implemented.
(AccessibleJMenu.getAccessibleSelection(int)): Implemented.
(AccessibleJMenu.isAccessibleChildSelected): Implemented.
(AccessibleJMenu.getAccessibleRole): Documented.
(AccessibleJMenu.getAccessibleSelectionCount): Implemented.
(AccessibleJMenu.addAccessibleSelection): Implemented.
(AccessibleJMenu.removeAccessibleSelection): Implemented.
(AccessibleJMenu.clearAccessibleSelection): Implemented.
(AccessibleJMenu.selectAllAccessibleSelection): Implemented.
(createPath): New helper method.
2006-05-15 Tom Tromey <tromey@redhat.com>
* java/text/MessageFormat.java (format): Now varargs.
2006-05-15 Tom Tromey <tromey@redhat.com>
* java/lang/Thread.java (State): Fixed typo.
2006-05-15 Tom Tromey <tromey@redhat.com>
* java/net/URLClassLoader.java: Moved inner classes to
gnu.java.net.loader.
(factoryCache): Changed type.
(URL_LOADER_PREFIX): New constant.
(URLClassLoader): Updated for new factoryCache.
(addURLImpl): Use reflection to search for a loader.
(findClass): Use getClass method on URLLoader.
(getURLStreamHandler): Removed.
* gnu/java/net/loader/URLLoader.java: New file, extracted
from URLClassLoader.
* gnu/java/net/loader/Resource.java: Likewise.
* gnu/java/net/loader/FileResource.java: Likewise.
* gnu/java/net/loader/FileURLLoaderjava: Likewise.
* gnu/java/net/loader/JarURLLoader.java: Likewise.
* gnu/java/net/loader/JarURLResource.java: Likewise.
* gnu/java/net/loader/RemoteURLLoader.java: Likewise.
* gnu/java/net/loader/RemoteResource.java: Likewise.
* gnu/java/net/loader/ULRStreamHandlerCache.java: New file.
2006-05-15 Sven de Marothy <sven@physto.se>
* native/target/generic/target_generic_network.h:
Add a pair of parenthesis.
2006-05-15 Mark Wielaard <mark@klomp.org>
* java/awt/Graphics2D.java: Remove PrinterJob import.
2006-05-15 Mark Wielaard <mark@klomp.org>
* doc/www.gnu.org/announce/20060515.wml: New file.
* doc/www.gnu.org/newsitems.txt: Add 0.91 release announcement.
* doc/www.gnu.org/downloads/downloads.wml: Add 0.91.
2006-05-15 Thomas Fitzsimmons <fitzsim@redhat.com>
* NEWS: Announce inclusion of gcjwebplugin.
Announce inclusion of appletviewer.
* INSTALL: Note gcjwebplugin dependencies.
2006-05-15 Mark Wielaard <mark@klomp.org>
* configure.ac (VERSION): Set to 0.91-generics.
2006-05-15 Mark Wielaard <mark@klomp.org>
* NEWS: Add release date and VMClassLoader.getBootPackages()
changes.
2006-05-15 Christian Thalinger <twisti@complang.tuwien.ac.at>
* README: Added CACAO to list of VMs.
2006-05-15 Audrius Meskauskas <AudriusA@Bioinformatics.org>
* javax/swing/RepaintManager.java (paintDirtyRegions):
Break loop as soon as the component repaint is merged
with some parent. (ComponentComparator): Removed.
(comparator): Removed.
2006-05-15 Roman Kennke <kennke@aicas.com>
* javax/swing/border/TitledBorder.java
(paintBorderWithTitle): Fixed indentation.
2006-05-15 Roman Kennke <kennke@aicas.com>
* javax/swing/border/TitledBorder.java
(layoutBorderWithTitle): Fetch border using getBorder() instead
of using the border field directly. Allows for the use of
an UI supplied border in the case when a null border was set.
Fixed component orientation.
(paintBorderWithTitle): Fetch border using getBorder() instead
of using the border field directly. Allows for the use of
an UI supplied border in the case when a null border was set.
2006-05-15 Audrius Meskauskas <AudriusA@Bioinformatics.org>
* javax/swing/RepaintManager.java (paintDirtyRegions): Rewritten.
(contains): New method.
2006-05-15 Tom Tromey <tromey@redhat.com>
* resource/gnu/classpath/tools/jar/messages.properties: Fixed
argument indices.
* resource/gnu/classpath/tools/getopt/Messages.properties: Fixed
argument indices.
2006-05-15 Audrius Meskauskas <AudriusA@Bioinformatics.org>
* javax/swing/JComponent.java (findOverlapParent): Stop loop at
JViewport's.
* javax/swing/RepaintManager.java (addDirtyRegion): Always add the given
region. (paintDirtyRegions): Rewritten.
2006-05-15 Tom Tromey <tromey@redhat.com>
* tools/gnu/classpath/tools/jar/Main.java (setArchiveFile): Use
MessageFormat.
* tools/gnu/classpath/tools/jar/Indexer.java (indexJarFile): Use
MessageFormat.
* tools/gnu/classpath/tools/jar/Extractor.java: Externalized strings.
(run): Use MessageFormat.
* resource/gnu/classpath/tools/jar/messages.properties: New file.
* tools/gnu/classpath/tools/jar/Creator.java: Externalized strings.
(writeFile): Use MessageFormat.
2006-05-15 Jeroen Frijters <jeroen@frijters.net>
* java/awt/Toolkit.java (getDefaultToolkit): Use Class.forName()
instead of directly calling the class loader.
2006-05-15 Tom Tromey <tromey@redhat.com>
* tools/gnu/classpath/tools/getopt/Option.java (getDescription):
Removed old comment.
* tools/gnu/classpath/tools/getopt/ClasspathToolParser.java:
Externalized strings.
(getVersionString): Use MessageFormat.
* tools/gnu/classpath/tools/getopt/Messages.java: New file.
* resource/gnu/classpath/tools/getopt/Messages.properties: New file.
* tools/gnu/classpath/tools/getopt/Parser.java: Externalized strings.
(getArgument): Use a MessageFormat.
(handleLongOption): Likewise.
(parse): Likewise.
2006-05-15 Robert Schuster <robertschuster@fsfe.org>
Fixes PR 27197.
* javax/swing/text/FieldView.java:
(paint): Calculate intersection between clip and allocation area and
set that as new clip.
2006-05-15 David Gilbert <david.gilbert@object-refinery.com>
* javax/swing/text/JTextComponent.java: Marked stub methods.
2006-05-15 David Gilbert <david.gilbert@object-refinery.com>
* javax/swing/JTable.java: Marked stub methods.
2006-05-15 Raif S. Naffah <raif@swiftdsl.com.au>
* tools/gnu/classpath/tools/jarsigner/Main.java:
Increased visibility of fields used by parser anonymous classes.
(KEYTOOL_TOOL): New constant.
(cmdLineParser): Changed type to ToolParser.
(fileAndAlias): new field.
(main): Don't catch OptionException.
(processArgs): Removed validation checks; now handled by ToolParser.
(getParser): Removed.
(ToolParserCallback): New inner class.
(ToolParser): Likewise.
2006-05-15 Audrius Meskauskas <AudriusA@Bioinformatics.org>
* javax/swing/JTable.java (TableTextArea.scrollRectToVisible):
Removed.
2006-05-15 Audrius Meskauskas <AudriusA@Bioinformatics.org>
* javax/swing/DefaultDesktopManager.java (endDraggingFrame,
endResizingFrame): Do not repaint, unless in the outline mode.
2006-05-15 David Gilbert <david.gilbert@object-refinery.com>
* javax/swing/JTabbedPane.java
(AccessibleJTabbedPane.getAccessibleRole): Implemented,
(AccessibleJTabbedPane.getAccessibleChildrenCount): Implemented,
(AccessibleJTabbedPane.getAccessibleSelection()): Implemented,
(AccessibleJTabbedPane.getAccessibleAt): Implemented,
(AccessibleJTabbedPane.getAccessibleSelectionCount): Implemented,
(AccessibleJTabbedPane.getAccessibleSelection(int)): Implemented,
(AccessibleJTabbedPane.isAccessibleChildSelected): Implemented,
(AccessibleJTabbedPane.addAccessibleSelection): Implemented,
(AccessibleJTabbedPane.removeAccessibleSelection): Implemented,
(AccessibleJTabbedPane.clearAccessibleSelection): Implemented,
(AccessibleJTabbedPane.selectAllAccessibleSelection): Implemented,
(Page.getAccessibleName): Implemented.
2006-05-15 Audrius Meskauskas <AudriusA@Bioinformatics.org>
* javax/swing/DefaultDesktopManager.java (setBoundsForFrame):
Do not repaint nor revalidate here.
2006-05-15 Audrius Meskauskas <AudriusA@Bioinformatics.org>
* javax/swing/RepaintManager.java (addDirtyRegion):
If there is a lightweight parent, recursively add the corresponding
region of the parent instead.
2006-05-15 David Gilbert <david.gilbert@object-refinery.com>
* java/awt/Graphics2D.java: Added some API doc comments.
2006-05-15 David Gilbert <david.gilbert@object-refinery.com>
* javax/swing/JTabbedPane.java
(paramString): Reimplemented,
(getAccessibleContext): Added API docs.
2006-05-15 David Gilbert <david.gilbert@object-refinery.com>
* javax/swing/JFileChooser.java
(paramString): Reimplemented,
(getAccessibleContext): Updated API docs,
(AccessibleJFileChooser): Added API docs.
2006-05-14 Tom Tromey <tromey@redhat.com>
* tools/gnu/classpath/tools/jar/Updater.java (run): No longer throws
OptionException.
* tools/gnu/classpath/tools/jar/Creator.java (run): No longer throws
OptionException.
* tools/gnu/classpath/tools/jar/Action.java (run): No longer throws
OptionException.
* tools/gnu/classpath/tools/jar/Indexer.java (run): Removed. Moved
validation to JarParser.
* tools/gnu/classpath/tools/jar/Main.java (JarParser): New class.
(run): Moved validation to JarParser. Don't throw OptionException.
(initializeParser): Create a JarParser.
(main): Don't catch OptionException.
* tools/gnu/classpath/tools/getopt/Parser.java (printHelp): No longer
public.
(validate): New method.
(parse): Call it. Print '-help' in error message when long-only.
2006-05-14 Tom Tromey <tromey@redhat.com>
* gnu/java/awt/print/JavaPrinterJob.java (setPrintable): Fixed
assignment.
2006-05-15 Sven de Marothy <sven@physto.se>
* gnu/java/awt/print/JavaPrinterGraphics.java:
Sweeping changes I can't be bothered to document in detail.
* gnu/java/awt/print/JavaPrinterJob.java
(getPageAttributes): New method.
(setPageable,cancel,isCancelled): Implement.
2006-05-14 David Gilbert <david.gilbert@object-refinery.com>
* javax/swing/JCheckBoxMenuItem.java
(requestFocus): Fixed typo in API docs,
(paramString): Just call super.paramString(),
(getAccessibleContext): Added API docs,
(AccessibleJCheckBoxMenuItem): Likewise.
2006-05-14 Tom Tromey <tromey@redhat.com>
* tools/gnu/classpath/tools/jar/Indexer.java
(writeCommandLineEntries): Simplify insertion.
* tools/gnu/classpath/tools/jar/Main.java (run): Don't allow both
-m and -M.
2006-05-14 Tom Tromey <tromey@redhat.com>
PR classpath/27514:
* gnu/java/net/IndexListParser.java (JAR_INDEX_FILE): Renamed. Now
constant.
(JAR_INDEX_VERSION_KEY): Likewise.
(IndexListParser): Updated.
(getVersionInfo): Likewise.
* tools/gnu/classpath/tools/jar/Indexer.java: New file.
* tools/gnu/classpath/tools/jar/Action.java (run): Now throws
OptionException.
* tools/gnu/classpath/tools/jar/Main.java (initializeParser): Handle
-i.
(ModeOption): New constructor.
(parsed): Updated. Use setArchiveFile.
(setArchiveFile): New method.
(run): Handle no-argument case.
(main): Emit --help message on option error.
* tools/gnu/classpath/tools/jar/Updater.java (inputJar): New field.
(createManifest): New method.
(run): Updated. Throws OptionException. Correctly copy zip entry.
* tools/gnu/classpath/tools/jar/Creator.java (createManifest): New
method.
(writeManifest): Removed.
(outputStream): Now a JarOutputStream.
(writeCommandLineEntries): Changed parameters. Updated callers.
(run): Throws OptionException.
* java/util/jar/JarOutputStream.java (putNextEntry): Typo fix.
* java/util/jar/Manifest.java (read): Typo fix.
2006-05-14 David Gilbert <david.gilbert@object-refinery.com>
* javax/swing/JMenuItem.java
(paramString): Fixed class name in API doc comment.
2006-05-14 Tom Tromey <tromey@redhat.com>
* native/plugin/.cvsignore: Updated.
2006-05-14 Mark Wielaard <mark@klomp.org>
* native/jni/java-net/javanet.c (_javanet_accept): Don't use C++
comments.
2006-05-14 Chris Burdess <dog@gnu.org>
* gnu/xml/dom/DomNode.java: Permit comments and PIs in doctype
nodes to be preserved during cloneNode.
2006-05-14 Mark Wielaard <mark@klomp.org>
PR 27459
* native/jni/java-net/javanet.c (_javanet_accept): Reset the
inherited timeout on socket.
2006-05-14 Lillian Angel <langel@redhat.com>
* java/util/SimpleTimeZone.java: Reverted patch.
(SimpleTimeZone): Throw exception if startMonth ==
endMonth.
(SimpleTimeZone): Likewise.
(checkRule): Rewritten to properly check all values (more
efficently).
This code is now more stable, at least less buggy than before.
Fixed API documentation.
(setStartRule): Moved checkRule call to end.
(setStartRule): Likewise.
(setEndRule): Likewise.
(setEndRule): Likewise.
2006-05-14 Audrius Meskauskas <AudriusA@Bioinformatics.org>
* javax/swing/tree/DefaultTreeSelectionModel.java (leadRow):
Initialise to -1.
2006-05-14 Robert Schuster <robertschuster@fsfe.org>
PR classpath/27595
* javax/swing/text/AbstractDocument.java:
(insertString): Flipped if-expression and its blocks.
(remove): Dito.
(replace): Flipped if-expression and its blocks, added note, invoke
insertString and remove instead of insertStringImpl and removeImpl.
2006-05-14 Raif S. Naffah <raif@swiftdsl.com.au>
* tools/gnu/classpath/tools/jarsigner/Main.java (main): Formatting.
2006-05-14 Raif S. Naffah <raif@swiftdsl.com.au>
* resource/gnu/classpath/tools/keytool/MessageBundle.properties:
Added help text.
* tools/gnu/classpath/tools/keytool/keytool.txt: Removed
* tools/gnu/classpath/tools/keytool/StorePasswdCmd.java:
Increased visibility of fields used by parser anonymous classes.
(processArgs): Removed.
(getParser): New method.
* tools/gnu/classpath/tools/keytool/SelfCertCmd.java: Likewise.
(setup): Mark (Eclipse) strings that need not be externalised.
(start): Likewise.
* tools/gnu/classpath/tools/keytool/PrintCertCmd.java: Likewise.
* tools/gnu/classpath/tools/keytool/Main.java: Amended to use getopt
command line option parsing.
* tools/gnu/classpath/tools/keytool/ListCmd.java:
Increased visibility of fields used by parser anonymous classes.
(processArgs): Removed.
(setup): set 'all' local field.
(getParser): New method.
* tools/gnu/classpath/tools/keytool/KeyPasswdCmd.java:
Increased visibility of fields used by parser anonymous classes.
(processArgs): Removed.
(getParser): New method.
* tools/gnu/classpath/tools/keytool/KeyCloneCmd.java: Likewise.
(setNewKeyPassword): Fixed comments.
* tools/gnu/classpath/tools/keytool/ImportCmd.java:
Increased visibility of fields used by parser anonymous classes.
(processArgs): Removed.
(getParser): New method.
(findTrustInCACerts): Mark (Eclipse) strings that need not be
externalised.
* tools/gnu/classpath/tools/keytool/GenKeyCmd.java:
Increased visibility of fields used by parser anonymous classes.
(processArgs): Removed.
(setup): Mark (Eclipse) strings that need not be externalised.
(getParser): New method.
* tools/gnu/classpath/tools/keytool/IdentityDBCmd.java: Likewise.
* tools/gnu/classpath/tools/keytool/DeleteCmd.java:
Increased visibility of fields used by parser anonymous classes.
(processArgs): Removed.
(getParser): New method.
* tools/gnu/classpath/tools/keytool/CertReqCmd.java: Likewise.
(ATTRIBUTES_OPT): New constant.
* tools/gnu/classpath/tools/keytool/ExportCmd.java:
Increased visibility of fields used by parser anonymous classes.
(processArgs): Removed.
(setup): Mark (Eclipse) strings that need not be externalised.
(start): Likewise.
Reduced logging level.
(getParser): New method.
* tools/gnu/classpath/tools/keytool/Command.java
(processArgs): Made it concrete.
(getParser): New abstract method.
* tools/Makefile.am (KEYTOOL_HELPS): Removed.
2006-05-13 Casey Marshall <csm@gnu.org>
Patch by Michael Barker <mike@middlesoft.co.uk>.
* gnu/java/nio/PipeImpl.java: Retrofitted to use VMChannel.
* gnu/java/nio/SelectorImpl.java (register): Added condition for
gnu.java.nio.SocketChannelSelectionKeyImpl.
* gnu/java/nio/SocketChannelSelectionKeyImpl.java: new file.
* gnu/java/nio/channels/FileChannelImpl.java: retrofitted to use
VMChannel.
* include/gnu_java_nio_VMChannel.h: new file.
* java/nio/FileChannel.java (read,write): changed to call abstract
method.
* native/jni/java-nio/gnu_java_nio_VMChannel.c: new file.
* native/jni/java-nio/Makefile.am (libjavanio_SOURCES): add
`gnu_java_nio_VMChannel.c.'
* vm/reference/gnu/java/nio/VMChannel.java: new file.
2006-05-14 Robert Schuster <robertschuster@fsfe.org>
* javax/swing/text/AbstractDocument.java:
(insertString): Flipped if-expression and its blocks.
(remove): Dito.
(replace): Flipped if-expression and its blocks, added note, invoke
insertString and remove instead of insertStringImpl and removeImpl.
2006-05-13 Tom Tromey <tromey@redhat.com>
* java/nio/ByteBufferImpl.java (compact): Always set position.
2006-05-13 Sven de Marothy <sven@physto.se>
* gnu/java/awt/print/JavaPrinterGraphics.java
(spoolPostScript): Use a faster writer.
2006-05-13 Sven de Marothy <sven@physto.se>
* gnu/java/awt/print/JavaPrinterGraphics.java
(colorTripleHex): Reimplement better.
2006-05-13 Sven de Marothy <sven@physto.se>
* javax/swing/text/html/HTMLDocument.java
(CharacterAction.start): Translate tag to StyleAttribute.
(pushCharacterStyle): Push copy of attributes onto stack.
* gnu/javax/swing/text/html/CharacterAttributeTranslator.java:
New file
2006-05-13 Sven de Marothy <sven@physto.se>
* gnu/javax/print/ipp/IppRequest.java (send): Set a timeout.
* java/awt/print/PrinterJob.java
(getPrinterJob): Return a JavaPrinterJob
(setPrintService,getPrintService): Implement.
* native/jni/gtk-peer/gnu_java_awt_peer_gtk_GtkImage.c:
(getPixels): Gtk_threads_enter required.
* gnu/java/awt/print/JavaPrinterGraphics.java
* gnu/java/awt/print/JavaPrinterJob.java
* gnu/java/awt/print/SpooledDocumet.java:
New files.
2006-05-13 Robert Schuster <robertschuster@fsfe.org>
* javax/swing/text/TextAction.java:
(HorizontalMovementAction): New inner class.
(VerticalMovementAction): New inner class.
* javax/swing/text/DefaultEditorKit.java: Added assigning instances of
new inner classes to array 'defaultActions'.
(SelectionBeginWordAction): New inner class.
(SelectionEndWordAction): New inner class.
(BeginWordAction): New inner class.
(EndWordAction): New inner class.
(PreviousWordAction.actionPerformed): Rewritten.
(SelectLineAction): New inner class.
(SelectWordAction): New inner class.
(SelectionDownAction): Rewritten.
(SelectionUpAction): Rewritten.
(DownAction): Rewritten.
(UpAction): Rewritten.
(SelectionForwardAction): Rewritten.
(SelectionBackwardAction): Rewritten.
(ForwardAction): Rewritten.
(BackwardAction): Rewritten.
(BeginAction): New inner class.
(EndAction): New inner class.
(DefaultKeyTypedAction.actionPerformed): Use int variant of
Character.isISOControl.
2006-05-13 Robert Schuster <robertschuster@fsfe.org>
* examples/gnu/classpath/examples/swing/NavigationFilterDemo.java:
(WordFilter.getNextVisualPositionFrom): Added statement to check
for variable pt not being null.
2006-05-13 Robert Schuster <robertschuster@fsfe.org>
* javax/swing/text/Utilities.java:
(getNextWord): Fixed grammar in exception message.
(getPreviousWord): Changed expression in first if-clause, added sub-
expression to if-clause in while-loop.
(getWordStart): Changed expression in if-clause.
getNextVisualPositionFrom): Added package-private helper method.
2006-05-13 Audrius Meskauskas <AudriusA@Bioinformatics.org>
* javax/swing/tree/DefaultTreeSelectionModel.java (leadRow):
Initialise to -1.
2006-05-13 Raif S. Naffah <raif@swiftdsl.com.au>
* resource/gnu/classpath/tools/jarsigner/MessageBundle.properties:
Added help text.
* tools/Makefile.am (JARSIGNER_HELPS): Removed.
* tools/gnu/classpath/tools/jarsigner/jarsigner.txt: Removed.
* tools/gnu/classpath/tools/jarsigner/Main.java:
Increased visibility of fields used by parser anonymous classes.
(HELP_PATH): Removed.
(cmdLineParser): New field.
(main): Handle JVM exit status.
Handle command line parsing exceptions.
(processArgs): Use getopt command line parser.
(getParser): New method.
(setupCommonParams): Removed checks now handled by processArgs().
(setupSigningParams): Likewise.
* tools/gnu/classpath/tools/jarsigner/JarSigner.java (start):
Reuse an existing message-bundle constant.
2006-05-12 Tom Tromey <tromey@redhat.com>
* gnu/java/net/protocol/jar/Connection.java (getHeaderField):
Explicitly specify class for synchronization.
2006-05-12 Tom Tromey <tromey@redhat.com>
* java/util/logging/Logger.java (resetLogger): Fixed typo.
2006-05-12 Sven de Marothy <sven@physto.se>
* gnu/java/net/protocol/http/HTTPConnection.java (get): Add timeout parameter.
* gnu/java/net/protocol/http/HTTPURLConnection.java
(setConnectTimeout): New method.
(getConnection): Add timeout parameter.
* java/net/URLConnection.java
(getConnectTimeout, setConnectTimeout): Implement.
* native/target/generic/target_generic_network.h:
Set correct socket parameters SO_SNDTIMEO and SO_RCVTIMEO.
2006-05-12 Sven de Marothy <sven@physto.se>
* gnu/javax/print/CupsServer.java
(CupsServer): Make the Cups host configurable.
* java/lang/System.java: Document the system property.
2006-05-12 Roman Kennke <kennke@aicas.com>
* javax/swing/border/TitledBorder.java
(paintBorder): Rewritten for simplicity and correctness.
(layoutBorderWithTitle): New helper method.
(paintBorderWithTitle): New helper method.
(getBorderInsets): Rewritten.
(getMinimumSize): Rewritten.
(getRealJustification): Removed.
(getMeasurements): Removed.
(Measurements): Removed.
2006-05-12 David Gilbert <david.gilbert@object-refinery.com>
* javax/swing/plaf/basic/BasicPanelUI.java
(sharedUI): New field,
(createUI): Return a shared instance rather than a new instance,
(installUI): Reformatted and added API docs,
(installDefaults): Install border if one is defined,
(uninstallDefaults): Uninstall border.
2006-05-12 David Gilbert <david.gilbert@object-refinery.com>
* javax/swing/JProgressBar.java: Updated API docs all over.
2006-05-11 Lillian Angel <langel@redhat.com>
* java/awt/ContainerOrderFocusTraversalPolicy.java
(getComponentAfter): Should not throw exception if
the ancestor is null. Added a check for this.
Also, changed to use new helper function, we should
iterate through all the components at least once.
(getNextAvailableComponent): New helper function.
(getPrevAvailableComponent): New helper function.
(getComponentBefore): Should not throw exception if
the ancestor is null. Added a check for this.
Also, changed to use new helper function, we should
iterate through all the components at least once.
(getFirstComponent): Changed check to manually check
fields. Calling accept() casts the object to a Component,
so different values may be returned.
(getLastComponent): Likewise.
2006-05-11 David Gilbert <david.gilbert@object-refinery.com>
* javax/swing/plaf/metal/MetalBorders.java: Clean up formatting/style,
* javax/swing/plaf/metal/MetalButtonUI.java: Likewise,
* javax/swing/plaf/metal/MetalCheckBoxUI.java: Likewise,
* javax/swing/plaf/metal/MetalComboBoxButton.java: Likewise,
* javax/swing/plaf/metal/MetalComboBoxIcon.java: Likewise,
* javax/swing/plaf/metal/MetalFileChooserUI.java: Likewise,
* javax/swing/plaf/metal/MetalIconFactory.java: Likewise,
* javax/swing/plaf/metal/MetalInternalFrameTitlePane.java: Likewise,
* javax/swing/plaf/metal/MetalLookAndFeel.java: Likewise,
* javax/swing/plaf/metal/MetalPopupMenuSeparatorUI.java: Likewise,
* javax/swing/plaf/metal/MetalRootPaneUI.java: Likewise,
* javax/swing/plaf/metal/MetalScrollBarUI.java: Likewise,
* javax/swing/plaf/metal/MetalSeparatorUI.java: Likewise,
* javax/swing/plaf/metal/MetalSliderUI.java: Likewise,
* javax/swing/plaf/metal/MetalSplitPaneDivider.java: Likewise,
* javax/swing/plaf/metal/MetalTabbedPaneUI.java: Likewise,
* javax/swing/plaf/metal/MetalToolTipUI.java: Likewise,
* javax/swing/plaf/metal/MetalUtils.java: Likewise.
2006-05-11 Robert Schuster <robertschuster@fsfe.org>
* javax/swing/text/DefaultCaret.java: Made field 'textComponent'
package-private, added field 'active'.
(PropertyChangeHandler.propertyChange): Added variable 'name', added
cases to update field 'active'.
(mouseDragged): Added documentation, added if-clause to update
selection or caret position.
(mouseClicked): Added early return when text component is disabled.
(focusGained): Moved statements into an if-clause.
(focusLost): Added subexpression to if-clause.
(install): Preset value of 'active'.
(paint): Added subexpression to if-clause.
(isVisible): Extended return expression.
* javax/swing/text/JTextComponent.java:
(copy): Copy only if component is enabled.
(cut): Cut only if component is enabled and editable.
(paste): Dito.
2006-05-11 David Gilbert <david.gilbert@object-refinery.com>
* javax/swing/plaf/multi/MultiComboBoxUI.java: Minor formatting change,
* javax/swing/plaf/multi/MultiFileChooserUI.java: Likewise,
* javax/swing/plaf/multi/MultiListUI.java: Likewise,
* javax/swing/plaf/multi/MultiLookAndFeel.java: Likewise,
* javax/swing/plaf/multi/MultiOptionPaneUI.java: Likewise,
* javax/swing/plaf/multi/MultiSplitPaneUI.java: Likewise,
* javax/swing/plaf/multi/MultiTabbedPaneUI.java: Likewise.
2006-05-11 Roman Kennke <kennke@aicas.com>
* gnu/java/awt/font/GNUGlyphVector.java
(GNUGlyphVector): Don't apply the font renderer context's
transform.
2006-05-11 Mark Wielaard <mark@klomp.org>
* java/util/logging/Logger.java (global): Initialize inside static
PrivilegedAction.
2006-05-11 David Gilbert <david.gilbert@object-refinery.com>
* javax/swing/JFrame.java
(EXIT_ON_CLOSE): Added note to API docs,
(close_action): Renamed closeAction,
(JFrame()): Change title to "",
(JFrame(String)): Added API docs,
(getAccessibleContext): Likewise,
(getDefaultCloseOperation): Updated for renamed field, added API docs,
(processWindowEvent): Updated for renamed field,
(setDefaultCloseOperation): Likewise, and updated API docs.
2006-05-11 David Gilbert <david.gilbert@object-refinery.com>
* javax/swing/JFrame.java
(paramString): Reimplemented,
* javax/swing/SwingUtilities.java
(convertWindowConstantToString): New method.
2006-05-11 David Gilbert <david.gilbert@object-refinery.com>
* javax/swing/WindowConstants.java: Updated API docs.
2006-05-11 David Gilbert <david.gilbert@object-refinery.com>
* javax/swing/plaf/basic/BasicToggleButtonUI.java: Updated API docs,
(createUI): Removed 'final' qualifier for parameter,
(paint): Reformatted.
2006-05-11 David Gilbert <david.gilbert@object-refinery.com>
* javax/swing/plaf/basic/BasicCheckBoxUI.java: Added API docs plus,
(createUI): Removed 'final' qualifier on method argument.
2006-05-11 David Gilbert <david.gilbert@object-refinery.com>
* javax/swing/plaf/basic/BasicCheckBoxUI.java
(getDefaultIcon): Removed this redundant method.
2006-05-11 David Gilbert <david.gilbert@object-refinery.com>
* javax/swing/plaf/basic/BasicRadioButtonUI.java
(paint): Pass component size to paintFocus().
2006-05-11 Robert Schuster <robertschuster@fsfe.org>
* java/awt/Component.java:
(dispatchEventImpl): Added comment.
2006-05-11 Mark Wielaard <mark@klomp.org>
* tools/gnu/classpath/tools/appletviewer/Main.java (main): Cast
Option constructor null argument to String.
2006-05-11 Mark Wielaard <mark@klomp.org>
* java/awt/geom/GeneralPath.java (WIND_EVEN_ODD, WIND_NON_ZERO):
Fully qualify PathIterator constants
2006-05-11 Robert Schuster <robertschuster@fsfe.org>
* java/awt/Component.java:
(dispatchEventImpl): Added subexpression to if-clause.
2006-05-11 Mark Wielaard <mark@klomp.org>
* java/util/Collections.java (UnmodifiableMapEntry): Qualify
Map.Entry.
2006-05-10 David Gilbert <david.gilbert@object-refinery.com>
* javax/swing/TransferHandler.java: Marked stub methods.
2006-05-10 Roman Kennke <kennke@aicas.com>
PR classpath/27481
* javax/swing/plaf/basic/BasicInternalFrameUI.java
(installDefaults): Set background of content pane to null, if
no custom color has been installed by the application yet.
2006-05-10 Roman Kennke <kennke@aicas.com>
PR classpath/27481
* javax/swing/JRootPane.java
(createContentPane): Don't set background to null.
2006-05-10 Sven de Marothy <sven@physto.se>
* java/awt/print/PrinterJob.java:
(lookupPrintServices): Un-comment-out.
2006-05-11 Raif S. Naffah <raif@swiftdsl.com.au>
* tools/gnu/classpath/tools/getopt/OptionGroup.java
(FILLER): New constant.
(formatText(PrintStream,String,int)): New method.
(formatText(PrintStream,String,int,Locale)): Likewise.
(printHelp): Use formatText method.
* tools/gnu/classpath/tools/getopt/Parser.java
(MAX_LINE_LENGTH): New constant.
(formatText(PrintStream,String)): New method.
(formatText(PrintStream,String,Locale)): Likewise.
(printHelp): New method.
(printHelp(PrintStream)): Increased visibility to protected.
Use formatText method.
2006-05-10 David Gilbert <david.gilbert@object-refinery.com>
* javax/swing/plaf/metal/MetalRadioButtonUI.java
(installDefaults): Use getPropertyPrefix() to allow subclasses to
modify the lookup key.
2006-05-10 Lillian Angel <langel@redhat.com>
* java/util/SimpleTimeZone.java: Reverted patch.
(SimpleTimeZone): Throw exception if startMonth ==
endMonth.
(SimpleTimeZone): Likewise.
(checkRule): Rewritten to properly check all values (more
efficently).
This code is now more stable, at least less buggy than before.
Fixed API documentation.
(setStartRule): Moved checkRule call to end.
(setStartRule): Likewise.
(setEndRule): Likewise.
(setEndRule): Likewise.
2006-05-10 Roman Kennke <kennke@aicas.com>
* gnu/java/awt/peer/swing/SwingComponent.java:
Some API comment fixlets.
* gnu/java/awt/peer/swing/SwingComponentPeer.java:
(createImage): Create a BufferedImage, not a Toolkit image.
(paint): Removed bogus API comment.
(prepareImage): Added checks to avoid NPE.
* gnu/java/awt/peer/swing/SwingContainerPeer.java:
(getInsets): Added check to avoid NPE.
(handleMouseEvent): Added check to avoid NPE.
* gnu/java/awt/peer/swing/SwingFramePeer.java:
Some API comment fixlets.
* gnu/java/awt/peer/swing/SwingMenuBarPeer.java:
Some API comment fixlets.
* gnu/java/awt/peer/swing/SwingTextFieldPeer.java:
Changed start_pos name to startPos.
* gnu/java/awt/peer/swing/SwingWindowPeer.java:
Some API comment fixlets.
2006-05-10 David Gilbert <david.gilbert@object-refinery.com>
* java/awt/BasicStroke.java
(equals): Fixed typo in HTML tag for API doc comment.
2006-05-10 Gary Benson <gbenson@redhat.com>
* java/lang/ThreadGroup.java (parent): Make package-private.
* java/lang/SecurityManager.java (checkAccess(Thread)):
Reference ThreadGroup.parent directly to avoid extra checks.
* java/lang/SecurityManager.java (checkAccess(ThreadGroup)):
Likewise.
2006-05-10 Roman Kennke <kennke@aicas.com>
Reported by Ingo Proetel (proetel@aicas.com)
* java/awt/EventDispatchThread.java
(DEFAULT_PRIORITY): New constant field.
(EventDispatchThread()): Added gnu.awt.dispatchthread.priority
system property for adjusting the priority of the event
dispatch thread.
2006-05-10 Roman Kennke <kennke@aicas.com>
Reported by Ingo Proetel (proetel@aicas.com)
* java/awt/image/ColorModel.java
(S_RGB_MODEL): New constant field.
(getRGBDefault): Return constant SRGBColorModel.
(SRGBColorModel): Specialized color model for sRGB.
2006-05-10 Roman Kennke <kennke@aicas.com>
* java/awt/ColorPaintContext.java
(getRaster): Create Raster with (0,0) as source location.
2006-05-10 Roman Kennke <kennke@aicas.com>
* gnu/java/awt/java2d/AlphaCompositeContext.java
(compose): Don't premultiply alpha to alpha itself.
2006-05-10 Roman Kennke <kennke@aicas.com>
* gnu/java/awt/java2d/AbstractGraphics2D.java
(drawImage(Image,AffineTransform,ImageObserver)): Implemented.
(drawImageImpl(Image,AffineTransform,ImageObserver,Rectangle)):
New method.
(drawImage(BufferedImage,BufferedImageOp,int,int)): Implemented.
(drawRenderedImage(RenderedImage,AffineTransform)): Implemented.
(drawRenderedImageImpl(RenderedImage,AffineTransform,Rectangle)):
New method.
(drawRenderableImage(RenderableImage,AffineTransform)): Implemented.
(drawRenderableImageImpl(RenderableImage,AffineTransform,Rectangle)):
New method.
(scale): Inverse transform by doing 1/scale instead of -scale.
(drawImage(Image,int,int,ImageObserver)): Implemented.
(drawImage(Image,int,int,int,int,ImageObserver)): Implemented.
(drawImage(Image,int,int,Color,ImageObserver)): Implemented.
(drawImage(Image,int,int,int,int,Color,ImageObserver)): Implemented.
(drawImage(Image,int,int,int,int,int,int,int,int,ImageObserver)):
Implemented.
(drawImage(Image,int,int,int,int,int,int,int,int,Color,ImageObserver)):
Implemented.
(fillScanline): Work on translated destination raster for
correct compositin.
(init): Fetch the clip after the destination raster is initialized.
* gnu/java/awt/java2d/ImagePaint.java: New file.
* gnu/java/awt/java2d/RasterGraphics
(drawImage): Removed.
2006-05-09 Thomas Fitzsimmons <fitzsim@redhat.com>
* resource/gnu/classpath/tools/appletviewer/MessagesBundle.properties:
Clarify option descriptions.
* tools/gnu/classpath/tools/appletviewer/Main.java: Use all
uppercase for metasyntactic variables.
2006-05-09 Robert Schuster <robertschuster@fsfe.org>
PR classpath/24216
* javax/swing/text/AbstractDocument.java:
(insertString): Added more documentation, added argument check.
(remove): Added more documentation.
(removeImpl): Added argument check.
(replace): Added more documentation, added argument check.
2006-05-09 Tom Tromey <tromey@redhat.com>
* tools/.cvsignore: Added appletviewer.
2006-05-09 Tom Tromey <tromey@redhat.com>
* tools/gnu/classpath/tools/getopt/Parser.java (printHelp): Skip
empty groups.
2006-05-09 Tom Tromey <tromey@redhat.com>
* tools/gnu/classpath/tools/getopt/OptionGroup.java (printHelp):
Special case for '-J'. Use space instead of '='.
* tools/gnu/classpath/tools/getopt/Parser.java (setHeader): Added
comment.
2006-05-09 Thomas Fitzsimmons <fitzsim@redhat.com>
* configure.ac: Add --disable-plugin and --with-vm options. Check
for plugin support headers and libraries.
* native/Makefile.am: Recurse into plugin directory.
* native/plugin/.cvsignore: New file.
* native/plugin/Makefile.am: New file.
* native/plugin/gcjwebplugin.cc: New file.
* tools/Makefile.am: Install appletviewer wrapper script.
* tools/appletviewer.in: Replace VM location heuristic with
VM_BINARY configure substitution.
2006-05-09 Tom Tromey <tromey@redhat.com>
* tools/gnu/classpath/tools/getopt/OptionGroup.java (printHelp): Added
an initial pass to look for short options. Added 'longOnly' option.
* tools/gnu/classpath/tools/appletviewer/Main.java (main): Removed -J
option.
* tools/gnu/classpath/tools/getopt/Parser.java (parsed): Put stadnard
options into final group. Added -J.
(add): Insert new groups before final group.
(printHelp): Updated.
2006-05-09 Audrius Meskauskas <AudriusA@Bioinformatics.org>
PR 27518
* tools/gnu/classpath/tools/giop/GRMIC.java (main),
tools/gnu/classpath/tools/rmi/RMIC.java (main):
Expect -classpath option.
* tools/gnu/classpath/tools/rmi/RMIC.txt,
tools/gnu/classpath/tools/giop/GRMIC.txt: Documenting
-classpath option.
tools/gnu/classpath/tools/giop/grmic/GiopRmicCompiler.java
(classLoader): New field. (loadClass, setClassPath):
New methods.
2006-05-09 Roman Kennke <kennke@aicas.com>
* gnu/java/awt/java2d/RasterGraphics.java
(RasterGraphics): Call init() and super().
(drawImage): Temporary drawImage impl until AbstractGraphics2D has
this.
2006-05-09 Gary Benson <gbenson@redhat.com>
* java/lang/Thread.java (Thread): Always perform threadgroup
access checks on thread creation.
2006-05-09 Chris Burdess <dog@gnu.org>
* gnu/xml/dom/DomNode.java: Permit comments and PIs in doctype nodes to
be preserved during cloneNode.
2006-05-09 Audrius Meskauskas <AudriusA@Bioinformatics.org>
PR 27517
* tools/gnu/classpath/tools/giop/grmic/GiopRmicCompiler.java (compile):
Do not demand all thrown exceptions to be an instance of RemoteException.
2006-05-09 Thomas Fitzsimmons <fitzsim@redhat.com>
* resource/gnu/classpath/tools/appletviewer/MessagesBundle.properties:
Use hash-style comments.
* resource/gnu/classpath/tools/appletviewer/MessagesBundle_de.properties:
Likewise.
2006-05-09 David Gilbert <david.gilbert@object-refinery.com>
* javax/swing/JLabel.java
(paramString): Added more attribute details,
* javax/swing/SwingUtilities.java
(convertHorizontalAlignmentCodeToString): New method,
(convertVerticalAlignmentCodeToString): New method.
2006-05-08 Tom Tromey <tromey@redhat.com>
* tools/gnu/classpath/tools/jar/Updater.java (run): Updated.
* tools/gnu/classpath/tools/jar/Main.java: Use javadoc for fields.
* tools/gnu/classpath/tools/jar/Lister.java (listJar): Use
ZipInputStream.
(run): Updated.
* tools/gnu/classpath/tools/jar/Extractor.java (run): Use System.err
for verbose.
(run): Use ZipInputStream.
(initSet): New method.
(shouldExtract): Likewise.
(run): Use new methods.
* tools/gnu/classpath/tools/jar/Creator.java
(writeCommandLineEntries): New overload.
(writeFile): Use System.err for verbose.
(writeManifest): New method.
(writtenItems): New field.
(writeFile): Update it.
(writeCommandLineEntries): Return void. Call writeManifest.
(addEntries): Don't add extra '/'.
* NEWS: Mention jar.
2006-05-08 Lillian Angel <langel@redhat.com>
* gnu/java/net/IndexListParser.java: New class.
* java/net/URLClassLoader.java
(JarURLLoader): Fixed code to use new class.
2006-05-08 Roman Kennke <kennke@aicas.com>
* javax/swing/JComboBox.java
(AccessibleJComboBox.getAccessibleChildrenCount): Implemented.
(AccessibleJComboBox.getAccessibleChild): Implemented.
(AccessibleJComboBox.getAccessibleSelection()): Implemented.
(AccessibleJComboBox.getAccessibleSelection(int)): Implemented.
(AccessibleJComboBox.isAccessibleChildSelected): Implemented.
(AccessibleJComboBox.getAccessibleAction): Implemented.
(AccessibleJComboBox.getAccessibleActionDescription): Implemented.
(AccessibleJComboBox.getAccessibleActionCount): Implemented.
(AccessibleJComboBox.doAccessibleAction): Implemented.
(AccessibleJComboBox.getAccessibleSelectionCount): Implemented.
(AccessibleJComboBox.addAccessibleSelection): Implemented.
(AccessibleJComboBox.removeAccessibleSelection): Implemented.
(AccessibleJComboBox.clearAccessibleSelection): Implemented.
(AccessibleJComboBox.selectAllAccessibleSelection): Implemented.
2006-05-08 Thomas Fitzsimmons <fitzsim@redhat.com>
* configure.ac: Add support for building appletviewer.
* resource/gnu/classpath/tools/appletviewer/MessagesBundle.properties:
New file.
* resource/gnu/classpath/tools/appletviewer/MessagesBundle_de.properties:
New file.
* tools/appletviewer.c: New file.
* tools/appletviewer.in: New file.
* tools/gnu/classpath/tools/appletviewer/AppletClassLoader.java:
New file.
* tools/gnu/classpath/tools/appletviewer/AppletSecurityManager.java:
New file.
* tools/gnu/classpath/tools/appletviewer/AppletTag.java: New file.
* tools/gnu/classpath/tools/appletviewer/AppletWarning.java: New
file.
* tools/gnu/classpath/tools/appletviewer/CommonAppletContext.java:
New file.
* tools/gnu/classpath/tools/appletviewer/CommonAppletStub.java:
New file.
* tools/gnu/classpath/tools/appletviewer/ConsoleDialog.java: New
file.
* tools/gnu/classpath/tools/appletviewer/ErrorApplet.java: New
file.
* tools/gnu/classpath/tools/appletviewer/Main.java: New file.
* tools/gnu/classpath/tools/appletviewer/PluginAppletContext.java:
New file.
* tools/gnu/classpath/tools/appletviewer/PluginAppletViewer.java:
New file.
* tools/gnu/classpath/tools/appletviewer/PluginAppletWindow.java:
New file.
* tools/gnu/classpath/tools/appletviewer/StandaloneAppletContext.java:
New file.
* tools/gnu/classpath/tools/appletviewer/StandaloneAppletViewer.java:
New file.
* tools/gnu/classpath/tools/appletviewer/StandaloneAppletWindow.java:
New file.
* tools/gnu/classpath/tools/appletviewer/TagParser.java: New
file.
2006-05-08 Tom Tromey <tromey@redhat.com>
* tools/gnu/classpath/tools/getopt/ClasspathToolParser.java: New file.
* tools/gnu/classpath/tools/jar/Action.java: New file.
* tools/gnu/classpath/tools/jar/Creator.java: New file.
* tools/gnu/classpath/tools/jar/Entry.java: New file.
* tools/gnu/classpath/tools/jar/Extractor.java: New file.
* tools/gnu/classpath/tools/jar/Lister.java: New file.
* tools/gnu/classpath/tools/jar/Main.java: New file.
* tools/gnu/classpath/tools/jar/Updater.java: New file.
* tools/gnu/classpath/tools/getopt/Option.java: New file.
* tools/gnu/classpath/tools/getopt/OptionException.java: New file.
* tools/gnu/classpath/tools/getopt/OptionGroup.java: New file.
* tools/gnu/classpath/tools/getopt/Parser.java: New file.
* tools/gnu/classpath/tools/getopt/FileArgumentCallback.java: New
file.
2006-05-08 Lillian Angel <langel@redhat.com>
* java/net/URLClassLoader.java
(JarURLLoader): Added check to make sure the INDEX.LIST file
exists.
2006-05-08 Roman Kennke <kennke@aicas.com>
* gnu/java/awt/java2d/AbstractGraphics2D.java
(fill): Removed commented out code.
(fillShape): Also determine the outline of the clip and feed
it into the rendering method. Use new helper method for
converting the shapes into lists of segments.
(getUserBounds): Removed obsolete method.
(rawFillShape): Respect the clip when rendering shapes.
(fillShapeAntialias): Adjusted signature for new clipped rendering.
However, the implementation can't clip still.
(getSegments): New helper method for converting a shape into
a list of segments.
(clipShape): Removed obsolete method.
* gnu/java/awt/java2d/PolyEdge.java
(isClip): New field.
(PolyEdge): Added isField argument to constructor.
2006-05-08 Roman Kennke <kennke@aicas.com>
PR 27481
* javax/swing/JRootPane.java
(createContentPane): Set background of the content pane to null,
so that the content pane inherits its background from the
root pane.
2006-05-08 Roman Kennke <kennke@aicas.com>
PR 27480
* javax/swing/ButtonGroup.java
(add): Check if new button is selected and if so, deselect other
buttons in the group.
2006-05-08 Lillian Angel <langel@redhat.com>
PR 27444
* java/net/URLClassLoader.java
(JarURLLoader): Added code to go through
META-INF/INDEX.LIST file to load all jars listed.
2006-05-08 Roman Kennke <kennke@aicas.com>
PR 27461
* javax/swing/ImageIcon.java
(ImageIcon(URL)): Set description to URL.toString().
2006-05-08 Roman Kennke <kennke@aicas.com>
PR 27482
* javax/swing/JTable.java
(IconCellRenderer.getTableCellRendererComponent): Set icon to
null when cell value is null.
2006-05-08 Roman Kennke <kennke@aicas.com>
PR 27484
* javax/swing/DefaultDesktopManager.java
(closeFrame): Don't perform default close action on the frame
to prevent endless loop.
2006-05-08 Roman Kennke <kennke@aicas.com>
PR 27485
* javax/swing/table/DefaultTableModel.java
(addExtraRows): New helper method.
(checkSize): New helper method.
(setRowCount): Use addExtraRows helper method.
(addColumn): Use addExtraRows helper method.
(getColumnName): Check and adjust size if necessary using
checkSize().
2006-05-08 Roman Kennke <kennke@aicas.com>
PR 27486
* javax/swing/JTable.java
(setValueAt): Allow setting values even when table is editable.
2006-05-08 Tom Tromey <tromey@redhat.com>
* java/text/SimpleDateFormat.java (compileFormat): Added missing
space to error message.
2006-05-08 David Gilbert <david.gilbert@object-refinery.com>
* javax/swing/AbstractButton.java: Fixed comment typos.
2006-05-07 Andrew John Hughes <gnu_andrew@member.fsf.org>
PR classpath/27435:
* java/util/zip/DeflaterEngine.java:
(deflateFast(boolean,boolean)): Empty buffer when full.
2006-05-07 Sven de Marothy <sven@physto.se>
Fixed PR27343
* java/util/Calendar.java (setTimeZone): Force recalculation.
2006-05-07 Sven de Marothy <sven@physto.se>
Fixed PR27463
* javax/swing/plaf/metal/MetalInternalFrameTitlePane.java
(propertyChange): Handle FRAME_ICON_PROPERTY property.
2006-05-07 Andrew John Hughes <gnu_andrew@member.fsf.org>
PR classpath/27311:
* gnu/java/text/StringFormatBuffer.java:
(toString()): Implemented so we can see the contents.
* java/text/DecimalFormat.java:
(formatInternal(double,StringFormatBuffer,FieldPosition)):
Don't calculate the exponent when the number is 0 or less.
Also, use log10 instead of log now it's available.
2006-05-07 Raif S. Naffah <raif@swiftdsl.com.au>
* gnu/javax/crypto/keyring/PrimitiveEntry.java (PrimitiveEntry):
Use instance's field creationDate not the constructor's argument.
* gnu/javax/crypto/keyring/PasswordEncryptedEntry.java:
Removed unused imports.
Sorted imports.
(log): New field.
(decrypt): Added trace/debug/timing statements.
(encrypt): Likewise.
Use PRNG instead of instantiating every time a new SecureRandom.
* gnu/javax/crypto/keyring/PasswordAuthenticatedEntry.java:
Removed unused imports.
Sorted imports.
(log): New field.
(verify): Added trace/debug/timing statements.
(authenticate): Likewise.
Use PRNG instead of instantiating every time a new SecureRandom.
2006-05-07 Raif S. Naffah <raif@swiftdsl.com.au>
* gnu/classpath/debug/Simple1LineFormatter.java (DAT_FORMAT): Removed.
(THREAD_FORMAT): Likewise.
(dateFormat): Added field.
(threadFormat): Added field.
(format): Initialize instance fields if null.
Use StringBuilder instead of StringBuffer.
2006-05-07 Roman Kennke <kennke@aicas.com>
* gnu/java/awt/java2d/RasterGraphics.java: New file.
2006-05-07 Roman Kennke <kennke@aicas.com>
* gnu/java/awt/java2d/AbstractGraphics2D.java
(fillShape): Determine user space bounds of shape and feed them
into the actual rendering pipeline.
(rawSetPixel): Made non-abstract for now. Maybe remove later.
(rawSetForeground): Likewise.
(getDestinationColorModel): Removed.
(getDeviceBounds): Made non-abstract. Provide useful default impl.
(rawFillShape): Handle paint context.
(fillScanline): Implement painting and compositing.
(fillShapeAntialias): Handle paint context.
(fillScanlineAA): Implemented preliminary antialiasing based on
composite context. Not working yet.
(fillScanlineAlpha): Removed.
(init): Fetch destination raster.
(getDestinationRaster): New abstract method.
(updateRaster): New backend method.
2006-05-07 Roman Kennke <kennke@aicas.com>
* gnu/java/awt/java2d/AlphaCompositeContext.java
(compose): Fixed loops, conditions and logic to make compositing
work correctly.
2006-05-07 Roman Kennke <kennke@aicas.com>
* java/awt/ColorPaintContext.java
(ColorPaintContext): Fixed filling of the raster.
2006-05-07 Sven de Marothy <sven@physto.se>
Fixed PR27455
* gnu/java/awt/peer/GLightweightPeer.java (mouseEntered): Remove.
* java/awt/Component.java (processMouseEvent):
Do lightweight cursor handling.
* javax/swing/plaf/basic/BasicTableHeaderUI.java
(endResizing,mouseMoved): Save and reset original cursor, not the
default one.
2006-05-07 Audrius Meskauskas <AudriusA@Bioinformatics.org>
PR 27298
* javax/swing/plaf/basic/BasicTreeUI.java (NodeDimensionsHandler.
getNodeDimensions): Mind the size of the node icon. (getRowX):
use totalChildIndent. (TreeExpansionHandler): Set maximal height
to zero on events. (nullIcon): New field. (getCurrentControlIcon):
Return nullIcon if there is no other icon. (getNodeIcon): New method.
(installDefaults): assign totalChildIndent. (installUI): Call
updateExpandedDescendants. (paintHorizontalPartOfLeg): Rewritten.
(paintRow): Rewritten. (updateRenderer): Do not set the renderer for
the tree.
2006-05-06 Sven de Marothy <sven@physto.se>
Fixed PR27454
* gnu/java/awt/peer/gtk/GtkImage: (drawPixels,drawPixelsScaled):
Check for zero image sizes.
2006-05-06 Olivier Jolly <olivier.jolly@pcedev.com>
Fixed PR27362
* java/util/Calendar.java (clear(int)): Forced internal state
completion before performing a field clearing.
2006-05-06 Olivier Jolly <olivier.jolly@pcedev.com>
* java/util/Collections.java(UnmodifiableMap.UnmodifiableEntrySet.
UnmodifiableMapEntry): New Map.Entry implementation which is immutable.
(UnmodifiableMap.UnmodifiableEntrySet.iterator,
UnmodifiableMap.UnmodifiableEntrySet.toArray,
UnmodifiableMap.UnmodifiableEntrySet.toArray(Object[])): Used
UnmodifiableMapEntry as part of their return value.
2006-05-06 Raif S. Naffah <raif@swiftdsl.com.au>
* tools/keytool.sh.in: Removed (renamed to keytool.in).
* tools/jarsigner.in: Removed (renamed to jarsigner.in).
* tools/Makefile.am: Include jarsigner and keytool classes in tools.zip.
Generate jarsigner and keytool scripts.
* tools/keytool.in: New file (renamed from keytool.sh.in).
* tools/jarsigner.in: New file (renamed from jarsigner.sh.in).
* tools/.cvsignore: Replaced *.sh with *
* configure.ac: Replaced tools/*.sh with tools/*.
2006-05-05 Roman Kennke <kennke@aicas.com>
* java/awt/image/ColorModel.java
(getNormalizedComponents): Implemented.
2006-05-05 Roman Kennke <kennke@aicas.com>
* javax/swing/plaf/basic/BasicRadioButtonUI.java
(paint): Query the button model for it's state, not the
button itself.
2006-05-05 Roman Kennke <kennke@aicas.com>
* javax/swing/JTable.java
(tableChanged): Sync selection model with table model changes.
2006-05-05 Audrius Meskauskas <AudriusA@Bioinformatics.org>
* javax/swing/plaf/basic/BasicTreeUI.java (paint): Return early
if there are no visible nodes to paint.
2006-05-05 David Gilbert <david.gilbert@object-refinery.com>
* javax/swing/JOptionPane.java: API doc updates.
2006-05-05 David Gilbert <david.gilbert@object-refinery.com>
* javax/swing/JToolBar.java
(paramString): Reimplemented.
2006-05-05 David Gilbert <david.gilbert@object-refinery.com>
* javax/swing/JScrollBar.java
(paramString): Reimplemented.
2006-05-04 Tom Tromey <tromey@redhat.com>
PR classpath/27375:
* java/util/zip/ZipFile.java (entries): Now a LinkedHashMap.
(readEntries): Updated.
(getEntries): Likewise.
(getEntry): Likewise.
(getInputStream): Likewise.
2006-05-04 Thomas Fitzsimmons <fitzsim@redhat.com>
* gnu/javax/imageio/jpeg/DCT.java,
gnu/javax/imageio/jpeg/HuffmanTable.java,
gnu/javax/imageio/jpeg/JPEGComponent.java,
gnu/javax/imageio/jpeg/JPEGDecoder.java,
gnu/javax/imageio/jpeg/JPEGException.java,
gnu/javax/imageio/jpeg/JPEGFrame.java,
gnu/javax/imageio/jpeg/JPEGImageInputStream.java,
gnu/javax/imageio/jpeg/JPEGImageReader.java,
gnu/javax/imageio/jpeg/JPEGImageReaderSpi.java,
gnu/javax/imageio/jpeg/JPEGMarker.java,
gnu/javax/imageio/jpeg/JPEGMarkerFoundException.java,
gnu/javax/imageio/jpeg/JPEGScan.java,
gnu/javax/imageio/jpeg/YCbCr_ColorSpace.java,
gnu/javax/imageio/jpeg/ZigZag.java: New files.
2006-05-04 Lillian Angel <langel@redhat.com>
* javax/swing/JLabel.java
(JLabel): Pass in an empty string for the text parameter.
(JLabel): Likewise.
(JLabel): Likewise.
2006-05-04 Roman Kennke <kennke@aicas.com>
* javax/swing/plaf/basic/BasicButtonListener.java
(mouseEntered): Fixed conditions for changing states.
2006-05-04 Roman Kennke <kennke@aicas.com>
* javax/swing/JOptionPane.java
(AccessibleJOptionPane.getAccessibleRole): Implemented method.
2006-05-04 Roman Kennke <kennke@aicas.com>
* javax/swing/JLabel.java
(AccessibleJLabel.getSelectedText): Return null instead of "".
(AccessibleJLabel.getSelectionStart): Added comment why
return -1 is correct here.
(AccessibleJLabel.getSelectionEnd): Added comment why
return -1 is correct here.
(AccessibleJLabel.getCharacterAttribute): Added comment about what
to do here.
(AccessibleJLabel.getCharCount): Added comment about what
to do here.
(AccessibleJLabel.getCharacterBounds): Tagged as not implemented.
(AccessibleJLabel.getIndexAtPoint): Tagged as not implemented.
(paramString): Return super.paramString() here, this provides
a more meaningful output.
2006-05-04 Roman Kennke <kennke@aicas.com>
* javax/swing/JComponent.java
(paint): Added null check to avoid NPE when clip == null.
2006-05-04 Roman Kennke <kennke@aicas.com>
* javax/swing/AbstractButton.java
(addImpl): New method. Installs an OverlayLayout if no
other layout has been installed before.
(setLayout): New method. Detect if a client app installs a custom
layout.
2006-05-04 Roman Kennke <kennke@aicas.com>
* javax/swing/table/DefaultTableCellRenderer.java
(noFocusBorder): Fixed width of empty border to 1.
(getTableCellRendererComponent): Don't change the colors for
focuses cells. Fixed border for focused cells.
2006-05-04 Roman Kennke <kennke@aicas.com>
* javax/swing/JTable.java
(moveToCellBeingEdited): Adjust bounding box of editing component
to exactly cover the grid.
* javax/swing/plaf/basic/BasicTableUI.java
(paint): Paint grid to the bottom and right of the cells instead
of left and top. Adjust bounding box of cells accordingly.
* javax/swing/plaf/metal/MetalLookAndFeel.java
(initComponentDefaults): Fixed color of JTable selection border.
* javax/swing/plaf/metal/OceanTheme.java
(addCustomEntriesToTable): Fixed color of JTable selection border.
2006-05-04 Raif S. Naffah <raif@swiftdsl.com.au>
* tools/gnu/classpath/tools/keytool/ExportCmd.java (setup):
Use _alias instead of alias.
2006-05-03 Andrew John Hughes <gnu_andrew@member.fsf.org>
* configure.ac:
Set version to 0.92-pre.
* NEWS:
Add space for 0.92 entries.
2006-05-03 Andrew John Hughes <gnu_andrew@member.fsf.org>
* include/Makefile.am:
Added rules for gnu.java.net.local.LocalSocketImpl.h
* include/java_lang_VMSystem.h:
Regenerated correctly.
2006-05-03 Sven de Marothy <sven@physto.se>
PR 24023, 24701
* java/awt/Image.java:
(getScaledInstance): Default to AreaAveraging for "smooth",
don't thrown an error on illegal flag values.
* java/awt/image/AreaAveragingScaleFilter.java: Implement.
2006-05-03 Robert Schuster <robertschuster@fsfe.org>
* javax/swing/text/FieldView.java:
(adjustAllocation): Added if-block to return null when shape argument
is null.
* javax/swing/text/PlainView.java:
(updateDamage): Added if-block to return early if a is null.
2006-05-03 Robert Schuster <robertschuster@fsfe.org>
* javax/swing/plaf/basic/BasicTextUI.java:
(changeUpdate): Added note.
(removeUpdate): Dito.
(insertUpdate): Dito.
(damageRange): Added if-block to return early.
(modelToView): Added check of getVisibleEditorRect's return value.
(getVisibleEditorRect): Return null instead of empty rectangle.
* javax/swing/text/DefaultCaret.java:
(clearHighlight): Removed if-clause to create a highlight entry if it
did not exist before.
* javax/swing/text/WrappedPlainView.java:
(WrappedLine.modelToView): Throw exception if allocation area is empty,
removed 2nd part of if-expression.
(WrappedLine.updateDamage): Added more documentation, added check
whether allocation area rectangle is null.
2006-05-03 Audrius Meskauskas <AudriusA@Bioinformatics.org>
* javax/swing/JSplitPane.java (setDividerLocation(int)):
Reset to preferred sizes if the argument is negative.
2006-05-03 David Gilbert <david.gilbert@object-refinery.com>
* javax/swing/JList.java: Added/updated API docs.
2006-05-03 Lillian Angel <langel@redhat.com>
* javax/swing/JComponent.java
(getRoot): New private function. Gets the root appropriate
for painting. If an applet exists as a parent, then it is returned.
(paintDoubleBuffered): Changed to use new function.
* javax/swing/RepaintManager.java
(getRoot): New private function. Gets the root appropriate
for painting. If an applet exists as a parent, then it is returned.
(getOffscreenBuffer): Changed to use new function.
* javax/swing/SwingUtilties.java
(getRoot): Reverted last patch to return Window, even if
an Applet exists.
2006-05-03 Raif S. Naffah <raif@swiftdsl.com.au>
* gnu/javax/crypto/jce/keyring/GnuKeyring.java: Re-implemented using
a pair of one public keyring and one private keyring.
* gnu/javax/crypto/keyring/GnuPublicKeyring.java (log): New field.
(containsCertificate): Added logging.
(getCertificate): Likewise.
(putCertificate): Likewsie.
(load): Likewise.
(store): Likewise.
* gnu/javax/crypto/keyring/GnuPrivateKeyring.java (log): New field.
(containsPrivateKey): Added logging.
(getPrivateKey): Likewise.
(putPrivateKey): Likewise.
(containsPublicKey): Likewise.
(getPublicKey): Likewise.
(putPublicKey): Likewise.
(containsCertPath): Likewise.
(getCertPath): Likewise.
(putCertPath): Likewise.
(load): Likewise.
(store): Likewise.
2006-05-03 Roman Kennke <kennke@aicas.com>
* gnu/java/awt/java2d/AlphaCompositeContext.java: New class.
* java/awt/AlphaComposite.java
(createContext): Implemented.
2006-05-03 Audrius Meskauskas <AudriusA@Bioinformatics.org>
* gnu/java/awt/peer/gtk/GdkGraphics2D.java (drawRaster):
Set the current color again after drawing the raster.
2006-05-03 Audrius Meskauskas <AudriusA@Bioinformatics.org>
* javax/swing/text/WrappedPlainView.java (WrappedLine.modelToView):
Do not check pos < currLineEnd if currLineStart == currLineEnd.
2006-05-03 Raif S. Naffah <raif@swiftdsl.com.au>
* tools/gnu/classpath/tools/keytool/Command.java (getCallbackHandler):
Assign returned value to field handler.
* tools/gnu/classpath/tools/jarsigner/Main.java (getCallbackHandler):
Likewise.
2006-05-02 Audrius Meskauskas <AudriusA@Bioinformatics.org>
* javax/swing/ScrollPaneLayout.java (layoutContainer):
Return without action if there is no view in the viewport.
* javax/swing/text/WrappedPlainView.java
(WrappedLine.getPreferredSpan): If metrics == null, update
metrics.
* javax/swing/tree/DefaultTreeModel.java (constructors):
Do not call setRoot, assign the root node directly.
2006-05-02 Lillian Angel <langel@redhat.com>
* javax/swing/SwingUtilities.java
(getRoot): Should return the Applet if it exists.
Only return the Window if an Applet has not been
encountered.
2006-05-02 Lillian Angel <langel@redhat.com>
* gnu/javax/swing/text/html/parser/support/Parser.java
(readAttributes): Reverted Audrius' last patch. There is
a slight difference in code between the NUMTOKEN and SLASH case.
2006-05-02 Robert Schuster <robertschuster@fsfe.org>
* javax/swing/text/JTextComponent.java:
(setText): Throw InternalError from catch-block.
* javax/swing/text/GapContent.java:
(removed): Removed if-expression, changed '>' to '>='.
2006-05-02 Roman Kennke <kennke@aicas.com>
* gnu/java/awt/java2d/AbstractGraphics2D.java
(AA_SAMPLING): New constant.
(alpha): New field. Used in the antialiasing renderer.
(edgeTable): New field. Used in the antialiasing renderer.
(AbstractGraphics2D): Initialize rendering hints wrt
anti-aliasing.
(draw): Clip after stroking. Commented out clipping for now,
it seems to be buggy.
(fill): Commented out clipping for now, it seems to be buggy.
(setComposite): Don't create composite context.
(setPaint): Only change paint when parameter is not null.
(translate): Call setClip() so subclasses can update their clip
too.
(clip): Call setClip() so subclasses can update their clip
too.
(drawGlyphVector): Added clipping, but left it commented out
because it's buggy.
(getClipBounds): Returns null when clip is null.
(drawLine): Call rawDrawLine with translation applied.
(filLRect): Call rawFillRect with translation applied.
(fillShape): Added support for anti-aliasing.
(rawSetForeground(int,int,int)): New method.
(rawFillShape): A couple of painting fixes.
(fillScanline): Implemented to call rawDrawLine.
(fillShapeAntialias): New method. Implements an anti-aliasing
shape filler.
(fillScanlineAA): New method. Used for the anti-aliasing
shape filler.
(fillScanlineAlpha): New method. Used for the anti-aliasing
shape filler.
(init): Initialize clip with the device bounds.
(updateOptimization): Fixed the optimization condition.
2006-05-02 Robert Schuster <robertschuster@fsfe.org>
* javax/swing/text/GapContent.java:
(GapContent): Restrict size argument by 2.
(insertString): Changed expression from >= to >.
(remove): Changed right side of expression to 'length - 1', changed
exception message.
(getChars): Throw exception if where below 0.
(replace): Replaced call to setPositionsInRange() with
resetMarksAtZero(), removed note.
2006-05-02 Roman Kennke <kennke@aicas.com>
PR 27326
* javax/swing/MenuSelectionManager.java
(setSelectedPath): Rewritten.
2006-05-02 Audrius Meskauskas <AudriusA@Bioinformatics.org>
* gnu/javax/swing/text/html/parser/support/Parser.java
(readAttributes): Merge case NUMTOKEN: and case SLASH:
sections.
2006-05-02 Raif S. Naffah <raif@swiftdsl.com.au>
* tools/.cvsignore: Added keytool.sh.
* configure.ac: Added tools/keytool.sh to AC_CONFIG_FILES.
2006-05-02 Raif S. Naffah <raif@swiftdsl.com.au>
* doc/tools.texinfo: New file.
* doc/Makefile.am: Generate tools documentation.
2006-05-02 Raif S. Naffah <raif@swiftdsl.com.au>
* tools/keytool.sh.in: New file.
* tools/gnu/classpath/tools/keytool/CertReqCmd.java: Likewise.
* tools/gnu/classpath/tools/keytool/Command.java: Likewise.
* tools/gnu/classpath/tools/keytool/DeleteCmd.java: Likewise.
* tools/gnu/classpath/tools/keytool/ExportCmd.java: Likewise.
* tools/gnu/classpath/tools/keytool/GenKeyCmd.java: Likewise.
* tools/gnu/classpath/tools/keytool/IdentityDBCmd.java: Likewise.
* tools/gnu/classpath/tools/keytool/ImportCmd.java: Likewise.
* tools/gnu/classpath/tools/keytool/KeyCloneCmd.java: Likewise.
* tools/gnu/classpath/tools/keytool/KeyPasswdCmd.java: Likewise.
* tools/gnu/classpath/tools/keytool/ListCmd.java: Likewise.
* tools/gnu/classpath/tools/keytool/Main.java: Likewise.
* tools/gnu/classpath/tools/keytool/Messages.java: Likewise.
* tools/gnu/classpath/tools/keytool/PrintCertCmd.java: Likewise.
* tools/gnu/classpath/tools/keytool/SelfCertCmd.java: Likewise.
* tools/gnu/classpath/tools/keytool/StorePasswdCmd.java: Likewise.
* tools/gnu/classpath/tools/keytool/keytool.txt: Likewise.
* tools/gnu/classpath/tools/keytool/package.html: Likewise.
* resource/gnu/classpath/tools/keytool/MessageBundle.properties: Likewise.
2006-05-02 Raif S. Naffah <raif@swiftdsl.com.au>
* tools/gnu/classpath/tools/jarsigner/jarsigner.txt: Re-arranged to
resemble more closely man-page style text.
* tools/gnu/classpath/tools/jarsigner/SFHelper.java:
Mark (Eclipse) strings that need not be externalised.
(writeSF): Likewise.
(writeDSA): Likewise.
Use package-private Messages class to provide i18n-ready strings.
(startSigning):
Use package-private Messages class to provide i18n-ready strings.
(updateEntry): Likewise.
Mark (Eclipse) strings that need not be externalised.
(finishSigning): Likewise.
* tools/gnu/classpath/tools/jarsigner/Main.java:
Mark (Eclipse) strings that need not be externalised.
(main): Do not use constant strings as class name.
Use package-private Messages class to provide i18n-ready strings.
Reduced logging level so INFO becomes FINER, and WARNING becomes FINE.
(processArgs): Do not use constant strings as class name.
Mark (Eclipse) strings that need not be externalised.
Reduced logging level so INFO becomes FINER, and WARNING becomes FINE.
(start): Do not use constant strings as class name.
(teardown): Likewise.
Use ProviderUtil.
(setupCommonParams): Do not use constant strings as class name.
Use package-private Messages class to provide i18n-ready strings.
Reduced logging level so INFO becomes FINER, and WARNING becomes FINE.
(installNewProvider): Do not use constant strings as class name.
Use ProviderUtil.
(setupSigningParams): Do not use constant strings as class name.
Use package-private Messages class to provide i18n-ready strings.
Mark (Eclipse) strings that need not be externalised.
(getCallbackHandler): Use CallbackUtil.
* tools/gnu/classpath/tools/jarsigner/JarSigner.java (start):
Use package-private Messages class to provide i18n-ready strings.
Reduced logging level so INFO becomes FINER, and WARNING becomes FINE.
* tools/gnu/classpath/tools/jarsigner/JarVerifier.java (start): Likewise.
(verifySF): Likewise.
(verifySFEntries): Do not use constant strings as class name.
Use Boolean.valueOf instead of new Boolean().
(verifySFEntry): Mark (Eclipse) strings that need not be externalised.
* resource/gnu/classpath/tools/jarsigner/MessageBundle.properties:
New file.
* tools/gnu/classpath/tools/jarsigner/package.html: Likewise.
* tools/gnu/classpath/tools/jarsigner/Messages.java: Likewise.
2006-05-02 Raif S. Naffah <raif@swiftdsl.com.au>
* tools/gnu/classpath/tools/common/CallbackUtil.java: New file.
* tools/gnu/classpath/tools/common/ProviderUtil.java: Likewise.
* tools/gnu/classpath/tools/common/SecurityProviderInfo.java: Likewise.
2006-05-01 Tom Tromey <tromey@redhat.com>
* java/nio/ByteBufferImpl.java (compact): Don't reset position
in empty case.
* gnu/java/nio/ChannelReader.java (read): Synchronize.
(close): Synchronize.
* java/nio/ShortBufferImpl.java (compact): Rewrote.
* java/nio/LongBufferImpl.java (compact): Rewrote.
* java/nio/IntBufferImpl.java (compact): Rewrote.
* java/nio/FloatBufferImpl.java (compact): Rewrote.
* java/nio/DoubleBufferImpl.java (compact): Rewrote.
* java/nio/CharBufferImpl.java (compact): Rewrote.
* gnu/java/nio/ChannelWriter.java: New file.
* java/nio/channels/Channels.java (newWriter): Implemented.
2006-05-01 Lillian Angel <langel@redhat.com>
* java/util/SimpleTimeZone.java
(SimpleTimeZone): Do not throw exception if startMonth == endMonth.
(SimpleTimeZone): Likewise.
(checkRule): Rewritten to properly check all values (more efficently).
This code is now more stable, at least less buggy than before. Fixed
API documentation.
(setStartRule): Moved checkRule call to end.
(setStartRule): Likewise.
(setEndRule): Likewise.
(setEndRule): Likewise.
2006-05-01 Tom Tromey <tromey@redhat.com>
* lib/.cvsignore: Added classes.2.
2006-05-01 Tom Tromey <tromey@redhat.com>
* java/util/jar/JarFile.java (provider): Now package-private.
* java/lang/Enum.java (compareTo): Javadoc fix.
* java/lang/Boolean.java (compareTo): Javadoc fix.
2006-05-01 Lillian Angel <langel@redhat.com>
* gnu/javax/swing/text/html/parser/support/Parser.java
(readAttributes): Formatted function. Added handling for
SLASH token. The value of an attribute may start with a slash
(i.e. a path). I added handling similar to to the NUMTOKEN code.
We should not be skipping over these type of attributes.
2006-04-30 Andrew John Hughes <gnu_andrew@member.fsf.org>
* include/gnu_java_awt_peer_gtk_GThreadNativeMethodRunner.h,
* include/gnu_java_awt_peer_gtk_GdkFontPeer.h,
* include/gnu_java_awt_peer_gtk_GdkGraphics.h,
* include/gnu_java_awt_peer_gtk_GdkGraphics2D.h,
* include/gnu_java_awt_peer_gtk_GdkGraphicsEnvironment.h,
* include/gnu_java_awt_peer_gtk_GdkPixbufDecoder.h,
* include/gnu_java_awt_peer_gtk_GdkRobotPeer.h,
* include/gnu_java_awt_peer_gtk_GdkTextLayout.h,
* include/gnu_java_awt_peer_gtk_GtkButtonPeer.h,
* include/gnu_java_awt_peer_gtk_GtkCanvasPeer.h,
* include/gnu_java_awt_peer_gtk_GtkCheckboxGroupPeer.h,
* include/gnu_java_awt_peer_gtk_GtkCheckboxMenuItemPeer.h,
* include/gnu_java_awt_peer_gtk_GtkCheckboxPeer.h,
* include/gnu_java_awt_peer_gtk_GtkChoicePeer.h,
* include/gnu_java_awt_peer_gtk_GtkClipboard.h,
* include/gnu_java_awt_peer_gtk_GtkComponentPeer.h,
* include/gnu_java_awt_peer_gtk_GtkEmbeddedWindowPeer.h,
* include/gnu_java_awt_peer_gtk_GtkFileDialogPeer.h,
* include/gnu_java_awt_peer_gtk_GtkFramePeer.h,
* include/gnu_java_awt_peer_gtk_GtkGenericPeer.h,
* include/gnu_java_awt_peer_gtk_GtkImage.h,
* include/gnu_java_awt_peer_gtk_GtkLabelPeer.h,
* include/gnu_java_awt_peer_gtk_GtkListPeer.h,
* include/gnu_java_awt_peer_gtk_GtkMenuBarPeer.h,
* include/gnu_java_awt_peer_gtk_GtkMenuComponentPeer.h,
* include/gnu_java_awt_peer_gtk_GtkMenuItemPeer.h,
* include/gnu_java_awt_peer_gtk_GtkMenuPeer.h,
* include/gnu_java_awt_peer_gtk_GtkPanelPeer.h,
* include/gnu_java_awt_peer_gtk_GtkPopupMenuPeer.h,
* include/gnu_java_awt_peer_gtk_GtkScrollPanePeer.h,
* include/gnu_java_awt_peer_gtk_GtkScrollbarPeer.h,
* include/gnu_java_awt_peer_gtk_GtkSelection.h,
* include/gnu_java_awt_peer_gtk_GtkTextAreaPeer.h,
* include/gnu_java_awt_peer_gtk_GtkTextFieldPeer.h,
* include/gnu_java_awt_peer_gtk_GtkToolkit.h,
* include/gnu_java_awt_peer_gtk_GtkWindowPeer.h,
* include/gnu_java_awt_peer_qt_MainQtThread.h,
* include/gnu_java_awt_peer_qt_QMatrix.h,
* include/gnu_java_awt_peer_qt_QPainterPath.h,
* include/gnu_java_awt_peer_qt_QPen.h,
* include/gnu_java_awt_peer_qt_QtAudioClip.h,
* include/gnu_java_awt_peer_qt_QtButtonPeer.h,
* include/gnu_java_awt_peer_qt_QtCanvasPeer.h,
* include/gnu_java_awt_peer_qt_QtCheckboxPeer.h,
* include/gnu_java_awt_peer_qt_QtChoicePeer.h,
* include/gnu_java_awt_peer_qt_QtComponentPeer.h,
* include/gnu_java_awt_peer_qt_QtContainerPeer.h,
* include/gnu_java_awt_peer_qt_QtDialogPeer.h,
* include/gnu_java_awt_peer_qt_QtEmbeddedWindowPeer.h,
* include/gnu_java_awt_peer_qt_QtFileDialogPeer.h,
* include/gnu_java_awt_peer_qt_QtFontMetrics.h,
* include/gnu_java_awt_peer_qt_QtFontPeer.h,
* include/gnu_java_awt_peer_qt_QtFramePeer.h,
* include/gnu_java_awt_peer_qt_QtGraphics.h,
* include/gnu_java_awt_peer_qt_QtGraphicsEnvironment.h,
* include/gnu_java_awt_peer_qt_QtImage.h,
* include/gnu_java_awt_peer_qt_QtLabelPeer.h,
* include/gnu_java_awt_peer_qt_QtListPeer.h,
* include/gnu_java_awt_peer_qt_QtMenuBarPeer.h,
* include/gnu_java_awt_peer_qt_QtMenuComponentPeer.h,
* include/gnu_java_awt_peer_qt_QtMenuItemPeer.h,
* include/gnu_java_awt_peer_qt_QtMenuPeer.h,
* include/gnu_java_awt_peer_qt_QtPanelPeer.h,
* include/gnu_java_awt_peer_qt_QtPopupMenuPeer.h,
* include/gnu_java_awt_peer_qt_QtScreenDevice.h,
* include/gnu_java_awt_peer_qt_QtScrollPanePeer.h,
* include/gnu_java_awt_peer_qt_QtScrollbarPeer.h,
* include/gnu_java_awt_peer_qt_QtTextAreaPeer.h,
* include/gnu_java_awt_peer_qt_QtTextFieldPeer.h,
* include/gnu_java_awt_peer_qt_QtToolkit.h,
* include/gnu_java_awt_peer_qt_QtVolatileImage.h,
* include/gnu_java_awt_peer_qt_QtWindowPeer.h,
* include/gnu_javax_sound_midi_alsa_AlsaMidiDeviceProvider.h,
* include/gnu_javax_sound_midi_alsa_AlsaMidiSequencerDevice.h,
* include/gnu_javax_sound_midi_alsa_AlsaPortDevice.h,
* include/gnu_javax_sound_midi_dssi_DSSIMidiDeviceProvider.h,
* include/gnu_javax_sound_midi_dssi_DSSISynthesizer.h,
* include/gnu_xml_libxmlj_dom_GnomeAttr.h,
* include/gnu_xml_libxmlj_dom_GnomeDocument.h,
* include/gnu_xml_libxmlj_dom_GnomeDocumentBuilder.h,
* include/gnu_xml_libxmlj_dom_GnomeDocumentType.h,
* include/gnu_xml_libxmlj_dom_GnomeElement.h,
* include/gnu_xml_libxmlj_dom_GnomeEntity.h,
* include/gnu_xml_libxmlj_dom_GnomeNamedNodeMap.h,
* include/gnu_xml_libxmlj_dom_GnomeNode.h,
* include/gnu_xml_libxmlj_dom_GnomeNodeList.h,
* include/gnu_xml_libxmlj_dom_GnomeNotation.h,
* include/gnu_xml_libxmlj_dom_GnomeProcessingInstruction.h,
* include/gnu_xml_libxmlj_dom_GnomeTypeInfo.h,
* include/gnu_xml_libxmlj_dom_GnomeXPathExpression.h,
* include/gnu_xml_libxmlj_dom_GnomeXPathNSResolver.h,
* include/gnu_xml_libxmlj_dom_GnomeXPathNodeList.h,
* include/gnu_xml_libxmlj_dom_GnomeXPathResult.h,
* include/gnu_xml_libxmlj_sax_GnomeLocator.h,
* include/gnu_xml_libxmlj_sax_GnomeXMLReader.h,
* include/gnu_xml_libxmlj_transform_GnomeTransformer.h,
* include/gnu_xml_libxmlj_transform_GnomeTransformerFactory.h,
* include/java_lang_VMProcess.h:
Regenerated.
* native/jni/java-lang/java_lang_VMProcess.c:
Redirect when pipe_count is 2 not 3.
2006-04-30 Sascha Brawer <sascha@brawer.ch>
* gnu/java/awt/font/FontDelegate.java,
* gnu/java/awt/font/FontFactory.java,
* gnu/java/awt/font/GNUGlyphVector.java,
* gnu/java/awt/font/opentype/CharGlyphMap.java,
* gnu/java/awt/font/opentype/GlyphNamer.java,
* gnu/java/awt/font/opentype/MacResourceFork.java,
* gnu/java/awt/font/opentype/NameDecoder.java,
* gnu/java/awt/font/opentype/OpenTypeFont.java,
* gnu/java/awt/font/opentype/OpenTypeFontFactory.java,
* gnu/java/awt/font/opentype/Scaler.java,
* gnu/java/awt/font/opentype/truetype/Fixed.java,
* gnu/java/awt/font/opentype/truetype/GlyphLoader.java,
* gnu/java/awt/font/opentype/truetype/GlyphLocator.java,
* gnu/java/awt/font/opentype/truetype/GlyphMeasurer.java,
* gnu/java/awt/font/opentype/truetype/TrueTypeScaler.java,
* gnu/java/awt/font/opentype/truetype/VirtualMachine.java,
* gnu/java/awt/font/opentype/truetype/Zone.java,
* gnu/java/awt/font/opentype/truetype/ZonePathIterator.java,
* gnu/java/awt/font/opentype/truetype/doc-files/ZonePathIterator-1.dia,
* gnu/java/awt/font/opentype/truetype/doc-files/ZonePathIterator-1.png:
New files. Imported font framework from:
http://www.brawer.ch/software/fonts/
2006-04-30 Roman Kennke <kennke@aicas.com>
* javax/swing/plaf/basic/BasicTabbedPaneUI.java
(lastTabInRun): Fix calculation of the last tab in a run. This
has caused painting problems sometimes, making the
last tab painted incorrectly.
2006-04-30 Audrius Meskauskas <AudriusA@Bioinformatics.org>
PR 27297
* javax/swing/JComponent.java (paintChildrenWithOverlap):
Use for and not while to prevent the endless loop.
2006-04-29 David Gilbert <david.gilbert@object-refinery.com>
* javax/swing/JList.java
(paramString): Changed from public to protected.
2006-04-29 Raif S. Naffah <raif@swiftdsl.com.au>
* tools/gnu/classpath/tools/HelpPrinter.java (printHelp): New method.
(printHelpAndExit): Re-factored to use the above method.
2006-04-29 Raif S. Naffah <raif@swiftdsl.com.au>
* tools/jarsigner.sh.in: Changed license to GPL + Exception.
Use -Xbootclasspath/p instead of -cp when invoking the main class.
* tools/gnu/classpath/tools/jarsigner/Main.java:
Changed license to GPL + Exception.
(handler): New field.
(getCallbackHandler): New method.
(setupSigningParams): Use above method.
* tools/gnu/classpath/tools/jarsigner/HashUtils.java:
Changed license to GPL + Exception.
* tools/gnu/classpath/tools/jarsigner/SFHelper.java: Likewise.
* tools/gnu/classpath/tools/jarsigner/JarVerifier.java: Likewise.
* tools/gnu/classpath/tools/jarsigner/JarSigner.java: Likewise.
* tools/gnu/classpath/tools/jarsigner/jarsigner.txt: Updated copyright.
2006-04-29 Raif S. Naffah <raif@swiftdsl.com.au>
* gnu/javax/security/auth/callback/ConsoleCallbackHandler.java
(handleConfirmation): Use print instead of println.
(handleConfirmation): When case is YES_NO_OPTION, print default option
if one was set.
(handleLanguage): Use print instead of println.
2006-04-29 Raif S. Naffah <raif@swiftdsl.com.au>
* gnu/java/security/x509/X500DistinguishedName.java: Updated copyright.
(putComponent): Handle O and OU components.
(getDer): Use correct (it2) iterator.
(readAttributeValue): Read next character and break if end-of-stream.
2006-04-29 Raif S. Naffah <raif@swiftdsl.com.au>
* gnu/java/security/provider/Gnu.java (run):
Add "RSA" as an alias to MD5withRSA.
* gnu/java/security/key/rsa/RSAKeyPairX509Codec.java (encodePublicKey):
Always encode a NULL as the value of an algorithm parameters field.
* gnu/java/security/key/rsa/RSAKeyPairPKCS8Codec.java (log): New field.
(encodePrivateKey): Added trace/log statements.
(decodePrivateKey): Likewise.
* gnu/java/security/key/rsa/RSAKeyPairGenerator.java (log): New field.
(setup): Added trace/log statements.
(generate): Likewise.
* gnu/java/security/key/rsa/GnuRSAPublicKey.java (str): New field.
(toString): New method.
* gnu/java/security/key/rsa/GnuRSAPrivateKey.java (DEBUG): New constant.
(str): New field.
(toString): New method.
* gnu/java/security/key/rsa/GnuRSAKey.java (str): New field.
(getEncoded): Use defaultFormat.
(toString): New method.
* gnu/java/security/key/dss/DSSKey.java (toString):
Include defaultFormat in string.
* gnu/java/security/jce/sig/RSAKeyFactory.java (engineGeneratePublic):
Break if successfully decoded public key.
(engineGeneratePrivate): Break if successfully decoded private key.
2006-04-29 Raif S. Naffah <raif@swiftdsl.com.au>
* java/security/Security.java <clinit>: Add our Callback provider.
* resource/java/security/classpath.security: Likewise
2006-04-28 Audrius Meskauskas <AudriusA@Bioinformatics.org>
PR 27296
* javax/swing/ScrollPaneLayout.java (layoutContainer):
Decide about scroll bars from the preferred view size, not
the current size.
* javax/swing/ViewportLayout.java (layoutContainer):
Do not change returned preferred size. Do not treat JScrollPane
specially.
2006-04-28 Sven de Marothy <sven@physto.se>
* java/awt/image/ReplicateScaleFilter.java: Fix comment.
* javax/swing/ProgressMonitor.java (actionPerformed):
Avoid divide-by-zero.
2006-04-28 Sven de Marothy <sven@physto.se>
* javax/swing/JSpinner.java: Fix default text justification.
* javax/swing/plaf/basic/BasicSpinnerUI.java: Fix spinner layout size.
2006-04-28 David Gilbert <david.gilbert@object-refinery.com>
* javax/swing/JList.java
(getMinSelectionIndex): Return correct value, added API docs,
(getMaxSelectionIndex): Added API docs.
2006-04-28 David Gilbert <david.gilbert@object-refinery.com>
* javax/swing/JList.java
(JList(Object[])): Pass new model directly to init(),
(JList(Vector)): Likewise,
(JList(ListModel)): Renamed argument and updated API docs,
(init): Throw IllegalArgumentException for null argument,
(setListData(Object[])): Delegate model creation,
(setListData(Vector)): Likewise,
(createListModel(Object[])): New private method,
(createListModel(Vector)): New private method,
(paramString): Implemented.
2006-04-28 Tom Tromey <tromey@redhat.com>
* java/lang/Class.java (SYNTHETIC, ENUM, ANNOTATION): New fields.
(isEnum): Rewrote.
(isSynthetic): Likewise.
(isAnnotation): Likewise.
* vm/reference/java/lang/VMClass.java (isSynthetic): Removed.
(isAnnotation): Likewise.
(isEnum): Likewise.
2006-04-28 Robert Schuster <robertschuster@fsfe.org>
* javax/swing/text/View.java:
(getNextVisualPositionFrom): Call modelToView and viewToModel on parent
view.
2006-04-28 Robert Schuster <robertschuster@fsfe.org>
* javax/swing/text/View.java:
(getNextVisualPositionFrom): Rewritten.
* javax/swing/text/CompositeView.java:
(getNextEastWestVisualPositionFrom): Partly implemented.
(getNextNorthSouthVisualPositionFrom): Partly implemented.
2006-04-28 David Gilbert <david.gilbert@object-refinery.com>
* javax/swing/JList.java
(setFixedCellHeight): Use correct property name for event.
2006-04-28 Robert Schuster <robertschuster@fsfe.org>
* javax/swing/text/Utilities.java:
(getNextWord): Use codePointAt instead of charAt, added note, changed
if-expression, added throwing of exception.
(getPreviousWord): Use codePointAt instead of charAt.
2006-04-28 Jeroen Frijters <jeroen@frijters.net>
* java/lang/StringBuilder.java
(ensureCapacity, getChars, append(StringBuffer),
append(char[],int,int), delete, replace, insert(int,char[],int,int),
insert(int,String), insert(int,char), trimToSize): Replaced
System.arraycopy calls with VMSystem.arraycopy.
2006-04-27 Tom Tromey <tromey@redhat.com>
* java/awt/image/renderable/RenderableImageProducer.java
(requestTopDownLeftRightResend): Implemented.
(run): Likewise.
(startProduction): Add new consumer.
2006-04-27 Sven de Marothy <sven@physto.se>
* javax/swing/JLabel.java (setIcon): Repaint on setting the icon.
2006-04-27 Roman Kennke <kennke@aicas.com>
* java/awt/LightweightDispatcher.java
Dispatch events only to targets that have a mouselistener
attached. Changed to also handle null targets.
2006-04-27 Roman Kennke <kennke@aicas.com>
* NEWS: Added entries about accessibility support and L&F
window decorations.
2006-04-27 Robert Schuster <robertschuster@fsfe.org>
* javax/swing/text/Utilities.java:
(getTabbedTextOffset): Introduced width variable, rewritten the check
which ends the loop.
(getBreakLocation): Call getTabbedTextOffset with rounding argument set
to false.
2006-04-27 Audrius Meskauskas <AudriusA@Bioinformatics.org>
* examples/gnu/classpath/examples/swing/TreeDemo.java
(createContent): Added root visibility and selection listener demos.
* javax/swing/JTree.java (setRootVisible): If false, unselect
the root node, if it is selected.
* javax/swing/plaf/basic/BasicTreeUI.java
(TreeTraverseAction.actionPerformed): Do not select the root if it
is not visible.
* javax/swing/tree/DefaultTreeSelectionModel.java (removeSelectionPath,
removeSelectionPaths): Reset lead to null if the current lead path is
removed from selection.
* javax/swing/tree/TreePath.java (getParentPath): Cache the parent path.
* javax/swing/tree/FixedHeightLayoutCache.java (NodeRecord.getPath):
Return the same path regardless is root visible or not. (update):
Reduce the identation if the root is not visible.
* javax/swing/tree/VariableHeightLayoutCache.java (NodeRecord.getPath):
Return the same path regardless is root visible or not. (update):
Reduce the identation if the root is not visible.
2006-04-26 Audrius Meskauskas <AudriusA@Bioinformatics.org
* javax/swing/plaf/basic/BasicTreeUI.java
(TreeAction.actionPerformed):Newly obtain the current lead
path that must stay visible.
(TreeTraverseAction.actionPerformed):Rewritten.
* javax/swing/tree/FixedHeightLayoutCache.java (countRows):
Do not treat root specially. (setModel): Assume the root node
initially expanded.
* javax/swing/tree/VariableHeightLayoutCache.java:(countRows):
Do not treat root specially. (setModel): Assume the root node
initially expanded.
2006-04-26 Chris Burdess <dog@gnu.org>
Fixes PR 27290
* javax/xml/datatype/DatatypeFactory.java: Use complete
implementation resolution mechanism.
2006-04-26 Audrius Meskauskas <AudriusA@Bioinformatics.org>
* javax/swing/tree/DefaultTreeModel.java (nodeStructureChanged):
Implemented.
* javax/swing/tree/DefaultTreeSelectionModel.java (toString):
Removed NoImplementException form the implemented method.
2006-04-26 Tom Tromey <tromey@redhat.com>
* javax/net/ssl/HttpsURLConnection.java (HttpsURLConnection): Doesn't
throw IOException.
2006-04-26 David Gilbert <david.gilbert@object-refinery.com>
* javax/swing/DefaultListSelectionModel.java
(clone): Initialise empty listener list,
(setSelectionMode): Throw IllegalArgumentException for bad input.
2006-04-26 David Gilbert <david.gilbert@object-refinery.com>
* javax/swing/DefaultListSelectionModel.java
(clearSelection): Clear the Bitset.
2006-04-26 Audrius Meskauskas <AudriusA@Bioinformatics.org>
* javax/swing/JTree.java (setLeadSelectionPath):
Repaint the new and old lead pathes.
* javax/swing/plaf/basic/BasicTreeUI.java
(FocusHandler): Repaint the lead row when focus changes.
(PropertyChangeHandler): Use existing constants, not the
string literals for the property names.
(TreeIncrementAction): Shrink the selection when moving
from the selection edge to the selection anchor.
(TreeSelectionHandler.valueChanged): Repaint the
new and old lead pathes.
(paintRow): Treat row as focused only if it is the lead row.
* javax/swing/tree/DefaultTreeCellRenderer.java
(getTreeCellRendererComponent): Set the vertical alignment to CENTER.
(paint): Rewritten.
* javax/swing/tree/DefaultTreeSelectionModel.java
(addSelectionPath): Event construction fix (old and new lead were
always the same).
(addSelectionPaths): Likewise.
* javax/swing/JComponent.java (setOpaque): Explained.
* javax/swing/tree/FixedHeightLayoutCache.java (getBounds):
Accept null.
* javax/swing/tree/VariableHeightLayoutCache.java (getBounds):
Accept null.
2006-04-26 Audrius Meskauskas <AudriusA@Bioinformatics.org>
* examples/gnu/classpath/examples/swing/TreeDemo.java
(createContent): Call DefaultTreeModel.reload(), not the
tree.repaint(). Expand the parent of the added node.
* javax/swing/JTree.java (constructor): Do not call
UpdateUI (and documented why). (treeDidChange):
Added comment, excluding the misinterpretation of this method.
* javax/swing/plaf/basic/BasicTreeUI.java (componentListener,
focusListener, keyListener, mouseListener, propertyListener,
selectionModelPropertyChangeListener, treeModelListener,
treeSelectionListener): Made package private.
(PropertyChangeHandler): If the model changes, install the
listener on it. (installUI): Assign treeModel.
* javax/swing/tree/DefaultMutableTreeNode.java (add): Added
comment, excluding misinterpretation.
* javax/swing/tree/DefaultTreeModel.java (reload): Implemented.
(reload(TreeNode)): Implemented.
2006-04-25 Tom Tromey <tromey@redhat.com>
* javax/swing/JComboBox.java (AccessibleJComboBox): Now public.
* javax/swing/tree/VariableHeightLayoutCache.java
(getVisiblePathsFrom): Genericized.
* javax/swing/tree/FixedHeightLayoutCache.java (getVisiblePathsFrom):
Genericized.
2006-04-25 Audrius Meskauskas <AudriusA@Bioinformatics.org>
* javax/swing/plaf/basic/BasicTreeUI.java (MouseHandler.mousePressed):
If clicked on the other row, cancel the current editing session.
2006-04-25 Audrius Meskauskas <AudriusA@Bioinformatics.org>
* javax/swing/plaf/basic/BasicTreeUI.java
(NodeDimensionsHandler.getRowX): Add half of the icon width.
(paintExpandControl): Always paint in one gap distance from the left
border of the path bounds.
(paintHorizontalPartOfLeg): Rewritted, taking the icon width
into consideration.
(paintVerticalPartOfLeg): Paint two gaps from the parent's bounds
left edge.
2006-04-25 Audrius Meskauskas <AudriusA@Bioinformatics.org>
* javax/swing/plaf/basic/BasicTreeUI.java (paint): Rewritten.
2006-04-25 Audrius Meskauskas <AudriusA@Bioinformatics.org>
* gnu/javax/swing/text/html/parser/support/Parser.java (readAttributes):
Allow slashes (/) in the unquoted parameter value.
2006-04-25 Roman Kennke <kennke@aicas.com>
* gnu/java/awt/java2d/AbstractGraphics2D.java
(drawString(String,int,int)): Implemented.
(drawString(String,float,float)): Implemented.
(drawString(AttributedCharacterIterator,int,int)): Implemented.
(drawString(AttributedCharacterIterator,float,float)): Implemented.
(getFontRenderContext): Implemented.
(drawGlyphVector): Implemented.
(getFont): Implemented.
(setFont): Don't change font setting when null.
(getFontMetrics): Implemented.
(fillShape): Re-written to fill call rawFillShape() with a list
of the edges instead of double arrays.
(rawFillShape): Implemented using a polygon scanline conversion.
(fillScanline): New helper method.
(init): Initialize foreground black. Set font.
* gnu/java/awt/java2d/PolyEdge.java: New file.
* gnu/java/awt/java2d/PolyEdgeComparator.java: New file.
2006-04-25 David Gilbert <david.gilbert@object-refinery.com>
* javax/swing/table/DefaultTableColumnModel.java: More API doc updates.
2006-04-25 David Gilbert <david.gilbert@object-refinery.com>
* javax/swing/JTable.java: Fixed API doc tags,
* javax/swing/text/AsyncBoxView.java: Likewise,
* javax/swing/text/FlowView.java: Likewise.
2006-04-25 David Gilbert <david.gilbert@object-refinery.com>
* javax/swing/table/DefaultTableColumnModel.java
(moveColumn): Call fireColumnMoved() not fireColumnAdded.
2006-04-24 David Gilbert <david.gilbert@object-refinery.com>
* javax/swing/table/DefaultTableColumnModel.java
(DefaultTableColumnModel): Set selection model field and add 'this' as
listener directly,
(addColumn): Add 'this' as a PropertyChangeListener,
(removeColumn): Remove column before firing event, and remove 'this' as
a PropertyChangeListener,
(setSelectionModel): Remove 'this' as a listener from old model,
(propertyChange): Check for 'width' property rather than
TableColumn.COLUMN_WIDTH_PROPERTY.
2006-04-24 Chris Burdess <dog@gnu.org>
Fixes PR 27262
* gnu/xml/dom/DomDocument.java: getElementById returns user-defined ID
attributes when no doctype exists.
2006-04-24 David Gilbert <david.gilbert@object-refinery.com>
* javax/swing/event/ChangeEvent.java: Updated API docs,
* javax/swing/event/ChangeListener.java: Likewise,
* javax/swing/event/TableColumnModelEventListener.java: Likewise,
* javax/swing/table/DefaultTableColumnModel.java: Likewise,
* javax/swing/table/TableColumnModel.java: Likewise.
2006-04-24 Robert Schuster <robertschuster@fsfe.org>
* javax/swing/text/Utilities.java:
(getBreakLocation): Introduced shift variable, added notes.
* javax/swing/text/WrappedPlainView.java:
(calculateBreakPosition): Decrease allocation area bounds by insets,
added early return when allocation area is empty, provide start offset
as argument.
(WrappedPlainView.WrappedLine): Change default value for numLines to 1.
(WrappedPlainView.WrappedLine.paint): Added count variable, update
numLines after loop.
(WrappedPlainView.WrappedLine.determineNumLines): Added early return.
(WrappedPlainView.WrappedLine.getPreferredSpan): Removed if-statement.
(WrappedPlainView.WrappedLine.viewToModel): Changed note, removed
decreasing variable end by one, changed break condition in while-loop,
added check for return value.
(WrappedPlainView.WrappedLine.updateDamage): Set numLines to one if
allocation area is empty.
2006-04-24 Sven de Marothy <sven@physto.se>
* gnu/java/awt/java2d/Segment.java: New file.
* gnu/java/awt/java2d/CubicSegment.java: New file.
* gnu/java/awt/java2d/QuadSegment.java: New file.
* gnu/java/awt/java2d/LineSegment.java: New file.
* java/awt/BasicStroke.java
(start): New field.
(end): New field.
(createStrokedShape): Implemented.
(solidStroke): New method.
(dashedStroke): New method.
(capEnds): New method.
(convertPath): New method.
(addSegments): New method.
(capEnd): New method.
(lineIntersection): New method.
(joinSegments): New method.
2006-04-24 Roman Kennke <kennke@aicas.com>
* gnu/java/awt/java2d/AbstractGraphics2D.java: Made implements
Cloneable.
(font): New field.
(clip): Changed clip to be in user space not in target space.
(isOptimized): Added flag to allow optimized drawing for
primitive operations (e.g. for Swing).
(AbstractGraphics2D()): Set foreground in init() to avoid trouble
with the paint context etc.
(draw): Clip the shape before drawing it.
(fill): Clip the shape before drawing it.
(setComposite): Update isOptimized flag.
(setPaint): Likewise.
(setStroke): Likewise.
(translate): Update the clip.
(rotate): Likewise.
(scale): Likewise.
(shear): Likewise.
(transform): Likewise.
(setTransform): Likewise.
(clip): Added optimization for rectangle clips.
(create): Implemented.
(clone): New method.
(setFont): Basic implementation.
(setClip): Update opimization flag.
(drawLine): Added possible optimization.
(fillRect): Added possible optimization.
(fillShape): Implemented shape-filling by filling the flattended
shape using polygon fill.
(drawPixel): Added basic painting.
(rawSetPixel): Changed signature to only take coordinates.
(rawSetForeground): New abstract method.
(getUserBounds): Implemented default for this method.
(rawDrawLine): New method.
(rawFillRect): New method.
(rawFillPolygon): New method.
(init): New method.
(updateOptimization): New method.
(computeIntersection): New method.
(updateClip): New method.
(clipShape): New method.
2006-04-23 Jeroen Frijters <jeroen@frijters.net>
* java/lang/Package.java: Added compatibility constructor to ease
VM interface migration.
2006-04-23 Jeroen Frijters <jeroen@frijters.net>
* java/lang/Class.java (getEnumConstants): Implemented without
delegating to VMClass.
* vm/reference/java/lang/VMClass.java (getEnumConstants): Removed.
2006-04-23 Jeroen Frijters <jeroen@frijters.net>
* java/lang/ClassLoader.java (definePackage): Added argument to
Package constructor.
* java/lang/Package.java (Package): Added ClassLoader argument.
(loader): New field.
(getDeclaredAnnotations): Implemented without help from VMPackage.
* vm/reference/java/lang/VMClassLoader.java (static): Added argument
to Package constructor.
* vm/reference/java/lang/VMPackage.java: Removed.
2006-04-23 Audrius Meskauskas <AudriusA@Bioinformatics.org>
* examples/gnu/classpath/examples/swing/TreeDemo.java:
(createContent): Added check box to swith between single and
multiple selection.
* javax/swing/JTree.java (leadSelectionPath): Removed.
(addSelectionInterval): Explained. (getLeadSelectionPath):
Request the path from model. (getPathsBetweenRows): Explained.
(setLeadSelectionPath): Set the path in model.
* javax/swing/plaf/basic/BasicTreeUI.java
(TreeIncrementAction.actionPerformed, isMultiSelectionEvent,
isToggleSelectionEvent, selectPath, selectPathForEvent): Rewritten.
(MouseHandler.mousePressed): Call selectPathForEvent.
2006-04-23 Roman Kennke <kennke@aicas.com>
* gnu/java/awt/java2d/AbstractGraphics2D.java: New file.
2006-04-22 Andrew John Hughes <gnu_andrew@member.fsf.org>
* NEWS:
Mention changes to VMProcess and VMSystem.
* doc/vmintegration.texinfo:
Change documentation on VMProcess and VMSystem.
* include/gnu_java_awt_peer_gtk_GThreadNativeMethodRunner.h,
* include/gnu_java_awt_peer_gtk_GdkFontPeer.h,
* include/gnu_java_awt_peer_gtk_GdkGraphics.h,
* include/gnu_java_awt_peer_gtk_GdkGraphics2D.h,
* include/gnu_java_awt_peer_gtk_GdkGraphicsEnvironment.h,
* include/gnu_java_awt_peer_gtk_GdkPixbufDecoder.h,
* include/gnu_java_awt_peer_gtk_GdkRobotPeer.h,
* include/gnu_java_awt_peer_gtk_GdkTextLayout.h,
* include/gnu_java_awt_peer_gtk_GtkButtonPeer.h,
* include/gnu_java_awt_peer_gtk_GtkCanvasPeer.h,
* include/gnu_java_awt_peer_gtk_GtkCheckboxGroupPeer.h,
* include/gnu_java_awt_peer_gtk_GtkCheckboxMenuItemPeer.h,
* include/gnu_java_awt_peer_gtk_GtkCheckboxPeer.h,
* include/gnu_java_awt_peer_gtk_GtkChoicePeer.h,
* include/gnu_java_awt_peer_gtk_GtkClipboard.h,
* include/gnu_java_awt_peer_gtk_GtkComponentPeer.h,
* include/gnu_java_awt_peer_gtk_GtkEmbeddedWindowPeer.h,
* include/gnu_java_awt_peer_gtk_GtkFileDialogPeer.h,
* include/gnu_java_awt_peer_gtk_GtkFramePeer.h,
* include/gnu_java_awt_peer_gtk_GtkGenericPeer.h,
* include/gnu_java_awt_peer_gtk_GtkImage.h,
* include/gnu_java_awt_peer_gtk_GtkLabelPeer.h,
* include/gnu_java_awt_peer_gtk_GtkListPeer.h,
* include/gnu_java_awt_peer_gtk_GtkMenuBarPeer.h,
* include/gnu_java_awt_peer_gtk_GtkMenuComponentPeer.h,
* include/gnu_java_awt_peer_gtk_GtkMenuItemPeer.h,
* include/gnu_java_awt_peer_gtk_GtkMenuPeer.h,
* include/gnu_java_awt_peer_gtk_GtkPanelPeer.h,
* include/gnu_java_awt_peer_gtk_GtkPopupMenuPeer.h,
* include/gnu_java_awt_peer_gtk_GtkScrollPanePeer.h,
* include/gnu_java_awt_peer_gtk_GtkScrollbarPeer.h,
* include/gnu_java_awt_peer_gtk_GtkSelection.h,
* include/gnu_java_awt_peer_gtk_GtkTextAreaPeer.h,
* include/gnu_java_awt_peer_gtk_GtkTextFieldPeer.h,
* include/gnu_java_awt_peer_gtk_GtkToolkit.h,
* include/gnu_java_awt_peer_gtk_GtkWindowPeer.h,
* include/gnu_java_awt_peer_qt_MainQtThread.h,
* include/gnu_java_awt_peer_qt_QMatrix.h,
* include/gnu_java_awt_peer_qt_QPainterPath.h,
* include/gnu_java_awt_peer_qt_QPen.h,
* include/gnu_java_awt_peer_qt_QtAudioClip.h,
* include/gnu_java_awt_peer_qt_QtButtonPeer.h,
* include/gnu_java_awt_peer_qt_QtCanvasPeer.h,
* include/gnu_java_awt_peer_qt_QtCheckboxPeer.h,
* include/gnu_java_awt_peer_qt_QtChoicePeer.h,
* include/gnu_java_awt_peer_qt_QtComponentPeer.h,
* include/gnu_java_awt_peer_qt_QtContainerPeer.h,
* include/gnu_java_awt_peer_qt_QtDialogPeer.h,
* include/gnu_java_awt_peer_qt_QtEmbeddedWindowPeer.h,
* include/gnu_java_awt_peer_qt_QtFileDialogPeer.h,
* include/gnu_java_awt_peer_qt_QtFontMetrics.h,
* include/gnu_java_awt_peer_qt_QtFontPeer.h,
* include/gnu_java_awt_peer_qt_QtFramePeer.h,
* include/gnu_java_awt_peer_qt_QtGraphics.h,
* include/gnu_java_awt_peer_qt_QtGraphicsEnvironment.h,
* include/gnu_java_awt_peer_qt_QtImage.h,
* include/gnu_java_awt_peer_qt_QtLabelPeer.h,
* include/gnu_java_awt_peer_qt_QtListPeer.h,
* include/gnu_java_awt_peer_qt_QtMenuBarPeer.h,
* include/gnu_java_awt_peer_qt_QtMenuComponentPeer.h,
* include/gnu_java_awt_peer_qt_QtMenuItemPeer.h,
* include/gnu_java_awt_peer_qt_QtMenuPeer.h,
* include/gnu_java_awt_peer_qt_QtPanelPeer.h,
* include/gnu_java_awt_peer_qt_QtPopupMenuPeer.h,
* include/gnu_java_awt_peer_qt_QtScreenDevice.h,
* include/gnu_java_awt_peer_qt_QtScrollPanePeer.h,
* include/gnu_java_awt_peer_qt_QtScrollbarPeer.h,
* include/gnu_java_awt_peer_qt_QtTextAreaPeer.h,
* include/gnu_java_awt_peer_qt_QtTextFieldPeer.h,
* include/gnu_java_awt_peer_qt_QtToolkit.h,
* include/gnu_java_awt_peer_qt_QtVolatileImage.h,
* include/gnu_java_awt_peer_qt_QtWindowPeer.h,
* include/gnu_javax_sound_midi_alsa_AlsaMidiDeviceProvider.h,
* include/gnu_javax_sound_midi_alsa_AlsaMidiSequencerDevice.h,
* include/gnu_javax_sound_midi_alsa_AlsaPortDevice.h,
* include/gnu_javax_sound_midi_dssi_DSSIMidiDeviceProvider.h,
* include/gnu_javax_sound_midi_dssi_DSSISynthesizer.h,
* include/gnu_xml_libxmlj_dom_GnomeAttr.h,
* include/gnu_xml_libxmlj_dom_GnomeDocument.h,
* include/gnu_xml_libxmlj_dom_GnomeDocumentBuilder.h,
* include/gnu_xml_libxmlj_dom_GnomeDocumentType.h,
* include/gnu_xml_libxmlj_dom_GnomeElement.h,
* include/gnu_xml_libxmlj_dom_GnomeEntity.h,
* include/gnu_xml_libxmlj_dom_GnomeNamedNodeMap.h,
* include/gnu_xml_libxmlj_dom_GnomeNode.h,
* include/gnu_xml_libxmlj_dom_GnomeNodeList.h,
* include/gnu_xml_libxmlj_dom_GnomeNotation.h,
* include/gnu_xml_libxmlj_dom_GnomeProcessingInstruction.h,
* include/gnu_xml_libxmlj_dom_GnomeTypeInfo.h,
* include/gnu_xml_libxmlj_dom_GnomeXPathExpression.h,
* include/gnu_xml_libxmlj_dom_GnomeXPathNSResolver.h,
* include/gnu_xml_libxmlj_dom_GnomeXPathNodeList.h,
* include/gnu_xml_libxmlj_dom_GnomeXPathResult.h,
* include/gnu_xml_libxmlj_sax_GnomeLocator.h,
* include/gnu_xml_libxmlj_sax_GnomeXMLReader.h,
* include/gnu_xml_libxmlj_transform_GnomeTransformer.h,
* include/gnu_xml_libxmlj_transform_GnomeTransformerFactory.h,
* include/java_lang_VMProcess.h,
* include/java_lang_VMSystem.h:
Regenerated with GCJ 4.1.
2006-04-22 Casey Marshall <csm@gnu.org>
Fixes PR classpath/27228.
* gnu/javax/crypto/jce/sig/DHKeyPairGeneratorSpi.java
(initialize): also accept `DHParameterSpec.'
* gnu/javax/crypto/key/dh/GnuDHKeyPairGenerator.java (setup):
handle a passed-in `DHParameterSpec' properly.
(generate): don't check if the random exponent is less than `q -
1' if no `q' was specified.
2006-04-22 Audrius Meskauskas <AudriusA@Bioinformatics.org>
* javax/swing/JTree.java (TreeSelectionRedirector.valueChanged):
Only repaint the patches, speficied in the passed event.
(expandPath): Do nothing if the path is already expanded.
(scrollPathToVisible): Only scroll to visible, do nothing else.
* javax/swing/plaf/basic/BasicTreeUI.java
(TreeExpansionHandler.treeColapsed): Revalidate and repaint.
(TreeExpansionHandler.treeExpanded): Revalidate and repaint.
(TreeTraverseAction.actionPerformed): Collapse the node on the
action "selectParent". (selectPath): Rewritten.
* javax/swing/tree/DefaultTreeSelectionModel.java (clearSelection):
Fire change event. (notifyPathChange): Implemented. (setSelectionPath):
Do not reuse selection array.
* javax/swing/tree/FixedHeightLayoutCache.java (getRowForPath):
Accept null.
* javax/swing/tree/VariableHeightLayoutCache.java (getRowForPath):
Accept null.
2006-04-22 Audrius Meskauskas <AudriusA@Bioinformatics.org>
* javax/swing/tree/DefaultTreeSelectionModel.java
(addSelectionPath): If the path cannot be added, set it.
(addSelectionPaths): Call insureRowContinuity.
(arePathsContiguous): Implemented.
(canPathBeAdded): New private method.
(canPathsBeAdded): Implemented.
(canPathsBeRemoved): Implemented.
(getPath): New private method.
(insureRowContinuity): Implemented.
(removeSelectionPath): Call insureRowContinuity.
(removeSelectionPaths): Call insureRowContinuity.
(resetRowSelection): Removed stub marking, not used in implementation
(nothing to do there).
(selectOne): New private method.
(setSelectionMode) Call insureRowContinuity.
(setSelectionPaths) Remove the current selection by clearing it.
2006-04-22 Carsten Neumann <cn-develop@gmx.net>
* javax/sql/Array.java: Fixed eclipse API doc warnings, named method
parameters consistendly, documented some methods.
* java/sql/Blob.java: Likewise.
* java/sql/CallableStatement.java: Likewise.
* java/sql/Clob.java: Likewise.
* java/sql/Connection.java: Likewise.
* java/sql/DatabaseMetaData.java: Likewise.
* java/sql/Date.java: Likewise.
* java/sql/Driver.java: Likewise.
* java/sql/PreparedStatement.java: Likewise.
* java/sql/ResultSet.java: Likewise.
* java/sql/ResultSetMetaData.java: Likewise.
* java/sql/SQLData.java: Likewise.
* java/sql/SQLOutput.java: Likewise.
* java/sql/SQLWarning.java: Likewise.
* java/sql/Statement.java: Likewise.
* java/sql/Time.java: Likewise.
* java/sql/Timestamp.java: Likewise.
2006-04-21 Jeroen Frijters <jeroen@frijters.net>
* java/lang/reflect/AccessibleObject.java:
Implemented AnnotatedElement.
(getAnnotation, getAnnotations, getDeclaredAnnotations,
isAnnotationPresent): New methods.
2006-04-21 Tom Tromey <tromey@redhat.com>
PR classpath/27163:
* gnu/java/net/protocol/ftp/FTPConnection.java
(changeWorkingDirectory): Do nothing if path is empty.
2006-04-21 Tom Tromey <tromey@redhat.com>
PR libgcj/27231:
* gnu/java/net/protocol/http/HTTPURLConnection.java (connect): Handle
case where no '/' appears in 'location'.
2006-04-21 Tom Tromey <tromey@redhat.com>
* java/security/Security.java (<clinit>): Add all default providers.
* resource/java/security/classpath.security: Added comment.
2006-04-21 David Gilbert <david.gilbert@object-refinery.com>
* javax/swing/SpinnerDateModel.java: Updated API docs all over,
* javax/swing/SpinnerNumberModel.java: Likewise.
2006-04-21 David Gilbert <david.gilbert@object-refinery.com>
* javax/swing/SpinnerDateModel.java
(SpinnerDateModel(Date, Comparable, Comparable, int)): Fix argument
checking to call compareTo() on start and end.
2006-04-21 David Gilbert <david.gilbert@object-refinery.com>
* javax/swing/border/AbstractBorder.java: API doc updates,
* javax/swing/border/BevelBorder.java: Likewise,
* javax/swing/border/CompoundBorder.java: Likewise,
* javax/swing/border/EtchedBorder.java: Likewise,
* javax/swing/border/LineBorder.java: Likewise,
* javax/swing/border/MatteBorder.java: Likewise,
* javax/swing/border/TitledBorder.java: Likewise.
2006-04-21 David Gilbert <david.gilbert@object-refinery.com>
* gnu/javax/crypto/cipher/Anubis.java:
(selfTest): Use Boolean.valueOf() to avoid creating a new Boolean
instance,
* gnu/javax/crypto/cipher/Blowfish.java:
(selfTest): Likewise,
* gnu/javax/crypto/cipher/Cast5.java:
(selfTest): Likewise,
* gnu/javax/crypto/cipher/Khazad.java:
(selfTest): Likewise,
* gnu/javax/crypto/cipher/Rijndael.java:
(selfTest): Likewise,
* gnu/javax/crypto/cipher/Serpent.java:
(selfTest): Likewise,
* gnu/javax/crypto/cipher/Square.java:
(selfTest): Likewise,
* gnu/javax/crypto/cipher/Twofish.java:
(selfTest): Likewise,
* gnu/javax/crypto/mac/UMac32.java:
(selfTest): Likewise,
* gnu/javax/crypto/prng/CSPRNG.java:
(getSystemInstance): Likewise.
2006-04-21 David Gilbert <david.gilbert@object-refinery.com>
* gnu/java/security/hash/Haval.java:
(selfTest): Use Boolean.valueOf() to avoid creating new Boolean
instance,
* gnu/java/security/hash/MD2.java:
(selfTest): Likewise,
* gnu/java/security/hash/MD4.java:
(selfTest): Likewise,
* gnu/java/security/hash/MD5.java:
(selfTest): Likewise,
* gnu/java/security/hash/RipeMD128.java:
(selfTest): Likewise,
* gnu/java/security/hash/RipeMD160.java:
(selfTest): Likewise,
* gnu/java/security/hash/Sha160.java:
(selfTest): Likewise,
* gnu/java/security/hash/Sha256.java:
(selfTest): Likewise,
* gnu/java/security/hash/Sha384.java:
(selfTest): Likewise,
* gnu/java/security/hash/Sha512.java:
(selfTest): Likewise,
* gnu/java/security/hash/Tiger.java:
(selfTest): Likewise,
* gnu/java/security/hash/Whirlpool.java:
(selfTest): Likewise.
2006-04-21 Audrius Meskauskas <AudriusA@Bioinformatics.org>
* javax/swing/plaf/basic/BasicTreeUI.java
(PropertyChangeHandler.propertyChange): Set the row mapper
for the selection model.
* javax/swing/tree/AbstractLayoutCache.java
(NodeDimensions.getNodeDimensions): Explained.
(getPreferredHeight, getPreferredWidth, isFixedRowHeight):
Implemented. (setRowHeight): Invalidate sizes.
* javax/swing/tree/DefaultTreeSelectionModel.java
(addSelectionPath, addSelectionPaths): Update lead row.
(removeSelectionPath, removeSelectionPaths): Do nothing if
selection is empty.
(clone): Only clone list selection model if it is not null.
(getRow): New method. (isRowSelected, getLeadSelectionRow,
setSelectionPath, setSelectionPaths, toString): Implemented.
* javax/swing/tree/FixedHeightLayoutCache.java (NodeRecord.getBounds):
Pass the empty rectangle. (isFixedRowHeight): New method.
* javax/swing/tree/VariableHeightLayoutCache.java
(NodeRecord.getBounds): Pass the empty rectangle.
2006-04-21 David Gilbert <david.gilbert@object-refinery.com>
* gnu/java/security/Properties.java
(init): Use Boolean.valueOf() to avoid creating new Boolean instances.
2006-04-21 David Gilbert <david.gilbert@object-refinery.com>
* gnu/classpath/jdwp/util/Value.java
(getUntaggedObj(ByteBuffer, Class)): Use Boolean.valueOf() to avoid
creating new Boolean instances.
2006-04-20 Mark Wielaard <mark@klomp.org>
* java/awt/Toolkit.java (getDefaultToolkit): Get classloader in
PrivilegedAction. Access awt.toolkit through SystemProperties.
2006-04-20 David Gilbert <david.gilbert@object-refinery.com>
* javax/swing/ActionMap.java: Removed unused imports,
* javax/swing/DefaultListSelectionModel.java
(clearSelection): Removed unused label,
* javax/swing/JScrollPane.java: Removed unused imports,
* javax/swing/UIManager.java: Likewise,
* javax/swing/table/DefaultTableCellRenderer.java: Likewise.
2006-04-20 David Gilbert <david.gilbert@object-refinery.com>
* javax/swing/plaf/basic/BasicSpinnerUI.java: Removed unused imports,
* javax/swing/plaf/basic/BasicTextAreaUI.java: Likewise,
* javax/swing/plaf/basic/BasicTextFieldUI.java: Likewise,
* javax/swing/plaf/basic/BasicTextUI.java: Likewise,
* javax/swing/plaf/basic/BasicTreeUI.java: Likewise.
2006-04-20 David Gilbert <david.gilbert@object-refinery.com>
* java/sql/Array.java: Fixed Eclipse API doc warnings,
* java/sql/Blob.java: Likewise,
* java/sql/CallableStatement.java: Likewise,
* java/sql/Clob.java: Likewise,
* java/sql/Connection.java: Likewise,
* java/sql/DatabaseMetaData.java: Likewise,
* java/sql/Date.java: Likewise,
* java/sql/Driver.java: Likewise,
* java/sql/PreparedStatement.java: Likewise,
* java/sql/ResultSet.java: Likewise,
* java/sql/ResultSetMetaData.java: Likewise,
* java/sql/SQLData.java: Likewise,
* java/sql/SQLOutput.java: Likewise,
* java/sql/SQLWarning.java: Likewise,
* java/sql/Statement.java: Likewise,
* java/sql/Time.java: Likewise,
* java/sql/Timestamp.java: Likewise.
2006-04-20 David Gilbert <david.gilbert@object-refinery.com>
* java/sql/DriverManager.java
(setLoginTimeout): Use incoming argument,
(setLogStream): Likewise,
(println): Fix API doc comment.
2006-04-20 David Gilbert <david.gilbert@object-refinery.com>
* javax/swing/JMenuItem.java
(paramString): Updated API docs,
(getAccessibleContext): Added API docs,
(AccessibleJMenuItem.stateChanged): Marked as stub,
(AccessibleJMenuItem.getAccessibleRole): Added API docs,
* javax/swing/JSlider.java
(paramString): Fix for API docs,
* javax/swing/JToolTip.java
(getAccessibleContext): Fix for API docs.
2006-04-20 David Gilbert <david.gilbert@object-refinery.com>
* javax/swing/JRadioButtonMenuItem.java
(paramString): Reimplemented,
(getAccessibleContext): API docs added,
(AccessibleJRadioButtonMenuItem.AccessibleJRadioButtonMenuItem()):
Likewise,
(AccessibleJRadioButtonMenuItem.getAccessibleRole): Likewise.
2006-04-20 Audrius Meskauskas <AudriusA@Bioinformatics.org>
* javax/swing/plaf/basic/BasicTreeUI.java
(finish): Invalidate path bounds.
(getMaxHeight): Set the row height to the layout cache.
(startEditing): Do not request to recalculated
row height and preferred size.
* javax/swing/tree/DefaultTreeCellEditor.java
(ICON_TEXT_GAP, ICON_TREE_GAP): Removed, replacing
with 0.
* javax/swing/tree/FixedHeightLayoutCache.java:
Rewritten.
2006-04-20 David Gilbert <david.gilbert@object-refinery.com>
* javax/swing/JDesktopPane.java
(paramString): Reimplemented,
plus API doc updates in AccessibleJDesktopPane.
2006-04-20 David Gilbert <david.gilbert@object-refinery.com>
* javax/swing/ImageIcon.java:
(AccessibleImageIcon.getAccessibleStateSet): Return null always,
(AccessibleImageIcon.getLocale): Declared exception and always return
null,
(getAccessibleContext): Updated API docs,
plus updated API docs all over AccessibleImageIcon.
2006-04-20 Roman Kennke <kennke@aicas.com>
PR 27196
* javax/swing/plaf/basic/BasicTabbedPaneUI.java
(paintText): Fetch the ascent only once. Add the ascent to
the text rect also when tabs are disabled.
2006-04-20 Christian Thalinger <twisti@complang.tuwien.ac.at>
* java/util/Locale.java (defaultLocale): Set to en_US per
default and use user.country but prioritize user.region if
defined.
(getLocale(String language, String country)): Renamed region to
country.
(getLocale(String language, String region, String variant)):
Likewise.
(getAvailableLocales): Likewise.
2006-04-20 Roman Kennke <kennke@aicas.com>
PR 27222
* javax/swing/JList.java
(JList()): Call init() with DefaultListModel instance.
(JList(Object[])): Call init() with null.
(JList(Vector)): Call init() with null.
(JList(ListModel)): Call init() with model.
(init): Changed to take the model as argument. Don't call
setter methods and initialize stuff directly instead.
(getCellBounds): Check if UI is null.
2006-04-20 Robert Schuster <robertschuster@fsfe.org>
* javax/swing/text/WrappedPlainView.java: Initialize
WrappedLine.numLines with -1.
(WrappedPlainView.WrappedLine.getPreferredSpan): Check whether
numLines is -1 and reculcalate the value appropriately.
(WrappedPlainView.WrappedLine.updateDamage): Set numLines to -1 if
allocation area is empty.
2006-04-20 David Gilbert <david.gilbert@object-refinery.com>
* javax/swing/JTabbedPane.java
(AccessibleJTabbedPane.stateChanged): Marked as stub,
(AccessibleJTabbedPane.getAccessibleRole): Likewise,
(AccessibleJTabbedPane.getAccessibleChildrenCount): Likewise,
(AccessibleJTabbedPane.getAccessibleSelection): Likewise,
(AccessibleJTabbedPane.getAccessibleAt): Likewise,
(AccessibleJTabbedPane.getAccessibleSelectionCount): Likewise,
(AccessibleJTabbedPane.getAccessibleSelection(int)): Likewise,
(AccessibleJTabbedPane.isAccessibleChildSelected): Likewise,
(AccessibleJTabbedPane.addAccessibleSelection): Likewise,
(AccessibleJTabbedPane.removeAccessibleSelection): Likewise,
(AccessibleJTabbedPane.clearAccessibleSelection): Likewise,
(AccessibleJTabbedPane.selectAllAccessibleSelection): Likewise,
(Page.getAccessibleStateSet): Likewise,
(Page.getAccessibleIndexInParent): Likewise.
2006-04-19 David Gilbert <david.gilbert@object-refinery.com>
* javax/swing/JProgressBar.java
(paramString): Reimplemented.
2006-04-19 David Gilbert <david.gilbert@object-refinery.com>
* javax/swing/JButton.java: Updated API docs all over.
2006-04-19 Roman Kennke <kennke@aicas.com>
* java/awt/Toolkit.java
(getDefaultToolkit): Use system classloader to load the
toolkit.
2006-04-19 Robert Schuster <robertschuster@fsfe.org>
* javax/swing/text/DefaultCaret.java:
(DefaultCaret.Bypass.setDot): Call DefaultCaret.setDotImpl
instead of DefaultCaret.setDot.
2006-04-19 Roman Kennke <kennke@aicas.com>
* native/jni/java-net/local.c
(local_read): Handle EINTR correctly.
(local_write): Likewise.
2006-04-19 Riccardo Mottola <multix@gmail.com>
PR classpath/27062, PR classpath/25650:
* native/fdlibm/ieeefp.h: Check for _POWER and _IBMR2.
2006-04-19 Tom Tromey <tromey@redhat.com>
* java/text/SimpleDateFormat.java (formatWithAttribute): Take absolute
value of 'pureMinutes'. PR classpath/27189.
2006-04-19 Olivier Jolly <olivier.jolly@pcedev.com>
* vm/reference/java/lang/VMClassLoader.java (getBootPackages): Loads
boot packages list from the META-INF/INDEX.LIST file if it exists.
2006-04-19 Raif S. Naffah <raif@swiftdsl.com.au>
Suggested by Stephen White <stephen-gnu-crypto@randomstuff.org.uk>
* gnu/javax/crypto/prng/IPBE.java: Updated documentation.
(ITERATION_COUNT): Removed modifiers.
(PASSWORD): Likewise.
(SALT): Likewise.
(PASSWORD_ENCODING): New property.
(DEFAULT_PASSWORD_ENCODING): New constant.
* gnu/javax/crypto/prng/PBKDF2.java (setup): Check for MAC's raw key
material (bytes) before a password (chars).
2006-04-19 David Gilbert <david.gilbert@object-refinery.com>
* javax/swing/JMenu.java
(getAccessibleChildrenCount): Marked as stub,
(getAccessibleChild): Likewise,
(getAccessibleSelection): Likewise,
(getAccessibleSelection(int)): Likewise,
(isAccessibleChildSelected): Likewise,
(getAccessibleSelectionCount): Likewise,
(addAccessibleSelection): Likewise,
(removeAccessibleSelection): Likewise,
(clearAccessibleSelection): Likewise,
(selectAllAccessibleSelection): Likewise.
2006-04-19 David Gilbert <david.gilbert@object-refinery.com>
* javax/swing/JSplitPane.java
(getAccessibleContext): Added API docs,
(paramString): Reimplemented,
(setOrientation): Updated API docs,
(setResizeWeight): Added argument checking and event notification.
2006-04-18 Casey Marshall <csm@gnu.org>
Fixes PR classpath/25673
* java/security/KeyStore.java (getDefaultType): return "gkr" if no
property is set. Update JavaDoc to reflect this.
2006-04-18 Lillian Angel <langel@redhat.com>
* gnu/xml/dom/DomDocument.java
(setCheckingCharacters): New function used to set
checkingCharacters flag.
* gnu/xml/dom/html2/DomHTMLParser.java
(parseDocument): Added call to set checkingCharacters flag
to false.
2006-04-18 Lillian Angel <langel@redhat.com>
* gnu/xml/dom/DomDocument.java
(checkNCName): Reverted last patch. Added check for colon at
last position back in.
2006-04-18 Robert Schuster <robertschuster@fsfe.org>
* examples/gnu/classpath/examples/swing/NavigationFilterDemo.java:
New file.
* examples/gnu/classpath/examples/swing/Demo.java:
(mkMenuBar): Added NavigationFilter demo.
2006-04-18 David Gilbert <david.gilbert@object-refinery.com>
* javax/swing/JSeparator.java: Updated API docs all over, plus
(setOrientation): Fire PropertyChangeEvent,
(paramString): Reimplemented.
2006-04-18 Robert Schuster <robertschuster@fsfe.org>
* javax/swing/plaf/basic/BasicTextUI.java:
(getNextVisualPositionFrom): Implemented.
2006-04-18 David Gilbert <david.gilbert@object-refinery.com>
* javax/swing/JPanel.java: Updated API docs all over, plus
(JPanel(LayoutManager, boolean)): Pass on null layout, set
double-buffer flag.
2006-04-18 Robert Schuster <robertschuster@fsfe.org>
* examples/gnu/classpath/examples/swing/DocumentFilterDemo.java:
New file.
* examples/gnu/classpath/examples/swing/Demo.java:
(mkMenuBar): Added DocumenFilter demo.
2006-04-18 Tom Tromey <tromey@redhat.com>
* doc/www.gnu.org/include/layout.wml: Add FMJ.
2006-04-18 Mark Wielaard <mark@klomp.org>
Reported by John Sullivan (johns@fsf.org)
* doc/www.gnu.org/stories.wml: Update JikesRVM location.
2006-04-18 David Gilbert <david.gilbert@object-refinery.com>
* javax/swing/JInternalFrame.java
(JDesktopIcon.getAccessibleContext): Added API docs,
(getDefaultCloseOperation): Likewise,
(paramString): Added 'title' attribute,
(setDefaultCloseOperation): Added API docs.
2006-04-18 David Gilbert <david.gilbert@object-refinery.com>
* javax/swing/JSlider.java
(paramString): Reimplemented.
2006-04-18 David Gilbert <david.gilbert@object-refinery.com>
* javax/swing/JComboBox.java
(paramString): Reimplemented,
(getAccessibleContext): Added API docs,
(AccessibleJComboBox.getAccessibleRole): Likewise.
2006-04-18 Roman Kennke <kennke@aicas.com>
* javax/swing/RepaintManager.java
(dirtyComponentsWork): New field.
(ComponentComparator): Use dirtyComponentsWork instead of
dirtyComponents.
(RepaintManager): Initialize new field.
(paintDirtyRegions): Swap dirtyComponents with dirtyComponentsWork
and work on the copy.
2006-04-18 Roman Kennke <kennke@aicas.com>
* gnu/java/awt/peer/swing/SwingComponentPeer.java
(setBounds): Call reshape().
* gnu/java/awt/peer/swing/SwingContainerPeer.java
(SwingContainerPeer): Changed argument to be a Component
instead a Container.
(getInsets): Call insets().
(handleMouseEvent): Added null check to avoid NPE.
(handleMouseMotionEvent): Added null check to avoid NPE.
2006-04-18 Roman Kennke <kennke@aicas.com>
PR 27185
* javax/swing/JComponent.java
(paintChildrenWithOverlap): When one child is not opaque, propagate
the dirty rectangles to the next child.
(paintChildrenOptimized): Removed unnecessary 'optimization'.
This actually didn't work right and probably gained nothing.
2006-04-18 Audrius Meskauskas <AudriusA@Bioinformatics.org>
* javax/swing/JTable.java (getCallRect): Do not cache rectangles.
(moveToCellBeingEdited): Do not clone the rectangle here.
2006-04-18 David Gilbert <david.gilbert@object-refinery.com>
* javax/swing/plaf/basic/BasicSliderUI.java
(getActionMap): Fixed lookup key,
(createActionMap): Modified actions to fetch slider/ui from the event
source.
2006-04-17 Andrew John Hughes <gnu_andrew@member.fsf.org>
* java/lang/Enum.java: Documented.
2006-04-17 Andrew John Hughes <gnu_andrew@member.fsf.org>
* gnu/java/lang/InstrumentationImpl.java:
Moved from java.lang.
* java/lang/InstrumentationImpl.java:
Removed.
* vm/reference/gnu/java/lang/VMInstrumentationImpl.java:
Moved from java.lang.
* vm/reference/java/lang/VMClassLoader.java:
Corrected reference to InstrumentationImpl.
* vm/reference/java/lang/VMInstrumentationImpl.java:
Removed.
2006-04-17 Andrew John Hughes <gnu_andrew@member.fsf.org>
* java/lang/annotation/Annotation.java:
Documented.
2006-04-17 David Gilbert <david.gilbert@object-refinery.com>
* javax/swing/JToolBar.java
(AccessibleJToolBar.AccessibleJToolBar()): Updated API docs,
(AccessibleJToolBar.getAccessibleStateSet): Implemented,
(AccessibleJToolBar.getAccessibleRole): Updated API docs,
(getAccessibleContext): Likewise.
2006-04-17 Dalibor Topic <robilad@kaffe.org>
* configure.ac:
Added CLASSPATH_CONVENIENCE substitution for convenience library LDFLAGS.
* native/fdlibm/Makefile.am,
native/jni/classpath/Makefile.am:
Don't use -module and -version-info for convenience libraries LDFLAGS.
Fixes libtool warnings.
2006-04-17 David Gilbert <david.gilbert@object-refinery.com>
* javax/swing/plaf/basic/BasicComboBoxUI.java:
(installKeyboardActions): Marked as stub,
(uninstallKeyboardActions): Likewise,
* javax/swing/plaf/basic/BasicComboPopup.java:
(installKeyboardActions): Marked as stub,
(uninstallKeyboardActions): Likewise,
* javax/swing/plaf/basic/BasicInternalFrameUI.java:
(installKeyboardActions): Marked as stub,
(uninstallKeyboardActions): Likewise,
* javax/swing/plaf/basic/BasicLabelUI.java:
(installKeyboardActions): Marked as stub,
(uninstallKeyboardActions): Likewise,
* javax/swing/plaf/basic/BasicListUI.java:
(installKeyboardActions): Marked as stub,
(uninstallKeyboardActions): Likewise,
* javax/swing/plaf/basic/BasicMenuBarUI.java:
(installKeyboardActions): Marked as stub,
(uninstallKeyboardActions): Likewise,
* javax/swing/plaf/basic/BasicMenuUI.java:
(installKeyboardActions): Marked as stub,
(uninstallKeyboardActions): Likewise,
* javax/swing/plaf/basic/BasicOptionPaneUI.java:
(installKeyboardActions): Marked as stub,
(uninstallKeyboardActions): Likewise,
* javax/swing/plaf/basic/BasicPopupMenuUI.java:
(installKeyboardActions): Marked as stub,
(uninstallKeyboardActions): Likewise,
* javax/swing/plaf/basic/BasicScrollBarUI.java:
(installKeyboardActions): Marked as stub,
(uninstallKeyboardActions): Likewise,
* javax/swing/plaf/basic/BasicScrollPaneUI.java:
(installKeyboardActions): Marked as stub,
(uninstallKeyboardActions): Likewise,
* javax/swing/plaf/basic/BasicSplitPaneUI.java:
(installKeyboardActions): Marked as stub,
(uninstallKeyboardActions): Likewise,
* javax/swing/plaf/basic/BasicTabbedPaneUI.java:
(installKeyboardActions): Marked as stub,
(uninstallKeyboardActions): Likewise,
* javax/swing/plaf/basic/BasicTableHeaderUI.java:
(installKeyboardActions): Marked as stub,
(uninstallKeyboardActions): Likewise,
* javax/swing/plaf/basic/BasicTableUI.java:
(installKeyboardActions): Marked as stub,
(uninstallKeyboardActions): Likewise,
* javax/swing/plaf/basic/BasicTextUI.java:
(installKeyboardActions): Marked as stub,
(uninstallKeyboardActions): Likewise,
* javax/swing/plaf/basic/BasicToolBarUI.java:
(installKeyboardActions): Marked as stub,
(uninstallKeyboardActions): Likewise.
2006-04-17 David Gilbert <david.gilbert@object-refinery.com>
* javax/swing/plaf/basic/BasicSliderUI.java
(installKeyboardActions): Implemented,
(uninstallKeyboardActions): Implemented,
(scrollByBlock): Accept any value for direction,
(scrollByUnit): Likewise,
(getInputMap): New method,
(getActionMap): New method,
(createActionMap): New method.
2006-04-16 Andrew John Hughes <gnu_andrew@member.fsf.org>
* doc/vmintegration.texinfo:
Fix sectioning.
2006-04-16 Tom Tromey <tromey@redhat.com>
* native/jni/java-net/Makefile.am (AM_CFLAGS): Removed --save-temps.
2006-04-16 Andrew John Hughes <gnu_andrew@member.fsf.org>
* NEWS:
Mention generics additions to the VM interface.
* doc/vmintegration.texinfo:
Added information on VMClass 1.5 additions and
VMSecureRandom.
2006-04-16 Casey Marshall <csm@gnu.org>
* NEWS: add an entry mentioning local socket support.
2006-04-16 Casey Marshall <csm@gnu.org>
* configure.ac (--enable-local-sockets): new enable argument.
(ENABLE_LOCAL_SOCKETS): new define.
* native/jni/java-net/Makefile.am (local_sources): new variable.
(lib_javanet_la_SOURCES): append `local_sources.'
* native/jni/java-net/gnu_java_net_local_LocalSocketImpl.c,
* native/jni/java-net/local.c,
* native/jni/java-net/local.h,
* include/gnu_java_net_local_LocalSocketImpl.h,
* gnu/java/net/local/LocalServerSocket.java,
* gnu/java/net/local/LocalSocket.java,
* gnu/java/net/local/LocalSocketAddress.java,
* gnu/java/net/local/LocalSocketImpl.java: new files.
2006-04-15 Andrew John Hughes <gnu_andrew@member.fsf.org>
* javax/accessibility/AccessibleAction.java:
(DECREMENT): Added field.
(INCREMENT): Likewise.
(TOGGLE_EXPAND): Likewise.
* javax/accessibility/AccessibleRole.java:
(EDITBAR): Added field.
(FOOTER): Likewise.
(HEADER): Likewise.
(PARAGRAPH): Likewise.
(PROGRESS_MONITOR): Likewise.
(RULER): Likewise.
* javax/accessibility/AccessibleState.java:
(INDETERMINATE): Added field.
(MANAGES_DESCENDANTS): Likewise.
(TRUNCATED): Likewise.
2006-04-14 Tom Tromey <tromey@redhat.com>
* javax/swing/tree/DefaultTreeSelectionModel.java (getListeners):
Genericized.
* javax/swing/tree/AbstractLayoutCache.java (getVisiblePathsFrom):
Genericized.
2006-04-14 Robert Schuster <robertschuster@fsfe.org>
* javax/swing/text/DefaultCaret.java:
(getBypass): New method.
(moveDot): Rewritten.
(moveDotImpl): New method.
(setDot): Rewritten.
(setDotImpl): New method.
(DefaultCaret.Bypass): New class.
2006-04-14 Robert Schuster <robertschuster@fsfe.org>
* javax/swing/text/AbstractDocument.java:
(getBypass): New method.
(insertString): Rewritten.
(remove): Rewritten.
(replace): Rewritten.
(insertStringImpl): New method.
(removeImpl): New method.
(replaceImpl): New method.
(AbstractDocument.Bypass): New class.
2006-04-14 Casey Marshall <csm@gnu.org>
Fixes PR classpath/24642
* NEWS: add note about SecureRandom changes, and addition of
VMSecureRandom.
* java/security/SecureRandom.java (isSeeded): new field.
(setSeed, setSeed): set `isSeeded' to `true.'
(nextBytes): seed this instance if `isSeeded' is false.
(getSeed): call `generateSeed.'
(SECURERANDOM_SOURCE, JAVA_SECURITY_EGD, logger): new constants.
(generateSeed, generateSeed): new methods.
* vm/reference/java/security/VMSecureRandom.java: new file.
2006-04-14 Robert Schuster <robertschuster@fsfe.org>
* javax/swing/text/FieldView.java:
(paint): Apply clipping rectangle of the allocation area
before painting the text.
* javax/swing/text/DefaultHighlighter.java:
(DefaultHighlighter.DefaultHighlightPainter): Use SwingUtilities to
compute union and intersection, calculate intersection with allocation
area before painting, adjust x and width when painting multiple lines
by the range of the allocation area.
2006-04-14 Robert Schuster <robertschuster@fsfe.org>
* javax/swing/text/DefaultHighlighter.java:
(paintLayeredHighlights): Marked as stub.
2006-04-14 Robert Schuster <robertschuster@fsfe.org>
* javax/swing/plaf/basic/BasicTextFieldUI.java:
(propertyChanged): Added note, change color only if current background
is a ColorUIResource instance.
2006-04-14 Tom Tromey <tromey@redhat.com>
* java/beans/beancontext/BeanContextSupport.java (hasNext): No longer
a stub.
(next): Likewise.
2006-04-14 Tom Tromey <tromey@redhat.com>
* javax/swing/JComboBox.java (AccessibleJComboBox): Now public.
2006-04-14 Mark Wielaard <mark@klomp.org>
* java/lang/Thread.java (getUncaughtExceptionHandler): Return
thread group when exceptionHandler isn't set.
* vm/reference/java/lang/VMThread.java (run): Use result of
thread.getUncaughtExceptionHandler directly.
2006-04-14 David Gilbert <david.gilbert@object-refinery.com>
* javax/swing/JSplitPane.java
(AccessibleJSplitPane.getAccessibleStateSet): Implemented,
(AccessibleJSplitPane.getAccessibleRole): Implemented,
(AccessibleJSplitPane.getAccessibleValue): Implemented,
(AccessibleJSplitPane.getCurrentAccessibleValue): Implemented,
(AccessibleJSplitPane.setCurrentAccessibleValue): Implemented,
(AccessibleJSplitPane.getMinimumAccessibleValue): Implemented,
(AccessibleJSplitPane.getMaximumAccessibleValue): Implemented.
2006-04-10 Tom Tromey <tromey@redhat.com>
* javax/imageio/metadata/IIOMetadataFormatImpl.java (addObjectValue):
Fixed parameter bounds.
2006-04-13 Andrew John Hughes <gnu_andrew@member.fsf.org>
* gnu/javax/crypto/assembly/Assembly.java,
* gnu/javax/crypto/assembly/Cascade.java,
* gnu/javax/crypto/assembly/CascadeStage.java,
* gnu/javax/crypto/assembly/CascadeTransformer.java,
* gnu/javax/crypto/assembly/Direction.java,
* gnu/javax/crypto/assembly/LoopbackTransformer.java,
* gnu/javax/crypto/assembly/ModeStage.java,
* gnu/javax/crypto/assembly/Operation.java,
* gnu/javax/crypto/assembly/PaddingTransformer.java,
* gnu/javax/crypto/assembly/Stage.java,
* gnu/javax/crypto/assembly/Transformer.java,
* gnu/javax/crypto/cipher/Square.java,
* gnu/javax/crypto/jce/cipher/AESSpi.java,
* gnu/javax/crypto/jce/cipher/ARCFourSpi.java,
* gnu/javax/crypto/jce/cipher/AnubisSpi.java,
* gnu/javax/crypto/jce/cipher/BlowfishSpi.java,
* gnu/javax/crypto/jce/cipher/CipherAdapter.java,
* gnu/javax/crypto/jce/cipher/DESSpi.java,
* gnu/javax/crypto/jce/cipher/KhazadSpi.java,
* gnu/javax/crypto/jce/cipher/NullCipherSpi.java,
* gnu/javax/crypto/jce/cipher/PBES2.java,
* gnu/javax/crypto/jce/cipher/RijndaelSpi.java,
* gnu/javax/crypto/jce/cipher/SerpentSpi.java,
* gnu/javax/crypto/jce/cipher/SquareSpi.java,
* gnu/javax/crypto/jce/cipher/TripleDESSpi.java,
* gnu/javax/crypto/jce/cipher/TwofishSpi.java,
* gnu/javax/crypto/jce/mac/HMacMD2Spi.java,
* gnu/javax/crypto/jce/mac/HMacMD4Spi.java,
* gnu/javax/crypto/jce/mac/HMacMD5Spi.java,
* gnu/javax/crypto/jce/mac/HMacRipeMD128Spi.java,
* gnu/javax/crypto/jce/mac/HMacRipeMD160Spi.java,
* gnu/javax/crypto/jce/mac/HMacSHA160Spi.java,
* gnu/javax/crypto/jce/mac/HMacSHA256Spi.java,
* gnu/javax/crypto/jce/mac/HMacSHA384Spi.java,
* gnu/javax/crypto/jce/mac/HMacSHA512Spi.java,
* gnu/javax/crypto/jce/mac/HMacTigerSpi.java,
* gnu/javax/crypto/jce/mac/HMacWhirlpoolSpi.java,
* gnu/javax/crypto/jce/mac/MacAdapter.java,
* gnu/javax/crypto/jce/mac/TMMH16Spi.java,
* gnu/javax/crypto/jce/mac/UHash32Spi.java,
* gnu/javax/crypto/jce/mac/UMac32Spi.java,
* gnu/javax/crypto/key/dh/DiffieHellmanSender.java,
* gnu/javax/crypto/key/srp6/SRP6TLSServer.java,
* gnu/javax/crypto/keyring/PrivateKeyEntry.java,
* gnu/javax/crypto/mode/IAuthenticatedMode.java,
* gnu/javax/crypto/pad/WrongPaddingException.java,
* gnu/javax/crypto/prng/ICMGenerator.java,
* gnu/javax/crypto/prng/IPBE.java,
* gnu/javax/crypto/prng/PBKDF2.java,
* gnu/javax/crypto/sasl/ConfidentialityException.java,
* gnu/javax/crypto/sasl/IllegalMechanismStateException.java,
* gnu/javax/crypto/sasl/srp/IALG.java,
* gnu/javax/crypto/sasl/srp/SRPServer.java:
Remove CVS revision tags.
2006-04-13 Audrius Meskauskas <AudriusA@Bioinformatics.org>
* javax/swing/plaf/basic/BasicTreeUI.java (getPreferredSize):
Removed debugging code.
2006-04-13 Audrius Meskauskas <AudriusA@Bioinformatics.org>
* javax/swing/JTree.java (getPreferredSize): Return the
cloned instance.
* javax/swing/ViewportLayout.java (layoutContainer):
Do not manage the view size and location if the view is
in the scroll pane. Also manage size and location for
Scrollable, if it is not in the scroll pane.
* javax/swing/plaf/basic/BasicTreeUI.java,
* javax/swing/tree/FixedHeightLayoutCache.java,
* javax/swing/tree/VariableHeightLayoutCache.java: Rewritten.
* gnu/javax/swing/tree/GnuPath.java: New file.
2006-04-13 David Gilbert <david.gilbert@object-refinery.com>
* javax/swing/JToolBar.java
(AccessibleJToolBar.getAccessibleStateSet): Marked as stub.
2006-04-13 Robert Schuster <robertschuster@fsfe.org>
* examples/gnu/classpath/examples/swing/TextAreaDemo.java:
(createCustomColoredPanel): Set background color as demo intends,
changed custom selection color to red.
* examples/gnu/classpath/examples/swing/TextFieldDemo.java:
Replaced various single variables with a Compound instance, added
custom highlighter demo.
(TextFieldDemo.DemoHighlightPainter): New class (taken from
TextAreaDemo).
(TextFieldDemo.Compound): New class.
(createTextFieldCompound): New method.
(createLeftAlignedPanel): Rewritten.
(createRightAlignedPanel): Rewritten.
(createCenteredPanel): Rewritten.
(createCustomColoredPanel): Removed.
(createCustomColoredPanel1): New method.
(createCustomColoredPanel2): New method.
(createCustomBordersPanel): New method.
(createMiscPanel): Rewritten.
(actionPerformed): Rewritten.
(createContent): Add panels of new compounds to main panel, put
main panel in a JScrollPane.
* examples/gnu/classpath/examples/swing/Demo.java:
(Demo): Put desktop in a scrollpane.
(mkMenuBar): Check availability of MetalLookAndFeel.getCurrentTheme()
method via reflection.
2006-04-13 David Gilbert <david.gilbert@object-refinery.com>
* javax/swing/plaf/metal/MetalDesktopIconUI.java
(createUI): Return new instance rather than shared instance.
2006-04-13 Robert Schuster <robertschuster@fsfe.org>
* javax/swing/text/FieldView.java:
(checkContainer): Call updateVisibility() at the end.
2006-04-13 Robert Schuster <robertschuster@fsfe.org>
* java/awt/event/MouseEvent.java:
(paramString): Add value of 'consumed' variable in string.
2006-04-13 Robert Schuster <robertschuster@fsfe.org>
PR 26967
* javax/swing/JTextField.java: Removed scrollOffset variable.
(JTextField): Moved up initialization of horizontalVisibility field.
(getScrollOffset): Implemented.
(setScrollOffset): Implemented.
(getHorizonztalVisibility): Removed note.
(scrollRectToVisible): New method.
* javax/swing/text/FieldView.java: Added cachedSpan variable.
(checkContainer): New method.
(updateVisibility): New method.
(calculateHorizontalSpan): New method.
(adjustAllocation): Removed unneeded local variables, added code
to handle scrolling.
(getPreferredSpan): Use new method calculateHorizontalSpan,
avoid calculation by returning cached value cachedSpan.
(paint): Added check whether the hosted component is a JTextField.
(insertUpdate): Invalidate cached span value, update visibility
if neccessary.
(removeUpdate): Dito.
(changeUpdate): Dito.
2006-04-13 David Gilbert <david.gilbert@object-refinery.com>
* javax/swing/JInternalFrame.java
(setTitle): Set old value to 'this.title', not 'title'.
2006-04-13 David Gilbert <david.gilbert@object-refinery.com>
* javax/swing/JInternalFrame.java
(AccessibleJInternalFrame.getAccessibleName): Implemented,
(AccessibleJInternalFrame.getAccessibleRole): Implemented,
(AccessibleJInternalFrame.getAccessibleValue): Implemented,
(AccessibleJInternalFrame.getCurrentAccessibleValue): Implemented,
(AccessibleJInternalFrame.getMaximumAccessibleValue): Implemented,
(AccessibleJInternalFrame.getMinimumAccessibleValue): Implemented,
(AccessibleJInternalFrame.setCurrentAccessibleValue): Implemented,
(JDesktopIcon.AccessibleJDesktopIcon.getAccessibleRole): Implemented,
(JDesktopIcon.AccessibleJDesktopIcon.getAccessibleValue): Implemented,
(JDesktopIcon.AccessibleJDesktopIcon.getCurrentAccessibleValue):
Implemented,
(JDesktopIcon.AccessibleJDesktopIcon.getMaximumAccessibleValue):
Implemented,
(JDesktopIcon.AccessibleJDesktopIcon.getMinimumAccessibleValue):
Implemented,
(JDesktopIcon.AccessibleJDesktopIcon.setCurrentAccessibleValue):
Implemented,
(JInternalFrame()): Use "" for default title,
(getAccessibleContext): Updated API docs,
(getDesktopIcon): Likewise,
(getLayer): Check for layer in client properties, and return
DEFAULT_LAYER if no setting is found,
(getTitle): Updated API docs,
(setDesktopIcon): Fire property change event.
2006-04-13 Audrius Meskauskas <AudriusA@Bioinformatics.org>
* javax/swing/ScrollPaneLayout.java (layoutContainer):
Mind that the presence of one scroll bar may cause the
need for another.
2006-04-12 Ito Kazumitsu <kaz@maczuka.gcd.org>
* gnu/regexp/REToken.java(unicodeAware): New field,
(toLowerCase, toUpperCase): New methods.
* gnu/regexp/RETokenBackRef.java, gnu/regexp/RETokenChar.java,
gnu/regexp/RETokenNamedProperty.java, gnu/regexp/RETokenRange.java:
Use toLowerCase and toUpperCase defined in REToken instead of
those defined in java.lang.Character.
* gnu/regexp/gnu/regexp/RE.java(REG_ICASE_USASCII): New flag.
(initialize): Sets unicodeAware of the generated REToken to false if
REG_ICASE_USASCII is set.
* gnu/regexp/RETokenChar.java(constructor): Don't convert the character
to lower case and keep the original value.
(matchOneString): Use the new method charEquals to compare characters.
(charEquals): New method to compare characters.
* java/util/regex/Pattern.java: Sets the flag REG_ICASE_USASCII to true.
2006-04-12 David Gilbert <david.gilbert@object-refinery.com>
* javax/swing/event/InternalFrameEvent.java:
(paramString): Implemented,
updated API docs all over.
2006-04-12 Casey Marshall <csm@gnu.org>
* gnu/javax/crypto/prng/Fortuna.java (setup): call `fillBlock.'
(Generator.setup): call `fillBlock.'
2006-04-12 Casey Marshall <csm@gnu.org>
Fixes PR classpath/24481.
* gnu/java/security/jce/prng/SecureRandomAdapter.java (<init>):
initialize the adaptee.
(setSeed): call `addRandomBytes;' don't re-initialize the adaptee.
* gnu/java/security/prng/MDGenerator.java (addRandomByte,
addRandomBytes): new methods.
2006-04-12 Tom Tromey <tromey@redhat.com>
* java/io/DataOutputStream.java (writeUTF): Correctly handle zero
length strings.
2006-04-12 Lillian Angel <langel@redhat.com>
* gnu/xml/dom/DomDocument.java
(checkNCName): Removed unneeded part of check.
* gnu/xml/dom/DomNode.java
(dispatchEvent): Added code to grow ancestors array
if needed. Changed checks to use depth of node instead.
Fixes an infinite loop and segmentation fault.
* gnu/xml/dom/html2/DomHTMLParser.java
(handleEndTag): No need to use/make a copy of the node.
Causes an infinite loop.
2006-04-12 Tom Tromey <tromey@redhat.com>
PR classpath/27131:
* java/util/BitSet.java (get): Early return if to==from.
2006-04-12 Mark Wielaard <mark@klomp.org>
* java/security/SecureRandom.java (algorithm): New private field.
(SecureRandom): Initialize algorithm.
(SecureRandom(SecureRandomSpi,Provider,String)): New private
constructor.
(getInstance): Call 3 argument constructor.
(getAlgorithm): New method.
2006-04-12 Mark Wielaard <mark@klomp.org>
Port UncaughtExceptionHandler support from generics branch.
* NEWS: Document Thread.UncaughtExceptionHandler VMThread change.
2006-04-12 Andrew John Hughes <gnu_andrew@member.fsf.org>
* java/lang/Thread.java:
(setUncaughtExceptionHandler(UncaughtExceptionHandler):
Added docs and security check.
(getUncaughtExceptionHandler()): Documented.
(setDefaultUncaughtExceptionHandler(UncaughtExceptionHandler):
Added docs and security check.
(getDefaultUncaughtExceptionHandler()): Documented.
(getId()): Documented.
2006-04-12 Tom Tromey <tromey@redhat.com>
* vm/reference/java/lang/VMThread.java (run): Use thread's
uncaught handler.
* java/lang/Thread.java (defaultHandler): New field.
(setDefaultUncaughtExceptionHandler,
getDefaultUncaughtExceptionHandler, setUncaughtExceptionHandler,
getUncaughtExceptionHandler): New methods.
* java/lang/ThreadGroup.java (ThreadGroup): Implements
UncaughtExceptionHandler.
(uncaughtException): Use getDefaultUncaughtExceptionHandler.
2006-04-11 Bryce McKinlay <mckinlay@redhat.com>
* java/io/DataOutputStream.java (writeUTF): Re-use fixed length byte
buffer. Loop only once to determine Utf8 length when possible. Make
the inner loop bounded by buf.length.
(getUTFlength): New private method.
(buf): New private field.
2006-04-11 Lillian Angel <langel@redhat.com>
* gnu/xml/dom/DomNodeIterator.java
(nextNode): Moved line of code to avoid an infinite loop.
* gnu/xml/dom/html2/DomHTMLAppletElement.java
(getCls): New function.
(setCls): Likewise.
(getSrc): Likewise.
(setSrc): Likewise.
* gnu/xml/dom/html2/DomHTMLDocument.java:
Added DomHTMLEmbedElement to map.
(getApplets): Added node name, 'embed'.
* gnu/xml/dom/html2/DomHTMLEmbedElement.java:
New class.
* gnu/xml/dom/html2/DomHTMLObjectElement.java
(getJavaCode): New function.
(setJavaCode): Likewise.
(getObject): Likewise.
(setObject): Likewise.
(getJavaObject): Likewise.
(setJavaObject): Likewise.
(getJavaArchive): Likewise.
(setJavaArchive): Likewise.
(getJavaCodeBase): Likewise.
(setJavaCodeBase): Likewise.
(getJavaType): Likewise.
(setJavaType): Likewise.
(setMayscript): Likewise.
(getMayscript): Likewise.
(setScriptable): Likewise.
(getScriptable): Likewise.
* gnu/xml/dom/html2/DomHTMLParser.java
(parseDocument): Should not check for well formedness
when parsing an html document.
* java/awt/Window.java
(dispatchEvent): Added check to avoid NPE.
2006-04-10 Tom Tromey <tromey@redhat.com>
* javax/accessibility/AccessibleStreamable.java (getStream): Fixed
name.
* javax/accessibility/AccessibleRelation.java (EMBEDS): Fixed value.
(SUBWINDOW_OF, SUBWINDOW_OF_PROPERTY): Likewise.
2006-04-10 Robert Schuster <robertschuster@fsfe.org>
* javax/swing/plaf/basic/BasicTextUI.java:
(getNextVisualPositionFrom): Marked as stub.
2006-04-10 Roman Kennke <kennke@aicas.com>
* javax/swing/plaf/basic/BasicLookAndFeel.java
(initSystemColorDefaults): Changed to use loadSystemColorDefaults
and create the defaults as strings constants.
(loadSystemColors): Implemented stubbed method.
2006-04-10 Tom Tromey <tromey@redhat.com>
* .settings/org.eclipse.core.resources.prefs: Set encoding for
ChangeLog.
2006-04-10 Tom Tromey <tromey@redhat.com>
* java/io/CharArrayWriter.java (append): Javadoc fix.
(append): Likewise.
2006-04-10 Tom Tromey <tromey@redhat.com>
* javax/accessibility/AccessibleTextSequence.java: New file.
* javax/accessibility/AccessibleRelation.java (CHILD_NODE_OF): New
field.
(CHILD_NODE_OF_PROPERTY, EMBEDDED_BY, EMBEDDED_BY_PROPERTY, EMBEDS,
EMBEDS_PROPERTY, FLOWS_FROM, FLOWS_FROM_PROPERTY, FLOWS_TO,
FLOWS_TO_PROPERTY, PARENT_WINDOW_OF, PARENT_WINDOW_OF_PROPERTY,
SUBWINDOW_OF, SUBWINDOW_OF_PROPERTY): Likewise.
* javax/accessibility/AccessibleExtendedText.java: New file.
* javax/accessibility/AccessibleContext.java
(ACCESSIBLE_COMPONENT_BOUNDS_CHANGED): New field.
(ACCESSIBLE_INVALIDATE_CHILDREN): Likewise.
(ACCESSIBLE_TEXT_ATTRIBUTES_CHANGED): Likewise.
* javax/accessibility/AccessibleAttributeSequence.java: New file.
* javax/accessibility/AccessibleStreamable.java: New file.
* javax/accessibility/AccessibleText.java (getIndexAtPoint): Javadoc
fix.
2006-04-10 Audrius Meskauskas <AudriusA@Bioinformatics.org>
* javax/swing/tree/AbstractLayoutCache.java
(getNodeDimensions, getRowsForPath): Implemented.
* javax/swing/tree/FixedHeightLayoutCache.java: Rewritten.
* javax/swing/tree/VariableHeightLayoutCache.java: Rewritten.
2006-04-10 Roman Kennke <kennke@aicas.com>
* javax/swing/tree/AbstractLayoutCache.java: Reformatted.
2006-04-10 Roman Kennke <kennke@aicas.com>
* javax/swing/JInternalFrame.java
(AccessibleJInternalFrame): Marked all stubbed methods as such
by adding throws NotImplementedException.
2006-04-10 Roman Kennke <kennke@aicas.com>
* javax/swing/JFileChooser.java
(getAccessibleContext): Don't create a new instance on each
call, instead store the accessible context in the
accessibleContext field.
2006-04-10 Roman Kennke <kennke@aicas.com>
* javax/swing/JComboBox.java
(AccessibleJComboBox): Marked all stubbed methods as such
by adding throws NotImplementedException.
2006-04-10 Roman Kennke <kennke@aicas.com>
* javax/swing/ActionMap.java
(readObject): Removed.
(writeObject): Removed.
2006-04-10 Audrius Meskauskas <AudriusA@Bioinformatics.org>
* javax/swing/tree/DefaultTreeSelectionModel.java
(addSelectionPaths, setSelectionPaths): Call
insureUniqueness. (clone, setRowMapper): Implemented.
* TreePath (path): Marked final.
2006-04-10 Audrius Meskauskas <AudriusA@Bioinformatics.org>
* javax/swing/tree/DefaultTreeSelectionModel.java:
Documented and autoformatted. (insureUniqueness):
Removed stub marking.
2006-04-09 David Gilbert <david.gilbert@object-refinery.com>
* javax/swing/SizeSequence.java
(sizes): Don't initialise here,
(SizeSequence(int, int)): Initialise sizes field,
(SizeSequence(int[])): Clone argument instead of calling setSizes(),
(setSize): Do nothing when index is out of bounds,
(getIndex): Implemented,
(setSizes): Reimplemented,
(getSizes): Likewise,
(insertEntries): Likewise,
(removeEntries): Likewise,
plus added API docs all over.
2006-04-09 Audrius Meskauskas <AudriusA@Bioinformatics.org
* gnu/CORBA/gnuRequest.java (submit): Do not read any response after
one way message and retry after any IOException.
2006-04-09 Audrius Meskauskas <AudriusA@Bioinformatics.org>
* gnu/CORBA/CDR/EncapsulationStream.java (constructor):
Set the byte order.
2006-04-09 Wolfgang Baer <WBaer@gmx.de>
* org/omg/PortableServer/ServantLocatorPOA.java:
(preinvoke, postinvoke): Remove default implementation.
* org/omg/PortableServer/ServantActivatorPOA.java:
(incarnate, etherealize): Remove default implementation.
* org/omg/PortableInterceptor/ObjectReferenceFactory.java:
Extends from ValueBase and not from ObjectReferenceFactoryOperations.
(make_object): Moved method from ObjectReferenceFactoryOperations.
* org/omg/PortableInterceptor/ObjectReferenceFactoryOperations.java:
Removed unspecified interface.
* org/omg/DynamicAny/_DynAnyStub.java:
(_DynAnyStub(Delegate)): Removed constructor.
* org/omg/DynamicAny/_DynArrayStub.java,
* org/omg/DynamicAny/_DynAnyFactoryStub.java,
* org/omg/DynamicAny/_DynEnumStub.java,
* org/omg/DynamicAny/_DynFixedStub.java,
* org/omg/DynamicAny/_DynSequenceStub.java,
* org/omg/DynamicAny/_DynStructStub.java,
* org/omg/DynamicAny/_DynUnionStub.java,
* org/omg/DynamicAny/_DynValueStub.java:
Extend from ObjectImpl and not from _DynAnyStub.
(type, next, destroy, copy, rewind, assign, component_count,
current_component, equal, from_any, get_any, get_boolean, get_char,
get_double, get_dyn_any, get_float, get_long, get_longlong, get_octet,
get_reference, get_short, get_string, get_typecode, get_ulong,
get_ulonglong, get_ushort, get_val, get_wchar, get_wstring, insert_any,
insert_boolean, insert_char, insert_double, insert_dyn_any, insert_float,
insert_long, insert_longlong, insert_octet, insert_reference,
insert_short, insert_string, insert_typecode, insert_ulong,
insert_ulonglong, insert_ushort, insert_val, insert_wchar,
insert_wstring, seek, to_any): New methods copied from _DynAnyStub.
* org/omg/CosNaming/_BindingIteratorStub.java:
(_BindingIteratorStub(Delegate)): Made package private.
* org/omg/CosNaming/_NamingContextExtStub.java:
(_NamingContextExtStub(Delegate)): Made package private.
* org/omg/CosNaming/_NamingContextStub.java:
(_NamingContextStub(Delegate)): Made package private.
(throw4, throw5): Likewise.
* gnu/CORBA/NamingService/NameParser.java (resolve):
Adapt to package private constructor. Use _set_delegate instead.
* org/omg/CosNaming/NamingContextOperations.java: Do not extend IDLEntity.
* org/omg/CORBA/ORB.java:
(create_recursive_sequence_tc): Made abstract.
(get_default_context): Likewise.
* gnu/CORBA/OrbRestricted.java:
(create_recursive_sequence_tc): New moved method.
(get_default_context): Likewise.
* org/omg/CORBA/ParameterMode.java:
(PARAM_IN, PARAM_OUT, PARAM_INOUT): Made final.
2006-04-09 Audrius Meskauskas <AudriusA@Bioinformatics.org>
* gnu/CORBA/GIOP/MessageHeader.java (write):
More informative exception.
* gnu/CORBA/IorDelegate.java (release): Do not close the socket.
* gnu/CORBA/SocketRepository.java (get_socket):
Removed debugging code.
2006-04-09 Audrius Meskauskas <AudriusA@Bioinformatics.org>
* gnu/CORBA/gnuRequest.java (submit): Try to read the response for the
one way message, but ignore if EOF was received.
* gnu/CORBA/GIOP/MessageHeader.java (read): Set the minor code to
Minor.EOF if the end of file is received instead of the header.
2006-04-09 Roman Kennke <kennke@aicas.com>
* javax/swing/plaf/metal/MetalRootPaneUI.java
(MetalTitlePane.IconifyAction): New inner class.
(MetalTitlePane.MaximizeAction): New inner class.
(MetalTitlePane.createActions): Create iconifyAction and
maximizeAction.
(MetalRootLayout.titlePane): New field.
(MetalRootLayout.MetalRootLayout): Take titlePane parameter in
constructor.
(MetalRootLayout.preferredLayoutSize): Changed to not make
assumptions about the actual component order.
(MetalRootLayout.layoutContainer): Changed to not make
assumptions about the actual component order.
(installWindowDecorations): Pass the titlePane as parameter to
the MetalRootLayout constructor.
(uninstallWindowDecorations): Changed to not make
assumptions about the actual component order.
2006-04-08 Roman Kennke <kennke@aicas.com>
* javax/swing/plaf/metal/MetalRootPaneUI.java
(MetalTitlePane.MouseHandler): New inner class to handle dragging
of frames.
(MetalTitlePane.installListeners): Don't register a focus listener
on the window. This is a potential memory leak and must be
implemented on a different way. Install mouse listener here.
(installWindowDecorations): Fixed assertion condition. Always
insert the window decoration at index#1 in the layered
pane.
2006-04-08 Roman Kennke <kennke@aicas.com>
* native/jni/gtk-peer/gnu_java_awt_peer_gtk_GtkWindowPeer.c
(Java_gnu_java_awt_peer_gtk_GtkWindowPeer_nativeSetBoundsUnlocked):
Only resize window if actual width or height value changes.
Avoids nasty flicker when only setLocation() is beeing called
on a window.
2006-04-08 Audrius Meskauskas <AudriusA@Bioinformatics.org>
* gnu/CORBA/GIOP/MessageHeader.java (read): Throw more informative
exception if the magic sequence does not match.
2006-04-08 Audrius Meskauskas <AudriusA@Bioinformatics.org>
* gnu/CORBA/gnuRequest.java (p_invoke, submit): Do not try to read
response for the one way messages.
2006-04-08 Roman Kennke <kennke@aicas.com>
* javax/swing/MenuSelectionManager.java
(processKeyEvent): Implemented stub method.
* javax/swing/JMenu.java
(processKeyEvent): Implemented stub method.
* javax/swing/JMenu.java
(processKeyEvent): Implemented stub method.
(processMenuKeyEvent): Implemented stub method.
2006-04-08 Roman Kennke <kennke@aicas.com>
* javax/swing/AbstractAction.java
(readObject): Removed unneeded method.
(writeObject): Removed unneeded method.
2006-04-08 Wolfgang Baer <WBaer@gmx.de>
* javax/swing/plaf/synth/SynthPainter.java:
(paintSplitPaneDividerBorder): Removed.
2006-04-08 Wolfgang Baer <WBaer@gmx.de>
* javax/swing/plaf/basic/BasicInternalFrameTitlePane.java:
(CLOSE_CMD, ICONIFY_CMD, MAXIMIZE_CMD, MOVE_CMD, RESTORE_CMD, SIZE_CMD):
No longer constants.
(static_initializer): Added to initialize above fields.
* javax/accessibility/AccessibleRelation.java (LABEL_FOR, LABELED_BY,
MEMBER_OF, CONTROLLER_FOR, CONTROLLED_BY): No longer constants.
(static_initializer): Added to initialize above fields.
2006-04-08 Wolfgang Baer <WBaer@gmx.de>
* java/awt/Dialog.java: Improved documentation all over.
(Dialog(Frame)): If gc is null use the owners GraphicsConfiguration.
(Dialog(Dialog)): Likewise.
2006-04-08 Mark Wielaard <mark@klomp.org>
* java/util/jar/JarFile.java (provider): New static field.
(verify, verifyHashes, EntryInputStream.<init>): Pass provider
to `getInstance.'
2006-04-08 Mark Wielaard <mark@klomp.org>
PR 27081
* java/lang/StackTraceElement.java (toString): Don't add space
between type and source indicator.
2006-04-07 Casey Marshall <csm@gnu.org>
Fixes PR classpath/24464
* java/util/jar/JarFile.java (verify, verifyHashes,
EntryInputStream.<init>): pass the Gnu provider directly to
`getInstance.'
2006-04-08 Raif S. Naffah <raif@swiftdsl.com.au>
PR classpath/27071
* gnu/java/security/hash/Whirlpool.java: Updated documentation.
(DIGEST0): Use version 3 test vector.
(Sd): Removed.
(S_box): New field: Version 3 S-box values.
(<clinit>): Use Version 3 circulant matrix to construct lookup tables.
(transform): Formating.
(padBuffer): Likewise.
(getResult): Likewise.
(selfTest): Likewise.
2006-04-07 Tom Tromey <tromey@redhat.com>
* java/util/InvalidPropertiesFormatException.java
(serialVersionUID): New field.
(readObject, writeObject): New methods.
* java/util/Arrays.java (toString): Javadoc fixes.
* java/net/URLConnection.java: Cleaned up imports.
* java/lang/reflect/ParameterizedType.java: Javadoc fix.
* java/lang/reflect/MalformedParameterizedTypeException.java
(serialVersionUID): New field.
* java/lang/reflect/GenericSignatureFormatError.java
(serialVersionUID): New field.
* java/lang/Class.java (Class): Javado fixes.
(getComponentType): Likewise.
(getGenericInterfaces): Likewise.
(getTypeParameters): Likewise.
* java/io/CharArrayWriter.java (append): Javadoc fixes.
* java/lang/annotation/AnnotationFormatError.java (serialVersionUID):
New field.
* java/lang/TypeNotPresentException.java (serialVersionUID): New
field.
* java/lang/EnumConstantNotPresentException.java (serialVersionUID):
New field.
2006-04-07 Wolfgang Baer <WBaer@gmx.de>
* java/awt/Dialog.java
(AccessibleAWTDialog): Added api docs
(AccessibleAWTDialog.getAccessibleStateSet):
Renamed from getAccessibleState.
* java/awt/Frame.java
(AccessibleAWTFrame): Added api docs
(AccessibleAWTFrame.getAccessibleStateSet):
Renamed from getAccessibleState.
2006-04-07 Wolfgang Baer <WBaer@gmx.de>
* java/awt/Dialog.java: Reformatted.
2006-04-07 Lillian Angel <langel@redhat.com>
* java/awt/Component.java
(eventTypeEnabled): Added code for HierarchyEvent.HIERARCHY_CHANGED,
HierarchyEvent.ANCESTOR_MOVED and HierarchyEvent.ANCESTOR_RESIZED.
2006-04-07 Tom Tromey <tromey@redhat.com>
* java/beans/beancontext/BeanContextMembershipEvent.java
(serialVersionUID): New field.
* java/beans/beancontext/BeanContextServicesSupport.java
(addBeanContextServicesListener): Synchronize.
(addService): Implemented.
(createBCSChild): Implemented.
(BCSSChild): Added arguments.
(fireServiceAdded): Implemented.
(fireServiceRevoked): Implemented.
(getCurrentServiceSelectors): Implemented.
(hasService): Implemented.
(removeBeanContextServicesListener): Implemented.
(serviceAvailable): Implemented.
(serviceRevoked): Implemented.
* java/beans/beancontext/BeanContextSupport.java (BCSChild): Added
arguments.
(createBCSChild): Implemented.
(BeanContextSupport):
(addBeanContextMembershipListener): Synchronize.
(fireChildrenAdded): Implemented.
(fireChildrenRemoved): Implemented.
(BeanContextSupport): Use default locale.
(isEmpty): Implemented.
(isDesignTime): Implemented.
(size): Implemented.
(toArray): Synchronized.
(toArray): Likewise.
(iterator): Likewise.
(BCSIterator): Implemented.
(bcsChildren): Implemented.
(validatePendingAdd): Implemented.
(validatePendingRemove): Likewise.
(childJustAddedHook): Implemented.
(childJustRemovedHook): Likewise.
(classEquals): Likewise.
(toArray): Mark as stub.
(setDesignTime): Implemented.
(copyChildren): Implemented.
(containsKey): Implemented.
(contains): Likewise.
(containsAll): Likewise.
(getResource): Implemented.
(getResourceAsStream): Likewise.
(removeBeanContextMembershipListener): Likewise.
* java/beans/beancontext/BeanContextServiceRevokedEvent.java
(serialVersionUID): New field.
* java/beans/beancontext/BeanContextServiceAvailableEvent.java
(serialVersionUID): New field.
* java/beans/beancontext/BeanContext.java (instantiateChild): Javadoc
fix.
2006-04-06 Roman Kennke <kennke@aicas.com>
PR 26937
* javax/swing/MenuSelectionManager.java
(setSelectedPath): Search one more item in the loop.
2006-04-06 Tom Tromey <tromey@redhat.com>
* java/awt/image/renderable/RenderableImageProducer.java
(image, context, consumers): New fields.
(RenderableImageProducer): Implemented.
(setRenderContext): Likewise.
(addConsumer): Likewise.
(isConsumer): Likewise.
(removeConsumer): Likewise.
(startProduction): Likewise.
2006-04-06 Roman Kennke <kennke@aicas.com>
* java/awt/Component.java
(AccessibleAWTComponent.getBounds): Return the component
bounds regardless of its showing state.
(AccessibleAWTComponent.getLocation): Return the component
location regardless of its showing state.
(AccessibleAWTComponent.getSize): Return the component
size regardless of its showing state.
2006-04-06 Roman Kennke <kennke@aicas.com>
* javax/swing/JRootPane.java
(getAccessibleContext): New method. Provides an accessibleContext
for JRootPanes.
2006-04-06 Roman Kennke <kennke@aicas.com>
* java/awt/Toolkit.java
(initAccessibility): Use the 'gnu.classpath.home.url' property
to determine the system confiuration directory.
* java/awt/Component.java
(dispatchEvent): Trigger Toolkit dispatching here.
(dispatchEventImpl): Moved Toolkit dispatching to dispatchEvent,
so it can't be overridden by subclasses and is performed in
any case.
2006-04-06 Wolfgang Baer <WBaer@gmx.de>
* javax/naming/Binding.java: Added API docs.
* javax/naming/NameClassPair.java: Added API docs.
(fullName): New field.
(setNameInNamespace): New 1.5 method.
(getNameInNamespace): Likewise.
2006-04-06 Wolfgang Baer <WBaer@gmx.de>
* javax/naming/CompositeName.java:
(readObject): New deserialization method.
(writeObject): New serialization method.
2006-03-29 Nektarios K. Papadopoulos <npapadop at inaccessnetworks.com>
* javax/security/auth/x500/X500Principal.java
(readAttributeValue) Check for separator after quoted value was
failing in all cases.
2006-04-06 Mark Wielaard <mark@klomp.org>
* java/lang/Class.java (getClassLoader): Don't do security check
when loader is null.
2006-04-06 Roman Kennke <kennke@aicas.com>
* java/awt/Toolkit.java
(getDefaultToolkit): Initialize accessibility after setting
up the toolkit.
(initAccessibility): New helper method to setup accessibility.
2006-04-06 Roman Kennke <kennke@aicas.com>
* javax/swing/AbstractButton.java
(AccessibleAbstractButton.getAccessibleIcon): Implemented stub.
(AccessibleAbstractButton.getAccessibleRelationSet): Implemented
stub.
(AccessibleAbstractButton.getIndexAtPoint): Implemented stub.
(AccessibleAbstractButton.getAccessibleIcon): Implemented stub.
(AccessibleAbstractButton.getCharacterBounds): Implemented stub.
(AccessibleAbstractButton.getCharCount): Implemented stub.
(AccessibleAbstractButton.getCaretPosition): Implemented stub.
(AccessibleAbstractButton.getCharacterAttribute): Implemented stub.
(AccessibleAbstractButton.getSelectionStart): Implemented stub.
(AccessibleAbstractButton.getSelectionEnd): Implemented stub.
(AccessibleAbstractButton.getSelectedText): Implemented stub.
(AccessibleAbstractButton.getTextRectangle): Removed unneeded
private method.
2006-04-06 Roman Kennke <kennke@aicas.com>
* java/awt/Component.java
(AccessibleAWTComponent.getAccessibleStateSet): Don't handle opaque
state here. This is only done in JComponent.
* javax/swing/JComponent.java
(AccessibleJComponent.getAccessibleStateSet): Handle opaque flag
here.
(getNextFocusableComponent): Implemented stub method.
(grabFocus): Implemented stub method.
(unregisterKeyboardAction): Implemented stub method.
(setNextFocusableComponent): Implemented stub method.
* javax/swing/CompatibilityFocusTraversalPolicy.java: New file.
This is a helper class for providing compatibility with the older
Swing focus API.
2006-04-06 Wolfgang Baer <WBaer@gmx.de>
Fixes bug #26995
* javax/naming/directory/BasicAttribute.java,
* javax/naming/directory/BasicAttributes.java:
(readObject): New deserialization method.
(writeObject): New serialization method.
2006-04-06 Wolfgang Baer <WBaer@gmx.de>
* javax/xml/validation/SchemaFactory.java: Corrected since tag.
(getErrorHandler): Made method abstract.
(setErrorHanlder): Likewise.
* gnu/xml/validation/relaxng/RELAXNGSchemaFactory.java
(getErrorHandler): Implement abstract method from superclass.
(setErrorHandler): Likewise.
(errorHandler): New field.
* gnu/xml/validation/xmlschema/XMLSchemaSchemaFactory.java:
(getErrorHandler): Implement abstract method from superclass.
(setErrorHandler): Likewise.
(errorHandler): New field.
* javax/xml/XMLConstants.java: Corrected since tag.
(XMLConstants): Added private constructor.
* javax/xml/datatype/Duration.java: Corrected since tag.
(multiply): Made method abstract.
* javax/xml/datatype/DatatypeConstants.java: Corrected since tag.
(DatatypeConstants): Added private constructor.
* javax/xml/xpath/XPathConstants.java: Corrected since tag.
(XPathConstants): Added private constructor.
2006-04-05 Tom Tromey <tromey@redhat.com>
* javax/security/auth/kerberos/ServicePermission.java: Now final.
2006-04-05 Tom Tromey <tromey@redhat.com>
PR libgcj/26625:
* lib/Makefile.am (compile-classes): Touch the output file.
2006-04-05 Roman Kennke <kennke@aicas.com>
* javax/swing/AbstractButton.java
(AccessibleAbstractButton.getAccessibleStateSet): Removed handling
of the focused state. This is already done in AccessibleAWTComponent.
2006-04-05 Roman Kennke <kennke@aicas.com>
* javax/swing/JComponent.java
(accessibleContext): Fixed API doc for this field.
(AccessibleJComponent.AccessibleFocusHandler): Fixed API docs.
(AccessibleJComponent.AccessibleFocusHandler.focusGained):
Implemented and added API docs.
(AccessibleJComponent.AccessibleFocusHandler.focusLost):
Implemented and added API docs.
(AccessibleJComponent.AccessibleContainerHandler): Fixed API docs.
(AccessibleJComponent.AccessibleContainerHandler.componentAdded):
Implemented and added API docs.
(AccessibleJComponent.AccessibleContainerHandler.componentRemoved):
Implemented and added API docs.
(AccessibleJComponent.accessibleContainerHandler): Added API docs.
(AccessibleJComponent.accessibleFocusHandler): Added API docs.
(AccessibleJComponent.addPropertyChangeListener): Added API docs.
(AccessibleJComponent.removePropertyChangeListener): Added API docs.
(AccessibleJComponent.getAccessibleStateSet): Simply return
super here. Added comment about this.
2006-04-05 Roman Kennke <kennke@aicas.com>
* javax/swing/JComponent.java
(AccessibleJComponent.addPropertyChangeListener): Install
ContainerHandler and FocusHandler here.
(AccessibleJComponent.removePropertyChangeListener): Uninstall
ContainerHandler and FocusHandler here.
(AccessibleJComponent.getAccessibleChildrenCount): Replaced
by super.getAccessibleChildrenCount().
(AccessibleJComponent.getAccessibleChild): Replaced
by super.getAccessibleChild().
(AccessibleJComponent.getAccessibleStateSet): Implemented by
adding OPAQUE to the supported states.
(AccessibleJComponent.getAccessibleName): Added titled border
and label fallbacks.
(AccessibleJComponent.getAccessibleDescription): Added tooltip
and label fallbacks.
(AccessibleJComponent.getAccessibleRole): Removed TODO.
(AccessibleJComponent.getAccessibleKeyBinding): Added comment
explaining why return null seems correct here.
* javax/swing/JLabel.java
(LABEL_PROPERTY): New constant.
(setLabelFor): Store label in labeled component's client properties
for the AccessibleJComponent to read.
2006-04-05 Tom Tromey <tromey@redhat.com>
* java/util/zip/ZipFile.java (available): Defer to super if
entry's size is unknown.
2006-04-05 Tom Tromey <tromey@redhat.com>
* java/net/MimeTypeMapper.java (MimeTypeMapper): Look for system
property with mime.types name.
* gnu/classpath/SystemProperties.java: Set
gnu.classpath.mime.types.file if not already set.
* java/net/URLConnection.java (defaultFactory): New field.
(guessContentTypeFromStream): Mark as unimplemented.
(getContentHandler): Updated with libgcj's implementation.
* gnu/java/net/DefaultContentHandlerFactory.java: New file,
from libgcj.
2006-04-05 Bryce McKinlay <mckinlay@redhat.com>
PR classpath/27028
PR classpath/24752
* java/util/AbstractList.java (hasNext): Don't throw
ConcurrentModificationException. Update Javadoc.
(hasPrevious): Likewise.
(nextIndex): Likewise.
(previousIndex): Likewise.
* java/util/HashMap.java (hasNext): Likewise.
* java/util/Hashtable.java (hasNext): Likewise.
* java/util/IdentityHashMap.java (hasNext): Likewise.
* java/util/LinkedHashMap.java (hasNext): Likewise.
* java/util/LinkedList.java (nextIndex): Likewise.
(previousIndex): Likewise.
(hasNext): Likewise.
(hasPrevious): Likewise.
* java/util/TreeMap.java (hasNext): Likewise.
* java/util/WeakHashMap.java (hasNext): Likewise.
2006-04-05 Roman Kennke <kennke@aicas.com>
* javax/swing/AbstractButton.java
(AccessibleAbstractButton.getAccessibleStateSet): Implemented stub.
(AccessibleAbstractButton.doAccessibleAction): Implemented stub.
(AccessibleAbstractButton.getAccessibleAction): Implemented stub.
(AccessibleAbstractButton.getAccessibleActionCount): Implemented stub.
(AccessibleAbstractButton.getAccessibleActionDescription):
Implemented stub.
(AccessibleAbstractButton.getAccessibleText): Implemented stub.
(AccessibleAbstractButton.getAccessibleAction): Implemented stub.
(AccessibleAbstractButton.getCurrentAccessibleValue): Implemented stub.
(AccessibleAbstractButton.setCurrentAccessibleValue): Implemented stub.
(AccessibleAbstractButton.getMinimumAccessibleValue): Implemented stub.
(AccessibleAbstractButton.getMaximumAccessibleValue): Implemented stub.
2006-04-05 Roman Kennke <kennke@aicas.com>
* javax/swing/JComboBox.java
(selectWithKeyChar): Implemented stubbed method.
2006-04-05 Roman Kennke <kennke@aicas.com>
* javax/swing/LookAndFeel.java
(installProperty): New method. Allows primitive typed properties
to be handled like UIResources.
* javax/swing/AbstractButton.java
(clientBorderPaintedSet): New field.
(clientRolloverEnabledSet): New field.
(clientIconTextGapSet): New field.
(clientContentAreaFilledSet): New field.
(setRolloverEnabled): Set the client field to true.
(setBorderPainted): Likewise.
(setIconTextGap): Likewise.
(setContentAreaFilled): Likewise.
(setUIProperty): New helper method.
* javax/swing/JComponent.java
(clientOpaqueSet): New field.
(clientAutoscrollsSet): New field.
(setAutoscrolls): Set the client field to true.
(setOpaque): Likewise.
(setUIProperty): New helper method.
* javax/swing/JDesktopPane.java
(clientDragModeSet): New field.
(setDragMode): Set the client field to true.
(setUIProperty): New helper method.
* javax/swing/JSplitPane.java
(clientDividerSizeSet): New field.
(clientOneTouchExpandableSet): New field.
(setDividerSize): Set the client field to true.
(setOneTouchExpandable): Likewise.
(setUIProperty): New helper method.
* javax/swing/JTable.java
(clientRowHeightSet): New field.
(setRowHeight): Set the client field to true.
(setUIProperty): New helper method.
* javax/swing/JTree.java
(clientRowHeightSet): New field.
(clientScrollsOnExpandSet): New field.
(clientShowsRootHandlesSet): New field.
(setRowHeight): Set the client field to true.
(setShowsRootHandles): Likewise.
(setScrollsOnExpand): Likewise.
(setUIProperty): New helper method.
2006-04-05 Roman Kennke <kennke@aicas.com>
* java/awt/Component.java
(getFont): Don't request the font from the peer's graphics. The
graphics should instead get the font from the Component, which might
result in a loop.
(getFocusCycleAncestor): Don't special case Window.
(nextFocus): Moved implementation from the DefaultKeyboardFocusManager
to here. Correctly determine the focus cycle root.
(transferFocusBackward): Likewise.
(transferFocusUpCycle): Likewise.
* java/awt/Container.java
(transferFocusDownCycle): Moved implementation from
DefaultKeyboardFocusManager to here.
* java/awt/DefaultKeyboardFocusManager.java
(focusPreviousComponent): Moved implementation to
Component.transferFocusBackward().
(focusNextComponent): Moved implementation to
Component.nextFocus().
(upFocusCycle): Moved implementation to
Component.transferFocusUpCycle().
(downFocusCycle): Moved implementation to
Container.transferFocusDownCycle().
2006-04-05 David Gilbert <david.gilbert@object-refinery.com>
* java/awt/image/ComponentSampleModel.java
(equals): Implemented,
(hashCode): Likewise.
2006-04-05 Jeroen Frijters <jeroen@frijters.net>
* java/lang/Class.java
(cast): New method.
2006-04-05 David Gilbert <david.gilbert@object-refinery.com>
* java/awt/image/ComponentSampleModel.java
(getBankIndices): Return a copy of the array, not a reference to the
original,
(getBandOffsets): Likewise.
2006-04-05 David Gilbert <david.gilbert@object-refinery.com>
* java/awt/image/ComponentSampleModel.java: Added API docs all over.
2006-04-04 Tom Tromey <tromey@redhat.com>
* java/net/MimeTypeMapper.java (MimeTypeMapper): Fixed indices.
2006-04-04 Tom Tromey <tromey@redhat.com>
* java/net/MimeTypeMapper.java (mime_types): No longer static.
(MimeTypeMapper): Initialize.
(fillFromFile): New method.
(main): New method.
(mime_strings): Updated.
2006-04-04 Tom Tromey <tromey@redhat.com>
* lib/gen-classlist.sh.in: Correct handle generated files.
2006-04-04 Ito Kazumitsu <kaz@maczuka.gcd.org>
* gnu/regexp/CharIndexed.java(setAnchor): New method.
* gnu/regexp/CharIndexedInputStream.java(setAnchor): New method.
* gnu/regexp/CharIndexedCharSequence.java: New file.
* gnu/regexp/CharIndexedCharArray.java: Rewritten as an extention of
gnu.regexp.CharIndexedCharSequence.
* gnu/regexp/CharIndexedString.java: Likewise.
* gnu/regexp/CharIndexedStringBuffer.java: Likewise.
* gnu/regexp/RE.java(makeCharIndexed): Make a new CharIndexed
using CharIndexedCharSequence. Use setAnchor when the input
object is already a CharIndexed.
* java/util/regex/Matcher.java(inputCharIndexed): New field
to be used as a parameter of the RE#getMatch.
2006-04-04 David Gilbert <david.gilbert@object-refinery.com>
* java/awt/image/SampleModel.java: Reformatted.
2006-04-04 David Gilbert <david.gilbert@object-refinery.com>
* java/awt/image/ComponentSampleModel.java
(ComponentSampleModel(int, int, int, int, int[])): Added API
documentation,
(ComponentSampleModel(int, int, int, int, int[], int[]): Throw
IllegalArgumentException for DataBuffer.TYPE_UNDEFINED, take copies
of the bandOffsets and bankIndices arguments, added API documentation,
* java/awt/image/SampleModel.java
(SampleModel(int, int, int, int): Throw IllegalArgumentException for
unrecognised dataTypes, w * h exceeds Integer.MAX_VALUE, and numBands
less than or equal to zero, added API documentation.
2006-04-04 Lillian Angel <langel@redhat.com>
* java/util/zip/ZipFile.java
(getInputStream): Fixed to return size of ZipEntry
minus the total bytes read. This guarantees that the
right value is returned even if some bytes have already
been read.
2006-04-04 Thomas Fitzsimmons <fitzsim@redhat.com>
* javax/imageio/plugins/jpeg/JPEGImageWriteParam.java (messages):
Remove static modifier.
2006-04-04 David Gilbert <david.gilbert@object-refinery.com>
* java/awt/image/ComponentSampleModel.java: Reformatted.
2006-04-03 Thomas Fitzsimmons <fitzsim@redhat.com>
* javax/imageio/plugins/jpeg/JPEGImageWriteParam.java: New file.
* javax/imageio/plugins/jpeg/JPEGImageReadParam.java: Add
retrieval instructions to javadoc header.
* javax/imageio/ImageWriteParam.java: Fix javadoc for
compressionType field.
* lib/Makefile.am (propertydirs): Add javax directory.
(propertyfiles): Likewise.
* resource/javax/imageio/plugins/jpeg/MessagesBundle.properties:
New file.
2006-04-03 Tom Tromey <tromey@redhat.com>
PR classpath/26971:
* javax/naming/directory/BasicAttribute.java: Added missing @since.
(BasicAttributeEnumeration.where): Initialize to 0.
(BasicAttributeEnumeration.nextElement): Post-increment 'where'.
2006-04-03 Lillian Angel <langel@redhat.com>
PR classpath/24596 and PR classpath/26930
* java/util/zip/ZipFile.java
(getInputStream): Override available function for
InflaterInputStream instance.
2006-04-03 Thomas Fitzsimmons <fitzsim@redhat.com>
* javax/imageio/plugins/jpeg/JPEGImageReadParam.java: New file.
2006-04-03 Tom Tromey <tromey@redhat.com>
* javax/security/auth/kerberos/ServicePermission.java: New file.
* javax/security/auth/kerberos/DelegationPermission.java: New file.
* javax/security/auth/kerberos/KerberosKey.java: New file.
* javax/security/auth/kerberos/KeyImpl.java: New file.
* javax/security/auth/kerberos/KerberosTicket.java: New file.
* javax/security/auth/kerberos/KerberosPrincipal.java: New file.
2006-04-03 Sven de Marothy <sven@physto.se>
* gnu/java/awt/peer/gtk/GtkClipboard.java: Add support for
non-GtkImage images.
2006-04-03 Mark Wielaard <mark@klomp.org>
* lib/gen-classlist.sh.in: Use classes.tmp, not classes.2
as temporary file name.
2006-04-03 Dalibor Topic <robilad@kaffe.org>
* INSTALL: Documented --with-glibj-zip option.
2006-04-03 Dalibor Topic <robilad@kaffe.org>
Fixed all pscan warnings.
* native/jni/classpath/jcl.c (JCL_ThrowException),
native/jni/classpath/jcl.h (DBG),
native/target/generic/target_generic.h (TARGET_NATIVE_LAST_ERROR_STRING_FORMAT),
native/target/generic/target_generic_misc.h (TARGET_NATIVE_MISC_FORMAT_STRING0):
Use "%s" format in fprintf and snprintf explicitely when printing a single
string to prevent format string exploits.
* native/jni/java-net/javanet.h (DBG): Removed duplicate
definition. Included jcl.h instead.
2006-04-03 Raif S. Naffah <raif@swiftdsl.com.au>
* tools/gnu/classpath/tools/jarsigner/Main.java: Removed unused imports.
(provider): Made it protected.
(providerInstalled): New field.
(Main): Made it a 0-arguments constructor.
Removed throws clasue.
(main): Removed throws clause.
Call processArgs(args) after constructing instance.
Call teardown() before existing.
(processArgs): Added javadoc.
Reduced to throws Exception.
(start): Likewise.
(teardown): New method.
(setupCommonParams): Added javadoc.
Install designated provider if not already installed.
(installNewProvider): New method.
(setupSigningParams): Added javadoc.
Instantiate the KeyStore using type only.
* tools/gnu/classpath/tools/jarsigner/JarSigner.java:
Removed unused imports.
(start): Reduced to throws Exception.
* tools/gnu/classpath/tools/jarsigner/JarVerifier.java (start): Likewise.
* tools/gnu/classpath/tools/jarsigner/HashUtils.java:
Re-organized imports.
* gnu/java/security/key/KeyPairGeneratorFactory.java (getInstance):
Test ignoring case.
(getNames): Add "dsa" as an algorithm provided by this Factory.
(makeInstance): Construct IllegalArgumentException with 2 arguments.
2006-04-03 Roman Kennke <kennke@aicas.com>
* native/jni/gtk-peer/gnu_java_awt_peer_gtk_GdkFontPeer.c
(Java_gnu_java_awt_peer_gtk_GdkFontPeer_getGlyphVector):
Replaced g_free() with pango_item_free() to avoid problems
with the allocator.
2006-04-03 Rafael H. Schloming <rafaels@redhat.com>
Fixes bug #26668
* java/util/logging/Level.java (parse): Document.
* java/util/logging/LogManager.java (rootLogger): Removed.
(LogManager): Just set loggers to new HashMap.
(getLogManager): Make synchronized. Create and init LogManager if it
doesn't exist yet.
(static): Removed block.
(MANAGER_PROPERTY): New private final string.
(makeLogManager): Use new property string, move warning to
createInstance() method.
(CONFIG_PROPERTY): New private final string.
(initLogManager): New method.
(addLogger): Use Logger.root, not rootLogger.
(findAncestor): Likewise.
(readConfiguration): Move warning to createInstance() method.
Add handlers directly to Logger.root. Warn about bad level values.
(getClassProperty): Use new locateClass() method.
(getInstanceProperty): Only catch specific newInstance Errors.
(createInstance): Make private and takes a string to use in warning
messages. Use new locateClass() method and generate appropriate
warning message.
(warn): New methods.
(locateClass): Locates a class through the context class loader and
system class loader as backup.
* java/util/logging/Logger.java (root): New static final field.
(Logger): Set parent to root.
(setParent): Directly check root field.
2006-04-02 Andrew John Hughes <gnu_andrew@member.fsf.org>
* java/util/Collections.java:
(binarySearch(List, T)): Fixed signature.
(unmodifiableList(List)): Likewise.
(UnmodifiableList(List)): Fixed constructor.
(UnmodifiableRandomAccessList(List)): Likewise.
(unmodifiableMap(Map)): Fixed signature.
(UnmodifiableMap(Map)): Fixed constructor.
(unmodifiableSortedMap(Map)): Fixed signature.
(UnmodifiableSortedMap(Map)): Fixed constructor.
2006-04-02 Andrew John Hughes <gnu_andrew@member.fsf.org>
* java/io/ObjectOutputStream.java:
(writeObject(Object)): Added enum support.
(writeClassDescriptor(ObjectStreamClass)): Likewise.
* java/io/ObjectStreamClass.java:
(isEnum()): New package-private method.
(setFlags(Class)): Added enum support.
* java/io/ObjectStreamConstants.java:
(SC_ENUM): Added.
2006-04-02 Robert Schuster <robertschuster@fsfe.org>
* javax/swing/text/Segment.java:
(setPosition): Make exception message more verbose.
* javax/swing/text/WrappedPlainView.java:
(insertUpdate): Removed unneeded repaint call.
(changeUpdate): Dito.
(removeUpdate): Dito.
(WrappedLine.determineNumLines): Do not return numLines, break
from loop if no new break point has been calculated.
(WrappedLine.updateDamage): Rewritten.
(WrappedLine.insertUpdate): Removed unneeded update code.
(WrappedLine.removeUpdate): Removed unneeded update code, added
comment.
2006-04-02 Dalibor Topic <robilad@kaffe.org>
* configure.ac (with-glibj-zip): Added new option.
* examples/Makefile.am,
lib/Makefile.am,
tools/Makefile.am: Adapted build classpath to use glibj.zip,
in addition to classes in lib directory.
2006-04-02 Audrius Meskauskas <AudriusA@Bioinformatics.org>
* tools/gnu/classpath/tools/giop/GRMIC.java,
tools/gnu/classpath/tools/giop/IorParser.java,
tools/gnu/classpath/tools/giop/grmic/CompilationError.java,
tools/gnu/classpath/tools/giop/grmic/Generator.java,
tools/gnu/classpath/tools/giop/grmic/GiopIo.java,
tools/gnu/classpath/tools/giop/grmic/GiopRmicCompiler.java,
tools/gnu/classpath/tools/giop/grmic/HashFinder.java,
tools/gnu/classpath/tools/giop/grmic/MethodGenerator.java,
tools/gnu/classpath/tools/rmi/RMIC.java,
tools/gnu/classpath/tools/rmi/rmic/RmiMethodGenerator.java,
tools/gnu/classpath/tools/rmi/rmic/RmicCompiler.java,
tools/gnu/classpath/tools/rmi/rmic/WrapUnWrapper.java: Removed
linking exception from the licensing header.
* tools/gnu/classpath/tools/rmi/rmid/ActivationSystemImpl_Stub.java:
Added licensing header.
2006-04-02 Mark Wielaard <mark@klomp.org>
* tools/Makefile.am (bin_SCRIPTS): Renamed to jarsigner.sh.
(jarsigner): Removed.
2006-04-02 Dalibor Topic <robilad@kaffe.org>
* configure.ac: don't check for isnan function.
* native/fdlibm/fdlibm.h: Always use the isnan macro.
2006-04-02 Raif S. Naffah <raif@swiftdsl.com.au>
* configure.ac: Added tools/jarsigner.sh to AC_CONFIG_FILES.
* tools/Makefile.am: Generate jarsigner shell script.
* tools/jarsigner.sh.in: New template.
* tools/.cvsignore: Added jarsigner.sh.
2006-04-02 Raif S. Naffah <raif@swiftdsl.com.au>
* tools/gnu/classpath/tools/jarsigner/HashUtils.java: Use GPL.
* tools/gnu/classpath/tools/jarsigner/SFHelper.java: Likewise.
* tools/gnu/classpath/tools/jarsigner/JarVerifier.java: Likewise.
* tools/gnu/classpath/tools/jarsigner/JarSigner.java: Likewise.
* tools/gnu/classpath/tools/jarsigner/Main.java: Likewise.
Re-organised imports.
2006-04-01 Bernhard Rosenkraenzer <bero@arklinux.org>
PR classpath/25924:
* java/awt/image/DirectColorModel.java (extractAndNormalizeSample):
Handle case where alpha==0.
2006-04-02 Robert Schuster <robertschuster@fsfe.org>
PR #26676
* javax/swing/text/Utilities.java:
(getTabbedTextOffset): Added check to decrement pos not below zero,
changed '>' comparison to '>='.
* javax/swing/text/WrappedPlainView.java:
(lineHeight): New field.
(calculateBreakPosition): Throw InternalError in catch block, removed
unneeded brackets, use specific version of
Utilities.getTabbedTextOffset.
(paint): Set various properties neccessary for drawing.
(WrappedLine.paint): Removed code to set field of outer class.
(WrappedLine.modelToView): Removed unneeded expression from
if-statement.
(WrappedLine.viewToModel): Initialize end with endOffset - 1, removed
-1 from return statement, copy only a subset into the Segment, removed
special handling of mark value - just return it, simplified
incrementation of currLineStart.
(WrappedLine.insertUpdate): Recalculate numLines, report preference
change to parent view.
(WrappedLine.removeUpdate): Dito.
2006-04-02 Robert Schuster <robertschuster@fsfe.org>
* javax/swing/text/Segment.java:
(toString): Return empty string when array is null.
2006-04-02 Robert Schuster <robertschuster@fsfe.org>
* javax/swing/plaf/basic/BasicTextUI.java:
(damageRange): Use SwingUtilities.computeUnion to avoid
unneccessary Rectangle instantiation.
2006-04-01 Tom Tromey <tromey@redhat.com>
* java/security/cert/Certificate.java (serialVersionUID): Fixed.
2006-04-01 Robert Schuster <robertschuster@fsfe.org>
* javax/swing/text/CompositeView.java: Fixed copyright header.
* javax/swing/text/BoxView.java: Fixed copyright header.
* javax/swing/text/WrappedPlainView.java: Fixed copyright header.
* javax/swing/text/Utilities.java: Fixed copyright header.
2006-04-01 Robert Schuster <robertschuster@fsfe.org>
* javax/swing/text/CompositeView.java:
(modelToView): Throw BadLocationException when no child
view can be found, restructed to throw exception as early
as possible.
(viewToModel): Use mutable allocation as argument for viewToModel
call on child view.
* javax/swing/text/BoxView.java:
(getViewAtPoint): Call setBounds() r before method returns with
suitable child view.
* javax/swing/text/Utilities.java:
(getPositionBelow): Added try-catch-block around modelToView call,
added method return when BadLocationException was thrown.
* javax/swing/text/WrappedPlainView.java:
(WrappedLine.viewToModel): Changed '<=' to '<' in if-expression,
added note about meaning of rect.x and rect.width, removed unneeded
checks, added code to not return the last possible document offset.
2006-04-01 Robert Schuster <robertschuster@fsfe.org>
* javax/swing/text/WrappedPlainView.java:
(WrappedLine.viewToModel): Change < to <= in if-statement,
removed addition of currLineStart to return value.
* javax/swing/text/BoxView.java:
(getViewAtPoint): Use copy instead of r for method call
which modifies the second argument.
2006-04-01 Mark Wielaard <mark@klomp.org>
Fixes PR26973
* java/util/jar/Attributes.java: Fully qualify java.util.Map.
2006-03-31 Tom Tromey <tromey@redhat.com>
* lib/split-for-gcj.sh: Updated for multi-field format.
* lib/Makefile.am (CLEANFILES): Added classes.2.
* lib/gen-classlist.sh.in (GCJ): Removed. Create classes.1 and
classes.2 using multiple fields.
2006-03-31 Audrius Meskauskas <AudriusA@Bioinformatics.org>
* javax/swing/JTable.java (columnSelectionChanged):
Removed print statement.
* javax/swing/DefaultListSelectionModel.java
(addSelectionInterval, removeSelectionInterval):
Fire the difference between selection. (setLeadSelectionIndex):
Fire the difference and mark current and previous lead
selection indexes for repaint.
2006-03-31 Thomas Fitzsimmons <fitzsim@redhat.com>
* javax/imageio/plugins/jpeg/JPEGHuffmanTable.java: Eliminate
unnecessary copying.
* javax/imageio/plugins/jpeg/JPEGQTable.java: Likewise.
2006-03-31 Lillian Angel <langel@redhat.com>
* java/awt/Component.java
(translateEvent): oldKey should be the value of the
key char.
2006-03-31 Audrius Meskauskas <AudriusA@Bioinformatics.org>
* javax/swing/JTable.java (columnSelectionChanged):
Treat second repaint parameter as width.
2006-03-31 Lillian Angel <langel@redhat.com>
PR classpath/26924
* gnu/java/awt/peer/gtk/GtkCanvasPeer.java
(realize): New native function.
* include/gnu_java_awt_peer_gtk_GtkCanvasPeer.h:
Added new function declaration.
* native/jni/gtk-peer/gnu_java_awt_peer_gtk_GtkCanvasPeer.c
(realize): New function.
2006-03-31 Robert Schuster <robertschuster@fsfe.org>
* javax/swing/text/GapContent.java:
(replace): Move all Position instances from gap's end to
it's start before increasing the gap start.
* javax/swing/plaf/basic/BasicTextAreaUI.java:
(propertyChanged): Update the view only instead of
indicating a document change.
2006-03-31 Roman Kennke <kennke@aicas.com>
* javax/swing/JTextField.java
(fireActionPerformed): Put the textfields text in the action
instead of the action name.
2006-04-01 Raif S. Naffah <raif@swiftdsl.com.au>
* tools/gnu/classpath/tools/jarsigner/Main.java (setupCommonParams):
Check for null jar-file argument.
(setupSigningParams): Check for null alias argument.
2006-03-31 Roman Kennke <kennke@aicas.com>
* javax/swing/JComponent.java
(paintChildren): Split up in two cases, depending on the
optimizedDrawingEnabled flag.
(paintChildrenWithOverlap): New method. Paints children when
not optimizedDrawingEnabled. This implements better painting
algorithm for overlapping components, so that the painted
regions are minimized.
(paintChildrenOptimized): New method. Paints children when
when optimizedDrawingEnabled. This implements a painting
algorithm that is optimized for the case when all children
are guaranteed to be tiled.
2006-03-31 Raif S. Naffah <raif@swiftdsl.com.au>
* tools/gnu/classpath/tools/jarsigner/SFHelper.java (updateEntry): Use
Attributes.putValue(String,String).
(finishSigning): Likewise.
* gnu/java/util/jar/JarUtils.java (MANIFEST_VERSION): New constant.
(SIGNATURE_VERSION): Likewise.
(readSFManifest): Use local string constant.
(readMainSection): Likewise.
(readVersionInfo): Likewise.
* java/util/jar/Attributes.java (MANIFEST_VERSION):
Redefined using JarUtils constant.
(SIGNATURE_VERSION): Likewise.
(putValue(Name,String)): Made it private.
2006-03-31 Audrius Meskauskas <AudriusA@Bioinformatics.org>
* javax/swing/DefaultListSelectionModel.java (fireDifference):
New method. (clearSelection): Rewritten. (setSelectionInterval):
Fire the difference between current and new selection.
* javax/swing/JTable.java (columnSelectionChanged, valueChanged):
Only repaint the region, where selection has been changed.
* javax/swing/plaf/basic/BasicTableUI.java
(TableAction.actionPerformed): Do not change the column selection
when only row selection change is wanted (and in reverse) and
do not call the repaint() here.
2006-03-31 David Gilbert <david.gilbert@object-refinery.com>
Fixes bug #26951
* javax/swing/DefaultComboBoxModel.java
(DefaultComboBoxModel(Vector)): Call getSize() instead of
vector.size(),
(addElement): Call list.addElement() rather than list.add(), and only
update selected item if it is currently null,
(removeElementAt): Update selected item, then remove the element.
2006-03-31 David Gilbert <david.gilbert@object-refinery.com>
Fixes bug #26955
* java/awt/geom/Point2D.java
(distanceSq(double, double)): Fixed order of arguments,
(distanceSq(Point2D)): Likewise,
(distance(double, double)): Likewise,
(distance(Point2D)): Likewise.
2006-03-30 Thomas Fitzsimmons <fitzsim@redhat.com>
* javax/imageio/plugins/jpeg/JPEGQTable.java: New file.
* javax/imageio/plugins/jpeg/JPEGHuffmanTable.java
(ACChrominanceLengths, ACChrominanceValues, ACLuminanceLengths,
ACLuminanceValues, DCChrominanceLengths, DCChrominanceValues,
DCLuminanceLengths, DCLuminanceValues): Remove fields.
2006-03-30 Audrius Meskauskas <AudriusA@Bioinformatics.org>
* javax.swing.JTable (constructor): Initialize column
model column margin and table row margin before setting the
table column model. (initialiseLocalVars): Do not call
setIntercellSpacing.
2006-03-30 Chris Burdess <dog@gnu.org>
* javax/xml/datatype/DatatypeFactory.java (newDurationDayTime): Fix
method signature.
* javax/xml/validation/SchemaFactoryLoader.java: New file.
2006-03-30 Mark Wielaard <mark@klomp.org>
PR 26848
* java/awt/Window.java (dispatchEventImpl): On ComponentEvents
adjust bounds. On resize invalidate and validate container.
Always pass on ComponentEvents to Container super class.
* gnu/java/awt/peer/gtk/GtkFramePeer.java (setBounds): Adjust for
menuBar and pass to GtkWindowPeer super class.
(postConfigureEvent): Adjust menu bar width. Adjust y and height
bounds and pass to GtkWindowPeer super class.
* gnu/java/awt/peer/gtk/GtkWindowPeer.java (x, y, width, height):
New fields for local bounds.
(getX, getY): New methods.
(getWidth): Don't call into awtComponent.
(getHeight): Likewise.
(create): Cache local bounds.
(setLocation): Documented, made protected and just call
nativeSetLocation.
(setLocationUnlocked): Removed unused method.
(setBoundsUnlocked): Likewise.
(setBounds): Check whether bounds actually changed and cache local
bounds.
(setSize): Documented and made protected.
(setResizable): Documented and cache local bounds.
(postConfigureEvent): Update local bounds. Don't call awtComponent
directly but post ComponentEvents.
(show): Cache local bounds.
(getBounds): Override to return cached bounds.
2006-03-30 Lillian Angel <langel@redhat.com>
* gnu/java/awt/peer/gtk/GdkGraphics.java
(drawImage): Added check to prevent NPE.
(drawImage): Likewise.
(drawImage): Likewise.
* java/awt/Choice.java
(dispatchEventImpl): New function. selectedIndex was
not being updated properly otherwise.
2006-03-30 Roman Kennke <kennke@aicas.com>
* javax/swing/JTabbedPane.java
(removeTabAt): Removed debug code.
2006-03-30 Roman Kennke <kennke@aicas.com>
PR 26045
* javax/swing/plaf/basic/BasicTextUI.java
(installKeyboardActions): Simply call getKeymap() and install this.
(createKeymap): Reimplemented to fetch a keymap from the UIManager.
2006-03-30 Roman Kennke <kennke@aicas.com>
* javax/swing/JTabbedPane.java
(removeTabAt): Adjust selection correctly when removing a tab
before the selected tab. Also remove the component from the
container, not only the tab object. Repaint and revalidate the
component after the removal.
(removeAll): Set selection to -1 before removing the tabs.
2006-03-29 Andrew John Hughes <gnu_andrew@member.fsf.org>
* java/io/ObjectInputStream.java:
(parseContent(byte)): Added enum support.
* java/io/ObjectStreamConstants.java:
(TC_ENUM): Added.
(TC_MAX): Changed to new maximum, TC_ENUM.
2006-03-29 Lillian Angel <langel@redhat.com>
Partial fix for bug #26929
* gnu/java/awt/peer/gtk/GtkPanelPeer.java
(updateComponent): Removed. We want to clear the panel
before painting.
* native/jni/gtk-peer/gnu_java_awt_peer_gtk_GdkGraphics.c
(Java_gnu_java_awt_peer_gtk_GdkGraphics_clearRect): Fixed typo.
Should set the background to the saved background color.
2006-03-29 Mark Wielaard <mark@klomp.org>
Partial fix for bug #26848 (pack).
* gnu/java/awt/peer/gtk/GtkComponentPeer.java (setVisible):
Always show instances of Window.
2006-03-29 David Gilbert <david.gilbert@object-refinery.com>
* javax/swing/JSlider.java
(setPaintLabels): Only create standard labels if labelTable is null,
* javax/swing/plaf/basic/BasicSliderUI.java
(PropertyChangeHandler.propertyChange): Recalculate geometry for
"paintTicks" property change,
(calculateThumbSize): Updated API docs,
(calculateContentRect): Likewise,
(calculateTrackBuffer): Take into account the lowest and highest
labels when calculating buffer space,
(calculateTrackRect): Include labels, if visible, in the calculation of
the trackRect position,
(calculateTickRect): Height is zero if ticks are not painted,
(calculateLabelRect): Use max dimensions of actual labels,
(getWidthOfHighValueLabel): Use preferred size,
(getWidthOfLowValueLabel): Likewise,
(getHeightOfHighValueLabel): Likewise,
(getHeightOfLowValueLabel): Likewise,
(drawInverted): Just return slider setting,
(getHighestValueLabel): Updated API docs,
(paintTicks): Removed redundant (and buggy) code, replaced with calls
to xPositionForValue() and yPositionForValue(),
(paintHorizontalLabel): Removed full qualification of class name,
(paintVerticalLabel): Likewise,
(xPositionForValue): Reimplemented,
(yPositionForValue): Reimplemented,
* javax/swing/plaf/metal/MetalSliderUI.java
(paintTrack): Made track one pixel longer.
2006-03-29 Tom Tromey <tromey@redhat.com>
PR gcc/26901:
* tools/Makefile.am (JCOMPILER): Added encoding options.
* examples/Makefile.am (JCOMPILER): Added encoding options.
2006-03-29 Gary Benson <gbenson@redhat.com>
Partial fix for PR classpath/24895
* java/io/FilePermission.java (implies): Canonicalize paths.
2006-03-29 Robert Schuster <robertschuster@fsfe.org>
PR 26888
* javax/swing/text/GapContent.java:
(replace): Added call to resetMarksAtZero.
2006-03-29 Roman Kennke <kennke@aicas.com>
PR 23527
* javax/swing/plaf/basic/BasicMenuItemUI.java
(cachedRect): New field.
(BasicMenuItemUI): Initialize cachedRect field.
(getPreferredMenuItemSize): Use layoutMenuItem() helper method
to determine layout. Store maximum accelerator and text width
in client properties of parent to allow correct alignment
of accelerators among menu items of one menu.
(paintMenuItem): Outsourced menu item layout into layoutMenuItem
method. Align accelerators according to the values calculated
in getPreferredMenuItemSize.
(getAcceleratorString) New helper method.
(layoutMenuItem): New helper method.
2006-03-29 Audrius Meskauskas <AudriusA@Bioinformatics.org>
* gnu/java/rmi/activation/ActivationSystemTransient.java: Rewritten.
* gnu/java/rmi/activation/BidiTable.java: Rewritten.
* gnu/java/rmi/dgc/LeaseRenewingTask.java (constructor, sheduleLeases):
Avoid NPEs.
* gnu/java/rmi/server/ActivatableServerRef.java (getRefClass,
readExternal, writeExternal): New methods.
* gnu/java/rmi/server/UnicastRef.java (invokeCommon): Splitten into
two stages, invokeCommon(Remote, ...) and
invokeCommen(UnicastConnection, ...).
* java/rmi/server/RemoteObject.java (readObject, writeObject): Expect
also the ActivatableRef. toString(): Documented.
* gnu/java/rmi/server/ActivatableRef.java,
tools/gnu/classpath/tools/rmi/Persistent.java,
tools/gnu/classpath/tools/rmi/PersistentBidiHashTable.java,
tools/gnu/classpath/tools/rmi/PersistentHashTable.java,
tools/gnu/classpath/tools/rmi/REGISTRY.java,
tools/gnu/classpath/tools/rmi/REGISTRY.txt,
tools/gnu/classpath/tools/rmi/RMID.java,
tools/gnu/classpath/tools/rmi/RMID.txt,
tools/gnu/classpath/tools/rmi/registry/RegistryImpl.java,
tools/gnu/classpath/tools/rmi/registry/RegistryImpl_Skel.java,
tools/gnu/classpath/tools/rmi/registry/RegistryImpl_Stub.java,
tools/gnu/classpath/tools/rmi/registry/package.html,
tools/gnu/classpath/tools/rmi/rmid/ActivationSystemImpl.java,
tools/gnu/classpath/tools/rmi/rmid/ActivationSystemImpl_Stub.java:
New files.
* tools/README: Documented.
* NEWS: Added entry about the activation.
2006-03-29 Roman Kennke <kennke@aicas.com>
PR 23527
* javax/swing/plaf/basic/BasicMenuItemUI.java
(viewRect): New field.
(textRect): New field.
(accelRect): New field.
(iconRect): New field.
(arrowIconRect): New field.
(checkIconRect): New field.
(BasicMenuItemUI): Initialize new fields.
(paintMenuItem): Rewritten to correctly layout and paint
the menu item in a more straightforward way. Use cached rectangle
objects for layout.
(paintAccelerator): Pulled inside the paintMenuItem method.
2006-03-29 Audrius Meskauskas <AudriusA@Bioinformatics.org>
* tools/gnu/classpath/tools/rmi/rmic/templates/Stub_12Method.jav:
Do not use initCause with UnexpectedException.
* tools/gnu/classpath/tools/rmi/rmic/templates/Stub_12MethodVoid.jav:
Likewise.
2006-03-29 Mark Wielaard <mark@klomp.org>
* native/jni/gtk-peer/gnu_java_awt_peer_gtk_GtkComponentPeer.c
(setCursorID): Removed unused static variable.
2006-03-29 David Gilbert <david.gilbert@object-refinery.com>
* javax/swing/plaf/basic/BasicSliderUI.java: Reformatted.
2006-03-29 Mark Wielaard <mark@klomp.org>
Fixes bug #26527
* native/jni/gtk-peer/gnu_java_awt_peer_gtk_GtkComponentPeer.c
(gtkWidgetSetCursorUnlocked): Call gdk_flush().
2006-03-28 Roman Kennke <kennke@aicas.com>
* javax/swing/UIManager.java
(installLookAndFeel): Implemented.
(setInstalledLookAndFeels): Implemented.
2006-03-28 Roman Kennke <kennke@aicas.com>
* javax/swing/plaf/metal/MetalButtonUI.java
(update): Paint gradient only when the background color
is not a UIResource and if the button is neither armed nor
pressed and if the button is contentAreaFilled.
2006-03-28 Roman Kennke <kennke@aicas.com>
* javax/swing/JLayeredPane.java
(addImpl): Repaint added component.
2006-03-28 Ito Kazumitsu <kaz@maczuka.gcd.org>
* java/util/regex/Matcher.java: Reverted.
2006-03-28 Roman Kennke <kennke@aicas.com>
* javax/swing/text/AsyncBoxView.java
(setEstimatedMajorSpan): Made method protected.
(getEstimatedMajorSpan): Made method protected.
* javax/swing/text/BoxView.java
(flipEastAndWestAtEnds): Fixed typo.
* javax/swing/text/InternationalFormatter.java
(getActions): Made method protected.
* javax/swing/text/Position.java
(Bias): Made class final.
* javax/swing/text/html/HTML.java
(MEDIA): Made field package private. Not specified.
(NOBR): Made field package private. Not specified.
* javax/swing/text/html/NullView.java
Made class package private.
* javax/swing/text/html/parser/Entity.java
Made class non-serializable as specified.
2006-03-28 Roman Kennke <kennke@aicas.com>
* javax/swing/plaf/metal/MetalButtonUI.java
(update): Don't paint gradient if the background color is
no UIResource. Removed double getModel() call. Don't check for
OceanTheme.
2006-03-28 Roman Kennke <kennke@aicas.com>
* javax/swing/plaf/basic/BasicMenuItemUI.java
(paint): Call paintMenuItem with the selectionBackground as
parameter.
(paintBackground): Fixed the condition and color for the background
painting.
2006-03-28 Roman Kennke <kennke@aicas.com>
* javax/swing/plaf/metal/MetalTabbedPaneUI.java
(tabsOpaque): New field.
(paintLeftTabBorder): Paint some parts only when the tabs are
opaque. Determine the tab background using the paintLeftTabBorder()
helper method.
(paintRightTabBorder): Likewise.
(installDefaults): Fetch tabsOpaque property from the UIDefaults.
2006-03-27 Tom Tromey <tromey@redhat.com>
PR classpath/25189:
* java/lang/Enum.java (valueOf): Ensure that the named field
is an enum constant.
(compareTo): Check class of enum.
2006-03-27 Tom Tromey <tromey@redhat.com>
* java/lang/reflect/ParameterizedType.java: Javadoc fix.
2006-03-27 Tom Tromey <tromey@redhat.com>
* vm/reference/java/lang/reflect/Method.java (METHOD_MODIFIERS):
New constant.
(getModifiersInternal): Renamed from getModifiers.
(getModifiers): New method.
(isBridge): Likewise.
(isSynthetic): Likewise.
(isVarArgs): Likewise.
* vm/reference/java/lang/reflect/Field.java (FIELD_MODIFIERS):
New constant.
(getModifiersInternal): Renamed from getModifiers.
(getModifiers): New method.
(isSynthetic): Likewise.
(isEnumConstant): Likewise.
* vm/reference/java/lang/reflect/Constructor.java
(getModifiersInternal): Renamed from getModifiers.
(getModifiers): New method
(CONSTRUCTOR_MODIFIERS): New constant.
(isSynthetic): New method.
(isVarArgs): Likewise.
* java/lang/reflect/Member.java (isSynthetic): New method.
2006-03-28 Tom Tromey <tromey@redhat.com>
* java/net/Proxy.java (TYPE): Added missing ";".
2006-03-27 Andrew John Hughes <gnu_andrew@member.fsf.org>
* java/math/RoundingMode.java:
Fixed serialization UID.
* java/net/Proxy.java:
(Type): Likewise.
2006-03-27 Andrew John Hughes <gnu_andrew@member.fsf.org>
* java/io/CharArrayWriter.java:
(append(char)): Documented.
(append(CharSequence)): Likewise.
(append(CharSequence,int,int)): Likewise.
2006-03-27 Jeroen Frijters <jeroen@frijters.net>
* vm/reference/java/lang/reflect/Constructor.java
(getTypeParameters): Check return value of getSignature for null.
* vm/reference/java/lang/reflect/Method.java
(getTypeParameters): Check return value of getSignature for null.
2006-03-27 Andrew John Hughes <gnu_andrew@member.fsf.org>
* java/rmi/activation/ActivationGroup_Stub.java:
Made final.
2006-03-27 Tom Tromey <tromey@redhat.com>
* java/io/CharArrayWriter.java (append): New overloads.
2006-03-27 Lillian Angel <langel@redhat.com>
* native/jni/gtk-peer/gnu_java_awt_peer_gtk_GdkGraphics.c
(Java_gnu_java_awt_peer_gtk_GdkGraphics_nativeDispose):
Added check for colormap. Prevents assertion error.
(Java_gnu_java_awt_peer_gtk_GdkGraphics_setFGColor):
Likewise.
(Java_gnu_java_awt_peer_gtk_GdkGraphics_nativeCopyState):
Likewise.
(Java_gnu_java_awt_peer_gtk_GdkGraphics_initState__II):
Likewise.
(Java_gnu_java_awt_peer_gtk_GdkGraphics_initFromImage):
Likewise.
(Java_gnu_java_awt_peer_gtk_GdkGraphics_initStateUnlocked):
Likewise.
2006-03-27 Dalibor Topic <robilad@kaffe.org>
* m4/acinclude.m4 (CLASSPATH_FIND_JAVAC): Use
AC_MSG_ERROR instead of echoing the error message
that no compiler has been found manually.
2006-03-27 Roman Kennke <kennke@aicas.com>
* javax/swing/RepaintManager.java
(commitBuffer): Use simple drawImage() method instead of the
scaling version.
2006-03-27 Robert Schuster <robertschuster@fsfe.org>
* javax/swing/text/PlainView.java:
(drawLine): Use 'endOffset' instead of 'selectionEnd'
for painting the selected line.
2006-03-27 David Gilbert <david.gilbert@object-refinery.com>
* javax/swing/plaf/basic/BasicSliderUI.java
(getThumbSize): Removed TODO and updated API docs.
2006-03-27 Robert Schuster <robertschuster@fsfe.org>
* javax/swing/text/DefaultCaret.java:
(mouseClicked): Word selection rewritten.
(paint): Draw line inside the bounding rectangle.
(damage): Retrieve caret height from line height.
2006-03-28 Raif S. Naffah <raif@swiftdsl.com.au>
* tools/gnu/classpath/tools/jarsigner/Main.java (processArgs): Check
for null args.
Check for -help option.
* tools/gnu/classpath/tools/jarsigner/jarsigner.txt: Added -help option.
2006-03-27 Roman Kennke <kennke@aicas.com>
* javax/swing/text/FieldView.java
(getPreferredSpan): Don't include trailing newline in
calculations.
* javax/swing/text/PlainView.java
(drawLine): Don't include trailing newline.
(determineMaxLineLength): Don't include trailing newline.
(getLineBuffer): Made method final.
2006-03-27 David Gilbert <david.gilbert@object-refinery.com>
* javax/swing/JSlider.java
(AccessibleJSlider.AccessibleJSlider): Minor API doc edit,
(AccessibleJSlider.getAccessibleRole): Removed declaration of
NotImplementedException,
(AccessibleJSlider.getAccessibleValue): Updated API docs.
2006-03-26 Andrew John Hughes <gnu_andrew@member.fsf.org>
* java/lang/ProcessBuilder.java:
Made final.
2006-03-26 Andrew John Hughes <gnu_andrew@member.fsf.org>
* gnu/java/net/protocol/http/Headers.java:
Match layout of file on HEAD.
* gnu/javax/swing/text/html/parser/htmlValidator.java:
Likewise.
* java/awt/datatransfer/DataFlavor.java
Likewise.
2006-03-26 Andrew John Hughes <gnu_andrew@member.fsf.org>
* gnu/java/security/jce/hash/HavalSpi.java,
* gnu/java/security/jce/hash/MD2Spi.java,
* gnu/java/security/jce/hash/MD4Spi.java,
* gnu/java/security/jce/hash/MD5Spi.java,
* gnu/java/security/jce/hash/MessageDigestAdapter.java,
* gnu/java/security/jce/hash/RipeMD128Spi.java,
* gnu/java/security/jce/hash/RipeMD160Spi.java,
* gnu/java/security/jce/hash/Sha160Spi.java,
* gnu/java/security/jce/hash/Sha256Spi.java,
* gnu/java/security/jce/hash/Sha384Spi.java,
* gnu/java/security/jce/hash/Sha512Spi.java,
* gnu/java/security/jce/hash/TigerSpi.java,
* gnu/java/security/jce/hash/WhirlpoolSpi.java,
* gnu/java/security/jce/sig/DSSKeyPairGeneratorSpi.java,
* gnu/java/security/jce/sig/DSSRawSignatureSpi.java,
* gnu/java/security/jce/sig/KeyPairGeneratorAdapter.java,
* gnu/java/security/jce/sig/RSAPSSRawSignatureSpi.java,
* gnu/java/security/jce/sig/SignatureAdapter.java,
* gnu/java/security/key/IKeyPairCodec.java,
* gnu/java/security/key/IKeyPairGenerator.java,
* gnu/java/security/key/KeyPairGeneratorFactory.java,
* gnu/java/security/key/dss/DSSKey.java,
* gnu/java/security/key/dss/DSSKeyPairRawCodec.java,
* gnu/java/security/key/dss/DSSPrivateKey.java,
* gnu/java/security/key/dss/DSSPublicKey.java,
* gnu/java/security/key/dss/FIPS186.java,
* gnu/java/security/key/rsa/GnuRSAKey.java,
* gnu/java/security/key/rsa/GnuRSAPrivateKey.java,
* gnu/java/security/key/rsa/GnuRSAPublicKey.java,
* gnu/java/security/sig/ISignature.java,
* gnu/java/security/sig/ISignatureCodec.java,
* gnu/java/security/sig/dss/DSSSignature.java,
* gnu/java/security/sig/dss/DSSSignatureRawCodec.java,
* gnu/java/security/sig/rsa/RSAPSSSignature.java,
* gnu/java/security/sig/rsa/RSAPSSSignatureRawCodec.java,
* gnu/java/security/util/Util.java:
Remove CVS revision tags.
2006-03-26 Tom Tromey <tromey@redhat.com>
* java/io/InputStream.java (InputStream): Implements Closeable.
2006-03-26 Ito Kazumitsu <kaz@maczuka.gcd.org>
* gnu/regexp/CharIndexed.java(setLastMatch, getLastMatch, getAnchor):
New methods.
* gnu/regexp/CharIndexedCharArray.java(setLastMatch, getLastMatch,
getAnchor): New methods.
* gnu/regexp/CharIndexedInputStream.java(setLastMatch, getLastMatch,
getAnchor): New methods.
* gnu/regexp/CharIndexedString.java(setLastMatch, getLastMatch,
getAnchor): New methods.
* gnu/regexp/CharIndexedStringBuffer.java(setLastMatch, getLastMatch,
getAnchor): New methods.
* gnu/regexp/REMatch.java(start1): New field.
* gnu/regexp/RE.java(initialize): Added support for \z and \G,
(match): set the starting position to start1[] instead of start[],
(getMatchImpl): Set the found REMatch to the input,
(makeCharIndexed): Made public.
* gnu/regexp/RETokenEndOfPreviousMatch.java: New file.
* gnu/regexp/RETokenEndSub.java(matchThis, findMatch):
set the value of start[] copying from start1[].
* gnu/regexp/RETokenLookBehind.java(matchThis): Added the settings of
offset.
* java/util/regex/Matcher.java(inputCharIndexed): New field
to be used as a parameter of the RE#getMatch.
2006-03-26 Audrius Meskauskas <AudriusA@Bioinformatics.org>
* gnu/java/rmi/activation/DefaultActivationGroup.java:
Documented the default jre spawning strategy (none).
* java/rmi/activation/ActivationGroup.java (currentGroupId,
getSystem): Obtain the acticivation system from the
DefaultActivationSystem.
2006-03-26 Raif S. Naffah <raif@swiftdsl.com.au>
* tools/gnu/classpath/tools/jarsigner/Main.java (setupSigningParams):
Ask user for keystore password if one was not provided.
2006-03-26 Raif S. Naffah <raif@swiftdsl.com.au>
* tools/README: Added Security tools section.
Documented the jarsigner tool.
2006-03-25 David Gilbert <david.gilbert@object-refinery.com>
* javax/swing/JScrollBar.java
(AccessibleJScrollBar.getAccessibleStateSet): Implemented,
(AccessibleJScrollBar.getAccessibleRole): Likewise,
(AccessibleJScrollBar.getAccessibleValue): Likewise,
(AccessibleJScrollBar.getCurrentAccessibleValue): Likewise,
(AccessibleJScrollBar.setCurrentAccessibleValue): Likewise,
(AccessibleJScrollBar.getMinimumAccessibleValue): Likewise,
(AccessibleJScrollBar.getMaximumAccessibleValue): Likewise,
(getAccessibleContext): Updated API docs.
2006-03-25 Tom Tromey <tromey@redhat.com>
* .externalToolBuilders/CreateLocaleData.launch: Run if resource files
change or if generator script changes.
2006-03-25 Tom Tromey <tromey@redhat.com>
* javax/naming/ldap/StartTlsRequest.java: New file.
* javax/naming/ldap/StartTlsResponse.java: New file.
2006-03-25 Olivier Jolly <olivier.jolly@pcedev.com>
* java/net/URLClassLoader.java (FileURLLoader.getResource): Added test
to validate all components of a resource path.
(FileURLLoader.walkPathComponents): Helper which ensures that we are
allowed to walk through every component of a resource path.
2006-03-25 Michael Koch <konqueror@gmx.de>
* NEWS: Added item for CLDR 1.3 update.
2006-03-25 Michael Koch <konqueror@gmx.de>
* resource/gnu/java/locale/LocaleInformation_ar_IN.properties,
resource/gnu/java/locale/LocaleInformation_ar_IQ.properties,
resource/gnu/java/locale/LocaleInformation_ar_KW.properties,
resource/gnu/java/locale/LocaleInformation_ar_LY.properties,
resource/gnu/java/locale/LocaleInformation_mn_MN.properties,
resource/gnu/java/locale/LocaleInformation_uz_AF.properties:
Removed locales.
2006-03-25 Michael Koch <konqueror@gmx.de>
* resource/gnu/java/locale/LocaleInformation_az.properties,
resource/gnu/java/locale/LocaleInformation_bs.properties,
resource/gnu/java/locale/LocaleInformation_byn.properties,
resource/gnu/java/locale/LocaleInformation_byn_ER.properties,
resource/gnu/java/locale/LocaleInformation_el_CY.properties,
resource/gnu/java/locale/LocaleInformation_gez.properties,
resource/gnu/java/locale/LocaleInformation_gez_ER.properties,
resource/gnu/java/locale/LocaleInformation_gez_ET.properties,
resource/gnu/java/locale/LocaleInformation_haw.properties,
resource/gnu/java/locale/LocaleInformation_haw_US.properties,
resource/gnu/java/locale/LocaleInformation_kok.properties,
resource/gnu/java/locale/LocaleInformation_kok_IN.properties,
resource/gnu/java/locale/LocaleInformation_sid.properties,
resource/gnu/java/locale/LocaleInformation_sid_ET.properties,
resource/gnu/java/locale/LocaleInformation_sl_SI.properties,
resource/gnu/java/locale/LocaleInformation_sr_BA_Cyrl.properties,
resource/gnu/java/locale/LocaleInformation_sr_BA_Latn.properties,
resource/gnu/java/locale/LocaleInformation_sr_Cyrl.properties,
resource/gnu/java/locale/LocaleInformation_syr.properties,
resource/gnu/java/locale/LocaleInformation_syr_SY.properties,
resource/gnu/java/locale/LocaleInformation_tig.properties,
resource/gnu/java/locale/LocaleInformation_tig_ER.properties,
resource/gnu/java/locale/LocaleInformation_uz_AF_Arab.properties,
resource/gnu/java/locale/LocaleInformation_uz_Arab.properties,
resource/gnu/java/locale/LocaleInformation_uz_Latn.properties,
resource/gnu/java/locale/LocaleInformation_wal.properties,
resource/gnu/java/locale/LocaleInformation_wal_ET.properties:
New locales.
2006-03-25 Michael Koch <konqueror@gmx.de>
* resource/gnu/java/locale/LocaleInformation_fa.properties,
resource/gnu/java/locale/LocaleInformation_kn.properties,
resource/gnu/java/locale/LocaleInformation_kn_IN.properties,
resource/gnu/java/locale/LocaleInformation_ko.properties,
resource/gnu/java/locale/LocaleInformation_sl.properties,
resource/gnu/java/locale/LocaleInformation_so.properties,
resource/gnu/java/locale/LocaleInformation_so_DJ.properties,
resource/gnu/java/locale/LocaleInformation_so_ET.properties,
resource/gnu/java/locale/LocaleInformation_so_SO.properties,
resource/gnu/java/locale/LocaleInformation_sr.properties:
Random fixes I forgot to commit before.
2006-03-25 Michael Koch <konqueror@gmx.de>
* resource/gnu/java/locale/LocaleInformation_ar_JO.properties,
resource/gnu/java/locale/LocaleInformation_ar_QA.properties,
resource/gnu/java/locale/LocaleInformation_ar_SA.properties,
resource/gnu/java/locale/LocaleInformation_ar_SY.properties,
resource/gnu/java/locale/LocaleInformation_ar_TN.properties,
resource/gnu/java/locale/LocaleInformation_ar_YE.properties,
resource/gnu/java/locale/LocaleInformation_as_IN.properties,
resource/gnu/java/locale/LocaleInformation_be_BY.properties,
resource/gnu/java/locale/LocaleInformation_bn_IN.properties,
resource/gnu/java/locale/LocaleInformation_en.properties,
resource/gnu/java/locale/LocaleInformation_en_IN.properties,
resource/gnu/java/locale/LocaleInformation_en_PK.properties,
resource/gnu/java/locale/LocaleInformation_en_US_POSIX.properties,
resource/gnu/java/locale/LocaleInformation_es_PY.properties,
resource/gnu/java/locale/LocaleInformation_fa.properties,
resource/gnu/java/locale/LocaleInformation_fa_AF.properties,
resource/gnu/java/locale/LocaleInformation_fa_IR.properties,
resource/gnu/java/locale/LocaleInformation_gu_IN.properties,
resource/gnu/java/locale/LocaleInformation_hi_IN.properties,
resource/gnu/java/locale/LocaleInformation_ja_JP.properties,
resource/gnu/java/locale/LocaleInformation_kn_IN.properties,
resource/gnu/java/locale/LocaleInformation_mr_IN.properties,
resource/gnu/java/locale/LocaleInformation_or_IN.properties,
resource/gnu/java/locale/LocaleInformation_pa.properties,
resource/gnu/java/locale/LocaleInformation_pa_IN.properties,
resource/gnu/java/locale/LocaleInformation_ps_AF.properties,
resource/gnu/java/locale/LocaleInformation_ru_RU.properties,
resource/gnu/java/locale/LocaleInformation_sa.properties,
resource/gnu/java/locale/LocaleInformation_sa_IN.properties,
resource/gnu/java/locale/LocaleInformation_ta_IN.properties,
resource/gnu/java/locale/LocaleInformation_te_IN.properties:
Updated currency formats.
2006-03-25 Roman Kennke <kennke@aicas.com>
* javax/swing/text/AbstractDocument.java
(getAttributeContext): Made method final.
(getCurrentWriter): Likewise.
(getEndPosition): Likewise.
(getProperty): Likewise.
(getStartPosition): Likewise.
(putProperty): Likewise.
(readLock): Likewise.
(readUnlock): Likewise.
(writeLock): Likewise.
(writeUnlock): Likewise.
2006-03-25 Roman Kennke <kennke@aicas.com>
* javax/swing/InputMap.java
(allKeys): Check if parent keys is null.
* javax/swing/KeyboardManager.java
(registerEntireMap): Also register map's parent keys.
* javax/swing/plaf/metal/MetalRootPaneUI.java
(propertyChange): Also call super.propertyChange().
2006-03-25 Raif S. Naffah <raif@swiftdsl.com.au>
* tools/gnu/classpath/tools/jarsigner/HashUtils.java: New file.
* tools/gnu/classpath/tools/jarsigner/JarSigner.java: Likewise.
* tools/gnu/classpath/tools/jarsigner/JarVerifier.java: Likewise.
* tools/gnu/classpath/tools/jarsigner/Main.java (Main): Likewise.
* tools/gnu/classpath/tools/jarsigner/SFHelper.java: Likewise.
* tools/gnu/classpath/tools/jarsigner/jarsigner.txt: Likewise.
2006-03-25 Raif S. Naffah <raif@swiftdsl.com.au>
* gnu/java/util/jar/JarUtils.java: New file.
* java/util/jar/Manifest.java (CRLF): Removed.
(read_main_section): Likewise.
(read_version_info): Likewise.
(expect_header(String,BufferedReader)): Likewise.
(expect_header(String,BufferedReader,String)): Likewise.
(read_header_value): Likewise.
(read_attributes): Likewise.
(read_attribute): Likewise.
(read_individual_sections): Likewise.
(read_section_name): Likewise.
(write_main_section): Likewise.
(write_version_info): Likewise.
(write_header): Likewise.
(write_main_attributes): Likewise.
(write_attribute_entry): Likewise.
(write_individual_sections): Likewise.
(write_entry_attributes): Likewise.
(read): use JarUtils.
(write): Likewise.
2006-03-25 Raif S. Naffah <raif@swiftdsl.com.au>
* gnu/java/security/pkcs/SignerInfo.java (log): New field.
(DEBUG): Removed.
(debug): Likewise.
(SignerInfo(BERReader)): Updated javadoc.
Use JDK logging.
(SignerInfo(X500Principal,BigInteger,OID,byte[],OID,byte[],byte[])):
New constructor.
(encode): New method.
* gnu/java/security/pkcs/PKCS7SignedData.java (log): New field.
(PKCS7_DATA): Removed.
(DEBUG): Likewise.
(debug): Likewise.
(PKCS7SignedData(BERReader)): Updated javadoc.
Use JDK logging.
(PKCS7SignedData(Set,PKCS7Data,Certificate[],X509CRL[],Set)): New
constructor.
(encode): New method.
* gnu/java/security/pkcs/PKCS7Data.java: New file.
* gnu/java/security/key/dss/DSSKeyPairPKCS8Codec.java (log): New field.
(encodePrivateKey): Encode x (private MPN) as an OCTET STRING.
(decodePrivateKey): Decode x from an OCTET STRING.
* gnu/java/security/key/dss/DSSPublicKey.java (str): New field.
(toString): New method.
* gnu/java/security/key/dss/DSSPrivateKey.java (DEBUG): New field.
(str): Likewise.
(toString): New method.
* gnu/java/security/key/dss/DSSKey.java (str): New Field.
(toString): New method.
* gnu/java/security/provider/DSAParameterGenerator.java: Removed.
2006-03-25 Roman Kennke <kennke@aicas.com>
* java/util/GregorianCalender.java
(computeTime): Fix comparison to correctly calculate the
calendar.
2006-03-25 Wolfgang Baer <WBaer@gmx.de>
Fixes bug #26837
* java/awt/Window.java:
(setFocusCycleRoot): New overriden method.
(isFocusCycleRoot): Likewise.
(getFocusCycleRootAncestor): Likewise.
* java/awt/Container.java:
(getFocusTraversalPolicy): Check also for anchestor == null.
2006-03-25 Mark Wielaard <mark@klomp.org>
Fixes bug #26863 reported by John K Peterson <johnandtina@byu.net>
* gnu/java/util/prefs/NodeWriter.java (writeRoot): Don't immediately
close root tag.
2006-03-24 Tom Tromey <tromey@redhat.com>
* javax/imageio/stream/ImageOutputStreamImpl.java (writeBytes):
Rewrote.
(writeChar): Removed useless cast.
(writeChars(String)): Implemented.
(writeDouble): Rewrote.
(writeFloat): Likewise.
(writeUTF): Implemented.
* javax/imageio/stream/ImageInputStreamImpl.java (byteOrder): Default
to big endian.
2006-03-24 Roman Kennke <kennke@aicas.com>
* javax/swing/JButton.java
(def): Replaced field with defaultCapable field.
(is_def): Removed field.
(JButton): Initialize defaultCapable with true.
(isDefaultButton): Documented and implemented method by querying
the button's root pane if present.
(isDefaultCapable): Changed def field to defaultCapable.
Added documentation.
(paramString): Call isDefaultButton() instead of accessing field,
which got removed.
(setDefaultCapable): Changed def field to defaultCapable.
Added documentation.
* javax/swing/JRootPane.java
(setDefaultButton): Only change the default button if the
new button is defaultCapable.
* javax/swing/plaf/basic/BasicRootPaneUI.java
(DefaultPressAction): New class.
(DefaultReleaseAction): New class.
(installKeyboardActions): Implemented.
(uninstallKeyboardActions): Implemented.
(propertyChange): Implemented.
* javax/swing/plaf/metal/MetalBorders.java
(ButtonBorder.paintBorder): 'Outsourced' default theme
painting to paintDefaultButtonBorder().
(ButtonBorder.paintDefaultButtonBorder): New helper method
to paint the border in the default theme. This also fixes
painting of the border for default buttons.
(ButtonBorder.paintOceanButtonBorder): Added support for
default button painting. Fixed border for pressed/default state.
* javax/swing/plaf/metal/MetalButtonUI.java
(update): Only paint gradient when in OceanTheme and when the
button is not armed.
2006-03-24 Audrius Meskauskas <AudriusA@Bioinformatics.org>
* gnu/java/rmi/activation/ActivationSystemTransient.java:
Inherit from Activator.
2006-03-24 Audrius Meskauskas <AudriusA@Bioinformatics.org>
* gnu/java/rmi/activation/DefaultActivationGroup.java (newInstance):
Print debug message if debug flag is set.
* gnu/java/rmi/activation/DefaultActivationSystem.java: Rewritten.
* gnu/java/rmi/server/ActivatableServerRef.java (activate): assign
detail, do not call iniCause(). (exportClass): New method.
* gnu/java/rmi/server/CombinedClassLoader.java (constructor):
Ignore null (bootstrap) class loader.
* gnu/java/rmi/server/UnicastServerRef.java (methods, skel, stub,
buildMethodHash, findStubSkelClass, getHelperClass): Changed
visibility to protected.
* java/rmi/activation/Activatable.java (export, register): Rewritten.
(toStub): New method.
* java/rmi/activation/ActivationGroup.java (getSystem): Rewritten.
* java/rmi/activation/ActivationSystem.java (SYSTEM_PORT):
Explained property java.rmi.activation.port.
2006-03-24 Tom Tromey <tromey@redhat.com>
* .externalToolBuilders/CreateLocaleData.launch: Updated.
* gnu/java/locale/.cvsignore: New file.
* lib/Makefile.am (LocaleData.java): Put in gnu/java/locale.
* java/util/Locale.java (getAvailableLocales): Clone result.
(getISOCountries): Likewise.
(getISOLanguages): Likewise.
* scripts/generate-locale-list.sh: Make class public. Added new
array.
* gnu/java/locale/LocaleHelper.java (getCollatorLocales): New method.
(getLocaleCount): Likewise.
* java/text/Collator.java (getInstance): Javadoc typo fix.
(getAvailableLocales): Wrote.
2006-03-24 Roman Kennke <kennke@aicas.com>
* javax/swing/JTabbedPane.java
(getSelectedComponent): Return null when no component is
selected.
2006-03-24 Mark Wielaard <mark@klomp.org>
* NEWS: Add cursor and selection improvements.
2006-03-23 David Gilbert <david.gilbert@object-refinery.com>
* java/awt/Component.java
(getAccessibleName): Just return accessibleName,
* javax/swing/AbstractButton.java
(getAccessibleStateSet): Mark as stub,
(getAccessibleName): Implemented,
(getAcessibleIcon): Mark as stub,
(getAccessibleRelationSet): Likewise,
(getAccessibleAction): Likewise,
(getAccessibleValue): Likewise,
(getAccessibleActionCount): Likewise,
(getAccessibleActionDescription): Likewise,
(doAccessibleAction): Likewise,
(getCurrentAccessibleValue): Likewise,
(setCurrentAccessibleValue): Likewise,
(getMinimumAccessibleValue): Likewise,
(getMaximumAccessibleValue): Likewise,
(getAccessibleText): Likewise,
(getIndexAtPoint): Likewise,
(getCharacterBounds): Likewise,
(getCharCount): Likewise,
(getCaretPosition): Likewise,
(getAtIndex): Likewise,
(getAfterIndex): Likewise,
(getBeforeIndex): Likewise,
(getCharacterAttribute): Likewise,
(getSelectionStart): Likewise,
(getSelectionEnd): Likewise,
(getSelectedText): Likewise,
(getTextRectangle): Likewise,
(setIconTextGap): Fire PropertyChangeEvent, not state changed,
(getIconTextGap): Added @since 1.4,
(setContentAreaFilled): Reordered code to make event sequence match
reference implementation,
* javax/swing/JButton.java
(getSelectedObjects): Removed,
*javax/swing/JComponent.java
(getAccessibleName): Call super.
2006-03-23 David Gilbert <david.gilbert@object-refinery.com>
* javax/swing/JProgressBar.java
(AccessibleJProgressBar.getAccessibleStateSet): Implemented,
(AccessibleJProgressBar.getAccessibleRole): Added API docs,
(AccessibleJProgressBar.getAccessibleValue): Implemented,
(AccessibleJProgressBar.getCurrentAccessibleValue): Likewise,
(AccessibleJProgressBar.setCurrentAccessibleValue): Likewise,
(AccessibleJProgressBar.getMinimumAccessibleValue): Likewise,
(AccessibleJProgressBar.getMaximumAccessibleValue): Likewise,
(getAccessibleContext): Added API docs.
2006-03-23 Robert Schuster <robertschuster@fsfe.org>
* javax/swing/plaf/basic/BasicTextUI.java:
(FocusListener.focusLost): Put current selection into the system
clipboard.
2006-03-23 Robert Schuster <robertschuster@fsfe.org>
* java/awt/Component.java:
(processMouseEvent): Remove call to consume event.
(dispatchEventImpl): Handle specific events first, do focus request
only when mouse event was not yet consumed.
* javax/swing/text/DefaultCaret.java:
(mousePressed): Rewritten.
(setDot): Changed order of operations.
(moveDot): Dito.
2006-03-23 David Gilbert <david.gilbert@object-refinery.com>
* javax/swing/JComponent.java
(AccessibleJComponent.changeSupport): Removed field,
(AccessibleJComponent.AccessibleJComponent): Updated for removed field,
(AccessibleJComponent.addPropertyChangeListener): Call super,
(AccessibleJComponent.removePropertyChangeListener): Likewise,
* javax/swing/JSlider.java
(AccessibleJSlider.getAccessibleStateSet): Implemented,
(AccessibleJSlider.getAccessibleRole): Likewise,
(AccessibleJSlider.getAccessibleValue): Likewise,
(AccessibleJSlider.getCurrentAccessibleValue): Likewise,
(AccessibleJSlider.setCurrentAccessibleValue): Likewise,
(AccessibleJSlider.getMinimumAccessibleValue): Likewise,
(AccessibleJSlider.getMaximumAccessibleValue): Likewise,
(getAccessibleContext): Added API docs.
2006-03-23 Audrius Meskauskas <AudriusA@Bioinformatics.org>
* gnu/java/rmi/activation/ActivationSystemTransient.java
(debug): Made public. (constructor): Made protected.
(activate, getActivationDesc): Throw more informative exceptions.
* gnu/java/rmi/server/UnicastConnectionManager.java (toString):
New method.
* gnu/java/rmi/server/UnicastRef.java (remoteToString):
Stub, implemented.
* gnu/java/rmi/server/UnicastServer.java (incomingMessageCall):
Documented.
* gnu/java/rmi/server/UnicastServerRef.java (incomingMessageCall):
Better exception.
* java/rmi/activation/Activatable.java (obtainId): Use the activation
system, passed in the activation descriptor field.
* java/rmi/activation/ActivationGroup.java (createGroup): Likewise.
* java/rmi/activation/ActivationGroupID.java (system, uid): Changed
to package private final. (equals): Compare uid, not the system.
(hashCode): Forward to uid.hashCode(). toString(): New method.
* java/rmi/activation/ActivationID.java (readObject, writeObject):
Rewritten. (equals): Compare UID only. toString(): New method.
* java/rmi/server/ObjID.java (eq): New method. (equals): Compare also
UID (space). (hashCode, toString): Rewritten.
* java/rmi/server/RemoteObjectInvocationHandler.java (noArgs):
New method. (invoke): Treat null as an empty array for parameters.
* java/rmi/server/UID.java (toString): Rewritten. (hashCode):
Include count, do not include the static machineId.
2006-03-23 Tom Tromey <tromey@redhat.com>
* java/net/URLConnection.java (getContent(Class[])): Implemented.
2006-03-23 Audrius Meskauskas <AudriusA@Bioinformatics.org>
* tools/gnu/classpath/tools/giop/GRMIC.java (main): Accept -force.
* tools/gnu/classpath/tools/giop/GRMIC.txt: Explain -force.
* tools/gnu/classpath/tools/giop/grmic/GiopRmicCompiler.java
(force): New field. (setForce): New method. (compile): Handle -force.
* tools/gnu/classpath/tools/rmi/RMIC.java (main): Accept -force.
* tools/gnu/classpath/tools/rmi/RMIC.txt: Explain -force.
2006-03-23 Roman Kennke <kennke@aicas.com>
* javax/swing/JTabbedPane.java
(Page.getBackground): Return the JTabbedPane's background,
rather than the page's component background.
(Page.getForeground): Return the JTabbedPane's foreground,
rather than the page's component foreground.
* javax/swing/plaf/basic/BasicTabbedPaneUI.java
(uninstallUI): Don't set colors to null.
* javax/swing/plaf/metal/MetalTabbedPaneUI.java
(paintTabBackground): Correctly determine the tab background.
(getUnselectedBackground): New helper method to
handle the UI property 'TabbedPane.unselectedBackground'
correctly.
2006-03-23 Audrius Meskauskas <AudriusA@Bioinformatics.org>
* javax/swing/plaf/basic/BasicInternalFrameUI.java
(BorderListener.showingResizeCursor): New field.
(BorderListener.mouseMoved, BorderListner.mouseExited):
Implemented.
2006-03-23 David Gilbert <david.gilbert@object-refinery.com>
* javax/swing/JComboBox.java
(selectWithKeyChar): Mark as stub,
* javax/swing/JFileChooser.java
(setDragEnabled): Mark as stub,
(getDragEnabled): Likewise,
* javax/swing/JSlider.java
(AccessibleJSlider.getAccessibleStateSet): Mark as stub,
(AccessibleJSlider.getAccessibleRole): Likewise,
(AccessibleJSlider.getAccessibleValue): Likewise,
(AccessibleJSlider.getCurrentAccessibleValue): Likewise,
(AccessibleJSlider.setCurrentAccessibleValue): Likewise,
(AccessibleJSlider.getMinimumAccessibleValue): Likewise,
(AccessibleJSlider.getMaximumAccessibleValue): Likewise,
* javax/swing/UIManager.java
(installLookAndFeel): Mark as stub,
(setInstalledLookAndFeels): Likewise.
2006-03-23 David Gilbert <david.gilbert@object-refinery.com>
* javax/swing/filechooser/UnixFileSystemView.java
(getSystemDisplayName): Mark as stub,
(getSystemIcon): Likewise,
(getSystemTypeDescription): Likewise.
2006-03-23 David Gilbert <david.gilbert@object-refinery.com>
* javax/swing/tree/AbstractLayoutCache.java
(getNodeDimensions): Mark as stub,
(getPreferredHeight): Likewise,
(getPreferredWidth): Likewise,
(getRowsForPaths): Likewise,
(isFixedRowHeight): Likewise,
* javax/swing/tree/DefaultTreeModel.java
(reload()): Mark as stub,
(reload(TreeNode)): Likewise,
(nodeStructureChanged): Likewise,
* javax/swing/tree/DefaultTreeSelectionModel.java
(clone): Mark as stub,
(setRowMapper): Likewise,
(setSelectionPaths): Likewise,
(isRowSelected): Likewise,
(resetRowSelection): Likewise,
(insureRowContinuity): Likewise,
(arePathsContiguous): Likewise,
(canPathsBeAdded): Likewise,
(canPathsBeRemoved): Likewise,
(notifyPathChange): Likewise,
(updateLeadIndex): Likewise,
(insureUniqueness): Likewise,
* javax/swing/tree/FixedHeightLayoutCache.java: Marked all methods as
stubs,
* javax/swing/tree/VariableHeightLayoutCache.java: Likewise.
2006-03-22 Tom Tromey <tromey@redhat.com>
* javax/swing/text/StyleContext.java (getStaticAttribute): Mark as
stub.
(getStaticAttributeKey): Likewise.
(readAttributeSet): Likewise.
(writeAttributeSet): Likewise.
(readAttributes): Likewise.
(writeAttributes): Likewise.
* javax/swing/text/html/HTMLEditorKit.java (insertAtBoundary): Mark
as stub.
* javax/swing/text/html/HTMLDocument.java (setParagraphAttributes):
Mark as stub.
(fireChangedUpdate): Likewise.
(start): Likewise.
(end): Likewise.
(handleEndOfLineString): Likewise.
(textAreaContent): Likewise.
(preContent): Likewise.
(addSpecialElement): Likewise.
(setInnerHTML): Likewise.
(setOuterHTML): Likewise.
(insertBeforeStart): Likewise.
(insertBeforeEnd): Likewise.
(insertAfterEnd): Likewise.
(insertAfterStart): Likewise.
* javax/swing/table/JTableHeader.java (AccessibleJTableHeaderEntry):
Mark all methods as stub.s
* javax/swing/plaf/metal/MetalTreeUI.java (decodeLineStyle): Mark
as stub.
(paintHorizontalSeparators): Likewise.
* javax/swing/plaf/basic/BasicLookAndFeel.java (loadSystemColors):
Mark as stub.
* javax/swing/MenuSelectionManager.java (processKeyEvent): Mark as
stub.
* java/beans/beancontext/BeanContextSupport.java: Mark most methods
as stubs.
* java/beans/beancontext/BeanContextServicesSupport.java: Mark most
methods as stubs.
2006-03-22 Mark Wielaard <mark@klomp.org>
* gnu/java/awt/peer/gtk/GtkCursor.java: New class.
2006-03-22 Mark Wielaard <mark@klomp.org>
Fixes bug #26527
* gnu/java/awt/peer/gtk/GtkComponentPeer.java (gtkWidgetSetCursor):
Takes GtkImage, x and y coordinates.
(gtkWidgetSetCursorUnlocked): Likewise.
(GtkComponentPeer): Set cursor when set.
(setCursor): Handle GtkCursor.
* gnu/java/awt/peer/gtk/GtkToolkit.java (createCustomCursor):
New method.
* native/jni/gtk-peer/gnu_java_awt_peer_gtk_GtkComponentPeer.c
(gtkWidgetSetCursor): Takes GtkImage, x and y coordinates.
(gtkWidgetSetCursorUnlocked): Likewise. Handle custom image.
* include/gnu_java_awt_peer_gtk_GtkComponentPeer.h: Regenerated.
2006-03-23 Roman Kennke <kennke@aicas.com>
PR 26805
* gnu/java/security/Registry.java
(PKCS5_PAD): Added pad PKCS#5 algorithm.
* gnu/javax/crypto/pad/PadFactory.java
(getInstance): For PKCS#5, also return PKCS#7 pad
algorithm.
(getNames): Added PKCS#5.
* javax/crypto/KeyGenerator.java
(getInstance): Initialize key generator before returning
it.
2006-03-23 Ito Kazumitsu <kaz@maczuka.gcd.org>
* gnu/regexp/RE.java(REG_X_COMMENTS): New copilation flag,
(initialize): Ignore whiltespaces and comments if REG_X_COMMENTS is set.
* java/util/regex/Pattern.java(constructor): Set RE.REG_X_COMMENTS
if COMMENTS is set.
2006-03-22 Tom Tromey <tromey@redhat.com>
* javax/swing/plaf/synth/SynthStyle.java (getInt): Implemented.
(getBoolean): Likewise.
(getString): Likewise.
(getIcon): Likewise.
2006-03-22 Mark Wielaard <mark@klomp.org>
Fixes bug #26301
* gnu/java/awt/peer/GLightweightPeer.java: Extend MouseAdapter.
(GLightweightPeer(Component)): Install MouseListener.
(setCursor): Implement.
(mouseEntered): New method.
2006-03-22 Tom Tromey <tromey@redhat.com>
* javax/swing/plaf/synth/ColorType.java (MAX_COUNT): No longer
constant.
* javax/swing/plaf/synth/SynthStyle.java (getColorForState): Now
protected.
(getFontForState): Likewise.
(getInsets): Added 'result' argument.
(getPainter): Renamed.
2006-03-22 Tom Tromey <tromey@redhat.com>
* javax/swing/plaf/synth/SynthPainter.java
(paintScrollBarThumbBackground): Added 'orientation' argument.
(paintScrollBarThumbBorder): Likewise.
(paintSliderThumbBackground): Likewise.
(paintSliderThumbBorder): Likewise.
(paintTabbedPaneTabBackground): Added 'index' argument.
(paintTabbedPaneTabBorder): Likewise.
2006-03-22 Tom Tromey <tromey@redhat.com>
* java/awt/ScrollPaneAdjustable.java (paramString): Implemented.
(toString): New method.
2006-03-22 Tom Tromey <tromey@redhat.com>
* doc/hacking.texinfo (Source Code Style Guide): Mention
NotImplementedException.
* javax/imageio/stream/MemoryCacheImageOutputStream.java
(flushBefore): Mark as stub.
(read): Likewise.
* javax/imageio/stream/MemoryCacheImageInputStream.java (flushBefore):
Mark as stub.
* javax/imageio/stream/ImageOutputStreamImpl.java (flushBits): Mark
as stub.
(write): Likewise.
(writeBit): Likewise.
(writeChars): Likewise.
(writeUTF): Likewise.
* javax/imageio/stream/FileCacheImageOutputStream.java (read): Mark
as stub.
(read): Likewise.
* java/net/URLConnection.java (getContent): Mark as stub.
* java/awt/Window.java (applyResourceBundle): Mark as stub.
* java/awt/TexturePaint.java (createContext): Mark as stub.
(getTransparency): Mark as stub.
* java/awt/ScrollPaneAdjustable.java (paramString): Mark as stub.
* java/awt/GridBagLayout.java (AdjustForGravity): Mark as stub.
* java/awt/GraphicsConfiguration.java (getBufferCapabilities): Mark as
stub.
(getImageCapabilities): Likewise.
* java/awt/BasicStroke.java (createStrokedShape): Mark as stub.
* java/awt/AlphaComposite.java (createContext): Mark as stub.
* java/awt/image/renderable/RenderableImageProducer.java: Mark all
methods as stubs.
* java/awt/font/TextMeasurer.java (deleteChar): Mark as stub.
(getAdvanceBetween): Likewise.
(getLayout): Likewise.
(insertChar): Likewise.
(getLineBreakIndex): Likewise.
* java/awt/font/ShapeGraphicAttribute.java (draw): Mark as stub.
(getAdvance): Likewise.
(getAscent): Likewise.
(getDescent): Likewise.
* java/awt/font/LineBreakMeasurer.java (deleteChar): Mark as stub.
(insertChar): Likewise.
(nextLayout): Likewise.
(nextLayout): Likewise.
(nextOffset): Likewise.
(nextOffset): Likewise.
* java/awt/font/ImageGraphicAttribute.java (draw): Mark as stub.
(equals): Likewise.
(getAdvance): Likewise.
(getAscent): Likewise.
(getBounds): Likewise.
(getDescent): Likewise.
(hashCode): Likewise.
(ImageGraphicAttribute): Likewise.
* java/awt/font/GraphicAttribute.java (getBounds): Mark as stub.
(getJustificationInfo): Likewise.
* java/awt/font/GlyphVector.java (getGlyphCharIndex): Mark as stub.
(getGlyphCharIndices): Likewise.
(getGlyphOutline): Likewise.
(getGlyphPixelBounds): Likewise.
(getLayoutFlags): Likewise.
(getPixelBounds): Likewise.
* java/awt/font/GlyphMetrics.java (getLSB): Mark as stub.
(getRSB): Likewise.
* java/nio/channels/Channels.java (newWriter): Mark as stub.
* java/awt/dnd/DragSourceContext.java: Marked most methods as stubs.
* java/awt/dnd/DragGestureRecognizer.java (fireDragGestureRecognized):
Mark as stub.
(resetRecognizer): Likewise.
* java/awt/datatransfer/SystemFlavorMap.java (getFlavorsForNative):
Mark as stub.
(getNativesForFlavor): Likewise.
* javax/swing/plaf/synth/SynthStyle.java: Mark all methods as stub.s
* javax/swing/plaf/synth/SynthLookAndFeel.java (updateStyles): Mark
as stub.
(getRegion): Likewise.
(createUI): Likewise.
(initialize): Likewise.
(uninitialize): Likewise.
(getDefaults): Likewise.
(load): Likewise.
(shouldUpdateStyleOnAncestorChanged): Likewise.
* javax/swing/plaf/synth/SynthGraphicsUtils.java (getMinimumSize):
Mark as stub.
(getPreferredSize): Likewise.
(getMaximumSize): Likewise.
(paintText): Likewise.
* java/text/RuleBasedCollator.java (getCollationElementIterator): Mark
as stub.
* java/text/Collator.java (getAvailableLocales): Mark as stub.
2006-03-22 Wolfgang Baer <WBaer@gmx.de>
* java/io/ObjectStreamConstants.java: Added since tag.
(PROTOCOL_VERSION_1): Added javadoc.
(PROTOCOL_VERSION_2): Likewise.
* java/io/ObjectOutputStream.java:
(setDefaultProtocolVersion): Removed.
(useProtocolVersion): Fixed parameter tests. Updated javadoc.
2006-03-21 Lillian Angel <langel@redhat.com>
* gnu/javax/imageio/bmp/BMPInfoHeader.java
(BMPInfoHeader): Removed debug lines.
* gnu/javax/imageio/bmp/EncodeRLE4.java
(encode): Implemented.
(uncompress): New function implemented to
uncompress the image before encoding.
* gnu/javax/imageio/bmp/EncodeRLE8.java
(encode): Implemented.
(uncompress): New function implemented to
uncompress the image before encoding.
2006-03-21 Roman Kennke <kennke@aicas.com>
* javax/swing/text/html/FormView.java
(getImageData): New helper method.
2006-03-21 Tom Tromey <tromey@redhat.com>
* vm/reference/gnu/classpath/Unsafe.java (arrayBaseOffset): Javadoc
fix.
(Unsafe): Now final.
2006-03-21 Roman Kennke <kennke@aicas.com>
* javax/swing/text/html/FormView.java
(MouseEventListener): New inner class.
2006-03-21 Roman Kennke <kennke@aicas.com>
* javax/swing/text/html/ListView.java: New file.
2006-03-21 Tom Tromey <tromey@redhat.com>
* java/text/Bidi.java: Completed.
2006-03-21 Anthony Balkissoon <abalkiss@redhat.com>
* javax/swing/JTable.java:
(columnAtPoint): Removed the null check, this method should throw a NPE
if the argument is null.
2006-03-21 Robert Schuster <robertschuster@fsfe.org>
* javax/swing/text/DefaultHighlighter.java:
(DefaultHighlighter.DefaultHighlightPainter.paint): Rewritten.
2006-03-21 Robert Schuster <robertschuster@fsfe.org>
* javax/swing/text/DefaultCaret.java: Added class variable denoting
the textcomponent having a selection.
(clearSelection): Clear 'componentWithSelection' variable.
(handleSelection): Clear selection of current component having a
selection before setting a new selection in another component.
(mouseDragged): Only react on left mouse button.
(mouseClicked): Only react on left mouse button.
2006-03-21 Roman Kennke <kennke@aicas.com>
* javax/swing/plaf/metal/MetalTabbedPaneUI.java
(paintContentBorderTopEdge): Implemented.
(paintContentBorderBottomEdge): Implemented.
(paintContentBorderLeftEdge): Implemented.
(paintContentBorderRightEdge): Implemented.
(isLastTabInRun): New helper method.
2006-03-21 Roman Kennke <kennke@aicas.com>
* javax/swing/JTabbedPane.java
(Page.getForeground): Fall back to returning the tabbed pane's
foreground if no foreground has been exclicitly set.
2006-03-21 Roman Kennke <kennke@aicas.com>
* javax/swing/plaf/metal/MetalComboBoxButton.java
(setEnabled): Update colors of button correctly.
* javax/swing/plaf/metal/MetalComboBoxUI.java
(MetalPropertyChangeListener.propertyChange): Update the colors
of the list and the button when any of the color properties
of the ComboBox change.
2006-03-21 Roman Kennke <kennke@aicas.com>
* javax/swing/plaf/basic/BasicButtonUI.java
(uninstallDefaults): Only nullify button colors if they are
not UIResource instances.
2006-03-21 David Gilbert <david.gilbert@object-refinery.com>
* javax/swing/JComponent.java
(AccessibleJComponent.getAccessibleDescription): Call super,
* javax/swing/JToolTip.java: API doc updates all over, plus
(AccessibleJToolTip.getAccessibleDescription): Implemented,
(AccessibleJToolTip.getAccessibleRole): Implemented,
(getAccessibleContext): Implemented,
(paramString): Reimplemented,
(setComponent): Fire PropertyChangeEvent,
(setTipText): Likewise.
2006-03-20 Andrew John Hughes <gnu_andrew@member.fsf.org>
* java/util/Formatter.java:
Make the class final.
2006-03-20 Andrew John Hughes <gnu_andrew@member.fsf.org>
* java/lang/System.java:
(nanoTime()): Documented.
* java/lang/Thread.java:
(setUncaughtExceptionHandler(UncaughtExceptionHandler):
Added docs and security check.
(getUncaughtExceptionHandler()): Documented.
(setDefaultUncaughtExceptionHandler(UncaughtExceptionHandler):
Added docs and security check.
(getDefaultUncaughtExceptionHandler()): Documented.
(getId()): Documented.
(Thread.State): Documented.
* vm/reference/gnu/classpath/Unsafe.java:
Documented.
(getUnsafe()): Updated to handle security.
2006-03-20 Tom Tromey <tromey@redhat.com>
* java/lang/System.java:
(nanoTime()): Implemented.
* java/lang/Thread.java:
(getId()): Implemented.
* java/util/AbstractMap.java:
(SimpleImmutableEntry): New 1.6 class.
(BasicMapEntry): Modified to be SimpleEntry.
* java/util/Collections.java:
Modified to use SimpleEntry.
* java/util/EnumMap.java: Likewise.
* java/util/HashMap.java: Likewise.
* java/util/Hashtable.java: Likewise.
* java/util/TreeMap.java: Likewise.
* vm/reference/gnu/classpath/Unsafe.java:
New class to handle low-level facilities for concurrency.
* vm/reference/java/lang/VMSystem.java:
(nanoTime()): Implemented.
2006-03-20 Tom Tromey <tromey@redhat.com>
* java/security/cert/PKIXCertPathChecker.java: Javadoc fix.
* java/security/cert/CertStoreSpi.java: Added import for javadoc.
(CertStoreSpi): Updated throws clause.
* java/security/cert/CertPathValidatorSpi.java: Added import for
javadoc.
(engineValidate): Updated 'throws' clause.
* java/security/cert/PKIXParameters.java: Javadoc fix.
* java/security/cert/X509CertSelector.java
(setAuthorityKeyIdentifier): Javadoc fix.
2006-03-20 Tom Tromey <tromey@redhat.com>
* .classpath: Build gnu.javax.swing.plaf.
2006-03-20 Lillian Angel <langel@redhat.com>
* gnu/javax/imageio/bmp/BMPDecoder.java:
Removed unneeded import.
* gnu/javax/imageio/bmp/BMPEncoder.java:
New class.
* gnu/javax/imageio/bmp/BMPFileHeader.java
(BMPFileHeader): New constructor used to create info header
for an output stream.
(write): Fixed indexes.
* gnu/javax/imageio/bmp/BMPImageReaderSpi.java:
Initialized writerSpiNames field.
* gnu/javax/imageio/bmp/BMPImageWriter.java:
New class.
* gnu/javax/imageio/bmp/BMPImageWriterSpi.java:
New class.
* gnu/javax/imageio/bmp/BMPInfoHeader.java:
Change visibility for fields.
(BMPInfoHeader): New constructor used to create
file header for an output stream.
(intToDWord): New method. Converts an int to a
double word.
(intToWord): New method. Converts an int to a word.
* gnu/javax/imageio/bmp/DecodeBF32.java:
Removed unneeded imports.
* gnu/javax/imageio/bmp/EncodeRGB1.java:
New class.
* gnu/javax/imageio/bmp/EncodeRGB16.java:
New class.
* gnu/javax/imageio/bmp/EncodeRGB24.java:
New class.
* gnu/javax/imageio/bmp/EncodeRGB32.java:
New class.
* gnu/javax/imageio/bmp/EncodeRGB4.java:
New class.
* gnu/javax/imageio/bmp/EncodeRGB8.java:
New class.
* gnu/javax/imageio/bmp/EncodeRLE4.java:
New class.
* gnu/javax/imageio/bmp/EncodeRLE8.java:
New class.
* javax/imageio/ImageIO.java:
Fixed comment.
2006-03-20 Roman Kennke <kennke@aicas.com>
* javax/swing/plaf/metal/MetalTabbedPaneUI.java
(TabbedPaneLayout.normalizeTabRuns): New method.
(createLayoutManager): Return the Metal TabbedPaneLayout, not super.
(paintTabBorder): Replaced if-else chain with switch.
(paintTopTabBorder): Rewritten to correctly paint tab. Also support
Ocean theme.
(paintBottomTabBorder): Rewritten to correctly paint tab. Also support
Ocean theme.
(paintLeftTabBorder): Rewritten to correctly paint tab. Also support
Ocean theme.
(paintRightTabBorder): Rewritten to correctly paint tab. Also support
Ocean theme.
(paintTabBackground): Fetch background color from the TabbedPane.
Fixed painting and improved by not using fillPolygon, and instead
using fillRectangle. Replaced if-else chain with switch.
(calculateMaxTabHeight): Added overridden method with FIXME.
(getTabRunOverlay): Overridden to provide overlay for LEFT or RIGHT
placement.
(paintContentBorderTopEdge): Added stub with FIXME.
(paintContentBorderBottomEdge): Added stub with FIXME.
(paintContentBorderLeftEdge): Added stub with FIXME.
(paintContentBorderRightEdge): Added stub with FIXME.
2006-03-20 Roman Kennke <kennke@aicas.com>
* javax/swing/plaf/basic/BasicTabbedPaneUI.java
(tabsOpaque): New field.
(installDefaults): Fetch tabsOpaque property from UIManager.
(paintTab): Fill tab background when tabsOpaque property is true.
* javax/swing/plaf/basic/BasicLookAndFeel.java
(initComponentDefaults): Added TabbedPane.tabsOpaque property.
2006-03-20 Roman Kennke <kennke@aicas.com>
* javax/swing/JTabbedPane.java
(Pane.getBackground): When no background was explicitly set, return
the JTabbedPane's background.
2006-03-20 Wolfgang Baer <WBaer@gmx.de>
* org/omg/CORBA/ACTIVITY_COMPLETED.java,
* org/omg/CORBA/ACTIVITY_REQUIRED.java,
* org/omg/CORBA/BAD_INV_ORDER.java,
* org/omg/CORBA/BAD_CONTEXT.java,
* org/omg/CORBA/BAD_OPERATION.java,
* org/omg/CORBA/BAD_PARAM.java,
* org/omg/CORBA/BAD_QOS.java,
* org/omg/CORBA/BAD_TYPECODE.java,
* org/omg/CORBA/CODESET_INCOMPATIBLE.java,
* org/omg/CORBA/COMM_FAILURE.java,
* org/omg/CORBA/CurrentHolder.java,
* org/omg/CORBA/DATA_CONVERSION.java,
* org/omg/CORBA/FREE_MEM.java,
* org/omg/CORBA/IMP_LIMIT.java,
* org/omg/CORBA/INITIALIZE.java,
* org/omg/CORBA/INTERNAL.java,
* org/omg/CORBA/INTF_REPOS.java,
* org/omg/CORBA/INVALID_ACTIVITY.java,
* org/omg/CORBA/INVALID_TRANSACTION.java,
* org/omg/CORBA/INV_FLAG.java,
* org/omg/CORBA/INV_IDENT.java,
* org/omg/CORBA/INV_OBJREF.java,
* org/omg/CORBA/INV_POLICY.java,
* org/omg/CORBA/MARSHAL.java,
* org/omg/CORBA/NO_RESOURCES.java,
* org/omg/CORBA/NO_MEMORY.java,
* org/omg/CORBA/NO_IMPLEMENT.java,
* org/omg/CORBA/NO_PERMISSION.java,
* org/omg/CORBA/NO_RESPONSE.java,
* org/omg/CORBA/OBJECT_NOT_EXIST.java,
* org/omg/CORBA/OBJ_ADAPTER.java,
* org/omg/CORBA/ParameterModeHolder.java,
* org/omg/CORBA/PolicyError.java,
* org/omg/CORBA/PolicyErrorHolder.java,
* org/omg/CORBA/PolicyHolder.java,
* org/omg/CORBA/PolicyListHolder.java,
* org/omg/CORBA/REBIND.java,
* org/omg/CORBA/TIMEOUT.java,
* org/omg/CORBA/TRANSACTION_MODE.java,
* org/omg/CORBA/TRANSACTION_REQUIRED.java,
* org/omg/CORBA/TRANSACTION_ROLLEDBACK.java,
* org/omg/CORBA/TRANSACTION_UNAVAILABLE.java,
* org/omg/CORBA/TRANSIENT.java,
* org/omg/CORBA/TypeCodeHolder.java,
* org/omg/CORBA/UNKNOWN.java,
* org/omg/CORBA/UnionMember.java,
* org/omg/CORBA/UnknownUserException.java,
* org/omg/CORBA/UnknownUserExceptionHolder.java,
* org/omg/CORBA/WrongTransactionHolder.java,
* org/omg/IOP/IOR.java,
* org/omg/IOP/IORHolder.java,
* org/omg/IOP/MultipleComponentProfileHolder.java,
* org/omg/IOP/ServiceContextHolder.java,
* org/omg/IOP/ServiceContextListHolder.java,
* org/omg/IOP/TaggedComponentHolder.java,
* org/omg/IOP/TaggedProfileHolder.java,
* org/omg/PortableInterceptor/ObjectReferenceTemplateSeqHolder.java,
* org/omg/PortableInterceptor/ObjectReferenceTemplateHolder.java,
* org/omg/PortableInterceptor/IORInterceptor_3_0Holder.java,
* org/omg/PortableInterceptor/ObjectReferenceFactoryHolder.java:
Made class final, various javadoc fixlets.
* org/omg/CORBA/CompletionStatus.java,
* org/omg/CORBA/PERSIST_STORE.java,
* org/omg/CORBA/ValueMember.java,
* org/omg/PortableInterceptor/ForwardRequest.java,
* org/omg/PortableInterceptor/InvalidSlot.java,
* org/omg/IOP/CodecPackage/TypeMismatch.java,
* org/omg/IOP/CodecPackage/InvalidTypeForEncoding.java,
* org/omg/IOP/CodecPackage/FormatMismatch.java,
* org/omg/IOP/CodecFactoryPackage/UnknownEncoding.java,
* org/omg/IOP/Encoding.java,
* org/omg/IOP/TaggedComponent.java,
* org/omg/IOP/TaggedProfile.java: Made class final.
* org/omg/CORBA/SystemException.java: Made class abstract.
* org/omg/CORBA/UserException.java: Made class abstract.
(UserException): Now protected.
(UserException(String)): Likewise.
* org/omg/Messaging/SyncScopeHelper.java: Now abstract, javadoc fixes.
(typecode): Removed unused private variable.
2006-03-20 Chris Burdess <dog@gnu.org>
Fixes PR 26761
* gnu/xml/stream/XMLParser.java: Permit U+fffd as XML Char.
2006-03-20 Roman Kennke <kennke@aicas.com>
* javax/swing/plaf/basic/BasicTabbedPaneUI.java
(paintTabArea): Look up tab run indices in tabRuns array instead
of using the index directly.
2006-03-20 Roman Kennke <kennke@aicas.com>
* javax/swing/plaf/basic/BasicTabbedPaneUI.java
(paintTab): Fixed painting.
(paintText): Fixed text painting.
(paintFocusIndicator): Fixed painting of the focus rectangle.
(paintContentBorder): Fixed painting of the content area.
2006-03-20 Mark Wielaard <mark@klomp.org>
* gnu/java/awt/peer/gtk/GdkPixbufDecoder.java (pixbufLock): New
static lock Object field.
(produce): Synchronize on pixbufLock when calling initState(),
pumpBytes() and pumpDone().
(finalize): Likewise when calling finish().
(GdkPixbufWriter.write): Likewise when calling streamImage().
* gnu/java/awt/peer/gtk/GtkImage.java (GtkImage(String)): Likewise
when calling loadPixbuf. Chain exception.
(GtkImage(byte[])): Likewise when calling loadImageFromData.
(GtkImage(URL)): Likewise.
(GtkImage(int,int)): Likewise when calling createPixmap().
(GtkImage(GtkImage,int,int,int)): Likewise when calling
createScaledPixmap().
(GtkImage(Pointer)): Likewise when calling createFromPixbuf().
(setImage): Likewise when calling createPixmap() and setPixels().
(getSource): Likewise when calling getPixels().
(flush): Likewise when calling freePixmap().
(finalize): Likewise.
(drawImage): Likewise when calling drawPixelsScaledFlipped() and
drawPixelsScaledFlipped().
* native/jni/gtk-peer/gnu_java_awt_peer_gtk_GdkPixbufDecoder.c
(Java_gnu_java_awt_peer_gtk_GdkPixbufDecoder_initState): Remove
gdk_threads_enter/leave().
(Java_gnu_java_awt_peer_gtk_GdkPixbufDecoder_finish): Likewise.
(Java_gnu_java_awt_peer_gtk_GdkPixbufDecoder_pumpDone): Likewise.
(Java_gnu_java_awt_peer_gtk_GdkPixbufDecoder_streamImage): Likewise.
(Java_gnu_java_awt_peer_gtk_GdkPixbufDecoder_pumpBytes): Likewise.
* native/jni/gtk-peer/gnu_java_awt_peer_gtk_GtkImage.c
(Java_gnu_java_awt_peer_gtk_GtkImage_loadPixbuf): Likewise.
(Java_gnu_java_awt_peer_gtk_GtkImage_loadImageFromData): Likewise.
(Java_gnu_java_awt_peer_gtk_GtkImage_createFromPixbuf): Likewise.
(Java_gnu_java_awt_peer_gtk_GtkImage_getPixels): Likewise.
(Java_gnu_java_awt_peer_gtk_GtkImage_setPixels): Likewise.
(Java_gnu_java_awt_peer_gtk_GtkImage_createPixmap): Likewise.
(Java_gnu_java_awt_peer_gtk_GtkImage_freePixmap): Likewise.
(Java_gnu_java_awt_peer_gtk_GtkImage_createScaledPixmap): Likewise.
2006-03-20 Roman Kennke <kennke@aicas.com>
* javax/swing/plaf/basic/BasicTabbedPaneUI.java
(calculateTabHeight): Not need to use SwingUtilities here.
(getTabInsets): Do not rotate insets.
2006-03-20 Roman Kennke <kennke@aicas.com>
* javax/swing/plaf/basic/BasicTabbedPaneUI.java
(paint): Make sure the layout is valid before painting.
(paintTabArea): Made tab painting more straightforward and efficient.
2006-03-20 Audrius Meskauskas <AudriusA@Bioinformatics.org>
* javax/swing/JTable.java (ROWS_PER_WHEEL_CLICK): Removed.
(getScrollableUnitIncrement): Rewritten.
* javax/swing/JTree.java (ROWS_PER_WHEEL_CLICK): Removed.
(getScrollableUnitIncrement): Rewritten.
* javax/swing/plaf/basic/BasicScrollPaneUI.java
(ROWS_PER_WHEEL_CLICK): New field.
(MouseWheelHandler.mouseWheelMoved): Rewritten.
2006-03-20 Roman Kennke <kennke@aicas.com>
* javax/swing/plaf/basic/BasicTabbedPaneUI.java
(paint): Make sure the layout is valid before painting.
(paintTabArea): Made tab painting more straightforward and efficient.
2006-03-20 Roman Kennke <kennke@aicas.com>
* javax/swing/plaf/basic/BasicTabbedPaneUI.java
(MouseHandler.mousePressed): Rewritten for clearer and simpler
code.
(MouseHandler.mouseEntered): Implemented to set the rollover tab.
(MouseHandler.mouseMoved): Implemented to set the rollover tab.
(MouseHandler.mouseExited): Implemented to unset the rollover tab.
(TabbedPaneLayout.calculateLayoutInfo): Don't set the component's
bounds here. That is moved into layoutContainer().
(calculateSize): Correctly respect insets. Made code slightly more
clear and efficient.
(calculateTabRects): Rewritten completely. The old code was
not quite right and unstable in some situations.
(layoutContainer): Moved layout of tabbed pane's subcomponents
here.
(tabRunsDirty): New field.
(rolloverTab): New field.
(tabForCoordinate): Rewritten for simplicity and correctness.
(setRolloverTab): New method.
(getRolloverTab): New method.
2006-03-20 Audrius Meskauskas <AudriusA@Bioinformatics.org>
* javax/swing/JTable.java (getScrollableUnitIncrement): Rewritten.
* javax/swing/JTree.java (getScrollableUnitIncrement): Rewritten.
(getScrollableUnitIncrement
* javax/swing/Scrollable.java: Documented.
* javax/swing/plaf/basic/BasicScrollPaneUI.java
(MouseWheelHandler):Rewritten.
2006-03-20 Andrew John Hughes <gnu_andrew@member.fsf.org>
* doc/vmintegration.texinfo:
Updated with gnu.classpath.Unsafe
2006-03-20 Andrew John Hughes <gnu_andrew@member.fsf.org>
* NEWS:
Updated with VMArray and Unsafe changes.
2006-03-20 Audrius Meskauskas <AudriusA@Bioinformatics.org>
* javax/swing/JTable.java (ROWS_PER_WHEEL_CLICK): New field.
(getScrollableUnitIncrement): Rewritten.
* javax/swing/JTree.java (ROWS_PER_WHEEL_CLICK): New field.
(getScrollableUnitIncrement): Rewritten.
(getScrollableBlockIncrement): Rewritten.
* javax/swing/plaf/basic/BasicScrollPaneUI.java
(MouseWheelHandler): Implemented. (ViewportContainerListener):
New class. (containerListener): New field. (SCROLL_NON_SCROLABLES):
New field. (installListeners): Install wheel listeners.
(uninstallListeners): Uninstall wheel listeners.
* javax/swing/plaf/basic/BasicTableUI.java: Remove the implementation
of the MouseWheelListener. (installListeners): Do not install wheel
listener. (ROWS_PER_WHEEL_CLICK): Removed.
2006-03-19 Andrew John Hughes <gnu_andrew@member.fsf.org>
* vm/reference/gnu/classpath/Unsafe.java:
Documented.
(getUnsafe()): Updated to handle security.
2006-03-19 Tom Tromey <tromey@redhat.com>
* vm/reference/gnu/classpath/Unsafe.java:
New class to handle low-level facilities for concurrency.
2006-03-19 Mark Wielaard <mark@klomp.org>
* include/Makefile.am: Rename PlainDatagramSocketImpl to
VMPlainDatagramSocketImpl and PlainSocketImpl to VMPlainSocketImpl.
* include/gnu_java_net_VMPlainDatagramSocketImpl.h: Regenerated.
* include/gnu_java_net_VMPlainSocketImpl.h: Likewise.
2006-03-19 Mark Wielaard <mark@klomp.org>
* gnu/java/awt/peer/gtk/GdkFontPeer.java (getPostScriptName): Return
familyName.
* gnu/java/awt/peer/gtk/GtkFontPeer.java: Removed unused file.
2006-03-19 Michael Koch <konqueror@gmx.de>
* resource/gnu/java/locale/LocaleInformation_aa_ET.properties,
resource/gnu/java/locale/LocaleInformation_am.properties,
resource/gnu/java/locale/LocaleInformation_am_ET.properties,
resource/gnu/java/locale/LocaleInformation_as_IN.properties,
resource/gnu/java/locale/LocaleInformation_az_Cyrl.properties,
resource/gnu/java/locale/LocaleInformation_bg.properties,
resource/gnu/java/locale/LocaleInformation_bn_IN.properties,
resource/gnu/java/locale/LocaleInformation_ca.properties,
resource/gnu/java/locale/LocaleInformation_cs.properties,
resource/gnu/java/locale/LocaleInformation_cy.properties,
resource/gnu/java/locale/LocaleInformation_da.properties,
resource/gnu/java/locale/LocaleInformation_de.properties,
resource/gnu/java/locale/LocaleInformation_dv.properties,
resource/gnu/java/locale/LocaleInformation_el.properties,
resource/gnu/java/locale/LocaleInformation_en.properties,
resource/gnu/java/locale/LocaleInformation_en_GB.properties,
resource/gnu/java/locale/LocaleInformation_en_IN.properties,
resource/gnu/java/locale/LocaleInformation_en_PK.properties,
resource/gnu/java/locale/LocaleInformation_en_SG.properties,
resource/gnu/java/locale/LocaleInformation_en_US_POSIX.properties,
resource/gnu/java/locale/LocaleInformation_es.properties,
resource/gnu/java/locale/LocaleInformation_es_AR.properties,
resource/gnu/java/locale/LocaleInformation_es_BO.properties,
resource/gnu/java/locale/LocaleInformation_es_CL.properties,
resource/gnu/java/locale/LocaleInformation_es_CO.properties,
resource/gnu/java/locale/LocaleInformation_es_CR.properties,
resource/gnu/java/locale/LocaleInformation_es_DO.properties,
resource/gnu/java/locale/LocaleInformation_es_EC.properties,
resource/gnu/java/locale/LocaleInformation_es_ES.properties,
resource/gnu/java/locale/LocaleInformation_es_GT.properties,
resource/gnu/java/locale/LocaleInformation_es_HN.properties,
resource/gnu/java/locale/LocaleInformation_es_MX.properties,
resource/gnu/java/locale/LocaleInformation_es_NI.properties,
resource/gnu/java/locale/LocaleInformation_es_PA.properties,
resource/gnu/java/locale/LocaleInformation_es_PE.properties,
resource/gnu/java/locale/LocaleInformation_es_PR.properties,
resource/gnu/java/locale/LocaleInformation_es_PY.properties,
resource/gnu/java/locale/LocaleInformation_es_SV.properties,
resource/gnu/java/locale/LocaleInformation_es_US.properties,
resource/gnu/java/locale/LocaleInformation_es_UY.properties,
resource/gnu/java/locale/LocaleInformation_es_VE.properties,
resource/gnu/java/locale/LocaleInformation_fa.properties,
resource/gnu/java/locale/LocaleInformation_fa_AF.properties,
resource/gnu/java/locale/LocaleInformation_fa_IR.properties,
resource/gnu/java/locale/LocaleInformation_fi.properties,
resource/gnu/java/locale/LocaleInformation_fr.properties,
resource/gnu/java/locale/LocaleInformation_fr_CA.properties,
resource/gnu/java/locale/LocaleInformation_ga.properties,
resource/gnu/java/locale/LocaleInformation_gu_IN.properties,
resource/gnu/java/locale/LocaleInformation_hi_IN.properties,
resource/gnu/java/locale/LocaleInformation_hr.properties,
resource/gnu/java/locale/LocaleInformation_hu.properties,
resource/gnu/java/locale/LocaleInformation_id.properties,
resource/gnu/java/locale/LocaleInformation_is.properties,
resource/gnu/java/locale/LocaleInformation_it.properties,
resource/gnu/java/locale/LocaleInformation_ja.properties,
resource/gnu/java/locale/LocaleInformation_kk.properties,
resource/gnu/java/locale/LocaleInformation_kl.properties,
resource/gnu/java/locale/LocaleInformation_km.properties,
resource/gnu/java/locale/LocaleInformation_ky.properties,
resource/gnu/java/locale/LocaleInformation_lo.properties,
resource/gnu/java/locale/LocaleInformation_lo_LA.properties,
resource/gnu/java/locale/LocaleInformation_lt.properties,
resource/gnu/java/locale/LocaleInformation_lt_LT.properties,
resource/gnu/java/locale/LocaleInformation_lv.properties,
resource/gnu/java/locale/LocaleInformation_mk.properties,
resource/gnu/java/locale/LocaleInformation_mn.properties,
resource/gnu/java/locale/LocaleInformation_mr.properties,
resource/gnu/java/locale/LocaleInformation_mr_IN.properties,
resource/gnu/java/locale/LocaleInformation_ms.properties,
resource/gnu/java/locale/LocaleInformation_ms_BN.properties,
resource/gnu/java/locale/LocaleInformation_mt.properties,
resource/gnu/java/locale/LocaleInformation_nb.properties,
resource/gnu/java/locale/LocaleInformation_nl.properties,
resource/gnu/java/locale/LocaleInformation_nn.properties,
resource/gnu/java/locale/LocaleInformation_om_ET.properties,
resource/gnu/java/locale/LocaleInformation_or_IN.properties,
resource/gnu/java/locale/LocaleInformation_pa.properties,
resource/gnu/java/locale/LocaleInformation_pl.properties,
resource/gnu/java/locale/LocaleInformation_pt.properties,
resource/gnu/java/locale/LocaleInformation_ru.properties,
resource/gnu/java/locale/LocaleInformation_ru_RU.properties,
resource/gnu/java/locale/LocaleInformation_ru_UA.properties,
resource/gnu/java/locale/LocaleInformation_sa.properties,
resource/gnu/java/locale/LocaleInformation_sa_IN.properties,
resource/gnu/java/locale/LocaleInformation_sk.properties,
resource/gnu/java/locale/LocaleInformation_sr_Latn.properties,
resource/gnu/java/locale/LocaleInformation_sv.properties,
resource/gnu/java/locale/LocaleInformation_sw.properties,
resource/gnu/java/locale/LocaleInformation_sw_TZ.properties,
resource/gnu/java/locale/LocaleInformation_ta_IN.properties,
resource/gnu/java/locale/LocaleInformation_te.properties,
resource/gnu/java/locale/LocaleInformation_te_IN.properties,
resource/gnu/java/locale/LocaleInformation_th.properties,
resource/gnu/java/locale/LocaleInformation_ti.properties,
resource/gnu/java/locale/LocaleInformation_ti_ER.properties,
resource/gnu/java/locale/LocaleInformation_ti_ET.properties,
resource/gnu/java/locale/LocaleInformation_tr.properties,
resource/gnu/java/locale/LocaleInformation_tt.properties,
resource/gnu/java/locale/LocaleInformation_uk.properties,
resource/gnu/java/locale/LocaleInformation_ur.properties,
resource/gnu/java/locale/LocaleInformation_uz.properties,
resource/gnu/java/locale/LocaleInformation_zh.properties,
resource/gnu/java/locale/LocaleInformation_zh_Hant.properties:
More updates for CLDR 1.3.
2006-03-19 Andrew John Hughes <gnu_andrew@member.fsf.org>
* doc/vmintegration.texinfo:
Updated to include VMArray.
* include/Makefile.am:
Replace java_lang_reflect_Array.h with
java_lang_reflect_VMArray.h
* include/java_lang_reflect_VMArray.h:
New autogenerated header.
* include/java_lang_reflect_Array.h:
Removed.
* java/lang/reflect/Array.java:
(newInstance(Class,int)): Calls VMArray.
(createMultiArray(Class,int[],int)): Likewise.
(createObjectArray(Class,int)): Removed.
* native/jni/java-lang/Makefile.am:
Replaced java_lang_reflect_Array.c with
java_lang_reflect_VMArray.c
* native/jni/java-lang/java_lang_reflect_VMArray.c:
Renamed from java_lang_reflect_Array.c.
* vm/reference/java/lang/reflect/VMArray.java:
(createObjectArray(Class,int)): Native method moved
from java.lang.reflect.Array.
2006-03-19 Roman Kennke <kennke@aicas.com>
* gnu/javax/swing/plaf/metal/CustomizableTheme.java: New class.
* examples/gnu/classpath/examples/swing/MetalThemeEditor.java:
New class.
* examples/gnu/classpath/examples/swing/Demo.java
(mkButtonBar): Hook up theme editor.
(mkMenuBar): Hook up theme editor.
2006-03-19 Roman Kennke <kennke@aicas.com>
* javax/swing/plaf/basic/BasicFileChooserUI.java
(ApproveSelectionAction.actionPerformed): Added case for when
nothing has been selected but the user has typed a filename
into the textfield.
(getFileName): Return the value of the text field.
2006-03-19 Roman Kennke <kennke@aicas.com>
* javax/swing/JColorChooser.java
(createDialog): Create JDialog instead of ModalDialog. Make this
dialog modal by calling setModal(true).
(ModalDialog): Removed unnecessary inner class.
2006-03-19 Tom Tromey <tromey@redhat.com>
* java/awt/font/NumericShaper.java: Rewrote.
2006-03-19 Audrius Meskauskas <AudriusA@Bioinformatics.org>
* javax/swing/plaf/basic/BasicTableUI.java:
Implement MouseWheelListener. (ROWS_PER_WHEEL_CLICK):
New field. MouseInputHandler.mouseWheelMoved): New method.
(installListeners): Register MouseInputHandler as
wheel listener also.
2006-03-19 Audrius Meskauskas <AudriusA@Bioinformatics.org>
PR 26746
* javax/swing/ViewportLayout.java (layoutContainer):
If Scrollable tracks dimension, set view size to the port size.
If port is larger than the view, move the view to the top/left.
2006-03-19 Roman Kennke <kennke@aicas.com>
* javax/swing/MenuSelectionManager.java
(isComponentPartOfCurrentMenu): Also consider the first element
in a menu selection list. Make a isDescendentFrom check instead
of simple equals to also catch sub components.
2006-03-19 Roman Kennke <kennke@aicas.com>
* javax/swing/JComboBox.java
(actionPerformed): Fetch selected item directly from the editor
instead of trying to get it from the event.
2006-03-19 Roman Kennke <kennke@aicas.com>
* javax/swing/plaf/basic/BasicComboBoxEditor.java
(listener): Removed field.
(BasicComboBoxEditor): Removed initialization of listener field.
(addActionListener): Add listener directly to editor.
(removeActionListener): Remove listener directly from editor.
(ComboBoxEditorListener): Removed class.
* javax/swing/plaf/basic/BasicComboBoxUI.java
(getPreferredSize): Fixed to return the minimumSize.
(getMinimumSize): Improved code for more clearness.
(getMaximumSize): Return (32767,32767) as requested by the mauve test.
(rectangleForCurrentValue): Correctly respect insets.
(getDefaultSize): Return preferredSize here. Dont override height
with 100.
(getDisplaySize): Moved around code for more clearness. Added
handling of prototype renderer.
(ComboBoxLayoutManager.layoutContainer): Set editor bounds after
arrowButton bounds since the former depends on the latter.
* javax/swing/plaf/metal/MetalComboBoxButton.java:
(MetalComboBoxButton): Make button rollover disabled.
(isFocusTraversable): Return false unconditionally.
* javax/swing/plaf/metal/MetalComboBoxEditor.java:
(EditorTextField): New class. Fixes the size properties.
(MetalComboBoxEditor): Create instance of EditorTextField.
* javax/swing/plaf/metal/MetalComboBoxUI.java:
(getMinimumSize): Fixed editable size.
2006-03-18 Audrius Meskauskas <AudriusA@Bioinformatics.org>
* javax/swing/JTable.java (BooleanCellRenderer): Rewritten.
2006-03-18 Roman Kennke <kennke@aicas.com>
* javax/swing/plaf/metal/MetalToolBarUI.java
(update): Added overridden method to support OceanTheme.
2006-03-18 Audrius Meskauskas <AudriusA@Bioinformatics.org>
* javax/swing/plaf/basic/BasicTableUI.java (KeyHandler.keyTyped):
Activate the cell editing on character keystroke.
2006-03-18 Mark Wielaard <mark@klomp.org>
* java/awt/Component.java (eventTypeEnabled): Handle
MouseEvent.MOUSE_WHEEL.
* gnu/java/awt/peer/gtk/GtkComponentPeer.java (postMouseWheelEvent):
New callback method.
* native/jni/gtk-peer/gnu_java_awt_peer_gtk_GtkComponentPeer.c
(AWT_MOUSE_WHEEL): New constant.
(AWT_WHEEL_UNIT_SCROLL): Likewise.
(postMouseWheelEventID): New static variable.
(cp_gtk_component_init_jni): Record postMouseWheelEventID.
(cp_gtk_component_connect_mouse_signals): Connect scroll-event.
(button_number): Renamed to ...
(button_number_direction): variable to hold button number or scroll
direction.
(component_button_press_cb): Use button_number_direction.
(component_scroll_cb): New static callback function.
2006-03-18 Audrius Meskauskas <AudriusA@Bioinformatics.org>
* javax.swing.JTable.java (TableTextField.scrollRectToVisible):
Return without action.
2006-03-18 Mark Wielaard <mark@klomp.org>
* gnu/java/awt/peer/gtk/GtkComponentPeer.java (paintComponent):
Don't cast graphics object to GdkGraphics.
(updateComponent): Likewise.
2006-03-18 Audrius Meskauskas <AudriusA@Bioinformatics.org>
* examples/gnu/classpath/examples/swing/TableDemo.java
(TModel.getColumnClass): Set second column to Icon.
(TModel.isCellEditable): Say icons are not editable.
(createContent): Fill the in second column with some icons from
MetalIconFactory.
2006-03-18 Audrius Meskauskas <AudriusA@Bioinformatics.org>
* examples/gnu/classpath/examples/swing/Demo.java
(mkButtonBar): Set maximal button bar height to the preferred height.
2006-03-18 Roman Kennke <kennke@aicas.com>
* javax/swing/plaf/basic/BasicComboPopup.java
(show): Substract insets from scroller width.
(getPopupHeightForRowCount): If height==0, return a default of 100
instead for empty ComboBoxes.
2006-03-18 Roman Kennke <kennke@aicas.com>
* javax/swing/plaf/basic/BasicLookAndFeel.java
(PopupHelper.autoClosePopups): Removed field.
(PopupHelper.mousePressed): Removed processing of registered
autoclose popups.
(registerForAutoClose): Removed unneeded method.
(autoClosePopups): Removed unneeded method.
(registerForAutoClose): Removed unneeded method.
2006-03-18 Audrius Meskauskas <AudriusA@Bioinformatics.org>
* javax.swing.JTable.java (TableTextField): Set border.
(moveToCellBeingEdited): Do not adjust the editor boundaries
2006-03-18 Michael Koch <konqueror@gmx.de>
* resource/gnu/java/locale/LocaleInformation_aa.properties,
resource/gnu/java/locale/LocaleInformation_af.properties,
resource/gnu/java/locale/LocaleInformation_am.properties,
resource/gnu/java/locale/LocaleInformation_ar.properties,
resource/gnu/java/locale/LocaleInformation_az_Cyrl.properties,
resource/gnu/java/locale/LocaleInformation_be.properties,
resource/gnu/java/locale/LocaleInformation_bg.properties,
resource/gnu/java/locale/LocaleInformation_bn.properties,
resource/gnu/java/locale/LocaleInformation_ca.properties,
resource/gnu/java/locale/LocaleInformation_cs.properties,
resource/gnu/java/locale/LocaleInformation_cy.properties,
resource/gnu/java/locale/LocaleInformation_da.properties,
resource/gnu/java/locale/LocaleInformation_de.properties,
resource/gnu/java/locale/LocaleInformation_de_CH.properties,
resource/gnu/java/locale/LocaleInformation_dz.properties,
resource/gnu/java/locale/LocaleInformation_en.properties,
resource/gnu/java/locale/LocaleInformation_eo.properties,
resource/gnu/java/locale/LocaleInformation_es.properties,
resource/gnu/java/locale/LocaleInformation_et.properties,
resource/gnu/java/locale/LocaleInformation_eu.properties,
resource/gnu/java/locale/LocaleInformation_fa.properties,
resource/gnu/java/locale/LocaleInformation_fa_AF.properties,
resource/gnu/java/locale/LocaleInformation_fi.properties,
resource/gnu/java/locale/LocaleInformation_fo.properties,
resource/gnu/java/locale/LocaleInformation_fr.properties,
resource/gnu/java/locale/LocaleInformation_ga.properties,
resource/gnu/java/locale/LocaleInformation_gl.properties,
resource/gnu/java/locale/LocaleInformation_gu.properties,
resource/gnu/java/locale/LocaleInformation_he.properties,
resource/gnu/java/locale/LocaleInformation_hi.properties,
resource/gnu/java/locale/LocaleInformation_hr.properties,
resource/gnu/java/locale/LocaleInformation_hu.properties,
resource/gnu/java/locale/LocaleInformation_hy.properties,
resource/gnu/java/locale/LocaleInformation_id.properties,
resource/gnu/java/locale/LocaleInformation_is.properties,
resource/gnu/java/locale/LocaleInformation_it.properties,
resource/gnu/java/locale/LocaleInformation_ja.properties,
resource/gnu/java/locale/LocaleInformation_ka.properties,
resource/gnu/java/locale/LocaleInformation_km.properties,
resource/gnu/java/locale/LocaleInformation_ko.properties,
resource/gnu/java/locale/LocaleInformation_lo.properties,
resource/gnu/java/locale/LocaleInformation_lt.properties,
resource/gnu/java/locale/LocaleInformation_lv.properties,
resource/gnu/java/locale/LocaleInformation_mk.properties,
resource/gnu/java/locale/LocaleInformation_mr.properties,
resource/gnu/java/locale/LocaleInformation_ms.properties,
resource/gnu/java/locale/LocaleInformation_mt.properties,
resource/gnu/java/locale/LocaleInformation_nb.properties,
resource/gnu/java/locale/LocaleInformation_nl.properties,
resource/gnu/java/locale/LocaleInformation_nn.properties,
resource/gnu/java/locale/LocaleInformation_om.properties,
resource/gnu/java/locale/LocaleInformation_pl.properties,
resource/gnu/java/locale/LocaleInformation_ps.properties,
resource/gnu/java/locale/LocaleInformation_pt.properties,
resource/gnu/java/locale/LocaleInformation_pt_PT.properties,
resource/gnu/java/locale/LocaleInformation_ro.properties,
resource/gnu/java/locale/LocaleInformation_ru.properties,
resource/gnu/java/locale/LocaleInformation_sk.properties,
resource/gnu/java/locale/LocaleInformation_sl.properties,
resource/gnu/java/locale/LocaleInformation_so.properties,
resource/gnu/java/locale/LocaleInformation_sq.properties,
resource/gnu/java/locale/LocaleInformation_sr.properties,
resource/gnu/java/locale/LocaleInformation_sr_Latn.properties,
resource/gnu/java/locale/LocaleInformation_sv.properties,
resource/gnu/java/locale/LocaleInformation_sw.properties,
resource/gnu/java/locale/LocaleInformation_ta.properties,
resource/gnu/java/locale/LocaleInformation_te.properties,
resource/gnu/java/locale/LocaleInformation_th.properties,
resource/gnu/java/locale/LocaleInformation_tr.properties,
resource/gnu/java/locale/LocaleInformation_uk.properties,
resource/gnu/java/locale/LocaleInformation_uz.properties,
resource/gnu/java/locale/LocaleInformation_vi.properties,
resource/gnu/java/locale/LocaleInformation_zh.properties,
resource/gnu/java/locale/LocaleInformation_zh_Hant.properties:
Updated to use the new localized strings for currencies, languages,
variants, territories, etc.
2006-03-18 Ito Kazumitsu <kaz@maczuka.gcd.org>
* gnu/regexp/REMatch.java(matchedCharIndexed): New field,
(start, end): Added comment about the negative values of them,
(finish): Saves the input text in matchedCharIndexed,
(toString): If the start or end index is out of bounds of the
matched text, get the substring from matchedCharIndexed.
Added special handlings in case start/end index < -1,
(getSubStartIndex, getStartIndex, getSubEndIndex, getEndIndex):
Added special handlings in case start/end index < -1,
* gnu/regexp/RETokenLookAhead.java(matchThis): Return the newly
found match, but keep the index as the original match.
* gnu/regexp/RETokenLookBehind.java(matchThis): Return the newly
found match, but keep the index as the original match.
* gnu/regexp/RETokenBackRef.java(matchThis): Added special handlings
in case start/end index < -1.
2006-03-17 Audrius Meskauskas <AudriusA@Bioinformatics.org>
* gnu/java/rmi/activation/ActivationSystemTransient.java (debug):
Set to false.
2006-03-17 Robert Schuster <robertschuster@fsfe.org>
* javax/swing/text/DefaultCaret.java:
(mouseClicked) Use setDot() and moveDot() instead of
JTextComponent.select().
2006-03-17 Roman Kennke <kennke@aicas.com>
* javax/swing/plaf/metal/MetalComboBoxEditor.java
(MetalComboBoxEditorBorder.paintBorder): Implemented special
border painting for the Ocean theme.
(MetalComboBoxEditor): Create editor directly instead of going
to super.
2006-03-17 Roman Kennke <kennke@aicas.com>
* javax/swing/text/JTextComponent.java
(JTextComponent): Make text components opaque.
2006-03-17 Roman Kennke <kennke@aicas.com>
* javax/swing/plaf/metal/MetalComboBoxUI.java
(MetalComboBoxLayoutManager.layoutContainer): Forward to
layoutComboBox().
(MetalPropertyChangeListener.propertyChange): Update focusable
flag according to the enable and editable state.
(editablePropertyChanged): Removed unnecessary code.
(getMinimumSize): Rewritten to correctly compute the
size, respecting the insets of the components and the icon,
the visual properties of the combobox, etc.
(configureEditor): Update listeners correctly.
(unconfigureEditor): Update listeners correctly.
(layoutComboBox): Implemented.
2006-03-17 Roman Kennke <kennke@aicas.com>
* javax/swing/plaf/metal/MetalComboBoxEditor.java
(MetalComboBoxEditorBorder): Made this a subclass of AbstractBorder
instead of Flush3DBorder.
(paintBorder): Fixed border painting.
(editorBorderInsets): Fixed border's insets.
2006-03-17 Roman Kennke <kennke@aicas.com>
* javax/swing/plaf/metal/MetalComboBoxButton.java
(rendererPane): Documented.
(MetalComboBoxButton): Set enabled flag from ComboBox.
Set focusable flag from ComboBox's enabled flag.
(isFocusTraversable): Make button focus traversable if
ComboBox is not editable but enable.
(paintComponent): Fixed painting to correctly adjust
the boxes of the renderer and button.
2006-03-17 Roman Kennke <kennke@aicas.com>
* javax/swing/plaf/basic/BasicButtonUI.java
(installDefaults): Only install UI margin if installed margin.
is null or a UIResource.
(uninstallDefaults): Only uninstall margin if it's
a UIResource.
2006-03-17 Robert Schuster <robertschuster@fsfe.org>
* javax/swing/text/DefaultCaret.java:
(mouseClicked) Use setDot() and moveDot() instead of
JTextComponent.select().
2006-03-17 Robert Schuster <robertschuster@fsfe.org>
* javax/swing/text/DefaultEditorKit.java: Refactored anonymous
inner classes into package-private inner classes, added actions
for caret movement and selection to the next and previous word
and an action which selects the whole text.
2006-03-17 Thomas Fitzsimmons <fitzsim@redhat.com>
* javax/swing/Spring.java: Uncomment springdebug methods and
rename them toString.
* javax/swing/SpringLayout.java: Likewise.
2006-03-17 Robert Schuster <robertschuster@fsfe.org>
* javax/swing/text/FieldView.java:
(viewToModel): Added call to adjust allocation area.
2006-03-17 Roman Kennke <kennke@aicas.com>
* javax/swing/plaf/basic/BasicComboBoxUI.java
(mouseListener): Removed field.
(buttonBackground): Removed field.
(buttonShadow): Removed field.
(buttonDarkShadow): Removed field.
(buttonHighlight): Removed field.
(BasicComboBoxUI): Initialize currentValuePane and cachedMinimumSize.
(installUI): Initialize and configure renderer and editor here.
(uninstallUI): Close popup before uninitializing.
Message popup that we are uninitializing. Clear layout.
(installDefaults): Install UI border. Don't install colors.
(installListeners): Install listeners fetched from the popup.
Remove handling of mouseListener.
(uninstallDefaults): Uninstall border. Don't handle colors.
(uninstallListeners): Don't handle mouseListener. Uninstall
listener from the popup.
(createMouseListener): Removed method.
(createRenderer): Create UIResource.
(installComponents): Cleaned up.
(uninstallComponents): Only remove renderer when it is
a UIResource.
(addEditor): Remove editor before adding new one.
Fetch editor from comboBox.
(removeEditor): Only do something when editor != null. Unconfigure
editor before removing.
(configureEditor): Add key listener. Call comboBox.configureEditor.
(unconfigureEditor): Removed key listener.
(configureArrowButton): Only handle when arrowButton != null.
Add mouse listeners to arrow button.
(unconfigureArrowButton): Remove listeners.
(createArrowButton): Don't handle colors here.
(setPopupVisible): Don't handle focus here.
(paint): Only paint when comboBox is not editable. Update
hasFocus flag.
(getPreferredSize): Implemented to be minimumSize + 4 pixels width.
(getMinimumSize): Respect insets here.
(getMaximumSize): Return preferredSize with width of 32767.
(getInsets): Return ComboBox insets.
(paintCurrentValue): Paint using currentValuePane.
Install correct colors. Don't revalidate.
(paintCurrentValueBackground): Implemented.
(getDefaultSize): Reimplemented using a default renderer.
(getDisplaySize): Reimplemented to use renderer.
(ComboBoxLayoutManager.preferredLayoutSize): Forward to component.
(ComboBoxLayoutManager.minimumLayoutSize): Forward to component.
(ComboBoxLayoutManager.layoutContainer): Fixed layout.
(FocusHandler.focusGained): Don't invalidate minimumSize.
(FocusHandler.focusLost): Don't invalidate minimumSize.
Only close popup if focus change is not temporary.
(ItemHandler.itemStateChanged): Don't invalidate minimumSize.
Reconfigure editor if not null.
(ListDataHandler.contentsChanged): Revalidate and reconfigure
editor if necessary.
(ListDataHandler.intervalAdded): Fixed updating of the display size.
(ListDataHandler.intervalRemoved): Forward to contentsChanged.
(MouseHandler): Removed unnecessary class.
2006-03-17 Robert Schuster <robertschuster@fsfe.org>
* examples/gnu/classpath/examples/swing/Demo.java:
(Demo): Set default closing operation to shutdown the runtime.
2006-03-17 Roman Kennke <kennke@aicas.com>
* javax/swing/plaf/basic/BasicComboPopup.java
(BasicComboPopup): Create listeners here.
Configure components here.
(show): Correctly calculate bounds using computePopupBounds().
Make scroller fixed-size. Removed special autocloser handling.
(hide): Rewritten to use MenuSelectionHandler.
(createList): Don't set selection mode here.
(configureList): Correctly install colors and fonts and selectionMode.
(createScroller): Set scrollpane policies.
(configureScroller): Make scroller and scrollbar not-focusable.
(configurePopup): Make popup opaque and borderPainted.
(installComboBoxListeners): Don't install mouse listener on ComboBox.
(delegateFocus): Implemented.
(convertMouseEvent): Implemented.
(updateListBoxSelectionForEvent): Implemented to also handle
autoscrolling.
(InvocationMouseHandler.mousePressed): Delegate focus correctly.
Only open popup on left mouse-click.
(InvocationMouseHandler.mouseReleased): Rewritten.
(InvocationMouseMotionHandler.mouseDragged): Rewritten to better
support autoscrolling.
(ItemHandler.itemStateChanged): Implemented to sync selection with
the comboBox.
(ListMouseHandler.mouseReleased): Fetch selected index directly
from list.
(ListMouseMotionHandler.mouseMoved): Only update when mouse is inside
the list box.
(PropertyChangeHandler.propertyChange): Don't revalidate/repaint here.
When model changes, then update listeners correctly.
(uninstallListeners): Don't uninstall list listeners.
(uninstallComboBoxListeners): Don't uninstall mouse listeners
from comboBox.
(syncSelection): New helper method.
2006-03-17 Robert Schuster <robertschuster@fsfe.org>
* javax/swing/text/PlainView.java:
(drawLine): Rewritten.
(drawSelectedText): Corrected last argument for
Utilities.drawTabbedText() call.
(paint): Store start and end of selection in object variables,
store constant values of for-loop in local variables.
* javax/swing/text/Utilities.java:
(drawTabbedText): Add 'pixelWidth' to the return value, store
constant value of for-loop in local variable.
2006-03-17 Roman Kennke <kennke@aicas.com>
* javax/swing/plaf/basic/BasicComboPopup.java
(BasicComboPopup): Create listeners here.
Configure components here.
(show): Correctly calculate bounds using computePopupBounds().
Make scroller fixed-size. Removed special autocloser handling.
(hide): Rewritten to use MenuSelectionHandler.
(createList): Don't set selection mode here.
(configureList): Correctly install colors and fonts and selectionMode.
(createScroller): Set scrollpane policies.
(configureScroller): Make scroller and scrollbar not-focusable.
(configurePopup): Make popup opaque and borderPainted.
(installComboBoxListeners): Don't install mouse listener on ComboBox.
(delegateFocus): Implemented.
(convertMouseEvent): Implemented.
(updateListBoxSelectionForEvent): Implemented to also handle
autoscrolling.
(InvocationMouseHandler.mousePressed): Delegate focus correctly.
Only open popup on left mouse-click.
(InvocationMouseHandler.mouseReleased): Rewritten.
(InvocationMouseMotionHandler.mouseDragged): Rewritten to better
support autoscrolling.
(ItemHandler.itemStateChanged): Implemented to sync selection with
the comboBox.
(ListMouseHandler.mouseReleased): Fetch selected index directly
from list.
(ListMouseMotionHandler.mouseMoved): Only update when mouse is inside
the list box.
(PropertyChangeHandler.propertyChange): Don't revalidate/repaint here.
When model changes, then update listeners correctly.
(uninstallListeners): Don't uninstall list listeners.
(uninstallComboBoxListeners): Don't uninstall mouse listeners
from comboBox.
(syncSelection): New helper method.
2006-03-17 Roman Kennke <kennke@aicas.com>
* javax/swing/plaf/basic/BasicComboBoxRenderer.java
(noFocusBorder): Make border with insets of (1,1,1,1).
(BasicComboBoxRenderer): Make renderer opaque.
No need to explicitly set alignment.
(getListCellRendererComponent): Rewritten to correctly initialize
color and font.
2006-03-17 Roman Kennke <kennke@aicas.com>
* javax/swing/JPopupMenu.java
(setVisible): Handle JPopupMenu opening and closing via
the MenuSelectionHandler.
2006-03-17 Wolfgang Baer <WBaer@gmx.de>
* org/omg/DynamicAny/DynAnyPackage/InvalidValue.java: Now final.
* org/omg/DynamicAny/DynAnyPackage/TypeMismatch.java: Likewise.
* org/omg/DynamicAny/DynAnyFactoryPackage/InconsistentTypeCode.java:
Likewise.
* org/omg/CORBA/portable/RemarshalException.java: Likewise
* org/omg/CORBA/TypeCodePackage/BadKind.java: Likewise.
* org/omg/CORBA/TypeCodePackage/Bounds.java: Likewise.
* org/omg/CORBA/ORBPackage/InvalidName.java: Likewise.
* org/omg/CORBA/ORBPackage/InconsistentTypeCode.java: Likewise.
* org/omg/CORBA/DynAnyPackage/TypeMismatch.java: Likewise.
* org/omg/CORBA/DynAnyPackage/InvalidValue.java: Likewise.
* org/omg/CORBA/DynAnyPackage/InvalidSeq.java: Likewise.
* org/omg/CORBA/DynAnyPackage/Invalid.java: Likewise.
* org/omg/Dynamic/Parameter.java: Now final, javadoc fixes.
2006-03-17 Audrius Meskauskas <AudriusA@Bioinformatics.org>
* java/rmi/activation/Activatable.java: Implemented.
java/rmi/activation/ActivationDesc.java: Implemented.
java/rmi/activation/ActivationGroup.java: Implemented.
java/rmi/activation/ActivationGroupDesc.java: Implemented.
java/rmi/activation/ActivationID.java: Implemented.
java/rmi/activation/ActivationSystem.java: Implemented.
* gnu/java/rmi/server/UnicastServerRef.java
(exportObject, incommingMessageCall): Documented.
* java/rmi/activation/package.html: Documented.
* java/rmi/server/ObjID.java (objNum, space): Made package
protected.
* gnu/java/rmi/server/UnicastServer.java: Rewritten.
* gnu/java/rmi/server/CombinedClassLoader.java (constructor):
Iteration bug fix.
* gnu/java/rmi/activation/ActivationSystemTransient.java: New file.
gnu/java/rmi/activation/BidiTable.java: New file.
gnu/java/rmi/activation/DefaultActivationGroup.java: New file.
gnu/java/rmi/activation/DefaultActivationSystem.java: New file.
gnu/java/rmi/server/ActivatableServerRef.java: New file.
2006-03-17 Mark Wielaard <mark@klomp.org>
* java/security/BasicPermission.java (BasicPermission): Check
name equals empty string to force NullPointerException.
2006-03-16 Thomas Fitzsimmons <fitzsim@redhat.com>
PR classpath/26606
Commit patch by Caolan McNamara <caolanm@redhat.com>
* javax/swing/Spring.java: Complete implementation
* javax/swing/SpringLayout.java: Likewise.
2006-03-16 Keith Seitz <keiths@redhat.com>
* gnu/classpath/jdwp/Jdwp.java (_mainThread): Not needed. Removed
all references.
(run): Remove catch clause for InterruptedException. It is no
longer necessary.
2006-03-16 Thomas Fitzsimmons <fitzsim@redhat.com>
* native/jni/gtk-peer/gnu_java_awt_peer_gtk_GdkFontPeer.c
(getFontMetrics): Handle monospaced fonts specially.
2006-03-16 Keith Seitz <keiths@redhat.com>
* gnu/classpath/jdwp/Jdwp.java (getJdwpThreadGroup): New method.
* vm/reference/gnu/classpath/jdwp/VMVirtualMachine.java
(suspendAllThreads): Use Jdwp.getJdwpThreadGroup.
Don't suspend the current thread unless it is not part of the JDWP
thread group.
2006-03-16 Thomas Fitzsimmons <fitzsim@redhat.com>
* gnu/java/awt/peer/gtk/GdkFontMetrics.java (getLeading): Always
return 0.
* gnu/java/awt/peer/gtk/GdkFontPeer.java (getFontMetrics): Get
font metrics through toolkit.
* gnu/java/awt/peer/gtk/GdkGraphics.java (getFontMetrics):
Likewise.
* native/jni/gtk-peer/gnu_java_awt_peer_gtk_GdkFontPeer.c
(getFontMetrics): To calculate Java logical ascent and descent
values, average Pango ink and logical values.
2006-03-16 Anthony Balkissoon <abalkiss@redhat.com>
* java/lang/Character.java: Updated header comment.
2006-03-16 Tom Tromey <tromey@redhat.com>
* javax/sound/sampled/AudioSystem.java (getAudioFileFormat): New
constructor.
* javax/sound/sampled/FloatControl.java: Now abstract.
* javax/sound/sampled/EnumControl.java: Now abstract.
* javax/sound/sampled/CompoundControl.java: Now abstract.
* javax/sound/sampled/BooleanControl.java: Now abstract.
2006-03-16 Tom Tromey <tromey@redhat.com>
* java/awt/image/ConvolveOp.java (getBounds2D): Now final.
2006-03-16 Roman Kennke <kennke@aicas.com>
* java/util/zip/ZipFile.java
(openFile): New helper method.
(ZipFile): Use new openFile method to ensure the proper
exception is thrown. This applies for all overloaded constructors.
2006-03-16 Roman Kennke <kennke@aicas.com>
* java/text/DateFormatSymbols.java
(setAmPmStrings): Added null check and throw NPE.
(setEras): Likewise.
(setLocalPatternChars): Likewise.
(setMonths): Likewise.
(setShortMonths): Likewise.
(setShortWeekdays): Likewise.
(setWeekdays): Likewise.
(setZoneStrings): Likewise.
2006-03-16 Roman Kennke <kennke@aicas.com>
* javax/swing/DefaultDesktopManager.java
(iconifyFrame): Repaint after removing the frame.
(removeIconFor): Repaint after removing the icon.
2006-03-16 Roman Kennke <kennke@aicas.com>
* javax/swing/JInternalFrame.java
(remove): Respect the rootPaneCheckingEnabled flag here.
2006-03-16 Roman Kennke <kennke@aicas.com>
* gnu/javax/swing/plaf/gnu/GNULookAndFeel.java
Moved from examples into gnu.javax.swing.. namespace.
* examples/gnu/classpath/examples/swing/GNULookAndFeel.java
Moved to gnu.javax.swing.. namespace.
* examples/gnu/classpath/examples/swing/Demo.java:
(themesMenu): New field. Used to disable theme switch in
non-Metal-L&Fs.
(mkMenuBar): Added L&F menu.
(ChangeThemeAction.actionPerformed): Only switch theme when
in Metal L&F.
(ChangeLAFAction): New class used for changing themes.
* javax/swing/UIManager.java
(installed): Added GNU L&F as installed L&F.
2006-03-16 Mark Wielaard <mark@klomp.org>
* examples/gnu/classpath/examples/swing/badge.png: Removed.
* examples/gnu/classpath/examples/icons/badge.png: Added.
* examples/gnu/classpath/examples/swing/DemoDesktop.java: Use badge
from icon directory.
2006-03-15 Thomas Fitzsimmons <fitzsim@redhat.com>
* examples/gnu/classpath/examples/awt/AnimationApplet.java: New
example.
* examples/gnu/classpath/examples/swing/FillRect.java: Likewise.
* examples/gnu/classpath/examples/awt/Demo.java: Add
AnimationApplet demo.
* examples/gnu/classpath/examples/swing/Demo.java: Add FillRect
demo.
2006-03-15 Thomas Fitzsimmons <fitzsim@redhat.com>
PR classpath/26486
* gnu/java/awt/peer/gtk/GtkCanvasPeer.java (getGraphics): Remove
method.
(handleEvent): Likewise.
* gnu/java/awt/peer/gtk/GtkComponentPeer.java (isInRepaint):
Remove field.
(beginNativeRepaint): Remove method.
(endNativeRepaint): Likewise.
(handleEvent): Call paintComponent and updateComponent.
(paintComponent): New method.
(updateComponent): Likewise.
(repaint): Return early if width or height is less than one.
(postExposeEvent): Remove isInRepaint reference.
* gnu/java/awt/peer/gtk/GtkContainerPeer.java: (getGraphics):
Remove method.
* gnu/java/awt/peer/gtk/GtkDialogPeer.java (getGraphics): Inherit
from GtkWindowPeer.
(postMouseEvent): Likewise.
(postExposeEvent): Likewise.
* gnu/java/awt/peer/gtk/GtkFileDialogPeer.java (updateComponent):
Override to do nothing.
* gnu/java/awt/peer/gtk/GtkFramePeer.java (getGraphics): Inherit
from GtkWindowPeer.
(postMouseEvent): Likewise.
(postExposeEvent): Likewise.
* gnu/java/awt/peer/gtk/GtkPanelPeer.java (handleEvent): Inherit
paint and update handling from GtkComponentPeer.
(updateComponent): Override to call paintComponent.
* native/jni/gtk-peer/gnu_java_awt_peer_gtk_GdkGraphics.c: Replace
gdk_flush calls with schedule_flush calls.
(flush): New function.
(schedule_flush): Likewise.
2006-03-15 Tom Tromey <tromey@redhat.com>
* java/beans/beancontext/BeanContextSupport.java (BCSChild): New
constructor.
(BCSIterator): Likewise.
* java/beans/beancontext/BeanContextServicesSupport.java (BCSSChild):
New constructor.
(BCSSProxyServiceProvider): Likewise.
(BCSSServiceProvider): Likewise.
2006-03-15 Tom Tromey <tromey@redhat.com>
* javax/sound/midi/Track.java (Track): New constructor.
(events): Now package-private.
* javax/sound/midi/MidiUnavailableException.java
(MidiUnavailableException): Removed invalid constructors.
* javax/sound/midi/MidiSystem.java (MidiSystem): New constructor.
* javax/sound/midi/InvalidMidiDataException.java
(InvalidMidiDataException): Removed invalid constructors.
* javax/sound/midi/Sequencer.java (hashCode): Now final.
* javax/sound/midi/SysexMessage.java (SysexMessage): Now protected.
* javax/sound/midi/ShortMessage.java (ShortMessage): Now protected.
(SYSTEM_EXCLUSIVE): Removed.
(getDataLength): Updated.
* javax/sound/midi/MidiDevice.java (Info): Now protected.
(equals): Now final
(getName): Now final.
(getVendor): Now final.
(getDescription): Likewise.
(hashCode): Likewise.
(getVersion): Likewise.
(toString): Likewise.
* javax/sound/midi/MetaMessage.java (MetaMessage): Now protected.
* javax/sound/sampled/ReverbType.java (getDecayTime): Now final.
(getEarlyReflectionDelay): Likewise.
(getEarlyReflectionIntensity): Likewise.
(getLateReflectionDelay): Likewise.
(getLateReflectionIntensity): Likewise.
(toString): Likewise.
* javax/sound/sampled/Port.java (toString): Now final.
* javax/sound/sampled/LineEvent.java (getFramePosition): Now final.
(getLine): Likewise.
(getType): Likewise.
* javax/sound/sampled/Mixer.java (Info): Now protected.
(getDescription): Now final.
(getName): Likewise.
(getVendor): Likewise.
(getVersion): Likewise.
(toString): Likewise.
* javax/sound/sampled/Control.java: Now abstract.
(Type.toString): Now final.
2006-03-15 Keith Seitz <keiths@redhat.com>
* gnu/classpath/jdwp/util/LineTable.java (lines): Remove all occurances
of this redundant variable.
(LineTable): Assert that the number of line numbers and the number of
code indicies is the same.
2006-03-15 Tom Tromey <tromey@redhat.com>
* javax/imageio/stream/ImageOutputStreamImpl.java (flushBits): Now
final.
* javax/imageio/stream/ImageOutputStream.java (flushBefore): Javadoc
fix.
* java/util/zip/ZipFile.java (ENDNRD): New constant.
* java/util/zip/ZipConstants.java (ENDNRD, ENDDCD): Removed.
* java/util/zip/Inflater.java (end): Not deprecated.
* java/util/zip/Deflater.java (end): Not deprecated.
* java/text/Bidi.java (Bidi): Now final.
* java/nio/MappedByteBuffer.java (finalize): Now protected.
2006-03-15 Keith Seitz <keiths@redhat.com>
* gnu/classpath/jdwp/util/Location.java: Rewrite using VMMethod.
(Location): Index is a long, not an int.
(getMethod): New method.
(getIndex): New method.
(toString): New method.
2006-03-15 Tom Tromey <tromey@redhat.com>
* java/awt/image/RescaleOp.java (getRenderingHints): Now final.
* java/awt/image/LookupOp.java (filter): Now final.
(getBounds2D): Likewise.
(getPoint2D): Likewise.
(getTable): Likewise.
(getRenderingHints): Likewise.
* java/awt/image/ConvolveOp.java (filter): Now final.
(getBounds2D): Likewise.
(getKernel): Likewise.
(getPoint2D): Likewise.
(getRenderingHints): Likewise.
* java/awt/image/BandCombineOp.java (getPoint2D): Now final.
(getMatrix): Likewise.
(getBounds2D): Likewise.
(getRenderingHints): Likewise.
* java/awt/image/AffineTransformOp.java (getPoint2D): Now final.
* java/awt/Button.java (AccessibleAWTButton.serialVersionUID): Now
private.
* java/awt/dnd/DropTargetContext.java (TransferableProxy): Now
protected.
* java/awt/dnd/DropTarget.java (DropTargetAutoScroller): Now
protected.
* java/awt/MenuItem.java (AccessibleAWTMenuItem): Now protected.
2006-03-15 Keith Seitz <keiths@redhat.com>
* gnu/classpath/jdwp/event/filters/LocationOnlyFilter.java:
Update javadoc.
(matches): Implement.
2006-03-15 Keith Seitz <keiths@redhat.com>
* gnu/classpath/jdwp/event/BreakpointEvent.java: New file.
* gnu/classpath/jdwp/exception/NativeMethodException.java: New file.
2006-03-15 Tom Tromey <tromey@redhat.com>
* java/lang/StrictMath.java (signum): New methods.
2006-03-15 Tom Tromey <tromey@redhat.com>
* .settings/org.eclipse.jdt.core.prefs: Set tabs to 8 spaces.
2006-03-15 Lillian Angel <langel@redhat.com>
PR classpath/24211
* native/jni/gtk-peer/gnu_java_awt_peer_gtk_GdkGraphics2D.c
(Java_gnu_java_awt_peer_gtk_GdkGraphics2D_cairoSurfaceSetFilterUnlocked):
Added check to avoid segmentation fault.
2006-03-15 Lillian Angel <langel@redhat.com>
* java/awt/Container.java
(getComponentAt): Fixed documentation.
(getComponentAt): Likewise.
2006-03-15 Roman Kennke <kennke@aicas.com>
* javax/swing/JComponent.java
(dragBuffer): New field.
(dragBufferInitialized): New field.
(paint): Added facility for buffered dragging of components.
(initializeDragBuffer): New method.
(getConditionForKeyStroke): Removed deprecated flag. Adjusted
API docs.
* javax/swing/plaf/basic/BasicInternalFrameUI.java
(BorderListener.mouseDragged): Turn on buffered dragging.
(BorderListener.mouseReleased): Turn off buffered dragging.
2006-03-15 Lillian Angel <langel@redhat.com>
* java/awt/Container.java
(getComponentAt): Fixed documentation.
(getComponentAt): Likewise.
(findComponentAt): Likewise.
(findComponentAt): Likewise.
2006-03-15 Roman Kennke <kennke@aicas.com>
* javax/swing/plaf/basic/BasicInternalFrameTitlePane.java
(PropertyChangeHandler.propertyChange): Call enableActions().
Fixed 'iconable' property name.
2006-03-15 Chris Burdess <dog@gnu.org>
Fixes PR 26700
* gnu/xml/stream/XMLParser.java: Fix for detectEncoding false positive.
2006-03-15 Roman Kennke <kennke@aicas.com>
* examples/gnu/classpath/examples/swing/Demo.java:
(desktop): New field.
(mkMenuBar): Added new subdemos.
(mkButtonWorld): Removed.
(CheckCellRenderer): Moved to ListDemo.
(LabelCellRenderer): Moved to ListDemo.
(mkTreeWorld): Moved to TreeDemo.
(mkDesktopWorld): Removed.
(mkTabWorld): Moved to TabbedPaneDemo.
(mkTabbedPane): Removed.
(Demo): Replaced 'worlds' tabbed pane with desktop.
(PopupAction): Made class non-static.
(PopupAction.actionPerformed): Bring up subdemos in internal
frame.
(mkButtonBar): Added new demos.
(createDesktop): New method.
* examples/gnu/classpath/examples/swing/DemoDesktop.java: New class.
* examples/gnu/classpath/examples/swing/ListDemo.java: New demo.
* examples/gnu/classpath/examples/swing/TreeDemo.java: New demo.
* examples/gnu/classpath/examples/swing/TabbedPaneDemo.java: New demo.
* examples/gnu/classpath/examples/swing/badge.png: New image file.
2006-03-15 Lillian Angel <langel@redhat.com>
* java/awt/Container.java
(getComponentAt): Fixed mistake in comments.
(getComponentAt): Likewise.
(locate): Likewise. Also, handled lightweight components.
Heavyweights take precedence over lightweights, so we should
iterate through the heavyweights first.
2006-03-15 Lillian Angel <langel@redhat.com>
* java/awt/Container.java
(getComponentAt): Added API documentation.
(getComponentAt): Likewise.
(locate): Likewise. Also, removed lines to ignore
invisible components.
(findComponentAt): Added API documentation.
(findComponentAt): Added API documentation.
(findComponentForMouseEvent): Removed, never used.
2006-03-15 Roman Kennke <kennke@aicas.com>
* javax/swing/Popup.java
(LightweightPopup.show): Repaint the panel after showing it.
2006-03-15 Lillian Angel <langel@redhat.com>
* java/awt/Component.java
(show): repaint should only be called if the component
isShowing and isLightweight.
2006-03-15 Roman Kennke <kennke@aicas.com>
* javax/swing/JInternalFrame.java
(setClosable): Made this property bound.
(setResizable): Made this property bound.
(setIconifiable): Made this property bound.
(setMaximizable): Made this property bound.
2006-03-15 David Gilbert <david.gilbert@object-refinery.com>
* javax/swing/table/TableColumn.java
(sizeWidthToFit): Implemented.
2006-03-15 David Gilbert <david.gilbert@object-refinery.com>
* javax/swing/table/TableColumn.java: API docs updated all over, plus
(setIdentifier): Fire required PropertyChangeEvent,
(setCellEditor): Likewise.
2006-03-15 Roman Kennke <kennke@aicas.com>
* examples/gnu/classpath/examples/swing/ButtonDemo.java,
* examples/gnu/classpath/examples/swing/ComboBoxDemo.java,
* examples/gnu/classpath/examples/swing/FileChooserDemo.java,
* examples/gnu/classpath/examples/swing/ProgressBarDemo.java,
* examples/gnu/classpath/examples/swing/ScrollBarDemo.java,
* examples/gnu/classpath/examples/swing/SliderDemo.java,
* examples/gnu/classpath/examples/swing/SpinnerDemo.java,
* examples/gnu/classpath/examples/swing/TableDemo.java,
* examples/gnu/classpath/examples/swing/TextAreaDemo.java,
* examples/gnu/classpath/examples/swing/TextFieldDemo.java:
Reworked to implemented DemoFactory and lazy loading of Sub-demos.
* examples/gnu/classpath/examples/swing/Demo.java:
Cleaned up. Reworked handling of Sub-demos to load lazily.
* examples/gnu/classpath/examples/swing/DemoFactory.java:
New interface. Used for loading the subdemos lazily.
2006-03-15 Roman Kennke <kennke@aicas.com>
* javax/swing/plaf/basic/BasicToolBarUI.java
(PropertyListener.propertyChange): Added null check to avoid NPE.
2006-03-14 David Gilbert <david.gilbert@object-refinery.com>
* javax/swing/table/TableColumn.java
(COLUMN_WIDTH_PROPERTY): Updated API docs,
(width): Likewise.
(minWidth): Likewise,
(preferredWidth): Likewise,
(maxWidth): Likewise,
(headerRenderer): Likewise,
(cellRenderer): Likewise,
(cellEditor): Likewise,
(changeSupport): Likewise,
(firePropertyChange(String, Object, Object)): Removed,
(firePropertyChange(String, int. int)): Likewise,
(firePropertyChange(String, boolean, boolean)): Likewise,
(setModelIndex): Fire property change,
(setHeaderValue): Call changeSupport directly to generate event,
(setHeaderRenderer): Likewise,
(setCellRenderer): Likewise,
(setWidth): Likewise,
(setPreferredWidth): Likewise,
(setMinWidth): Likewise,
(setMaxWidth): Likewise,
(createDefaultHeaderRenderer): Added API docs.
2006-03-14 Roman Kennke <kennke@aicas.com>
* examples/gnu/classpath/examples/swing/Demo.java
Removed static initializer.
(mkMenuBar): Made method non-static. Added themes menu.
(ChangeThemeAction): New inner class, used to change themes.
2006-03-14 David Gilbert <david.gilbert@object-refinery.com>
* javax/swing/table/TableColumn.java
(setMaxWidth): Updated width and preferredWidth if necessary,
(getMaxWidth): Updated API docs.
2006-03-14 Roman Kennke <kennke@aicas.com>
* javax/swing/plaf/basic/BasicSliderUI.java
(TrackListener.mouseDragged): Only process event when slider is
enabled.
(TrackListener.mouseReleased): Only process event when slider is
enabled.
(TrackListener.mousePressed): Only process event when slider is
enabled.
2006-03-14 Roman Kennke <kennke@aicas.com>
* NEWS: Added note about OceanTheme support.
2006-03-14 Roman Kennke <kennke@aicas.com>
* javax/swing/plaf/metal/MetalIconFactory.java
(HorizontalSliderThumbIcon.gradientMask): New field
(HorizontalSliderThumbIcon.paintIcon): Added support for the
OceanTheme.
(VerticalSliderThumbIcon.gradientMask): New field
(VerticalSliderThumbIcon.paintIcon): Added support for the
OceanTheme.
* javax/swing/plaf/metal/MetalUtils.java
(paintHorizontalGradient): Fixed painting of 'masked' gradients.
(paintVerticalGradient): Fixed painting of 'masked' gradients.
2006-03-14 Mark Wielaard <mark@klomp.org>
Fixes bug #26641
* java/awt/LightweightDispatcher.java (dispatchEvent): Return result
of handleMouseEvent.
(handleMouseEvent): Return boolean to indicate whether we handled the
event by passing it to a lightweight.
2006-03-14 Wolfgang Baer <WBaer@gmx.de>
* org/omg/PortableInterceptor/ORBInitInfoPackage/ObjectIdHelper.java,
* org/omg/PortableServer/ServantActivatorPOA.java,
* org/omg/PortableServer/ServantLocatorPOA.java:
Make class abstract and minor api docs fixlets.
* org/omg/PortableServer/ForwardRequest.java,
* org/omg/PortableServer/ServantLocatorPackage/CookieHolder.java,
* org/omg/PortableServer/POAPackage/AdapterAlreadyExists.java,
* org/omg/PortableServer/POAPackage/AdapterNonExistent.java,
* org/omg/PortableServer/POAPackage/InvalidPolicy.java,
* org/omg/PortableServer/POAPackage/NoServant.java,
* org/omg/PortableServer/POAPackage/ObjectAlreadyActive.java,
* org/omg/PortableServer/POAPackage/ObjectNotActive.java,
* org/omg/PortableServer/POAPackage/ServantAlreadyActive.java,
* org/omg/PortableServer/POAPackage/ServantNotActive.java,
* org/omg/PortableServer/POAPackage/WrongAdapter.java,
* org/omg/PortableServer/POAPackage/WrongPolicy.java,
* org/omg/PortableServer/POAManagerPackage/AdapterInactive.java,
* org/omg/PortableInterceptor/ORBInitInfoPackage/InvalidName.java,
* org/omg/PortableInterceptor/ORBInitInfoPackage/DuplicateName.java,
* org/omg/PortableServer/CurrentPackage/NoContext.java: Make class final.
2006-03-14 Wolfgang Baer <WBaer@gmx.de>
* NEWS: Added entry about printing support.
2006-03-14 David Gilbert <david.gilbert@object-refinery.com>
* javax/swing/table/TableColumn.java
(COLUMN_WIDTH_PROPERTY): Updated API docs,
(isResizable): Likewise,
(setWidth): Likewise,
(getWidth): Likewise,
(setPreferredWidth): Likewise,
(getPreferredWidth): Likewise,
(setMinWidth): Check for negative argument and update width and
preferredWidth if necessary,
(getMinWidth): Updated API docs.
2006-03-14 Lillian Angel <langel@redhat.com>
* java/awt/Container.java
(addImpl): Removed call to repaint. No need to repaint here.
2006-03-14 Roman Kennke <kennke@aicas.com>
* javax/swing/plaf/metal/MetalSliderUI.java
(paintTrack): Added OceanTheme support.
2006-03-14 David Gilbert <david.gilbert@object-refinery.com>
* javax/swing/table/TableColumn.java
(setResizable): Fire PropertyChangeEvent if the flag value changes,
(isResizable): Updated API docs.
2006-03-14 David Gilbert <david.gilbert@object-refinery.com>
* javax/swing/LookAndFeel.java: Updated API docs.
2006-03-14 Roman Kennke <kennke@aicas.com>
* javax/swing/plaf/metal/MetalUtils.java
(paintGradient): Added support for 'masked' gradients.
(paintHorizontalGradient): Likewise.
(paintVerticalGradient): Likewise.
* javax/swing/plaf/metal/MetalIconFactory.java
(RadioButtonIcon.gradientMask): New field.
(RadioButtonIcon.paintIcon): Added mask for gradient painting.
2006-03-14 Mark Wielaard <mark@klomp.org>
Fixes bug #26645.
* javax/swing/plaf/basic/BasicComboBoxEditor.java (listener):
New field.
(removeActionListener): Add listener to ComboBoxEditorListener.
(removeActionListener): Remove listener from ComboBoxEditorListener.
(ComboBoxEditorListener): New static helper class.
2006-03-14 Roman Kennke <kennke@aicas.com>
* javax/swing/plaf/metal/MetalBorders.java
(getToolBarButtonBorder): Don't create a UIResource border
here.
* javax/swing/plaf/metal/MetalToolBarUI.java
(installUI): New overridden method. Installs the rollover property.
(uninstallUI): New overridden method. Resets the rollover property.
* javax/swing/plaf/metal/MetalUtils.java
(paintGradient): Fetch Float values from the UIManager. Adjusted
method signatures accordingly.
(paintHorizontalGradient): Adjusted signature to accept float
instead of double.
(paintVerticalGradient): Adjusted signature to accept float
instead of double.
* javax/swing/plaf/metal/OceanTheme.java
(addCustomEntriesToTable): Added missing UIDefaults entries,
except of Icons. Fixed gradient entries to use Float instead
of Double.
2006-03-14 Roman Kennke <kennke@aicas.com>
* javax/swing/JInternalFrame.java
(JInternalFrame): Make JInternalFrame opaque.
* javax/swing/JToolBarFrame.java
(JToolBar): Make JToolBar opaque.
2006-03-14 David Gilbert <david.gilbert@object-refinery.com>
* javax/swing/tree/TreeNode.java: Fixed bad API doc tags,
* javax/swing/tree/TreePath.java: Likewise.
2006-03-13 Tom Tromey <tromey@redhat.com>
* javax/swing/text/html/StyleSheet.java (removeAttributes):
Genericized.
* javax/swing/plaf/synth/SynthLookAndFeel.java (load): Genericized.
* java/rmi/server/RMIClassLoader.java (loadProxyClass): Genericized.
2006-03-13 Keith Seitz <keiths@redhat.com>
* gnu/classpath/jdwp/processor/ReferenceTypeCommandSet.java
(executeMethods): Output number of methods.
2006-03-13 Roman Kennke <kennke@aicas.com>
* javax/swing/plaf/basic/BasicButtonUI.java
(uninstallDefaults): Only uninstall border if it's a UIResource.
* javax/swing/plaf/basic/BasicInternalFrameTitlePane.java
(SystemMenuBar.isFocusTraversable): Fixed typo in signature.
* javax/swing/plaf/basic/BasicInternalFrameUI.java
(installUI): Don't touch the opaque flag of the glassPane and
the frame. Don't invalidate.
* javax/swing/plaf/basic/BasicInternalFrameUI.java
(installUI): Don't touch the opaque flag of the glassPane.
* javax/swing/plaf/basic/BasicMenuBarUI.java
(properyChangeListener): Made field private.
(ChangeHandler): Made class private.
(ContainerHandler): Made class private.
(PropertyChangeHandler): Made class private.
* javax/swing/plaf/basic/BasicMenuUI.java
(MenuHandler): Made class private.
(PropertyChangeHandler): Removed unneeded class.
(MenuDragMouseHandler): Made class private.
(MenuKeyHandler): Made class private.
* javax/swing/plaf/basic/BasicPanelUI.java
(installDefaults): Made method protected. Don't set opaque
flag.
* javax/swing/plaf/basic/BasicScrollBarUI.java
(TrackListener.shouldScroll): Made method private.
* javax/swing/plaf/basic/BasicSplitPaneUI.java
(BasicHorizontalLayoutManager.BasicHorizontalLayoutManager):
Made constructor package private.
* javax/swing/plaf/basic/BasicTableHeaderUI.java
(cellBorder): Made field private.
* javax/swing/plaf/basic/BasicTextUI.java
(installDefaults): Don't make component opaque.
* javax/swing/plaf/basic/BasicToolBarUI.java
(createNonRollOverBorder): Don't create UIResource border.
(createRollOverBorder): Don't create UIResource border.
(installComponents): Moved setRolloverBorders call here.
(installDefaults): Moved setRolloverBorders call from here.
(installUI): Don't make toolbar opaque.
(setBorderToNonRollover): Handle AbstractButton instead of
JButton here.
(uninstallComponents): Don't nullify class fields here.
2006-03-13 David Gilbert <david.gilbert@object-refinery.com>
* javax/swing/SwingUtilities.java
(calculateInnerArea): handle null component, and replace
getLocalBounds() with getBounds(Rectangle) to avoid unnecessary object
creation.
2006-03-13 Roman Kennke <kennke@aicas.com>
* javax/swing/JColorChooser.java
(updateUI): Don't call revalidate().
* javax/swing/JComboBox.java
(updateUI): Don't call invalidate().
* javax/swing/JDesktopPane.java
(updateUI): Don't call invalidate().
* javax/swing/JFileChooser.java
(updateUI): Don't call revalidate().
* javax/swing/JMenu.java
(updateUI): Don't call invalidate().
* javax/swing/JMenuBar.java
(updateUI): Don't call invalidate().
* javax/swing/JMenuItem.java
(updateUI): Don't call invalidate().
* javax/swing/JOptionPane.java
(updateUI): Don't call invalidate().
* javax/swing/JPopupMenu.java
(updateUI): Don't call invalidate().
* javax/swing/JProgressBar.java
(updateUI): Don't call invalidate().
* javax/swing/JScrollBar.java
(updateUI): Don't call invalidate() and repaint().
* javax/swing/JScrollPane.java
(updateUI): Rewritten to be like the other updateUI()
methods.
* javax/swing/JSlider.java
(updateUI): Don't call invalidate() and repaint().
* javax/swing/JSplitPane.java
(updateUI): Don't call invalidate() and repaint().
* javax/swing/JTabbedPane.java
(updateUI): Don't call invalidate().
* javax/swing/JTable.java
(updateUI): Don't call revalidate() and repaint().
* javax/swing/JToolBar.java
(updateUI): Don't call revalidate() and repaint().
* javax/swing/JToolTip.java
(updateUI): Don't call revalidate() and repaint().
2006-03-13 Roman Kennke <kennke@aicas.com>
* javax/swing/SwingUtilities.java
(updateComponentTreeUI): Rewritten to be more robust. Handling of
menus and non-Swing components is improved.
(updateComponentTreeUIImpl): New helper method.
(replaceUIActionMap): Added check for uiActionMap==parent to
avoid loop.
(replaceUIInputMap): Added check for uiInputMap==parent to
avoid loop.
2006-03-13 Wolfgang Baer <WBaer@gmx.de>
* gnu/classpath/debug/Component.java:
(IPP) New component for IPP debugging.
(EVERYTHING): Adapted to include IPP.
* javax/print/PrintServiceLookup.java:
(registerServiceProvider): New method.
(registerService): Likewise.
(lookupPrintServices): Likewise.
(lookupMultiDocPrintServices): Likewise.
(lookupDefaultPrintService): Likewise.
(static_initializer): Likewise.
(printServiceLookups): New field for found service providers.
(printServices): New field for application registered providers.
(systemProvider): New field for the system provider.
* javax/print/ServiceUI.java: New file.
* javax/print/package.html: Added more usage content.
* javax/print/event/package.html: Likewise.
* javax/print/attribute/package.html: Likewise.
* javax/print/attribute/standard/package.html: Likewise.
* gnu/javax/print/PrintUriException.java,
gnu/javax/print/PrintFlavorException.java,
gnu/javax/print/PrinterDialog.java,
gnu/javax/print/PrintAttributeException.java,
gnu/javax/print/CupsPrintServiceLookup.java,
gnu/javax/print/CupsServer.java,
gnu/javax/print/CupsPrintService.java,
gnu/javax/print/CupsMediaMapping.java,
gnu/javax/print/CupsIppOperation.java:
New implementation files of the Java Print Service API.
* gnu/javax/print/ipp/IppValueTag.java,
gnu/javax/print/ipp/MultiDocPrintJobImpl.java,
gnu/javax/print/ipp/IppStatusCode.java,
gnu/javax/print/ipp/IppUtilities.java,
gnu/javax/print/ipp/IppResponse.java,
gnu/javax/print/ipp/IppException.java,
gnu/javax/print/ipp/IppPrintService.java,
gnu/javax/print/ipp/IppRequest.java,
gnu/javax/print/ipp/IppMultiDocPrintService.java,
gnu/javax/print/ipp/IppDelimiterTag.java,
gnu/javax/print/ipp/DocPrintJobImpl.java:
New files of the IPP client implementation.
* gnu/javax/print/ipp/attribute/UnknownAttribute.java,
gnu/javax/print/ipp/attribute/StatusMessage.java,
gnu/javax/print/ipp/attribute/RequestedAttributes.java,
gnu/javax/print/ipp/attribute/NaturalLanguageSyntax.java,
gnu/javax/print/ipp/attribute/DocumentAccessError.java,
gnu/javax/print/ipp/attribute/DetailedStatusMessage.java,
gnu/javax/print/ipp/attribute/DefaultValueAttribute.java,
gnu/javax/print/ipp/attribute/CharsetSyntax.java:
New attribute syntax/role files of the printing implementation.
* gnu/javax/print/ipp/attribute/supported/UriSecuritySupported.java,
gnu/javax/print/ipp/attribute/supported/UriAuthenticationSupported.java,
gnu/javax/print/ipp/attribute/supported/SidesSupported.java,
gnu/javax/print/ipp/attribute/supported/PrintQualitySupported.java,
gnu/javax/print/ipp/attribute/supported/PrinterUriSupported.java,
gnu/javax/print/ipp/attribute/supported/PrinterResolutionSupported.java,
gnu/javax/print/ipp/attribute/supported/PageRangesSupported.java,
gnu/javax/print/ipp/attribute/supported/
OrientationRequestedSupported.java,
gnu/javax/print/ipp/attribute/supported/OperationsSupported.java,
gnu/javax/print/ipp/attribute/supported/
MultipleDocumentHandlingSupported.java,
gnu/javax/print/ipp/attribute/supported/
MultipleDocumentJobsSupported.java,
gnu/javax/print/ipp/attribute/supported/MediaSupported.java,
gnu/javax/print/ipp/attribute/supported/JobSheetsSupported.java,
gnu/javax/print/ipp/attribute/supported/JobHoldUntilSupported.java,
gnu/javax/print/ipp/attribute/supported/IppVersionsSupported.java,
gnu/javax/print/ipp/attribute/supported/
GeneratedNaturalLanguageSupported.java,
gnu/javax/print/ipp/attribute/supported/FinishingsSupported.java,
gnu/javax/print/ipp/attribute/supported/DocumentFormatSupported.java,
gnu/javax/print/ipp/attribute/supported/CompressionSupported.java,
gnu/javax/print/ipp/attribute/supported/CharsetSupported.java:
New supported attribute files.
* gnu/javax/print/ipp/attribute/printer/CharsetConfigured.java,
gnu/javax/print/ipp/attribute/printer/DocumentFormat.java,
gnu/javax/print/ipp/attribute/printer/MultipleOperationTimeOut.java,
gnu/javax/print/ipp/attribute/printer/NaturalLanguageConfigured.java,
gnu/javax/print/ipp/attribute/printer/PrinterCurrentTime.java,
gnu/javax/print/ipp/attribute/printer/PrinterDriverInstaller.java,
gnu/javax/print/ipp/attribute/printer/PrinterStateMessage.java,
gnu/javax/print/ipp/attribute/printer/PrinterUpTime.java:
New printer description attribute files.
* gnu/javax/print/ipp/attribute/job/AttributesCharset.java,
gnu/javax/print/ipp/attribute/job/AttributesNaturalLanguage.java,
gnu/javax/print/ipp/attribute/job/JobDetailedStatusMessages.java,
gnu/javax/print/ipp/attribute/job/JobDocumentAccessErrors.java,
gnu/javax/print/ipp/attribute/job/JobPrinterUri.java,
gnu/javax/print/ipp/attribute/job/JobId.java,
gnu/javax/print/ipp/attribute/job/JobMoreInfo.java,
gnu/javax/print/ipp/attribute/job/JobUri.java,
gnu/javax/print/ipp/attribute/job/JobStateMessage.java:
New job description attribute files.
* gnu/javax/print/ipp/attribute/defaults/CopiesDefault.java,
gnu/javax/print/ipp/attribute/defaults/DocumentFormatDefault.java,
gnu/javax/print/ipp/attribute/defaults/FinishingsDefault.java,
gnu/javax/print/ipp/attribute/defaults/JobHoldUntilDefault.java,
gnu/javax/print/ipp/attribute/defaults/JobPriorityDefault.java,
gnu/javax/print/ipp/attribute/defaults/JobSheetsDefault.java,
gnu/javax/print/ipp/attribute/defaults/MediaDefault.java,
gnu/javax/print/ipp/attribute/defaults/
MultipleDocumentHandlingDefault.java,
gnu/javax/print/ipp/attribute/defaults/NumberUpDefault.java,
gnu/javax/print/ipp/attribute/defaults/OrientationRequestedDefault.java,
gnu/javax/print/ipp/attribute/defaults/PrinterResolutionDefault.java,
gnu/javax/print/ipp/attribute/defaults/PrintQualityDefault.java,
gnu/javax/print/ipp/attribute/defaults/SidesDefault.java:
New default printing attribute files.
* resource/gnu/javax/print/PrinterDialog.properties: New file.
* resource/gnu/javax/print/PrinterDialog_de.properties: Likewise.
* examples/gnu/classpath/examples/print/Demo.java:
New demo application of the current implemented functionality.
2006-03-13 Audrius Meskauskas <AudriusA@Bioinformatics.org>
* java/rmi/activation/ActivationGroupDesc.java: Implemented.
java/rmi/activation/ActivationDesc.java.java,
java/rmi/activation/ActivationGroup.java,
java/rmi/activation/ActivationID.java,
java/rmi/activation/ActivationMonitor.java,
java/rmi/activation/ActivationSystem.java,
java/rmi/activation/package.html: Documenting.
2006-03-13 Roman Kennke <kennke@aicas.com>
* javax/swing/JInternalFrame.java
(setSelected): Repaint frame when it is showing and the selection
state changes.
2006-03-13 Roman Kennke <kennke@aicas.com>
* javax/swing/AbstractButton.java
(AbstractAccessibleButton.getAccessibleRelationSet): Return super....()
instead of null.
2006-03-13 Roman Kennke <kennke@aicas.com>
* javax/accessibility/AccessibleContext.java
(getAccessibleRelationSet): Return empty set instead of null.
2006-03-13 Roman Kennke <kennke@aicas.com>
* javax/swing/ImageIcon.java
(loadImage): Remove completed images from the MediaTracker. This
avoids a potential memory leak.
2006-03-12 Wolfgang Baer <WBaer@gmx.de>
* javax/print/MultiDocPrintService.java,
* javax/print/MultiDocPrintJob.java,
* javax/print/MultiDoc.java: Added and enhanced documentation.
2006-03-12 Audrius Meskauskas <AudriusA@Bioinformatics.org>
* java/rmi/activation/ActivationID.java (uid): New field.
(writeExternal, readExternal): New methods.
(equals, hashCode): Rewritten.
* java/rmi/activation/ActivationInstantiator.java,
* java/rmi/activation/ActivationSystem.java,
* java/rmi/activation/Activator.java,
* java/rmi/activation/Activatable.java,
* java/rmi/activation/ActivationGroup.java,
* java/rmi/activation/ActivationGroupDesc.java:
Documented and autoformatted.
* java/rmi/activation/package.html: Added content.
2006-03-12 Chris Burdess <dog@gnu.org>
Fixes PR 26652
* gnu/xml/stream/XMLParser.java: Fix for case when both reader and
encoding are specified.
2006-03-11 David Gilbert <david.gilbert@object-refinery.com>
* javax/swing/DefaultSingleSelectionModel.java: API docs all over, plus
(changeEvent): Initialise in fireStateChange(),
(setSelectedIndex): Check if change is made before firing event,
(clearSelection): Delegate to setSelectedIndex(),
(fireStateChanged): Initialise changeEvent if necessary,
* javax/swing/SingleSelectionModel.java: API docs all over.
2006-03-11 Tom Tromey <tromey@redhat.com>
* java/util/zip/InflaterInputStream.java: Reverted previous
patch.
2006-03-11 Mark Wielaard <mark@klomp.org>
* java/text/AttributedCharacterIterator.java (Attribute.readResolve):
Compare name.
2006-03-11 David Gilbert <david.gilbert@object-refinery.com>
* javax/swing/event/TreeSelectionEvent.java
(isAddedPath(TreePath)): Throw IllegalArgumentException if path is
not one of the added/removed paths,
(cloneWithSource): Reformatted.
2006-03-11 David Gilbert <david.gilbert@object-refinery.com>
* javax/swing/tree/TreeCellEditor.java: Added API docs,
* javax/swing/tree/TreeCellRenderer.java: Likewise.
2006-03-10 Casey Marshall <csm@gnu.org>
Fixes PR 23768.
* javax/crypto/Cipher.java (doFinal, doFinal, doFinal): don't
reset `state.'
(doFinal, update): new methods.
(init, init, init, init): initialize `state' after trying the
implementation, which can throw an exception.
* javax/crypto/CipherSpi.java (engineDoFinal, engineUpdate): new
methods.
2006-03-11 Ito Kazumitsu <kaz@maczuka.gcd.org>
* gnu/regexp/BacktrackStack.java: New file.
* gnu/regexp/RE.java(findMatch): New method.
* gnu/regexp/REMatch.java(next,matchFlags,MF_FIND_ALL,
REMatchList): Removed. (backtrackStack): New field.
* gnu/regexp/REToken.java(match): Changed from an abstract
method to an ordinary method defined with the new method
matchThis. (matchThis, getNext, findMatch, returnsFixedLengthMatches,
findFixedLengthMatches, backtrack, toString): New methods.
* gnu/regexp/RETokenAny.java: Inplemented new methods of REToken.
* gnu/regexp/RETokenBackRef.java: Likewise.
* gnu/regexp/RETokenChar.java: Likewise.
* gnu/regexp/RETokenEnd.java: Likewise.
* gnu/regexp/RETokenEndSub.java: Likewise.
* gnu/regexp/RETokenIndependent.java: Likewise.
* gnu/regexp/RETokenLookAhead.java: Likewise.
* gnu/regexp/RETokenLookBehind.java: Likewise.
* gnu/regexp/RETokenNamedProperty.java: Likewise.
* gnu/regexp/RETokenPOSIX.java: Likewise.
* gnu/regexp/RETokenRange.java: Likewise.
* gnu/regexp/RETokenStart.java: Likewise.
* gnu/regexp/RETokenWordBoundary.java: Likewise
* gnu/regexp/RETokenOneOf.java: Rewriten.
* gnu/regexp/RETokenRepeated.java: Rewriten.
2006-03-10 Roman Kennke <kennke@aicas.com>
* javax/swing/plaf/metal/MetalBorders.java
(RolloverButtonBorder.paintBorder): Only call super here.
* javax/swing/plaf/metal/MetalButtonListener.java
(propertyChange): Only call super here.
* javax/swing/plaf/metal/MetalButtonUI.java
(update): Changed condition from isOpaque() to isContentAreaFilled()
for the gradient fill.
* javax/swing/plaf/metal/MetalToggleButtonUI.java
(paintText): API doc fix. Makes paintText not deprecated as specified
but adds comment that this is obsolete.
* javax/swing/plaf/metal/MetalUtils.java
(fillMetalPattern): Fixed condition so that the Java2D is not
used when the noGraphics2D property is set.
2006-03-10 Roman Kennke <kennke@aicas.com>
* javax/swing/plaf/metal/MetalLookAndFeel.java
(createDefaultTheme): Set OceanTheme as default metal theme.
2006-03-10 Roman Kennke <kennke@aicas.com>
* javax/swing/text/WrappedPlainView.java
(metrics): Made field package private to avoid accessor method.
(WrappedLine.paint): Call drawLine with y offset of the font ascent.
The drawLine (righly) interprets the y parameter as the baseline.
* javax/swing/text/Utilities.java
(getBreakLocation): Don't consider the offset. The returned value
for getTabbedTextOffset is already relative to the offset.
2006-03-10 Wolfgang Baer <WBaer@gmx.de>
* gnu/java/net/protocol/http/Headers.java: Added documentation all over.
(dateFormat): Made private.
(put): Replace only the last occurance and the value.
(putAll): Save one iteration. Clarified documentation.
2006-03-10 Tom Tromey <tromey@redhat.com>
* java/util/zip/InflaterInputStream.java (read): Replace with libgcj
implementation.
* java/util/zip/GZIPInputStream.java (readHeader): Use DEFLATED,
not '8'.
2006-03-10 Lillian Angel <langel@redhat.com>
* native/jni/gtk-peer/gnu_java_awt_peer_gtk_GtkCheckboxGroupPeer.c
(comboboxgroup_get_widget): New function.
(removed): Fixed to use new function to get the correct widget.
* native/jni/gtk-peer/gnu_java_awt_peer_gtk_GtkCheckboxPeer.c
(nativeSetCheckboxGroup): Reverted last patch to use get_widget
function.
2006-03-10 Lillian Angel <langel@redhat.com>
* java/awt/GridBagLayout.java
(ArrangeGrid): Added checks to determine if component
is placed last in a row or column. If so, the location
of the last component should be used to get the location
of the current component.
2006-03-10 Lillian Angel <langel@redhat.com>
* native/jni/gtk-peer/gnu_java_awt_peer_gtk_GtkCheckboxPeer.c
(nativeSetCheckboxGroup): No need to use new function here.
Should just pass in pointer.
2006-03-10 Lillian Angel <langel@redhat.com>
* java/awt/GridBagLayout.java
(distributeSizeAndWeight): Change else if to else. This
allows for components to be added to a new row when
their gridheight is REMAINDER.
2006-03-10 Audrius Meskauskas <AudriusA@Bioinformatics.org>
* java/rmi/activation/ActivationDesc.java,
java/rmi/activation/ActivationGroupID.java,
java/rmi/activation/Activator.java,
java/rmi/server/Operation.java,
java/rmi/server/RemoteServer.java: Documented and formatted.
2006-03-10 David Gilbert <david.gilbert@object-refinery.com>
* javax/swing/JToggleButton.java: Fixed API doc tags,
* javax/swing/OverlayLayout.java: Likewise.
2006-03-10 David Gilbert <david.gilbert@object-refinery.com>
* javax/swing/DefaultCellEditor.java
(cancelCellEditing): Removed spurious API doc tag.
2006-03-10 Lillian Angel <langel@redhat.com>
* native/jni/gtk-peer/gnu_java_awt_peer_gtk_GtkCheckboxPeer.c
(create): Put checkbox widget into an event box so it paints properly.
(connectSignals): Fixed to use new function.
(nativeSetCheckboxGroup): Likewise.
(gtkToggleButtonSetActive): Likewise.
(gtkWidgetModifyFont): Likewise.
(gtkButtonSetLabel): Likewise.
(combobox_get_widget): New function.
2006-03-10 David Gilbert <david.gilbert@object-refinery.com>
* javax/swing/text/rtf/package.html: New file.
2006-03-10 Roman Kennke <kennke@aicas.com>
* javax/swing/plaf/metal/OceanTheme.java
(addCustomEntriesToTable): Fixed ScrollBar.gradient value.
* javax/swing/plaf/metal/MetalScrollBarUI.java
(paintThumb): Only draw Metal pattern if theme is not OceanTheme.
(paintThumbHorizontal): Added handling of OceanTheme.
(paintThumbVertical): Added handling of OceanTheme.
2006-03-10 Roman Kennke <kennke@aicas.com>
Reported by Fridjof Siebert <siebert@aicas.com>
* java/awt/MediaTracker.java
(removeImage): Only set prev to e when the the images of the
entries are not the same. This avoids a potentially corrupt list.
2006-03-10 Chris Burdess <dog@gnu.org>
PR 26620:
* gnu/xml/transform/TransformerImpl.java: Suspend wellformedness
checking while reindenting.
2006-03-10 Thomas Fitzsimmons <fitzsim@redhat.com>
* javax/imageio/plugins/jpeg/JPEGHuffmanTable.java: New file.
2006-03-09 Tom Tromey <tromey@redhat.com>
PR classpath/26585:
* tools/Makefile.am (TOOLSdir): Don't put tools.zip in tools
subdir. Added README.
(install-data-local): Removed.
(uninstall-local): Likewise.
(EXTRA_DIST): Removed.
2006-03-09 Tom Tromey <tromey@redhat.com>
PR classpath/26623:
* native/jni/qt-peer/Makefile.am (nativeexeclib_LTLIBRARIES):
Renamed.
* native/jni/midi-alsa/Makefile.am (nativeexeclib_LTLIBRARIES):
Renamed.
* native/jni/java-net/Makefile.am (nativeexeclib_LTLIBRARIES):
Renamed.
* native/jni/java-lang/Makefile.am (nativeexeclib_LTLIBRARIES):
Renamed.
* native/jni/xmlj/Makefile.am (nativeexeclib_LTLIBRARIES):
Renamed.
* native/jni/gtk-peer/Makefile.am (nativeexeclib_LTLIBRARIES):
Renamed.
* native/jni/midi-dssi/Makefile.am (nativeexeclib_LTLIBRARIES):
Renamed.
* native/jni/java-io/Makefile.am (nativeexeclib_LTLIBRARIES):
Renamed.
* native/jni/java-nio/Makefile.am (nativeexeclib_LTLIBRARIES):
Renamed.
* native/jni/java-util/Makefile.am (nativeexeclib_LTLIBRARIES):
Renamed.
* native/jawt/Makefile.am (nativeexeclib_LTLIBRARIES): Renamed.
* configure.ac (nativeexeclibdir): Renamed from nativelibdir.
2006-03-09 Keith Seitz <keiths@redhat.com>
* gnu/classpath/jdwp/processor/MethodCommandSet.java
(executeVariableTable): Use VMMethod instead of reflection.
(executeLineTable): Likewise.
* gnu/classpath/jdwp/processor/ReferenceTypeCommandSet.java
(executeMethods): Rewrite to use new VMVirtualMachine.getAllClassMethods.
* vm/reference/gnu/classpath/jdwp/VMVirtualMachine.java
(getLineTable): Removed. Now resides in VMMethod.
(getVarTable): Likewise.
(getAllClassMethods): New method.
2006-03-09 Keith Seitz <keiths@redhat.com>
* gnu/classpath/jdwp/event/EventManager.java: Update javadoc.
* gnu/classpath/jdwp/event/ThreadStartEvent.java
(ThreadStartEvent): Likewise.
* gnu/classpath/jdwp/event/VmDeathEvent.java (VmDeathEvent): Likewise.
* gnu/classpath/jdwp/event/filters/ConditionalFilter.java
(ConditionalFilter): Likewise.
* gnu/classpath/jdwp/event/filters/ExceptionOnlyFilter.java
(ExceptionOnlyFilter): Likewise.
* gnu/classpath/jdwp/event/filters/FieldOnlyFilter.java
(FieldOnlyFilter): Likewise.
* gnu/classpath/jdwp/event/filters/StepFilter.java (getDepth): Likewise.
(getSize): Likewise.
(StepFilter): Likewise.
* gnu/classpath/jdwp/id/JdwpId.java: Likewise (for _tag).
* gnu/classpath/jdwp/transport/JdwpPacket.java
(JdwpPacket): Likewise.
(fromBytes): Likewise.
* gnu/classpath/jdwp/transport/JdwpReplyPacket.java
(JdwpReplyPacket): Likewise.
* gnu/classpath/jdwp/util/Value.java (getUntaggedObj): Likewise.
* vm/reference/gnu/classpath/jdwp/VMIdManager.java
(getReferenceType): Likewise.
(newObjectId): Likewise.
* vm/reference/gnu/classpath/jdwp/VMMethod.java (readId): Likewise.
* vm/reference/gnu/classpath/jdwp/VMVirtualMachine.java
(getFrames): Fix typo in parameter name and update javadoc.
(getClassMethod): Update javadoc.
2006-03-09 David Gilbert <david.gilbert@object-refinery.com>
* javax/swing/event/TreeSelectionEvent.java: Updated API docs,
* javax/swing/event/TreeSelectionListener.java: Likewise.
2006-03-09 Lillian Angel <langel@redhat.com>
* native/jni/gtk-peer/gnu_java_awt_peer_gtk_GtkScrollPanePeer.c
(getHScrollbarHeight): Fixed property name.
(getVScrollbarHeight): Likewise.
2006-03-09 Lillian Angel <langel@redhat.com>
* native/jni/gtk-peer/gnu_java_awt_peer_gtk_GtkComponentPeer.c
(get_widget): New function.
(gtkWidgetSetParent): Changed to use new function.
(gtkWidgetSetCursorUnlocked): Likewise.
(gtkWidgetSetSensitive): Likewise.
(gtkWidgetRequestFocus): Likewise.
(gtkWindowGetLocationOnScreen): Likewise.
(gtkWidgetGetDimensions): Likewise.
(gtkWidgetGetPreferredDimensions): Likewise.
(setNativeBounds): Likewise.
(gtkWidgetGetBackground): Likewise.
(gtkWidgetGetForeground): Likewise.
(gtkWidgetSetBackground): Likewise.
(gtkWidgetSetForeground): Likewise.
(setVisibleNativeUnlocked): Likewise.
(isEnabled): Likewise.
(isRealized): Likewise.
(setNativeEventMask): Likewise.
2006-03-09 Lillian Angel <langel@redhat.com>
PR Classpath\22163
* native/jni/gtk-peer/gnu_java_awt_peer_gtk_GtkChoicePeer.c
(create): Added combobox widget to an event box.
(connectSignals): Added call to choice_get_widget to get the
combobox out of the event box.
(append): Likewise.
(nativeRemoveAll): Likewise.
(nativeRemove): Likwise.
(nativeAdd): Likewise.
(selectNative): Likewise.
(choice_get_widget): New function.
* native/jni/gtk-peer/gnu_java_awt_peer_gtk_GtkListPeer.c
(create): Added list scroll window widget to an event box.
(connectSignals): Changed call to use new function to get the
correct widget out of the event box.
(getWidgetModifyFont): Likewise.
(getWidgetRequestFocus): Likewise.
(append): Likewise.
(add): Likewise.
(delItems): Likewise.
(select): Likewise.
(deselect): Likewise.
(getSize): Likewise.
(getSelectedIndexes): Likewise.
(makeVisible): Likewise.
(setMultipleMode): Likewise.
(list_get_widget): New function.
* native/jni/gtk-peer/gnu_java_awt_peer_gtk_GtkScrollPanePeer.c
(create): Added scrollpane to an eventbox.
(setScrollPosition): Changed call to use new function to get the
correct widget out of the event box.
(gtkScrolledWindowSetHScrollIncrement): Likewise.
(gtkScrolledWindowSetVScrollIncrement): Likewise.
(getHScrollbarHeight): Likewise.
(getVScrollbarWidth): Likewise.
(setPolicy): Likewise.
(scrollpane_get_widget): New function.
* native/jni/gtk-peer/gnu_java_awt_peer_gtk_GtkScrollbarPeer.c
(connectSignals): Changed call to use new function to get the
correct widget out of the event box.
(create): Added scrollbar to an eventbox.
(setLineIncrement): Changed call to use new function to get the
correct widget out of the event box.
(setPageIncrement): Likewise.
(setBarValues): Likewise.
(scrollbar_get_widget): New function.
* native/jni/gtk-peer/gnu_java_gnu_java_awt_peer_gtk_GtkTextAreaPeer.c
(create): Added text area scroll window widget to an event box.
(connectSignals): Changed call to use new function to get the
correct widget out of the event box.
(insert): Likewise.
(replaceRange): Likewise.
(gtkWidgetModifyFont): Likewise.
(gtkWidgetRequestFocus): Likewise.
(getHScrollbarHeight): Likewise.
(getVScrollbarWidth): Likewise.
(getCaretPosition): Likewise.
(setCaretPosition):Likewise.
(getSelectionStart): Likewise.
(getSelectionEnd): Likewise.
(select): Likewise.
(setEditable): Likewise.
(getText): Likewise.
(setText): Likewise.
(textarea_get_widget): New function.
2006-03-09 Audrius Meskauskas <AudriusA@Bioinformatics.org>
* java/rmi/dgc/VMID.java:
(equals, hashCode, static initializer): Rewritten.
* java/rmi/dgc/package.html: Documented.
2006-03-09 Mark Wielaard <mark@klomp.org>
* gnu/java/awt/peer/gtk/GtkClipboard.java (clipboard, selection):
New static field.
(stringMimeType, imageMimeType, filesMimeType): Initialize directly.
(canCache): Likewise.
(GtkClipboard): Take String argument.
(getInstance): Removed.
(getClipboardInstance, getSelectionInstance): New static methods.
(setSystemContents): Make synchronized. Takes boolean argument.
(initNativeState): Add clipboard and selection.
* gnu/java/awt/peer/gtk/GtkClipboardNotifier.java
(announceClipboardChange, announcePrimaryChange): New static field.
(announce): Take GtkClipboard as argument.
(run): Check which clipboard to announce change for.
* gnu/java/awt/peer/gtk/GtkSelection.java (clipboard): New final
boolean field.
(GtkSelection): Take GtkClipboard as argument.
(requestText, requestImage, requestURIs, requestBytes): Add boolean
clipboard argument.
(requestMimeTypes): Likewise.
* gnu/java/awt/peer/gtk/GtkToolkit.java (getSystemSelection):
New method.
* java/awt/Toolkit.java (getSystemSelection): Document.
* native/jni/gtk-peer/gnu_java_awt_peer_gtk_GtkClipboard.c
(cp_gtk_selection_instance): New var.
(current_selection, owner): Removed.
(clipboard_owner_change_cb): Use clipboard argument.
(initNativeState): Store clipboard and selection instances. Cache
setSystemContentsID, provideContentID, provideTextID, provideImageID,
and provideURIsID.
(clipboard_get_func): Use clipboard argument.
(clipboard_clear_func): Likewise. Always call method.
(advertiseContent): Don't cache method ids here. Check whether to
use clpboard or selection. Don't set owner or current_selection.
* native/jni/gtk-peer/gnu_java_awt_peer_gtk_GtkSelection.c
(requestText, requestImage, requestURIs, requestBytes): Use extra
boolean argument to select clipboard.
* native/jni/gtk-peer/gtkpeer.h (cp_gtk_selection): New extern.
(cp_gtk_clipboard_instance, cp_gtk_selection_instance): Likewise.
* include/gnu_java_awt_peer_gtk_GtkClipboard.h: Regenerate.
* include/gnu_java_awt_peer_gtk_GtkSelection.h: Likewise.
2006-03-09 Keith Seitz <keiths@redhat.com>
* gnu/classpath/jdwp/Jdwp.java: Remove unused imports.
* gnu/classpath/jdwp/event/EventRequest.java: Likewise.
* gnu/classpath/jdwp/event/filters/ClassMatchFilter.java: Likewise.
* gnu/classpath/jdwp/event/filters/ThreadOnlyFilter.java: Likewise.
* gnu/classpath/jdwp/processor/ThreadReferenceCommandSet.java: Likewise.
* gnu/classpath/jdwp/transport/ITransport.java: Likewise.
* vm/reference/gnu/classpath/jdwp/VMIdManager.java: Likewise.
* vm/reference/gnu/classpath/jdwp/VMMethod.java: Likewise.
* vm/reference/gnu/classpath/jdwp/VMVirtualMachine.java: Likewise.
2006-03-09 Mark Wielaard <mark@klomp.org>
* javax/swing/JList.java (ensureIndexIsVisible): Check whether cell
bounds for index is valid.
* javax/swing/plaf/basic/BasicListUI.java (valueChanged): Likewise.
(paint): Likewise.
(getCellBounds): Update documentation.
2006-03-09 Arnaud Vandyck <avdyk@gnu.org>
* .classpath: added exclude pattern on source folders
(Makefiles, README and .cvsignore)
2006-03-08 Michael Koch <konqueror@gmx.de>
* java/net/Proxy.java (NO_PROXY): Made final.
(equals): Likewise.
(hashCode): Likewise.
2006-03-08 Keith Seitz <keiths@redhat.com>
* vm/reference/gnu/classpath/jdwp/VMMethod.java: New file.
* vm/reference/gnu/classpath/jdwp/VMVirtualMachine.java
(getClassMethod): New method.
2006-03-08 Audrius Meskauskas <AudriusA@Bioinformatics.org>
* java/rmi/server/UID.java (getMachineId): Include the host IP address.
2006-03-08 Audrius Meskauskas <AudriusA@Bioinformatics.org>
* java/rmi/server/ObjID.java: Documented and autoformatted.
2006-03-08 Audrius Meskauskas <AudriusA@Bioinformatics.org>
PR 26584
* tools/Makefile.am (install-data-local,
uninstall-local): Install/uninstall the tools/README only.
* tools/gnu/classpath/tools/giop/README: Updated.
* tools/README: New file.
2006-03-08 Lillian Angel <langel@redhat.com>
* java/awt/GridBagLayout.java
(GetLayoutInfo): If the last component added had gridwidth == REMAINDER,
then the next item should be set to current_y (not 0).
2006-03-08 Lillian Angel <langel@redhat.com>
* java/awt/GridBagLayout.java
(GetLayoutInfo): If gridy is RELATIVE and there is no component
in the bottom-most spot of the column, we need to place that component
at the y-location of the other components in that row. If there are
no other components in that row, then place it at y = 0.
2006-03-08 David Gilbert <david.gilbert@object-refinery.com>
* javax/swing/ProgressMonitor.java: Updated API docs,
* javax/swing/ProgressMonitorInputStream.java: Likewise.
2006-03-08 Michael Koch <konqueror@gmx.de>
* java/net/InetSocketAddress.java
(InetSocketAddress(String,int,resolve)): New private contructor.
(InetSocketAddress(String,int)): Use new private constructor.
(createUnresolved): New method.
2006-03-07 Michael Koch <konqueror@gmx.de>
* gnu/java/net/DefaultProxySelector.java,
java/net/Proxy.java, java/net/ProxySelector.java:
New files.
2006-03-07 Audrius Meskauskas <AudriusA@Bioinformatics.org>
* java/rmi/server/UID.java (constructor): Assign last and time fields
after pause.
2006-03-07 Audrius Meskauskas <AudriusA@Bioinformatics.org>
* java/rmi/server/UID.java: New file (replacing).
2006-03-08 Raif S. Naffah <raif@swiftdsl.com.au>
* java/util/jar/Manifest.java: Removed unused imports.
(CRLF): New constant.
(read): Added method documentation.
Use UTF-8 encoding instead of 8859_1.
(write): Added method documentation.
Use BufferedOutputStream (w/ 4K buffer) instead of PrintWriter.
(write_main_section): Replace PrintWriter arg with OutputStream.
Replace JarException with IOException.
(write_version_info): Likewise.
(write_main_attributes): Likewise.
(write_attribute_entry): Likewise.
(write_individual_sections): Likewise.
(write_entry_attributes): Likewise.
(write_header): Replace PrintWriter arg with OutputStream.
Re-implemented.
2006-03-07 David Gilbert <david.gilbert@object-refinery.com>
* javax/swing/tree/DefaultMutableTreeNode.java
(getFirstChild): Updated API docs,
(getLastChild): Likewise,
(getChildAfter): Likewise,
(getChildBefore): Likewise,
(isNodeSibling): Return true if node == this,
(getSiblingCount): Updated API docs,
(getNextSibling): Likewise,
(getPreviousSibling): Likewise,
(isLeaf): Likewise,
(getFirstLeaf): Likewise,
(getLastLeaf): Likewise,
(getNextLeaf): Implemented,
(getPreviousLeaf): Implemented.
2006-03-07 Tom Tromey <tromey@redhat.com>
* java/awt/image/ColorModel.java (getComponents): Javadoc fix.
* java/awt/datatransfer/FlavorEvent.java: Added missing @since.
* java/awt/dnd/DropTargetEvent.java (serialVersionUID): New field.
* java/awt/DefaultFocusTraversalPolicy.java (serialVersionUID): New
field.
2006-03-07 David Gilbert <david.gilbert@object-refinery.com>
* javax/swing/tree/DefaultMutableTreeNode.java: API docs all over plus
(clone): Reimplemented,
(add): Throw IllegalArgumentException if child is an ancestor,
(remove(int)): Set child's parent to null,
(remove(MutableTreeNode)): Check arguments and set child's parent to
null,
(insert): Check allowsChildren flag, check for null argument, and
check for a node that is an ancestor,
(getIndex): Throw IllegalArgumentException for null argument,
(setAllowsChildren): If setting to false, remove existing children,
(removeAllChildren): Set parent to null for removed children.
2006-03-07 David Gilbert <david.gilbert@object-refinery.com>
* javax/swing/tree/TreeNode.java: Reformatted and added API docs all
over.
2006-03-06 Tom Tromey <tromey@redhat.com>
* java/lang/StrictMath.java (ulp): New methods.
* java/lang/Math.java (ulp): New methods.
2006-03-07 Audrius Meskauskas <AudriusA@Bioinformatics.org>
* gnu/java/rmi/server/UnicastRef.java,
* gnu/java/rmi/server/UnicastServer.java: Formatted.
2006-03-07 Audrius Meskauskas <AudriusA@Bioinformatics.org>
* gnu/java/rmi/server/CombinedClassLoader.java
(findClass, findLibrary, findResouce, findResources): check
all loaders in array.
2006-03-07 Audrius Meskauskas <AudriusA@Bioinformatics.org>
PR 25526
* gnu/java/rmi/dgc/DGCImpl.java (LeaseRecord, leaseCache): Removed.
(RefProtector): new inner class. (dirty): Rewritten.
* gnu/java/rmi/server/UnicastRef.java (dgcId, dgcInterfaceHash,
dgcSequence, DIRTY, this_id): New fields. (equals, hashCode, notifyDGC):
new methods. (readExternal): Create LeaseRenewingTask if non local.
* gnu/java/rmi/server/UnicastServer.java (objects):
Use WeakHashMap. (refcache): Use WeakIdentityHashMap.
(getExported): New method.
* gnu/java/rmi/dgc/LeaseRenewingTask.java: New file.
2006-03-06 Mark Wielaard <mark@klomp.org>
* doc/www.gnu.org/announce/20060306.wml: New file.
* doc/www.gnu.org/newsitems.txt: Add 0.90 release announcement.
* doc/www.gnu.org/downloads/downloads.wml: Add 0.90.
2006-03-06 David Gilbert <david.gilbert@object-refinery.com>
* javax/swing/plaf/metal/MetalLookAndFeel.java
(initComponentDefaults): Use Boolean.TRUE for
'CheckBoxMenuItem.borderPainted'.
2006-03-06 Wolfgang Baer <WBaer@gmx.de>
* gnu/java/net/protocol/http/Headers.java: Added documentation all over.
(dateFormat): Made private.
(put): Replace only the last occurance and the value.
(putAll): Reimplemented with the put method.
2006-03-06 Lillian Angel <langel@redhat.com>
PR classpath/26569
* java/awt/List.java
(preferredSize): Return the size of the list if the peer is
null.
* gnu/java/awt/peer/gtk/GtkListPeer.java
(preferredSize): Code was returning the minimum size of the
list. Added adjustment to the width of the list so it is a
proper size.
2006-03-06 Wolfgang Baer <WBaer@gmx.de>
* gnu/java/net/protocol/http/HTTPURLConnection.java: Organized imports.
(getRequestProperty): Remove duplicated null check.
* java/net/URLConnection.java:
(URLConnection): Javadoc fix.
(addRequestProperty): Likewise.
(getDefaultRequestProperty): Likewise.
(getHeaderField): Likewise.
(getHeaderFieldDate): Likewise.
(getHeaderFieldKey): Likewise.
(getHeaderFields): Likewise.
(getRequestProperties): Likewise.
(getRequestProperty): Likewise.
(setDefaultRequestProperty): Likewise.
(setRequestProperty): Likewise.
2006-03-06 Robert Schuster <robertschuster@fsfe.org>
* examples/gnu/classpath/examples/swing/TextArea.java: New file.
* examples/gnu/classpath/examples/swing/Demo.java:
(mkButtonBar): Changed layout manager to GridLayout, added entry for
textarea example.
(mkMenuBar): Added entry for text area example.
2006-03-06 Tom Tromey <tromey@redhat.com>
* javax/swing/plaf/synth/Region.java (FILE_CHOOSER): Renamed.
(FORMATTED_TEXT_FIELD): Likewise.
2006-03-06 Tom Tromey <tromey@redhat.com>
* javax/swing/plaf/synth/SynthPainter.java: Finished.
2006-03-06 Robert Schuster <robertschuster@fsfe.org>
* examples/gnu/classpath/examples/swing/Demo.java:
(mkMenuBar): Added menu entry that will display the VM's name,
version and distributor.
2006-03-06 Tom Tromey <tromey@redhat.com>
* javax/swing/plaf/synth/SynthLookAndFeel.java (getDescription):
Javadoc fix.
(getName): Likewise.
2006-03-06 Raif S. Naffah <raif@swiftdsl.com.au>
* java/util/jar/Manifest.java: Removed unused imports.
(CRLF): New constant.
(read): Added method documentation.
Use UTF-8 encoding instead of 8859_1.
(write): Added method documentation.
Use BufferedOutputStream (w/ 4K buffer) instead of PrintWriter.
(write_main_section): Replace PrintWriter arg with OutputStream.
Replace JarException with IOException.
(write_version_info): Likewise.
(write_main_attributes): Likewise.
(write_attribute_entry): Likewise.
(write_individual_sections): Likewise.
(write_entry_attributes): Likewise.
(write_header): Replace PrintWriter arg with OutputStream.
Re-implemented.
2006-03-06 David Gilbert <david.gilbert@object-refinery.com>
* javax/swing/tree/FixedHeightLayoutCache.java: Reformatted and fixed
API doc tag warnings,
* javax/swing/tree/VariableHeightLayoutCache.java: Likewise.
2006-03-06 Dalibor Topic <robilad@kaffe.org>
* gnu/java/net/protocol/file/Connection.java (unquote):
Update position in buffer after decoding a unicode character
outside of the basic plane.
2006-03-06 Dalibor Topic <robilad@kaffe.org>
* java/net/URI.java
(quote): Pass Unicode characters outside the basic plane through.
2006-03-06 Robert Schuster <robertschuster@fsfe.org>
* javax/swing/plaf/basic/BasicTextUI.java:
(damageRange): Rewritten if-expressions to correctly identify the
break condition.
2006-03-06 Mark Wielaard <mark@klomp.org>
* configure.ac: Set version to 0.90-generics.
* NEWS: Fix typos.
2006-03-06 Mark Wielaard <mark@klomp.org>
Fixes bug #26568 reported by Paul Jenner <psj@harker.dyndns.org>
* native/fdlibm/fdlibm.h (__ieee754_rem_pio2): Return an int32_t.
(isnan): Define explicitly isnan if it is not a macro.
2006-03-06 Robert Schuster <robertschuster@fsfe.org>
* javax/swing/text/GapContent.java:
(insertString): Throw exception when argument is below
zero.
2006-03-06 Robert Schuster <robertschuster@fsfe.org>
* javax/swing/text/PlainDocument.java:
(insertUpdate): Extended if-expression, added
code to generate another Element when newly inserted characters
and old ones will be on the same line.
2006-03-06 Robert Schuster <robertschuster@fsfe.org>
* javax/swing/text/DefaultCaret.java:
(mouseDragged): Do selection when shift is pressed.
(mouseClicked): Implemented.
2006-03-06 Robert Schuster <robertschuster@fsfe.org>
* javax/swing/text/PlainDocument.java: Fix copyright header,
added author tags.
(insertUpdate): Do not copy the whole document any more, added some
more variables to prevent needless method calls.
2006-03-06 Christian Thalinger <twisti@complang.tuwien.ac.at>
* configure.ac: Check for FREETYPE2. This is a reverted patch and
is required on Darwin.
* native/jni/gtk-peer/Makefile.am (AM_LDFLAGS): Added FREETYPE2.
(AM_CFLAGS): Likewise.
2006-03-06 Mark Wielaard <mark@klomp.org>
* NEWS: Add updates for 0.90 release.
2006-03-05 Robert Schuster <robertschuster@fsfe.org>
* javax/swing/text/GapContent.java:
(insertString): Throw exception when argument is below
zero.
2006-03-05 David Gilbert <david.gilbert@object-refinery.com>
* javax/swing/filechooser/FileFilter.java:
(accept): Fixed API doc tag,
(getDescription): Likewise,
* javax/swing/filechooser/FileView.java:
(isTraversable): Fixed API doc tag.
2006-03-05 David Gilbert <david.gilbert@object-refinery.com>
* javax/swing/colorchooser/ColorSelectionModel.java: Reformatted and
added API docs all over.
2006-03-05 David Gilbert <david.gilbert@object-refinery.com>
* javax/swing/plaf/ComboBoxUI.java: Fixed typo in class description,
and corrected a bad API doc tag.
2006-03-05 David Gilbert <david.gilbert@object-refinery.com>
* javax/swing/undo/StateEditable.java
(restoreState): Fixed bad API doc tag,
* javax/swing/undo/UndoableEdit.java: Copied API doc comments from
AbstractUndoableEdit.java,
* javax/swing/undo/UndoableEditSupport.java
(createCompoundEdit): Fixed bad API doc tag,
* javax/swing/undo/UndoManager.java
(editToBeUndone): Fixed bad API doc tag,
(editToBeRedone): Likewise.
2006-03-05 David Gilbert <david.gilbert@object-refinery.com>
* javax/swing/DefaultFocusManager.java: Fixed bad API doc tags,
* javax/swing/FocusManager.java: Likewise.
2006-03-05 David Gilbert <david.gilbert@object-refinery.com>
* javax/swing/plaf/metal/MetalComboBoxButton.java
(MetalComboBoxButton(JComboBox, Icon, boolean, CellRendererPane,
JList)): Fixed API doc tag,
* javax/swing/plaf/metal/MetalInternalFrameTitlePane
(createLayout): Fixed API doc warning.
2006-03-05 Tom Tromey <tromey@redhat.com>
* vm/reference/java/lang/reflect/Constructor.java (toString): Use
ClassHelper.getUserName.
* vm/reference/java/lang/reflect/Method.java (toString): Use
ClassHelper.getUserName.
(getUserTypeName): Removed.
* gnu/java/lang/ClassHelper.java (getUserName): New method.
* vm/reference/java/lang/reflect/Field.java (toString): Use
ClassHelper.getUserName.
2006-03-05 Olivier Jolly <olivier.jolly@pcedev.com>
Fixes PR 22813
* java/net/URLClassLoader.java (FileURLLoader.getResource):
Allows directories as valid resources.
2006-03-05 Mark Wielaard <mark@klomp.org>
* configure.ac (VERSION): Set to 0.90-pre-generics.
* Merge with CVS trunk from classpath-0_90-branch-point.
2006-03-04 Tom Tromey <tromey@redhat.com>
* javax/swing/SpringLayout.java (Constraints): New constructor.
* javax/swing/Spring.java (width): New method.
(height): Likewise.
(scale): Likewise.
2006-03-04 Mark Wielaard <mark@klomp.org>
* gnu/java/net/protocol/http/HTTPConnection.java (Pool.get): Remove
existing connection from pool before returning.
2006-03-04 Mark Wielaard <mark@klomp.org>
* gnu/xml/stream/SAXParser.java (parse(InputSource)): Ignore
exceptions thrown by handlers while cleaning up and rethrow original
exception.
2006-03-04 Tom Tromey <tromey@redhat.com>
* java/beans/PropertyDescriptor.java (createPropertyEditor): New
method.
(findConstructor): Likewise.
(instantiateClass): Likewise.
2006-03-04 Audrius Meskauskas <AudriusA@Bioinformatics.org>
* gnu/java/rmi/dgc/DGCImpl.java: More comments, boilerplate fix.
(dirty): Do not synchronize on Hashtable. Use the passed (requested)
lease value and not always the default one.
(LeaseRecord): Remember the array of objects, marked as dirty.
java/rmi/dgc/Lease.java: Boilerplate fix.
2006-03-05 Raif S. Naffah <raif@swiftdsl.com.au>
* java/util/jar/Attributes.java (putValue): Made it public and updated
method documentation.
2006-03-04 Mark Wielaard <mark@klomp.org>
* java/awt/Container.java (remove(int)): Always call removeNotify()
on removed Component.
2006-03-04 Mark Wielaard <mark@klomp.org>
Fixes bug #26460 reported by Beat Wolf <asraniel@fryx.ch>.
* javax/swing/JEditorPane.java (setText): Check for empty String
with equals(), not equality (==).
2006-03-04 Mark Wielaard <mark@klomp.org>
* javax/swing/text/html/HTMLDocument.java: Qualify ElementSpec as
DefaultStyledDocument.ElementSpec for gcj 4.0.x.
2006-03-04 David Gilbert <david.gilbert@object-refinery.com>
* javax/swing/text/GapContent.java
(getArray): Mark as final.
2006-03-04 David Gilbert <david.gilbert@object-refinery.com>
* javax/swing/text/StyleConstants.java
(CharacterConstants.Background): Marked final,
(CharacterConstants.BidiLevel): Likewise,
(CharacterConstants.Bold): Likewise,
(CharacterConstants.ComponentAttribute): Likewise,
(CharacterConstants.Family): Likewise,
(CharacterConstants.Size): Likewise,
(CharacterConstants.Foreground): Likewise,
(CharacterConstants.IconAttribute): Likewise,
(CharacterConstants.Italic): Likewise,
(CharacterConstants.StrikeThrough): Likewise,
(CharacterConstants.Subscript): Likewise,
(CharacterConstants.Superscript): Likewise,
(CharacterConstants.Underline): Likewise,
(ColorConstants.Foreground): Likewise,
(ColorConstants.Background): Likewise,
(FontConstants.Bold): Likewise,
(FontConstants.Family): Likewise,
(FontConstants.Italic): Likewise,
(FontConstants.Size): Likewise,
(ParagraphConstants.Alignment): Likewise,
(ParagraphConstants.FirstLineIndent): Likewise,
(ParagraphConstants.LeftIndent): Likewise,
(ParagraphConstants.LineSpacing): Likewise,
(ParagraphConstants.Orientation): Likewise,
(ParagraphConstants.RightIndent): Likewise,
(ParagraphConstants.SpaceAbove): Likewise,
(ParagraphConstants.SpaceBelow): Likewise,
(ParagraphConstants.TabSet): Likewise.
2006-03-03 Tom Tromey <tromey@redhat.com>
* javax/net/ssl/SSLException.java: Added missing @since.
Wrote javadoc.
2006-03-03 Tom Tromey <tromey@redhat.com>
* javax/net/ssl/SSLException.java (SSLException): New constructors.
(serialVersionUID): New field.
2006-03-03 Tom Tromey <tromey@redhat.com>
* java/security/spec/InvalidKeySpecException.java
(InvalidKeySpecException): New constructors.
* java/security/cert/CertificateParsingException.java
(CertificateParsingException): New constructors.
* java/security/cert/CertificateEncodingException.java
(CertificateEncodingException): New constructors.
* java/security/cert/CertificateException.java (CertificateException):
New constructors.
* java/security/cert/CRLException.java (CRLException): New
constructors.
2006-03-03 Tom Tromey <tromey@redhat.com>
* java/security/SignatureException.java (SignatureException): New
constructors.
* java/security/ProviderException.java (ProviderException): New
constructors.
* java/security/NoSuchAlgorithmException.java
(NoSuchAlgorithmException): New constructors.
* java/security/KeyStoreException.java (KeyStoreException): New
constructors.
* java/security/KeyManagementException.java (KeyManagementException):
New constructors.
* java/security/InvalidKeyException.java (InvalidKeyException): New
constructors.
* java/security/KeyException.java (KeyException): New constructors.
* java/security/InvalidAlgorithmParameterException.java
(InvalidAlgorithmParameterException): New constructors.
* java/security/DigestException.java (DigestException): New
constructors.
* java/security/GeneralSecurityException.java
(GeneralSecurityException): New constructors.
2006-03-03 David Gilbert <david.gilbert@object-refinery.com>
* javax/swing/event/CaretEvent.java: Reformatting and fixed API doc
warnings,
* javax/swing/event/DocumentEvent.java: Likewise,
* javax/swing/event/EventListenerList.java: Likewise,
* javax/swing/event/MenuDragMouseEvent.java: Likewise,
* javax/swing/event/MenuKeyEvent.java: Likewise,
* javax/swing/event/TableColumnModelEvent.java: Likewise,
* javax/swing/event/TreeExpansionEvent.java: Likewise,
* javax/swing/event/TreeModelEvent.java: Likewise,
* javax/swing/event/TreeSelectionEvent.java: Likewise,
* javax/swing/event/UndoableEditEvent.java: Likewise.
2006-03-03 Tom Tromey <tromey@redhat.com>
* java/awt/Insets.java (set): New method.
(equals): Added @since.
2006-03-03 David Daney <ddaney@avtrex.com>
* gnu/java/net/protocol/http/HTTPURLConnection.java
(getRequestProperties): Rewrote.
(addRequestProperty): Rewrote.
(getHeaderFields): Rewrote.
(getHeaderField): Rewrote.
(getHeaderFieldKey): Rewrote.
(getHeaderField): Removed useless cast.
* gnu/java/net/protocol/http/Headers.java: Entire class rewritten.
* gnu/java/net/protocol/http/Request.java (dispatch): Use new Headers
interface.
(notifyHeaderHandlers): Use new Headers interface.
2006-03-03 Tom Tromey <tromey@redhat.com>
* javax/naming/NamingException.java (getExplanation): Javadoc fix.
* javax/naming/spi/ResolveResult.java,
javax/naming/event/NamingExceptionEvent.java,
javax/naming/event/NamingEvent.java,
javax/naming/directory/SearchResult.java,
javax/naming/directory/SearchControls.java,
javax/naming/directory/SchemaViolationException.java,
javax/naming/directory/NoSuchAttributeException.java,
javax/naming/directory/ModificationItem.java,
javax/naming/directory/InvalidSearchFilterException.java,
javax/naming/directory/InvalidSearchControlsException.java,
javax/naming/directory/InvalidAttributesException.java,
javax/naming/directory/InvalidAttributeIdentifierException.java,
javax/naming/directory/AttributeModificationException.java,
javax/naming/directory/AttributeInUseException.java,
javax/naming/TimeLimitExceededException.java,
javax/naming/SizeLimitExceededException.java,
javax/naming/PartialResultException.java,
javax/naming/Reference.java,
javax/naming/ServiceUnavailableException.java,
javax/naming/OperationNotSupportedException.java,
javax/naming/NotContextException.java,
javax/naming/NoPermissionException.java,
javax/naming/NoInitialContextException.java,
javax/naming/NameNotFoundException.java,
javax/naming/NameAlreadyBoundException.java,
javax/naming/NameClassPair.java,
javax/naming/MalformedLinkException.java,
javax/naming/LinkLoopException.java,
javax/naming/LinkException.java,
javax/naming/LimitExceededException.java,
javax/naming/InvalidNameException.java,
javax/naming/InterruptedNamingException.java,
javax/naming/InsufficientResourcesException.java,
javax/naming/ContextNotEmptyException.java,
javax/naming/ConfigurationException.java,
javax/naming/CannotProceedException.java,
javax/naming/CommunicationException.java,
javax/naming/Binding.java,
javax/naming/AuthenticationNotSupportedException.java,
javax/naming/AuthenticationException.java: Added serialVersionUID.
2006-03-03 David Gilbert <david.gilbert@object-refinery.com>
* javax/swing/event/TableColumnModelEvent.java: Reformatted.
2006-03-03 David Gilbert <david.gilbert@object-refinery.com>
* javax/swing/event/TableModelListener.java: Updated API docs.
2006-03-03 Mark Wielaard <mark@klomp.org>
* java/awt/Component.java (addNotify): Expand documentation.
2006-03-03 Mark Wielaard <mark@klomp.org>
* gnu/java/awt/peer/gtk/GtkComponentPeer.java (GtkComponentPeer):
Always call setParentAndBounds().
(setComponentBounds): Always call setBounds().
(setBounds): Call setVisible().
(setVisible): If no pixels are showing then don't make it visible.
* gnu/java/awt/peer/gtk/GtkContainerPeer.java (endValidate): No need
to call setParentAndBounds() anymore.
2006-03-03 Roman Kennke <kennke@aicas.com>
* javax/swing/JInternalFrame.java
(JInternalFrame): Set frame invisible.
(show): Reformatted.
* javax/swing/plaf/basic/BasicInternalFrameUI.java
(installDefaults): Do not set invisible here.
2006-03-03 Roman Kennke <kennke@aicas.com>
* java/awt/Toolkit.java
(getScreenInsets): Return (0,0,0,0) here.
2006-03-03 Roman Kennke <kennke@aicas.com>
* javax/swing/text/FlowView.java
(FlowStrategy.layoutRow): Added check for rowCount == 0.
(FlowStrategy.getLogicalView): Made method protected.
2006-03-03 Chris Burdess <dog@gnu.org>
* gnu/xml/validation/relaxng/AnyNameNameClass.java,
gnu/xml/validation/relaxng/AttributePattern.java,
gnu/xml/validation/relaxng/ChoiceNameClass.java,
gnu/xml/validation/relaxng/ChoicePattern.java,
gnu/xml/validation/relaxng/DataPattern.java,
gnu/xml/validation/relaxng/Define.java,
gnu/xml/validation/relaxng/ElementPattern.java,
gnu/xml/validation/relaxng/EmptyPattern.java,
gnu/xml/validation/relaxng/FullSyntaxBuilder.java,
gnu/xml/validation/relaxng/Grammar.java,
gnu/xml/validation/relaxng/GrammarException.java,
gnu/xml/validation/relaxng/GrammarValidator.java,
gnu/xml/validation/relaxng/GroupPattern.java,
gnu/xml/validation/relaxng/InterleavePattern.java,
gnu/xml/validation/relaxng/ListPattern.java,
gnu/xml/validation/relaxng/NSNameNameClass.java,
gnu/xml/validation/relaxng/NameClass.java,
gnu/xml/validation/relaxng/NameNameClass.java,
gnu/xml/validation/relaxng/NotAllowedPattern.java,
gnu/xml/validation/relaxng/OneOrMorePattern.java,
gnu/xml/validation/relaxng/Param.java,
gnu/xml/validation/relaxng/Pattern.java,
gnu/xml/validation/relaxng/RELAXNGSchemaFactory.java,
gnu/xml/validation/relaxng/RefPattern.java,
gnu/xml/validation/relaxng/TextPattern.java,
gnu/xml/validation/relaxng/ValuePattern.java: New RELAX NG grammar
builder and data model.
* gnu/xml/validation/xmlschema/AnyAttribute.java,
gnu/xml/validation/xmlschema/AttributeDeclaration.java,
gnu/xml/validation/xmlschema/AttributeUse.java,
gnu/xml/validation/xmlschema/ComplexType.java,
gnu/xml/validation/xmlschema/ElementDeclaration.java,
gnu/xml/validation/xmlschema/Particle.java,
gnu/xml/validation/xmlschema/ValidationException.java,
gnu/xml/validation/xmlschema/XMLSchema.java,
gnu/xml/validation/xmlschema/XMLSchemaAttributeTypeInfo.java,
gnu/xml/validation/xmlschema/XMLSchemaBuilder.java,
gnu/xml/validation/xmlschema/XMLSchemaElementTypeInfo.java,
gnu/xml/validation/xmlschema/XMLSchemaSchemaFactory.java,
gnu/xml/validation/xmlschema/XMLSchemaTypeInfo.java,
gnu/xml/validation/xmlschema/XMLSchemaTypeInfoProvider.java,
gnu/xml/validation/xmlschema/XMLSchemaValidator.java,
gnu/xml/validation/xmlschema/XMLSchemaValidatorHandler.java: New
W3C XML Schema builder and schema components.
* javax/xml/validation/SchemaFactory.java: Recognise RELAX NG and W3C
XML Schema namespace URIs.
2006-03-03 Thomas Fitzsimmons <fitzsim@redhat.com>
* NEWS: Add entry for --enable-collections.
* configure.ac: Add --enable-collections option.
* lib/Makefile.am (collections.jar): New target.
(glibj_DATA): Add $(COLLECTIONS).
* lib/mkcollections.pl.in (destpath): Set from COLLECTION_PREFIX
configure substitution.
(classpath): Read from command line.
(javautilclasses): Remove BasicMapEntry. Add RandomAccess.
2006-03-03 David Gilbert <david.gilbert@object-refinery.com>
* javax/swing/SpringLayout.java: Fixed API doc warnings.
2006-03-03 David Gilbert <david.gilbert@object-refinery.com>
* javax/swing/event/ListSelectionEvent.java
(toString): Implemented,
plus updated API docs all over.
2006-03-03 David Gilbert <david.gilbert@object-refinery.com>
* javax/swing/event/ListSelectionEvent.java: Reformatted and fixed
API doc warnings,
* javax/swing/event/ListSelectionListener.java: Updated API docs.
2006-03-03 Audrius Meskauskas <AudriusA@Bioinformatics.org>
* gnu/java/rmi/dgc/DGCImpl.java,
java/rmi/dgc/DGC.java,
java/rmi/dgc/Lease.java: Formatted and commented.
2006-03-03 Roman Kennke <kennke@aicas.com>
* NEWS: Added comment about text highlighting and copy+paste
in Swing.
2006-03-03 Roman Kennke <kennke@aicas.com>
* javax/swing/JTabbedPane.java
(remove(int)): Call super.remove(int) instead of remove(Component).
Avoids a stack overflow.
2006-03-03 Roman Kennke <kennke@aicas.com>
* javax/swing/JTable.java
(distributeSpillResizing): Avoid ArithmeticException by checking
divisor.
2006-03-03 David Gilbert <david.gilbert@object-refinery.com>
* javax/swing/text/package.html: Added package description.
2006-03-03 David Gilbert <david.gilbert@object-refinery.com>
* javax/swing/CellRendererPane.java: Minor API doc fix,
* javax/swing/ComboBoxModel.java: Updated API docs.
2006-03-03 Chris Burdess <dog@gnu.org>
Fixes PR 26503
* gnu/xml/stream/EntityReferenceImpl.java,
gnu/xml/stream/FilteredEventReader.java,
gnu/xml/stream/SAXParser.java,
gnu/xml/stream/XIncludeFilter.java,
gnu/xml/stream/XMLEventAllocatorImpl.java,
gnu/xml/stream/XMLEventFactoryImpl.java,
gnu/xml/stream/XMLEventImpl.java,
gnu/xml/stream/XMLEventReaderImpl.java,
gnu/xml/stream/XMLEventWriterImpl.java,
gnu/xml/stream/XMLInputFactoryImpl.java,
gnu/xml/stream/XMLOutputFactoryImpl.java,
gnu/xml/stream/XMLParser.java,
javax/xml/stream/EventFilter.java,
javax/xml/stream/Location.java,
javax/xml/stream/StreamFilter.java,
javax/xml/stream/XMLEventFactory.java,
javax/xml/stream/XMLEventReader.java,
javax/xml/stream/XMLEventWriter.java,
javax/xml/stream/XMLInputFactory.java,
javax/xml/stream/XMLOutputFactory.java,
javax/xml/stream/XMLReporter.java,
javax/xml/stream/XMLResolver.java,
javax/xml/stream/XMLStreamConstants.java,
javax/xml/stream/XMLStreamReader.java,
javax/xml/stream/events/EntityDeclaration.java,
javax/xml/stream/events/EntityReference.java,
javax/xml/stream/events/XMLEvent.java,
javax/xml/stream/util/EventReaderDelegate.java,
javax/xml/stream/util/ReaderDelegate.java: Updated to final version of
StAX API as specified in JWSDP 2.0.
* gnu/xml/stream/EndEntityImpl.java,
gnu/xml/stream/LocationImpl.java,
gnu/xml/stream/StartEntityImpl.java,
gnu/xml/stream/XMLStreamReaderImpl.java,
javax/xml/stream/XMLFilter.java,
javax/xml/stream/XMLIterator.java,
javax/xml/stream/events/EndEntity.java,
javax/xml/stream/events/StartEntity.java: Removed legacy files.
2006-03-03 David Gilbert <david.gilbert@object-refinery.com>
* javax/swing/CellEditor.java: API doc updates,
* javax/swing/DefaultCellEditor.java: Likewise.
2006-03-03 David Gilbert <david.gilbert@object-refinery.com>
* javax/swing/AbstractListModel.java:
(AbstractListModel): Added API docs,
(fireContentsChanged): Minor API doc correction,
(fireIntervalAdded): Likewise,
(fireIntervalRemoved): Likewise.
2006-03-03 Roman Kennke <kennke@aicas.com>
* NEWS: Added paragraph about Swing improvements.
2006-03-03 David Gilbert <david.gilbert@object-refinery.com>
* javax/swing/AbstractAction.java: Updated API docs all over,
* javax/swing/AbstractCellRenderer.java: Minor reformatting, plus
(stopCellEditing): Minor API doc correction,
* javax/swing/UnsupportedLookAndFeelException.java
(UnsupportedLookAndFeelException): Changed argument name, updated API
docs.
2006-03-03 Roman Kennke <kennke@aicas.com>
* javax/swing/plaf/metal/MetalUtils.java
(fillMetalPattern): Added switch to not use Graphics2D methods,
even if they are available.
2006-03-03 Roman Kennke <kennke@aicas.com>
* javax/swing/plaf/basic/BasicHTML.java
(isHTMLString): Check for string beeing null.
* javax/swing/plaf/basic/BasicInternalFrameUI.java
(BasicInternalFrameListener.internalFrameActivated): Implemented.
(BasicInternalFrameListener.internalFrameDeactivated): Implemented.
(InternalFrameLayout): Don't touch the glass pane here.
(installUI): Fix handling of glass pane.
* javax/swing/plaf/basic/BasicLabelUI.java
(vr): New field.
(ir): New field.
(tr): New field.
(BasicLabelUI): Initialize new fields.
(getPreferredSize): Avoid creating new Rectangles by using
SwingUtilities method.
(paint): Avoid creating new Rectangles by reusing
new fields. Added some preliminary handling of HTML inside the
label.
(installComponents): Handle HTML by calling BasicHTML.updateRenderer.
(uninstallComponents): Clear HTML renderer.
(propertyChange): Check for HTML text and install renderer if
appropriate.
* javax/swing/plaf/basic/BasicListUI.java
(getCellBounds): Avoid creating new Rectangle by using SwingUtilities
method.
* javax/swing/plaf/basic/BasicTextUI.java
(RootView.getStartOffset): Implemented.
(RootView.getEndOffset): Implemented.
(RootView.getDocument): Implemented.
2006-03-03 Roman Kennke <kennke@aicas.com>
* javax/swing/text/DefaultStyledDocument.java
(ElementBuffer.inserUpdate): Added check for zero-length
element.
* javax/swing/text/DefaultStyledDocument.java
(setIndex): Improved exception message.
* javax/swing/text/TableView.java
Made class abstract.
(TableRow.replace): Probably extend columnRequirements
arrays.
(TableRow.layoutMinorAxis): Call super.layoutMinorAxis instead
of super.layoutMajorAxis.
(columnRequirements): Made field package private.
(TableView): Do not load any child views here.
(layoutColumns): Implemented this method.
(updateColumnRequirements): New helper method.
* javax/swing/text/Utilities.java
(getBreakLocation): Also take offset into account when
finding end location.
* javax/swing/text/html/HTMLDocument.java
(HTMLReader.parseStack): New field.
(HTMLReader.blockOpen): Properly handle p-implied tags.
(HTMLReader.blockClose): Properly handle p-implied and empty tags.
(HTMLReader.addContent): Insert p-implied when adding content to
a block element.
* javax/swing/text/html/HTMLEditorKit.java
(HTMLFactory.create): Create HTMLTableView for <table> tags and
ParagraphView for TD tags. Print out warning for tags that don't have
matching view yet and create NullView for them.
(read): Only set document base when document != null.
* javax/swing/text/html/HTMLTableView.java:
New class
2006-03-03 Roman Kennke <kennke@aicas.com>
* javax/swing/plaf/basic/BasicHTML.java
(HTMLRootView): New inner class.
(createHTMLView): Embed view inside a HTMLRootView.
2006-03-03 Wolfgang Baer <WBaer@gmx.de>
* gnu/java/net/protocol/jar/Connection.java:
(connect): Throw FileNotFoundException.
(getInputStream): Remove duplicated code.
2006-03-03 Roman Kennke <kennke@aicas.com>
* javax/swing/RepaintManager.java
(commitBuffer): Added null check for clip.
2006-03-02 Lillian Angel <langel@redhat.com>
* native/jni/gtk-peer/gnu_java_awt_peer_gtk_GtkMenuPeer.c
(Java_gnu_java_awt_peer_gtk_GtkMenuPeer_delItem): Fixed
to use GtkWidget instead of GTKMenu.
2006-03-02 Lillian Angel <langel@redhat.com>
* native/jni/gtk-peer/gnu_java_awt_peer_gtk_GtkMenuPeer.c
(Java_gnu_java_awt_peer_gtk_GtkMenuPeer_delItem): Changed to
use the submenu to get the list of children. This now works
in the same way as addItem.
2006-03-02 Anthony Balkissoon <abalkiss@redhat.com>
* java/lang/StringBuilder.java:
(codePointAt): New method.
(codePointBefore): Likewise.
(codePointCount): Likewise.
(trimToSize): Likewise.
2006-03-02 Tom Tromey <tromey@redhat.com>
* java/rmi/server/RMIClassLoader.java (getProviderInstance): Wrote.
2006-03-02 Tom Tromey <tromey@redhat.com>
* java/rmi/server/RMIClassLoader.java (loadProxyClass): New method.
(getProviderInstance):
2006-03-02 Andrew John Hughes <gnu_andrew@member.fsf.org>
* native/jni/java-net/gnu_java_net_VMPlainSocketImpl.c:
Fix regression caused by move to VM variant.
PR classpath/22926.
2006-03-01 Tom Tromey <tromey@redhat.com>
* vm/reference/java/net/VMNetworkInterface.java: Organized imports.
* vm/reference/java/net/VMInetAddress.java: Organized imports.
* vm/reference/java/lang/reflect/VMProxy.java (getProxyClass): Added
imports for javadoc.
(getProxyClass): Javadoc fixes.
(getProxyData): Likewise.
(generateProxyClass): Likewise.
* vm/reference/java/lang/VMSystem.java (setIn): Javadoc fix.
(setOut): Likewise.
(setErr): Likewise.
* vm/reference/java/lang/VMProcess.java: Javadoc fixes.
* vm/reference/java/lang/VMClassLoader.java (getResources): Javadoc
fix.
* vm/reference/java/lang/VMClass.java (getComponentType): Import for
javadoc.
(getModifiers): Likewise.
(getDeclaredClasses): Javadoc fix.
(getDeclaredFields): Likewise.
(getDeclaredMethods): Likewise.
(getDeclaredConstructors): Likewise.
* vm/reference/gnu/classpath/VMSystemProperties.java (preInit):
Javadoc fix.
2006-03-01 Tom Tromey <tromey@redhat.com>
* gnu/java/net/protocol/http/ResponseHeaderHandler.java: Javadoc fix.
* gnu/java/net/protocol/http/HTTPConnection.java: Organized imports.
(getVersion): Javadoc fix.
(get): Likewise.
* gnu/java/net/protocol/http/Headers.java: Organized imports.
* gnu/java/net/protocol/ftp/FTPURLConnection.java: Organized imports.
2006-03-01 David Daney <ddaney@avtrex.com>
* java/net/URL.java (URL(URL, String, URLStreamHandler)): Treat spec
as relative if it contains a colon but no protocol handler can be
found.
2006-03-01 Roman Kennke <kennke@aicas.com>
* javax/swing/text/AbstractDocument.java
(LeafElement.LeafElement): Handle delta with respect to content
length not document length.
* javax/swing/text/CompositeView.java
(getViewIndex): Handle bias correctly.
* javax/swing/text/DefaultCaret.java
(paint): Align caret position to document bounds to avoid trouble
when removing large portions of content.
* javax/swing/text/DefaultStyledDocument.java
(ElementBuffer.insertFirstContentTag): Use pos instead of offset.
(ElementBuffer.createFracture): Copy old childs attribute. The
ElementSpec usually doesn't carry attribute information.
Use pos instead of offset.
(ElementBuffer.insertFracture): Use pos instead of offset.
(createDefaultRootElement): Don't use create* and instead directly
instantiate the elements.
(handleInsertAfterNewline): Compare the paragraphs startOffset
rather than previous paragraphs endOffset.
* javax/swing/text/JTextComponent.java
(getScrollableTracksViewportWidth): Remove unnecessary cast to
JViewport.
(getScrollableTracksViewportHeight): Remove unnecessary cast to
JViewport.
* javax/swing/text/PlainView.java
(damageLineRange): Avoid creating new Rectangle by using
SwingUtilities.
* javax/swing/text/View.java
(forwardUpdate): Correct the use of bias.
(modelToView): Avoid new Rectangles by using SwingUtilities.
(dump): Made (temprorarily) protected for use in BasicTextUI.
(dump(int)): Dump out the element of the view.
2006-03-01 Lillian Angel <langel@redhat.com>
* NEWS: javax.imageio.plugins.bmp implementation.
2006-03-01 Lillian Angel <langel@redhat.com>
* javax/imageio/ImageWriteParam.java:
Added documentation for fields.
* javax/imageio/plugins/bmp/BMPImageWriteParam.java:
New class implemented.
2006-03-01 Tom Tromey <tromey@redhat.com>
* NEWS: Mention java.util.prefs update.
2006-03-01 Tom Tromey <tromey@redhat.com>
* gnu/java/nio/channels/FileChannelImpl.java (position): Fixed typo.
* java/nio/charset/UnmappableCharacterException.java:
(serialVersionUID): New field.
* java/nio/charset/MalformedInputException.java:
(serialVersionUID): New field.
* java/nio/charset/CoderMalfunctionError.java:
(serialVersionUID): New field.
* java/nio/charset/CharacterCodingException.java:
(serialVersionUID): New field.
* java/nio/channels/UnsupportedAddressTypeException.java:
(serialVersionUID): New field.
* java/nio/channels/UnresolvedAddressException.java:
(serialVersionUID): New field.
* java/nio/channels/OverlappingFileLockException.java:
(serialVersionUID): New field.
* java/nio/channels/NotYetConnectedException.java:
(serialVersionUID): New field.
* java/nio/channels/NotYetBoundException.java
(serialVersionUID): New field.
* java/nio/channels/NonWritableChannelException.java
(serialVersionUID): New field.
* java/nio/channels/NonReadableChannelException.java
(serialVersionUID): New field.
* java/nio/channels/NoConnectionPendingException.java
(serialVersionUID): New field.
* java/nio/channels/IllegalSelectorException.java
(serialVersionUID): New field.
* java/nio/channels/IllegalBlockingModeException.java
(serialVersionUID): New field.
* java/nio/channels/FileLockInterruptionException.java
(serialVersionUID): New field.
* java/nio/channels/ConnectionPendingException.java
(serialVersionUID): New field.
* java/nio/channels/ClosedSelectorException.java (serialVersionUID):
New field.
* java/nio/channels/ClosedChannelException.java (serialVersionUID):
New field.
* java/nio/channels/ClosedByInterruptException.java
(serialVersionUID): New field.
* java/nio/channels/CancelledKeyException.java (serialVersionUID):
New field.
* java/nio/channels/AsynchronousCloseException.java
(serialVersionUID): New field.
* java/nio/channels/AlreadyConnectedException.java (serialVersionUID):
New field.
* java/nio/ReadOnlyBufferException.java (serialVersionUID): New field.
* java/nio/InvalidMarkException.java (serialVersionUID): New field.
* java/nio/BufferUnderflowException.java (serialVersionUID): New
field.
* java/nio/BufferOverflowException.java (serialVersionUID): New field.
* java/nio/channels/spi/AbstractInterruptibleChannel.java (end):
Javadoc fix. Added import.
* java/nio/channels/DatagramChannel.java (isConnected): Javadoc fix.
(validOps): Likewise.
* gnu/java/nio/charset/iconv/IconvProvider.java: Organized imports.
* gnu/java/nio/charset/iconv/IconvEncoder.java: Organized imports.
* gnu/java/nio/charset/iconv/IconvDecoder.java: Organized imports.
* java/nio/channels/Channels.java: Added import.
* java/nio/channels/FileChannel.java (lock): Typo fix.
(tryLock): Likewise.
2006-03-01 Tom Tromey <tromey@redhat.com>
* java/util/prefs/Preferences.java (defaultFactoryClass): Use
FileBasedFactory.
* gnu/java/util/prefs/FileBasedPreferences.java: New file.
* java/util/prefs/AbstractPreferences.java (removeSpi): Typo fix.
(clear): Likewise.
(putSpi): Likewise.
(newNode): Likewise.
(node): Likewise.
* gnu/java/util/prefs/MemoryBasedFactory.java: Typo fix.
* gnu/java/util/prefs/FileBasedFactory.java (systemPreferences): New
field.
(systemRoot): Use it.
(userPreferences): New field.
(userRoot): Use it.
2006-03-01 Jeroen Frijters <jeroen@frijters.net>
* java/util/ResourceBundle.java
(tryBundle): Catch and ignore all Exceptions.
2006-02-28 Roman Kennke <kennke@aicas.com>
* javax/swing/plaf/basic/BasicScrollBarUI.java
(getPreferredSize): Fixed add a fixed space between the buttons
instead of something related to min/max.
(installComponents): Create and install buttons here.
(installDefaults): Don't create buttons here.
* javax/swing/plaf/metal/MetalScrollBarUI.java
(getMinimumThumbSize): Return (0,0) when UI is not yet installed.
(getPreferredSize): New method.
2006-02-28 David Gilbert <david.gilbert@object-refinery.com>
* examples/gnu/classpath/examples/swing/Demo.java
(mkMenuBar): Removed 'Toggles', 'Checkbox' and 'Radio' actions,
connected 'Spinner' action to SpinnerDemo,
(mkCheckbox): Removed,
(mkRadio): Likewise,
(mkSpinner): Likewise,
(mkToggle): Likewise,
(mkButtonBar): Removed 'Toggles', 'Checkbox' and 'Radio' actions,
connected 'Spinner' action to SpinnerDemo.
2006-02-28 Wolfgang Baer <WBaer@gmx.de>
* javax/print/ServiceUIFactory.java: Added documentation to class.
2006-02-28 Anthony Balkissoon <abalkiss@redhat.com>
PR classpath/26434
* javax/swing/DefaultListSelectionModel.java:
(addSelectionInterval): Return early if either of the arguments is -1.
(removeSelectionInterval): Likewise.
(setSelectionInterval): Likewise.
2006-02-28 Lillian Angel <langel@redhat.com>
* javax/swing/text/DefaultFormatter.java
(stringToValue): Added NPE check.
2006-02-28 Roman Kennke <kennke@aicas.com>
PR classpath/25675
* javax/swing/JList.java
(getPreferredScrollableViewportSize): Restored specified behaviour.
* javax/swing/plaf/metal/MetalFileChooserUI.java
(createList): Set filelist panel's preferredSize, so that it doesn't
get size into infinity for big lists.
2006-02-28 Lillian Angel <langel@redhat.com>
* javax/swing/ViewportLayout.java
(layoutContainer): Should not extend container to be
minimum size. Mauve test shows that the preferred size
and the size of the viewport can be set smaller than
the minimum.
2006-02-28 Lillian Angel <langel@redhat.com>
PR classpath/25675
* javax/swing/JList.java
(getPreferredScrollableViewportSize): Added a check to determine
if orientation is VERTICAL_WRAP. If it is, we should only
show 3 columns.
2006-02-28 Lillian Angel <langel@redhat.com>
PR classpath/26003
* javax/swing/ViewportLayout.java:
Patch submitted by Audrius Meskauskas
(addLayoutComponent): Added documentation.
(removeLayoutComponent): Likewise.
(preferredLayoutSize): Likewise.
(minimumLayoutSize): Likewise.
(layoutContainer): Fixed code, so view is set
to the right position when inside a scrollpane.
2006-02-28 Anthony Balkissoon <abalkiss@redhat.com>
* java/math/BigInteger.java:
Committed patch by Rafael:
developer.classpath.org/pipermail/classpath-patches/
2006-February/000473.html
(signum): Return early 0 if words == null and ival == 0.
(readObject): Handle special case of magnitude.length or signum being
0.
(writeObject): If signum is zero return a zero-sized byte[].
2006-02-28 Lillian Angel <langel@redhat.com>
* gnu/java/awt/peer/gtk/GtkFileDialogPeer.java
(create): Initially set the directory to the current working directory.
(setDirectory): Removed else-if. No need for this check.
2006-02-28 Tom Tromey <tromey@redhat.com>
* .project: Run java builder before header generation.
2006-02-28 Tom Tromey <tromey@redhat.com>
* gnu/java/util/prefs/MemoryBasedPreferences.java (childrenNamesSpi):
Javadoc fix.
* gnu/java/util/prefs/EventDispatcher.java: New file.
* gnu/java/util/prefs/NodeWriter.java (NodeWriter): Removed.
(NodeWriter): Specify UTF-8.
(writeHeader): Emit DOCTYPE.
* java/util/prefs/Preferences.java (getFactory): Add cause to
exception.
(exportNode): Documented.
(exportSubtree): Likewise.
(importPreferences): Likewise.
* java/util/prefs/NodeChangeEvent.java (readObject): New method.
(writeObject): Likewise.
* java/util/prefs/PreferenceChangeEvent.java (readObject): New method.
(writeObject): Likewise.
* java/util/prefs/AbstractPreferences.java (putBoolean): Use 1.4 code.
(nodeListeners): New field.
(preferenceListeners): Likewise.
(addNodeChangeListener): Implemented.
(addPreferenceChangeListener): Likewise.
(removeNodeChangeListener): Likewise.
(removePreferenceChangeListener): Likewise.
(fire): New methods.
(put): Fire event.
(remove): Likewise.
(purge): Likewise. Fixed synchronization.
(removeNode): Fixed synchronization.
(getNode): Fire event.
(flushNode): Fixed synchronization.
2006-02-28 Roman Kennke <kennke@aicas.com>
* javax/swing/text/BranchElement.java
(startOffset): New field.
(endOffset): New field.
(BranchElement): Initialize new fields.
(getEndOffset): Rewritten to possibly return cached values
if element has no children.
(getStartOffset): Rewritten to possibly return cached values
if element has no children.
* javax/swing/text/LeafElement.java
(startDelta): New field.
(endDelta): New field.
(LeafElement): Handle possible delta of start/endOffset when
these parameters lie outside the document range.
(getStartOffset): Handle possible startDelta.
(getEndOffset): Handle possible startDelta.
2006-02-28 Anthony Balkissoon <abalkiss@redhat.com>
* NEWS: Added line about Unicode 4.0.0 support.
2006-02-28 Roman Kennke <kennke@aicas.com>
* javax/swing/SwingUtilities.java
(layoutCompoundLabel): Set textIconGap to 0 when icon == null.
2006-03-01 Raif S. Naffah <raif@swiftdsl.com.au>
* gnu/classpath/debug/Simple1LineFormatter.java: New file.
2006-03-01 Raif S. Naffah <raif@swiftdsl.com.au>
* gnu/java/security/sig/rsa/RSAPKCS1V1_5SignatureX509Codec.java:
Amended class documentation.
(encodeSignature): Emit the ASN.1 raw bytes not the DER-encoded BIT
STRING.
(decodeSignature): Parse the ASN.1 raw bytes of a BIT STRING and not
a BIT STRING construct.
* gnu/java/security/sig/dss/DSSSignatureX509Codec.java: Amended class
documentation.
(encodeSignature): Emit the ASN.1 raw bytes not the DER-encoded BIT
STRING.
(decodeSignature): Parse the ASN.1 raw bytes of a BIT STRING and not
a BIT STRING construct.
* gnu/java/security/jce/sig/SignatureAdapter.java (log): New field.
(engineVerify): Added logging.
2006-02-28 Roman Kennke <kennke@aicas.com>
* java/awt/Component.java
(dispatchEventImpl): Let the Toolkit dispatch global events.
* java/awt/Container.java
(dispatchEventImpl): Let the LightweightDispatcher handle events
first.
* java/awt/EventQueue.java
(dispatchEvent): Don't do the global event dispatching here. This
is moved to the Component.
(globalDispatchEvent): Moved this method to Toolkit.
* java/awt/LightweightDispatcher.java
(instances): New field.
(getInstance): New method. Delivers an instance of
LightweightDispatcher.
(LightweightDispatcher): Made default constructor private.
(dispatchEvent): New method. Replaces the eventDispatched method.
This now returns true when the event was actually dispatched.
(eventDispatched): Replaced by dispatchEvent.
(handleMouseEvent): Send MOUSE_CLICKED to the same component that
received the last MOUSE_RELEASED.
* java/awt/Toolkit.java
(Toolkit): Don't register LightweightDispatcher as global event
handler.
(globalDispatchEvent): Moved here from EventQueue.
2006-02-27 David Daney <ddaney@avtrex.com>
PR classpath/25851
* gnu/java/net/protocol/http/HTTPURLConnection.java (imports) Cleaned
up.
(getRequestProperties): Rewrote.
2006-02-27 David Daney <ddaney@avtrex.com>
PR classpath/26312
* gnu/java/net/protocol/http/ChunkedInputStream.java (imports): Cleaned
up.
(ChunkedInputStream): Extend InputStream.
(in): New field.
(headers): Moved to top of class.
(constructor): Save referenct to in.
(read(byte[])): Removed method.
(read(byte[], int, int)): Made synchronized and throw IOException
on error parsing chunk header.
(available): New method.
(close): New method.
2006-02-27 David Daney <ddaney@avtrex.com>
* gnu/java/net/protocol/http/HTTPURLConnection.java
(imports): Cleaned up.
(GetHTTPPropertiesAction): Removed, and moved contents to ...
(constructor): ... Here, using SystemProperties instead of System.
2006-02-27 Lillian Angel <langel@redhat.com>
* gnu/java/awt/peer/gtk/GtkFileDialogPeer.java
(setDirectory): GtkFileChooser requires an absolute directory
name. Added a check to make the directory passed to nativeSetDirectory
is absolute.
2006-02-27 Roman Kennke <kennke@aicas.com>
* javax/swing/SwingUtilities.java
(computeIntersection): Changed to store result in rect, instead of
creating new Rectangle instances. Fixed API docs accordingly.
(computeUnion): Changed to store result in rect, instead of
creating new Rectangle instances. Fixed API docs accordingly.
2006-02-27 Roman Kennke <kennke@aicas.com>
* javax/swing/JViewport.java
(static_init): Changed default scrollmode to BLIT.
(paintSimple): Added some clipping to avoid painting problems.
(paintBlit): Added some clipping to avoid painting problems.
2006-02-27 Roman Kennke <kennke@aicas.com>
* javax/swing/JComponent.java
(rectCache): Made field static to save memory.
(getVisibleRect): Don't use rectCache and create new Rectangle
instance instead.
(repaint(Rectangle)): Directly call RepaintManager.addDirtyRegion().
(repaint(long,int,int,int,int)): Directly call
RepaintManager.addDirtyRegion(). The visibleRect check is now
performed in the RepaintManager.
2006-02-27 Roman Kennke <kennke@aicas.com>
* javax/swing/RepaintManager.java
(currentRepaintManagers): Made field private.
(rectCache): New field.
(addDirtyRegion): Clip dirty rectangle with visible rectangle of
component. Changed Rectangle handling to avoid unnecessary new
Rectangle instances.
(getOffscreenBuffer): Create buffer with size of the root window.
Respect the maximum buffer size here.
(commitBuffer): Align the regions so that they are inside the buffer
image and inside the clip. This avoids problems with a bug in GTKImage.
Fixed Rectangle handling to avoid creation of new Rectangle instances.
2006-02-26 Andrew John Hughes <gnu_andrew@member.fsf.org>
* native/fdlibm/e_acos.c,
* native/fdlibm/e_asin.c,
* native/fdlibm/e_atan2.c,
* native/fdlibm/e_cosh.c,
* native/fdlibm/e_exp.c,
* native/fdlibm/e_fmod.c,
* native/fdlibm/e_hypot.c,
* native/fdlibm/e_log.c,
* native/fdlibm/e_log10.c,
* native/fdlibm/e_rem_pio2.c,
* native/fdlibm/e_remainder.c,
* native/fdlibm/e_sinh.c,
* native/fdlibm/e_sqrt.c,
* native/fdlibm/k_cos.c,
* native/fdlibm/k_sin.c,
* native/fdlibm/k_tan.c,
* native/fdlibm/s_atan.c,
* native/fdlibm/s_cbrt.c,
* native/fdlibm/s_ceil.c,
* native/fdlibm/s_copysign.c,
* native/fdlibm/s_cos.c,
* native/fdlibm/s_expm1.c,
* native/fdlibm/s_fabs.c,
* native/fdlibm/s_finite.c,
* native/fdlibm/s_floor.c,
* native/fdlibm/s_log1p.c,
* native/fdlibm/s_rint.c,
* native/fdlibm/s_scalbn.c,
* native/fdlibm/s_sin.c,
* native/fdlibm/s_tan.c,
* native/fdlibm/s_tanh.c:
Fixed to call our macros rather than __HI and __LO.
* native/fdlibm/fdlibm.h:
Reintroduced previous extraction code.
(EXTRACT_WORDS(ix0,ix1,d)): Readded.
(GET_HIGH_WORD(i,d)): Readded.
(GET_LOW_WORD(i,d)): Readded.
(INSERT_WORDS(d,ix0,ix1)): Readded.
(SET_HIGH_WORD(d,i)): Readded.
(SET_LOW_WORD(d,i)): Readded.
* native/jni/gtk-peer/gthread-jni.c:
Use Glib macros to convert integers/pointers portably.
2006-02-26 Raif S. Naffah <raif@swiftdsl.com.au>
* java/security/SecureRandom.java (SecureRandom): Use GNU-CRYPTO class
as the fallback SPI.
* gnu/java/security/provider/Gnu.java (run): Replaced mappings with new
ones referencing GNU-CRYPTO classes.
* gnu/java/security/provider/PKIXCertPathValidatorImpl.java
(engineValidate): Use GNU-CRYPTO class.
* gnu/java/security/provider/DiffieHellmanKeyFactoryImpl: Removed.
* gnu/java/security/provider/DiffieHellmanKeyPairGeneratorImpl: Likewise.
* gnu/java/security/provider/DSAKeyFactory: Likewise.
* gnu/java/security/provider/DSAKeyPairGenerator: Likewise.
* gnu/java/security/provider/DSAParameters: Likewise.
* gnu/java/security/provider/DSASignature: Likewise.
* gnu/java/security/provider/EncodedKeyFactory: Likewise.
* gnu/java/security/provider/GnuDHPublicKey: Likewise.
* gnu/java/security/provider/GnuDSAPrivateKey: Likewise.
* gnu/java/security/provider/GnuDSAPublicKey: Likewise.
* gnu/java/security/provider/GnuRSAPrivateKey: Likewise.
* gnu/java/security/provider/GnuRSAPublicKey: Likewise.
* gnu/java/security/provider/MD2withRSA: Likewise.
* gnu/java/security/provider/MD4withRSA: Likewise.
* gnu/java/security/provider/MD5: Likewise.
* gnu/java/security/provider/MD5withRSA: Likewise.
* gnu/java/security/provider/RSA: Likewise.
* gnu/java/security/provider/RSAKeyFactory: Likewise.
* gnu/java/security/provider/SHA: Likewise.
* gnu/java/security/provider/SHA1PRNG: Likewise.
* gnu/java/security/provider/SHA1withRSA: Likewise.
* gnu/javax/crypto/GnuDHPrivateKey: Likewise.
2006-02-26 Raif S. Naffah <raif@swiftdsl.com.au>
* gnu/java/security/jce/sig/EncodedKeyFactory.java (log): New field.
(engineGeneratePublic): Added logging.
(engineGeneratePrivate): Likewise.
* gnu/java/security/key/rsa/RSAKeyPairX509Codec.java (log): New field.
(encodePublicKey): Added logging.
Clarified in method documentation that params is optional, but is
always NULL if present.
(decodePublicKey): Added logging.
Handle optional NULL element.
2006-02-26 Raif S. Naffah <raif@swiftdsl.com.au>
* java/util/logging/FileHandler.java: Fixed a javadoc reference.
2006-03-03 Tom Tromey <tromey@redhat.com>
* java/awt/MenuBar.java (shortcuts): Genericized.
2006-03-03 Tom Tromey <tromey@redhat.com>
* java/beans/EventSetDescriptor.java (EventSetDescriptor):
Genericized.
(getListenerType): Likewise.
* java/beans/Introspector.java (getBeanInfo): Genericized.
* java/beans/DefaultPersistenceDelegate.java (initialize):
Genericized.
2006-03-01 Anthony Balkissoon <abalkiss@redhat.com>
* java/math/BigDecimal.java:
(precision): Fixed overflow problem with large numbers.
(longValueExact): New method.
(intValueExact): Likewise.
(byteValueExact): Likewise.
(shortValueExact): Likewise.
2006-03-01 Anthony Balkissoon <abalkiss@redhat.com>
* java/math/BigDecimal.java:
(remainder(BigDecimal)): New method.
(divideAndRemainder(BigDecimal)): Likewise.
(divideToIntegralValue(BigDecimal)): Likewise.
(floor): New implementation method.
2006-02-28 Anthony Balkissoon <abalkiss@redhat.com>
* java/math/BigDecimal.java:
(divide(BigDecimal, int, RoundingMode)): New method.
(divide(BigDecimal, RoundingMode)): Likewise.
(divide(BigDecimal, int, int)): Removed incorrect throwing of exception
when the new scale is < 0.
(setScale(int, RoundingMode)): New method.
(ulp): Likewise.
2006-02-27 Anthony Balkissoon <abalkiss@redhat.com>
* java/math/BigDecimal.java: Replaced occurences of BigInteger.valueOf
with BigInteger.ZERO, BigInteger.ONE, BigInteger.TEN where appropriate.
(add(BigDecimal, MathContext)): New method.
(subtract(BigDecimal, MathContext)): Likewise.
(precision): Fixed to correctly handle BigIntegers with more than 19
digits.
(pow(int, MathContext)): New method.
2006-02-27 Anthony Balkissoon <abalkiss@redhat.com>
* java/math/BigDecimal.java: Added @throws clause to constructors.
(mathContext): Removed this unneeded field.
(BigDecimal(int, MathContext)): New constructor.
(BigDecimal(BigInteger, int, MathContext)): Likewise.
(multiply(BigDecimal, MathContext)): New method.
(negate(MathContext)): Likewise.
(plus(MathContext)): Likewise.
(numDigitsInLong): Fixed to properly handle negatives.
2006-02-25 Chris Burdess <dog@gnu.org>
* gnu/java/net/CRLFInputStream.java,
gnu/java/net/LineInputStream.java: Streams that use mark
capabilities on the underlying stream do not expose mark
functionality themselves.
* gnu/xml/stream/CRLFReader.java: Fix incorrect end condition when
off > 0.
2006-02-25 Ito Kazumitsu <kaz@maczuka.gcd.org>
* gnu/regexp/REMatch.java(matchFlags): New int field used as
option flags passed to match methods.
(MF_FIND_ALL): New flag.
* gnu/regexp/RETokenOneOf.java(matchP): Unless MF_FIND_ALL is set,
do not try other possibilties once a match is found.
* gnu/regexp/RETokenRepeated.java(findDoables): Set MF_FIND_ALL
so that all possibilities can be found.
(match): Rewritten using new methods matchMinimum and _match.
(_match): New method which performs a depth-first recursive search.
(matchMinimum): New method.
(initVisited), (visitedContains), (addVisited): New methods for
manipulating an array of icharacter positions which _match has
already visited.
2006-02-24 Anthony Balkissoon <abalkiss@redhat.com>
* java/math/BigDecimal.java:
(BigDecimal(long, MathContext)): New constructor.
(BigDecimal(BigInteger, MathContext)): Likewise.
(BigDecimal(String, MathContext)): Likewise.
(BigDecimal(double, MathContext)): Likewise.
(round): Fixed a typo where the precision field was used instead of a
call to the precision method, and also store the new precision in the
returned BigDecimal.
(abs(MathContext)): New method.
2006-02-24 Anthony Balkissoon <abalkiss@redhat.com>
* java/math/BigDecimal.java
(toBigInteger): Fixed problem where this method couldn't handle
negative values for scale.
(toBigIntegerExact): New method.
(stripTrailingZeros): Likewise.
2006-02-24 David Daney <ddaney@avtrex.com>
PR classpath/26082
* gnu/java/net/protocol/http/HTTPConnection.java (pool): Changed to
type Pool.
(Pool): New inner class.
(timeLastUsed): New field.
(setPool): Changed parameter type to Pool.
(release): Moved pool management logic to new class Pool.
* gnu/java/net/protocol/http/HTTPURLConnection.java (connectionPool):
Removed.
(maxConnections) : Removed.
(GetHTTPPropertiesAction.run): Don't initialize maxConnections.
(getConnection): Moved pool management logic to HTTPConnection.Pool.
2006-02-24 Lillian Angel <langel@redhat.com>
* java/awt/Container.java:
Added new field. True if Container has been cleared and
heavyweights need to be repainted.
(paint): Fixed comment. Fixed to use backCleared and
reset backCleared.
(update): Set backCleared to true after the background
of the container has been cleared.
2006-02-24 Lillian Angel <langel@redhat.com>
* java/awt/TextField.java
(addNotify): Added call to super.
2006-02-24 Lillian Angel <langel@redhat.com>
* java/awt/Component.java
(reshape): Reverted last patch. Should have check here.
(addNotify): Added check. If parent is lightweight, then
initialize listener on the parent.
(HeavyweightInLightweightListener): New class.
2006-02-24 Roman Kennke <kennke@aicas.com>
* javax/swing/plaf/basic/BasicComboPopup.java
(show): Register the popup with the autocloser after it has been
opened completely, by putting the registration on the eventqueue.
2006-02-24 Andrew John Hughes <gnu_andrew@member.fsf.org>
* gnu/java/security/prng/BasePRNG.java:
(clone()): Added cast of buffer to byte[].
* gnu/javax/crypto/mac/TMMH16.java:
(clone()): Fixed casting of cloned arrays.
* native/fdlibm/fdlibm.h:
Added missing defines from old fdlibm.h needed by Darwin.
(GET_FLOAT_WORD(i,d)): Re-added.
(SET_FLOAT_WORD(d,i)): Re-added.
2006-02-24 Roman Kennke <kennke@aicas.com>
* java/awt/Container.java:
(dispatcher): Removed field.
(dispatchEventImpl): Removed lightweight dispatching.
(addNotifyContainerChildren): Removed LightweightDispatcher
handling.
(LightweightDispatcher): Removed class.
* java/awt/LightweightDispatcher.java: New class.
* java/awt/Toolkit.java
(Toolkit): Install LightweightDispatcher in global listener
array.
2006-02-24 Chris Burdess <dog@gnu.org>
Fixes PR 26324
* gnu/java/net/CRLFInputStream.java: Fix incorrect end condition when
off > 0.
2006-02-24 Andrew John Hughes <gnu_andrew@member.fsf.org>
* NEWS: Mentions the VMMath runtime changes.
* doc/vmintegration.texinfo: Updated to include
VMMath.
2006-02-24 Roman Kennke <kennke@aicas.com>
* javax/swing/plaf/basic/BasicLookAndFeel.java
(PopupHelper.autoClosePopups): New field.
(PopupHelper.mousePressed): Also autoclose any registered popups.
(PopupHelper.registerForAutoClose): New method.
(PopupHelper.autoClosePopups): New method.
(popupHelper): Changed type of field to PopupHelper.
(registerForAutoClose): New method.
* javax/swing/plaf/basic/BasicComboPopup.java
(show): Register this popup for autoclosing.
2006-02-24 Raif S. Naffah <raif@swiftdsl.com.au>
* gnu/javax/crypto/mac/TMMH16.java (clone): New method.
* gnu/java/security/prng/MDGenerator.java (clone): New method.
* gnu/java/security/prng/BasePRNG.java (clone): Clone buffer.
2006-02-24 Roman Kennke <kennke@aicas.com>
Reported by Ingo Proetel <proetel@aicas.com>
* java/util/logging/LogManager.java
(addLogger): Search the parent loggers for log level
configuration and inherit that.
(readConfiguration): Provide minimal default configuration
if no configuration can be found otherwise.
2006-02-23 Anthony Balkissoon <abalkiss@redhat.com>
* java/math/BigDecimal.java:
(toString): Fixed a problem where the negative sign was being displayed
twice in the exponent.
(toEngineeringString): New method.
(toPlainString): Likewise.
(pow): Likewise.
2006-02-23 Anthony Balkissoon <abalkiss@redhat.com>
* java/math/BigDecimal.java:
(toString): Rewrote this method to behave as specified. Added API
comments to explain behaviour.
(scaleByPowerOfTen): New method.
2006-02-23 Roman Kennke <kennke@aicas.com>
* javax/swing/JRootPane.java
(isOptimizedDrawingEnabled): Implemented to return true
when the glassPane is not visible.
2006-02-23 Roman Kennke <kennke@aicas.com>
* javax/swing/plaf/basic/BasicLookAndFeel.java
(PopupHelper): New inner class.
(popupHelper): New field.
(initialize): New method.
(uninitialize): New method.
* javax/swing/plaf/basic/BasicPopupMenuUI.java
(mouseInputListener): Removed field.
(PopupMenuHandler.popupMenuWillBecomeInvisible): Removed
handling of GlassPane.
(PopupMenuHandler.popupMenuWillBecomeVisible): Removed
handling of GlassPane.
(MouseInputHandler): Removed class.
2006-02-23 Roman Kennke <kennke@aicas.com>
* java/awt/AWTEvent.java
(eventIdToMask): New utility method.
* java/awt/EventQueue.java
(dispatchEvent): Also globally dispatch events via the toolkit.
(globalDispatchEvent): New method.
* java/awt/Toolkit.java
(awtEventListeners): New field.
(Toolkit()): Initialize new field.
(createComponent): Create GLightweightPeer here.
(addAWTEventListener): Implemented and documented.
(removeAWTEventListener): Implemented and documented.
(getAWTEventListeners): Implemented and documented both method
variants.
* java/awt/event/AWTEventListenerProxy.java
(eventDispatched): Don't filter events here.
2006-02-23 Chris Burdess <dog@gnu.org>
Fixes PR 26410
* gnu/xml/dom/DomDocumentBuilderFactory.java,
gnu/xml/dom/JAXPFactory.java,
gnu/xml/libxmlj/dom/GnomeDocumentBuilderFactory.java,
javax/xml/parsers/DocumentBuilderFactory.java: Add and trivially
implement DocumentBuilderFactory.get/setFeature methods.
2006-02-23 Lillian Angel <langel@redhat.com>
* gnu/java/awt/peer/GLightweightPeer.java
(repaint): Scott's proposed fix. Send repaint to the
component's parent.
* gnu/java/awt/peer/gtk/GtkComponentPeer.java
(setBounds): Removed next_parent, not needed. Removed
lightweightChild, we always need to compensate for the
menu bar's height.
* java/awt/Component.java
(setBounds): Removed check. Caused lots of problems, because some
components were not being invalidated. Components should be
invalidated when they are resized or moved, and in some cases,
when a parent is resized/moved, the components do not know
about it and do not adjust.
* java/awt/Graphics.java
(hitClip): Scott's proposed fix. Added check to handle a
null clip.
2006-02-23 Wolfgang Baer <WBaer@gmx.de>
* javax/print/attribute/standard/MediaSize.java:
(media): Field renamed to mediaName for serialization.
(MediaSize): Adapted to new fieldname.
(getMediaSizeName): Likewise.
* javax/print/attribute/HashAttributeSet.java:
(interfaceName): Field renamed to myInterface for serialization.
(HashAttributeSet): Adapted to the new fieldname.
(add): Likewise.
(addAll): Likewise.
(addInternal): Likewise.
(attributeMap): Made transient.
(readObject): New serialization method.
(writeObject): Likewise.
* javax/print/attribute/AttributeSetUtilities.java:
(SynchronizedAttributeSet.set): Field renamed to attrset for serialization.
(SynchronizedAttributeSet.add): Adapted to the new fieldname.
(SynchronizedAttributeSet.addAll): Likewise.
(SynchronizedAttributeSet.clear): Likewise.
(SynchronizedAttributeSet.containsKey): Likewise.
(SynchronizedAttributeSet.containsValue): Likewise.
(SynchronizedAttributeSet.equals): Likewise.
(SynchronizedAttributeSet.get): Likewise.
(SynchronizedAttributeSet.hashCode): Likewise.
(SynchronizedAttributeSet.isEmpty): Likewise.
(SynchronizedAttributeSet.remove): Likewise.
(SynchronizedAttributeSet.size): Likewise.
(SynchronizedAttributeSet.toArray): Likewise.
(UnmodifiableAttributeSet.set): Field renamed to attrset for serialization.
(UnmodifiableAttributeSet.add): Adapted to the new fieldname.
(UnmodifiableAttributeSet.addAll): Likewise.
(UnmodifiableAttributeSet.clear): Likewise.
(UnmodifiableAttributeSet.containsKey): Likewise.
(UnmodifiableAttributeSet.containsValue): Likewise.
(UnmodifiableAttributeSet.equals): Likewise.
(UnmodifiableAttributeSet.get): Likewise.
(UnmodifiableAttributeSet.hashCode): Likewise.
(UnmodifiableAttributeSet.isEmpty): Likewise.
(UnmodifiableAttributeSet.remove): Likewise.
(UnmodifiableAttributeSet.size): Likewise.
(UnmodifiableAttributeSet.toArray): Likewise.
* javax/print/attribute/standard/MediaPrintableArea.java:
(width): Field renamed to w for serialization.
(height): Field renamed to h for serialization.
(MediaPrintableArea): Adapted to the new fieldnames.
(MediaPrintableArea): Likewise.
(equals): Likewise.
(hashCode): Likewise.
(getHeight): Likewise.
(getWidth): Likewise.
2006-02-23 Andrew John Hughes <gnu_andrew@member.fsf.org>
* include/java_lang_VMMath.h:
(Java_java_lang_VMMath_cbrt(JNIEnv*,jclass,jdouble)): Added.
(Java_java_lang_VMMath_cosh(JNIEnv*,jclass,jdouble)): Added.
(Java_java_lang_VMMath_expm1(JNIEnv*,jclass,jdouble)): Added.
(Java_java_lang_VMMath_hypot(JNIEnv*,jclass,jdouble,jdouble)): Added.
(Java_java_lang_VMMath_log10(JNIEnv*,jclass,jdouble)): Added.
(Java_java_lang_VMMath_log1p(JNIEnv*,jclass,jdouble)): Added.
(Java_java_lang_VMMath_sinh(JNIEnv*,jclass,jdouble)): Added.
(Java_java_lang_VMMath_tanh(JNIEnv*,jclass,jdouble)): Added.
* java/lang/Math.java:
(cbrt(double)): Implemented.
(cosh(double)): Implemented.
(expm1(double)): Implemented.
(hypot(double,double)): Implemented.
(log10(double)): Implemented.
(log1p(double)): Implemented.
(signum(double)): Implemented.
(signum(float)): Implemented.
(sinh(double)): Implemented.
(tanh(double)): Implemented.
* native/fdlibm/Makefile.am:
Added new files from fdlibm 5.3.
* native/fdlibm/e_acos.c,
* native/fdlibm/e_asin.c,
* native/fdlibm/e_atan2.c,
* native/fdlibm/e_exp.c,
* native/fdlibm/e_fmod.c,
* native/fdlibm/e_log.c,
* native/fdlibm/e_rem_pio2.c,
* native/fdlibm/e_remainder.c,
* native/fdlibm/e_scalb.c,
* native/fdlibm/e_sqrt.c,
* native/fdlibm/k_cos.c,
* native/fdlibm/k_rem_pio2.c,
* native/fdlibm/k_sin.c,
* native/fdlibm/k_tan.c,
* native/fdlibm/s_atan.c,
* native/fdlibm/s_ceil.c,
* native/fdlibm/s_copysign.c,
* native/fdlibm/s_cos.c,
* native/fdlibm/s_fabs.c,
* native/fdlibm/s_finite.c,
* native/fdlibm/s_floor.c,
* native/fdlibm/s_rint.c,
* native/fdlibm/s_scalbn.c,
* native/fdlibm/s_sin.c,
* native/fdlibm/s_tan.c,
* native/fdlibm/w_acos.c,
* native/fdlibm/w_asin.c,
* native/fdlibm/w_atan2.c,
* native/fdlibm/w_acos.c,
* native/fdlibm/w_exp.c,
* native/fdlibm/w_fmod.c,
* native/fdlibm/w_log.c,
* native/fdlibm/w_pow.c,
* native/fdlibm/w_remainder.c,
* native/fdlibm/w_sqrt.c:
Updated to fdlibm 5.3.
* native/fdlibm/e_cosh.c,
* native/fdlibm/e_hypot.c,
* native/fdlibm/e_log10.c,
* native/fdlibm/e_sinh.c,
* native/fdlibm/s_cbrt.c,
* native/fdlibm/s_expm1.c,
* native/fdlibm/s_log1p.c,
* native/fdlibm/s_tanh.c,
* native/fdlibm/w_cosh.c,
* native/fdlibm/w_hypot.c,
* native/fdlibm/w_log10.c,
* native/fdlibm/w_sinh.c:
Imported from fdlibm 5.3.
* native/fdlibm/fdlibm.h:
Imported from fdlibm 5.3 with Classpath additions.
* native/fdlibm/namespace.h:
Updated from new math_symbols file.
* native/jni/java-lang/java_lang_VMMath.c:
(Java_java_lang_VMMath_cbrt(JNIEnv*,jclass,jdouble)): Implemented.
(Java_java_lang_VMMath_cosh(JNIEnv*,jclass,jdouble)): Implemented.
(Java_java_lang_VMMath_expm1(JNIEnv*,jclass,jdouble)): Implemented.
(Java_java_lang_VMMath_hypot(JNIEnv*,jclass,jdouble,jdouble)):
Implemented.
(Java_java_lang_VMMath_log10(JNIEnv*,jclass,jdouble)): Implemented.
(Java_java_lang_VMMath_log1p(JNIEnv*,jclass,jdouble)): Implemented.
(Java_java_lang_VMMath_sinh(JNIEnv*,jclass,jdouble)): Implemented.
(Java_java_lang_VMMath_tanh(JNIEnv*,jclass,jdouble)): Implemented.
* scripts/math_symbols:
Added tanh, expm1, log10 and log1p.
* vm/reference/java/lang/VMMath.java:
(cbrt(double)): Implemented.
(cosh(double)): Implemented.
(expm1(double)): Implemented.
(hypot(double,double)): Implemented.
(log10(double)): Implemented.
(log1p(double)): Implemented.
(sinh(double)): Implemented.
(tanh(double)): Implemented.
2006-02-23 Wolfgang Baer <WBaer@gmx.de>
* javax/print/DocFlavor.java: Added documentation all over.
(BYTE_ARRAY.TEXT_HTML_HOST): Include host charset encoding to mimetype.
(BYTE_ARRAY.TEXT_PLAIN_HOST): Likewise.
(INPUT_STREAM.TEXT_HTML_HOST): Likewise.
(INPUT_STREAM.TEXT_PLAIN_HOST): Likewise.
(URL.TEXT_HTML_HOST): Likewise.
(URL.TEXT_PLAIN_HOST): Likewise.
(hostEncoding): Initialize with host default charset encoding.
(mediaSubtype): Made transient.
(mediaType): Likewise.
(params): Made transient. Changed type to TreeMap.
(className): Removed, changed to myClassName.
(myClassName): New field as defined in serialized form.
(DocFlavor): Adapted to new variable types, names.
(parseMimeType): Reimplemented.
(getParameter): Search with lowercase name.
(getRepresentationClassName): Adapted to changed variable name.
(hashCode): Likewise.
(toString): Reimplemented.
(readObject): New method for serialization.
(writeObject): Likewise.
2006-02-23 Roman Kennke <kennke@aicas.com>
* javax/swing/RepaintManager.java
(commitBuffer): Clip the repaint area with the current clip.
2006-02-23 Raif S. Naffah <raif@swiftdsl.com.au>
* gnu/javax/crypto/key/dh/GnuDHKeyPairGenerator.java
(DEFAULT_PRIME_SIZE): Made public.
(DEFAULT_EXPONENT_SIZE): Likewise.
(setup): Handle DHParameterSpec as well.
* gnu/javax/crypto/key/dh/GnuDHKey.java (getEncoded): Return
defaultFormat instead of Raw.
* gnu/javax/crypto/key/dh/DHKeyPairX509Codec.java
(checkIsConstructed): Removed.
(checkIsBigInteger): Likewise.
(decodePublicKey): Use DerUtil.
* gnu/javax/crypto/key/dh/DHKeyPairPKCS8Codec.java
(checkIsConstructed): Removed.
(checkIsBigInteger): Likewise.
(decodePrivateKey): Use DerUtil.
* gnu/javax/crypto/jce/GnuCrypto.java (run): Updated mapping of
KeyAgreement.DH.
Added mappings for AlgorithmParameters.DH and
AlgorithmParameterGenerator.DH.
* gnu/javax/crypto/jce/DiffieHellmanImpl.java: New file.
* gnu/javax/crypto/jce/sig/DHParametersGenerator.java: Likewise.
* gnu/javax/crypto/jce/sig/DHParameters.java: Likewise.
* gnu/javax/crypto/jce/sig/DHKeyFactory.java (engineGeneratePrivate):
Return result.
(engineGeneratePublic): Likewise.
* gnu/java/security/util/DerUtil.java: New file.
* gnu/java/security/sig/rsa/RSASignatureFactory.java (getNames):
Include only valid RSA PKCS1 (v1.5) signature names.
* gnu/java/security/sig/rsa/RSAPKCS1V1_5SignatureX509Codec.java
(RSAPKCS1V1_5SignatureX509Codec): Removed.
(checkIsConstructed): Likewise.
* gnu/java/security/sig/dss/DSSSignatureX509Codec.java
(checkIsConstructed): Removed.
(checkIsBigInteger): Likewise.
(decodeSignature): Use DerUtil.
* gnu/java/security/key/rsa/RSAKeyPairX509Codec.java
(checkIsConstructed): Removed.
(checkIsBigInteger): Likewise.
(decodePublicKey): Use DerUtil.
* gnu/java/security/key/rsa/RSAKeyPairPKCS8Codec.java
(checkIsConstructed): Removed.
(checkIsBigInteger): Likewise.
(decodePrivateKey): Use DerUtil.
* gnu/java/security/key/dss/DSSKeyPairX509Codec.java
(checkIsConstructed): Removed.
(checkIsBigInteger): Likewise.
(decodePublicKey): Use DerUtil.
* gnu/java/security/key/dss/DSSKeyPairPKCS8Codec.java
(checkIsConstructed): Removed.
(checkIsBigInteger): Likewise.
(decodePrivateKey): Use DerUtil.
* gnu/java/security/key/dss/DSSKeyPairGenerator.java
(DEFAULT_MODULUS_LENGTH): Made it public.
* gnu/java/security/key/dss/DSSKey.java (getEncoded): Return
defaultFormat instead of Raw.
* gnu/java/security/jce/sig/DSSParametersGenerator.java: New file.
* gnu/java/security/jce/sig/DSSParameters.java: Likewise..
* gnu/java/security/jce/sig/DSSKeyFactory.java (engineGeneratePrivate):
Return result.
(engineGeneratePublic): Likewise.
* gnu/javax/crypto/DiffieHellmanImpl: Removed.
2006-02-22 Anthony Balkissoon <abalkiss@redhat.com>
* java/math/BigDecimal.java:
(BigDecimal(char[], int, int, MathContext)): New constructor.
(BigDecimal(char[], MathContext)): Likewise.
(BigDecimal(char[])): Likewise.
(BigDecimal(char[], int, int)): Likewise.
(BigDecimal(String)): Fixed handling of exponent and scale.
2006-02-22 Mark Wielaard <mark@klomp.org>
* java/awt/Checkbox.java (setState): Check that state actually changed
before calling peer.
(dispatchEventImpl): Set new state if ItemEvent.
* gnu/java/awt/peer/gtk/GtkCheckboxPeer.java (changing): Removed.
(create): Set currentState.
(setState): Make synchronized, check and set currentState before
calling gtkToggleButtonSetActive.
(postItemEvent): Make synchronized, check and set currentState before
posting ItemEvent.
* native/jni/gtk-peer/gnu_java_awt_peer_gtk_GtkCheckboxPeer.c
(postItemEventID): Method now takes boolean.
(item_toggled_cb): Likewise.
2006-02-22 Robert Schuster <robertschuster@fsfe.org>
* javax/swing/text/DefaultHighlighter.java:
(changeHighlight): Added code to minimize the damaged area.
2006-02-22 Robert Schuster <robertschuster@fsfe.org>
* javax/swing/text/PlainView.java:
(getPreferredSpan): Added missing 'break'.
statement which corrects an unwanted fall through.
(updateDamage): Update maxLineLength correctly when text is
removed, call preferenceChanged accordingly.
(viewToModel): Restrict line number to be within 0 and the
number of elements-1.
2006-02-22 Robert Schuster <robertschuster@fsfe.org>
* javax/swing/text/Utilities.java:
(getPositionAbove): Prefer first value by changing comparison
from < to <=.
(getPositionBelow): Dito.
2006-02-22 Robert Schuster <robertschuster@fsfe.org>
* javax/swing/text/DefaultEditorKit.java: Added checks and fallback
behavior when magic caret position is null.
2006-02-22 Roman Kennke <kennke@aicas.com>
* javax/swing/JTextField.java
(isValidateRoot): New method.
2006-02-22 Roman Kennke <kennke@aicas.com>
* javax/swing/JEditorPane.java
(getPreferredSize): Rewritten to behave like the reference impl.
(getScrollableTracksViewportWidth): Likewise.
(getScrollableTracksViewportHeight): Likewise.
2006-02-22 Roman Kennke <kennke@aicas.com>
* javax/swing/RepaintManager.java
(addInvalidComponent): Also consider the component itself.
2006-02-22 Mark Wielaard <mark@klomp.org>
* javax/swing/text/html/HTMLDocument.java (createDefaultRoot): Fully
qualify AbstractDocument.AttributeContext.
(blockOpen): Likewise.
2006-02-21 Anthony Balkissoon <abalkiss@redhat.com>
* java/math/BigDecimal.java:
(mathContext): New field.
(precision): Likewise.
(BigDecimal(int)): New constructor.
(BigDecimal(long)): Likewise.
(BigDecimal(BigInteger)): Added API docs.
(BigDecimal(BigInteger, int)): Removed incorrect NumberFormatException
and added API docs.
(plus): New method.
(round): Likewise.
(precision): Likewise.
(valueOf): Likewise.
(numDigitsInLong): New implementation method.
2006-02-21 Anthony Balkissoon <abalkiss@redhat.com>
* java/math/MathContext.java: New class.
* java/math/RoundingMode: New Enum.
2006-02-21 Mark Wielaard <mark@klomp.org>
* java/awt/Component.java (translateEvent): Translate
AdjustmentEvents to 1.0 Events.
* java/awt/Scrollbar.java (dispatchEventImpl): Set valueIsAdjusting.
Call setValue() before processing event.
* gnu/java/awt/peer/gtk/GtkScrollbarPeer.java (setValues): Check
whether we are currently changing and being called back from the
Scrollbar component.
(setBarValues): New native method.
(postAdjustmentEvent): Mark AdjustmentEvent as user generated.
* native/jni/gtk-peer/gnu_java_awt_peer_gtk_GtkScrollbarPeer.c
(Java_gnu_java_awt_peer_gtk_GtkScrollbarPeer_setValues): Renamed to
Java_gnu_java_awt_peer_gtk_GtkScrollbarPeer_setBarValue
* include/gnu_java_awt_peer_gtk_GtkScrollbarPeer.h: Regenerated.
2006-02-21 Roman Kennke <kennke@aicas.com>
* javax/swing/text/View.java
(setParent): Set child parent to null when disconnecting
the view from the View hierarchy.
2006-02-21 Wolfgang Baer <WBaer@gmx.de>
* javax/print/StreamPrintService.java: Added and enhanced documentation.
2006-02-21 Roman Kennke <kennke@aicas.com>
* javax/swing/text/WrappedPlainView.java
(calculateBreakPosition): Changed to use the view's allocation instead
of the container's preferredSize.
2006-02-21 Wolfgang Baer <WBaer@gmx.de>
* java/awt/CardLayout.java:
(first): Updated api documentation.
(last): Likewise.
(next): Likewise.
(previous): Likewise.
(show): Clarified api docs. Return if name is null. Throw
IllegalArgumentException if layout of container is not this.
(gotoComponent): Updated api documentation. Throw
IllegalArgumentException if layout of container is not this.
2006-02-21 Roman Kennke <kennke@aicas.com>
* javax/swing/text/NavigationFilter.java
(getNextVisualPositionFrom): New method.
2006-02-21 Roman Kennke <kennke@aicas.com>
* javax/swing/plaf/basic/BasicTextUI.java
(RootView.setView): Call setParent() on the view with this as
argument instead of null.
(setView): Don't set root view's parent here.
2006-02-21 Roman Kennke <kennke@aicas.com>
* javax/swing/text/AbstractDocument.java
(AbstractElement.getAttribute): Use getResolveParent() to fetch
the resolving parent.
(AbstractElement.getResolveParent): Fixed to handle possible null
parent.
* javax/swing/text/BoxView.java
(childReqs): New field.
(paint): Added debugging code (commented out).
(getPreferredSpan): Rewritten to use new update* methods.
(getMaximumSpan): Rewritten to return Integer.MAX_VALUE
for the minor axis and preferredSpan for the major axis.
(getMinimumSpan): Rewritten to use new update* methods.
(baselineRequirements): Rewritten to avoid creation of
unnecessary SizeRequirements objects.
(baselineLayout): Rewritten to use new update* methods.
(calculateMajorAxisRequirements): Rewritten to avoid creation of
unnecessary SizeRequirements objects.
(calculateMinorAxisRequirements): Rewritten to avoid creation of
unnecessary SizeRequirements objects.
(layout): Some robustness fixes for the layout. Turned AssertionErrors
into warnings.
(layoutMajorAxis): Rewritten to use new update* methods.
(layoutMinorAxis): Rewritten to use new update* methods.
(getChildRequirements): Replaced by the update* methods.
(getAlignment): Use update* methods.
(updateChildRequirements): New methods. Updates the child requirements
if necessary.
(updateRequirements): New methods. Updates the BoxView requirements
if necessary.
* javax/swing/text/DefaultStyledDocument.java
(ElementBuffer.insert): Added warning for illegal replacement operation.
* javax/swing/text/FlowView.java
(layoutRow): When offset doesn't change, return -1.
(LogicalView): Now subclasses BoxView.
(loadChildren): Let the CompositeView.setParent() load the children
of the logicalView.
(calculateMinorRequirements): New overridden method.
* javax/swing/text/GlyphView.java
(DefaultGlyphPainter.paint): Fixed typo.
(startOffset): Made field private.
(endOffset): Made field private.
(paint): Call getStartOffset() and getEndOffset() instead of the
element methods.
(isStrikeThrough): Fixed typo.
(breakView): Use Utilities.getBreakLocation() to determine best
break location.
(changedUpdate): Call preferencedChange on this instead of parent.
(removeUpdate): Call preferencedChange on this instead of parent.
* javax/swing/text/ParagraphView.java
(Row.getAlignment): For Y_AXIS, call super.
(getAlignment): Likewise.
* javax/swing/text/Utilities.java
(getBreakLocation): Set Segment object directly on the BreakIterator.
* javax/swing/text/html/HTML.java
(Attribute): Made class non-serializable and final as specified.
(Attribute(String)): Made constructor private.
(Attribute.compareTo): Removed.
(Attribute.equals): Removed.
(Attribute.hashCode): Removed.
(Tag): Made class non-comparable and non-serializable as specified.
(Tag.compareTo): Removed.
(Tag.equals): Removed.
(Tag.hashCode): Removed.
* javax/swing/text/html/HTMLDocument.java
(HTMLReader.blockOpen): Add tag as name attribute to element.
* javax/swing/text/html/HTMLEditorKit.java
(HTMLFactory.create): Create NullView for <head> tags, removed unused
fallback.
* javax/swing/text/html/InlineView.java
(setPropertiesFromAttributes): Call super.
* javax/swing/text/html/NullView.java: New class.
2006-02-21 Roman Kennke <kennke@aicas.com>
PR classpath/26368
* javax/swing/text/GapContent.java
(GapContentPosition): Made class private.
(InsertUndo): Made class private.
(UndoRemove): Made class private.
(WeakPositionComparator): New inner class.
(positions): Made field private.
(createPosition): Clear up GC'ed positions before creating
a new one. Store position as WeakReference.
(getPositionsInRange): Changed to handle WeakReference
positions.
(setPositionsInRange): Changed to handle WeakReference
positions.
(adjustPositionsInRange): Changed to handle WeakReference
positions.
(dumpPositions): Handle WeakReference positions.
(clearPositionReferences): New method.
2006-02-21 Robert Schuster <robertschuster@fsfe.org>
* javax/swing/plaf/basic/BasicTextUI.java:
(paint): Remove unneccessary part of the if-expression.
(damageRange): Added case where the range spans multiple lines.
* javax/swing/text/DefaultCaret.java:
(clearHighlight): New method.
(handleHighlight): Removed unneccessary part of the if-expression.
(setDot): Use clearHighlight method.
* javax/swing/text/DefaultHighlighter.java: Use ArrayList instead
of Vector.
(paint): Prevented calling size() on every loop iteration, fixed
calculation of allocation area bounds.
(getHighlights): Implemented.
(removeHighlight): Mark damaged area in textcomponent.
(addHighlight): Mark damaged area in textcomponent.
(changeHighlight): Mark damaged area in textcomponent.
(DefaultHighlighter.HighlightEntry): Made it a real
Highlighter.Highlight implementation.
(DefaultHighlighter.DefaultHighlightPainter.paint): Fixed
calculations.
2006-02-20 Stuart Ballard <stuart.a.ballard@gmail.com>
* java/util/zip/ZipConstants.java
(LOCSIG): Change type to long.
(EXTSIG): Likewise.
(CENSIG): Likewise.
(ENDSIG): Likewise.
* java/util/zip/ZipOutputStream.java
(writeLeInt(long)): New method.
2006-02-21 Michael Koch <konqueror@gmx.de>
* gnu/javax/net/ssl/provider/PRNG.java: Removed.
2006-02-20 Mark Wielaard <mark@klomp.org>
* native/jni/gtk-peer/gnu_java_awt_peer_gtk_GdkGraphics2D.c
(begin_drawing_operation): Output stacktrace and return on bad cairo
status.
(end_drawing_operation): Likewise. And reset cairo_t.
2006-02-20 Robert Schuster <robertschuster@fsfe.org>
* javax/swing/text/DefaultEditorKit.java: Fixed comparison
in backward selection action.
2006-02-20 Olivier Jolly <olivier.jolly@pcedev.com>
* java/lang/reflect/Proxy.java:
(ProxyData.getProxyData): Skipped overriding of core methods.
(ProxyData.isCoreObjectMethod): New method.
2006-02-20 Mark Wielaard <mark@klomp.org>
* gnu/java/nio/charset/Provider.java (Provider): Package private.
2006-02-20 Roman Kennke <kennke@aicas.com>
* javax/swing/text/html/Option.java: New class.
2006-02-20 Lillian Angel <langel@redhat.com>
* java/swt/Window.java
(show): Calling show() on the owned windows caused problems.
Changed back to get the peer and call setVisible.
2006-02-20 Roman Kennke <kennke@aicas.com>
* javax/swing/plaf/basic/BasicTextUI.java
(damageRange): Implemented this method.
2006-02-20 Robert Schuster <robertschuster@fsfe.org>
* javax/swing/text/GapContent.java:
(shiftGapEndUp): Corrected new mark value.
* javax/swing/text/AbstractDocument.java:
(remove): Changed order of operations.
2006-02-20 Robert Schuster <robertschuster@fsfe.org>
* javax/swing/text/GapContent.java:
(shiftGapEndUp): Reverted.
* javax/swing/text/AbstractDocument.java:
(remove): Reverted.
2006-02-20 Robert Schuster <robertschuster@fsfe.org>
* javax/swing/text/GapContent.java:
(shiftGapEndUp): Corrected new mark value.
* javax/swing/text/AbstractDocument.java:
(remove): Changed order of operations.
2006-02-20 Mark Wielaard <mark@klomp.org>
* java/awt/Menu.java (add(MenuItem)): Use item.getParent() to get
parent field.
(insert): Likewise.
(addNotify): Add the item after addNotifying it.
* java/awt/MenuBar.java (setHelpMenu): Only call removeNotify() when
there is a peer. Use getParent() and setParent() to manipulate parent
field.
(add(Menu)): Use getParent() and setParent() to manipulate parent
field. Call addNotify() and addMenu() when there is a peer.
(remove(int)): Call removeNotify() and delMenu() when there is a peer.
(addNotify): Use getPeer()/setPeer(). Call addMenu() and addHelpMenu()
when there is a peer.
* gnu/java/awt/peer/gtk/GtkMenuComponentPeer.java (create): Document.
(GtkMenuComponentPeer): Document. Take MenuComponent as argument.
(setFont): Call setFont(Font).
(setFont(Font)): Document. Only set font when not null.
* gnu/java/awt/peer/gtk/GtkMenuItemPeer.java (create): Document. Made
protected.
(connectSignals): Likewise.
(GtkMenuItemPeer): Document. Don't try to add item. Always call
connectSignals().
* gnu/java/awt/peer/gtk/GtkCheckboxMenuItemPeer.java (create): Make
protected.
(postMenuActionEvent): Document.
* gnu/java/awt/peer/gtk/GtkMenuPeer.java (create): Document. Made
protected.
(addItem): Document. Made private.
(addTearOff): Made private.
(connectSignals): New protected overridden method.
(GtkMenuPeer): Correctly cast setupAccelGroup() arguments.
* gnu/java/awt/peer/gtk/GtkMenuBarPeer.java (hasHelpMenu): New field.
(create): Document.
(addMenu): Made private, take GtkMenuPeer as argument and document.
(GtkMenuBarPeer): Document.
(nativeSetHelpMenu): Removed.
(addHelpMenu): Implement.
(delMenu): Document.
(addMenu): Implement.
* gnu/java/awt/peer/gtk/GtkPopupMenuPeer.java (setParent): Removed.
* include/gnu_java_awt_peer_gtk_GtkMenuBarPeer.h: Regenerated.
* native/jni/gtk-peer/gnu_java_awt_peer_gtk_GtkMenuBarPeer.c
(Java_gnu_java_awt_peer_gtk_GtkMenuBarPeer_nativeSetHelpMenu):
Removed.
2006-02-20 Audrius Meskauskas <AudriusA@Bioinformatics.org>
* gnu/java/rmi/server/RMIObjectInputStream.java (resolveProxyClass):
Expect that proxy interfaces may have different class loaders.
* gnu/java/rmi/server/UnicastServerRef.java: Rewritten.
* java/rmi/registry/Registry.java,
* java/rmi/server/UnicastRemoteObject.java:
Documented about proxy stubs.
* gnu/java/rmi/server/CombinedClassLoader.java,
java/rmi/server/RemoteObjectInvocationHandler.java: New files.
* NEWS: Added entry.
2006-02-19 Mark Wielaard <mark@klomp.org>
* gnu/java/awt/peer/gtk/GtkContainerPeer.java (endValidate): Set
Parent and Bounds of our children if either or parent is showing, or
we are a Window and are showing ourselves now.
2006-02-19 Audrius Meskauskas <AudriusA@Bioinformatics.org>
* gnu/classpath/tools/rmi/rmic/RmicCompiler.java (convertStubName):
New method.
* gnu/classpath/tools/rmi/rmic/templates/Stub_12.jav:
Another stub name fix.
2006-02-19 Audrius Meskauskas <AudriusA@Bioinformatics.org>
* gnu/classpath/tools/giop/grmic/GiopRmicCompiler.java (compile):
Call convertStubName. (convertStubName): New method.
* gnu/classpath/tools/rmi/RMIC.java (main): Stub name fix.
* gnu/classpath/tools/rmi/rmic/RmiMethodGenerator.java
(convertStubName): New method.
(getMethodHashCode):
Use existing gnu.java.rmi.server.RMIHashes.getMethodHash.
* gnu/classpath/tools/rmi/rmic/templates/Stub_12.jav: Stub name fix.
2006-02-19 Audrius Meskauskas <AudriusA@Bioinformatics.org>
* java/rmi/server/UnicastRemoteObject.java: Documenting.
2006-02-19 Audrius Meskauskas <AudriusA@Bioinformatics.org>
* gnu/java/rmi/server/UnicastServerRef.java: Reformatted.
2006-02-18 Audrius Meskauskas <AudriusA@Bioinformatics.org>
* javax/swing/JViewport.java (paintBackingStore): If the component has
not been scrolled, only repaint the buffer part, indicated by
the parameter graphics clip.
2006-02-19 Raif S. Naffah <raif@swiftdsl.com.au>
* gnu/javax/crypto/key/OutgoingMessage.java (writePublicKey): Handle new
internal format.
(writePrivateKey): Likewise.
(writeKey): New method.
(getKeyType): Likewise.
* gnu/javax/crypto/key/IncomingMessage.java (readPublicKey): Handle new
internal format.
(readPrivateKey): Likewise.
(getKeyPairCodec): New method.
* gnu/javax/crypto/key/srp6/SRPKey.java (getFormat): Always return Raw.
* gnu/javax/crypto/key/dh/GnuDHKey.java (getFormat): Use FormatUtil.
* gnu/java/security/Registry.java (RSA_SIG_PREFIX): New constant.
(RSA_PSS_ENCODING): Likewise..
(RSA_PKCS1_V1_5_ENCODING): Likewise.
(RSA_PSS_SIG): Redefined using other constants.
(RSA_PKCS1_V1_5_SIG): Likewise.
(MAGIC_RAW_RSA_PKCS1V1_5_SIGNATURE): New constant.
* gnu/java/security/util/FormatUtil.java: New file.
* gnu/java/security/sig/SignatureFactory.java (names): New field.
(getInstance): Let RSASignatureFactory handle RSA signature names.
(getNames): Handle new RSA signature (with format) names.
* gnu/java/security/sig/SignatureCodecFactory.java: New file.
* gnu/java/security/sig/BaseSignature.java (BaseSignature): Add check
for null md.
(name): Include hash algorithm name.
* gnu/java/security/sig/rsa/RSASignatureFactory.java: New file.
* gnu/java/security/sig/rsa/RSAPSSSignature.java
(RSAPSSSignature): Call constructor with IMessageDigest.
(RSAPSSSignature(ImessageDigest,int)): New constructor.
* gnu/java/security/sig/rsa/RSAPKCS1V1_5SignatureRawCodec.java: New
file.
* gnu/java/security/sig/rsa/RSAPKCS1V1_5SignatureX509Codec.java:
Likewise.
* gnu/java/security/sig/rsa/RSAPKCS1V1_5Signature.java
(RSAPKCS1V1_5Signature(String)): Call constructor with IMessageDigest.
(RSAPKCS1V1_5Signature(IMessageDigest)): New constructor.
* gnu/java/security/sig/rsa/EMSA_PKCS1_V1_5.java (getInstance): Added
hash algorithm name to exception.
* gnu/java/security/sig/dss/DSSSignatureX509Codec.java: New file.
* gnu/java/security/key/KeyPairCodecFactory.java
(names): New class field.
(getInstance(Sitrng)): Deconstruct and call getInstance(String,String).
(getInstance(String,String)): New method.
(getInstance(String,int)): New method.
(getInstance(byte[])): Removed.
(getInstance(Key)): Handle new formats.
(getNames): Likewise.
(getEncodingName(int)): Moved to FormatUtil.
(getEncodingShortName(int)): Likewise.
(getRawCodec(String)): New method.
(getX509Codec(String)): Likewise.
(getPKCS8Codec(String)): Likewise.
(getRawCodec(Key)): Likewise.
(getX509Codec(Key)): Likewise.
(getPKCS8Codec(Key)): Likewise.
* gnu/java/security/key/dss/DSSKey.java (getFormat): Use FormatUtil.
* gnu/java/security/key/rsa/GnuRSAKey.java (getFormat): Likewise.
* gnu/java/security/jce/sig/SHA512withRSA.java: New File.
* gnu/java/security/jce/sig/SHA384withRSA.java: Likewise.
* gnu/java/security/jce/sig/SHA256withRSA.java: Likewise.
* gnu/java/security/jce/sig/SHA160withRSA.java: Likewise.
* gnu/java/security/jce/sig/SHA160withDSS.java: Likewsie.
* gnu/java/security/jce/sig/MD5withRSA.java: Likewise.
* gnu/java/security/jce/sig/MD2withRSA.java: Likewise.
2006-02-18 Mark Wielaard <mark@klomp.org>
* java/awt/dnd/DragSource.java (getDefaultDragSource): Return new
DragSource.
(NoDragGestureRecognizer): New static class.
(createDragGestureRecognizer): Return NoDragGestureRecognizer when
Toolkit doesn't support drag and drop.
2006-02-18 Mark Wielaard <mark@klomp.org>
* javax/swing/AbstractAction.java (AbstractAction()): Nothing to do.
(AbstractAction(String)): Just call putValue() for NAME.
(putValue): Nothing to do is old and new value are both null.
2006-02-18 Mark Wielaard <mark@klomp.org>
* javax/swing/JRootPane.java (layoutContainer): Get contentPane
through getContentPane().
(preferredLayoutSize): Likewise.
2006-02-18 Mark Wielaard <mark@klomp.org>
* javax/swing/JMenuBar.java (paintBorder): Check whether border is
actually set before painting.
2006-02-18 Mark Wielaard <mark@klomp.org>
* javax/swing/text/html/HTMLDocument.java (addContent):
Fully qualify AbstractDocument.AttributeContext and
DefaultStyledDocument.ElementSpec.ContentType for gcj 4.0.
2006-02-18 Mark Wielaard <mark@klomp.org>
* java/awt/datatransfer/DataFlavor.java (tryToLoadClass): Rewritten.
(getRepresentationClassFromMime): Add exception cause to
IllegalArgumentException.
2006-02-17 Lillian Angel <langel@redhat.com>
* gnu/java/awt/peer/gtk/GtkComponentPeer.java:
Removed unneeded import.
* gnu/java/awt/peer/gtk/GtkFramePeer.java:
Removed unneeded imports.
* java/awt/BorderLayout.java:
Fixed comment, this is not yet handled in the JDK 1.5.
* java/awt/Container.java:
Removed unneeded import.
2006-02-17 Lillian Angel <langel@redhat.com>
* gnu/java/awt/peer/gtk/GtkComponentPeer.java
(setBounds): Removed check. Coordinates should always be changed
to incorporate the parent's coordinates.
* gnu/java/awt/peer/gtk/GtkFramePeer.java
(setMenuBar): Added checks. Don't validate component if it has
not been validated yet, it will be validated later. Only validate
if it has already been validated, in that case it needs to be
revalidated.
* java/awt/Window.java
(show): Added check. If the window is visible, then bring it to the
front. Otherwise, iterate through all its children windows and show them.
No need to do both.
2006-02-17 Roman Kennke <kennke@aicas.com>
* javax/swing/text/html/ParagraphView.java: New file.
2006-02-17 Audrius Meskauskas <AudriusA@Bioinformatics.org>
* javax/swing/JTable.java (getCellRect): return +rowMargin if spacing
is included. (moveToCellBeingEdited): Adjusted to start editing at the
same location where was the initial text.
* javax/swing/plaf/basic/BasicTableUI.java (paint): Rewritten.
2006-02-17 Chris Burdess <dog@gnu.org>
Fixes PRs 26319, 26320, 26321, 26322, 26325
* gnu/xml/stream/SAXParser.java: On error, reset parser before
rethrowing exception.
* gnu/xml/stream/XMLParser.java: Only report "illegal use of
1.1-style prefix unbinding in 1.0 document" error for xmlns
prefixes, not xmlns attributes. Fix a problem with empty namespace
stack at the end of a document. Permit parameter entity references
in element and attribute-list definition name area. Corrected
normalisation of whitespace character entity references in CDATA
attribute values. Fixed number of characters read following a
reset when detecting end of character data with characters after a
Unicode surrogate pair.
2006-02-17 Roman Kennke <kennke@aicas.com>
* javax/swing/text/html/HTMLEditorKit.java
(HTMLFactory.create): Create InlineView for content tags.
* javax/swing/text/html/HTMLDocument.java
(HTMLReader.flush): Call create() on first flush and insert
on subsequent flushes.
2006-02-17 Roman Kennke <kennke@aicas.com>
* javax/swing/text/AbstractDocument.java
(BranchElement.getStartOffset): Implemented workaround for wrong
NPE.
(BranchElement.getEndOffset): Implemented workaround for wrong
NPE.
(ElementBuffer.split): Use createBranchElement() instead of
new BranchElement().
(ElementBuffer.insertFracture): Use createBranchElement() instead of
new BranchElement().
(ElementBuffer.recreateAfterFracture): Use createBranchElement()
instead of new BranchElement().
(createDefaultRoot): Use createBranchElement() and createLeafElement
instead of the constructors.
(create): Rewritten.
2006-02-17 Keith Seitz <keiths@redhat.com>
* gnu/classpath/jdwp/id/JdwpId.java (size): Remove.
(SIZE): New constant.
* gnu/classpath/jdwp/processor/VirtualMachineCommandSet.java
(executeIDsizes): Use SIZE constant.
* vm/reference/gnu/classpath/jdwp/VMFrame.java (size): Remove.
(SIZE): New constant.
2006-02-17 Audrius Meskauskas <AudriusA@Bioinformatics.org>
* javax/swing/JTable.java (IconCellRenderer): Set the component
text to empty string. (createDefaultRenderers): Register
IconCellRenderer also for ImageIcon.
(getCellEditor(int, int), getCellRenderer(int, int)):
Use model index for data model and column index for column model.
(getColumnClass): Convert to model index before requesting class
from model.
2006-02-17 Roman Kennke <kennke@aicas.com>
* javax/swing/text/html/HTMLDocument.java
(createDefaultRoot): Implemented.
(createLeafElement): Implemented.
(createBranchElement): Implemented.
(BlockElement.getName): Fixed to handle HTML.Tag objects as name.
(RunElement.getName): Fixed to handle HTML.Tag objects as name.
(HTMLReader.ParagraphAction.start): Call blockOpen at the very least.
(HTMLReader.ParagraphAction.end): Call blockClose at the very least.
(HTMLReader.blockOpen): Add name attribute with the current tag.
(HTMLReader.addContent): Add name attribute with HTML.Tag.CONTENT.
2006-02-17 Audrius Meskauskas <AudriusA@Bioinformatics.org>
* javax/swing/plaf/basic/BasicTableHeaderUI.java (MouseInputHandler):
Rewritten.
* javax/swing/table/JTableHeader.java: Documenting related methods.
2006-02-17 Jeroen Frijters <jeroen@frijters.net>
Fixes PR 25752
* gnu/java/net/protocol/ftp/FTPURLConnection.java
(connect): Changed to use SystemProperties.
(getInputStream): Try changeWorkingDirectory to figure out if
url is a directory, if not use retrieve.
(getOutputStream): Don't worry about directories, simply always
try to do a store.
2006-02-17 Jeroen Frijters <jeroen@frijters.net>
* gnu/java/net/protocol/ftp/ActiveModeDTP.java
(ActiveModeDTP): Mark accept thread as daemon.
2006-02-17 Michael Koch <konqueror@gmx.de>
* tools/.cvsignore: Ignore tools.zip.
2006-02-16 Keith Seitz <keiths@redhat.com>
* vm/reference/gnu/classpath/jdwp/VMIdManager.java (newReferenceTypeId):
Set the ID's reference.
(<clinit>): Remove comments for field, method, and frame ID types,
which will not be handled by VMIdManager.
2006-02-17 Audrius Meskauskas <AudriusA@Bioinformatics.org>
* javax/swing/JTable.java (getCellEditor, getCellRenderer):
Use model index, not the column number.
* javax/swing/plaf/basic/BasicTableHeaderUI.java (MouseInputHandler):
Rewritten. (draggingHeaderRect): New field. (paint): Animate column
movement by painting draggingHeaderRect.
* NEWS: Added entry about JTable columns.
2006-02-16 Keith Seitz <keiths@redhat.com>
* gnu/classpath/jdwp/id/JdwpId.java (size): Make static. Return
default size of eight bytes.
* gnu/classpath/jdwp/id/ObjectId.java (size): Remove.
* gnu/classpath/jdwp/id/ReferenceTypeId.java (size): Remove.
* gnu/classpath/jdwp/processor/VirtualMachineCommandSet.java
(executeIDsizes): Use new static methods.
* vm/reference/gnu/classpath/jdwp/VMFrame.java (size): New static
method.
2006-02-16 David Daney <ddaney@avtrex.com>
PR classpath/26312
* gnu/java/net/protocol/http/ChunkedInputStream.java (read): Mask
return value with 0xff.
2006-02-16 Keith Seitz <keiths@redhat.com>
* gnu/classpath/jdwp/event/EventRequest.java (getFilters): New method.
(matches): Use Iterator instead of ListIterator.
2006-02-16 Keith Seitz <keiths@redhat.com>
* gnu/classpath/jdwp/Jdwp.java (_doInitialization): Name the packet
processor thread for easier debugging.
(_enforceSuspendPolicy): Suspend the current thread, not the JDWP
main thread.
2006-02-16 Audrius Meskauskas <AudriusA@Bioinformatics.org>
* javax/swing/JTable.java
(TableColumnPropertyChangeHandler.propertyChange): Return without
action if table header resizing column in not null. (doLayout):
Only repaint the header if it is not null.
* javax/swing/plaf/basic/BasicTableHeaderUI.java
(MouseInputHandler.mouseExited, MouseInputHandler.mouseReleased):
Rewritten. (MouseInputHandler.endResizing): New method.
2006-02-16 Roman Kennke <kennke@aicas.com>
* javax/swing/text/html/InlineView.java: New file.
2006-02-16 Roman Kennke <kennke@aicas.com>
* javax/swing/JTabbedPane.java
(AccessibleJTable.getAccessibleChild): Implemented to return
the Page instance for the specified index.
(Page): Changed to implement Accessible and extend
AccessibleContext.
(Page.getAccessibleContext): New method.
(Page.getAccessibleRole): New method.
(Page.getAccessibleStateSet): New method.
(Page.getAccessibleIndexInParent): New method.
(Page.getAccessibleChildrenCount): New method.
(Page.getAccessibleChild): New methdod.
(Page.getLocale): New method.
2006-02-16 Roman Kennke <kennke@aicas.com>
* javax/swing/plaf/basic/BasicTabbedPaneUI.java
(TabbedPaneLayout.calculateTabRects): Expand tabRuns array when
tabCount gets greater than tabRuns.length.
(TabbedPaneScrollLayout.calculateTabRects): Expand tabRuns array
when tabCount gets greater than tabRuns.length.
(paintTabArea): Don't set tabCount == runCount.
2006-02-16 Roman Kennke <kennke@aicas.com>
* javax/swing/plaf/basic/BasicTextUI.java
(installUI): Moved installation of PropertyChangeListener
to installListeners(). Call modelChanged() after everything is
is installed.
(installListeners): Install PropertyChangeListener here.
(uninstallUI): Moved uninstallation of PropertyChangeListener
to uninstallListeners.
(uninstallListeners): Uninstall PropertyChangeListener here.
2006-02-16 Audrius Meskauskas <AudriusA@Bioinformatics.org>
* javax/swing/JTable.java (doLayout):
case AUTO_RESIZE_SUBSEQUENT_COLUMNS rewritten. Repaint the header
on exit.
javax/swing/plaf/basic/BasicTableHeaderUI.java
(MouseInputHandler.mouseDragged): Do not repaint the header.
2006-02-16 Roman Kennke <kennke@aicas.com>
* javax/swing/JViewport.java
(static_initializer): Set default scrollMode to backingstore.
2006-02-16 Audrius Meskauskas <AudriusA@Bioinformatics.org>
* javax/swing/JTable.java (moveToCellBeingEdited): Clone the value,
returned by getCellRect. To not translate the component.
2006-02-16 Roman Kennke <kennke@aicas.com>
* javax/swing/JComponent.java
(rectCache): Made field non-static to avoid nasty interferences.
(computeVisibleRect): Avoid creation of new Rectangles and double
calculations on ints by using Swing.computeIntersection() instead
of Rectangle2D.intersect().
(repaint): Interect the dirty region with the visible rectangle
of this component to avoid unnecessary painting.
2006-02-16 Gary Benson <gbenson@redhat.com>
* java/lang/Thread.java (stop): Add a missing access check.
2006-02-16 Robert Schuster <robertschuster@fsfe.org>
* javax/swing/text/JTextComponent.java:
(replaceSelection): Added code to update the magic caret position.
* javax/swing/text/DefaultEditorKit.java: Added code to update
the magic caret position of the text component in all relevant
movement actions, make use of the magic caret position in up
and down movements and selections, simplified some actions
(code-wise).
2006-02-15 Anthony Balkissoon <abalkiss@redhat.com>
* gnu/java/lang/CharData.java: Regenerated from
doc/unicode/UnicodeData-4.0.0.txt, doc/unicode/SpecialCasing-4.0.0.txt
and scripts/unicode-muncher.pl.
* java/lang/Character.java:
(PrivateUseCharacters): New private static class.
(UnassignedCharacters): Likewise.
(blocks): Changed from char[] to char[][] to reflect the changes in
gnu/java/lang/CharData. There is now one char[] per Unicode code
plane.
(data): Likewise.
(numValue): Likewise.
(upper): Likewise.
(lower): Likewise.
(direction): Likewise.
(readChar): Replaced this method with new method readCodePoint.
(readCodePoint): New method.
(isLowerCase(char)): Redirected to new isLowerCase(int).
(isLowerCase(int)): New method.
(isUpperCase(char)): Redirected to new isUpperCase(int).
(isUpperCase(int)): New method.
(isTitleCase(char)): Redirected to new isTitleCase(int).
(isTitleCase(int)): New method.
(isDigit(char)): Redirected to new isDigit(int).
(isDigit(int)): New method.
(isDefined(char)): Redirected to new isDefined(int).
(isDefined(int)): New method.
(isLetter(char)): Redirected to new isLetter(int).
(isLetter(int)): New method.
(isLetterOrDigit(char)): Redirected to new isLetterOrDigit(int).
(isLetterOrDigit(int)): New method.
(isJavaIdentifierStart(char)): Redirected to new
isJavaIdentifierStart(int).
(isJavaIdentifierStart(int)): New method.
(isJavaIdentifierPart(char)): Redirected to new
isJavaIdentifierPart(int).
(isJavaIdentifierPart(int)): New method.
(isUnicodeIdentifierStart(char)): Redirected to new
isUnicodeIdentifierStart(int).
(isUnicodeIdentifierStart(int)): New method.
(isUnicodeIdentifierPart(char)): Redirected to new
isUnicodeIdentifierPart(int).
(isUnicodeIdentifierPart(int)): New method.
(isIdentifierIgnorable(char)): Redirected to new
isIdentifierIgnorable(int).
(isIdentifierIgnorable(int)): New method.
(toLowerCase(char)): Changed access to lower to correspond with new
char[][] type of lower.
(toLowerCase(int)) New method.
(toUpperCase(char)): Changed access to upper to correspond with new
char[][] type of upper.
(toUpperCase(int)): New method.
(toTitleCase(int)): New method.
(digit(char, int)): Replaced call to readChar with call to
readCodePoint and changed access to numValue to reflect new char[][]
type of numValue.
(digit(int, int)): New method.
(getNumericValue(char)): Changed access to numValue to reflect new
char[][] type of numValue.
(getNumericValue(int)): New method.
(isSpaceChar(char)): Redirected to new isSpaceChar(int).
(isSpaceChar(int)): New method.
(isWhitespace(char)): Redirected to new isWhitespace(int).
(isWhitespace(int)): New method.
(isISOControl(char)): Redirected to new isISOControl(int).
(isISOControl(int)): New method.
(getType(char)): Redirected to new getType(int).
(getType(int)): New method.
(getDirectionality(char)): Redirected to new getDirectionality(int).
(getDirectionality(int)): New method.
(isMirrored(char)): Changed call to readChar to readCodePoint.
(isMirrored(int)): New method.
* java/lang/String.java:
(upperCaseExpansion): Changed access to Character.direction to reflect
new char[][] type of direction.
(offsetByCodePoints): New method.
* scripts/unicode-muncher.pl: Adapted this script to handle Unicode
4.0.0 which introduced supplementary character assignments.
2006-02-15 Audrius Meskauskas <AudriusA@Bioinformatics.org>
* javax/swing/JTable.java,
javax/swing/plaf/basic/BasicTableHeaderUI.java,
javax/swing/table/DefaultTableModel.java: Documented.
2006-02-15 Lillian Angel <langel@redhat.com>
* native/jni/gtk-peer/gnu_java_awt_peer_gtk_GtkWindowPeer.c:
Removed duplicate methods.
2006-02-15 Audrius Meskauskas <AudriusA@Bioinformatics.org>
* javax/swing/JTable.java (distributeSpillResizing): New method.
(doLayout): Use distributeSpillResizing when resizing.
* javax/swing/plaf/basic/BasicTableHeaderUI.java (MouseInputHandler):
Rewritten. (installListeners): Add mouse motion listener.
(uninstallListeners): Remove mouse motion listener.
2006-02-15 Lillian Angel <langel@redhat.com>
* gnu/java/awt/peer/gtk/GtkDialogPeer.java
(setVisible): Removed method.
* gnu/java/awt/peer/gtk/GtkWindowPeer.java
(setLocation): New method.
(setLocationUnlocked): New method.
(show): Changed to use setLocation instead of setBounds.
* java/awt/Component.java
(show): Should call peer.show(), not peer.setVisible(), so the
location of the component is correctly set.
(preferredSize): Added curly braces so else statements are
properly associated with if's.
* native/jni/gtk-peer/gnu_java_awt_peer_gtk_GtkWindowPeer.c
(Java_gnu_java_awt_peer_gtk_GtkWindowPeer_nativeSetLocation):
New function.
(Java_gnu_java_awt_peer_gtk_GtkWindowPeer_nativeSet
LocationUnlocked): New function.
* include/gnu_java_awt_peer_gtk_GtkWindowPeer.h:
Added declarations for Java_gnu_java_awt_peer_gtk_
GtkWindowPeer_nativeSetLocation and
Java_gnu_java_awt_peer_gtk_GtkWindowPeer
_nativeSetLocationUnlocked.
2006-02-15 Mark Wielaard <mark@klomp.org>
* native/jni/gtk-peer/gnu_java_awt_peer_gtk_GtkEmbeddedWindowPeer.c
(Java_gnu_java_awt_peer_gtk_GtkEmbeddedWindowPeer_create):
Downcast gtk_plug_new result when used.
2006-02-15 Olivier Jolly <olivier.jolly@pcedev.com>
* java/io/ObjectOutputStream.java (writeClassDescriptor):
Call assignNewHandle() after writing Proxy class.
2006-02-15 Olivier jolly <olivier.jolly@pcedev.com>
Fixes bug #14144
* java/io/ObjectInputStream.java (readClassDescriptor):
Class doesn't have to be abstract for first_nonserial.
2006-02-15 Roman Kennke <kennke@aicas.com>
* javax/swing/JInternalFrame.java
(setClosed): Call dispose to actually make the frame invisible
and unselected.
2006-02-15 Roman Kennke <kennke@aicas.com>
* javax/swing/JInternalFrame.java
(dispose): Call setVisible(false) instead of hide.
(doDefaultCloseOperation): Likewise.
2006-02-15 Roman Kennke <kennke@aicas.com>
* javax/swing/JComponent.java
(paintChildren): Also check for the visibility of a child component
to avoid artifacts.
(repaint): Simply add this component to the RepaintManager rather than
trying to do useless optimization here.
2006-02-15 David Gilbert <david.gilbert@object-refinery.com>
* javax/swing/JSpinner.java
(DefaultEditor.DefaultEditor(JSpinner)): Add self to text field as a
PropertyChangeListener,
(DefaultEditor.getSpinner): Updated API docs,
(DefaultEditor.dismiss): Likewise,
(DefaultEditor.getTextField): Likewise,
(DefaultEditor.layoutContainer): Likewise,
(DefaultEditor.minimumLayoutSize): Likewise,
(DefaultEditor.preferredLayoutSize): Likewise,
(DefaultEditor.propertyChange): Implemented,
(DefaultEditor.stateChanged): Implemented,
(DefaultEditor.removeLayoutComponent): Updated API docs,
(DefaultEditor.addLayoutComponent): Likewise,
(NumberEditor.NumberEditor(JSpinner)): Set formatter for text field,
(NumberEditor.NumberEditor(JSpinner, String)): Likewise,
(NumberEditor.getFormat): Implemented,
(NumberEditor.getModel): Updated API docs,
(NumberEditorFormatter): New static inner class,
(ListEditor.getModel): Updated API docs,
(DateEditor.dateFormat): Removed,
(DateEditor.DateEditor(JSpinner)): Set formatter for text field,
(DateEditor.DateEditor(JSpinner, String)): Likewise,
(DateEditor.init): Removed,
(DateEditor.getFormat): Reimplemented,
(DateEditorFormatter): New static inner class,
(ModelListener): New inner class,
(model): Updated API docs,
(editor): Likewise,
(listener): Removed,
(JSpinner()): Updated API docs,
(JSpinner(SpinnerModel)): Set up ModelListener,
(setEditor): Fire property change,
(getModel): Updated API docs,
(setModel): Removed check for null editor,
(setValue): Updated API docs,
(getUIClassID): Updated API docs,
(createEditor): Handle SpinnerListModel case,
* javax/swing/plaf/basic/BasicSpinnerUI.java
(createUI): Updated API docs,
(createPropertyChangeListener): Added FIXME,
(installDefaults): Set text field border to null,
(DefaultLayoutManager): Updated API docs,
(DefaultLayoutManager.layoutContainer): Modified layout,
(DefaultLayoutManager.minimumLayoutSize): Ignore button heights,
(DefaultLayoutManager.preferredLayoutSize): Likewise,
(DefaultLayoutManager.removeLayoutComponent): Removed tabs,
(DefaultLayoutManager.addLayoutComponent): Likewise,
(DefaultLayoutManager.minSize): Renamed prefSize,
(DefaultLayoutManager.setBounds): Reformatted,
(DefaultLayoutManager.editor): Added API docs,
(DefaultLayoutManager.next): Likewise,
(DefaultLayoutManager.previous): Likewise,
* javax/swing/plaf/metal/MetalLookAndFeel.java
(initComponentDefaults): Added entry for 'Spinner.border',
* examples/gnu/classpath/examples/swing/SpinnerDemo.java: New file.
2006-02-15 Chris Burdess <dog@gnu.org>
* gnu/xml/validation/datatype/BooleanType.java,
gnu/xml/validation/datatype/ByteType.java,
gnu/xml/validation/datatype/DateTimeType.java,
gnu/xml/validation/datatype/DateType.java,
gnu/xml/validation/datatype/DecimalType.java,
gnu/xml/validation/datatype/DoubleType.java,
gnu/xml/validation/datatype/DurationType.java,
gnu/xml/validation/datatype/FloatType.java,
gnu/xml/validation/datatype/GDayType.java,
gnu/xml/validation/datatype/GMonthDayType.java,
gnu/xml/validation/datatype/GMonthType.java,
gnu/xml/validation/datatype/GYearMonthType.java,
gnu/xml/validation/datatype/GYearType.java,
gnu/xml/validation/datatype/IntType.java,
gnu/xml/validation/datatype/IntegerType.java,
gnu/xml/validation/datatype/LongType.java,
gnu/xml/validation/datatype/MaxExclusiveFacet.java,
gnu/xml/validation/datatype/MaxInclusiveFacet.java,
gnu/xml/validation/datatype/MinExclusiveFacet.java,
gnu/xml/validation/datatype/MinInclusiveFacet.java,
gnu/xml/validation/datatype/NegativeIntegerType.java,
gnu/xml/validation/datatype/NonNegativeIntegerType.java,
gnu/xml/validation/datatype/NonPositiveIntegerType.java,
gnu/xml/validation/datatype/PositiveIntegerType.java,
gnu/xml/validation/datatype/ShortType.java,
gnu/xml/validation/datatype/SimpleType.java,
gnu/xml/validation/datatype/TimeType.java,
gnu/xml/validation/datatype/TypeBuilder.java,
gnu/xml/validation/datatype/UnsignedByteType.java,
gnu/xml/validation/datatype/UnsignedIntType.java,
gnu/xml/validation/datatype/UnsignedLongType.java,
gnu/xml/validation/datatype/UnsignedShortType.java: Provide value
objects for datatypes. Make maxExclusive,minExclusive,maxInclusive,
minInclusive facets use the value space of the base type, and
implement.
2006-02-15 Mark Wielaard <mark@klomp.org>
* native/jni/gtk-peer/gnu_java_awt_peer_gtk_GtkEmbeddedWindowPeer.c
(Java_gnu_java_awt_peer_gtk_GtkEmbeddedWindowPeer_create):
gtk_plug_new() returns a GtkWindow.
2006-02-15 David Gilbert <david.gilbert@object-refinery.com>
* javax/swing/SpinnerNumberModel.java
(getNextValue): Check for null maximum,
(getPreviousValue): Check for null minimum.
2006-02-15 Roman Kennke <kennke@aicas.com>
* javax/swing/plaf/basic/BasicTableUI.java
(paint): Paint vertical and horizontal lines one pixel shifted
left/top.
2006-02-15 Jeroen Frijters <jeroen@frijters.net>
* java/util/zip/ZipFile.java
(checkZipFile): Inlined readLeInt and rewritten for robustness.
(readLeShort(DataInput,byte[]), readLeInt(DataInput,byte[],
readLeShort(byte[],int), readLeInt(byte[],int)): Removed.
(readEntries): Rewritten to use PartialInputStream.
(locBuf, checkLocalHeader): Removed.
(getInputStream): Rewritten to use new PartialInputStream.
(PartialInputStream): Rewritten to do buffering.
2006-02-15 Michael Koch <konqueror@gmx.de>
* native/jni/gtk-peer/gnu_java_awt_peer_gtk_GtkEmbeddedWindowPeer.c
(Java_gnu_java_awt_peer_gtk_GtkEmbeddedWindowPeer_create):
Make sure the embedded window gets no decorations.
* native/jni/gtk-peer/gnu_java_awt_peer_gtk_GtkWindowPeer.c
(window_get_frame_extents): Return early of the window has no
decorations.
2006-02-15 Audrius Meskauskas <AudriusA@Bioinformatics.org>
* examples/gnu/classpath/examples/swing/TableDemo.java
(TModel, createContent): Explain which value appears in the header.
* javax/swing/JTable.java (setColumnModel): Only set the
column header value if the getHeaderValue() returns null.
2006-02-14 Mark Wielaard <mark@klomp.org>
Fixes bug #23931
* gnu/java/awt/peer/gtk/GtkImage.java (errorImage): New static field.
(getErrorImage): New static method.
* gnu/java/awt/peer/gtk/GtkToolkit.java (GtkErrorImage): Removed.
(bufferedImageOrError): Renamed to ...
(imageOrError): Renamed from bufferedImageOrError, takes Image.
Returns GtkImage.getErrorImage() when argument null.
(createImage(String)): Always use imageOrError.
(createImage(URL)): Likewise.
(createImage(ImageProducer)): Likewise.
(createImage(byte[],int,int)): Likewise.
2006-02-14 Roman Kennke <kennke@aicas.com>
* javax/swing/plaf/basic/BasicCheckBoxMenuItemUI.java: Removed
unneeded imports.
* javax/swing/plaf/basic/BasicInternalFrameUI.java: Likewise.
* javax/swing/plaf/basic/BasicRadioButtonMenuItemUI.java: Likewise.
* javax/swing/plaf/basic/BasicRootPaneUI.java: Likewise.
* javax/swing/plaf/basic/BasicSplitPaneDivider.java: Likewise.
* javax/swing/plaf/basic/BasicHTML.java: Fixed API comment.
2006-02-14 Roman Kennke <kennke@aicas.com>
* javax/swing/text/AsyncBoxView.java
(ChildState.locator): Removed wrong field.
(ChildState): Removed initialization of removed field.
(locator): Changed access modifier to be protected as specified.
2006-02-14 Roman Kennke <kennke@aicas.com>
* javax/swing/ToolTipManager.java: Removed unneeded imports.
* javax/swing/Timer.java: Some small reindention.
(task): Made package private to avoid synthetic accessor method.
2006-02-14 Roman Kennke <kennke@aicas.com>
* javax/swing/SwingUtilities.java
(layoutCompoundLabel): Dont set textIconGap to 0 when there is
no icon.
2006-02-14 Audrius Meskauskas <AudriusA@Bioinformatics.org>
* examples/gnu/classpath/examples/swing/TableDemo.java:
Making the columns variable width.
* javax/swing/JTable.java (distributeSpill, doLayout):
Call getPreferredSize and not getSize().
2006-02-14 Roman Kennke <kennke@aicas.com>
* javax/swing/DefaultCellEditor.java
(DefaultCellEditor): API doc fixlet.
2006-02-14 Roman Kennke <kennke@aicas.com>
* javax/swing/JViewport.java
(isPaintRoot): New field.
(repaint): Only call super here. Also added a comment regarding
the diversion from the JDK.
(paintBlit): Implemented real blitting.
(paintImmediately2): New method. Overrides the same package private
method in JComponent.
2006-02-14 Roman Kennke <kennke@aicas.com>
* javax/swing/plaf/basic/BasicTableUI.java
(paint): Check for boundary cases when determining the painting
area.
2006-02-14 Mark Wielaard <mark@klomp.org>
* java/awt/Menu.java (add): Always set parent of item to this. Call
addNotify() on item when we have a MenuPeer already.
(insert): Always adjust parent for item. Call addNotify() on item if
we already have a peer.
(remove(int)): Always clear item parent. Call removeNotify() on item
if we had a peer.
2006-02-14 Audrius Meskauskas <AudriusA@Bioinformatics.org>
* javax/swing/JTable.java (rowAtPoint): Return -1 if the computed
row == getRowCount().
2006-02-14 Lillian Angel <langel@redhat.com>
* gnu/java/awt/peer/gtk/GtkDialogPeer.java
(setVisible): New method to override super. Need to set the
native bounds of the component, so it appears at the
correct location.
2006-02-14 Mark Wielaard <mark@klomp.org>
* java/awt/Frame.java (setMenuBar): Update MenuBar parent.
(remove): If menu component is the current MenuBar remove it,
otherwise call super.remove().
* java/awt/MenuBar.java (frame): Remove field.
* java/awt/MenuComponent.java (postEvent): Use getParent() always.
2006-02-14 Audrius Meskauskas <AudriusA@Bioinformatics.org>
* tools/gnu/classpath/tools/giop/NameServicePersistent.java: Refer
to NameServicePersistent.
* tools/gnu/classpath/tools/giop/NameServicePersistent.txt: New file.
* tools/gnu/classpath/tools/giop/NamingServicePersistent.txt: Deleted.
2006-02-14 Audrius Meskauskas <AudriusA@Bioinformatics.org>
* NEWS: Updated tool status.
* gnu/CORBA/NamingService/NamingMap.java (Map): Made protected.
(constructor, bind, rebind): Rewritten.
* gnu/CORBA/NamingService/TransientContext.java: Rewritten.
* tools/gnu/classpath/tools/giop/README: Updated.
* tools/gnu/classpath/tools/giop/NameServicePersistent.java,
tools/gnu/classpath/tools/giop/NamingServicePersistent.txt,
tools/gnu/classpath/tools/giop/nameservice/PersistentContext.java,
tools/gnu/classpath/tools/giop/nameservice/PersistentContextMap.java,
tools/gnu/classpath/tools/giop/nameservice/PersistentMap.java:
New files.
2006-02-14 David Gilbert <david.gilbert@object-refinery.com>
* javax/swing/JComponent.java
(getListeners): Check for PropertyChangeListener.class and delegate to
getPropertyChangeListeners() for that case.
2006-02-13 Roman Kennke <kennke@aicas.com>
* javax/swing/plaf/basic/BasicTableUI.java
(paint): Determine the cells that need painting based on the
current clip. Use getCellRect() for calculating the cell
bounds.
2006-02-13 Roman Kennke <kennke@aicas.com>
* javax/swing/JTable.java
(rectCache): New field.
(getCellRect): Returns cached Rectangle instance.
2006-02-13 Roman Kennke <kennke@aicas.com>
* javax/swing/JLayeredPane.java
(removeAll): New method. Avoid potential memory leak.
(isOptimizedDrawingEnabled): Replaced heuristic with accurate
calculation.
2006-02-14 Stuart Ballard <stuart.a.ballard@gmail.com>
* javax/swing/undo/StateEdit.java (RCSID): Match Sun's value.
* javax/swing/undo/StateEditable.java (RCSID): Likewise.
2006-02-13 Tom Tromey <tromey@redhat.com>
* vm/reference/java/lang/reflect/Method.java: Javadoc fix.
* vm/reference/java/lang/reflect/Constructor.java: Javadoc fix.
2006-02-13 Roman Kennke <kennke@aicas.com>
* javax/swing/RepaintManager.java
(offscreenBuffers): New field.
(doubleBuffer): Removed field.
(repaintUnderway): New field.
(commitRequests): New field.
(RepaintManager): Initialize new fields.
(paintDirtyRegions): Handle repaintUnderway flag. Commit
buffers when done.
(getOffscreenBuffer): Returns the offscreen buffer for the
corresponding root component.
(commitBuffer): New method.
(commitRemainingBuffers): New method.
* javax/swing/JComponent.java
(paint): Call paintDoubleBuffered with the current clip.
(paintImmediately2): Don't paint on screen here.
(paintDoubleBuffered): Rewritten for real double buffering.
(paintSimple): Draw to screen in this method.
2006-02-13 Roman Kennke <kennke@aicas.com>
* javax/swing/JRootPane.java
(JRootPane): Set opaque property to true.
2006-02-13 Tom Tromey <tromey@redhat.com>
* .classpath: Updated for external/relaxngDatatype.
2006-02-13 Chris Burdess <dog@gnu.org>
* gnu/xml/stream/UnicodeReader.java,
gnu/xml/validation/datatype/Annotation.java,
gnu/xml/validation/datatype/AnySimpleType.java,
gnu/xml/validation/datatype/AnyType.java,
gnu/xml/validation/datatype/AnyURIType.java,
gnu/xml/validation/datatype/AtomicSimpleType.java,
gnu/xml/validation/datatype/Base64BinaryType.java,
gnu/xml/validation/datatype/BooleanType.java,
gnu/xml/validation/datatype/ByteType.java,
gnu/xml/validation/datatype/DateTimeType.java,
gnu/xml/validation/datatype/DateType.java,
gnu/xml/validation/datatype/DecimalType.java,
gnu/xml/validation/datatype/DoubleType.java,
gnu/xml/validation/datatype/DurationType.java,
gnu/xml/validation/datatype/EntitiesType.java,
gnu/xml/validation/datatype/EntityType.java,
gnu/xml/validation/datatype/EnumerationFacet.java,
gnu/xml/validation/datatype/Facet.java,
gnu/xml/validation/datatype/FloatType.java,
gnu/xml/validation/datatype/FractionDigitsFacet.java,
gnu/xml/validation/datatype/GDayType.java,
gnu/xml/validation/datatype/GMonthDayType.java,
gnu/xml/validation/datatype/GMonthType.java,
gnu/xml/validation/datatype/GYearMonthType.java,
gnu/xml/validation/datatype/GYearType.java,
gnu/xml/validation/datatype/HexBinaryType.java,
gnu/xml/validation/datatype/IDRefType.java,
gnu/xml/validation/datatype/IDRefsType.java,
gnu/xml/validation/datatype/IDType.java,
gnu/xml/validation/datatype/IntType.java,
gnu/xml/validation/datatype/IntegerType.java,
gnu/xml/validation/datatype/LanguageType.java,
gnu/xml/validation/datatype/LengthFacet.java,
gnu/xml/validation/datatype/ListSimpleType.java,
gnu/xml/validation/datatype/LongType.java,
gnu/xml/validation/datatype/MaxExclusiveFacet.java,
gnu/xml/validation/datatype/MaxInclusiveFacet.java,
gnu/xml/validation/datatype/MaxLengthFacet.java,
gnu/xml/validation/datatype/MinExclusiveFacet.java,
gnu/xml/validation/datatype/MinInclusiveFacet.java,
gnu/xml/validation/datatype/MinLengthFacet.java,
gnu/xml/validation/datatype/NCNameType.java,
gnu/xml/validation/datatype/NMTokenType.java,
gnu/xml/validation/datatype/NMTokensType.java,
gnu/xml/validation/datatype/NameType.java,
gnu/xml/validation/datatype/NegativeIntegerType.java,
gnu/xml/validation/datatype/NonNegativeIntegerType.java,
gnu/xml/validation/datatype/NonPositiveIntegerType.java,
gnu/xml/validation/datatype/NormalizedStringType.java,
gnu/xml/validation/datatype/NotationType.java,
gnu/xml/validation/datatype/PatternFacet.java,
gnu/xml/validation/datatype/PositiveIntegerType.java,
gnu/xml/validation/datatype/QNameType.java,
gnu/xml/validation/datatype/ShortType.java,
gnu/xml/validation/datatype/SimpleType.java,
gnu/xml/validation/datatype/StringType.java,
gnu/xml/validation/datatype/TimeType.java,
gnu/xml/validation/datatype/TokenType.java,
gnu/xml/validation/datatype/TotalDigitsFacet.java,
gnu/xml/validation/datatype/Type.java,
gnu/xml/validation/datatype/TypeBuilder.java,
gnu/xml/validation/datatype/TypeLibrary.java,
gnu/xml/validation/datatype/TypeLibraryFactory.java,
gnu/xml/validation/datatype/UnionSimpleType.java,
gnu/xml/validation/datatype/UnsignedByteType.java,
gnu/xml/validation/datatype/UnsignedIntType.java,
gnu/xml/validation/datatype/UnsignedLongType.java,
gnu/xml/validation/datatype/UnsignedShortType.java,
gnu/xml/validation/datatype/WhiteSpaceFacet.java,
resource/META-INF/services/org.relaxng.datatype.DatatypeLibraryFactory:
RELAX NG datatype library implementation for XML Schema Datatypes.
2006-02-13 Chris Burdess <dog@gnu.org>
* LICENCE,
NEWS,
configure.ac,
doc/README.jaxp,
external/Makefile.am,
external/relaxngDatatype/.cvsignore,
external/relaxngDatatype/Makefile.am,
external/relaxngDatatype/README.txt,
external/relaxngDatatype/copying.txt,
external/relaxngDatatype/org/relaxng/datatype/Datatype.java,
external/relaxngDatatype/org/relaxng/datatype/DatatypeBuilder.java,
external/relaxngDatatype/org/relaxng/datatype/DatatypeException.java,
external/relaxngDatatype/org/relaxng/datatype/DatatypeLibrary.java,
external/relaxngDatatype/org/relaxng/datatype/DatatypeLibraryFactory.java,
external/relaxngDatatype/org/relaxng/datatype/DatatypeStreamingValidator.java,
external/relaxngDatatype/org/relaxng/datatype/ValidationContext.java,
external/relaxngDatatype/org/relaxng/datatype/helpers/DatatypeLibraryLoader.java,
external/relaxngDatatype/org/relaxng/datatype/helpers/ParameterlessDatatypeBuilder.java,
external/relaxngDatatype/org/relaxng/datatype/helpers/StreamingValidatorImpl.java,
lib/Makefile.am,
lib/gen-classlist.sh.in: Added external RELAX NG pluggable
datatypes library API.
2006-02-13 Mark Wielaard <mark@klomp.org>
* gnu/java/awt/peer/gtk/GtkGenericPeer.java (awtWidget): Made field
final.
(gtkWidgetModifyFont(Font)): New protected helper method.
(gtkWidgetModifyFont(String,int,int)): Made protected and document.
* gnu/java/awt/peer/gtk/GtkButtonPeer.java (gtkWidgetModifyFont): Made
protected and document.
* gnu/java/awt/peer/gtk/GtkCheckboxPeer.java (gtkWidgetModifyFont):
Likewise.
* gnu/java/awt/peer/gtk/GtkLabelPeer.java (gtkWidgetModifyFont):
Likewise.
* gnu/java/awt/peer/gtk/GtkListPeer.java (gtkWidgetModifyFont):
Likewise.
* gnu/java/awt/peer/gtk/GtkMenuBarPeer.java (create): Made protected.
(setFont): Removed method. Done in GtkMenuComponent.
* gnu/java/awt/peer/gtk/GtkMenuComponentPeer.java (create): Made
abstract and protected.
(setFont): Made private, add implementation.
(setFont(Font)): Implemented.
* gnu/java/awt/peer/gtk/GtkMenuItemPeer.java (gtkWidgetModifyFont):
Made protected and document.
(create): Made protected.
(setFont): Removed method. Done in GtkMenuComponent.
* gnu/java/awt/peer/gtk/GtkTextAreaPeer.java
(gtkWidgetModifyFont): Made protected and document.
* gnu/java/awt/peer/gtk/GtkTextFieldPeer.java (gtkWidgetModifyFont):
Removed, similar to GtkGenericPeer super class implementation.
* include/gnu_java_awt_peer_gtk_GtkTextFieldPeer.h: Regenerated.
* native/jni/gtk-peer/gnu_java_awt_peer_gtk_GtkTextFieldPeer.c
(Java_gnu_java_awt_peer_gtk_GtkTextFieldPeer_gtkWidgetModifyFont):
Removed.
2006-02-13 Mark Wielaard <mark@klomp.org>
* java/lang/Math.java (static): Explicitly call
System.loadLibrary("javalang").
2006-02-13 Wolfgang Baer <WBaer@gmx.de>
* javax/print/StreamPrintServiceFactory.java: New file.
2006-02-13 Tom Tromey <tromey@redhat.com>
* tools/.cvsignore: Added Makefile.
2006-02-13 Wolfgang Baer <WBaer@gmx.de>
* java/awt/print/PrinterGraphics.java: Reformatted.
* java/awt/print/Paper.java: Likewise.
* java/awt/print/PageFormat.java: Likewise.
* java/awt/print/Pageable.java: Likewise.
2006-02-13 Lillian Angel <langel@redhat.com>
* java/awt/BorderLayout.java
(layoutContainer): Rewrote part of this function to
properly set the bounds of the components.
(setBounds): Removed method, not needed.
2006-02-13 Roman Kennke <kennke@aicas.com>
* javax/swing/text/DefaultStyledDocument.java
(ElementBuffer.clone): Fixed replace call.
(clone): Removed method.
2006-02-13 Roman Kennke <kennke@aicas.com>
* java/rmi/server/UnicastRemoteObject.java: Reformatted.
2006-02-13 Roman Kennke <kennke@aicas.com>
* java/rmi/server/UnicastRemoteObject.java
(exportObject(Remote)): Forward method call to export(Remote,int).
2006-02-13 Andrew John Hughes <gnu_andrew@member.fsf.org>
* include/Makefile.am:
Swapped Math.h for VMMath.h
* include/java_lang_Math.h:
Removed.
* include/java_lang_VMMath.h:
New autogenerated header for the new class.
* java/lang/Math.java:
(sin(double)): Changed to link to VMMath.
(cos(double)): Changed to link to VMMath.
(tan(double)): Changed to link to VMMath.
(asin(double)): Changed to link to VMMath.
(acos(double)): Changed to link to VMMath.
(atan(double)): Changed to link to VMMath.
(atan2(double)): Changed to link to VMMath.
(exp(double)): Changed to link to VMMath.
(log(double)): Changed to link to VMMath.
(sqrt(double)): Changed to link to VMMath.
(pow(double,double)): Changed to link to VMMath.
(IEEEremainder(double,double)): Changed to link to VMMath.
(ceil(double)): Changed to link to VMMath.
(floor(double)): Changed to link to VMMath.
(rint(double)): Changed to link to VMMath.
* native/jni/java-lang/Makefile.am:
Replaced java_lang_Math.c with java_lang_VMMath.c
* native/jni/java-lang/java_lang_Math.c:
Removed.
* native/jni/java-lang/java_lang_VMMath.c:
Renamed from java_lang_Math.c.
* vm/reference/java/lang/VMMath.java:
New class.
(sin(double)): New native method.
(cos(double)): New native method.
(tan(double)): New native method.
(asin(double)): New native method.
(acos(double)): New native method.
(atan(double)): New native method.
(atan2(double)): New native method.
(exp(double)): New native method.
(log(double)): New native method.
(sqrt(double)): New native method.
(pow(double,double)): New native method.
(IEEEremainder(double,double)): New native method.
(ceil(double)): New native method.
(floor(double)): New native method.
(rint(double)): New native method.
2006-02-13 Lillian Angel <langel@redhat.com>
* java/awt/Component.java
(repaint): No need to call isShowing, it is done in the other repaint call.
(repaint): Likewise.
(repaint): Likewise.
2006-02-13 Lillian Angel <langel@redhat.com>
* java/awt/Component.java
(repaint): Reverted last change.
(repaint): Likewise.
(repaint): Likewise.
2006-02-13 Lillian Angel <langel@redhat.com>
* gnu/java/awt/peer/gtk/GtkPanelPeer.java
(handleEvent): Made more efficent by handling paint event and
setting the clip for the graphics.
* gnu/java/awt/peer/gtk/GtkWindowPeer.java
(handleEvent): Likewise.
* java/awt/Component.java
(repaint): No need to call isShowing, it is done in the other repaint call.
(repaint): Likewise.
(repaint): Likewise.
2006-02-13 Roman Kennke <kennke@aicas.com>
* javax/swing/text/AbstractDocument.java
(setParent): Added API docs. Call setParent(null) on children before
disconnecting this view from the View hierarchy.
2006-02-13 Roman Kennke <kennke@aicas.com>
* javax/swing/text/AbstractDocument.java
(readUnlock): Don't attempt to unlock when the current threads also
holds a write lock.
2006-02-13 David Gilbert <david.gilbert@object-refinery.com>
* javax/swing/plaf/metal/MetalBorders.java
(ButtonBorder.getBorderInsets(Component)): Return insets directly,
(ButtonBorder.getBorderInsets(Component, Insets)): Don't check for null
insets argument,
(Flush3DBorder.borderInsets): New field,
(Flush3DBorder.getBorderInsets(Component)): Return insets directly,
(Flush3DBorder.getBorderInsets(Component, Insets)): Don't check for
null insets argument, and populate result from borderInsets,
(PaletteBorder.borderInsets): New field,
(PaletteBorder.getBorderInsets(Component)): Return insets directly,
(PaletteBorder.getBorderInsets(Component, Insets)): Don't check for
null insets argument, and populate result from borderInsets,
(InternalFrameBorder.borderInsets): New field,
(InternalFrameBorder.getBorderInsets(Component)): Return insets
directly,
(InternalFrameBorder.getBorderInsets(Component, Insets)): Don't check
for null insets argument, and populate result from borderInsets,
(MenuItemBorder.borderInsets): Initialise to correct value.
2006-02-13 Roman Kennke <kennke@aicas.com>
* javax/swing/text/AsyncBoxView.java: New file.
2006-02-13 Ito Kazumitsu <kaz@maczuka.gcd.org>
Fixes bug #26166
* gnu/regexp/RE.java(initialize): Parsing of character class expression
was moved to a new method parseCharClass.
(parseCharClass): New method originally in initialize. Added parsing
of nested character classes.
(ParseCharClassResult): New inner class used as a return value of
parseCharClass.
(getCharExpression),(getNamedProperty): Made static.
* gnu/regexp/RESyntax.java(RE_NESTED_CHARCLASS): New syntax flag.
* gnu/regexp/RETokenOneOf.java(addition): New Vector for storing
nested character classes.
(RETokenOneOf): New constructor accepting the Vector addition.
(getMinimumLength), (getMaximumLength): Returns 1 if the token
stands for only one character.
(match): Added the processing of the Vector addition.
(matchN), (matchP): Do not check next token if addition is used.
2006-02-12 Olivier Jolly <olivier.jolly@pcedev.com>
* AUTHORS: add self.
2006-02-12 Tom Tromey <tromey@redhat.com>
* gnu/classpath/ServiceProviderLoadingAction.java: Javadoc fix.
* gnu/classpath/ServiceFactory.java (ServiceIterator): Javadoc fix.
(securityContext): Likewise.
(log): Likewise.
2006-02-12 Dalibor Topic <robilad@kaffe.org>
Fixes PR 26218.
* gnu/java/net/protocol/file/Connection.java (unquote):
Convert Unicode characters outside basic plane to UTF-8,
rather than throwing an exception.
2006-02-12 Tom Tromey <tromey@redhat.com>
* javax/sound/sampled/LineEvent.java (readObject): New method.
(writeObject): Likewise.
(serialVersionUID): New field.
2006-02-12 Mark Wielaard <mark@klomp.org>
* java/beans/PropertyChangeSupport.java (addPropertyChangeListener):
Silently ignores null listener.
(addPropertyChangeListener(String, PropertyChangeListener): Likewise.
(getPropertyChangeListeners): Returns empty PropertyChangeListener
array for null propertyName.
2006-02-12 Wolfgang Baer <WBaer@gmx.de>
* java/rmi/MarshalledObject.java: Added api docs to the class.
* java/rmi/Remote.java: Added interface api docs.
* java/rmi/package.html: Added package description.
* java/rmi/AccessException.java: Minor api doc fixes.
* java/rmi/NoSuchObjectException.java: Likewise.
* java/rmi/AlreadyBoundException.java: Likewise.
* java/rmi/RemoteException.java: Likewise.
* java/rmi/NotBoundException.java: Likewise.
* java/rmi/RMISecurityException.java: Likewise.
* java/rmi/StubNotFoundException.java: Likewise.
2006-02-12 Mark Wielaard <mark@klomp.org>
* gnu/java/awt/peer/gtk/GtkComponentPeer.java (postKeyEvent): Call
q() to get EventQueue.
* gnu/java/awt/peer/gtk/GtkGenericPeer.java (q): Remove static field.
(enableQueue): Remove static method.
* gnu/java/awt/peer/gtk/GtkToolkit.java (getSystemEventQueueImpl):
Don't call GtkGenericPeer.enableQueue().
2006-02-12 Wolfgang Baer <WBaer@gmx.de>
* java/rmi/MarshalledObject.java: Reformatted.
* java/rmi/Naming.java: Likewise.
2006-02-12 Jeroen Frijters <jeroen@frijters.net>
* java/io/InputStream.java
(read(byte[],int,int)): Changed argument validation to prevent
integer overflow. Remove redundant check.
2006-02-12 Jeroen Frijters <jeroen@frijters.net>
Fixes PR 26220
* java/io/InputStreamReader.java
(InputStreamReader(InputStream)): Use SystemProperties.
(InputStreamReader(InputStream,Charset)): Corrected @since tag.
Throw NullPointerException if in is null.
Added maxBytesPerChar initialisation.
(InputStreamReader(InputStream,CharsetDecoder)): Corrected @since tag.
Throw NullPointerException if in is null.
2006-02-12 Raif S. Naffah <raif@swiftdsl.com.au>
* gnu/javax/crypto/key/dh/GnuDHPublicKey.java
(GnuDHPublicKey(4)): Call constructor with 5 arguments.
(GnuDHPublicKey): New constructor.
(getEncoded): Removed.
(valueOf): Added support for ASN.1 encoding.
(getEncoded(int)): Likewise.
(equals): New method.
* gnu/javax/crypto/key/dh/GnuDHPrivateKey.java
(GnuDHPrivateKey(4)): Call constructor with 5 arguments.
(GnuDHPrivateKey(5)): New constructor.
(getEncoded): Removed.
(valueOf): Added support for ASN.1 encoding.
(getEncoded(int)): Likewise.
(equals): New method.
* gnu/javax/crypto/key/dh/GnuDHKeyPairGenerator.java
(PREFERRED_ENCODING_FORMAT): New constant.
(DEFAULT_ENCODING_FORMAT): Likewise.
(preferredFormat): New field.
(setup): Handle preferred encoding format identifier.
(generate): Call constructors with format identifier.
* gnu/javax/crypto/key/dh/GnuDHKey.java (defaultFormat): New field.
(GnuDHKey): Added an int argument.
(getEncoded): New method.
(getFormat): New implementation.
(getEncoded(int)): New abstract method.
* gnu/javax/crypto/key/dh/DHKeyPairX509Codec.java: New file.
* gnu/javax/crypto/key/dh/DHKeyPairPKCS8Codec.java: Likewise.
* gnu/javax/crypto/jce/GnuCrypto.java (run): Added mappings for DH
key-pair generator and key-factory.
* gnu/javax/crypto/jce/sig/DHKeyPairGeneratorSpi.java: New file.
* gnu/javax/crypto/jce/sig/DHKeyFactory.java: Likewise.
* gnu/java/security/jce/sig/KeyPairGeneratorAdapter.java: Made it public.
* gnu/java/security/jce/sig/EncodedKeyFactory.java
(invokeConstructor): New method.
(getConcreteClass): Likewise.
(getConcreteCtor): Likewise.
(invokeValueOf): Likewise.
(getValueOfMethod): Likewise.
(engineGeneratePublic): Add support for DH keys.
(engineGeneratePrivate): Likewise.
(decodeDHPublicKey(DHPublicKeySpec)): New method.
(decodeDHPublicKey(byte[])): Likewise.
(decodeDHPrivateKey(DHPrivateKeySpec)): Likewise.
(decodeDHPrivateKey(byte[])): Likewise.
2006-02-11 Mark Wielaard <mark@klomp.org>
* gnu/java/awt/peer/gtk/GtkComponentPeer.java (repaintTimer):
Removed field.
(repaint): Immediately post to queue when tm <= 0, otherwise call
RepaintTimerTask.schedule().
(RepaintTimerTask): Make static.
(RepaintTimerTask.repaintTimer): New static final field.
(RepaintTimerTask.awtComponent): New field.
(schedule): New static method.
2006-02-11 Audrius Meskauskas <AudriusA@Bioinformatics.org>
* tools/gnu/classpath/tools/giop/grmic/GiopRmicCompiler.java
* tools/gnu/classpath/tools/giop/grmic/MethodGenerator.java
* tools/gnu/classpath/tools/giop/grmic/templates/Tie.jav,
tools/gnu/classpath/tools/giop/grmic/templates/TieMethod.jav,
tools/gnu/classpath/tools/giop/grmic/templates/TieMethodVoid.jav:
Rewritten.
* tools/gnu/classpath/tools/giop/grmic/HashFinder.java: New file.
2006-02-11 Raif S. Naffah <raif@swiftdsl.com.au>
* gnu/java/security/jce/sig/EncodedKeyFactory.java
(engineGeneratePublic): Added support for raw key-specifications.
(engineGeneratePrivate): Likewise.
(decodeDSSPublicKey): New method.
(decodeRSAPublicKey): Likewise.
(decodeDSSPrivateKey): Likewise.
(decodeRSAPrivateKey): Likewise.
* gnu/java/security/key/rsa/RSAKeyPairX509Codec.java
(encodePrivateKey): Throw InvalidParameterException.
(decodePublicKey): Likewise.
(decodePrivateKey): Likewise.
* gnu/java/security/key/rsa/RSAKeyPairPKCS8Codec.java
(encodePublicKey): Likewise.
(encodePrivateKey): Likewise.
(decodePublicKey): Likewise.
* gnu/java/security/key/dss/DSSKeyPairX509Codec.java
(encodePrivateKey): Likewise.
(decodePublicKey): Likewise.
(decodePrivateKey): Likewise.
* gnu/java/security/key/dss/DSSKeyPairPKCS8Codec.java
(encodePublicKey): Likewise.
(encodePrivateKey): Likewise.
(decodePublicKey): Likewise.
2006-02-10 Roman Kennke <kennke@aicas.com>
* javax/swing/text/StyleContext.java
(registerStaticAttributeKey): New static method.
2006-02-10 Roman Kennke <kennke@aicas.com>
* javax/swing/text/DefaultStyledDocument.java
(ElementBuffer.clone): New method.
2006-02-10 Roman Kennke <kennke@aicas.com>
* javax/swing/text/ParagraphView.java
(findOffsetToCharactersInString): New method.
(getClosestPositionTo): New method.
(getPartialSize): New method.
(getTabBase): New method.
(adjustRow): New method.
(breakView): New method.
(getBreakWeight): New method.
2006-02-10 Roman Kennke <kennke@aicas.com>
* javax/swing/text/GapContent.java
(updateUndoPositions): New method.
* javax/swing/text/StringContent.java
(updateUndoPositions): New method.
2006-02-10 Raif S. Naffah <raif@swiftdsl.com.au>
* gnu/java/security/key/rsa/GnuRSAPrivateKey.java (GnuRSAPrivateKey(9)):
Made it public.
* gnu/java/security/jce/sig/RSAKeyFactory.java: New file.
* gnu/java/security/jce/sig/DSSKeyFactory.java (engineGeneratePublic):
Added support for encoded key specifications.
(engineGeneratePrivate): Likewise.
(engineGetKeySpec): Likewise.
(engineTranslateKey): Corrected order of MPIs and use ctors with 5 args.
2006-02-10 Robert Schuster <robertschuster@fsfe.org>
* javax/swing/text/Utilities.java:
(getTabbedTextOffset): Fixed usage of variable p0.
(getPositionAbove): Rewritten.
(getPositionBelow): Rewritten.
2006-02-09 Roman Kennke <kennke@aicas.com>
* javax/swing/text/BoxView.java
(getAxis): Added @since tag.
(setAxis): Added @since tag.
(layoutChanged): Added @since tag.
(isLayoutValid): Added @since tag.
(paint): Don't call setSize here. This is done in RootView already.
(getMaximumSpan): Reimplemented to return the requirements'
maximum size. Added API docs.
(getMinimumSpan): New method.
(layout): Fixed layout order.
(modelToView): Call layout instead of setSize here.
(getResizeWeight): New method.
(getChildAllocation): New method.
(forwardUpdate): New method.
(viewToModel): New method.
(flipEastEndWestEnds): New method.
* javax/swing/text/CompositeView.java
(modelToView): Made this method more robust by returning a default
location if it's not possible to calculate one via the children.
This default location returns the left or right edge of this
view.
(createDefaultLocation): New helper method.
* javax/swing/text/IconView.java
(modelToView): Don't throw BadLocationException. This should
really only be thrown if the position is outside the document
model, not if it's outside the view's boundary.
2006-02-09 Audrius Meskauskas <AudriusA@Bioinformatics.org>
* tools/Makefile.am: Handle rmi and giop folders separately.
2006-02-09 David Gilbert <david.gilbert@object-refinery.com>
* javax/swing/SpinnerDateModel.java: Updated API docs all over,
* javax/swing/SpinnerNumberModel.java: Likewise.
2006-02-09 David Gilbert <david.gilbert@object-refinery.com>
* javax/swing/SpinnerDateModel.java: Removed tabs,
* javax/swing/SpinnerNumberModel.java: Likewise.
2006-02-09 Anthony Balkissoon <abalkiss@redhat.com>
* doc/unicode/SpecialCasing-4.0.0.txt: New file.
* doc/unicode/UnicodeData-4.0.0.txt: New file.
2006-02-09 Wolfgang Baer <WBaer@gmx.de>
Fixes bug #26081
* gnu/java/net/protocol/http/HTTPURLConnection.java:
(isRedirect): Removed, moved to Response.java.
(connect): If error condition redirect responseSink to errorSink.
(getInputStream): If error condition throw IOException, for the error
codes 404 and 410 throw a FileNotFoundException.
* gnu/java/net/protocol/http/Response.java (isError): New method.
(isRedirect): New method, moved from HTTPURLConnection.java.
2006-02-09 Audrius Meskauskas <AudriusA@Bioinformatics.org>
* tools/Makefile.am: Add tools/gnu/classpath/tools/rmi folder.
* tools/gnu/classpath/tools/giop/GRMIC.txt: Explain it called from RMIC.
* tools/gnu/classpath/tools/giop/grmic/Generator.java (getResource):
Better diagnostic.
* tools/gnu/classpath/tools/giop/grmic/GiopRmicCompiler.java:
Rewritten.
* tools/gnu/classpath/tools/giop/grmic/MethodGenerator.java: Implement
AbstractMethodGenerator.
* tools/gnu/classpath/tools/AbstractMethodGenerator.java,
tools/gnu/classpath/tools/rmi/RMIC.java,
tools/gnu/classpath/tools/rmi/RMIC.txt,
tools/gnu/classpath/tools/rmi/rmic/RmiMethodGenerator.java,
tools/gnu/classpath/tools/rmi/rmic/RmicCompiler.java,
tools/gnu/classpath/tools/rmi/rmic/WrapUnWrapper.java,
tools/gnu/classpath/tools/rmi/rmic/templates/Stub_12.jav,
tools/gnu/classpath/tools/rmi/rmic/templates/Stub_12Method.jav,
tools/gnu/classpath/tools/rmi/rmic/templates/Stub_12MethodVoid.jav:
New files.
* NEWS: Corrected entry about the tools.
2006-02-09 Lillian Angel <langel@redhat.com>
* gnu/java/awt/peer/gtk/GtkComponentPeer.java
(handleEvent): Added more to check to prevent assertion errors.
* gnu/java/awt/peer/gtk/GtkPanelPeer.java
(handleEvent): Likewise.
* gnu/java/awt/peer/gtk/GtkWindowPeer.java
(handleEvent): Likewise.
2006-02-09 Mark Wielaard <mark@klomp.org>
* javax/swing/JTable.java (tableChanged): Interpret null event as
"everything changed".
2006-02-09 Roman Kennke <kennke@aicas.com>
* javax/swing/text/DefaultCaret.java
(DocumentHandler.removeUpdate): When update policy is
'on eventqueue', and the update doesn't come from the
event queue, check if the current dot location is still
valid.
(moveDot): Make sure the new dot location is valid.
(setDot): Set the mark the same as the dot.
2006-02-09 Roman Kennke <kennke@aicas.com>
* javax/swing/text/AbstractDocument.java
(remove): Perform all operations within a write lock and in the
correct order.
2006-02-09 Mark Wielaard <mark@klomp.org>
* native/jni/gtk-peer/gnu_java_awt_peer_gtk_GtkScrollbarPeer.c
(Java_gnu_java_awt_peer_gtk_GtkScrollbarPeer_create): Make sure max is
creater than min, adjusting page_size if necessary.
(Java_gnu_java_awt_peer_gtk_GtkScrollbarPeer_setValues): Likewise.
2006-02-09 Lillian Angel <langel@redhat.com>
* gnu/java/awt/peer/gtk/GtkPanelPeer.java
(handleEvent): Added code to handle PaintEvent.UPDATE.
Sun does not call update(Graphics g) on Panels.
* gnu/java/awt/peer/gtk/GtkWindowPeer.java
(handleEvent): New method. Added code to handle PaintEvent.UPDATE.
Sun does not call update(Graphics g) on Panels.
2006-02-09 Roman Kennke <kennke@aicas.com>
* javax/swing/text/BoxView.java
(myAxis): Made field private.
(xLayoutValid): Replaced by layoutValid array.
(yLayoutValid): Replaced by layoutValid array.
(layoutValid): New field.
(spansX): Replaced by spans array.
(spansY): Replaced by spans array.
(spans): New field.
(offsetsX): Replaced by offsets array.
(offsetsY): Replaced by offsets array.
(offsets): New field.
(requirements): New field.
(BoxView): Initialize new fields.
(layoutChanged): Rewritten to use the layoutValid array.
(isLayoutValid): Rewritten to use the layoutValid array.
(replace): Use the new arrays.
(getPreferredSpan): Rewritten to call calculateXXXRequirements
instead of baselineRequirements.
(baselineRequirements): Rewritten to calculate baseline requirements.
(baselineLayout): Rewritten to calculate baseline layout.
(childAllocation): Use new arrays.
(layout): Rewritten. Only update the layout if necessary.
(layoutMajorAxis): Directly set layoutValid.
(layoutMinorAxis): Directly set layoutValid. Use cached size
requirements.
(getWidth): Use new span array.
(getHeight): Likewise.
(setSize): Rewritten to simply call layout().
(validateLayout): Removed unneeded method.
(getSpan): Use new arrays.
(getOffset): Use new arrays.
(getAlignment): Use cached requirements if possible.
(preferenceChanged): Use new arrays.
* javax/swing/text/FlowView.java
(FlowStrategy.insertUpdate): Do nothing here.
(FlowStrategy.removeUpdate): Do nothing here.
(FlowStrategy.changedUpdate): Do nothing here.
(FlowStrategy.layoutRow): Rewritten.
(FlowStrategy.createView): Rewritten.
(FlowStrategy.adjustRow): New method.
(LogicalView.getViewIndex): Fixed condition for finding child
view.
(layoutDirty): New field indicating the state of the layout.
(FlowView): Initialize new field.
(loadChildren): Set parent on logical view so that preferenceChanges
get propagated upwards.
(layout): Rewritten to match the specs.
(insertUpdate): Set layout to dirty.
(removeUpdate): Set layout to dirty.
(changedUpdate): Set layout to dirty.
* javax/swing/text/GlyphView.java
(getBreakWeight): Rewritten to use the Utilities class. Commented
out though because that is broken.
(insertUpdate): Call preferenceChanged on this object instead of
parent.
* javax/swing/text/ParagraphView.java
(Row.loadChildren): Overridden to be a noop to prevent initial
creation of child views. This is carried out by the flow layout.
* javax/swing/text/View.java
(getPreferredSpan): Added API docs.
(getResizeWeight): Added API docs.
(getMaximumSpan): Added API docs. Rewritten to only have one exit
point.
(getMinimumSpan): Added API docs. Rewritten to return 0 when
resizable instead of Integer.MAX_VALUE.
(getAlignment): Added API docs.
(replace): Added API docs.
(forwardUpdate): Rewritten to only notify child views that need to
be notified.
2006-02-09 Roman Kennke <kennke@aicas.com>
* javax/swing/plaf/basic/BasicTextUI.java
(RootView.paint): Call setSize() before painting the view.
2006-02-09 Ito Kazumitsu <kaz@maczuka.gcd.org>
Fixes bug #26112
* gnu/regexp/RE.java(REG_REPLACE_USE_BACKSLASHESCAPE): New execution
flag which enables backslash escape in a replacement.
(getReplacement): New public static method.
(substituteImpl),(substituteAllImpl): Use getReplacement.
* gnu/regexp/REMatch.java(substituteInto): Replace $n even if n>=10.
* java/util/regex/Matcher.java(appendReplacement)
Use RE#getReplacement.
(replaceFirst),(replaceAll): Use RE.REG_REPLACE_USE_BACKSLASHESCAPE.
2006-02-09 Raif S. Naffah <raif@swiftdsl.com.au>
* gnu/java/security/key/rsa/RSAKeyPairX509Codec.java: New file.
* gnu/java/security/key/rsa/RSAKeyPairPKCS8Codec.java: Likewise.
* gnu/java/security/key/rsa/RSAKeyPairGenerator.java
(PREFERRED_ENCODING_FORMAT): New constant.
(DEFAULT_ENCODING_FORMAT): Likewise.
(preferredFormat): New field.
(setup): Add support for preferred encoding format.
(generate): Call key constructors with explicit format identifier.
* gnu/java/security/key/rsa/GnuRSAPublicKey.java (GnuRSAPublicKey(2)):
Call constructor with 3 arguments..
(GnuRSAPublicKey(3)): New constructor.
(valueOf): Added support for ASN.1 format.
(getEncoded): Likewise.
* gnu/java/security/key/rsa/GnuRSAPrivateKey.java (GnuRSAPrivateKey(4)):
Call constructor with 5 arguments.
(GnuRSAPrivateKey(5)): New constructor.
(GnuRSAPrivateKey(9)): New constructor.
(valueOf): Added support for ASN.1 format.
(getEncoded): Likewise.
* gnu/java/security/key/rsa/GnuRSAKey.java (defaultFormat): New field.
(GnuRSAKey): Modified constructor.
(getFormat): Return preferred format identifier.
* gnu/java/security/key/dss/DSSKeyPairPKCS8Codec.java
(decodePrivateKey): Fixed documentation.
Check Version field.
* gnu/java/security/jce/sig/RSAKeyPairGeneratorSpi.java
(initialize(int,SecureRandom)): Set ASN.1 as the preferred encoding
format.
(initialize(AlgorithmParameterSpec,SecureRandom)): Likewise.
* gnu/java/security/jce/sig/EncodedKeyFactory.java
(engineGeneratePublic): Added support for RSA.
(engineGeneratePrivate): Likewise.
2006-02-09 Wolfgang Baer <WBaer@gmx.de>
* java/net/URLConnection.java:
(setAllowUserInteraction): Throw IllegalStateException if connected.
(getRequestProperty): Document return value if key is null.
* gnu/java/net/protocol/http/HTTPURLConnection.java:
(getRequestProperty): Return null if key is null.
(getRequestProperties): Throw IllegalStateException if connected.
(setRequestProperty): Call super method for exception tests.
(addRequestProperty): Likewise.
2006-02-09 Wolfgang Baer <WBaer@gmx.de>
* gnu/java/net/protocol/http/Request.java:
(Request): Remove initialization of removed field.
(requestBodyNegotiationThreshold): Removed now unused field.
(setRequestBodyNegotiationThreshold): Remove now unused method.
(dispatch): Do not use 'Expect 100-continue' header if content-length
is over a treshold. If user specified 'Expect 100-continue' still
initialize the expectingContinue variable.
2006-02-08 David Gilbert <david.gilbert@object-refinery.com>
* javax/swing/SpinnerNumberModel.java
(SpinnerNumberModel(Number, Comparable, Comparable, Number): Allow
maximum and minimum to take null values,
(setValue): Only fire ChangeEvent if new value is different to old
value,
(setMinimum): Fixed test for updating value,
(setMaximum): Likewise,
(setStepSize): Likewise.
2006-02-08 Tom Tromey <tromey@redhat.com>
* tools/.cvsignore: Added Makefile.in.
2006-02-08 Audrius Meskauskas <AudriusA@Bioinformatics.org>
* java/rmi/server/RemoteRef.java,
java/rmi/server/RemoteStub.java: Commented.
2006-02-08 David Gilbert <david.gilbert@object-refinery.com>
* javax/swing/SpinnerDateModel.java
(SpinnerDateModel(Date, Comparable, Comparable, int)): Added argument
checks,
(getPreviousValue): Check result against start, not end,
(setValue): Check that value actually changes before firing
ChangeEvent.
2006-02-08 Lillian Angel <langel@redhat.com>
* java/awt/Choice.java
(select): Fixed up code, added some checks to prevent errors.
(dispatchEventImpl): Removed. This function is not needed. It
causes several assertion errors.
2006-02-08 Roman Kennke <kennke@aicas.com>
* javax/swing/text/PlainView.java
(drawLine): Call drawUnselectedText() with end offset - 1 to avoid
drawing unnecessary characters.
2006-02-08 Lillian Angel <langel@redhat.com>
* gnu/java/awt/peer/gtk/GtkComponentPeer.java
(handleEvent): Fixed check to determine if height or
width is less than 1.
2006-02-08 Audrius Meskauskas <AudriusA@Bioinformatics.org>
*tools/Makefile.am (ALL_TOOLS_FILES): Add $(TOOLS_HELPS).
2006-02-08 Audrius Meskauskas <AudriusA@Bioinformatics.org>
* examples/gnu/classpath/examples/CORBA/swing/x5/_GameManagerImpl_Tie.java,
examples/gnu/classpath/examples/CORBA/swing/x5/_PlayerImpl_Tie.java:
Documenting the code generator.
* gnu/CORBA/IOR.java (toStringFormatted,
CodeSet_component.toStringFormatted): New methods.
* tools/Makefile.am (TOOLS_JAVA_FILES, READMES): Rewritten.
* tools/gnu/classpath/tools/giop/README: Rewritten.
* tools/gnu/classpath/tools/giop/GRMIC.java (main): Rewritten.
(printHelpAndExit): Removed.
*tools/gnu/classpath/tools/giop/IorParser.java,
tools/gnu/classpath/tools/giop/IorParser.txt,
tools/gnu/classpath/tools/giop/NameService.java,
tools/gnu/classpath/tools/giop/NamingService.txt,
tools/gnu/classpath/tools/HelpPrinter.java: New files.
NEWS: Added note about GIOP tools.
2006-02-07 Audrius Meskauskas <AudriusA@Bioinformatics.org>
* .classpath: New source patch (tools).
* Makefile.am (SUBDIRS, DIST_SUBDIRS): added "tools".
* configure.ac (AC_CONFIG_FILES): added tools/Makefile
* tools/gnu/classpath/tools/Makefile.am,
tools/gnu/classpath/tools/giop/GRMIC.java
tools/gnu/classpath/tools/giop/GRMIC.txt,
tools/gnu/classpath/tools/giop/README,
tools/gnu/classpath/tools/giop/grmic/CompilationError.java,
tools/gnu/classpath/tools/giop/grmic/Generator.java,
tools/gnu/classpath/tools/giop/grmic/GiopIo.java,
tools/gnu/classpath/tools/giop/grmic/GiopRmicCompiler.java,
tools/gnu/classpath/tools/giop/grmic/MethodGenerator.java,
tools/gnu/classpath/tools/giop/grmic/templates/ImplTie.jav,
tools/gnu/classpath/tools/giop/grmic/templates/Stub.jav,
tools/gnu/classpath/tools/giop/grmic/templates/StubMethod.jav,
tools/gnu/classpath/tools/giop/grmic/templates/StubMethodVoid.jav,
tools/gnu/classpath/tools/giop/grmic/templates/Tie.jav,
tools/gnu/classpath/tools/giop/grmic/templates/TieMethod.jav,
tools/gnu/classpath/tools/giop/grmic/templates/TieMethodVoid.jav: New files.
2006-02-07 David Gilbert <david.gilbert@object-refinery.com>
* java/awt/BasicStroke.java: Updated API docs all over,
* java/awt/doc-files/capjoin.png: New file.
2006-02-07 Lillian Angel <langel@redhat.com>
* gnu/java/awt/peer/gtk/GtkComponentPeer.java
(handleEvent): Added check. Should not paint or update the
component if it's width and height are both 0.
2006-02-07 Roman Kennke <kennke@aicas.com>
* javax/swing/text/AbstractDocument.java
(insertString): Enclose locking/unlocking in try-finally block
and also keep locked while notifying the listeners.
2006-02-07 Roman Kennke <kennke@aicas.com>
* javax/swing/text/GlyphView.java
(GlyphView): Initialize startOffset and endOffset with -1 (indicating
element boundary).
(getStartOffset): Return element boundary if startOffset < 0.
(getEndOffset): Return element boundary if endOffset < 0.
(createFragment): Set startOffset and endOffset fields of fragment
if one of p0 or p1 is not at the element boundary.
2006-02-07 Roman Kennke <kennke@aicas.com>
* javax/swing/CellRendererPane.java
(paintComponent): Enclosed painting in try finally to properly
clean up even when throwing an exception.
2006-02-07 Roman Kennke <kennke@aicas.com>
* javax/swing/UIManager.java
(listeners): Made this an instance of
java.beans.PropertyChangeSupport instead of the obsoleted
SwingPropertyChangeSupport.
2006-02-07 Robert Schuster <robertschuster@fsfe.org>
* javax/swing/text/DefaultEditorToolkit.java: Changed behavior
of actions "delete-next" and "delete-previous", added new TextAction
implementations for "selection-begin", "selection-begin-line",
"selection-end" and "selection-end-line".
2006-02-07 Roman Kennke <kennke@aicas.com>
* javax/swing/plaf/basic/BasicTextUI.java
(paint): Acquire read lock on the document before calling
paintSafely.
(paintSafely): Added comment about what this method does.
(paintBackground): Implemented to actually paint the background.
(update): Overridden to _not_ paint the background. This is done
in paintBackground in this UI.
2006-02-07 Roman Kennke <kennke@aicas.com>
* javax/swing/text/View.java
(forwardUpdate): Don't notify newly added child views as specified.
2006-02-07 Robert Schuster <robertschuster@fsfe.org>
* gnu/java/beans/decoder/DefaultExceptionListener.java: Removed.
2006-02-07 Roman Kennke <kennke@aicas.com>
* javax/swing/text/DefaultStyledDocument.java
(ElementBuffer.insert): Only register change when the element
actually changed.
2006-02-07 Raif S. Naffah <raif@swiftdsl.com.au>
* gnu/java/security/key/KeyPairCodecFactory.java (getEncodingName): New
method.
(getEncodingShortName): Likewise.
* gnu/java/security/key/IKeyPairCodec.java (X509_FORMAT): New constant.
(PKCS8_FORMAT): Likewise.
(ASN1_FORMAT): Likewise.
* gnu/java/security/key/dss/DSSPublicKey.java (DSSPublicKey(4)): Call
constructor with 5 arguments.
(DSSPublicKey(5)): New constructor.
(valueOf): Handle ASN.1 encoding.
(getEncoded): Likewise.
* gnu/java/security/key/dss/DSSPrivateKey.java (DSSPrivateKey(4)): Call
constructor with 5 arguments.
(DSSPrivateKey(5)): New constructor.
(valueOf): Handle ASN.1 encoding.
(getEncoded): Likewise.
* gnu/java/security/key/dss/DSSKeyPairX509Codec.java: New file.
* gnu/java/security/key/dss/DSSKeyPairPKCS8Codec.java: Likewise.
* gnu/java/security/key/dss/DSSKeyPairGenerator.java
(PREFERRED_ENCODING_FORMAT): New constant.
(DEFAULT_ENCODING_FORMAT): Likewise.
(preferredFormat): New field.
(setup): Handle preferred format ID.
(generate): Use new ctors with 5 arguments.
* gnu/java/security/key/dss/DSSKey.java (DSSKey): Now accepts a format
ID as an additional argument.
(defaultFormat): new field.
(getFormat): Returns the preferred format as a short string.
* gnu/java/security/jce/sig/DSSKeyFactory.java: New file.
* gnu/java/security/jce/sig/EncodedKeyFactory.java (engineGetKeySpec):
Likewise
* gnu/java/security/jce/sig/DSSKeyPairGeneratorSpi.java
(initialize(AlgorithmParameterSpec)): Set ASN.1 as the preferred
encoding format.
(initialize(int,boolean,SecureRandom)): Likewise.
* gnu/java/security/der/DERWriter.java (writeBitString): Use
writeLength() instead of write().
return buf.length + 1 instead of buf.length.
2006-02-07 Roman Kennke <kennke@aicas.com>
* javax/swing/plaf/basic/BasicTextUI.java
(RootView.preferenceChange): Changed view parameter to view so
that it doesn't hide a field of that class.
(RootView.getViewCount): Rewritten to clean up ECJ warning.
(RootView.modelToView): Removed unnecessary cast from View to View.
(PropertyChangeHandler): Made inner class private.
(updateHandler): Made field private.
(getVisibleEditorRect): Removed unneeded local variable that
shadowed a field with the same name and purpose.
2006-02-07 Robert Schuster <robertschuster@fsfe.org>
* javax/swing/text/JTextComponent.java:
(getSelectedText): Calculate offset and use that as
second argument.
2006-02-07 Roman Kennke <kennke@aicas.com>
* javax/swing/JTextPane.java
(setCharacterAttributes): Replace input attributes when
replace==true.
2006-02-07 Roman Kennke <kennke@aicas.com>
* java/awt/Component.java
(firePropertyChange(String,byte,byte)): Made method public.
(firePropertyChange(String,char,char)): Made method public.
(firePropertyChange(String,short,short)): Made method public.
(firePropertyChange(String,long,long)): Made method public.
(firePropertyChange(String,float,float)): Made method public.
(firePropertyChange(String,double,double)): Made method public.
2006-02-06 Tom Tromey <tromey@redhat.com>
* gnu/CORBA/NamingService/NamingServiceTransient.java (main): Use
2006.
* gnu/java/rmi/registry/RegistryImpl.java (version): Use 2006.
2006-02-06 Anthony Green <green@redhat.com>
* gnu/xml/aelfred2/XmlParser.java: Add missing break;.
2006-02-07 Raif S. Naffah <raif@swiftdsl.com.au>
* .settings/org.eclipse.jdt.core.prefs:
Force a line split on extends and implements.
Force a white-space after unary operators.
Don't force a new-line after @params.
Add new-line at end-of-file.
* scripts/eclipse-gnu.xml: Export version of the above named GNU.
2006-02-07 Raif S. Naffah <raif@swiftdsl.com.au>
* gnu/java/security/provider/GnuDSAPublicKey.java (getEncoded): Use
Registry constant.
* gnu/java/security/provider/GnuDSAPrivateKey.java (getEncoded):
Likewise.
* gnu/java/security/provider/GnuRSAPrivateKey.java (getEncoded):
Likewise.
* gnu/java/security/provider/GnuRSAPublicKey.java (getEncoded):
Likewise.
* gnu/java/security/provider/EncodedKeyFactory.java
(ID_DSA): Redefined in terms of Registry constant.
(ID_DSA): Redefined in terms of Registry constant.
(ID_DH): Redefined in terms of Registry constant.
* gnu/java/security/Registry.java (X509_ENCODING): New constant.
(PKCS8_ENCODING): Likewise.
(ASN1_ENCODING): Likewise.
(RAW_ENCODING_SHORT_NAME): Likewise.
(X509_ENCODING_SORT_NAME): Likewise.
(PKCS8_ENCODING_SHORT_NAME): Likewise.
(ASN1_ENCODING_SHORT_NAME): Likewise.
(X509_ENCODING_ID): Likewise.
(PKCS8_ENCODING_ID): Likewise.
(ASN1_ENCODING_ID): Likewise.
(DSA_OID_STRING): Likewise.
(RSA_OID_STRING): Likewise.
(DH_OID_STRING): Likewise.
2006-02-06 Roman Kennke <kennke@aicas.com>
* javax/swing/text/GlyphView.java:
(DefaultGlyphPainter.paint): Store/restore Graphics color setting.
Only fill background if there is a background set on the view.
Call Utilities.drawTabbedText with the baseline height, rather than
the upper left corner of the view rectangle.
(getBackground): Return null if no background is set.
* javax/swing/text/GlyphView.java:
(setPropertiesFromAttributes): Use null for background when no
background is set. StyleConstants.getBackground() doesn't work
for this, because it returns Color.BLACK in that case.
2006-02-06 Roman Kennke <kennke@aicas.com>
* java/awt/Container.java
(changeSupport): Removed duplicate (from Component) field.
(addPropertyChangeListener): Call super.
2006-02-06 Ito Kazumitsu <kaz@maczuka.gcd.org>
* java/util/regex/Matcher.java(matches):
set RE.REG_TRY_ENTIRE_MATCH as an execution flag of getMatch.
2006-02-06 Ito Kazumitsu <kaz@maczuka.gcd.org>
Fixes bug #25812
* gnu/regexp/CharIndexed.java(lookBehind),(length): New method.
* gnu/regexp/CharIndexedCharArray.java
(lookBehind),(length): Implemented.
* gnu/regexp/CharIndexedInputStream.java: Likewise.
* gnu/regexp/CharIndexedString.java: Likewise.
* gnu/regexp/CharIndexedStringBuffer.java: Likewise.
* gnu/regexp/REToken.java(getMaximumLength): New method.
* gnu/regexp/RE.java(internal constructor RE): Added new argument
maxLength.
(initialize): Parse (?<=X), (?<!X), (?>X).
(getMaximumLength): Implemented.
* gnu/regexp/RETokenAny.java(getMaximumLength): Implemented.
* gnu/regexp/RETokenChar.java: Likewise.
* gnu/regexp/RETokenEnd.java: Likewise.
* gnu/regexp/RETokenEndSub.java: Likewise.
* gnu/regexp/RETokenLookAhead.java: Likewise.
* gnu/regexp/RETokenNamedProperty.java: Likewise.
* gnu/regexp/RETokenOneOf.java: Likewise.
* gnu/regexp/RETokenPOSIX.java: Likewise.
* gnu/regexp/RETokenRange.java: Likewise.
* gnu/regexp/RETokenRepeated.java: Likewise.
* gnu/regexp/RETokenStart.java: Likewise.
* gnu/regexp/RETokenWordBoundary.java: Likewise.
* gnu/regexp/RETokenIndependent.java: New file.
* gnu/regexp/RETokenLookBehind.java: New file.
2006-02-06 Roman Kennke <kennke@aicas.com>
* java/awt/Component.java
(firePropertyChange(String,byte,byte)): New method.
(firePropertyChange(String,char,char)): New method.
(firePropertyChange(String,short,short)): New method.
(firePropertyChange(String,long,long)): New method.
(firePropertyChange(String,float,float)): New method.
(firePropertyChange(String,double,double)): New method.
2006-02-06 Roman Kennke <kennke@aicas.com>
* javax/swing/JComponent.java
(AccessibleJComponent.changeSupport): Changed to be a
java.beans.PropertyChangeSupport rather than
SwingPropertyChangeSupport.
(AccessibleJComponent.AccessibleJComponent()): Change initialization
of above field.
(changeSupport): Removed unneeded field.
(removePropertyChangeListener): Removed unneeded methods.
(addPropertyChangeListener): Removed unneeded methods.
(getPropertyChangeListeners): Removed unneeded methods.
(firePropertyChange(String,boolean,boolean)): Changed to simply
call super. Added specnote.
(firePropertyChange(String,char,char)): Changed to simply
call super. Added specnote.
(firePropertyChange(String,int,int)): Changed to simply
call super. Added specnote.
(firePropertyChange(String,byte,byte)): Removed.
(firePropertyChange(String,Object,Object)): Removed.
(firePropertyChange(String,double,double)): Removed.
(firePropertyChange(String,float,float)): Removed.
(firePropertyChange(String,long,long)): Removed.
(firePropertyChange(String,short,short)): Removed.
2006-02-06 Roman Kennke <kennke@aicas.com>
* javax/swing/event/SwingPropertyChangeSupport.java
(listeners): Removed field.
(propertyListeners): Removed field.
(source): Removed field.
(SwingPropertyChangeSupport()): Removed initialization of removed
fields.
(addPropertyChangeListener): Removed methods.
(removePropertyChangeListener): Removed methods.
(getPropertyChangeListeners): Removed methods.
(firePropertyChange): Removed methods.
(hasListeners): Removed methods.
2006-02-06 Jeroen Frijters <jeroen@frijters.net>
Fixes PR 25313
* java/net/InetAddress.java
(readResolve): Implemented.
2006-02-06 Jeroen Frijters <jeroen@frijters.net>
Fixes PR 26121
* java/io/ObjectInputStream.java
(readNextBlock()): Handle TC_RESET.
2006-02-06 Wolfgang Baer <WBaer@gmx.de>
* javax/print/attribute/standard/Compression.java,
* javax/print/attribute/standard/Finishings.java,
* javax/print/attribute/standard/JobMediaSheets.java,
* javax/print/attribute/standard/JobSheets.java,
* javax/print/attribute/standard/JobState.java,
* javax/print/attribute/standard/JobStateReason.java,
* javax/print/attribute/standard/ReferenceUriSchemesSupported.java,
* javax/print/attribute/standard/PrintQuality.java,
* javax/print/attribute/standard/Media.java,
* javax/print/attribute/standard/MultipleDocumentHandling.java,
* javax/print/attribute/standard/PrinterStateReason.java,
* javax/print/attribute/standard/PDLOverrideSupported.java:
(getName): Make method final.
(getCategory): Likewise.
* javax/print/attribute/standard/MediaSize.java:
(getName): Make method final.
(getCategory): Likewise.
(ISO): Added private default constructor.
(NA): Likewise.
(JIS): Likewise.
(Other): Likewise.
(Engineering): Likewise.
2006-02-06 Wolfgang Baer <WBaer@gmx.de>
* native/jni/java-net/javanet.c (_javanet_connect):
Throw ConnectException instead of IOException if connection failed.
* native/jni/java-net/javanet.h:
Add a define for java.net.ConnectException
2006-02-05 Mark Wielaard <mark@klomp.org>
Fixes bug #26101
reported by Egon Willighagen <egon.willighagen@gmail.com>
* javax/swing/DefaultListCellRenderer.java
(getListCellRendererComponent): Turn null value into empty string.
2006-02-04 Ito Kazumitsu <kaz@maczuka.gcd.org>
* gnu/regexp/RETokenNamedProperty.java(getHandler): Check for
a Unicode block if the name starts with "In".
(UnicodeBlockHandler): New inner class.
2006-02-04 Roman Kennke <kennke@aicas.com>
* java/awt/Container.java
(getComponentZOrder): New method.
(setComponentZOrder): New method.
* javax/swing/JLayeredPane.java
(setPosition): Reimplemented to use setComponentZOrder().
(getIndexOf): Reimplemented to use getComponentZOrder().
(addImpl): Pass layerContraint to super call. Important for possibly
installed layout managers.
(swapComponents): Remove unneeded method.
2006-02-04 Raif S. Naffah <raif@swiftdsl.com.au>
* gnu/java/security/jce/sig/DSSKeyPairGeneratorSpi.java: Implement
DSAKeyPairGenerator.
(initialize(int,SecureRandom)): Call initialize(keysize, false, random).
(initialize(AlgorithmParameterSpec,SecureRandom)): More explicit error
message.
Surround call to adaptee in a try/catch.
(initialize((DSAParams,SecureRandom)): New method.
(initialize(int,boolean,SecureRandom)): New method.
* gnu/java/security/jce/sig/KeyPairGeneratorAdapter.java: Extends
KeyPairGenerator rather than KeyPairGeneratorSpi.
(KeyPairGeneratorAdapter): Call super with algorithm name.
2006-02-04 Raif S. Naffah <raif@swiftdsl.com.au>
* gnu/javax/crypto/sasl/srp/SRPServer.java (prng): New field.
(getDefaultPRNG): New method.
(parseO): Use method above.
* gnu/javax/crypto/sasl/srp/SRPClient.java (prng): New field.
(getDefaultPRNG): New method.
(createO): Use method above.
* gnu/javax/crypto/sasl/srp/KDF.java (prng): New class field.
(nextByte): Use above field.
* gnu/javax/crypto/pad/PKCS1_V1_5.java (selfTest): Use PRNG instance.
* gnu/java/security/sig/rsa/RSA.java: New class field.
(newR): Use above field
* gnu/java/security/sig/rsa/EME_PKCS1_V1_5.java (prng): New field.
(encode): Use field.above.
* gnu/java/security/key/dss/FIPS186.java (prng): New field.
(getDefaultPRNG): new method.
(nextRandomBytes): Use above method.
* gnu/java/security/key/rsa/RSAKeyPairGenerator.java: Likewise.
* gnu/java/security/sig/BaseSignature.java: Likewise.
* gnu/javax/crypto/key/dh/GnuDHKeyPairGenerator.java: Likewise.
* gnu/javax/crypto/key/dh/RFC2631.java: Likewise.
* gnu/javax/crypto/key/srp6/SRPKeyPairGenerator.java: Likewise.
* gnu/javax/crypto/key/BaseKeyAgreementParty.java: Likewise.
* gnu/java/security/key/dss/DSSKeyPairGenerator.java (prng): New field.
(getDefaultPRNG): new method.
(nextRandomBytes): Use above method.
(STRICT_DEFAULTS): new class field.
(USE_DEFAULTS): more documentation to clarify behavior.
(setup): amended to handle new attribute.
* gnu/java/security/util/PRNG.java: New file.
2006-02-03 Lillian Angel <langel@redhat.com>
* javax/swing/plaf/basic/BasicColorChooserUI.java:
chooser field should be protected, not package-private.
2006-02-03 Lillian Angel <langel@redhat.com>
* javax/swing/text/DefaultStyledDocument.java
(changeUpdate): Cleaned up code.
(split): Likewise.
(insertUpdate): Set offset to be equal to pos after
insertContentTag call.
(insertContentTag): If paragraph has no children, should use
replace instead of Edit.
(insertFracture): Moved around code to prevent any exception. Also,
left side of tree should not be recreated if it has already been
edited. In that case, we should only be creating a new right branch
when fracturing.
(getEditForParagraphAndIndex): No need to check index. We should
use the same edit for each paragraph.
2006-02-03 Mark Wielaard <mark@klomp.org>
* javax/swing/event/SwingPropertyChangeSupport.java
(propertyListeners): Change type to HashMap.
(SwingPropertyChangeSupport): Allocate HashMap.
2006-02-03 Raif S. Naffah <raif@swiftdsl.com.au>
* java/security/KeyPairGenerator.java (getInstance): Test for
instanceof KeyPairGenerator before KeyPairGeneratorSpi.
2006-02-02 Roman Kennke <kennke@aicas.com>
* javax/swing/RepaintManager.java
Made fields private.
(RepaintWorker.run): Enclosed work stuff in try finally block in
order to clean up correctly if invalidation or painting fails,
otherwise we would get no more RepaintWorkers onto the EventQueue.
Also, now the RepaintWorker is marked 'dead' only after it has
finished its work, avoid more than one RepaintWorker on the queue.
(ComponentComparator.compareTo): Compare dirty rectangle sizes
instead of hierarchy depths.
(workDirtyComponents): Removed unused field.
(repaintOrder): Removed unused field.
(workRepaintOrder): Removed unused field.
(workInvalidComponents): Removed unused field.
(RepaintManager()): Removed initialization of removed fields.
(addInvalidComponent): Fine tuned synchronization.
(removeInvalidComponent): Fine tune synchronization.
(addDirtyRegion): Short circuit invalid dirty regions. Fine tuned
synchronization. Don't manager repaintOrder here.
(insertRepaintOrder): Removed method.
(markCompletelyClean): Fine tuned synchronization.
(validateInvalidComponents): Dont use a working copy of the
invalidComponents list, instead fine tuned synchronization on this
list. Also, don't search validateRoot, this is already done in
addInvalidComponent().
(paintDirtyRegions): Compute repaint order here, based on size of
damaged regions. Fine tuned synchronization. Avoid use of working
copies of dirtyComponent.
2006-02-02 Lillian Angel <langel@redhat.com>
* javax/swing/text/DefaultStyledDocument.java
(insertUpdate): JoinNextDirection should push the
'next' paragraph on the stack.
2006-02-02 Lillian Angel <langel@redhat.com>
* javax/swing/text/DefaultStyledDocument.java
(insertUpdate): Rewrote code for Originate. This prevents
leaves being created multiple times. If it is on the last
ElementSpec, the leaves need to be created right then;
otherwise, only a branch is created.
(insertContentTag): Rewrote to add new leaf directly if
this is a branch with no children. Otherwise, it
recreates the remainder of the tree as before.
2006-02-02 Ito Kazumitsu <kaz@maczuka.gcd.org>
* gnu/regexp/REMatch.java(REMatchList): New inner utility class
for making a list of REMatch instances.
* gnu/regexp/RETokenOneOf.java(match): Rewritten using REMatchList.
* gnu/regexp/RETokenRepeated.java(findDoables): New method.
(match): Rewritten using REMatchList.
(matchRest): Rewritten using REMatchList.
2006-02-02 Audrius Meskauskas <AudriusA@Bioinformatics.org>
* examples/gnu/classpath/examples/CORBA/swing/x5/PlayingDesk.java
(friendsMove): Call repaint() only after endOfGame is assigned.
2006-02-02 Mark Wielaard <mark@klomp.org>
Fixes bug #25769 reported by Artemus Harper <subanark@gmail.com>
* java/util/AbstractCollection.java (toString): Only use Iterator,
check whether collection contains itself.
2006-02-01 Casey Marshall <csm@gnu.org>
Partial fix for PR classpath/25143.
* javax/crypto/EncryptedPrivateKeyInfo.java (algName): new field.
(<init>): fill in `algName,' derive `algOid' from `algName.'
(getOid): new method.
(encode): embed NULL value for parameters if `params' is `null.'
2006-02-01 Casey Marshall <csm@gnu.org>
Tag check and OTHER_NAME fixes suggested by Rafael Teixeira
<monoman@gmail.com>.
* gnu/java/security/x509/ext/GeneralNames.java (<init>): fix tag
check; fix OTHER_NAME parsing; fix DIRECTORY_NAME parsing.
2006-02-01 Casey Marshall <csm@gnu.org>
toString fix suggested by Rafael Teixeira <monoman@gmail.com>.
* gnu/java/security/der/DERValue.java
(getLength, getEncoded, getEncodedLength): throw an exception,
don't initialize `encoded' to a bogus value.
(toString): return a more helpful string.
Partial fix for PR classpath/25144.
* gnu/java/security/der/DERWriter.java (write): if the value is
the pseudo-value used for CONSTRUCTED, write the encoded value
directly.
2006-02-01 Tom Tromey <tromey@redhat.com>
* java/security/Security.java (loadProviders): Use system class
loader.
2006-02-01 Mark Wielaard <mark@klomp.org>
* gnu/regexp/RE.java (getRETokenNamedProperty): Chain exception.
* gnu/regexp/RETokenNamedProperty.java (LETTER, MARK, SEPARATOR,
SYMBOL, NUMBER, PUNCTUATION, OTHER): New final byte[] fields.
(getHandler): Check for grouped properties L, M, Z, S, N, P or C.
(UnicodeCategoriesHandler): New private static class.
2006-02-01 Lillian Angel <langel@redhat.com>
* javax/swing/text/DefaultStyledDocument.java:
Removed unneeded fields.
(insertUpdate): Removed field initialization.
(insertContentTag): Rewrote part of function. Still
not complete.
2006-02-01 Lillian Angel <langel@redhat.com>
* javax/swing/text/DefaultStyledDocument.java
(insertParagraph): Cleaned up code.
(insertFirstContentTag): Fixed call to recreateLeaves.
(insertContentTag): Added check to code to determine where
content should be inserted with respect to next element.
(createFracture): Removed check, recreateLeaves is called in
other places when needed.
(recreateLeaves): Added new parameter for paragraph instead
of checking the stack. Removed editing for newBranch, replaced
with a replace call.
2006-02-01 Anthony Balkissoon <abalkiss@redhat.com>
* doc/unicode/Blocks-4.0.0.txt: New file.
* java/lang/Character.java: Regenerated inner class UnicodeBlock from
scripts/unicode-blocks.pl and doc/unicode/Blocks-4.0.0.txt.
* scripts/unicode-blocks.pl: Copied this over from the generics branch
but replaced some 1.5-only features (such as enum).
2006-01-31 Roman Kennke <kennke@aicas.com>
* javax/swing/text/PasswordView.java
(drawSelectedText): Use drawEchoCharacter() method to draw echo
character.
(drawUnselectedText): Use drawEchoCharacter() method to draw echo
character.
2006-01-31 Roman Kennke <kennke@aicas.com>
* javax/swing/JTextField.java
(getPreferredSize): Also include textfield's insets in width
calculation.
2006-01-31 Roman Kennke <kennke@aicas.com>
* javax/swing/plaf/basic/BasicTextUI.java
(getPreferredSize): Include the textcomponent's insets in
preferredSize.
2006-01-31 Roman Kennke <kennke@aicas.com>
* javax/swing/table/DefaultTableCellRenderer.java
(getTableCellRendererComponent): Moved setting of the value into
setValue(). Removed (bogus) special handling of JTextField values.
(setValue): Made ?: statement more clear by rewriting it
with if .. else.
2006-01-31 Roman Kennke <kennke@aicas.com>
* javax/swing/JLayeredPane.java
(insertIndexForLayer): Fixed algorithm to correctly determine
inser index for positions >= 0.
(addImpl): Fixed API docs for the index parameter.
2006-01-31 Mark Wielaard <mark@klomp.org>
* java/net/URI.java (getURIGroup): Check for null to see whether
group actually exists.
2006-01-31 Lillian Angel <langel@redhat.com>
* javax/swing/text/DefaultStyledDocument.java
(changeUpdate): Fixed calls to split to incorporate
new parameter.
(insertParagraph): Likewise. Uses 0 as editIndex
because inserting into a new paragraph.
(insertContentTag): Fixed check to use
recreateLeaves. Added a FIXME comment.
(split): Added a new parameter for edits.
2006-01-31 Roman Kennke <kennke@aicas.com>
* javax/swing/plaf/basic/BasicRootPaneUI.java
(installDefaults): Don't install a background color here.
2006-01-31 Lillian Angel <langel@redhat.com>
* javax/swing/text/DefaultStyledDocument.java
(insert): Removed comment.
(insertUpdate): Added comment.
(recreateLeaves): Removed call to push newBranch onto the
stack. This does not need to be done here.
2006-01-31 Chris Burdess <dog@gnu.org>
* gnu/xml/stream/SAXParser.java,
gnu/xml/stream/UnicodeReader.java,
gnu/xml/stream/XIncludeFilter.java,
gnu/xml/stream/XMLParser.java: Fix case where resolved InputSource
only resolved the system ID not the stream. Make some utility methods
public and static for use by other private XML APIs.
* java/lang/ClassNotFoundException.java: Ensure that initCause can be
called without throwing IllegalStateException.
* java/util/logging/SimpleFormatter.java: Write thrown exception if
provided.
2006-01-31 Ito Kazumitsu <kaz@maczuka.gcd.org>
Fixes bug #22873
* gnu/regexp/REMatch(toString(int)): Throw IndexOutOfBoundsException
for an invalid index and return null for a skipped group.
2006-01-31 Ito Kazumitsu <kaz@maczuka.gcd.org>
Fixes bug #26002
* gnu/regexp/gnu/regexp/RE.java(initialize): Parse /\p{prop}/.
(NamedProperty): New inner class.
(getNamedProperty): New method.
(getRETokenNamedProperty): New Method.
* gnu/regexp/RESyntax.java(RE_NAMED_PROPERTY): New syntax falg.
* gnu/regexp/RETokenNamedProperty.java: New file.
2006-01-31 Roman Kennke <kennke@aicas.com>
* javax/swing/plaf/PlainView.java
(paint): Call drawLine with baseline coordinates.
(drawLine): Documented and indented this method.
(drawUnselecetedText): Documented and indented this method.
* javax/swing/plaf/text/Utilites.java
(drawTabbedText): The coordinates denote the baseline of the text
not the upper left corner.
2006-01-31 Roman Kennke <kennke@aicas.com>
* javax/swing/plaf/basic/BasicTextUI.java
(createKeymap): Don't store KeyBindings[] as focusInputMap in
UIManager. Added FIXME regarding the implementation of this method.
2006-01-30 David Gilbert <david.gilbert@object-refinery.com>
* examples/gnu/classpath/examples/swing/ButtonDemo.java
(ButtonDemo): Move content initialisation to new method,
(initFrameContent): New method,
(main): Call initFrameContent(),
* examples/gnu/classpath/examples/swing/ComboBoxDemo.java: Likewise,
* examples/gnu/classpath/examples/swing/FileChooserDemo.java: Likewise,
* examples/gnu/classpath/examples/swing/ScrollBarDemo.java: Likewise,
* examples/gnu/classpath/examples/swing/SliderDemo.java: Likewise,
* examples/gnu/classpath/examples/swing/TextFieldDemo.java: Likewise.
2006-01-30 David Gilbert <david.gilbert@object-refinery.com>
* examples/gnu/classpath/examples/swing/Demo.java
(Demo): Set frame size,
(mkButtonBar): Removed stacked sub-panels.
2006-01-30 Lillian Angel <langel@redhat.com>
* javax/swing/text/DefaultStyledDocument.java:
Added new fields.
(insert): Initialized fields. Removed call to addEdit,
and created ElementEdit instead.
(insertUpdate): Added check for fracturing. If the
fracturing was not successful, we should push the
last element back on the stack.
(insertParagraph): Fixed call to getEditForParagraphAndIndex.
Also, changed replace calls to use Edit.
(insertFirstContentTag): Removed unneeded check and fixed call
to recreateLeaves.
(insertContent): Fixed check to use new fields. Added code in
to check if leaves overlap.
(createFracture): Fixed call to recreateLeaves.
(recreateLeaves): Fixed code and cleaned it up a bit.
(insertFracture): Set fracNotCreated field.
(addEdit): Removed, this method is not needed.
2006-01-30 Roman Kennke <kennke@aicas.com>
* javax/swing/JRootPane.java
(RootLayout.prefSize): Removed caching for preferredSize.
(RootLayout.invalidateLayout): Likewise.
(RootLayout.preferredLayoutSize): Likewise.
2006-01-30 Roman Kennke <kennke@aicas.com>
PR classpath/26035
* javax/swing/JFrame.java
(frameInit): Handle the defaultLookAndFeelDecorated flag.
* javax/swing/plaf/metal/MetalRootPaneUI.java
(MetalFrameBorder): New inner class, provides the border for
top level containers with L&F decorations.
(MetalTitlePane): New inner class, provides the title pane for
top level containers with L&F decorations.
(MetalRootLayout): New inner class. Used to layout the root pane
when L&F window decorations are enabled.
(installUI): New method. Handles window decorations.
(uninstallUI): New method. Handles window decorations.
(propertyChange): Handles window decorations.
(installWindowDecorations): New method. Handles window
decorations.
(uninstallWindowDecorations): New method. Handles window
decorations.
* javax/swing/plaf/metal/MetalLookAndFeel.java
(getSupportsWindowDecorations): Overridden to return true.
2006-01-30 Mark Wielaard <mark@klomp.org>
* javax/swing/JProgressBar.java (JProgressBar(int)): Document
IllegalArgumentException when orientation is illegal.
(JProgressBar(int, int, int)): Likewise and throw exception.
(setOrientation): Likewise.
2006-01-30 Roman Kennke <kennke@aicas.com>
* javax/swing/ViewportLayout.java
(minimumLayoutSize): Rewritten to unconditionally return (4,4).
2006-01-30 Mark Wielaard <mark@klomp.org>
* javax/swing/JProgressBar.java (orientation): Always set by
constructor.
(JProgressBar(int)): Document default on 'illegal' value.
(JProgressBar(int, int, int)): Likewise and set orientation to
HORIZONTAL when 'illegal'.
(setOrientation): Likewise.
2006-01-30 Roman Kennke <kennke@aicas.com>
* javax/swing/plaf/basic/BasicListUI.java
(ListDataHandler.contentsChanged): Update the
updateLayoutStateNeeded flag.
(ListDataHandler.intervalAdded): Update the
updateLayoutStateNeeded flag.
(ListDataHandler.intervalRemoved): Update the
updateLayoutStateNeeded flag.
(PropertyChangeHandler.propertyChange): Correctly update the
listeners on new list model.
(maybeUpdateLayoutState): Don't consider the validation state
of the list.
2006-01-30 Mark Wielaard <mark@klomp.org>
* gnu/xml/transform/ApplyTemplatesNode.java (clone): Check whether
sortKeys is null.
2006-01-30 Roman Kennke <kennke@aicas.com>
* javax/swing/JLayeredPane.java
(insertIndexForLayer): Fixed algorithm to correctly insert
components within different layers and -1 position.
2006-01-30 Mark Wielaard <mark@klomp.org>
* doc/api/Makefile.am (create_html): Add -validhtml.
2006-01-30 Roman Kennke <kennke@aicas.com>
* javax/swing/JLayeredPane.java
(insertIndexForLayer): Fixed algorithm to correctly insert
components within same layer and -1 position.
2006-01-30 Ito Kazumitsu <kaz@maczuka.gcd.org>
Fixes bug #24876
* gnu/regexp/gnu/regexp/RE.java(REG_TRY_ENTIRE_MATCH):
New execution flag.
(getMatchImpl): if REG_TRY_ENTIRE_MATCH is set, add an
implicit RETokenEnd at the end of the regexp chain.
Do not select the longest match, but select the first match.
(match): Do not take care of REMatch.empty.
* gnu/regexp/REMatch.java(empty): To be used only in RETokenRepeated.
* gnu/regexp/RETokenOneOf.java: Corrected a typo in a comment.
* gnu/regexp/RETokenBackRef.java: Do not take care of REMatch.empty.
* gnu/regexp/RETokenRepeated.java (match): Rewrote stingy matching.
Do not take care of REMatch.empty. Set and check REMatch.empty
when trying to match the single token.
2006-01-30 Mark Wielaard <mark@klomp.org>
* java/awt/Cursor.java (toString): Include name and type.
2006-01-30 Raif S. Naffah <raif@swiftdsl.com.au>
* gnu/javax/crypto/mac/HMac.java (clone): Clone ipadHash, opadHash, and
the ipad buffer.
* gnu/javax/crypto/mac/BaseMac.java (clone): Clone underlyingHash.
2006-01-30 Audrius Meskauskas <AudriusA@Bioinformatics.org>
PR 26027
* javax/swing/plaf/basic/BasicListUI.java (maybeUpdateLayoutState):
Consider the validation state of the list.
2006-01-29 Robert Schuster <robertschuster@fsfe.org>
* gnu/java/beans/DefaultExceptionListener.java: Constant public field
INSTANCE added.
* java/beans/XMLDecoder.java:
(setExceptionListener): Use shared DefaultExceptionListener
instance.
* java/beans/Encoder.java:
(setExceptionListener): Use shared DefaultExceptionListener
instance.
2006-01-29 Roman Kennke <kennke@aicas.com>
* javax/swing/ScrollPaneLayout.java
(minimumLayoutSize): Rewritten to match JDKs behaviour.
2006-01-29 Mark Wielaard <mark@klomp.org>
* java/net/SocketPermission.java (setActions): Trim and lower case
action.
2006-01-29 Raif S. Naffah <raif@swiftdsl.com.au>
* gnu/java/security/util/Prime2.java (passEulerCriterion): Was
incorrectly failing primality test for some known primes. Fixed.
(passFermatLittleTheorem): Removed.
(passMillerRabin): Removed.
(isProbablePrime): Cache primes that pass the primality tests.
Use BigInteger.isProbablePrime(int) for primality tests.
(debugBI): New static debugging method.
2006-01-28 Roman Kennke <kennke@aicas.com>
* javax/swing/plaf/basic/BasicListUI.java
(updateLayoutState): Removed unneeded special case for VERTICAL.
2006-01-28 Roman Kennke <kennke@aicas.com>
* javax/swing/plaf/basic/BasicListUI.java
(getCellBounds): Determine correct list width when having a
layoutOrientation of VERTICAL.
(maybeUpdateLayoutState): Don't consider the validation state of
the list.
2006-01-28 Mark Wielaard <mark@klomp.org>
Reported by Dimitri Fontaine <dimitri@dalibo.com>
* java/awt/print/NoPrinterJob.java: New (fake) class.
* java/awt/print/PrinterJob.java (getPrinterJob): Return NoPrinterJob.
2006-01-28 Mark Wielaard <mark@klomp.org>
* gnu/javax/crypto/mac/HMac.java (clone): Cast cloned ipad to byte[].
2006-01-28 Audrius Meskauskas <AudriusA@Bioinformatics.org>
* gnu/classpath/examples/swing/Demo.java (mkTree): Make a larger tree.
(addChildren): New method.
2006-01-28 Raif S. Naffah <raif@swiftdsl.com.au>
* gnu/javax/crypto/jce/mac/MacAdapter.java (MacAdapter(IMac, Map)): New
constructor for cloning purposes.
(clone): New implementation that ensures cloning.
* gnu/javax/crypto/mac/HMac.java (clone): Implement Cloneable.
* gnu/java/security/Registry.java: Changed value of GNU_SECURITY to
"GNU".
2006-01-27 Audrius Meskauskas <AudriusA@Bioinformatics.org>
* javax/swing/plaf/basic/BasicTreeUI.java (updateCachedPreferredSize):
Call updateCurrentVisiblePath.
2006-01-27 Roman Kennke <kennke@aicas.com>
* examples/gnu/classpath/examples/swing/MiniDemo.java: New file.
2006-01-27 Roman Kennke <kennke@aicas.com>
* examples/gnu/classpath/examples/swing/ButtonDemo.java
(createContent): Only create new content if we don't have one
already.
* examples/gnu/classpath/examples/swing/ComboBoxDemo.java
(createContent): Only create new content if we don't have one
already.
* examples/gnu/classpath/examples/swing/FileChooserDemo.java
(createContent): Only create new content if we don't have one
already.
* examples/gnu/classpath/examples/swing/ScrollBarDemo.java
(createContent): Only create new content if we don't have one
already.
* examples/gnu/classpath/examples/swing/SliderDemo.java
(createContent): Only create new content if we don't have one
already.
* examples/gnu/classpath/examples/swing/TableDemo.java
(createContent): Only create new content if we don't have one
already.
* examples/gnu/classpath/examples/swing/TextFieldDemo.java
(createContent): Only create new content if we don't have one
already.
2006-01-27 Lillian Angel <langel@redhat.com>
* javax/swing/text/DefaultStyledDocument.java
(insertFirstContentTag): Removed check, not needed. This
still needs to be fixed for some cases. Added call to
recreateLeaves.
(createFracture): Added call to recreateLeaves.
(recreateLeaves): New method used to recreate all the
leaves after the initial insertion. This still needs
more work.
(handleInsertAfterNewline): Removed else, not needed.
2006-01-27 Roman Kennke <kennke@aicas.com>
* javax/swing/JLayeredPane.java
(inserIndexForLayer): Fixed direction of search.
2006-01-27 Audrius Meskauskas <AudriusA@Bioinformatics.org>
* javax/swing/JTree.java (constructor): Put EXPANDED for the root
node into nodeStates.
2006-01-27 Roman Kennke <kennke@aicas.com>
* javax/swing/JLayeredPane.java
(FRAME_CONTENT_LAYER): Made field final.
(componentToLayer): Made field private.
(rectCache): Removed field.
(layers): Removed field.
(JLayeredPane()): Removed initialization of removed fields.
(getLayer): Rewritten to make use of client properties in
JComponents and to be more straighforward.
(static getLayer): Rewritten to make use of client properties in
JComponents.
(layerToRange): Removed method.
(incrLayer): Removed method.
(decrLayer): Removed method.
(highestLayer): Rewritten to be more straightforward.
(lowestLayer): Rewritten to be more straightforward.
(getPosition): Rewritten to be more straightforward.
(getComponentsInLayer): Rewritten to be more straightforward.
(getComponentCountInLayer): Rewritten to be more straightforward.
(getIndexOf): Rewritten to be more straightforward.
(inserIndexForLayer): Rewritten to be more straightforward.
(remove): Rewritten to be more straightforward.
(setLayer): Rewritten to be more straightforward.
(addImpl): Rewritten to be more straightforward.
(putLayer): Rewritten to be more straightforward.
2006-01-27 Anthony Balkissoon <abalkiss@redhat.com>
* java/lang/Character.java:
(offsetByCodePoints(CharSequence, int, int)): New API method.
(offsetByCodePoints(char[], int, int, int, int)): Likewise.
(toChars): Throw the Exception that the docs say we throw.
(codePointAt): Fixed an off-by-one error in the bounds of the if
statement.
* java/lang/String.java:
(String(int[], int, int)): New API constructor.
2006-01-27 Lillian Angel <langel@redhat.com>
* javax/swing/text/DefaultStyledDocument.java
(insert): Moved this loop to insertUpdate.
(insertUpdate): Likewise. Fixed variable
names. Incremented pos if new paragraph
is inserted.
(split): Changed edits to use replace instead. Prevents
assertion errors.
(insertFirstContentTag): Removed else.
(insertContentTag): Implemented else for JoinNextDirection.
(createFracture): Fixed up code, still not fully complete.
(insertFracture): Fixed to use return value from
recreateAfterFracture.
(recreateAfterFracture): Changed to return an array of the
elements to be added. This prevents an assertion error.
(contains): New function checks if an element is already in
the Vector. Vector's contain function was not enough to use.
(addAddedElement): Changed to use new contains function.
(addAddedElements): Likewise.
(addRemovedElement): Likewise.
(addRemovedElements): Likewise.
2006-01-27 Audrius Meskauskas <AudriusA@Bioinformatics.org>
PR 25520
* vm/reference/java/io/VMObjectInputStream.java (loaderAction.run):
If no user class loaders found on the stack, return the thread
context class loader. (currentClassLoader): Explained.
2006-01-27 Roman Kennke <kennke@aicas.com>
* java/awt/Container.java
(swapComponents): Removed unspecified method.
* javax/swing/JLayeredPane.java
(setPosition): Reimplemented correctly.
(swapComponents): New helper method.
2006-01-27 Mark Wielaard <mark@klomp.org>
* configure.ac: Set version to 0.21-pre.
2006-01-27 Roman Kennke <kennke@aicas.com>
PR classpath/25968
* javax/swing/JComponent.java
(findOverlapFreeParent): Improved the algorithm to make better use
of the optimizedDrawingEnabled flag.
* javax/swing/JLayeredPane.java
(isOptimizedDrawingEnabled): Reimplemented to match the specs.
* javax/swing/JViewport.java
(computeBlit): Fixed check to decide if blitting is possible or not,
so that it doesn't blit if nothing was scrolled (in order to
update the buffer when the view updates itself).
2006-01-27 Roman Kennke <kennke@aicas.com>
* javax/swing/plaf/metal/MetalFileChooserUI.java
(createList): Don't set scrollbar policy.
2006-01-27 Roman Kennke <kennke@aicas.com>
* javax/swing/plaf/basic/BasicPopupMenuUI.java
(PopupMenuHandler.popupMenuWillBecomeInvisible):
Fixed to also handle non-Swing toplevel containers.
(PopupMenuHandler.popupMenuWillBecomeVisible):
Fixed to also handle non-Swing toplevel containers.
* javax/swing/Popup.java
(JWindowPopup.JWindowPopup()): Correctly set parent window on
popup.
2006-01-27 Roman Kennke <kennke@aicas.com>
* javax/swing/plaf/basic/BasicInternalFrameUI.java
(InternalFramePropertyChangeListener): Don't implement
VetoableChangeListener.
(InternalFramePropertyChangeListener.vetoableChange): Removed.
(internalFrameVetoableChangeListener): Removed unneeded field.
(installListeners): Don't install vetoableChangeListener.
* javax/swing/event/DocumentEvent.java
(EventType): Made class final.
2006-01-27 Roman Kennke <kennke@aicas.com>
* javax/swing/SwingUtilities.java
(calculateInsetArea): Removed unneeded method. The method
calculateInnerArea has the same purpose and is actually specified.
(calculateInnerArea): Rewritten to not use calculateInsetArea.
* javax/swing/plaf/basic/BasicMenuItemUI.java
(paintMenuItem): Use SwingUtilities.calculateInnerArea() instead
of SwingUtilities.calculateInsetArea().
2006-01-27 Roman Kennke <kennke@aicas.com>
* javax/swing/plaf/basic/BasicTreeUI.java
(installDefaults): Removed requestFocusInWindow() call.
* javax/swing/JComponent.java
(requestFocusInWindow(boolean)): Made method protected.
(printComponent): Made method protected.
(printChildren): Made method protected.
(printComponent): Made method protected.
(printBorder): Made method protected.
2006-01-27 Roman Kennke <kennke@aicas.com>
* javax/swing/AbstractButton.java
(ButtonChangeListener.ButtonChangeListener()): Made constructor
package private.
* javax/swing/ImageIcon.java
(component): Made field final.
(tracker): Made field final.
* javax/swing/JApplet.java
(AccessibleJApplet.AccessibleJApplet): Made constructor protected.
* javax/swing/JCheckBox.java
(AccessibleJCheckBox.AccessibleJCheckBox): Made constructor
protected.
* javax/swing/JDialog.java
(AccessibleJDialog.AccessibleJDialog): Made constructor protected.
* javax/swing/JFrame.java
(AccessibleJFrame.AccessibleJFrame): Made constructor protected.
* javax/swing/JLayeredPane.java
(AccessibleJLayered.AccessibleJLayeredPane): Made constructor
protected.
(DEFAULT_LAYER): Made field final.
(PALETTE_LAYER): Made field final.
(MODAL_LAYER): Made field final.
(POPUP_LAYER): Made field final.
(DRAG_LAYER): Made field final.
* javax/swing/JMenu.java
(ActionChangeListener): Made class private.
* javax/swing/JOptionPane.java
(UNITITIALIZED_VALUE): Made field final.
* javax/swing/JPanel.java
(AccessibleJPanel.AccessibleJPanel): Made constructor protected.
* javax/swing/JPopupMenu.java
(ActionChangeListener): Made class private.
* javax/swing/JTree.java
(paramString): Made method protected.
* javax/swing/JViewport.java
(AccessibleJViewport.AccessibleJViewport): Made constructor protected.
* javax/swing/JWindow.java
(AccessibleJWindow.AccessibleJWindow): Made constructor protected.
* javax/swing/RepaintManager.java
(RepaintWorker): Made class private.
2006-01-27 Roman Kennke <kennke@aicas.com>
* gnu/java/awt/peer/swing/SwingComponentPeer.java
(handleEvent): Removed debug statement.
2006-01-27 Roman Kennke <kennke@aicas.com>
* java/awt/Component.java
(coalescePaintEvents): Don't try to optimize coalescing. This hurts
more than it helps.
2006-01-26 Lillian Angel <langel@redhat.com>
* javax/swing/text/DefaultStyledDocument.java
(createFracture): Commented out a known problem,
added FIXME tag.
2006-01-26 Lillian Angel <langel@redhat.com>
* javax/swing/text/DefaultStyledDocument.java
(ElementBuffer): Added fields.
(remove): Initialized pos.
(change): Likewise.
(insert): Likewise.
(insertUpdate): Incremented pos. Fixed check, createFracture should
be called on first tag if it is not ContentType.
(insertFirstContentTag): Reworked to use proper offsets and
set offset accordingly. This might need more work in the future.
(insertContentTag): Likewise. Fixed to use pos, instead of
offset.
(createFracture): Fixed to recreate other leaves. Still needs
more work.
(insertFracture): Reimplemented.
(recreateAfterFracture): New method.
(getParagraphElement): Reimplemented, more efficent.
2006-01-26 Christian Thalinger <twisti@complang.tuwien.ac.at>
* native/jni/java-lang/java_lang_VMDouble.c (doubleToLongBits)
(doubleToRawLongBits, longBitsToDouble): Swap the byte
ordering for little-endian arms without VFP.
2006-01-26 Raif S. Naffah <raif@swiftdsl.com.au>
PR classpath/25981
* gnu/javax/crypto/jce/GnuCrypto.java (run): Added KeyGenerator entries.
2006-01-26 Mark Wielaard <mark@klomp.org>
Fixes bug #25970 reported by Michael Kay <mike@saxonica.com>
* java/math/BigDecimal.java (compareTo): Don't strip trailing zeros.
Add trailing zeros to the fraction of the decimal with the smallest
scale.
2006-01-26 Roman Kennke <kennke@aicas.com>
* javax/swing/text/html/ObjectView.java: New file.
2006-01-26 Audrius Meskauskas <AudriusA@Bioinformatics.org>
* javax/swing/plaf/basic/BasicTreeUI.java (MouseHandler.mousePressed):
Call startEditing when appropriate.
(WAIT_TILL_EDITING, EDIT, startEditTimer): New fields.
(startEditing): Always edit if directly ordered from
MouseHandler.mousePressed.
* javax/swing/tree/DefaultTreeCellEditor.java (CLICK_COUNT_TO_START):
New field. (createTreeCellEditor): Set click count to start.
(getTreeCellEditorComponent): Assing realEditor directly.
2006-01-25 Casey Marshall <csm@gnu.org>
Merging GNU Crypto and Jessie.
* NEWS: mention the merge in the 0.21 notes.
* gnu/classpath/debug/Component.java (SSL_APPLICATION): removed.
(SSL_RECORD_LAYER): new constants.
* gnu/java/security/provider/Gnu.java (<init>): add new algorithms
to provider.
* resource/java/security/classpath.security: add new providers.
* gnu/javax/crypto/assembly/Assembly.java,
gnu/javax/crypto/assembly/Cascade.java,
gnu/javax/crypto/assembly/CascadeStage.java,
gnu/javax/crypto/assembly/CascadeTransformer.java,
gnu/javax/crypto/assembly/DeflateTransformer.java,
gnu/javax/crypto/assembly/Direction.java,
gnu/javax/crypto/assembly/LoopbackTransformer.java,
gnu/javax/crypto/assembly/ModeStage.java,
gnu/javax/crypto/assembly/Operation.java,
gnu/javax/crypto/assembly/PaddingTransformer.java,
gnu/javax/crypto/assembly/Stage.java,
gnu/javax/crypto/assembly/Transformer.java,
gnu/javax/crypto/assembly/TransformerException.java,
gnu/javax/crypto/cipher/Anubis.java,
gnu/javax/crypto/cipher/BaseCipher.java,
gnu/javax/crypto/cipher/Blowfish.java,
gnu/javax/crypto/cipher/Cast5.java,
gnu/javax/crypto/cipher/CipherFactory.java,
gnu/javax/crypto/cipher/DES.java,
gnu/javax/crypto/cipher/IBlockCipher.java,
gnu/javax/crypto/cipher/IBlockCipherSpi.java,
gnu/javax/crypto/cipher/Khazad.java,
gnu/javax/crypto/cipher/NullCipher.java,
gnu/javax/crypto/cipher/Rijndael.java,
gnu/javax/crypto/cipher/Serpent.java,
gnu/javax/crypto/cipher/Square.java,
gnu/javax/crypto/cipher/TripleDES.java,
gnu/javax/crypto/cipher/Twofish.java,
gnu/javax/crypto/cipher/WeakKeyException.java,
gnu/javax/crypto/jce/GnuCrypto.java,
gnu/javax/crypto/jce/GnuSasl.java,
gnu/javax/crypto/jce/PBKDF2SecretKeyFactory.java,
gnu/javax/crypto/jce/cipher/AESSpi.java,
gnu/javax/crypto/jce/cipher/ARCFourSpi.java,
gnu/javax/crypto/jce/cipher/AnubisSpi.java,
gnu/javax/crypto/jce/cipher/BlowfishSpi.java,
gnu/javax/crypto/jce/cipher/Cast5Spi.java,
gnu/javax/crypto/jce/cipher/CipherAdapter.java,
gnu/javax/crypto/jce/cipher/DESSpi.java,
gnu/javax/crypto/jce/cipher/KhazadSpi.java,
gnu/javax/crypto/jce/cipher/NullCipherSpi.java,
gnu/javax/crypto/jce/cipher/PBES2.java,
gnu/javax/crypto/jce/cipher/RijndaelSpi.java,
gnu/javax/crypto/jce/cipher/SerpentSpi.java,
gnu/javax/crypto/jce/cipher/SquareSpi.java,
gnu/javax/crypto/jce/cipher/TripleDESSpi.java,
gnu/javax/crypto/jce/cipher/TwofishSpi.java,
gnu/javax/crypto/jce/key/AnubisKeyGeneratorImpl.java,
gnu/javax/crypto/jce/key/AnubisSecretKeyFactoryImpl.java,
gnu/javax/crypto/jce/key/BlowfishKeyGeneratorImpl.java,
gnu/javax/crypto/jce/key/BlowfishSecretKeyFactoryImpl.java,
gnu/javax/crypto/jce/key/Cast5KeyGeneratorImpl.java,
gnu/javax/crypto/jce/key/Cast5SecretKeyFactoryImpl.java,
gnu/javax/crypto/jce/key/DESKeyGeneratorImpl.java,
gnu/javax/crypto/jce/key/DESSecretKeyFactoryImpl.java,
gnu/javax/crypto/jce/key/DESedeSecretKeyFactoryImpl.java,
gnu/javax/crypto/jce/key/KhazadKeyGeneratorImpl.java,
gnu/javax/crypto/jce/key/KhazadSecretKeyFactoryImpl.java,
gnu/javax/crypto/jce/key/RijndaelKeyGeneratorImpl.java,
gnu/javax/crypto/jce/key/RijndaelSecretKeyFactoryImpl.java,
gnu/javax/crypto/jce/key/SecretKeyFactoryImpl.java,
gnu/javax/crypto/jce/key/SecretKeyGeneratorImpl.java,
gnu/javax/crypto/jce/key/SerpentKeyGeneratorImpl.java,
gnu/javax/crypto/jce/key/SerpentSecretKeyFactoryImpl.java,
gnu/javax/crypto/jce/key/SquareKeyGeneratorImpl.java,
gnu/javax/crypto/jce/key/SquareSecretKeyFactoryImpl.java,
gnu/javax/crypto/jce/key/TripleDESKeyGeneratorImpl.java,
gnu/javax/crypto/jce/key/TwofishKeyGeneratorImpl.java,
gnu/javax/crypto/jce/key/TwofishSecretKeyFactoryImpl.java,
gnu/javax/crypto/jce/keyring/GnuKeyring.java,
gnu/javax/crypto/jce/mac/HMacHavalSpi.java,
gnu/javax/crypto/jce/mac/HMacMD2Spi.java,
gnu/javax/crypto/jce/mac/HMacMD4Spi.java,
gnu/javax/crypto/jce/mac/HMacMD5Spi.java,
gnu/javax/crypto/jce/mac/HMacRipeMD128Spi.java,
gnu/javax/crypto/jce/mac/HMacRipeMD160Spi.java,
gnu/javax/crypto/jce/mac/HMacSHA160Spi.java,
gnu/javax/crypto/jce/mac/HMacSHA256Spi.java,
gnu/javax/crypto/jce/mac/HMacSHA384Spi.java,
gnu/javax/crypto/jce/mac/HMacSHA512Spi.java,
gnu/javax/crypto/jce/mac/HMacTigerSpi.java,
gnu/javax/crypto/jce/mac/HMacWhirlpoolSpi.java,
gnu/javax/crypto/jce/mac/MacAdapter.java,
gnu/javax/crypto/jce/mac/OMacAnubisImpl.java,
gnu/javax/crypto/jce/mac/OMacBlowfishImpl.java,
gnu/javax/crypto/jce/mac/OMacCast5Impl.java,
gnu/javax/crypto/jce/mac/OMacDESImpl.java,
gnu/javax/crypto/jce/mac/OMacImpl.java,
gnu/javax/crypto/jce/mac/OMacKhazadImpl.java,
gnu/javax/crypto/jce/mac/OMacRijndaelImpl.java,
gnu/javax/crypto/jce/mac/OMacSerpentImpl.java,
gnu/javax/crypto/jce/mac/OMacSquareImpl.java,
gnu/javax/crypto/jce/mac/OMacTripleDESImpl.java,
gnu/javax/crypto/jce/mac/OMacTwofishImpl.java,
gnu/javax/crypto/jce/mac/TMMH16Spi.java,
gnu/javax/crypto/jce/mac/UHash32Spi.java,
gnu/javax/crypto/jce/mac/UMac32Spi.java,
gnu/javax/crypto/jce/params/BlockCipherParameters.java,
gnu/javax/crypto/jce/params/DEREncodingException.java,
gnu/javax/crypto/jce/params/DERReader.java,
gnu/javax/crypto/jce/params/DERWriter.java,
gnu/javax/crypto/jce/prng/ARCFourRandomSpi.java,
gnu/javax/crypto/jce/prng/CSPRNGSpi.java,
gnu/javax/crypto/jce/prng/FortunaImpl.java,
gnu/javax/crypto/jce/prng/ICMRandomSpi.java,
gnu/javax/crypto/jce/prng/UMacRandomSpi.java,
gnu/javax/crypto/jce/spec/BlockCipherParameterSpec.java,
gnu/javax/crypto/jce/spec/TMMHParameterSpec.java,
gnu/javax/crypto/jce/spec/UMac32ParameterSpec.java,
gnu/javax/crypto/key/BaseKeyAgreementParty.java,
gnu/javax/crypto/key/GnuSecretKey.java,
gnu/javax/crypto/key/IKeyAgreementParty.java,
gnu/javax/crypto/key/IncomingMessage.java,
gnu/javax/crypto/key/KeyAgreementException.java,
gnu/javax/crypto/key/KeyAgreementFactory.java,
gnu/javax/crypto/key/OutgoingMessage.java,
gnu/javax/crypto/key/dh/DHKeyPairRawCodec.java,
gnu/javax/crypto/key/dh/DiffieHellmanKeyAgreement.java,
gnu/javax/crypto/key/dh/DiffieHellmanReceiver.java,
gnu/javax/crypto/key/dh/DiffieHellmanSender.java,
gnu/javax/crypto/key/dh/ElGamalKeyAgreement.java,
gnu/javax/crypto/key/dh/ElGamalReceiver.java,
gnu/javax/crypto/key/dh/ElGamalSender.java,
gnu/javax/crypto/key/dh/GnuDHKey.java,
gnu/javax/crypto/key/dh/GnuDHKeyPairGenerator.java,
gnu/javax/crypto/key/dh/GnuDHPrivateKey.java,
gnu/javax/crypto/key/dh/GnuDHPublicKey.java,
gnu/javax/crypto/key/dh/RFC2631.java,
gnu/javax/crypto/key/srp6/SRP6Host.java,
gnu/javax/crypto/key/srp6/SRP6KeyAgreement.java,
gnu/javax/crypto/key/srp6/SRP6SaslClient.java,
gnu/javax/crypto/key/srp6/SRP6SaslServer.java,
gnu/javax/crypto/key/srp6/SRP6TLSClient.java,
gnu/javax/crypto/key/srp6/SRP6TLSServer.java,
gnu/javax/crypto/key/srp6/SRP6User.java,
gnu/javax/crypto/key/srp6/SRPAlgorithm.java,
gnu/javax/crypto/key/srp6/SRPKey.java,
gnu/javax/crypto/key/srp6/SRPKeyPairGenerator.java,
gnu/javax/crypto/key/srp6/SRPKeyPairRawCodec.java,
gnu/javax/crypto/key/srp6/SRPPrivateKey.java,
gnu/javax/crypto/key/srp6/SRPPublicKey.java,
gnu/javax/crypto/keyring/AuthenticatedEntry.java,
gnu/javax/crypto/keyring/BaseKeyring.java,
gnu/javax/crypto/keyring/BinaryDataEntry.java,
gnu/javax/crypto/keyring/CertPathEntry.java,
gnu/javax/crypto/keyring/CertificateEntry.java,
gnu/javax/crypto/keyring/CompressedEntry.java,
gnu/javax/crypto/keyring/EncryptedEntry.java,
gnu/javax/crypto/keyring/Entry.java,
gnu/javax/crypto/keyring/EnvelopeEntry.java,
gnu/javax/crypto/keyring/GnuPrivateKeyring.java,
gnu/javax/crypto/keyring/GnuPublicKeyring.java,
gnu/javax/crypto/keyring/IKeyring.java,
gnu/javax/crypto/keyring/IPrivateKeyring.java,
gnu/javax/crypto/keyring/IPublicKeyring.java,
gnu/javax/crypto/keyring/MalformedKeyringException.java,
gnu/javax/crypto/keyring/MaskableEnvelopeEntry.java,
gnu/javax/crypto/keyring/MeteredInputStream.java,
gnu/javax/crypto/keyring/PasswordAuthenticatedEntry.java,
gnu/javax/crypto/keyring/PasswordEncryptedEntry.java,
gnu/javax/crypto/keyring/PasswordProtectedEntry.java,
gnu/javax/crypto/keyring/PrimitiveEntry.java,
gnu/javax/crypto/keyring/PrivateKeyEntry.java,
gnu/javax/crypto/keyring/Properties.java,
gnu/javax/crypto/keyring/PublicKeyEntry.java,
gnu/javax/crypto/mac/BaseMac.java,
gnu/javax/crypto/mac/HMac.java,
gnu/javax/crypto/mac/HMacFactory.java,
gnu/javax/crypto/mac/IMac.java,
gnu/javax/crypto/mac/MacFactory.java,
gnu/javax/crypto/mac/MacInputStream.java,
gnu/javax/crypto/mac/MacOutputStream.java,
gnu/javax/crypto/mac/OMAC.java,
gnu/javax/crypto/mac/TMMH16.java,
gnu/javax/crypto/mac/UHash32.java,
gnu/javax/crypto/mac/UMac32.java,
gnu/javax/crypto/mode/BaseMode.java,
gnu/javax/crypto/mode/CBC.java,
gnu/javax/crypto/mode/CFB.java,
gnu/javax/crypto/mode/CTR.java,
gnu/javax/crypto/mode/EAX.java,
gnu/javax/crypto/mode/ECB.java,
gnu/javax/crypto/mode/IAuthenticatedMode.java,
gnu/javax/crypto/mode/ICM.java,
gnu/javax/crypto/mode/IMode.java,
gnu/javax/crypto/mode/ModeFactory.java,
gnu/javax/crypto/mode/OFB.java,
gnu/javax/crypto/pad/BasePad.java,
gnu/javax/crypto/pad/IPad.java,
gnu/javax/crypto/pad/PKCS1_V1_5.java,
gnu/javax/crypto/pad/PKCS7.java,
gnu/javax/crypto/pad/PadFactory.java,
gnu/javax/crypto/pad/SSL3.java,
gnu/javax/crypto/pad/TBC.java,
gnu/javax/crypto/pad/TLS1.java,
gnu/javax/crypto/pad/WrongPaddingException.java,
gnu/javax/crypto/prng/ARCFour.java,
gnu/javax/crypto/prng/CSPRNG.java,
gnu/javax/crypto/prng/Fortuna.java,
gnu/javax/crypto/prng/ICMGenerator.java,
gnu/javax/crypto/prng/IPBE.java,
gnu/javax/crypto/prng/PBKDF2.java,
gnu/javax/crypto/prng/PRNGFactory.java,
gnu/javax/crypto/prng/UMacGenerator.java,
gnu/javax/crypto/sasl/AuthInfo.java,
gnu/javax/crypto/sasl/AuthInfoProviderFactory.java,
gnu/javax/crypto/sasl/ClientFactory.java,
gnu/javax/crypto/sasl/ClientMechanism.java,
gnu/javax/crypto/sasl/ConfidentialityException.java,
gnu/javax/crypto/sasl/IAuthInfoProvider.java,
gnu/javax/crypto/sasl/IAuthInfoProviderFactory.java,
gnu/javax/crypto/sasl/IllegalMechanismStateException.java,
gnu/javax/crypto/sasl/InputBuffer.java,
gnu/javax/crypto/sasl/IntegrityException.java,
gnu/javax/crypto/sasl/NoSuchMechanismException.java,
gnu/javax/crypto/sasl/NoSuchUserException.java,
gnu/javax/crypto/sasl/OutputBuffer.java,
gnu/javax/crypto/sasl/SaslEncodingException.java,
gnu/javax/crypto/sasl/SaslInputStream.java,
gnu/javax/crypto/sasl/SaslOutputStream.java,
gnu/javax/crypto/sasl/SaslUtil.java,
gnu/javax/crypto/sasl/ServerFactory.java,
gnu/javax/crypto/sasl/ServerMechanism.java,
gnu/javax/crypto/sasl/UserAlreadyExistsException.java,
gnu/javax/crypto/sasl/anonymous/AnonymousClient.java,
gnu/javax/crypto/sasl/anonymous/AnonymousServer.java,
gnu/javax/crypto/sasl/anonymous/AnonymousUtil.java,
gnu/javax/crypto/sasl/crammd5/CramMD5AuthInfoProvider.java,
gnu/javax/crypto/sasl/crammd5/CramMD5Client.java,
gnu/javax/crypto/sasl/crammd5/CramMD5Registry.java,
gnu/javax/crypto/sasl/crammd5/CramMD5Server.java,
gnu/javax/crypto/sasl/crammd5/CramMD5Util.java,
gnu/javax/crypto/sasl/crammd5/PasswordFile.java,
gnu/javax/crypto/sasl/plain/PasswordFile.java,
gnu/javax/crypto/sasl/plain/PlainAuthInfoProvider.java,
gnu/javax/crypto/sasl/plain/PlainClient.java,
gnu/javax/crypto/sasl/plain/PlainRegistry.java,
gnu/javax/crypto/sasl/plain/PlainServer.java,
gnu/javax/crypto/sasl/srp/CALG.java,
gnu/javax/crypto/sasl/srp/ClientStore.java,
gnu/javax/crypto/sasl/srp/IALG.java,
gnu/javax/crypto/sasl/srp/KDF.java,
gnu/javax/crypto/sasl/srp/PasswordFile.java,
gnu/javax/crypto/sasl/srp/SRP.java,
gnu/javax/crypto/sasl/srp/SRPAuthInfoProvider.java,
gnu/javax/crypto/sasl/srp/SRPClient.java,
gnu/javax/crypto/sasl/srp/SRPRegistry.java,
gnu/javax/crypto/sasl/srp/SRPServer.java,
gnu/javax/crypto/sasl/srp/SecurityContext.java,
gnu/javax/crypto/sasl/srp/ServerStore.java,
gnu/javax/crypto/sasl/srp/StoreEntry.java,
gnu/javax/net/ssl/Base64.java,
gnu/javax/net/ssl/EntropySource.java,
gnu/javax/net/ssl/NullManagerParameters.java,
gnu/javax/net/ssl/PrivateCredentials.java,
gnu/javax/net/ssl/SRPManagerParameters.java,
gnu/javax/net/ssl/SRPTrustManager.java,
gnu/javax/net/ssl/StaticTrustAnchors.java,
gnu/javax/net/ssl/provider/Alert.java,
gnu/javax/net/ssl/provider/AlertException.java,
gnu/javax/net/ssl/provider/Certificate.java,
gnu/javax/net/ssl/provider/CertificateRequest.java,
gnu/javax/net/ssl/provider/CertificateType.java,
gnu/javax/net/ssl/provider/CertificateVerify.java,
gnu/javax/net/ssl/provider/CipherSuite.java,
gnu/javax/net/ssl/provider/ClientHello.java,
gnu/javax/net/ssl/provider/ClientKeyExchange.java,
gnu/javax/net/ssl/provider/CompressionMethod.java,
gnu/javax/net/ssl/provider/Constructed.java,
gnu/javax/net/ssl/provider/ContentType.java,
gnu/javax/net/ssl/provider/Context.java,
gnu/javax/net/ssl/provider/DiffieHellman.java,
gnu/javax/net/ssl/provider/DigestInputStream.java,
gnu/javax/net/ssl/provider/DigestOutputStream.java,
gnu/javax/net/ssl/provider/Enumerated.java,
gnu/javax/net/ssl/provider/Extension.java,
gnu/javax/net/ssl/provider/Extensions.java,
gnu/javax/net/ssl/provider/Finished.java,
gnu/javax/net/ssl/provider/GNUSecurityParameters.java,
gnu/javax/net/ssl/provider/Handshake.java,
gnu/javax/net/ssl/provider/JCESecurityParameters.java,
gnu/javax/net/ssl/provider/JDBCSessionContext.java,
gnu/javax/net/ssl/provider/Jessie.java,
gnu/javax/net/ssl/provider/JessieDHPrivateKey.java,
gnu/javax/net/ssl/provider/JessieDHPublicKey.java,
gnu/javax/net/ssl/provider/JessieRSAPrivateKey.java,
gnu/javax/net/ssl/provider/JessieRSAPublicKey.java,
gnu/javax/net/ssl/provider/KeyPool.java,
gnu/javax/net/ssl/provider/MacException.java,
gnu/javax/net/ssl/provider/OverflowException.java,
gnu/javax/net/ssl/provider/PRNG.java,
gnu/javax/net/ssl/provider/ProtocolVersion.java,
gnu/javax/net/ssl/provider/Random.java,
gnu/javax/net/ssl/provider/RecordInput.java,
gnu/javax/net/ssl/provider/RecordInputStream.java,
gnu/javax/net/ssl/provider/RecordOutputStream.java,
gnu/javax/net/ssl/provider/RecordingInputStream.java,
gnu/javax/net/ssl/provider/SRPTrustManagerFactory.java,
gnu/javax/net/ssl/provider/SSLHMac.java,
gnu/javax/net/ssl/provider/SSLRSASignature.java,
gnu/javax/net/ssl/provider/SSLRandom.java,
gnu/javax/net/ssl/provider/SSLServerSocket.java,
gnu/javax/net/ssl/provider/SSLServerSocketFactory.java,
gnu/javax/net/ssl/provider/SSLSocket.java,
gnu/javax/net/ssl/provider/SSLSocketFactory.java,
gnu/javax/net/ssl/provider/SSLSocketInputStream.java,
gnu/javax/net/ssl/provider/SSLSocketOutputStream.java,
gnu/javax/net/ssl/provider/SecurityParameters.java,
gnu/javax/net/ssl/provider/ServerHello.java,
gnu/javax/net/ssl/provider/ServerKeyExchange.java,
gnu/javax/net/ssl/provider/Session.java,
gnu/javax/net/ssl/provider/SessionContext.java,
gnu/javax/net/ssl/provider/Signature.java,
gnu/javax/net/ssl/provider/SynchronizedRandom.java,
gnu/javax/net/ssl/provider/TLSHMac.java,
gnu/javax/net/ssl/provider/TLSRandom.java,
gnu/javax/net/ssl/provider/Util.java,
gnu/javax/net/ssl/provider/X509KeyManagerFactory.java,
gnu/javax/net/ssl/provider/X509TrustManagerFactory.java,
gnu/javax/net/ssl/provider/XMLSessionContext.java,
gnu/javax/security/auth/Password.java,
gnu/javax/security/auth/callback/AWTCallbackHandler.java,
gnu/javax/security/auth/callback/AbstractCallbackHandler.java,
gnu/javax/security/auth/callback/ConsoleCallbackHandler.java,
gnu/javax/security/auth/callback/DefaultCallbackHandler.java,
gnu/javax/security/auth/callback/GnuCallbacks.java,
gnu/javax/security/auth/callback/SwingCallbackHandler.java,
gnu/java/security/Registry.java,
gnu/java/security/Properties.java,
gnu/java/security/hash/BaseHash.java,
gnu/java/security/hash/HashFactory.java,
gnu/java/security/hash/Haval.java,
gnu/java/security/hash/IMessageDigest.java,
gnu/java/security/hash/MD2.java,
gnu/java/security/hash/MD4.java,
gnu/java/security/hash/MD5.java,
gnu/java/security/hash/RipeMD128.java,
gnu/java/security/hash/RipeMD160.java,
gnu/java/security/hash/Sha160.java,
gnu/java/security/hash/Sha256.java,
gnu/java/security/hash/Sha384.java,
gnu/java/security/hash/Sha512.java,
gnu/java/security/hash/Tiger.java,
gnu/java/security/hash/Whirlpool.java,
gnu/java/security/jce/hash/HavalSpi.java,
gnu/java/security/jce/hash/MD2Spi.java,
gnu/java/security/jce/hash/MD4Spi.java,
gnu/java/security/jce/hash/MD5Spi.java,
gnu/java/security/jce/hash/MessageDigestAdapter.java,
gnu/java/security/jce/hash/RipeMD128Spi.java,
gnu/java/security/jce/hash/RipeMD160Spi.java,
gnu/java/security/jce/hash/Sha160Spi.java,
gnu/java/security/jce/hash/Sha256Spi.java,
gnu/java/security/jce/hash/Sha384Spi.java,
gnu/java/security/jce/hash/Sha512Spi.java,
gnu/java/security/jce/hash/TigerSpi.java,
gnu/java/security/jce/hash/WhirlpoolSpi.java,
gnu/java/security/jce/prng/HavalRandomSpi.java,
gnu/java/security/jce/prng/MD2RandomSpi.java,
gnu/java/security/jce/prng/MD4RandomSpi.java,
gnu/java/security/jce/prng/MD5RandomSpi.java,
gnu/java/security/jce/prng/RipeMD128RandomSpi.java,
gnu/java/security/jce/prng/RipeMD160RandomSpi.java,
gnu/java/security/jce/prng/SecureRandomAdapter.java,
gnu/java/security/jce/prng/Sha160RandomSpi.java,
gnu/java/security/jce/prng/Sha256RandomSpi.java,
gnu/java/security/jce/prng/Sha384RandomSpi.java,
gnu/java/security/jce/prng/Sha512RandomSpi.java,
gnu/java/security/jce/prng/TigerRandomSpi.java,
gnu/java/security/jce/prng/WhirlpoolRandomSpi.java,
gnu/java/security/jce/sig/DSSKeyPairGeneratorSpi.java,
gnu/java/security/jce/sig/DSSRawSignatureSpi.java,
gnu/java/security/jce/sig/KeyPairGeneratorAdapter.java,
gnu/java/security/jce/sig/RSAKeyPairGeneratorSpi.java,
gnu/java/security/jce/sig/RSAPSSRawSignatureSpi.java,
gnu/java/security/jce/sig/SignatureAdapter.java,
gnu/java/security/key/IKeyPairCodec.java,
gnu/java/security/key/IKeyPairGenerator.java,
gnu/java/security/key/KeyPairCodecFactory.java,
gnu/java/security/key/KeyPairGeneratorFactory.java,
gnu/java/security/key/dss/DSSKey.java,
gnu/java/security/key/dss/DSSKeyPairGenerator.java,
gnu/java/security/key/dss/DSSKeyPairRawCodec.java,
gnu/java/security/key/dss/DSSPrivateKey.java,
gnu/java/security/key/dss/DSSPublicKey.java,
gnu/java/security/key/dss/FIPS186.java,
gnu/java/security/key/rsa/GnuRSAKey.java,
gnu/java/security/key/rsa/GnuRSAPrivateKey.java,
gnu/java/security/key/rsa/GnuRSAPublicKey.java,
gnu/java/security/key/rsa/RSAKeyPairGenerator.java,
gnu/java/security/key/rsa/RSAKeyPairRawCodec.java,
gnu/java/security/prng/BasePRNG.java,
gnu/java/security/prng/EntropySource.java,
gnu/java/security/prng/IRandom.java,
gnu/java/security/prng/LimitReachedException.java,
gnu/java/security/prng/MDGenerator.java,
gnu/java/security/prng/PRNGFactory.java,
gnu/java/security/prng/RandomEvent.java,
gnu/java/security/prng/RandomEventListener.java,
gnu/java/security/sig/BaseSignature.java,
gnu/java/security/sig/ISignature.java,
gnu/java/security/sig/ISignatureCodec.java,
gnu/java/security/sig/SignatureFactory.java,
gnu/java/security/sig/dss/DSSSignature.java,
gnu/java/security/sig/dss/DSSSignatureRawCodec.java,
gnu/java/security/sig/rsa/EME_PKCS1_V1_5.java,
gnu/java/security/sig/rsa/EMSA_PKCS1_V1_5.java,
gnu/java/security/sig/rsa/EMSA_PSS.java,
gnu/java/security/sig/rsa/RSA.java,
gnu/java/security/sig/rsa/RSAPKCS1V1_5Signature.java,
gnu/java/security/sig/rsa/RSAPSSSignature.java,
gnu/java/security/sig/rsa/RSAPSSSignatureRawCodec.java,
gnu/java/security/util/Base64.java,
gnu/java/security/util/ExpirableObject.java,
gnu/java/security/util/Prime2.java,
gnu/java/security/util/Sequence.java,
gnu/java/security/util/SimpleList.java,
gnu/java/security/util/Util.java,
resource/gnu/javax/security/auth/callback/MessagesBundle.properties:
new files imported from GNU Crypto and Jessie.
2006-01-25 Tom Tromey <tromey@redhat.com>
* gnu/java/net/protocol/http/ChunkedInputStream.java (read):
Fixed calculation of number of bytes to read.
(size, count, meta, eof): Document.
2006-01-25 Anthony Balkissoon <abalkiss@redhat.com>
* java/lang/Character.java:
(codePointCount(char[], int, int)): New API method.
(codePointCount(CharSequence, int, int)): Likewise.
2006-01-25 Audrius Meskauskas <AudriusA@Bioinformatics.org>
PR 25205
* javax/swing/DefaultCellEditor.java (getTreeCellEditorComponent):
Rewritten.
* javax/swing/JTree.java (stopEditing, cancelEditing): Return without
action if not editing.
* javax/swing/plaf/basic/BasicTreeUI.java
(CellEditorHandler.editingCancelled): Delegate to cancelEditing.
(CellEditorHandler.editingStopped): Delegate to stopEditing.
(EditorUpdateTimer): Removed.
(TreeAction.actionPerformed): Stop and not cancel the current editing
when starting editing another node.
(editorTimer, newVal): Removed.
(cancelEditing): Do not send the cancel message.
(completeEditing): Obtain the edited value from the editor.
(finish): New method.
(paintRow): Do not paint the editing component here.
(startEditing, stopEditing): Rewritten.
* javax/swing/tree/DefaultTreeCellEditor.java
(DefaultTextField): Added SVUID.
(EditorContainer): Rewritten.
(RealEditorListener): New inner class.
(ICON_TEXT_GAP, TREE_ICON_GAP: New constants).
(constructor): Add cell editor listener. Do not instantiate timer.
(actionPerformed): Return without action.
(cancelCellEditing): Rewritten.
(createTreeCellEditor): Add cell editor listener to the editor.
(getCellEditorValue): Request the value from the realEditor.
(isCellEditable): Removed timer management.
(prepareForEditing): Remove all components befor adding the
editingComponent.
(startEditingTimer): Start only if it is not null.
(stopCellEditing): Rewritten.
(stopEditingTimer): New method.
(valueChanged): Do not configure editing component here.
2006-01-25 Roman Kennke <kennke@aicas.com>
* javax/swing/text/html/FormView.java: New file.
2006-01-25 Roman Kennke <kennke@aicas.com>
* javax/swing/JSplitPane.java
(addImpl): Call resetToPreferredSizes() when no dividerLocation
has been set in order to set an initial layout.
* javax/swing/plaf/basic/BasicSplitPaneUI.java
(BasicHorizontalLayoutManager.layoutContainer): Fixed error for
layout of the right component.
(BasicHorizontalLayoutManager.resetToPreferredSizes): Set the
dividerLocation to the size of the left component.
(createDefaultNonContinuousLayoutDivider): Fetch the color from
the UIManager.
(setDividerLocation): Don't validate the location here. Sometimes
the divider needs to be set to an invalid location.
(startDragging): Don't revalidate and repaint here.
(finishDraggingTo): Don't repaint here. Also, don't call
dragDividerTo() here.
* javax/swing/plaf/basic/BasicLookAndFeel.java
(initComponentDefaults): Added SplitPaneDivider.draggingColor
default value.
2006-01-25 Roman Kennke <kennke@aicas.com>
* javax/swing/JSplitPane.java
(addImpl): Removed invalidate() and layout() call.
* javax/swing/plaf/basic/BasicSplitPaneUI.java
(PropertyHandler.propertyChange): Remove layoutContainer() and
repaint() call.
2006-01-25 Roman Kennke <kennke@aicas.com>
* configure.ac
* native/Makefile.am
* native/jni/classpath/Makefile.am
* native/jni/classpath/jcl.c
* native/jni/classpath/jcl.h
* native/jni/classpath/native_state.c
* native/jni/gtk-peer/Makefile.am
* native/jni/java-io/Makefile.am
* native/jni/java-io/java_io_VMFile.c
* native/jni/java-io/java_io_VMObjectStreamClass.c
* native/jni/java-lang/Makefile.am
* native/jni/java-net/Makefile.am
* native/jni/java-net/java_net_VMInetAddress.c
* native/jni/java-net/javanet.c
* native/jni/java-net/javanet.h
* native/jni/java-nio/Makefile.am
* native/jni/java-nio/gnu_java_nio_VMPipe.c
* native/jni/java-nio/gnu_java_nio_VMSelector.c
* native/jni/java-nio/gnu_java_nio_channels_FileChannelImpl.c
* native/jni/java-nio/java_nio_MappedByteBufferImpl.c
* native/jni/java-nio/java_nio_VMDirectByteBuffer.c
* native/jni/java-util/Makefile.am
* native/jni/java-util/java_util_VMTimeZone.c
* native/jni/midi-dssi/Makefile.am
* native/jni/xmlj/Makefile.am
* native/target/Makefile.am
* native/target/Linux/target_native_math.h
* native/target/Linux/target_native_memory.h
* native/target/Linux/Makefile.am
* native/target/Linux/target_native_io.h
* native/target/Linux/target_native_math_float.h
* native/target/Linux/target_native_math_int.h
* native/target/generic/target_generic.c
* native/target/generic/target_generic_io.c
* native/target/generic/target_generic_math.h
* native/target/generic/target_generic_memory.h
* native/target/generic/target_generic_misc.c
* native/target/generic/target_generic_network.c
* native/target/generic/Makefile.am
* native/target/generic/target_generic.h
* native/target/generic/target_generic_file.h
* native/target/generic/target_generic_io.h
* native/target/generic/target_generic_math_float.h
* native/target/generic/target_generic_math_int.h
* native/target/generic/target_generic_misc.h
* native/target/generic/target_generic_network.h:
Reverted target native related changes back to the state of the
0.20 release.
* native/target/MinGW/.cvsignore
* native/target/MinGW/Makefile.am
* native/target/MinGW/target_native.h
* native/target/MinGW/target_native_file.h
* native/target/MinGW/target_native_io.h
* native/target/MinGW/target_native_math.h
* native/target/MinGW/target_native_memory.h
* native/target/MinGW/target_native_misc.h
* native/target/MinGW/target_native_network.h
* native/target/RTEMS/.cvsignore
* native/target/RTEMS/Makefile.am
* native/target/RTEMS/target_native.h
* native/target/RTEMS/target_native_file.h
* native/target/RTEMS/target_native_io.h
* native/target/RTEMS/target_native_math.h
* native/target/RTEMS/target_native_memory.h
* native/target/RTEMS/target_native_misc.h
* native/target/RTEMS/target_native_network.h
* native/target/SunOS/.cvsignore
* native/target/SunOS/Makefile.am
* native/target/SunOS/target_native.h
* native/target/SunOS/target_native_file.h
* native/target/SunOS/target_native_io.h
* native/target/SunOS/target_native_math.h
* native/target/SunOS/target_native_memory.h
* native/target/SunOS/target_native_misc.h
* native/target/SunOS/target_native_network.h
* native/target/embOS/.cvsignore
* native/target/embOS/Makefile.am
* native/target/embOS/target_native.h
* native/target/embOS/target_native_file.h
* native/target/embOS/target_native_io.c
* native/target/embOS/target_native_io.h
* native/target/embOS/target_native_math.h
* native/target/embOS/target_native_memory.h
* native/target/embOS/target_native_misc.h
* native/target/embOS/target_native_network.h
* native/target/posix/.cvsignore
* native/target/posix/Makefile.am
* native/target/posix/target_posix.c
* native/target/posix/target_posix.h
* native/target/posix/target_posix_file.c
* native/target/posix/target_posix_file.h
* native/target/posix/target_posix_io.c
* native/target/posix/target_posix_io.h
* native/target/posix/target_posix_math.c
* native/target/posix/target_posix_math.h
* native/target/posix/target_posix_memory.c
* native/target/posix/target_posix_memory.h
* native/target/posix/target_posix_misc.c
* native/target/posix/target_posix_misc.h
* native/target/posix/target_posix_network.c
* native/target/posix/target_posix_network.h:
Removed.
2006-01-24 Wolfgang Baer <WBaer@gmx.de>
* javax/print/PrintService.java,
* javax/print/DocPrintJob.java,
* javax/print/CancelablePrintJob.java:
Added and enhanced api documentation for class and methods.
2006-01-24 Wolfgang Baer <WBaer@gmx.de>
* javax/print/SimpleDoc.java: Make class final.
* javax/print/attribute/standard/PrinterIsAcceptingJobs.java: Likewise.
* javax/print/attribute/DateTimeSyntax.java:
(toString): New overridden method.
* javax/print/attribute/standard/JobStateReasons.java:
(add): Use the super.add method to avoid recursion.
* javax/print/attribute/standard/PrinterStateReasons.java:
(put): Use the super.put method to avoid recursion.
2006-01-24 Robert Schuster <robertschuster@fsfe.org>
* java/beans/XMLEncoder.java:
(writeExpression): Added early return (fixes PR #25941).
(setExceptionListener, anonymous Class): Removed printStackTrace
call.
* java/beans/Encoder: Removed unused imports.
(setupDefaultPersistenceDelegates): Removed unneccessary
PersistenceDelegates for subclasses.
* java/beans/PersistenceDelegate:
(initialize): Use local variable as first argument as it was
intended once.
* java/beans/DefaultPersistenceDelegate:
(initialize): Added call to superclass' implementation, added
early return.
2006-01-24 Tom Tromey <tromey@redhat.com>
* java/util/regex/PatternSyntaxException.java: Added @since.
* java/util/regex/Matcher.java (Matcher): Implements MatchResult.
* java/util/regex/MatchResult.java: New file.
2006-01-24 David Gilbert <david.gilbert@object-refinery.com>
* javax/swing/text/StringContent.java: Added API docs all over, plus
minor reformatting.
2006-01-24 Gary Benson <gbenson@redhat.com>
* java/net/SocketPermission.java: Implemented serialization.
2006-01-24 David Gilbert <david.gilbert@object-refinery.com>
* javax/swing/text/StringContent.java
(remove): Modified argument check to prevent removal of last character,
(getChars): Removed null argument check to allow NullPointerException,
added API docs,
(checkLocation): Added API docs and white space.
2006-01-23 Lillian Angel <langel@redhat.com>
* javax/swing/text/DefaultStyledDocument.java
(insertUpdate): Should only call createFracture with
StartTagType. Added check.
(insertContentTag): Should use the tags length for splitting.
Also, added a check to determine if current's start and end offset are
equal to the offset and endOffset. If so, only one leaf element
should be added.
(createFracture): Removed FIXME. This function is complete.
(split): Added calls to replace. Changed so the child is
added immediately to the paragraph. Prevents NPEs.
2006-01-23 Mark Wielaard <mark@klomp.org>
* examples/Makefile.am (EXAMPLE_ZIP): Group cd and commands.
2006-01-23 Tom Tromey <tromey@redhat.com>
* gnu/java/security/x509/X509Certificate.java (parse):
Unconditionally read value; for version==1 case when reading
algorithm ID.
2006-01-23 Roman Kennke <kennke@aicas.com>
* javax/swing/plaf/synth/ColorType.java,
* javax/swing/plaf/synth/Region.java,
* javax/swing/plaf/synth/SynthConstants.java,
* javax/swing/plaf/synth/SynthContext.java
* javax/swing/plaf/synth/SynthGraphicsUtils.java,
* javax/swing/plaf/synth/SynthLookAndFeel.java,
* javax/swing/plaf/synth/SynthPainter.java,
* javax/swing/plaf/synth/SynthStyle.java,
* javax/swing/plaf/synth/SynthStyleFactory.java,
* javax/swing/plaf/synth/package.html:
New files. Added the public API and framework classes for the
Synth look and feel.
2006-01-23 David Gilbert <david.gilbert@object-refinery.com>
* javax/swing/text/Segment.java: API docs all over.
2006-01-23 Lillian Angel <langel@redhat.com>
* javax/swing/text/DefaultStyledDocument.java
(split): Should not use createLeafElement and createBranchElement here.
We should just instaniate the LeafElements and BranchElements instead
to avoid the case where create*Element is overridden.
2006-01-23 Lillian Angel <langel@redhat.com>
* javax/swing/text/DefaultStyledDocument.java
(insertFirstContentTag): Moved check outside of if-statement.
This should be checked before creating the new leaf element.
(insertFracture): Fixed check to prevent an NPE. The previous
leaf should only be recreated if it has been created by
insertFirstContentTag. Also, fixed up code: if the endOffset is
greater than the offset, then we need to create a temp leaf
as a place holder. Otherwise, the leaf elements should be
created normally.
2006-01-23 Gary Benson <gbenson@redhat.com>
* java/net/SocketPermission.java: Almost completely rewritten.
2006-01-23 Lillian Angel <langel@redhat.com>
* javax/swing/text/DefaultStyledDocument.java
(insertFracture): Set temp leaf's attributes to prevent an NPE.
2006-01-23 Lillian Angel <langel@redhat.com>
* javax/swing/text/DefaultStyledDocument.java:
Formatted ElementBuffer and added new fields.
(remove): Added check to determine if length is 0.
(insertFirstContentTag): Initialized firstCreated to the element that is created
by the first tag encountered. Removed check in JoinPreviousDirection case, no
longer needed. In OriginateDirection case, added a loop to remove all old leafs
that have been recreated.
(insertContentTag): Cleaned up code. Removed checks that did not do anything.
(insertFracture): Fixed up code, removed unneeded objects and checks. Added
FIXME tags to the lines that need to be rewritten.
2006-01-23 Mark Wielaard <mark@klomp.org>
* examples/Makefile.am: Add support for fastjar.
2006-01-23 Ito Kazumitsu <kaz@maczuka.gcd.org>
* gnu/regexp/REToken.java(empty): Made Cloneable.
* gnu/regexp/RETokenOneOf.java(match): RE.java(match):
Use separate methods matchN and matchP depending on the
boolean negative.
(matchN): New method used when negative. Done as before.
(matchP): New method used when not negative. Each token is
tried not by itself but by a clone of it.
2006-01-23 Chris Burdess <dog@gnu.org>
Fixes bug #25906
* gnu/xml/dom/DomCharacterData.java: Use a separate empty node list
class to avoid getLength method contention.
* gnu/xml/stream/SAXParser.java: Rethrow correct exception.
2006-01-23 Chris Burdess <dog@gnu.org>
* native/jni/java-util/Makefile.am: Include library required
explicitly by BSD systems.
* native/target/generic/target_generic_misc.h: Remove old commented
out code.
* native/target/generic/target_generic_network.h: Fallbacks (to
SO_NOSIGPIPE and then 0) for non-portable glibc MSG_NOSIGNAL.
2006-01-22 Tom Tromey <tromey@redhat.com>
* native/target/posix/.cvsignore: Added .deps.
2006-01-22 Mark Wielaard <mark@klomp.org>
Fixes bug #25832,
reported by James Damour <James.Damour@corp.request.com>
* java/awt/Container.java (addImpl): Use empty string as name when
null constraints for LayoutManager.addLayoutComponent().
2006-01-22 Chris Burdess <dog@gnu.org>
Fixes bug #25903
* gnu/xml/dom/DomDocumentBuilder.java: Default to using file URL
representing current directory as base for relative URLs.
2006-01-22 Ito Kazumitsu <kaz@maczuka.gcd.org>
Fixes bug #25837
* gnu/regexp/REMatch.java(empty): New boolean indicating
an empty string matched.
* gnu/regexp/RE.java(match): Sets empty flag when an empty
string matched.
(initialize): Support back reference \10, \11, and so on.
(parseInt): renamed from getEscapedChar and returns int.
* gnu/regexp/RETokenRepeated.java(match): Sets empty flag
when an empty string matched. Fixed a bug of the case where
an empty string matched. Added special handling of {0}.
* gnu/regexp/RETokenBackRef.java(match): Sets empty flag
when an empty string matched. Fixed the case insensitive matching.
2006-01-21 Roman Kennke <kennke@aicas.com>
* javax/swing/plaf/metal/MetalSplitPaneDivider.java
(paint): Added painting of border if one is installed.
2006-01-21 Roman Kennke <kennke@aicas.com>
PR classpath/25843:
* javax/swing/plaf/basic/BasicBorders.java
(getSplitPaneDividerBorder): Use new border constructor
without arguments.
(SplitPaneDividerBorder.highlight): Removed unneeded field.
(SplitPaneDividerBorder.shadow): Removed unneeded field.
(SplitPaneDividerBorder()): Changed constructor to do nothing. The
colors are fetched dynamically in the paintBorder method.
(SplitPaneDividerBorder.paintBorder): Fetch colors dynamically from
the look and feel.
(SplitPaneDividerBorder.isBorderOpaque): Returns true
unconditionally.
* javax/swing/plaf/basic/BasicLookAndFeel.java
(initComponentDefaults): Added default for SplitPaneDivider.border.
* javax/swing/plaf/basic/BasicSplitPaneDivider.java
(tmpBorder): Removed unneeded inner class.
(BasicSplitPaneDivider): Removed setting of border.
(setSplitPaneUI): Don't add the mouse handler to the splitpane
itself.
* javax/swing/plaf/basic/BasicSplitPaneUI.java
(BasicHorizontalLayoutManager.layoutContainer): Mostly rewritten
to get behaviour right.
(BasicHorizontalLayoutManager.distributeExtraSpace): Removed
implementation. This must be rewritten since the layout now works
slightly different (basically, it shouldn't modify the sizes[]
here but instead the dividerLocation.
(dividerLocation): New field.
(installDefaults): Initialize border on divider.
(uninstallDefaults): Only remove background color and border from
splitPane if they are instances of UIDefaults (== not set by
application).
(setDividerLocation): Set the dividerLocation field instead of
doing stunt acts here.
(getDividerLocation): Return dividerLocation field.
(getMinimumDividerLocation): Fixed calculation of minimum location.
2006-01-21 Guilhem Lavaux <guilhem@kaffe.org>
* m4/acinclude.m4
(CLASSPATH_WITH_GLIBJ): Add support for fastjar.
* lib/Makefile.am: Likewise.
2006-01-21 Roman Kennke <kennke@aicas.com>
* javax/swing/PopupFactory.java
(getPopup): If there is no Swing root found in any way, use a
heavyweight popup. This is useful for mixed Swing/AWT GUIs, or
for the Swing AWT peers.
2006-01-20 Tom Tromey <tromey@redhat.com>
* gnu/java/net/protocol/http/HTTPURLConnection.java (connect):
Read response body for redirect.
2006-01-20 Chris Burdess <dog@gnu.org>
* gnu/java/net/protocol/http/HTTPURLConnection.java: Don't follow
redirects on 304.
2006-01-20 Lillian Angel <langel@redhat.com>
* javax/swing/text/DefaultStyledDocument.java
(pad): Removed, not needed.
(printElements): Likewise.
(printEdit): Likewise.
2006-01-20 Roman Kennke <kennke@aicas.com>
* javax/swing/text/DefaultFormatter.java
(DefaultFormatter): Don't set a value class.
2006-01-19 Audrius Meskauskas <AudriusA@Bioinformatics.org>
* javax/swing/DefaultCellEditor.java: Commented.
2006-01-19 Roman Kennke <kennke@aicas.com>
* javax/swing/JOptionPane.java
Added cast to Frame for JDialog constructor.
2006-01-19 Roman Kennke <kennke@aicas.com>
* javax/swing/JWindow.java
(JWindow(Window)): Fixed to accept null owner argument.
(JWindow(Window,GraphicsConfiguration)): Fixed to accept null
owner argument.
* javax/swing/SwingUtilities.java
(getOwnerFrame): Owner parameter and return value are fixed to
be of type Window for compatibity with the above JWindow
constructor.
* javax/swing/JDialog.java
(JDialog): Added cast to Frame to make sure the correct constructor
is called.
* javax/swing/JFileChooser.java
(createDialog): Added cast to Frame for JDialog constructor.
2006-01-19 Audrius Meskauskas <AudriusA@Bioinformatics.org>
* javax/swing/JTable.java (rowAtPoint): Rewritten.
2006-01-19 Roman Kennke <kennke@aicas.com>
* javax/swing/JWindow.java: Added API docs to the constructors.
2006-01-19 Audrius Meskauskas <AudriusA@Bioinformatics.org>
* javax/swing/JTable.java: Commenting method headers.
(EditorUpdateTimer): Removed.
2006-01-19 Roman Kennke <kennke@aicas.com>
* javax/swing/JDialog.java
(JDialog()): Call SwingUtilities.getOwnerFrame() with null.
(JDialog(Frame,String,boolean,GraphicsConfiguration)): Call
SwingUtilities.getOwnerFrame() with the owner argument.
* javax/swing/JFileChooser.java
(showOpenDialog(Component)): Call pack() on the dialog instead of
setting a fixed height.
(showSaveDialog()): Likewise.
(showDialog()): Likewise.
(createDialog): Call SwingUtilities.getOwnerFrame() with null.
* javax/swing/JOptionPane.java: Call SwingUtilities.getOwnerFrame()
with null.
* javax/swing/JWindow.java
(JWindow()): Call SwingUtilities.getOwnerFrame() with null.
(JWindow(Frame)): Call SwingUtilities.getOwnerFrame() with owner
argument.
* javax/swing/SwingUtilities.java
(getOwnerFrame): Changed to take a owner parameter that is returned
as owner frame when not null.
2006-01-19 Roman Kennke <kennke@aicas.com>
* gnu/java/awt/peer/swing/SwingFramePeer.java
(handleMouseEvent): Fixed handling of mouse events.
(handleMouseMotionEvent): Fixed handling of mouse events.
2006-01-19 Roman Kennke <kennke@aicas.com>
* native/target/generic/target_generic_misc.c:
(targetGenericMisc_formatString): Added missing method.
2006-01-19 Wolfgang Baer <WBaer@gmx.de>
* m4/acinclude.m4: Test also for ecj found before exiting configure
with no javac found error message.
2006-01-19 Ito Kazumitsu <kaz@maczuka.gcd.org>
Fixes bug #23212
* gnu/regexp/RE.java(initialize): Support escaped characters such as
\0123, \x1B, \u1234.
(getEscapedChar): New method.
(CharExpression): New inner class.
(getCharExpression): New Method.
* gnu/regexp/RESyntax.java(RE_OCTAL_CHAR, RE_HEX_CHAR,
RE_UNICODE_CHAR): New syntax bits.
2006-01-19 Roman Kennke <kennke@aicas.com>
* native/target/Makefile.am: Fixed so that posix stuff is really
only built when requested.
2006-01-19 Audrius Meskauskas <AudriusA@Bioinformatics.org>
* javax/swing/JTable.java (editingStopped, editingCancelled):
Repaint the edited cell.
(setValueAt): Do not add the value object to this container.
(editorTimer, rowBeingEdited, columnBeingEdited, oldCellValue): Removed.
(editingStopped): Use editingRow, editingColumn and not
rowBeingEdited, columnBeingEdited. (editValueAt): rewritten.
(doLayout): Move the editor component, if present, into the new
location and call repaint(). (moveToCellBeingEdited): new method.
(TableTextField): new inner class.
(getDefaultEditor): Instantiante TableTextField, not JTextField.
(setValueAt): Repaint the changed segment.
(createDefaultEditors): Implemented.
(BooleanCellRenderer): Center the checkbox and use the default foreground
and background colors.
* javax/swing/plaf/basic/BasicTableUI.java
(paintCell): Do not paint the caret here. Do not accept unused parameters.
(paint): No need to allocate rectangle for each cell.
* javax/swing/DefaultCellEditor.java: Rewritten.
* examples/gnu/classpath/examples/swing/Demo.java (mkTable):
Use TableDemo.java table example.
* examples/gnu/classpath/examples/swing/TableDemo.java: New file.
2006-01-19 Roman Kennke <kennke@aicas.com>
* configure.ac: Added/fixed --enable-posix-layer option to enable
build of posix layer.
* native/target/Makefile.am: Added build for posix layer.
2006-01-19 Christian Thalinger <twisti@complang.tuwien.ac.at>
* configure.ac: Set TARGET to Linux per default.
* native/target/Makefile.am (libtarget_la_LIBADD): Removed
libtargetos.la.
* native/target/Linux/Makefile.am: Don't build a libtargetos.la.
* native/target/generic/Makefile.am (INCLUDES): Renamed to
AM_CPPFLAGS.
2006-01-19 Raif S. Naffah <raif@swiftdsl.com.au>
* java/security/interfaces/RSAMultiPrimePrivateCrtKey.java: Replaced
what looked like proprietary documentation with original or new one.
* java/security/spec/PSSParameterSpec.java: Likewise.
* java/security/spec/RSAMultiPrimePrivateCrtKeySpec.java: Likewise.
* java/security/spec/RSAOtherPrimeInfo.java: Likewise.
* java/security/AlgorithmParameterGenerator.java: Likewise.
* java/security/AlgorithmParameters.java: Likewise.
* java/security/Identity.java: Likewise.
* java/security/IdentityScope.java: Likewise.
* java/security/KeyFactory.java: Likewise.
* java/security/KeyPairGenerator.java: Likewise.
* java/security/MessageDigest.java: Likewise.
* java/security/Policy.java: Likewise.
* java/security/ProtectionDomain.java: Likewise.
* java/security/Security.java: Likewise.
* java/security/Signature.java: Likewise.
* java/security/SignatureSpi.java: Likewise.
* java/security/SignedObject.java: Likewise.
* java/security/Signer.java: Likewise.
2006-01-18 Roman Kennke <kennke@aicas.com>
* configure.ac: Added --enable-posix-layer option to enable
build of the posix target layer.
2006-01-18 Roman Kennke <kennke@aicas.com>
* native/jni/java-net/java_net_VMInetAddress.c
(Java_java_net_VMInetAddress_lookupInaddrAny): Use target native macro
for INADDR_ANY.
2006-01-18 Roman Kennke <kennke@aicas.com>
* native/jni/java-util/java_util_VMTimeZone.c:
(Java_java_util_VMTimeZone_getSystemTimeZoneId): Rewritten
to use target native layer.
(jint_to_charbuf): Removed unneeded helper function.
2006-01-18 Roman Kennke <kennke@aicas.com>
* native/jni/java-nio/gnu_java_nio_VMPipe.c:
Removed unnecessary include.
* native/jni/java-nio/gnu_java_nio_VMSelector.c:
Reorganized includes to only include sys/* headers when available.
* native/jni/java-nio/java_nio_MappedByteBufferImpl.c:
(get_pagesize): Return 0 when nothing else works.
(Java_java_nio_MappedByteBufferImpl_unmapImpl):
Replaced munmap() and strerror() with corresponding target macros.
(Java_java_nio_MappedByteBufferImpl_isLoadedImpl):
Replaced strerror() with corresponding target macro.
(Java_java_nio_MappedByteBufferImpl_forceImpl):
Replaced strerror() with corresponding target macro.
* native/jni/java-nio/java_nio_VMDirectByteBuffer.c:
(Java_java_nio_VMDirectByteBuffer_allocate):
Replaced malloc() with the corresponding target macro.
(Java_java_nio_VMDirectByteBuffer_free):
Replaced free() with the corresponding target macro.
(Java_java_nio_VMDirectByteBuffer_put__Lgnu_classpath_Pointer_2IB):
Add index to pointer when assigning the value.
(Java_java_nio_VMDirectByteBuffer_get__Lgnu_classpath_Pointer_2I_3BII):
Replaced memcpy with corresponding target macro. Add index when
doing the memcpy, not when fetching the pointer.
(Java_java_nio_VMDirectByteBuffer_put__Lgnu_classpath_Pointer_2I_3BII):
Replaced memcpy with corresponding target macro.
(Java_java_nio_VMDirectByteBuffer_shiftDown):
Replaced memmove with the corresponding target macro.
2006-01-17 Tom Tromey <tromey@redhat.com>
PR classpath/20198:
* java/net/URLClassLoader.java (FileURLLoader): Added argument.
(JarURLLoader): Likewise.
(addURLImpl): Canonicalize file URLs.
2006-01-17 Christian Thalinger <twisti@complang.tuwien.ac.at>
* configure.ac: Set TARGET.
* native/Makefile.am, native/jni/classpath/Makefile.am,
native/jni/gtk-peer/Makefile.am, native/jni/java-io/Makefile.am,
native/jni/java-lang/Makefile.am, native/jni/java-net/Makefile.am,
native/jni/java-nio/Makefile.am, native/jni/midi-dssi/Makefile.am,
native/jni/xmlj/Makefile.am, native/target/Makefile.am,
native/target/Linux/Makefile.am,
native/target/generic/Makefile.am,
native/target/posix/Makefile.am: Build libclasspath.so with jcl
and target stuff linked in and link it against lib*.so libraries.
2006-01-17 Roman Kennke <kennke@aicas.com>
* native/jni/java-net/javanet.c:
(_javanet_connect): Changed type of some local variables to jint.
Fixed error handling to throw a SocketTimeoutException if the
connection attempt times out.
(_javanet_bind): Changed type of some local variables to jint.
(_javanet_accept): Likewise.
(_javanet_recvfrom): Likewise.
(_javanet_sendto): Fixed error handling to throw a
PortUnreachableException when connection is refused.
(_javanet_get_option): Changed type of some local variables to jint.
Implemented SOCKOPT_SO_BROADCAST.
(_javanet_shutdownInput): Replaced shutdown call with corresponding
target native macro.
(_javanet_shutdownOutput): Replaced shutdown call with corresponding
target native macro.
* native/jni/java-net/javanet.h:
Defined SOCKET_TIMEOUT_EXCEPTION, PORT_UNREACHABLE_EXCEPTION and
SOCKOPT_SO_BROADCAST.
2006-01-17 Lillian Angel <langel@redhat.com>
* javax/swing/text/DefaultStyledDocument.java
(insert): Cleaned up loop. No need to make so many calls
to getAddedElements and getRemovedElements.
(insertFracture): Removed unneeded array.
2006-01-17 Lillian Angel <langel@redhat.com>
* javax/swing/text/JTextComponent.java
(AccessibleJTextComponent): Implemented.
(getCaretPosition): Implemented.
(getSelectedText): Implemented.
(getSelectionStart): Implemented.
(getSelectionEnd): Implemented.
(getSelectionEnd): Implemented.
(getCharCount): Implemented.
(insertTextAtIndex): Implemented.
(getTextRange): Implemented.
(delete): Implemented.
(cut): Implemented.
(paste): Implemented.
(replaceText): Implemented.
(selectText): Implemented.
2006-01-17 Anthony Balkissoon <abalkiss@redhat.com>
* javax/swing/text/DefaultStyledDocument.java:
(pad): New debugging method.
(printElements): Likewise.
(printPendingEdits): Likewise.
(printElement): Likewise.
(Edit): Improved docs, moved this class to be an inner class of
ElementBuffer since it only applies within that scope. Changed added
and removed to be Vectors instead of arrays because we need to be able
to add to them after construction.
(ElementBuffer): Updated docs with link to article that helped in this
classes implementation.
(ElementBuffer.Edit.getRemovedElements): New method.
(ElementBuffer.Edit.getAddedElements): Likewise.
(ElementBuffer.Edit.addRemovedElement): Likewise.
(ElementBuffer.Edit.addRemovedElements): Likewise.
(ElementBuffer.Edit.addAddedElement): Likewise.
(ElementBuffer.Edit.addAddedElements): Likewise.
(ElementBuffer.Edit<init>): Improved docs, call addRemovedElements and
addAddedElements.
(ElementBuffer.getEditForParagraphAndIndex): New method.
(ElementBuffer.removeUpdate): Changed type of paragraph to
BranchElement. Corrected style of adding the edit to use the new Edit
facilities.
(ElementBuffer.changeUpdate): Changed style of adding the edit to use
the new Edit facilities.
(ElementBuffer.split): Likewise.
(ElementBuffer.insertParagraph): Likewise.
(ElementBuffer.insertContentTag): Likewise.
(ElementBuffer.insert): Push all BranchElements until the deepest one,
not just the root and the first one. Apply the structural changes to
the tree at the same time as updating the DocumentEvent.
(ElementBuffer.insertUpdate): Fixed docs. Removed the special case
handling of EndTags as the first ElementSpec. Instead have to handle
ContentTags as a special case if they are the first ElementSpec and if
not have to fracture the tree.
(ElementBuffer.createFracture): New method. May not be complete yet.
Added FIXME indicating what may remain to be done.
(ElementBuffer.insertFirstContentTag): New method.
(ElementBuffer.insertFracture): Added FIXME explaining what remains to
be done. Changed the adding of edits to use the new Edit facilities.
Removed the adding of edits for Elements that weren't in the tree prior
to the insertion.
(insertUpdate): Removed incorrect condition for setting a StartTag's
direction to JoinNextDirection.
* javax/swing/text/StyleContent.java:
(SmallAttributeSet.toString): Fixed an off-by-one error in the loop
that was causing an ArrayOutOfBoundsException.
2006-01-17 Roman Kennke <kennke@aicas.com>
* native/jni/java-nio/gnu_java_nio_channels_FileChannelImpl.c:
(Java_gnu_java_nio_channels_FileChannelImpl_init): Improved
exception messages a little.
(Java_gnu_java_nio_channels_FileChannelImpl_open): Provided
alternative implementation for systems without filesystems.
Replaced snprintf with the corresponding target native macro.
(Java_gnu_java_nio_channels_FileChannelImpl_implCloseChannel):
Only do something when we have a filesystem.
(Java_gnu_java_nio_channels_FileChannelImpl_available): Provided
alternative implementation for systems without filesystems.
(Java_gnu_java_nio_channels_FileChannelImpl_size): Provided
alternative implementation for systems without filesystems.
(Java_gnu_java_nio_channels_FileChannelImpl_implPosition): Provided
alternative implementation for systems without filesystems.
(Java_gnu_java_nio_channels_FileChannelImpl_seek):
Only do something when we have a filesystem.
(Java_gnu_java_nio_channels_FileChannelImpl_implTruncate):
Only do something when we have a filesystem.
(Java_gnu_java_nio_channels_FileChannelImpl_mapImpl): Provided
alternative implementation for systems without filesystems.
(Java_gnu_java_nio_channels_FileChannelImpl_read__):
Replaced ssize_t variables with jint. Provided
alternative implementation for systems without filesystems.
(Java_gnu_java_nio_channels_FileChannelImpl_read___3BII):
Replaced ssize_t variables with jint. Provided
alternative implementation for systems without filesystems.
(Java_gnu_java_nio_channels_FileChannelImpl_write__I):
Replaced ssize_t variables with jint. Provided
alternative implementation for systems without filesystems.
(Java_gnu_java_nio_channels_FileChannelImpl_force):
Only do something when we have a filesystem.
(Java_gnu_java_nio_channels_FileChannelImpl_write___3BII):
Replaced ssize_t variables with jint. Provided
alternative implementation for systems without filesystems.
(Java_gnu_java_nio_channels_FileChannelImpl_lock): Reimplemented
to use the corresponding target native macro.
(Java_gnu_java_nio_channels_FileChannelImpl_unlock): Reimplemented
to use the corresponding target native macro.
2006-01-17 Lillian Angel <langel@redhat.com>
* javax/swing/text/DefaultTextUI.java:
Added deprecated tag.
* javax/swing/text/JTextComponent.java
(AccessibleJTextComponent): Fixed API doc and
partiall9 implemented.
(getCaretPosition): Fixed API doc and implemented.
(getSelectedText): Fixed API doc.
(getSelectionStart): Likewise.
(getSelectionEnd): Likewise.
(caretUpdate): Fixed API doc and
partially implemented.
(getAccessibleStateSet): Likewise.
(getAccessibleRole): Fixed API doc and implemented.
(getAccessibleEditableText): Implemented.
(getAccessibleText): Fixed API doc and implemented.
(insertUpdate): Fixed API doc.
(changedUpdate): Likewise.
(getIndexAtPoint): Likewise.
(getRootEditorRect): Removed.
(getCharacterBounds): Fixed API doc.
(getCharCount): Likewise.
(getCharacterAttribute): Likewise.
(getAtIndex): Likewise.
(getAfterIndex): Likewise.
(getBeforeIndex): Likewise.
(getAccessibleActionCount): Added function stub.
(getAccessibleActionDescription): Added function,
partially implemented.
(doAccessibleAction): Added function stub.
(setTextContents): Likewise.
(insertTextAtIndex): Likewise.
(delete): Likewise.
(cut): Likewise.
(paste): Likewise.
(replaceText): Likewise.
(selectText): Likewise.
(setAttributes): Likewise.
(getAccessibleContext): Implemented.
2006-01-17 Ito Kazumitsu <kaz@maczuka.gcd.org>
Fixes bug #25817
* gnu/regexp/RETokenRange.java(constructor):
Keep lo and hi as they are.
(match): Changed the case insensitive comparison.
2006-01-17 Ito Kazumitsu <kaz@maczuka.gcd.org>
* gnu/regexp/RETokenChar.java(chain):
Do not concatenate tokens whose insens flags are diffent.
2006-01-17 Roman Kennke <kennke@aicas.com>
* native/target/generic/target_generic_network.c:
(targetGenericNetwork_receive): Fixed signature to match the
corresponding .h file.
(targetGenericNetwork_receiveWithAddressPort): Fixed signature
to match the corresponding .h file.
2006-01-17 Roman Kennke <kennke@aicas.com>
* native/jni/classpath/jcl.c:
(JCL_malloc): Replaced calls to malloc with the corresponding
target layer macro.
(JCL_free): Replaced calls to free with the corresponding
target layer macro.
* native/jni/classpath/native_state.c:
(cp_gtk_init_state_table_with_size): Replaced calls to malloc and
calloc with the corresponding target layer macro.
(remove_node): Replaced calls to free with the corresponding
target layer macro.
(add_node): Replaced calls to malloc with the corresponding
target layer macro.
2006-01-17 Roman Kennke <kennke@aicas.com>
* native/jni/java-io/java_io_VMObjectStreamClass.c:
(getFieldReference): Use MALLOC/FREE macros for portability instead
of direct call to malloc() and free().
2006-01-17 Roman Kennke <kennke@aicas.com>
* native/jni/classpath/jcl.c: Added missing imports.
(JCL_realloc): Fixed signature to include oldsize. This is needed
for some targets. Make this function use the MEMORY_REALLOC macro
for portability.
* native/jni/classpath/jcl.h
(JCL_realloc): Adjusted signature.
* native/jni/java-io/java_io_VMFile.c:
(Java_java_io_VMFile_create): Use target layer macro for handling
errno, for portability.
(Java_java_io_VMFile_length): Release filename string in error cases
before returning.
(Java_java_io_VMFile_list): Initialize filename variable. Use new
version of JCL_realloc.
* native/jni/java-net/java_net_VMInetAddress.c:
(Java_java_net_VMInetAddress_getHostByName): Use renamed macro
TARGET_NATIVE_NETWORK_GET_HOSTADDRESS_BY_NAME.
* native/jni/java-net/javanet.c:
(_javanet_bind): Make errorstr variable const to avoid compiler
warning.
(_javanet_set_option): Fixed typo.
(_javanet_get_option): Fixed typo.
* native/jni/java-nio/gnu_java_nio_channels_FileChannelImpl.c:
(Java_gnu_java_nio_channels_FileChannelImpl_open): Made
error_string variable const to avoid compiler warning.
* native/target/generic/target_generic_file.h:
Replaced // comments with /* */ comments to avoid compiler warnings.
Added some spaces to make code better readable.
* native/target/generic/target_generic_memory.h:
Replaced // comments with /* */ comments to avoid compiler warnings.
* native/target/generic/target_generic_misc.c:
Removed unused TARGET_NATIVE_MISC_FORMAT_STRING macro. This caused
compiler warnings due to use of varargs.
* native/target/generic/target_generic_misc.h:
Removed unused TARGET_NATIVE_MISC_FORMAT_STRING macro. This caused
compiler warnings due to use of varargs.
* native/target/generic/target_generic_network.h:
Replaced // comments with /* */ comments to avoid compiler warnings.
(targetGenericNetwork_receive): Fixed signature to use signed chars
for buffer parameter to avoid warning when passing a jbyte to the
function.
2006-01-17 David Gilbert <david.gilbert@object-refinery.com>
* javax/swing/text/StyleConstants.java
(getAlignment): Removed isDefined() check, so that resolving parent is
used for lookup,
(getBackground): Likewise, plus changed default value to Color.BLACK,
(getBidiLevel): Removed isDefined() check,
(getComponent): Likewise,
(getFirstLineIndent): Likewise,
(getFontFamily): Likewise,
(getFontSize): Likewise,
(getForeground): Likewise,
(getIcon): Likewise,
(getLeftIndent): Likewise,
(getLineSpacing): Likewise,
(getRightIndent): Likewise,
(getSpaceAbove): Likewise,
(getSpaceBelow): Likewise,
(getTabSet): Likewise,
(isBold): Likewise,
(isItalic): Likewise,
(isStrikeThrough): Likewise,
(isSubscript): Likewise,
(isSuperscript): Likewise,
(isUnderline): Likewise.
2006-01-17 Gary Benson <gbenson@redhat.com>
* java/lang/System.java (setSecurityManager): Catch
ClassNotFoundException not Throwable.
2006-01-16 Anthony Green <green@redhat.com>
PR classpath/25803
* gnu/java/net/protocol/http/Request.java
(createResponseBodyStream): Remove Content-Encoding for
compressed streams.
2006-01-16 Chris Burdess <dog@gnu.org>
* gnu/xml/stream/XMLParser.java,
gnu/xml/stream/XMLStreamWriterImpl.java: Thoroughly check
XMLStreamWriter arguments for conformance to the XML specifications.
* gnu/xml/transform/Stylesheet.java,
gnu/xml/transform/Template.java,
gnu/xml/transform/TransformerImpl.java,
gnu/xml/xpath/LangFunction.java,
gnu/xml/xpath/Selector.java: better handling of template priorities;
fix indents when pretty-printing; recursive tests for xml:lang.
* gnu/xml/util/XHTMLWriter.java,
gnu/xml/util/XMLWriter.java: Deprecate old serializer classes.
2006-01-16 Roman Kennke <kennke@aicas.com>
* native/target/MinGW/.cvsignore: New file.
* native/target/RTEMS/.cvsignore: New file.
* native/target/SunOS/.cvsignore: New file.
* native/target/embOS/.cvsignore: New file.
* native/target/posix/.cvsignore: New file.
2006-01-16 David Gilbert <david.gilbert@object-refinery.com>
* javax/swing/text/StyleConstants.java: Updated API docs all over.
2006-01-16 Roman Kennke <kennke@aicas.com>
* configure.ac: Include new target native directories in build.
2006-01-16 Roman Kennke <kennke@aicas.com>
* native/target/generic/target_generic_file.h: Added missing
include.
* native/target/generic/target_generic_network.c: Fixed several
typos and includes.
* native/target/generic/target_generic_network.h: Likewise.
2006-01-16 Roman Kennke <kennke@aicas.com>
* native/target/Makefile.am: Adjusted SUBDIRS and DIST_SUBDIRS
to include the new targets.
* native/target/posix/Makefile.am: Fixed filenames.
2006-01-16 Roman Kennke <kennke@aicas.com>
* native/target/Makefile.am: Include new targets.
* native/target/Linux/Makefile.am: Include new memory layer.
* native/target/MinGW/Makefile.am: New file. Includes MinGW in dist.
* native/target/RTEMS/Makefile.am: New file. Includes RTEMS in dist.
* native/target/SunOS/Makefile.am: New file. Includes SunOS in dist.
* native/target/embOS/Makefile.am: New file. Includes embOS in dist.
* native/target/generic/Makefile.am: Include new memory and math
layer.
* native/target/posix/Makefile.am: New file. Includes posix in dist.
2006-01-16 Ito Kazumitsu <kaz@maczuka.gcd.org>
Fixes bug #22884
* gnu/regexp/RE.java(initialize): Parse embedded flags.
* gnu/regexp/RESyntax.java(RE_EMBEDDED_FLAGS): New syntax bit.
2006-01-16 Roman Kennke <kennke@aicas.com>
* native/target/generic/target_generic_network.c: Fixed typo.
* native/target/generic/target_generic_network.h: Fixed typo.
2006-01-16 Nicolas Geoffray <nicolas.geoffray@menlina.com>
* doc/vmintegration.texinfo: Updated subsection of the
java.lang.InstrumentationImpl documentation.
2006-01-16 Roman Kennke <kennke@aicas.com>
* native/target/RTEMS/target_native.h,
* native/target/RTEMS/target_native_file.h,
* native/target/RTEMS/target_native_io.h,
* native/target/RTEMS/target_native_math.h,
* native/target/RTEMS/target_native_memory.h,
* native/target/RTEMS/target_native_misc.h,
* native/target/RTEMS/target_native_network.h:
New files. Implement the target native layer for the RTEMS platform.
2006-01-16 Roman Kennke <kennke@aicas.com>
* native/target/SunOS/target_native.h,
* native/target/SunOS/target_native_file.h,
* native/target/SunOS/target_native_io.h,
* native/target/SunOS/target_native_math.h,
* native/target/SunOS/target_native_memory.h,
* native/target/SunOS/target_native_misc.h,
* native/target/SunOS/target_native_network.h:
New files. Implement the target native layer for the SunOS platform.
2006-01-16 Roman Kennke <kennke@aicas.com>
* native/target/MinGW/target_native.h,
* native/target/MinGW/target_native_file.h,
* native/target/MinGW/target_native_io.h,
* native/target/MinGW/target_native_math.h,
* native/target/MinGW/target_native_memory.h,
* native/target/MinGW/target_native_misc.h,
* native/target/MinGW/target_native_network.h:
New files. Implement the target native layer for the MinGW
platform.
2006-01-16 Audrius Meskauskas <AudriusA@Bioinformatics.org>
PR 25770
* javax/swing/DefaultCellEditor.java
(delegate): Assign new instance immediately.
(DefaultCellEditor(JTextField textfield)): Require 2 clicks.
(getTableCellEditorComponent): Rewritten.
(prepareAsJTextField):New method (add listener only once).
* javax/swing/JTable.java
(editingCanceled): Rewritten.
(editingStopped ): Rewritten.
(rowAtPoint): Mind row margin.
(getCellRect): Mind row margin.
(getDefaultEditor): Removing JTextComponent border.
(editCellAt): Rewritten.
* javax/swing/plaf/basic/BasicTableUI.java (MouseInputHandler):
Activate editing mode by the mouse clicks.
(getMaximumSize): Mind row margin.
(getPreferredSize): Mind row margin.
(TableAction): Added 'stop editing' command.
2006-01-16 Roman Kennke <kennke@aicas.com>
* jni/java-io/java_io_VMFile.c
(Java_java_io_VMFile_list): Use new 4 argument version of
TARGET_NATIVE_FILE_READ_DIR macro.
* target/Linux/target_native_io.h: Fixed comment at #endif.
* target/Linux/target_native_memory.h: New file. Contains
portability macros for memory operations.
* target/generic/target_generic.c: New file. Contains some functions
for portability.
* target/generic/target_generic.h: Use posix target and shorter macro
names if CP_NEW is set.
* target/generic/target_generic_file.h: Use posix target and shorter
macro names if CP_NEW is set.
(TARGET_NATIVE_FILE_READ_DIR): New parameter for maxNameLength.
* target/generic/target_generic_io.c: New file. Contains some
functions for IO portability.
* target/generic/target_generic_io.h: Use posix target and shorter
macro names if CP_NEW is set.
* target/generic/target_generic_misc.c: New file. Contains some
functions for miscallaneaous portability issues.
* target/generic/target_generic_misc.h: Use posix target and shorter
macro names if CP_NEW is set.
* target/generic/target_generic_network.c: New file. Contains some
functions for networking portability.
* target/generic/target_generic_network.h: Use posix target and
shorter macro names if CP_NEW is set.
* target/posix/Makefile.am,
* target/posix/target_posix.c,
* target/posix/target_posix.h,
* target/posix/target_posix_file.c,
* target/posix/target_posix_file.h,
* target/posix/target_posix_io.c,
* target/posix/target_posix_io.h,
* target/posix/target_posix_math.c,
* target/posix/target_posix_math.h,
* target/posix/target_posix_memory.c,
* target/posix/target_posix_memory.h,
* target/posix/target_posix_misc.c,
* target/posix/target_posix_misc.h,
* target/posix/target_posix_network.c,
* target/posix/target_posix_network.h:
New files. This implements the target native layer macros for
Posix-like systems.
2006-01-16 Gary Benson <gbenson@redhat.com>
* java/net/SocketPermission.java (implies): Fix action checks.
2006-01-16 Roman Kennke <kennke@aicas.com>
* native/target/generic/target_generic_math_float.h: Removed. This
file has been replaced by target_generic_math.h.
* native/target/generic/target_generic_math_int.h: Removed. This
file has been replaced by target_generic_math.h.
* native/target/generic/target_generic_math.h: New file. Replaces
the old _int and _float versions.
* native/target/Linux/target_native_math_float.h: Removed. This
file has been replaced by target_native_math.h.
* native/target/Linux/target_native_math_int.h: Removed. This
file has been replaced by target_native_math.h.
* native/target/Linux/target_native_math.h: New file. Replaces
the old _int and _float versions.
* native/target/Linux/Makefile.am: Adjusted for the changed
filenames.
* native/jni/java-io/java_io_VMFile.c: Include target_native_math.h
instead of target_native_math_int.h.
* native/jni/java-nio/gnu_java_nio_channels_FileChannelImpl.c:
Likewise.
* native/target/generic/target_generic_file.h: Likewise.
2006-01-16 David Gilbert <david.gilbert@object-refinery.com>
* javax/swing/text/MutableAttributeSet.java: Updated API docs all over.
2006-01-16 David Gilbert <david.gilbert@object-refinery.com>
* javax/swing/text/SimpleAttributeSet.java
(SimpleAttributeSet()): Initialise storage directly,
(SimpleAttributeSet(AttributeSet)): Removed null check and documented
NullPointerException,
(containsAttribute): If key is found locally, don't check resolving
parent if the value doesn't match,
(getAttribute): Removed redundant instanceof and cast.
2006-01-16 Gary Benson <gbenson@redhat.com>
* java/lang/System.java (setSecurityManager): Ensure policy
files are loaded before a security manager is put in place.
2006-01-16 David Gilbert <david.gilbert@object-refinery.com>
* javax/swing/text/SimpleAttributeSet.java: Updated API docs all over.
2006-01-16 Wolfgang Baer <WBaer@gmx.de>
* javax/print/attribute/standard/MediaSize.java:
(static_initializer): Added comment.
(MediaSize): Added javadoc to mention cache registration.
(MediaSize): Likewise.
(MediaSize): Likewise.
(MediaSize): Likewise.
2006-01-16 Raif S. Naffah <raif@swiftdsl.com.au>
PR classpath/25202
* gnu/javax/security/auth/login/ConfigFileTokenizer.java: New class.
* gnu/javax/security/auth/login/ConfigFileParser.java: New class.
* gnu/javax/security/auth/login/GnuConfiguration.java: New class.
* javax/security/auth/login/AppConfigurationEntry.java: Updated
copyright year.
(toString): Added method implementation.
(LoginModuleControlFlag.toString): Removed class name from result.
* javax/security/auth/login/Configuration.java: Updated copyright year.
(getConfig(): replaced calls to NullConfiguration with
GnuConfiguration.
2006-01-15 Tom Tromey <tromey@redhat.com>
* javax/swing/text/html/HTMLDocument.java (parseBuffer): Genericized.
* javax/swing/text/StyleContext.java (removeAttributes): Genericized.
* java/beans/PersistenceDelegate.java (initialize): Genericized.
* java/beans/Encoder.java (getPersistenceDelegate): Genericized.
(setPersistenceDelegate): Likewise.
2006-01-15 Wolfgang Baer <WBaer@gmx.de>
* javax/print/attribute/standard/PrinterStateReasons.java:
(printerStateReasonSet): Genericize the return type.
2006-01-15 Audrius Meskauskas <AudriusA@Bioinformatics.org>
* javax/swing/table/DefaultTableCellRenderer.java
(getTableCellRendererComponent): Render null as the empty cell.
2006-01-14 Anthony Green <green@redhat.com>
* java/net/ServerSocket.java (accept): Remove bogus
security check.
(implAccept): Add FIXME comment.
2006-01-14 Wolfgang Baer <WBaer@gmx.de>
Fixes bug #25387
* javax/print/Doc.java: Added and enhanced documentation.
* javax/print/SimpleDoc.java: New file.
2006-01-14 Wolfgang Baer <WBaer@gmx.de>
* javax/print/attribute/standard/MediaSize.java:
(Other.TABLOID): New MediaSize added in 1.5
2006-01-14 Chris Burdess <dog@gnu.org>
* gnu/xml/stream/SAXParser.java: Ensure that parser is reset
correctly when I/O and runtime exceptions occur during parsing.
2006-01-13 Roman Kennke <kennke@aicas.com>
* gnu/java/awt/peer/swing/SwingButtonPeer.java,
* gnu/java/awt/peer/swing/SwingCanvasPeer.java,
* gnu/java/awt/peer/swing/SwingComponent.java,
* gnu/java/awt/peer/swing/SwingComponentPeer.java,
* gnu/java/awt/peer/swing/SwingContainerPeer.java,
* gnu/java/awt/peer/swing/SwingFramePeer.java,
* gnu/java/awt/peer/swing/SwingLabelPeer.java,
* gnu/java/awt/peer/swing/SwingMenuBarPeer.java,
* gnu/java/awt/peer/swing/SwingMenuItemPeer.java,
* gnu/java/awt/peer/swing/SwingMenuPeer.java,
* gnu/java/awt/peer/swing/SwingPanelPeer.java,
* gnu/java/awt/peer/swing/SwingTextFieldPeer.java,
* gnu/java/awt/peer/swing/SwingToolkit.java,
* gnu/java/awt/peer/swing/SwingWindowPeer.java,
* gnu/java/awt/peer/swing/package.html:
New files. Implemented some basic AWT peers based on Swing.
2006-01-13 Roman Kennke <kennke@aicas.com>
* java/awt/peer/ComponentPeer.java: Added API docs all over.
2006-01-13 Roman Kennke <kennke@aicas.com>
* java/awt/MenuComponent.java: Reformatted to better match our
coding style.
2006-01-13 Roman Kennke <kennke@aicas.com>
* java/awt/Frame.java: Reformatted to better match our
coding style.
2006-01-13 Roman Kennke <kennke@aicas.com>
* java/awt/MenuBar.java
(accessibleContext): Removed unnecessary field. This is already
defined in MenuComponent.
(setHelpMenu): Renamed the peer variable to myPeer because it was
hiding a field of MenuComponent.
(addNotify): Removed unnecessary cast.
2006-01-13 Roman Kennke <kennke@aicas.com>
* java/awt/MenuBar.java: Reformatted to better match our
coding style.
2006-01-13 Roman Kennke <kennke@aicas.com>
* java/awt/MenuBar.java
(frame): New field.
(removeNotify): Clear frame field when beeing removed from the
frame.
* java/awt/Frame.java
(setMenuBar): Store a reference of the frame in the MenuBar.
* java/awt/MenuComponent.java
(postEvent): Implemented to forward the call to the parent until
a parent can handle the event.
(dispatchEvent): Moved handling of old style events from
dispatchEventImpl() to here.
(dispatchEventImpl): Moved handling of old style events to
dispatchEvent().
2006-01-13 Roman Kennke <kennke@aicas.com>
* java/awt/Component.java
(dispatchEvent): Moved handling of old style events from
dispatchEventImpl() to this method.
(translateEvent): Removed unnecessary cast.
(dispatchEventImpl): Moved handling of old style events to
dispatchEvent().
2006-01-13 Lillian Angel <langel@redhat.com>
* javax/swing/text/DefaultStyledDocument.java
(createDefaultRoot): Removed FIXME.
(setLogicalStyle): Added fireUndoableEditUpdate call and
removed FIXME.
2006-01-13 Lillian Angel <langel@redhat.com>
* javax/swing/text/DefaultStyledDocument.java
(Edit): New inner class.
(changeUpdate): Changed addEdit call to add a new
instance of Edit to the edits Vector, so addEdits can
be done later.
(split): Likewise.
(insertParagraph): Likewise.
(insertFracture): Likewise.
(insertContentTag): Likewise.
(insert): Added loop to go through edits Vector and perform
addEdit on each object.
2006-01-13 Chris Burdess <dog@gnu.org>
* gnu/xml/transform/AbstractNumberNode.java,
gnu/xml/transform/ApplyImportsNode.java,
gnu/xml/transform/ApplyTemplatesNode.java,
gnu/xml/transform/AttributeNode.java,
gnu/xml/transform/CallTemplateNode.java,
gnu/xml/transform/ChooseNode.java,
gnu/xml/transform/CommentNode.java,
gnu/xml/transform/CopyNode.java,
gnu/xml/transform/CopyOfNode.java,
gnu/xml/transform/DocumentFunction.java,
gnu/xml/transform/ElementNode.java,
gnu/xml/transform/ForEachNode.java,
gnu/xml/transform/IfNode.java,
gnu/xml/transform/LiteralNode.java,
gnu/xml/transform/MessageNode.java,
gnu/xml/transform/OtherwiseNode.java,
gnu/xml/transform/ParameterNode.java,
gnu/xml/transform/ProcessingInstructionNode.java,
gnu/xml/transform/Stylesheet.java,
gnu/xml/transform/Template.java,
gnu/xml/transform/TemplateNode.java,
gnu/xml/transform/TextNode.java,
gnu/xml/transform/TransformerImpl.java,
gnu/xml/transform/ValueOfNode.java,
gnu/xml/transform/WhenNode.java,
gnu/xml/xpath/NodeTypeTest.java,
gnu/xml/xpath/Selector.java: simplified debugging output; ignore
with-param parameters when template does not define parameters; apply
conflict resolution for templates; strip whitespace on documents
retrieved via document() function; allow node() to match document
nodes.
2006-01-13 Mark Wielaard <mark@klomp.org>
* doc/www.gnu.org/announce/20060113.wml: New file.
* doc/www.gnu.org/newsitems.txt: Add 0.20 release announcement.
* doc/www.gnu.org/downloads/downloads.wml: Add 0.20.
2006-01-13 Lillian Angel <langel@redhat.com>
* javax/swing/text/DefaultStyledDocument.java:
Removed unused fields.
(insert): Removed unused fields.
(endEdit): Removed, not needed.
(insertUpdate): Removed call to endEdit.
(prepareContentInsertion): Removed, not needed.
(insertContentTag): Removed call to prepareContentInsertion.
(printElements): Removed, not needed.
(attributeSetsAreSame): Removed, not needed.
2005-01-13 Mark Wielaard <mark@klomp.org>
* java/lang/reflect/Modifier.java (toString(int, StringBuffer)):
Duplicate of toString(int, StringBuilder).
2005-01-13 Mark Wielaard <mark@klomp.org>
* configure.ac: Set version to 0.20.
* NEWS: Add entries for all the new work done.
2005-01-13 Mark Wielaard <mark@klomp.org>
* javax/swing/text/DefaultCaret.java: Chain all AssertionErrors.
2005-01-13 Mark Wielaard <mark@klomp.org>
* java/util/regex/Pattern.java (Pattern): Chain REException.
2006-01-13 Chris Burdess <dog@gnu.org>
* gnu/xml/xpath/NameTest.java: Removed debugging output.
2005-01-13 Jeroen Frijters <jeroen@frijters.net>
* java/security/Security.java
(getProperty): Added hack to skip security check when trusted
code is direct caller.
2005-01-13 Jeroen Frijters <jeroen@frijters.net>
* java/io/PrintStream.java
(line_separator, PrintStream(OutputStream,boolean)): Use
SystemProperties.
2005-01-13 Jeroen Frijters <jeroen@frijters.net>
* gnu/java/nio/charset/Provider.java: Added comment about its
special relation with CharsetProvider.
(static): Removed.
* gnu/java/nio/charset/iconv/IconvProvider.java: Added comment about
its special relation with CharsetProvider.
(static): Removed.
* java/nio/charset/spi/CharsetProvider.java
(CharsetProvider): Add special case to skip security check for
built in providers.
2005-01-13 Mark Wielaard <mark@klomp.org>
* javax/swing/JMenuItem.java (JMenuItem(Action)): Check whether
name, accel, mnemonic and command are defined before setting.
2005-01-12 Mark Wielaard <mark@klomp.org>
* javax/swing/plaf/metal/MetalFileChooserUI.java
(FileRenderer.getListCellRendererComponent): Set empty name and null
icon when File is null.
2006-01-13 Audrius Meskauskas <AudriusA@Bioinformatics.org>
* gnu/java/rmi/server/UnicastRef.java (newCall):
Throw ConnectException after catching IOException.
2006-01-12 Lillian Angel <langel@redhat.com>
* javax/swing/text/DefaultStyledDocument.java
(insertUpdate): Removed unneeded check.
2006-01-12 Anthony Balkissoon <abalkiss@redhat.com>
* javax/swing/text/DefaultStyledDocument.java:
(ElementBuffer.insertContentTag): If the direction is JoinNextDirection
and we haven't come immediately after a fracture, adjust the Element
offsets. Added comment explaining the situation.
(insert): Return early if no ElementSpecs passed in. Removed redundant
call to insertUpdate. Fired the UndoableEditUpdate.
2006-01-12 Ito Kazumitsu <kaz@maczuka.gcd.org>
Fixes bug #22802
* gnu/regexp/RE.java(initialize): Fixed the parsing of
character classes within a subexpression.
2006-12-12 Lillian Angel <langel@redhat.com>
* javax/swing/text/DefaultStyledDocument.java
(insertUpdate): Added check to check if attribute set is
empty.
(insertUpdate): Added check to determine if last character
is a newline. If it is, we should not be fracturing.
(insert): Added check to determine if attribute set is empty.
If it is, insertUpdate should not be called.
2006-12-12 Guilhem Lavaux <guilhem@kaffe.org>
* configure.ac: Check for isnan.
* native/fdlibm/fdlibm.h: If we have a isnan function then do not
define the macro.
2006-01-12 Chris Burdess <dog@gnu.org>
* gnu/xml/stream/XMLParser.java: Corrected the handling of some XML
1.1 character ranges.
2006-01-12 Anthony Balkissoon <abalkiss@redhat.com>
* javax/swing/TransferHandler.java:
(TransferAction<init>): Call super constructor. Fixes Mauve regression
gnu/testlet/javax/swing/JTextField/CopyPaste.
2006-01-12 Christian Thalinger <twisti@complang.tuwien.ac.at>
* resource/Makefile.am: Install
logging.properties into $(prefix)/lib.
* resource/Makefile.am (securitydir): Changed to
$(prefix)/lib/security.
2006-01-12 Roman Kennke <kennke@aicas.com>
* javax/swing/JTextField.java
(createDefaultModel): Moved installation of the filterNewlines
property to setDocument().
(setDocument): New method. Installs the filterNewlines property
on the document.
2006-01-12 Chris Burdess <dog@gnu.org>
* gnu/xml/dom/DomNode.java,
gnu/xml/transform/ElementAvailableFunction.java: Removed debugging
output.
* gnu/xml/xpath/NameTest.java,
gnu/xml/xpath/NamespaceTest.java,
gnu/xml/xpath/Selector.java: Fix regression for namespace axis
navigation.
* gnu/xml/transform/MessageNode.java: Use standard logging system
for outputting messages.
2006-01-12 Tom Tromey <tromey@redhat.com>
* java/net/InetAddress.java (DEFAULT_CACHE_SIZE): Removed.
(DEFAULT_CACHE_PERIOD, DEFAULT_CACHE_PURGE_PCT): Likewise.
(cache_size, cache_period, cache_purge_pct, cache): Likewise.
(static initializer): Removed cache code.
(checkCacheFor, addToCache): Removed.
(getAllByName): Removed cache code.
(lookup_time): Removed.
(InetAddress): Updated.
2006-01-12 Chris Burdess <dog@gnu.org>
* gnu/xml/dom/DomDocument.java,
gnu/xml/dom/DomElement.java,
gnu/xml/dom/DomNode.java,
gnu/xml/stream/XMLParser.java,
gnu/xml/transform/Bindings.java,
gnu/xml/transform/ElementAvailableFunction.java,
gnu/xml/transform/ElementNode.java,
gnu/xml/transform/FunctionAvailableFunction.java,
gnu/xml/transform/NamespaceProxy.java,
gnu/xml/transform/StreamSerializer.java,
gnu/xml/transform/Stylesheet.java,
gnu/xml/transform/TransformerImpl.java,
gnu/xml/xpath/Selector.java: Implement isEqualNode correctly for
document and element nodes; correct coalescing semantics when parsing;
attribute-sets can only refer to top-level variables and parameters;
fix namespace retrieval during element-available and
function-available functions; implement xsl:fallback for extension
elements; tokenize whitespace correctly during whitespace stripping;
correct following and previous node axes selectors.
2006-01-12 Roman Kennke <kennke@aicas.com>
* java/util/Hashtable.java
(KeyEnumerator.nextElement): Added null check to avoid NPE.
(ValueEnumerator.nextElement): Added null check to avoid NPE.
2006-01-12 Lillian Angel <langel@redhat.com>
* javax/swing/text/GapContent.java
(UndoInsertString): Changed name of class to InsertUndo to match the JDK.
2006-01-12 Mark Wielaard <mark@klomp.org>
* vm/reference/gnu/java/net/VMPlainSocketImpl.java (connect):
Throw UnknowHostException when name could not be resolved.
2006-01-12 Jeroen Frijters <jeroen@frijters.net>
* java/net/URL.java
(static, getURLStreamHandler): Use SystemProperties.
2006-01-12 Mark Wielaard <mark@klomp.org>
* vm/reference/gnu/java/net/VMPlainDatagramSocketImpl.java (receive):
Use packet.getLength().
* native/jni/java-net/gnu_java_net_VMPlainDatagramSocketImpl.c
(nativeReceive): Check whether the receiver wants zero bytes.
2006-01-12 Mark Wielaard <mark@klomp.org>
* native/jni/java-net/javanet.c (_javanet_recvfrom): Return -1 when
other side orderly closed connection.
* vm/reference/gnu/java/net/VMPlainSocketImpl.java
(read(PlainSocketImpl)): Mask byte to return unsigned int. Return -1
when end of stream reached.
2006-01-12 Mark Wielaard <mark@klomp.org>
* native/jni/java-net/gnu_java_net_VMPlainDatagramSocketImpl.c:
Remove asserts.
* native/jni/java-net/gnu_java_net_VMPlainSocketImpl.c: Likewise.
* native/jni/java-net/java_net_VMInetAddress.c: Likewise.
* native/jni/java-net/java_net_VMNetworkInterface.c: Likewise.
* native/jni/java-net/javanet.c: Likewise.
2006-01-12 Mark Wielaard <mark@klomp.org>
* native/fdlibm/mprec.c (Balloc): Disable assert to workaround
PR classpath/23863.
2006-01-11 Chris Burdess <dog@gnu.org>
* gnu/xml/transform/AttributeNode.java,
gnu/xml/transform/ElementNode.java,
gnu/xml/transform/LiteralNode.java,
gnu/xml/transform/StreamSerializer.java,
gnu/xml/transform/StrippingInstruction.java,
gnu/xml/transform/Stylesheet.java,
gnu/xml/transform/TransformerImpl.java,
gnu/xml/transform/ValueOfNode.java,
gnu/xml/xpath/Expr.java,
gnu/xml/xpath/LocalNameFunction.java,
gnu/xml/xpath/NameFunction.java,
gnu/xml/xpath/NameTest.java,
gnu/xml/xpath/NamespaceUriFunction.java,
gnu/xml/xpath/NodeTypeTest.java,
gnu/xml/xpath/SubstringFunction.java,
javax/xml/namespace/QName.java: don't determine element namespace
from namespace aliases when specified; better namespace handling
when serializing elements; don't create HTML meta element unless
head element exists; correct encoding of CDATA sections containing
']]>'; encode HTML character entity references; use ISO-Latin-1 as
default encoding for HTML output; rewrite of XSLT
strip-space/preserve-space handling; correct doctype-public and
doctype-system output attributes; insert generated doctype before
document element; fixed result tree whitespace stripping
algorithm; fixed semantics of XPath name, local-name, and
namespace-uri functions; name tests handle XML/XMLNS namespaces
correctly; fixed semantics of processing-instruction node test.
* gnu/xml/transform/TransformerFactoryImpl.java: Add main method to
aid debugging.
2006-01-11 Lillian Angel <langel@redhat.com>
* javax/swing/text/DefaultStyledDocument.java
(insertFracture): Added calls to addEdit for each time a structure
is changed. addEdit is called on the newBranch, previous, and parent
structures.
2006-01-11 Anthony Balkissoon <abalkiss@redhat.com>
* javax/swing/text/DefaultStyledDocument.java:
(ElementBuffer.insertContentTag): Don't adjust the structure here.
This will have been taken care of in insertFracture. Added a comment
explaining that we need to add edits to the DocumentEvent and that
this may be the place to do it.
2006-01-11 Anthony Balkissoon <abalkiss@redhat.com>
* javax/swing/text/DefaultStyledDocument.java:
(ElementBuffer.insertUpdate): Properly recreate Elements if the first
tag is an end tag. Avoid NPE by pushing the proper Element on to the
elementStack when there is a start tag with JoinNextDirection.
2006-01-11 Roman Kennke <kennke@aicas.com>
Reported by: Fridjof Siebert <siebert@aicas.com>
* java/util/Hashtable.java
(KEYS): Removed unneeded field.
(VALUES): Removed unneeded field.
(ENTRIES): Removed unneeded field.
(keys): Return a KeyEnumerator instance.
(elements): Returns a ValueEnumerator instance.
(toString): Use an EntryIterator instance.
(keySet): Return a KeyIterator instance.
(values): Return a ValueIterator instance.
(entrySet): Return an EntryIterator instance.
(hashCode): Use EntryIterator instance.
(rehash): Changed this loop to avoid redundant reads and make
it obvious that null checking is not needed.
(writeObject): Use EntryIterator instance.
(HashIterator): Removed class.
(Enumerator): Removed class.
(EntryIterator): New class.
(KeyIterator): New class.
(ValueIterator): New class.
(EntryEnumerator): New class.
(KeyEnumerator): New class.
(ValueEnumerator): New class.
2006-01-11 Lillian Angel <langel@redhat.com>
* javax/swing/text/DefaultStyledDocument.java
(toString): Shouldn't append the '>' character here.
(createDefaultRoot): Should not set the resolve parent. This
causes problems when comparing attribute sets.
2006-01-10 Anthony Balkissoon <abalkiss@redhat.com>
* javax/swing/text/DefaultStyledDocument.java:
(ElementBuffer.insertUpdate): Rewritten to properly handle start and
end tags.
(ElementBuffer.insertFracture): New method.
(ElementBuffer.insertContentTag): Removed unnecessary case for
JoinFractureDirection - this only applies to start tags, not content
tags.
(insertUpdate): Corrected conditions for setting direction to
JoinNextDirection.
2006-01-10 Roman Kennke <kennke@aicas.com>
* Makefile.am (EXTRA_DIST): Added ChangeLog-2004.
* ChangeLog-2005: New File.
2006-01-10 Roman Kennke <kennke@aicas.com>
* native/jni/java-nio/java_nio_VMDirectByteBuffer.c
(get): Release the array with the correct pointer.
(put): Release the array with the correct pointer. Copy the array
around _before_ releasing it.
2006-01-10 Roman Kennke <kennke@aicas.com>
* javax/swing/ViewportLayout.java
(layoutContainer): Fixed condition, to avoid ClasscastException.
2006-01-10 Roman Kennke <kennke@aicas.com>
* javax/swing/plaf/basic/BasicSplitPaneDivider.java
(MouseHandler.mousePressed): Fixed indendation.
(MouseHandler.mouseDragged): Fixed indendation.
2006-01-10 Roman Kennke <kennke@aicas.com>
* javax/swing/plaf/basic/BasicLookAndFeel.java
(playSound): Added @since 1.4 to the API docs.
2006-01-10 Roman Kennke <kennke@aicas.com>
* javax/swing/plaf/basic/BasicListUI.java
(maybeUpdateLayoutState): Also update the layout state, if the
list has been invalidated since the last update.
2006-01-10 Roman Kennke <kennke@aicas.com>
* javax/swing/plaf/ComponentUI.java
(update): Fixed indendation.
2006-01-10 Roman Kennke <kennke@aicas.com>
* javax/swing/ViewportLayout.java
(layoutContainer): Fixed condition, so that Scrollable components
are always forced to have to Viewport size, when they
return true for getScrollableTracksViewportHeight() and ..Width().
2006-01-10 Roman Kennke <kennke@aicas.com>
* javax/swing/RepaintManager.java
(validateInvalidComponents): Fixed condition to avoid NPE.
2006-01-10 Roman Kennke <kennke@aicas.com>
* javax/swing/JViewport.java:
(static_initializer): Removed unused variable myScrollMode.
2006-01-10 Roman Kennke <kennke@aicas.com>
* javax/swing/JTabbedPane.java:
Cleared API docs a little.
2006-01-10 Roman Kennke <kennke@aicas.com>
* java/util/StringTokenizer.java
(StringTokenizer(String, String, boolean)):
Don't trigger NPE here for conformance with the spec.
2006-01-10 Roman Kennke <kennke@aicas.com>
* java/util/ArrayList.java
(DEFAULT_CAPACITY): Changed default capacity to 10, as specified.
2006-01-10 Roman Kennke <kennke@aicas.com>
* gnu/java/awt/peer/gtk/GdkGraphics2D.java
(GdkGraphics2D(GdkGraphics2D)): Added null check for the bg
field to avoid NPE.
2006-01-10 Roman Kennke <kennke@aicas.com>
* native/jni/java-net/javanet.c
(_javanet_shutdownOutput): Replaced strerror() with
TARGET_NATIVE_LAST_ERROR_STRING() for portability.
(_javanet_shutdownInput): Replaced strerror() with
TARGET_NATIVE_LAST_ERROR_STRING() for portability.
2006-01-10 Robert Schuster <robertschuster@fsfe.org>
* java/beans/EventSetDescriptor.java: Reformatted and
fixed API docs.
2006-01-10 Roman Kennke <kennke@aicas.com>
* java/lang/SecurityManager.java
Fully qualified AWT class references in API docs.
2006-01-10 Robert Schuster <robertschuster@fsfe.org>
* java/beans/EventSetDescriptor.java:
(getGetListenerMethod): New method.
2006-01-10 Mark Wielaard <mark@klomp.org>
* lib/Makefile.am (GCJX): Add -g to get linenumber info.
2006-01-10 Jeroen Frijters <jeroen@frijters.net>
PR classpath/25727
* java/util/Hashtable.java
(contains): Call equals on existing value.
(containsKey, get, put, remove): Call equals on existing key.
(getEntry): Call equals on existing entry.
2006-01-10 Jeroen Frijters <jeroen@frijters.net>
PR classpath/24618
* java/util/AbstractMap.java
(equals(Object,Object)): Test for identity first.
* java/util/WeakHashMap.java
(WeakBucket.WeakEntry.equals): Use helper method to determine equality.
(WeakBucket.WeakEntry.toString): Fixed string representation of
null key.
(internalGet): Use helper method to determine equality.
2006-01-09 Robert Schuster <robertschuster@fsfe.org>
* java/beans/EventSetDescriptor.java: Implemented the two 1.4
constructors.
2006-01-09 Anthony Balkissoon <abalkiss@redhat.com>
* javax/swing/text/PlainDocument.java:
(insertUpdate): Handle special case of an insertion immediately
following a newline character.
2006-01-09 Roman Kennke <kennke@aicas.com>
* native/jni/java-net/gnu_java_net_VMPlainSocketImpl.c
(connect): Added stream parameter to _connect() call.
* native/jni/java-net/gnu_java_net_VMPlainDatagramSocketImpl.c
(connect): Added stream parameter to _connect() call.
* native/jni/java-net/javanet.c
(_javanet_create_localfd): Added stream parameter. Look up
fd field based on the stream parameter either in SocketImpl or
in DatagramSocketImpl.
(_javanet_connect): Added stream parameter. Call create_localfd
using this stream parameter. Set localPort field either in
SocketImpl or in DatagramSocketImpl, depending on the stream
flag.
* native/jni/java-net/javanet.c
(_javanet_connect): Added stream parameter.
2006-01-09 Audrius Meskauskas <AudriusA@Bioinformatics.org>
* javax.management.Attribute.java: Grammar and
formatting fixes.
2006-01-09 Mark Wielaard <mark@klomp.org>
* gnu/java/nio/channels/FileChannelImpl.java (map): Throw correct
exception when channel is not readable or writable.
* native/jni/java-nio/gnu_java_nio_channels_FileChannelImpl.c
(mapImpl): Add PROT_WRITE when mode == 'c' (MAP_PRIVATE). Make sure
there is enough space to mmap().
2006-01-09 Robert Schuster <robertschuster@fsfe.org>
* java/beans/Introspector.java:
(getBeanInfo(Class, int)): New method.
(getBeanInfo(Class, Class): Moved common code in a new method.
(merge): New method.
2006-01-09 Robert Schuster <robertschuster@fsfe.org>
* java/beans/XMLEncoder.java: Fix spelling mistakes.
2006-01-09 Anthony Balkissoon <abalkiss@redhat.com>
* javax/swing/text/DefaultStyledDocument.java:
(insertUpdate): Removed call to checkForInsertAfterNewline and instead
inlined this method because it needs to change the value of the
finalStartTag and finalStartDirection variables.
(checkForInsertAfterNewline): Removed this method.
(handleInsertAfterNewline): Added case for making the start tag's
direction JoinNextDirection.
2006-01-09 Lillian Angel <langel@redhat.com>
* javax/swing/plaf/basic/BasicTreeUI.java:
Added new field.
(setRowHeight): Row height is set to the max height of
all the nodes, or 20 as a default value.
(getPathBounds): Cleaned up code.
(getMaxHeight): New helper function that gets the max
height of all the rows.
(getClosestPathForLocation): Fixed to use getMaxHeight.
(updateCachedPreferredSize): Likewise.
(installUI): Shouldn't expand tree on startup.
(getNodeDimensions): Fixed to use getMaxHeight.
2006-01-09 Mark Wielaard <mark@klomp.org>
* javax/swing/JList.java (setSelectedIndex): Clear selection when
argument is negative.
2006-01-08 Mark Wielaard <mark@klomp.org>
* java/net/InetAddress.java (getInaddrAny): Explicitly set hostName.
2006-01-09 Audrius Meskauskas <AudriusA@Bioinformatics.org>
* javax.management.Attribute.java: New file.
2006-01-09 Roman Kennke <kennke@aicas.com>
* java/net/DatagramSocketImpl.java
(localPort): Renamed to localport for correct access from native
code.
2006-01-09 Roman Kennke <kennke@aicas.com>
* javax/swing/Popup.java
(LightweightPopup.hide): Repaint the layered pane when popup is
removed.
2006-01-09 Roman Kennke <kennke@aicas.com>
* java/awt/Container.java
(remove): Don't repaint the container here.
2006-01-08 Tom Tromey <tromey@redhat.com>
* java/lang/InheritableThreadLocal.java: Organized imports.
2006-01-08 Ito Kazumitsu <kaz@maczuka.gcd.org>
Fixes bug #25679
* gnu/regexp/RETokenRepeated.java(match): Optimized the case
when an empty string matched an empty token.
2006-01-08 Chris Burdess <dog@gnu.org>
* gnu/xml/stream/SAXParser.java: Check standalone status for mixed
content models from external entities.
* gnu/xml/stream/UnicodeReader.java: Report error instead of
attempting to continue with unpaired surrogates.
* gnu/xml/stream/XMLParser.java: Don't normalize LF equivalents when
resolving entities with character entity references; better
checking of valid character ranges; don't report an error for URI
fragments in notation declarations; check unbound namespace
prefixes for elements and attributes, including XML 1.1 unbinding
syntax; namespace-aware checking of attribute duplicates.
2006-01-08 Robert Schuster <robertschuster@fsfe.org>
* java/beans/Statement.java: Doc fixes.
(doExecute): Workaround for Class.forName call.
(toString): Made output look more like on the JDK.
* java/beans/Expression.java: Doc fixes.
(toString): Made output look more like on the JDK.
* java/beans/PersistenceDelegate.java,
java/beans/DefaultPersistenceDelegate.java,
java/beans/Encoder.java,
java/beans/XMLEncoder.java: New file.
* gnu/java/beans/encoder/ArrayPersistenceDelegate.java,
gnu/java/beans/encoder/ClassPersistenceDelegate.java,
gnu/java/beans/encoder/CollectionPersistenceDelegate.java,
gnu/java/beans/encoder/Context.java,
gnu/java/beans/encoder/GenericScannerState.java,
gnu/java/beans/encoder/IgnoringScannerState.java,
gnu/java/beans/encoder/MapPersistenceDelegate.java,
gnu/java/beans/encoder/ObjectId.java,
gnu/java/beans/encoder/PrimitivePersistenceDelegate.java,
gnu/java/beans/encoder/ReportingScannerState.java,
gnu/java/beans/encoder/Root.java,
gnu/java/beans/encoder/ScanEngine.java,
gnu/java/beans/encoder/ScannerState.java,
gnu/java/beans/encoder/StAXWriter.java,
gnu/java/beans/encoder/Writer.java: New file.
* gnu/java/beans/encoder/elements/Array_Get.java,
gnu/java/beans/encoder/elements/Element.java,
gnu/java/beans/encoder/elements/List_Set.java,
gnu/java/beans/encoder/elements/Array_Set.java,
gnu/java/beans/encoder/elements/NullObject.java,
gnu/java/beans/encoder/elements/StaticMethodInvocation.java,
gnu/java/beans/encoder/elements/StaticFieldAccess.java,
gnu/java/beans/encoder/elements/StringReference.java,
gnu/java/beans/encoder/elements/ClassResolution.java,
gnu/java/beans/encoder/elements/ArrayInstantiation.java,
gnu/java/beans/encoder/elements/PrimitiveInstantiation.java,
gnu/java/beans/encoder/elements/ObjectReference.java,
gnu/java/beans/encoder/elements/ObjectInstantiation.java,
gnu/java/beans/encoder/elements/List_Get.java,
gnu/java/beans/encoder/elements/MethodInvocation.java: New file.
2006-01-08 Chris Burdess <dog@gnu.org>
* java/lang/Character.java (toChars,toCodePoint): Correct these
methods to use algorithms from Unicode specification.
2006-01-08 Mark Wielaard <mark@klomp.org>
* native/jni/xmlj/Makefile.am (libxmlj_la_LIBADD): Add jcl.o.
2006-01-07 Paul Jenner <psj@harker.dyndns.org>
Fixes bug #25711
* examples/Makefile.am: Corrected DESTDIR install paths.
2006-01-07 Audrius Meskauskas <AudriusA@Bioinformatics.org>
* org/omg/CORBA/INVALID_ACTIVITY.java: Removed non -
ASCII character (line 46).
2006-01-07 Roman Kennke <kennke@aicas.com>
* javax/swing/text/TableView.java: New file.
2006-01-07 Chris Burdess <dog@gnu.org>
* gnu/xml/stream/BufferedReader.java: Removed commented out code.
* gnu/xml/stream/XIncludeFilter.java: Correct XML Base behaviour.
* gnu/xml/stream/XMLParser.java: Make additional StAX properties
available; correct handling of unparsed entity references;
absolutize all base URIs; remove commented out code.
2006-01-07 Chris Burdess <dog@gnu.org>
* gnu/xml/stream/SAXParser.java,
gnu/xml/stream/XMLParser.java: Add SAX property to return base
URI of the current event.
2006-01-07 Chris Burdess <dog@gnu.org>
* gnu/xml/stream/SAXParser.java: Add SAX feature to set XML Base
aware processing.
2006-01-07 Chris Burdess <dog@gnu.org>
* gnu/xml/stream/SAXParser.java,
gnu/xml/stream/XIncludeFilter.java,
gnu/xml/stream/XMLParser.java: Updated documentation.
2006-01-07 Chris Burdess <dog@gnu.org>
* AUTHORS: add self.
2006-01-06 Casey Marshall <csm@gnu.org>
* AUTHORS: add myself.
2006-01-06 Casey Marshall <csm@gnu.org>
PR classpath/25699
* javax/crypto/CipherInputStream.java (logger): new constant.
(cipher): make final.
(outLength, inBuffer, inLength): removed.
(isStream): make final.
(VIRGIN, LIVING, DYING, DEAD, state): removed.
(eof): new field.
(<init>): call `super,' not `this;' remove `inBuffer' and
`outBuffer' initialization; init `eof;' add debug logging.
(<init>): call `this' with a new null cipher.
(available): fix javadoc to reflect the real semantics; if we
don't have a buffer, call `nextBlock.'
(close): synchronize.
(read): synchronize; fix testing for buffered data.
(read): synchronize; add `skip' semantics if first argument is
`null;' decrypt stream cipher data only if there is any; fix tests
for buffered data.
(skip): stop using `available' to see how many data are buffered.
(nextBlock): simplify to use cipher-allocated output buffers
instead of internally allocated ones.
2006-01-06 Tom Tromey <tromey@redhat.com>
* java/lang/String.java (codePointCount): Fixed javadoc.
2006-01-06 Tom Tromey <tromey@redhat.com>
* java/lang/String.java (contains): Added @since.
2006-01-06 Ito Kazumitsu <kaz@maczuka.gcd.org>
Fixes bug #25616
* gnu/regexp/RE.java(initialize): Allow repeat.empty.token.
* gnu/regexp/RETokenRepeated.java(match): Break the loop
when an empty string matched an empty token.
2006-01-06 Jeroen Frijters <jeroen@frijters.net>
PR classpath/24858
* gnu/java/util/WeakIdentityHashMap.java: New file.
* java/lang/InheritableThreadLocal.java
(newChildThread): Modified to remove key indirection.
* java/lang/Thread.java
(locals): Changed type to WeakIdentityHashMap.
(getThreadLocals): Instantiate WeakIdentityHashMap instead of
WeakHashMap.
* java/lang/ThreadLocal.java
(key, Key): Removed.
(get, set): Changed to use "this" instead of "key".
2006-01-06 Dalibor Topic <robilad@kaffe.org>
* native/fdlibm/Makefile.am (libfdlibm_la_SOURCES): Removed java-assert.h.
* native/fdlibm/java-assert.h: Removed file.
* native/fdlibm/mprec.c: Include assert.h. Don't include java-assert.h.
Replaced use of JvAssert by assert.
2006-01-05 Anthony Balkissoon <abalkiss@redhat.com>
* javax/swing/text/DefaultCaret.java:
(setDot): Fixed paramater to Math.max to be this.dot and not the
parameter dot.
2006-01-05 Roman Kennke <kennke@aicas.com>
* javax/swing/plaf/basic/BasicListUI.java
(getCellHeight): New helper method.
(getCellBounds): Use new helper method for determining the cell
height.
(paint): Don't call list.indexToLocation() but instead call
directly into the same UI method.
(locationToIndex): Fixed calculation of # visible rows and handling
of cell heights.
(indexToLocation): Fixed calculation of # visible rows and handling
of cell heights.
2006-01-05 Roman Kennke <kennke@aicas.com>
* javax/swing/plaf/metal/MetalFileChooserUI.java
(createList): Set VERTICAL_SCROLLBAR_NEVER mode on the JScrollPane
in the file chooser.
2006-01-05 Anthony Balkissoon <abalkiss@redhat.com>
* javax/swing/JTextPane.java:
(replaceSelection): If the document is an AbstractDocument, use replace
rather than remove and insert.
* javax/swing/event/EventListenerList.java:
(getListeners): Reversed the order of the listeners to match the
reference implementation.
* javax/swing/text/AbstractDocument.java:
(insertString): Add the UndoableEdit from the content.insertString call
to the DocumentEvent.
(DefaultDocumentEvent.toString): Implemented.
* javax/swing/text/DefaultCaret.java:
(setDot): Make sure dot is > 0 and less than the length of the
document.
* javax/swing/text/DefaultStyledDocument.java:
(ElementBuffer.insertUpdate): Set the modified tag of the document
event when we get start and end tags. This ensures that we create the
proper BranchElements in endEdit().
(ElementBuffer.insertUpdate): Added FIXME to handle
JoinFractureDirection case.
(insertUpdate): Added code to check if we're inserting immediately
after a newline and to handle this case (create start and end tags).
Only change the direction of the first and last tags if they are of
type ContentType.
(checkForInsertAfterNewline): New helper method.
(handleInsertAfterNewline): Likewise.
* javax/swing/text/View.java:
(updateLayout): Avoid NPE by checking if shape is null. Repaint
container.
2006-01-05 Mark Wielaard <mark@klomp.org>
* newsitems.txt: Add fosdem meeting.
* events/events.wml: Likewise.
* events/fosdem06.wml: New file.
2006-01-05 Lillian Angel <langel@redhat.com>
* javax/swing/text/GapContent.java
(createPosition): No positions should be created inside the
gap. Fixed check to ensure this does not happen.
2006-01-05 Roman Kennke <kennke@aicas.com>
* javax/swing/RepaintManager.java
(validateInvalidComponents): Search for the validate root
and start validating there.
2006-01-05 Roman Kennke <kennke@aicas.com>
* javax/swing/plaf/basic/BasicListUI.java
(ComponentHandler): Removed unneeded class.
(ListDataHandler.contentsChanged): Revalidate instead of calling
damageLayout().
(ListDataHandler.intervalAdded): Revalidate instead of calling
damageLayout().
(ListDataHandler.intervalRemoved): Revalidate instead of calling
damageLayout().
(PropertyChangeHandler.propertyChange): Or flags together instead
of adding them. Don't call damageLayout().
(componentListener): Removed unnecessary field.
(damageLayout): Removed unnecessary method.
(installListeners): Don't install unnecessary listeners.
(uninstallListeners): Dito.
(getPreferredSize): Don't ask for the real list height and
calculate with the previously calculated list height.
(locationToIndex): Renamed list parameter to l so that it doesn't
shadow the field with the same name.
(indexToLocation): Renamed list parameter to l so that it doesn't
shadow the field with the same name.
2006-01-04 Tom Tromey <tromey@redhat.com>
* include/.cvsignore: Ignore config-int.h.
2006-01-04 Roman Kennke <kennke@aicas.com>
* javax/swing/plaf/basic/BasicListUI.java
(getPreferredSize): Rewritten to match the specs.
2006-01-04 Roman Kennke <kennke@aicas.com>
* javax/swing/JFileChooser.java
(showOpenDialog): Set fixed width on the dialog.
(showSaveDialog): Set fixed width on the dialog.
(showDialog): Set fixed width on the dialog.
2006-01-04 Roman Kennke <kennke@aicas.com>
* javax/swing/plaf/basic/BasicListUI.java
(locationToIndex): Added FIXME about getVisibleRowCount() usage.
Adjusted iteration to not use visibleRowCount and instead iterate
over the real number of elements in cellHeights.
(indexToLocation): Added FIXME about getVisibleRowCount() usage.
Adjusted iteration to not use visibleRowCount and instead iterate
over the real number of elements in cellHeights.
2006-01-04 Roman Kennke <kennke@aicas.com>
* native/jni/java-net/gnu_java_net_VMPlainSocketImpl.c,
* native/jni/java-net/gnu_java_net_VMPlainDatagramSocketImpl.c:
Added __attribute__((__unused__)) macros to avoid gcc warnings.
2006-01-04 Roman Kennke <kennke@aicas.com>
* vm/reference/gnu/java/net/VMPlainSocketImpl.java: New VM class.
* vm/reference/gnu/java/net/VMPlainDatagramSocketImpl.java:
New VM class.
* native/jni/java-net/gnu_java_net_VMPlainSocketImpl.c: New file.
* native/jni/java-net/gnu_java_net_VMPlainDatagramSocketImpl.c:
New file.
* native/jni/java-net/gnu_java_net_PlainDatagramSocketImpl.c:
Removed.
* native/jni/java-net/gnu_java_net_PlainSocketImpl.c: Removed.
* native/jni/java-net/Makefile.am: Adjusted for new source files.
* gnu/java/net/PlainDatagramSocketImpl.java: Use new VM interface.
* gnu/java/net/PlainSocketImpl.java: Use new VM interface.
* include/gnu_java_net_PlainDatagramSocketImpl.h: Removed.
* include/gnu_java_net_PlainSocketImpl.h: Removed.
* include/gnu_java_net_VMPlainDatagramSocketImpl.h: New header file.
* include/gnu_java_net_VMPlainSocketImpl.h: New header file.
2006-01-04 Lillian Angel <langel@redhat.com>
* javax/swing/plaf/metal/MetalFileChooserUI.java
(propertyChange): Fixed to change the combo box label
appropriately. Also, fixed to set the textfield's text
correctly.
(editFile): Fixed size of editing field.
(installComponents): Correctly aligned all panels.
(installStrings): Fixed to set the label's text
appropriately depending on the dialog type.
2006-01-04 Lillian Angel <langel@redhat.com>
PR classpath/25473
PR classpath/25479
* javax/swing/JTree.java
(JTree): Because some L&F defaults have been updated,
the selectionMode for the tree needed to be set to SINGLE.
* javax/swing/plaf/basic/BasicFileChooserUI.java:
Initialized accessoryPanel.
* javax/swing/plaf/metal/MetalFileChooserUI.java
(installComponents): Added accessoryPanel to the filechooser.
2006-01-04 Dalibor Topic <robilad@kaffe.org>
* configure.ac: Added AX_CREATE_STDINT_H
* include/Makefile.am (DISTCLEANFILES): Remove config-int.h.
* m4/ax_create_stdint_h.m4: New file.
* native/fdlibm/mprec.h: Include config-int.h. Removed C99
typedefs. Removed stdint.h and inttypes.h includes.
2006-01-03 Mark Wielaard <mark@klomp.org>
* javax/swing/JMenuItem.java (configurePropertiesFromAction): Only
register keyboard action when accelerator is not null.
* javax/swing/plaf/basic/BasicMenuItemUI.java (propertyChange): Only
re-register accelerator if not null.
(installKeyboardActions): Only put accelerator in map when not null.
2006-01-04 Lillian Angel <langel@redhat.com>
* javax/swing/plaf/basic/BasicLookAndFeel.java
(initComponentDefaults): Removed unneeded default.
* javax/swing/plaf/metal/MetalLookAndFeel.java
(initComponentDefaults): Added and fixed several defaults.
2006-01-04 Roman Kennke <kennke@aicas.com>
* javax/swing/plaf/basic/BasicHTML.java: New class.
2006-01-03 Tom Tromey <tromey@redhat.com>
* java/io/OutputStreamWriter.java (OutputStreamWriter): Added @since.
* java/io/InputStreamReader.java (InputStreamReader): Added @since.
2006-01-03 Mark Wielaard <mark@klomp.org>
* org/omg/CORBA/INVALID_ACTIVITY.java: Remove non-ascii characters.
2006-01-03 Mark Wielaard <mark@klomp.org>
* javax/swing/plaf/metal/MetalLookAndFeel.java (MetalLookAndFeel):
Always call createDefaultTheme().
(createDefaultTheme): Check whether theme is still null.
2006-01-03 Mark Wielaard <mark@klomp.org>
* gnu/java/awt/peer/gtk/GdkGraphics2D.java (setBackground): Set to
Color.WHITE if null.
2006-01-03 Lillian Angel <langel@redhat.com>
* javax/swing/plaf/metal/MetalLookAndFeel.java
(getDescription): Fixed to return the correct string.
(getID): Likewise.
(getName): Likewise.
(getDefaults): Added check to avoid NPE.
(getAcceleratorForeground): Likewise.
(getAcceleratorSelectedForeground): Likewise.
(getBlack): Likewise.
(getControl): Likewise.
(getControlDarkShadow): Likewise.
(getControlDisabled): Likewise.
(getControlHighlight): Likewise.
(getControlInfo): Likewise.
(getControlShadow): Likewise.
(getControlTextColor): Likewise.
(getControlTextFont): Likewise.
(getDesktopColor): Likewise.
(getFocusColor): Likewise.
(getHighlightedTextColor): Likewise.
(getInactiveControlTextColor): Likewise.
(getInactiveSystemTextColor): Likewise.
(getMenuBackground): Likewise.
(getMenuDisabledForeground): Likewise.
(getMenuForeground): Likewise.
(getMenuSelectedBackground): Likewise.
(getMenuSelectedForeground): Likewise.
(getMenuTextFont): Likewise.
(getPrimaryControl): Likewise.
(getPrimaryControlDarkShadow): Likewise.
(getPrimaryControlHighlight): Likewise.
(getPrimaryControlInfo): Likewise.
(getPrimaryControlShadow): Likewise.
(getSeparatorBackground): Likewise.
(getSeparatorForeground): Likewise.
(getSubTextFont): Likewise.
(getSystemTextColor): Likewise.
(getSystemTextFont): Likewise.
(getTextHighlightColor): Likewise.
(getUserTextColor): Likewise.
(getUserTextFont): Likewise.
(getWhite): Likewise.
(getWindowBackground): Likewise.
(getWindowTitleBackground): Likewise.
(getWindowTitleFont): Likewise.
(getWindowTitleForeground): Likewise.
(getWindowTitleInactiveBackground): Likewise.
(getWindowTitleInactiveForeground): Likewise.
2006-01-03 Mark Wielaard <mark@klomp.org>
* javax/swing/JTextArea.java
(JTextArea(Document,text,int,int)): Only call setText() when text is
not null.
2006-01-03 Lillian Angel <langel@redhat.com>
* javax/swing/plaf/basic/BasicFileChooserUI.java
(installStrings): Fixed installation of defaults that
were changed in BasicLookAndFeel.
* javax/swing/plaf/basic/BasicTabbedPaneUI.java
(installDefaults): Fixed installation of defaults that
were changed in BasicLookAndFeel.
2006-01-03 Lillian Angel <langel@redhat.com>
* javax/swing/plaf/basic/BasicLookAndFeel.java
(initComponentDefaults): Fixed several defaults that differed
from the JDK.
2006-01-03 Lillian Angel <langel@redhat.com>
* javax/swing/tree/DefaultTreeSelectionModel.java
(DefaultTreeSelectionModel): Default should be DISCONTIGUOUS_TREE_SELECTION.
2006-01-03 Lillian Angel <langel@redhat.com>
* javax/swing/AbstractAction.java
(AbstractAction): Fixed to pass in null. Should not be
an empty string. Removed TODO comment.
(AbstractAction): Removed TODO comment.
* javax/swing/JList.java
(init): Default selection mode should be MULTIPLE_INTERVAL_SELECTION.
* javax/swing/JMenuItem.java
(JMenuItem): Set all defaults if the action passed in is not null.
* javax/swing/JProgressBar.java
(JProgressBar): Added check to prevent NPE.
2006-01-03 Lillian Angel <langel@redhat.com>
* javax/swing/plaf/basic/BasicListUI.java
(getPreferredSize): The JDK adds some extra space to
the list, so we should as well.
* javax/swing/plaf/metal/MetalFileChooserUI.java
(getPreferredSize): Should only take the fileListPanel's
width into account when getting the size. Also, the buttonPanel's
size should not be checked, since it is in the bottomPanel already.
(getMinimumSize): Likewise.
2006-01-03 Lillian Angel <langel@redhat.com>
* javax/swing/JList.java
(init): visibleRowCount should be 7, like the JDK.
* javax/swing/plaf/metal/MetalFileChooserUI.java
(installComponents): No need to add the fileFilterCombo
to a panel. It can be added to the row directly.
2006-01-03 Lillian Angel <langel@redhat.com>
PR classpath/25480 PR classpath/25478
* javax/swing/plaf/basic/BasicScrollPaneUI.java
(updateViewport): Made changes suggested by
Chris Lansdown.
* javax/swing/plaf/metal/MetalFileChooserUI.java:
Removed unneeded import.
(createList): Removed comment, JList wrapping
now works.
(getPreferredSize): Made changes suggested by
Chris Lansdown. Uses fileListPanel, instead
of fileList.
(getMinimumSize): Uses fileListPanel, instead
of fileList.
* javax/swing/plaf/metal/MetalRadioButtonUI.java
(paintFocus): Fixed height.
2006-01-03 Roman Kennke <kennke@aicas.com>
* javax/swing/plaf/basic/BasicListUI.java
(locationToIndex): Added check to avoid ArrayOutOfBoundsException.
2006-01-03 Roman Kennke <kennke@aicas.com>
* javax/swing/plaf/basic/BasicListUI.java
(locationToIndex): Special case for when variable cell heights
are possible. (cellHeights is used instead of cellHeight).
(indexToLocation): Special case for when variable cell heights
are possible. (cellHeights is used instead of cellHeight).
2006-01-03 Roman Kennke <kennke@aicas.com>
* javax/swing/text/DefaultStyledDocument.java
(ElementBuffer.remove): New method.
(ElementBuffer.removeUpdate): New method.
(removeUpdate): New method.
2006-01-03 Roman Kennke <kennke@aicas.com>
* lib/Makefile.am:
(dist-hook): Preserve attributes of Java sources when copying to
dist dir.
2006-01-03 Raif S. Naffah <raif@swiftdsl.com.au>
* AUTHORS: Added self.
* java/security/Security.java (getProvider): Ensures provider's name is
not null, not an empty string, and is trimmed before usage.
2006-01-01 Audrius Meskauskas <AudriusA@Bioinformatics.org>
* gnu/CORBA/Poa/AOM.java (add):
Changed parameter Object into gnuServantObject.
(Obj.object): Changed type to gnuServantObject.
(findObject): Rewritten.
2006-01-01 Andreas Tobler <a.tobler@schweiz.ch>
* native/jni/qt-peer/mainqtthread.cpp: Remove call to disable double
buffering. Ability has gone in Qt-4.1.x.
* configure.ac (QT_CFLAGS): Check for 4.1.0 version and for QtCore
to have the right include flags.
2006-01-01 Raif S. Naffah <raif@swiftdsl.com.au>
* java/security/MessageDigest.java (getInstance(String,String)):
Use trimmed copy of provider name.
* gnu/java/security/Engine.java
(getInstance(String,String,Provider,Object[])): Use trimmed copy of
service and algorithm names.
2006-01-01 Raif S. Naffah <raif@swiftdsl.com.au>
* java/net/InetAddress.java (getAllByName): use LOCALHOST if
localhost is null or is an empty string. Trim hostname before
lookup.
|