2004-11-06 Mattias Rehnberg <Mattias.Rehnberg@home.se>
[official-gcc.git] / libjava / ChangeLog
blob06fb5bd1df5805fc28e3bad401384b6a66afbba4
1 2004-11-06  Mattias Rehnberg  <Mattias.Rehnberg@home.se>
3         * java/io/Vector.java
4         (writeObject): New function to serialized output thread safe.
6         * java/io/ObjectOutputStream.java
7         (writeObject): Move the assignment of the class handle to after
8         the assignment of class descriptor handle.
10 2004-11-06  Robert Schuster <thebohemian@gmx.net>
12         Fixes documentation and indentation
13         * java/beans/PropertyEditorSupport.java:
14         reworked initial API doc
15         (value): changed name from val
17 2004-11-06  Robert Schuster <thebohemian@gmx.net>
19         Updates to 1.5
20         * java/beans/PropertyEditorSupport.java
21         (PropertyEditorSupport()): Changed modifier to public
22         (PropertyEditorSupport(Object): Changed modifier to public
23         (setSource): New method
24         (getSource): New method
26 2004-11-06  Robert Schuster <thebohemian@gmx.net>
28         Fixes bug #10799
29         * java/beans/PropertyEditorSupport.java
30         (setValue): Fire property change event
32 2004-11-03  Tom Tromey  <tromey@redhat.com>
34         * jni.cc (_Jv_JNI_NewObjectArray): Fixed return type.
35         * include/jni.h (struct JNINativeInterface) <NewObjectArray>: Now
36         returns jobjectArray.
37         (_Jv_JNIEnv::NewObjectArray): Likewise.
39 2004-11-01  Tom Tromey  <tromey@redhat.com>
41         * verify.cc (state::check_no_uninitialized_objects): Removed.
42         (push_jump): Updated.
43         (push_exception_jump): Likewise.
44         (handle_ret_insn): Likewise.
45         (handle_jsr_insn): Likewise.
47 2004-10-30  Mark Wielaard  <mark@klomp.org>
49         PR libgcj/18234
50         * java/lang/Runtime.java (static): Call init().
51         (Runtime): Remove call to init().
52         (init): Make static.
54 2004-10-28  David Daney  <ddaney@avtrex.com>
56         * gnu/gcj/convert/Output_UnicodeLittleUnmarked.java: New file.
57         * Makefile.am: Build it.
58         * Makefile.in: Regenerate.
60 2004-10-27  Aaron W. LaFramboise  <aaronavay62@aaronwl.com>
62         PR libgcj/18104
63         * Makefile.am (CLASSPATH_SEPARATOR): Use instead of a 
64         colon.
65         * Makefile.in: Regenerate.
66         * configure: Regenerate.
67         * configure.ac (CLASSPATH_SEPARATOR): Define.
68         * gcj/Makefile.in: Regenerate.
69         * include/Makefile.in: Regenerate.
70         * testsuite/Makefile.in: Regenerate.
71         * testsuite/lib/libjava.exp (libjava_arguments): Fix
72         CLASSPATH separator handling for Windows.
74 2004-10-26  Michael Koch  <konqueror@gmx.de>
76         * gnu/java/net/protocol/http/Connection.java
77         (getOutputStream): Implicitely switch to POST method.
79 2004-10-26  Kriang Lerdsuwanakij  <lerdsuwa@users.sourceforge.net>
81         * libjava/java/lang/Class.h
82         (java::lang::Class): Correct friend class declaration.
84 2004-10-25  Geoffrey Keating  <geoffk@apple.com>
86         * Makefile.am (DARWIN_CRT_SRC): New.
87         (libgcj_la_SOURCES): Use it.
88         * configure.ac: Define USING_DARWIN_CRT when on Darwin.
89         * darwin.cc: New file.
90         * include/jvm.h (_Jv_RegisterClasses): Constify.
91         (_Jv_RegisterClasses_Counted): New prototype.
92         * java/lang/Class.h: Include stddef.h.  
93         (_Jv_RegisterClasses): Constify.
94         (_Jv_RegisterClasses_Counted): New prototype.
95         (Object): Make '_Jv_RegisterClasses_Counted' a friend.
96         * java/lang/natClassLoader.cc (_Jv_RegisterClasses): Constify.
97         (_Jv_RegisterClasses_Counted): New function.
98         * configure: Regenerate.
99         * Makefile.in: Regenerate.
100         * gcj/Makefile.in: Regenerate.
101         * include/Makefile.in: Regenerate.
102         * testsuite/Makefile.in: Regenerate.
104 2004-10-25  Tom Tromey  <tromey@redhat.com>
106         * java/util/ResourceBundle.java (tryBundle): Use
107         Class.isAssignableFrom rather than catching ClassCastException.
109 2004-10-25  Tom Tromey  <tromey@redhat.com>
111         * gnu/java/text/WordBreakIterator.java (WordBreakIterator): Don't
112         initialize `iter'.
113         * gnu/java/text/SentenceBreakIterator.java
114         (SentenceBreakIterator): Don't initialize `iter'.
115         * gnu/java/text/LineBreakIterator.java (LineBreakIterator): Don't
116         initialize `iter'.
117         * gnu/java/text/CharacterBreakIterator.java
118         (CharacterBreakIterator): Don't initialize `iter'.
119         * gnu/java/text/BaseBreakIterator.java (BaseBreakIterator): New
120         constructor.
121         * java/text/BreakIterator.java: Updated documentation.
123 2004-10-25  Eric Botcazou  <ebotcazou@libertysurf.fr>
125         PR other/18138
126         * testsuite/lib/libjava.exp: Accept more than one multilib libgcc.
128 2004-10-23  Michael Koch  <konqueror@gmx.de>
130         * javax/print/DocFlavor.java,
131         javax/print/attribute/standard/JobStateReason.java,
132         javax/print/attribute/standard/MultipleDocumentHandling.java:
133         Added missing constants.
135 2004-10-22  Tom Tromey  <tromey@redhat.com>
137         * gnu/java/net/protocol/http/Connection.java (sendRequest): Fix
138         typo.
140 2004-10-22  Michael Koch  <konqueror@gmx.de>
142         PR libjava/14009
143         * gnu/java/net/protocol/http/Connection.java
144         (sendRequest): Handle case when url.getFile() returns an empty string.
146 2004-10-22  Michael Koch  <konqueror@gmx.de>
148         * java/lang/Math.java,
149         java/lang/StackTraceElement.java,
150         java/nio/Buffer.java,
151         java/nio/ByteBuffer.java,
152         java/nio/CharBuffer.java,
153         java/nio/DoubleBuffer.java,
154         java/nio/FloatBuffer.java,
155         java/nio/IntBuffer.java,
156         java/nio/LongBuffer.java,
157         java/nio/ShortBuffer.java,
158         java/nio/charset/Charset.java,
159         java/rmi/server/RMIClassLoader.java,
160         java/rmi/server/RMISocketFactory.java,
161         java/security/Policy.java,
162         java/text/ChoiceFormat.java,
163         java/text/CollationElementIterator.java,
164         java/text/DateFormat.java,
165         java/text/DecimalFormat.java,
166         java/text/DecimalFormatSymbols.java,
167         java/text/MessageFormat.java,
168         java/text/NumberFormat.java,
169         java/text/RuleBasedCollator.java,
170         java/text/SimpleDateFormat.java,
171         java/util/BitSet.java,
172         java/util/Calendar.java,
173         java/util/Collections.java,
174         java/util/IdentityHashMap.java,
175         java/util/Locale.java,
176         java/util/TreeMap.java,
177         java/util/logging/LogRecord.java,
178         java/util/logging/XMLFormatter.java,
179         java/util/prefs/AbstractPreferences.java,
180         java/util/prefs/Preferences.java,
181         javax/crypto/interfaces/DHPrivateKey.java,
182         javax/crypto/interfaces/DHPublicKey.java,
183         javax/crypto/interfaces/PBEKey.java,
184         javax/net/ssl/HandshakeCompletedEvent.java,
185         javax/security/auth/Subject.java:
186         Removed redundant and reordered modifiers.
188 2004-10-22  Ulrich Weigand  <uweigand@de.ibm.com>
190         * gnu/java/net/natPlainSocketImplPosix.cc
191         (gnu::java::net::PlainSocketImpl::available): Call FIONREAD ioctl
192         with 'int *' argument instead of 'long *'.
194 2004-10-21  Michael Koch  <konqueror@gmx.de>
196         * java/net/NetworkInterface.java,
197         java/text/Format.java,
198         javax/security/auth/x500/X500Principal.java,
199         javax/security/auth/x500/X500PrivateCredential.java,
200         javax/security/cert/X509CertBridge.java,
201         javax/security/sasl/Sasl.java,
202         javax/sql/XAConnection.java:
203         Import cleanup.
205 2004-10-21  Michael Koch  <konqueror@gmx.de>
207         * javax/net/ssl/HandshakeCompletedEvent.java,
208         javax/net/ssl/KeyManagerFactory.java,
209         javax/net/ssl/SSLContext.java,
210         javax/net/ssl/SSLServerSocketFactory.java,
211         javax/net/ssl/SSLSession.java,
212         javax/net/ssl/SSLSocketFactory.java,
213         javax/net/ssl/TrustManagerFactory.java:
214         Import cleanup.
216 2004-10-21  Michael Koch  <konqueror@gmx.de>
218         * javax/naming/directory/BasicAttribute.java,
219         javax/naming/directory/BasicAttributes.java,
220         javax/naming/directory/InitialDirContext.java,
221         javax/naming/event/NamingEvent.java,
222         javax/naming/ldap/ControlFactory.java,
223         javax/naming/ldap/ExtendedRequest.java,
224         javax/naming/ldap/InitialLdapContext.java,
225         javax/naming/ldap/LdapReferralException.java,
226         javax/naming/spi/DirObjectFactory.java,
227         javax/naming/spi/DirStateFactory.java,
228         javax/naming/spi/DirectoryManager.java,
229         javax/naming/spi/InitialContextFactory.java,
230         javax/naming/spi/InitialContextFactoryBuilder.java,
231         javax/naming/spi/NamingManager.java,
232         javax/naming/spi/ObjectFactory.java,
233         javax/naming/spi/ObjectFactoryBuilder.java,
234         javax/naming/spi/StateFactory.java:
235         Import cleanup.
237 2004-10-21  Michael Koch  <konqueror@gmx.de>
239         * javax/crypto/Cipher.java,
240         javax/crypto/EncryptedPrivateKeyInfo.java,
241         javax/crypto/ExemptionMechanism.java,
242         javax/crypto/KeyAgreement.java,
243         javax/crypto/KeyGenerator.java,
244         javax/crypto/Mac.java,
245         javax/crypto/SecretKeyFactory.java,
246         javax/crypto/SecretKeyFactorySpi.java,
247         javax/crypto/spec/SecretKeySpec.java:
248         Import cleanup.
250 2004-10-21  Michael Koch  <konqueror@gmx.de>
252         * java/security/AlgorithmParameterGenerator.java,
253         java/security/AlgorithmParameters.java,
254         java/security/AlgorithmParametersSpi.java,
255         java/security/AllPermission.java,
256         java/security/BasicPermission.java,
257         java/security/Certificate.java,
258         java/security/CodeSource.java,
259         java/security/DigestInputStream.java,
260         java/security/DigestOutputStream.java,
261         java/security/GuardedObject.java,
262         java/security/KeyFactory.java,
263         java/security/KeyFactorySpi.java,
264         java/security/KeyPairGenerator.java,
265         java/security/KeyStore.java,
266         java/security/KeyStoreSpi.java,
267         java/security/Permissions.java,
268         java/security/Security.java,
269         java/security/Signature.java,
270         java/security/UnresolvedPermission.java,
271         java/security/cert/CertPathBuilder.java,
272         java/security/cert/CertPathValidator.java,
273         java/security/cert/CertStore.java,
274         java/security/cert/Certificate.java,
275         java/security/cert/CertificateFactory.java,
276         java/security/cert/PolicyQualifierInfo.java,
277         java/security/cert/TrustAnchor.java,
278         java/security/cert/X509CRL.java,
279         java/security/cert/X509CRLSelector.java,
280         java/security/cert/X509CertSelector.java:
281         Import cleanup.
283 2004-10-21  Michael Koch  <konqueror@gmx.de>
285         * java/rmi/MarshalledObject.java,
286         java/rmi/Naming.java,
287         java/rmi/activation/Activatable.java,
288         java/rmi/activation/ActivationGroup.java,
289         java/rmi/activation/ActivationGroupDesc.java,
290         java/rmi/activation/ActivationInstantiator.java,
291         java/rmi/activation/ActivationMonitor.java,
292         java/rmi/activation/ActivationSystem.java,
293         java/rmi/activation/Activator.java,
294         java/rmi/registry/LocateRegistry.java,
295         java/rmi/registry/Registry.java,
296         java/rmi/server/LogStream.java,
297         java/rmi/server/ObjID.java,
298         java/rmi/server/RMIClientSocketFactory.java,
299         java/rmi/server/RMIServerSocketFactory.java,
300         java/rmi/server/RMISocketFactory.java,
301         java/rmi/server/RemoteCall.java,
302         java/rmi/server/RemoteServer.java,
303         java/rmi/server/ServerRef.java,
304         java/rmi/server/UID.java,
305         java/rmi/server/UnicastRemoteObject.java:
306         Import cleanup.
308 2004-10-21  Tom Tromey  <tromey@redhat.com>
310         * java/util/zip/InflaterInputStream.java (fill): Don't throw an
311         exception if we hit EOF of `in'.
312         (read): Handle case where inflating returns -1.
314 2004-10-21  Ulrich Weigand  <uweigand@de.ibm.com>
316         * gnu/java/nio/channels/natFileChannelPosix.cc
317         (FileChannelImpl::available): Call FIONREAD ioctl with 'int *'
318         argument instead of 'long *'.
320 2004-10-21  Tom Tromey  <tromey@redhat.com>
322         * java/util/ResourceBundle.java (tryBundle): Also ignore
323         ClassCastException.
325 2004-10-21  Kaz Kojima  <kkojima@gcc.gnu.org>
327         * configure.ac (SIGNAL_HANDLER): Set to include/sh-signal.h
328         for all sh*-*-linux* targets.
329         * configure: Regenerate.
330         * include/sh-signal.h: New file.
332 2004-10-21  Kazuhiro Inaoka  <inaoka.kazuhiro@renesas.com>
334         * java/lang/ieeefp.h: Add m32r support.
336 2004-10-20  Andreas Schwab  <schwab@suse.de>
338         * java/lang/natClass.cc (_Jv_LayoutVTableMethods): Cast pointers
339         to uaddr, not int.
340         * java/lang/natClassLoader.cc (_Jv_PrepareCompiledClass):
341         Likewise.
343 2004-10-20  Michael Koch  <konqueror@gmx.de>
345         * javax/print/attribute/standard/ColorSupported.java,
346         javax/print/attribute/standard/Compression.java,
347         javax/print/attribute/standard/Copies.java,
348         javax/print/attribute/standard/CopiesSupported.java,
349         javax/print/attribute/standard/DateTimeAtCompleted.java,
350         javax/print/attribute/standard/DateTimeAtCreation.java,
351         javax/print/attribute/standard/DateTimeAtProcessing.java,
352         javax/print/attribute/standard/DocumentName.java,
353         javax/print/attribute/standard/Fidelity.java,
354         javax/print/attribute/standard/Finishings.java,
355         javax/print/attribute/standard/JobHoldUntil.java,
356         javax/print/attribute/standard/JobImpressions.java,
357         javax/print/attribute/standard/JobImpressionsCompleted.java,
358         javax/print/attribute/standard/JobImpressionsSupported.java,
359         javax/print/attribute/standard/JobKOctets.java,
360         javax/print/attribute/standard/JobKOctetsProcessed.java,
361         javax/print/attribute/standard/JobKOctetsSupported.java,
362         javax/print/attribute/standard/JobMediaSheets.java,
363         javax/print/attribute/standard/JobMediaSheetsCompleted.java,
364         javax/print/attribute/standard/JobMediaSheetsSupported.java,
365         javax/print/attribute/standard/JobMessageFromOperator.java,
366         javax/print/attribute/standard/JobName.java,
367         javax/print/attribute/standard/JobOriginatingUserName.java,
368         javax/print/attribute/standard/JobPriority.java,
369         javax/print/attribute/standard/JobPrioritySupported.java,
370         javax/print/attribute/standard/JobSheets.java,
371         javax/print/attribute/standard/JobState.java,
372         javax/print/attribute/standard/JobStateReason.java,
373         javax/print/attribute/standard/JobStateReasons.java,
374         javax/print/attribute/standard/Media.java,
375         javax/print/attribute/standard/MultipleDocumentHandling.java,
376         javax/print/attribute/standard/NumberOfDocuments.java,
377         javax/print/attribute/standard/NumberOfInterveningJobs.java,
378         javax/print/attribute/standard/NumberUp.java,
379         javax/print/attribute/standard/NumberUpSupported.java,
380         javax/print/attribute/standard/OrientationRequested.java,
381         javax/print/attribute/standard/OutputDeviceAssigned.java,
382         javax/print/attribute/standard/PDLOverrideSupported.java,
383         javax/print/attribute/standard/PageRanges.java,
384         javax/print/attribute/standard/PagesPerMinute.java,
385         javax/print/attribute/standard/PagesPerMinuteColor.java,
386         javax/print/attribute/standard/PrintQuality.java,
387         javax/print/attribute/standard/PrinterInfo.java,
388         javax/print/attribute/standard/PrinterIsAcceptingJobs.java,
389         javax/print/attribute/standard/PrinterLocation.java,
390         javax/print/attribute/standard/PrinterMakeAndModel.java,
391         javax/print/attribute/standard/PrinterMessageFromOperator.java,
392         javax/print/attribute/standard/PrinterMoreInfo.java,
393         javax/print/attribute/standard/PrinterMoreInfoManufacturer.java,
394         javax/print/attribute/standard/PrinterName.java,
395         javax/print/attribute/standard/PrinterStateReason.java,
396         javax/print/attribute/standard/PrinterStateReasons.java,
397         javax/print/attribute/standard/PrinterURI.java,
398         javax/print/attribute/standard/ReferenceUriSchemesSupported.java,
399         javax/print/attribute/standard/RequestingUserName.java:
400         Reorganized imports and removed redundant final modifiers.
402 2004-10-20  Michael Koch  <konqueror@gmx.de>
404         * javax/security/sasl/SaslClient.java,
405         javax/security/sasl/SaslClientFactory.java,
406         javax/security/sasl/SaslException.java,
407         javax/security/sasl/SaslServer.java,
408         javax/security/sasl/SaslServerFactory.java:
409         Remvoed CVS tags.
411 2004-10-20  Michael Koch  <konqueror@gmx.de>
413         * javax/security/auth/login/NullConfiguration.java,
414         javax/security/auth/x500/X500Principal.java,
415         javax/security/cert/X509Certificate.java,
416         javax/security/sasl/AuthenticationException.java,
417         javax/security/sasl/AuthorizeCallback.java,
418         javax/security/sasl/RealmCallback.java,
419         javax/security/sasl/RealmChoiceCallback.java,
420         javax/security/sasl/Sasl.java,
421         javax/security/sasl/SaslClient.java,
422         javax/security/sasl/SaslClientFactory.java,
423         javax/security/sasl/SaslException.java,
424         javax/security/sasl/SaslServer.java,
425         javax/security/sasl/SaslServerFactory.java:
426         Cleaned up import statements and copyright notices.
428 2004-10-20  Michael Koch  <konqueror@gmx.de>
430         * gnu/java/rmi/rmic/RMIC.java: Reformatted.
432 2004-10-20  Michael Koch  <konqueror@gmx.de>
434         * java/sql/Timestamp.java,
435         java/text/AttributedCharacterIterator.java,
436         java/text/AttributedString.java,
437         java/util/zip/CheckedOutputStream.java,
438         java/util/zip/DeflaterOutputStream.java,
439         java/util/zip/ZipFile.java,
440         javax/crypto/Cipher.java,
441         javax/crypto/ExemptionMechanismException.java,
442         javax/crypto/SecretKey.java,
443         javax/crypto/SecretKeyFactory.java,
444         javax/naming/directory/ModificationItem.java,
445         javax/naming/directory/SearchControls.java,
446         javax/naming/event/NamingListener.java,
447         javax/naming/ldap/Control.java,
448         javax/naming/ldap/ExtendedResponse.java,
449         javax/net/ssl/SSLSocketFactory.java:
450         Reorganized imports and fixed copyright headers.
452 2004-10-20  Michael Koch  <konqueror@gmx.de>
454         * java/util/logging/ConsoleHandler.java,
455         java/util/logging/ErrorManager.java,
456         java/util/logging/FileHandler.java,
457         java/util/logging/Filter.java,
458         java/util/logging/Formatter.java,
459         java/util/logging/Handler.java,
460         java/util/logging/Level.java,
461         java/util/logging/LogManager.java,
462         java/util/logging/LogRecord.java,
463         java/util/logging/Logger.java,
464         java/util/logging/LoggingPermission.java,
465         java/util/logging/MemoryHandler.java,
466         java/util/logging/SimpleFormatter.java,
467         java/util/logging/SocketHandler.java,
468         java/util/logging/StreamHandler.java,
469         java/util/logging/XMLFormatter.java:
470         Standardized copyrigth header.
472 2004-10-20  Michael Koch  <konqueror@gmx.de>
474         * java/security/AlgorithmParameterGenerator.java,
475         java/security/AlgorithmParameters.java,
476         java/security/DigestInputStream.java,
477         java/security/Identity.java,
478         java/security/KeyFactory.java,
479         java/security/KeyPairGenerator.java,
480         java/security/KeyStore.java,
481         java/security/MessageDigest.java,
482         java/security/MessageDigestSpi.java,
483         java/security/Policy.java,
484         java/security/SecureRandom.java,
485         java/security/Security.java,
486         java/security/Signature.java,
487         java/security/SignatureSpi.java,
488         java/security/cert/CertPathBuilder.java,
489         java/security/cert/CertPathValidator.java,
490         java/security/cert/CertStore.java,
491         java/security/cert/Certificate.java,
492         java/security/cert/CertificateFactory.java,
493         java/security/cert/PolicyQualifierInfo.java,
494         java/security/cert/TrustAnchor.java,
495         java/security/cert/X509CRL.java,
496         java/security/cert/X509CRLEntry.java,
497         java/security/cert/X509Certificate.java,
498         java/security/spec/RSAMultiPrimePrivateCrtKeySpec.java:
499         Import statements reorganized, some little formatting issues,
500         used java-style array declarations, added comments in empty catch
501         blocks.
503 2004-10-18  Jeroen Frijters  <jeroen@frijters.net>
505         * java/security/Security.java
506         (static): Use AccessController.doPrivileged to get system property.
508 2004-10-18  Sven de Marothy  <sven@physto.se>
510         * java/nio/ByteBufferHelper.java
511         (putDouble): Use Double.toRawLongBits instead.
513 2004-10-18  Mark Wielaard  <mark@klomp.org>
514         Andrew Haley  <aph@redhat.com>
516         * testsuite/libjava.lang/ExtraClassLoader.java: New.
518 2004-10-18  Andrew Haley  <aph@redhat.com>
520         PR java/18036:
521         * gnu/gcj/runtime/natStackTrace.cc (fillInStackTrace): Reorganize
522         and correct logic used to find interpreter.
523         
524 2004-10-18  Jeroen Frijters  <jeroen@frijters.net>
526         * java/util/logging/LogManager.java
527         (findAncestor): Fixed IndexOutOfBoundsException.
529 2004-10-18  Michael Koch  <konqueror@gmx.de>
531         * java/io/BufferedInputStream.java: Fixed @author tag.
532         (read): Simplified expression.
533         (read): Merged javadoc a bit more.
534         (read): Renamed 'remain' to 'totalBytesRead'.
535         * java/io/DataInputStream.java,
536         java/io/DataOutputStream.java,
537         java/io/ObjectInputStream.java,
538         java/io/ObjectOutputStream.java:
539         Reworked modifier order.
541 2004-10-18  Michael Koch  <konqueror@gmx.de>
543         * java/net/Inet4Address.java: Merged file header and javadocs.
544         * java/net/Inet6Address.java: Likewise.
545         * java/net/InetAddress.java
546         (getCanonicalHostName): Create Inet4Address object instead of
547         InetAddress and add comment regarding IPv6.
548         (toString): Simplified.
550 2004-10-18  Michael Koch  <konqueror@gmx.de>
552         * gnu/java/net/protocol/http/Connection.java,
553         java/nio/MappedByteBufferImpl.java,
554         java/text/RuleBasedCollator.java,
555         java/util/ResourceBundle.java:
556         Reworked import statements.
558 2004-10-18  Jeroen Frijters  <jeroen@frijters.net>
560         * java/security/IdentityScope.java
561         (systemScope): Removed useless initializer.
562         * java/security/Policy.java
563         (currentPolicy): Likewise.
565 2004-10-18  Michael Koch  <konqueror@gmx.de>
567         * java/lang/System.java: Revert accidential change.
569 2004-10-18  Michael Koch  <konqueror@gmx.de>
571         * java/lang/Math.java,
572         java/lang/Package.java,
573         java/lang/Runtime.java,
574         java/lang/StrictMath.java,
575         java/lang/System.java,
576         java/lang/Thread.java,
577         java/lang/ThreadLocal.java,
578         java/lang/Void.java:
579         Reworked import statements, HTML in javadocs and modifier orders.
581 2004-10-18  Jeroen Frijters  <jeroen@frijters.net>
583         * java/util/Timer.java
584         (nr): Removed useless initializer.
585         * java/util/logging/LogRecord.java
586         (lastSeqNum): Likewise.
587         * javax/naming/spi/NamingManager.java
588         (icfb, ofb): Likewise.
590 2004-10-18  Michael Koch  <konqueror@gmx.de>
592         * gnu/java/net/PlainDatagramSocketImpl.java:
593         Reworked import statements.
594         * gnu/java/security/provider/DSAParameters.java:
595         Fixed copyrigth years.
596         * java/net/JarURLConnection.java:
597         Fixed HTML in @author tags.
598         
600 2004-10-18  Michael Koch  <konqueror@gmx.de>
602         * java/rmi/activation/ActivationSystem.java
603         (SYSTEM_PORT): Initialize with correct port number.
605 2004-10-18  Michael Koch  <konqueror@gmx.de>
607         * java/lang/reflect/Proxy.java: Improved javadocs.
609 2004-10-18  Michael Koch  <konqueror@gmx.de>
611         * java/lang/reflect/AccessibleObject.java
612         (checkPermission): Removed redundant final modifier.
613         (secureSetAccessible): Likewise.
614         * java/lang/reflect/Proxy.java:
615         Reworked import statements.
616         (generate): Removed redundant final modifier.
617         * java/lang/reflect/ReflectPermission.java:
618         Reorder package declaration and import statement.
620 2004-10-18  Jeroen Frijters  <jeroen@frijters.net>
622         * java/lang/reflect/Proxy.java
623         (count): Removed useless initializer.
625 2004-10-17  Michael Koch  <konqueror@gmx.de>
627         * java/net/BindException.java,
628         java/net/ConnectException.java,
629         java/net/ContentHandler.java,
630         java/net/ContentHandlerFactory.java,
631         java/net/DatagramPacket.java,
632         java/net/DatagramSocket.java,
633         java/net/DatagramSocketImpl.java,
634         java/net/DatagramSocketImplFactory.java,
635         java/net/FileNameMap.java,
636         java/net/HttpURLConnection.java,
637         java/net/MalformedURLException.java,
638         java/net/MulticastSocket.java,
639         java/net/NetworkInterface.java,
640         java/net/NoRouteToHostException.java,
641         java/net/PasswordAuthentication.java,
642         java/net/PortUnreachableException.java,
643         java/net/ProtocolException.java,
644         java/net/ServerSocket.java,
645         java/net/Socket.java,
646         java/net/SocketException.java,
647         java/net/SocketImpl.java,
648         java/net/SocketImplFactory.java,
649         java/net/SocketOptions.java,
650         java/net/SocketPermission.java,
651         java/net/SocketTimeoutException.java,
652         java/net/URI.java,
653         java/net/URISyntaxException.java,
654         java/net/URL.java,
655         java/net/URLDecoder.java,
656         java/net/URLEncoder.java,
657         java/net/URLStreamHandler.java,
658         java/net/URLStreamHandlerFactory.java,
659         java/net/UnknownHostException.java,
660         java/net/UnknownServiceException.java:
661         Big import statement and @author tag cleanup.
663 2004-10-17  Michael Koch  <konqueror@gmx.de>
665         * gnu/java/security/OID.java,
666         gnu/java/security/provider/DSAParameters.java,
667         gnu/java/security/provider/DSASignature.java,
668         gnu/java/security/x509/X500DistinguishedName.java,
669         gnu/java/security/x509/X509CRL.java:
670         Import statements cleaned up.
672 2004-10-16  Michael Koch  <konqueror@gmx.de>
674         * gnu/java/nio/NIODatagramSocket.java,
675         gnu/java/nio/ServerSocketChannelImpl.java:
676         Reorganized import statements.
678 2004-10-16  Michael Koch  <konqueror@gmx.de>
680         * gnu/java/rmi/RMIMarshalledObjectOutputStream.java
681         gnu/java/rmi/rmic/RMIC.java,
682         gnu/java/rmi/server/RMIHashes.java,
683         gnu/java/rmi/server/RMIObjectInputStream.java,
684         gnu/java/rmi/server/RMIObjectOutputStream.java,
685         gnu/java/rmi/server/UnicastConnection.java,
686         gnu/java/rmi/server/UnicastConnectionManager.java,
687         gnu/java/rmi/server/UnicastRemoteCall.java,
688         gnu/java/rmi/server/UnicastServer.java,
689         gnu/java/rmi/server/UnicastServerRef.java,
690         java/rmi/MarshalledObject.java,
691         java/rmi/Naming.java,
692         java/rmi/RMISecurityManager.java,
693         java/rmi/Remote.java,
694         java/rmi/activation/Activatable.java,
695         java/rmi/activation/ActivationDesc.java,
696         java/rmi/activation/ActivationGroup.java,
697         java/rmi/activation/ActivationGroupDesc.java,
698         java/rmi/activation/ActivationGroupID.java,
699         java/rmi/activation/ActivationID.java,
700         java/rmi/activation/ActivationInstantiator.java,
701         java/rmi/activation/ActivationMonitor.java,
702         java/rmi/activation/ActivationSystem.java,
703         java/rmi/activation/Activator.java,
704         java/rmi/dgc/DGC.java,
705         java/rmi/dgc/Lease.java,
706         java/rmi/dgc/VMID.java,
707         java/rmi/registry/LocateRegistry.java,
708         java/rmi/registry/Registry.java,
709         java/rmi/registry/RegistryHandler.java,
710         java/rmi/server/LoaderHandler.java,
711         java/rmi/server/LogStream.java,
712         java/rmi/server/ObjID.java,
713         java/rmi/server/Operation.java,
714         java/rmi/server/RMIClassLoader.java,
715         java/rmi/server/RMIClassLoaderSpi.java,
716         java/rmi/server/RMIClientSocketFactory.java,
717         java/rmi/server/RMIFailureHandler.java,
718         java/rmi/server/RMIServerSocketFactory.java,
719         java/rmi/server/RMISocketFactory.java,
720         java/rmi/server/RemoteCall.java,
721         java/rmi/server/RemoteObject.java,
722         java/rmi/server/RemoteRef.java,
723         java/rmi/server/RemoteServer.java,
724         java/rmi/server/RemoteStub.java,
725         java/rmi/server/ServerRef.java,
726         java/rmi/server/Skeleton.java,
727         java/rmi/server/SkeletonMismatchException.java,
728         java/rmi/server/UID.java,
729         java/rmi/server/UnicastRemoteObject.java,
730         java/rmi/server/Unreferenced.java:
731         File headers and import statements cleaned up.
733 2004-10-16  Michael Koch  <konqueror@gmx.de>
735         * libjava/gnu/java/nio/charset/UTF_16.java,
736         libjava/gnu/java/nio/charset/UTF_16BE.java,
737         libjava/gnu/java/nio/charset/UTF_16LE.java,
738         libjava/java/nio/ByteOrder.java,
739         libjava/java/nio/MappedByteBuffer.java,
740         libjava/java/nio/channels/Channels.java,
741         libjava/java/nio/channels/spi/SelectorProvider.java,
742         libjava/java/nio/charset/Charset.java:
743         Cleanup.
745 2004-10-16  Michael Koch  <konqueror@gmx.de>
747         * gnu/java/nio/charset/UTF_16Encoder.java
748         (UTF_16Encoder): Fixed maxBytesPerChar handling.
750 2004-10-16  Michael Koch  <konqueror@gmx.de>
752         * java/math/BigDecimal.java, java/math/BigInteger.java:
753         Reorganized import statements, removed redundant and
754         reorganized modifiers.
756 2004-10-16  Michael Koch  <konqueror@gmx.de>
758         * gnu/java/beans/ExplicitBeanInfo.java:
759         Explicitely import java.awt.Image.
760         (getIcon): Fixed off-by-one error.
762 2004-10-15  Andrew Haley  <aph@redhat.com>
764         * Makefile.am (nat_files, xlib_nat_files): New.
765         * Makefile.in: Regenerate.
767 2004-10-14  Ulrich Weigand  <uweigand@de.ibm.com>
769         * jni.cc (_Jv_JNIMethod::call): Use ffi_java_raw_call instead of
770         ffi_raw_call if FFI_NATIVE_RAW_API is not defined.
772 2004-10-13  Andrew Haley  <aph@redhat.com>
774         * interpret.cc (_Jv_InterpMethod::run): Initialize
775         _Jv_StartOfInterpreter.
776         (_Jv_StartOfInterpreter, _Jv_EndOfInterpreter): Functions removed.
777         (_Jv_StartOfInterpreter, _Jv_EndOfInterpreter): New variables.
778         * gnu/gcj/runtime/natStackTrace.cc (fillInStackTrace): Use
779         _Unwind_FindEnclosingFunction to discover whether PC is within the
780         interpreter.
782 2004-10-12  Rutger Ovidius  <ovidr@users.sourceforge.net>
784         PR libgcj/17903:
785         * testsuite/libjava.lang/md5test.java: New file.
786         * testsuite/libjava.lang/md5test.out: Likewise.
787         * testsuite/libjava.lang/shatest.java: Likewise.
788         * testsuite/libjava.lang/shatest.out: Likewise.
790 2004-10-11  Richard Henderson  <rth@redhat.com>
792         * include/posix-threads.h <__alpha__> (_Jv_ThreadId_t): Use void*.
793         (_Jv_ThreadSelf): Use __builtin_thread_pointer.
795 2004-10-08  Bryce McKinlay  <mckinlay@redhat.com>
797         * java/util/Calendar.java (set): Invalidate DST_OFFSET
798         field as a DST boundary may have been crossed.
799         * java/util/GregorianCalendar.java (add): Throw 
800         IllegalArgumentException on attempt to add to DST_OFFSET or 
801         ZONE_OFFSET fields. Update javadoc.
803 2004-10-09  Michael Koch  <konqueror@gmx.de>
805         * java/io/CharArrayWriter.java
806         (resize): Removed redundant 'final' modifier.
807         * java/io/DataInputStream.java
808         (readFully): Throw IndexOutOfBoundsException of len < 0.
809         * java/io/FileDescriptor.java,
810         java/io/FileInputStream.java,
811         java/io/FileOutputStream.java,
812         java/io/ObjectOutputStream.java,
813         java/io/ObjectStreamClass.java,
814         java/io/PipedInputStream.java,
815         java/io/RandomAccessFile.java:
816         Reorganized import statements.
818 2004-10-09  Michael Koch  <konqueror@gmx.de>
820         * gnu/java/rmi/rmic/RMIC.java,
821         gnu/java/rmi/server/RMIHashes.java,
822         gnu/java/rmi/server/RMIObjectInputStream.java,
823         gnu/java/rmi/server/UnicastConnection.java,
824         gnu/java/rmi/server/UnicastConnectionManager.java,
825         gnu/java/rmi/server/UnicastRemoteCall.java,
826         gnu/java/rmi/server/UnicastServerRef.java:
827         Reworked import statements and fixed file headers.
829 2004-10-04  Loren J. Rittle  <ljrittle@acm.org>
831         * configure.ac (*-*-freebsd[[1234]]*): Refine error message
832         emission rule.
833         * configure: Rebuilt.
835 2004-09-30  Tom Tromey  <tromey@redhat.com>
837         * java/text/MessageFormat.java (Field): Constructor now
838         protected.
840 2004-09-30  Tom Tromey  <tromey@redhat.com>
842         * javax/crypto/MacSpi.java: Fixed typo.
844 2004-09-30  Michael Koch  <konqueror@gmx.de>
846         * java/net/InetAddress.java: Reformatted.
847         (loopback): Initialize with Inet4Address object.
848         (static): Initialize ANY_IF with Inet4Address object.
849         (InetAddress): Removed unused package-private constructor.
851 2004-09-30  Michael Koch  <konqueror@gmx.de>
853         * java/beans/Beans.java,
854         java/beans/EventHandler.java,
855         java/beans/EventSetDescriptor.java,
856         java/beans/Introspector.java,
857         java/beans/PropertyEditorManager.java,
858         java/beans/beancontext/BeanContext.java,
859         java/beans/beancontext/BeanContextChild.java,
860         java/beans/beancontext/BeanContextChildSupport.java,
861         java/beans/beancontext/BeanContextMembershipEvent.java:
862         Reordered import statements and removed redundant modifiers.
864 2004-09-29  Tom Tromey  <tromey@redhat.com>
866         PR libgcj/17715:
867         * Makefile.in: Rebuilt.
868         * Makefile.am (libgcj-@gcc_version@.jar): Include properties
869         files.
870         (all_property_files): New macro.
872         * Makefile.in: Rebuilt.
873         * Makefile.am (ordinary_java_source_files): Re-sorted.
874         (libgcj.la): Moved to old location near lib-gnu-awt-xlib.la.
876 2004-09-28  Tom Tromey  <tromey@redhat.com>
878         * jni.cc (_Jv_JNI_RegisterNatives): Formatting fixlets.
880         PR libgcj/17222:
881         * Makefile.am (libgcj.la): Restored.
882         * Makefile.in: Rebuilt.
884 2004-09-28  Michael Koch  <konqueror@gmx.de>
886         * java/net/URLConnection.java: Reformatted.
887         * java/net/URLClassLoader.java: Reformatted.
888         (getContent): Reordered return of content.
889         (getContentHandler): Don't check for null explicitely.
891 2004-09-27  Michael Koch  <konqueror@gmx.de>
893         * java/io/BufferedInputStream.java
894         (BufferedInputStream): Added Jeroen Frijters to authors.
895         (count): Don't explicitely initialize with default value.
896         (pos): Likewise.
897         (marklimit): Likewise.
898         (read): Changed boolean expression to match GNU classpath' version.
899         (reset): Add proper message to exception.
900         (skip): Check for closed stream.
901         (refill): Likewise.
903 2004-09-26  Per Bothner  <per@bothner.com>
905         * prims.cc (unblock_signal): Annotate signum with __unused__ to
906         avoid warnings in the non-POSIX_VERSION case.
907         Also, we only need this function if either HANDLE_SEGV or HANDLE_FPE,
908         so place it inside an #if block.
909         * include/default-signal.h (SIGNAL_HANDLER): Parameters are __unused__.
910         * include/i386-signal.h (SIGNAL_HANDLER):  Likewise
911         * include/mips-signal.h (SIGNAL_HANDLER):  Likewise
912         * include/sparc-signal.h (SIGNAL_HANDLER):  Likewise
914 2004-09-26  Per Bothner  <per@bothner.com>
916         * prims.cc (process_gcj_properties):  Optimization.
918 2004-09-26  Per Bothner  <per@bothner.com>
920         * java/util/Collections.java (sort):  Copy from array in forwards
921         order, rather than reverse order which may be much less efficient.
923 2004-09-26  Mark Wielaard  <mark@klomp.org>
925         * java/lang/System.java (properties): Make package private.
926         * java/lang/Throwable.java (StaticData.nl): Initialize through
927         directly accessing System.properties.getProperty().
929         * java/lang/Throwable.java (nl): Remove static field.
930         (StaticData): New private static inner class.
931         (stackTraceStringBuffer): Use StaticData.nl.
933 2004-09-26  Casey Marshall <csm@gnu.org>
935         * java/security/ProtectionDomain.java
936         (<init>(CodeSource,PermissionCollection)): set `staticBinding' to
937         `true'.
939         * java/security/SecureClassLoader.java
940         (defineClass): make protection domain dynamically bound.
941         (getPermissions): call `getCurrentPolicy' to avoid permission
942         check.
944 2004-09-25  Mark Wielaard  <mark@klomp.org>
946         * Makefile.am (core_java_source_files): Add VMTimeZone.java.
947         (nat_source_files): Rename natTimeZone.cc to natVMTimeZone.cc.
948         * Makefile.in: Regenerated.
950         * gcj/javaprims.h: Regenerated.
952         * java/util/TimeZone.java (defaultZone): Use VMTimeZone.
953         (getDefaultTimeZone): Make package private. Check that GMToffset
954         contains at least one digit.
955         (getDefaultTimeZoneId, readTimeZoneFile, readtzFile): (Re)Moved to
956         VMTimeZone.
957         * util/VMTimeZone.java: New file with above methods.
959         * java/util/natTimeZone.cc: Removed (renamed).
960         * java/util/natVMTimeZone.cc: Added (renamed).
962 2004-09-25  Jeroen Frijters  <jeroen@frijters.net>
964         * java/util/TimeZone.java
965         (getDefaultTimeZone): Fixed test to distinguish between hours and
966         minutes in specified timezone.
968 2004-09-25  Jeroen Frijters  <jeroen@frijters.net>
970         * java/lang/reflect/Proxy.java (getPackage, ClassFactory): Fixed
971         handling of default package. (generate): Removed confused comments
972         and code about making Method and Field accessible.
974 2004-09-25  Tom Tromey  <tromey@redhat.com>
976         PR java/17500:
977         * testsuite/libjava.compile/pr17500.java: New file.
979 2004-09-25  Shashank Bapat  <shashankbapat@yahoo.com>
980             Mark Wielaard  <mark@klomp.org>
982         * gnu/regexp/RE.java (initialize): Add RETokenLookAhead support.
983         * gnu/regexp/RETokenLookAhead.java: New file.
985         * Makefile.am (ordinary_java_source_files): Add RETokenLookAhead.java.
986         * Makefile.in: Regenerated.
988 2004-09-25  Michael Koch  <konqueror@gmx.de>
990         * java/io/ObjectStreamField.java:
991         Removed unused import statement.
993 2004-09-24  Tom Tromey  <tromey@redhat.com>
995         PR java/15656:
996         * testsuite/libjava.compile/pr15656.xfail: New file.
997         * testsuite/libjava.compile/pr15656.java: new file.
999         PR java/16789:
1000         * testsuite/libjava.lang/pr16789.out: New file.
1001         * testsuite/libjava.lang/pr16789.java: New file.
1003 2004-09-24  Andrew Haley  <aph@redhat.com>
1005         PR java/16927
1006         * testsuite/libjava.compile/AssertBug.java: New file.
1008 2004-09-24  Casey Marshall <csm@gnu.org>
1010         * java/util/PropertyPermissionCollection.java
1011         (implies): avoid infinite loop.
1013 2004-09-24  Andrew John Hughes  <gnu_andrew@member.fsf.org>
1015         * javax/security/auth/PrivateCredentialPermission.java
1016         (PrivateCredentialPermission): added serialization UID
1019 2004-09-24  Ilya Perminov  <iperminov@logicalsoft.com>
1021         * gnu/java/rmi/server/UnicastServer.java
1022         (incomingMessageCall): Added code to handle Errors.
1023         * gnu/java/rmi/server/UnicastServerRef.java
1024         (incomingMessageCall): Added code to handle Errors.
1027 2004-09-24  Tom Tromey  <tromey@redhat.com>
1029         * java/lang/ClassLoader.java (loadedClasses): Declare as HashMap.
1030         (definedPackages): Likewise.
1032 2004-09-24  Michael Koch  <konqueror@gmx.de>
1034         * java/io/ObjectInputStream.java:
1035         Re-ordered imports.
1037 2004-09-24  Casey Marshall <csm@gnu.org>
1039         * java/io/ObjectInputStream.java (callReadMethod): re-throw
1040         `ClassNotFoundException'.
1042 2004-09-24  Jeroen Frijters  <jeroen@frijters.net>
1044         * java/io/ObjectInputStream.java (readObject): Delegate instantation
1045         of Externalizable classes to ObjectStreamClass.
1046         * java/io/ObjectStreamClass.java (newInstance): New method to
1047         instantiate Externalizable (while ignoring the accessibility of
1048         the constructor). (constructor): New field to cache the constructor.
1050 2004-09-24  Mark Wielaard  <mark@klomp.org>
1052         * java/net/URL.java (systemClassLoader): New static field.
1053         (getURLStreamHandler): Always use system/application classloader
1054         for finding URLStreamhandler. Remove unecessary instanceof checks.
1056 2004-09-24  Guilhem Lavaux <guilhem@kaffe.org>
1058         * java/net/URL.java
1059         (set): This method now matches the behaviour of the JDK.
1060         (DEFAULT_SEARCH_PATH): Added "gnu.inet".
1062 2004-09-24  Guilhem Lavaux  <guilhem@kaffe.org>
1064         * java/net/URL.java (URL): Delete whitespaces in the protocol string.
1066 2004-09-24  Jeroen Frijters  <jeroen@frijters.net>
1068         * java/net/URL.java (URL(String,String,int,String,URLStreamHandler):
1069         Don't set authority if host isn't specified.
1071 2004-09-24  Michael Koch  <konqueror@gmx.de>
1073         * gnu/java/nio/PipeImpl.java: Use VMPipe for native stuff.
1074         * gnu/java/nio/SelectorImpl.java: Use VMSelector for native stuff.
1075         * gnu/java/nio/VMPipe.java,
1076         gnu/java/nio/VMSelector.java:
1077         New files.
1078         * gnu/java/nio/natPipeImplEcos.cc,
1079         gnu/java/nio/natPipeImplPosix.cc,
1080         gnu/java/nio/natPipeImplWin32.cc:
1081         Ported to VMPipe.
1082         * gnu/java/nio/natSelectorImplEcos.cc,
1083         gnu/java/nio/natSelectorImplPosix.cc,
1084         gnu/java/nio/natSelectorImplWin32.cc:
1085         Ported to VMSelector.
1086         * Makefile.am: Added new files gnu/java/nio/VMPipe.java and
1087         gnu/java/nio/VMSelector.java.
1088         * Makefile.in: Regenerated.
1090 2004-09-24  Jeroen Frijters  <jeroen@frijters.net>
1092         * java/lang/StackTraceElement.java
1093         (className): Renamed field to declaringClass to be compatible
1094         with Sun serialization format.
1096 2004-09-23  Michael Koch  <konqueror@gmx.de>
1098         * java/applet/AppletContext.java,
1099         java/applet/Applet.java,
1100         java/applet/AppletStub.java,
1101         java/applet/AudioClip.java:
1102         Jalopied and checkstyle clean.
1104 2004-09-23  Mark Wielaard  <mark@klomp.org>
1106         * java/util/Collections.java
1107         (binarySearch(List, Object, Comparator)): Explicitly
1108         reverse direction in list iterator.
1109         (rotate): Just return when list is empty.
1111 2004-09-23  Tom Tromey  <tromey@redhat.com>
1113         PR java/17329:
1114         * testsuite/libjava.compile/pr17329.java: New file.
1116         PR java/17380:
1117         * testsuite/libjava.jacks/jacks.xfail: Added 9.2-implicit-6 and
1118         9.2-implicit-7.
1120 2004-09-22  Kelley Cook  <kcook@gcc.gnu.org>
1122         * Makefile.am: Run aclocal with -I ../config
1123         * acinclude.m4: Delete macros picked up from ../config and tidy.
1124         (AM_ICONV,AM_LC_MESSAGES, PKG_CHECK_MODULES): Delete.
1125         * aclocal.m4, configure, Makefile.in, gcj/Makefile.in: Regenerate.
1126         * include/Makefile.in, testsuite/Makefile.in: Regenerate.
1128 2004-09-22  Kelley Cook  <kcook@gcc.gnu.org>
1130         * aclocal.m4: Regenerate with aclocal 1.9.2.
1131         * configure: Regenerate.
1132         * Makefile.in, gcj/Makefile.in: Regenerate with automake 1.9.2.
1133         * include/Makefile.in, testsuite/Makefile.in: Likewise.
1135 2004-09-22  David Daney  <ddaney@avtrex.com>
1137         PR libgcj/17623
1138         * java/net/URL.java (URL): Copy userInfo from context.
1139         (getUserInfo): Return cached userInfo if present.
1141 2004-09-22  Tom Tromey  <tromey@redhat.com>
1143         PR libgcj/6182:
1144         * mauve-libgcj: Enable java.lang.Character tests.
1146 2004-09-22  Andreas Tobler  <a.tobler@schweiz.ch>
1148         * Makefile.am (lib_org_ietf_jgss_la_DEPENDENCIES): Add missing
1149         dependencies.
1150         (lib_org_ietf_jgss_la_LIBADD): Likewise.
1151         * Makefile.in: Regenerated.
1153 2004-09-22  Andreas Tobler  <a.tobler@schweiz.ch>
1155         * configure.ac: Introduce AC_C_BIGENDIAN_CROSS for WORDS_BIGENDIAN.
1156         * configure: Regenerate.
1157         * include/config.h.in: Likewise.
1158         * jni/gtk-peer/gtkpeer.h (SWAPU32): Introduce macro to swap pixels.
1159         * jni/gtk-peer/gnu_java_awt_peer_gtk_GtkImagePainter.c: Moved SWAPU32
1160         macro to gtkpeer.h.
1161         * jni/gtk-peer/gnu_java_awt_peer_gtk_GdkGraphics2D.c
1162         (Java_gnu_java_awt_peer_gtk_GdkGraphics2D_getImagePixels): Convert
1163         pixels from  0xBBGGRRAA to 0xAARRGGBB only on Little Endian
1164         architectures.
1165         * jni/gtk-peer/gnu_java_awt_peer_gtk_GdkPixbufDecoder.c (area_updated):
1166         Likewise.
1168 2004-09-22  Tom Tromey  <tromey@redhat.com>
1170         PR libgcj/14446:
1171         * java/util/zip/GZIPInputStream.java (read): Avoid sign extension
1172         when comparing CRCs.
1173         * java/util/zip/InflaterInputStream.java (onebytebuffer): New
1174         field.
1175         (read()): New overload.
1177 2004-09-21  Tom Tromey  <tromey@redhat.com>
1179         * java/lang/reflect/natMethod.cc (_Jv_CallAnyMethodA):
1180         Indentation fix.
1182 2004-09-21  Michael Koch  <konqueror@gmx.de>
1184         * java/net/Socket.java
1185         (getLocalAddress): Return InetAddress.ANY_IF if not bound yet.
1187 2004-09-21  Casey Marshall  <csm@gnu.org>
1189         * javax/crypto/MacSpi.java (clone): Provide meaningful
1190         implementation.
1192 2004-09-21  Tom Tromey  <tromey@redhat.com>
1194         PR libgcj/16869:
1195         * Makefile.in: Rebuilt.
1196         * Makefile.am (MOSTLYCLEANFILES): Removed.
1197         (mostlyclean-local): Remove header files.
1199 2004-09-21  Casey Marshall  <csm@gnu.org>
1201         * java/security/cert/X509CRLSelector.java:
1202         (match): remove unreachable try-catch clauses.
1203         Reported by: Dalibor Topic <robilad@kaffe.org>
1205 2004-09-21  Mark Wielaard  <mark@klomp.org>
1207         * java/util/TreeMap.java (root): Don't initialize.
1208         (TreeMap(Comparator)): Call fabricateTree(0).
1209         (fabricateTree): Initialize root and size when count is 0.
1211 2004-09-21  Sven de Marothy <sven@physto.se>
1213         * java/nio/ByteBuffer.java (hashCode): Implemented.
1214         * java/nio/CharBuffer.java: Likewise.
1215         * java/nio/DoubleBuffer.java: Likewise.
1216         * java/nio/FloatBuffer.java: Likewise.
1217         * java/nio/LongBuffer.java: Likewise.
1218         * java/nio/IntBuffer.java: Likewise.
1219         * java/nio/ShortBuffer.java: Likewise.
1221 2004-09-21  Andreas Tobler  <a.tobler@schweiz.ch>
1223         * javax/security/auth/x500/X500Principal.java: Fix some merge glitches.
1225 2004-09-21  Michael Koch  <konqueror@gmx.de>
1227         * javax/net/ssl/SSLServerSocket.java:
1228         Removed comment about "Do not edit this file, it's generated.".
1230 2004-09-21  Andreas Tobler  <a.tobler@schweiz.ch>
1232         Import the big Crypto/Jessie/Security merge from Classpath.
1234         * Makefile.am: Add imported files.
1235         * Makefile.in: Regenerate.
1237         2004-08-14  Casey Marshall <csm@gnu.org>
1239         The Big Crypto Merge of 2004.
1241         * javax/security/auth/x500/X500Principal.java: Replaced with GNU
1242         Crypto's version.
1244         Files imported from GNU Crypto.
1245         * javax/crypto/BadPaddingException.java
1246         * javax/crypto/Cipher.java
1247         * javax/crypto/CipherInputStream.java
1248         * javax/crypto/CipherOutputStream.java
1249         * javax/crypto/CipherSpi.java
1250         * javax/crypto/EncryptedPrivateKeyInfo.java
1251         * javax/crypto/ExemptionMechanism.java
1252         * javax/crypto/ExemptionMechanismException.java
1253         * javax/crypto/ExemptionMechanismSpi.java
1254         * javax/crypto/IllegalBlockSizeException.java
1255         * javax/crypto/KeyAgreement.java
1256         * javax/crypto/KeyAgreementSpi.java
1257         * javax/crypto/KeyGenerator.java
1258         * javax/crypto/KeyGeneratorSpi.java
1259         * javax/crypto/Mac.java
1260         * javax/crypto/MacSpi.java
1261         * javax/crypto/Makefile.am
1262         * javax/crypto/NoSuchPaddingException.java
1263         * javax/crypto/NullCipher.java
1264         * javax/crypto/NullCipherImpl.java
1265         * javax/crypto/SealedObject.java
1266         * javax/crypto/SecretKey.java
1267         * javax/crypto/SecretKeyFactory.java
1268         * javax/crypto/SecretKeyFactorySpi.java
1269         * javax/crypto/ShortBufferException.java
1270         * javax/crypto/interfaces/DHKey.java
1271         * javax/crypto/interfaces/DHPrivateKey.java
1272         * javax/crypto/interfaces/DHPublicKey.java
1273         * javax/crypto/interfaces/PBEKey.java
1274         * javax/crypto/spec/DESKeySpec.java
1275         * javax/crypto/spec/DESedeKeySpec.java
1276         * javax/crypto/spec/DHGenParameterSpec.java
1277         * javax/crypto/spec/DHParameterSpec.java
1278         * javax/crypto/spec/DHPrivateKeySpec.java
1279         * javax/crypto/spec/DHPublicKeySpec.java
1280         * javax/crypto/spec/IvParameterSpec.java
1281         * javax/crypto/spec/PBEKeySpec.java
1282         * javax/crypto/spec/PBEParameterSpec.java
1283         * javax/crypto/spec/RC2ParameterSpec.java
1284         * javax/crypto/spec/RC5ParameterSpec.java
1285         * javax/crypto/spec/SecretKeySpec.java
1286         * javax/security/auth/AuthPermission.java
1287         * javax/security/auth/DestroyFailedException.java
1288         * javax/security/auth/Destroyable.java
1289         * javax/security/auth/Policy.java
1290         * javax/security/auth/PrivateCredentialPermission.java
1291         * javax/security/auth/RefreshFailedException.java
1292         * javax/security/auth/Refreshable.java
1293         * javax/security/auth/Subject.java
1294         * javax/security/auth/SubjectDomainCombiner.java
1295         * javax/security/auth/callback/Callback.java
1296         * javax/security/auth/callback/CallbackHandler.java
1297         * javax/security/auth/callback/ChoiceCallback.java
1298         * javax/security/auth/callback/ConfirmationCallback.java
1299         * javax/security/auth/callback/LanguageCallback.java
1300         * javax/security/auth/callback/NameCallback.java
1301         * javax/security/auth/callback/PasswordCallback.java
1302         * javax/security/auth/callback/TextInputCallback.java
1303         * javax/security/auth/callback/TextOutputCallback.java
1304         * javax/security/auth/callback/UnsupportedCallbackException.java
1305         * javax/security/auth/login/AccountExpiredException.java
1306         * javax/security/auth/login/AppConfigurationEntry.java
1307         * javax/security/auth/login/Configuration.java
1308         * javax/security/auth/login/CredentialExpiredException.java
1309         * javax/security/auth/login/FailedLoginException.java
1310         * javax/security/auth/login/LoginContext.java
1311         * javax/security/auth/login/LoginException.java
1312         * javax/security/auth/login/NullConfiguration.java
1313         * javax/security/auth/x500/X500PrivateCredential.java
1314         * javax/security/sasl/AuthenticationException.java
1315         * javax/security/sasl/AuthorizeCallback.java
1316         * javax/security/sasl/RealmCallback.java
1317         * javax/security/sasl/RealmChoiceCallback.java
1318         * javax/security/sasl/Sasl.java
1319         * javax/security/sasl/SaslClient.java
1320         * javax/security/sasl/SaslClientFactory.java
1321         * javax/security/sasl/SaslException.java
1322         * javax/security/sasl/SaslServer.java
1323         * javax/security/sasl/SaslServerFactory.java
1324         * org/ietf/jgss/ChannelBinding.java
1325         * org/ietf/jgss/GSSContext.java
1326         * org/ietf/jgss/GSSCredential.java
1327         * org/ietf/jgss/GSSException.java
1328         * org/ietf/jgss/GSSManager.java
1329         * org/ietf/jgss/GSSName.java
1330         * org/ietf/jgss/MessageProp.java
1331         * org/ietf/jgss/Oid.java
1332         * org/ietf/jgss/MessagesBundle.properties
1334         Files imported from Jessie <http://www.nongnu.org/jessie/>
1335         * javax/net/ServerSocketFactory.java
1336         * javax/net/SocketFactory.java
1337         * javax/net/VanillaServerSocketFactory.java
1338         * javax/net/VanillaSocketFactory.java
1339         * javax/net/ssl/HandshakeCompletedEvent.java
1340         * javax/net/ssl/HandshakeCompletedListener.java
1341         * javax/net/ssl/HostnameVerifier.java
1342         * javax/net/ssl/HttpsURLConnection.java
1343         * javax/net/ssl/KeyManager.java
1344         * javax/net/ssl/KeyManagerFactory.java
1345         * javax/net/ssl/KeyManagerFactorySpi.java
1346         * javax/net/ssl/ManagerFactoryParameters.java
1347         * javax/net/ssl/SSLContext.java
1348         * javax/net/ssl/SSLContextSpi.java
1349         * javax/net/ssl/SSLException.java
1350         * javax/net/ssl/SSLHandshakeException.java
1351         * javax/net/ssl/SSLKeyException.java
1352         * javax/net/ssl/SSLPeerUnverifiedException.java
1353         * javax/net/ssl/SSLPermission.java
1354         * javax/net/ssl/SSLProtocolException.java
1355         * javax/net/ssl/SSLServerSocket.java
1356         * javax/net/ssl/SSLServerSocketFactory.java
1357         * javax/net/ssl/SSLSession.java
1358         * javax/net/ssl/SSLSessionBindingEvent.java
1359         * javax/net/ssl/SSLSessionBindingListener.java
1360         * javax/net/ssl/SSLSessionContext.java
1361         * javax/net/ssl/SSLSocket.java
1362         * javax/net/ssl/SSLSocketFactory.java
1363         * javax/net/ssl/TrivialHostnameVerifier.java
1364         * javax/net/ssl/TrustManager.java
1365         * javax/net/ssl/TrustManagerFactory.java
1366         * javax/net/ssl/TrustManagerFactorySpi.java
1367         * javax/net/ssl/X509KeyManager.java
1368         * javax/net/ssl/X509TrustManager.java
1369         * javax/security/cert/Certificate.java
1370         * javax/security/cert/CertificateEncodingException.java
1371         * javax/security/cert/CertificateException.java
1372         * javax/security/cert/CertificateExpiredException.java
1373         * javax/security/cert/CertificateNotYetValidException.java
1374         * javax/security/cert/CertificateParsingException.java
1375         * javax/security/cert/X509CertBridge.java
1376         * javax/security/cert/X509Certificate.java
1378         2004-08-20  Casey Marshall  <csm@gnu.org>
1380         * java/security/cert/X509CRLSelector.java: New file.
1381         * java/security/cert/X509CertSelector.java: New file.
1383 2004-09-15  Michael Koch  <konqueror@gmx.de>
1385         * gnu/java/net/protocol/file/Handler.java
1386         (openConnection): Don't throw exception if host part for file: URI is
1387         present. setURL() keeps file: protocol if ftp: protocol is not
1388         available.
1390 2004-09-14  Richard Henderson  <rth@redhat.com>
1392         * java/lang/natPosixProcess.cc (waitForSignal): Ignore return
1393         value of sigsuspend.
1395 2004-09-12  Tom Tromey  <tromey@redhat.com>
1397         * javax/naming/CompoundName.java (CompoundName): Don't check for
1398         separator in "flat" case.
1400 2004-09-12  Michael Koch  <konqueror@gmx.de>
1402         * libltdl/configure.ac: Fixed AM_INIT_AUTOMAKE usage and replaces
1403         AM_CONFIG_HEADER by AC_CONFIG_FILES.
1404         * libltdl/Makefile.in, libltdl/aclocal.m4, libltdl/configure:
1405         Regenerate.
1407 2004-09-11  Mohan Embar  <gnustuff@thisiscool.com>
1409         PR libgcj/14751
1410         * win32-threads.cc (_Jv_ThreadInitData): Zero out thread
1411         handle in newly-allocated _Jv_Thread_t.
1412         (_Jv_ThreadDestroyData): Close thread handle.
1413         (_Jv_ThreadStart): Remove obsolete comment.
1414         Store handle of newly-created thread in _Jv_Thread_t.
1415         * include/win32-threads.h: #define WIN32_LEAN_AND_MEAN
1416         before including <windows.h>
1417         #define _Jv_HaveCondDestroy
1419 2004-09-11  Mohan Embar  <gnustuff@thisiscool.com>
1421         * java/lang/natThread.cc (finalize_native): Destroy
1422         join conditional variable and mutex if these destroy
1423         operations are supported.
1425 2004-09-10  Dalibor Topic <robilad@kaffe.org>
1427         * gnu/java/net/protocol/file/Connection.java (permission): New field.
1428         (DEFAULT_PERMISSION): New constant.
1429         (Connection): Create a FilePermission with permission to read file.
1431 2004-09-10  Michael Koch  <konqueror@gmx.de>
1433         * gnu/java/net/protocol/file/Connection.java
1434         (getLastModified): Moved around.
1435         (getPermission): Return stored permission.
1437 2004-09-10  Michael Koch  <konqueror@gmx.de>
1439         * Makefile.in: Regenerate.
1441 2004-09-10  Michael Koch  <konqueror@gmx.de>
1443         * Makefile.am: Reverted accidently commited stuff.
1444         * configure: Regenerated.
1446 2004-09-10  Michael Koch  <konqueror@gmx.de>
1448         * gnu/java/net/protocol/file/Connection.java
1449         (lineSeparator): Made non-final.
1450         (static): Removed.
1451         (connect): Initialize lineSeparator lazily. Use ByteArrayInputStream
1452         instead of StringBufferInputStream.
1454 2004-09-10  Michael Koch  <konqueror@gmx.de>
1456         * gnu/java/net/protocol/file/Connection.java
1457         (connect): Handle file is a directory case.
1459 2004-09-10  Michael Koch  <konqueror@gmx.de>
1461         * Makefile.am
1462         (xlib_includes): Removed.
1463         (AM_CPPFLAGS): Renamed from INCLUDES.
1464         (lib_gnu_awt_xlib_la_CPPFLAGS): New automake variable.
1465         * Makefile.in: Regenerate.
1467 2004-09-09  Michael Koch  <konqueror@gmx.de>
1469         * java/security/ProtectionDomain.java,
1470         * java/util/PropertyPermissionCollection.java:
1471         Fixed javadocs all over.
1473 2004-09-09  Sven de Marothy  <sven@physto.se>
1475         Patch from David Gilbert <david.gilbert@object-refinery.com>
1476         * java/lang/Comparable.java: Fixed documentation errors.
1477         * java/util/Arrays.java: Likewise.
1479 2004-09-09  Andrew John Hughes  <gnu_andrew@member.fsf.org>
1481         * java/net/Inet4Address.java
1482         (Inet4Address): Added comment to serialization UID.
1483         * java/text/Format.java
1484         (Format): Added comment to serialization UID.
1486 2004-09-09  Michael Koch  <konqueror@gmx.de>
1488         * java/lang/System.java
1489         (err): Fixed javadoci to point to setErr() and not setOut().
1491 2004-09-09  Jeroen Frijters  <jeroen@frijters.net>
1493         (normalizePath): Added special case for windows systems.
1495 2004-09-09  Michael Koch  <konqueror@gmx.de>
1497         * java/io/File.java
1498         (dupSeparator): Made private.
1499         (File(URI)): New constructor.
1500         (getParentFile): Fixed javadoc.
1501         (createTempFile): Reformated.
1502         (setReadOnly): Added comment.
1503         (deleteOnExit): Merged javadoc with classpath version.
1505 2004-09-09  Michael Koch  <konqueror@gmx.de>
1507         * Makefile.am: Don't try to include deps.mk.
1508         * Makefile.in: Regenerated.
1510 2004-09-08  Bryce McKinlay  <mckinlay@redhat.com>
1512         * configure.ac (AC_CONFIG_COMMANDS): Don't create subdirectories and
1513         .d files.
1514         * configure: Rebuilt.
1516 2004-09-04  Mohan Embar  <gnustuff@thisiscool.com>
1518         * java/net/natNetworkInterfaceWin32.cc (getRealNetworkInterfaces):
1519         Changed pfn from static local to local.
1521 2004-09-03  Bryce McKinlay  <mckinlay@redhat.com>
1522             H.J. Lu  <hongjiu.lu@intel.com>
1524         PR libgcj/17290
1525         * Makefile.am (GCJCOMPILE): Remove definition.
1526         (AM_CFLAGS): Add -fclasspath and -fbootclasspath flags.
1527         Use LTGCJCOMPILE, not GCJCOMPILE, to build .lo targets.
1528         * Makefile.in: Rebuilt.
1530 2004-09-03  Kelley Cook  <kcook@gcc.gnu.org>
1532         * configure.ac (enable-gc-debug): Update help for new syntax.
1533         * configure: Regenerate.
1535 2004-09-03  David Daney  <ddaney@avtrex.com>
1537         * include/mips-signal.h: Update copyright.
1539 2004-09-03  David Daney  <ddaney@avtrex.com>
1541         * configure.host: Use -fno-use-divide-subroutine for mips*-*-linux*.
1542         * include/mips-signal.h: Added HANDLE_FPE support.
1543         
1544 2004-08-31  Michael Koch  <konqueror@gmx.de>
1546         * javax/swing/plaf/basic/BasicTextAreaUI.java
1547         (create): New method.
1548         * javax/swing/text/DefaultHighlighter.java
1549         (DefaultHighlightPainter.debugRect): Removed.
1550         * javax/swing/text/StyleContext.java
1551         (DEFAULT_STYLE): New field.
1553 2004-08-31  Michael Koch  <konqueror@gmx.de>
1555         * javax/swing/plaf/basic/BasicLookAndFeel.java
1556         (initComponentDefaults): Add keybindings for selection.backward and
1557         selection-forward for text components.
1558         * javax/swing/plaf/basic/BasicTextUI.java
1559         (paintSafely): Paint highlight only when something is actually
1560         selected.
1561         * javax/swing/text/DefaultCaret.java
1562         (handleHighlight): New method.
1563         (setSelectionVisible): Don't do anything when nothing changes.
1564         Handle highlight.
1565         (moveDot): Reimplemented. Handle highlight.
1566         (setDot): Set mark too. Handle highlight.
1567         (getSelectionPainter): New method.
1568         * javax/swing/text/DefaultEditorKit.java
1569         (defaultActions): Added new actions for text selection.
1570         * javax/swing/text/DefaultHighlighter.java
1571         (DefaultHighlightPainter): New inner class.
1572         (DefaultPainter): New field.
1573         (paint): Implemented.
1574         * javax/swing/text/PlainView.java
1575         (paint): Don't draw background here again.
1576         * javax/swing/text/Utilities.java
1577         (getTabbedTextWidth): Use width of ' ' instead of 'm' for tabsize.
1578         (drawTabbedText): Likewise.
1580 2004-08-31  Graydon Hoare  <graydon@redhat.com>
1582         * javax/swing/JComponent.java
1583         (resetKeyboardActions): Add null checks.
1585 2004-08-31  Graydon Hoare  <graydon@redhat.com>
1587         * javax/swing/DefaultButtonModel.java:
1588         Skip group notification when no group is set.
1590 2004-08-31  Graydon Hoare  <graydon@redhat.com>
1592         * javax/swing/JColorChooser.java: 
1593         Make a couple inner classes static, for jikes.
1595 2004-08-31  Michael Koch  <konqueror@gmx.de>
1597         * javax/swing/plaf/basic/BasicTextUI.java
1598         (RottView.modelToView): New method.
1599         (UpdateHandler): Renamed from EventHandler.
1600         (updateHandler): Renamed from eventHandler.
1601         (modelToView): Implemented.
1602         * javax/swing/text/AbstractDocument.java
1603         (BranchElement.getElement): Return null for non-existing indeces.
1604         (BranchElement.getElementIndex): Return 0 in some corner cases.
1605         * javax/swing/text/FieldView.java
1606         (modelToView): New method.
1607         * javax/swing/text/PlainView.java
1608         (modelToView): Made public.
1610 2004-08-31  Kim Ho  <kho@redhat.com>
1612         * Makefile.am: New files.
1613         * Makefile.in: Regenerate.
1614         * gcj/Makefile.in: Regenerate.
1615         * include/Makefile.in: Regenerate.
1616         * java/awt/Color.java: Fix documentation.
1617         (RGBtoHSB): Use floats for conversions.
1618         * javax/swing/ButtonGroup.java: Run Jalopy.
1619         (setSelected): Reimplement.
1620         * javax/swing/DefaultButtonModel.java: Run Jalopy.
1621         (changeState): Let ButtonGroup know that the button 
1622         is changing state.
1623         * javax/swing/JColorChooser.java: Implement.
1624         * javax/swing/JLabel.java: Run Jalopy.
1625         * javax/swing/JSpinner.java: Run Jalopy.
1626         (setValue): New method.
1627         * javax/swing/JTabbedPane.java: Run Jalopy.
1628         (removeTabAt): Call correct remove method.
1629         * javax/swing/SpinnerNumberModel.java: Run Jalopy.
1630         (getPreviousValue): Compare minimum value.
1631         * javax/swing/Timer.java: Run Jalopy.
1632         (run): Comment out println.
1633         * javax/swing/ToolTipManager.java:
1634         (mouseMoved): Get new tooltip text for location.
1635         * javax/swing/colorchooser/AbstractColorChooserPanel.java:
1636         Jalopy and Javadoc.
1637         * javax/swing/colorchooser/ColorChooserComponentFactory.java:
1638         Implement.
1639         * javax/swing/colorchooser/DefaultColorSelectionModel.java:
1640         Run Jalopy.
1641         (setSelectedColor): Fire ChangeEvent.
1642         * javax/swing/colorchooser/DefaultHSBChooserPanel.java:
1643         New file. Implement.
1644         * javax/swing/colorchooser/DefaultPreviewPanel.java:
1645         Ditto.
1646         * javax/swing/colorchooser/DefaultRGBChooserPanel.java:
1647         Ditto.
1648         * javax/swing/colorchooser/DefaultSwatchChooserPanel.java:
1649         Ditto.
1650         * javax/swing/plaf/basic/BasicArrowButton.java:
1651         (getArrow): Fix size of upward pointing button.
1652         * javax/swing/plaf/basic/BasicColorChooserUI.java:
1653         Implement.
1654         * javax/swing/plaf/basic/BasicSliderUI.java:
1655         (getWidthOfWidestLabel): Use preferred dimensions.
1656         (getHeightOfTallestLabel): Ditto.
1657         * javax/swing/plaf/basic/BasicSpinnerUI.java:
1658         Run Jalopy.
1659         (mousePressed): Disable changes to spinner if it is not enabled.
1660         * testsuite/Makefile.in: Regenerate.
1663 2004-08-31  Michael Koch  <konqueror@gmx.de>
1665         * javax/swing/plaf/basic/BasicTableHeaderUI.java,
1666         javax/swing/plaf/basic/BasicTableUI.java:
1667         Added copyright notice.
1669 2004-08-31  Olga Rodimina  <rodimina@redhat.com>
1671         * Makefile.am: Added new files.
1672         * Makefile.in: Regenerate.
1673         * javax/swing/ComboBoxEditor.java: Added javadocs.
1674         * javax/swing/ComboBoxModel.java: Likewise.
1675         * javax/swing/DefaultComboBoxModel.java: Implemented.
1676         * javax/swing/DefaultListCellRenderer.java: Added javadocs
1677         and ran through jalopy to fix formatting style.
1678         (getListCellRendererComponent): Use appropriate border
1679         if renderer has focus and use noFocusBorder when it doesn't.
1680         * javax/swing/JComboBox.java: Implemented.
1681         * javax/swing/JList.java:
1682         (locationToIndex): New Method. Implemented.
1683         (indexToLocation): New Method.
1684         * javax/swing/JPopupMenu.java: 
1685         (visible): New field.
1686         (isVisible): Changed to use new field above.
1687         (setVisible): Likewise.
1688         * javax/swing/MutableComboBoxModel.java: Added javadocs.
1689         * javax/swing/plaf/basic/BasicArrowButton.java: 
1690         (shadow): Changed default color to Color.gray.
1691         * javax/swing/plaf/basic/BasicComboBoxUI.java: New File.
1692         UI delegate for JComboBox.
1693         * javax/swing/plaf/basic/BasicComboPopup.java: New File.
1694         Popup menu containing list of JComboBox's items.
1695         * javax/swing/plaf/basic/BasicComboBoxEditor.java: New File.
1696         * javax/swing/plaf/basic/BasicComboBoxRenderer.java: New File.
1697         * javax/swing/plaf/basic/BasicComboBoxUI.java: New File.
1698         * javax/swing/plaf/basic/BasicComboPopup.java: New File.
1699         * javax/swing/plaf/basic/BasicPopupMenuUI.java:
1700         (popupMenuWillBecomeVisible): Set selected path to the first
1701         element only if it is of type MenuElement. Also fix formatting
1702         style.
1703         * javax/swing/plaf/basic/ComboPopup.java: Added javadocs and missing
1704         methods signatures.
1705         
1706 2004-08-31  Michael Koch  <konqueror@gmx.de>
1708         * javax/swing/text/AbstractDocument.java
1709         (createBranchElement): Use new constructor of BranchElement.
1710         (createLeafElement): Renamed arguments.
1711         (getRootElements): Implemented.
1712         (BranchElement.start): Removed.
1713         (BranchElement.end): Likewise.
1714         (BranchElement.BranchElement): Fixed arguments.
1715         (BranchElement.getEndOffset): Reimplemented.
1716         (BranchElement.getStartOffset): Likewis.
1717         * javax/swing/text/DefaultCaret.java
1718         (paint): Draw simple vertical line as caret instead of a rectangle.
1719         * javax/swing/text/JTextComponent.java
1720         (setText): Use doc directly.
1721         * javax/swing/text/PlainView.java
1722         (nextTabStop): Implemented.
1723         * javax/swing/text/Utilities.java
1724         (drawTabbedText): nextTabStop() returns an absolute x position.
1725         (getTabbedTextWidth): Likewise.
1727 2004-08-31  Graydon Hoare  <graydon@redhat.com>
1729         * java/awt/Component.java 
1730         (isFocusTraversable): Predicate on isLightweight()
1731         (setFocusable): Set isFocusTraversableOverridden.
1732         (requestFocus): Predicate peer dispatch on !isLightweight()
1733         (requestFocusInWindow): Likewise.
1734         (dispatchEventImpl): Coordinate with KeyboardFocusManager.
1735         * java/awt/Container.java
1736         (dispatchEventImpl): Predicate on event mask.
1737         (LightweightDispatcher): Remove focus machinery.
1738         * java/awt/DefaultFocusTraversalPolicy.java
1739         (accept): Expand predicate to include isFocusable(). 
1740         * java/awt/DefaultKeyboardFocusManager.java:
1741         Globally change c.dispatchEvent(e) to redispatchEvent(c,e)
1742         * java/awt/KeyboardFocusManager.java
1743         (redispatchEvent): Synchronize on event to prevent feedback.
1744         * javax/swing/AbstractButton.java
1745         (ButtonFocusListener): Remove class.
1746         (init): Set focusPainted, focusable.
1747         * javax/swing/ActionMap.java (get): Check parent for null. 
1748         * javax/swing/InputMap.java (get): Likewise. 
1749         * javax/swing/JComponent.java
1750         (inputMap_whenFocused): New InputMap.
1751         (inputMap_whenAncestorOfFocused): Likewise.
1752         (inputMap_whenInFocusedWindow): Likewise.
1753         (getActionForKeyStroke): Rewrite.
1754         (getConditionForKeystroke): Likewise.
1755         (ActionListenerProxy): New private class.
1756         (setInputMap): Implement.
1757         (getInputMap): Likewise.
1758         (setActionMap): Likewise.
1759         (getActionMap): Likewise.
1760         (processComponentKeyEvent): New empty method.
1761         (processKeyEvent): Implement.
1762         (processKeyBinding): Likewise.
1763         (resetKeyboardActions): Rewrite.
1764         * javax/swing/KeyStroke.java: Rewrite.
1765         * javax/swing/SwingUtilities.java
1766         (notifyAction): Implement.
1767         (replaceUIActionMap): Likewise.
1768         (replaceUIInputMap): Likewise.
1769         * javax/swing/plaf/basic/BasicButtonListener.java
1770         (focusGained): Implement.
1771         (focusLost): Repaint if focusPainted().
1772         (installKeyboardActions): Install pressed / released actions.
1773         (uninstallKeyboardActions): Implement.
1774         * javax/swing/plaf/basic/BasicButtonUI.java
1775         (focusColor): New field.
1776         (installDefaults): Load focus color, install input map.
1777         (installKeyboardActions): Implement.
1778         (uninstallKeyboardActions): Likewise.
1779         (paintFocus): Rewrite.
1780         * javax/swing/plaf/basic/BasicLookAndFeel.java
1781         (Button.focus): New default, midPurple. 
1782         * javax/swing/plaf/basic/BasicTextUI.java
1783         (kit): Make static.
1784         (installUI): Get doc from kit, load defaults.
1785         (getKeymapName): Implement.
1786         (createKeymap): Likewise.
1787         (installKeyboardActions): Likewise.
1788         (getInputMap): Likewise.
1789         (getActionMap): Likewise.
1790         (createActionMap): Likewise.
1791         * javax/swing/text/AbstractDocument.java
1792         (getStartPosition): Implement.
1793         (getEndPosition): Likewise.
1794         * javax/swing/text/DefaultEditorKit.java
1795         (CopyAction): New class.
1796         (CutAction): Likewise.
1797         (DefaultKeyTypedAction): Likewise.
1798         (InsertBreakAction): Likewise.
1799         (InsertContentAction): Likewise.
1800         (InsertTabAction): Likewise.
1801         (PasteAction): Likewise.
1802         (defaultActions): New static table.
1803         (createCaret): Implement.
1804         (getActions): Likewise.
1805         * javax/swing/text/JTextComponent.java
1806         (KeymapWrapper): New private class.
1807         (KeymapActionMap): Likewise.
1808         (DefaultKeymap): New class.
1809         (keymaps): New static table.
1810         (keymap): New field.
1811         (getKeymap): Implement.
1812         (removeKeymap): Likewise.
1813         (addKeymap): Likewise.
1814         (setKeymap): Likewise.
1815         (loadKeymap): Likewise.
1816         (getActions): Likewise.
1817         (margin): New field.
1818         (JTextComponent): Build and install default keymap.
1819         * javax/swing/text/TextAction.java
1820         (textAction): Call super properly.
1821         (getTextComponent): Implement.
1822         * javax/swing/text/Utilities.java
1823         (drawTabbedText): Adjust position by ascent.
1825 2004-08-31  David Jee  <djee@redhat.com>
1827         PR AWT/17156
1829         * gnu/java/awt/peer/gtk/GtkMenuItemPeer.java
1830         (setEnabled): Make it a native method.
1831         * java/awt/DefaultKeyboardFocusManager.java
1832         (postProcessKeyEvent): Only post event if the menu item
1833         is active.
1834         * java/awt/MenuItem.java:
1835         Private field 'enabled' should be true by default.
1836         * jni/gtk-peer/gnu_java_awt_peer_gtk_GtkMenuItemPeer.c
1837         (setEnabled): New function.
1839 2004-08-31  David Jee  <djee@redhat.com>
1841         PR AWT/17059
1843         * gnu/java/awt/peer/gtk/GtkMenuBarPeer.java
1844         (nativeSetHelpMenu): New native method declaration.
1845         (addHelpMenu): Call nativeSetHelpMenu().
1846         (addMenu): Remove.
1847         * java/awt/MenuBar.java
1848         (setHelpMenu): Call addNotify() on the new help menu.
1849         (add): Call addNotify() on the new menu.
1850         (addNotify): Set the help menu if one exists.
1851         * java/awt/peer/MenuBarPeer.java
1852         (addMenu): Remove.
1853         * jni/gtk-peer/gnu_java_awt_peer_gtk_GtkMenuBarPeer.c
1854         (nativeSetHelpMenu): New method.
1856 2004-08-31  Graydon Hoare  <graydon@redhat.com>
1858         * Makefile.am: Add new files.
1859         * Makefile.in: Regenerate.
1860         * javax/swing/Box.java: Fix setting of layout in ctor.
1861         * javax/swing/JScrollPane.java: Scroll headers as well.
1862         * javax/swing/JTable.java: Reimplement.
1863         * javax/swing/JViewPort.java: Only add non-null children.
1864         * javax/swing/ScrollPaneLayout.java: Correct header calculations.
1865         * javax/swing/Timer.java: Fix stopping null waker.
1866         * javax/swing/plaf/basic/BasicTableHeaderUI.java: New file.
1867         * javax/swing/plaf/basic/BasicTableUI.java: New file.
1868         * javax/swing/table/DefaultTableCellRenderer.java: Configure.
1869         * javax/swing/table/DefaultTableColumnModel.java: Flesh out.
1870         * javax/swing/table/DefaultTableModel.java: Clean up.
1871         * javax/swing/table/JTableHeader.java: Implement.
1873 2004-08-31  Mark Wielaard  <mark@klomp.org>
1875         * javax/swing/JSpinner.java (getChangeListeners): Remove double
1876         semi-colon.
1878 2004-08-31  Mark Wielaard  <mark@klomp.org>
1880         * jni/gtk-peer/gnu_java_awt_peer_gtk_GdkClasspathFontPeerMetrics.c:
1881         Declare variables at top of functions/block.
1882         * jni/gtk-peer/gnu_java_awt_peer_gtk_GdkGraphics2D.c: Likewise.
1884 2004-08-31  Mark Wielaard  <mark@klomp.org>
1886         * java/lang/Rectangle.java (intersects): Check r.width and r.height
1887         first.
1889 2004-08-31  Michael Koch  <konqueror@gmx.de>
1891         * javax/swing/text/PlainView.java
1892         (selectedColor): New field.
1893         (unselectedColor): Likewise.
1894         (font): Likewise.
1895         (updateMetrics): New method.
1896         (lineToRect): Likewise.
1897         (modelToView): Likewise.
1898         (drawSelectedText): Use color from JTextComponent ad draw with
1899         Utilities class.
1900         (drawUnselectedText): Likewise.
1901         (paint): Initialize helper fields.
1902         * javax/swing/text/View.java
1903         (getChildAllocation): New method.
1904         (getViewIndex): Likewise.
1905         (getToolTipText): Likewise.
1907 2004-08-31  Michael Koch  <konqueror@gmx.de>
1909         * javax/swing/text/Utilities.java
1910         (drawTabbedText): Reimplemented.
1911         (getTabbedTextWidth): Likewise.
1913 2004-08-31  Michael Koch  <konqueror@gmx.de>
1915         * javax/swing/plaf/basic/BasicTextUI.java
1916         (installDefaults): Install caret and highlighter.
1917         (modelToView): Use Bias.Forward when calling sibling.
1918         * javax/swing/text/AbstractDocument.java
1919         (ElementEdit): Implements DocumentEvent.ElementChange.
1920         (ElementEdit.ElementEdit): New method.
1921         (ElementEdit.getChildrenAdded): Likewise.
1922         (ElementEdit.getChildrenRemoved): Likewise.
1923         (ElementEdit.getElement): Likewise.
1924         (ElementEdit.getIndex): Likewise.
1925         * javax/swing/text/DefaultCaret.java
1926         (color): Removed.
1927         (textComponent): Renamed from parent, made private.
1928         (selectionVisible): Renamed from vis_sel, made private.
1929         (blinkRate): Renamed from blink, made private.
1930         (magicCaretPosition): Renamed from magic, made private.
1931         (visible): Renamed from vis, made private.
1932         (dot): Made private.
1933         (mark): Likewise.
1934         (deinstall): Remove as MouseMotionListener.
1935         (install): Initialize textComponent first. Add as MouseMotionListener.
1936         (paint): Reimplemented.
1937         * javax/swing/text/JTextComponent.java
1938         (setCaret): Deinstall old caret, install new one and fire property
1939         change after setting property.
1940         (setHighlighter): Deinstall old highlighter, install new one and fire
1941         property change after setting property.
1942         (setCaretColor): Fire property change after setting property.
1943         (setDisabledTextColor): Likewise.
1944         (setSelectedTextColor): Likewise.
1945         (setSelectionColor): Likewise.
1946         (modelToView): New method.
1948 2004-08-31  Michael Koch  <konqueror@gmx.de>
1950         * javax/swing/text/AbstractDocument.java
1951         (getText): Simplified.
1952         * javax/swing/text/Segment.java
1953         (current): New field.
1954         (current): Reimplemented.
1955         (first): Likewise.
1956         (getIndex): Likewise.
1957         (last): Likewise.
1958         (next): Likewise.
1959         (previous): Likewise.
1960         (setIndex): Likewise.
1962 2004-08-31  Michael Koch  <konqueror@gmx.de>
1964         * javax/swing/plaf/basic/BasicButtonUI.java
1965         (defaultTextIconGap): Made protected.
1966         (defaultTextShiftOffset): Likewise.
1967         (textShiftOffset): New field.
1968         (clearTextShiftOffset): New method.
1969         (getTextShiftOffset): Likewise.
1970         (setTextShiftOffset): Likewise.
1972 2004-08-31  Michael Koch  <konqueror@gmx.de>
1974         * javax/swing/plaf/basic/BasicTextUI.java
1975         (installUI): Add eventHandler as property listener.
1976         (uninstallUI): remove eventHandler as propert listener.
1977         (installDefaults): Added comment.
1978         (installListeners): Likewise.
1979         (installKeyboardActions): Likewise.
1980         (uninstallDefaults): Likewise.
1981         (uninstallListeners): Likewise.
1982         (uninstallKeyboardActions): Likewise.
1984 2004-08-31  Michael Koch  <konqueror@gmx.de>
1986         * javax/swing/text/AbstractDocument.java:
1987         Fixed some typos in comments.
1988         (insertString): Reimplemented.
1989         (remove): Likewise.
1990         (replace): New method.
1991         (children): Dont use fully qualified class name.
1992         (DefaultDocumentEvent.offset): Renamed from off.
1993         (DefaultDocumentEvent.length): Renamed from len.
1994         (DefaultDocumentEvent.type): New field.
1995         (DefaultDocumentEvent.DefaultDocumentEvent): New constructor.
1996         (DefaultDocumentEvent.getType): Implemented.
1998 2004-08-31  Michael Koch  <konqueror@gmx.de>
2000         * javax/swing/plaf/basic/BasicTextUI.java
2001         (RootView.textComponent): Removed.
2002         (RootView.RootView): Don't initialize textComponent.
2003         (RootView.getViewFactory): New method.
2004         (EventHandler): New inner class.
2005         (rootView): Initialize at instance creation.
2006         (eventHandler): New field.
2007         (installUI): Don't create view hierarchy directly,
2008         call modelChanged() instead.
2009         (modelChanged): New method.
2010         * javax/swing/text/JTextComponent.java
2011         (setDocument): Fire property change event.
2013 2004-08-31  Michael Koch  <konqueror@gmx.de>
2015         * javax/swing/plaf/basic/BasicTextUI.java
2016         (RootView.paint): Removed debug output.
2017         (paintSafely): Draw highlighter before text.
2018         (paintBackground): Use background color of text component.
2019         * javax/swing/plaf/basic/BasicToggleButtonUI.java:
2020         Reformatted.
2022 2004-08-31  Michael Koch  <konqueror@gmx.de>
2024         * javax/swing/plaf/basic/BasicToolBarUI.java
2025         (BasicToolBarUI): Fixed arguments for constructor.
2026         (createUI): Fixed creation of object.
2028 2004-08-31  Michael Koch  <konqueror@gmx.de>
2030         * javax/swing/DefaultListSelectionModel.java
2031         (fireValueChanged): Renamed from fireSelectionValueChanged,
2032         made protected.
2034 2004-08-31  Michael Koch  <konqueror@gmx.de>
2036         * javax/swing/text/TabSet.java
2037         (TabSet): Implements java.io.Serializable.
2038         * javax/swing/text/TabStop.java
2039         (TabStop): Implements java.io.Serializable.
2040         (TabStop): Made public.
2042 2004-08-31  Michael Koch  <konqueror@gmx.de>
2044         * javax/swing/JComponent.java
2045         (setUI): Fire PropertyChange.
2046         * javax/swing/JLabel.java
2047         (text): Renamed from labelText.
2048         (horizontalAlignment): New default vlaue.
2049         (icon): Renamed from activeIcon.
2050         (displayedMnemonic): Renamed from mnemonicKey, added default value.
2051         (displayedMnemonicIndex): Renamed from underlineChar.
2052         (setDisplayedMnemonic): Reimplemented.
2053         * javax/swing/JRadioButton.java
2054         (JRadioButton): New constructors.
2055         * javax/swing/JTextField.java
2056         (JTextField): Throw exception if colums < 0, initialitialz
2057         this.columns directly and initialize document with text conditionally.
2059 2004-08-31  Michael Koch  <konqueror@gmx.de>
2061         * javax/swing/plaf/basic/BasicFormattedTextFieldUI.java,
2062         javax/swing/plaf/basic/BasicPasswordFieldUI.java,
2063         javax/swing/plaf/basic/BasicTextAreaUI.java: New files.
2064         * javax/swing/text/FieldView.java
2065         (paint): Just call super method for now.
2066         * Makefile.am: Added new files.
2067         * Makefile.in: Regenerated.
2069 2004-08-31  Ka-Hing Cheung  <kahing@javabsp.org>
2071         * javax/swing/AbstractSpinnerModel.java,
2072         javax/swing/JSpinner.java,
2073         javax/swing/SpinnerNumberModel.java,
2074         javax/swing/plaf/basic/BasicSpinnerUI.java:
2075         New files.
2076         * javax/swing/plaf/basic/BasicLookAndFeel.java
2077         (initClassDefaults): Added defaults for BasicSpinnerUI.
2079 2004-08-31  Michael Koch  <konqueror@gmx.de>
2081         * Makefile.am: Added new files.
2082         * Makefile.in: Regenerated.
2084 2004-08-31  Michael Koch  <konqueror@gmx.de>
2086         * javax/swing/TransferHandler.java,
2087         javax/swing/plaf/basic/ComboPopup.java: New files
2088         * Makefile.am: Added javax/swing/TransferHandler.java and
2089         javax/swing/plaf/basic/ComboPopup.java
2090         * Makefile.in: Regenerated.
2092 2004-08-31  Roman Kennke  <roman@ontographics.com>
2094         * javax/swing/text/Utilities.java: New file.
2096 2004-08-31  Michael Koch  <konqueror@gmx.de>
2098         * Makefile.am: Added javax/swing/text/Utilities.java.
2099         * Makefile.in: Regenerated.
2101 2004-08-31  Graydon Hoare  <graydon@redhat.com>
2103         * javax/swing/text/SimpleAttributeSet.java: New file.
2104         * javax/swing/text/StyleConstants.java: New file.
2105         * javax/swing/text/StyleContext.java: New file.
2106         * javax/swing/text/TabSet.java: New file.
2107         * javax/swing/text/TabStop.java: New file.
2108         * javax/swing/text/AbstactDocument.java:
2109         (AbstractElement): Implement attribute support.
2110         * javax/swing/text/AttributeSet.java
2111         (NameAttribute): New static field.
2112         (ResolveAttribute): New static field.
2113         * Makefile.am: Update for new files.
2114         * Makefile.in: Regenerate.
2116 2004-08-31  Craig Black  <craig.black@aonix.com>
2118         * gnu/java/awt/peer/gtk/GdkGraphics.java 
2119         (drawImage): Add support for scaling pixmaps.
2120         * jni/gtk-peer/gnu_java_awt_peer_gtk_GdkGraphics.c
2121         (copyAndScalePixmap): New native method.
2123 2004-08-31  Thomas Fitzsimmons  <fitzsim@redhat.com>
2125         PR AWT/16121
2126         * jni/gtk-peer/gthread-jni.c: Include stdio.h.  Eliminate
2127         type-punning compiler warnings using unions.
2128         (throw): Replace bzero with memset.
2130 2004-08-31  Andreas Tobler  <a.tobler@schweiz.ch>
2131             Thomas Fitzsimmons  <fitzsim@redhat.com>
2133         * jni/gtk-peer/gnu_java_awt_peer_gtk_GdkPixbufDecoder.c: Move
2134         NSA_PB macros to gtkpeer.h.  Include gtkpeer.h.
2135         * jni/gtk-peer/gtkpeer.h: Move NSA_PB macros here.
2136         * jni/gtk-peer/gnu_java_awt_peer_gtk_GtkWindowPeer.c
2137         (nativeSetIconImageFromDecoder): Use NSA_GET_PB_PTR macro.
2139 2004-08-31  Mark Wielaard  <mark@klomp.org>
2141         * native/jni/gtk-peer/gnu_java_awt_peer_gtk_GdkPixbufDecoder.c:
2142         #include gdk.h, not gtk.h. #include jni.h, native_state.h, string.h
2143         and stdlib.h, not gtkpeer.h.
2144         (*vm): New static variable.
2145         (areaPreparedID): Make static.
2146         (areaUpdatedID): Likewise.
2147         (area_prepared): Get and use JNIEnv through stored JavaVM *vm.
2148         (area_prepared): Likewise.
2149         (area_updated): Likewise.
2150         (closed): Likewise.
2151         (initStaticState): Initialize *vm javaVM.
2152         (pumpBytes): Use given env, not global gdk_env.
2154 2004-08-31  Mark Wielaard  <mark@klomp.org>
2156         * java/awt/geom/CubicCurve2D.java (solveCubic): Removed duplicate
2157         comments.
2159 2004-08-31  Sven de Marothy  <sven@physto.se>
2161         * java/awt/geom/CubicCurve2D.java: Reindent.
2162         (contains): Implemented.
2163         (intersects): Implemented.
2164         * java/awt/geom/QuadCurve2D.java: Likewise.
2165         * java/awt/geom/GeneralPath.java: Reindent and document.
2166         Fully (re)implemented using separate xpoints and ypoints
2167         float[] coords.
2168         * java/awt/geom/RoundRectangle2D.java: Several bugfixes (Bug #6007).
2170 2004-08-31  Michael Koch  <konqueror@gmx.de>
2172         * javax/swing/JMenuItem.java
2173         (getMenuDragMouseListeners): New method.
2174         (getMenuKeyListeners): Likewise.
2176 2004-08-31  Michael Koch  <konqueror@gmx.de>
2178         * javax/swing/AbstractButton.java
2179         (model): Made protected.
2180         (actionListener): Likewise.
2181         (changeListener): Likewise.
2182         (itemListener): Likewise.
2183         (multiClickThreshhold): New field.
2184         (getActionListeners): New method.
2185         (getChangeListeners): Likewise.
2186         (getItemListeners): Likewise.
2187         (fireItemStateChanged): Simplified implementation.
2188         (fireActionPerformed): Likewise.
2189         (fireStateChanged): Likewise.
2190         (getMultiClickThreshhold): New method.
2191         (setMultiClickThreshhold): Likewise.
2193 2004-08-31  Tom Tromey  <tromey@redhat.com>
2195         * java/awt/image/Kernel.java (clone): Use super.clone().
2197 2004-08-31  David Jee  <djee@redhat.com>
2199         PR AWT/16682
2200         * gnu/java/awt/peer/gtk/GtkFramePeer.java
2201         (nativeSetIconImage): Rename to nativeSetIconImageFromDecoder.
2202         (nativeSetIconImageFromData): New native method declaration.
2203         (setIconImage): Handle images not produced from GdkPixbufDecoder.
2204         * gnu/java/awt/peer/gtk/GtkImage.java
2205         (getPixelCache): New method.
2206         (getColorModel): New method.
2207         * jni/gtk-peer/gnu_java_awt_peer_gtk_GtkWindowPeer.c
2208         (nativeSetIconImage): Rename to nativeSetIconImageFromDecoder.
2209         (free_pixbuf_data): New helper function.
2210         (nativeSetIconImageFromData): New function.
2212 2004-08-31  Graydon Hoare  <graydon@redhat.com>
2214         PR SWING/16576
2215         * javax/swing/JLayeredPane.java 
2216         (setLayer): Permit changing layer after addition.
2217         (setPosition): Permit over-length positions.
2218         (layerToRange): Compare intValue()s.
2219         * javax/swing/Box.java (createHorizontalBox): Implement.
2220         (createRigidArea): Likewise.
2221         (createVerticalBox): Likewise.
2223 2004-08-31  Kim Ho  <kho@redhat.com>
2225         * java/awt/Component.java:
2226         (processMouseEvent): Consume event after
2227         listeners process it.
2228         (processMouseMotionEvent): ditto.
2229         (processMouseWheelEvent): ditto.
2230         * java/awt/Container.java:
2231         (acquireComponentForMouseEvent):
2232         Do not dispatch to events that have been
2233         removed from the Container.
2234         (handleEvent): Consume the MouseEvents.
2235         * javax/swing/RepaintManager.java:
2236         (paintDirtyRegions): Do not add to list of 
2237         damaged areas if the component has no root.
2239 2004-08-31  Michael Koch  <konqueror@gmx.de>
2241         * javax/swing/plaf/basic/BasicMenuItemUI.java: Clean ip imports.
2243 2004-08-31  Mark Wielaard  <mark@klomp.org>
2245         * gnu/java/awt/peer/gtk/GtkToolkit.java (getFontPeer): Don't return
2246         null when a MissingResourceException is thrown. Should never happen.
2248 2004-08-31  Mark Wielaard  <mark@klomp.org>
2250         * java/awt/EventQueue.java (postEvent): Throw NullPointerException
2251         when argument is null.
2253 2004-08-31  Mark Wielaard  <mark@klomp.org>
2255         * jni/gtk-peer/gnu_java_awt_peer_gtk_GtkComponentPeer.c
2256         (Java_gnu_java_awt_peer_gtk_GtkComponentPeer_addExposeFilter):
2257         Define hid at start of function.
2258         (Java_gnu_java_awt_peer_gtk_GtkComponentPeer_removeExposeFilter):
2259         Likewise.
2261 2004-08-31  Mark Wielaard  <mark@klomp.org>
2263         * gnu/java/awt/EmbeddedWindow.java: Reindent.
2264         * javax/swing/JButton.java: Reindent.
2265         * javax/swing/JCheckBox.java: Reindent.
2267 2004-08-31  Mark Wielaard  <mark@klomp.org>
2269         * Makefile.am (gtk_c_source_files): Added
2270         jni/gtk-peer/gnu_java_awt_peer_gtk_GThreadNativeMethodRunner.c.
2271         (gtk_awt_peer_sources): Added
2272         gnu/java/awt/peer/gtk/GThreadMutex.java and
2273         gnu/java/awt/peer/gtk/GThreadNativeMethodRunner.java.
2274         * Makefile.in: Regenerated.
2276 2004-08-31  Archie Cobbs  <archie@dellroad.org>
2278         * jni/gtk-peer/gthread-jni.c: don't #include nonexistent files
2280 2004-08-31  Steven Augart  <augart@watson.ibm.com>
2282         * jni/gtk-peer/gthread-jni.c (c-font-lock-extra-types): 
2283         Added jfieldID, jmethodID.
2285 2004-08-31  Mark Wielaard  <mark@klomp.org>
2287         * jni/gtk-peer/gnu_java_awt_peer_gtk_GtkMainThread.c
2288         (Java_gnu_java_awt_peer_gtk_GtkMainThread_gtkInit): Initialize
2289         gdk_env before calling any gdk or gtk function.
2291         * gnu/java/awt/peer/gtk/GtkMainThread.java (gtkInitCalled): New field.
2292         (GtkMainThread): Call wait() in while loop waiting for gtkInitCalled.
2293         (run): Set gtkInitCalled.
2295 2004-08-31  Steven Augart  <augart@watson.ibm.com>
2297         * gnu/java/awt/peer/gtk/GtkMainThread.java (run): Pass the value of 
2298         the gnu.classpath.awt.gtk.portable.native.sync system property to C.
2300         * jni/gtk-peer/gnu_java_awt_peer_gtk_GtkMainThread.c
2301         (Java_gnu_java_awt_peer_gtk_GtkMainThread_gtkInit): New argument,
2302         portableNativeSync.  Delegate PORTABLE_NATIVE_SYNC work to
2303         init_glib_threads. 
2304         (init_glib_threads): New function.
2306 2004-08-31  Mark Wielaard  <mark@klomp.org>
2308         * jni/gtk-peer/gthread-jni.c: Define MIN_, MAX_ and NORM_
2309         PRIORITY when not already defined in header file.
2311 2004-08-31  Mark Wielaard  <mark@klomp.org>
2313         * jni/gtk-peer/gthread-jni.c (setup_cache): Call
2314         ExceptionOccurred, not ExceptionCheck, when we don't have JNI 1.2.
2316 2004-08-31  Steven Augart  <augart@watson.ibm.com>
2318         * gnu/native/jni/gtk-peer/gthread-jni.c: Indentation fixes.
2319         Implemented missing functions for GTK2.
2320         Added error handling.
2321         Renamed static functions out of the g_ namespace.
2322         Added TRACE_API_CALLS, EXPLAIN_TROUBLE, EXPLAIN_BROKEN, 
2323         EXPLAIN_BADLY_BROKEN, and DELETE_LOCAL_REFS options.
2324         Rewrote global-reference code.
2325         Eliminated cascading errors.
2326         (mutex_trylock_jni_impl) Fully implemented.
2327         (cond_timed_wait_jni_impl) Went from millisecond to microsecond
2328         resolution.
2329         (setup_cache) New function.
2330         (mutex_cond_wait_jni_impl, mutex_cond_timed_wait_jni_impl) Fixed
2331         bug where they were not unlocking the GMutex associated with the
2332         condition variable during the wait on that condition variable.
2334         * native/jni/gtk-peer/gnu_java_awt_peer_gtk_GtkMainThread.c,
2335         native/jni/gtk-peer/gthread-jni.c,
2336         native/jni/gtk-peer/gthread-jni.h
2337         (g_thread_jni_functions): Renamed to ...
2338         (portable_native_sync_jni_functions): this name.
2339         (gdk_vm): Renamed to...
2340         (the_vm): this name.
2342         * native/jni/gtk-peer/gnu_java_awt_peer_gtk_GtkMainThread.c
2343         (gdk_vm): Removed duplicate definition.
2344         (gtkInit): Removed stray message to stdout.
2345         (gtkInit): Use g_malloc and g_free instead of malloc and free.
2346         (gtkInit): Fix a const assignment bug.
2347         (gtkInit): Simplified code.
2349         * gnu/java/awt/peer/gtk/GThreadNativeMethodRunner.java,
2350         native/jni/gtk-peer/gnu_java_awt_peer_gtk_GThreadNativeMethodRunner.c,
2351         native/jni/gtk-peer/gnu_java_awt_peer_gtk_GThreadNativeMethodRunner.h,
2352         gnu/java/awt/peer/gtk/GThreadMutex.java:
2353         New files.
2355 2004-08-31  Mark Wielaard  <mark@klomp.org>
2357         * javax/swing/Box.java: Put FIXME comment above class declaration.
2358         * javax/swing/JButton.java: Remove illegal L&F HTML from comments.
2359         * javax/swing/JCheckBox.java: Likewise.
2360         * javax/swing/JDialog.java: Likewise.
2361         * javax/swing/JRadioButton.java: Likewise.
2362         * javax/swing/JToggleButton.java: Likewise.
2363         * javax/swing/UIManager.java: Likewise.
2364         * javax/swing/border/TitledBorder.java: Likewise.
2365         * javax/swing/plaf/basic/BasicLabelUI.java: Likewise.
2366         * javax/swing/plaf/basic/BasicLookAndFeel.java: Likewise.
2367         * javax/swing/plaf/basic/BasicPopupMenuSeparatorUI.java: Likewise.
2368         * javax/swing/plaf/basic/BasicProgressBarUI.java: Likewise.
2369         * javax/swing/plaf/basic/BasicScrollBarUI.java: Likewise.
2370         * javax/swing/plaf/basic/BasicSeparatorUI.java: Likewise.
2371         * javax/swing/text/JTextComponent.java: Likewise.
2373 2004-08-31  David Jee  <djee@redhat.com>
2375         PR AWT/16682
2376         * gnu/java/awt/peer/gtk/GtkFramePeer.java
2377         (setIconImage): Add a FIXME for unhandled cases.
2379 2004-08-31  Thomas Fitzsimmons  <fitzsim@redhat.com>
2381         PR AWT/16040
2382         * gnu/awt/LightweightRedirector.java: Call getModifiersEx, not
2383         getModifiers.  Replace old button masks with new ones.
2384         * gnu/awt/xlib/XEventLoop.java: Likewise.
2385         * gnu/java/awt/peer/gtk/GtkButtonPeer.java: Likewise.
2386         * gnu/java/awt/peer/gtk/GtkComponentPeer.java,
2387         jni/gtk-peer/gnu_java_awt_peer_gtk_GtkComponentPeer.c: Likewise.
2388         * gnu/java/awt/peer/gtk/GtkListPeer.java: Likewise.
2389         * gnu/java/awt/peer/gtk/GtkTextFieldPeer.java: Likewise.
2390         * java/awt/AWTKeyStroke.java: Remove old modifier masks.
2391         * java/awt/Component.java: Replace old modifier masks with new
2392         ones.
2393         * java/awt/Container.java: Call getModifiersEx, not
2394         getModifiers.
2395         * java/awt/DefaultKeyboardFocusManager.java: Likewise.  Remove
2396         old modifier masks.
2397         * javax/swing/JMenuItem.java: Replace old button masks with new
2398         ones.
2399         * javax/swing/KeyStroke.java: Call getModifiersEx, not
2400         getModifiers.
2401         * javax/swing/SwingUtilities.java: Likewise.
2402         * javax/swing/plaf/basic/BasicButtonListener.java: Likewise.
2403         * javax/swing/plaf/basic/BasicInternalFrameUI.java: Likewise.
2404         * jni/gtk-peer/gnu_java_awt_peer_gtk_GtkEvents.c: Replace old
2405         mask macros with new ones.
2406         * jni/gtk-peer/gtkpeer.h: Replace old button and modifier mask
2407         macros with new ones representing new masks.
2409 2004-08-31  Craig Black  <craig.black@aonix.com>
2411         * gnu/java/awt/peer/gtk/GdkGraphics.java
2412         (drawRoundRect): Implemented.
2413         (fillRoundRect): Implemented.
2414         * gnu/java/awt/peer/gtk/GdkGraphics2D.java
2415         (drawRoundRect): Reimplemented to match GdkGraphics.
2416         (fillRoundRect): Reimplemented to match GdkGraphics.
2418 2004-08-31  Mark Wielaard  <mark@klomp.org>
2420         * Makefile.in: Regenerated.
2422 2004-08-31  Michael Koch  <konqueror@gmx.de>
2424         * gnu/java/awt/EmbeddedWindow.java
2425         (addNotify): Use AccessController to allow execution of privileged
2426         code.
2428 2004-08-31  Michael Koch  <konqueror@gmx.de>
2430         * gnu/java/awt/EmbeddedWindow.java
2431         (static): Removed.
2432         (addNotify): Set peer via reflection.
2433         (setWindowPeer): Removed.
2434         * gnu/java/awt/natEmbeddedWindow.cc: Removed.
2435         * Makefile.am (nat_source_files):
2436         Removed gnu/java/awt/natEmbeddedWindow.cc.
2438 2004-08-31  Bryce McKinlay  <mckinlay@redhat.com>
2440         * Makefile.am: Add  gnu/java/security/action/GetPropertyAction.java
2441         and gnu/java/security/action/SetAccessibleAction.java.
2443 2004-08-31  Bryce McKinlay  <mckinlay@redhat.com>
2445         * gnu/java/security/action/GetPropertyAction.java (setParameters):
2446         Renamed from 'setName'. New 2-argument form with default value.
2447         (run): Pass default 'value' parameter to System.getProperty().
2448         * gnu/java/security/action/SetAccessibleAction.java: Fix javadoc
2449         typos.
2451 2004-08-31  Bryce McKinlay  <mckinlay@redhat.com>
2453         * gnu/java/security/action/GetPropertyAction.java: New class.
2454         * gnu/java/security/action/SetAccessibleAction.java: New class.
2456 2004-08-31  David Jee  <djee@redhat.com>
2458         * gnu/java/awt/peer/gtk/GtkFramePeer.java
2459         (setIconImage): Check if image is null.
2461 2004-08-31  David Jee  <djee@redhat.com>
2463         * gnu/java/awt/peer/gtk/GtkFramePeer.java
2464         (create): Set the icon image.
2465         (nativeSetIconImage): New native method declaration.
2466         (setIconImage): Implement.
2467         * jni/gtk-peer/gnu_java_awt_peer_gtk_GtkWindowPeer.c
2468         (nativeSetIconImage): New function.
2470 2004-08-31  Dalibor Topic <robilad@kaffe.org>
2472         * native/jni/gtk-peer/gnu_java_awt_peer_gtk_GtkFileDialogPeer.c
2473         (filenameFilterCallback): Declare local variable accepted before use.
2475 2004-08-31  Dalibor Topic <robilad@kaffe.org>
2477         * gnu/java/awt/ComponentDataBlitOp.java:
2478         Cleaned up imports.
2480 2004-08-31  Tom Tromey  <tromey@redhat.com>
2482         * gnu/java/awt/peer/GLightweightPeer.java,
2483         gnu/java/awt/peer/gtk/GdkGraphics2D.java,
2484         gnu/java/awt/peer/gtk/GtkComponentPeer.java,
2485         javax/swing/JScrollPane.java: Removed
2486         redundant imports.
2488 2004-08-31  David Jee  <djee@redhat.com>
2490         * java/awt/DefaultKeyboardFocusManager.java
2491         (postProcessKeyEvent): Only activate MenuShortcuts on KEY_PRESSED
2492         event.  Fix shift modifier checking.
2493         * jni/gtk-peer/gnu_java_awt_peer_gtk_GtkMenuPeer.c
2494         (accel_attach): Remove.
2495         (setupAccelGroup): Remove calls to accel_attach.
2497 2004-08-31  Thomas Fitzsimmons  <fitzsim@redhat.com>
2499         * gnu/java/awt/peer/gtk/GtkArg.java: Remove file.
2500         * gnu/java/awt/peer/gtk/GtkArgList.java: Remove file.
2502         * Makefile.am (gtk_awt_peer_sources): Remove GtkArg.java and
2503         GtkArgList.java.
2504         (gtk_c_files): Use CAIRO_CFLAGS and PANGOFT2_CFLAGS, not _LIBS.
2505         * Makefile.in: Regenerate.
2506         * gnu/java/awt/peer/gtk/GtkButtonPeer.java,
2507         jni/gtk-peer/gnu_java_awt_peer_gtk_GtkButtonPeer.c
2508         (create(String)): New method.
2509         (create): Call new create method.
2510         (getArgs): Remove method.
2511         * gnu/java/awt/peer/gtk/GtkCheckboxPeer.java,
2512         jni/gtk-peer/gnu_java_awt_peer_gtk_GtkCheckboxPeer.c 
2513         (nativeCreate): Rename to create.
2514         (gtkSetLabel): Rename to gtkButtonSetLabel.
2515         (gtkToggleButtonSetActive): New method.
2516         (create): Call gtkToggleButtonSetActive and gtkButtonSetLabel.
2517         (setState): Replace set call with gtkToggleButtonSetActive.
2518         (setLabel): Replace gtkSetLabel call with gtkButtonSetLabel.
2519         (getArgs): Remove method.
2520         * gnu/java/awt/peer/gtk/GtkComponentPeer.java,
2521         jni/gtk-peer/gnu_java_awt_peer_gtk_GtkComponentPeer.c
2522         (gtkWidgetSetSensitive): New method.
2523         (gtkWidgetSetParent): Likewise.
2524         (GtkComponentPeer): Call setParent, setComponentBounds and
2525         setVisibleAndEnabled.
2526         (setParent): New method.
2527         (setComponentBounds): New method.
2528         (setVisibleAndEnabled): New method.
2529         (setEnabled): Call gtkWidgetSetSensitive.
2530         (getArgs): Remove method.
2531         Remove all set methods.
2532         * gnu/java/awt/peer/gtk/GtkDialogPeer.java (create): Call
2533         gtkWindowSetModal, setTitle and setResizable.
2534         (getArgs): Remove method.
2535         * gnu/java/awt/peer/gtk/GtkFileDialogPeer.java
2536         (setComponentBounds): New method.
2537         * gnu/java/awt/peer/gtk/GtkFramePeer.java (setResizable):
2538         Replace set call with gtkWindowSetResizable.
2539         (getArgs): Remove method.
2540         (create): Call setTitle and setResizable.
2541         * gnu/java/awt/peer/gtk/GtkWindowPeer.java,
2542         jni/gtk-peer/gnu_java_awt_peer_gtk_GtkWindowPeer.c
2543         (gtkWindowSetTitle): New method.
2544         (gtkWindowSetResizable): New method.
2545         (gtkWindowSetModal): New method.
2546         (setParent): New method.
2547         (setVisibleAndEnabled): New method.
2548         (getArgs): Remove method.
2549         (setTitle): Call gtkWindowSetTitle.
2550         (setResizable): Call gtkWindowSetResizable.
2551         * jni/gtk-peer/gtkpeer.h [DEBUG_LOCKING]: New define to turn on
2552         and off locking instrumentation.
2554 2004-08-31  Kim Ho  <kho@redhat.com>
2556         * Makefile.am: Add new file.
2557         * Makefile.in: Regenerate.
2558         * gcj/Makefile.in: Regenerate
2559         * include/Makefile.in:
2560         * java/awt/Container.java:
2561         (acquireComponentForMouseEvent): Respect 
2562         the event mask when looking for candidate.
2563         * javax/swing/JComponent.java:
2564         Remove toolTip field.
2565         (createToolTip): Create a tooltip on demand.
2566         (setToolTipText): Register with the ToolTipManager.
2567         (getToolTipText(MouseEvent)): Return getToolTipText().
2568         * javax/swing/JToolTip.java: Implement.
2569         * javax/swing/Timer.java: Jalopy.
2570         (restart): Call stop, then start.
2571         (stop): Interrupt the timer rather than wait for
2572         the timer to come to a stop naturally.
2573         * javax/swing/ToolTipManager.java: Implement.
2574         * javax/swing/plaf/basic/BasicLookAndFeel.java:
2575         Change ToolTip.background color.
2576         * javax/swing/plaf/basic/BasicToolTipUI.java:
2577         Implement.
2578         * testsuite/Makefile.in: Regenerate
2580 2004-08-31  Jerry Quinn  <jlquinn@optonline.net>
2582         * java/awt/image/DirectColorModel.java (DirectColorModel): Fix
2583         constructor param comments.
2585 2004-08-31  Thomas Fitzsimmons  <fitzsim@redhat.com>
2587         * java/awt/Component.java: Document AWT 1.0 event handler
2588         methods.
2590 2004-08-31  Roman Kennke  <roman@ontographics.com>
2592         * javax/swing/Box.java:
2593         (createGlue): Implemented
2594         (createHorizontalGlue): Implemented
2595         (createHorizontalStrut): Implemented
2596         (createVerticalGlue): Implemented
2597         (createVerticalStrut): Implemented
2599 2004-08-31  David Jee  <djee@redhat.com>
2601         * gnu/java/awt/peer/gtk/GtkChoicePeer.java
2602         (GtkChoicePeer): Do not automatically select first item.
2603         (getHistory): Remove.
2604         (nativeGetSelected): New method.
2605         (nativeRemoveAll): New method.
2606         (add): Use nativeGetSelected() instead of getHistory().
2607         (remove): Likewise.
2608         (removeAll): Call nativeRemoveAll().
2609         * jni/gtk-peer/gnu_java_awt_peer_gtk_GtkChoicePeer.c
2610         (create): Migrate to GtkComboBox.
2611         (append): Likewise.
2612         (nativeAdd): Likewise.
2613         (nativeRemove): Likewise.
2614         (select): Likewise.
2615         (nativeRemoveAll): New method.
2616         (nativeGetSelected): New method.
2617         (selection_changed): New method.
2618         (getHistory): Remove.
2619         (item_activate): Remove.
2620         (item_removed): Remove.
2621         (connect_choice_item_selectable_hook): Remove.
2623 2004-08-31  Thomas Fitzsimmons  <fitzsim@redhat.com>
2625         * gnu/java/awt/peer/gtk/GtkTextFieldPeer.java (create): Use tf
2626         variable in setEditable call.
2628         * gnu/java/awt/peer/gtk/GtkTextFieldPeer.java,
2629         jni/gtk-peer/gnu_java_awt_peer_gtk_GtkTextFieldPeer.c
2630         (gtkWidgetSetBackground): New method.
2631         (gtkWidgetSetForeground): Likewise.
2632         (create): Set peer's editable state based on awtComponent's.
2634         * java/awt/Button.java (Button()): Use empty string rather than
2635         null in no-label constructor.
2637 2004-08-31  Roman Kennke  <roman@ontographics.com>
2639         * javax/swing/BoxLayout.java: Reimplement.
2641 2004-08-31  Thomas Fitzsimmons  <fitzsim@redhat.com>
2643         * gnu/java/awt/peer/gtk/GdkGraphics.java,
2644         gnu_java_awt_peer_gtk_GdkGraphics.c
2645         (initState(GtkComponentPeer)): Don't return array of colour
2646         values.
2647         (GdkGraphics(int,int)): Set default font to size 12.
2648         (GdkGraphics(GtkComponentPeer)): Set graphics colour to
2649         component's foreground colour.
2650         * gnu/java/awt/peer/gtk/GdkGraphics2D.java,
2651         gnu_java_awt_peer_gtk_GdkGraphics2D.c
2652         (initState(GtkComponentPeer)): Don't return array of colour
2653         values.
2654         (GdkGraphics2D(GtkComponentPeer)): Set foreground and background
2655         colours to component's colours.
2656         (current_colors_of_widget): Remove function.
2657         * gnu/java/awt/peer/gtk/GtkOffScreenImage.java (getGraphics):
2658         Return a new graphics object.
2659         * java/awt/Font.java (toString): Fix format.
2660         * java/awt/Graphics.java (toString): Likewise.
2662 2004-08-31  Craig Black  <craig.black@aonix.com>
2664         * native/jni/gtk-peer/gnu_java_awt_peer_gtk_GtkMenuPeer.c
2665         (addTearOff): New function.
2666         * gnu/java/awt/peer/gtk/GtkMenuPeer.java (addTearOff):
2667         New native method.
2668         (init): Call addTearOff() when menu.isTearOff().
2670 2004-08-31  Bryce McKinlay  <mckinlay@redhat.com>
2672         * gnu/java/awt/ClasspathToolkit.java (createImageProducer): New.
2673         Default implementation.
2674         * gnu/java/awt/peer/gtk/GtkToolkit.java (createImageProducer): New.
2675         Implement using GdkPixbufDecoder.
2677 2004-08-31  David Jee  <djee@redhat.com>
2679         * gnu/java/awt/peer/gtk/GtkComponentPeer.java
2680         (GtkComponentPeer): Use gtkWidgetGetPreferredDimensions() for
2681         setting the size of GtkFileDialogPeers.
2682         * jni/gtk-peer/gnu_java_awt_peer_gtk_GtkComponentPeer.c
2683         (gtkWidgetGetPreferredDimensions): For widgets extending GtkWindow,
2684         use their default sizes rather than their natural requisitions.
2686 2004-08-31  Michael Koch  <konqueror@gmx.de>
2688         * javax/swing/JFormattedTextField.java
2689         (JFormattedTextField): Implemented.
2690         * javax/swing/text/DefaultEditorKit.java
2691         (BeepAction): New inner class.
2692         * javax/swing/text/Segment.java
2693         (partialReturn): New field.
2694         (setPartialReturn): New method.
2695         (isPartialReturn): Likewise.
2696         * javax/swing/text/View.java
2697         (createFragment): Fixed typo.
2698         (getStartOffset): New method.
2699         (getEndOffset): Likewise.
2701 2004-08-31  Michael Koch  <konqueror@gmx.de>
2703         * javax/swing/table/DefaultTableColumnModel.java
2704         (serialVersionUID): Made private.
2705         (listenerList): Initialize.
2706         (changeEvent): Initialize.
2707         * javax/swing/table/JTableHeader.java
2708         (JTableHeader): New constructors.
2709         (createDefaultColumnModel): New method.
2710         * javax/swing/table/TableColumn.java
2711         (setHeaderRenderer): Simplified code.
2712         (setCellRenderer): Likewise.
2713         (setWidth): Likewise.
2715 2004-08-31  Tom Tromey  <tromey@redhat.com>
2717         * java/text/AttributedString.java (AttributedString): Use
2718         ArrayList to build array of attribute ranges.  Don't use
2719         `attribs' before it is set.
2721 2004-08-30  Andreas Tobler  <a.tobler@schweiz.ch>
2723         * HACKING: Remove reference to special automake. No longer needed.
2725 2004-08-30  Tom Tromey  <tromey@redhat.com>
2727         * gnu/java/security/util/Prime.java (generateRandomPrime): Use
2728         return result from `add'.
2730 2004-08-30  Tom Tromey  <tromey@redhat.com>
2732         * java/rmi/server/UID.java (UID): Read `nextCount', not count.
2734 2004-08-30  Andreas Tobler  <a.tobler@schweiz.ch>
2736         * gnu/java/security/der/DEREncodingException.java: Remove whitespaces.
2738 2004-08-30  Jeroen Frijters  <jeroen@frijters.net>
2740         * java/io/File.java File(String,String): Fixed handling of empty
2741         path.
2743 2004-08-30  Casey Marshall  <csm@gnu.org>
2745         Author e-mail updated for all files.
2746         * gnu/java/security/OID.java (equals): Test if the aurgment is an
2747         instance of OID.
2748         (compareTo): Use `equals'.
2749         * gnu/java/security/der/BitString.java (equals): Test if the
2750         argument is an instance of BitString.
2751         * gnu/java/security/der/DERReader.java: Removed NIO imports.  Made
2752         class final. Made fields private.
2753         (<init>): New constructor.
2754         (skip): New method.
2755         (makeString): Made static; don't use NIO.
2756         (fromIso88591, fromUtf16Be, fromUtf8): New methods.
2757         * gnu/java/security/der/DERWriter.java: Fixed imports.
2758         (writeString): Don't use NIO.
2759         (toIso88591, toUtf16Be, toUtf8): New methods.
2760         * gnu/java/security/der/DERValue.java: Formatting changes only.
2761         * gnu/java/security/der/DER.java: Likewise.
2763 2004-08-30  Tom Tromey  <tromey@redhat.com>
2765         * java/nio/CharBuffer.java (put): Fix typo.
2766         * java/nio/DoubleBuffer.java (put): Fix typo.
2767         * java/nio/FloatBuffer.java (put): Fix typo.
2768         * java/nio/IntBuffer.java (put): Fix typo.
2769         * java/nio/LongBuffer.java (put): Fix typo.
2770         * java/nio/ShortBuffer.java (put): Fix typo.
2772 2004-08-30  Florian Weimer  <fw@deneb.enyo.de>
2774         * java/nio/ByteBuffer.java (put): Fix typo.
2776 2004-08-30  Casey Marshall  <csm@gnu.org>
2778         * java/security/DummyKeyPairGenerator.java (clone): Removed
2779         useless instanceof check.
2780         * java/security/DummyMessageDigest.java (clone): Likewise.
2781         * java/security/DummySignature.java (clone): Likewise.
2782         * java/security/MessageDigest.java (clone): Remove useless
2783         instanceof check.
2784         * java/security/MessageDigestSpi.java (clone): Likewise.
2785         * java/security/Signature.java (clone): Provide meaningful
2786         implementation.
2787         * java/security/SignatureSpi.java (clone): Likewise.
2789 2004-08-29  Mark Wielaard  <mark@klomp.org>
2791         * java/util/Arrays.java
2792         (sort(byte[], int, int)): Check fromIndex < 0.
2793         (sort(char[], int, int)): Likewise.
2794         (sort(short[], int, int)): Likewise.
2795         (sort(int[], int, int)): Likewise.
2796         (sort(long[], int, int)): Likewise.
2797         (sort(float[], int, int)): Likewise.
2798         (sort(double[], int, int)): Likewise.
2799         (sort(Object[], int, int, Comparator)): Likewise.
2800         (qsort(byte[], int, int)): Honor lower bound from in insertion sort.
2801         (qsort(char[], int, int)): Likewise.
2802         (qsort(short[], int, int)): Likewise.
2803         (qsort(int[], int, int)): Likewise.
2804         (qsort(long[], int, int)): Likewise.
2805         (qsort(float[], int, int)): Likewise.
2806         (qsort(double[], int, int)): Likewise.
2808 2004-08-29  Andrew John Hughes  <gnu_andrew@member.fsf.org>
2810         * java/util/AbstractCollection.java, java/util/AbstractList.java,
2811         java/util/AbstractMap.java, java/util/AbstractSequentialList.java,
2812         java/util/ArrayList.java, java/util/Arrays.java,
2813         java/util/BitSet.java, java/util/Calendar.java,
2814         java/util/Collection.java, java/util/ListIterator.java,
2815         java/util/Map.java, java/util/SortedSet.java:
2816         Added additional exceptions to documentation, along
2817         with some additions and corrections.
2819 2004-08-27  Hans Boehm  <Hans.Boehm@hp.com>
2821         * configure.ac: Handle --enable-gc-debug.
2822         * configure: Regenerate.
2823         * include/config.h.in (LIBGCJ_GC_DEBUG): Add.
2824         * boehm.cc: Include gc_mark.h, javaxfc.h, but no GC private files.
2825         Rearrange include file order.
2826         (GC_DEBUG): Set if LIBGCJ_GC_DEBUG is set.
2827         (GC_finalize_all, GC_debug_generic_malloc): Don't declare.
2828         (disable_gc_mutex): Delete along with all references.
2829         (_Jv_MarkObj, _Jv_MarkArray): Use public types,
2830         adjust for debug header size.
2831         (_Jv_AllocObj, _Jv_allocPtrFreeObj): Define out of line for
2832         debug case.
2833         (_Jv_AllocArray): Declare min_heap_addr only if needed.
2834         (gcj_describe_type_fn): New.
2835         (_Jv_InitGC): Use GC_new_free_list, GC_new_proc, and GC_new_kind.
2836         Register gcj_describe_type_fn.
2837         * include/boehm-gc.h:
2838         (_Jv_AllocObj, _Jv_allocPtrFreeObj):
2839         Don't define, but declare, for debug case.
2840         * java/lang/natObject.cc:
2841         (GC_DEBUG): Define if LIBGCJ_GC_DEBUG is set.
2843 2004-08-26  Mark Wielaard  <mark@klomp.org>
2845         Fixes PR libgcj/17002:
2846         * java/util/TimeZone.java (defaultZone): Try a couple of ways to get
2847         a TimeZoneId string and then try to convert that to a TimeZone with
2848         getDefaultSystemTimeZone(String).
2849         (timezones0): Changed type from Hashtable to HashMap.
2850         (timezones): Create HashMap, not Hashtable.
2851         (getDefaultTimeZone): New method, rewritten from CNI version.
2852         (readTimeZoneFile): New method.
2853         (readtzFile): Likewise.
2854         (skipFully): Likewise.
2855         * java/util/natTimeZone.cc (getSystemTimeZone): Renamed to
2856         getDefaultTimeZoneId and rewritten.
2857         (getDefaultTimeZoneId): Rewritten in java.
2858         
2859 2004-08-25  David Daney  <daney@avtrex.com>
2861         * Makefile.am (AM_GCJFLAGS):  Add LIBGCJ_JAVAFLAGS.
2862         * Makefile.in: Regenerated.
2864 2004-08-23  Bryce McKinlay  <mckinlay@redhat.com>
2866         * prims.cc (JVMPI_NOTIFY_ALLOC): New macro. Call jvmpi_notify_alloc
2867         only if jvmpi is enabled.
2868         (jvmpi_notify_alloc): Don't check if jvmpi is enabled here.
2869         (_Jv_AllocObjectNoFinalizer): Use JVMPI_NOTIFY_ALLOC.
2870         (_Jv_AllocString): Likewise.
2871         (_Jv_AllocPtrFreeObject): Likewise.     
2873 2004-08-23  Hans Boehm  <Hans.Boehm@hp.com>
2875         * defineclass.cc: Include <stdio.h>.
2876         * java/lang/natClassLoader.cc: Include <stdio.h>.
2878 2004-08-21  Andreas Tobler  <a.tobler@schweiz.ch>
2879             Michael Koch  <konqueror@gmx.de>
2881         * Makefile.am (lib_gnu_java_awt_peer_gtk_la_LINK): Added.
2882         * Makefile.in: Regenerated.
2884 2004-08-20  Michael Koch  <konqueror@gmx.de>
2886         * configure.ac: Replaced all AC_TRY_COMPILE macros with
2887         AC_COMPILE_IFELSE macros.
2889 2004-08-20  Michael Koch  <konqueror@gmx.de>
2891         * configure.in: Renamed to configure.ac.
2892         * configure.ac: New file.
2893         * configure, Makefile.in, gcj/Makefile.in, include/Makefile.in
2894         include/config.h.in, testsuite/Makefile.in: Regenerated.
2896 2004-08-20  Michael Koch  <konqueror@gmx.de>
2898         * configure.in: Rewrote some obsolete stuff for autoconf 2.59.
2899         * aclocal.m4, configure: Regenerated.
2901 2004-08-19  Thomas Fitzsimmons  <fitzsim@redhat.com>
2902             Michael Koch  <konqueror@gmx.de>
2904         * configure.in, Makefile.am: Ported to automake 1.9.
2905         * Makefile.in, aclocal.m4, configure, gcj/Makefile.in, 
2906         include/Makefile.in, testsuite/Makefile.in, include/config.h.in:
2907         Regenerated.
2909 2004-08-19  Tom Tromey  <tromey@redhat.com>
2911         * java/net/DatagramSocket.java: Fixed typo.
2913 2004-08-18  Bryce McKinlay  <mckinlay@redhat.com>
2915         PR libgcj/17081
2916         * java/net/URI.java (string): New field. Make all other fields
2917         transient.
2918         (readObject): Implemented.
2919         (writeObject): Implemented.
2920         (URI): Set 'string'.
2922 2004-08-18  Bryce McKinlay  <mckinlay@redhat.com>
2924         PR libgcj/17079
2925         * java/util/logging/Handler.java (isLoggable): Accept record if its
2926         log level equals the threshold level. From Robin Green.
2928 2004-08-18  David Daney  <ddaney@avtrex.com>
2930         * java/lang/natPosixProcess.cc (waitForSignal): Use sigsuspend 
2931         instead of sigwait.
2933 2004-08-17  Michael Koch  <konqueror@gmx.de>
2935         * Makefile.am (AM_CXXFLAGS): Reformatted to make it more ease to read.
2936         * Makefile.in: Regenerated.
2938 2004-08-16  Tom Tromey  <tromey@redhat.com>
2940         PR java/8473:
2941         * testsuite/libjava.jacks/jacks.xfail: Removed passing test.
2943 2004-08-16  Michael Koch  <konqueror@gmx.de>
2945         * Makefile.am
2946         (math_c_files): Renamed from c_files.
2947         (math_c_source_files): Renamed from c_source_files.
2948         * Makefile.in,
2949         gcj/Makefile.in,
2950         include/Makefile.in,
2951         testsuite/Makefile.in: Regenerated.
2953 2004-08-16  Bryce McKinlay  <mckinlay@redhat.com>
2955         * configure.in (AC_CONF_SUBDIRS): Use literal for ltdl directory
2956         to avoid autoconf warning.
2957         * configure: Rebuilt.
2959 2004-08-14  Andreas Tobler  <a.tobler@schweiz.ch>
2961         * java/net/natInetAddressPosix.cc (lookup): Reflect rename of 
2962         localhostAddress to loopbackAddress.
2963         * java/net/natInetAddressWin32.cc (lookup): Likewise.
2965 2004-08-13  Bryce McKinlay  <mckinlay@redhat.com>
2967         * configure.in (GCINCS): Don't use "boehm-cflags". Instead, -I 
2968         boehm-gc's include dirs.
2969         * configure: Rebuilt.
2970         * include/boehm-gc.h: Include gc_config.h.
2972 2004-08-13  Bryce McKinlay  <mckinlay@redhat.com>
2974         * java/net/InetAddress.java (loopbackAddress): Renamed from 
2975         localhostAddress.
2976         (getByName): Return loopback address for null hostname, without
2977         security check. Use lookup(), not getAllByName.
2978         (getAllByName): Return loopback address for null hostname, without
2979         security check.
2980         * java/net/natInetAddressPosix.cc (lookup): Don't perform security
2981         check here.
2983 2004-08-13  Bryce McKinlay  <mckinlay@redhat.com>
2985         PR libgcj/17020
2986         Reported by Robin Green.
2987         * defineclass.cc (handleField): Don't throw exception on unrecognised
2988         modifier. Add FIXME comments for spec compliance.
2989         (handleMethod): Likewise.
2991 2004-08-10  Hans Boehm <Hans.Boehm@hp.com>
2993         PR libgcj/16662
2994         * java/lang/natObject.cc (LOCK_LOG, LOG): Add debug tracing.
2995         (Almost everywhere): add LOG calls, fix, add comments.
2996         (_Jv_MonitorEnter): Replace masking of LOCKED bit with assertion.
2997         Add explicit check for LOCKED bit in slow case (PR 16662).
2998         (_Jv_MonitorExit): Add casts in debug-only code.
2999         Always release LOCKED bit before throwing exception.
3000         (_Jv_ObjectCheckMonitor): Lock may be held if lightweight lock
3001         isn't.  Handle easy cases without lock acquisition.
3002         (Object::wait): Use NotifyAll for lock inflation.
3004 2004-08-12  David Daney  <ddaney@avtrex.com>
3006         * testsuite/libjava.lang/Process_1.java: New test.
3007         * testsuite/libjava.lang/Process_2.java: New test.
3008         * testsuite/libjava.lang/Process_3.java: New test.
3009         * testsuite/libjava.lang/Process_4.java: New test.
3010         * testsuite/libjava.lang/Process_5.java: New test.
3011         * testsuite/libjava.lang/Process_6.java: New test.
3012         * testsuite/libjava.lang/Process_1.out: Expected result.
3013         * testsuite/libjava.lang/Process_2.out: Expected result.
3014         * testsuite/libjava.lang/Process_3.out: Expected result.
3015         * testsuite/libjava.lang/Process_4.out: Expected result.
3016         * testsuite/libjava.lang/Process_5.out: Expected result.
3017         * testsuite/libjava.lang/Process_6.out: Expected result.
3019 2004-08-12  David Daney  <ddaney@avtrex.com>
3021         PR libgcj/11801
3022         * java/lang/PosixProcess.java: Rewrote.
3023         * java/lang/natPosixProcess.cc: Rewrote.
3024         * java/lang/Runtime.java (execInternal): Declare throws IOException.
3025         * gcj/javaprims.h (ConcreteProcess$ProcessManager): Declare.
3026         * posix-threads.cc (block_sigchld) New function.
3027         (_Jv_ThreadRegister) Use it.
3028         (_Jv_ThreadStart) Use it.
3029         * configure.in (PLATFORM_INNER_NAT_HDRS): New AC_SUBST() used in...
3030         * Makefile.am: ... to specify extra native headers.
3031         * configure: Regenerated.
3032         * include/config.h: Regenerated.
3033         * Makefile.in: Regenerated.
3034         * gcj/Makefile.in: Regenerated.
3035         * include/Makefile.in: Regenerated.
3036         * testsuite/Makefile.in: Regenerated.
3038 2004-08-12  Diego Novillo  <dnovillo@redhat.com>
3040         PR tree-optimization/16867
3041         * testsuite/libjava.lang/PR16867.java: New test.
3043 2004-08-09  Per Bothner  <per@bothner.com>
3045         * gcj/javaprims.h (_Jv_Utf8Const): Change struct to a class,
3046         with private fields and access methods.
3047         (_Jv_NewStringUTF, _Jv_hashUtf8String): New function declarations.
3048         * gcj/cni.h (_Jv_NewStringUTF): Move to javaprims.h.
3049         * prims.cc (_Jv_Utf8COnst::init): New method implementation.
3050         ( _Jv_makeUtf8Const): Rewrite using new constructors.
3051         (hashUtf8String): Rename to +_Jv_hashUtf8String and make non-static.
3052         * defineclass.cc: Use new _Utf8Const access/convenience methods.
3053         * jni.cc: Likewise.
3054         * resolve.cc: Likewise.
3055         * gcj/field.h: Likewise.
3056         * include/jvm.h: Likewise.
3057         * java/lang/Class.h: Likewise.
3058         * java/lang/natClass.cc: Likwise.
3059         * java/lang/natClassLoader.cc: Likewise
3060         * java/lang/reflect/natMethod.cc: Likewise
3061         * verify.cc: Likewise.
3062         (_Jv_BytecodeVerifier::make_utf8_const):  Optimize.
3063         (~_Jv_BytecodeVerifier):  Don't need second _Jv_Free call.
3065 2004-08-10  Andrew Haley  <aph@redhat.com>
3067         * testsuite/libjava.lang/err14.java: New file.
3068         * testsuite/libjava.lang/err14.out: New file.
3070 2004-08-05  Andreas Tobler  <a.tobler@schweiz.ch>
3072         * Makefile.am: Fix missing rename from x_nat_headers to 
3073         xlib_nat_headers.
3074         * Makefile.in: Regenerated.
3076 2004-08-04  Andrew Haley  <aph@redhat.com>
3078         * java/security/BasicPermission.java: Don't check wildcards.
3080 2004-08-04  Thomas Fitzsimmons <fitzsim@redhat.com>
3081             Michael Koch  <konqueror@gmx.de>
3083         * acinclude.m4: Correctly quote PKG_CHECK_MODULES.
3084         * configure.in: Replaced all usages of AC_LINK_FILES by
3085         AC_CONFIG_LINKS.
3086         * aclocal.m4,
3087         configure: Regenerated.
3089 2004-08-04  Thomas Fitzsimmons  <fitzsim@redhat.com>
3090             Michael Koch  <konqueror@gmx.de>
3092         * acconfig.h: Removed.
3093         * Makefile.am: Rename variables for xlib peer to include xlib and
3094         gtk_c_headers to gtk_jni_headers.
3095         * Makefile.in: Regenerated.
3097 2004-08-04  Andrew Haley  <aph@redhat.com>
3099         * testsuite/lib/libjava.exp (bytecompile_file): Byte compile with
3100         debugging.
3102 2004-08-03  Nathanael Nerode  <neroden@gcc.gnu.org>
3104         * configure.in: Eliminate uses of changequote (mostly by quoting []).
3105         Replace most top level 'dnl' comments with '#' comments, conforming
3106         to new autoconf style.  Use AS_HELP_STRING throughout; improve a few
3107         help strings.
3108         * configure: Rebuilt.
3110 2004-07-17  Nathanael Nerode  <neroden@gcc.gnu.org>
3112         * acinclude.m4: Include no-executables.m4.
3113         * aclocal.m4: Rebuild.
3114         * configure.in: Convert to the autoconf 2.59 version of
3115         of the no-executables hack, and also of the nonstandard CXX
3116         hack and the multilibbed CC and CXX hack.  Change prerequisite
3117         to autoconf 2.59.
3118         * configure: Rebuild with autoconf 2.59.  (Woo-hoo!)
3119         * Makefile.in, gcj/Makefile.in, include/Makefile.in,
3120         testsuite/Makefile.in: Regenerate.
3122 2004-08-03  Tom Tromey  <tromey@redhat.com>
3124         * jni.cc: Reindented.
3126 2004-08-02  Bryce McKinlay  <mckinlay@redhat.com>
3128         * java/sql/Timestamp.java (valueOf): Synchronize access to dateFormat.
3130 2004-08-02  Bryce McKinlay  <mckinlay@redhat.com>
3132         * testsuite/libjava.compile/PR16701.java: New test.
3134 2004-08-01  Andrew John Hughes  <gnu_andrew@member.fsf.org>
3136         * java/util/Collection.java, java/util/List.java,
3137         java/util/Map.java, java/util/Set.java,
3138         java/util/SortedMap.java, java/util/SortedSet.java:
3139         Added additional exceptions to documentation.
3141 2004-08-01  Danny Smith  <dannysmith@users.sourceforge.net>
3143         PR libgcj/16814
3144         * configure.in [host *mingw*] (SYSTEMSPEC): Remove -lwsock32.
3145         * configure. Regenerate.
3146         * include/win32.h: Explicitly include winsock2.h
3147         * win32.cc (_Jv_platform_initialize): Require version 2.2 of
3148         Winsock api.
3150 2004-07-30  Michael Koch  <konqueror@gmx.de>
3152         * java/util/zip/GZIPInputStream.java
3153         (GZIPInputStream): Increase buffer size to 4k.
3154         * java/util/zip/GZIPOutputStream.java
3155         (GZIPOutputStream): Likewise.
3156         * java/util/zip/Inflater.java
3157         (setInput): Merged formating with GNU classpath.
3158         * java/util/zip/InflaterInputStream.java
3159         (InflaterInputStream): Increase buffer size to 4k.
3160         (fill): Throw exception if stream ends early.
3161         (read): Merged endless-loop with GNU classpath.
3162         (skip): Increase buffer size to 2k.
3164 2004-07-30  Michael Koch  <konqueror@gmx.de>
3166         * gnu/java/awt/EmbeddedWindow.java
3167         (addNotify): Use AccessController to allow execution of privileged
3168         code.
3170 2004-07-29  Michael Koch  <konqueror@gmx.de>
3172         * gnu/java/lang/MainThread.java:
3173         Explicitely import used classes.
3174         (args): Make it type String[].
3176 2004-07-29 Dalibor Topic <robilad@kaffe.org>
3178         * gnu/java/awt/ComponentDataBlitOp.java,
3179         gnu/java/beans/ExplicitBeanInfo.java,
3180         gnu/java/beans/IntrospectionIncubator.java,
3181         gnu/java/beans/editors/ColorEditor.java,
3182         gnu/java/beans/editors/FontEditor.java,
3183         gnu/java/beans/editors/NativeBooleanEditor.java,
3184         gnu/java/beans/editors/NativeByteEditor.java,
3185         gnu/java/beans/editors/NativeDoubleEditor.java,
3186         gnu/java/beans/editors/NativeFloatEditor.java,
3187         gnu/java/beans/editors/NativeIntEditor.java,
3188         gnu/java/beans/editors/NativeLongEditor.java,
3189         gnu/java/beans/editors/NativeShortEditor.java,
3190         gnu/java/beans/editors/StringEditor.java,
3191         gnu/java/io/ClassLoaderObjectInputStream.java,
3192         gnu/java/io/decode/Decoder.java,
3193         gnu/java/io/encode/Encoder.java,
3194         gnu/java/lang/ClassHelper.java,
3195         gnu/java/locale/Calendar.java,
3196         gnu/java/locale/Calendar_de.java,
3197         gnu/java/locale/Calendar_en.java,
3198         gnu/java/locale/Calendar_nl.java,
3199         gnu/java/locale/LocaleInformation_de.java,
3200         gnu/java/locale/LocaleInformation_en.java,
3201         gnu/java/locale/LocaleInformation_nl.java:
3202         Cleaned up imports.
3204 2004-07-28  Bryce McKinlay  <mckinlay@redhat.com>
3206         * README: Remove obsolete info. Update bug URL.
3207         * THANKS: Updated.
3208         * NEWS: Updated with news up to GCC 3.4 release.
3210 2004-07-28  Bryce McKinlay  <mckinlay@redhat.com>
3212         * gnu/java/security/action/GetPropertyAction.java (setParameters):
3213         Renamed from 'setName'. New 2-argument form with default value.
3214         (run): Pass default 'value' parameter to System.getProperty().
3215         * gnu/java/security/action/SetAccessibleAction.java: Fix javadoc
3216         typos.
3217         * gnu/java/net/protocol/http/Connection.java: Use 'setParameters'
3218         not 'setName'.
3220 2004-07-28  Bryce McKinlay  <mckinlay@redhat.com>
3222         * configure.in: Check for minimum GTK version 2.4 requirement.
3223         * configure: Rebuilt.
3225 2004-07-27  Bryce McKinlay  <mckinlay@redhat.com>
3227         * testsuite/libjava.lang/TLtest.java: Reduce sleep time.
3228         * testsuite/libjava.lang/Thread_Alive.java: Remove old email address.
3229         Reduce sleep time.
3230         * testsuite/libjava.lang/Thread_HoldsLock.java: Modify to work around
3231         compiler bug.
3232         * testsuite/libjava.lang/Thread_Interrupt.java: Remove old email 
3233         address. Reduce sleep times. Synchronize with target threads before
3234         attempting to interrupt them. Don't try to calibrate yeild count,
3235         instead, always loop for a fixed time.
3236         * testsuite/libjava.lang/Thread_Join.java: Remove old email address.
3237         * testsuite/libjava.lang/Thread_Monitor.java: Likewise.
3238         * testsuite/libjava.lang/Thread_Wait.java: Likewise.
3239         * testsuite/libjava.lang/Thread_Wait_2.java: Likewise.
3240         * testsuite/libjava.lang/Thread_Wait_Interrupt.java: Likewise.
3241         * testsuite/libjava.lang/pr179.java: Likewise.
3242         * testsuite/libjava.lang/Thread_Sleep.java: Likewise. Reduce sleep
3243         time. Remove upper bounds check on sleep time. 
3245 2004-07-27  Bryce McKinlay  <mckinlay@redhat.com>
3247         * testsuite/libjava.lang/Thread_HoldsLock.java: New test case.
3248         * testsuite/libjava.lang/Thread_HoldsLock.out: New.     
3250 2004-07-27  Bryce McKinlay  <mckinlay@redhat.com>
3252         * java/io/File.java (toURI): Throw RuntimeException, not 
3253         InternalError.
3254         * java/lang/Runtime.java (exit): Qualify static sleep() call with
3255         class name, not instance.
3257 2004-07-24  Bryce McKinlay  <mckinlay@redhat.com>
3259         * Makefile.am: Add gnu/java/security/action/GetPropertyAction.java
3260         and gnu/java/security/action/SetAccessibleAction.java.
3261         * Makefile.in: Rebuilt.
3263 2004-07-23  Bryce McKinlay  <mckinlay@redhat.com>
3265         * prims.cc (_Jv_InitPrimClass): Don't create an array class.
3266         (_Jv_CreateJavaVM): Don't pass array vtable parameter to
3267         _Jv_InitPrimClass.
3268         (DECLARE_PRIM_TYPE): Don't declare array vtables.
3269         * include/jvm.h (struct _Jv_ArrayVTable): Removed.
3270         * java/lang/Class.h (_Jv_InitPrimClass): Update friend declaration.
3272 2004-07-23  Thomas Fitzsimmons  <fitzsim@redhat.com>
3274         * Makefile.am: Replace jar, rmic and rmiregistry references with
3275         gjar, grmic and grmiregistry.
3276         * configure.in: Likewise.
3277         * Makefile.in: Regenerate.
3278         * configure: Likewise.
3279         * gcj/Makefile.in: Likewise.
3280         * include/Makefile.in: Likewise.
3281         * testsuite/Makefile.in: Likewise.
3283 2004-07-23  Bryce McKinlay  <mckinlay@redhat.com>
3285         * gnu/java/net/protocol/http/Connection.java: Use GetPropertyAction
3286         for privileged getProperty calls.
3287         * java/io/ObjectOutputStream.java (getField): No longer static. Use
3288         SetAccessibleAction instead of anonymous class for doPrivileged call.
3289         (getMethod): Likewise.
3290         (setAccessible): New field. PrivilegedAction object to use when
3291         calling setAccessible.
3292         * java/io/ObjectStreamClass.java (calculateOffsets): Use
3293         SetAccessibleAction instead of anonymous class for diPrivileged call.
3294         (setFields): Likewise.
3295         (getClassUID): Likewise.
3296         (findMethod): Likewise.
3297         * gnu/java/security/action/GetPropertyAction.java: New class.
3298         * gnu/java/security/action/SetAccessibleAction.java: New class. 
3300 2004-07-23  Bryce McKinlay  <mckinlay@redhat.com>
3302         * java/io/ObjectStreamField (ObjectStreamField): Don't unset 'toset'
3303         for final fields.
3304         * testsuite/libjava.lang/Serialization.java: New test.
3305         * testsuite/libjava.lang/Serialization.out: New.
3307 2004-07-23  Bryce McKinlay  <mckinlay@redhat.com>
3309         * gnu/java/net/DefaultContentHandlerFactory.java: Check in real file
3310         missed in last commit.
3312 2004-07-23  Mark Wielaard  <mark@klomp.org>
3314         * java/lang/System.java (static): Set http.agent system property when
3315         not yet set.
3316         * gnu/java/net/protocol/http/Connection.java (static): Get httpAgent
3317         from system property inside AccessController.doPrivileged() call.
3318         (proxyPort): Made package private.
3319         (proxyInUse): Likewise.
3320         (proxyHost): Likewise.
3321         (userAgent): Likewise.
3323 2004-07-23  Mark Wielaard  <mark@klomp.org>
3325         * gnu/java/net/DefaultContentHandlerFactory.java: New dummy
3326         implementation.
3328 2004-07-22  Bryce McKinlay  <mckinlay@redhat.com>
3330         * Makefile.am (ordinary_java_source_files): Add
3331         DefaultContentHandlerFactory.java.
3332         * Makefile.in: Rebuilt.
3333         * java/net/URLConnection.java (defaultFactory): New field.
3334         (getContent): 
3335         (getContentHandler): Renamed from 'setContentHandler'. Try 
3336         defaultFactory after user-set factory, if any. Search for content 
3337         handler implementations in gnu.java.net.content, not gnu.gcj.content.
3338         * gnu/java/net/protocol/file/Connection.java (getHeaderField):
3339         Implemented.
3340         (getLastModified): Implemented.
3341         (getPermission): Create file permission here, instead of in
3342         constructor.
3343         * gnu/java/net/protocol/gcjlib/Connection.java (getHeaderField):
3344         Implemented.
3345         * gnu/java/net/protocol/jar/Connection.java (getHeaderField):
3346         Implemented.
3347         (getLastModified): Implemented.
3348         * gnu/java/awt/ClasspathToolkit.java (createImageProducer): New.
3349         Default implementation.
3350         * gnu/java/awt/peer/gtk/GtkToolkit.java (createImageProducer): New.
3351         Implement using GdkPixbufDecoder.
3352         
3353 2004-07-21  Michael Koch  <konqueror@gmx.de>
3355         * javax/swing/JTextArea.java
3356         (setLineWrap): Fire property change event after new value is set.
3357         (setTabSize): Likewise.
3359 2004-07-21  Michael Koch  <konqueror@gmx.de>
3361         * javax/swing/JTable.java
3362         (autoCreateColumnsFromModel): New field.
3363         (autoResizeMode): Likewise.
3364         (cellEditor): Likewise.
3365         (cellSelectionEnabled): Likewise.
3366         (columnModel): Likewise.
3367         (dataModel): Likewise.
3368         (defaultEditorsByColumnClass): Likewise.
3369         (defaultRenderersByColumnClass): Likewise.
3370         (editingColumn): Likewise.
3371         (editingRow): Likewise.
3372         (gridColor): Likewise.
3373         (preferredViewportSize): Likewise.
3374         (rowHeight): Likewise.
3375         (rowMargin): Likewise.
3376         (rowSelectionAllowed): Likewise.
3377         (selectionBackground): Likewise.
3378         (selectionForeground): Likewise.
3379         (selectionModel): Likewise.
3380         (showHorizontalLines): Likewise.
3381         (showVerticalLines): Likewise.
3382         (tableHeader): Likewise.
3383         (JTable): Implemented.
3384         (getColumnModel): Likewise.
3385         (getSelectedRow): Likewise.
3386         (getSelectionModel): Likewise.
3387         (setModel): Likewise.
3388         (setSelectionModel): Likewise.
3389         (createScrollPaneForTable): New method.
3390         (createDefaultDataModel): Likewise.
3391         (createDefaultListSelectionModel): Likewise.
3392         (getModel): Likewise.
3393         (getTableHeader): Likewise.
3394         (setTableHeader): Likewise.
3395         (getColumnSelectionAllowed): Likewise.
3396         (setColumnSelectionAllowed): Likewise.
3397         (getRowSelectionAllowed): Likewise.
3398         (setRowSelectionAllowed): Likewise.
3399         (getAutoResizeMode): Likewise.
3400         (setAutoResizeMode): Likewise.
3401         (getColumnCount): Likewise.
3402         (getRowCount): Likewise.
3403         (getCellRenderer): Likewise.
3404         * javax/swing/JTree.java
3405         (cellRenderer): New field.
3406         (editable): Likewise.
3407         (rootVisible): Likewise.
3408         (showsRootHandles): Likewise.
3409         (getModel): New method.
3410         (setModel): Likewise.
3411         (isEditable): Likewise.
3412         (setEditable): Likewise.
3413         (isRootVisbile): Likewise.
3414         (setRootVisible): Likewise.
3415         (getShowsRootHandles): Likewise.
3416         (setShowRootHandles): Likewise.
3417         (getCellRenderer): Likewise.
3418         (setCellRenderer): Likewise.
3420 2004-07-21  Michael Koch  <konqueror@gmx.de>
3422         * javax/swing/JFormattedTextField.java
3423         (setDocument): Implemented.
3424         * javax/swing/JRootPane.java:
3425         Fixed javadocs.
3426         * javax/swing/JTable.java
3427         (getDefaultRenderer): New method.
3428         * javax/swing/JTextField.java
3429         (setFont): Likewise.
3430         (getPreferredSize): Likewise.
3431         * javax/swing/JToggleButton.java
3432         (getAccessibleContext): Fix javadoc.
3433         * javax/swing/JTree.java:
3434         Add some javadocs.
3435         * javax/swing/JViewport.java:
3436         Likewise.
3438 2004-07-21  David Jee  <djee@redhat.com>
3440         * gnu/java/awt/peer/gtk/GtkFileDialogPeer.java:
3441         Collect all native method declaration at the top.
3442         (create): Set the filename filter if necessary.
3443         (setDirectory): Call nativeSetDirectory().
3444         (setFilenameFilter): Implement.
3445         (filenameFilterCallback): New method.
3446         * jni/gtk-peer/gnu_java_awt_peer_gtk_GtkFileDialogPeer.c
3447         (create): Configure dialog to show hidden files.
3448         (filenameFilterCallback): New function. 
3449         (nativeSetFilenameFilter): New function.
3450         (nativeSetDirectory): New function.
3452 2004-07-21  Kim Ho  <kho@redhat.com>
3454         * javax/swing/plaf/basic/BasicSliderUI.java:
3455         Ran Jalopy.
3456         (paintTrack): Fill the track before painting
3457         the borders.
3459 2004-07-21  Graydon Hoare  <graydon@redhat.com>
3461         patch from Roman Kennke <roman@ontographics.com>
3462         * javax/swing/Spring.java: New file.
3463         * javax/swing/SpringLayout.java: New file.
3464         * Makefile.am: Add new files.
3465         * Makefile.in: Regenerate.
3467 2004-07-21  Graydon Hoare  <graydon@redhat.com>
3469         * javax/swing/plaf/basic/BasicSplitPaneUI.java: Minor layout fixes.
3470         * javax/swing/plaf/basic/BasicTabbedPaneUI.java: Likewise.
3471         * javax/swing/ScrollPaneLayout.java: Likewise.
3473 2004-07-21  Kim Ho  <kho@redhat.com>
3475         * javax/swing/DefaultDesktopManager.java:
3476         (findMinimum): Removed.
3477         (resizeFrame): Trust the UI to pass valid 
3478         bounds.
3479         * javax/swing/JOptionPane.java:
3480         Implemented showInternalXXXDialog methods.
3481         (startModal): New method.
3482         * javax/swing/plaf/basic/BasicInternalFrameUI.java:
3483         (BorderListener::mouseDragged): Verify that the new 
3484         bounds are valid before passing them to the DesktopManager.
3485         (preferredLayoutSize): Delegate
3486         to getSize.
3487         (minimumLayoutSize): Ditto.
3488         (getSize): New method.
3489         (GlassPaneDispatcher): Reimplemented by copying 
3490         a stripped down LightweightDispatcher from Container.
3491         (getMinimumSize): Call minimumLayoutSize.
3492         * javax/swing/plaf/basic/BasicOptionPaneUI.java:
3493         Ran Jalopy.
3494         (mousePressed): Add ability to properly close 
3495         JInternalFrames.
3496         * javax/swing/plaf/basic/BasicToolBarUI.java:
3497         (DragWindow): Set owner for DragWindow.
3499 2004-07-21  Jerry Quinn  <jlquinn@optonline.net>
3501         * java/awt/image/ShortLookupTable.java: New file.
3502         * java/awt/image/ByteLookupTable.java: New file.
3503         * Makefile.am: Added new files.
3504         * Makefile.in: Regenerated.
3506 2004-07-21  David Jee  <djee@redhat.com>
3508         * gnu/java/awt/peer/gtk/GtkFileDialogPeer.java
3509         (create(GtkContainerPeer)): New native method.
3510         (create()): Call native create(), passing in the parent frame
3511         as the paramter. Natively set the current file and directory.
3512         (setFile): Construct an absolute filename before passing it to
3513         the native peer.
3514         (nativeGetDirectory): New method.
3515         * jni/gtk-peer/gnu_java_awt_peer_gtk_GtkFileDialogPeer.c
3516         (window_closed): Removed.
3517         (ok_clicked): Likewise.
3518         (cancel_clicked): Likewise.
3519         (handle_response): New method.
3520         (create): Use GtkFileChooserDialog.
3521         (connectSignals): Connect to handle_response.
3522         (nativeGetDirectory): New method.
3523         (nativeSetFile): Use GtkFileChooserDialog.
3525 2004-07-21  Jerry Quinn  <jlquinn@optonline.net>
3527         * java/awt/image/LookupTable.java: New file.
3528         * Makefile.am: Added new file.
3529         * Makefile.in: Regenerated.
3531 2004-07-21  Jerry Quinn  <jlquinn@optonline.net>
3533         * java/awt/image/Kernel.java: New file.
3534         * Makefile.am: Added new file.
3535         * Makefile.in: Regenerated.
3537 2004-07-21  Olga Rodimina  <rodimina@redhat.com>
3539         * javax/swing/JCheckBoxMenuItem.java: Fixed Javadocs.
3540         * javax/swing/JMenu.java: Likewise.
3541         * javax/swing/JMenuBar.java: Likewise.
3542         (MARGIN_CHANGED_PROPERTY): New property.
3543         (setMargin): Implemented.
3544         * javax/swing/JMenuItem.java: Fixed javadocs.
3545         * javax/swing/JPopupMenuUI.java: Fixed javadocs.
3546         (LABEL_CHANGED_PROPERTY): New property.
3547         (add): changed to use createActionComponent.
3548         (createActionComponent): Implemented.   
3549         (setLabel): Fire PropertyChangeEvent if label property
3550         changes.
3551         * javax/swing/JRadioButtonMenuItem.java: Fixed javadocs.
3552         * javax/swing/plaf/basic/BasicMenuBarUI.java: Likewise.
3553         (ContainerHandler): Repaint if margin property has changed.
3554         * javax/swing/plaf/basic/BasicMenuItemUI.java:
3555         (installUI): Call installComponents().
3556         (uninstallUI): Call uinstallComponents().
3557         * javax/swing/plaf/basic/BasicMenuUI.java:
3558         Fixed javadocs.
3559         * javax/swing/plaf/basic/BasicPopupMenuUI.java:
3560         Likewise.
3562 2004-07-21  Kim Ho  <kho@redhat.com>
3564         * javax/swing/plaf/basic/BasicToolBarUI.java:
3565         (DragWindow): Use the right constructor.
3567 2004-07-21  Kim Ho  <kho@redhat.com>
3569         * javax/swing/JToolBar.java:
3570         (layoutContainer): Use getComponents.
3571         * javax/swing/plaf/basic/BasicToolBarUI.java:
3572         (DragWindow): Don't use SwingUtilities' 
3573         getOwnerFrame
3574         (ToolBarDialog): ditto.
3576 2004-07-21  Kim Ho  <kho@redhat.com>
3578         * javax/swing/JRootPane.java:
3579         Ran jalopy.
3580         (layoutContainer): Set the glasspane's size to 
3581         be the same as the content pane.
3582         (createGlassPane): Set opaque property to false.
3584 2004-07-21  Thomas Fitzsimmons  <fitzsim@redhat.com>
3586         * java/awt/Component.java (requestFocus()): Don't handle Panels
3587         specially.
3588         (requestFocus(boolean)): Likewise.
3589         (requestFocusInWindow(boolean)): Likewise.
3590         * jni/gtk-peer/gnu_java_awt_peer_gtk_GtkPanelPeer.c (create):
3591         Set GTK_CAN_FOCUS flag.
3593 2004-07-21  Kim Ho  <kho@redhat.com>
3595         * Makefile.am: Added new file.
3596         * Makefile.in: Regenerated.
3597         * gcj/Makefile.in: Regenerated.
3598         * include/Makefile.in: Regenerated.
3599         * javax/swing/AbstractButton.java:
3600         Add rollOverEnabled property.
3601         (setRolloverEnabled): Use new property.
3602         (isRolloverEnabled): Use new property.
3603         * javax/swing/JTabbedPane.java:
3604         (setComponent): Remove useless JTabbedPane.this.
3605         * javax/swing/JToolBar.java: Finish implementation.
3606         * javax/swing/plaf/basic/BasicArrowButton.java:
3607         (paint): Moved border painting to a border.
3608         * javax/swing/plaf/basic/BasicLookAndFeel.java:
3609         Change JToolBar look and feel defaults.
3610         * javax/swing/plaf/basic/BasicOptionPaneUI.java
3611         (actionPerformed): Return Integer index instead of name.
3612         (addButtonComponents): Check to see if component is
3613         JButton last.
3614         (createMessageArea): Don't use components that are not
3615         completed yet.
3616         (getIconForType): Use temporary icons.
3617         * javax/swing/plaf/basic/BasicSliderUI.java:
3618         (mousePressed): Do not return if it's on thumb.
3619         (paintMinorTickForHorizSlider): Use BLACK to paint ticks.
3620         (paintMinorTickForVertSlider): ditto.
3621         (paintMajorTickForHorizSlider): ditto.
3622         (paintMajorTickForVertSlider): ditto.
3623         * javax/swing/plaf/basic/BasicSplitPaneDivider.java:
3624         Add a border around the SplitPaneDivider.
3625         * javax/swing/plaf/basic/BasicSplitPaneUI.java:
3626         Remove comments.
3627         * javax/swing/plaf/basic/BasicToolBarSeparatorUI.java:
3628         New file. Implemented.
3629         * javax/swing/plaf/basic/BasicToolBarUI.java:
3630         Implemented.
3631         * testsuite/Makefile.in: Regenerated.
3633 2004-07-21  Graydon Hoare  <graydon@redhat.com>
3635         * javax/swing/Timer.java (run): Queue events each time cycle.
3637 2004-07-21  David Jee  <djee@redhat.com>
3639         * gnu/java/awt/peer/gtk/GtkImagePainter.java
3640         (imageComplete): Call image.imageComplete().
3641         * java/awt/image/MemoryImageSource.java:
3642         Reimplement consumers as a Vector instead of a Hashtable.  This is
3643         because enumeration on a Hashtable is not thread-safe.
3644         (addConsumer): Adapt to Vector consumers.
3645         (isConsumer): Adapt to Vector consumers.
3646         (removeConsumer): Adapt to Vector consumers.
3647         (startProduction): Adapt to Vector consumers. Call imageComplete()
3648         with STATICIMAGEDONE flag instead of SINGLEFRAME flag.
3649         (newPixels): Adapt to Vector consumers.
3650         (sendPicture): Set the color model of the image consumer.
3651         (newPixels(IIII)): Adapt to Vector consumers.
3652         (newPixels(IIIIB)): Adapt to Vector consumers.
3654 2004-07-21  Thomas Fitzsimmons  <fitzsim@redhat.com>
3656         * java/awt/Component.java (deliverEvent): Implement.
3657         (postEvent): Implement.
3658         (handleEvent): Implement.
3659         (translateEvent): New method.
3660         (dispatchEventImpl): Document.  Add AWT 1.0 event handling.
3661         * java/awt/Container.java (deliverEvent): Implement.
3662         * java/awt/Event.java (paramString): Fix formatting.
3663         * java/awt/Font.java (toString): Likewise.
3664         * java/awt/Window.java (postEvent): Implement.
3666 2004-07-21  Thomas Fitzsimmons  <fitzsim@redhat.com>
3668         * java/awt/DefaultKeyboardFocusManager.java (dispatchEvent):
3669         Set window's focus owner upon receiving a FOCUS_LOST event.
3670         * java/awt/Window.java (Window()): Refocus the previously
3671         focused component within the window when the window regains the
3672         top-level focus.
3673         (setFocusOwner): New method.
3674         * java/awt/Component.java (requestFocus): Add FIXME.
3676         * libgcj.pc.in: Remove library flags.
3678 2004-07-21  Thomas Fitzsimmons  <fitzsim@redhat.com>
3680         * gnu/java/awt/peer/gtk/GtkPanelPeer.java (handleEvent): Handle
3681         MOUSE_PRESSED event.
3682         * java/awt/Component.java (requestFocus()): Handle Panel
3683         specially.  Post FOCUS_LOST event on opposite component.
3684         (requestFocus(boolean)): Likewise.
3685         (requestFocusInWindow(boolean)): Likewise.
3686         (paramString): Reorder dimension fields.
3687         * java/awt/Container.java (paramString): Fix string format.
3688         * java/awt/DefaultKeyboardFocusManager.java (dispatchEvent):
3689         Handle FOCUS_LOST events.  Don't handle Windows specially.  Only
3690         process key events if the focus owner is non-null.
3691         (dispatchKeyEvent): Likewise.
3692         * java/awt/Frame.java (paramString): Fix formatting.
3693         (generateName): New method.
3694         (getUniqueLong): Likewise.
3695         * java/awt/KeyboardFocusManager.java (getFocusOwner): Check if
3696         the temporary focus owner is null.  If so, return the permanent
3697         focus owner.
3698         * java/awt/Panel.java (generateName): New method.
3699         (getUniqueLong): Likewise.
3700         * jni/gtk-peer/gnu_java_awt_peer_gtk_GtkWindowPeer.c: Rework
3701         signal handling to make callbacks more specific.
3703 2004-07-21  Michael Koch  <konqueror@gmx.de>
3705         * javax/swing/text/Position.java
3706         (Bias): Implemented.
3708 2004-07-21  Michael Koch  <konqueror@gmx.de>
3710         * javax/swing/LookAndFeel.java
3711         (provideErrorFeedback): New method.
3713 2004-07-21  Michael Koch  <konqueror@gmx.de>
3715         * javax/swing/JTextArea.java
3716         (tabSize): New field.
3717         (getTabSize): New method.
3718         (setTabSize): Likewise.
3720 2004-07-21  Michael Koch  <konqueror@gmx.de>
3722         * javax/swing/ActionMap.java:
3723         Fixed javadocs all over.
3724         (serialVersionUID): Made private.
3725         (parent): Don't explicitely initialize with default value.
3726         (get): SImplified.
3727         (keys): Reimplemented.
3728         (allKeys): Likewise.
3729         (convertSet): Removed.
3730         * javax/swing/ComponentInputMap.java:
3731         Fixed javadocs all over.
3732         (ComponentInputMap): Implemented.
3733         (put): Likewise.
3734         (clear): Likewise.
3735         (remove): Likewise.
3736         (SetParent): Likewise.
3737         (getComponent): Likewise.
3738         * javax/swing/InputMap.java:
3739         Fixed javadocs all over.
3740         (serialVersionUID): Made private.
3741         (parent): Don't explicitely initialize with default value.
3742         (get): SImplified.
3743         (keys): Reimplemented.
3744         (allKeys): Likewise.
3745         (convertSet): Removed.
3747 2004-07-21  Michael Koch  <konqueror@gmx.de>
3749         * javax/swing/ActionMap.java,
3750         javax/swing/ComponentInputMap.java,
3751         javax/swing/InputMap.java,
3752         javax/swing/table/DefaultTableColumnModel.java,
3753         javax/swing/table/TableColumn.java,
3754         javax/swing/table/TableColumnModel.java,
3755         javax/swing/table/TableModel.java,
3756         javax/swing/text/AbstractDocument.java,
3757         javax/swing/text/TextAction.java:
3758         Reformated.
3760 2004-07-21  Graydon Hoare  <graydon@redhat.com>
3762         * gnu/java/awt/peer/gtk/GtkToolkit.java (bufferedImageOrError): 
3763         Make method non-static.
3764         * javax/swing/AbstractButton.java:
3765         Rename fields to match property names where possible.
3766         (iconTextGap): New property.
3767         * javax/swing/JCheckBox.java: Match AbstractButton changes.
3768         (init) New method, call from after various constructors.
3769         * javax/swing/JComponent.java (revalidate): 
3770         Invalidate before queueing repair.
3771         * javax/swing/JList.java (getPreferredScrollableViewportSize):
3772         Reimplement in terms of visibleRowCount property.
3773         * javax/swing/JMenuButton.java: Match AbstractButton changes.
3774         * javax/swing/JScrollPane.java (createScrollListener): 
3775         Remove tracing chatter.
3776         * javax/swing/JToggleButton.java: Match AbstractButton changes.
3777         * javax/swing/RepaintManager.java (addInvalidComponent): 
3778         Don't invalidate.
3779         * javax/swing/ScrollPaneLayout.java: Various corrections to layout
3780         calculations.
3781         * javax/swing/SwingUtilities.java (layoutCompoundLabel): 
3782         Mimic sun behavior on top left/right positioning.
3783         * javax/swing/ViewportLayout.java (preferredLayoutSize):
3784         Remove mistaken use of preferredScrollableViewportSize here.
3785         (layoutContainer): Use view's preferred size as basis.
3786         * javax/swing/plaf/basic/BasicButtonUI.java:
3787         Set, get, and use textIconGap property.
3788         (paint) Paint text returned from layout (with ellipsis).
3789         * javax/swing/plaf/basic/BasicListUI.java:
3790         Remove tracing chatter, correct various minor calculations.
3791         (getCellBounds): Update layout state before calculating.
3792         * javax/swing/plaf/basic/BasicLookAndFeel.java (Button.Margin):
3793         Use margin default similar to sun's.    
3794         * javax/swing/plaf/basic/BasicScrollBarUI.java (ArrowIcon):
3795         (createIncreaseIcon): Center icon, minimize margins.
3796         (createDecreaseIcon): Likewise.
3797         * javax/swing/plaf/basic/BasicScrollPaneUI.java (installDefaults):
3798         Implement.
3799         (installUI): Call it.
3800         (uninstallDefaults): Implement.
3801         (uninstallUI): Call it.
3802         * javax/swing/plaf/basic/BasicToolBarUI.java (DragWindow):
3803         Call existing Window constructor.
3804         * javax/swing/plaf/basic/BasicViewportUI.java (paint):
3805         Set clip before painting.
3807 2004-07-21  Olga Rodimina <rodimina@redhat.com>
3808         
3809         * javax/swing/JMenuItem.java:
3810         (processMouseEvent): Reimplemented to deal with
3811         mouse drag events.
3812         (createMenuDragMouseEvent): New private helper method.
3813         Creates MenuDragMouseEvent.
3814         * javax/swing/MenuSelectionManager.java
3815         (componentForPoint): Implemented.
3816         (isComponentPartOfCurrentMenu): Made public.
3817         (processMouseEvent): Reimplemented to deal with 
3818         mouse drag events.
3819         (setSelectedPath): Corrected small mistake that caused
3820         path to be set incorrectly.
3821         (getPath): If given component is JMenu then also add this
3822         menu's popup menu to the selected path.
3823         * javax/swing/plaf/basic/BasicMenuItemUI.java:
3824         (getPath): Ditto.
3825         (getPreferredSize): Call getPreferredMenuItemSize().
3826         (getPreferredItemSize): Moved code from getPreferredSize to here.
3827         (installListeners): Install MouseMotionListeners.
3828         (MouseInputHandler): Pass mouse release event to MenuSelectionManager 
3829         if mouse wasn't released in the bounds of this menu item.
3830         (MenuDragMouseHandler): Implemented.
3831         * javax/swing/plaf/basic/BasicMenuUI.java:
3832         (installListeners): Install MouseMotionListener and 
3833         MenuDrageMouseListener.
3834         (MenuDragMouseHandler): Implemented.
3835         * javax/swing/plaf/basic/BasicPopupMenuUI.java:
3836         (uninstallListeners): Implemented.
3837         
3838 2004-07-21  Michael Koch  <konqueror@gmx.de>
3840         * javax/swing/JCheckBox.java: Reformated.
3841         (JCheckBox): Fixed all constructors.
3842         (isBorderPaintedFlat): New method.
3843         (setBorderPaintedFlat): New method.
3844         * javax/swing/JEditorPane.java
3845         (createEditorKitForContentType): Made public.
3846         (scrollToReference): Likewise.
3847         * javax/swing/JTextArea.java
3848         (setLineWrap): Fire property change.
3849         * javax/swing/JToggleButton.java
3850         (JToggleButton): New constructor.
3851         (JToggleButton): Simplified.
3852         * javax/swing/text/AttributeSet.java
3853         (FontAttribute): Renamed from FontCharacterAttribute.
3854         * javax/swing/text/JTextComponent.java
3855         (KeyBinBinding): Added javadoc.
3856         (JTextComponent): Likewise.
3857         (getAccessibleContext): Fixed javadoc.
3858         * javax/swing/text/View.java
3859         (View): Added javadoc.
3860         * javax/swing/text/TabableView.java: New file.
3861         * Makefile.am: Added javax/swing/text/TabableView.java.
3862         * Makefile.in: Regenerated.
3864 2004-07-21  Graydon Hoare  <graydon@redhat.com>
3866         * java/awt/image/BufferedImage.java (getSource): Remove tracing chatter.
3867         * gnu/java/awt/peer/gtk/GtkToolkit.java 
3868         (GtkErrorImage): New helper class.
3869         (bufferedImageOrError): New helper method.
3870         (createImage): Use it.
3872 2004-07-21  David Jee  <djee@redhat.com>
3874         * jni/gtk-peer/gnu_java_awt_peer_gtk_GtkTextComponentPeer.c
3875         (setCaretPosition): Scroll the text view so the new caret position
3876         is visible on screen.
3878 2004-07-21  David Jee  <djee@redhat.com>
3880         * gnu/java/awt/peer/gtk/GtkContainerPeer.java
3881         (setBounds): Do not validate awtComponent here.
3882         * gnu/java/awt/peer/gtk/GtkScrollPanePeer.java
3883         (getPreferredSize): New method.
3884         * java/awt/ScrollPane.java
3885         (ScrollPane): Set default size to 100x100.
3886         (addNotify): If child is not a Panel, wrap it with a new Panel.
3887         (paramString): Implement.
3889 2004-07-21  Olga Rodimina  <rodimina@redhat.com>
3891         * javax/swing/JMenu.java:
3892         (setSelected): Display popup menu only if this menu 
3893         is showing on the screen.
3894         * javax/swing/JPopupMenu.java:
3895         (processMouseEvent): Added comment.
3896         (processKeyEvent): Likewise.
3897         * javax/swing/MenuSelectionManager.java:
3898         (clearSelectedPath): Only fireStateChanged() after
3899         selected path was changed, not before.
3900         (setSelectedPath): Likewise.
3901         * javax/swing/plaf/basic/BasicMenuItemUI.java:
3902         (paintMenuItem): Corrected position of menu item's
3903         icon.
3904         * javax/swing/plaf/basic/BasicPopupMenuUI.java:
3905         (installUI): Correct setDefaultLightWeightPopupEnabled call.
3906         (popupMenuCanceled): Reimplemented.
3907         (popupMenuWillBecomeVisible): Select first menu item by default 
3908         when displaying free floating popup menus.
3909         (TopWindowListener): Reimplemented.
3911 2004-07-21  Thomas Fitzsimmons  <fitzsim@redhat.com>
3913         * java/awt/Panel.java (dispatchEventImpl): Override to prevent
3914         Panel from being painted twice when it is first shown.
3916 2004-07-21  Olga Rodimina  <rodimina@redhat.com>
3918         * java/awt/Window.java: Reverted changes from my 
3919         previous patch for creating window without an owner.
3920         * javax/swing/SwingUtilities.java: 
3921         (SwingUtilities.OwnerFrame): made static.
3922         (OwnerFrame.setVisible): New method. Overridden with
3923         empty implementation.
3924         (OwnerFrame.isShowing): New method. Ovverridden
3925         to return always true.
3927 2004-07-21  Thomas Fitzsimmons  <fitzsim@redhat.com>
3929         * gnu/java/awt/peer/gtk/GtkComponentPeer.java,
3930         jni/gtk-peer/gnu_java_awt_peer_gtk_GtkComponentPeer.c
3931         (GtkComponentPeer): Remove temporary try/catch block.
3932         (setVisible): Call show and hide.
3933         (show): Make native.
3934         (hide): Likewise.
3935         (getArgs): Don't add "visible" argument.
3936         * jni/gtk-peer/gnu_java_awt_peer_gtk_GtkWindowPeer.c
3937         (property_notify_predicate): Return Bool instead of int.
3938         (find_layout): New function.
3939         (connectJObject): Call find_layout.
3940         (connectSignals): Likewise.
3941         (moveLayout): Likewise.
3942         (gtkLayoutSetVisible): Likewise.
3944 2004-07-21  Mark Wielaard  <mark@klomp.org>
3946         * java/awt/event/InvocationEvent.java (dispatch): Synchronize
3947         on notifier object before calling notifyAll().
3949 2004-07-21  Olga Rodimina  <rodimina@redhat.com>
3951         * java/awt/Window.java: Changed constructors to use new
3952         method that is described below. Constructors call this
3953         methods only if newly created window should have an owner.
3954         (setWindowOwner): New method. Implementation for
3955         this method is moved from this(owner,configuration).
3956         * javax/swing/JWindow.java:
3957         (JWindow): Reimplement to use SwingUtilities.ownerFrame
3958         instead of owner.
3959         * javax/swing/SwingUtilities.java:
3960         (ownerFrame): Change type of this field to OwnerFrame.
3961         (getOwnerFrame): Changed to return object of type OwnerFrame.
3962         (SwingUtilities.OwnerFrame): New class. Represents owner
3963         of a Window that is not provided with one.
3965 2004-07-21  Olga Rodimina  <rodimina@redhat.com>
3967         *  javax/swing/AbstractButton.java: 
3968         (configurePropertiesFromAction): Set action command
3969         to button's text by default if action command is not 
3970         explicitely specified.
3971         * javax/swing/JMenu.java: Remove unnecessary listener
3972         and methods relevant to it.
3973         (setSelected): Reimplemented.
3974         (menuSelectionChanged): Moved most part of implementation to
3975         setSelected() and call it instead.
3976         * javax/swing/JMenuItem.java: 
3977         (init): Comment out statement that sets paint_border to false.
3978         (configurePropertiesFromAction): Do not set accelerator
3979         for JMenu.
3980         (menuSelectionChanged): Change selected index in the selection
3981         model of menu item's parent.
3982         * javax/swing/JPopupMenu.java:
3983         (remove): Set constraints.fill field to GridBagConstraints.BOTH
3984         instead of GridBagConstraints.HORIZONTAL.
3985         (insert): Likewise.
3986         (createActionChangeListener): Implemented.
3987         (setVisible): Correct location of HeavyWeightMenu and 
3988         don't firePopupMenuCanceled().
3989         (menuSelectionChanged): Implemented.
3990         (ActionChangeListener): New Listener. Implemented.
3991         * javax/swing/plaf/basic/BasicMenuBarUI.java:
3992         (BasicMenuBarUI.ContainerHandler): Implemented.
3993         * javax/swing/plaf/basic/BasicMenuItemUI.java:
3994         (paintMenuItem): Uncommented out code that paints 
3995         icon, now that icons are working properly.
3996         (PropertyChangeListener): Implemented.
3997         * javax/swing/plaf/basic/BasicPopupMenuUI.java:
3998         Added javadocs.
3999         (topWindowListener): New field.
4000         (Constructor): initialize topWindowListener.
4001         (BasicPopupMenuUI.TopWindowListener): Implemented.      
4002         (BasicPopupMenuUI.PopupMenuHandler): Implemented.
4003         (BasicPopupMenuUI.TopWindowListener): New ComponentListener.
4004         Implemented.
4006 2004-07-21  Michael Koch  <konqueror@gmx.de>
4008         * javax/swing/plaf/basic/BasicButtonUI.java
4009         (paintFocus): Fixed method signature.
4010         (paintButtonPressed): Likewise.
4011         (paintButtonNormal): Likewise.
4012         (paintText): New method.
4013         * javax/swing/plaf/basic/BasicLabelUI.java
4014         (paint): Re-indented.
4015         * javax/swing/plaf/basic/BasicTextUI.java
4016         (installUI): Set parent textComponent to opaque.
4017         * javax/swing/text/DefaultHighlighter.java
4018         (checkPositions): New helper method.
4019         (addHighlight): Throws BadLocationException, check positions.
4020         (changeHighlight): Likewise.
4021         * javax/swing/text/EditorKit.java
4022         (EditorKit): Implements Serializable.
4023         * javax/swing/text/JTextComponent.java
4024         (getUI): Added javadoc.
4025         (setUI): Likewise.
4026         (upadteUI): Added javadoc, don't revalidate and repaint.
4028 2004-07-21  David Jee  <djee@redhat.com>
4030         * java/awt/GridBagLayout.java
4031         (ArrangeGrid): Use PREFERREDSIZE instead of MINSIZE.
4032         * javax/swing/AbstractButton.java
4033         (setText): Reindent.
4034         * javax/swing/RepaintManager.java
4035         (addInvalidComponent): Find the first ancestor that isValidateRoot().
4037 2004-07-21  Michael Koch  <konqueror@gmx.de>
4039         * javax/swing/JFormattedTextField.java
4040         (value): New field.
4041         (JFormattedTextField): Implemented.
4042         (getValue): Likewise.
4043         (setValue): Likewise.
4044         * javax/swing/LookAndFeel.java
4045         (getSupportsWindowDecorations): New method.
4046         * javax/swing/UIDefaults.java:
4047         Use java.beans.PropertyChangeSupport instead of doing all ourself.
4048         (addPropertyChangeListener): Made public.
4049         (addResourceBundle): Likewise.
4050         (removeResourceBundle): Likewise.
4051         (setDefaultLocale): Likewise.
4052         * javax/swing/plaf/basic/BasicRootPaneUI.java
4053         (BasicRootPaneUI): Implements PropertyChangeListener.
4054         (propertyChange): New method.
4055         * javax/swing/plaf/basic/BasicTextUI.java
4056         (BasicHighlighter): New inner class.
4057         (createHighlighter): New method.
4058         * javax/swing/plaf/basic/BasicToolBarUI.java
4059         (DragWindow): Extends java.awt.Window.
4060         * javax/swing/text/JTextComponent.java
4061         (getDocument): Removed debug output.
4062         * javax/swing/plaf/basic/BasicTextFieldUI.java,
4063         javax/swing/text/DefaultHighlighter.java,
4064         javax/swing/text/FieldView.java,
4065         javax/swing/text/PlainView.java: New files.
4066         * Makefile.am: Added new files.
4067         * Makefile.in: Regenerated.
4069 2004-07-21  Michael Koch  <konqueror@gmx.de>
4071         * javax/swing/JEditorPane.java
4072         (createDefaultEditorKit): Use javax.swing.text.DefaultEditorKit.
4073         (createEditorKitForContentType): Likewise.
4074         * javax/swing/text/DefaultEditorKit.java
4075         (serialVersionUID): Added constant field.
4076         (EndOfLineStringPropery): Fixed typo.
4077         (DefaultEditorKit): New constructor.
4078         * javax/swing/text/Segment.java:
4079         Import java.text.CharacterIterator.
4080         * javax/swing/text/CharacterIterator.java,
4081         javax/swing/text/PlainEditorKit.java: Removed.
4082         * Makefile.am: Removed javax/swing/text/CharacterIterator.java and
4083         javax/swing/text/PlainEditorKit.java.
4084         * Makefile.in: Regenerated.
4086 2004-07-21  Michael Koch  <konqueror@gmx.de>
4088         * javax/swing/JButton.java,
4089         javax/swing/text/DefaultEditorKit.java,
4090         javax/swing/text/EditorKit.java,
4091         javax/swing/text/Segment.java,
4092         javax/swing/text/StyledEditorKit.java:
4093         Reformatted.
4095 2004-07-21  Michael Koch  <konqueror@gmx.de>
4097         * javax/swing/ImageIcon.java
4098         (file): Removed.
4099         (description): Renamed from descr.
4100         (ImageIcon): Added missing constructors.
4101         (setParent): Removed.
4102         (setImageObserver): New method.
4103         (getImageObserver): New method.
4104         (paintIcon): Handle observer = null.
4105         * javax/swing/JButton.java
4106         (removeNotify): Fixed javadoc.
4107         (updateUI): Simplified.
4108         * javax/swing/JRootPane.java
4109         (serialVersionUID): New constant field.
4110         * javax/swing/UIManager.java:
4111         Fixed javadocs all over.
4112         (setLookAndFeel): Throws UnsupportedLookAndFeelException.
4113         * javax/swing/text/AbstractDocument.java
4114         (createPosition): Throws BadLocationException.
4115         (getText): Likewise.
4116         (remove): Likewise.
4117         * javax/swing/text/ComponentView.java
4118         (modelToView): Likewise.
4119         * javax/swing/text/DefaultEditorKit.java:
4120         Made all public methods public.
4121         (read): Throws BadLocationException and IOException.
4122         (write): Likewise.
4123         * javax/swing/text/EditorKit.java:
4124         Made all public methods public.
4125         (serialVersionUID): New constant field.
4126         (clone): New method.
4127         (read): Throws BadLocationException and IOException.
4128         (write): Likewise.
4129         * javax/swing/text/Segment.java
4130         (array): Made public.
4131         (count): Likewise.
4132         (offset): Likewise.
4133         (Segment): New constructors.
4134         (clone): Reimplemented.
4135         * javax/swing/text/StyledEditorKit.java
4136         (serialVersionUID): New constant field.
4138 2004-07-21  Graydon Hoare  <graydon@redhat.com>
4140         * java/awt/image/BufferedImage.java 
4141         (getSource): Implement.
4142         * javax/swing/ImageIcon.java 
4143         (ImageIcon): Implement ctor.
4144         * javax/swing/ScrollPaneLayout.java 
4145         (preferredLayoutSize): Be more careful about nulls.
4147 2004-07-21  Michael Koch  <konqueror@gmx.de>
4149         * javax/swing/text/AttributeSet.java
4150         (CharacterAttribute): New interface
4151         (ColorAttribute): Likewise.
4152         (FontCharacterAttribute): Likewise.
4153         (ParagraphAttribute): Likewise.
4154         * javax/swing/text/DefaultCaret.java
4155         (moveCaret): New method.
4156         (positionCaret): Likewise.
4157         (repaint): Made protected.
4158         * javax/swing/text/JTextComponent.java
4159         (KeyBinding): Made it static.
4160         * javax/swing/text/View.java
4161         (getContainer): Honor parent == null.
4163 2004-07-21  Michael Koch  <konqueror@gmx.de>
4165         * javax/swing/text/AbstractDocument.java:
4166         Reformatted.
4168 2004-07-21  Michael Koch  <konqueror@gmx.de>
4170         * javax/swing/plaf/basic/BasicRootPaneUI.java:
4171         Import javax.swing.UIManager explicitely.
4172         * javax/swing/plaf/basic/BasicTabbedPaneUI.java
4173         (ScrollingButton): Made it static.
4175 2004-07-21  Michael Koch  <konqueror@gmx.de>
4177         * javax/swing/UIDefaults.java
4178         (ActiveValue): Made public.
4179         (LazyValue): Likewise.
4180         * javax/swing/plaf/basic/BasicTextUI.java
4181         (RootView): Reintroduced.
4182         (view): Removed.
4183         (rootView): New field.
4184         (installUI): Create document if needed, initialize rootView.
4185         (uninstallUI): Hanle rootView.
4186         (paint): Likewise.
4187         (getRootView): Likewise.
4188         (setView): Likewise.
4189         * javax/swing/text/DefaultCaret.java:
4190         Renamed all "evt" variables to "event".
4192 2004-07-21  Thomas Fitzsimmons  <fitzsim@redhat.com>
4194         * libgcj.spec.in: Add -l-java-util-logging.
4196 2004-07-21  Andreas Tobler  <a.tobler@schweiz.ch>
4198         * jni/gtk-peer/gnu_java_awt_peer_gtk_GtkMainThread.c
4199         (init_dpi_conversion_factor): Check for int_dpi < 0 in case
4200         gtk-xft-dpi can no calculate the right value.
4201         (dpi_changed_cb): Mark *pspec as unsused.
4203 2004-07-21  David Jee  <djee@redhat.com>
4205         * java/awt/Component.java
4206         (move): Delegate to setBounds().
4207         (resize): Likewise.
4208         (reshape): Fix so it repaints parent and self only when necessary.
4210 2004-07-21  David Jee  <djee@redhat.com>
4212         * gnu/java/awt/peer/gtk/GtkComponentPeer.java,
4213         jni/gtk-peer/gnu_java_awt_peer_gtk_GtkComponentPeer.c
4214         (GtkComponentPeer): Revert previous patch from 2004-06-22.
4215         (setVisible): Likewise.
4216         (show): Likewise.
4217         (hide): Likewise.
4218         (getArgs): Likewise.
4219         * jni/gtk-peer/gnu_java_awt_peer_gtk_GtkWindowPeer.c
4220         (property_notify_predicate): Likewise.
4221         (find_layout): Likewise.
4222         (connectJObject): Likewise.
4223         (connectSignals): Likewise.
4224         (moveLayout): Likewise.
4225         (gtkLayoutSetVisible): Likewise.
4227 2004-07-21  Graydon Hoare  <graydon@redhat.com>
4229         * Makefile.am
4230         (jv_convert_LDADD):
4231         (gij_LDADD):
4232         (rmic_LDADD):
4233         (rmiregistry_LDADD): Add lib-java-util-logging.la
4234         * Makefile.in: Regenerate.
4236 2004-07-21  Michael Koch  <konqueror@gmx.de>
4238         * javax/swing/text/AbstractDocument.java
4239         (replace): Dont use protected method of java.util.Vector directly.
4241 2004-07-21  Michael Koch  <konqueror@gmx.de>
4243         * javax/swing/plaf/basic/BasicTextUI.java
4244         (installUI): Call specialized install methods.
4245         (installDefaults): New method.
4246         (installListeners): Likewise.
4247         (installKeyboardActions): Likewise.
4248         (uninstallUI): Likewise.
4249         (uninstallDefaults): New method.
4250         (uninstallListeners): Likewise.
4251         (uninstallKeyboardActions): Likewise.
4252         (getPropertyPrefix): New abstract method.
4253         (paint): Made final, just call paintSafely().
4254         (paintSavely): New method.
4255         (paintBackground): Likewise.
4256         (getVisibleEditorRect): Likewise.
4257         * javax/swing/text/LayeredHighlighter.java,
4258         javax/swing/text/TabExpander.java: New files.
4259         * Makefile.am: Added javax/swing/text/LayeredHighlighter.java
4260         and javax/swing/text/TabExpander.java.
4261         * Makefile.in: Regenerated.
4263 2004-07-21  Michael Koch  <konqueror@gmx.de>
4265         * javax/swing/plaf/basic/BasicTextUI.java
4266         (BasicTextUI): Made abstract.
4267         (BasicCaret): New inner class.
4268         (view): Don't explicitely initialize with "null".
4269         (textComponent): New field.
4270         (textColor): Removed.
4271         (disabledTextColor): Removed.
4272         (normalBackgroundColor): Removed.
4273         (RootView): Removed commented out inner class.
4274         (createUI): Removed.
4275         (createCaret): New method.
4276         (getComponent): Likewise.
4277         (installUI): Initialize textComponent only.
4278         (getPreferredSize): Use installed JTextComponent.
4279         (setView): New method.
4280         (create): Likewise.
4281         * javax/swing/text/JTextComponent.java
4282         (highlighter): New field.
4283         (caretColor): Likewise.
4284         (disabledTextColor): Likewise.
4285         (seletedTextColor): Likewise.
4286         (selectionColor): Likewise.
4287         (setUI): New method.
4288         (getCaretColor): Likewise.
4289         (setCaretColor): Likewise.
4290         (getDisabledColor): Likewise.
4291         (setDisabledColor): Likewise.
4292         (getSelectedTextColor): Likewise.
4293         (setSelectedTextColor): Likewise.
4294         (getSelectionColor): Likewise.
4295         (setSelectionColor): Likewise.
4296         (getHighlighter): Likewise.
4297         (setHighlighter): Likewise.
4298         (replaceSelection): Likewise.
4300 2004-07-21  Michael Koch  <konqueror@gmx.de>
4302         * javax/swing/plaf/basic/BasicScrollPaneUI.java
4303         (BasicScrollPaneUI): Implements ScrollPaneConstants.
4304         * javax/swing/plaf/basic/BasicToolBarUI.java
4305         (BasicToolBarUI): Implements SwingConstants.
4307 2004-07-21  Michael Koch  <konqueror@gmx.de>
4309         * javax/swing/JPopupMenu.java: Removed CVS tags.
4310         * javax/swing/UIDefaults.java: Reformatted.
4311         * javax/swing/plaf/basic/BasicRootPaneUI.java:
4312         Explicitely import used classes.
4314 2004-07-21  Thomas Fitzsimmons  <fitzsim@redhat.com>
4316         * gnu/java/awt/peer/gtk/GtkComponentPeer.java,
4317         jni/gtk-peer/gnu_java_awt_peer_gtk_GtkComponentPeer.c
4318         (GtkComponentPeer): Remove temporary try/catch block.
4319         (setVisible): Call show and hide.
4320         (show): Make native.
4321         (hide): Likewise.
4322         (getArgs): Don't add "visible" argument.
4323         * jni/gtk-peer/gnu_java_awt_peer_gtk_GtkWindowPeer.c
4324         (property_notify_predicate): Return Bool instead of int.
4325         (find_layout): New function.
4326         (connectJObject): Call find_layout.
4327         (connectSignals): Likewise.
4328         (moveLayout): Likewise.
4329         (gtkLayoutSetVisible): Likewise.
4331 2004-07-21  Olga Rodimina  <rodimina@redhat.com>
4333         * javax/swing/AbstractButton.java:
4334         (setDisplayedMnemonicIndex): Check if button
4335         text is not null before checking its length.
4336         * javax/swing/JMenuItem.java:
4337         (processMouseEvent): Disarm menu item if mouse has
4338         exited it.
4339         * javax/swing/plaf/basic/BasicMenuUI.java:
4340         (MouseInputHandler.mouseEntered): Do not raise
4341         popup menu if this menu is already selected.
4342         (MouseInputHandler.mousePressed): Do not fire 
4343         MenuEvents.
4344         (MenuHandler): Implemented.     
4346 2004-07-21  Olga Rodimina  <rodimina@redhat.com>
4348         * javax/swing/JCheckBoxMenuItem.java: Added Javadoc.
4349         (getSelectedObjects): Implemented.
4350         * javax/swing/JRadioButtonMenuItem.java: Added Javadoc.
4351         * javax/swing/plaf/basic/BasicCheckBoxMenuItemUI.java: 
4352         Added javadoc for few methods.
4353         (processMouseEvent): Made public.
4354         * javax/swing/plaf/basic/BasicRadioButtonMenuItemUI.java
4355         (processMouseEvent): Likewise.
4357 2004-07-21  Olga Rodimina  <rodimina@redhat.com>
4359         * javax/swing/AbstractButton.java:
4360         (init): Set display mnemonic index to -1.
4361         (setMnemonic(char)): Use setMnemonic(int).
4362         (setMnemonic(int)): Set display mnemonic index.
4363         (getDisplayedMnemonicIndex): Change method signature
4364         by removing 'index' parameter.
4365         * javax/swing/plaf/basic/BasicLookAndFeel.java:
4366         Added default for Menu.selectionBackground.     
4367         * javax/swing/plaf/basic/BasicMenuItemUI.java:
4368         (paintMenuItem): Change background color of the selected
4369         menu item.
4370         (paintText): Paint differently when menu item is disabled.
4371         Also paint mnemonic if it appears in the menu item's label.
4372         (paintAccelerator): Paint accelerator differently
4373         if menu item is disabled.
4374         * javax/swing/plaf/basic/BasicMenuUI.java:
4375         (installDefaults): Install defaults for 
4376         selectionForeground and selectionBackground.
4377         (uninstallDefaults): Uninstall defauls for 
4378         selectionForeground and selectionBackground.
4380 2004-07-21  Michael Koch  <konqueror@gmx.de>
4382         * javax/swing/text/AbstractDocument.java
4383         (BranchElement): Implemented.
4384         (LeafElement): Implemented.
4385         * javax/swing/text/DefaultCaret.java:
4386         Import used classes.
4387         (serialVersionUID): New constant.
4388         * javax/swing/text/JTextComponent.java
4389         (AccessibleJTextComponent): Removed dead declaration.
4390         (caretPos): Removed.
4391         (setCaret): New method.
4392         * javax/swing/text/PlainDocument.java
4393         (rootElement): New field.
4394         (PlainDocument): Initialize rootElement.
4395         (createDefaultRoot): New method.
4396         (getDefaultRootElement): Implemented.
4397         * javax/swing/text/View.java: Reformatted.
4398         * javax/swing/text/ViewFactory.java
4399         (create): Added javadoc.
4401 2004-07-21  Michael Koch  <konqueror@gmx.de>
4403         * javax/swing/ToolTipManager.java: Reformatted.
4405 2004-07-21  Rodimina Olga  <rodimina@redhat.com>
4407         * javax/swing/AbstractButton.java
4408         (changeEvent): New field.
4409         (fireItemStateChanged): Change source of the event
4410         to 'this' before firing it to button listeners.
4411         (fireActionPerformed): Likewise.
4412         (fireStateChanged): Likewise.
4413         (createActionListener): Do not set source 
4414         of the event to AbstractButton.                                  
4415         * javax/swing/plaf/basic/BasicMenuBarUI.java:
4416         (ContainerHandler.componentAdded): Removed 
4417         print out statement.
4418         (ContainerHandler.componentRemoved): Likewise.
4420 2004-07-21  Michael Koch  <konqueror@gmx.de>
4422         * javax/swing/text/Highlighter.java: New file.
4423         * Makefile.am: Added javax/swing/text/Highlighter.java.
4424         * Makefile.in: Regenerated.
4426 2004-07-21  Michael Koch  <konqueror@gmx.de>
4428         * javax/swing/ToolTipManager.java
4429         (stillInsideTimerAction): Fixed constructor arguments.
4430         (outsideTimerAction): Likewise.
4431         (insideTimerAction): Likewise.
4433 2004-07-21  Michael Koch  <konqueror@gmx.de>
4435         * javax/swing/JButton.java: Reformatted.
4436         * javax/swing/JFormattedTextField.java
4437         (getUIClassID): Implemented.
4438         * javax/swing/JRootPane.java
4439         (serialVersionUID): New constant.
4440         * javax/swing/JTextField.java
4441         (align): New field.
4442         (JTextField): Simplified.
4443         (getUIClassID): New method.
4444         (getActionListeners): Added @since tag.
4445         (setColumns): Invalidate layout and repaint.
4446         (getHorizontalAlignment): New method.
4447         (setHorizontalAlignment): New method.
4448         (selectAll): Removed.
4449         * javax/swing/SwingUtilities.java
4450         (getAncestorOfClass): Removed redundant @see tag.
4451         (isLeftMouseButton): Fixed implementation.
4452         (isMiddleMouseButton): Likewise.
4453         (isRightMouseButton): Likewise.
4454         * javax/swing/text/AbstractDocument.java
4455         (AttributeContext.addAttribute): New method.
4456         (AttributeContext.addAttributes): New method.
4457         (AttributeContext.getEmptySet): New method.
4458         (AttributeContext.reclaim): New method.
4459         (AttributeContext.removeAttribute): New method.
4460         (AttributeContext.removeAttributes): New method.
4461         * javax/swing/text/Document.java
4462         (createPosition): Throws BadLocationException.
4463         (getText): Likewise.
4464         (remove): Likewise.
4465         * javax/swing/text/JTextComponent.java
4466         (getText): Return null if no document is set. Catch
4467         BadLocationException.
4468         (getUI): Return ui.
4469         (updateUI): Simplified.
4471 2004-07-21  Michael Koch  <konqueror@gmx.de>
4473         * javax/swing/JButton.java
4474         (removeNotify): Fixed javadoc.
4475         (updateUI): Simplified.
4477 2004-07-21  David Jee  <djee@redhat.com>
4479         * gnu/java/awt/image/ImageDecoder.java
4480         (startProduction): Only add consumer if it's not added yet.
4481         * gnu/java/awt/peer/gtk/GdkPixbufDecoder.java
4482         (GdkPixbufDecoder): Don't call initState() here.
4483         (produce): Call initState() here, to ensure area_prepared and
4484         area_updated signals are properly connected.
4485         * gnu/java/awt/peer/gtk/GtkImage.java
4486         (setColorModel): Use equals() to compare ColorModel objects.
4487         (setPixels): Likewise.
4488         * java/awt/image/ColorModel.java
4489         (equals): Fix typo. Use Arrays.equals() to compare int arrays.
4490         * java/awt/image/RGBImageFilter.java
4491         (setColorModel): Set consumer's color model.
4492         (setPixels): Use equals() to compare ColorModel objects.
4494 2004-07-21  Bryce McKinlay  <mckinlay@redhat.com>
4496         * java/net/URLConnection.java (position): New field.
4497         (dateFormat1, dateFormat2, dateFormat3): Removed.
4498         (dateFormats): New field.
4499         (getHeaderFieldDate): Use new dateFormats array. Re-use parsePosition
4500         each time instead of re-allocating.
4501         (initializeDateFormats): Initialize 'dateFormats'.
4503 2004-07-20  Bryce McKinlay  <mckinlay@redhat.com>
4505         PR libgcj/16591
4506         * prims.cc (_Jv_RunMain): Don't call _Jv_SetArgs if DISABLE_MAIN_ARGS
4507         is defined.
4509 2004-07-20  Bryce McKinlay  <mckinlay@redhat.com>
4511         * java/net/Socket.java (getImpl): Now private. Remove comment.
4513 2004-07-20  Bryce McKinlay  <mckinlay@redhat.com>
4515         * java/io/BufferedWriter.java (BufferedWriter): Use existing lock
4516         of chained Writer when calling super-constructor.
4517         * java/io/FilterWriter.java (FilterWriter): Likewise.
4518         * java/io/PrintWriter.java (PrintWriter): Likewise.
4520 2004-07-19  Bryce McKinlay  <mckinlay@redhat.com>
4522         * prims.cc (process_gcj_properties): Don't increment i within LHS
4523         of assignment.
4525 2004-07-19  Per Bothner  <per@bothner.com>
4527         Print -verbose:message on "loading", not initialization.
4528         * java/lang/Class.h (JV_STATE_LOADED, JV_STATE_COMPILED):  Swap order.
4529         * defineclass.cc (_Jv_ClassReader::parse):  Print message if
4530         gcj::verbose_class_flag.
4531         * java/lang/natClass.cc (initializeClass):  Don't print message here.
4532         * java/lang/natClassLoader.cc (_Jv_WaitForState):  If state was
4533         _JV_STATE_COMPILED, set to JV_STATE_LOADED and may print message.
4534         (_Jv_PrepareCompiledClass):  Likewise.
4536 2004-07-18  Matthias Klose  <doko@debian.org>
4538         * configure.in: Substitute target_noncanonical.
4539         * configure: Regenerate
4541 2004-07-17  Michael Koch  <konqueror@gmx.de>
4543         * java/lang/String.java: Fixed javadocs all over.
4545 2004-07-17  Mark Wielaard  <mark@klomp.org>
4547         * gnu/java/nio/channels/FileChannelImpl.java (truncate): Only truncate
4548         when size is smaller.
4549         * java/io/RandomAccessFile.java (setLength): Use truncate for
4550         shrinking the file and seek plus write for expanding the file.
4552 2004-07-17  Michael Koch  <konqueror@gmx.de>
4554         * gnu/java/nio/channels/natFileChannelPosix.cc
4555         (implTruncate): Always save current position. Only reposition file
4556         pointer to where we started if not beyond new lenght. Reposition file
4557         pointer to file length if it points beyond the end of file.
4559 2004-07-17  Mark Wielaard  <mark@klomp.org>
4561         * javax/swing/Box.java: Put FIXME comment above class declaration.
4562         * javax/swing/JButton.java: Remove illegal L&F HTML from comments.
4563         * javax/swing/JCheckBox.java: Likewise.
4564         * javax/swing/JDialog.java: Likewise.
4565         * javax/swing/JRadioButton.java: Likewise.
4566         * javax/swing/JToggleButton.java: Likewise.
4567         * javax/swing/UIManager.java: Likewise.
4568         * javax/swing/border/TitledBorder.java: Likewise.
4569         * javax/swing/plaf/basic/BasicLabelUI.java: Likewise.
4570         * javax/swing/plaf/basic/BasicLookAndFeel.java: Likewise.
4571         * javax/swing/plaf/basic/BasicPopupMenuSeparatorUI.java: Likewise.
4572         * javax/swing/plaf/basic/BasicProgressBarUI.java: Likewise.
4573         * javax/swing/plaf/basic/BasicScrollBarUI.java: Likewise.
4574         * javax/swing/plaf/basic/BasicSeparatorUI.java: Likewise.
4575         * javax/swing/text/JTextComponent.java: Likewise.
4577 2004-07-17  Jeroen Frijters  <jeroen@frijters.net>
4579         * java/net/DatagramPacket.java (setAddress): Removed check for
4580         null address.
4582 2004-07-17  Michael Koch  <konqueror@gmx.de>
4584         * java/net/DatagramSocket.java
4585         (getLocalAddress): Check if socket is bound or not.
4586         * java/net/Socket.java
4587         (getLocalAddrss): Check if socket is bound or not.
4588         (getPort): Return -1 when not connected. Dont check getImpl() for
4589         null.
4590         (setReuseAddress): Check if socket is closed.
4591         (isConnected): Check if getImpl() returns null.
4593 2004-07-17  Mark Wielaard  <mark@klomp.org>
4595         * java/awt/event/InvocationEvent.java (dispatch): Synchronize
4596         on notifier object before calling notifyAll().
4598 2004-07-17  Michael Koch  <konqueror@gmx.de>
4600         * gnu/java/nio/channels/FileChannelImpl.java
4601         (finalize): Added javadoc.
4603 2004-07-17  Guilhem Lavaux <guilhem@kaffe.org>
4605         * java/text/CollationElementIterator.java
4606         (text_decomposition): Changed type to RuleBasedCollator.CollationElement[]
4607         (setText): Use ArrayList instead of Vector.
4609 2004-07-17  Michael Koch  <konqueror@gmx.de>
4611         * java/nio/ByteOrder.java
4612         (static): Removed. Not needed.
4613         Thanks to Patrick Reali for noticing.
4614         * java/nio/charset/CharsetDecoder.java
4615         (decode): Fix for classpath bug #9177: Reset state before flipping.
4617 2004-07-17  Michael Koch  <konqueror@gmx.de>
4619         * java/security/Security.java: Fixed javadocs all over.
4621 2004-07-17  Michael Koch  <konqueror@gmx.de>
4623         * gnu/java/awt/EmbeddedWindow.java
4624         (static): Removed.
4625         (addNotify): Set peer via reflection.
4626         (setWindowPeer): Removed.
4627         * gnu/java/awt/natEmbeddedWindow.cc: Removed.
4628         * Makefile.am (nat_source_files):
4629         Removed gnu/java/awt/natEmbeddedWindow.cc.
4630         * Makefile.in: Regenerated.
4632 2004-07-17  Richard Earnshaw  <rearnsha@arm.com>
4634         * configure.in(ZIP, GCJH): Remove white space around '=' in variable
4635         assignment.
4636         * configure: Regenerated.
4638 2004-07-16  Nathanael Nerode  <neroden@gcc.gnu.org>
4640         * configure.in: Use build_noncanonical rather than build_alias.
4641         * configure: Rebuild.
4643         * configure.in: Eliminate CANADIAN and NULL_TARGET variables
4644         by logic refactoring.  Move default definition of NATIVE closer
4645         to first alternate definition.
4646         * configure: Regenerate.
4648         * Makefile.am: Set ZIP and GCJH directly using autoconf.
4649         * Makefile.in, include/Makefile.in, testsuite/Makefile.in,
4650         gcj/Makefile.in: Regenerate.
4651         * configure.in: Set ZIP and GCJH.  Remove redundant condition
4652         in AM_CONDITIONAL(NATIVE,...)
4653         * configure: Regenerate.
4655 2004-07-15  Nathanael Nerode  <neroden@gcc.gnu.org>
4657         * configure.in: Use target_noncanonical rather than
4658         target_alias for forward-compatibility with autoconf 2.59.
4659         * configure: Regenerate.
4660         * Makefile.am, gcj/Makefile.am, include/Makefile.am,
4661         testsuite/Makefile.am: Substitute target_noncanonical.
4662         * Makefile.in, gcj/Makefile.in, include/Makefile.in,
4663         testsuite/Makefile.in: Regenerate.
4665         * configure.in: Move as much as possible below AC_CANONICAL_SYSTEM.
4666         Introduce _GCC_TOPLEV_NONCANONICAL_TARGET.
4667         * acinclude.m4: Include acx.m4.
4668         * aclocal.m4: Regenerate.
4669         * configure: Regenerate.
4671 2004-07-15  Bryce McKinlay  <mckinlay@redhat.com>
4673         PR libgcj/16574
4674         * java/sql/Timestamp.java (dateFormat): Renamed from sdf.
4675         (decimalFormat): New static variable.
4676         (sbuf): Likewise.
4677         (getTime): New. Override Date.getTime().
4678         (toString): Synchronize. Use decimalFormat to format nanos value
4679         correctly. Truncate extra zeros.
4680         (before): Compare getNanos() only if getTime() is equal.
4681         (after): Likewise.
4682         
4683 2004-07-14  Nathanael Nerode  <neroden@gcc.gnu.org>
4685         * acinclude.m4: "Inline" LIBGCJ_CONFIGURE macro into...
4686         * configure.in: ...here.
4687         * aclocal.m4: Regenerate.
4688         * configure: Regenerate.
4690         * aclocal.m4: Rebuilt with aclocal gcj-1.4.
4691         * configure: Rebuilt with autoconf 2.13.
4692         * Makefile.in, gcj/Makefile.in, include/Makefile.in,
4693         testsuite/Makefile.in: Rebuilt with automake gcj-1.4.
4695 2004-07-14  Bryce McKinlay  <mckinlay@redhat.com>
4697         PR libgcj/16204
4698         * Makefile.am (AM_CXXFLAGS): Add -D_FILE_OFFSET_BITS=64 to enable
4699         large file support.
4700         * Makefile.in: Rebuilt.
4701         * testsuite/libjava.lang/LargeFile.java: New test case.
4702         * testsuite/libjava.lang/LargeFile.out: New file.
4704 2004-07-14  Jerry Quinn  <jlquinn@optonline.net>
4706         * java/beans/EventHandler.java: Remove debugging statements.
4708 2004-07-14  Jerry Quinn  <jlquinn@optonline.net>
4710         * java/beans/EventHandler.java: New file.
4711         * Makefile.am (awt_java_source_files): Add EventHandler.java.
4712         * Makefile.in, gcj/Makefile.in, include/Makefile.in,
4713         testsuite/Makefile.in: Regenerate.
4715 2004-07-14  Andreas Tobler  <a.tobler@schweiz.ch>
4717         * testsuite/libjava.jacks/jacks.exp (gcj_jacks_write): Add deprecation
4718         flag to the gcj_setup.
4719         (gcj_jacks_run): Check tclsh version and launch jacks directly with
4720         the tclsh.
4721         * testsuite/libjava.jacks/jacks.xfail: Update fails to reflect the
4722         deprecation flag change. 58 XFAILS removed.
4724 2004-07-14  Ulrich Weigand  <uweigand@de.ibm.com>
4726         * configure.host (DIVIDESPEC) [s390*-*-*]: Set to 
4727         -fno-use-divide-subroutine.
4728         * include/s390-signal.h: Include <ucontext.h> and <limits.h>.
4729         (HANDLE_FPE): Define.
4730         (SIGNAL_HANDLER): Change third argument to ucontext_t *.
4731         (struct old_s390_kernel_sigaction): Likewise for k_sa_handler.
4732         (HANDLE_DIVIDE_OVERFLOW): Define.
4734 2004-07-14  Michael Koch  <konqueror@gmx.de> 
4735             Matthias Klose  <doko@debian.org> 
4737         * java/awt/im/InputContext.java: Initialize in, line.
4739 2004-07-13  Ulrich Weigand  <uweigand@de.ibm.com>
4741         * interpret.cc (run): Correctly access libffi return values of
4742         integral smaller-than-int type; these are implicitly promoted.
4744 2004-07-13  Bryce McKinlay  <mckinlay@redhat.com>
4746         PR libgcj/7587
4747         * interpret.cc (compile_mutex): New.
4748         (_Jv_InitInterpreter): New. Initialize compile_mutex.
4749         (run): Lock compile_mutex before calling compile() if compilation is
4750         required.
4751         * prims.cc (_Jv_CreateJavaVM): Call _Jv_InitInterpreter().
4752         * include/java-interp.h (_Jv_InitInterpreter): Declare. 
4754 2004-07-12  Bryce McKinlay  <mckinlay@redhat.com>
4756         PR libgcj/15713
4757         * include/jvm.h (_Jv_value): New union type.
4758         * gcj/field.h (_Jv_Field): Add new _addr union field variants 
4759         * interperet.cc (run): Use _Jv_value union type and *_addr _Jv_Field 
4760         union members.
4762 2004-07-12  Scott Gilbertson  <scottg@mantatest.com>
4764         * gnu/awt/xlib/XCanvasPeer.java (createImage): Implement.
4765         * gnu/awt/xlib/XOffScreenImage.java
4766           (XOffScreenImage): Add ImageConsumer interface. Add ColorModel
4767           constructor argument. Add constructor using ImageProducer.
4768           (getSource): Implement.
4769           (imageComplete): New method.
4770           (setColorModel): New method.
4771           (setDimensions): New method.
4772           (setHints): New method.
4773           (setPixels): New method.
4774           (setProperties): New method.
4775         * gnu/gcj/xlib/GC.java (drawPoint): New native method. 
4776         * gnu/gcj/xlib/natGC.cc (drawPoint): New native method.
4778 2004-07-11  Bryce McKinlay  <mckinlay@redhat.com>
4780         PR libgcj/16478 
4781         * prims.cc (_Jv_CreateJavaVM): Fix comment.
4782         * gnu/gcj/runtime/FinalizerThread.java (init): New. Native.
4783         (finalizerReady): Now native.
4784         (run): Likewise.
4785         (runFinalizers): Removed.
4786         * gnu/gcj/runtime/natFinalizerThread.cc (run): Implement here. Use
4787         a primitive lock, and don't hold it while running the finalizers.
4788         (runFinalizers): Implement. Don't aquire any Java lock.
4789         (finalizerReady): Use lock primitives to signal finalizer thread.
4791 2004-07-11  Mark Wielaard  <mark@klomp.org>
4793         Reported by Roman Kennke <roman@ontographics.com> (bug #9331)
4794         * java/net/URLStreamHandler.java (parseURL): When url file part
4795         doesn't contain a '/' just ignore context.
4797 2004-07-11  Ulrich Weigand  <uweigand@de.ibm.com>
4799         * include/s390-signal.c (SIGNAL_HANDLER): Use SIGINFO-style prototype.
4800         (struct old_s390_kernel_sigaction): Likewise for k_sa_handler.
4801         (MAKE_THROW_FRAME): Do not modify PSW address.
4802         (INIT_SEGV): Install SIGINFO-style signal handler.
4803         (INIT_FPE): Likewise.
4805 2004-07-10  Bryce McKinlay  <mckinlay@redhat.com>
4807         * testsuite/libjava.jacks/jacks.xfail: Updates to reflect current
4808         status. 21 xfail's removed, 1 added.
4810 2004-07-10  Bryce McKinlay  <mckinlay@redhat.com>
4812         * gcj/javaprims.h: Regenerate CNI namespace definitions.
4814 2004-07-10  Ito Kazumitsu  <kaz@maczuka.gcd.org>
4816         * java/text/MessageFormat.java
4817         (formatInternal): Append "{n}" if argument n is unavailable.
4818         (format(Object, StringBuffer, FieldPosition)): This
4819         should be equivalent to format(Object[],
4820         StringBuffer, FieldPosition).
4822 2004-07-09  Bryce McKinlay  <mckinlay@redhat.com>
4824         * java.util.Calendar.java (cache): New private static field. Cached
4825         mappings of locales->calendar classes.
4826         (ctorArgTypes): New private static field. Singleton argument for
4827         calendar class constructor lookup.
4828         (getInstance): Cache Locale->Calendar class mappings using HashMap.
4829         Optimize by bypassing reflection instantiation for the 
4830         GregorianCalendar case.
4832 2004-07-09  Bryce McKinlay  <mckinlay@redhat.com>
4834         * java/util/Calendar.java: Use getSystemClassLoader as argument for
4835         ResourceBundle.getBundle() calls.
4836         * java/util/GregorianCalendar.java: Likewise.
4837         * java/util/Currency.java: Likewise.
4838         * java/text/BreakIterator.java: Likewise.
4839         * java/text/Collator.java: Likewise.
4840         * java/text/DateFormat.java: Likewise.
4841         * java/text/DateFormatSymbols.java: Likewise.
4842         * java/text/DecimalFormatSymbols.java: Likewise.
4843         * java/text/NumberFormat.java: Likewise.
4844         * java/awt/Window.java: Likewise.       
4846 2004-07-09  Bryce McKinlay  <mckinlay@redhat.com>
4848         * java/util/ResourceBundle.java (bundleCache): Renamed from
4849         resourceBundleCache. Update comments.
4850         (getObject): Don't catch MissingResourceException.
4851         (getBundle(String)): Remove 'final'. Use system classloader if
4852         getCallingClassLoader returned null.
4853         (getBundle(String, Locale)): Likewise.
4854         (BundleKey): New private class. HashMap key for bundle cache lookup.
4855         (lookupKey): New. Singleton instance of BundleKey.
4856         (nullEntry): New. Cache entry to represent failed lookups.
4857         (getBundle(String, Locale, ClassLoader)): Re-written to use new 
4858         caching strategy, no-allocation lookup, and new tryBundle methods.
4859         (tryBundle(String, ClassLoader)): New. Load a locale-qualified bundle 
4860         name using given classloader.
4861         (tryBundle(String, Locale, ClassLoader, boolean): New. Qualify 
4862         baseName for given Locale and attempt to load bundle.
4864 2004-07-09  Bryce McKinlay  <mckinlay@redhat.com>
4866         * javax/swing/plaf/basic/BasicMenuUI.java (mousePressed): Remove 
4867         illegal protected method calls.
4869 2004-07-09  Bryce McKinlay  <mckinlay@redhat.com>
4871         Fix or remove some bogus test cases.
4872         * testsuite/libjava.compile/pr10459_2.java: Removed.
4873         * testsuite/libjava.compile/pr10459.java: Test using its own method,
4874         not Object.clone().
4875         * testsuite/libjava.compile/inner_data.java: Test against its own
4876         protected field.
4878 2004-07-09  Michael Koch  <konqueror@gmx.de>
4880         * scripts/unicode-muncher.pl: Updated to version 2.1
4881         from GNU classpath. Added some clarifications on where to find the
4882         needed files from www.unicode.org.
4883         * gnu/gcj/convert/UnicodeCharacterDatabase-3.0.0.html,
4884         gnu/gcj/convert/UnicodeData-3.0.0.txt:
4885         Removed, these can directly be downloaded from www.unicode.org if
4886         needed. 
4887         * gnu/java/lang/CharData.java: Regenerated.
4888         * include/java-chartables.h: Regenerated.
4889         * Makefile.am (ordinary_java_source_files):
4890         Removed gnu/java/lang/CharData.java.
4891         * Makefile.in: Regenerated.
4893 2004-07-09  Michael Koch  <konqueror@gmx.de>
4895         * java/security/AccessControlContext.java,
4896         java/security/SecureClassLoader.java:
4897         Fixed javadocs.
4899 2004-07-09  Michael Koch  <konqueror@gmx.de>
4901         * java/io/ObjectInputStream.java (readFields): Use long datatype
4902         when shifting byte values more then 24 bits left.
4904 2004-07-09  Michael Koch  <konqueror@gmx.de>
4906         * java/util/zip/DeflaterOutputStream.java,
4907         java/util/zip/GZIPInputStream.java,
4908         java/util/zip/GZIPOutputStream.java,
4909         java/util/zip/InflaterInputStream.java:
4910         Reformatted. Added javadocs. Reordered all stuff.
4911         Renamed variables to be more clear.
4913 2004-07-09  Michael Koch  <konqueror@gmx.de>
4915         * javax/imageio/IIOException.java,
4916         javax/imageio/event/IIOReadProgressListener.java,
4917         javax/imageio/event/IIOReadUpdateListener.java,
4918         javax/imageio/event/IIOReadWarningListener.java,
4919         javax/imageio/event/IIOWriteProgressListener.java,
4920         javax/imageio/event/IIOWriteWarningListener.java:
4921         New files.
4922         * Makefile.am: Added new files.
4923         * Makefile.in: Regenerated.
4925 2004-07-09  Guilhem Lavaux <guilhem@kaffe.org>
4927         * java/text/RuleBasedCollator.java
4928         (mergeRules): Use ArrayList instead of Vector.
4929         (subParseString): likewise.
4930         (parseString): likewise.
4931         (buildCollationVector): likewise.
4932         (getCollationKey): likewise.
4934 2004-07-09  Dalibor Topic  <robilad@kaffe.org>
4936         * java/text/DateFormat.java (parse):
4937         Improved javadoc. Improved exception message.
4939 2004-07-09  Mark Wielaard  <mark@klomp.org>
4941         * gnu/java/nio/SelectorImpl.java (select): Call static Thread
4942         interrupted() method to clear interupt flag of our Thread.
4944 2004-07-09  Dalibor Topic  <robilad@kaffe.org>
4946         * java/nio/Buffer.java,
4947         java/nio/ByteBuffer.java,
4948         java/nio/ByteBufferHelper.java,
4949         java/nio/ByteBufferImpl.java,
4950         java/nio/CharBuffer.java,
4951         java/nio/CharBufferImpl.java,
4952         java/nio/CharViewBufferImpl.java,
4953         java/nio/DirectByteBufferImpl.java,
4954         java/nio/DoubleBuffer.java,
4955         java/nio/DoubleBufferImpl.java,
4956         java/nio/DoubleViewBufferImpl.java,
4957         java/nio/FloatBuffer.java,
4958         java/nio/FloatBufferImpl.java,
4959         java/nio/FloatViewBufferImpl.java,
4960         java/nio/IntBuffer.java,
4961         java/nio/IntBufferImpl.java,
4962         java/nio/IntViewBufferImpl.java,
4963         java/nio/LongBuffer.java,
4964         java/nio/LongBufferImpl.java,
4965         java/nio/LongViewBufferImpl.java,
4966         java/nio/MappedByteBufferImpl.java,
4967         java/nio/ShortBuffer.java,
4968         java/nio/ShortBufferImpl.java,
4969         java/nio/ShortViewBufferImpl.java:
4970         Fixed javadocs all over. Improved input error
4971         checking.
4973         * java/nio/Buffer.java
4974         (checkForUnderflow, checkForOverflow, checkIndex,
4975         checkIfReadOnly, checkArraySize): New helper methods
4976         for error checking.
4978         * java/nio/ByteBufferHelper.java
4979         (checkRemainingForRead, checkRemainingForWrite,
4980         checkAvailableForRead, checkAvailableForWrite): Removed
4981         no longer needed methods.
4983 2004-07-09  Michael Koch  <konqueror@gmx.de>
4985         * gnu/regexp/CharIndexedInputStream.java:
4986         Reordered imports to match classpath.
4988 2004-07-09  Michael Koch  <konqueror@gmx.de>
4990         * gnu/java/awt/EmbeddedWindow.java:
4991         Load native library for setWindowPeer method.
4993 2004-07-08  Randolph Chung  <tausq@debian.org>
4995         * configure.in (SIGNAL_HANDLER): Use pa-signal.h for hppa.
4996         * configure: Regenerate.
4997         * configure.host: Set can_unwind_signal for hppa*-linux.
4998         * include/pa-signal.h: New file.
5000 2004-07-07  Per Bothner  <per@bothner.com>
5002         * Makefile.am:  Add rules to build libgij from just gij.cc.
5004         * include/jvm.h (namespace jcj):  Declare verbose_class_flag
5005         * java/lang/natClass.cc (gcj::verbose_class_flag):  New variable.
5006         (initializeClass):  If verbose_class_flag, print message.
5007         * gij.cc (main):  Handle -verbose:class flag.
5009 2004-07-07  Andreas Tobler  <a.tobler@schweiz.ch>
5011         * configure.host: Enable hash synchronization on Darwin.
5012         * sysdep/powerpc/locks.h (compare_and_swap): Use '\n' instead of
5013         ';', since this is a comment on Darwin.
5014         (compare_and_swap_release): Likewise.
5016 2004-07-06  Mohan Embar  <gnustuff@thisiscool.com>
5018         * java/net/URLStreamHandler.java (parseURL): Canonicalize
5019         file portion of URL in addition to spec for file: protocol.
5021 2004-07-05  Anthony Green  <green@redhat.com>
5023         * java/io/File.java (toURI): Merge from Classpath.
5025 2004-07-05  Bryce McKinlay  <mckinlay@redhat.com>
5027         * gnu/gcj/runtime/VMClassLoader.java (init): Check classpath entry
5028         before passing to URL constructor. Rethrow any MalformedURLException
5029         as a RuntimeException. Catch MalformedURLException specifically, not
5030         all exceptions.
5032 2004-07-05  Bryce McKinlay  <mckinlay@redhat.com>
5034         * java/util/Locale.java (readObject): Intern strings read from object
5035         stream.
5037 2004-07-04  Michael Koch  <konqueror@gmx.de>
5039         * gnu/gcj/runtime/FirstThread.java,
5040         gnu/gcj/runtime/natFirstThread.cc: Removed.
5041         * gnu/java/lang/MainThread.java,
5042         gnu/java/lang/natMainThread.cc: New files.
5043         * prims.cc (_Jv_RunMain): Use MainThread instead of FirstThread.
5044         * Makefile.am: Added new files and removed deleted ones.
5045         * Makefile.in: Regenerated.
5047 2004-07-03  Mark Wielaard  <mark@klomp.org>
5048             Anthony Green  <green@redhat.com>
5050         * java/net/URL.java (getFile): Clarify return value doc.
5051         (getPath): Return null if file is empty - not empty String.
5052         (set): Convert protocol to lower case before doing anything.
5053         Only change the protocol handler if it's different.
5055 2004-07-03  Anthony Green  <green@redhat.com>
5057         * java/net/URL.java (URL): Convert protocol to lower case before
5058         doing anything, so we getURLStreamHandler() with the proper value.
5060 2004-07-02  Bryce McKinlay  <mckinlay@redhat.com>
5062         * java/util/Locale.java (hashcode): Made transient.
5063         (hashCode): No longer synchronized.
5064         (equals): Remove comment.
5065         (writeObject): No longer synchronized. Implement using writeObject 
5066         calls instead of tweaking hashCode field. Update doc.
5067         (readObject): Implement using readObject calls.
5069 2004-06-26  Geoffrey Keating  <geoffk@apple.com>
5070             Andreas Tobler  <a.tobler@schweiz.ch>
5072         * configure.host (powerpc-*-darwin*): New case, define
5073         can_unwind_signal.
5074         * configure.in (*-*-darwin*): New case, point to darwin-signal.h.
5075         * configure: Regenerate.
5076         * include/darwin-signal.h: New.
5078 2004-06-30  Jerry Quinn  <jlquinn@optonline.net>
5080         * java/beans/Statement.java (doExecute): Fix formatting.
5082 2004-06-29  Per Bothner  <per@bothner.com>
5084         * jni.cc (_Jv_JNI_NewGlobalRef, JNICALL _Jv_JNI_DeleteGlobalRef,
5085         etc etc):  Remove needless parenthesis, which causes __stdcall__
5086         attribute on MinGW to get ignored.
5088 2004-06-29  Bryce McKinlay  <mckinlay@redhat.com>
5090         * testsuite/libjava.compile/PR16249.java: New test case. PR gcc/16249.
5092 2004-06-28  Bryce McKinlay  <mckinlay@redhat.com>
5094         * testsuite/libjava.jacks/jacks.xfail: Remove 8.1.3-superclass-6.
5096 2004-06-28  Jerry Quinn  <jlquinn@optonline.net>
5098         * java/beans/Expression.java: New file.
5099         * java/beans/Statement.java: New file.
5100         * Makefile.am: Added new files.
5101         * Makefile.in: Re-generate.
5103 2004-06-27 Mark Wielaard  <mark@klomp.org>
5105         * java/io/FilePermission.java (usingPerms): Removed.
5106         (actionsString): Made final.
5107         (cachePerms): Renamed to checkPerms.
5108         (checkPerms): Renamed from cachePerms. Call trim() and toLowerCase()
5109         on action String.
5110         (FilePermission): Check arguments, call checkPerms().
5111         (equals): Remove cachePerms() call.
5112         (implies): Likewise.
5114 2004-06-27  Mark Wielaard  <mark@klomp.org>
5116         * gnu/java/net/protocol/http/Connection.java (userAgent): New static
5117         final field.
5118         (sendRequest): Use new field in user-agent http agent.
5120 2004-06-27  Mark Wielaard  <mark@klomp.org>
5122         * java/awt/EventQueue.java (postEvent): Throw NullPointerException
5123         when argument is null.
5125 2004-06-26  Mark Wielaard  <mark@klomp.org>
5127         * native/jni/gtk-peer/gnu_java_awt_peer_gtk_GtkFileDialogPeer.c
5128         (ok_clicked): Use Ljava/lang/String; not Ljava.lang.String; in JNI
5129         GetMethodID call.
5130         (cancel_clicked): Likewise.
5132 2004-06-26  Andreas Tobler  <a.tobler@schweiz.ch>
5134         * jni/gtk-peer/gnu_java_awt_peer_gtk_GtkMainThread.c
5135         (init_dpi_conversion_factor): Check for int_dpi < 0 in case gtk-xft-dpi
5136         can not calculate the right value.
5137         (dpi_changed_cb): Likewise. Mark *pspec as unused.
5139 2004-06-24  Bryce McKinlay  <mckinlay@redhat.com>
5141         * testsuite/libjava.jacks/jacks.xfail: Remove
5142         15.9.1-qualified-concrete-20.
5144 2004-06-22  Bryce McKinlay  <mckinlay@redhat.com>
5146         * gnu/gcj/convert/BytesToUnicode.java (getDecoder): Pass original
5147         encoding name to iconv.
5148         * gnu/gcj/convert/UnicodeToBytes.java (getEncoder): Likewise.
5150 2004-06-22  Bryce McKinlay  <mckinlay@redhat.com>
5152         PR libgcj/16134:
5153         * gnu/gcj/convert/BytesToUnicode.java (getDecoder): Canonicalize 
5154         encoding name before cache lookup. Thanks to Hannes Wallnoefer.
5155         * gnu/gcj/convert/UnicodeToBytes.java (getEncoder): Likewise.
5157 2004-06-21  Andrew Haley  <aph@redhat.com>
5159         * java/io/ObjectOutputStream.java: Add DEBUG statements
5160         everywhere.
5161         (dumpElementln): New method.
5162         (depth): New field.
5163         * java/io/ObjectInputStream.java
5164         (currentClassLoader): Make native.
5165         (callersClassLoader): New field.
5166         (depth): New field.
5167         (readObject): ENDBLOCKDATA is generated if the class has a write
5168         method, not if it has a read method.
5169         (readObject): Save and restore this.currentObject and
5170         this.currentObjectStreamClass around calls to callReadMethod().
5171         * java/io/natObjectInputStream.cc (getCallersClassLoader): New
5172         method.
5174 2004-06-18  Andreas Tobler  <a.tobler@schweiz.ch>
5176         * testsuite/libjava.jni/jni.exp (gcj_jni_test_one): Add lgcc_s for
5177         darwin.
5179 2004-06-18  Ranjit Mathew  <rmathew@hotmail.com>
5181         * prims.cc (_Jv_CreateJavaVM): Install SEGV and FPE handlers,
5182         if desired, before the default class loader is initialised.
5183         Call INIT_SEGV only if HANDLE_SEGV is defined.
5185 2004-06-18  Ranjit Mathew  <rmathew@hotmail.com>
5187         * gnu/gcj/runtime/VMClassLoader.java (init): Add extensions
5188         directory only if it actually exists.
5190 2004-06-18  Graydon Hoare  <graydon@redhat.com>
5192         * jni/gtk-peer/gnu_java_awt_peer_gtk_GtkComponentPeer.c:
5193         Fix up non-ansi comments.
5195 2004-06-18  Ranjit Mathew  <rmathew@hotmail.com>
5197         * javax/swing/text/AbstractDocument.java: Adding missing import
5198         for javax.swing.event.EventListenerList.
5199         * javax/swing/text/DefaultCaret.java: Likewise.
5201 2004-06-17  Michael Koch  <konqueror@gmx.de>
5203         * javax/swing/JToolBar.java
5204         (name): Removed.
5205         (JToolBar): Use Component.setName(String) instead of doing it all
5206         alone.
5207         * javax/swing/Timer.java
5208         (queueEvent): Added missing modifier.
5210 2004-06-17  Olga Rodimina  <rodimina@redhat.coom>
5212         * Makefile.am: Added new file.
5213         * Makefile.in: Re-generate.
5214         * javax/swing/JMenu.java:
5215         (insertSeparator): Implemented.
5216         * javax/swing/JPopupMenu.java:
5217         (JPopupMenu.Separator): Implemented.
5218         * javax/swing/MenuSelectionManager.java:
5219         (processMouseEvent): Use java.awt.Component 
5220         for event source instead of javax.swing.JComponent. 
5221         * javax/swing/plaf/basic/BasicPopupMenuSeparatorUI.java:
5222         New File. Implemented.
5223         
5224 2004-06-16  David Jee  <djee@redhat.com>
5226         * java/awt/GridBagLayout.java
5227         (GetLayoutInfo): Adjust cell sizes iff parent size is not zero.
5228         Make sure pos_x and pos_y are never negative.
5230 2004-04-16  Andrew Overholt  <overholt@redhat.com>
5232         * Makefile.am: Add new file.
5233         * Makefile.in: Re-generate.     
5234         * javax/swing/JToolBar.java
5235         Partially implemented.
5236         * javax/swing/plaf/basic/BasicToolBarUI.java
5237         New file. Partially implemented.
5239 2004-06-16  Graydon Hoare  <graydon@redhat.com>
5241         * gnu/java/awt/peer/gtk/GdkGraphics2D.java 
5242         (setComposite): Accept AlphaComposite arguments.
5243         * gnu/java/awt/peer/gtk/GdkPixbufDecoder.java
5244         (createBufferedImage): Add new overloads.
5245         * gnu/java/awt/peer/gtk/GtkToolkit.java
5246         (createImage): Use GdkPixbufDecoder.createBufferedImage
5247         when useGraphics2D() is true.
5248         (getImage): Delegate to createImage.
5249         * javax/swing/JList.java
5250         (isSelectionEmpty):
5251         (getFirstVisibleIndex):
5252         (getLastVisibleIndex):
5253         (setSelectedValue):
5254         (ensureIndexIsVisible): New methods.
5255         * javax/swing/Timer.java: Reimplement.
5257 2004-06-16  Michael Koch  <konqueror@gmx.de>
5259         * javax/swing/text/AbstractDocument.java
5260         (AbstracElement): Made public, implements java.io.Serializable.
5261         (AttributeContext): Made public.
5262         (BranchElement): Likewise.
5263         (Content): Likewise.
5264         (DefaultDocumentEvent): Made public, extends
5265         javax.swing.undo.CompoundEdit.
5266         (ElementEdit): Made public, extends
5267         javax.swing.undo.AbstractUndoableEdit.
5268         (LeafElement): Made public.
5269         (LeafElement.LeafElement): Made public.
5271 2004-06-16  Michael Koch  <konqueror@gmx.de>
5273         * javax/swing/text/JTextComponent.java: Totally reworked. Removed many
5274         methods (that were obviously never be intended to get included hi this
5275         class. Added some methods too.
5277 2004-06-16  Michael Koch  <konqueror@gmx.de>
5279         * javax/swing/text/PlainDocument.java
5280         (serialVersionUID): New constant.
5281         (lineLimitAttribute): Likewise.
5282         (tabSizeAttribute): Likewise.
5283         (tabSize): New field.
5284         (PlainDocument): Made public.
5285         (PlainDocument): New constructor.
5287 2004-06-16  Michael Koch  <konqueror@gmx.de>
5289         * javax/swing/text/AbstractDocument.java
5290         (insertString): Throws BadLocationException.
5291         * javax/swing/text/Document.java
5292         (insertString): Likewise.
5293         * javax/swing/text/JTextComponent.java:
5294         Javadocs and comments cleaned up.
5296 2004-06-16  Michael Koch  <konqueror@gmx.de>
5298         * javax/swing/event/UndoableEditListener.java: Reformatted.
5299         * javax/swing/text/AbstractDocument.java
5300         (AbstractDocument): Implements java.io.Serializable.
5301         (doc_list): Removed.
5302         (undo_list): Removed.
5303         (AbstractElement.serialVerionUID): New field.
5304         (BranchElement.serialVerionUID): Likewise.
5305         (DefaultDocumentEvent.serialVerionUID): Likewise.
5306         (ElementEdit.serialVerionUID): Likewise.
5307         (LeafElement.serialVerionUID): Likewise.
5308         (serialVerionUID): Likewise.
5309         (BAD_LOCATION): New constant.
5310         (BidiElementName): Likewise.
5311         (ContentElementName): Likewise.
5312         (ParagraphElementName): Likewise.
5313         (SectionElementName): Likewise.
5314         (ElementNameAttribute): Likewise.
5315         (AbstractDocument): Made protected.
5316         (AbstractDocument): New construtor.
5317         (listenerList): New field.
5318         (fireChangedUpdate): Implemented.
5319         (fireInsertUpdate): Likewise.
5320         (fireRemoveUpdate): Likewise.
5321         (fireUndoableEditUpdate): Likewise.
5322         (getListeners): Likewise.
5323         (addDocumentListener): Likewise.
5324         (removeDocumentListener): Likewise.
5325         (addUndoableEditListener): Likewise.
5326         (removeUndoableEditListener): Likewise.
5327         (getDocumentListeners): New method.
5328         (getUndoableEditListeners): Likewise.
5329         (getAsynchronousLoadPriority): Made public.
5330         (getBidiRootElement): Likewise.
5331         (setAsynchronousLoadPriority): Likewise.
5332         (setDocumentProperties): Likewise.
5333         * javax/swing/text/BadLocationException.java
5334         (serialVerionUID): New field.
5335         * javax/swing/text/DefaultCaret.java
5336         (changeEvent): New field.
5337         (listenerList): Likewise.
5338         (changes): Removed.
5339         (addChangeListener): Reimplemented.
5340         (removeChangeListener): Likewise.
5341         (getListeners): New method.
5342         (getChangeListeners): Likwise.
5343         (getComponent): Likewise.
5344         * javax/swing/text/GapContent.java
5345         (GapContent): Implements java.io.Serializable.
5346         (serialVerionUID): New field.
5348 2004-06-16  Michael Koch  <konqueror@gmx.de>
5350         * javax/swing/JTree.java
5351         (treeModel): New field.
5352         (JTree): New constructors, one existing one made public.
5353         (createTreeModel): New method.
5354         (addTreeExpansionListener): Likewise.
5355         (removeTreeExpansionListener): Likewise.
5356         (getTreeExpansionListeners): Likewise.
5357         (fireTreeCollapsed): Likewise.
5358         (fireTreeExpanded): Likewise.
5359         (addTreeSelectionListener): Likewise.
5360         (removeTreeSelectionListener): Likewise.
5361         (getTreeSelectionListeners): Likewise.
5362         (fireValueChanged): Likewise.
5363         (addTreeWillExpandListener): Likewise.
5364         (removeTreeWillExpandListener): Likewise.
5365         (getTreeWillExpandListeners): Likewise.
5366         (fireTreeWillCollapse): Likewise.
5367         (fireTreeWillExpand): Likewise.
5369 2004-06-16  Michael Koch  <konqueror@gmx.de>
5371         * javax/swing/JTree.java: Reformatted.
5373 2004-06-16  Michael Koch  <konqueror@gmx.de>
5375         * javax/swing/JTextArea.java: New file.
5376         * javax/swing/JTextField.java
5377         (actions): Removed.
5378         (notifyAction): New constant.
5379         (columns): New field.
5380         (JTextField): New constructors.
5381         (createDefaultModel): New method.
5382         (addActionListener): Reimplmemented.
5383         (removeActionListener): Reimplemented.
5384         (getActionListeners): New method.
5385         (fireActionPerformed): New method.
5386         (getColumns): New method.
5387         (setColumne): New method.
5388         * javax/swing/text/JTextComponent.java
5389         (AccessibleJTextComponent.serialVersionUID): New field.
5390         (serialVersionUID): Likewise.
5391         (DEFAULT_KEYMAP): Likewise.
5392         (FOCUS_ACCELERATOR_KEY): Likewise.
5393         (doc): Made private.
5394         (icon_gap): Likewise.
5395         (icon): Likewise.
5396         (align): Likewise.
5397         (JTextComponent): Some constructors removed.
5398         (getScrollableTracksViewportHeight): New method.
5399         (getScrollableTracksViewportWidth): Likewise.
5400         * Makefile.am: Added javax/swing/JTextArea.java.
5401         * Makefile.in: Regenerated.
5403 2004-06-15  Graydon Hoare  <graydon@redhat.com>
5405         * javax/swing/ImageIcon.java (ImageIcon): New constructor.
5406         * javax/swing/JFrame.java (defaultLookAndFeelDecorated): New property.
5407         * javax/swing/JViewport.java 
5408         (getExtentSize): Return size rather than preferred size.
5409         (toViewCoordinates): New methods.
5410         (getViewSize): Return size rather than preferred size.
5411         (setViewSize): Note view size as set.
5412         * javax/swing/ViewportLayout.java (layoutContainer): Reimplement.
5413         * javax/swing/plaf/basic/BasicScrollBarUI.java 
5414         (getPreferredSize): Don't redo layout.
5415         * javax/swing/plaf/basic/BasicViewportUI.java 
5416         (paint): Translate image properly and eat exceptions.
5418 2004-06-15  Kim Ho  <kho@redhat.com>
5420         * javax/swing/JTabbedPane.java
5421         (setComponent): Remove old component and
5422         add new component.
5423         (setSelectedIndex): Don't operate on the 
5424         components if they're null. Don't set index
5425         on the model if the index is the same.
5426         (insertTab): Don't add or hide the component
5427         if it's null. Repaint the container.
5428         * javax/swing/plaf/basic/BasicLookAndFeel.java
5429         Change colors for TabbedPane.
5430         * javax/swing/plaf/basic/BasicTabbedPaneUI.java
5431         (mousePressed): Re-layout and paint the component.
5432         (layoutContainer): Don't set location on the view.
5433         (ScrollingViewport::paint): Remove.
5435 2004-06-14  Thomas Fitzsimmons  <fitzsim@redhat.com>
5437         * jni/gtk-peer/gnu_java_awt_peer_gtk_GtkComponentPeer.c
5438         (gtkWidgetDispatchKeyEvent): Change warning message to comment.
5440         * jni/gtk-peer/gnu_java_awt_peer_gtk_GdkGraphics.c (drawString):
5441         Wrap baseline y value in PANGO_PIXELS macro, rather than simply
5442         dividing by PANGO_SCALE.  Call gdk_flush before leaving GDK
5443         critical region.
5444         (drawLine): Call gdk_flush before leaving GDK critical region.
5445         (fillRect): Likewise.
5446         (drawRect): Likewise.
5447         (copyArea): Likewise.
5448         (copyPixmap): Likewise.
5449         (clearRect): Likewise.
5450         (drawArc): Likewise.
5451         (drawPolyline): Likewise.
5452         (drawPolygon): Likewise.
5453         (fillPolygon): Likewise.
5454         (fillArc): Likewise.
5455         (drawOval): Likewise.
5456         (fillOval): Likewise.
5458         * gnu/java/awt/peer/gtk/GdkFontMetrics.java (initState): Add
5459         style parameter.
5460         (GdkFontMetrics): Add style argument to initState call.
5461         (stringWidth(String,int,int,String)): Add style parameter.
5462         (stringWidth(String)): Add style argument to stringWidth call.
5463         * jni/gtk-peer/gnu_java_awt_peer_gtk_GdkFontMetrics.c
5464         (initState): Set pango font style and weight based on AWT style
5465         parameter.  Pass default GTK language to
5466         pango_context_get_metrics.  Use PANGO_PIXELS macro rather than
5467         simply dividing by PANGO_SCALE.
5468         (stringWidth): Set pango font style and weight based on AWT style
5469         parameter.
5471         * java/awt/Button.java (next_button_number): New field.
5472         (paramString): Change output.
5473         (generateName): New method.
5474         (getUniqueLong): New method.
5476 2004-06-14  Kim Ho  <kho@redhat.com>
5478         * javax/swing/JTabbedPane.java:
5479         (setComponentAt): Set the component, not
5480         the enabled status.
5481         * javax/swing/plaf/basic/BasicDesktopIconUI.java
5482         (actionPerformed): Let deiconize catch exception.
5484 2004-06-14  Olga Rodimina  <rodimina@redhat.com>
5486         * javax/swing/JPopupMenu.java:
5487         (setVisible): Corrected location of a 
5488         heavyweight popup menu.
5490 2004-06-14  Olga Rodimina  <rodimina@redhat.com>
5492         * javax/swing/MenuSelectionManager.java: 
5493         Ran through jalopy to fix formatting style.
5495 2004-06-14  Olga Rodimina  <rodimina@redhat.com>
5496         
5497         * javax/swing/JLayeredPane.java: 
5498         (remove): Revalidate and repaint layered pane after
5499         the component was removed.
5500         javax/swing/JMenu.java:
5501         (setVisible): Display popup menu at the user location,
5502         if one was set by the user.
5503         (setMenuLocation): Reimplemented. Fixed javadoc.
5504         * javax/swing/JMenuBar.java: Added javadoc.
5505         (BORDER_PAINTED_CHANGED_PROPERTY): New Property.
5506         (MODEL_CHANGED_PROPERTY): New Property.
5507         (isSelected): Implemented.
5508         (setBorderPainted): Fire PropertyChangeEvent
5509         if paintBorder property changes.
5510         (setSelected): Implemented.
5511         (setSelectionModel): Implemented.
5512         * javax/swing/JPopupMenu.java: Added Javadoc
5513         (pack): Implemented.
5514         (setVisible): Reimplemented.
5515         (show): Fixed location.
5516         (JPopupMenu.LigthWeightPopup): Reimplemented to use
5517         Container instead of JPanel.
5518         * javax/swing/MenuSelectionManager.java: Added Javadocs.
5519         (clearSelectedPath): Reimplemented to clear selectedPath
5520         in reverse order.
5521         (processMouseEvent): Reimplemented.
5522         (setSelectedPath): Fire stateChange event indicating that
5523         selected menu path has changed.
5524         (getPath): Change to use ArrayList instead of Vector.
5525         * javax/swing/plaf/basic/BasicMenuBarUI.java:
5526         (installUI): call installKeyboardActions().
5527         (uninstallUI): call uninstallKeyboardActions().
5529 2004-06-13  Michael Koch  <konqueror@gmx.de>
5531         * javax/swing/text/DefaultCaret.java,
5532         javax/swing/text/BadLocationException.java:
5533         Reformatted.
5535 2004-06-12  Thomas Fitzsimmons  <fitzsim@redhat.com>
5537         * gnu/java/awt/peer/gtk/GtkTextAreaPeer.java (DEFAULT_ROWS,
5538         DEFAULT_COLS): New variables.
5539         (create): Don't allow 0 rows or 0 columns.  Instead, set the
5540         values to DEFAULT_ROWS or DEFAULT_COLS.
5541         (getMinimumSize): Likewise.
5542         (getPreferredSize): Likewise.
5543         (minimumSize): Likewise.
5544         (preferredSize): Likewise.
5545         (create): Set peer's editable state.
5546         * java/awt/TextArea.java (TextArea()): Set rows and columns to
5547         zero.  Update javadocs.
5548         (TextArea(String)): Likewise.
5549         (TextArea(int,int)): Fix javadocs.
5550         (TextArea(String,int,int,int)): Only throw exception if one of
5551         rows or columns is zero.  Fix javadocs.
5553 2004-06-11  Thomas Fitzsimmons  <fitzsim@redhat.com>
5555         * java/awt/AWTEvent.java (toString): Handle MenuComponents in
5556         addition to Components.
5558         * java/awt/MenuItem.java (dispatchEventImpl): If the event
5559         wasn't consumed by normal processing, send it to the parent
5560         menu.
5562         * gnu/java/awt/peer/gtk/GtkImagePainter.java
5563         (setPixels(int,int,int,int,ColorModel,int[],int,int)): Remove
5564         translation.
5566 2004-06-11  David Jee  <djee@redhat.com>
5568         * java/awt/MediaTracker.java
5569         (addImage(Image,int)): Call imageUpdate() to udpate image status.
5570         (addImage(Image,int,int,int)): Likewise.
5572 2004-06-11  Michael Koch  <konqueror@gmx.de>
5574         * javax/swing/text/AbstractDocument.java,
5575         javax/swing/text/Document.java,
5576         javax/swing/text/GapContent.java,
5577         javax/swing/text/JTextComponent.java,
5578         javax/swing/text/PlainDocument.java:
5579         Reformatted.
5581 2004-06-11  Michael Koch  <konqueror@gmx.de>
5583         * javax/swing/JRootPane.java
5584         (AccessibleJRootPane.serialVersionUID): New field.
5585         (AccessibleJRootPane.AccessibleJRootPane): New constructor.
5586         (AccessibleJRootPane.getAccessibleRole): New method.
5587         (RootLayout): Implements Serializable.
5588         (RootLayout.serialVersionUID): New field.
5589         (RootLayout.RootLayout): New constructor.
5590         (setJMenuBar): Made public.
5591         (getJMenuBar): Likewise.
5592         (JRootPane): Likewise.
5593         (createContentPane): Likewise.
5594         (createGlassPane): Likewise.
5595         (createLayeredPane): Likewise.
5597 2004-06-11  Michael Koch  <konqueror@gmx.de>
5599         * javax/swing/SwingUtilities.java
5600         (isLeftMouseButton): Fixed javadoc.
5601         (isMiddleMouseButton): Likewise.
5602         (isRightMouseButton): Likewise.
5604 2004-06-11  Michael Koch  <konqueror@gmx.de>
5606         * javax/swing/JScrollPane.java
5607         (serialVersionUID): New field.
5608         (columnHeader): Made protected.
5609         (rowHeader): Likewise.
5610         (lowerLeft): Likewise.
5611         (lowerRight): Likewise.
5612         (upperLeft): Likewise.
5613         (upperRight): Likewise.
5614         (horizontalScrollBar): Likewise.
5615         (horizontalScrollBarPolicy): Likewise.
5616         (verticalScrollBar): Likewise.
5617         (verticalScrollBarPolicy): Likewise.
5618         (viewport): Likewise.
5620 2004-06-11  Michael Koch  <konqueror@gmx.de>
5622         * javax/swing/LookAndFeel.java: Fixed javadocs.
5624 2004-06-11  Michael Koch  <konqueror@gmx.de>
5626         * javax/swing/JEditorPane.java: Fixed javadocs.
5627         (JEditorPane): Removed redundant call to to this().
5628         (fireHyperlinkUpdate): Implemented.
5630 2004-06-10  Olga Rodimina  <rodimina@redhat.com>
5632         * javax/swing/JMenu.java: Fixed file name 
5633         in the file comment.
5635 2004-06-10  Olga Rodimina  <rodimina@redhat.com>
5637         * javax/swing/JMenu.java: Added javadoc.
5638         (JMenu): Added MenuChangeListener to listen to 
5639         ChangeEvents occuring in menu's model. 
5640         (insert): Throw IllegalArgumentException if 
5641         index is less than 0
5642         (setSelected): Reimplement.
5643         (setPopupMenuVisible): Call menu's model isEnabled()
5644         (setDelay): Throw IllegalArgumentException if 
5645         given amount of delay is less than 0.
5646         (createActionComponent): Implemented.
5647         (createActionChangeListener): Implemented.
5648         (addSeparator): Implemented.
5649         (getItem): Throw IllegalArgumentException if index is 
5650         less than 0.
5651         (getItemCount): Implemented.
5652         (fireMenuSelected): Changed to use menuEvent.
5653         (fireMenuDeselected): Likewise.
5654         (fireMenuCanceled): Likewise.
5655         (setAccelerator): Changed to throw an error if this 
5656         method is used. 
5657         (doClick): Implemented.
5658         (JMenu.ActionChangedListener): New inner class to handle
5659         PropertyChangeEvents occuring in the actions associated with menu.
5660         * javax/swing/plaf/basic/BasicMenuUI.java: Added javadoc.
5661         (BasicMenuUI): Added PropertyChangeListener to the menu.
5662         (createChangeListener): Implemented.
5663         (createMenuDragMouseListener): Likewise.
5664         (createMenuKeyListener): Likewise.
5665         (createPropertyChangeListener): Likewise.
5666         (uninstallListeners): Likewise.
5667         (BasicMenuUI.MouseInputHandler): Reimplemented.
5668         (BasicMenuUI.PropertyChangeHandler): New class. Not implemented yet.
5669         (BasicMenuUI.ChangeHandler): Likewise.
5670         (BasicMenuUI.MenuDragMouseHandler): Likewise.
5671         (BasicMenuUI.MenuKeyHandler): Likewise.
5673 2004-06-10  David Jee  <djee@redhat.com>
5675         * java/awt/MediaTracker.java
5676         (imageUpdate): Only do notifyAll() if the image is complete.
5678 2004-06-10  Olga Rodimina  <rodimina@redhat.com>
5680         * javax/swing/JApplet.java:
5681         (getJMenuBar): Made public.
5682         (setJMenuBar): Likewise.
5683         * javax/swing/JFrame.java:
5684         (getJMenuBar): Made public.
5685         (setJMenuBar): Likewise.
5686         * javax/swing/JWindow.java:
5687         (getJMenuBar): Removed.
5688         (setJMenuBar): Removed.
5690 2004-06-10  Michael Koch  <konqueror@gmx.de>
5692         * javax/swing/JEditorPane.java
5693         (createEditorKitForContentType): Fixed visibility.
5694         (fireHyperlinkUpdate): Likewise.
5695         (getContentType): Likewise.
5696         (getEditorKit): Likewise.
5697         (getEditorKitForContentType): Likewise.
5698         (getPage): Likewise.
5699         (read): Likewise.
5700         (registerEditorKitForContentTyoe): Likewise.
5701         (replaceSelection): Likewise.
5702         (setContentType): Likewise.
5703         (setEditorKit): Likewise.
5704         (setPage): Likewise.
5706 2004-06-10  Michael Koch  <konqueror@gmx.de>
5708         * javax/swing/Timer.java
5709         (Timer): New constructor.
5710         * javax/swing/plaf/basic/BasicProgressBarUI.java
5711         (animationTimer): Don't initialize at construction.
5712         (startAnimationTimer): Added since tag.
5713         (stopAnimationTimer): Likewise.
5714         (installUI): Use new Timer constructor.
5715         * javax/swing/plaf/basic/BasicScrollBarUI.java
5716         (installUI): Likewise.
5717         * javax/swing/plaf/basic/BasicSliderUI.java
5718         (installUI): Likewise.
5720 2004-06-10  Michael Koch  <konqueror@gmx.de>
5722         * javax/swing/ButtonGroup.java
5723         (serialVersionUID): Made private.
5724         (buttons): Renamed from v, added javadoc.
5725         (sel): Added javadoc.
5726         (ButtonGroup): Likewise.
5727         (add): Likewise.
5728         (remove): Likewise.
5729         (getElements): Likewise.
5730         (getSelection): Likewise.
5731         (setSelected): Likewise.
5732         (isSelected): Likewise.
5733         (getButtonCount): Likewise.
5735 2004-06-10  Michael Koch  <konqueror@gmx.de>
5737         * javax/swing/ButtonGroup.java,
5738         javax/swing/ImageIcon.java,
5739         javax/swing/JEditorPane.java,
5740         javax/swing/JRootPane.java,
5741         javax/swing/JTextField.java,
5742         javax/swing/LookAndFeel.java,
5743         javax/swing/plaf/basic/BasicTextUI.java:
5744         Reindented.
5746 2004-06-10  Michael Koch  <konqueror@gmx.de>
5748         * javax/swing/text/Style.java: Added javadocs.
5750 2004-06-10  Michael Koch  <konqueror@gmx.de>
5752         * javax/swing/JComponent.java
5753         (fireVetoableChange): Removed redundant cast.
5754         * javax/swing/JLabel.java
5755         (getDisabledIcon): Save icon for next call.
5757 2004-06-10  Michael Koch  <konqueror@gmx.de>
5759         * javax/swing/KeyStroke.java
5760         (getKeyStroke(char,boolean)): Marked deprecated.
5762 2004-06-10  Michael Koch  <konqueror@gmx.de>
5764         * javax/swing/DefaultCellEditor.java,
5765         javax/swing/GrayFilter.java,
5766         javax/swing/event/DocumentEvent.java,
5767         javax/swing/text/JTextComponent.java,
5768         javax/swing/text/MutableAttributeSet.java:
5769         Reindented.
5771 2004-06-10  Michael Koch  <konqueror@gmx.de>
5773         * javax/swing/plaf/BorderUIResource.java:
5774         Added serialVersionUID all over.
5776 2004-06-10  Sascha Brawer  <brawer@dandelis.ch>
5778         * javax/swing/undo/UndoManager.java: Re-written from scratch.
5780 2004-06-10  Michael Koch  <konqueror@gmx.de>
5782         * javax/swing/table/DefaultTableCellRenderer.java
5783         (noFocusBorder): Initialize directly.
5785 2004-06-10  Michael Koch  <konqueror@gmx.de>
5787         * javax/swing/plaf/basic/BasicArrowButton.java
5788         (setDirection): Use method argument.
5790 2004-06-10  Michael Koch  <konqueror@gmx.de>
5792         * javax/swing/plaf/BorderUIResource.java,
5793         javax/swing/plaf/ComponentUI.java,
5794         javax/swing/undo/CompoundEdit.java,
5795         javax/swing/undo/StateEdit.java:
5796         Fixed javadocs all over.
5798 2004-06-10  Michael Koch  <konqueror@gmx.de>
5800         * javax/swing/DefaultButtonModel.java
5801         (ARMED): Made public final, fixed value.
5802         (ENABLED): Likewise.
5803         (PRESSED): Likewise.
5804         (ROLLOVER): Likewise.
5805         (SELECTED): Likewise.
5806         (stateMask): Initialize directly.
5807         (listenerList): Likewise.
5808         (mnemonic): Likewise.
5809         (fireStateChanged): Removed argument, use changeEvent as event.
5810         All places where this method is called are fixed too.
5811         (getActionCommant): Fixed javadoc.
5812         (setGroup): Fixed javadoc.
5813         (getGroup): New method.
5815 2004-06-09  Olga Rodimina <rodimina@redhat.com>
5817         * javax/swing/AbstractButton.java
5818         (AbstractButton): Use init() to initialize the button.
5819         (init): New Method. Initializes AbstractButton.
5820         * javax/swing/JMenuItem.java: Documented.
5821         (JMenuItem): Reimplemented.
5822         (init): Implemented.
5823         (setEnabled): Changed to call super.setEnabled()
5824         (processMouseEvent): Reimplemented.
5825         (fireMenuKeyPressed): Implemented.
5826         (fireMenuKeyReleased): Implemented.
5827         (fireMenuKeyTyped): Implemented.
5828         (menuSelectionChanged): disarm the model if the menu item was
5829         deselected.
5830         * javax/swing/plaf/basic/BasicMenuItemUI.java:Documented.
5831         (getPath): Change to use ArrayList instead of Vector.
5832         (getPreferredSize): Renamed variable.
5833         (paintMenuItem): Paint margin area of menu item.
5834         (MouseInputHandler.mouseEntered): Set selection in MenuSelectionManager.
5835         (MouseInputHandler.mouseReleased): Check if mouse was pressed inside
5836         menu item's bounds before clearing the selection.       
5838 2004-06-09  David Jee  <djee@redhat.com>
5840         * gnu/java/awt/peer/gtk/GtkTextComponentPeer.java
5841         (GtkTextComponentPeer): Set caret position to 0.
5842         * java/awt/TextComponent.java
5843         (setText): Set caret position to 0.
5844         * jni/gtk-peer/gnu_java_awt_peer_gtk_GtkComponentPeer.c
5845         (Java_gnu_java_awt_peer_gtk_GtkComponentPeer_addExposeFilter):
5846         Handle GtkScrolledWindow separately. Fix signal handler blocking.
5847         (Java_gnu_java_awt_peer_gtk_GtkComponentPeer_removeExposeFilter):
5848         Likewise.
5849         * jni/gtk-peer/gnu_java_awt_peer_gtk_GtkTextAreaPeer.c
5850         (Java_gnu_java_awt_peer_gtk_GtkTextAreaPeer_create): Make cursor
5851         visible.
5853 2004-06-09  Kim Ho  <kho@redhat.com>
5855         * Makefile.am: New files
5856         * Makefile.in: Regenerated
5857         * java/awt/Container.java
5858         (getComponentAt): Removed.
5859         * javax/swing/AbstractAction.java
5860         (ENABLED_PROPERTY): New property.
5861         (putValue): Fire PropertyChangeEvents.
5862         (setEnabled): ditto.
5863         (firePropertyChange): Javadoc and implement
5864         convenience method.
5865         * javax/swing/AbstractButton.java
5866         (setAction): Don't create PropertyChangeListener
5867         if new Action is null.
5868         (setIcon): Don't set icon till after comparing
5869         it.
5870         (configurePropertiesFromAction): Check mnemonic
5871         key before calling intValue().
5872         (createActionPropertyChangeListener): Check
5873         properties rather than bulk change.
5874         * javax/swing/DefaultDesktopManager.java:
5875         Implement.
5876         * javax/swing/DesktopManager.java:
5877         Jalopy and javadoc.
5878         * javax/swing/JComponent.java
5879         (fireVetoableChange): Implement.
5880         (paintImmediately): Use root component.
5881         * javax/swing/JDesktopPane.java: Implement
5882         * javax/swing/JInternalFrame.java: Implement
5883         * javax/swing/JLabel.java
5884         (getDisabledIcon): Return grayscaled icon if
5885         no disabled icon specified.
5886         * javax/swing/JMenuBar.java
5887         (getComponentAtIndex): Use getComponent
5888         * javax/swing/JOptionPane.java
5889         (getDesktopPaneForComponent): Use SwingUtilities'
5890         getAncestorOfClass
5891         (getFrameForComponent): ditto.
5892         * javax/swing/JSplitPane.java
5893         (remove): Use getComponent.
5894         * javax/swing/SwingUtilities.java
5895         (convertPoint): Implement.
5896         * javax/swing/plaf/basic/BasicButtonUI.java
5897         (paintButtonNormal): Check opaqueness before
5898         filling background.
5899         * javax/swing/plaf/basic/BasicDesktopIconUI.java:
5900         Implement
5901         * javax/swing/plaf/basic/BasicDesktopPaneUI.java:
5902         Implement.
5903         * javax/swing/plaf/basic/BasicInternalFrameTitlePane.java:
5904         Implement.
5905         * javax/swing/plaf/basic/BasicInternalFrameUI.java:
5906         Implement.
5907         * javax/swing/plaf/basic/BasicLookAndFeel.java:
5908         Change InternalFrame and Desktop colors.
5910 2004-06-09  David Jee  <djee@redhat.com>
5912         * java/awt/Container.java
5913         (remove): Do not set component to invisible.
5915 2004-06-09  Michael Koch  <konqueror@gmx.de>
5917         * javax/swing/tree/DefaultMutableTreeNode.java
5918         (getLeafCount): Renamed enum to e.
5920 2004-06-09  Michael Koch  <konqueror@gmx.de>
5922         * javax/swing/plaf/basic/BasicSplitPaneDivider.java
5923         (positionForMouseEvent): Removed redundant semicolon.
5924         (continueDrag): Use method arguments.
5926 2004-06-09  Michael Koch  <konqueror@gmx.de>
5928         * javax/swing/border/TitledBorder.java,
5929         javax/swing/filechooser/FileSystemView.java,
5930         javax/swing/plaf/basic/BasicButtonListener.java,
5931         javax/swing/plaf/basic/BasicGraphicsUtils.java,
5932         javax/swing/plaf/basic/BasicLabelUI.java,
5933         javax/swing/plaf/basic/BasicRadioButtonMenuItemUI.java,
5934         javax/swing/plaf/basic/BasicScrollBarUI.java,
5935         javax/swing/plaf/basic/BasicScrollPaneUI.java,
5936         javax/swing/plaf/basic/BasicSliderUI.java,
5937         javax/swing/plaf/basic/BasicTabbedPaneUI.java,
5938         javax/swing/plaf/basic/BasicToggleButtonUI.java,
5939         javax/swing/table/JTableHeader.java,
5940         javax/swing/text/AbstractDocument.java,
5941         javax/swing/text/DefaultCaret.java,
5942         javax/swing/text/StyledEditorKit.java,
5943         javax/swing/tree/DefaultTreeCellEditor.java:
5944         Reworked import statements.
5946 2004-06-08  Graydon Hoare  <graydon@redhat.com>
5948         * javax/swing/Box.java: Temporarily comment out code
5949         broken due to visibility bug.
5951 2004-06-09  Michael Koch  <konqueror@gmx.de>
5953         * javax/swing/ImageIcon.java
5954         (ImageIcon): Added missing constructor.
5956 2004-06-08  Michael Koch  <konqueror@gmx.de>
5958         * javax/swing/JToggleButton.java
5959         (JToggleButton): New constructor.
5960         (getAccessibleContext): Moved documentation into javadoc.
5961         (getUIClassID): Likewise.
5963 2004-06-08  Michael Koch  <konqueror@gmx.de>
5965         * javax/swing/AbstractButton.java
5966         (getDisabledIcon): Create disabled icon if none exists yet.
5968 2004-06-08  Michael Koch  <konqueror@gmx.de>
5970         * javax/swing/plaf/basic/BasicLookAndFeel.java
5971         (initClassDefaults): Added FormattedTextFieldUI.
5972         (loadResourceBundle): Renamed enum to e.
5974 2004-06-08  Michael Koch  <konqueror@gmx.de>
5976         * javax/swing/plaf/basic/BasicButtonUI.java
5977         (paintIcon): Simplified.
5978         (paintText): Paint disabled button correctly.
5980 2004-06-08  Michael Koch  <konqueror@gmx.de>
5982         * javax/swing/JComponent.java
5983         (createToolTip): Use official JToolTip API.
5985 2004-06-08  Michael Koch  <konqueror@gmx.de>
5987         * javax/swing/JToolTip.java
5988         (JToolTip): No arguments in API.
5989         (setTipText): New method.
5991 2004-06-08  Michael Koch  <konqueror@gmx.de>
5993         * javax/swing/SwingUtilities.java
5994         (isLeftMouseButton): New method.
5995         (isMiddleMouseButton): New method.
5996         (isRightMouseButton): New method.
5998 2004-06-08  Michael Koch  <konqueror@gmx.de>
6000         * javax/swing/AbstractButton.java,
6001         javax/swing/CellRendererPane.java,
6002         javax/swing/JCheckBoxMenuItem.java,
6003         javax/swing/JColorChooser.java,
6004         javax/swing/JComboBox.java,
6005         javax/swing/JComponent.java,
6006         javax/swing/JDesktopPane.java,
6007         javax/swing/JFileChooser.java,
6008         javax/swing/JMenu.java,
6009         javax/swing/JMenuItem.java,
6010         javax/swing/JOptionPane.java,
6011         javax/swing/JPasswordField.java,
6012         javax/swing/JPopupMenu.java,
6013         javax/swing/JProgressBar.java,
6014         javax/swing/JRadioButtonMenuItem.java,
6015         javax/swing/JScrollBar.java,
6016         javax/swing/JSeparator.java,
6017         javax/swing/JSlider.java,
6018         javax/swing/JSplitPane.java,
6019         javax/swing/JTabbedPane.java,
6020         javax/swing/JTextField.java,
6021         javax/swing/JToolBar.java,
6022         javax/swing/text/JTextComponent.java:
6023         Fixed all constructors of accessibility classes.
6025 2004-06-08  Michael Koch  <konqueror@gmx.de>
6027         * javax/swing/ScrollPaneLayout.java: Renamed all memeber variables all
6028         over.
6030 2004-06-08  Michael Koch  <konqueror@gmx.de>
6032         * javax/swing/Box.java
6033         (AccessibleBoxFiller): Extends AccessibleAWTComponent.
6034         (AccessibleBoxFiller.serialVersionUID): New member variable.
6035         * javax/swing/DefaultButtonModel.java
6036         (stateMask): Made protected.
6037         (listenerList): Likewise.
6038         (changeEvent): Likewise.
6039         (group): Likewise.
6040         (mnemonic): Likewise.
6041         (actionCommand): Likewise.
6042         (getListeners): New method.
6043         (getActionListeners): New method.
6044         (getItemListeners): New method.
6045         (getChangeListeners): New method.
6046         (fireItemStateChanged): Simplified.
6047         (fireActionPerformed): Simplified.
6048         (fireStateChanged): Simplified.
6049         * javax/swing/JFrame.java
6050         (JFrame): Implements WindowContants.
6051         (HIDE_ON_CLOSE): Removed.
6052         (EXIT_ON_CLOSE): Removed.
6053         (DISPOSE_ON_CLOSE): Removed.
6054         (DO_NOTHING_ON_CLOSE): Removed.
6055         (processWindowEvent): Exit with code 0.
6056         (setDefaultCloseOperation): Do security check before setting value.
6057         * javax/swing/JOptionPane.java
6058         (message): Initialize only in constructor.
6059         * javax/swing/JToolTip.java: Removed unused imports.
6060         * javax/swing/JViewport.java
6061         (serialVersionUID): New member variable.
6062         (SIMPLE_SCROLL_MODE): Made final, fixed value.
6063         (BLIT_SCROLL_MODE): Likewise.
6064         (BACKINGSTORE_SCROLL_MODE): Likewise.
6065         (scrollUnderway): Made protected.
6066         (isViewSizeSet): Likewise.
6067         * javax/swing/ListModel.java: Fixed javadoc.
6068         * javax/swing/Popup.java: Likewise.
6069         * javax/swing/RepaintManager.java
6070         (paintDirtyRegions): Don't use internal classes of
6071         java.util.AbstractMap.
6072         * javax/swing/ScrollPaneConstants.java: Reindented.
6073         * javax/swing/ScrollPaneLayout.java
6074         (viewport): Made protected.
6075         (verticalScrollBar): Made protected, renamed to vsb.
6076         (horizontalScrollBar): Made protected, renamed to hsb.
6077         (rowHeader): Made protected, renamed to rowHead.
6078         (columnHeader): Made protected, renamed to colHead.
6079         (lowerLeft): Made protected.
6080         (lowerRight): Made protected.
6081         (upperLeft): Made protected.
6082         (upperRight): Made protected.
6083         (verticalScrollBarPolicy): Made protected, renamed to vsbPolicy.
6084         (horizontalScrollBarPolicy): Made protected, renamed to hsbPolicy.
6086 2004-06-07  Bernd Schmidt  <bernds@btinternet.com>
6088         * java/awt/MediaTracker.java (imageUpdate): Only set status to
6089         LOADING if flags has SOMEBITS set.
6091 2004-06-07  Michael Koch  <konqueror@gmx.de>
6093         * javax/swing/AbstractButton.java: Reorganized imports.
6094         * javax/swing/ActionMap.java: Likewise.
6095         * javax/swing/DefaultButtonModel.java: Likewise.
6096         * javax/swing/DefaultListModel.java: Likewise.
6097         * javax/swing/ImageIcon.java: Likewise.
6098         (serialVersionUID): New member variable.
6099         * javax/swing/JComboBox.java: Reorganized imports.
6100         * javax/swing/JComponent.java: Likewise.
6101         (ui): Made protected.
6102         (listenerList): Made protected.
6103         (TOOL_TIP_TEXT_KEY): New constant.
6104         (scrollRectToVisible): Removed redundant null check.
6105         * javax/swing/JFrame.java: Reorganized imports.
6106         * javax/swing/JInternalFrame.java: Reorganized imports.
6107         * javax/swing/JProgressBar.java: Likewise.
6108         * javax/swing/JRootPane.java: Likewise.
6109         * javax/swing/JScrollBar.java: Likewise.
6110         * javax/swing/JSeparator.java: Likewise.
6111         * javax/swing/JSlider.java: Likewise.
6112         * javax/swing/JTabbedPane.java: Likewise.
6113         * javax/swing/JTextField.java: Likewise.
6114         * javax/swing/JToolBar.java: Likewise.
6115         * javax/swing/JTree.java: Likewise.
6116         * javax/swing/JViewport.java: Likewise.
6117         * javax/swing/JWindow.java: Likewise.
6118         * javax/swing/KeyStroke.java: Likewise.
6119         * javax/swing/LookAndFeel.java: Likewise.
6120         * javax/swing/MenuSelectionManager.java: Likewise.
6121         * javax/swing/SwingUtilities.java: Likewise.
6122         * javax/swing/Timer.java: Likewise.
6123         * javax/swing/DefaultBoundedRangeModel.java: Fixed javadoc.
6124         * javax/swing/JList.java
6125         (HORIZONTAL_WRAP): Made final, fixed value.
6126         (VERTICAL): Likewise.
6127         (VERTICAL_WRAP): Likewise.
6129 2004-06-07  Michael Koch  <konqueror@gmx.de>
6131         * javax/swing/AbstractButton.java
6132         (serialVersionUID): New member variable.
6133         (AccessibleAbstractButton.serialVersionUID): Likewise.
6134         (AbstractButton): Made public.
6135         * javax/swing/Box.java
6136         (AccessibleBox.serialVersionUID): New member variable.
6137         (Filler.serialVersionUID): Likewise.
6138         * javax/swing/DefaultListSelectionModel.java
6139         (serialVersionUID): Likewise.
6140         * javax/swing/JApplet.java
6141         (serialVersionUID): Likewise.
6142         * javax/swing/JCheckBox.java
6143         (serialVersionUID): Likewise.
6144         * javax/swing/JCheckBoxMenuItem.java
6145         (serialVersionUID): Likewise.
6146         (AccessibleJCheckBoxMenuItem.serialVersionUID): Likewise.
6147         * javax/swing/JColorChooser.java
6148         (serialVersionUID): Likewise.
6149         (AccessibleJColorChooser.serialVersionUID): Likewise.
6150         * javax/swing/JComponent.java
6151         (serialVersionUID): Made private.
6152         (AccessibleJComponent.serialVersionUID): New member variable.
6153         * javax/swing/JDesktopPane.java
6154         (serialVersionUID): Likewise.
6155         * javax/swing/JDialog.java
6156         (serialVersionUID): Likewise.
6157         * javax/swing/JFormattedTextField.java
6158         (serialVersionUID): Fixed value.
6159         * javax/swing/JFrame.java
6160         (serialVersionUID): New member variable.
6161         (getDefaultCloseOpertation): Made public.
6162         * javax/swing/JLayeredPane.java
6163         (serialVersionUID): Likewise.
6164         (LAYER_PROPERTY): Made final, fixed value.
6165         (JLayeredPane): Made public.
6166         * javax/swing/JMenu.java
6167         (AccessibleJMenu.serialVersionUID): New member variable.
6168         (WinListener.serialVersionUID): Likewise.
6169         * javax/swing/JMenuBar.java
6170         (serialVersionUID): Likewise.
6171         (getComponentAtIndex): Added @deprecated tag.
6172         * javax/swing/JMenuItem.java
6173         (serialVersionUID): New member variable.
6174         (AccessibleJMenuItem.serialVersionUID): Likewise.
6175         * javax/swing/JOptionPane.java
6176         (serialVersionUID): Likewise.
6177         (AccessibleJOptionPane.serialVersionUID): Likewise.
6178         * javax/swing/JPopupMenu.java
6179         (serialVersionUID): Likewise.
6180         (AccessibleJPopupMenu.serialVersionUID): Likewise.
6181         (getPopupMenuListeners): New method.
6182         (getComponentAtIndex): Added @deprecated tag.
6183         * javax/swing/JProgressBar.java
6184         (serialVersionUID): New member variable.
6185         (AccessibleJProgressBar.serialVersionUID): Likewise.
6186         * javax/swing/JRadioButton.java
6187         (serialVersionUID): Likewise.
6188         * javax/swing/JRadioButtonMenuItem.java
6189         (serialVersionUID): Likewise.
6190         (AccessibleJRadioButtonMenuItem.serialVersionUID): Likewise.
6191         * javax/swing/JScrollBar.java
6192         (serialVersionUID): Likewise.
6193         (AccessibleJScrollBar.serialVersionUID): Likewise.
6194         * javax/swing/JSeparator.java
6195         (serialVersionUID): Likewise.
6196         (AccessibleJSeparator.serialVersionUID): Likewise.
6197         * javax/swing/JSlider.java: Fixed javadocs.
6198         (AccessibleJSlider.serialVersionUID): New member variable.
6199         * javax/swing/JSplitPane.java: Added copyright statement.
6200         (serialVersionUID): New member variable.
6201         (AccessibleJSplitPane.serialVersionUID): Likewise.
6202         * javax/swing/JTabbedPane.java
6203         (serialVersionUID): Likewise.
6204         (AccessibleJTabbedPane.serialVersionUID): Likewise.
6205         (ModelListener.serialVersionUID): Likewise.
6206         (ModelListener.ModelListener): New constructor.
6207         (SCROLL_TAB_LAYOUT): Made public final, fixed value.
6208         (WRAP_TAB_LAYOUT): Likewise.
6209         * javax/swing/JTable.java
6210         (serialVersionUID): New member variable.
6211         * javax/swing/JToggleButton.java
6212         (serialVersionUID): Likewise.
6213         (ToggleButtonModel): Made static.
6214         (ToggleButtonModel.serialVersionUID): New member variable.
6215         * javax/swing/JToolTip.java
6216         (serialVersionUID): Likewise.
6217         * javax/swing/JTree.java
6218         (serialVersionUID): Likewise.
6219         * javax/swing/JWindow.java
6220         (serialVersionUID): Likewise.
6221         * javax/swing/Timer.java
6222         (serialVersionUID): Likewise.
6224 2004-06-06  Michael Koch  <konqueror@gmx.de>
6226         * javax/swing/SwingConstants.java
6227         (NEXT): New constant.
6228         (PREVIOUS): Likewise.
6229         * javax/swing/UIManager.java
6230         (LookAndFeel): Made public.
6231         (LookAndFeel.getClassName): Likewise.
6232         (LookAndFeel.getName): Likewise.
6234 2004-06-02  Olga Rodimina  <rodimina@redhat.com>
6236         * javax/swing/JCheckBoxMenuItem.java:
6237         Removed CVS tags.
6238         * javax/swing/JMenu.java: Likewise.
6239         * javax/swing/JMenuBar.java: Likewise.
6240         * javax/swing/JMenuItem.java: Likewise.
6241         * javax/swing/JPopupMenu.java: Likewise.
6242         * javax/swing/JRadioButtonMenuItem.java: Likewise.
6243         * javax/swing/plaf/basic/BasicCheckBoxMenuItemUI.java:Likewise.
6244         * javax/swing/plaf/basic/BasicMenuBarUI.java: Likewise.
6245         * javax/swing/plaf/basic/BasicMenuItemUI.java: Likewise.
6246         * javax/swing/plaf/basic/BasicMenuUI.java: Likewise.
6247         * javax/swing/plaf/basic/BasicPopupMenuUI.java: Likewise.
6248         * javax/swing/plaf/basic/BasicRadioButtonMenuItemUI.java: Likewise.
6250 2004-05-31  Olga Rodimina  <rodimina@redhat.com>
6251         
6252         * javax/swing/plaf/basic/BasicMenuUI.java:
6253         (MouseEntered): Do not call getPath() from MenuSelectionManager.
6254         Call getPath() from super class instead.
6256 2004-05-31  David Jee  <djee@redhat.com>
6258         * java/awt/Container.java
6259         (remove): Set component visibility to false after removing it.
6261 2004-05-27  Thomas Fitzsimmons  <fitzsim@redhat.com>
6263         * java/awt/Component.java (getForeground): Return SystemColor if
6264         parent is null.
6265         (getBackground): Likewise.
6267         * jni/gtk-peer/gnu_java_awt_peer_gtk_GtkListPeer.c
6268         (item_highlighted): New function.
6269         (connectSignals): Set item_highlighted as list's select
6270         function.
6272         * java/applet/Applet.java: Revert changes from 2004-04-29,
6273         2004-03-15 and 2004-03-14.
6275         * jni/gtk-peer/gnu_java_awt_peer_gtk_GdkGraphics.c (drawString):
6276         Divide baseline y coordinate by PANGO_SCALE, not DPI conversion
6277         factor.
6279         * gnu/java/awt/peer/gtk/GtkTextAreaPeer.java (create): Set
6280         "Dialog" as the default font.
6281         * gnu/java/awt/peer/gtk/GtkTextFieldPeer.java (create):
6282         Likewise.
6283         * java/awt/Component.java (getFont): Return "Dialog" font by
6284         default.
6285         * jni/gtk-peer/gnu_java_awt_peer_gtk_GdkClasspathFontPeer.c:
6286         Multiply size argument to pango_font_description_set_size by the
6287         DPI conversion factor rather than by PANGO_SCALE.
6288         * jni/gtk-peer/gnu_java_awt_peer_gtk_GdkFontMetrics.c: Likewise.
6289         * jni/gtk-peer/gnu_java_awt_peer_gtk_GdkGraphics.c: Likewise.
6290         * jni/gtk-peer/gnu_java_awt_peer_gtk_GtkButtonPeer.c: Likewise.
6291         * jni/gtk-peer/gnu_java_awt_peer_gtk_GtkCheckboxPeer.c: Likewise.
6292         * jni/gtk-peer/gnu_java_awt_peer_gtk_GtkComponentPeer.c: Likewise.
6293         * jni/gtk-peer/gnu_java_awt_peer_gtk_GtkLabelPeer.c: Likewise.
6294         * jni/gtk-peer/gnu_java_awt_peer_gtk_GtkListPeer.c: Likewise.
6295         * jni/gtk-peer/gnu_java_awt_peer_gtk_GtkTextAreaPeer.c: Likewise.
6296         * jni/gtk-peer/gnu_java_awt_peer_gtk_GtkTextFieldPeer.c: Likewise.
6297         * jni/gtk-peer/gnu_java_awt_peer_gtk_GdkGraphics.c (drawString):
6298         Divide baseline y coordinate by DPI conversion factor rather
6299         than by PANGO_SCALE.
6300         * jni/gtk-peer/gnu_java_awt_peer_gtk_GdkPixbufDecoder.c
6301         (area_prepared): Fix typo.
6302         * jni/gtk-peer/gnu_java_awt_peer_gtk_GtkLabelPeer.c
6303         (gtkSetFont): Move gtk_bin_get_child inside GDK critical region.
6304         * jni/gtk-peer/gnu_java_awt_peer_gtk_GtkMainThread.c
6305         (dpi_conversion_factor): New global variable.
6306         (init_dpi_conversion_factor): New function to calculate and
6307         track DPI conversion factor.
6308         (dpi_changed_cb): New callback.
6309         * jni/gtk-peer/gtkpeer.h (dpi_conversion_factor): Declare.
6311 2004-05-27  David Jee  <djee@redhat.com>
6313         * gnu/java/awt/peer/gtk/GtkComponentPeer.java
6314         (getGraphics): Return a new GdkGraphics instance.
6315         * gnu/java/awt/peer/gtk/GtkContainerPeer.java
6316         (getGraphics): Call super.getGraphics().
6318 2004-05-26  Thomas Fitzsimmons  <fitzsim@redhat.com>
6320         * jni/gtk-peer/gnu_java_awt_peer_gtk_GtkComponentPeer.c
6321         (setNativeBounds): Clamp width and height values to >= 0.
6323         * jni/gtk-peer/gnu_java_awt_peer_gtk_GtkComponentPeer.c
6324         (find_fg_color_widget): Handle GtkOptionMenu specially.
6326         * jni/gtk-peer/gnu_java_awt_peer_gtk_GtkEvents.c
6327         (pre_event_handler): Only post configure events to visible
6328         top-level windows.
6330 2004-05-26  David Jee  <djee@redhat.com>
6332         * java/awt/BorderLayout.java
6333         (layoutContainer): Fix size calculations.
6335 2004-05-26  Thomas Fitzsimmons  <fitzsim@redhat.com>
6337         * jni/gtk-peer/gnu_java_awt_peer_gtk_GtkWindowPeer.c
6338         (window_wm_protocols_filter): Remove function.
6339         (create): Remove filter that removes WM_TAKE_FOCUS client
6340         messages.
6342 2004-06-17  Anthony Green  <green@redhat.com>
6344         * java/util/zip/ZipFile.java (getInputStream): Return null if
6345         entry not found.
6347         * gnu/gcj/runtime/VMClassLoader.java (init): Add extension
6348         directory contents to the class path.
6350 2004-06-15  Andrew Haley  <aph@redhat.com>
6352         * java/lang/natSystem.cc (getenv0): Don't assume environment
6353         variable is Latin 1 coded.
6355 2004-06-14  Andreas Jaeger  <aj@suse.de>
6357         * configure.in: Support --enable-version-specific-runtime-libs.
6358         * configure: Regenerated.
6360 2004-06-14  Bryce McKinlay  <mckinlay@redhat.com>
6362         * java/util/Calendar.java: Change ResourceBundle.getBundle() calls
6363         to pass ClassLoader argument.
6364         * java/util/GregorianCalendar.java: Likewise.
6365         * java/util/Currency.java: Likewise.
6366         * java/text/BreakIterator.java: Likewise.
6367         * java/text/Collator.java: Likewise.
6368         * java/text/DateFormat.java: Likewise.
6369         * java/text/DateFormatSymbols.java: Likewise.
6370         * java/text/DecimalFormatSymbols.java: Likewise.
6371         * java/text/NumberFormat.java: Likewise.
6372         * java/awt/Window.java: Likewise.
6374 2004-06-14  Andrew Haley  <aph@redhat.com>
6376         * java/lang/System.java: (getenv0): New method.
6377         (getenv): Add security check.  Do the right thing.
6378         * java/lang/natSystem.cc (getenv0): New method.
6380 2004-06-12  Mark Wielaard  <mark@klomp.org>
6382         * javax/swing/RepaintManager.java
6383         (paintDirtyRegions): Use entrySet(), not values().
6385 2004-06-10  Mark Wielaard  <mark@klomp.org>
6387         * jni.cc (_Jv_JNI_GetAnyMethodID): Add name and signature to
6388         NoSuchMethodError.
6390 2004-06-11  Jerry Quinn  <jlquinn@optonline.net>
6392         * java/util/GregorianCalendar.java (computeTime):  Skip buggy formulae
6393         when we already know the answer.
6394         * java/util/SimpleTimeZone.java (serialVersionOnStream): Bump to 2.
6395         (setStartRule,setEndRule): Don't take abs of day number.
6396         (getOffset): Clarify docs.  Add argument checks.
6397         (isBefore): Take abs of day number in DOW_LE_DOM_MODE.
6398         (equals,hasSameRules,toString,readObject): Use startTimeMode and
6399         endTimeMode.
6401 2004-06-10  Tom Tromey  <tromey@redhat.com>
6403         * interpret.cc (run): Handle wide fload.
6405 2004-06-06  Jerry Quinn  <jlquinn@optonline.net>
6407         * java/util/zip/ZipEntry.java (setTime): Remove scaling.
6409 2004-06-05  Michael Koch  <konqueror@gmx.de>
6411         * javax/swing/SwingConstants.java
6412         (NEXT): New constant.
6413         (PREVIOUS): Likewise.
6415 2004-06-05  Michael Koch  <konqueror@gmx.de>
6417         * javax/swing/UIManager.java
6418         (LookAndFeel): Made public.
6419         (LookAndFeel.getName): Likewise.
6420         (LookAndFeel.getClassName): Likewise.
6422 2004-06-03  Michael Koch  <konqueror@gmx.de>
6424         * gnu/java/awt/peer/gtk/GtkComponentPeer.java
6425         (requestFocus): Revert last changes.
6426         (gtkRequestFocus): Removed.
6427         * jni/gtk-peer/gnu_java_awt_peer_gtk_GtkComponentPeer.c
6428         (Java_gnu_java_awt_peer_gtk_GtkComponentPeer_gtkRequestFocus):
6429         Renamed to ...
6430         (Java_gnu_java_awt_peer_gtk_GtkComponentPeer_gtkWidgetRequestFocus):
6431         Reverted last patch.
6432         * jni/gtk-peer/gnu_java_awt_peer_gtk_GtkPopupMenuPeer.c
6433         (Java_gnu_java_awt_peer_gtk_GtkPopupMenuPeer_setupAccelGroup):
6434         Reverted comment change.
6436 2004-06-02  Olga Rodimina  <rodimina@redhat.com>
6438         * javax/swing/JCheckBoxMenuItem.java:
6439         Removed CVS tags.
6440         * javax/swing/JMenu.java: Likewise.
6441         * javax/swing/JMenuBar.java: Likewise.
6442         * javax/swing/JMenuItem.java: Likewise.
6443         * javax/swing/JPopupMenu.java: Likewise.
6444         * javax/swing/JRadioButtonMenuItem.java: Likewise.
6445         * javax/swing/plaf/basic/BasicCheckBoxMenuItemUI.java:Likewise.
6446         * javax/swing/plaf/basic/BasicMenuBarUI.java: Likewise.
6447         * javax/swing/plaf/basic/BasicMenuItemUI.java: Likewise.
6448         * javax/swing/plaf/basic/BasicMenuUI.java: Likewise.
6449         * javax/swing/plaf/basic/BasicPopupMenuUI.java: Likewise.
6450         * javax/swing/plaf/basic/BasicRadioButtonMenuItemUI.java: Likewise.
6452 2004-06-01  Tom Tromey  <tromey@redhat.com>
6454         * java/io/ObjectStreamField.java: Cleaned up imports.
6456 2004-06-01  Michael Koch  <konqueror@gmx.de>
6458         * java/io/ObjectStreamField.java: Style and javadoc cleanup.
6459       
6460 2004-06-01  Mark Wielaard  <mark@klomp.org>
6462         * java/io/Writer.java (Writer(Object)): Fixed API doc.
6464 2004-06-01  Michael Koch  <konqueror@gmx.de>
6466         * java/security/Security.java
6467         (insertProviderAt): Use equals() instead of ==.
6468         (removeProvicer): Likewise.
6469         (getProvider): Likewise.
6470         * java/security/Signature.java
6471         (sign): Don't set state to UNINITIALIZED.
6472         (verify): Likewise.
6474 2004-06-01  Mark Wielaard  <mark@klomp.org>
6476         * gnu/java/awt/peer/gtk/GtkComponentPeer.java (requestFocus):
6477         Implement by calling gtkRequestFocus.
6478         (gtkRequestFocus): New native method.
6479         * native/jni/gtk-peer/gnu_java_awt_peer_gtk_GtkComponentPeer.c
6480         (Java_gnu_java_awt_peer_gtk_GtkComponentPeer_requestFocus__):
6481         Renamed to ...
6482         (Java_gnu_java_awt_peer_gtk_GtkComponentPeer_gtkRequestFocus):
6483         New function name.
6484         (filter_expose_event_handler):
6485         Mark static.
6486         * native/jni/gtk-peer/gnu_java_awt_peer_gtk_GtkPopupMenuPeer.c
6487         (menu_pos): Mark static.
6489 2004-06-01  Michael Koch  <konqueror@gmx.de>
6491         * java/text/CollationElementIterator.java,
6492         java/text/CollationKey.java,
6493         java/text/RuleBasedCollator.java: New versions from GNU classpath.
6494         * testsuite/libjava.mauve/xfails: Removed all
6495         java.text.CollationElementIterator tests.
6497 2004-06-01  Michael Koch  <konqueror@gmx.de>
6499         * java/util/zip/InflaterInputStream.java: Merged more with Classpath
6500         version.
6501         * java/util/zip/ZipOutputStream.java (): Renamed enum to e to removed
6502         Java 1.5 keyword usage.
6504 2004-05-31  Olga Rodimina  <rodimina@redhat.com>
6506         * javax/swing/plaf/basic/BasicMenuUI.java:
6507         (MouseEntered): Do not call getPath() from MenuSelectionManager.
6508         Call getPath() from super class instead.
6510 2004-05-31  Michael Koch  <konqueror@gmx.de>
6512         * java/io/SequenceInputStream.java:
6513         Rename enum to e because enum is a keyword in Java 1.5.
6515 2004-05-31  Michael Koch  <konqueror@gmx.de>
6517         * gnu/java/rmi/rmic/CompilerProcess.java:
6518         Fixed javadoc to by XHTML compliant.
6520 2004-05-30  Mark Wielaard  <mark@klomp.org>
6522         * java/awt/Toolkit.java (loadSystemColors): Implement.
6524 2004-05-30  Michael Koch  <konqueror@gmx.de>
6526         * java/lang/System.java: Reordered imports.
6528 2004-05-30  Guilhem Lavaux <guilhem@kaffe.org>
6530         * java/text/DecimalFormat.java
6531         (parse): Fixed parsing of decimal strings. Number of maximum
6532         digits to be read should now work.
6533         * java/text/SimpleDateFormat.java
6534         (SimpleDateFormat): Set maximumFractionDigit to 0 for the number
6535         formatter. This fixes DateFormatTest.
6537 2004-05-30  Michael Koch  <konqueror@gmx.de>
6539         * java/nio/Buffer.java
6540         (limit): Fixed off by one error.
6541         * java/nio/CharBuffer.java
6542         (wrap): Fixed arguments, added javadocs.
6544 2004-05-30  Michael Koch  <konqueror@gmx.de>
6546         * gnu/java/beans/BeanInfoEmbryo.java,
6547         java/awt/im/InputContext.java,
6548         javax/swing/tree/DefaultMutableTreeNode.java:
6549         Rename enum to e because enum is a keyword in Java 1.5.
6551 2004-05-30  Michael Koch  <konqueror@gmx.de>
6553         * gnu/java/math/MPN.java,
6554         java/awt/geom/Arc2D.java:
6555         Fixed javadocs all over.
6557 2004-05-30  Michael Koch  <konqueror@gmx.de>
6559         * java/awt/DefaultKeyboardFocusManager.java
6560         (dispatchEvent): Call method to get key event dispatchers.
6561         (dispatchKeyEvent): Call method to get key event post processors.
6562         * javax/swing/JComponent.java
6563         (listenerList): Made protected.
6564         * javax/swing/JOptionPane.java
6565         (message): Don't initialize.
6566         (JOptionPane): Set message text.
6567         * javax/swing/JPopupMenu.java
6568         (show): Fixed typo in argument name.
6569         * javax/swing/RepaintManager.java
6570         (paintDirtyRegions): Use public API of java.util.Map.
6571         * javax/swing/plaf/basic/BasicSplitPaneDivider.java
6572         (positionForMouseEvent): Removed redundant ';'.
6573         (continueDrag): Use method arguments.
6575 2004-05-29  Ranjit Mathew  <rmathew@hotmail.com>
6577         * testsuite/libjava.jacks/jacks.xfail: Update for post tree-ssa merge
6578         results.
6580 2004-05-28  Bryce McKinlay  <mckinlay@redhat.com>
6582         * gcj/cni.h (JvAllocBytes): New public CNI function. Calls
6583         _Jv_AllocBytes.
6584         * gnu/gcj/RawDataManaged.java: New file.
6585         * java/lang/Thread.java (data): Declare as RawDataManaged.
6586         * java/lang/natThread.cc (init_native): Cast natThread data to
6587         RawDataManaged, not jobject.
6588         * Makefile.am (ordinary_java_source_files): Add RawDataManaged.
6589         * Makefile.in: Rebuilt.
6591 2004-05-27  Jerry Quinn  <jlquinn@optonline.net>
6593         * java/util/SimpleTimeZone.java: Reverting my last change until I
6594         can fix it properly.
6596 2004-05-27  Michael Koch  <konqueror@gmx.de>
6598         * javax/swing/JPopupMenu.java
6599         (isVisible): Do not use visible directly.
6600         (setVisible): Likewise.
6601         * javax/swing/JWindow.java
6602         (JWindow): call accessible constructor.
6603         * javax/swing/RepaintManager.java
6604         (paintDirtyRegions): Use public methods to obtain iterator.
6606 2004-05-25  David Jee  <djee@redhat.com>
6608         * java/awt/Container.java
6609         (remove): Set component's parent to null only after we removed the
6610         component from its parent's layout manager.
6612 2004-05-25  David Jee  <djee@redhat.com>
6614         * gnu/java/awt/peer/gtk/GtkComponentPeer.java
6615         (GtkComponentPeer): Set bounds regardless of whether awtComponent
6616         is valid.
6617         * gnu/java/awt/peer/gtk/GtkListPeer.java
6618         (getSize): Change native method declaration.
6619         (minimumSize): Pass visible row count into getSize().
6620         (preferredSize): Likewise.
6621         * jni/gtk-peer/gnu_java_awt_peer_gtk_GtkListPeer.c
6622         (Java_gnu_java_awt_peer_gtk_GtkListPeer_getSize): Use scroll window's
6623         natural size. Use visible row count to determine the final height
6624         value to return.
6626 2004-05-21  Graydon Hoare  <graydon@redhat.com>
6628         * gnu/java/awt/peer/gtk/GdkGraphics2D.java 
6629         (setClip): Minor correction to order of operations.
6631         * javax/swing/JScrollPane.java: Extend sketchy implementation.
6632         * javax/swing/ScrollPaneLayout.java: Likewise.
6633         * javax/swing/JViewPort.java: Likewise.
6634         * javax/swing/ViewportLayout.java: Likewise.
6636         * javax/swing/JComponent.java: Rewrite.
6637         * javax/swing/RepaintManager.java: Likewise.
6639         * javax/swing/JLayeredPane.java: Change validate() to revalidate().
6640         * javax/swing/JList.java 
6641         (setSelectedIndices):
6642         (getSelectedIndices):
6643         (getSelectedValues): New functions.
6644         (getPreferredScrollableViewportSize): Return preferred size.
6645         (getScrollableUnitIncrement):
6646         (getScrollableBlockIncrement): Initial implementations.
6647         * javax/swing/JRootPane.java: Clean up slightly.
6648         (getUI):
6649         (setUI):
6650         (updateUI):
6651         (getUIClassID):
6652         (isValidateRoot): Add overrides from JComponent.
6653         * javax/swing/JScrollBar.java: Set default orientation to VERTICAL.
6654         * javax/swing/UIManager.java (getDimension): Return the dimension.
6656         * javax/swing/plaf/basic/BasicButtonUI.java: Set component opaque.
6657         * javax/swing/plaf/basic/BasicLabelUI.java: Likewise.
6658         * javax/swing/plaf/basic/BasicMenuItemUI.java: Likewise.
6659         * javax/swing/plaf/basic/BasicProgressBarUI.java: Likewise.
6660         * javax/swing/plaf/basic/BasicSeparatorUI.java: Likewise.
6661         * javax/swing/plaf/basic/BasicSliderUI.java: Likewise.
6662         * javax/swing/plaf/basic/BasicTabbedPaneUI.java: Likewise.
6663         * javax/swing/plaf/basic/BasicRootPaneUI.java: 
6664         Likewise, and set background.
6665         * javax/swing/plaf/basic/BasicListUI.java: 
6666         Likewise, and improve a bit.
6667         * javax/swing/plaf/basic/BasicScrollBarUI.java: 
6668         Likewise, and adjust calculations.
6669         * javax/swing/plaf/basic/BasicViewportUI.java:
6670         Likewise, and improve a bit.
6671         * javax/swing/plaf/basic/BasicLookAndFeel.java 
6672         (Button.margin): Shrink.
6674         * jni/gtk-peer/gnu_java_awt_peer_gtk_GdkGlyphVector.c:
6675         Hack to set horizontal always, workaround pango.
6677         * jni/gtk-peer/gtkcairopeer.h: Change to match pattern API.
6678         * jni/gtk-peer/gnu_java_awt_peer_gtk_GdkGraphics2D.c:
6679         Synchronize more often, check cairo status after ops,
6680         handle changes to cairo pattern API, check for disposal.
6682 2004-05-21  Olga Rodimina  <rodimina@redhat.com>
6684         * javax/swing/plaf/basic/BasicMenuItemUI.java:
6685         (BasicMenuItemUI): Create propertyChangeListener.
6686         (getPath):Implemented.
6687         (installListeners): Add propertyChangeListener to menuItem.
6688         (uninstallListeners): Remove propertyChangeListener from menuItem.
6689         (update): Implemented.
6690         * javax/swing/plaf/basic/BasicMenuUI.MouseInputHandler:
6691         (mouseEntered): Take insets of popup menu into account when
6692         calculating position of popup menu.     
6693         
6694 2004-05-18  Olga Rodimina  <rodimina@redhat.com>
6696         * Makefile.am: Added new file. 
6697         * Makefile.in: Regenerate.
6698         * javax/swing/JMenuBar.java:
6699         Started implementation.
6700         * javax/swing/JPopupMenu.java:
6701         (setVisible): Fixed location of lightweight/mediumweight
6702         popup menu.
6703         (show): Fixed location of PopupMenu.
6704         * javax/swing/plaf/basic/BasicMenuBarUI.java:
6705         New file. UI Delegate for JMenuBar.
6706         * javax/swing/plaf/basic/BasicMenuUI.MouseInputHandler:
6707         (mouseEntered): Corrected position of the submenu.
6709 2004-05-18  Thomas Fitzsimmons  <fitzsim@redhat.com>
6711         * jni/gtk-peer/gnu_java_awt_peer_gtk_GtkMenuPeer.c: Remove calls
6712         to _gtk_accel_group_attach.
6713         * jni/gtk-peer/gnu_java_awt_peer_gtk_GtkPopupMenuPeer.c:
6714         Likewise.
6716         * gnu/java/awt/peer/gtk/GtkButtonPeer.java: Give gtkSetFont
6717         package access.  Don't override setFont.
6718         * gnu/java/awt/peer/gtk/GtkCheckboxPeer.java: Likewise.
6719         * gnu/java/awt/peer/gtk/GtkComponentPeer.java: Give
6720         gtkWidgetRequestFocus package access.
6721         * gnu/java/awt/peer/gtk/GtkLabelPeer.java: Don't override
6722         setFont.
6723         * gnu/java/awt/peer/gtk/GtkListPeer.java: Override gtkSetFont.
6724         Give gtkWidgetRequestFocus package access.
6725         * gnu/java/awt/peer/gtk/GtkTextAreaPeer.java: Give
6726         gtkWidgetRequestFocus package access.  Don't override setFont.
6727         * gnu/java/awt/peer/gtk/GtkTextFieldPeer.java: Don't override
6728         setFont.
6729         * jni/gtk-peer/gnu_java_awt_peer_gtk_GtkButtonPeer.c
6730         (gtkSetLabel): Move call to gtk_bin_get_child into GDK critical
6731         region.
6732         (gtkSetFont): Likewise.
6733         * jni/gtk-peer/gnu_java_awt_peer_gtk_GtkListPeer.c (gtkSetFont):
6734         Implement.
6735         * jni/gtk-peer/gnu_java_awt_peer_gtk_GtkTextAreaPeer.c
6736         (gtkSetFont): Whitespace fix.
6738         * jni/gtk-peer/gnu_java_awt_peer_gtk_GtkComponentPeer.c
6739         (gtkWidgetSetUsize): Remove method.
6741 2004-05-18  David Jee  <djee@redhat.com>
6743         * java/awt/image/MemoryImageSource.java
6744         (newPixels(int,int,int,int,boolean)): Set only the specified
6745         rectangle of pixels.
6746         (newPixels(byte[],ColorModel,int,int)): Implement.
6747         (newPixels(int[],ColorModel,int,int)): Implement.
6749 2004-05-18  Olga Rodimina  <rodimina@redhat.com>
6751         * Makefile.am: Added new file.
6752         * Makefile.in: Regenerate.
6753         * javax/swing/JMenu.java: Started 
6754         implementation.
6755         * javax/swing/JPopupMenu.java:
6756         (insert): If specified index is -1, then
6757         add component at the end.
6758         (isPopupTrigger): Reimplemented.
6759         (JPopupMenu.LightWeightPopup): setBounds
6760         of the lightWeightPopup before adding it 
6761         to the layeredPane.
6762         (javax/swing/plaf/basic/BasicIconFactory.java):
6763         (getMenuArrowIcon): Implemented.
6764         * javax/swing/plaf/basic/BasicMenuItemUI.java:
6765         (getPreferredSize): Add size of the arrow icon 
6766         if this menu item is instance of JMenu.
6767         (paintMenuItem): Paint arrow icon if this 
6768         menu item is a submenu.
6769         * javax/swing/plaf/basic/BasicMenuUI.java:
6770         New File. UI Delegate for JMenu.
6772 2004-05-17  Thomas Fitzsimmons  <fitzsim@redhat.com>
6774         * gnu/java/awt/peer/gtk/GtkComponentPeer.java (postKeyEvent):
6775         Post KEY_TYPED events.
6776         * jni/gtk-peer/gnu_java_awt_peer_gtk_GtkEvents.c
6777         (generates_key_typed_event): Remove function.
6779 2004-05-17  Olga Rodimina  <rodimina@redhat.com>
6781         * javax/swing/JRootPane.java
6782         (JRootPane.RootLayout): Reimplemented to 
6783         set bounds of contentPane and menuBar.
6784         (setJMenuBar): Add menu bar to the layered pane.
6785         (createLayeredPane): Set layout of layeredPane
6786         to null.
6787         * javax/swing/JLayeredPane.java:
6788         (addImpl): Calculate index of the component in the
6789         layeredPane according to the specified position within 
6790         the layer.      
6792 2004-05-17  David Jee  <djee@redhat.com>
6794         * gnu/java/awt/peer/gtk/GtkImagePainter.java
6795         (setPixels): Change color model to the default model after
6796         converting pixels.
6797         * java/awt/image/MemoryImageSource.java
6798         (newPixels): Set only the specified rectangle of pixels.
6800 2004-05-13  Thomas Fitzsimmons  <fitzsim@redhat.com>
6802         * libgcj.spec.in (lib): Add -l-java-awt -l-java-applet
6803         -l-java-beans -l-javax-accessibility -l-javax-swing.
6805         * java/awt/AWTEvent.java (toString): Print source's name rather
6806         than the source itself.
6808 2004-05-12  Thomas Fitzsimmons  <fitzsim@redhat.com>
6810         * gnu/java/awt/peer/gtk/GtkToolkit.java (loadSystemColors): Make
6811         native.
6812         * jni/gtk-peer/gnu_java_awt_peer_gtk_GtkToolkit.c
6813         (gdk_color_to_java_color): New function.
6814         * jni/gtk-peer/gtkpeer.h: Add SystemColor defines.
6816 2004-05-12  David Jee  <djee@redhat.com>
6818         * java/awt/image/RGBImageFilter.java:
6819         Initialize origmodel as null.
6820         (makeColor): Fix pixel component order.
6821         (filterRGBPixels): Fix pixel iteration.
6822         (setPixels): Add extra checks for index color model. Convert pixels
6823         to default color model if necessary.
6824         (convertColorModelToDefault): New override method for byte pixels.
6825         (convertColorModelToDefault): For int pixels, fix pixel iteration.
6826         (makeColorbyDefaultCM): New override method for byte pixels.
6827         (makeColorbyDefaultCM): For int pixel, add color model as argument.
6828         (makeColor): Fix pixel component order.
6830 2004-05-11  Kim Ho  <kho@redhat.com>
6832         * javax/swing/Box.java:
6833         Comment out more parts of Box.Filler.
6835 2004-05-11  Kim Ho  <kho@redhat.com>
6837         * javax/swing/Box.java:
6838         Remove reference to AccessibleAWTComponent so
6839         it compiles again.
6841 2004-05-10  Thomas Fitzsimmons  <fitzsim@redhat.com>
6843         * gnu/java/awt/peer/gtk/GtkListPeer.java,
6844         jni/gtk-peer/gnu_java_awt_peer_gtk_GtkListPeer.c: Update
6845         implementation of list peer to use GtkTreeView instead of
6846         deprecated GtkCList.
6848 2004-05-07  Thomas Fitzsimmons  <fitzsim@redhat.com>
6850         * gnu/java/awt/peer/gtk/GtkComponentPeer.java
6851         (gtkWidgetDispatchKeyEvent): Remove keyChar parameter.
6852         (handleEvent): Remove keyChar argument to
6853         gtkWidgetDispatchKeyEvent calls.
6854         * jni/gtk-peer/gnu_java_awt_peer_gtk_GtkComponentPeer.c: Fix
6855         compiler warnings.
6856         * jni/gtk-peer/gnu_java_awt_peer_gtk_GtkEvents.c: Likewise.
6857         * jni/gtk-peer/gnu_java_awt_peer_gtk_GtkMenuPeer.c: Likewise.
6858         * jni/gtk-peer/gnu_java_awt_peer_gtk_GtkTextComponentPeer.c:
6859         Likewise.
6861 2004-05-06  Thomas Fitzsimmons  <fitzsim@redhat.com>
6863         * gnu/java/awt/peer/gtk/GtkComponentPeer.java
6864         (gtkWidgetRequestFocus): Mark protected.
6865         (GtkComponentPeer): Only set the peer's bounds if its component
6866         is valid.
6867         * java/awt/Component.java (static): Set the default keyboard
6868         focus manager.
6869         (requestFocus(), requestFocus(boolean), requestFocusInWindow(),
6870         requestFocusInWindow(temporary)): Don't request focus if the
6871         component is not showing.  Get tree lock before traversing
6872         component hierarchy.
6873         * java/awt/DefaultKeyboardFocusManager.java (dispatchEvent):
6874         Only set the global focus owner if it is not a Window.
6875         (processKeyEvent): Consume keystrokes associated with the focus
6876         traversal keystroke.
6877         (focusPreviousComponent, focusNextComponent, upFocusCycle,
6878         downFocusCycle): Call requestFocusInWindow instead of
6879         requestFocus.
6880         * java/awt/EventDispatchThread.java (run): Move setting of
6881         default keyboard focus manager to Component.java.
6882         * jni/gtk-peer/gnu_java_awt_peer_gtk_GtkComponentPeer.c
6883         (awt_keycode_to_keysym): New function.
6884         (gtkWidgetDispatchKeyEvent): Finish implementation.
6885         * jni/gtk-peer/gnu_java_awt_peer_gtk_GtkEvents.c
6886         (pre_event_handler): Add FIXME comment.
6888         * gnu/java/awt/peer/gtk/GtkTextAreaPeer.java,
6889         jni/gtk-peer/gnu_java_awt_peer_gtk_GtkTextAreaPeer.c
6890         (gtkWidgetRequestFocus): New method.
6891         * java/awt/TextArea.java (TextArea): Set focus traversal keys to
6892         disable Tab and Shift-Tab keystrokes.
6893         (addNotify, appendText, insertText, replaceText): Simplify peer
6894         retrieval code.
6895         * jni/gtk-peer/gnu_java_awt_peer_gtk_GtkTextComponentPeer.c
6896         (connectSignals): Remove connections to "commit" signals.
6897         Remove C++-style comments.
6899         * gnu/java/awt/peer/gtk/GtkButtonPeer.java,
6900         jni/gtk-peer/gnu_java_awt_peer_gtk_GtkButtonPeer.c
6901         (handleEvent): Activate GTK button when the space bar key is
6902         pressed.
6903         (gtkActivate): New method.
6905 2004-05-06  David Jee  <djee@redhat.com>
6907         * java/awt/image/CropImageFilter.java
6908         (setPixels): Implement for byte array pixels.
6909         * java/awt/image/ReplicateScaleFilter.java
6910         (setPixels): Implement for byte array pixels.
6911         (replicatePixels): Overload for byte array pixels.
6913 2004-05-06  Kim Ho  <kho@redhat.com>
6915         * javax/swing/Box.java:
6916         (getAccessibleContext): Return an instance of the 
6917         correct class.
6919 2004-05-05  David Jee  <djee@redhat.com>
6921         * gnu/java/awt/peer/gtk/GdkGraphics.java
6922         (drawImage): When component is null, use SystemColor.window as
6923         the default bgcolor.
6924         * gnu/java/awt/peer/gtk/GtkImage.java
6925         (setPixels): We can avoid iterating through the pixel rows only
6926         when height is 1.
6927         * java/awt/Image.java
6928         (getScaledInstance): Partially implement.
6929         * java/awt/image/CropImageFilter.java
6930         (setProperties): Fix "filter" property.
6931         (setPixels): Implement.
6932         * java/awt/image/ReplicateScaleFilter.java
6933         (setDimensions): Use scaled dimensions.
6934         (setPixels): Implement.
6935         (replicatePixels): New method.
6937 2004-05-05  David Jee  <djee@redhat.com>
6939         * gnu/java/awt/peer/gtk/GtkImagePainter.java
6940         (convertPixels): If either pixels or model is null, return null.
6941         * jni/gtk-peer/gnu_java_awt_peer_gtk_GtkImagePainter.c
6942         (Java_gnu_java_awt_peer_gtk_GtkImagePainter_drawPixels): If jpixels
6943         is null, do nothing and return.
6945 2004-05-03  Kim Ho  <kho@redhat.com>
6947         * gnu/java/awt/peer/gtk/GtkDialogPeer.java:
6948         (getGraphics): Like GtkFramePeer, the Graphics
6949         object needs to be translate to account for
6950         window decorations.
6951         (postMouseEvent): New method. Account for
6952         translation.
6953         (postExposeEvent): ditto.
6954         * javax/swing/Box.java: Stubbed.
6955         * javax/swing/JDialog.java: Ran through jalopy
6956         to fix indentation.
6957         (JDialog): Call SwingUtilities' getOwnerFrame
6958         for null owners.
6959         (setLayout): Check isRootPaneCheckingEnabled
6960         * javax/swing/JOptionPane.java: Re-implemented.
6961         * javax/swing/SwingUtilities.java:
6962         (getOwnerFrame): Static method to grab a default
6963         owner frame for Dialogs that don't specify owners.
6964         * javax/swing/event/SwingPropertyChangeSupport.java:
6965         (firePropertyChange): Fix early exit condition.
6966         * javax/swing/plaf/basic/BasicLabelUI.java:
6967         (paint): Avoid painting text if it is null 
6968         or empty.
6969         * javax/swing/plaf/basic/BasicOptionPaneUI.java:
6970         Implement.
6972 2004-05-03  Olga Rodimina  <rodimina@redhat.com>
6974         * Makefile.am: Added new file.
6975         * Makefile.in: Regenerate.
6976         * javax/swing/JPopupMenu.java:
6977         Started implementation.
6978         * javax/swing/JWindow.java
6979         (JWindow): call super() if parent for window
6980         is not specified.
6981         * javax/swing/plaf/basic/BasicPopupMenuUI.java:
6982         New File. UI Delegate for JPopupMenu.
6984 2004-04-30  Olga Rodimina  <rodimina@redhat.com>
6986         * javax/swing/JApplet.java: Indicated that JApplet
6987         implements RootPaneContainer and made method of this
6988         interface public. 
6989         * javax/swing/JFrame.java: Ditto.
6990         * javax/swing/JWindow.java: Ditto.
6991         
6992 2004-04-29  Thomas Fitzsimmons  <fitzsim@redhat.com>
6994         * jni/gtk-peer/gnu_java_awt_peer_gtk_GtkWindowPeer.c
6995         (nativeSetBounds): Call gdk_window_move in addition to
6996         gtk_window_move.
6998         * java/applet/Applet.java (preferredSize): Call parent's
6999         preferredSize if the applet stub is null.
7000         (minimumSize): Likewise for parent's minimumSize.
7002 2004-04-27  Olga Rodimina  <rodimina@redhat.com>
7004         * javax/swing/JMenuItem.java
7005         (createActionPropertyChangeListener): Implemented.
7006         (processMouseEvent): Ditto.
7007         (fireMenuDragMouseEntered): Ditto.
7008         (fireMenuDragMouseExited): Ditto.
7009         (fireMenuDragMouseDragged): Ditto.
7010         (fireMenuDragMouseReleased): Ditto.
7011         (menuSelectionChanged): Ditto.
7012         (getSubElements): Ditto.
7013         (getComponent): Ditto.
7014         (addMenuDragMouseListener): Ditto.
7015         (removeMenuDragMouseListener):Ditto.
7016         (addMenuKeyListener): Ditto.
7017         (removeMenuKeyListener): Ditto.
7018         * javax/swing/plaf/basic/BasicMenuItemUI.java
7019         (doClick): Imlemented.
7020         * javax/swing/plaf/basic/BasicMenuItemUI.MouseInputHandler:
7021         Don't handle mouse events here. Pass them to 
7022         MenuSelectionManager.
7023         
7024 2004-04-26  Olga Rodimina  <rodimina@redhat.com>
7025         Used correct version of jalopy configuration
7026         file to fix style in the files below.
7028 2004-04-26  Olga Rodimina  <rodimina@redhat.com>
7030         * javax/swing/JCheckBoxMenuItem.java: 
7031         Fixed style and removed unnecessary comments.
7032         * javax/swing/JMenuItem.java: Ditto.
7033         * javax/swing/JRadioButtonMenuItem.java: Ditto.
7034         * javax/swing/plaf/basic/BasicCheckBoxMenuItemUI.java: Ditto.
7035         * javax/swing/plaf/basic/BasicMenuItemUI.java: Ditto.
7036         * javax/swing/plaf/basic/BasicRadioButtonMenuItemUI.java: Ditto.
7038 2004-04-23  Thomas Fitzsimmons  <fitzsim@redhat.com>
7040         * gnu_java_awt_peer_gtk_GtkWindowPeer.c: Change FIXME comment to
7041         C-style.
7043         * gnu_java_awt_peer_gtk_GtkWindowPeer.c: Add FIXME comment.
7045         * java/awt/ContainerOrderFocusTraversalPolicy.java
7046         (getComponentAfter): Start from current component and work up
7047         the component hierarchy until an acceptable component is found.
7048         Synchronize on tree lock.
7049         (getComponentBefore): Likewise.
7051 2004-04-22  Thomas Fitzsimmons  <fitzsim@redhat.com>
7053         * gnu/java/awt/peer/gtk/GtkComponentPeer.java: Remove
7054         focus-related debugging messages.
7055         * java/awt/DefaultKeyboardFocusManager.java: Likewise.
7056         * java/awt/EventDispatchThread.java: Likewise.
7057         * java/awt/KeyboardFocusManager.java: Likewise.
7058         * java/awt/Window.java: Likewise.
7059         * jni/gtk-peer/gnu_java_awt_peer_gtk_GtkComponentPeer.c: Likewise.
7060         * jni/gtk-peer/gnu_java_awt_peer_gtk_GtkEvents.c: Likewise.
7062         * jni/gtk-peer/gnu_java_awt_peer_gtk_GtkComponentPeer.c: Change
7063         new C++-style comments to C-style comments.
7064         * jni/gtk-peer/gnu_java_awt_peer_gtk_GtkEvents.c: Likewise.
7066         * gnu/java/awt/peer/gtk/GtkComponentPeer.java,
7067         jni/gtk-peer/gnu_java_awt_peer_gtk_GtkComponentPeer.c
7068         (handleEvent): Dispatch key press and key release events to
7069         backing widget.
7070         (requestFocus): Post a FOCUS_GAINED event to the event queue.
7071         (gtkWidgetRequestFocus): New method.
7072         (gtkWidgetDispatchKeyEvent): Likewise.
7073         * java/awt/Component.java (requestFocus, requestFocus(boolean),
7074         requestFocusInWindow, requestFocusInWindow(boolean),
7075         getFocusCycleRootAncestor, nextFocus, transferFocus,
7076         transferFocusBackward, transferFocusUpCycle, hasFocus,
7077         isFocusOwner): Implement and document focus-handling methods.
7078         (setFocusTraversalKeys): Inherit focus traversal keys when
7079         keystrokes argument is null.  Fix focus-handling documentation
7080         throughout class.
7081         * java/awt/Container.java (setFocusTraversalKeys,
7082         getFocusTraversalKeys, areFocusTraversalKeysSet,
7083         isFocusCycleRoot, setFocusTraversalPolicy,
7084         getFocusTraversalPolicy, isFocusTraversalPolicySet,
7085         setFocusCycleRoot, isFocusCycleRoot, transferFocusDownCycle):
7086         Implement and document focus-handling methods.
7087         (transferFocusBackward): Remove method.
7088         (readObject, writeObject): Implement and document serialization
7089         methods.
7090         * java/awt/ContainerOrderFocusTraversalPolicy.java: Implement
7091         and document.
7092         * java/awt/DefaultFocusTraversalPolicy.java: Implement and
7093         document.
7094         * java/awt/DefaultKeyboardFocusManager.java: Implement and
7095         partially document.
7096         * java/awt/EventDispatchThread.java (run): Set default keyboard
7097         focus manager.  Attempt to dispatch each event to the keyboard
7098         focus manager before normal dispatch.
7099         * java/awt/KeyboardFocusManager.java: Implement and partially
7100         document.
7101         * java/awt/Window.java (Window): Set focusCycleRoot to true.
7102         (show): Focus initial component when window is shown for the
7103         first time.
7104         * jni/gtk-peer/gnu_java_awt_peer_gtk_GtkEvents.c
7105         (pre_event_handler): Replace complex key press and key release
7106         logic with simple callbacks into GtkComponentPeer.
7107         * jni/gtk-peer/gtkpeer.h: Fix FOCUS_GAINED/FOCUS_LOST reversal.
7109 2004-04-21  Olga Rodimina  <rodimina@redhat.com>
7111         * javax/swing/MenuSelectionManager.java
7112         (componentForPoint): Added new method. 
7113         (defaultManager): New Method. Implemented.
7114         (getSelectedPath): Ditto.
7115         (isComponentPartOfCurrentMenu): Ditto.
7116         (processKeyEvent): Added new method.
7117         (processMouseEvent): New Method. Implemented.
7118         (setSelectedPath): Ditto.
7119         (getPath): Ditto.
7121 2004-04-19  Kim Ho  <kho@redhat.com>
7123         * java/awt/Container.java: 
7124         (remove): Set the component's parent to null.
7125         (getComponentAt): Implement.
7126         * javax/swing/JComponent.java:
7127         (JComponent): Initialize defaultLocale
7128         (getDefaultLocale): Implement.
7129         (setDefaultLocale): ditto.
7130         * javax/swing/JSlider.java:
7131         (JSlider): Fix calculation of value.
7132         * javax/swing/JSplitPane.java: Implement.
7133         * javax/swing/plaf/basic/BasicLookAndFeel.java:
7134         Change SplitPane's default divider size.
7135         * javax/swing/plaf/basic/BasicScrollBarUI.java:
7136         (paint): Remove unused code.
7137         * javax/swing/plaf/basic/BasicSplitPaneDivider.java:
7138         Added comments and ran through jalopy.
7139         (setBasicSplitPaneUI): Get reference to hidden divider
7140         and set up one touch buttons if necessary.
7141         (setBorder): Fire propertyChangeEvent only if 
7142         borders are different.
7143         (getPreferredSize): Defer to layout manager.
7144         (propertyChange): Implement.
7145         (oneTouchExpandableChanged): ditto.
7146         (createLeftOneTouchButton): Use BasicArrowButton.
7147         (createRightOneTouchButton): ditto.
7148         (moveDividerTo): New method. Moves the divider
7149         to a set location based on the last divider location.
7150         (BasicSplitPaneDivider::MouseHandler): Implement.
7151         (BasicSplitPaneDivider::OneTouchButton): Removed.
7152         (BasicSplitPaneDivider::DragController): Implement.
7153         (BasicSplitPaneDivider::VerticalDragController):
7154         ditto.
7155         (BasicSplitPaneDivider::DividerLayout): ditto.
7156         * javax/swing/plaf/basic/BasicSplitPaneUI.java: Reimplement.
7157         * javax/swing/plaf/basic/BasicTabbedPaneUI.java:
7158         (calculateLayoutInfo): Don't show component if it's
7159         null.
7160         (paintTab): Fix title paint logic.
7162 2004-05-26  Jerry Quinn  <jlquinn@optonline.net>
7164         PR libgcj/8321
7165         * java/util/SimpleTimeZone.java (serialVersionOnStream): Bump to 2.
7166         (setStartRule,setEndRule): Don't take abs of day number.
7167         (getOffset): Clarify docs.  Add argument checks.
7168         (isBefore): Take abs of day number in DOW_LE_DOM_MODE.
7169         (equals,hasSameRules,toString,readObject): Use startTimeMode and
7170         endTimeMode.
7171         * testsuite/libjava.mauve/xfails
7172         (gnu.testlet.java.util.SimpleTimeZone.check12): XFAIL test 22.
7174 2004-05-21  Bryce McKinlay  <mckinlay@redhat.com>
7176         Layout interfaces during preparation, not initialization. 
7177         * java/lang/natClass.cc (initializeClass): Move 
7178         _Jv_LayoutInterfaceMethods call...
7179         * java/lang/natClassLoader.cc (_Jv_PrepareCompiledClass): to here.
7181 2004-05-19  Anthony Green  <green@localhost.localdomain>
7183         * Makefile.am (awt_java_source_files): Remove javax.rmi and
7184         gnu.javax.rmi code.
7185         * Makefile.in: Rebuilt.
7186         * javax/rmi/ClassDesc.java, javax/rmi/StubDelegate.java,
7187         javax/rmi/UtilDelegate.java, javax/rmi/Stub.java,
7188         javax/rmi/Util.java, javax/rmi/ObjectImpl.java,
7189         javax/rmi/SystemException.java, javax/rmi/ValueHandler.java,
7190         javax/rmi/PortableRemoteObjectDelegate.java, javax/rmi/Tie.java,
7191         gnu/javax/rmi/CORBA/DelegateFactory.java,
7192         gnu/javax/rmi/CORBA/GetDelegateInstanceException.java,
7193         gnu/javax/rmi/CORBA/PortableRemoteObjectDelegateImpl.java,
7194         gnu/javax/rmi/CORBA/StubDelegateImpl.java,
7195         gnu/javax/rmi/CORBA/UtilDelegateImpl.java,
7196         gnu/javax/rmi/CORBA/ValueHandlerImpl.java,
7197         gnu/javax/rmi/PortableServer.java: Remove files.
7199 2004-05-19  Anthony Green  <green@redhat.com>
7201         * Makefile.am: Define JAVA_EXT_DIRS.
7202         * Makefile.in: Rebuilt.
7203         * java/lang/natRuntime.cc (insertSystemProperties): Set
7204         java.ext.dirs property.
7206 2004-05-16  Mark Wielaard  <mark@klomp.org>
7208         * java/io/Writer.java (Writer(Object)): Check for null lock object.
7210 2004-05-15  Mark Wielaard  <mark@klomp.org>
7212         * doc/cni.sgml: Removed, merged into gcj.texi.
7214 2004-05-15  Mark Wielaard  <mark@klomp.org>
7216         * Makefile.am (ordinary_java_source_files): Add new javax.print
7217         classes.
7218         * Makefile.in: Regenerated.
7220 2004-05-15  Michael Koch  <konqueror@gmx.de>
7222         * javax/print/attribute/standard/DateTimeAtCompleted.java,
7223         javax/print/attribute/standard/DateTimeAtCreation.java,
7224         javax/print/attribute/standard/DateTimeAtProcessing.java,
7225         javax/print/attribute/standard/DocumentName.java,
7226         javax/print/attribute/standard/JobHoldUntil.java,
7227         javax/print/attribute/standard/JobImpressionsCompleted.java,
7228         javax/print/attribute/standard/JobMessageFromOperator.java,
7229         javax/print/attribute/standard/JobName.java,
7230         javax/print/attribute/standard/JobOriginatingUserName.java,
7231         javax/print/attribute/standard/JobPriority.java,
7232         javax/print/attribute/standard/JobPrioritySupported.java,
7233         javax/print/attribute/standard/NumberOfInterveningJobs.java,
7234         javax/print/attribute/standard/OutputDeviceAssigned.java,
7235         javax/print/attribute/standard/PrinterInfo.java,
7236         javax/print/attribute/standard/PrinterLocation.java,
7237         javax/print/attribute/standard/PrinterMakeAndModel.java,
7238         javax/print/attribute/standard/PrinterMessageFromOperator.java,
7239         javax/print/attribute/standard/PrinterName.java,
7240         javax/print/attribute/standard/QueuedJobCount.java,
7241         javax/print/attribute/standard/RequestingUserName.java:
7242         Fixed javadocs all over.
7244 2004-05-15  Michael Koch  <konqueror@gmx.de>
7246         * javax/print/DocFlavor.java,
7247         javax/print/attribute/standard/ColorSupported.java,
7248         javax/print/attribute/standard/Compression.java,
7249         javax/print/attribute/standard/CopiesSupported.java,
7250         javax/print/attribute/standard/Fidelity.java,
7251         javax/print/attribute/standard/Finishings.java,
7252         javax/print/attribute/standard/JobImpressionsSupported.java,
7253         javax/print/attribute/standard/JobKOctetsSupported.java,
7254         javax/print/attribute/standard/JobMediaSheetsSupported.java,
7255         javax/print/attribute/standard/JobSheets.java,
7256         javax/print/attribute/standard/JobState.java,
7257         javax/print/attribute/standard/JobStateReason.java,
7258         javax/print/attribute/standard/JobStateReasons.java,
7259         javax/print/attribute/standard/Media.java,
7260         javax/print/attribute/standard/MediaSizeName.java,
7261         javax/print/attribute/standard/MultipleDocumentHandling.java,
7262         javax/print/attribute/standard/NumberUpSupported.java,
7263         javax/print/attribute/standard/OrientationRequested.java,
7264         javax/print/attribute/standard/PDLOverrideSupported.java,
7265         javax/print/attribute/standard/PageRanges.java,
7266         javax/print/attribute/standard/PresentationDirection.java,
7267         javax/print/attribute/standard/PrintQuality.java,
7268         javax/print/attribute/standard/PrinterIsAcceptingJobs.java,
7269         javax/print/attribute/standard/PrinterMoreInfo.java,
7270         javax/print/attribute/standard/PrinterMoreInfoManufacturer.java,
7271         javax/print/attribute/standard/PrinterResolution.java,
7272         javax/print/attribute/standard/PrinterState.java,
7273         javax/print/attribute/standard/PrinterStateReason.java,
7274         javax/print/attribute/standard/PrinterStateReasons.java,
7275         javax/print/attribute/standard/PrinterURI.java,
7276         javax/print/attribute/standard/ReferenceUriSchemesSupported.java,
7277         javax/print/attribute/standard/Severity.java,
7278         javax/print/attribute/standard/SheetCollate.java,
7279         javax/print/attribute/standard/Sides.java:
7280         Added serialVersionUID and removed final keyword where it doenst
7281         belong.
7283 2004-05-15  Michael Koch  <konqueror@gmx.de>
7285         * javax/print/PrintServiceLookup.java: New file.
7287 2004-05-15  Michael Koch  <konqueror@gmx.de>
7289         * javax/print/DocFlavor.java:
7290         Implemented all flavor classes.
7292 2004-05-15  Michael Koch  <konqueror@gmx.de>
7294         * javax/print/attribute/standard/ColorSupported.java,
7295         javax/print/attribute/standard/Compression.java,
7296         javax/print/attribute/standard/CopiesSupported.java,
7297         javax/print/attribute/standard/Fidelity.java,
7298         javax/print/attribute/standard/Finishings.java,
7299         javax/print/attribute/standard/JobImpressionsSupported.java,
7300         javax/print/attribute/standard/JobKOctetsSupported.java,
7301         javax/print/attribute/standard/JobMediaSheetsSupported.java,
7302         javax/print/attribute/standard/JobSheets.java,
7303         javax/print/attribute/standard/JobState.java,
7304         javax/print/attribute/standard/JobStateReason.java,
7305         javax/print/attribute/standard/JobStateReasons.java,
7306         javax/print/attribute/standard/Media.java,
7307         javax/print/attribute/standard/MediaSizeName.java,
7308         javax/print/attribute/standard/MultipleDocumentHandling.java,
7309         javax/print/attribute/standard/NumberUpSupported.java,
7310         javax/print/attribute/standard/OrientationRequested.java,
7311         javax/print/attribute/standard/PDLOverrideSupported.java,
7312         javax/print/attribute/standard/PageRanges.java,
7313         javax/print/attribute/standard/PresentationDirection.java,
7314         javax/print/attribute/standard/PrintQuality.java,
7315         javax/print/attribute/standard/PrinterIsAcceptingJobs.java,
7316         javax/print/attribute/standard/PrinterMoreInfo.java,
7317         javax/print/attribute/standard/PrinterMoreInfoManufacturer.java,
7318         javax/print/attribute/standard/PrinterResolution.java,
7319         javax/print/attribute/standard/PrinterState.java,
7320         javax/print/attribute/standard/PrinterStateReason.java,
7321         javax/print/attribute/standard/PrinterStateReasons.java,
7322         javax/print/attribute/standard/PrinterURI.java,
7323         javax/print/attribute/standard/ReferenceUriSchemesSupported.java,
7324         javax/print/attribute/standard/Severity.java,
7325         javax/print/attribute/standard/SheetCollate.java,
7326         javax/print/attribute/standard/Sides.java: New files.
7328 2004-05-15  Michael Koch  <konqueror@gmx.de>
7330         * javax/print/Doc.java
7331         (getPrintData): Throws IOException.
7332         (getReaderForText): Likewise.
7333         (getStreamForBytes): Likewise.
7334         * javax/print/DocFlavor.java:
7335         Fixed filename in copyright.
7336         (serialVersionUID): New field.
7337         * javax/print/ServiceUIFactory.java:
7338         Made all constants final.
7339         * javax/print/AttributeException.java
7340         javax/print/MultiDoc.java
7341         javax/print/MultiDocPrintJob.java
7342         javax/print/MultiDocPrintService.java
7343         javax/print/StreamPrintService.java
7344         javax/print/URIException.java: New files.
7345         * javax/print/Makefile.am
7346         (EXTRA_DIST): Added all new files.
7348 2004-05-15  Michael Koch  <konqueror@gmx.de>
7350         * javax/print/attribute/standard/Copies.java,
7351         javax/print/attribute/standard/DateTimeAtCompleted.java,
7352         javax/print/attribute/standard/DateTimeAtCreation.java,
7353         javax/print/attribute/standard/DateTimeAtProcessing.java,
7354         javax/print/attribute/standard/DocumentName.java,
7355         javax/print/attribute/standard/JobHoldUntil.java,
7356         javax/print/attribute/standard/JobImpressions.java,
7357         javax/print/attribute/standard/JobImpressionsCompleted.java,
7358         javax/print/attribute/standard/JobKOctets.java,
7359         javax/print/attribute/standard/JobKOctetsProcessed.java,
7360         javax/print/attribute/standard/JobMediaSheets.java,
7361         javax/print/attribute/standard/JobMediaSheetsCompleted.java,
7362         javax/print/attribute/standard/JobMessageFromOperator.java,
7363         javax/print/attribute/standard/JobName.java,
7364         javax/print/attribute/standard/JobOriginatingUserName.java,
7365         javax/print/attribute/standard/JobPriority.java,
7366         javax/print/attribute/standard/JobPrioritySupported.java,
7367         javax/print/attribute/standard/NumberOfDocuments.java,
7368         javax/print/attribute/standard/NumberOfInterveningJobs.java,
7369         javax/print/attribute/standard/NumberUp.java,
7370         javax/print/attribute/standard/OutputDeviceAssigned.java,
7371         javax/print/attribute/standard/PagesPerMinute.java,
7372         javax/print/attribute/standard/PagesPerMinuteColor.java:
7373         Fixed @return tag all over.
7375 2004-05-15  Michael Koch  <konqueror@gmx.de>
7377         * javax/print/attribute/AttributeSetUtilities.java
7378         (verifyCategoryForValue): Fixed typo in javadoc.
7379         * javax/print/attribute/HashAttributeSet.java
7380         (containsKey): Fixed @return tag.
7381         (comtainsValue): Likewise.
7382         (equals): Likewise.
7383         * javax/print/attribute/IntegerSyntax.java
7384         (equals): Likewise.
7385         * javax/print/attribute/ResolutionSyntax.java
7386         (equals): Likewise.
7387         (getCrossFeedResolution): Removed unused code.
7388         (getFeedResolution): Likewise.
7389         * javax/print/attribute/SetOfIntegerSyntax.java
7390         (SetOfIntegerSyntax): Fixed HTML entities in javadoc.
7391         (equals): Fixed @return tag.
7392         * javax/print/attribute/TextSyntax.java
7393         (TextSyntax): Take locale into account.
7394         (hashCode): Better implementation.
7396 2004-05-15  Michael Koch  <konqueror@gmx.de>
7398         * javax/print/CancelablePrintJob.java,
7399         javax/print/Doc.java,
7400         javax/print/DocFlavor.java,
7401         javax/print/DocPrintJob.java,
7402         javax/print/FlavorException.java,
7403         javax/print/PrintException.java,
7404         javax/print/PrintService.java,
7405         javax/print/ServiceUIFactory.java: New files.
7407 2004-05-15  Mark Wielaard  <mark@klomp.org>
7409         * gnu/regexp/CharIndexedReader.java: Removed.
7410         * gnu/regexp/REFilterReader.java: Likewise.
7411         * gnu/regexp/RETokenLookAhead.java: Likewise.
7412         * Makefile.am (ordinary_java_source_files): Remove above classes.
7413         * Makefile.in: Regenerated.
7415 2004-05-14  Tom Tromey  <tromey@redhat.com>
7417         * gnu/awt/xlib/XGraphics.java (drawImage): Use `XOffScreenImage',
7418         not `XGraphicsConfiguration.XOffScreenImage'.
7420 2004-05-14  Scott Gilbertson  <scottg@mantatest.com>
7422         * gnu/awt/xlib/XCanvasPeer.java (setVisible): Implement unmap.
7424 2004-05-14  Steven Augart  <augart@watson.ibm.com>
7426         * include/jni.h (_Jv_func): Removed.
7427         (struct JNINativeInterface): Use `void *' for reserved slots.
7428         (struct JNIInvokeInterface): Likewise.
7430 2004-05-11  Michael Koch  <konqueror@gmx.de>
7432         * gnu/java/net/natPlainSocketImplPosix.cc
7433         (read): Fixed typo in expression.
7435 2004-05-10  Andreas Tobler  <a.tobler@schweiz.ch>
7437         * testsuite/lib/libjava.exp (libjava_invoke): Add new argument
7438         ld_library_additions. Adjust all calls to libjava_invoke to match
7439         the new argument.
7441         * testsuite/libjava.jni/jni.exp (gcj_jni_test_one): Pass stdc++
7442         path to cxxflagslist.
7443         Pass path of libstdc++ to libjava_invoke.
7445         * testsuite/libjava.jar/jar.exp (gcj_jar_inerpret): Adjust
7446         libjava_invoke arguments.
7448 2004-05-10  Ranjit Mathew  <rmathew@hotmail.com>
7450         * testsuite/libjava.jacks/jacks.xfail: Update to reflect the current
7451         reality.
7453 2004-05-07  Ranjit Mathew  <rmathew@gmail.com>
7455         * testsuite/libjava.jni/jni.exp (gcj_jni_test_one): Don't link the
7456         main binary against the JNI shared library.
7458 2004-05-07  Jerry Quinn  <jlquinn@optonline.net>
7460         * java/util/SimpleTimeZone.java (startTimeMode, endTimeMode,
7461         WALL_TIME, STANDARD_TIME, UTC_TIME): New members.
7462         (SimpleTimeZone): Tweak docs.  Add new variation.
7463         (setStartRule,setEndRule): Add new variations.  Use
7464         startTimeMode and endTimeMode.
7466 2004-05-07  Jerry Quinn  <jlquinn@optonline.net>
7468         * java/util/Calendar.java (getActualMinimum,
7469         getActualMaximum):  Remove abstract.  Implement.
7471 2004-05-06  Bryce McKinlay  <mckinlay@redhat.com>
7473         Run the jni tests using the interpreter.
7474         * testsuite/libjava.jni/jni.exp (gcj_jni_compile_c_to_so): Append
7475         options_cxx to shared lib compile command.
7476         (gcj_jni_test_one): Pass cxxflags to gcj_jni_compile_c_to_so, so
7477         they are used to link the shared lib, not the main binary.
7478         Use libjava_invoke to run gij.
7480 2004-05-06  Michael Koch  <konqueror@gmx.de>
7482         * java/util/logging/Level.java
7483         (parse): Use == instead of String.equals().
7485 2004-05-06  Bryce McKinlay  <mckinlay@redhat.com>
7487         * defineclass.cc (_Jv_ClassReader::prepare_pool_entry): Use 
7488         verify_field_signature and verify_method_signature, not 
7489         _Jv_VerifyFieldSignature and _Jv_VerifyMethodSigntature.
7490         (_Jv_ClassReader::handleField): Likewise.
7491         (_Jv_ClassReader::handleMethod): Likewise.
7493 2004-05-06  Michael Koch  <konqueror@gmx.de>
7495         * javax/swing/table/TableColumn.java:
7496         Reformated.
7498 2004-05-06  Michael Koch  <konqueror@gmx.de>
7500         * javax/imageio/spi/ImageReaderWriterSpi.java
7501         (ImageReaderWriterSpi): Made it public.
7502         * javax/imageio/stream/ImageInputStream.java:
7503         Clean up imports.
7505 2004-05-06  Michael Koch  <konqueror@gmx.de>
7507         * jni/gtk-peer/gnu_java_awt_peer_gtk_GtkComponentPeer.c:
7508         Removed empty line.
7510 2004-05-06  Michael Koch  <konqueror@gmx.de>
7512         * jni/gtk-peer/gnu_java_awt_peer_gtk_GtkCheckboxGroupPeer.c,
7513         jni/gtk-peer/gnu_java_awt_peer_gtk_GtkGenericPeer.c:
7514         New files.
7515         * jni/gtk-peer/gnu_java_awt_peer_gtk_GtkCheckboxMenuItemPeer.c:
7516         Include gnu_java_awt_peer_gtk_GtkCheckboxMenuItemPeer.h.
7517         * jni/gtk-peer/gnu_java_awt_peer_gtk_GtkCheckboxPeer.c:
7518         Moved GtkCheckboxGroupPeer_dispose and GtkCheckboxGroupPeer_remove to
7519         their own source file.
7520         * jni/gtk-peer/gnu_java_awt_peer_gtk_GtkComponentPeer.c:
7521         Moved GtkGenericPeer_dispose and GtkComponentPeer_requestFocus to
7522         their own source file. Removed GtkComponentPeer_gtkWidgetSetUsize.
7523         * jni/gtk-peer/gnu_java_awt_peer_gtk_GtkMenuPeer.c
7524         (create): Define variable on top of function.
7525         * jni/gtk-peer/gnu_java_awt_peer_gtk_GtkPopupMenuPeer.c
7526         (menu_pos): Prototyped.
7527         * jni/gtk-peer/gnu_java_awt_peer_gtk_GtkWindowPeer.c
7528         (setTitle): Removed.
7529         * jni/gtk-peer/gthread-jni.c
7530         (gdk_threads_wake): Removed.
7531         * Makefile.am (gtk_c_source_files): Added new files
7532         jni/gtk-peer/gnu_java_awt_peer_gtk_GtkCheckboxGroupPeer.c and
7533         jni/gtk-peer/gnu_java_awt_peer_gtk_GtkGenericPeer.c.
7534         * Makefile.in: Regenerated.
7536 2004-05-05  Bryce McKinlay  <mckinlay@redhat.com>
7538         * testsuite/libjava.jni/pr11951.java: Add missing System.loadLibrary()
7539         call.
7541 2004-05-05  Mark Wielaard  <mark@klomp.org>
7543         * javax/swing/AbstractButton.java: Replace special HTML entities with
7544         ASCII equivalent.
7545         * javax/swing/DefaultBoundedRangeModel.java: Likewise.
7546         * javax/swing/DefaultButtonModel.java: Likewise.
7547         * javax/swing/DefaultListModel.java: Likewise.
7548         * javax/swing/JList.java: Likewise.
7549         * javax/swing/JSlider.java: Likewise.
7550         * javax/swing/ListModel.java: Likewise.
7551         * javax/swing/Popup.java: Likewise.
7552         * javax/swing/SwingUtilities.java: Likewise.
7554 2004-05-05  Michael Koch  <konqueror@gmx.de>
7556         * javax/swing/AbstractButton.java,
7557         javax/swing/ActionMap.java,
7558         javax/swing/DefaultButtonModel.java,
7559         javax/swing/DefaultListModel.java,
7560         javax/swing/ImageIcon.java,
7561         javax/swing/JComboBox.java,
7562         javax/swing/JComponent.java,
7563         javax/swing/JFrame.java,
7564         javax/swing/JInternalFrame.java,
7565         javax/swing/JMenuBar.java,
7566         javax/swing/JMenuItem.java,
7567         javax/swing/JOptionPane.java,
7568         javax/swing/JProgressBar.java,
7569         javax/swing/JRootPane.java,
7570         javax/swing/JScrollBar.java,
7571         javax/swing/JScrollPane.java,
7572         javax/swing/JSeparator.java,
7573         javax/swing/JSlider.java,
7574         javax/swing/JTabbedPane.java,
7575         javax/swing/JTable.java,
7576         javax/swing/JTextField.java,
7577         javax/swing/JToolBar.java,
7578         javax/swing/JToolTip.java,
7579         javax/swing/JTree.java,
7580         javax/swing/JViewport.java,
7581         javax/swing/JWindow.java,
7582         javax/swing/KeyStroke.java,
7583         javax/swing/LookAndFeel.java,
7584         javax/swing/SwingUtilities.java,
7585         javax/swing/Timer.java,
7586         javax/swing/ToolTipManager.java,
7587         javax/swing/UIDefaults.java,
7588         javax/swing/border/TitledBorder.java,
7589         javax/swing/filechooser/FileSystemView.java,
7590         javax/swing/plaf/basic/BasicButtonListener.java,
7591         javax/swing/plaf/basic/BasicButtonUI.java,
7592         javax/swing/plaf/basic/BasicCheckBoxMenuItemUI.java,
7593         javax/swing/plaf/basic/BasicGraphicsUtils.java,
7594         javax/swing/plaf/basic/BasicLabelUI.java,
7595         javax/swing/plaf/basic/BasicMenuItemUI.java,
7596         javax/swing/plaf/basic/BasicRadioButtonMenuItemUI.java,
7597         javax/swing/plaf/basic/BasicRootPaneUI.java,
7598         javax/swing/plaf/basic/BasicScrollBarUI.java,
7599         javax/swing/plaf/basic/BasicScrollPaneUI.java,
7600         javax/swing/plaf/basic/BasicSliderUI.java,
7601         javax/swing/plaf/basic/BasicTabbedPaneUI.java,
7602         javax/swing/plaf/basic/BasicToggleButtonUI.java,
7603         javax/swing/table/JTableHeader.java,
7604         javax/swing/text/AbstractDocument.java,
7605         javax/swing/text/DefaultCaret.java,
7606         javax/swing/text/StyledEditorKit.java,
7607         javax/swing/tree/DefaultTreeCellEditor.java:
7608         Cleaned up imports.
7610 2004-05-05  Michael Koch  <konqueror@gmx.de>
7612         * java/util/prefs/AbstractPreferences.java
7613         (AbstractPreferences): Added parenthesis for clarity.
7614         Closes classpath bug #7940.
7616 2004-05-05  Tom Tromey  <tromey@redhat.com>
7618         * javax/naming/CompoundName.java (endsWith): Look at correct
7619         element of source name.
7621 2004-05-05  Mark Wielaard  <mark@klomp.org>
7623         Reported by f.haeglsperger@gmx.de [classpath patch #2485]
7624         * java/util/HashMap.java (rehash): Add entry at start of bucket.
7626 2004-05-05  Tom Tromey  <tromey@redhat.com>
7628         * java/io/BufferedReader.java (skip): Removed unused
7629         variable.
7631 2004-05-05  Michael Koch  <konqueror@gmx.de>
7633         * java/awt/FileDialog.java: Import java.io.Serializable explicitly.
7635 2004-05-05  Dalibor Topic  <robilad@kaffe.org>
7637         * java/text/AttributedString.java,
7638         java/text/AttributedStringIterator.java,
7639         java/text/Collator.java,
7640         java/text/DecimalFormatSymbols.java,
7641         java/text/NumberFormat.java,
7642         java/text/RuleBasedCollator.java:
7643         Cleaned up imports.
7645 2004-05-05  Tom Tromey  <tromey@redhat.com>
7647         * java/text/Format.java: Cleaned up imports.
7648         * java/text/DecimalFormat.java: Cleaned up imports.
7649         * java/security/SecureRandom.java: Cleaned up imports.
7650         (SecureRandom): Removed unused variable.
7651         * java/security/UnresolvedPermission.java: Cleaned up imports.
7652         * java/util/Date.java (parse): Removed unused variable.
7653         * java/util/ResourceBundle.java: Cleaned up imports.
7654         (getBundle): Removed unused variable.
7655         (tryBundle): Likewise.
7656         * java/util/regex/Pattern.java (Pattern): Removed unused constructor.
7658 2004-05-05  Guilhem Lavaux <guilhem@kaffe.org>
7660         * java/text/SimpleDateFormat.java:
7661         (formatWithAttribute): New method. It implements
7662         the formatting process with attributes.
7663         (format): Use formatWithAttribute.
7664         (formatToCharacterIterator): New method. Use
7665         formatWithAttribute.
7667 2004-05-05  Guilhem Lavaux <guilhem@kaffe.org>
7669         * java/text/MessageFormat.java:
7670         (class Field): New class.
7671         (formatToCharacterIterator): New method.
7672         (format): Use formatInternal now.
7673         (formatInternal): New method. String formatter should
7674         be done here (with attributes). Attributes merging supported.
7675         (parse): More documentation.
7676         (getFormatsByArgumentIndex): New method.
7677         (setFormatByArgumentIndex): New method.
7678         (setFormatsByArgumentIndex): New method.
7680 2004-05-05  Guilhem Lavaux <guilhem@kaffe.org>
7682         * java/text/DecimalFormat.java
7683         (MAXIMUM_INTEGER_DIGITS): New constant to keep the numeric value 309.
7684         (applyPatternWithSymbols): Use MAXIMUM_INTEGER_DIGITS.
7685         (parse): Fixed handling of exponentiation notation and grouping.
7687 2004-05-05  Guilhem Lavaux <guilhem@kaffe.org>
7689         * java/text/DecimalFormat.java
7690         (scanFix): Build attribute array. Fixed error reporting.
7691         (applyPatternWithSymbols): Store attributes for the prefix and
7692         suffix.
7693         (formatInternal): New method. Changed the way the string is
7694         computed. Implemented attributes. Cleant up rounding in
7695         exponential notation.
7696         (format): Use formatInternal.
7697         (formatToCharacterIterator): New method.
7698         (exponentRound, negativePrefixRanges, positivePrefixRanges,
7699         negativePrefixAttrs, positivePrefixAttrs, negativeSuffixRanges,
7700         positiveSuffixRanges, negativeSuffixAttrs, positiveSuffixAttrs):
7701         New fields.
7703 2004-05-04  Dalibor Topic  <robilad@kaffe.org>
7705         * java/security/interfaces/DSAKeyPairGenerator.java,
7706         java/security/interfaces/DSAPrivateKey.java,
7707         java/security/interfaces/DSAPublicKey.java,
7708         java/security/interfaces/RSAPrivateKey.java,
7709         java/security/interfaces/RSAPublicKey.java:
7710         Cleaned up imports.
7712 2004-05-04  Michael Koch  <konqueror@gmx.de>
7714         * java/nio/ByteBuffer.java,
7715         java/nio/CharBuffer.java,
7716         java/nio/DoubleBuffer.java,
7717         java/nio/FloatBuffer.java,
7718         java/nio/IntBuffer.java,
7719         java/nio/LongBuffer.java,
7720         java/nio/ShortBuffer.java:
7721         (compareTo): Fixed bogus implementation in all buffer classes.
7723 2004-05-04  Ingo Proetel  <proetel@aicas.com>
7725         * java/awt/image/ColorModel.java (getRGBdefault): Default ColorModel has
7726         32 bit pixels not 8 bit pixels.
7727         (isCompatibleRaster): Added javadoc comment.
7729 2004-05-04  Ingo Proetel  <proetel@aicas.com>
7731         * java/awt/image/ComponentSampleModel.java (setDataSamples):Do not reset
7732         scanline stride.
7734 2004-05-04  Ingo Proetel  <proetel@aicas.com>
7736         * java/awt/ColorPaintContext.java (<init>): Added ColorModel to signature.
7737         (getColorModel): Return the actual color model.
7738         (getRaster): Implemented.
7739         (ColorRaster): New inner class.
7740         * java/awt/SystemColor.java (createContext): Use ColorModel when creating
7741         a PaintContext.
7742         * java/awt/Color.java (<init>): Make exception more verbose.
7743         (createContext): Use ColorModel when creating a PaintContext.
7745 2004-05-04  Michael Koch  <konqueror@gmx.de>
7747         * gnu/java/text/CharacterBreakIterator.java
7748         (previous): Removed unused variable.
7750 2004-05-04  Guilhem Lavaux <guilhem@kaffe.org>
7752         * gnu/java/text/FormatBuffer.java,
7753         gnu/java/text/AttributedFormatBuffer.java,
7754         gnu/java/text/StringFormatBuffer.java: New classes to implement
7755         attributed iterators in java.text.
7756         * gnu/java/text/FormatCharacterIterator.java: Moved 
7757         from java/text as it is an internal class.
7758         * java/text/FormatCharacterIterator.java: Removed.
7759         * java/text/Format.java:
7760         Import gnu.java.text.FormatCharacterIterator.
7761         * Makefile.am (java_source_files): Added new files.
7762         * Makefile.in: Regenerated.
7763         
7765 2004-05-04  Mark Wielaard  <mark@klomp.org>
7767         * gnu/java/nio/channels/FileChannelImpl.java (finalize): New method.
7769 2004-05-03  Andreas Tobler  <a.tobler@schweiz.ch>
7771         * Makefile.am (WARNINGS): Replace -W with the more speaking -Wextra.
7772         * Makefile.in: Rebuilt.
7774 2004-05-03  Mark Wielaard  <mark@klomp.org>
7776         * gnu/java/security/der/DERReader.java: Call static methods staticly.
7777         * java/awt/TextComponent.java (select): Use selectionEnd parameter.
7778         * java/net/URL.java
7779         (set(String, String, int, String, String, String, String, String)):
7780         Assign this.file to path or path + "?" + query.
7781         * java/util/Arrays.java: Call static methods staticly.
7782         * java/util/zip/ZipEntry.java: Likewise.
7783         * javax/swing/plaf/basic/BasicArrowButton.java (setDirection): Assign
7784         dir to this.direction.
7785         * javax/swing/table/DefaultTableCellRenderer.java (noFocusBorder):
7786         Assign static field only once.
7787         (DefaultTableCellRenderer): Don't reassign noFocusBorder each time.
7789 2004-05-03  Mark Wielaard  <mark@klomp.org>
7791         * gnu/java/awt/peer/gtk/GtkTextAreaPeer.java (minimumSize): Removed
7792         unused variables hScrollbarHeight and vScrollbarWidth.
7793         (preferredSize): Likewise.
7794         * gnu/java/security/provider/DSAParameters.java (engineToString):
7795         Removed unused call to System.getProperty("line.seperator");
7796         * java/security/Security.java (loadProviders): Return result.
7798 2004-05-03  Tom Tromey  <tromey@redhat.com>
7800         * java/net/URLStreamHandler.java (toExternalForm): Removed
7801         unused variables.
7802         unused constructor.
7803         * java/math/BigDecimal.java (divide): Removed unused variable.
7804         * java/lang/Throwable.java: Cleaned up imports.
7805         * java/lang/ClassLoader.java: Cleaned up imports.
7806         * java/io/FilePermission.java (implies): Removed unused
7807         variable.
7808         * java/awt/TextComponent.java: Removed unused import.
7809         * gnu/java/util/prefs/NodeReader.java: Cleaned up imports.
7810         * gnu/java/util/DoubleEnumeration.java: Removed unused import.
7811         * gnu/java/text/WordBreakIterator.java: Removed unused import.
7812         * gnu/java/text/SentenceBreakIterator.java: Removed unused
7813         import.
7814         * gnu/java/text/LineBreakIterator.java: Removed unused import.
7815         * gnu/java/text/CharacterBreakIterator.java: Removed
7816         unused import.
7817         * gnu/java/security/provider/DSAKeyPairGenerator.java:
7818         Cleaned up imports.
7819         * gnu/java/security/der/DERWriter.java: Cleaned up imports.
7820         * gnu/java/nio/charset/UTF_16Decoder.java (put): Removed
7821         unused method.
7822         * gnu/java/nio/SocketChannelImpl.java: Cleaned up imports.
7823         * gnu/java/nio/FileLockImpl.java: Cleaned up imports.
7824         * gnu/java/io/Base64InputStream.java: Cleaned up imports.
7825         * gnu/java/beans/info/ComponentBeanInfo.java: Cleaned up imports.
7826         * gnu/classpath/ServiceFactory.java: Cleaned up imports.
7827         (lookupProviders): Removed unused variable.
7828         (loadNextServiceProvider): Likewise.
7829         * gnu/java/beans/BeanInfoEmbryo.java: Cleaned up imports.
7831 2004-05-03  Michael Koch  <konqueror@gmx.de>
7833         Fixes PR libgcj/14695:
7834         * java/net/NetworkInterface.java
7835         (getByName): Return null when no interface was found.
7837 2004-04-30  Ranjit Mathew  <rmathew@hotmail.com>
7838             Tom Tromey  <tromey@redhat.com>
7840         * testsuite/libjava.jni/jni.exp (gcj_jni_compile_c_to_so): Use
7841         additional option "-Wmissing-prototypes" for compiling C sources.
7842         Print actual filename for pass/fail rather than $name.c.
7843         * testsuite/libjava.jni/PR15133.java: New testcase file.
7844         * testsuite/libjava.jni/PR15133.c: Likewise.
7845         * testsuite/libjava.jni/PR15133.out: Likewise.
7847 2004-04-30  Roger Sayle  <roger@eyesopen.com>
7849         * testsuite/libjava.lang/MathBuiltin.java: Add tests for acos, asin,
7850         ceil and floor.
7852 2004-04-25  Ranjit Mathew  <rmathew@hotmail.com>
7853         
7854         * testsuite/libjava.jacks/jacks.exp (gcj_jacks_write): Explicitly
7855         limit the maximum heap size to avoid unnecessary thrashing.
7857 2004-04-24  Jerry Quinn  <jlquinn@optonline.net>
7859         * java/text/CollationElementIterator.java (reset): Reset
7860         lookahead variables.
7862 2004-04-23  Mark Wielaard  <mark@klomp.org>
7864         * jni/classpath/jcl.c: Changed C++ comments into C comments.
7866 2004-04-23 Dalibor Topic <robilad@kaffe.org>
7868         * java/sql/DriverManager.java:
7869         Cleaned up imports.
7871 2004-04-23  Michael Koch  <konqueror@gmx.de>
7873         * java/net/URL.java
7874         (hashcode): Don't initialize with default value explicitely.
7875         (getContent): Removed redundant "final" keyword.
7876         (openStream): Likewise.
7877         (getURLStreamHandler): Fixed coding style.
7878         * java/net/URLConnection.java
7879         (defaultAllowUserInteraction): Don't initialize with default value
7880         explicitely.
7881         (connected): Likewise.
7882         (doOutput): Likewise.
7883         (ifModifiedSince): Likewise.
7884         (dateformats_initialized): Likewise.
7885         (setURLStreamHander): Use StreamTokenizer where it belongs to.
7887 2004-04-23  Michael Koch  <konqueror@gmx.de>
7889         * gnu/java/nio/channels/FileChannelImpl.java
7890         (SET, CUR): Unused, removed.
7891         (read): Implement here directly.
7892         (implRead): Removed.
7893         (write): Implement here directly.
7894         (implWrite): Removed.
7896 2004-04-23  Dalibor Topic  <robilad@kaffe.org>
7898         * javax/rmi/CORBA/PortableRemoteObjectDelegate.java,
7899         javax/rmi/CORBA/Stub.java,
7900         javax/rmi/CORBA/Util.java,
7901         javax/rmi/CORBA/ValueHandler.java,
7902         javax/rmi/CORBA/ValueHandler.java,
7903         javax/rmi/PortableRemoteObject.java:
7904         Cleaned up imports.
7906 2004-04-23 Dalibor Topic <robilad@kaffe.org>
7908         * java/util/jar/JarFile.java,
7909         java/util/jar/JarInputStream.java,
7910         java/util/jar/JarOutputStream.java,
7911         java/util/jar/Manifest.java:
7912         Cleaned up imports.
7914 2004-04-23 Dalibor Topic <robilad@kaffe.org>
7916         * java/util/ArrayList.java,
7917         java/util/Calendar.java,
7918         java/util/Currency.java,
7919         java/util/HashMap.java,
7920         java/util/HashSet.java,
7921         java/util/Hashtable.java,
7922         java/util/LinkedList.java,
7923         java/util/Properties.java,
7924         java/util/PropertyPermission.java,
7925         java/util/TimeZone.java,
7926         java/util/TreeMap.java,
7927         java/util/TreeSet.java,
7928         java/util/Vector.java,
7929         java/util/WeakHashMap.java:
7930         Cleaned up imports.
7932 2004-04-23  Dalibor Topic  <robilad@kaffe.org>
7934         * java/util/logging/FileHandler.java,
7935         java/util/logging/Formatter.java,
7936         java/util/logging/Handler.java,
7937         java/util/logging/Logger.java,
7938         java/util/logging/SimpleFormatter.java,
7939         java/util/logging/XMLFormatter.java:
7940         Cleaned up imports.
7942 2004-04-22  Mark Wielaard  <mark@klomp.org>
7944         * Makefile.am (PEDANTIC_CFLAGS): New -ansi -pedantic -Wall
7945         -Wno-long-long flags variable.
7946         (gtk_c_files): Use PEDANTIC_CFLAGS.
7947         * Makefile.in: Regenerated.
7949 2004-04-22  Mark Wielaard  <mark@klomp.org>
7951         * native/jni/gtk-peer/gnu_java_awt_peer_gtk_GtkComponentPeer.c:
7952         Changed C++ comments into C comments.
7953         * native/jni/gtk-peer/gnu_java_awt_peer_gtk_GtkMenuPeer.c:
7954         Likewise.
7956 2004-04-22  Michael Koch  <konqueror@gmx.de>
7958         * jni/gtk-peer/gnu_java_awt_peer_gtk_GtkPopupMenuPeer.c:
7959         Merged copyright year with GNU classpath.
7961 2004-04-22  Dalibor Topic  <robilad@kaffe.org>
7963         * javax/security/auth/x500/X500Principal.java:
7964         Cleaned up imports.
7966 2004-04-22  Dalibor Topic  <robilad@kaffe.org>
7968         * javax/swing/JSlider.java:
7969         Fixed HTML tags in comments.
7971 2004-04-22  Dalibor Topic  <robilad@kaffe.org>
7973         * javax/accessibility/AccessibleText.java:
7974         Cleaned up imports.
7976 2004-04-22  Jeroen Frijters <jeroen@sumatra.nl>
7978         * java/net/URLStreamHandler.java
7979         (parseURL): Convert the file path to using '/' instead of native
7980         file separator.
7982 2004-04-22  Guilhem Lavaux <guilhem@kaffe.org>
7984         * java/net/URL.java
7985         (userInfo): New field.
7986         (URL): Set authority to the right value.
7987         (setURL): Fixed authority and file initialization.
7988         * java/net/URLStreamHandler.java
7989         (parseURL): Take care of the query tag. Build authority.
7990         (toExternalForm): Fixed URL building using authority.
7992 2004-04-22  Michael Koch  <konqueror@gmx.de>
7994         * java/net/Socket.java
7995         (impl): Made package-private.
7996         * java/net/ServerSocket.java
7997         (implAccept): Access Socket.impl field directly.
7999 2004-04-22  Dalibor Topic  <robilad@kaffe.org>
8001         * java/util/prefs/Preferences.java,
8002         java/util/prefs/InvalidPreferencesFormatException.java,
8003         java/util/prefs/BackingStoreException.java,
8004         java/util/prefs/AbstractPreferences.java:
8005         Cleaned up imports.
8007 2004-04-22  Dalibor Topic  <robilad@kaffe.org>
8009         * java/util/regex/Matcher.java,
8010         java/util/regex/Pattern.java:
8011         Cleaned up imports.
8013 2004-04-22  Michael Koch  <konqueror@gmx.de>
8015         * java/nio/charset/IllegalCharsetNameException.java
8016         (charsetName): Made private.
8017         (IllegalCharsetNameException): Added @param tag to javadoc.
8018         (getCharsetName): Added @return tag to javadoc.
8019         * java/nio/charset/MalformedInputException.java
8020         (MalformedInputException): Added @param tag to javadoc.
8021         (getInputLength): Revised method description, added @return tag.
8022         (getMessage): Added @return tag.
8024 2004-04-22  Jerry Quinn  <jlquinn@optonline.net>
8026         * java/awt/Font.java (deriveFont): Implement missing variants.
8027         * gnu/java/awt/peer/ClasspathFontPeer.java (deriveFont): Implement
8028         missing variants.
8030 2004-04-21  Bryce McKinlay  <mckinlay@redhat.com>
8032         * java/lang/natClass.cc (_Jv_LayoutInterfaceMethods): New method.
8033         Set method->index values for interface methods to their itable index.
8034         (initializeClass): Call _Jv_LayoutInterfaceMethods.
8036 2004-04-21  Michael Koch  <konqueror@gmx.de>
8038         * java/nio/DirectByteBufferImpl.java
8039         (shiftDown): Made static, give address as argument and
8040         provide a convenience method that overwrites shiftDown in
8041         ByteBufferImpl and calls the native shiftDown.
8042         * java/nio/MappedByteBufferImpl.java
8043         (): Use optimized method in DirectByteBufferImpl.
8044         * java/nio/natDirectByteBufferImpl.cc
8045         (shiftDown): Changed method signature. Removed usage of array_offset.
8047 2004-04-21  Michael Koch  <konqueror@gmx.de>
8049         * gnu/java/net/natPlainSocketImplPosix.cc
8050         (SocketInputStream::read): Make sure returned data is a byte value.
8052 2004-04-21  Michael Koch  <konqueror@gmx.de>
8054         * gnu/classpath/ServiceFactory.java,
8055         gnu/classpath/ServiceProviderLoadingAction.java,
8056         javax/imageio/ImageReader.java,
8057         javax/imageio/ImageTranscoder.java,
8058         javax/imageio/ImageWriter.java,
8059         javax/imageio/package.html,
8060         javax/imageio/spi/IIOServiceProvider.java,
8061         javax/imageio/spi/ImageInputStreamSpi.java,
8062         javax/imageio/spi/ImageOutputStreamSpi.java,
8063         javax/imageio/spi/ImageReaderWriterSpi.java,
8064         javax/imageio/spi/ImageTranscoderSpi.java,
8065         javax/imageio/spi/RegisterableService.java,
8066         javax/imageio/spi/ServiceRegistry.java,
8067         javax/imageio/spi/package.html,
8068         javax/imageio/stream/IIOByteBuffer.java,
8069         javax/imageio/stream/ImageInputStream.java,
8070         javax/imageio/stream/ImageOutputStream.java,
8071         javax/imageio/stream/package.html:
8072         New files.
8073         * Makefile.am
8074         (ordinary_java_source_files): Added
8075         gnu/classpath/ServiceFactory.java and
8076         gnu/classpath/ServiceProviderLoadingAction.java.
8077         (javax_source_files): Added
8078         javax/imageio/ImageReader.java,
8079         javax/imageio/ImageTranscoder.java,
8080         javax/imageio/ImageWriter.java,
8081         javax/imageio/spi/IIOServiceProvider.java,
8082         javax/imageio/spi/ImageInputStreamSpi.java,
8083         javax/imageio/spi/ImageOutputStreamSpi.java,
8084         javax/imageio/spi/ImageReaderWriterSpi.java,
8085         javax/imageio/spi/ImageTranscoderSpi.java,
8086         javax/imageio/spi/RegisterableService.java,
8087         javax/imageio/spi/ServiceRegistry.java,
8088         javax/imageio/stream/IIOByteBuffer.java,
8089         javax/imageio/stream/ImageInputStream.java and
8090         javax/imageio/stream/ImageOutputStream.java.
8091         * Makefile.in: Regenerated.
8093 2004-04-21  Michael Koch  <konqueror@gmx.de>
8095         * java/util/Properties.java
8096         (load): Fix wrongly merged fix.
8098 2004-04-21  Mark Wielaard  <mark@klomp.org>
8100         * native/jni/gtk-peer/gthread-jni.c (maybe_rethrow): Explicitly
8101         malloc and free buf.
8103 2004-04-21  Dalibor Topic  <robilad@kaffe.org>
8105         * javax/naming/AuthenticationException.java,
8106         javax/naming/AuthenticationNotSupportedException.java,
8107         javax/naming/CannotProceedException.java,
8108         javax/naming/CommunicationException.java,
8109         javax/naming/CompoundName.java,
8110         javax/naming/ConfigurationException.java,
8111         javax/naming/ContextNotEmptyException.java,
8112         javax/naming/InitialContext.java,
8113         javax/naming/InsufficientResourcesException.java,
8114         javax/naming/InterruptedNamingException.java,
8115         javax/naming/LimitExceededException.java,
8116         javax/naming/LinkException.java,
8117         javax/naming/LinkLoopException.java,
8118         javax/naming/LinkRef.java,
8119         javax/naming/MalformedLinkException.java,
8120         javax/naming/Name.java,
8121         javax/naming/NameAlreadyBoundException.java,
8122         javax/naming/NameNotFoundException.java,
8123         javax/naming/NamingSecurityException.java,
8124         javax/naming/NoInitialContextException.java,
8125         javax/naming/NoPermissionException.java,
8126         javax/naming/NotContextException.java,
8127         javax/naming/PartialResultException.java,
8128         javax/naming/ReferralException.java,
8129         javax/naming/ServiceUnavailableException.java,
8130         javax/naming/SizeLimitExceededException.java,
8131         javax/naming/TimeLimitExceededException.java,
8132         javax/naming/directory/Attribute.java,
8133         javax/naming/directory/Attributes.java,
8134         javax/naming/directory/SearchResult.java,
8135         javax/naming/event/NamingExceptionEvent.java,
8136         javax/naming/spi/ResolveResult.java:
8137         Cleaned up imports.
8139 2004-04-21  Mark Wielaard  <mark@klomp.org>
8141         * native/jni/gtk-peer/gnu_java_awt_peer_gtk_GtkCheckboxPeer.c:
8142         Changed C++ comments into C comments. Removed commented out code.
8143         * native/jni/gtk-peer/gnu_java_awt_peer_gtk_GtkComponentPeer.c:
8144         Likewise.
8145         * native/jni/gtk-peer/gnu_java_awt_peer_gtk_GtkEvents.c:
8146         Likewise.
8147         * native/jni/gtk-peer/gnu_java_awt_peer_gtk_GtkFileDialogPeer.c:
8148         Likewise.
8149         * native/jni/gtk-peer/gnu_java_awt_peer_gtk_GtkListPeer.c:
8150         Likewise.
8151         * native/jni/gtk-peer/gnu_java_awt_peer_gtk_GtkTextComponentPeer.c:
8152         Likewise.
8153         * native/jni/gtk-peer/gthread-jni.c:
8154         Likewise.
8156 2004-04-21  Mark Wielaard  <mark@klomp.org>
8158         * javax/awt/JFrame.java: Implement WindowConstants. Remove final
8159         static fields defined in interface.
8160         * javax/awt/JDialog.java: Likewise.
8161         (JDialog): Make constructors public.
8162         (getDefaultCloseOperation): Make public.
8163         (processWindowEvent): Call System.exit(0) when EXIT_ON_CLOSE set.
8164         (setDefaultCloseOperation): Make public. Check argument. Add API doc.
8165         * javax/swing/JViewport.java (JViewport): Make constructor public.
8167 2004-04-21  Michael Koch  <konqueror@gmx.de>
8169         * java/util/Map.java
8170         (Entry): Removed redundant "static" modifier.
8171         * java/text/AttributedCharacterIterator.java:
8172         Updated copyright year.
8174 2004-04-20  Michael Koch  <konqueror@gmx.de>
8176         * javax/naming/directory/SearchControls.java:
8177         Don't explicitely extend java.lang.Object.
8178         * javax/naming/spi/DirStateFactory.java:
8179         Merged copyright year with GNU classpath.
8181 2004-04-20  Michael Koch  <konqueror@gmx.de>
8183         * java/nio/channels/Channels.java:
8184         Merged coding style with GNU classpath.
8186 2004-04-20  Michael Koch  <konqueror@gmx.de>
8188         * java/net/ServerSocket.java
8189         Merged coding style from GNU classpath.
8191 2004-04-20  Michael Koch  <konqueror@gmx.de>
8193         * java/io/BufferedWriter.java:
8194         Reordered variables to be at top of the class.
8195         (localFlush): Removed redundant final keyword.
8197 2004-04-20  Ingo Proetel  <proetel@aicas.com>
8199         * java/awt/event/MouseEvent.java (<init>): fixed field assignment 
8201 2004-04-20  Jeroen Frijters  <jeroen@frijters.net>
8203         * java/text/DecimalFormat.java (scanFix): Removed suffix check
8204         for percent and permill check.
8206 2004-04-20  Guilhem Lavaux <guilhem@kaffe.org>
8208         * java/text/FieldPosition.java
8209         (FieldPosition) Constructor now behaves as it should according
8210         to the java documentation.
8212 2004-04-20  Mark Wielaard  <mark@klomp.org>
8214         * java/util/Properties.java: Use the word umlaut, not &auml; in api
8215         documentation.
8217 2004-04-20  Michael Koch  <konqueror@gmx.de>
8219         * java/nio/Buffer.java,
8220         java/nio/channels/AlreadyConnectedException.java,
8221         java/nio/channels/AsynchronousCloseException.java,
8222         java/nio/channels/ByteChannel.java,
8223         java/nio/channels/CancelledKeyException.java,
8224         java/nio/channels/Channel.java,
8225         java/nio/channels/Channels.java,
8226         java/nio/channels/ClosedByInterruptException.java,
8227         java/nio/channels/ClosedChannelException.java,
8228         java/nio/channels/ClosedSelectorException.java,
8229         java/nio/channels/ConnectionPendingException.java,
8230         java/nio/channels/DatagramChannel.java,
8231         java/nio/channels/FileChannel.java,
8232         java/nio/channels/FileLock.java,
8233         java/nio/channels/FileLockInterruptionException.java,
8234         java/nio/channels/GatheringByteChannel.java,
8235         java/nio/channels/IllegalBlockingModeException.java,
8236         java/nio/channels/IllegalSelectorException.java,
8237         java/nio/channels/InterruptibleChannel.java,
8238         java/nio/channels/NoConnectionPendingException.java,
8239         java/nio/channels/NonReadableChannelException.java,
8240         java/nio/channels/NonWritableChannelException.java,
8241         java/nio/channels/NotYetBoundException.java,
8242         java/nio/channels/NotYetConnectedException.java,
8243         java/nio/channels/OverlappingFileLockException.java,
8244         java/nio/channels/Pipe.java,
8245         java/nio/channels/ReadableByteChannel.java,
8246         java/nio/channels/ScatteringByteChannel.java,
8247         java/nio/channels/SelectableChannel.java,
8248         java/nio/channels/SelectionKey.java,
8249         java/nio/channels/Selector.java,
8250         java/nio/channels/ServerSocketChannel.java,
8251         java/nio/channels/SocketChannel.java,
8252         java/nio/channels/UnresolvedAddressException.java,
8253         java/nio/channels/UnsupportedAddressTypeException.java,
8254         java/nio/channels/WritableByteChannel.java,
8255         java/nio/channels/spi/AbstractInterruptibleChannel.java,
8256         java/nio/channels/spi/AbstractSelectableChannel.java,
8257         java/nio/channels/spi/AbstractSelectionKey.java,
8258         java/nio/channels/spi/AbstractSelector.java,
8259         java/nio/channels/spi/SelectorProvider.java,
8260         java/nio/charset/spi/CharsetProvider.java:
8261         Fixed javadocs and jalopied all over java.nio.
8263 2004-04-20  Michael Koch  <konqueror@gmx.de>
8265         * java/nio/ByteBufferImpl.java,
8266         java/nio/CharBufferImpl.java,
8267         java/nio/DirectByteBufferImpl.java,
8268         java/nio/DoubleBufferImpl.java,
8269         java/nio/DoubleViewBufferImpl.java,
8270         java/nio/FloatBufferImpl.java,
8271         java/nio/FloatViewBufferImpl.java,
8272         java/nio/IntBufferImpl.java,
8273         java/nio/IntViewBufferImpl.java,
8274         java/nio/LongBufferImpl.java,
8275         java/nio/LongViewBufferImpl.java,
8276         java/nio/MappedByteBufferImpl.java,
8277         java/nio/ShortBufferImpl.java,
8278         java/nio/ShortViewBufferImpl.java:
8279         Made sure all classes are final and removed final keyword from all
8280         methods.
8282 2004-04-20  Michael Koch  <konqueror@gmx.de>
8284         * java/rmi/MarshalledObject.java,
8285         java/rmi/Naming.java,
8286         java/rmi/RemoteException.java,
8287         java/rmi/activation/ActivationException.java,
8288         java/rmi/server/ServerCloneException.java,
8289         java/security/AccessController.java,
8290         java/security/AlgorithmParameterGenerator.java,
8291         java/security/AlgorithmParameters.java,
8292         java/security/CodeSource.java,
8293         java/security/Identity.java,
8294         java/security/IdentityScope.java,
8295         java/security/KeyPairGenerator.java,
8296         java/security/KeyStore.java,
8297         java/security/Security.java,
8298         java/security/Signature.java,
8299         java/security/SignatureSpi.java,
8300         java/security/SignedObject.java,
8301         java/security/spec/DSAParameterSpec.java,
8302         java/security/spec/DSAPrivateKeySpec.java,
8303         java/security/spec/DSAPublicKeySpec.java,
8304         java/sql/Array.java,
8305         java/sql/DatabaseMetaData.java,
8306         java/sql/ResultSet.java,
8307         java/text/ChoiceFormat.java,
8308         java/text/CollationElementIterator.java,
8309         java/text/CollationKey.java,
8310         java/text/Collator.java,
8311         java/text/DateFormat.java,
8312         java/text/DateFormatSymbols.java,
8313         java/text/DecimalFormatSymbols.java,
8314         java/text/Format.java,
8315         java/text/ParsePosition.java,
8316         java/text/RuleBasedCollator.java,
8317         java/text/SimpleDateFormat.java,
8318         java/text/StringCharacterIterator.java,
8319         java/util/Collections.java,
8320         java/util/PropertyResourceBundle.java,
8321         java/util/ResourceBundle.java,
8322         java/util/StringTokenizer.java,
8323         java/util/jar/Attributes.java,
8324         java/util/logging/ConsoleHandler.java,
8325         java/util/logging/LogManager.java,
8326         java/util/logging/MemoryHandler.java,
8327         java/util/logging/SocketHandler.java,
8328         javax/naming/NamingException.java:
8329         Fixed javadoc, coding style and argument names all over.
8331 2004-04-20  Jeroen Frijters  <jeroen@frijters.net>
8333         * java/io/FileDescriptor.java: (FileDescriptor) Added public
8334         constructor. (valid) Added null check.
8336 2004-04-20  Guilhem Lavaux <guilhem@kaffe.org>
8338         Reported by Nektarios Papadopoulos <npapadop@inaccessnetworks.com>
8339         * java/io/FileOutputStream.java
8340         (FileOutputStream) Reorganized constructors. Constructors now
8341         check whether the given path is directory.
8343 2004-04-20  Michael Koch  <konqueror@gmx.de>
8345         * java/net/Authenticator.java,
8346         java/net/BindException.java,
8347         java/net/ConnectException.java,
8348         java/net/ContentHandler.java,
8349         java/net/ContentHandlerFactory.java,
8350         java/net/DatagramPacket.java,
8351         java/net/DatagramSocket.java,
8352         java/net/DatagramSocketImpl.java,
8353         java/net/DatagramSocketImplFactory.java,
8354         java/net/FileNameMap.java,
8355         java/net/HttpURLConnection.java,
8356         java/net/Inet4Address.java,
8357         java/net/Inet6Address.java,
8358         java/net/InetAddress.java,
8359         java/net/InetSocketAddress.java,
8360         java/net/JarURLConnection.java,
8361         java/net/MalformedURLException.java,
8362         java/net/MulticastSocket.java,
8363         java/net/NetPermission.java,
8364         java/net/NetworkInterface.java,
8365         java/net/NoRouteToHostException.java,
8366         java/net/PasswordAuthentication.java,
8367         java/net/PortUnreachableException.java,
8368         java/net/ProtocolException.java,
8369         java/net/ServerSocket.java,
8370         java/net/Socket.java,
8371         java/net/SocketAddress.java,
8372         java/net/SocketException.java,
8373         java/net/SocketImpl.java,
8374         java/net/SocketImplFactory.java,
8375         java/net/SocketOptions.java,
8376         java/net/SocketPermission.java,
8377         java/net/SocketTimeoutException.java,
8378         java/net/URI.java,
8379         java/net/URISyntaxException.java,
8380         java/net/URL.java,
8381         java/net/URLClassLoader.java,
8382         java/net/URLConnection.java,
8383         java/net/URLDecoder.java,
8384         java/net/URLEncoder.java,
8385         java/net/URLStreamHandler.java,
8386         java/net/URLStreamHandlerFactory.java,
8387         java/net/UnknownHostException.java,
8388         java/net/UnknownServiceException.java:
8389         Fixed javadocs, coding style and argument names all over.
8391 2004-04-20  Michael Koch  <konqueror@gmx.de>
8393         * java/lang/Byte.java,
8394         java/lang/CharSequence.java,
8395         java/lang/ClassLoader.java,
8396         java/lang/Compiler.java,
8397         java/lang/Double.java,
8398         java/lang/Float.java,
8399         java/lang/Integer.java,
8400         java/lang/Long.java,
8401         java/lang/Math.java,
8402         java/lang/Number.java,
8403         java/lang/Package.java,
8404         java/lang/Runtime.java,
8405         java/lang/RuntimePermission.java,
8406         java/lang/SecurityManager.java,
8407         java/lang/Short.java,
8408         java/lang/StringBuffer.java,
8409         java/lang/System.java,
8410         java/lang/ThreadGroup.java,
8411         java/lang/Throwable.java,
8412         java/lang/reflect/InvocationHandler.java,
8413         java/lang/reflect/Proxy.java:
8414         Fixed javadocs, coding style and argument names all over.
8416 2004-04-20  Michael Koch  <konqueror@gmx.de>
8418         * java/io/BufferedWriter.java,
8419         java/io/ByteArrayInputStream.java,
8420         java/io/CharArrayWriter.java,
8421         java/io/DataInput.java,
8422         java/io/DataInputStream.java,
8423         java/io/File.java,
8424         java/io/FilterInputStream.java,
8425         java/io/InputStream.java,
8426         java/io/InputStreamReader.java,
8427         java/io/ObjectInputStream.java,
8428         java/io/ObjectStreamClass.java,
8429         java/io/PipedInputStream.java,
8430         java/io/PipedReader.java,
8431         java/io/PushbackInputStream.java,
8432         java/io/PushbackReader.java,
8433         java/io/RandomAccessFile.java,
8434         java/io/SerializablePermission.java,
8435         java/io/StreamTokenizer.java,
8436         java/io/StringWriter.java,
8437         java/io/WriteAbortedException.java,
8438         java/io/Writer.java:
8439         Fixed javadocs all over, rename arguments to match javadocs,
8440         fixed coding style.
8442 2004-04-20  Ingo Proetel  <proetel@aicas.com>
8444         * java/awt/FontMetrics.java:
8445         (charsWidth): fixed accumulation of total_width
8446         (getWidth): simple default implementation
8447         * java/awt/Polygon.java (getBoundingBox): Use correct y-coordinate
8448         in Rectangle constructor.
8449         * java/awt/image/Raster.java (toString): Added method. 
8450         * java/awt/image/SampleModel.java (<init>): Added error cause
8451         information to thrown exception.
8452         * java/awt/image/SinglePixelPackedSampleModel.java (getDataElements):
8453         New method.
8454         (setDataElements): New method.
8455         (setPixels): New method.
8456         (toString): New method.
8458 2004-04-20  Sascha Brawer  <brawer@dandelis.ch>
8460         * java/awt/image/ComponentColorModel.java
8461         (createCompatibleSampleModel): Return PixelInterleavedSampleModel
8462         for TYPE_BYTE and TYPE_USHORT transferTypes, in order to pass the
8463         Mauve tests on this method. Improved documentation.
8465 2004-04-20  Michael Koch  <konqueror@gmx.de>
8467         * javax/swing/JLayeredPane.java,
8468         javax/swing/plaf/BorderUIResource.java,
8469         javax/swing/plaf/ComponentUI.java,
8470         javax/swing/undo/CompoundEdit.java,
8471         javax/swing/undo/StateEdit.java:
8472         Fixed HTML tags in javadocs all over.
8474 2004-04-20  Michael Koch  <konqueror@gmx.de>
8476         * javax/print/attribute/EnumSyntax.java
8477         (getOffset): Made protected.
8478         * javax/print/attribute/HashAttributeSet.java
8479         (HashAttributeSet): Likewise.
8480         * javax/print/attribute/ResolutionSyntax.java
8481         (getFeedResolution): Fixed typo in exception name.
8482         (getCrossFeedResolution): Likewise.
8483         * javax/print/attribute/SetOfIntegerSyntax.java
8484         (SetOfIntegerSyntax): Fixed HTML entities in javadoc.
8485         * javax/print/attribute/TextSyntax.java
8486         (TextSyntax): Handle locale correctly.
8487         (hashCode): Calc better hashcode value.
8488         (equals): Fixed @return tag.
8489         (toString): New method.
8491 2004-04-20  Michael Koch  <konqueror@gmx.de>
8493         * gnu/java/nio/FileLockImpl.java
8494         (static): Removed, not needed anymore.
8495         * gnu/java/nio/channels/FileChannelImpl.java
8496         (FileChannelImpl): Made final.
8497         (mode): Made private.
8498         (READ, WRITE, APPEND): Made public.
8499         (EXCL, SYNC, DSYNC): Likewise.
8500         (static): Load native JNI library, when needed.
8501         (length): Unused, removed.
8502         (available): Made public.
8503         (implPosition): Throws IOException.
8504         (seek): Likewise.
8505         (implTruncate): Likewise.
8506         (unlock): Likewise.
8507         (lock): Likewise.
8509 2004-04-20  Michael Koch  <konqueror@gmx.de>
8511         * java/awt/AWTPermission.java,
8512         java/awt/Component.java,
8513         java/awt/ComponentOrientation.java,,
8514         java/awt/Dialog.java,
8515         java/awt/FontMetrics.java,
8516         java/awt/Graphics.java,
8517         java/awt/datatransfer/DataFlavor.java,
8518         java/beans/Introspector.java,
8519         java/beans/PropertyEditor.java,
8520         java/beans/PropertyEditorManager.java,
8521         java/beans/beancontext/BeanContextServiceProvider.java:
8522         Fixed HTML tags in javadocs all over.
8524 2004-04-20  Mark Wielaard  <mark@klomp.org>
8526         * gnu/java/awt/peer/gtk/GtkFontPeer.java: Use fallback when
8527         MissingResourceException is thrown.
8528         * gnu/java/awt/peer/gtk/GtkToolkit.java (getFontPeer): Don't return
8529         null when a MissingResourceException is thrown. Should never happen.
8531 2004-04-20  Sascha Brawer  <brawer@dandelis.ch>
8533         * java/awt/image/DataBufferShort.java,
8534         java/awt/image/DataBufferFloat.java,
8535         java/awt/image/DataBufferDouble.java,
8536         java/awt/image/PixelInterleavedSampleModel.java: New files.
8537         * gnu/java/awt/Buffers.java (createBuffer, createBufferFromData,
8538         getData): Added support for TYPE_SHORT, TYPE_FLOAT and TYPE_DOUBLE.
8540 2004-04-20  Michael Koch  <konqueror@gmx.de>
8542         * Makefile.am (java_source_files): Added
8543         java/awt/image/DataBufferDouble.java,
8544         java/awt/image/DataBufferFloat.java,
8545         java/awt/image/DataBufferShort.java and
8546         java/awt/image/PixelInterleavedSampleModel.java.
8547         * Makefile.in: Regenerated.
8549 2004-04-19  Bryce McKinlay  <mckinlay@redhat.com>
8551         * gcj/cni.h (JvAllocObject): Remove these obsolete, 
8552         undocumented CNI calls.
8553         * include/java-interp.h (_Jv_InterpClass): No longer
8554         extends java.lang.Class.
8555         * java/lang/Class.h (Class): Add new field `aux_info'.
8556         * boehm.cc (_Jv_MarkObj): Update java.lang.Class marking.
8557         * defineclass.cc: Remove Class<->_Jv_InterpClass casts.
8558         Use Class->aux_info instead.
8559         * jni.cc (_Jv_JNI_AllocObject): Use _Jv_AllocObject.
8560         * resolve.cc: Remove Class<->_Jv_InterpClass casts.
8561         Use Class->aux_info instead.
8562         * java/io/natObjectInputStream.cc (allocateObject): Use
8563         _Jv_AllocObject.
8564         * java/lang/natClass.cc (newInstance): Likewise.
8565         * java/lang/natClassLoader.cc (_Jv_NewClass): Likewise.
8566         * java/lang/natObject.cc (clone): Likewise.
8567         * java/lang/reflect/natMethod.cc (_Jv_CallAnyMethodA): Likewise.
8568         * java/lang/natVMClassLoader.cc (defineClass): Don't use
8569         JvAllocObject. Allocate klass->aux_info here for interpreted
8570         class.
8571         
8572 2004-04-17  Mark Wielaard  <mark@klomp.org>
8574         * javax/swing/JToggleButton.java (ToggleButtonModel):
8575         Make public static inner class.
8576         * javax/swing/JTabbedPane.java (setComponentAt):
8577         Call Page.setComponent().
8578         (SCROLL_TAB_LAYOUT): Make public, value is 1.
8579         (WRAP_TAB_LAYOUT): Make public, value is 0.
8580         * javax/swing/plaf/basic/BasicTabbedPaneUI.java (ScrollingButton):
8581         Make private static inner class.
8583 2004-04-16  Bryce McKinlay  <mckinlay@redhat.com>
8585         * interpret.cc (_Jv_InterpMethod::run): Update _Jv_AllocObject
8586         arguments to match new signature. Remove FIXME comments.
8588 2004-04-09  Thomas Fitzsimmons  <fitzsim@redhat.com>
8590         * gnu/java/awt/peer/gtk/GtkPanelPeer.java (connectSignals):
8591         Remove method.
8592         * jni/gtk-peer/gnu_java_awt_peer_gtk_GtkPanelPeer.c: Remove
8593         unused code.
8595 2004-04-02  Olga Rodimina  <rodimina@redhat.com>
8597         * Makefile.am: Added new file.
8598         * Makefile.in: Regenerate.
8599         * javax/swing/ImageIcon.java: 
8600         (ImageIcon(file)): set description of the icon 
8601         to the file name
8602         * javax/swing/JCheckBoxMenuItem.java:
8603         Mostly Implemented. Work in progress.
8604         * javax/swing/JRadioButtonMenuItem.java:
8605         Reimplement constructors to use JToggleButtonModel.
8606         * javax/swing/plaf/basic/BasicIconFactory.java:
8607         (getCheckBoxMenuItemIcon): return check box
8608         icon.
8609         * javax/swing/plaf/basic/BasicMenuItemUI.java:
8610         paint menu item selected only when it is armed and 
8611         pressed. 
8613 2004-04-02  David Jee  <djee@redhat.com>
8615         * gnu/java/awt/peer/gtk/GtkMenuItemPeer.java
8616         (GtkMenuItemPeer): Only connect signals if this isn't a Menu peer.
8617         * java/awt/Component.java
8618         (add): Set the parent of the popup as this component.
8619         * java/awt/PopupMenu.java
8620         (addNotify): Create popup menu when peer is null.
8621         (show): Call addNotify() if peer is null.
8622         * jni/gtk-peer/gnu_java_awt_peer_gtk_GtkPopupMenuPeer.c
8623         (Java_gnu_java_awt_peer_gtk_GtkPopupMenuPeer_show): Set the button
8624         argument for gtk_menu_popup() as zero. This causes the popup menu to
8625         respond to any mouse button.
8627 2004-03-31  Olga Rodimina  <rodimina@redhat.com>
8629         * Makefile.am: Added new file.
8630         * Makefile.in: Regenerate.
8631         * javax/swing/JRadioButtonMenuItem.java:
8632         Implemented.
8633         * javax/swing/plaf/basic/BasicIconFactory.java:
8634         (getRadioButtonMenuItemIcon): Return
8635         radio button icon.
8636         * javax/swing/plaf/basic/BasicMenuItemUI.java:
8637         (getPreferredSize): Add size of checkIcon if it
8638         exists.
8639         (installDefaults): Don't initialize checkIcon.
8640         It's value will be set in subclasses. 
8641         (uninstallDefaults): remove uninstallation of 
8642         checkIcon.
8643         (paint): Moved code to paintMenuItem().
8644         (paintMenuItem): Implemented.
8645         * javax/swing/plaf/basic/BasicRadioButtonMenuItemUI.java:
8646         UI delegate for JRadioButtonMenuItem.
8647         
8648 2004-03-29  Olga Rodimina  <rodimina@redhat.com>
8650         * javax/swing/plaf/basic/BasicMenuItemUI.java:
8651         Corrected position of the accelerator.
8653 2004-03-29  Olga Rodimina  <rodimina@redhat.com>
8655         * Makefile.am: Added new file. 
8656         * Makefile.in: Regenerate.
8657         * javax/swing/JMenuItem.java: Partly 
8658         implemented. Work in progress
8659         * javax/swing/plaf/basic/BasicLookAndFeel.java:
8660         Changed default value of acceleratorDelimiter.
8661         * javax/swing/plaf/basic/BasicMenuItemUI.java:
8662         New class. Partly implemented.
8663                 
8664 2004-03-26  Mark Wielaard  <mark@klomp.org>
8666         * native/jni/gtk-peer/gnu_java_awt_peer_gtk_GtkChoicePeer.c
8667         (item_activate): Declare label before use.
8668         * native/jni/gtk-peer/gnu_java_awt_peer_gtk_GtkComponentPeer.c
8669         (gtkSetFont): Removed unused variable label.
8670         (addExposeFilter): Declare variables before use.
8671         (removeExposeFilter): Likewise.
8672         * native/jni/gtk-peer/gnu_java_awt_peer_gtk_GtkFileDialogPeer.c
8673         (ok_clicked): Declare str_fileName before use.
8675 2004-03-26  David Jee  <djee@redhat.com>
8677         * gnu/java/awt/peer/gtk/GtkMenuPeer.java
8678         (addSeparator): Remove.
8679         * java/awt/Menu.java
8680         (separator): Remove static final MenuItem field.
8681         (separatorLabel): New static final String field.
8682         (addSeparator): Do not use peer method; use add(MenuItem) instead.
8683         Use separatorLabel to denote that it is a separator.
8684         (insertSeparator): Create a new MenuItem with separatorLabel, instead
8685         of reusing the static separator instance, because a MenuItem instance
8686         can't be added more than once without being cloned.
8687         * java/awt/peer/MenuPeer.java
8688         (addSeparator): Remove from interface.
8690 2004-03-26  David Jee  <djee@redhat.com>
8692         * gnu/java/awt/peer/gtk/GtkMenuItemPeer.java
8693         (connectSignals): New native method declaration.
8694         (GtkMenuItemPeer): Connect signals if the parent is a Menu.
8695         * java/awt/MenuItem.java
8696         (getActionCommand): Return the label if the action command is not set.
8697         * jni/gtk-peer/gnu_java_awt_peer_gtk_GtkMenuBarPeer.c
8698         (Java_gnu_java_awt_peer_gtk_GtkMenuBarPeer_addMenu): Use
8699         gtk_menu_shell_append().
8700         * jni/gtk-peer/gnu_java_awt_peer_gtk_GtkMenuItemPeer.c
8701         (item_activate): Fix argument type.
8702         (Java_gnu_java_awt_peer_gtk_GtkMenuItemPeer_create): Do not connect
8703         signal here.
8704         (Java_gnu_java_awt_peer_gtk_GtkMenuItemPeer_connectSignals): New
8705         method.
8706         * jni/gtk-peer/gnu_java_awt_peer_gtk_GtkMenuPeer.c
8707         (Java_gnu_java_awt_peer_gtk_GtkMenuPeer_create): Check if a label is
8708         given. Add the menu widget's top-level GtkWindow to the global window
8709         group, so it can grab the pointer.
8710         (Java_gnu_java_awt_peer_gtk_GtkMenuPeer_addItem): Use
8711         gtk_menu_shell_append().
8713 2004-03-23  Graydon Hoare  <graydon@redhat.com>
8715         * java/text/AttributedString.java 
8716         (addAttribute): Fix off-by-one.
8717         (getIterator): Likewise.        
8718         * java/text/AttributedStringIterator.java 
8719         (getRunLimit): Correct logic.
8720         (getRunStart): Likewise.
8721         (getAttribute): Fix inequality.
8722         (getAttributes): Likewise.
8723         * testsuite/libjava.mauve/xfails: Remove AttributedString xfail.
8725 2004-03-23  Kim Ho  <kho@redhat.com>
8727         * javax/swing/plaf/basic/BasicTabbedPaneUI.java:
8728         (calculateSizes): Return real width and height.
8730 2004-03-23  Kim Ho  <kho@redhat.com>
8732         * javax/swing/plaf/basic/BasicTabbedPaneUI.java
8733         (calculateTabRects): Set the selectedRun before
8734         trying to rotate tabs.
8736 2004-03-23  Kim Ho  <kho@redhat.com>
8738         * Makefile.am: New file
8739         * Makefile.in: Regenerate
8740         * java/awt/Graphics.java: (drawRect):
8741         Draw to the correct point.
8742         * javax/swing/DefaultSingleSelectionModel.java
8743         (isSelected): Return true if the selected index
8744         is not -1.
8745         * javax/swing/JLabel.java: Do not change mnemonic
8746         index if text is null.
8747         * javax/swing/JProgressBar.java: Use JComponent's
8748         EventListenerList.
8749         * javax/swing/JScrollBar.java: Ditto.
8750         * javax/swing/JSlider.java: Ditto.
8751         * javax/swing/JTabbedPane.java: Reimplement.
8752         * javax/swing/plaf/basic/BasicLookAndFeel.java:
8753         Add defaults for TabbedPane.
8754         * javax/swing/plaf/basic/BasicArrowButton.java:
8755         Implement
8756         * javax/swing/plaf/basic/BasicProgressBarUI.java:
8757         (paintDeterminate): Don't paint String if it's
8758         empty.
8759         (paintIndeterminate): ditto.
8760         * javax/swing/plaf/basic/BasicTabbedPaneUI.java:
8761         Reimplement.
8763 2004-03-19  Michael Koch  <konqueror@gmx.de>
8765         * java/awt/image/AffineTransformOp.java
8766         (AffineTransformOp): Made public.
8767         * javax/swing/JComponent.java
8768         (listenerList): Made protected.
8769         (accessibleContext): Likewise.
8770         * javax/swing/JList.java
8771         (valueChanged): Dont use internal fields of ListSelectionEvent.
8772         * javax/swing/JViewport.java
8773         (getView): Dont use internal fields of Component.
8774         (addImpl): Likewise.
8775         * javax/swing/Timer.java
8776         (isRunning): Made public.
8777         (start): Likewise.
8778         (stop): Likewise.
8779         * javax/swing/UIDefaults.java
8780         (getInt): Made public.
8781         * javax/swing/plaf/basic/BasicListUI.java
8782         (mousePressed): Dont use internal fields of MouseEvent.
8783         (propertyChanged): Dont use internal fields of PropertyChangeEvent.
8784         * javax/swing/plaf/basic/BasicScrollBarUI.java
8785         (arrowIcon): Made static.
8786         * javax/swing/plaf/basic/BasicViewportUI.java
8787         (stateChanged): Dont use internal field on ChangeEvent.
8788         * javax/swing/text/JTextComponent.java
8789         (getUI): Call UIManager.getUI().
8790         (updateUI): Use getUI().
8792 2004-03-19  Graydon Hoare  <graydon@redhat.com>
8794         * javax/swing/JComponent.java: Turn off double buffer by default.
8795         * javax/swing/plaf/basic/BasicViewportUI.java: Clear rects before painting.
8796         * jni/gtk-peer/gnu_java_awt_peer_gtk_GdkGraphics2D.c
8797         (Java_gnu_java_awt_peer_gtk_GdkGraphics2D_gdkDrawDrawable): 
8798         Use cairo to copy areas.
8799         (Java_gnu_java_awt_peer_gtk_GdkGraphics2D_cairoClip):
8800         Initialize and set clip region.
8802 2004-03-15  Thomas Fitzsimmons  <fitzsim@redhat.com>
8804         * java/applet/Applet.java (preferredSize): Override deprecated
8805         variant of getPreferredSize.
8806         (minimumSize): Override deprecated variant of getMinimumSize.
8808 2004-03-15  Olga Rodimina  <rodimina@redhat.com>
8810         * gnu/java/awt/peer/gtk/GdkGraphics2D.java
8811         (drawImage(img,xform,bgcolor,obs)): New Method.
8812         Helper function that every drawImage method will
8813         use.
8814         (drawRaster): Added new parameter, bgcolor. All
8815         transparent pixels are changed to bgcolor before 
8816         image is drawn.
8817         (drawRenderedImage): Fixed to use changed drawRaster().
8818         (drawImage(image,xform,obs): Fixed to use new helper function 
8819         (drawImage(image,op,x,y)): Ditto.
8820         (drawImage (img,x,y,observer)): Ditto.
8821         ((PainterThread) bgcolor): New Field.
8822         ((PainterThread) (setPixels)): Changed all transparent pixels 
8823         to bgcolor.     
8824         (drawImage(img,x,y,width,height,bgcolor,observer)): 
8825         Fixed FIXME - all the transparent pixels are 
8826         changed to the specified bgcolor. 
8827         (drawImage(img, x, y, width, height, observer): Changed to 
8828         use function above.
8829         (drawImage (img,dx1,dy1,dx2,dy2,sx1,sy1,sx2,sy2,bgcolor,observer)): 
8830         Fixed FIXME- changed all transparent pixels to bgcolor.
8831         (drawImage (img, dx1, dy1, dx2, dy2, sx1, sy1, sx2, sy2, observer)):
8832         Changed to use function above. 
8834 2004-03-14  Thomas Fitzsimmons  <fitzsim@redhat.com>
8836         * java/applet/Applet.java (dimensions): New field.
8837         (getDimensions): New method.
8838         (getPreferredSize): Call getDimensions.
8839         (getMinimumSize): Likewise.
8841 2004-03-13  Thomas Fitzsimmons  <fitzsim@redhat.com>
8843         * jni/classpath/jcl.c: Include stdlib.h, not malloc.h.
8844         * jni/classpath/jnilink.c: Likewise.
8846         * java/applet/Applet.java (getPreferredSize): New method.
8847         (getMinimumSize): New method.
8849 2004-04-15  Bryce McKinlay  <mckinlay@redhat.com>
8851         * prims.cc (_Jv_AllocObject): Remove `size' argument.
8852         (_Jv_AllocObjectNoFinalizer): Likewise.
8853         (_Jv_AllocObjectNoInitNoFinalizer): Likewise.
8854         (_Jv_AllocPtrFreeObject): Likewise.
8855         (_Jv_AllocString): Moved from natString.cc. Call collector interface
8856         directly even in the JVMPI case.        
8857         * gcj/cni.h (JvAllocObject): Remove `size' argument from 
8858         _Jv_AllocObject calls.
8859         * gcj/javaprims.h: Update prototypes.
8860         * gnu/gcj/natCore.cc (_Jv_create_core): Use `new', not _Jv_AllocObject.
8861         * java/lang/Class.h: Update _Jv_AllocObject friend prototype.
8862         * java/lang/natString.cc (_Jv_AllocString): Move to prims.cc.
8864 2004-04-14  Andrew Haley  <aph@redhat.com>
8865             Bryce McKinlay  <mckinlay@redhat.com>
8867         * java/lang/reflect/natMethod.cc (_Jv_CallAnyMethodA): Use
8868         _Jv_LookupInterfaceMethodIdx for calls to interfaces.
8869         * include/jvm.h (_Jv_CallAnyMethodA): Add new `iface' arg.
8871         * testsuite/libjava.lang/InvokeInterface.java: New file.
8872         * testsuite/libjava.lang/InvokeInterface.out: New file.
8874 2004-04-09  Ranjit Mathew  <rmathew@hotmail.com>
8875         
8876         * java/lang/VMThrowable.java (getStackTrace): Pass trace as-is to
8877         modified lookup().
8878         * gnu/gcj/runtime/NameFinder.java (lookup): Change to take in a
8879         StackTraceElement directly.
8880         (newElement): New native helper method to create StackTraceElement
8881         bypassing Java access control.
8882         (createStackTraceElement): Use newElement() instead of directly
8883         calling StackTraceElement's constructor.
8884         * gnu/gcj/runtime/natNameFinder.cc (newElement): New method.
8886 2004-04-01  Michael Koch  <konqueror@gmx.de>
8888         * java/lang/SecurityManager.java
8889         (checkAwtEventQueueAccess): Implemented.
8891 2004-04-01  Gary Benson  <gbenson@redhat.com>
8893         * resolve.cc (_Jv_ResolvePoolEntry): Put field name in exception.
8894         (_Jv_SearchMethodInClass): Likewise.
8896 2004-03-26  Peter Moon  <peterm@miraculum.com>
8898         * java/text/NumberFormat.java: Fix spelling of setCurrency
8899         method.
8901 2004-03-21  Anthony Green  <green@redhat.com>
8903         * java/lang/natClass.cc (getClassLoader): Circumvent infinite
8904         recursion when searching for the system ClassLoader.
8906 2004-03-21  Ito Kazumitsu <kaz@maczuka.gcd.org>
8908         * java/net/ServerSocket.java
8909         (accept): Close the socket when error occured.
8911 2004-03-21  Jeroen Frijters  <jeroen@frijters.net>
8913         * java/net/URI.java (parseURI): Added unquoting.
8914         (unquote): New method.
8915         (quoteAuthority): Implemented.
8916         (quote(String,String)): New method.
8917         (quotePath): Implemented.
8918         (getRawSchemeSpecificPart): Return new rawSchemeSpecificPart field.
8919         (getSchemeSpecificPart): Removed FIXME comment.
8920         (getRawAuthority): Return new rawAuthority field.
8921         (getAuthority): Removed FIXME comment.
8922         (getRawUserInfo): Return new rawUserInfo field.
8923         (getUserInfo): Removed FIXME comment.
8924         (getRawPath): Return new rawPath field.
8925         (getPath): Removed FIXME comment.
8926         (getRawQuery): Return new rawQuery field.
8927         (getQuery): Removed FIXME comment.
8928         (getRawFragment): Return new rawFragment field.
8929         (getFragment): Removed FIXME comment.
8931 2004-03-20  Michael Koch  <konqueror@gmx.de>
8933         * java/net/URLConnection.java: Merged copyright year with classpath.
8935 2004-03-20  Norbert Frese  <postfach@nfrese.net>
8937         * gnu/java/rmi/server/RMIIncomingThread.java: New file.
8938         * gcc/libjava/gnu/java/rmi/server/UnicastConnection.java:
8939         Create a new RMIObjectOuputStream/RMIObjectInputStream for every
8940         rmi-message.
8941         (getObjectInputStream): Return object reference, throw IOException if null.
8942         (startObjectInputStream): Create new RMIObjectInputStream on top of 'din'.
8943         (getObjectOutputStream): Return object reference, throw IOException if null.
8944         (startObjectOutputStream): Create new RMIObjectOutputStream on top of 'dout'.
8945         * gcc/libjava/gnu/java/rmi/server/UnicastConnectionManager.java:
8946         (UnicastConnectionManager): Throw RemoteException if port is not available.
8947         (getInstance): Throw RemoteException.
8948         (run): Lookup client host and attach it to new RMIIncomingThread for later retrieval.
8949         * gcc/libjava/gnu/java/rmi/server/UnicastRef.java:
8950         Start a new RMIObjectInputStream/RMIObjectOutputStream for every rmi-message.
8951         Collect Exceptions which are returned by a rmi-call and fix void returns.
8952         * gcc/libjava/gnu/java/rmi/server/UnicastRemoteCall.java:
8953         Start a new RMIObjectInputStream/RMIObjectOutputStream for every rmi-message.
8954         * gcc/libjava/gnu/java/rmi/server/UnicastServer.java:
8955         (dispatch): Answer ping messages which are sent by other java implementions.
8956         (incomingMessageCall): Start a new RMIObjectInputStream/RMIObjectOutputStream
8957         for every rmi-message and fix void return problems.
8958         * gcc/libjava/gnu/java/rmi/server/UnicastServerRef.java
8959         (UnicastServerRef): Throw RemoteException.
8960         (exportObject): Find the class up the class hierarchy which has a _Stub generated by rmic.
8961         In some situations it is necessary to export a subclass of the class which has the _Stub.
8962         For instance when the class with has the _Stub is abstract.
8963         (findStubSkelClass): New method which looks for the class which has the _Stub.
8964         (getClientHost): Implementated.
8965         * gcc/libjava/java/rmi/server/RemoteServer.java
8966         (getClientHost): Implementated.
8967         * gcc/libjava/Makefile.am (rmi_java_source_files):
8968         Added gnu/java/rmi/server/RMIIncomingThread.java.
8969         * Makefile.in: Regenerated.
8971 2004-03-20  Michael Koch  <konqueror@gmx.de>
8973         * java/net/InetAddress.java
8974         (getLocalHostname): Added javadoc.
8976 2004-03-19  Per Bothner  <per@bothner.com>
8978         * configure.in: FILE variable  overrides FLATFORM when linking
8979         natFileChannelXXX.cc.
8981         * gnu/java/nio/channels/natFileChannelEcos.cc (diag_write):  Restored.
8982         (write):  Call diag_write, as in old natFileDescriptorEcos.cc.
8984 2004-03-19  Per Bothner  <per@bothner.com>
8986         * gnu/gcj/convert/Input_UnicodeBig.java:  New class..
8987         * gnu/gcj/convert/Input_UnicodeLittle.java:  New class.
8988         * Makefile.am:  Update accordingly.
8989         * gnu/gcj/convert/IOConverter.java:  Define "utf-16le" and "utf16be"
8990         as aliases for UnicodeLittle and UnicodeBig.
8992 2004-03-20  Mark Wielaard  <mark@klomp.org>
8994         * native/jni/gtk-peer/gnu_java_awt_peer_gtk_GtkTextAreaPeer.c
8995         (Java_gnu_java_awt_peer_gtk_GtkTextAreaPeer_getVScrollbarWidth):
8996         Don't access ws when it is null.
8997         (Java_gnu_java_awt_peer_gtk_GtkTextAreaPeer_getHScrollbarHeight):
8998         Likewise.
9000 2004-03-19  Jeroen Frijters  <jeroen@frijters.net>
9002         * java/lang/ThreadGroup.java (list): Changed print to println.
9004 2004-03-19  Mark Wielaard  <mark@klomp.org>
9006         * java/io/BufferedReader.java: Use &lt;=, not &lt;&eq; to make gjdoc
9007         happy.
9009 2004-02-10  Randolph Chung  <tausq@debian.org>
9011         * configure.in: Build java for hppa target.
9012         * configure: Regenerate.
9013         * libjava/configure.host (hppa-*): Add target.
9014         * libjava/sysdeps/pa/lock.h: New file.
9016 2004-03-19  Mark Wielaard  <mark@klomp.org>
9018         Reported by Stephen Crawley
9019         * java/io/FilePermission.java (implies): Use String.length() -1 to
9020         access last char of String.
9022 2004-03-19  Michael Koch  <konqueror@gmx.de>
9024         * java/awt/image/AffineTransformOp.java
9025         (AffineTransformOp): Made public.
9026         * javax/swing/JComponent.java
9027         (listenerList): Made protected.
9028         (accessibleContext): Likewise.
9029         * javax/swing/JList.java
9030         (valueChanged): Dont use internal fields of ListSelectionEvent.
9031         * javax/swing/JViewport.java
9032         (getView): Dont use internal fields of Component.
9033         (addImpl): Likewise.
9034         * javax/swing/Timer.java
9035         (isRunning): Made public.
9036         (start): Likewise.
9037         (stop): Likewise.
9038         * javax/swing/UIDefaults.java
9039         (getInt): Made public.
9040         * javax/swing/plaf/basic/BasicListUI.java
9041         (mousePressed): Dont use internal fields of MouseEvent.
9042         (propertyChanged): Dont use internal fields of PropertyChangeEvent.
9043         * javax/swing/plaf/basic/BasicScrollBarUI.java
9044         (arrowIcon): Made static.
9045         * javax/swing/plaf/basic/BasicViewportUI.java
9046         (stateChanged): Dont use internal field on ChangeEvent.
9047         * javax/swing/text/JTextComponent.java
9048         (getUI): Call UIManager.getUI().
9049         (updateUI): Use getUI().
9051 2004-03-19  Rainer Orth  <ro@TechFak.Uni-Bielefeld.DE>
9053         * verify.cc: Undef PC.
9055 2004-03-18  Michael Koch  <konqueror@gmx.de>
9057         * java/nio/channels/spi/AbstractSelectableChannel.java
9058         (keys): Initialize at declaration.
9059         (locate): keys cant be null.
9060         (add): Removed.
9061         (addSelectionKey): New method.
9062         (removeSelectionKey): New method.
9063         * java/nio/channels/spi/AbstractSelectionKey.java
9064         (cancel): Call AbstractSelector.cancelKey(SelectionKey key).
9065         * java/nio/channels/spi/AbstractSelector.java
9066         (provider): Javadoc added.
9067         (cancelledKeys): Javadoc added.
9068         (cancelKey): Javadoc added, add key to cancelledKeys.
9069         (deregister): Implemented.
9071 2004-03-18  Rainer Orth  <ro@TechFak.Uni-Bielefeld.DE>
9073         * gnu/java/nio/channels/natFileChannelPosix.cc (mapImpl): Cast
9074         MAP_FAILED to void *.
9076 2004-03-12  Graydon Hoare  <graydon@redhat.com>
9078         * gnu/java/awt/peer/gtk/GdkGraphics2D.java: Clipping fixes.
9079         * javax/swing/JComponent.java (paint): Use persistent double buffer. 
9080         * javax/swing/JList.java (ListListener): Revalidate on changes.
9081         * javax/swing/JScrollPane.java: Reimplement.
9082         * javax/swing/JViewport.java: Reimplement.
9083         * javax/swing/ScrollPaneLayout.java: Reimplement.
9084         * javax/swing/ViewportLayout.java: Tidy up.
9085         * javax/swing/plaf/basic/BasicButtonListener.java: Remove printlns.
9086         * javax/swing/plaf/basic/BasicScrollPaneUI.java: Reimplement.
9087         * javax/swing/plaf/basic/BasicSliderUI.java: Handle missing labels.
9088         * javax/swing/plaf/basic/BasicViewportUI.java: Implement in terms of
9089         backing store only.
9091 2004-03-11  Thomas Fitzsimmons  <fitzsim@redhat.com>
9093         * jni/gtk-peer/gnu_java_awt_peer_gtk_GtkWindowPeer.c
9094         (window_wm_protocols_filter): New function.
9095         (window_focus_in_cb): Remove function.
9096         (window_focus_out_cb): Likewise.
9097         (window_focus_or_active_state_change_cb): New function.
9098         (create): Add filter that removes WM_TAKE_FOCUS client messages.
9099         (connectSignals): Don't attach handlers to focus-in-event or
9100         focus-out-event signals.  Handle notify signal.
9102 2004-03-11  David Jee  <djee@redhat.com>
9104         * gnu/java/awt/peer/gtk/GtkCheckboxPeer.java
9105         (gtkSetLabel): New native method declaration.
9106         (setLabel): Use gtkSetLabel.
9107         * jni/gtk-peer/gnu_java_awt_peer_gtk_GtkCheckboxPeer.c
9108         (Java_gnu_java_awt_peer_gtk_GtkCheckboxPeer_gtkSetLabel): New method.
9110 2004-03-10  Thomas Fitzsimmons  <fitzsim@redhat.com>
9112         * gnu/java/awt/peer/gtk/GdkGraphics.java (setColor): Default to
9113         black when color argument is null.
9115 2004-03-10  Kim Ho  <kho@redhat.com>
9117         * java/awt/Container.java: Remove check
9118         for drag events.
9120 2004-03-10  Kim Ho  <kho@redhat.com>
9122         * java/awt/Container.java: (visitChild):
9123         Remove candidate clip. Use the component
9124         clip to intersect.
9125         * gnu/java/awt/peer/gtk/GtkComponentPeer.java:
9126         (handleEvent): Use the PaintEvent's clip.
9128 2004-03-10  Kim Ho  <kho@redhat.com>
9130         * gnu/java/awt/peer/gtk/GtkComponentPeer.java:
9131         (handleEvent): Don't set the clip for the
9132         Graphics object.
9134 2004-03-09  Graydon Hoare  <graydon@redhat.com>
9136         * jni/gtk-peer/gnu_java_awt_peer_gtk_GdkGlyphVector.c: 
9137         Fix double <-> fixed macros, reset font transform.
9138         * jni/gtk-peer/gnu_java_awt_peer_gtk_GdkClasspathFontPeerMetrics.c:
9139         Likewise.
9141 2004-03-09  Kim Ho  <kho@redhat.com>
9143         * java/awt/Container.java: (visitChild): Move
9144         the x and y coordinate of the component rectangle
9145         to correct position.
9146         (handleEvent): Forward drag events to the pressed
9147         component.
9148         * javax/swing/plaf/basic/BasicScrollBarUI.java:
9149         Fix comments.
9150         (ArrowButtonListener::mousePressed): Stop the
9151         existing timer.
9152         (mouseDragged): Implement.
9153         (TrackListener::mousePressed): Only react if
9154         the press doesn't occur on the thumb, otherwise
9155         just set the offset.
9156         (TrackListener::mouseReleased): Unset the isAdjusting
9157         value.
9158         (createIncreaseIcon): Switch icon.
9159         (createDecreaseIcon): Switch icon.
9160         (calculatePreferredSize): Use width.
9161         (getThumbBounds): Use the top as the lower value.
9162         (layoutVScrollBar): Switch the button locations.
9163         (paintIncreaseHighlight): Paint correct side of thumb.
9164         (paintDecreaseHighlight): ditto.
9165         (valueForYPosition): Use top as the lower value.
9166         * javax/swing/plaf/basic/BasicSliderUI.java:
9167         Fix comments.
9168         (mouseDragged): Implement.
9169         (mousePressed): Only react when the thumb isn't
9170         pressed, otherwise just set offset.
9171         (mouseReleased): Handle a release of the thumb.
9172         (scrollDueToClickInTrack): Stop the timer first.
9173         * javax/swing/JProgressBar.java:
9174         (setString): Fix change condition.
9175         * javax/swing/JSeparator.java:
9176         Remove println's.
9178 2004-03-08  David Jee  <djee@redhat.com>
9180         * java/awt/image/AffineTransformOp.java:
9181         (filter): Use Graphics2D interface instead of directly using the
9182         GdkGraphics2D peer.
9184 2004-03-05  David Jee  <djee@redhat.com>
9186         * gnu/java/awt/peer/gtk/GtkButtonPeer.java
9187         (handleEvent): Action events are generated upon MOUSE_RELEASED.
9188         * java/awt/Container.java
9189         (acquireComponentForMouseEvent): Fixed.
9190         (handleEvent): Fixed.
9191         * jni/gtk-peer/gnu_java_awt_peer_gtk_GtkEvents.c
9192         (state_to_awt_mods_with_button_states): New method.
9193         (pre_event_handler): Fixed mouse event generation.
9195 2004-03-05  Olga Rodimina  <rodimina@redhat.com>
9197         gnu/java/awt/peer/gtk/GdkGraphics2D.java
9198         (GdkGraphics2D (BufferedImage)): Initialize
9199         pixmap associated with specified BufferedImage.
9200         (setPaint): Changed implementation of Texture
9201         Paint to use AffineTransformOp.
9202         * java/awt/image/AffineTransformOp.java
9203         (createCompatibleDestRaster): Throw RasterFormatException 
9204         if resulting width or height of raster is 0.
9206 2004-03-04  Olga Rodimina  <rodimina@redhat.com>
9208         * java/awt/image/AffineTransformOp.java:
9209         Removed unnecessary field interpolationType.
9210         Formatted some of the lines to be consistent with 
9211         the GNU style.
9212         (AffineTransformOp): Create new RenderingHints 
9213         containing specified interpolation type.
9214         (createCompatibleDestImage): Implemented.
9215         (createCompatibleDestRaster): Implemented.
9216         (filter): Implemented.
9217         (getBounds2D(BufferedImage)): Implemented.
9218         (getBounds2D(Raster)): Implemented.
9219         (getInterpolationType): Get interpolation value from 
9220         rendering hints.
9222 2004-03-04  David Jee  <djee@redhat.com>
9224         * gnu/java/awt/peer/gtk/GtkContainerPeer.java
9225         (setFont): Check if child peers are null.
9227 2004-03-04  Graydon Hoare  <graydon@redhat.com>
9229         * testsuite/lib/libjava.exp (libjava_find_lib): Don't include
9230         .libs in -L option.
9231         (libjava_arguments): Add new libraries to argument list.
9233 2004-03-02  Olga Rodimina  <rodimina@redhat.com>
9235         * Makefile.am: Added java/awt/image/AffineTransformOp.java
9236         * Makefile.in: Re-generated.
9237         * java/awt/image/AffineTransformOp.java: New Class.
9239 2004-03-01  Olga Rodimina  <rodimina@redhat.com>
9241         * gnu/java/awt/peer/gtk/GdkGraphics2D.java
9242         (setPaint): Interpret correctly TexturePaint's
9243         anchor rectangle.
9244         (drawImage): Fixed scale factors of the affine
9245         transform.
9247 2004-02-27  David Jee  <djee@redhat.com>
9249         * gnu/java/awt/peer/gtk/GdkGraphics.java
9250         (GdkGraphics(Component)): Inherit font from component.
9251         (drawString): Use font style.
9252         * gnu/java/awt/peer/gtk/GtkCheckboxPeer.java
9253         (gtkSetFont): New native method declaration.
9254         (setFont): New method.
9255         * gnu/java/awt/peer/gtk/GtkComponentPeer.java
9256         (gtkSetFont): New native method declaration.
9257         (setFont): Call new native method gtkSetFont.
9258         * gnu/java/awt/peer/gtk/GtkContainerPeer.java
9259         (setFont): For all child components who do not their fonts set,
9260         set their peers' fonts with this container's font.
9261         * gnu/java/awt/peer/gtk/GtkLabelPeer.java:
9262         Move all native method declarations to the top for readability.
9263         (gtkSetFont): New native method declaration.
9264         (setFont): New method.
9265         * java/awt/Component.java
9266         (setFont): Invalidate after setting the font.
9267         * java/awt/Container.java
9268         (invalidateTree): New method.
9269         (setFont): Invalidate the container tree after setting the font.
9270         * jni/gtk-peer/gnu_java_awt_peer_gtk_GdkGraphics.c
9271         (Java_gnu_java_awt_peer_gtk_GdkGraphics_drawString): Use font style.
9272         * jni/gtk-peer/gnu_java_awt_peer_gtk_GtkCheckboxPeer.c
9273         (Java_gnu_java_awt_peer_gtk_GtkCheckboxPeer_gtkSetFont): New method.
9274         * jni/gtk-peer/gnu_java_awt_peer_gtk_GtkComponentPeer.c
9275         (Java_gnu_java_awt_peer_gtk_GtkComponentPeer_gtkSetFont): New method.
9276         * jni/gtk-peer/gnu_java_awt_peer_gtk_GtkLabelPeer.c
9277         (Java_gnu_java_awt_peer_gtk_GtkLabelPeer_gtkSetFont): New method.
9279 2004-02-27  Olga Rodimina <rodimina@redhat.com>
9281         * gnu/java/awt/peer/gtk/GdkGraphics2D.java
9282         (updateBufferedImage): New helper function.
9283         Updates BufferedImage in memory if it was changed.
9284         (draw): changed to update BufferedImage in memory after
9285         this drawing operation
9286         (fill): Ditto.
9287         (draw3DRect): Ditto.
9288         (fill3DRect): Ditto.
9289         (clearRect): Ditto.
9290         (drawRaster): Ditto.
9291         (drawImage) : Ditto. Update only in case of GtkOffScreenImage with 
9292         no affine transformation.
9293         (drawGlyphVector): Ditto.
9295 2004-02-26  Olga Rodimina <rodimina@redhat.com>
9297         * gnu/java/awt/peer/gtk/GdkGraphics2D.java
9298         (isBufferedImageGraphics): New Helper function. 
9299         Returns true if this graphics2d can be used to draw 
9300         into buffered image and false otherwise.
9301         (updateImagePixels): New Helper function. 
9302         Updates pixels in the BufferedImage.
9303         * jni/gtk-peer/gnu_java_awt_peer_gtk_GdkGraphics2D.c
9304         (getImagePixels): New function. Returns pixels
9305         of the buffered image associated with 
9306         this Graphics2D.
9308 2004-02-26  David Jee  <djee@redhat.com>
9310         * java/awt/BorderLayout.java
9311         (layoutContainer): Fix width and height calculations to ensure
9312         that they're non-negative.
9313         * java/awt/Component.java
9314         (setBackground): If c is null, inherit from closest ancestor whose
9315         background color is set.
9317 2004-02-26  Kim Ho  <kho@redhat.com>
9319         * Makefile.am: Add new files.
9320         * Makefile.in: Re-generate.
9321         * javax/swing/JProgressBar.java: 
9322         (JProgressBar(int, int int)): Throw
9323         IllegalArgumentException if orientation is
9324         invalid.
9325         (JProgressBar(BoundedRangeModel)): Create
9326         ChangeListener and register it. UpdateUI.
9327         (getChangeListeners): Implement.
9328         (setModel): Reset ChangeListener.
9329         * javax/swing/JScrollBar.java: Implement.
9330         * javax/swing/JSeparator.java: Implement.
9331         * javax/swing/JSlider.java:
9332         (JSlider(int, int, int, int)): Throw 
9333         IllegalArgumentException if orientation
9334         is invalid.
9335         (getChangeListeners): Fix method name.
9336         * javax/swing/SwingUtilities.java:
9337         (layoutCompoundLabel): If there is no text,
9338         set the text rectangle dimensions to 0.
9339         * javax/swing/plaf/basic/BasicButtonUI.java:
9340         (paint): If there is no text, don't paint it.
9341         * javax/swing/plaf/basic/BasicScrollBarUI.java:
9342         Implement.
9343         * javax/swing/plaf/basic/BasicSeparatorUI.java:
9344         Implement.
9345         * javax/swing/plaf/basic/BasicSliderUI.java: 
9346         (propertyChange): If the model changes, change
9347         the listeners accordingly.
9349 2004-02-25  Graydon Hoare  <graydon@redhat.com>
9351         * javax/swing/AbstractButton.java: Add "final" qualifiers.
9352         * javax/swing/JList.java: Reimplement.
9353         * javax/swing/DefaultListSelectionModel.java: Reimplement.
9354         * javax/swing/plaf/basic/BasicListUI.java: Reimplement.
9355         * javax/swing/plaf/basic/BasicLookAndFeel.java: Add "purple" values.
9356         * javax/swing/ListModel.java: Javadoc.
9357         * javax/swing/ListSelectionModel.java: Add missing methods.
9358         * javax/swing/AbstractListModel.java: Javadoc and corrections.
9359         * javax/swing/DefaultListModel.java: Javadoc and corrections.
9360         * javax/swing/ListModel.java: Javadoc and corrections.
9361         * javax/swing/DefaultListCellRenderer.java: Minor tidying.
9363 2004-02-25  David Jee  <djee@redhat.com>
9365         * gnu/java/awt/peer/gtk/GtkFontPeer.java
9366         (GtkFontPeer): Change default size to 12.
9367         * gnu/java/awt/peer/gtk/GtkToolkit.java
9368         (getFontPeer): Change default size to 12.
9369         (getClasspathFontPeer): Likewise. Set default name to "Default".
9370         * java/awt/Font.java
9371         (Font(Map)): Call Font(String,Map).
9372         (Font(String,Map)): If attrs is null, initialize it as an empty
9373         HashMap, which will ensure that the Font will get default attributes.
9375 2004-02-25  David Jee  <djee@redhat.com>
9377         * gnu/java/awt/peer/gtk/GtkFontPeer.java
9378         (GtkFontPeer(String,int)): Call the new constructor with size 1.
9379         (GtkFontPeer(String,int,int)): New constructor with size attribute.
9380         * gnu/java/awt/peer/gtk/GtkToolkit.java
9381         (getFontPeer(String,int)): Call the new overload method with size 1.
9382         (getFontPeer(String,int,int)): New method. Overloaded with size
9383         attribute.
9384         (getClasspathFontPeer): Set the size of the font.
9386 2004-02-24  Olga Rodimina  <rodimina@redhat.com>
9388         * gnu/java/awt/peer/gtk/GdkGraphics2D.java
9389         (bimage): New field.
9390         (GdkGraphics2D): New Constructor. Constructs Graphics
9391         object that can be used to draw into the Buffered Image.
9392         * gnu/java/awt/peer/gtk/GdkGraphicsEnvironment.java:
9393         (GdkGraphicsEnvironment): Fixed to include public 
9394         keyword.
9395         (createGraphics): Implemented.
9396         * gnu/java/awt/peer/gtk/GtkToolkit.java
9397         (getLocalGraphicsEnvironment): Implemented.
9398         * java/awt/GraphicsEnvironment.java:
9399         (getLocalGraphicsEnvironment): Implemented.
9400         * java/awt/image/BufferedImage.java:
9401         (createGraphics): Implemented.
9402                 
9403 2004-02-24  David Jee  <djee@redhat.com>
9405         * java/awt/Component.java
9406         (eventTypeEnabled): Add MOUSE_MOVED and MOUSE_DRAGGED event types.
9407         * java/awt/Container.java
9408         (addNotifyContainerChildren): Fix event enabling.
9410 2004-02-23  Olga Rodimina  <rodimina@redhat.com>
9412         * Makefile.am: Added 
9413         gnu/java/awt/peer/gtk/GdkGraphicsEnvironment.java
9414         * Makefile.in: Re-generated.
9415         * gnu/java/awt/peer/gtk/GdkGraphicsEnvironment.java:
9416         New Class. 
9417         
9418 2004-02-19  Kim Ho  <kho@redhat.com>
9420         * Makefile.am: Add BasicProgressBarUI
9421         * Makefile.in: Regenerate.
9422         * javax/swing/JProgressBar.java: 
9423         Re-implement.
9424         * javax/swing/plaf/basic/BasicLookAndFeel.java
9425         Add constants for JProgressBar.
9426         * javax/swing/plaf/basic/BasicProgressBarUI.java
9427         Implement.
9428         * javax/swing/plaf/basic/BasicSliderUI.java
9429         Change comments.
9430         (calculateGeometry): New method
9431         (paint): Remove unnecessary size calculations.
9433 2004-02-18  Olga Rodimina  <rodimina@redhat.com>
9435         * gnu/java/awt/peer/gtk/GdkGraphics2D.java
9436         (drawRaster): Fixed small error that caused
9437         imageToUser transformation to be set incorrectly.
9438         (toString): Implemented.
9440 2004-02-18  David Jee  <djee@redhat.com>
9442         * java/awt/CardLayout.java
9443         (addLayoutComponent): Show the first component added as the default.
9444         (removeLayoutComponent): After removing, show the next component.
9445         (gotoComponent): If there is only one component, show it and return.
9447 2004-02-18  Kim Ho  <kho@redhat.com>
9449         * javax/swing/JSlider.java: Re-order
9450         modifiers.
9451         * javax/swing/JLabel.java: Re-order
9452         modifiers.
9453         * javax/swing/JComponent.java: 
9454         (addPropertyChangeListener):
9455         Implement.
9456         (removePropertyChangeListener):
9457         ditto.
9458         (firePropertyChangeEvent):
9459         ditto.
9461 2004-02-17  David Jee  <djee@redhat.com>
9463         * java/awt/Component.java
9464         (show): Dispatch ComponentEvent via system event queue.
9465         (hide): Likewise.
9466         (move): Likewise.
9467         (resize): Likewise.
9468         (reshape): Likewise.
9469         * java/awt/Window.java
9470         (setBoundsCallback): Likewise.
9472 2004-02-17  David Jee  <djee@redhat.com>
9474         * jni/gtk-peer/gnu_java_awt_peer_gtk_GtkComponentPeer.c
9475         (Java_gnu_java_awt_peer_gtk_GtkComponentPeer_setNativeBounds):
9476         Use gtk_widget_set_size_request() instead of the deprecated
9477         gtk_widget_set_usize().
9479 2004-02-17  Kim Ho  <kho@redhat.com>
9481         * javax/swing/JSlider.java: Fix comments and
9482         make property strings constants.
9483         (createStandardLabels): Use the labels
9484         preferred size as bounds.
9485         * javax/swing/plaf/basic/BasicSliderUI.java
9486         Fix comments.
9487         (ScrollHandler::actionPerformed): Don't
9488         calculate the timer stop value. Let the
9489         MouseListeners find the stop location.
9490         (getPreferredHorizontalSize): Re-implement.
9491         (getPreferredVerticalSize): ditto.
9492         (getMinimumHorizontalSize): ditto.
9493         (getMinimumVerticalSize): ditto.
9494         (getPreferredSize): ditto.
9495         (getMinimumSize): ditto.
9496         (getMaximumSize): ditto.
9497         (paintTicks): Use doubles to find the
9498         tick location.
9499         (paintHorizontalLabel):  Use preferredSize
9500         as initial width and height.
9501         (paintVerticalLabel): ditto.
9503 2004-02-17  Kim Ho  <kho@redhat.com>
9505         * javax/swing/JLabel.java: Changed 
9506         property strings to constants.
9507         (DISPLAYED_MNEMONIC_INDEX_CHANGED_PROPERTY):
9508         New property.
9509         (setText): Change mnemonic index if
9510         text is too short.
9511         (setDisplayedMnemonicIndex): Fire property
9512         change event.
9513         (getDisplayedMnemonicIndex): Remove check
9514         against short text.
9516 2004-02-17 Olga Rodimina <rodimina@redhat.com>
9518         * gnu/java/awt/peer/gtk/GdkGraphics2D.java:
9519         (drawImage(img,xform,obs)): Invert xform before
9520         passing the xform to cairo.
9521         (drawImage(img,x,y,bgcolor,obs)): Implemented.
9522         (drawImage (img,x,y,w,h,bgcolor,obs)): Partly
9523         implemented.
9524         (drawImage (img,x,y,w,h,obs)): Implemented.
9525         (drawImage (img,dx1,dy1,dx2,dy2,sx1,sy1,sx2,sy2,
9526         bgcolor,obs)): Partly implemented.
9527         (drawImage (img,dx1,dy1,dx2,dy2,sx1,sy1,sx2,sy2,obs)):
9528         Implemented.
9529         * java/awt/image/BufferedImage.java:
9530         (copyData): if dest is null, create raster with same
9531         dimensions as the current image.
9533 2004-02-16  Graydon Hoare  <graydon@redhat.com>
9535         * javax/swing/plaf/basic/BasicLabelUI.java 
9536         (getPreferredSize): Use layoutCL.
9537         * javax/swing/plaf/basic/BasicGraphicsUtils.java 
9538         (getPreferredButtonSize): Start with empty view rect, layout using
9539         component's preferred alignment.
9540         * javax/swing/plaf/basic/BasicLookAndFeel.java: Add some Label and
9541         List defaults.
9543 2004-02-16  David Jee  <djee@redhat.com>
9545         * java/awt/Component.java
9546         (show): Dispatch COMPONENT_SHOWN ComponentEvent.
9547         (hide): Dispatch COMPONENT_HIDDEN ComponentEvent.
9548         (move): Erase old bounds and repaint new bounds. Dispatch
9549         COMPONENT_MOVED ComponentEvent.
9550         (resize): Erase old bounds and repaint new bounds. Dispatch
9551         COMPONENT_RESIZED ComponentEvent.
9552         (reshape): Dispatch COMPONENT_RESIZED and COMPONENT_MOVED
9553         ComponentEvents.
9554         * java/awt/Window.java
9555         (setBoundsCallback): Dispatch COMPONENT_RESIZED and COMPONENT_MOVED
9556         ComponentEvents.
9558 2004-02-16  Olga Rodimina  <rodimina@redhat.com>
9560         * gnu/java/awt/peer/gtk/GdkGraphics2D.java:
9561         (setRenderingHint): Added implementation of 
9562         Interpolation rendering hints.
9563         (setRenderingHints): Ditto.
9564         * jni/gtk-peer/gnu_java_awt_peer_gtk_GdkGraphics2D.c:
9565         (drawPixels): fixed to allow user to choose type 
9566         of filtering that should be used when displaying images.
9567         (cairoSurfaceSetFilter): New method. Sets filter type for 
9568         interpolation of pixel values.
9570 2004-02-16  David Jee  <djee@redhat.com>
9572         * java/awt/GridBagLayout.java
9573         (calcCellSizes): Rows or columns with zero sizes should still be
9574         considered for extra space distribution.
9576 2004-02-16  Kim Ho  <kho@redhat.com>
9578         * javax/swing/JLabel.java: Re-implement.
9579         * javax/swing/plaf/basic/BasicLabelUI.java
9580         Re-implement.
9581         * javax/swing/plaf/basic/BasicLookAndFeel.java:
9582         Added constant.
9584 2004-02-16  Kim Ho  <kho@redhat.com>
9586         * javax/swing/JSlider.java: Fix indentation and comments.
9587         (setModel): Remove null check to conform with Sun's.
9588         (setOrientation): Throw exception if not
9589         HORIZONTAL or VERTICAL.
9590         (getInverted): Use private variable instead of 
9591         ComponentOrientation.
9592         (setInverted): ditto.
9593         * javax/swing/plaf/basic/BasicSliderUI.java:
9594         Fix indentation and comments.
9595         (propertyChange): Remove check for inverted slider, handle
9596         in main paint.
9597         (getMinimumSize): Return preferred size.
9598         (getMaximumSize): ditto.
9599         (calculateFocusRect): Don't relocate rectangle.
9600         (drawInverted): Return XOR of the slider's inversion and 
9601         the component's orientation.
9602         (paint): Update leftToRightCache
9604 2004-02-13  David Jee  <djee@redhat.com>
9606         * java/awt/GridBagLayout.java
9607         (GetLayoutInfo): Fix weight and size distribution. Relocate repeated
9608         code to helper methods.
9609         (sortBySpan): New helper method.
9610         (distributeSizeAndWeight): Likewise.
9611         (calcCellWeights): Likewise.
9612         (calcCellSizes): Add comments.
9614 2004-02-13  David Jee  <djee@redhat.com>
9616         * java/awt/Component.java
9617         (show): Only do something if component is invisible at the moment.
9618         (hide): Only do something if component is visible at the moment.
9619         (reshape): If lightweight, erase old bounds and repaint new bounds.
9621 2004-02-13  Kim Ho  <kho@redhat.com>
9623         * Makefile.am: Updated for new file.
9624         * Makefile.in: Regenerated.
9625         * javax/swing/JSlider.java: Reimplement.
9626         * javax/swing/SwingUtilities.java
9627         (layoutCompoundLabel): Use icon height
9628         instead of width.
9629         (paintComponent): Implement.
9630         * javax/swing/plaf/basic/BasicLookAndFeel.java:
9631         Add JSlider defaults.
9632         * javax/swing/plaf/basic/BasicSliderUI.java:
9633         Implement. New file.
9635 2004-03-17  Michael Koch  <konqueror@gmx.de>
9637         * gnu/java/net/PlainDatagramSocketImpl.java
9638         (RECEIVE_LOCK): New member field.
9639         (SEND_LOCK): New member field.
9640         (send0): New method.
9641         (send): Synchronize on SEND_LOCK.
9642         (receive0): New method.
9643         (receive): Synchronize on RECEIVE_LOCK.
9644         * gnu/java/net/natPlainDatagramSocketImplNoNet.cc,
9645         gnu/java/net/natPlainDatagramSocketImplPosix.cc,
9646         gnu/java/net/natPlainDatagramSocketImplWin32.cc
9647         (send0): Renamed from send.
9648         (receive0): Renamed from receive.
9649 2004-03-17  Michael Koch  <konqueror@gmx.de>
9651         * gnu/java/net/natPlainSocketImplPosix.cc
9652         (write): Just call write(jbyteArray, offset, len).
9653         (read): Just call read(jbyteArray, offset, len).
9655 2004-03-16  Michael Koch  <konqueror@gmx.de>
9657         * javax/swing/JTabbedPane.java
9658         (serialVersionUID): New field.
9660 2004-03-16  Norbert Frese  <postfach@nfrese.net>
9662         * java/net/InetAddress.java
9663         (getByName): Handle hostname == "" case.
9665 2004-03-16  Dalibor Topic  <robilad@kaffe.org>
9667         Reported by: Adam Heath <doogie@debian.org>
9668         * gnu/javax/rmi/CORBA/DelegateFactory.java (getInstance): Use context
9669         class loader.
9671 2004-03-15  Michael Koch  <konqueror@gmx.de>
9673         * java/util/Locale.java: Reverting my last patch
9674         and add a comment why the original version was okay.
9676 2004-03-14  Andreas Tobler <a.tobler@schweiz.ch>
9678         * gnu/java/nio/channels/natFileChannelPosix.cc: Implement
9679         munmap_adaptor and msync_adaptor for older POSIX_C_SOURCES specs.
9680         (MappedByteBufferImpl::unmapImpl): Use munmap_adaptor.
9681         (MappedByteBufferImpl::forceImpl): Use msync_adptor.
9683 2004-03-12  Michael Koch  <konqueror@gmx.de>
9685         * java/text/DateFormatSymbols.java: Fixed file name in copyright.
9687 2004-03-12  Ito Kazumitsu  <ito.kazumitsu@hitachi-cable.co.jp>
9689         * java/net/URI.java (toURL): Implemented.
9691 2004-03-12  Ito Kazumitsu  <ito.kazumitsu@hitachi-cable.co.jp>
9693         * java/net/URI.java
9694         (URI_REGEXP) updated to contain scheme specific part.
9695         (SCHEME_SPEC_PART_GROUP) new constant.
9696         (AUTHORITY_GROUP, PATH_GROUP, QUERY_GROUP, FRAGMENT_GROUP)
9697         updated to make room for SCHEME_SPEC_PART_GROUP.
9698         (parseURI) parse scheme specific part.
9699         (resolve, isAbsolute, isOpaque, getRawSchemeSpecificPart,
9700         getSchemeSpecificPart, getAuthority, getUserInfo, getPath,
9701         getQuery, getFragment) implemented.
9703 2004-03-12  Dalibor Topic  <robilad@kaffe.org>
9705         * libraries/javalib/java/net/URI.java
9706         partially implemented using java.util.regex.
9707         (URI_REGEXP) new constant. Used to parse URIs.
9708         (SCHEME_GROUP) new constant representing index of scheme group
9709         in parsed URI.
9710         (AUTHORITY_GROUP) new constant representing index of authority
9711         group in parsed URI.
9712         (PATH_GROUP) new constant representing index of path group in
9713         parsed URI.
9714         (QUERY_GROUP) new constant representing index of query group in
9715         parsed URI.
9716         (FRAGMENT_GROUP) new constant representing index of fragment
9717         group in parsed URI.
9718         (getURIGroup) new static utility method.
9719         (parseURI) implemented.
9720         (quote) stub for new static utility method.
9721         (quoteAuthority) stub for new static utility method.
9722         (quoteHost) stub for new static utility method.
9723         (quotePath) stub for new static utility method.
9724         (quoteUserInfo) stub for new static utility method.
9725         (URI) implemented.
9726         (create) don't throw URISyntaxException. Implemented.
9727         (toString) implemented.
9729 2004-03-12  Michael Koch  <konqueror@gmx.de>
9731         * java/net/HttpURLConnection.java
9732         (getResponseCode): Fix another typo in javadoc.
9734 2004-03-11  Michael Koch  <konqueror@gmx.de>
9736         * java/util/logging/Level.java
9737         (parse): Use String.equals() instead of ==.
9739 2004-03-11  Michael Koch  <konqueror@gmx.de>
9741         * gnu/java/net/protocol/jar/Connection.java
9742         (getContentLength): New method.
9744 2004-03-11  Michael Koch  <konqueror@gmx.de>
9746         * gnu/java/net/PlainSocketImpl.java:
9747         Reformated to merge better with classpath's version.
9749 2004-03-11  Michael Koch  <konqueror@gmx.de>
9751         * java/util/Locale.java
9752         (getISO3Language): Use String.equals() instead of ==.
9753         (getISO3Country): Likewise.
9755 2004-03-11  Dalibor Topic  <robilad@kaffe.org>
9757         * java/text/AttributedString.java
9758         (addAttribute(AttributedCharacterIterator.Attribute,Object,int,int)):
9759         Use HashMap instead of Hashtable since value can be null, and
9760         you can not store a null value in a Hashtable.
9762 2004-03-11  Guilhem Lavaux <guilhem@kaffe.org>
9764         * java/text/AttributedStringIterator.java
9765         (getAllAttributesKey): Return only keys concerned
9766         by the current iterator.
9767         (getAttributes): Use strict inequality for
9768         end_index. 
9770 2004-03-11  Michael Koch  <konqueror@gmx.de>
9772         * java/net/HttpURLConnection.java:
9773         Fixed typo in javadoc.
9775 2004-03-11  Guilhem Lavaux  <guilhem@kaffe.org>
9777         * java/io/BufferedInputStream.java (marktarget): New field for max
9778         mark limit.
9779         (CHUNKSIZE): New constant for incremental mark buffer allocation.
9780         (mark): Use new fields.
9781         (read): Likewise.
9782         (read(byte[],int,int)): Likewise.
9783         (skip): Likewise.
9784         (refill): Likewise.
9786 2004-03-11  Mark Wielaard  <mark@klomp.org>
9788         * java/beans/BeanDescriptor.java (BeanDescriptor):
9789         Set the FeatureDescriptor programmatic name.
9791 2004-03-11  Michael Koch  <konqueror@gmx.de>
9793         * gnu/java/nio/channels/natFileChannelEcos.cc: Totally reworked.
9794         This file was was just copied form java/io/natFileDescriptorEcos.cc
9795         and never changed to compile correctly.
9797 2004-03-11  Michael Koch  <konqueror@gmx.de>
9799         * gnu/java/nio/PipeImpl.java
9800         (SourceChannelImpl): Made final.
9801         (read): Implemented.
9802         (SinkChannelImpl): Made final.
9803         (write): Implemented.
9805 2004-03-11  Michael Koch  <konqueror@gmx.de>
9807         * gnu/java/net/PlainDatagramSocketImpl.java:
9808         Reformated to match classpath's version more.
9810 2004-03-11  Michael Koch  <konqueror@gmx.de>
9812         * gnu/java/awt/peer/ClasspathFontPeer.java:
9813         Fixed javadoc to be correct xhtml.
9814         * gnu/java/awt/peer/gtk/GtkArgList.java
9815         (add): Use Boolean.valueOf() instead of new Boolean().
9817 2004-03-09  Michael Koch  <konqueror@gmx.de>
9819         * java/lang/Thread.java
9820         (runnable): Moved around.
9821         (daemon): Renamed from daemon_flag.
9822         (contextClassLoader): Renamed from context_class_loader.
9823         (Thread): Reordered constructors.
9824         (activeCount): Use group directly.
9825         (destroy): Make it a java method. Throw NoSuchMethodError like Sun does.
9826         (holdsLock): Reworked javadoc.
9827         (setDaemon): Reworked.
9828         * java/lang/natThread.cc
9829         (destroy): Removed.
9831 2004-03-08  Anthony Green  <green@redhat.com>
9833         * Makefile.am: Build property resource files into libgcj.
9834         * Makefile.in: Rebuilt.
9835         * java/util/regex/Matcher.java, java/util/regex/Pattern.java,
9836         java/util/regex/PatternSyntaxException.java,
9837         gnu/regexp/CharIndexed.java,
9838         gnu/regexp/CharIndexedCharArray.java,
9839         gnu/regexp/CharIndexedInputStream.java,
9840         gnu/regexp/CharIndexedReader.java,
9841         gnu/regexp/CharIndexedString.java,
9842         gnu/regexp/CharIndexedStringBuffer.java, gnu/regexp/RE.java,
9843         gnu/regexp/REException.java,
9844         gnu/regexp/REFilterInputStream.java,
9845         gnu/regexp/REFilterReader.java, gnu/regexp/REMatch.java,
9846         gnu/regexp/REMatchEnumeration.java, gnu/regexp/RESyntax.java,
9847         gnu/regexp/REToken.java, gnu/regexp/RETokenAny.java,
9848         gnu/regexp/RETokenBackRef.java, gnu/regexp/RETokenChar.java,
9849         gnu/regexp/RETokenEnd.java, gnu/regexp/RETokenEndSub.java,
9850         gnu/regexp/RETokenLookAhead.java,
9851         gnu/regexp/RETokenOneOf.java, gnu/regexp/RETokenPOSIX.java,
9852         gnu/regexp/RETokenRange.java, gnu/regexp/RETokenRepeated.java,
9853         gnu/regexp/RETokenStart.java,
9854         gnu/regexp/RETokenWordBoundary.java,
9855         gnu/regexp/UncheckedRE.java: Files merged from GNU Classpath.
9857 2004-03-03  Per Bothner  <per@bothner.com>
9859         * java/nio/channels/Channels.java (newInputStream, newOutputStream):
9860         Optimize when argument is a FileChannelImpl.
9861         (newInputStream(FileChannelImpl), newOutputStream(FileChannelImpl)):
9862         New native methods.
9863         * java/nio/channels/natChannels.cc:  New file for new native methods.
9864         * Makefile.am:  Update accordingly.
9866 2004-03-02  Jan Hubicka  <jh@suse.cz>
9868         * configure.host: Pass -fno-omit-frame-pointer for i386.
9869         * configure.in: Likewise.
9870         * configure: Regenerate.
9872 2004-03-01  Per Bothner  <per@bothner.com>
9874         * java/lang/natPosixProcess.cc (startProcess):  Fix thinko.
9876 2004-02-29  Per Bothner  <per@bothner.com>
9878         * java/nio/channels/FileChannelImpl.java:  Moved to package
9879         gnu/java/nio/channels, since we need to refer to it from java.io.
9880         * java/nio/channels/natFileChannelImpl.cc:  Removed file.
9881         * gnu/java/nio/channels/FileChannelImpl.java:  New class, renamed
9882         from java/nio/channels.  Don't depend on FileDescriptor.
9883         (in, out, err):  New static fields.
9884         (mode):  New field.
9885         (SET, CUR, READ, WRITE, APPEND, EXCL, SYNC, DSYNC):  Moved constants
9886         from FileDescriptor.
9887         (by):  Removed MappedByteBuffer field.
9888         (map):  New working implementation.
9889         * gnu/java/nio/channels/natFileChannelPosix.cc:  New file, though
9890         some code "ported" from natFileDescriptoPosix.cc.
9891         * gnu/java/nio/channels/natFileChannelEcos.cc:  Likewise.
9892         * gnu/java/nio/channels/natFileChannelWin32.cc  Likewise.
9893         * java/io/FileDescriptor.java:  Implement on top of FileChannel.
9894         Remove native methods.
9895         * Makefile.am, configure.in:  Updated accordingly.
9897         * gnu/java/nio/FileLockImpl.java (fd):  Remove field, replacing it by:
9898         (ch):  New FileChannelImpl field.  Update constructor to match.
9899         (releaseImpl):  Remove native method.  Instead ...
9900         (release):  Call unlock on channel.
9901         * gnu/java/nio/natFileLockImpl.cc:  Removed file.
9903         * java/io/natFileDescriptorEcos.cc:  Remove file.
9904         * java/io/natFileDescriptorPosix.cc:  Remove file.
9905         * java/io/natFileDescriptorWin32.cc:  Remove file.
9906         * java/io/FileInputStream.java (ch):  Change type to FileChannelImpl.
9907         (<init>(File)):  Allocate a FileChannelImpl, not a FileDescriptor.
9908         (<init>(FileChannelImpl)):  New package-private constructor.
9909         (<init>(FileDescriptor)):  Extract FileChannelImpl from arg.
9910         (available, close, read, skip):  Implement using FileChannelImpl.
9911         (getFD):  Allocate FileDescriptor if needed.
9912         (getChannel):  Is now trivial.
9913         * java/io/FileOutputStream.java:  Corresponding changes.
9914         * java/io/RandomAccessFile.java:  Corresponding changes.
9916         * java/nio/MappedByteBuffer.java: (forceImpl, isLoadedImpl, loadImpl,
9917         unmapImpl):  New dummy methods, to be overridden by subclass.
9918         (finalize, isLoaded, load, force):  New methods.
9919         * java/nio/MappedByteBufferImpl.java:  More-or-less rewrite.
9920         Now works, at least for read mapping.
9922         * java/lang/natPosixProcess.cc (startProcess):  Implement standard
9923         streams using FileChannelImpl, not FileDescriptor.
9924         * java/lang/natWin32Process.cc (startProcess):  Likewise.
9926 2004-02-28  Michael Koch  <konqueror@gmx.de>
9928         * java/io/ObjectInputStream.java: Compile fix, damn I commited the
9929         wrong code.
9931 2004-02-28  Guilhem Lavaux <guilhem@kaffe.org>
9933         * java/io/ObjectInputStream.java
9934         (readClassDescriptor): Keep elements of the mapping non null.
9935         (checkTypeConsistency): New method.
9936         (readFields): Fixed main loop and base logic. Small reindentation.
9937         * java/io/ObjectStreamField.java
9938         (lookupField): New method to update the field reference.
9939         (checkFieldType): New method.
9940         * java/io/ObjectStreamClass.java
9941         (setClass, setFields): Call lookupField when building the field
9942         database. Check the real field type.
9944 2004-02-28  Michael Koch  <konqueror@gmx.de>
9946         * java/nio/ByteOrder.java
9947         (nativeOrder): Use equals() to compare strings.
9949 2004-02-26  Michael Koch  <konqueror@gmx.de>
9951         * gnu/java/nio/FileLockImpl.java
9952         (finalize): Made protected.
9953         * java/nio/channels/FileChannel.java
9954         (MapMode.READ_ONLY): Made final.
9955         (MapMode.READ_WRITE): Made final.
9956         (MapMode.PRIVATE): Made final.
9957         * java/nio/channels/SocketChannel.java
9958         (open): Simplified code.
9959         * java/nio/channels/spi/AbstractSelectableChannel.java
9960         (registered): Unused, removed.
9961         (keyFor): Check channel is open, only locate key
9962         and not add a new one.
9963         (register): Don't delete attachments.
9965 2004-02-26  Michael Koch  <konqueror@gmx.de>
9967         * gnu/java/awt/ComponentDataBlitOp.java
9968         (INSTANCE): Made final.
9969         * gnu/java/awt/image/ImageDecoder.java:
9970         Reworked imports.
9971         (cm): Unused, removed.
9973 2004-02-26  Michael Koch  <konqueror@gmx.de>
9975         * gnu/java/nio/DatagramChannelImpl.java
9976         (send): Check if target address is resolved.
9978 2004-02-26  Michael Koch  <konqueror@gmx.de>
9980         * Makefile.am: Generate and install headers for inner classes in
9981         java.nio.channels.Pipe and gnu.java.nio.PipeImpl.
9982         * Makefile.in: Regenerated.
9984 2004-02-24  Anthony Green  <green@redhat.com>
9986         * java/lang/StringBuffer.java: No need to NULL out remainder of
9987         buffer since ensureCapacity_unsynchronized will have done this for
9988         us.
9990 2004-02-20  Michael Koch  <konqueror@gmx.de>
9992         * gnu/java/net/protocol/jar/Handler.java
9993         (): Removed unneeded check for file != null. java.net.URL.getFile()
9994         returns an empty string but never null.
9996 2004-02-20  Michael Koch  <konqueror@gmx.de>
9998         * gnu/gcj/convert/Convert.java
9999         (main): Use equals() to compare strings.
10001 2004-02-20  Michael Koch  <konqueror@gmx.de>
10003         * javax/swing/AbstractButton.java: Made several constants final.
10004         (getRolloverSelectedIcon): Made public.
10005         (getSelectedIcon): Made public.
10007 2004-02-16  Per Bothner  <per@bothner.com>
10009         * java/nio/CharBufferImpl.java:  Inline super constructor.
10010         * java/nio/DoubleBufferImpl.java:  Likewise.
10011         * java/nio/FloatBufferImpl.java:  Likewise.
10012         * java/nio/IntBufferImpl.java:  Likewise.
10013         * java/nio/LongBufferImpl.java:  Likewise.
10014         * java/nio/ShortBufferImpl.java:  Likewise.
10015         * java/nio/CharBuffer.java:  Remove unused constructor.
10016         * java/nio/DoubleBuffer.java:  Likewise.
10017         * java/nio/FloatBuffer.java:  Likewise.
10018         * java/nio/IntBuffer.java:  Likewise.
10019         * java/nio/LongBuffer.java:  Likewise.
10020         * java/nio/ShortBuffer.java:  Likewise.
10021         * java/nio/CharViewBufferImpl.java:  New convenience constructor.
10022         Fix buggy call to super constructor.
10023         * java/nio/DoubleViewBufferImpl.java:  Likewise.
10024         * java/nio/FloatViewBufferImpl.java:  Likewise.
10025         * java/nio/IntViewBufferImpl.java:  Likewise.
10026         * java/nio/LongViewBufferImpl.java:  Likewise.
10027         * java/nio/ShortViewBufferImpl.java:  Likewise.
10028         
10029         * java/nio/ByteBuffer.java (endian):  Make non-private so other
10030         java.nio classes can inherit it.
10031         (<init>):  Don't bother clearing array_offset.
10032         * java/nio/ByteBuffer.java (allocate):  Re-implement using wrap.
10033         * java/nio/ByteBuffer.java (get(byte[],int,int)):  Check underflow.
10034         Remove redundant test.
10036         * java/nio/ByteBufferImpl.java (asCharBuffer, asShortBuffer,
10037         asIntBuffer, asLongBuffer, asFloatBuffer, asDoubleBuffer):
10038         Use new XxxViewBufferImpl constructors.
10039         * java/nio/MappedByteBufferImpl.java:  Likewise.
10040         * java/nio/DirectByteBufferImpl.java:  Likewise.
10042         * java/nio/ByteBufferImpl.java:  Remove one constructor.
10043         Inline super in remaining constructor.
10044         * java/nio/ByteBuffer.java:  Remove unused constructor.
10046         * java/nio/ByteBufferImpl.java (shiftDown):  New optimized method.
10048         * java/nio/ByteBufferImpl.java (get, put):  Add array_offset.
10049         * java/nio/DirectByteBufferImpl.java (owner):  New field.
10050         (offset):  Remove unused field.
10051         (<init>):  Modify one and add another constructor.  Change callers.
10052         (allocateDirect):  Removed - not used.
10053         (getImpl, putImpl):  Make static and pass address explicitly,
10054         to make them useful for MappedByteBufferImpl.
10055         (get, put):  Check for underflow.  Modify for new getImpl.
10056         (getImpl):  New native method where target is array.
10057         (get(byte[],int,int)):  Use the above.
10058         (adjustAddress):  New static native method.
10059         (slice, duplicate, asReadOnly):  New implementations.
10060         * java/nio/natDirectByteBufferImpl.cc (getImpl, putImpl, shiftDown,
10061         adjustAddress):  New or updated native methods.
10063 2004-02-15  Ito Kazumitsu  <kaz@maczuka.gcd.org>
10065         * java/io/ObjectInputStream.java (readClassDescriptor): Avoid the
10066         overflow of fieldmapping.
10068 2004-02-14  Sascha Brawer  <brawer@dandelis.ch>
10070         * javax/swing/undo/UndoManager.java: Re-written from scratch.
10072 2004-02-14  Per Bothner  <per@bothner.com>
10074         * java/nio/channels/spi/AbstractInterruptibleChannel.java (close):
10075         Set closed before calling implCloseChannel, as in the spec.
10077 2004-02-09  Graydon Hoare  <graydon@redhat.com>
10079         * javax/swing/ToggleButtonModel.java: Remove dead class.
10080         * javax/swing/plaf/basic/BasicDefaults.java: Remove dead class.
10081         * javax/swing/plaf/basic/BasicButtonListener.java: New class.
10082         * javax/swing/plaf/basic/BasicRootPaneUI.java: New class.
10083         * Makefile.am: Update for new and removed files.
10084         * Makefile.in: Regenerate.
10086         * gnu/java/awt/peer/gtk/GdkGraphics2D.java: Initialize default hints.
10087         * javax/swing/AbstractButton.java 
10088         (AbstractButton): Initialize fields correctly in ctor.
10089         * javax/swing/JCheckbox.java 
10090         (JCheckBox): Override painting flags.
10091         * javax/swing/DefaultButtonModel.java: Conform to sun.
10092         * javax/swing/JComponent.java (paint): Fill with background color
10093         if available.
10094         (processComponentKeyEvent)
10095         (processFocusEvent)
10096         (processKeyEvent)
10097         (processMouseMotionEvent): Remove event-consuming empty methods.
10098         (getUIClassID): Return "ComponentUI" not "JComponent"
10099         * javax/swing/JFrame.java: Remove some debugging chatter.
10100         (JFrame): Subscribe to window events.
10101         * javax/swing/JRadioButton.java 
10102         (JRadioButton): Override painting flags.
10103         * javax/swing/JRootPane.java 
10104         (JRootPane): Set background from UIDefaults.
10105         * javax/swing/JToggleButton.java 
10106         (ToggleButtonModel): New inner class.
10107         (JToggleButton): Override layout alighment.
10108         * javax/swing/SwingUtilities.java:
10109         (getLocalBounds): Return width and height, not x and y.
10110         (calculateInnerArea): Use local bounds, not bounds.
10111         (layoutCompoundLabel): Provide overridden form.
10112         (layoutCompoundLabel): Correct bugs.
10113         * javax/swing/UIDefaults.java: Correct comment.
10114         * javax/swing/plaf/basic/BasicButtonUI.java: 
10115         Move most logic into defaults, external listener.
10116         (paintIcon): Implement icon painting.
10117         (paint): Fix state painting to conform to changes in model.
10118         * javax/swing/plaf/basic/BasicCheckBoxUI.java:
10119         Remove most dead/wrong methods.
10120         (getDefaultIcon): Return defaults.getIcon("CheckBox.icon").
10121         * javax/swing/plaf/basic/BasicIconFactory.java:
10122         (DummyIcon): New class.
10123         (getMenuItemCheckIcon)
10124         (getMenuItemArrowIcon) 
10125         (getMenuArrowIcon)
10126         (getCheckBoxMenuItemIcon)
10127         (getRadioButtonMenuItemIcon)
10128         (createEmptyFrameIcon): Return DummyIcons, not null.
10129         (getCheckBoxIcon): Implement an icon that looks like sun's.
10130         (getRadioButtonIcon): Implement an icon that looks like sun's.
10131         * javax/swing/plaf/basic/BasicLookAndFeel.java 
10132         (initComponentDefaults): Fix impossible values, add some missing.
10133         * javax/swing/plaf/basic/BasicPanelUI.java (gap): Remove field.
10134         * javax/swing/plaf/basic/BasicRadioButtonUI.java:
10135         Remove most dead/wrong methods.
10136         (icon): New field.
10137         (getDefaultIcon): New method.
10138         * javax/swing/plaf/basic/BasicToggleButtonUI.java:
10139         Remove most dead/wrong methods.
10140         * javax/swing/plaf/metal/MetalLookAndFeel.java
10141         (getDefaults): Return super.getDefaults(), not BasicDefaults.
10142         * jni/gtk-peer/gnu_java_awt_peer_gtk_GdkGraphics.c
10143         (Java_gnu_java_awt_peer_gtk_GdkGraphics_clearRect):
10144         Implement "clearing" as drawing, when on pixmap drawables.
10146         * javax/swing/JButton.java (getUIClassID): 
10147         * javax/swing/JCheckBox.java (getUIClassID):
10148         * javax/swing/JEditorPane.java (getUIClassID):
10149         * javax/swing/JLabel.java (getUIClassID): 
10150         * javax/swing/JList.java (getUIClassID): 
10151         * javax/swing/JOptionPane.java (getUIClassID): 
10152         * javax/swing/JPanel.java (getUIClassID): 
10153         * javax/swing/JPasswordField.java (uiClassID): 
10154         * javax/swing/JRadioButton.java (getUIClassID): 
10155         * javax/swing/JRootPane.java (getUIClassID): 
10156         * javax/swing/JScrollPane.java (getUIClassID): 
10157         * javax/swing/JTabbedPane.java (getUIClassID): 
10158         * javax/swing/JToggleButton.java (getUIClassID): 
10159         * javax/swing/JTree.java (getUIClassID): 
10160         * javax/swing/JViewport.java (getUIClassID): 
10161         * javax/swing/text/JTextComponent.java (getUIClassID):
10162         Return "fooUI" not "Jfoo"
10164 2004-02-11  Michael Koch  <konqueror@gmx.de>
10166         * java/net/DatagramSocket.java
10167         (setReuseAddress): Use Boolean.valueOf() instead of creating a new
10168         Boolean object.
10169         (setBroadcast): Likewise.
10170         * java/net/MulticastSocket.java
10171         (setLoopbackMode): Likewise.
10172         * java/net/ServerSocket.java
10173         (setReuseAddress): Likewise.
10174         * java/net/Socket.java
10175         (setTcpNoDelay): Likewise.
10176         (setSoLinger): Likewise.
10177         (setOOBInline): Likewise.
10178         (setKeepAlive): Likewise.
10179         (setReuseAddress): Likewise.
10180         * java/net/URLConnection.java
10181         (setContentHandler): Replace == with equals().
10182         * java/net/URLStreamHandler.java
10183         (hostSEquals): Fix checking host addresses.
10184         (toExternalForm): Dont check protocol for null. We know already its
10185         not null.
10187 2004-02-10  David Jee  <djee@redhat.com>
10189         * java/awt/BorderLayout.java
10190         (calcCompSize): Invisible components get zero dimensions.
10191         * java/awt/Button.java
10192         (setLabel): Set actionCommand.
10193         * java/awt/Component.java
10194         (show): Invalidate component and parent container.
10195         (hide): Likewise.
10197 2004-02-10  David Jee  <djee@redhat.com>
10199         * java/awt/GridBagLayout.java
10200         (GridBagLayout): New private field, internalcomptable.
10201         (lookupInternalConstraints): New method.
10202         (ArrangeGrid): Use components' MINSIZE. Use internalcomptable.
10203         (GetLayoutInfo): Reimplement.
10204         (calcCellSizes): Ignore rows/columns with size 0.
10206 2004-02-10  Michael Koch  <konqueror@gmx.de>
10208         * gnu/java/awt/EmbeddedWindow.java
10209         (setHandle): Use java.awt.Component.getPeer() instead of
10210         java.awt.Component.peer directly.
10212 2004-02-10  David Jee  <djee@redhat.com>
10214         * gnu/java/awt/peer/gtk/GtkButtonPeer.java
10215         (gtkSetLabel): New native method definition.
10216         (setLabel): Use gtkSetLabel.
10217         * jni/gtk-peer/gnu_java_awt_peer_gtk_GtkButtonPeer.c
10218         (Java_gnu_java_awt_peer_gtk_GtkButtonPeer_gtkSetLabel): New method.
10220 2004-02-10  Alan Modra  <amodra@bigpond.net.au>
10222         * include/powerpc-signal.h: Revert 2004-01-21 change.
10223         (INIT_SEGV, INIT_FPE): Provide powerpc64 versions.  Check return
10224         from syscall for ppc32 versions.
10226 2004-02-08  Per Bothner  <per@bothner.com>
10228         * java/nio/ByteBuffer.java (shiftDown):  New helper method.
10229         * java/nio/natDirectByteBufferImpl.cc (shiftDown):  New implementation.
10230         * java/nio/ByteBufferImpl.java (compact):  Use new shiftDown method.
10231         * sava/nio/ByteBufferHelper.java:  Remove redundant 'final' specifiers.
10232         Pass ByteOrder parameter to most methods, since the underlying
10233         ByteBuffer's order isn't always what we should use.
10234         * java/nio/ByteBufferImpl.java:  Pass byte-order various places.
10235         * java/nio/DirectByteBufferImpl.java:  Likewise.
10236         Use ByteBufferHelper methods.
10237         * java/nio/MappedByteBufferImpl.java:  Likewise.
10238         (compact):  Use shiftDown.
10239         * java/nio/CharViewBufferImpl.java (<init>):  Pass byte-order.
10240         (get, put):  Use ByteBufferHelper.
10241         (compact):  Use new shiftDown method.
10242         (duplicate(boolean)):  New helper method.
10243         (duplicate, asReadOnlyBuffer):  Use it.
10244         (order):  Return endian field.
10245         * java/nio/DoubleViewBufferImpl.java:  Likewise.
10246         * java/nio/FloatViewBufferImpl.java:  Likewise.
10247         * java/nio/IntViewBufferImpl.java:  Likewise.
10248         * java/nio/LongViewBufferImpl.java:  Likewise.
10249         * java/nio/ShortViewBufferImpl.java:  Likewise.
10250         * java/nio/CharViewBufferImpl.java (subsequence):  Redundant test.
10251         * java/nio/DirectByteBufferImpl.java (shiftDown):  New native method.
10252         (compact):  Re-implement using shiftDown.
10254 2004-02-08  Andreas Jaeger  <aj@suse.de>
10256         * include/x86_64-signal.h: Fix typo.
10258 2004-02-08  Diego Novillo  <dnovillo@redhat.com>
10260         * include/i386-signal.h (MAKE_THROW_FRAME): Add volatile
10261         qualifier to _regs.
10262         (HANDLE_DIVIDE_OVERFLOW): Likewise.
10264 2004-02-06  Michael Koch  <konqueror@gmx.de>
10266         * java/io/ObjectInputStream.java
10267         (currentClassLoader): Reverted to old version of this method.
10269 2004-02-06  Jeroen Frijters  <jeroen@frijters.net>
10271         * java/io/ObjectInputStream.java: Made all calls
10272         to dumpElement[ln] conditional on dump flag. (readObject): Changed to
10273         use cached info from ObjectStreamClass. (readClassDescriptor):
10274         Cache more information in ObjectStreamClass. (processResolution,
10275         readFields): Use cached info from ObjectStreamClass.
10276         (newObject): Throw exception instead of returning null for failure.
10277         (getField, getMethod, callReadMethod, setBooleanField, setByteField,
10278         setCharField, setDoubleField, setFloatField, setIntField,
10279         setLongField, setShortField, setObjectField, readObjectParams):
10280         Removed. (dumpElement, dumpElementln): Removed dump flag condition
10281         check.
10282         * java/io/ObjectStreamField.java (hasReadMethod): Removed.
10283         (setClass): Added call to cacheMethods() (findMethod): New method.
10284         (cacheMethods): New method. (ObjectStreamClass): Added call to
10285         cacheMethods(). (setFields): Cache fields. (getClassUID): Use
10286         AccessController.doPrivileged to invoke setAccessible.
10287         (readObjectMethod, readResolveMethod, realClassIsSerializable,
10288         realClassIsExternalizable, fieldMapping, firstNonSerializableParent):
10289         New fields.
10290         * java/io/ObjectStreamField.java (ObjectStreamField): New constructor.
10291         (ObjectStreamField): Removed FIXME workaround. (getTypeString,
10292         isPrimitive): Made safe for cases where type == null.
10293         (setBooleanField, setByteField, setCharField, setShortField,
10294         setIntField, setLongField, setFloatField, setDoubleField,
10295         setObjectField): New methods.
10297 2004-02-05  Thomas Fitzsimmons  <fitzsim@redhat.com>
10299         * java/awt/Component.java (getFont): Return a default font
10300         instead of null.
10302         * java/awt/Scrollbar.java (next_scrollbar_number): New field.
10303         (Scrollbar (int, int, int, int, int)): Make default page
10304         increment 10.
10305         (setValues): Only call peer.setValues if one of the values has
10306         changed.
10307         (generateName): New method.
10308         (getUniqueLong): New method.
10309         * jni/gtk-peer/gnu_java_awt_peer_gtk_GtkScrollBarPeer.c
10310         (range_scrollbar): Remove structure.
10311         (post_adjustment_event): Remove function.
10312         (post_change_event): Accept jobject argument.
10313         (create): Cast jints to gdoubles.  Round scrollbar values to the
10314         nearest integer.  Clamp min, max and value settings.
10315         (connectJObject): Connect hook to widget->window.
10316         (connectSignals): Remove range_scrollbar structure variables.
10317         Remove "move-slider" connection.  Pass global peer reference to
10318         "value-changed" callback.
10319         (setLineIncrement): Cast jint value to gdouble.
10320         (setPageIncrement): Likewise.
10321         (setValues): Likewise.  Clamp min, max and value settings.
10323 2004-02-05  Michael Koch  <konqueror@gmx.de>
10325         * javax/swing/AbstractCellEditor.java
10326         (getCellEditorValue): Removed.
10327         * javax/swing/Box.java: Reformated.
10328         (serialVersionUID): New field.
10329         * javax/swing/ButtonGroup.java:
10330         Removed some weird whitespace.
10331         * javax/swing/CellEditor.java: Reformated.
10332         * javax/swing/CellRendererPane.java
10333         (serialVersionUID): New field.
10334         (AccessibleCellRendererPaneserialVersionUID): New field.
10335         * javax/swing/DefaultListModel.java
10336         (serialVersionUID): New field.
10337         * javax/swing/JEditorPane.java
10338         (serialVersionUID): New field.
10339         (setPage): Throws IOException.
10340         (addHyperlinkListener): Implemented.
10341         (removeHyperlinkListener): Implemented.
10342         (getHyperlinkListener): New method.
10343         * javax/swing/JFileChooser.java
10344         (serialVersionUID): New field.
10345         (AccessibleJFileChooser.serialVersionUID): New field.
10346         (addActionListener): Implemented.
10347         (removeActionListener): Implemented.
10348         (getActionListeners): New method.
10349         * javax/swing/JFormattedTextField.java
10350         (serialVersionUID): New field.
10351         (AbstractFormatter.serialVersionUID): New field.
10352         (clone): Throws CloneNotSupportedException
10353         (setEditValid): Add missing argument.
10354         (stringToValue): Throws ParseExcpetion.
10355         (valueToString): Throws ParseException.
10356         (commitEdit): Throws ParseException.
10357         * javax/swing/JLabel.java
10358         (serialVersionUID): New field.
10359         * javax/swing/JList.java
10360         (serialVersionUID): New field.
10361         (addListSelectionListener): Reformated.
10362         (removeListSelectionListener): Reformated.
10363         (getListSelectionListeners): New method.
10364         * javax/swing/colorchooser/AbstractColorChooserPanel.java:
10365         Reformated.
10366         (serialVersionUID): New field.
10367         * javax/swing/table/AbstractTableModel.java
10368         (getValueAt): Removed.
10369         (getColumnCount): Removed.
10370         (getRowCount): Removed.
10372 2004-02-05  Michael Koch  <konqueror@gmx.de>
10374         * java/awt/datatransfer/DataFlavor.java
10375         (imageFlavor): Javadoc added.
10376         (javaJVMLocalObjectType): Fixed.
10378 2004-02-05  Michael Koch  <konqueror@gmx.de>
10380         * java/lang/Thread.java
10381         (Thread): Reordered.
10382         (setContextClassLoader): Fixed javadoc comment.
10383         (setPriority): Reordered.
10384         (yield): Reordered.
10385         (initialize_native): Reordered.
10386         (gen_name): Reordered.
10388 2004-02-05  Michael Koch  <konqueror@gmx.de>
10390         * java/lang/Thread.java: Reordered fields, reformated much code,
10391         no functional changes, some variables renamed, javadoc comments
10392         merged.
10394 2004-02-05  Michael Koch  <konqueror@gmx.de>
10396         * java/util/zip/Deflater.java,
10397         java/util/zip/DeflaterOutputStream.java,
10398         java/util/zip/GZIPInputStream.java:
10399         Reformated and javadoc comments merged from classpath.
10401 2004-02-05  Michael Koch  <konqueror@gmx.de>
10403         * gnu/java/nio/NIOServerSocket.java
10404         (impl): Unused, removed.
10405         * gnu/java/nio/SocketChannelImpl.java
10406         (finnishConnect): Don't throw NoConnectionPendingException if not
10407         connected or no connection pending.
10409 2004-02-02  Graydon Hoare  <graydon@redhat.com>
10411         * javax/swing/SwingUtilities.java: Many new functions.
10412         * java/awt/Container.java (LightweightDispatcher): Reimplement.
10413         * javax/swing/basic/BasicGraphicsUtils.java 
10414         (getPreferredButtonSize): Start layout from top-left corner.
10416 2004-02-04  Olga Rodimina  <rodimina@redhat.com>
10418         * java/awt/geom/AffineTransform.java: 
10419         Corrected comments on the field definitions for
10420         m11 and m10.
10421         (shear): Fixed few errors that caused shear
10422         transformation to be performed incorrectly.
10423         (createInverse): Fixed to return correct
10424         inverse of the given matrix.
10426 2004-02-03  Tom Tromey  <tromey@redhat.com>
10428         * java/lang/natPosixProcess.cc (startProcess): Handle case where
10429         PATH or LD_LIBRARY_PATH is not set in parent environment.
10431 2004-02-03  Thomas Fitzsimmons  <fitzsim@redhat.com>
10433         * gnu/java/awt/peer/gtk/GtkListPeer.java,
10434         java/awt/BorderLayout.java, java/awt/CardLayout.java,
10435         java/awt/CheckboxGroup.java, java/awt/Choice.java,
10436         java/awt/Component.java, java/awt/Container.java,
10437         java/awt/FontMetrics.java, java/awt/GridBagLayout.java,
10438         java/awt/LayoutManager2.java, java/awt/List.java,
10439         java/awt/Menu.java, java/awt/MenuBar.java,
10440         java/awt/MenuItem.java, java/awt/Polygon.java,
10441         java/awt/Rectangle.java, java/awt/ScrollPane.java,
10442         java/awt/Scrollbar.java, java/awt/TextArea.java,
10443         java/awt/TextField.java,
10444         java/awt/image/renderable/RenderContext.java,
10445         javax/swing/JApplet.java: Fix handling of alias methods, where a
10446         method has been deprecated in favour of a new one with the same
10447         funtion but a different name.  Put the method implementation in
10448         the deprecated method and have the new method call the
10449         deprecated one.  Make all other code call the new method.
10451 2004-02-03  Mohan Embar  <gnustuff@thisiscool.com>
10453         * gnu/java/nio/DatagramChannelImpl.java
10454         (inChannelOperation): New field.
10455         (isInChannelOperation): New accessor.
10456         (setInChannelOperation): New modifier.
10457         (receive): Use capacity() - position() of destination
10458         buffer instead of remaining(). Set and reset our "in
10459         channel operation indicator" before and after delegating
10460         the receive to our datagram socket. Removed testing code.
10461         Update destination buffer's current position if it is
10462         backed by a byte array (hasArray() is true).
10463         (send): Set and reset our "in channel operation indicator"
10464         before and after delegating the send to our datagram socket.
10465         Removed testing code. Update source buffer's current position
10466         if it is backed by a byte array (hasArray() is true).
10467         * gnu/java/nio/SocketChannelImpl.java (read(ByteBuffer)):
10468         Use capacity() - position() of destination buffer instead
10469         of remaining().
10470         * java/net/DatagramSocket.java (receive): Don't throw an
10471         IllegalBlockingModeException if we have a non-blocking
10472         channel which initiated this operation.
10473         (send): Likewise.
10475 2004-02-01  Thomas Fitzsimmons  <fitzsim@redhat.com>
10477         * configure.in: Add pkgconfig check for glib and gthread.
10478         * configure: Regenerate.
10480 2004-02-01  Michael Koch  <konqueror@gmx.de>
10482         * include/jvm.h (MAYBE_UNUSED): New macro tp mark probably unused
10483         arguments.
10484         * jni.cc (_Jv_LookupJNIMethod): Mark 'args_size' unused.
10485         * verify.cc (debug_print): Mark 'fmt' unused.
10487 2004-01-30  Michael Koch  <konqueror@gmx.de>
10489         * configure.in: Use pkg-config to check for GTK 2.2 and libart 2.1.
10490         * configure: Regenerated.
10491         * glib-2.0.m4: Removed.
10492         * gtk-2.0.m4: Removed.
10493         * libart.m4: Removed.
10494         * pkg.m4: New file.
10496 2004-01-30  Mohan Embar  <gnustuff@thisiscool.com>
10498         * gnu/java/net/PlainSocketImpl.java 
10499         (inChannelOperation): New field.
10500         (isInChannelOperation): New accessor.
10501         (setInChannelOperation): New modifier.
10502         * gnu/java/nio/ServerSocketChannelImpl.java
10503         (accept): Set and reset our server socket's PlainSocketImpl's
10504         "in channel operation" indicator before and after delegating
10505         the accept to our server socket.
10506         * gnu/java/nio/SocketChannelImpl.java
10507         (connect): Set and reset our socket's PlainSocketImpl's "in channel
10508         operation" indicator before and after delegating the operation to
10509         our socket.
10510         (read): Likewise.
10511         (write): Likewise.
10512         * java/net/ServerSocket.java (implAccept): Don't throw an
10513         IllegalBlockingModeException if we have a non-blocking
10514         channel which initiated this accept operation.
10515         * java/net/Socket.java (connect): Don't throw an
10516         IllegalBlockingModeException if we have a non-blocking
10517         channel which initiated this connect operation.
10518         * java/nio/channels/spi/AbstractSelectableChannel.java
10519         (configureBlocking): Only call implConfigureBlocking() if
10520         the desired blocking mode is different from our current one.
10522 2004-01-29  Mohan Embar  <gnustuff@thisiscool.com>
10524         * java/io/BufferedReader.java (sbuf): New field.
10525         (readLine): Use String.valueOf instead of new String() as per
10526         Per Bothner's suggestion. Use instance sbuf field instead of a
10527         local StringBuffer instance.
10528         * java/io/InputStreamReader.java (read(char[],int,int)): Pass the
10529         caller's buffer to refill().
10530         (read(void)): Pass our internal work buffer to refill if our
10531         input queue is empty.
10532         (refill): Changed return type to int. Use the specified buffer
10533         instead of our work buffer as per Bryce McKinlay's suggestion.
10534         Return the number of characters read or -1 for EOF.
10536 2004-01-29  Scott Gilbertson  <scottg@mantatest.com>
10538         * gnu/awt/xlib/XCanvasPeer.java (handleEvent): Implemented.
10540 2004-01-29  Scott Gilbertson  <scottg@mantatest.com>
10542         * Makefile.am: Added gnu/awt/xlib/XFontPeer.java.
10543         * Makefile.in: Re-generated.
10544         * gnu/awt/xlib/XFontPeer.java: New file.
10545         * gnu/awt/xlib/XGraphics.java (setFont): Test for null font.
10546         (setClip): Commented out debug printout.
10547         * gnu/awt/xlib/XToolkit.java: Change superclass to ClasspathToolkit.
10548         (getFontPeer): Return XFontPeer.
10549         (getLocalGraphicsEnvironment): New method.
10550         (getClasspathFontPeer): New method.
10551         (createFont): New method.
10553 2004-01-29  Scott Gilbertson  <scottg@mantatest.com>
10555         * gnu/java/awt/peer/ClasspathFontPeer.java (getTransform): Never
10556         return null. 
10558 2004-01-29  Kim Ho  <kho@redhat.com>
10560         * gnu/java/awt/peer/gtk/GtkFramePeer.java
10561         (gtkLayoutSetVisible): New method
10562         (setMenuBar): Hide layout before setting MenuBar
10563         and reshow it after.
10564         * jni/gtk-peer/gnu_java_awt_peer_gtk_GtkWindowPeer.c
10565         (gtkLayoutSetVisible): Hide or show the Gtk Layout.
10567 2004-01-28  Michael Koch  <konqueror@gmx.de>
10569         * gnu/java/lang/ClassHelper.java
10570         (getPackagePortion): Removed.
10572 2004-01-28  Michael Koch  <konqueror@gmx.de>
10574         * javax/swing/JComponent.java
10575         (listenerList): Initalize globally.
10576         (ancestor_list): Removed.
10577         (veto_list): Removed.
10578         (change_list): Removed.
10579         (get_veto_list): Removed.
10580         (get_change_list): Removed.
10581         (get_ancestor_list): Removed.
10582         (removeAncestorListener): Reimplemented.
10583         (removePropertyChangeListener): Likewise.
10584         (removeVetoableChangeListener): Likewise.
10585         (addAncestorListener): Likewise.
10586         (addPropertyChangeListener): Likewise.
10587         (addVetoableChangeListener): Likewise.
10588         (getListeners): New method.
10589         (getAncestorListeners): Likewise.
10590         (getVetoableChangeListeners): Likewise.
10591         (fireVetoableChange): Throws PropertyVetoException.
10592         * javax/swing/JEditorPane.java
10593         (JEditorPane): Throws IOException.
10595 2004-01-28  David Jee  <djee@redhat.com>
10597         * gnu/java/awt/peer/gtk/GtkFramePeer.java
10598         (create): Set the default foreground color to
10599         java.awt.SystemColor.windowText.
10601 2004-01-27  Michael Koch  <konqueror@gmx.de>
10603         * gnu/java/awt/peer/gtk/GdkClasspathFontPeer.java,
10604         * gnu/java/awt/peer/gtk/GdkGlyphVector.java:
10605         Reindented to merge with classpath.
10607 2004-01-27  David Jee  <djee@redhat.com>
10609         * jni/gtk-peer/gnu_java_awt_peer_gtk_GtkComponentPeer.c
10610         (addExposeFilter): Handle GtkFramePeer separately.
10611         (removeExposeFilter): Likewise.
10613 2004-01-27  Michael Koch  <konqueror@gmx.de>
10615         * gnu/java/net/protocol/http/Connection.java
10616         (getOutputStream): Fixed typo.
10618 2004-01-27  Michael Koch  <konqueror@gmx.de>
10620         * java/lang/Class.java
10621         (getConstructor): Removed SecurityException from throws clause.
10622         (_getConstructors): Likewise.
10623         (getConstructors): Likewise.
10624         (getDeclaredConstructor): Likewise.
10625         (getDeclaredClasses): Likewise.
10626         (getDeclaredConstructors): Likewise.
10627         (getDeclaredField): Likewise.
10628         (getDeclaredMethod): Likewise.
10629         (getDeclaredMethods): Likewise.
10630         (getField): Likewise.
10631         (getMethod): Likewise.
10632         (getMethods): Likewise.
10634 2004-01-27  Kim Ho  <kho@redhat.com>
10636         * gnu/java/awt/peer/gtk/GtkFramePeer.java
10637         (removeMenuBarPeer): Remove MenuBarPeer argument.
10638         * gnu/java/awt/peer/gtk/GtkMenuComponentPeer.java
10639         (dispose): Call native method.
10640         * java/awt/Frame.java (setMenuBar): Create and remove
10641         MenuBar peers only if the Frame has a peer.
10642         (addNotify): Create the MenuBar peer if one exists.
10643         (removeNotify): Remove MenuBar peer if one exists.
10644         * java/awt/Menu.java: Fix imports.
10645         (addNotify): Don't use full class name.
10646         (removeNotify): Call removeNotify on all children.
10647         * java/awt/MenuBar.java (removeNotify): Call
10648         removeNotify on all children.
10649         * jni/gtk-peer/gnu_java_awt_peer_gtk_GtkWindowPeer.c
10650         (removeMenuBarPeer): Remove MenuBarPeer argument.
10651         Iterate through children to find the Frame's MenuBar.
10652         * jni/gtk-peer/gnu_java_awt_peer_gtk_GtkMenuComponentPeer.c
10653         New file.
10654         (dispose): Remove references to the MenuComponent.
10656 2004-01-27  Michael Koch  <konqueror@gmx.de>
10658         * javax/swing/AbstractCellEditor.java: Reformated.
10659         * javax/swing/DefaultListSelectionModel.java
10660         (listenerList): Made protected.
10661         (addListSelectionListener): Javadoc added.
10662         (removeListSelectionListener): Likewise.
10663         (getListeners): Likewise.
10664         (getListSelectionListeners): Likewise.
10665         * javax/swing/JComboBox.java: Merged copyright year.
10666         * javax/swing/plaf/basic/BasicGraphicsUtils.java: Merged empty line.
10668 2004-01-26  Andrew Haley  <aph@redhat.com>
10670         * javax/swing/table/JTableHeader.java: Extend JComponent
10672 2004-01-26  Kim Ho  <kho@redhat.com>
10674         * gnu/java/awt/peer/gtk/GtkFramePeer.java (setMenuBar):
10675         Fix spacing.
10677 2004-01-26  Kim Ho  <kho@redhat.com>
10679         * gnu/java/awt/peer/gtk/GtkFramePeer.java (moveLayout): New
10680         method.
10681         (setMenuBar): Shift the Gtk layout up/down by the MenuBar
10682         height and let the Layout Managers readjust anything that
10683         needs to move.
10684         * jni/gtk-peer/gnu_java_awt_peer_gtk_GtkWindowPeer.c
10685         (moveLayout): New method. Shift everything in the Gtk
10686         layout in the Y direction by an offset.
10688 2004-01-26  David Jee  <djee@redhat.com>
10690         * gnu/java/awt/peer/gtk/GtkComponentPeer.java
10691         (handleEvent): Implemented. Handles PaintEvents.
10692         (paint): Implemented. Use GTK native methods to queue updates
10693         for this heavyweight peer.
10694         * gnu/java/awt/peer/gtk/GtkContainerPeer.java
10695         (handleEvent): Removed.
10696         * java/awt/Component.java
10697         (paint): Implemented. Explictly paint the heavyweight peer.
10698         (update): Clear the background for heavyweight components.
10699         (paintAll): No need to call peer.paint() anymore.
10700         (processEvent): Don't process PaintEvents here. It's now done in
10701         the peer's handleEvent().
10702         (processPaintEvent): Removed.
10703         * java/awt/Container.java
10704         (paint): No need to call super.paint(). Visit heavyweight
10705         children as well.
10706         (update): Don't clear the background here.  It's done in
10707         Component.update().
10708         (visitChildren): Added check to not recurse into Containers.
10709         * jni/gtk-peer/gnu_java_awt_peer_gtk_GtkComponentPeer.c
10710         (filter_expose_event_handler): New method.  Filter unwanted
10711         expose events while painting heavyweight peers.
10712         (Java_gnu_java_awt_peer_gtk_GtkComponentPeer_addExposeFilter):
10713         New method. Connect filter and block pre_event_handler.
10714         (Java_gnu_java_awt_peer_gtk_GtkComponentPeer_removeExposeFilter):
10715         New method. Disconnect filter and unblock pre_event_handler.
10716         (Java_gnu_java_awt_peer_gtk_GtkComponentPeer_gtkWidgetQueueDrawArea):
10717         New method. Invalidate and update given area.
10718         * jni/gtk-peer/gnu_java_awt_peer_gtk_GtkEvents.c
10719         (pre_event_handler): Add checks for unwanted expose events.
10721 2004-01-26  David Jee  <djee@redhat.com>
10723         * jni/gtk-peer/gnu_java_awt_peer_gtk_GtkComponentPeer.c
10724         (find_bg_color_widget): For GtkButton, return its child.
10726 2004-01-26  Kim Ho  <kho@redhat.com>
10728         * gnu/java/awt/peer/gtk/GtkFramePeer.java (menuBarHeight): Mark
10729         private.
10730         (setMenuBar): Grab MenuBar height and change insets.
10731         (setBounds): Account for MenuBar height.
10732         (postInsetsChangedEvent): Ditto.
10733         (postSizeAllocateEvent): Remove.
10734         * jni/gtk-peer/gnu_java_awt_peer_gtk_GtkWindowPeer.c
10735         (menubar_resize_cb): Remove
10736         (setMenuBarPeer): Remove callback.
10737         (getMenuBarHeight): Use size requisition instead of
10738         allocation.
10740 2004-01-25  Thomas Fitzsimmons  <fitzsim@redhat.com>
10742         * java/awt/TextArea.java: Fix indentation.  Flesh out javadocs.
10743         (getMinimumSize (int, int)): Fix FIXME -- return Dimension (0,0)
10744         when peer is null.
10745         (setColumns): Remove FIXME -- peer will retrieve number of
10746         columns by calling getColumns.
10747         (setRows): Likewise for number of rows.
10748         (next_text_number): New field.
10749         (paramString): Fix param string.
10750         (generateName): New method.
10751         (getUniqueLong): New method.
10753 2004-01-25  Thomas Fitzsimmons  <fitzsim@redhat.com>
10755         * gnu/java/awt/peer/gtk/GtkToolkit.java (checkImage): Inform
10756         image observer of image loading status.
10757         (getImage (String)): Start image production.
10758         (getImage (URL)): Likewise.
10760 2004-01-25  Michael Koch  <konqueror@gmx.de>
10762         * java/lang/Class.java: Imports reworked, reformated.
10763         (Class): Javadoc added.
10764         (forName): Likewise.
10765         (getClasses): Likewise.
10766         (getClassLoader): Likewise.
10767         (getComponentType): Likewise.
10768         (getConstructor): Likewise.
10769         (getConstructors): Likewise.
10770         (getDeclaredConstructor): Likewise.
10771         (getDeclaredClasses): Likewise.
10772         (getDeclaredConstructors): Likewise.
10773         (getDeclaredField): Likewise.
10774         (getDeclaredMethod): Likewise.
10775         (getDeclaredMethods): Likewise.
10776         (getDeclaringClass): Likewise.
10777         (getField): Likewise.
10778         (getInterfaces): Likewise.
10779         (getMethod): Likewise.
10780         (getMethods): Likewise.
10781         (getModifiers): Likewise.
10782         (getName): Likewise.
10783         (getResource): Likewise.
10784         (getResourceAsStream): Likewise.
10785         (getSigners): Likewise.
10786         (setSigners): Likewise.
10787         (getSuperclass): Likewise.
10788         (isArray): Likewise.
10789         (isAssignableFrom): Likewise.
10790         (isInstance): Likewise.
10791         (isInterface): Likewise.
10792         (isPrimitive): Likewise.
10793         (newInstance): Likewise.
10794         (getProtectionDomain): Likewise.
10795         (toString): Likewise.
10796         (Class): Moved.
10797         (initializeClass): Likewise.
10798         (finalize): Likewise.
10800 2004-01-24  Michael Koch  <konqueror@gmx.de>
10802         * gnu/java/net/protocol/jar/Connection.java
10803         (hdrHash): Removed.
10804         (hdrVec): Removed.
10805         (gotHeaders): Removed.
10806         (getHeaderField): Removed.
10807         (getHeaderFields): Removed.
10808         (getHeaderFieldKey): Removed.
10809         (getKey): Removed.
10810         (getField): Removed.
10811         (getHeaders): Removed.
10813 2004-01-24  Michael Koch  <konqueror@gmx.de>
10815         * Makefile.am: Added library version to gtk peer lib.
10816         * Makefile.in: Regenerated.
10818 2004-01-24  Michael Koch  <konqueror@gmx.de>
10820         * java/util/zip/InflaterInputStream.java: Merged class documentation
10821         with classpath.
10823 2004-01-21  Jakub Jelinek  <jakub@redhat.com>
10825         * include/powerpc-signal.h: Add #ifndef __powerpc64__ around the
10826         header.  For __powerpc64__ provide the default-signal.h definitions
10827         for now.
10828         * include/x86_64-signal.h [!__x86_64__]: Include java-signal-aux.h
10829         instead of the dummy definitions.
10830         * configure.host (x86_64-*): Remove CHECKREFSPEC, add DIVIDESPEC.
10831         (powerpc64*-*): Remove with_libffi_default.
10832         Only add -mminimal-toc for 64-bit compilations.
10833         * configure.in: Use powerpc-signal.h on powerpc64 as well.
10834         (x86_64-*-linux*): Set SIGNAL_HANDLER_AUX.
10835         Link SIGNAL_HANDLER_AUX to include/java-signal-aux.h.
10836         * configure: Rebuilt.
10838 2004-01-23  Michael Koch  <konqueror@gmx.de>
10840         * gnu/java/nio/FileLockImpl.java: Compile fixes.
10842 2004-01-23  Michael Koch  <konqueror@gmx.de>
10844         * java/lang/VMClassLoader.java: Reworked imports.
10845         
10846 2004-01-23  Michael Koch  <konqueror@gmx.de>
10848         * javax/swing/AbstractAction.java: Reformated.
10850 2004-01-23  Michael Koch  <konqueror@gmx.de>
10852         * java/text/CollationElementIterator.java:
10853         (setText): New method.
10855 2004-01-23  Michael Koch  <konqueror@gmx.de>
10857         * gnu/java/nio/FileLockImpl.java:
10858         Fixed filename in copyright.
10859         (released): Removed.
10860         (finalize): New method.
10861         * gnu/java/nio/natFileLockImpl.cc
10862         (releaseImpl): Implemented.
10863         * java/nio/channels/FileChannelImpl.java:
10864         Reworked imports.
10865         (lock): Implemented.
10866         (lockImpl): New method.
10867         (tryLock): Implemented.
10868         (tryLockImpl): New method.
10869         * java/nio/channels/natFileChannelImpl.cc
10870         (lockImpl): New method.
10871         (tryLockImpl): New method.
10873 2004-01-23  Michael Koch  <konqueror@gmx.de>
10875         * java/io/FileDescriptor.java
10876         (lock): New method.
10877         (tryLock): New method.
10878         (unlock): New method.
10879         * java/io/natFileDescriptorEcos.cc
10880         (lock): New method.
10881         (tryLock): New method.
10882         (unlock): New method.
10883         * java/io/natFileDescriptorPosix.cc
10884         (lock): New method.
10885         (tryLock): New method.
10886         (unlock): New method.
10887         * java/io/natFileDescriptorWin32.cc
10888         (lock): New method.
10889         (tryLock): New method.
10890         (unlock): New method.
10892 2004-01-23  Michael Koch  <konqueror@gmx.de>
10894         * java/io/FileDescriptor.java
10895         (sync): Moved around, added javadoc.
10896         (valid): Likewise.
10897         (open): Likewise.
10898         (write): Likewise.
10899         (close): Likewise.
10900         (setLength): Likewise.
10901         (seek): Likewise.
10902         (getLength): Likewise.
10903         (getFilePointer): Likewise.
10904         (read): Likewise.
10905         (available): Likewise.
10906         (finalize): Likewise.
10908 2004-01-23  Michael Koch  <konqueror@gmx.de>
10910         * javax/swing/AbstractAction.java: Reformated.
10911         (getPropertyChangeListeners): New method.
10912         * javax/swing/AbstractCellEditor.java: Reformated.
10913         (getCellEditorListeners): New method.
10914         * javax/swing/DefaultListSelectionModel.java
10915         (listenerList): New field.
10916         (listeners): Removed.
10917         (get_listeners): Removed.
10918         (addListSelectionListener): Rewritten.
10919         (removeListSelectionListener): Rewritten.
10920         (getListSelectionListeners): New method.
10921         (getListeners): New method.
10922         * javax/swing/JComboBox.java: Imports reworked.
10923         (addActionListener): Implemented.
10924         (removeActionListener): Implemented.
10925         (addItemListener): Implemented.
10926         (removeItemListener): Implemented.
10927         (addPopupMenuListener): Implemented.
10928         (removePopupMenuListener): Implemented.
10929         (getActionListeners): New method.
10930         (getItemListeners): New method.
10931         (getPopupMenuListeners): New method.
10933 2004-01-23  Michael Koch  <konqueror@gmx.de>
10935         * gnu/java/net/protocol/http/Connection.java
10936         (connect): Don't initialize bufferedOutputStream if not needed.
10937         (sendRequest): Set property for content length if content is present.
10938         Write content only if present.
10939         (getOutputStream): Check if already connected, dont connect,
10940         initalize bufferedOutputStream if needed.
10942 2004-01-23  Michael Koch  <konqueror@gmx.de>
10944         * java/io/FileDescriptor.java
10945         (in, out, err): Added javadoc.
10946         (static): Merged loading code.
10947         (fd, position): Moved around.
10949 2004-01-23  Michael Koch  <konqueror@gmx.de>
10951         * gnu/java/awt/doc-files/BitwiseXORComposite-1.png:
10952         New file.
10954 2004-01-23  Michael Koch  <konqueror@gmx.de>
10956         * java/lang/Class.java,
10957         java/lang/Object.java,
10958         java/lang/Thread.java: Merged copyright with classpath.
10960 2004-01-23  Michael Koch  <konqueror@gmx.de>
10962         * java/io/FileDescriptor.java: Merged copyright with classpath to
10963         start merging this class.
10965 2004-01-22  Tom Tromey  <tromey@redhat.com>
10967         PR libgcj/13107:
10968         * testsuite/libjava.lang/pr13107_2.xfail: New file.
10969         * testsuite/libjava.lang/pr13107_3.xfail: New file.
10970         * testsuite/libjava.lang/pr13107_3.java: New file.
10971         * testsuite/libjava.lang/pr13107_3.out: New file.
10972         * testsuite/libjava.lang/pr13107_2.java: New file.
10973         * testsuite/libjava.lang/pr13107_2.out: New file.
10974         * testsuite/libjava.lang/pr13107.java: New file.
10975         * testsuite/libjava.lang/pr13107.out: New file.
10976         * verify.cc (jsr_ptrs): Removed.
10977         (entry_points): Likewise.
10978         (struct subr_info): Likewise.
10979         (struct subr_entry_info): Likewise.
10980         (type_val::unused_by_subroutine_type): Likewise.
10981         (type::merge): Don't handle unused_by_subroutine_type.
10982         (type::print): Likewise.
10983         (state::flags): Removed.
10984         (state::subroutine): Likewise.
10985         (state::seen_subrs): Likewise.
10986         (state::NO_STACK): Likewise.
10987         (state::FLAG_CHANGED, state::FLAG_UNUSED): Likewise.
10988         (state): Updated all methods.
10989         (state::clean_subrs): Removed.
10990         (state::state): Removed `ret_semantics' flag.
10991         (state::copy): Likewise.
10992         (state::add_subr): Removed.
10993         (state::enter_subroutine): Likewise.
10994         (type::set_return_address): New method.
10995         (handle_jsr_insn): Set return address on the type.  Always
10996         invalidate PC after call.
10997         (check_nonrecursive_call): Removed.
10998         (~_Jv_BytecodeVerifier): Updated.
10999         (branch_prepass): Removed special handling of jsr.
11000         (note_branch_target): Likewise.
11001         (get_subroutine): Removed.
11002         (state::merge): Don't merge subroutines and don't handle
11003         NO_STACK.  Removed ret_semantics and jsr_semantics arguments.
11004         (state::note_variable): Removed.
11005         (state::is_unmerged_ret_state): Likewise.
11006         (state::print): Updated.
11007         (set_variable): Likewise.
11008         (merge_into): Renamed from push_jump_merge.  Removed ret_semantics
11009         and jsr_semantics arguments.  Updated for new reverification
11010         list.
11011         (pop_jump): Rewrote.
11012         (construct_primitive_array_type): Updated.
11013         (state::next): Removed.
11014         (INVALID_STATE): New define.
11015         (state::INVALID): Removed.
11016         (state::NO_NEXT): New value.
11017         (state::pc, state::next): New fields.
11018         (state::get_pc): New method.
11019         (next_verify_pc): Removed.
11020         (next_verify_state): New field.
11021         (verify_instructions_0): Always check for falling off end.
11022         (linked): New type.
11023         (linked_utf8): Removed.
11024         (states): Changed type.
11025         (type::state_mergeable_p): New method.
11026         (state::state_mergeable_p): Likewise.
11027         (handle_ret_insn): Removed most code.
11028         (state::reverify): New method.
11029         (add_new_state): Likewise.
11030         (state::set_pc): Likewise.
11032 2004-01-22  Jeff Sturm  <jsturm@one-point.com>
11034         PR java/13733
11035         * testsuite/libjava.compile/PR13733.java: New file.
11036         * testsuite/libjava.compile/PR13733.xfail: New file.
11038 2004-01-22  Arnaud Vandyck  <arnaud.vandyck@ulg.ac.be>
11039             Michael Koch  <konqueror@gmx.de>
11041         * javax/swing/table/DefaultTableCellRenderer.java
11042         (DefaultTableCellRenderer): Added javadoc for the class and for
11043         the constructor, Border instance, create an EmptyBorder.
11044         (UIResource): Removed the comment at the end of the class
11045         (setForeground): New method.
11046         (setBackground): New method.
11047         (updateUI): New method.
11048         (getTableCellRendererComponent): Rewritten with the help of
11049         dvholten and Stephane Meslin-Weber.
11050         (validate): New method.
11051         (repaint): New method.
11052         (firePropertyChange): New method.
11053         (setValue): New method.
11055 2004-01-22  Thomas Fitzsimmons  <fitzsim@redhat.com>
11057         * jni/gtk-peer/gnu_java_awt_peer_gtk_GtkWindowPeer.c
11058         (connectJObject): Replace printf calls with g_assert statements.
11059         Move property-notify-event signal connection to ...
11060         (connectSignals): Connect property-notify-event signal.  Iterate
11061         through the vbox's children to find layout.
11063 2004-01-22  Graydon Hoare  <graydon@redhat.com>
11064         
11065         * gnu/java/awt/peer/gtk/GdkClasspathFontPeer.java: 
11066         * gnu/java/awt/peer/gtk/GdkGlyphVector.java:
11067         Predicate static initialization on GtkToolkit.useGraphics2D().
11068         * java/awt/Component.java (processPaintEvent): Consume event.
11069         * javax/swing/AbstractButton.java: Reimplement, document.
11070         * javax/swing/DefaultButtonModel.java: Reimplement, document.
11071         * javax/swing/JComponent.java (paint): Use double buffer.
11072         (listenerList): Enable member.
11073         * javax/swing/ToggleButtonModel.java: Remove incorrect constructor.
11074         * javax/swing/JToggleButton.java 
11075         (JToggleButton): Modify model constructor.
11076         * javax/swing/SwingUtilities.java 
11077         (layoutCompoundLabel): Adjust arithmetic.
11078         * javax/swing/plaf/basic/BasicButtonUI.java: Reimplement, document.
11079         * javax/swing/plaf/basic/BasicGraphicsUtils.java 
11080         (getPreferredButtonSize): Include margins in calculation.
11081         * jni/gtk-peer/gnu_java_awt_peer_gtk_GtkWindowPeer.c
11082         (Java_gnu_java_awt_peer_gtk_GtkWindowPeer_connectSignals):
11083         Receive up events from subordinate layout component.
11085 2004-01-21  Thomas Fitzsimmons  <fitzsim@redhat.com>
11087         * java/awt/Component.java (show): Set visible to true before
11088         showing the peer.
11090 2004-01-21  Kim Ho  <kho@redhat.com>
11092         * gnu/java/awt/peer/gtk/GtkFramePeer.java (postConfigureEvent):
11093         Fix comments.
11094         (removeMenuBarPeer): Make package private.
11095         (setMenuBarPeer): Make package private.
11096         * jni/gtk-peer/gnu_java_awt_peer_gtk_GtkWindowPeer.c
11097         (menubar_resize_cb): Mark attributes unused.
11098         (getMenuBarHeight): ditto.
11100 2004-01-21  David Jee  <djee@redhat.com>
11102         * java/awt/Container.java
11103         (LightweightDispatcher.handleEvent): Add an extra check to avoid
11104         dispatching MOUSE_ENTERED event twice. Translate the point for
11105         the mouse event target before dispatching the event.
11107 2004-01-20  Jakub Jelinek  <jakub@redhat.com>
11109         * Makefile.am (lib_org_w3c_dom_la_LIBADD,
11110         lib_org_w3c_dom_la_LDFLAGS): New.
11111         (lib_org_xml_sax_la_LIBADD, lib_org_xml_sax_la_LDFLAGS): New.
11112         * Makefile.in: Rebuilt.
11114 2004-01-20  Thomas Fitzsimmons  <fitzsim@redhat.com>
11116         * gnu/java/awt/peer/gtk/GtkComponentPeer.java (setBounds):
11117         Calculate proper offsets for heavyweight components packed in
11118         lightweight containers.
11120         * gnu/java/awt/peer/gtk/GtkTextFieldPeer.java,
11121         jni/gtk-peer/gnu_java_awt_peer_gtk_GtkTextFieldPeer.c
11122         (native create): Add width parameter.
11123         (create): Calculate text entry width based on current font's
11124         metrics and number of columns.  Set TextField's font if not
11125         already set.  Call native create.
11126         (gtkEntryGetBorderWidth): New native method.
11127         (gtkEntryGetSize): Remove method.
11128         (getMinimumSize): Call minimumSize.
11129         (getPreferredSize): Call preferredSize.
11130         (minimumSize): Calculate minimum size based on backing
11131         GtkEntry's borders, font metrics and number of columns.
11132         (preferredSize): Likewise for preferred size.
11133         (get_border_width): New static function.
11135         * gnu/java/awt/peer/gtk/GtkFramePeer.java (setResizable):
11136         Override GtkWindowPeer's setResizable method to account for menu
11137         bar height when setting the frame's size.
11139 2004-01-19  Matthias Klose  <doko@debian.org>
11141         * libtool-version: Increased `current' to 6.
11143 2004-01-19  Kim Ho  <kho@redhat.com>
11145         * jni/gtk-peer/gnu_java_awt_peer_gtk_GtkWindowPeer.c
11146         (connectJObject): Iterate through the vbox's children to find layout.
11148 2004-01-19  Fernando Nasser  <fnasser@redhat.com>
11150         * java/awt/EventQueue.java (invokeAndWait): Use list-aware
11151         isDispatchThread method to replace wrong test condition.
11153 2004-01-19  Fernando Nasser  <fnasser@redhat.com>
11155         * java/awt/EventQueue.java (pop): Prevent racing condition to add
11156         events to the queue out of order by acquiring locks in the proper
11157         order and not by releasing one before acquiring the other.
11159 2004-01-19  Fernando Nasser  <fnasser@redhat.com>
11161         * gnu/java/awt/peer/gtk/TestAWT.java (DialogWindow): Make text not
11162         visible so that dialog can be reused.
11164 2004-01-19  Fernando Nasser  <fnasser@redhat.com>
11166         * java/awt/EventQueue.java (getCurrentEvent): Consider that system
11167         events may be handled by any queue in the stack.
11169 2004-01-19  Kim Ho  <kho@redhat.com>
11171         * gnu/java/awt/peer/gtk/GtkFramePeer.java (getMenuBarHeight): Added
11172         MenuBarPeer parameter.
11173         (removeMenuBarPeer): New native method.
11174         (setMenuBar): Call remove if menu bar is null. Adjust insets
11175         appropriately.
11176         (postSizeAllocateEvent): New method. Called when menu bar size is
11177         allocated. Adjust insets and redo layout.
11178         (GtkFramePeer): Set menu bar during frame creation.
11179         (postConfigureEvent): Adjust position and size to accomodate
11180         menu bar.
11181         * java/awt/Frame.java (setMenuBar): addNotify to create menu bar.
11182         * java/awt/Menu.java (addSeparator): Use peer's addSeparator.
11183         (addNotify): Create the peer if it doesn't exist and call addNotify
11184         for the menu's items.
11185         * java/awt/MenuBar.java (addNotify): Create this menu bar's menus.
11186         * java/awt/MenuItem.java (addNotify): Create the peer if it
11187         doesn't exist.
11188         * jni/gtk-peer/gnu_java_awt_peer_gtk_GtkWindowPeer.c
11189         (removeMenuBarPeer): New method. Remove menu bar on the current
11190         frame.
11191         (setMenuBarPeer): Add the menu bar to the current frame and the
11192         callback for size-allocate events on the menu bar.
11193         (getMenuBarHeight): Add menu bar parameter.
11194         (menubar_resize_cb): New callback method for postSizeAllocate events.
11196         Also: Fix indentation on last ChangeLog entry.
11198 2004-01-16  Kim Ho  <kho@redhat.com>
11200         * gnu/java/awt/peer/gtk/GtkFileDialogPeer.java
11201         (gtkWidgetGetDimensions): Remove.
11202         * jni/gtk-peer/gnu_java_awt_peer_gtk_GtkWindowPeer.c
11203         (gtkWidgetGetDimensions): Remove.
11205 2004-01-16  Tom Tromey  <tromey@redhat.com>
11207         * java/awt/Container.java: Typo and indentation fixes.
11209         * java/lang/natClassLoader.cc: Moved VMClassLoader methods...
11210         * java/lang/natVMClassLoader.cc: ...here.  New file.
11211         * Makefile.in: Rebuilt.
11212         * Makefile.am (nat_source_files): Added natVMClassLoader.cc.
11214 2004-01-16  Fernando Nasser  <fnasser@redhat.com>
11216         * jni/gtk-peer/gnu_java_awt_peer_gtk_GtkEvents.c (pre_event_handler):
11217         Discard GDK_ENTER_NOTIFY related to ungrabs.
11219 2004-01-16  Fernando Nasser  <fnasser@redhat.com>
11221         * java/awt/EventQueue.java (pop): Prevent breaking the chain if pop
11222         is called for an intermediate queue.
11224 2004-01-16  Thomas Fitzsimmons  <fitzsim@redhat.com>
11226         * jni/gtk-peer/gnu_java_awt_peer_gtk_GtkWindowPeer.c
11227         (window_property_changed_cb): Set id_set.
11229 2004-01-16  Kim Ho  <kho@redhat.com>
11231         * gnu/java/awt/peer/gtk/GtkComponentPeer.java (GtkComponentPeer): If
11232         it is a FileDialog and has dimensions of 0 by 0, then the initial
11233         size is set to size request plus insets.
11234         * gnu/java/awt/peer/gtk/GtkFileDialogPeer.java
11235         (gtkWidgetGetDimensions): Override method.
11236         * jni/gtk-peer/gnu_java_awt_peer_gtk_GtkWindowPeer.c
11237         (gtkWidgetGetDimensions): Override method. Returns size request plus
11238         insets.
11240 2004-01-16  Andrew Haley  <aph@redhat.com>
11242         * sysdep/x86-64/locks.h: Don't use in/out memory constraints.
11243         * sysdep/i386/locks.h: Likewise.
11245 2004-01-16  Fernando Nasser  <fnasser@redhat.com>
11247         * java/awt/EventDispatchThread.java (run): Stop running when
11248         interrupted.
11249         * java/awt/EventQueue.java (pop): Stop dispatch thread when done.
11250         Reset the queue after transferring its contents.
11251         (push): Start a new dispatch thread if none is running.
11253 2004-01-16  Olga Rodimina <rodimina@redhat.com>
11255         * gnu/java/awt/peer/gtk/GdkGraphics2D.java:
11256         (doPolygon): set fill rule of polygon to 
11257         WIND_EVEN_ODD by default.
11259 2004-01-15  Olga Rodimina <rodimina@redhat.com>
11261         * gnu/java/awt/peer/gtk/GdkGraphics2D.java:
11262         Implemented rendering hints related methods.
11263         (getDefaultHints): New helper method. Returns
11264         default rendering hints.
11265         (walkPath): changed to normalize path if
11266         the KEY_STROKE_CONTROL key is in "normalize" mode.
11267         (draw3DRect): changed coordinates of rectangle by +0.5
11268         if in "normalize" mode.
11270 2004-01-15  Tom Tromey  <tromey@redhat.com>
11272         * Makefile.in: Rebuilt.
11273         * Makefile.am (gnu/gcj/runtime/StackTrace.lo): New rule.
11274         (%.lo: %.java) Filter out StackTrace.lo.
11276 2004-01-14  Kelley Cook  <kcook@gcc.gnu.org>
11278         * configure.in: Add in AC_PREREQ(2.13)
11279         * libltdl/configure.ac: Update to AC_PREREQ(2.57).  Delete 
11280         FIXME comment.
11282 2004-01-14  Nathan Bryant  <nbryant@optonline.net>
11283             Tom Tromey  <tromey@redhat.com>
11285         PR libgcj/12001:
11286         * gnu/gcj/runtime/VMClassLoader.java (VMClassLoader): Pass empty
11287         array to superclass.
11288         (init): Changed interface; add URLs here.
11289         (initialize): New static method.
11290         * prims.cc (_Jv_CreateJavaVM): Initialize ClassLoader here...
11291         (_Jv_RunMain): ... not here.
11293 2004-01-14  Michael Koch  <konqueror@gmx.de>
11295         * java/text/MessageFormat.java:
11296         Added descriptions to exceptions.
11297         This fixes PR libgcj/2429.
11299 2004-01-13  Fernando Nasser  <fnasser@redhat.com>
11301         * java/awt/EventQueue.java (isDispatchThread): Do check on top of stack.
11302         (push): Make sure push is performed at the top of the thread stack.
11304 2004-01-13  Thomas Fitzsimmons  <fitzsim@redhat.com>
11306         * gnu/java/awt/peer/gtk/GtkTextAreaPeer.java,
11307         jni/gtk-peer/gnu_java_awt_peer_gtk_GtkTextAreaPeer.c
11308         (native create): Add width and height parameters.  Set text
11309         view's size request according to new parameters.
11310         (create): Calculate text view size based on current font's
11311         metrics and number of rows and columns.  Set TextArea's font if
11312         not already set.  Call native create.
11313         (getMinimumSize): Call minimumSize.
11314         (getPreferredSize): Call preferredSize.
11315         (getHScrollbarHeight): New method.
11316         (getVScrollbarWidth): New method.
11317         (minimumSize): Calculate minimum size based on scrollbar
11318         visibility, scrollbar sizes, font metrics and number of rows and
11319         columns.
11320         (preferredSize): Likewise for preferred size.
11321         (gtkTextGetSize): Remove method.
11323 2004-01-13  Thomas Fitzsimmons  <fitzsim@redhat.com>
11325         * gnu/java/awt/peer/gtk/GtkComponentPeer.java
11326         (initializeInsets): Remove method.
11327         (GtkComponentPeer): Initialize insets field.  Remove call to
11328         initializeInsets.
11329         * gnu/java/awt/peer/gtk/GtkDialogPeer.java (initializeInsets):
11330         Remove method.
11331         * gnu/java/awt/peer/gtk/GtkFramePeer.java (initializeInsets):
11332         Remove method.
11333         * gnu/java/awt/peer/gtk/GtkWindowPeer.java,
11334         jni/gtk-peer/gnu_java_awt_peer_gtk_GtkWindowPeer.c:
11335         (latestInsets): Remove field.
11336         (native create): Add insets parameter.  Call
11337         window_get_frame_extents.  Set the window's default size and
11338         size request based on its frame extents.
11339         (create): Initialize insets.
11340         (postInsetsChangedEvent): New method.
11341         (postConfigureEvent): Remove parameters top, left, bottom,
11342         right.  Remove insets-related logic.
11343         (connectJObject): Handle property-notify-event.
11344         (window_get_frame_extents, request_frame_extents,
11345         property_notify_predicate, window_property_changed_cb): New
11346         static functions.
11347         * jni/gtk-peer/gnu_java_awt_peer_gtk_GtkEvents.c
11348         (pre_event_handler): Remove insets-related logic for configure
11349         events.
11350         * jni/gtk-peer/gnu_java_awt_peer_gtk_GtkMainThread.c (gtkInit):
11351         Update postConfigureEvent signature.
11353 2004-01-13  Fernando Nasser  <fnasser@redhat.com>
11355         * gnu/java/awt/peer/gtk/TestAWT.java (DialogWindow): Add WindowAdapter
11356         to handle Window "Closing" events.
11358 2004-01-13  David Jee  <djee@redhat.com>
11360         * gnu/java/awt/peer/gtk/GtkContainerPeer.java
11361         (setBackground): New method. Children with no explicitly-set
11362         background will be repainted with the parent container's new
11363         background color.
11365 2004-01-13  David Jee  <djee@redhat.com>
11367         * Makefile.am: Add BitwiseXORComposite.java.
11368         * Makefile.in: Regenerated.
11369         * gcj/Makefile.in: Regenerated.
11370         * include/Makefile.in: Regenerated.
11371         * testsuite/Makefile.in: Regenerated.
11373 2004-01-12  Fernando Nasser  <fnasser@redhat.com>
11375         * gnu/java/awt/peer/gtk/TestAWT.java: Fix test program so that it does
11376         not show modal dialogs twice and so that it allows showing a modal
11377         dialog from another modal dialog.
11379 2004-01-12  Fernando Nasser  <fnasser@redhat.com>
11381         * java/awt/Dialog.java (show): Enable blocking for all modal dialogs
11382         and run secondary dispatch thread to process event queue while this
11383         thread is blocked.
11385 2004-01-12  Graydon Hoare  <graydon@redhat.com>
11387         * gnu/java/awt/gtk/GdkGraphics2D.java
11388         (static): Check GtkToolkit before initializing static state.
11389         (Graphics2D): Don't construct transform with 0.5 unit offset.
11391 2003-11-06  Sascha Brawer  <brawer@dandelis.ch>
11393         * gnu/java/awt/BitwiseXORComposite.java: Add.
11394         * gnu/java/awt/peer/gtk/GdkGraphics2D.java
11395         (setXORMode): Switch to gnu.java.awt.BitwiseXORComposite.
11396         (BitwiseXORComposite): Remove inner class.
11398 2004-01-11  Michael Koch  <konqueror@gmx.de>
11400         * gnu/java/lang/reflect/TypeSignature.java
11401         (getEncodingOfClass): Documentation fixed.
11402         (getClassForEncoding): Give class loader to Class.forName().
11403         Documentation fixed.
11405 2004-01-11  Sascha Brawer  <brawer@dandelis.ch>
11407         * javax/swing/undo/CompoundEdit.java (serialVersionUID): Added.
11409 2004-01-11  Michael Koch  <konqueror@gmx.de>
11411         * javax/swing/undo/StateEditable.java
11412         (RCSID): Removed redundant modifiers.
11414 2004-01-10  Michael Koch  <konqueror@gmx.de>
11416         * javax/print/attribute/EnumSyntax.java
11417         (getStringTable): Made protected.
11418         (getEnumValueTable): Likewise.
11419         * javax/print/attribute/standard/JobKOctetsProcessed.java
11420         (JobKOctetsProcessed): Don't implement PrintRequestAttribute.
11421         * javax/print/attribute/standard/JobMediaSheetsCompleted.java
11422         (JobMediaSheetsCompleted): Made class final.
11423         * javax/print/attribute/standard/OutputDeviceAssigned.java
11424         (getName): Fixed typo.
11425         * javax/print/attribute/standard/RequestingUserName.java
11426         (serialVersionUID): Fixed value.
11428 2004-01-10  Michael Koch  <konqueror@gmx.de>
11430         * javax/swing/plaf/basic/BasicButtonUI.java,
11431         javax/swing/plaf/basic/BasicCheckBoxUI.java,
11432         javax/swing/plaf/basic/BasicListUI.java,
11433         javax/swing/plaf/basic/BasicOptionPaneUI.java,
11434         javax/swing/plaf/basic/BasicPanelUI.java,
11435         javax/swing/plaf/basic/BasicRadioButtonUI.java,
11436         javax/swing/plaf/basic/BasicScrollPaneUI.java,
11437         javax/swing/plaf/basic/BasicToggleButtonUI.java,
11438         javax/swing/plaf/basic/BasicViewportUI.java:
11439         Fixed import statements.
11441 2004-01-10  Michael Koch  <konqueror@gmx.de>
11443         * gnu/java/awt/image/ImageDecoder.java
11444         (produce): Made public.
11445         * gnu/java/awt/peer/GLightweightPeer.java,
11446         gnu/java/awt/peer/gtk/GtkToolkit.java:
11447         Reformated.
11449 2004-01-10  Michael Koch  <konqueror@gmx.de>
11451         * javax/swing/JRadioButtonMenuItem.java,
11452         javax/swing/JSeparator.java,
11453         javax/swing/JSplitPane.java,
11454         javax/swing/JTextPane.java,
11455         javax/swing/JToolBar.java,
11456         javax/swing/ListCellRenderer.java,
11457         javax/swing/ListModel.java,
11458         javax/swing/MenuElement.java,
11459         javax/swing/OverlayLayout.java,
11460         javax/swing/ProgressMonitor.java,
11461         javax/swing/ProgressMonitorInputStream.java,
11462         javax/swing/Renderer.java,
11463         javax/swing/RootPaneContainer.java,
11464         javax/swing/Scrollable.java,
11465         javax/swing/SingleSelectionModel.java,
11466         javax/swing/ToolTipManager.java,
11467         javax/swing/ViewportLayout.java,
11468         javax/swing/event/DocumentEvent.java,
11469         javax/swing/event/SwingPropertyChangeSupport.java,
11470         javax/swing/event/TreeSelectionEvent.java,
11471         javax/swing/event/UndoableEditEvent.java,
11472         javax/swing/text/AbstractDocument.java,
11473         javax/swing/text/AttributeSet.java,
11474         javax/swing/text/Caret.java,
11475         javax/swing/text/ComponentView.java,
11476         javax/swing/text/DefaultCaret.java,
11477         javax/swing/text/DefaultEditorKit.java,
11478         javax/swing/text/Document.java,
11479         javax/swing/text/EditorKit.java,
11480         javax/swing/text/GapContent.java,
11481         javax/swing/text/Keymap.java,
11482         javax/swing/text/MutableAttributeSet.java,
11483         javax/swing/text/PlainEditorKit.java,
11484         javax/swing/text/Segment.java,
11485         javax/swing/text/Style.java,
11486         javax/swing/text/StyledDocument.java,
11487         javax/swing/text/StyledEditorKit.java,
11488         javax/swing/text/TextAction.java,
11489         javax/swing/text/View.java: Fixed import statements.
11491 2004-01-08  Graydon Hoare  <graydon@redhat.com>
11493         * javax/swing/JLayeredPane.java: Rewrite to accomodate
11494         djee@redhat.com's recent inverse ordering of Container elements.
11496 2004-01-09  Michael Koch  <konqueror@gmx.de>
11498         * gnu/java/lang/ArrayHelper.java
11499         (equalsArray): Removed.
11501 2004-01-09  Andrew Haley  <aph@redhat.com>
11503         * java/lang/natClassLoader.cc (_Jv_PrepareCompiledClass): Resolve
11504         a Utf8Const field before looking at its class.
11506 2004-01-09  Michael Koch  <konqueror@gmx.de>
11508         * javax/print/attribute/standard/DocumentName.java,
11509         javax/print/attribute/standard/JobHoldUntil.java,
11510         javax/print/attribute/standard/JobMessageFromOperator.java,
11511         javax/print/attribute/standard/JobName.java,
11512         javax/print/attribute/standard/JobOriginatingUserName.java,
11513         javax/print/attribute/standard/OutputDeviceAssigned.java,
11514         javax/print/attribute/standard/PrinterInfo.java,
11515         javax/print/attribute/standard/PrinterLocation.java,
11516         javax/print/attribute/standard/PrinterMakeAndModel.java,
11517         javax/print/attribute/standard/PrinterMessageFromOperator.java,
11518         javax/print/attribute/standard/PrinterName.java,
11519         javax/print/attribute/standard/RequestingUserName.java: New files.
11520         * Makefile.am (javax_source_files): Added new files.
11521         * Makefile.in: Regenerated.
11523 2004-01-09  Michael Koch  <konqueror@gmx.de>
11525         * javax/swing/AbstractAction.java,
11526         javax/swing/AbstractSet.java,
11527         javax/swing/Action.java,
11528         javax/swing/ActionMap.java,
11529         javax/swing/BoundedRangeModel.java,
11530         javax/swing/ButtonModel.java,
11531         javax/swing/CellEditor.java,
11532         javax/swing/CellRendererPane.java,
11533         javax/swing/ComboBoxEditor.java,
11534         javax/swing/DebugGraphics.java,
11535         javax/swing/DefaultCellEditor.java,
11536         javax/swing/DefaultCellRenderer.java,
11537         javax/swing/DefaultComboBoxModel.java,
11538         javax/swing/DefaultDesktopManager.java,
11539         javax/swing/DefaultFocusManager.java,
11540         javax/swing/DefaultListCellRenderer.java,
11541         javax/swing/Icon.java,
11542         javax/swing/JButton.java,
11543         javax/swing/JCheckBoxMenuItem.java,
11544         javax/swing/JDesktopPane.java,
11545         javax/swing/JEditorPane.java,
11546         javax/swing/JMenu.java,
11547         javax/swing/JPanel.java,
11548         javax/swing/JPasswordField.java,
11549         javax/swing/JPopupMenu.java,
11550         javax/swing/JProgressBar.java: Reworked imports.
11552 2004-01-09  Michael Koch  <konqueror@gmx.de>
11554         * java/awt/geom/PathIterator.java
11555         (WIND_EVEN_ODD): Removed redundant modifiers.
11556         (WIND_NON_ZERO): Likewise.
11557         (SEG_MOVETO): Likewise.
11558         (SEG_LINETO): Likewise.
11559         (SEG_QUADTO): Likewise.
11560         (SEG_CUBICTO): Likewise.
11561         (SEG_CLOSE): Likewise.
11562         * java/awt/image/SinglePixelPackedSampleModel.java:
11563         Removed redundant semicolon.
11564         * java/io/ObjectInputStream.java
11565         (inputGetObjectStreamClasses): Removed unused variable "ret_val".
11566         * java/util/logging/Filter.java
11567         (isLoggable): Removed redundant modifier.
11568         * java/util/logging/LogManager.java:
11569         Removed redundant semicolon.
11570         * java/util/logging/XMLFormatter.java
11571         (format): Removed unused variable "key".
11573 2004-01-08  Fernando Nasser  <fnasser@redhat.com>
11575         * gnu/java/awt/peer/gtk/GtkFileDialogPeer.java (nativeSetFile):
11576         New name for the former setFile native method.
11577         (setFile): New method.
11578         (setDirectory): Implemented.
11579         (connectSignals): New native method.
11580         (setFilenameFilter): Improve comment.
11581         (getGraphics): Comment.
11582         (gtkHideFileDialog): New method.
11583         (gtkDisposeFileDialog): New method.
11584         (gtkSetFilename): New method.
11585         * java/awt/Dialog.java (show): Block on modal dialogs, but only
11586         for FileDialog for now.
11587         (hide): New method.
11588         (dispose): New method.
11589         * jni/gtk-peer/gnu_java_awt_peer_gtk_GtkFileDialogPeer.c
11590         (Java_gnu_java_awt_peer_gtk_GtkFileDialog_create): Replace
11591         deprecated creation functions.  Make dialog modal.  Add it to the
11592         window group.
11593         (Java_gnu_java_awt_peer_gtk_GtkFileDialog_connectSignals): New
11594         function.
11595         (Java_gnu_java_awt_peer_gtk_GtkFileDialogPeer_gtkFileSelectionSetFilename):
11596         Rename to...
11597         (Java_gnu_java_awt_peer_gtk_GtkFileDialogPeer_nativeSetFile): New
11598         name.
11599         (window_closed): New function.
11600         (ok_clicked): New function.
11601         (cancel_clicked): New function.
11603 2004-01-08  Michael Koch  <konqueror@gmx.de>
11605         * javax/swing/JLayeredPane.java: Revert changes to standard
11606         boilerplate, reworked imports.
11608 2004-01-07  Tom Tromey  <tromey@redhat.com>
11610         PR libgcj/13439:
11611         * verify.cc (state::merge): Copy changed locals out of subroutine
11612         in NO_STACK case.
11613         (state::FLAG_CHANGED): New const.
11614         (state::FLAG_UNUSED): Likewise.
11615         (state::local_changed): Removed.  Updated all users.
11616         (state::flags): New field.
11617         (state::merge): Added jsr_semantics argument, more logic.
11618         (push_jump_merge): Added jsr_semantics argument.
11619         (handle_jsr_insn): Set jsr_semantics on push_jump_merge when
11620         merging through the jsr instruction.
11622 2004-01-07  Tom Tromey  <tromey@redhat.com>
11624         * scripts/MakeDefaultMimeTypes.java: Use \n, not
11625         backslash-newline.
11627 2004-01-07  Graydon Hoare  <graydon@redhat.com>
11629         * java/awt/Container.java (LightweightDispatcher): Implement.
11630         (visitChild): Reuse graphics object.
11631         (dispatchEventImpl): Optionally dispatch to lightweight.
11632         (addNotifyContainerChildren): Build LightweightDispatcher.
11634 2004-01-07  David Jee  <djee@redhat.com>
11636         * java/awt/Container.java
11637         (update): Clear only the clipped region, instead of clearing the
11638         entire Container.
11639         (visitChildren): Visit children in descending order.
11641 2004-01-07  Michael Koch  <konqueror@gmx.de>
11643         * java/lang/reflect/Array.java: Merged documentation with classpath.
11645 2004-01-07  Michael Koch  <konqueror@gmx.de>
11647         * java/text/CollationElementIterator.java
11648         (textIndex): Renamed from index.
11649         * java/text/CollationKey.java
11650         (collator): New member.
11651         (CollationKey): New argument for parent collator.
11652         (equals): Check for same collator, source string and key array.
11653         * java/text/RuleBasedCollator.java:
11654         Reformated.
11655         (RuleBasedCollator): Don't re-initialize frenchAccents with default
11656         value.
11657         (getCollationElementIterator): Rewritten.
11658         (getCollationKey): Added new argument to CollationKey constructor.
11660 2004-01-07  Michael Koch  <konqueror@gmx.de>
11662         * gnu/java/nio/DatagramChannelImpl.java
11663         (blocking): Removed.
11664         (DatagramChannelImpl): Call configureBlocking().
11665         (implConfigureBlocking): Dont initialize blocking.
11666         * gnu/java/nio/ServerSocketChannelImpl.java
11667         (blocking): Removed.
11668         (ServerSocketChannelImpl): Call configureBlocking().
11669         (implConfigureBlocking): Dont initialize blocking.
11670         * gnu/java/nio/SocketChannelImpl.java
11671         (blocking): Removed.
11672         (SocketChannelImpl): Call configureBlocking().
11673         (implConfigureBlocking): Dont initialize blocking.
11674         (connect): Use isBlocking().
11675         * java/nio/channels/spi/AbstractSelectableChannel.java
11676         (configureBlocking): Use blockingLock() instead of LOCK.
11677         Set blocking after successfully called implConfigureBlocking().
11678         (register): Use blockingLock() instead of LOCK.
11680 2004-01-07  Michael Koch  <konqueror@gmx.de>
11682         * java/net/ServerSocket.java (isBound): Fixed documentation.
11684 2004-01-07  Sascha Brawer  <brawer@dandelis.ch>
11686         * javax/swing/DefaultBoundedRangeModel.java: Documented API.
11687         (changeEvent): Create event object on demand.
11688         (DefaultBoundedRangeModel, toString, setValue, setExtent,
11689         setMinimum, setMaximum, setValueIsAdjusting, setRangeProperties,
11690         fireStateChanged): Re-written.
11691         * javax/swing/event/EventListenerList.java: Reformatted, document
11692         typical usage.
11693         (toString): Implemented.
11694         (getListeners): Re-written.
11695         (remove): Re-written.
11696         (add): Re-written.
11697         (NO_LISTENERS): New singleton field.
11698         (listenerList): Declare as transient; document.
11699         (serialVersionUID): Document.
11700         (getListenerCount(Class)): More efficient implementation,
11701         also accepts null argument.  Improve Javadoc.
11702         (getListenerCount()): Remove unnecessary cast; docfix.
11703         * javax/swing/undo/UndoableEditSupport.java:
11704         Re-format, document.
11705         (UndoableEditSupport): Set realSource field. Improve documentation.
11706         (_postEdit): Iterate over cloned listener vector.
11707         (toString): Don't emit realSource.
11708         (beginUpdate, endUpdate): Support nested updates.
11709         (postEdit): Use compound edit if present.
11711 2004-01-06  Graydon Hoare  <graydon@redhat.com>
11713         * java/awt/Container.java (swapComponents): Add forgotten
11714         function, required for JLayeredPane change.
11716 2004-01-06  Michael Koch  <konqueror@gmx.de>
11718         * java/text/CollationElementIterator.java: Reformated.
11719         (CollationElementIterator): Changed order of arguments.
11720         * java/text/RuleBasedCollator.java
11721         (RuleBasedCollator): Merged class documentation.
11722         (CollationElement): Added documentation.
11723         (compare): Reformated, renamed arguments.
11724         (equals): Likewise.
11725         (getCollationElementIterator): Likewise.
11726         (getCollationKey): Likewise.
11728 2004-01-06  Graydon Hoare  <graydon@redhat.com>
11730         * javax/swing/JLayeredPane.java: Fix semantics, add javadocs.
11732 2004-01-06  Michael Koch  <konqueror@gmx.de>
11734         * gnu/java/net/protocol/file/Connection.java:
11735         Reformated copyright.
11736         (hdrHash): Removed.
11737         (hdrVec): Removed.
11738         (gotHeaders): Removed.
11739         (getHeaderField): Removed.
11740         (getHeaderField): Removed.
11741         (getHeaderFieldKey): Removed.
11742         (getKey): Removed.
11743         (getField): Removed.
11744         (getHeaders): Removed.
11746 2004-01-06  Michael Koch  <konqueror@gmx.de>
11748         * javax/print/attribute/standard/DateTimeAtCompleted.java,
11749         javax/print/attribute/standard/DateTimeAtCreation.java,
11750         javax/print/attribute/standard/DateTimeAtProcessing.java,
11751         javax/print/attribute/standard/JobImpressionsCompleted.java,
11752         javax/print/attribute/standard/JobKOctets.java,
11753         javax/print/attribute/standard/JobKOctetsProcessed.java,
11754         javax/print/attribute/standard/JobMediaSheetsCompleted.java,
11755         javax/print/attribute/standard/JobPrioritySupported.java: New files.
11756         * Makefile.am (javax_source_files): Added new files.
11757         * Makefile.in: Regenerated.
11759 2004-01-06  Michael Koch  <konqueror@gmx.de>
11761         * java/net/URLConnection.java
11762         (contentHandler): Removed.
11763         (locale): Removed.
11764         (getHeaderFields): Return an empty map instead of null.
11765         (getContent): Connect if needed, renamed "cType" to "type" and
11766         "contentHandler" to "ch" and made it a local variable.
11767         (getPermission): Don't use package in class name.
11768         (setDefaultRequestProperty): Fixed typo in documentation.
11769         (initializeDateFormats): Made locale a local variable.
11771 2004-01-06  Michael Koch  <konqueror@gmx.de>
11773         * java/lang/Package.java
11774         (getPackage): Get the current class loader directly.
11775         * java/lang/SecurityManager.java
11776         (currentLoadedClass): Dont iterate over class contexts.
11777         (classLoaderDepth): Don't check class loaders if everything is allowed.
11779 2004-01-05  Thomas Fitzsimmons  <fitzsim@redhat.com>
11781         * jni/gtk-peer/gnu_java_awt_peer_gtk_GtkEvents.c
11782         (pre_event_handler): Set all insets to 0 when a Configure event
11783         is received for a GtkPlug.
11784         * gnu/java/awt/EmbeddedWindow.java (window_id): Rename handle.
11785         Make handle long, not int.
11786         (EmbeddedWindow()): New constructor.
11787         (EmbeddedWindow(int)): Rename window_id to handle.  Make handle
11788         long, not int.
11789         (setHandle): New method.
11790         (getHandle): Return long, not int.
11791         * gnu/java/awt/peer/EmbeddedWindowPeer.java (embed): New method
11792         declaration.
11793         * gnu/java/awt/peer/gtk/GtkEmbeddedWindowPeer.java,
11794         jni/gtk-peer/gnu_java_awt_peer_gtk_GtkEmbeddedWindowPeer.c:
11795         (create(long)): Take long parameter, not int.  Cast gtk_plug_new
11796         argument to GdkNativeWindow.
11797         (construct): New method.
11798         (embed): New method.
11800         * gnu/java/awt/peer/gtk/GtkScrollPanePeer.java,
11801         jni/gtk-peer/gnu_java_awt_peer_gtk_GtkScrollPanePeer.c
11802         (create(int, int)): New method.
11803         (create): Call new create method.
11804         (gtkScrolledWindowNew, gtkScrolledWindowSetSize): Remove
11805         methods.
11806         (childResized): Remove native implementation.  Implement in
11807         Java.
11808         (getHScrollbarHeight, getVScrollbarWidth): Call
11809         gtk_widget_size_request to get scrollbar dimensions.
11810         * java/awt/ScrollPane.java (getViewportSize): Reimplement.  Only
11811         call getVScrollbarWidth and getHScrollbarHeight when vertical
11812         and horizontal scrollbars respectively are needed.
11813         (doLayout): Enlarge child if it is smaller than the viewport.
11815 2004-01-05  Fernando Nasser  <fnasser@redhat.com>
11817         * java/awt/Dialog.java (constructor): Accept null title as per spec.
11818         * java/awt/FileDialog.java (constructor): Throw exception on invalid
11819         argument as per spec.
11821 2004-01-05  Fernando Nasser  <fnasser@redhat.com>
11823         * java/awt/Choice.java (add): Leave posting of ItemEvents to peer.
11824         (insert): Ditto.
11825         (remove): Ditto.  Also, Check for valid argument.
11826         (removeAll): Use peer interface method.
11827         * gnu/java/awt/peer/gtk/GtkChoicePeer.java (nativeAdd): New name for
11828         native add function.
11829         (nativeRemove): New name for native remove function.
11830         (getHistory): New native function.
11831         (constructor): Generate ItemEvent.
11832         (add): Ditto, if selection is changed.
11833         (remove): Ditto, ditto.
11834         (removeAll): Add implementation.
11835         (handleEvent): Remove.  Dead code.
11836         (choicePostItemEvent): Add comment.
11837         * jni/gtk-peer/gnu_java_awt_peer_gtk_GtkChoicePeer.c
11838         (Java_gnu_java_awt_peer_gtk_GtkChoicePeer_append): Add comments.
11839         (Java_gnu_java_awt_peer_gtk_GtkChoicePeer_add): Rename to...
11840         (Java_gnu_java_awt_peer_gtk_GtkChoicePeer_nativeAdd): New name.  Add
11841         comments and fix condition to change selection.
11842         (Java_gnu_java_awt_peer_gtk_GtkChoicePeer_remove): Rename to...
11843         (Java_gnu_java_awt_peer_gtk_GtkChoicePeer_nativeRemove): New name.  Add
11844         remove all capability.
11845         (Java_gnu_java_awt_peer_gtk_GtkChoicePeer_getHistory): New function.
11846         (item_activate): Add cast to remove compiler warning.
11848 2004-01-05  Thomas Fitzsimmons  <fitzsim@redhat.com>
11850         * gnu/java/awt/peer/gtk/GtkComponentPeer.java,
11851         jni/gtk-peer/gnu_java_awt_peer_gtk_GtkComponentPeer.c
11852         (getPreferredSize): Call preferredSize.
11853         (preferredSize): Call gtkWidgetGetPreferredDimensions.
11854         (getMinimumSize): Call minimumSize.
11855         (minimumSize): Call gtkWidgetGetPreferredDimensions.
11856         (gtkWidgetGetDimensions): Return the peer widget's current size
11857         request.
11858         (gtkWidgetGetPreferredDimensions): Return the peer widget's
11859         natural size request.
11861 2004-01-05  Sascha Brawer  <brawer@dandelis.ch>
11863         Thanks to Brian Gough <bjg@network-theory.com>
11864         * java/awt/geom/CubicCurve2D.java (solveCubic): Implemented.
11865         * java/awt/geom/QuadCurve2D.java (solveQuadratic): Re-written.
11867 2004-01-04  Matthias Klose  <doko@debian.org>
11869         * aclocal.m4: Rebuilt using "aclocal -I .".
11870         * configure: Rebuilt.
11872 2004-01-03  Per Bothner  <per@bothner.com>
11874         * java/util/Date.java (parse):  Fix a number of problems.
11875         (skipParens):  Remove no-longer-needed method.