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
|
2007-04-07 Andrew John Hughes <gnu_andrew@member.fsf.org>
* javax/management/ObjectName.java:
(checkComponents()): Separate value and
key illegal characters to allow value wildcards.
2007-04-07 Andrew John Hughes <gnu_andrew@member.fsf.org>
* javax/management/ObjectName.java
(parse(String)): Fix parsing where the wildcard
is juxtaposed between other pairs.
2007-04-06 Mark Wielaard <mark@klomp.org>
* configure.ac (VERSION): Set to 0.96-pre.
2007-04-06 Andrew John Hughes <gnu_andrew@member.fsf.org>
* javax/management/MBeanAttributeInfo.java:
(serialVersionUID): Added.
* javax/management/MBeanFeatureInfo.java:
(writeObject(ObjectOutputStream)): Added for
later 1.6 support.
* javax/management/Notification.java:
(serialVersionUID): Added.
(Notification(String,Object,long,long)): Make
default message the empty string not null.
(Notification(String,Object,long,long,String)):
Set source explicitly.
(writeObject(ObjectOutputStream)): Added to match
Sun.
2007-04-06 Andrew John Hughes <gnu_andrew@member.fsf.org>
* java/util/Hashtable.java:
(putAllInternal(Map)): Remove redundant semi-colon.
2007-04-06 Mark Wielaard <mark@klomp.org>
* lib/mkcollections.pl.in: Add externalclasses.
* java/util/Collections.java: Unroll enhanced for loops.
* java/util/HashMap.java: Likewise.
* java/util/Hashtable.java: Likewise.
* java/util/TreeMap.java: Likewise.
2007-04-06 Andrew John Hughes <gnu_andrew@member.fsf.org>
* gnu/javax/management/Translator.java:
(getTypeName(type)): Move type name creation to its own method.
* javax/management/ObjectName.java:
(WILDCARD): Added.
2007-04-04 Andrew Haley <aph@redhat.com>
* javax/management/ObjectName.java:
(serialVersionUID): Declare.
Make all fields transient.
(parse): Break out from constructor.
(writeObject, readObject): New methods.
2007-04-05 Francis Kung <fkung@redhat.com>
* include/Makefile.am: Remove old entry.
2007-04-05 Francis Kung <fkung@redhat.com>
* gnu/java/awt/peer/gtk/GtkToolkit.java
(createDragGestureRecognizer): Remove failing subClass call.
2007-04-05 Gary Benson <gbenson@redhat.com>
* java/util/GregorianCalendar.java
(computeFields): Fix WEEK_OF_MONTH calculation.
2007-04-05 Christian Thalinger <twisti@complang.tuwien.ac.at>
PR classpath/22800:
* native/jni/java-lang/java_lang_VMDouble.c (doubleToLongBits)
(doubleToRawLongBits, longBitsToDouble): Swap the byte
ordering for little-endian arms without VFP.
2007-04-05 Christian Thalinger <twisti@complang.tuwien.ac.at>
* native/jni/java-net/java_net_VMNetworkInterface.c
[HAVE_IFADDRS_H && HAVE_GETIFADDRS] (free_netif_list): Added
#ifdef.
(getVMInterfaces): Added UNUSED argument attribute.
2007-04-05 Christian Thalinger <twisti@complang.tuwien.ac.at>
* native/jni/java-nio/gnu_java_nio_charset_iconv_IconvDecoder.c,
native/jni/java-nio/gnu_java_nio_charset_iconv_IconvEncoder.c
[HAVE_ICONV] (createRawData, getData, infid, outfid): Added
#ifdef.
(openIconv): Added UNUSED argument attribute, so we can build with
-Werror.
(decode): Likewise.
(closeIconv): Likewise.
2007-04-05 Mark Wielaard <mark@klomp.org>
* autogen.sh: Recognize automake 1.10.
* configure.ac (AM_INIT_AUTOMAKE): Add -Wno-portability.
* native/jawt/Makefile.am (libjawt_la_LDFLAGS): Add AM_LDFLAGS.
* native/jni/gconf-peer/Makefile.am (libgconfpeer_la_LDFLAGS): Likewise.
* 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.
* native/jni/qt-peer/Makefile.am (libqtpeer_la_LDFLAGS): Likewise.
2007-04-04 Mark Wielaard <mark@klomp.org>
* native/jni/gtk-peer/gnu_java_awt_peer_gtk_GtkImage.c
(cp_gtk_image_get_pixbuf): Return NULL when pointer is NULL.
* gnu/java/awt/peer/gtk/GtkImage.java (setImage): Set loaded and
call deliver() after pixels have been set.
* gnu/java/awt/peer/gtk/GtkFramePeer.java (setIconImage): Only
set icon when image has been properly loaded.
2007-04-04 Francis Kung <fkung@redhat.com>
* gnu/java/awt/peer/gtk/CairoGraphics2D.java
(drawCairoSurface): Made protected.
* gnu/java/awt/peer/gtk/ComponentGraphics.java
(cairoDrawGlyphVector): Removed method.
(cairoSetFont): Removed method.
(disposeNative): Removed method.
(drawCairoSurface): New method.
* native/jni/gtk-peer/gnu_java_awt_peer_gtk_CairoGraphics2D.c
(Java_gnu_java_awt_peer_gtk_CairoGraphics2D_cairoDrawGlyphVector): Added
locking.
(Java_gnu_java_awt_peer_gtk_CairoGraphics2D_cairoSetFont): Added locking.
(Java_gnu_java_awt_peer_gtk_CairoGraphics2D_disposeNative): Added locking.
2007-04-04 Gary Benson <gbenson@redhat.com>
* java/util/GregorianCalendar.java
(GregorianCalendar(TimeZone, Locale)): Remove redundant complete().
2007-04-04 Roman Kennke <roman@kennke.org>
* java/nio/channels/spi/SelectorProvider.java
(inheritedChannel): Make method concrete and move default impl
to here. Perform security checks as mandated by the spec.
* gnu/java/nio/SelectorProviderImpl.java
(inheritedChannel): Removed. Default impl is in SelectorProvider.
2007-04-04 Roman Kennke <roman@kennke.org>
* native/jni/gtk-peer/gnu_java_awt_peer_gtk_GtkToolkit.c
(init_glib_threads): Create global reference on lock object.
2007-04-04 Roman Kennke <roman@kennke.org>
* java/awt/Frame.java
(weakFrames): Make private.
(weakFramesQueue): New field. A reference queue to collect
GCed references.
(getFrames): Only do one iterations to avoid collecting null
references.
(hasDisplayableFrames): New helper method. Checks if there
are any displayable frames. This is used by the event queue
shutdown check.
(noteFrame): Clean up GCed frames in the list.
* java/awt/EventQueue.java
(isShutdown): Move frame checking code into Frame.
2007-04-03 Roman Kennke <roman@kennke.org>
* java/lang/System.java
(inheritedChannel): New method, wraps
SelectorProvider.inheritedChannel().
* java/nio/channels/spi/SelectorProvider.java
(inheritedChannel): New abstract method.
* gnu/java/nio/SelectorProviderImpl.java
(inheritedChannel): New method, return null as default.
2007-04-03 Roman Kennke <roman@kennke.org>
* java/nio/ByteOrder.java
(nativeByteOrder): Let this fail when the corresponding
property is not set properly.
2007-04-03 Roman Kennke <roman@kennke.org>
* javax/swing/plaf/basic/BasicTreeUI.java
(getPathBounds): Consider the tree's insets. Added a bunch of
null checks.
2007-04-03 Roman Kennke <roman@kennke.org>
* javax/swing/plaf/basic/BasicLabelUI.java
(cachedInsets): New field. Used for reusing the insets instance.
(getFontMetrics): New helper method for fetching a suitable
FontMetrics object.
(getPreferredSize): Use new helper method for font metrics.
(paint): Only do something if we have an icon or text.
Use cached Insets instance and new font metrics helper.
(paintDisabledText): Don't restore the graphics' color.
(paintEnabledText): Don't restore the graphics' color.
2007-04-03 Roman Kennke <roman@kennke.org>
* javax/swing/plaf/metal/MetalButtonUI.java
(paintButtonPressed): Fill the whole button not only visibleRect.
* javax/swing/plaf/metal/MetalLookAndFeel.java
(LAF_defaults): Removed.
(getDefaults): Always fetch super's defaults.
* javax/swing/plaf/metal/MetalMenuBarUI.java
(update): Don't leave 2 pixel gap.
2007-04-03 Roman Kennke <roman@kennke.org>
* native/target/.cvsignore,
* native/target/Linux/.cvsignore,
* native/target/generic/.cvsignore: Some new ignores.
2007-04-03 Roman Kennke <roman@kennke.org>
* gnu/java/awt/peer/gtk/GThreadMutex.java,
* gnu/java/awt/peer/gtk/GThreadNativeMethodRunner.java,
* include/gnu_java_awt_peer_gtk_GThreadNativeMethodRunner.h,
* native/jni/gtk-peer/gnu_java_awt_peer_gtk_GThreadNativeMethodRunner.c,
* native/jni/gtk-peer/gthread-jni.c,
* native/jni/gtk-peer/gthread-jni.h: Removed.
* native/jni/gtk-peer/Makefile.am: Removed obsolete entries
for removed files.
* native/jni/gtk-peer/gnu_java_awt_peer_gtk_GtkToolkit.c
Removed unused bits from gthread-jni.c.
2007-04-03 Francis Kung <fkung@redhat.com>
* gnu/java/awt/peer/gtk/FreetypeGlyphVector.java
(getGlyphs(int[], int[], long[])): Return void.
2007-04-03 Kyle Galloway <kgallowa@redhat.com>
* gnu/classpath/jdwp/value/ArrayValue.java: New file.
2007-04-03 Roman Kennke <roman@kennke.org>
* native/jni/gtk-peer/gnu_java_awt_peer_gtk_GtkToolkit.c
(global_lock): New global variable that holds the object reference
to the global GTK lock.
(init_glib_threads): Add lock argument. Use
gdk_threads_set_lock_functions to replace GTK's locking function
with two callbacks that allow reentrant locking, based on
JNI's MonitorEnter() and MonitorExit().
(jni_lock_cb): New callback function for GTK locking.
(jni_unlock_cb): New callback function for GTK unlocking.
(Java_gnu_java_awt_peer_gtk_GtkToolkit_gtkInit): Add lock argument.
Call init_glib_threads() with lock object.
* include/gnu_java_awt_peer_gtk_GtkToolkit.h
Regenerated.
* gnu/java/awt/peer/gtk/GtkToolkit.java
(GTK_LOCK): New static field. This is used as the global lock for
GTK.
(gtkInit): Add lock parameter.
(static_init): Initialize global lock and call gtkInit() with
that lock.
2007-04-02 Francis Kung <fkung@redhat.com>
* gnu/java/awt/peer/gtk/FreetypeGlyphVector.java
(fontSet): Initialize to null.
(FreetypeGlyphVector(Font, int[], FontRenderContext)): Populate fontSet
array with default font if needed.
(FreetypeGlyphVector(FreetypeGlyphVector)): Clone all fields.
(getNativeFontPointer): New native method.
* include/gnu_java_awt_peer_gtk_FreetypeGlyphVector.h: Regenerated.
* native/jni/gtk-peer/gnu_java_awt_peer_gtk_FreetypeGlyphVector.c
(Java_gnu_java_awt_peer_gtk_FreetypeGlyphVector_getNativeFontPointer):
New function.
2007-04-02 Francis Kung <fkung@redhat.com>
* INSTALL: Document known bug in at-spi, atk, and gail packages prior to
version 1.18.0.
2007-04-02 Francis Kung <fkung@redhat.com>
* gnu/java/awt/peer/gtk/CairoGraphics2D.java
(cairoDrawGlyphVector): Added parameter.
(drawGlyphVector): Retrieve and pass fontset parameter.
* gnu/java/awt/peer/gtk/ComponentGraphics.java
(cairoDrawGlyphVector): Added parameter.
(lock): Removed unnecessary cast.
(unlock): Removed unnecessary cast and explicitly set to ONE variable.
* gnu/java/awt/peer/gtk/FreetypeGlyphVector.java
(fontSet): New field.
(dispose): New native method.
(finalize): New method.
(getGlyphFonts): New method.
(getGlyphOutline): Pass fontSet parameter to native method.
(getGlyphOutlineNative): Added parameter.
(getGlyphs): Pass extra parameters to native method.
(getGlyphsNative): Added parameters.
(getKerning): Added fontSet parameter.
(getMetricsNative): Added fontSet parameter.
(performDefaultLayout): Only check kerning if glyphs use the same font.
(setupGlyphMetrics): Pass extra parameters to native methods.
* include/gnu_java_awt_peer_gtk_CairoGraphics2D.h,
* include/gnu_java_awt_peer_gtk_FreetypGlyphVector.h: Regenerated.
* native/jni/gtk-peer/gdkfont.h: Enable pango engine.
(peerfont): Add variable for fontset.
* native/jni/gtk-peer/gnu_java_awt_peer_gtk_CairoGraphics2D.c
(Java_gnu_java_awt_peer_gtk_CairoGraphics2D_cairoDrawGlyphVector): Accept
array of font pointers to use when drawing glyphs.
* native/jni/gtk-peer/gnu_java_awt_peer_gtk_FreetypeGlyphVector.c
(getFontSet): New function.
(Java_gnu_java_awt_peer_gtk_FreetypeGlyphVector_dispose): New function.
(Java_gnu_java_awt_peer_gtk_FreetypeGlyphVector_getGlyphOutlineNative):
Added and use new fontSet parameter.
(Java_gnu_java_awt_peer_gtk_FreetypeGlyphVector_getGlyphs): Use pango
to retrieve glyphs and estimate font, if the current font does not contain
a requested glyph.
(Java_gnu_java_awt_peer_gtk_FreetypeGlyphVector_getKerning): Added and use
new fontSet parameter.
(Java_gnu_java_awt_peer_gtk_FreetypeGlyphVector_getMetricsNative): Added
and use new fontSet parameter.
* native/jni/gtk-peer/gnu_java_awt_peer_gtk_GdkFontPeer.c
(Java_gnu_java_awt_peer_gtk_GdkFontPeer_dispose): Free fontset.
(Java_gnu_java_awt_peer_gtk_GdkFontPeer_setFont): Load fontset.
2007-04-02 Andrew Haley <aph@redhat.com>
* javax/management/ObjectName.java: Handle 0-length names.
* javax/management/MBeanServerFactory.java: Use the domain that
we've been passed, not the fixed string "DefaultDomain".
2007-04-01 Mark Wielaard <mark@klomp.org>
* org/omg/CORBA/DynAny.java: Mark as deprecated.
* org/omg/CORBA/DynArray.java: Likewise.
* org/omg/CORBA/DynEnum.java: Likewise.
* org/omg/CORBA/DynFixed.java: Likewise.
* org/omg/CORBA/DynSequence.java: Likewise.
* org/omg/CORBA/DynStruct.java: Likewise.
* org/omg/CORBA/DynUnion.java: Likewise.
* org/omg/CORBA/DynValue.java: Likewise.
* org/omg/CORBA/ORB.java (create_basic_dyn_any): Likewise.
(create_dyn_any): Likewise.
(create_dyn_array): likewise.
(create_dyn_enum): Likewise.
(create_dyn_sequence): Likewise.
(create_dyn_struct): Likewise.
(create_dyn_union): Likewise.
2007-04-01 Andrew John Hughes <gnu_andrew@member.fsf.org>
* gnu/javax/management/Translator.java:
(fromJava(Object[],Method)): Use the array from the
parameter not the newly created one...
(fromJava(Object, Type)): Support MXBeans.
* javax/management/JMX.java:
(newMXBeanProxy(MBeanServerConnection,ObjectName,Class)):
Call newMXBeanProxy rather than newMBeanProxy.
* javax/management/StandardMBean.java:
(setAttribute(Attribute)): Use InvocationTargetException
as cause.
2007-03-31 Jeroen Frijters <jeroen@frijters.net>
PR classpath/31402:
* java/util/concurrent/CopyOnWriteArrayList.java
(remove): Fixed ArrayIndexOutOfBoundsException when index == 0.
2007-03-30 Andrew John Hughes <gnu_andrew@member.fsf.org>
* javax/management/openmbean/CompositeDataInvocationHandler.java:
New file.
2007-03-30 Kyle Galloway <kgallowa@redhat.com>
* gnu/classpath/jdwp/util/VariableTable.java: Make argCnt and slots ints.
(write): Replace writeLong with writeInt for above.
2007-03-30 Tom Tromey <tromey@redhat.com>
PR libgcj/29869:
* gnu/java/util/jar/JarUtils.java (log): Commented out.
(readSFManifest): Don't log.
2007-03-29 Tom Tromey <tromey@redhat.com>
PR libgcj/29869:
* java/util/logging/LogManager.java (readConfiguration): Handle
comma-separated 'handlers'. Don't try to add a non-existing
handler.
2007-03-29 Keith Seitz <keiths@redhat.com>
* gnu/classpath/jdwp/event/ThreadStartEvent.java (Event):
Event type is "THREAD_START" not "THERAD_END".
* gnu/classpath/jdwp/transport/SocketTransport.java (ITransport):
Handle configure strings ":port" and "port".
2007-03-29 Francis Kung <fkung@redhat.com>
* native/jni/gtk-peer/gnu_java_awt_peer_gtk_GtkToolkit.c
(Java_gnu_java_awt_peer_gtk_GtkToolkit_gtkInit): Revert last patch.
2007-03-29 Mark Wielaard <mark@klomp.org>
* native/jni/java-nio/Makefile.am (LIBADD): Add libclasspathnative.
2007-03-28 Andrew John Hughes <gnu_andrew@member.fsf.org>
* javax/management/StandardMBean.java:
(setAttribute(Attribute)): Add handling of primitive
types and subtype parameters.
(getMutator(String,Class<?>)): New helper method to
return the mutator.
2007-03-28 Roman Kennke <roman@kennke.org>
* java/io/OutputStreamWriter.java,
* java/io/InputStreamReader.java: Revert big stream patch due to
problems.
2007-03-28 Tom Tromey <tromey@redhat.com>
PR classpath/31303:
* external/sax/org/xml/sax/helpers/XMLReaderFactory.java
(createXMLReader): Code in Classpath default.
2007-03-28 Tom Tromey <tromey@redhat.com>
PR classpath/31276:
* native/jni/java-lang/java_lang_VMDouble.c
(parseDoubleFromChars): Use %p, not %i.
2007-03-28 Mark Wielaard <mark@klomp.org>
* native/jni/java-nio/Makefile.am (LIBADD): Don't add
libclasspathnative.
* native/jni/java-nio/gnu_java_nio_VMChannel.c
(Java_gnu_java_nio_VMChannel_open): Don't set and reset umask.
2007-03-27 Francis Kung <fkung@redhat.com>
* native/jni/gtk-peer/gnu_java_awt_peer_gtk_GtkToolkit.c
(Java_gnu_java_awt_peer_gtk_GtkToolkit_gtkInit): Prevent loading of
accessibility modules as temporary workaround for Gnome bug.
2007-03-27 Kyle Galloway <kgallowa@redhat.com>
* gnu/classpth/jdwp/processor/ThreadReferenceCommandSet.java
(executeResume): Change to call VMVirtualMachine.resumeThread.
2007-03-27 Roman Kennke <roman@kennke.org>
* java/io/InputStreamReader.java
(BUFFER_SIZE): New constant.
(bytesCache): Removed.
(cacheLock): Removed.
(hasSavedSurrogate): Removed.
(lastArray): New field. Used for caching CharBuffers.
(lastBuffer): New field. Used for caching CharBuffers.
(maxBytesPerChar): Removed.
(oneChar): New field. Caches a char array for read().
(savedSurrogate): New field.
(InputStreamReader): (all constructors) Cleaned up.
Use initDecoderAndBuffer() method. Check for null parameters.
Use new EncodingHelper.getDefaultCharset() for fetching the
default charset.
(decode): New helper method. Decodes using the NIO decoder or
using a raw Latin1 decoding.
(getCharBuffer): New helper method. Implements caching of
CharBuffers for output arrays.
(initDecoderAndBuffer): New helper method. Initializes the decoder
and input buffer.
(read): Use cached array.
(read(char[],int,int)): Reworked using a cleaner NIO based
implementation. This decodes the incoming data in bigger chunks
rather then calling the decoder for each character.
(ready): Also check the input buffer.
(refillInputBuffer): New helper methods. Refills the input buffer
when it runs out of data.
* java/io/OutputStreamWriter.java
(lastArray): Implements caching of the output array buffer.
(lastBuffer): Implements caching of the output array buffer.
(oneChar): New field. Caches a char array for write().
(outputBuffer): Make this a ByteBuffer.
(OutputStreamWriter): (all constructors) Cleaned up.
Use initEncoderAndBuffer() method. Check for null parameters.
Use new EncodingHelper.getDefaultCharset() for fetching the
default charset.
(encode): New helper method. Encodes the input buffer to the output
buffer using either the NIO encoder or a raw Latin1 encoding.
(encodeChars): New helper method. The encoding loop.
(flush): Directly use the array of the output buffer.
(getCharBuffer): New helper method. Implements caching of the
output buffer.
(initEncoderAndBuffer): New helper method for initialization.
(write(char[],int,int)): Reworked to make better use of the NIO
encoders.
(write): Use cached array.
(write(String,int,int)): Don't copy the string but rather wrap it
and handle it the same as the wrapped char array.
(writeConvert): Removed.
* gnu/java/nio/charset/EncodingHelper.java
(getDefaultCharset): New method. Returns the default charset for
the case when the file.encoding charset is not valid. This
always returns an UTF8 codec.
2007-03-27 Roman Kennke <kennke@aicas.com>
* java/awt/Frame.java
(weakFrames): Make this generic and package private.
(noteFrame): Use generic WeakReference.
* java/awt/EventQueue.java
(isShutdown): Iterate over the weakFrames directly, rather than
using Frame.getFrames(). The latter iterates several times over
weakFrames completely and creates a new array on each call. The
former iterates only once and aborts when it finds a frame which
is displayable.
2007-03-27 Roman Kennke <kennke@aicas.com>
* javax/swing/JScrollBar.java
(getUnitIncrement(int)): Don't multiply direction parameter.
(getBlockIncrement(int)): Don't multiply direction parameter.
2007-03-26 Tom Tromey <tromey@redhat.com>
* doc/cp-tools.texinfo (gcjh Tool): Added more text.
(rmid Tool): Likewise.
2007-03-26 Stepan Kasal <skasal@redhat.com>
* tools/gnu/classpath/tools/javah/Main.java (cniOrJniSeen): New
field.
(getParser): Use new field.
2007-03-25 Dalibor Topic <robilad@kaffe.org>
* doc/cp-tools.texinfo: Fix node ordering.
2007-03-19 Matthias Klose <doko@ubuntu.com>
* doc/Makefile.am: Build a gcjh(1) man page.
* doc/cp-tools.texinfo: Add documentation for gcjh.
2007-03-23 Jeroen Frijters <jeroen@frijters.net>
* java/net/ServerSocket.java (implAccept): set implCreated flag on
socket.
* java/net/Socket.java (implCreated): Make package accessible for
ServerSocket.
2007-03-22 Casey Marshall <csm@gnu.org>
* gnu/javax/net/ssl/provider/ClientHandshake.java (RSAGen.implRun):
check keyEncipherment bit of the certificate, and just pass the public
key to the cipher.
2007-03-20 Mario Torre <neugens@limasoftware.net>
* configure.ac: GConf requirement for building the java.util.prefs backend
are relaxed down to version 2.6.0 (instead of 2.11.2).
2007-03-19 Mario Torre <neugens@limasoftware.net>
* gnu/java/awt/peer/KDEDesktopPeer.java:
(mail): Fixed error dialog in KDE when the mail method is called without
argument; now opens the default mailer with a blank window.
(getCommand): Handle the use of kprinter as default print command for KDE.
(supportCommand): Enable the print command when a KDE desktop is detected.
2007-03-19 Jeroen Frijters <jeroen@frijters.net>
* java/net/Socket.java
(implCreated): New field.
(getImpl): Call impl.create() if it hasn't been called yet.
(bind): Removed explicit impl.create() call.
2007-03-18 Mark Wielaard <mark@klomp.org>
* javax/crypto/CipherOutputStream.java (write): Use out.write()
not super.write().
2007-03-18 Mark Wielaard <mark@klomp.org>
* configure.ac (COMPILE_PLUGIN): Check for gtk+-2.0 >= 2.8
gthread-2.0 >= 2.2 and gdk-pixbuf-2.0
2007-03-16 Tom Tromey <tromey@redhat.com>
* tools/gnu/classpath/tools/javah/Main.java (run): Use class'
name in File case.
2007-03-16 Thomas Fitzsimmons <fitzsim@redhat.com>
* resource/com/sun/tools/javac/messages.properties
(Main.FailedToRead, Main.MalformedURL, Main.FailedToLoad): Clarify
messages for when --with-ecj-jar is not specified.
* configure.ac (FOUND_ECJ_JAR): Remove conditional.
* tools/Makefile.am: Build com.sun.tools.javac package
unconditionally.
2007-03-16 Mark Wielaard <mark@klomp.org>
* configure.ac (COMPILE_PLUGIN): Stop when no plugin headers found.
Also check for gtk+ dependency.
2007-03-16 Tom Tromey <tromey@redhat.com>
* tools/gnu/classpath/tools/javah/JniStubPrinter.java
(printClass): Added filename argument.
* tools/gnu/classpath/tools/javah/JniIncludePrinter.java
(printClass): Added filename argument.
* tools/gnu/classpath/tools/javah/CniIncludePrinter.java
(printClass): Use user's file name.
* tools/gnu/classpath/tools/javah/CniStubPrinter.java
(printClass): Use user's file name.
* tools/gnu/classpath/tools/javah/Printer.java (printClass): Added
filename argument.
* tools/gnu/classpath/tools/javah/Main.java (getParser): Fix '-v'
argument order.
(writeHeaders): Use a HashMap.
(run): Put class name into HashMap for writeHeaders.
2007-03-16 Francis Kung <fkung@redhat.com>
* gnu/java/awt/peer/gtk/CairoGraphics2D.java
(cairoArc): Make protected rather than private so it can be over-ridden.
(cairoClip): Likewise.
(cairoClosePath): Likewise.
(cairoCurveTo): Likewise.
(cairoDrawGlyphVector): Likewise.
(cairoFill): Likewise.
(cairoLineTo): Likewise.
(cairoMoveTo): Likewise.
(cairoNewPath): Likewise.
(cairoRectangle): Likewise.
(cairoResetClip): Likewise.
(cairoRestore): Likewise.
(cairoSave): Likewise.
(cairoScale): Likewise.
(cairoSetAntialias): Likewise.
(cairoSetDash): Likewise.
(cairoSetFillRule): Likewise.
(cairoSetFont): Likewise.
(cairoSetLine): Likewise.
(cairoSetMatrix): Likewise.
(cairoSetOperator): Likewise.
(cairoSetRGBAColor): Likewise.
(cairoStroke): Likewise.
(drawPixels): Likewise.
(init): Likewise.
(setGradient): Likewise.
(setPaintPixels): Likewise.
(cairoDrawLine): Removed.
(cairoDrawRect): Removed.
(cairoFillRect): Removed.
(cairoPreserveClip): Removed.
(cairoRelCurveTo): Removed.
(cairoRelLineTo): Removed.
(cairoRelMoveTo): Removed.
* gnu/java/awt/peer/gtk/ComponentGraphics.java
(cairoArc): New method wrapping superclass method in locks.
(cairoClip): Likewise.
(cairoClosePath): Likewise.
(cairoCurveTo): Likewise.
(cairoDrawGlyphVector): Likewise.
(cairoFill): Likewise.
(cairoLineTo): Likewise.
(cairoMoveTo): Likewise.
(cairoNewPath): Likewise.
(cairoRectangle): Likewise.
(cairoResetClip): Likewise.
(cairoRestore): Likewise.
(cairoSave): Likewise.
(cairoScale): Likewise.
(cairoSetAntialias): Likewise.
(cairoSetDash): Likewise.
(cairoSetFillRule): Likewise.
(cairoSetFont): Likewise.
(cairoSetLine): Likewise.
(cairoSetMatrix): Likewise.
(cairoSetOperator): Likewise.
(cairoSetRGBAColor): Likewise.
(cairoStroke): Likewise.
(disposeNative): Likewise.
(drawPixels): Likewise.
(init): Likewise.
(setGradient): Likewise.
(setPaintPixels): Likewise.
(draw): Do not lock, as locking is now done in the wrapped native methods.
(drawComposite): Likewise.
(drawGlyphVector): Likewise.
(drawImage): Likewise.
(drawRenderedImage): Likewise.
(fill): Likewise.
(setClip): Removed.
(lock): Added documentation.
(unlock): Added documentation.
* include/gnu_java_awt_peer_gtk_CairoGraphics2D.h: Regenerated.
* include/gnu_java_awt_peer_gtk_CairoSurface.h: Regenerated.
* native/jni/gtk-peer/gnu_java_awt_peer_gtk_CairoGraphics2D.c
(Java_gnu_java_awt_peer_gtk_CairoGraphics2D_cairoDrawLine): Removed.
(Java_gnu_java_awt_peer_gtk_CairoGraphics2D_cairoDrawRect): Removed.
(Java_gnu_java_awt_peer_gtk_CairoGraphics2D_cairoFillRect): Removed.
(Java_gnu_java_awt_peer_gtk_CairoGraphics2D_cairoPreserveClip): Removed.
(Java_gnu_java_awt_peer_gtk_CairoGraphics2D_cairoRelCurveTo): Removed.
(Java_gnu_java_awt_peer_gtk_CairoGraphics2D_cairoRelLineTo): Removed.
(Java_gnu_java_awt_peer_gtk_CairoGraphics2D_cairoRelMoveTo): Removed.
2007-03-11 Andrew John Hughes <gnu_andrew@member.fsf.org>
* javax/management/openmbean/ArrayType.java:
(getArrayClassName(String, int)): Replaced by...
(getArrayClassName(OpenType, int, boolean)):
Returns appropriate class name for the array.
(getDimensions(OpenType, int)): New method.
(getPrimitiveType(Class<?>)): Likewise.
(getPrimitiveTypeClass(OpenType<?>)): Likewise.
(getElementType(OpenType<?>)): Likewise.
(getElementTypeName(OpenType<?>)): Likewise.
(ArrayType(int, OpenType<?>)): Rewritten
to handle ArrayTypes as input.
(ArrayType(SimpleType<?>, boolean)): New constructor.
(equals(Object)): Handle primitiveArray flag.
(hashCode()): Likewise.
(getArrayType(OpenType<E>)): New method.
(getPrimitiveArrayType(Class<T>)): Likewise.
(isPrimitiveArray()): Likewise.
(toString()): Updated to list primitiveArray
flag.
* javax/management/openmbean/OpenType.java:
(OpenType(String,String,String)): Use Class.forName()
and methods of Class to validate arrays.
* javax/management/openmbean/SimpleType.java:
Include causal exception when creating pre-defined types
throws an exception.
2007-03-09 Andreas Tobler <a.tobler@schweiz.org>
Port change from gcc:
2007-03-06 Matthias Klose <doko@ubuntu.com>
* doc/Makefile.am(gkeytool.pod): Don't use sed -i.
2007-03-09 Kyle Galloway <kgallowa@redhat.com>
* gnu/classpath/jdwp/exception/InvalidTagException.java: New file.
* gnu/classpath/jdwp/processor/ArrayReferenceCommandSet.java
(executeGetValues): Use Value type.
(exectureSetValues): Ditto.
* gnu/classpath/jdwp/processor/ClassTypeCommandSet.java
(executeGetValues): Use Value type.
(executeSetValues): Ditto.
(invokeMethod): Record method return type.
* gnu/classpath/jdwp/processor/ObjectReferenceCommandSet.java
(executeGetValues): Use Value type.
(executeSetValues): Ditto.
* gnu/classpath/jdwp/processor/ReferenceTypeCommandSet.java
(executeGetValues): Use Value type.
* gnu/classpath/jdwp/processor/StackFrameCommandSet.java
(executeGetValues): Use Value type.
(executeSetValues): Ditto.
* gnu/classpath/jdwp/util/MethodResult.java: Add resType to store return
type.
(getResultType): New Method.
(setResultType): Ditto.
* gnu/classpath/jdwp/util/Value.java: Remove.
* gnu/classpath/jdwp/value: New Package.
* gnu/classpath/jdwp/value/Value.java: New file.
* gnu/classpath/jdwp/value/BooleanValue.java: New file.
* gnu/classpath/jdwp/value/ByteValue.java: New file.
* gnu/classpath/jdwp/value/CharValue.java: New file.
* gnu/classpath/jdwp/value/DoubleValue.java: New file.
* gnu/classpath/jdwp/value/FloatValue.java: New file.
* gnu/classpath/jdwp/value/IntValue.java: New file.
* gnu/classpath/jdwp/value/LongValue.java: New file.
* gnu/classpath/jdwp/value/ObjectValue.java: New file.
* gnu/classpath/jdwp/value/ShortValue.java: New file.
* gnu/classpath/jdwp/value/StringValue.java: New file.
* gnu/classpath/jdwp/value/ValueFactory.java: New file.
* gnu/classpath/jdwp/value/VoidValue.java: New file.
2007-03-09 Roman Kennke <kennke@aicas.com>
* java/awt/image/SinglePixelPackageSampleModel.java
(createDataBuffer): Avoid use of Buffers class and create
DataBuffer directly in place.
2007-03-09 Roman Kennke <kennke@aicas.com>
* java/awt/image/ComponentSampleModel.java
(tightPixelPacking): Removed.
(ComponentSampleModel): Removed unnecessary 'optimization' code.
(createDataBuffer): Avoid use of Buffers helper class.
(getDataElements(int,int,int,int,Object,DataBuffer): Removed.
(getDataElements(int,int,Object,DataBuffer): Do not use Buffers
helper class and instead fetch the values directly. Don't expect
any specific DataBuffer subclass.
(setDataElements(int,int,int,int,Object,DataBuffer): Removed.
(setDataElements(int,int,Object,DataBuffer): Do not use Buffers
helper class and instead set the values directly. Don't expect
any specific DataBuffer subclass.
2007-03-08 Tom Tromey <tromey@redhat.com>
PR libgcj/31093:
* java/net/MulticastSocket.java (setTimeToLive): Allow ttl==0.
2007-03-08 Gary Benson <gbenson@redhat.com>
PR classpath/30983:
* gnu/xml/dom/ls/DomLSParser.java (getInputSource):
Do not use the entity resolver to resolve the top-level document.
2007-03-07 Tom Tromey <tromey@redhat.com>
PR classpath/31057:
* java/util/regex/Pattern.java (toString): New method.
2007-03-07 Gary Benson <gbenson@redhat.com>
PR classpath/30906:
* resource/META-INF/services/org.w3c.dom.DOMImplementationSourceList:
New file.
2007-03-06 Andrew John Hughes <gnu_andrew@member.fsf.org>
* gnu/java/lang/management/BeanImpl.java:
(translate(String)): Add horrible generics hacks
to make things work with the new type signatures.
* javax/management/loading/ClassLoaderRepository.java:
Added generic types.
* javax/management/openmbean/CompositeDataSupport.java:
Likewise.
* javax/management/openmbean/OpenMBeanOperationInfo.java:
Likewise.
* javax/management/openmbean/OpenMBeanParameterInfo.java:
Likewise.
2007-03-06 Francis Kung <fkung@redhat.com>
* gnu/java/awt/peer/gtk/FreetypeGlyphVector.java
(getGlyphOutline): Apply glyph position translation.
(getOutline): Do not apply glyph position translation.
2007-03-06 Tom Tromey <tromey@redhat.com>
* tools/gnu/classpath/tools/javah/Main.java (getName): New
method.
(getParser): Now protected. Use getName. Add '-v' alias for
--verbose.
(postParse): New method.
(run): Now protected. Use postParse.
* tools/gnu/classpath/tools/javah/GcjhMain.java: New file.
2007-03-05 Andrew John Hughes <gnu_andrew@member.fsf.org>
* gnu/javax/management/Translator.java:
(translate(String)): Use a Boolean array to
comply with the new typing.
* javax/management/openmbean/ArrayType.java:
Added generic types and updated copyright headers.
* javax/management/openmbean/CompositeData.java:
Likewise.
* javax/management/openmbean/CompositeDataSupport.java:
Likewise.
* javax/management/openmbean/CompositeType.java:
Likewise.
* javax/management/openmbean/OpenMBeanAttributeInfoSupport.java:
Likewise.
* javax/management/openmbean/OpenMBeanOperationInfoSupport.java:
Likewise.
* javax/management/openmbean/OpenMBeanParameterInfoSupport.java:
Likewise.
* javax/management/openmbean/OpenType.java:
Updated copyright header.
* javax/management/openmbean/SimpleType.java:
Added generic types and updated copyright headers.
* javax/management/openmbean/TabularData.java:
Likewise.
* javax/management/openmbean/TabularDataSupport.java:
Likewise.
* javax/management/openmbean/TabularType.java:
Likewise.
2007-03-05 Andrew John Hughes <gnu_andrew@member.fsf.org>
* gnu/java/lang/management/BeanImpl.java:
Reference the new Translator class.
(translate(String)): Moved to Translator.
* gnu/javax/management/Translator.java:
New file.
* javax/management/JMX.java:
Likewise.
* javax/management/MBeanServerInvocationHandler.java:
Likewise.
* javax/management/MXBean.java:
Likewise.
* javax/management/ObjectName.java:
(ObjectName(String)): Catch a key without a value.
* javax/management/StandardMBean.java:
(StandardMBean(Class<?>)): Handle MXBeans.
(StandardMBean(Object, Class<?>)): Likewise.
(invoke(String,Object[],String[])): Disallow
calling attribute methods and handle null signatures.
(setAttribute(Attribute)): Search for mutators
with the appropriate signature.
* javax/management/openmbean/OpenType.java:
Add generic typing.
(ALLOWED_CLASSNAMES_LIST): New field.
2007-03-02 Mario Torre <neugens@limasoftware.net>
PR classpath/31017:
committed for Petteri Räty <betelgeuse@gentoo.org>
* configure.ac: fix broken build for gcj browser plugin
2007-03-02 Mario Torre <neugens@limasoftware.net>
* java/awt/Desktop.java: new java 1.6 class.
* java/awt/peer/DesktopPeer.java: new inteface.
* gnu/java/awt/peer/GnomeDesktopPeer.java: new class.
* gnu/java/awt/peer/ClasspathDesktopPeer.java: new class.
* gnu/java/awt/peer/KDEDesktopPeer.java: new class.
* java/awt/Toolkit.java (createDesktopPeer): new method to support the
creation of DesktopPeer instances.
* gnu/java/awt/peer/qt/QtToolkit.java: update copyright notice and
organize import.
* gnu/java/awt/ClasspathToolkit.java (createDesktopPeer): new method.
2007-02-28 Keith Seitz <keiths@redhat.com>
* gnu/classpath/jdwp/processor/EventRequestCommandSet.java
(executeSet): Check if VM has capability for field access
or modification events.
* gnu/classpath/jdwp/processor/MethodCommandSet.java
(executeByteCodes): Check if VM has capability and
implement.
* gnu/classpath/jdwp/processor/ObjectReferenceCommandSet.java
(executeMonitorInfo): Likewise.
* gnu/classpath/jdwp/processor/ReferenceTypeCommandSet.java
(executeSourceDebugExtension): Likewise.
* gnu/classpath/jdwp/processor/StackFrameCommandSet.java
(executePopFrames): Likewise.
* gnu/classpath/jdwp/processor/ThreadReferenceCommandSet.java
(executeOwnedMonitors): Likewise.
(executeCurrentContendedMonitor): Likewise.
* gnu/classpath/jdwp/processor/VirtualMachineCommandSet.java
(executeCapabilities): Rewrite using new VMVirtualMachine
capabilities.
(executeRedefineClasses): Check if VM has capability and
implement.
(executeSetDefaultStratum): Likewise.
* gnu/classpath/jdwp/util/MonitorInfo.java; New file.
* vm/reference/gnu/classpath/jdwp/VMVirtualMachine.java
(canWatchFieldModification): New class constant.
(canWatchFieldAccess): Likewise.
(canGetBytecodes): Likewise.
(canGetSyntheticAttribute): Likewise.
(canGetOwnedMonitorInfo): Likewise.
(canGetCurrentContendedMonitor): Likewise.
(canGetMonitorInfo): Likewise.
(canRedefineClasses): Likewise.
(canAddMethod): Likewise.
(canUnrestrictedlyRedefineClasses): Likewise.
(canPopFrames): Likewise.
(canUseInstanceFilters): Likewise.
(canGetSourceDebugExtension): Likewise.
(canRequestVMDeathEvent): Likewise.
(canSetDefaultStratum): Likewise.
(redefineClasses): New method.
(setDefaultStratum): Likewise.
(getSourceDebugExtension): Likewise.
(getBytecodes): Likewise.
(getMonitorInfo): Likewise.
(getOwnedMonitors): Likewise.
(getCurrentContendedMonitor): Likewise.
(popFrames): Likewise.
2007-03-01 Roman Kennke <kennke@aicas.com>
* java/awt/Canvas.java
(graphicsConfiguration): Removed duplicate (from Component) field.
(Canvas(GraphicsConfiguration)): Set the Component's graphicsConfig
field.
(getGraphicsConfigurationImpl): Removed.
* java/awt/Component.java
(getGraphicsConfiguration): Moved implementation here. Synchronize
on tree lock to prevent threading nastiness. Don't query peer
and instead return the setting of the graphicsConfig field.
(getGraphicsConfigurationImpl): Removed.
* java/awt/Window.java
(graphicsConfiguration): Removed duplicate (from Component) field.
(Window): Set the Component's graphicsConfig field.
(Window(GraphicsConfiguration)): Set the Component's graphicsConfig
field.
(Window(Window,GraphicsConfiguration)): Set the Component's
graphicsConfig field.
(getGraphicsConfigurationImpl): Removed.
(getGraphicsConfiguration): Fetch the local graphics env here
if not already done and return that.
2007-02-28 Thomas Fitzsimmons <fitzsim@redhat.com>
* INSTALL: Document --with-ecj-jar configure option and ecj jar
requirement for com.sun.tools.javac support.
* configure.ac: Add --with-ecj-jar configure option.
* gnu/classpath/Configuration.java.in (ECJ_JAR): New field.
* tools/Makefile.am: Build decendents of com and sun directories.
* resource/com/sun/tools/javac/messages.properties,
resource/sun/rmi/rmic/messages.properties,
tools/com/sun/javadoc/ClassDoc.java,
tools/com/sun/javadoc/ConstructorDoc.java,
tools/com/sun/javadoc/Doc.java,
tools/com/sun/javadoc/DocErrorReporter.java,
tools/com/sun/javadoc/Doclet.java,
tools/com/sun/javadoc/ExecutableMemberDoc.java,
tools/com/sun/javadoc/FieldDoc.java,
tools/com/sun/javadoc/MemberDoc.java,
tools/com/sun/javadoc/MethodDoc.java,
tools/com/sun/javadoc/PackageDoc.java,
tools/com/sun/javadoc/ParamTag.java,
tools/com/sun/javadoc/Parameter.java,
tools/com/sun/javadoc/ProgramElementDoc.java,
tools/com/sun/javadoc/RootDoc.java,
tools/com/sun/javadoc/SeeTag.java,
tools/com/sun/javadoc/SerialFieldTag.java,
tools/com/sun/javadoc/SourcePosition.java,
tools/com/sun/javadoc/Tag.java,
tools/com/sun/javadoc/ThrowsTag.java,
tools/com/sun/javadoc/Type.java,
tools/com/sun/javadoc/TypeVariable.java,
tools/com/sun/tools/doclets/Taglet.java,
tools/com/sun/tools/javac/Main.java,
tools/com/sun/tools/javac/Messages.java,
tools/sun/rmi/rmic/Main.java, tools/sun/rmi/rmic/Messages.java:
New files.
2007-02-28 Keith Seitz <keiths@redhat.com>
* gnu/classpath/jdwp/processor/MethodCommandSet.java
(executeLineTable): Use ReferenceTypeId instead of
ClassReferenceTypeId.
(executeVariableTable): Likewise.
(executeVariableTableWithGeneric): Fix error message.
* gnu/classpath/jdwp/processor/ReferenceTypeCommandSet.java
(executeSignatureWithGeneric): Fix error message.
(executeFieldWithGeneric): Likewise.
(executeMethodsWithGeneric): Likewise.
* gnu/classpath/jdwp/processor/StackFrameCommandSet.java
(executeGetValues): Use ThreadId instead of ObjectId.
(executeSetValues): Likewise.
(executeThisObject): Likewise.
2007-02-28 Kyle Galloway <kgallowa@redhat.com>
* gnu/classpath/jdwp/id/NullObjectId.java: New class.
* gnu/classpath/jdwp/util/NullObject.java: New class.
* vm/reference/gnu/classpath/jdwp/VMIdManager.java
(getObjectId): Handle null object.
(get): Handle objectId of 0.
2007-02-26 Francis Kung <fkung@redhat.com>
* native/jni/gtk-peer/gnu_java_awt_peer_gtk_GdkFontPeer.c
(Java_gnu_java_awt_peer_gtk_GdkFontPeer_setFont): Stop using deprecated
function for creating new font map.
2007-02-26 Francis Kung <fkung@redhat.com>
* gnu/java/awt/peer/gtk/CairoGraphics2D.java
(drawCairoSurface): Do not reset clip.
(drawImage(Image,AffineTransform,Color,ImageObserver)): Likewise.
2007-02-23 Francis Kung <fkung@redhat.com>
* gnu/java/awt/peer/gtk/CairoGraphics2D.java
(drawCairoSurface): New method.
(drawImage(Image,AffineTransform,Color,ImageObserver)): Use new
drawCairoSurface() method.
* gnu/java/awt/peer/gtk/CairoSurface.java
(CairoSurface(SampleModel,CairoSurface,Rectangle,Point)): Copy correct
width/height values, and copy sharedBuffer value.
(createWritableChild): Remove debug line.
(drawSurface): Removed method.
* gnu/java/awt/peer/gtk/CairoSurfaceGraphics.java
(drawComposite): Translate image when drawing.
2007-02-23 Gary Benson <gbenson@redhat.com>
Jakub Jelinek <jakub@redhat.com>
PR libgcj/17002
PR classpath/28550
* java/util/Date.java (parse): Properly parse 09:01:02 as
hours/minutes/seconds, not as hours/minutes/year.
* java/util/SimpleTimeZone.java (SimpleTimeZone): Simplify
{start,end}TimeMode constructor by calling shorter constructor,
set {start,end}TimeMode fields after it returns.
(setStartRule): Don't adjust startTime into WALL_TIME. Set
startTimeMode to WALL_TIME.
(endStartRule): Similarly.
(getOffset): Handle properly millis + dstOffset overflowing into the
next day. Adjust startTime resp. endTime based on startTimeMode
resp. endTimeMode.
* java/util/TimeZone.java (zoneinfo_dir, availableIDs, aliases0): New
static fields.
(timezones): Remove synchronized keyword. Set zoneinfo_dir.
If non-null, set up aliases0 and don't put anything into
timezones0.
(defaultZone): Call getTimeZone instead of timezones().get.
(getDefaultTimeZone): Fix parsing of EST5 or EST5EDT6. Use
getTimeZoneInternal instead of timezones().get.
(parseTime): Parse correctly hour:minute.
(getTimeZoneInternal): New private method.
(getTimeZone): Do the custom ID checking first, canonicalize
ID for custom IDs as required by documentation. Call
getTimeZoneInternal to handle the rest.
(getAvailableIDs(int)): Add locking. Handle zoneinfo_dir != null.
(getAvailableIDs(File,String,ArrayList)): New private method.
(getAvailableIDs()): Add locking. Handle zoneinfo_dir != null.
* vm/reference/java/util/VMTimeZone.java (getDefaultTimeZoneId):
To read /etc/localtime, use ZoneInfo.readTZFile instead of
VMTimeZone.readtzFile. Get better timezone name for
/etc/localtime, either if it is a symlink or through
/etc/sysconfig/clock.
(readSysconfigClockFile): New static method.
(readtzFile): Removed.
* gnu/java/util/ZoneInfo.java: New file.
* java/lang/System.java: Add gnu.java.util.zoneinfo.dir to comments.
* NEWS: Documented TimeZone interface changes.
2007-02-23 Francis Kung <fkung@redhat.com>
* native/jni/gtk-peer/gnu_java_awt_peer_gtk_CairoSurface.c
(Java_gnu_java_awt_peer_gtk_CairoSurface_create): Remove debug line.
2007-02-22 Keith Seitz <keiths@redhat.ecom>
* vm/reference/gnu/classpath/jdwp/VMVirtualMachine.java
(getAllLoadedClassesCount): Remove.
(getAllLoadedClasses): Return a Collection.
* gnu/classpath/jdwp/processor/VirtualMachineCommandSet.java
(executeClassesBySignature): VMVirtualMachine.getAllLoadedClasses
now returns Collection.
(executeAllClasses): Likewise.
Get size of return from Colleciton instead of calling
getAllLoadedClassesCount.
2007-02-22 Kyle Galloway <kgallowa@redhat.com>
* gnu/classpath/jdwp/processor/StackFrameCommandSet.java
(executeGetValues): Pass a signature byte to VMFrame.getValue.
* vm/reference/gnu/classpath/jdwp/VMFrame.java (getValue): Add
signature parameter.
2007-02-22 Francis Kung <fkung@redhat.com>
* gnu/java/awt/peer/gtk/CairoSurface.java
(copyAreaNative): Pass surface pointer into copyAreaNative2().
(copyAreaNative2): Add parameter for surface pointer.
(getFlippedBuffer): Add parameter for surface pointer.
(getGtkImage): Pass surface pointer into getFlippedBuffer().
2007-02-21 Francis Kung <fkung@redhat.com>
* gnu/java/awt/peer/gtk/BufferedImageGraphcs.java
(constructor): Add pre-multiplied colour model to types available for
optimization.
(updateBufferedImage): Change surface.getPixels() call to surface.getData().
* gnu/java/awt/peer/gtk/CairoGraphics2D.java
(drawImage): Add checks before using CairoSurface optimization.
* gnu/java/awt/peer/gtk/CairoSurface.java
(bufferPointer): Removed field.
(sharedBuffer): New field.
(CairoSurface(GtkImage)): Copy array rather than using setPixels() call.
(CairoSurface(int,int,int)): Use getData() convenience method.
(CairoSurface(SampleModel,CairoSurface,Rectangle,Point)): Remove reference
to deleted bufferPointer field.
(copyAreaNative): Update documentation, remove reference to bufferPointer.
(copyAreaNative2): Remove reference to deleted bufferPointer field.
(destroy): Remove reference to deleted bufferPointer field.
(dispose): Updated to reflect new method signature for destroy().
(drawSurface): Added documentation.
(getData): New convience method.
(getFlippedBuffer): Removed method parameters.
(getGtkImage): Updated to reflect new method signature.
(getPixels): Removed method.
(nativeGetElem): Removed method.
(netiveGetPixels): Removed method.
(nativeSetElem): Removed method.
(nativeSetPixels): Removed method.
(setPixels): Removed method.
(syncJavaToNative): New method.
(syncNativeToJava): New method.
* gnu/java/awt/peer/gtk/CairoSurfaceGraphics.java
(draw): Sync buffers if necessary.
(drawGlyphVector): Likewise.
(drawImage): Likewise.
(drawRenderedImage): Likewise,
(fill): Likewise.
* include/gnu_java_awt_peer_gtk_CairoSurface.h: Regenerated.
* native/jni/gtk-peer/gnu_java_awt_peer_gtk_CairoSurface.c
(Java_gnu_java_awt_peer_gtk_CairoSurface_copyAreaNative2): Use pointer to
surface rather than pointer to buffer.
(Java_gnu_java_awt_peer_gtk_CairoSurface_create): Provide fall-back for
copied arrays.
(Java_gnu_java_awt_peer_gtk_CairoSurface_destroy): Handle copied arrays.
(Java_gnu_java_awt_peer_gtk_CairoSurface_getFlippedBuffer): Retrieve
information on size using JNI calls.
(Java_gnu_java_awt_peer_gtk_CairoSurface_getElem): Removed.
(Java_gnu_java_awt_peer_gtk_CairoSurface_getPixels): Removed.
(Java_gnu_java_awt_peer_gtk_CairoSurface_setElem): Removed.
(Java_gnu_java_awt_peer_gtk_CairoSurface_setPixels): Removed.
(Java_gnu_java_awt_peer_gtk_CairoSurface_syncJavaToNative): New function.
(Java_gnu_java_awt_peer_gtk_CairoSurface_syncNativeToJava): New function.
(BUFFER): Removed constant.
(SHARED): New constant.
2007-02-20 Gary Benson <gbenson@redhat.com>
* javax/management/ObjectName.java
(domainMatches): New method.
(apply): Rearranged to use the above.
2007-02-19 Mark Wielaard <mark@klomp.org>
* doc/.cvsignore: Add *.1.
* doc/Makefile.am (CLEANFILES): Add Tools_MANFILES.
2007-02-19 Dalibor Topic <robilad@kaffe.org>
* cp-hacking.texinfo, cp-tools.texinfo,
cp-vmintegration.texinfo: Prefix output file name
with cp.
2007-02-19 Gary Benson <gbenson@redhat.com>
* javax/management/ObjectName.java
(properties): Initialize when declared.
(ObjectName(String)): Don't initialize properties here.
(ObjectName(String, String, String): Likewise.
2007-02-19 Chris Burdess <dog@gnu.org>
Fixes #30831
* gnu/xml/dom/ls/SAXEventSink.java: Only set extended document
properties when reader is available.
2007-02-19 Andrew John Hughes <gnu_andrew@member.fsf.org>
* javax/management/MBeanServer.java:
(queryMBeans(ObjectName,QueryExp)): Returned
generically-typed Set.
(queryNames(ObjectName,QueryExp)): Likewise.
* javax/management/MBeanServerConnection.java:
(queryMBeans(ObjectName,QueryExp)): Returned
generically-typed Set.
(queryNames(ObjectName,QueryExp)): Likewise.
* javax/management/ObjectName.java:
Use a generically-typed TreeMap.
(ObjectName(String,Hashtable<String,String>):
Genericized.
(getKeyPropertyList()): Likewise.
* javax/management/StandardMBean.java:
Use a generically-typed interface class.
(StandardMBean(Class<?>)): Genericized.
(StandardMBean(T, Class<T>)): Likewise.
(getImplementationClass()): Likewise.
(getMBeanInterface()): Likewise.
2007-02-19 Andrew John Hughes <gnu_andrew@member.fsf.org>
* javax/management/Descriptor.java:
New file.
* javax/management/DescriptorRead.java:
Likewise.
* javax/management/DescriptorAccess.java:
Likewise.
2007-02-16 Matthias Klose <doko@ubuntu.com>
* doc/Makefile.am: Add rules to build and install man pages
from texinfo docs.
* doc/hacking.texinfo doc/tools.texinfo, doc/vmintegration.texinfo:
Rename, prefix files with "cp-".
* doc/cp-tools.texinfo: Add markup for man page generation,
add documentation for command line options for gjar, gjavah,
gnative2ascii, gorbd, grmid, grmiregistry, gserialver, gtnameserv.
doc/texi2pod.pl: New, taken from the GCC sources.
2007-02-16 Francis Kung <fkung@redhat.com>
* gnu/java/awt/ClasspathGraphicsEnvironment.java: New file.
* gnu/java/awt/peer/gtk/CairoSurface.java
(CairoDataBuffer): Removed inner class.
(CairoSurface(int,int,int,int)): New constructor.
(CairoSurface(int,int)): Delegate to new constructor.
(CairoSurface(SampleModel,CairoSurface,Rectangle,Point)): New constructor
for creating child rasters.
(create): Added int[] parameter.
(createChild): New method.
(createCompatibleWritableRaster): New methods.
(createTranslatedChild): New method.
(createWritableChild): New method.
(createWritableTranslatedChild): New method.
(destroy): Added int[] parameter.
(dispose): Only free native resources if this Surface has no parents.
(isCompatibleColorModel): New method.
(isCompatibleSampleModel): New method.
* gnu/java/awt/peer/gtk/CairoSurfaceGraphics.java
(draw): Set transform, smarter bounds generation.
(drawComposite): Improved clipping.
(drawImage): Fixed bounds translation.
(drawRenderedImage): Set transform in buffer.
(fill): Set transform in buffer.
* gnu/java/awt/peer/gtk/GdkGraphicsEnvironment.java
(createRaster): New method.
* java/awt/image/BufferedImage.java
(BufferedImage(int,int,int)): Use optimized raster if possible.
* include/gnu_java_awt_peer_gtk_CairoSurface.h: Regenerated.
* native/jni/gtk-peer/gnu_java_awt_peer_gtk_CairoSurface.c
(Java_gnu_java_awt_peer_gtk_CairoSurface_create): Share data buffer between
Cairo and Java.
(Java_gnu_java_awt_peer_gtk_CairoSurface_destroy): Free data array.
2007-02-16 Francis Kung <fkung@redhat.com>
* javax/management/NotificationBroadcasterSupport.java: Update imports.
2007-02-16 Andrew Haley <aph@redhat.com>
* gnu/java/lang/management/MemoryMXBeanImpl.java,
javax/management/MBeanServerDelegate.java: Use
gnu.javax.management.ListenerData rather than
gnu.classpath.ListenerData.
* gnu/javax/management/ListenerData.java: Move here from
gnu/classpath/ListenerData.java.
2006-10-14 Edwin Steiner <edwin.steiner@gmx.net>
PR classpath/28652:
* javax/management/MBeanInfo.java (MBeanInfo):
Use clone to duplicate the arrays in order to
preserve the array type.
2007-02-15 Gary Benson <gbenson@redhat.com>
* gnu/javax/management/Server.java
(registerMBean): Always register objects that implement the
MBeanRegistration interface, and check the name returned by
preRegister before using it.
2007-02-15 Roman Kennke <kennke@aicas.com>
* java/nio/ByteOrder.java
(nativeOrder): Avoid NPE when comparing a system property.
2007-02-13 Gary Benson <gbenson@redhat.com>
* javax/management/ObjectName.java
(toString): Return this item's canonical name.
2007-02-12 Francis Kung <fkung@redhat.com>
* gnu/java/awt/ClasspathToolkit.java:
* gnu/java/awt/peer/gtk/AsyncImage.java,
* 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/ComponentGraphics.java,
* gnu/java/awt/peer/gtk/FreetypeGlyphVector.java,
* gnu/java/awt/peer/gtk/GdkFontPeer.java,
* gnu/java/awt/peer/gtk/GdkPixbufDecoder.java,
* gnu/java/awt/peer/gtk/GdkScreenGraphicsDevice.java,
* gnu/java/awt/peer/gtk/GtkCheckboxPeer.java,
* gnu/java/awt/peer/gtk/GtkChoicePeer.java,
* gnu/java/awt/peer/gtk/GtkClipboard.java,
* gnu/java/awt/peer/gtk/GtkClipboardNotifier.java,
* gnu/java/awt/peer/gtk/GtkComponentPeer.java,
* gnu/java/awt/peer/gtk/GtkFileDialogPeer.java,
* gnu/java/awt/peer/gtk/GtkFramePeer.java,
* gnu/java/awt/peer/gtk/GtkImage.java,
* gnu/java/awt/peer/gtk/GtkImageConsumer.java,
* gnu/java/awt/peer/gtk/GtkLabelPeer.java,
* gnu/java/awt/peer/gtk/GtkListPeer.java,
* gnu/java/awt/peer/gtk/GtkMainThread.java,
* gnu/java/awt/peer/gtk/GtkMenuBarPeer.java,
* gnu/java/awt/peer/gtk/GtkMenuComponentPeer.java,
* gnu/java/awt/peer/gtk/GtkMenuPeer.java,
* gnu/java/awt/peer/gtk/GtkMouseInfoPeer.java,
* gnu/java/awt/peer/gtk/GtkScrollbarPeer.java,
* gnu/java/awt/peer/gtk/GtkScrollPanePeer.java,
* gnu/java/awt/peer/gtk/GtkSelection.java,
* gnu/java/awt/peer/gtk/GtkTextAreaPeer.java,
* gnu/java/awt/peer/gtk/GtkTextFieldPeer.java,
* gnu/java/awt/peer/gtk/GtkToolkit.java,
* gnu/java/awt/peer/gtk/GtkWindowPeer.java,
* gnu/java/awt/peer/gtk/VolatileImageGraphics.java,
* java/awt/RenderingHints.java,
* java/awt/image/BufferedImage.java: Reformatted and added generics.
2007-02-12 Tom Tromey <tromey@redhat.com>
* java/net/Socket.java (bind): Typo fix.
2007-02-12 Tom Tromey <tromey@redhat.com>
* vm/reference/java/lang/reflect/Method.java (getDefaultValue):
New method.
* sun/reflect/annotation/AnnotationInvocationHandler.java (create):
New method.
(arrayClone): New method.
(invoke): Clone array return results.
2007-02-12 Jakub Jelinek <jakub@redhat.com>
PR 23566
* scripts/timezones.pl: Parse each file in 2 passes, in one parse
just Rule lines, in the other everything else. Pass 0 instead of
$savings as second argument to parseRule when parsing the start
rule.
* java/util/TimeZone.java (timezones): Regenerate from tzdata2007a.
2007-02-12 Jakub Jelinek <jakub@redhat.com>
* vm/reference/java/util/VMTimeZone.java: Rewrite to handle both
the old 'TZif\0' format and the new one.
* java/util/TimeZone.java: Handle default (one hour) daylight
savings.
2007-02-12 Andrew John Hughes <gnu_andrew@member.fsf.org>
* javax/management/Query.java:
New file.
* javax/management/StandardMBean.java:
Use the implementation's class loader.
2007-02-10 Mark Wielaard <mark@klomp.org>
* javax/swing/plaf/metal/MetalFileChooserUI.java: Import Date from
java.util, not from java.sql.
2007-02-10 Roman Kennke <kennke@aicas.com>
* javax/imageio/stream/ImageOutputStreamImpl.java
(flushBits): Implemented.
(writeBit): Implemented.
(writeBits): Implemented.
2007-02-10 Roman Kennke <kennke@aicas.com>
* javax/swing/TransferHandler.java
(SwingDragGestureRecognizer): New inner class.
(SwingDragHandler): New inner class.
(recognizer): New field.
(exportAsDrag): Implemented missing method.
2007-02-10 Roman Kennke <kennke@aicas.com>
* java/awt/GraphicsConfiguration.java
(createCompatibleVolatileImage(int,int,ImageCapabilities): Provide
default implementation that delegates to
createCompatibleVolatileImage(int,int).
(createCompatibleVolatileImage(int,int,ImageCapabilities,int):
New method from JDK5 spec. Default implementation by delegating to
(createCompatibleVolatileImage(int,int,int).
2007-02-09 Tom Tromey <tromey@redhat.com>
PR libgcj/30647:
* configure.ac: Also check for jack/jack.h.
2007-02-09 Mario Torre <neugens@limasoftware.net>
* java/io/File.java: remove import for
gnu.classpath.NotImplementedException.
(getUsableSpace): removed stub.
(getFreeSpace): likewise.
(getTotalSpace): likewise.
2007-02-09 Mario Torre <neugens@limasoftware.net>
* vm/reference/java/io/VMFile.java:
(canExecute): new 1.6 native method.
(setReadable): likewise.
(setWritable): likewise.
(setExecutable): likewise.
* java/io/File.java: added import for gnu.classpath.NotImplementedException.
(setReadOnly): new 1.6 method.
(canExecute): likewise.
(setReadable): likewise.
(setWritable): likewise.
(setExecutable): likewise.
(getUsableSpace): added stub for new 1.6 method.
(getFreeSpace): likewise.
(getTotalSpace): likewise.
(checkExec): new private method to support new 1.6 additions.
* native/jni/java-io/java_io_VMFile.c:
set_file_permissions: new helper function.
Java_java_io_VMFile_setReadable: new native method to bakcup 1.6 methods
in VMFile.java.
Java_java_io_VMFile_setWritable: likewise.
Java_java_io_VMFile_setExecutable: likewise.
Java_java_io_VMFile_canExecute: likewise.
* native/jni/native-lib/cpio.h: added new flags: CPFILE_FLAG_EXEC,
CPFILE_FLAG_USR and CPFILE_FLAG_OFF.
cpio_chmod: new function declaration.
cpio_checkAccess: likewise.
* native/jni/native-lib/cpio.c:
cpio_chmod: new function definition.
cpio_checkAccess: likewise.
2007-02-09 Gary Benson <gbenson@redhat.com>
* javax/management/ObjectName.java
(quote): Initialize StringBuilder correctly.
2007-02-09 Francis Kung <fkung@redhat.com>
* java/awt/image/BufferedImage: Reformatted.
2007-02-09 Ito Kazumitsu <kaz@maczuka.gcd.org>
Fixes bug #30732
* gnu/java/util/regex/RETokenChar.java(chain): Check whether the next
token has a next token.
2007-02-08 Roman Kennke <kennke@aicas.com>
PR 30347
* javax/swing/JViewport.java
(scrollRectToVisible): Use correct X/Y offset for calculations.
(paintBackingStore): Update backbuffer when we are not the paint
root.
2007-02-08 Roman Kennke <kennke@aicas.com>
* java/awt/image/SinglePixelPackedSampleModel.java
(getDataElements(int,int,Object,DataBuffer)):
Replace DataBuffer using method with simple
switch. This does not check for the exact type (class) of the
DataBuffer but instead checks the transfer type.
(getDataElements(int,int,int,intObject,DataBuffer)): Removed.
(setDataElements): Fixed indentation.
(setPixels): Removed unused statement.
2007-02-07 Tom Tromey <tromey@redhat.com>
* tools/gnu/classpath/tools/javah/PathOptionGroup.java
(PathOptionGroup): Allow '-cp' as well.
2007-02-07 Chris Burdess <dog@gnu.org>
Fixes PR 30718.
* gnu/xml/dom/ls/SAXEventSink.java: Add public accessor/mutators.
* gnu/xml/transform/XSLURIResolver.java: Add support for custom
SAXSources without a backing URL or stream.
2007-02-06 Tom Tromey <tromey@redhat.com>
PR libgcj/30707:
* tools/gnu/classpath/tools/javah/JniIncludePrinter.java
(printClass): Always print a header.
2007-02-06 Chris Burdess <dog@gnu.org>
Fixes PR 27710.
* gnu/xml/dom/DomDocumentBuilderFactory.java: Fall back to synchronous
LSParser if implementation does not support asynchronous.
* gnu/xml/stream/XMLParser.java,
gnu/xml/stream/XIncludeFilter.java: Use custom code instead of
java.net.URL to resolve to an an absolute URI, to avoid nonexistent
protocol handler problems.
2007-02-05 Andrew Haley <aph@redhat.com>
PR cp-tools/30706
* tools/gnu/classpath/tools/javah/JniIncludePrinter.java:
(printClass): Replace '/' in filenames with '_'.
* tools/gnu/classpath/tools/javah/JniStubPrinter.java
(printClass): Likewise.
2007-02-05 Tom Tromey <tromey@redhat.com>
* java/net/Proxy.java (equals): Handle case where address==null.
(hashCode): Likewise.
(toString): Likewise.
2007-02-04 Jeroen Frijters <jeroen@frijters.net>
* java/lang/Class.java
(newInstance): Moved setAccessible call to helper method.
(getEnumConstants): Call new helper method to allow values method to be
called on non-public enum classes.
(setAccessible): New helper method.
* java/lang/Enum.java
(valueOf): Call new helper method in class to allow field value to
be read on non-public enum classes.
2007-02-04 Jeroen Frijters <jeroen@frijters.net>
Fix for #30693
* gnu/java/nio/charset/ByteCharset.java
(ByteCharset.Decoder.decodeLoop): Reset input buffer position if
the byte read was unmappable.
2007-02-02 Kyle Galloway <kgallowa@redhat.com>
* gnu/classpath/jdwp/processor/StackFrameCommandSet.java
(executeGetValues): Changed getFrame to use a jlong to pass frameID.
(executeSetValues): Ditto.
(executeThisObject): Ditto.
* vm/reference/gnu/classpath/jdwp/VMFrame.java: Added thread field and a
constructor used to create VMFrames.
(getThread): New method.
* vm/reference/gnu/classpath/jdwp/VMVirtualMachine.java(getFrame): Changed
to take a long instead of a ByteBuffer to pass the frameID.
2007-02-01 Tom Tromey <tromey@redhat.com>
* java/util/logging/LogManager.java (reset): Remove bogus
'while'.
2007-01-31 Casey Marshall <csm@gnu.org>
* gnu/javax/net/ssl/Base64.java: move to `gnu/java/util/Base64.java.'
* gnu/javax/net/ssl/PrivateCredentials.java: clean up unused imports.
(add): use `gnu.java.util.Base64.'
* gnu/java/net/protocol/http/Request.java (authenticate): use
`gnu.java.util.Base64.'
* tools/gnu/classpath/tools/jarsigner/HashUtils.java (hashStream):
likewise.
* tools/gnu/classpath/tools/keytool/CertReqCmd.java (start): likewise.
* tools/gnu/classpath/tools/keytool/ExportCmd.java (start): likewise.
* tools/gnu/classpath/tools/keytool/ListCmd.java (printRFC1421):
likewise.
* gnu/java/net/Base64.java: removed.
* gnu/java/security/util/Base64.java: removed.
2007-01-31 Casey Marshall <csm@gnu.org>
Fixes PR classpath/24191.
Fix suggested by Rafael Teixeira <monoman@gmail.com>.
* javax/crypto/CipherOutputStream.java (write): check return value
of `update' for null.
2007-01-31 Tom Tromey <tromey@redhat.com>
* resource/gnu/classpath/tools/jar/messages.properties
(Main.Stdin): New message.
* tools/gnu/classpath/tools/jar/Main.java (initializeParser): Add
'-@' option.
(readNames): New method.
(run): Use it.
2007-01-30 Roman Kennke <kennke@aicas.com>
PR 20577
* javax/swing/DefaultDesktopManager.java
(activateFrame): Added a bunch of null checks. Don't call
JInternalFrame.setSelected() to avoid recursion.
2007-01-29 Andrew Haley <aph@redhat.com>
* java/lang/SecurityManager.java (SecurityManager): Load and
initialize java.security.Security.
2007-01-28 Ito Kazumitsu <kaz@maczuka.gcd.org>
* native/jni/java-nio/gnu_java_nio_VMChannel.c
(Java_gnu_java_nio_VMChannel_accept): Throw SocketTimeoutException
in case of timeout.
* native/jni/java-nio/javanio.c(cpnio_accept): Call select() if
SO_RCVTIMEO is set.
2007-01-26 Tom Tromey <tromey@redhat.com>
* tools/gnu/classpath/tools/javah/FieldHelper.java (print): Print
'volatile' after field type.
2007-01-26 Chris Burdess <dog@gnu.org>
Fixes #30597
* gnu/xml/dom/DomDocumentBuilder.java: Throw IOException where cause
of LSException is an IOException.
* gnu/xml/dom/ls/DomLSParser.java,
gnu/xml/stream/SAXParser.java: Ensure coalescing feature is set
correctly during LS parsing.
2007-01-21 Andrew John Hughes <gnu_andrew@member.fsf.org>
* javax/management/PersistentMBean.java:
New file.
2007-01-21 Andrew John Hughes <gnu_andrew@member.fsf.org>
* javax/management/AttributeChangeNotificationFilter.java:
Correct typo.
* javax/management/NotificationFilterSupport.java:
New file.
2007-01-21 Mark Wielaard <mark@klomp.org>
* java/security/SecureClassLoader.java (defineClass): Method returns
Class<?>.
* java/security/SignatureSpi.java (engineUpdate(ByteBuffer):
Does not throw SignatureException. Chain SignatureException inside
IllegalStateException.
2007-01-21 Andrew John Hughes <gnu_andrew@member.fsf.org>
* javax/management/NotificationBroadcasterSupport.java:
New file.
2007-01-20 Ito Kazumitsu <kaz@maczuka.gcd.org>
* java/text/DecimalFormat.java(parse): Corrected the ParsePosition
settings.
2007-01-20 Ito Kazumitsu <kaz@maczuka.gcd.org>
* java/text/SimpleDateFormat(parse): Corrected the usage of
NumberFormat.
2007-01-20 Ito Kazumitsu <kaz@maczuka.gcd.org>
Fixes bug #30488
* native/jni/native-lib/cpnet.c(SOCKET_NOSIGNAL): Deleted,
(setsockopt_NOSIGPIPE): New function,
(cpnet_send): Corrected the option setting to send(),
(cpnet_sendTo): Corrected the option setting to sendto().
2007-01-19 Marco Trudel <mtrudel@gmx.ch>
* java/util/Arrays.java (binarySearch): Change comparison order.
2007-01-17 Keith Seitz <keiths@redhat.com>
* gnu/classpath/jdwp/events/filters/StepFilter.java:
Update javadoc.
(matches): Implement.
* gnu/classpath/jdwp/event/EventManager.java (EventManager): Honor
agent startup suspension for VM_INIT.
2007-01-17 Tom Tromey <tromey@redhat.com>
* tools/gnu/classpath/tools/javah/PathOptionGroup.java
(PathOptionGroup): Set default boot class path.
2007-01-17 Mark Wielaard <mark@klomp.org>
* javax/activity/ActivityCompletedException.java: Make constructors
public.
* javax/activity/ActivityRequiredException.java: Likewise.
* javax/activity/InvalidActivityException.java: Likewise.
2007-01-17 Roman Kennke <kennke@aicas.com>
* javax/swing/plaf/basic/BasicRadioButtonUI.java
(paint): Use helper method to figure out icon. Don't override
the icon field in that class. Check for null icons.
(getCurrentIcon): New helper function to determine icon to be
painted.
2007-01-17 Mark Wielaard <mark@klomp.org>
* javax/activity/ActivityCompletedException.java: New file.
* javax/activity/ActivityRequiredException.java: Likewise.
* javax/activity/InvalidActivityException.java: Likewise.
* javax/activity/package.html: Likewise.
2007-01-15 Andrew John Hughes <gnu_andrew@member.fsf.org>
* javax/management/DefaultLoaderRepository.java:
(loadClass(String)): Made static.
(loadClassWithout(String,ClassLoader)): Likewise.
2007-01-15 Kyle Galloway <kgallowa@redhat.com>
* gnu/classpath/jdwp/exception/TypeMismatchException.java: New file.
* gnu/classpath/jdwp/exception/InvalidFrameException.java: Fix indentation.
* gnu/classpath/jdwp/exception/InvalidSlotException.java: Fix indentation.
2007-01-15 Andrew John Hughes <gnu_andrew@member.fsf.org>
* javax/management/AttributeValueExp.java:
Corrected serialVersionUID typo.
* javax/management/DefaultLoaderRepository.java:
New file.
* javax/management/MBeanServerFactory.java:
Add generic typing.
2007-01-15 Kyle Galloway <kgallowa@redhat.com>
* gnu/classpath/jdwp/exception/InvalidFrameException.java: New file.
2007-01-15 Kyle Galloway <kgallowa@redhat.com>
* gnu/classpath/jdwp/exception/AbsentInformationException.java: New file.
2007-01-15 Kyle Galloway <kgallowa@redhat.com>
* gnu/classpath/jdwp/exception/InvalidSlotException.java: New file.
2007-01-14 Andrew John Hughes <gnu_andrew@member.fsf.org>
* javax/management/AttributeValueExp.java: New file.
* javax/management/QueryEval.java: Likewise.
* javax/management/StringValueExp.java: Likewise.
2007-01-14 Andrew John Hughes <gnu_andrew@member.fsf.org>
* javax/management/AttributeChangeNotificationFilter.java:
New file.
2007-01-11 Andreas Tobler <a.tobler@schweiz.org>
* examples/gnu/classpath/examples/awt/AicasGraphicsBenchmark.java
(AicasGraphicsBenchmark): Load images from ../icons.
* examples/gnu/classpath/examples/java2d/J2dBenchmark.java (init):
Likewise.
* examples/Makefile.am (EXAMPLE_ICONS): Add rule to copy *.gif files
to icons.
* examples/gnu/classpath/examples/awt/aicas.png: Move to ../icons.
Delete here.
* examples/gnu/classpath/examples/awt/palme.gif: Likewise.
* examples/gnu/classpath/examples/java2d/aicas.png: Likewise.
* examples/gnu/classpath/examples/java2d/palme.gif: Likewise.
* examples/gnu/classpath/examples/icons/aicas.png: Moved.
* examples/gnu/classpath/examples/icons/palme.gif: Likewise.
2007-01-09 Tania Bento <tbento@redhat.com>
* java/security/Permission.java:
(toString): If there are no actions, then there should not
be a space between its name and ')'.
2007-01-08 Andrew John Hughes <gnu_andrew@member.fsf.org>
* javax/management/AttributeChangeNotification.java:
New file.
2007-01-08 Cameron McCormack <cam@mcc.id.au>
PR 30355
* java/util/Arrays.java:
(binarySearch(byte[],byte)): Added check for zero-length array.
(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(Object[],Object)): Likewise.
(binarySearch(T[],T,Comparator)): Likewise.
2007-01-08 Tom Tromey <tromey@redhat.com>
* tools/gnu/classpath/tools/native2ascii/Native2ASCII.java (run):
Fix length check. PR classpath/30346.
2007-01-09 Raif S. Naffah <classpath@naffah-raif.name>
* tools/gnu/classpath/tools/jarsigner/SFHelper.java: Updated copyright year.
(sfEntries): Use generics.
(writeDSA()): Likewise.
(startSigning()): Likewise.
(updateEntry()): Likewise.
* tools/gnu/classpath/tools/jarsigner/Messages.java: Updated copyright year.
(CACHED_FORMATS): Use generics.
(getFormattedString()): Likewise.
* tools/gnu/classpath/tools/jarsigner/Main.java: Updated copyright year.
(fileAndAlias): Use generics.
(ToolParser.validate()): Likewise.
* tools/gnu/classpath/tools/jarsigner/JarVerifier.java:
Updated copyright year.
Re-ordered imports and removed unused entries.
(entryHashes): Use generics.
(start()): Likewise.
(verifySFEntries()): Likewise.
Use map's entrySet() instead of its keySet().
2007-01-08 Andrew John Hughes <gnu_andrew@member.fsf.org>
* java/text/DateFormat.java:
(computeInstance(int,int,Locale,boolean,boolean)):
Throw an exception when locale info. is unavailable.
(computeDefault(int,int,boolean,boolean)): New method.
(getDateInstance(int,Locale)): Check providers.
(getDateTimeInstance(int,int,Locale)): Likewise.
(getTimeInstance(int,Locale)): Likewise.
* java/text/DateFormatSymbols.java:
Update documentation to match DecimalFormatSymbols.
* java/text/DecimalFormatSymbols.java:
(DecimalFormatSymbols(Locale)): Reordered.
(getInstance()): Implemented.
(getInstance(Locale)): Implemented.
* java/text/NumberFormat.java:
(computeInstance(Locale,String,String)):
Throw an exception when locale info is unavailable.
(getCurrencyInstance(Locale)): Check providers.
(getIntegerInstance(Locale)): Likewise.
(getNumberInstance(Locale)): Likewise.
(getPercentInstance(Locale)): Likewise.
* java/text/spi/DateFormatProvider.java: New file.
* java/text/spi/DecimalFormatSymbolsProvider.java: Likewise.
* java/text/spi/NumberFormatProvider.java: Likewise.
2007-01-07 Ito Kazumitsu <kaz@maczuka.gcd.org>
Fixes bug #30377
* native/jni/native-lib/cpnet.h: Add some include files.
2007-01-07 Roman Kennke <roman@kennke.org>
PR 30337
* java/awt/Component.java
(getFontImpl): Return null when the component has no font set
and also has no parent yet.
* javax/swing/plaf/basic/BasicComboBoxUI.java
(PropertyChangeHandler.propertyChange): Only add editor when combo
box is editable. Avoid fetching the property name repeatedly.
Invalidate when renderer or prototypeDisplayValue change.
(uninstallComponents): Unconfigure everything and then remove all
components.
* javax/swing/plaf/basic/BasicComboPopup.java
(uninstallingUI): Don't nullify list model.
* javax/swing/plaf/metal/MetalComboBoxUI.java
(createArrowButton): Pass currentValuePane to the MetalComboBoxButton
constructor rather than a new (unconnected) CellRendererPane.
2007-01-06 Roman Kennke <roman@kennke.org>
PR 30337
* javax/swing/plaf/basic/BasicComboBoxUI.java
(installUI): Install popup and list here.
Don't configure the arrow button and editor here.
(installComponents): Don't install popup and list here. (Moved
to installUI). Configure arrow button here and check for null.
(addEditor): Configure editor here.
(configureArrowButton): Directly fetch listeners from popup.
(paintCurrentValue): Removed unused local variables.
(layoutContainer): Removed unused local variables.
(PropertyChangeHandler.propertyChange): Don't invalidate minimumSize
on each property change. Avoid calling getPropertyName() repeatedly.
Clean up. Call addEditor() when editor changes. Configure and
unconfigure editor when editable changes. Use 'model' instead
of non-existing 'dataModel' property.
* javax/swing/plaf/basic/BasicComboPopup.java
(uninstallingUI): Remove property change listener and item listener
here. Uninstall list listeners. Set model to null to prevent leakage.
(configureList): Don't sync list selection there.
(uninstallComboBoxListeners): Moved to uninstallingUI.
(uninstallListeners): Moved to uninstallingUI.
* javax/swing/plaf/metal/MetalComboBoxUI.java
(createPopup): Call super.
(getMinimumSize): Removed unused statement.
2007-01-06 Andrew John Hughes <gnu_andrew@member.fsf.org>
* java/text/Collator.java:
(getInstance(Locale)): Check providers.
* java/text/spi/CollatorProvider.java:
New file.
2007-01-04 Roman Kennke <roman@kennke.org>
PR 30122
* java/awt/Component.java
(getFont): Don't synchronize on tree lock here. The method is
thread-safe 'enough' by fetching local variables in getFontImpl().
2007-01-04 Roman Kennke <roman@kennke.org>
* java/awt/AWTEvent.java
(toString): Don't include the whole component in the output,
only its name.
* java/awt/Component.java
(isShowing): Create local copy of parent field for better
thread safety and efficiency.
* java/awt/EventDispatchThread.java
(EventDispatchThread): Make sure the event thread is not a daemon
thread in case it gets started by a daemon thread.
* java/awt/image/IndexColorModel.java
(createColorMap): New helper method for creating the color map.
(IndexColorModel): (all constructors) use createColorMap() helper
method.
2007-01-04 Roman Kennke <roman@kennke.org>
* gnu/java/awt/font/autofit/GlyphHints.java
(alignStrongPoints): Don't special case the vertical dimension.
(computeInflectionPoints): Corrected computation of inflection
points.
* gnu/java/awt/font/autofit/Utils.java
(ANGLE_4PI): Removed.
(ANGLE_PI2): New constant for PI/2.
(ANGLE_PI4): New constant for PI/4.
(angleDiff): Fixed.
(atan): Fixed.
2007-01-03 Cameron McCormack <cam@mcc.id.au>
Fixes bug #29246
* java/awt/Toolkit.java (getLockingKeyState): Use AWTUtilities
isValidKey method. Throw UnsupportedOperationException on a valid
key (for which no locking state can be given).
* gnu/java/awt/AWTUtilities.java (isValidKey): New method.
* gnu/java/awt/peer/gtk/GtkToolkit.java (getLockingKeyState): New
method.
* native/jni/gtk-peer/gnu_java_awt_peer_gtk_GtkToolkit.c
(Java_gnu_java_awt_peer_gtk_GtkToolkit_getLockState): New method.
* include/gnu_java_awt_peer_gtk_GtkToolkit.h: Regenerated.
2007-01-03 Andrew John Hughes <gnu_andrew@member.fsf.org>
* java/text/BreakIterator.java:
(getCharacterInstance(Locale)): Check providers.
(getLineInstance(Locale)): Likewise.
(getSentenceInstance(Locale)): Likewise.
(getWordInstance(Locale)): Likewise.
* java/text/spi/BreakIteratorProvider.java:
New file.
* java/text/spi/DateFormatSymbolsProvider.java:
Update header text.
* java/util/ServiceConfigurationError.java:
Add serialVersionUID.
2007-01-03 Francis Kung <fkung@redhat.com>
* gnu/java/awt/peer/gtk/CairoGraphics2D.java:
(copy): Copy and set antialias value.
2007-01-03 Tania Bento <tbento@redhat.com>
* java/awt/CardLayout.java:
(maximumLayoutSize): Return a new Dimension with a width of value
Integer.MAX_VALUE and a height of value Integer.MAX_VALUE if Component
has no components.
2007-01-03 Andrew John Hughes <gnu_andrew@member.fsf.org>
* java/text/DateFormatSymbols.java:
(getZoneStrings(ResourceBundle)): Changed to...
(getZoneStrings(ResourceBundle,Locale)): Added
use of TimeZoneNamesProvider.
(getZoneStrings()): Return either mutated zone
strings or initial ones.
(getInstance(Locale)): Check DateFormatSymbolsProvider
instances.
* java/text/spi/DateFormatSymbolsProvider.java:
New file.
* java/text/spi/package.html: New file.
2007-01-02 Andrew John Hughes <gnu_andrew@member.fsf.org>
* java/util/Currency.java:
(getSymbol(Locale)): Removed unneeded variable
and terminate loop early.
* java/util/Locale.java:
(getDisplayLanguage(Locale)): Fixed to use
LocaleNameProvider.
(getDisplayCountry(Locale)): Likewise.
(getDisplayVariant(Locale)): Likewise.
* java/util/spi/LocaleNameProvider.java:
New file.
* java/util/spi/TimeZoneNameProvider.java:
Likewise.
2007-01-02 Andrew John Hughes <gnu_andrew@member.fsf.org>
* gnu/java/locale/LocaleHelper.java:
(getLocalizedString(Locale,String,String,boolean,
boolean)): Removed, no longer needed.
(getFallbackLocale(Locale)): Implemented.
* java/lang/String.java:
(isEmpty()): Implemented.
* java/util/Currency.java:
(getSymbol(Locale)): Reimplemented to use SPI.
* java/util/Locale.java:
(ROOT): Added.
* java/util/spi/CurrencyNameProvider.java:
New file.
* java/util/spi/LocaleServiceProvider.java:
Likewise.
* java/util/spi/package.html: Likewise.
2007-01-02 Roman Kennke <roman@kennke.org>
* gnu/java/awt/java2d/AbstractGraphics2D.java
(FONT): New constant field. This is the default font to use as long
as nothing else is set.
(paintContext): New field. Temporarily stores the paint context.
(scanlineConverters): New field. Stores the scanline converters
for each thread.
(shapeCache): Genericified.
(STANDARD_HINTS): New constant field. The standard rendering hints
as long as nothing else is set.
(STANDARD_STROKE): New constant field. The standard stroke as long
as nothing else is set.
(static_initializer): Initialize standard hints.
(AbstractGraphics2D): Use constant fields for hints and stroke.
(drawGlyphVector): Use simpler method to draw the outline.
(fillScanline): Use paintContext field.
(fillShape): Use new ScanlineConverter to fill shapes.
(fillShapeAntialias): Removed. This will be done in fillShape.
(fillShapeImpl): Removed. This is done now in the ScanlineConverter
class.
(getScanlineConverter): New method. Returns the scanline converter
for each thread.
(getSegments): Removed. This is now implemented in ScanlineConverter.
(getShapeCache): Use genericified shapeCache field.
(init): Use fixed default font. Don't fetch destination raster here.
* gnu/java/awt/java2d/ActiveEdges.java: New class. Stores a set
of active edges for scanline conversion.
* gnu/java/awt/java2d/PolyEdge.java
(poolNext): Implements linked list for edge pool.
(scanlineNext): Implements linked list for scanline edge lists.
(slope): Use fixed point decimal.
(slope,x0,y0,x1,y1,xIntersection): Use fixed point decimal.
(PolyEdge()): New constructor.
(PolyEdge): Use fixed point decimals.
(init): Use fixed point decimals.
(intersect): New method. Intersects this edge with a scanline.
* gnu/java/awt/java2d/Scanline.java: New class. A list of edges
for a scanline plus utilities.
* gnu/java/awt/java2d/ScanlineConverter.java: New class. Implements
an efficient scanline converter for rendering Shape objects.
2007-01-02 Roman Kennke <roman@kennke.org>
* gnu/java/math/Fixed.java: New class. Fixed point arithmetics
utilities.
2007-01-01 Andrew John Hughes <gnu_andrew@member.fsf.org>
* ChangeLog-2006: New file.
* gnu/classpath/ServiceFactory.java:
Add option of throwing a ServiceConfigurationError.
(lookupProviders(Class,ClassLoader,boolean)): Implemented.
* java/util/ServiceConfigurationError.java: New file.
* java/util/ServiceLoader.java: Likewise.
Local Variables:
coding: iso-latin-1-unix
End:
|