OSDN Git Service

Fixed ChangeLog entry of my last commit.
[pf3gnuchains/gcc-fork.git] / libjava / ChangeLog
1 2004-10-22  Michael Koch  <konqueror@gmx.de>
2
3         * java/lang/Math.java,
4         java/lang/StackTraceElement.java,
5         java/nio/Buffer.java,
6         java/nio/ByteBuffer.java,
7         java/nio/CharBuffer.java,
8         java/nio/DoubleBuffer.java,
9         java/nio/FloatBuffer.java,
10         java/nio/IntBuffer.java,
11         java/nio/LongBuffer.java,
12         java/nio/ShortBuffer.java,
13         java/nio/charset/Charset.java,
14         java/rmi/server/RMIClassLoader.java,
15         java/rmi/server/RMISocketFactory.java,
16         java/security/Policy.java,
17         java/text/ChoiceFormat.java,
18         java/text/CollationElementIterator.java,
19         java/text/DateFormat.java,
20         java/text/DecimalFormat.java,
21         java/text/DecimalFormatSymbols.java,
22         java/text/MessageFormat.java,
23         java/text/NumberFormat.java,
24         java/text/RuleBasedCollator.java,
25         java/text/SimpleDateFormat.java,
26         java/util/BitSet.java,
27         java/util/Calendar.java,
28         java/util/Collections.java,
29         java/util/IdentityHashMap.java,
30         java/util/Locale.java,
31         java/util/TreeMap.java,
32         java/util/logging/LogRecord.java,
33         java/util/logging/XMLFormatter.java,
34         java/util/prefs/AbstractPreferences.java,
35         java/util/prefs/Preferences.java,
36         javax/crypto/interfaces/DHPrivateKey.java,
37         javax/crypto/interfaces/DHPublicKey.java,
38         javax/crypto/interfaces/PBEKey.java,
39         javax/net/ssl/HandshakeCompletedEvent.java,
40         javax/security/auth/Subject.java:
41         Removed redundant and reordered modifiers.
42
43 2004-10-22  Ulrich Weigand  <uweigand@de.ibm.com>
44
45         * gnu/java/net/natPlainSocketImplPosix.cc
46         (gnu::java::net::PlainSocketImpl::available): Call FIONREAD ioctl
47         with 'int *' argument instead of 'long *'.
48
49 2004-10-21  Michael Koch  <konqueror@gmx.de>
50
51         * java/net/NetworkInterface.java,
52         java/text/Format.java,
53         javax/security/auth/x500/X500Principal.java,
54         javax/security/auth/x500/X500PrivateCredential.java,
55         javax/security/cert/X509CertBridge.java,
56         javax/security/sasl/Sasl.java,
57         javax/sql/XAConnection.java:
58         Import cleanup.
59
60 2004-10-21  Michael Koch  <konqueror@gmx.de>
61
62         * javax/net/ssl/HandshakeCompletedEvent.java,
63         javax/net/ssl/KeyManagerFactory.java,
64         javax/net/ssl/SSLContext.java,
65         javax/net/ssl/SSLServerSocketFactory.java,
66         javax/net/ssl/SSLSession.java,
67         javax/net/ssl/SSLSocketFactory.java,
68         javax/net/ssl/TrustManagerFactory.java:
69         Import cleanup.
70
71 2004-10-21  Michael Koch  <konqueror@gmx.de>
72
73         * javax/naming/directory/BasicAttribute.java,
74         javax/naming/directory/BasicAttributes.java,
75         javax/naming/directory/InitialDirContext.java,
76         javax/naming/event/NamingEvent.java,
77         javax/naming/ldap/ControlFactory.java,
78         javax/naming/ldap/ExtendedRequest.java,
79         javax/naming/ldap/InitialLdapContext.java,
80         javax/naming/ldap/LdapReferralException.java,
81         javax/naming/spi/DirObjectFactory.java,
82         javax/naming/spi/DirStateFactory.java,
83         javax/naming/spi/DirectoryManager.java,
84         javax/naming/spi/InitialContextFactory.java,
85         javax/naming/spi/InitialContextFactoryBuilder.java,
86         javax/naming/spi/NamingManager.java,
87         javax/naming/spi/ObjectFactory.java,
88         javax/naming/spi/ObjectFactoryBuilder.java,
89         javax/naming/spi/StateFactory.java:
90         Import cleanup.
91
92 2004-10-21  Michael Koch  <konqueror@gmx.de>
93
94         * javax/crypto/Cipher.java,
95         javax/crypto/EncryptedPrivateKeyInfo.java,
96         javax/crypto/ExemptionMechanism.java,
97         javax/crypto/KeyAgreement.java,
98         javax/crypto/KeyGenerator.java,
99         javax/crypto/Mac.java,
100         javax/crypto/SecretKeyFactory.java,
101         javax/crypto/SecretKeyFactorySpi.java,
102         javax/crypto/spec/SecretKeySpec.java:
103         Import cleanup.
104
105 2004-10-21  Michael Koch  <konqueror@gmx.de>
106
107         * java/security/AlgorithmParameterGenerator.java,
108         java/security/AlgorithmParameters.java,
109         java/security/AlgorithmParametersSpi.java,
110         java/security/AllPermission.java,
111         java/security/BasicPermission.java,
112         java/security/Certificate.java,
113         java/security/CodeSource.java,
114         java/security/DigestInputStream.java,
115         java/security/DigestOutputStream.java,
116         java/security/GuardedObject.java,
117         java/security/KeyFactory.java,
118         java/security/KeyFactorySpi.java,
119         java/security/KeyPairGenerator.java,
120         java/security/KeyStore.java,
121         java/security/KeyStoreSpi.java,
122         java/security/Permissions.java,
123         java/security/Security.java,
124         java/security/Signature.java,
125         java/security/UnresolvedPermission.java,
126         java/security/cert/CertPathBuilder.java,
127         java/security/cert/CertPathValidator.java,
128         java/security/cert/CertStore.java,
129         java/security/cert/Certificate.java,
130         java/security/cert/CertificateFactory.java,
131         java/security/cert/PolicyQualifierInfo.java,
132         java/security/cert/TrustAnchor.java,
133         java/security/cert/X509CRL.java,
134         java/security/cert/X509CRLSelector.java,
135         java/security/cert/X509CertSelector.java:
136         Import cleanup.
137
138 2004-10-21  Michael Koch  <konqueror@gmx.de>
139
140         * java/rmi/MarshalledObject.java,
141         java/rmi/Naming.java,
142         java/rmi/activation/Activatable.java,
143         java/rmi/activation/ActivationGroup.java,
144         java/rmi/activation/ActivationGroupDesc.java,
145         java/rmi/activation/ActivationInstantiator.java,
146         java/rmi/activation/ActivationMonitor.java,
147         java/rmi/activation/ActivationSystem.java,
148         java/rmi/activation/Activator.java,
149         java/rmi/registry/LocateRegistry.java,
150         java/rmi/registry/Registry.java,
151         java/rmi/server/LogStream.java,
152         java/rmi/server/ObjID.java,
153         java/rmi/server/RMIClientSocketFactory.java,
154         java/rmi/server/RMIServerSocketFactory.java,
155         java/rmi/server/RMISocketFactory.java,
156         java/rmi/server/RemoteCall.java,
157         java/rmi/server/RemoteServer.java,
158         java/rmi/server/ServerRef.java,
159         java/rmi/server/UID.java,
160         java/rmi/server/UnicastRemoteObject.java:
161         Import cleanup.
162
163 2004-10-21  Tom Tromey  <tromey@redhat.com>
164
165         * java/util/zip/InflaterInputStream.java (fill): Don't throw an
166         exception if we hit EOF of `in'.
167         (read): Handle case where inflating returns -1.
168
169 2004-10-21  Ulrich Weigand  <uweigand@de.ibm.com>
170
171         * gnu/java/nio/channels/natFileChannelPosix.cc
172         (FileChannelImpl::available): Call FIONREAD ioctl with 'int *'
173         argument instead of 'long *'.
174
175 2004-10-21  Tom Tromey  <tromey@redhat.com>
176
177         * java/util/ResourceBundle.java (tryBundle): Also ignore
178         ClassCastException.
179
180 2004-10-21  Kaz Kojima  <kkojima@gcc.gnu.org>
181
182         * configure.ac (SIGNAL_HANDLER): Set to include/sh-signal.h
183         for all sh*-*-linux* targets.
184         * configure: Regenerate.
185         * include/sh-signal.h: New file.
186
187 2004-10-21  Kazuhiro Inaoka  <inaoka.kazuhiro@renesas.com>
188
189         * java/lang/ieeefp.h: Add m32r support.
190
191 2004-10-20  Andreas Schwab  <schwab@suse.de>
192
193         * java/lang/natClass.cc (_Jv_LayoutVTableMethods): Cast pointers
194         to uaddr, not int.
195         * java/lang/natClassLoader.cc (_Jv_PrepareCompiledClass):
196         Likewise.
197
198 2004-10-20  Michael Koch  <konqueror@gmx.de>
199
200         * javax/print/attribute/standard/ColorSupported.java,
201         javax/print/attribute/standard/Compression.java,
202         javax/print/attribute/standard/Copies.java,
203         javax/print/attribute/standard/CopiesSupported.java,
204         javax/print/attribute/standard/DateTimeAtCompleted.java,
205         javax/print/attribute/standard/DateTimeAtCreation.java,
206         javax/print/attribute/standard/DateTimeAtProcessing.java,
207         javax/print/attribute/standard/DocumentName.java,
208         javax/print/attribute/standard/Fidelity.java,
209         javax/print/attribute/standard/Finishings.java,
210         javax/print/attribute/standard/JobHoldUntil.java,
211         javax/print/attribute/standard/JobImpressions.java,
212         javax/print/attribute/standard/JobImpressionsCompleted.java,
213         javax/print/attribute/standard/JobImpressionsSupported.java,
214         javax/print/attribute/standard/JobKOctets.java,
215         javax/print/attribute/standard/JobKOctetsProcessed.java,
216         javax/print/attribute/standard/JobKOctetsSupported.java,
217         javax/print/attribute/standard/JobMediaSheets.java,
218         javax/print/attribute/standard/JobMediaSheetsCompleted.java,
219         javax/print/attribute/standard/JobMediaSheetsSupported.java,
220         javax/print/attribute/standard/JobMessageFromOperator.java,
221         javax/print/attribute/standard/JobName.java,
222         javax/print/attribute/standard/JobOriginatingUserName.java,
223         javax/print/attribute/standard/JobPriority.java,
224         javax/print/attribute/standard/JobPrioritySupported.java,
225         javax/print/attribute/standard/JobSheets.java,
226         javax/print/attribute/standard/JobState.java,
227         javax/print/attribute/standard/JobStateReason.java,
228         javax/print/attribute/standard/JobStateReasons.java,
229         javax/print/attribute/standard/Media.java,
230         javax/print/attribute/standard/MultipleDocumentHandling.java,
231         javax/print/attribute/standard/NumberOfDocuments.java,
232         javax/print/attribute/standard/NumberOfInterveningJobs.java,
233         javax/print/attribute/standard/NumberUp.java,
234         javax/print/attribute/standard/NumberUpSupported.java,
235         javax/print/attribute/standard/OrientationRequested.java,
236         javax/print/attribute/standard/OutputDeviceAssigned.java,
237         javax/print/attribute/standard/PDLOverrideSupported.java,
238         javax/print/attribute/standard/PageRanges.java,
239         javax/print/attribute/standard/PagesPerMinute.java,
240         javax/print/attribute/standard/PagesPerMinuteColor.java,
241         javax/print/attribute/standard/PrintQuality.java,
242         javax/print/attribute/standard/PrinterInfo.java,
243         javax/print/attribute/standard/PrinterIsAcceptingJobs.java,
244         javax/print/attribute/standard/PrinterLocation.java,
245         javax/print/attribute/standard/PrinterMakeAndModel.java,
246         javax/print/attribute/standard/PrinterMessageFromOperator.java,
247         javax/print/attribute/standard/PrinterMoreInfo.java,
248         javax/print/attribute/standard/PrinterMoreInfoManufacturer.java,
249         javax/print/attribute/standard/PrinterName.java,
250         javax/print/attribute/standard/PrinterStateReason.java,
251         javax/print/attribute/standard/PrinterStateReasons.java,
252         javax/print/attribute/standard/PrinterURI.java,
253         javax/print/attribute/standard/ReferenceUriSchemesSupported.java,
254         javax/print/attribute/standard/RequestingUserName.java:
255         Reorganized imports and removed redundant final modifiers.
256
257 2004-10-20  Michael Koch  <konqueror@gmx.de>
258
259         * javax/security/sasl/SaslClient.java,
260         javax/security/sasl/SaslClientFactory.java,
261         javax/security/sasl/SaslException.java,
262         javax/security/sasl/SaslServer.java,
263         javax/security/sasl/SaslServerFactory.java:
264         Remvoed CVS tags.
265
266 2004-10-20  Michael Koch  <konqueror@gmx.de>
267
268         * javax/security/auth/login/NullConfiguration.java,
269         javax/security/auth/x500/X500Principal.java,
270         javax/security/cert/X509Certificate.java,
271         javax/security/sasl/AuthenticationException.java,
272         javax/security/sasl/AuthorizeCallback.java,
273         javax/security/sasl/RealmCallback.java,
274         javax/security/sasl/RealmChoiceCallback.java,
275         javax/security/sasl/Sasl.java,
276         javax/security/sasl/SaslClient.java,
277         javax/security/sasl/SaslClientFactory.java,
278         javax/security/sasl/SaslException.java,
279         javax/security/sasl/SaslServer.java,
280         javax/security/sasl/SaslServerFactory.java:
281         Cleaned up import statements and copyright notices.
282
283 2004-10-20  Michael Koch  <konqueror@gmx.de>
284
285         * gnu/java/rmi/rmic/RMIC.java: Reformatted.
286
287 2004-10-20  Michael Koch  <konqueror@gmx.de>
288
289         * java/sql/Timestamp.java,
290         java/text/AttributedCharacterIterator.java,
291         java/text/AttributedString.java,
292         java/util/zip/CheckedOutputStream.java,
293         java/util/zip/DeflaterOutputStream.java,
294         java/util/zip/ZipFile.java,
295         javax/crypto/Cipher.java,
296         javax/crypto/ExemptionMechanismException.java,
297         javax/crypto/SecretKey.java,
298         javax/crypto/SecretKeyFactory.java,
299         javax/naming/directory/ModificationItem.java,
300         javax/naming/directory/SearchControls.java,
301         javax/naming/event/NamingListener.java,
302         javax/naming/ldap/Control.java,
303         javax/naming/ldap/ExtendedResponse.java,
304         javax/net/ssl/SSLSocketFactory.java:
305         Reorganized imports and fixed copyright headers.
306
307 2004-10-20  Michael Koch  <konqueror@gmx.de>
308
309         * java/util/logging/ConsoleHandler.java,
310         java/util/logging/ErrorManager.java,
311         java/util/logging/FileHandler.java,
312         java/util/logging/Filter.java,
313         java/util/logging/Formatter.java,
314         java/util/logging/Handler.java,
315         java/util/logging/Level.java,
316         java/util/logging/LogManager.java,
317         java/util/logging/LogRecord.java,
318         java/util/logging/Logger.java,
319         java/util/logging/LoggingPermission.java,
320         java/util/logging/MemoryHandler.java,
321         java/util/logging/SimpleFormatter.java,
322         java/util/logging/SocketHandler.java,
323         java/util/logging/StreamHandler.java,
324         java/util/logging/XMLFormatter.java:
325         Standardized copyrigth header.
326
327 2004-10-20  Michael Koch  <konqueror@gmx.de>
328
329         * java/security/AlgorithmParameterGenerator.java,
330         java/security/AlgorithmParameters.java,
331         java/security/DigestInputStream.java,
332         java/security/Identity.java,
333         java/security/KeyFactory.java,
334         java/security/KeyPairGenerator.java,
335         java/security/KeyStore.java,
336         java/security/MessageDigest.java,
337         java/security/MessageDigestSpi.java,
338         java/security/Policy.java,
339         java/security/SecureRandom.java,
340         java/security/Security.java,
341         java/security/Signature.java,
342         java/security/SignatureSpi.java,
343         java/security/cert/CertPathBuilder.java,
344         java/security/cert/CertPathValidator.java,
345         java/security/cert/CertStore.java,
346         java/security/cert/Certificate.java,
347         java/security/cert/CertificateFactory.java,
348         java/security/cert/PolicyQualifierInfo.java,
349         java/security/cert/TrustAnchor.java,
350         java/security/cert/X509CRL.java,
351         java/security/cert/X509CRLEntry.java,
352         java/security/cert/X509Certificate.java,
353         java/security/spec/RSAMultiPrimePrivateCrtKeySpec.java:
354         Import statements reorganized, some little formatting issues,
355         used java-style array declarations, added comments in empty catch
356         blocks.
357
358 2004-10-18  Jeroen Frijters  <jeroen@frijters.net>
359
360         * java/security/Security.java
361         (static): Use AccessController.doPrivileged to get system property.
362
363 2004-10-18  Sven de Marothy  <sven@physto.se>
364
365         * java/nio/ByteBufferHelper.java
366         (putDouble): Use Double.toRawLongBits instead.
367
368 2004-10-18  Mark Wielaard  <mark@klomp.org>
369         Andrew Haley  <aph@redhat.com>
370
371         * testsuite/libjava.lang/ExtraClassLoader.java: New.
372
373 2004-10-18  Andrew Haley  <aph@redhat.com>
374
375         PR java/18036:
376         * gnu/gcj/runtime/natStackTrace.cc (fillInStackTrace): Reorganize
377         and correct logic used to find interpreter.
378         
379 2004-10-18  Jeroen Frijters  <jeroen@frijters.net>
380
381         * java/util/logging/LogManager.java
382         (findAncestor): Fixed IndexOutOfBoundsException.
383
384 2004-10-18  Michael Koch  <konqueror@gmx.de>
385
386         * java/io/BufferedInputStream.java: Fixed @author tag.
387         (read): Simplified expression.
388         (read): Merged javadoc a bit more.
389         (read): Renamed 'remain' to 'totalBytesRead'.
390         * java/io/DataInputStream.java,
391         java/io/DataOutputStream.java,
392         java/io/ObjectInputStream.java,
393         java/io/ObjectOutputStream.java:
394         Reworked modifier order.
395
396 2004-10-18  Michael Koch  <konqueror@gmx.de>
397
398         * java/net/Inet4Address.java: Merged file header and javadocs.
399         * java/net/Inet6Address.java: Likewise.
400         * java/net/InetAddress.java
401         (getCanonicalHostName): Create Inet4Address object instead of
402         InetAddress and add comment regarding IPv6.
403         (toString): Simplified.
404
405 2004-10-18  Michael Koch  <konqueror@gmx.de>
406
407         * gnu/java/net/protocol/http/Connection.java,
408         java/nio/MappedByteBufferImpl.java,
409         java/text/RuleBasedCollator.java,
410         java/util/ResourceBundle.java:
411         Reworked import statements.
412
413 2004-10-18  Jeroen Frijters  <jeroen@frijters.net>
414
415         * java/security/IdentityScope.java
416         (systemScope): Removed useless initializer.
417         * java/security/Policy.java
418         (currentPolicy): Likewise.
419
420 2004-10-18  Michael Koch  <konqueror@gmx.de>
421
422         * java/lang/System.java: Revert accidential change.
423
424 2004-10-18  Michael Koch  <konqueror@gmx.de>
425
426         * java/lang/Math.java,
427         java/lang/Package.java,
428         java/lang/Runtime.java,
429         java/lang/StrictMath.java,
430         java/lang/System.java,
431         java/lang/Thread.java,
432         java/lang/ThreadLocal.java,
433         java/lang/Void.java:
434         Reworked import statements, HTML in javadocs and modifier orders.
435
436 2004-10-18  Jeroen Frijters  <jeroen@frijters.net>
437
438         * java/util/Timer.java
439         (nr): Removed useless initializer.
440         * java/util/logging/LogRecord.java
441         (lastSeqNum): Likewise.
442         * javax/naming/spi/NamingManager.java
443         (icfb, ofb): Likewise.
444
445 2004-10-18  Michael Koch  <konqueror@gmx.de>
446
447         * gnu/java/net/PlainDatagramSocketImpl.java:
448         Reworked import statements.
449         * gnu/java/security/provider/DSAParameters.java:
450         Fixed copyrigth years.
451         * java/net/JarURLConnection.java:
452         Fixed HTML in @author tags.
453         
454
455 2004-10-18  Michael Koch  <konqueror@gmx.de>
456
457         * java/rmi/activation/ActivationSystem.java
458         (SYSTEM_PORT): Initialize with correct port number.
459
460 2004-10-18  Michael Koch  <konqueror@gmx.de>
461
462         * java/lang/reflect/Proxy.java: Improved javadocs.
463
464 2004-10-18  Michael Koch  <konqueror@gmx.de>
465
466         * java/lang/reflect/AccessibleObject.java
467         (checkPermission): Removed redundant final modifier.
468         (secureSetAccessible): Likewise.
469         * java/lang/reflect/Proxy.java:
470         Reworked import statements.
471         (generate): Removed redundant final modifier.
472         * java/lang/reflect/ReflectPermission.java:
473         Reorder package declaration and import statement.
474
475 2004-10-18  Jeroen Frijters  <jeroen@frijters.net>
476
477         * java/lang/reflect/Proxy.java
478         (count): Removed useless initializer.
479
480 2004-10-17  Michael Koch  <konqueror@gmx.de>
481
482         * java/net/BindException.java,
483         java/net/ConnectException.java,
484         java/net/ContentHandler.java,
485         java/net/ContentHandlerFactory.java,
486         java/net/DatagramPacket.java,
487         java/net/DatagramSocket.java,
488         java/net/DatagramSocketImpl.java,
489         java/net/DatagramSocketImplFactory.java,
490         java/net/FileNameMap.java,
491         java/net/HttpURLConnection.java,
492         java/net/MalformedURLException.java,
493         java/net/MulticastSocket.java,
494         java/net/NetworkInterface.java,
495         java/net/NoRouteToHostException.java,
496         java/net/PasswordAuthentication.java,
497         java/net/PortUnreachableException.java,
498         java/net/ProtocolException.java,
499         java/net/ServerSocket.java,
500         java/net/Socket.java,
501         java/net/SocketException.java,
502         java/net/SocketImpl.java,
503         java/net/SocketImplFactory.java,
504         java/net/SocketOptions.java,
505         java/net/SocketPermission.java,
506         java/net/SocketTimeoutException.java,
507         java/net/URI.java,
508         java/net/URISyntaxException.java,
509         java/net/URL.java,
510         java/net/URLDecoder.java,
511         java/net/URLEncoder.java,
512         java/net/URLStreamHandler.java,
513         java/net/URLStreamHandlerFactory.java,
514         java/net/UnknownHostException.java,
515         java/net/UnknownServiceException.java:
516         Big import statement and @author tag cleanup.
517
518 2004-10-17  Michael Koch  <konqueror@gmx.de>
519
520         * gnu/java/security/OID.java,
521         gnu/java/security/provider/DSAParameters.java,
522         gnu/java/security/provider/DSASignature.java,
523         gnu/java/security/x509/X500DistinguishedName.java,
524         gnu/java/security/x509/X509CRL.java:
525         Import statements cleaned up.
526
527 2004-10-16  Michael Koch  <konqueror@gmx.de>
528
529         * gnu/java/nio/NIODatagramSocket.java,
530         gnu/java/nio/ServerSocketChannelImpl.java:
531         Reorganized import statements.
532
533 2004-10-16  Michael Koch  <konqueror@gmx.de>
534
535         * gnu/java/rmi/RMIMarshalledObjectOutputStream.java
536         gnu/java/rmi/rmic/RMIC.java,
537         gnu/java/rmi/server/RMIHashes.java,
538         gnu/java/rmi/server/RMIObjectInputStream.java,
539         gnu/java/rmi/server/RMIObjectOutputStream.java,
540         gnu/java/rmi/server/UnicastConnection.java,
541         gnu/java/rmi/server/UnicastConnectionManager.java,
542         gnu/java/rmi/server/UnicastRemoteCall.java,
543         gnu/java/rmi/server/UnicastServer.java,
544         gnu/java/rmi/server/UnicastServerRef.java,
545         java/rmi/MarshalledObject.java,
546         java/rmi/Naming.java,
547         java/rmi/RMISecurityManager.java,
548         java/rmi/Remote.java,
549         java/rmi/activation/Activatable.java,
550         java/rmi/activation/ActivationDesc.java,
551         java/rmi/activation/ActivationGroup.java,
552         java/rmi/activation/ActivationGroupDesc.java,
553         java/rmi/activation/ActivationGroupID.java,
554         java/rmi/activation/ActivationID.java,
555         java/rmi/activation/ActivationInstantiator.java,
556         java/rmi/activation/ActivationMonitor.java,
557         java/rmi/activation/ActivationSystem.java,
558         java/rmi/activation/Activator.java,
559         java/rmi/dgc/DGC.java,
560         java/rmi/dgc/Lease.java,
561         java/rmi/dgc/VMID.java,
562         java/rmi/registry/LocateRegistry.java,
563         java/rmi/registry/Registry.java,
564         java/rmi/registry/RegistryHandler.java,
565         java/rmi/server/LoaderHandler.java,
566         java/rmi/server/LogStream.java,
567         java/rmi/server/ObjID.java,
568         java/rmi/server/Operation.java,
569         java/rmi/server/RMIClassLoader.java,
570         java/rmi/server/RMIClassLoaderSpi.java,
571         java/rmi/server/RMIClientSocketFactory.java,
572         java/rmi/server/RMIFailureHandler.java,
573         java/rmi/server/RMIServerSocketFactory.java,
574         java/rmi/server/RMISocketFactory.java,
575         java/rmi/server/RemoteCall.java,
576         java/rmi/server/RemoteObject.java,
577         java/rmi/server/RemoteRef.java,
578         java/rmi/server/RemoteServer.java,
579         java/rmi/server/RemoteStub.java,
580         java/rmi/server/ServerRef.java,
581         java/rmi/server/Skeleton.java,
582         java/rmi/server/SkeletonMismatchException.java,
583         java/rmi/server/UID.java,
584         java/rmi/server/UnicastRemoteObject.java,
585         java/rmi/server/Unreferenced.java:
586         File headers and import statements cleaned up.
587
588 2004-10-16  Michael Koch  <konqueror@gmx.de>
589
590         * libjava/gnu/java/nio/charset/UTF_16.java,
591         libjava/gnu/java/nio/charset/UTF_16BE.java,
592         libjava/gnu/java/nio/charset/UTF_16LE.java,
593         libjava/java/nio/ByteOrder.java,
594         libjava/java/nio/MappedByteBuffer.java,
595         libjava/java/nio/channels/Channels.java,
596         libjava/java/nio/channels/spi/SelectorProvider.java,
597         libjava/java/nio/charset/Charset.java:
598         Cleanup.
599
600 2004-10-16  Michael Koch  <konqueror@gmx.de>
601
602         * gnu/java/nio/charset/UTF_16Encoder.java
603         (UTF_16Encoder): Fixed maxBytesPerChar handling.
604
605 2004-10-16  Michael Koch  <konqueror@gmx.de>
606
607         * java/math/BigDecimal.java, java/math/BigInteger.java:
608         Reorganized import statements, removed redundant and
609         reorganized modifiers.
610
611 2004-10-16  Michael Koch  <konqueror@gmx.de>
612
613         * gnu/java/beans/ExplicitBeanInfo.java:
614         Explicitely import java.awt.Image.
615         (getIcon): Fixed off-by-one error.
616
617 2004-10-15  Andrew Haley  <aph@redhat.com>
618
619         * Makefile.am (nat_files, xlib_nat_files): New.
620         * Makefile.in: Regenerate.
621
622 2004-10-14  Ulrich Weigand  <uweigand@de.ibm.com>
623
624         * jni.cc (_Jv_JNIMethod::call): Use ffi_java_raw_call instead of
625         ffi_raw_call if FFI_NATIVE_RAW_API is not defined.
626
627 2004-10-13  Andrew Haley  <aph@redhat.com>
628
629         * interpret.cc (_Jv_InterpMethod::run): Initialize
630         _Jv_StartOfInterpreter.
631         (_Jv_StartOfInterpreter, _Jv_EndOfInterpreter): Functions removed.
632         (_Jv_StartOfInterpreter, _Jv_EndOfInterpreter): New variables.
633         * gnu/gcj/runtime/natStackTrace.cc (fillInStackTrace): Use
634         _Unwind_FindEnclosingFunction to discover whether PC is within the
635         interpreter.
636
637 2004-10-12  Rutger Ovidius  <ovidr@users.sourceforge.net>
638
639         PR libgcj/17903:
640         * testsuite/libjava.lang/md5test.java: New file.
641         * testsuite/libjava.lang/md5test.out: Likewise.
642         * testsuite/libjava.lang/shatest.java: Likewise.
643         * testsuite/libjava.lang/shatest.out: Likewise.
644
645 2004-10-11  Richard Henderson  <rth@redhat.com>
646
647         * include/posix-threads.h <__alpha__> (_Jv_ThreadId_t): Use void*.
648         (_Jv_ThreadSelf): Use __builtin_thread_pointer.
649
650 2004-10-08  Bryce McKinlay  <mckinlay@redhat.com>
651
652         * java/util/Calendar.java (set): Invalidate DST_OFFSET
653         field as a DST boundary may have been crossed.
654         * java/util/GregorianCalendar.java (add): Throw 
655         IllegalArgumentException on attempt to add to DST_OFFSET or 
656         ZONE_OFFSET fields. Update javadoc.
657
658 2004-10-09  Michael Koch  <konqueror@gmx.de>
659
660         * java/io/CharArrayWriter.java
661         (resize): Removed redundant 'final' modifier.
662         * java/io/DataInputStream.java
663         (readFully): Throw IndexOutOfBoundsException of len < 0.
664         * java/io/FileDescriptor.java,
665         java/io/FileInputStream.java,
666         java/io/FileOutputStream.java,
667         java/io/ObjectOutputStream.java,
668         java/io/ObjectStreamClass.java,
669         java/io/PipedInputStream.java,
670         java/io/RandomAccessFile.java:
671         Reorganized import statements.
672
673 2004-10-09  Michael Koch  <konqueror@gmx.de>
674
675         * gnu/java/rmi/rmic/RMIC.java,
676         gnu/java/rmi/server/RMIHashes.java,
677         gnu/java/rmi/server/RMIObjectInputStream.java,
678         gnu/java/rmi/server/UnicastConnection.java,
679         gnu/java/rmi/server/UnicastConnectionManager.java,
680         gnu/java/rmi/server/UnicastRemoteCall.java,
681         gnu/java/rmi/server/UnicastServerRef.java:
682         Reworked import statements and fixed file headers.
683
684 2004-10-04  Loren J. Rittle  <ljrittle@acm.org>
685
686         * configure.ac (*-*-freebsd[[1234]]*): Refine error message
687         emission rule.
688         * configure: Rebuilt.
689
690 2004-09-30  Tom Tromey  <tromey@redhat.com>
691
692         * java/text/MessageFormat.java (Field): Constructor now
693         protected.
694
695 2004-09-30  Tom Tromey  <tromey@redhat.com>
696
697         * javax/crypto/MacSpi.java: Fixed typo.
698
699 2004-09-30  Michael Koch  <konqueror@gmx.de>
700
701         * java/net/InetAddress.java: Reformatted.
702         (loopback): Initialize with Inet4Address object.
703         (static): Initialize ANY_IF with Inet4Address object.
704         (InetAddress): Removed unused package-private constructor.
705
706 2004-09-30  Michael Koch  <konqueror@gmx.de>
707
708         * java/beans/Beans.java,
709         java/beans/EventHandler.java,
710         java/beans/EventSetDescriptor.java,
711         java/beans/Introspector.java,
712         java/beans/PropertyEditorManager.java,
713         java/beans/beancontext/BeanContext.java,
714         java/beans/beancontext/BeanContextChild.java,
715         java/beans/beancontext/BeanContextChildSupport.java,
716         java/beans/beancontext/BeanContextMembershipEvent.java:
717         Reordered import statements and removed redundant modifiers.
718
719 2004-09-29  Tom Tromey  <tromey@redhat.com>
720
721         PR libgcj/17715:
722         * Makefile.in: Rebuilt.
723         * Makefile.am (libgcj-@gcc_version@.jar): Include properties
724         files.
725         (all_property_files): New macro.
726
727         * Makefile.in: Rebuilt.
728         * Makefile.am (ordinary_java_source_files): Re-sorted.
729         (libgcj.la): Moved to old location near lib-gnu-awt-xlib.la.
730
731 2004-09-28  Tom Tromey  <tromey@redhat.com>
732
733         * jni.cc (_Jv_JNI_RegisterNatives): Formatting fixlets.
734
735         PR libgcj/17222:
736         * Makefile.am (libgcj.la): Restored.
737         * Makefile.in: Rebuilt.
738
739 2004-09-28  Michael Koch  <konqueror@gmx.de>
740
741         * java/net/URLConnection.java: Reformatted.
742         * java/net/URLClassLoader.java: Reformatted.
743         (getContent): Reordered return of content.
744         (getContentHandler): Don't check for null explicitely.
745
746 2004-09-27  Michael Koch  <konqueror@gmx.de>
747
748         * java/io/BufferedInputStream.java
749         (BufferedInputStream): Added Jeroen Frijters to authors.
750         (count): Don't explicitely initialize with default value.
751         (pos): Likewise.
752         (marklimit): Likewise.
753         (read): Changed boolean expression to match GNU classpath' version.
754         (reset): Add proper message to exception.
755         (skip): Check for closed stream.
756         (refill): Likewise.
757
758 2004-09-26  Per Bothner  <per@bothner.com>
759
760         * prims.cc (unblock_signal): Annotate signum with __unused__ to
761         avoid warnings in the non-POSIX_VERSION case.
762         Also, we only need this function if either HANDLE_SEGV or HANDLE_FPE,
763         so place it inside an #if block.
764         * include/default-signal.h (SIGNAL_HANDLER): Parameters are __unused__.
765         * include/i386-signal.h (SIGNAL_HANDLER):  Likewise
766         * include/mips-signal.h (SIGNAL_HANDLER):  Likewise
767         * include/sparc-signal.h (SIGNAL_HANDLER):  Likewise
768
769 2004-09-26  Per Bothner  <per@bothner.com>
770
771         * prims.cc (process_gcj_properties):  Optimization.
772
773 2004-09-26  Per Bothner  <per@bothner.com>
774
775         * java/util/Collections.java (sort):  Copy from array in forwards
776         order, rather than reverse order which may be much less efficient.
777
778 2004-09-26  Mark Wielaard  <mark@klomp.org>
779
780         * java/lang/System.java (properties): Make package private.
781         * java/lang/Throwable.java (StaticData.nl): Initialize through
782         directly accessing System.properties.getProperty().
783
784         * java/lang/Throwable.java (nl): Remove static field.
785         (StaticData): New private static inner class.
786         (stackTraceStringBuffer): Use StaticData.nl.
787
788 2004-09-26  Casey Marshall <csm@gnu.org>
789
790         * java/security/ProtectionDomain.java
791         (<init>(CodeSource,PermissionCollection)): set `staticBinding' to
792         `true'.
793
794         * java/security/SecureClassLoader.java
795         (defineClass): make protection domain dynamically bound.
796         (getPermissions): call `getCurrentPolicy' to avoid permission
797         check.
798
799 2004-09-25  Mark Wielaard  <mark@klomp.org>
800
801         * Makefile.am (core_java_source_files): Add VMTimeZone.java.
802         (nat_source_files): Rename natTimeZone.cc to natVMTimeZone.cc.
803         * Makefile.in: Regenerated.
804
805         * gcj/javaprims.h: Regenerated.
806
807         * java/util/TimeZone.java (defaultZone): Use VMTimeZone.
808         (getDefaultTimeZone): Make package private. Check that GMToffset
809         contains at least one digit.
810         (getDefaultTimeZoneId, readTimeZoneFile, readtzFile): (Re)Moved to
811         VMTimeZone.
812         * util/VMTimeZone.java: New file with above methods.
813
814         * java/util/natTimeZone.cc: Removed (renamed).
815         * java/util/natVMTimeZone.cc: Added (renamed).
816
817 2004-09-25  Jeroen Frijters  <jeroen@frijters.net>
818
819         * java/util/TimeZone.java
820         (getDefaultTimeZone): Fixed test to distinguish between hours and
821         minutes in specified timezone.
822
823 2004-09-25  Jeroen Frijters  <jeroen@frijters.net>
824
825         * java/lang/reflect/Proxy.java (getPackage, ClassFactory): Fixed
826         handling of default package. (generate): Removed confused comments
827         and code about making Method and Field accessible.
828
829 2004-09-25  Tom Tromey  <tromey@redhat.com>
830
831         PR java/17500:
832         * testsuite/libjava.compile/pr17500.java: New file.
833
834 2004-09-25  Shashank Bapat  <shashankbapat@yahoo.com>
835             Mark Wielaard  <mark@klomp.org>
836
837         * gnu/regexp/RE.java (initialize): Add RETokenLookAhead support.
838         * gnu/regexp/RETokenLookAhead.java: New file.
839
840         * Makefile.am (ordinary_java_source_files): Add RETokenLookAhead.java.
841         * Makefile.in: Regenerated.
842
843 2004-09-25  Michael Koch  <konqueror@gmx.de>
844
845         * java/io/ObjectStreamField.java:
846         Removed unused import statement.
847
848 2004-09-24  Tom Tromey  <tromey@redhat.com>
849
850         PR java/15656:
851         * testsuite/libjava.compile/pr15656.xfail: New file.
852         * testsuite/libjava.compile/pr15656.java: new file.
853
854         PR java/16789:
855         * testsuite/libjava.lang/pr16789.out: New file.
856         * testsuite/libjava.lang/pr16789.java: New file.
857
858 2004-09-24  Andrew Haley  <aph@redhat.com>
859
860         PR java/16927
861         * testsuite/libjava.compile/AssertBug.java: New file.
862
863 2004-09-24  Casey Marshall <csm@gnu.org>
864
865         * java/util/PropertyPermissionCollection.java
866         (implies): avoid infinite loop.
867
868 2004-09-24  Andrew John Hughes  <gnu_andrew@member.fsf.org>
869
870         * javax/security/auth/PrivateCredentialPermission.java
871         (PrivateCredentialPermission): added serialization UID
872
873
874 2004-09-24  Ilya Perminov  <iperminov@logicalsoft.com>
875
876         * gnu/java/rmi/server/UnicastServer.java
877         (incomingMessageCall): Added code to handle Errors.
878         * gnu/java/rmi/server/UnicastServerRef.java
879         (incomingMessageCall): Added code to handle Errors.
880
881
882 2004-09-24  Tom Tromey  <tromey@redhat.com>
883
884         * java/lang/ClassLoader.java (loadedClasses): Declare as HashMap.
885         (definedPackages): Likewise.
886
887 2004-09-24  Michael Koch  <konqueror@gmx.de>
888
889         * java/io/ObjectInputStream.java:
890         Re-ordered imports.
891
892 2004-09-24  Casey Marshall <csm@gnu.org>
893
894         * java/io/ObjectInputStream.java (callReadMethod): re-throw
895         `ClassNotFoundException'.
896
897 2004-09-24  Jeroen Frijters  <jeroen@frijters.net>
898
899         * java/io/ObjectInputStream.java (readObject): Delegate instantation
900         of Externalizable classes to ObjectStreamClass.
901         * java/io/ObjectStreamClass.java (newInstance): New method to
902         instantiate Externalizable (while ignoring the accessibility of
903         the constructor). (constructor): New field to cache the constructor.
904
905 2004-09-24  Mark Wielaard  <mark@klomp.org>
906
907         * java/net/URL.java (systemClassLoader): New static field.
908         (getURLStreamHandler): Always use system/application classloader
909         for finding URLStreamhandler. Remove unecessary instanceof checks.
910
911 2004-09-24  Guilhem Lavaux <guilhem@kaffe.org>
912
913         * java/net/URL.java
914         (set): This method now matches the behaviour of the JDK.
915         (DEFAULT_SEARCH_PATH): Added "gnu.inet".
916
917 2004-09-24  Guilhem Lavaux  <guilhem@kaffe.org>
918
919         * java/net/URL.java (URL): Delete whitespaces in the protocol string.
920
921 2004-09-24  Jeroen Frijters  <jeroen@frijters.net>
922
923         * java/net/URL.java (URL(String,String,int,String,URLStreamHandler):
924         Don't set authority if host isn't specified.
925
926 2004-09-24  Michael Koch  <konqueror@gmx.de>
927
928         * gnu/java/nio/PipeImpl.java: Use VMPipe for native stuff.
929         * gnu/java/nio/SelectorImpl.java: Use VMSelector for native stuff.
930         * gnu/java/nio/VMPipe.java,
931         gnu/java/nio/VMSelector.java:
932         New files.
933         * gnu/java/nio/natPipeImplEcos.cc,
934         gnu/java/nio/natPipeImplPosix.cc,
935         gnu/java/nio/natPipeImplWin32.cc:
936         Ported to VMPipe.
937         * gnu/java/nio/natSelectorImplEcos.cc,
938         gnu/java/nio/natSelectorImplPosix.cc,
939         gnu/java/nio/natSelectorImplWin32.cc:
940         Ported to VMSelector.
941         * Makefile.am: Added new files gnu/java/nio/VMPipe.java and
942         gnu/java/nio/VMSelector.java.
943         * Makefile.in: Regenerated.
944
945 2004-09-24  Jeroen Frijters  <jeroen@frijters.net>
946
947         * java/lang/StackTraceElement.java
948         (className): Renamed field to declaringClass to be compatible
949         with Sun serialization format.
950
951 2004-09-23  Michael Koch  <konqueror@gmx.de>
952
953         * java/applet/AppletContext.java,
954         java/applet/Applet.java,
955         java/applet/AppletStub.java,
956         java/applet/AudioClip.java:
957         Jalopied and checkstyle clean.
958
959 2004-09-23  Mark Wielaard  <mark@klomp.org>
960
961         * java/util/Collections.java
962         (binarySearch(List, Object, Comparator)): Explicitly
963         reverse direction in list iterator.
964         (rotate): Just return when list is empty.
965
966 2004-09-23  Tom Tromey  <tromey@redhat.com>
967
968         PR java/17329:
969         * testsuite/libjava.compile/pr17329.java: New file.
970
971         PR java/17380:
972         * testsuite/libjava.jacks/jacks.xfail: Added 9.2-implicit-6 and
973         9.2-implicit-7.
974
975 2004-09-22  Kelley Cook  <kcook@gcc.gnu.org>
976
977         * Makefile.am: Run aclocal with -I ../config
978         * acinclude.m4: Delete macros picked up from ../config and tidy.
979         (AM_ICONV,AM_LC_MESSAGES, PKG_CHECK_MODULES): Delete.
980         * aclocal.m4, configure, Makefile.in, gcj/Makefile.in: Regenerate.
981         * include/Makefile.in, testsuite/Makefile.in: Regenerate.
982
983 2004-09-22  Kelley Cook  <kcook@gcc.gnu.org>
984
985         * aclocal.m4: Regenerate with aclocal 1.9.2.
986         * configure: Regenerate.
987         * Makefile.in, gcj/Makefile.in: Regenerate with automake 1.9.2.
988         * include/Makefile.in, testsuite/Makefile.in: Likewise.
989
990 2004-09-22  David Daney  <ddaney@avtrex.com>
991
992         PR libgcj/17623
993         * java/net/URL.java (URL): Copy userInfo from context.
994         (getUserInfo): Return cached userInfo if present.
995
996 2004-09-22  Tom Tromey  <tromey@redhat.com>
997
998         PR libgcj/6182:
999         * mauve-libgcj: Enable java.lang.Character tests.
1000
1001 2004-09-22  Andreas Tobler  <a.tobler@schweiz.ch>
1002
1003         * Makefile.am (lib_org_ietf_jgss_la_DEPENDENCIES): Add missing
1004         dependencies.
1005         (lib_org_ietf_jgss_la_LIBADD): Likewise.
1006         * Makefile.in: Regenerated.
1007
1008 2004-09-22  Andreas Tobler  <a.tobler@schweiz.ch>
1009
1010         * configure.ac: Introduce AC_C_BIGENDIAN_CROSS for WORDS_BIGENDIAN.
1011         * configure: Regenerate.
1012         * include/config.h.in: Likewise.
1013         * jni/gtk-peer/gtkpeer.h (SWAPU32): Introduce macro to swap pixels.
1014         * jni/gtk-peer/gnu_java_awt_peer_gtk_GtkImagePainter.c: Moved SWAPU32
1015         macro to gtkpeer.h.
1016         * jni/gtk-peer/gnu_java_awt_peer_gtk_GdkGraphics2D.c
1017         (Java_gnu_java_awt_peer_gtk_GdkGraphics2D_getImagePixels): Convert
1018         pixels from  0xBBGGRRAA to 0xAARRGGBB only on Little Endian
1019         architectures.
1020         * jni/gtk-peer/gnu_java_awt_peer_gtk_GdkPixbufDecoder.c (area_updated):
1021         Likewise.
1022
1023 2004-09-22  Tom Tromey  <tromey@redhat.com>
1024
1025         PR libgcj/14446:
1026         * java/util/zip/GZIPInputStream.java (read): Avoid sign extension
1027         when comparing CRCs.
1028         * java/util/zip/InflaterInputStream.java (onebytebuffer): New
1029         field.
1030         (read()): New overload.
1031
1032 2004-09-21  Tom Tromey  <tromey@redhat.com>
1033
1034         * java/lang/reflect/natMethod.cc (_Jv_CallAnyMethodA):
1035         Indentation fix.
1036
1037 2004-09-21  Michael Koch  <konqueror@gmx.de>
1038
1039         * java/net/Socket.java
1040         (getLocalAddress): Return InetAddress.ANY_IF if not bound yet.
1041
1042 2004-09-21  Casey Marshall  <csm@gnu.org>
1043
1044         * javax/crypto/MacSpi.java (clone): Provide meaningful
1045         implementation.
1046
1047 2004-09-21  Tom Tromey  <tromey@redhat.com>
1048
1049         PR libgcj/16869:
1050         * Makefile.in: Rebuilt.
1051         * Makefile.am (MOSTLYCLEANFILES): Removed.
1052         (mostlyclean-local): Remove header files.
1053
1054 2004-09-21  Casey Marshall  <csm@gnu.org>
1055
1056         * java/security/cert/X509CRLSelector.java:
1057         (match): remove unreachable try-catch clauses.
1058         Reported by: Dalibor Topic <robilad@kaffe.org>
1059
1060 2004-09-21  Mark Wielaard  <mark@klomp.org>
1061
1062         * java/util/TreeMap.java (root): Don't initialize.
1063         (TreeMap(Comparator)): Call fabricateTree(0).
1064         (fabricateTree): Initialize root and size when count is 0.
1065
1066 2004-09-21  Sven de Marothy <sven@physto.se>
1067
1068         * java/nio/ByteBuffer.java (hashCode): Implemented.
1069         * java/nio/CharBuffer.java: Likewise.
1070         * java/nio/DoubleBuffer.java: Likewise.
1071         * java/nio/FloatBuffer.java: Likewise.
1072         * java/nio/LongBuffer.java: Likewise.
1073         * java/nio/IntBuffer.java: Likewise.
1074         * java/nio/ShortBuffer.java: Likewise.
1075
1076 2004-09-21  Andreas Tobler  <a.tobler@schweiz.ch>
1077
1078         * javax/security/auth/x500/X500Principal.java: Fix some merge glitches.
1079
1080 2004-09-21  Michael Koch  <konqueror@gmx.de>
1081
1082         * javax/net/ssl/SSLServerSocket.java:
1083         Removed comment about "Do not edit this file, it's generated.".
1084
1085 2004-09-21  Andreas Tobler  <a.tobler@schweiz.ch>
1086
1087         Import the big Crypto/Jessie/Security merge from Classpath.
1088
1089         * Makefile.am: Add imported files.
1090         * Makefile.in: Regenerate.
1091
1092         2004-08-14  Casey Marshall <csm@gnu.org>
1093
1094         The Big Crypto Merge of 2004.
1095
1096         * javax/security/auth/x500/X500Principal.java: Replaced with GNU
1097         Crypto's version.
1098
1099         Files imported from GNU Crypto.
1100         * javax/crypto/BadPaddingException.java
1101         * javax/crypto/Cipher.java
1102         * javax/crypto/CipherInputStream.java
1103         * javax/crypto/CipherOutputStream.java
1104         * javax/crypto/CipherSpi.java
1105         * javax/crypto/EncryptedPrivateKeyInfo.java
1106         * javax/crypto/ExemptionMechanism.java
1107         * javax/crypto/ExemptionMechanismException.java
1108         * javax/crypto/ExemptionMechanismSpi.java
1109         * javax/crypto/IllegalBlockSizeException.java
1110         * javax/crypto/KeyAgreement.java
1111         * javax/crypto/KeyAgreementSpi.java
1112         * javax/crypto/KeyGenerator.java
1113         * javax/crypto/KeyGeneratorSpi.java
1114         * javax/crypto/Mac.java
1115         * javax/crypto/MacSpi.java
1116         * javax/crypto/Makefile.am
1117         * javax/crypto/NoSuchPaddingException.java
1118         * javax/crypto/NullCipher.java
1119         * javax/crypto/NullCipherImpl.java
1120         * javax/crypto/SealedObject.java
1121         * javax/crypto/SecretKey.java
1122         * javax/crypto/SecretKeyFactory.java
1123         * javax/crypto/SecretKeyFactorySpi.java
1124         * javax/crypto/ShortBufferException.java
1125         * javax/crypto/interfaces/DHKey.java
1126         * javax/crypto/interfaces/DHPrivateKey.java
1127         * javax/crypto/interfaces/DHPublicKey.java
1128         * javax/crypto/interfaces/PBEKey.java
1129         * javax/crypto/spec/DESKeySpec.java
1130         * javax/crypto/spec/DESedeKeySpec.java
1131         * javax/crypto/spec/DHGenParameterSpec.java
1132         * javax/crypto/spec/DHParameterSpec.java
1133         * javax/crypto/spec/DHPrivateKeySpec.java
1134         * javax/crypto/spec/DHPublicKeySpec.java
1135         * javax/crypto/spec/IvParameterSpec.java
1136         * javax/crypto/spec/PBEKeySpec.java
1137         * javax/crypto/spec/PBEParameterSpec.java
1138         * javax/crypto/spec/RC2ParameterSpec.java
1139         * javax/crypto/spec/RC5ParameterSpec.java
1140         * javax/crypto/spec/SecretKeySpec.java
1141         * javax/security/auth/AuthPermission.java
1142         * javax/security/auth/DestroyFailedException.java
1143         * javax/security/auth/Destroyable.java
1144         * javax/security/auth/Policy.java
1145         * javax/security/auth/PrivateCredentialPermission.java
1146         * javax/security/auth/RefreshFailedException.java
1147         * javax/security/auth/Refreshable.java
1148         * javax/security/auth/Subject.java
1149         * javax/security/auth/SubjectDomainCombiner.java
1150         * javax/security/auth/callback/Callback.java
1151         * javax/security/auth/callback/CallbackHandler.java
1152         * javax/security/auth/callback/ChoiceCallback.java
1153         * javax/security/auth/callback/ConfirmationCallback.java
1154         * javax/security/auth/callback/LanguageCallback.java
1155         * javax/security/auth/callback/NameCallback.java
1156         * javax/security/auth/callback/PasswordCallback.java
1157         * javax/security/auth/callback/TextInputCallback.java
1158         * javax/security/auth/callback/TextOutputCallback.java
1159         * javax/security/auth/callback/UnsupportedCallbackException.java
1160         * javax/security/auth/login/AccountExpiredException.java
1161         * javax/security/auth/login/AppConfigurationEntry.java
1162         * javax/security/auth/login/Configuration.java
1163         * javax/security/auth/login/CredentialExpiredException.java
1164         * javax/security/auth/login/FailedLoginException.java
1165         * javax/security/auth/login/LoginContext.java
1166         * javax/security/auth/login/LoginException.java
1167         * javax/security/auth/login/NullConfiguration.java
1168         * javax/security/auth/x500/X500PrivateCredential.java
1169         * javax/security/sasl/AuthenticationException.java
1170         * javax/security/sasl/AuthorizeCallback.java
1171         * javax/security/sasl/RealmCallback.java
1172         * javax/security/sasl/RealmChoiceCallback.java
1173         * javax/security/sasl/Sasl.java
1174         * javax/security/sasl/SaslClient.java
1175         * javax/security/sasl/SaslClientFactory.java
1176         * javax/security/sasl/SaslException.java
1177         * javax/security/sasl/SaslServer.java
1178         * javax/security/sasl/SaslServerFactory.java
1179         * org/ietf/jgss/ChannelBinding.java
1180         * org/ietf/jgss/GSSContext.java
1181         * org/ietf/jgss/GSSCredential.java
1182         * org/ietf/jgss/GSSException.java
1183         * org/ietf/jgss/GSSManager.java
1184         * org/ietf/jgss/GSSName.java
1185         * org/ietf/jgss/MessageProp.java
1186         * org/ietf/jgss/Oid.java
1187         * org/ietf/jgss/MessagesBundle.properties
1188
1189         Files imported from Jessie <http://www.nongnu.org/jessie/>
1190         * javax/net/ServerSocketFactory.java
1191         * javax/net/SocketFactory.java
1192         * javax/net/VanillaServerSocketFactory.java
1193         * javax/net/VanillaSocketFactory.java
1194         * javax/net/ssl/HandshakeCompletedEvent.java
1195         * javax/net/ssl/HandshakeCompletedListener.java
1196         * javax/net/ssl/HostnameVerifier.java
1197         * javax/net/ssl/HttpsURLConnection.java
1198         * javax/net/ssl/KeyManager.java
1199         * javax/net/ssl/KeyManagerFactory.java
1200         * javax/net/ssl/KeyManagerFactorySpi.java
1201         * javax/net/ssl/ManagerFactoryParameters.java
1202         * javax/net/ssl/SSLContext.java
1203         * javax/net/ssl/SSLContextSpi.java
1204         * javax/net/ssl/SSLException.java
1205         * javax/net/ssl/SSLHandshakeException.java
1206         * javax/net/ssl/SSLKeyException.java
1207         * javax/net/ssl/SSLPeerUnverifiedException.java
1208         * javax/net/ssl/SSLPermission.java
1209         * javax/net/ssl/SSLProtocolException.java
1210         * javax/net/ssl/SSLServerSocket.java
1211         * javax/net/ssl/SSLServerSocketFactory.java
1212         * javax/net/ssl/SSLSession.java
1213         * javax/net/ssl/SSLSessionBindingEvent.java
1214         * javax/net/ssl/SSLSessionBindingListener.java
1215         * javax/net/ssl/SSLSessionContext.java
1216         * javax/net/ssl/SSLSocket.java
1217         * javax/net/ssl/SSLSocketFactory.java
1218         * javax/net/ssl/TrivialHostnameVerifier.java
1219         * javax/net/ssl/TrustManager.java
1220         * javax/net/ssl/TrustManagerFactory.java
1221         * javax/net/ssl/TrustManagerFactorySpi.java
1222         * javax/net/ssl/X509KeyManager.java
1223         * javax/net/ssl/X509TrustManager.java
1224         * javax/security/cert/Certificate.java
1225         * javax/security/cert/CertificateEncodingException.java
1226         * javax/security/cert/CertificateException.java
1227         * javax/security/cert/CertificateExpiredException.java
1228         * javax/security/cert/CertificateNotYetValidException.java
1229         * javax/security/cert/CertificateParsingException.java
1230         * javax/security/cert/X509CertBridge.java
1231         * javax/security/cert/X509Certificate.java
1232
1233         2004-08-20  Casey Marshall  <csm@gnu.org>
1234
1235         * java/security/cert/X509CRLSelector.java: New file.
1236         * java/security/cert/X509CertSelector.java: New file.
1237
1238 2004-09-15  Michael Koch  <konqueror@gmx.de>
1239
1240         * gnu/java/net/protocol/file/Handler.java
1241         (openConnection): Don't throw exception if host part for file: URI is
1242         present. setURL() keeps file: protocol if ftp: protocol is not
1243         available.
1244
1245 2004-09-14  Richard Henderson  <rth@redhat.com>
1246
1247         * java/lang/natPosixProcess.cc (waitForSignal): Ignore return
1248         value of sigsuspend.
1249
1250 2004-09-12  Tom Tromey  <tromey@redhat.com>
1251
1252         * javax/naming/CompoundName.java (CompoundName): Don't check for
1253         separator in "flat" case.
1254
1255 2004-09-12  Michael Koch  <konqueror@gmx.de>
1256
1257         * libltdl/configure.ac: Fixed AM_INIT_AUTOMAKE usage and replaces
1258         AM_CONFIG_HEADER by AC_CONFIG_FILES.
1259         * libltdl/Makefile.in, libltdl/aclocal.m4, libltdl/configure:
1260         Regenerate.
1261
1262 2004-09-11  Mohan Embar  <gnustuff@thisiscool.com>
1263
1264         PR libgcj/14751
1265         * win32-threads.cc (_Jv_ThreadInitData): Zero out thread
1266         handle in newly-allocated _Jv_Thread_t.
1267         (_Jv_ThreadDestroyData): Close thread handle.
1268         (_Jv_ThreadStart): Remove obsolete comment.
1269         Store handle of newly-created thread in _Jv_Thread_t.
1270         * include/win32-threads.h: #define WIN32_LEAN_AND_MEAN
1271         before including <windows.h>
1272         #define _Jv_HaveCondDestroy
1273
1274 2004-09-11  Mohan Embar  <gnustuff@thisiscool.com>
1275
1276         * java/lang/natThread.cc (finalize_native): Destroy
1277         join conditional variable and mutex if these destroy
1278         operations are supported.
1279
1280 2004-09-10  Dalibor Topic <robilad@kaffe.org>
1281
1282         * gnu/java/net/protocol/file/Connection.java (permission): New field.
1283         (DEFAULT_PERMISSION): New constant.
1284         (Connection): Create a FilePermission with permission to read file.
1285
1286 2004-09-10  Michael Koch  <konqueror@gmx.de>
1287
1288         * gnu/java/net/protocol/file/Connection.java
1289         (getLastModified): Moved around.
1290         (getPermission): Return stored permission.
1291
1292 2004-09-10  Michael Koch  <konqueror@gmx.de>
1293
1294         * Makefile.in: Regenerate.
1295
1296 2004-09-10  Michael Koch  <konqueror@gmx.de>
1297
1298         * Makefile.am: Reverted accidently commited stuff.
1299         * configure: Regenerated.
1300
1301 2004-09-10  Michael Koch  <konqueror@gmx.de>
1302
1303         * gnu/java/net/protocol/file/Connection.java
1304         (lineSeparator): Made non-final.
1305         (static): Removed.
1306         (connect): Initialize lineSeparator lazily. Use ByteArrayInputStream
1307         instead of StringBufferInputStream.
1308
1309 2004-09-10  Michael Koch  <konqueror@gmx.de>
1310
1311         * gnu/java/net/protocol/file/Connection.java
1312         (connect): Handle file is a directory case.
1313
1314 2004-09-10  Michael Koch  <konqueror@gmx.de>
1315
1316         * Makefile.am
1317         (xlib_includes): Removed.
1318         (AM_CPPFLAGS): Renamed from INCLUDES.
1319         (lib_gnu_awt_xlib_la_CPPFLAGS): New automake variable.
1320         * Makefile.in: Regenerate.
1321
1322 2004-09-09  Michael Koch  <konqueror@gmx.de>
1323
1324         * java/security/ProtectionDomain.java,
1325         * java/util/PropertyPermissionCollection.java:
1326         Fixed javadocs all over.
1327
1328 2004-09-09  Sven de Marothy  <sven@physto.se>
1329
1330         Patch from David Gilbert <david.gilbert@object-refinery.com>
1331         * java/lang/Comparable.java: Fixed documentation errors.
1332         * java/util/Arrays.java: Likewise.
1333
1334 2004-09-09  Andrew John Hughes  <gnu_andrew@member.fsf.org>
1335
1336         * java/net/Inet4Address.java
1337         (Inet4Address): Added comment to serialization UID.
1338         * java/text/Format.java
1339         (Format): Added comment to serialization UID.
1340
1341 2004-09-09  Michael Koch  <konqueror@gmx.de>
1342
1343         * java/lang/System.java
1344         (err): Fixed javadoci to point to setErr() and not setOut().
1345
1346 2004-09-09  Jeroen Frijters  <jeroen@frijters.net>
1347
1348         (normalizePath): Added special case for windows systems.
1349
1350 2004-09-09  Michael Koch  <konqueror@gmx.de>
1351
1352         * java/io/File.java
1353         (dupSeparator): Made private.
1354         (File(URI)): New constructor.
1355         (getParentFile): Fixed javadoc.
1356         (createTempFile): Reformated.
1357         (setReadOnly): Added comment.
1358         (deleteOnExit): Merged javadoc with classpath version.
1359
1360 2004-09-09  Michael Koch  <konqueror@gmx.de>
1361
1362         * Makefile.am: Don't try to include deps.mk.
1363         * Makefile.in: Regenerated.
1364
1365 2004-09-08  Bryce McKinlay  <mckinlay@redhat.com>
1366
1367         * configure.ac (AC_CONFIG_COMMANDS): Don't create subdirectories and
1368         .d files.
1369         * configure: Rebuilt.
1370
1371 2004-09-04  Mohan Embar  <gnustuff@thisiscool.com>
1372
1373         * java/net/natNetworkInterfaceWin32.cc (getRealNetworkInterfaces):
1374         Changed pfn from static local to local.
1375
1376 2004-09-03  Bryce McKinlay  <mckinlay@redhat.com>
1377             H.J. Lu  <hongjiu.lu@intel.com>
1378
1379         PR libgcj/17290
1380         * Makefile.am (GCJCOMPILE): Remove definition.
1381         (AM_CFLAGS): Add -fclasspath and -fbootclasspath flags.
1382         Use LTGCJCOMPILE, not GCJCOMPILE, to build .lo targets.
1383         * Makefile.in: Rebuilt.
1384
1385 2004-09-03  Kelley Cook  <kcook@gcc.gnu.org>
1386
1387         * configure.ac (enable-gc-debug): Update help for new syntax.
1388         * configure: Regenerate.
1389
1390 2004-09-03  David Daney  <ddaney@avtrex.com>
1391
1392         * include/mips-signal.h: Update copyright.
1393
1394 2004-09-03  David Daney  <ddaney@avtrex.com>
1395
1396         * configure.host: Use -fno-use-divide-subroutine for mips*-*-linux*.
1397         * include/mips-signal.h: Added HANDLE_FPE support.
1398         
1399 2004-08-31  Michael Koch  <konqueror@gmx.de>
1400
1401         * javax/swing/plaf/basic/BasicTextAreaUI.java
1402         (create): New method.
1403         * javax/swing/text/DefaultHighlighter.java
1404         (DefaultHighlightPainter.debugRect): Removed.
1405         * javax/swing/text/StyleContext.java
1406         (DEFAULT_STYLE): New field.
1407
1408 2004-08-31  Michael Koch  <konqueror@gmx.de>
1409
1410         * javax/swing/plaf/basic/BasicLookAndFeel.java
1411         (initComponentDefaults): Add keybindings for selection.backward and
1412         selection-forward for text components.
1413         * javax/swing/plaf/basic/BasicTextUI.java
1414         (paintSafely): Paint highlight only when something is actually
1415         selected.
1416         * javax/swing/text/DefaultCaret.java
1417         (handleHighlight): New method.
1418         (setSelectionVisible): Don't do anything when nothing changes.
1419         Handle highlight.
1420         (moveDot): Reimplemented. Handle highlight.
1421         (setDot): Set mark too. Handle highlight.
1422         (getSelectionPainter): New method.
1423         * javax/swing/text/DefaultEditorKit.java
1424         (defaultActions): Added new actions for text selection.
1425         * javax/swing/text/DefaultHighlighter.java
1426         (DefaultHighlightPainter): New inner class.
1427         (DefaultPainter): New field.
1428         (paint): Implemented.
1429         * javax/swing/text/PlainView.java
1430         (paint): Don't draw background here again.
1431         * javax/swing/text/Utilities.java
1432         (getTabbedTextWidth): Use width of ' ' instead of 'm' for tabsize.
1433         (drawTabbedText): Likewise.
1434
1435 2004-08-31  Graydon Hoare  <graydon@redhat.com>
1436
1437         * javax/swing/JComponent.java
1438         (resetKeyboardActions): Add null checks.
1439
1440 2004-08-31  Graydon Hoare  <graydon@redhat.com>
1441
1442         * javax/swing/DefaultButtonModel.java:
1443         Skip group notification when no group is set.
1444
1445 2004-08-31  Graydon Hoare  <graydon@redhat.com>
1446
1447         * javax/swing/JColorChooser.java: 
1448         Make a couple inner classes static, for jikes.
1449
1450 2004-08-31  Michael Koch  <konqueror@gmx.de>
1451
1452         * javax/swing/plaf/basic/BasicTextUI.java
1453         (RottView.modelToView): New method.
1454         (UpdateHandler): Renamed from EventHandler.
1455         (updateHandler): Renamed from eventHandler.
1456         (modelToView): Implemented.
1457         * javax/swing/text/AbstractDocument.java
1458         (BranchElement.getElement): Return null for non-existing indeces.
1459         (BranchElement.getElementIndex): Return 0 in some corner cases.
1460         * javax/swing/text/FieldView.java
1461         (modelToView): New method.
1462         * javax/swing/text/PlainView.java
1463         (modelToView): Made public.
1464
1465 2004-08-31  Kim Ho  <kho@redhat.com>
1466
1467         * Makefile.am: New files.
1468         * Makefile.in: Regenerate.
1469         * gcj/Makefile.in: Regenerate.
1470         * include/Makefile.in: Regenerate.
1471         * java/awt/Color.java: Fix documentation.
1472         (RGBtoHSB): Use floats for conversions.
1473         * javax/swing/ButtonGroup.java: Run Jalopy.
1474         (setSelected): Reimplement.
1475         * javax/swing/DefaultButtonModel.java: Run Jalopy.
1476         (changeState): Let ButtonGroup know that the button 
1477         is changing state.
1478         * javax/swing/JColorChooser.java: Implement.
1479         * javax/swing/JLabel.java: Run Jalopy.
1480         * javax/swing/JSpinner.java: Run Jalopy.
1481         (setValue): New method.
1482         * javax/swing/JTabbedPane.java: Run Jalopy.
1483         (removeTabAt): Call correct remove method.
1484         * javax/swing/SpinnerNumberModel.java: Run Jalopy.
1485         (getPreviousValue): Compare minimum value.
1486         * javax/swing/Timer.java: Run Jalopy.
1487         (run): Comment out println.
1488         * javax/swing/ToolTipManager.java:
1489         (mouseMoved): Get new tooltip text for location.
1490         * javax/swing/colorchooser/AbstractColorChooserPanel.java:
1491         Jalopy and Javadoc.
1492         * javax/swing/colorchooser/ColorChooserComponentFactory.java:
1493         Implement.
1494         * javax/swing/colorchooser/DefaultColorSelectionModel.java:
1495         Run Jalopy.
1496         (setSelectedColor): Fire ChangeEvent.
1497         * javax/swing/colorchooser/DefaultHSBChooserPanel.java:
1498         New file. Implement.
1499         * javax/swing/colorchooser/DefaultPreviewPanel.java:
1500         Ditto.
1501         * javax/swing/colorchooser/DefaultRGBChooserPanel.java:
1502         Ditto.
1503         * javax/swing/colorchooser/DefaultSwatchChooserPanel.java:
1504         Ditto.
1505         * javax/swing/plaf/basic/BasicArrowButton.java:
1506         (getArrow): Fix size of upward pointing button.
1507         * javax/swing/plaf/basic/BasicColorChooserUI.java:
1508         Implement.
1509         * javax/swing/plaf/basic/BasicSliderUI.java:
1510         (getWidthOfWidestLabel): Use preferred dimensions.
1511         (getHeightOfTallestLabel): Ditto.
1512         * javax/swing/plaf/basic/BasicSpinnerUI.java:
1513         Run Jalopy.
1514         (mousePressed): Disable changes to spinner if it is not enabled.
1515         * testsuite/Makefile.in: Regenerate.
1516
1517
1518 2004-08-31  Michael Koch  <konqueror@gmx.de>
1519
1520         * javax/swing/plaf/basic/BasicTableHeaderUI.java,
1521         javax/swing/plaf/basic/BasicTableUI.java:
1522         Added copyright notice.
1523
1524 2004-08-31  Olga Rodimina  <rodimina@redhat.com>
1525
1526         * Makefile.am: Added new files.
1527         * Makefile.in: Regenerate.
1528         * javax/swing/ComboBoxEditor.java: Added javadocs.
1529         * javax/swing/ComboBoxModel.java: Likewise.
1530         * javax/swing/DefaultComboBoxModel.java: Implemented.
1531         * javax/swing/DefaultListCellRenderer.java: Added javadocs
1532         and ran through jalopy to fix formatting style.
1533         (getListCellRendererComponent): Use appropriate border
1534         if renderer has focus and use noFocusBorder when it doesn't.
1535         * javax/swing/JComboBox.java: Implemented.
1536         * javax/swing/JList.java:
1537         (locationToIndex): New Method. Implemented.
1538         (indexToLocation): New Method.
1539         * javax/swing/JPopupMenu.java: 
1540         (visible): New field.
1541         (isVisible): Changed to use new field above.
1542         (setVisible): Likewise.
1543         * javax/swing/MutableComboBoxModel.java: Added javadocs.
1544         * javax/swing/plaf/basic/BasicArrowButton.java: 
1545         (shadow): Changed default color to Color.gray.
1546         * javax/swing/plaf/basic/BasicComboBoxUI.java: New File.
1547         UI delegate for JComboBox.
1548         * javax/swing/plaf/basic/BasicComboPopup.java: New File.
1549         Popup menu containing list of JComboBox's items.
1550         * javax/swing/plaf/basic/BasicComboBoxEditor.java: New File.
1551         * javax/swing/plaf/basic/BasicComboBoxRenderer.java: New File.
1552         * javax/swing/plaf/basic/BasicComboBoxUI.java: New File.
1553         * javax/swing/plaf/basic/BasicComboPopup.java: New File.
1554         * javax/swing/plaf/basic/BasicPopupMenuUI.java:
1555         (popupMenuWillBecomeVisible): Set selected path to the first
1556         element only if it is of type MenuElement. Also fix formatting
1557         style.
1558         * javax/swing/plaf/basic/ComboPopup.java: Added javadocs and missing
1559         methods signatures.
1560         
1561 2004-08-31  Michael Koch  <konqueror@gmx.de>
1562
1563         * javax/swing/text/AbstractDocument.java
1564         (createBranchElement): Use new constructor of BranchElement.
1565         (createLeafElement): Renamed arguments.
1566         (getRootElements): Implemented.
1567         (BranchElement.start): Removed.
1568         (BranchElement.end): Likewise.
1569         (BranchElement.BranchElement): Fixed arguments.
1570         (BranchElement.getEndOffset): Reimplemented.
1571         (BranchElement.getStartOffset): Likewis.
1572         * javax/swing/text/DefaultCaret.java
1573         (paint): Draw simple vertical line as caret instead of a rectangle.
1574         * javax/swing/text/JTextComponent.java
1575         (setText): Use doc directly.
1576         * javax/swing/text/PlainView.java
1577         (nextTabStop): Implemented.
1578         * javax/swing/text/Utilities.java
1579         (drawTabbedText): nextTabStop() returns an absolute x position.
1580         (getTabbedTextWidth): Likewise.
1581
1582 2004-08-31  Graydon Hoare  <graydon@redhat.com>
1583
1584         * java/awt/Component.java 
1585         (isFocusTraversable): Predicate on isLightweight()
1586         (setFocusable): Set isFocusTraversableOverridden.
1587         (requestFocus): Predicate peer dispatch on !isLightweight()
1588         (requestFocusInWindow): Likewise.
1589         (dispatchEventImpl): Coordinate with KeyboardFocusManager.
1590         * java/awt/Container.java
1591         (dispatchEventImpl): Predicate on event mask.
1592         (LightweightDispatcher): Remove focus machinery.
1593         * java/awt/DefaultFocusTraversalPolicy.java
1594         (accept): Expand predicate to include isFocusable(). 
1595         * java/awt/DefaultKeyboardFocusManager.java:
1596         Globally change c.dispatchEvent(e) to redispatchEvent(c,e)
1597         * java/awt/KeyboardFocusManager.java
1598         (redispatchEvent): Synchronize on event to prevent feedback.
1599         * javax/swing/AbstractButton.java
1600         (ButtonFocusListener): Remove class.
1601         (init): Set focusPainted, focusable.
1602         * javax/swing/ActionMap.java (get): Check parent for null. 
1603         * javax/swing/InputMap.java (get): Likewise. 
1604         * javax/swing/JComponent.java
1605         (inputMap_whenFocused): New InputMap.
1606         (inputMap_whenAncestorOfFocused): Likewise.
1607         (inputMap_whenInFocusedWindow): Likewise.
1608         (getActionForKeyStroke): Rewrite.
1609         (getConditionForKeystroke): Likewise.
1610         (ActionListenerProxy): New private class.
1611         (setInputMap): Implement.
1612         (getInputMap): Likewise.
1613         (setActionMap): Likewise.
1614         (getActionMap): Likewise.
1615         (processComponentKeyEvent): New empty method.
1616         (processKeyEvent): Implement.
1617         (processKeyBinding): Likewise.
1618         (resetKeyboardActions): Rewrite.
1619         * javax/swing/KeyStroke.java: Rewrite.
1620         * javax/swing/SwingUtilities.java
1621         (notifyAction): Implement.
1622         (replaceUIActionMap): Likewise.
1623         (replaceUIInputMap): Likewise.
1624         * javax/swing/plaf/basic/BasicButtonListener.java
1625         (focusGained): Implement.
1626         (focusLost): Repaint if focusPainted().
1627         (installKeyboardActions): Install pressed / released actions.
1628         (uninstallKeyboardActions): Implement.
1629         * javax/swing/plaf/basic/BasicButtonUI.java
1630         (focusColor): New field.
1631         (installDefaults): Load focus color, install input map.
1632         (installKeyboardActions): Implement.
1633         (uninstallKeyboardActions): Likewise.
1634         (paintFocus): Rewrite.
1635         * javax/swing/plaf/basic/BasicLookAndFeel.java
1636         (Button.focus): New default, midPurple. 
1637         * javax/swing/plaf/basic/BasicTextUI.java
1638         (kit): Make static.
1639         (installUI): Get doc from kit, load defaults.
1640         (getKeymapName): Implement.
1641         (createKeymap): Likewise.
1642         (installKeyboardActions): Likewise.
1643         (getInputMap): Likewise.
1644         (getActionMap): Likewise.
1645         (createActionMap): Likewise.
1646         * javax/swing/text/AbstractDocument.java
1647         (getStartPosition): Implement.
1648         (getEndPosition): Likewise.
1649         * javax/swing/text/DefaultEditorKit.java
1650         (CopyAction): New class.
1651         (CutAction): Likewise.
1652         (DefaultKeyTypedAction): Likewise.
1653         (InsertBreakAction): Likewise.
1654         (InsertContentAction): Likewise.
1655         (InsertTabAction): Likewise.
1656         (PasteAction): Likewise.
1657         (defaultActions): New static table.
1658         (createCaret): Implement.
1659         (getActions): Likewise.
1660         * javax/swing/text/JTextComponent.java
1661         (KeymapWrapper): New private class.
1662         (KeymapActionMap): Likewise.
1663         (DefaultKeymap): New class.
1664         (keymaps): New static table.
1665         (keymap): New field.
1666         (getKeymap): Implement.
1667         (removeKeymap): Likewise.
1668         (addKeymap): Likewise.
1669         (setKeymap): Likewise.
1670         (loadKeymap): Likewise.
1671         (getActions): Likewise.
1672         (margin): New field.
1673         (JTextComponent): Build and install default keymap.
1674         * javax/swing/text/TextAction.java
1675         (textAction): Call super properly.
1676         (getTextComponent): Implement.
1677         * javax/swing/text/Utilities.java
1678         (drawTabbedText): Adjust position by ascent.
1679
1680 2004-08-31  David Jee  <djee@redhat.com>
1681
1682         PR AWT/17156
1683
1684         * gnu/java/awt/peer/gtk/GtkMenuItemPeer.java
1685         (setEnabled): Make it a native method.
1686         * java/awt/DefaultKeyboardFocusManager.java
1687         (postProcessKeyEvent): Only post event if the menu item
1688         is active.
1689         * java/awt/MenuItem.java:
1690         Private field 'enabled' should be true by default.
1691         * jni/gtk-peer/gnu_java_awt_peer_gtk_GtkMenuItemPeer.c
1692         (setEnabled): New function.
1693
1694 2004-08-31  David Jee  <djee@redhat.com>
1695
1696         PR AWT/17059
1697
1698         * gnu/java/awt/peer/gtk/GtkMenuBarPeer.java
1699         (nativeSetHelpMenu): New native method declaration.
1700         (addHelpMenu): Call nativeSetHelpMenu().
1701         (addMenu): Remove.
1702         * java/awt/MenuBar.java
1703         (setHelpMenu): Call addNotify() on the new help menu.
1704         (add): Call addNotify() on the new menu.
1705         (addNotify): Set the help menu if one exists.
1706         * java/awt/peer/MenuBarPeer.java
1707         (addMenu): Remove.
1708         * jni/gtk-peer/gnu_java_awt_peer_gtk_GtkMenuBarPeer.c
1709         (nativeSetHelpMenu): New method.
1710
1711 2004-08-31  Graydon Hoare  <graydon@redhat.com>
1712
1713         * Makefile.am: Add new files.
1714         * Makefile.in: Regenerate.
1715         * javax/swing/Box.java: Fix setting of layout in ctor.
1716         * javax/swing/JScrollPane.java: Scroll headers as well.
1717         * javax/swing/JTable.java: Reimplement.
1718         * javax/swing/JViewPort.java: Only add non-null children.
1719         * javax/swing/ScrollPaneLayout.java: Correct header calculations.
1720         * javax/swing/Timer.java: Fix stopping null waker.
1721         * javax/swing/plaf/basic/BasicTableHeaderUI.java: New file.
1722         * javax/swing/plaf/basic/BasicTableUI.java: New file.
1723         * javax/swing/table/DefaultTableCellRenderer.java: Configure.
1724         * javax/swing/table/DefaultTableColumnModel.java: Flesh out.
1725         * javax/swing/table/DefaultTableModel.java: Clean up.
1726         * javax/swing/table/JTableHeader.java: Implement.
1727
1728 2004-08-31  Mark Wielaard  <mark@klomp.org>
1729
1730         * javax/swing/JSpinner.java (getChangeListeners): Remove double
1731         semi-colon.
1732
1733 2004-08-31  Mark Wielaard  <mark@klomp.org>
1734
1735         * jni/gtk-peer/gnu_java_awt_peer_gtk_GdkClasspathFontPeerMetrics.c:
1736         Declare variables at top of functions/block.
1737         * jni/gtk-peer/gnu_java_awt_peer_gtk_GdkGraphics2D.c: Likewise.
1738
1739 2004-08-31  Mark Wielaard  <mark@klomp.org>
1740
1741         * java/lang/Rectangle.java (intersects): Check r.width and r.height
1742         first.
1743
1744 2004-08-31  Michael Koch  <konqueror@gmx.de>
1745
1746         * javax/swing/text/PlainView.java
1747         (selectedColor): New field.
1748         (unselectedColor): Likewise.
1749         (font): Likewise.
1750         (updateMetrics): New method.
1751         (lineToRect): Likewise.
1752         (modelToView): Likewise.
1753         (drawSelectedText): Use color from JTextComponent ad draw with
1754         Utilities class.
1755         (drawUnselectedText): Likewise.
1756         (paint): Initialize helper fields.
1757         * javax/swing/text/View.java
1758         (getChildAllocation): New method.
1759         (getViewIndex): Likewise.
1760         (getToolTipText): Likewise.
1761
1762 2004-08-31  Michael Koch  <konqueror@gmx.de>
1763
1764         * javax/swing/text/Utilities.java
1765         (drawTabbedText): Reimplemented.
1766         (getTabbedTextWidth): Likewise.
1767
1768 2004-08-31  Michael Koch  <konqueror@gmx.de>
1769
1770         * javax/swing/plaf/basic/BasicTextUI.java
1771         (installDefaults): Install caret and highlighter.
1772         (modelToView): Use Bias.Forward when calling sibling.
1773         * javax/swing/text/AbstractDocument.java
1774         (ElementEdit): Implements DocumentEvent.ElementChange.
1775         (ElementEdit.ElementEdit): New method.
1776         (ElementEdit.getChildrenAdded): Likewise.
1777         (ElementEdit.getChildrenRemoved): Likewise.
1778         (ElementEdit.getElement): Likewise.
1779         (ElementEdit.getIndex): Likewise.
1780         * javax/swing/text/DefaultCaret.java
1781         (color): Removed.
1782         (textComponent): Renamed from parent, made private.
1783         (selectionVisible): Renamed from vis_sel, made private.
1784         (blinkRate): Renamed from blink, made private.
1785         (magicCaretPosition): Renamed from magic, made private.
1786         (visible): Renamed from vis, made private.
1787         (dot): Made private.
1788         (mark): Likewise.
1789         (deinstall): Remove as MouseMotionListener.
1790         (install): Initialize textComponent first. Add as MouseMotionListener.
1791         (paint): Reimplemented.
1792         * javax/swing/text/JTextComponent.java
1793         (setCaret): Deinstall old caret, install new one and fire property
1794         change after setting property.
1795         (setHighlighter): Deinstall old highlighter, install new one and fire
1796         property change after setting property.
1797         (setCaretColor): Fire property change after setting property.
1798         (setDisabledTextColor): Likewise.
1799         (setSelectedTextColor): Likewise.
1800         (setSelectionColor): Likewise.
1801         (modelToView): New method.
1802
1803 2004-08-31  Michael Koch  <konqueror@gmx.de>
1804
1805         * javax/swing/text/AbstractDocument.java
1806         (getText): Simplified.
1807         * javax/swing/text/Segment.java
1808         (current): New field.
1809         (current): Reimplemented.
1810         (first): Likewise.
1811         (getIndex): Likewise.
1812         (last): Likewise.
1813         (next): Likewise.
1814         (previous): Likewise.
1815         (setIndex): Likewise.
1816
1817 2004-08-31  Michael Koch  <konqueror@gmx.de>
1818
1819         * javax/swing/plaf/basic/BasicButtonUI.java
1820         (defaultTextIconGap): Made protected.
1821         (defaultTextShiftOffset): Likewise.
1822         (textShiftOffset): New field.
1823         (clearTextShiftOffset): New method.
1824         (getTextShiftOffset): Likewise.
1825         (setTextShiftOffset): Likewise.
1826
1827 2004-08-31  Michael Koch  <konqueror@gmx.de>
1828
1829         * javax/swing/plaf/basic/BasicTextUI.java
1830         (installUI): Add eventHandler as property listener.
1831         (uninstallUI): remove eventHandler as propert listener.
1832         (installDefaults): Added comment.
1833         (installListeners): Likewise.
1834         (installKeyboardActions): Likewise.
1835         (uninstallDefaults): Likewise.
1836         (uninstallListeners): Likewise.
1837         (uninstallKeyboardActions): Likewise.
1838
1839 2004-08-31  Michael Koch  <konqueror@gmx.de>
1840
1841         * javax/swing/text/AbstractDocument.java:
1842         Fixed some typos in comments.
1843         (insertString): Reimplemented.
1844         (remove): Likewise.
1845         (replace): New method.
1846         (children): Dont use fully qualified class name.
1847         (DefaultDocumentEvent.offset): Renamed from off.
1848         (DefaultDocumentEvent.length): Renamed from len.
1849         (DefaultDocumentEvent.type): New field.
1850         (DefaultDocumentEvent.DefaultDocumentEvent): New constructor.
1851         (DefaultDocumentEvent.getType): Implemented.
1852
1853 2004-08-31  Michael Koch  <konqueror@gmx.de>
1854
1855         * javax/swing/plaf/basic/BasicTextUI.java
1856         (RootView.textComponent): Removed.
1857         (RootView.RootView): Don't initialize textComponent.
1858         (RootView.getViewFactory): New method.
1859         (EventHandler): New inner class.
1860         (rootView): Initialize at instance creation.
1861         (eventHandler): New field.
1862         (installUI): Don't create view hierarchy directly,
1863         call modelChanged() instead.
1864         (modelChanged): New method.
1865         * javax/swing/text/JTextComponent.java
1866         (setDocument): Fire property change event.
1867
1868 2004-08-31  Michael Koch  <konqueror@gmx.de>
1869
1870         * javax/swing/plaf/basic/BasicTextUI.java
1871         (RootView.paint): Removed debug output.
1872         (paintSafely): Draw highlighter before text.
1873         (paintBackground): Use background color of text component.
1874         * javax/swing/plaf/basic/BasicToggleButtonUI.java:
1875         Reformatted.
1876
1877 2004-08-31  Michael Koch  <konqueror@gmx.de>
1878
1879         * javax/swing/plaf/basic/BasicToolBarUI.java
1880         (BasicToolBarUI): Fixed arguments for constructor.
1881         (createUI): Fixed creation of object.
1882
1883 2004-08-31  Michael Koch  <konqueror@gmx.de>
1884
1885         * javax/swing/DefaultListSelectionModel.java
1886         (fireValueChanged): Renamed from fireSelectionValueChanged,
1887         made protected.
1888
1889 2004-08-31  Michael Koch  <konqueror@gmx.de>
1890
1891         * javax/swing/text/TabSet.java
1892         (TabSet): Implements java.io.Serializable.
1893         * javax/swing/text/TabStop.java
1894         (TabStop): Implements java.io.Serializable.
1895         (TabStop): Made public.
1896
1897 2004-08-31  Michael Koch  <konqueror@gmx.de>
1898
1899         * javax/swing/JComponent.java
1900         (setUI): Fire PropertyChange.
1901         * javax/swing/JLabel.java
1902         (text): Renamed from labelText.
1903         (horizontalAlignment): New default vlaue.
1904         (icon): Renamed from activeIcon.
1905         (displayedMnemonic): Renamed from mnemonicKey, added default value.
1906         (displayedMnemonicIndex): Renamed from underlineChar.
1907         (setDisplayedMnemonic): Reimplemented.
1908         * javax/swing/JRadioButton.java
1909         (JRadioButton): New constructors.
1910         * javax/swing/JTextField.java
1911         (JTextField): Throw exception if colums < 0, initialitialz
1912         this.columns directly and initialize document with text conditionally.
1913
1914 2004-08-31  Michael Koch  <konqueror@gmx.de>
1915
1916         * javax/swing/plaf/basic/BasicFormattedTextFieldUI.java,
1917         javax/swing/plaf/basic/BasicPasswordFieldUI.java,
1918         javax/swing/plaf/basic/BasicTextAreaUI.java: New files.
1919         * javax/swing/text/FieldView.java
1920         (paint): Just call super method for now.
1921         * Makefile.am: Added new files.
1922         * Makefile.in: Regenerated.
1923
1924 2004-08-31  Ka-Hing Cheung  <kahing@javabsp.org>
1925
1926         * javax/swing/AbstractSpinnerModel.java,
1927         javax/swing/JSpinner.java,
1928         javax/swing/SpinnerNumberModel.java,
1929         javax/swing/plaf/basic/BasicSpinnerUI.java:
1930         New files.
1931         * javax/swing/plaf/basic/BasicLookAndFeel.java
1932         (initClassDefaults): Added defaults for BasicSpinnerUI.
1933
1934 2004-08-31  Michael Koch  <konqueror@gmx.de>
1935
1936         * Makefile.am: Added new files.
1937         * Makefile.in: Regenerated.
1938
1939 2004-08-31  Michael Koch  <konqueror@gmx.de>
1940
1941         * javax/swing/TransferHandler.java,
1942         javax/swing/plaf/basic/ComboPopup.java: New files
1943         * Makefile.am: Added javax/swing/TransferHandler.java and
1944         javax/swing/plaf/basic/ComboPopup.java
1945         * Makefile.in: Regenerated.
1946
1947 2004-08-31  Roman Kennke  <roman@ontographics.com>
1948
1949         * javax/swing/text/Utilities.java: New file.
1950
1951 2004-08-31  Michael Koch  <konqueror@gmx.de>
1952
1953         * Makefile.am: Added javax/swing/text/Utilities.java.
1954         * Makefile.in: Regenerated.
1955
1956 2004-08-31  Graydon Hoare  <graydon@redhat.com>
1957
1958         * javax/swing/text/SimpleAttributeSet.java: New file.
1959         * javax/swing/text/StyleConstants.java: New file.
1960         * javax/swing/text/StyleContext.java: New file.
1961         * javax/swing/text/TabSet.java: New file.
1962         * javax/swing/text/TabStop.java: New file.
1963         * javax/swing/text/AbstactDocument.java:
1964         (AbstractElement): Implement attribute support.
1965         * javax/swing/text/AttributeSet.java
1966         (NameAttribute): New static field.
1967         (ResolveAttribute): New static field.
1968         * Makefile.am: Update for new files.
1969         * Makefile.in: Regenerate.
1970
1971 2004-08-31  Craig Black  <craig.black@aonix.com>
1972
1973         * gnu/java/awt/peer/gtk/GdkGraphics.java 
1974         (drawImage): Add support for scaling pixmaps.
1975         * jni/gtk-peer/gnu_java_awt_peer_gtk_GdkGraphics.c
1976         (copyAndScalePixmap): New native method.
1977  
1978 2004-08-31  Thomas Fitzsimmons  <fitzsim@redhat.com>
1979
1980         PR AWT/16121
1981         * jni/gtk-peer/gthread-jni.c: Include stdio.h.  Eliminate
1982         type-punning compiler warnings using unions.
1983         (throw): Replace bzero with memset.
1984
1985 2004-08-31  Andreas Tobler  <a.tobler@schweiz.ch>
1986             Thomas Fitzsimmons  <fitzsim@redhat.com>
1987
1988         * jni/gtk-peer/gnu_java_awt_peer_gtk_GdkPixbufDecoder.c: Move
1989         NSA_PB macros to gtkpeer.h.  Include gtkpeer.h.
1990         * jni/gtk-peer/gtkpeer.h: Move NSA_PB macros here.
1991         * jni/gtk-peer/gnu_java_awt_peer_gtk_GtkWindowPeer.c
1992         (nativeSetIconImageFromDecoder): Use NSA_GET_PB_PTR macro.
1993
1994 2004-08-31  Mark Wielaard  <mark@klomp.org>
1995
1996         * native/jni/gtk-peer/gnu_java_awt_peer_gtk_GdkPixbufDecoder.c:
1997         #include gdk.h, not gtk.h. #include jni.h, native_state.h, string.h
1998         and stdlib.h, not gtkpeer.h.
1999         (*vm): New static variable.
2000         (areaPreparedID): Make static.
2001         (areaUpdatedID): Likewise.
2002         (area_prepared): Get and use JNIEnv through stored JavaVM *vm.
2003         (area_prepared): Likewise.
2004         (area_updated): Likewise.
2005         (closed): Likewise.
2006         (initStaticState): Initialize *vm javaVM.
2007         (pumpBytes): Use given env, not global gdk_env.
2008
2009 2004-08-31  Mark Wielaard  <mark@klomp.org>
2010
2011         * java/awt/geom/CubicCurve2D.java (solveCubic): Removed duplicate
2012         comments.
2013
2014 2004-08-31  Sven de Marothy  <sven@physto.se>
2015
2016         * java/awt/geom/CubicCurve2D.java: Reindent.
2017         (contains): Implemented.
2018         (intersects): Implemented.
2019         * java/awt/geom/QuadCurve2D.java: Likewise.
2020         * java/awt/geom/GeneralPath.java: Reindent and document.
2021         Fully (re)implemented using separate xpoints and ypoints
2022         float[] coords.
2023         * java/awt/geom/RoundRectangle2D.java: Several bugfixes (Bug #6007).
2024
2025 2004-08-31  Michael Koch  <konqueror@gmx.de>
2026
2027         * javax/swing/JMenuItem.java
2028         (getMenuDragMouseListeners): New method.
2029         (getMenuKeyListeners): Likewise.
2030
2031 2004-08-31  Michael Koch  <konqueror@gmx.de>
2032
2033         * javax/swing/AbstractButton.java
2034         (model): Made protected.
2035         (actionListener): Likewise.
2036         (changeListener): Likewise.
2037         (itemListener): Likewise.
2038         (multiClickThreshhold): New field.
2039         (getActionListeners): New method.
2040         (getChangeListeners): Likewise.
2041         (getItemListeners): Likewise.
2042         (fireItemStateChanged): Simplified implementation.
2043         (fireActionPerformed): Likewise.
2044         (fireStateChanged): Likewise.
2045         (getMultiClickThreshhold): New method.
2046         (setMultiClickThreshhold): Likewise.
2047
2048 2004-08-31  Tom Tromey  <tromey@redhat.com>
2049
2050         * java/awt/image/Kernel.java (clone): Use super.clone().
2051
2052 2004-08-31  David Jee  <djee@redhat.com>
2053
2054         PR AWT/16682
2055         * gnu/java/awt/peer/gtk/GtkFramePeer.java
2056         (nativeSetIconImage): Rename to nativeSetIconImageFromDecoder.
2057         (nativeSetIconImageFromData): New native method declaration.
2058         (setIconImage): Handle images not produced from GdkPixbufDecoder.
2059         * gnu/java/awt/peer/gtk/GtkImage.java
2060         (getPixelCache): New method.
2061         (getColorModel): New method.
2062         * jni/gtk-peer/gnu_java_awt_peer_gtk_GtkWindowPeer.c
2063         (nativeSetIconImage): Rename to nativeSetIconImageFromDecoder.
2064         (free_pixbuf_data): New helper function.
2065         (nativeSetIconImageFromData): New function.
2066
2067 2004-08-31  Graydon Hoare  <graydon@redhat.com>
2068
2069         PR SWING/16576
2070         * javax/swing/JLayeredPane.java 
2071         (setLayer): Permit changing layer after addition.
2072         (setPosition): Permit over-length positions.
2073         (layerToRange): Compare intValue()s.
2074         * javax/swing/Box.java (createHorizontalBox): Implement.
2075         (createRigidArea): Likewise.
2076         (createVerticalBox): Likewise.
2077
2078 2004-08-31  Kim Ho  <kho@redhat.com>
2079
2080         * java/awt/Component.java:
2081         (processMouseEvent): Consume event after
2082         listeners process it.
2083         (processMouseMotionEvent): ditto.
2084         (processMouseWheelEvent): ditto.
2085         * java/awt/Container.java:
2086         (acquireComponentForMouseEvent):
2087         Do not dispatch to events that have been
2088         removed from the Container.
2089         (handleEvent): Consume the MouseEvents.
2090         * javax/swing/RepaintManager.java:
2091         (paintDirtyRegions): Do not add to list of 
2092         damaged areas if the component has no root.
2093
2094 2004-08-31  Michael Koch  <konqueror@gmx.de>
2095
2096         * javax/swing/plaf/basic/BasicMenuItemUI.java: Clean ip imports.
2097
2098 2004-08-31  Mark Wielaard  <mark@klomp.org>
2099
2100         * gnu/java/awt/peer/gtk/GtkToolkit.java (getFontPeer): Don't return
2101         null when a MissingResourceException is thrown. Should never happen.
2102
2103 2004-08-31  Mark Wielaard  <mark@klomp.org>
2104
2105         * java/awt/EventQueue.java (postEvent): Throw NullPointerException
2106         when argument is null.
2107
2108 2004-08-31  Mark Wielaard  <mark@klomp.org>
2109
2110         * jni/gtk-peer/gnu_java_awt_peer_gtk_GtkComponentPeer.c
2111         (Java_gnu_java_awt_peer_gtk_GtkComponentPeer_addExposeFilter):
2112         Define hid at start of function.
2113         (Java_gnu_java_awt_peer_gtk_GtkComponentPeer_removeExposeFilter):
2114         Likewise.
2115
2116 2004-08-31  Mark Wielaard  <mark@klomp.org>
2117
2118         * gnu/java/awt/EmbeddedWindow.java: Reindent.
2119         * javax/swing/JButton.java: Reindent.
2120         * javax/swing/JCheckBox.java: Reindent.
2121
2122 2004-08-31  Mark Wielaard  <mark@klomp.org>
2123
2124         * Makefile.am (gtk_c_source_files): Added
2125         jni/gtk-peer/gnu_java_awt_peer_gtk_GThreadNativeMethodRunner.c.
2126         (gtk_awt_peer_sources): Added
2127         gnu/java/awt/peer/gtk/GThreadMutex.java and
2128         gnu/java/awt/peer/gtk/GThreadNativeMethodRunner.java.
2129         * Makefile.in: Regenerated.
2130
2131 2004-08-31  Archie Cobbs  <archie@dellroad.org>
2132
2133         * jni/gtk-peer/gthread-jni.c: don't #include nonexistent files
2134
2135 2004-08-31  Steven Augart  <augart@watson.ibm.com>
2136
2137         * jni/gtk-peer/gthread-jni.c (c-font-lock-extra-types): 
2138         Added jfieldID, jmethodID.
2139
2140 2004-08-31  Mark Wielaard  <mark@klomp.org>
2141
2142         * jni/gtk-peer/gnu_java_awt_peer_gtk_GtkMainThread.c
2143         (Java_gnu_java_awt_peer_gtk_GtkMainThread_gtkInit): Initialize
2144         gdk_env before calling any gdk or gtk function.
2145
2146         * gnu/java/awt/peer/gtk/GtkMainThread.java (gtkInitCalled): New field.
2147         (GtkMainThread): Call wait() in while loop waiting for gtkInitCalled.
2148         (run): Set gtkInitCalled.
2149
2150 2004-08-31  Steven Augart  <augart@watson.ibm.com>
2151
2152         * gnu/java/awt/peer/gtk/GtkMainThread.java (run): Pass the value of 
2153         the gnu.classpath.awt.gtk.portable.native.sync system property to C.
2154
2155         * jni/gtk-peer/gnu_java_awt_peer_gtk_GtkMainThread.c
2156         (Java_gnu_java_awt_peer_gtk_GtkMainThread_gtkInit): New argument,
2157         portableNativeSync.  Delegate PORTABLE_NATIVE_SYNC work to
2158         init_glib_threads. 
2159         (init_glib_threads): New function.
2160
2161 2004-08-31  Mark Wielaard  <mark@klomp.org>
2162
2163         * jni/gtk-peer/gthread-jni.c: Define MIN_, MAX_ and NORM_
2164         PRIORITY when not already defined in header file.
2165
2166 2004-08-31  Mark Wielaard  <mark@klomp.org>
2167
2168         * jni/gtk-peer/gthread-jni.c (setup_cache): Call
2169         ExceptionOccurred, not ExceptionCheck, when we don't have JNI 1.2.
2170
2171 2004-08-31  Steven Augart  <augart@watson.ibm.com>
2172
2173         * gnu/native/jni/gtk-peer/gthread-jni.c: Indentation fixes.
2174         Implemented missing functions for GTK2.
2175         Added error handling.
2176         Renamed static functions out of the g_ namespace.
2177         Added TRACE_API_CALLS, EXPLAIN_TROUBLE, EXPLAIN_BROKEN, 
2178         EXPLAIN_BADLY_BROKEN, and DELETE_LOCAL_REFS options.
2179         Rewrote global-reference code.
2180         Eliminated cascading errors.
2181         (mutex_trylock_jni_impl) Fully implemented.
2182         (cond_timed_wait_jni_impl) Went from millisecond to microsecond
2183         resolution.
2184         (setup_cache) New function.
2185         (mutex_cond_wait_jni_impl, mutex_cond_timed_wait_jni_impl) Fixed
2186         bug where they were not unlocking the GMutex associated with the
2187         condition variable during the wait on that condition variable.
2188
2189         * native/jni/gtk-peer/gnu_java_awt_peer_gtk_GtkMainThread.c,
2190         native/jni/gtk-peer/gthread-jni.c,
2191         native/jni/gtk-peer/gthread-jni.h
2192         (g_thread_jni_functions): Renamed to ...
2193         (portable_native_sync_jni_functions): this name.
2194         (gdk_vm): Renamed to...
2195         (the_vm): this name.
2196
2197         * native/jni/gtk-peer/gnu_java_awt_peer_gtk_GtkMainThread.c
2198         (gdk_vm): Removed duplicate definition.
2199         (gtkInit): Removed stray message to stdout.
2200         (gtkInit): Use g_malloc and g_free instead of malloc and free.
2201         (gtkInit): Fix a const assignment bug.
2202         (gtkInit): Simplified code.
2203
2204         * gnu/java/awt/peer/gtk/GThreadNativeMethodRunner.java,
2205         native/jni/gtk-peer/gnu_java_awt_peer_gtk_GThreadNativeMethodRunner.c,
2206         native/jni/gtk-peer/gnu_java_awt_peer_gtk_GThreadNativeMethodRunner.h,
2207         gnu/java/awt/peer/gtk/GThreadMutex.java:
2208         New files.
2209
2210 2004-08-31  Mark Wielaard  <mark@klomp.org>
2211
2212         * javax/swing/Box.java: Put FIXME comment above class declaration.
2213         * javax/swing/JButton.java: Remove illegal L&F HTML from comments.
2214         * javax/swing/JCheckBox.java: Likewise.
2215         * javax/swing/JDialog.java: Likewise.
2216         * javax/swing/JRadioButton.java: Likewise.
2217         * javax/swing/JToggleButton.java: Likewise.
2218         * javax/swing/UIManager.java: Likewise.
2219         * javax/swing/border/TitledBorder.java: Likewise.
2220         * javax/swing/plaf/basic/BasicLabelUI.java: Likewise.
2221         * javax/swing/plaf/basic/BasicLookAndFeel.java: Likewise.
2222         * javax/swing/plaf/basic/BasicPopupMenuSeparatorUI.java: Likewise.
2223         * javax/swing/plaf/basic/BasicProgressBarUI.java: Likewise.
2224         * javax/swing/plaf/basic/BasicScrollBarUI.java: Likewise.
2225         * javax/swing/plaf/basic/BasicSeparatorUI.java: Likewise.
2226         * javax/swing/text/JTextComponent.java: Likewise.
2227
2228 2004-08-31  David Jee  <djee@redhat.com>
2229
2230         PR AWT/16682
2231         * gnu/java/awt/peer/gtk/GtkFramePeer.java
2232         (setIconImage): Add a FIXME for unhandled cases.
2233
2234 2004-08-31  Thomas Fitzsimmons  <fitzsim@redhat.com>
2235
2236         PR AWT/16040
2237         * gnu/awt/LightweightRedirector.java: Call getModifiersEx, not
2238         getModifiers.  Replace old button masks with new ones.
2239         * gnu/awt/xlib/XEventLoop.java: Likewise.
2240         * gnu/java/awt/peer/gtk/GtkButtonPeer.java: Likewise.
2241         * gnu/java/awt/peer/gtk/GtkComponentPeer.java,
2242         jni/gtk-peer/gnu_java_awt_peer_gtk_GtkComponentPeer.c: Likewise.
2243         * gnu/java/awt/peer/gtk/GtkListPeer.java: Likewise.
2244         * gnu/java/awt/peer/gtk/GtkTextFieldPeer.java: Likewise.
2245         * java/awt/AWTKeyStroke.java: Remove old modifier masks.
2246         * java/awt/Component.java: Replace old modifier masks with new
2247         ones.
2248         * java/awt/Container.java: Call getModifiersEx, not
2249         getModifiers.
2250         * java/awt/DefaultKeyboardFocusManager.java: Likewise.  Remove
2251         old modifier masks.
2252         * javax/swing/JMenuItem.java: Replace old button masks with new
2253         ones.
2254         * javax/swing/KeyStroke.java: Call getModifiersEx, not
2255         getModifiers.
2256         * javax/swing/SwingUtilities.java: Likewise.
2257         * javax/swing/plaf/basic/BasicButtonListener.java: Likewise.
2258         * javax/swing/plaf/basic/BasicInternalFrameUI.java: Likewise.
2259         * jni/gtk-peer/gnu_java_awt_peer_gtk_GtkEvents.c: Replace old
2260         mask macros with new ones.
2261         * jni/gtk-peer/gtkpeer.h: Replace old button and modifier mask
2262         macros with new ones representing new masks.
2263
2264 2004-08-31  Craig Black  <craig.black@aonix.com>
2265
2266         * gnu/java/awt/peer/gtk/GdkGraphics.java
2267         (drawRoundRect): Implemented.
2268         (fillRoundRect): Implemented.
2269         * gnu/java/awt/peer/gtk/GdkGraphics2D.java
2270         (drawRoundRect): Reimplemented to match GdkGraphics.
2271         (fillRoundRect): Reimplemented to match GdkGraphics.
2272
2273 2004-08-31  Mark Wielaard  <mark@klomp.org>
2274
2275         * Makefile.in: Regenerated.
2276
2277 2004-08-31  Michael Koch  <konqueror@gmx.de>
2278
2279         * gnu/java/awt/EmbeddedWindow.java
2280         (addNotify): Use AccessController to allow execution of privileged
2281         code.
2282
2283 2004-08-31  Michael Koch  <konqueror@gmx.de>
2284
2285         * gnu/java/awt/EmbeddedWindow.java
2286         (static): Removed.
2287         (addNotify): Set peer via reflection.
2288         (setWindowPeer): Removed.
2289         * gnu/java/awt/natEmbeddedWindow.cc: Removed.
2290         * Makefile.am (nat_source_files):
2291         Removed gnu/java/awt/natEmbeddedWindow.cc.
2292
2293 2004-08-31  Bryce McKinlay  <mckinlay@redhat.com>
2294
2295         * Makefile.am: Add  gnu/java/security/action/GetPropertyAction.java
2296         and gnu/java/security/action/SetAccessibleAction.java.
2297
2298 2004-08-31  Bryce McKinlay  <mckinlay@redhat.com>
2299
2300         * gnu/java/security/action/GetPropertyAction.java (setParameters):
2301         Renamed from 'setName'. New 2-argument form with default value.
2302         (run): Pass default 'value' parameter to System.getProperty().
2303         * gnu/java/security/action/SetAccessibleAction.java: Fix javadoc
2304         typos.
2305
2306 2004-08-31  Bryce McKinlay  <mckinlay@redhat.com>
2307
2308         * gnu/java/security/action/GetPropertyAction.java: New class.
2309         * gnu/java/security/action/SetAccessibleAction.java: New class.
2310
2311 2004-08-31  David Jee  <djee@redhat.com>
2312
2313         * gnu/java/awt/peer/gtk/GtkFramePeer.java
2314         (setIconImage): Check if image is null.
2315
2316 2004-08-31  David Jee  <djee@redhat.com>
2317
2318         * gnu/java/awt/peer/gtk/GtkFramePeer.java
2319         (create): Set the icon image.
2320         (nativeSetIconImage): New native method declaration.
2321         (setIconImage): Implement.
2322         * jni/gtk-peer/gnu_java_awt_peer_gtk_GtkWindowPeer.c
2323         (nativeSetIconImage): New function.
2324
2325 2004-08-31  Dalibor Topic <robilad@kaffe.org>
2326
2327         * native/jni/gtk-peer/gnu_java_awt_peer_gtk_GtkFileDialogPeer.c
2328         (filenameFilterCallback): Declare local variable accepted before use.
2329
2330 2004-08-31  Dalibor Topic <robilad@kaffe.org>
2331
2332         * gnu/java/awt/ComponentDataBlitOp.java:
2333         Cleaned up imports.
2334
2335 2004-08-31  Tom Tromey  <tromey@redhat.com>
2336
2337         * gnu/java/awt/peer/GLightweightPeer.java,
2338         gnu/java/awt/peer/gtk/GdkGraphics2D.java,
2339         gnu/java/awt/peer/gtk/GtkComponentPeer.java,
2340         javax/swing/JScrollPane.java: Removed
2341         redundant imports.
2342
2343 2004-08-31  David Jee  <djee@redhat.com>
2344
2345         * java/awt/DefaultKeyboardFocusManager.java
2346         (postProcessKeyEvent): Only activate MenuShortcuts on KEY_PRESSED
2347         event.  Fix shift modifier checking.
2348         * jni/gtk-peer/gnu_java_awt_peer_gtk_GtkMenuPeer.c
2349         (accel_attach): Remove.
2350         (setupAccelGroup): Remove calls to accel_attach.
2351
2352 2004-08-31  Thomas Fitzsimmons  <fitzsim@redhat.com>
2353
2354         * gnu/java/awt/peer/gtk/GtkArg.java: Remove file.
2355         * gnu/java/awt/peer/gtk/GtkArgList.java: Remove file.
2356
2357         * Makefile.am (gtk_awt_peer_sources): Remove GtkArg.java and
2358         GtkArgList.java.
2359         (gtk_c_files): Use CAIRO_CFLAGS and PANGOFT2_CFLAGS, not _LIBS.
2360         * Makefile.in: Regenerate.
2361         * gnu/java/awt/peer/gtk/GtkButtonPeer.java,
2362         jni/gtk-peer/gnu_java_awt_peer_gtk_GtkButtonPeer.c
2363         (create(String)): New method.
2364         (create): Call new create method.
2365         (getArgs): Remove method.
2366         * gnu/java/awt/peer/gtk/GtkCheckboxPeer.java,
2367         jni/gtk-peer/gnu_java_awt_peer_gtk_GtkCheckboxPeer.c 
2368         (nativeCreate): Rename to create.
2369         (gtkSetLabel): Rename to gtkButtonSetLabel.
2370         (gtkToggleButtonSetActive): New method.
2371         (create): Call gtkToggleButtonSetActive and gtkButtonSetLabel.
2372         (setState): Replace set call with gtkToggleButtonSetActive.
2373         (setLabel): Replace gtkSetLabel call with gtkButtonSetLabel.
2374         (getArgs): Remove method.
2375         * gnu/java/awt/peer/gtk/GtkComponentPeer.java,
2376         jni/gtk-peer/gnu_java_awt_peer_gtk_GtkComponentPeer.c
2377         (gtkWidgetSetSensitive): New method.
2378         (gtkWidgetSetParent): Likewise.
2379         (GtkComponentPeer): Call setParent, setComponentBounds and
2380         setVisibleAndEnabled.
2381         (setParent): New method.
2382         (setComponentBounds): New method.
2383         (setVisibleAndEnabled): New method.
2384         (setEnabled): Call gtkWidgetSetSensitive.
2385         (getArgs): Remove method.
2386         Remove all set methods.
2387         * gnu/java/awt/peer/gtk/GtkDialogPeer.java (create): Call
2388         gtkWindowSetModal, setTitle and setResizable.
2389         (getArgs): Remove method.
2390         * gnu/java/awt/peer/gtk/GtkFileDialogPeer.java
2391         (setComponentBounds): New method.
2392         * gnu/java/awt/peer/gtk/GtkFramePeer.java (setResizable):
2393         Replace set call with gtkWindowSetResizable.
2394         (getArgs): Remove method.
2395         (create): Call setTitle and setResizable.
2396         * gnu/java/awt/peer/gtk/GtkWindowPeer.java,
2397         jni/gtk-peer/gnu_java_awt_peer_gtk_GtkWindowPeer.c
2398         (gtkWindowSetTitle): New method.
2399         (gtkWindowSetResizable): New method.
2400         (gtkWindowSetModal): New method.
2401         (setParent): New method.
2402         (setVisibleAndEnabled): New method.
2403         (getArgs): Remove method.
2404         (setTitle): Call gtkWindowSetTitle.
2405         (setResizable): Call gtkWindowSetResizable.
2406         * jni/gtk-peer/gtkpeer.h [DEBUG_LOCKING]: New define to turn on
2407         and off locking instrumentation.
2408
2409 2004-08-31  Kim Ho  <kho@redhat.com>
2410
2411         * Makefile.am: Add new file.
2412         * Makefile.in: Regenerate.
2413         * gcj/Makefile.in: Regenerate
2414         * include/Makefile.in:
2415         * java/awt/Container.java:
2416         (acquireComponentForMouseEvent): Respect 
2417         the event mask when looking for candidate.
2418         * javax/swing/JComponent.java:
2419         Remove toolTip field.
2420         (createToolTip): Create a tooltip on demand.
2421         (setToolTipText): Register with the ToolTipManager.
2422         (getToolTipText(MouseEvent)): Return getToolTipText().
2423         * javax/swing/JToolTip.java: Implement.
2424         * javax/swing/Timer.java: Jalopy.
2425         (restart): Call stop, then start.
2426         (stop): Interrupt the timer rather than wait for
2427         the timer to come to a stop naturally.
2428         * javax/swing/ToolTipManager.java: Implement.
2429         * javax/swing/plaf/basic/BasicLookAndFeel.java:
2430         Change ToolTip.background color.
2431         * javax/swing/plaf/basic/BasicToolTipUI.java:
2432         Implement.
2433         * testsuite/Makefile.in: Regenerate
2434
2435 2004-08-31  Jerry Quinn  <jlquinn@optonline.net>
2436
2437         * java/awt/image/DirectColorModel.java (DirectColorModel): Fix
2438         constructor param comments.
2439
2440 2004-08-31  Thomas Fitzsimmons  <fitzsim@redhat.com>
2441
2442         * java/awt/Component.java: Document AWT 1.0 event handler
2443         methods.
2444
2445 2004-08-31  Roman Kennke  <roman@ontographics.com>
2446
2447         * javax/swing/Box.java:
2448         (createGlue): Implemented
2449         (createHorizontalGlue): Implemented
2450         (createHorizontalStrut): Implemented
2451         (createVerticalGlue): Implemented
2452         (createVerticalStrut): Implemented
2453
2454 2004-08-31  David Jee  <djee@redhat.com>
2455
2456         * gnu/java/awt/peer/gtk/GtkChoicePeer.java
2457         (GtkChoicePeer): Do not automatically select first item.
2458         (getHistory): Remove.
2459         (nativeGetSelected): New method.
2460         (nativeRemoveAll): New method.
2461         (add): Use nativeGetSelected() instead of getHistory().
2462         (remove): Likewise.
2463         (removeAll): Call nativeRemoveAll().
2464         * jni/gtk-peer/gnu_java_awt_peer_gtk_GtkChoicePeer.c
2465         (create): Migrate to GtkComboBox.
2466         (append): Likewise.
2467         (nativeAdd): Likewise.
2468         (nativeRemove): Likewise.
2469         (select): Likewise.
2470         (nativeRemoveAll): New method.
2471         (nativeGetSelected): New method.
2472         (selection_changed): New method.
2473         (getHistory): Remove.
2474         (item_activate): Remove.
2475         (item_removed): Remove.
2476         (connect_choice_item_selectable_hook): Remove.
2477
2478 2004-08-31  Thomas Fitzsimmons  <fitzsim@redhat.com>
2479
2480         * gnu/java/awt/peer/gtk/GtkTextFieldPeer.java (create): Use tf
2481         variable in setEditable call.
2482
2483         * gnu/java/awt/peer/gtk/GtkTextFieldPeer.java,
2484         jni/gtk-peer/gnu_java_awt_peer_gtk_GtkTextFieldPeer.c
2485         (gtkWidgetSetBackground): New method.
2486         (gtkWidgetSetForeground): Likewise.
2487         (create): Set peer's editable state based on awtComponent's.
2488
2489         * java/awt/Button.java (Button()): Use empty string rather than
2490         null in no-label constructor.
2491
2492 2004-08-31  Roman Kennke  <roman@ontographics.com>
2493
2494         * javax/swing/BoxLayout.java: Reimplement.
2495
2496 2004-08-31  Thomas Fitzsimmons  <fitzsim@redhat.com>
2497
2498         * gnu/java/awt/peer/gtk/GdkGraphics.java,
2499         gnu_java_awt_peer_gtk_GdkGraphics.c
2500         (initState(GtkComponentPeer)): Don't return array of colour
2501         values.
2502         (GdkGraphics(int,int)): Set default font to size 12.
2503         (GdkGraphics(GtkComponentPeer)): Set graphics colour to
2504         component's foreground colour.
2505         * gnu/java/awt/peer/gtk/GdkGraphics2D.java,
2506         gnu_java_awt_peer_gtk_GdkGraphics2D.c
2507         (initState(GtkComponentPeer)): Don't return array of colour
2508         values.
2509         (GdkGraphics2D(GtkComponentPeer)): Set foreground and background
2510         colours to component's colours.
2511         (current_colors_of_widget): Remove function.
2512         * gnu/java/awt/peer/gtk/GtkOffScreenImage.java (getGraphics):
2513         Return a new graphics object.
2514         * java/awt/Font.java (toString): Fix format.
2515         * java/awt/Graphics.java (toString): Likewise.
2516
2517 2004-08-31  Craig Black  <craig.black@aonix.com>
2518
2519         * native/jni/gtk-peer/gnu_java_awt_peer_gtk_GtkMenuPeer.c
2520         (addTearOff): New function.
2521         * gnu/java/awt/peer/gtk/GtkMenuPeer.java (addTearOff):
2522         New native method.
2523         (init): Call addTearOff() when menu.isTearOff().
2524
2525 2004-08-31  Bryce McKinlay  <mckinlay@redhat.com>
2526
2527         * gnu/java/awt/ClasspathToolkit.java (createImageProducer): New.
2528         Default implementation.
2529         * gnu/java/awt/peer/gtk/GtkToolkit.java (createImageProducer): New.
2530         Implement using GdkPixbufDecoder.
2531
2532 2004-08-31  David Jee  <djee@redhat.com>
2533
2534         * gnu/java/awt/peer/gtk/GtkComponentPeer.java
2535         (GtkComponentPeer): Use gtkWidgetGetPreferredDimensions() for
2536         setting the size of GtkFileDialogPeers.
2537         * jni/gtk-peer/gnu_java_awt_peer_gtk_GtkComponentPeer.c
2538         (gtkWidgetGetPreferredDimensions): For widgets extending GtkWindow,
2539         use their default sizes rather than their natural requisitions.
2540
2541 2004-08-31  Michael Koch  <konqueror@gmx.de>
2542
2543         * javax/swing/JFormattedTextField.java
2544         (JFormattedTextField): Implemented.
2545         * javax/swing/text/DefaultEditorKit.java
2546         (BeepAction): New inner class.
2547         * javax/swing/text/Segment.java
2548         (partialReturn): New field.
2549         (setPartialReturn): New method.
2550         (isPartialReturn): Likewise.
2551         * javax/swing/text/View.java
2552         (createFragment): Fixed typo.
2553         (getStartOffset): New method.
2554         (getEndOffset): Likewise.
2555
2556 2004-08-31  Michael Koch  <konqueror@gmx.de>
2557
2558         * javax/swing/table/DefaultTableColumnModel.java
2559         (serialVersionUID): Made private.
2560         (listenerList): Initialize.
2561         (changeEvent): Initialize.
2562         * javax/swing/table/JTableHeader.java
2563         (JTableHeader): New constructors.
2564         (createDefaultColumnModel): New method.
2565         * javax/swing/table/TableColumn.java
2566         (setHeaderRenderer): Simplified code.
2567         (setCellRenderer): Likewise.
2568         (setWidth): Likewise.
2569
2570 2004-08-31  Tom Tromey  <tromey@redhat.com>
2571
2572         * java/text/AttributedString.java (AttributedString): Use
2573         ArrayList to build array of attribute ranges.  Don't use
2574         `attribs' before it is set.
2575
2576 2004-08-30  Andreas Tobler  <a.tobler@schweiz.ch>
2577
2578         * HACKING: Remove reference to special automake. No longer needed.
2579
2580 2004-08-30  Tom Tromey  <tromey@redhat.com>
2581
2582         * gnu/java/security/util/Prime.java (generateRandomPrime): Use
2583         return result from `add'.
2584
2585 2004-08-30  Tom Tromey  <tromey@redhat.com>
2586
2587         * java/rmi/server/UID.java (UID): Read `nextCount', not count.
2588
2589 2004-08-30  Andreas Tobler  <a.tobler@schweiz.ch>
2590
2591         * gnu/java/security/der/DEREncodingException.java: Remove whitespaces.
2592
2593 2004-08-30  Jeroen Frijters  <jeroen@frijters.net>
2594
2595         * java/io/File.java File(String,String): Fixed handling of empty
2596         path.
2597
2598 2004-08-30  Casey Marshall  <csm@gnu.org>
2599
2600         Author e-mail updated for all files.
2601         * gnu/java/security/OID.java (equals): Test if the aurgment is an
2602         instance of OID.
2603         (compareTo): Use `equals'.
2604         * gnu/java/security/der/BitString.java (equals): Test if the
2605         argument is an instance of BitString.
2606         * gnu/java/security/der/DERReader.java: Removed NIO imports.  Made
2607         class final. Made fields private.
2608         (<init>): New constructor.
2609         (skip): New method.
2610         (makeString): Made static; don't use NIO.
2611         (fromIso88591, fromUtf16Be, fromUtf8): New methods.
2612         * gnu/java/security/der/DERWriter.java: Fixed imports.
2613         (writeString): Don't use NIO.
2614         (toIso88591, toUtf16Be, toUtf8): New methods.
2615         * gnu/java/security/der/DERValue.java: Formatting changes only.
2616         * gnu/java/security/der/DER.java: Likewise.
2617
2618 2004-08-30  Tom Tromey  <tromey@redhat.com>
2619
2620         * java/nio/CharBuffer.java (put): Fix typo.
2621         * java/nio/DoubleBuffer.java (put): Fix typo.
2622         * java/nio/FloatBuffer.java (put): Fix typo.
2623         * java/nio/IntBuffer.java (put): Fix typo.
2624         * java/nio/LongBuffer.java (put): Fix typo.
2625         * java/nio/ShortBuffer.java (put): Fix typo.
2626
2627 2004-08-30  Florian Weimer  <fw@deneb.enyo.de>
2628
2629         * java/nio/ByteBuffer.java (put): Fix typo.
2630
2631 2004-08-30  Casey Marshall  <csm@gnu.org>
2632
2633         * java/security/DummyKeyPairGenerator.java (clone): Removed
2634         useless instanceof check.
2635         * java/security/DummyMessageDigest.java (clone): Likewise.
2636         * java/security/DummySignature.java (clone): Likewise.
2637         * java/security/MessageDigest.java (clone): Remove useless
2638         instanceof check.
2639         * java/security/MessageDigestSpi.java (clone): Likewise.
2640         * java/security/Signature.java (clone): Provide meaningful
2641         implementation.
2642         * java/security/SignatureSpi.java (clone): Likewise.
2643
2644 2004-08-29  Mark Wielaard  <mark@klomp.org>
2645
2646         * java/util/Arrays.java
2647         (sort(byte[], int, int)): Check fromIndex < 0.
2648         (sort(char[], int, int)): Likewise.
2649         (sort(short[], int, int)): Likewise.
2650         (sort(int[], int, int)): Likewise.
2651         (sort(long[], int, int)): Likewise.
2652         (sort(float[], int, int)): Likewise.
2653         (sort(double[], int, int)): Likewise.
2654         (sort(Object[], int, int, Comparator)): Likewise.
2655         (qsort(byte[], int, int)): Honor lower bound from in insertion sort.
2656         (qsort(char[], int, int)): Likewise.
2657         (qsort(short[], int, int)): Likewise.
2658         (qsort(int[], int, int)): Likewise.
2659         (qsort(long[], int, int)): Likewise.
2660         (qsort(float[], int, int)): Likewise.
2661         (qsort(double[], int, int)): Likewise.
2662
2663 2004-08-29  Andrew John Hughes  <gnu_andrew@member.fsf.org>
2664
2665         * java/util/AbstractCollection.java, java/util/AbstractList.java,
2666         java/util/AbstractMap.java, java/util/AbstractSequentialList.java,
2667         java/util/ArrayList.java, java/util/Arrays.java,
2668         java/util/BitSet.java, java/util/Calendar.java,
2669         java/util/Collection.java, java/util/ListIterator.java,
2670         java/util/Map.java, java/util/SortedSet.java:
2671         Added additional exceptions to documentation, along
2672         with some additions and corrections.
2673
2674 2004-08-27  Hans Boehm  <Hans.Boehm@hp.com>
2675
2676         * configure.ac: Handle --enable-gc-debug.
2677         * configure: Regenerate.
2678         * include/config.h.in (LIBGCJ_GC_DEBUG): Add.
2679         * boehm.cc: Include gc_mark.h, javaxfc.h, but no GC private files.
2680         Rearrange include file order.
2681         (GC_DEBUG): Set if LIBGCJ_GC_DEBUG is set.
2682         (GC_finalize_all, GC_debug_generic_malloc): Don't declare.
2683         (disable_gc_mutex): Delete along with all references.
2684         (_Jv_MarkObj, _Jv_MarkArray): Use public types,
2685         adjust for debug header size.
2686         (_Jv_AllocObj, _Jv_allocPtrFreeObj): Define out of line for
2687         debug case.
2688         (_Jv_AllocArray): Declare min_heap_addr only if needed.
2689         (gcj_describe_type_fn): New.
2690         (_Jv_InitGC): Use GC_new_free_list, GC_new_proc, and GC_new_kind.
2691         Register gcj_describe_type_fn.
2692         * include/boehm-gc.h:
2693         (_Jv_AllocObj, _Jv_allocPtrFreeObj):
2694         Don't define, but declare, for debug case.
2695         * java/lang/natObject.cc:
2696         (GC_DEBUG): Define if LIBGCJ_GC_DEBUG is set.
2697
2698 2004-08-26  Mark Wielaard  <mark@klomp.org>
2699
2700         Fixes PR libgcj/17002:
2701         * java/util/TimeZone.java (defaultZone): Try a couple of ways to get
2702         a TimeZoneId string and then try to convert that to a TimeZone with
2703         getDefaultSystemTimeZone(String).
2704         (timezones0): Changed type from Hashtable to HashMap.
2705         (timezones): Create HashMap, not Hashtable.
2706         (getDefaultTimeZone): New method, rewritten from CNI version.
2707         (readTimeZoneFile): New method.
2708         (readtzFile): Likewise.
2709         (skipFully): Likewise.
2710         * java/util/natTimeZone.cc (getSystemTimeZone): Renamed to
2711         getDefaultTimeZoneId and rewritten.
2712         (getDefaultTimeZoneId): Rewritten in java.
2713         
2714 2004-08-25  David Daney  <daney@avtrex.com>
2715
2716         * Makefile.am (AM_GCJFLAGS):  Add LIBGCJ_JAVAFLAGS.
2717         * Makefile.in: Regenerated.
2718
2719 2004-08-23  Bryce McKinlay  <mckinlay@redhat.com>
2720
2721         * prims.cc (JVMPI_NOTIFY_ALLOC): New macro. Call jvmpi_notify_alloc
2722         only if jvmpi is enabled.
2723         (jvmpi_notify_alloc): Don't check if jvmpi is enabled here.
2724         (_Jv_AllocObjectNoFinalizer): Use JVMPI_NOTIFY_ALLOC.
2725         (_Jv_AllocString): Likewise.
2726         (_Jv_AllocPtrFreeObject): Likewise.     
2727
2728 2004-08-23  Hans Boehm  <Hans.Boehm@hp.com>
2729
2730         * defineclass.cc: Include <stdio.h>.
2731         * java/lang/natClassLoader.cc: Include <stdio.h>.
2732
2733 2004-08-21  Andreas Tobler  <a.tobler@schweiz.ch>
2734             Michael Koch  <konqueror@gmx.de>
2735
2736         * Makefile.am (lib_gnu_java_awt_peer_gtk_la_LINK): Added.
2737         * Makefile.in: Regenerated.
2738
2739 2004-08-20  Michael Koch  <konqueror@gmx.de>
2740
2741         * configure.ac: Replaced all AC_TRY_COMPILE macros with
2742         AC_COMPILE_IFELSE macros.
2743
2744 2004-08-20  Michael Koch  <konqueror@gmx.de>
2745
2746         * configure.in: Renamed to configure.ac.
2747         * configure.ac: New file.
2748         * configure, Makefile.in, gcj/Makefile.in, include/Makefile.in
2749         include/config.h.in, testsuite/Makefile.in: Regenerated.
2750
2751 2004-08-20  Michael Koch  <konqueror@gmx.de>
2752
2753         * configure.in: Rewrote some obsolete stuff for autoconf 2.59.
2754         * aclocal.m4, configure: Regenerated.
2755
2756 2004-08-19  Thomas Fitzsimmons  <fitzsim@redhat.com>
2757             Michael Koch  <konqueror@gmx.de>
2758
2759         * configure.in, Makefile.am: Ported to automake 1.9.
2760         * Makefile.in, aclocal.m4, configure, gcj/Makefile.in, 
2761         include/Makefile.in, testsuite/Makefile.in, include/config.h.in:
2762         Regenerated.
2763
2764 2004-08-19  Tom Tromey  <tromey@redhat.com>
2765
2766         * java/net/DatagramSocket.java: Fixed typo.
2767
2768 2004-08-18  Bryce McKinlay  <mckinlay@redhat.com>
2769
2770         PR libgcj/17081
2771         * java/net/URI.java (string): New field. Make all other fields
2772         transient.
2773         (readObject): Implemented.
2774         (writeObject): Implemented.
2775         (URI): Set 'string'.
2776
2777 2004-08-18  Bryce McKinlay  <mckinlay@redhat.com>
2778
2779         PR libgcj/17079
2780         * java/util/logging/Handler.java (isLoggable): Accept record if its
2781         log level equals the threshold level. From Robin Green.
2782
2783 2004-08-18  David Daney  <ddaney@avtrex.com>
2784
2785         * java/lang/natPosixProcess.cc (waitForSignal): Use sigsuspend 
2786         instead of sigwait.
2787
2788 2004-08-17  Michael Koch  <konqueror@gmx.de>
2789
2790         * Makefile.am (AM_CXXFLAGS): Reformatted to make it more ease to read.
2791         * Makefile.in: Regenerated.
2792
2793 2004-08-16  Tom Tromey  <tromey@redhat.com>
2794
2795         PR java/8473:
2796         * testsuite/libjava.jacks/jacks.xfail: Removed passing test.
2797
2798 2004-08-16  Michael Koch  <konqueror@gmx.de>
2799
2800         * Makefile.am
2801         (math_c_files): Renamed from c_files.
2802         (math_c_source_files): Renamed from c_source_files.
2803         * Makefile.in,
2804         gcj/Makefile.in,
2805         include/Makefile.in,
2806         testsuite/Makefile.in: Regenerated.
2807
2808 2004-08-16  Bryce McKinlay  <mckinlay@redhat.com>
2809
2810         * configure.in (AC_CONF_SUBDIRS): Use literal for ltdl directory
2811         to avoid autoconf warning.
2812         * configure: Rebuilt.
2813
2814 2004-08-14  Andreas Tobler  <a.tobler@schweiz.ch>
2815
2816         * java/net/natInetAddressPosix.cc (lookup): Reflect rename of 
2817         localhostAddress to loopbackAddress.
2818         * java/net/natInetAddressWin32.cc (lookup): Likewise.
2819
2820 2004-08-13  Bryce McKinlay  <mckinlay@redhat.com>
2821
2822         * configure.in (GCINCS): Don't use "boehm-cflags". Instead, -I 
2823         boehm-gc's include dirs.
2824         * configure: Rebuilt.
2825         * include/boehm-gc.h: Include gc_config.h.
2826
2827 2004-08-13  Bryce McKinlay  <mckinlay@redhat.com>
2828
2829         * java/net/InetAddress.java (loopbackAddress): Renamed from 
2830         localhostAddress.
2831         (getByName): Return loopback address for null hostname, without
2832         security check. Use lookup(), not getAllByName.
2833         (getAllByName): Return loopback address for null hostname, without
2834         security check.
2835         * java/net/natInetAddressPosix.cc (lookup): Don't perform security
2836         check here.
2837
2838 2004-08-13  Bryce McKinlay  <mckinlay@redhat.com>
2839
2840         PR libgcj/17020
2841         Reported by Robin Green.
2842         * defineclass.cc (handleField): Don't throw exception on unrecognised
2843         modifier. Add FIXME comments for spec compliance.
2844         (handleMethod): Likewise.
2845
2846 2004-08-10  Hans Boehm <Hans.Boehm@hp.com>
2847
2848         PR libgcj/16662
2849         * java/lang/natObject.cc (LOCK_LOG, LOG): Add debug tracing.
2850         (Almost everywhere): add LOG calls, fix, add comments.
2851         (_Jv_MonitorEnter): Replace masking of LOCKED bit with assertion.
2852         Add explicit check for LOCKED bit in slow case (PR 16662).
2853         (_Jv_MonitorExit): Add casts in debug-only code.
2854         Always release LOCKED bit before throwing exception.
2855         (_Jv_ObjectCheckMonitor): Lock may be held if lightweight lock
2856         isn't.  Handle easy cases without lock acquisition.
2857         (Object::wait): Use NotifyAll for lock inflation.
2858
2859 2004-08-12  David Daney  <ddaney@avtrex.com>
2860
2861         * testsuite/libjava.lang/Process_1.java: New test.
2862         * testsuite/libjava.lang/Process_2.java: New test.
2863         * testsuite/libjava.lang/Process_3.java: New test.
2864         * testsuite/libjava.lang/Process_4.java: New test.
2865         * testsuite/libjava.lang/Process_5.java: New test.
2866         * testsuite/libjava.lang/Process_6.java: New test.
2867         * testsuite/libjava.lang/Process_1.out: Expected result.
2868         * testsuite/libjava.lang/Process_2.out: Expected result.
2869         * testsuite/libjava.lang/Process_3.out: Expected result.
2870         * testsuite/libjava.lang/Process_4.out: Expected result.
2871         * testsuite/libjava.lang/Process_5.out: Expected result.
2872         * testsuite/libjava.lang/Process_6.out: Expected result.
2873
2874 2004-08-12  David Daney  <ddaney@avtrex.com>
2875
2876         PR libgcj/11801
2877         * java/lang/PosixProcess.java: Rewrote.
2878         * java/lang/natPosixProcess.cc: Rewrote.
2879         * java/lang/Runtime.java (execInternal): Declare throws IOException.
2880         * gcj/javaprims.h (ConcreteProcess$ProcessManager): Declare.
2881         * posix-threads.cc (block_sigchld) New function.
2882         (_Jv_ThreadRegister) Use it.
2883         (_Jv_ThreadStart) Use it.
2884         * configure.in (PLATFORM_INNER_NAT_HDRS): New AC_SUBST() used in...
2885         * Makefile.am: ... to specify extra native headers.
2886         * configure: Regenerated.
2887         * include/config.h: Regenerated.
2888         * Makefile.in: Regenerated.
2889         * gcj/Makefile.in: Regenerated.
2890         * include/Makefile.in: Regenerated.
2891         * testsuite/Makefile.in: Regenerated.
2892
2893 2004-08-12  Diego Novillo  <dnovillo@redhat.com>
2894
2895         PR tree-optimization/16867
2896         * testsuite/libjava.lang/PR16867.java: New test.
2897
2898 2004-08-09  Per Bothner  <per@bothner.com>
2899
2900         * gcj/javaprims.h (_Jv_Utf8Const): Change struct to a class,
2901         with private fields and access methods.
2902         (_Jv_NewStringUTF, _Jv_hashUtf8String): New function declarations.
2903         * gcj/cni.h (_Jv_NewStringUTF): Move to javaprims.h.
2904         * prims.cc (_Jv_Utf8COnst::init): New method implementation.
2905         ( _Jv_makeUtf8Const): Rewrite using new constructors.
2906         (hashUtf8String): Rename to +_Jv_hashUtf8String and make non-static.
2907         * defineclass.cc: Use new _Utf8Const access/convenience methods.
2908         * jni.cc: Likewise.
2909         * resolve.cc: Likewise.
2910         * gcj/field.h: Likewise.
2911         * include/jvm.h: Likewise.
2912         * java/lang/Class.h: Likewise.
2913         * java/lang/natClass.cc: Likwise.
2914         * java/lang/natClassLoader.cc: Likewise
2915         * java/lang/reflect/natMethod.cc: Likewise
2916         * verify.cc: Likewise.
2917         (_Jv_BytecodeVerifier::make_utf8_const):  Optimize.
2918         (~_Jv_BytecodeVerifier):  Don't need second _Jv_Free call.
2919
2920 2004-08-10  Andrew Haley  <aph@redhat.com>
2921
2922         * testsuite/libjava.lang/err14.java: New file.
2923         * testsuite/libjava.lang/err14.out: New file.
2924
2925 2004-08-05  Andreas Tobler  <a.tobler@schweiz.ch>
2926
2927         * Makefile.am: Fix missing rename from x_nat_headers to 
2928         xlib_nat_headers.
2929         * Makefile.in: Regenerated.
2930
2931 2004-08-04  Andrew Haley  <aph@redhat.com>
2932
2933         * java/security/BasicPermission.java: Don't check wildcards.
2934
2935 2004-08-04  Thomas Fitzsimmons <fitzsim@redhat.com>
2936             Michael Koch  <konqueror@gmx.de>
2937
2938         * acinclude.m4: Correctly quote PKG_CHECK_MODULES.
2939         * configure.in: Replaced all usages of AC_LINK_FILES by
2940         AC_CONFIG_LINKS.
2941         * aclocal.m4,
2942         configure: Regenerated.
2943
2944 2004-08-04  Thomas Fitzsimmons  <fitzsim@redhat.com>
2945             Michael Koch  <konqueror@gmx.de>
2946
2947         * acconfig.h: Removed.
2948         * Makefile.am: Rename variables for xlib peer to include xlib and
2949         gtk_c_headers to gtk_jni_headers.
2950         * Makefile.in: Regenerated.
2951
2952 2004-08-04  Andrew Haley  <aph@redhat.com>
2953
2954         * testsuite/lib/libjava.exp (bytecompile_file): Byte compile with
2955         debugging.
2956
2957 2004-08-03  Nathanael Nerode  <neroden@gcc.gnu.org>
2958
2959         * configure.in: Eliminate uses of changequote (mostly by quoting []).
2960         Replace most top level 'dnl' comments with '#' comments, conforming
2961         to new autoconf style.  Use AS_HELP_STRING throughout; improve a few
2962         help strings.
2963         * configure: Rebuilt.
2964
2965 2004-07-17  Nathanael Nerode  <neroden@gcc.gnu.org>
2966
2967         * acinclude.m4: Include no-executables.m4.
2968         * aclocal.m4: Rebuild.
2969         * configure.in: Convert to the autoconf 2.59 version of
2970         of the no-executables hack, and also of the nonstandard CXX
2971         hack and the multilibbed CC and CXX hack.  Change prerequisite
2972         to autoconf 2.59.
2973         * configure: Rebuild with autoconf 2.59.  (Woo-hoo!)
2974         * Makefile.in, gcj/Makefile.in, include/Makefile.in,
2975         testsuite/Makefile.in: Regenerate.
2976
2977 2004-08-03  Tom Tromey  <tromey@redhat.com>
2978
2979         * jni.cc: Reindented.
2980
2981 2004-08-02  Bryce McKinlay  <mckinlay@redhat.com>
2982
2983         * java/sql/Timestamp.java (valueOf): Synchronize access to dateFormat.
2984
2985 2004-08-02  Bryce McKinlay  <mckinlay@redhat.com>
2986
2987         * testsuite/libjava.compile/PR16701.java: New test.
2988
2989 2004-08-01  Andrew John Hughes  <gnu_andrew@member.fsf.org>
2990
2991         * java/util/Collection.java, java/util/List.java,
2992         java/util/Map.java, java/util/Set.java,
2993         java/util/SortedMap.java, java/util/SortedSet.java:
2994         Added additional exceptions to documentation.
2995
2996 2004-08-01  Danny Smith  <dannysmith@users.sourceforge.net>
2997
2998         PR libgcj/16814
2999         * configure.in [host *mingw*] (SYSTEMSPEC): Remove -lwsock32.
3000         * configure. Regenerate.
3001         * include/win32.h: Explicitly include winsock2.h
3002         * win32.cc (_Jv_platform_initialize): Require version 2.2 of
3003         Winsock api.
3004
3005 2004-07-30  Michael Koch  <konqueror@gmx.de>
3006
3007         * java/util/zip/GZIPInputStream.java
3008         (GZIPInputStream): Increase buffer size to 4k.
3009         * java/util/zip/GZIPOutputStream.java
3010         (GZIPOutputStream): Likewise.
3011         * java/util/zip/Inflater.java
3012         (setInput): Merged formating with GNU classpath.
3013         * java/util/zip/InflaterInputStream.java
3014         (InflaterInputStream): Increase buffer size to 4k.
3015         (fill): Throw exception if stream ends early.
3016         (read): Merged endless-loop with GNU classpath.
3017         (skip): Increase buffer size to 2k.
3018
3019 2004-07-30  Michael Koch  <konqueror@gmx.de>
3020
3021         * gnu/java/awt/EmbeddedWindow.java
3022         (addNotify): Use AccessController to allow execution of privileged
3023         code.
3024
3025 2004-07-29  Michael Koch  <konqueror@gmx.de>
3026
3027         * gnu/java/lang/MainThread.java:
3028         Explicitely import used classes.
3029         (args): Make it type String[].
3030
3031 2004-07-29 Dalibor Topic <robilad@kaffe.org>
3032
3033         * gnu/java/awt/ComponentDataBlitOp.java,
3034         gnu/java/beans/ExplicitBeanInfo.java,
3035         gnu/java/beans/IntrospectionIncubator.java,
3036         gnu/java/beans/editors/ColorEditor.java,
3037         gnu/java/beans/editors/FontEditor.java,
3038         gnu/java/beans/editors/NativeBooleanEditor.java,
3039         gnu/java/beans/editors/NativeByteEditor.java,
3040         gnu/java/beans/editors/NativeDoubleEditor.java,
3041         gnu/java/beans/editors/NativeFloatEditor.java,
3042         gnu/java/beans/editors/NativeIntEditor.java,
3043         gnu/java/beans/editors/NativeLongEditor.java,
3044         gnu/java/beans/editors/NativeShortEditor.java,
3045         gnu/java/beans/editors/StringEditor.java,
3046         gnu/java/io/ClassLoaderObjectInputStream.java,
3047         gnu/java/io/decode/Decoder.java,
3048         gnu/java/io/encode/Encoder.java,
3049         gnu/java/lang/ClassHelper.java,
3050         gnu/java/locale/Calendar.java,
3051         gnu/java/locale/Calendar_de.java,
3052         gnu/java/locale/Calendar_en.java,
3053         gnu/java/locale/Calendar_nl.java,
3054         gnu/java/locale/LocaleInformation_de.java,
3055         gnu/java/locale/LocaleInformation_en.java,
3056         gnu/java/locale/LocaleInformation_nl.java:
3057         Cleaned up imports.
3058
3059 2004-07-28  Bryce McKinlay  <mckinlay@redhat.com>
3060
3061         * README: Remove obsolete info. Update bug URL.
3062         * THANKS: Updated.
3063         * NEWS: Updated with news up to GCC 3.4 release.
3064
3065 2004-07-28  Bryce McKinlay  <mckinlay@redhat.com>
3066
3067         * gnu/java/security/action/GetPropertyAction.java (setParameters):
3068         Renamed from 'setName'. New 2-argument form with default value.
3069         (run): Pass default 'value' parameter to System.getProperty().
3070         * gnu/java/security/action/SetAccessibleAction.java: Fix javadoc
3071         typos.
3072         * gnu/java/net/protocol/http/Connection.java: Use 'setParameters'
3073         not 'setName'.
3074
3075 2004-07-28  Bryce McKinlay  <mckinlay@redhat.com>
3076
3077         * configure.in: Check for minimum GTK version 2.4 requirement.
3078         * configure: Rebuilt.
3079
3080 2004-07-27  Bryce McKinlay  <mckinlay@redhat.com>
3081
3082         * testsuite/libjava.lang/TLtest.java: Reduce sleep time.
3083         * testsuite/libjava.lang/Thread_Alive.java: Remove old email address.
3084         Reduce sleep time.
3085         * testsuite/libjava.lang/Thread_HoldsLock.java: Modify to work around
3086         compiler bug.
3087         * testsuite/libjava.lang/Thread_Interrupt.java: Remove old email 
3088         address. Reduce sleep times. Synchronize with target threads before
3089         attempting to interrupt them. Don't try to calibrate yeild count,
3090         instead, always loop for a fixed time.
3091         * testsuite/libjava.lang/Thread_Join.java: Remove old email address.
3092         * testsuite/libjava.lang/Thread_Monitor.java: Likewise.
3093         * testsuite/libjava.lang/Thread_Wait.java: Likewise.
3094         * testsuite/libjava.lang/Thread_Wait_2.java: Likewise.
3095         * testsuite/libjava.lang/Thread_Wait_Interrupt.java: Likewise.
3096         * testsuite/libjava.lang/pr179.java: Likewise.
3097         * testsuite/libjava.lang/Thread_Sleep.java: Likewise. Reduce sleep
3098         time. Remove upper bounds check on sleep time. 
3099
3100 2004-07-27  Bryce McKinlay  <mckinlay@redhat.com>
3101
3102         * testsuite/libjava.lang/Thread_HoldsLock.java: New test case.
3103         * testsuite/libjava.lang/Thread_HoldsLock.out: New.     
3104
3105 2004-07-27  Bryce McKinlay  <mckinlay@redhat.com>
3106
3107         * java/io/File.java (toURI): Throw RuntimeException, not 
3108         InternalError.
3109         * java/lang/Runtime.java (exit): Qualify static sleep() call with
3110         class name, not instance.
3111
3112 2004-07-24  Bryce McKinlay  <mckinlay@redhat.com>
3113
3114         * Makefile.am: Add gnu/java/security/action/GetPropertyAction.java
3115         and gnu/java/security/action/SetAccessibleAction.java.
3116         * Makefile.in: Rebuilt.
3117
3118 2004-07-23  Bryce McKinlay  <mckinlay@redhat.com>
3119
3120         * prims.cc (_Jv_InitPrimClass): Don't create an array class.
3121         (_Jv_CreateJavaVM): Don't pass array vtable parameter to
3122         _Jv_InitPrimClass.
3123         (DECLARE_PRIM_TYPE): Don't declare array vtables.
3124         * include/jvm.h (struct _Jv_ArrayVTable): Removed.
3125         * java/lang/Class.h (_Jv_InitPrimClass): Update friend declaration.
3126
3127 2004-07-23  Thomas Fitzsimmons  <fitzsim@redhat.com>
3128
3129         * Makefile.am: Replace jar, rmic and rmiregistry references with
3130         gjar, grmic and grmiregistry.
3131         * configure.in: Likewise.
3132         * Makefile.in: Regenerate.
3133         * configure: Likewise.
3134         * gcj/Makefile.in: Likewise.
3135         * include/Makefile.in: Likewise.
3136         * testsuite/Makefile.in: Likewise.
3137
3138 2004-07-23  Bryce McKinlay  <mckinlay@redhat.com>
3139
3140         * gnu/java/net/protocol/http/Connection.java: Use GetPropertyAction
3141         for privileged getProperty calls.
3142         * java/io/ObjectOutputStream.java (getField): No longer static. Use
3143         SetAccessibleAction instead of anonymous class for doPrivileged call.
3144         (getMethod): Likewise.
3145         (setAccessible): New field. PrivilegedAction object to use when
3146         calling setAccessible.
3147         * java/io/ObjectStreamClass.java (calculateOffsets): Use
3148         SetAccessibleAction instead of anonymous class for diPrivileged call.
3149         (setFields): Likewise.
3150         (getClassUID): Likewise.
3151         (findMethod): Likewise.
3152         * gnu/java/security/action/GetPropertyAction.java: New class.
3153         * gnu/java/security/action/SetAccessibleAction.java: New class. 
3154
3155 2004-07-23  Bryce McKinlay  <mckinlay@redhat.com>
3156
3157         * java/io/ObjectStreamField (ObjectStreamField): Don't unset 'toset'
3158         for final fields.
3159         * testsuite/libjava.lang/Serialization.java: New test.
3160         * testsuite/libjava.lang/Serialization.out: New.
3161
3162 2004-07-23  Bryce McKinlay  <mckinlay@redhat.com>
3163
3164         * gnu/java/net/DefaultContentHandlerFactory.java: Check in real file
3165         missed in last commit.
3166
3167 2004-07-23  Mark Wielaard  <mark@klomp.org>
3168
3169         * java/lang/System.java (static): Set http.agent system property when
3170         not yet set.
3171         * gnu/java/net/protocol/http/Connection.java (static): Get httpAgent
3172         from system property inside AccessController.doPrivileged() call.
3173         (proxyPort): Made package private.
3174         (proxyInUse): Likewise.
3175         (proxyHost): Likewise.
3176         (userAgent): Likewise.
3177
3178 2004-07-23  Mark Wielaard  <mark@klomp.org>
3179
3180         * gnu/java/net/DefaultContentHandlerFactory.java: New dummy
3181         implementation.
3182
3183 2004-07-22  Bryce McKinlay  <mckinlay@redhat.com>
3184
3185         * Makefile.am (ordinary_java_source_files): Add
3186         DefaultContentHandlerFactory.java.
3187         * Makefile.in: Rebuilt.
3188         * java/net/URLConnection.java (defaultFactory): New field.
3189         (getContent): 
3190         (getContentHandler): Renamed from 'setContentHandler'. Try 
3191         defaultFactory after user-set factory, if any. Search for content 
3192         handler implementations in gnu.java.net.content, not gnu.gcj.content.
3193         * gnu/java/net/protocol/file/Connection.java (getHeaderField):
3194         Implemented.
3195         (getLastModified): Implemented.
3196         (getPermission): Create file permission here, instead of in
3197         constructor.
3198         * gnu/java/net/protocol/gcjlib/Connection.java (getHeaderField):
3199         Implemented.
3200         * gnu/java/net/protocol/jar/Connection.java (getHeaderField):
3201         Implemented.
3202         (getLastModified): Implemented.
3203         * gnu/java/awt/ClasspathToolkit.java (createImageProducer): New.
3204         Default implementation.
3205         * gnu/java/awt/peer/gtk/GtkToolkit.java (createImageProducer): New.
3206         Implement using GdkPixbufDecoder.
3207         
3208 2004-07-21  Michael Koch  <konqueror@gmx.de>
3209
3210         * javax/swing/JTextArea.java
3211         (setLineWrap): Fire property change event after new value is set.
3212         (setTabSize): Likewise.
3213
3214 2004-07-21  Michael Koch  <konqueror@gmx.de>
3215
3216         * javax/swing/JTable.java
3217         (autoCreateColumnsFromModel): New field.
3218         (autoResizeMode): Likewise.
3219         (cellEditor): Likewise.
3220         (cellSelectionEnabled): Likewise.
3221         (columnModel): Likewise.
3222         (dataModel): Likewise.
3223         (defaultEditorsByColumnClass): Likewise.
3224         (defaultRenderersByColumnClass): Likewise.
3225         (editingColumn): Likewise.
3226         (editingRow): Likewise.
3227         (gridColor): Likewise.
3228         (preferredViewportSize): Likewise.
3229         (rowHeight): Likewise.
3230         (rowMargin): Likewise.
3231         (rowSelectionAllowed): Likewise.
3232         (selectionBackground): Likewise.
3233         (selectionForeground): Likewise.
3234         (selectionModel): Likewise.
3235         (showHorizontalLines): Likewise.
3236         (showVerticalLines): Likewise.
3237         (tableHeader): Likewise.
3238         (JTable): Implemented.
3239         (getColumnModel): Likewise.
3240         (getSelectedRow): Likewise.
3241         (getSelectionModel): Likewise.
3242         (setModel): Likewise.
3243         (setSelectionModel): Likewise.
3244         (createScrollPaneForTable): New method.
3245         (createDefaultDataModel): Likewise.
3246         (createDefaultListSelectionModel): Likewise.
3247         (getModel): Likewise.
3248         (getTableHeader): Likewise.
3249         (setTableHeader): Likewise.
3250         (getColumnSelectionAllowed): Likewise.
3251         (setColumnSelectionAllowed): Likewise.
3252         (getRowSelectionAllowed): Likewise.
3253         (setRowSelectionAllowed): Likewise.
3254         (getAutoResizeMode): Likewise.
3255         (setAutoResizeMode): Likewise.
3256         (getColumnCount): Likewise.
3257         (getRowCount): Likewise.
3258         (getCellRenderer): Likewise.
3259         * javax/swing/JTree.java
3260         (cellRenderer): New field.
3261         (editable): Likewise.
3262         (rootVisible): Likewise.
3263         (showsRootHandles): Likewise.
3264         (getModel): New method.
3265         (setModel): Likewise.
3266         (isEditable): Likewise.
3267         (setEditable): Likewise.
3268         (isRootVisbile): Likewise.
3269         (setRootVisible): Likewise.
3270         (getShowsRootHandles): Likewise.
3271         (setShowRootHandles): Likewise.
3272         (getCellRenderer): Likewise.
3273         (setCellRenderer): Likewise.
3274
3275 2004-07-21  Michael Koch  <konqueror@gmx.de>
3276
3277         * javax/swing/JFormattedTextField.java
3278         (setDocument): Implemented.
3279         * javax/swing/JRootPane.java:
3280         Fixed javadocs.
3281         * javax/swing/JTable.java
3282         (getDefaultRenderer): New method.
3283         * javax/swing/JTextField.java
3284         (setFont): Likewise.
3285         (getPreferredSize): Likewise.
3286         * javax/swing/JToggleButton.java
3287         (getAccessibleContext): Fix javadoc.
3288         * javax/swing/JTree.java:
3289         Add some javadocs.
3290         * javax/swing/JViewport.java:
3291         Likewise.
3292
3293 2004-07-21  David Jee  <djee@redhat.com>
3294
3295         * gnu/java/awt/peer/gtk/GtkFileDialogPeer.java:
3296         Collect all native method declaration at the top.
3297         (create): Set the filename filter if necessary.
3298         (setDirectory): Call nativeSetDirectory().
3299         (setFilenameFilter): Implement.
3300         (filenameFilterCallback): New method.
3301         * jni/gtk-peer/gnu_java_awt_peer_gtk_GtkFileDialogPeer.c
3302         (create): Configure dialog to show hidden files.
3303         (filenameFilterCallback): New function. 
3304         (nativeSetFilenameFilter): New function.
3305         (nativeSetDirectory): New function.
3306
3307 2004-07-21  Kim Ho  <kho@redhat.com>
3308
3309         * javax/swing/plaf/basic/BasicSliderUI.java:
3310         Ran Jalopy.
3311         (paintTrack): Fill the track before painting
3312         the borders.
3313
3314 2004-07-21  Graydon Hoare  <graydon@redhat.com>
3315
3316         patch from Roman Kennke <roman@ontographics.com>
3317         * javax/swing/Spring.java: New file.
3318         * javax/swing/SpringLayout.java: New file.
3319         * Makefile.am: Add new files.
3320         * Makefile.in: Regenerate.
3321
3322 2004-07-21  Graydon Hoare  <graydon@redhat.com>
3323
3324         * javax/swing/plaf/basic/BasicSplitPaneUI.java: Minor layout fixes.
3325         * javax/swing/plaf/basic/BasicTabbedPaneUI.java: Likewise.
3326         * javax/swing/ScrollPaneLayout.java: Likewise.
3327
3328 2004-07-21  Kim Ho  <kho@redhat.com>
3329
3330         * javax/swing/DefaultDesktopManager.java:
3331         (findMinimum): Removed.
3332         (resizeFrame): Trust the UI to pass valid 
3333         bounds.
3334         * javax/swing/JOptionPane.java:
3335         Implemented showInternalXXXDialog methods.
3336         (startModal): New method.
3337         * javax/swing/plaf/basic/BasicInternalFrameUI.java:
3338         (BorderListener::mouseDragged): Verify that the new 
3339         bounds are valid before passing them to the DesktopManager.
3340         (preferredLayoutSize): Delegate
3341         to getSize.
3342         (minimumLayoutSize): Ditto.
3343         (getSize): New method.
3344         (GlassPaneDispatcher): Reimplemented by copying 
3345         a stripped down LightweightDispatcher from Container.
3346         (getMinimumSize): Call minimumLayoutSize.
3347         * javax/swing/plaf/basic/BasicOptionPaneUI.java:
3348         Ran Jalopy.
3349         (mousePressed): Add ability to properly close 
3350         JInternalFrames.
3351         * javax/swing/plaf/basic/BasicToolBarUI.java:
3352         (DragWindow): Set owner for DragWindow.
3353
3354 2004-07-21  Jerry Quinn  <jlquinn@optonline.net>
3355
3356         * java/awt/image/ShortLookupTable.java: New file.
3357         * java/awt/image/ByteLookupTable.java: New file.
3358         * Makefile.am: Added new files.
3359         * Makefile.in: Regenerated.
3360
3361 2004-07-21  David Jee  <djee@redhat.com>
3362
3363         * gnu/java/awt/peer/gtk/GtkFileDialogPeer.java
3364         (create(GtkContainerPeer)): New native method.
3365         (create()): Call native create(), passing in the parent frame
3366         as the paramter. Natively set the current file and directory.
3367         (setFile): Construct an absolute filename before passing it to
3368         the native peer.
3369         (nativeGetDirectory): New method.
3370         * jni/gtk-peer/gnu_java_awt_peer_gtk_GtkFileDialogPeer.c
3371         (window_closed): Removed.
3372         (ok_clicked): Likewise.
3373         (cancel_clicked): Likewise.
3374         (handle_response): New method.
3375         (create): Use GtkFileChooserDialog.
3376         (connectSignals): Connect to handle_response.
3377         (nativeGetDirectory): New method.
3378         (nativeSetFile): Use GtkFileChooserDialog.
3379
3380 2004-07-21  Jerry Quinn  <jlquinn@optonline.net>
3381
3382         * java/awt/image/LookupTable.java: New file.
3383         * Makefile.am: Added new file.
3384         * Makefile.in: Regenerated.
3385
3386 2004-07-21  Jerry Quinn  <jlquinn@optonline.net>
3387
3388         * java/awt/image/Kernel.java: New file.
3389         * Makefile.am: Added new file.
3390         * Makefile.in: Regenerated.
3391
3392 2004-07-21  Olga Rodimina  <rodimina@redhat.com>
3393
3394         * javax/swing/JCheckBoxMenuItem.java: Fixed Javadocs.
3395         * javax/swing/JMenu.java: Likewise.
3396         * javax/swing/JMenuBar.java: Likewise.
3397         (MARGIN_CHANGED_PROPERTY): New property.
3398         (setMargin): Implemented.
3399         * javax/swing/JMenuItem.java: Fixed javadocs.
3400         * javax/swing/JPopupMenuUI.java: Fixed javadocs.
3401         (LABEL_CHANGED_PROPERTY): New property.
3402         (add): changed to use createActionComponent.
3403         (createActionComponent): Implemented.   
3404         (setLabel): Fire PropertyChangeEvent if label property
3405         changes.
3406         * javax/swing/JRadioButtonMenuItem.java: Fixed javadocs.
3407         * javax/swing/plaf/basic/BasicMenuBarUI.java: Likewise.
3408         (ContainerHandler): Repaint if margin property has changed.
3409         * javax/swing/plaf/basic/BasicMenuItemUI.java:
3410         (installUI): Call installComponents().
3411         (uninstallUI): Call uinstallComponents().
3412         * javax/swing/plaf/basic/BasicMenuUI.java:
3413         Fixed javadocs.
3414         * javax/swing/plaf/basic/BasicPopupMenuUI.java:
3415         Likewise.
3416
3417 2004-07-21  Kim Ho  <kho@redhat.com>
3418
3419         * javax/swing/plaf/basic/BasicToolBarUI.java:
3420         (DragWindow): Use the right constructor.
3421
3422 2004-07-21  Kim Ho  <kho@redhat.com>
3423
3424         * javax/swing/JToolBar.java:
3425         (layoutContainer): Use getComponents.
3426         * javax/swing/plaf/basic/BasicToolBarUI.java:
3427         (DragWindow): Don't use SwingUtilities' 
3428         getOwnerFrame
3429         (ToolBarDialog): ditto.
3430
3431 2004-07-21  Kim Ho  <kho@redhat.com>
3432
3433         * javax/swing/JRootPane.java:
3434         Ran jalopy.
3435         (layoutContainer): Set the glasspane's size to 
3436         be the same as the content pane.
3437         (createGlassPane): Set opaque property to false.
3438
3439 2004-07-21  Thomas Fitzsimmons  <fitzsim@redhat.com>
3440
3441         * java/awt/Component.java (requestFocus()): Don't handle Panels
3442         specially.
3443         (requestFocus(boolean)): Likewise.
3444         (requestFocusInWindow(boolean)): Likewise.
3445         * jni/gtk-peer/gnu_java_awt_peer_gtk_GtkPanelPeer.c (create):
3446         Set GTK_CAN_FOCUS flag.
3447
3448 2004-07-21  Kim Ho  <kho@redhat.com>
3449
3450         * Makefile.am: Added new file.
3451         * Makefile.in: Regenerated.
3452         * gcj/Makefile.in: Regenerated.
3453         * include/Makefile.in: Regenerated.
3454         * javax/swing/AbstractButton.java:
3455         Add rollOverEnabled property.
3456         (setRolloverEnabled): Use new property.
3457         (isRolloverEnabled): Use new property.
3458         * javax/swing/JTabbedPane.java:
3459         (setComponent): Remove useless JTabbedPane.this.
3460         * javax/swing/JToolBar.java: Finish implementation.
3461         * javax/swing/plaf/basic/BasicArrowButton.java:
3462         (paint): Moved border painting to a border.
3463         * javax/swing/plaf/basic/BasicLookAndFeel.java:
3464         Change JToolBar look and feel defaults.
3465         * javax/swing/plaf/basic/BasicOptionPaneUI.java
3466         (actionPerformed): Return Integer index instead of name.
3467         (addButtonComponents): Check to see if component is
3468         JButton last.
3469         (createMessageArea): Don't use components that are not
3470         completed yet.
3471         (getIconForType): Use temporary icons.
3472         * javax/swing/plaf/basic/BasicSliderUI.java:
3473         (mousePressed): Do not return if it's on thumb.
3474         (paintMinorTickForHorizSlider): Use BLACK to paint ticks.
3475         (paintMinorTickForVertSlider): ditto.
3476         (paintMajorTickForHorizSlider): ditto.
3477         (paintMajorTickForVertSlider): ditto.
3478         * javax/swing/plaf/basic/BasicSplitPaneDivider.java:
3479         Add a border around the SplitPaneDivider.
3480         * javax/swing/plaf/basic/BasicSplitPaneUI.java:
3481         Remove comments.
3482         * javax/swing/plaf/basic/BasicToolBarSeparatorUI.java:
3483         New file. Implemented.
3484         * javax/swing/plaf/basic/BasicToolBarUI.java:
3485         Implemented.
3486         * testsuite/Makefile.in: Regenerated.
3487
3488 2004-07-21  Graydon Hoare  <graydon@redhat.com>
3489
3490         * javax/swing/Timer.java (run): Queue events each time cycle.
3491
3492 2004-07-21  David Jee  <djee@redhat.com>
3493
3494         * gnu/java/awt/peer/gtk/GtkImagePainter.java
3495         (imageComplete): Call image.imageComplete().
3496         * java/awt/image/MemoryImageSource.java:
3497         Reimplement consumers as a Vector instead of a Hashtable.  This is
3498         because enumeration on a Hashtable is not thread-safe.
3499         (addConsumer): Adapt to Vector consumers.
3500         (isConsumer): Adapt to Vector consumers.
3501         (removeConsumer): Adapt to Vector consumers.
3502         (startProduction): Adapt to Vector consumers. Call imageComplete()
3503         with STATICIMAGEDONE flag instead of SINGLEFRAME flag.
3504         (newPixels): Adapt to Vector consumers.
3505         (sendPicture): Set the color model of the image consumer.
3506         (newPixels(IIII)): Adapt to Vector consumers.
3507         (newPixels(IIIIB)): Adapt to Vector consumers.
3508
3509 2004-07-21  Thomas Fitzsimmons  <fitzsim@redhat.com>
3510
3511         * java/awt/Component.java (deliverEvent): Implement.
3512         (postEvent): Implement.
3513         (handleEvent): Implement.
3514         (translateEvent): New method.
3515         (dispatchEventImpl): Document.  Add AWT 1.0 event handling.
3516         * java/awt/Container.java (deliverEvent): Implement.
3517         * java/awt/Event.java (paramString): Fix formatting.
3518         * java/awt/Font.java (toString): Likewise.
3519         * java/awt/Window.java (postEvent): Implement.
3520
3521 2004-07-21  Thomas Fitzsimmons  <fitzsim@redhat.com>
3522
3523         * java/awt/DefaultKeyboardFocusManager.java (dispatchEvent):
3524         Set window's focus owner upon receiving a FOCUS_LOST event.
3525         * java/awt/Window.java (Window()): Refocus the previously
3526         focused component within the window when the window regains the
3527         top-level focus.
3528         (setFocusOwner): New method.
3529         * java/awt/Component.java (requestFocus): Add FIXME.
3530
3531         * libgcj.pc.in: Remove library flags.
3532
3533 2004-07-21  Thomas Fitzsimmons  <fitzsim@redhat.com>
3534
3535         * gnu/java/awt/peer/gtk/GtkPanelPeer.java (handleEvent): Handle
3536         MOUSE_PRESSED event.
3537         * java/awt/Component.java (requestFocus()): Handle Panel
3538         specially.  Post FOCUS_LOST event on opposite component.
3539         (requestFocus(boolean)): Likewise.
3540         (requestFocusInWindow(boolean)): Likewise.
3541         (paramString): Reorder dimension fields.
3542         * java/awt/Container.java (paramString): Fix string format.
3543         * java/awt/DefaultKeyboardFocusManager.java (dispatchEvent):
3544         Handle FOCUS_LOST events.  Don't handle Windows specially.  Only
3545         process key events if the focus owner is non-null.
3546         (dispatchKeyEvent): Likewise.
3547         * java/awt/Frame.java (paramString): Fix formatting.
3548         (generateName): New method.
3549         (getUniqueLong): Likewise.
3550         * java/awt/KeyboardFocusManager.java (getFocusOwner): Check if
3551         the temporary focus owner is null.  If so, return the permanent
3552         focus owner.
3553         * java/awt/Panel.java (generateName): New method.
3554         (getUniqueLong): Likewise.
3555         * jni/gtk-peer/gnu_java_awt_peer_gtk_GtkWindowPeer.c: Rework
3556         signal handling to make callbacks more specific.
3557
3558 2004-07-21  Michael Koch  <konqueror@gmx.de>
3559
3560         * javax/swing/text/Position.java
3561         (Bias): Implemented.
3562
3563 2004-07-21  Michael Koch  <konqueror@gmx.de>
3564
3565         * javax/swing/LookAndFeel.java
3566         (provideErrorFeedback): New method.
3567
3568 2004-07-21  Michael Koch  <konqueror@gmx.de>
3569
3570         * javax/swing/JTextArea.java
3571         (tabSize): New field.
3572         (getTabSize): New method.
3573         (setTabSize): Likewise.
3574
3575 2004-07-21  Michael Koch  <konqueror@gmx.de>
3576
3577         * javax/swing/ActionMap.java:
3578         Fixed javadocs all over.
3579         (serialVersionUID): Made private.
3580         (parent): Don't explicitely initialize with default value.
3581         (get): SImplified.
3582         (keys): Reimplemented.
3583         (allKeys): Likewise.
3584         (convertSet): Removed.
3585         * javax/swing/ComponentInputMap.java:
3586         Fixed javadocs all over.
3587         (ComponentInputMap): Implemented.
3588         (put): Likewise.
3589         (clear): Likewise.
3590         (remove): Likewise.
3591         (SetParent): Likewise.
3592         (getComponent): Likewise.
3593         * javax/swing/InputMap.java:
3594         Fixed javadocs all over.
3595         (serialVersionUID): Made private.
3596         (parent): Don't explicitely initialize with default value.
3597         (get): SImplified.
3598         (keys): Reimplemented.
3599         (allKeys): Likewise.
3600         (convertSet): Removed.
3601
3602 2004-07-21  Michael Koch  <konqueror@gmx.de>
3603
3604         * javax/swing/ActionMap.java,
3605         javax/swing/ComponentInputMap.java,
3606         javax/swing/InputMap.java,
3607         javax/swing/table/DefaultTableColumnModel.java,
3608         javax/swing/table/TableColumn.java,
3609         javax/swing/table/TableColumnModel.java,
3610         javax/swing/table/TableModel.java,
3611         javax/swing/text/AbstractDocument.java,
3612         javax/swing/text/TextAction.java:
3613         Reformated.
3614
3615 2004-07-21  Graydon Hoare  <graydon@redhat.com>
3616
3617         * gnu/java/awt/peer/gtk/GtkToolkit.java (bufferedImageOrError): 
3618         Make method non-static.
3619         * javax/swing/AbstractButton.java:
3620         Rename fields to match property names where possible.
3621         (iconTextGap): New property.
3622         * javax/swing/JCheckBox.java: Match AbstractButton changes.
3623         (init) New method, call from after various constructors.
3624         * javax/swing/JComponent.java (revalidate): 
3625         Invalidate before queueing repair.
3626         * javax/swing/JList.java (getPreferredScrollableViewportSize):
3627         Reimplement in terms of visibleRowCount property.
3628         * javax/swing/JMenuButton.java: Match AbstractButton changes.
3629         * javax/swing/JScrollPane.java (createScrollListener): 
3630         Remove tracing chatter.
3631         * javax/swing/JToggleButton.java: Match AbstractButton changes.
3632         * javax/swing/RepaintManager.java (addInvalidComponent): 
3633         Don't invalidate.
3634         * javax/swing/ScrollPaneLayout.java: Various corrections to layout
3635         calculations.
3636         * javax/swing/SwingUtilities.java (layoutCompoundLabel): 
3637         Mimic sun behavior on top left/right positioning.
3638         * javax/swing/ViewportLayout.java (preferredLayoutSize):
3639         Remove mistaken use of preferredScrollableViewportSize here.
3640         (layoutContainer): Use view's preferred size as basis.
3641         * javax/swing/plaf/basic/BasicButtonUI.java:
3642         Set, get, and use textIconGap property.
3643         (paint) Paint text returned from layout (with ellipsis).
3644         * javax/swing/plaf/basic/BasicListUI.java:
3645         Remove tracing chatter, correct various minor calculations.
3646         (getCellBounds): Update layout state before calculating.
3647         * javax/swing/plaf/basic/BasicLookAndFeel.java (Button.Margin):
3648         Use margin default similar to sun's.    
3649         * javax/swing/plaf/basic/BasicScrollBarUI.java (ArrowIcon):
3650         (createIncreaseIcon): Center icon, minimize margins.
3651         (createDecreaseIcon): Likewise.
3652         * javax/swing/plaf/basic/BasicScrollPaneUI.java (installDefaults):
3653         Implement.
3654         (installUI): Call it.
3655         (uninstallDefaults): Implement.
3656         (uninstallUI): Call it.
3657         * javax/swing/plaf/basic/BasicToolBarUI.java (DragWindow):
3658         Call existing Window constructor.
3659         * javax/swing/plaf/basic/BasicViewportUI.java (paint):
3660         Set clip before painting.
3661
3662 2004-07-21  Olga Rodimina <rodimina@redhat.com>
3663         
3664         * javax/swing/JMenuItem.java:
3665         (processMouseEvent): Reimplemented to deal with
3666         mouse drag events.
3667         (createMenuDragMouseEvent): New private helper method.
3668         Creates MenuDragMouseEvent.
3669         * javax/swing/MenuSelectionManager.java
3670         (componentForPoint): Implemented.
3671         (isComponentPartOfCurrentMenu): Made public.
3672         (processMouseEvent): Reimplemented to deal with 
3673         mouse drag events.
3674         (setSelectedPath): Corrected small mistake that caused
3675         path to be set incorrectly.
3676         (getPath): If given component is JMenu then also add this
3677         menu's popup menu to the selected path.
3678         * javax/swing/plaf/basic/BasicMenuItemUI.java:
3679         (getPath): Ditto.
3680         (getPreferredSize): Call getPreferredMenuItemSize().
3681         (getPreferredItemSize): Moved code from getPreferredSize to here.
3682         (installListeners): Install MouseMotionListeners.
3683         (MouseInputHandler): Pass mouse release event to MenuSelectionManager 
3684         if mouse wasn't released in the bounds of this menu item.
3685         (MenuDragMouseHandler): Implemented.
3686         * javax/swing/plaf/basic/BasicMenuUI.java:
3687         (installListeners): Install MouseMotionListener and 
3688         MenuDrageMouseListener.
3689         (MenuDragMouseHandler): Implemented.
3690         * javax/swing/plaf/basic/BasicPopupMenuUI.java:
3691         (uninstallListeners): Implemented.
3692         
3693 2004-07-21  Michael Koch  <konqueror@gmx.de>
3694
3695         * javax/swing/JCheckBox.java: Reformated.
3696         (JCheckBox): Fixed all constructors.
3697         (isBorderPaintedFlat): New method.
3698         (setBorderPaintedFlat): New method.
3699         * javax/swing/JEditorPane.java
3700         (createEditorKitForContentType): Made public.
3701         (scrollToReference): Likewise.
3702         * javax/swing/JTextArea.java
3703         (setLineWrap): Fire property change.
3704         * javax/swing/JToggleButton.java
3705         (JToggleButton): New constructor.
3706         (JToggleButton): Simplified.
3707         * javax/swing/text/AttributeSet.java
3708         (FontAttribute): Renamed from FontCharacterAttribute.
3709         * javax/swing/text/JTextComponent.java
3710         (KeyBinBinding): Added javadoc.
3711         (JTextComponent): Likewise.
3712         (getAccessibleContext): Fixed javadoc.
3713         * javax/swing/text/View.java
3714         (View): Added javadoc.
3715         * javax/swing/text/TabableView.java: New file.
3716         * Makefile.am: Added javax/swing/text/TabableView.java.
3717         * Makefile.in: Regenerated.
3718
3719 2004-07-21  Graydon Hoare  <graydon@redhat.com>
3720
3721         * java/awt/image/BufferedImage.java (getSource): Remove tracing chatter.
3722         * gnu/java/awt/peer/gtk/GtkToolkit.java 
3723         (GtkErrorImage): New helper class.
3724         (bufferedImageOrError): New helper method.
3725         (createImage): Use it.
3726
3727 2004-07-21  David Jee  <djee@redhat.com>
3728
3729         * jni/gtk-peer/gnu_java_awt_peer_gtk_GtkTextComponentPeer.c
3730         (setCaretPosition): Scroll the text view so the new caret position
3731         is visible on screen.
3732
3733 2004-07-21  David Jee  <djee@redhat.com>
3734
3735         * gnu/java/awt/peer/gtk/GtkContainerPeer.java
3736         (setBounds): Do not validate awtComponent here.
3737         * gnu/java/awt/peer/gtk/GtkScrollPanePeer.java
3738         (getPreferredSize): New method.
3739         * java/awt/ScrollPane.java
3740         (ScrollPane): Set default size to 100x100.
3741         (addNotify): If child is not a Panel, wrap it with a new Panel.
3742         (paramString): Implement.
3743
3744 2004-07-21  Olga Rodimina  <rodimina@redhat.com>
3745
3746         * javax/swing/JMenu.java:
3747         (setSelected): Display popup menu only if this menu 
3748         is showing on the screen.
3749         * javax/swing/JPopupMenu.java:
3750         (processMouseEvent): Added comment.
3751         (processKeyEvent): Likewise.
3752         * javax/swing/MenuSelectionManager.java:
3753         (clearSelectedPath): Only fireStateChanged() after
3754         selected path was changed, not before.
3755         (setSelectedPath): Likewise.
3756         * javax/swing/plaf/basic/BasicMenuItemUI.java:
3757         (paintMenuItem): Corrected position of menu item's
3758         icon.
3759         * javax/swing/plaf/basic/BasicPopupMenuUI.java:
3760         (installUI): Correct setDefaultLightWeightPopupEnabled call.
3761         (popupMenuCanceled): Reimplemented.
3762         (popupMenuWillBecomeVisible): Select first menu item by default 
3763         when displaying free floating popup menus.
3764         (TopWindowListener): Reimplemented.
3765
3766 2004-07-21  Thomas Fitzsimmons  <fitzsim@redhat.com>
3767
3768         * java/awt/Panel.java (dispatchEventImpl): Override to prevent
3769         Panel from being painted twice when it is first shown.
3770
3771 2004-07-21  Olga Rodimina  <rodimina@redhat.com>
3772
3773         * java/awt/Window.java: Reverted changes from my 
3774         previous patch for creating window without an owner.
3775         * javax/swing/SwingUtilities.java: 
3776         (SwingUtilities.OwnerFrame): made static.
3777         (OwnerFrame.setVisible): New method. Overridden with
3778         empty implementation.
3779         (OwnerFrame.isShowing): New method. Ovverridden
3780         to return always true.
3781
3782 2004-07-21  Thomas Fitzsimmons  <fitzsim@redhat.com>
3783
3784         * gnu/java/awt/peer/gtk/GtkComponentPeer.java,
3785         jni/gtk-peer/gnu_java_awt_peer_gtk_GtkComponentPeer.c
3786         (GtkComponentPeer): Remove temporary try/catch block.
3787         (setVisible): Call show and hide.
3788         (show): Make native.
3789         (hide): Likewise.
3790         (getArgs): Don't add "visible" argument.
3791         * jni/gtk-peer/gnu_java_awt_peer_gtk_GtkWindowPeer.c
3792         (property_notify_predicate): Return Bool instead of int.
3793         (find_layout): New function.
3794         (connectJObject): Call find_layout.
3795         (connectSignals): Likewise.
3796         (moveLayout): Likewise.
3797         (gtkLayoutSetVisible): Likewise.
3798
3799 2004-07-21  Mark Wielaard  <mark@klomp.org>
3800
3801         * java/awt/event/InvocationEvent.java (dispatch): Synchronize
3802         on notifier object before calling notifyAll().
3803
3804 2004-07-21  Olga Rodimina  <rodimina@redhat.com>
3805
3806         * java/awt/Window.java: Changed constructors to use new
3807         method that is described below. Constructors call this
3808         methods only if newly created window should have an owner.
3809         (setWindowOwner): New method. Implementation for
3810         this method is moved from this(owner,configuration).
3811         * javax/swing/JWindow.java:
3812         (JWindow): Reimplement to use SwingUtilities.ownerFrame
3813         instead of owner.
3814         * javax/swing/SwingUtilities.java:
3815         (ownerFrame): Change type of this field to OwnerFrame.
3816         (getOwnerFrame): Changed to return object of type OwnerFrame.
3817         (SwingUtilities.OwnerFrame): New class. Represents owner
3818         of a Window that is not provided with one.
3819
3820 2004-07-21  Olga Rodimina  <rodimina@redhat.com>
3821
3822         *  javax/swing/AbstractButton.java: 
3823         (configurePropertiesFromAction): Set action command
3824         to button's text by default if action command is not 
3825         explicitely specified.
3826         * javax/swing/JMenu.java: Remove unnecessary listener
3827         and methods relevant to it.
3828         (setSelected): Reimplemented.
3829         (menuSelectionChanged): Moved most part of implementation to
3830         setSelected() and call it instead.
3831         * javax/swing/JMenuItem.java: 
3832         (init): Comment out statement that sets paint_border to false.
3833         (configurePropertiesFromAction): Do not set accelerator
3834         for JMenu.
3835         (menuSelectionChanged): Change selected index in the selection
3836         model of menu item's parent.
3837         * javax/swing/JPopupMenu.java:
3838         (remove): Set constraints.fill field to GridBagConstraints.BOTH
3839         instead of GridBagConstraints.HORIZONTAL.
3840         (insert): Likewise.
3841         (createActionChangeListener): Implemented.
3842         (setVisible): Correct location of HeavyWeightMenu and 
3843         don't firePopupMenuCanceled().
3844         (menuSelectionChanged): Implemented.
3845         (ActionChangeListener): New Listener. Implemented.
3846         * javax/swing/plaf/basic/BasicMenuBarUI.java:
3847         (BasicMenuBarUI.ContainerHandler): Implemented.
3848         * javax/swing/plaf/basic/BasicMenuItemUI.java:
3849         (paintMenuItem): Uncommented out code that paints 
3850         icon, now that icons are working properly.
3851         (PropertyChangeListener): Implemented.
3852         * javax/swing/plaf/basic/BasicPopupMenuUI.java:
3853         Added javadocs.
3854         (topWindowListener): New field.
3855         (Constructor): initialize topWindowListener.
3856         (BasicPopupMenuUI.TopWindowListener): Implemented.      
3857         (BasicPopupMenuUI.PopupMenuHandler): Implemented.
3858         (BasicPopupMenuUI.TopWindowListener): New ComponentListener.
3859         Implemented.
3860
3861 2004-07-21  Michael Koch  <konqueror@gmx.de>
3862
3863         * javax/swing/plaf/basic/BasicButtonUI.java
3864         (paintFocus): Fixed method signature.
3865         (paintButtonPressed): Likewise.
3866         (paintButtonNormal): Likewise.
3867         (paintText): New method.
3868         * javax/swing/plaf/basic/BasicLabelUI.java
3869         (paint): Re-indented.
3870         * javax/swing/plaf/basic/BasicTextUI.java
3871         (installUI): Set parent textComponent to opaque.
3872         * javax/swing/text/DefaultHighlighter.java
3873         (checkPositions): New helper method.
3874         (addHighlight): Throws BadLocationException, check positions.
3875         (changeHighlight): Likewise.
3876         * javax/swing/text/EditorKit.java
3877         (EditorKit): Implements Serializable.
3878         * javax/swing/text/JTextComponent.java
3879         (getUI): Added javadoc.
3880         (setUI): Likewise.
3881         (upadteUI): Added javadoc, don't revalidate and repaint.
3882
3883 2004-07-21  David Jee  <djee@redhat.com>
3884
3885         * java/awt/GridBagLayout.java
3886         (ArrangeGrid): Use PREFERREDSIZE instead of MINSIZE.
3887         * javax/swing/AbstractButton.java
3888         (setText): Reindent.
3889         * javax/swing/RepaintManager.java
3890         (addInvalidComponent): Find the first ancestor that isValidateRoot().
3891
3892 2004-07-21  Michael Koch  <konqueror@gmx.de>
3893
3894         * javax/swing/JFormattedTextField.java
3895         (value): New field.
3896         (JFormattedTextField): Implemented.
3897         (getValue): Likewise.
3898         (setValue): Likewise.
3899         * javax/swing/LookAndFeel.java
3900         (getSupportsWindowDecorations): New method.
3901         * javax/swing/UIDefaults.java:
3902         Use java.beans.PropertyChangeSupport instead of doing all ourself.
3903         (addPropertyChangeListener): Made public.
3904         (addResourceBundle): Likewise.
3905         (removeResourceBundle): Likewise.
3906         (setDefaultLocale): Likewise.
3907         * javax/swing/plaf/basic/BasicRootPaneUI.java
3908         (BasicRootPaneUI): Implements PropertyChangeListener.
3909         (propertyChange): New method.
3910         * javax/swing/plaf/basic/BasicTextUI.java
3911         (BasicHighlighter): New inner class.
3912         (createHighlighter): New method.
3913         * javax/swing/plaf/basic/BasicToolBarUI.java
3914         (DragWindow): Extends java.awt.Window.
3915         * javax/swing/text/JTextComponent.java
3916         (getDocument): Removed debug output.
3917         * javax/swing/plaf/basic/BasicTextFieldUI.java,
3918         javax/swing/text/DefaultHighlighter.java,
3919         javax/swing/text/FieldView.java,
3920         javax/swing/text/PlainView.java: New files.
3921         * Makefile.am: Added new files.
3922         * Makefile.in: Regenerated.
3923
3924 2004-07-21  Michael Koch  <konqueror@gmx.de>
3925
3926         * javax/swing/JEditorPane.java
3927         (createDefaultEditorKit): Use javax.swing.text.DefaultEditorKit.
3928         (createEditorKitForContentType): Likewise.
3929         * javax/swing/text/DefaultEditorKit.java
3930         (serialVersionUID): Added constant field.
3931         (EndOfLineStringPropery): Fixed typo.
3932         (DefaultEditorKit): New constructor.
3933         * javax/swing/text/Segment.java:
3934         Import java.text.CharacterIterator.
3935         * javax/swing/text/CharacterIterator.java,
3936         javax/swing/text/PlainEditorKit.java: Removed.
3937         * Makefile.am: Removed javax/swing/text/CharacterIterator.java and
3938         javax/swing/text/PlainEditorKit.java.
3939         * Makefile.in: Regenerated.
3940
3941 2004-07-21  Michael Koch  <konqueror@gmx.de>
3942
3943         * javax/swing/JButton.java,
3944         javax/swing/text/DefaultEditorKit.java,
3945         javax/swing/text/EditorKit.java,
3946         javax/swing/text/Segment.java,
3947         javax/swing/text/StyledEditorKit.java:
3948         Reformatted.
3949
3950 2004-07-21  Michael Koch  <konqueror@gmx.de>
3951
3952         * javax/swing/ImageIcon.java
3953         (file): Removed.
3954         (description): Renamed from descr.
3955         (ImageIcon): Added missing constructors.
3956         (setParent): Removed.
3957         (setImageObserver): New method.
3958         (getImageObserver): New method.
3959         (paintIcon): Handle observer = null.
3960         * javax/swing/JButton.java
3961         (removeNotify): Fixed javadoc.
3962         (updateUI): Simplified.
3963         * javax/swing/JRootPane.java
3964         (serialVersionUID): New constant field.
3965         * javax/swing/UIManager.java:
3966         Fixed javadocs all over.
3967         (setLookAndFeel): Throws UnsupportedLookAndFeelException.
3968         * javax/swing/text/AbstractDocument.java
3969         (createPosition): Throws BadLocationException.
3970         (getText): Likewise.
3971         (remove): Likewise.
3972         * javax/swing/text/ComponentView.java
3973         (modelToView): Likewise.
3974         * javax/swing/text/DefaultEditorKit.java:
3975         Made all public methods public.
3976         (read): Throws BadLocationException and IOException.
3977         (write): Likewise.
3978         * javax/swing/text/EditorKit.java:
3979         Made all public methods public.
3980         (serialVersionUID): New constant field.
3981         (clone): New method.
3982         (read): Throws BadLocationException and IOException.
3983         (write): Likewise.
3984         * javax/swing/text/Segment.java
3985         (array): Made public.
3986         (count): Likewise.
3987         (offset): Likewise.
3988         (Segment): New constructors.
3989         (clone): Reimplemented.
3990         * javax/swing/text/StyledEditorKit.java
3991         (serialVersionUID): New constant field.
3992
3993 2004-07-21  Graydon Hoare  <graydon@redhat.com>
3994
3995         * java/awt/image/BufferedImage.java 
3996         (getSource): Implement.
3997         * javax/swing/ImageIcon.java 
3998         (ImageIcon): Implement ctor.
3999         * javax/swing/ScrollPaneLayout.java 
4000         (preferredLayoutSize): Be more careful about nulls.
4001
4002 2004-07-21  Michael Koch  <konqueror@gmx.de>
4003
4004         * javax/swing/text/AttributeSet.java
4005         (CharacterAttribute): New interface
4006         (ColorAttribute): Likewise.
4007         (FontCharacterAttribute): Likewise.
4008         (ParagraphAttribute): Likewise.
4009         * javax/swing/text/DefaultCaret.java
4010         (moveCaret): New method.
4011         (positionCaret): Likewise.
4012         (repaint): Made protected.
4013         * javax/swing/text/JTextComponent.java
4014         (KeyBinding): Made it static.
4015         * javax/swing/text/View.java
4016         (getContainer): Honor parent == null.
4017
4018 2004-07-21  Michael Koch  <konqueror@gmx.de>
4019
4020         * javax/swing/text/AbstractDocument.java:
4021         Reformatted.
4022
4023 2004-07-21  Michael Koch  <konqueror@gmx.de>
4024
4025         * javax/swing/plaf/basic/BasicRootPaneUI.java:
4026         Import javax.swing.UIManager explicitely.
4027         * javax/swing/plaf/basic/BasicTabbedPaneUI.java
4028         (ScrollingButton): Made it static.
4029
4030 2004-07-21  Michael Koch  <konqueror@gmx.de>
4031
4032         * javax/swing/UIDefaults.java
4033         (ActiveValue): Made public.
4034         (LazyValue): Likewise.
4035         * javax/swing/plaf/basic/BasicTextUI.java
4036         (RootView): Reintroduced.
4037         (view): Removed.
4038         (rootView): New field.
4039         (installUI): Create document if needed, initialize rootView.
4040         (uninstallUI): Hanle rootView.
4041         (paint): Likewise.
4042         (getRootView): Likewise.
4043         (setView): Likewise.
4044         * javax/swing/text/DefaultCaret.java:
4045         Renamed all "evt" variables to "event".
4046
4047 2004-07-21  Thomas Fitzsimmons  <fitzsim@redhat.com>
4048
4049         * libgcj.spec.in: Add -l-java-util-logging.
4050
4051 2004-07-21  Andreas Tobler  <a.tobler@schweiz.ch>
4052
4053         * jni/gtk-peer/gnu_java_awt_peer_gtk_GtkMainThread.c
4054         (init_dpi_conversion_factor): Check for int_dpi < 0 in case
4055         gtk-xft-dpi can no calculate the right value.
4056         (dpi_changed_cb): Mark *pspec as unsused.
4057
4058 2004-07-21  David Jee  <djee@redhat.com>
4059
4060         * java/awt/Component.java
4061         (move): Delegate to setBounds().
4062         (resize): Likewise.
4063         (reshape): Fix so it repaints parent and self only when necessary.
4064
4065 2004-07-21  David Jee  <djee@redhat.com>
4066
4067         * gnu/java/awt/peer/gtk/GtkComponentPeer.java,
4068         jni/gtk-peer/gnu_java_awt_peer_gtk_GtkComponentPeer.c
4069         (GtkComponentPeer): Revert previous patch from 2004-06-22.
4070         (setVisible): Likewise.
4071         (show): Likewise.
4072         (hide): Likewise.
4073         (getArgs): Likewise.
4074         * jni/gtk-peer/gnu_java_awt_peer_gtk_GtkWindowPeer.c
4075         (property_notify_predicate): Likewise.
4076         (find_layout): Likewise.
4077         (connectJObject): Likewise.
4078         (connectSignals): Likewise.
4079         (moveLayout): Likewise.
4080         (gtkLayoutSetVisible): Likewise.
4081
4082 2004-07-21  Graydon Hoare  <graydon@redhat.com>
4083
4084         * Makefile.am
4085         (jv_convert_LDADD):
4086         (gij_LDADD):
4087         (rmic_LDADD):
4088         (rmiregistry_LDADD): Add lib-java-util-logging.la
4089         * Makefile.in: Regenerate.
4090
4091 2004-07-21  Michael Koch  <konqueror@gmx.de>
4092
4093         * javax/swing/text/AbstractDocument.java
4094         (replace): Dont use protected method of java.util.Vector directly.
4095
4096 2004-07-21  Michael Koch  <konqueror@gmx.de>
4097
4098         * javax/swing/plaf/basic/BasicTextUI.java
4099         (installUI): Call specialized install methods.
4100         (installDefaults): New method.
4101         (installListeners): Likewise.
4102         (installKeyboardActions): Likewise.
4103         (uninstallUI): Likewise.
4104         (uninstallDefaults): New method.
4105         (uninstallListeners): Likewise.
4106         (uninstallKeyboardActions): Likewise.
4107         (getPropertyPrefix): New abstract method.
4108         (paint): Made final, just call paintSafely().
4109         (paintSavely): New method.
4110         (paintBackground): Likewise.
4111         (getVisibleEditorRect): Likewise.
4112         * javax/swing/text/LayeredHighlighter.java,
4113         javax/swing/text/TabExpander.java: New files.
4114         * Makefile.am: Added javax/swing/text/LayeredHighlighter.java
4115         and javax/swing/text/TabExpander.java.
4116         * Makefile.in: Regenerated.
4117
4118 2004-07-21  Michael Koch  <konqueror@gmx.de>
4119
4120         * javax/swing/plaf/basic/BasicTextUI.java
4121         (BasicTextUI): Made abstract.
4122         (BasicCaret): New inner class.
4123         (view): Don't explicitely initialize with "null".
4124         (textComponent): New field.
4125         (textColor): Removed.
4126         (disabledTextColor): Removed.
4127         (normalBackgroundColor): Removed.
4128         (RootView): Removed commented out inner class.
4129         (createUI): Removed.
4130         (createCaret): New method.
4131         (getComponent): Likewise.
4132         (installUI): Initialize textComponent only.
4133         (getPreferredSize): Use installed JTextComponent.
4134         (setView): New method.
4135         (create): Likewise.
4136         * javax/swing/text/JTextComponent.java
4137         (highlighter): New field.
4138         (caretColor): Likewise.
4139         (disabledTextColor): Likewise.
4140         (seletedTextColor): Likewise.
4141         (selectionColor): Likewise.
4142         (setUI): New method.
4143         (getCaretColor): Likewise.
4144         (setCaretColor): Likewise.
4145         (getDisabledColor): Likewise.
4146         (setDisabledColor): Likewise.
4147         (getSelectedTextColor): Likewise.
4148         (setSelectedTextColor): Likewise.
4149         (getSelectionColor): Likewise.
4150         (setSelectionColor): Likewise.
4151         (getHighlighter): Likewise.
4152         (setHighlighter): Likewise.
4153         (replaceSelection): Likewise.
4154
4155 2004-07-21  Michael Koch  <konqueror@gmx.de>
4156
4157         * javax/swing/plaf/basic/BasicScrollPaneUI.java
4158         (BasicScrollPaneUI): Implements ScrollPaneConstants.
4159         * javax/swing/plaf/basic/BasicToolBarUI.java
4160         (BasicToolBarUI): Implements SwingConstants.
4161
4162 2004-07-21  Michael Koch  <konqueror@gmx.de>
4163
4164         * javax/swing/JPopupMenu.java: Removed CVS tags.
4165         * javax/swing/UIDefaults.java: Reformatted.
4166         * javax/swing/plaf/basic/BasicRootPaneUI.java:
4167         Explicitely import used classes.
4168
4169 2004-07-21  Thomas Fitzsimmons  <fitzsim@redhat.com>
4170
4171         * gnu/java/awt/peer/gtk/GtkComponentPeer.java,
4172         jni/gtk-peer/gnu_java_awt_peer_gtk_GtkComponentPeer.c
4173         (GtkComponentPeer): Remove temporary try/catch block.
4174         (setVisible): Call show and hide.
4175         (show): Make native.
4176         (hide): Likewise.
4177         (getArgs): Don't add "visible" argument.
4178         * jni/gtk-peer/gnu_java_awt_peer_gtk_GtkWindowPeer.c
4179         (property_notify_predicate): Return Bool instead of int.
4180         (find_layout): New function.
4181         (connectJObject): Call find_layout.
4182         (connectSignals): Likewise.
4183         (moveLayout): Likewise.
4184         (gtkLayoutSetVisible): Likewise.
4185
4186 2004-07-21  Olga Rodimina  <rodimina@redhat.com>
4187
4188         * javax/swing/AbstractButton.java:
4189         (setDisplayedMnemonicIndex): Check if button
4190         text is not null before checking its length.
4191         * javax/swing/JMenuItem.java:
4192         (processMouseEvent): Disarm menu item if mouse has
4193         exited it.
4194         * javax/swing/plaf/basic/BasicMenuUI.java:
4195         (MouseInputHandler.mouseEntered): Do not raise
4196         popup menu if this menu is already selected.
4197         (MouseInputHandler.mousePressed): Do not fire 
4198         MenuEvents.
4199         (MenuHandler): Implemented.     
4200
4201 2004-07-21  Olga Rodimina  <rodimina@redhat.com>
4202
4203         * javax/swing/JCheckBoxMenuItem.java: Added Javadoc.
4204         (getSelectedObjects): Implemented.
4205         * javax/swing/JRadioButtonMenuItem.java: Added Javadoc.
4206         * javax/swing/plaf/basic/BasicCheckBoxMenuItemUI.java: 
4207         Added javadoc for few methods.
4208         (processMouseEvent): Made public.
4209         * javax/swing/plaf/basic/BasicRadioButtonMenuItemUI.java
4210         (processMouseEvent): Likewise.
4211
4212 2004-07-21  Olga Rodimina  <rodimina@redhat.com>
4213
4214         * javax/swing/AbstractButton.java:
4215         (init): Set display mnemonic index to -1.
4216         (setMnemonic(char)): Use setMnemonic(int).
4217         (setMnemonic(int)): Set display mnemonic index.
4218         (getDisplayedMnemonicIndex): Change method signature
4219         by removing 'index' parameter.
4220         * javax/swing/plaf/basic/BasicLookAndFeel.java:
4221         Added default for Menu.selectionBackground.     
4222         * javax/swing/plaf/basic/BasicMenuItemUI.java:
4223         (paintMenuItem): Change background color of the selected
4224         menu item.
4225         (paintText): Paint differently when menu item is disabled.
4226         Also paint mnemonic if it appears in the menu item's label.
4227         (paintAccelerator): Paint accelerator differently
4228         if menu item is disabled.
4229         * javax/swing/plaf/basic/BasicMenuUI.java:
4230         (installDefaults): Install defaults for 
4231         selectionForeground and selectionBackground.
4232         (uninstallDefaults): Uninstall defauls for 
4233         selectionForeground and selectionBackground.
4234
4235 2004-07-21  Michael Koch  <konqueror@gmx.de>
4236
4237         * javax/swing/text/AbstractDocument.java
4238         (BranchElement): Implemented.
4239         (LeafElement): Implemented.
4240         * javax/swing/text/DefaultCaret.java:
4241         Import used classes.
4242         (serialVersionUID): New constant.
4243         * javax/swing/text/JTextComponent.java
4244         (AccessibleJTextComponent): Removed dead declaration.
4245         (caretPos): Removed.
4246         (setCaret): New method.
4247         * javax/swing/text/PlainDocument.java
4248         (rootElement): New field.
4249         (PlainDocument): Initialize rootElement.
4250         (createDefaultRoot): New method.
4251         (getDefaultRootElement): Implemented.
4252         * javax/swing/text/View.java: Reformatted.
4253         * javax/swing/text/ViewFactory.java
4254         (create): Added javadoc.
4255
4256 2004-07-21  Michael Koch  <konqueror@gmx.de>
4257
4258         * javax/swing/ToolTipManager.java: Reformatted.
4259
4260 2004-07-21  Rodimina Olga  <rodimina@redhat.com>
4261
4262         * javax/swing/AbstractButton.java
4263         (changeEvent): New field.
4264         (fireItemStateChanged): Change source of the event
4265         to 'this' before firing it to button listeners.
4266         (fireActionPerformed): Likewise.
4267         (fireStateChanged): Likewise.
4268         (createActionListener): Do not set source 
4269         of the event to AbstractButton.                                  
4270         * javax/swing/plaf/basic/BasicMenuBarUI.java:
4271         (ContainerHandler.componentAdded): Removed 
4272         print out statement.
4273         (ContainerHandler.componentRemoved): Likewise.
4274
4275 2004-07-21  Michael Koch  <konqueror@gmx.de>
4276
4277         * javax/swing/text/Highlighter.java: New file.
4278         * Makefile.am: Added javax/swing/text/Highlighter.java.
4279         * Makefile.in: Regenerated.
4280
4281 2004-07-21  Michael Koch  <konqueror@gmx.de>
4282
4283         * javax/swing/ToolTipManager.java
4284         (stillInsideTimerAction): Fixed constructor arguments.
4285         (outsideTimerAction): Likewise.
4286         (insideTimerAction): Likewise.
4287
4288 2004-07-21  Michael Koch  <konqueror@gmx.de>
4289
4290         * javax/swing/JButton.java: Reformatted.
4291         * javax/swing/JFormattedTextField.java
4292         (getUIClassID): Implemented.
4293         * javax/swing/JRootPane.java
4294         (serialVersionUID): New constant.
4295         * javax/swing/JTextField.java
4296         (align): New field.
4297         (JTextField): Simplified.
4298         (getUIClassID): New method.
4299         (getActionListeners): Added @since tag.
4300         (setColumns): Invalidate layout and repaint.
4301         (getHorizontalAlignment): New method.
4302         (setHorizontalAlignment): New method.
4303         (selectAll): Removed.
4304         * javax/swing/SwingUtilities.java
4305         (getAncestorOfClass): Removed redundant @see tag.
4306         (isLeftMouseButton): Fixed implementation.
4307         (isMiddleMouseButton): Likewise.
4308         (isRightMouseButton): Likewise.
4309         * javax/swing/text/AbstractDocument.java
4310         (AttributeContext.addAttribute): New method.
4311         (AttributeContext.addAttributes): New method.
4312         (AttributeContext.getEmptySet): New method.
4313         (AttributeContext.reclaim): New method.
4314         (AttributeContext.removeAttribute): New method.
4315         (AttributeContext.removeAttributes): New method.
4316         * javax/swing/text/Document.java
4317         (createPosition): Throws BadLocationException.
4318         (getText): Likewise.
4319         (remove): Likewise.
4320         * javax/swing/text/JTextComponent.java
4321         (getText): Return null if no document is set. Catch
4322         BadLocationException.
4323         (getUI): Return ui.
4324         (updateUI): Simplified.
4325
4326 2004-07-21  Michael Koch  <konqueror@gmx.de>
4327
4328         * javax/swing/JButton.java
4329         (removeNotify): Fixed javadoc.
4330         (updateUI): Simplified.
4331
4332 2004-07-21  David Jee  <djee@redhat.com>
4333
4334         * gnu/java/awt/image/ImageDecoder.java
4335         (startProduction): Only add consumer if it's not added yet.
4336         * gnu/java/awt/peer/gtk/GdkPixbufDecoder.java
4337         (GdkPixbufDecoder): Don't call initState() here.
4338         (produce): Call initState() here, to ensure area_prepared and
4339         area_updated signals are properly connected.
4340         * gnu/java/awt/peer/gtk/GtkImage.java
4341         (setColorModel): Use equals() to compare ColorModel objects.
4342         (setPixels): Likewise.
4343         * java/awt/image/ColorModel.java
4344         (equals): Fix typo. Use Arrays.equals() to compare int arrays.
4345         * java/awt/image/RGBImageFilter.java
4346         (setColorModel): Set consumer's color model.
4347         (setPixels): Use equals() to compare ColorModel objects.
4348
4349 2004-07-21  Bryce McKinlay  <mckinlay@redhat.com>
4350
4351         * java/net/URLConnection.java (position): New field.
4352         (dateFormat1, dateFormat2, dateFormat3): Removed.
4353         (dateFormats): New field.
4354         (getHeaderFieldDate): Use new dateFormats array. Re-use parsePosition
4355         each time instead of re-allocating.
4356         (initializeDateFormats): Initialize 'dateFormats'.
4357
4358 2004-07-20  Bryce McKinlay  <mckinlay@redhat.com>
4359
4360         PR libgcj/16591
4361         * prims.cc (_Jv_RunMain): Don't call _Jv_SetArgs if DISABLE_MAIN_ARGS
4362         is defined.
4363
4364 2004-07-20  Bryce McKinlay  <mckinlay@redhat.com>
4365
4366         * java/net/Socket.java (getImpl): Now private. Remove comment.
4367
4368 2004-07-20  Bryce McKinlay  <mckinlay@redhat.com>
4369
4370         * java/io/BufferedWriter.java (BufferedWriter): Use existing lock
4371         of chained Writer when calling super-constructor.
4372         * java/io/FilterWriter.java (FilterWriter): Likewise.
4373         * java/io/PrintWriter.java (PrintWriter): Likewise.
4374
4375 2004-07-19  Bryce McKinlay  <mckinlay@redhat.com>
4376
4377         * prims.cc (process_gcj_properties): Don't increment i within LHS
4378         of assignment.
4379
4380 2004-07-19  Per Bothner  <per@bothner.com>
4381
4382         Print -verbose:message on "loading", not initialization.
4383         * java/lang/Class.h (JV_STATE_LOADED, JV_STATE_COMPILED):  Swap order.
4384         * defineclass.cc (_Jv_ClassReader::parse):  Print message if
4385         gcj::verbose_class_flag.
4386         * java/lang/natClass.cc (initializeClass):  Don't print message here.
4387         * java/lang/natClassLoader.cc (_Jv_WaitForState):  If state was
4388         _JV_STATE_COMPILED, set to JV_STATE_LOADED and may print message.
4389         (_Jv_PrepareCompiledClass):  Likewise.
4390
4391 2004-07-18  Matthias Klose  <doko@debian.org>
4392
4393         * configure.in: Substitute target_noncanonical.
4394         * configure: Regenerate
4395
4396 2004-07-17  Michael Koch  <konqueror@gmx.de>
4397
4398         * java/lang/String.java: Fixed javadocs all over.
4399
4400 2004-07-17  Mark Wielaard  <mark@klomp.org>
4401
4402         * gnu/java/nio/channels/FileChannelImpl.java (truncate): Only truncate
4403         when size is smaller.
4404         * java/io/RandomAccessFile.java (setLength): Use truncate for
4405         shrinking the file and seek plus write for expanding the file.
4406
4407 2004-07-17  Michael Koch  <konqueror@gmx.de>
4408
4409         * gnu/java/nio/channels/natFileChannelPosix.cc
4410         (implTruncate): Always save current position. Only reposition file
4411         pointer to where we started if not beyond new lenght. Reposition file
4412         pointer to file length if it points beyond the end of file.
4413
4414 2004-07-17  Mark Wielaard  <mark@klomp.org>
4415
4416         * javax/swing/Box.java: Put FIXME comment above class declaration.
4417         * javax/swing/JButton.java: Remove illegal L&F HTML from comments.
4418         * javax/swing/JCheckBox.java: Likewise.
4419         * javax/swing/JDialog.java: Likewise.
4420         * javax/swing/JRadioButton.java: Likewise.
4421         * javax/swing/JToggleButton.java: Likewise.
4422         * javax/swing/UIManager.java: Likewise.
4423         * javax/swing/border/TitledBorder.java: Likewise.
4424         * javax/swing/plaf/basic/BasicLabelUI.java: Likewise.
4425         * javax/swing/plaf/basic/BasicLookAndFeel.java: Likewise.
4426         * javax/swing/plaf/basic/BasicPopupMenuSeparatorUI.java: Likewise.
4427         * javax/swing/plaf/basic/BasicProgressBarUI.java: Likewise.
4428         * javax/swing/plaf/basic/BasicScrollBarUI.java: Likewise.
4429         * javax/swing/plaf/basic/BasicSeparatorUI.java: Likewise.
4430         * javax/swing/text/JTextComponent.java: Likewise.
4431
4432 2004-07-17  Jeroen Frijters  <jeroen@frijters.net>
4433
4434         * java/net/DatagramPacket.java (setAddress): Removed check for
4435         null address.
4436
4437 2004-07-17  Michael Koch  <konqueror@gmx.de>
4438
4439         * java/net/DatagramSocket.java
4440         (getLocalAddress): Check if socket is bound or not.
4441         * java/net/Socket.java
4442         (getLocalAddrss): Check if socket is bound or not.
4443         (getPort): Return -1 when not connected. Dont check getImpl() for
4444         null.
4445         (setReuseAddress): Check if socket is closed.
4446         (isConnected): Check if getImpl() returns null.
4447
4448 2004-07-17  Mark Wielaard  <mark@klomp.org>
4449
4450         * java/awt/event/InvocationEvent.java (dispatch): Synchronize
4451         on notifier object before calling notifyAll().
4452
4453 2004-07-17  Michael Koch  <konqueror@gmx.de>
4454
4455         * gnu/java/nio/channels/FileChannelImpl.java
4456         (finalize): Added javadoc.
4457
4458 2004-07-17  Guilhem Lavaux <guilhem@kaffe.org>
4459
4460         * java/text/CollationElementIterator.java
4461         (text_decomposition): Changed type to RuleBasedCollator.CollationElement[]
4462         (setText): Use ArrayList instead of Vector.
4463
4464 2004-07-17  Michael Koch  <konqueror@gmx.de>
4465
4466         * java/nio/ByteOrder.java
4467         (static): Removed. Not needed.
4468         Thanks to Patrick Reali for noticing.
4469         * java/nio/charset/CharsetDecoder.java
4470         (decode): Fix for classpath bug #9177: Reset state before flipping.
4471
4472 2004-07-17  Michael Koch  <konqueror@gmx.de>
4473
4474         * java/security/Security.java: Fixed javadocs all over.
4475
4476 2004-07-17  Michael Koch  <konqueror@gmx.de>
4477
4478         * gnu/java/awt/EmbeddedWindow.java
4479         (static): Removed.
4480         (addNotify): Set peer via reflection.
4481         (setWindowPeer): Removed.
4482         * gnu/java/awt/natEmbeddedWindow.cc: Removed.
4483         * Makefile.am (nat_source_files):
4484         Removed gnu/java/awt/natEmbeddedWindow.cc.
4485         * Makefile.in: Regenerated.
4486
4487 2004-07-17  Richard Earnshaw  <rearnsha@arm.com>
4488
4489         * configure.in(ZIP, GCJH): Remove white space around '=' in variable
4490         assignment.
4491         * configure: Regenerated.
4492
4493 2004-07-16  Nathanael Nerode  <neroden@gcc.gnu.org>
4494
4495         * configure.in: Use build_noncanonical rather than build_alias.
4496         * configure: Rebuild.
4497
4498         * configure.in: Eliminate CANADIAN and NULL_TARGET variables
4499         by logic refactoring.  Move default definition of NATIVE closer
4500         to first alternate definition.
4501         * configure: Regenerate.
4502
4503         * Makefile.am: Set ZIP and GCJH directly using autoconf.
4504         * Makefile.in, include/Makefile.in, testsuite/Makefile.in,
4505         gcj/Makefile.in: Regenerate.
4506         * configure.in: Set ZIP and GCJH.  Remove redundant condition
4507         in AM_CONDITIONAL(NATIVE,...)
4508         * configure: Regenerate.
4509
4510 2004-07-15  Nathanael Nerode  <neroden@gcc.gnu.org>
4511
4512         * configure.in: Use target_noncanonical rather than
4513         target_alias for forward-compatibility with autoconf 2.59.
4514         * configure: Regenerate.
4515         * Makefile.am, gcj/Makefile.am, include/Makefile.am,
4516         testsuite/Makefile.am: Substitute target_noncanonical.
4517         * Makefile.in, gcj/Makefile.in, include/Makefile.in,
4518         testsuite/Makefile.in: Regenerate.
4519
4520         * configure.in: Move as much as possible below AC_CANONICAL_SYSTEM.
4521         Introduce _GCC_TOPLEV_NONCANONICAL_TARGET.
4522         * acinclude.m4: Include acx.m4.
4523         * aclocal.m4: Regenerate.
4524         * configure: Regenerate.
4525
4526 2004-07-15  Bryce McKinlay  <mckinlay@redhat.com>
4527
4528         PR libgcj/16574
4529         * java/sql/Timestamp.java (dateFormat): Renamed from sdf.
4530         (decimalFormat): New static variable.
4531         (sbuf): Likewise.
4532         (getTime): New. Override Date.getTime().
4533         (toString): Synchronize. Use decimalFormat to format nanos value
4534         correctly. Truncate extra zeros.
4535         (before): Compare getNanos() only if getTime() is equal.
4536         (after): Likewise.
4537         
4538 2004-07-14  Nathanael Nerode  <neroden@gcc.gnu.org>
4539
4540         * acinclude.m4: "Inline" LIBGCJ_CONFIGURE macro into...
4541         * configure.in: ...here.
4542         * aclocal.m4: Regenerate.
4543         * configure: Regenerate.
4544
4545         * aclocal.m4: Rebuilt with aclocal gcj-1.4.
4546         * configure: Rebuilt with autoconf 2.13.
4547         * Makefile.in, gcj/Makefile.in, include/Makefile.in,
4548         testsuite/Makefile.in: Rebuilt with automake gcj-1.4.
4549
4550 2004-07-14  Bryce McKinlay  <mckinlay@redhat.com>
4551
4552         PR libgcj/16204
4553         * Makefile.am (AM_CXXFLAGS): Add -D_FILE_OFFSET_BITS=64 to enable
4554         large file support.
4555         * Makefile.in: Rebuilt.
4556         * testsuite/libjava.lang/LargeFile.java: New test case.
4557         * testsuite/libjava.lang/LargeFile.out: New file.
4558
4559 2004-07-14  Jerry Quinn  <jlquinn@optonline.net>
4560
4561         * java/beans/EventHandler.java: Remove debugging statements.
4562
4563 2004-07-14  Jerry Quinn  <jlquinn@optonline.net>
4564
4565         * java/beans/EventHandler.java: New file.
4566         * Makefile.am (awt_java_source_files): Add EventHandler.java.
4567         * Makefile.in, gcj/Makefile.in, include/Makefile.in,
4568         testsuite/Makefile.in: Regenerate.
4569
4570 2004-07-14  Andreas Tobler  <a.tobler@schweiz.ch>
4571
4572         * testsuite/libjava.jacks/jacks.exp (gcj_jacks_write): Add deprecation
4573         flag to the gcj_setup.
4574         (gcj_jacks_run): Check tclsh version and launch jacks directly with
4575         the tclsh.
4576         * testsuite/libjava.jacks/jacks.xfail: Update fails to reflect the
4577         deprecation flag change. 58 XFAILS removed.
4578
4579 2004-07-14  Ulrich Weigand  <uweigand@de.ibm.com>
4580
4581         * configure.host (DIVIDESPEC) [s390*-*-*]: Set to 
4582         -fno-use-divide-subroutine.
4583         * include/s390-signal.h: Include <ucontext.h> and <limits.h>.
4584         (HANDLE_FPE): Define.
4585         (SIGNAL_HANDLER): Change third argument to ucontext_t *.
4586         (struct old_s390_kernel_sigaction): Likewise for k_sa_handler.
4587         (HANDLE_DIVIDE_OVERFLOW): Define.
4588
4589 2004-07-14  Michael Koch  <konqueror@gmx.de> 
4590             Matthias Klose  <doko@debian.org> 
4591
4592         * java/awt/im/InputContext.java: Initialize in, line.
4593
4594 2004-07-13  Ulrich Weigand  <uweigand@de.ibm.com>
4595
4596         * interpret.cc (run): Correctly access libffi return values of
4597         integral smaller-than-int type; these are implicitly promoted.
4598
4599 2004-07-13  Bryce McKinlay  <mckinlay@redhat.com>
4600
4601         PR libgcj/7587
4602         * interpret.cc (compile_mutex): New.
4603         (_Jv_InitInterpreter): New. Initialize compile_mutex.
4604         (run): Lock compile_mutex before calling compile() if compilation is
4605         required.
4606         * prims.cc (_Jv_CreateJavaVM): Call _Jv_InitInterpreter().
4607         * include/java-interp.h (_Jv_InitInterpreter): Declare. 
4608
4609 2004-07-12  Bryce McKinlay  <mckinlay@redhat.com>
4610
4611         PR libgcj/15713
4612         * include/jvm.h (_Jv_value): New union type.
4613         * gcj/field.h (_Jv_Field): Add new _addr union field variants 
4614         * interperet.cc (run): Use _Jv_value union type and *_addr _Jv_Field 
4615         union members.
4616
4617 2004-07-12  Scott Gilbertson  <scottg@mantatest.com>
4618
4619         * gnu/awt/xlib/XCanvasPeer.java (createImage): Implement.
4620         * gnu/awt/xlib/XOffScreenImage.java
4621           (XOffScreenImage): Add ImageConsumer interface. Add ColorModel
4622           constructor argument. Add constructor using ImageProducer.
4623           (getSource): Implement.
4624           (imageComplete): New method.
4625           (setColorModel): New method.
4626           (setDimensions): New method.
4627           (setHints): New method.
4628           (setPixels): New method.
4629           (setProperties): New method.
4630         * gnu/gcj/xlib/GC.java (drawPoint): New native method. 
4631         * gnu/gcj/xlib/natGC.cc (drawPoint): New native method.
4632
4633 2004-07-11  Bryce McKinlay  <mckinlay@redhat.com>
4634
4635         PR libgcj/16478 
4636         * prims.cc (_Jv_CreateJavaVM): Fix comment.
4637         * gnu/gcj/runtime/FinalizerThread.java (init): New. Native.
4638         (finalizerReady): Now native.
4639         (run): Likewise.
4640         (runFinalizers): Removed.
4641         * gnu/gcj/runtime/natFinalizerThread.cc (run): Implement here. Use
4642         a primitive lock, and don't hold it while running the finalizers.
4643         (runFinalizers): Implement. Don't aquire any Java lock.
4644         (finalizerReady): Use lock primitives to signal finalizer thread.
4645
4646 2004-07-11  Mark Wielaard  <mark@klomp.org>
4647
4648         Reported by Roman Kennke <roman@ontographics.com> (bug #9331)
4649         * java/net/URLStreamHandler.java (parseURL): When url file part
4650         doesn't contain a '/' just ignore context.
4651
4652 2004-07-11  Ulrich Weigand  <uweigand@de.ibm.com>
4653
4654         * include/s390-signal.c (SIGNAL_HANDLER): Use SIGINFO-style prototype.
4655         (struct old_s390_kernel_sigaction): Likewise for k_sa_handler.
4656         (MAKE_THROW_FRAME): Do not modify PSW address.
4657         (INIT_SEGV): Install SIGINFO-style signal handler.
4658         (INIT_FPE): Likewise.
4659
4660 2004-07-10  Bryce McKinlay  <mckinlay@redhat.com>
4661
4662         * testsuite/libjava.jacks/jacks.xfail: Updates to reflect current
4663         status. 21 xfail's removed, 1 added.
4664
4665 2004-07-10  Bryce McKinlay  <mckinlay@redhat.com>
4666
4667         * gcj/javaprims.h: Regenerate CNI namespace definitions.
4668
4669 2004-07-10  Ito Kazumitsu  <kaz@maczuka.gcd.org>
4670
4671         * java/text/MessageFormat.java
4672         (formatInternal): Append "{n}" if argument n is unavailable.
4673         (format(Object, StringBuffer, FieldPosition)): This
4674         should be equivalent to format(Object[],
4675         StringBuffer, FieldPosition).
4676
4677 2004-07-09  Bryce McKinlay  <mckinlay@redhat.com>
4678
4679         * java.util.Calendar.java (cache): New private static field. Cached
4680         mappings of locales->calendar classes.
4681         (ctorArgTypes): New private static field. Singleton argument for
4682         calendar class constructor lookup.
4683         (getInstance): Cache Locale->Calendar class mappings using HashMap.
4684         Optimize by bypassing reflection instantiation for the 
4685         GregorianCalendar case.
4686
4687 2004-07-09  Bryce McKinlay  <mckinlay@redhat.com>
4688
4689         * java/util/Calendar.java: Use getSystemClassLoader as argument for
4690         ResourceBundle.getBundle() calls.
4691         * java/util/GregorianCalendar.java: Likewise.
4692         * java/util/Currency.java: Likewise.
4693         * java/text/BreakIterator.java: Likewise.
4694         * java/text/Collator.java: Likewise.
4695         * java/text/DateFormat.java: Likewise.
4696         * java/text/DateFormatSymbols.java: Likewise.
4697         * java/text/DecimalFormatSymbols.java: Likewise.
4698         * java/text/NumberFormat.java: Likewise.
4699         * java/awt/Window.java: Likewise.       
4700
4701 2004-07-09  Bryce McKinlay  <mckinlay@redhat.com>
4702
4703         * java/util/ResourceBundle.java (bundleCache): Renamed from
4704         resourceBundleCache. Update comments.
4705         (getObject): Don't catch MissingResourceException.
4706         (getBundle(String)): Remove 'final'. Use system classloader if
4707         getCallingClassLoader returned null.
4708         (getBundle(String, Locale)): Likewise.
4709         (BundleKey): New private class. HashMap key for bundle cache lookup.
4710         (lookupKey): New. Singleton instance of BundleKey.
4711         (nullEntry): New. Cache entry to represent failed lookups.
4712         (getBundle(String, Locale, ClassLoader)): Re-written to use new 
4713         caching strategy, no-allocation lookup, and new tryBundle methods.
4714         (tryBundle(String, ClassLoader)): New. Load a locale-qualified bundle 
4715         name using given classloader.
4716         (tryBundle(String, Locale, ClassLoader, boolean): New. Qualify 
4717         baseName for given Locale and attempt to load bundle.
4718
4719 2004-07-09  Bryce McKinlay  <mckinlay@redhat.com>
4720
4721         * javax/swing/plaf/basic/BasicMenuUI.java (mousePressed): Remove 
4722         illegal protected method calls.
4723
4724 2004-07-09  Bryce McKinlay  <mckinlay@redhat.com>
4725
4726         Fix or remove some bogus test cases.
4727         * testsuite/libjava.compile/pr10459_2.java: Removed.
4728         * testsuite/libjava.compile/pr10459.java: Test using its own method,
4729         not Object.clone().
4730         * testsuite/libjava.compile/inner_data.java: Test against its own
4731         protected field.
4732
4733 2004-07-09  Michael Koch  <konqueror@gmx.de>
4734
4735         * scripts/unicode-muncher.pl: Updated to version 2.1
4736         from GNU classpath. Added some clarifications on where to find the
4737         needed files from www.unicode.org.
4738         * gnu/gcj/convert/UnicodeCharacterDatabase-3.0.0.html,
4739         gnu/gcj/convert/UnicodeData-3.0.0.txt:
4740         Removed, these can directly be downloaded from www.unicode.org if
4741         needed. 
4742         * gnu/java/lang/CharData.java: Regenerated.
4743         * include/java-chartables.h: Regenerated.
4744         * Makefile.am (ordinary_java_source_files):
4745         Removed gnu/java/lang/CharData.java.
4746         * Makefile.in: Regenerated.
4747
4748 2004-07-09  Michael Koch  <konqueror@gmx.de>
4749
4750         * java/security/AccessControlContext.java,
4751         java/security/SecureClassLoader.java:
4752         Fixed javadocs.
4753
4754 2004-07-09  Michael Koch  <konqueror@gmx.de>
4755
4756         * java/io/ObjectInputStream.java (readFields): Use long datatype
4757         when shifting byte values more then 24 bits left.
4758
4759 2004-07-09  Michael Koch  <konqueror@gmx.de>
4760
4761         * java/util/zip/DeflaterOutputStream.java,
4762         java/util/zip/GZIPInputStream.java,
4763         java/util/zip/GZIPOutputStream.java,
4764         java/util/zip/InflaterInputStream.java:
4765         Reformatted. Added javadocs. Reordered all stuff.
4766         Renamed variables to be more clear.
4767
4768 2004-07-09  Michael Koch  <konqueror@gmx.de>
4769
4770         * javax/imageio/IIOException.java,
4771         javax/imageio/event/IIOReadProgressListener.java,
4772         javax/imageio/event/IIOReadUpdateListener.java,
4773         javax/imageio/event/IIOReadWarningListener.java,
4774         javax/imageio/event/IIOWriteProgressListener.java,
4775         javax/imageio/event/IIOWriteWarningListener.java:
4776         New files.
4777         * Makefile.am: Added new files.
4778         * Makefile.in: Regenerated.
4779
4780 2004-07-09  Guilhem Lavaux <guilhem@kaffe.org>
4781
4782         * java/text/RuleBasedCollator.java
4783         (mergeRules): Use ArrayList instead of Vector.
4784         (subParseString): likewise.
4785         (parseString): likewise.
4786         (buildCollationVector): likewise.
4787         (getCollationKey): likewise.
4788
4789 2004-07-09  Dalibor Topic  <robilad@kaffe.org>
4790
4791         * java/text/DateFormat.java (parse):
4792         Improved javadoc. Improved exception message.
4793
4794 2004-07-09  Mark Wielaard  <mark@klomp.org>
4795
4796         * gnu/java/nio/SelectorImpl.java (select): Call static Thread
4797         interrupted() method to clear interupt flag of our Thread.
4798
4799 2004-07-09  Dalibor Topic  <robilad@kaffe.org>
4800
4801         * java/nio/Buffer.java,
4802         java/nio/ByteBuffer.java,
4803         java/nio/ByteBufferHelper.java,
4804         java/nio/ByteBufferImpl.java,
4805         java/nio/CharBuffer.java,
4806         java/nio/CharBufferImpl.java,
4807         java/nio/CharViewBufferImpl.java,
4808         java/nio/DirectByteBufferImpl.java,
4809         java/nio/DoubleBuffer.java,
4810         java/nio/DoubleBufferImpl.java,
4811         java/nio/DoubleViewBufferImpl.java,
4812         java/nio/FloatBuffer.java,
4813         java/nio/FloatBufferImpl.java,
4814         java/nio/FloatViewBufferImpl.java,
4815         java/nio/IntBuffer.java,
4816         java/nio/IntBufferImpl.java,
4817         java/nio/IntViewBufferImpl.java,
4818         java/nio/LongBuffer.java,
4819         java/nio/LongBufferImpl.java,
4820         java/nio/LongViewBufferImpl.java,
4821         java/nio/MappedByteBufferImpl.java,
4822         java/nio/ShortBuffer.java,
4823         java/nio/ShortBufferImpl.java,
4824         java/nio/ShortViewBufferImpl.java:
4825         Fixed javadocs all over. Improved input error
4826         checking.
4827
4828         * java/nio/Buffer.java
4829         (checkForUnderflow, checkForOverflow, checkIndex,
4830         checkIfReadOnly, checkArraySize): New helper methods
4831         for error checking.
4832
4833         * java/nio/ByteBufferHelper.java
4834         (checkRemainingForRead, checkRemainingForWrite,
4835         checkAvailableForRead, checkAvailableForWrite): Removed
4836         no longer needed methods.
4837
4838 2004-07-09  Michael Koch  <konqueror@gmx.de>
4839
4840         * gnu/regexp/CharIndexedInputStream.java:
4841         Reordered imports to match classpath.
4842
4843 2004-07-09  Michael Koch  <konqueror@gmx.de>
4844
4845         * gnu/java/awt/EmbeddedWindow.java:
4846         Load native library for setWindowPeer method.
4847
4848 2004-07-08  Randolph Chung  <tausq@debian.org>
4849
4850         * configure.in (SIGNAL_HANDLER): Use pa-signal.h for hppa.
4851         * configure: Regenerate.
4852         * configure.host: Set can_unwind_signal for hppa*-linux.
4853         * include/pa-signal.h: New file.
4854
4855 2004-07-07  Per Bothner  <per@bothner.com>
4856
4857         * Makefile.am:  Add rules to build libgij from just gij.cc.
4858
4859         * include/jvm.h (namespace jcj):  Declare verbose_class_flag
4860         * java/lang/natClass.cc (gcj::verbose_class_flag):  New variable.
4861         (initializeClass):  If verbose_class_flag, print message.
4862         * gij.cc (main):  Handle -verbose:class flag.
4863
4864 2004-07-07  Andreas Tobler  <a.tobler@schweiz.ch>
4865
4866         * configure.host: Enable hash synchronization on Darwin.
4867         * sysdep/powerpc/locks.h (compare_and_swap): Use '\n' instead of
4868         ';', since this is a comment on Darwin.
4869         (compare_and_swap_release): Likewise.
4870
4871 2004-07-06  Mohan Embar  <gnustuff@thisiscool.com>
4872
4873         * java/net/URLStreamHandler.java (parseURL): Canonicalize
4874         file portion of URL in addition to spec for file: protocol.
4875
4876 2004-07-05  Anthony Green  <green@redhat.com>
4877
4878         * java/io/File.java (toURI): Merge from Classpath.
4879
4880 2004-07-05  Bryce McKinlay  <mckinlay@redhat.com>
4881
4882         * gnu/gcj/runtime/VMClassLoader.java (init): Check classpath entry
4883         before passing to URL constructor. Rethrow any MalformedURLException
4884         as a RuntimeException. Catch MalformedURLException specifically, not
4885         all exceptions.
4886
4887 2004-07-05  Bryce McKinlay  <mckinlay@redhat.com>
4888
4889         * java/util/Locale.java (readObject): Intern strings read from object
4890         stream.
4891
4892 2004-07-04  Michael Koch  <konqueror@gmx.de>
4893
4894         * gnu/gcj/runtime/FirstThread.java,
4895         gnu/gcj/runtime/natFirstThread.cc: Removed.
4896         * gnu/java/lang/MainThread.java,
4897         gnu/java/lang/natMainThread.cc: New files.
4898         * prims.cc (_Jv_RunMain): Use MainThread instead of FirstThread.
4899         * Makefile.am: Added new files and removed deleted ones.
4900         * Makefile.in: Regenerated.
4901
4902 2004-07-03  Mark Wielaard  <mark@klomp.org>
4903             Anthony Green  <green@redhat.com>
4904
4905         * java/net/URL.java (getFile): Clarify return value doc.
4906         (getPath): Return null if file is empty - not empty String.
4907         (set): Convert protocol to lower case before doing anything.
4908         Only change the protocol handler if it's different.
4909
4910 2004-07-03  Anthony Green  <green@redhat.com>
4911
4912         * java/net/URL.java (URL): Convert protocol to lower case before
4913         doing anything, so we getURLStreamHandler() with the proper value.
4914
4915 2004-07-02  Bryce McKinlay  <mckinlay@redhat.com>
4916
4917         * java/util/Locale.java (hashcode): Made transient.
4918         (hashCode): No longer synchronized.
4919         (equals): Remove comment.
4920         (writeObject): No longer synchronized. Implement using writeObject 
4921         calls instead of tweaking hashCode field. Update doc.
4922         (readObject): Implement using readObject calls.
4923
4924 2004-06-26  Geoffrey Keating  <geoffk@apple.com>
4925             Andreas Tobler  <a.tobler@schweiz.ch>
4926
4927         * configure.host (powerpc-*-darwin*): New case, define
4928         can_unwind_signal.
4929         * configure.in (*-*-darwin*): New case, point to darwin-signal.h.
4930         * configure: Regenerate.
4931         * include/darwin-signal.h: New.
4932
4933 2004-06-30  Jerry Quinn  <jlquinn@optonline.net>
4934
4935         * java/beans/Statement.java (doExecute): Fix formatting.
4936
4937 2004-06-29  Per Bothner  <per@bothner.com>
4938
4939         * jni.cc (_Jv_JNI_NewGlobalRef, JNICALL _Jv_JNI_DeleteGlobalRef,
4940         etc etc):  Remove needless parenthesis, which causes __stdcall__
4941         attribute on MinGW to get ignored.
4942
4943 2004-06-29  Bryce McKinlay  <mckinlay@redhat.com>
4944
4945         * testsuite/libjava.compile/PR16249.java: New test case. PR gcc/16249.
4946
4947 2004-06-28  Bryce McKinlay  <mckinlay@redhat.com>
4948
4949         * testsuite/libjava.jacks/jacks.xfail: Remove 8.1.3-superclass-6.
4950
4951 2004-06-28  Jerry Quinn  <jlquinn@optonline.net>
4952
4953         * java/beans/Expression.java: New file.
4954         * java/beans/Statement.java: New file.
4955         * Makefile.am: Added new files.
4956         * Makefile.in: Re-generate.
4957
4958 2004-06-27 Mark Wielaard  <mark@klomp.org>
4959
4960         * java/io/FilePermission.java (usingPerms): Removed.
4961         (actionsString): Made final.
4962         (cachePerms): Renamed to checkPerms.
4963         (checkPerms): Renamed from cachePerms. Call trim() and toLowerCase()
4964         on action String.
4965         (FilePermission): Check arguments, call checkPerms().
4966         (equals): Remove cachePerms() call.
4967         (implies): Likewise.
4968
4969 2004-06-27  Mark Wielaard  <mark@klomp.org>
4970
4971         * gnu/java/net/protocol/http/Connection.java (userAgent): New static
4972         final field.
4973         (sendRequest): Use new field in user-agent http agent.
4974
4975 2004-06-27  Mark Wielaard  <mark@klomp.org>
4976
4977         * java/awt/EventQueue.java (postEvent): Throw NullPointerException
4978         when argument is null.
4979
4980 2004-06-26  Mark Wielaard  <mark@klomp.org>
4981
4982         * native/jni/gtk-peer/gnu_java_awt_peer_gtk_GtkFileDialogPeer.c
4983         (ok_clicked): Use Ljava/lang/String; not Ljava.lang.String; in JNI
4984         GetMethodID call.
4985         (cancel_clicked): Likewise.
4986
4987 2004-06-26  Andreas Tobler  <a.tobler@schweiz.ch>
4988
4989         * jni/gtk-peer/gnu_java_awt_peer_gtk_GtkMainThread.c
4990         (init_dpi_conversion_factor): Check for int_dpi < 0 in case gtk-xft-dpi
4991         can not calculate the right value.
4992         (dpi_changed_cb): Likewise. Mark *pspec as unused.
4993
4994 2004-06-24  Bryce McKinlay  <mckinlay@redhat.com>
4995
4996         * testsuite/libjava.jacks/jacks.xfail: Remove
4997         15.9.1-qualified-concrete-20.
4998
4999 2004-06-22  Bryce McKinlay  <mckinlay@redhat.com>
5000
5001         * gnu/gcj/convert/BytesToUnicode.java (getDecoder): Pass original
5002         encoding name to iconv.
5003         * gnu/gcj/convert/UnicodeToBytes.java (getEncoder): Likewise.
5004
5005 2004-06-22  Bryce McKinlay  <mckinlay@redhat.com>
5006
5007         PR libgcj/16134:
5008         * gnu/gcj/convert/BytesToUnicode.java (getDecoder): Canonicalize 
5009         encoding name before cache lookup. Thanks to Hannes Wallnoefer.
5010         * gnu/gcj/convert/UnicodeToBytes.java (getEncoder): Likewise.
5011
5012 2004-06-21  Andrew Haley  <aph@redhat.com>
5013
5014         * java/io/ObjectOutputStream.java: Add DEBUG statements
5015         everywhere.
5016         (dumpElementln): New method.
5017         (depth): New field.
5018         * java/io/ObjectInputStream.java
5019         (currentClassLoader): Make native.
5020         (callersClassLoader): New field.
5021         (depth): New field.
5022         (readObject): ENDBLOCKDATA is generated if the class has a write
5023         method, not if it has a read method.
5024         (readObject): Save and restore this.currentObject and
5025         this.currentObjectStreamClass around calls to callReadMethod().
5026         * java/io/natObjectInputStream.cc (getCallersClassLoader): New
5027         method.
5028
5029 2004-06-18  Andreas Tobler  <a.tobler@schweiz.ch>
5030
5031         * testsuite/libjava.jni/jni.exp (gcj_jni_test_one): Add lgcc_s for
5032         darwin.
5033
5034 2004-06-18  Ranjit Mathew  <rmathew@hotmail.com>
5035
5036         * prims.cc (_Jv_CreateJavaVM): Install SEGV and FPE handlers,
5037         if desired, before the default class loader is initialised.
5038         Call INIT_SEGV only if HANDLE_SEGV is defined.
5039
5040 2004-06-18  Ranjit Mathew  <rmathew@hotmail.com>
5041
5042         * gnu/gcj/runtime/VMClassLoader.java (init): Add extensions
5043         directory only if it actually exists.
5044
5045 2004-06-18  Graydon Hoare  <graydon@redhat.com>
5046
5047         * jni/gtk-peer/gnu_java_awt_peer_gtk_GtkComponentPeer.c:
5048         Fix up non-ansi comments.
5049
5050 2004-06-18  Ranjit Mathew  <rmathew@hotmail.com>
5051
5052         * javax/swing/text/AbstractDocument.java: Adding missing import
5053         for javax.swing.event.EventListenerList.
5054         * javax/swing/text/DefaultCaret.java: Likewise.
5055
5056 2004-06-17  Michael Koch  <konqueror@gmx.de>
5057
5058         * javax/swing/JToolBar.java
5059         (name): Removed.
5060         (JToolBar): Use Component.setName(String) instead of doing it all
5061         alone.
5062         * javax/swing/Timer.java
5063         (queueEvent): Added missing modifier.
5064
5065 2004-06-17  Olga Rodimina  <rodimina@redhat.coom>
5066
5067         * Makefile.am: Added new file.
5068         * Makefile.in: Re-generate.
5069         * javax/swing/JMenu.java:
5070         (insertSeparator): Implemented.
5071         * javax/swing/JPopupMenu.java:
5072         (JPopupMenu.Separator): Implemented.
5073         * javax/swing/MenuSelectionManager.java:
5074         (processMouseEvent): Use java.awt.Component 
5075         for event source instead of javax.swing.JComponent. 
5076         * javax/swing/plaf/basic/BasicPopupMenuSeparatorUI.java:
5077         New File. Implemented.
5078         
5079 2004-06-16  David Jee  <djee@redhat.com>
5080
5081         * java/awt/GridBagLayout.java
5082         (GetLayoutInfo): Adjust cell sizes iff parent size is not zero.
5083         Make sure pos_x and pos_y are never negative.
5084
5085 2004-04-16  Andrew Overholt  <overholt@redhat.com>
5086
5087         * Makefile.am: Add new file.
5088         * Makefile.in: Re-generate.     
5089         * javax/swing/JToolBar.java
5090         Partially implemented.
5091         * javax/swing/plaf/basic/BasicToolBarUI.java
5092         New file. Partially implemented.
5093
5094 2004-06-16  Graydon Hoare  <graydon@redhat.com>
5095
5096         * gnu/java/awt/peer/gtk/GdkGraphics2D.java 
5097         (setComposite): Accept AlphaComposite arguments.
5098         * gnu/java/awt/peer/gtk/GdkPixbufDecoder.java
5099         (createBufferedImage): Add new overloads.
5100         * gnu/java/awt/peer/gtk/GtkToolkit.java
5101         (createImage): Use GdkPixbufDecoder.createBufferedImage
5102         when useGraphics2D() is true.
5103         (getImage): Delegate to createImage.
5104         * javax/swing/JList.java
5105         (isSelectionEmpty):
5106         (getFirstVisibleIndex):
5107         (getLastVisibleIndex):
5108         (setSelectedValue):
5109         (ensureIndexIsVisible): New methods.
5110         * javax/swing/Timer.java: Reimplement.
5111
5112 2004-06-16  Michael Koch  <konqueror@gmx.de>
5113
5114         * javax/swing/text/AbstractDocument.java
5115         (AbstracElement): Made public, implements java.io.Serializable.
5116         (AttributeContext): Made public.
5117         (BranchElement): Likewise.
5118         (Content): Likewise.
5119         (DefaultDocumentEvent): Made public, extends
5120         javax.swing.undo.CompoundEdit.
5121         (ElementEdit): Made public, extends
5122         javax.swing.undo.AbstractUndoableEdit.
5123         (LeafElement): Made public.
5124         (LeafElement.LeafElement): Made public.
5125
5126 2004-06-16  Michael Koch  <konqueror@gmx.de>
5127
5128         * javax/swing/text/JTextComponent.java: Totally reworked. Removed many
5129         methods (that were obviously never be intended to get included hi this
5130         class. Added some methods too.
5131
5132 2004-06-16  Michael Koch  <konqueror@gmx.de>
5133
5134         * javax/swing/text/PlainDocument.java
5135         (serialVersionUID): New constant.
5136         (lineLimitAttribute): Likewise.
5137         (tabSizeAttribute): Likewise.
5138         (tabSize): New field.
5139         (PlainDocument): Made public.
5140         (PlainDocument): New constructor.
5141
5142 2004-06-16  Michael Koch  <konqueror@gmx.de>
5143
5144         * javax/swing/text/AbstractDocument.java
5145         (insertString): Throws BadLocationException.
5146         * javax/swing/text/Document.java
5147         (insertString): Likewise.
5148         * javax/swing/text/JTextComponent.java:
5149         Javadocs and comments cleaned up.
5150
5151 2004-06-16  Michael Koch  <konqueror@gmx.de>
5152
5153         * javax/swing/event/UndoableEditListener.java: Reformatted.
5154         * javax/swing/text/AbstractDocument.java
5155         (AbstractDocument): Implements java.io.Serializable.
5156         (doc_list): Removed.
5157         (undo_list): Removed.
5158         (AbstractElement.serialVerionUID): New field.
5159         (BranchElement.serialVerionUID): Likewise.
5160         (DefaultDocumentEvent.serialVerionUID): Likewise.
5161         (ElementEdit.serialVerionUID): Likewise.
5162         (LeafElement.serialVerionUID): Likewise.
5163         (serialVerionUID): Likewise.
5164         (BAD_LOCATION): New constant.
5165         (BidiElementName): Likewise.
5166         (ContentElementName): Likewise.
5167         (ParagraphElementName): Likewise.
5168         (SectionElementName): Likewise.
5169         (ElementNameAttribute): Likewise.
5170         (AbstractDocument): Made protected.
5171         (AbstractDocument): New construtor.
5172         (listenerList): New field.
5173         (fireChangedUpdate): Implemented.
5174         (fireInsertUpdate): Likewise.
5175         (fireRemoveUpdate): Likewise.
5176         (fireUndoableEditUpdate): Likewise.
5177         (getListeners): Likewise.
5178         (addDocumentListener): Likewise.
5179         (removeDocumentListener): Likewise.
5180         (addUndoableEditListener): Likewise.
5181         (removeUndoableEditListener): Likewise.
5182         (getDocumentListeners): New method.
5183         (getUndoableEditListeners): Likewise.
5184         (getAsynchronousLoadPriority): Made public.
5185         (getBidiRootElement): Likewise.
5186         (setAsynchronousLoadPriority): Likewise.
5187         (setDocumentProperties): Likewise.
5188         * javax/swing/text/BadLocationException.java
5189         (serialVerionUID): New field.
5190         * javax/swing/text/DefaultCaret.java
5191         (changeEvent): New field.
5192         (listenerList): Likewise.
5193         (changes): Removed.
5194         (addChangeListener): Reimplemented.
5195         (removeChangeListener): Likewise.
5196         (getListeners): New method.
5197         (getChangeListeners): Likwise.
5198         (getComponent): Likewise.
5199         * javax/swing/text/GapContent.java
5200         (GapContent): Implements java.io.Serializable.
5201         (serialVerionUID): New field.
5202
5203 2004-06-16  Michael Koch  <konqueror@gmx.de>
5204
5205         * javax/swing/JTree.java
5206         (treeModel): New field.
5207         (JTree): New constructors, one existing one made public.
5208         (createTreeModel): New method.
5209         (addTreeExpansionListener): Likewise.
5210         (removeTreeExpansionListener): Likewise.
5211         (getTreeExpansionListeners): Likewise.
5212         (fireTreeCollapsed): Likewise.
5213         (fireTreeExpanded): Likewise.
5214         (addTreeSelectionListener): Likewise.
5215         (removeTreeSelectionListener): Likewise.
5216         (getTreeSelectionListeners): Likewise.
5217         (fireValueChanged): Likewise.
5218         (addTreeWillExpandListener): Likewise.
5219         (removeTreeWillExpandListener): Likewise.
5220         (getTreeWillExpandListeners): Likewise.
5221         (fireTreeWillCollapse): Likewise.
5222         (fireTreeWillExpand): Likewise.
5223
5224 2004-06-16  Michael Koch  <konqueror@gmx.de>
5225
5226         * javax/swing/JTree.java: Reformatted.
5227
5228 2004-06-16  Michael Koch  <konqueror@gmx.de>
5229
5230         * javax/swing/JTextArea.java: New file.
5231         * javax/swing/JTextField.java
5232         (actions): Removed.
5233         (notifyAction): New constant.
5234         (columns): New field.
5235         (JTextField): New constructors.
5236         (createDefaultModel): New method.
5237         (addActionListener): Reimplmemented.
5238         (removeActionListener): Reimplemented.
5239         (getActionListeners): New method.
5240         (fireActionPerformed): New method.
5241         (getColumns): New method.
5242         (setColumne): New method.
5243         * javax/swing/text/JTextComponent.java
5244         (AccessibleJTextComponent.serialVersionUID): New field.
5245         (serialVersionUID): Likewise.
5246         (DEFAULT_KEYMAP): Likewise.
5247         (FOCUS_ACCELERATOR_KEY): Likewise.
5248         (doc): Made private.
5249         (icon_gap): Likewise.
5250         (icon): Likewise.
5251         (align): Likewise.
5252         (JTextComponent): Some constructors removed.
5253         (getScrollableTracksViewportHeight): New method.
5254         (getScrollableTracksViewportWidth): Likewise.
5255         * Makefile.am: Added javax/swing/JTextArea.java.
5256         * Makefile.in: Regenerated.
5257
5258 2004-06-15  Graydon Hoare  <graydon@redhat.com>
5259
5260         * javax/swing/ImageIcon.java (ImageIcon): New constructor.
5261         * javax/swing/JFrame.java (defaultLookAndFeelDecorated): New property.
5262         * javax/swing/JViewport.java 
5263         (getExtentSize): Return size rather than preferred size.
5264         (toViewCoordinates): New methods.
5265         (getViewSize): Return size rather than preferred size.
5266         (setViewSize): Note view size as set.
5267         * javax/swing/ViewportLayout.java (layoutContainer): Reimplement.
5268         * javax/swing/plaf/basic/BasicScrollBarUI.java 
5269         (getPreferredSize): Don't redo layout.
5270         * javax/swing/plaf/basic/BasicViewportUI.java 
5271         (paint): Translate image properly and eat exceptions.
5272
5273 2004-06-15  Kim Ho  <kho@redhat.com>
5274
5275         * javax/swing/JTabbedPane.java
5276         (setComponent): Remove old component and
5277         add new component.
5278         (setSelectedIndex): Don't operate on the 
5279         components if they're null. Don't set index
5280         on the model if the index is the same.
5281         (insertTab): Don't add or hide the component
5282         if it's null. Repaint the container.
5283         * javax/swing/plaf/basic/BasicLookAndFeel.java
5284         Change colors for TabbedPane.
5285         * javax/swing/plaf/basic/BasicTabbedPaneUI.java
5286         (mousePressed): Re-layout and paint the component.
5287         (layoutContainer): Don't set location on the view.
5288         (ScrollingViewport::paint): Remove.
5289
5290 2004-06-14  Thomas Fitzsimmons  <fitzsim@redhat.com>
5291
5292         * jni/gtk-peer/gnu_java_awt_peer_gtk_GtkComponentPeer.c
5293         (gtkWidgetDispatchKeyEvent): Change warning message to comment.
5294
5295         * jni/gtk-peer/gnu_java_awt_peer_gtk_GdkGraphics.c (drawString):
5296         Wrap baseline y value in PANGO_PIXELS macro, rather than simply
5297         dividing by PANGO_SCALE.  Call gdk_flush before leaving GDK
5298         critical region.
5299         (drawLine): Call gdk_flush before leaving GDK critical region.
5300         (fillRect): Likewise.
5301         (drawRect): Likewise.
5302         (copyArea): Likewise.
5303         (copyPixmap): Likewise.
5304         (clearRect): Likewise.
5305         (drawArc): Likewise.
5306         (drawPolyline): Likewise.
5307         (drawPolygon): Likewise.
5308         (fillPolygon): Likewise.
5309         (fillArc): Likewise.
5310         (drawOval): Likewise.
5311         (fillOval): Likewise.
5312
5313         * gnu/java/awt/peer/gtk/GdkFontMetrics.java (initState): Add
5314         style parameter.
5315         (GdkFontMetrics): Add style argument to initState call.
5316         (stringWidth(String,int,int,String)): Add style parameter.
5317         (stringWidth(String)): Add style argument to stringWidth call.
5318         * jni/gtk-peer/gnu_java_awt_peer_gtk_GdkFontMetrics.c
5319         (initState): Set pango font style and weight based on AWT style
5320         parameter.  Pass default GTK language to
5321         pango_context_get_metrics.  Use PANGO_PIXELS macro rather than
5322         simply dividing by PANGO_SCALE.
5323         (stringWidth): Set pango font style and weight based on AWT style
5324         parameter.
5325
5326         * java/awt/Button.java (next_button_number): New field.
5327         (paramString): Change output.
5328         (generateName): New method.
5329         (getUniqueLong): New method.
5330
5331 2004-06-14  Kim Ho  <kho@redhat.com>
5332
5333         * javax/swing/JTabbedPane.java:
5334         (setComponentAt): Set the component, not
5335         the enabled status.
5336         * javax/swing/plaf/basic/BasicDesktopIconUI.java
5337         (actionPerformed): Let deiconize catch exception.
5338
5339 2004-06-14  Olga Rodimina  <rodimina@redhat.com>
5340
5341         * javax/swing/JPopupMenu.java:
5342         (setVisible): Corrected location of a 
5343         heavyweight popup menu.
5344
5345 2004-06-14  Olga Rodimina  <rodimina@redhat.com>
5346
5347         * javax/swing/MenuSelectionManager.java: 
5348         Ran through jalopy to fix formatting style.
5349
5350 2004-06-14  Olga Rodimina  <rodimina@redhat.com>
5351         
5352         * javax/swing/JLayeredPane.java: 
5353         (remove): Revalidate and repaint layered pane after
5354         the component was removed.
5355         javax/swing/JMenu.java:
5356         (setVisible): Display popup menu at the user location,
5357         if one was set by the user.
5358         (setMenuLocation): Reimplemented. Fixed javadoc.
5359         * javax/swing/JMenuBar.java: Added javadoc.
5360         (BORDER_PAINTED_CHANGED_PROPERTY): New Property.
5361         (MODEL_CHANGED_PROPERTY): New Property.
5362         (isSelected): Implemented.
5363         (setBorderPainted): Fire PropertyChangeEvent
5364         if paintBorder property changes.
5365         (setSelected): Implemented.
5366         (setSelectionModel): Implemented.
5367         * javax/swing/JPopupMenu.java: Added Javadoc
5368         (pack): Implemented.
5369         (setVisible): Reimplemented.
5370         (show): Fixed location.
5371         (JPopupMenu.LigthWeightPopup): Reimplemented to use
5372         Container instead of JPanel.
5373         * javax/swing/MenuSelectionManager.java: Added Javadocs.
5374         (clearSelectedPath): Reimplemented to clear selectedPath
5375         in reverse order.
5376         (processMouseEvent): Reimplemented.
5377         (setSelectedPath): Fire stateChange event indicating that
5378         selected menu path has changed.
5379         (getPath): Change to use ArrayList instead of Vector.
5380         * javax/swing/plaf/basic/BasicMenuBarUI.java:
5381         (installUI): call installKeyboardActions().
5382         (uninstallUI): call uninstallKeyboardActions().
5383
5384 2004-06-13  Michael Koch  <konqueror@gmx.de>
5385
5386         * javax/swing/text/DefaultCaret.java,
5387         javax/swing/text/BadLocationException.java:
5388         Reformatted.
5389
5390 2004-06-12  Thomas Fitzsimmons  <fitzsim@redhat.com>
5391
5392         * gnu/java/awt/peer/gtk/GtkTextAreaPeer.java (DEFAULT_ROWS,
5393         DEFAULT_COLS): New variables.
5394         (create): Don't allow 0 rows or 0 columns.  Instead, set the
5395         values to DEFAULT_ROWS or DEFAULT_COLS.
5396         (getMinimumSize): Likewise.
5397         (getPreferredSize): Likewise.
5398         (minimumSize): Likewise.
5399         (preferredSize): Likewise.
5400         (create): Set peer's editable state.
5401         * java/awt/TextArea.java (TextArea()): Set rows and columns to
5402         zero.  Update javadocs.
5403         (TextArea(String)): Likewise.
5404         (TextArea(int,int)): Fix javadocs.
5405         (TextArea(String,int,int,int)): Only throw exception if one of
5406         rows or columns is zero.  Fix javadocs.
5407
5408 2004-06-11  Thomas Fitzsimmons  <fitzsim@redhat.com>
5409
5410         * java/awt/AWTEvent.java (toString): Handle MenuComponents in
5411         addition to Components.
5412
5413         * java/awt/MenuItem.java (dispatchEventImpl): If the event
5414         wasn't consumed by normal processing, send it to the parent
5415         menu.
5416
5417         * gnu/java/awt/peer/gtk/GtkImagePainter.java
5418         (setPixels(int,int,int,int,ColorModel,int[],int,int)): Remove
5419         translation.
5420
5421 2004-06-11  David Jee  <djee@redhat.com>
5422
5423         * java/awt/MediaTracker.java
5424         (addImage(Image,int)): Call imageUpdate() to udpate image status.
5425         (addImage(Image,int,int,int)): Likewise.
5426
5427 2004-06-11  Michael Koch  <konqueror@gmx.de>
5428
5429         * javax/swing/text/AbstractDocument.java,
5430         javax/swing/text/Document.java,
5431         javax/swing/text/GapContent.java,
5432         javax/swing/text/JTextComponent.java,
5433         javax/swing/text/PlainDocument.java:
5434         Reformatted.
5435
5436 2004-06-11  Michael Koch  <konqueror@gmx.de>
5437
5438         * javax/swing/JRootPane.java
5439         (AccessibleJRootPane.serialVersionUID): New field.
5440         (AccessibleJRootPane.AccessibleJRootPane): New constructor.
5441         (AccessibleJRootPane.getAccessibleRole): New method.
5442         (RootLayout): Implements Serializable.
5443         (RootLayout.serialVersionUID): New field.
5444         (RootLayout.RootLayout): New constructor.
5445         (setJMenuBar): Made public.
5446         (getJMenuBar): Likewise.
5447         (JRootPane): Likewise.
5448         (createContentPane): Likewise.
5449         (createGlassPane): Likewise.
5450         (createLayeredPane): Likewise.
5451
5452 2004-06-11  Michael Koch  <konqueror@gmx.de>
5453
5454         * javax/swing/SwingUtilities.java
5455         (isLeftMouseButton): Fixed javadoc.
5456         (isMiddleMouseButton): Likewise.
5457         (isRightMouseButton): Likewise.
5458
5459 2004-06-11  Michael Koch  <konqueror@gmx.de>
5460
5461         * javax/swing/JScrollPane.java
5462         (serialVersionUID): New field.
5463         (columnHeader): Made protected.
5464         (rowHeader): Likewise.
5465         (lowerLeft): Likewise.
5466         (lowerRight): Likewise.
5467         (upperLeft): Likewise.
5468         (upperRight): Likewise.
5469         (horizontalScrollBar): Likewise.
5470         (horizontalScrollBarPolicy): Likewise.
5471         (verticalScrollBar): Likewise.
5472         (verticalScrollBarPolicy): Likewise.
5473         (viewport): Likewise.
5474
5475 2004-06-11  Michael Koch  <konqueror@gmx.de>
5476
5477         * javax/swing/LookAndFeel.java: Fixed javadocs.
5478
5479 2004-06-11  Michael Koch  <konqueror@gmx.de>
5480
5481         * javax/swing/JEditorPane.java: Fixed javadocs.
5482         (JEditorPane): Removed redundant call to to this().
5483         (fireHyperlinkUpdate): Implemented.
5484
5485 2004-06-10  Olga Rodimina  <rodimina@redhat.com>
5486
5487         * javax/swing/JMenu.java: Fixed file name 
5488         in the file comment.
5489
5490 2004-06-10  Olga Rodimina  <rodimina@redhat.com>
5491
5492         * javax/swing/JMenu.java: Added javadoc.
5493         (JMenu): Added MenuChangeListener to listen to 
5494         ChangeEvents occuring in menu's model. 
5495         (insert): Throw IllegalArgumentException if 
5496         index is less than 0
5497         (setSelected): Reimplement.
5498         (setPopupMenuVisible): Call menu's model isEnabled()
5499         (setDelay): Throw IllegalArgumentException if 
5500         given amount of delay is less than 0.
5501         (createActionComponent): Implemented.
5502         (createActionChangeListener): Implemented.
5503         (addSeparator): Implemented.
5504         (getItem): Throw IllegalArgumentException if index is 
5505         less than 0.
5506         (getItemCount): Implemented.
5507         (fireMenuSelected): Changed to use menuEvent.
5508         (fireMenuDeselected): Likewise.
5509         (fireMenuCanceled): Likewise.
5510         (setAccelerator): Changed to throw an error if this 
5511         method is used. 
5512         (doClick): Implemented.
5513         (JMenu.ActionChangedListener): New inner class to handle
5514         PropertyChangeEvents occuring in the actions associated with menu.
5515         * javax/swing/plaf/basic/BasicMenuUI.java: Added javadoc.
5516         (BasicMenuUI): Added PropertyChangeListener to the menu.
5517         (createChangeListener): Implemented.
5518         (createMenuDragMouseListener): Likewise.
5519         (createMenuKeyListener): Likewise.
5520         (createPropertyChangeListener): Likewise.
5521         (uninstallListeners): Likewise.
5522         (BasicMenuUI.MouseInputHandler): Reimplemented.
5523         (BasicMenuUI.PropertyChangeHandler): New class. Not implemented yet.
5524         (BasicMenuUI.ChangeHandler): Likewise.
5525         (BasicMenuUI.MenuDragMouseHandler): Likewise.
5526         (BasicMenuUI.MenuKeyHandler): Likewise.
5527
5528 2004-06-10  David Jee  <djee@redhat.com>
5529
5530         * java/awt/MediaTracker.java
5531         (imageUpdate): Only do notifyAll() if the image is complete.
5532
5533 2004-06-10  Olga Rodimina  <rodimina@redhat.com>
5534
5535         * javax/swing/JApplet.java:
5536         (getJMenuBar): Made public.
5537         (setJMenuBar): Likewise.
5538         * javax/swing/JFrame.java:
5539         (getJMenuBar): Made public.
5540         (setJMenuBar): Likewise.
5541         * javax/swing/JWindow.java:
5542         (getJMenuBar): Removed.
5543         (setJMenuBar): Removed.
5544
5545 2004-06-10  Michael Koch  <konqueror@gmx.de>
5546
5547         * javax/swing/JEditorPane.java
5548         (createEditorKitForContentType): Fixed visibility.
5549         (fireHyperlinkUpdate): Likewise.
5550         (getContentType): Likewise.
5551         (getEditorKit): Likewise.
5552         (getEditorKitForContentType): Likewise.
5553         (getPage): Likewise.
5554         (read): Likewise.
5555         (registerEditorKitForContentTyoe): Likewise.
5556         (replaceSelection): Likewise.
5557         (setContentType): Likewise.
5558         (setEditorKit): Likewise.
5559         (setPage): Likewise.
5560
5561 2004-06-10  Michael Koch  <konqueror@gmx.de>
5562
5563         * javax/swing/Timer.java
5564         (Timer): New constructor.
5565         * javax/swing/plaf/basic/BasicProgressBarUI.java
5566         (animationTimer): Don't initialize at construction.
5567         (startAnimationTimer): Added since tag.
5568         (stopAnimationTimer): Likewise.
5569         (installUI): Use new Timer constructor.
5570         * javax/swing/plaf/basic/BasicScrollBarUI.java
5571         (installUI): Likewise.
5572         * javax/swing/plaf/basic/BasicSliderUI.java
5573         (installUI): Likewise.
5574
5575 2004-06-10  Michael Koch  <konqueror@gmx.de>
5576
5577         * javax/swing/ButtonGroup.java
5578         (serialVersionUID): Made private.
5579         (buttons): Renamed from v, added javadoc.
5580         (sel): Added javadoc.
5581         (ButtonGroup): Likewise.
5582         (add): Likewise.
5583         (remove): Likewise.
5584         (getElements): Likewise.
5585         (getSelection): Likewise.
5586         (setSelected): Likewise.
5587         (isSelected): Likewise.
5588         (getButtonCount): Likewise.
5589
5590 2004-06-10  Michael Koch  <konqueror@gmx.de>
5591
5592         * javax/swing/ButtonGroup.java,
5593         javax/swing/ImageIcon.java,
5594         javax/swing/JEditorPane.java,
5595         javax/swing/JRootPane.java,
5596         javax/swing/JTextField.java,
5597         javax/swing/LookAndFeel.java,
5598         javax/swing/plaf/basic/BasicTextUI.java:
5599         Reindented.
5600
5601 2004-06-10  Michael Koch  <konqueror@gmx.de>
5602
5603         * javax/swing/text/Style.java: Added javadocs.
5604
5605 2004-06-10  Michael Koch  <konqueror@gmx.de>
5606
5607         * javax/swing/JComponent.java
5608         (fireVetoableChange): Removed redundant cast.
5609         * javax/swing/JLabel.java
5610         (getDisabledIcon): Save icon for next call.
5611
5612 2004-06-10  Michael Koch  <konqueror@gmx.de>
5613
5614         * javax/swing/KeyStroke.java
5615         (getKeyStroke(char,boolean)): Marked deprecated.
5616
5617 2004-06-10  Michael Koch  <konqueror@gmx.de>
5618
5619         * javax/swing/DefaultCellEditor.java,
5620         javax/swing/GrayFilter.java,
5621         javax/swing/event/DocumentEvent.java,
5622         javax/swing/text/JTextComponent.java,
5623         javax/swing/text/MutableAttributeSet.java:
5624         Reindented.
5625
5626 2004-06-10  Michael Koch  <konqueror@gmx.de>
5627
5628         * javax/swing/plaf/BorderUIResource.java:
5629         Added serialVersionUID all over.
5630
5631 2004-06-10  Sascha Brawer  <brawer@dandelis.ch>
5632
5633         * javax/swing/undo/UndoManager.java: Re-written from scratch.
5634
5635 2004-06-10  Michael Koch  <konqueror@gmx.de>
5636
5637         * javax/swing/table/DefaultTableCellRenderer.java
5638         (noFocusBorder): Initialize directly.
5639
5640 2004-06-10  Michael Koch  <konqueror@gmx.de>
5641
5642         * javax/swing/plaf/basic/BasicArrowButton.java
5643         (setDirection): Use method argument.
5644
5645 2004-06-10  Michael Koch  <konqueror@gmx.de>
5646
5647         * javax/swing/plaf/BorderUIResource.java,
5648         javax/swing/plaf/ComponentUI.java,
5649         javax/swing/undo/CompoundEdit.java,
5650         javax/swing/undo/StateEdit.java:
5651         Fixed javadocs all over.
5652
5653 2004-06-10  Michael Koch  <konqueror@gmx.de>
5654
5655         * javax/swing/DefaultButtonModel.java
5656         (ARMED): Made public final, fixed value.
5657         (ENABLED): Likewise.
5658         (PRESSED): Likewise.
5659         (ROLLOVER): Likewise.
5660         (SELECTED): Likewise.
5661         (stateMask): Initialize directly.
5662         (listenerList): Likewise.
5663         (mnemonic): Likewise.
5664         (fireStateChanged): Removed argument, use changeEvent as event.
5665         All places where this method is called are fixed too.
5666         (getActionCommant): Fixed javadoc.
5667         (setGroup): Fixed javadoc.
5668         (getGroup): New method.
5669
5670 2004-06-09  Olga Rodimina <rodimina@redhat.com>
5671
5672         * javax/swing/AbstractButton.java
5673         (AbstractButton): Use init() to initialize the button.
5674         (init): New Method. Initializes AbstractButton.
5675         * javax/swing/JMenuItem.java: Documented.
5676         (JMenuItem): Reimplemented.
5677         (init): Implemented.
5678         (setEnabled): Changed to call super.setEnabled()
5679         (processMouseEvent): Reimplemented.
5680         (fireMenuKeyPressed): Implemented.
5681         (fireMenuKeyReleased): Implemented.
5682         (fireMenuKeyTyped): Implemented.
5683         (menuSelectionChanged): disarm the model if the menu item was
5684         deselected.
5685         * javax/swing/plaf/basic/BasicMenuItemUI.java:Documented.
5686         (getPath): Change to use ArrayList instead of Vector.
5687         (getPreferredSize): Renamed variable.
5688         (paintMenuItem): Paint margin area of menu item.
5689         (MouseInputHandler.mouseEntered): Set selection in MenuSelectionManager.
5690         (MouseInputHandler.mouseReleased): Check if mouse was pressed inside
5691         menu item's bounds before clearing the selection.       
5692
5693 2004-06-09  David Jee  <djee@redhat.com>
5694
5695         * gnu/java/awt/peer/gtk/GtkTextComponentPeer.java
5696         (GtkTextComponentPeer): Set caret position to 0.
5697         * java/awt/TextComponent.java
5698         (setText): Set caret position to 0.
5699         * jni/gtk-peer/gnu_java_awt_peer_gtk_GtkComponentPeer.c
5700         (Java_gnu_java_awt_peer_gtk_GtkComponentPeer_addExposeFilter):
5701         Handle GtkScrolledWindow separately. Fix signal handler blocking.
5702         (Java_gnu_java_awt_peer_gtk_GtkComponentPeer_removeExposeFilter):
5703         Likewise.
5704         * jni/gtk-peer/gnu_java_awt_peer_gtk_GtkTextAreaPeer.c
5705         (Java_gnu_java_awt_peer_gtk_GtkTextAreaPeer_create): Make cursor
5706         visible.
5707
5708 2004-06-09  Kim Ho  <kho@redhat.com>
5709
5710         * Makefile.am: New files
5711         * Makefile.in: Regenerated
5712         * java/awt/Container.java
5713         (getComponentAt): Removed.
5714         * javax/swing/AbstractAction.java
5715         (ENABLED_PROPERTY): New property.
5716         (putValue): Fire PropertyChangeEvents.
5717         (setEnabled): ditto.
5718         (firePropertyChange): Javadoc and implement
5719         convenience method.
5720         * javax/swing/AbstractButton.java
5721         (setAction): Don't create PropertyChangeListener
5722         if new Action is null.
5723         (setIcon): Don't set icon till after comparing
5724         it.
5725         (configurePropertiesFromAction): Check mnemonic
5726         key before calling intValue().
5727         (createActionPropertyChangeListener): Check
5728         properties rather than bulk change.
5729         * javax/swing/DefaultDesktopManager.java:
5730         Implement.
5731         * javax/swing/DesktopManager.java:
5732         Jalopy and javadoc.
5733         * javax/swing/JComponent.java
5734         (fireVetoableChange): Implement.
5735         (paintImmediately): Use root component.
5736         * javax/swing/JDesktopPane.java: Implement
5737         * javax/swing/JInternalFrame.java: Implement
5738         * javax/swing/JLabel.java
5739         (getDisabledIcon): Return grayscaled icon if
5740         no disabled icon specified.
5741         * javax/swing/JMenuBar.java
5742         (getComponentAtIndex): Use getComponent
5743         * javax/swing/JOptionPane.java
5744         (getDesktopPaneForComponent): Use SwingUtilities'
5745         getAncestorOfClass
5746         (getFrameForComponent): ditto.
5747         * javax/swing/JSplitPane.java
5748         (remove): Use getComponent.
5749         * javax/swing/SwingUtilities.java
5750         (convertPoint): Implement.
5751         * javax/swing/plaf/basic/BasicButtonUI.java
5752         (paintButtonNormal): Check opaqueness before
5753         filling background.
5754         * javax/swing/plaf/basic/BasicDesktopIconUI.java:
5755         Implement
5756         * javax/swing/plaf/basic/BasicDesktopPaneUI.java:
5757         Implement.
5758         * javax/swing/plaf/basic/BasicInternalFrameTitlePane.java:
5759         Implement.
5760         * javax/swing/plaf/basic/BasicInternalFrameUI.java:
5761         Implement.
5762         * javax/swing/plaf/basic/BasicLookAndFeel.java:
5763         Change InternalFrame and Desktop colors.
5764
5765 2004-06-09  David Jee  <djee@redhat.com>
5766
5767         * java/awt/Container.java
5768         (remove): Do not set component to invisible.
5769
5770 2004-06-09  Michael Koch  <konqueror@gmx.de>
5771
5772         * javax/swing/tree/DefaultMutableTreeNode.java
5773         (getLeafCount): Renamed enum to e.
5774
5775 2004-06-09  Michael Koch  <konqueror@gmx.de>
5776
5777         * javax/swing/plaf/basic/BasicSplitPaneDivider.java
5778         (positionForMouseEvent): Removed redundant semicolon.
5779         (continueDrag): Use method arguments.
5780
5781 2004-06-09  Michael Koch  <konqueror@gmx.de>
5782
5783         * javax/swing/border/TitledBorder.java,
5784         javax/swing/filechooser/FileSystemView.java,
5785         javax/swing/plaf/basic/BasicButtonListener.java,
5786         javax/swing/plaf/basic/BasicGraphicsUtils.java,
5787         javax/swing/plaf/basic/BasicLabelUI.java,
5788         javax/swing/plaf/basic/BasicRadioButtonMenuItemUI.java,
5789         javax/swing/plaf/basic/BasicScrollBarUI.java,
5790         javax/swing/plaf/basic/BasicScrollPaneUI.java,
5791         javax/swing/plaf/basic/BasicSliderUI.java,
5792         javax/swing/plaf/basic/BasicTabbedPaneUI.java,
5793         javax/swing/plaf/basic/BasicToggleButtonUI.java,
5794         javax/swing/table/JTableHeader.java,
5795         javax/swing/text/AbstractDocument.java,
5796         javax/swing/text/DefaultCaret.java,
5797         javax/swing/text/StyledEditorKit.java,
5798         javax/swing/tree/DefaultTreeCellEditor.java:
5799         Reworked import statements.
5800
5801 2004-06-08  Graydon Hoare  <graydon@redhat.com>
5802
5803         * javax/swing/Box.java: Temporarily comment out code
5804         broken due to visibility bug.
5805
5806 2004-06-09  Michael Koch  <konqueror@gmx.de>
5807
5808         * javax/swing/ImageIcon.java
5809         (ImageIcon): Added missing constructor.
5810
5811 2004-06-08  Michael Koch  <konqueror@gmx.de>
5812
5813         * javax/swing/JToggleButton.java
5814         (JToggleButton): New constructor.
5815         (getAccessibleContext): Moved documentation into javadoc.
5816         (getUIClassID): Likewise.
5817
5818 2004-06-08  Michael Koch  <konqueror@gmx.de>
5819
5820         * javax/swing/AbstractButton.java
5821         (getDisabledIcon): Create disabled icon if none exists yet.
5822
5823 2004-06-08  Michael Koch  <konqueror@gmx.de>
5824
5825         * javax/swing/plaf/basic/BasicLookAndFeel.java
5826         (initClassDefaults): Added FormattedTextFieldUI.
5827         (loadResourceBundle): Renamed enum to e.
5828
5829 2004-06-08  Michael Koch  <konqueror@gmx.de>
5830
5831         * javax/swing/plaf/basic/BasicButtonUI.java
5832         (paintIcon): Simplified.
5833         (paintText): Paint disabled button correctly.
5834
5835 2004-06-08  Michael Koch  <konqueror@gmx.de>
5836
5837         * javax/swing/JComponent.java
5838         (createToolTip): Use official JToolTip API.
5839
5840 2004-06-08  Michael Koch  <konqueror@gmx.de>
5841
5842         * javax/swing/JToolTip.java
5843         (JToolTip): No arguments in API.
5844         (setTipText): New method.
5845
5846 2004-06-08  Michael Koch  <konqueror@gmx.de>
5847
5848         * javax/swing/SwingUtilities.java
5849         (isLeftMouseButton): New method.
5850         (isMiddleMouseButton): New method.
5851         (isRightMouseButton): New method.
5852
5853 2004-06-08  Michael Koch  <konqueror@gmx.de>
5854
5855         * javax/swing/AbstractButton.java,
5856         javax/swing/CellRendererPane.java,
5857         javax/swing/JCheckBoxMenuItem.java,
5858         javax/swing/JColorChooser.java,
5859         javax/swing/JComboBox.java,
5860         javax/swing/JComponent.java,
5861         javax/swing/JDesktopPane.java,
5862         javax/swing/JFileChooser.java,
5863         javax/swing/JMenu.java,
5864         javax/swing/JMenuItem.java,
5865         javax/swing/JOptionPane.java,
5866         javax/swing/JPasswordField.java,
5867         javax/swing/JPopupMenu.java,
5868         javax/swing/JProgressBar.java,
5869         javax/swing/JRadioButtonMenuItem.java,
5870         javax/swing/JScrollBar.java,
5871         javax/swing/JSeparator.java,
5872         javax/swing/JSlider.java,
5873         javax/swing/JSplitPane.java,
5874         javax/swing/JTabbedPane.java,
5875         javax/swing/JTextField.java,
5876         javax/swing/JToolBar.java,
5877         javax/swing/text/JTextComponent.java:
5878         Fixed all constructors of accessibility classes.
5879
5880 2004-06-08  Michael Koch  <konqueror@gmx.de>
5881
5882         * javax/swing/ScrollPaneLayout.java: Renamed all memeber variables all
5883         over.
5884
5885 2004-06-08  Michael Koch  <konqueror@gmx.de>
5886
5887         * javax/swing/Box.java
5888         (AccessibleBoxFiller): Extends AccessibleAWTComponent.
5889         (AccessibleBoxFiller.serialVersionUID): New member variable.
5890         * javax/swing/DefaultButtonModel.java
5891         (stateMask): Made protected.
5892         (listenerList): Likewise.
5893         (changeEvent): Likewise.
5894         (group): Likewise.
5895         (mnemonic): Likewise.
5896         (actionCommand): Likewise.
5897         (getListeners): New method.
5898         (getActionListeners): New method.
5899         (getItemListeners): New method.
5900         (getChangeListeners): New method.
5901         (fireItemStateChanged): Simplified.
5902         (fireActionPerformed): Simplified.
5903         (fireStateChanged): Simplified.
5904         * javax/swing/JFrame.java
5905         (JFrame): Implements WindowContants.
5906         (HIDE_ON_CLOSE): Removed.
5907         (EXIT_ON_CLOSE): Removed.
5908         (DISPOSE_ON_CLOSE): Removed.
5909         (DO_NOTHING_ON_CLOSE): Removed.
5910         (processWindowEvent): Exit with code 0.
5911         (setDefaultCloseOperation): Do security check before setting value.
5912         * javax/swing/JOptionPane.java
5913         (message): Initialize only in constructor.
5914         * javax/swing/JToolTip.java: Removed unused imports.
5915         * javax/swing/JViewport.java
5916         (serialVersionUID): New member variable.
5917         (SIMPLE_SCROLL_MODE): Made final, fixed value.
5918         (BLIT_SCROLL_MODE): Likewise.
5919         (BACKINGSTORE_SCROLL_MODE): Likewise.
5920         (scrollUnderway): Made protected.
5921         (isViewSizeSet): Likewise.
5922         * javax/swing/ListModel.java: Fixed javadoc.
5923         * javax/swing/Popup.java: Likewise.
5924         * javax/swing/RepaintManager.java
5925         (paintDirtyRegions): Don't use internal classes of
5926         java.util.AbstractMap.
5927         * javax/swing/ScrollPaneConstants.java: Reindented.
5928         * javax/swing/ScrollPaneLayout.java
5929         (viewport): Made protected.
5930         (verticalScrollBar): Made protected, renamed to vsb.
5931         (horizontalScrollBar): Made protected, renamed to hsb.
5932         (rowHeader): Made protected, renamed to rowHead.
5933         (columnHeader): Made protected, renamed to colHead.
5934         (lowerLeft): Made protected.
5935         (lowerRight): Made protected.
5936         (upperLeft): Made protected.
5937         (upperRight): Made protected.
5938         (verticalScrollBarPolicy): Made protected, renamed to vsbPolicy.
5939         (horizontalScrollBarPolicy): Made protected, renamed to hsbPolicy.
5940
5941 2004-06-07  Bernd Schmidt  <bernds@btinternet.com>
5942
5943         * java/awt/MediaTracker.java (imageUpdate): Only set status to
5944         LOADING if flags has SOMEBITS set.
5945
5946 2004-06-07  Michael Koch  <konqueror@gmx.de>
5947
5948         * javax/swing/AbstractButton.java: Reorganized imports.
5949         * javax/swing/ActionMap.java: Likewise.
5950         * javax/swing/DefaultButtonModel.java: Likewise.
5951         * javax/swing/DefaultListModel.java: Likewise.
5952         * javax/swing/ImageIcon.java: Likewise.
5953         (serialVersionUID): New member variable.
5954         * javax/swing/JComboBox.java: Reorganized imports.
5955         * javax/swing/JComponent.java: Likewise.
5956         (ui): Made protected.
5957         (listenerList): Made protected.
5958         (TOOL_TIP_TEXT_KEY): New constant.
5959         (scrollRectToVisible): Removed redundant null check.
5960         * javax/swing/JFrame.java: Reorganized imports.
5961         * javax/swing/JInternalFrame.java: Reorganized imports.
5962         * javax/swing/JProgressBar.java: Likewise.
5963         * javax/swing/JRootPane.java: Likewise.
5964         * javax/swing/JScrollBar.java: Likewise.
5965         * javax/swing/JSeparator.java: Likewise.
5966         * javax/swing/JSlider.java: Likewise.
5967         * javax/swing/JTabbedPane.java: Likewise.
5968         * javax/swing/JTextField.java: Likewise.
5969         * javax/swing/JToolBar.java: Likewise.
5970         * javax/swing/JTree.java: Likewise.
5971         * javax/swing/JViewport.java: Likewise.
5972         * javax/swing/JWindow.java: Likewise.
5973         * javax/swing/KeyStroke.java: Likewise.
5974         * javax/swing/LookAndFeel.java: Likewise.
5975         * javax/swing/MenuSelectionManager.java: Likewise.
5976         * javax/swing/SwingUtilities.java: Likewise.
5977         * javax/swing/Timer.java: Likewise.
5978         * javax/swing/DefaultBoundedRangeModel.java: Fixed javadoc.
5979         * javax/swing/JList.java
5980         (HORIZONTAL_WRAP): Made final, fixed value.
5981         (VERTICAL): Likewise.
5982         (VERTICAL_WRAP): Likewise.
5983
5984 2004-06-07  Michael Koch  <konqueror@gmx.de>
5985
5986         * javax/swing/AbstractButton.java
5987         (serialVersionUID): New member variable.
5988         (AccessibleAbstractButton.serialVersionUID): Likewise.
5989         (AbstractButton): Made public.
5990         * javax/swing/Box.java
5991         (AccessibleBox.serialVersionUID): New member variable.
5992         (Filler.serialVersionUID): Likewise.
5993         * javax/swing/DefaultListSelectionModel.java
5994         (serialVersionUID): Likewise.
5995         * javax/swing/JApplet.java
5996         (serialVersionUID): Likewise.
5997         * javax/swing/JCheckBox.java
5998         (serialVersionUID): Likewise.
5999         * javax/swing/JCheckBoxMenuItem.java
6000         (serialVersionUID): Likewise.
6001         (AccessibleJCheckBoxMenuItem.serialVersionUID): Likewise.
6002         * javax/swing/JColorChooser.java
6003         (serialVersionUID): Likewise.
6004         (AccessibleJColorChooser.serialVersionUID): Likewise.
6005         * javax/swing/JComponent.java
6006         (serialVersionUID): Made private.
6007         (AccessibleJComponent.serialVersionUID): New member variable.
6008         * javax/swing/JDesktopPane.java
6009         (serialVersionUID): Likewise.
6010         * javax/swing/JDialog.java
6011         (serialVersionUID): Likewise.
6012         * javax/swing/JFormattedTextField.java
6013         (serialVersionUID): Fixed value.
6014         * javax/swing/JFrame.java
6015         (serialVersionUID): New member variable.
6016         (getDefaultCloseOpertation): Made public.
6017         * javax/swing/JLayeredPane.java
6018         (serialVersionUID): Likewise.
6019         (LAYER_PROPERTY): Made final, fixed value.
6020         (JLayeredPane): Made public.
6021         * javax/swing/JMenu.java
6022         (AccessibleJMenu.serialVersionUID): New member variable.
6023         (WinListener.serialVersionUID): Likewise.
6024         * javax/swing/JMenuBar.java
6025         (serialVersionUID): Likewise.
6026         (getComponentAtIndex): Added @deprecated tag.
6027         * javax/swing/JMenuItem.java
6028         (serialVersionUID): New member variable.
6029         (AccessibleJMenuItem.serialVersionUID): Likewise.
6030         * javax/swing/JOptionPane.java
6031         (serialVersionUID): Likewise.
6032         (AccessibleJOptionPane.serialVersionUID): Likewise.
6033         * javax/swing/JPopupMenu.java
6034         (serialVersionUID): Likewise.
6035         (AccessibleJPopupMenu.serialVersionUID): Likewise.
6036         (getPopupMenuListeners): New method.
6037         (getComponentAtIndex): Added @deprecated tag.
6038         * javax/swing/JProgressBar.java
6039         (serialVersionUID): New member variable.
6040         (AccessibleJProgressBar.serialVersionUID): Likewise.
6041         * javax/swing/JRadioButton.java
6042         (serialVersionUID): Likewise.
6043         * javax/swing/JRadioButtonMenuItem.java
6044         (serialVersionUID): Likewise.
6045         (AccessibleJRadioButtonMenuItem.serialVersionUID): Likewise.
6046         * javax/swing/JScrollBar.java
6047         (serialVersionUID): Likewise.
6048         (AccessibleJScrollBar.serialVersionUID): Likewise.
6049         * javax/swing/JSeparator.java
6050         (serialVersionUID): Likewise.
6051         (AccessibleJSeparator.serialVersionUID): Likewise.
6052         * javax/swing/JSlider.java: Fixed javadocs.
6053         (AccessibleJSlider.serialVersionUID): New member variable.
6054         * javax/swing/JSplitPane.java: Added copyright statement.
6055         (serialVersionUID): New member variable.
6056         (AccessibleJSplitPane.serialVersionUID): Likewise.
6057         * javax/swing/JTabbedPane.java
6058         (serialVersionUID): Likewise.
6059         (AccessibleJTabbedPane.serialVersionUID): Likewise.
6060         (ModelListener.serialVersionUID): Likewise.
6061         (ModelListener.ModelListener): New constructor.
6062         (SCROLL_TAB_LAYOUT): Made public final, fixed value.
6063         (WRAP_TAB_LAYOUT): Likewise.
6064         * javax/swing/JTable.java
6065         (serialVersionUID): New member variable.
6066         * javax/swing/JToggleButton.java
6067         (serialVersionUID): Likewise.
6068         (ToggleButtonModel): Made static.
6069         (ToggleButtonModel.serialVersionUID): New member variable.
6070         * javax/swing/JToolTip.java
6071         (serialVersionUID): Likewise.
6072         * javax/swing/JTree.java
6073         (serialVersionUID): Likewise.
6074         * javax/swing/JWindow.java
6075         (serialVersionUID): Likewise.
6076         * javax/swing/Timer.java
6077         (serialVersionUID): Likewise.
6078
6079 2004-06-06  Michael Koch  <konqueror@gmx.de>
6080
6081         * javax/swing/SwingConstants.java
6082         (NEXT): New constant.
6083         (PREVIOUS): Likewise.
6084         * javax/swing/UIManager.java
6085         (LookAndFeel): Made public.
6086         (LookAndFeel.getClassName): Likewise.
6087         (LookAndFeel.getName): Likewise.
6088
6089 2004-06-02  Olga Rodimina  <rodimina@redhat.com>
6090
6091         * javax/swing/JCheckBoxMenuItem.java:
6092         Removed CVS tags.
6093         * javax/swing/JMenu.java: Likewise.
6094         * javax/swing/JMenuBar.java: Likewise.
6095         * javax/swing/JMenuItem.java: Likewise.
6096         * javax/swing/JPopupMenu.java: Likewise.
6097         * javax/swing/JRadioButtonMenuItem.java: Likewise.
6098         * javax/swing/plaf/basic/BasicCheckBoxMenuItemUI.java:Likewise.
6099         * javax/swing/plaf/basic/BasicMenuBarUI.java: Likewise.
6100         * javax/swing/plaf/basic/BasicMenuItemUI.java: Likewise.
6101         * javax/swing/plaf/basic/BasicMenuUI.java: Likewise.
6102         * javax/swing/plaf/basic/BasicPopupMenuUI.java: Likewise.
6103         * javax/swing/plaf/basic/BasicRadioButtonMenuItemUI.java: Likewise.
6104
6105 2004-05-31  Olga Rodimina  <rodimina@redhat.com>
6106         
6107         * javax/swing/plaf/basic/BasicMenuUI.java:
6108         (MouseEntered): Do not call getPath() from MenuSelectionManager.
6109         Call getPath() from super class instead.
6110
6111 2004-05-31  David Jee  <djee@redhat.com>
6112
6113         * java/awt/Container.java
6114         (remove): Set component visibility to false after removing it.
6115
6116 2004-05-27  Thomas Fitzsimmons  <fitzsim@redhat.com>
6117
6118         * java/awt/Component.java (getForeground): Return SystemColor if
6119         parent is null.
6120         (getBackground): Likewise.
6121
6122         * jni/gtk-peer/gnu_java_awt_peer_gtk_GtkListPeer.c
6123         (item_highlighted): New function.
6124         (connectSignals): Set item_highlighted as list's select
6125         function.
6126
6127         * java/applet/Applet.java: Revert changes from 2004-04-29,
6128         2004-03-15 and 2004-03-14.
6129
6130         * jni/gtk-peer/gnu_java_awt_peer_gtk_GdkGraphics.c (drawString):
6131         Divide baseline y coordinate by PANGO_SCALE, not DPI conversion
6132         factor.
6133
6134         * gnu/java/awt/peer/gtk/GtkTextAreaPeer.java (create): Set
6135         "Dialog" as the default font.
6136         * gnu/java/awt/peer/gtk/GtkTextFieldPeer.java (create):
6137         Likewise.
6138         * java/awt/Component.java (getFont): Return "Dialog" font by
6139         default.
6140         * jni/gtk-peer/gnu_java_awt_peer_gtk_GdkClasspathFontPeer.c:
6141         Multiply size argument to pango_font_description_set_size by the
6142         DPI conversion factor rather than by PANGO_SCALE.
6143         * jni/gtk-peer/gnu_java_awt_peer_gtk_GdkFontMetrics.c: Likewise.
6144         * jni/gtk-peer/gnu_java_awt_peer_gtk_GdkGraphics.c: Likewise.
6145         * jni/gtk-peer/gnu_java_awt_peer_gtk_GtkButtonPeer.c: Likewise.
6146         * jni/gtk-peer/gnu_java_awt_peer_gtk_GtkCheckboxPeer.c: Likewise.
6147         * jni/gtk-peer/gnu_java_awt_peer_gtk_GtkComponentPeer.c: Likewise.
6148         * jni/gtk-peer/gnu_java_awt_peer_gtk_GtkLabelPeer.c: Likewise.
6149         * jni/gtk-peer/gnu_java_awt_peer_gtk_GtkListPeer.c: Likewise.
6150         * jni/gtk-peer/gnu_java_awt_peer_gtk_GtkTextAreaPeer.c: Likewise.
6151         * jni/gtk-peer/gnu_java_awt_peer_gtk_GtkTextFieldPeer.c: Likewise.
6152         * jni/gtk-peer/gnu_java_awt_peer_gtk_GdkGraphics.c (drawString):
6153         Divide baseline y coordinate by DPI conversion factor rather
6154         than by PANGO_SCALE.
6155         * jni/gtk-peer/gnu_java_awt_peer_gtk_GdkPixbufDecoder.c
6156         (area_prepared): Fix typo.
6157         * jni/gtk-peer/gnu_java_awt_peer_gtk_GtkLabelPeer.c
6158         (gtkSetFont): Move gtk_bin_get_child inside GDK critical region.
6159         * jni/gtk-peer/gnu_java_awt_peer_gtk_GtkMainThread.c
6160         (dpi_conversion_factor): New global variable.
6161         (init_dpi_conversion_factor): New function to calculate and
6162         track DPI conversion factor.
6163         (dpi_changed_cb): New callback.
6164         * jni/gtk-peer/gtkpeer.h (dpi_conversion_factor): Declare.
6165
6166 2004-05-27  David Jee  <djee@redhat.com>
6167
6168         * gnu/java/awt/peer/gtk/GtkComponentPeer.java
6169         (getGraphics): Return a new GdkGraphics instance.
6170         * gnu/java/awt/peer/gtk/GtkContainerPeer.java
6171         (getGraphics): Call super.getGraphics().
6172
6173 2004-05-26  Thomas Fitzsimmons  <fitzsim@redhat.com>
6174
6175         * jni/gtk-peer/gnu_java_awt_peer_gtk_GtkComponentPeer.c
6176         (setNativeBounds): Clamp width and height values to >= 0.
6177
6178         * jni/gtk-peer/gnu_java_awt_peer_gtk_GtkComponentPeer.c
6179         (find_fg_color_widget): Handle GtkOptionMenu specially.
6180
6181         * jni/gtk-peer/gnu_java_awt_peer_gtk_GtkEvents.c
6182         (pre_event_handler): Only post configure events to visible
6183         top-level windows.
6184
6185 2004-05-26  David Jee  <djee@redhat.com>
6186
6187         * java/awt/BorderLayout.java
6188         (layoutContainer): Fix size calculations.
6189
6190 2004-05-26  Thomas Fitzsimmons  <fitzsim@redhat.com>
6191
6192         * jni/gtk-peer/gnu_java_awt_peer_gtk_GtkWindowPeer.c
6193         (window_wm_protocols_filter): Remove function.
6194         (create): Remove filter that removes WM_TAKE_FOCUS client
6195         messages.
6196
6197 2004-06-17  Anthony Green  <green@redhat.com>
6198
6199         * java/util/zip/ZipFile.java (getInputStream): Return null if
6200         entry not found.
6201
6202         * gnu/gcj/runtime/VMClassLoader.java (init): Add extension
6203         directory contents to the class path.
6204
6205 2004-06-15  Andrew Haley  <aph@redhat.com>
6206
6207         * java/lang/natSystem.cc (getenv0): Don't assume environment
6208         variable is Latin 1 coded.
6209
6210 2004-06-14  Andreas Jaeger  <aj@suse.de>
6211
6212         * configure.in: Support --enable-version-specific-runtime-libs.
6213         * configure: Regenerated.
6214
6215 2004-06-14  Bryce McKinlay  <mckinlay@redhat.com>
6216
6217         * java/util/Calendar.java: Change ResourceBundle.getBundle() calls
6218         to pass ClassLoader argument.
6219         * java/util/GregorianCalendar.java: Likewise.
6220         * java/util/Currency.java: Likewise.
6221         * java/text/BreakIterator.java: Likewise.
6222         * java/text/Collator.java: Likewise.
6223         * java/text/DateFormat.java: Likewise.
6224         * java/text/DateFormatSymbols.java: Likewise.
6225         * java/text/DecimalFormatSymbols.java: Likewise.
6226         * java/text/NumberFormat.java: Likewise.
6227         * java/awt/Window.java: Likewise.
6228
6229 2004-06-14  Andrew Haley  <aph@redhat.com>
6230
6231         * java/lang/System.java: (getenv0): New method.
6232         (getenv): Add security check.  Do the right thing.
6233         * java/lang/natSystem.cc (getenv0): New method.
6234
6235 2004-06-12  Mark Wielaard  <mark@klomp.org>
6236
6237         * javax/swing/RepaintManager.java
6238         (paintDirtyRegions): Use entrySet(), not values().
6239
6240 2004-06-10  Mark Wielaard  <mark@klomp.org>
6241
6242         * jni.cc (_Jv_JNI_GetAnyMethodID): Add name and signature to
6243         NoSuchMethodError.
6244
6245 2004-06-11  Jerry Quinn  <jlquinn@optonline.net>
6246
6247         * java/util/GregorianCalendar.java (computeTime):  Skip buggy formulae
6248         when we already know the answer.
6249         * java/util/SimpleTimeZone.java (serialVersionOnStream): Bump to 2.
6250         (setStartRule,setEndRule): Don't take abs of day number.
6251         (getOffset): Clarify docs.  Add argument checks.
6252         (isBefore): Take abs of day number in DOW_LE_DOM_MODE.
6253         (equals,hasSameRules,toString,readObject): Use startTimeMode and
6254         endTimeMode.
6255
6256 2004-06-10  Tom Tromey  <tromey@redhat.com>
6257
6258         * interpret.cc (run): Handle wide fload.
6259
6260 2004-06-06  Jerry Quinn  <jlquinn@optonline.net>
6261
6262         * java/util/zip/ZipEntry.java (setTime): Remove scaling.
6263
6264 2004-06-05  Michael Koch  <konqueror@gmx.de>
6265
6266         * javax/swing/SwingConstants.java
6267         (NEXT): New constant.
6268         (PREVIOUS): Likewise.
6269
6270 2004-06-05  Michael Koch  <konqueror@gmx.de>
6271
6272         * javax/swing/UIManager.java
6273         (LookAndFeel): Made public.
6274         (LookAndFeel.getName): Likewise.
6275         (LookAndFeel.getClassName): Likewise.
6276
6277 2004-06-03  Michael Koch  <konqueror@gmx.de>
6278
6279         * gnu/java/awt/peer/gtk/GtkComponentPeer.java
6280         (requestFocus): Revert last changes.
6281         (gtkRequestFocus): Removed.
6282         * jni/gtk-peer/gnu_java_awt_peer_gtk_GtkComponentPeer.c
6283         (Java_gnu_java_awt_peer_gtk_GtkComponentPeer_gtkRequestFocus):
6284         Renamed to ...
6285         (Java_gnu_java_awt_peer_gtk_GtkComponentPeer_gtkWidgetRequestFocus):
6286         Reverted last patch.
6287         * jni/gtk-peer/gnu_java_awt_peer_gtk_GtkPopupMenuPeer.c
6288         (Java_gnu_java_awt_peer_gtk_GtkPopupMenuPeer_setupAccelGroup):
6289         Reverted comment change.
6290
6291 2004-06-02  Olga Rodimina  <rodimina@redhat.com>
6292
6293         * javax/swing/JCheckBoxMenuItem.java:
6294         Removed CVS tags.
6295         * javax/swing/JMenu.java: Likewise.
6296         * javax/swing/JMenuBar.java: Likewise.
6297         * javax/swing/JMenuItem.java: Likewise.
6298         * javax/swing/JPopupMenu.java: Likewise.
6299         * javax/swing/JRadioButtonMenuItem.java: Likewise.
6300         * javax/swing/plaf/basic/BasicCheckBoxMenuItemUI.java:Likewise.
6301         * javax/swing/plaf/basic/BasicMenuBarUI.java: Likewise.
6302         * javax/swing/plaf/basic/BasicMenuItemUI.java: Likewise.
6303         * javax/swing/plaf/basic/BasicMenuUI.java: Likewise.
6304         * javax/swing/plaf/basic/BasicPopupMenuUI.java: Likewise.
6305         * javax/swing/plaf/basic/BasicRadioButtonMenuItemUI.java: Likewise.
6306
6307 2004-06-01  Tom Tromey  <tromey@redhat.com>
6308
6309         * java/io/ObjectStreamField.java: Cleaned up imports.
6310
6311 2004-06-01  Michael Koch  <konqueror@gmx.de>
6312
6313         * java/io/ObjectStreamField.java: Style and javadoc cleanup.
6314       
6315 2004-06-01  Mark Wielaard  <mark@klomp.org>
6316
6317         * java/io/Writer.java (Writer(Object)): Fixed API doc.
6318
6319 2004-06-01  Michael Koch  <konqueror@gmx.de>
6320
6321         * java/security/Security.java
6322         (insertProviderAt): Use equals() instead of ==.
6323         (removeProvicer): Likewise.
6324         (getProvider): Likewise.
6325         * java/security/Signature.java
6326         (sign): Don't set state to UNINITIALIZED.
6327         (verify): Likewise.
6328
6329 2004-06-01  Mark Wielaard  <mark@klomp.org>
6330
6331         * gnu/java/awt/peer/gtk/GtkComponentPeer.java (requestFocus):
6332         Implement by calling gtkRequestFocus.
6333         (gtkRequestFocus): New native method.
6334         * native/jni/gtk-peer/gnu_java_awt_peer_gtk_GtkComponentPeer.c
6335         (Java_gnu_java_awt_peer_gtk_GtkComponentPeer_requestFocus__):
6336         Renamed to ...
6337         (Java_gnu_java_awt_peer_gtk_GtkComponentPeer_gtkRequestFocus):
6338         New function name.
6339         (filter_expose_event_handler):
6340         Mark static.
6341         * native/jni/gtk-peer/gnu_java_awt_peer_gtk_GtkPopupMenuPeer.c
6342         (menu_pos): Mark static.
6343
6344 2004-06-01  Michael Koch  <konqueror@gmx.de>
6345
6346         * java/text/CollationElementIterator.java,
6347         java/text/CollationKey.java,
6348         java/text/RuleBasedCollator.java: New versions from GNU classpath.
6349         * testsuite/libjava.mauve/xfails: Removed all
6350         java.text.CollationElementIterator tests.
6351
6352 2004-06-01  Michael Koch  <konqueror@gmx.de>
6353
6354         * java/util/zip/InflaterInputStream.java: Merged more with Classpath
6355         version.
6356         * java/util/zip/ZipOutputStream.java (): Renamed enum to e to removed
6357         Java 1.5 keyword usage.
6358
6359 2004-05-31  Olga Rodimina  <rodimina@redhat.com>
6360
6361         * javax/swing/plaf/basic/BasicMenuUI.java:
6362         (MouseEntered): Do not call getPath() from MenuSelectionManager.
6363         Call getPath() from super class instead.
6364
6365 2004-05-31  Michael Koch  <konqueror@gmx.de>
6366
6367         * java/io/SequenceInputStream.java:
6368         Rename enum to e because enum is a keyword in Java 1.5.
6369
6370 2004-05-31  Michael Koch  <konqueror@gmx.de>
6371
6372         * gnu/java/rmi/rmic/CompilerProcess.java:
6373         Fixed javadoc to by XHTML compliant.
6374
6375 2004-05-30  Mark Wielaard  <mark@klomp.org>
6376
6377         * java/awt/Toolkit.java (loadSystemColors): Implement.
6378
6379 2004-05-30  Michael Koch  <konqueror@gmx.de>
6380
6381         * java/lang/System.java: Reordered imports.
6382
6383 2004-05-30  Guilhem Lavaux <guilhem@kaffe.org>
6384
6385         * java/text/DecimalFormat.java
6386         (parse): Fixed parsing of decimal strings. Number of maximum
6387         digits to be read should now work.
6388         * java/text/SimpleDateFormat.java
6389         (SimpleDateFormat): Set maximumFractionDigit to 0 for the number
6390         formatter. This fixes DateFormatTest.
6391
6392 2004-05-30  Michael Koch  <konqueror@gmx.de>
6393
6394         * java/nio/Buffer.java
6395         (limit): Fixed off by one error.
6396         * java/nio/CharBuffer.java
6397         (wrap): Fixed arguments, added javadocs.
6398
6399 2004-05-30  Michael Koch  <konqueror@gmx.de>
6400
6401         * gnu/java/beans/BeanInfoEmbryo.java,
6402         java/awt/im/InputContext.java,
6403         javax/swing/tree/DefaultMutableTreeNode.java:
6404         Rename enum to e because enum is a keyword in Java 1.5.
6405
6406 2004-05-30  Michael Koch  <konqueror@gmx.de>
6407
6408         * gnu/java/math/MPN.java,
6409         java/awt/geom/Arc2D.java:
6410         Fixed javadocs all over.
6411
6412 2004-05-30  Michael Koch  <konqueror@gmx.de>
6413
6414         * java/awt/DefaultKeyboardFocusManager.java
6415         (dispatchEvent): Call method to get key event dispatchers.
6416         (dispatchKeyEvent): Call method to get key event post processors.
6417         * javax/swing/JComponent.java
6418         (listenerList): Made protected.
6419         * javax/swing/JOptionPane.java
6420         (message): Don't initialize.
6421         (JOptionPane): Set message text.
6422         * javax/swing/JPopupMenu.java
6423         (show): Fixed typo in argument name.
6424         * javax/swing/RepaintManager.java
6425         (paintDirtyRegions): Use public API of java.util.Map.
6426         * javax/swing/plaf/basic/BasicSplitPaneDivider.java
6427         (positionForMouseEvent): Removed redundant ';'.
6428         (continueDrag): Use method arguments.
6429
6430 2004-05-29  Ranjit Mathew  <rmathew@hotmail.com>
6431
6432         * testsuite/libjava.jacks/jacks.xfail: Update for post tree-ssa merge
6433         results.
6434
6435 2004-05-28  Bryce McKinlay  <mckinlay@redhat.com>
6436
6437         * gcj/cni.h (JvAllocBytes): New public CNI function. Calls
6438         _Jv_AllocBytes.
6439         * gnu/gcj/RawDataManaged.java: New file.
6440         * java/lang/Thread.java (data): Declare as RawDataManaged.
6441         * java/lang/natThread.cc (init_native): Cast natThread data to
6442         RawDataManaged, not jobject.
6443         * Makefile.am (ordinary_java_source_files): Add RawDataManaged.
6444         * Makefile.in: Rebuilt.
6445
6446 2004-05-27  Jerry Quinn  <jlquinn@optonline.net>
6447
6448         * java/util/SimpleTimeZone.java: Reverting my last change until I
6449         can fix it properly.
6450
6451 2004-05-27  Michael Koch  <konqueror@gmx.de>
6452
6453         * javax/swing/JPopupMenu.java
6454         (isVisible): Do not use visible directly.
6455         (setVisible): Likewise.
6456         * javax/swing/JWindow.java
6457         (JWindow): call accessible constructor.
6458         * javax/swing/RepaintManager.java
6459         (paintDirtyRegions): Use public methods to obtain iterator.
6460
6461 2004-05-25  David Jee  <djee@redhat.com>
6462
6463         * java/awt/Container.java
6464         (remove): Set component's parent to null only after we removed the
6465         component from its parent's layout manager.
6466
6467 2004-05-25  David Jee  <djee@redhat.com>
6468
6469         * gnu/java/awt/peer/gtk/GtkComponentPeer.java
6470         (GtkComponentPeer): Set bounds regardless of whether awtComponent
6471         is valid.
6472         * gnu/java/awt/peer/gtk/GtkListPeer.java
6473         (getSize): Change native method declaration.
6474         (minimumSize): Pass visible row count into getSize().
6475         (preferredSize): Likewise.
6476         * jni/gtk-peer/gnu_java_awt_peer_gtk_GtkListPeer.c
6477         (Java_gnu_java_awt_peer_gtk_GtkListPeer_getSize): Use scroll window's
6478         natural size. Use visible row count to determine the final height
6479         value to return.
6480
6481 2004-05-21  Graydon Hoare  <graydon@redhat.com>
6482
6483         * gnu/java/awt/peer/gtk/GdkGraphics2D.java 
6484         (setClip): Minor correction to order of operations.
6485
6486         * javax/swing/JScrollPane.java: Extend sketchy implementation.
6487         * javax/swing/ScrollPaneLayout.java: Likewise.
6488         * javax/swing/JViewPort.java: Likewise.
6489         * javax/swing/ViewportLayout.java: Likewise.
6490
6491         * javax/swing/JComponent.java: Rewrite.
6492         * javax/swing/RepaintManager.java: Likewise.
6493
6494         * javax/swing/JLayeredPane.java: Change validate() to revalidate().
6495         * javax/swing/JList.java 
6496         (setSelectedIndices):
6497         (getSelectedIndices):
6498         (getSelectedValues): New functions.
6499         (getPreferredScrollableViewportSize): Return preferred size.
6500         (getScrollableUnitIncrement):
6501         (getScrollableBlockIncrement): Initial implementations.
6502         * javax/swing/JRootPane.java: Clean up slightly.
6503         (getUI):
6504         (setUI):
6505         (updateUI):
6506         (getUIClassID):
6507         (isValidateRoot): Add overrides from JComponent.
6508         * javax/swing/JScrollBar.java: Set default orientation to VERTICAL.
6509         * javax/swing/UIManager.java (getDimension): Return the dimension.
6510
6511         * javax/swing/plaf/basic/BasicButtonUI.java: Set component opaque.
6512         * javax/swing/plaf/basic/BasicLabelUI.java: Likewise.
6513         * javax/swing/plaf/basic/BasicMenuItemUI.java: Likewise.
6514         * javax/swing/plaf/basic/BasicProgressBarUI.java: Likewise.
6515         * javax/swing/plaf/basic/BasicSeparatorUI.java: Likewise.
6516         * javax/swing/plaf/basic/BasicSliderUI.java: Likewise.
6517         * javax/swing/plaf/basic/BasicTabbedPaneUI.java: Likewise.
6518         * javax/swing/plaf/basic/BasicRootPaneUI.java: 
6519         Likewise, and set background.
6520         * javax/swing/plaf/basic/BasicListUI.java: 
6521         Likewise, and improve a bit.
6522         * javax/swing/plaf/basic/BasicScrollBarUI.java: 
6523         Likewise, and adjust calculations.
6524         * javax/swing/plaf/basic/BasicViewportUI.java:
6525         Likewise, and improve a bit.
6526         * javax/swing/plaf/basic/BasicLookAndFeel.java 
6527         (Button.margin): Shrink.
6528
6529         * jni/gtk-peer/gnu_java_awt_peer_gtk_GdkGlyphVector.c:
6530         Hack to set horizontal always, workaround pango.
6531
6532         * jni/gtk-peer/gtkcairopeer.h: Change to match pattern API.
6533         * jni/gtk-peer/gnu_java_awt_peer_gtk_GdkGraphics2D.c:
6534         Synchronize more often, check cairo status after ops,
6535         handle changes to cairo pattern API, check for disposal.
6536
6537 2004-05-21  Olga Rodimina  <rodimina@redhat.com>
6538
6539         * javax/swing/plaf/basic/BasicMenuItemUI.java:
6540         (BasicMenuItemUI): Create propertyChangeListener.
6541         (getPath):Implemented.
6542         (installListeners): Add propertyChangeListener to menuItem.
6543         (uninstallListeners): Remove propertyChangeListener from menuItem.
6544         (update): Implemented.
6545         * javax/swing/plaf/basic/BasicMenuUI.MouseInputHandler:
6546         (mouseEntered): Take insets of popup menu into account when
6547         calculating position of popup menu.     
6548         
6549 2004-05-18  Olga Rodimina  <rodimina@redhat.com>
6550
6551         * Makefile.am: Added new file. 
6552         * Makefile.in: Regenerate.
6553         * javax/swing/JMenuBar.java:
6554         Started implementation.
6555         * javax/swing/JPopupMenu.java:
6556         (setVisible): Fixed location of lightweight/mediumweight
6557         popup menu.
6558         (show): Fixed location of PopupMenu.
6559         * javax/swing/plaf/basic/BasicMenuBarUI.java:
6560         New file. UI Delegate for JMenuBar.
6561         * javax/swing/plaf/basic/BasicMenuUI.MouseInputHandler:
6562         (mouseEntered): Corrected position of the submenu.
6563
6564 2004-05-18  Thomas Fitzsimmons  <fitzsim@redhat.com>
6565
6566         * jni/gtk-peer/gnu_java_awt_peer_gtk_GtkMenuPeer.c: Remove calls
6567         to _gtk_accel_group_attach.
6568         * jni/gtk-peer/gnu_java_awt_peer_gtk_GtkPopupMenuPeer.c:
6569         Likewise.
6570
6571         * gnu/java/awt/peer/gtk/GtkButtonPeer.java: Give gtkSetFont
6572         package access.  Don't override setFont.
6573         * gnu/java/awt/peer/gtk/GtkCheckboxPeer.java: Likewise.
6574         * gnu/java/awt/peer/gtk/GtkComponentPeer.java: Give
6575         gtkWidgetRequestFocus package access.
6576         * gnu/java/awt/peer/gtk/GtkLabelPeer.java: Don't override
6577         setFont.
6578         * gnu/java/awt/peer/gtk/GtkListPeer.java: Override gtkSetFont.
6579         Give gtkWidgetRequestFocus package access.
6580         * gnu/java/awt/peer/gtk/GtkTextAreaPeer.java: Give
6581         gtkWidgetRequestFocus package access.  Don't override setFont.
6582         * gnu/java/awt/peer/gtk/GtkTextFieldPeer.java: Don't override
6583         setFont.
6584         * jni/gtk-peer/gnu_java_awt_peer_gtk_GtkButtonPeer.c
6585         (gtkSetLabel): Move call to gtk_bin_get_child into GDK critical
6586         region.
6587         (gtkSetFont): Likewise.
6588         * jni/gtk-peer/gnu_java_awt_peer_gtk_GtkListPeer.c (gtkSetFont):
6589         Implement.
6590         * jni/gtk-peer/gnu_java_awt_peer_gtk_GtkTextAreaPeer.c
6591         (gtkSetFont): Whitespace fix.
6592
6593         * jni/gtk-peer/gnu_java_awt_peer_gtk_GtkComponentPeer.c
6594         (gtkWidgetSetUsize): Remove method.
6595
6596 2004-05-18  David Jee  <djee@redhat.com>
6597
6598         * java/awt/image/MemoryImageSource.java
6599         (newPixels(int,int,int,int,boolean)): Set only the specified
6600         rectangle of pixels.
6601         (newPixels(byte[],ColorModel,int,int)): Implement.
6602         (newPixels(int[],ColorModel,int,int)): Implement.
6603
6604 2004-05-18  Olga Rodimina  <rodimina@redhat.com>
6605
6606         * Makefile.am: Added new file.
6607         * Makefile.in: Regenerate.
6608         * javax/swing/JMenu.java: Started 
6609         implementation.
6610         * javax/swing/JPopupMenu.java:
6611         (insert): If specified index is -1, then
6612         add component at the end.
6613         (isPopupTrigger): Reimplemented.
6614         (JPopupMenu.LightWeightPopup): setBounds
6615         of the lightWeightPopup before adding it 
6616         to the layeredPane.
6617         (javax/swing/plaf/basic/BasicIconFactory.java):
6618         (getMenuArrowIcon): Implemented.
6619         * javax/swing/plaf/basic/BasicMenuItemUI.java:
6620         (getPreferredSize): Add size of the arrow icon 
6621         if this menu item is instance of JMenu.
6622         (paintMenuItem): Paint arrow icon if this 
6623         menu item is a submenu.
6624         * javax/swing/plaf/basic/BasicMenuUI.java:
6625         New File. UI Delegate for JMenu.
6626
6627 2004-05-17  Thomas Fitzsimmons  <fitzsim@redhat.com>
6628
6629         * gnu/java/awt/peer/gtk/GtkComponentPeer.java (postKeyEvent):
6630         Post KEY_TYPED events.
6631         * jni/gtk-peer/gnu_java_awt_peer_gtk_GtkEvents.c
6632         (generates_key_typed_event): Remove function.
6633
6634 2004-05-17  Olga Rodimina  <rodimina@redhat.com>
6635
6636         * javax/swing/JRootPane.java
6637         (JRootPane.RootLayout): Reimplemented to 
6638         set bounds of contentPane and menuBar.
6639         (setJMenuBar): Add menu bar to the layered pane.
6640         (createLayeredPane): Set layout of layeredPane
6641         to null.
6642         * javax/swing/JLayeredPane.java:
6643         (addImpl): Calculate index of the component in the
6644         layeredPane according to the specified position within 
6645         the layer.      
6646
6647 2004-05-17  David Jee  <djee@redhat.com>
6648
6649         * gnu/java/awt/peer/gtk/GtkImagePainter.java
6650         (setPixels): Change color model to the default model after
6651         converting pixels.
6652         * java/awt/image/MemoryImageSource.java
6653         (newPixels): Set only the specified rectangle of pixels.
6654
6655 2004-05-13  Thomas Fitzsimmons  <fitzsim@redhat.com>
6656
6657         * libgcj.spec.in (lib): Add -l-java-awt -l-java-applet
6658         -l-java-beans -l-javax-accessibility -l-javax-swing.
6659
6660         * java/awt/AWTEvent.java (toString): Print source's name rather
6661         than the source itself.
6662
6663 2004-05-12  Thomas Fitzsimmons  <fitzsim@redhat.com>
6664
6665         * gnu/java/awt/peer/gtk/GtkToolkit.java (loadSystemColors): Make
6666         native.
6667         * jni/gtk-peer/gnu_java_awt_peer_gtk_GtkToolkit.c
6668         (gdk_color_to_java_color): New function.
6669         * jni/gtk-peer/gtkpeer.h: Add SystemColor defines.
6670
6671 2004-05-12  David Jee  <djee@redhat.com>
6672
6673         * java/awt/image/RGBImageFilter.java:
6674         Initialize origmodel as null.
6675         (makeColor): Fix pixel component order.
6676         (filterRGBPixels): Fix pixel iteration.
6677         (setPixels): Add extra checks for index color model. Convert pixels
6678         to default color model if necessary.
6679         (convertColorModelToDefault): New override method for byte pixels.
6680         (convertColorModelToDefault): For int pixels, fix pixel iteration.
6681         (makeColorbyDefaultCM): New override method for byte pixels.
6682         (makeColorbyDefaultCM): For int pixel, add color model as argument.
6683         (makeColor): Fix pixel component order.
6684
6685 2004-05-11  Kim Ho  <kho@redhat.com>
6686
6687         * javax/swing/Box.java:
6688         Comment out more parts of Box.Filler.
6689
6690 2004-05-11  Kim Ho  <kho@redhat.com>
6691
6692         * javax/swing/Box.java:
6693         Remove reference to AccessibleAWTComponent so
6694         it compiles again.
6695
6696 2004-05-10  Thomas Fitzsimmons  <fitzsim@redhat.com>
6697
6698         * gnu/java/awt/peer/gtk/GtkListPeer.java,
6699         jni/gtk-peer/gnu_java_awt_peer_gtk_GtkListPeer.c: Update
6700         implementation of list peer to use GtkTreeView instead of
6701         deprecated GtkCList.
6702
6703 2004-05-07  Thomas Fitzsimmons  <fitzsim@redhat.com>
6704
6705         * gnu/java/awt/peer/gtk/GtkComponentPeer.java
6706         (gtkWidgetDispatchKeyEvent): Remove keyChar parameter.
6707         (handleEvent): Remove keyChar argument to
6708         gtkWidgetDispatchKeyEvent calls.
6709         * jni/gtk-peer/gnu_java_awt_peer_gtk_GtkComponentPeer.c: Fix
6710         compiler warnings.
6711         * jni/gtk-peer/gnu_java_awt_peer_gtk_GtkEvents.c: Likewise.
6712         * jni/gtk-peer/gnu_java_awt_peer_gtk_GtkMenuPeer.c: Likewise.
6713         * jni/gtk-peer/gnu_java_awt_peer_gtk_GtkTextComponentPeer.c:
6714         Likewise.
6715
6716 2004-05-06  Thomas Fitzsimmons  <fitzsim@redhat.com>
6717
6718         * gnu/java/awt/peer/gtk/GtkComponentPeer.java
6719         (gtkWidgetRequestFocus): Mark protected.
6720         (GtkComponentPeer): Only set the peer's bounds if its component
6721         is valid.
6722         * java/awt/Component.java (static): Set the default keyboard
6723         focus manager.
6724         (requestFocus(), requestFocus(boolean), requestFocusInWindow(),
6725         requestFocusInWindow(temporary)): Don't request focus if the
6726         component is not showing.  Get tree lock before traversing
6727         component hierarchy.
6728         * java/awt/DefaultKeyboardFocusManager.java (dispatchEvent):
6729         Only set the global focus owner if it is not a Window.
6730         (processKeyEvent): Consume keystrokes associated with the focus
6731         traversal keystroke.
6732         (focusPreviousComponent, focusNextComponent, upFocusCycle,
6733         downFocusCycle): Call requestFocusInWindow instead of
6734         requestFocus.
6735         * java/awt/EventDispatchThread.java (run): Move setting of
6736         default keyboard focus manager to Component.java.
6737         * jni/gtk-peer/gnu_java_awt_peer_gtk_GtkComponentPeer.c
6738         (awt_keycode_to_keysym): New function.
6739         (gtkWidgetDispatchKeyEvent): Finish implementation.
6740         * jni/gtk-peer/gnu_java_awt_peer_gtk_GtkEvents.c
6741         (pre_event_handler): Add FIXME comment.
6742
6743         * gnu/java/awt/peer/gtk/GtkTextAreaPeer.java,
6744         jni/gtk-peer/gnu_java_awt_peer_gtk_GtkTextAreaPeer.c
6745         (gtkWidgetRequestFocus): New method.
6746         * java/awt/TextArea.java (TextArea): Set focus traversal keys to
6747         disable Tab and Shift-Tab keystrokes.
6748         (addNotify, appendText, insertText, replaceText): Simplify peer
6749         retrieval code.
6750         * jni/gtk-peer/gnu_java_awt_peer_gtk_GtkTextComponentPeer.c
6751         (connectSignals): Remove connections to "commit" signals.
6752         Remove C++-style comments.
6753
6754         * gnu/java/awt/peer/gtk/GtkButtonPeer.java,
6755         jni/gtk-peer/gnu_java_awt_peer_gtk_GtkButtonPeer.c
6756         (handleEvent): Activate GTK button when the space bar key is
6757         pressed.
6758         (gtkActivate): New method.
6759
6760 2004-05-06  David Jee  <djee@redhat.com>
6761
6762         * java/awt/image/CropImageFilter.java
6763         (setPixels): Implement for byte array pixels.
6764         * java/awt/image/ReplicateScaleFilter.java
6765         (setPixels): Implement for byte array pixels.
6766         (replicatePixels): Overload for byte array pixels.
6767
6768 2004-05-06  Kim Ho  <kho@redhat.com>
6769
6770         * javax/swing/Box.java:
6771         (getAccessibleContext): Return an instance of the 
6772         correct class.
6773
6774 2004-05-05  David Jee  <djee@redhat.com>
6775
6776         * gnu/java/awt/peer/gtk/GdkGraphics.java
6777         (drawImage): When component is null, use SystemColor.window as
6778         the default bgcolor.
6779         * gnu/java/awt/peer/gtk/GtkImage.java
6780         (setPixels): We can avoid iterating through the pixel rows only
6781         when height is 1.
6782         * java/awt/Image.java
6783         (getScaledInstance): Partially implement.
6784         * java/awt/image/CropImageFilter.java
6785         (setProperties): Fix "filter" property.
6786         (setPixels): Implement.
6787         * java/awt/image/ReplicateScaleFilter.java
6788         (setDimensions): Use scaled dimensions.
6789         (setPixels): Implement.
6790         (replicatePixels): New method.
6791
6792 2004-05-05  David Jee  <djee@redhat.com>
6793
6794         * gnu/java/awt/peer/gtk/GtkImagePainter.java
6795         (convertPixels): If either pixels or model is null, return null.
6796         * jni/gtk-peer/gnu_java_awt_peer_gtk_GtkImagePainter.c
6797         (Java_gnu_java_awt_peer_gtk_GtkImagePainter_drawPixels): If jpixels
6798         is null, do nothing and return.
6799
6800 2004-05-03  Kim Ho  <kho@redhat.com>
6801
6802         * gnu/java/awt/peer/gtk/GtkDialogPeer.java:
6803         (getGraphics): Like GtkFramePeer, the Graphics
6804         object needs to be translate to account for
6805         window decorations.
6806         (postMouseEvent): New method. Account for
6807         translation.
6808         (postExposeEvent): ditto.
6809         * javax/swing/Box.java: Stubbed.
6810         * javax/swing/JDialog.java: Ran through jalopy
6811         to fix indentation.
6812         (JDialog): Call SwingUtilities' getOwnerFrame
6813         for null owners.
6814         (setLayout): Check isRootPaneCheckingEnabled
6815         * javax/swing/JOptionPane.java: Re-implemented.
6816         * javax/swing/SwingUtilities.java:
6817         (getOwnerFrame): Static method to grab a default
6818         owner frame for Dialogs that don't specify owners.
6819         * javax/swing/event/SwingPropertyChangeSupport.java:
6820         (firePropertyChange): Fix early exit condition.
6821         * javax/swing/plaf/basic/BasicLabelUI.java:
6822         (paint): Avoid painting text if it is null 
6823         or empty.
6824         * javax/swing/plaf/basic/BasicOptionPaneUI.java:
6825         Implement.
6826
6827 2004-05-03  Olga Rodimina  <rodimina@redhat.com>
6828
6829         * Makefile.am: Added new file.
6830         * Makefile.in: Regenerate.
6831         * javax/swing/JPopupMenu.java:
6832         Started implementation.
6833         * javax/swing/JWindow.java
6834         (JWindow): call super() if parent for window
6835         is not specified.
6836         * javax/swing/plaf/basic/BasicPopupMenuUI.java:
6837         New File. UI Delegate for JPopupMenu.
6838
6839 2004-04-30  Olga Rodimina  <rodimina@redhat.com>
6840
6841         * javax/swing/JApplet.java: Indicated that JApplet
6842         implements RootPaneContainer and made method of this
6843         interface public. 
6844         * javax/swing/JFrame.java: Ditto.
6845         * javax/swing/JWindow.java: Ditto.
6846         
6847 2004-04-29  Thomas Fitzsimmons  <fitzsim@redhat.com>
6848
6849         * jni/gtk-peer/gnu_java_awt_peer_gtk_GtkWindowPeer.c
6850         (nativeSetBounds): Call gdk_window_move in addition to
6851         gtk_window_move.
6852
6853         * java/applet/Applet.java (preferredSize): Call parent's
6854         preferredSize if the applet stub is null.
6855         (minimumSize): Likewise for parent's minimumSize.
6856
6857 2004-04-27  Olga Rodimina  <rodimina@redhat.com>
6858
6859         * javax/swing/JMenuItem.java
6860         (createActionPropertyChangeListener): Implemented.
6861         (processMouseEvent): Ditto.
6862         (fireMenuDragMouseEntered): Ditto.
6863         (fireMenuDragMouseExited): Ditto.
6864         (fireMenuDragMouseDragged): Ditto.
6865         (fireMenuDragMouseReleased): Ditto.
6866         (menuSelectionChanged): Ditto.
6867         (getSubElements): Ditto.
6868         (getComponent): Ditto.
6869         (addMenuDragMouseListener): Ditto.
6870         (removeMenuDragMouseListener):Ditto.
6871         (addMenuKeyListener): Ditto.
6872         (removeMenuKeyListener): Ditto.
6873         * javax/swing/plaf/basic/BasicMenuItemUI.java
6874         (doClick): Imlemented.
6875         * javax/swing/plaf/basic/BasicMenuItemUI.MouseInputHandler:
6876         Don't handle mouse events here. Pass them to 
6877         MenuSelectionManager.
6878         
6879 2004-04-26  Olga Rodimina  <rodimina@redhat.com>
6880         Used correct version of jalopy configuration
6881         file to fix style in the files below.
6882
6883 2004-04-26  Olga Rodimina  <rodimina@redhat.com>
6884
6885         * javax/swing/JCheckBoxMenuItem.java: 
6886         Fixed style and removed unnecessary comments.
6887         * javax/swing/JMenuItem.java: Ditto.
6888         * javax/swing/JRadioButtonMenuItem.java: Ditto.
6889         * javax/swing/plaf/basic/BasicCheckBoxMenuItemUI.java: Ditto.
6890         * javax/swing/plaf/basic/BasicMenuItemUI.java: Ditto.
6891         * javax/swing/plaf/basic/BasicRadioButtonMenuItemUI.java: Ditto.
6892
6893 2004-04-23  Thomas Fitzsimmons  <fitzsim@redhat.com>
6894
6895         * gnu_java_awt_peer_gtk_GtkWindowPeer.c: Change FIXME comment to
6896         C-style.
6897
6898         * gnu_java_awt_peer_gtk_GtkWindowPeer.c: Add FIXME comment.
6899
6900         * java/awt/ContainerOrderFocusTraversalPolicy.java
6901         (getComponentAfter): Start from current component and work up
6902         the component hierarchy until an acceptable component is found.
6903         Synchronize on tree lock.
6904         (getComponentBefore): Likewise.
6905
6906 2004-04-22  Thomas Fitzsimmons  <fitzsim@redhat.com>
6907
6908         * gnu/java/awt/peer/gtk/GtkComponentPeer.java: Remove
6909         focus-related debugging messages.
6910         * java/awt/DefaultKeyboardFocusManager.java: Likewise.
6911         * java/awt/EventDispatchThread.java: Likewise.
6912         * java/awt/KeyboardFocusManager.java: Likewise.
6913         * java/awt/Window.java: Likewise.
6914         * jni/gtk-peer/gnu_java_awt_peer_gtk_GtkComponentPeer.c: Likewise.
6915         * jni/gtk-peer/gnu_java_awt_peer_gtk_GtkEvents.c: Likewise.
6916
6917         * jni/gtk-peer/gnu_java_awt_peer_gtk_GtkComponentPeer.c: Change
6918         new C++-style comments to C-style comments.
6919         * jni/gtk-peer/gnu_java_awt_peer_gtk_GtkEvents.c: Likewise.
6920
6921         * gnu/java/awt/peer/gtk/GtkComponentPeer.java,
6922         jni/gtk-peer/gnu_java_awt_peer_gtk_GtkComponentPeer.c
6923         (handleEvent): Dispatch key press and key release events to
6924         backing widget.
6925         (requestFocus): Post a FOCUS_GAINED event to the event queue.
6926         (gtkWidgetRequestFocus): New method.
6927         (gtkWidgetDispatchKeyEvent): Likewise.
6928         * java/awt/Component.java (requestFocus, requestFocus(boolean),
6929         requestFocusInWindow, requestFocusInWindow(boolean),
6930         getFocusCycleRootAncestor, nextFocus, transferFocus,
6931         transferFocusBackward, transferFocusUpCycle, hasFocus,
6932         isFocusOwner): Implement and document focus-handling methods.
6933         (setFocusTraversalKeys): Inherit focus traversal keys when
6934         keystrokes argument is null.  Fix focus-handling documentation
6935         throughout class.
6936         * java/awt/Container.java (setFocusTraversalKeys,
6937         getFocusTraversalKeys, areFocusTraversalKeysSet,
6938         isFocusCycleRoot, setFocusTraversalPolicy,
6939         getFocusTraversalPolicy, isFocusTraversalPolicySet,
6940         setFocusCycleRoot, isFocusCycleRoot, transferFocusDownCycle):
6941         Implement and document focus-handling methods.
6942         (transferFocusBackward): Remove method.
6943         (readObject, writeObject): Implement and document serialization
6944         methods.
6945         * java/awt/ContainerOrderFocusTraversalPolicy.java: Implement
6946         and document.
6947         * java/awt/DefaultFocusTraversalPolicy.java: Implement and
6948         document.
6949         * java/awt/DefaultKeyboardFocusManager.java: Implement and
6950         partially document.
6951         * java/awt/EventDispatchThread.java (run): Set default keyboard
6952         focus manager.  Attempt to dispatch each event to the keyboard
6953         focus manager before normal dispatch.
6954         * java/awt/KeyboardFocusManager.java: Implement and partially
6955         document.
6956         * java/awt/Window.java (Window): Set focusCycleRoot to true.
6957         (show): Focus initial component when window is shown for the
6958         first time.
6959         * jni/gtk-peer/gnu_java_awt_peer_gtk_GtkEvents.c
6960         (pre_event_handler): Replace complex key press and key release
6961         logic with simple callbacks into GtkComponentPeer.
6962         * jni/gtk-peer/gtkpeer.h: Fix FOCUS_GAINED/FOCUS_LOST reversal.
6963
6964 2004-04-21  Olga Rodimina  <rodimina@redhat.com>
6965
6966         * javax/swing/MenuSelectionManager.java
6967         (componentForPoint): Added new method. 
6968         (defaultManager): New Method. Implemented.
6969         (getSelectedPath): Ditto.
6970         (isComponentPartOfCurrentMenu): Ditto.
6971         (processKeyEvent): Added new method.
6972         (processMouseEvent): New Method. Implemented.
6973         (setSelectedPath): Ditto.
6974         (getPath): Ditto.
6975
6976 2004-04-19  Kim Ho  <kho@redhat.com>
6977
6978         * java/awt/Container.java: 
6979         (remove): Set the component's parent to null.
6980         (getComponentAt): Implement.
6981         * javax/swing/JComponent.java:
6982         (JComponent): Initialize defaultLocale
6983         (getDefaultLocale): Implement.
6984         (setDefaultLocale): ditto.
6985         * javax/swing/JSlider.java:
6986         (JSlider): Fix calculation of value.
6987         * javax/swing/JSplitPane.java: Implement.
6988         * javax/swing/plaf/basic/BasicLookAndFeel.java:
6989         Change SplitPane's default divider size.
6990         * javax/swing/plaf/basic/BasicScrollBarUI.java:
6991         (paint): Remove unused code.
6992         * javax/swing/plaf/basic/BasicSplitPaneDivider.java:
6993         Added comments and ran through jalopy.
6994         (setBasicSplitPaneUI): Get reference to hidden divider
6995         and set up one touch buttons if necessary.
6996         (setBorder): Fire propertyChangeEvent only if 
6997         borders are different.
6998         (getPreferredSize): Defer to layout manager.
6999         (propertyChange): Implement.
7000         (oneTouchExpandableChanged): ditto.
7001         (createLeftOneTouchButton): Use BasicArrowButton.
7002         (createRightOneTouchButton): ditto.
7003         (moveDividerTo): New method. Moves the divider
7004         to a set location based on the last divider location.
7005         (BasicSplitPaneDivider::MouseHandler): Implement.
7006         (BasicSplitPaneDivider::OneTouchButton): Removed.
7007         (BasicSplitPaneDivider::DragController): Implement.
7008         (BasicSplitPaneDivider::VerticalDragController):
7009         ditto.
7010         (BasicSplitPaneDivider::DividerLayout): ditto.
7011         * javax/swing/plaf/basic/BasicSplitPaneUI.java: Reimplement.
7012         * javax/swing/plaf/basic/BasicTabbedPaneUI.java:
7013         (calculateLayoutInfo): Don't show component if it's
7014         null.
7015         (paintTab): Fix title paint logic.
7016
7017 2004-05-26  Jerry Quinn  <jlquinn@optonline.net>
7018
7019         PR libgcj/8321
7020         * java/util/SimpleTimeZone.java (serialVersionOnStream): Bump to 2.
7021         (setStartRule,setEndRule): Don't take abs of day number.
7022         (getOffset): Clarify docs.  Add argument checks.
7023         (isBefore): Take abs of day number in DOW_LE_DOM_MODE.
7024         (equals,hasSameRules,toString,readObject): Use startTimeMode and
7025         endTimeMode.
7026         * testsuite/libjava.mauve/xfails
7027         (gnu.testlet.java.util.SimpleTimeZone.check12): XFAIL test 22.
7028
7029 2004-05-21  Bryce McKinlay  <mckinlay@redhat.com>
7030
7031         Layout interfaces during preparation, not initialization. 
7032         * java/lang/natClass.cc (initializeClass): Move 
7033         _Jv_LayoutInterfaceMethods call...
7034         * java/lang/natClassLoader.cc (_Jv_PrepareCompiledClass): to here.
7035
7036 2004-05-19  Anthony Green  <green@localhost.localdomain>
7037
7038         * Makefile.am (awt_java_source_files): Remove javax.rmi and
7039         gnu.javax.rmi code.
7040         * Makefile.in: Rebuilt.
7041         * javax/rmi/ClassDesc.java, javax/rmi/StubDelegate.java,
7042         javax/rmi/UtilDelegate.java, javax/rmi/Stub.java,
7043         javax/rmi/Util.java, javax/rmi/ObjectImpl.java,
7044         javax/rmi/SystemException.java, javax/rmi/ValueHandler.java,
7045         javax/rmi/PortableRemoteObjectDelegate.java, javax/rmi/Tie.java,
7046         gnu/javax/rmi/CORBA/DelegateFactory.java,
7047         gnu/javax/rmi/CORBA/GetDelegateInstanceException.java,
7048         gnu/javax/rmi/CORBA/PortableRemoteObjectDelegateImpl.java,
7049         gnu/javax/rmi/CORBA/StubDelegateImpl.java,
7050         gnu/javax/rmi/CORBA/UtilDelegateImpl.java,
7051         gnu/javax/rmi/CORBA/ValueHandlerImpl.java,
7052         gnu/javax/rmi/PortableServer.java: Remove files.
7053
7054 2004-05-19  Anthony Green  <green@redhat.com>
7055
7056         * Makefile.am: Define JAVA_EXT_DIRS.
7057         * Makefile.in: Rebuilt.
7058         * java/lang/natRuntime.cc (insertSystemProperties): Set
7059         java.ext.dirs property.
7060
7061 2004-05-16  Mark Wielaard  <mark@klomp.org>
7062
7063         * java/io/Writer.java (Writer(Object)): Check for null lock object.
7064
7065 2004-05-15  Mark Wielaard  <mark@klomp.org>
7066
7067         * doc/cni.sgml: Removed, merged into gcj.texi.
7068
7069 2004-05-15  Mark Wielaard  <mark@klomp.org>
7070
7071         * Makefile.am (ordinary_java_source_files): Add new javax.print
7072         classes.
7073         * Makefile.in: Regenerated.
7074
7075 2004-05-15  Michael Koch  <konqueror@gmx.de>
7076
7077         * javax/print/attribute/standard/DateTimeAtCompleted.java,
7078         javax/print/attribute/standard/DateTimeAtCreation.java,
7079         javax/print/attribute/standard/DateTimeAtProcessing.java,
7080         javax/print/attribute/standard/DocumentName.java,
7081         javax/print/attribute/standard/JobHoldUntil.java,
7082         javax/print/attribute/standard/JobImpressionsCompleted.java,
7083         javax/print/attribute/standard/JobMessageFromOperator.java,
7084         javax/print/attribute/standard/JobName.java,
7085         javax/print/attribute/standard/JobOriginatingUserName.java,
7086         javax/print/attribute/standard/JobPriority.java,
7087         javax/print/attribute/standard/JobPrioritySupported.java,
7088         javax/print/attribute/standard/NumberOfInterveningJobs.java,
7089         javax/print/attribute/standard/OutputDeviceAssigned.java,
7090         javax/print/attribute/standard/PrinterInfo.java,
7091         javax/print/attribute/standard/PrinterLocation.java,
7092         javax/print/attribute/standard/PrinterMakeAndModel.java,
7093         javax/print/attribute/standard/PrinterMessageFromOperator.java,
7094         javax/print/attribute/standard/PrinterName.java,
7095         javax/print/attribute/standard/QueuedJobCount.java,
7096         javax/print/attribute/standard/RequestingUserName.java:
7097         Fixed javadocs all over.
7098
7099 2004-05-15  Michael Koch  <konqueror@gmx.de>
7100
7101         * javax/print/DocFlavor.java,
7102         javax/print/attribute/standard/ColorSupported.java,
7103         javax/print/attribute/standard/Compression.java,
7104         javax/print/attribute/standard/CopiesSupported.java,
7105         javax/print/attribute/standard/Fidelity.java,
7106         javax/print/attribute/standard/Finishings.java,
7107         javax/print/attribute/standard/JobImpressionsSupported.java,
7108         javax/print/attribute/standard/JobKOctetsSupported.java,
7109         javax/print/attribute/standard/JobMediaSheetsSupported.java,
7110         javax/print/attribute/standard/JobSheets.java,
7111         javax/print/attribute/standard/JobState.java,
7112         javax/print/attribute/standard/JobStateReason.java,
7113         javax/print/attribute/standard/JobStateReasons.java,
7114         javax/print/attribute/standard/Media.java,
7115         javax/print/attribute/standard/MediaSizeName.java,
7116         javax/print/attribute/standard/MultipleDocumentHandling.java,
7117         javax/print/attribute/standard/NumberUpSupported.java,
7118         javax/print/attribute/standard/OrientationRequested.java,
7119         javax/print/attribute/standard/PDLOverrideSupported.java,
7120         javax/print/attribute/standard/PageRanges.java,
7121         javax/print/attribute/standard/PresentationDirection.java,
7122         javax/print/attribute/standard/PrintQuality.java,
7123         javax/print/attribute/standard/PrinterIsAcceptingJobs.java,
7124         javax/print/attribute/standard/PrinterMoreInfo.java,
7125         javax/print/attribute/standard/PrinterMoreInfoManufacturer.java,
7126         javax/print/attribute/standard/PrinterResolution.java,
7127         javax/print/attribute/standard/PrinterState.java,
7128         javax/print/attribute/standard/PrinterStateReason.java,
7129         javax/print/attribute/standard/PrinterStateReasons.java,
7130         javax/print/attribute/standard/PrinterURI.java,
7131         javax/print/attribute/standard/ReferenceUriSchemesSupported.java,
7132         javax/print/attribute/standard/Severity.java,
7133         javax/print/attribute/standard/SheetCollate.java,
7134         javax/print/attribute/standard/Sides.java:
7135         Added serialVersionUID and removed final keyword where it doenst
7136         belong.
7137
7138 2004-05-15  Michael Koch  <konqueror@gmx.de>
7139
7140         * javax/print/PrintServiceLookup.java: New file.
7141
7142 2004-05-15  Michael Koch  <konqueror@gmx.de>
7143
7144         * javax/print/DocFlavor.java:
7145         Implemented all flavor classes.
7146
7147 2004-05-15  Michael Koch  <konqueror@gmx.de>
7148
7149         * javax/print/attribute/standard/ColorSupported.java,
7150         javax/print/attribute/standard/Compression.java,
7151         javax/print/attribute/standard/CopiesSupported.java,
7152         javax/print/attribute/standard/Fidelity.java,
7153         javax/print/attribute/standard/Finishings.java,
7154         javax/print/attribute/standard/JobImpressionsSupported.java,
7155         javax/print/attribute/standard/JobKOctetsSupported.java,
7156         javax/print/attribute/standard/JobMediaSheetsSupported.java,
7157         javax/print/attribute/standard/JobSheets.java,
7158         javax/print/attribute/standard/JobState.java,
7159         javax/print/attribute/standard/JobStateReason.java,
7160         javax/print/attribute/standard/JobStateReasons.java,
7161         javax/print/attribute/standard/Media.java,
7162         javax/print/attribute/standard/MediaSizeName.java,
7163         javax/print/attribute/standard/MultipleDocumentHandling.java,
7164         javax/print/attribute/standard/NumberUpSupported.java,
7165         javax/print/attribute/standard/OrientationRequested.java,
7166         javax/print/attribute/standard/PDLOverrideSupported.java,
7167         javax/print/attribute/standard/PageRanges.java,
7168         javax/print/attribute/standard/PresentationDirection.java,
7169         javax/print/attribute/standard/PrintQuality.java,
7170         javax/print/attribute/standard/PrinterIsAcceptingJobs.java,
7171         javax/print/attribute/standard/PrinterMoreInfo.java,
7172         javax/print/attribute/standard/PrinterMoreInfoManufacturer.java,
7173         javax/print/attribute/standard/PrinterResolution.java,
7174         javax/print/attribute/standard/PrinterState.java,
7175         javax/print/attribute/standard/PrinterStateReason.java,
7176         javax/print/attribute/standard/PrinterStateReasons.java,
7177         javax/print/attribute/standard/PrinterURI.java,
7178         javax/print/attribute/standard/ReferenceUriSchemesSupported.java,
7179         javax/print/attribute/standard/Severity.java,
7180         javax/print/attribute/standard/SheetCollate.java,
7181         javax/print/attribute/standard/Sides.java: New files.
7182
7183 2004-05-15  Michael Koch  <konqueror@gmx.de>
7184
7185         * javax/print/Doc.java
7186         (getPrintData): Throws IOException.
7187         (getReaderForText): Likewise.
7188         (getStreamForBytes): Likewise.
7189         * javax/print/DocFlavor.java:
7190         Fixed filename in copyright.
7191         (serialVersionUID): New field.
7192         * javax/print/ServiceUIFactory.java:
7193         Made all constants final.
7194         * javax/print/AttributeException.java
7195         javax/print/MultiDoc.java
7196         javax/print/MultiDocPrintJob.java
7197         javax/print/MultiDocPrintService.java
7198         javax/print/StreamPrintService.java
7199         javax/print/URIException.java: New files.
7200         * javax/print/Makefile.am
7201         (EXTRA_DIST): Added all new files.
7202
7203 2004-05-15  Michael Koch  <konqueror@gmx.de>
7204
7205         * javax/print/attribute/standard/Copies.java,
7206         javax/print/attribute/standard/DateTimeAtCompleted.java,
7207         javax/print/attribute/standard/DateTimeAtCreation.java,
7208         javax/print/attribute/standard/DateTimeAtProcessing.java,
7209         javax/print/attribute/standard/DocumentName.java,
7210         javax/print/attribute/standard/JobHoldUntil.java,
7211         javax/print/attribute/standard/JobImpressions.java,
7212         javax/print/attribute/standard/JobImpressionsCompleted.java,
7213         javax/print/attribute/standard/JobKOctets.java,
7214         javax/print/attribute/standard/JobKOctetsProcessed.java,
7215         javax/print/attribute/standard/JobMediaSheets.java,
7216         javax/print/attribute/standard/JobMediaSheetsCompleted.java,
7217         javax/print/attribute/standard/JobMessageFromOperator.java,
7218         javax/print/attribute/standard/JobName.java,
7219         javax/print/attribute/standard/JobOriginatingUserName.java,
7220         javax/print/attribute/standard/JobPriority.java,
7221         javax/print/attribute/standard/JobPrioritySupported.java,
7222         javax/print/attribute/standard/NumberOfDocuments.java,
7223         javax/print/attribute/standard/NumberOfInterveningJobs.java,
7224         javax/print/attribute/standard/NumberUp.java,
7225         javax/print/attribute/standard/OutputDeviceAssigned.java,
7226         javax/print/attribute/standard/PagesPerMinute.java,
7227         javax/print/attribute/standard/PagesPerMinuteColor.java:
7228         Fixed @return tag all over.
7229
7230 2004-05-15  Michael Koch  <konqueror@gmx.de>
7231
7232         * javax/print/attribute/AttributeSetUtilities.java
7233         (verifyCategoryForValue): Fixed typo in javadoc.
7234         * javax/print/attribute/HashAttributeSet.java
7235         (containsKey): Fixed @return tag.
7236         (comtainsValue): Likewise.
7237         (equals): Likewise.
7238         * javax/print/attribute/IntegerSyntax.java
7239         (equals): Likewise.
7240         * javax/print/attribute/ResolutionSyntax.java
7241         (equals): Likewise.
7242         (getCrossFeedResolution): Removed unused code.
7243         (getFeedResolution): Likewise.
7244         * javax/print/attribute/SetOfIntegerSyntax.java
7245         (SetOfIntegerSyntax): Fixed HTML entities in javadoc.
7246         (equals): Fixed @return tag.
7247         * javax/print/attribute/TextSyntax.java
7248         (TextSyntax): Take locale into account.
7249         (hashCode): Better implementation.
7250
7251 2004-05-15  Michael Koch  <konqueror@gmx.de>
7252
7253         * javax/print/CancelablePrintJob.java,
7254         javax/print/Doc.java,
7255         javax/print/DocFlavor.java,
7256         javax/print/DocPrintJob.java,
7257         javax/print/FlavorException.java,
7258         javax/print/PrintException.java,
7259         javax/print/PrintService.java,
7260         javax/print/ServiceUIFactory.java: New files.
7261
7262 2004-05-15  Mark Wielaard  <mark@klomp.org>
7263
7264         * gnu/regexp/CharIndexedReader.java: Removed.
7265         * gnu/regexp/REFilterReader.java: Likewise.
7266         * gnu/regexp/RETokenLookAhead.java: Likewise.
7267         * Makefile.am (ordinary_java_source_files): Remove above classes.
7268         * Makefile.in: Regenerated.
7269
7270 2004-05-14  Tom Tromey  <tromey@redhat.com>
7271
7272         * gnu/awt/xlib/XGraphics.java (drawImage): Use `XOffScreenImage',
7273         not `XGraphicsConfiguration.XOffScreenImage'.
7274
7275 2004-05-14  Scott Gilbertson  <scottg@mantatest.com>
7276
7277         * gnu/awt/xlib/XCanvasPeer.java (setVisible): Implement unmap.
7278
7279 2004-05-14  Steven Augart  <augart@watson.ibm.com>
7280
7281         * include/jni.h (_Jv_func): Removed.
7282         (struct JNINativeInterface): Use `void *' for reserved slots.
7283         (struct JNIInvokeInterface): Likewise.
7284
7285 2004-05-11  Michael Koch  <konqueror@gmx.de>
7286
7287         * gnu/java/net/natPlainSocketImplPosix.cc
7288         (read): Fixed typo in expression.
7289
7290 2004-05-10  Andreas Tobler  <a.tobler@schweiz.ch>
7291
7292         * testsuite/lib/libjava.exp (libjava_invoke): Add new argument
7293         ld_library_additions. Adjust all calls to libjava_invoke to match
7294         the new argument.
7295
7296         * testsuite/libjava.jni/jni.exp (gcj_jni_test_one): Pass stdc++
7297         path to cxxflagslist.
7298         Pass path of libstdc++ to libjava_invoke.
7299
7300         * testsuite/libjava.jar/jar.exp (gcj_jar_inerpret): Adjust
7301         libjava_invoke arguments.
7302
7303 2004-05-10  Ranjit Mathew  <rmathew@hotmail.com>
7304
7305         * testsuite/libjava.jacks/jacks.xfail: Update to reflect the current
7306         reality.
7307
7308 2004-05-07  Ranjit Mathew  <rmathew@gmail.com>
7309
7310         * testsuite/libjava.jni/jni.exp (gcj_jni_test_one): Don't link the
7311         main binary against the JNI shared library.
7312
7313 2004-05-07  Jerry Quinn  <jlquinn@optonline.net>
7314
7315         * java/util/SimpleTimeZone.java (startTimeMode, endTimeMode,
7316         WALL_TIME, STANDARD_TIME, UTC_TIME): New members.
7317         (SimpleTimeZone): Tweak docs.  Add new variation.
7318         (setStartRule,setEndRule): Add new variations.  Use
7319         startTimeMode and endTimeMode.
7320
7321 2004-05-07  Jerry Quinn  <jlquinn@optonline.net>
7322
7323         * java/util/Calendar.java (getActualMinimum,
7324         getActualMaximum):  Remove abstract.  Implement.
7325
7326 2004-05-06  Bryce McKinlay  <mckinlay@redhat.com>
7327
7328         Run the jni tests using the interpreter.
7329         * testsuite/libjava.jni/jni.exp (gcj_jni_compile_c_to_so): Append
7330         options_cxx to shared lib compile command.
7331         (gcj_jni_test_one): Pass cxxflags to gcj_jni_compile_c_to_so, so
7332         they are used to link the shared lib, not the main binary.
7333         Use libjava_invoke to run gij.
7334
7335 2004-05-06  Michael Koch  <konqueror@gmx.de>
7336
7337         * java/util/logging/Level.java
7338         (parse): Use == instead of String.equals().
7339
7340 2004-05-06  Bryce McKinlay  <mckinlay@redhat.com>
7341
7342         * defineclass.cc (_Jv_ClassReader::prepare_pool_entry): Use 
7343         verify_field_signature and verify_method_signature, not 
7344         _Jv_VerifyFieldSignature and _Jv_VerifyMethodSigntature.
7345         (_Jv_ClassReader::handleField): Likewise.
7346         (_Jv_ClassReader::handleMethod): Likewise.
7347
7348 2004-05-06  Michael Koch  <konqueror@gmx.de>
7349
7350         * javax/swing/table/TableColumn.java:
7351         Reformated.
7352
7353 2004-05-06  Michael Koch  <konqueror@gmx.de>
7354
7355         * javax/imageio/spi/ImageReaderWriterSpi.java
7356         (ImageReaderWriterSpi): Made it public.
7357         * javax/imageio/stream/ImageInputStream.java:
7358         Clean up imports.
7359
7360 2004-05-06  Michael Koch  <konqueror@gmx.de>
7361
7362         * jni/gtk-peer/gnu_java_awt_peer_gtk_GtkComponentPeer.c:
7363         Removed empty line.
7364
7365 2004-05-06  Michael Koch  <konqueror@gmx.de>
7366
7367         * jni/gtk-peer/gnu_java_awt_peer_gtk_GtkCheckboxGroupPeer.c,
7368         jni/gtk-peer/gnu_java_awt_peer_gtk_GtkGenericPeer.c:
7369         New files.
7370         * jni/gtk-peer/gnu_java_awt_peer_gtk_GtkCheckboxMenuItemPeer.c:
7371         Include gnu_java_awt_peer_gtk_GtkCheckboxMenuItemPeer.h.
7372         * jni/gtk-peer/gnu_java_awt_peer_gtk_GtkCheckboxPeer.c:
7373         Moved GtkCheckboxGroupPeer_dispose and GtkCheckboxGroupPeer_remove to
7374         their own source file.
7375         * jni/gtk-peer/gnu_java_awt_peer_gtk_GtkComponentPeer.c:
7376         Moved GtkGenericPeer_dispose and GtkComponentPeer_requestFocus to
7377         their own source file. Removed GtkComponentPeer_gtkWidgetSetUsize.
7378         * jni/gtk-peer/gnu_java_awt_peer_gtk_GtkMenuPeer.c
7379         (create): Define variable on top of function.
7380         * jni/gtk-peer/gnu_java_awt_peer_gtk_GtkPopupMenuPeer.c
7381         (menu_pos): Prototyped.
7382         * jni/gtk-peer/gnu_java_awt_peer_gtk_GtkWindowPeer.c
7383         (setTitle): Removed.
7384         * jni/gtk-peer/gthread-jni.c
7385         (gdk_threads_wake): Removed.
7386         * Makefile.am (gtk_c_source_files): Added new files
7387         jni/gtk-peer/gnu_java_awt_peer_gtk_GtkCheckboxGroupPeer.c and
7388         jni/gtk-peer/gnu_java_awt_peer_gtk_GtkGenericPeer.c.
7389         * Makefile.in: Regenerated.
7390
7391 2004-05-05  Bryce McKinlay  <mckinlay@redhat.com>
7392
7393         * testsuite/libjava.jni/pr11951.java: Add missing System.loadLibrary()
7394         call.
7395
7396 2004-05-05  Mark Wielaard  <mark@klomp.org>
7397
7398         * javax/swing/AbstractButton.java: Replace special HTML entities with
7399         ASCII equivalent.
7400         * javax/swing/DefaultBoundedRangeModel.java: Likewise.
7401         * javax/swing/DefaultButtonModel.java: Likewise.
7402         * javax/swing/DefaultListModel.java: Likewise.
7403         * javax/swing/JList.java: Likewise.
7404         * javax/swing/JSlider.java: Likewise.
7405         * javax/swing/ListModel.java: Likewise.
7406         * javax/swing/Popup.java: Likewise.
7407         * javax/swing/SwingUtilities.java: Likewise.
7408
7409 2004-05-05  Michael Koch  <konqueror@gmx.de>
7410
7411         * javax/swing/AbstractButton.java,
7412         javax/swing/ActionMap.java,
7413         javax/swing/DefaultButtonModel.java,
7414         javax/swing/DefaultListModel.java,
7415         javax/swing/ImageIcon.java,
7416         javax/swing/JComboBox.java,
7417         javax/swing/JComponent.java,
7418         javax/swing/JFrame.java,
7419         javax/swing/JInternalFrame.java,
7420         javax/swing/JMenuBar.java,
7421         javax/swing/JMenuItem.java,
7422         javax/swing/JOptionPane.java,
7423         javax/swing/JProgressBar.java,
7424         javax/swing/JRootPane.java,
7425         javax/swing/JScrollBar.java,
7426         javax/swing/JScrollPane.java,
7427         javax/swing/JSeparator.java,
7428         javax/swing/JSlider.java,
7429         javax/swing/JTabbedPane.java,
7430         javax/swing/JTable.java,
7431         javax/swing/JTextField.java,
7432         javax/swing/JToolBar.java,
7433         javax/swing/JToolTip.java,
7434         javax/swing/JTree.java,
7435         javax/swing/JViewport.java,
7436         javax/swing/JWindow.java,
7437         javax/swing/KeyStroke.java,
7438         javax/swing/LookAndFeel.java,
7439         javax/swing/SwingUtilities.java,
7440         javax/swing/Timer.java,
7441         javax/swing/ToolTipManager.java,
7442         javax/swing/UIDefaults.java,
7443         javax/swing/border/TitledBorder.java,
7444         javax/swing/filechooser/FileSystemView.java,
7445         javax/swing/plaf/basic/BasicButtonListener.java,
7446         javax/swing/plaf/basic/BasicButtonUI.java,
7447         javax/swing/plaf/basic/BasicCheckBoxMenuItemUI.java,
7448         javax/swing/plaf/basic/BasicGraphicsUtils.java,
7449         javax/swing/plaf/basic/BasicLabelUI.java,
7450         javax/swing/plaf/basic/BasicMenuItemUI.java,
7451         javax/swing/plaf/basic/BasicRadioButtonMenuItemUI.java,
7452         javax/swing/plaf/basic/BasicRootPaneUI.java,
7453         javax/swing/plaf/basic/BasicScrollBarUI.java,
7454         javax/swing/plaf/basic/BasicScrollPaneUI.java,
7455         javax/swing/plaf/basic/BasicSliderUI.java,
7456         javax/swing/plaf/basic/BasicTabbedPaneUI.java,
7457         javax/swing/plaf/basic/BasicToggleButtonUI.java,
7458         javax/swing/table/JTableHeader.java,
7459         javax/swing/text/AbstractDocument.java,
7460         javax/swing/text/DefaultCaret.java,
7461         javax/swing/text/StyledEditorKit.java,
7462         javax/swing/tree/DefaultTreeCellEditor.java:
7463         Cleaned up imports.
7464
7465 2004-05-05  Michael Koch  <konqueror@gmx.de>
7466
7467         * java/util/prefs/AbstractPreferences.java
7468         (AbstractPreferences): Added parenthesis for clarity.
7469         Closes classpath bug #7940.
7470
7471 2004-05-05  Tom Tromey  <tromey@redhat.com>
7472
7473         * javax/naming/CompoundName.java (endsWith): Look at correct
7474         element of source name.
7475
7476 2004-05-05  Mark Wielaard  <mark@klomp.org>
7477
7478         Reported by f.haeglsperger@gmx.de [classpath patch #2485]
7479         * java/util/HashMap.java (rehash): Add entry at start of bucket.
7480
7481 2004-05-05  Tom Tromey  <tromey@redhat.com>
7482
7483         * java/io/BufferedReader.java (skip): Removed unused
7484         variable.
7485
7486 2004-05-05  Michael Koch  <konqueror@gmx.de>
7487
7488         * java/awt/FileDialog.java: Import java.io.Serializable explicitly.
7489
7490 2004-05-05  Dalibor Topic  <robilad@kaffe.org>
7491
7492         * java/text/AttributedString.java,
7493         java/text/AttributedStringIterator.java,
7494         java/text/Collator.java,
7495         java/text/DecimalFormatSymbols.java,
7496         java/text/NumberFormat.java,
7497         java/text/RuleBasedCollator.java:
7498         Cleaned up imports.
7499
7500 2004-05-05  Tom Tromey  <tromey@redhat.com>
7501
7502         * java/text/Format.java: Cleaned up imports.
7503         * java/text/DecimalFormat.java: Cleaned up imports.
7504         * java/security/SecureRandom.java: Cleaned up imports.
7505         (SecureRandom): Removed unused variable.
7506         * java/security/UnresolvedPermission.java: Cleaned up imports.
7507         * java/util/Date.java (parse): Removed unused variable.
7508         * java/util/ResourceBundle.java: Cleaned up imports.
7509         (getBundle): Removed unused variable.
7510         (tryBundle): Likewise.
7511         * java/util/regex/Pattern.java (Pattern): Removed unused constructor.
7512
7513 2004-05-05  Guilhem Lavaux <guilhem@kaffe.org>
7514
7515         * java/text/SimpleDateFormat.java:
7516         (formatWithAttribute): New method. It implements
7517         the formatting process with attributes.
7518         (format): Use formatWithAttribute.
7519         (formatToCharacterIterator): New method. Use
7520         formatWithAttribute.
7521
7522 2004-05-05  Guilhem Lavaux <guilhem@kaffe.org>
7523
7524         * java/text/MessageFormat.java:
7525         (class Field): New class.
7526         (formatToCharacterIterator): New method.
7527         (format): Use formatInternal now.
7528         (formatInternal): New method. String formatter should
7529         be done here (with attributes). Attributes merging supported.
7530         (parse): More documentation.
7531         (getFormatsByArgumentIndex): New method.
7532         (setFormatByArgumentIndex): New method.
7533         (setFormatsByArgumentIndex): New method.
7534
7535 2004-05-05  Guilhem Lavaux <guilhem@kaffe.org>
7536
7537         * java/text/DecimalFormat.java
7538         (MAXIMUM_INTEGER_DIGITS): New constant to keep the numeric value 309.
7539         (applyPatternWithSymbols): Use MAXIMUM_INTEGER_DIGITS.
7540         (parse): Fixed handling of exponentiation notation and grouping.
7541
7542 2004-05-05  Guilhem Lavaux <guilhem@kaffe.org>
7543
7544         * java/text/DecimalFormat.java
7545         (scanFix): Build attribute array. Fixed error reporting.
7546         (applyPatternWithSymbols): Store attributes for the prefix and
7547         suffix.
7548         (formatInternal): New method. Changed the way the string is
7549         computed. Implemented attributes. Cleant up rounding in
7550         exponential notation.
7551         (format): Use formatInternal.
7552         (formatToCharacterIterator): New method.
7553         (exponentRound, negativePrefixRanges, positivePrefixRanges,
7554         negativePrefixAttrs, positivePrefixAttrs, negativeSuffixRanges,
7555         positiveSuffixRanges, negativeSuffixAttrs, positiveSuffixAttrs):
7556         New fields.
7557
7558 2004-05-04  Dalibor Topic  <robilad@kaffe.org>
7559
7560         * java/security/interfaces/DSAKeyPairGenerator.java,
7561         java/security/interfaces/DSAPrivateKey.java,
7562         java/security/interfaces/DSAPublicKey.java,
7563         java/security/interfaces/RSAPrivateKey.java,
7564         java/security/interfaces/RSAPublicKey.java:
7565         Cleaned up imports.
7566
7567 2004-05-04  Michael Koch  <konqueror@gmx.de>
7568
7569         * java/nio/ByteBuffer.java,
7570         java/nio/CharBuffer.java,
7571         java/nio/DoubleBuffer.java,
7572         java/nio/FloatBuffer.java,
7573         java/nio/IntBuffer.java,
7574         java/nio/LongBuffer.java,
7575         java/nio/ShortBuffer.java:
7576         (compareTo): Fixed bogus implementation in all buffer classes.
7577
7578 2004-05-04  Ingo Proetel  <proetel@aicas.com>
7579
7580         * java/awt/image/ColorModel.java (getRGBdefault): Default ColorModel has
7581         32 bit pixels not 8 bit pixels.
7582         (isCompatibleRaster): Added javadoc comment.
7583
7584 2004-05-04  Ingo Proetel  <proetel@aicas.com>
7585
7586         * java/awt/image/ComponentSampleModel.java (setDataSamples):Do not reset
7587         scanline stride.
7588
7589 2004-05-04  Ingo Proetel  <proetel@aicas.com>
7590
7591         * java/awt/ColorPaintContext.java (<init>): Added ColorModel to signature.
7592         (getColorModel): Return the actual color model.
7593         (getRaster): Implemented.
7594         (ColorRaster): New inner class.
7595         * java/awt/SystemColor.java (createContext): Use ColorModel when creating
7596         a PaintContext.
7597         * java/awt/Color.java (<init>): Make exception more verbose.
7598         (createContext): Use ColorModel when creating a PaintContext.
7599
7600 2004-05-04  Michael Koch  <konqueror@gmx.de>
7601
7602         * gnu/java/text/CharacterBreakIterator.java
7603         (previous): Removed unused variable.
7604
7605 2004-05-04  Guilhem Lavaux <guilhem@kaffe.org>
7606
7607         * gnu/java/text/FormatBuffer.java,
7608         gnu/java/text/AttributedFormatBuffer.java,
7609         gnu/java/text/StringFormatBuffer.java: New classes to implement
7610         attributed iterators in java.text.
7611         * gnu/java/text/FormatCharacterIterator.java: Moved 
7612         from java/text as it is an internal class.
7613         * java/text/FormatCharacterIterator.java: Removed.
7614         * java/text/Format.java:
7615         Import gnu.java.text.FormatCharacterIterator.
7616         * Makefile.am (java_source_files): Added new files.
7617         * Makefile.in: Regenerated.
7618         
7619
7620 2004-05-04  Mark Wielaard  <mark@klomp.org>
7621
7622         * gnu/java/nio/channels/FileChannelImpl.java (finalize): New method.
7623
7624 2004-05-03  Andreas Tobler  <a.tobler@schweiz.ch>
7625
7626         * Makefile.am (WARNINGS): Replace -W with the more speaking -Wextra.
7627         * Makefile.in: Rebuilt.
7628
7629 2004-05-03  Mark Wielaard  <mark@klomp.org>
7630
7631         * gnu/java/security/der/DERReader.java: Call static methods staticly.
7632         * java/awt/TextComponent.java (select): Use selectionEnd parameter.
7633         * java/net/URL.java
7634         (set(String, String, int, String, String, String, String, String)):
7635         Assign this.file to path or path + "?" + query.
7636         * java/util/Arrays.java: Call static methods staticly.
7637         * java/util/zip/ZipEntry.java: Likewise.
7638         * javax/swing/plaf/basic/BasicArrowButton.java (setDirection): Assign
7639         dir to this.direction.
7640         * javax/swing/table/DefaultTableCellRenderer.java (noFocusBorder):
7641         Assign static field only once.
7642         (DefaultTableCellRenderer): Don't reassign noFocusBorder each time.
7643
7644 2004-05-03  Mark Wielaard  <mark@klomp.org>
7645
7646         * gnu/java/awt/peer/gtk/GtkTextAreaPeer.java (minimumSize): Removed
7647         unused variables hScrollbarHeight and vScrollbarWidth.
7648         (preferredSize): Likewise.
7649         * gnu/java/security/provider/DSAParameters.java (engineToString):
7650         Removed unused call to System.getProperty("line.seperator");
7651         * java/security/Security.java (loadProviders): Return result.
7652
7653 2004-05-03  Tom Tromey  <tromey@redhat.com>
7654
7655         * java/net/URLStreamHandler.java (toExternalForm): Removed
7656         unused variables.
7657         unused constructor.
7658         * java/math/BigDecimal.java (divide): Removed unused variable.
7659         * java/lang/Throwable.java: Cleaned up imports.
7660         * java/lang/ClassLoader.java: Cleaned up imports.
7661         * java/io/FilePermission.java (implies): Removed unused
7662         variable.
7663         * java/awt/TextComponent.java: Removed unused import.
7664         * gnu/java/util/prefs/NodeReader.java: Cleaned up imports.
7665         * gnu/java/util/DoubleEnumeration.java: Removed unused import.
7666         * gnu/java/text/WordBreakIterator.java: Removed unused import.
7667         * gnu/java/text/SentenceBreakIterator.java: Removed unused
7668         import.
7669         * gnu/java/text/LineBreakIterator.java: Removed unused import.
7670         * gnu/java/text/CharacterBreakIterator.java: Removed
7671         unused import.
7672         * gnu/java/security/provider/DSAKeyPairGenerator.java:
7673         Cleaned up imports.
7674         * gnu/java/security/der/DERWriter.java: Cleaned up imports.
7675         * gnu/java/nio/charset/UTF_16Decoder.java (put): Removed
7676         unused method.
7677         * gnu/java/nio/SocketChannelImpl.java: Cleaned up imports.
7678         * gnu/java/nio/FileLockImpl.java: Cleaned up imports.
7679         * gnu/java/io/Base64InputStream.java: Cleaned up imports.
7680         * gnu/java/beans/info/ComponentBeanInfo.java: Cleaned up imports.
7681         * gnu/classpath/ServiceFactory.java: Cleaned up imports.
7682         (lookupProviders): Removed unused variable.
7683         (loadNextServiceProvider): Likewise.
7684         * gnu/java/beans/BeanInfoEmbryo.java: Cleaned up imports.
7685
7686 2004-05-03  Michael Koch  <konqueror@gmx.de>
7687
7688         Fixes PR libgcj/14695:
7689         * java/net/NetworkInterface.java
7690         (getByName): Return null when no interface was found.
7691
7692 2004-04-30  Ranjit Mathew  <rmathew@hotmail.com>
7693             Tom Tromey  <tromey@redhat.com>
7694
7695         * testsuite/libjava.jni/jni.exp (gcj_jni_compile_c_to_so): Use
7696         additional option "-Wmissing-prototypes" for compiling C sources.
7697         Print actual filename for pass/fail rather than $name.c.
7698         * testsuite/libjava.jni/PR15133.java: New testcase file.
7699         * testsuite/libjava.jni/PR15133.c: Likewise.
7700         * testsuite/libjava.jni/PR15133.out: Likewise.
7701
7702 2004-04-30  Roger Sayle  <roger@eyesopen.com>
7703
7704         * testsuite/libjava.lang/MathBuiltin.java: Add tests for acos, asin,
7705         ceil and floor.
7706
7707 2004-04-25  Ranjit Mathew  <rmathew@hotmail.com>
7708         
7709         * testsuite/libjava.jacks/jacks.exp (gcj_jacks_write): Explicitly
7710         limit the maximum heap size to avoid unnecessary thrashing.
7711
7712 2004-04-24  Jerry Quinn  <jlquinn@optonline.net>
7713
7714         * java/text/CollationElementIterator.java (reset): Reset
7715         lookahead variables.
7716
7717 2004-04-23  Mark Wielaard  <mark@klomp.org>
7718
7719         * jni/classpath/jcl.c: Changed C++ comments into C comments.
7720
7721 2004-04-23 Dalibor Topic <robilad@kaffe.org>
7722
7723         * java/sql/DriverManager.java:
7724         Cleaned up imports.
7725
7726 2004-04-23  Michael Koch  <konqueror@gmx.de>
7727
7728         * java/net/URL.java
7729         (hashcode): Don't initialize with default value explicitely.
7730         (getContent): Removed redundant "final" keyword.
7731         (openStream): Likewise.
7732         (getURLStreamHandler): Fixed coding style.
7733         * java/net/URLConnection.java
7734         (defaultAllowUserInteraction): Don't initialize with default value
7735         explicitely.
7736         (connected): Likewise.
7737         (doOutput): Likewise.
7738         (ifModifiedSince): Likewise.
7739         (dateformats_initialized): Likewise.
7740         (setURLStreamHander): Use StreamTokenizer where it belongs to.
7741
7742 2004-04-23  Michael Koch  <konqueror@gmx.de>
7743
7744         * gnu/java/nio/channels/FileChannelImpl.java
7745         (SET, CUR): Unused, removed.
7746         (read): Implement here directly.
7747         (implRead): Removed.
7748         (write): Implement here directly.
7749         (implWrite): Removed.
7750
7751 2004-04-23  Dalibor Topic  <robilad@kaffe.org>
7752
7753         * javax/rmi/CORBA/PortableRemoteObjectDelegate.java,
7754         javax/rmi/CORBA/Stub.java,
7755         javax/rmi/CORBA/Util.java,
7756         javax/rmi/CORBA/ValueHandler.java,
7757         javax/rmi/CORBA/ValueHandler.java,
7758         javax/rmi/PortableRemoteObject.java:
7759         Cleaned up imports.
7760
7761 2004-04-23 Dalibor Topic <robilad@kaffe.org>
7762
7763         * java/util/jar/JarFile.java,
7764         java/util/jar/JarInputStream.java,
7765         java/util/jar/JarOutputStream.java,
7766         java/util/jar/Manifest.java:
7767         Cleaned up imports.
7768
7769 2004-04-23 Dalibor Topic <robilad@kaffe.org>
7770
7771         * java/util/ArrayList.java,
7772         java/util/Calendar.java,
7773         java/util/Currency.java,
7774         java/util/HashMap.java,
7775         java/util/HashSet.java,
7776         java/util/Hashtable.java,
7777         java/util/LinkedList.java,
7778         java/util/Properties.java,
7779         java/util/PropertyPermission.java,
7780         java/util/TimeZone.java,
7781         java/util/TreeMap.java,
7782         java/util/TreeSet.java,
7783         java/util/Vector.java,
7784         java/util/WeakHashMap.java:
7785         Cleaned up imports.
7786
7787 2004-04-23  Dalibor Topic  <robilad@kaffe.org>
7788
7789         * java/util/logging/FileHandler.java,
7790         java/util/logging/Formatter.java,
7791         java/util/logging/Handler.java,
7792         java/util/logging/Logger.java,
7793         java/util/logging/SimpleFormatter.java,
7794         java/util/logging/XMLFormatter.java:
7795         Cleaned up imports.
7796
7797 2004-04-22  Mark Wielaard  <mark@klomp.org>
7798
7799         * Makefile.am (PEDANTIC_CFLAGS): New -ansi -pedantic -Wall
7800         -Wno-long-long flags variable.
7801         (gtk_c_files): Use PEDANTIC_CFLAGS.
7802         * Makefile.in: Regenerated.
7803
7804 2004-04-22  Mark Wielaard  <mark@klomp.org>
7805
7806         * native/jni/gtk-peer/gnu_java_awt_peer_gtk_GtkComponentPeer.c:
7807         Changed C++ comments into C comments.
7808         * native/jni/gtk-peer/gnu_java_awt_peer_gtk_GtkMenuPeer.c:
7809         Likewise.
7810
7811 2004-04-22  Michael Koch  <konqueror@gmx.de>
7812
7813         * jni/gtk-peer/gnu_java_awt_peer_gtk_GtkPopupMenuPeer.c:
7814         Merged copyright year with GNU classpath.
7815
7816 2004-04-22  Dalibor Topic  <robilad@kaffe.org>
7817
7818         * javax/security/auth/x500/X500Principal.java:
7819         Cleaned up imports.
7820
7821 2004-04-22  Dalibor Topic  <robilad@kaffe.org>
7822
7823         * javax/swing/JSlider.java:
7824         Fixed HTML tags in comments.
7825
7826 2004-04-22  Dalibor Topic  <robilad@kaffe.org>
7827
7828         * javax/accessibility/AccessibleText.java:
7829         Cleaned up imports.
7830
7831 2004-04-22  Jeroen Frijters <jeroen@sumatra.nl>
7832
7833         * java/net/URLStreamHandler.java
7834         (parseURL): Convert the file path to using '/' instead of native
7835         file separator.
7836
7837 2004-04-22  Guilhem Lavaux <guilhem@kaffe.org>
7838
7839         * java/net/URL.java
7840         (userInfo): New field.
7841         (URL): Set authority to the right value.
7842         (setURL): Fixed authority and file initialization.
7843         * java/net/URLStreamHandler.java
7844         (parseURL): Take care of the query tag. Build authority.
7845         (toExternalForm): Fixed URL building using authority.
7846
7847 2004-04-22  Michael Koch  <konqueror@gmx.de>
7848
7849         * java/net/Socket.java
7850         (impl): Made package-private.
7851         * java/net/ServerSocket.java
7852         (implAccept): Access Socket.impl field directly.
7853
7854 2004-04-22  Dalibor Topic  <robilad@kaffe.org>
7855
7856         * java/util/prefs/Preferences.java,
7857         java/util/prefs/InvalidPreferencesFormatException.java,
7858         java/util/prefs/BackingStoreException.java,
7859         java/util/prefs/AbstractPreferences.java:
7860         Cleaned up imports.
7861
7862 2004-04-22  Dalibor Topic  <robilad@kaffe.org>
7863
7864         * java/util/regex/Matcher.java,
7865         java/util/regex/Pattern.java:
7866         Cleaned up imports.
7867
7868 2004-04-22  Michael Koch  <konqueror@gmx.de>
7869
7870         * java/nio/charset/IllegalCharsetNameException.java
7871         (charsetName): Made private.
7872         (IllegalCharsetNameException): Added @param tag to javadoc.
7873         (getCharsetName): Added @return tag to javadoc.
7874         * java/nio/charset/MalformedInputException.java
7875         (MalformedInputException): Added @param tag to javadoc.
7876         (getInputLength): Revised method description, added @return tag.
7877         (getMessage): Added @return tag.
7878
7879 2004-04-22  Jerry Quinn  <jlquinn@optonline.net>
7880
7881         * java/awt/Font.java (deriveFont): Implement missing variants.
7882         * gnu/java/awt/peer/ClasspathFontPeer.java (deriveFont): Implement
7883         missing variants.
7884
7885 2004-04-21  Bryce McKinlay  <mckinlay@redhat.com>
7886
7887         * java/lang/natClass.cc (_Jv_LayoutInterfaceMethods): New method.
7888         Set method->index values for interface methods to their itable index.
7889         (initializeClass): Call _Jv_LayoutInterfaceMethods.
7890
7891 2004-04-21  Michael Koch  <konqueror@gmx.de>
7892
7893         * java/nio/DirectByteBufferImpl.java
7894         (shiftDown): Made static, give address as argument and
7895         provide a convenience method that overwrites shiftDown in
7896         ByteBufferImpl and calls the native shiftDown.
7897         * java/nio/MappedByteBufferImpl.java
7898         (): Use optimized method in DirectByteBufferImpl.
7899         * java/nio/natDirectByteBufferImpl.cc
7900         (shiftDown): Changed method signature. Removed usage of array_offset.
7901
7902 2004-04-21  Michael Koch  <konqueror@gmx.de>
7903
7904         * gnu/java/net/natPlainSocketImplPosix.cc
7905         (SocketInputStream::read): Make sure returned data is a byte value.
7906
7907 2004-04-21  Michael Koch  <konqueror@gmx.de>
7908
7909         * gnu/classpath/ServiceFactory.java,
7910         gnu/classpath/ServiceProviderLoadingAction.java,
7911         javax/imageio/ImageReader.java,
7912         javax/imageio/ImageTranscoder.java,
7913         javax/imageio/ImageWriter.java,
7914         javax/imageio/package.html,
7915         javax/imageio/spi/IIOServiceProvider.java,
7916         javax/imageio/spi/ImageInputStreamSpi.java,
7917         javax/imageio/spi/ImageOutputStreamSpi.java,
7918         javax/imageio/spi/ImageReaderWriterSpi.java,
7919         javax/imageio/spi/ImageTranscoderSpi.java,
7920         javax/imageio/spi/RegisterableService.java,
7921         javax/imageio/spi/ServiceRegistry.java,
7922         javax/imageio/spi/package.html,
7923         javax/imageio/stream/IIOByteBuffer.java,
7924         javax/imageio/stream/ImageInputStream.java,
7925         javax/imageio/stream/ImageOutputStream.java,
7926         javax/imageio/stream/package.html:
7927         New files.
7928         * Makefile.am
7929         (ordinary_java_source_files): Added
7930         gnu/classpath/ServiceFactory.java and
7931         gnu/classpath/ServiceProviderLoadingAction.java.
7932         (javax_source_files): Added
7933         javax/imageio/ImageReader.java,
7934         javax/imageio/ImageTranscoder.java,
7935         javax/imageio/ImageWriter.java,
7936         javax/imageio/spi/IIOServiceProvider.java,
7937         javax/imageio/spi/ImageInputStreamSpi.java,
7938         javax/imageio/spi/ImageOutputStreamSpi.java,
7939         javax/imageio/spi/ImageReaderWriterSpi.java,
7940         javax/imageio/spi/ImageTranscoderSpi.java,
7941         javax/imageio/spi/RegisterableService.java,
7942         javax/imageio/spi/ServiceRegistry.java,
7943         javax/imageio/stream/IIOByteBuffer.java,
7944         javax/imageio/stream/ImageInputStream.java and
7945         javax/imageio/stream/ImageOutputStream.java.
7946         * Makefile.in: Regenerated.
7947
7948 2004-04-21  Michael Koch  <konqueror@gmx.de>
7949
7950         * java/util/Properties.java
7951         (load): Fix wrongly merged fix.
7952
7953 2004-04-21  Mark Wielaard  <mark@klomp.org>
7954
7955         * native/jni/gtk-peer/gthread-jni.c (maybe_rethrow): Explicitly
7956         malloc and free buf.
7957
7958 2004-04-21  Dalibor Topic  <robilad@kaffe.org>
7959
7960         * javax/naming/AuthenticationException.java,
7961         javax/naming/AuthenticationNotSupportedException.java,
7962         javax/naming/CannotProceedException.java,
7963         javax/naming/CommunicationException.java,
7964         javax/naming/CompoundName.java,
7965         javax/naming/ConfigurationException.java,
7966         javax/naming/ContextNotEmptyException.java,
7967         javax/naming/InitialContext.java,
7968         javax/naming/InsufficientResourcesException.java,
7969         javax/naming/InterruptedNamingException.java,
7970         javax/naming/LimitExceededException.java,
7971         javax/naming/LinkException.java,
7972         javax/naming/LinkLoopException.java,
7973         javax/naming/LinkRef.java,
7974         javax/naming/MalformedLinkException.java,
7975         javax/naming/Name.java,
7976         javax/naming/NameAlreadyBoundException.java,
7977         javax/naming/NameNotFoundException.java,
7978         javax/naming/NamingSecurityException.java,
7979         javax/naming/NoInitialContextException.java,
7980         javax/naming/NoPermissionException.java,
7981         javax/naming/NotContextException.java,
7982         javax/naming/PartialResultException.java,
7983         javax/naming/ReferralException.java,
7984         javax/naming/ServiceUnavailableException.java,
7985         javax/naming/SizeLimitExceededException.java,
7986         javax/naming/TimeLimitExceededException.java,
7987         javax/naming/directory/Attribute.java,
7988         javax/naming/directory/Attributes.java,
7989         javax/naming/directory/SearchResult.java,
7990         javax/naming/event/NamingExceptionEvent.java,
7991         javax/naming/spi/ResolveResult.java:
7992         Cleaned up imports.
7993
7994 2004-04-21  Mark Wielaard  <mark@klomp.org>
7995
7996         * native/jni/gtk-peer/gnu_java_awt_peer_gtk_GtkCheckboxPeer.c:
7997         Changed C++ comments into C comments. Removed commented out code.
7998         * native/jni/gtk-peer/gnu_java_awt_peer_gtk_GtkComponentPeer.c:
7999         Likewise.
8000         * native/jni/gtk-peer/gnu_java_awt_peer_gtk_GtkEvents.c:
8001         Likewise.
8002         * native/jni/gtk-peer/gnu_java_awt_peer_gtk_GtkFileDialogPeer.c:
8003         Likewise.
8004         * native/jni/gtk-peer/gnu_java_awt_peer_gtk_GtkListPeer.c:
8005         Likewise.
8006         * native/jni/gtk-peer/gnu_java_awt_peer_gtk_GtkTextComponentPeer.c:
8007         Likewise.
8008         * native/jni/gtk-peer/gthread-jni.c:
8009         Likewise.
8010
8011 2004-04-21  Mark Wielaard  <mark@klomp.org>
8012
8013         * javax/awt/JFrame.java: Implement WindowConstants. Remove final
8014         static fields defined in interface.
8015         * javax/awt/JDialog.java: Likewise.
8016         (JDialog): Make constructors public.
8017         (getDefaultCloseOperation): Make public.
8018         (processWindowEvent): Call System.exit(0) when EXIT_ON_CLOSE set.
8019         (setDefaultCloseOperation): Make public. Check argument. Add API doc.
8020         * javax/swing/JViewport.java (JViewport): Make constructor public.
8021
8022 2004-04-21  Michael Koch  <konqueror@gmx.de>
8023
8024         * java/util/Map.java
8025         (Entry): Removed redundant "static" modifier.
8026         * java/text/AttributedCharacterIterator.java:
8027         Updated copyright year.
8028
8029 2004-04-20  Michael Koch  <konqueror@gmx.de>
8030
8031         * javax/naming/directory/SearchControls.java:
8032         Don't explicitely extend java.lang.Object.
8033         * javax/naming/spi/DirStateFactory.java:
8034         Merged copyright year with GNU classpath.
8035
8036 2004-04-20  Michael Koch  <konqueror@gmx.de>
8037
8038         * java/nio/channels/Channels.java:
8039         Merged coding style with GNU classpath.
8040
8041 2004-04-20  Michael Koch  <konqueror@gmx.de>
8042
8043         * java/net/ServerSocket.java
8044         Merged coding style from GNU classpath.
8045
8046 2004-04-20  Michael Koch  <konqueror@gmx.de>
8047
8048         * java/io/BufferedWriter.java:
8049         Reordered variables to be at top of the class.
8050         (localFlush): Removed redundant final keyword.
8051
8052 2004-04-20  Ingo Proetel  <proetel@aicas.com>
8053
8054         * java/awt/event/MouseEvent.java (<init>): fixed field assignment 
8055
8056 2004-04-20  Jeroen Frijters  <jeroen@frijters.net>
8057
8058         * java/text/DecimalFormat.java (scanFix): Removed suffix check
8059         for percent and permill check.
8060
8061 2004-04-20  Guilhem Lavaux <guilhem@kaffe.org>
8062
8063         * java/text/FieldPosition.java
8064         (FieldPosition) Constructor now behaves as it should according
8065         to the java documentation.
8066
8067 2004-04-20  Mark Wielaard  <mark@klomp.org>
8068
8069         * java/util/Properties.java: Use the word umlaut, not &auml; in api
8070         documentation.
8071
8072 2004-04-20  Michael Koch  <konqueror@gmx.de>
8073
8074         * java/nio/Buffer.java,
8075         java/nio/channels/AlreadyConnectedException.java,
8076         java/nio/channels/AsynchronousCloseException.java,
8077         java/nio/channels/ByteChannel.java,
8078         java/nio/channels/CancelledKeyException.java,
8079         java/nio/channels/Channel.java,
8080         java/nio/channels/Channels.java,
8081         java/nio/channels/ClosedByInterruptException.java,
8082         java/nio/channels/ClosedChannelException.java,
8083         java/nio/channels/ClosedSelectorException.java,
8084         java/nio/channels/ConnectionPendingException.java,
8085         java/nio/channels/DatagramChannel.java,
8086         java/nio/channels/FileChannel.java,
8087         java/nio/channels/FileLock.java,
8088         java/nio/channels/FileLockInterruptionException.java,
8089         java/nio/channels/GatheringByteChannel.java,
8090         java/nio/channels/IllegalBlockingModeException.java,
8091         java/nio/channels/IllegalSelectorException.java,
8092         java/nio/channels/InterruptibleChannel.java,
8093         java/nio/channels/NoConnectionPendingException.java,
8094         java/nio/channels/NonReadableChannelException.java,
8095         java/nio/channels/NonWritableChannelException.java,
8096         java/nio/channels/NotYetBoundException.java,
8097         java/nio/channels/NotYetConnectedException.java,
8098         java/nio/channels/OverlappingFileLockException.java,
8099         java/nio/channels/Pipe.java,
8100         java/nio/channels/ReadableByteChannel.java,
8101         java/nio/channels/ScatteringByteChannel.java,
8102         java/nio/channels/SelectableChannel.java,
8103         java/nio/channels/SelectionKey.java,
8104         java/nio/channels/Selector.java,
8105         java/nio/channels/ServerSocketChannel.java,
8106         java/nio/channels/SocketChannel.java,
8107         java/nio/channels/UnresolvedAddressException.java,
8108         java/nio/channels/UnsupportedAddressTypeException.java,
8109         java/nio/channels/WritableByteChannel.java,
8110         java/nio/channels/spi/AbstractInterruptibleChannel.java,
8111         java/nio/channels/spi/AbstractSelectableChannel.java,
8112         java/nio/channels/spi/AbstractSelectionKey.java,
8113         java/nio/channels/spi/AbstractSelector.java,
8114         java/nio/channels/spi/SelectorProvider.java,
8115         java/nio/charset/spi/CharsetProvider.java:
8116         Fixed javadocs and jalopied all over java.nio.
8117
8118 2004-04-20  Michael Koch  <konqueror@gmx.de>
8119
8120         * java/nio/ByteBufferImpl.java,
8121         java/nio/CharBufferImpl.java,
8122         java/nio/DirectByteBufferImpl.java,
8123         java/nio/DoubleBufferImpl.java,
8124         java/nio/DoubleViewBufferImpl.java,
8125         java/nio/FloatBufferImpl.java,
8126         java/nio/FloatViewBufferImpl.java,
8127         java/nio/IntBufferImpl.java,
8128         java/nio/IntViewBufferImpl.java,
8129         java/nio/LongBufferImpl.java,
8130         java/nio/LongViewBufferImpl.java,
8131         java/nio/MappedByteBufferImpl.java,
8132         java/nio/ShortBufferImpl.java,
8133         java/nio/ShortViewBufferImpl.java:
8134         Made sure all classes are final and removed final keyword from all
8135         methods.
8136
8137 2004-04-20  Michael Koch  <konqueror@gmx.de>
8138
8139         * java/rmi/MarshalledObject.java,
8140         java/rmi/Naming.java,
8141         java/rmi/RemoteException.java,
8142         java/rmi/activation/ActivationException.java,
8143         java/rmi/server/ServerCloneException.java,
8144         java/security/AccessController.java,
8145         java/security/AlgorithmParameterGenerator.java,
8146         java/security/AlgorithmParameters.java,
8147         java/security/CodeSource.java,
8148         java/security/Identity.java,
8149         java/security/IdentityScope.java,
8150         java/security/KeyPairGenerator.java,
8151         java/security/KeyStore.java,
8152         java/security/Security.java,
8153         java/security/Signature.java,
8154         java/security/SignatureSpi.java,
8155         java/security/SignedObject.java,
8156         java/security/spec/DSAParameterSpec.java,
8157         java/security/spec/DSAPrivateKeySpec.java,
8158         java/security/spec/DSAPublicKeySpec.java,
8159         java/sql/Array.java,
8160         java/sql/DatabaseMetaData.java,
8161         java/sql/ResultSet.java,
8162         java/text/ChoiceFormat.java,
8163         java/text/CollationElementIterator.java,
8164         java/text/CollationKey.java,
8165         java/text/Collator.java,
8166         java/text/DateFormat.java,
8167         java/text/DateFormatSymbols.java,
8168         java/text/DecimalFormatSymbols.java,
8169         java/text/Format.java,
8170         java/text/ParsePosition.java,
8171         java/text/RuleBasedCollator.java,
8172         java/text/SimpleDateFormat.java,
8173         java/text/StringCharacterIterator.java,
8174         java/util/Collections.java,
8175         java/util/PropertyResourceBundle.java,
8176         java/util/ResourceBundle.java,
8177         java/util/StringTokenizer.java,
8178         java/util/jar/Attributes.java,
8179         java/util/logging/ConsoleHandler.java,
8180         java/util/logging/LogManager.java,
8181         java/util/logging/MemoryHandler.java,
8182         java/util/logging/SocketHandler.java,
8183         javax/naming/NamingException.java:
8184         Fixed javadoc, coding style and argument names all over.
8185
8186 2004-04-20  Jeroen Frijters  <jeroen@frijters.net>
8187
8188         * java/io/FileDescriptor.java: (FileDescriptor) Added public
8189         constructor. (valid) Added null check.
8190
8191 2004-04-20  Guilhem Lavaux <guilhem@kaffe.org>
8192
8193         Reported by Nektarios Papadopoulos <npapadop@inaccessnetworks.com>
8194         * java/io/FileOutputStream.java
8195         (FileOutputStream) Reorganized constructors. Constructors now
8196         check whether the given path is directory.
8197
8198 2004-04-20  Michael Koch  <konqueror@gmx.de>
8199
8200         * java/net/Authenticator.java,
8201         java/net/BindException.java,
8202         java/net/ConnectException.java,
8203         java/net/ContentHandler.java,
8204         java/net/ContentHandlerFactory.java,
8205         java/net/DatagramPacket.java,
8206         java/net/DatagramSocket.java,
8207         java/net/DatagramSocketImpl.java,
8208         java/net/DatagramSocketImplFactory.java,
8209         java/net/FileNameMap.java,
8210         java/net/HttpURLConnection.java,
8211         java/net/Inet4Address.java,
8212         java/net/Inet6Address.java,
8213         java/net/InetAddress.java,
8214         java/net/InetSocketAddress.java,
8215         java/net/JarURLConnection.java,
8216         java/net/MalformedURLException.java,
8217         java/net/MulticastSocket.java,
8218         java/net/NetPermission.java,
8219         java/net/NetworkInterface.java,
8220         java/net/NoRouteToHostException.java,
8221         java/net/PasswordAuthentication.java,
8222         java/net/PortUnreachableException.java,
8223         java/net/ProtocolException.java,
8224         java/net/ServerSocket.java,
8225         java/net/Socket.java,
8226         java/net/SocketAddress.java,
8227         java/net/SocketException.java,
8228         java/net/SocketImpl.java,
8229         java/net/SocketImplFactory.java,
8230         java/net/SocketOptions.java,
8231         java/net/SocketPermission.java,
8232         java/net/SocketTimeoutException.java,
8233         java/net/URI.java,
8234         java/net/URISyntaxException.java,
8235         java/net/URL.java,
8236         java/net/URLClassLoader.java,
8237         java/net/URLConnection.java,
8238         java/net/URLDecoder.java,
8239         java/net/URLEncoder.java,
8240         java/net/URLStreamHandler.java,
8241         java/net/URLStreamHandlerFactory.java,
8242         java/net/UnknownHostException.java,
8243         java/net/UnknownServiceException.java:
8244         Fixed javadocs, coding style and argument names all over.
8245
8246 2004-04-20  Michael Koch  <konqueror@gmx.de>
8247
8248         * java/lang/Byte.java,
8249         java/lang/CharSequence.java,
8250         java/lang/ClassLoader.java,
8251         java/lang/Compiler.java,
8252         java/lang/Double.java,
8253         java/lang/Float.java,
8254         java/lang/Integer.java,
8255         java/lang/Long.java,
8256         java/lang/Math.java,
8257         java/lang/Number.java,
8258         java/lang/Package.java,
8259         java/lang/Runtime.java,
8260         java/lang/RuntimePermission.java,
8261         java/lang/SecurityManager.java,
8262         java/lang/Short.java,
8263         java/lang/StringBuffer.java,
8264         java/lang/System.java,
8265         java/lang/ThreadGroup.java,
8266         java/lang/Throwable.java,
8267         java/lang/reflect/InvocationHandler.java,
8268         java/lang/reflect/Proxy.java:
8269         Fixed javadocs, coding style and argument names all over.
8270
8271 2004-04-20  Michael Koch  <konqueror@gmx.de>
8272
8273         * java/io/BufferedWriter.java,
8274         java/io/ByteArrayInputStream.java,
8275         java/io/CharArrayWriter.java,
8276         java/io/DataInput.java,
8277         java/io/DataInputStream.java,
8278         java/io/File.java,
8279         java/io/FilterInputStream.java,
8280         java/io/InputStream.java,
8281         java/io/InputStreamReader.java,
8282         java/io/ObjectInputStream.java,
8283         java/io/ObjectStreamClass.java,
8284         java/io/PipedInputStream.java,
8285         java/io/PipedReader.java,
8286         java/io/PushbackInputStream.java,
8287         java/io/PushbackReader.java,
8288         java/io/RandomAccessFile.java,
8289         java/io/SerializablePermission.java,
8290         java/io/StreamTokenizer.java,
8291         java/io/StringWriter.java,
8292         java/io/WriteAbortedException.java,
8293         java/io/Writer.java:
8294         Fixed javadocs all over, rename arguments to match javadocs,
8295         fixed coding style.
8296
8297 2004-04-20  Ingo Proetel  <proetel@aicas.com>
8298
8299         * java/awt/FontMetrics.java:
8300         (charsWidth): fixed accumulation of total_width
8301         (getWidth): simple default implementation
8302         * java/awt/Polygon.java (getBoundingBox): Use correct y-coordinate
8303         in Rectangle constructor.
8304         * java/awt/image/Raster.java (toString): Added method. 
8305         * java/awt/image/SampleModel.java (<init>): Added error cause
8306         information to thrown exception.
8307         * java/awt/image/SinglePixelPackedSampleModel.java (getDataElements):
8308         New method.
8309         (setDataElements): New method.
8310         (setPixels): New method.
8311         (toString): New method.
8312
8313 2004-04-20  Sascha Brawer  <brawer@dandelis.ch>
8314
8315         * java/awt/image/ComponentColorModel.java
8316         (createCompatibleSampleModel): Return PixelInterleavedSampleModel
8317         for TYPE_BYTE and TYPE_USHORT transferTypes, in order to pass the
8318         Mauve tests on this method. Improved documentation.
8319
8320 2004-04-20  Michael Koch  <konqueror@gmx.de>
8321
8322         * javax/swing/JLayeredPane.java,
8323         javax/swing/plaf/BorderUIResource.java,
8324         javax/swing/plaf/ComponentUI.java,
8325         javax/swing/undo/CompoundEdit.java,
8326         javax/swing/undo/StateEdit.java:
8327         Fixed HTML tags in javadocs all over.
8328
8329 2004-04-20  Michael Koch  <konqueror@gmx.de>
8330
8331         * javax/print/attribute/EnumSyntax.java
8332         (getOffset): Made protected.
8333         * javax/print/attribute/HashAttributeSet.java
8334         (HashAttributeSet): Likewise.
8335         * javax/print/attribute/ResolutionSyntax.java
8336         (getFeedResolution): Fixed typo in exception name.
8337         (getCrossFeedResolution): Likewise.
8338         * javax/print/attribute/SetOfIntegerSyntax.java
8339         (SetOfIntegerSyntax): Fixed HTML entities in javadoc.
8340         * javax/print/attribute/TextSyntax.java
8341         (TextSyntax): Handle locale correctly.
8342         (hashCode): Calc better hashcode value.
8343         (equals): Fixed @return tag.
8344         (toString): New method.
8345
8346 2004-04-20  Michael Koch  <konqueror@gmx.de>
8347
8348         * gnu/java/nio/FileLockImpl.java
8349         (static): Removed, not needed anymore.
8350         * gnu/java/nio/channels/FileChannelImpl.java
8351         (FileChannelImpl): Made final.
8352         (mode): Made private.
8353         (READ, WRITE, APPEND): Made public.
8354         (EXCL, SYNC, DSYNC): Likewise.
8355         (static): Load native JNI library, when needed.
8356         (length): Unused, removed.
8357         (available): Made public.
8358         (implPosition): Throws IOException.
8359         (seek): Likewise.
8360         (implTruncate): Likewise.
8361         (unlock): Likewise.
8362         (lock): Likewise.
8363
8364 2004-04-20  Michael Koch  <konqueror@gmx.de>
8365
8366         * java/awt/AWTPermission.java,
8367         java/awt/Component.java,
8368         java/awt/ComponentOrientation.java,,
8369         java/awt/Dialog.java,
8370         java/awt/FontMetrics.java,
8371         java/awt/Graphics.java,
8372         java/awt/datatransfer/DataFlavor.java,
8373         java/beans/Introspector.java,
8374         java/beans/PropertyEditor.java,
8375         java/beans/PropertyEditorManager.java,
8376         java/beans/beancontext/BeanContextServiceProvider.java:
8377         Fixed HTML tags in javadocs all over.
8378
8379 2004-04-20  Mark Wielaard  <mark@klomp.org>
8380
8381         * gnu/java/awt/peer/gtk/GtkFontPeer.java: Use fallback when
8382         MissingResourceException is thrown.
8383         * gnu/java/awt/peer/gtk/GtkToolkit.java (getFontPeer): Don't return
8384         null when a MissingResourceException is thrown. Should never happen.
8385
8386 2004-04-20  Sascha Brawer  <brawer@dandelis.ch>
8387
8388         * java/awt/image/DataBufferShort.java,
8389         java/awt/image/DataBufferFloat.java,
8390         java/awt/image/DataBufferDouble.java,
8391         java/awt/image/PixelInterleavedSampleModel.java: New files.
8392         * gnu/java/awt/Buffers.java (createBuffer, createBufferFromData,
8393         getData): Added support for TYPE_SHORT, TYPE_FLOAT and TYPE_DOUBLE.
8394
8395 2004-04-20  Michael Koch  <konqueror@gmx.de>
8396
8397         * Makefile.am (java_source_files): Added
8398         java/awt/image/DataBufferDouble.java,
8399         java/awt/image/DataBufferFloat.java,
8400         java/awt/image/DataBufferShort.java and
8401         java/awt/image/PixelInterleavedSampleModel.java.
8402         * Makefile.in: Regenerated.
8403
8404 2004-04-19  Bryce McKinlay  <mckinlay@redhat.com>
8405  
8406         * gcj/cni.h (JvAllocObject): Remove these obsolete, 
8407         undocumented CNI calls.
8408         * include/java-interp.h (_Jv_InterpClass): No longer
8409         extends java.lang.Class.
8410         * java/lang/Class.h (Class): Add new field `aux_info'.
8411         * boehm.cc (_Jv_MarkObj): Update java.lang.Class marking.
8412         * defineclass.cc: Remove Class<->_Jv_InterpClass casts.
8413         Use Class->aux_info instead.
8414         * jni.cc (_Jv_JNI_AllocObject): Use _Jv_AllocObject.
8415         * resolve.cc: Remove Class<->_Jv_InterpClass casts.
8416         Use Class->aux_info instead.
8417         * java/io/natObjectInputStream.cc (allocateObject): Use
8418         _Jv_AllocObject.
8419         * java/lang/natClass.cc (newInstance): Likewise.
8420         * java/lang/natClassLoader.cc (_Jv_NewClass): Likewise.
8421         * java/lang/natObject.cc (clone): Likewise.
8422         * java/lang/reflect/natMethod.cc (_Jv_CallAnyMethodA): Likewise.
8423         * java/lang/natVMClassLoader.cc (defineClass): Don't use
8424         JvAllocObject. Allocate klass->aux_info here for interpreted
8425         class.
8426         
8427 2004-04-17  Mark Wielaard  <mark@klomp.org>
8428
8429         * javax/swing/JToggleButton.java (ToggleButtonModel):
8430         Make public static inner class.
8431         * javax/swing/JTabbedPane.java (setComponentAt):
8432         Call Page.setComponent().
8433         (SCROLL_TAB_LAYOUT): Make public, value is 1.
8434         (WRAP_TAB_LAYOUT): Make public, value is 0.
8435         * javax/swing/plaf/basic/BasicTabbedPaneUI.java (ScrollingButton):
8436         Make private static inner class.
8437
8438 2004-04-16  Bryce McKinlay  <mckinlay@redhat.com>
8439
8440         * interpret.cc (_Jv_InterpMethod::run): Update _Jv_AllocObject
8441         arguments to match new signature. Remove FIXME comments.
8442
8443 2004-04-09  Thomas Fitzsimmons  <fitzsim@redhat.com>
8444
8445         * gnu/java/awt/peer/gtk/GtkPanelPeer.java (connectSignals):
8446         Remove method.
8447         * jni/gtk-peer/gnu_java_awt_peer_gtk_GtkPanelPeer.c: Remove
8448         unused code.
8449
8450 2004-04-02  Olga Rodimina  <rodimina@redhat.com>
8451
8452         * Makefile.am: Added new file.
8453         * Makefile.in: Regenerate.
8454         * javax/swing/ImageIcon.java: 
8455         (ImageIcon(file)): set description of the icon 
8456         to the file name
8457         * javax/swing/JCheckBoxMenuItem.java:
8458         Mostly Implemented. Work in progress.
8459         * javax/swing/JRadioButtonMenuItem.java:
8460         Reimplement constructors to use JToggleButtonModel.
8461         * javax/swing/plaf/basic/BasicIconFactory.java:
8462         (getCheckBoxMenuItemIcon): return check box
8463         icon.
8464         * javax/swing/plaf/basic/BasicMenuItemUI.java:
8465         paint menu item selected only when it is armed and 
8466         pressed. 
8467  
8468 2004-04-02  David Jee  <djee@redhat.com>
8469
8470         * gnu/java/awt/peer/gtk/GtkMenuItemPeer.java
8471         (GtkMenuItemPeer): Only connect signals if this isn't a Menu peer.
8472         * java/awt/Component.java
8473         (add): Set the parent of the popup as this component.
8474         * java/awt/PopupMenu.java
8475         (addNotify): Create popup menu when peer is null.
8476         (show): Call addNotify() if peer is null.
8477         * jni/gtk-peer/gnu_java_awt_peer_gtk_GtkPopupMenuPeer.c
8478         (Java_gnu_java_awt_peer_gtk_GtkPopupMenuPeer_show): Set the button
8479         argument for gtk_menu_popup() as zero. This causes the popup menu to
8480         respond to any mouse button.
8481
8482 2004-03-31  Olga Rodimina  <rodimina@redhat.com>
8483
8484         * Makefile.am: Added new file.
8485         * Makefile.in: Regenerate.
8486         * javax/swing/JRadioButtonMenuItem.java:
8487         Implemented.
8488         * javax/swing/plaf/basic/BasicIconFactory.java:
8489         (getRadioButtonMenuItemIcon): Return
8490         radio button icon.
8491         * javax/swing/plaf/basic/BasicMenuItemUI.java:
8492         (getPreferredSize): Add size of checkIcon if it
8493         exists.
8494         (installDefaults): Don't initialize checkIcon.
8495         It's value will be set in subclasses. 
8496         (uninstallDefaults): remove uninstallation of 
8497         checkIcon.
8498         (paint): Moved code to paintMenuItem().
8499         (paintMenuItem): Implemented.
8500         * javax/swing/plaf/basic/BasicRadioButtonMenuItemUI.java:
8501         UI delegate for JRadioButtonMenuItem.
8502         
8503 2004-03-29  Olga Rodimina  <rodimina@redhat.com>
8504
8505         * javax/swing/plaf/basic/BasicMenuItemUI.java:
8506         Corrected position of the accelerator.
8507
8508 2004-03-29  Olga Rodimina  <rodimina@redhat.com>
8509
8510         * Makefile.am: Added new file. 
8511         * Makefile.in: Regenerate.
8512         * javax/swing/JMenuItem.java: Partly 
8513         implemented. Work in progress
8514         * javax/swing/plaf/basic/BasicLookAndFeel.java:
8515         Changed default value of acceleratorDelimiter.
8516         * javax/swing/plaf/basic/BasicMenuItemUI.java:
8517         New class. Partly implemented.
8518                 
8519 2004-03-26  Mark Wielaard  <mark@klomp.org>
8520
8521         * native/jni/gtk-peer/gnu_java_awt_peer_gtk_GtkChoicePeer.c
8522         (item_activate): Declare label before use.
8523         * native/jni/gtk-peer/gnu_java_awt_peer_gtk_GtkComponentPeer.c
8524         (gtkSetFont): Removed unused variable label.
8525         (addExposeFilter): Declare variables before use.
8526         (removeExposeFilter): Likewise.
8527         * native/jni/gtk-peer/gnu_java_awt_peer_gtk_GtkFileDialogPeer.c
8528         (ok_clicked): Declare str_fileName before use.
8529
8530 2004-03-26  David Jee  <djee@redhat.com>
8531
8532         * gnu/java/awt/peer/gtk/GtkMenuPeer.java
8533         (addSeparator): Remove.
8534         * java/awt/Menu.java
8535         (separator): Remove static final MenuItem field.
8536         (separatorLabel): New static final String field.
8537         (addSeparator): Do not use peer method; use add(MenuItem) instead.
8538         Use separatorLabel to denote that it is a separator.
8539         (insertSeparator): Create a new MenuItem with separatorLabel, instead
8540         of reusing the static separator instance, because a MenuItem instance
8541         can't be added more than once without being cloned.
8542         * java/awt/peer/MenuPeer.java
8543         (addSeparator): Remove from interface.
8544
8545 2004-03-26  David Jee  <djee@redhat.com>
8546
8547         * gnu/java/awt/peer/gtk/GtkMenuItemPeer.java
8548         (connectSignals): New native method declaration.
8549         (GtkMenuItemPeer): Connect signals if the parent is a Menu.
8550         * java/awt/MenuItem.java
8551         (getActionCommand): Return the label if the action command is not set.
8552         * jni/gtk-peer/gnu_java_awt_peer_gtk_GtkMenuBarPeer.c
8553         (Java_gnu_java_awt_peer_gtk_GtkMenuBarPeer_addMenu): Use
8554         gtk_menu_shell_append().
8555         * jni/gtk-peer/gnu_java_awt_peer_gtk_GtkMenuItemPeer.c
8556         (item_activate): Fix argument type.
8557         (Java_gnu_java_awt_peer_gtk_GtkMenuItemPeer_create): Do not connect
8558         signal here.
8559         (Java_gnu_java_awt_peer_gtk_GtkMenuItemPeer_connectSignals): New
8560         method.
8561         * jni/gtk-peer/gnu_java_awt_peer_gtk_GtkMenuPeer.c
8562         (Java_gnu_java_awt_peer_gtk_GtkMenuPeer_create): Check if a label is
8563         given. Add the menu widget's top-level GtkWindow to the global window
8564         group, so it can grab the pointer.
8565         (Java_gnu_java_awt_peer_gtk_GtkMenuPeer_addItem): Use
8566         gtk_menu_shell_append().
8567
8568 2004-03-23  Graydon Hoare  <graydon@redhat.com>
8569
8570         * java/text/AttributedString.java 
8571         (addAttribute): Fix off-by-one.
8572         (getIterator): Likewise.        
8573         * java/text/AttributedStringIterator.java 
8574         (getRunLimit): Correct logic.
8575         (getRunStart): Likewise.
8576         (getAttribute): Fix inequality.
8577         (getAttributes): Likewise.
8578         * testsuite/libjava.mauve/xfails: Remove AttributedString xfail.
8579
8580 2004-03-23  Kim Ho  <kho@redhat.com>
8581
8582         * javax/swing/plaf/basic/BasicTabbedPaneUI.java:
8583         (calculateSizes): Return real width and height.
8584
8585 2004-03-23  Kim Ho  <kho@redhat.com>
8586
8587         * javax/swing/plaf/basic/BasicTabbedPaneUI.java
8588         (calculateTabRects): Set the selectedRun before
8589         trying to rotate tabs.
8590
8591 2004-03-23  Kim Ho  <kho@redhat.com>
8592
8593         * Makefile.am: New file
8594         * Makefile.in: Regenerate
8595         * java/awt/Graphics.java: (drawRect):
8596         Draw to the correct point.
8597         * javax/swing/DefaultSingleSelectionModel.java
8598         (isSelected): Return true if the selected index
8599         is not -1.
8600         * javax/swing/JLabel.java: Do not change mnemonic
8601         index if text is null.
8602         * javax/swing/JProgressBar.java: Use JComponent's
8603         EventListenerList.
8604         * javax/swing/JScrollBar.java: Ditto.
8605         * javax/swing/JSlider.java: Ditto.
8606         * javax/swing/JTabbedPane.java: Reimplement.
8607         * javax/swing/plaf/basic/BasicLookAndFeel.java:
8608         Add defaults for TabbedPane.
8609         * javax/swing/plaf/basic/BasicArrowButton.java:
8610         Implement
8611         * javax/swing/plaf/basic/BasicProgressBarUI.java:
8612         (paintDeterminate): Don't paint String if it's
8613         empty.
8614         (paintIndeterminate): ditto.
8615         * javax/swing/plaf/basic/BasicTabbedPaneUI.java:
8616         Reimplement.
8617
8618 2004-03-19  Michael Koch  <konqueror@gmx.de>
8619
8620         * java/awt/image/AffineTransformOp.java
8621         (AffineTransformOp): Made public.
8622         * javax/swing/JComponent.java
8623         (listenerList): Made protected.
8624         (accessibleContext): Likewise.
8625         * javax/swing/JList.java
8626         (valueChanged): Dont use internal fields of ListSelectionEvent.
8627         * javax/swing/JViewport.java
8628         (getView): Dont use internal fields of Component.
8629         (addImpl): Likewise.
8630         * javax/swing/Timer.java
8631         (isRunning): Made public.
8632         (start): Likewise.
8633         (stop): Likewise.
8634         * javax/swing/UIDefaults.java
8635         (getInt): Made public.
8636         * javax/swing/plaf/basic/BasicListUI.java
8637         (mousePressed): Dont use internal fields of MouseEvent.
8638         (propertyChanged): Dont use internal fields of PropertyChangeEvent.
8639         * javax/swing/plaf/basic/BasicScrollBarUI.java
8640         (arrowIcon): Made static.
8641         * javax/swing/plaf/basic/BasicViewportUI.java
8642         (stateChanged): Dont use internal field on ChangeEvent.
8643         * javax/swing/text/JTextComponent.java
8644         (getUI): Call UIManager.getUI().
8645         (updateUI): Use getUI().
8646
8647 2004-03-19  Graydon Hoare  <graydon@redhat.com>
8648
8649         * javax/swing/JComponent.java: Turn off double buffer by default.
8650         * javax/swing/plaf/basic/BasicViewportUI.java: Clear rects before painting.
8651         * jni/gtk-peer/gnu_java_awt_peer_gtk_GdkGraphics2D.c
8652         (Java_gnu_java_awt_peer_gtk_GdkGraphics2D_gdkDrawDrawable): 
8653         Use cairo to copy areas.
8654         (Java_gnu_java_awt_peer_gtk_GdkGraphics2D_cairoClip):
8655         Initialize and set clip region.
8656
8657 2004-03-15  Thomas Fitzsimmons  <fitzsim@redhat.com>
8658
8659         * java/applet/Applet.java (preferredSize): Override deprecated
8660         variant of getPreferredSize.
8661         (minimumSize): Override deprecated variant of getMinimumSize.
8662
8663 2004-03-15  Olga Rodimina  <rodimina@redhat.com>
8664
8665         * gnu/java/awt/peer/gtk/GdkGraphics2D.java
8666         (drawImage(img,xform,bgcolor,obs)): New Method.
8667         Helper function that every drawImage method will
8668         use.
8669         (drawRaster): Added new parameter, bgcolor. All
8670         transparent pixels are changed to bgcolor before 
8671         image is drawn.
8672         (drawRenderedImage): Fixed to use changed drawRaster().
8673         (drawImage(image,xform,obs): Fixed to use new helper function 
8674         (drawImage(image,op,x,y)): Ditto.
8675         (drawImage (img,x,y,observer)): Ditto.
8676         ((PainterThread) bgcolor): New Field.
8677         ((PainterThread) (setPixels)): Changed all transparent pixels 
8678         to bgcolor.     
8679         (drawImage(img,x,y,width,height,bgcolor,observer)): 
8680         Fixed FIXME - all the transparent pixels are 
8681         changed to the specified bgcolor. 
8682         (drawImage(img, x, y, width, height, observer): Changed to 
8683         use function above.
8684         (drawImage (img,dx1,dy1,dx2,dy2,sx1,sy1,sx2,sy2,bgcolor,observer)): 
8685         Fixed FIXME- changed all transparent pixels to bgcolor.
8686         (drawImage (img, dx1, dy1, dx2, dy2, sx1, sy1, sx2, sy2, observer)):
8687         Changed to use function above. 
8688
8689 2004-03-14  Thomas Fitzsimmons  <fitzsim@redhat.com>
8690
8691         * java/applet/Applet.java (dimensions): New field.
8692         (getDimensions): New method.
8693         (getPreferredSize): Call getDimensions.
8694         (getMinimumSize): Likewise.
8695
8696 2004-03-13  Thomas Fitzsimmons  <fitzsim@redhat.com>
8697
8698         * jni/classpath/jcl.c: Include stdlib.h, not malloc.h.
8699         * jni/classpath/jnilink.c: Likewise.
8700
8701         * java/applet/Applet.java (getPreferredSize): New method.
8702         (getMinimumSize): New method.
8703
8704 2004-04-15  Bryce McKinlay  <mckinlay@redhat.com>
8705
8706         * prims.cc (_Jv_AllocObject): Remove `size' argument.
8707         (_Jv_AllocObjectNoFinalizer): Likewise.
8708         (_Jv_AllocObjectNoInitNoFinalizer): Likewise.
8709         (_Jv_AllocPtrFreeObject): Likewise.
8710         (_Jv_AllocString): Moved from natString.cc. Call collector interface
8711         directly even in the JVMPI case.        
8712         * gcj/cni.h (JvAllocObject): Remove `size' argument from 
8713         _Jv_AllocObject calls.
8714         * gcj/javaprims.h: Update prototypes.
8715         * gnu/gcj/natCore.cc (_Jv_create_core): Use `new', not _Jv_AllocObject.
8716         * java/lang/Class.h: Update _Jv_AllocObject friend prototype.
8717         * java/lang/natString.cc (_Jv_AllocString): Move to prims.cc.
8718
8719 2004-04-14  Andrew Haley  <aph@redhat.com>
8720             Bryce McKinlay  <mckinlay@redhat.com>
8721
8722         * java/lang/reflect/natMethod.cc (_Jv_CallAnyMethodA): Use
8723         _Jv_LookupInterfaceMethodIdx for calls to interfaces.
8724         * include/jvm.h (_Jv_CallAnyMethodA): Add new `iface' arg.
8725
8726         * testsuite/libjava.lang/InvokeInterface.java: New file.
8727         * testsuite/libjava.lang/InvokeInterface.out: New file.
8728
8729 2004-04-09  Ranjit Mathew  <rmathew@hotmail.com>
8730         
8731         * java/lang/VMThrowable.java (getStackTrace): Pass trace as-is to
8732         modified lookup().
8733         * gnu/gcj/runtime/NameFinder.java (lookup): Change to take in a
8734         StackTraceElement directly.
8735         (newElement): New native helper method to create StackTraceElement
8736         bypassing Java access control.
8737         (createStackTraceElement): Use newElement() instead of directly
8738         calling StackTraceElement's constructor.
8739         * gnu/gcj/runtime/natNameFinder.cc (newElement): New method.
8740
8741 2004-04-01  Michael Koch  <konqueror@gmx.de>
8742
8743         * java/lang/SecurityManager.java
8744         (checkAwtEventQueueAccess): Implemented.
8745
8746 2004-04-01  Gary Benson  <gbenson@redhat.com>
8747
8748         * resolve.cc (_Jv_ResolvePoolEntry): Put field name in exception.
8749         (_Jv_SearchMethodInClass): Likewise.
8750
8751 2004-03-26  Peter Moon  <peterm@miraculum.com>
8752
8753         * java/text/NumberFormat.java: Fix spelling of setCurrency
8754         method.
8755
8756 2004-03-21  Anthony Green  <green@redhat.com>
8757
8758         * java/lang/natClass.cc (getClassLoader): Circumvent infinite
8759         recursion when searching for the system ClassLoader.
8760
8761 2004-03-21  Ito Kazumitsu <kaz@maczuka.gcd.org>
8762
8763         * java/net/ServerSocket.java
8764         (accept): Close the socket when error occured.
8765
8766 2004-03-21  Jeroen Frijters  <jeroen@frijters.net>
8767
8768         * java/net/URI.java (parseURI): Added unquoting.
8769         (unquote): New method.
8770         (quoteAuthority): Implemented.
8771         (quote(String,String)): New method.
8772         (quotePath): Implemented.
8773         (getRawSchemeSpecificPart): Return new rawSchemeSpecificPart field.
8774         (getSchemeSpecificPart): Removed FIXME comment.
8775         (getRawAuthority): Return new rawAuthority field.
8776         (getAuthority): Removed FIXME comment.
8777         (getRawUserInfo): Return new rawUserInfo field.
8778         (getUserInfo): Removed FIXME comment.
8779         (getRawPath): Return new rawPath field.
8780         (getPath): Removed FIXME comment.
8781         (getRawQuery): Return new rawQuery field.
8782         (getQuery): Removed FIXME comment.
8783         (getRawFragment): Return new rawFragment field.
8784         (getFragment): Removed FIXME comment.
8785
8786 2004-03-20  Michael Koch  <konqueror@gmx.de>
8787
8788         * java/net/URLConnection.java: Merged copyright year with classpath.
8789
8790 2004-03-20  Norbert Frese  <postfach@nfrese.net>
8791
8792         * gnu/java/rmi/server/RMIIncomingThread.java: New file.
8793         * gcc/libjava/gnu/java/rmi/server/UnicastConnection.java:
8794         Create a new RMIObjectOuputStream/RMIObjectInputStream for every
8795         rmi-message.
8796         (getObjectInputStream): Return object reference, throw IOException if null.
8797         (startObjectInputStream): Create new RMIObjectInputStream on top of 'din'.
8798         (getObjectOutputStream): Return object reference, throw IOException if null.
8799         (startObjectOutputStream): Create new RMIObjectOutputStream on top of 'dout'.
8800         * gcc/libjava/gnu/java/rmi/server/UnicastConnectionManager.java:
8801         (UnicastConnectionManager): Throw RemoteException if port is not available.
8802         (getInstance): Throw RemoteException.
8803         (run): Lookup client host and attach it to new RMIIncomingThread for later retrieval.
8804         * gcc/libjava/gnu/java/rmi/server/UnicastRef.java:
8805         Start a new RMIObjectInputStream/RMIObjectOutputStream for every rmi-message.
8806         Collect Exceptions which are returned by a rmi-call and fix void returns.
8807         * gcc/libjava/gnu/java/rmi/server/UnicastRemoteCall.java:
8808         Start a new RMIObjectInputStream/RMIObjectOutputStream for every rmi-message.
8809         * gcc/libjava/gnu/java/rmi/server/UnicastServer.java:
8810         (dispatch): Answer ping messages which are sent by other java implementions.
8811         (incomingMessageCall): Start a new RMIObjectInputStream/RMIObjectOutputStream
8812         for every rmi-message and fix void return problems.
8813         * gcc/libjava/gnu/java/rmi/server/UnicastServerRef.java
8814         (UnicastServerRef): Throw RemoteException.
8815         (exportObject): Find the class up the class hierarchy which has a _Stub generated by rmic.
8816         In some situations it is necessary to export a subclass of the class which has the _Stub.
8817         For instance when the class with has the _Stub is abstract.
8818         (findStubSkelClass): New method which looks for the class which has the _Stub.
8819         (getClientHost): Implementated.
8820         * gcc/libjava/java/rmi/server/RemoteServer.java
8821         (getClientHost): Implementated.
8822         * gcc/libjava/Makefile.am (rmi_java_source_files):
8823         Added gnu/java/rmi/server/RMIIncomingThread.java.
8824         * Makefile.in: Regenerated.
8825
8826 2004-03-20  Michael Koch  <konqueror@gmx.de>
8827
8828         * java/net/InetAddress.java
8829         (getLocalHostname): Added javadoc.
8830
8831 2004-03-19  Per Bothner  <per@bothner.com>
8832
8833         * configure.in: FILE variable  overrides FLATFORM when linking
8834         natFileChannelXXX.cc.
8835
8836         * gnu/java/nio/channels/natFileChannelEcos.cc (diag_write):  Restored.
8837         (write):  Call diag_write, as in old natFileDescriptorEcos.cc.
8838
8839 2004-03-19  Per Bothner  <per@bothner.com>
8840
8841         * gnu/gcj/convert/Input_UnicodeBig.java:  New class..
8842         * gnu/gcj/convert/Input_UnicodeLittle.java:  New class.
8843         * Makefile.am:  Update accordingly.
8844         * gnu/gcj/convert/IOConverter.java:  Define "utf-16le" and "utf16be"
8845         as aliases for UnicodeLittle and UnicodeBig.
8846
8847 2004-03-20  Mark Wielaard  <mark@klomp.org>
8848
8849         * native/jni/gtk-peer/gnu_java_awt_peer_gtk_GtkTextAreaPeer.c
8850         (Java_gnu_java_awt_peer_gtk_GtkTextAreaPeer_getVScrollbarWidth):
8851         Don't access ws when it is null.
8852         (Java_gnu_java_awt_peer_gtk_GtkTextAreaPeer_getHScrollbarHeight):
8853         Likewise.
8854
8855 2004-03-19  Jeroen Frijters  <jeroen@frijters.net>
8856
8857         * java/lang/ThreadGroup.java (list): Changed print to println.
8858
8859 2004-03-19  Mark Wielaard  <mark@klomp.org>
8860
8861         * java/io/BufferedReader.java: Use &lt;=, not &lt;&eq; to make gjdoc
8862         happy.
8863
8864 2004-02-10  Randolph Chung  <tausq@debian.org>
8865  
8866         * configure.in: Build java for hppa target.
8867         * configure: Regenerate.
8868         * libjava/configure.host (hppa-*): Add target.
8869         * libjava/sysdeps/pa/lock.h: New file.
8870
8871 2004-03-19  Mark Wielaard  <mark@klomp.org>
8872
8873         Reported by Stephen Crawley
8874         * java/io/FilePermission.java (implies): Use String.length() -1 to
8875         access last char of String.
8876
8877 2004-03-19  Michael Koch  <konqueror@gmx.de>
8878
8879         * java/awt/image/AffineTransformOp.java
8880         (AffineTransformOp): Made public.
8881         * javax/swing/JComponent.java
8882         (listenerList): Made protected.
8883         (accessibleContext): Likewise.
8884         * javax/swing/JList.java
8885         (valueChanged): Dont use internal fields of ListSelectionEvent.
8886         * javax/swing/JViewport.java
8887         (getView): Dont use internal fields of Component.
8888         (addImpl): Likewise.
8889         * javax/swing/Timer.java
8890         (isRunning): Made public.
8891         (start): Likewise.
8892         (stop): Likewise.
8893         * javax/swing/UIDefaults.java
8894         (getInt): Made public.
8895         * javax/swing/plaf/basic/BasicListUI.java
8896         (mousePressed): Dont use internal fields of MouseEvent.
8897         (propertyChanged): Dont use internal fields of PropertyChangeEvent.
8898         * javax/swing/plaf/basic/BasicScrollBarUI.java
8899         (arrowIcon): Made static.
8900         * javax/swing/plaf/basic/BasicViewportUI.java
8901         (stateChanged): Dont use internal field on ChangeEvent.
8902         * javax/swing/text/JTextComponent.java
8903         (getUI): Call UIManager.getUI().
8904         (updateUI): Use getUI().
8905
8906 2004-03-19  Rainer Orth  <ro@TechFak.Uni-Bielefeld.DE>
8907
8908         * verify.cc: Undef PC.
8909
8910 2004-03-18  Michael Koch  <konqueror@gmx.de>
8911
8912         * java/nio/channels/spi/AbstractSelectableChannel.java
8913         (keys): Initialize at declaration.
8914         (locate): keys cant be null.
8915         (add): Removed.
8916         (addSelectionKey): New method.
8917         (removeSelectionKey): New method.
8918         * java/nio/channels/spi/AbstractSelectionKey.java
8919         (cancel): Call AbstractSelector.cancelKey(SelectionKey key).
8920         * java/nio/channels/spi/AbstractSelector.java
8921         (provider): Javadoc added.
8922         (cancelledKeys): Javadoc added.
8923         (cancelKey): Javadoc added, add key to cancelledKeys.
8924         (deregister): Implemented.
8925
8926 2004-03-18  Rainer Orth  <ro@TechFak.Uni-Bielefeld.DE>
8927
8928         * gnu/java/nio/channels/natFileChannelPosix.cc (mapImpl): Cast
8929         MAP_FAILED to void *.
8930
8931 2004-03-12  Graydon Hoare  <graydon@redhat.com>
8932
8933         * gnu/java/awt/peer/gtk/GdkGraphics2D.java: Clipping fixes.
8934         * javax/swing/JComponent.java (paint): Use persistent double buffer. 
8935         * javax/swing/JList.java (ListListener): Revalidate on changes.
8936         * javax/swing/JScrollPane.java: Reimplement.
8937         * javax/swing/JViewport.java: Reimplement.
8938         * javax/swing/ScrollPaneLayout.java: Reimplement.
8939         * javax/swing/ViewportLayout.java: Tidy up.
8940         * javax/swing/plaf/basic/BasicButtonListener.java: Remove printlns.
8941         * javax/swing/plaf/basic/BasicScrollPaneUI.java: Reimplement.
8942         * javax/swing/plaf/basic/BasicSliderUI.java: Handle missing labels.
8943         * javax/swing/plaf/basic/BasicViewportUI.java: Implement in terms of
8944         backing store only.
8945
8946 2004-03-11  Thomas Fitzsimmons  <fitzsim@redhat.com>
8947
8948         * jni/gtk-peer/gnu_java_awt_peer_gtk_GtkWindowPeer.c
8949         (window_wm_protocols_filter): New function.
8950         (window_focus_in_cb): Remove function.
8951         (window_focus_out_cb): Likewise.
8952         (window_focus_or_active_state_change_cb): New function.
8953         (create): Add filter that removes WM_TAKE_FOCUS client messages.
8954         (connectSignals): Don't attach handlers to focus-in-event or
8955         focus-out-event signals.  Handle notify signal.
8956
8957 2004-03-11  David Jee  <djee@redhat.com>
8958
8959         * gnu/java/awt/peer/gtk/GtkCheckboxPeer.java
8960         (gtkSetLabel): New native method declaration.
8961         (setLabel): Use gtkSetLabel.
8962         * jni/gtk-peer/gnu_java_awt_peer_gtk_GtkCheckboxPeer.c
8963         (Java_gnu_java_awt_peer_gtk_GtkCheckboxPeer_gtkSetLabel): New method.
8964
8965 2004-03-10  Thomas Fitzsimmons  <fitzsim@redhat.com>
8966
8967         * gnu/java/awt/peer/gtk/GdkGraphics.java (setColor): Default to
8968         black when color argument is null.
8969
8970 2004-03-10  Kim Ho  <kho@redhat.com>
8971
8972         * java/awt/Container.java: Remove check
8973         for drag events.
8974
8975 2004-03-10  Kim Ho  <kho@redhat.com>
8976
8977         * java/awt/Container.java: (visitChild):
8978         Remove candidate clip. Use the component
8979         clip to intersect.
8980         * gnu/java/awt/peer/gtk/GtkComponentPeer.java:
8981         (handleEvent): Use the PaintEvent's clip.
8982
8983 2004-03-10  Kim Ho  <kho@redhat.com>
8984
8985         * gnu/java/awt/peer/gtk/GtkComponentPeer.java:
8986         (handleEvent): Don't set the clip for the
8987         Graphics object.
8988
8989 2004-03-09  Graydon Hoare  <graydon@redhat.com>
8990
8991         * jni/gtk-peer/gnu_java_awt_peer_gtk_GdkGlyphVector.c: 
8992         Fix double <-> fixed macros, reset font transform.
8993         * jni/gtk-peer/gnu_java_awt_peer_gtk_GdkClasspathFontPeerMetrics.c:
8994         Likewise.
8995
8996 2004-03-09  Kim Ho  <kho@redhat.com>
8997
8998         * java/awt/Container.java: (visitChild): Move
8999         the x and y coordinate of the component rectangle
9000         to correct position.
9001         (handleEvent): Forward drag events to the pressed
9002         component.
9003         * javax/swing/plaf/basic/BasicScrollBarUI.java:
9004         Fix comments.
9005         (ArrowButtonListener::mousePressed): Stop the
9006         existing timer.
9007         (mouseDragged): Implement.
9008         (TrackListener::mousePressed): Only react if
9009         the press doesn't occur on the thumb, otherwise
9010         just set the offset.
9011         (TrackListener::mouseReleased): Unset the isAdjusting
9012         value.
9013         (createIncreaseIcon): Switch icon.
9014         (createDecreaseIcon): Switch icon.
9015         (calculatePreferredSize): Use width.
9016         (getThumbBounds): Use the top as the lower value.
9017         (layoutVScrollBar): Switch the button locations.
9018         (paintIncreaseHighlight): Paint correct side of thumb.
9019         (paintDecreaseHighlight): ditto.
9020         (valueForYPosition): Use top as the lower value.
9021         * javax/swing/plaf/basic/BasicSliderUI.java:
9022         Fix comments.
9023         (mouseDragged): Implement.
9024         (mousePressed): Only react when the thumb isn't
9025         pressed, otherwise just set offset.
9026         (mouseReleased): Handle a release of the thumb.
9027         (scrollDueToClickInTrack): Stop the timer first.
9028         * javax/swing/JProgressBar.java:
9029         (setString): Fix change condition.
9030         * javax/swing/JSeparator.java:
9031         Remove println's.
9032
9033 2004-03-08  David Jee  <djee@redhat.com>
9034
9035         * java/awt/image/AffineTransformOp.java:
9036         (filter): Use Graphics2D interface instead of directly using the
9037         GdkGraphics2D peer.
9038
9039 2004-03-05  David Jee  <djee@redhat.com>
9040
9041         * gnu/java/awt/peer/gtk/GtkButtonPeer.java
9042         (handleEvent): Action events are generated upon MOUSE_RELEASED.
9043         * java/awt/Container.java
9044         (acquireComponentForMouseEvent): Fixed.
9045         (handleEvent): Fixed.
9046         * jni/gtk-peer/gnu_java_awt_peer_gtk_GtkEvents.c
9047         (state_to_awt_mods_with_button_states): New method.
9048         (pre_event_handler): Fixed mouse event generation.
9049
9050 2004-03-05  Olga Rodimina  <rodimina@redhat.com>
9051
9052         gnu/java/awt/peer/gtk/GdkGraphics2D.java
9053         (GdkGraphics2D (BufferedImage)): Initialize
9054         pixmap associated with specified BufferedImage.
9055         (setPaint): Changed implementation of Texture
9056         Paint to use AffineTransformOp.
9057         * java/awt/image/AffineTransformOp.java
9058         (createCompatibleDestRaster): Throw RasterFormatException 
9059         if resulting width or height of raster is 0.
9060
9061 2004-03-04  Olga Rodimina  <rodimina@redhat.com>
9062
9063         * java/awt/image/AffineTransformOp.java:
9064         Removed unnecessary field interpolationType.
9065         Formatted some of the lines to be consistent with 
9066         the GNU style.
9067         (AffineTransformOp): Create new RenderingHints 
9068         containing specified interpolation type.
9069         (createCompatibleDestImage): Implemented.
9070         (createCompatibleDestRaster): Implemented.
9071         (filter): Implemented.
9072         (getBounds2D(BufferedImage)): Implemented.
9073         (getBounds2D(Raster)): Implemented.
9074         (getInterpolationType): Get interpolation value from 
9075         rendering hints.
9076
9077 2004-03-04  David Jee  <djee@redhat.com>
9078
9079         * gnu/java/awt/peer/gtk/GtkContainerPeer.java
9080         (setFont): Check if child peers are null.
9081
9082 2004-03-04  Graydon Hoare  <graydon@redhat.com>
9083
9084         * testsuite/lib/libjava.exp (libjava_find_lib): Don't include
9085         .libs in -L option.
9086         (libjava_arguments): Add new libraries to argument list.
9087
9088 2004-03-02  Olga Rodimina  <rodimina@redhat.com>
9089
9090         * Makefile.am: Added java/awt/image/AffineTransformOp.java
9091         * Makefile.in: Re-generated.
9092         * java/awt/image/AffineTransformOp.java: New Class.
9093
9094 2004-03-01  Olga Rodimina  <rodimina@redhat.com>
9095
9096         * gnu/java/awt/peer/gtk/GdkGraphics2D.java
9097         (setPaint): Interpret correctly TexturePaint's
9098         anchor rectangle.
9099         (drawImage): Fixed scale factors of the affine
9100         transform.
9101
9102 2004-02-27  David Jee  <djee@redhat.com>
9103
9104         * gnu/java/awt/peer/gtk/GdkGraphics.java
9105         (GdkGraphics(Component)): Inherit font from component.
9106         (drawString): Use font style.
9107         * gnu/java/awt/peer/gtk/GtkCheckboxPeer.java
9108         (gtkSetFont): New native method declaration.
9109         (setFont): New method.
9110         * gnu/java/awt/peer/gtk/GtkComponentPeer.java
9111         (gtkSetFont): New native method declaration.
9112         (setFont): Call new native method gtkSetFont.
9113         * gnu/java/awt/peer/gtk/GtkContainerPeer.java
9114         (setFont): For all child components who do not their fonts set,
9115         set their peers' fonts with this container's font.
9116         * gnu/java/awt/peer/gtk/GtkLabelPeer.java:
9117         Move all native method declarations to the top for readability.
9118         (gtkSetFont): New native method declaration.
9119         (setFont): New method.
9120         * java/awt/Component.java
9121         (setFont): Invalidate after setting the font.
9122         * java/awt/Container.java
9123         (invalidateTree): New method.
9124         (setFont): Invalidate the container tree after setting the font.
9125         * jni/gtk-peer/gnu_java_awt_peer_gtk_GdkGraphics.c
9126         (Java_gnu_java_awt_peer_gtk_GdkGraphics_drawString): Use font style.
9127         * jni/gtk-peer/gnu_java_awt_peer_gtk_GtkCheckboxPeer.c
9128         (Java_gnu_java_awt_peer_gtk_GtkCheckboxPeer_gtkSetFont): New method.
9129         * jni/gtk-peer/gnu_java_awt_peer_gtk_GtkComponentPeer.c
9130         (Java_gnu_java_awt_peer_gtk_GtkComponentPeer_gtkSetFont): New method.
9131         * jni/gtk-peer/gnu_java_awt_peer_gtk_GtkLabelPeer.c
9132         (Java_gnu_java_awt_peer_gtk_GtkLabelPeer_gtkSetFont): New method.
9133
9134 2004-02-27  Olga Rodimina <rodimina@redhat.com>
9135
9136         * gnu/java/awt/peer/gtk/GdkGraphics2D.java
9137         (updateBufferedImage): New helper function.
9138         Updates BufferedImage in memory if it was changed.
9139         (draw): changed to update BufferedImage in memory after
9140         this drawing operation
9141         (fill): Ditto.
9142         (draw3DRect): Ditto.
9143         (fill3DRect): Ditto.
9144         (clearRect): Ditto.
9145         (drawRaster): Ditto.
9146         (drawImage) : Ditto. Update only in case of GtkOffScreenImage with 
9147         no affine transformation.
9148         (drawGlyphVector): Ditto.
9149
9150 2004-02-26  Olga Rodimina <rodimina@redhat.com>
9151
9152         * gnu/java/awt/peer/gtk/GdkGraphics2D.java
9153         (isBufferedImageGraphics): New Helper function. 
9154         Returns true if this graphics2d can be used to draw 
9155         into buffered image and false otherwise.
9156         (updateImagePixels): New Helper function. 
9157         Updates pixels in the BufferedImage.
9158         * jni/gtk-peer/gnu_java_awt_peer_gtk_GdkGraphics2D.c
9159         (getImagePixels): New function. Returns pixels
9160         of the buffered image associated with 
9161         this Graphics2D.
9162
9163 2004-02-26  David Jee  <djee@redhat.com>
9164
9165         * java/awt/BorderLayout.java
9166         (layoutContainer): Fix width and height calculations to ensure
9167         that they're non-negative.
9168         * java/awt/Component.java
9169         (setBackground): If c is null, inherit from closest ancestor whose
9170         background color is set.
9171
9172 2004-02-26  Kim Ho  <kho@redhat.com>
9173
9174         * Makefile.am: Add new files.
9175         * Makefile.in: Re-generate.
9176         * javax/swing/JProgressBar.java: 
9177         (JProgressBar(int, int int)): Throw
9178         IllegalArgumentException if orientation is
9179         invalid.
9180         (JProgressBar(BoundedRangeModel)): Create
9181         ChangeListener and register it. UpdateUI.
9182         (getChangeListeners): Implement.
9183         (setModel): Reset ChangeListener.
9184         * javax/swing/JScrollBar.java: Implement.
9185         * javax/swing/JSeparator.java: Implement.
9186         * javax/swing/JSlider.java:
9187         (JSlider(int, int, int, int)): Throw 
9188         IllegalArgumentException if orientation
9189         is invalid.
9190         (getChangeListeners): Fix method name.
9191         * javax/swing/SwingUtilities.java:
9192         (layoutCompoundLabel): If there is no text,
9193         set the text rectangle dimensions to 0.
9194         * javax/swing/plaf/basic/BasicButtonUI.java:
9195         (paint): If there is no text, don't paint it.
9196         * javax/swing/plaf/basic/BasicScrollBarUI.java:
9197         Implement.
9198         * javax/swing/plaf/basic/BasicSeparatorUI.java:
9199         Implement.
9200         * javax/swing/plaf/basic/BasicSliderUI.java: 
9201         (propertyChange): If the model changes, change
9202         the listeners accordingly.
9203
9204 2004-02-25  Graydon Hoare  <graydon@redhat.com>
9205
9206         * javax/swing/AbstractButton.java: Add "final" qualifiers.
9207         * javax/swing/JList.java: Reimplement.
9208         * javax/swing/DefaultListSelectionModel.java: Reimplement.
9209         * javax/swing/plaf/basic/BasicListUI.java: Reimplement.
9210         * javax/swing/plaf/basic/BasicLookAndFeel.java: Add "purple" values.
9211         * javax/swing/ListModel.java: Javadoc.
9212         * javax/swing/ListSelectionModel.java: Add missing methods.
9213         * javax/swing/AbstractListModel.java: Javadoc and corrections.
9214         * javax/swing/DefaultListModel.java: Javadoc and corrections.
9215         * javax/swing/ListModel.java: Javadoc and corrections.
9216         * javax/swing/DefaultListCellRenderer.java: Minor tidying.
9217
9218 2004-02-25  David Jee  <djee@redhat.com>
9219
9220         * gnu/java/awt/peer/gtk/GtkFontPeer.java
9221         (GtkFontPeer): Change default size to 12.
9222         * gnu/java/awt/peer/gtk/GtkToolkit.java
9223         (getFontPeer): Change default size to 12.
9224         (getClasspathFontPeer): Likewise. Set default name to "Default".
9225         * java/awt/Font.java
9226         (Font(Map)): Call Font(String,Map).
9227         (Font(String,Map)): If attrs is null, initialize it as an empty
9228         HashMap, which will ensure that the Font will get default attributes.
9229
9230 2004-02-25  David Jee  <djee@redhat.com>
9231
9232         * gnu/java/awt/peer/gtk/GtkFontPeer.java
9233         (GtkFontPeer(String,int)): Call the new constructor with size 1.
9234         (GtkFontPeer(String,int,int)): New constructor with size attribute.
9235         * gnu/java/awt/peer/gtk/GtkToolkit.java
9236         (getFontPeer(String,int)): Call the new overload method with size 1.
9237         (getFontPeer(String,int,int)): New method. Overloaded with size
9238         attribute.
9239         (getClasspathFontPeer): Set the size of the font.
9240
9241 2004-02-24  Olga Rodimina  <rodimina@redhat.com>
9242
9243         * gnu/java/awt/peer/gtk/GdkGraphics2D.java
9244         (bimage): New field.
9245         (GdkGraphics2D): New Constructor. Constructs Graphics
9246         object that can be used to draw into the Buffered Image.
9247         * gnu/java/awt/peer/gtk/GdkGraphicsEnvironment.java:
9248         (GdkGraphicsEnvironment): Fixed to include public 
9249         keyword.
9250         (createGraphics): Implemented.
9251         * gnu/java/awt/peer/gtk/GtkToolkit.java
9252         (getLocalGraphicsEnvironment): Implemented.
9253         * java/awt/GraphicsEnvironment.java:
9254         (getLocalGraphicsEnvironment): Implemented.
9255         * java/awt/image/BufferedImage.java:
9256         (createGraphics): Implemented.
9257                 
9258 2004-02-24  David Jee  <djee@redhat.com>
9259
9260         * java/awt/Component.java
9261         (eventTypeEnabled): Add MOUSE_MOVED and MOUSE_DRAGGED event types.
9262         * java/awt/Container.java
9263         (addNotifyContainerChildren): Fix event enabling.
9264
9265 2004-02-23  Olga Rodimina  <rodimina@redhat.com>
9266
9267         * Makefile.am: Added 
9268         gnu/java/awt/peer/gtk/GdkGraphicsEnvironment.java
9269         * Makefile.in: Re-generated.
9270         * gnu/java/awt/peer/gtk/GdkGraphicsEnvironment.java:
9271         New Class. 
9272         
9273 2004-02-19  Kim Ho  <kho@redhat.com>
9274
9275         * Makefile.am: Add BasicProgressBarUI
9276         * Makefile.in: Regenerate.
9277         * javax/swing/JProgressBar.java: 
9278         Re-implement.
9279         * javax/swing/plaf/basic/BasicLookAndFeel.java
9280         Add constants for JProgressBar.
9281         * javax/swing/plaf/basic/BasicProgressBarUI.java
9282         Implement.
9283         * javax/swing/plaf/basic/BasicSliderUI.java
9284         Change comments.
9285         (calculateGeometry): New method
9286         (paint): Remove unnecessary size calculations.
9287
9288 2004-02-18  Olga Rodimina  <rodimina@redhat.com>
9289
9290         * gnu/java/awt/peer/gtk/GdkGraphics2D.java
9291         (drawRaster): Fixed small error that caused
9292         imageToUser transformation to be set incorrectly.
9293         (toString): Implemented.
9294
9295 2004-02-18  David Jee  <djee@redhat.com>
9296
9297         * java/awt/CardLayout.java
9298         (addLayoutComponent): Show the first component added as the default.
9299         (removeLayoutComponent): After removing, show the next component.
9300         (gotoComponent): If there is only one component, show it and return.
9301
9302 2004-02-18  Kim Ho  <kho@redhat.com>
9303
9304         * javax/swing/JSlider.java: Re-order
9305         modifiers.
9306         * javax/swing/JLabel.java: Re-order
9307         modifiers.
9308         * javax/swing/JComponent.java: 
9309         (addPropertyChangeListener):
9310         Implement.
9311         (removePropertyChangeListener):
9312         ditto.
9313         (firePropertyChangeEvent):
9314         ditto.
9315
9316 2004-02-17  David Jee  <djee@redhat.com>
9317
9318         * java/awt/Component.java
9319         (show): Dispatch ComponentEvent via system event queue.
9320         (hide): Likewise.
9321         (move): Likewise.
9322         (resize): Likewise.
9323         (reshape): Likewise.
9324         * java/awt/Window.java
9325         (setBoundsCallback): Likewise.
9326
9327 2004-02-17  David Jee  <djee@redhat.com>
9328
9329         * jni/gtk-peer/gnu_java_awt_peer_gtk_GtkComponentPeer.c
9330         (Java_gnu_java_awt_peer_gtk_GtkComponentPeer_setNativeBounds):
9331         Use gtk_widget_set_size_request() instead of the deprecated
9332         gtk_widget_set_usize().
9333
9334 2004-02-17  Kim Ho  <kho@redhat.com>
9335
9336         * javax/swing/JSlider.java: Fix comments and
9337         make property strings constants.
9338         (createStandardLabels): Use the labels
9339         preferred size as bounds.
9340         * javax/swing/plaf/basic/BasicSliderUI.java
9341         Fix comments.
9342         (ScrollHandler::actionPerformed): Don't
9343         calculate the timer stop value. Let the
9344         MouseListeners find the stop location.
9345         (getPreferredHorizontalSize): Re-implement.
9346         (getPreferredVerticalSize): ditto.
9347         (getMinimumHorizontalSize): ditto.
9348         (getMinimumVerticalSize): ditto.
9349         (getPreferredSize): ditto.
9350         (getMinimumSize): ditto.
9351         (getMaximumSize): ditto.
9352         (paintTicks): Use doubles to find the
9353         tick location.
9354         (paintHorizontalLabel):  Use preferredSize
9355         as initial width and height.
9356         (paintVerticalLabel): ditto.
9357
9358 2004-02-17  Kim Ho  <kho@redhat.com>
9359
9360         * javax/swing/JLabel.java: Changed 
9361         property strings to constants.
9362         (DISPLAYED_MNEMONIC_INDEX_CHANGED_PROPERTY):
9363         New property.
9364         (setText): Change mnemonic index if
9365         text is too short.
9366         (setDisplayedMnemonicIndex): Fire property
9367         change event.
9368         (getDisplayedMnemonicIndex): Remove check
9369         against short text.
9370
9371 2004-02-17 Olga Rodimina <rodimina@redhat.com>
9372
9373         * gnu/java/awt/peer/gtk/GdkGraphics2D.java:
9374         (drawImage(img,xform,obs)): Invert xform before
9375         passing the xform to cairo.
9376         (drawImage(img,x,y,bgcolor,obs)): Implemented.
9377         (drawImage (img,x,y,w,h,bgcolor,obs)): Partly
9378         implemented.
9379         (drawImage (img,x,y,w,h,obs)): Implemented.
9380         (drawImage (img,dx1,dy1,dx2,dy2,sx1,sy1,sx2,sy2,
9381         bgcolor,obs)): Partly implemented.
9382         (drawImage (img,dx1,dy1,dx2,dy2,sx1,sy1,sx2,sy2,obs)):
9383         Implemented.
9384         * java/awt/image/BufferedImage.java:
9385         (copyData): if dest is null, create raster with same
9386         dimensions as the current image.
9387
9388 2004-02-16  Graydon Hoare  <graydon@redhat.com>
9389
9390         * javax/swing/plaf/basic/BasicLabelUI.java 
9391         (getPreferredSize): Use layoutCL.
9392         * javax/swing/plaf/basic/BasicGraphicsUtils.java 
9393         (getPreferredButtonSize): Start with empty view rect, layout using
9394         component's preferred alignment.
9395         * javax/swing/plaf/basic/BasicLookAndFeel.java: Add some Label and
9396         List defaults.
9397
9398 2004-02-16  David Jee  <djee@redhat.com>
9399
9400         * java/awt/Component.java
9401         (show): Dispatch COMPONENT_SHOWN ComponentEvent.
9402         (hide): Dispatch COMPONENT_HIDDEN ComponentEvent.
9403         (move): Erase old bounds and repaint new bounds. Dispatch
9404         COMPONENT_MOVED ComponentEvent.
9405         (resize): Erase old bounds and repaint new bounds. Dispatch
9406         COMPONENT_RESIZED ComponentEvent.
9407         (reshape): Dispatch COMPONENT_RESIZED and COMPONENT_MOVED
9408         ComponentEvents.
9409         * java/awt/Window.java
9410         (setBoundsCallback): Dispatch COMPONENT_RESIZED and COMPONENT_MOVED
9411         ComponentEvents.
9412
9413 2004-02-16  Olga Rodimina  <rodimina@redhat.com>
9414
9415         * gnu/java/awt/peer/gtk/GdkGraphics2D.java:
9416         (setRenderingHint): Added implementation of 
9417         Interpolation rendering hints.
9418         (setRenderingHints): Ditto.
9419         * jni/gtk-peer/gnu_java_awt_peer_gtk_GdkGraphics2D.c:
9420         (drawPixels): fixed to allow user to choose type 
9421         of filtering that should be used when displaying images.
9422         (cairoSurfaceSetFilter): New method. Sets filter type for 
9423         interpolation of pixel values.
9424
9425 2004-02-16  David Jee  <djee@redhat.com>
9426
9427         * java/awt/GridBagLayout.java
9428         (calcCellSizes): Rows or columns with zero sizes should still be
9429         considered for extra space distribution.
9430
9431 2004-02-16  Kim Ho  <kho@redhat.com>
9432
9433         * javax/swing/JLabel.java: Re-implement.
9434         * javax/swing/plaf/basic/BasicLabelUI.java
9435         Re-implement.
9436         * javax/swing/plaf/basic/BasicLookAndFeel.java:
9437         Added constant.
9438
9439 2004-02-16  Kim Ho  <kho@redhat.com>
9440
9441         * javax/swing/JSlider.java: Fix indentation and comments.
9442         (setModel): Remove null check to conform with Sun's.
9443         (setOrientation): Throw exception if not
9444         HORIZONTAL or VERTICAL.
9445         (getInverted): Use private variable instead of 
9446         ComponentOrientation.
9447         (setInverted): ditto.
9448         * javax/swing/plaf/basic/BasicSliderUI.java:
9449         Fix indentation and comments.
9450         (propertyChange): Remove check for inverted slider, handle
9451         in main paint.
9452         (getMinimumSize): Return preferred size.
9453         (getMaximumSize): ditto.
9454         (calculateFocusRect): Don't relocate rectangle.
9455         (drawInverted): Return XOR of the slider's inversion and 
9456         the component's orientation.
9457         (paint): Update leftToRightCache
9458
9459 2004-02-13  David Jee  <djee@redhat.com>
9460
9461         * java/awt/GridBagLayout.java
9462         (GetLayoutInfo): Fix weight and size distribution. Relocate repeated
9463         code to helper methods.
9464         (sortBySpan): New helper method.
9465         (distributeSizeAndWeight): Likewise.
9466         (calcCellWeights): Likewise.
9467         (calcCellSizes): Add comments.
9468
9469 2004-02-13  David Jee  <djee@redhat.com>
9470
9471         * java/awt/Component.java
9472         (show): Only do something if component is invisible at the moment.
9473         (hide): Only do something if component is visible at the moment.
9474         (reshape): If lightweight, erase old bounds and repaint new bounds.
9475
9476 2004-02-13  Kim Ho  <kho@redhat.com>
9477
9478         * Makefile.am: Updated for new file.
9479         * Makefile.in: Regenerated.
9480         * javax/swing/JSlider.java: Reimplement.
9481         * javax/swing/SwingUtilities.java
9482         (layoutCompoundLabel): Use icon height
9483         instead of width.
9484         (paintComponent): Implement.
9485         * javax/swing/plaf/basic/BasicLookAndFeel.java:
9486         Add JSlider defaults.
9487         * javax/swing/plaf/basic/BasicSliderUI.java:
9488         Implement. New file.
9489
9490 2004-03-17  Michael Koch  <konqueror@gmx.de>
9491
9492         * gnu/java/net/PlainDatagramSocketImpl.java
9493         (RECEIVE_LOCK): New member field.
9494         (SEND_LOCK): New member field.
9495         (send0): New method.
9496         (send): Synchronize on SEND_LOCK.
9497         (receive0): New method.
9498         (receive): Synchronize on RECEIVE_LOCK.
9499         * gnu/java/net/natPlainDatagramSocketImplNoNet.cc,
9500         gnu/java/net/natPlainDatagramSocketImplPosix.cc,
9501         gnu/java/net/natPlainDatagramSocketImplWin32.cc
9502         (send0): Renamed from send.
9503         (receive0): Renamed from receive.
9504 2004-03-17  Michael Koch  <konqueror@gmx.de>
9505
9506         * gnu/java/net/natPlainSocketImplPosix.cc
9507         (write): Just call write(jbyteArray, offset, len).
9508         (read): Just call read(jbyteArray, offset, len).
9509
9510 2004-03-16  Michael Koch  <konqueror@gmx.de>
9511
9512         * javax/swing/JTabbedPane.java
9513         (serialVersionUID): New field.
9514
9515 2004-03-16  Norbert Frese  <postfach@nfrese.net>
9516
9517         * java/net/InetAddress.java
9518         (getByName): Handle hostname == "" case.
9519
9520 2004-03-16  Dalibor Topic  <robilad@kaffe.org>
9521
9522         Reported by: Adam Heath <doogie@debian.org>
9523         * gnu/javax/rmi/CORBA/DelegateFactory.java (getInstance): Use context
9524         class loader.
9525
9526 2004-03-15  Michael Koch  <konqueror@gmx.de>
9527
9528         * java/util/Locale.java: Reverting my last patch
9529         and add a comment why the original version was okay.
9530
9531 2004-03-14  Andreas Tobler <a.tobler@schweiz.ch>
9532
9533         * gnu/java/nio/channels/natFileChannelPosix.cc: Implement
9534         munmap_adaptor and msync_adaptor for older POSIX_C_SOURCES specs.
9535         (MappedByteBufferImpl::unmapImpl): Use munmap_adaptor.
9536         (MappedByteBufferImpl::forceImpl): Use msync_adptor.
9537
9538 2004-03-12  Michael Koch  <konqueror@gmx.de>
9539
9540         * java/text/DateFormatSymbols.java: Fixed file name in copyright.
9541
9542 2004-03-12  Ito Kazumitsu  <ito.kazumitsu@hitachi-cable.co.jp>
9543
9544         * java/net/URI.java (toURL): Implemented.
9545
9546 2004-03-12  Ito Kazumitsu  <ito.kazumitsu@hitachi-cable.co.jp>
9547
9548         * java/net/URI.java
9549         (URI_REGEXP) updated to contain scheme specific part.
9550         (SCHEME_SPEC_PART_GROUP) new constant.
9551         (AUTHORITY_GROUP, PATH_GROUP, QUERY_GROUP, FRAGMENT_GROUP)
9552         updated to make room for SCHEME_SPEC_PART_GROUP.
9553         (parseURI) parse scheme specific part.
9554         (resolve, isAbsolute, isOpaque, getRawSchemeSpecificPart,
9555         getSchemeSpecificPart, getAuthority, getUserInfo, getPath,
9556         getQuery, getFragment) implemented.
9557
9558 2004-03-12  Dalibor Topic  <robilad@kaffe.org>
9559
9560         * libraries/javalib/java/net/URI.java
9561         partially implemented using java.util.regex.
9562         (URI_REGEXP) new constant. Used to parse URIs.
9563         (SCHEME_GROUP) new constant representing index of scheme group
9564         in parsed URI.
9565         (AUTHORITY_GROUP) new constant representing index of authority
9566         group in parsed URI.
9567         (PATH_GROUP) new constant representing index of path group in
9568         parsed URI.
9569         (QUERY_GROUP) new constant representing index of query group in
9570         parsed URI.
9571         (FRAGMENT_GROUP) new constant representing index of fragment
9572         group in parsed URI.
9573         (getURIGroup) new static utility method.
9574         (parseURI) implemented.
9575         (quote) stub for new static utility method.
9576         (quoteAuthority) stub for new static utility method.
9577         (quoteHost) stub for new static utility method.
9578         (quotePath) stub for new static utility method.
9579         (quoteUserInfo) stub for new static utility method.
9580         (URI) implemented.
9581         (create) don't throw URISyntaxException. Implemented.
9582         (toString) implemented.
9583
9584 2004-03-12  Michael Koch  <konqueror@gmx.de>
9585
9586         * java/net/HttpURLConnection.java
9587         (getResponseCode): Fix another typo in javadoc.
9588
9589 2004-03-11  Michael Koch  <konqueror@gmx.de>
9590
9591         * java/util/logging/Level.java
9592         (parse): Use String.equals() instead of ==.
9593
9594 2004-03-11  Michael Koch  <konqueror@gmx.de>
9595
9596         * gnu/java/net/protocol/jar/Connection.java
9597         (getContentLength): New method.
9598
9599 2004-03-11  Michael Koch  <konqueror@gmx.de>
9600
9601         * gnu/java/net/PlainSocketImpl.java:
9602         Reformated to merge better with classpath's version.
9603
9604 2004-03-11  Michael Koch  <konqueror@gmx.de>
9605
9606         * java/util/Locale.java
9607         (getISO3Language): Use String.equals() instead of ==.
9608         (getISO3Country): Likewise.
9609
9610 2004-03-11  Dalibor Topic  <robilad@kaffe.org>
9611
9612         * java/text/AttributedString.java
9613         (addAttribute(AttributedCharacterIterator.Attribute,Object,int,int)):
9614         Use HashMap instead of Hashtable since value can be null, and
9615         you can not store a null value in a Hashtable.
9616
9617 2004-03-11  Guilhem Lavaux <guilhem@kaffe.org>
9618
9619         * java/text/AttributedStringIterator.java
9620         (getAllAttributesKey): Return only keys concerned
9621         by the current iterator.
9622         (getAttributes): Use strict inequality for
9623         end_index. 
9624
9625 2004-03-11  Michael Koch  <konqueror@gmx.de>
9626
9627         * java/net/HttpURLConnection.java:
9628         Fixed typo in javadoc.
9629
9630 2004-03-11  Guilhem Lavaux  <guilhem@kaffe.org>
9631
9632         * java/io/BufferedInputStream.java (marktarget): New field for max
9633         mark limit.
9634         (CHUNKSIZE): New constant for incremental mark buffer allocation.
9635         (mark): Use new fields.
9636         (read): Likewise.
9637         (read(byte[],int,int)): Likewise.
9638         (skip): Likewise.
9639         (refill): Likewise.
9640
9641 2004-03-11  Mark Wielaard  <mark@klomp.org>
9642
9643         * java/beans/BeanDescriptor.java (BeanDescriptor):
9644         Set the FeatureDescriptor programmatic name.
9645
9646 2004-03-11  Michael Koch  <konqueror@gmx.de>
9647
9648         * gnu/java/nio/channels/natFileChannelEcos.cc: Totally reworked.
9649         This file was was just copied form java/io/natFileDescriptorEcos.cc
9650         and never changed to compile correctly.
9651
9652 2004-03-11  Michael Koch  <konqueror@gmx.de>
9653
9654         * gnu/java/nio/PipeImpl.java
9655         (SourceChannelImpl): Made final.
9656         (read): Implemented.
9657         (SinkChannelImpl): Made final.
9658         (write): Implemented.
9659
9660 2004-03-11  Michael Koch  <konqueror@gmx.de>
9661
9662         * gnu/java/net/PlainDatagramSocketImpl.java:
9663         Reformated to match classpath's version more.
9664
9665 2004-03-11  Michael Koch  <konqueror@gmx.de>
9666
9667         * gnu/java/awt/peer/ClasspathFontPeer.java:
9668         Fixed javadoc to be correct xhtml.
9669         * gnu/java/awt/peer/gtk/GtkArgList.java
9670         (add): Use Boolean.valueOf() instead of new Boolean().
9671
9672 2004-03-09  Michael Koch  <konqueror@gmx.de>
9673
9674         * java/lang/Thread.java
9675         (runnable): Moved around.
9676         (daemon): Renamed from daemon_flag.
9677         (contextClassLoader): Renamed from context_class_loader.
9678         (Thread): Reordered constructors.
9679         (activeCount): Use group directly.
9680         (destroy): Make it a java method. Throw NoSuchMethodError like Sun does.
9681         (holdsLock): Reworked javadoc.
9682         (setDaemon): Reworked.
9683         * java/lang/natThread.cc
9684         (destroy): Removed.
9685
9686 2004-03-08  Anthony Green  <green@redhat.com>
9687
9688         * Makefile.am: Build property resource files into libgcj.
9689         * Makefile.in: Rebuilt.
9690         * java/util/regex/Matcher.java, java/util/regex/Pattern.java,
9691         java/util/regex/PatternSyntaxException.java,
9692         gnu/regexp/CharIndexed.java,
9693         gnu/regexp/CharIndexedCharArray.java,
9694         gnu/regexp/CharIndexedInputStream.java,
9695         gnu/regexp/CharIndexedReader.java,
9696         gnu/regexp/CharIndexedString.java,
9697         gnu/regexp/CharIndexedStringBuffer.java, gnu/regexp/RE.java,
9698         gnu/regexp/REException.java,
9699         gnu/regexp/REFilterInputStream.java,
9700         gnu/regexp/REFilterReader.java, gnu/regexp/REMatch.java,
9701         gnu/regexp/REMatchEnumeration.java, gnu/regexp/RESyntax.java,
9702         gnu/regexp/REToken.java, gnu/regexp/RETokenAny.java,
9703         gnu/regexp/RETokenBackRef.java, gnu/regexp/RETokenChar.java,
9704         gnu/regexp/RETokenEnd.java, gnu/regexp/RETokenEndSub.java,
9705         gnu/regexp/RETokenLookAhead.java,
9706         gnu/regexp/RETokenOneOf.java, gnu/regexp/RETokenPOSIX.java,
9707         gnu/regexp/RETokenRange.java, gnu/regexp/RETokenRepeated.java,
9708         gnu/regexp/RETokenStart.java,
9709         gnu/regexp/RETokenWordBoundary.java,
9710         gnu/regexp/UncheckedRE.java: Files merged from GNU Classpath.
9711
9712 2004-03-03  Per Bothner  <per@bothner.com>
9713
9714         * java/nio/channels/Channels.java (newInputStream, newOutputStream):
9715         Optimize when argument is a FileChannelImpl.
9716         (newInputStream(FileChannelImpl), newOutputStream(FileChannelImpl)):
9717         New native methods.
9718         * java/nio/channels/natChannels.cc:  New file for new native methods.
9719         * Makefile.am:  Update accordingly.
9720
9721 2004-03-02  Jan Hubicka  <jh@suse.cz>
9722
9723         * configure.host: Pass -fno-omit-frame-pointer for i386.
9724         * configure.in: Likewise.
9725         * configure: Regenerate.
9726
9727 2004-03-01  Per Bothner  <per@bothner.com>
9728
9729         * java/lang/natPosixProcess.cc (startProcess):  Fix thinko.
9730
9731 2004-02-29  Per Bothner  <per@bothner.com>
9732
9733         * java/nio/channels/FileChannelImpl.java:  Moved to package
9734         gnu/java/nio/channels, since we need to refer to it from java.io.
9735         * java/nio/channels/natFileChannelImpl.cc:  Removed file.
9736         * gnu/java/nio/channels/FileChannelImpl.java:  New class, renamed
9737         from java/nio/channels.  Don't depend on FileDescriptor.
9738         (in, out, err):  New static fields.
9739         (mode):  New field.
9740         (SET, CUR, READ, WRITE, APPEND, EXCL, SYNC, DSYNC):  Moved constants
9741         from FileDescriptor.
9742         (by):  Removed MappedByteBuffer field.
9743         (map):  New working implementation.
9744         * gnu/java/nio/channels/natFileChannelPosix.cc:  New file, though
9745         some code "ported" from natFileDescriptoPosix.cc.
9746         * gnu/java/nio/channels/natFileChannelEcos.cc:  Likewise.
9747         * gnu/java/nio/channels/natFileChannelWin32.cc  Likewise.
9748         * java/io/FileDescriptor.java:  Implement on top of FileChannel.
9749         Remove native methods.
9750         * Makefile.am, configure.in:  Updated accordingly.
9751
9752         * gnu/java/nio/FileLockImpl.java (fd):  Remove field, replacing it by:
9753         (ch):  New FileChannelImpl field.  Update constructor to match.
9754         (releaseImpl):  Remove native method.  Instead ...
9755         (release):  Call unlock on channel.
9756         * gnu/java/nio/natFileLockImpl.cc:  Removed file.
9757
9758         * java/io/natFileDescriptorEcos.cc:  Remove file.
9759         * java/io/natFileDescriptorPosix.cc:  Remove file.
9760         * java/io/natFileDescriptorWin32.cc:  Remove file.
9761         * java/io/FileInputStream.java (ch):  Change type to FileChannelImpl.
9762         (<init>(File)):  Allocate a FileChannelImpl, not a FileDescriptor.
9763         (<init>(FileChannelImpl)):  New package-private constructor.
9764         (<init>(FileDescriptor)):  Extract FileChannelImpl from arg.
9765         (available, close, read, skip):  Implement using FileChannelImpl.
9766         (getFD):  Allocate FileDescriptor if needed.
9767         (getChannel):  Is now trivial.
9768         * java/io/FileOutputStream.java:  Corresponding changes.
9769         * java/io/RandomAccessFile.java:  Corresponding changes.
9770
9771         * java/nio/MappedByteBuffer.java: (forceImpl, isLoadedImpl, loadImpl,
9772         unmapImpl):  New dummy methods, to be overridden by subclass.
9773         (finalize, isLoaded, load, force):  New methods.
9774         * java/nio/MappedByteBufferImpl.java:  More-or-less rewrite.
9775         Now works, at least for read mapping.
9776
9777         * java/lang/natPosixProcess.cc (startProcess):  Implement standard
9778         streams using FileChannelImpl, not FileDescriptor.
9779         * java/lang/natWin32Process.cc (startProcess):  Likewise.
9780
9781 2004-02-28  Michael Koch  <konqueror@gmx.de>
9782
9783         * java/io/ObjectInputStream.java: Compile fix, damn I commited the
9784         wrong code.
9785
9786 2004-02-28  Guilhem Lavaux <guilhem@kaffe.org>
9787
9788         * java/io/ObjectInputStream.java
9789         (readClassDescriptor): Keep elements of the mapping non null.
9790         (checkTypeConsistency): New method.
9791         (readFields): Fixed main loop and base logic. Small reindentation.
9792         * java/io/ObjectStreamField.java
9793         (lookupField): New method to update the field reference.
9794         (checkFieldType): New method.
9795         * java/io/ObjectStreamClass.java
9796         (setClass, setFields): Call lookupField when building the field
9797         database. Check the real field type.
9798
9799 2004-02-28  Michael Koch  <konqueror@gmx.de>
9800
9801         * java/nio/ByteOrder.java
9802         (nativeOrder): Use equals() to compare strings.
9803
9804 2004-02-26  Michael Koch  <konqueror@gmx.de>
9805
9806         * gnu/java/nio/FileLockImpl.java
9807         (finalize): Made protected.
9808         * java/nio/channels/FileChannel.java
9809         (MapMode.READ_ONLY): Made final.
9810         (MapMode.READ_WRITE): Made final.
9811         (MapMode.PRIVATE): Made final.
9812         * java/nio/channels/SocketChannel.java
9813         (open): Simplified code.
9814         * java/nio/channels/spi/AbstractSelectableChannel.java
9815         (registered): Unused, removed.
9816         (keyFor): Check channel is open, only locate key
9817         and not add a new one.
9818         (register): Don't delete attachments.
9819
9820 2004-02-26  Michael Koch  <konqueror@gmx.de>
9821
9822         * gnu/java/awt/ComponentDataBlitOp.java
9823         (INSTANCE): Made final.
9824         * gnu/java/awt/image/ImageDecoder.java:
9825         Reworked imports.
9826         (cm): Unused, removed.
9827
9828 2004-02-26  Michael Koch  <konqueror@gmx.de>
9829
9830         * gnu/java/nio/DatagramChannelImpl.java
9831         (send): Check if target address is resolved.
9832
9833 2004-02-26  Michael Koch  <konqueror@gmx.de>
9834
9835         * Makefile.am: Generate and install headers for inner classes in
9836         java.nio.channels.Pipe and gnu.java.nio.PipeImpl.
9837         * Makefile.in: Regenerated.
9838
9839 2004-02-24  Anthony Green  <green@redhat.com>
9840
9841         * java/lang/StringBuffer.java: No need to NULL out remainder of
9842         buffer since ensureCapacity_unsynchronized will have done this for
9843         us.
9844
9845 2004-02-20  Michael Koch  <konqueror@gmx.de>
9846
9847         * gnu/java/net/protocol/jar/Handler.java
9848         (): Removed unneeded check for file != null. java.net.URL.getFile()
9849         returns an empty string but never null.
9850
9851 2004-02-20  Michael Koch  <konqueror@gmx.de>
9852
9853         * gnu/gcj/convert/Convert.java
9854         (main): Use equals() to compare strings.
9855
9856 2004-02-20  Michael Koch  <konqueror@gmx.de>
9857
9858         * javax/swing/AbstractButton.java: Made several constants final.
9859         (getRolloverSelectedIcon): Made public.
9860         (getSelectedIcon): Made public.
9861
9862 2004-02-16  Per Bothner  <per@bothner.com>
9863
9864         * java/nio/CharBufferImpl.java:  Inline super constructor.
9865         * java/nio/DoubleBufferImpl.java:  Likewise.
9866         * java/nio/FloatBufferImpl.java:  Likewise.
9867         * java/nio/IntBufferImpl.java:  Likewise.
9868         * java/nio/LongBufferImpl.java:  Likewise.
9869         * java/nio/ShortBufferImpl.java:  Likewise.
9870         * java/nio/CharBuffer.java:  Remove unused constructor.
9871         * java/nio/DoubleBuffer.java:  Likewise.
9872         * java/nio/FloatBuffer.java:  Likewise.
9873         * java/nio/IntBuffer.java:  Likewise.
9874         * java/nio/LongBuffer.java:  Likewise.
9875         * java/nio/ShortBuffer.java:  Likewise.
9876         * java/nio/CharViewBufferImpl.java:  New convenience constructor.
9877         Fix buggy call to super constructor.
9878         * java/nio/DoubleViewBufferImpl.java:  Likewise.
9879         * java/nio/FloatViewBufferImpl.java:  Likewise.
9880         * java/nio/IntViewBufferImpl.java:  Likewise.
9881         * java/nio/LongViewBufferImpl.java:  Likewise.
9882         * java/nio/ShortViewBufferImpl.java:  Likewise.
9883         
9884         * java/nio/ByteBuffer.java (endian):  Make non-private so other
9885         java.nio classes can inherit it.
9886         (<init>):  Don't bother clearing array_offset.
9887         * java/nio/ByteBuffer.java (allocate):  Re-implement using wrap.
9888         * java/nio/ByteBuffer.java (get(byte[],int,int)):  Check underflow.
9889         Remove redundant test.
9890
9891         * java/nio/ByteBufferImpl.java (asCharBuffer, asShortBuffer,
9892         asIntBuffer, asLongBuffer, asFloatBuffer, asDoubleBuffer):
9893         Use new XxxViewBufferImpl constructors.
9894         * java/nio/MappedByteBufferImpl.java:  Likewise.
9895         * java/nio/DirectByteBufferImpl.java:  Likewise.
9896
9897         * java/nio/ByteBufferImpl.java:  Remove one constructor.
9898         Inline super in remaining constructor.
9899         * java/nio/ByteBuffer.java:  Remove unused constructor.
9900
9901         * java/nio/ByteBufferImpl.java (shiftDown):  New optimized method.
9902
9903         * java/nio/ByteBufferImpl.java (get, put):  Add array_offset.
9904         * java/nio/DirectByteBufferImpl.java (owner):  New field.
9905         (offset):  Remove unused field.
9906         (<init>):  Modify one and add another constructor.  Change callers.
9907         (allocateDirect):  Removed - not used.
9908         (getImpl, putImpl):  Make static and pass address explicitly,
9909         to make them useful for MappedByteBufferImpl.
9910         (get, put):  Check for underflow.  Modify for new getImpl.
9911         (getImpl):  New native method where target is array.
9912         (get(byte[],int,int)):  Use the above.
9913         (adjustAddress):  New static native method.
9914         (slice, duplicate, asReadOnly):  New implementations.
9915         * java/nio/natDirectByteBufferImpl.cc (getImpl, putImpl, shiftDown,
9916         adjustAddress):  New or updated native methods.
9917
9918 2004-02-15  Ito Kazumitsu  <kaz@maczuka.gcd.org>
9919
9920         * java/io/ObjectInputStream.java (readClassDescriptor): Avoid the
9921         overflow of fieldmapping.
9922
9923 2004-02-14  Sascha Brawer  <brawer@dandelis.ch>
9924
9925         * javax/swing/undo/UndoManager.java: Re-written from scratch.
9926
9927 2004-02-14  Per Bothner  <per@bothner.com>
9928
9929         * java/nio/channels/spi/AbstractInterruptibleChannel.java (close):
9930         Set closed before calling implCloseChannel, as in the spec.
9931
9932 2004-02-09  Graydon Hoare  <graydon@redhat.com>
9933
9934         * javax/swing/ToggleButtonModel.java: Remove dead class.
9935         * javax/swing/plaf/basic/BasicDefaults.java: Remove dead class.
9936         * javax/swing/plaf/basic/BasicButtonListener.java: New class.
9937         * javax/swing/plaf/basic/BasicRootPaneUI.java: New class.
9938         * Makefile.am: Update for new and removed files.
9939         * Makefile.in: Regenerate.
9940
9941         * gnu/java/awt/peer/gtk/GdkGraphics2D.java: Initialize default hints.
9942         * javax/swing/AbstractButton.java 
9943         (AbstractButton): Initialize fields correctly in ctor.
9944         * javax/swing/JCheckbox.java 
9945         (JCheckBox): Override painting flags.
9946         * javax/swing/DefaultButtonModel.java: Conform to sun.
9947         * javax/swing/JComponent.java (paint): Fill with background color
9948         if available.
9949         (processComponentKeyEvent)
9950         (processFocusEvent)
9951         (processKeyEvent)
9952         (processMouseMotionEvent): Remove event-consuming empty methods.
9953         (getUIClassID): Return "ComponentUI" not "JComponent"
9954         * javax/swing/JFrame.java: Remove some debugging chatter.
9955         (JFrame): Subscribe to window events.
9956         * javax/swing/JRadioButton.java 
9957         (JRadioButton): Override painting flags.
9958         * javax/swing/JRootPane.java 
9959         (JRootPane): Set background from UIDefaults.
9960         * javax/swing/JToggleButton.java 
9961         (ToggleButtonModel): New inner class.
9962         (JToggleButton): Override layout alighment.
9963         * javax/swing/SwingUtilities.java:
9964         (getLocalBounds): Return width and height, not x and y.
9965         (calculateInnerArea): Use local bounds, not bounds.
9966         (layoutCompoundLabel): Provide overridden form.
9967         (layoutCompoundLabel): Correct bugs.
9968         * javax/swing/UIDefaults.java: Correct comment.
9969         * javax/swing/plaf/basic/BasicButtonUI.java: 
9970         Move most logic into defaults, external listener.
9971         (paintIcon): Implement icon painting.
9972         (paint): Fix state painting to conform to changes in model.
9973         * javax/swing/plaf/basic/BasicCheckBoxUI.java:
9974         Remove most dead/wrong methods.
9975         (getDefaultIcon): Return defaults.getIcon("CheckBox.icon").
9976         * javax/swing/plaf/basic/BasicIconFactory.java:
9977         (DummyIcon): New class.
9978         (getMenuItemCheckIcon)
9979         (getMenuItemArrowIcon) 
9980         (getMenuArrowIcon)
9981         (getCheckBoxMenuItemIcon)
9982         (getRadioButtonMenuItemIcon)
9983         (createEmptyFrameIcon): Return DummyIcons, not null.
9984         (getCheckBoxIcon): Implement an icon that looks like sun's.
9985         (getRadioButtonIcon): Implement an icon that looks like sun's.
9986         * javax/swing/plaf/basic/BasicLookAndFeel.java 
9987         (initComponentDefaults): Fix impossible values, add some missing.
9988         * javax/swing/plaf/basic/BasicPanelUI.java (gap): Remove field.
9989         * javax/swing/plaf/basic/BasicRadioButtonUI.java:
9990         Remove most dead/wrong methods.
9991         (icon): New field.
9992         (getDefaultIcon): New method.
9993         * javax/swing/plaf/basic/BasicToggleButtonUI.java:
9994         Remove most dead/wrong methods.
9995         * javax/swing/plaf/metal/MetalLookAndFeel.java
9996         (getDefaults): Return super.getDefaults(), not BasicDefaults.
9997         * jni/gtk-peer/gnu_java_awt_peer_gtk_GdkGraphics.c
9998         (Java_gnu_java_awt_peer_gtk_GdkGraphics_clearRect):
9999         Implement "clearing" as drawing, when on pixmap drawables.
10000
10001         * javax/swing/JButton.java (getUIClassID): 
10002         * javax/swing/JCheckBox.java (getUIClassID):
10003         * javax/swing/JEditorPane.java (getUIClassID):
10004         * javax/swing/JLabel.java (getUIClassID): 
10005         * javax/swing/JList.java (getUIClassID): 
10006         * javax/swing/JOptionPane.java (getUIClassID): 
10007         * javax/swing/JPanel.java (getUIClassID): 
10008         * javax/swing/JPasswordField.java (uiClassID): 
10009         * javax/swing/JRadioButton.java (getUIClassID): 
10010         * javax/swing/JRootPane.java (getUIClassID): 
10011         * javax/swing/JScrollPane.java (getUIClassID): 
10012         * javax/swing/JTabbedPane.java (getUIClassID): 
10013         * javax/swing/JToggleButton.java (getUIClassID): 
10014         * javax/swing/JTree.java (getUIClassID): 
10015         * javax/swing/JViewport.java (getUIClassID): 
10016         * javax/swing/text/JTextComponent.java (getUIClassID):
10017         Return "fooUI" not "Jfoo"
10018
10019 2004-02-11  Michael Koch  <konqueror@gmx.de>
10020
10021         * java/net/DatagramSocket.java
10022         (setReuseAddress): Use Boolean.valueOf() instead of creating a new
10023         Boolean object.
10024         (setBroadcast): Likewise.
10025         * java/net/MulticastSocket.java
10026         (setLoopbackMode): Likewise.
10027         * java/net/ServerSocket.java
10028         (setReuseAddress): Likewise.
10029         * java/net/Socket.java
10030         (setTcpNoDelay): Likewise.
10031         (setSoLinger): Likewise.
10032         (setOOBInline): Likewise.
10033         (setKeepAlive): Likewise.
10034         (setReuseAddress): Likewise.
10035         * java/net/URLConnection.java
10036         (setContentHandler): Replace == with equals().
10037         * java/net/URLStreamHandler.java
10038         (hostSEquals): Fix checking host addresses.
10039         (toExternalForm): Dont check protocol for null. We know already its
10040         not null.
10041
10042 2004-02-10  David Jee  <djee@redhat.com>
10043
10044         * java/awt/BorderLayout.java
10045         (calcCompSize): Invisible components get zero dimensions.
10046         * java/awt/Button.java
10047         (setLabel): Set actionCommand.
10048         * java/awt/Component.java
10049         (show): Invalidate component and parent container.
10050         (hide): Likewise.
10051
10052 2004-02-10  David Jee  <djee@redhat.com>
10053
10054         * java/awt/GridBagLayout.java
10055         (GridBagLayout): New private field, internalcomptable.
10056         (lookupInternalConstraints): New method.
10057         (ArrangeGrid): Use components' MINSIZE. Use internalcomptable.
10058         (GetLayoutInfo): Reimplement.
10059         (calcCellSizes): Ignore rows/columns with size 0.
10060
10061 2004-02-10  Michael Koch  <konqueror@gmx.de>
10062
10063         * gnu/java/awt/EmbeddedWindow.java
10064         (setHandle): Use java.awt.Component.getPeer() instead of
10065         java.awt.Component.peer directly.
10066
10067 2004-02-10  David Jee  <djee@redhat.com>
10068
10069         * gnu/java/awt/peer/gtk/GtkButtonPeer.java
10070         (gtkSetLabel): New native method definition.
10071         (setLabel): Use gtkSetLabel.
10072         * jni/gtk-peer/gnu_java_awt_peer_gtk_GtkButtonPeer.c
10073         (Java_gnu_java_awt_peer_gtk_GtkButtonPeer_gtkSetLabel): New method.
10074
10075 2004-02-10  Alan Modra  <amodra@bigpond.net.au>
10076
10077         * include/powerpc-signal.h: Revert 2004-01-21 change.
10078         (INIT_SEGV, INIT_FPE): Provide powerpc64 versions.  Check return
10079         from syscall for ppc32 versions.
10080
10081 2004-02-08  Per Bothner  <per@bothner.com>
10082
10083         * java/nio/ByteBuffer.java (shiftDown):  New helper method.
10084         * java/nio/natDirectByteBufferImpl.cc (shiftDown):  New implementation.
10085         * java/nio/ByteBufferImpl.java (compact):  Use new shiftDown method.
10086         * sava/nio/ByteBufferHelper.java:  Remove redundant 'final' specifiers.
10087         Pass ByteOrder parameter to most methods, since the underlying
10088         ByteBuffer's order isn't always what we should use.
10089         * java/nio/ByteBufferImpl.java:  Pass byte-order various places.
10090         * java/nio/DirectByteBufferImpl.java:  Likewise.
10091         Use ByteBufferHelper methods.
10092         * java/nio/MappedByteBufferImpl.java:  Likewise.
10093         (compact):  Use shiftDown.
10094         * java/nio/CharViewBufferImpl.java (<init>):  Pass byte-order.
10095         (get, put):  Use ByteBufferHelper.
10096         (compact):  Use new shiftDown method.
10097         (duplicate(boolean)):  New helper method.
10098         (duplicate, asReadOnlyBuffer):  Use it.
10099         (order):  Return endian field.
10100         * java/nio/DoubleViewBufferImpl.java:  Likewise.
10101         * java/nio/FloatViewBufferImpl.java:  Likewise.
10102         * java/nio/IntViewBufferImpl.java:  Likewise.
10103         * java/nio/LongViewBufferImpl.java:  Likewise.
10104         * java/nio/ShortViewBufferImpl.java:  Likewise.
10105         * java/nio/CharViewBufferImpl.java (subsequence):  Redundant test.
10106         * java/nio/DirectByteBufferImpl.java (shiftDown):  New native method.
10107         (compact):  Re-implement using shiftDown.
10108
10109 2004-02-08  Andreas Jaeger  <aj@suse.de>
10110
10111         * include/x86_64-signal.h: Fix typo.
10112
10113 2004-02-08  Diego Novillo  <dnovillo@redhat.com>
10114
10115         * include/i386-signal.h (MAKE_THROW_FRAME): Add volatile
10116         qualifier to _regs.
10117         (HANDLE_DIVIDE_OVERFLOW): Likewise.
10118
10119 2004-02-06  Michael Koch  <konqueror@gmx.de>
10120
10121         * java/io/ObjectInputStream.java
10122         (currentClassLoader): Reverted to old version of this method.
10123
10124 2004-02-06  Jeroen Frijters  <jeroen@frijters.net>
10125
10126         * java/io/ObjectInputStream.java: Made all calls
10127         to dumpElement[ln] conditional on dump flag. (readObject): Changed to
10128         use cached info from ObjectStreamClass. (readClassDescriptor):
10129         Cache more information in ObjectStreamClass. (processResolution,
10130         readFields): Use cached info from ObjectStreamClass.
10131         (newObject): Throw exception instead of returning null for failure.
10132         (getField, getMethod, callReadMethod, setBooleanField, setByteField,
10133         setCharField, setDoubleField, setFloatField, setIntField,
10134         setLongField, setShortField, setObjectField, readObjectParams):
10135         Removed. (dumpElement, dumpElementln): Removed dump flag condition
10136         check.
10137         * java/io/ObjectStreamField.java (hasReadMethod): Removed.
10138         (setClass): Added call to cacheMethods() (findMethod): New method.
10139         (cacheMethods): New method. (ObjectStreamClass): Added call to
10140         cacheMethods(). (setFields): Cache fields. (getClassUID): Use
10141         AccessController.doPrivileged to invoke setAccessible.
10142         (readObjectMethod, readResolveMethod, realClassIsSerializable,
10143         realClassIsExternalizable, fieldMapping, firstNonSerializableParent):
10144         New fields.
10145         * java/io/ObjectStreamField.java (ObjectStreamField): New constructor.
10146         (ObjectStreamField): Removed FIXME workaround. (getTypeString,
10147         isPrimitive): Made safe for cases where type == null.
10148         (setBooleanField, setByteField, setCharField, setShortField,
10149         setIntField, setLongField, setFloatField, setDoubleField,
10150         setObjectField): New methods.
10151
10152 2004-02-05  Thomas Fitzsimmons  <fitzsim@redhat.com>
10153
10154         * java/awt/Component.java (getFont): Return a default font
10155         instead of null.
10156
10157         * java/awt/Scrollbar.java (next_scrollbar_number): New field.
10158         (Scrollbar (int, int, int, int, int)): Make default page
10159         increment 10.
10160         (setValues): Only call peer.setValues if one of the values has
10161         changed.
10162         (generateName): New method.
10163         (getUniqueLong): New method.
10164         * jni/gtk-peer/gnu_java_awt_peer_gtk_GtkScrollBarPeer.c
10165         (range_scrollbar): Remove structure.
10166         (post_adjustment_event): Remove function.
10167         (post_change_event): Accept jobject argument.
10168         (create): Cast jints to gdoubles.  Round scrollbar values to the
10169         nearest integer.  Clamp min, max and value settings.
10170         (connectJObject): Connect hook to widget->window.
10171         (connectSignals): Remove range_scrollbar structure variables.
10172         Remove "move-slider" connection.  Pass global peer reference to
10173         "value-changed" callback.
10174         (setLineIncrement): Cast jint value to gdouble.
10175         (setPageIncrement): Likewise.
10176         (setValues): Likewise.  Clamp min, max and value settings.
10177
10178 2004-02-05  Michael Koch  <konqueror@gmx.de>
10179
10180         * javax/swing/AbstractCellEditor.java
10181         (getCellEditorValue): Removed.
10182         * javax/swing/Box.java: Reformated.
10183         (serialVersionUID): New field.
10184         * javax/swing/ButtonGroup.java:
10185         Removed some weird whitespace.
10186         * javax/swing/CellEditor.java: Reformated.
10187         * javax/swing/CellRendererPane.java
10188         (serialVersionUID): New field.
10189         (AccessibleCellRendererPaneserialVersionUID): New field.
10190         * javax/swing/DefaultListModel.java
10191         (serialVersionUID): New field.
10192         * javax/swing/JEditorPane.java
10193         (serialVersionUID): New field.
10194         (setPage): Throws IOException.
10195         (addHyperlinkListener): Implemented.
10196         (removeHyperlinkListener): Implemented.
10197         (getHyperlinkListener): New method.
10198         * javax/swing/JFileChooser.java
10199         (serialVersionUID): New field.
10200         (AccessibleJFileChooser.serialVersionUID): New field.
10201         (addActionListener): Implemented.
10202         (removeActionListener): Implemented.
10203         (getActionListeners): New method.
10204         * javax/swing/JFormattedTextField.java
10205         (serialVersionUID): New field.
10206         (AbstractFormatter.serialVersionUID): New field.
10207         (clone): Throws CloneNotSupportedException
10208         (setEditValid): Add missing argument.
10209         (stringToValue): Throws ParseExcpetion.
10210         (valueToString): Throws ParseException.
10211         (commitEdit): Throws ParseException.
10212         * javax/swing/JLabel.java
10213         (serialVersionUID): New field.
10214         * javax/swing/JList.java
10215         (serialVersionUID): New field.
10216         (addListSelectionListener): Reformated.
10217         (removeListSelectionListener): Reformated.
10218         (getListSelectionListeners): New method.
10219         * javax/swing/colorchooser/AbstractColorChooserPanel.java:
10220         Reformated.
10221         (serialVersionUID): New field.
10222         * javax/swing/table/AbstractTableModel.java
10223         (getValueAt): Removed.
10224         (getColumnCount): Removed.
10225         (getRowCount): Removed.
10226
10227 2004-02-05  Michael Koch  <konqueror@gmx.de>
10228
10229         * java/awt/datatransfer/DataFlavor.java
10230         (imageFlavor): Javadoc added.
10231         (javaJVMLocalObjectType): Fixed.
10232
10233 2004-02-05  Michael Koch  <konqueror@gmx.de>
10234
10235         * java/lang/Thread.java
10236         (Thread): Reordered.
10237         (setContextClassLoader): Fixed javadoc comment.
10238         (setPriority): Reordered.
10239         (yield): Reordered.
10240         (initialize_native): Reordered.
10241         (gen_name): Reordered.
10242
10243 2004-02-05  Michael Koch  <konqueror@gmx.de>
10244
10245         * java/lang/Thread.java: Reordered fields, reformated much code,
10246         no functional changes, some variables renamed, javadoc comments
10247         merged.
10248
10249 2004-02-05  Michael Koch  <konqueror@gmx.de>
10250
10251         * java/util/zip/Deflater.java,
10252         java/util/zip/DeflaterOutputStream.java,
10253         java/util/zip/GZIPInputStream.java:
10254         Reformated and javadoc comments merged from classpath.
10255
10256 2004-02-05  Michael Koch  <konqueror@gmx.de>
10257
10258         * gnu/java/nio/NIOServerSocket.java
10259         (impl): Unused, removed.
10260         * gnu/java/nio/SocketChannelImpl.java
10261         (finnishConnect): Don't throw NoConnectionPendingException if not
10262         connected or no connection pending.
10263
10264 2004-02-02  Graydon Hoare  <graydon@redhat.com>
10265
10266         * javax/swing/SwingUtilities.java: Many new functions.
10267         * java/awt/Container.java (LightweightDispatcher): Reimplement.
10268         * javax/swing/basic/BasicGraphicsUtils.java 
10269         (getPreferredButtonSize): Start layout from top-left corner.
10270
10271 2004-02-04  Olga Rodimina  <rodimina@redhat.com>
10272
10273         * java/awt/geom/AffineTransform.java: 
10274         Corrected comments on the field definitions for
10275         m11 and m10.
10276         (shear): Fixed few errors that caused shear
10277         transformation to be performed incorrectly.
10278         (createInverse): Fixed to return correct
10279         inverse of the given matrix.
10280
10281 2004-02-03  Tom Tromey  <tromey@redhat.com>
10282
10283         * java/lang/natPosixProcess.cc (startProcess): Handle case where
10284         PATH or LD_LIBRARY_PATH is not set in parent environment.
10285
10286 2004-02-03  Thomas Fitzsimmons  <fitzsim@redhat.com>
10287
10288         * gnu/java/awt/peer/gtk/GtkListPeer.java,
10289         java/awt/BorderLayout.java, java/awt/CardLayout.java,
10290         java/awt/CheckboxGroup.java, java/awt/Choice.java,
10291         java/awt/Component.java, java/awt/Container.java,
10292         java/awt/FontMetrics.java, java/awt/GridBagLayout.java,
10293         java/awt/LayoutManager2.java, java/awt/List.java,
10294         java/awt/Menu.java, java/awt/MenuBar.java,
10295         java/awt/MenuItem.java, java/awt/Polygon.java,
10296         java/awt/Rectangle.java, java/awt/ScrollPane.java,
10297         java/awt/Scrollbar.java, java/awt/TextArea.java,
10298         java/awt/TextField.java,
10299         java/awt/image/renderable/RenderContext.java,
10300         javax/swing/JApplet.java: Fix handling of alias methods, where a
10301         method has been deprecated in favour of a new one with the same
10302         funtion but a different name.  Put the method implementation in
10303         the deprecated method and have the new method call the
10304         deprecated one.  Make all other code call the new method.
10305
10306 2004-02-03  Mohan Embar  <gnustuff@thisiscool.com>
10307
10308         * gnu/java/nio/DatagramChannelImpl.java
10309         (inChannelOperation): New field.
10310         (isInChannelOperation): New accessor.
10311         (setInChannelOperation): New modifier.
10312         (receive): Use capacity() - position() of destination
10313         buffer instead of remaining(). Set and reset our "in
10314         channel operation indicator" before and after delegating
10315         the receive to our datagram socket. Removed testing code.
10316         Update destination buffer's current position if it is
10317         backed by a byte array (hasArray() is true).
10318         (send): Set and reset our "in channel operation indicator"
10319         before and after delegating the send to our datagram socket.
10320         Removed testing code. Update source buffer's current position
10321         if it is backed by a byte array (hasArray() is true).
10322         * gnu/java/nio/SocketChannelImpl.java (read(ByteBuffer)):
10323         Use capacity() - position() of destination buffer instead
10324         of remaining().
10325         * java/net/DatagramSocket.java (receive): Don't throw an
10326         IllegalBlockingModeException if we have a non-blocking
10327         channel which initiated this operation.
10328         (send): Likewise.
10329
10330 2004-02-01  Thomas Fitzsimmons  <fitzsim@redhat.com>
10331
10332         * configure.in: Add pkgconfig check for glib and gthread.
10333         * configure: Regenerate.
10334
10335 2004-02-01  Michael Koch  <konqueror@gmx.de>
10336
10337         * include/jvm.h (MAYBE_UNUSED): New macro tp mark probably unused
10338         arguments.
10339         * jni.cc (_Jv_LookupJNIMethod): Mark 'args_size' unused.
10340         * verify.cc (debug_print): Mark 'fmt' unused.
10341
10342 2004-01-30  Michael Koch  <konqueror@gmx.de>
10343
10344         * configure.in: Use pkg-config to check for GTK 2.2 and libart 2.1.
10345         * configure: Regenerated.
10346         * glib-2.0.m4: Removed.
10347         * gtk-2.0.m4: Removed.
10348         * libart.m4: Removed.
10349         * pkg.m4: New file.
10350
10351 2004-01-30  Mohan Embar  <gnustuff@thisiscool.com>
10352
10353         * gnu/java/net/PlainSocketImpl.java 
10354         (inChannelOperation): New field.
10355         (isInChannelOperation): New accessor.
10356         (setInChannelOperation): New modifier.
10357         * gnu/java/nio/ServerSocketChannelImpl.java
10358         (accept): Set and reset our server socket's PlainSocketImpl's
10359         "in channel operation" indicator before and after delegating
10360         the accept to our server socket.
10361         * gnu/java/nio/SocketChannelImpl.java
10362         (connect): Set and reset our socket's PlainSocketImpl's "in channel
10363         operation" indicator before and after delegating the operation to
10364         our socket.
10365         (read): Likewise.
10366         (write): Likewise.
10367         * java/net/ServerSocket.java (implAccept): Don't throw an
10368         IllegalBlockingModeException if we have a non-blocking
10369         channel which initiated this accept operation.
10370         * java/net/Socket.java (connect): Don't throw an
10371         IllegalBlockingModeException if we have a non-blocking
10372         channel which initiated this connect operation.
10373         * java/nio/channels/spi/AbstractSelectableChannel.java
10374         (configureBlocking): Only call implConfigureBlocking() if
10375         the desired blocking mode is different from our current one.
10376
10377 2004-01-29  Mohan Embar  <gnustuff@thisiscool.com>
10378
10379         * java/io/BufferedReader.java (sbuf): New field.
10380         (readLine): Use String.valueOf instead of new String() as per
10381         Per Bothner's suggestion. Use instance sbuf field instead of a
10382         local StringBuffer instance.
10383         * java/io/InputStreamReader.java (read(char[],int,int)): Pass the
10384         caller's buffer to refill().
10385         (read(void)): Pass our internal work buffer to refill if our
10386         input queue is empty.
10387         (refill): Changed return type to int. Use the specified buffer
10388         instead of our work buffer as per Bryce McKinlay's suggestion.
10389         Return the number of characters read or -1 for EOF.
10390
10391 2004-01-29  Scott Gilbertson  <scottg@mantatest.com>
10392
10393         * gnu/awt/xlib/XCanvasPeer.java (handleEvent): Implemented.
10394
10395 2004-01-29  Scott Gilbertson  <scottg@mantatest.com>
10396
10397         * Makefile.am: Added gnu/awt/xlib/XFontPeer.java.
10398         * Makefile.in: Re-generated.
10399         * gnu/awt/xlib/XFontPeer.java: New file.
10400         * gnu/awt/xlib/XGraphics.java (setFont): Test for null font.
10401         (setClip): Commented out debug printout.
10402         * gnu/awt/xlib/XToolkit.java: Change superclass to ClasspathToolkit.
10403         (getFontPeer): Return XFontPeer.
10404         (getLocalGraphicsEnvironment): New method.
10405         (getClasspathFontPeer): New method.
10406         (createFont): New method.
10407
10408 2004-01-29  Scott Gilbertson  <scottg@mantatest.com>
10409
10410         * gnu/java/awt/peer/ClasspathFontPeer.java (getTransform): Never
10411         return null. 
10412
10413 2004-01-29  Kim Ho  <kho@redhat.com>
10414
10415         * gnu/java/awt/peer/gtk/GtkFramePeer.java
10416         (gtkLayoutSetVisible): New method
10417         (setMenuBar): Hide layout before setting MenuBar
10418         and reshow it after.
10419         * jni/gtk-peer/gnu_java_awt_peer_gtk_GtkWindowPeer.c
10420         (gtkLayoutSetVisible): Hide or show the Gtk Layout.
10421
10422 2004-01-28  Michael Koch  <konqueror@gmx.de>
10423
10424         * gnu/java/lang/ClassHelper.java
10425         (getPackagePortion): Removed.
10426
10427 2004-01-28  Michael Koch  <konqueror@gmx.de>
10428
10429         * javax/swing/JComponent.java
10430         (listenerList): Initalize globally.
10431         (ancestor_list): Removed.
10432         (veto_list): Removed.
10433         (change_list): Removed.
10434         (get_veto_list): Removed.
10435         (get_change_list): Removed.
10436         (get_ancestor_list): Removed.
10437         (removeAncestorListener): Reimplemented.
10438         (removePropertyChangeListener): Likewise.
10439         (removeVetoableChangeListener): Likewise.
10440         (addAncestorListener): Likewise.
10441         (addPropertyChangeListener): Likewise.
10442         (addVetoableChangeListener): Likewise.
10443         (getListeners): New method.
10444         (getAncestorListeners): Likewise.
10445         (getVetoableChangeListeners): Likewise.
10446         (fireVetoableChange): Throws PropertyVetoException.
10447         * javax/swing/JEditorPane.java
10448         (JEditorPane): Throws IOException.
10449
10450 2004-01-28  David Jee  <djee@redhat.com>
10451
10452         * gnu/java/awt/peer/gtk/GtkFramePeer.java
10453         (create): Set the default foreground color to
10454         java.awt.SystemColor.windowText.
10455
10456 2004-01-27  Michael Koch  <konqueror@gmx.de>
10457
10458         * gnu/java/awt/peer/gtk/GdkClasspathFontPeer.java,
10459         * gnu/java/awt/peer/gtk/GdkGlyphVector.java:
10460         Reindented to merge with classpath.
10461
10462 2004-01-27  David Jee  <djee@redhat.com>
10463
10464         * jni/gtk-peer/gnu_java_awt_peer_gtk_GtkComponentPeer.c
10465         (addExposeFilter): Handle GtkFramePeer separately.
10466         (removeExposeFilter): Likewise.
10467
10468 2004-01-27  Michael Koch  <konqueror@gmx.de>
10469
10470         * gnu/java/net/protocol/http/Connection.java
10471         (getOutputStream): Fixed typo.
10472
10473 2004-01-27  Michael Koch  <konqueror@gmx.de>
10474
10475         * java/lang/Class.java
10476         (getConstructor): Removed SecurityException from throws clause.
10477         (_getConstructors): Likewise.
10478         (getConstructors): Likewise.
10479         (getDeclaredConstructor): Likewise.
10480         (getDeclaredClasses): Likewise.
10481         (getDeclaredConstructors): Likewise.
10482         (getDeclaredField): Likewise.
10483         (getDeclaredMethod): Likewise.
10484         (getDeclaredMethods): Likewise.
10485         (getField): Likewise.
10486         (getMethod): Likewise.
10487         (getMethods): Likewise.
10488
10489 2004-01-27  Kim Ho  <kho@redhat.com>
10490
10491         * gnu/java/awt/peer/gtk/GtkFramePeer.java
10492         (removeMenuBarPeer): Remove MenuBarPeer argument.
10493         * gnu/java/awt/peer/gtk/GtkMenuComponentPeer.java
10494         (dispose): Call native method.
10495         * java/awt/Frame.java (setMenuBar): Create and remove
10496         MenuBar peers only if the Frame has a peer.
10497         (addNotify): Create the MenuBar peer if one exists.
10498         (removeNotify): Remove MenuBar peer if one exists.
10499         * java/awt/Menu.java: Fix imports.
10500         (addNotify): Don't use full class name.
10501         (removeNotify): Call removeNotify on all children.
10502         * java/awt/MenuBar.java (removeNotify): Call
10503         removeNotify on all children.
10504         * jni/gtk-peer/gnu_java_awt_peer_gtk_GtkWindowPeer.c
10505         (removeMenuBarPeer): Remove MenuBarPeer argument.
10506         Iterate through children to find the Frame's MenuBar.
10507         * jni/gtk-peer/gnu_java_awt_peer_gtk_GtkMenuComponentPeer.c
10508         New file.
10509         (dispose): Remove references to the MenuComponent.
10510
10511 2004-01-27  Michael Koch  <konqueror@gmx.de>
10512
10513         * javax/swing/AbstractCellEditor.java: Reformated.
10514         * javax/swing/DefaultListSelectionModel.java
10515         (listenerList): Made protected.
10516         (addListSelectionListener): Javadoc added.
10517         (removeListSelectionListener): Likewise.
10518         (getListeners): Likewise.
10519         (getListSelectionListeners): Likewise.
10520         * javax/swing/JComboBox.java: Merged copyright year.
10521         * javax/swing/plaf/basic/BasicGraphicsUtils.java: Merged empty line.
10522
10523 2004-01-26  Andrew Haley  <aph@redhat.com>
10524
10525         * javax/swing/table/JTableHeader.java: Extend JComponent
10526
10527 2004-01-26  Kim Ho  <kho@redhat.com>
10528
10529         * gnu/java/awt/peer/gtk/GtkFramePeer.java (setMenuBar):
10530         Fix spacing.
10531
10532 2004-01-26  Kim Ho  <kho@redhat.com>
10533
10534         * gnu/java/awt/peer/gtk/GtkFramePeer.java (moveLayout): New
10535         method.
10536         (setMenuBar): Shift the Gtk layout up/down by the MenuBar
10537         height and let the Layout Managers readjust anything that
10538         needs to move.
10539         * jni/gtk-peer/gnu_java_awt_peer_gtk_GtkWindowPeer.c
10540         (moveLayout): New method. Shift everything in the Gtk
10541         layout in the Y direction by an offset.
10542
10543 2004-01-26  David Jee  <djee@redhat.com>
10544
10545         * gnu/java/awt/peer/gtk/GtkComponentPeer.java
10546         (handleEvent): Implemented. Handles PaintEvents.
10547         (paint): Implemented. Use GTK native methods to queue updates
10548         for this heavyweight peer.
10549         * gnu/java/awt/peer/gtk/GtkContainerPeer.java
10550         (handleEvent): Removed.
10551         * java/awt/Component.java
10552         (paint): Implemented. Explictly paint the heavyweight peer.
10553         (update): Clear the background for heavyweight components.
10554         (paintAll): No need to call peer.paint() anymore.
10555         (processEvent): Don't process PaintEvents here. It's now done in
10556         the peer's handleEvent().
10557         (processPaintEvent): Removed.
10558         * java/awt/Container.java
10559         (paint): No need to call super.paint(). Visit heavyweight
10560         children as well.
10561         (update): Don't clear the background here.  It's done in
10562         Component.update().
10563         (visitChildren): Added check to not recurse into Containers.
10564         * jni/gtk-peer/gnu_java_awt_peer_gtk_GtkComponentPeer.c
10565         (filter_expose_event_handler): New method.  Filter unwanted
10566         expose events while painting heavyweight peers.
10567         (Java_gnu_java_awt_peer_gtk_GtkComponentPeer_addExposeFilter):
10568         New method. Connect filter and block pre_event_handler.
10569         (Java_gnu_java_awt_peer_gtk_GtkComponentPeer_removeExposeFilter):
10570         New method. Disconnect filter and unblock pre_event_handler.
10571         (Java_gnu_java_awt_peer_gtk_GtkComponentPeer_gtkWidgetQueueDrawArea):
10572         New method. Invalidate and update given area.
10573         * jni/gtk-peer/gnu_java_awt_peer_gtk_GtkEvents.c
10574         (pre_event_handler): Add checks for unwanted expose events.
10575
10576 2004-01-26  David Jee  <djee@redhat.com>
10577
10578         * jni/gtk-peer/gnu_java_awt_peer_gtk_GtkComponentPeer.c
10579         (find_bg_color_widget): For GtkButton, return its child.
10580
10581 2004-01-26  Kim Ho  <kho@redhat.com>
10582
10583         * gnu/java/awt/peer/gtk/GtkFramePeer.java (menuBarHeight): Mark
10584         private.
10585         (setMenuBar): Grab MenuBar height and change insets.
10586         (setBounds): Account for MenuBar height.
10587         (postInsetsChangedEvent): Ditto.
10588         (postSizeAllocateEvent): Remove.
10589         * jni/gtk-peer/gnu_java_awt_peer_gtk_GtkWindowPeer.c
10590         (menubar_resize_cb): Remove
10591         (setMenuBarPeer): Remove callback.
10592         (getMenuBarHeight): Use size requisition instead of
10593         allocation.
10594
10595 2004-01-25  Thomas Fitzsimmons  <fitzsim@redhat.com>
10596
10597         * java/awt/TextArea.java: Fix indentation.  Flesh out javadocs.
10598         (getMinimumSize (int, int)): Fix FIXME -- return Dimension (0,0)
10599         when peer is null.
10600         (setColumns): Remove FIXME -- peer will retrieve number of
10601         columns by calling getColumns.
10602         (setRows): Likewise for number of rows.
10603         (next_text_number): New field.
10604         (paramString): Fix param string.
10605         (generateName): New method.
10606         (getUniqueLong): New method.
10607
10608 2004-01-25  Thomas Fitzsimmons  <fitzsim@redhat.com>
10609
10610         * gnu/java/awt/peer/gtk/GtkToolkit.java (checkImage): Inform
10611         image observer of image loading status.
10612         (getImage (String)): Start image production.
10613         (getImage (URL)): Likewise.
10614
10615 2004-01-25  Michael Koch  <konqueror@gmx.de>
10616
10617         * java/lang/Class.java: Imports reworked, reformated.
10618         (Class): Javadoc added.
10619         (forName): Likewise.
10620         (getClasses): Likewise.
10621         (getClassLoader): Likewise.
10622         (getComponentType): Likewise.
10623         (getConstructor): Likewise.
10624         (getConstructors): Likewise.
10625         (getDeclaredConstructor): Likewise.
10626         (getDeclaredClasses): Likewise.
10627         (getDeclaredConstructors): Likewise.
10628         (getDeclaredField): Likewise.
10629         (getDeclaredMethod): Likewise.
10630         (getDeclaredMethods): Likewise.
10631         (getDeclaringClass): Likewise.
10632         (getField): Likewise.
10633         (getInterfaces): Likewise.
10634         (getMethod): Likewise.
10635         (getMethods): Likewise.
10636         (getModifiers): Likewise.
10637         (getName): Likewise.
10638         (getResource): Likewise.
10639         (getResourceAsStream): Likewise.
10640         (getSigners): Likewise.
10641         (setSigners): Likewise.
10642         (getSuperclass): Likewise.
10643         (isArray): Likewise.
10644         (isAssignableFrom): Likewise.
10645         (isInstance): Likewise.
10646         (isInterface): Likewise.
10647         (isPrimitive): Likewise.
10648         (newInstance): Likewise.
10649         (getProtectionDomain): Likewise.
10650         (toString): Likewise.
10651         (Class): Moved.
10652         (initializeClass): Likewise.
10653         (finalize): Likewise.
10654
10655 2004-01-24  Michael Koch  <konqueror@gmx.de>
10656
10657         * gnu/java/net/protocol/jar/Connection.java
10658         (hdrHash): Removed.
10659         (hdrVec): Removed.
10660         (gotHeaders): Removed.
10661         (getHeaderField): Removed.
10662         (getHeaderFields): Removed.
10663         (getHeaderFieldKey): Removed.
10664         (getKey): Removed.
10665         (getField): Removed.
10666         (getHeaders): Removed.
10667
10668 2004-01-24  Michael Koch  <konqueror@gmx.de>
10669
10670         * Makefile.am: Added library version to gtk peer lib.
10671         * Makefile.in: Regenerated.
10672
10673 2004-01-24  Michael Koch  <konqueror@gmx.de>
10674
10675         * java/util/zip/InflaterInputStream.java: Merged class documentation
10676         with classpath.
10677
10678 2004-01-21  Jakub Jelinek  <jakub@redhat.com>
10679
10680         * include/powerpc-signal.h: Add #ifndef __powerpc64__ around the
10681         header.  For __powerpc64__ provide the default-signal.h definitions
10682         for now.
10683         * include/x86_64-signal.h [!__x86_64__]: Include java-signal-aux.h
10684         instead of the dummy definitions.
10685         * configure.host (x86_64-*): Remove CHECKREFSPEC, add DIVIDESPEC.
10686         (powerpc64*-*): Remove with_libffi_default.
10687         Only add -mminimal-toc for 64-bit compilations.
10688         * configure.in: Use powerpc-signal.h on powerpc64 as well.
10689         (x86_64-*-linux*): Set SIGNAL_HANDLER_AUX.
10690         Link SIGNAL_HANDLER_AUX to include/java-signal-aux.h.
10691         * configure: Rebuilt.
10692
10693 2004-01-23  Michael Koch  <konqueror@gmx.de>
10694
10695         * gnu/java/nio/FileLockImpl.java: Compile fixes.
10696
10697 2004-01-23  Michael Koch  <konqueror@gmx.de>
10698
10699         * java/lang/VMClassLoader.java: Reworked imports.
10700         
10701 2004-01-23  Michael Koch  <konqueror@gmx.de>
10702
10703         * javax/swing/AbstractAction.java: Reformated.
10704
10705 2004-01-23  Michael Koch  <konqueror@gmx.de>
10706
10707         * java/text/CollationElementIterator.java:
10708         (setText): New method.
10709
10710 2004-01-23  Michael Koch  <konqueror@gmx.de>
10711
10712         * gnu/java/nio/FileLockImpl.java:
10713         Fixed filename in copyright.
10714         (released): Removed.
10715         (finalize): New method.
10716         * gnu/java/nio/natFileLockImpl.cc
10717         (releaseImpl): Implemented.
10718         * java/nio/channels/FileChannelImpl.java:
10719         Reworked imports.
10720         (lock): Implemented.
10721         (lockImpl): New method.
10722         (tryLock): Implemented.
10723         (tryLockImpl): New method.
10724         * java/nio/channels/natFileChannelImpl.cc
10725         (lockImpl): New method.
10726         (tryLockImpl): New method.
10727
10728 2004-01-23  Michael Koch  <konqueror@gmx.de>
10729
10730         * java/io/FileDescriptor.java
10731         (lock): New method.
10732         (tryLock): New method.
10733         (unlock): New method.
10734         * java/io/natFileDescriptorEcos.cc
10735         (lock): New method.
10736         (tryLock): New method.
10737         (unlock): New method.
10738         * java/io/natFileDescriptorPosix.cc
10739         (lock): New method.
10740         (tryLock): New method.
10741         (unlock): New method.
10742         * java/io/natFileDescriptorWin32.cc
10743         (lock): New method.
10744         (tryLock): New method.
10745         (unlock): New method.
10746
10747 2004-01-23  Michael Koch  <konqueror@gmx.de>
10748
10749         * java/io/FileDescriptor.java
10750         (sync): Moved around, added javadoc.
10751         (valid): Likewise.
10752         (open): Likewise.
10753         (write): Likewise.
10754         (close): Likewise.
10755         (setLength): Likewise.
10756         (seek): Likewise.
10757         (getLength): Likewise.
10758         (getFilePointer): Likewise.
10759         (read): Likewise.
10760         (available): Likewise.
10761         (finalize): Likewise.
10762
10763 2004-01-23  Michael Koch  <konqueror@gmx.de>
10764
10765         * javax/swing/AbstractAction.java: Reformated.
10766         (getPropertyChangeListeners): New method.
10767         * javax/swing/AbstractCellEditor.java: Reformated.
10768         (getCellEditorListeners): New method.
10769         * javax/swing/DefaultListSelectionModel.java
10770         (listenerList): New field.
10771         (listeners): Removed.
10772         (get_listeners): Removed.
10773         (addListSelectionListener): Rewritten.
10774         (removeListSelectionListener): Rewritten.
10775         (getListSelectionListeners): New method.
10776         (getListeners): New method.
10777         * javax/swing/JComboBox.java: Imports reworked.
10778         (addActionListener): Implemented.
10779         (removeActionListener): Implemented.
10780         (addItemListener): Implemented.
10781         (removeItemListener): Implemented.
10782         (addPopupMenuListener): Implemented.
10783         (removePopupMenuListener): Implemented.
10784         (getActionListeners): New method.
10785         (getItemListeners): New method.
10786         (getPopupMenuListeners): New method.
10787
10788 2004-01-23  Michael Koch  <konqueror@gmx.de>
10789
10790         * gnu/java/net/protocol/http/Connection.java
10791         (connect): Don't initialize bufferedOutputStream if not needed.
10792         (sendRequest): Set property for content length if content is present.
10793         Write content only if present.
10794         (getOutputStream): Check if already connected, dont connect,
10795         initalize bufferedOutputStream if needed.
10796
10797 2004-01-23  Michael Koch  <konqueror@gmx.de>
10798
10799         * java/io/FileDescriptor.java
10800         (in, out, err): Added javadoc.
10801         (static): Merged loading code.
10802         (fd, position): Moved around.
10803
10804 2004-01-23  Michael Koch  <konqueror@gmx.de>
10805
10806         * gnu/java/awt/doc-files/BitwiseXORComposite-1.png:
10807         New file.
10808
10809 2004-01-23  Michael Koch  <konqueror@gmx.de>
10810
10811         * java/lang/Class.java,
10812         java/lang/Object.java,
10813         java/lang/Thread.java: Merged copyright with classpath.
10814
10815 2004-01-23  Michael Koch  <konqueror@gmx.de>
10816
10817         * java/io/FileDescriptor.java: Merged copyright with classpath to
10818         start merging this class.
10819
10820 2004-01-22  Tom Tromey  <tromey@redhat.com>
10821
10822         PR libgcj/13107:
10823         * testsuite/libjava.lang/pr13107_2.xfail: New file.
10824         * testsuite/libjava.lang/pr13107_3.xfail: New file.
10825         * testsuite/libjava.lang/pr13107_3.java: New file.
10826         * testsuite/libjava.lang/pr13107_3.out: New file.
10827         * testsuite/libjava.lang/pr13107_2.java: New file.
10828         * testsuite/libjava.lang/pr13107_2.out: New file.
10829         * testsuite/libjava.lang/pr13107.java: New file.
10830         * testsuite/libjava.lang/pr13107.out: New file.
10831         * verify.cc (jsr_ptrs): Removed.
10832         (entry_points): Likewise.
10833         (struct subr_info): Likewise.
10834         (struct subr_entry_info): Likewise.
10835         (type_val::unused_by_subroutine_type): Likewise.
10836         (type::merge): Don't handle unused_by_subroutine_type.
10837         (type::print): Likewise.
10838         (state::flags): Removed.
10839         (state::subroutine): Likewise.
10840         (state::seen_subrs): Likewise.
10841         (state::NO_STACK): Likewise.
10842         (state::FLAG_CHANGED, state::FLAG_UNUSED): Likewise.
10843         (state): Updated all methods.
10844         (state::clean_subrs): Removed.
10845         (state::state): Removed `ret_semantics' flag.
10846         (state::copy): Likewise.
10847         (state::add_subr): Removed.
10848         (state::enter_subroutine): Likewise.
10849         (type::set_return_address): New method.
10850         (handle_jsr_insn): Set return address on the type.  Always
10851         invalidate PC after call.
10852         (check_nonrecursive_call): Removed.
10853         (~_Jv_BytecodeVerifier): Updated.
10854         (branch_prepass): Removed special handling of jsr.
10855         (note_branch_target): Likewise.
10856         (get_subroutine): Removed.
10857         (state::merge): Don't merge subroutines and don't handle
10858         NO_STACK.  Removed ret_semantics and jsr_semantics arguments.
10859         (state::note_variable): Removed.
10860         (state::is_unmerged_ret_state): Likewise.
10861         (state::print): Updated.
10862         (set_variable): Likewise.
10863         (merge_into): Renamed from push_jump_merge.  Removed ret_semantics
10864         and jsr_semantics arguments.  Updated for new reverification
10865         list.
10866         (pop_jump): Rewrote.
10867         (construct_primitive_array_type): Updated.
10868         (state::next): Removed.
10869         (INVALID_STATE): New define.
10870         (state::INVALID): Removed.
10871         (state::NO_NEXT): New value.
10872         (state::pc, state::next): New fields.
10873         (state::get_pc): New method.
10874         (next_verify_pc): Removed.
10875         (next_verify_state): New field.
10876         (verify_instructions_0): Always check for falling off end.
10877         (linked): New type.
10878         (linked_utf8): Removed.
10879         (states): Changed type.
10880         (type::state_mergeable_p): New method.
10881         (state::state_mergeable_p): Likewise.
10882         (handle_ret_insn): Removed most code.
10883         (state::reverify): New method.
10884         (add_new_state): Likewise.
10885         (state::set_pc): Likewise.
10886
10887 2004-01-22  Jeff Sturm  <jsturm@one-point.com>
10888
10889         PR java/13733
10890         * testsuite/libjava.compile/PR13733.java: New file.
10891         * testsuite/libjava.compile/PR13733.xfail: New file.
10892
10893 2004-01-22  Arnaud Vandyck  <arnaud.vandyck@ulg.ac.be>
10894             Michael Koch  <konqueror@gmx.de>
10895
10896         * javax/swing/table/DefaultTableCellRenderer.java
10897         (DefaultTableCellRenderer): Added javadoc for the class and for
10898         the constructor, Border instance, create an EmptyBorder.
10899         (UIResource): Removed the comment at the end of the class
10900         (setForeground): New method.
10901         (setBackground): New method.
10902         (updateUI): New method.
10903         (getTableCellRendererComponent): Rewritten with the help of
10904         dvholten and Stephane Meslin-Weber.
10905         (validate): New method.
10906         (repaint): New method.
10907         (firePropertyChange): New method.
10908         (setValue): New method.
10909
10910 2004-01-22  Thomas Fitzsimmons  <fitzsim@redhat.com>
10911
10912         * jni/gtk-peer/gnu_java_awt_peer_gtk_GtkWindowPeer.c
10913         (connectJObject): Replace printf calls with g_assert statements.
10914         Move property-notify-event signal connection to ...
10915         (connectSignals): Connect property-notify-event signal.  Iterate
10916         through the vbox's children to find layout.
10917
10918 2004-01-22  Graydon Hoare  <graydon@redhat.com>
10919         
10920         * gnu/java/awt/peer/gtk/GdkClasspathFontPeer.java: 
10921         * gnu/java/awt/peer/gtk/GdkGlyphVector.java:
10922         Predicate static initialization on GtkToolkit.useGraphics2D().
10923         * java/awt/Component.java (processPaintEvent): Consume event.
10924         * javax/swing/AbstractButton.java: Reimplement, document.
10925         * javax/swing/DefaultButtonModel.java: Reimplement, document.
10926         * javax/swing/JComponent.java (paint): Use double buffer.
10927         (listenerList): Enable member.
10928         * javax/swing/ToggleButtonModel.java: Remove incorrect constructor.
10929         * javax/swing/JToggleButton.java 
10930         (JToggleButton): Modify model constructor.
10931         * javax/swing/SwingUtilities.java 
10932         (layoutCompoundLabel): Adjust arithmetic.
10933         * javax/swing/plaf/basic/BasicButtonUI.java: Reimplement, document.
10934         * javax/swing/plaf/basic/BasicGraphicsUtils.java 
10935         (getPreferredButtonSize): Include margins in calculation.
10936         * jni/gtk-peer/gnu_java_awt_peer_gtk_GtkWindowPeer.c
10937         (Java_gnu_java_awt_peer_gtk_GtkWindowPeer_connectSignals):
10938         Receive up events from subordinate layout component.
10939
10940 2004-01-21  Thomas Fitzsimmons  <fitzsim@redhat.com>
10941
10942         * java/awt/Component.java (show): Set visible to true before
10943         showing the peer.
10944
10945 2004-01-21  Kim Ho  <kho@redhat.com>
10946
10947         * gnu/java/awt/peer/gtk/GtkFramePeer.java (postConfigureEvent):
10948         Fix comments.
10949         (removeMenuBarPeer): Make package private.
10950         (setMenuBarPeer): Make package private.
10951         * jni/gtk-peer/gnu_java_awt_peer_gtk_GtkWindowPeer.c
10952         (menubar_resize_cb): Mark attributes unused.
10953         (getMenuBarHeight): ditto.
10954
10955 2004-01-21  David Jee  <djee@redhat.com>
10956
10957         * java/awt/Container.java
10958         (LightweightDispatcher.handleEvent): Add an extra check to avoid
10959         dispatching MOUSE_ENTERED event twice. Translate the point for
10960         the mouse event target before dispatching the event.
10961
10962 2004-01-20  Jakub Jelinek  <jakub@redhat.com>
10963
10964         * Makefile.am (lib_org_w3c_dom_la_LIBADD,
10965         lib_org_w3c_dom_la_LDFLAGS): New.
10966         (lib_org_xml_sax_la_LIBADD, lib_org_xml_sax_la_LDFLAGS): New.
10967         * Makefile.in: Rebuilt.
10968
10969 2004-01-20  Thomas Fitzsimmons  <fitzsim@redhat.com>
10970
10971         * gnu/java/awt/peer/gtk/GtkComponentPeer.java (setBounds):
10972         Calculate proper offsets for heavyweight components packed in
10973         lightweight containers.
10974
10975         * gnu/java/awt/peer/gtk/GtkTextFieldPeer.java,
10976         jni/gtk-peer/gnu_java_awt_peer_gtk_GtkTextFieldPeer.c
10977         (native create): Add width parameter.
10978         (create): Calculate text entry width based on current font's
10979         metrics and number of columns.  Set TextField's font if not
10980         already set.  Call native create.
10981         (gtkEntryGetBorderWidth): New native method.
10982         (gtkEntryGetSize): Remove method.
10983         (getMinimumSize): Call minimumSize.
10984         (getPreferredSize): Call preferredSize.
10985         (minimumSize): Calculate minimum size based on backing
10986         GtkEntry's borders, font metrics and number of columns.
10987         (preferredSize): Likewise for preferred size.
10988         (get_border_width): New static function.
10989
10990         * gnu/java/awt/peer/gtk/GtkFramePeer.java (setResizable):
10991         Override GtkWindowPeer's setResizable method to account for menu
10992         bar height when setting the frame's size.
10993
10994 2004-01-19  Matthias Klose  <doko@debian.org>
10995
10996         * libtool-version: Increased `current' to 6.
10997
10998 2004-01-19  Kim Ho  <kho@redhat.com>
10999
11000         * jni/gtk-peer/gnu_java_awt_peer_gtk_GtkWindowPeer.c
11001         (connectJObject): Iterate through the vbox's children to find layout.
11002
11003 2004-01-19  Fernando Nasser  <fnasser@redhat.com>
11004
11005         * java/awt/EventQueue.java (invokeAndWait): Use list-aware
11006         isDispatchThread method to replace wrong test condition.
11007
11008 2004-01-19  Fernando Nasser  <fnasser@redhat.com>
11009
11010         * java/awt/EventQueue.java (pop): Prevent racing condition to add
11011         events to the queue out of order by acquiring locks in the proper
11012         order and not by releasing one before acquiring the other.
11013
11014 2004-01-19  Fernando Nasser  <fnasser@redhat.com>
11015
11016         * gnu/java/awt/peer/gtk/TestAWT.java (DialogWindow): Make text not
11017         visible so that dialog can be reused.
11018
11019 2004-01-19  Fernando Nasser  <fnasser@redhat.com>
11020
11021         * java/awt/EventQueue.java (getCurrentEvent): Consider that system
11022         events may be handled by any queue in the stack.
11023
11024 2004-01-19  Kim Ho  <kho@redhat.com>
11025
11026         * gnu/java/awt/peer/gtk/GtkFramePeer.java (getMenuBarHeight): Added
11027         MenuBarPeer parameter.
11028         (removeMenuBarPeer): New native method.
11029         (setMenuBar): Call remove if menu bar is null. Adjust insets
11030         appropriately.
11031         (postSizeAllocateEvent): New method. Called when menu bar size is
11032         allocated. Adjust insets and redo layout.
11033         (GtkFramePeer): Set menu bar during frame creation.
11034         (postConfigureEvent): Adjust position and size to accomodate
11035         menu bar.
11036         * java/awt/Frame.java (setMenuBar): addNotify to create menu bar.
11037         * java/awt/Menu.java (addSeparator): Use peer's addSeparator.
11038         (addNotify): Create the peer if it doesn't exist and call addNotify
11039         for the menu's items.
11040         * java/awt/MenuBar.java (addNotify): Create this menu bar's menus.
11041         * java/awt/MenuItem.java (addNotify): Create the peer if it
11042         doesn't exist.
11043         * jni/gtk-peer/gnu_java_awt_peer_gtk_GtkWindowPeer.c
11044         (removeMenuBarPeer): New method. Remove menu bar on the current
11045         frame.
11046         (setMenuBarPeer): Add the menu bar to the current frame and the
11047         callback for size-allocate events on the menu bar.
11048         (getMenuBarHeight): Add menu bar parameter.
11049         (menubar_resize_cb): New callback method for postSizeAllocate events.
11050
11051         Also: Fix indentation on last ChangeLog entry.
11052
11053 2004-01-16  Kim Ho  <kho@redhat.com>
11054
11055         * gnu/java/awt/peer/gtk/GtkFileDialogPeer.java
11056         (gtkWidgetGetDimensions): Remove.
11057         * jni/gtk-peer/gnu_java_awt_peer_gtk_GtkWindowPeer.c
11058         (gtkWidgetGetDimensions): Remove.
11059
11060 2004-01-16  Tom Tromey  <tromey@redhat.com>
11061
11062         * java/awt/Container.java: Typo and indentation fixes.
11063
11064         * java/lang/natClassLoader.cc: Moved VMClassLoader methods...
11065         * java/lang/natVMClassLoader.cc: ...here.  New file.
11066         * Makefile.in: Rebuilt.
11067         * Makefile.am (nat_source_files): Added natVMClassLoader.cc.
11068
11069 2004-01-16  Fernando Nasser  <fnasser@redhat.com>
11070
11071         * jni/gtk-peer/gnu_java_awt_peer_gtk_GtkEvents.c (pre_event_handler):
11072         Discard GDK_ENTER_NOTIFY related to ungrabs.
11073
11074 2004-01-16  Fernando Nasser  <fnasser@redhat.com>
11075
11076         * java/awt/EventQueue.java (pop): Prevent breaking the chain if pop
11077         is called for an intermediate queue.
11078
11079 2004-01-16  Thomas Fitzsimmons  <fitzsim@redhat.com>
11080
11081         * jni/gtk-peer/gnu_java_awt_peer_gtk_GtkWindowPeer.c
11082         (window_property_changed_cb): Set id_set.
11083
11084 2004-01-16  Kim Ho  <kho@redhat.com>
11085
11086         * gnu/java/awt/peer/gtk/GtkComponentPeer.java (GtkComponentPeer): If
11087         it is a FileDialog and has dimensions of 0 by 0, then the initial
11088         size is set to size request plus insets.
11089         * gnu/java/awt/peer/gtk/GtkFileDialogPeer.java
11090         (gtkWidgetGetDimensions): Override method.
11091         * jni/gtk-peer/gnu_java_awt_peer_gtk_GtkWindowPeer.c
11092         (gtkWidgetGetDimensions): Override method. Returns size request plus
11093         insets.
11094
11095 2004-01-16  Andrew Haley  <aph@redhat.com>
11096
11097         * sysdep/x86-64/locks.h: Don't use in/out memory constraints.
11098         * sysdep/i386/locks.h: Likewise.
11099
11100 2004-01-16  Fernando Nasser  <fnasser@redhat.com>
11101
11102         * java/awt/EventDispatchThread.java (run): Stop running when
11103         interrupted.
11104         * java/awt/EventQueue.java (pop): Stop dispatch thread when done.
11105         Reset the queue after transferring its contents.
11106         (push): Start a new dispatch thread if none is running.
11107
11108 2004-01-16  Olga Rodimina <rodimina@redhat.com>
11109
11110         * gnu/java/awt/peer/gtk/GdkGraphics2D.java:
11111         (doPolygon): set fill rule of polygon to 
11112         WIND_EVEN_ODD by default.
11113
11114 2004-01-15  Olga Rodimina <rodimina@redhat.com>
11115
11116         * gnu/java/awt/peer/gtk/GdkGraphics2D.java:
11117         Implemented rendering hints related methods.
11118         (getDefaultHints): New helper method. Returns
11119         default rendering hints.
11120         (walkPath): changed to normalize path if
11121         the KEY_STROKE_CONTROL key is in "normalize" mode.
11122         (draw3DRect): changed coordinates of rectangle by +0.5
11123         if in "normalize" mode.
11124
11125 2004-01-15  Tom Tromey  <tromey@redhat.com>
11126
11127         * Makefile.in: Rebuilt.
11128         * Makefile.am (gnu/gcj/runtime/StackTrace.lo): New rule.
11129         (%.lo: %.java) Filter out StackTrace.lo.
11130
11131 2004-01-14  Kelley Cook  <kcook@gcc.gnu.org>
11132
11133         * configure.in: Add in AC_PREREQ(2.13)
11134         * libltdl/configure.ac: Update to AC_PREREQ(2.57).  Delete 
11135         FIXME comment.
11136
11137 2004-01-14  Nathan Bryant  <nbryant@optonline.net>
11138             Tom Tromey  <tromey@redhat.com>
11139
11140         PR libgcj/12001:
11141         * gnu/gcj/runtime/VMClassLoader.java (VMClassLoader): Pass empty
11142         array to superclass.
11143         (init): Changed interface; add URLs here.
11144         (initialize): New static method.
11145         * prims.cc (_Jv_CreateJavaVM): Initialize ClassLoader here...
11146         (_Jv_RunMain): ... not here.
11147
11148 2004-01-14  Michael Koch  <konqueror@gmx.de>
11149
11150         * java/text/MessageFormat.java:
11151         Added descriptions to exceptions.
11152         This fixes PR libgcj/2429.
11153
11154 2004-01-13  Fernando Nasser  <fnasser@redhat.com>
11155
11156         * java/awt/EventQueue.java (isDispatchThread): Do check on top of stack.
11157         (push): Make sure push is performed at the top of the thread stack.
11158
11159 2004-01-13  Thomas Fitzsimmons  <fitzsim@redhat.com>
11160
11161         * gnu/java/awt/peer/gtk/GtkTextAreaPeer.java,
11162         jni/gtk-peer/gnu_java_awt_peer_gtk_GtkTextAreaPeer.c
11163         (native create): Add width and height parameters.  Set text
11164         view's size request according to new parameters.
11165         (create): Calculate text view size based on current font's
11166         metrics and number of rows and columns.  Set TextArea's font if
11167         not already set.  Call native create.
11168         (getMinimumSize): Call minimumSize.
11169         (getPreferredSize): Call preferredSize.
11170         (getHScrollbarHeight): New method.
11171         (getVScrollbarWidth): New method.
11172         (minimumSize): Calculate minimum size based on scrollbar
11173         visibility, scrollbar sizes, font metrics and number of rows and
11174         columns.
11175         (preferredSize): Likewise for preferred size.
11176         (gtkTextGetSize): Remove method.
11177
11178 2004-01-13  Thomas Fitzsimmons  <fitzsim@redhat.com>
11179
11180         * gnu/java/awt/peer/gtk/GtkComponentPeer.java
11181         (initializeInsets): Remove method.
11182         (GtkComponentPeer): Initialize insets field.  Remove call to
11183         initializeInsets.
11184         * gnu/java/awt/peer/gtk/GtkDialogPeer.java (initializeInsets):
11185         Remove method.
11186         * gnu/java/awt/peer/gtk/GtkFramePeer.java (initializeInsets):
11187         Remove method.
11188         * gnu/java/awt/peer/gtk/GtkWindowPeer.java,
11189         jni/gtk-peer/gnu_java_awt_peer_gtk_GtkWindowPeer.c:
11190         (latestInsets): Remove field.
11191         (native create): Add insets parameter.  Call
11192         window_get_frame_extents.  Set the window's default size and
11193         size request based on its frame extents.
11194         (create): Initialize insets.
11195         (postInsetsChangedEvent): New method.
11196         (postConfigureEvent): Remove parameters top, left, bottom,
11197         right.  Remove insets-related logic.
11198         (connectJObject): Handle property-notify-event.
11199         (window_get_frame_extents, request_frame_extents,
11200         property_notify_predicate, window_property_changed_cb): New
11201         static functions.
11202         * jni/gtk-peer/gnu_java_awt_peer_gtk_GtkEvents.c
11203         (pre_event_handler): Remove insets-related logic for configure
11204         events.
11205         * jni/gtk-peer/gnu_java_awt_peer_gtk_GtkMainThread.c (gtkInit):
11206         Update postConfigureEvent signature.
11207
11208 2004-01-13  Fernando Nasser  <fnasser@redhat.com>
11209  
11210         * gnu/java/awt/peer/gtk/TestAWT.java (DialogWindow): Add WindowAdapter
11211         to handle Window "Closing" events.
11212  
11213 2004-01-13  David Jee  <djee@redhat.com>
11214
11215         * gnu/java/awt/peer/gtk/GtkContainerPeer.java
11216         (setBackground): New method. Children with no explicitly-set
11217         background will be repainted with the parent container's new
11218         background color.
11219
11220 2004-01-13  David Jee  <djee@redhat.com>
11221
11222         * Makefile.am: Add BitwiseXORComposite.java.
11223         * Makefile.in: Regenerated.
11224         * gcj/Makefile.in: Regenerated.
11225         * include/Makefile.in: Regenerated.
11226         * testsuite/Makefile.in: Regenerated.
11227
11228 2004-01-12  Fernando Nasser  <fnasser@redhat.com>
11229
11230         * gnu/java/awt/peer/gtk/TestAWT.java: Fix test program so that it does
11231         not show modal dialogs twice and so that it allows showing a modal
11232         dialog from another modal dialog.
11233
11234 2004-01-12  Fernando Nasser  <fnasser@redhat.com>
11235
11236         * java/awt/Dialog.java (show): Enable blocking for all modal dialogs
11237         and run secondary dispatch thread to process event queue while this
11238         thread is blocked.
11239
11240 2004-01-12  Graydon Hoare  <graydon@redhat.com>
11241
11242         * gnu/java/awt/gtk/GdkGraphics2D.java
11243         (static): Check GtkToolkit before initializing static state.
11244         (Graphics2D): Don't construct transform with 0.5 unit offset.
11245
11246 2003-11-06  Sascha Brawer  <brawer@dandelis.ch>
11247
11248         * gnu/java/awt/BitwiseXORComposite.java: Add.
11249         * gnu/java/awt/peer/gtk/GdkGraphics2D.java
11250         (setXORMode): Switch to gnu.java.awt.BitwiseXORComposite.
11251         (BitwiseXORComposite): Remove inner class.
11252
11253 2004-01-11  Michael Koch  <konqueror@gmx.de>
11254
11255         * gnu/java/lang/reflect/TypeSignature.java
11256         (getEncodingOfClass): Documentation fixed.
11257         (getClassForEncoding): Give class loader to Class.forName().
11258         Documentation fixed.
11259
11260 2004-01-11  Sascha Brawer  <brawer@dandelis.ch>
11261
11262         * javax/swing/undo/CompoundEdit.java (serialVersionUID): Added.
11263
11264 2004-01-11  Michael Koch  <konqueror@gmx.de>
11265
11266         * javax/swing/undo/StateEditable.java
11267         (RCSID): Removed redundant modifiers.
11268
11269 2004-01-10  Michael Koch  <konqueror@gmx.de>
11270
11271         * javax/print/attribute/EnumSyntax.java
11272         (getStringTable): Made protected.
11273         (getEnumValueTable): Likewise.
11274         * javax/print/attribute/standard/JobKOctetsProcessed.java
11275         (JobKOctetsProcessed): Don't implement PrintRequestAttribute.
11276         * javax/print/attribute/standard/JobMediaSheetsCompleted.java
11277         (JobMediaSheetsCompleted): Made class final.
11278         * javax/print/attribute/standard/OutputDeviceAssigned.java
11279         (getName): Fixed typo.
11280         * javax/print/attribute/standard/RequestingUserName.java
11281         (serialVersionUID): Fixed value.
11282
11283 2004-01-10  Michael Koch  <konqueror@gmx.de>
11284
11285         * javax/swing/plaf/basic/BasicButtonUI.java,
11286         javax/swing/plaf/basic/BasicCheckBoxUI.java,
11287         javax/swing/plaf/basic/BasicListUI.java,
11288         javax/swing/plaf/basic/BasicOptionPaneUI.java,
11289         javax/swing/plaf/basic/BasicPanelUI.java,
11290         javax/swing/plaf/basic/BasicRadioButtonUI.java,
11291         javax/swing/plaf/basic/BasicScrollPaneUI.java,
11292         javax/swing/plaf/basic/BasicToggleButtonUI.java,
11293         javax/swing/plaf/basic/BasicViewportUI.java:
11294         Fixed import statements.
11295
11296 2004-01-10  Michael Koch  <konqueror@gmx.de>
11297
11298         * gnu/java/awt/image/ImageDecoder.java
11299         (produce): Made public.
11300         * gnu/java/awt/peer/GLightweightPeer.java,
11301         gnu/java/awt/peer/gtk/GtkToolkit.java:
11302         Reformated.
11303
11304 2004-01-10  Michael Koch  <konqueror@gmx.de>
11305
11306         * javax/swing/JRadioButtonMenuItem.java,
11307         javax/swing/JSeparator.java,
11308         javax/swing/JSplitPane.java,
11309         javax/swing/JTextPane.java,
11310         javax/swing/JToolBar.java,
11311         javax/swing/ListCellRenderer.java,
11312         javax/swing/ListModel.java,
11313         javax/swing/MenuElement.java,
11314         javax/swing/OverlayLayout.java,
11315         javax/swing/ProgressMonitor.java,
11316         javax/swing/ProgressMonitorInputStream.java,
11317         javax/swing/Renderer.java,
11318         javax/swing/RootPaneContainer.java,
11319         javax/swing/Scrollable.java,
11320         javax/swing/SingleSelectionModel.java,
11321         javax/swing/ToolTipManager.java,
11322         javax/swing/ViewportLayout.java,
11323         javax/swing/event/DocumentEvent.java,
11324         javax/swing/event/SwingPropertyChangeSupport.java,
11325         javax/swing/event/TreeSelectionEvent.java,
11326         javax/swing/event/UndoableEditEvent.java,
11327         javax/swing/text/AbstractDocument.java,
11328         javax/swing/text/AttributeSet.java,
11329         javax/swing/text/Caret.java,
11330         javax/swing/text/ComponentView.java,
11331         javax/swing/text/DefaultCaret.java,
11332         javax/swing/text/DefaultEditorKit.java,
11333         javax/swing/text/Document.java,
11334         javax/swing/text/EditorKit.java,
11335         javax/swing/text/GapContent.java,
11336         javax/swing/text/Keymap.java,
11337         javax/swing/text/MutableAttributeSet.java,
11338         javax/swing/text/PlainEditorKit.java,
11339         javax/swing/text/Segment.java,
11340         javax/swing/text/Style.java,
11341         javax/swing/text/StyledDocument.java,
11342         javax/swing/text/StyledEditorKit.java,
11343         javax/swing/text/TextAction.java,
11344         javax/swing/text/View.java: Fixed import statements.
11345
11346 2004-01-08  Graydon Hoare  <graydon@redhat.com>
11347
11348         * javax/swing/JLayeredPane.java: Rewrite to accomodate
11349         djee@redhat.com's recent inverse ordering of Container elements.
11350
11351 2004-01-09  Michael Koch  <konqueror@gmx.de>
11352
11353         * gnu/java/lang/ArrayHelper.java
11354         (equalsArray): Removed.
11355
11356 2004-01-09  Andrew Haley  <aph@redhat.com>
11357
11358         * java/lang/natClassLoader.cc (_Jv_PrepareCompiledClass): Resolve
11359         a Utf8Const field before looking at its class.
11360
11361 2004-01-09  Michael Koch  <konqueror@gmx.de>
11362
11363         * javax/print/attribute/standard/DocumentName.java,
11364         javax/print/attribute/standard/JobHoldUntil.java,
11365         javax/print/attribute/standard/JobMessageFromOperator.java,
11366         javax/print/attribute/standard/JobName.java,
11367         javax/print/attribute/standard/JobOriginatingUserName.java,
11368         javax/print/attribute/standard/OutputDeviceAssigned.java,
11369         javax/print/attribute/standard/PrinterInfo.java,
11370         javax/print/attribute/standard/PrinterLocation.java,
11371         javax/print/attribute/standard/PrinterMakeAndModel.java,
11372         javax/print/attribute/standard/PrinterMessageFromOperator.java,
11373         javax/print/attribute/standard/PrinterName.java,
11374         javax/print/attribute/standard/RequestingUserName.java: New files.
11375         * Makefile.am (javax_source_files): Added new files.
11376         * Makefile.in: Regenerated.
11377
11378 2004-01-09  Michael Koch  <konqueror@gmx.de>
11379
11380         * javax/swing/AbstractAction.java,
11381         javax/swing/AbstractSet.java,
11382         javax/swing/Action.java,
11383         javax/swing/ActionMap.java,
11384         javax/swing/BoundedRangeModel.java,
11385         javax/swing/ButtonModel.java,
11386         javax/swing/CellEditor.java,
11387         javax/swing/CellRendererPane.java,
11388         javax/swing/ComboBoxEditor.java,
11389         javax/swing/DebugGraphics.java,
11390         javax/swing/DefaultCellEditor.java,
11391         javax/swing/DefaultCellRenderer.java,
11392         javax/swing/DefaultComboBoxModel.java,
11393         javax/swing/DefaultDesktopManager.java,
11394         javax/swing/DefaultFocusManager.java,
11395         javax/swing/DefaultListCellRenderer.java,
11396         javax/swing/Icon.java,
11397         javax/swing/JButton.java,
11398         javax/swing/JCheckBoxMenuItem.java,
11399         javax/swing/JDesktopPane.java,
11400         javax/swing/JEditorPane.java,
11401         javax/swing/JMenu.java,
11402         javax/swing/JPanel.java,
11403         javax/swing/JPasswordField.java,
11404         javax/swing/JPopupMenu.java,
11405         javax/swing/JProgressBar.java: Reworked imports.
11406
11407 2004-01-09  Michael Koch  <konqueror@gmx.de>
11408
11409         * java/awt/geom/PathIterator.java
11410         (WIND_EVEN_ODD): Removed redundant modifiers.
11411         (WIND_NON_ZERO): Likewise.
11412         (SEG_MOVETO): Likewise.
11413         (SEG_LINETO): Likewise.
11414         (SEG_QUADTO): Likewise.
11415         (SEG_CUBICTO): Likewise.
11416         (SEG_CLOSE): Likewise.
11417         * java/awt/image/SinglePixelPackedSampleModel.java:
11418         Removed redundant semicolon.
11419         * java/io/ObjectInputStream.java
11420         (inputGetObjectStreamClasses): Removed unused variable "ret_val".
11421         * java/util/logging/Filter.java
11422         (isLoggable): Removed redundant modifier.
11423         * java/util/logging/LogManager.java:
11424         Removed redundant semicolon.
11425         * java/util/logging/XMLFormatter.java
11426         (format): Removed unused variable "key".
11427
11428 2004-01-08  Fernando Nasser  <fnasser@redhat.com>
11429
11430         * gnu/java/awt/peer/gtk/GtkFileDialogPeer.java (nativeSetFile):
11431         New name for the former setFile native method.
11432         (setFile): New method.
11433         (setDirectory): Implemented.
11434         (connectSignals): New native method.
11435         (setFilenameFilter): Improve comment.
11436         (getGraphics): Comment.
11437         (gtkHideFileDialog): New method.
11438         (gtkDisposeFileDialog): New method.
11439         (gtkSetFilename): New method.
11440         * java/awt/Dialog.java (show): Block on modal dialogs, but only
11441         for FileDialog for now.
11442         (hide): New method.
11443         (dispose): New method.
11444         * jni/gtk-peer/gnu_java_awt_peer_gtk_GtkFileDialogPeer.c
11445         (Java_gnu_java_awt_peer_gtk_GtkFileDialog_create): Replace
11446         deprecated creation functions.  Make dialog modal.  Add it to the
11447         window group.
11448         (Java_gnu_java_awt_peer_gtk_GtkFileDialog_connectSignals): New
11449         function.
11450         (Java_gnu_java_awt_peer_gtk_GtkFileDialogPeer_gtkFileSelectionSetFilename):
11451         Rename to...
11452         (Java_gnu_java_awt_peer_gtk_GtkFileDialogPeer_nativeSetFile): New
11453         name.
11454         (window_closed): New function.
11455         (ok_clicked): New function.
11456         (cancel_clicked): New function.
11457
11458 2004-01-08  Michael Koch  <konqueror@gmx.de>
11459
11460         * javax/swing/JLayeredPane.java: Revert changes to standard
11461         boilerplate, reworked imports.
11462
11463 2004-01-07  Tom Tromey  <tromey@redhat.com>
11464
11465         PR libgcj/13439:
11466         * verify.cc (state::merge): Copy changed locals out of subroutine
11467         in NO_STACK case.
11468         (state::FLAG_CHANGED): New const.
11469         (state::FLAG_UNUSED): Likewise.
11470         (state::local_changed): Removed.  Updated all users.
11471         (state::flags): New field.
11472         (state::merge): Added jsr_semantics argument, more logic.
11473         (push_jump_merge): Added jsr_semantics argument.
11474         (handle_jsr_insn): Set jsr_semantics on push_jump_merge when
11475         merging through the jsr instruction.
11476
11477 2004-01-07  Tom Tromey  <tromey@redhat.com>
11478
11479         * scripts/MakeDefaultMimeTypes.java: Use \n, not
11480         backslash-newline.
11481
11482 2004-01-07  Graydon Hoare  <graydon@redhat.com>
11483
11484         * java/awt/Container.java (LightweightDispatcher): Implement.
11485         (visitChild): Reuse graphics object.
11486         (dispatchEventImpl): Optionally dispatch to lightweight.
11487         (addNotifyContainerChildren): Build LightweightDispatcher.
11488
11489 2004-01-07  David Jee  <djee@redhat.com>
11490
11491         * java/awt/Container.java
11492         (update): Clear only the clipped region, instead of clearing the
11493         entire Container.
11494         (visitChildren): Visit children in descending order.
11495
11496 2004-01-07  Michael Koch  <konqueror@gmx.de>
11497
11498         * java/lang/reflect/Array.java: Merged documentation with classpath.
11499
11500 2004-01-07  Michael Koch  <konqueror@gmx.de>
11501
11502         * java/text/CollationElementIterator.java
11503         (textIndex): Renamed from index.
11504         * java/text/CollationKey.java
11505         (collator): New member.
11506         (CollationKey): New argument for parent collator.
11507         (equals): Check for same collator, source string and key array.
11508         * java/text/RuleBasedCollator.java:
11509         Reformated.
11510         (RuleBasedCollator): Don't re-initialize frenchAccents with default
11511         value.
11512         (getCollationElementIterator): Rewritten.
11513         (getCollationKey): Added new argument to CollationKey constructor.
11514
11515 2004-01-07  Michael Koch  <konqueror@gmx.de>
11516
11517         * gnu/java/nio/DatagramChannelImpl.java
11518         (blocking): Removed.
11519         (DatagramChannelImpl): Call configureBlocking().
11520         (implConfigureBlocking): Dont initialize blocking.
11521         * gnu/java/nio/ServerSocketChannelImpl.java
11522         (blocking): Removed.
11523         (ServerSocketChannelImpl): Call configureBlocking().
11524         (implConfigureBlocking): Dont initialize blocking.
11525         * gnu/java/nio/SocketChannelImpl.java
11526         (blocking): Removed.
11527         (SocketChannelImpl): Call configureBlocking().
11528         (implConfigureBlocking): Dont initialize blocking.
11529         (connect): Use isBlocking().
11530         * java/nio/channels/spi/AbstractSelectableChannel.java
11531         (configureBlocking): Use blockingLock() instead of LOCK.
11532         Set blocking after successfully called implConfigureBlocking().
11533         (register): Use blockingLock() instead of LOCK.
11534
11535 2004-01-07  Michael Koch  <konqueror@gmx.de>
11536
11537         * java/net/ServerSocket.java (isBound): Fixed documentation.
11538
11539 2004-01-07  Sascha Brawer  <brawer@dandelis.ch>
11540
11541         * javax/swing/DefaultBoundedRangeModel.java: Documented API.
11542         (changeEvent): Create event object on demand.
11543         (DefaultBoundedRangeModel, toString, setValue, setExtent,
11544         setMinimum, setMaximum, setValueIsAdjusting, setRangeProperties,
11545         fireStateChanged): Re-written.
11546         * javax/swing/event/EventListenerList.java: Reformatted, document
11547         typical usage.
11548         (toString): Implemented.
11549         (getListeners): Re-written.
11550         (remove): Re-written.
11551         (add): Re-written.
11552         (NO_LISTENERS): New singleton field.
11553         (listenerList): Declare as transient; document.
11554         (serialVersionUID): Document.
11555         (getListenerCount(Class)): More efficient implementation,
11556         also accepts null argument.  Improve Javadoc.
11557         (getListenerCount()): Remove unnecessary cast; docfix.
11558         * javax/swing/undo/UndoableEditSupport.java:
11559         Re-format, document.
11560         (UndoableEditSupport): Set realSource field. Improve documentation.
11561         (_postEdit): Iterate over cloned listener vector.
11562         (toString): Don't emit realSource.
11563         (beginUpdate, endUpdate): Support nested updates.
11564         (postEdit): Use compound edit if present.
11565
11566 2004-01-06  Graydon Hoare  <graydon@redhat.com>
11567
11568         * java/awt/Container.java (swapComponents): Add forgotten
11569         function, required for JLayeredPane change.
11570
11571 2004-01-06  Michael Koch  <konqueror@gmx.de>
11572
11573         * java/text/CollationElementIterator.java: Reformated.
11574         (CollationElementIterator): Changed order of arguments.
11575         * java/text/RuleBasedCollator.java
11576         (RuleBasedCollator): Merged class documentation.
11577         (CollationElement): Added documentation.
11578         (compare): Reformated, renamed arguments.
11579         (equals): Likewise.
11580         (getCollationElementIterator): Likewise.
11581         (getCollationKey): Likewise.
11582
11583 2004-01-06  Graydon Hoare  <graydon@redhat.com>
11584
11585         * javax/swing/JLayeredPane.java: Fix semantics, add javadocs.
11586
11587 2004-01-06  Michael Koch  <konqueror@gmx.de>
11588
11589         * gnu/java/net/protocol/file/Connection.java:
11590         Reformated copyright.
11591         (hdrHash): Removed.
11592         (hdrVec): Removed.
11593         (gotHeaders): Removed.
11594         (getHeaderField): Removed.
11595         (getHeaderField): Removed.
11596         (getHeaderFieldKey): Removed.
11597         (getKey): Removed.
11598         (getField): Removed.
11599         (getHeaders): Removed.
11600
11601 2004-01-06  Michael Koch  <konqueror@gmx.de>
11602
11603         * javax/print/attribute/standard/DateTimeAtCompleted.java,
11604         javax/print/attribute/standard/DateTimeAtCreation.java,
11605         javax/print/attribute/standard/DateTimeAtProcessing.java,
11606         javax/print/attribute/standard/JobImpressionsCompleted.java,
11607         javax/print/attribute/standard/JobKOctets.java,
11608         javax/print/attribute/standard/JobKOctetsProcessed.java,
11609         javax/print/attribute/standard/JobMediaSheetsCompleted.java,
11610         javax/print/attribute/standard/JobPrioritySupported.java: New files.
11611         * Makefile.am (javax_source_files): Added new files.
11612         * Makefile.in: Regenerated.
11613
11614 2004-01-06  Michael Koch  <konqueror@gmx.de>
11615
11616         * java/net/URLConnection.java
11617         (contentHandler): Removed.
11618         (locale): Removed.
11619         (getHeaderFields): Return an empty map instead of null.
11620         (getContent): Connect if needed, renamed "cType" to "type" and
11621         "contentHandler" to "ch" and made it a local variable.
11622         (getPermission): Don't use package in class name.
11623         (setDefaultRequestProperty): Fixed typo in documentation.
11624         (initializeDateFormats): Made locale a local variable.
11625
11626 2004-01-06  Michael Koch  <konqueror@gmx.de>
11627
11628         * java/lang/Package.java
11629         (getPackage): Get the current class loader directly.
11630         * java/lang/SecurityManager.java
11631         (currentLoadedClass): Dont iterate over class contexts.
11632         (classLoaderDepth): Don't check class loaders if everything is allowed.
11633
11634 2004-01-05  Thomas Fitzsimmons  <fitzsim@redhat.com>
11635
11636         * jni/gtk-peer/gnu_java_awt_peer_gtk_GtkEvents.c
11637         (pre_event_handler): Set all insets to 0 when a Configure event
11638         is received for a GtkPlug.
11639         * gnu/java/awt/EmbeddedWindow.java (window_id): Rename handle.
11640         Make handle long, not int.
11641         (EmbeddedWindow()): New constructor.
11642         (EmbeddedWindow(int)): Rename window_id to handle.  Make handle
11643         long, not int.
11644         (setHandle): New method.
11645         (getHandle): Return long, not int.
11646         * gnu/java/awt/peer/EmbeddedWindowPeer.java (embed): New method
11647         declaration.
11648         * gnu/java/awt/peer/gtk/GtkEmbeddedWindowPeer.java,
11649         jni/gtk-peer/gnu_java_awt_peer_gtk_GtkEmbeddedWindowPeer.c:
11650         (create(long)): Take long parameter, not int.  Cast gtk_plug_new
11651         argument to GdkNativeWindow.
11652         (construct): New method.
11653         (embed): New method.
11654
11655         * gnu/java/awt/peer/gtk/GtkScrollPanePeer.java,
11656         jni/gtk-peer/gnu_java_awt_peer_gtk_GtkScrollPanePeer.c
11657         (create(int, int)): New method.
11658         (create): Call new create method.
11659         (gtkScrolledWindowNew, gtkScrolledWindowSetSize): Remove
11660         methods.
11661         (childResized): Remove native implementation.  Implement in
11662         Java.
11663         (getHScrollbarHeight, getVScrollbarWidth): Call
11664         gtk_widget_size_request to get scrollbar dimensions.
11665         * java/awt/ScrollPane.java (getViewportSize): Reimplement.  Only
11666         call getVScrollbarWidth and getHScrollbarHeight when vertical
11667         and horizontal scrollbars respectively are needed.
11668         (doLayout): Enlarge child if it is smaller than the viewport.
11669
11670 2004-01-05  Fernando Nasser  <fnasser@redhat.com>
11671
11672         * java/awt/Dialog.java (constructor): Accept null title as per spec.
11673         * java/awt/FileDialog.java (constructor): Throw exception on invalid
11674         argument as per spec.
11675
11676 2004-01-05  Fernando Nasser  <fnasser@redhat.com>
11677
11678         * java/awt/Choice.java (add): Leave posting of ItemEvents to peer.
11679         (insert): Ditto.
11680         (remove): Ditto.  Also, Check for valid argument.
11681         (removeAll): Use peer interface method.
11682         * gnu/java/awt/peer/gtk/GtkChoicePeer.java (nativeAdd): New name for
11683         native add function.
11684         (nativeRemove): New name for native remove function.
11685         (getHistory): New native function.
11686         (constructor): Generate ItemEvent.
11687         (add): Ditto, if selection is changed.
11688         (remove): Ditto, ditto.
11689         (removeAll): Add implementation.
11690         (handleEvent): Remove.  Dead code.
11691         (choicePostItemEvent): Add comment.
11692         * jni/gtk-peer/gnu_java_awt_peer_gtk_GtkChoicePeer.c
11693         (Java_gnu_java_awt_peer_gtk_GtkChoicePeer_append): Add comments.
11694         (Java_gnu_java_awt_peer_gtk_GtkChoicePeer_add): Rename to...
11695         (Java_gnu_java_awt_peer_gtk_GtkChoicePeer_nativeAdd): New name.  Add
11696         comments and fix condition to change selection.
11697         (Java_gnu_java_awt_peer_gtk_GtkChoicePeer_remove): Rename to...
11698         (Java_gnu_java_awt_peer_gtk_GtkChoicePeer_nativeRemove): New name.  Add
11699         remove all capability.
11700         (Java_gnu_java_awt_peer_gtk_GtkChoicePeer_getHistory): New function.
11701         (item_activate): Add cast to remove compiler warning.
11702
11703 2004-01-05  Thomas Fitzsimmons  <fitzsim@redhat.com>
11704
11705         * gnu/java/awt/peer/gtk/GtkComponentPeer.java,
11706         jni/gtk-peer/gnu_java_awt_peer_gtk_GtkComponentPeer.c
11707         (getPreferredSize): Call preferredSize.
11708         (preferredSize): Call gtkWidgetGetPreferredDimensions.
11709         (getMinimumSize): Call minimumSize.
11710         (minimumSize): Call gtkWidgetGetPreferredDimensions.
11711         (gtkWidgetGetDimensions): Return the peer widget's current size
11712         request.
11713         (gtkWidgetGetPreferredDimensions): Return the peer widget's
11714         natural size request.
11715
11716 2004-01-05  Sascha Brawer  <brawer@dandelis.ch>
11717
11718         Thanks to Brian Gough <bjg@network-theory.com>
11719         * java/awt/geom/CubicCurve2D.java (solveCubic): Implemented.
11720         * java/awt/geom/QuadCurve2D.java (solveQuadratic): Re-written.
11721
11722 2004-01-04  Matthias Klose  <doko@debian.org>
11723
11724         * aclocal.m4: Rebuilt using "aclocal -I .".
11725         * configure: Rebuilt.
11726
11727 2004-01-03  Per Bothner  <per@bothner.com>
11728
11729         * java/util/Date.java (parse):  Fix a number of problems.
11730         (skipParens):  Remove no-longer-needed method.
11731