]> gcc.gnu.org Git - gcc.git/blame - libjava/ChangeLog
HandshakeCompletedEvent.java, [...]: Import cleanup.
[gcc.git] / libjava / ChangeLog
CommitLineData
875dc6aa
MK
12004-10-21 Michael Koch <konqueror@gmx.de>
2
3 * javax/net/ssl/HandshakeCompletedEvent.java,
4 javax/net/ssl/KeyManagerFactory.java,
5 javax/net/ssl/SSLContext.java,
6 javax/net/ssl/SSLServerSocketFactory.java,
7 javax/net/ssl/SSLSession.java,
8 javax/net/ssl/SSLSocketFactory.java,
9 javax/net/ssl/TrustManagerFactory.java:
10 Import cleanup.
11
2c69d1e0
MK
122004-10-21 Michael Koch <konqueror@gmx.de>
13
14 * javax/naming/directory/BasicAttribute.java,
15 javax/naming/directory/BasicAttributes.java,
16 javax/naming/directory/InitialDirContext.java,
17 javax/naming/event/NamingEvent.java,
18 javax/naming/ldap/ControlFactory.java,
19 javax/naming/ldap/ExtendedRequest.java,
20 javax/naming/ldap/InitialLdapContext.java,
21 javax/naming/ldap/LdapReferralException.java,
22 javax/naming/spi/DirObjectFactory.java,
23 javax/naming/spi/DirStateFactory.java,
24 javax/naming/spi/DirectoryManager.java,
25 javax/naming/spi/InitialContextFactory.java,
26 javax/naming/spi/InitialContextFactoryBuilder.java,
27 javax/naming/spi/NamingManager.java,
28 javax/naming/spi/ObjectFactory.java,
29 javax/naming/spi/ObjectFactoryBuilder.java,
30 javax/naming/spi/StateFactory.java:
31 Import cleanup.
32
d69201f4
MK
332004-10-21 Michael Koch <konqueror@gmx.de>
34
35 * javax/crypto/Cipher.java,
36 javax/crypto/EncryptedPrivateKeyInfo.java,
37 javax/crypto/ExemptionMechanism.java,
38 javax/crypto/KeyAgreement.java,
39 javax/crypto/KeyGenerator.java,
40 javax/crypto/Mac.java,
41 javax/crypto/SecretKeyFactory.java,
42 javax/crypto/SecretKeyFactorySpi.java,
43 javax/crypto/spec/SecretKeySpec.java:
44 Import cleanup.
45
78fe42c3
MK
462004-10-21 Michael Koch <konqueror@gmx.de>
47
48 * java/security/AlgorithmParameterGenerator.java,
49 java/security/AlgorithmParameters.java,
50 java/security/AlgorithmParametersSpi.java,
51 java/security/AllPermission.java,
52 java/security/BasicPermission.java,
53 java/security/Certificate.java,
54 java/security/CodeSource.java,
55 java/security/DigestInputStream.java,
56 java/security/DigestOutputStream.java,
57 java/security/GuardedObject.java,
58 java/security/KeyFactory.java,
59 java/security/KeyFactorySpi.java,
60 java/security/KeyPairGenerator.java,
61 java/security/KeyStore.java,
62 java/security/KeyStoreSpi.java,
63 java/security/Permissions.java,
64 java/security/Security.java,
65 java/security/Signature.java,
66 java/security/UnresolvedPermission.java,
67 java/security/cert/CertPathBuilder.java,
68 java/security/cert/CertPathValidator.java,
69 java/security/cert/CertStore.java,
70 java/security/cert/Certificate.java,
71 java/security/cert/CertificateFactory.java,
72 java/security/cert/PolicyQualifierInfo.java,
73 java/security/cert/TrustAnchor.java,
74 java/security/cert/X509CRL.java,
75 java/security/cert/X509CRLSelector.java,
76 java/security/cert/X509CertSelector.java:
77 Import cleanup.
78
02db0fc1
MK
792004-10-21 Michael Koch <konqueror@gmx.de>
80
81 * java/rmi/MarshalledObject.java,
82 java/rmi/Naming.java,
83 java/rmi/activation/Activatable.java,
84 java/rmi/activation/ActivationGroup.java,
85 java/rmi/activation/ActivationGroupDesc.java,
86 java/rmi/activation/ActivationInstantiator.java,
87 java/rmi/activation/ActivationMonitor.java,
88 java/rmi/activation/ActivationSystem.java,
89 java/rmi/activation/Activator.java,
90 java/rmi/registry/LocateRegistry.java,
91 java/rmi/registry/Registry.java,
92 java/rmi/server/LogStream.java,
93 java/rmi/server/ObjID.java,
94 java/rmi/server/RMIClientSocketFactory.java,
95 java/rmi/server/RMIServerSocketFactory.java,
96 java/rmi/server/RMISocketFactory.java,
97 java/rmi/server/RemoteCall.java,
98 java/rmi/server/RemoteServer.java,
99 java/rmi/server/ServerRef.java,
100 java/rmi/server/UID.java,
101 java/rmi/server/UnicastRemoteObject.java:
102 Import cleanup.
103
c28fdf71
TT
1042004-10-21 Tom Tromey <tromey@redhat.com>
105
106 * java/util/zip/InflaterInputStream.java (fill): Don't throw an
107 exception if we hit EOF of `in'.
108 (read): Handle case where inflating returns -1.
109
b228bf7f
UW
1102004-10-21 Ulrich Weigand <uweigand@de.ibm.com>
111
112 * gnu/java/nio/channels/natFileChannelPosix.cc
113 (FileChannelImpl::available): Call FIONREAD ioctl with 'int *'
114 argument instead of 'long *'.
115
5303e3d7
TT
1162004-10-21 Tom Tromey <tromey@redhat.com>
117
118 * java/util/ResourceBundle.java (tryBundle): Also ignore
119 ClassCastException.
120
be3d702c
KK
1212004-10-21 Kaz Kojima <kkojima@gcc.gnu.org>
122
123 * configure.ac (SIGNAL_HANDLER): Set to include/sh-signal.h
124 for all sh*-*-linux* targets.
125 * configure: Regenerate.
126 * include/sh-signal.h: New file.
127
2989a2f5
KI
1282004-10-21 Kazuhiro Inaoka <inaoka.kazuhiro@renesas.com>
129
130 * java/lang/ieeefp.h: Add m32r support.
131
b3a45023
AS
1322004-10-20 Andreas Schwab <schwab@suse.de>
133
134 * java/lang/natClass.cc (_Jv_LayoutVTableMethods): Cast pointers
135 to uaddr, not int.
136 * java/lang/natClassLoader.cc (_Jv_PrepareCompiledClass):
137 Likewise.
138
a904937b
MK
1392004-10-20 Michael Koch <konqueror@gmx.de>
140
141 * javax/print/attribute/standard/ColorSupported.java,
142 javax/print/attribute/standard/Compression.java,
143 javax/print/attribute/standard/Copies.java,
144 javax/print/attribute/standard/CopiesSupported.java,
145 javax/print/attribute/standard/DateTimeAtCompleted.java,
146 javax/print/attribute/standard/DateTimeAtCreation.java,
147 javax/print/attribute/standard/DateTimeAtProcessing.java,
148 javax/print/attribute/standard/DocumentName.java,
149 javax/print/attribute/standard/Fidelity.java,
150 javax/print/attribute/standard/Finishings.java,
151 javax/print/attribute/standard/JobHoldUntil.java,
152 javax/print/attribute/standard/JobImpressions.java,
153 javax/print/attribute/standard/JobImpressionsCompleted.java,
154 javax/print/attribute/standard/JobImpressionsSupported.java,
155 javax/print/attribute/standard/JobKOctets.java,
156 javax/print/attribute/standard/JobKOctetsProcessed.java,
157 javax/print/attribute/standard/JobKOctetsSupported.java,
158 javax/print/attribute/standard/JobMediaSheets.java,
159 javax/print/attribute/standard/JobMediaSheetsCompleted.java,
160 javax/print/attribute/standard/JobMediaSheetsSupported.java,
161 javax/print/attribute/standard/JobMessageFromOperator.java,
162 javax/print/attribute/standard/JobName.java,
163 javax/print/attribute/standard/JobOriginatingUserName.java,
164 javax/print/attribute/standard/JobPriority.java,
165 javax/print/attribute/standard/JobPrioritySupported.java,
166 javax/print/attribute/standard/JobSheets.java,
167 javax/print/attribute/standard/JobState.java,
168 javax/print/attribute/standard/JobStateReason.java,
169 javax/print/attribute/standard/JobStateReasons.java,
170 javax/print/attribute/standard/Media.java,
171 javax/print/attribute/standard/MultipleDocumentHandling.java,
172 javax/print/attribute/standard/NumberOfDocuments.java,
173 javax/print/attribute/standard/NumberOfInterveningJobs.java,
174 javax/print/attribute/standard/NumberUp.java,
175 javax/print/attribute/standard/NumberUpSupported.java,
176 javax/print/attribute/standard/OrientationRequested.java,
177 javax/print/attribute/standard/OutputDeviceAssigned.java,
178 javax/print/attribute/standard/PDLOverrideSupported.java,
179 javax/print/attribute/standard/PageRanges.java,
180 javax/print/attribute/standard/PagesPerMinute.java,
181 javax/print/attribute/standard/PagesPerMinuteColor.java,
182 javax/print/attribute/standard/PrintQuality.java,
183 javax/print/attribute/standard/PrinterInfo.java,
184 javax/print/attribute/standard/PrinterIsAcceptingJobs.java,
185 javax/print/attribute/standard/PrinterLocation.java,
186 javax/print/attribute/standard/PrinterMakeAndModel.java,
187 javax/print/attribute/standard/PrinterMessageFromOperator.java,
188 javax/print/attribute/standard/PrinterMoreInfo.java,
189 javax/print/attribute/standard/PrinterMoreInfoManufacturer.java,
190 javax/print/attribute/standard/PrinterName.java,
191 javax/print/attribute/standard/PrinterStateReason.java,
192 javax/print/attribute/standard/PrinterStateReasons.java,
193 javax/print/attribute/standard/PrinterURI.java,
194 javax/print/attribute/standard/ReferenceUriSchemesSupported.java,
195 javax/print/attribute/standard/RequestingUserName.java:
196 Reorganized imports and removed redundant final modifiers.
197
ccc89383
MK
1982004-10-20 Michael Koch <konqueror@gmx.de>
199
200 * javax/security/sasl/SaslClient.java,
201 javax/security/sasl/SaslClientFactory.java,
202 javax/security/sasl/SaslException.java,
203 javax/security/sasl/SaslServer.java,
204 javax/security/sasl/SaslServerFactory.java:
205 Remvoed CVS tags.
206
b99bf96a
MK
2072004-10-20 Michael Koch <konqueror@gmx.de>
208
209 * javax/security/auth/login/NullConfiguration.java,
210 javax/security/auth/x500/X500Principal.java,
211 javax/security/cert/X509Certificate.java,
212 javax/security/sasl/AuthenticationException.java,
213 javax/security/sasl/AuthorizeCallback.java,
214 javax/security/sasl/RealmCallback.java,
215 javax/security/sasl/RealmChoiceCallback.java,
216 javax/security/sasl/Sasl.java,
217 javax/security/sasl/SaslClient.java,
218 javax/security/sasl/SaslClientFactory.java,
219 javax/security/sasl/SaslException.java,
220 javax/security/sasl/SaslServer.java,
221 javax/security/sasl/SaslServerFactory.java:
222 Cleaned up import statements and copyright notices.
223
659d8f1a
MK
2242004-10-20 Michael Koch <konqueror@gmx.de>
225
226 * gnu/java/rmi/rmic/RMIC.java: Reformatted.
227
724c2517
MK
2282004-10-20 Michael Koch <konqueror@gmx.de>
229
230 * java/sql/Timestamp.java,
231 java/text/AttributedCharacterIterator.java,
232 java/text/AttributedString.java,
233 java/util/zip/CheckedOutputStream.java,
234 java/util/zip/DeflaterOutputStream.java,
235 java/util/zip/ZipFile.java,
236 javax/crypto/Cipher.java,
237 javax/crypto/ExemptionMechanismException.java,
238 javax/crypto/SecretKey.java,
239 javax/crypto/SecretKeyFactory.java,
240 javax/naming/directory/ModificationItem.java,
241 javax/naming/directory/SearchControls.java,
242 javax/naming/event/NamingListener.java,
243 javax/naming/ldap/Control.java,
244 javax/naming/ldap/ExtendedResponse.java,
245 javax/net/ssl/SSLSocketFactory.java:
246 Reorganized imports and fixed copyright headers.
247
fd460b77
MK
2482004-10-20 Michael Koch <konqueror@gmx.de>
249
250 * java/util/logging/ConsoleHandler.java,
251 java/util/logging/ErrorManager.java,
252 java/util/logging/FileHandler.java,
253 java/util/logging/Filter.java,
254 java/util/logging/Formatter.java,
255 java/util/logging/Handler.java,
256 java/util/logging/Level.java,
257 java/util/logging/LogManager.java,
258 java/util/logging/LogRecord.java,
259 java/util/logging/Logger.java,
260 java/util/logging/LoggingPermission.java,
261 java/util/logging/MemoryHandler.java,
262 java/util/logging/SimpleFormatter.java,
263 java/util/logging/SocketHandler.java,
264 java/util/logging/StreamHandler.java,
265 java/util/logging/XMLFormatter.java:
266 Standardized copyrigth header.
267
242b11bd
MK
2682004-10-20 Michael Koch <konqueror@gmx.de>
269
270 * java/security/AlgorithmParameterGenerator.java,
271 java/security/AlgorithmParameters.java,
272 java/security/DigestInputStream.java,
273 java/security/Identity.java,
274 java/security/KeyFactory.java,
275 java/security/KeyPairGenerator.java,
276 java/security/KeyStore.java,
277 java/security/MessageDigest.java,
278 java/security/MessageDigestSpi.java,
279 java/security/Policy.java,
280 java/security/SecureRandom.java,
281 java/security/Security.java,
282 java/security/Signature.java,
283 java/security/SignatureSpi.java,
284 java/security/cert/CertPathBuilder.java,
285 java/security/cert/CertPathValidator.java,
286 java/security/cert/CertStore.java,
287 java/security/cert/Certificate.java,
288 java/security/cert/CertificateFactory.java,
289 java/security/cert/PolicyQualifierInfo.java,
290 java/security/cert/TrustAnchor.java,
291 java/security/cert/X509CRL.java,
292 java/security/cert/X509CRLEntry.java,
293 java/security/cert/X509Certificate.java,
294 java/security/spec/RSAMultiPrimePrivateCrtKeySpec.java:
295 Import statements reorganized, some little formatting issues,
296 used java-style array declarations, added comments in empty catch
297 blocks.
298
2ddfd025
JF
2992004-10-18 Jeroen Frijters <jeroen@frijters.net>
300
301 * java/security/Security.java
302 (static): Use AccessController.doPrivileged to get system property.
303
691e8c0f
SM
3042004-10-18 Sven de Marothy <sven@physto.se>
305
306 * java/nio/ByteBufferHelper.java
307 (putDouble): Use Double.toRawLongBits instead.
308
bc2fed82
MW
3092004-10-18 Mark Wielaard <mark@klomp.org>
310 Andrew Haley <aph@redhat.com>
311
312 * testsuite/libjava.lang/ExtraClassLoader.java: New.
313
963ebe78
AH
3142004-10-18 Andrew Haley <aph@redhat.com>
315
316 PR java/18036:
317 * gnu/gcj/runtime/natStackTrace.cc (fillInStackTrace): Reorganize
318 and correct logic used to find interpreter.
319
e5871096
JF
3202004-10-18 Jeroen Frijters <jeroen@frijters.net>
321
322 * java/util/logging/LogManager.java
323 (findAncestor): Fixed IndexOutOfBoundsException.
324
0736f19f
MK
3252004-10-18 Michael Koch <konqueror@gmx.de>
326
327 * java/io/BufferedInputStream.java: Fixed @author tag.
328 (read): Simplified expression.
329 (read): Merged javadoc a bit more.
330 (read): Renamed 'remain' to 'totalBytesRead'.
331 * java/io/DataInputStream.java,
332 java/io/DataOutputStream.java,
333 java/io/ObjectInputStream.java,
334 java/io/ObjectOutputStream.java:
335 Reworked modifier order.
336
df397ce2
MK
3372004-10-18 Michael Koch <konqueror@gmx.de>
338
339 * java/net/Inet4Address.java: Merged file header and javadocs.
340 * java/net/Inet6Address.java: Likewise.
341 * java/net/InetAddress.java
342 (getCanonicalHostName): Create Inet4Address object instead of
343 InetAddress and add comment regarding IPv6.
344 (toString): Simplified.
345
2c661756
MK
3462004-10-18 Michael Koch <konqueror@gmx.de>
347
348 * gnu/java/net/protocol/http/Connection.java,
349 java/nio/MappedByteBufferImpl.java,
350 java/text/RuleBasedCollator.java,
351 java/util/ResourceBundle.java:
352 Reworked import statements.
353
3542004-10-18 Jeroen Frijters <jeroen@frijters.net>
355
356 * java/security/IdentityScope.java
357 (systemScope): Removed useless initializer.
358 * java/security/Policy.java
359 (currentPolicy): Likewise.
360
33308026
MK
3612004-10-18 Michael Koch <konqueror@gmx.de>
362
363 * java/lang/System.java: Revert accidential change.
364
2047d8e4
MK
3652004-10-18 Michael Koch <konqueror@gmx.de>
366
367 * java/lang/Math.java,
368 java/lang/Package.java,
369 java/lang/Runtime.java,
370 java/lang/StrictMath.java,
371 java/lang/System.java,
372 java/lang/Thread.java,
373 java/lang/ThreadLocal.java,
374 java/lang/Void.java:
375 Reworked import statements, HTML in javadocs and modifier orders.
376
36071b5c
JF
3772004-10-18 Jeroen Frijters <jeroen@frijters.net>
378
379 * java/util/Timer.java
380 (nr): Removed useless initializer.
381 * java/util/logging/LogRecord.java
382 (lastSeqNum): Likewise.
383 * javax/naming/spi/NamingManager.java
384 (icfb, ofb): Likewise.
385
73aab3de
MK
3862004-10-18 Michael Koch <konqueror@gmx.de>
387
388 * gnu/java/net/PlainDatagramSocketImpl.java:
389 Reworked import statements.
390 * gnu/java/security/provider/DSAParameters.java:
391 Fixed copyrigth years.
392 * java/net/JarURLConnection.java:
393 Fixed HTML in @author tags.
394
395
4e2721c3
MK
3962004-10-18 Michael Koch <konqueror@gmx.de>
397
398 * java/rmi/activation/ActivationSystem.java
399 (SYSTEM_PORT): Initialize with correct port number.
400
7b040d4c
MK
4012004-10-18 Michael Koch <konqueror@gmx.de>
402
403 * java/lang/reflect/Proxy.java: Improved javadocs.
404
4052004-10-18 Michael Koch <konqueror@gmx.de>
406
407 * java/lang/reflect/AccessibleObject.java
408 (checkPermission): Removed redundant final modifier.
409 (secureSetAccessible): Likewise.
410 * java/lang/reflect/Proxy.java:
411 Reworked import statements.
412 (generate): Removed redundant final modifier.
413 * java/lang/reflect/ReflectPermission.java:
414 Reorder package declaration and import statement.
415
4162004-10-18 Jeroen Frijters <jeroen@frijters.net>
417
418 * java/lang/reflect/Proxy.java
419 (count): Removed useless initializer.
420
05dfb0b0
MK
4212004-10-17 Michael Koch <konqueror@gmx.de>
422
423 * java/net/BindException.java,
424 java/net/ConnectException.java,
425 java/net/ContentHandler.java,
426 java/net/ContentHandlerFactory.java,
427 java/net/DatagramPacket.java,
428 java/net/DatagramSocket.java,
429 java/net/DatagramSocketImpl.java,
430 java/net/DatagramSocketImplFactory.java,
431 java/net/FileNameMap.java,
432 java/net/HttpURLConnection.java,
433 java/net/MalformedURLException.java,
434 java/net/MulticastSocket.java,
435 java/net/NetworkInterface.java,
436 java/net/NoRouteToHostException.java,
437 java/net/PasswordAuthentication.java,
438 java/net/PortUnreachableException.java,
439 java/net/ProtocolException.java,
440 java/net/ServerSocket.java,
441 java/net/Socket.java,
442 java/net/SocketException.java,
443 java/net/SocketImpl.java,
444 java/net/SocketImplFactory.java,
445 java/net/SocketOptions.java,
446 java/net/SocketPermission.java,
447 java/net/SocketTimeoutException.java,
448 java/net/URI.java,
449 java/net/URISyntaxException.java,
450 java/net/URL.java,
451 java/net/URLDecoder.java,
452 java/net/URLEncoder.java,
453 java/net/URLStreamHandler.java,
454 java/net/URLStreamHandlerFactory.java,
455 java/net/UnknownHostException.java,
456 java/net/UnknownServiceException.java:
457 Big import statement and @author tag cleanup.
458
3238d4f9
MK
4592004-10-17 Michael Koch <konqueror@gmx.de>
460
461 * gnu/java/security/OID.java,
462 gnu/java/security/provider/DSAParameters.java,
463 gnu/java/security/provider/DSASignature.java,
464 gnu/java/security/x509/X500DistinguishedName.java,
465 gnu/java/security/x509/X509CRL.java:
466 Import statements cleaned up.
467
410c47a4
MK
4682004-10-16 Michael Koch <konqueror@gmx.de>
469
470 * gnu/java/nio/NIODatagramSocket.java,
471 gnu/java/nio/ServerSocketChannelImpl.java:
472 Reorganized import statements.
473
86b28213
MK
4742004-10-16 Michael Koch <konqueror@gmx.de>
475
476 * gnu/java/rmi/RMIMarshalledObjectOutputStream.java
477 gnu/java/rmi/rmic/RMIC.java,
478 gnu/java/rmi/server/RMIHashes.java,
479 gnu/java/rmi/server/RMIObjectInputStream.java,
480 gnu/java/rmi/server/RMIObjectOutputStream.java,
481 gnu/java/rmi/server/UnicastConnection.java,
482 gnu/java/rmi/server/UnicastConnectionManager.java,
483 gnu/java/rmi/server/UnicastRemoteCall.java,
484 gnu/java/rmi/server/UnicastServer.java,
485 gnu/java/rmi/server/UnicastServerRef.java,
486 java/rmi/MarshalledObject.java,
487 java/rmi/Naming.java,
488 java/rmi/RMISecurityManager.java,
489 java/rmi/Remote.java,
490 java/rmi/activation/Activatable.java,
491 java/rmi/activation/ActivationDesc.java,
492 java/rmi/activation/ActivationGroup.java,
493 java/rmi/activation/ActivationGroupDesc.java,
494 java/rmi/activation/ActivationGroupID.java,
495 java/rmi/activation/ActivationID.java,
496 java/rmi/activation/ActivationInstantiator.java,
497 java/rmi/activation/ActivationMonitor.java,
498 java/rmi/activation/ActivationSystem.java,
499 java/rmi/activation/Activator.java,
500 java/rmi/dgc/DGC.java,
501 java/rmi/dgc/Lease.java,
502 java/rmi/dgc/VMID.java,
503 java/rmi/registry/LocateRegistry.java,
504 java/rmi/registry/Registry.java,
505 java/rmi/registry/RegistryHandler.java,
506 java/rmi/server/LoaderHandler.java,
507 java/rmi/server/LogStream.java,
508 java/rmi/server/ObjID.java,
509 java/rmi/server/Operation.java,
510 java/rmi/server/RMIClassLoader.java,
511 java/rmi/server/RMIClassLoaderSpi.java,
512 java/rmi/server/RMIClientSocketFactory.java,
513 java/rmi/server/RMIFailureHandler.java,
514 java/rmi/server/RMIServerSocketFactory.java,
515 java/rmi/server/RMISocketFactory.java,
516 java/rmi/server/RemoteCall.java,
517 java/rmi/server/RemoteObject.java,
518 java/rmi/server/RemoteRef.java,
519 java/rmi/server/RemoteServer.java,
520 java/rmi/server/RemoteStub.java,
521 java/rmi/server/ServerRef.java,
522 java/rmi/server/Skeleton.java,
523 java/rmi/server/SkeletonMismatchException.java,
524 java/rmi/server/UID.java,
525 java/rmi/server/UnicastRemoteObject.java,
526 java/rmi/server/Unreferenced.java:
527 File headers and import statements cleaned up.
528
d8d3480a
MK
5292004-10-16 Michael Koch <konqueror@gmx.de>
530
531 * libjava/gnu/java/nio/charset/UTF_16.java,
532 libjava/gnu/java/nio/charset/UTF_16BE.java,
533 libjava/gnu/java/nio/charset/UTF_16LE.java,
534 libjava/java/nio/ByteOrder.java,
535 libjava/java/nio/MappedByteBuffer.java,
536 libjava/java/nio/channels/Channels.java,
537 libjava/java/nio/channels/spi/SelectorProvider.java,
538 libjava/java/nio/charset/Charset.java:
539 Cleanup.
540
752ef873
MK
5412004-10-16 Michael Koch <konqueror@gmx.de>
542
543 * gnu/java/nio/charset/UTF_16Encoder.java
544 (UTF_16Encoder): Fixed maxBytesPerChar handling.
545
7af8968e
MK
5462004-10-16 Michael Koch <konqueror@gmx.de>
547
548 * java/math/BigDecimal.java, java/math/BigInteger.java:
549 Reorganized import statements, removed redundant and
550 reorganized modifiers.
551
f3bf8475
MK
5522004-10-16 Michael Koch <konqueror@gmx.de>
553
554 * gnu/java/beans/ExplicitBeanInfo.java:
555 Explicitely import java.awt.Image.
556 (getIcon): Fixed off-by-one error.
557
b08fd659
AH
5582004-10-15 Andrew Haley <aph@redhat.com>
559
560 * Makefile.am (nat_files, xlib_nat_files): New.
561 * Makefile.in: Regenerate.
562
ed674251
UW
5632004-10-14 Ulrich Weigand <uweigand@de.ibm.com>
564
565 * jni.cc (_Jv_JNIMethod::call): Use ffi_java_raw_call instead of
566 ffi_raw_call if FFI_NATIVE_RAW_API is not defined.
567
180a373d
AH
5682004-10-13 Andrew Haley <aph@redhat.com>
569
570 * interpret.cc (_Jv_InterpMethod::run): Initialize
571 _Jv_StartOfInterpreter.
572 (_Jv_StartOfInterpreter, _Jv_EndOfInterpreter): Functions removed.
573 (_Jv_StartOfInterpreter, _Jv_EndOfInterpreter): New variables.
574 * gnu/gcj/runtime/natStackTrace.cc (fillInStackTrace): Use
575 _Unwind_FindEnclosingFunction to discover whether PC is within the
576 interpreter.
577
2abb138b
RO
5782004-10-12 Rutger Ovidius <ovidr@users.sourceforge.net>
579
580 PR libgcj/17903:
581 * testsuite/libjava.lang/md5test.java: New file.
582 * testsuite/libjava.lang/md5test.out: Likewise.
583 * testsuite/libjava.lang/shatest.java: Likewise.
584 * testsuite/libjava.lang/shatest.out: Likewise.
585
169bb110
RH
5862004-10-11 Richard Henderson <rth@redhat.com>
587
588 * include/posix-threads.h <__alpha__> (_Jv_ThreadId_t): Use void*.
589 (_Jv_ThreadSelf): Use __builtin_thread_pointer.
590
0ba09d8f
BM
5912004-10-08 Bryce McKinlay <mckinlay@redhat.com>
592
593 * java/util/Calendar.java (set): Invalidate DST_OFFSET
594 field as a DST boundary may have been crossed.
595 * java/util/GregorianCalendar.java (add): Throw
596 IllegalArgumentException on attempt to add to DST_OFFSET or
597 ZONE_OFFSET fields. Update javadoc.
598
0d2e6ffe
MK
5992004-10-09 Michael Koch <konqueror@gmx.de>
600
601 * java/io/CharArrayWriter.java
602 (resize): Removed redundant 'final' modifier.
603 * java/io/DataInputStream.java
604 (readFully): Throw IndexOutOfBoundsException of len < 0.
605 * java/io/FileDescriptor.java,
606 java/io/FileInputStream.java,
607 java/io/FileOutputStream.java,
608 java/io/ObjectOutputStream.java,
609 java/io/ObjectStreamClass.java,
610 java/io/PipedInputStream.java,
611 java/io/RandomAccessFile.java:
612 Reorganized import statements.
613
f507003a
MK
6142004-10-09 Michael Koch <konqueror@gmx.de>
615
616 * gnu/java/rmi/rmic/RMIC.java,
617 gnu/java/rmi/server/RMIHashes.java,
618 gnu/java/rmi/server/RMIObjectInputStream.java,
619 gnu/java/rmi/server/UnicastConnection.java,
620 gnu/java/rmi/server/UnicastConnectionManager.java,
621 gnu/java/rmi/server/UnicastRemoteCall.java,
622 gnu/java/rmi/server/UnicastServerRef.java:
623 Reworked import statements and fixed file headers.
624
56d6e6b1
LR
6252004-10-04 Loren J. Rittle <ljrittle@acm.org>
626
627 * configure.ac (*-*-freebsd[[1234]]*): Refine error message
628 emission rule.
629 * configure: Rebuilt.
630
02164889
TT
6312004-09-30 Tom Tromey <tromey@redhat.com>
632
acfeef9c 633 * java/text/MessageFormat.java (Field): Constructor now
02164889
TT
634 protected.
635
26f7abae
TT
6362004-09-30 Tom Tromey <tromey@redhat.com>
637
638 * javax/crypto/MacSpi.java: Fixed typo.
639
0aa36026
MK
6402004-09-30 Michael Koch <konqueror@gmx.de>
641
642 * java/net/InetAddress.java: Reformatted.
643 (loopback): Initialize with Inet4Address object.
644 (static): Initialize ANY_IF with Inet4Address object.
645 (InetAddress): Removed unused package-private constructor.
646
57da15a4
MK
6472004-09-30 Michael Koch <konqueror@gmx.de>
648
649 * java/beans/Beans.java,
650 java/beans/EventHandler.java,
651 java/beans/EventSetDescriptor.java,
652 java/beans/Introspector.java,
653 java/beans/PropertyEditorManager.java,
654 java/beans/beancontext/BeanContext.java,
655 java/beans/beancontext/BeanContextChild.java,
656 java/beans/beancontext/BeanContextChildSupport.java,
657 java/beans/beancontext/BeanContextMembershipEvent.java:
658 Reordered import statements and removed redundant modifiers.
659
c8dc36d6
TT
6602004-09-29 Tom Tromey <tromey@redhat.com>
661
26aed923
TT
662 PR libgcj/17715:
663 * Makefile.in: Rebuilt.
664 * Makefile.am (libgcj-@gcc_version@.jar): Include properties
665 files.
666 (all_property_files): New macro.
667
c8dc36d6
TT
668 * Makefile.in: Rebuilt.
669 * Makefile.am (ordinary_java_source_files): Re-sorted.
670 (libgcj.la): Moved to old location near lib-gnu-awt-xlib.la.
671
bd1c8428
TT
6722004-09-28 Tom Tromey <tromey@redhat.com>
673
252d7884
TT
674 * jni.cc (_Jv_JNI_RegisterNatives): Formatting fixlets.
675
bd1c8428
TT
676 PR libgcj/17222:
677 * Makefile.am (libgcj.la): Restored.
678 * Makefile.in: Rebuilt.
679
95b88040
MK
6802004-09-28 Michael Koch <konqueror@gmx.de>
681
682 * java/net/URLConnection.java: Reformatted.
683 * java/net/URLClassLoader.java: Reformatted.
684 (getContent): Reordered return of content.
685 (getContentHandler): Don't check for null explicitely.
686
2c11433f
MK
6872004-09-27 Michael Koch <konqueror@gmx.de>
688
689 * java/io/BufferedInputStream.java
690 (BufferedInputStream): Added Jeroen Frijters to authors.
691 (count): Don't explicitely initialize with default value.
692 (pos): Likewise.
693 (marklimit): Likewise.
694 (read): Changed boolean expression to match GNU classpath' version.
695 (reset): Add proper message to exception.
696 (skip): Check for closed stream.
697 (refill): Likewise.
698
c5fe8107
PB
6992004-09-26 Per Bothner <per@bothner.com>
700
701 * prims.cc (unblock_signal): Annotate signum with __unused__ to
702 avoid warnings in the non-POSIX_VERSION case.
703 Also, we only need this function if either HANDLE_SEGV or HANDLE_FPE,
704 so place it inside an #if block.
705 * include/default-signal.h (SIGNAL_HANDLER): Parameters are __unused__.
706 * include/i386-signal.h (SIGNAL_HANDLER): Likewise
707 * include/mips-signal.h (SIGNAL_HANDLER): Likewise
708 * include/sparc-signal.h (SIGNAL_HANDLER): Likewise
709
08bc8777
PB
7102004-09-26 Per Bothner <per@bothner.com>
711
712 * prims.cc (process_gcj_properties): Optimization.
713
a22478ce
PB
7142004-09-26 Per Bothner <per@bothner.com>
715
716 * java/util/Collections.java (sort): Copy from array in forwards
717 order, rather than reverse order which may be much less efficient.
718
3bd2680e
MW
7192004-09-26 Mark Wielaard <mark@klomp.org>
720
721 * java/lang/System.java (properties): Make package private.
722 * java/lang/Throwable.java (StaticData.nl): Initialize through
723 directly accessing System.properties.getProperty().
724
725 * java/lang/Throwable.java (nl): Remove static field.
726 (StaticData): New private static inner class.
727 (stackTraceStringBuffer): Use StaticData.nl.
728
59c86e4b
CM
7292004-09-26 Casey Marshall <csm@gnu.org>
730
731 * java/security/ProtectionDomain.java
732 (<init>(CodeSource,PermissionCollection)): set `staticBinding' to
733 `true'.
734
735 * java/security/SecureClassLoader.java
736 (defineClass): make protection domain dynamically bound.
737 (getPermissions): call `getCurrentPolicy' to avoid permission
738 check.
739
ffe2e220
MW
7402004-09-25 Mark Wielaard <mark@klomp.org>
741
742 * Makefile.am (core_java_source_files): Add VMTimeZone.java.
743 (nat_source_files): Rename natTimeZone.cc to natVMTimeZone.cc.
744 * Makefile.in: Regenerated.
745
746 * gcj/javaprims.h: Regenerated.
747
748 * java/util/TimeZone.java (defaultZone): Use VMTimeZone.
749 (getDefaultTimeZone): Make package private. Check that GMToffset
750 contains at least one digit.
751 (getDefaultTimeZoneId, readTimeZoneFile, readtzFile): (Re)Moved to
752 VMTimeZone.
753 * util/VMTimeZone.java: New file with above methods.
754
755 * java/util/natTimeZone.cc: Removed (renamed).
756 * java/util/natVMTimeZone.cc: Added (renamed).
757
7582004-09-25 Jeroen Frijters <jeroen@frijters.net>
759
760 * java/util/TimeZone.java
761 (getDefaultTimeZone): Fixed test to distinguish between hours and
762 minutes in specified timezone.
763
9b2b6c0f
JF
7642004-09-25 Jeroen Frijters <jeroen@frijters.net>
765
766 * java/lang/reflect/Proxy.java (getPackage, ClassFactory): Fixed
767 handling of default package. (generate): Removed confused comments
768 and code about making Method and Field accessible.
769
4b2582f0
TT
7702004-09-25 Tom Tromey <tromey@redhat.com>
771
772 PR java/17500:
773 * testsuite/libjava.compile/pr17500.java: New file.
774
27a92d68
SB
7752004-09-25 Shashank Bapat <shashankbapat@yahoo.com>
776 Mark Wielaard <mark@klomp.org>
777
778 * gnu/regexp/RE.java (initialize): Add RETokenLookAhead support.
779 * gnu/regexp/RETokenLookAhead.java: New file.
780
781 * Makefile.am (ordinary_java_source_files): Add RETokenLookAhead.java.
782 * Makefile.in: Regenerated.
783
20319d32
MK
7842004-09-25 Michael Koch <konqueror@gmx.de>
785
786 * java/io/ObjectStreamField.java:
787 Removed unused import statement.
788
0a08595a
TT
7892004-09-24 Tom Tromey <tromey@redhat.com>
790
013303df
TT
791 PR java/15656:
792 * testsuite/libjava.compile/pr15656.xfail: New file.
793 * testsuite/libjava.compile/pr15656.java: new file.
794
0a08595a
TT
795 PR java/16789:
796 * testsuite/libjava.lang/pr16789.out: New file.
797 * testsuite/libjava.lang/pr16789.java: New file.
798
0a41faf0
AH
7992004-09-24 Andrew Haley <aph@redhat.com>
800
801 PR java/16927
802 * testsuite/libjava.compile/AssertBug.java: New file.
803
c80a4b7e
CM
8042004-09-24 Casey Marshall <csm@gnu.org>
805
806 * java/util/PropertyPermissionCollection.java
807 (implies): avoid infinite loop.
808
7e53ab66
AJH
8092004-09-24 Andrew John Hughes <gnu_andrew@member.fsf.org>
810
811 * javax/security/auth/PrivateCredentialPermission.java
812 (PrivateCredentialPermission): added serialization UID
813
814
c7c671b9
IP
8152004-09-24 Ilya Perminov <iperminov@logicalsoft.com>
816
817 * gnu/java/rmi/server/UnicastServer.java
818 (incomingMessageCall): Added code to handle Errors.
819 * gnu/java/rmi/server/UnicastServerRef.java
820 (incomingMessageCall): Added code to handle Errors.
821
822
66719604
TT
8232004-09-24 Tom Tromey <tromey@redhat.com>
824
825 * java/lang/ClassLoader.java (loadedClasses): Declare as HashMap.
826 (definedPackages): Likewise.
827
28c23a8c
MK
8282004-09-24 Michael Koch <konqueror@gmx.de>
829
830 * java/io/ObjectInputStream.java:
831 Re-ordered imports.
832
629a2d2b
CM
8332004-09-24 Casey Marshall <csm@gnu.org>
834
835 * java/io/ObjectInputStream.java (callReadMethod): re-throw
836 `ClassNotFoundException'.
837
73eb1309
JF
8382004-09-24 Jeroen Frijters <jeroen@frijters.net>
839
840 * java/io/ObjectInputStream.java (readObject): Delegate instantation
841 of Externalizable classes to ObjectStreamClass.
842 * java/io/ObjectStreamClass.java (newInstance): New method to
843 instantiate Externalizable (while ignoring the accessibility of
844 the constructor). (constructor): New field to cache the constructor.
845
8ac4bd37
MW
8462004-09-24 Mark Wielaard <mark@klomp.org>
847
848 * java/net/URL.java (systemClassLoader): New static field.
849 (getURLStreamHandler): Always use system/application classloader
850 for finding URLStreamhandler. Remove unecessary instanceof checks.
851
56a4b3e2
GL
8522004-09-24 Guilhem Lavaux <guilhem@kaffe.org>
853
854 * java/net/URL.java
855 (set): This method now matches the behaviour of the JDK.
856 (DEFAULT_SEARCH_PATH): Added "gnu.inet".
857
5bb3fc27
MK
8582004-09-24 Guilhem Lavaux <guilhem@kaffe.org>
859
860 * java/net/URL.java (URL): Delete whitespaces in the protocol string.
861
8622004-09-24 Jeroen Frijters <jeroen@frijters.net>
863
864 * java/net/URL.java (URL(String,String,int,String,URLStreamHandler):
865 Don't set authority if host isn't specified.
866
9e54846f
MK
8672004-09-24 Michael Koch <konqueror@gmx.de>
868
869 * gnu/java/nio/PipeImpl.java: Use VMPipe for native stuff.
870 * gnu/java/nio/SelectorImpl.java: Use VMSelector for native stuff.
871 * gnu/java/nio/VMPipe.java,
872 gnu/java/nio/VMSelector.java:
873 New files.
874 * gnu/java/nio/natPipeImplEcos.cc,
875 gnu/java/nio/natPipeImplPosix.cc,
876 gnu/java/nio/natPipeImplWin32.cc:
877 Ported to VMPipe.
878 * gnu/java/nio/natSelectorImplEcos.cc,
879 gnu/java/nio/natSelectorImplPosix.cc,
880 gnu/java/nio/natSelectorImplWin32.cc:
881 Ported to VMSelector.
882 * Makefile.am: Added new files gnu/java/nio/VMPipe.java and
883 gnu/java/nio/VMSelector.java.
884 * Makefile.in: Regenerated.
885
e6ab8dc2
JF
8862004-09-24 Jeroen Frijters <jeroen@frijters.net>
887
888 * java/lang/StackTraceElement.java
889 (className): Renamed field to declaringClass to be compatible
890 with Sun serialization format.
891
09bddb92
MK
8922004-09-23 Michael Koch <konqueror@gmx.de>
893
894 * java/applet/AppletContext.java,
895 java/applet/Applet.java,
896 java/applet/AppletStub.java,
897 java/applet/AudioClip.java:
898 Jalopied and checkstyle clean.
899
093942ac
MW
9002004-09-23 Mark Wielaard <mark@klomp.org>
901
902 * java/util/Collections.java
903 (binarySearch(List, Object, Comparator)): Explicitly
904 reverse direction in list iterator.
905 (rotate): Just return when list is empty.
906
53d26678
TT
9072004-09-23 Tom Tromey <tromey@redhat.com>
908
51c9fed9
TT
909 PR java/17329:
910 * testsuite/libjava.compile/pr17329.java: New file.
911
53d26678
TT
912 PR java/17380:
913 * testsuite/libjava.jacks/jacks.xfail: Added 9.2-implicit-6 and
914 9.2-implicit-7.
915
5b7a26f6
KC
9162004-09-22 Kelley Cook <kcook@gcc.gnu.org>
917
918 * Makefile.am: Run aclocal with -I ../config
919 * acinclude.m4: Delete macros picked up from ../config and tidy.
920 (AM_ICONV,AM_LC_MESSAGES, PKG_CHECK_MODULES): Delete.
921 * aclocal.m4, configure, Makefile.in, gcj/Makefile.in: Regenerate.
922 * include/Makefile.in, testsuite/Makefile.in: Regenerate.
923
54805b23
KC
9242004-09-22 Kelley Cook <kcook@gcc.gnu.org>
925
926 * aclocal.m4: Regenerate with aclocal 1.9.2.
927 * configure: Regenerate.
928 * Makefile.in, gcj/Makefile.in: Regenerate with automake 1.9.2.
929 * include/Makefile.in, testsuite/Makefile.in: Likewise.
930
d0259e11
DD
9312004-09-22 David Daney <ddaney@avtrex.com>
932
933 PR libgcj/17623
934 * java/net/URL.java (URL): Copy userInfo from context.
935 (getUserInfo): Return cached userInfo if present.
936
aa8cb1ad
TT
9372004-09-22 Tom Tromey <tromey@redhat.com>
938
939 PR libgcj/6182:
940 * mauve-libgcj: Enable java.lang.Character tests.
941
733a7ed9
AT
9422004-09-22 Andreas Tobler <a.tobler@schweiz.ch>
943
944 * Makefile.am (lib_org_ietf_jgss_la_DEPENDENCIES): Add missing
945 dependencies.
946 (lib_org_ietf_jgss_la_LIBADD): Likewise.
947 * Makefile.in: Regenerated.
948
44bffd9f
AT
9492004-09-22 Andreas Tobler <a.tobler@schweiz.ch>
950
951 * configure.ac: Introduce AC_C_BIGENDIAN_CROSS for WORDS_BIGENDIAN.
952 * configure: Regenerate.
953 * include/config.h.in: Likewise.
954 * jni/gtk-peer/gtkpeer.h (SWAPU32): Introduce macro to swap pixels.
955 * jni/gtk-peer/gnu_java_awt_peer_gtk_GtkImagePainter.c: Moved SWAPU32
956 macro to gtkpeer.h.
957 * jni/gtk-peer/gnu_java_awt_peer_gtk_GdkGraphics2D.c
958 (Java_gnu_java_awt_peer_gtk_GdkGraphics2D_getImagePixels): Convert
959 pixels from 0xBBGGRRAA to 0xAARRGGBB only on Little Endian
960 architectures.
961 * jni/gtk-peer/gnu_java_awt_peer_gtk_GdkPixbufDecoder.c (area_updated):
962 Likewise.
963
ecd16bf6
TT
9642004-09-22 Tom Tromey <tromey@redhat.com>
965
966 PR libgcj/14446:
967 * java/util/zip/GZIPInputStream.java (read): Avoid sign extension
968 when comparing CRCs.
969 * java/util/zip/InflaterInputStream.java (onebytebuffer): New
970 field.
971 (read()): New overload.
972
3a3d0225
TT
9732004-09-21 Tom Tromey <tromey@redhat.com>
974
975 * java/lang/reflect/natMethod.cc (_Jv_CallAnyMethodA):
976 Indentation fix.
977
93880692
MK
9782004-09-21 Michael Koch <konqueror@gmx.de>
979
980 * java/net/Socket.java
981 (getLocalAddress): Return InetAddress.ANY_IF if not bound yet.
982
448a698b
CM
9832004-09-21 Casey Marshall <csm@gnu.org>
984
985 * javax/crypto/MacSpi.java (clone): Provide meaningful
986 implementation.
987
34f87940
TT
9882004-09-21 Tom Tromey <tromey@redhat.com>
989
990 PR libgcj/16869:
991 * Makefile.in: Rebuilt.
992 * Makefile.am (MOSTLYCLEANFILES): Removed.
993 (mostlyclean-local): Remove header files.
994
f1b18462
AT
9952004-09-21 Casey Marshall <csm@gnu.org>
996
997 * java/security/cert/X509CRLSelector.java:
998 (match): remove unreachable try-catch clauses.
999 Reported by: Dalibor Topic <robilad@kaffe.org>
1000
10012004-09-21 Mark Wielaard <mark@klomp.org>
1002
1003 * java/util/TreeMap.java (root): Don't initialize.
1004 (TreeMap(Comparator)): Call fabricateTree(0).
1005 (fabricateTree): Initialize root and size when count is 0.
1006
9413382e
SM
10072004-09-21 Sven de Marothy <sven@physto.se>
1008
1009 * java/nio/ByteBuffer.java (hashCode): Implemented.
1010 * java/nio/CharBuffer.java: Likewise.
1011 * java/nio/DoubleBuffer.java: Likewise.
1012 * java/nio/FloatBuffer.java: Likewise.
1013 * java/nio/LongBuffer.java: Likewise.
1014 * java/nio/IntBuffer.java: Likewise.
1015 * java/nio/ShortBuffer.java: Likewise.
1016
936f1f06
AT
10172004-09-21 Andreas Tobler <a.tobler@schweiz.ch>
1018
1019 * javax/security/auth/x500/X500Principal.java: Fix some merge glitches.
1020
10212004-09-21 Michael Koch <konqueror@gmx.de>
1022
1023 * javax/net/ssl/SSLServerSocket.java:
1024 Removed comment about "Do not edit this file, it's generated.".
1025
6f5ce93b
AT
10262004-09-21 Andreas Tobler <a.tobler@schweiz.ch>
1027
1028 Import the big Crypto/Jessie/Security merge from Classpath.
1029
1030 * Makefile.am: Add imported files.
1031 * Makefile.in: Regenerate.
1032
1033 2004-08-14 Casey Marshall <csm@gnu.org>
1034
1035 The Big Crypto Merge of 2004.
1036
1037 * javax/security/auth/x500/X500Principal.java: Replaced with GNU
1038 Crypto's version.
1039
1040 Files imported from GNU Crypto.
1041 * javax/crypto/BadPaddingException.java
1042 * javax/crypto/Cipher.java
1043 * javax/crypto/CipherInputStream.java
1044 * javax/crypto/CipherOutputStream.java
1045 * javax/crypto/CipherSpi.java
1046 * javax/crypto/EncryptedPrivateKeyInfo.java
1047 * javax/crypto/ExemptionMechanism.java
1048 * javax/crypto/ExemptionMechanismException.java
1049 * javax/crypto/ExemptionMechanismSpi.java
1050 * javax/crypto/IllegalBlockSizeException.java
1051 * javax/crypto/KeyAgreement.java
1052 * javax/crypto/KeyAgreementSpi.java
1053 * javax/crypto/KeyGenerator.java
1054 * javax/crypto/KeyGeneratorSpi.java
1055 * javax/crypto/Mac.java
1056 * javax/crypto/MacSpi.java
1057 * javax/crypto/Makefile.am
1058 * javax/crypto/NoSuchPaddingException.java
1059 * javax/crypto/NullCipher.java
1060 * javax/crypto/NullCipherImpl.java
1061 * javax/crypto/SealedObject.java
1062 * javax/crypto/SecretKey.java
1063 * javax/crypto/SecretKeyFactory.java
1064 * javax/crypto/SecretKeyFactorySpi.java
1065 * javax/crypto/ShortBufferException.java
1066 * javax/crypto/interfaces/DHKey.java
1067 * javax/crypto/interfaces/DHPrivateKey.java
1068 * javax/crypto/interfaces/DHPublicKey.java
1069 * javax/crypto/interfaces/PBEKey.java
1070 * javax/crypto/spec/DESKeySpec.java
1071 * javax/crypto/spec/DESedeKeySpec.java
1072 * javax/crypto/spec/DHGenParameterSpec.java
1073 * javax/crypto/spec/DHParameterSpec.java
1074 * javax/crypto/spec/DHPrivateKeySpec.java
1075 * javax/crypto/spec/DHPublicKeySpec.java
1076 * javax/crypto/spec/IvParameterSpec.java
1077 * javax/crypto/spec/PBEKeySpec.java
1078 * javax/crypto/spec/PBEParameterSpec.java
1079 * javax/crypto/spec/RC2ParameterSpec.java
1080 * javax/crypto/spec/RC5ParameterSpec.java
1081 * javax/crypto/spec/SecretKeySpec.java
1082 * javax/security/auth/AuthPermission.java
1083 * javax/security/auth/DestroyFailedException.java
1084 * javax/security/auth/Destroyable.java
1085 * javax/security/auth/Policy.java
1086 * javax/security/auth/PrivateCredentialPermission.java
1087 * javax/security/auth/RefreshFailedException.java
1088 * javax/security/auth/Refreshable.java
1089 * javax/security/auth/Subject.java
1090 * javax/security/auth/SubjectDomainCombiner.java
1091 * javax/security/auth/callback/Callback.java
1092 * javax/security/auth/callback/CallbackHandler.java
1093 * javax/security/auth/callback/ChoiceCallback.java
1094 * javax/security/auth/callback/ConfirmationCallback.java
1095 * javax/security/auth/callback/LanguageCallback.java
1096 * javax/security/auth/callback/NameCallback.java
1097 * javax/security/auth/callback/PasswordCallback.java
1098 * javax/security/auth/callback/TextInputCallback.java
1099 * javax/security/auth/callback/TextOutputCallback.java
1100 * javax/security/auth/callback/UnsupportedCallbackException.java
1101 * javax/security/auth/login/AccountExpiredException.java
1102 * javax/security/auth/login/AppConfigurationEntry.java
1103 * javax/security/auth/login/Configuration.java
1104 * javax/security/auth/login/CredentialExpiredException.java
1105 * javax/security/auth/login/FailedLoginException.java
1106 * javax/security/auth/login/LoginContext.java
1107 * javax/security/auth/login/LoginException.java
1108 * javax/security/auth/login/NullConfiguration.java
1109 * javax/security/auth/x500/X500PrivateCredential.java
1110 * javax/security/sasl/AuthenticationException.java
1111 * javax/security/sasl/AuthorizeCallback.java
1112 * javax/security/sasl/RealmCallback.java
1113 * javax/security/sasl/RealmChoiceCallback.java
1114 * javax/security/sasl/Sasl.java
1115 * javax/security/sasl/SaslClient.java
1116 * javax/security/sasl/SaslClientFactory.java
1117 * javax/security/sasl/SaslException.java
1118 * javax/security/sasl/SaslServer.java
1119 * javax/security/sasl/SaslServerFactory.java
1120 * org/ietf/jgss/ChannelBinding.java
1121 * org/ietf/jgss/GSSContext.java
1122 * org/ietf/jgss/GSSCredential.java
1123 * org/ietf/jgss/GSSException.java
1124 * org/ietf/jgss/GSSManager.java
1125 * org/ietf/jgss/GSSName.java
1126 * org/ietf/jgss/MessageProp.java
1127 * org/ietf/jgss/Oid.java
1128 * org/ietf/jgss/MessagesBundle.properties
1129
1130 Files imported from Jessie <http://www.nongnu.org/jessie/>
1131 * javax/net/ServerSocketFactory.java
1132 * javax/net/SocketFactory.java
1133 * javax/net/VanillaServerSocketFactory.java
1134 * javax/net/VanillaSocketFactory.java
1135 * javax/net/ssl/HandshakeCompletedEvent.java
1136 * javax/net/ssl/HandshakeCompletedListener.java
1137 * javax/net/ssl/HostnameVerifier.java
1138 * javax/net/ssl/HttpsURLConnection.java
1139 * javax/net/ssl/KeyManager.java
1140 * javax/net/ssl/KeyManagerFactory.java
1141 * javax/net/ssl/KeyManagerFactorySpi.java
1142 * javax/net/ssl/ManagerFactoryParameters.java
1143 * javax/net/ssl/SSLContext.java
1144 * javax/net/ssl/SSLContextSpi.java
1145 * javax/net/ssl/SSLException.java
1146 * javax/net/ssl/SSLHandshakeException.java
1147 * javax/net/ssl/SSLKeyException.java
1148 * javax/net/ssl/SSLPeerUnverifiedException.java
1149 * javax/net/ssl/SSLPermission.java
1150 * javax/net/ssl/SSLProtocolException.java
1151 * javax/net/ssl/SSLServerSocket.java
1152 * javax/net/ssl/SSLServerSocketFactory.java
1153 * javax/net/ssl/SSLSession.java
1154 * javax/net/ssl/SSLSessionBindingEvent.java
1155 * javax/net/ssl/SSLSessionBindingListener.java
1156 * javax/net/ssl/SSLSessionContext.java
1157 * javax/net/ssl/SSLSocket.java
1158 * javax/net/ssl/SSLSocketFactory.java
1159 * javax/net/ssl/TrivialHostnameVerifier.java
1160 * javax/net/ssl/TrustManager.java
1161 * javax/net/ssl/TrustManagerFactory.java
1162 * javax/net/ssl/TrustManagerFactorySpi.java
1163 * javax/net/ssl/X509KeyManager.java
1164 * javax/net/ssl/X509TrustManager.java
1165 * javax/security/cert/Certificate.java
1166 * javax/security/cert/CertificateEncodingException.java
1167 * javax/security/cert/CertificateException.java
1168 * javax/security/cert/CertificateExpiredException.java
1169 * javax/security/cert/CertificateNotYetValidException.java
1170 * javax/security/cert/CertificateParsingException.java
1171 * javax/security/cert/X509CertBridge.java
1172 * javax/security/cert/X509Certificate.java
1173
1174 2004-08-20 Casey Marshall <csm@gnu.org>
1175
1176 * java/security/cert/X509CRLSelector.java: New file.
1177 * java/security/cert/X509CertSelector.java: New file.
1178
c36992ff
MK
11792004-09-15 Michael Koch <konqueror@gmx.de>
1180
1181 * gnu/java/net/protocol/file/Handler.java
1182 (openConnection): Don't throw exception if host part for file: URI is
1183 present. setURL() keeps file: protocol if ftp: protocol is not
1184 available.
1185
72826319
RH
11862004-09-14 Richard Henderson <rth@redhat.com>
1187
1188 * java/lang/natPosixProcess.cc (waitForSignal): Ignore return
1189 value of sigsuspend.
1190
3abcc195
TT
11912004-09-12 Tom Tromey <tromey@redhat.com>
1192
1193 * javax/naming/CompoundName.java (CompoundName): Don't check for
1194 separator in "flat" case.
1195
bdd1aed4
MK
11962004-09-12 Michael Koch <konqueror@gmx.de>
1197
1198 * libltdl/configure.ac: Fixed AM_INIT_AUTOMAKE usage and replaces
1199 AM_CONFIG_HEADER by AC_CONFIG_FILES.
1200 * libltdl/Makefile.in, libltdl/aclocal.m4, libltdl/configure:
1201 Regenerate.
1202
a0be84dd
ME
12032004-09-11 Mohan Embar <gnustuff@thisiscool.com>
1204
1205 PR libgcj/14751
1206 * win32-threads.cc (_Jv_ThreadInitData): Zero out thread
1207 handle in newly-allocated _Jv_Thread_t.
1208 (_Jv_ThreadDestroyData): Close thread handle.
1209 (_Jv_ThreadStart): Remove obsolete comment.
1210 Store handle of newly-created thread in _Jv_Thread_t.
1211 * include/win32-threads.h: #define WIN32_LEAN_AND_MEAN
1212 before including <windows.h>
1213 #define _Jv_HaveCondDestroy
1214
bdbf6060
ME
12152004-09-11 Mohan Embar <gnustuff@thisiscool.com>
1216
1217 * java/lang/natThread.cc (finalize_native): Destroy
1218 join conditional variable and mutex if these destroy
1219 operations are supported.
1220
cad79bac
MK
12212004-09-10 Dalibor Topic <robilad@kaffe.org>
1222
1223 * gnu/java/net/protocol/file/Connection.java (permission): New field.
1224 (DEFAULT_PERMISSION): New constant.
1225 (Connection): Create a FilePermission with permission to read file.
1226
12272004-09-10 Michael Koch <konqueror@gmx.de>
1228
1229 * gnu/java/net/protocol/file/Connection.java
1230 (getLastModified): Moved around.
1231 (getPermission): Return stored permission.
1232
8166c201
MK
12332004-09-10 Michael Koch <konqueror@gmx.de>
1234
1235 * Makefile.in: Regenerate.
1236
3cf735f6
MK
12372004-09-10 Michael Koch <konqueror@gmx.de>
1238
1239 * Makefile.am: Reverted accidently commited stuff.
1240 * configure: Regenerated.
1241
5123971a
MK
12422004-09-10 Michael Koch <konqueror@gmx.de>
1243
1244 * gnu/java/net/protocol/file/Connection.java
1245 (lineSeparator): Made non-final.
1246 (static): Removed.
1247 (connect): Initialize lineSeparator lazily. Use ByteArrayInputStream
1248 instead of StringBufferInputStream.
1249
12502004-09-10 Michael Koch <konqueror@gmx.de>
1251
1252 * gnu/java/net/protocol/file/Connection.java
1253 (connect): Handle file is a directory case.
1254
456d47b3
MK
12552004-09-10 Michael Koch <konqueror@gmx.de>
1256
1257 * Makefile.am
1258 (xlib_includes): Removed.
1259 (AM_CPPFLAGS): Renamed from INCLUDES.
1260 (lib_gnu_awt_xlib_la_CPPFLAGS): New automake variable.
1261 * Makefile.in: Regenerate.
1262
4166b036
AT
12632004-09-09 Michael Koch <konqueror@gmx.de>
1264
1265 * java/security/ProtectionDomain.java,
1266 * java/util/PropertyPermissionCollection.java:
1267 Fixed javadocs all over.
1268
12692004-09-09 Sven de Marothy <sven@physto.se>
1270
1271 Patch from David Gilbert <david.gilbert@object-refinery.com>
1272 * java/lang/Comparable.java: Fixed documentation errors.
1273 * java/util/Arrays.java: Likewise.
1274
12752004-09-09 Andrew John Hughes <gnu_andrew@member.fsf.org>
1276
1277 * java/net/Inet4Address.java
1278 (Inet4Address): Added comment to serialization UID.
1279 * java/text/Format.java
1280 (Format): Added comment to serialization UID.
1281
c6614d3e
MK
12822004-09-09 Michael Koch <konqueror@gmx.de>
1283
1284 * java/lang/System.java
1285 (err): Fixed javadoci to point to setErr() and not setOut().
1286
6273ba37
MK
12872004-09-09 Jeroen Frijters <jeroen@frijters.net>
1288
1289 (normalizePath): Added special case for windows systems.
1290
12912004-09-09 Michael Koch <konqueror@gmx.de>
1292
1293 * java/io/File.java
1294 (dupSeparator): Made private.
1295 (File(URI)): New constructor.
1296 (getParentFile): Fixed javadoc.
1297 (createTempFile): Reformated.
1298 (setReadOnly): Added comment.
1299 (deleteOnExit): Merged javadoc with classpath version.
1300
93177580
MK
13012004-09-09 Michael Koch <konqueror@gmx.de>
1302
1303 * Makefile.am: Don't try to include deps.mk.
1304 * Makefile.in: Regenerated.
1305
2e8401ae
BM
13062004-09-08 Bryce McKinlay <mckinlay@redhat.com>
1307
1308 * configure.ac (AC_CONFIG_COMMANDS): Don't create subdirectories and
1309 .d files.
1310 * configure: Rebuilt.
1311
56fa138b
ME
13122004-09-04 Mohan Embar <gnustuff@thisiscool.com>
1313
1314 * java/net/natNetworkInterfaceWin32.cc (getRealNetworkInterfaces):
1315 Changed pfn from static local to local.
1316
351cfd8b
BM
13172004-09-03 Bryce McKinlay <mckinlay@redhat.com>
1318 H.J. Lu <hongjiu.lu@intel.com>
1319
1320 PR libgcj/17290
1321 * Makefile.am (GCJCOMPILE): Remove definition.
1322 (AM_CFLAGS): Add -fclasspath and -fbootclasspath flags.
1323 Use LTGCJCOMPILE, not GCJCOMPILE, to build .lo targets.
1324 * Makefile.in: Rebuilt.
1325
48d0dd75
KC
13262004-09-03 Kelley Cook <kcook@gcc.gnu.org>
1327
1328 * configure.ac (enable-gc-debug): Update help for new syntax.
1329 * configure: Regenerate.
1330
321c496b
DD
13312004-09-03 David Daney <ddaney@avtrex.com>
1332
1333 * include/mips-signal.h: Update copyright.
1334
04efec81
DD
13352004-09-03 David Daney <ddaney@avtrex.com>
1336
1337 * configure.host: Use -fno-use-divide-subroutine for mips*-*-linux*.
1338 * include/mips-signal.h: Added HANDLE_FPE support.
1339
57579172
GH
13402004-08-31 Michael Koch <konqueror@gmx.de>
1341
1342 * javax/swing/plaf/basic/BasicTextAreaUI.java
1343 (create): New method.
1344 * javax/swing/text/DefaultHighlighter.java
1345 (DefaultHighlightPainter.debugRect): Removed.
1346 * javax/swing/text/StyleContext.java
1347 (DEFAULT_STYLE): New field.
1348
13492004-08-31 Michael Koch <konqueror@gmx.de>
1350
1351 * javax/swing/plaf/basic/BasicLookAndFeel.java
1352 (initComponentDefaults): Add keybindings for selection.backward and
1353 selection-forward for text components.
1354 * javax/swing/plaf/basic/BasicTextUI.java
1355 (paintSafely): Paint highlight only when something is actually
1356 selected.
1357 * javax/swing/text/DefaultCaret.java
1358 (handleHighlight): New method.
1359 (setSelectionVisible): Don't do anything when nothing changes.
1360 Handle highlight.
1361 (moveDot): Reimplemented. Handle highlight.
1362 (setDot): Set mark too. Handle highlight.
1363 (getSelectionPainter): New method.
1364 * javax/swing/text/DefaultEditorKit.java
1365 (defaultActions): Added new actions for text selection.
1366 * javax/swing/text/DefaultHighlighter.java
1367 (DefaultHighlightPainter): New inner class.
1368 (DefaultPainter): New field.
1369 (paint): Implemented.
1370 * javax/swing/text/PlainView.java
1371 (paint): Don't draw background here again.
1372 * javax/swing/text/Utilities.java
1373 (getTabbedTextWidth): Use width of ' ' instead of 'm' for tabsize.
1374 (drawTabbedText): Likewise.
1375
13762004-08-31 Graydon Hoare <graydon@redhat.com>
1377
1378 * javax/swing/JComponent.java
1379 (resetKeyboardActions): Add null checks.
1380
13812004-08-31 Graydon Hoare <graydon@redhat.com>
1382
1383 * javax/swing/DefaultButtonModel.java:
1384 Skip group notification when no group is set.
1385
13862004-08-31 Graydon Hoare <graydon@redhat.com>
1387
1388 * javax/swing/JColorChooser.java:
1389 Make a couple inner classes static, for jikes.
1390
13912004-08-31 Michael Koch <konqueror@gmx.de>
1392
1393 * javax/swing/plaf/basic/BasicTextUI.java
1394 (RottView.modelToView): New method.
1395 (UpdateHandler): Renamed from EventHandler.
1396 (updateHandler): Renamed from eventHandler.
1397 (modelToView): Implemented.
1398 * javax/swing/text/AbstractDocument.java
1399 (BranchElement.getElement): Return null for non-existing indeces.
1400 (BranchElement.getElementIndex): Return 0 in some corner cases.
1401 * javax/swing/text/FieldView.java
1402 (modelToView): New method.
1403 * javax/swing/text/PlainView.java
1404 (modelToView): Made public.
1405
14062004-08-31 Kim Ho <kho@redhat.com>
1407
1408 * Makefile.am: New files.
1409 * Makefile.in: Regenerate.
1410 * gcj/Makefile.in: Regenerate.
1411 * include/Makefile.in: Regenerate.
1412 * java/awt/Color.java: Fix documentation.
1413 (RGBtoHSB): Use floats for conversions.
1414 * javax/swing/ButtonGroup.java: Run Jalopy.
1415 (setSelected): Reimplement.
1416 * javax/swing/DefaultButtonModel.java: Run Jalopy.
1417 (changeState): Let ButtonGroup know that the button
1418 is changing state.
1419 * javax/swing/JColorChooser.java: Implement.
1420 * javax/swing/JLabel.java: Run Jalopy.
1421 * javax/swing/JSpinner.java: Run Jalopy.
1422 (setValue): New method.
1423 * javax/swing/JTabbedPane.java: Run Jalopy.
1424 (removeTabAt): Call correct remove method.
1425 * javax/swing/SpinnerNumberModel.java: Run Jalopy.
1426 (getPreviousValue): Compare minimum value.
1427 * javax/swing/Timer.java: Run Jalopy.
1428 (run): Comment out println.
1429 * javax/swing/ToolTipManager.java:
1430 (mouseMoved): Get new tooltip text for location.
1431 * javax/swing/colorchooser/AbstractColorChooserPanel.java:
1432 Jalopy and Javadoc.
1433 * javax/swing/colorchooser/ColorChooserComponentFactory.java:
1434 Implement.
1435 * javax/swing/colorchooser/DefaultColorSelectionModel.java:
1436 Run Jalopy.
1437 (setSelectedColor): Fire ChangeEvent.
1438 * javax/swing/colorchooser/DefaultHSBChooserPanel.java:
1439 New file. Implement.
1440 * javax/swing/colorchooser/DefaultPreviewPanel.java:
1441 Ditto.
1442 * javax/swing/colorchooser/DefaultRGBChooserPanel.java:
1443 Ditto.
1444 * javax/swing/colorchooser/DefaultSwatchChooserPanel.java:
1445 Ditto.
1446 * javax/swing/plaf/basic/BasicArrowButton.java:
1447 (getArrow): Fix size of upward pointing button.
1448 * javax/swing/plaf/basic/BasicColorChooserUI.java:
1449 Implement.
1450 * javax/swing/plaf/basic/BasicSliderUI.java:
1451 (getWidthOfWidestLabel): Use preferred dimensions.
1452 (getHeightOfTallestLabel): Ditto.
1453 * javax/swing/plaf/basic/BasicSpinnerUI.java:
1454 Run Jalopy.
1455 (mousePressed): Disable changes to spinner if it is not enabled.
1456 * testsuite/Makefile.in: Regenerate.
1457
1458
14592004-08-31 Michael Koch <konqueror@gmx.de>
1460
1461 * javax/swing/plaf/basic/BasicTableHeaderUI.java,
1462 javax/swing/plaf/basic/BasicTableUI.java:
1463 Added copyright notice.
1464
14652004-08-31 Olga Rodimina <rodimina@redhat.com>
1466
1467 * Makefile.am: Added new files.
1468 * Makefile.in: Regenerate.
1469 * javax/swing/ComboBoxEditor.java: Added javadocs.
1470 * javax/swing/ComboBoxModel.java: Likewise.
1471 * javax/swing/DefaultComboBoxModel.java: Implemented.
1472 * javax/swing/DefaultListCellRenderer.java: Added javadocs
1473 and ran through jalopy to fix formatting style.
1474 (getListCellRendererComponent): Use appropriate border
1475 if renderer has focus and use noFocusBorder when it doesn't.
1476 * javax/swing/JComboBox.java: Implemented.
1477 * javax/swing/JList.java:
1478 (locationToIndex): New Method. Implemented.
1479 (indexToLocation): New Method.
1480 * javax/swing/JPopupMenu.java:
1481 (visible): New field.
1482 (isVisible): Changed to use new field above.
1483 (setVisible): Likewise.
1484 * javax/swing/MutableComboBoxModel.java: Added javadocs.
1485 * javax/swing/plaf/basic/BasicArrowButton.java:
1486 (shadow): Changed default color to Color.gray.
1487 * javax/swing/plaf/basic/BasicComboBoxUI.java: New File.
1488 UI delegate for JComboBox.
1489 * javax/swing/plaf/basic/BasicComboPopup.java: New File.
1490 Popup menu containing list of JComboBox's items.
1491 * javax/swing/plaf/basic/BasicComboBoxEditor.java: New File.
1492 * javax/swing/plaf/basic/BasicComboBoxRenderer.java: New File.
1493 * javax/swing/plaf/basic/BasicComboBoxUI.java: New File.
1494 * javax/swing/plaf/basic/BasicComboPopup.java: New File.
1495 * javax/swing/plaf/basic/BasicPopupMenuUI.java:
1496 (popupMenuWillBecomeVisible): Set selected path to the first
1497 element only if it is of type MenuElement. Also fix formatting
1498 style.
1499 * javax/swing/plaf/basic/ComboPopup.java: Added javadocs and missing
1500 methods signatures.
1501
15022004-08-31 Michael Koch <konqueror@gmx.de>
1503
1504 * javax/swing/text/AbstractDocument.java
1505 (createBranchElement): Use new constructor of BranchElement.
1506 (createLeafElement): Renamed arguments.
1507 (getRootElements): Implemented.
1508 (BranchElement.start): Removed.
1509 (BranchElement.end): Likewise.
1510 (BranchElement.BranchElement): Fixed arguments.
1511 (BranchElement.getEndOffset): Reimplemented.
1512 (BranchElement.getStartOffset): Likewis.
1513 * javax/swing/text/DefaultCaret.java
1514 (paint): Draw simple vertical line as caret instead of a rectangle.
1515 * javax/swing/text/JTextComponent.java
1516 (setText): Use doc directly.
1517 * javax/swing/text/PlainView.java
1518 (nextTabStop): Implemented.
1519 * javax/swing/text/Utilities.java
1520 (drawTabbedText): nextTabStop() returns an absolute x position.
1521 (getTabbedTextWidth): Likewise.
1522
15232004-08-31 Graydon Hoare <graydon@redhat.com>
1524
1525 * java/awt/Component.java
1526 (isFocusTraversable): Predicate on isLightweight()
1527 (setFocusable): Set isFocusTraversableOverridden.
1528 (requestFocus): Predicate peer dispatch on !isLightweight()
1529 (requestFocusInWindow): Likewise.
1530 (dispatchEventImpl): Coordinate with KeyboardFocusManager.
1531 * java/awt/Container.java
1532 (dispatchEventImpl): Predicate on event mask.
1533 (LightweightDispatcher): Remove focus machinery.
1534 * java/awt/DefaultFocusTraversalPolicy.java
1535 (accept): Expand predicate to include isFocusable().
1536 * java/awt/DefaultKeyboardFocusManager.java:
1537 Globally change c.dispatchEvent(e) to redispatchEvent(c,e)
1538 * java/awt/KeyboardFocusManager.java
1539 (redispatchEvent): Synchronize on event to prevent feedback.
1540 * javax/swing/AbstractButton.java
1541 (ButtonFocusListener): Remove class.
1542 (init): Set focusPainted, focusable.
1543 * javax/swing/ActionMap.java (get): Check parent for null.
1544 * javax/swing/InputMap.java (get): Likewise.
1545 * javax/swing/JComponent.java
1546 (inputMap_whenFocused): New InputMap.
1547 (inputMap_whenAncestorOfFocused): Likewise.
1548 (inputMap_whenInFocusedWindow): Likewise.
1549 (getActionForKeyStroke): Rewrite.
1550 (getConditionForKeystroke): Likewise.
1551 (ActionListenerProxy): New private class.
1552 (setInputMap): Implement.
1553 (getInputMap): Likewise.
1554 (setActionMap): Likewise.
1555 (getActionMap): Likewise.
1556 (processComponentKeyEvent): New empty method.
1557 (processKeyEvent): Implement.
1558 (processKeyBinding): Likewise.
1559 (resetKeyboardActions): Rewrite.
1560 * javax/swing/KeyStroke.java: Rewrite.
1561 * javax/swing/SwingUtilities.java
1562 (notifyAction): Implement.
1563 (replaceUIActionMap): Likewise.
1564 (replaceUIInputMap): Likewise.
1565 * javax/swing/plaf/basic/BasicButtonListener.java
1566 (focusGained): Implement.
1567 (focusLost): Repaint if focusPainted().
1568 (installKeyboardActions): Install pressed / released actions.
1569 (uninstallKeyboardActions): Implement.
1570 * javax/swing/plaf/basic/BasicButtonUI.java
1571 (focusColor): New field.
1572 (installDefaults): Load focus color, install input map.
1573 (installKeyboardActions): Implement.
1574 (uninstallKeyboardActions): Likewise.
1575 (paintFocus): Rewrite.
1576 * javax/swing/plaf/basic/BasicLookAndFeel.java
1577 (Button.focus): New default, midPurple.
1578 * javax/swing/plaf/basic/BasicTextUI.java
1579 (kit): Make static.
1580 (installUI): Get doc from kit, load defaults.
1581 (getKeymapName): Implement.
1582 (createKeymap): Likewise.
1583 (installKeyboardActions): Likewise.
1584 (getInputMap): Likewise.
1585 (getActionMap): Likewise.
1586 (createActionMap): Likewise.
1587 * javax/swing/text/AbstractDocument.java
1588 (getStartPosition): Implement.
1589 (getEndPosition): Likewise.
1590 * javax/swing/text/DefaultEditorKit.java
1591 (CopyAction): New class.
1592 (CutAction): Likewise.
1593 (DefaultKeyTypedAction): Likewise.
1594 (InsertBreakAction): Likewise.
1595 (InsertContentAction): Likewise.
1596 (InsertTabAction): Likewise.
1597 (PasteAction): Likewise.
1598 (defaultActions): New static table.
1599 (createCaret): Implement.
1600 (getActions): Likewise.
1601 * javax/swing/text/JTextComponent.java
1602 (KeymapWrapper): New private class.
1603 (KeymapActionMap): Likewise.
1604 (DefaultKeymap): New class.
1605 (keymaps): New static table.
1606 (keymap): New field.
1607 (getKeymap): Implement.
1608 (removeKeymap): Likewise.
1609 (addKeymap): Likewise.
1610 (setKeymap): Likewise.
1611 (loadKeymap): Likewise.
1612 (getActions): Likewise.
1613 (margin): New field.
1614 (JTextComponent): Build and install default keymap.
1615 * javax/swing/text/TextAction.java
1616 (textAction): Call super properly.
1617 (getTextComponent): Implement.
1618 * javax/swing/text/Utilities.java
1619 (drawTabbedText): Adjust position by ascent.
1620
16212004-08-31 David Jee <djee@redhat.com>
1622
1623 PR AWT/17156
1624
1625 * gnu/java/awt/peer/gtk/GtkMenuItemPeer.java
1626 (setEnabled): Make it a native method.
1627 * java/awt/DefaultKeyboardFocusManager.java
1628 (postProcessKeyEvent): Only post event if the menu item
1629 is active.
1630 * java/awt/MenuItem.java:
1631 Private field 'enabled' should be true by default.
1632 * jni/gtk-peer/gnu_java_awt_peer_gtk_GtkMenuItemPeer.c
1633 (setEnabled): New function.
1634
16352004-08-31 David Jee <djee@redhat.com>
1636
1637 PR AWT/17059
1638
1639 * gnu/java/awt/peer/gtk/GtkMenuBarPeer.java
1640 (nativeSetHelpMenu): New native method declaration.
1641 (addHelpMenu): Call nativeSetHelpMenu().
1642 (addMenu): Remove.
1643 * java/awt/MenuBar.java
1644 (setHelpMenu): Call addNotify() on the new help menu.
1645 (add): Call addNotify() on the new menu.
1646 (addNotify): Set the help menu if one exists.
1647 * java/awt/peer/MenuBarPeer.java
1648 (addMenu): Remove.
1649 * jni/gtk-peer/gnu_java_awt_peer_gtk_GtkMenuBarPeer.c
1650 (nativeSetHelpMenu): New method.
1651
16522004-08-31 Graydon Hoare <graydon@redhat.com>
1653
1654 * Makefile.am: Add new files.
1655 * Makefile.in: Regenerate.
1656 * javax/swing/Box.java: Fix setting of layout in ctor.
1657 * javax/swing/JScrollPane.java: Scroll headers as well.
1658 * javax/swing/JTable.java: Reimplement.
1659 * javax/swing/JViewPort.java: Only add non-null children.
1660 * javax/swing/ScrollPaneLayout.java: Correct header calculations.
1661 * javax/swing/Timer.java: Fix stopping null waker.
1662 * javax/swing/plaf/basic/BasicTableHeaderUI.java: New file.
1663 * javax/swing/plaf/basic/BasicTableUI.java: New file.
1664 * javax/swing/table/DefaultTableCellRenderer.java: Configure.
1665 * javax/swing/table/DefaultTableColumnModel.java: Flesh out.
1666 * javax/swing/table/DefaultTableModel.java: Clean up.
1667 * javax/swing/table/JTableHeader.java: Implement.
1668
16692004-08-31 Mark Wielaard <mark@klomp.org>
1670
1671 * javax/swing/JSpinner.java (getChangeListeners): Remove double
1672 semi-colon.
1673
16742004-08-31 Mark Wielaard <mark@klomp.org>
1675
1676 * jni/gtk-peer/gnu_java_awt_peer_gtk_GdkClasspathFontPeerMetrics.c:
1677 Declare variables at top of functions/block.
1678 * jni/gtk-peer/gnu_java_awt_peer_gtk_GdkGraphics2D.c: Likewise.
1679
16802004-08-31 Mark Wielaard <mark@klomp.org>
1681
1682 * java/lang/Rectangle.java (intersects): Check r.width and r.height
1683 first.
1684
16852004-08-31 Michael Koch <konqueror@gmx.de>
1686
1687 * javax/swing/text/PlainView.java
1688 (selectedColor): New field.
1689 (unselectedColor): Likewise.
1690 (font): Likewise.
1691 (updateMetrics): New method.
1692 (lineToRect): Likewise.
1693 (modelToView): Likewise.
1694 (drawSelectedText): Use color from JTextComponent ad draw with
1695 Utilities class.
1696 (drawUnselectedText): Likewise.
1697 (paint): Initialize helper fields.
1698 * javax/swing/text/View.java
1699 (getChildAllocation): New method.
1700 (getViewIndex): Likewise.
1701 (getToolTipText): Likewise.
1702
17032004-08-31 Michael Koch <konqueror@gmx.de>
1704
1705 * javax/swing/text/Utilities.java
1706 (drawTabbedText): Reimplemented.
1707 (getTabbedTextWidth): Likewise.
1708
17092004-08-31 Michael Koch <konqueror@gmx.de>
1710
1711 * javax/swing/plaf/basic/BasicTextUI.java
1712 (installDefaults): Install caret and highlighter.
1713 (modelToView): Use Bias.Forward when calling sibling.
1714 * javax/swing/text/AbstractDocument.java
1715 (ElementEdit): Implements DocumentEvent.ElementChange.
1716 (ElementEdit.ElementEdit): New method.
1717 (ElementEdit.getChildrenAdded): Likewise.
1718 (ElementEdit.getChildrenRemoved): Likewise.
1719 (ElementEdit.getElement): Likewise.
1720 (ElementEdit.getIndex): Likewise.
1721 * javax/swing/text/DefaultCaret.java
1722 (color): Removed.
1723 (textComponent): Renamed from parent, made private.
1724 (selectionVisible): Renamed from vis_sel, made private.
1725 (blinkRate): Renamed from blink, made private.
1726 (magicCaretPosition): Renamed from magic, made private.
1727 (visible): Renamed from vis, made private.
1728 (dot): Made private.
1729 (mark): Likewise.
1730 (deinstall): Remove as MouseMotionListener.
1731 (install): Initialize textComponent first. Add as MouseMotionListener.
1732 (paint): Reimplemented.
1733 * javax/swing/text/JTextComponent.java
1734 (setCaret): Deinstall old caret, install new one and fire property
1735 change after setting property.
1736 (setHighlighter): Deinstall old highlighter, install new one and fire
1737 property change after setting property.
1738 (setCaretColor): Fire property change after setting property.
1739 (setDisabledTextColor): Likewise.
1740 (setSelectedTextColor): Likewise.
1741 (setSelectionColor): Likewise.
1742 (modelToView): New method.
1743
17442004-08-31 Michael Koch <konqueror@gmx.de>
1745
1746 * javax/swing/text/AbstractDocument.java
1747 (getText): Simplified.
1748 * javax/swing/text/Segment.java
1749 (current): New field.
1750 (current): Reimplemented.
1751 (first): Likewise.
1752 (getIndex): Likewise.
1753 (last): Likewise.
1754 (next): Likewise.
1755 (previous): Likewise.
1756 (setIndex): Likewise.
1757
17582004-08-31 Michael Koch <konqueror@gmx.de>
1759
1760 * javax/swing/plaf/basic/BasicButtonUI.java
1761 (defaultTextIconGap): Made protected.
1762 (defaultTextShiftOffset): Likewise.
1763 (textShiftOffset): New field.
1764 (clearTextShiftOffset): New method.
1765 (getTextShiftOffset): Likewise.
1766 (setTextShiftOffset): Likewise.
1767
17682004-08-31 Michael Koch <konqueror@gmx.de>
1769
1770 * javax/swing/plaf/basic/BasicTextUI.java
1771 (installUI): Add eventHandler as property listener.
1772 (uninstallUI): remove eventHandler as propert listener.
1773 (installDefaults): Added comment.
1774 (installListeners): Likewise.
1775 (installKeyboardActions): Likewise.
1776 (uninstallDefaults): Likewise.
1777 (uninstallListeners): Likewise.
1778 (uninstallKeyboardActions): Likewise.
1779
17802004-08-31 Michael Koch <konqueror@gmx.de>
1781
1782 * javax/swing/text/AbstractDocument.java:
1783 Fixed some typos in comments.
1784 (insertString): Reimplemented.
1785 (remove): Likewise.
1786 (replace): New method.
1787 (children): Dont use fully qualified class name.
1788 (DefaultDocumentEvent.offset): Renamed from off.
1789 (DefaultDocumentEvent.length): Renamed from len.
1790 (DefaultDocumentEvent.type): New field.
1791 (DefaultDocumentEvent.DefaultDocumentEvent): New constructor.
1792 (DefaultDocumentEvent.getType): Implemented.
1793
17942004-08-31 Michael Koch <konqueror@gmx.de>
1795
1796 * javax/swing/plaf/basic/BasicTextUI.java
1797 (RootView.textComponent): Removed.
1798 (RootView.RootView): Don't initialize textComponent.
1799 (RootView.getViewFactory): New method.
1800 (EventHandler): New inner class.
1801 (rootView): Initialize at instance creation.
1802 (eventHandler): New field.
1803 (installUI): Don't create view hierarchy directly,
1804 call modelChanged() instead.
1805 (modelChanged): New method.
1806 * javax/swing/text/JTextComponent.java
1807 (setDocument): Fire property change event.
1808
18092004-08-31 Michael Koch <konqueror@gmx.de>
1810
1811 * javax/swing/plaf/basic/BasicTextUI.java
1812 (RootView.paint): Removed debug output.
1813 (paintSafely): Draw highlighter before text.
1814 (paintBackground): Use background color of text component.
1815 * javax/swing/plaf/basic/BasicToggleButtonUI.java:
1816 Reformatted.
1817
18182004-08-31 Michael Koch <konqueror@gmx.de>
1819
1820 * javax/swing/plaf/basic/BasicToolBarUI.java
1821 (BasicToolBarUI): Fixed arguments for constructor.
1822 (createUI): Fixed creation of object.
1823
18242004-08-31 Michael Koch <konqueror@gmx.de>
1825
1826 * javax/swing/DefaultListSelectionModel.java
1827 (fireValueChanged): Renamed from fireSelectionValueChanged,
1828 made protected.
1829
18302004-08-31 Michael Koch <konqueror@gmx.de>
1831
1832 * javax/swing/text/TabSet.java
1833 (TabSet): Implements java.io.Serializable.
1834 * javax/swing/text/TabStop.java
1835 (TabStop): Implements java.io.Serializable.
1836 (TabStop): Made public.
1837
18382004-08-31 Michael Koch <konqueror@gmx.de>
1839
1840 * javax/swing/JComponent.java
1841 (setUI): Fire PropertyChange.
1842 * javax/swing/JLabel.java
1843 (text): Renamed from labelText.
1844 (horizontalAlignment): New default vlaue.
1845 (icon): Renamed from activeIcon.
1846 (displayedMnemonic): Renamed from mnemonicKey, added default value.
1847 (displayedMnemonicIndex): Renamed from underlineChar.
1848 (setDisplayedMnemonic): Reimplemented.
1849 * javax/swing/JRadioButton.java
1850 (JRadioButton): New constructors.
1851 * javax/swing/JTextField.java
1852 (JTextField): Throw exception if colums < 0, initialitialz
1853 this.columns directly and initialize document with text conditionally.
1854
18552004-08-31 Michael Koch <konqueror@gmx.de>
1856
1857 * javax/swing/plaf/basic/BasicFormattedTextFieldUI.java,
1858 javax/swing/plaf/basic/BasicPasswordFieldUI.java,
1859 javax/swing/plaf/basic/BasicTextAreaUI.java: New files.
1860 * javax/swing/text/FieldView.java
1861 (paint): Just call super method for now.
1862 * Makefile.am: Added new files.
1863 * Makefile.in: Regenerated.
1864
18652004-08-31 Ka-Hing Cheung <kahing@javabsp.org>
1866
1867 * javax/swing/AbstractSpinnerModel.java,
1868 javax/swing/JSpinner.java,
1869 javax/swing/SpinnerNumberModel.java,
1870 javax/swing/plaf/basic/BasicSpinnerUI.java:
1871 New files.
1872 * javax/swing/plaf/basic/BasicLookAndFeel.java
1873 (initClassDefaults): Added defaults for BasicSpinnerUI.
1874
18752004-08-31 Michael Koch <konqueror@gmx.de>
1876
1877 * Makefile.am: Added new files.
1878 * Makefile.in: Regenerated.
1879
18802004-08-31 Michael Koch <konqueror@gmx.de>
1881
1882 * javax/swing/TransferHandler.java,
1883 javax/swing/plaf/basic/ComboPopup.java: New files
1884 * Makefile.am: Added javax/swing/TransferHandler.java and
1885 javax/swing/plaf/basic/ComboPopup.java
1886 * Makefile.in: Regenerated.
1887
18882004-08-31 Roman Kennke <roman@ontographics.com>
1889
1890 * javax/swing/text/Utilities.java: New file.
1891
18922004-08-31 Michael Koch <konqueror@gmx.de>
1893
1894 * Makefile.am: Added javax/swing/text/Utilities.java.
1895 * Makefile.in: Regenerated.
1896
18972004-08-31 Graydon Hoare <graydon@redhat.com>
1898
1899 * javax/swing/text/SimpleAttributeSet.java: New file.
1900 * javax/swing/text/StyleConstants.java: New file.
1901 * javax/swing/text/StyleContext.java: New file.
1902 * javax/swing/text/TabSet.java: New file.
1903 * javax/swing/text/TabStop.java: New file.
1904 * javax/swing/text/AbstactDocument.java:
1905 (AbstractElement): Implement attribute support.
1906 * javax/swing/text/AttributeSet.java
1907 (NameAttribute): New static field.
1908 (ResolveAttribute): New static field.
1909 * Makefile.am: Update for new files.
1910 * Makefile.in: Regenerate.
1911
19122004-08-31 Craig Black <craig.black@aonix.com>
1913
1914 * gnu/java/awt/peer/gtk/GdkGraphics.java
1915 (drawImage): Add support for scaling pixmaps.
1916 * jni/gtk-peer/gnu_java_awt_peer_gtk_GdkGraphics.c
1917 (copyAndScalePixmap): New native method.
1918
19192004-08-31 Thomas Fitzsimmons <fitzsim@redhat.com>
1920
1921 PR AWT/16121
1922 * jni/gtk-peer/gthread-jni.c: Include stdio.h. Eliminate
1923 type-punning compiler warnings using unions.
1924 (throw): Replace bzero with memset.
1925
19262004-08-31 Andreas Tobler <a.tobler@schweiz.ch>
1927 Thomas Fitzsimmons <fitzsim@redhat.com>
1928
1929 * jni/gtk-peer/gnu_java_awt_peer_gtk_GdkPixbufDecoder.c: Move
1930 NSA_PB macros to gtkpeer.h. Include gtkpeer.h.
1931 * jni/gtk-peer/gtkpeer.h: Move NSA_PB macros here.
1932 * jni/gtk-peer/gnu_java_awt_peer_gtk_GtkWindowPeer.c
1933 (nativeSetIconImageFromDecoder): Use NSA_GET_PB_PTR macro.
1934
19352004-08-31 Mark Wielaard <mark@klomp.org>
1936
1937 * native/jni/gtk-peer/gnu_java_awt_peer_gtk_GdkPixbufDecoder.c:
1938 #include gdk.h, not gtk.h. #include jni.h, native_state.h, string.h
1939 and stdlib.h, not gtkpeer.h.
1940 (*vm): New static variable.
1941 (areaPreparedID): Make static.
1942 (areaUpdatedID): Likewise.
1943 (area_prepared): Get and use JNIEnv through stored JavaVM *vm.
1944 (area_prepared): Likewise.
1945 (area_updated): Likewise.
1946 (closed): Likewise.
1947 (initStaticState): Initialize *vm javaVM.
1948 (pumpBytes): Use given env, not global gdk_env.
1949
19502004-08-31 Mark Wielaard <mark@klomp.org>
1951
1952 * java/awt/geom/CubicCurve2D.java (solveCubic): Removed duplicate
1953 comments.
1954
19552004-08-31 Sven de Marothy <sven@physto.se>
1956
1957 * java/awt/geom/CubicCurve2D.java: Reindent.
1958 (contains): Implemented.
1959 (intersects): Implemented.
1960 * java/awt/geom/QuadCurve2D.java: Likewise.
1961 * java/awt/geom/GeneralPath.java: Reindent and document.
1962 Fully (re)implemented using separate xpoints and ypoints
1963 float[] coords.
1964 * java/awt/geom/RoundRectangle2D.java: Several bugfixes (Bug #6007).
1965
19662004-08-31 Michael Koch <konqueror@gmx.de>
1967
1968 * javax/swing/JMenuItem.java
1969 (getMenuDragMouseListeners): New method.
1970 (getMenuKeyListeners): Likewise.
1971
19722004-08-31 Michael Koch <konqueror@gmx.de>
1973
1974 * javax/swing/AbstractButton.java
1975 (model): Made protected.
1976 (actionListener): Likewise.
1977 (changeListener): Likewise.
1978 (itemListener): Likewise.
1979 (multiClickThreshhold): New field.
1980 (getActionListeners): New method.
1981 (getChangeListeners): Likewise.
1982 (getItemListeners): Likewise.
1983 (fireItemStateChanged): Simplified implementation.
1984 (fireActionPerformed): Likewise.
1985 (fireStateChanged): Likewise.
1986 (getMultiClickThreshhold): New method.
1987 (setMultiClickThreshhold): Likewise.
1988
19892004-08-31 Tom Tromey <tromey@redhat.com>
1990
1991 * java/awt/image/Kernel.java (clone): Use super.clone().
1992
19932004-08-31 David Jee <djee@redhat.com>
1994
1995 PR AWT/16682
1996 * gnu/java/awt/peer/gtk/GtkFramePeer.java
1997 (nativeSetIconImage): Rename to nativeSetIconImageFromDecoder.
1998 (nativeSetIconImageFromData): New native method declaration.
1999 (setIconImage): Handle images not produced from GdkPixbufDecoder.
2000 * gnu/java/awt/peer/gtk/GtkImage.java
2001 (getPixelCache): New method.
2002 (getColorModel): New method.
2003 * jni/gtk-peer/gnu_java_awt_peer_gtk_GtkWindowPeer.c
2004 (nativeSetIconImage): Rename to nativeSetIconImageFromDecoder.
2005 (free_pixbuf_data): New helper function.
2006 (nativeSetIconImageFromData): New function.
2007
20082004-08-31 Graydon Hoare <graydon@redhat.com>
2009
2010 PR SWING/16576
2011 * javax/swing/JLayeredPane.java
2012 (setLayer): Permit changing layer after addition.
2013 (setPosition): Permit over-length positions.
2014 (layerToRange): Compare intValue()s.
2015 * javax/swing/Box.java (createHorizontalBox): Implement.
2016 (createRigidArea): Likewise.
2017 (createVerticalBox): Likewise.
2018
20192004-08-31 Kim Ho <kho@redhat.com>
2020
2021 * java/awt/Component.java:
2022 (processMouseEvent): Consume event after
2023 listeners process it.
2024 (processMouseMotionEvent): ditto.
2025 (processMouseWheelEvent): ditto.
2026 * java/awt/Container.java:
2027 (acquireComponentForMouseEvent):
2028 Do not dispatch to events that have been
2029 removed from the Container.
2030 (handleEvent): Consume the MouseEvents.
2031 * javax/swing/RepaintManager.java:
2032 (paintDirtyRegions): Do not add to list of
2033 damaged areas if the component has no root.
2034
20352004-08-31 Michael Koch <konqueror@gmx.de>
2036
2037 * javax/swing/plaf/basic/BasicMenuItemUI.java: Clean ip imports.
2038
20392004-08-31 Mark Wielaard <mark@klomp.org>
2040
2041 * gnu/java/awt/peer/gtk/GtkToolkit.java (getFontPeer): Don't return
2042 null when a MissingResourceException is thrown. Should never happen.
2043
20442004-08-31 Mark Wielaard <mark@klomp.org>
2045
2046 * java/awt/EventQueue.java (postEvent): Throw NullPointerException
2047 when argument is null.
2048
20492004-08-31 Mark Wielaard <mark@klomp.org>
2050
2051 * jni/gtk-peer/gnu_java_awt_peer_gtk_GtkComponentPeer.c
2052 (Java_gnu_java_awt_peer_gtk_GtkComponentPeer_addExposeFilter):
2053 Define hid at start of function.
2054 (Java_gnu_java_awt_peer_gtk_GtkComponentPeer_removeExposeFilter):
2055 Likewise.
2056
20572004-08-31 Mark Wielaard <mark@klomp.org>
2058
2059 * gnu/java/awt/EmbeddedWindow.java: Reindent.
2060 * javax/swing/JButton.java: Reindent.
2061 * javax/swing/JCheckBox.java: Reindent.
2062
20632004-08-31 Mark Wielaard <mark@klomp.org>
2064
2065 * Makefile.am (gtk_c_source_files): Added
2066 jni/gtk-peer/gnu_java_awt_peer_gtk_GThreadNativeMethodRunner.c.
2067 (gtk_awt_peer_sources): Added
2068 gnu/java/awt/peer/gtk/GThreadMutex.java and
2069 gnu/java/awt/peer/gtk/GThreadNativeMethodRunner.java.
2070 * Makefile.in: Regenerated.
2071
20722004-08-31 Archie Cobbs <archie@dellroad.org>
2073
2074 * jni/gtk-peer/gthread-jni.c: don't #include nonexistent files
2075
20762004-08-31 Steven Augart <augart@watson.ibm.com>
2077
2078 * jni/gtk-peer/gthread-jni.c (c-font-lock-extra-types):
2079 Added jfieldID, jmethodID.
2080
20812004-08-31 Mark Wielaard <mark@klomp.org>
2082
2083 * jni/gtk-peer/gnu_java_awt_peer_gtk_GtkMainThread.c
2084 (Java_gnu_java_awt_peer_gtk_GtkMainThread_gtkInit): Initialize
2085 gdk_env before calling any gdk or gtk function.
2086
2087 * gnu/java/awt/peer/gtk/GtkMainThread.java (gtkInitCalled): New field.
2088 (GtkMainThread): Call wait() in while loop waiting for gtkInitCalled.
2089 (run): Set gtkInitCalled.
2090
20912004-08-31 Steven Augart <augart@watson.ibm.com>
2092
2093 * gnu/java/awt/peer/gtk/GtkMainThread.java (run): Pass the value of
2094 the gnu.classpath.awt.gtk.portable.native.sync system property to C.
2095
2096 * jni/gtk-peer/gnu_java_awt_peer_gtk_GtkMainThread.c
2097 (Java_gnu_java_awt_peer_gtk_GtkMainThread_gtkInit): New argument,
2098 portableNativeSync. Delegate PORTABLE_NATIVE_SYNC work to
2099 init_glib_threads.
2100 (init_glib_threads): New function.
2101
21022004-08-31 Mark Wielaard <mark@klomp.org>
2103
2104 * jni/gtk-peer/gthread-jni.c: Define MIN_, MAX_ and NORM_
2105 PRIORITY when not already defined in header file.
2106
21072004-08-31 Mark Wielaard <mark@klomp.org>
2108
2109 * jni/gtk-peer/gthread-jni.c (setup_cache): Call
2110 ExceptionOccurred, not ExceptionCheck, when we don't have JNI 1.2.
2111
21122004-08-31 Steven Augart <augart@watson.ibm.com>
2113
2114 * gnu/native/jni/gtk-peer/gthread-jni.c: Indentation fixes.
2115 Implemented missing functions for GTK2.
2116 Added error handling.
2117 Renamed static functions out of the g_ namespace.
2118 Added TRACE_API_CALLS, EXPLAIN_TROUBLE, EXPLAIN_BROKEN,
2119 EXPLAIN_BADLY_BROKEN, and DELETE_LOCAL_REFS options.
2120 Rewrote global-reference code.
2121 Eliminated cascading errors.
2122 (mutex_trylock_jni_impl) Fully implemented.
2123 (cond_timed_wait_jni_impl) Went from millisecond to microsecond
2124 resolution.
2125 (setup_cache) New function.
2126 (mutex_cond_wait_jni_impl, mutex_cond_timed_wait_jni_impl) Fixed
2127 bug where they were not unlocking the GMutex associated with the
2128 condition variable during the wait on that condition variable.
2129
2130 * native/jni/gtk-peer/gnu_java_awt_peer_gtk_GtkMainThread.c,
2131 native/jni/gtk-peer/gthread-jni.c,
2132 native/jni/gtk-peer/gthread-jni.h
2133 (g_thread_jni_functions): Renamed to ...
2134 (portable_native_sync_jni_functions): this name.
2135 (gdk_vm): Renamed to...
2136 (the_vm): this name.
2137
2138 * native/jni/gtk-peer/gnu_java_awt_peer_gtk_GtkMainThread.c
2139 (gdk_vm): Removed duplicate definition.
2140 (gtkInit): Removed stray message to stdout.
2141 (gtkInit): Use g_malloc and g_free instead of malloc and free.
2142 (gtkInit): Fix a const assignment bug.
2143 (gtkInit): Simplified code.
2144
2145 * gnu/java/awt/peer/gtk/GThreadNativeMethodRunner.java,
2146 native/jni/gtk-peer/gnu_java_awt_peer_gtk_GThreadNativeMethodRunner.c,
2147 native/jni/gtk-peer/gnu_java_awt_peer_gtk_GThreadNativeMethodRunner.h,
2148 gnu/java/awt/peer/gtk/GThreadMutex.java:
2149 New files.
2150
21512004-08-31 Mark Wielaard <mark@klomp.org>
2152
2153 * javax/swing/Box.java: Put FIXME comment above class declaration.
2154 * javax/swing/JButton.java: Remove illegal L&F HTML from comments.
2155 * javax/swing/JCheckBox.java: Likewise.
2156 * javax/swing/JDialog.java: Likewise.
2157 * javax/swing/JRadioButton.java: Likewise.
2158 * javax/swing/JToggleButton.java: Likewise.
2159 * javax/swing/UIManager.java: Likewise.
2160 * javax/swing/border/TitledBorder.java: Likewise.
2161 * javax/swing/plaf/basic/BasicLabelUI.java: Likewise.
2162 * javax/swing/plaf/basic/BasicLookAndFeel.java: Likewise.
2163 * javax/swing/plaf/basic/BasicPopupMenuSeparatorUI.java: Likewise.
2164 * javax/swing/plaf/basic/BasicProgressBarUI.java: Likewise.
2165 * javax/swing/plaf/basic/BasicScrollBarUI.java: Likewise.
2166 * javax/swing/plaf/basic/BasicSeparatorUI.java: Likewise.
2167 * javax/swing/text/JTextComponent.java: Likewise.
2168
21692004-08-31 David Jee <djee@redhat.com>
2170
2171 PR AWT/16682
2172 * gnu/java/awt/peer/gtk/GtkFramePeer.java
2173 (setIconImage): Add a FIXME for unhandled cases.
2174
21752004-08-31 Thomas Fitzsimmons <fitzsim@redhat.com>
2176
2177 PR AWT/16040
2178 * gnu/awt/LightweightRedirector.java: Call getModifiersEx, not
2179 getModifiers. Replace old button masks with new ones.
2180 * gnu/awt/xlib/XEventLoop.java: Likewise.
2181 * gnu/java/awt/peer/gtk/GtkButtonPeer.java: Likewise.
2182 * gnu/java/awt/peer/gtk/GtkComponentPeer.java,
2183 jni/gtk-peer/gnu_java_awt_peer_gtk_GtkComponentPeer.c: Likewise.
2184 * gnu/java/awt/peer/gtk/GtkListPeer.java: Likewise.
2185 * gnu/java/awt/peer/gtk/GtkTextFieldPeer.java: Likewise.
2186 * java/awt/AWTKeyStroke.java: Remove old modifier masks.
2187 * java/awt/Component.java: Replace old modifier masks with new
2188 ones.
2189 * java/awt/Container.java: Call getModifiersEx, not
2190 getModifiers.
2191 * java/awt/DefaultKeyboardFocusManager.java: Likewise. Remove
2192 old modifier masks.
2193 * javax/swing/JMenuItem.java: Replace old button masks with new
2194 ones.
2195 * javax/swing/KeyStroke.java: Call getModifiersEx, not
2196 getModifiers.
2197 * javax/swing/SwingUtilities.java: Likewise.
2198 * javax/swing/plaf/basic/BasicButtonListener.java: Likewise.
2199 * javax/swing/plaf/basic/BasicInternalFrameUI.java: Likewise.
2200 * jni/gtk-peer/gnu_java_awt_peer_gtk_GtkEvents.c: Replace old
2201 mask macros with new ones.
2202 * jni/gtk-peer/gtkpeer.h: Replace old button and modifier mask
2203 macros with new ones representing new masks.
2204
22052004-08-31 Craig Black <craig.black@aonix.com>
2206
2207 * gnu/java/awt/peer/gtk/GdkGraphics.java
2208 (drawRoundRect): Implemented.
2209 (fillRoundRect): Implemented.
2210 * gnu/java/awt/peer/gtk/GdkGraphics2D.java
2211 (drawRoundRect): Reimplemented to match GdkGraphics.
2212 (fillRoundRect): Reimplemented to match GdkGraphics.
2213
22142004-08-31 Mark Wielaard <mark@klomp.org>
2215
2216 * Makefile.in: Regenerated.
2217
22182004-08-31 Michael Koch <konqueror@gmx.de>
2219
2220 * gnu/java/awt/EmbeddedWindow.java
2221 (addNotify): Use AccessController to allow execution of privileged
2222 code.
2223
22242004-08-31 Michael Koch <konqueror@gmx.de>
2225
2226 * gnu/java/awt/EmbeddedWindow.java
2227 (static): Removed.
2228 (addNotify): Set peer via reflection.
2229 (setWindowPeer): Removed.
2230 * gnu/java/awt/natEmbeddedWindow.cc: Removed.
2231 * Makefile.am (nat_source_files):
2232 Removed gnu/java/awt/natEmbeddedWindow.cc.
2233
22342004-08-31 Bryce McKinlay <mckinlay@redhat.com>
2235
2236 * Makefile.am: Add gnu/java/security/action/GetPropertyAction.java
2237 and gnu/java/security/action/SetAccessibleAction.java.
2238
22392004-08-31 Bryce McKinlay <mckinlay@redhat.com>
2240
2241 * gnu/java/security/action/GetPropertyAction.java (setParameters):
2242 Renamed from 'setName'. New 2-argument form with default value.
2243 (run): Pass default 'value' parameter to System.getProperty().
2244 * gnu/java/security/action/SetAccessibleAction.java: Fix javadoc
2245 typos.
2246
22472004-08-31 Bryce McKinlay <mckinlay@redhat.com>
2248
2249 * gnu/java/security/action/GetPropertyAction.java: New class.
2250 * gnu/java/security/action/SetAccessibleAction.java: New class.
2251
22522004-08-31 David Jee <djee@redhat.com>
2253
2254 * gnu/java/awt/peer/gtk/GtkFramePeer.java
2255 (setIconImage): Check if image is null.
2256
22572004-08-31 David Jee <djee@redhat.com>
2258
2259 * gnu/java/awt/peer/gtk/GtkFramePeer.java
2260 (create): Set the icon image.
2261 (nativeSetIconImage): New native method declaration.
2262 (setIconImage): Implement.
2263 * jni/gtk-peer/gnu_java_awt_peer_gtk_GtkWindowPeer.c
2264 (nativeSetIconImage): New function.
2265
22662004-08-31 Dalibor Topic <robilad@kaffe.org>
2267
2268 * native/jni/gtk-peer/gnu_java_awt_peer_gtk_GtkFileDialogPeer.c
2269 (filenameFilterCallback): Declare local variable accepted before use.
2270
22712004-08-31 Dalibor Topic <robilad@kaffe.org>
2272
2273 * gnu/java/awt/ComponentDataBlitOp.java:
2274 Cleaned up imports.
2275
22762004-08-31 Tom Tromey <tromey@redhat.com>
2277
2278 * gnu/java/awt/peer/GLightweightPeer.java,
2279 gnu/java/awt/peer/gtk/GdkGraphics2D.java,
2280 gnu/java/awt/peer/gtk/GtkComponentPeer.java,
2281 javax/swing/JScrollPane.java: Removed
2282 redundant imports.
2283
22842004-08-31 David Jee <djee@redhat.com>
2285
2286 * java/awt/DefaultKeyboardFocusManager.java
2287 (postProcessKeyEvent): Only activate MenuShortcuts on KEY_PRESSED
2288 event. Fix shift modifier checking.
2289 * jni/gtk-peer/gnu_java_awt_peer_gtk_GtkMenuPeer.c
2290 (accel_attach): Remove.
2291 (setupAccelGroup): Remove calls to accel_attach.
2292
22932004-08-31 Thomas Fitzsimmons <fitzsim@redhat.com>
2294
2295 * gnu/java/awt/peer/gtk/GtkArg.java: Remove file.
2296 * gnu/java/awt/peer/gtk/GtkArgList.java: Remove file.
2297
2298 * Makefile.am (gtk_awt_peer_sources): Remove GtkArg.java and
2299 GtkArgList.java.
2300 (gtk_c_files): Use CAIRO_CFLAGS and PANGOFT2_CFLAGS, not _LIBS.
2301 * Makefile.in: Regenerate.
2302 * gnu/java/awt/peer/gtk/GtkButtonPeer.java,
2303 jni/gtk-peer/gnu_java_awt_peer_gtk_GtkButtonPeer.c
2304 (create(String)): New method.
2305 (create): Call new create method.
2306 (getArgs): Remove method.
2307 * gnu/java/awt/peer/gtk/GtkCheckboxPeer.java,
2308 jni/gtk-peer/gnu_java_awt_peer_gtk_GtkCheckboxPeer.c
2309 (nativeCreate): Rename to create.
2310 (gtkSetLabel): Rename to gtkButtonSetLabel.
2311 (gtkToggleButtonSetActive): New method.
2312 (create): Call gtkToggleButtonSetActive and gtkButtonSetLabel.
2313 (setState): Replace set call with gtkToggleButtonSetActive.
2314 (setLabel): Replace gtkSetLabel call with gtkButtonSetLabel.
2315 (getArgs): Remove method.
2316 * gnu/java/awt/peer/gtk/GtkComponentPeer.java,
2317 jni/gtk-peer/gnu_java_awt_peer_gtk_GtkComponentPeer.c
2318 (gtkWidgetSetSensitive): New method.
2319 (gtkWidgetSetParent): Likewise.
2320 (GtkComponentPeer): Call setParent, setComponentBounds and
2321 setVisibleAndEnabled.
2322 (setParent): New method.
2323 (setComponentBounds): New method.
2324 (setVisibleAndEnabled): New method.
2325 (setEnabled): Call gtkWidgetSetSensitive.
2326 (getArgs): Remove method.
2327 Remove all set methods.
2328 * gnu/java/awt/peer/gtk/GtkDialogPeer.java (create): Call
2329 gtkWindowSetModal, setTitle and setResizable.
2330 (getArgs): Remove method.
2331 * gnu/java/awt/peer/gtk/GtkFileDialogPeer.java
2332 (setComponentBounds): New method.
2333 * gnu/java/awt/peer/gtk/GtkFramePeer.java (setResizable):
2334 Replace set call with gtkWindowSetResizable.
2335 (getArgs): Remove method.
2336 (create): Call setTitle and setResizable.
2337 * gnu/java/awt/peer/gtk/GtkWindowPeer.java,
2338 jni/gtk-peer/gnu_java_awt_peer_gtk_GtkWindowPeer.c
2339 (gtkWindowSetTitle): New method.
2340 (gtkWindowSetResizable): New method.
2341 (gtkWindowSetModal): New method.
2342 (setParent): New method.
2343 (setVisibleAndEnabled): New method.
2344 (getArgs): Remove method.
2345 (setTitle): Call gtkWindowSetTitle.
2346 (setResizable): Call gtkWindowSetResizable.
2347 * jni/gtk-peer/gtkpeer.h [DEBUG_LOCKING]: New define to turn on
2348 and off locking instrumentation.
2349
23502004-08-31 Kim Ho <kho@redhat.com>
2351
2352 * Makefile.am: Add new file.
2353 * Makefile.in: Regenerate.
2354 * gcj/Makefile.in: Regenerate
2355 * include/Makefile.in:
2356 * java/awt/Container.java:
2357 (acquireComponentForMouseEvent): Respect
2358 the event mask when looking for candidate.
2359 * javax/swing/JComponent.java:
2360 Remove toolTip field.
2361 (createToolTip): Create a tooltip on demand.
2362 (setToolTipText): Register with the ToolTipManager.
2363 (getToolTipText(MouseEvent)): Return getToolTipText().
2364 * javax/swing/JToolTip.java: Implement.
2365 * javax/swing/Timer.java: Jalopy.
2366 (restart): Call stop, then start.
2367 (stop): Interrupt the timer rather than wait for
2368 the timer to come to a stop naturally.
2369 * javax/swing/ToolTipManager.java: Implement.
2370 * javax/swing/plaf/basic/BasicLookAndFeel.java:
2371 Change ToolTip.background color.
2372 * javax/swing/plaf/basic/BasicToolTipUI.java:
2373 Implement.
2374 * testsuite/Makefile.in: Regenerate
2375
23762004-08-31 Jerry Quinn <jlquinn@optonline.net>
2377
2378 * java/awt/image/DirectColorModel.java (DirectColorModel): Fix
2379 constructor param comments.
2380
23812004-08-31 Thomas Fitzsimmons <fitzsim@redhat.com>
2382
2383 * java/awt/Component.java: Document AWT 1.0 event handler
2384 methods.
2385
23862004-08-31 Roman Kennke <roman@ontographics.com>
2387
2388 * javax/swing/Box.java:
2389 (createGlue): Implemented
2390 (createHorizontalGlue): Implemented
2391 (createHorizontalStrut): Implemented
2392 (createVerticalGlue): Implemented
2393 (createVerticalStrut): Implemented
2394
23952004-08-31 David Jee <djee@redhat.com>
2396
2397 * gnu/java/awt/peer/gtk/GtkChoicePeer.java
2398 (GtkChoicePeer): Do not automatically select first item.
2399 (getHistory): Remove.
2400 (nativeGetSelected): New method.
2401 (nativeRemoveAll): New method.
2402 (add): Use nativeGetSelected() instead of getHistory().
2403 (remove): Likewise.
2404 (removeAll): Call nativeRemoveAll().
2405 * jni/gtk-peer/gnu_java_awt_peer_gtk_GtkChoicePeer.c
2406 (create): Migrate to GtkComboBox.
2407 (append): Likewise.
2408 (nativeAdd): Likewise.
2409 (nativeRemove): Likewise.
2410 (select): Likewise.
2411 (nativeRemoveAll): New method.
2412 (nativeGetSelected): New method.
2413 (selection_changed): New method.
2414 (getHistory): Remove.
2415 (item_activate): Remove.
2416 (item_removed): Remove.
2417 (connect_choice_item_selectable_hook): Remove.
2418
24192004-08-31 Thomas Fitzsimmons <fitzsim@redhat.com>
2420
2421 * gnu/java/awt/peer/gtk/GtkTextFieldPeer.java (create): Use tf
2422 variable in setEditable call.
2423
2424 * gnu/java/awt/peer/gtk/GtkTextFieldPeer.java,
2425 jni/gtk-peer/gnu_java_awt_peer_gtk_GtkTextFieldPeer.c
2426 (gtkWidgetSetBackground): New method.
2427 (gtkWidgetSetForeground): Likewise.
2428 (create): Set peer's editable state based on awtComponent's.
2429
2430 * java/awt/Button.java (Button()): Use empty string rather than
2431 null in no-label constructor.
2432
24332004-08-31 Roman Kennke <roman@ontographics.com>
2434
2435 * javax/swing/BoxLayout.java: Reimplement.
2436
24372004-08-31 Thomas Fitzsimmons <fitzsim@redhat.com>
2438
2439 * gnu/java/awt/peer/gtk/GdkGraphics.java,
2440 gnu_java_awt_peer_gtk_GdkGraphics.c
2441 (initState(GtkComponentPeer)): Don't return array of colour
2442 values.
2443 (GdkGraphics(int,int)): Set default font to size 12.
2444 (GdkGraphics(GtkComponentPeer)): Set graphics colour to
2445 component's foreground colour.
2446 * gnu/java/awt/peer/gtk/GdkGraphics2D.java,
2447 gnu_java_awt_peer_gtk_GdkGraphics2D.c
2448 (initState(GtkComponentPeer)): Don't return array of colour
2449 values.
2450 (GdkGraphics2D(GtkComponentPeer)): Set foreground and background
2451 colours to component's colours.
2452 (current_colors_of_widget): Remove function.
2453 * gnu/java/awt/peer/gtk/GtkOffScreenImage.java (getGraphics):
2454 Return a new graphics object.
2455 * java/awt/Font.java (toString): Fix format.
2456 * java/awt/Graphics.java (toString): Likewise.
2457
24582004-08-31 Craig Black <craig.black@aonix.com>
2459
2460 * native/jni/gtk-peer/gnu_java_awt_peer_gtk_GtkMenuPeer.c
2461 (addTearOff): New function.
2462 * gnu/java/awt/peer/gtk/GtkMenuPeer.java (addTearOff):
2463 New native method.
2464 (init): Call addTearOff() when menu.isTearOff().
2465
24662004-08-31 Bryce McKinlay <mckinlay@redhat.com>
2467
2468 * gnu/java/awt/ClasspathToolkit.java (createImageProducer): New.
2469 Default implementation.
2470 * gnu/java/awt/peer/gtk/GtkToolkit.java (createImageProducer): New.
2471 Implement using GdkPixbufDecoder.
2472
24732004-08-31 David Jee <djee@redhat.com>
2474
2475 * gnu/java/awt/peer/gtk/GtkComponentPeer.java
2476 (GtkComponentPeer): Use gtkWidgetGetPreferredDimensions() for
2477 setting the size of GtkFileDialogPeers.
2478 * jni/gtk-peer/gnu_java_awt_peer_gtk_GtkComponentPeer.c
2479 (gtkWidgetGetPreferredDimensions): For widgets extending GtkWindow,
2480 use their default sizes rather than their natural requisitions.
2481
24822004-08-31 Michael Koch <konqueror@gmx.de>
2483
2484 * javax/swing/JFormattedTextField.java
2485 (JFormattedTextField): Implemented.
2486 * javax/swing/text/DefaultEditorKit.java
2487 (BeepAction): New inner class.
2488 * javax/swing/text/Segment.java
2489 (partialReturn): New field.
2490 (setPartialReturn): New method.
2491 (isPartialReturn): Likewise.
2492 * javax/swing/text/View.java
2493 (createFragment): Fixed typo.
2494 (getStartOffset): New method.
2495 (getEndOffset): Likewise.
2496
24972004-08-31 Michael Koch <konqueror@gmx.de>
2498
2499 * javax/swing/table/DefaultTableColumnModel.java
2500 (serialVersionUID): Made private.
2501 (listenerList): Initialize.
2502 (changeEvent): Initialize.
2503 * javax/swing/table/JTableHeader.java
2504 (JTableHeader): New constructors.
2505 (createDefaultColumnModel): New method.
2506 * javax/swing/table/TableColumn.java
2507 (setHeaderRenderer): Simplified code.
2508 (setCellRenderer): Likewise.
2509 (setWidth): Likewise.
2510
e2ab6d12
TT
25112004-08-31 Tom Tromey <tromey@redhat.com>
2512
2513 * java/text/AttributedString.java (AttributedString): Use
2514 ArrayList to build array of attribute ranges. Don't use
2515 `attribs' before it is set.
2516
1c340cb6
AT
25172004-08-30 Andreas Tobler <a.tobler@schweiz.ch>
2518
2519 * HACKING: Remove reference to special automake. No longer needed.
2520
b6e9851a
TT
25212004-08-30 Tom Tromey <tromey@redhat.com>
2522
2523 * gnu/java/security/util/Prime.java (generateRandomPrime): Use
2524 return result from `add'.
2525
05502144
TT
25262004-08-30 Tom Tromey <tromey@redhat.com>
2527
2528 * java/rmi/server/UID.java (UID): Read `nextCount', not count.
2529
e7023b0f
AT
25302004-08-30 Andreas Tobler <a.tobler@schweiz.ch>
2531
2532 * gnu/java/security/der/DEREncodingException.java: Remove whitespaces.
2533
2c64dead
JF
25342004-08-30 Jeroen Frijters <jeroen@frijters.net>
2535
2536 * java/io/File.java File(String,String): Fixed handling of empty
2537 path.
2538
bd8a2e96
CM
25392004-08-30 Casey Marshall <csm@gnu.org>
2540
2541 Author e-mail updated for all files.
2542 * gnu/java/security/OID.java (equals): Test if the aurgment is an
2543 instance of OID.
2544 (compareTo): Use `equals'.
2545 * gnu/java/security/der/BitString.java (equals): Test if the
2546 argument is an instance of BitString.
2547 * gnu/java/security/der/DERReader.java: Removed NIO imports. Made
2548 class final. Made fields private.
2549 (<init>): New constructor.
2550 (skip): New method.
2551 (makeString): Made static; don't use NIO.
2552 (fromIso88591, fromUtf16Be, fromUtf8): New methods.
2553 * gnu/java/security/der/DERWriter.java: Fixed imports.
2554 (writeString): Don't use NIO.
2555 (toIso88591, toUtf16Be, toUtf8): New methods.
2556 * gnu/java/security/der/DERValue.java: Formatting changes only.
2557 * gnu/java/security/der/DER.java: Likewise.
2558
68760aee
AT
25592004-08-30 Tom Tromey <tromey@redhat.com>
2560
2561 * java/nio/CharBuffer.java (put): Fix typo.
2562 * java/nio/DoubleBuffer.java (put): Fix typo.
2563 * java/nio/FloatBuffer.java (put): Fix typo.
2564 * java/nio/IntBuffer.java (put): Fix typo.
2565 * java/nio/LongBuffer.java (put): Fix typo.
2566 * java/nio/ShortBuffer.java (put): Fix typo.
2567
25682004-08-30 Florian Weimer <fw@deneb.enyo.de>
2569
2570 * java/nio/ByteBuffer.java (put): Fix typo.
2571
28839b70
CM
25722004-08-30 Casey Marshall <csm@gnu.org>
2573
2574 * java/security/DummyKeyPairGenerator.java (clone): Removed
2575 useless instanceof check.
2576 * java/security/DummyMessageDigest.java (clone): Likewise.
2577 * java/security/DummySignature.java (clone): Likewise.
2578 * java/security/MessageDigest.java (clone): Remove useless
2579 instanceof check.
2580 * java/security/MessageDigestSpi.java (clone): Likewise.
2581 * java/security/Signature.java (clone): Provide meaningful
2582 implementation.
2583 * java/security/SignatureSpi.java (clone): Likewise.
2584
6cd655a3
MW
25852004-08-29 Mark Wielaard <mark@klomp.org>
2586
2587 * java/util/Arrays.java
2588 (sort(byte[], int, int)): Check fromIndex < 0.
2589 (sort(char[], int, int)): Likewise.
2590 (sort(short[], int, int)): Likewise.
2591 (sort(int[], int, int)): Likewise.
2592 (sort(long[], int, int)): Likewise.
2593 (sort(float[], int, int)): Likewise.
2594 (sort(double[], int, int)): Likewise.
2595 (sort(Object[], int, int, Comparator)): Likewise.
2596 (qsort(byte[], int, int)): Honor lower bound from in insertion sort.
2597 (qsort(char[], int, int)): Likewise.
2598 (qsort(short[], int, int)): Likewise.
2599 (qsort(int[], int, int)): Likewise.
2600 (qsort(long[], int, int)): Likewise.
2601 (qsort(float[], int, int)): Likewise.
2602 (qsort(double[], int, int)): Likewise.
2603
477a21f7
AJH
26042004-08-29 Andrew John Hughes <gnu_andrew@member.fsf.org>
2605
2606 * java/util/AbstractCollection.java, java/util/AbstractList.java,
2607 java/util/AbstractMap.java, java/util/AbstractSequentialList.java,
2608 java/util/ArrayList.java, java/util/Arrays.java,
2609 java/util/BitSet.java, java/util/Calendar.java,
2610 java/util/Collection.java, java/util/ListIterator.java,
2611 java/util/Map.java, java/util/SortedSet.java:
2612 Added additional exceptions to documentation, along
2613 with some additions and corrections.
2614
ed347998
HB
26152004-08-27 Hans Boehm <Hans.Boehm@hp.com>
2616
2617 * configure.ac: Handle --enable-gc-debug.
2618 * configure: Regenerate.
2619 * include/config.h.in (LIBGCJ_GC_DEBUG): Add.
2620 * boehm.cc: Include gc_mark.h, javaxfc.h, but no GC private files.
2621 Rearrange include file order.
2622 (GC_DEBUG): Set if LIBGCJ_GC_DEBUG is set.
2623 (GC_finalize_all, GC_debug_generic_malloc): Don't declare.
2624 (disable_gc_mutex): Delete along with all references.
2625 (_Jv_MarkObj, _Jv_MarkArray): Use public types,
2626 adjust for debug header size.
2627 (_Jv_AllocObj, _Jv_allocPtrFreeObj): Define out of line for
2628 debug case.
2629 (_Jv_AllocArray): Declare min_heap_addr only if needed.
2630 (gcj_describe_type_fn): New.
2631 (_Jv_InitGC): Use GC_new_free_list, GC_new_proc, and GC_new_kind.
2632 Register gcj_describe_type_fn.
2633 * include/boehm-gc.h:
2634 (_Jv_AllocObj, _Jv_allocPtrFreeObj):
2635 Don't define, but declare, for debug case.
2636 * java/lang/natObject.cc:
2637 (GC_DEBUG): Define if LIBGCJ_GC_DEBUG is set.
2638
42348101
MW
26392004-08-26 Mark Wielaard <mark@klomp.org>
2640
2641 Fixes PR libgcj/17002:
2642 * java/util/TimeZone.java (defaultZone): Try a couple of ways to get
2643 a TimeZoneId string and then try to convert that to a TimeZone with
2644 getDefaultSystemTimeZone(String).
2645 (timezones0): Changed type from Hashtable to HashMap.
2646 (timezones): Create HashMap, not Hashtable.
2647 (getDefaultTimeZone): New method, rewritten from CNI version.
2648 (readTimeZoneFile): New method.
2649 (readtzFile): Likewise.
2650 (skipFully): Likewise.
2651 * java/util/natTimeZone.cc (getSystemTimeZone): Renamed to
2652 getDefaultTimeZoneId and rewritten.
2653 (getDefaultTimeZoneId): Rewritten in java.
2654
ed89de94
DD
26552004-08-25 David Daney <daney@avtrex.com>
2656
2657 * Makefile.am (AM_GCJFLAGS): Add LIBGCJ_JAVAFLAGS.
2658 * Makefile.in: Regenerated.
2659
8ba14152
BM
26602004-08-23 Bryce McKinlay <mckinlay@redhat.com>
2661
2662 * prims.cc (JVMPI_NOTIFY_ALLOC): New macro. Call jvmpi_notify_alloc
2663 only if jvmpi is enabled.
2664 (jvmpi_notify_alloc): Don't check if jvmpi is enabled here.
2665 (_Jv_AllocObjectNoFinalizer): Use JVMPI_NOTIFY_ALLOC.
2666 (_Jv_AllocString): Likewise.
2667 (_Jv_AllocPtrFreeObject): Likewise.
2668
0039c16d 26692004-08-23 Hans Boehm <Hans.Boehm@hp.com>
8ba14152 2670
0039c16d
HB
2671 * defineclass.cc: Include <stdio.h>.
2672 * java/lang/natClassLoader.cc: Include <stdio.h>.
2673
be2043db
AT
26742004-08-21 Andreas Tobler <a.tobler@schweiz.ch>
2675 Michael Koch <konqueror@gmx.de>
2676
2677 * Makefile.am (lib_gnu_java_awt_peer_gtk_la_LINK): Added.
2678 * Makefile.in: Regenerated.
2679
b7d9c3ae
MK
26802004-08-20 Michael Koch <konqueror@gmx.de>
2681
2682 * configure.ac: Replaced all AC_TRY_COMPILE macros with
2683 AC_COMPILE_IFELSE macros.
2684
80d8905c
MK
26852004-08-20 Michael Koch <konqueror@gmx.de>
2686
2687 * configure.in: Renamed to configure.ac.
2688 * configure.ac: New file.
2689 * configure, Makefile.in, gcj/Makefile.in, include/Makefile.in
2690 include/config.h.in, testsuite/Makefile.in: Regenerated.
2691
cad90591
MK
26922004-08-20 Michael Koch <konqueror@gmx.de>
2693
2694 * configure.in: Rewrote some obsolete stuff for autoconf 2.59.
2695 * aclocal.m4, configure: Regenerated.
2696
e3f92d3b
MK
26972004-08-19 Thomas Fitzsimmons <fitzsim@redhat.com>
2698 Michael Koch <konqueror@gmx.de>
2699
438c7f23
BM
2700 * configure.in, Makefile.am: Ported to automake 1.9.
2701 * Makefile.in, aclocal.m4, configure, gcj/Makefile.in,
2702 include/Makefile.in, testsuite/Makefile.in, include/config.h.in:
e3f92d3b
MK
2703 Regenerated.
2704
476a918f
TT
27052004-08-19 Tom Tromey <tromey@redhat.com>
2706
2707 * java/net/DatagramSocket.java: Fixed typo.
2708
bb0452b1
BM
27092004-08-18 Bryce McKinlay <mckinlay@redhat.com>
2710
2711 PR libgcj/17081
2712 * java/net/URI.java (string): New field. Make all other fields
2713 transient.
2714 (readObject): Implemented.
2715 (writeObject): Implemented.
2716 (URI): Set 'string'.
2717
b4b3435e
BM
27182004-08-18 Bryce McKinlay <mckinlay@redhat.com>
2719
2720 PR libgcj/17079
2721 * java/util/logging/Handler.java (isLoggable): Accept record if its
2722 log level equals the threshold level. From Robin Green.
2723
720086cd
DD
27242004-08-18 David Daney <ddaney@avtrex.com>
2725
2726 * java/lang/natPosixProcess.cc (waitForSignal): Use sigsuspend
2727 instead of sigwait.
2728
baeff970
MK
27292004-08-17 Michael Koch <konqueror@gmx.de>
2730
2731 * Makefile.am (AM_CXXFLAGS): Reformatted to make it more ease to read.
2732 * Makefile.in: Regenerated.
2733
0e5b1376
TT
27342004-08-16 Tom Tromey <tromey@redhat.com>
2735
2736 PR java/8473:
2737 * testsuite/libjava.jacks/jacks.xfail: Removed passing test.
2738
be170ef2
MK
27392004-08-16 Michael Koch <konqueror@gmx.de>
2740
2741 * Makefile.am
2742 (math_c_files): Renamed from c_files.
2743 (math_c_source_files): Renamed from c_source_files.
2744 * Makefile.in,
2745 gcj/Makefile.in,
2746 include/Makefile.in,
2747 testsuite/Makefile.in: Regenerated.
2748
7614fd28
BM
27492004-08-16 Bryce McKinlay <mckinlay@redhat.com>
2750
2751 * configure.in (AC_CONF_SUBDIRS): Use literal for ltdl directory
2752 to avoid autoconf warning.
2753 * configure: Rebuilt.
2754
1c5192e4
AT
27552004-08-14 Andreas Tobler <a.tobler@schweiz.ch>
2756
2757 * java/net/natInetAddressPosix.cc (lookup): Reflect rename of
2758 localhostAddress to loopbackAddress.
2759 * java/net/natInetAddressWin32.cc (lookup): Likewise.
2760
4109fe85
BM
27612004-08-13 Bryce McKinlay <mckinlay@redhat.com>
2762
2763 * configure.in (GCINCS): Don't use "boehm-cflags". Instead, -I
2764 boehm-gc's include dirs.
2765 * configure: Rebuilt.
2766 * include/boehm-gc.h: Include gc_config.h.
2767
d7945faf
BM
27682004-08-13 Bryce McKinlay <mckinlay@redhat.com>
2769
2770 * java/net/InetAddress.java (loopbackAddress): Renamed from
2771 localhostAddress.
2772 (getByName): Return loopback address for null hostname, without
2773 security check. Use lookup(), not getAllByName.
2774 (getAllByName): Return loopback address for null hostname, without
2775 security check.
2776 * java/net/natInetAddressPosix.cc (lookup): Don't perform security
2777 check here.
2778
73389fa4
BM
27792004-08-13 Bryce McKinlay <mckinlay@redhat.com>
2780
2781 PR libgcj/17020
2782 Reported by Robin Green.
2783 * defineclass.cc (handleField): Don't throw exception on unrecognised
2784 modifier. Add FIXME comments for spec compliance.
2785 (handleMethod): Likewise.
2786
28e99c62
HB
27872004-08-10 Hans Boehm <Hans.Boehm@hp.com>
2788
2789 PR libgcj/16662
2790 * java/lang/natObject.cc (LOCK_LOG, LOG): Add debug tracing.
2791 (Almost everywhere): add LOG calls, fix, add comments.
2792 (_Jv_MonitorEnter): Replace masking of LOCKED bit with assertion.
2793 Add explicit check for LOCKED bit in slow case (PR 16662).
2794 (_Jv_MonitorExit): Add casts in debug-only code.
2795 Always release LOCKED bit before throwing exception.
2796 (_Jv_ObjectCheckMonitor): Lock may be held if lightweight lock
2797 isn't. Handle easy cases without lock acquisition.
2798 (Object::wait): Use NotifyAll for lock inflation.
2799
faa03cf1
DD
28002004-08-12 David Daney <ddaney@avtrex.com>
2801
2802 * testsuite/libjava.lang/Process_1.java: New test.
2803 * testsuite/libjava.lang/Process_2.java: New test.
2804 * testsuite/libjava.lang/Process_3.java: New test.
2805 * testsuite/libjava.lang/Process_4.java: New test.
2806 * testsuite/libjava.lang/Process_5.java: New test.
2807 * testsuite/libjava.lang/Process_6.java: New test.
2808 * testsuite/libjava.lang/Process_1.out: Expected result.
2809 * testsuite/libjava.lang/Process_2.out: Expected result.
2810 * testsuite/libjava.lang/Process_3.out: Expected result.
2811 * testsuite/libjava.lang/Process_4.out: Expected result.
2812 * testsuite/libjava.lang/Process_5.out: Expected result.
2813 * testsuite/libjava.lang/Process_6.out: Expected result.
2814
28152004-08-12 David Daney <ddaney@avtrex.com>
2816
2817 PR libgcj/11801
2818 * java/lang/PosixProcess.java: Rewrote.
2819 * java/lang/natPosixProcess.cc: Rewrote.
2820 * java/lang/Runtime.java (execInternal): Declare throws IOException.
2821 * gcj/javaprims.h (ConcreteProcess$ProcessManager): Declare.
2822 * posix-threads.cc (block_sigchld) New function.
2823 (_Jv_ThreadRegister) Use it.
2824 (_Jv_ThreadStart) Use it.
2825 * configure.in (PLATFORM_INNER_NAT_HDRS): New AC_SUBST() used in...
2826 * Makefile.am: ... to specify extra native headers.
2827 * configure: Regenerated.
2828 * include/config.h: Regenerated.
2829 * Makefile.in: Regenerated.
2830 * gcj/Makefile.in: Regenerated.
2831 * include/Makefile.in: Regenerated.
2832 * testsuite/Makefile.in: Regenerated.
2833
c597ef4e
DN
28342004-08-12 Diego Novillo <dnovillo@redhat.com>
2835
2836 PR tree-optimization/16867
2837 * testsuite/libjava.lang/PR16867.java: New test.
2838
b4d49f49
PB
28392004-08-09 Per Bothner <per@bothner.com>
2840
2841 * gcj/javaprims.h (_Jv_Utf8Const): Change struct to a class,
2842 with private fields and access methods.
2843 (_Jv_NewStringUTF, _Jv_hashUtf8String): New function declarations.
2844 * gcj/cni.h (_Jv_NewStringUTF): Move to javaprims.h.
2845 * prims.cc (_Jv_Utf8COnst::init): New method implementation.
2846 ( _Jv_makeUtf8Const): Rewrite using new constructors.
2847 (hashUtf8String): Rename to +_Jv_hashUtf8String and make non-static.
2848 * defineclass.cc: Use new _Utf8Const access/convenience methods.
2849 * jni.cc: Likewise.
2850 * resolve.cc: Likewise.
2851 * gcj/field.h: Likewise.
2852 * include/jvm.h: Likewise.
2853 * java/lang/Class.h: Likewise.
2854 * java/lang/natClass.cc: Likwise.
2855 * java/lang/natClassLoader.cc: Likewise
2856 * java/lang/reflect/natMethod.cc: Likewise
2857 * verify.cc: Likewise.
2858 (_Jv_BytecodeVerifier::make_utf8_const): Optimize.
2859 (~_Jv_BytecodeVerifier): Don't need second _Jv_Free call.
2860
7e04b67b
AH
28612004-08-10 Andrew Haley <aph@redhat.com>
2862
2863 * testsuite/libjava.lang/err14.java: New file.
2864 * testsuite/libjava.lang/err14.out: New file.
2865
48a8c565
AT
28662004-08-05 Andreas Tobler <a.tobler@schweiz.ch>
2867
2868 * Makefile.am: Fix missing rename from x_nat_headers to
2869 xlib_nat_headers.
2870 * Makefile.in: Regenerated.
2871
26be638d
AH
28722004-08-04 Andrew Haley <aph@redhat.com>
2873
2874 * java/security/BasicPermission.java: Don't check wildcards.
2875
614c0fc2
TF
28762004-08-04 Thomas Fitzsimmons <fitzsim@redhat.com>
2877 Michael Koch <konqueror@gmx.de>
2878
2879 * acinclude.m4: Correctly quote PKG_CHECK_MODULES.
2880 * configure.in: Replaced all usages of AC_LINK_FILES by
2881 AC_CONFIG_LINKS.
2882 * aclocal.m4,
2883 configure: Regenerated.
2884
ff78c80b
TF
28852004-08-04 Thomas Fitzsimmons <fitzsim@redhat.com>
2886 Michael Koch <konqueror@gmx.de>
2887
2888 * acconfig.h: Removed.
2889 * Makefile.am: Rename variables for xlib peer to include xlib and
2890 gtk_c_headers to gtk_jni_headers.
2891 * Makefile.in: Regenerated.
2892
76207f7c
AH
28932004-08-04 Andrew Haley <aph@redhat.com>
2894
2895 * testsuite/lib/libjava.exp (bytecompile_file): Byte compile with
2896 debugging.
2897
aed6152d
NN
28982004-08-03 Nathanael Nerode <neroden@gcc.gnu.org>
2899
2900 * configure.in: Eliminate uses of changequote (mostly by quoting []).
2901 Replace most top level 'dnl' comments with '#' comments, conforming
2902 to new autoconf style. Use AS_HELP_STRING throughout; improve a few
2903 help strings.
2904 * configure: Rebuilt.
2905
ed698112
NN
29062004-07-17 Nathanael Nerode <neroden@gcc.gnu.org>
2907
2908 * acinclude.m4: Include no-executables.m4.
2909 * aclocal.m4: Rebuild.
2910 * configure.in: Convert to the autoconf 2.59 version of
2911 of the no-executables hack, and also of the nonstandard CXX
2912 hack and the multilibbed CC and CXX hack. Change prerequisite
2913 to autoconf 2.59.
2914 * configure: Rebuild with autoconf 2.59. (Woo-hoo!)
2915 * Makefile.in, gcj/Makefile.in, include/Makefile.in,
2916 testsuite/Makefile.in: Regenerate.
2917
8e9031ec
TT
29182004-08-03 Tom Tromey <tromey@redhat.com>
2919
2920 * jni.cc: Reindented.
2921
474f5417
BM
29222004-08-02 Bryce McKinlay <mckinlay@redhat.com>
2923
2924 * java/sql/Timestamp.java (valueOf): Synchronize access to dateFormat.
2925
899deeca
BM
29262004-08-02 Bryce McKinlay <mckinlay@redhat.com>
2927
2928 * testsuite/libjava.compile/PR16701.java: New test.
2929
b828123e
AJH
29302004-08-01 Andrew John Hughes <gnu_andrew@member.fsf.org>
2931
2932 * java/util/Collection.java, java/util/List.java,
2933 java/util/Map.java, java/util/Set.java,
2934 java/util/SortedMap.java, java/util/SortedSet.java:
2935 Added additional exceptions to documentation.
2936
5b5662ee
DS
29372004-08-01 Danny Smith <dannysmith@users.sourceforge.net>
2938
2939 PR libgcj/16814
2940 * configure.in [host *mingw*] (SYSTEMSPEC): Remove -lwsock32.
2941 * configure. Regenerate.
2942 * include/win32.h: Explicitly include winsock2.h
2943 * win32.cc (_Jv_platform_initialize): Require version 2.2 of
2944 Winsock api.
2945
f370ef24
MK
29462004-07-30 Michael Koch <konqueror@gmx.de>
2947
2948 * java/util/zip/GZIPInputStream.java
2949 (GZIPInputStream): Increase buffer size to 4k.
2950 * java/util/zip/GZIPOutputStream.java
2951 (GZIPOutputStream): Likewise.
2952 * java/util/zip/Inflater.java
2953 (setInput): Merged formating with GNU classpath.
2954 * java/util/zip/InflaterInputStream.java
2955 (InflaterInputStream): Increase buffer size to 4k.
2956 (fill): Throw exception if stream ends early.
2957 (read): Merged endless-loop with GNU classpath.
2958 (skip): Increase buffer size to 2k.
2959
2afed683
MK
29602004-07-30 Michael Koch <konqueror@gmx.de>
2961
2962 * gnu/java/awt/EmbeddedWindow.java
2963 (addNotify): Use AccessController to allow execution of privileged
2964 code.
2965
a639e504
MK
29662004-07-29 Michael Koch <konqueror@gmx.de>
2967
2968 * gnu/java/lang/MainThread.java:
2969 Explicitely import used classes.
2970 (args): Make it type String[].
2971
1cc49b13
DT
29722004-07-29 Dalibor Topic <robilad@kaffe.org>
2973
2974 * gnu/java/awt/ComponentDataBlitOp.java,
2975 gnu/java/beans/ExplicitBeanInfo.java,
2976 gnu/java/beans/IntrospectionIncubator.java,
2977 gnu/java/beans/editors/ColorEditor.java,
2978 gnu/java/beans/editors/FontEditor.java,
2979 gnu/java/beans/editors/NativeBooleanEditor.java,
2980 gnu/java/beans/editors/NativeByteEditor.java,
2981 gnu/java/beans/editors/NativeDoubleEditor.java,
2982 gnu/java/beans/editors/NativeFloatEditor.java,
2983 gnu/java/beans/editors/NativeIntEditor.java,
2984 gnu/java/beans/editors/NativeLongEditor.java,
2985 gnu/java/beans/editors/NativeShortEditor.java,
2986 gnu/java/beans/editors/StringEditor.java,
2987 gnu/java/io/ClassLoaderObjectInputStream.java,
2988 gnu/java/io/decode/Decoder.java,
2989 gnu/java/io/encode/Encoder.java,
2990 gnu/java/lang/ClassHelper.java,
2991 gnu/java/locale/Calendar.java,
2992 gnu/java/locale/Calendar_de.java,
2993 gnu/java/locale/Calendar_en.java,
2994 gnu/java/locale/Calendar_nl.java,
2995 gnu/java/locale/LocaleInformation_de.java,
2996 gnu/java/locale/LocaleInformation_en.java,
2997 gnu/java/locale/LocaleInformation_nl.java:
2998 Cleaned up imports.
2999
4d4fed15
BM
30002004-07-28 Bryce McKinlay <mckinlay@redhat.com>
3001
3002 * README: Remove obsolete info. Update bug URL.
3003 * THANKS: Updated.
e90bcbf5 3004 * NEWS: Updated with news up to GCC 3.4 release.
4d4fed15 3005
64d696b6
BM
30062004-07-28 Bryce McKinlay <mckinlay@redhat.com>
3007
3008 * gnu/java/security/action/GetPropertyAction.java (setParameters):
3009 Renamed from 'setName'. New 2-argument form with default value.
3010 (run): Pass default 'value' parameter to System.getProperty().
3011 * gnu/java/security/action/SetAccessibleAction.java: Fix javadoc
3012 typos.
3013 * gnu/java/net/protocol/http/Connection.java: Use 'setParameters'
3014 not 'setName'.
3015
f0faf24b
BM
30162004-07-28 Bryce McKinlay <mckinlay@redhat.com>
3017
3018 * configure.in: Check for minimum GTK version 2.4 requirement.
3019 * configure: Rebuilt.
3020
ce961468
BM
30212004-07-27 Bryce McKinlay <mckinlay@redhat.com>
3022
3023 * testsuite/libjava.lang/TLtest.java: Reduce sleep time.
3024 * testsuite/libjava.lang/Thread_Alive.java: Remove old email address.
3025 Reduce sleep time.
3026 * testsuite/libjava.lang/Thread_HoldsLock.java: Modify to work around
3027 compiler bug.
3028 * testsuite/libjava.lang/Thread_Interrupt.java: Remove old email
3029 address. Reduce sleep times. Synchronize with target threads before
3030 attempting to interrupt them. Don't try to calibrate yeild count,
3031 instead, always loop for a fixed time.
3032 * testsuite/libjava.lang/Thread_Join.java: Remove old email address.
3033 * testsuite/libjava.lang/Thread_Monitor.java: Likewise.
3034 * testsuite/libjava.lang/Thread_Wait.java: Likewise.
3035 * testsuite/libjava.lang/Thread_Wait_2.java: Likewise.
3036 * testsuite/libjava.lang/Thread_Wait_Interrupt.java: Likewise.
3037 * testsuite/libjava.lang/pr179.java: Likewise.
3038 * testsuite/libjava.lang/Thread_Sleep.java: Likewise. Reduce sleep
3039 time. Remove upper bounds check on sleep time.
3040
0954f3eb
BM
30412004-07-27 Bryce McKinlay <mckinlay@redhat.com>
3042
3043 * testsuite/libjava.lang/Thread_HoldsLock.java: New test case.
3044 * testsuite/libjava.lang/Thread_HoldsLock.out: New.
3045
d078f7c0
BM
30462004-07-27 Bryce McKinlay <mckinlay@redhat.com>
3047
3048 * java/io/File.java (toURI): Throw RuntimeException, not
3049 InternalError.
3050 * java/lang/Runtime.java (exit): Qualify static sleep() call with
3051 class name, not instance.
3052
8b66a9e9
BM
30532004-07-24 Bryce McKinlay <mckinlay@redhat.com>
3054
3055 * Makefile.am: Add gnu/java/security/action/GetPropertyAction.java
3056 and gnu/java/security/action/SetAccessibleAction.java.
3057 * Makefile.in: Rebuilt.
3058
ffe4e037
BM
30592004-07-23 Bryce McKinlay <mckinlay@redhat.com>
3060
3061 * prims.cc (_Jv_InitPrimClass): Don't create an array class.
3062 (_Jv_CreateJavaVM): Don't pass array vtable parameter to
3063 _Jv_InitPrimClass.
3064 (DECLARE_PRIM_TYPE): Don't declare array vtables.
3065 * include/jvm.h (struct _Jv_ArrayVTable): Removed.
3066 * java/lang/Class.h (_Jv_InitPrimClass): Update friend declaration.
3067
ef05818b
TF
30682004-07-23 Thomas Fitzsimmons <fitzsim@redhat.com>
3069
3070 * Makefile.am: Replace jar, rmic and rmiregistry references with
3071 gjar, grmic and grmiregistry.
3072 * configure.in: Likewise.
3073 * Makefile.in: Regenerate.
3074 * configure: Likewise.
3075 * gcj/Makefile.in: Likewise.
3076 * include/Makefile.in: Likewise.
3077 * testsuite/Makefile.in: Likewise.
3078
ae066484
BM
30792004-07-23 Bryce McKinlay <mckinlay@redhat.com>
3080
ec5c28ec
BM
3081 * gnu/java/net/protocol/http/Connection.java: Use GetPropertyAction
3082 for privileged getProperty calls.
3083 * java/io/ObjectOutputStream.java (getField): No longer static. Use
3084 SetAccessibleAction instead of anonymous class for doPrivileged call.
3085 (getMethod): Likewise.
3086 (setAccessible): New field. PrivilegedAction object to use when
3087 calling setAccessible.
3088 * java/io/ObjectStreamClass.java (calculateOffsets): Use
3089 SetAccessibleAction instead of anonymous class for diPrivileged call.
3090 (setFields): Likewise.
3091 (getClassUID): Likewise.
3092 (findMethod): Likewise.
3093 * gnu/java/security/action/GetPropertyAction.java: New class.
3094 * gnu/java/security/action/SetAccessibleAction.java: New class.
3095
30962004-07-23 Bryce McKinlay <mckinlay@redhat.com>
3097
3098 * java/io/ObjectStreamField (ObjectStreamField): Don't unset 'toset'
3099 for final fields.
ae066484
BM
3100 * testsuite/libjava.lang/Serialization.java: New test.
3101 * testsuite/libjava.lang/Serialization.out: New.
3102
31032004-07-23 Bryce McKinlay <mckinlay@redhat.com>
694e657a
MW
3104
3105 * gnu/java/net/DefaultContentHandlerFactory.java: Check in real file
3106 missed in last commit.
3107
392abf6b
MW
31082004-07-23 Mark Wielaard <mark@klomp.org>
3109
3110 * java/lang/System.java (static): Set http.agent system property when
3111 not yet set.
3112 * gnu/java/net/protocol/http/Connection.java (static): Get httpAgent
3113 from system property inside AccessController.doPrivileged() call.
3114 (proxyPort): Made package private.
3115 (proxyInUse): Likewise.
3116 (proxyHost): Likewise.
3117 (userAgent): Likewise.
3118
6d97cb60
MW
31192004-07-23 Mark Wielaard <mark@klomp.org>
3120
3121 * gnu/java/net/DefaultContentHandlerFactory.java: New dummy
3122 implementation.
3123
f1f90ae0
BM
31242004-07-22 Bryce McKinlay <mckinlay@redhat.com>
3125
3126 * Makefile.am (ordinary_java_source_files): Add
3127 DefaultContentHandlerFactory.java.
3128 * Makefile.in: Rebuilt.
3129 * java/net/URLConnection.java (defaultFactory): New field.
3130 (getContent):
3131 (getContentHandler): Renamed from 'setContentHandler'. Try
3132 defaultFactory after user-set factory, if any. Search for content
3133 handler implementations in gnu.java.net.content, not gnu.gcj.content.
3134 * gnu/java/net/protocol/file/Connection.java (getHeaderField):
3135 Implemented.
3136 (getLastModified): Implemented.
3137 (getPermission): Create file permission here, instead of in
3138 constructor.
3139 * gnu/java/net/protocol/gcjlib/Connection.java (getHeaderField):
3140 Implemented.
3141 * gnu/java/net/protocol/jar/Connection.java (getHeaderField):
3142 Implemented.
3143 (getLastModified): Implemented.
3144 * gnu/java/awt/ClasspathToolkit.java (createImageProducer): New.
3145 Default implementation.
3146 * gnu/java/awt/peer/gtk/GtkToolkit.java (createImageProducer): New.
3147 Implement using GdkPixbufDecoder.
3148
8e99fb4f
GH
31492004-07-21 Michael Koch <konqueror@gmx.de>
3150
3151 * javax/swing/JTextArea.java
3152 (setLineWrap): Fire property change event after new value is set.
3153 (setTabSize): Likewise.
3154
31552004-07-21 Michael Koch <konqueror@gmx.de>
3156
3157 * javax/swing/JTable.java
3158 (autoCreateColumnsFromModel): New field.
3159 (autoResizeMode): Likewise.
3160 (cellEditor): Likewise.
3161 (cellSelectionEnabled): Likewise.
3162 (columnModel): Likewise.
3163 (dataModel): Likewise.
3164 (defaultEditorsByColumnClass): Likewise.
3165 (defaultRenderersByColumnClass): Likewise.
3166 (editingColumn): Likewise.
3167 (editingRow): Likewise.
3168 (gridColor): Likewise.
3169 (preferredViewportSize): Likewise.
3170 (rowHeight): Likewise.
3171 (rowMargin): Likewise.
3172 (rowSelectionAllowed): Likewise.
3173 (selectionBackground): Likewise.
3174 (selectionForeground): Likewise.
3175 (selectionModel): Likewise.
3176 (showHorizontalLines): Likewise.
3177 (showVerticalLines): Likewise.
3178 (tableHeader): Likewise.
3179 (JTable): Implemented.
3180 (getColumnModel): Likewise.
3181 (getSelectedRow): Likewise.
3182 (getSelectionModel): Likewise.
3183 (setModel): Likewise.
3184 (setSelectionModel): Likewise.
3185 (createScrollPaneForTable): New method.
3186 (createDefaultDataModel): Likewise.
3187 (createDefaultListSelectionModel): Likewise.
3188 (getModel): Likewise.
3189 (getTableHeader): Likewise.
3190 (setTableHeader): Likewise.
3191 (getColumnSelectionAllowed): Likewise.
3192 (setColumnSelectionAllowed): Likewise.
3193 (getRowSelectionAllowed): Likewise.
3194 (setRowSelectionAllowed): Likewise.
3195 (getAutoResizeMode): Likewise.
3196 (setAutoResizeMode): Likewise.
3197 (getColumnCount): Likewise.
3198 (getRowCount): Likewise.
3199 (getCellRenderer): Likewise.
3200 * javax/swing/JTree.java
3201 (cellRenderer): New field.
3202 (editable): Likewise.
3203 (rootVisible): Likewise.
3204 (showsRootHandles): Likewise.
3205 (getModel): New method.
3206 (setModel): Likewise.
3207 (isEditable): Likewise.
3208 (setEditable): Likewise.
3209 (isRootVisbile): Likewise.
3210 (setRootVisible): Likewise.
3211 (getShowsRootHandles): Likewise.
3212 (setShowRootHandles): Likewise.
3213 (getCellRenderer): Likewise.
3214 (setCellRenderer): Likewise.
3215
32162004-07-21 Michael Koch <konqueror@gmx.de>
3217
3218 * javax/swing/JFormattedTextField.java
3219 (setDocument): Implemented.
3220 * javax/swing/JRootPane.java:
3221 Fixed javadocs.
3222 * javax/swing/JTable.java
3223 (getDefaultRenderer): New method.
3224 * javax/swing/JTextField.java
3225 (setFont): Likewise.
3226 (getPreferredSize): Likewise.
3227 * javax/swing/JToggleButton.java
3228 (getAccessibleContext): Fix javadoc.
3229 * javax/swing/JTree.java:
3230 Add some javadocs.
3231 * javax/swing/JViewport.java:
3232 Likewise.
3233
32342004-07-21 David Jee <djee@redhat.com>
3235
3236 * gnu/java/awt/peer/gtk/GtkFileDialogPeer.java:
3237 Collect all native method declaration at the top.
3238 (create): Set the filename filter if necessary.
3239 (setDirectory): Call nativeSetDirectory().
3240 (setFilenameFilter): Implement.
3241 (filenameFilterCallback): New method.
3242 * jni/gtk-peer/gnu_java_awt_peer_gtk_GtkFileDialogPeer.c
3243 (create): Configure dialog to show hidden files.
3244 (filenameFilterCallback): New function.
3245 (nativeSetFilenameFilter): New function.
3246 (nativeSetDirectory): New function.
3247
32482004-07-21 Kim Ho <kho@redhat.com>
3249
3250 * javax/swing/plaf/basic/BasicSliderUI.java:
3251 Ran Jalopy.
3252 (paintTrack): Fill the track before painting
3253 the borders.
3254
32552004-07-21 Graydon Hoare <graydon@redhat.com>
3256
3257 patch from Roman Kennke <roman@ontographics.com>
3258 * javax/swing/Spring.java: New file.
3259 * javax/swing/SpringLayout.java: New file.
3260 * Makefile.am: Add new files.
3261 * Makefile.in: Regenerate.
3262
32632004-07-21 Graydon Hoare <graydon@redhat.com>
3264
3265 * javax/swing/plaf/basic/BasicSplitPaneUI.java: Minor layout fixes.
3266 * javax/swing/plaf/basic/BasicTabbedPaneUI.java: Likewise.
3267 * javax/swing/ScrollPaneLayout.java: Likewise.
3268
32692004-07-21 Kim Ho <kho@redhat.com>
3270
3271 * javax/swing/DefaultDesktopManager.java:
3272 (findMinimum): Removed.
3273 (resizeFrame): Trust the UI to pass valid
3274 bounds.
3275 * javax/swing/JOptionPane.java:
3276 Implemented showInternalXXXDialog methods.
3277 (startModal): New method.
3278 * javax/swing/plaf/basic/BasicInternalFrameUI.java:
3279 (BorderListener::mouseDragged): Verify that the new
3280 bounds are valid before passing them to the DesktopManager.
3281 (preferredLayoutSize): Delegate
3282 to getSize.
3283 (minimumLayoutSize): Ditto.
3284 (getSize): New method.
3285 (GlassPaneDispatcher): Reimplemented by copying
3286 a stripped down LightweightDispatcher from Container.
3287 (getMinimumSize): Call minimumLayoutSize.
3288 * javax/swing/plaf/basic/BasicOptionPaneUI.java:
3289 Ran Jalopy.
3290 (mousePressed): Add ability to properly close
3291 JInternalFrames.
3292 * javax/swing/plaf/basic/BasicToolBarUI.java:
3293 (DragWindow): Set owner for DragWindow.
3294
32952004-07-21 Jerry Quinn <jlquinn@optonline.net>
3296
3297 * java/awt/image/ShortLookupTable.java: New file.
3298 * java/awt/image/ByteLookupTable.java: New file.
3299 * Makefile.am: Added new files.
3300 * Makefile.in: Regenerated.
3301
33022004-07-21 David Jee <djee@redhat.com>
3303
3304 * gnu/java/awt/peer/gtk/GtkFileDialogPeer.java
3305 (create(GtkContainerPeer)): New native method.
3306 (create()): Call native create(), passing in the parent frame
3307 as the paramter. Natively set the current file and directory.
3308 (setFile): Construct an absolute filename before passing it to
3309 the native peer.
3310 (nativeGetDirectory): New method.
3311 * jni/gtk-peer/gnu_java_awt_peer_gtk_GtkFileDialogPeer.c
3312 (window_closed): Removed.
3313 (ok_clicked): Likewise.
3314 (cancel_clicked): Likewise.
3315 (handle_response): New method.
3316 (create): Use GtkFileChooserDialog.
3317 (connectSignals): Connect to handle_response.
3318 (nativeGetDirectory): New method.
3319 (nativeSetFile): Use GtkFileChooserDialog.
3320
33212004-07-21 Jerry Quinn <jlquinn@optonline.net>
3322
3323 * java/awt/image/LookupTable.java: New file.
3324 * Makefile.am: Added new file.
3325 * Makefile.in: Regenerated.
3326
33272004-07-21 Jerry Quinn <jlquinn@optonline.net>
3328
3329 * java/awt/image/Kernel.java: New file.
3330 * Makefile.am: Added new file.
3331 * Makefile.in: Regenerated.
3332
33332004-07-21 Olga Rodimina <rodimina@redhat.com>
3334
3335 * javax/swing/JCheckBoxMenuItem.java: Fixed Javadocs.
3336 * javax/swing/JMenu.java: Likewise.
3337 * javax/swing/JMenuBar.java: Likewise.
3338 (MARGIN_CHANGED_PROPERTY): New property.
3339 (setMargin): Implemented.
3340 * javax/swing/JMenuItem.java: Fixed javadocs.
3341 * javax/swing/JPopupMenuUI.java: Fixed javadocs.
3342 (LABEL_CHANGED_PROPERTY): New property.
3343 (add): changed to use createActionComponent.
3344 (createActionComponent): Implemented.
3345 (setLabel): Fire PropertyChangeEvent if label property
3346 changes.
3347 * javax/swing/JRadioButtonMenuItem.java: Fixed javadocs.
3348 * javax/swing/plaf/basic/BasicMenuBarUI.java: Likewise.
3349 (ContainerHandler): Repaint if margin property has changed.
3350 * javax/swing/plaf/basic/BasicMenuItemUI.java:
3351 (installUI): Call installComponents().
3352 (uninstallUI): Call uinstallComponents().
3353 * javax/swing/plaf/basic/BasicMenuUI.java:
3354 Fixed javadocs.
3355 * javax/swing/plaf/basic/BasicPopupMenuUI.java:
3356 Likewise.
3357
33582004-07-21 Kim Ho <kho@redhat.com>
3359
3360 * javax/swing/plaf/basic/BasicToolBarUI.java:
3361 (DragWindow): Use the right constructor.
3362
33632004-07-21 Kim Ho <kho@redhat.com>
3364
3365 * javax/swing/JToolBar.java:
3366 (layoutContainer): Use getComponents.
3367 * javax/swing/plaf/basic/BasicToolBarUI.java:
3368 (DragWindow): Don't use SwingUtilities'
3369 getOwnerFrame
3370 (ToolBarDialog): ditto.
3371
33722004-07-21 Kim Ho <kho@redhat.com>
3373
3374 * javax/swing/JRootPane.java:
3375 Ran jalopy.
3376 (layoutContainer): Set the glasspane's size to
3377 be the same as the content pane.
3378 (createGlassPane): Set opaque property to false.
3379
33802004-07-21 Thomas Fitzsimmons <fitzsim@redhat.com>
3381
3382 * java/awt/Component.java (requestFocus()): Don't handle Panels
3383 specially.
3384 (requestFocus(boolean)): Likewise.
3385 (requestFocusInWindow(boolean)): Likewise.
3386 * jni/gtk-peer/gnu_java_awt_peer_gtk_GtkPanelPeer.c (create):
3387 Set GTK_CAN_FOCUS flag.
3388
33892004-07-21 Kim Ho <kho@redhat.com>
3390
3391 * Makefile.am: Added new file.
3392 * Makefile.in: Regenerated.
3393 * gcj/Makefile.in: Regenerated.
3394 * include/Makefile.in: Regenerated.
3395 * javax/swing/AbstractButton.java:
3396 Add rollOverEnabled property.
3397 (setRolloverEnabled): Use new property.
3398 (isRolloverEnabled): Use new property.
3399 * javax/swing/JTabbedPane.java:
3400 (setComponent): Remove useless JTabbedPane.this.
3401 * javax/swing/JToolBar.java: Finish implementation.
3402 * javax/swing/plaf/basic/BasicArrowButton.java:
3403 (paint): Moved border painting to a border.
3404 * javax/swing/plaf/basic/BasicLookAndFeel.java:
3405 Change JToolBar look and feel defaults.
3406 * javax/swing/plaf/basic/BasicOptionPaneUI.java
3407 (actionPerformed): Return Integer index instead of name.
3408 (addButtonComponents): Check to see if component is
3409 JButton last.
3410 (createMessageArea): Don't use components that are not
3411 completed yet.
3412 (getIconForType): Use temporary icons.
3413 * javax/swing/plaf/basic/BasicSliderUI.java:
3414 (mousePressed): Do not return if it's on thumb.
3415 (paintMinorTickForHorizSlider): Use BLACK to paint ticks.
3416 (paintMinorTickForVertSlider): ditto.
3417 (paintMajorTickForHorizSlider): ditto.
3418 (paintMajorTickForVertSlider): ditto.
3419 * javax/swing/plaf/basic/BasicSplitPaneDivider.java:
3420 Add a border around the SplitPaneDivider.
3421 * javax/swing/plaf/basic/BasicSplitPaneUI.java:
3422 Remove comments.
3423 * javax/swing/plaf/basic/BasicToolBarSeparatorUI.java:
3424 New file. Implemented.
3425 * javax/swing/plaf/basic/BasicToolBarUI.java:
3426 Implemented.
3427 * testsuite/Makefile.in: Regenerated.
3428
34292004-07-21 Graydon Hoare <graydon@redhat.com>
3430
3431 * javax/swing/Timer.java (run): Queue events each time cycle.
3432
34332004-07-21 David Jee <djee@redhat.com>
3434
3435 * gnu/java/awt/peer/gtk/GtkImagePainter.java
3436 (imageComplete): Call image.imageComplete().
3437 * java/awt/image/MemoryImageSource.java:
3438 Reimplement consumers as a Vector instead of a Hashtable. This is
3439 because enumeration on a Hashtable is not thread-safe.
3440 (addConsumer): Adapt to Vector consumers.
3441 (isConsumer): Adapt to Vector consumers.
3442 (removeConsumer): Adapt to Vector consumers.
3443 (startProduction): Adapt to Vector consumers. Call imageComplete()
3444 with STATICIMAGEDONE flag instead of SINGLEFRAME flag.
3445 (newPixels): Adapt to Vector consumers.
3446 (sendPicture): Set the color model of the image consumer.
3447 (newPixels(IIII)): Adapt to Vector consumers.
3448 (newPixels(IIIIB)): Adapt to Vector consumers.
3449
34502004-07-21 Thomas Fitzsimmons <fitzsim@redhat.com>
3451
3452 * java/awt/Component.java (deliverEvent): Implement.
3453 (postEvent): Implement.
3454 (handleEvent): Implement.
3455 (translateEvent): New method.
3456 (dispatchEventImpl): Document. Add AWT 1.0 event handling.
3457 * java/awt/Container.java (deliverEvent): Implement.
3458 * java/awt/Event.java (paramString): Fix formatting.
3459 * java/awt/Font.java (toString): Likewise.
3460 * java/awt/Window.java (postEvent): Implement.
3461
34622004-07-21 Thomas Fitzsimmons <fitzsim@redhat.com>
3463
3464 * java/awt/DefaultKeyboardFocusManager.java (dispatchEvent):
3465 Set window's focus owner upon receiving a FOCUS_LOST event.
3466 * java/awt/Window.java (Window()): Refocus the previously
3467 focused component within the window when the window regains the
3468 top-level focus.
3469 (setFocusOwner): New method.
3470 * java/awt/Component.java (requestFocus): Add FIXME.
3471
3472 * libgcj.pc.in: Remove library flags.
3473
34742004-07-21 Thomas Fitzsimmons <fitzsim@redhat.com>
3475
3476 * gnu/java/awt/peer/gtk/GtkPanelPeer.java (handleEvent): Handle
3477 MOUSE_PRESSED event.
3478 * java/awt/Component.java (requestFocus()): Handle Panel
3479 specially. Post FOCUS_LOST event on opposite component.
3480 (requestFocus(boolean)): Likewise.
3481 (requestFocusInWindow(boolean)): Likewise.
3482 (paramString): Reorder dimension fields.
3483 * java/awt/Container.java (paramString): Fix string format.
3484 * java/awt/DefaultKeyboardFocusManager.java (dispatchEvent):
3485 Handle FOCUS_LOST events. Don't handle Windows specially. Only
3486 process key events if the focus owner is non-null.
3487 (dispatchKeyEvent): Likewise.
3488 * java/awt/Frame.java (paramString): Fix formatting.
3489 (generateName): New method.
3490 (getUniqueLong): Likewise.
3491 * java/awt/KeyboardFocusManager.java (getFocusOwner): Check if
3492 the temporary focus owner is null. If so, return the permanent
3493 focus owner.
3494 * java/awt/Panel.java (generateName): New method.
3495 (getUniqueLong): Likewise.
3496 * jni/gtk-peer/gnu_java_awt_peer_gtk_GtkWindowPeer.c: Rework
3497 signal handling to make callbacks more specific.
3498
34992004-07-21 Michael Koch <konqueror@gmx.de>
3500
3501 * javax/swing/text/Position.java
3502 (Bias): Implemented.
3503
35042004-07-21 Michael Koch <konqueror@gmx.de>
3505
3506 * javax/swing/LookAndFeel.java
3507 (provideErrorFeedback): New method.
3508
35092004-07-21 Michael Koch <konqueror@gmx.de>
3510
3511 * javax/swing/JTextArea.java
3512 (tabSize): New field.
3513 (getTabSize): New method.
3514 (setTabSize): Likewise.
3515
35162004-07-21 Michael Koch <konqueror@gmx.de>
3517
3518 * javax/swing/ActionMap.java:
3519 Fixed javadocs all over.
3520 (serialVersionUID): Made private.
3521 (parent): Don't explicitely initialize with default value.
3522 (get): SImplified.
3523 (keys): Reimplemented.
3524 (allKeys): Likewise.
3525 (convertSet): Removed.
3526 * javax/swing/ComponentInputMap.java:
3527 Fixed javadocs all over.
3528 (ComponentInputMap): Implemented.
3529 (put): Likewise.
3530 (clear): Likewise.
3531 (remove): Likewise.
3532 (SetParent): Likewise.
3533 (getComponent): Likewise.
3534 * javax/swing/InputMap.java:
3535 Fixed javadocs all over.
3536 (serialVersionUID): Made private.
3537 (parent): Don't explicitely initialize with default value.
3538 (get): SImplified.
3539 (keys): Reimplemented.
3540 (allKeys): Likewise.
3541 (convertSet): Removed.
3542
35432004-07-21 Michael Koch <konqueror@gmx.de>
3544
3545 * javax/swing/ActionMap.java,
3546 javax/swing/ComponentInputMap.java,
3547 javax/swing/InputMap.java,
3548 javax/swing/table/DefaultTableColumnModel.java,
3549 javax/swing/table/TableColumn.java,
3550 javax/swing/table/TableColumnModel.java,
3551 javax/swing/table/TableModel.java,
3552 javax/swing/text/AbstractDocument.java,
3553 javax/swing/text/TextAction.java:
3554 Reformated.
3555
35562004-07-21 Graydon Hoare <graydon@redhat.com>
3557
3558 * gnu/java/awt/peer/gtk/GtkToolkit.java (bufferedImageOrError):
3559 Make method non-static.
3560 * javax/swing/AbstractButton.java:
3561 Rename fields to match property names where possible.
3562 (iconTextGap): New property.
3563 * javax/swing/JCheckBox.java: Match AbstractButton changes.
3564 (init) New method, call from after various constructors.
3565 * javax/swing/JComponent.java (revalidate):
3566 Invalidate before queueing repair.
3567 * javax/swing/JList.java (getPreferredScrollableViewportSize):
3568 Reimplement in terms of visibleRowCount property.
3569 * javax/swing/JMenuButton.java: Match AbstractButton changes.
3570 * javax/swing/JScrollPane.java (createScrollListener):
3571 Remove tracing chatter.
3572 * javax/swing/JToggleButton.java: Match AbstractButton changes.
3573 * javax/swing/RepaintManager.java (addInvalidComponent):
3574 Don't invalidate.
3575 * javax/swing/ScrollPaneLayout.java: Various corrections to layout
3576 calculations.
3577 * javax/swing/SwingUtilities.java (layoutCompoundLabel):
3578 Mimic sun behavior on top left/right positioning.
3579 * javax/swing/ViewportLayout.java (preferredLayoutSize):
3580 Remove mistaken use of preferredScrollableViewportSize here.
3581 (layoutContainer): Use view's preferred size as basis.
3582 * javax/swing/plaf/basic/BasicButtonUI.java:
3583 Set, get, and use textIconGap property.
3584 (paint) Paint text returned from layout (with ellipsis).
3585 * javax/swing/plaf/basic/BasicListUI.java:
3586 Remove tracing chatter, correct various minor calculations.
3587 (getCellBounds): Update layout state before calculating.
3588 * javax/swing/plaf/basic/BasicLookAndFeel.java (Button.Margin):
3589 Use margin default similar to sun's.
3590 * javax/swing/plaf/basic/BasicScrollBarUI.java (ArrowIcon):
3591 (createIncreaseIcon): Center icon, minimize margins.
3592 (createDecreaseIcon): Likewise.
3593 * javax/swing/plaf/basic/BasicScrollPaneUI.java (installDefaults):
3594 Implement.
3595 (installUI): Call it.
3596 (uninstallDefaults): Implement.
3597 (uninstallUI): Call it.
3598 * javax/swing/plaf/basic/BasicToolBarUI.java (DragWindow):
3599 Call existing Window constructor.
3600 * javax/swing/plaf/basic/BasicViewportUI.java (paint):
3601 Set clip before painting.
3602
36032004-07-21 Olga Rodimina <rodimina@redhat.com>
3604
3605 * javax/swing/JMenuItem.java:
3606 (processMouseEvent): Reimplemented to deal with
3607 mouse drag events.
3608 (createMenuDragMouseEvent): New private helper method.
3609 Creates MenuDragMouseEvent.
3610 * javax/swing/MenuSelectionManager.java
3611 (componentForPoint): Implemented.
3612 (isComponentPartOfCurrentMenu): Made public.
3613 (processMouseEvent): Reimplemented to deal with
3614 mouse drag events.
3615 (setSelectedPath): Corrected small mistake that caused
3616 path to be set incorrectly.
3617 (getPath): If given component is JMenu then also add this
3618 menu's popup menu to the selected path.
3619 * javax/swing/plaf/basic/BasicMenuItemUI.java:
3620 (getPath): Ditto.
3621 (getPreferredSize): Call getPreferredMenuItemSize().
3622 (getPreferredItemSize): Moved code from getPreferredSize to here.
3623 (installListeners): Install MouseMotionListeners.
3624 (MouseInputHandler): Pass mouse release event to MenuSelectionManager
3625 if mouse wasn't released in the bounds of this menu item.
3626 (MenuDragMouseHandler): Implemented.
3627 * javax/swing/plaf/basic/BasicMenuUI.java:
3628 (installListeners): Install MouseMotionListener and
3629 MenuDrageMouseListener.
3630 (MenuDragMouseHandler): Implemented.
3631 * javax/swing/plaf/basic/BasicPopupMenuUI.java:
3632 (uninstallListeners): Implemented.
3633
36342004-07-21 Michael Koch <konqueror@gmx.de>
3635
3636 * javax/swing/JCheckBox.java: Reformated.
3637 (JCheckBox): Fixed all constructors.
3638 (isBorderPaintedFlat): New method.
3639 (setBorderPaintedFlat): New method.
3640 * javax/swing/JEditorPane.java
3641 (createEditorKitForContentType): Made public.
3642 (scrollToReference): Likewise.
3643 * javax/swing/JTextArea.java
3644 (setLineWrap): Fire property change.
3645 * javax/swing/JToggleButton.java
3646 (JToggleButton): New constructor.
3647 (JToggleButton): Simplified.
3648 * javax/swing/text/AttributeSet.java
3649 (FontAttribute): Renamed from FontCharacterAttribute.
3650 * javax/swing/text/JTextComponent.java
3651 (KeyBinBinding): Added javadoc.
3652 (JTextComponent): Likewise.
3653 (getAccessibleContext): Fixed javadoc.
3654 * javax/swing/text/View.java
3655 (View): Added javadoc.
3656 * javax/swing/text/TabableView.java: New file.
3657 * Makefile.am: Added javax/swing/text/TabableView.java.
3658 * Makefile.in: Regenerated.
3659
36602004-07-21 Graydon Hoare <graydon@redhat.com>
3661
3662 * java/awt/image/BufferedImage.java (getSource): Remove tracing chatter.
3663 * gnu/java/awt/peer/gtk/GtkToolkit.java
3664 (GtkErrorImage): New helper class.
3665 (bufferedImageOrError): New helper method.
3666 (createImage): Use it.
3667
36682004-07-21 David Jee <djee@redhat.com>
3669
3670 * jni/gtk-peer/gnu_java_awt_peer_gtk_GtkTextComponentPeer.c
3671 (setCaretPosition): Scroll the text view so the new caret position
3672 is visible on screen.
3673
36742004-07-21 David Jee <djee@redhat.com>
3675
3676 * gnu/java/awt/peer/gtk/GtkContainerPeer.java
3677 (setBounds): Do not validate awtComponent here.
3678 * gnu/java/awt/peer/gtk/GtkScrollPanePeer.java
3679 (getPreferredSize): New method.
3680 * java/awt/ScrollPane.java
3681 (ScrollPane): Set default size to 100x100.
3682 (addNotify): If child is not a Panel, wrap it with a new Panel.
3683 (paramString): Implement.
3684
36852004-07-21 Olga Rodimina <rodimina@redhat.com>
3686
3687 * javax/swing/JMenu.java:
3688 (setSelected): Display popup menu only if this menu
3689 is showing on the screen.
3690 * javax/swing/JPopupMenu.java:
3691 (processMouseEvent): Added comment.
3692 (processKeyEvent): Likewise.
3693 * javax/swing/MenuSelectionManager.java:
3694 (clearSelectedPath): Only fireStateChanged() after
3695 selected path was changed, not before.
3696 (setSelectedPath): Likewise.
3697 * javax/swing/plaf/basic/BasicMenuItemUI.java:
3698 (paintMenuItem): Corrected position of menu item's
3699 icon.
3700 * javax/swing/plaf/basic/BasicPopupMenuUI.java:
3701 (installUI): Correct setDefaultLightWeightPopupEnabled call.
3702 (popupMenuCanceled): Reimplemented.
3703 (popupMenuWillBecomeVisible): Select first menu item by default
3704 when displaying free floating popup menus.
3705 (TopWindowListener): Reimplemented.
3706
37072004-07-21 Thomas Fitzsimmons <fitzsim@redhat.com>
3708
3709 * java/awt/Panel.java (dispatchEventImpl): Override to prevent
3710 Panel from being painted twice when it is first shown.
3711
37122004-07-21 Olga Rodimina <rodimina@redhat.com>
3713
3714 * java/awt/Window.java: Reverted changes from my
3715 previous patch for creating window without an owner.
3716 * javax/swing/SwingUtilities.java:
3717 (SwingUtilities.OwnerFrame): made static.
3718 (OwnerFrame.setVisible): New method. Overridden with
3719 empty implementation.
3720 (OwnerFrame.isShowing): New method. Ovverridden
3721 to return always true.
3722
37232004-07-21 Thomas Fitzsimmons <fitzsim@redhat.com>
3724
3725 * gnu/java/awt/peer/gtk/GtkComponentPeer.java,
3726 jni/gtk-peer/gnu_java_awt_peer_gtk_GtkComponentPeer.c
3727 (GtkComponentPeer): Remove temporary try/catch block.
3728 (setVisible): Call show and hide.
3729 (show): Make native.
3730 (hide): Likewise.
3731 (getArgs): Don't add "visible" argument.
3732 * jni/gtk-peer/gnu_java_awt_peer_gtk_GtkWindowPeer.c
3733 (property_notify_predicate): Return Bool instead of int.
3734 (find_layout): New function.
3735 (connectJObject): Call find_layout.
3736 (connectSignals): Likewise.
3737 (moveLayout): Likewise.
3738 (gtkLayoutSetVisible): Likewise.
3739
37402004-07-21 Mark Wielaard <mark@klomp.org>
3741
3742 * java/awt/event/InvocationEvent.java (dispatch): Synchronize
3743 on notifier object before calling notifyAll().
3744
37452004-07-21 Olga Rodimina <rodimina@redhat.com>
3746
3747 * java/awt/Window.java: Changed constructors to use new
3748 method that is described below. Constructors call this
3749 methods only if newly created window should have an owner.
3750 (setWindowOwner): New method. Implementation for
3751 this method is moved from this(owner,configuration).
3752 * javax/swing/JWindow.java:
3753 (JWindow): Reimplement to use SwingUtilities.ownerFrame
3754 instead of owner.
3755 * javax/swing/SwingUtilities.java:
3756 (ownerFrame): Change type of this field to OwnerFrame.
3757 (getOwnerFrame): Changed to return object of type OwnerFrame.
3758 (SwingUtilities.OwnerFrame): New class. Represents owner
3759 of a Window that is not provided with one.
3760
37612004-07-21 Olga Rodimina <rodimina@redhat.com>
3762
3763 * javax/swing/AbstractButton.java:
3764 (configurePropertiesFromAction): Set action command
3765 to button's text by default if action command is not
3766 explicitely specified.
3767 * javax/swing/JMenu.java: Remove unnecessary listener
3768 and methods relevant to it.
3769 (setSelected): Reimplemented.
3770 (menuSelectionChanged): Moved most part of implementation to
3771 setSelected() and call it instead.
3772 * javax/swing/JMenuItem.java:
3773 (init): Comment out statement that sets paint_border to false.
3774 (configurePropertiesFromAction): Do not set accelerator
3775 for JMenu.
3776 (menuSelectionChanged): Change selected index in the selection
3777 model of menu item's parent.
3778 * javax/swing/JPopupMenu.java:
3779 (remove): Set constraints.fill field to GridBagConstraints.BOTH
3780 instead of GridBagConstraints.HORIZONTAL.
3781 (insert): Likewise.
3782 (createActionChangeListener): Implemented.
3783 (setVisible): Correct location of HeavyWeightMenu and
3784 don't firePopupMenuCanceled().
3785 (menuSelectionChanged): Implemented.
3786 (ActionChangeListener): New Listener. Implemented.
3787 * javax/swing/plaf/basic/BasicMenuBarUI.java:
3788 (BasicMenuBarUI.ContainerHandler): Implemented.
3789 * javax/swing/plaf/basic/BasicMenuItemUI.java:
3790 (paintMenuItem): Uncommented out code that paints
3791 icon, now that icons are working properly.
3792 (PropertyChangeListener): Implemented.
3793 * javax/swing/plaf/basic/BasicPopupMenuUI.java:
3794 Added javadocs.
3795 (topWindowListener): New field.
3796 (Constructor): initialize topWindowListener.
3797 (BasicPopupMenuUI.TopWindowListener): Implemented.
3798 (BasicPopupMenuUI.PopupMenuHandler): Implemented.
3799 (BasicPopupMenuUI.TopWindowListener): New ComponentListener.
3800 Implemented.
8e99fb4f
GH
3801
38022004-07-21 Michael Koch <konqueror@gmx.de>
3803
3804 * javax/swing/plaf/basic/BasicButtonUI.java
3805 (paintFocus): Fixed method signature.
3806 (paintButtonPressed): Likewise.
3807 (paintButtonNormal): Likewise.
3808 (paintText): New method.
3809 * javax/swing/plaf/basic/BasicLabelUI.java
3810 (paint): Re-indented.
3811 * javax/swing/plaf/basic/BasicTextUI.java
3812 (installUI): Set parent textComponent to opaque.
3813 * javax/swing/text/DefaultHighlighter.java
3814 (checkPositions): New helper method.
3815 (addHighlight): Throws BadLocationException, check positions.
3816 (changeHighlight): Likewise.
3817 * javax/swing/text/EditorKit.java
3818 (EditorKit): Implements Serializable.
3819 * javax/swing/text/JTextComponent.java
3820 (getUI): Added javadoc.
3821 (setUI): Likewise.
3822 (upadteUI): Added javadoc, don't revalidate and repaint.
3823
38242004-07-21 David Jee <djee@redhat.com>
3825
3826 * java/awt/GridBagLayout.java
3827 (ArrangeGrid): Use PREFERREDSIZE instead of MINSIZE.
3828 * javax/swing/AbstractButton.java
3829 (setText): Reindent.
3830 * javax/swing/RepaintManager.java
3831 (addInvalidComponent): Find the first ancestor that isValidateRoot().
3832
38332004-07-21 Michael Koch <konqueror@gmx.de>
3834
3835 * javax/swing/JFormattedTextField.java
3836 (value): New field.
3837 (JFormattedTextField): Implemented.
3838 (getValue): Likewise.
3839 (setValue): Likewise.
3840 * javax/swing/LookAndFeel.java
3841 (getSupportsWindowDecorations): New method.
3842 * javax/swing/UIDefaults.java:
3843 Use java.beans.PropertyChangeSupport instead of doing all ourself.
3844 (addPropertyChangeListener): Made public.
3845 (addResourceBundle): Likewise.
3846 (removeResourceBundle): Likewise.
3847 (setDefaultLocale): Likewise.
3848 * javax/swing/plaf/basic/BasicRootPaneUI.java
3849 (BasicRootPaneUI): Implements PropertyChangeListener.
3850 (propertyChange): New method.
3851 * javax/swing/plaf/basic/BasicTextUI.java
3852 (BasicHighlighter): New inner class.
3853 (createHighlighter): New method.
3854 * javax/swing/plaf/basic/BasicToolBarUI.java
3855 (DragWindow): Extends java.awt.Window.
3856 * javax/swing/text/JTextComponent.java
3857 (getDocument): Removed debug output.
3858 * javax/swing/plaf/basic/BasicTextFieldUI.java,
3859 javax/swing/text/DefaultHighlighter.java,
3860 javax/swing/text/FieldView.java,
3861 javax/swing/text/PlainView.java: New files.
3862 * Makefile.am: Added new files.
3863 * Makefile.in: Regenerated.
3864
38652004-07-21 Michael Koch <konqueror@gmx.de>
3866
3867 * javax/swing/JEditorPane.java
3868 (createDefaultEditorKit): Use javax.swing.text.DefaultEditorKit.
3869 (createEditorKitForContentType): Likewise.
3870 * javax/swing/text/DefaultEditorKit.java
3871 (serialVersionUID): Added constant field.
3872 (EndOfLineStringPropery): Fixed typo.
3873 (DefaultEditorKit): New constructor.
3874 * javax/swing/text/Segment.java:
3875 Import java.text.CharacterIterator.
3876 * javax/swing/text/CharacterIterator.java,
3877 javax/swing/text/PlainEditorKit.java: Removed.
3878 * Makefile.am: Removed javax/swing/text/CharacterIterator.java and
3879 javax/swing/text/PlainEditorKit.java.
3880 * Makefile.in: Regenerated.
3881
38822004-07-21 Michael Koch <konqueror@gmx.de>
3883
3884 * javax/swing/JButton.java,
3885 javax/swing/text/DefaultEditorKit.java,
3886 javax/swing/text/EditorKit.java,
3887 javax/swing/text/Segment.java,
3888 javax/swing/text/StyledEditorKit.java:
3889 Reformatted.
3890
38912004-07-21 Michael Koch <konqueror@gmx.de>
3892
3893 * javax/swing/ImageIcon.java
3894 (file): Removed.
3895 (description): Renamed from descr.
3896 (ImageIcon): Added missing constructors.
3897 (setParent): Removed.
3898 (setImageObserver): New method.
3899 (getImageObserver): New method.
3900 (paintIcon): Handle observer = null.
3901 * javax/swing/JButton.java
3902 (removeNotify): Fixed javadoc.
3903 (updateUI): Simplified.
3904 * javax/swing/JRootPane.java
3905 (serialVersionUID): New constant field.
3906 * javax/swing/UIManager.java:
3907 Fixed javadocs all over.
3908 (setLookAndFeel): Throws UnsupportedLookAndFeelException.
3909 * javax/swing/text/AbstractDocument.java
3910 (createPosition): Throws BadLocationException.
3911 (getText): Likewise.
3912 (remove): Likewise.
3913 * javax/swing/text/ComponentView.java
3914 (modelToView): Likewise.
3915 * javax/swing/text/DefaultEditorKit.java:
3916 Made all public methods public.
3917 (read): Throws BadLocationException and IOException.
3918 (write): Likewise.
3919 * javax/swing/text/EditorKit.java:
3920 Made all public methods public.
3921 (serialVersionUID): New constant field.
3922 (clone): New method.
3923 (read): Throws BadLocationException and IOException.
3924 (write): Likewise.
3925 * javax/swing/text/Segment.java
3926 (array): Made public.
3927 (count): Likewise.
3928 (offset): Likewise.
3929 (Segment): New constructors.
3930 (clone): Reimplemented.
3931 * javax/swing/text/StyledEditorKit.java
3932 (serialVersionUID): New constant field.
3933
39342004-07-21 Graydon Hoare <graydon@redhat.com>
3935
3936 * java/awt/image/BufferedImage.java
3937 (getSource): Implement.
3938 * javax/swing/ImageIcon.java
3939 (ImageIcon): Implement ctor.
3940 * javax/swing/ScrollPaneLayout.java
3941 (preferredLayoutSize): Be more careful about nulls.
3942
39432004-07-21 Michael Koch <konqueror@gmx.de>
3944
3945 * javax/swing/text/AttributeSet.java
3946 (CharacterAttribute): New interface
3947 (ColorAttribute): Likewise.
3948 (FontCharacterAttribute): Likewise.
3949 (ParagraphAttribute): Likewise.
3950 * javax/swing/text/DefaultCaret.java
3951 (moveCaret): New method.
3952 (positionCaret): Likewise.
3953 (repaint): Made protected.
3954 * javax/swing/text/JTextComponent.java
3955 (KeyBinding): Made it static.
3956 * javax/swing/text/View.java
3957 (getContainer): Honor parent == null.
3958
39592004-07-21 Michael Koch <konqueror@gmx.de>
3960
3961 * javax/swing/text/AbstractDocument.java:
3962 Reformatted.
3963
39642004-07-21 Michael Koch <konqueror@gmx.de>
3965
3966 * javax/swing/plaf/basic/BasicRootPaneUI.java:
3967 Import javax.swing.UIManager explicitely.
3968 * javax/swing/plaf/basic/BasicTabbedPaneUI.java
3969 (ScrollingButton): Made it static.
3970
39712004-07-21 Michael Koch <konqueror@gmx.de>
3972
3973 * javax/swing/UIDefaults.java
3974 (ActiveValue): Made public.
3975 (LazyValue): Likewise.
3976 * javax/swing/plaf/basic/BasicTextUI.java
3977 (RootView): Reintroduced.
3978 (view): Removed.
3979 (rootView): New field.
3980 (installUI): Create document if needed, initialize rootView.
3981 (uninstallUI): Hanle rootView.
3982 (paint): Likewise.
3983 (getRootView): Likewise.
3984 (setView): Likewise.
3985 * javax/swing/text/DefaultCaret.java:
3986 Renamed all "evt" variables to "event".
3987
39882004-07-21 Thomas Fitzsimmons <fitzsim@redhat.com>
3989
3990 * libgcj.spec.in: Add -l-java-util-logging.
3991
39922004-07-21 Andreas Tobler <a.tobler@schweiz.ch>
3993
3994 * jni/gtk-peer/gnu_java_awt_peer_gtk_GtkMainThread.c
3995 (init_dpi_conversion_factor): Check for int_dpi < 0 in case
3996 gtk-xft-dpi can no calculate the right value.
3997 (dpi_changed_cb): Mark *pspec as unsused.
3998
39992004-07-21 David Jee <djee@redhat.com>
4000
4001 * java/awt/Component.java
4002 (move): Delegate to setBounds().
4003 (resize): Likewise.
4004 (reshape): Fix so it repaints parent and self only when necessary.
4005
40062004-07-21 David Jee <djee@redhat.com>
4007
4008 * gnu/java/awt/peer/gtk/GtkComponentPeer.java,
4009 jni/gtk-peer/gnu_java_awt_peer_gtk_GtkComponentPeer.c
4010 (GtkComponentPeer): Revert previous patch from 2004-06-22.
4011 (setVisible): Likewise.
4012 (show): Likewise.
4013 (hide): Likewise.
4014 (getArgs): Likewise.
4015 * jni/gtk-peer/gnu_java_awt_peer_gtk_GtkWindowPeer.c
4016 (property_notify_predicate): Likewise.
4017 (find_layout): Likewise.
4018 (connectJObject): Likewise.
4019 (connectSignals): Likewise.
4020 (moveLayout): Likewise.
4021 (gtkLayoutSetVisible): Likewise.
4022
40232004-07-21 Graydon Hoare <graydon@redhat.com>
4024
4025 * Makefile.am
4026 (jv_convert_LDADD):
4027 (gij_LDADD):
4028 (rmic_LDADD):
4029 (rmiregistry_LDADD): Add lib-java-util-logging.la
4030 * Makefile.in: Regenerate.
4031
40322004-07-21 Michael Koch <konqueror@gmx.de>
4033
4034 * javax/swing/text/AbstractDocument.java
4035 (replace): Dont use protected method of java.util.Vector directly.
4036
40372004-07-21 Michael Koch <konqueror@gmx.de>
4038
4039 * javax/swing/plaf/basic/BasicTextUI.java
4040 (installUI): Call specialized install methods.
4041 (installDefaults): New method.
4042 (installListeners): Likewise.
4043 (installKeyboardActions): Likewise.
4044 (uninstallUI): Likewise.
4045 (uninstallDefaults): New method.
4046 (uninstallListeners): Likewise.
4047 (uninstallKeyboardActions): Likewise.
4048 (getPropertyPrefix): New abstract method.
4049 (paint): Made final, just call paintSafely().
4050 (paintSavely): New method.
4051 (paintBackground): Likewise.
4052 (getVisibleEditorRect): Likewise.
4053 * javax/swing/text/LayeredHighlighter.java,
4054 javax/swing/text/TabExpander.java: New files.
4055 * Makefile.am: Added javax/swing/text/LayeredHighlighter.java
4056 and javax/swing/text/TabExpander.java.
4057 * Makefile.in: Regenerated.
4058
40592004-07-21 Michael Koch <konqueror@gmx.de>
4060
4061 * javax/swing/plaf/basic/BasicTextUI.java
4062 (BasicTextUI): Made abstract.
4063 (BasicCaret): New inner class.
4064 (view): Don't explicitely initialize with "null".
4065 (textComponent): New field.
4066 (textColor): Removed.
4067 (disabledTextColor): Removed.
4068 (normalBackgroundColor): Removed.
4069 (RootView): Removed commented out inner class.
4070 (createUI): Removed.
4071 (createCaret): New method.
4072 (getComponent): Likewise.
4073 (installUI): Initialize textComponent only.
4074 (getPreferredSize): Use installed JTextComponent.
4075 (setView): New method.
4076 (create): Likewise.
4077 * javax/swing/text/JTextComponent.java
4078 (highlighter): New field.
4079 (caretColor): Likewise.
4080 (disabledTextColor): Likewise.
4081 (seletedTextColor): Likewise.
4082 (selectionColor): Likewise.
4083 (setUI): New method.
4084 (getCaretColor): Likewise.
4085 (setCaretColor): Likewise.
4086 (getDisabledColor): Likewise.
4087 (setDisabledColor): Likewise.
4088 (getSelectedTextColor): Likewise.
4089 (setSelectedTextColor): Likewise.
4090 (getSelectionColor): Likewise.
4091 (setSelectionColor): Likewise.
4092 (getHighlighter): Likewise.
4093 (setHighlighter): Likewise.
4094 (replaceSelection): Likewise.
4095
40962004-07-21 Michael Koch <konqueror@gmx.de>
4097
4098 * javax/swing/plaf/basic/BasicScrollPaneUI.java
4099 (BasicScrollPaneUI): Implements ScrollPaneConstants.
4100 * javax/swing/plaf/basic/BasicToolBarUI.java
4101 (BasicToolBarUI): Implements SwingConstants.
4102
41032004-07-21 Michael Koch <konqueror@gmx.de>
4104
4105 * javax/swing/JPopupMenu.java: Removed CVS tags.
4106 * javax/swing/UIDefaults.java: Reformatted.
4107 * javax/swing/plaf/basic/BasicRootPaneUI.java:
4108 Explicitely import used classes.
4109
41102004-07-21 Thomas Fitzsimmons <fitzsim@redhat.com>
4111
4112 * gnu/java/awt/peer/gtk/GtkComponentPeer.java,
4113 jni/gtk-peer/gnu_java_awt_peer_gtk_GtkComponentPeer.c
4114 (GtkComponentPeer): Remove temporary try/catch block.
4115 (setVisible): Call show and hide.
4116 (show): Make native.
4117 (hide): Likewise.
4118 (getArgs): Don't add "visible" argument.
4119 * jni/gtk-peer/gnu_java_awt_peer_gtk_GtkWindowPeer.c
4120 (property_notify_predicate): Return Bool instead of int.
4121 (find_layout): New function.
4122 (connectJObject): Call find_layout.
4123 (connectSignals): Likewise.
4124 (moveLayout): Likewise.
4125 (gtkLayoutSetVisible): Likewise.
4126
41272004-07-21 Olga Rodimina <rodimina@redhat.com>
4128
4129 * javax/swing/AbstractButton.java:
4130 (setDisplayedMnemonicIndex): Check if button
4131 text is not null before checking its length.
4132 * javax/swing/JMenuItem.java:
4133 (processMouseEvent): Disarm menu item if mouse has
4134 exited it.
4135 * javax/swing/plaf/basic/BasicMenuUI.java:
4136 (MouseInputHandler.mouseEntered): Do not raise
4137 popup menu if this menu is already selected.
4138 (MouseInputHandler.mousePressed): Do not fire
4139 MenuEvents.
4140 (MenuHandler): Implemented.
4141
41422004-07-21 Olga Rodimina <rodimina@redhat.com>
4143
4144 * javax/swing/JCheckBoxMenuItem.java: Added Javadoc.
4145 (getSelectedObjects): Implemented.
4146 * javax/swing/JRadioButtonMenuItem.java: Added Javadoc.
4147 * javax/swing/plaf/basic/BasicCheckBoxMenuItemUI.java:
4148 Added javadoc for few methods.
4149 (processMouseEvent): Made public.
4150 * javax/swing/plaf/basic/BasicRadioButtonMenuItemUI.java
4151 (processMouseEvent): Likewise.
4152
41532004-07-21 Olga Rodimina <rodimina@redhat.com>
4154
4155 * javax/swing/AbstractButton.java:
4156 (init): Set display mnemonic index to -1.
4157 (setMnemonic(char)): Use setMnemonic(int).
4158 (setMnemonic(int)): Set display mnemonic index.
4159 (getDisplayedMnemonicIndex): Change method signature
4160 by removing 'index' parameter.
4161 * javax/swing/plaf/basic/BasicLookAndFeel.java:
4162 Added default for Menu.selectionBackground.
4163 * javax/swing/plaf/basic/BasicMenuItemUI.java:
4164 (paintMenuItem): Change background color of the selected
4165 menu item.
4166 (paintText): Paint differently when menu item is disabled.
4167 Also paint mnemonic if it appears in the menu item's label.
4168 (paintAccelerator): Paint accelerator differently
4169 if menu item is disabled.
4170 * javax/swing/plaf/basic/BasicMenuUI.java:
4171 (installDefaults): Install defaults for
4172 selectionForeground and selectionBackground.
4173 (uninstallDefaults): Uninstall defauls for
4174 selectionForeground and selectionBackground.
4175
41762004-07-21 Michael Koch <konqueror@gmx.de>
4177
4178 * javax/swing/text/AbstractDocument.java
4179 (BranchElement): Implemented.
4180 (LeafElement): Implemented.
4181 * javax/swing/text/DefaultCaret.java:
4182 Import used classes.
4183 (serialVersionUID): New constant.
4184 * javax/swing/text/JTextComponent.java
4185 (AccessibleJTextComponent): Removed dead declaration.
4186 (caretPos): Removed.
4187 (setCaret): New method.
4188 * javax/swing/text/PlainDocument.java
4189 (rootElement): New field.
4190 (PlainDocument): Initialize rootElement.
4191 (createDefaultRoot): New method.
4192 (getDefaultRootElement): Implemented.
4193 * javax/swing/text/View.java: Reformatted.
4194 * javax/swing/text/ViewFactory.java
4195 (create): Added javadoc.
4196
41972004-07-21 Michael Koch <konqueror@gmx.de>
4198
4199 * javax/swing/ToolTipManager.java: Reformatted.
4200
42012004-07-21 Rodimina Olga <rodimina@redhat.com>
4202
4203 * javax/swing/AbstractButton.java
4204 (changeEvent): New field.
4205 (fireItemStateChanged): Change source of the event
4206 to 'this' before firing it to button listeners.
4207 (fireActionPerformed): Likewise.
4208 (fireStateChanged): Likewise.
4209 (createActionListener): Do not set source
4210 of the event to AbstractButton.
4211 * javax/swing/plaf/basic/BasicMenuBarUI.java:
4212 (ContainerHandler.componentAdded): Removed
4213 print out statement.
4214 (ContainerHandler.componentRemoved): Likewise.
4215
42162004-07-21 Michael Koch <konqueror@gmx.de>
4217
4218 * javax/swing/text/Highlighter.java: New file.
4219 * Makefile.am: Added javax/swing/text/Highlighter.java.
4220 * Makefile.in: Regenerated.
4221
42222004-07-21 Michael Koch <konqueror@gmx.de>
4223
4224 * javax/swing/ToolTipManager.java
4225 (stillInsideTimerAction): Fixed constructor arguments.
4226 (outsideTimerAction): Likewise.
4227 (insideTimerAction): Likewise.
4228
42292004-07-21 Michael Koch <konqueror@gmx.de>
4230
4231 * javax/swing/JButton.java: Reformatted.
4232 * javax/swing/JFormattedTextField.java
4233 (getUIClassID): Implemented.
4234 * javax/swing/JRootPane.java
4235 (serialVersionUID): New constant.
4236 * javax/swing/JTextField.java
4237 (align): New field.
4238 (JTextField): Simplified.
4239 (getUIClassID): New method.
4240 (getActionListeners): Added @since tag.
4241 (setColumns): Invalidate layout and repaint.
4242 (getHorizontalAlignment): New method.
4243 (setHorizontalAlignment): New method.
4244 (selectAll): Removed.
4245 * javax/swing/SwingUtilities.java
4246 (getAncestorOfClass): Removed redundant @see tag.
4247 (isLeftMouseButton): Fixed implementation.
4248 (isMiddleMouseButton): Likewise.
4249 (isRightMouseButton): Likewise.
4250 * javax/swing/text/AbstractDocument.java
4251 (AttributeContext.addAttribute): New method.
4252 (AttributeContext.addAttributes): New method.
4253 (AttributeContext.getEmptySet): New method.
4254 (AttributeContext.reclaim): New method.
4255 (AttributeContext.removeAttribute): New method.
4256 (AttributeContext.removeAttributes): New method.
4257 * javax/swing/text/Document.java
4258 (createPosition): Throws BadLocationException.
4259 (getText): Likewise.
4260 (remove): Likewise.
4261 * javax/swing/text/JTextComponent.java
4262 (getText): Return null if no document is set. Catch
4263 BadLocationException.
4264 (getUI): Return ui.
4265 (updateUI): Simplified.
4266
42672004-07-21 Michael Koch <konqueror@gmx.de>
4268
4269 * javax/swing/JButton.java
4270 (removeNotify): Fixed javadoc.
4271 (updateUI): Simplified.
4272
42732004-07-21 David Jee <djee@redhat.com>
4274
4275 * gnu/java/awt/image/ImageDecoder.java
4276 (startProduction): Only add consumer if it's not added yet.
4277 * gnu/java/awt/peer/gtk/GdkPixbufDecoder.java
4278 (GdkPixbufDecoder): Don't call initState() here.
4279 (produce): Call initState() here, to ensure area_prepared and
4280 area_updated signals are properly connected.
4281 * gnu/java/awt/peer/gtk/GtkImage.java
4282 (setColorModel): Use equals() to compare ColorModel objects.
4283 (setPixels): Likewise.
4284 * java/awt/image/ColorModel.java
4285 (equals): Fix typo. Use Arrays.equals() to compare int arrays.
4286 * java/awt/image/RGBImageFilter.java
4287 (setColorModel): Set consumer's color model.
4288 (setPixels): Use equals() to compare ColorModel objects.
4289
eecbcf54
BM
42902004-07-21 Bryce McKinlay <mckinlay@redhat.com>
4291
4292 * java/net/URLConnection.java (position): New field.
4293 (dateFormat1, dateFormat2, dateFormat3): Removed.
4294 (dateFormats): New field.
4295 (getHeaderFieldDate): Use new dateFormats array. Re-use parsePosition
4296 each time instead of re-allocating.
4297 (initializeDateFormats): Initialize 'dateFormats'.
4298
f82bb1be
BM
42992004-07-20 Bryce McKinlay <mckinlay@redhat.com>
4300
4301 PR libgcj/16591
4302 * prims.cc (_Jv_RunMain): Don't call _Jv_SetArgs if DISABLE_MAIN_ARGS
4303 is defined.
4304
f6bbce40
BM
43052004-07-20 Bryce McKinlay <mckinlay@redhat.com>
4306
4307 * java/net/Socket.java (getImpl): Now private. Remove comment.
4308
8246c778
BM
43092004-07-20 Bryce McKinlay <mckinlay@redhat.com>
4310
4311 * java/io/BufferedWriter.java (BufferedWriter): Use existing lock
4312 of chained Writer when calling super-constructor.
4313 * java/io/FilterWriter.java (FilterWriter): Likewise.
4314 * java/io/PrintWriter.java (PrintWriter): Likewise.
4315
b4ffdef7
BM
43162004-07-19 Bryce McKinlay <mckinlay@redhat.com>
4317
4318 * prims.cc (process_gcj_properties): Don't increment i within LHS
4319 of assignment.
4320
963ddbd5
PB
43212004-07-19 Per Bothner <per@bothner.com>
4322
4323 Print -verbose:message on "loading", not initialization.
4324 * java/lang/Class.h (JV_STATE_LOADED, JV_STATE_COMPILED): Swap order.
4325 * defineclass.cc (_Jv_ClassReader::parse): Print message if
4326 gcj::verbose_class_flag.
4327 * java/lang/natClass.cc (initializeClass): Don't print message here.
4328 * java/lang/natClassLoader.cc (_Jv_WaitForState): If state was
4329 _JV_STATE_COMPILED, set to JV_STATE_LOADED and may print message.
4330 (_Jv_PrepareCompiledClass): Likewise.
4331
60557047
MK
43322004-07-18 Matthias Klose <doko@debian.org>
4333
4334 * configure.in: Substitute target_noncanonical.
4335 * configure: Regenerate
4336
1792f52d
MK
43372004-07-17 Michael Koch <konqueror@gmx.de>
4338
4339 * java/lang/String.java: Fixed javadocs all over.
4340
baa61e09
MK
43412004-07-17 Mark Wielaard <mark@klomp.org>
4342
4343 * gnu/java/nio/channels/FileChannelImpl.java (truncate): Only truncate
4344 when size is smaller.
4345 * java/io/RandomAccessFile.java (setLength): Use truncate for
4346 shrinking the file and seek plus write for expanding the file.
4347
43482004-07-17 Michael Koch <konqueror@gmx.de>
4349
4350 * gnu/java/nio/channels/natFileChannelPosix.cc
4351 (implTruncate): Always save current position. Only reposition file
4352 pointer to where we started if not beyond new lenght. Reposition file
4353 pointer to file length if it points beyond the end of file.
4354
6fd3cc05
MW
43552004-07-17 Mark Wielaard <mark@klomp.org>
4356
4357 * javax/swing/Box.java: Put FIXME comment above class declaration.
4358 * javax/swing/JButton.java: Remove illegal L&F HTML from comments.
4359 * javax/swing/JCheckBox.java: Likewise.
4360 * javax/swing/JDialog.java: Likewise.
4361 * javax/swing/JRadioButton.java: Likewise.
4362 * javax/swing/JToggleButton.java: Likewise.
4363 * javax/swing/UIManager.java: Likewise.
4364 * javax/swing/border/TitledBorder.java: Likewise.
4365 * javax/swing/plaf/basic/BasicLabelUI.java: Likewise.
4366 * javax/swing/plaf/basic/BasicLookAndFeel.java: Likewise.
4367 * javax/swing/plaf/basic/BasicPopupMenuSeparatorUI.java: Likewise.
4368 * javax/swing/plaf/basic/BasicProgressBarUI.java: Likewise.
4369 * javax/swing/plaf/basic/BasicScrollBarUI.java: Likewise.
4370 * javax/swing/plaf/basic/BasicSeparatorUI.java: Likewise.
4371 * javax/swing/text/JTextComponent.java: Likewise.
4372
320e32f6
MK
43732004-07-17 Jeroen Frijters <jeroen@frijters.net>
4374
4375 * java/net/DatagramPacket.java (setAddress): Removed check for
4376 null address.
4377
43782004-07-17 Michael Koch <konqueror@gmx.de>
4379
4380 * java/net/DatagramSocket.java
4381 (getLocalAddress): Check if socket is bound or not.
4382 * java/net/Socket.java
4383 (getLocalAddrss): Check if socket is bound or not.
4384 (getPort): Return -1 when not connected. Dont check getImpl() for
4385 null.
4386 (setReuseAddress): Check if socket is closed.
4387 (isConnected): Check if getImpl() returns null.
4388
10c383a4
MW
43892004-07-17 Mark Wielaard <mark@klomp.org>
4390
4391 * java/awt/event/InvocationEvent.java (dispatch): Synchronize
4392 on notifier object before calling notifyAll().
4393
2ccc5a95
MK
43942004-07-17 Michael Koch <konqueror@gmx.de>
4395
4396 * gnu/java/nio/channels/FileChannelImpl.java
4397 (finalize): Added javadoc.
4398
61ce29b1
GL
43992004-07-17 Guilhem Lavaux <guilhem@kaffe.org>
4400
4401 * java/text/CollationElementIterator.java
4402 (text_decomposition): Changed type to RuleBasedCollator.CollationElement[]
4403 (setText): Use ArrayList instead of Vector.
4404
651ba822
MK
44052004-07-17 Michael Koch <konqueror@gmx.de>
4406
4407 * java/nio/ByteOrder.java
4408 (static): Removed. Not needed.
4409 Thanks to Patrick Reali for noticing.
4410 * java/nio/charset/CharsetDecoder.java
4411 (decode): Fix for classpath bug #9177: Reset state before flipping.
4412
e3fe5b9c
MK
44132004-07-17 Michael Koch <konqueror@gmx.de>
4414
4415 * java/security/Security.java: Fixed javadocs all over.
4416
316a1df4
MK
44172004-07-17 Michael Koch <konqueror@gmx.de>
4418
4419 * gnu/java/awt/EmbeddedWindow.java
4420 (static): Removed.
4421 (addNotify): Set peer via reflection.
4422 (setWindowPeer): Removed.
4423 * gnu/java/awt/natEmbeddedWindow.cc: Removed.
4424 * Makefile.am (nat_source_files):
4425 Removed gnu/java/awt/natEmbeddedWindow.cc.
4426 * Makefile.in: Regenerated.
4427
c0f43fa7
RE
44282004-07-17 Richard Earnshaw <rearnsha@arm.com>
4429
4430 * configure.in(ZIP, GCJH): Remove white space around '=' in variable
4431 assignment.
4432 * configure: Regenerated.
4433
4c86f325
NN
44342004-07-16 Nathanael Nerode <neroden@gcc.gnu.org>
4435
b764adea
NN
4436 * configure.in: Use build_noncanonical rather than build_alias.
4437 * configure: Rebuild.
4438
f11d297f
NN
4439 * configure.in: Eliminate CANADIAN and NULL_TARGET variables
4440 by logic refactoring. Move default definition of NATIVE closer
4441 to first alternate definition.
4442 * configure: Regenerate.
4443
4c86f325
NN
4444 * Makefile.am: Set ZIP and GCJH directly using autoconf.
4445 * Makefile.in, include/Makefile.in, testsuite/Makefile.in,
4446 gcj/Makefile.in: Regenerate.
4447 * configure.in: Set ZIP and GCJH. Remove redundant condition
4448 in AM_CONDITIONAL(NATIVE,...)
4449 * configure: Regenerate.
4450
bc03b358
NN
44512004-07-15 Nathanael Nerode <neroden@gcc.gnu.org>
4452
ed2e3d33
NN
4453 * configure.in: Use target_noncanonical rather than
4454 target_alias for forward-compatibility with autoconf 2.59.
4455 * configure: Regenerate.
4456 * Makefile.am, gcj/Makefile.am, include/Makefile.am,
4457 testsuite/Makefile.am: Substitute target_noncanonical.
4458 * Makefile.in, gcj/Makefile.in, include/Makefile.in,
4459 testsuite/Makefile.in: Regenerate.
4460
bc03b358
NN
4461 * configure.in: Move as much as possible below AC_CANONICAL_SYSTEM.
4462 Introduce _GCC_TOPLEV_NONCANONICAL_TARGET.
4463 * acinclude.m4: Include acx.m4.
4464 * aclocal.m4: Regenerate.
4465 * configure: Regenerate.
4466
cbd7a79b
BM
44672004-07-15 Bryce McKinlay <mckinlay@redhat.com>
4468
4469 PR libgcj/16574
4470 * java/sql/Timestamp.java (dateFormat): Renamed from sdf.
4471 (decimalFormat): New static variable.
4472 (sbuf): Likewise.
4473 (getTime): New. Override Date.getTime().
4474 (toString): Synchronize. Use decimalFormat to format nanos value
4475 correctly. Truncate extra zeros.
4476 (before): Compare getNanos() only if getTime() is equal.
4477 (after): Likewise.
4478
b2281cb3
NN
44792004-07-14 Nathanael Nerode <neroden@gcc.gnu.org>
4480
36609570
NN
4481 * acinclude.m4: "Inline" LIBGCJ_CONFIGURE macro into...
4482 * configure.in: ...here.
4483 * aclocal.m4: Regenerate.
4484 * configure: Regenerate.
4485
b2281cb3
NN
4486 * aclocal.m4: Rebuilt with aclocal gcj-1.4.
4487 * configure: Rebuilt with autoconf 2.13.
4488 * Makefile.in, gcj/Makefile.in, include/Makefile.in,
4489 testsuite/Makefile.in: Rebuilt with automake gcj-1.4.
4490
b845ed9f
BM
44912004-07-14 Bryce McKinlay <mckinlay@redhat.com>
4492
4493 PR libgcj/16204
4494 * Makefile.am (AM_CXXFLAGS): Add -D_FILE_OFFSET_BITS=64 to enable
4495 large file support.
4496 * Makefile.in: Rebuilt.
4497 * testsuite/libjava.lang/LargeFile.java: New test case.
4498 * testsuite/libjava.lang/LargeFile.out: New file.
4499
ade1907d
JQ
45002004-07-14 Jerry Quinn <jlquinn@optonline.net>
4501
4502 * java/beans/EventHandler.java: Remove debugging statements.
4503
12e8e7ea
JQ
45042004-07-14 Jerry Quinn <jlquinn@optonline.net>
4505
4506 * java/beans/EventHandler.java: New file.
4507 * Makefile.am (awt_java_source_files): Add EventHandler.java.
4508 * Makefile.in, gcj/Makefile.in, include/Makefile.in,
4509 testsuite/Makefile.in: Regenerate.
4510
7cb73054
AT
45112004-07-14 Andreas Tobler <a.tobler@schweiz.ch>
4512
4513 * testsuite/libjava.jacks/jacks.exp (gcj_jacks_write): Add deprecation
4514 flag to the gcj_setup.
4515 (gcj_jacks_run): Check tclsh version and launch jacks directly with
4516 the tclsh.
4517 * testsuite/libjava.jacks/jacks.xfail: Update fails to reflect the
4518 deprecation flag change. 58 XFAILS removed.
4519
220a826e
UW
45202004-07-14 Ulrich Weigand <uweigand@de.ibm.com>
4521
4522 * configure.host (DIVIDESPEC) [s390*-*-*]: Set to
4523 -fno-use-divide-subroutine.
4524 * include/s390-signal.h: Include <ucontext.h> and <limits.h>.
4525 (HANDLE_FPE): Define.
4526 (SIGNAL_HANDLER): Change third argument to ucontext_t *.
4527 (struct old_s390_kernel_sigaction): Likewise for k_sa_handler.
4528 (HANDLE_DIVIDE_OVERFLOW): Define.
4529
c1b4f64d
MK
45302004-07-14 Michael Koch <konqueror@gmx.de>
4531 Matthias Klose <doko@debian.org>
4532
12e8e7ea 4533 * java/awt/im/InputContext.java: Initialize in, line.
c1b4f64d 4534
5549179f
UW
45352004-07-13 Ulrich Weigand <uweigand@de.ibm.com>
4536
4537 * interpret.cc (run): Correctly access libffi return values of
4538 integral smaller-than-int type; these are implicitly promoted.
4539
6187fd28
BM
45402004-07-13 Bryce McKinlay <mckinlay@redhat.com>
4541
4542 PR libgcj/7587
4543 * interpret.cc (compile_mutex): New.
4544 (_Jv_InitInterpreter): New. Initialize compile_mutex.
4545 (run): Lock compile_mutex before calling compile() if compilation is
4546 required.
4547 * prims.cc (_Jv_CreateJavaVM): Call _Jv_InitInterpreter().
4548 * include/java-interp.h (_Jv_InitInterpreter): Declare.
4549
7a1c3d48
BM
45502004-07-12 Bryce McKinlay <mckinlay@redhat.com>
4551
4552 PR libgcj/15713
4553 * include/jvm.h (_Jv_value): New union type.
4554 * gcj/field.h (_Jv_Field): Add new _addr union field variants
4555 * interperet.cc (run): Use _Jv_value union type and *_addr _Jv_Field
4556 union members.
4557
717b2091
SG
45582004-07-12 Scott Gilbertson <scottg@mantatest.com>
4559
4560 * gnu/awt/xlib/XCanvasPeer.java (createImage): Implement.
4561 * gnu/awt/xlib/XOffScreenImage.java
4562 (XOffScreenImage): Add ImageConsumer interface. Add ColorModel
4563 constructor argument. Add constructor using ImageProducer.
4564 (getSource): Implement.
4565 (imageComplete): New method.
4566 (setColorModel): New method.
4567 (setDimensions): New method.
4568 (setHints): New method.
4569 (setPixels): New method.
4570 (setProperties): New method.
4571 * gnu/gcj/xlib/GC.java (drawPoint): New native method.
4572 * gnu/gcj/xlib/natGC.cc (drawPoint): New native method.
4573
31a7b755
BM
45742004-07-11 Bryce McKinlay <mckinlay@redhat.com>
4575
abd1b60d 4576 PR libgcj/16478
31a7b755
BM
4577 * prims.cc (_Jv_CreateJavaVM): Fix comment.
4578 * gnu/gcj/runtime/FinalizerThread.java (init): New. Native.
4579 (finalizerReady): Now native.
4580 (run): Likewise.
4581 (runFinalizers): Removed.
4582 * gnu/gcj/runtime/natFinalizerThread.cc (run): Implement here. Use
4583 a primitive lock, and don't hold it while running the finalizers.
4584 (runFinalizers): Implement. Don't aquire any Java lock.
4585 (finalizerReady): Use lock primitives to signal finalizer thread.
4586
eeb32988
MW
45872004-07-11 Mark Wielaard <mark@klomp.org>
4588
4589 Reported by Roman Kennke <roman@ontographics.com> (bug #9331)
4590 * java/net/URLStreamHandler.java (parseURL): When url file part
4591 doesn't contain a '/' just ignore context.
4592
bbb362e6
UW
45932004-07-11 Ulrich Weigand <uweigand@de.ibm.com>
4594
4595 * include/s390-signal.c (SIGNAL_HANDLER): Use SIGINFO-style prototype.
4596 (struct old_s390_kernel_sigaction): Likewise for k_sa_handler.
4597 (MAKE_THROW_FRAME): Do not modify PSW address.
4598 (INIT_SEGV): Install SIGINFO-style signal handler.
4599 (INIT_FPE): Likewise.
4600
33dc5b0b
BM
46012004-07-10 Bryce McKinlay <mckinlay@redhat.com>
4602
4603 * testsuite/libjava.jacks/jacks.xfail: Updates to reflect current
4604 status. 21 xfail's removed, 1 added.
4605
a4548f27
BM
46062004-07-10 Bryce McKinlay <mckinlay@redhat.com>
4607
4608 * gcj/javaprims.h: Regenerate CNI namespace definitions.
4609
8f0ce8da
IK
46102004-07-10 Ito Kazumitsu <kaz@maczuka.gcd.org>
4611
4612 * java/text/MessageFormat.java
4613 (formatInternal): Append "{n}" if argument n is unavailable.
4614 (format(Object, StringBuffer, FieldPosition)): This
4615 should be equivalent to format(Object[],
4616 StringBuffer, FieldPosition).
4617
3ee7acd1
BM
46182004-07-09 Bryce McKinlay <mckinlay@redhat.com>
4619
4620 * java.util.Calendar.java (cache): New private static field. Cached
4621 mappings of locales->calendar classes.
4622 (ctorArgTypes): New private static field. Singleton argument for
4623 calendar class constructor lookup.
4624 (getInstance): Cache Locale->Calendar class mappings using HashMap.
4625 Optimize by bypassing reflection instantiation for the
4626 GregorianCalendar case.
4627
284d6a1f
BM
46282004-07-09 Bryce McKinlay <mckinlay@redhat.com>
4629
4630 * java/util/Calendar.java: Use getSystemClassLoader as argument for
4631 ResourceBundle.getBundle() calls.
4632 * java/util/GregorianCalendar.java: Likewise.
4633 * java/util/Currency.java: Likewise.
4634 * java/text/BreakIterator.java: Likewise.
4635 * java/text/Collator.java: Likewise.
4636 * java/text/DateFormat.java: Likewise.
4637 * java/text/DateFormatSymbols.java: Likewise.
4638 * java/text/DecimalFormatSymbols.java: Likewise.
4639 * java/text/NumberFormat.java: Likewise.
4640 * java/awt/Window.java: Likewise.
4641
21f56031
BM
46422004-07-09 Bryce McKinlay <mckinlay@redhat.com>
4643
4644 * java/util/ResourceBundle.java (bundleCache): Renamed from
4645 resourceBundleCache. Update comments.
4646 (getObject): Don't catch MissingResourceException.
4647 (getBundle(String)): Remove 'final'. Use system classloader if
4648 getCallingClassLoader returned null.
4649 (getBundle(String, Locale)): Likewise.
4650 (BundleKey): New private class. HashMap key for bundle cache lookup.
4651 (lookupKey): New. Singleton instance of BundleKey.
4652 (nullEntry): New. Cache entry to represent failed lookups.
4653 (getBundle(String, Locale, ClassLoader)): Re-written to use new
4654 caching strategy, no-allocation lookup, and new tryBundle methods.
4655 (tryBundle(String, ClassLoader)): New. Load a locale-qualified bundle
4656 name using given classloader.
4657 (tryBundle(String, Locale, ClassLoader, boolean): New. Qualify
4658 baseName for given Locale and attempt to load bundle.
4659
42c00752
BM
46602004-07-09 Bryce McKinlay <mckinlay@redhat.com>
4661
4662 * javax/swing/plaf/basic/BasicMenuUI.java (mousePressed): Remove
4663 illegal protected method calls.
4664
6e342fc1
BM
46652004-07-09 Bryce McKinlay <mckinlay@redhat.com>
4666
4667 Fix or remove some bogus test cases.
4668 * testsuite/libjava.compile/pr10459_2.java: Removed.
4669 * testsuite/libjava.compile/pr10459.java: Test using its own method,
4670 not Object.clone().
4671 * testsuite/libjava.compile/inner_data.java: Test against its own
4672 protected field.
4673
1f33f6b4
MK
46742004-07-09 Michael Koch <konqueror@gmx.de>
4675
4676 * scripts/unicode-muncher.pl: Updated to version 2.1
4677 from GNU classpath. Added some clarifications on where to find the
4678 needed files from www.unicode.org.
4679 * gnu/gcj/convert/UnicodeCharacterDatabase-3.0.0.html,
4680 gnu/gcj/convert/UnicodeData-3.0.0.txt:
4681 Removed, these can directly be downloaded from www.unicode.org if
4682 needed.
4683 * gnu/java/lang/CharData.java: Regenerated.
4684 * include/java-chartables.h: Regenerated.
4685 * Makefile.am (ordinary_java_source_files):
4686 Removed gnu/java/lang/CharData.java.
4687 * Makefile.in: Regenerated.
4688
771aacd3
MK
46892004-07-09 Michael Koch <konqueror@gmx.de>
4690
4691 * java/security/AccessControlContext.java,
4692 java/security/SecureClassLoader.java:
4693 Fixed javadocs.
4694
3d5f053c
MK
46952004-07-09 Michael Koch <konqueror@gmx.de>
4696
4697 * java/io/ObjectInputStream.java (readFields): Use long datatype
4698 when shifting byte values more then 24 bits left.
4699
d642571f
MK
47002004-07-09 Michael Koch <konqueror@gmx.de>
4701
4702 * java/util/zip/DeflaterOutputStream.java,
4703 java/util/zip/GZIPInputStream.java,
4704 java/util/zip/GZIPOutputStream.java,
4705 java/util/zip/InflaterInputStream.java:
4706 Reformatted. Added javadocs. Reordered all stuff.
4707 Renamed variables to be more clear.
4708
3042e24b
MK
47092004-07-09 Michael Koch <konqueror@gmx.de>
4710
4711 * javax/imageio/IIOException.java,
4712 javax/imageio/event/IIOReadProgressListener.java,
4713 javax/imageio/event/IIOReadUpdateListener.java,
4714 javax/imageio/event/IIOReadWarningListener.java,
4715 javax/imageio/event/IIOWriteProgressListener.java,
4716 javax/imageio/event/IIOWriteWarningListener.java:
4717 New files.
4718 * Makefile.am: Added new files.
4719 * Makefile.in: Regenerated.
4720
4a738a82
GL
47212004-07-09 Guilhem Lavaux <guilhem@kaffe.org>
4722
4723 * java/text/RuleBasedCollator.java
4724 (mergeRules): Use ArrayList instead of Vector.
4725 (subParseString): likewise.
4726 (parseString): likewise.
4727 (buildCollationVector): likewise.
4728 (getCollationKey): likewise.
4729
28e0ee76
DT
47302004-07-09 Dalibor Topic <robilad@kaffe.org>
4731
4732 * java/text/DateFormat.java (parse):
4733 Improved javadoc. Improved exception message.
4734
2e54a860
MW
47352004-07-09 Mark Wielaard <mark@klomp.org>
4736
4737 * gnu/java/nio/SelectorImpl.java (select): Call static Thread
4738 interrupted() method to clear interupt flag of our Thread.
4739
23c41c08
DT
47402004-07-09 Dalibor Topic <robilad@kaffe.org>
4741
4742 * java/nio/Buffer.java,
4743 java/nio/ByteBuffer.java,
4744 java/nio/ByteBufferHelper.java,
4745 java/nio/ByteBufferImpl.java,
4746 java/nio/CharBuffer.java,
4747 java/nio/CharBufferImpl.java,
4748 java/nio/CharViewBufferImpl.java,
4749 java/nio/DirectByteBufferImpl.java,
4750 java/nio/DoubleBuffer.java,
4751 java/nio/DoubleBufferImpl.java,
4752 java/nio/DoubleViewBufferImpl.java,
4753 java/nio/FloatBuffer.java,
4754 java/nio/FloatBufferImpl.java,
4755 java/nio/FloatViewBufferImpl.java,
4756 java/nio/IntBuffer.java,
4757 java/nio/IntBufferImpl.java,
4758 java/nio/IntViewBufferImpl.java,
4759 java/nio/LongBuffer.java,
4760 java/nio/LongBufferImpl.java,
4761 java/nio/LongViewBufferImpl.java,
4762 java/nio/MappedByteBufferImpl.java,
4763 java/nio/ShortBuffer.java,
4764 java/nio/ShortBufferImpl.java,
4765 java/nio/ShortViewBufferImpl.java:
4766 Fixed javadocs all over. Improved input error
4767 checking.
4768
4769 * java/nio/Buffer.java
4770 (checkForUnderflow, checkForOverflow, checkIndex,
4771 checkIfReadOnly, checkArraySize): New helper methods
4772 for error checking.
4773
4774 * java/nio/ByteBufferHelper.java
4775 (checkRemainingForRead, checkRemainingForWrite,
4776 checkAvailableForRead, checkAvailableForWrite): Removed
4777 no longer needed methods.
4778
e484d7d5
MK
47792004-07-09 Michael Koch <konqueror@gmx.de>
4780
4781 * gnu/regexp/CharIndexedInputStream.java:
4782 Reordered imports to match classpath.
4783
3e518ab0
MK
47842004-07-09 Michael Koch <konqueror@gmx.de>
4785
4786 * gnu/java/awt/EmbeddedWindow.java:
4787 Load native library for setWindowPeer method.
4788
8c5ac2c4
RC
47892004-07-08 Randolph Chung <tausq@debian.org>
4790
4791 * configure.in (SIGNAL_HANDLER): Use pa-signal.h for hppa.
4792 * configure: Regenerate.
4793 * configure.host: Set can_unwind_signal for hppa*-linux.
4794 * include/pa-signal.h: New file.
4795
0bd24153
PB
47962004-07-07 Per Bothner <per@bothner.com>
4797
fedf5454
PB
4798 * Makefile.am: Add rules to build libgij from just gij.cc.
4799
0bd24153
PB
4800 * include/jvm.h (namespace jcj): Declare verbose_class_flag
4801 * java/lang/natClass.cc (gcj::verbose_class_flag): New variable.
4802 (initializeClass): If verbose_class_flag, print message.
4803 * gij.cc (main): Handle -verbose:class flag.
4804
0e497b6c
AT
48052004-07-07 Andreas Tobler <a.tobler@schweiz.ch>
4806
4807 * configure.host: Enable hash synchronization on Darwin.
4808 * sysdep/powerpc/locks.h (compare_and_swap): Use '\n' instead of
4809 ';', since this is a comment on Darwin.
4810 (compare_and_swap_release): Likewise.
4811
c09bade6
ME
48122004-07-06 Mohan Embar <gnustuff@thisiscool.com>
4813
4814 * java/net/URLStreamHandler.java (parseURL): Canonicalize
4815 file portion of URL in addition to spec for file: protocol.
4816
23f99379 48172004-07-05 Anthony Green <green@redhat.com>
0e497b6c 4818
23f99379
AG
4819 * java/io/File.java (toURI): Merge from Classpath.
4820
a1433c46
BM
48212004-07-05 Bryce McKinlay <mckinlay@redhat.com>
4822
4823 * gnu/gcj/runtime/VMClassLoader.java (init): Check classpath entry
4824 before passing to URL constructor. Rethrow any MalformedURLException
4825 as a RuntimeException. Catch MalformedURLException specifically, not
4826 all exceptions.
0e497b6c 4827
a86f0372
BM
48282004-07-05 Bryce McKinlay <mckinlay@redhat.com>
4829
4830 * java/util/Locale.java (readObject): Intern strings read from object
4831 stream.
4832
74fa958e
MK
48332004-07-04 Michael Koch <konqueror@gmx.de>
4834
4835 * gnu/gcj/runtime/FirstThread.java,
4836 gnu/gcj/runtime/natFirstThread.cc: Removed.
4837 * gnu/java/lang/MainThread.java,
4838 gnu/java/lang/natMainThread.cc: New files.
4839 * prims.cc (_Jv_RunMain): Use MainThread instead of FirstThread.
4840 * Makefile.am: Added new files and removed deleted ones.
4841 * Makefile.in: Regenerated.
4842
94fbf267 48432004-07-03 Mark Wielaard <mark@klomp.org>
0e497b6c 4844 Anthony Green <green@redhat.com>
94fbf267
AG
4845
4846 * java/net/URL.java (getFile): Clarify return value doc.
4847 (getPath): Return null if file is empty - not empty String.
4848 (set): Convert protocol to lower case before doing anything.
4849 Only change the protocol handler if it's different.
4850
48512004-07-03 Anthony Green <green@redhat.com>
4852
4853 * java/net/URL.java (URL): Convert protocol to lower case before
4854 doing anything, so we getURLStreamHandler() with the proper value.
4855
b5349c07
BM
48562004-07-02 Bryce McKinlay <mckinlay@redhat.com>
4857
4858 * java/util/Locale.java (hashcode): Made transient.
4859 (hashCode): No longer synchronized.
4860 (equals): Remove comment.
4861 (writeObject): No longer synchronized. Implement using writeObject
4862 calls instead of tweaking hashCode field. Update doc.
4863 (readObject): Implement using readObject calls.
4864
f8a57be8
GK
48652004-06-26 Geoffrey Keating <geoffk@apple.com>
4866 Andreas Tobler <a.tobler@schweiz.ch>
4867
4868 * configure.host (powerpc-*-darwin*): New case, define
4869 can_unwind_signal.
4870 * configure.in (*-*-darwin*): New case, point to darwin-signal.h.
4871 * configure: Regenerate.
4872 * include/darwin-signal.h: New.
4873
dcfbe7c7
JQ
48742004-06-30 Jerry Quinn <jlquinn@optonline.net>
4875
4876 * java/beans/Statement.java (doExecute): Fix formatting.
4877
8319dc87
PB
48782004-06-29 Per Bothner <per@bothner.com>
4879
4880 * jni.cc (_Jv_JNI_NewGlobalRef, JNICALL _Jv_JNI_DeleteGlobalRef,
4881 etc etc): Remove needless parenthesis, which causes __stdcall__
4882 attribute on MinGW to get ignored.
4883
b4bbd47e
BM
48842004-06-29 Bryce McKinlay <mckinlay@redhat.com>
4885
4886 * testsuite/libjava.compile/PR16249.java: New test case. PR gcc/16249.
4887
b5493719
BM
48882004-06-28 Bryce McKinlay <mckinlay@redhat.com>
4889
b4bbd47e 4890 * testsuite/libjava.jacks/jacks.xfail: Remove 8.1.3-superclass-6.
b5493719 4891
7b63e340
JQ
48922004-06-28 Jerry Quinn <jlquinn@optonline.net>
4893
4894 * java/beans/Expression.java: New file.
4895 * java/beans/Statement.java: New file.
4896 * Makefile.am: Added new files.
4897 * Makefile.in: Re-generate.
4898
01036503
MW
48992004-06-27 Mark Wielaard <mark@klomp.org>
4900
4901 * java/io/FilePermission.java (usingPerms): Removed.
4902 (actionsString): Made final.
4903 (cachePerms): Renamed to checkPerms.
4904 (checkPerms): Renamed from cachePerms. Call trim() and toLowerCase()
4905 on action String.
4906 (FilePermission): Check arguments, call checkPerms().
4907 (equals): Remove cachePerms() call.
4908 (implies): Likewise.
4909
ce6230c4
MW
49102004-06-27 Mark Wielaard <mark@klomp.org>
4911
4912 * gnu/java/net/protocol/http/Connection.java (userAgent): New static
4913 final field.
4914 (sendRequest): Use new field in user-agent http agent.
4915
66a74d2a
MW
49162004-06-27 Mark Wielaard <mark@klomp.org>
4917
4918 * java/awt/EventQueue.java (postEvent): Throw NullPointerException
4919 when argument is null.
4920
49212004-06-26 Mark Wielaard <mark@klomp.org>
4922
4923 * native/jni/gtk-peer/gnu_java_awt_peer_gtk_GtkFileDialogPeer.c
4924 (ok_clicked): Use Ljava/lang/String; not Ljava.lang.String; in JNI
4925 GetMethodID call.
4926 (cancel_clicked): Likewise.
4927
d168da74
AT
49282004-06-26 Andreas Tobler <a.tobler@schweiz.ch>
4929
4930 * jni/gtk-peer/gnu_java_awt_peer_gtk_GtkMainThread.c
4931 (init_dpi_conversion_factor): Check for int_dpi < 0 in case gtk-xft-dpi
4932 can not calculate the right value.
4933 (dpi_changed_cb): Likewise. Mark *pspec as unused.
4934
cc21f43e
BM
49352004-06-24 Bryce McKinlay <mckinlay@redhat.com>
4936
4937 * testsuite/libjava.jacks/jacks.xfail: Remove
4938 15.9.1-qualified-concrete-20.
4939
eb8163ab
BM
49402004-06-22 Bryce McKinlay <mckinlay@redhat.com>
4941
4942 * gnu/gcj/convert/BytesToUnicode.java (getDecoder): Pass original
4943 encoding name to iconv.
4944 * gnu/gcj/convert/UnicodeToBytes.java (getEncoder): Likewise.
4945
f50aa505
BM
49462004-06-22 Bryce McKinlay <mckinlay@redhat.com>
4947
4948 PR libgcj/16134:
e9cb3dac
BM
4949 * gnu/gcj/convert/BytesToUnicode.java (getDecoder): Canonicalize
4950 encoding name before cache lookup. Thanks to Hannes Wallnoefer.
4951 * gnu/gcj/convert/UnicodeToBytes.java (getEncoder): Likewise.
f50aa505 4952
deb3d52f
AH
49532004-06-21 Andrew Haley <aph@redhat.com>
4954
4955 * java/io/ObjectOutputStream.java: Add DEBUG statements
4956 everywhere.
4957 (dumpElementln): New method.
4958 (depth): New field.
4959 * java/io/ObjectInputStream.java
4960 (currentClassLoader): Make native.
4961 (callersClassLoader): New field.
4962 (depth): New field.
4963 (readObject): ENDBLOCKDATA is generated if the class has a write
4964 method, not if it has a read method.
4965 (readObject): Save and restore this.currentObject and
4966 this.currentObjectStreamClass around calls to callReadMethod().
4967 * java/io/natObjectInputStream.cc (getCallersClassLoader): New
4968 method.
4969
cfc74dce
AT
49702004-06-18 Andreas Tobler <a.tobler@schweiz.ch>
4971
4972 * testsuite/libjava.jni/jni.exp (gcj_jni_test_one): Add lgcc_s for
4973 darwin.
4974
bd760894
RM
49752004-06-18 Ranjit Mathew <rmathew@hotmail.com>
4976
4977 * prims.cc (_Jv_CreateJavaVM): Install SEGV and FPE handlers,
4978 if desired, before the default class loader is initialised.
4979 Call INIT_SEGV only if HANDLE_SEGV is defined.
4980
6ca77e6f
RM
49812004-06-18 Ranjit Mathew <rmathew@hotmail.com>
4982
4983 * gnu/gcj/runtime/VMClassLoader.java (init): Add extensions
4984 directory only if it actually exists.
4985
67a69e82
GH
49862004-06-18 Graydon Hoare <graydon@redhat.com>
4987
4988 * jni/gtk-peer/gnu_java_awt_peer_gtk_GtkComponentPeer.c:
4989 Fix up non-ansi comments.
4990
49912004-06-18 Ranjit Mathew <rmathew@hotmail.com>
4992
4993 * javax/swing/text/AbstractDocument.java: Adding missing import
4994 for javax.swing.event.EventListenerList.
4995 * javax/swing/text/DefaultCaret.java: Likewise.
4996
4dfcdad1
GH
49972004-06-17 Michael Koch <konqueror@gmx.de>
4998
4999 * javax/swing/JToolBar.java
5000 (name): Removed.
5001 (JToolBar): Use Component.setName(String) instead of doing it all
5002 alone.
5003 * javax/swing/Timer.java
5004 (queueEvent): Added missing modifier.
5005
50062004-06-17 Olga Rodimina <rodimina@redhat.coom>
5007
5008 * Makefile.am: Added new file.
5009 * Makefile.in: Re-generate.
5010 * javax/swing/JMenu.java:
5011 (insertSeparator): Implemented.
5012 * javax/swing/JPopupMenu.java:
5013 (JPopupMenu.Separator): Implemented.
5014 * javax/swing/MenuSelectionManager.java:
5015 (processMouseEvent): Use java.awt.Component
5016 for event source instead of javax.swing.JComponent.
5017 * javax/swing/plaf/basic/BasicPopupMenuSeparatorUI.java:
5018 New File. Implemented.
5019
50202004-06-16 David Jee <djee@redhat.com>
5021
5022 * java/awt/GridBagLayout.java
5023 (GetLayoutInfo): Adjust cell sizes iff parent size is not zero.
5024 Make sure pos_x and pos_y are never negative.
5025
50262004-04-16 Andrew Overholt <overholt@redhat.com>
5027
5028 * Makefile.am: Add new file.
5029 * Makefile.in: Re-generate.
5030 * javax/swing/JToolBar.java
5031 Partially implemented.
5032 * javax/swing/plaf/basic/BasicToolBarUI.java
5033 New file. Partially implemented.
5034
50352004-06-16 Graydon Hoare <graydon@redhat.com>
5036
5037 * gnu/java/awt/peer/gtk/GdkGraphics2D.java
5038 (setComposite): Accept AlphaComposite arguments.
5039 * gnu/java/awt/peer/gtk/GdkPixbufDecoder.java
5040 (createBufferedImage): Add new overloads.
5041 * gnu/java/awt/peer/gtk/GtkToolkit.java
5042 (createImage): Use GdkPixbufDecoder.createBufferedImage
5043 when useGraphics2D() is true.
5044 (getImage): Delegate to createImage.
5045 * javax/swing/JList.java
5046 (isSelectionEmpty):
5047 (getFirstVisibleIndex):
5048 (getLastVisibleIndex):
5049 (setSelectedValue):
5050 (ensureIndexIsVisible): New methods.
5051 * javax/swing/Timer.java: Reimplement.
5052
50532004-06-16 Michael Koch <konqueror@gmx.de>
5054
5055 * javax/swing/text/AbstractDocument.java
5056 (AbstracElement): Made public, implements java.io.Serializable.
5057 (AttributeContext): Made public.
5058 (BranchElement): Likewise.
5059 (Content): Likewise.
5060 (DefaultDocumentEvent): Made public, extends
5061 javax.swing.undo.CompoundEdit.
5062 (ElementEdit): Made public, extends
5063 javax.swing.undo.AbstractUndoableEdit.
5064 (LeafElement): Made public.
5065 (LeafElement.LeafElement): Made public.
5066
50672004-06-16 Michael Koch <konqueror@gmx.de>
5068
5069 * javax/swing/text/JTextComponent.java: Totally reworked. Removed many
5070 methods (that were obviously never be intended to get included hi this
5071 class. Added some methods too.
5072
50732004-06-16 Michael Koch <konqueror@gmx.de>
5074
5075 * javax/swing/text/PlainDocument.java
5076 (serialVersionUID): New constant.
5077 (lineLimitAttribute): Likewise.
5078 (tabSizeAttribute): Likewise.
5079 (tabSize): New field.
5080 (PlainDocument): Made public.
5081 (PlainDocument): New constructor.
5082
50832004-06-16 Michael Koch <konqueror@gmx.de>
5084
5085 * javax/swing/text/AbstractDocument.java
5086 (insertString): Throws BadLocationException.
5087 * javax/swing/text/Document.java
5088 (insertString): Likewise.
5089 * javax/swing/text/JTextComponent.java:
5090 Javadocs and comments cleaned up.
5091
50922004-06-16 Michael Koch <konqueror@gmx.de>
5093
5094 * javax/swing/event/UndoableEditListener.java: Reformatted.
5095 * javax/swing/text/AbstractDocument.java
5096 (AbstractDocument): Implements java.io.Serializable.
5097 (doc_list): Removed.
5098 (undo_list): Removed.
5099 (AbstractElement.serialVerionUID): New field.
5100 (BranchElement.serialVerionUID): Likewise.
5101 (DefaultDocumentEvent.serialVerionUID): Likewise.
5102 (ElementEdit.serialVerionUID): Likewise.
5103 (LeafElement.serialVerionUID): Likewise.
5104 (serialVerionUID): Likewise.
5105 (BAD_LOCATION): New constant.
5106 (BidiElementName): Likewise.
5107 (ContentElementName): Likewise.
5108 (ParagraphElementName): Likewise.
5109 (SectionElementName): Likewise.
5110 (ElementNameAttribute): Likewise.
5111 (AbstractDocument): Made protected.
5112 (AbstractDocument): New construtor.
5113 (listenerList): New field.
5114 (fireChangedUpdate): Implemented.
5115 (fireInsertUpdate): Likewise.
5116 (fireRemoveUpdate): Likewise.
5117 (fireUndoableEditUpdate): Likewise.
5118 (getListeners): Likewise.
5119 (addDocumentListener): Likewise.
5120 (removeDocumentListener): Likewise.
5121 (addUndoableEditListener): Likewise.
5122 (removeUndoableEditListener): Likewise.
5123 (getDocumentListeners): New method.
5124 (getUndoableEditListeners): Likewise.
5125 (getAsynchronousLoadPriority): Made public.
5126 (getBidiRootElement): Likewise.
5127 (setAsynchronousLoadPriority): Likewise.
5128 (setDocumentProperties): Likewise.
5129 * javax/swing/text/BadLocationException.java
5130 (serialVerionUID): New field.
5131 * javax/swing/text/DefaultCaret.java
5132 (changeEvent): New field.
5133 (listenerList): Likewise.
5134 (changes): Removed.
5135 (addChangeListener): Reimplemented.
5136 (removeChangeListener): Likewise.
5137 (getListeners): New method.
5138 (getChangeListeners): Likwise.
5139 (getComponent): Likewise.
5140 * javax/swing/text/GapContent.java
5141 (GapContent): Implements java.io.Serializable.
5142 (serialVerionUID): New field.
5143
51442004-06-16 Michael Koch <konqueror@gmx.de>
5145
5146 * javax/swing/JTree.java
5147 (treeModel): New field.
5148 (JTree): New constructors, one existing one made public.
5149 (createTreeModel): New method.
5150 (addTreeExpansionListener): Likewise.
5151 (removeTreeExpansionListener): Likewise.
5152 (getTreeExpansionListeners): Likewise.
5153 (fireTreeCollapsed): Likewise.
5154 (fireTreeExpanded): Likewise.
5155 (addTreeSelectionListener): Likewise.
5156 (removeTreeSelectionListener): Likewise.
5157 (getTreeSelectionListeners): Likewise.
5158 (fireValueChanged): Likewise.
5159 (addTreeWillExpandListener): Likewise.
5160 (removeTreeWillExpandListener): Likewise.
5161 (getTreeWillExpandListeners): Likewise.
5162 (fireTreeWillCollapse): Likewise.
5163 (fireTreeWillExpand): Likewise.
5164
51652004-06-16 Michael Koch <konqueror@gmx.de>
5166
5167 * javax/swing/JTree.java: Reformatted.
5168
51692004-06-16 Michael Koch <konqueror@gmx.de>
5170
5171 * javax/swing/JTextArea.java: New file.
5172 * javax/swing/JTextField.java
5173 (actions): Removed.
5174 (notifyAction): New constant.
5175 (columns): New field.
5176 (JTextField): New constructors.
5177 (createDefaultModel): New method.
5178 (addActionListener): Reimplmemented.
5179 (removeActionListener): Reimplemented.
5180 (getActionListeners): New method.
5181 (fireActionPerformed): New method.
5182 (getColumns): New method.
5183 (setColumne): New method.
5184 * javax/swing/text/JTextComponent.java
5185 (AccessibleJTextComponent.serialVersionUID): New field.
5186 (serialVersionUID): Likewise.
5187 (DEFAULT_KEYMAP): Likewise.
5188 (FOCUS_ACCELERATOR_KEY): Likewise.
5189 (doc): Made private.
5190 (icon_gap): Likewise.
5191 (icon): Likewise.
5192 (align): Likewise.
5193 (JTextComponent): Some constructors removed.
5194 (getScrollableTracksViewportHeight): New method.
5195 (getScrollableTracksViewportWidth): Likewise.
5196 * Makefile.am: Added javax/swing/JTextArea.java.
5197 * Makefile.in: Regenerated.
5198
51992004-06-15 Graydon Hoare <graydon@redhat.com>
5200
5201 * javax/swing/ImageIcon.java (ImageIcon): New constructor.
5202 * javax/swing/JFrame.java (defaultLookAndFeelDecorated): New property.
5203 * javax/swing/JViewport.java
5204 (getExtentSize): Return size rather than preferred size.
5205 (toViewCoordinates): New methods.
5206 (getViewSize): Return size rather than preferred size.
5207 (setViewSize): Note view size as set.
5208 * javax/swing/ViewportLayout.java (layoutContainer): Reimplement.
5209 * javax/swing/plaf/basic/BasicScrollBarUI.java
5210 (getPreferredSize): Don't redo layout.
5211 * javax/swing/plaf/basic/BasicViewportUI.java
5212 (paint): Translate image properly and eat exceptions.
5213
52142004-06-15 Kim Ho <kho@redhat.com>
5215
5216 * javax/swing/JTabbedPane.java
5217 (setComponent): Remove old component and
5218 add new component.
5219 (setSelectedIndex): Don't operate on the
5220 components if they're null. Don't set index
5221 on the model if the index is the same.
5222 (insertTab): Don't add or hide the component
5223 if it's null. Repaint the container.
5224 * javax/swing/plaf/basic/BasicLookAndFeel.java
5225 Change colors for TabbedPane.
5226 * javax/swing/plaf/basic/BasicTabbedPaneUI.java
5227 (mousePressed): Re-layout and paint the component.
5228 (layoutContainer): Don't set location on the view.
5229 (ScrollingViewport::paint): Remove.
5230
52312004-06-14 Thomas Fitzsimmons <fitzsim@redhat.com>
5232
5233 * jni/gtk-peer/gnu_java_awt_peer_gtk_GtkComponentPeer.c
5234 (gtkWidgetDispatchKeyEvent): Change warning message to comment.
5235
5236 * jni/gtk-peer/gnu_java_awt_peer_gtk_GdkGraphics.c (drawString):
5237 Wrap baseline y value in PANGO_PIXELS macro, rather than simply
5238 dividing by PANGO_SCALE. Call gdk_flush before leaving GDK
5239 critical region.
5240 (drawLine): Call gdk_flush before leaving GDK critical region.
5241 (fillRect): Likewise.
5242 (drawRect): Likewise.
5243 (copyArea): Likewise.
5244 (copyPixmap): Likewise.
5245 (clearRect): Likewise.
5246 (drawArc): Likewise.
5247 (drawPolyline): Likewise.
5248 (drawPolygon): Likewise.
5249 (fillPolygon): Likewise.
5250 (fillArc): Likewise.
5251 (drawOval): Likewise.
5252 (fillOval): Likewise.
5253
5254 * gnu/java/awt/peer/gtk/GdkFontMetrics.java (initState): Add
5255 style parameter.
5256 (GdkFontMetrics): Add style argument to initState call.
5257 (stringWidth(String,int,int,String)): Add style parameter.
5258 (stringWidth(String)): Add style argument to stringWidth call.
5259 * jni/gtk-peer/gnu_java_awt_peer_gtk_GdkFontMetrics.c
5260 (initState): Set pango font style and weight based on AWT style
5261 parameter. Pass default GTK language to
5262 pango_context_get_metrics. Use PANGO_PIXELS macro rather than
5263 simply dividing by PANGO_SCALE.
5264 (stringWidth): Set pango font style and weight based on AWT style
5265 parameter.
5266
5267 * java/awt/Button.java (next_button_number): New field.
5268 (paramString): Change output.
5269 (generateName): New method.
5270 (getUniqueLong): New method.
5271
52722004-06-14 Kim Ho <kho@redhat.com>
5273
5274 * javax/swing/JTabbedPane.java:
5275 (setComponentAt): Set the component, not
5276 the enabled status.
5277 * javax/swing/plaf/basic/BasicDesktopIconUI.java
5278 (actionPerformed): Let deiconize catch exception.
5279
52802004-06-14 Olga Rodimina <rodimina@redhat.com>
5281
5282 * javax/swing/JPopupMenu.java:
5283 (setVisible): Corrected location of a
5284 heavyweight popup menu.
5285
52862004-06-14 Olga Rodimina <rodimina@redhat.com>
5287
5288 * javax/swing/MenuSelectionManager.java:
5289 Ran through jalopy to fix formatting style.
5290
52912004-06-14 Olga Rodimina <rodimina@redhat.com>
5292
5293 * javax/swing/JLayeredPane.java:
5294 (remove): Revalidate and repaint layered pane after
5295 the component was removed.
5296 javax/swing/JMenu.java:
5297 (setVisible): Display popup menu at the user location,
5298 if one was set by the user.
5299 (setMenuLocation): Reimplemented. Fixed javadoc.
5300 * javax/swing/JMenuBar.java: Added javadoc.
5301 (BORDER_PAINTED_CHANGED_PROPERTY): New Property.
5302 (MODEL_CHANGED_PROPERTY): New Property.
5303 (isSelected): Implemented.
5304 (setBorderPainted): Fire PropertyChangeEvent
5305 if paintBorder property changes.
5306 (setSelected): Implemented.
5307 (setSelectionModel): Implemented.
5308 * javax/swing/JPopupMenu.java: Added Javadoc
5309 (pack): Implemented.
5310 (setVisible): Reimplemented.
5311 (show): Fixed location.
5312 (JPopupMenu.LigthWeightPopup): Reimplemented to use
5313 Container instead of JPanel.
5314 * javax/swing/MenuSelectionManager.java: Added Javadocs.
5315 (clearSelectedPath): Reimplemented to clear selectedPath
5316 in reverse order.
5317 (processMouseEvent): Reimplemented.
5318 (setSelectedPath): Fire stateChange event indicating that
5319 selected menu path has changed.
5320 (getPath): Change to use ArrayList instead of Vector.
5321 * javax/swing/plaf/basic/BasicMenuBarUI.java:
5322 (installUI): call installKeyboardActions().
5323 (uninstallUI): call uninstallKeyboardActions().
5324
53252004-06-13 Michael Koch <konqueror@gmx.de>
5326
5327 * javax/swing/text/DefaultCaret.java,
5328 javax/swing/text/BadLocationException.java:
5329 Reformatted.
5330
53312004-06-12 Thomas Fitzsimmons <fitzsim@redhat.com>
5332
5333 * gnu/java/awt/peer/gtk/GtkTextAreaPeer.java (DEFAULT_ROWS,
5334 DEFAULT_COLS): New variables.
5335 (create): Don't allow 0 rows or 0 columns. Instead, set the
5336 values to DEFAULT_ROWS or DEFAULT_COLS.
5337 (getMinimumSize): Likewise.
5338 (getPreferredSize): Likewise.
5339 (minimumSize): Likewise.
5340 (preferredSize): Likewise.
5341 (create): Set peer's editable state.
5342 * java/awt/TextArea.java (TextArea()): Set rows and columns to
5343 zero. Update javadocs.
5344 (TextArea(String)): Likewise.
5345 (TextArea(int,int)): Fix javadocs.
5346 (TextArea(String,int,int,int)): Only throw exception if one of
5347 rows or columns is zero. Fix javadocs.
5348
53492004-06-11 Thomas Fitzsimmons <fitzsim@redhat.com>
5350
5351 * java/awt/AWTEvent.java (toString): Handle MenuComponents in
5352 addition to Components.
5353
5354 * java/awt/MenuItem.java (dispatchEventImpl): If the event
5355 wasn't consumed by normal processing, send it to the parent
5356 menu.
5357
5358 * gnu/java/awt/peer/gtk/GtkImagePainter.java
5359 (setPixels(int,int,int,int,ColorModel,int[],int,int)): Remove
5360 translation.
5361
53622004-06-11 David Jee <djee@redhat.com>
5363
5364 * java/awt/MediaTracker.java
5365 (addImage(Image,int)): Call imageUpdate() to udpate image status.
5366 (addImage(Image,int,int,int)): Likewise.
5367
53682004-06-11 Michael Koch <konqueror@gmx.de>
5369
5370 * javax/swing/text/AbstractDocument.java,
5371 javax/swing/text/Document.java,
5372 javax/swing/text/GapContent.java,
5373 javax/swing/text/JTextComponent.java,
5374 javax/swing/text/PlainDocument.java:
5375 Reformatted.
5376
53772004-06-11 Michael Koch <konqueror@gmx.de>
5378
5379 * javax/swing/JRootPane.java
5380 (AccessibleJRootPane.serialVersionUID): New field.
5381 (AccessibleJRootPane.AccessibleJRootPane): New constructor.
5382 (AccessibleJRootPane.getAccessibleRole): New method.
5383 (RootLayout): Implements Serializable.
5384 (RootLayout.serialVersionUID): New field.
5385 (RootLayout.RootLayout): New constructor.
5386 (setJMenuBar): Made public.
5387 (getJMenuBar): Likewise.
5388 (JRootPane): Likewise.
5389 (createContentPane): Likewise.
5390 (createGlassPane): Likewise.
5391 (createLayeredPane): Likewise.
5392
53932004-06-11 Michael Koch <konqueror@gmx.de>
5394
5395 * javax/swing/SwingUtilities.java
5396 (isLeftMouseButton): Fixed javadoc.
5397 (isMiddleMouseButton): Likewise.
5398 (isRightMouseButton): Likewise.
5399
54002004-06-11 Michael Koch <konqueror@gmx.de>
5401
5402 * javax/swing/JScrollPane.java
5403 (serialVersionUID): New field.
5404 (columnHeader): Made protected.
5405 (rowHeader): Likewise.
5406 (lowerLeft): Likewise.
5407 (lowerRight): Likewise.
5408 (upperLeft): Likewise.
5409 (upperRight): Likewise.
5410 (horizontalScrollBar): Likewise.
5411 (horizontalScrollBarPolicy): Likewise.
5412 (verticalScrollBar): Likewise.
5413 (verticalScrollBarPolicy): Likewise.
5414 (viewport): Likewise.
5415
54162004-06-11 Michael Koch <konqueror@gmx.de>
5417
5418 * javax/swing/LookAndFeel.java: Fixed javadocs.
5419
54202004-06-11 Michael Koch <konqueror@gmx.de>
5421
5422 * javax/swing/JEditorPane.java: Fixed javadocs.
5423 (JEditorPane): Removed redundant call to to this().
5424 (fireHyperlinkUpdate): Implemented.
5425
54262004-06-10 Olga Rodimina <rodimina@redhat.com>
5427
5428 * javax/swing/JMenu.java: Fixed file name
5429 in the file comment.
5430
54312004-06-10 Olga Rodimina <rodimina@redhat.com>
5432
5433 * javax/swing/JMenu.java: Added javadoc.
5434 (JMenu): Added MenuChangeListener to listen to
5435 ChangeEvents occuring in menu's model.
5436 (insert): Throw IllegalArgumentException if
5437 index is less than 0
5438 (setSelected): Reimplement.
5439 (setPopupMenuVisible): Call menu's model isEnabled()
5440 (setDelay): Throw IllegalArgumentException if
5441 given amount of delay is less than 0.
5442 (createActionComponent): Implemented.
5443 (createActionChangeListener): Implemented.
5444 (addSeparator): Implemented.
5445 (getItem): Throw IllegalArgumentException if index is
5446 less than 0.
5447 (getItemCount): Implemented.
5448 (fireMenuSelected): Changed to use menuEvent.
5449 (fireMenuDeselected): Likewise.
5450 (fireMenuCanceled): Likewise.
5451 (setAccelerator): Changed to throw an error if this
5452 method is used.
5453 (doClick): Implemented.
5454 (JMenu.ActionChangedListener): New inner class to handle
5455 PropertyChangeEvents occuring in the actions associated with menu.
5456 * javax/swing/plaf/basic/BasicMenuUI.java: Added javadoc.
5457 (BasicMenuUI): Added PropertyChangeListener to the menu.
5458 (createChangeListener): Implemented.
5459 (createMenuDragMouseListener): Likewise.
5460 (createMenuKeyListener): Likewise.
5461 (createPropertyChangeListener): Likewise.
5462 (uninstallListeners): Likewise.
5463 (BasicMenuUI.MouseInputHandler): Reimplemented.
5464 (BasicMenuUI.PropertyChangeHandler): New class. Not implemented yet.
5465 (BasicMenuUI.ChangeHandler): Likewise.
5466 (BasicMenuUI.MenuDragMouseHandler): Likewise.
5467 (BasicMenuUI.MenuKeyHandler): Likewise.
5468
54692004-06-10 David Jee <djee@redhat.com>
5470
5471 * java/awt/MediaTracker.java
5472 (imageUpdate): Only do notifyAll() if the image is complete.
5473
54742004-06-10 Olga Rodimina <rodimina@redhat.com>
5475
5476 * javax/swing/JApplet.java:
5477 (getJMenuBar): Made public.
5478 (setJMenuBar): Likewise.
5479 * javax/swing/JFrame.java:
5480 (getJMenuBar): Made public.
5481 (setJMenuBar): Likewise.
5482 * javax/swing/JWindow.java:
5483 (getJMenuBar): Removed.
5484 (setJMenuBar): Removed.
5485
54862004-06-10 Michael Koch <konqueror@gmx.de>
5487
5488 * javax/swing/JEditorPane.java
5489 (createEditorKitForContentType): Fixed visibility.
5490 (fireHyperlinkUpdate): Likewise.
5491 (getContentType): Likewise.
5492 (getEditorKit): Likewise.
5493 (getEditorKitForContentType): Likewise.
5494 (getPage): Likewise.
5495 (read): Likewise.
5496 (registerEditorKitForContentTyoe): Likewise.
5497 (replaceSelection): Likewise.
5498 (setContentType): Likewise.
5499 (setEditorKit): Likewise.
5500 (setPage): Likewise.
5501
55022004-06-10 Michael Koch <konqueror@gmx.de>
5503
5504 * javax/swing/Timer.java
5505 (Timer): New constructor.
5506 * javax/swing/plaf/basic/BasicProgressBarUI.java
5507 (animationTimer): Don't initialize at construction.
5508 (startAnimationTimer): Added since tag.
5509 (stopAnimationTimer): Likewise.
5510 (installUI): Use new Timer constructor.
5511 * javax/swing/plaf/basic/BasicScrollBarUI.java
5512 (installUI): Likewise.
5513 * javax/swing/plaf/basic/BasicSliderUI.java
5514 (installUI): Likewise.
5515
55162004-06-10 Michael Koch <konqueror@gmx.de>
5517
5518 * javax/swing/ButtonGroup.java
5519 (serialVersionUID): Made private.
5520 (buttons): Renamed from v, added javadoc.
5521 (sel): Added javadoc.
5522 (ButtonGroup): Likewise.
5523 (add): Likewise.
5524 (remove): Likewise.
5525 (getElements): Likewise.
5526 (getSelection): Likewise.
5527 (setSelected): Likewise.
5528 (isSelected): Likewise.
5529 (getButtonCount): Likewise.
5530
55312004-06-10 Michael Koch <konqueror@gmx.de>
5532
5533 * javax/swing/ButtonGroup.java,
5534 javax/swing/ImageIcon.java,
5535 javax/swing/JEditorPane.java,
5536 javax/swing/JRootPane.java,
5537 javax/swing/JTextField.java,
5538 javax/swing/LookAndFeel.java,
5539 javax/swing/plaf/basic/BasicTextUI.java:
5540 Reindented.
5541
55422004-06-10 Michael Koch <konqueror@gmx.de>
5543
5544 * javax/swing/text/Style.java: Added javadocs.
5545
55462004-06-10 Michael Koch <konqueror@gmx.de>
5547
5548 * javax/swing/JComponent.java
5549 (fireVetoableChange): Removed redundant cast.
5550 * javax/swing/JLabel.java
5551 (getDisabledIcon): Save icon for next call.
5552
55532004-06-10 Michael Koch <konqueror@gmx.de>
5554
5555 * javax/swing/KeyStroke.java
5556 (getKeyStroke(char,boolean)): Marked deprecated.
5557
55582004-06-10 Michael Koch <konqueror@gmx.de>
5559
5560 * javax/swing/DefaultCellEditor.java,
5561 javax/swing/GrayFilter.java,
5562 javax/swing/event/DocumentEvent.java,
5563 javax/swing/text/JTextComponent.java,
5564 javax/swing/text/MutableAttributeSet.java:
5565 Reindented.
5566
55672004-06-10 Michael Koch <konqueror@gmx.de>
5568
5569 * javax/swing/plaf/BorderUIResource.java:
5570 Added serialVersionUID all over.
5571
55722004-06-10 Sascha Brawer <brawer@dandelis.ch>
5573
5574 * javax/swing/undo/UndoManager.java: Re-written from scratch.
5575
55762004-06-10 Michael Koch <konqueror@gmx.de>
5577
5578 * javax/swing/table/DefaultTableCellRenderer.java
5579 (noFocusBorder): Initialize directly.
5580
55812004-06-10 Michael Koch <konqueror@gmx.de>
5582
5583 * javax/swing/plaf/basic/BasicArrowButton.java
5584 (setDirection): Use method argument.
5585
55862004-06-10 Michael Koch <konqueror@gmx.de>
5587
5588 * javax/swing/plaf/BorderUIResource.java,
5589 javax/swing/plaf/ComponentUI.java,
5590 javax/swing/undo/CompoundEdit.java,
5591 javax/swing/undo/StateEdit.java:
5592 Fixed javadocs all over.
5593
55942004-06-10 Michael Koch <konqueror@gmx.de>
5595
5596 * javax/swing/DefaultButtonModel.java
5597 (ARMED): Made public final, fixed value.
5598 (ENABLED): Likewise.
5599 (PRESSED): Likewise.
5600 (ROLLOVER): Likewise.
5601 (SELECTED): Likewise.
5602 (stateMask): Initialize directly.
5603 (listenerList): Likewise.
5604 (mnemonic): Likewise.
5605 (fireStateChanged): Removed argument, use changeEvent as event.
5606 All places where this method is called are fixed too.
5607 (getActionCommant): Fixed javadoc.
5608 (setGroup): Fixed javadoc.
5609 (getGroup): New method.
5610
56112004-06-09 Olga Rodimina <rodimina@redhat.com>
5612
5613 * javax/swing/AbstractButton.java
5614 (AbstractButton): Use init() to initialize the button.
5615 (init): New Method. Initializes AbstractButton.
5616 * javax/swing/JMenuItem.java: Documented.
5617 (JMenuItem): Reimplemented.
5618 (init): Implemented.
5619 (setEnabled): Changed to call super.setEnabled()
5620 (processMouseEvent): Reimplemented.
5621 (fireMenuKeyPressed): Implemented.
5622 (fireMenuKeyReleased): Implemented.
5623 (fireMenuKeyTyped): Implemented.
5624 (menuSelectionChanged): disarm the model if the menu item was
5625 deselected.
5626 * javax/swing/plaf/basic/BasicMenuItemUI.java:Documented.
5627 (getPath): Change to use ArrayList instead of Vector.
5628 (getPreferredSize): Renamed variable.
5629 (paintMenuItem): Paint margin area of menu item.
5630 (MouseInputHandler.mouseEntered): Set selection in MenuSelectionManager.
5631 (MouseInputHandler.mouseReleased): Check if mouse was pressed inside
5632 menu item's bounds before clearing the selection.
5633
56342004-06-09 David Jee <djee@redhat.com>
5635
5636 * gnu/java/awt/peer/gtk/GtkTextComponentPeer.java
5637 (GtkTextComponentPeer): Set caret position to 0.
5638 * java/awt/TextComponent.java
5639 (setText): Set caret position to 0.
5640 * jni/gtk-peer/gnu_java_awt_peer_gtk_GtkComponentPeer.c
5641 (Java_gnu_java_awt_peer_gtk_GtkComponentPeer_addExposeFilter):
5642 Handle GtkScrolledWindow separately. Fix signal handler blocking.
5643 (Java_gnu_java_awt_peer_gtk_GtkComponentPeer_removeExposeFilter):
5644 Likewise.
5645 * jni/gtk-peer/gnu_java_awt_peer_gtk_GtkTextAreaPeer.c
5646 (Java_gnu_java_awt_peer_gtk_GtkTextAreaPeer_create): Make cursor
5647 visible.
5648
56492004-06-09 Kim Ho <kho@redhat.com>
5650
5651 * Makefile.am: New files
5652 * Makefile.in: Regenerated
5653 * java/awt/Container.java
5654 (getComponentAt): Removed.
5655 * javax/swing/AbstractAction.java
5656 (ENABLED_PROPERTY): New property.
5657 (putValue): Fire PropertyChangeEvents.
5658 (setEnabled): ditto.
5659 (firePropertyChange): Javadoc and implement
5660 convenience method.
5661 * javax/swing/AbstractButton.java
5662 (setAction): Don't create PropertyChangeListener
5663 if new Action is null.
5664 (setIcon): Don't set icon till after comparing
5665 it.
5666 (configurePropertiesFromAction): Check mnemonic
5667 key before calling intValue().
5668 (createActionPropertyChangeListener): Check
5669 properties rather than bulk change.
5670 * javax/swing/DefaultDesktopManager.java:
5671 Implement.
5672 * javax/swing/DesktopManager.java:
5673 Jalopy and javadoc.
5674 * javax/swing/JComponent.java
5675 (fireVetoableChange): Implement.
5676 (paintImmediately): Use root component.
5677 * javax/swing/JDesktopPane.java: Implement
5678 * javax/swing/JInternalFrame.java: Implement
5679 * javax/swing/JLabel.java
5680 (getDisabledIcon): Return grayscaled icon if
5681 no disabled icon specified.
5682 * javax/swing/JMenuBar.java
5683 (getComponentAtIndex): Use getComponent
5684 * javax/swing/JOptionPane.java
5685 (getDesktopPaneForComponent): Use SwingUtilities'
5686 getAncestorOfClass
5687 (getFrameForComponent): ditto.
5688 * javax/swing/JSplitPane.java
5689 (remove): Use getComponent.
5690 * javax/swing/SwingUtilities.java
5691 (convertPoint): Implement.
5692 * javax/swing/plaf/basic/BasicButtonUI.java
5693 (paintButtonNormal): Check opaqueness before
5694 filling background.
5695 * javax/swing/plaf/basic/BasicDesktopIconUI.java:
5696 Implement
5697 * javax/swing/plaf/basic/BasicDesktopPaneUI.java:
5698 Implement.
5699 * javax/swing/plaf/basic/BasicInternalFrameTitlePane.java:
5700 Implement.
5701 * javax/swing/plaf/basic/BasicInternalFrameUI.java:
5702 Implement.
5703 * javax/swing/plaf/basic/BasicLookAndFeel.java:
5704 Change InternalFrame and Desktop colors.
5705
57062004-06-09 David Jee <djee@redhat.com>
5707
5708 * java/awt/Container.java
5709 (remove): Do not set component to invisible.
5710
57112004-06-09 Michael Koch <konqueror@gmx.de>
5712
5713 * javax/swing/tree/DefaultMutableTreeNode.java
5714 (getLeafCount): Renamed enum to e.
5715
57162004-06-09 Michael Koch <konqueror@gmx.de>
5717
5718 * javax/swing/plaf/basic/BasicSplitPaneDivider.java
5719 (positionForMouseEvent): Removed redundant semicolon.
5720 (continueDrag): Use method arguments.
5721
57222004-06-09 Michael Koch <konqueror@gmx.de>
5723
5724 * javax/swing/border/TitledBorder.java,
5725 javax/swing/filechooser/FileSystemView.java,
5726 javax/swing/plaf/basic/BasicButtonListener.java,
5727 javax/swing/plaf/basic/BasicGraphicsUtils.java,
5728 javax/swing/plaf/basic/BasicLabelUI.java,
5729 javax/swing/plaf/basic/BasicRadioButtonMenuItemUI.java,
5730 javax/swing/plaf/basic/BasicScrollBarUI.java,
5731 javax/swing/plaf/basic/BasicScrollPaneUI.java,
5732 javax/swing/plaf/basic/BasicSliderUI.java,
5733 javax/swing/plaf/basic/BasicTabbedPaneUI.java,
5734 javax/swing/plaf/basic/BasicToggleButtonUI.java,
5735 javax/swing/table/JTableHeader.java,
5736 javax/swing/text/AbstractDocument.java,
5737 javax/swing/text/DefaultCaret.java,
5738 javax/swing/text/StyledEditorKit.java,
5739 javax/swing/tree/DefaultTreeCellEditor.java:
5740 Reworked import statements.
5741
57422004-06-08 Graydon Hoare <graydon@redhat.com>
5743
5744 * javax/swing/Box.java: Temporarily comment out code
5745 broken due to visibility bug.
5746
57472004-06-09 Michael Koch <konqueror@gmx.de>
5748
5749 * javax/swing/ImageIcon.java
5750 (ImageIcon): Added missing constructor.
5751
57522004-06-08 Michael Koch <konqueror@gmx.de>
5753
5754 * javax/swing/JToggleButton.java
5755 (JToggleButton): New constructor.
5756 (getAccessibleContext): Moved documentation into javadoc.
5757 (getUIClassID): Likewise.
5758
57592004-06-08 Michael Koch <konqueror@gmx.de>
5760
5761 * javax/swing/AbstractButton.java
5762 (getDisabledIcon): Create disabled icon if none exists yet.
5763
57642004-06-08 Michael Koch <konqueror@gmx.de>
5765
5766 * javax/swing/plaf/basic/BasicLookAndFeel.java
5767 (initClassDefaults): Added FormattedTextFieldUI.
5768 (loadResourceBundle): Renamed enum to e.
5769
57702004-06-08 Michael Koch <konqueror@gmx.de>
5771
5772 * javax/swing/plaf/basic/BasicButtonUI.java
5773 (paintIcon): Simplified.
5774 (paintText): Paint disabled button correctly.
5775
57762004-06-08 Michael Koch <konqueror@gmx.de>
5777
5778 * javax/swing/JComponent.java
5779 (createToolTip): Use official JToolTip API.
5780
57812004-06-08 Michael Koch <konqueror@gmx.de>
5782
5783 * javax/swing/JToolTip.java
5784 (JToolTip): No arguments in API.
5785 (setTipText): New method.
5786
57872004-06-08 Michael Koch <konqueror@gmx.de>
5788
5789 * javax/swing/SwingUtilities.java
5790 (isLeftMouseButton): New method.
5791 (isMiddleMouseButton): New method.
5792 (isRightMouseButton): New method.
5793
57942004-06-08 Michael Koch <konqueror@gmx.de>
5795
5796 * javax/swing/AbstractButton.java,
5797 javax/swing/CellRendererPane.java,
5798 javax/swing/JCheckBoxMenuItem.java,
5799 javax/swing/JColorChooser.java,
5800 javax/swing/JComboBox.java,
5801 javax/swing/JComponent.java,
5802 javax/swing/JDesktopPane.java,
5803 javax/swing/JFileChooser.java,
5804 javax/swing/JMenu.java,
5805 javax/swing/JMenuItem.java,
5806 javax/swing/JOptionPane.java,
5807 javax/swing/JPasswordField.java,
5808 javax/swing/JPopupMenu.java,
5809 javax/swing/JProgressBar.java,
5810 javax/swing/JRadioButtonMenuItem.java,
5811 javax/swing/JScrollBar.java,
5812 javax/swing/JSeparator.java,
5813 javax/swing/JSlider.java,
5814 javax/swing/JSplitPane.java,
5815 javax/swing/JTabbedPane.java,
5816 javax/swing/JTextField.java,
5817 javax/swing/JToolBar.java,
5818 javax/swing/text/JTextComponent.java:
5819 Fixed all constructors of accessibility classes.
5820
58212004-06-08 Michael Koch <konqueror@gmx.de>
5822
5823 * javax/swing/ScrollPaneLayout.java: Renamed all memeber variables all
5824 over.
5825
58262004-06-08 Michael Koch <konqueror@gmx.de>
5827
5828 * javax/swing/Box.java
5829 (AccessibleBoxFiller): Extends AccessibleAWTComponent.
5830 (AccessibleBoxFiller.serialVersionUID): New member variable.
5831 * javax/swing/DefaultButtonModel.java
5832 (stateMask): Made protected.
5833 (listenerList): Likewise.
5834 (changeEvent): Likewise.
5835 (group): Likewise.
5836 (mnemonic): Likewise.
5837 (actionCommand): Likewise.
5838 (getListeners): New method.
5839 (getActionListeners): New method.
5840 (getItemListeners): New method.
5841 (getChangeListeners): New method.
5842 (fireItemStateChanged): Simplified.
5843 (fireActionPerformed): Simplified.
5844 (fireStateChanged): Simplified.
5845 * javax/swing/JFrame.java
5846 (JFrame): Implements WindowContants.
5847 (HIDE_ON_CLOSE): Removed.
5848 (EXIT_ON_CLOSE): Removed.
5849 (DISPOSE_ON_CLOSE): Removed.
5850 (DO_NOTHING_ON_CLOSE): Removed.
5851 (processWindowEvent): Exit with code 0.
5852 (setDefaultCloseOperation): Do security check before setting value.
5853 * javax/swing/JOptionPane.java
5854 (message): Initialize only in constructor.
5855 * javax/swing/JToolTip.java: Removed unused imports.
5856 * javax/swing/JViewport.java
5857 (serialVersionUID): New member variable.
5858 (SIMPLE_SCROLL_MODE): Made final, fixed value.
5859 (BLIT_SCROLL_MODE): Likewise.
5860 (BACKINGSTORE_SCROLL_MODE): Likewise.
5861 (scrollUnderway): Made protected.
5862 (isViewSizeSet): Likewise.
5863 * javax/swing/ListModel.java: Fixed javadoc.
5864 * javax/swing/Popup.java: Likewise.
5865 * javax/swing/RepaintManager.java
5866 (paintDirtyRegions): Don't use internal classes of
5867 java.util.AbstractMap.
5868 * javax/swing/ScrollPaneConstants.java: Reindented.
5869 * javax/swing/ScrollPaneLayout.java
5870 (viewport): Made protected.
5871 (verticalScrollBar): Made protected, renamed to vsb.
5872 (horizontalScrollBar): Made protected, renamed to hsb.
5873 (rowHeader): Made protected, renamed to rowHead.
5874 (columnHeader): Made protected, renamed to colHead.
5875 (lowerLeft): Made protected.
5876 (lowerRight): Made protected.
5877 (upperLeft): Made protected.
5878 (upperRight): Made protected.
5879 (verticalScrollBarPolicy): Made protected, renamed to vsbPolicy.
5880 (horizontalScrollBarPolicy): Made protected, renamed to hsbPolicy.
5881
58822004-06-07 Bernd Schmidt <bernds@btinternet.com>
5883
5884 * java/awt/MediaTracker.java (imageUpdate): Only set status to
5885 LOADING if flags has SOMEBITS set.
5886
58872004-06-07 Michael Koch <konqueror@gmx.de>
5888
5889 * javax/swing/AbstractButton.java: Reorganized imports.
5890 * javax/swing/ActionMap.java: Likewise.
5891 * javax/swing/DefaultButtonModel.java: Likewise.
5892 * javax/swing/DefaultListModel.java: Likewise.
5893 * javax/swing/ImageIcon.java: Likewise.
5894 (serialVersionUID): New member variable.
5895 * javax/swing/JComboBox.java: Reorganized imports.
5896 * javax/swing/JComponent.java: Likewise.
5897 (ui): Made protected.
5898 (listenerList): Made protected.
5899 (TOOL_TIP_TEXT_KEY): New constant.
5900 (scrollRectToVisible): Removed redundant null check.
5901 * javax/swing/JFrame.java: Reorganized imports.
5902 * javax/swing/JInternalFrame.java: Reorganized imports.
5903 * javax/swing/JProgressBar.java: Likewise.
5904 * javax/swing/JRootPane.java: Likewise.
5905 * javax/swing/JScrollBar.java: Likewise.
5906 * javax/swing/JSeparator.java: Likewise.
5907 * javax/swing/JSlider.java: Likewise.
5908 * javax/swing/JTabbedPane.java: Likewise.
5909 * javax/swing/JTextField.java: Likewise.
5910 * javax/swing/JToolBar.java: Likewise.
5911 * javax/swing/JTree.java: Likewise.
5912 * javax/swing/JViewport.java: Likewise.
5913 * javax/swing/JWindow.java: Likewise.
5914 * javax/swing/KeyStroke.java: Likewise.
5915 * javax/swing/LookAndFeel.java: Likewise.
5916 * javax/swing/MenuSelectionManager.java: Likewise.
5917 * javax/swing/SwingUtilities.java: Likewise.
5918 * javax/swing/Timer.java: Likewise.
5919 * javax/swing/DefaultBoundedRangeModel.java: Fixed javadoc.
5920 * javax/swing/JList.java
5921 (HORIZONTAL_WRAP): Made final, fixed value.
5922 (VERTICAL): Likewise.
5923 (VERTICAL_WRAP): Likewise.
5924
59252004-06-07 Michael Koch <konqueror@gmx.de>
5926
5927 * javax/swing/AbstractButton.java
5928 (serialVersionUID): New member variable.
5929 (AccessibleAbstractButton.serialVersionUID): Likewise.
5930 (AbstractButton): Made public.
5931 * javax/swing/Box.java
5932 (AccessibleBox.serialVersionUID): New member variable.
5933 (Filler.serialVersionUID): Likewise.
5934 * javax/swing/DefaultListSelectionModel.java
5935 (serialVersionUID): Likewise.
5936 * javax/swing/JApplet.java
5937 (serialVersionUID): Likewise.
5938 * javax/swing/JCheckBox.java
5939 (serialVersionUID): Likewise.
5940 * javax/swing/JCheckBoxMenuItem.java
5941 (serialVersionUID): Likewise.
5942 (AccessibleJCheckBoxMenuItem.serialVersionUID): Likewise.
5943 * javax/swing/JColorChooser.java
5944 (serialVersionUID): Likewise.
5945 (AccessibleJColorChooser.serialVersionUID): Likewise.
5946 * javax/swing/JComponent.java
5947 (serialVersionUID): Made private.
5948 (AccessibleJComponent.serialVersionUID): New member variable.
5949 * javax/swing/JDesktopPane.java
5950 (serialVersionUID): Likewise.
5951 * javax/swing/JDialog.java
5952 (serialVersionUID): Likewise.
5953 * javax/swing/JFormattedTextField.java
5954 (serialVersionUID): Fixed value.
5955 * javax/swing/JFrame.java
5956 (serialVersionUID): New member variable.
5957 (getDefaultCloseOpertation): Made public.
5958 * javax/swing/JLayeredPane.java
5959 (serialVersionUID): Likewise.
5960 (LAYER_PROPERTY): Made final, fixed value.
5961 (JLayeredPane): Made public.
5962 * javax/swing/JMenu.java
5963 (AccessibleJMenu.serialVersionUID): New member variable.
5964 (WinListener.serialVersionUID): Likewise.
5965 * javax/swing/JMenuBar.java
5966 (serialVersionUID): Likewise.
5967 (getComponentAtIndex): Added @deprecated tag.
5968 * javax/swing/JMenuItem.java
5969 (serialVersionUID): New member variable.
5970 (AccessibleJMenuItem.serialVersionUID): Likewise.
5971 * javax/swing/JOptionPane.java
5972 (serialVersionUID): Likewise.
5973 (AccessibleJOptionPane.serialVersionUID): Likewise.
5974 * javax/swing/JPopupMenu.java
5975 (serialVersionUID): Likewise.
5976 (AccessibleJPopupMenu.serialVersionUID): Likewise.
5977 (getPopupMenuListeners): New method.
5978 (getComponentAtIndex): Added @deprecated tag.
5979 * javax/swing/JProgressBar.java
5980 (serialVersionUID): New member variable.
5981 (AccessibleJProgressBar.serialVersionUID): Likewise.
5982 * javax/swing/JRadioButton.java
5983 (serialVersionUID): Likewise.
5984 * javax/swing/JRadioButtonMenuItem.java
5985 (serialVersionUID): Likewise.
5986 (AccessibleJRadioButtonMenuItem.serialVersionUID): Likewise.
5987 * javax/swing/JScrollBar.java
5988 (serialVersionUID): Likewise.
5989 (AccessibleJScrollBar.serialVersionUID): Likewise.
5990 * javax/swing/JSeparator.java
5991 (serialVersionUID): Likewise.
5992 (AccessibleJSeparator.serialVersionUID): Likewise.
5993 * javax/swing/JSlider.java: Fixed javadocs.
5994 (AccessibleJSlider.serialVersionUID): New member variable.
5995 * javax/swing/JSplitPane.java: Added copyright statement.
5996 (serialVersionUID): New member variable.
5997 (AccessibleJSplitPane.serialVersionUID): Likewise.
5998 * javax/swing/JTabbedPane.java
5999 (serialVersionUID): Likewise.
6000 (AccessibleJTabbedPane.serialVersionUID): Likewise.
6001 (ModelListener.serialVersionUID): Likewise.
6002 (ModelListener.ModelListener): New constructor.
6003 (SCROLL_TAB_LAYOUT): Made public final, fixed value.
6004 (WRAP_TAB_LAYOUT): Likewise.
6005 * javax/swing/JTable.java
6006 (serialVersionUID): New member variable.
6007 * javax/swing/JToggleButton.java
6008 (serialVersionUID): Likewise.
6009 (ToggleButtonModel): Made static.
6010 (ToggleButtonModel.serialVersionUID): New member variable.
6011 * javax/swing/JToolTip.java
6012 (serialVersionUID): Likewise.
6013 * javax/swing/JTree.java
6014 (serialVersionUID): Likewise.
6015 * javax/swing/JWindow.java
6016 (serialVersionUID): Likewise.
6017 * javax/swing/Timer.java
6018 (serialVersionUID): Likewise.
6019
60202004-06-06 Michael Koch <konqueror@gmx.de>
6021
6022 * javax/swing/SwingConstants.java
6023 (NEXT): New constant.
6024 (PREVIOUS): Likewise.
6025 * javax/swing/UIManager.java
6026 (LookAndFeel): Made public.
6027 (LookAndFeel.getClassName): Likewise.
6028 (LookAndFeel.getName): Likewise.
6029
60302004-06-02 Olga Rodimina <rodimina@redhat.com>
6031
6032 * javax/swing/JCheckBoxMenuItem.java:
6033 Removed CVS tags.
6034 * javax/swing/JMenu.java: Likewise.
6035 * javax/swing/JMenuBar.java: Likewise.
6036 * javax/swing/JMenuItem.java: Likewise.
6037 * javax/swing/JPopupMenu.java: Likewise.
6038 * javax/swing/JRadioButtonMenuItem.java: Likewise.
6039 * javax/swing/plaf/basic/BasicCheckBoxMenuItemUI.java:Likewise.
6040 * javax/swing/plaf/basic/BasicMenuBarUI.java: Likewise.
6041 * javax/swing/plaf/basic/BasicMenuItemUI.java: Likewise.
6042 * javax/swing/plaf/basic/BasicMenuUI.java: Likewise.
6043 * javax/swing/plaf/basic/BasicPopupMenuUI.java: Likewise.
6044 * javax/swing/plaf/basic/BasicRadioButtonMenuItemUI.java: Likewise.
6045
60462004-05-31 Olga Rodimina <rodimina@redhat.com>
6047
6048 * javax/swing/plaf/basic/BasicMenuUI.java:
6049 (MouseEntered): Do not call getPath() from MenuSelectionManager.
6050 Call getPath() from super class instead.
6051
60522004-05-31 David Jee <djee@redhat.com>
6053
6054 * java/awt/Container.java
6055 (remove): Set component visibility to false after removing it.
6056
60572004-05-27 Thomas Fitzsimmons <fitzsim@redhat.com>
6058
6059 * java/awt/Component.java (getForeground): Return SystemColor if
6060 parent is null.
6061 (getBackground): Likewise.
6062
6063 * jni/gtk-peer/gnu_java_awt_peer_gtk_GtkListPeer.c
6064 (item_highlighted): New function.
6065 (connectSignals): Set item_highlighted as list's select
6066 function.
6067
6068 * java/applet/Applet.java: Revert changes from 2004-04-29,
6069 2004-03-15 and 2004-03-14.
6070
6071 * jni/gtk-peer/gnu_java_awt_peer_gtk_GdkGraphics.c (drawString):
6072 Divide baseline y coordinate by PANGO_SCALE, not DPI conversion
6073 factor.
6074
6075 * gnu/java/awt/peer/gtk/GtkTextAreaPeer.java (create): Set
6076 "Dialog" as the default font.
6077 * gnu/java/awt/peer/gtk/GtkTextFieldPeer.java (create):
6078 Likewise.
6079 * java/awt/Component.java (getFont): Return "Dialog" font by
6080 default.
6081 * jni/gtk-peer/gnu_java_awt_peer_gtk_GdkClasspathFontPeer.c:
6082 Multiply size argument to pango_font_description_set_size by the
6083 DPI conversion factor rather than by PANGO_SCALE.
6084 * jni/gtk-peer/gnu_java_awt_peer_gtk_GdkFontMetrics.c: Likewise.
6085 * jni/gtk-peer/gnu_java_awt_peer_gtk_GdkGraphics.c: Likewise.
6086 * jni/gtk-peer/gnu_java_awt_peer_gtk_GtkButtonPeer.c: Likewise.
6087 * jni/gtk-peer/gnu_java_awt_peer_gtk_GtkCheckboxPeer.c: Likewise.
6088 * jni/gtk-peer/gnu_java_awt_peer_gtk_GtkComponentPeer.c: Likewise.
6089 * jni/gtk-peer/gnu_java_awt_peer_gtk_GtkLabelPeer.c: Likewise.
6090 * jni/gtk-peer/gnu_java_awt_peer_gtk_GtkListPeer.c: Likewise.
6091 * jni/gtk-peer/gnu_java_awt_peer_gtk_GtkTextAreaPeer.c: Likewise.
6092 * jni/gtk-peer/gnu_java_awt_peer_gtk_GtkTextFieldPeer.c: Likewise.
6093 * jni/gtk-peer/gnu_java_awt_peer_gtk_GdkGraphics.c (drawString):
6094 Divide baseline y coordinate by DPI conversion factor rather
6095 than by PANGO_SCALE.
6096 * jni/gtk-peer/gnu_java_awt_peer_gtk_GdkPixbufDecoder.c
6097 (area_prepared): Fix typo.
6098 * jni/gtk-peer/gnu_java_awt_peer_gtk_GtkLabelPeer.c
6099 (gtkSetFont): Move gtk_bin_get_child inside GDK critical region.
6100 * jni/gtk-peer/gnu_java_awt_peer_gtk_GtkMainThread.c
6101 (dpi_conversion_factor): New global variable.
6102 (init_dpi_conversion_factor): New function to calculate and
6103 track DPI conversion factor.
6104 (dpi_changed_cb): New callback.
6105 * jni/gtk-peer/gtkpeer.h (dpi_conversion_factor): Declare.
6106
61072004-05-27 David Jee <djee@redhat.com>
6108
6109 * gnu/java/awt/peer/gtk/GtkComponentPeer.java
6110 (getGraphics): Return a new GdkGraphics instance.
6111 * gnu/java/awt/peer/gtk/GtkContainerPeer.java
6112 (getGraphics): Call super.getGraphics().
6113
61142004-05-26 Thomas Fitzsimmons <fitzsim@redhat.com>
6115
6116 * jni/gtk-peer/gnu_java_awt_peer_gtk_GtkComponentPeer.c
6117 (setNativeBounds): Clamp width and height values to >= 0.
6118
6119 * jni/gtk-peer/gnu_java_awt_peer_gtk_GtkComponentPeer.c
6120 (find_fg_color_widget): Handle GtkOptionMenu specially.
6121
6122 * jni/gtk-peer/gnu_java_awt_peer_gtk_GtkEvents.c
6123 (pre_event_handler): Only post configure events to visible
6124 top-level windows.
6125
61262004-05-26 David Jee <djee@redhat.com>
6127
6128 * java/awt/BorderLayout.java
6129 (layoutContainer): Fix size calculations.
6130
61312004-05-26 Thomas Fitzsimmons <fitzsim@redhat.com>
6132
6133 * jni/gtk-peer/gnu_java_awt_peer_gtk_GtkWindowPeer.c
6134 (window_wm_protocols_filter): Remove function.
6135 (create): Remove filter that removes WM_TAKE_FOCUS client
6136 messages.
6137
794c3bee
AG
61382004-06-17 Anthony Green <green@redhat.com>
6139
1616280e
AG
6140 * java/util/zip/ZipFile.java (getInputStream): Return null if
6141 entry not found.
6142
794c3bee
AG
6143 * gnu/gcj/runtime/VMClassLoader.java (init): Add extension
6144 directory contents to the class path.
6145
d1238423
AH
61462004-06-15 Andrew Haley <aph@redhat.com>
6147
6148 * java/lang/natSystem.cc (getenv0): Don't assume environment
6149 variable is Latin 1 coded.
6150
f1c3e0a6
AJ
61512004-06-14 Andreas Jaeger <aj@suse.de>
6152
6153 * configure.in: Support --enable-version-specific-runtime-libs.
6154 * configure: Regenerated.
6155
84b1d821
BM
61562004-06-14 Bryce McKinlay <mckinlay@redhat.com>
6157
6158 * java/util/Calendar.java: Change ResourceBundle.getBundle() calls
6159 to pass ClassLoader argument.
6160 * java/util/GregorianCalendar.java: Likewise.
6161 * java/util/Currency.java: Likewise.
6162 * java/text/BreakIterator.java: Likewise.
6163 * java/text/Collator.java: Likewise.
6164 * java/text/DateFormat.java: Likewise.
6165 * java/text/DateFormatSymbols.java: Likewise.
6166 * java/text/DecimalFormatSymbols.java: Likewise.
6167 * java/text/NumberFormat.java: Likewise.
6168 * java/awt/Window.java: Likewise.
6169
df94fa14
AH
61702004-06-14 Andrew Haley <aph@redhat.com>
6171
6172 * java/lang/System.java: (getenv0): New method.
6173 (getenv): Add security check. Do the right thing.
6174 * java/lang/natSystem.cc (getenv0): New method.
6175
ff6ea709
MW
61762004-06-12 Mark Wielaard <mark@klomp.org>
6177
6178 * javax/swing/RepaintManager.java
6179 (paintDirtyRegions): Use entrySet(), not values().
6180
d1ee8381
MW
61812004-06-10 Mark Wielaard <mark@klomp.org>
6182
6183 * jni.cc (_Jv_JNI_GetAnyMethodID): Add name and signature to
6184 NoSuchMethodError.
6185
b092552d
JQ
61862004-06-11 Jerry Quinn <jlquinn@optonline.net>
6187
6188 * java/util/GregorianCalendar.java (computeTime): Skip buggy formulae
6189 when we already know the answer.
6190 * java/util/SimpleTimeZone.java (serialVersionOnStream): Bump to 2.
6191 (setStartRule,setEndRule): Don't take abs of day number.
6192 (getOffset): Clarify docs. Add argument checks.
6193 (isBefore): Take abs of day number in DOW_LE_DOM_MODE.
6194 (equals,hasSameRules,toString,readObject): Use startTimeMode and
6195 endTimeMode.
6196
618df745
TT
61972004-06-10 Tom Tromey <tromey@redhat.com>
6198
6199 * interpret.cc (run): Handle wide fload.
6200
648b6075
JQ
62012004-06-06 Jerry Quinn <jlquinn@optonline.net>
6202
6203 * java/util/zip/ZipEntry.java (setTime): Remove scaling.
6204
9fc3ed51
MK
62052004-06-05 Michael Koch <konqueror@gmx.de>
6206
6207 * javax/swing/SwingConstants.java
6208 (NEXT): New constant.
6209 (PREVIOUS): Likewise.
6210
c6dd0441
MK
62112004-06-05 Michael Koch <konqueror@gmx.de>
6212
6213 * javax/swing/UIManager.java
6214 (LookAndFeel): Made public.
6215 (LookAndFeel.getName): Likewise.
6216 (LookAndFeel.getClassName): Likewise.
6217
53ef271f
MK
62182004-06-03 Michael Koch <konqueror@gmx.de>
6219
6220 * gnu/java/awt/peer/gtk/GtkComponentPeer.java
6221 (requestFocus): Revert last changes.
6222 (gtkRequestFocus): Removed.
6223 * jni/gtk-peer/gnu_java_awt_peer_gtk_GtkComponentPeer.c
6224 (Java_gnu_java_awt_peer_gtk_GtkComponentPeer_gtkRequestFocus):
6225 Renamed to ...
6226 (Java_gnu_java_awt_peer_gtk_GtkComponentPeer_gtkWidgetRequestFocus):
6227 Reverted last patch.
6228 * jni/gtk-peer/gnu_java_awt_peer_gtk_GtkPopupMenuPeer.c
6229 (Java_gnu_java_awt_peer_gtk_GtkPopupMenuPeer_setupAccelGroup):
6230 Reverted comment change.
6231
26f4ba86
OR
62322004-06-02 Olga Rodimina <rodimina@redhat.com>
6233
6234 * javax/swing/JCheckBoxMenuItem.java:
6235 Removed CVS tags.
6236 * javax/swing/JMenu.java: Likewise.
6237 * javax/swing/JMenuBar.java: Likewise.
6238 * javax/swing/JMenuItem.java: Likewise.
6239 * javax/swing/JPopupMenu.java: Likewise.
6240 * javax/swing/JRadioButtonMenuItem.java: Likewise.
6241 * javax/swing/plaf/basic/BasicCheckBoxMenuItemUI.java:Likewise.
6242 * javax/swing/plaf/basic/BasicMenuBarUI.java: Likewise.
6243 * javax/swing/plaf/basic/BasicMenuItemUI.java: Likewise.
6244 * javax/swing/plaf/basic/BasicMenuUI.java: Likewise.
6245 * javax/swing/plaf/basic/BasicPopupMenuUI.java: Likewise.
6246 * javax/swing/plaf/basic/BasicRadioButtonMenuItemUI.java: Likewise.
6247
c05e85e2
MK
62482004-06-01 Tom Tromey <tromey@redhat.com>
6249
6250 * java/io/ObjectStreamField.java: Cleaned up imports.
6251
62522004-06-01 Michael Koch <konqueror@gmx.de>
6253
6254 * java/io/ObjectStreamField.java: Style and javadoc cleanup.
6255
62562004-06-01 Mark Wielaard <mark@klomp.org>
6257
6258 * java/io/Writer.java (Writer(Object)): Fixed API doc.
6259
6ef44cfd
MK
62602004-06-01 Michael Koch <konqueror@gmx.de>
6261
6262 * java/security/Security.java
6263 (insertProviderAt): Use equals() instead of ==.
6264 (removeProvicer): Likewise.
6265 (getProvider): Likewise.
6266 * java/security/Signature.java
6267 (sign): Don't set state to UNINITIALIZED.
6268 (verify): Likewise.
6269
1900c4c6
MW
62702004-06-01 Mark Wielaard <mark@klomp.org>
6271
6272 * gnu/java/awt/peer/gtk/GtkComponentPeer.java (requestFocus):
6273 Implement by calling gtkRequestFocus.
6274 (gtkRequestFocus): New native method.
6275 * native/jni/gtk-peer/gnu_java_awt_peer_gtk_GtkComponentPeer.c
6276 (Java_gnu_java_awt_peer_gtk_GtkComponentPeer_requestFocus__):
6277 Renamed to ...
6278 (Java_gnu_java_awt_peer_gtk_GtkComponentPeer_gtkRequestFocus):
6279 New function name.
6280 (filter_expose_event_handler):
6281 Mark static.
6282 * native/jni/gtk-peer/gnu_java_awt_peer_gtk_GtkPopupMenuPeer.c
6283 (menu_pos): Mark static.
6284
57807c31
MK
62852004-06-01 Michael Koch <konqueror@gmx.de>
6286
6287 * java/text/CollationElementIterator.java,
6288 java/text/CollationKey.java,
6289 java/text/RuleBasedCollator.java: New versions from GNU classpath.
6290 * testsuite/libjava.mauve/xfails: Removed all
6291 java.text.CollationElementIterator tests.
6292
f7dbd56c
MK
62932004-06-01 Michael Koch <konqueror@gmx.de>
6294
6295 * java/util/zip/InflaterInputStream.java: Merged more with Classpath
6296 version.
6297 * java/util/zip/ZipOutputStream.java (): Renamed enum to e to removed
6298 Java 1.5 keyword usage.
6299
44a4b8db
OR
63002004-05-31 Olga Rodimina <rodimina@redhat.com>
6301
6302 * javax/swing/plaf/basic/BasicMenuUI.java:
6303 (MouseEntered): Do not call getPath() from MenuSelectionManager.
6304 Call getPath() from super class instead.
6305
58128b9d
MK
63062004-05-31 Michael Koch <konqueror@gmx.de>
6307
6308 * java/io/SequenceInputStream.java:
6309 Rename enum to e because enum is a keyword in Java 1.5.
6310
771b9ca3
MK
63112004-05-31 Michael Koch <konqueror@gmx.de>
6312
6313 * gnu/java/rmi/rmic/CompilerProcess.java:
6314 Fixed javadoc to by XHTML compliant.
6315
7a70d70c
MW
63162004-05-30 Mark Wielaard <mark@klomp.org>
6317
6318 * java/awt/Toolkit.java (loadSystemColors): Implement.
6319
289f9db7
MK
63202004-05-30 Michael Koch <konqueror@gmx.de>
6321
071917b0
MK
6322 * java/lang/System.java: Reordered imports.
6323
63242004-05-30 Guilhem Lavaux <guilhem@kaffe.org>
6325
289f9db7
MK
6326 * java/text/DecimalFormat.java
6327 (parse): Fixed parsing of decimal strings. Number of maximum
6328 digits to be read should now work.
6329 * java/text/SimpleDateFormat.java
6330 (SimpleDateFormat): Set maximumFractionDigit to 0 for the number
6331 formatter. This fixes DateFormatTest.
6332
1b2545bc
MK
63332004-05-30 Michael Koch <konqueror@gmx.de>
6334
6335 * java/nio/Buffer.java
6336 (limit): Fixed off by one error.
6337 * java/nio/CharBuffer.java
6338 (wrap): Fixed arguments, added javadocs.
6339
74c2dbf7
MK
63402004-05-30 Michael Koch <konqueror@gmx.de>
6341
6342 * gnu/java/beans/BeanInfoEmbryo.java,
6343 java/awt/im/InputContext.java,
6344 javax/swing/tree/DefaultMutableTreeNode.java:
6345 Rename enum to e because enum is a keyword in Java 1.5.
6346
27d14326
MK
63472004-05-30 Michael Koch <konqueror@gmx.de>
6348
6349 * gnu/java/math/MPN.java,
6350 java/awt/geom/Arc2D.java:
6351 Fixed javadocs all over.
6352
933592af
MK
63532004-05-30 Michael Koch <konqueror@gmx.de>
6354
6355 * java/awt/DefaultKeyboardFocusManager.java
6356 (dispatchEvent): Call method to get key event dispatchers.
6357 (dispatchKeyEvent): Call method to get key event post processors.
6358 * javax/swing/JComponent.java
6359 (listenerList): Made protected.
6360 * javax/swing/JOptionPane.java
6361 (message): Don't initialize.
6362 (JOptionPane): Set message text.
6363 * javax/swing/JPopupMenu.java
6364 (show): Fixed typo in argument name.
6365 * javax/swing/RepaintManager.java
6366 (paintDirtyRegions): Use public API of java.util.Map.
6367 * javax/swing/plaf/basic/BasicSplitPaneDivider.java
6368 (positionForMouseEvent): Removed redundant ';'.
6369 (continueDrag): Use method arguments.
6370
5ba95354
RM
63712004-05-29 Ranjit Mathew <rmathew@hotmail.com>
6372
6373 * testsuite/libjava.jacks/jacks.xfail: Update for post tree-ssa merge
6374 results.
6375
ca60dce2
BM
63762004-05-28 Bryce McKinlay <mckinlay@redhat.com>
6377
6378 * gcj/cni.h (JvAllocBytes): New public CNI function. Calls
6379 _Jv_AllocBytes.
6380 * gnu/gcj/RawDataManaged.java: New file.
6381 * java/lang/Thread.java (data): Declare as RawDataManaged.
6382 * java/lang/natThread.cc (init_native): Cast natThread data to
6383 RawDataManaged, not jobject.
6384 * Makefile.am (ordinary_java_source_files): Add RawDataManaged.
6385 * Makefile.in: Rebuilt.
6386
b9f065be
JQ
63872004-05-27 Jerry Quinn <jlquinn@optonline.net>
6388
6389 * java/util/SimpleTimeZone.java: Reverting my last change until I
6390 can fix it properly.
6391
a4171ce1
MK
63922004-05-27 Michael Koch <konqueror@gmx.de>
6393
6394 * javax/swing/JPopupMenu.java
6395 (isVisible): Do not use visible directly.
6396 (setVisible): Likewise.
6397 * javax/swing/JWindow.java
6398 (JWindow): call accessible constructor.
6399 * javax/swing/RepaintManager.java
6400 (paintDirtyRegions): Use public methods to obtain iterator.
6401
c5d2de6b
GH
64022004-05-25 David Jee <djee@redhat.com>
6403
6404 * java/awt/Container.java
6405 (remove): Set component's parent to null only after we removed the
6406 component from its parent's layout manager.
6407
64082004-05-25 David Jee <djee@redhat.com>
6409
6410 * gnu/java/awt/peer/gtk/GtkComponentPeer.java
6411 (GtkComponentPeer): Set bounds regardless of whether awtComponent
6412 is valid.
6413 * gnu/java/awt/peer/gtk/GtkListPeer.java
6414 (getSize): Change native method declaration.
6415 (minimumSize): Pass visible row count into getSize().
6416 (preferredSize): Likewise.
6417 * jni/gtk-peer/gnu_java_awt_peer_gtk_GtkListPeer.c
6418 (Java_gnu_java_awt_peer_gtk_GtkListPeer_getSize): Use scroll window's
6419 natural size. Use visible row count to determine the final height
6420 value to return.
6421
64222004-05-21 Graydon Hoare <graydon@redhat.com>
6423
6424 * gnu/java/awt/peer/gtk/GdkGraphics2D.java
6425 (setClip): Minor correction to order of operations.
6426
6427 * javax/swing/JScrollPane.java: Extend sketchy implementation.
6428 * javax/swing/ScrollPaneLayout.java: Likewise.
6429 * javax/swing/JViewPort.java: Likewise.
6430 * javax/swing/ViewportLayout.java: Likewise.
6431
6432 * javax/swing/JComponent.java: Rewrite.
6433 * javax/swing/RepaintManager.java: Likewise.
6434
6435 * javax/swing/JLayeredPane.java: Change validate() to revalidate().
6436 * javax/swing/JList.java
6437 (setSelectedIndices):
6438 (getSelectedIndices):
6439 (getSelectedValues): New functions.
6440 (getPreferredScrollableViewportSize): Return preferred size.
6441 (getScrollableUnitIncrement):
6442 (getScrollableBlockIncrement): Initial implementations.
6443 * javax/swing/JRootPane.java: Clean up slightly.
6444 (getUI):
6445 (setUI):
6446 (updateUI):
6447 (getUIClassID):
6448 (isValidateRoot): Add overrides from JComponent.
6449 * javax/swing/JScrollBar.java: Set default orientation to VERTICAL.
6450 * javax/swing/UIManager.java (getDimension): Return the dimension.
6451
6452 * javax/swing/plaf/basic/BasicButtonUI.java: Set component opaque.
6453 * javax/swing/plaf/basic/BasicLabelUI.java: Likewise.
6454 * javax/swing/plaf/basic/BasicMenuItemUI.java: Likewise.
6455 * javax/swing/plaf/basic/BasicProgressBarUI.java: Likewise.
6456 * javax/swing/plaf/basic/BasicSeparatorUI.java: Likewise.
6457 * javax/swing/plaf/basic/BasicSliderUI.java: Likewise.
6458 * javax/swing/plaf/basic/BasicTabbedPaneUI.java: Likewise.
6459 * javax/swing/plaf/basic/BasicRootPaneUI.java:
6460 Likewise, and set background.
6461 * javax/swing/plaf/basic/BasicListUI.java:
6462 Likewise, and improve a bit.
6463 * javax/swing/plaf/basic/BasicScrollBarUI.java:
6464 Likewise, and adjust calculations.
6465 * javax/swing/plaf/basic/BasicViewportUI.java:
6466 Likewise, and improve a bit.
6467 * javax/swing/plaf/basic/BasicLookAndFeel.java
6468 (Button.margin): Shrink.
6469
6470 * jni/gtk-peer/gnu_java_awt_peer_gtk_GdkGlyphVector.c:
6471 Hack to set horizontal always, workaround pango.
6472
6473 * jni/gtk-peer/gtkcairopeer.h: Change to match pattern API.
6474 * jni/gtk-peer/gnu_java_awt_peer_gtk_GdkGraphics2D.c:
6475 Synchronize more often, check cairo status after ops,
6476 handle changes to cairo pattern API, check for disposal.
6477
64782004-05-21 Olga Rodimina <rodimina@redhat.com>
6479
6480 * javax/swing/plaf/basic/BasicMenuItemUI.java:
6481 (BasicMenuItemUI): Create propertyChangeListener.
6482 (getPath):Implemented.
6483 (installListeners): Add propertyChangeListener to menuItem.
6484 (uninstallListeners): Remove propertyChangeListener from menuItem.
6485 (update): Implemented.
6486 * javax/swing/plaf/basic/BasicMenuUI.MouseInputHandler:
6487 (mouseEntered): Take insets of popup menu into account when
6488 calculating position of popup menu.
6489
64902004-05-18 Olga Rodimina <rodimina@redhat.com>
6491
6492 * Makefile.am: Added new file.
6493 * Makefile.in: Regenerate.
6494 * javax/swing/JMenuBar.java:
6495 Started implementation.
6496 * javax/swing/JPopupMenu.java:
6497 (setVisible): Fixed location of lightweight/mediumweight
6498 popup menu.
6499 (show): Fixed location of PopupMenu.
6500 * javax/swing/plaf/basic/BasicMenuBarUI.java:
6501 New file. UI Delegate for JMenuBar.
6502 * javax/swing/plaf/basic/BasicMenuUI.MouseInputHandler:
6503 (mouseEntered): Corrected position of the submenu.
6504
65052004-05-18 Thomas Fitzsimmons <fitzsim@redhat.com>
6506
6507 * jni/gtk-peer/gnu_java_awt_peer_gtk_GtkMenuPeer.c: Remove calls
6508 to _gtk_accel_group_attach.
6509 * jni/gtk-peer/gnu_java_awt_peer_gtk_GtkPopupMenuPeer.c:
6510 Likewise.
6511
6512 * gnu/java/awt/peer/gtk/GtkButtonPeer.java: Give gtkSetFont
6513 package access. Don't override setFont.
6514 * gnu/java/awt/peer/gtk/GtkCheckboxPeer.java: Likewise.
6515 * gnu/java/awt/peer/gtk/GtkComponentPeer.java: Give
6516 gtkWidgetRequestFocus package access.
6517 * gnu/java/awt/peer/gtk/GtkLabelPeer.java: Don't override
6518 setFont.
6519 * gnu/java/awt/peer/gtk/GtkListPeer.java: Override gtkSetFont.
6520 Give gtkWidgetRequestFocus package access.
6521 * gnu/java/awt/peer/gtk/GtkTextAreaPeer.java: Give
6522 gtkWidgetRequestFocus package access. Don't override setFont.
6523 * gnu/java/awt/peer/gtk/GtkTextFieldPeer.java: Don't override
6524 setFont.
6525 * jni/gtk-peer/gnu_java_awt_peer_gtk_GtkButtonPeer.c
6526 (gtkSetLabel): Move call to gtk_bin_get_child into GDK critical
6527 region.
6528 (gtkSetFont): Likewise.
6529 * jni/gtk-peer/gnu_java_awt_peer_gtk_GtkListPeer.c (gtkSetFont):
6530 Implement.
6531 * jni/gtk-peer/gnu_java_awt_peer_gtk_GtkTextAreaPeer.c
6532 (gtkSetFont): Whitespace fix.
6533
6534 * jni/gtk-peer/gnu_java_awt_peer_gtk_GtkComponentPeer.c
6535 (gtkWidgetSetUsize): Remove method.
6536
65372004-05-18 David Jee <djee@redhat.com>
6538
6539 * java/awt/image/MemoryImageSource.java
6540 (newPixels(int,int,int,int,boolean)): Set only the specified
6541 rectangle of pixels.
6542 (newPixels(byte[],ColorModel,int,int)): Implement.
6543 (newPixels(int[],ColorModel,int,int)): Implement.
6544
65452004-05-18 Olga Rodimina <rodimina@redhat.com>
6546
6547 * Makefile.am: Added new file.
6548 * Makefile.in: Regenerate.
6549 * javax/swing/JMenu.java: Started
6550 implementation.
6551 * javax/swing/JPopupMenu.java:
6552 (insert): If specified index is -1, then
6553 add component at the end.
6554 (isPopupTrigger): Reimplemented.
6555 (JPopupMenu.LightWeightPopup): setBounds
6556 of the lightWeightPopup before adding it
6557 to the layeredPane.
6558 (javax/swing/plaf/basic/BasicIconFactory.java):
6559 (getMenuArrowIcon): Implemented.
6560 * javax/swing/plaf/basic/BasicMenuItemUI.java:
6561 (getPreferredSize): Add size of the arrow icon
6562 if this menu item is instance of JMenu.
6563 (paintMenuItem): Paint arrow icon if this
6564 menu item is a submenu.
6565 * javax/swing/plaf/basic/BasicMenuUI.java:
6566 New File. UI Delegate for JMenu.
6567
65682004-05-17 Thomas Fitzsimmons <fitzsim@redhat.com>
6569
6570 * gnu/java/awt/peer/gtk/GtkComponentPeer.java (postKeyEvent):
6571 Post KEY_TYPED events.
6572 * jni/gtk-peer/gnu_java_awt_peer_gtk_GtkEvents.c
6573 (generates_key_typed_event): Remove function.
6574
65752004-05-17 Olga Rodimina <rodimina@redhat.com>
6576
6577 * javax/swing/JRootPane.java
6578 (JRootPane.RootLayout): Reimplemented to
6579 set bounds of contentPane and menuBar.
6580 (setJMenuBar): Add menu bar to the layered pane.
6581 (createLayeredPane): Set layout of layeredPane
6582 to null.
6583 * javax/swing/JLayeredPane.java:
6584 (addImpl): Calculate index of the component in the
6585 layeredPane according to the specified position within
6586 the layer.
6587
65882004-05-17 David Jee <djee@redhat.com>
6589
6590 * gnu/java/awt/peer/gtk/GtkImagePainter.java
6591 (setPixels): Change color model to the default model after
6592 converting pixels.
6593 * java/awt/image/MemoryImageSource.java
6594 (newPixels): Set only the specified rectangle of pixels.
6595
65962004-05-13 Thomas Fitzsimmons <fitzsim@redhat.com>
6597
6598 * libgcj.spec.in (lib): Add -l-java-awt -l-java-applet
6599 -l-java-beans -l-javax-accessibility -l-javax-swing.
6600
6601 * java/awt/AWTEvent.java (toString): Print source's name rather
6602 than the source itself.
6603
66042004-05-12 Thomas Fitzsimmons <fitzsim@redhat.com>
6605
6606 * gnu/java/awt/peer/gtk/GtkToolkit.java (loadSystemColors): Make
6607 native.
6608 * jni/gtk-peer/gnu_java_awt_peer_gtk_GtkToolkit.c
6609 (gdk_color_to_java_color): New function.
6610 * jni/gtk-peer/gtkpeer.h: Add SystemColor defines.
6611
66122004-05-12 David Jee <djee@redhat.com>
6613
6614 * java/awt/image/RGBImageFilter.java:
6615 Initialize origmodel as null.
6616 (makeColor): Fix pixel component order.
6617 (filterRGBPixels): Fix pixel iteration.
6618 (setPixels): Add extra checks for index color model. Convert pixels
6619 to default color model if necessary.
6620 (convertColorModelToDefault): New override method for byte pixels.
6621 (convertColorModelToDefault): For int pixels, fix pixel iteration.
6622 (makeColorbyDefaultCM): New override method for byte pixels.
6623 (makeColorbyDefaultCM): For int pixel, add color model as argument.
6624 (makeColor): Fix pixel component order.
6625
66262004-05-11 Kim Ho <kho@redhat.com>
6627
6628 * javax/swing/Box.java:
6629 Comment out more parts of Box.Filler.
6630
66312004-05-11 Kim Ho <kho@redhat.com>
6632
6633 * javax/swing/Box.java:
6634 Remove reference to AccessibleAWTComponent so
6635 it compiles again.
6636
66372004-05-10 Thomas Fitzsimmons <fitzsim@redhat.com>
6638
6639 * gnu/java/awt/peer/gtk/GtkListPeer.java,
6640 jni/gtk-peer/gnu_java_awt_peer_gtk_GtkListPeer.c: Update
6641 implementation of list peer to use GtkTreeView instead of
6642 deprecated GtkCList.
6643
66442004-05-07 Thomas Fitzsimmons <fitzsim@redhat.com>
6645
6646 * gnu/java/awt/peer/gtk/GtkComponentPeer.java
6647 (gtkWidgetDispatchKeyEvent): Remove keyChar parameter.
6648 (handleEvent): Remove keyChar argument to
6649 gtkWidgetDispatchKeyEvent calls.
6650 * jni/gtk-peer/gnu_java_awt_peer_gtk_GtkComponentPeer.c: Fix
6651 compiler warnings.
6652 * jni/gtk-peer/gnu_java_awt_peer_gtk_GtkEvents.c: Likewise.
6653 * jni/gtk-peer/gnu_java_awt_peer_gtk_GtkMenuPeer.c: Likewise.
6654 * jni/gtk-peer/gnu_java_awt_peer_gtk_GtkTextComponentPeer.c:
6655 Likewise.
6656
66572004-05-06 Thomas Fitzsimmons <fitzsim@redhat.com>
6658
6659 * gnu/java/awt/peer/gtk/GtkComponentPeer.java
6660 (gtkWidgetRequestFocus): Mark protected.
6661 (GtkComponentPeer): Only set the peer's bounds if its component
6662 is valid.
6663 * java/awt/Component.java (static): Set the default keyboard
6664 focus manager.
6665 (requestFocus(), requestFocus(boolean), requestFocusInWindow(),
6666 requestFocusInWindow(temporary)): Don't request focus if the
6667 component is not showing. Get tree lock before traversing
6668 component hierarchy.
6669 * java/awt/DefaultKeyboardFocusManager.java (dispatchEvent):
6670 Only set the global focus owner if it is not a Window.
6671 (processKeyEvent): Consume keystrokes associated with the focus
6672 traversal keystroke.
6673 (focusPreviousComponent, focusNextComponent, upFocusCycle,
6674 downFocusCycle): Call requestFocusInWindow instead of
6675 requestFocus.
6676 * java/awt/EventDispatchThread.java (run): Move setting of
6677 default keyboard focus manager to Component.java.
6678 * jni/gtk-peer/gnu_java_awt_peer_gtk_GtkComponentPeer.c
6679 (awt_keycode_to_keysym): New function.
6680 (gtkWidgetDispatchKeyEvent): Finish implementation.
6681 * jni/gtk-peer/gnu_java_awt_peer_gtk_GtkEvents.c
6682 (pre_event_handler): Add FIXME comment.
6683
6684 * gnu/java/awt/peer/gtk/GtkTextAreaPeer.java,
6685 jni/gtk-peer/gnu_java_awt_peer_gtk_GtkTextAreaPeer.c
6686 (gtkWidgetRequestFocus): New method.
6687 * java/awt/TextArea.java (TextArea): Set focus traversal keys to
6688 disable Tab and Shift-Tab keystrokes.
6689 (addNotify, appendText, insertText, replaceText): Simplify peer
6690 retrieval code.
6691 * jni/gtk-peer/gnu_java_awt_peer_gtk_GtkTextComponentPeer.c
6692 (connectSignals): Remove connections to "commit" signals.
6693 Remove C++-style comments.
6694
6695 * gnu/java/awt/peer/gtk/GtkButtonPeer.java,
6696 jni/gtk-peer/gnu_java_awt_peer_gtk_GtkButtonPeer.c
6697 (handleEvent): Activate GTK button when the space bar key is
6698 pressed.
6699 (gtkActivate): New method.
6700
67012004-05-06 David Jee <djee@redhat.com>
6702
6703 * java/awt/image/CropImageFilter.java
6704 (setPixels): Implement for byte array pixels.
6705 * java/awt/image/ReplicateScaleFilter.java
6706 (setPixels): Implement for byte array pixels.
6707 (replicatePixels): Overload for byte array pixels.
6708
67092004-05-06 Kim Ho <kho@redhat.com>
6710
6711 * javax/swing/Box.java:
6712 (getAccessibleContext): Return an instance of the
6713 correct class.
6714
67152004-05-05 David Jee <djee@redhat.com>
6716
6717 * gnu/java/awt/peer/gtk/GdkGraphics.java
6718 (drawImage): When component is null, use SystemColor.window as
6719 the default bgcolor.
6720 * gnu/java/awt/peer/gtk/GtkImage.java
6721 (setPixels): We can avoid iterating through the pixel rows only
6722 when height is 1.
6723 * java/awt/Image.java
6724 (getScaledInstance): Partially implement.
6725 * java/awt/image/CropImageFilter.java
6726 (setProperties): Fix "filter" property.
6727 (setPixels): Implement.
6728 * java/awt/image/ReplicateScaleFilter.java
6729 (setDimensions): Use scaled dimensions.
6730 (setPixels): Implement.
6731 (replicatePixels): New method.
6732
67332004-05-05 David Jee <djee@redhat.com>
6734
6735 * gnu/java/awt/peer/gtk/GtkImagePainter.java
6736 (convertPixels): If either pixels or model is null, return null.
6737 * jni/gtk-peer/gnu_java_awt_peer_gtk_GtkImagePainter.c
6738 (Java_gnu_java_awt_peer_gtk_GtkImagePainter_drawPixels): If jpixels
6739 is null, do nothing and return.
6740
67412004-05-03 Kim Ho <kho@redhat.com>
6742
6743 * gnu/java/awt/peer/gtk/GtkDialogPeer.java:
6744 (getGraphics): Like GtkFramePeer, the Graphics
6745 object needs to be translate to account for
6746 window decorations.
6747 (postMouseEvent): New method. Account for
6748 translation.
6749 (postExposeEvent): ditto.
6750 * javax/swing/Box.java: Stubbed.
6751 * javax/swing/JDialog.java: Ran through jalopy
6752 to fix indentation.
6753 (JDialog): Call SwingUtilities' getOwnerFrame
6754 for null owners.
6755 (setLayout): Check isRootPaneCheckingEnabled
6756 * javax/swing/JOptionPane.java: Re-implemented.
6757 * javax/swing/SwingUtilities.java:
6758 (getOwnerFrame): Static method to grab a default
6759 owner frame for Dialogs that don't specify owners.
6760 * javax/swing/event/SwingPropertyChangeSupport.java:
6761 (firePropertyChange): Fix early exit condition.
6762 * javax/swing/plaf/basic/BasicLabelUI.java:
6763 (paint): Avoid painting text if it is null
6764 or empty.
6765 * javax/swing/plaf/basic/BasicOptionPaneUI.java:
6766 Implement.
6767
67682004-05-03 Olga Rodimina <rodimina@redhat.com>
6769
6770 * Makefile.am: Added new file.
6771 * Makefile.in: Regenerate.
6772 * javax/swing/JPopupMenu.java:
6773 Started implementation.
6774 * javax/swing/JWindow.java
6775 (JWindow): call super() if parent for window
6776 is not specified.
6777 * javax/swing/plaf/basic/BasicPopupMenuUI.java:
6778 New File. UI Delegate for JPopupMenu.
6779
67802004-04-30 Olga Rodimina <rodimina@redhat.com>
6781
6782 * javax/swing/JApplet.java: Indicated that JApplet
6783 implements RootPaneContainer and made method of this
6784 interface public.
6785 * javax/swing/JFrame.java: Ditto.
6786 * javax/swing/JWindow.java: Ditto.
6787
67882004-04-29 Thomas Fitzsimmons <fitzsim@redhat.com>
6789
6790 * jni/gtk-peer/gnu_java_awt_peer_gtk_GtkWindowPeer.c
6791 (nativeSetBounds): Call gdk_window_move in addition to
6792 gtk_window_move.
6793
6794 * java/applet/Applet.java (preferredSize): Call parent's
6795 preferredSize if the applet stub is null.
6796 (minimumSize): Likewise for parent's minimumSize.
6797
67982004-04-27 Olga Rodimina <rodimina@redhat.com>
6799
6800 * javax/swing/JMenuItem.java
6801 (createActionPropertyChangeListener): Implemented.
6802 (processMouseEvent): Ditto.
6803 (fireMenuDragMouseEntered): Ditto.
6804 (fireMenuDragMouseExited): Ditto.
6805 (fireMenuDragMouseDragged): Ditto.
6806 (fireMenuDragMouseReleased): Ditto.
6807 (menuSelectionChanged): Ditto.
6808 (getSubElements): Ditto.
6809 (getComponent): Ditto.
6810 (addMenuDragMouseListener): Ditto.
6811 (removeMenuDragMouseListener):Ditto.
6812 (addMenuKeyListener): Ditto.
6813 (removeMenuKeyListener): Ditto.
6814 * javax/swing/plaf/basic/BasicMenuItemUI.java
6815 (doClick): Imlemented.
6816 * javax/swing/plaf/basic/BasicMenuItemUI.MouseInputHandler:
6817 Don't handle mouse events here. Pass them to
6818 MenuSelectionManager.
6819
68202004-04-26 Olga Rodimina <rodimina@redhat.com>
6821 Used correct version of jalopy configuration
6822 file to fix style in the files below.
6823
68242004-04-26 Olga Rodimina <rodimina@redhat.com>
6825
6826 * javax/swing/JCheckBoxMenuItem.java:
6827 Fixed style and removed unnecessary comments.
6828 * javax/swing/JMenuItem.java: Ditto.
6829 * javax/swing/JRadioButtonMenuItem.java: Ditto.
6830 * javax/swing/plaf/basic/BasicCheckBoxMenuItemUI.java: Ditto.
6831 * javax/swing/plaf/basic/BasicMenuItemUI.java: Ditto.
6832 * javax/swing/plaf/basic/BasicRadioButtonMenuItemUI.java: Ditto.
6833
68342004-04-23 Thomas Fitzsimmons <fitzsim@redhat.com>
6835
6836 * gnu_java_awt_peer_gtk_GtkWindowPeer.c: Change FIXME comment to
6837 C-style.
6838
6839 * gnu_java_awt_peer_gtk_GtkWindowPeer.c: Add FIXME comment.
6840
6841 * java/awt/ContainerOrderFocusTraversalPolicy.java
6842 (getComponentAfter): Start from current component and work up
6843 the component hierarchy until an acceptable component is found.
6844 Synchronize on tree lock.
6845 (getComponentBefore): Likewise.
6846
68472004-04-22 Thomas Fitzsimmons <fitzsim@redhat.com>
6848
6849 * gnu/java/awt/peer/gtk/GtkComponentPeer.java: Remove
6850 focus-related debugging messages.
6851 * java/awt/DefaultKeyboardFocusManager.java: Likewise.
6852 * java/awt/EventDispatchThread.java: Likewise.
6853 * java/awt/KeyboardFocusManager.java: Likewise.
6854 * java/awt/Window.java: Likewise.
6855 * jni/gtk-peer/gnu_java_awt_peer_gtk_GtkComponentPeer.c: Likewise.
6856 * jni/gtk-peer/gnu_java_awt_peer_gtk_GtkEvents.c: Likewise.
6857
6858 * jni/gtk-peer/gnu_java_awt_peer_gtk_GtkComponentPeer.c: Change
6859 new C++-style comments to C-style comments.
6860 * jni/gtk-peer/gnu_java_awt_peer_gtk_GtkEvents.c: Likewise.
6861
6862 * gnu/java/awt/peer/gtk/GtkComponentPeer.java,
6863 jni/gtk-peer/gnu_java_awt_peer_gtk_GtkComponentPeer.c
6864 (handleEvent): Dispatch key press and key release events to
6865 backing widget.
6866 (requestFocus): Post a FOCUS_GAINED event to the event queue.
6867 (gtkWidgetRequestFocus): New method.
6868 (gtkWidgetDispatchKeyEvent): Likewise.
6869 * java/awt/Component.java (requestFocus, requestFocus(boolean),
6870 requestFocusInWindow, requestFocusInWindow(boolean),
6871 getFocusCycleRootAncestor, nextFocus, transferFocus,
6872 transferFocusBackward, transferFocusUpCycle, hasFocus,
6873 isFocusOwner): Implement and document focus-handling methods.
6874 (setFocusTraversalKeys): Inherit focus traversal keys when
6875 keystrokes argument is null. Fix focus-handling documentation
6876 throughout class.
6877 * java/awt/Container.java (setFocusTraversalKeys,
6878 getFocusTraversalKeys, areFocusTraversalKeysSet,
6879 isFocusCycleRoot, setFocusTraversalPolicy,
6880 getFocusTraversalPolicy, isFocusTraversalPolicySet,
6881 setFocusCycleRoot, isFocusCycleRoot, transferFocusDownCycle):
6882 Implement and document focus-handling methods.
6883 (transferFocusBackward): Remove method.
6884 (readObject, writeObject): Implement and document serialization
6885 methods.
6886 * java/awt/ContainerOrderFocusTraversalPolicy.java: Implement
6887 and document.
6888 * java/awt/DefaultFocusTraversalPolicy.java: Implement and
6889 document.
6890 * java/awt/DefaultKeyboardFocusManager.java: Implement and
6891 partially document.
6892 * java/awt/EventDispatchThread.java (run): Set default keyboard
6893 focus manager. Attempt to dispatch each event to the keyboard
6894 focus manager before normal dispatch.
6895 * java/awt/KeyboardFocusManager.java: Implement and partially
6896 document.
6897 * java/awt/Window.java (Window): Set focusCycleRoot to true.
6898 (show): Focus initial component when window is shown for the
6899 first time.
6900 * jni/gtk-peer/gnu_java_awt_peer_gtk_GtkEvents.c
6901 (pre_event_handler): Replace complex key press and key release
6902 logic with simple callbacks into GtkComponentPeer.
6903 * jni/gtk-peer/gtkpeer.h: Fix FOCUS_GAINED/FOCUS_LOST reversal.
6904
69052004-04-21 Olga Rodimina <rodimina@redhat.com>
6906
6907 * javax/swing/MenuSelectionManager.java
6908 (componentForPoint): Added new method.
6909 (defaultManager): New Method. Implemented.
6910 (getSelectedPath): Ditto.
6911 (isComponentPartOfCurrentMenu): Ditto.
6912 (processKeyEvent): Added new method.
6913 (processMouseEvent): New Method. Implemented.
6914 (setSelectedPath): Ditto.
6915 (getPath): Ditto.
6916
69172004-04-19 Kim Ho <kho@redhat.com>
6918
6919 * java/awt/Container.java:
6920 (remove): Set the component's parent to null.
6921 (getComponentAt): Implement.
6922 * javax/swing/JComponent.java:
6923 (JComponent): Initialize defaultLocale
6924 (getDefaultLocale): Implement.
6925 (setDefaultLocale): ditto.
6926 * javax/swing/JSlider.java:
6927 (JSlider): Fix calculation of value.
6928 * javax/swing/JSplitPane.java: Implement.
6929 * javax/swing/plaf/basic/BasicLookAndFeel.java:
6930 Change SplitPane's default divider size.
6931 * javax/swing/plaf/basic/BasicScrollBarUI.java:
6932 (paint): Remove unused code.
6933 * javax/swing/plaf/basic/BasicSplitPaneDivider.java:
6934 Added comments and ran through jalopy.
6935 (setBasicSplitPaneUI): Get reference to hidden divider
6936 and set up one touch buttons if necessary.
6937 (setBorder): Fire propertyChangeEvent only if
6938 borders are different.
6939 (getPreferredSize): Defer to layout manager.
6940 (propertyChange): Implement.
6941 (oneTouchExpandableChanged): ditto.
6942 (createLeftOneTouchButton): Use BasicArrowButton.
6943 (createRightOneTouchButton): ditto.
6944 (moveDividerTo): New method. Moves the divider
6945 to a set location based on the last divider location.
6946 (BasicSplitPaneDivider::MouseHandler): Implement.
6947 (BasicSplitPaneDivider::OneTouchButton): Removed.
6948 (BasicSplitPaneDivider::DragController): Implement.
6949 (BasicSplitPaneDivider::VerticalDragController):
6950 ditto.
6951 (BasicSplitPaneDivider::DividerLayout): ditto.
6952 * javax/swing/plaf/basic/BasicSplitPaneUI.java: Reimplement.
6953 * javax/swing/plaf/basic/BasicTabbedPaneUI.java:
6954 (calculateLayoutInfo): Don't show component if it's
6955 null.
6956 (paintTab): Fix title paint logic.
6957
2140214f
JQ
69582004-05-26 Jerry Quinn <jlquinn@optonline.net>
6959
6960 PR libgcj/8321
6961 * java/util/SimpleTimeZone.java (serialVersionOnStream): Bump to 2.
6962 (setStartRule,setEndRule): Don't take abs of day number.
6963 (getOffset): Clarify docs. Add argument checks.
6964 (isBefore): Take abs of day number in DOW_LE_DOM_MODE.
6965 (equals,hasSameRules,toString,readObject): Use startTimeMode and
6966 endTimeMode.
6967 * testsuite/libjava.mauve/xfails
6968 (gnu.testlet.java.util.SimpleTimeZone.check12): XFAIL test 22.
6969
17abdabc
BM
69702004-05-21 Bryce McKinlay <mckinlay@redhat.com>
6971
6972 Layout interfaces during preparation, not initialization.
6973 * java/lang/natClass.cc (initializeClass): Move
6974 _Jv_LayoutInterfaceMethods call...
6975 * java/lang/natClassLoader.cc (_Jv_PrepareCompiledClass): to here.
6976
0fa13661
AG
69772004-05-19 Anthony Green <green@localhost.localdomain>
6978
6979 * Makefile.am (awt_java_source_files): Remove javax.rmi and
6980 gnu.javax.rmi code.
6981 * Makefile.in: Rebuilt.
6982 * javax/rmi/ClassDesc.java, javax/rmi/StubDelegate.java,
6983 javax/rmi/UtilDelegate.java, javax/rmi/Stub.java,
6984 javax/rmi/Util.java, javax/rmi/ObjectImpl.java,
6985 javax/rmi/SystemException.java, javax/rmi/ValueHandler.java,
6986 javax/rmi/PortableRemoteObjectDelegate.java, javax/rmi/Tie.java,
6987 gnu/javax/rmi/CORBA/DelegateFactory.java,
6988 gnu/javax/rmi/CORBA/GetDelegateInstanceException.java,
6989 gnu/javax/rmi/CORBA/PortableRemoteObjectDelegateImpl.java,
6990 gnu/javax/rmi/CORBA/StubDelegateImpl.java,
6991 gnu/javax/rmi/CORBA/UtilDelegateImpl.java,
6992 gnu/javax/rmi/CORBA/ValueHandlerImpl.java,
6993 gnu/javax/rmi/PortableServer.java: Remove files.
6994
0f22079e
AG
69952004-05-19 Anthony Green <green@redhat.com>
6996
6997 * Makefile.am: Define JAVA_EXT_DIRS.
6998 * Makefile.in: Rebuilt.
6999 * java/lang/natRuntime.cc (insertSystemProperties): Set
7000 java.ext.dirs property.
7001
9152dcf4
MW
70022004-05-16 Mark Wielaard <mark@klomp.org>
7003
7004 * java/io/Writer.java (Writer(Object)): Check for null lock object.
7005
fb0e7ec0
MW
70062004-05-15 Mark Wielaard <mark@klomp.org>
7007
7008 * doc/cni.sgml: Removed, merged into gcj.texi.
7009
85ff6f62
MW
70102004-05-15 Mark Wielaard <mark@klomp.org>
7011
7012 * Makefile.am (ordinary_java_source_files): Add new javax.print
7013 classes.
7014 * Makefile.in: Regenerated.
7015
70162004-05-15 Michael Koch <konqueror@gmx.de>
7017
7018 * javax/print/attribute/standard/DateTimeAtCompleted.java,
7019 javax/print/attribute/standard/DateTimeAtCreation.java,
7020 javax/print/attribute/standard/DateTimeAtProcessing.java,
7021 javax/print/attribute/standard/DocumentName.java,
7022 javax/print/attribute/standard/JobHoldUntil.java,
7023 javax/print/attribute/standard/JobImpressionsCompleted.java,
7024 javax/print/attribute/standard/JobMessageFromOperator.java,
7025 javax/print/attribute/standard/JobName.java,
7026 javax/print/attribute/standard/JobOriginatingUserName.java,
7027 javax/print/attribute/standard/JobPriority.java,
7028 javax/print/attribute/standard/JobPrioritySupported.java,
7029 javax/print/attribute/standard/NumberOfInterveningJobs.java,
7030 javax/print/attribute/standard/OutputDeviceAssigned.java,
7031 javax/print/attribute/standard/PrinterInfo.java,
7032 javax/print/attribute/standard/PrinterLocation.java,
7033 javax/print/attribute/standard/PrinterMakeAndModel.java,
7034 javax/print/attribute/standard/PrinterMessageFromOperator.java,
7035 javax/print/attribute/standard/PrinterName.java,
7036 javax/print/attribute/standard/QueuedJobCount.java,
7037 javax/print/attribute/standard/RequestingUserName.java:
7038 Fixed javadocs all over.
7039
70402004-05-15 Michael Koch <konqueror@gmx.de>
7041
7042 * javax/print/DocFlavor.java,
7043 javax/print/attribute/standard/ColorSupported.java,
7044 javax/print/attribute/standard/Compression.java,
7045 javax/print/attribute/standard/CopiesSupported.java,
7046 javax/print/attribute/standard/Fidelity.java,
7047 javax/print/attribute/standard/Finishings.java,
7048 javax/print/attribute/standard/JobImpressionsSupported.java,
7049 javax/print/attribute/standard/JobKOctetsSupported.java,
7050 javax/print/attribute/standard/JobMediaSheetsSupported.java,
7051 javax/print/attribute/standard/JobSheets.java,
7052 javax/print/attribute/standard/JobState.java,
7053 javax/print/attribute/standard/JobStateReason.java,
7054 javax/print/attribute/standard/JobStateReasons.java,
7055 javax/print/attribute/standard/Media.java,
7056 javax/print/attribute/standard/MediaSizeName.java,
7057 javax/print/attribute/standard/MultipleDocumentHandling.java,
7058 javax/print/attribute/standard/NumberUpSupported.java,
7059 javax/print/attribute/standard/OrientationRequested.java,
7060 javax/print/attribute/standard/PDLOverrideSupported.java,
7061 javax/print/attribute/standard/PageRanges.java,
7062 javax/print/attribute/standard/PresentationDirection.java,
7063 javax/print/attribute/standard/PrintQuality.java,
7064 javax/print/attribute/standard/PrinterIsAcceptingJobs.java,
7065 javax/print/attribute/standard/PrinterMoreInfo.java,
7066 javax/print/attribute/standard/PrinterMoreInfoManufacturer.java,
7067 javax/print/attribute/standard/PrinterResolution.java,
7068 javax/print/attribute/standard/PrinterState.java,
7069 javax/print/attribute/standard/PrinterStateReason.java,
7070 javax/print/attribute/standard/PrinterStateReasons.java,
7071 javax/print/attribute/standard/PrinterURI.java,
7072 javax/print/attribute/standard/ReferenceUriSchemesSupported.java,
7073 javax/print/attribute/standard/Severity.java,
7074 javax/print/attribute/standard/SheetCollate.java,
7075 javax/print/attribute/standard/Sides.java:
7076 Added serialVersionUID and removed final keyword where it doenst
7077 belong.
7078
70792004-05-15 Michael Koch <konqueror@gmx.de>
7080
7081 * javax/print/PrintServiceLookup.java: New file.
7082
70832004-05-15 Michael Koch <konqueror@gmx.de>
7084
7085 * javax/print/DocFlavor.java:
7086 Implemented all flavor classes.
7087
70882004-05-15 Michael Koch <konqueror@gmx.de>
7089
7090 * javax/print/attribute/standard/ColorSupported.java,
7091 javax/print/attribute/standard/Compression.java,
7092 javax/print/attribute/standard/CopiesSupported.java,
7093 javax/print/attribute/standard/Fidelity.java,
7094 javax/print/attribute/standard/Finishings.java,
7095 javax/print/attribute/standard/JobImpressionsSupported.java,
7096 javax/print/attribute/standard/JobKOctetsSupported.java,
7097 javax/print/attribute/standard/JobMediaSheetsSupported.java,
7098 javax/print/attribute/standard/JobSheets.java,
7099 javax/print/attribute/standard/JobState.java,
7100 javax/print/attribute/standard/JobStateReason.java,
7101 javax/print/attribute/standard/JobStateReasons.java,
7102 javax/print/attribute/standard/Media.java,
7103 javax/print/attribute/standard/MediaSizeName.java,
7104 javax/print/attribute/standard/MultipleDocumentHandling.java,
7105 javax/print/attribute/standard/NumberUpSupported.java,
7106 javax/print/attribute/standard/OrientationRequested.java,
7107 javax/print/attribute/standard/PDLOverrideSupported.java,
7108 javax/print/attribute/standard/PageRanges.java,
7109 javax/print/attribute/standard/PresentationDirection.java,
7110 javax/print/attribute/standard/PrintQuality.java,
7111 javax/print/attribute/standard/PrinterIsAcceptingJobs.java,
7112 javax/print/attribute/standard/PrinterMoreInfo.java,
7113 javax/print/attribute/standard/PrinterMoreInfoManufacturer.java,
7114 javax/print/attribute/standard/PrinterResolution.java,
7115 javax/print/attribute/standard/PrinterState.java,
7116 javax/print/attribute/standard/PrinterStateReason.java,
7117 javax/print/attribute/standard/PrinterStateReasons.java,
7118 javax/print/attribute/standard/PrinterURI.java,
7119 javax/print/attribute/standard/ReferenceUriSchemesSupported.java,
7120 javax/print/attribute/standard/Severity.java,
7121 javax/print/attribute/standard/SheetCollate.java,
7122 javax/print/attribute/standard/Sides.java: New files.
7123
71242004-05-15 Michael Koch <konqueror@gmx.de>
7125
7126 * javax/print/Doc.java
7127 (getPrintData): Throws IOException.
7128 (getReaderForText): Likewise.
7129 (getStreamForBytes): Likewise.
7130 * javax/print/DocFlavor.java:
7131 Fixed filename in copyright.
7132 (serialVersionUID): New field.
7133 * javax/print/ServiceUIFactory.java:
7134 Made all constants final.
7135 * javax/print/AttributeException.java
7136 javax/print/MultiDoc.java
7137 javax/print/MultiDocPrintJob.java
7138 javax/print/MultiDocPrintService.java
7139 javax/print/StreamPrintService.java
7140 javax/print/URIException.java: New files.
7141 * javax/print/Makefile.am
7142 (EXTRA_DIST): Added all new files.
7143
71442004-05-15 Michael Koch <konqueror@gmx.de>
7145
7146 * javax/print/attribute/standard/Copies.java,
7147 javax/print/attribute/standard/DateTimeAtCompleted.java,
7148 javax/print/attribute/standard/DateTimeAtCreation.java,
7149 javax/print/attribute/standard/DateTimeAtProcessing.java,
7150 javax/print/attribute/standard/DocumentName.java,
7151 javax/print/attribute/standard/JobHoldUntil.java,
7152 javax/print/attribute/standard/JobImpressions.java,
7153 javax/print/attribute/standard/JobImpressionsCompleted.java,
7154 javax/print/attribute/standard/JobKOctets.java,
7155 javax/print/attribute/standard/JobKOctetsProcessed.java,
7156 javax/print/attribute/standard/JobMediaSheets.java,
7157 javax/print/attribute/standard/JobMediaSheetsCompleted.java,
7158 javax/print/attribute/standard/JobMessageFromOperator.java,
7159 javax/print/attribute/standard/JobName.java,
7160 javax/print/attribute/standard/JobOriginatingUserName.java,
7161 javax/print/attribute/standard/JobPriority.java,
7162 javax/print/attribute/standard/JobPrioritySupported.java,
7163 javax/print/attribute/standard/NumberOfDocuments.java,
7164 javax/print/attribute/standard/NumberOfInterveningJobs.java,
7165 javax/print/attribute/standard/NumberUp.java,
7166 javax/print/attribute/standard/OutputDeviceAssigned.java,
7167 javax/print/attribute/standard/PagesPerMinute.java,
7168 javax/print/attribute/standard/PagesPerMinuteColor.java:
7169 Fixed @return tag all over.
7170
71712004-05-15 Michael Koch <konqueror@gmx.de>
7172
7173 * javax/print/attribute/AttributeSetUtilities.java
7174 (verifyCategoryForValue): Fixed typo in javadoc.
7175 * javax/print/attribute/HashAttributeSet.java
7176 (containsKey): Fixed @return tag.
7177 (comtainsValue): Likewise.
7178 (equals): Likewise.
7179 * javax/print/attribute/IntegerSyntax.java
7180 (equals): Likewise.
7181 * javax/print/attribute/ResolutionSyntax.java
7182 (equals): Likewise.
7183 (getCrossFeedResolution): Removed unused code.
7184 (getFeedResolution): Likewise.
7185 * javax/print/attribute/SetOfIntegerSyntax.java
7186 (SetOfIntegerSyntax): Fixed HTML entities in javadoc.
7187 (equals): Fixed @return tag.
7188 * javax/print/attribute/TextSyntax.java
7189 (TextSyntax): Take locale into account.
7190 (hashCode): Better implementation.
7191
71922004-05-15 Michael Koch <konqueror@gmx.de>
7193
7194 * javax/print/CancelablePrintJob.java,
7195 javax/print/Doc.java,
7196 javax/print/DocFlavor.java,
7197 javax/print/DocPrintJob.java,
7198 javax/print/FlavorException.java,
7199 javax/print/PrintException.java,
7200 javax/print/PrintService.java,
7201 javax/print/ServiceUIFactory.java: New files.
7202
f437e359
MW
72032004-05-15 Mark Wielaard <mark@klomp.org>
7204
7205 * gnu/regexp/CharIndexedReader.java: Removed.
7206 * gnu/regexp/REFilterReader.java: Likewise.
7207 * gnu/regexp/RETokenLookAhead.java: Likewise.
7208 * Makefile.am (ordinary_java_source_files): Remove above classes.
7209 * Makefile.in: Regenerated.
7210
ae0d0d59
TT
72112004-05-14 Tom Tromey <tromey@redhat.com>
7212
7213 * gnu/awt/xlib/XGraphics.java (drawImage): Use `XOffScreenImage',
7214 not `XGraphicsConfiguration.XOffScreenImage'.
7215
1cd29ad2
SG
72162004-05-14 Scott Gilbertson <scottg@mantatest.com>
7217
7218 * gnu/awt/xlib/XCanvasPeer.java (setVisible): Implement unmap.
7219
a01a235c
SA
72202004-05-14 Steven Augart <augart@watson.ibm.com>
7221
7222 * include/jni.h (_Jv_func): Removed.
7223 (struct JNINativeInterface): Use `void *' for reserved slots.
7224 (struct JNIInvokeInterface): Likewise.
7225
8f0b9daa
MK
72262004-05-11 Michael Koch <konqueror@gmx.de>
7227
7228 * gnu/java/net/natPlainSocketImplPosix.cc
7229 (read): Fixed typo in expression.
7230
3f68457e
AT
72312004-05-10 Andreas Tobler <a.tobler@schweiz.ch>
7232
7233 * testsuite/lib/libjava.exp (libjava_invoke): Add new argument
7234 ld_library_additions. Adjust all calls to libjava_invoke to match
7235 the new argument.
7236
7237 * testsuite/libjava.jni/jni.exp (gcj_jni_test_one): Pass stdc++
7238 path to cxxflagslist.
7239 Pass path of libstdc++ to libjava_invoke.
7240
7241 * testsuite/libjava.jar/jar.exp (gcj_jar_inerpret): Adjust
7242 libjava_invoke arguments.
7243
731d47a6
RM
72442004-05-10 Ranjit Mathew <rmathew@hotmail.com>
7245
7246 * testsuite/libjava.jacks/jacks.xfail: Update to reflect the current
7247 reality.
7248
8e31e128
RM
72492004-05-07 Ranjit Mathew <rmathew@gmail.com>
7250
7251 * testsuite/libjava.jni/jni.exp (gcj_jni_test_one): Don't link the
7252 main binary against the JNI shared library.
7253
61af3d86
JQ
72542004-05-07 Jerry Quinn <jlquinn@optonline.net>
7255
7256 * java/util/SimpleTimeZone.java (startTimeMode, endTimeMode,
7257 WALL_TIME, STANDARD_TIME, UTC_TIME): New members.
7258 (SimpleTimeZone): Tweak docs. Add new variation.
7259 (setStartRule,setEndRule): Add new variations. Use
7260 startTimeMode and endTimeMode.
7261
72622004-05-07 Jerry Quinn <jlquinn@optonline.net>
7263
7264 * java/util/Calendar.java (getActualMinimum,
7265 getActualMaximum): Remove abstract. Implement.
7266
579f9640
BM
72672004-05-06 Bryce McKinlay <mckinlay@redhat.com>
7268
7269 Run the jni tests using the interpreter.
7270 * testsuite/libjava.jni/jni.exp (gcj_jni_compile_c_to_so): Append
7271 options_cxx to shared lib compile command.
7272 (gcj_jni_test_one): Pass cxxflags to gcj_jni_compile_c_to_so, so
7273 they are used to link the shared lib, not the main binary.
7274 Use libjava_invoke to run gij.
7275
0a215a11
MK
72762004-05-06 Michael Koch <konqueror@gmx.de>
7277
7278 * java/util/logging/Level.java
7279 (parse): Use == instead of String.equals().
7280
e51f7aeb
BM
72812004-05-06 Bryce McKinlay <mckinlay@redhat.com>
7282
7283 * defineclass.cc (_Jv_ClassReader::prepare_pool_entry): Use
7284 verify_field_signature and verify_method_signature, not
7285 _Jv_VerifyFieldSignature and _Jv_VerifyMethodSigntature.
7286 (_Jv_ClassReader::handleField): Likewise.
7287 (_Jv_ClassReader::handleMethod): Likewise.
7288
c8395524
MK
72892004-05-06 Michael Koch <konqueror@gmx.de>
7290
7291 * javax/swing/table/TableColumn.java:
7292 Reformated.
7293
c8b86f1a
MK
72942004-05-06 Michael Koch <konqueror@gmx.de>
7295
7296 * javax/imageio/spi/ImageReaderWriterSpi.java
7297 (ImageReaderWriterSpi): Made it public.
7298 * javax/imageio/stream/ImageInputStream.java:
7299 Clean up imports.
7300
9f2eefb7
MK
73012004-05-06 Michael Koch <konqueror@gmx.de>
7302
7303 * jni/gtk-peer/gnu_java_awt_peer_gtk_GtkComponentPeer.c:
7304 Removed empty line.
7305
45505d4d
MK
73062004-05-06 Michael Koch <konqueror@gmx.de>
7307
7308 * jni/gtk-peer/gnu_java_awt_peer_gtk_GtkCheckboxGroupPeer.c,
7309 jni/gtk-peer/gnu_java_awt_peer_gtk_GtkGenericPeer.c:
7310 New files.
7311 * jni/gtk-peer/gnu_java_awt_peer_gtk_GtkCheckboxMenuItemPeer.c:
7312 Include gnu_java_awt_peer_gtk_GtkCheckboxMenuItemPeer.h.
7313 * jni/gtk-peer/gnu_java_awt_peer_gtk_GtkCheckboxPeer.c:
7314 Moved GtkCheckboxGroupPeer_dispose and GtkCheckboxGroupPeer_remove to
7315 their own source file.
7316 * jni/gtk-peer/gnu_java_awt_peer_gtk_GtkComponentPeer.c:
7317 Moved GtkGenericPeer_dispose and GtkComponentPeer_requestFocus to
7318 their own source file. Removed GtkComponentPeer_gtkWidgetSetUsize.
7319 * jni/gtk-peer/gnu_java_awt_peer_gtk_GtkMenuPeer.c
7320 (create): Define variable on top of function.
7321 * jni/gtk-peer/gnu_java_awt_peer_gtk_GtkPopupMenuPeer.c
7322 (menu_pos): Prototyped.
7323 * jni/gtk-peer/gnu_java_awt_peer_gtk_GtkWindowPeer.c
7324 (setTitle): Removed.
7325 * jni/gtk-peer/gthread-jni.c
7326 (gdk_threads_wake): Removed.
7327 * Makefile.am (gtk_c_source_files): Added new files
7328 jni/gtk-peer/gnu_java_awt_peer_gtk_GtkCheckboxGroupPeer.c and
7329 jni/gtk-peer/gnu_java_awt_peer_gtk_GtkGenericPeer.c.
7330 * Makefile.in: Regenerated.
7331
74e94435
BM
73322004-05-05 Bryce McKinlay <mckinlay@redhat.com>
7333
7334 * testsuite/libjava.jni/pr11951.java: Add missing System.loadLibrary()
7335 call.
7336
68ea5833
MW
73372004-05-05 Mark Wielaard <mark@klomp.org>
7338
7339 * javax/swing/AbstractButton.java: Replace special HTML entities with
7340 ASCII equivalent.
7341 * javax/swing/DefaultBoundedRangeModel.java: Likewise.
7342 * javax/swing/DefaultButtonModel.java: Likewise.
7343 * javax/swing/DefaultListModel.java: Likewise.
7344 * javax/swing/JList.java: Likewise.
7345 * javax/swing/JSlider.java: Likewise.
7346 * javax/swing/ListModel.java: Likewise.
7347 * javax/swing/Popup.java: Likewise.
7348 * javax/swing/SwingUtilities.java: Likewise.
7349
880fa238
MK
73502004-05-05 Michael Koch <konqueror@gmx.de>
7351
7352 * javax/swing/AbstractButton.java,
7353 javax/swing/ActionMap.java,
7354 javax/swing/DefaultButtonModel.java,
7355 javax/swing/DefaultListModel.java,
7356 javax/swing/ImageIcon.java,
7357 javax/swing/JComboBox.java,
7358 javax/swing/JComponent.java,
7359 javax/swing/JFrame.java,
7360 javax/swing/JInternalFrame.java,
7361 javax/swing/JMenuBar.java,
7362 javax/swing/JMenuItem.java,
7363 javax/swing/JOptionPane.java,
7364 javax/swing/JProgressBar.java,
7365 javax/swing/JRootPane.java,
7366 javax/swing/JScrollBar.java,
7367 javax/swing/JScrollPane.java,
7368 javax/swing/JSeparator.java,
7369 javax/swing/JSlider.java,
7370 javax/swing/JTabbedPane.java,
7371 javax/swing/JTable.java,
7372 javax/swing/JTextField.java,
7373 javax/swing/JToolBar.java,
7374 javax/swing/JToolTip.java,
7375 javax/swing/JTree.java,
7376 javax/swing/JViewport.java,
7377 javax/swing/JWindow.java,
7378 javax/swing/KeyStroke.java,
7379 javax/swing/LookAndFeel.java,
7380 javax/swing/SwingUtilities.java,
7381 javax/swing/Timer.java,
7382 javax/swing/ToolTipManager.java,
7383 javax/swing/UIDefaults.java,
7384 javax/swing/border/TitledBorder.java,
7385 javax/swing/filechooser/FileSystemView.java,
7386 javax/swing/plaf/basic/BasicButtonListener.java,
7387 javax/swing/plaf/basic/BasicButtonUI.java,
7388 javax/swing/plaf/basic/BasicCheckBoxMenuItemUI.java,
7389 javax/swing/plaf/basic/BasicGraphicsUtils.java,
7390 javax/swing/plaf/basic/BasicLabelUI.java,
7391 javax/swing/plaf/basic/BasicMenuItemUI.java,
7392 javax/swing/plaf/basic/BasicRadioButtonMenuItemUI.java,
7393 javax/swing/plaf/basic/BasicRootPaneUI.java,
7394 javax/swing/plaf/basic/BasicScrollBarUI.java,
7395 javax/swing/plaf/basic/BasicScrollPaneUI.java,
7396 javax/swing/plaf/basic/BasicSliderUI.java,
7397 javax/swing/plaf/basic/BasicTabbedPaneUI.java,
7398 javax/swing/plaf/basic/BasicToggleButtonUI.java,
7399 javax/swing/table/JTableHeader.java,
7400 javax/swing/text/AbstractDocument.java,
7401 javax/swing/text/DefaultCaret.java,
7402 javax/swing/text/StyledEditorKit.java,
7403 javax/swing/tree/DefaultTreeCellEditor.java:
7404 Cleaned up imports.
7405
4a93a226
MK
74062004-05-05 Michael Koch <konqueror@gmx.de>
7407
7408 * java/util/prefs/AbstractPreferences.java
7409 (AbstractPreferences): Added parenthesis for clarity.
7410 Closes classpath bug #7940.
7411
aaec686e
TT
74122004-05-05 Tom Tromey <tromey@redhat.com>
7413
7414 * javax/naming/CompoundName.java (endsWith): Look at correct
7415 element of source name.
7416
b1210ca2
MW
74172004-05-05 Mark Wielaard <mark@klomp.org>
7418
7419 Reported by f.haeglsperger@gmx.de [classpath patch #2485]
7420 * java/util/HashMap.java (rehash): Add entry at start of bucket.
7421
a54f498a
TT
74222004-05-05 Tom Tromey <tromey@redhat.com>
7423
7424 * java/io/BufferedReader.java (skip): Removed unused
7425 variable.
7426
e8430418
MK
74272004-05-05 Michael Koch <konqueror@gmx.de>
7428
7429 * java/awt/FileDialog.java: Import java.io.Serializable explicitly.
7430
f32c742c
DT
74312004-05-05 Dalibor Topic <robilad@kaffe.org>
7432
7433 * java/text/AttributedString.java,
7434 java/text/AttributedStringIterator.java,
7435 java/text/Collator.java,
7436 java/text/DecimalFormatSymbols.java,
7437 java/text/NumberFormat.java,
7438 java/text/RuleBasedCollator.java:
7439 Cleaned up imports.
7440
d70bd7ff
TT
74412004-05-05 Tom Tromey <tromey@redhat.com>
7442
7443 * java/text/Format.java: Cleaned up imports.
7444 * java/text/DecimalFormat.java: Cleaned up imports.
7445 * java/security/SecureRandom.java: Cleaned up imports.
7446 (SecureRandom): Removed unused variable.
7447 * java/security/UnresolvedPermission.java: Cleaned up imports.
7448 * java/util/Date.java (parse): Removed unused variable.
7449 * java/util/ResourceBundle.java: Cleaned up imports.
7450 (getBundle): Removed unused variable.
7451 (tryBundle): Likewise.
7452 * java/util/regex/Pattern.java (Pattern): Removed unused constructor.
7453
2225a42a
GL
74542004-05-05 Guilhem Lavaux <guilhem@kaffe.org>
7455
7456 * java/text/SimpleDateFormat.java:
7457 (formatWithAttribute): New method. It implements
7458 the formatting process with attributes.
7459 (format): Use formatWithAttribute.
7460 (formatToCharacterIterator): New method. Use
7461 formatWithAttribute.
7462
1f646142
GL
74632004-05-05 Guilhem Lavaux <guilhem@kaffe.org>
7464
7465 * java/text/MessageFormat.java:
7466 (class Field): New class.
7467 (formatToCharacterIterator): New method.
7468 (format): Use formatInternal now.
7469 (formatInternal): New method. String formatter should
7470 be done here (with attributes). Attributes merging supported.
7471 (parse): More documentation.
7472 (getFormatsByArgumentIndex): New method.
7473 (setFormatByArgumentIndex): New method.
7474 (setFormatsByArgumentIndex): New method.
7475
8cf1edb3
GL
74762004-05-05 Guilhem Lavaux <guilhem@kaffe.org>
7477
7478 * java/text/DecimalFormat.java
7479 (MAXIMUM_INTEGER_DIGITS): New constant to keep the numeric value 309.
7480 (applyPatternWithSymbols): Use MAXIMUM_INTEGER_DIGITS.
7481 (parse): Fixed handling of exponentiation notation and grouping.
7482
74832004-05-05 Guilhem Lavaux <guilhem@kaffe.org>
7484
7485 * java/text/DecimalFormat.java
7486 (scanFix): Build attribute array. Fixed error reporting.
7487 (applyPatternWithSymbols): Store attributes for the prefix and
7488 suffix.
7489 (formatInternal): New method. Changed the way the string is
7490 computed. Implemented attributes. Cleant up rounding in
7491 exponential notation.
7492 (format): Use formatInternal.
7493 (formatToCharacterIterator): New method.
7494 (exponentRound, negativePrefixRanges, positivePrefixRanges,
7495 negativePrefixAttrs, positivePrefixAttrs, negativeSuffixRanges,
7496 positiveSuffixRanges, negativeSuffixAttrs, positiveSuffixAttrs):
7497 New fields.
7498
aff9d141
DT
74992004-05-04 Dalibor Topic <robilad@kaffe.org>
7500
7501 * java/security/interfaces/DSAKeyPairGenerator.java,
7502 java/security/interfaces/DSAPrivateKey.java,
7503 java/security/interfaces/DSAPublicKey.java,
7504 java/security/interfaces/RSAPrivateKey.java,
7505 java/security/interfaces/RSAPublicKey.java:
7506 Cleaned up imports.
7507
933522fb
MK
75082004-05-04 Michael Koch <konqueror@gmx.de>
7509
7510 * java/nio/ByteBuffer.java,
7511 java/nio/CharBuffer.java,
7512 java/nio/DoubleBuffer.java,
7513 java/nio/FloatBuffer.java,
7514 java/nio/IntBuffer.java,
7515 java/nio/LongBuffer.java,
7516 java/nio/ShortBuffer.java:
7517 (compareTo): Fixed bogus implementation in all buffer classes.
7518
27c2c3ec
IP
75192004-05-04 Ingo Proetel <proetel@aicas.com>
7520
7521 * java/awt/image/ColorModel.java (getRGBdefault): Default ColorModel has
7522 32 bit pixels not 8 bit pixels.
7523 (isCompatibleRaster): Added javadoc comment.
7524
75252004-05-04 Ingo Proetel <proetel@aicas.com>
7526
7527 * java/awt/image/ComponentSampleModel.java (setDataSamples):Do not reset
7528 scanline stride.
7529
75302004-05-04 Ingo Proetel <proetel@aicas.com>
7531
7532 * java/awt/ColorPaintContext.java (<init>): Added ColorModel to signature.
7533 (getColorModel): Return the actual color model.
7534 (getRaster): Implemented.
7535 (ColorRaster): New inner class.
7536 * java/awt/SystemColor.java (createContext): Use ColorModel when creating
7537 a PaintContext.
7538 * java/awt/Color.java (<init>): Make exception more verbose.
7539 (createContext): Use ColorModel when creating a PaintContext.
7540
a31d9d6c
MK
75412004-05-04 Michael Koch <konqueror@gmx.de>
7542
7543 * gnu/java/text/CharacterBreakIterator.java
7544 (previous): Removed unused variable.
7545
065afdfa
GL
75462004-05-04 Guilhem Lavaux <guilhem@kaffe.org>
7547
7548 * gnu/java/text/FormatBuffer.java,
7549 gnu/java/text/AttributedFormatBuffer.java,
7550 gnu/java/text/StringFormatBuffer.java: New classes to implement
7551 attributed iterators in java.text.
7552 * gnu/java/text/FormatCharacterIterator.java: Moved
7553 from java/text as it is an internal class.
7554 * java/text/FormatCharacterIterator.java: Removed.
7555 * java/text/Format.java:
7556 Import gnu.java.text.FormatCharacterIterator.
7557 * Makefile.am (java_source_files): Added new files.
7558 * Makefile.in: Regenerated.
7559
7560
af62fd12
MW
75612004-05-04 Mark Wielaard <mark@klomp.org>
7562
53c87e49 7563 * gnu/java/nio/channels/FileChannelImpl.java (finalize): New method.
af62fd12 7564
a3c44036
AT
75652004-05-03 Andreas Tobler <a.tobler@schweiz.ch>
7566
7567 * Makefile.am (WARNINGS): Replace -W with the more speaking -Wextra.
7568 * Makefile.in: Rebuilt.
7569
007265b8
MW
75702004-05-03 Mark Wielaard <mark@klomp.org>
7571
7572 * gnu/java/security/der/DERReader.java: Call static methods staticly.
7573 * java/awt/TextComponent.java (select): Use selectionEnd parameter.
7574 * java/net/URL.java
7575 (set(String, String, int, String, String, String, String, String)):
7576 Assign this.file to path or path + "?" + query.
7577 * java/util/Arrays.java: Call static methods staticly.
7578 * java/util/zip/ZipEntry.java: Likewise.
7579 * javax/swing/plaf/basic/BasicArrowButton.java (setDirection): Assign
7580 dir to this.direction.
7581 * javax/swing/table/DefaultTableCellRenderer.java (noFocusBorder):
7582 Assign static field only once.
7583 (DefaultTableCellRenderer): Don't reassign noFocusBorder each time.
7584
a00d3b3c
MW
75852004-05-03 Mark Wielaard <mark@klomp.org>
7586
7587 * gnu/java/awt/peer/gtk/GtkTextAreaPeer.java (minimumSize): Removed
7588 unused variables hScrollbarHeight and vScrollbarWidth.
7589 (preferredSize): Likewise.
7590 * gnu/java/security/provider/DSAParameters.java (engineToString):
7591 Removed unused call to System.getProperty("line.seperator");
7592 * java/security/Security.java (loadProviders): Return result.
7593
7b68f0bf
TT
75942004-05-03 Tom Tromey <tromey@redhat.com>
7595
7596 * java/net/URLStreamHandler.java (toExternalForm): Removed
7597 unused variables.
7598 unused constructor.
7599 * java/math/BigDecimal.java (divide): Removed unused variable.
7600 * java/lang/Throwable.java: Cleaned up imports.
7601 * java/lang/ClassLoader.java: Cleaned up imports.
7602 * java/io/FilePermission.java (implies): Removed unused
7603 variable.
7604 * java/awt/TextComponent.java: Removed unused import.
7605 * gnu/java/util/prefs/NodeReader.java: Cleaned up imports.
7606 * gnu/java/util/DoubleEnumeration.java: Removed unused import.
7607 * gnu/java/text/WordBreakIterator.java: Removed unused import.
7608 * gnu/java/text/SentenceBreakIterator.java: Removed unused
7609 import.
7610 * gnu/java/text/LineBreakIterator.java: Removed unused import.
7611 * gnu/java/text/CharacterBreakIterator.java: Removed
7612 unused import.
7613 * gnu/java/security/provider/DSAKeyPairGenerator.java:
7614 Cleaned up imports.
7615 * gnu/java/security/der/DERWriter.java: Cleaned up imports.
7616 * gnu/java/nio/charset/UTF_16Decoder.java (put): Removed
7617 unused method.
7618 * gnu/java/nio/SocketChannelImpl.java: Cleaned up imports.
7619 * gnu/java/nio/FileLockImpl.java: Cleaned up imports.
7620 * gnu/java/io/Base64InputStream.java: Cleaned up imports.
7621 * gnu/java/beans/info/ComponentBeanInfo.java: Cleaned up imports.
7622 * gnu/classpath/ServiceFactory.java: Cleaned up imports.
7623 (lookupProviders): Removed unused variable.
7624 (loadNextServiceProvider): Likewise.
7625 * gnu/java/beans/BeanInfoEmbryo.java: Cleaned up imports.
7626
493b3c9c
MK
76272004-05-03 Michael Koch <konqueror@gmx.de>
7628
7629 Fixes PR libgcj/14695:
7630 * java/net/NetworkInterface.java
7631 (getByName): Return null when no interface was found.
7632
55ce9c52
RM
76332004-04-30 Ranjit Mathew <rmathew@hotmail.com>
7634 Tom Tromey <tromey@redhat.com>
7635
7636 * testsuite/libjava.jni/jni.exp (gcj_jni_compile_c_to_so): Use
7637 additional option "-Wmissing-prototypes" for compiling C sources.
7638 Print actual filename for pass/fail rather than $name.c.
7639 * testsuite/libjava.jni/PR15133.java: New testcase file.
7640 * testsuite/libjava.jni/PR15133.c: Likewise.
7641 * testsuite/libjava.jni/PR15133.out: Likewise.
7642
2d99c042
RS
76432004-04-30 Roger Sayle <roger@eyesopen.com>
7644
7645 * testsuite/libjava.lang/MathBuiltin.java: Add tests for acos, asin,
7646 ceil and floor.
7647
c1fcbbc3
RM
76482004-04-25 Ranjit Mathew <rmathew@hotmail.com>
7649
7650 * testsuite/libjava.jacks/jacks.exp (gcj_jacks_write): Explicitly
7651 limit the maximum heap size to avoid unnecessary thrashing.
7652
6f0b1fa5
JQ
76532004-04-24 Jerry Quinn <jlquinn@optonline.net>
7654
7655 * java/text/CollationElementIterator.java (reset): Reset
7656 lookahead variables.
7657
99a88816
MW
76582004-04-23 Mark Wielaard <mark@klomp.org>
7659
7660 * jni/classpath/jcl.c: Changed C++ comments into C comments.
7661
b4e7ef8d
DT
76622004-04-23 Dalibor Topic <robilad@kaffe.org>
7663
7664 * java/sql/DriverManager.java:
7665 Cleaned up imports.
7666
e9d34968
MK
76672004-04-23 Michael Koch <konqueror@gmx.de>
7668
7669 * java/net/URL.java
7670 (hashcode): Don't initialize with default value explicitely.
7671 (getContent): Removed redundant "final" keyword.
7672 (openStream): Likewise.
7673 (getURLStreamHandler): Fixed coding style.
7674 * java/net/URLConnection.java
7675 (defaultAllowUserInteraction): Don't initialize with default value
7676 explicitely.
7677 (connected): Likewise.
7678 (doOutput): Likewise.
7679 (ifModifiedSince): Likewise.
7680 (dateformats_initialized): Likewise.
7681 (setURLStreamHander): Use StreamTokenizer where it belongs to.
7682
87939d70
MK
76832004-04-23 Michael Koch <konqueror@gmx.de>
7684
7685 * gnu/java/nio/channels/FileChannelImpl.java
7686 (SET, CUR): Unused, removed.
7687 (read): Implement here directly.
7688 (implRead): Removed.
7689 (write): Implement here directly.
7690 (implWrite): Removed.
7691
5d837a58
DT
76922004-04-23 Dalibor Topic <robilad@kaffe.org>
7693
7694 * javax/rmi/CORBA/PortableRemoteObjectDelegate.java,
7695 javax/rmi/CORBA/Stub.java,
7696 javax/rmi/CORBA/Util.java,
7697 javax/rmi/CORBA/ValueHandler.java,
7698 javax/rmi/CORBA/ValueHandler.java,
7699 javax/rmi/PortableRemoteObject.java:
7700 Cleaned up imports.
7701
ace7ed7c
DT
77022004-04-23 Dalibor Topic <robilad@kaffe.org>
7703
7704 * java/util/jar/JarFile.java,
7705 java/util/jar/JarInputStream.java,
7706 java/util/jar/JarOutputStream.java,
7707 java/util/jar/Manifest.java:
7708 Cleaned up imports.
7709
77102004-04-23 Dalibor Topic <robilad@kaffe.org>
7711
7712 * java/util/ArrayList.java,
7713 java/util/Calendar.java,
7714 java/util/Currency.java,
7715 java/util/HashMap.java,
7716 java/util/HashSet.java,
7717 java/util/Hashtable.java,
7718 java/util/LinkedList.java,
7719 java/util/Properties.java,
7720 java/util/PropertyPermission.java,
7721 java/util/TimeZone.java,
7722 java/util/TreeMap.java,
7723 java/util/TreeSet.java,
7724 java/util/Vector.java,
7725 java/util/WeakHashMap.java:
7726 Cleaned up imports.
7727
77282004-04-23 Dalibor Topic <robilad@kaffe.org>
7729
7730 * java/util/logging/FileHandler.java,
7731 java/util/logging/Formatter.java,
7732 java/util/logging/Handler.java,
7733 java/util/logging/Logger.java,
7734 java/util/logging/SimpleFormatter.java,
7735 java/util/logging/XMLFormatter.java:
7736 Cleaned up imports.
7737
ae522139
MW
77382004-04-22 Mark Wielaard <mark@klomp.org>
7739
7740 * Makefile.am (PEDANTIC_CFLAGS): New -ansi -pedantic -Wall
7741 -Wno-long-long flags variable.
7742 (gtk_c_files): Use PEDANTIC_CFLAGS.
7743 * Makefile.in: Regenerated.
7744
838a4849
MK
77452004-04-22 Mark Wielaard <mark@klomp.org>
7746
7747 * native/jni/gtk-peer/gnu_java_awt_peer_gtk_GtkComponentPeer.c:
7748 Changed C++ comments into C comments.
7749 * native/jni/gtk-peer/gnu_java_awt_peer_gtk_GtkMenuPeer.c:
7750 Likewise.
7751
77522004-04-22 Michael Koch <konqueror@gmx.de>
7753
7754 * jni/gtk-peer/gnu_java_awt_peer_gtk_GtkPopupMenuPeer.c:
7755 Merged copyright year with GNU classpath.
7756
fe2235d1
DT
77572004-04-22 Dalibor Topic <robilad@kaffe.org>
7758
7759 * javax/security/auth/x500/X500Principal.java:
7760 Cleaned up imports.
7761
b7db3d0a
DT
77622004-04-22 Dalibor Topic <robilad@kaffe.org>
7763
7764 * javax/swing/JSlider.java:
7765 Fixed HTML tags in comments.
7766
32bfc773
DT
77672004-04-22 Dalibor Topic <robilad@kaffe.org>
7768
7769 * javax/accessibility/AccessibleText.java:
7770 Cleaned up imports.
7771
e930d01a
MK
77722004-04-22 Jeroen Frijters <jeroen@sumatra.nl>
7773
7774 * java/net/URLStreamHandler.java
7775 (parseURL): Convert the file path to using '/' instead of native
7776 file separator.
7777
77782004-04-22 Guilhem Lavaux <guilhem@kaffe.org>
7779
7780 * java/net/URL.java
7781 (userInfo): New field.
7782 (URL): Set authority to the right value.
7783 (setURL): Fixed authority and file initialization.
7784 * java/net/URLStreamHandler.java
7785 (parseURL): Take care of the query tag. Build authority.
7786 (toExternalForm): Fixed URL building using authority.
7787
5d79367d
MK
77882004-04-22 Michael Koch <konqueror@gmx.de>
7789
7790 * java/net/Socket.java
7791 (impl): Made package-private.
7792 * java/net/ServerSocket.java
7793 (implAccept): Access Socket.impl field directly.
7794
c0dce235
DT
77952004-04-22 Dalibor Topic <robilad@kaffe.org>
7796
7797 * java/util/prefs/Preferences.java,
7798 java/util/prefs/InvalidPreferencesFormatException.java,
7799 java/util/prefs/BackingStoreException.java,
7800 java/util/prefs/AbstractPreferences.java:
7801 Cleaned up imports.
7802
78032004-04-22 Dalibor Topic <robilad@kaffe.org>
7804
7805 * java/util/regex/Matcher.java,
7806 java/util/regex/Pattern.java:
7807 Cleaned up imports.
7808
5c09d725
MK
78092004-04-22 Michael Koch <konqueror@gmx.de>
7810
7811 * java/nio/charset/IllegalCharsetNameException.java
7812 (charsetName): Made private.
7813 (IllegalCharsetNameException): Added @param tag to javadoc.
7814 (getCharsetName): Added @return tag to javadoc.
7815 * java/nio/charset/MalformedInputException.java
7816 (MalformedInputException): Added @param tag to javadoc.
7817 (getInputLength): Revised method description, added @return tag.
7818 (getMessage): Added @return tag.
7819
83ef3f2b
JQ
78202004-04-22 Jerry Quinn <jlquinn@optonline.net>
7821
7822 * java/awt/Font.java (deriveFont): Implement missing variants.
7823 * gnu/java/awt/peer/ClasspathFontPeer.java (deriveFont): Implement
7824 missing variants.
7825
746ecc78
BM
78262004-04-21 Bryce McKinlay <mckinlay@redhat.com>
7827
7828 * java/lang/natClass.cc (_Jv_LayoutInterfaceMethods): New method.
7829 Set method->index values for interface methods to their itable index.
7830 (initializeClass): Call _Jv_LayoutInterfaceMethods.
7831
86a80fc3
MK
78322004-04-21 Michael Koch <konqueror@gmx.de>
7833
7834 * java/nio/DirectByteBufferImpl.java
7835 (shiftDown): Made static, give address as argument and
7836 provide a convenience method that overwrites shiftDown in
7837 ByteBufferImpl and calls the native shiftDown.
7838 * java/nio/MappedByteBufferImpl.java
7839 (): Use optimized method in DirectByteBufferImpl.
7840 * java/nio/natDirectByteBufferImpl.cc
7841 (shiftDown): Changed method signature. Removed usage of array_offset.
7842
6e90ed19
MK
78432004-04-21 Michael Koch <konqueror@gmx.de>
7844
7845 * gnu/java/net/natPlainSocketImplPosix.cc
7846 (SocketInputStream::read): Make sure returned data is a byte value.
7847
96d22b12
MK
78482004-04-21 Michael Koch <konqueror@gmx.de>
7849
7850 * gnu/classpath/ServiceFactory.java,
7851 gnu/classpath/ServiceProviderLoadingAction.java,
7852 javax/imageio/ImageReader.java,
7853 javax/imageio/ImageTranscoder.java,
7854 javax/imageio/ImageWriter.java,
7855 javax/imageio/package.html,
7856 javax/imageio/spi/IIOServiceProvider.java,
7857 javax/imageio/spi/ImageInputStreamSpi.java,
7858 javax/imageio/spi/ImageOutputStreamSpi.java,
7859 javax/imageio/spi/ImageReaderWriterSpi.java,
7860 javax/imageio/spi/ImageTranscoderSpi.java,
7861 javax/imageio/spi/RegisterableService.java,
7862 javax/imageio/spi/ServiceRegistry.java,
7863 javax/imageio/spi/package.html,
7864 javax/imageio/stream/IIOByteBuffer.java,
7865 javax/imageio/stream/ImageInputStream.java,
7866 javax/imageio/stream/ImageOutputStream.java,
7867 javax/imageio/stream/package.html:
7868 New files.
7869 * Makefile.am
7870 (ordinary_java_source_files): Added
7871 gnu/classpath/ServiceFactory.java and
7872 gnu/classpath/ServiceProviderLoadingAction.java.
7873 (javax_source_files): Added
7874 javax/imageio/ImageReader.java,
7875 javax/imageio/ImageTranscoder.java,
7876 javax/imageio/ImageWriter.java,
7877 javax/imageio/spi/IIOServiceProvider.java,
7878 javax/imageio/spi/ImageInputStreamSpi.java,
7879 javax/imageio/spi/ImageOutputStreamSpi.java,
7880 javax/imageio/spi/ImageReaderWriterSpi.java,
7881 javax/imageio/spi/ImageTranscoderSpi.java,
7882 javax/imageio/spi/RegisterableService.java,
7883 javax/imageio/spi/ServiceRegistry.java,
7884 javax/imageio/stream/IIOByteBuffer.java,
7885 javax/imageio/stream/ImageInputStream.java and
7886 javax/imageio/stream/ImageOutputStream.java.
7887 * Makefile.in: Regenerated.
7888
ca17d211
MK
78892004-04-21 Michael Koch <konqueror@gmx.de>
7890
7891 * java/util/Properties.java
7892 (load): Fix wrongly merged fix.
7893
60e957d0
MW
78942004-04-21 Mark Wielaard <mark@klomp.org>
7895
7896 * native/jni/gtk-peer/gthread-jni.c (maybe_rethrow): Explicitly
7897 malloc and free buf.
7898
27dd18cf
DT
78992004-04-21 Dalibor Topic <robilad@kaffe.org>
7900
7901 * javax/naming/AuthenticationException.java,
7902 javax/naming/AuthenticationNotSupportedException.java,
7903 javax/naming/CannotProceedException.java,
7904 javax/naming/CommunicationException.java,
7905 javax/naming/CompoundName.java,
7906 javax/naming/ConfigurationException.java,
7907 javax/naming/ContextNotEmptyException.java,
7908 javax/naming/InitialContext.java,
7909 javax/naming/InsufficientResourcesException.java,
7910 javax/naming/InterruptedNamingException.java,
7911 javax/naming/LimitExceededException.java,
7912 javax/naming/LinkException.java,
7913 javax/naming/LinkLoopException.java,
7914 javax/naming/LinkRef.java,
7915 javax/naming/MalformedLinkException.java,
7916 javax/naming/Name.java,
7917 javax/naming/NameAlreadyBoundException.java,
7918 javax/naming/NameNotFoundException.java,
7919 javax/naming/NamingSecurityException.java,
7920 javax/naming/NoInitialContextException.java,
7921 javax/naming/NoPermissionException.java,
7922 javax/naming/NotContextException.java,
7923 javax/naming/PartialResultException.java,
7924 javax/naming/ReferralException.java,
7925 javax/naming/ServiceUnavailableException.java,
7926 javax/naming/SizeLimitExceededException.java,
7927 javax/naming/TimeLimitExceededException.java,
7928 javax/naming/directory/Attribute.java,
7929 javax/naming/directory/Attributes.java,
7930 javax/naming/directory/SearchResult.java,
7931 javax/naming/event/NamingExceptionEvent.java,
7932 javax/naming/spi/ResolveResult.java:
7933 Cleaned up imports.
7934
2635995a
MW
79352004-04-21 Mark Wielaard <mark@klomp.org>
7936
7937 * native/jni/gtk-peer/gnu_java_awt_peer_gtk_GtkCheckboxPeer.c:
7938 Changed C++ comments into C comments. Removed commented out code.
7939 * native/jni/gtk-peer/gnu_java_awt_peer_gtk_GtkComponentPeer.c:
7940 Likewise.
7941 * native/jni/gtk-peer/gnu_java_awt_peer_gtk_GtkEvents.c:
7942 Likewise.
7943 * native/jni/gtk-peer/gnu_java_awt_peer_gtk_GtkFileDialogPeer.c:
7944 Likewise.
7945 * native/jni/gtk-peer/gnu_java_awt_peer_gtk_GtkListPeer.c:
7946 Likewise.
7947 * native/jni/gtk-peer/gnu_java_awt_peer_gtk_GtkTextComponentPeer.c:
7948 Likewise.
7949 * native/jni/gtk-peer/gthread-jni.c:
7950 Likewise.
7951
1c3d6bb2
MW
79522004-04-21 Mark Wielaard <mark@klomp.org>
7953
7954 * javax/awt/JFrame.java: Implement WindowConstants. Remove final
7955 static fields defined in interface.
7956 * javax/awt/JDialog.java: Likewise.
7957 (JDialog): Make constructors public.
7958 (getDefaultCloseOperation): Make public.
7959 (processWindowEvent): Call System.exit(0) when EXIT_ON_CLOSE set.
7960 (setDefaultCloseOperation): Make public. Check argument. Add API doc.
7961 * javax/swing/JViewport.java (JViewport): Make constructor public.
7962
387fa012
MK
79632004-04-21 Michael Koch <konqueror@gmx.de>
7964
7965 * java/util/Map.java
7966 (Entry): Removed redundant "static" modifier.
7967 * java/text/AttributedCharacterIterator.java:
7968 Updated copyright year.
7969
bf9f06ae
MK
79702004-04-20 Michael Koch <konqueror@gmx.de>
7971
7972 * javax/naming/directory/SearchControls.java:
7973 Don't explicitely extend java.lang.Object.
7974 * javax/naming/spi/DirStateFactory.java:
7975 Merged copyright year with GNU classpath.
7976
8a6c1d29
MK
79772004-04-20 Michael Koch <konqueror@gmx.de>
7978
7979 * java/nio/channels/Channels.java:
7980 Merged coding style with GNU classpath.
7981
f5874634
MK
79822004-04-20 Michael Koch <konqueror@gmx.de>
7983
7984 * java/net/ServerSocket.java
7985 Merged coding style from GNU classpath.
7986
90cb5151
MK
79872004-04-20 Michael Koch <konqueror@gmx.de>
7988
7989 * java/io/BufferedWriter.java:
7990 Reordered variables to be at top of the class.
7991 (localFlush): Removed redundant final keyword.
7992
5ede96a4
IP
79932004-04-20 Ingo Proetel <proetel@aicas.com>
7994
7995 * java/awt/event/MouseEvent.java (<init>): fixed field assignment
7996
391d8ef5
MK
79972004-04-20 Jeroen Frijters <jeroen@frijters.net>
7998
7999 * java/text/DecimalFormat.java (scanFix): Removed suffix check
8000 for percent and permill check.
8001
80022004-04-20 Guilhem Lavaux <guilhem@kaffe.org>
8003
8004 * java/text/FieldPosition.java
8005 (FieldPosition) Constructor now behaves as it should according
8006 to the java documentation.
8007
80082004-04-20 Mark Wielaard <mark@klomp.org>
8009
8010 * java/util/Properties.java: Use the word umlaut, not &auml; in api
8011 documentation.
8012
92e1fe67
MK
80132004-04-20 Michael Koch <konqueror@gmx.de>
8014
8015 * java/nio/Buffer.java,
8016 java/nio/channels/AlreadyConnectedException.java,
8017 java/nio/channels/AsynchronousCloseException.java,
8018 java/nio/channels/ByteChannel.java,
8019 java/nio/channels/CancelledKeyException.java,
8020 java/nio/channels/Channel.java,
8021 java/nio/channels/Channels.java,
8022 java/nio/channels/ClosedByInterruptException.java,
8023 java/nio/channels/ClosedChannelException.java,
8024 java/nio/channels/ClosedSelectorException.java,
8025 java/nio/channels/ConnectionPendingException.java,
8026 java/nio/channels/DatagramChannel.java,
8027 java/nio/channels/FileChannel.java,
8028 java/nio/channels/FileLock.java,
8029 java/nio/channels/FileLockInterruptionException.java,
8030 java/nio/channels/GatheringByteChannel.java,
8031 java/nio/channels/IllegalBlockingModeException.java,
8032 java/nio/channels/IllegalSelectorException.java,
8033 java/nio/channels/InterruptibleChannel.java,
8034 java/nio/channels/NoConnectionPendingException.java,
8035 java/nio/channels/NonReadableChannelException.java,
8036 java/nio/channels/NonWritableChannelException.java,
8037 java/nio/channels/NotYetBoundException.java,
8038 java/nio/channels/NotYetConnectedException.java,
8039 java/nio/channels/OverlappingFileLockException.java,
8040 java/nio/channels/Pipe.java,
8041 java/nio/channels/ReadableByteChannel.java,
8042 java/nio/channels/ScatteringByteChannel.java,
8043 java/nio/channels/SelectableChannel.java,
8044 java/nio/channels/SelectionKey.java,
8045 java/nio/channels/Selector.java,
8046 java/nio/channels/ServerSocketChannel.java,
8047 java/nio/channels/SocketChannel.java,
8048 java/nio/channels/UnresolvedAddressException.java,
8049 java/nio/channels/UnsupportedAddressTypeException.java,
8050 java/nio/channels/WritableByteChannel.java,
8051 java/nio/channels/spi/AbstractInterruptibleChannel.java,
8052 java/nio/channels/spi/AbstractSelectableChannel.java,
8053 java/nio/channels/spi/AbstractSelectionKey.java,
8054 java/nio/channels/spi/AbstractSelector.java,
8055 java/nio/channels/spi/SelectorProvider.java,
8056 java/nio/charset/spi/CharsetProvider.java:
8057 Fixed javadocs and jalopied all over java.nio.
8058
08c5d757
MK
80592004-04-20 Michael Koch <konqueror@gmx.de>
8060
8061 * java/nio/ByteBufferImpl.java,
8062 java/nio/CharBufferImpl.java,
8063 java/nio/DirectByteBufferImpl.java,
8064 java/nio/DoubleBufferImpl.java,
8065 java/nio/DoubleViewBufferImpl.java,
8066 java/nio/FloatBufferImpl.java,
8067 java/nio/FloatViewBufferImpl.java,
8068 java/nio/IntBufferImpl.java,
8069 java/nio/IntViewBufferImpl.java,
8070 java/nio/LongBufferImpl.java,
8071 java/nio/LongViewBufferImpl.java,
8072 java/nio/MappedByteBufferImpl.java,
8073 java/nio/ShortBufferImpl.java,
8074 java/nio/ShortViewBufferImpl.java:
8075 Made sure all classes are final and removed final keyword from all
8076 methods.
8077
a17c9f2e
MK
80782004-04-20 Michael Koch <konqueror@gmx.de>
8079
8080 * java/rmi/MarshalledObject.java,
8081 java/rmi/Naming.java,
8082 java/rmi/RemoteException.java,
8083 java/rmi/activation/ActivationException.java,
8084 java/rmi/server/ServerCloneException.java,
8085 java/security/AccessController.java,
8086 java/security/AlgorithmParameterGenerator.java,
8087 java/security/AlgorithmParameters.java,
8088 java/security/CodeSource.java,
8089 java/security/Identity.java,
8090 java/security/IdentityScope.java,
8091 java/security/KeyPairGenerator.java,
8092 java/security/KeyStore.java,
8093 java/security/Security.java,
8094 java/security/Signature.java,
8095 java/security/SignatureSpi.java,
8096 java/security/SignedObject.java,
8097 java/security/spec/DSAParameterSpec.java,
8098 java/security/spec/DSAPrivateKeySpec.java,
8099 java/security/spec/DSAPublicKeySpec.java,
8100 java/sql/Array.java,
8101 java/sql/DatabaseMetaData.java,
8102 java/sql/ResultSet.java,
8103 java/text/ChoiceFormat.java,
8104 java/text/CollationElementIterator.java,
8105 java/text/CollationKey.java,
8106 java/text/Collator.java,
8107 java/text/DateFormat.java,
8108 java/text/DateFormatSymbols.java,
8109 java/text/DecimalFormatSymbols.java,
8110 java/text/Format.java,
8111 java/text/ParsePosition.java,
8112 java/text/RuleBasedCollator.java,
8113 java/text/SimpleDateFormat.java,
8114 java/text/StringCharacterIterator.java,
8115 java/util/Collections.java,
8116 java/util/PropertyResourceBundle.java,
8117 java/util/ResourceBundle.java,
8118 java/util/StringTokenizer.java,
8119 java/util/jar/Attributes.java,
8120 java/util/logging/ConsoleHandler.java,
8121 java/util/logging/LogManager.java,
8122 java/util/logging/MemoryHandler.java,
8123 java/util/logging/SocketHandler.java,
8124 javax/naming/NamingException.java:
8125 Fixed javadoc, coding style and argument names all over.
8126
0fc920c8
MK
81272004-04-20 Jeroen Frijters <jeroen@frijters.net>
8128
8129 * java/io/FileDescriptor.java: (FileDescriptor) Added public
8130 constructor. (valid) Added null check.
8131
81322004-04-20 Guilhem Lavaux <guilhem@kaffe.org>
8133
8134 Reported by Nektarios Papadopoulos <npapadop@inaccessnetworks.com>
8135 * java/io/FileOutputStream.java
8136 (FileOutputStream) Reorganized constructors. Constructors now
8137 check whether the given path is directory.
8138
f6d49f66
MK
81392004-04-20 Michael Koch <konqueror@gmx.de>
8140
8141 * java/net/Authenticator.java,
8142 java/net/BindException.java,
8143 java/net/ConnectException.java,
8144 java/net/ContentHandler.java,
8145 java/net/ContentHandlerFactory.java,
8146 java/net/DatagramPacket.java,
8147 java/net/DatagramSocket.java,
8148 java/net/DatagramSocketImpl.java,
8149 java/net/DatagramSocketImplFactory.java,
8150 java/net/FileNameMap.java,
8151 java/net/HttpURLConnection.java,
8152 java/net/Inet4Address.java,
8153 java/net/Inet6Address.java,
8154 java/net/InetAddress.java,
8155 java/net/InetSocketAddress.java,
8156 java/net/JarURLConnection.java,
8157 java/net/MalformedURLException.java,
8158 java/net/MulticastSocket.java,
8159 java/net/NetPermission.java,
8160 java/net/NetworkInterface.java,
8161 java/net/NoRouteToHostException.java,
8162 java/net/PasswordAuthentication.java,
8163 java/net/PortUnreachableException.java,
8164 java/net/ProtocolException.java,
8165 java/net/ServerSocket.java,
8166 java/net/Socket.java,
8167 java/net/SocketAddress.java,
8168 java/net/SocketException.java,
8169 java/net/SocketImpl.java,
8170 java/net/SocketImplFactory.java,
8171 java/net/SocketOptions.java,
8172 java/net/SocketPermission.java,
8173 java/net/SocketTimeoutException.java,
8174 java/net/URI.java,
8175 java/net/URISyntaxException.java,
8176 java/net/URL.java,
8177 java/net/URLClassLoader.java,
8178 java/net/URLConnection.java,
8179 java/net/URLDecoder.java,
8180 java/net/URLEncoder.java,
8181 java/net/URLStreamHandler.java,
8182 java/net/URLStreamHandlerFactory.java,
8183 java/net/UnknownHostException.java,
8184 java/net/UnknownServiceException.java:
8185 Fixed javadocs, coding style and argument names all over.
8186
cf6f7d55
MK
81872004-04-20 Michael Koch <konqueror@gmx.de>
8188
8189 * java/lang/Byte.java,
8190 java/lang/CharSequence.java,
8191 java/lang/ClassLoader.java,
8192 java/lang/Compiler.java,
8193 java/lang/Double.java,
8194 java/lang/Float.java,
8195 java/lang/Integer.java,
8196 java/lang/Long.java,
8197 java/lang/Math.java,
8198 java/lang/Number.java,
8199 java/lang/Package.java,
8200 java/lang/Runtime.java,
8201 java/lang/RuntimePermission.java,
8202 java/lang/SecurityManager.java,
8203 java/lang/Short.java,
8204 java/lang/StringBuffer.java,
8205 java/lang/System.java,
8206 java/lang/ThreadGroup.java,
8207 java/lang/Throwable.java,
8208 java/lang/reflect/InvocationHandler.java,
8209 java/lang/reflect/Proxy.java:
8210 Fixed javadocs, coding style and argument names all over.
8211
9f714d5e
MK
82122004-04-20 Michael Koch <konqueror@gmx.de>
8213
8214 * java/io/BufferedWriter.java,
8215 java/io/ByteArrayInputStream.java,
8216 java/io/CharArrayWriter.java,
8217 java/io/DataInput.java,
8218 java/io/DataInputStream.java,
8219 java/io/File.java,
8220 java/io/FilterInputStream.java,
8221 java/io/InputStream.java,
8222 java/io/InputStreamReader.java,
8223 java/io/ObjectInputStream.java,
8224 java/io/ObjectStreamClass.java,
8225 java/io/PipedInputStream.java,
8226 java/io/PipedReader.java,
8227 java/io/PushbackInputStream.java,
8228 java/io/PushbackReader.java,
8229 java/io/RandomAccessFile.java,
8230 java/io/SerializablePermission.java,
8231 java/io/StreamTokenizer.java,
8232 java/io/StringWriter.java,
8233 java/io/WriteAbortedException.java,
8234 java/io/Writer.java:
8235 Fixed javadocs all over, rename arguments to match javadocs,
8236 fixed coding style.
8237
23f0ecff
MK
82382004-04-20 Ingo Proetel <proetel@aicas.com>
8239
8240 * java/awt/FontMetrics.java:
8241 (charsWidth): fixed accumulation of total_width
8242 (getWidth): simple default implementation
8243 * java/awt/Polygon.java (getBoundingBox): Use correct y-coordinate
8244 in Rectangle constructor.
8245 * java/awt/image/Raster.java (toString): Added method.
8246 * java/awt/image/SampleModel.java (<init>): Added error cause
8247 information to thrown exception.
8248 * java/awt/image/SinglePixelPackedSampleModel.java (getDataElements):
8249 New method.
8250 (setDataElements): New method.
8251 (setPixels): New method.
8252 (toString): New method.
8253
82542004-04-20 Sascha Brawer <brawer@dandelis.ch>
8255
8256 * java/awt/image/ComponentColorModel.java
8257 (createCompatibleSampleModel): Return PixelInterleavedSampleModel
8258 for TYPE_BYTE and TYPE_USHORT transferTypes, in order to pass the
8259 Mauve tests on this method. Improved documentation.
8260
2c4d54e6
MK
82612004-04-20 Michael Koch <konqueror@gmx.de>
8262
8263 * javax/swing/JLayeredPane.java,
8264 javax/swing/plaf/BorderUIResource.java,
8265 javax/swing/plaf/ComponentUI.java,
8266 javax/swing/undo/CompoundEdit.java,
8267 javax/swing/undo/StateEdit.java:
8268 Fixed HTML tags in javadocs all over.
8269
5589f3e5
MK
82702004-04-20 Michael Koch <konqueror@gmx.de>
8271
8272 * javax/print/attribute/EnumSyntax.java
8273 (getOffset): Made protected.
8274 * javax/print/attribute/HashAttributeSet.java
8275 (HashAttributeSet): Likewise.
8276 * javax/print/attribute/ResolutionSyntax.java
8277 (getFeedResolution): Fixed typo in exception name.
8278 (getCrossFeedResolution): Likewise.
8279 * javax/print/attribute/SetOfIntegerSyntax.java
8280 (SetOfIntegerSyntax): Fixed HTML entities in javadoc.
8281 * javax/print/attribute/TextSyntax.java
8282 (TextSyntax): Handle locale correctly.
8283 (hashCode): Calc better hashcode value.
8284 (equals): Fixed @return tag.
8285 (toString): New method.
8286
0150fc22
MK
82872004-04-20 Michael Koch <konqueror@gmx.de>
8288
8289 * gnu/java/nio/FileLockImpl.java
8290 (static): Removed, not needed anymore.
8291 * gnu/java/nio/channels/FileChannelImpl.java
8292 (FileChannelImpl): Made final.
8293 (mode): Made private.
8294 (READ, WRITE, APPEND): Made public.
8295 (EXCL, SYNC, DSYNC): Likewise.
8296 (static): Load native JNI library, when needed.
8297 (length): Unused, removed.
8298 (available): Made public.
8299 (implPosition): Throws IOException.
8300 (seek): Likewise.
8301 (implTruncate): Likewise.
8302 (unlock): Likewise.
8303 (lock): Likewise.
8304
7431acbe
MK
83052004-04-20 Michael Koch <konqueror@gmx.de>
8306
8307 * java/awt/AWTPermission.java,
8308 java/awt/Component.java,
8309 java/awt/ComponentOrientation.java,,
8310 java/awt/Dialog.java,
8311 java/awt/FontMetrics.java,
8312 java/awt/Graphics.java,
8313 java/awt/datatransfer/DataFlavor.java,
8314 java/beans/Introspector.java,
8315 java/beans/PropertyEditor.java,
8316 java/beans/PropertyEditorManager.java,
8317 java/beans/beancontext/BeanContextServiceProvider.java:
8318 Fixed HTML tags in javadocs all over.
8319
7f6f517f
MW
83202004-04-20 Mark Wielaard <mark@klomp.org>
8321
8322 * gnu/java/awt/peer/gtk/GtkFontPeer.java: Use fallback when
8323 MissingResourceException is thrown.
8324 * gnu/java/awt/peer/gtk/GtkToolkit.java (getFontPeer): Don't return
8325 null when a MissingResourceException is thrown. Should never happen.
8326
8ecb0346
MK
83272004-04-20 Sascha Brawer <brawer@dandelis.ch>
8328
8329 * java/awt/image/DataBufferShort.java,
8330 java/awt/image/DataBufferFloat.java,
8331 java/awt/image/DataBufferDouble.java,
8332 java/awt/image/PixelInterleavedSampleModel.java: New files.
8333 * gnu/java/awt/Buffers.java (createBuffer, createBufferFromData,
8334 getData): Added support for TYPE_SHORT, TYPE_FLOAT and TYPE_DOUBLE.
8335
83362004-04-20 Michael Koch <konqueror@gmx.de>
8337
8338 * Makefile.am (java_source_files): Added
8339 java/awt/image/DataBufferDouble.java,
8340 java/awt/image/DataBufferFloat.java,
8341 java/awt/image/DataBufferShort.java and
8342 java/awt/image/PixelInterleavedSampleModel.java.
8343 * Makefile.in: Regenerated.
8344
f5310108
BM
83452004-04-19 Bryce McKinlay <mckinlay@redhat.com>
8346
8347 * gcj/cni.h (JvAllocObject): Remove these obsolete,
8348 undocumented CNI calls.
8349 * include/java-interp.h (_Jv_InterpClass): No longer
8350 extends java.lang.Class.
8351 * java/lang/Class.h (Class): Add new field `aux_info'.
8352 * boehm.cc (_Jv_MarkObj): Update java.lang.Class marking.
8353 * defineclass.cc: Remove Class<->_Jv_InterpClass casts.
8354 Use Class->aux_info instead.
8355 * jni.cc (_Jv_JNI_AllocObject): Use _Jv_AllocObject.
8356 * resolve.cc: Remove Class<->_Jv_InterpClass casts.
8357 Use Class->aux_info instead.
8358 * java/io/natObjectInputStream.cc (allocateObject): Use
8359 _Jv_AllocObject.
8360 * java/lang/natClass.cc (newInstance): Likewise.
8361 * java/lang/natClassLoader.cc (_Jv_NewClass): Likewise.
8362 * java/lang/natObject.cc (clone): Likewise.
8363 * java/lang/reflect/natMethod.cc (_Jv_CallAnyMethodA): Likewise.
8364 * java/lang/natVMClassLoader.cc (defineClass): Don't use
8365 JvAllocObject. Allocate klass->aux_info here for interpreted
8366 class.
8367
afd7c0dc
MW
83682004-04-17 Mark Wielaard <mark@klomp.org>
8369
8370 * javax/swing/JToggleButton.java (ToggleButtonModel):
8371 Make public static inner class.
8372 * javax/swing/JTabbedPane.java (setComponentAt):
8373 Call Page.setComponent().
8374 (SCROLL_TAB_LAYOUT): Make public, value is 1.
8375 (WRAP_TAB_LAYOUT): Make public, value is 0.
8376 * javax/swing/plaf/basic/BasicTabbedPaneUI.java (ScrollingButton):
8377 Make private static inner class.
8378
bf7ad402
BM
83792004-04-16 Bryce McKinlay <mckinlay@redhat.com>
8380
8381 * interpret.cc (_Jv_InterpMethod::run): Update _Jv_AllocObject
8382 arguments to match new signature. Remove FIXME comments.
8383
31e632d3
GH
83842004-04-09 Thomas Fitzsimmons <fitzsim@redhat.com>
8385
8386 * gnu/java/awt/peer/gtk/GtkPanelPeer.java (connectSignals):
8387 Remove method.
8388 * jni/gtk-peer/gnu_java_awt_peer_gtk_GtkPanelPeer.c: Remove
8389 unused code.
8390
83912004-04-02 Olga Rodimina <rodimina@redhat.com>
8392
8393 * Makefile.am: Added new file.
8394 * Makefile.in: Regenerate.
8395 * javax/swing/ImageIcon.java:
8396 (ImageIcon(file)): set description of the icon
8397 to the file name
8398 * javax/swing/JCheckBoxMenuItem.java:
8399 Mostly Implemented. Work in progress.
8400 * javax/swing/JRadioButtonMenuItem.java:
8401 Reimplement constructors to use JToggleButtonModel.
8402 * javax/swing/plaf/basic/BasicIconFactory.java:
8403 (getCheckBoxMenuItemIcon): return check box
8404 icon.
8405 * javax/swing/plaf/basic/BasicMenuItemUI.java:
8406 paint menu item selected only when it is armed and
8407 pressed.
8408
84092004-04-02 David Jee <djee@redhat.com>
8410
8411 * gnu/java/awt/peer/gtk/GtkMenuItemPeer.java
8412 (GtkMenuItemPeer): Only connect signals if this isn't a Menu peer.
8413 * java/awt/Component.java
8414 (add): Set the parent of the popup as this component.
8415 * java/awt/PopupMenu.java
8416 (addNotify): Create popup menu when peer is null.
8417 (show): Call addNotify() if peer is null.
8418 * jni/gtk-peer/gnu_java_awt_peer_gtk_GtkPopupMenuPeer.c
8419 (Java_gnu_java_awt_peer_gtk_GtkPopupMenuPeer_show): Set the button
8420 argument for gtk_menu_popup() as zero. This causes the popup menu to
8421 respond to any mouse button.
8422
84232004-03-31 Olga Rodimina <rodimina@redhat.com>
8424
8425 * Makefile.am: Added new file.
8426 * Makefile.in: Regenerate.
8427 * javax/swing/JRadioButtonMenuItem.java:
8428 Implemented.
8429 * javax/swing/plaf/basic/BasicIconFactory.java:
8430 (getRadioButtonMenuItemIcon): Return
8431 radio button icon.
8432 * javax/swing/plaf/basic/BasicMenuItemUI.java:
8433 (getPreferredSize): Add size of checkIcon if it
8434 exists.
8435 (installDefaults): Don't initialize checkIcon.
8436 It's value will be set in subclasses.
8437 (uninstallDefaults): remove uninstallation of
8438 checkIcon.
8439 (paint): Moved code to paintMenuItem().
8440 (paintMenuItem): Implemented.
8441 * javax/swing/plaf/basic/BasicRadioButtonMenuItemUI.java:
8442 UI delegate for JRadioButtonMenuItem.
8443
84442004-03-29 Olga Rodimina <rodimina@redhat.com>
8445
8446 * javax/swing/plaf/basic/BasicMenuItemUI.java:
8447 Corrected position of the accelerator.
8448
84492004-03-29 Olga Rodimina <rodimina@redhat.com>
8450
8451 * Makefile.am: Added new file.
8452 * Makefile.in: Regenerate.
8453 * javax/swing/JMenuItem.java: Partly
8454 implemented. Work in progress
8455 * javax/swing/plaf/basic/BasicLookAndFeel.java:
8456 Changed default value of acceleratorDelimiter.
8457 * javax/swing/plaf/basic/BasicMenuItemUI.java:
8458 New class. Partly implemented.
8459
84602004-03-26 Mark Wielaard <mark@klomp.org>
8461
8462 * native/jni/gtk-peer/gnu_java_awt_peer_gtk_GtkChoicePeer.c
8463 (item_activate): Declare label before use.
8464 * native/jni/gtk-peer/gnu_java_awt_peer_gtk_GtkComponentPeer.c
8465 (gtkSetFont): Removed unused variable label.
8466 (addExposeFilter): Declare variables before use.
8467 (removeExposeFilter): Likewise.
8468 * native/jni/gtk-peer/gnu_java_awt_peer_gtk_GtkFileDialogPeer.c
8469 (ok_clicked): Declare str_fileName before use.
8470
84712004-03-26 David Jee <djee@redhat.com>
8472
8473 * gnu/java/awt/peer/gtk/GtkMenuPeer.java
8474 (addSeparator): Remove.
8475 * java/awt/Menu.java
8476 (separator): Remove static final MenuItem field.
8477 (separatorLabel): New static final String field.
8478 (addSeparator): Do not use peer method; use add(MenuItem) instead.
8479 Use separatorLabel to denote that it is a separator.
8480 (insertSeparator): Create a new MenuItem with separatorLabel, instead
8481 of reusing the static separator instance, because a MenuItem instance
8482 can't be added more than once without being cloned.
8483 * java/awt/peer/MenuPeer.java
8484 (addSeparator): Remove from interface.
8485
84862004-03-26 David Jee <djee@redhat.com>
8487
8488 * gnu/java/awt/peer/gtk/GtkMenuItemPeer.java
8489 (connectSignals): New native method declaration.
8490 (GtkMenuItemPeer): Connect signals if the parent is a Menu.
8491 * java/awt/MenuItem.java
8492 (getActionCommand): Return the label if the action command is not set.
8493 * jni/gtk-peer/gnu_java_awt_peer_gtk_GtkMenuBarPeer.c
8494 (Java_gnu_java_awt_peer_gtk_GtkMenuBarPeer_addMenu): Use
8495 gtk_menu_shell_append().
8496 * jni/gtk-peer/gnu_java_awt_peer_gtk_GtkMenuItemPeer.c
8497 (item_activate): Fix argument type.
8498 (Java_gnu_java_awt_peer_gtk_GtkMenuItemPeer_create): Do not connect
8499 signal here.
8500 (Java_gnu_java_awt_peer_gtk_GtkMenuItemPeer_connectSignals): New
8501 method.
8502 * jni/gtk-peer/gnu_java_awt_peer_gtk_GtkMenuPeer.c
8503 (Java_gnu_java_awt_peer_gtk_GtkMenuPeer_create): Check if a label is
8504 given. Add the menu widget's top-level GtkWindow to the global window
8505 group, so it can grab the pointer.
8506 (Java_gnu_java_awt_peer_gtk_GtkMenuPeer_addItem): Use
8507 gtk_menu_shell_append().
8508
85092004-03-23 Graydon Hoare <graydon@redhat.com>
8510
8511 * java/text/AttributedString.java
8512 (addAttribute): Fix off-by-one.
8513 (getIterator): Likewise.
8514 * java/text/AttributedStringIterator.java
8515 (getRunLimit): Correct logic.
8516 (getRunStart): Likewise.
8517 (getAttribute): Fix inequality.
8518 (getAttributes): Likewise.
8519 * testsuite/libjava.mauve/xfails: Remove AttributedString xfail.
8520
85212004-03-23 Kim Ho <kho@redhat.com>
8522
8523 * javax/swing/plaf/basic/BasicTabbedPaneUI.java:
8524 (calculateSizes): Return real width and height.
8525
85262004-03-23 Kim Ho <kho@redhat.com>
8527
8528 * javax/swing/plaf/basic/BasicTabbedPaneUI.java
8529 (calculateTabRects): Set the selectedRun before
8530 trying to rotate tabs.
8531
85322004-03-23 Kim Ho <kho@redhat.com>
8533
8534 * Makefile.am: New file
8535 * Makefile.in: Regenerate
8536 * java/awt/Graphics.java: (drawRect):
8537 Draw to the correct point.
8538 * javax/swing/DefaultSingleSelectionModel.java
8539 (isSelected): Return true if the selected index
8540 is not -1.
8541 * javax/swing/JLabel.java: Do not change mnemonic
8542 index if text is null.
8543 * javax/swing/JProgressBar.java: Use JComponent's
8544 EventListenerList.
8545 * javax/swing/JScrollBar.java: Ditto.
8546 * javax/swing/JSlider.java: Ditto.
8547 * javax/swing/JTabbedPane.java: Reimplement.
8548 * javax/swing/plaf/basic/BasicLookAndFeel.java:
8549 Add defaults for TabbedPane.
8550 * javax/swing/plaf/basic/BasicArrowButton.java:
8551 Implement
8552 * javax/swing/plaf/basic/BasicProgressBarUI.java:
8553 (paintDeterminate): Don't paint String if it's
8554 empty.
8555 (paintIndeterminate): ditto.
8556 * javax/swing/plaf/basic/BasicTabbedPaneUI.java:
8557 Reimplement.
8558
85592004-03-19 Michael Koch <konqueror@gmx.de>
8560
8561 * java/awt/image/AffineTransformOp.java
8562 (AffineTransformOp): Made public.
8563 * javax/swing/JComponent.java
8564 (listenerList): Made protected.
8565 (accessibleContext): Likewise.
8566 * javax/swing/JList.java
8567 (valueChanged): Dont use internal fields of ListSelectionEvent.
8568 * javax/swing/JViewport.java
8569 (getView): Dont use internal fields of Component.
8570 (addImpl): Likewise.
8571 * javax/swing/Timer.java
8572 (isRunning): Made public.
8573 (start): Likewise.
8574 (stop): Likewise.
8575 * javax/swing/UIDefaults.java
8576 (getInt): Made public.
8577 * javax/swing/plaf/basic/BasicListUI.java
8578 (mousePressed): Dont use internal fields of MouseEvent.
8579 (propertyChanged): Dont use internal fields of PropertyChangeEvent.
8580 * javax/swing/plaf/basic/BasicScrollBarUI.java
8581 (arrowIcon): Made static.
8582 * javax/swing/plaf/basic/BasicViewportUI.java
8583 (stateChanged): Dont use internal field on ChangeEvent.
8584 * javax/swing/text/JTextComponent.java
8585 (getUI): Call UIManager.getUI().
8586 (updateUI): Use getUI().
8587
85882004-03-19 Graydon Hoare <graydon@redhat.com>
8589
8590 * javax/swing/JComponent.java: Turn off double buffer by default.
8591 * javax/swing/plaf/basic/BasicViewportUI.java: Clear rects before painting.
8592 * jni/gtk-peer/gnu_java_awt_peer_gtk_GdkGraphics2D.c
8593 (Java_gnu_java_awt_peer_gtk_GdkGraphics2D_gdkDrawDrawable):
8594 Use cairo to copy areas.
8595 (Java_gnu_java_awt_peer_gtk_GdkGraphics2D_cairoClip):
8596 Initialize and set clip region.
8597
85982004-03-15 Thomas Fitzsimmons <fitzsim@redhat.com>
8599
8600 * java/applet/Applet.java (preferredSize): Override deprecated
8601 variant of getPreferredSize.
8602 (minimumSize): Override deprecated variant of getMinimumSize.
8603
86042004-03-15 Olga Rodimina <rodimina@redhat.com>
8605
8606 * gnu/java/awt/peer/gtk/GdkGraphics2D.java
8607 (drawImage(img,xform,bgcolor,obs)): New Method.
8608 Helper function that every drawImage method will
8609 use.
8610 (drawRaster): Added new parameter, bgcolor. All
8611 transparent pixels are changed to bgcolor before
8612 image is drawn.
8613 (drawRenderedImage): Fixed to use changed drawRaster().
8614 (drawImage(image,xform,obs): Fixed to use new helper function
8615 (drawImage(image,op,x,y)): Ditto.
8616 (drawImage (img,x,y,observer)): Ditto.
8617 ((PainterThread) bgcolor): New Field.
8618 ((PainterThread) (setPixels)): Changed all transparent pixels
8619 to bgcolor.
8620 (drawImage(img,x,y,width,height,bgcolor,observer)):
8621 Fixed FIXME - all the transparent pixels are
8622 changed to the specified bgcolor.
8623 (drawImage(img, x, y, width, height, observer): Changed to
8624 use function above.
8625 (drawImage (img,dx1,dy1,dx2,dy2,sx1,sy1,sx2,sy2,bgcolor,observer)):
8626 Fixed FIXME- changed all transparent pixels to bgcolor.
8627 (drawImage (img, dx1, dy1, dx2, dy2, sx1, sy1, sx2, sy2, observer)):
8628 Changed to use function above.
8629
86302004-03-14 Thomas Fitzsimmons <fitzsim@redhat.com>
8631
8632 * java/applet/Applet.java (dimensions): New field.
8633 (getDimensions): New method.
8634 (getPreferredSize): Call getDimensions.
8635 (getMinimumSize): Likewise.
8636
86372004-03-13 Thomas Fitzsimmons <fitzsim@redhat.com>
8638
8639 * jni/classpath/jcl.c: Include stdlib.h, not malloc.h.
8640 * jni/classpath/jnilink.c: Likewise.
8641
8642 * java/applet/Applet.java (getPreferredSize): New method.
8643 (getMinimumSize): New method.
8644
245c3c04
BM
86452004-04-15 Bryce McKinlay <mckinlay@redhat.com>
8646
8647 * prims.cc (_Jv_AllocObject): Remove `size' argument.
8648 (_Jv_AllocObjectNoFinalizer): Likewise.
8649 (_Jv_AllocObjectNoInitNoFinalizer): Likewise.
8650 (_Jv_AllocPtrFreeObject): Likewise.
8651 (_Jv_AllocString): Moved from natString.cc. Call collector interface
8652 directly even in the JVMPI case.
8653 * gcj/cni.h (JvAllocObject): Remove `size' argument from
8654 _Jv_AllocObject calls.
8655 * gcj/javaprims.h: Update prototypes.
8656 * gnu/gcj/natCore.cc (_Jv_create_core): Use `new', not _Jv_AllocObject.
8657 * java/lang/Class.h: Update _Jv_AllocObject friend prototype.
8658 * java/lang/natString.cc (_Jv_AllocString): Move to prims.cc.
8659
d7afe286
BM
86602004-04-14 Andrew Haley <aph@redhat.com>
8661 Bryce McKinlay <mckinlay@redhat.com>
8662
8663 * java/lang/reflect/natMethod.cc (_Jv_CallAnyMethodA): Use
8664 _Jv_LookupInterfaceMethodIdx for calls to interfaces.
8665 * include/jvm.h (_Jv_CallAnyMethodA): Add new `iface' arg.
8666
8667 * testsuite/libjava.lang/InvokeInterface.java: New file.
8668 * testsuite/libjava.lang/InvokeInterface.out: New file.
8669
84264cb6
RM
86702004-04-09 Ranjit Mathew <rmathew@hotmail.com>
8671
8672 * java/lang/VMThrowable.java (getStackTrace): Pass trace as-is to
8673 modified lookup().
8674 * gnu/gcj/runtime/NameFinder.java (lookup): Change to take in a
8675 StackTraceElement directly.
8676 (newElement): New native helper method to create StackTraceElement
8677 bypassing Java access control.
8678 (createStackTraceElement): Use newElement() instead of directly
8679 calling StackTraceElement's constructor.
8680 * gnu/gcj/runtime/natNameFinder.cc (newElement): New method.
8681
2b6b5c35
MK
86822004-04-01 Michael Koch <konqueror@gmx.de>
8683
8684 * java/lang/SecurityManager.java
8685 (checkAwtEventQueueAccess): Implemented.
8686
1c19eacc
GB
86872004-04-01 Gary Benson <gbenson@redhat.com>
8688
8689 * resolve.cc (_Jv_ResolvePoolEntry): Put field name in exception.
8690 (_Jv_SearchMethodInClass): Likewise.
8691
99b43239
PM
86922004-03-26 Peter Moon <peterm@miraculum.com>
8693
8694 * java/text/NumberFormat.java: Fix spelling of setCurrency
8695 method.
8696
95e59f1a
AG
86972004-03-21 Anthony Green <green@redhat.com>
8698
8699 * java/lang/natClass.cc (getClassLoader): Circumvent infinite
8700 recursion when searching for the system ClassLoader.
8701
de205e06
IK
87022004-03-21 Ito Kazumitsu <kaz@maczuka.gcd.org>
8703
8704 * java/net/ServerSocket.java
8705 (accept): Close the socket when error occured.
8706
bdf11d55
JF
87072004-03-21 Jeroen Frijters <jeroen@frijters.net>
8708
8709 * java/net/URI.java (parseURI): Added unquoting.
8710 (unquote): New method.
8711 (quoteAuthority): Implemented.
8712 (quote(String,String)): New method.
8713 (quotePath): Implemented.
8714 (getRawSchemeSpecificPart): Return new rawSchemeSpecificPart field.
8715 (getSchemeSpecificPart): Removed FIXME comment.
8716 (getRawAuthority): Return new rawAuthority field.
8717 (getAuthority): Removed FIXME comment.
8718 (getRawUserInfo): Return new rawUserInfo field.
8719 (getUserInfo): Removed FIXME comment.
8720 (getRawPath): Return new rawPath field.
8721 (getPath): Removed FIXME comment.
8722 (getRawQuery): Return new rawQuery field.
8723 (getQuery): Removed FIXME comment.
8724 (getRawFragment): Return new rawFragment field.
8725 (getFragment): Removed FIXME comment.
8726
0d13be1e
MK
87272004-03-20 Michael Koch <konqueror@gmx.de>
8728
8729 * java/net/URLConnection.java: Merged copyright year with classpath.
8730
f903e73b
NF
87312004-03-20 Norbert Frese <postfach@nfrese.net>
8732
8733 * gnu/java/rmi/server/RMIIncomingThread.java: New file.
8734 * gcc/libjava/gnu/java/rmi/server/UnicastConnection.java:
8735 Create a new RMIObjectOuputStream/RMIObjectInputStream for every
8736 rmi-message.
8737 (getObjectInputStream): Return object reference, throw IOException if null.
8738 (startObjectInputStream): Create new RMIObjectInputStream on top of 'din'.
8739 (getObjectOutputStream): Return object reference, throw IOException if null.
8740 (startObjectOutputStream): Create new RMIObjectOutputStream on top of 'dout'.
8741 * gcc/libjava/gnu/java/rmi/server/UnicastConnectionManager.java:
8742 (UnicastConnectionManager): Throw RemoteException if port is not available.
8743 (getInstance): Throw RemoteException.
8744 (run): Lookup client host and attach it to new RMIIncomingThread for later retrieval.
8745 * gcc/libjava/gnu/java/rmi/server/UnicastRef.java:
8746 Start a new RMIObjectInputStream/RMIObjectOutputStream for every rmi-message.
8747 Collect Exceptions which are returned by a rmi-call and fix void returns.
8748 * gcc/libjava/gnu/java/rmi/server/UnicastRemoteCall.java:
8749 Start a new RMIObjectInputStream/RMIObjectOutputStream for every rmi-message.
8750 * gcc/libjava/gnu/java/rmi/server/UnicastServer.java:
8751 (dispatch): Answer ping messages which are sent by other java implementions.
8752 (incomingMessageCall): Start a new RMIObjectInputStream/RMIObjectOutputStream
8753 for every rmi-message and fix void return problems.
8754 * gcc/libjava/gnu/java/rmi/server/UnicastServerRef.java
8755 (UnicastServerRef): Throw RemoteException.
8756 (exportObject): Find the class up the class hierarchy which has a _Stub generated by rmic.
8757 In some situations it is necessary to export a subclass of the class which has the _Stub.
8758 For instance when the class with has the _Stub is abstract.
8759 (findStubSkelClass): New method which looks for the class which has the _Stub.
8760 (getClientHost): Implementated.
8761 * gcc/libjava/java/rmi/server/RemoteServer.java
8762 (getClientHost): Implementated.
8763 * gcc/libjava/Makefile.am (rmi_java_source_files):
8764 Added gnu/java/rmi/server/RMIIncomingThread.java.
8765 * Makefile.in: Regenerated.
8766
7f5773c6
MK
87672004-03-20 Michael Koch <konqueror@gmx.de>
8768
8769 * java/net/InetAddress.java
8770 (getLocalHostname): Added javadoc.
8771
ab16524d
PB
87722004-03-19 Per Bothner <per@bothner.com>
8773
8774 * configure.in: FILE variable overrides FLATFORM when linking
8775 natFileChannelXXX.cc.
8776
8777 * gnu/java/nio/channels/natFileChannelEcos.cc (diag_write): Restored.
8778 (write): Call diag_write, as in old natFileDescriptorEcos.cc.
8779
0fca95f5
PB
87802004-03-19 Per Bothner <per@bothner.com>
8781
8782 * gnu/gcj/convert/Input_UnicodeBig.java: New class..
8783 * gnu/gcj/convert/Input_UnicodeLittle.java: New class.
8784 * Makefile.am: Update accordingly.
8785 * gnu/gcj/convert/IOConverter.java: Define "utf-16le" and "utf16be"
8786 as aliases for UnicodeLittle and UnicodeBig.
8787
edb3d426
MW
87882004-03-20 Mark Wielaard <mark@klomp.org>
8789
8790 * native/jni/gtk-peer/gnu_java_awt_peer_gtk_GtkTextAreaPeer.c
8791 (Java_gnu_java_awt_peer_gtk_GtkTextAreaPeer_getVScrollbarWidth):
8792 Don't access ws when it is null.
8793 (Java_gnu_java_awt_peer_gtk_GtkTextAreaPeer_getHScrollbarHeight):
8794 Likewise.
8795
b121dcb5
JF
87962004-03-19 Jeroen Frijters <jeroen@frijters.net>
8797
8798 * java/lang/ThreadGroup.java (list): Changed print to println.
8799
44b20223
MW
88002004-03-19 Mark Wielaard <mark@klomp.org>
8801
8802 * java/io/BufferedReader.java: Use &lt;=, not &lt;&eq; to make gjdoc
8803 happy.
8804
f94b0887
RC
88052004-02-10 Randolph Chung <tausq@debian.org>
8806
8807 * configure.in: Build java for hppa target.
8808 * configure: Regenerate.
8809 * libjava/configure.host (hppa-*): Add target.
8810 * libjava/sysdeps/pa/lock.h: New file.
8811
d511a273
MW
88122004-03-19 Mark Wielaard <mark@klomp.org>
8813
8814 Reported by Stephen Crawley
8815 * java/io/FilePermission.java (implies): Use String.length() -1 to
8816 access last char of String.
8817
9c6637c8
MK
88182004-03-19 Michael Koch <konqueror@gmx.de>
8819
8820 * java/awt/image/AffineTransformOp.java
8821 (AffineTransformOp): Made public.
8822 * javax/swing/JComponent.java
8823 (listenerList): Made protected.
8824 (accessibleContext): Likewise.
8825 * javax/swing/JList.java
8826 (valueChanged): Dont use internal fields of ListSelectionEvent.
8827 * javax/swing/JViewport.java
8828 (getView): Dont use internal fields of Component.
8829 (addImpl): Likewise.
8830 * javax/swing/Timer.java
8831 (isRunning): Made public.
8832 (start): Likewise.
8833 (stop): Likewise.
8834 * javax/swing/UIDefaults.java
8835 (getInt): Made public.
8836 * javax/swing/plaf/basic/BasicListUI.java
8837 (mousePressed): Dont use internal fields of MouseEvent.
8838 (propertyChanged): Dont use internal fields of PropertyChangeEvent.
8839 * javax/swing/plaf/basic/BasicScrollBarUI.java
8840 (arrowIcon): Made static.
8841 * javax/swing/plaf/basic/BasicViewportUI.java
8842 (stateChanged): Dont use internal field on ChangeEvent.
8843 * javax/swing/text/JTextComponent.java
8844 (getUI): Call UIManager.getUI().
8845 (updateUI): Use getUI().
8846
165c9b04
RO
88472004-03-19 Rainer Orth <ro@TechFak.Uni-Bielefeld.DE>
8848
8849 * verify.cc: Undef PC.
8850
138f5109
MK
88512004-03-18 Michael Koch <konqueror@gmx.de>
8852
8853 * java/nio/channels/spi/AbstractSelectableChannel.java
8854 (keys): Initialize at declaration.
8855 (locate): keys cant be null.
8856 (add): Removed.
8857 (addSelectionKey): New method.
8858 (removeSelectionKey): New method.
8859 * java/nio/channels/spi/AbstractSelectionKey.java
8860 (cancel): Call AbstractSelector.cancelKey(SelectionKey key).
8861 * java/nio/channels/spi/AbstractSelector.java
8862 (provider): Javadoc added.
8863 (cancelledKeys): Javadoc added.
8864 (cancelKey): Javadoc added, add key to cancelledKeys.
8865 (deregister): Implemented.
8866
acc63e4c
RO
88672004-03-18 Rainer Orth <ro@TechFak.Uni-Bielefeld.DE>
8868
8869 * gnu/java/nio/channels/natFileChannelPosix.cc (mapImpl): Cast
8870 MAP_FAILED to void *.
8871
86881a7b
GH
88722004-03-12 Graydon Hoare <graydon@redhat.com>
8873
8874 * gnu/java/awt/peer/gtk/GdkGraphics2D.java: Clipping fixes.
8875 * javax/swing/JComponent.java (paint): Use persistent double buffer.
8876 * javax/swing/JList.java (ListListener): Revalidate on changes.
8877 * javax/swing/JScrollPane.java: Reimplement.
8878 * javax/swing/JViewport.java: Reimplement.
8879 * javax/swing/ScrollPaneLayout.java: Reimplement.
8880 * javax/swing/ViewportLayout.java: Tidy up.
8881 * javax/swing/plaf/basic/BasicButtonListener.java: Remove printlns.
8882 * javax/swing/plaf/basic/BasicScrollPaneUI.java: Reimplement.
8883 * javax/swing/plaf/basic/BasicSliderUI.java: Handle missing labels.
8884 * javax/swing/plaf/basic/BasicViewportUI.java: Implement in terms of
8885 backing store only.
8886
88872004-03-11 Thomas Fitzsimmons <fitzsim@redhat.com>
8888
8889 * jni/gtk-peer/gnu_java_awt_peer_gtk_GtkWindowPeer.c
8890 (window_wm_protocols_filter): New function.
8891 (window_focus_in_cb): Remove function.
8892 (window_focus_out_cb): Likewise.
8893 (window_focus_or_active_state_change_cb): New function.
8894 (create): Add filter that removes WM_TAKE_FOCUS client messages.
8895 (connectSignals): Don't attach handlers to focus-in-event or
8896 focus-out-event signals. Handle notify signal.
8897
88982004-03-11 David Jee <djee@redhat.com>
8899
8900 * gnu/java/awt/peer/gtk/GtkCheckboxPeer.java
8901 (gtkSetLabel): New native method declaration.
8902 (setLabel): Use gtkSetLabel.
8903 * jni/gtk-peer/gnu_java_awt_peer_gtk_GtkCheckboxPeer.c
8904 (Java_gnu_java_awt_peer_gtk_GtkCheckboxPeer_gtkSetLabel): New method.
8905
89062004-03-10 Thomas Fitzsimmons <fitzsim@redhat.com>
8907
8908 * gnu/java/awt/peer/gtk/GdkGraphics.java (setColor): Default to
8909 black when color argument is null.
8910
89112004-03-10 Kim Ho <kho@redhat.com>
8912
8913 * java/awt/Container.java: Remove check
8914 for drag events.
8915
89162004-03-10 Kim Ho <kho@redhat.com>
8917
8918 * java/awt/Container.java: (visitChild):
8919 Remove candidate clip. Use the component
8920 clip to intersect.
8921 * gnu/java/awt/peer/gtk/GtkComponentPeer.java:
8922 (handleEvent): Use the PaintEvent's clip.
8923
89242004-03-10 Kim Ho <kho@redhat.com>
8925
8926 * gnu/java/awt/peer/gtk/GtkComponentPeer.java:
8927 (handleEvent): Don't set the clip for the
8928 Graphics object.
8929
89302004-03-09 Graydon Hoare <graydon@redhat.com>
8931
8932 * jni/gtk-peer/gnu_java_awt_peer_gtk_GdkGlyphVector.c:
8933 Fix double <-> fixed macros, reset font transform.
8934 * jni/gtk-peer/gnu_java_awt_peer_gtk_GdkClasspathFontPeerMetrics.c:
8935 Likewise.
8936
8937