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
|
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
partially 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 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.
2006-01-13 Mark Wielaard <mark@klomp.org>
* configure.ac: Set version to 0.20.
* NEWS: Add entries for all the new work done.
2006-01-13 Mark Wielaard <mark@klomp.org>
* javax/swing/text/DefaultCaret.java: Chain all AssertionErrors.
2006-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.
2006-01-13 Jeroen Frijters <jeroen@frijters.net>
* java/security/Security.java
(getProperty): Added hack to skip security check when trusted
code is direct caller.
2006-01-13 Jeroen Frijters <jeroen@frijters.net>
* java/io/PrintStream.java
(line_separator, PrintStream(OutputStream,boolean)): Use
SystemProperties.
2006-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.
2006-01-13 Mark Wielaard <mark@klomp.org>
* javax/swing/JMenuItem.java (JMenuItem(Action)): Check whether
name, accel, mnemonic and command are defined before setting.
2006-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.
Local Variables:
coding: iso-latin-1-unix
End:
|