OSDN Git Service

f3b1283c620a2dca873911e016934373c81b24ce
[pf3gnuchains/gcc-fork.git] / libjava / ChangeLog
1 2004-10-23  Michael Koch  <konqueror@gmx.de>
2
3         * javax/print/DocFlavor.java,
4         javax/print/attribute/standard/JobStateReason.java,
5         javax/print/attribute/standard/MultipleDocumentHandling.java:
6         Added missing constants.
7
8 2004-10-22  Tom Tromey  <tromey@redhat.com>
9
10         * gnu/java/net/protocol/http/Connection.java (sendRequest): Fix
11         typo.
12
13 2004-10-22  Michael Koch  <konqueror@gmx.de>
14
15         PR libjava/14009
16         * gnu/java/net/protocol/http/Connection.java
17         (sendRequest): Handle case when url.getFile() returns an empty string.
18
19 2004-10-22  Michael Koch  <konqueror@gmx.de>
20
21         * java/lang/Math.java,
22         java/lang/StackTraceElement.java,
23         java/nio/Buffer.java,
24         java/nio/ByteBuffer.java,
25         java/nio/CharBuffer.java,
26         java/nio/DoubleBuffer.java,
27         java/nio/FloatBuffer.java,
28         java/nio/IntBuffer.java,
29         java/nio/LongBuffer.java,
30         java/nio/ShortBuffer.java,
31         java/nio/charset/Charset.java,
32         java/rmi/server/RMIClassLoader.java,
33         java/rmi/server/RMISocketFactory.java,
34         java/security/Policy.java,
35         java/text/ChoiceFormat.java,
36         java/text/CollationElementIterator.java,
37         java/text/DateFormat.java,
38         java/text/DecimalFormat.java,
39         java/text/DecimalFormatSymbols.java,
40         java/text/MessageFormat.java,
41         java/text/NumberFormat.java,
42         java/text/RuleBasedCollator.java,
43         java/text/SimpleDateFormat.java,
44         java/util/BitSet.java,
45         java/util/Calendar.java,
46         java/util/Collections.java,
47         java/util/IdentityHashMap.java,
48         java/util/Locale.java,
49         java/util/TreeMap.java,
50         java/util/logging/LogRecord.java,
51         java/util/logging/XMLFormatter.java,
52         java/util/prefs/AbstractPreferences.java,
53         java/util/prefs/Preferences.java,
54         javax/crypto/interfaces/DHPrivateKey.java,
55         javax/crypto/interfaces/DHPublicKey.java,
56         javax/crypto/interfaces/PBEKey.java,
57         javax/net/ssl/HandshakeCompletedEvent.java,
58         javax/security/auth/Subject.java:
59         Removed redundant and reordered modifiers.
60
61 2004-10-22  Ulrich Weigand  <uweigand@de.ibm.com>
62
63         * gnu/java/net/natPlainSocketImplPosix.cc
64         (gnu::java::net::PlainSocketImpl::available): Call FIONREAD ioctl
65         with 'int *' argument instead of 'long *'.
66
67 2004-10-21  Michael Koch  <konqueror@gmx.de>
68
69         * java/net/NetworkInterface.java,
70         java/text/Format.java,
71         javax/security/auth/x500/X500Principal.java,
72         javax/security/auth/x500/X500PrivateCredential.java,
73         javax/security/cert/X509CertBridge.java,
74         javax/security/sasl/Sasl.java,
75         javax/sql/XAConnection.java:
76         Import cleanup.
77
78 2004-10-21  Michael Koch  <konqueror@gmx.de>
79
80         * javax/net/ssl/HandshakeCompletedEvent.java,
81         javax/net/ssl/KeyManagerFactory.java,
82         javax/net/ssl/SSLContext.java,
83         javax/net/ssl/SSLServerSocketFactory.java,
84         javax/net/ssl/SSLSession.java,
85         javax/net/ssl/SSLSocketFactory.java,
86         javax/net/ssl/TrustManagerFactory.java:
87         Import cleanup.
88
89 2004-10-21  Michael Koch  <konqueror@gmx.de>
90
91         * javax/naming/directory/BasicAttribute.java,
92         javax/naming/directory/BasicAttributes.java,
93         javax/naming/directory/InitialDirContext.java,
94         javax/naming/event/NamingEvent.java,
95         javax/naming/ldap/ControlFactory.java,
96         javax/naming/ldap/ExtendedRequest.java,
97         javax/naming/ldap/InitialLdapContext.java,
98         javax/naming/ldap/LdapReferralException.java,
99         javax/naming/spi/DirObjectFactory.java,
100         javax/naming/spi/DirStateFactory.java,
101         javax/naming/spi/DirectoryManager.java,
102         javax/naming/spi/InitialContextFactory.java,
103         javax/naming/spi/InitialContextFactoryBuilder.java,
104         javax/naming/spi/NamingManager.java,
105         javax/naming/spi/ObjectFactory.java,
106         javax/naming/spi/ObjectFactoryBuilder.java,
107         javax/naming/spi/StateFactory.java:
108         Import cleanup.
109
110 2004-10-21  Michael Koch  <konqueror@gmx.de>
111
112         * javax/crypto/Cipher.java,
113         javax/crypto/EncryptedPrivateKeyInfo.java,
114         javax/crypto/ExemptionMechanism.java,
115         javax/crypto/KeyAgreement.java,
116         javax/crypto/KeyGenerator.java,
117         javax/crypto/Mac.java,
118         javax/crypto/SecretKeyFactory.java,
119         javax/crypto/SecretKeyFactorySpi.java,
120         javax/crypto/spec/SecretKeySpec.java:
121         Import cleanup.
122
123 2004-10-21  Michael Koch  <konqueror@gmx.de>
124
125         * java/security/AlgorithmParameterGenerator.java,
126         java/security/AlgorithmParameters.java,
127         java/security/AlgorithmParametersSpi.java,
128         java/security/AllPermission.java,
129         java/security/BasicPermission.java,
130         java/security/Certificate.java,
131         java/security/CodeSource.java,
132         java/security/DigestInputStream.java,
133         java/security/DigestOutputStream.java,
134         java/security/GuardedObject.java,
135         java/security/KeyFactory.java,
136         java/security/KeyFactorySpi.java,
137         java/security/KeyPairGenerator.java,
138         java/security/KeyStore.java,
139         java/security/KeyStoreSpi.java,
140         java/security/Permissions.java,
141         java/security/Security.java,
142         java/security/Signature.java,
143         java/security/UnresolvedPermission.java,
144         java/security/cert/CertPathBuilder.java,
145         java/security/cert/CertPathValidator.java,
146         java/security/cert/CertStore.java,
147         java/security/cert/Certificate.java,
148         java/security/cert/CertificateFactory.java,
149         java/security/cert/PolicyQualifierInfo.java,
150         java/security/cert/TrustAnchor.java,
151         java/security/cert/X509CRL.java,
152         java/security/cert/X509CRLSelector.java,
153         java/security/cert/X509CertSelector.java:
154         Import cleanup.
155
156 2004-10-21  Michael Koch  <konqueror@gmx.de>
157
158         * java/rmi/MarshalledObject.java,
159         java/rmi/Naming.java,
160         java/rmi/activation/Activatable.java,
161         java/rmi/activation/ActivationGroup.java,
162         java/rmi/activation/ActivationGroupDesc.java,
163         java/rmi/activation/ActivationInstantiator.java,
164         java/rmi/activation/ActivationMonitor.java,
165         java/rmi/activation/ActivationSystem.java,
166         java/rmi/activation/Activator.java,
167         java/rmi/registry/LocateRegistry.java,
168         java/rmi/registry/Registry.java,
169         java/rmi/server/LogStream.java,
170         java/rmi/server/ObjID.java,
171         java/rmi/server/RMIClientSocketFactory.java,
172         java/rmi/server/RMIServerSocketFactory.java,
173         java/rmi/server/RMISocketFactory.java,
174         java/rmi/server/RemoteCall.java,
175         java/rmi/server/RemoteServer.java,
176         java/rmi/server/ServerRef.java,
177         java/rmi/server/UID.java,
178         java/rmi/server/UnicastRemoteObject.java:
179         Import cleanup.
180
181 2004-10-21  Tom Tromey  <tromey@redhat.com>
182
183         * java/util/zip/InflaterInputStream.java (fill): Don't throw an
184         exception if we hit EOF of `in'.
185         (read): Handle case where inflating returns -1.
186
187 2004-10-21  Ulrich Weigand  <uweigand@de.ibm.com>
188
189         * gnu/java/nio/channels/natFileChannelPosix.cc
190         (FileChannelImpl::available): Call FIONREAD ioctl with 'int *'
191         argument instead of 'long *'.
192
193 2004-10-21  Tom Tromey  <tromey@redhat.com>
194
195         * java/util/ResourceBundle.java (tryBundle): Also ignore
196         ClassCastException.
197
198 2004-10-21  Kaz Kojima  <kkojima@gcc.gnu.org>
199
200         * configure.ac (SIGNAL_HANDLER): Set to include/sh-signal.h
201         for all sh*-*-linux* targets.
202         * configure: Regenerate.
203         * include/sh-signal.h: New file.
204
205 2004-10-21  Kazuhiro Inaoka  <inaoka.kazuhiro@renesas.com>
206
207         * java/lang/ieeefp.h: Add m32r support.
208
209 2004-10-20  Andreas Schwab  <schwab@suse.de>
210
211         * java/lang/natClass.cc (_Jv_LayoutVTableMethods): Cast pointers
212         to uaddr, not int.
213         * java/lang/natClassLoader.cc (_Jv_PrepareCompiledClass):
214         Likewise.
215
216 2004-10-20  Michael Koch  <konqueror@gmx.de>
217
218         * javax/print/attribute/standard/ColorSupported.java,
219         javax/print/attribute/standard/Compression.java,
220         javax/print/attribute/standard/Copies.java,
221         javax/print/attribute/standard/CopiesSupported.java,
222         javax/print/attribute/standard/DateTimeAtCompleted.java,
223         javax/print/attribute/standard/DateTimeAtCreation.java,
224         javax/print/attribute/standard/DateTimeAtProcessing.java,
225         javax/print/attribute/standard/DocumentName.java,
226         javax/print/attribute/standard/Fidelity.java,
227         javax/print/attribute/standard/Finishings.java,
228         javax/print/attribute/standard/JobHoldUntil.java,
229         javax/print/attribute/standard/JobImpressions.java,
230         javax/print/attribute/standard/JobImpressionsCompleted.java,
231         javax/print/attribute/standard/JobImpressionsSupported.java,
232         javax/print/attribute/standard/JobKOctets.java,
233         javax/print/attribute/standard/JobKOctetsProcessed.java,
234         javax/print/attribute/standard/JobKOctetsSupported.java,
235         javax/print/attribute/standard/JobMediaSheets.java,
236         javax/print/attribute/standard/JobMediaSheetsCompleted.java,
237         javax/print/attribute/standard/JobMediaSheetsSupported.java,
238         javax/print/attribute/standard/JobMessageFromOperator.java,
239         javax/print/attribute/standard/JobName.java,
240         javax/print/attribute/standard/JobOriginatingUserName.java,
241         javax/print/attribute/standard/JobPriority.java,
242         javax/print/attribute/standard/JobPrioritySupported.java,
243         javax/print/attribute/standard/JobSheets.java,
244         javax/print/attribute/standard/JobState.java,
245         javax/print/attribute/standard/JobStateReason.java,
246         javax/print/attribute/standard/JobStateReasons.java,
247         javax/print/attribute/standard/Media.java,
248         javax/print/attribute/standard/MultipleDocumentHandling.java,
249         javax/print/attribute/standard/NumberOfDocuments.java,
250         javax/print/attribute/standard/NumberOfInterveningJobs.java,
251         javax/print/attribute/standard/NumberUp.java,
252         javax/print/attribute/standard/NumberUpSupported.java,
253         javax/print/attribute/standard/OrientationRequested.java,
254         javax/print/attribute/standard/OutputDeviceAssigned.java,
255         javax/print/attribute/standard/PDLOverrideSupported.java,
256         javax/print/attribute/standard/PageRanges.java,
257         javax/print/attribute/standard/PagesPerMinute.java,
258         javax/print/attribute/standard/PagesPerMinuteColor.java,
259         javax/print/attribute/standard/PrintQuality.java,
260         javax/print/attribute/standard/PrinterInfo.java,
261         javax/print/attribute/standard/PrinterIsAcceptingJobs.java,
262         javax/print/attribute/standard/PrinterLocation.java,
263         javax/print/attribute/standard/PrinterMakeAndModel.java,
264         javax/print/attribute/standard/PrinterMessageFromOperator.java,
265         javax/print/attribute/standard/PrinterMoreInfo.java,
266         javax/print/attribute/standard/PrinterMoreInfoManufacturer.java,
267         javax/print/attribute/standard/PrinterName.java,
268         javax/print/attribute/standard/PrinterStateReason.java,
269         javax/print/attribute/standard/PrinterStateReasons.java,
270         javax/print/attribute/standard/PrinterURI.java,
271         javax/print/attribute/standard/ReferenceUriSchemesSupported.java,
272         javax/print/attribute/standard/RequestingUserName.java:
273         Reorganized imports and removed redundant final modifiers.
274
275 2004-10-20  Michael Koch  <konqueror@gmx.de>
276
277         * javax/security/sasl/SaslClient.java,
278         javax/security/sasl/SaslClientFactory.java,
279         javax/security/sasl/SaslException.java,
280         javax/security/sasl/SaslServer.java,
281         javax/security/sasl/SaslServerFactory.java:
282         Remvoed CVS tags.
283
284 2004-10-20  Michael Koch  <konqueror@gmx.de>
285
286         * javax/security/auth/login/NullConfiguration.java,
287         javax/security/auth/x500/X500Principal.java,
288         javax/security/cert/X509Certificate.java,
289         javax/security/sasl/AuthenticationException.java,
290         javax/security/sasl/AuthorizeCallback.java,
291         javax/security/sasl/RealmCallback.java,
292         javax/security/sasl/RealmChoiceCallback.java,
293         javax/security/sasl/Sasl.java,
294         javax/security/sasl/SaslClient.java,
295         javax/security/sasl/SaslClientFactory.java,
296         javax/security/sasl/SaslException.java,
297         javax/security/sasl/SaslServer.java,
298         javax/security/sasl/SaslServerFactory.java:
299         Cleaned up import statements and copyright notices.
300
301 2004-10-20  Michael Koch  <konqueror@gmx.de>
302
303         * gnu/java/rmi/rmic/RMIC.java: Reformatted.
304
305 2004-10-20  Michael Koch  <konqueror@gmx.de>
306
307         * java/sql/Timestamp.java,
308         java/text/AttributedCharacterIterator.java,
309         java/text/AttributedString.java,
310         java/util/zip/CheckedOutputStream.java,
311         java/util/zip/DeflaterOutputStream.java,
312         java/util/zip/ZipFile.java,
313         javax/crypto/Cipher.java,
314         javax/crypto/ExemptionMechanismException.java,
315         javax/crypto/SecretKey.java,
316         javax/crypto/SecretKeyFactory.java,
317         javax/naming/directory/ModificationItem.java,
318         javax/naming/directory/SearchControls.java,
319         javax/naming/event/NamingListener.java,
320         javax/naming/ldap/Control.java,
321         javax/naming/ldap/ExtendedResponse.java,
322         javax/net/ssl/SSLSocketFactory.java:
323         Reorganized imports and fixed copyright headers.
324
325 2004-10-20  Michael Koch  <konqueror@gmx.de>
326
327         * java/util/logging/ConsoleHandler.java,
328         java/util/logging/ErrorManager.java,
329         java/util/logging/FileHandler.java,
330         java/util/logging/Filter.java,
331         java/util/logging/Formatter.java,
332         java/util/logging/Handler.java,
333         java/util/logging/Level.java,
334         java/util/logging/LogManager.java,
335         java/util/logging/LogRecord.java,
336         java/util/logging/Logger.java,
337         java/util/logging/LoggingPermission.java,
338         java/util/logging/MemoryHandler.java,
339         java/util/logging/SimpleFormatter.java,
340         java/util/logging/SocketHandler.java,
341         java/util/logging/StreamHandler.java,
342         java/util/logging/XMLFormatter.java:
343         Standardized copyrigth header.
344
345 2004-10-20  Michael Koch  <konqueror@gmx.de>
346
347         * java/security/AlgorithmParameterGenerator.java,
348         java/security/AlgorithmParameters.java,
349         java/security/DigestInputStream.java,
350         java/security/Identity.java,
351         java/security/KeyFactory.java,
352         java/security/KeyPairGenerator.java,
353         java/security/KeyStore.java,
354         java/security/MessageDigest.java,
355         java/security/MessageDigestSpi.java,
356         java/security/Policy.java,
357         java/security/SecureRandom.java,
358         java/security/Security.java,
359         java/security/Signature.java,
360         java/security/SignatureSpi.java,
361         java/security/cert/CertPathBuilder.java,
362         java/security/cert/CertPathValidator.java,
363         java/security/cert/CertStore.java,
364         java/security/cert/Certificate.java,
365         java/security/cert/CertificateFactory.java,
366         java/security/cert/PolicyQualifierInfo.java,
367         java/security/cert/TrustAnchor.java,
368         java/security/cert/X509CRL.java,
369         java/security/cert/X509CRLEntry.java,
370         java/security/cert/X509Certificate.java,
371         java/security/spec/RSAMultiPrimePrivateCrtKeySpec.java:
372         Import statements reorganized, some little formatting issues,
373         used java-style array declarations, added comments in empty catch
374         blocks.
375
376 2004-10-18  Jeroen Frijters  <jeroen@frijters.net>
377
378         * java/security/Security.java
379         (static): Use AccessController.doPrivileged to get system property.
380
381 2004-10-18  Sven de Marothy  <sven@physto.se>
382
383         * java/nio/ByteBufferHelper.java
384         (putDouble): Use Double.toRawLongBits instead.
385
386 2004-10-18  Mark Wielaard  <mark@klomp.org>
387         Andrew Haley  <aph@redhat.com>
388
389         * testsuite/libjava.lang/ExtraClassLoader.java: New.
390
391 2004-10-18  Andrew Haley  <aph@redhat.com>
392
393         PR java/18036:
394         * gnu/gcj/runtime/natStackTrace.cc (fillInStackTrace): Reorganize
395         and correct logic used to find interpreter.
396         
397 2004-10-18  Jeroen Frijters  <jeroen@frijters.net>
398
399         * java/util/logging/LogManager.java
400         (findAncestor): Fixed IndexOutOfBoundsException.
401
402 2004-10-18  Michael Koch  <konqueror@gmx.de>
403
404         * java/io/BufferedInputStream.java: Fixed @author tag.
405         (read): Simplified expression.
406         (read): Merged javadoc a bit more.
407         (read): Renamed 'remain' to 'totalBytesRead'.
408         * java/io/DataInputStream.java,
409         java/io/DataOutputStream.java,
410         java/io/ObjectInputStream.java,
411         java/io/ObjectOutputStream.java:
412         Reworked modifier order.
413
414 2004-10-18  Michael Koch  <konqueror@gmx.de>
415
416         * java/net/Inet4Address.java: Merged file header and javadocs.
417         * java/net/Inet6Address.java: Likewise.
418         * java/net/InetAddress.java
419         (getCanonicalHostName): Create Inet4Address object instead of
420         InetAddress and add comment regarding IPv6.
421         (toString): Simplified.
422
423 2004-10-18  Michael Koch  <konqueror@gmx.de>
424
425         * gnu/java/net/protocol/http/Connection.java,
426         java/nio/MappedByteBufferImpl.java,
427         java/text/RuleBasedCollator.java,
428         java/util/ResourceBundle.java:
429         Reworked import statements.
430
431 2004-10-18  Jeroen Frijters  <jeroen@frijters.net>
432
433         * java/security/IdentityScope.java
434         (systemScope): Removed useless initializer.
435         * java/security/Policy.java
436         (currentPolicy): Likewise.
437
438 2004-10-18  Michael Koch  <konqueror@gmx.de>
439
440         * java/lang/System.java: Revert accidential change.
441
442 2004-10-18  Michael Koch  <konqueror@gmx.de>
443
444         * java/lang/Math.java,
445         java/lang/Package.java,
446         java/lang/Runtime.java,
447         java/lang/StrictMath.java,
448         java/lang/System.java,
449         java/lang/Thread.java,
450         java/lang/ThreadLocal.java,
451         java/lang/Void.java:
452         Reworked import statements, HTML in javadocs and modifier orders.
453
454 2004-10-18  Jeroen Frijters  <jeroen@frijters.net>
455
456         * java/util/Timer.java
457         (nr): Removed useless initializer.
458         * java/util/logging/LogRecord.java
459         (lastSeqNum): Likewise.
460         * javax/naming/spi/NamingManager.java
461         (icfb, ofb): Likewise.
462
463 2004-10-18  Michael Koch  <konqueror@gmx.de>
464
465         * gnu/java/net/PlainDatagramSocketImpl.java:
466         Reworked import statements.
467         * gnu/java/security/provider/DSAParameters.java:
468         Fixed copyrigth years.
469         * java/net/JarURLConnection.java:
470         Fixed HTML in @author tags.
471         
472
473 2004-10-18  Michael Koch  <konqueror@gmx.de>
474
475         * java/rmi/activation/ActivationSystem.java
476         (SYSTEM_PORT): Initialize with correct port number.
477
478 2004-10-18  Michael Koch  <konqueror@gmx.de>
479
480         * java/lang/reflect/Proxy.java: Improved javadocs.
481
482 2004-10-18  Michael Koch  <konqueror@gmx.de>
483
484         * java/lang/reflect/AccessibleObject.java
485         (checkPermission): Removed redundant final modifier.
486         (secureSetAccessible): Likewise.
487         * java/lang/reflect/Proxy.java:
488         Reworked import statements.
489         (generate): Removed redundant final modifier.
490         * java/lang/reflect/ReflectPermission.java:
491         Reorder package declaration and import statement.
492
493 2004-10-18  Jeroen Frijters  <jeroen@frijters.net>
494
495         * java/lang/reflect/Proxy.java
496         (count): Removed useless initializer.
497
498 2004-10-17  Michael Koch  <konqueror@gmx.de>
499
500         * java/net/BindException.java,
501         java/net/ConnectException.java,
502         java/net/ContentHandler.java,
503         java/net/ContentHandlerFactory.java,
504         java/net/DatagramPacket.java,
505         java/net/DatagramSocket.java,
506         java/net/DatagramSocketImpl.java,
507         java/net/DatagramSocketImplFactory.java,
508         java/net/FileNameMap.java,
509         java/net/HttpURLConnection.java,
510         java/net/MalformedURLException.java,
511         java/net/MulticastSocket.java,
512         java/net/NetworkInterface.java,
513         java/net/NoRouteToHostException.java,
514         java/net/PasswordAuthentication.java,
515         java/net/PortUnreachableException.java,
516         java/net/ProtocolException.java,
517         java/net/ServerSocket.java,
518         java/net/Socket.java,
519         java/net/SocketException.java,
520         java/net/SocketImpl.java,
521         java/net/SocketImplFactory.java,
522         java/net/SocketOptions.java,
523         java/net/SocketPermission.java,
524         java/net/SocketTimeoutException.java,
525         java/net/URI.java,
526         java/net/URISyntaxException.java,
527         java/net/URL.java,
528         java/net/URLDecoder.java,
529         java/net/URLEncoder.java,
530         java/net/URLStreamHandler.java,
531         java/net/URLStreamHandlerFactory.java,
532         java/net/UnknownHostException.java,
533         java/net/UnknownServiceException.java:
534         Big import statement and @author tag cleanup.
535
536 2004-10-17  Michael Koch  <konqueror@gmx.de>
537
538         * gnu/java/security/OID.java,
539         gnu/java/security/provider/DSAParameters.java,
540         gnu/java/security/provider/DSASignature.java,
541         gnu/java/security/x509/X500DistinguishedName.java,
542         gnu/java/security/x509/X509CRL.java:
543         Import statements cleaned up.
544
545 2004-10-16  Michael Koch  <konqueror@gmx.de>
546
547         * gnu/java/nio/NIODatagramSocket.java,
548         gnu/java/nio/ServerSocketChannelImpl.java:
549         Reorganized import statements.
550
551 2004-10-16  Michael Koch  <konqueror@gmx.de>
552
553         * gnu/java/rmi/RMIMarshalledObjectOutputStream.java
554         gnu/java/rmi/rmic/RMIC.java,
555         gnu/java/rmi/server/RMIHashes.java,
556         gnu/java/rmi/server/RMIObjectInputStream.java,
557         gnu/java/rmi/server/RMIObjectOutputStream.java,
558         gnu/java/rmi/server/UnicastConnection.java,
559         gnu/java/rmi/server/UnicastConnectionManager.java,
560         gnu/java/rmi/server/UnicastRemoteCall.java,
561         gnu/java/rmi/server/UnicastServer.java,
562         gnu/java/rmi/server/UnicastServerRef.java,
563         java/rmi/MarshalledObject.java,
564         java/rmi/Naming.java,
565         java/rmi/RMISecurityManager.java,
566         java/rmi/Remote.java,
567         java/rmi/activation/Activatable.java,
568         java/rmi/activation/ActivationDesc.java,
569         java/rmi/activation/ActivationGroup.java,
570         java/rmi/activation/ActivationGroupDesc.java,
571         java/rmi/activation/ActivationGroupID.java,
572         java/rmi/activation/ActivationID.java,
573         java/rmi/activation/ActivationInstantiator.java,
574         java/rmi/activation/ActivationMonitor.java,
575         java/rmi/activation/ActivationSystem.java,
576         java/rmi/activation/Activator.java,
577         java/rmi/dgc/DGC.java,
578         java/rmi/dgc/Lease.java,
579         java/rmi/dgc/VMID.java,
580         java/rmi/registry/LocateRegistry.java,
581         java/rmi/registry/Registry.java,
582         java/rmi/registry/RegistryHandler.java,
583         java/rmi/server/LoaderHandler.java,
584         java/rmi/server/LogStream.java,
585         java/rmi/server/ObjID.java,
586         java/rmi/server/Operation.java,
587         java/rmi/server/RMIClassLoader.java,
588         java/rmi/server/RMIClassLoaderSpi.java,
589         java/rmi/server/RMIClientSocketFactory.java,
590         java/rmi/server/RMIFailureHandler.java,
591         java/rmi/server/RMIServerSocketFactory.java,
592         java/rmi/server/RMISocketFactory.java,
593         java/rmi/server/RemoteCall.java,
594         java/rmi/server/RemoteObject.java,
595         java/rmi/server/RemoteRef.java,
596         java/rmi/server/RemoteServer.java,
597         java/rmi/server/RemoteStub.java,
598         java/rmi/server/ServerRef.java,
599         java/rmi/server/Skeleton.java,
600         java/rmi/server/SkeletonMismatchException.java,
601         java/rmi/server/UID.java,
602         java/rmi/server/UnicastRemoteObject.java,
603         java/rmi/server/Unreferenced.java:
604         File headers and import statements cleaned up.
605
606 2004-10-16  Michael Koch  <konqueror@gmx.de>
607
608         * libjava/gnu/java/nio/charset/UTF_16.java,
609         libjava/gnu/java/nio/charset/UTF_16BE.java,
610         libjava/gnu/java/nio/charset/UTF_16LE.java,
611         libjava/java/nio/ByteOrder.java,
612         libjava/java/nio/MappedByteBuffer.java,
613         libjava/java/nio/channels/Channels.java,
614         libjava/java/nio/channels/spi/SelectorProvider.java,
615         libjava/java/nio/charset/Charset.java:
616         Cleanup.
617
618 2004-10-16  Michael Koch  <konqueror@gmx.de>
619
620         * gnu/java/nio/charset/UTF_16Encoder.java
621         (UTF_16Encoder): Fixed maxBytesPerChar handling.
622
623 2004-10-16  Michael Koch  <konqueror@gmx.de>
624
625         * java/math/BigDecimal.java, java/math/BigInteger.java:
626         Reorganized import statements, removed redundant and
627         reorganized modifiers.
628
629 2004-10-16  Michael Koch  <konqueror@gmx.de>
630
631         * gnu/java/beans/ExplicitBeanInfo.java:
632         Explicitely import java.awt.Image.
633         (getIcon): Fixed off-by-one error.
634
635 2004-10-15  Andrew Haley  <aph@redhat.com>
636
637         * Makefile.am (nat_files, xlib_nat_files): New.
638         * Makefile.in: Regenerate.
639
640 2004-10-14  Ulrich Weigand  <uweigand@de.ibm.com>
641
642         * jni.cc (_Jv_JNIMethod::call): Use ffi_java_raw_call instead of
643         ffi_raw_call if FFI_NATIVE_RAW_API is not defined.
644
645 2004-10-13  Andrew Haley  <aph@redhat.com>
646
647         * interpret.cc (_Jv_InterpMethod::run): Initialize
648         _Jv_StartOfInterpreter.
649         (_Jv_StartOfInterpreter, _Jv_EndOfInterpreter): Functions removed.
650         (_Jv_StartOfInterpreter, _Jv_EndOfInterpreter): New variables.
651         * gnu/gcj/runtime/natStackTrace.cc (fillInStackTrace): Use
652         _Unwind_FindEnclosingFunction to discover whether PC is within the
653         interpreter.
654
655 2004-10-12  Rutger Ovidius  <ovidr@users.sourceforge.net>
656
657         PR libgcj/17903:
658         * testsuite/libjava.lang/md5test.java: New file.
659         * testsuite/libjava.lang/md5test.out: Likewise.
660         * testsuite/libjava.lang/shatest.java: Likewise.
661         * testsuite/libjava.lang/shatest.out: Likewise.
662
663 2004-10-11  Richard Henderson  <rth@redhat.com>
664
665         * include/posix-threads.h <__alpha__> (_Jv_ThreadId_t): Use void*.
666         (_Jv_ThreadSelf): Use __builtin_thread_pointer.
667
668 2004-10-08  Bryce McKinlay  <mckinlay@redhat.com>
669
670         * java/util/Calendar.java (set): Invalidate DST_OFFSET
671         field as a DST boundary may have been crossed.
672         * java/util/GregorianCalendar.java (add): Throw 
673         IllegalArgumentException on attempt to add to DST_OFFSET or 
674         ZONE_OFFSET fields. Update javadoc.
675
676 2004-10-09  Michael Koch  <konqueror@gmx.de>
677
678         * java/io/CharArrayWriter.java
679         (resize): Removed redundant 'final' modifier.
680         * java/io/DataInputStream.java
681         (readFully): Throw IndexOutOfBoundsException of len < 0.
682         * java/io/FileDescriptor.java,
683         java/io/FileInputStream.java,
684         java/io/FileOutputStream.java,
685         java/io/ObjectOutputStream.java,
686         java/io/ObjectStreamClass.java,
687         java/io/PipedInputStream.java,
688         java/io/RandomAccessFile.java:
689         Reorganized import statements.
690
691 2004-10-09  Michael Koch  <konqueror@gmx.de>
692
693         * gnu/java/rmi/rmic/RMIC.java,
694         gnu/java/rmi/server/RMIHashes.java,
695         gnu/java/rmi/server/RMIObjectInputStream.java,
696         gnu/java/rmi/server/UnicastConnection.java,
697         gnu/java/rmi/server/UnicastConnectionManager.java,
698         gnu/java/rmi/server/UnicastRemoteCall.java,
699         gnu/java/rmi/server/UnicastServerRef.java:
700         Reworked import statements and fixed file headers.
701
702 2004-10-04  Loren J. Rittle  <ljrittle@acm.org>
703
704         * configure.ac (*-*-freebsd[[1234]]*): Refine error message
705         emission rule.
706         * configure: Rebuilt.
707
708 2004-09-30  Tom Tromey  <tromey@redhat.com>
709
710         * java/text/MessageFormat.java (Field): Constructor now
711         protected.
712
713 2004-09-30  Tom Tromey  <tromey@redhat.com>
714
715         * javax/crypto/MacSpi.java: Fixed typo.
716
717 2004-09-30  Michael Koch  <konqueror@gmx.de>
718
719         * java/net/InetAddress.java: Reformatted.
720         (loopback): Initialize with Inet4Address object.
721         (static): Initialize ANY_IF with Inet4Address object.
722         (InetAddress): Removed unused package-private constructor.
723
724 2004-09-30  Michael Koch  <konqueror@gmx.de>
725
726         * java/beans/Beans.java,
727         java/beans/EventHandler.java,
728         java/beans/EventSetDescriptor.java,
729         java/beans/Introspector.java,
730         java/beans/PropertyEditorManager.java,
731         java/beans/beancontext/BeanContext.java,
732         java/beans/beancontext/BeanContextChild.java,
733         java/beans/beancontext/BeanContextChildSupport.java,
734         java/beans/beancontext/BeanContextMembershipEvent.java:
735         Reordered import statements and removed redundant modifiers.
736
737 2004-09-29  Tom Tromey  <tromey@redhat.com>
738
739         PR libgcj/17715:
740         * Makefile.in: Rebuilt.
741         * Makefile.am (libgcj-@gcc_version@.jar): Include properties
742         files.
743         (all_property_files): New macro.
744
745         * Makefile.in: Rebuilt.
746         * Makefile.am (ordinary_java_source_files): Re-sorted.
747         (libgcj.la): Moved to old location near lib-gnu-awt-xlib.la.
748
749 2004-09-28  Tom Tromey  <tromey@redhat.com>
750
751         * jni.cc (_Jv_JNI_RegisterNatives): Formatting fixlets.
752
753         PR libgcj/17222:
754         * Makefile.am (libgcj.la): Restored.
755         * Makefile.in: Rebuilt.
756
757 2004-09-28  Michael Koch  <konqueror@gmx.de>
758
759         * java/net/URLConnection.java: Reformatted.
760         * java/net/URLClassLoader.java: Reformatted.
761         (getContent): Reordered return of content.
762         (getContentHandler): Don't check for null explicitely.
763
764 2004-09-27  Michael Koch  <konqueror@gmx.de>
765
766         * java/io/BufferedInputStream.java
767         (BufferedInputStream): Added Jeroen Frijters to authors.
768         (count): Don't explicitely initialize with default value.
769         (pos): Likewise.
770         (marklimit): Likewise.
771         (read): Changed boolean expression to match GNU classpath' version.
772         (reset): Add proper message to exception.
773         (skip): Check for closed stream.
774         (refill): Likewise.
775
776 2004-09-26  Per Bothner  <per@bothner.com>
777
778         * prims.cc (unblock_signal): Annotate signum with __unused__ to
779         avoid warnings in the non-POSIX_VERSION case.
780         Also, we only need this function if either HANDLE_SEGV or HANDLE_FPE,
781         so place it inside an #if block.
782         * include/default-signal.h (SIGNAL_HANDLER): Parameters are __unused__.
783         * include/i386-signal.h (SIGNAL_HANDLER):  Likewise
784         * include/mips-signal.h (SIGNAL_HANDLER):  Likewise
785         * include/sparc-signal.h (SIGNAL_HANDLER):  Likewise
786
787 2004-09-26  Per Bothner  <per@bothner.com>
788
789         * prims.cc (process_gcj_properties):  Optimization.
790
791 2004-09-26  Per Bothner  <per@bothner.com>
792
793         * java/util/Collections.java (sort):  Copy from array in forwards
794         order, rather than reverse order which may be much less efficient.
795
796 2004-09-26  Mark Wielaard  <mark@klomp.org>
797
798         * java/lang/System.java (properties): Make package private.
799         * java/lang/Throwable.java (StaticData.nl): Initialize through
800         directly accessing System.properties.getProperty().
801
802         * java/lang/Throwable.java (nl): Remove static field.
803         (StaticData): New private static inner class.
804         (stackTraceStringBuffer): Use StaticData.nl.
805
806 2004-09-26  Casey Marshall <csm@gnu.org>
807
808         * java/security/ProtectionDomain.java
809         (<init>(CodeSource,PermissionCollection)): set `staticBinding' to
810         `true'.
811
812         * java/security/SecureClassLoader.java
813         (defineClass): make protection domain dynamically bound.
814         (getPermissions): call `getCurrentPolicy' to avoid permission
815         check.
816
817 2004-09-25  Mark Wielaard  <mark@klomp.org>
818
819         * Makefile.am (core_java_source_files): Add VMTimeZone.java.
820         (nat_source_files): Rename natTimeZone.cc to natVMTimeZone.cc.
821         * Makefile.in: Regenerated.
822
823         * gcj/javaprims.h: Regenerated.
824
825         * java/util/TimeZone.java (defaultZone): Use VMTimeZone.
826         (getDefaultTimeZone): Make package private. Check that GMToffset
827         contains at least one digit.
828         (getDefaultTimeZoneId, readTimeZoneFile, readtzFile): (Re)Moved to
829         VMTimeZone.
830         * util/VMTimeZone.java: New file with above methods.
831
832         * java/util/natTimeZone.cc: Removed (renamed).
833         * java/util/natVMTimeZone.cc: Added (renamed).
834
835 2004-09-25  Jeroen Frijters  <jeroen@frijters.net>
836
837         * java/util/TimeZone.java
838         (getDefaultTimeZone): Fixed test to distinguish between hours and
839         minutes in specified timezone.
840
841 2004-09-25  Jeroen Frijters  <jeroen@frijters.net>
842
843         * java/lang/reflect/Proxy.java (getPackage, ClassFactory): Fixed
844         handling of default package. (generate): Removed confused comments
845         and code about making Method and Field accessible.
846
847 2004-09-25  Tom Tromey  <tromey@redhat.com>
848
849         PR java/17500:
850         * testsuite/libjava.compile/pr17500.java: New file.
851
852 2004-09-25  Shashank Bapat  <shashankbapat@yahoo.com>
853             Mark Wielaard  <mark@klomp.org>
854
855         * gnu/regexp/RE.java (initialize): Add RETokenLookAhead support.
856         * gnu/regexp/RETokenLookAhead.java: New file.
857
858         * Makefile.am (ordinary_java_source_files): Add RETokenLookAhead.java.
859         * Makefile.in: Regenerated.
860
861 2004-09-25  Michael Koch  <konqueror@gmx.de>
862
863         * java/io/ObjectStreamField.java:
864         Removed unused import statement.
865
866 2004-09-24  Tom Tromey  <tromey@redhat.com>
867
868         PR java/15656:
869         * testsuite/libjava.compile/pr15656.xfail: New file.
870         * testsuite/libjava.compile/pr15656.java: new file.
871
872         PR java/16789:
873         * testsuite/libjava.lang/pr16789.out: New file.
874         * testsuite/libjava.lang/pr16789.java: New file.
875
876 2004-09-24  Andrew Haley  <aph@redhat.com>
877
878         PR java/16927
879         * testsuite/libjava.compile/AssertBug.java: New file.
880
881 2004-09-24  Casey Marshall <csm@gnu.org>
882
883         * java/util/PropertyPermissionCollection.java
884         (implies): avoid infinite loop.
885
886 2004-09-24  Andrew John Hughes  <gnu_andrew@member.fsf.org>
887
888         * javax/security/auth/PrivateCredentialPermission.java
889         (PrivateCredentialPermission): added serialization UID
890
891
892 2004-09-24  Ilya Perminov  <iperminov@logicalsoft.com>
893
894         * gnu/java/rmi/server/UnicastServer.java
895         (incomingMessageCall): Added code to handle Errors.
896         * gnu/java/rmi/server/UnicastServerRef.java
897         (incomingMessageCall): Added code to handle Errors.
898
899
900 2004-09-24  Tom Tromey  <tromey@redhat.com>
901
902         * java/lang/ClassLoader.java (loadedClasses): Declare as HashMap.
903         (definedPackages): Likewise.
904
905 2004-09-24  Michael Koch  <konqueror@gmx.de>
906
907         * java/io/ObjectInputStream.java:
908         Re-ordered imports.
909
910 2004-09-24  Casey Marshall <csm@gnu.org>
911
912         * java/io/ObjectInputStream.java (callReadMethod): re-throw
913         `ClassNotFoundException'.
914
915 2004-09-24  Jeroen Frijters  <jeroen@frijters.net>
916
917         * java/io/ObjectInputStream.java (readObject): Delegate instantation
918         of Externalizable classes to ObjectStreamClass.
919         * java/io/ObjectStreamClass.java (newInstance): New method to
920         instantiate Externalizable (while ignoring the accessibility of
921         the constructor). (constructor): New field to cache the constructor.
922
923 2004-09-24  Mark Wielaard  <mark@klomp.org>
924
925         * java/net/URL.java (systemClassLoader): New static field.
926         (getURLStreamHandler): Always use system/application classloader
927         for finding URLStreamhandler. Remove unecessary instanceof checks.
928
929 2004-09-24  Guilhem Lavaux <guilhem@kaffe.org>
930
931         * java/net/URL.java
932         (set): This method now matches the behaviour of the JDK.
933         (DEFAULT_SEARCH_PATH): Added "gnu.inet".
934
935 2004-09-24  Guilhem Lavaux  <guilhem@kaffe.org>
936
937         * java/net/URL.java (URL): Delete whitespaces in the protocol string.
938
939 2004-09-24  Jeroen Frijters  <jeroen@frijters.net>
940
941         * java/net/URL.java (URL(String,String,int,String,URLStreamHandler):
942         Don't set authority if host isn't specified.
943
944 2004-09-24  Michael Koch  <konqueror@gmx.de>
945
946         * gnu/java/nio/PipeImpl.java: Use VMPipe for native stuff.
947         * gnu/java/nio/SelectorImpl.java: Use VMSelector for native stuff.
948         * gnu/java/nio/VMPipe.java,
949         gnu/java/nio/VMSelector.java:
950         New files.
951         * gnu/java/nio/natPipeImplEcos.cc,
952         gnu/java/nio/natPipeImplPosix.cc,
953         gnu/java/nio/natPipeImplWin32.cc:
954         Ported to VMPipe.
955         * gnu/java/nio/natSelectorImplEcos.cc,
956         gnu/java/nio/natSelectorImplPosix.cc,
957         gnu/java/nio/natSelectorImplWin32.cc:
958         Ported to VMSelector.
959         * Makefile.am: Added new files gnu/java/nio/VMPipe.java and
960         gnu/java/nio/VMSelector.java.
961         * Makefile.in: Regenerated.
962
963 2004-09-24  Jeroen Frijters  <jeroen@frijters.net>
964
965         * java/lang/StackTraceElement.java
966         (className): Renamed field to declaringClass to be compatible
967         with Sun serialization format.
968
969 2004-09-23  Michael Koch  <konqueror@gmx.de>
970
971         * java/applet/AppletContext.java,
972         java/applet/Applet.java,
973         java/applet/AppletStub.java,
974         java/applet/AudioClip.java:
975         Jalopied and checkstyle clean.
976
977 2004-09-23  Mark Wielaard  <mark@klomp.org>
978
979         * java/util/Collections.java
980         (binarySearch(List, Object, Comparator)): Explicitly
981         reverse direction in list iterator.
982         (rotate): Just return when list is empty.
983
984 2004-09-23  Tom Tromey  <tromey@redhat.com>
985
986         PR java/17329:
987         * testsuite/libjava.compile/pr17329.java: New file.
988
989         PR java/17380:
990         * testsuite/libjava.jacks/jacks.xfail: Added 9.2-implicit-6 and
991         9.2-implicit-7.
992
993 2004-09-22  Kelley Cook  <kcook@gcc.gnu.org>
994
995         * Makefile.am: Run aclocal with -I ../config
996         * acinclude.m4: Delete macros picked up from ../config and tidy.
997         (AM_ICONV,AM_LC_MESSAGES, PKG_CHECK_MODULES): Delete.
998         * aclocal.m4, configure, Makefile.in, gcj/Makefile.in: Regenerate.
999         * include/Makefile.in, testsuite/Makefile.in: Regenerate.
1000
1001 2004-09-22  Kelley Cook  <kcook@gcc.gnu.org>
1002
1003         * aclocal.m4: Regenerate with aclocal 1.9.2.
1004         * configure: Regenerate.
1005         * Makefile.in, gcj/Makefile.in: Regenerate with automake 1.9.2.
1006         * include/Makefile.in, testsuite/Makefile.in: Likewise.
1007
1008 2004-09-22  David Daney  <ddaney@avtrex.com>
1009
1010         PR libgcj/17623
1011         * java/net/URL.java (URL): Copy userInfo from context.
1012         (getUserInfo): Return cached userInfo if present.
1013
1014 2004-09-22  Tom Tromey  <tromey@redhat.com>
1015
1016         PR libgcj/6182:
1017         * mauve-libgcj: Enable java.lang.Character tests.
1018
1019 2004-09-22  Andreas Tobler  <a.tobler@schweiz.ch>
1020
1021         * Makefile.am (lib_org_ietf_jgss_la_DEPENDENCIES): Add missing
1022         dependencies.
1023         (lib_org_ietf_jgss_la_LIBADD): Likewise.
1024         * Makefile.in: Regenerated.
1025
1026 2004-09-22  Andreas Tobler  <a.tobler@schweiz.ch>
1027
1028         * configure.ac: Introduce AC_C_BIGENDIAN_CROSS for WORDS_BIGENDIAN.
1029         * configure: Regenerate.
1030         * include/config.h.in: Likewise.
1031         * jni/gtk-peer/gtkpeer.h (SWAPU32): Introduce macro to swap pixels.
1032         * jni/gtk-peer/gnu_java_awt_peer_gtk_GtkImagePainter.c: Moved SWAPU32
1033         macro to gtkpeer.h.
1034         * jni/gtk-peer/gnu_java_awt_peer_gtk_GdkGraphics2D.c
1035         (Java_gnu_java_awt_peer_gtk_GdkGraphics2D_getImagePixels): Convert
1036         pixels from  0xBBGGRRAA to 0xAARRGGBB only on Little Endian
1037         architectures.
1038         * jni/gtk-peer/gnu_java_awt_peer_gtk_GdkPixbufDecoder.c (area_updated):
1039         Likewise.
1040
1041 2004-09-22  Tom Tromey  <tromey@redhat.com>
1042
1043         PR libgcj/14446:
1044         * java/util/zip/GZIPInputStream.java (read): Avoid sign extension
1045         when comparing CRCs.
1046         * java/util/zip/InflaterInputStream.java (onebytebuffer): New
1047         field.
1048         (read()): New overload.
1049
1050 2004-09-21  Tom Tromey  <tromey@redhat.com>
1051
1052         * java/lang/reflect/natMethod.cc (_Jv_CallAnyMethodA):
1053         Indentation fix.
1054
1055 2004-09-21  Michael Koch  <konqueror@gmx.de>
1056
1057         * java/net/Socket.java
1058         (getLocalAddress): Return InetAddress.ANY_IF if not bound yet.
1059
1060 2004-09-21  Casey Marshall  <csm@gnu.org>
1061
1062         * javax/crypto/MacSpi.java (clone): Provide meaningful
1063         implementation.
1064
1065 2004-09-21  Tom Tromey  <tromey@redhat.com>
1066
1067         PR libgcj/16869:
1068         * Makefile.in: Rebuilt.
1069         * Makefile.am (MOSTLYCLEANFILES): Removed.
1070         (mostlyclean-local): Remove header files.
1071
1072 2004-09-21  Casey Marshall  <csm@gnu.org>
1073
1074         * java/security/cert/X509CRLSelector.java:
1075         (match): remove unreachable try-catch clauses.
1076         Reported by: Dalibor Topic <robilad@kaffe.org>
1077
1078 2004-09-21  Mark Wielaard  <mark@klomp.org>
1079
1080         * java/util/TreeMap.java (root): Don't initialize.
1081         (TreeMap(Comparator)): Call fabricateTree(0).
1082         (fabricateTree): Initialize root and size when count is 0.
1083
1084 2004-09-21  Sven de Marothy <sven@physto.se>
1085
1086         * java/nio/ByteBuffer.java (hashCode): Implemented.
1087         * java/nio/CharBuffer.java: Likewise.
1088         * java/nio/DoubleBuffer.java: Likewise.
1089         * java/nio/FloatBuffer.java: Likewise.
1090         * java/nio/LongBuffer.java: Likewise.
1091         * java/nio/IntBuffer.java: Likewise.
1092         * java/nio/ShortBuffer.java: Likewise.
1093
1094 2004-09-21  Andreas Tobler  <a.tobler@schweiz.ch>
1095
1096         * javax/security/auth/x500/X500Principal.java: Fix some merge glitches.
1097
1098 2004-09-21  Michael Koch  <konqueror@gmx.de>
1099
1100         * javax/net/ssl/SSLServerSocket.java:
1101         Removed comment about "Do not edit this file, it's generated.".
1102
1103 2004-09-21  Andreas Tobler  <a.tobler@schweiz.ch>
1104
1105         Import the big Crypto/Jessie/Security merge from Classpath.
1106
1107         * Makefile.am: Add imported files.
1108         * Makefile.in: Regenerate.
1109
1110         2004-08-14  Casey Marshall <csm@gnu.org>
1111
1112         The Big Crypto Merge of 2004.
1113
1114         * javax/security/auth/x500/X500Principal.java: Replaced with GNU
1115         Crypto's version.
1116
1117         Files imported from GNU Crypto.
1118         * javax/crypto/BadPaddingException.java
1119         * javax/crypto/Cipher.java
1120         * javax/crypto/CipherInputStream.java
1121         * javax/crypto/CipherOutputStream.java
1122         * javax/crypto/CipherSpi.java
1123         * javax/crypto/EncryptedPrivateKeyInfo.java
1124         * javax/crypto/ExemptionMechanism.java
1125         * javax/crypto/ExemptionMechanismException.java
1126         * javax/crypto/ExemptionMechanismSpi.java
1127         * javax/crypto/IllegalBlockSizeException.java
1128         * javax/crypto/KeyAgreement.java
1129         * javax/crypto/KeyAgreementSpi.java
1130         * javax/crypto/KeyGenerator.java
1131         * javax/crypto/KeyGeneratorSpi.java
1132         * javax/crypto/Mac.java
1133         * javax/crypto/MacSpi.java
1134         * javax/crypto/Makefile.am
1135         * javax/crypto/NoSuchPaddingException.java
1136         * javax/crypto/NullCipher.java
1137         * javax/crypto/NullCipherImpl.java
1138         * javax/crypto/SealedObject.java
1139         * javax/crypto/SecretKey.java
1140         * javax/crypto/SecretKeyFactory.java
1141         * javax/crypto/SecretKeyFactorySpi.java
1142         * javax/crypto/ShortBufferException.java
1143         * javax/crypto/interfaces/DHKey.java
1144         * javax/crypto/interfaces/DHPrivateKey.java
1145         * javax/crypto/interfaces/DHPublicKey.java
1146         * javax/crypto/interfaces/PBEKey.java
1147         * javax/crypto/spec/DESKeySpec.java
1148         * javax/crypto/spec/DESedeKeySpec.java
1149         * javax/crypto/spec/DHGenParameterSpec.java
1150         * javax/crypto/spec/DHParameterSpec.java
1151         * javax/crypto/spec/DHPrivateKeySpec.java
1152         * javax/crypto/spec/DHPublicKeySpec.java
1153         * javax/crypto/spec/IvParameterSpec.java
1154         * javax/crypto/spec/PBEKeySpec.java
1155         * javax/crypto/spec/PBEParameterSpec.java
1156         * javax/crypto/spec/RC2ParameterSpec.java
1157         * javax/crypto/spec/RC5ParameterSpec.java
1158         * javax/crypto/spec/SecretKeySpec.java
1159         * javax/security/auth/AuthPermission.java
1160         * javax/security/auth/DestroyFailedException.java
1161         * javax/security/auth/Destroyable.java
1162         * javax/security/auth/Policy.java
1163         * javax/security/auth/PrivateCredentialPermission.java
1164         * javax/security/auth/RefreshFailedException.java
1165         * javax/security/auth/Refreshable.java
1166         * javax/security/auth/Subject.java
1167         * javax/security/auth/SubjectDomainCombiner.java
1168         * javax/security/auth/callback/Callback.java
1169         * javax/security/auth/callback/CallbackHandler.java
1170         * javax/security/auth/callback/ChoiceCallback.java
1171         * javax/security/auth/callback/ConfirmationCallback.java
1172         * javax/security/auth/callback/LanguageCallback.java
1173         * javax/security/auth/callback/NameCallback.java
1174         * javax/security/auth/callback/PasswordCallback.java
1175         * javax/security/auth/callback/TextInputCallback.java
1176         * javax/security/auth/callback/TextOutputCallback.java
1177         * javax/security/auth/callback/UnsupportedCallbackException.java
1178         * javax/security/auth/login/AccountExpiredException.java
1179         * javax/security/auth/login/AppConfigurationEntry.java
1180         * javax/security/auth/login/Configuration.java
1181         * javax/security/auth/login/CredentialExpiredException.java
1182         * javax/security/auth/login/FailedLoginException.java
1183         * javax/security/auth/login/LoginContext.java
1184         * javax/security/auth/login/LoginException.java
1185         * javax/security/auth/login/NullConfiguration.java
1186         * javax/security/auth/x500/X500PrivateCredential.java
1187         * javax/security/sasl/AuthenticationException.java
1188         * javax/security/sasl/AuthorizeCallback.java
1189         * javax/security/sasl/RealmCallback.java
1190         * javax/security/sasl/RealmChoiceCallback.java
1191         * javax/security/sasl/Sasl.java
1192         * javax/security/sasl/SaslClient.java
1193         * javax/security/sasl/SaslClientFactory.java
1194         * javax/security/sasl/SaslException.java
1195         * javax/security/sasl/SaslServer.java
1196         * javax/security/sasl/SaslServerFactory.java
1197         * org/ietf/jgss/ChannelBinding.java
1198         * org/ietf/jgss/GSSContext.java
1199         * org/ietf/jgss/GSSCredential.java
1200         * org/ietf/jgss/GSSException.java
1201         * org/ietf/jgss/GSSManager.java
1202         * org/ietf/jgss/GSSName.java
1203         * org/ietf/jgss/MessageProp.java
1204         * org/ietf/jgss/Oid.java
1205         * org/ietf/jgss/MessagesBundle.properties
1206
1207         Files imported from Jessie <http://www.nongnu.org/jessie/>
1208         * javax/net/ServerSocketFactory.java
1209         * javax/net/SocketFactory.java
1210         * javax/net/VanillaServerSocketFactory.java
1211         * javax/net/VanillaSocketFactory.java
1212         * javax/net/ssl/HandshakeCompletedEvent.java
1213         * javax/net/ssl/HandshakeCompletedListener.java
1214         * javax/net/ssl/HostnameVerifier.java
1215         * javax/net/ssl/HttpsURLConnection.java
1216         * javax/net/ssl/KeyManager.java
1217         * javax/net/ssl/KeyManagerFactory.java
1218         * javax/net/ssl/KeyManagerFactorySpi.java
1219         * javax/net/ssl/ManagerFactoryParameters.java
1220         * javax/net/ssl/SSLContext.java
1221         * javax/net/ssl/SSLContextSpi.java
1222         * javax/net/ssl/SSLException.java
1223         * javax/net/ssl/SSLHandshakeException.java
1224         * javax/net/ssl/SSLKeyException.java
1225         * javax/net/ssl/SSLPeerUnverifiedException.java
1226         * javax/net/ssl/SSLPermission.java
1227         * javax/net/ssl/SSLProtocolException.java
1228         * javax/net/ssl/SSLServerSocket.java
1229         * javax/net/ssl/SSLServerSocketFactory.java
1230         * javax/net/ssl/SSLSession.java
1231         * javax/net/ssl/SSLSessionBindingEvent.java
1232         * javax/net/ssl/SSLSessionBindingListener.java
1233         * javax/net/ssl/SSLSessionContext.java
1234         * javax/net/ssl/SSLSocket.java
1235         * javax/net/ssl/SSLSocketFactory.java
1236         * javax/net/ssl/TrivialHostnameVerifier.java
1237         * javax/net/ssl/TrustManager.java
1238         * javax/net/ssl/TrustManagerFactory.java
1239         * javax/net/ssl/TrustManagerFactorySpi.java
1240         * javax/net/ssl/X509KeyManager.java
1241         * javax/net/ssl/X509TrustManager.java
1242         * javax/security/cert/Certificate.java
1243         * javax/security/cert/CertificateEncodingException.java
1244         * javax/security/cert/CertificateException.java
1245         * javax/security/cert/CertificateExpiredException.java
1246         * javax/security/cert/CertificateNotYetValidException.java
1247         * javax/security/cert/CertificateParsingException.java
1248         * javax/security/cert/X509CertBridge.java
1249         * javax/security/cert/X509Certificate.java
1250
1251         2004-08-20  Casey Marshall  <csm@gnu.org>
1252
1253         * java/security/cert/X509CRLSelector.java: New file.
1254         * java/security/cert/X509CertSelector.java: New file.
1255
1256 2004-09-15  Michael Koch  <konqueror@gmx.de>
1257
1258         * gnu/java/net/protocol/file/Handler.java
1259         (openConnection): Don't throw exception if host part for file: URI is
1260         present. setURL() keeps file: protocol if ftp: protocol is not
1261         available.
1262
1263 2004-09-14  Richard Henderson  <rth@redhat.com>
1264
1265         * java/lang/natPosixProcess.cc (waitForSignal): Ignore return
1266         value of sigsuspend.
1267
1268 2004-09-12  Tom Tromey  <tromey@redhat.com>
1269
1270         * javax/naming/CompoundName.java (CompoundName): Don't check for
1271         separator in "flat" case.
1272
1273 2004-09-12  Michael Koch  <konqueror@gmx.de>
1274
1275         * libltdl/configure.ac: Fixed AM_INIT_AUTOMAKE usage and replaces
1276         AM_CONFIG_HEADER by AC_CONFIG_FILES.
1277         * libltdl/Makefile.in, libltdl/aclocal.m4, libltdl/configure:
1278         Regenerate.
1279
1280 2004-09-11  Mohan Embar  <gnustuff@thisiscool.com>
1281
1282         PR libgcj/14751
1283         * win32-threads.cc (_Jv_ThreadInitData): Zero out thread
1284         handle in newly-allocated _Jv_Thread_t.
1285         (_Jv_ThreadDestroyData): Close thread handle.
1286         (_Jv_ThreadStart): Remove obsolete comment.
1287         Store handle of newly-created thread in _Jv_Thread_t.
1288         * include/win32-threads.h: #define WIN32_LEAN_AND_MEAN
1289         before including <windows.h>
1290         #define _Jv_HaveCondDestroy
1291
1292 2004-09-11  Mohan Embar  <gnustuff@thisiscool.com>
1293
1294         * java/lang/natThread.cc (finalize_native): Destroy
1295         join conditional variable and mutex if these destroy
1296         operations are supported.
1297
1298 2004-09-10  Dalibor Topic <robilad@kaffe.org>
1299
1300         * gnu/java/net/protocol/file/Connection.java (permission): New field.
1301         (DEFAULT_PERMISSION): New constant.
1302         (Connection): Create a FilePermission with permission to read file.
1303
1304 2004-09-10  Michael Koch  <konqueror@gmx.de>
1305
1306         * gnu/java/net/protocol/file/Connection.java
1307         (getLastModified): Moved around.
1308         (getPermission): Return stored permission.
1309
1310 2004-09-10  Michael Koch  <konqueror@gmx.de>
1311
1312         * Makefile.in: Regenerate.
1313
1314 2004-09-10  Michael Koch  <konqueror@gmx.de>
1315
1316         * Makefile.am: Reverted accidently commited stuff.
1317         * configure: Regenerated.
1318
1319 2004-09-10  Michael Koch  <konqueror@gmx.de>
1320
1321         * gnu/java/net/protocol/file/Connection.java
1322         (lineSeparator): Made non-final.
1323         (static): Removed.
1324         (connect): Initialize lineSeparator lazily. Use ByteArrayInputStream
1325         instead of StringBufferInputStream.
1326
1327 2004-09-10  Michael Koch  <konqueror@gmx.de>
1328
1329         * gnu/java/net/protocol/file/Connection.java
1330         (connect): Handle file is a directory case.
1331
1332 2004-09-10  Michael Koch  <konqueror@gmx.de>
1333
1334         * Makefile.am
1335         (xlib_includes): Removed.
1336         (AM_CPPFLAGS): Renamed from INCLUDES.
1337         (lib_gnu_awt_xlib_la_CPPFLAGS): New automake variable.
1338         * Makefile.in: Regenerate.
1339
1340 2004-09-09  Michael Koch  <konqueror@gmx.de>
1341
1342         * java/security/ProtectionDomain.java,
1343         * java/util/PropertyPermissionCollection.java:
1344         Fixed javadocs all over.
1345
1346 2004-09-09  Sven de Marothy  <sven@physto.se>
1347
1348         Patch from David Gilbert <david.gilbert@object-refinery.com>
1349         * java/lang/Comparable.java: Fixed documentation errors.
1350         * java/util/Arrays.java: Likewise.
1351
1352 2004-09-09  Andrew John Hughes  <gnu_andrew@member.fsf.org>
1353
1354         * java/net/Inet4Address.java
1355         (Inet4Address): Added comment to serialization UID.
1356         * java/text/Format.java
1357         (Format): Added comment to serialization UID.
1358
1359 2004-09-09  Michael Koch  <konqueror@gmx.de>
1360
1361         * java/lang/System.java
1362         (err): Fixed javadoci to point to setErr() and not setOut().
1363
1364 2004-09-09  Jeroen Frijters  <jeroen@frijters.net>
1365
1366         (normalizePath): Added special case for windows systems.
1367
1368 2004-09-09  Michael Koch  <konqueror@gmx.de>
1369
1370         * java/io/File.java
1371         (dupSeparator): Made private.
1372         (File(URI)): New constructor.
1373         (getParentFile): Fixed javadoc.
1374         (createTempFile): Reformated.
1375         (setReadOnly): Added comment.
1376         (deleteOnExit): Merged javadoc with classpath version.
1377
1378 2004-09-09  Michael Koch  <konqueror@gmx.de>
1379
1380         * Makefile.am: Don't try to include deps.mk.
1381         * Makefile.in: Regenerated.
1382
1383 2004-09-08  Bryce McKinlay  <mckinlay@redhat.com>
1384
1385         * configure.ac (AC_CONFIG_COMMANDS): Don't create subdirectories and
1386         .d files.
1387         * configure: Rebuilt.
1388
1389 2004-09-04  Mohan Embar  <gnustuff@thisiscool.com>
1390
1391         * java/net/natNetworkInterfaceWin32.cc (getRealNetworkInterfaces):
1392         Changed pfn from static local to local.
1393
1394 2004-09-03  Bryce McKinlay  <mckinlay@redhat.com>
1395             H.J. Lu  <hongjiu.lu@intel.com>
1396
1397         PR libgcj/17290
1398         * Makefile.am (GCJCOMPILE): Remove definition.
1399         (AM_CFLAGS): Add -fclasspath and -fbootclasspath flags.
1400         Use LTGCJCOMPILE, not GCJCOMPILE, to build .lo targets.
1401         * Makefile.in: Rebuilt.
1402
1403 2004-09-03  Kelley Cook  <kcook@gcc.gnu.org>
1404
1405         * configure.ac (enable-gc-debug): Update help for new syntax.
1406         * configure: Regenerate.
1407
1408 2004-09-03  David Daney  <ddaney@avtrex.com>
1409
1410         * include/mips-signal.h: Update copyright.
1411
1412 2004-09-03  David Daney  <ddaney@avtrex.com>
1413
1414         * configure.host: Use -fno-use-divide-subroutine for mips*-*-linux*.
1415         * include/mips-signal.h: Added HANDLE_FPE support.
1416         
1417 2004-08-31  Michael Koch  <konqueror@gmx.de>
1418
1419         * javax/swing/plaf/basic/BasicTextAreaUI.java
1420         (create): New method.
1421         * javax/swing/text/DefaultHighlighter.java
1422         (DefaultHighlightPainter.debugRect): Removed.
1423         * javax/swing/text/StyleContext.java
1424         (DEFAULT_STYLE): New field.
1425
1426 2004-08-31  Michael Koch  <konqueror@gmx.de>
1427
1428         * javax/swing/plaf/basic/BasicLookAndFeel.java
1429         (initComponentDefaults): Add keybindings for selection.backward and
1430         selection-forward for text components.
1431         * javax/swing/plaf/basic/BasicTextUI.java
1432         (paintSafely): Paint highlight only when something is actually
1433         selected.
1434         * javax/swing/text/DefaultCaret.java
1435         (handleHighlight): New method.
1436         (setSelectionVisible): Don't do anything when nothing changes.
1437         Handle highlight.
1438         (moveDot): Reimplemented. Handle highlight.
1439         (setDot): Set mark too. Handle highlight.
1440         (getSelectionPainter): New method.
1441         * javax/swing/text/DefaultEditorKit.java
1442         (defaultActions): Added new actions for text selection.
1443         * javax/swing/text/DefaultHighlighter.java
1444         (DefaultHighlightPainter): New inner class.
1445         (DefaultPainter): New field.
1446         (paint): Implemented.
1447         * javax/swing/text/PlainView.java
1448         (paint): Don't draw background here again.
1449         * javax/swing/text/Utilities.java
1450         (getTabbedTextWidth): Use width of ' ' instead of 'm' for tabsize.
1451         (drawTabbedText): Likewise.
1452
1453 2004-08-31  Graydon Hoare  <graydon@redhat.com>
1454
1455         * javax/swing/JComponent.java
1456         (resetKeyboardActions): Add null checks.
1457
1458 2004-08-31  Graydon Hoare  <graydon@redhat.com>
1459
1460         * javax/swing/DefaultButtonModel.java:
1461         Skip group notification when no group is set.
1462
1463 2004-08-31  Graydon Hoare  <graydon@redhat.com>
1464
1465         * javax/swing/JColorChooser.java: 
1466         Make a couple inner classes static, for jikes.
1467
1468 2004-08-31  Michael Koch  <konqueror@gmx.de>
1469
1470         * javax/swing/plaf/basic/BasicTextUI.java
1471         (RottView.modelToView): New method.
1472         (UpdateHandler): Renamed from EventHandler.
1473         (updateHandler): Renamed from eventHandler.
1474         (modelToView): Implemented.
1475         * javax/swing/text/AbstractDocument.java
1476         (BranchElement.getElement): Return null for non-existing indeces.
1477         (BranchElement.getElementIndex): Return 0 in some corner cases.
1478         * javax/swing/text/FieldView.java
1479         (modelToView): New method.
1480         * javax/swing/text/PlainView.java
1481         (modelToView): Made public.
1482
1483 2004-08-31  Kim Ho  <kho@redhat.com>
1484
1485         * Makefile.am: New files.
1486         * Makefile.in: Regenerate.
1487         * gcj/Makefile.in: Regenerate.
1488         * include/Makefile.in: Regenerate.
1489         * java/awt/Color.java: Fix documentation.
1490         (RGBtoHSB): Use floats for conversions.
1491         * javax/swing/ButtonGroup.java: Run Jalopy.
1492         (setSelected): Reimplement.
1493         * javax/swing/DefaultButtonModel.java: Run Jalopy.
1494         (changeState): Let ButtonGroup know that the button 
1495         is changing state.
1496         * javax/swing/JColorChooser.java: Implement.
1497         * javax/swing/JLabel.java: Run Jalopy.
1498         * javax/swing/JSpinner.java: Run Jalopy.
1499         (setValue): New method.
1500         * javax/swing/JTabbedPane.java: Run Jalopy.
1501         (removeTabAt): Call correct remove method.
1502         * javax/swing/SpinnerNumberModel.java: Run Jalopy.
1503         (getPreviousValue): Compare minimum value.
1504         * javax/swing/Timer.java: Run Jalopy.
1505         (run): Comment out println.
1506         * javax/swing/ToolTipManager.java:
1507         (mouseMoved): Get new tooltip text for location.
1508         * javax/swing/colorchooser/AbstractColorChooserPanel.java:
1509         Jalopy and Javadoc.
1510         * javax/swing/colorchooser/ColorChooserComponentFactory.java:
1511         Implement.
1512         * javax/swing/colorchooser/DefaultColorSelectionModel.java:
1513         Run Jalopy.
1514         (setSelectedColor): Fire ChangeEvent.
1515         * javax/swing/colorchooser/DefaultHSBChooserPanel.java:
1516         New file. Implement.
1517         * javax/swing/colorchooser/DefaultPreviewPanel.java:
1518         Ditto.
1519         * javax/swing/colorchooser/DefaultRGBChooserPanel.java:
1520         Ditto.
1521         * javax/swing/colorchooser/DefaultSwatchChooserPanel.java:
1522         Ditto.
1523         * javax/swing/plaf/basic/BasicArrowButton.java:
1524         (getArrow): Fix size of upward pointing button.
1525         * javax/swing/plaf/basic/BasicColorChooserUI.java:
1526         Implement.
1527         * javax/swing/plaf/basic/BasicSliderUI.java:
1528         (getWidthOfWidestLabel): Use preferred dimensions.
1529         (getHeightOfTallestLabel): Ditto.
1530         * javax/swing/plaf/basic/BasicSpinnerUI.java:
1531         Run Jalopy.
1532         (mousePressed): Disable changes to spinner if it is not enabled.
1533         * testsuite/Makefile.in: Regenerate.
1534
1535
1536 2004-08-31  Michael Koch  <konqueror@gmx.de>
1537
1538         * javax/swing/plaf/basic/BasicTableHeaderUI.java,
1539         javax/swing/plaf/basic/BasicTableUI.java:
1540         Added copyright notice.
1541
1542 2004-08-31  Olga Rodimina  <rodimina@redhat.com>
1543
1544         * Makefile.am: Added new files.
1545         * Makefile.in: Regenerate.
1546         * javax/swing/ComboBoxEditor.java: Added javadocs.
1547         * javax/swing/ComboBoxModel.java: Likewise.
1548         * javax/swing/DefaultComboBoxModel.java: Implemented.
1549         * javax/swing/DefaultListCellRenderer.java: Added javadocs
1550         and ran through jalopy to fix formatting style.
1551         (getListCellRendererComponent): Use appropriate border
1552         if renderer has focus and use noFocusBorder when it doesn't.
1553         * javax/swing/JComboBox.java: Implemented.
1554         * javax/swing/JList.java:
1555         (locationToIndex): New Method. Implemented.
1556         (indexToLocation): New Method.
1557         * javax/swing/JPopupMenu.java: 
1558         (visible): New field.
1559         (isVisible): Changed to use new field above.
1560         (setVisible): Likewise.
1561         * javax/swing/MutableComboBoxModel.java: Added javadocs.
1562         * javax/swing/plaf/basic/BasicArrowButton.java: 
1563         (shadow): Changed default color to Color.gray.
1564         * javax/swing/plaf/basic/BasicComboBoxUI.java: New File.
1565         UI delegate for JComboBox.
1566         * javax/swing/plaf/basic/BasicComboPopup.java: New File.
1567         Popup menu containing list of JComboBox's items.
1568         * javax/swing/plaf/basic/BasicComboBoxEditor.java: New File.
1569         * javax/swing/plaf/basic/BasicComboBoxRenderer.java: New File.
1570         * javax/swing/plaf/basic/BasicComboBoxUI.java: New File.
1571         * javax/swing/plaf/basic/BasicComboPopup.java: New File.
1572         * javax/swing/plaf/basic/BasicPopupMenuUI.java:
1573         (popupMenuWillBecomeVisible): Set selected path to the first
1574         element only if it is of type MenuElement. Also fix formatting
1575         style.
1576         * javax/swing/plaf/basic/ComboPopup.java: Added javadocs and missing
1577         methods signatures.
1578         
1579 2004-08-31  Michael Koch  <konqueror@gmx.de>
1580
1581         * javax/swing/text/AbstractDocument.java
1582         (createBranchElement): Use new constructor of BranchElement.
1583         (createLeafElement): Renamed arguments.
1584         (getRootElements): Implemented.
1585         (BranchElement.start): Removed.
1586         (BranchElement.end): Likewise.
1587         (BranchElement.BranchElement): Fixed arguments.
1588         (BranchElement.getEndOffset): Reimplemented.
1589         (BranchElement.getStartOffset): Likewis.
1590         * javax/swing/text/DefaultCaret.java
1591         (paint): Draw simple vertical line as caret instead of a rectangle.
1592         * javax/swing/text/JTextComponent.java
1593         (setText): Use doc directly.
1594         * javax/swing/text/PlainView.java
1595         (nextTabStop): Implemented.
1596         * javax/swing/text/Utilities.java
1597         (drawTabbedText): nextTabStop() returns an absolute x position.
1598         (getTabbedTextWidth): Likewise.
1599
1600 2004-08-31  Graydon Hoare  <graydon@redhat.com>
1601
1602         * java/awt/Component.java 
1603         (isFocusTraversable): Predicate on isLightweight()
1604         (setFocusable): Set isFocusTraversableOverridden.
1605         (requestFocus): Predicate peer dispatch on !isLightweight()
1606         (requestFocusInWindow): Likewise.
1607         (dispatchEventImpl): Coordinate with KeyboardFocusManager.
1608         * java/awt/Container.java
1609         (dispatchEventImpl): Predicate on event mask.
1610         (LightweightDispatcher): Remove focus machinery.
1611         * java/awt/DefaultFocusTraversalPolicy.java
1612         (accept): Expand predicate to include isFocusable(). 
1613         * java/awt/DefaultKeyboardFocusManager.java:
1614         Globally change c.dispatchEvent(e) to redispatchEvent(c,e)
1615         * java/awt/KeyboardFocusManager.java
1616         (redispatchEvent): Synchronize on event to prevent feedback.
1617         * javax/swing/AbstractButton.java
1618         (ButtonFocusListener): Remove class.
1619         (init): Set focusPainted, focusable.
1620         * javax/swing/ActionMap.java (get): Check parent for null. 
1621         * javax/swing/InputMap.java (get): Likewise. 
1622         * javax/swing/JComponent.java
1623         (inputMap_whenFocused): New InputMap.
1624         (inputMap_whenAncestorOfFocused): Likewise.
1625         (inputMap_whenInFocusedWindow): Likewise.
1626         (getActionForKeyStroke): Rewrite.
1627         (getConditionForKeystroke): Likewise.
1628         (ActionListenerProxy): New private class.
1629         (setInputMap): Implement.
1630         (getInputMap): Likewise.
1631         (setActionMap): Likewise.
1632         (getActionMap): Likewise.
1633         (processComponentKeyEvent): New empty method.
1634         (processKeyEvent): Implement.
1635         (processKeyBinding): Likewise.
1636         (resetKeyboardActions): Rewrite.
1637         * javax/swing/KeyStroke.java: Rewrite.
1638         * javax/swing/SwingUtilities.java
1639         (notifyAction): Implement.
1640         (replaceUIActionMap): Likewise.
1641         (replaceUIInputMap): Likewise.
1642         * javax/swing/plaf/basic/BasicButtonListener.java
1643         (focusGained): Implement.
1644         (focusLost): Repaint if focusPainted().
1645         (installKeyboardActions): Install pressed / released actions.
1646         (uninstallKeyboardActions): Implement.
1647         * javax/swing/plaf/basic/BasicButtonUI.java
1648         (focusColor): New field.
1649         (installDefaults): Load focus color, install input map.
1650         (installKeyboardActions): Implement.
1651         (uninstallKeyboardActions): Likewise.
1652         (paintFocus): Rewrite.
1653         * javax/swing/plaf/basic/BasicLookAndFeel.java
1654         (Button.focus): New default, midPurple. 
1655         * javax/swing/plaf/basic/BasicTextUI.java
1656         (kit): Make static.
1657         (installUI): Get doc from kit, load defaults.
1658         (getKeymapName): Implement.
1659         (createKeymap): Likewise.
1660         (installKeyboardActions): Likewise.
1661         (getInputMap): Likewise.
1662         (getActionMap): Likewise.
1663         (createActionMap): Likewise.
1664         * javax/swing/text/AbstractDocument.java
1665         (getStartPosition): Implement.
1666         (getEndPosition): Likewise.
1667         * javax/swing/text/DefaultEditorKit.java
1668         (CopyAction): New class.
1669         (CutAction): Likewise.
1670         (DefaultKeyTypedAction): Likewise.
1671         (InsertBreakAction): Likewise.
1672         (InsertContentAction): Likewise.
1673         (InsertTabAction): Likewise.
1674         (PasteAction): Likewise.
1675         (defaultActions): New static table.
1676         (createCaret): Implement.
1677         (getActions): Likewise.
1678         * javax/swing/text/JTextComponent.java
1679         (KeymapWrapper): New private class.
1680         (KeymapActionMap): Likewise.
1681         (DefaultKeymap): New class.
1682         (keymaps): New static table.
1683         (keymap): New field.
1684         (getKeymap): Implement.
1685         (removeKeymap): Likewise.
1686         (addKeymap): Likewise.
1687         (setKeymap): Likewise.
1688         (loadKeymap): Likewise.
1689         (getActions): Likewise.
1690         (margin): New field.
1691         (JTextComponent): Build and install default keymap.
1692         * javax/swing/text/TextAction.java
1693         (textAction): Call super properly.
1694         (getTextComponent): Implement.
1695         * javax/swing/text/Utilities.java
1696         (drawTabbedText): Adjust position by ascent.
1697
1698 2004-08-31  David Jee  <djee@redhat.com>
1699
1700         PR AWT/17156
1701
1702         * gnu/java/awt/peer/gtk/GtkMenuItemPeer.java
1703         (setEnabled): Make it a native method.
1704         * java/awt/DefaultKeyboardFocusManager.java
1705         (postProcessKeyEvent): Only post event if the menu item
1706         is active.
1707         * java/awt/MenuItem.java:
1708         Private field 'enabled' should be true by default.
1709         * jni/gtk-peer/gnu_java_awt_peer_gtk_GtkMenuItemPeer.c
1710         (setEnabled): New function.
1711
1712 2004-08-31  David Jee  <djee@redhat.com>
1713
1714         PR AWT/17059
1715
1716         * gnu/java/awt/peer/gtk/GtkMenuBarPeer.java
1717         (nativeSetHelpMenu): New native method declaration.
1718         (addHelpMenu): Call nativeSetHelpMenu().
1719         (addMenu): Remove.
1720         * java/awt/MenuBar.java
1721         (setHelpMenu): Call addNotify() on the new help menu.
1722         (add): Call addNotify() on the new menu.
1723         (addNotify): Set the help menu if one exists.
1724         * java/awt/peer/MenuBarPeer.java
1725         (addMenu): Remove.
1726         * jni/gtk-peer/gnu_java_awt_peer_gtk_GtkMenuBarPeer.c
1727         (nativeSetHelpMenu): New method.
1728
1729 2004-08-31  Graydon Hoare  <graydon@redhat.com>
1730
1731         * Makefile.am: Add new files.
1732         * Makefile.in: Regenerate.
1733         * javax/swing/Box.java: Fix setting of layout in ctor.
1734         * javax/swing/JScrollPane.java: Scroll headers as well.
1735         * javax/swing/JTable.java: Reimplement.
1736         * javax/swing/JViewPort.java: Only add non-null children.
1737         * javax/swing/ScrollPaneLayout.java: Correct header calculations.
1738         * javax/swing/Timer.java: Fix stopping null waker.
1739         * javax/swing/plaf/basic/BasicTableHeaderUI.java: New file.
1740         * javax/swing/plaf/basic/BasicTableUI.java: New file.
1741         * javax/swing/table/DefaultTableCellRenderer.java: Configure.
1742         * javax/swing/table/DefaultTableColumnModel.java: Flesh out.
1743         * javax/swing/table/DefaultTableModel.java: Clean up.
1744         * javax/swing/table/JTableHeader.java: Implement.
1745
1746 2004-08-31  Mark Wielaard  <mark@klomp.org>
1747
1748         * javax/swing/JSpinner.java (getChangeListeners): Remove double
1749         semi-colon.
1750
1751 2004-08-31  Mark Wielaard  <mark@klomp.org>
1752
1753         * jni/gtk-peer/gnu_java_awt_peer_gtk_GdkClasspathFontPeerMetrics.c:
1754         Declare variables at top of functions/block.
1755         * jni/gtk-peer/gnu_java_awt_peer_gtk_GdkGraphics2D.c: Likewise.
1756
1757 2004-08-31  Mark Wielaard  <mark@klomp.org>
1758
1759         * java/lang/Rectangle.java (intersects): Check r.width and r.height
1760         first.
1761
1762 2004-08-31  Michael Koch  <konqueror@gmx.de>
1763
1764         * javax/swing/text/PlainView.java
1765         (selectedColor): New field.
1766         (unselectedColor): Likewise.
1767         (font): Likewise.
1768         (updateMetrics): New method.
1769         (lineToRect): Likewise.
1770         (modelToView): Likewise.
1771         (drawSelectedText): Use color from JTextComponent ad draw with
1772         Utilities class.
1773         (drawUnselectedText): Likewise.
1774         (paint): Initialize helper fields.
1775         * javax/swing/text/View.java
1776         (getChildAllocation): New method.
1777         (getViewIndex): Likewise.
1778         (getToolTipText): Likewise.
1779
1780 2004-08-31  Michael Koch  <konqueror@gmx.de>
1781
1782         * javax/swing/text/Utilities.java
1783         (drawTabbedText): Reimplemented.
1784         (getTabbedTextWidth): Likewise.
1785
1786 2004-08-31  Michael Koch  <konqueror@gmx.de>
1787
1788         * javax/swing/plaf/basic/BasicTextUI.java
1789         (installDefaults): Install caret and highlighter.
1790         (modelToView): Use Bias.Forward when calling sibling.
1791         * javax/swing/text/AbstractDocument.java
1792         (ElementEdit): Implements DocumentEvent.ElementChange.
1793         (ElementEdit.ElementEdit): New method.
1794         (ElementEdit.getChildrenAdded): Likewise.
1795         (ElementEdit.getChildrenRemoved): Likewise.
1796         (ElementEdit.getElement): Likewise.
1797         (ElementEdit.getIndex): Likewise.
1798         * javax/swing/text/DefaultCaret.java
1799         (color): Removed.
1800         (textComponent): Renamed from parent, made private.
1801         (selectionVisible): Renamed from vis_sel, made private.
1802         (blinkRate): Renamed from blink, made private.
1803         (magicCaretPosition): Renamed from magic, made private.
1804         (visible): Renamed from vis, made private.
1805         (dot): Made private.
1806         (mark): Likewise.
1807         (deinstall): Remove as MouseMotionListener.
1808         (install): Initialize textComponent first. Add as MouseMotionListener.
1809         (paint): Reimplemented.
1810         * javax/swing/text/JTextComponent.java
1811         (setCaret): Deinstall old caret, install new one and fire property
1812         change after setting property.
1813         (setHighlighter): Deinstall old highlighter, install new one and fire
1814         property change after setting property.
1815         (setCaretColor): Fire property change after setting property.
1816         (setDisabledTextColor): Likewise.
1817         (setSelectedTextColor): Likewise.
1818         (setSelectionColor): Likewise.
1819         (modelToView): New method.
1820
1821 2004-08-31  Michael Koch  <konqueror@gmx.de>
1822
1823         * javax/swing/text/AbstractDocument.java
1824         (getText): Simplified.
1825         * javax/swing/text/Segment.java
1826         (current): New field.
1827         (current): Reimplemented.
1828         (first): Likewise.
1829         (getIndex): Likewise.
1830         (last): Likewise.
1831         (next): Likewise.
1832         (previous): Likewise.
1833         (setIndex): Likewise.
1834
1835 2004-08-31  Michael Koch  <konqueror@gmx.de>
1836
1837         * javax/swing/plaf/basic/BasicButtonUI.java
1838         (defaultTextIconGap): Made protected.
1839         (defaultTextShiftOffset): Likewise.
1840         (textShiftOffset): New field.
1841         (clearTextShiftOffset): New method.
1842         (getTextShiftOffset): Likewise.
1843         (setTextShiftOffset): Likewise.
1844
1845 2004-08-31  Michael Koch  <konqueror@gmx.de>
1846
1847         * javax/swing/plaf/basic/BasicTextUI.java
1848         (installUI): Add eventHandler as property listener.
1849         (uninstallUI): remove eventHandler as propert listener.
1850         (installDefaults): Added comment.
1851         (installListeners): Likewise.
1852         (installKeyboardActions): Likewise.
1853         (uninstallDefaults): Likewise.
1854         (uninstallListeners): Likewise.
1855         (uninstallKeyboardActions): Likewise.
1856
1857 2004-08-31  Michael Koch  <konqueror@gmx.de>
1858
1859         * javax/swing/text/AbstractDocument.java:
1860         Fixed some typos in comments.
1861         (insertString): Reimplemented.
1862         (remove): Likewise.
1863         (replace): New method.
1864         (children): Dont use fully qualified class name.
1865         (DefaultDocumentEvent.offset): Renamed from off.
1866         (DefaultDocumentEvent.length): Renamed from len.
1867         (DefaultDocumentEvent.type): New field.
1868         (DefaultDocumentEvent.DefaultDocumentEvent): New constructor.
1869         (DefaultDocumentEvent.getType): Implemented.
1870
1871 2004-08-31  Michael Koch  <konqueror@gmx.de>
1872
1873         * javax/swing/plaf/basic/BasicTextUI.java
1874         (RootView.textComponent): Removed.
1875         (RootView.RootView): Don't initialize textComponent.
1876         (RootView.getViewFactory): New method.
1877         (EventHandler): New inner class.
1878         (rootView): Initialize at instance creation.
1879         (eventHandler): New field.
1880         (installUI): Don't create view hierarchy directly,
1881         call modelChanged() instead.
1882         (modelChanged): New method.
1883         * javax/swing/text/JTextComponent.java
1884         (setDocument): Fire property change event.
1885
1886 2004-08-31  Michael Koch  <konqueror@gmx.de>
1887
1888         * javax/swing/plaf/basic/BasicTextUI.java
1889         (RootView.paint): Removed debug output.
1890         (paintSafely): Draw highlighter before text.
1891         (paintBackground): Use background color of text component.
1892         * javax/swing/plaf/basic/BasicToggleButtonUI.java:
1893         Reformatted.
1894
1895 2004-08-31  Michael Koch  <konqueror@gmx.de>
1896
1897         * javax/swing/plaf/basic/BasicToolBarUI.java
1898         (BasicToolBarUI): Fixed arguments for constructor.
1899         (createUI): Fixed creation of object.
1900
1901 2004-08-31  Michael Koch  <konqueror@gmx.de>
1902
1903         * javax/swing/DefaultListSelectionModel.java
1904         (fireValueChanged): Renamed from fireSelectionValueChanged,
1905         made protected.
1906
1907 2004-08-31  Michael Koch  <konqueror@gmx.de>
1908
1909         * javax/swing/text/TabSet.java
1910         (TabSet): Implements java.io.Serializable.
1911         * javax/swing/text/TabStop.java
1912         (TabStop): Implements java.io.Serializable.
1913         (TabStop): Made public.
1914
1915 2004-08-31  Michael Koch  <konqueror@gmx.de>
1916
1917         * javax/swing/JComponent.java
1918         (setUI): Fire PropertyChange.
1919         * javax/swing/JLabel.java
1920         (text): Renamed from labelText.
1921         (horizontalAlignment): New default vlaue.
1922         (icon): Renamed from activeIcon.
1923         (displayedMnemonic): Renamed from mnemonicKey, added default value.
1924         (displayedMnemonicIndex): Renamed from underlineChar.
1925         (setDisplayedMnemonic): Reimplemented.
1926         * javax/swing/JRadioButton.java
1927         (JRadioButton): New constructors.
1928         * javax/swing/JTextField.java
1929         (JTextField): Throw exception if colums < 0, initialitialz
1930         this.columns directly and initialize document with text conditionally.
1931
1932 2004-08-31  Michael Koch  <konqueror@gmx.de>
1933
1934         * javax/swing/plaf/basic/BasicFormattedTextFieldUI.java,
1935         javax/swing/plaf/basic/BasicPasswordFieldUI.java,
1936         javax/swing/plaf/basic/BasicTextAreaUI.java: New files.
1937         * javax/swing/text/FieldView.java
1938         (paint): Just call super method for now.
1939         * Makefile.am: Added new files.
1940         * Makefile.in: Regenerated.
1941
1942 2004-08-31  Ka-Hing Cheung  <kahing@javabsp.org>
1943
1944         * javax/swing/AbstractSpinnerModel.java,
1945         javax/swing/JSpinner.java,
1946         javax/swing/SpinnerNumberModel.java,
1947         javax/swing/plaf/basic/BasicSpinnerUI.java:
1948         New files.
1949         * javax/swing/plaf/basic/BasicLookAndFeel.java
1950         (initClassDefaults): Added defaults for BasicSpinnerUI.
1951
1952 2004-08-31  Michael Koch  <konqueror@gmx.de>
1953
1954         * Makefile.am: Added new files.
1955         * Makefile.in: Regenerated.
1956
1957 2004-08-31  Michael Koch  <konqueror@gmx.de>
1958
1959         * javax/swing/TransferHandler.java,
1960         javax/swing/plaf/basic/ComboPopup.java: New files
1961         * Makefile.am: Added javax/swing/TransferHandler.java and
1962         javax/swing/plaf/basic/ComboPopup.java
1963         * Makefile.in: Regenerated.
1964
1965 2004-08-31  Roman Kennke  <roman@ontographics.com>
1966
1967         * javax/swing/text/Utilities.java: New file.
1968
1969 2004-08-31  Michael Koch  <konqueror@gmx.de>
1970
1971         * Makefile.am: Added javax/swing/text/Utilities.java.
1972         * Makefile.in: Regenerated.
1973
1974 2004-08-31  Graydon Hoare  <graydon@redhat.com>
1975
1976         * javax/swing/text/SimpleAttributeSet.java: New file.
1977         * javax/swing/text/StyleConstants.java: New file.
1978         * javax/swing/text/StyleContext.java: New file.
1979         * javax/swing/text/TabSet.java: New file.
1980         * javax/swing/text/TabStop.java: New file.
1981         * javax/swing/text/AbstactDocument.java:
1982         (AbstractElement): Implement attribute support.
1983         * javax/swing/text/AttributeSet.java
1984         (NameAttribute): New static field.
1985         (ResolveAttribute): New static field.
1986         * Makefile.am: Update for new files.
1987         * Makefile.in: Regenerate.
1988
1989 2004-08-31  Craig Black  <craig.black@aonix.com>
1990
1991         * gnu/java/awt/peer/gtk/GdkGraphics.java 
1992         (drawImage): Add support for scaling pixmaps.
1993         * jni/gtk-peer/gnu_java_awt_peer_gtk_GdkGraphics.c
1994         (copyAndScalePixmap): New native method.
1995  
1996 2004-08-31  Thomas Fitzsimmons  <fitzsim@redhat.com>
1997
1998         PR AWT/16121
1999         * jni/gtk-peer/gthread-jni.c: Include stdio.h.  Eliminate
2000         type-punning compiler warnings using unions.
2001         (throw): Replace bzero with memset.
2002
2003 2004-08-31  Andreas Tobler  <a.tobler@schweiz.ch>
2004             Thomas Fitzsimmons  <fitzsim@redhat.com>
2005
2006         * jni/gtk-peer/gnu_java_awt_peer_gtk_GdkPixbufDecoder.c: Move
2007         NSA_PB macros to gtkpeer.h.  Include gtkpeer.h.
2008         * jni/gtk-peer/gtkpeer.h: Move NSA_PB macros here.
2009         * jni/gtk-peer/gnu_java_awt_peer_gtk_GtkWindowPeer.c
2010         (nativeSetIconImageFromDecoder): Use NSA_GET_PB_PTR macro.
2011
2012 2004-08-31  Mark Wielaard  <mark@klomp.org>
2013
2014         * native/jni/gtk-peer/gnu_java_awt_peer_gtk_GdkPixbufDecoder.c:
2015         #include gdk.h, not gtk.h. #include jni.h, native_state.h, string.h
2016         and stdlib.h, not gtkpeer.h.
2017         (*vm): New static variable.
2018         (areaPreparedID): Make static.
2019         (areaUpdatedID): Likewise.
2020         (area_prepared): Get and use JNIEnv through stored JavaVM *vm.
2021         (area_prepared): Likewise.
2022         (area_updated): Likewise.
2023         (closed): Likewise.
2024         (initStaticState): Initialize *vm javaVM.
2025         (pumpBytes): Use given env, not global gdk_env.
2026
2027 2004-08-31  Mark Wielaard  <mark@klomp.org>
2028
2029         * java/awt/geom/CubicCurve2D.java (solveCubic): Removed duplicate
2030         comments.
2031
2032 2004-08-31  Sven de Marothy  <sven@physto.se>
2033
2034         * java/awt/geom/CubicCurve2D.java: Reindent.
2035         (contains): Implemented.
2036         (intersects): Implemented.
2037         * java/awt/geom/QuadCurve2D.java: Likewise.
2038         * java/awt/geom/GeneralPath.java: Reindent and document.
2039         Fully (re)implemented using separate xpoints and ypoints
2040         float[] coords.
2041         * java/awt/geom/RoundRectangle2D.java: Several bugfixes (Bug #6007).
2042
2043 2004-08-31  Michael Koch  <konqueror@gmx.de>
2044
2045         * javax/swing/JMenuItem.java
2046         (getMenuDragMouseListeners): New method.
2047         (getMenuKeyListeners): Likewise.
2048
2049 2004-08-31  Michael Koch  <konqueror@gmx.de>
2050
2051         * javax/swing/AbstractButton.java
2052         (model): Made protected.
2053         (actionListener): Likewise.
2054         (changeListener): Likewise.
2055         (itemListener): Likewise.
2056         (multiClickThreshhold): New field.
2057         (getActionListeners): New method.
2058         (getChangeListeners): Likewise.
2059         (getItemListeners): Likewise.
2060         (fireItemStateChanged): Simplified implementation.
2061         (fireActionPerformed): Likewise.
2062         (fireStateChanged): Likewise.
2063         (getMultiClickThreshhold): New method.
2064         (setMultiClickThreshhold): Likewise.
2065
2066 2004-08-31  Tom Tromey  <tromey@redhat.com>
2067
2068         * java/awt/image/Kernel.java (clone): Use super.clone().
2069
2070 2004-08-31  David Jee  <djee@redhat.com>
2071
2072         PR AWT/16682
2073         * gnu/java/awt/peer/gtk/GtkFramePeer.java
2074         (nativeSetIconImage): Rename to nativeSetIconImageFromDecoder.
2075         (nativeSetIconImageFromData): New native method declaration.
2076         (setIconImage): Handle images not produced from GdkPixbufDecoder.
2077         * gnu/java/awt/peer/gtk/GtkImage.java
2078         (getPixelCache): New method.
2079         (getColorModel): New method.
2080         * jni/gtk-peer/gnu_java_awt_peer_gtk_GtkWindowPeer.c
2081         (nativeSetIconImage): Rename to nativeSetIconImageFromDecoder.
2082         (free_pixbuf_data): New helper function.
2083         (nativeSetIconImageFromData): New function.
2084
2085 2004-08-31  Graydon Hoare  <graydon@redhat.com>
2086
2087         PR SWING/16576
2088         * javax/swing/JLayeredPane.java 
2089         (setLayer): Permit changing layer after addition.
2090         (setPosition): Permit over-length positions.
2091         (layerToRange): Compare intValue()s.
2092         * javax/swing/Box.java (createHorizontalBox): Implement.
2093         (createRigidArea): Likewise.
2094         (createVerticalBox): Likewise.
2095
2096 2004-08-31  Kim Ho  <kho@redhat.com>
2097
2098         * java/awt/Component.java:
2099         (processMouseEvent): Consume event after
2100         listeners process it.
2101         (processMouseMotionEvent): ditto.
2102         (processMouseWheelEvent): ditto.
2103         * java/awt/Container.java:
2104         (acquireComponentForMouseEvent):
2105         Do not dispatch to events that have been
2106         removed from the Container.
2107         (handleEvent): Consume the MouseEvents.
2108         * javax/swing/RepaintManager.java:
2109         (paintDirtyRegions): Do not add to list of 
2110         damaged areas if the component has no root.
2111
2112 2004-08-31  Michael Koch  <konqueror@gmx.de>
2113
2114         * javax/swing/plaf/basic/BasicMenuItemUI.java: Clean ip imports.
2115
2116 2004-08-31  Mark Wielaard  <mark@klomp.org>
2117
2118         * gnu/java/awt/peer/gtk/GtkToolkit.java (getFontPeer): Don't return
2119         null when a MissingResourceException is thrown. Should never happen.
2120
2121 2004-08-31  Mark Wielaard  <mark@klomp.org>
2122
2123         * java/awt/EventQueue.java (postEvent): Throw NullPointerException
2124         when argument is null.
2125
2126 2004-08-31  Mark Wielaard  <mark@klomp.org>
2127
2128         * jni/gtk-peer/gnu_java_awt_peer_gtk_GtkComponentPeer.c
2129         (Java_gnu_java_awt_peer_gtk_GtkComponentPeer_addExposeFilter):
2130         Define hid at start of function.
2131         (Java_gnu_java_awt_peer_gtk_GtkComponentPeer_removeExposeFilter):
2132         Likewise.
2133
2134 2004-08-31  Mark Wielaard  <mark@klomp.org>
2135
2136         * gnu/java/awt/EmbeddedWindow.java: Reindent.
2137         * javax/swing/JButton.java: Reindent.
2138         * javax/swing/JCheckBox.java: Reindent.
2139
2140 2004-08-31  Mark Wielaard  <mark@klomp.org>
2141
2142         * Makefile.am (gtk_c_source_files): Added
2143         jni/gtk-peer/gnu_java_awt_peer_gtk_GThreadNativeMethodRunner.c.
2144         (gtk_awt_peer_sources): Added
2145         gnu/java/awt/peer/gtk/GThreadMutex.java and
2146         gnu/java/awt/peer/gtk/GThreadNativeMethodRunner.java.
2147         * Makefile.in: Regenerated.
2148
2149 2004-08-31  Archie Cobbs  <archie@dellroad.org>
2150
2151         * jni/gtk-peer/gthread-jni.c: don't #include nonexistent files
2152
2153 2004-08-31  Steven Augart  <augart@watson.ibm.com>
2154
2155         * jni/gtk-peer/gthread-jni.c (c-font-lock-extra-types): 
2156         Added jfieldID, jmethodID.
2157
2158 2004-08-31  Mark Wielaard  <mark@klomp.org>
2159
2160         * jni/gtk-peer/gnu_java_awt_peer_gtk_GtkMainThread.c
2161         (Java_gnu_java_awt_peer_gtk_GtkMainThread_gtkInit): Initialize
2162         gdk_env before calling any gdk or gtk function.
2163
2164         * gnu/java/awt/peer/gtk/GtkMainThread.java (gtkInitCalled): New field.
2165         (GtkMainThread): Call wait() in while loop waiting for gtkInitCalled.
2166         (run): Set gtkInitCalled.
2167
2168 2004-08-31  Steven Augart  <augart@watson.ibm.com>
2169
2170         * gnu/java/awt/peer/gtk/GtkMainThread.java (run): Pass the value of 
2171         the gnu.classpath.awt.gtk.portable.native.sync system property to C.
2172
2173         * jni/gtk-peer/gnu_java_awt_peer_gtk_GtkMainThread.c
2174         (Java_gnu_java_awt_peer_gtk_GtkMainThread_gtkInit): New argument,
2175         portableNativeSync.  Delegate PORTABLE_NATIVE_SYNC work to
2176         init_glib_threads. 
2177         (init_glib_threads): New function.
2178
2179 2004-08-31  Mark Wielaard  <mark@klomp.org>
2180
2181         * jni/gtk-peer/gthread-jni.c: Define MIN_, MAX_ and NORM_
2182         PRIORITY when not already defined in header file.
2183
2184 2004-08-31  Mark Wielaard  <mark@klomp.org>
2185
2186         * jni/gtk-peer/gthread-jni.c (setup_cache): Call
2187         ExceptionOccurred, not ExceptionCheck, when we don't have JNI 1.2.
2188
2189 2004-08-31  Steven Augart  <augart@watson.ibm.com>
2190
2191         * gnu/native/jni/gtk-peer/gthread-jni.c: Indentation fixes.
2192         Implemented missing functions for GTK2.
2193         Added error handling.
2194         Renamed static functions out of the g_ namespace.
2195         Added TRACE_API_CALLS, EXPLAIN_TROUBLE, EXPLAIN_BROKEN, 
2196         EXPLAIN_BADLY_BROKEN, and DELETE_LOCAL_REFS options.
2197         Rewrote global-reference code.
2198         Eliminated cascading errors.
2199         (mutex_trylock_jni_impl) Fully implemented.
2200         (cond_timed_wait_jni_impl) Went from millisecond to microsecond
2201         resolution.
2202         (setup_cache) New function.
2203         (mutex_cond_wait_jni_impl, mutex_cond_timed_wait_jni_impl) Fixed
2204         bug where they were not unlocking the GMutex associated with the
2205         condition variable during the wait on that condition variable.
2206
2207         * native/jni/gtk-peer/gnu_java_awt_peer_gtk_GtkMainThread.c,
2208         native/jni/gtk-peer/gthread-jni.c,
2209         native/jni/gtk-peer/gthread-jni.h
2210         (g_thread_jni_functions): Renamed to ...
2211         (portable_native_sync_jni_functions): this name.
2212         (gdk_vm): Renamed to...
2213         (the_vm): this name.
2214
2215         * native/jni/gtk-peer/gnu_java_awt_peer_gtk_GtkMainThread.c
2216         (gdk_vm): Removed duplicate definition.
2217         (gtkInit): Removed stray message to stdout.
2218         (gtkInit): Use g_malloc and g_free instead of malloc and free.
2219         (gtkInit): Fix a const assignment bug.
2220         (gtkInit): Simplified code.
2221
2222         * gnu/java/awt/peer/gtk/GThreadNativeMethodRunner.java,
2223         native/jni/gtk-peer/gnu_java_awt_peer_gtk_GThreadNativeMethodRunner.c,
2224         native/jni/gtk-peer/gnu_java_awt_peer_gtk_GThreadNativeMethodRunner.h,
2225         gnu/java/awt/peer/gtk/GThreadMutex.java:
2226         New files.
2227
2228 2004-08-31  Mark Wielaard  <mark@klomp.org>
2229
2230         * javax/swing/Box.java: Put FIXME comment above class declaration.
2231         * javax/swing/JButton.java: Remove illegal L&F HTML from comments.
2232         * javax/swing/JCheckBox.java: Likewise.
2233         * javax/swing/JDialog.java: Likewise.
2234         * javax/swing/JRadioButton.java: Likewise.
2235         * javax/swing/JToggleButton.java: Likewise.
2236         * javax/swing/UIManager.java: Likewise.
2237         * javax/swing/border/TitledBorder.java: Likewise.
2238         * javax/swing/plaf/basic/BasicLabelUI.java: Likewise.
2239         * javax/swing/plaf/basic/BasicLookAndFeel.java: Likewise.
2240         * javax/swing/plaf/basic/BasicPopupMenuSeparatorUI.java: Likewise.
2241         * javax/swing/plaf/basic/BasicProgressBarUI.java: Likewise.
2242         * javax/swing/plaf/basic/BasicScrollBarUI.java: Likewise.
2243         * javax/swing/plaf/basic/BasicSeparatorUI.java: Likewise.
2244         * javax/swing/text/JTextComponent.java: Likewise.
2245
2246 2004-08-31  David Jee  <djee@redhat.com>
2247
2248         PR AWT/16682
2249         * gnu/java/awt/peer/gtk/GtkFramePeer.java
2250         (setIconImage): Add a FIXME for unhandled cases.
2251
2252 2004-08-31  Thomas Fitzsimmons  <fitzsim@redhat.com>
2253
2254         PR AWT/16040
2255         * gnu/awt/LightweightRedirector.java: Call getModifiersEx, not
2256         getModifiers.  Replace old button masks with new ones.
2257         * gnu/awt/xlib/XEventLoop.java: Likewise.
2258         * gnu/java/awt/peer/gtk/GtkButtonPeer.java: Likewise.
2259         * gnu/java/awt/peer/gtk/GtkComponentPeer.java,
2260         jni/gtk-peer/gnu_java_awt_peer_gtk_GtkComponentPeer.c: Likewise.
2261         * gnu/java/awt/peer/gtk/GtkListPeer.java: Likewise.
2262         * gnu/java/awt/peer/gtk/GtkTextFieldPeer.java: Likewise.
2263         * java/awt/AWTKeyStroke.java: Remove old modifier masks.
2264         * java/awt/Component.java: Replace old modifier masks with new
2265         ones.
2266         * java/awt/Container.java: Call getModifiersEx, not
2267         getModifiers.
2268         * java/awt/DefaultKeyboardFocusManager.java: Likewise.  Remove
2269         old modifier masks.
2270         * javax/swing/JMenuItem.java: Replace old button masks with new
2271         ones.
2272         * javax/swing/KeyStroke.java: Call getModifiersEx, not
2273         getModifiers.
2274         * javax/swing/SwingUtilities.java: Likewise.
2275         * javax/swing/plaf/basic/BasicButtonListener.java: Likewise.
2276         * javax/swing/plaf/basic/BasicInternalFrameUI.java: Likewise.
2277         * jni/gtk-peer/gnu_java_awt_peer_gtk_GtkEvents.c: Replace old
2278         mask macros with new ones.
2279         * jni/gtk-peer/gtkpeer.h: Replace old button and modifier mask
2280         macros with new ones representing new masks.
2281
2282 2004-08-31  Craig Black  <craig.black@aonix.com>
2283
2284         * gnu/java/awt/peer/gtk/GdkGraphics.java
2285         (drawRoundRect): Implemented.
2286         (fillRoundRect): Implemented.
2287         * gnu/java/awt/peer/gtk/GdkGraphics2D.java
2288         (drawRoundRect): Reimplemented to match GdkGraphics.
2289         (fillRoundRect): Reimplemented to match GdkGraphics.
2290
2291 2004-08-31  Mark Wielaard  <mark@klomp.org>
2292
2293         * Makefile.in: Regenerated.
2294
2295 2004-08-31  Michael Koch  <konqueror@gmx.de>
2296
2297         * gnu/java/awt/EmbeddedWindow.java
2298         (addNotify): Use AccessController to allow execution of privileged
2299         code.
2300
2301 2004-08-31  Michael Koch  <konqueror@gmx.de>
2302
2303         * gnu/java/awt/EmbeddedWindow.java
2304         (static): Removed.
2305         (addNotify): Set peer via reflection.
2306         (setWindowPeer): Removed.
2307         * gnu/java/awt/natEmbeddedWindow.cc: Removed.
2308         * Makefile.am (nat_source_files):
2309         Removed gnu/java/awt/natEmbeddedWindow.cc.
2310
2311 2004-08-31  Bryce McKinlay  <mckinlay@redhat.com>
2312
2313         * Makefile.am: Add  gnu/java/security/action/GetPropertyAction.java
2314         and gnu/java/security/action/SetAccessibleAction.java.
2315
2316 2004-08-31  Bryce McKinlay  <mckinlay@redhat.com>
2317
2318         * gnu/java/security/action/GetPropertyAction.java (setParameters):
2319         Renamed from 'setName'. New 2-argument form with default value.
2320         (run): Pass default 'value' parameter to System.getProperty().
2321         * gnu/java/security/action/SetAccessibleAction.java: Fix javadoc
2322         typos.
2323
2324 2004-08-31  Bryce McKinlay  <mckinlay@redhat.com>
2325
2326         * gnu/java/security/action/GetPropertyAction.java: New class.
2327         * gnu/java/security/action/SetAccessibleAction.java: New class.
2328
2329 2004-08-31  David Jee  <djee@redhat.com>
2330
2331         * gnu/java/awt/peer/gtk/GtkFramePeer.java
2332         (setIconImage): Check if image is null.
2333
2334 2004-08-31  David Jee  <djee@redhat.com>
2335
2336         * gnu/java/awt/peer/gtk/GtkFramePeer.java
2337         (create): Set the icon image.
2338         (nativeSetIconImage): New native method declaration.
2339         (setIconImage): Implement.
2340         * jni/gtk-peer/gnu_java_awt_peer_gtk_GtkWindowPeer.c
2341         (nativeSetIconImage): New function.
2342
2343 2004-08-31  Dalibor Topic <robilad@kaffe.org>
2344
2345         * native/jni/gtk-peer/gnu_java_awt_peer_gtk_GtkFileDialogPeer.c
2346         (filenameFilterCallback): Declare local variable accepted before use.
2347
2348 2004-08-31  Dalibor Topic <robilad@kaffe.org>
2349
2350         * gnu/java/awt/ComponentDataBlitOp.java:
2351         Cleaned up imports.
2352
2353 2004-08-31  Tom Tromey  <tromey@redhat.com>
2354
2355         * gnu/java/awt/peer/GLightweightPeer.java,
2356         gnu/java/awt/peer/gtk/GdkGraphics2D.java,
2357         gnu/java/awt/peer/gtk/GtkComponentPeer.java,
2358         javax/swing/JScrollPane.java: Removed
2359         redundant imports.
2360
2361 2004-08-31  David Jee  <djee@redhat.com>
2362
2363         * java/awt/DefaultKeyboardFocusManager.java
2364         (postProcessKeyEvent): Only activate MenuShortcuts on KEY_PRESSED
2365         event.  Fix shift modifier checking.
2366         * jni/gtk-peer/gnu_java_awt_peer_gtk_GtkMenuPeer.c
2367         (accel_attach): Remove.
2368         (setupAccelGroup): Remove calls to accel_attach.
2369
2370 2004-08-31  Thomas Fitzsimmons  <fitzsim@redhat.com>
2371
2372         * gnu/java/awt/peer/gtk/GtkArg.java: Remove file.
2373         * gnu/java/awt/peer/gtk/GtkArgList.java: Remove file.
2374
2375         * Makefile.am (gtk_awt_peer_sources): Remove GtkArg.java and
2376         GtkArgList.java.
2377         (gtk_c_files): Use CAIRO_CFLAGS and PANGOFT2_CFLAGS, not _LIBS.
2378         * Makefile.in: Regenerate.
2379         * gnu/java/awt/peer/gtk/GtkButtonPeer.java,
2380         jni/gtk-peer/gnu_java_awt_peer_gtk_GtkButtonPeer.c
2381         (create(String)): New method.
2382         (create): Call new create method.
2383         (getArgs): Remove method.
2384         * gnu/java/awt/peer/gtk/GtkCheckboxPeer.java,
2385         jni/gtk-peer/gnu_java_awt_peer_gtk_GtkCheckboxPeer.c 
2386         (nativeCreate): Rename to create.
2387         (gtkSetLabel): Rename to gtkButtonSetLabel.
2388         (gtkToggleButtonSetActive): New method.
2389         (create): Call gtkToggleButtonSetActive and gtkButtonSetLabel.
2390         (setState): Replace set call with gtkToggleButtonSetActive.
2391         (setLabel): Replace gtkSetLabel call with gtkButtonSetLabel.
2392         (getArgs): Remove method.
2393         * gnu/java/awt/peer/gtk/GtkComponentPeer.java,
2394         jni/gtk-peer/gnu_java_awt_peer_gtk_GtkComponentPeer.c
2395         (gtkWidgetSetSensitive): New method.
2396         (gtkWidgetSetParent): Likewise.
2397         (GtkComponentPeer): Call setParent, setComponentBounds and
2398         setVisibleAndEnabled.
2399         (setParent): New method.
2400         (setComponentBounds): New method.
2401         (setVisibleAndEnabled): New method.
2402         (setEnabled): Call gtkWidgetSetSensitive.
2403         (getArgs): Remove method.
2404         Remove all set methods.
2405         * gnu/java/awt/peer/gtk/GtkDialogPeer.java (create): Call
2406         gtkWindowSetModal, setTitle and setResizable.
2407         (getArgs): Remove method.
2408         * gnu/java/awt/peer/gtk/GtkFileDialogPeer.java
2409         (setComponentBounds): New method.
2410         * gnu/java/awt/peer/gtk/GtkFramePeer.java (setResizable):
2411         Replace set call with gtkWindowSetResizable.
2412         (getArgs): Remove method.
2413         (create): Call setTitle and setResizable.
2414         * gnu/java/awt/peer/gtk/GtkWindowPeer.java,
2415         jni/gtk-peer/gnu_java_awt_peer_gtk_GtkWindowPeer.c
2416         (gtkWindowSetTitle): New method.
2417         (gtkWindowSetResizable): New method.
2418         (gtkWindowSetModal): New method.
2419         (setParent): New method.
2420         (setVisibleAndEnabled): New method.
2421         (getArgs): Remove method.
2422         (setTitle): Call gtkWindowSetTitle.
2423         (setResizable): Call gtkWindowSetResizable.
2424         * jni/gtk-peer/gtkpeer.h [DEBUG_LOCKING]: New define to turn on
2425         and off locking instrumentation.
2426
2427 2004-08-31  Kim Ho  <kho@redhat.com>
2428
2429         * Makefile.am: Add new file.
2430         * Makefile.in: Regenerate.
2431         * gcj/Makefile.in: Regenerate
2432         * include/Makefile.in:
2433         * java/awt/Container.java:
2434         (acquireComponentForMouseEvent): Respect 
2435         the event mask when looking for candidate.
2436         * javax/swing/JComponent.java:
2437         Remove toolTip field.
2438         (createToolTip): Create a tooltip on demand.
2439         (setToolTipText): Register with the ToolTipManager.
2440         (getToolTipText(MouseEvent)): Return getToolTipText().
2441         * javax/swing/JToolTip.java: Implement.
2442         * javax/swing/Timer.java: Jalopy.
2443         (restart): Call stop, then start.
2444         (stop): Interrupt the timer rather than wait for
2445         the timer to come to a stop naturally.
2446         * javax/swing/ToolTipManager.java: Implement.
2447         * javax/swing/plaf/basic/BasicLookAndFeel.java:
2448         Change ToolTip.background color.
2449         * javax/swing/plaf/basic/BasicToolTipUI.java:
2450         Implement.
2451         * testsuite/Makefile.in: Regenerate
2452
2453 2004-08-31  Jerry Quinn  <jlquinn@optonline.net>
2454
2455         * java/awt/image/DirectColorModel.java (DirectColorModel): Fix
2456         constructor param comments.
2457
2458 2004-08-31  Thomas Fitzsimmons  <fitzsim@redhat.com>
2459
2460         * java/awt/Component.java: Document AWT 1.0 event handler
2461         methods.
2462
2463 2004-08-31  Roman Kennke  <roman@ontographics.com>
2464
2465         * javax/swing/Box.java:
2466         (createGlue): Implemented
2467         (createHorizontalGlue): Implemented
2468         (createHorizontalStrut): Implemented
2469         (createVerticalGlue): Implemented
2470         (createVerticalStrut): Implemented
2471
2472 2004-08-31  David Jee  <djee@redhat.com>
2473
2474         * gnu/java/awt/peer/gtk/GtkChoicePeer.java
2475         (GtkChoicePeer): Do not automatically select first item.
2476         (getHistory): Remove.
2477         (nativeGetSelected): New method.
2478         (nativeRemoveAll): New method.
2479         (add): Use nativeGetSelected() instead of getHistory().
2480         (remove): Likewise.
2481         (removeAll): Call nativeRemoveAll().
2482         * jni/gtk-peer/gnu_java_awt_peer_gtk_GtkChoicePeer.c
2483         (create): Migrate to GtkComboBox.
2484         (append): Likewise.
2485         (nativeAdd): Likewise.
2486         (nativeRemove): Likewise.
2487         (select): Likewise.
2488         (nativeRemoveAll): New method.
2489         (nativeGetSelected): New method.
2490         (selection_changed): New method.
2491         (getHistory): Remove.
2492         (item_activate): Remove.
2493         (item_removed): Remove.
2494         (connect_choice_item_selectable_hook): Remove.
2495
2496 2004-08-31  Thomas Fitzsimmons  <fitzsim@redhat.com>
2497
2498         * gnu/java/awt/peer/gtk/GtkTextFieldPeer.java (create): Use tf
2499         variable in setEditable call.
2500
2501         * gnu/java/awt/peer/gtk/GtkTextFieldPeer.java,
2502         jni/gtk-peer/gnu_java_awt_peer_gtk_GtkTextFieldPeer.c
2503         (gtkWidgetSetBackground): New method.
2504         (gtkWidgetSetForeground): Likewise.
2505         (create): Set peer's editable state based on awtComponent's.
2506
2507         * java/awt/Button.java (Button()): Use empty string rather than
2508         null in no-label constructor.
2509
2510 2004-08-31  Roman Kennke  <roman@ontographics.com>
2511
2512         * javax/swing/BoxLayout.java: Reimplement.
2513
2514 2004-08-31  Thomas Fitzsimmons  <fitzsim@redhat.com>
2515
2516         * gnu/java/awt/peer/gtk/GdkGraphics.java,
2517         gnu_java_awt_peer_gtk_GdkGraphics.c
2518         (initState(GtkComponentPeer)): Don't return array of colour
2519         values.
2520         (GdkGraphics(int,int)): Set default font to size 12.
2521         (GdkGraphics(GtkComponentPeer)): Set graphics colour to
2522         component's foreground colour.
2523         * gnu/java/awt/peer/gtk/GdkGraphics2D.java,
2524         gnu_java_awt_peer_gtk_GdkGraphics2D.c
2525         (initState(GtkComponentPeer)): Don't return array of colour
2526         values.
2527         (GdkGraphics2D(GtkComponentPeer)): Set foreground and background
2528         colours to component's colours.
2529         (current_colors_of_widget): Remove function.
2530         * gnu/java/awt/peer/gtk/GtkOffScreenImage.java (getGraphics):
2531         Return a new graphics object.
2532         * java/awt/Font.java (toString): Fix format.
2533         * java/awt/Graphics.java (toString): Likewise.
2534
2535 2004-08-31  Craig Black  <craig.black@aonix.com>
2536
2537         * native/jni/gtk-peer/gnu_java_awt_peer_gtk_GtkMenuPeer.c
2538         (addTearOff): New function.
2539         * gnu/java/awt/peer/gtk/GtkMenuPeer.java (addTearOff):
2540         New native method.
2541         (init): Call addTearOff() when menu.isTearOff().
2542
2543 2004-08-31  Bryce McKinlay  <mckinlay@redhat.com>
2544
2545         * gnu/java/awt/ClasspathToolkit.java (createImageProducer): New.
2546         Default implementation.
2547         * gnu/java/awt/peer/gtk/GtkToolkit.java (createImageProducer): New.
2548         Implement using GdkPixbufDecoder.
2549
2550 2004-08-31  David Jee  <djee@redhat.com>
2551
2552         * gnu/java/awt/peer/gtk/GtkComponentPeer.java
2553         (GtkComponentPeer): Use gtkWidgetGetPreferredDimensions() for
2554         setting the size of GtkFileDialogPeers.
2555         * jni/gtk-peer/gnu_java_awt_peer_gtk_GtkComponentPeer.c
2556         (gtkWidgetGetPreferredDimensions): For widgets extending GtkWindow,
2557         use their default sizes rather than their natural requisitions.
2558
2559 2004-08-31  Michael Koch  <konqueror@gmx.de>
2560
2561         * javax/swing/JFormattedTextField.java
2562         (JFormattedTextField): Implemented.
2563         * javax/swing/text/DefaultEditorKit.java
2564         (BeepAction): New inner class.
2565         * javax/swing/text/Segment.java
2566         (partialReturn): New field.
2567         (setPartialReturn): New method.
2568         (isPartialReturn): Likewise.
2569         * javax/swing/text/View.java
2570         (createFragment): Fixed typo.
2571         (getStartOffset): New method.
2572         (getEndOffset): Likewise.
2573
2574 2004-08-31  Michael Koch  <konqueror@gmx.de>
2575
2576         * javax/swing/table/DefaultTableColumnModel.java
2577         (serialVersionUID): Made private.
2578         (listenerList): Initialize.
2579         (changeEvent): Initialize.
2580         * javax/swing/table/JTableHeader.java
2581         (JTableHeader): New constructors.
2582         (createDefaultColumnModel): New method.
2583         * javax/swing/table/TableColumn.java
2584         (setHeaderRenderer): Simplified code.
2585         (setCellRenderer): Likewise.
2586         (setWidth): Likewise.
2587
2588 2004-08-31  Tom Tromey  <tromey@redhat.com>
2589
2590         * java/text/AttributedString.java (AttributedString): Use
2591         ArrayList to build array of attribute ranges.  Don't use
2592         `attribs' before it is set.
2593
2594 2004-08-30  Andreas Tobler  <a.tobler@schweiz.ch>
2595
2596         * HACKING: Remove reference to special automake. No longer needed.
2597
2598 2004-08-30  Tom Tromey  <tromey@redhat.com>
2599
2600         * gnu/java/security/util/Prime.java (generateRandomPrime): Use
2601         return result from `add'.
2602
2603 2004-08-30  Tom Tromey  <tromey@redhat.com>
2604
2605         * java/rmi/server/UID.java (UID): Read `nextCount', not count.
2606
2607 2004-08-30  Andreas Tobler  <a.tobler@schweiz.ch>
2608
2609         * gnu/java/security/der/DEREncodingException.java: Remove whitespaces.
2610
2611 2004-08-30  Jeroen Frijters  <jeroen@frijters.net>
2612
2613         * java/io/File.java File(String,String): Fixed handling of empty
2614         path.
2615
2616 2004-08-30  Casey Marshall  <csm@gnu.org>
2617
2618         Author e-mail updated for all files.
2619         * gnu/java/security/OID.java (equals): Test if the aurgment is an
2620         instance of OID.
2621         (compareTo): Use `equals'.
2622         * gnu/java/security/der/BitString.java (equals): Test if the
2623         argument is an instance of BitString.
2624         * gnu/java/security/der/DERReader.java: Removed NIO imports.  Made
2625         class final. Made fields private.
2626         (<init>): New constructor.
2627         (skip): New method.
2628         (makeString): Made static; don't use NIO.
2629         (fromIso88591, fromUtf16Be, fromUtf8): New methods.
2630         * gnu/java/security/der/DERWriter.java: Fixed imports.
2631         (writeString): Don't use NIO.
2632         (toIso88591, toUtf16Be, toUtf8): New methods.
2633         * gnu/java/security/der/DERValue.java: Formatting changes only.
2634         * gnu/java/security/der/DER.java: Likewise.
2635
2636 2004-08-30  Tom Tromey  <tromey@redhat.com>
2637
2638         * java/nio/CharBuffer.java (put): Fix typo.
2639         * java/nio/DoubleBuffer.java (put): Fix typo.
2640         * java/nio/FloatBuffer.java (put): Fix typo.
2641         * java/nio/IntBuffer.java (put): Fix typo.
2642         * java/nio/LongBuffer.java (put): Fix typo.
2643         * java/nio/ShortBuffer.java (put): Fix typo.
2644
2645 2004-08-30  Florian Weimer  <fw@deneb.enyo.de>
2646
2647         * java/nio/ByteBuffer.java (put): Fix typo.
2648
2649 2004-08-30  Casey Marshall  <csm@gnu.org>
2650
2651         * java/security/DummyKeyPairGenerator.java (clone): Removed
2652         useless instanceof check.
2653         * java/security/DummyMessageDigest.java (clone): Likewise.
2654         * java/security/DummySignature.java (clone): Likewise.
2655         * java/security/MessageDigest.java (clone): Remove useless
2656         instanceof check.
2657         * java/security/MessageDigestSpi.java (clone): Likewise.
2658         * java/security/Signature.java (clone): Provide meaningful
2659         implementation.
2660         * java/security/SignatureSpi.java (clone): Likewise.
2661
2662 2004-08-29  Mark Wielaard  <mark@klomp.org>
2663
2664         * java/util/Arrays.java
2665         (sort(byte[], int, int)): Check fromIndex < 0.
2666         (sort(char[], int, int)): Likewise.
2667         (sort(short[], int, int)): Likewise.
2668         (sort(int[], int, int)): Likewise.
2669         (sort(long[], int, int)): Likewise.
2670         (sort(float[], int, int)): Likewise.
2671         (sort(double[], int, int)): Likewise.
2672         (sort(Object[], int, int, Comparator)): Likewise.
2673         (qsort(byte[], int, int)): Honor lower bound from in insertion sort.
2674         (qsort(char[], int, int)): Likewise.
2675         (qsort(short[], int, int)): Likewise.
2676         (qsort(int[], int, int)): Likewise.
2677         (qsort(long[], int, int)): Likewise.
2678         (qsort(float[], int, int)): Likewise.
2679         (qsort(double[], int, int)): Likewise.
2680
2681 2004-08-29  Andrew John Hughes  <gnu_andrew@member.fsf.org>
2682
2683         * java/util/AbstractCollection.java, java/util/AbstractList.java,
2684         java/util/AbstractMap.java, java/util/AbstractSequentialList.java,
2685         java/util/ArrayList.java, java/util/Arrays.java,
2686         java/util/BitSet.java, java/util/Calendar.java,
2687         java/util/Collection.java, java/util/ListIterator.java,
2688         java/util/Map.java, java/util/SortedSet.java:
2689         Added additional exceptions to documentation, along
2690         with some additions and corrections.
2691
2692 2004-08-27  Hans Boehm  <Hans.Boehm@hp.com>
2693
2694         * configure.ac: Handle --enable-gc-debug.
2695         * configure: Regenerate.
2696         * include/config.h.in (LIBGCJ_GC_DEBUG): Add.
2697         * boehm.cc: Include gc_mark.h, javaxfc.h, but no GC private files.
2698         Rearrange include file order.
2699         (GC_DEBUG): Set if LIBGCJ_GC_DEBUG is set.
2700         (GC_finalize_all, GC_debug_generic_malloc): Don't declare.
2701         (disable_gc_mutex): Delete along with all references.
2702         (_Jv_MarkObj, _Jv_MarkArray): Use public types,
2703         adjust for debug header size.
2704         (_Jv_AllocObj, _Jv_allocPtrFreeObj): Define out of line for
2705         debug case.
2706         (_Jv_AllocArray): Declare min_heap_addr only if needed.
2707         (gcj_describe_type_fn): New.
2708         (_Jv_InitGC): Use GC_new_free_list, GC_new_proc, and GC_new_kind.
2709         Register gcj_describe_type_fn.
2710         * include/boehm-gc.h:
2711         (_Jv_AllocObj, _Jv_allocPtrFreeObj):
2712         Don't define, but declare, for debug case.
2713         * java/lang/natObject.cc:
2714         (GC_DEBUG): Define if LIBGCJ_GC_DEBUG is set.
2715
2716 2004-08-26  Mark Wielaard  <mark@klomp.org>
2717
2718         Fixes PR libgcj/17002:
2719         * java/util/TimeZone.java (defaultZone): Try a couple of ways to get
2720         a TimeZoneId string and then try to convert that to a TimeZone with
2721         getDefaultSystemTimeZone(String).
2722         (timezones0): Changed type from Hashtable to HashMap.
2723         (timezones): Create HashMap, not Hashtable.
2724         (getDefaultTimeZone): New method, rewritten from CNI version.
2725         (readTimeZoneFile): New method.
2726         (readtzFile): Likewise.
2727         (skipFully): Likewise.
2728         * java/util/natTimeZone.cc (getSystemTimeZone): Renamed to
2729         getDefaultTimeZoneId and rewritten.
2730         (getDefaultTimeZoneId): Rewritten in java.
2731         
2732 2004-08-25  David Daney  <daney@avtrex.com>
2733
2734         * Makefile.am (AM_GCJFLAGS):  Add LIBGCJ_JAVAFLAGS.
2735         * Makefile.in: Regenerated.
2736
2737 2004-08-23  Bryce McKinlay  <mckinlay@redhat.com>
2738
2739         * prims.cc (JVMPI_NOTIFY_ALLOC): New macro. Call jvmpi_notify_alloc
2740         only if jvmpi is enabled.
2741         (jvmpi_notify_alloc): Don't check if jvmpi is enabled here.
2742         (_Jv_AllocObjectNoFinalizer): Use JVMPI_NOTIFY_ALLOC.
2743         (_Jv_AllocString): Likewise.
2744         (_Jv_AllocPtrFreeObject): Likewise.     
2745
2746 2004-08-23  Hans Boehm  <Hans.Boehm@hp.com>
2747
2748         * defineclass.cc: Include <stdio.h>.
2749         * java/lang/natClassLoader.cc: Include <stdio.h>.
2750
2751 2004-08-21  Andreas Tobler  <a.tobler@schweiz.ch>
2752             Michael Koch  <konqueror@gmx.de>
2753
2754         * Makefile.am (lib_gnu_java_awt_peer_gtk_la_LINK): Added.
2755         * Makefile.in: Regenerated.
2756
2757 2004-08-20  Michael Koch  <konqueror@gmx.de>
2758
2759         * configure.ac: Replaced all AC_TRY_COMPILE macros with
2760         AC_COMPILE_IFELSE macros.
2761
2762 2004-08-20  Michael Koch  <konqueror@gmx.de>
2763
2764         * configure.in: Renamed to configure.ac.
2765         * configure.ac: New file.
2766         * configure, Makefile.in, gcj/Makefile.in, include/Makefile.in
2767         include/config.h.in, testsuite/Makefile.in: Regenerated.
2768
2769 2004-08-20  Michael Koch  <konqueror@gmx.de>
2770
2771         * configure.in: Rewrote some obsolete stuff for autoconf 2.59.
2772         * aclocal.m4, configure: Regenerated.
2773
2774 2004-08-19  Thomas Fitzsimmons  <fitzsim@redhat.com>
2775             Michael Koch  <konqueror@gmx.de>
2776
2777         * configure.in, Makefile.am: Ported to automake 1.9.
2778         * Makefile.in, aclocal.m4, configure, gcj/Makefile.in, 
2779         include/Makefile.in, testsuite/Makefile.in, include/config.h.in:
2780         Regenerated.
2781
2782 2004-08-19  Tom Tromey  <tromey@redhat.com>
2783
2784         * java/net/DatagramSocket.java: Fixed typo.
2785
2786 2004-08-18  Bryce McKinlay  <mckinlay@redhat.com>
2787
2788         PR libgcj/17081
2789         * java/net/URI.java (string): New field. Make all other fields
2790         transient.
2791         (readObject): Implemented.
2792         (writeObject): Implemented.
2793         (URI): Set 'string'.
2794
2795 2004-08-18  Bryce McKinlay  <mckinlay@redhat.com>
2796
2797         PR libgcj/17079
2798         * java/util/logging/Handler.java (isLoggable): Accept record if its
2799         log level equals the threshold level. From Robin Green.
2800
2801 2004-08-18  David Daney  <ddaney@avtrex.com>
2802
2803         * java/lang/natPosixProcess.cc (waitForSignal): Use sigsuspend 
2804         instead of sigwait.
2805
2806 2004-08-17  Michael Koch  <konqueror@gmx.de>
2807
2808         * Makefile.am (AM_CXXFLAGS): Reformatted to make it more ease to read.
2809         * Makefile.in: Regenerated.
2810
2811 2004-08-16  Tom Tromey  <tromey@redhat.com>
2812
2813         PR java/8473:
2814         * testsuite/libjava.jacks/jacks.xfail: Removed passing test.
2815
2816 2004-08-16  Michael Koch  <konqueror@gmx.de>
2817
2818         * Makefile.am
2819         (math_c_files): Renamed from c_files.
2820         (math_c_source_files): Renamed from c_source_files.
2821         * Makefile.in,
2822         gcj/Makefile.in,
2823         include/Makefile.in,
2824         testsuite/Makefile.in: Regenerated.
2825
2826 2004-08-16  Bryce McKinlay  <mckinlay@redhat.com>
2827
2828         * configure.in (AC_CONF_SUBDIRS): Use literal for ltdl directory
2829         to avoid autoconf warning.
2830         * configure: Rebuilt.
2831
2832 2004-08-14  Andreas Tobler  <a.tobler@schweiz.ch>
2833
2834         * java/net/natInetAddressPosix.cc (lookup): Reflect rename of 
2835         localhostAddress to loopbackAddress.
2836         * java/net/natInetAddressWin32.cc (lookup): Likewise.
2837
2838 2004-08-13  Bryce McKinlay  <mckinlay@redhat.com>
2839
2840         * configure.in (GCINCS): Don't use "boehm-cflags". Instead, -I 
2841         boehm-gc's include dirs.
2842         * configure: Rebuilt.
2843         * include/boehm-gc.h: Include gc_config.h.
2844
2845 2004-08-13  Bryce McKinlay  <mckinlay@redhat.com>
2846
2847         * java/net/InetAddress.java (loopbackAddress): Renamed from 
2848         localhostAddress.
2849         (getByName): Return loopback address for null hostname, without
2850         security check. Use lookup(), not getAllByName.
2851         (getAllByName): Return loopback address for null hostname, without
2852         security check.
2853         * java/net/natInetAddressPosix.cc (lookup): Don't perform security
2854         check here.
2855
2856 2004-08-13  Bryce McKinlay  <mckinlay@redhat.com>
2857
2858         PR libgcj/17020
2859         Reported by Robin Green.
2860         * defineclass.cc (handleField): Don't throw exception on unrecognised
2861         modifier. Add FIXME comments for spec compliance.
2862         (handleMethod): Likewise.
2863
2864 2004-08-10  Hans Boehm <Hans.Boehm@hp.com>
2865
2866         PR libgcj/16662
2867         * java/lang/natObject.cc (LOCK_LOG, LOG): Add debug tracing.
2868         (Almost everywhere): add LOG calls, fix, add comments.
2869         (_Jv_MonitorEnter): Replace masking of LOCKED bit with assertion.
2870         Add explicit check for LOCKED bit in slow case (PR 16662).
2871         (_Jv_MonitorExit): Add casts in debug-only code.
2872         Always release LOCKED bit before throwing exception.
2873         (_Jv_ObjectCheckMonitor): Lock may be held if lightweight lock
2874         isn't.  Handle easy cases without lock acquisition.
2875         (Object::wait): Use NotifyAll for lock inflation.
2876
2877 2004-08-12  David Daney  <ddaney@avtrex.com>
2878
2879         * testsuite/libjava.lang/Process_1.java: New test.
2880         * testsuite/libjava.lang/Process_2.java: New test.
2881         * testsuite/libjava.lang/Process_3.java: New test.
2882         * testsuite/libjava.lang/Process_4.java: New test.
2883         * testsuite/libjava.lang/Process_5.java: New test.
2884         * testsuite/libjava.lang/Process_6.java: New test.
2885         * testsuite/libjava.lang/Process_1.out: Expected result.
2886         * testsuite/libjava.lang/Process_2.out: Expected result.
2887         * testsuite/libjava.lang/Process_3.out: Expected result.
2888         * testsuite/libjava.lang/Process_4.out: Expected result.
2889         * testsuite/libjava.lang/Process_5.out: Expected result.
2890         * testsuite/libjava.lang/Process_6.out: Expected result.
2891
2892 2004-08-12  David Daney  <ddaney@avtrex.com>
2893
2894         PR libgcj/11801
2895         * java/lang/PosixProcess.java: Rewrote.
2896         * java/lang/natPosixProcess.cc: Rewrote.
2897         * java/lang/Runtime.java (execInternal): Declare throws IOException.
2898         * gcj/javaprims.h (ConcreteProcess$ProcessManager): Declare.
2899         * posix-threads.cc (block_sigchld) New function.
2900         (_Jv_ThreadRegister) Use it.
2901         (_Jv_ThreadStart) Use it.
2902         * configure.in (PLATFORM_INNER_NAT_HDRS): New AC_SUBST() used in...
2903         * Makefile.am: ... to specify extra native headers.
2904         * configure: Regenerated.
2905         * include/config.h: Regenerated.
2906         * Makefile.in: Regenerated.
2907         * gcj/Makefile.in: Regenerated.
2908         * include/Makefile.in: Regenerated.
2909         * testsuite/Makefile.in: Regenerated.
2910
2911 2004-08-12  Diego Novillo  <dnovillo@redhat.com>
2912
2913         PR tree-optimization/16867
2914         * testsuite/libjava.lang/PR16867.java: New test.
2915
2916 2004-08-09  Per Bothner  <per@bothner.com>
2917
2918         * gcj/javaprims.h (_Jv_Utf8Const): Change struct to a class,
2919         with private fields and access methods.
2920         (_Jv_NewStringUTF, _Jv_hashUtf8String): New function declarations.
2921         * gcj/cni.h (_Jv_NewStringUTF): Move to javaprims.h.
2922         * prims.cc (_Jv_Utf8COnst::init): New method implementation.
2923         ( _Jv_makeUtf8Const): Rewrite using new constructors.
2924         (hashUtf8String): Rename to +_Jv_hashUtf8String and make non-static.
2925         * defineclass.cc: Use new _Utf8Const access/convenience methods.
2926         * jni.cc: Likewise.
2927         * resolve.cc: Likewise.
2928         * gcj/field.h: Likewise.
2929         * include/jvm.h: Likewise.
2930         * java/lang/Class.h: Likewise.
2931         * java/lang/natClass.cc: Likwise.
2932         * java/lang/natClassLoader.cc: Likewise
2933         * java/lang/reflect/natMethod.cc: Likewise
2934         * verify.cc: Likewise.
2935         (_Jv_BytecodeVerifier::make_utf8_const):  Optimize.
2936         (~_Jv_BytecodeVerifier):  Don't need second _Jv_Free call.
2937
2938 2004-08-10  Andrew Haley  <aph@redhat.com>
2939
2940         * testsuite/libjava.lang/err14.java: New file.
2941         * testsuite/libjava.lang/err14.out: New file.
2942
2943 2004-08-05  Andreas Tobler  <a.tobler@schweiz.ch>
2944
2945         * Makefile.am: Fix missing rename from x_nat_headers to 
2946         xlib_nat_headers.
2947         * Makefile.in: Regenerated.
2948
2949 2004-08-04  Andrew Haley  <aph@redhat.com>
2950
2951         * java/security/BasicPermission.java: Don't check wildcards.
2952
2953 2004-08-04  Thomas Fitzsimmons <fitzsim@redhat.com>
2954             Michael Koch  <konqueror@gmx.de>
2955
2956         * acinclude.m4: Correctly quote PKG_CHECK_MODULES.
2957         * configure.in: Replaced all usages of AC_LINK_FILES by
2958         AC_CONFIG_LINKS.
2959         * aclocal.m4,
2960         configure: Regenerated.
2961
2962 2004-08-04  Thomas Fitzsimmons  <fitzsim@redhat.com>
2963             Michael Koch  <konqueror@gmx.de>
2964
2965         * acconfig.h: Removed.
2966         * Makefile.am: Rename variables for xlib peer to include xlib and
2967         gtk_c_headers to gtk_jni_headers.
2968         * Makefile.in: Regenerated.
2969
2970 2004-08-04  Andrew Haley  <aph@redhat.com>
2971
2972         * testsuite/lib/libjava.exp (bytecompile_file): Byte compile with
2973         debugging.
2974
2975 2004-08-03  Nathanael Nerode  <neroden@gcc.gnu.org>
2976
2977         * configure.in: Eliminate uses of changequote (mostly by quoting []).
2978         Replace most top level 'dnl' comments with '#' comments, conforming
2979         to new autoconf style.  Use AS_HELP_STRING throughout; improve a few
2980         help strings.
2981         * configure: Rebuilt.
2982
2983 2004-07-17  Nathanael Nerode  <neroden@gcc.gnu.org>
2984
2985         * acinclude.m4: Include no-executables.m4.
2986         * aclocal.m4: Rebuild.
2987         * configure.in: Convert to the autoconf 2.59 version of
2988         of the no-executables hack, and also of the nonstandard CXX
2989         hack and the multilibbed CC and CXX hack.  Change prerequisite
2990         to autoconf 2.59.
2991         * configure: Rebuild with autoconf 2.59.  (Woo-hoo!)
2992         * Makefile.in, gcj/Makefile.in, include/Makefile.in,
2993         testsuite/Makefile.in: Regenerate.
2994
2995 2004-08-03  Tom Tromey  <tromey@redhat.com>
2996
2997         * jni.cc: Reindented.
2998
2999 2004-08-02  Bryce McKinlay  <mckinlay@redhat.com>
3000
3001         * java/sql/Timestamp.java (valueOf): Synchronize access to dateFormat.
3002
3003 2004-08-02  Bryce McKinlay  <mckinlay@redhat.com>
3004
3005         * testsuite/libjava.compile/PR16701.java: New test.
3006
3007 2004-08-01  Andrew John Hughes  <gnu_andrew@member.fsf.org>
3008
3009         * java/util/Collection.java, java/util/List.java,
3010         java/util/Map.java, java/util/Set.java,
3011         java/util/SortedMap.java, java/util/SortedSet.java:
3012         Added additional exceptions to documentation.
3013
3014 2004-08-01  Danny Smith  <dannysmith@users.sourceforge.net>
3015
3016         PR libgcj/16814
3017         * configure.in [host *mingw*] (SYSTEMSPEC): Remove -lwsock32.
3018         * configure. Regenerate.
3019         * include/win32.h: Explicitly include winsock2.h
3020         * win32.cc (_Jv_platform_initialize): Require version 2.2 of
3021         Winsock api.
3022
3023 2004-07-30  Michael Koch  <konqueror@gmx.de>
3024
3025         * java/util/zip/GZIPInputStream.java
3026         (GZIPInputStream): Increase buffer size to 4k.
3027         * java/util/zip/GZIPOutputStream.java
3028         (GZIPOutputStream): Likewise.
3029         * java/util/zip/Inflater.java
3030         (setInput): Merged formating with GNU classpath.
3031         * java/util/zip/InflaterInputStream.java
3032         (InflaterInputStream): Increase buffer size to 4k.
3033         (fill): Throw exception if stream ends early.
3034         (read): Merged endless-loop with GNU classpath.
3035         (skip): Increase buffer size to 2k.
3036
3037 2004-07-30  Michael Koch  <konqueror@gmx.de>
3038
3039         * gnu/java/awt/EmbeddedWindow.java
3040         (addNotify): Use AccessController to allow execution of privileged
3041         code.
3042
3043 2004-07-29  Michael Koch  <konqueror@gmx.de>
3044
3045         * gnu/java/lang/MainThread.java:
3046         Explicitely import used classes.
3047         (args): Make it type String[].
3048
3049 2004-07-29 Dalibor Topic <robilad@kaffe.org>
3050
3051         * gnu/java/awt/ComponentDataBlitOp.java,
3052         gnu/java/beans/ExplicitBeanInfo.java,
3053         gnu/java/beans/IntrospectionIncubator.java,
3054         gnu/java/beans/editors/ColorEditor.java,
3055         gnu/java/beans/editors/FontEditor.java,
3056         gnu/java/beans/editors/NativeBooleanEditor.java,
3057         gnu/java/beans/editors/NativeByteEditor.java,
3058         gnu/java/beans/editors/NativeDoubleEditor.java,
3059         gnu/java/beans/editors/NativeFloatEditor.java,
3060         gnu/java/beans/editors/NativeIntEditor.java,
3061         gnu/java/beans/editors/NativeLongEditor.java,
3062         gnu/java/beans/editors/NativeShortEditor.java,
3063         gnu/java/beans/editors/StringEditor.java,
3064         gnu/java/io/ClassLoaderObjectInputStream.java,
3065         gnu/java/io/decode/Decoder.java,
3066         gnu/java/io/encode/Encoder.java,
3067         gnu/java/lang/ClassHelper.java,
3068         gnu/java/locale/Calendar.java,
3069         gnu/java/locale/Calendar_de.java,
3070         gnu/java/locale/Calendar_en.java,
3071         gnu/java/locale/Calendar_nl.java,
3072         gnu/java/locale/LocaleInformation_de.java,
3073         gnu/java/locale/LocaleInformation_en.java,
3074         gnu/java/locale/LocaleInformation_nl.java:
3075         Cleaned up imports.
3076
3077 2004-07-28  Bryce McKinlay  <mckinlay@redhat.com>
3078
3079         * README: Remove obsolete info. Update bug URL.
3080         * THANKS: Updated.
3081         * NEWS: Updated with news up to GCC 3.4 release.
3082
3083 2004-07-28  Bryce McKinlay  <mckinlay@redhat.com>
3084
3085         * gnu/java/security/action/GetPropertyAction.java (setParameters):
3086         Renamed from 'setName'. New 2-argument form with default value.
3087         (run): Pass default 'value' parameter to System.getProperty().
3088         * gnu/java/security/action/SetAccessibleAction.java: Fix javadoc
3089         typos.
3090         * gnu/java/net/protocol/http/Connection.java: Use 'setParameters'
3091         not 'setName'.
3092
3093 2004-07-28  Bryce McKinlay  <mckinlay@redhat.com>
3094
3095         * configure.in: Check for minimum GTK version 2.4 requirement.
3096         * configure: Rebuilt.
3097
3098 2004-07-27  Bryce McKinlay  <mckinlay@redhat.com>
3099
3100         * testsuite/libjava.lang/TLtest.java: Reduce sleep time.
3101         * testsuite/libjava.lang/Thread_Alive.java: Remove old email address.
3102         Reduce sleep time.
3103         * testsuite/libjava.lang/Thread_HoldsLock.java: Modify to work around
3104         compiler bug.
3105         * testsuite/libjava.lang/Thread_Interrupt.java: Remove old email 
3106         address. Reduce sleep times. Synchronize with target threads before
3107         attempting to interrupt them. Don't try to calibrate yeild count,
3108         instead, always loop for a fixed time.
3109         * testsuite/libjava.lang/Thread_Join.java: Remove old email address.
3110         * testsuite/libjava.lang/Thread_Monitor.java: Likewise.
3111         * testsuite/libjava.lang/Thread_Wait.java: Likewise.
3112         * testsuite/libjava.lang/Thread_Wait_2.java: Likewise.
3113         * testsuite/libjava.lang/Thread_Wait_Interrupt.java: Likewise.
3114         * testsuite/libjava.lang/pr179.java: Likewise.
3115         * testsuite/libjava.lang/Thread_Sleep.java: Likewise. Reduce sleep
3116         time. Remove upper bounds check on sleep time. 
3117
3118 2004-07-27  Bryce McKinlay  <mckinlay@redhat.com>
3119
3120         * testsuite/libjava.lang/Thread_HoldsLock.java: New test case.
3121         * testsuite/libjava.lang/Thread_HoldsLock.out: New.     
3122
3123 2004-07-27  Bryce McKinlay  <mckinlay@redhat.com>
3124
3125         * java/io/File.java (toURI): Throw RuntimeException, not 
3126         InternalError.
3127         * java/lang/Runtime.java (exit): Qualify static sleep() call with
3128         class name, not instance.
3129
3130 2004-07-24  Bryce McKinlay  <mckinlay@redhat.com>
3131
3132         * Makefile.am: Add gnu/java/security/action/GetPropertyAction.java
3133         and gnu/java/security/action/SetAccessibleAction.java.
3134         * Makefile.in: Rebuilt.
3135
3136 2004-07-23  Bryce McKinlay  <mckinlay@redhat.com>
3137
3138         * prims.cc (_Jv_InitPrimClass): Don't create an array class.
3139         (_Jv_CreateJavaVM): Don't pass array vtable parameter to
3140         _Jv_InitPrimClass.
3141         (DECLARE_PRIM_TYPE): Don't declare array vtables.
3142         * include/jvm.h (struct _Jv_ArrayVTable): Removed.
3143         * java/lang/Class.h (_Jv_InitPrimClass): Update friend declaration.
3144
3145 2004-07-23  Thomas Fitzsimmons  <fitzsim@redhat.com>
3146
3147         * Makefile.am: Replace jar, rmic and rmiregistry references with
3148         gjar, grmic and grmiregistry.
3149         * configure.in: Likewise.
3150         * Makefile.in: Regenerate.
3151         * configure: Likewise.
3152         * gcj/Makefile.in: Likewise.
3153         * include/Makefile.in: Likewise.
3154         * testsuite/Makefile.in: Likewise.
3155
3156 2004-07-23  Bryce McKinlay  <mckinlay@redhat.com>
3157
3158         * gnu/java/net/protocol/http/Connection.java: Use GetPropertyAction
3159         for privileged getProperty calls.
3160         * java/io/ObjectOutputStream.java (getField): No longer static. Use
3161         SetAccessibleAction instead of anonymous class for doPrivileged call.
3162         (getMethod): Likewise.
3163         (setAccessible): New field. PrivilegedAction object to use when
3164         calling setAccessible.
3165         * java/io/ObjectStreamClass.java (calculateOffsets): Use
3166         SetAccessibleAction instead of anonymous class for diPrivileged call.
3167         (setFields): Likewise.
3168         (getClassUID): Likewise.
3169         (findMethod): Likewise.
3170         * gnu/java/security/action/GetPropertyAction.java: New class.
3171         * gnu/java/security/action/SetAccessibleAction.java: New class. 
3172
3173 2004-07-23  Bryce McKinlay  <mckinlay@redhat.com>
3174
3175         * java/io/ObjectStreamField (ObjectStreamField): Don't unset 'toset'
3176         for final fields.
3177         * testsuite/libjava.lang/Serialization.java: New test.
3178         * testsuite/libjava.lang/Serialization.out: New.
3179
3180 2004-07-23  Bryce McKinlay  <mckinlay@redhat.com>
3181
3182         * gnu/java/net/DefaultContentHandlerFactory.java: Check in real file
3183         missed in last commit.
3184
3185 2004-07-23  Mark Wielaard  <mark@klomp.org>
3186
3187         * java/lang/System.java (static): Set http.agent system property when
3188         not yet set.
3189         * gnu/java/net/protocol/http/Connection.java (static): Get httpAgent
3190         from system property inside AccessController.doPrivileged() call.
3191         (proxyPort): Made package private.
3192         (proxyInUse): Likewise.
3193         (proxyHost): Likewise.
3194         (userAgent): Likewise.
3195
3196 2004-07-23  Mark Wielaard  <mark@klomp.org>
3197
3198         * gnu/java/net/DefaultContentHandlerFactory.java: New dummy
3199         implementation.
3200
3201 2004-07-22  Bryce McKinlay  <mckinlay@redhat.com>
3202
3203         * Makefile.am (ordinary_java_source_files): Add
3204         DefaultContentHandlerFactory.java.
3205         * Makefile.in: Rebuilt.
3206         * java/net/URLConnection.java (defaultFactory): New field.
3207         (getContent): 
3208         (getContentHandler): Renamed from 'setContentHandler'. Try 
3209         defaultFactory after user-set factory, if any. Search for content 
3210         handler implementations in gnu.java.net.content, not gnu.gcj.content.
3211         * gnu/java/net/protocol/file/Connection.java (getHeaderField):
3212         Implemented.
3213         (getLastModified): Implemented.
3214         (getPermission): Create file permission here, instead of in
3215         constructor.
3216         * gnu/java/net/protocol/gcjlib/Connection.java (getHeaderField):
3217         Implemented.
3218         * gnu/java/net/protocol/jar/Connection.java (getHeaderField):
3219         Implemented.
3220         (getLastModified): Implemented.
3221         * gnu/java/awt/ClasspathToolkit.java (createImageProducer): New.
3222         Default implementation.
3223         * gnu/java/awt/peer/gtk/GtkToolkit.java (createImageProducer): New.
3224         Implement using GdkPixbufDecoder.
3225         
3226 2004-07-21  Michael Koch  <konqueror@gmx.de>
3227
3228         * javax/swing/JTextArea.java
3229         (setLineWrap): Fire property change event after new value is set.
3230         (setTabSize): Likewise.
3231
3232 2004-07-21  Michael Koch  <konqueror@gmx.de>
3233
3234         * javax/swing/JTable.java
3235         (autoCreateColumnsFromModel): New field.
3236         (autoResizeMode): Likewise.
3237         (cellEditor): Likewise.
3238         (cellSelectionEnabled): Likewise.
3239         (columnModel): Likewise.
3240         (dataModel): Likewise.
3241         (defaultEditorsByColumnClass): Likewise.
3242         (defaultRenderersByColumnClass): Likewise.
3243         (editingColumn): Likewise.
3244         (editingRow): Likewise.
3245         (gridColor): Likewise.
3246         (preferredViewportSize): Likewise.
3247         (rowHeight): Likewise.
3248         (rowMargin): Likewise.
3249         (rowSelectionAllowed): Likewise.
3250         (selectionBackground): Likewise.
3251         (selectionForeground): Likewise.
3252         (selectionModel): Likewise.
3253         (showHorizontalLines): Likewise.
3254         (showVerticalLines): Likewise.
3255         (tableHeader): Likewise.
3256         (JTable): Implemented.
3257         (getColumnModel): Likewise.
3258         (getSelectedRow): Likewise.
3259         (getSelectionModel): Likewise.
3260         (setModel): Likewise.
3261         (setSelectionModel): Likewise.
3262         (createScrollPaneForTable): New method.
3263         (createDefaultDataModel): Likewise.
3264         (createDefaultListSelectionModel): Likewise.
3265         (getModel): Likewise.
3266         (getTableHeader): Likewise.
3267         (setTableHeader): Likewise.
3268         (getColumnSelectionAllowed): Likewise.
3269         (setColumnSelectionAllowed): Likewise.
3270         (getRowSelectionAllowed): Likewise.
3271         (setRowSelectionAllowed): Likewise.
3272         (getAutoResizeMode): Likewise.
3273         (setAutoResizeMode): Likewise.
3274         (getColumnCount): Likewise.
3275         (getRowCount): Likewise.
3276         (getCellRenderer): Likewise.
3277         * javax/swing/JTree.java
3278         (cellRenderer): New field.
3279         (editable): Likewise.
3280         (rootVisible): Likewise.
3281         (showsRootHandles): Likewise.
3282         (getModel): New method.
3283         (setModel): Likewise.
3284         (isEditable): Likewise.
3285         (setEditable): Likewise.
3286         (isRootVisbile): Likewise.
3287         (setRootVisible): Likewise.
3288         (getShowsRootHandles): Likewise.
3289         (setShowRootHandles): Likewise.
3290         (getCellRenderer): Likewise.
3291         (setCellRenderer): Likewise.
3292
3293 2004-07-21  Michael Koch  <konqueror@gmx.de>
3294
3295         * javax/swing/JFormattedTextField.java
3296         (setDocument): Implemented.
3297         * javax/swing/JRootPane.java:
3298         Fixed javadocs.
3299         * javax/swing/JTable.java
3300         (getDefaultRenderer): New method.
3301         * javax/swing/JTextField.java
3302         (setFont): Likewise.
3303         (getPreferredSize): Likewise.
3304         * javax/swing/JToggleButton.java
3305         (getAccessibleContext): Fix javadoc.
3306         * javax/swing/JTree.java:
3307         Add some javadocs.
3308         * javax/swing/JViewport.java:
3309         Likewise.
3310
3311 2004-07-21  David Jee  <djee@redhat.com>
3312
3313         * gnu/java/awt/peer/gtk/GtkFileDialogPeer.java:
3314         Collect all native method declaration at the top.
3315         (create): Set the filename filter if necessary.
3316         (setDirectory): Call nativeSetDirectory().
3317         (setFilenameFilter): Implement.
3318         (filenameFilterCallback): New method.
3319         * jni/gtk-peer/gnu_java_awt_peer_gtk_GtkFileDialogPeer.c
3320         (create): Configure dialog to show hidden files.
3321         (filenameFilterCallback): New function. 
3322         (nativeSetFilenameFilter): New function.
3323         (nativeSetDirectory): New function.
3324
3325 2004-07-21  Kim Ho  <kho@redhat.com>
3326
3327         * javax/swing/plaf/basic/BasicSliderUI.java:
3328         Ran Jalopy.
3329         (paintTrack): Fill the track before painting
3330         the borders.
3331
3332 2004-07-21  Graydon Hoare  <graydon@redhat.com>
3333
3334         patch from Roman Kennke <roman@ontographics.com>
3335         * javax/swing/Spring.java: New file.
3336         * javax/swing/SpringLayout.java: New file.
3337         * Makefile.am: Add new files.
3338         * Makefile.in: Regenerate.
3339
3340 2004-07-21  Graydon Hoare  <graydon@redhat.com>
3341
3342         * javax/swing/plaf/basic/BasicSplitPaneUI.java: Minor layout fixes.
3343         * javax/swing/plaf/basic/BasicTabbedPaneUI.java: Likewise.
3344         * javax/swing/ScrollPaneLayout.java: Likewise.
3345
3346 2004-07-21  Kim Ho  <kho@redhat.com>
3347
3348         * javax/swing/DefaultDesktopManager.java:
3349         (findMinimum): Removed.
3350         (resizeFrame): Trust the UI to pass valid 
3351         bounds.
3352         * javax/swing/JOptionPane.java:
3353         Implemented showInternalXXXDialog methods.
3354         (startModal): New method.
3355         * javax/swing/plaf/basic/BasicInternalFrameUI.java:
3356         (BorderListener::mouseDragged): Verify that the new 
3357         bounds are valid before passing them to the DesktopManager.
3358         (preferredLayoutSize): Delegate
3359         to getSize.
3360         (minimumLayoutSize): Ditto.
3361         (getSize): New method.
3362         (GlassPaneDispatcher): Reimplemented by copying 
3363         a stripped down LightweightDispatcher from Container.
3364         (getMinimumSize): Call minimumLayoutSize.
3365         * javax/swing/plaf/basic/BasicOptionPaneUI.java:
3366         Ran Jalopy.
3367         (mousePressed): Add ability to properly close 
3368         JInternalFrames.
3369         * javax/swing/plaf/basic/BasicToolBarUI.java:
3370         (DragWindow): Set owner for DragWindow.
3371
3372 2004-07-21  Jerry Quinn  <jlquinn@optonline.net>
3373
3374         * java/awt/image/ShortLookupTable.java: New file.
3375         * java/awt/image/ByteLookupTable.java: New file.
3376         * Makefile.am: Added new files.
3377         * Makefile.in: Regenerated.
3378
3379 2004-07-21  David Jee  <djee@redhat.com>
3380
3381         * gnu/java/awt/peer/gtk/GtkFileDialogPeer.java
3382         (create(GtkContainerPeer)): New native method.
3383         (create()): Call native create(), passing in the parent frame
3384         as the paramter. Natively set the current file and directory.
3385         (setFile): Construct an absolute filename before passing it to
3386         the native peer.
3387         (nativeGetDirectory): New method.
3388         * jni/gtk-peer/gnu_java_awt_peer_gtk_GtkFileDialogPeer.c
3389         (window_closed): Removed.
3390         (ok_clicked): Likewise.
3391         (cancel_clicked): Likewise.
3392         (handle_response): New method.
3393         (create): Use GtkFileChooserDialog.
3394         (connectSignals): Connect to handle_response.
3395         (nativeGetDirectory): New method.
3396         (nativeSetFile): Use GtkFileChooserDialog.
3397
3398 2004-07-21  Jerry Quinn  <jlquinn@optonline.net>
3399
3400         * java/awt/image/LookupTable.java: New file.
3401         * Makefile.am: Added new file.
3402         * Makefile.in: Regenerated.
3403
3404 2004-07-21  Jerry Quinn  <jlquinn@optonline.net>
3405
3406         * java/awt/image/Kernel.java: New file.
3407         * Makefile.am: Added new file.
3408         * Makefile.in: Regenerated.
3409
3410 2004-07-21  Olga Rodimina  <rodimina@redhat.com>
3411
3412         * javax/swing/JCheckBoxMenuItem.java: Fixed Javadocs.
3413         * javax/swing/JMenu.java: Likewise.
3414         * javax/swing/JMenuBar.java: Likewise.
3415         (MARGIN_CHANGED_PROPERTY): New property.
3416         (setMargin): Implemented.
3417         * javax/swing/JMenuItem.java: Fixed javadocs.
3418         * javax/swing/JPopupMenuUI.java: Fixed javadocs.
3419         (LABEL_CHANGED_PROPERTY): New property.
3420         (add): changed to use createActionComponent.
3421         (createActionComponent): Implemented.   
3422         (setLabel): Fire PropertyChangeEvent if label property
3423         changes.
3424         * javax/swing/JRadioButtonMenuItem.java: Fixed javadocs.
3425         * javax/swing/plaf/basic/BasicMenuBarUI.java: Likewise.
3426         (ContainerHandler): Repaint if margin property has changed.
3427         * javax/swing/plaf/basic/BasicMenuItemUI.java:
3428         (installUI): Call installComponents().
3429         (uninstallUI): Call uinstallComponents().
3430         * javax/swing/plaf/basic/BasicMenuUI.java:
3431         Fixed javadocs.
3432         * javax/swing/plaf/basic/BasicPopupMenuUI.java:
3433         Likewise.
3434
3435 2004-07-21  Kim Ho  <kho@redhat.com>
3436
3437         * javax/swing/plaf/basic/BasicToolBarUI.java:
3438         (DragWindow): Use the right constructor.
3439
3440 2004-07-21  Kim Ho  <kho@redhat.com>
3441
3442         * javax/swing/JToolBar.java:
3443         (layoutContainer): Use getComponents.
3444         * javax/swing/plaf/basic/BasicToolBarUI.java:
3445         (DragWindow): Don't use SwingUtilities' 
3446         getOwnerFrame
3447         (ToolBarDialog): ditto.
3448
3449 2004-07-21  Kim Ho  <kho@redhat.com>
3450
3451         * javax/swing/JRootPane.java:
3452         Ran jalopy.
3453         (layoutContainer): Set the glasspane's size to 
3454         be the same as the content pane.
3455         (createGlassPane): Set opaque property to false.
3456
3457 2004-07-21  Thomas Fitzsimmons  <fitzsim@redhat.com>
3458
3459         * java/awt/Component.java (requestFocus()): Don't handle Panels
3460         specially.
3461         (requestFocus(boolean)): Likewise.
3462         (requestFocusInWindow(boolean)): Likewise.
3463         * jni/gtk-peer/gnu_java_awt_peer_gtk_GtkPanelPeer.c (create):
3464         Set GTK_CAN_FOCUS flag.
3465
3466 2004-07-21  Kim Ho  <kho@redhat.com>
3467
3468         * Makefile.am: Added new file.
3469         * Makefile.in: Regenerated.
3470         * gcj/Makefile.in: Regenerated.
3471         * include/Makefile.in: Regenerated.
3472         * javax/swing/AbstractButton.java:
3473         Add rollOverEnabled property.
3474         (setRolloverEnabled): Use new property.
3475         (isRolloverEnabled): Use new property.
3476         * javax/swing/JTabbedPane.java:
3477         (setComponent): Remove useless JTabbedPane.this.
3478         * javax/swing/JToolBar.java: Finish implementation.
3479         * javax/swing/plaf/basic/BasicArrowButton.java:
3480         (paint): Moved border painting to a border.
3481         * javax/swing/plaf/basic/BasicLookAndFeel.java:
3482         Change JToolBar look and feel defaults.
3483         * javax/swing/plaf/basic/BasicOptionPaneUI.java
3484         (actionPerformed): Return Integer index instead of name.
3485         (addButtonComponents): Check to see if component is
3486         JButton last.
3487         (createMessageArea): Don't use components that are not
3488         completed yet.
3489         (getIconForType): Use temporary icons.
3490         * javax/swing/plaf/basic/BasicSliderUI.java:
3491         (mousePressed): Do not return if it's on thumb.
3492         (paintMinorTickForHorizSlider): Use BLACK to paint ticks.
3493         (paintMinorTickForVertSlider): ditto.
3494         (paintMajorTickForHorizSlider): ditto.
3495         (paintMajorTickForVertSlider): ditto.
3496         * javax/swing/plaf/basic/BasicSplitPaneDivider.java:
3497         Add a border around the SplitPaneDivider.
3498         * javax/swing/plaf/basic/BasicSplitPaneUI.java:
3499         Remove comments.
3500         * javax/swing/plaf/basic/BasicToolBarSeparatorUI.java:
3501         New file. Implemented.
3502         * javax/swing/plaf/basic/BasicToolBarUI.java:
3503         Implemented.
3504         * testsuite/Makefile.in: Regenerated.
3505
3506 2004-07-21  Graydon Hoare  <graydon@redhat.com>
3507
3508         * javax/swing/Timer.java (run): Queue events each time cycle.
3509
3510 2004-07-21  David Jee  <djee@redhat.com>
3511
3512         * gnu/java/awt/peer/gtk/GtkImagePainter.java
3513         (imageComplete): Call image.imageComplete().
3514         * java/awt/image/MemoryImageSource.java:
3515         Reimplement consumers as a Vector instead of a Hashtable.  This is
3516         because enumeration on a Hashtable is not thread-safe.
3517         (addConsumer): Adapt to Vector consumers.
3518         (isConsumer): Adapt to Vector consumers.
3519         (removeConsumer): Adapt to Vector consumers.
3520         (startProduction): Adapt to Vector consumers. Call imageComplete()
3521         with STATICIMAGEDONE flag instead of SINGLEFRAME flag.
3522         (newPixels): Adapt to Vector consumers.
3523         (sendPicture): Set the color model of the image consumer.
3524         (newPixels(IIII)): Adapt to Vector consumers.
3525         (newPixels(IIIIB)): Adapt to Vector consumers.
3526
3527 2004-07-21  Thomas Fitzsimmons  <fitzsim@redhat.com>
3528
3529         * java/awt/Component.java (deliverEvent): Implement.
3530         (postEvent): Implement.
3531         (handleEvent): Implement.
3532         (translateEvent): New method.
3533         (dispatchEventImpl): Document.  Add AWT 1.0 event handling.
3534         * java/awt/Container.java (deliverEvent): Implement.
3535         * java/awt/Event.java (paramString): Fix formatting.
3536         * java/awt/Font.java (toString): Likewise.
3537         * java/awt/Window.java (postEvent): Implement.
3538
3539 2004-07-21  Thomas Fitzsimmons  <fitzsim@redhat.com>
3540
3541         * java/awt/DefaultKeyboardFocusManager.java (dispatchEvent):
3542         Set window's focus owner upon receiving a FOCUS_LOST event.
3543         * java/awt/Window.java (Window()): Refocus the previously
3544         focused component within the window when the window regains the
3545         top-level focus.
3546         (setFocusOwner): New method.
3547         * java/awt/Component.java (requestFocus): Add FIXME.
3548
3549         * libgcj.pc.in: Remove library flags.
3550
3551 2004-07-21  Thomas Fitzsimmons  <fitzsim@redhat.com>
3552
3553         * gnu/java/awt/peer/gtk/GtkPanelPeer.java (handleEvent): Handle
3554         MOUSE_PRESSED event.
3555         * java/awt/Component.java (requestFocus()): Handle Panel
3556         specially.  Post FOCUS_LOST event on opposite component.
3557         (requestFocus(boolean)): Likewise.
3558         (requestFocusInWindow(boolean)): Likewise.
3559         (paramString): Reorder dimension fields.
3560         * java/awt/Container.java (paramString): Fix string format.
3561         * java/awt/DefaultKeyboardFocusManager.java (dispatchEvent):
3562         Handle FOCUS_LOST events.  Don't handle Windows specially.  Only
3563         process key events if the focus owner is non-null.
3564         (dispatchKeyEvent): Likewise.
3565         * java/awt/Frame.java (paramString): Fix formatting.
3566         (generateName): New method.
3567         (getUniqueLong): Likewise.
3568         * java/awt/KeyboardFocusManager.java (getFocusOwner): Check if
3569         the temporary focus owner is null.  If so, return the permanent
3570         focus owner.
3571         * java/awt/Panel.java (generateName): New method.
3572         (getUniqueLong): Likewise.
3573         * jni/gtk-peer/gnu_java_awt_peer_gtk_GtkWindowPeer.c: Rework
3574         signal handling to make callbacks more specific.
3575
3576 2004-07-21  Michael Koch  <konqueror@gmx.de>
3577
3578         * javax/swing/text/Position.java
3579         (Bias): Implemented.
3580
3581 2004-07-21  Michael Koch  <konqueror@gmx.de>
3582
3583         * javax/swing/LookAndFeel.java
3584         (provideErrorFeedback): New method.
3585
3586 2004-07-21  Michael Koch  <konqueror@gmx.de>
3587
3588         * javax/swing/JTextArea.java
3589         (tabSize): New field.
3590         (getTabSize): New method.
3591         (setTabSize): Likewise.
3592
3593 2004-07-21  Michael Koch  <konqueror@gmx.de>
3594
3595         * javax/swing/ActionMap.java:
3596         Fixed javadocs all over.
3597         (serialVersionUID): Made private.
3598         (parent): Don't explicitely initialize with default value.
3599         (get): SImplified.
3600         (keys): Reimplemented.
3601         (allKeys): Likewise.
3602         (convertSet): Removed.
3603         * javax/swing/ComponentInputMap.java:
3604         Fixed javadocs all over.
3605         (ComponentInputMap): Implemented.
3606         (put): Likewise.
3607         (clear): Likewise.
3608         (remove): Likewise.
3609         (SetParent): Likewise.
3610         (getComponent): Likewise.
3611         * javax/swing/InputMap.java:
3612         Fixed javadocs all over.
3613         (serialVersionUID): Made private.
3614         (parent): Don't explicitely initialize with default value.
3615         (get): SImplified.
3616         (keys): Reimplemented.
3617         (allKeys): Likewise.
3618         (convertSet): Removed.
3619
3620 2004-07-21  Michael Koch  <konqueror@gmx.de>
3621
3622         * javax/swing/ActionMap.java,
3623         javax/swing/ComponentInputMap.java,
3624         javax/swing/InputMap.java,
3625         javax/swing/table/DefaultTableColumnModel.java,
3626         javax/swing/table/TableColumn.java,
3627         javax/swing/table/TableColumnModel.java,
3628         javax/swing/table/TableModel.java,
3629         javax/swing/text/AbstractDocument.java,
3630         javax/swing/text/TextAction.java:
3631         Reformated.
3632
3633 2004-07-21  Graydon Hoare  <graydon@redhat.com>
3634
3635         * gnu/java/awt/peer/gtk/GtkToolkit.java (bufferedImageOrError): 
3636         Make method non-static.
3637         * javax/swing/AbstractButton.java:
3638         Rename fields to match property names where possible.
3639         (iconTextGap): New property.
3640         * javax/swing/JCheckBox.java: Match AbstractButton changes.
3641         (init) New method, call from after various constructors.
3642         * javax/swing/JComponent.java (revalidate): 
3643         Invalidate before queueing repair.
3644         * javax/swing/JList.java (getPreferredScrollableViewportSize):
3645         Reimplement in terms of visibleRowCount property.
3646         * javax/swing/JMenuButton.java: Match AbstractButton changes.
3647         * javax/swing/JScrollPane.java (createScrollListener): 
3648         Remove tracing chatter.
3649         * javax/swing/JToggleButton.java: Match AbstractButton changes.
3650         * javax/swing/RepaintManager.java (addInvalidComponent): 
3651         Don't invalidate.
3652         * javax/swing/ScrollPaneLayout.java: Various corrections to layout
3653         calculations.
3654         * javax/swing/SwingUtilities.java (layoutCompoundLabel): 
3655         Mimic sun behavior on top left/right positioning.
3656         * javax/swing/ViewportLayout.java (preferredLayoutSize):
3657         Remove mistaken use of preferredScrollableViewportSize here.
3658         (layoutContainer): Use view's preferred size as basis.
3659         * javax/swing/plaf/basic/BasicButtonUI.java:
3660         Set, get, and use textIconGap property.
3661         (paint) Paint text returned from layout (with ellipsis).
3662         * javax/swing/plaf/basic/BasicListUI.java:
3663         Remove tracing chatter, correct various minor calculations.
3664         (getCellBounds): Update layout state before calculating.
3665         * javax/swing/plaf/basic/BasicLookAndFeel.java (Button.Margin):
3666         Use margin default similar to sun's.    
3667         * javax/swing/plaf/basic/BasicScrollBarUI.java (ArrowIcon):
3668         (createIncreaseIcon): Center icon, minimize margins.
3669         (createDecreaseIcon): Likewise.
3670         * javax/swing/plaf/basic/BasicScrollPaneUI.java (installDefaults):
3671         Implement.
3672         (installUI): Call it.
3673         (uninstallDefaults): Implement.
3674         (uninstallUI): Call it.
3675         * javax/swing/plaf/basic/BasicToolBarUI.java (DragWindow):
3676         Call existing Window constructor.
3677         * javax/swing/plaf/basic/BasicViewportUI.java (paint):
3678         Set clip before painting.
3679
3680 2004-07-21  Olga Rodimina <rodimina@redhat.com>
3681         
3682         * javax/swing/JMenuItem.java:
3683         (processMouseEvent): Reimplemented to deal with
3684         mouse drag events.
3685         (createMenuDragMouseEvent): New private helper method.
3686         Creates MenuDragMouseEvent.
3687         * javax/swing/MenuSelectionManager.java
3688         (componentForPoint): Implemented.
3689         (isComponentPartOfCurrentMenu): Made public.
3690         (processMouseEvent): Reimplemented to deal with 
3691         mouse drag events.
3692         (setSelectedPath): Corrected small mistake that caused
3693         path to be set incorrectly.
3694         (getPath): If given component is JMenu then also add this
3695         menu's popup menu to the selected path.
3696         * javax/swing/plaf/basic/BasicMenuItemUI.java:
3697         (getPath): Ditto.
3698         (getPreferredSize): Call getPreferredMenuItemSize().
3699         (getPreferredItemSize): Moved code from getPreferredSize to here.
3700         (installListeners): Install MouseMotionListeners.
3701         (MouseInputHandler): Pass mouse release event to MenuSelectionManager 
3702         if mouse wasn't released in the bounds of this menu item.
3703         (MenuDragMouseHandler): Implemented.
3704         * javax/swing/plaf/basic/BasicMenuUI.java:
3705         (installListeners): Install MouseMotionListener and 
3706         MenuDrageMouseListener.
3707         (MenuDragMouseHandler): Implemented.
3708         * javax/swing/plaf/basic/BasicPopupMenuUI.java:
3709         (uninstallListeners): Implemented.
3710         
3711 2004-07-21  Michael Koch  <konqueror@gmx.de>
3712
3713         * javax/swing/JCheckBox.java: Reformated.
3714         (JCheckBox): Fixed all constructors.
3715         (isBorderPaintedFlat): New method.
3716         (setBorderPaintedFlat): New method.
3717         * javax/swing/JEditorPane.java
3718         (createEditorKitForContentType): Made public.
3719         (scrollToReference): Likewise.
3720         * javax/swing/JTextArea.java
3721         (setLineWrap): Fire property change.
3722         * javax/swing/JToggleButton.java
3723         (JToggleButton): New constructor.
3724         (JToggleButton): Simplified.
3725         * javax/swing/text/AttributeSet.java
3726         (FontAttribute): Renamed from FontCharacterAttribute.
3727         * javax/swing/text/JTextComponent.java
3728         (KeyBinBinding): Added javadoc.
3729         (JTextComponent): Likewise.
3730         (getAccessibleContext): Fixed javadoc.
3731         * javax/swing/text/View.java
3732         (View): Added javadoc.
3733         * javax/swing/text/TabableView.java: New file.
3734         * Makefile.am: Added javax/swing/text/TabableView.java.
3735         * Makefile.in: Regenerated.
3736
3737 2004-07-21  Graydon Hoare  <graydon@redhat.com>
3738
3739         * java/awt/image/BufferedImage.java (getSource): Remove tracing chatter.
3740         * gnu/java/awt/peer/gtk/GtkToolkit.java 
3741         (GtkErrorImage): New helper class.
3742         (bufferedImageOrError): New helper method.
3743         (createImage): Use it.
3744
3745 2004-07-21  David Jee  <djee@redhat.com>
3746
3747         * jni/gtk-peer/gnu_java_awt_peer_gtk_GtkTextComponentPeer.c
3748         (setCaretPosition): Scroll the text view so the new caret position
3749         is visible on screen.
3750
3751 2004-07-21  David Jee  <djee@redhat.com>
3752
3753         * gnu/java/awt/peer/gtk/GtkContainerPeer.java
3754         (setBounds): Do not validate awtComponent here.
3755         * gnu/java/awt/peer/gtk/GtkScrollPanePeer.java
3756         (getPreferredSize): New method.
3757         * java/awt/ScrollPane.java
3758         (ScrollPane): Set default size to 100x100.
3759         (addNotify): If child is not a Panel, wrap it with a new Panel.
3760         (paramString): Implement.
3761
3762 2004-07-21  Olga Rodimina  <rodimina@redhat.com>
3763
3764         * javax/swing/JMenu.java:
3765         (setSelected): Display popup menu only if this menu 
3766         is showing on the screen.
3767         * javax/swing/JPopupMenu.java:
3768         (processMouseEvent): Added comment.
3769         (processKeyEvent): Likewise.
3770         * javax/swing/MenuSelectionManager.java:
3771         (clearSelectedPath): Only fireStateChanged() after
3772         selected path was changed, not before.
3773         (setSelectedPath): Likewise.
3774         * javax/swing/plaf/basic/BasicMenuItemUI.java:
3775         (paintMenuItem): Corrected position of menu item's
3776         icon.
3777         * javax/swing/plaf/basic/BasicPopupMenuUI.java:
3778         (installUI): Correct setDefaultLightWeightPopupEnabled call.
3779         (popupMenuCanceled): Reimplemented.
3780         (popupMenuWillBecomeVisible): Select first menu item by default 
3781         when displaying free floating popup menus.
3782         (TopWindowListener): Reimplemented.
3783
3784 2004-07-21  Thomas Fitzsimmons  <fitzsim@redhat.com>
3785
3786         * java/awt/Panel.java (dispatchEventImpl): Override to prevent
3787         Panel from being painted twice when it is first shown.
3788
3789 2004-07-21  Olga Rodimina  <rodimina@redhat.com>
3790
3791         * java/awt/Window.java: Reverted changes from my 
3792         previous patch for creating window without an owner.
3793         * javax/swing/SwingUtilities.java: 
3794         (SwingUtilities.OwnerFrame): made static.
3795         (OwnerFrame.setVisible): New method. Overridden with
3796         empty implementation.
3797         (OwnerFrame.isShowing): New method. Ovverridden
3798         to return always true.
3799
3800 2004-07-21  Thomas Fitzsimmons  <fitzsim@redhat.com>
3801
3802         * gnu/java/awt/peer/gtk/GtkComponentPeer.java,
3803         jni/gtk-peer/gnu_java_awt_peer_gtk_GtkComponentPeer.c
3804         (GtkComponentPeer): Remove temporary try/catch block.
3805         (setVisible): Call show and hide.
3806         (show): Make native.
3807         (hide): Likewise.
3808         (getArgs): Don't add "visible" argument.
3809         * jni/gtk-peer/gnu_java_awt_peer_gtk_GtkWindowPeer.c
3810         (property_notify_predicate): Return Bool instead of int.
3811         (find_layout): New function.
3812         (connectJObject): Call find_layout.
3813         (connectSignals): Likewise.
3814         (moveLayout): Likewise.
3815         (gtkLayoutSetVisible): Likewise.
3816
3817 2004-07-21  Mark Wielaard  <mark@klomp.org>
3818
3819         * java/awt/event/InvocationEvent.java (dispatch): Synchronize
3820         on notifier object before calling notifyAll().
3821
3822 2004-07-21  Olga Rodimina  <rodimina@redhat.com>
3823
3824         * java/awt/Window.java: Changed constructors to use new
3825         method that is described below. Constructors call this
3826         methods only if newly created window should have an owner.
3827         (setWindowOwner): New method. Implementation for
3828         this method is moved from this(owner,configuration).
3829         * javax/swing/JWindow.java:
3830         (JWindow): Reimplement to use SwingUtilities.ownerFrame
3831         instead of owner.
3832         * javax/swing/SwingUtilities.java:
3833         (ownerFrame): Change type of this field to OwnerFrame.
3834         (getOwnerFrame): Changed to return object of type OwnerFrame.
3835         (SwingUtilities.OwnerFrame): New class. Represents owner
3836         of a Window that is not provided with one.
3837
3838 2004-07-21  Olga Rodimina  <rodimina@redhat.com>
3839
3840         *  javax/swing/AbstractButton.java: 
3841         (configurePropertiesFromAction): Set action command
3842         to button's text by default if action command is not 
3843         explicitely specified.
3844         * javax/swing/JMenu.java: Remove unnecessary listener
3845         and methods relevant to it.
3846         (setSelected): Reimplemented.
3847         (menuSelectionChanged): Moved most part of implementation to
3848         setSelected() and call it instead.
3849         * javax/swing/JMenuItem.java: 
3850         (init): Comment out statement that sets paint_border to false.
3851         (configurePropertiesFromAction): Do not set accelerator
3852         for JMenu.
3853         (menuSelectionChanged): Change selected index in the selection
3854         model of menu item's parent.
3855         * javax/swing/JPopupMenu.java:
3856         (remove): Set constraints.fill field to GridBagConstraints.BOTH
3857         instead of GridBagConstraints.HORIZONTAL.
3858         (insert): Likewise.
3859         (createActionChangeListener): Implemented.
3860         (setVisible): Correct location of HeavyWeightMenu and 
3861         don't firePopupMenuCanceled().
3862         (menuSelectionChanged): Implemented.
3863         (ActionChangeListener): New Listener. Implemented.
3864         * javax/swing/plaf/basic/BasicMenuBarUI.java:
3865         (BasicMenuBarUI.ContainerHandler): Implemented.
3866         * javax/swing/plaf/basic/BasicMenuItemUI.java:
3867         (paintMenuItem): Uncommented out code that paints 
3868         icon, now that icons are working properly.
3869         (PropertyChangeListener): Implemented.
3870         * javax/swing/plaf/basic/BasicPopupMenuUI.java:
3871         Added javadocs.
3872         (topWindowListener): New field.
3873         (Constructor): initialize topWindowListener.
3874         (BasicPopupMenuUI.TopWindowListener): Implemented.      
3875         (BasicPopupMenuUI.PopupMenuHandler): Implemented.
3876         (BasicPopupMenuUI.TopWindowListener): New ComponentListener.
3877         Implemented.
3878
3879 2004-07-21  Michael Koch  <konqueror@gmx.de>
3880
3881         * javax/swing/plaf/basic/BasicButtonUI.java
3882         (paintFocus): Fixed method signature.
3883         (paintButtonPressed): Likewise.
3884         (paintButtonNormal): Likewise.
3885         (paintText): New method.
3886         * javax/swing/plaf/basic/BasicLabelUI.java
3887         (paint): Re-indented.
3888         * javax/swing/plaf/basic/BasicTextUI.java
3889         (installUI): Set parent textComponent to opaque.
3890         * javax/swing/text/DefaultHighlighter.java
3891         (checkPositions): New helper method.
3892         (addHighlight): Throws BadLocationException, check positions.
3893         (changeHighlight): Likewise.
3894         * javax/swing/text/EditorKit.java
3895         (EditorKit): Implements Serializable.
3896         * javax/swing/text/JTextComponent.java
3897         (getUI): Added javadoc.
3898         (setUI): Likewise.
3899         (upadteUI): Added javadoc, don't revalidate and repaint.
3900
3901 2004-07-21  David Jee  <djee@redhat.com>
3902
3903         * java/awt/GridBagLayout.java
3904         (ArrangeGrid): Use PREFERREDSIZE instead of MINSIZE.
3905         * javax/swing/AbstractButton.java
3906         (setText): Reindent.
3907         * javax/swing/RepaintManager.java
3908         (addInvalidComponent): Find the first ancestor that isValidateRoot().
3909
3910 2004-07-21  Michael Koch  <konqueror@gmx.de>
3911
3912         * javax/swing/JFormattedTextField.java
3913         (value): New field.
3914         (JFormattedTextField): Implemented.
3915         (getValue): Likewise.
3916         (setValue): Likewise.
3917         * javax/swing/LookAndFeel.java
3918         (getSupportsWindowDecorations): New method.
3919         * javax/swing/UIDefaults.java:
3920         Use java.beans.PropertyChangeSupport instead of doing all ourself.
3921         (addPropertyChangeListener): Made public.
3922         (addResourceBundle): Likewise.
3923         (removeResourceBundle): Likewise.
3924         (setDefaultLocale): Likewise.
3925         * javax/swing/plaf/basic/BasicRootPaneUI.java
3926         (BasicRootPaneUI): Implements PropertyChangeListener.
3927         (propertyChange): New method.
3928         * javax/swing/plaf/basic/BasicTextUI.java
3929         (BasicHighlighter): New inner class.
3930         (createHighlighter): New method.
3931         * javax/swing/plaf/basic/BasicToolBarUI.java
3932         (DragWindow): Extends java.awt.Window.
3933         * javax/swing/text/JTextComponent.java
3934         (getDocument): Removed debug output.
3935         * javax/swing/plaf/basic/BasicTextFieldUI.java,
3936         javax/swing/text/DefaultHighlighter.java,
3937         javax/swing/text/FieldView.java,
3938         javax/swing/text/PlainView.java: New files.
3939         * Makefile.am: Added new files.
3940         * Makefile.in: Regenerated.
3941
3942 2004-07-21  Michael Koch  <konqueror@gmx.de>
3943
3944         * javax/swing/JEditorPane.java
3945         (createDefaultEditorKit): Use javax.swing.text.DefaultEditorKit.
3946         (createEditorKitForContentType): Likewise.
3947         * javax/swing/text/DefaultEditorKit.java
3948         (serialVersionUID): Added constant field.
3949         (EndOfLineStringPropery): Fixed typo.
3950         (DefaultEditorKit): New constructor.
3951         * javax/swing/text/Segment.java:
3952         Import java.text.CharacterIterator.
3953         * javax/swing/text/CharacterIterator.java,
3954         javax/swing/text/PlainEditorKit.java: Removed.
3955         * Makefile.am: Removed javax/swing/text/CharacterIterator.java and
3956         javax/swing/text/PlainEditorKit.java.
3957         * Makefile.in: Regenerated.
3958
3959 2004-07-21  Michael Koch  <konqueror@gmx.de>
3960
3961         * javax/swing/JButton.java,
3962         javax/swing/text/DefaultEditorKit.java,
3963         javax/swing/text/EditorKit.java,
3964         javax/swing/text/Segment.java,
3965         javax/swing/text/StyledEditorKit.java:
3966         Reformatted.
3967
3968 2004-07-21  Michael Koch  <konqueror@gmx.de>
3969
3970         * javax/swing/ImageIcon.java
3971         (file): Removed.
3972         (description): Renamed from descr.
3973         (ImageIcon): Added missing constructors.
3974         (setParent): Removed.
3975         (setImageObserver): New method.
3976         (getImageObserver): New method.
3977         (paintIcon): Handle observer = null.
3978         * javax/swing/JButton.java
3979         (removeNotify): Fixed javadoc.
3980         (updateUI): Simplified.
3981         * javax/swing/JRootPane.java
3982         (serialVersionUID): New constant field.
3983         * javax/swing/UIManager.java:
3984         Fixed javadocs all over.
3985         (setLookAndFeel): Throws UnsupportedLookAndFeelException.
3986         * javax/swing/text/AbstractDocument.java
3987         (createPosition): Throws BadLocationException.
3988         (getText): Likewise.
3989         (remove): Likewise.
3990         * javax/swing/text/ComponentView.java
3991         (modelToView): Likewise.
3992         * javax/swing/text/DefaultEditorKit.java:
3993         Made all public methods public.
3994         (read): Throws BadLocationException and IOException.
3995         (write): Likewise.
3996         * javax/swing/text/EditorKit.java:
3997         Made all public methods public.
3998         (serialVersionUID): New constant field.
3999         (clone): New method.
4000         (read): Throws BadLocationException and IOException.
4001         (write): Likewise.
4002         * javax/swing/text/Segment.java
4003         (array): Made public.
4004         (count): Likewise.
4005         (offset): Likewise.
4006         (Segment): New constructors.
4007         (clone): Reimplemented.
4008         * javax/swing/text/StyledEditorKit.java
4009         (serialVersionUID): New constant field.
4010
4011 2004-07-21  Graydon Hoare  <graydon@redhat.com>
4012
4013         * java/awt/image/BufferedImage.java 
4014         (getSource): Implement.
4015         * javax/swing/ImageIcon.java 
4016         (ImageIcon): Implement ctor.
4017         * javax/swing/ScrollPaneLayout.java 
4018         (preferredLayoutSize): Be more careful about nulls.
4019
4020 2004-07-21  Michael Koch  <konqueror@gmx.de>
4021
4022         * javax/swing/text/AttributeSet.java
4023         (CharacterAttribute): New interface
4024         (ColorAttribute): Likewise.
4025         (FontCharacterAttribute): Likewise.
4026         (ParagraphAttribute): Likewise.
4027         * javax/swing/text/DefaultCaret.java
4028         (moveCaret): New method.
4029         (positionCaret): Likewise.
4030         (repaint): Made protected.
4031         * javax/swing/text/JTextComponent.java
4032         (KeyBinding): Made it static.
4033         * javax/swing/text/View.java
4034         (getContainer): Honor parent == null.
4035
4036 2004-07-21  Michael Koch  <konqueror@gmx.de>
4037
4038         * javax/swing/text/AbstractDocument.java:
4039         Reformatted.
4040
4041 2004-07-21  Michael Koch  <konqueror@gmx.de>
4042
4043         * javax/swing/plaf/basic/BasicRootPaneUI.java:
4044         Import javax.swing.UIManager explicitely.
4045         * javax/swing/plaf/basic/BasicTabbedPaneUI.java
4046         (ScrollingButton): Made it static.
4047
4048 2004-07-21  Michael Koch  <konqueror@gmx.de>
4049
4050         * javax/swing/UIDefaults.java
4051         (ActiveValue): Made public.
4052         (LazyValue): Likewise.
4053         * javax/swing/plaf/basic/BasicTextUI.java
4054         (RootView): Reintroduced.
4055         (view): Removed.