* configure.ac: Use AC_PROG_FC, FC and FCFLAGS instead of
[official-gcc.git] / libjava / ChangeLog
blob631679dea68f128ef4bde9c36c86b1ad77ef69df
1 2004-11-03  Tom Tromey  <tromey@redhat.com>
3         * jni.cc (_Jv_JNI_NewObjectArray): Fixed return type.
4         * include/jni.h (struct JNINativeInterface) <NewObjectArray>: Now
5         returns jobjectArray.
6         (_Jv_JNIEnv::NewObjectArray): Likewise.
8 2004-11-01  Tom Tromey  <tromey@redhat.com>
10         * verify.cc (state::check_no_uninitialized_objects): Removed.
11         (push_jump): Updated.
12         (push_exception_jump): Likewise.
13         (handle_ret_insn): Likewise.
14         (handle_jsr_insn): Likewise.
16 2004-10-30  Mark Wielaard  <mark@klomp.org>
18         PR libgcj/18234
19         * java/lang/Runtime.java (static): Call init().
20         (Runtime): Remove call to init().
21         (init): Make static.
23 2004-10-28  David Daney  <ddaney@avtrex.com>
25         * gnu/gcj/convert/Output_UnicodeLittleUnmarked.java: New file.
26         * Makefile.am: Build it.
27         * Makefile.in: Regenerate.
29 2004-10-27  Aaron W. LaFramboise  <aaronavay62@aaronwl.com>
31         PR libgcj/18104
32         * Makefile.am (CLASSPATH_SEPARATOR): Use instead of a 
33         colon.
34         * Makefile.in: Regenerate.
35         * configure: Regenerate.
36         * configure.ac (CLASSPATH_SEPARATOR): Define.
37         * gcj/Makefile.in: Regenerate.
38         * include/Makefile.in: Regenerate.
39         * testsuite/Makefile.in: Regenerate.
40         * testsuite/lib/libjava.exp (libjava_arguments): Fix
41         CLASSPATH separator handling for Windows.
43 2004-10-26  Michael Koch  <konqueror@gmx.de>
45         * gnu/java/net/protocol/http/Connection.java
46         (getOutputStream): Implicitely switch to POST method.
48 2004-10-26  Kriang Lerdsuwanakij  <lerdsuwa@users.sourceforge.net>
50         * libjava/java/lang/Class.h
51         (java::lang::Class): Correct friend class declaration.
53 2004-10-25  Geoffrey Keating  <geoffk@apple.com>
55         * Makefile.am (DARWIN_CRT_SRC): New.
56         (libgcj_la_SOURCES): Use it.
57         * configure.ac: Define USING_DARWIN_CRT when on Darwin.
58         * darwin.cc: New file.
59         * include/jvm.h (_Jv_RegisterClasses): Constify.
60         (_Jv_RegisterClasses_Counted): New prototype.
61         * java/lang/Class.h: Include stddef.h.  
62         (_Jv_RegisterClasses): Constify.
63         (_Jv_RegisterClasses_Counted): New prototype.
64         (Object): Make '_Jv_RegisterClasses_Counted' a friend.
65         * java/lang/natClassLoader.cc (_Jv_RegisterClasses): Constify.
66         (_Jv_RegisterClasses_Counted): New function.
67         * configure: Regenerate.
68         * Makefile.in: Regenerate.
69         * gcj/Makefile.in: Regenerate.
70         * include/Makefile.in: Regenerate.
71         * testsuite/Makefile.in: Regenerate.
73 2004-10-25  Tom Tromey  <tromey@redhat.com>
75         * java/util/ResourceBundle.java (tryBundle): Use
76         Class.isAssignableFrom rather than catching ClassCastException.
78 2004-10-25  Tom Tromey  <tromey@redhat.com>
80         * gnu/java/text/WordBreakIterator.java (WordBreakIterator): Don't
81         initialize `iter'.
82         * gnu/java/text/SentenceBreakIterator.java
83         (SentenceBreakIterator): Don't initialize `iter'.
84         * gnu/java/text/LineBreakIterator.java (LineBreakIterator): Don't
85         initialize `iter'.
86         * gnu/java/text/CharacterBreakIterator.java
87         (CharacterBreakIterator): Don't initialize `iter'.
88         * gnu/java/text/BaseBreakIterator.java (BaseBreakIterator): New
89         constructor.
90         * java/text/BreakIterator.java: Updated documentation.
92 2004-10-25  Eric Botcazou  <ebotcazou@libertysurf.fr>
94         PR other/18138
95         * testsuite/lib/libjava.exp: Accept more than one multilib libgcc.
97 2004-10-23  Michael Koch  <konqueror@gmx.de>
99         * javax/print/DocFlavor.java,
100         javax/print/attribute/standard/JobStateReason.java,
101         javax/print/attribute/standard/MultipleDocumentHandling.java:
102         Added missing constants.
104 2004-10-22  Tom Tromey  <tromey@redhat.com>
106         * gnu/java/net/protocol/http/Connection.java (sendRequest): Fix
107         typo.
109 2004-10-22  Michael Koch  <konqueror@gmx.de>
111         PR libjava/14009
112         * gnu/java/net/protocol/http/Connection.java
113         (sendRequest): Handle case when url.getFile() returns an empty string.
115 2004-10-22  Michael Koch  <konqueror@gmx.de>
117         * java/lang/Math.java,
118         java/lang/StackTraceElement.java,
119         java/nio/Buffer.java,
120         java/nio/ByteBuffer.java,
121         java/nio/CharBuffer.java,
122         java/nio/DoubleBuffer.java,
123         java/nio/FloatBuffer.java,
124         java/nio/IntBuffer.java,
125         java/nio/LongBuffer.java,
126         java/nio/ShortBuffer.java,
127         java/nio/charset/Charset.java,
128         java/rmi/server/RMIClassLoader.java,
129         java/rmi/server/RMISocketFactory.java,
130         java/security/Policy.java,
131         java/text/ChoiceFormat.java,
132         java/text/CollationElementIterator.java,
133         java/text/DateFormat.java,
134         java/text/DecimalFormat.java,
135         java/text/DecimalFormatSymbols.java,
136         java/text/MessageFormat.java,
137         java/text/NumberFormat.java,
138         java/text/RuleBasedCollator.java,
139         java/text/SimpleDateFormat.java,
140         java/util/BitSet.java,
141         java/util/Calendar.java,
142         java/util/Collections.java,
143         java/util/IdentityHashMap.java,
144         java/util/Locale.java,
145         java/util/TreeMap.java,
146         java/util/logging/LogRecord.java,
147         java/util/logging/XMLFormatter.java,
148         java/util/prefs/AbstractPreferences.java,
149         java/util/prefs/Preferences.java,
150         javax/crypto/interfaces/DHPrivateKey.java,
151         javax/crypto/interfaces/DHPublicKey.java,
152         javax/crypto/interfaces/PBEKey.java,
153         javax/net/ssl/HandshakeCompletedEvent.java,
154         javax/security/auth/Subject.java:
155         Removed redundant and reordered modifiers.
157 2004-10-22  Ulrich Weigand  <uweigand@de.ibm.com>
159         * gnu/java/net/natPlainSocketImplPosix.cc
160         (gnu::java::net::PlainSocketImpl::available): Call FIONREAD ioctl
161         with 'int *' argument instead of 'long *'.
163 2004-10-21  Michael Koch  <konqueror@gmx.de>
165         * java/net/NetworkInterface.java,
166         java/text/Format.java,
167         javax/security/auth/x500/X500Principal.java,
168         javax/security/auth/x500/X500PrivateCredential.java,
169         javax/security/cert/X509CertBridge.java,
170         javax/security/sasl/Sasl.java,
171         javax/sql/XAConnection.java:
172         Import cleanup.
174 2004-10-21  Michael Koch  <konqueror@gmx.de>
176         * javax/net/ssl/HandshakeCompletedEvent.java,
177         javax/net/ssl/KeyManagerFactory.java,
178         javax/net/ssl/SSLContext.java,
179         javax/net/ssl/SSLServerSocketFactory.java,
180         javax/net/ssl/SSLSession.java,
181         javax/net/ssl/SSLSocketFactory.java,
182         javax/net/ssl/TrustManagerFactory.java:
183         Import cleanup.
185 2004-10-21  Michael Koch  <konqueror@gmx.de>
187         * javax/naming/directory/BasicAttribute.java,
188         javax/naming/directory/BasicAttributes.java,
189         javax/naming/directory/InitialDirContext.java,
190         javax/naming/event/NamingEvent.java,
191         javax/naming/ldap/ControlFactory.java,
192         javax/naming/ldap/ExtendedRequest.java,
193         javax/naming/ldap/InitialLdapContext.java,
194         javax/naming/ldap/LdapReferralException.java,
195         javax/naming/spi/DirObjectFactory.java,
196         javax/naming/spi/DirStateFactory.java,
197         javax/naming/spi/DirectoryManager.java,
198         javax/naming/spi/InitialContextFactory.java,
199         javax/naming/spi/InitialContextFactoryBuilder.java,
200         javax/naming/spi/NamingManager.java,
201         javax/naming/spi/ObjectFactory.java,
202         javax/naming/spi/ObjectFactoryBuilder.java,
203         javax/naming/spi/StateFactory.java:
204         Import cleanup.
206 2004-10-21  Michael Koch  <konqueror@gmx.de>
208         * javax/crypto/Cipher.java,
209         javax/crypto/EncryptedPrivateKeyInfo.java,
210         javax/crypto/ExemptionMechanism.java,
211         javax/crypto/KeyAgreement.java,
212         javax/crypto/KeyGenerator.java,
213         javax/crypto/Mac.java,
214         javax/crypto/SecretKeyFactory.java,
215         javax/crypto/SecretKeyFactorySpi.java,
216         javax/crypto/spec/SecretKeySpec.java:
217         Import cleanup.
219 2004-10-21  Michael Koch  <konqueror@gmx.de>
221         * java/security/AlgorithmParameterGenerator.java,
222         java/security/AlgorithmParameters.java,
223         java/security/AlgorithmParametersSpi.java,
224         java/security/AllPermission.java,
225         java/security/BasicPermission.java,
226         java/security/Certificate.java,
227         java/security/CodeSource.java,
228         java/security/DigestInputStream.java,
229         java/security/DigestOutputStream.java,
230         java/security/GuardedObject.java,
231         java/security/KeyFactory.java,
232         java/security/KeyFactorySpi.java,
233         java/security/KeyPairGenerator.java,
234         java/security/KeyStore.java,
235         java/security/KeyStoreSpi.java,
236         java/security/Permissions.java,
237         java/security/Security.java,
238         java/security/Signature.java,
239         java/security/UnresolvedPermission.java,
240         java/security/cert/CertPathBuilder.java,
241         java/security/cert/CertPathValidator.java,
242         java/security/cert/CertStore.java,
243         java/security/cert/Certificate.java,
244         java/security/cert/CertificateFactory.java,
245         java/security/cert/PolicyQualifierInfo.java,
246         java/security/cert/TrustAnchor.java,
247         java/security/cert/X509CRL.java,
248         java/security/cert/X509CRLSelector.java,
249         java/security/cert/X509CertSelector.java:
250         Import cleanup.
252 2004-10-21  Michael Koch  <konqueror@gmx.de>
254         * java/rmi/MarshalledObject.java,
255         java/rmi/Naming.java,
256         java/rmi/activation/Activatable.java,
257         java/rmi/activation/ActivationGroup.java,
258         java/rmi/activation/ActivationGroupDesc.java,
259         java/rmi/activation/ActivationInstantiator.java,
260         java/rmi/activation/ActivationMonitor.java,
261         java/rmi/activation/ActivationSystem.java,
262         java/rmi/activation/Activator.java,
263         java/rmi/registry/LocateRegistry.java,
264         java/rmi/registry/Registry.java,
265         java/rmi/server/LogStream.java,
266         java/rmi/server/ObjID.java,
267         java/rmi/server/RMIClientSocketFactory.java,
268         java/rmi/server/RMIServerSocketFactory.java,
269         java/rmi/server/RMISocketFactory.java,
270         java/rmi/server/RemoteCall.java,
271         java/rmi/server/RemoteServer.java,
272         java/rmi/server/ServerRef.java,
273         java/rmi/server/UID.java,
274         java/rmi/server/UnicastRemoteObject.java:
275         Import cleanup.
277 2004-10-21  Tom Tromey  <tromey@redhat.com>
279         * java/util/zip/InflaterInputStream.java (fill): Don't throw an
280         exception if we hit EOF of `in'.
281         (read): Handle case where inflating returns -1.
283 2004-10-21  Ulrich Weigand  <uweigand@de.ibm.com>
285         * gnu/java/nio/channels/natFileChannelPosix.cc
286         (FileChannelImpl::available): Call FIONREAD ioctl with 'int *'
287         argument instead of 'long *'.
289 2004-10-21  Tom Tromey  <tromey@redhat.com>
291         * java/util/ResourceBundle.java (tryBundle): Also ignore
292         ClassCastException.
294 2004-10-21  Kaz Kojima  <kkojima@gcc.gnu.org>
296         * configure.ac (SIGNAL_HANDLER): Set to include/sh-signal.h
297         for all sh*-*-linux* targets.
298         * configure: Regenerate.
299         * include/sh-signal.h: New file.
301 2004-10-21  Kazuhiro Inaoka  <inaoka.kazuhiro@renesas.com>
303         * java/lang/ieeefp.h: Add m32r support.
305 2004-10-20  Andreas Schwab  <schwab@suse.de>
307         * java/lang/natClass.cc (_Jv_LayoutVTableMethods): Cast pointers
308         to uaddr, not int.
309         * java/lang/natClassLoader.cc (_Jv_PrepareCompiledClass):
310         Likewise.
312 2004-10-20  Michael Koch  <konqueror@gmx.de>
314         * javax/print/attribute/standard/ColorSupported.java,
315         javax/print/attribute/standard/Compression.java,
316         javax/print/attribute/standard/Copies.java,
317         javax/print/attribute/standard/CopiesSupported.java,
318         javax/print/attribute/standard/DateTimeAtCompleted.java,
319         javax/print/attribute/standard/DateTimeAtCreation.java,
320         javax/print/attribute/standard/DateTimeAtProcessing.java,
321         javax/print/attribute/standard/DocumentName.java,
322         javax/print/attribute/standard/Fidelity.java,
323         javax/print/attribute/standard/Finishings.java,
324         javax/print/attribute/standard/JobHoldUntil.java,
325         javax/print/attribute/standard/JobImpressions.java,
326         javax/print/attribute/standard/JobImpressionsCompleted.java,
327         javax/print/attribute/standard/JobImpressionsSupported.java,
328         javax/print/attribute/standard/JobKOctets.java,
329         javax/print/attribute/standard/JobKOctetsProcessed.java,
330         javax/print/attribute/standard/JobKOctetsSupported.java,
331         javax/print/attribute/standard/JobMediaSheets.java,
332         javax/print/attribute/standard/JobMediaSheetsCompleted.java,
333         javax/print/attribute/standard/JobMediaSheetsSupported.java,
334         javax/print/attribute/standard/JobMessageFromOperator.java,
335         javax/print/attribute/standard/JobName.java,
336         javax/print/attribute/standard/JobOriginatingUserName.java,
337         javax/print/attribute/standard/JobPriority.java,
338         javax/print/attribute/standard/JobPrioritySupported.java,
339         javax/print/attribute/standard/JobSheets.java,
340         javax/print/attribute/standard/JobState.java,
341         javax/print/attribute/standard/JobStateReason.java,
342         javax/print/attribute/standard/JobStateReasons.java,
343         javax/print/attribute/standard/Media.java,
344         javax/print/attribute/standard/MultipleDocumentHandling.java,
345         javax/print/attribute/standard/NumberOfDocuments.java,
346         javax/print/attribute/standard/NumberOfInterveningJobs.java,
347         javax/print/attribute/standard/NumberUp.java,
348         javax/print/attribute/standard/NumberUpSupported.java,
349         javax/print/attribute/standard/OrientationRequested.java,
350         javax/print/attribute/standard/OutputDeviceAssigned.java,
351         javax/print/attribute/standard/PDLOverrideSupported.java,
352         javax/print/attribute/standard/PageRanges.java,
353         javax/print/attribute/standard/PagesPerMinute.java,
354         javax/print/attribute/standard/PagesPerMinuteColor.java,
355         javax/print/attribute/standard/PrintQuality.java,
356         javax/print/attribute/standard/PrinterInfo.java,
357         javax/print/attribute/standard/PrinterIsAcceptingJobs.java,
358         javax/print/attribute/standard/PrinterLocation.java,
359         javax/print/attribute/standard/PrinterMakeAndModel.java,
360         javax/print/attribute/standard/PrinterMessageFromOperator.java,
361         javax/print/attribute/standard/PrinterMoreInfo.java,
362         javax/print/attribute/standard/PrinterMoreInfoManufacturer.java,
363         javax/print/attribute/standard/PrinterName.java,
364         javax/print/attribute/standard/PrinterStateReason.java,
365         javax/print/attribute/standard/PrinterStateReasons.java,
366         javax/print/attribute/standard/PrinterURI.java,
367         javax/print/attribute/standard/ReferenceUriSchemesSupported.java,
368         javax/print/attribute/standard/RequestingUserName.java:
369         Reorganized imports and removed redundant final modifiers.
371 2004-10-20  Michael Koch  <konqueror@gmx.de>
373         * javax/security/sasl/SaslClient.java,
374         javax/security/sasl/SaslClientFactory.java,
375         javax/security/sasl/SaslException.java,
376         javax/security/sasl/SaslServer.java,
377         javax/security/sasl/SaslServerFactory.java:
378         Remvoed CVS tags.
380 2004-10-20  Michael Koch  <konqueror@gmx.de>
382         * javax/security/auth/login/NullConfiguration.java,
383         javax/security/auth/x500/X500Principal.java,
384         javax/security/cert/X509Certificate.java,
385         javax/security/sasl/AuthenticationException.java,
386         javax/security/sasl/AuthorizeCallback.java,
387         javax/security/sasl/RealmCallback.java,
388         javax/security/sasl/RealmChoiceCallback.java,
389         javax/security/sasl/Sasl.java,
390         javax/security/sasl/SaslClient.java,
391         javax/security/sasl/SaslClientFactory.java,
392         javax/security/sasl/SaslException.java,
393         javax/security/sasl/SaslServer.java,
394         javax/security/sasl/SaslServerFactory.java:
395         Cleaned up import statements and copyright notices.
397 2004-10-20  Michael Koch  <konqueror@gmx.de>
399         * gnu/java/rmi/rmic/RMIC.java: Reformatted.
401 2004-10-20  Michael Koch  <konqueror@gmx.de>
403         * java/sql/Timestamp.java,
404         java/text/AttributedCharacterIterator.java,
405         java/text/AttributedString.java,
406         java/util/zip/CheckedOutputStream.java,
407         java/util/zip/DeflaterOutputStream.java,
408         java/util/zip/ZipFile.java,
409         javax/crypto/Cipher.java,
410         javax/crypto/ExemptionMechanismException.java,
411         javax/crypto/SecretKey.java,
412         javax/crypto/SecretKeyFactory.java,
413         javax/naming/directory/ModificationItem.java,
414         javax/naming/directory/SearchControls.java,
415         javax/naming/event/NamingListener.java,
416         javax/naming/ldap/Control.java,
417         javax/naming/ldap/ExtendedResponse.java,
418         javax/net/ssl/SSLSocketFactory.java:
419         Reorganized imports and fixed copyright headers.
421 2004-10-20  Michael Koch  <konqueror@gmx.de>
423         * java/util/logging/ConsoleHandler.java,
424         java/util/logging/ErrorManager.java,
425         java/util/logging/FileHandler.java,
426         java/util/logging/Filter.java,
427         java/util/logging/Formatter.java,
428         java/util/logging/Handler.java,
429         java/util/logging/Level.java,
430         java/util/logging/LogManager.java,
431         java/util/logging/LogRecord.java,
432         java/util/logging/Logger.java,
433         java/util/logging/LoggingPermission.java,
434         java/util/logging/MemoryHandler.java,
435         java/util/logging/SimpleFormatter.java,
436         java/util/logging/SocketHandler.java,
437         java/util/logging/StreamHandler.java,
438         java/util/logging/XMLFormatter.java:
439         Standardized copyrigth header.
441 2004-10-20  Michael Koch  <konqueror@gmx.de>
443         * java/security/AlgorithmParameterGenerator.java,
444         java/security/AlgorithmParameters.java,
445         java/security/DigestInputStream.java,
446         java/security/Identity.java,
447         java/security/KeyFactory.java,
448         java/security/KeyPairGenerator.java,
449         java/security/KeyStore.java,
450         java/security/MessageDigest.java,
451         java/security/MessageDigestSpi.java,
452         java/security/Policy.java,
453         java/security/SecureRandom.java,
454         java/security/Security.java,
455         java/security/Signature.java,
456         java/security/SignatureSpi.java,
457         java/security/cert/CertPathBuilder.java,
458         java/security/cert/CertPathValidator.java,
459         java/security/cert/CertStore.java,
460         java/security/cert/Certificate.java,
461         java/security/cert/CertificateFactory.java,
462         java/security/cert/PolicyQualifierInfo.java,
463         java/security/cert/TrustAnchor.java,
464         java/security/cert/X509CRL.java,
465         java/security/cert/X509CRLEntry.java,
466         java/security/cert/X509Certificate.java,
467         java/security/spec/RSAMultiPrimePrivateCrtKeySpec.java:
468         Import statements reorganized, some little formatting issues,
469         used java-style array declarations, added comments in empty catch
470         blocks.
472 2004-10-18  Jeroen Frijters  <jeroen@frijters.net>
474         * java/security/Security.java
475         (static): Use AccessController.doPrivileged to get system property.
477 2004-10-18  Sven de Marothy  <sven@physto.se>
479         * java/nio/ByteBufferHelper.java
480         (putDouble): Use Double.toRawLongBits instead.
482 2004-10-18  Mark Wielaard  <mark@klomp.org>
483         Andrew Haley  <aph@redhat.com>
485         * testsuite/libjava.lang/ExtraClassLoader.java: New.
487 2004-10-18  Andrew Haley  <aph@redhat.com>
489         PR java/18036:
490         * gnu/gcj/runtime/natStackTrace.cc (fillInStackTrace): Reorganize
491         and correct logic used to find interpreter.
492         
493 2004-10-18  Jeroen Frijters  <jeroen@frijters.net>
495         * java/util/logging/LogManager.java
496         (findAncestor): Fixed IndexOutOfBoundsException.
498 2004-10-18  Michael Koch  <konqueror@gmx.de>
500         * java/io/BufferedInputStream.java: Fixed @author tag.
501         (read): Simplified expression.
502         (read): Merged javadoc a bit more.
503         (read): Renamed 'remain' to 'totalBytesRead'.
504         * java/io/DataInputStream.java,
505         java/io/DataOutputStream.java,
506         java/io/ObjectInputStream.java,
507         java/io/ObjectOutputStream.java:
508         Reworked modifier order.
510 2004-10-18  Michael Koch  <konqueror@gmx.de>
512         * java/net/Inet4Address.java: Merged file header and javadocs.
513         * java/net/Inet6Address.java: Likewise.
514         * java/net/InetAddress.java
515         (getCanonicalHostName): Create Inet4Address object instead of
516         InetAddress and add comment regarding IPv6.
517         (toString): Simplified.
519 2004-10-18  Michael Koch  <konqueror@gmx.de>
521         * gnu/java/net/protocol/http/Connection.java,
522         java/nio/MappedByteBufferImpl.java,
523         java/text/RuleBasedCollator.java,
524         java/util/ResourceBundle.java:
525         Reworked import statements.
527 2004-10-18  Jeroen Frijters  <jeroen@frijters.net>
529         * java/security/IdentityScope.java
530         (systemScope): Removed useless initializer.
531         * java/security/Policy.java
532         (currentPolicy): Likewise.
534 2004-10-18  Michael Koch  <konqueror@gmx.de>
536         * java/lang/System.java: Revert accidential change.
538 2004-10-18  Michael Koch  <konqueror@gmx.de>
540         * java/lang/Math.java,
541         java/lang/Package.java,
542         java/lang/Runtime.java,
543         java/lang/StrictMath.java,
544         java/lang/System.java,
545         java/lang/Thread.java,
546         java/lang/ThreadLocal.java,
547         java/lang/Void.java:
548         Reworked import statements, HTML in javadocs and modifier orders.
550 2004-10-18  Jeroen Frijters  <jeroen@frijters.net>
552         * java/util/Timer.java
553         (nr): Removed useless initializer.
554         * java/util/logging/LogRecord.java
555         (lastSeqNum): Likewise.
556         * javax/naming/spi/NamingManager.java
557         (icfb, ofb): Likewise.
559 2004-10-18  Michael Koch  <konqueror@gmx.de>
561         * gnu/java/net/PlainDatagramSocketImpl.java:
562         Reworked import statements.
563         * gnu/java/security/provider/DSAParameters.java:
564         Fixed copyrigth years.
565         * java/net/JarURLConnection.java:
566         Fixed HTML in @author tags.
567         
569 2004-10-18  Michael Koch  <konqueror@gmx.de>
571         * java/rmi/activation/ActivationSystem.java
572         (SYSTEM_PORT): Initialize with correct port number.
574 2004-10-18  Michael Koch  <konqueror@gmx.de>
576         * java/lang/reflect/Proxy.java: Improved javadocs.
578 2004-10-18  Michael Koch  <konqueror@gmx.de>
580         * java/lang/reflect/AccessibleObject.java
581         (checkPermission): Removed redundant final modifier.
582         (secureSetAccessible): Likewise.
583         * java/lang/reflect/Proxy.java:
584         Reworked import statements.
585         (generate): Removed redundant final modifier.
586         * java/lang/reflect/ReflectPermission.java:
587         Reorder package declaration and import statement.
589 2004-10-18  Jeroen Frijters  <jeroen@frijters.net>
591         * java/lang/reflect/Proxy.java
592         (count): Removed useless initializer.
594 2004-10-17  Michael Koch  <konqueror@gmx.de>
596         * java/net/BindException.java,
597         java/net/ConnectException.java,
598         java/net/ContentHandler.java,
599         java/net/ContentHandlerFactory.java,
600         java/net/DatagramPacket.java,
601         java/net/DatagramSocket.java,
602         java/net/DatagramSocketImpl.java,
603         java/net/DatagramSocketImplFactory.java,
604         java/net/FileNameMap.java,
605         java/net/HttpURLConnection.java,
606         java/net/MalformedURLException.java,
607         java/net/MulticastSocket.java,
608         java/net/NetworkInterface.java,
609         java/net/NoRouteToHostException.java,
610         java/net/PasswordAuthentication.java,
611         java/net/PortUnreachableException.java,
612         java/net/ProtocolException.java,
613         java/net/ServerSocket.java,
614         java/net/Socket.java,
615         java/net/SocketException.java,
616         java/net/SocketImpl.java,
617         java/net/SocketImplFactory.java,
618         java/net/SocketOptions.java,
619         java/net/SocketPermission.java,
620         java/net/SocketTimeoutException.java,
621         java/net/URI.java,
622         java/net/URISyntaxException.java,
623         java/net/URL.java,
624         java/net/URLDecoder.java,
625         java/net/URLEncoder.java,
626         java/net/URLStreamHandler.java,
627         java/net/URLStreamHandlerFactory.java,
628         java/net/UnknownHostException.java,
629         java/net/UnknownServiceException.java:
630         Big import statement and @author tag cleanup.
632 2004-10-17  Michael Koch  <konqueror@gmx.de>
634         * gnu/java/security/OID.java,
635         gnu/java/security/provider/DSAParameters.java,
636         gnu/java/security/provider/DSASignature.java,
637         gnu/java/security/x509/X500DistinguishedName.java,
638         gnu/java/security/x509/X509CRL.java:
639         Import statements cleaned up.
641 2004-10-16  Michael Koch  <konqueror@gmx.de>
643         * gnu/java/nio/NIODatagramSocket.java,
644         gnu/java/nio/ServerSocketChannelImpl.java:
645         Reorganized import statements.
647 2004-10-16  Michael Koch  <konqueror@gmx.de>
649         * gnu/java/rmi/RMIMarshalledObjectOutputStream.java
650         gnu/java/rmi/rmic/RMIC.java,
651         gnu/java/rmi/server/RMIHashes.java,
652         gnu/java/rmi/server/RMIObjectInputStream.java,
653         gnu/java/rmi/server/RMIObjectOutputStream.java,
654         gnu/java/rmi/server/UnicastConnection.java,
655         gnu/java/rmi/server/UnicastConnectionManager.java,
656         gnu/java/rmi/server/UnicastRemoteCall.java,
657         gnu/java/rmi/server/UnicastServer.java,
658         gnu/java/rmi/server/UnicastServerRef.java,
659         java/rmi/MarshalledObject.java,
660         java/rmi/Naming.java,
661         java/rmi/RMISecurityManager.java,
662         java/rmi/Remote.java,
663         java/rmi/activation/Activatable.java,
664         java/rmi/activation/ActivationDesc.java,
665         java/rmi/activation/ActivationGroup.java,
666         java/rmi/activation/ActivationGroupDesc.java,
667         java/rmi/activation/ActivationGroupID.java,
668         java/rmi/activation/ActivationID.java,
669         java/rmi/activation/ActivationInstantiator.java,
670         java/rmi/activation/ActivationMonitor.java,
671         java/rmi/activation/ActivationSystem.java,
672         java/rmi/activation/Activator.java,
673         java/rmi/dgc/DGC.java,
674         java/rmi/dgc/Lease.java,
675         java/rmi/dgc/VMID.java,
676         java/rmi/registry/LocateRegistry.java,
677         java/rmi/registry/Registry.java,
678         java/rmi/registry/RegistryHandler.java,
679         java/rmi/server/LoaderHandler.java,
680         java/rmi/server/LogStream.java,
681         java/rmi/server/ObjID.java,
682         java/rmi/server/Operation.java,
683         java/rmi/server/RMIClassLoader.java,
684         java/rmi/server/RMIClassLoaderSpi.java,
685         java/rmi/server/RMIClientSocketFactory.java,
686         java/rmi/server/RMIFailureHandler.java,
687         java/rmi/server/RMIServerSocketFactory.java,
688         java/rmi/server/RMISocketFactory.java,
689         java/rmi/server/RemoteCall.java,
690         java/rmi/server/RemoteObject.java,
691         java/rmi/server/RemoteRef.java,
692         java/rmi/server/RemoteServer.java,
693         java/rmi/server/RemoteStub.java,
694         java/rmi/server/ServerRef.java,
695         java/rmi/server/Skeleton.java,
696         java/rmi/server/SkeletonMismatchException.java,
697         java/rmi/server/UID.java,
698         java/rmi/server/UnicastRemoteObject.java,
699         java/rmi/server/Unreferenced.java:
700         File headers and import statements cleaned up.
702 2004-10-16  Michael Koch  <konqueror@gmx.de>
704         * libjava/gnu/java/nio/charset/UTF_16.java,
705         libjava/gnu/java/nio/charset/UTF_16BE.java,
706         libjava/gnu/java/nio/charset/UTF_16LE.java,
707         libjava/java/nio/ByteOrder.java,
708         libjava/java/nio/MappedByteBuffer.java,
709         libjava/java/nio/channels/Channels.java,
710         libjava/java/nio/channels/spi/SelectorProvider.java,
711         libjava/java/nio/charset/Charset.java:
712         Cleanup.
714 2004-10-16  Michael Koch  <konqueror@gmx.de>
716         * gnu/java/nio/charset/UTF_16Encoder.java
717         (UTF_16Encoder): Fixed maxBytesPerChar handling.
719 2004-10-16  Michael Koch  <konqueror@gmx.de>
721         * java/math/BigDecimal.java, java/math/BigInteger.java:
722         Reorganized import statements, removed redundant and
723         reorganized modifiers.
725 2004-10-16  Michael Koch  <konqueror@gmx.de>
727         * gnu/java/beans/ExplicitBeanInfo.java:
728         Explicitely import java.awt.Image.
729         (getIcon): Fixed off-by-one error.
731 2004-10-15  Andrew Haley  <aph@redhat.com>
733         * Makefile.am (nat_files, xlib_nat_files): New.
734         * Makefile.in: Regenerate.
736 2004-10-14  Ulrich Weigand  <uweigand@de.ibm.com>
738         * jni.cc (_Jv_JNIMethod::call): Use ffi_java_raw_call instead of
739         ffi_raw_call if FFI_NATIVE_RAW_API is not defined.
741 2004-10-13  Andrew Haley  <aph@redhat.com>
743         * interpret.cc (_Jv_InterpMethod::run): Initialize
744         _Jv_StartOfInterpreter.
745         (_Jv_StartOfInterpreter, _Jv_EndOfInterpreter): Functions removed.
746         (_Jv_StartOfInterpreter, _Jv_EndOfInterpreter): New variables.
747         * gnu/gcj/runtime/natStackTrace.cc (fillInStackTrace): Use
748         _Unwind_FindEnclosingFunction to discover whether PC is within the
749         interpreter.
751 2004-10-12  Rutger Ovidius  <ovidr@users.sourceforge.net>
753         PR libgcj/17903:
754         * testsuite/libjava.lang/md5test.java: New file.
755         * testsuite/libjava.lang/md5test.out: Likewise.
756         * testsuite/libjava.lang/shatest.java: Likewise.
757         * testsuite/libjava.lang/shatest.out: Likewise.
759 2004-10-11  Richard Henderson  <rth@redhat.com>
761         * include/posix-threads.h <__alpha__> (_Jv_ThreadId_t): Use void*.
762         (_Jv_ThreadSelf): Use __builtin_thread_pointer.
764 2004-10-08  Bryce McKinlay  <mckinlay@redhat.com>
766         * java/util/Calendar.java (set): Invalidate DST_OFFSET
767         field as a DST boundary may have been crossed.
768         * java/util/GregorianCalendar.java (add): Throw 
769         IllegalArgumentException on attempt to add to DST_OFFSET or 
770         ZONE_OFFSET fields. Update javadoc.
772 2004-10-09  Michael Koch  <konqueror@gmx.de>
774         * java/io/CharArrayWriter.java
775         (resize): Removed redundant 'final' modifier.
776         * java/io/DataInputStream.java
777         (readFully): Throw IndexOutOfBoundsException of len < 0.
778         * java/io/FileDescriptor.java,
779         java/io/FileInputStream.java,
780         java/io/FileOutputStream.java,
781         java/io/ObjectOutputStream.java,
782         java/io/ObjectStreamClass.java,
783         java/io/PipedInputStream.java,
784         java/io/RandomAccessFile.java:
785         Reorganized import statements.
787 2004-10-09  Michael Koch  <konqueror@gmx.de>
789         * gnu/java/rmi/rmic/RMIC.java,
790         gnu/java/rmi/server/RMIHashes.java,
791         gnu/java/rmi/server/RMIObjectInputStream.java,
792         gnu/java/rmi/server/UnicastConnection.java,
793         gnu/java/rmi/server/UnicastConnectionManager.java,
794         gnu/java/rmi/server/UnicastRemoteCall.java,
795         gnu/java/rmi/server/UnicastServerRef.java:
796         Reworked import statements and fixed file headers.
798 2004-10-04  Loren J. Rittle  <ljrittle@acm.org>
800         * configure.ac (*-*-freebsd[[1234]]*): Refine error message
801         emission rule.
802         * configure: Rebuilt.
804 2004-09-30  Tom Tromey  <tromey@redhat.com>
806         * java/text/MessageFormat.java (Field): Constructor now
807         protected.
809 2004-09-30  Tom Tromey  <tromey@redhat.com>
811         * javax/crypto/MacSpi.java: Fixed typo.
813 2004-09-30  Michael Koch  <konqueror@gmx.de>
815         * java/net/InetAddress.java: Reformatted.
816         (loopback): Initialize with Inet4Address object.
817         (static): Initialize ANY_IF with Inet4Address object.
818         (InetAddress): Removed unused package-private constructor.
820 2004-09-30  Michael Koch  <konqueror@gmx.de>
822         * java/beans/Beans.java,
823         java/beans/EventHandler.java,
824         java/beans/EventSetDescriptor.java,
825         java/beans/Introspector.java,
826         java/beans/PropertyEditorManager.java,
827         java/beans/beancontext/BeanContext.java,
828         java/beans/beancontext/BeanContextChild.java,
829         java/beans/beancontext/BeanContextChildSupport.java,
830         java/beans/beancontext/BeanContextMembershipEvent.java:
831         Reordered import statements and removed redundant modifiers.
833 2004-09-29  Tom Tromey  <tromey@redhat.com>
835         PR libgcj/17715:
836         * Makefile.in: Rebuilt.
837         * Makefile.am (libgcj-@gcc_version@.jar): Include properties
838         files.
839         (all_property_files): New macro.
841         * Makefile.in: Rebuilt.
842         * Makefile.am (ordinary_java_source_files): Re-sorted.
843         (libgcj.la): Moved to old location near lib-gnu-awt-xlib.la.
845 2004-09-28  Tom Tromey  <tromey@redhat.com>
847         * jni.cc (_Jv_JNI_RegisterNatives): Formatting fixlets.
849         PR libgcj/17222:
850         * Makefile.am (libgcj.la): Restored.
851         * Makefile.in: Rebuilt.
853 2004-09-28  Michael Koch  <konqueror@gmx.de>
855         * java/net/URLConnection.java: Reformatted.
856         * java/net/URLClassLoader.java: Reformatted.
857         (getContent): Reordered return of content.
858         (getContentHandler): Don't check for null explicitely.
860 2004-09-27  Michael Koch  <konqueror@gmx.de>
862         * java/io/BufferedInputStream.java
863         (BufferedInputStream): Added Jeroen Frijters to authors.
864         (count): Don't explicitely initialize with default value.
865         (pos): Likewise.
866         (marklimit): Likewise.
867         (read): Changed boolean expression to match GNU classpath' version.
868         (reset): Add proper message to exception.
869         (skip): Check for closed stream.
870         (refill): Likewise.
872 2004-09-26  Per Bothner  <per@bothner.com>
874         * prims.cc (unblock_signal): Annotate signum with __unused__ to
875         avoid warnings in the non-POSIX_VERSION case.
876         Also, we only need this function if either HANDLE_SEGV or HANDLE_FPE,
877         so place it inside an #if block.
878         * include/default-signal.h (SIGNAL_HANDLER): Parameters are __unused__.
879         * include/i386-signal.h (SIGNAL_HANDLER):  Likewise
880         * include/mips-signal.h (SIGNAL_HANDLER):  Likewise
881         * include/sparc-signal.h (SIGNAL_HANDLER):  Likewise
883 2004-09-26  Per Bothner  <per@bothner.com>
885         * prims.cc (process_gcj_properties):  Optimization.
887 2004-09-26  Per Bothner  <per@bothner.com>
889         * java/util/Collections.java (sort):  Copy from array in forwards
890         order, rather than reverse order which may be much less efficient.
892 2004-09-26  Mark Wielaard  <mark@klomp.org>
894         * java/lang/System.java (properties): Make package private.
895         * java/lang/Throwable.java (StaticData.nl): Initialize through
896         directly accessing System.properties.getProperty().
898         * java/lang/Throwable.java (nl): Remove static field.
899         (StaticData): New private static inner class.
900         (stackTraceStringBuffer): Use StaticData.nl.
902 2004-09-26  Casey Marshall <csm@gnu.org>
904         * java/security/ProtectionDomain.java
905         (<init>(CodeSource,PermissionCollection)): set `staticBinding' to
906         `true'.
908         * java/security/SecureClassLoader.java
909         (defineClass): make protection domain dynamically bound.
910         (getPermissions): call `getCurrentPolicy' to avoid permission
911         check.
913 2004-09-25  Mark Wielaard  <mark@klomp.org>
915         * Makefile.am (core_java_source_files): Add VMTimeZone.java.
916         (nat_source_files): Rename natTimeZone.cc to natVMTimeZone.cc.
917         * Makefile.in: Regenerated.
919         * gcj/javaprims.h: Regenerated.
921         * java/util/TimeZone.java (defaultZone): Use VMTimeZone.
922         (getDefaultTimeZone): Make package private. Check that GMToffset
923         contains at least one digit.
924         (getDefaultTimeZoneId, readTimeZoneFile, readtzFile): (Re)Moved to
925         VMTimeZone.
926         * util/VMTimeZone.java: New file with above methods.
928         * java/util/natTimeZone.cc: Removed (renamed).
929         * java/util/natVMTimeZone.cc: Added (renamed).
931 2004-09-25  Jeroen Frijters  <jeroen@frijters.net>
933         * java/util/TimeZone.java
934         (getDefaultTimeZone): Fixed test to distinguish between hours and
935         minutes in specified timezone.
937 2004-09-25  Jeroen Frijters  <jeroen@frijters.net>
939         * java/lang/reflect/Proxy.java (getPackage, ClassFactory): Fixed
940         handling of default package. (generate): Removed confused comments
941         and code about making Method and Field accessible.
943 2004-09-25  Tom Tromey  <tromey@redhat.com>
945         PR java/17500:
946         * testsuite/libjava.compile/pr17500.java: New file.
948 2004-09-25  Shashank Bapat  <shashankbapat@yahoo.com>
949             Mark Wielaard  <mark@klomp.org>
951         * gnu/regexp/RE.java (initialize): Add RETokenLookAhead support.
952         * gnu/regexp/RETokenLookAhead.java: New file.
954         * Makefile.am (ordinary_java_source_files): Add RETokenLookAhead.java.
955         * Makefile.in: Regenerated.
957 2004-09-25  Michael Koch  <konqueror@gmx.de>
959         * java/io/ObjectStreamField.java:
960         Removed unused import statement.
962 2004-09-24  Tom Tromey  <tromey@redhat.com>
964         PR java/15656:
965         * testsuite/libjava.compile/pr15656.xfail: New file.
966         * testsuite/libjava.compile/pr15656.java: new file.
968         PR java/16789:
969         * testsuite/libjava.lang/pr16789.out: New file.
970         * testsuite/libjava.lang/pr16789.java: New file.
972 2004-09-24  Andrew Haley  <aph@redhat.com>
974         PR java/16927
975         * testsuite/libjava.compile/AssertBug.java: New file.
977 2004-09-24  Casey Marshall <csm@gnu.org>
979         * java/util/PropertyPermissionCollection.java
980         (implies): avoid infinite loop.
982 2004-09-24  Andrew John Hughes  <gnu_andrew@member.fsf.org>
984         * javax/security/auth/PrivateCredentialPermission.java
985         (PrivateCredentialPermission): added serialization UID
988 2004-09-24  Ilya Perminov  <iperminov@logicalsoft.com>
990         * gnu/java/rmi/server/UnicastServer.java
991         (incomingMessageCall): Added code to handle Errors.
992         * gnu/java/rmi/server/UnicastServerRef.java
993         (incomingMessageCall): Added code to handle Errors.
996 2004-09-24  Tom Tromey  <tromey@redhat.com>
998         * java/lang/ClassLoader.java (loadedClasses): Declare as HashMap.
999         (definedPackages): Likewise.
1001 2004-09-24  Michael Koch  <konqueror@gmx.de>
1003         * java/io/ObjectInputStream.java:
1004         Re-ordered imports.
1006 2004-09-24  Casey Marshall <csm@gnu.org>
1008         * java/io/ObjectInputStream.java (callReadMethod): re-throw
1009         `ClassNotFoundException'.
1011 2004-09-24  Jeroen Frijters  <jeroen@frijters.net>
1013         * java/io/ObjectInputStream.java (readObject): Delegate instantation
1014         of Externalizable classes to ObjectStreamClass.
1015         * java/io/ObjectStreamClass.java (newInstance): New method to
1016         instantiate Externalizable (while ignoring the accessibility of
1017         the constructor). (constructor): New field to cache the constructor.
1019 2004-09-24  Mark Wielaard  <mark@klomp.org>
1021         * java/net/URL.java (systemClassLoader): New static field.
1022         (getURLStreamHandler): Always use system/application classloader
1023         for finding URLStreamhandler. Remove unecessary instanceof checks.
1025 2004-09-24  Guilhem Lavaux <guilhem@kaffe.org>
1027         * java/net/URL.java
1028         (set): This method now matches the behaviour of the JDK.
1029         (DEFAULT_SEARCH_PATH): Added "gnu.inet".
1031 2004-09-24  Guilhem Lavaux  <guilhem@kaffe.org>
1033         * java/net/URL.java (URL): Delete whitespaces in the protocol string.
1035 2004-09-24  Jeroen Frijters  <jeroen@frijters.net>
1037         * java/net/URL.java (URL(String,String,int,String,URLStreamHandler):
1038         Don't set authority if host isn't specified.
1040 2004-09-24  Michael Koch  <konqueror@gmx.de>
1042         * gnu/java/nio/PipeImpl.java: Use VMPipe for native stuff.
1043         * gnu/java/nio/SelectorImpl.java: Use VMSelector for native stuff.
1044         * gnu/java/nio/VMPipe.java,
1045         gnu/java/nio/VMSelector.java:
1046         New files.
1047         * gnu/java/nio/natPipeImplEcos.cc,
1048         gnu/java/nio/natPipeImplPosix.cc,
1049         gnu/java/nio/natPipeImplWin32.cc:
1050         Ported to VMPipe.
1051         * gnu/java/nio/natSelectorImplEcos.cc,
1052         gnu/java/nio/natSelectorImplPosix.cc,
1053         gnu/java/nio/natSelectorImplWin32.cc:
1054         Ported to VMSelector.
1055         * Makefile.am: Added new files gnu/java/nio/VMPipe.java and
1056         gnu/java/nio/VMSelector.java.
1057         * Makefile.in: Regenerated.
1059 2004-09-24  Jeroen Frijters  <jeroen@frijters.net>
1061         * java/lang/StackTraceElement.java
1062         (className): Renamed field to declaringClass to be compatible
1063         with Sun serialization format.
1065 2004-09-23  Michael Koch  <konqueror@gmx.de>
1067         * java/applet/AppletContext.java,
1068         java/applet/Applet.java,
1069         java/applet/AppletStub.java,
1070         java/applet/AudioClip.java:
1071         Jalopied and checkstyle clean.
1073 2004-09-23  Mark Wielaard  <mark@klomp.org>
1075         * java/util/Collections.java
1076         (binarySearch(List, Object, Comparator)): Explicitly
1077         reverse direction in list iterator.
1078         (rotate): Just return when list is empty.
1080 2004-09-23  Tom Tromey  <tromey@redhat.com>
1082         PR java/17329:
1083         * testsuite/libjava.compile/pr17329.java: New file.
1085         PR java/17380:
1086         * testsuite/libjava.jacks/jacks.xfail: Added 9.2-implicit-6 and
1087         9.2-implicit-7.
1089 2004-09-22  Kelley Cook  <kcook@gcc.gnu.org>
1091         * Makefile.am: Run aclocal with -I ../config
1092         * acinclude.m4: Delete macros picked up from ../config and tidy.
1093         (AM_ICONV,AM_LC_MESSAGES, PKG_CHECK_MODULES): Delete.
1094         * aclocal.m4, configure, Makefile.in, gcj/Makefile.in: Regenerate.
1095         * include/Makefile.in, testsuite/Makefile.in: Regenerate.
1097 2004-09-22  Kelley Cook  <kcook@gcc.gnu.org>
1099         * aclocal.m4: Regenerate with aclocal 1.9.2.
1100         * configure: Regenerate.
1101         * Makefile.in, gcj/Makefile.in: Regenerate with automake 1.9.2.
1102         * include/Makefile.in, testsuite/Makefile.in: Likewise.
1104 2004-09-22  David Daney  <ddaney@avtrex.com>
1106         PR libgcj/17623
1107         * java/net/URL.java (URL): Copy userInfo from context.
1108         (getUserInfo): Return cached userInfo if present.
1110 2004-09-22  Tom Tromey  <tromey@redhat.com>
1112         PR libgcj/6182:
1113         * mauve-libgcj: Enable java.lang.Character tests.
1115 2004-09-22  Andreas Tobler  <a.tobler@schweiz.ch>
1117         * Makefile.am (lib_org_ietf_jgss_la_DEPENDENCIES): Add missing
1118         dependencies.
1119         (lib_org_ietf_jgss_la_LIBADD): Likewise.
1120         * Makefile.in: Regenerated.
1122 2004-09-22  Andreas Tobler  <a.tobler@schweiz.ch>
1124         * configure.ac: Introduce AC_C_BIGENDIAN_CROSS for WORDS_BIGENDIAN.
1125         * configure: Regenerate.
1126         * include/config.h.in: Likewise.
1127         * jni/gtk-peer/gtkpeer.h (SWAPU32): Introduce macro to swap pixels.
1128         * jni/gtk-peer/gnu_java_awt_peer_gtk_GtkImagePainter.c: Moved SWAPU32
1129         macro to gtkpeer.h.
1130         * jni/gtk-peer/gnu_java_awt_peer_gtk_GdkGraphics2D.c
1131         (Java_gnu_java_awt_peer_gtk_GdkGraphics2D_getImagePixels): Convert
1132         pixels from  0xBBGGRRAA to 0xAARRGGBB only on Little Endian
1133         architectures.
1134         * jni/gtk-peer/gnu_java_awt_peer_gtk_GdkPixbufDecoder.c (area_updated):
1135         Likewise.
1137 2004-09-22  Tom Tromey  <tromey@redhat.com>
1139         PR libgcj/14446:
1140         * java/util/zip/GZIPInputStream.java (read): Avoid sign extension
1141         when comparing CRCs.
1142         * java/util/zip/InflaterInputStream.java (onebytebuffer): New
1143         field.
1144         (read()): New overload.
1146 2004-09-21  Tom Tromey  <tromey@redhat.com>
1148         * java/lang/reflect/natMethod.cc (_Jv_CallAnyMethodA):
1149         Indentation fix.
1151 2004-09-21  Michael Koch  <konqueror@gmx.de>
1153         * java/net/Socket.java
1154         (getLocalAddress): Return InetAddress.ANY_IF if not bound yet.
1156 2004-09-21  Casey Marshall  <csm@gnu.org>
1158         * javax/crypto/MacSpi.java (clone): Provide meaningful
1159         implementation.
1161 2004-09-21  Tom Tromey  <tromey@redhat.com>
1163         PR libgcj/16869:
1164         * Makefile.in: Rebuilt.
1165         * Makefile.am (MOSTLYCLEANFILES): Removed.
1166         (mostlyclean-local): Remove header files.
1168 2004-09-21  Casey Marshall  <csm@gnu.org>
1170         * java/security/cert/X509CRLSelector.java:
1171         (match): remove unreachable try-catch clauses.
1172         Reported by: Dalibor Topic <robilad@kaffe.org>
1174 2004-09-21  Mark Wielaard  <mark@klomp.org>
1176         * java/util/TreeMap.java (root): Don't initialize.
1177         (TreeMap(Comparator)): Call fabricateTree(0).
1178         (fabricateTree): Initialize root and size when count is 0.
1180 2004-09-21  Sven de Marothy <sven@physto.se>
1182         * java/nio/ByteBuffer.java (hashCode): Implemented.
1183         * java/nio/CharBuffer.java: Likewise.
1184         * java/nio/DoubleBuffer.java: Likewise.
1185         * java/nio/FloatBuffer.java: Likewise.
1186         * java/nio/LongBuffer.java: Likewise.
1187         * java/nio/IntBuffer.java: Likewise.
1188         * java/nio/ShortBuffer.java: Likewise.
1190 2004-09-21  Andreas Tobler  <a.tobler@schweiz.ch>
1192         * javax/security/auth/x500/X500Principal.java: Fix some merge glitches.
1194 2004-09-21  Michael Koch  <konqueror@gmx.de>
1196         * javax/net/ssl/SSLServerSocket.java:
1197         Removed comment about "Do not edit this file, it's generated.".
1199 2004-09-21  Andreas Tobler  <a.tobler@schweiz.ch>
1201         Import the big Crypto/Jessie/Security merge from Classpath.
1203         * Makefile.am: Add imported files.
1204         * Makefile.in: Regenerate.
1206         2004-08-14  Casey Marshall <csm@gnu.org>
1208         The Big Crypto Merge of 2004.
1210         * javax/security/auth/x500/X500Principal.java: Replaced with GNU
1211         Crypto's version.
1213         Files imported from GNU Crypto.
1214         * javax/crypto/BadPaddingException.java
1215         * javax/crypto/Cipher.java
1216         * javax/crypto/CipherInputStream.java
1217         * javax/crypto/CipherOutputStream.java
1218         * javax/crypto/CipherSpi.java
1219         * javax/crypto/EncryptedPrivateKeyInfo.java
1220         * javax/crypto/ExemptionMechanism.java
1221         * javax/crypto/ExemptionMechanismException.java
1222         * javax/crypto/ExemptionMechanismSpi.java
1223         * javax/crypto/IllegalBlockSizeException.java
1224         * javax/crypto/KeyAgreement.java
1225         * javax/crypto/KeyAgreementSpi.java
1226         * javax/crypto/KeyGenerator.java
1227         * javax/crypto/KeyGeneratorSpi.java
1228         * javax/crypto/Mac.java
1229         * javax/crypto/MacSpi.java
1230         * javax/crypto/Makefile.am
1231         * javax/crypto/NoSuchPaddingException.java
1232         * javax/crypto/NullCipher.java
1233         * javax/crypto/NullCipherImpl.java
1234         * javax/crypto/SealedObject.java
1235         * javax/crypto/SecretKey.java
1236         * javax/crypto/SecretKeyFactory.java
1237         * javax/crypto/SecretKeyFactorySpi.java
1238         * javax/crypto/ShortBufferException.java
1239         * javax/crypto/interfaces/DHKey.java
1240         * javax/crypto/interfaces/DHPrivateKey.java
1241         * javax/crypto/interfaces/DHPublicKey.java
1242         * javax/crypto/interfaces/PBEKey.java
1243         * javax/crypto/spec/DESKeySpec.java
1244         * javax/crypto/spec/DESedeKeySpec.java
1245         * javax/crypto/spec/DHGenParameterSpec.java
1246         * javax/crypto/spec/DHParameterSpec.java
1247         * javax/crypto/spec/DHPrivateKeySpec.java
1248         * javax/crypto/spec/DHPublicKeySpec.java
1249         * javax/crypto/spec/IvParameterSpec.java
1250         * javax/crypto/spec/PBEKeySpec.java
1251         * javax/crypto/spec/PBEParameterSpec.java
1252         * javax/crypto/spec/RC2ParameterSpec.java
1253         * javax/crypto/spec/RC5ParameterSpec.java
1254         * javax/crypto/spec/SecretKeySpec.java
1255         * javax/security/auth/AuthPermission.java
1256         * javax/security/auth/DestroyFailedException.java
1257         * javax/security/auth/Destroyable.java
1258         * javax/security/auth/Policy.java
1259         * javax/security/auth/PrivateCredentialPermission.java
1260         * javax/security/auth/RefreshFailedException.java
1261         * javax/security/auth/Refreshable.java
1262         * javax/security/auth/Subject.java
1263         * javax/security/auth/SubjectDomainCombiner.java
1264         * javax/security/auth/callback/Callback.java
1265         * javax/security/auth/callback/CallbackHandler.java
1266         * javax/security/auth/callback/ChoiceCallback.java
1267         * javax/security/auth/callback/ConfirmationCallback.java
1268         * javax/security/auth/callback/LanguageCallback.java
1269         * javax/security/auth/callback/NameCallback.java
1270         * javax/security/auth/callback/PasswordCallback.java
1271         * javax/security/auth/callback/TextInputCallback.java
1272         * javax/security/auth/callback/TextOutputCallback.java
1273         * javax/security/auth/callback/UnsupportedCallbackException.java
1274         * javax/security/auth/login/AccountExpiredException.java
1275         * javax/security/auth/login/AppConfigurationEntry.java
1276         * javax/security/auth/login/Configuration.java
1277         * javax/security/auth/login/CredentialExpiredException.java
1278         * javax/security/auth/login/FailedLoginException.java
1279         * javax/security/auth/login/LoginContext.java
1280         * javax/security/auth/login/LoginException.java
1281         * javax/security/auth/login/NullConfiguration.java
1282         * javax/security/auth/x500/X500PrivateCredential.java
1283         * javax/security/sasl/AuthenticationException.java
1284         * javax/security/sasl/AuthorizeCallback.java
1285         * javax/security/sasl/RealmCallback.java
1286         * javax/security/sasl/RealmChoiceCallback.java
1287         * javax/security/sasl/Sasl.java
1288         * javax/security/sasl/SaslClient.java
1289         * javax/security/sasl/SaslClientFactory.java
1290         * javax/security/sasl/SaslException.java
1291         * javax/security/sasl/SaslServer.java
1292         * javax/security/sasl/SaslServerFactory.java
1293         * org/ietf/jgss/ChannelBinding.java
1294         * org/ietf/jgss/GSSContext.java
1295         * org/ietf/jgss/GSSCredential.java
1296         * org/ietf/jgss/GSSException.java
1297         * org/ietf/jgss/GSSManager.java
1298         * org/ietf/jgss/GSSName.java
1299         * org/ietf/jgss/MessageProp.java
1300         * org/ietf/jgss/Oid.java
1301         * org/ietf/jgss/MessagesBundle.properties
1303         Files imported from Jessie <http://www.nongnu.org/jessie/>
1304         * javax/net/ServerSocketFactory.java
1305         * javax/net/SocketFactory.java
1306         * javax/net/VanillaServerSocketFactory.java
1307         * javax/net/VanillaSocketFactory.java
1308         * javax/net/ssl/HandshakeCompletedEvent.java
1309         * javax/net/ssl/HandshakeCompletedListener.java
1310         * javax/net/ssl/HostnameVerifier.java
1311         * javax/net/ssl/HttpsURLConnection.java
1312         * javax/net/ssl/KeyManager.java
1313         * javax/net/ssl/KeyManagerFactory.java
1314         * javax/net/ssl/KeyManagerFactorySpi.java
1315         * javax/net/ssl/ManagerFactoryParameters.java
1316         * javax/net/ssl/SSLContext.java
1317         * javax/net/ssl/SSLContextSpi.java
1318         * javax/net/ssl/SSLException.java
1319         * javax/net/ssl/SSLHandshakeException.java
1320         * javax/net/ssl/SSLKeyException.java
1321         * javax/net/ssl/SSLPeerUnverifiedException.java
1322         * javax/net/ssl/SSLPermission.java
1323         * javax/net/ssl/SSLProtocolException.java
1324         * javax/net/ssl/SSLServerSocket.java
1325         * javax/net/ssl/SSLServerSocketFactory.java
1326         * javax/net/ssl/SSLSession.java
1327         * javax/net/ssl/SSLSessionBindingEvent.java
1328         * javax/net/ssl/SSLSessionBindingListener.java
1329         * javax/net/ssl/SSLSessionContext.java
1330         * javax/net/ssl/SSLSocket.java
1331         * javax/net/ssl/SSLSocketFactory.java
1332         * javax/net/ssl/TrivialHostnameVerifier.java
1333         * javax/net/ssl/TrustManager.java
1334         * javax/net/ssl/TrustManagerFactory.java
1335         * javax/net/ssl/TrustManagerFactorySpi.java
1336         * javax/net/ssl/X509KeyManager.java
1337         * javax/net/ssl/X509TrustManager.java
1338         * javax/security/cert/Certificate.java
1339         * javax/security/cert/CertificateEncodingException.java
1340         * javax/security/cert/CertificateException.java
1341         * javax/security/cert/CertificateExpiredException.java
1342         * javax/security/cert/CertificateNotYetValidException.java
1343         * javax/security/cert/CertificateParsingException.java
1344         * javax/security/cert/X509CertBridge.java
1345         * javax/security/cert/X509Certificate.java
1347         2004-08-20  Casey Marshall  <csm@gnu.org>
1349         * java/security/cert/X509CRLSelector.java: New file.
1350         * java/security/cert/X509CertSelector.java: New file.
1352 2004-09-15  Michael Koch  <konqueror@gmx.de>
1354         * gnu/java/net/protocol/file/Handler.java
1355         (openConnection): Don't throw exception if host part for file: URI is
1356         present. setURL() keeps file: protocol if ftp: protocol is not
1357         available.
1359 2004-09-14  Richard Henderson  <rth@redhat.com>
1361         * java/lang/natPosixProcess.cc (waitForSignal): Ignore return
1362         value of sigsuspend.
1364 2004-09-12  Tom Tromey  <tromey@redhat.com>
1366         * javax/naming/CompoundName.java (CompoundName): Don't check for
1367         separator in "flat" case.
1369 2004-09-12  Michael Koch  <konqueror@gmx.de>
1371         * libltdl/configure.ac: Fixed AM_INIT_AUTOMAKE usage and replaces
1372         AM_CONFIG_HEADER by AC_CONFIG_FILES.
1373         * libltdl/Makefile.in, libltdl/aclocal.m4, libltdl/configure:
1374         Regenerate.
1376 2004-09-11  Mohan Embar  <gnustuff@thisiscool.com>
1378         PR libgcj/14751
1379         * win32-threads.cc (_Jv_ThreadInitData): Zero out thread
1380         handle in newly-allocated _Jv_Thread_t.
1381         (_Jv_ThreadDestroyData): Close thread handle.
1382         (_Jv_ThreadStart): Remove obsolete comment.
1383         Store handle of newly-created thread in _Jv_Thread_t.
1384         * include/win32-threads.h: #define WIN32_LEAN_AND_MEAN
1385         before including <windows.h>
1386         #define _Jv_HaveCondDestroy
1388 2004-09-11  Mohan Embar  <gnustuff@thisiscool.com>
1390         * java/lang/natThread.cc (finalize_native): Destroy
1391         join conditional variable and mutex if these destroy
1392         operations are supported.
1394 2004-09-10  Dalibor Topic <robilad@kaffe.org>
1396         * gnu/java/net/protocol/file/Connection.java (permission): New field.
1397         (DEFAULT_PERMISSION): New constant.
1398         (Connection): Create a FilePermission with permission to read file.
1400 2004-09-10  Michael Koch  <konqueror@gmx.de>
1402         * gnu/java/net/protocol/file/Connection.java
1403         (getLastModified): Moved around.
1404         (getPermission): Return stored permission.
1406 2004-09-10  Michael Koch  <konqueror@gmx.de>
1408         * Makefile.in: Regenerate.
1410 2004-09-10  Michael Koch  <konqueror@gmx.de>
1412         * Makefile.am: Reverted accidently commited stuff.
1413         * configure: Regenerated.
1415 2004-09-10  Michael Koch  <konqueror@gmx.de>
1417         * gnu/java/net/protocol/file/Connection.java
1418         (lineSeparator): Made non-final.
1419         (static): Removed.
1420         (connect): Initialize lineSeparator lazily. Use ByteArrayInputStream
1421         instead of StringBufferInputStream.
1423 2004-09-10  Michael Koch  <konqueror@gmx.de>
1425         * gnu/java/net/protocol/file/Connection.java
1426         (connect): Handle file is a directory case.
1428 2004-09-10  Michael Koch  <konqueror@gmx.de>
1430         * Makefile.am
1431         (xlib_includes): Removed.
1432         (AM_CPPFLAGS): Renamed from INCLUDES.
1433         (lib_gnu_awt_xlib_la_CPPFLAGS): New automake variable.
1434         * Makefile.in: Regenerate.
1436 2004-09-09  Michael Koch  <konqueror@gmx.de>
1438         * java/security/ProtectionDomain.java,
1439         * java/util/PropertyPermissionCollection.java:
1440         Fixed javadocs all over.
1442 2004-09-09  Sven de Marothy  <sven@physto.se>
1444         Patch from David Gilbert <david.gilbert@object-refinery.com>
1445         * java/lang/Comparable.java: Fixed documentation errors.
1446         * java/util/Arrays.java: Likewise.
1448 2004-09-09  Andrew John Hughes  <gnu_andrew@member.fsf.org>
1450         * java/net/Inet4Address.java
1451         (Inet4Address): Added comment to serialization UID.
1452         * java/text/Format.java
1453         (Format): Added comment to serialization UID.
1455 2004-09-09  Michael Koch  <konqueror@gmx.de>
1457         * java/lang/System.java
1458         (err): Fixed javadoci to point to setErr() and not setOut().
1460 2004-09-09  Jeroen Frijters  <jeroen@frijters.net>
1462         (normalizePath): Added special case for windows systems.
1464 2004-09-09  Michael Koch  <konqueror@gmx.de>
1466         * java/io/File.java
1467         (dupSeparator): Made private.
1468         (File(URI)): New constructor.
1469         (getParentFile): Fixed javadoc.
1470         (createTempFile): Reformated.
1471         (setReadOnly): Added comment.
1472         (deleteOnExit): Merged javadoc with classpath version.
1474 2004-09-09  Michael Koch  <konqueror@gmx.de>
1476         * Makefile.am: Don't try to include deps.mk.
1477         * Makefile.in: Regenerated.
1479 2004-09-08  Bryce McKinlay  <mckinlay@redhat.com>
1481         * configure.ac (AC_CONFIG_COMMANDS): Don't create subdirectories and
1482         .d files.
1483         * configure: Rebuilt.
1485 2004-09-04  Mohan Embar  <gnustuff@thisiscool.com>
1487         * java/net/natNetworkInterfaceWin32.cc (getRealNetworkInterfaces):
1488         Changed pfn from static local to local.
1490 2004-09-03  Bryce McKinlay  <mckinlay@redhat.com>
1491             H.J. Lu  <hongjiu.lu@intel.com>
1493         PR libgcj/17290
1494         * Makefile.am (GCJCOMPILE): Remove definition.
1495         (AM_CFLAGS): Add -fclasspath and -fbootclasspath flags.
1496         Use LTGCJCOMPILE, not GCJCOMPILE, to build .lo targets.
1497         * Makefile.in: Rebuilt.
1499 2004-09-03  Kelley Cook  <kcook@gcc.gnu.org>
1501         * configure.ac (enable-gc-debug): Update help for new syntax.
1502         * configure: Regenerate.
1504 2004-09-03  David Daney  <ddaney@avtrex.com>
1506         * include/mips-signal.h: Update copyright.
1508 2004-09-03  David Daney  <ddaney@avtrex.com>
1510         * configure.host: Use -fno-use-divide-subroutine for mips*-*-linux*.
1511         * include/mips-signal.h: Added HANDLE_FPE support.
1512         
1513 2004-08-31  Michael Koch  <konqueror@gmx.de>
1515         * javax/swing/plaf/basic/BasicTextAreaUI.java
1516         (create): New method.
1517         * javax/swing/text/DefaultHighlighter.java
1518         (DefaultHighlightPainter.debugRect): Removed.
1519         * javax/swing/text/StyleContext.java
1520         (DEFAULT_STYLE): New field.
1522 2004-08-31  Michael Koch  <konqueror@gmx.de>
1524         * javax/swing/plaf/basic/BasicLookAndFeel.java
1525         (initComponentDefaults): Add keybindings for selection.backward and
1526         selection-forward for text components.
1527         * javax/swing/plaf/basic/BasicTextUI.java
1528         (paintSafely): Paint highlight only when something is actually
1529         selected.
1530         * javax/swing/text/DefaultCaret.java
1531         (handleHighlight): New method.
1532         (setSelectionVisible): Don't do anything when nothing changes.
1533         Handle highlight.
1534         (moveDot): Reimplemented. Handle highlight.
1535         (setDot): Set mark too. Handle highlight.
1536         (getSelectionPainter): New method.
1537         * javax/swing/text/DefaultEditorKit.java
1538         (defaultActions): Added new actions for text selection.
1539         * javax/swing/text/DefaultHighlighter.java
1540         (DefaultHighlightPainter): New inner class.
1541         (DefaultPainter): New field.
1542         (paint): Implemented.
1543         * javax/swing/text/PlainView.java
1544         (paint): Don't draw background here again.
1545         * javax/swing/text/Utilities.java
1546         (getTabbedTextWidth): Use width of ' ' instead of 'm' for tabsize.
1547         (drawTabbedText): Likewise.
1549 2004-08-31  Graydon Hoare  <graydon@redhat.com>
1551         * javax/swing/JComponent.java
1552         (resetKeyboardActions): Add null checks.
1554 2004-08-31  Graydon Hoare  <graydon@redhat.com>
1556         * javax/swing/DefaultButtonModel.java:
1557         Skip group notification when no group is set.
1559 2004-08-31  Graydon Hoare  <graydon@redhat.com>
1561         * javax/swing/JColorChooser.java: 
1562         Make a couple inner classes static, for jikes.
1564 2004-08-31  Michael Koch  <konqueror@gmx.de>
1566         * javax/swing/plaf/basic/BasicTextUI.java
1567         (RottView.modelToView): New method.
1568         (UpdateHandler): Renamed from EventHandler.
1569         (updateHandler): Renamed from eventHandler.
1570         (modelToView): Implemented.
1571         * javax/swing/text/AbstractDocument.java
1572         (BranchElement.getElement): Return null for non-existing indeces.
1573         (BranchElement.getElementIndex): Return 0 in some corner cases.
1574         * javax/swing/text/FieldView.java
1575         (modelToView): New method.
1576         * javax/swing/text/PlainView.java
1577         (modelToView): Made public.
1579 2004-08-31  Kim Ho  <kho@redhat.com>
1581         * Makefile.am: New files.
1582         * Makefile.in: Regenerate.
1583         * gcj/Makefile.in: Regenerate.
1584         * include/Makefile.in: Regenerate.
1585         * java/awt/Color.java: Fix documentation.
1586         (RGBtoHSB): Use floats for conversions.
1587         * javax/swing/ButtonGroup.java: Run Jalopy.
1588         (setSelected): Reimplement.
1589         * javax/swing/DefaultButtonModel.java: Run Jalopy.
1590         (changeState): Let ButtonGroup know that the button 
1591         is changing state.
1592         * javax/swing/JColorChooser.java: Implement.
1593         * javax/swing/JLabel.java: Run Jalopy.
1594         * javax/swing/JSpinner.java: Run Jalopy.
1595         (setValue): New method.
1596         * javax/swing/JTabbedPane.java: Run Jalopy.
1597         (removeTabAt): Call correct remove method.
1598         * javax/swing/SpinnerNumberModel.java: Run Jalopy.
1599         (getPreviousValue): Compare minimum value.
1600         * javax/swing/Timer.java: Run Jalopy.
1601         (run): Comment out println.
1602         * javax/swing/ToolTipManager.java:
1603         (mouseMoved): Get new tooltip text for location.
1604         * javax/swing/colorchooser/AbstractColorChooserPanel.java:
1605         Jalopy and Javadoc.
1606         * javax/swing/colorchooser/ColorChooserComponentFactory.java:
1607         Implement.
1608         * javax/swing/colorchooser/DefaultColorSelectionModel.java:
1609         Run Jalopy.
1610         (setSelectedColor): Fire ChangeEvent.
1611         * javax/swing/colorchooser/DefaultHSBChooserPanel.java:
1612         New file. Implement.
1613         * javax/swing/colorchooser/DefaultPreviewPanel.java:
1614         Ditto.
1615         * javax/swing/colorchooser/DefaultRGBChooserPanel.java:
1616         Ditto.
1617         * javax/swing/colorchooser/DefaultSwatchChooserPanel.java:
1618         Ditto.
1619         * javax/swing/plaf/basic/BasicArrowButton.java:
1620         (getArrow): Fix size of upward pointing button.
1621         * javax/swing/plaf/basic/BasicColorChooserUI.java:
1622         Implement.
1623         * javax/swing/plaf/basic/BasicSliderUI.java:
1624         (getWidthOfWidestLabel): Use preferred dimensions.
1625         (getHeightOfTallestLabel): Ditto.
1626         * javax/swing/plaf/basic/BasicSpinnerUI.java:
1627         Run Jalopy.
1628         (mousePressed): Disable changes to spinner if it is not enabled.
1629         * testsuite/Makefile.in: Regenerate.
1632 2004-08-31  Michael Koch  <konqueror@gmx.de>
1634         * javax/swing/plaf/basic/BasicTableHeaderUI.java,
1635         javax/swing/plaf/basic/BasicTableUI.java:
1636         Added copyright notice.
1638 2004-08-31  Olga Rodimina  <rodimina@redhat.com>
1640         * Makefile.am: Added new files.
1641         * Makefile.in: Regenerate.
1642         * javax/swing/ComboBoxEditor.java: Added javadocs.
1643         * javax/swing/ComboBoxModel.java: Likewise.
1644         * javax/swing/DefaultComboBoxModel.java: Implemented.
1645         * javax/swing/DefaultListCellRenderer.java: Added javadocs
1646         and ran through jalopy to fix formatting style.
1647         (getListCellRendererComponent): Use appropriate border
1648         if renderer has focus and use noFocusBorder when it doesn't.
1649         * javax/swing/JComboBox.java: Implemented.
1650         * javax/swing/JList.java:
1651         (locationToIndex): New Method. Implemented.
1652         (indexToLocation): New Method.
1653         * javax/swing/JPopupMenu.java: 
1654         (visible): New field.
1655         (isVisible): Changed to use new field above.
1656         (setVisible): Likewise.
1657         * javax/swing/MutableComboBoxModel.java: Added javadocs.
1658         * javax/swing/plaf/basic/BasicArrowButton.java: 
1659         (shadow): Changed default color to Color.gray.
1660         * javax/swing/plaf/basic/BasicComboBoxUI.java: New File.
1661         UI delegate for JComboBox.
1662         * javax/swing/plaf/basic/BasicComboPopup.java: New File.
1663         Popup menu containing list of JComboBox's items.
1664         * javax/swing/plaf/basic/BasicComboBoxEditor.java: New File.
1665         * javax/swing/plaf/basic/BasicComboBoxRenderer.java: New File.
1666         * javax/swing/plaf/basic/BasicComboBoxUI.java: New File.
1667         * javax/swing/plaf/basic/BasicComboPopup.java: New File.
1668         * javax/swing/plaf/basic/BasicPopupMenuUI.java:
1669         (popupMenuWillBecomeVisible): Set selected path to the first
1670         element only if it is of type MenuElement. Also fix formatting
1671         style.
1672         * javax/swing/plaf/basic/ComboPopup.java: Added javadocs and missing
1673         methods signatures.
1674         
1675 2004-08-31  Michael Koch  <konqueror@gmx.de>
1677         * javax/swing/text/AbstractDocument.java
1678         (createBranchElement): Use new constructor of BranchElement.
1679         (createLeafElement): Renamed arguments.
1680         (getRootElements): Implemented.
1681         (BranchElement.start): Removed.
1682         (BranchElement.end): Likewise.
1683         (BranchElement.BranchElement): Fixed arguments.
1684         (BranchElement.getEndOffset): Reimplemented.
1685         (BranchElement.getStartOffset): Likewis.
1686         * javax/swing/text/DefaultCaret.java
1687         (paint): Draw simple vertical line as caret instead of a rectangle.
1688         * javax/swing/text/JTextComponent.java
1689         (setText): Use doc directly.
1690         * javax/swing/text/PlainView.java
1691         (nextTabStop): Implemented.
1692         * javax/swing/text/Utilities.java
1693         (drawTabbedText): nextTabStop() returns an absolute x position.
1694         (getTabbedTextWidth): Likewise.
1696 2004-08-31  Graydon Hoare  <graydon@redhat.com>
1698         * java/awt/Component.java 
1699         (isFocusTraversable): Predicate on isLightweight()
1700         (setFocusable): Set isFocusTraversableOverridden.
1701         (requestFocus): Predicate peer dispatch on !isLightweight()
1702         (requestFocusInWindow): Likewise.
1703         (dispatchEventImpl): Coordinate with KeyboardFocusManager.
1704         * java/awt/Container.java
1705         (dispatchEventImpl): Predicate on event mask.
1706         (LightweightDispatcher): Remove focus machinery.
1707         * java/awt/DefaultFocusTraversalPolicy.java
1708         (accept): Expand predicate to include isFocusable(). 
1709         * java/awt/DefaultKeyboardFocusManager.java:
1710         Globally change c.dispatchEvent(e) to redispatchEvent(c,e)
1711         * java/awt/KeyboardFocusManager.java
1712         (redispatchEvent): Synchronize on event to prevent feedback.
1713         * javax/swing/AbstractButton.java
1714         (ButtonFocusListener): Remove class.
1715         (init): Set focusPainted, focusable.
1716         * javax/swing/ActionMap.java (get): Check parent for null. 
1717         * javax/swing/InputMap.java (get): Likewise. 
1718         * javax/swing/JComponent.java
1719         (inputMap_whenFocused): New InputMap.
1720         (inputMap_whenAncestorOfFocused): Likewise.
1721         (inputMap_whenInFocusedWindow): Likewise.
1722         (getActionForKeyStroke): Rewrite.
1723         (getConditionForKeystroke): Likewise.
1724         (ActionListenerProxy): New private class.
1725         (setInputMap): Implement.
1726         (getInputMap): Likewise.
1727         (setActionMap): Likewise.
1728         (getActionMap): Likewise.
1729         (processComponentKeyEvent): New empty method.
1730         (processKeyEvent): Implement.
1731         (processKeyBinding): Likewise.
1732         (resetKeyboardActions): Rewrite.
1733         * javax/swing/KeyStroke.java: Rewrite.
1734         * javax/swing/SwingUtilities.java
1735         (notifyAction): Implement.
1736         (replaceUIActionMap): Likewise.
1737         (replaceUIInputMap): Likewise.
1738         * javax/swing/plaf/basic/BasicButtonListener.java
1739         (focusGained): Implement.
1740         (focusLost): Repaint if focusPainted().
1741         (installKeyboardActions): Install pressed / released actions.
1742         (uninstallKeyboardActions): Implement.
1743         * javax/swing/plaf/basic/BasicButtonUI.java
1744         (focusColor): New field.
1745         (installDefaults): Load focus color, install input map.
1746         (installKeyboardActions): Implement.
1747         (uninstallKeyboardActions): Likewise.
1748         (paintFocus): Rewrite.
1749         * javax/swing/plaf/basic/BasicLookAndFeel.java
1750         (Button.focus): New default, midPurple. 
1751         * javax/swing/plaf/basic/BasicTextUI.java
1752         (kit): Make static.
1753         (installUI): Get doc from kit, load defaults.
1754         (getKeymapName): Implement.
1755         (createKeymap): Likewise.
1756         (installKeyboardActions): Likewise.
1757         (getInputMap): Likewise.
1758         (getActionMap): Likewise.
1759         (createActionMap): Likewise.
1760         * javax/swing/text/AbstractDocument.java
1761         (getStartPosition): Implement.
1762         (getEndPosition): Likewise.
1763         * javax/swing/text/DefaultEditorKit.java
1764         (CopyAction): New class.
1765         (CutAction): Likewise.
1766         (DefaultKeyTypedAction): Likewise.
1767         (InsertBreakAction): Likewise.
1768         (InsertContentAction): Likewise.
1769         (InsertTabAction): Likewise.
1770         (PasteAction): Likewise.
1771         (defaultActions): New static table.
1772         (createCaret): Implement.
1773         (getActions): Likewise.
1774         * javax/swing/text/JTextComponent.java
1775         (KeymapWrapper): New private class.
1776         (KeymapActionMap): Likewise.
1777         (DefaultKeymap): New class.
1778         (keymaps): New static table.
1779         (keymap): New field.
1780         (getKeymap): Implement.
1781         (removeKeymap): Likewise.
1782         (addKeymap): Likewise.
1783         (setKeymap): Likewise.
1784         (loadKeymap): Likewise.
1785         (getActions): Likewise.
1786         (margin): New field.
1787         (JTextComponent): Build and install default keymap.
1788         * javax/swing/text/TextAction.java
1789         (textAction): Call super properly.
1790         (getTextComponent): Implement.
1791         * javax/swing/text/Utilities.java
1792         (drawTabbedText): Adjust position by ascent.
1794 2004-08-31  David Jee  <djee@redhat.com>
1796         PR AWT/17156
1798         * gnu/java/awt/peer/gtk/GtkMenuItemPeer.java
1799         (setEnabled): Make it a native method.
1800         * java/awt/DefaultKeyboardFocusManager.java
1801         (postProcessKeyEvent): Only post event if the menu item
1802         is active.
1803         * java/awt/MenuItem.java:
1804         Private field 'enabled' should be true by default.
1805         * jni/gtk-peer/gnu_java_awt_peer_gtk_GtkMenuItemPeer.c
1806         (setEnabled): New function.
1808 2004-08-31  David Jee  <djee@redhat.com>
1810         PR AWT/17059
1812         * gnu/java/awt/peer/gtk/GtkMenuBarPeer.java
1813         (nativeSetHelpMenu): New native method declaration.
1814         (addHelpMenu): Call nativeSetHelpMenu().
1815         (addMenu): Remove.
1816         * java/awt/MenuBar.java
1817         (setHelpMenu): Call addNotify() on the new help menu.
1818         (add): Call addNotify() on the new menu.
1819         (addNotify): Set the help menu if one exists.
1820         * java/awt/peer/MenuBarPeer.java
1821         (addMenu): Remove.
1822         * jni/gtk-peer/gnu_java_awt_peer_gtk_GtkMenuBarPeer.c
1823         (nativeSetHelpMenu): New method.
1825 2004-08-31  Graydon Hoare  <graydon@redhat.com>
1827         * Makefile.am: Add new files.
1828         * Makefile.in: Regenerate.
1829         * javax/swing/Box.java: Fix setting of layout in ctor.
1830         * javax/swing/JScrollPane.java: Scroll headers as well.
1831         * javax/swing/JTable.java: Reimplement.
1832         * javax/swing/JViewPort.java: Only add non-null children.
1833         * javax/swing/ScrollPaneLayout.java: Correct header calculations.
1834         * javax/swing/Timer.java: Fix stopping null waker.
1835         * javax/swing/plaf/basic/BasicTableHeaderUI.java: New file.
1836         * javax/swing/plaf/basic/BasicTableUI.java: New file.
1837         * javax/swing/table/DefaultTableCellRenderer.java: Configure.
1838         * javax/swing/table/DefaultTableColumnModel.java: Flesh out.
1839         * javax/swing/table/DefaultTableModel.java: Clean up.
1840         * javax/swing/table/JTableHeader.java: Implement.
1842 2004-08-31  Mark Wielaard  <mark@klomp.org>
1844         * javax/swing/JSpinner.java (getChangeListeners): Remove double
1845         semi-colon.
1847 2004-08-31  Mark Wielaard  <mark@klomp.org>
1849         * jni/gtk-peer/gnu_java_awt_peer_gtk_GdkClasspathFontPeerMetrics.c:
1850         Declare variables at top of functions/block.
1851         * jni/gtk-peer/gnu_java_awt_peer_gtk_GdkGraphics2D.c: Likewise.
1853 2004-08-31  Mark Wielaard  <mark@klomp.org>
1855         * java/lang/Rectangle.java (intersects): Check r.width and r.height
1856         first.
1858 2004-08-31  Michael Koch  <konqueror@gmx.de>
1860         * javax/swing/text/PlainView.java
1861         (selectedColor): New field.
1862         (unselectedColor): Likewise.
1863         (font): Likewise.
1864         (updateMetrics): New method.
1865         (lineToRect): Likewise.
1866         (modelToView): Likewise.
1867         (drawSelectedText): Use color from JTextComponent ad draw with
1868         Utilities class.
1869         (drawUnselectedText): Likewise.
1870         (paint): Initialize helper fields.
1871         * javax/swing/text/View.java
1872         (getChildAllocation): New method.
1873         (getViewIndex): Likewise.
1874         (getToolTipText): Likewise.
1876 2004-08-31  Michael Koch  <konqueror@gmx.de>
1878         * javax/swing/text/Utilities.java
1879         (drawTabbedText): Reimplemented.
1880         (getTabbedTextWidth): Likewise.
1882 2004-08-31  Michael Koch  <konqueror@gmx.de>
1884         * javax/swing/plaf/basic/BasicTextUI.java
1885         (installDefaults): Install caret and highlighter.
1886         (modelToView): Use Bias.Forward when calling sibling.
1887         * javax/swing/text/AbstractDocument.java
1888         (ElementEdit): Implements DocumentEvent.ElementChange.
1889         (ElementEdit.ElementEdit): New method.
1890         (ElementEdit.getChildrenAdded): Likewise.
1891         (ElementEdit.getChildrenRemoved): Likewise.
1892         (ElementEdit.getElement): Likewise.
1893         (ElementEdit.getIndex): Likewise.
1894         * javax/swing/text/DefaultCaret.java
1895         (color): Removed.
1896         (textComponent): Renamed from parent, made private.
1897         (selectionVisible): Renamed from vis_sel, made private.
1898         (blinkRate): Renamed from blink, made private.
1899         (magicCaretPosition): Renamed from magic, made private.
1900         (visible): Renamed from vis, made private.
1901         (dot): Made private.
1902         (mark): Likewise.
1903         (deinstall): Remove as MouseMotionListener.
1904         (install): Initialize textComponent first. Add as MouseMotionListener.
1905         (paint): Reimplemented.
1906         * javax/swing/text/JTextComponent.java
1907         (setCaret): Deinstall old caret, install new one and fire property
1908         change after setting property.
1909         (setHighlighter): Deinstall old highlighter, install new one and fire
1910         property change after setting property.
1911         (setCaretColor): Fire property change after setting property.
1912         (setDisabledTextColor): Likewise.
1913         (setSelectedTextColor): Likewise.
1914         (setSelectionColor): Likewise.
1915         (modelToView): New method.
1917 2004-08-31  Michael Koch  <konqueror@gmx.de>
1919         * javax/swing/text/AbstractDocument.java
1920         (getText): Simplified.
1921         * javax/swing/text/Segment.java
1922         (current): New field.
1923         (current): Reimplemented.
1924         (first): Likewise.
1925         (getIndex): Likewise.
1926         (last): Likewise.
1927         (next): Likewise.
1928         (previous): Likewise.
1929         (setIndex): Likewise.
1931 2004-08-31  Michael Koch  <konqueror@gmx.de>
1933         * javax/swing/plaf/basic/BasicButtonUI.java
1934         (defaultTextIconGap): Made protected.
1935         (defaultTextShiftOffset): Likewise.
1936         (textShiftOffset): New field.
1937         (clearTextShiftOffset): New method.
1938         (getTextShiftOffset): Likewise.
1939         (setTextShiftOffset): Likewise.
1941 2004-08-31  Michael Koch  <konqueror@gmx.de>
1943         * javax/swing/plaf/basic/BasicTextUI.java
1944         (installUI): Add eventHandler as property listener.
1945         (uninstallUI): remove eventHandler as propert listener.
1946         (installDefaults): Added comment.
1947         (installListeners): Likewise.
1948         (installKeyboardActions): Likewise.
1949         (uninstallDefaults): Likewise.
1950         (uninstallListeners): Likewise.
1951         (uninstallKeyboardActions): Likewise.
1953 2004-08-31  Michael Koch  <konqueror@gmx.de>
1955         * javax/swing/text/AbstractDocument.java:
1956         Fixed some typos in comments.
1957         (insertString): Reimplemented.
1958         (remove): Likewise.
1959         (replace): New method.
1960         (children): Dont use fully qualified class name.
1961         (DefaultDocumentEvent.offset): Renamed from off.
1962         (DefaultDocumentEvent.length): Renamed from len.
1963         (DefaultDocumentEvent.type): New field.
1964         (DefaultDocumentEvent.DefaultDocumentEvent): New constructor.
1965         (DefaultDocumentEvent.getType): Implemented.
1967 2004-08-31  Michael Koch  <konqueror@gmx.de>
1969         * javax/swing/plaf/basic/BasicTextUI.java
1970         (RootView.textComponent): Removed.
1971         (RootView.RootView): Don't initialize textComponent.
1972         (RootView.getViewFactory): New method.
1973         (EventHandler): New inner class.
1974         (rootView): Initialize at instance creation.
1975         (eventHandler): New field.
1976         (installUI): Don't create view hierarchy directly,
1977         call modelChanged() instead.
1978         (modelChanged): New method.
1979         * javax/swing/text/JTextComponent.java
1980         (setDocument): Fire property change event.
1982 2004-08-31  Michael Koch  <konqueror@gmx.de>
1984         * javax/swing/plaf/basic/BasicTextUI.java
1985         (RootView.paint): Removed debug output.
1986         (paintSafely): Draw highlighter before text.
1987         (paintBackground): Use background color of text component.
1988         * javax/swing/plaf/basic/BasicToggleButtonUI.java:
1989         Reformatted.
1991 2004-08-31  Michael Koch  <konqueror@gmx.de>
1993         * javax/swing/plaf/basic/BasicToolBarUI.java
1994         (BasicToolBarUI): Fixed arguments for constructor.
1995         (createUI): Fixed creation of object.
1997 2004-08-31  Michael Koch  <konqueror@gmx.de>
1999         * javax/swing/DefaultListSelectionModel.java
2000         (fireValueChanged): Renamed from fireSelectionValueChanged,
2001         made protected.
2003 2004-08-31  Michael Koch  <konqueror@gmx.de>
2005         * javax/swing/text/TabSet.java
2006         (TabSet): Implements java.io.Serializable.
2007         * javax/swing/text/TabStop.java
2008         (TabStop): Implements java.io.Serializable.
2009         (TabStop): Made public.
2011 2004-08-31  Michael Koch  <konqueror@gmx.de>
2013         * javax/swing/JComponent.java
2014         (setUI): Fire PropertyChange.
2015         * javax/swing/JLabel.java
2016         (text): Renamed from labelText.
2017         (horizontalAlignment): New default vlaue.
2018         (icon): Renamed from activeIcon.
2019         (displayedMnemonic): Renamed from mnemonicKey, added default value.
2020         (displayedMnemonicIndex): Renamed from underlineChar.
2021         (setDisplayedMnemonic): Reimplemented.
2022         * javax/swing/JRadioButton.java
2023         (JRadioButton): New constructors.
2024         * javax/swing/JTextField.java
2025         (JTextField): Throw exception if colums < 0, initialitialz
2026         this.columns directly and initialize document with text conditionally.
2028 2004-08-31  Michael Koch  <konqueror@gmx.de>
2030         * javax/swing/plaf/basic/BasicFormattedTextFieldUI.java,
2031         javax/swing/plaf/basic/BasicPasswordFieldUI.java,
2032         javax/swing/plaf/basic/BasicTextAreaUI.java: New files.
2033         * javax/swing/text/FieldView.java
2034         (paint): Just call super method for now.
2035         * Makefile.am: Added new files.
2036         * Makefile.in: Regenerated.
2038 2004-08-31  Ka-Hing Cheung  <kahing@javabsp.org>
2040         * javax/swing/AbstractSpinnerModel.java,
2041         javax/swing/JSpinner.java,
2042         javax/swing/SpinnerNumberModel.java,
2043         javax/swing/plaf/basic/BasicSpinnerUI.java:
2044         New files.
2045         * javax/swing/plaf/basic/BasicLookAndFeel.java
2046         (initClassDefaults): Added defaults for BasicSpinnerUI.
2048 2004-08-31  Michael Koch  <konqueror@gmx.de>
2050         * Makefile.am: Added new files.
2051         * Makefile.in: Regenerated.
2053 2004-08-31  Michael Koch  <konqueror@gmx.de>
2055         * javax/swing/TransferHandler.java,
2056         javax/swing/plaf/basic/ComboPopup.java: New files
2057         * Makefile.am: Added javax/swing/TransferHandler.java and
2058         javax/swing/plaf/basic/ComboPopup.java
2059         * Makefile.in: Regenerated.
2061 2004-08-31  Roman Kennke  <roman@ontographics.com>
2063         * javax/swing/text/Utilities.java: New file.
2065 2004-08-31  Michael Koch  <konqueror@gmx.de>
2067         * Makefile.am: Added javax/swing/text/Utilities.java.
2068         * Makefile.in: Regenerated.
2070 2004-08-31  Graydon Hoare  <graydon@redhat.com>
2072         * javax/swing/text/SimpleAttributeSet.java: New file.
2073         * javax/swing/text/StyleConstants.java: New file.
2074         * javax/swing/text/StyleContext.java: New file.
2075         * javax/swing/text/TabSet.java: New file.
2076         * javax/swing/text/TabStop.java: New file.
2077         * javax/swing/text/AbstactDocument.java:
2078         (AbstractElement): Implement attribute support.
2079         * javax/swing/text/AttributeSet.java
2080         (NameAttribute): New static field.
2081         (ResolveAttribute): New static field.
2082         * Makefile.am: Update for new files.
2083         * Makefile.in: Regenerate.
2085 2004-08-31  Craig Black  <craig.black@aonix.com>
2087         * gnu/java/awt/peer/gtk/GdkGraphics.java 
2088         (drawImage): Add support for scaling pixmaps.
2089         * jni/gtk-peer/gnu_java_awt_peer_gtk_GdkGraphics.c
2090         (copyAndScalePixmap): New native method.
2092 2004-08-31  Thomas Fitzsimmons  <fitzsim@redhat.com>
2094         PR AWT/16121
2095         * jni/gtk-peer/gthread-jni.c: Include stdio.h.  Eliminate
2096         type-punning compiler warnings using unions.
2097         (throw): Replace bzero with memset.
2099 2004-08-31  Andreas Tobler  <a.tobler@schweiz.ch>
2100             Thomas Fitzsimmons  <fitzsim@redhat.com>
2102         * jni/gtk-peer/gnu_java_awt_peer_gtk_GdkPixbufDecoder.c: Move
2103         NSA_PB macros to gtkpeer.h.  Include gtkpeer.h.
2104         * jni/gtk-peer/gtkpeer.h: Move NSA_PB macros here.
2105         * jni/gtk-peer/gnu_java_awt_peer_gtk_GtkWindowPeer.c
2106         (nativeSetIconImageFromDecoder): Use NSA_GET_PB_PTR macro.
2108 2004-08-31  Mark Wielaard  <mark@klomp.org>
2110         * native/jni/gtk-peer/gnu_java_awt_peer_gtk_GdkPixbufDecoder.c:
2111         #include gdk.h, not gtk.h. #include jni.h, native_state.h, string.h
2112         and stdlib.h, not gtkpeer.h.
2113         (*vm): New static variable.
2114         (areaPreparedID): Make static.
2115         (areaUpdatedID): Likewise.
2116         (area_prepared): Get and use JNIEnv through stored JavaVM *vm.
2117         (area_prepared): Likewise.
2118         (area_updated): Likewise.
2119         (closed): Likewise.
2120         (initStaticState): Initialize *vm javaVM.
2121         (pumpBytes): Use given env, not global gdk_env.
2123 2004-08-31  Mark Wielaard  <mark@klomp.org>
2125         * java/awt/geom/CubicCurve2D.java (solveCubic): Removed duplicate
2126         comments.
2128 2004-08-31  Sven de Marothy  <sven@physto.se>
2130         * java/awt/geom/CubicCurve2D.java: Reindent.
2131         (contains): Implemented.
2132         (intersects): Implemented.
2133         * java/awt/geom/QuadCurve2D.java: Likewise.
2134         * java/awt/geom/GeneralPath.java: Reindent and document.
2135         Fully (re)implemented using separate xpoints and ypoints
2136         float[] coords.
2137         * java/awt/geom/RoundRectangle2D.java: Several bugfixes (Bug #6007).
2139 2004-08-31  Michael Koch  <konqueror@gmx.de>
2141         * javax/swing/JMenuItem.java
2142         (getMenuDragMouseListeners): New method.
2143         (getMenuKeyListeners): Likewise.
2145 2004-08-31  Michael Koch  <konqueror@gmx.de>
2147         * javax/swing/AbstractButton.java
2148         (model): Made protected.
2149         (actionListener): Likewise.
2150         (changeListener): Likewise.
2151         (itemListener): Likewise.
2152         (multiClickThreshhold): New field.
2153         (getActionListeners): New method.
2154         (getChangeListeners): Likewise.
2155         (getItemListeners): Likewise.
2156         (fireItemStateChanged): Simplified implementation.
2157         (fireActionPerformed): Likewise.
2158         (fireStateChanged): Likewise.
2159         (getMultiClickThreshhold): New method.
2160         (setMultiClickThreshhold): Likewise.
2162 2004-08-31  Tom Tromey  <tromey@redhat.com>
2164         * java/awt/image/Kernel.java (clone): Use super.clone().
2166 2004-08-31  David Jee  <djee@redhat.com>
2168         PR AWT/16682
2169         * gnu/java/awt/peer/gtk/GtkFramePeer.java
2170         (nativeSetIconImage): Rename to nativeSetIconImageFromDecoder.
2171         (nativeSetIconImageFromData): New native method declaration.
2172         (setIconImage): Handle images not produced from GdkPixbufDecoder.
2173         * gnu/java/awt/peer/gtk/GtkImage.java
2174         (getPixelCache): New method.
2175         (getColorModel): New method.
2176         * jni/gtk-peer/gnu_java_awt_peer_gtk_GtkWindowPeer.c
2177         (nativeSetIconImage): Rename to nativeSetIconImageFromDecoder.
2178         (free_pixbuf_data): New helper function.
2179         (nativeSetIconImageFromData): New function.
2181 2004-08-31  Graydon Hoare  <graydon@redhat.com>
2183         PR SWING/16576
2184         * javax/swing/JLayeredPane.java 
2185         (setLayer): Permit changing layer after addition.
2186         (setPosition): Permit over-length positions.
2187         (layerToRange): Compare intValue()s.
2188         * javax/swing/Box.java (createHorizontalBox): Implement.
2189         (createRigidArea): Likewise.
2190         (createVerticalBox): Likewise.
2192 2004-08-31  Kim Ho  <kho@redhat.com>
2194         * java/awt/Component.java:
2195         (processMouseEvent): Consume event after
2196         listeners process it.
2197         (processMouseMotionEvent): ditto.
2198         (processMouseWheelEvent): ditto.
2199         * java/awt/Container.java:
2200         (acquireComponentForMouseEvent):
2201         Do not dispatch to events that have been
2202         removed from the Container.
2203         (handleEvent): Consume the MouseEvents.
2204         * javax/swing/RepaintManager.java:
2205         (paintDirtyRegions): Do not add to list of 
2206         damaged areas if the component has no root.
2208 2004-08-31  Michael Koch  <konqueror@gmx.de>
2210         * javax/swing/plaf/basic/BasicMenuItemUI.java: Clean ip imports.
2212 2004-08-31  Mark Wielaard  <mark@klomp.org>
2214         * gnu/java/awt/peer/gtk/GtkToolkit.java (getFontPeer): Don't return
2215         null when a MissingResourceException is thrown. Should never happen.
2217 2004-08-31  Mark Wielaard  <mark@klomp.org>
2219         * java/awt/EventQueue.java (postEvent): Throw NullPointerException
2220         when argument is null.
2222 2004-08-31  Mark Wielaard  <mark@klomp.org>
2224         * jni/gtk-peer/gnu_java_awt_peer_gtk_GtkComponentPeer.c
2225         (Java_gnu_java_awt_peer_gtk_GtkComponentPeer_addExposeFilter):
2226         Define hid at start of function.
2227         (Java_gnu_java_awt_peer_gtk_GtkComponentPeer_removeExposeFilter):
2228         Likewise.
2230 2004-08-31  Mark Wielaard  <mark@klomp.org>
2232         * gnu/java/awt/EmbeddedWindow.java: Reindent.
2233         * javax/swing/JButton.java: Reindent.
2234         * javax/swing/JCheckBox.java: Reindent.
2236 2004-08-31  Mark Wielaard  <mark@klomp.org>
2238         * Makefile.am (gtk_c_source_files): Added
2239         jni/gtk-peer/gnu_java_awt_peer_gtk_GThreadNativeMethodRunner.c.
2240         (gtk_awt_peer_sources): Added
2241         gnu/java/awt/peer/gtk/GThreadMutex.java and
2242         gnu/java/awt/peer/gtk/GThreadNativeMethodRunner.java.
2243         * Makefile.in: Regenerated.
2245 2004-08-31  Archie Cobbs  <archie@dellroad.org>
2247         * jni/gtk-peer/gthread-jni.c: don't #include nonexistent files
2249 2004-08-31  Steven Augart  <augart@watson.ibm.com>
2251         * jni/gtk-peer/gthread-jni.c (c-font-lock-extra-types): 
2252         Added jfieldID, jmethodID.
2254 2004-08-31  Mark Wielaard  <mark@klomp.org>
2256         * jni/gtk-peer/gnu_java_awt_peer_gtk_GtkMainThread.c
2257         (Java_gnu_java_awt_peer_gtk_GtkMainThread_gtkInit): Initialize
2258         gdk_env before calling any gdk or gtk function.
2260         * gnu/java/awt/peer/gtk/GtkMainThread.java (gtkInitCalled): New field.
2261         (GtkMainThread): Call wait() in while loop waiting for gtkInitCalled.
2262         (run): Set gtkInitCalled.
2264 2004-08-31  Steven Augart  <augart@watson.ibm.com>
2266         * gnu/java/awt/peer/gtk/GtkMainThread.java (run): Pass the value of 
2267         the gnu.classpath.awt.gtk.portable.native.sync system property to C.
2269         * jni/gtk-peer/gnu_java_awt_peer_gtk_GtkMainThread.c
2270         (Java_gnu_java_awt_peer_gtk_GtkMainThread_gtkInit): New argument,
2271         portableNativeSync.  Delegate PORTABLE_NATIVE_SYNC work to
2272         init_glib_threads. 
2273         (init_glib_threads): New function.
2275 2004-08-31  Mark Wielaard  <mark@klomp.org>
2277         * jni/gtk-peer/gthread-jni.c: Define MIN_, MAX_ and NORM_
2278         PRIORITY when not already defined in header file.
2280 2004-08-31  Mark Wielaard  <mark@klomp.org>
2282         * jni/gtk-peer/gthread-jni.c (setup_cache): Call
2283         ExceptionOccurred, not ExceptionCheck, when we don't have JNI 1.2.
2285 2004-08-31  Steven Augart  <augart@watson.ibm.com>
2287         * gnu/native/jni/gtk-peer/gthread-jni.c: Indentation fixes.
2288         Implemented missing functions for GTK2.
2289         Added error handling.
2290         Renamed static functions out of the g_ namespace.
2291         Added TRACE_API_CALLS, EXPLAIN_TROUBLE, EXPLAIN_BROKEN, 
2292         EXPLAIN_BADLY_BROKEN, and DELETE_LOCAL_REFS options.
2293         Rewrote global-reference code.
2294         Eliminated cascading errors.
2295         (mutex_trylock_jni_impl) Fully implemented.
2296         (cond_timed_wait_jni_impl) Went from millisecond to microsecond
2297         resolution.
2298         (setup_cache) New function.
2299         (mutex_cond_wait_jni_impl, mutex_cond_timed_wait_jni_impl) Fixed
2300         bug where they were not unlocking the GMutex associated with the
2301         condition variable during the wait on that condition variable.
2303         * native/jni/gtk-peer/gnu_java_awt_peer_gtk_GtkMainThread.c,
2304         native/jni/gtk-peer/gthread-jni.c,
2305         native/jni/gtk-peer/gthread-jni.h
2306         (g_thread_jni_functions): Renamed to ...
2307         (portable_native_sync_jni_functions): this name.
2308         (gdk_vm): Renamed to...
2309         (the_vm): this name.
2311         * native/jni/gtk-peer/gnu_java_awt_peer_gtk_GtkMainThread.c
2312         (gdk_vm): Removed duplicate definition.
2313         (gtkInit): Removed stray message to stdout.
2314         (gtkInit): Use g_malloc and g_free instead of malloc and free.
2315         (gtkInit): Fix a const assignment bug.
2316         (gtkInit): Simplified code.
2318         * gnu/java/awt/peer/gtk/GThreadNativeMethodRunner.java,
2319         native/jni/gtk-peer/gnu_java_awt_peer_gtk_GThreadNativeMethodRunner.c,
2320         native/jni/gtk-peer/gnu_java_awt_peer_gtk_GThreadNativeMethodRunner.h,
2321         gnu/java/awt/peer/gtk/GThreadMutex.java:
2322         New files.
2324 2004-08-31  Mark Wielaard  <mark@klomp.org>
2326         * javax/swing/Box.java: Put FIXME comment above class declaration.
2327         * javax/swing/JButton.java: Remove illegal L&F HTML from comments.
2328         * javax/swing/JCheckBox.java: Likewise.
2329         * javax/swing/JDialog.java: Likewise.
2330         * javax/swing/JRadioButton.java: Likewise.
2331         * javax/swing/JToggleButton.java: Likewise.
2332         * javax/swing/UIManager.java: Likewise.
2333         * javax/swing/border/TitledBorder.java: Likewise.
2334         * javax/swing/plaf/basic/BasicLabelUI.java: Likewise.
2335         * javax/swing/plaf/basic/BasicLookAndFeel.java: Likewise.
2336         * javax/swing/plaf/basic/BasicPopupMenuSeparatorUI.java: Likewise.
2337         * javax/swing/plaf/basic/BasicProgressBarUI.java: Likewise.
2338         * javax/swing/plaf/basic/BasicScrollBarUI.java: Likewise.
2339         * javax/swing/plaf/basic/BasicSeparatorUI.java: Likewise.
2340         * javax/swing/text/JTextComponent.java: Likewise.
2342 2004-08-31  David Jee  <djee@redhat.com>
2344         PR AWT/16682
2345         * gnu/java/awt/peer/gtk/GtkFramePeer.java
2346         (setIconImage): Add a FIXME for unhandled cases.
2348 2004-08-31  Thomas Fitzsimmons  <fitzsim@redhat.com>
2350         PR AWT/16040
2351         * gnu/awt/LightweightRedirector.java: Call getModifiersEx, not
2352         getModifiers.  Replace old button masks with new ones.
2353         * gnu/awt/xlib/XEventLoop.java: Likewise.
2354         * gnu/java/awt/peer/gtk/GtkButtonPeer.java: Likewise.
2355         * gnu/java/awt/peer/gtk/GtkComponentPeer.java,
2356         jni/gtk-peer/gnu_java_awt_peer_gtk_GtkComponentPeer.c: Likewise.
2357         * gnu/java/awt/peer/gtk/GtkListPeer.java: Likewise.
2358         * gnu/java/awt/peer/gtk/GtkTextFieldPeer.java: Likewise.
2359         * java/awt/AWTKeyStroke.java: Remove old modifier masks.
2360         * java/awt/Component.java: Replace old modifier masks with new
2361         ones.
2362         * java/awt/Container.java: Call getModifiersEx, not
2363         getModifiers.
2364         * java/awt/DefaultKeyboardFocusManager.java: Likewise.  Remove
2365         old modifier masks.
2366         * javax/swing/JMenuItem.java: Replace old button masks with new
2367         ones.
2368         * javax/swing/KeyStroke.java: Call getModifiersEx, not
2369         getModifiers.
2370         * javax/swing/SwingUtilities.java: Likewise.
2371         * javax/swing/plaf/basic/BasicButtonListener.java: Likewise.
2372         * javax/swing/plaf/basic/BasicInternalFrameUI.java: Likewise.
2373         * jni/gtk-peer/gnu_java_awt_peer_gtk_GtkEvents.c: Replace old
2374         mask macros with new ones.
2375         * jni/gtk-peer/gtkpeer.h: Replace old button and modifier mask
2376         macros with new ones representing new masks.
2378 2004-08-31  Craig Black  <craig.black@aonix.com>
2380         * gnu/java/awt/peer/gtk/GdkGraphics.java
2381         (drawRoundRect): Implemented.
2382         (fillRoundRect): Implemented.
2383         * gnu/java/awt/peer/gtk/GdkGraphics2D.java
2384         (drawRoundRect): Reimplemented to match GdkGraphics.
2385         (fillRoundRect): Reimplemented to match GdkGraphics.
2387 2004-08-31  Mark Wielaard  <mark@klomp.org>
2389         * Makefile.in: Regenerated.
2391 2004-08-31  Michael Koch  <konqueror@gmx.de>
2393         * gnu/java/awt/EmbeddedWindow.java
2394         (addNotify): Use AccessController to allow execution of privileged
2395         code.
2397 2004-08-31  Michael Koch  <konqueror@gmx.de>
2399         * gnu/java/awt/EmbeddedWindow.java
2400         (static): Removed.
2401         (addNotify): Set peer via reflection.
2402         (setWindowPeer): Removed.
2403         * gnu/java/awt/natEmbeddedWindow.cc: Removed.
2404         * Makefile.am (nat_source_files):
2405         Removed gnu/java/awt/natEmbeddedWindow.cc.
2407 2004-08-31  Bryce McKinlay  <mckinlay@redhat.com>
2409         * Makefile.am: Add  gnu/java/security/action/GetPropertyAction.java
2410         and gnu/java/security/action/SetAccessibleAction.java.
2412 2004-08-31  Bryce McKinlay  <mckinlay@redhat.com>
2414         * gnu/java/security/action/GetPropertyAction.java (setParameters):
2415         Renamed from 'setName'. New 2-argument form with default value.
2416         (run): Pass default 'value' parameter to System.getProperty().
2417         * gnu/java/security/action/SetAccessibleAction.java: Fix javadoc
2418         typos.
2420 2004-08-31  Bryce McKinlay  <mckinlay@redhat.com>
2422         * gnu/java/security/action/GetPropertyAction.java: New class.
2423         * gnu/java/security/action/SetAccessibleAction.java: New class.
2425 2004-08-31  David Jee  <djee@redhat.com>
2427         * gnu/java/awt/peer/gtk/GtkFramePeer.java
2428         (setIconImage): Check if image is null.
2430 2004-08-31  David Jee  <djee@redhat.com>
2432         * gnu/java/awt/peer/gtk/GtkFramePeer.java
2433         (create): Set the icon image.
2434         (nativeSetIconImage): New native method declaration.
2435         (setIconImage): Implement.
2436         * jni/gtk-peer/gnu_java_awt_peer_gtk_GtkWindowPeer.c
2437         (nativeSetIconImage): New function.
2439 2004-08-31  Dalibor Topic <robilad@kaffe.org>
2441         * native/jni/gtk-peer/gnu_java_awt_peer_gtk_GtkFileDialogPeer.c
2442         (filenameFilterCallback): Declare local variable accepted before use.
2444 2004-08-31  Dalibor Topic <robilad@kaffe.org>
2446         * gnu/java/awt/ComponentDataBlitOp.java:
2447         Cleaned up imports.
2449 2004-08-31  Tom Tromey  <tromey@redhat.com>
2451         * gnu/java/awt/peer/GLightweightPeer.java,
2452         gnu/java/awt/peer/gtk/GdkGraphics2D.java,
2453         gnu/java/awt/peer/gtk/GtkComponentPeer.java,
2454         javax/swing/JScrollPane.java: Removed
2455         redundant imports.
2457 2004-08-31  David Jee  <djee@redhat.com>
2459         * java/awt/DefaultKeyboardFocusManager.java
2460         (postProcessKeyEvent): Only activate MenuShortcuts on KEY_PRESSED
2461         event.  Fix shift modifier checking.
2462         * jni/gtk-peer/gnu_java_awt_peer_gtk_GtkMenuPeer.c
2463         (accel_attach): Remove.
2464         (setupAccelGroup): Remove calls to accel_attach.
2466 2004-08-31  Thomas Fitzsimmons  <fitzsim@redhat.com>
2468         * gnu/java/awt/peer/gtk/GtkArg.java: Remove file.
2469         * gnu/java/awt/peer/gtk/GtkArgList.java: Remove file.
2471         * Makefile.am (gtk_awt_peer_sources): Remove GtkArg.java and
2472         GtkArgList.java.
2473         (gtk_c_files): Use CAIRO_CFLAGS and PANGOFT2_CFLAGS, not _LIBS.
2474         * Makefile.in: Regenerate.
2475         * gnu/java/awt/peer/gtk/GtkButtonPeer.java,
2476         jni/gtk-peer/gnu_java_awt_peer_gtk_GtkButtonPeer.c
2477         (create(String)): New method.
2478         (create): Call new create method.
2479         (getArgs): Remove method.
2480         * gnu/java/awt/peer/gtk/GtkCheckboxPeer.java,
2481         jni/gtk-peer/gnu_java_awt_peer_gtk_GtkCheckboxPeer.c 
2482         (nativeCreate): Rename to create.
2483         (gtkSetLabel): Rename to gtkButtonSetLabel.
2484         (gtkToggleButtonSetActive): New method.
2485         (create): Call gtkToggleButtonSetActive and gtkButtonSetLabel.
2486         (setState): Replace set call with gtkToggleButtonSetActive.
2487         (setLabel): Replace gtkSetLabel call with gtkButtonSetLabel.
2488         (getArgs): Remove method.
2489         * gnu/java/awt/peer/gtk/GtkComponentPeer.java,
2490         jni/gtk-peer/gnu_java_awt_peer_gtk_GtkComponentPeer.c
2491         (gtkWidgetSetSensitive): New method.
2492         (gtkWidgetSetParent): Likewise.
2493         (GtkComponentPeer): Call setParent, setComponentBounds and
2494         setVisibleAndEnabled.
2495         (setParent): New method.
2496         (setComponentBounds): New method.
2497         (setVisibleAndEnabled): New method.
2498         (setEnabled): Call gtkWidgetSetSensitive.
2499         (getArgs): Remove method.
2500         Remove all set methods.
2501         * gnu/java/awt/peer/gtk/GtkDialogPeer.java (create): Call
2502         gtkWindowSetModal, setTitle and setResizable.
2503         (getArgs): Remove method.
2504         * gnu/java/awt/peer/gtk/GtkFileDialogPeer.java
2505         (setComponentBounds): New method.
2506         * gnu/java/awt/peer/gtk/GtkFramePeer.java (setResizable):
2507         Replace set call with gtkWindowSetResizable.
2508         (getArgs): Remove method.
2509         (create): Call setTitle and setResizable.
2510         * gnu/java/awt/peer/gtk/GtkWindowPeer.java,
2511         jni/gtk-peer/gnu_java_awt_peer_gtk_GtkWindowPeer.c
2512         (gtkWindowSetTitle): New method.
2513         (gtkWindowSetResizable): New method.
2514         (gtkWindowSetModal): New method.
2515         (setParent): New method.
2516         (setVisibleAndEnabled): New method.
2517         (getArgs): Remove method.
2518         (setTitle): Call gtkWindowSetTitle.
2519         (setResizable): Call gtkWindowSetResizable.
2520         * jni/gtk-peer/gtkpeer.h [DEBUG_LOCKING]: New define to turn on
2521         and off locking instrumentation.
2523 2004-08-31  Kim Ho  <kho@redhat.com>
2525         * Makefile.am: Add new file.
2526         * Makefile.in: Regenerate.
2527         * gcj/Makefile.in: Regenerate
2528         * include/Makefile.in:
2529         * java/awt/Container.java:
2530         (acquireComponentForMouseEvent): Respect 
2531         the event mask when looking for candidate.
2532         * javax/swing/JComponent.java:
2533         Remove toolTip field.
2534         (createToolTip): Create a tooltip on demand.
2535         (setToolTipText): Register with the ToolTipManager.
2536         (getToolTipText(MouseEvent)): Return getToolTipText().
2537         * javax/swing/JToolTip.java: Implement.
2538         * javax/swing/Timer.java: Jalopy.
2539         (restart): Call stop, then start.
2540         (stop): Interrupt the timer rather than wait for
2541         the timer to come to a stop naturally.
2542         * javax/swing/ToolTipManager.java: Implement.
2543         * javax/swing/plaf/basic/BasicLookAndFeel.java:
2544         Change ToolTip.background color.
2545         * javax/swing/plaf/basic/BasicToolTipUI.java:
2546         Implement.
2547         * testsuite/Makefile.in: Regenerate
2549 2004-08-31  Jerry Quinn  <jlquinn@optonline.net>
2551         * java/awt/image/DirectColorModel.java (DirectColorModel): Fix
2552         constructor param comments.
2554 2004-08-31  Thomas Fitzsimmons  <fitzsim@redhat.com>
2556         * java/awt/Component.java: Document AWT 1.0 event handler
2557         methods.
2559 2004-08-31  Roman Kennke  <roman@ontographics.com>
2561         * javax/swing/Box.java:
2562         (createGlue): Implemented
2563         (createHorizontalGlue): Implemented
2564         (createHorizontalStrut): Implemented
2565         (createVerticalGlue): Implemented
2566         (createVerticalStrut): Implemented
2568 2004-08-31  David Jee  <djee@redhat.com>
2570         * gnu/java/awt/peer/gtk/GtkChoicePeer.java
2571         (GtkChoicePeer): Do not automatically select first item.
2572         (getHistory): Remove.
2573         (nativeGetSelected): New method.
2574         (nativeRemoveAll): New method.
2575         (add): Use nativeGetSelected() instead of getHistory().
2576         (remove): Likewise.
2577         (removeAll): Call nativeRemoveAll().
2578         * jni/gtk-peer/gnu_java_awt_peer_gtk_GtkChoicePeer.c
2579         (create): Migrate to GtkComboBox.
2580         (append): Likewise.
2581         (nativeAdd): Likewise.
2582         (nativeRemove): Likewise.
2583         (select): Likewise.
2584         (nativeRemoveAll): New method.
2585         (nativeGetSelected): New method.
2586         (selection_changed): New method.
2587         (getHistory): Remove.
2588         (item_activate): Remove.
2589         (item_removed): Remove.
2590         (connect_choice_item_selectable_hook): Remove.
2592 2004-08-31  Thomas Fitzsimmons  <fitzsim@redhat.com>
2594         * gnu/java/awt/peer/gtk/GtkTextFieldPeer.java (create): Use tf
2595         variable in setEditable call.
2597         * gnu/java/awt/peer/gtk/GtkTextFieldPeer.java,
2598         jni/gtk-peer/gnu_java_awt_peer_gtk_GtkTextFieldPeer.c
2599         (gtkWidgetSetBackground): New method.
2600         (gtkWidgetSetForeground): Likewise.
2601         (create): Set peer's editable state based on awtComponent's.
2603         * java/awt/Button.java (Button()): Use empty string rather than
2604         null in no-label constructor.
2606 2004-08-31  Roman Kennke  <roman@ontographics.com>
2608         * javax/swing/BoxLayout.java: Reimplement.
2610 2004-08-31  Thomas Fitzsimmons  <fitzsim@redhat.com>
2612         * gnu/java/awt/peer/gtk/GdkGraphics.java,
2613         gnu_java_awt_peer_gtk_GdkGraphics.c
2614         (initState(GtkComponentPeer)): Don't return array of colour
2615         values.
2616         (GdkGraphics(int,int)): Set default font to size 12.
2617         (GdkGraphics(GtkComponentPeer)): Set graphics colour to
2618         component's foreground colour.
2619         * gnu/java/awt/peer/gtk/GdkGraphics2D.java,
2620         gnu_java_awt_peer_gtk_GdkGraphics2D.c
2621         (initState(GtkComponentPeer)): Don't return array of colour
2622         values.
2623         (GdkGraphics2D(GtkComponentPeer)): Set foreground and background
2624         colours to component's colours.
2625         (current_colors_of_widget): Remove function.
2626         * gnu/java/awt/peer/gtk/GtkOffScreenImage.java (getGraphics):
2627         Return a new graphics object.
2628         * java/awt/Font.java (toString): Fix format.
2629         * java/awt/Graphics.java (toString): Likewise.
2631 2004-08-31  Craig Black  <craig.black@aonix.com>
2633         * native/jni/gtk-peer/gnu_java_awt_peer_gtk_GtkMenuPeer.c
2634         (addTearOff): New function.
2635         * gnu/java/awt/peer/gtk/GtkMenuPeer.java (addTearOff):
2636         New native method.
2637         (init): Call addTearOff() when menu.isTearOff().
2639 2004-08-31  Bryce McKinlay  <mckinlay@redhat.com>
2641         * gnu/java/awt/ClasspathToolkit.java (createImageProducer): New.
2642         Default implementation.
2643         * gnu/java/awt/peer/gtk/GtkToolkit.java (createImageProducer): New.
2644         Implement using GdkPixbufDecoder.
2646 2004-08-31  David Jee  <djee@redhat.com>
2648         * gnu/java/awt/peer/gtk/GtkComponentPeer.java
2649         (GtkComponentPeer): Use gtkWidgetGetPreferredDimensions() for
2650         setting the size of GtkFileDialogPeers.
2651         * jni/gtk-peer/gnu_java_awt_peer_gtk_GtkComponentPeer.c
2652         (gtkWidgetGetPreferredDimensions): For widgets extending GtkWindow,
2653         use their default sizes rather than their natural requisitions.
2655 2004-08-31  Michael Koch  <konqueror@gmx.de>
2657         * javax/swing/JFormattedTextField.java
2658         (JFormattedTextField): Implemented.
2659         * javax/swing/text/DefaultEditorKit.java
2660         (BeepAction): New inner class.
2661         * javax/swing/text/Segment.java
2662         (partialReturn): New field.
2663         (setPartialReturn): New method.
2664         (isPartialReturn): Likewise.
2665         * javax/swing/text/View.java
2666         (createFragment): Fixed typo.
2667         (getStartOffset): New method.
2668         (getEndOffset): Likewise.
2670 2004-08-31  Michael Koch  <konqueror@gmx.de>
2672         * javax/swing/table/DefaultTableColumnModel.java
2673         (serialVersionUID): Made private.
2674         (listenerList): Initialize.
2675         (changeEvent): Initialize.
2676         * javax/swing/table/JTableHeader.java
2677         (JTableHeader): New constructors.
2678         (createDefaultColumnModel): New method.
2679         * javax/swing/table/TableColumn.java
2680         (setHeaderRenderer): Simplified code.
2681         (setCellRenderer): Likewise.
2682         (setWidth): Likewise.
2684 2004-08-31  Tom Tromey  <tromey@redhat.com>
2686         * java/text/AttributedString.java (AttributedString): Use
2687         ArrayList to build array of attribute ranges.  Don't use
2688         `attribs' before it is set.
2690 2004-08-30  Andreas Tobler  <a.tobler@schweiz.ch>
2692         * HACKING: Remove reference to special automake. No longer needed.
2694 2004-08-30  Tom Tromey  <tromey@redhat.com>
2696         * gnu/java/security/util/Prime.java (generateRandomPrime): Use
2697         return result from `add'.
2699 2004-08-30  Tom Tromey  <tromey@redhat.com>
2701         * java/rmi/server/UID.java (UID): Read `nextCount', not count.
2703 2004-08-30  Andreas Tobler  <a.tobler@schweiz.ch>
2705         * gnu/java/security/der/DEREncodingException.java: Remove whitespaces.
2707 2004-08-30  Jeroen Frijters  <jeroen@frijters.net>
2709         * java/io/File.java File(String,String): Fixed handling of empty
2710         path.
2712 2004-08-30  Casey Marshall  <csm@gnu.org>
2714         Author e-mail updated for all files.
2715         * gnu/java/security/OID.java (equals): Test if the aurgment is an
2716         instance of OID.
2717         (compareTo): Use `equals'.
2718         * gnu/java/security/der/BitString.java (equals): Test if the
2719         argument is an instance of BitString.
2720         * gnu/java/security/der/DERReader.java: Removed NIO imports.  Made
2721         class final. Made fields private.
2722         (<init>): New constructor.
2723         (skip): New method.
2724         (makeString): Made static; don't use NIO.
2725         (fromIso88591, fromUtf16Be, fromUtf8): New methods.
2726         * gnu/java/security/der/DERWriter.java: Fixed imports.
2727         (writeString): Don't use NIO.
2728         (toIso88591, toUtf16Be, toUtf8): New methods.
2729         * gnu/java/security/der/DERValue.java: Formatting changes only.
2730         * gnu/java/security/der/DER.java: Likewise.
2732 2004-08-30  Tom Tromey  <tromey@redhat.com>
2734         * java/nio/CharBuffer.java (put): Fix typo.
2735         * java/nio/DoubleBuffer.java (put): Fix typo.
2736         * java/nio/FloatBuffer.java (put): Fix typo.
2737         * java/nio/IntBuffer.java (put): Fix typo.
2738         * java/nio/LongBuffer.java (put): Fix typo.
2739         * java/nio/ShortBuffer.java (put): Fix typo.
2741 2004-08-30  Florian Weimer  <fw@deneb.enyo.de>
2743         * java/nio/ByteBuffer.java (put): Fix typo.
2745 2004-08-30  Casey Marshall  <csm@gnu.org>
2747         * java/security/DummyKeyPairGenerator.java (clone): Removed
2748         useless instanceof check.
2749         * java/security/DummyMessageDigest.java (clone): Likewise.
2750         * java/security/DummySignature.java (clone): Likewise.
2751         * java/security/MessageDigest.java (clone): Remove useless
2752         instanceof check.
2753         * java/security/MessageDigestSpi.java (clone): Likewise.
2754         * java/security/Signature.java (clone): Provide meaningful
2755         implementation.
2756         * java/security/SignatureSpi.java (clone): Likewise.
2758 2004-08-29  Mark Wielaard  <mark@klomp.org>
2760         * java/util/Arrays.java
2761         (sort(byte[], int, int)): Check fromIndex < 0.
2762         (sort(char[], int, int)): Likewise.
2763         (sort(short[], int, int)): Likewise.
2764         (sort(int[], int, int)): Likewise.
2765         (sort(long[], int, int)): Likewise.
2766         (sort(float[], int, int)): Likewise.
2767         (sort(double[], int, int)): Likewise.
2768         (sort(Object[], int, int, Comparator)): Likewise.
2769         (qsort(byte[], int, int)): Honor lower bound from in insertion sort.
2770         (qsort(char[], int, int)): Likewise.
2771         (qsort(short[], int, int)): Likewise.
2772         (qsort(int[], int, int)): Likewise.
2773         (qsort(long[], int, int)): Likewise.
2774         (qsort(float[], int, int)): Likewise.
2775         (qsort(double[], int, int)): Likewise.
2777 2004-08-29  Andrew John Hughes  <gnu_andrew@member.fsf.org>
2779         * java/util/AbstractCollection.java, java/util/AbstractList.java,
2780         java/util/AbstractMap.java, java/util/AbstractSequentialList.java,
2781         java/util/ArrayList.java, java/util/Arrays.java,
2782         java/util/BitSet.java, java/util/Calendar.java,
2783         java/util/Collection.java, java/util/ListIterator.java,
2784         java/util/Map.java, java/util/SortedSet.java:
2785         Added additional exceptions to documentation, along
2786         with some additions and corrections.
2788 2004-08-27  Hans Boehm  <Hans.Boehm@hp.com>
2790         * configure.ac: Handle --enable-gc-debug.
2791         * configure: Regenerate.
2792         * include/config.h.in (LIBGCJ_GC_DEBUG): Add.
2793         * boehm.cc: Include gc_mark.h, javaxfc.h, but no GC private files.
2794         Rearrange include file order.
2795         (GC_DEBUG): Set if LIBGCJ_GC_DEBUG is set.
2796         (GC_finalize_all, GC_debug_generic_malloc): Don't declare.
2797         (disable_gc_mutex): Delete along with all references.
2798         (_Jv_MarkObj, _Jv_MarkArray): Use public types,
2799         adjust for debug header size.
2800         (_Jv_AllocObj, _Jv_allocPtrFreeObj): Define out of line for
2801         debug case.
2802         (_Jv_AllocArray): Declare min_heap_addr only if needed.
2803         (gcj_describe_type_fn): New.
2804         (_Jv_InitGC): Use GC_new_free_list, GC_new_proc, and GC_new_kind.
2805         Register gcj_describe_type_fn.
2806         * include/boehm-gc.h:
2807         (_Jv_AllocObj, _Jv_allocPtrFreeObj):
2808         Don't define, but declare, for debug case.
2809         * java/lang/natObject.cc:
2810         (GC_DEBUG): Define if LIBGCJ_GC_DEBUG is set.
2812 2004-08-26  Mark Wielaard  <mark@klomp.org>
2814         Fixes PR libgcj/17002:
2815         * java/util/TimeZone.java (defaultZone): Try a couple of ways to get
2816         a TimeZoneId string and then try to convert that to a TimeZone with
2817         getDefaultSystemTimeZone(String).
2818         (timezones0): Changed type from Hashtable to HashMap.
2819         (timezones): Create HashMap, not Hashtable.
2820         (getDefaultTimeZone): New method, rewritten from CNI version.
2821         (readTimeZoneFile): New method.
2822         (readtzFile): Likewise.
2823         (skipFully): Likewise.
2824         * java/util/natTimeZone.cc (getSystemTimeZone): Renamed to
2825         getDefaultTimeZoneId and rewritten.
2826         (getDefaultTimeZoneId): Rewritten in java.
2827         
2828 2004-08-25  David Daney  <daney@avtrex.com>
2830         * Makefile.am (AM_GCJFLAGS):  Add LIBGCJ_JAVAFLAGS.
2831         * Makefile.in: Regenerated.
2833 2004-08-23  Bryce McKinlay  <mckinlay@redhat.com>
2835         * prims.cc (JVMPI_NOTIFY_ALLOC): New macro. Call jvmpi_notify_alloc
2836         only if jvmpi is enabled.
2837         (jvmpi_notify_alloc): Don't check if jvmpi is enabled here.
2838         (_Jv_AllocObjectNoFinalizer): Use JVMPI_NOTIFY_ALLOC.
2839         (_Jv_AllocString): Likewise.
2840         (_Jv_AllocPtrFreeObject): Likewise.     
2842 2004-08-23  Hans Boehm  <Hans.Boehm@hp.com>
2844         * defineclass.cc: Include <stdio.h>.
2845         * java/lang/natClassLoader.cc: Include <stdio.h>.
2847 2004-08-21  Andreas Tobler  <a.tobler@schweiz.ch>
2848             Michael Koch  <konqueror@gmx.de>
2850         * Makefile.am (lib_gnu_java_awt_peer_gtk_la_LINK): Added.
2851         * Makefile.in: Regenerated.
2853 2004-08-20  Michael Koch  <konqueror@gmx.de>
2855         * configure.ac: Replaced all AC_TRY_COMPILE macros with
2856         AC_COMPILE_IFELSE macros.
2858 2004-08-20  Michael Koch  <konqueror@gmx.de>
2860         * configure.in: Renamed to configure.ac.
2861         * configure.ac: New file.
2862         * configure, Makefile.in, gcj/Makefile.in, include/Makefile.in
2863         include/config.h.in, testsuite/Makefile.in: Regenerated.
2865 2004-08-20  Michael Koch  <konqueror@gmx.de>
2867         * configure.in: Rewrote some obsolete stuff for autoconf 2.59.
2868         * aclocal.m4, configure: Regenerated.
2870 2004-08-19  Thomas Fitzsimmons  <fitzsim@redhat.com>
2871             Michael Koch  <konqueror@gmx.de>
2873         * configure.in, Makefile.am: Ported to automake 1.9.
2874         * Makefile.in, aclocal.m4, configure, gcj/Makefile.in, 
2875         include/Makefile.in, testsuite/Makefile.in, include/config.h.in:
2876         Regenerated.
2878 2004-08-19  Tom Tromey  <tromey@redhat.com>
2880         * java/net/DatagramSocket.java: Fixed typo.
2882 2004-08-18  Bryce McKinlay  <mckinlay@redhat.com>
2884         PR libgcj/17081
2885         * java/net/URI.java (string): New field. Make all other fields
2886         transient.
2887         (readObject): Implemented.
2888         (writeObject): Implemented.
2889         (URI): Set 'string'.
2891 2004-08-18  Bryce McKinlay  <mckinlay@redhat.com>
2893         PR libgcj/17079
2894         * java/util/logging/Handler.java (isLoggable): Accept record if its
2895         log level equals the threshold level. From Robin Green.
2897 2004-08-18  David Daney  <ddaney@avtrex.com>
2899         * java/lang/natPosixProcess.cc (waitForSignal): Use sigsuspend 
2900         instead of sigwait.
2902 2004-08-17  Michael Koch  <konqueror@gmx.de>
2904         * Makefile.am (AM_CXXFLAGS): Reformatted to make it more ease to read.
2905         * Makefile.in: Regenerated.
2907 2004-08-16  Tom Tromey  <tromey@redhat.com>
2909         PR java/8473:
2910         * testsuite/libjava.jacks/jacks.xfail: Removed passing test.
2912 2004-08-16  Michael Koch  <konqueror@gmx.de>
2914         * Makefile.am
2915         (math_c_files): Renamed from c_files.
2916         (math_c_source_files): Renamed from c_source_files.
2917         * Makefile.in,
2918         gcj/Makefile.in,
2919         include/Makefile.in,
2920         testsuite/Makefile.in: Regenerated.
2922 2004-08-16  Bryce McKinlay  <mckinlay@redhat.com>
2924         * configure.in (AC_CONF_SUBDIRS): Use literal for ltdl directory
2925         to avoid autoconf warning.
2926         * configure: Rebuilt.
2928 2004-08-14  Andreas Tobler  <a.tobler@schweiz.ch>
2930         * java/net/natInetAddressPosix.cc (lookup): Reflect rename of 
2931         localhostAddress to loopbackAddress.
2932         * java/net/natInetAddressWin32.cc (lookup): Likewise.
2934 2004-08-13  Bryce McKinlay  <mckinlay@redhat.com>
2936         * configure.in (GCINCS): Don't use "boehm-cflags". Instead, -I 
2937         boehm-gc's include dirs.
2938         * configure: Rebuilt.
2939         * include/boehm-gc.h: Include gc_config.h.
2941 2004-08-13  Bryce McKinlay  <mckinlay@redhat.com>
2943         * java/net/InetAddress.java (loopbackAddress): Renamed from 
2944         localhostAddress.
2945         (getByName): Return loopback address for null hostname, without
2946         security check. Use lookup(), not getAllByName.
2947         (getAllByName): Return loopback address for null hostname, without
2948         security check.
2949         * java/net/natInetAddressPosix.cc (lookup): Don't perform security
2950         check here.
2952 2004-08-13  Bryce McKinlay  <mckinlay@redhat.com>
2954         PR libgcj/17020
2955         Reported by Robin Green.
2956         * defineclass.cc (handleField): Don't throw exception on unrecognised
2957         modifier. Add FIXME comments for spec compliance.
2958         (handleMethod): Likewise.
2960 2004-08-10  Hans Boehm <Hans.Boehm@hp.com>
2962         PR libgcj/16662
2963         * java/lang/natObject.cc (LOCK_LOG, LOG): Add debug tracing.
2964         (Almost everywhere): add LOG calls, fix, add comments.
2965         (_Jv_MonitorEnter): Replace masking of LOCKED bit with assertion.
2966         Add explicit check for LOCKED bit in slow case (PR 16662).
2967         (_Jv_MonitorExit): Add casts in debug-only code.
2968         Always release LOCKED bit before throwing exception.
2969         (_Jv_ObjectCheckMonitor): Lock may be held if lightweight lock
2970         isn't.  Handle easy cases without lock acquisition.
2971         (Object::wait): Use NotifyAll for lock inflation.
2973 2004-08-12  David Daney  <ddaney@avtrex.com>
2975         * testsuite/libjava.lang/Process_1.java: New test.
2976         * testsuite/libjava.lang/Process_2.java: New test.
2977         * testsuite/libjava.lang/Process_3.java: New test.
2978         * testsuite/libjava.lang/Process_4.java: New test.
2979         * testsuite/libjava.lang/Process_5.java: New test.
2980         * testsuite/libjava.lang/Process_6.java: New test.
2981         * testsuite/libjava.lang/Process_1.out: Expected result.
2982         * testsuite/libjava.lang/Process_2.out: Expected result.
2983         * testsuite/libjava.lang/Process_3.out: Expected result.
2984         * testsuite/libjava.lang/Process_4.out: Expected result.
2985         * testsuite/libjava.lang/Process_5.out: Expected result.
2986         * testsuite/libjava.lang/Process_6.out: Expected result.
2988 2004-08-12  David Daney  <ddaney@avtrex.com>
2990         PR libgcj/11801
2991         * java/lang/PosixProcess.java: Rewrote.
2992         * java/lang/natPosixProcess.cc: Rewrote.
2993         * java/lang/Runtime.java (execInternal): Declare throws IOException.
2994         * gcj/javaprims.h (ConcreteProcess$ProcessManager): Declare.
2995         * posix-threads.cc (block_sigchld) New function.
2996         (_Jv_ThreadRegister) Use it.
2997         (_Jv_ThreadStart) Use it.
2998         * configure.in (PLATFORM_INNER_NAT_HDRS): New AC_SUBST() used in...
2999         * Makefile.am: ... to specify extra native headers.
3000         * configure: Regenerated.
3001         * include/config.h: Regenerated.
3002         * Makefile.in: Regenerated.
3003         * gcj/Makefile.in: Regenerated.
3004         * include/Makefile.in: Regenerated.
3005         * testsuite/Makefile.in: Regenerated.
3007 2004-08-12  Diego Novillo  <dnovillo@redhat.com>
3009         PR tree-optimization/16867
3010         * testsuite/libjava.lang/PR16867.java: New test.
3012 2004-08-09  Per Bothner  <per@bothner.com>
3014         * gcj/javaprims.h (_Jv_Utf8Const): Change struct to a class,
3015         with private fields and access methods.
3016         (_Jv_NewStringUTF, _Jv_hashUtf8String): New function declarations.
3017         * gcj/cni.h (_Jv_NewStringUTF): Move to javaprims.h.
3018         * prims.cc (_Jv_Utf8COnst::init): New method implementation.
3019         ( _Jv_makeUtf8Const): Rewrite using new constructors.
3020         (hashUtf8String): Rename to +_Jv_hashUtf8String and make non-static.
3021         * defineclass.cc: Use new _Utf8Const access/convenience methods.
3022         * jni.cc: Likewise.
3023         * resolve.cc: Likewise.
3024         * gcj/field.h: Likewise.
3025         * include/jvm.h: Likewise.
3026         * java/lang/Class.h: Likewise.
3027         * java/lang/natClass.cc: Likwise.
3028         * java/lang/natClassLoader.cc: Likewise
3029         * java/lang/reflect/natMethod.cc: Likewise
3030         * verify.cc: Likewise.
3031         (_Jv_BytecodeVerifier::make_utf8_const):  Optimize.
3032         (~_Jv_BytecodeVerifier):  Don't need second _Jv_Free call.
3034 2004-08-10  Andrew Haley  <aph@redhat.com>
3036         * testsuite/libjava.lang/err14.java: New file.
3037         * testsuite/libjava.lang/err14.out: New file.
3039 2004-08-05  Andreas Tobler  <a.tobler@schweiz.ch>
3041         * Makefile.am: Fix missing rename from x_nat_headers to 
3042         xlib_nat_headers.
3043         * Makefile.in: Regenerated.
3045 2004-08-04  Andrew Haley  <aph@redhat.com>
3047         * java/security/BasicPermission.java: Don't check wildcards.
3049 2004-08-04  Thomas Fitzsimmons <fitzsim@redhat.com>
3050             Michael Koch  <konqueror@gmx.de>
3052         * acinclude.m4: Correctly quote PKG_CHECK_MODULES.
3053         * configure.in: Replaced all usages of AC_LINK_FILES by
3054         AC_CONFIG_LINKS.
3055         * aclocal.m4,
3056         configure: Regenerated.
3058 2004-08-04  Thomas Fitzsimmons  <fitzsim@redhat.com>
3059             Michael Koch  <konqueror@gmx.de>
3061         * acconfig.h: Removed.
3062         * Makefile.am: Rename variables for xlib peer to include xlib and
3063         gtk_c_headers to gtk_jni_headers.
3064         * Makefile.in: Regenerated.
3066 2004-08-04  Andrew Haley  <aph@redhat.com>
3068         * testsuite/lib/libjava.exp (bytecompile_file): Byte compile with
3069         debugging.
3071 2004-08-03  Nathanael Nerode  <neroden@gcc.gnu.org>
3073         * configure.in: Eliminate uses of changequote (mostly by quoting []).
3074         Replace most top level 'dnl' comments with '#' comments, conforming
3075         to new autoconf style.  Use AS_HELP_STRING throughout; improve a few
3076         help strings.
3077         * configure: Rebuilt.
3079 2004-07-17  Nathanael Nerode  <neroden@gcc.gnu.org>
3081         * acinclude.m4: Include no-executables.m4.
3082         * aclocal.m4: Rebuild.
3083         * configure.in: Convert to the autoconf 2.59 version of
3084         of the no-executables hack, and also of the nonstandard CXX
3085         hack and the multilibbed CC and CXX hack.  Change prerequisite
3086         to autoconf 2.59.
3087         * configure: Rebuild with autoconf 2.59.  (Woo-hoo!)
3088         * Makefile.in, gcj/Makefile.in, include/Makefile.in,
3089         testsuite/Makefile.in: Regenerate.
3091 2004-08-03  Tom Tromey  <tromey@redhat.com>
3093         * jni.cc: Reindented.
3095 2004-08-02  Bryce McKinlay  <mckinlay@redhat.com>
3097         * java/sql/Timestamp.java (valueOf): Synchronize access to dateFormat.
3099 2004-08-02  Bryce McKinlay  <mckinlay@redhat.com>
3101         * testsuite/libjava.compile/PR16701.java: New test.
3103 2004-08-01  Andrew John Hughes  <gnu_andrew@member.fsf.org>
3105         * java/util/Collection.java, java/util/List.java,
3106         java/util/Map.java, java/util/Set.java,
3107         java/util/SortedMap.java, java/util/SortedSet.java:
3108         Added additional exceptions to documentation.
3110 2004-08-01  Danny Smith  <dannysmith@users.sourceforge.net>
3112         PR libgcj/16814
3113         * configure.in [host *mingw*] (SYSTEMSPEC): Remove -lwsock32.
3114         * configure. Regenerate.
3115         * include/win32.h: Explicitly include winsock2.h
3116         * win32.cc (_Jv_platform_initialize): Require version 2.2 of
3117         Winsock api.
3119 2004-07-30  Michael Koch  <konqueror@gmx.de>
3121         * java/util/zip/GZIPInputStream.java
3122         (GZIPInputStream): Increase buffer size to 4k.
3123         * java/util/zip/GZIPOutputStream.java
3124         (GZIPOutputStream): Likewise.
3125         * java/util/zip/Inflater.java
3126         (setInput): Merged formating with GNU classpath.
3127         * java/util/zip/InflaterInputStream.java
3128         (InflaterInputStream): Increase buffer size to 4k.
3129         (fill): Throw exception if stream ends early.
3130         (read): Merged endless-loop with GNU classpath.
3131         (skip): Increase buffer size to 2k.
3133 2004-07-30  Michael Koch  <konqueror@gmx.de>
3135         * gnu/java/awt/EmbeddedWindow.java
3136         (addNotify): Use AccessController to allow execution of privileged
3137         code.
3139 2004-07-29  Michael Koch  <konqueror@gmx.de>
3141         * gnu/java/lang/MainThread.java:
3142         Explicitely import used classes.
3143         (args): Make it type String[].
3145 2004-07-29 Dalibor Topic <robilad@kaffe.org>
3147         * gnu/java/awt/ComponentDataBlitOp.java,
3148         gnu/java/beans/ExplicitBeanInfo.java,
3149         gnu/java/beans/IntrospectionIncubator.java,
3150         gnu/java/beans/editors/ColorEditor.java,
3151         gnu/java/beans/editors/FontEditor.java,
3152         gnu/java/beans/editors/NativeBooleanEditor.java,
3153         gnu/java/beans/editors/NativeByteEditor.java,
3154         gnu/java/beans/editors/NativeDoubleEditor.java,
3155         gnu/java/beans/editors/NativeFloatEditor.java,
3156         gnu/java/beans/editors/NativeIntEditor.java,
3157         gnu/java/beans/editors/NativeLongEditor.java,
3158         gnu/java/beans/editors/NativeShortEditor.java,
3159         gnu/java/beans/editors/StringEditor.java,
3160         gnu/java/io/ClassLoaderObjectInputStream.java,
3161         gnu/java/io/decode/Decoder.java,
3162         gnu/java/io/encode/Encoder.java,
3163         gnu/java/lang/ClassHelper.java,
3164         gnu/java/locale/Calendar.java,
3165         gnu/java/locale/Calendar_de.java,
3166         gnu/java/locale/Calendar_en.java,
3167         gnu/java/locale/Calendar_nl.java,
3168         gnu/java/locale/LocaleInformation_de.java,
3169         gnu/java/locale/LocaleInformation_en.java,
3170         gnu/java/locale/LocaleInformation_nl.java:
3171         Cleaned up imports.
3173 2004-07-28  Bryce McKinlay  <mckinlay@redhat.com>
3175         * README: Remove obsolete info. Update bug URL.
3176         * THANKS: Updated.
3177         * NEWS: Updated with news up to GCC 3.4 release.
3179 2004-07-28  Bryce McKinlay  <mckinlay@redhat.com>
3181         * gnu/java/security/action/GetPropertyAction.java (setParameters):
3182         Renamed from 'setName'. New 2-argument form with default value.
3183         (run): Pass default 'value' parameter to System.getProperty().
3184         * gnu/java/security/action/SetAccessibleAction.java: Fix javadoc
3185         typos.
3186         * gnu/java/net/protocol/http/Connection.java: Use 'setParameters'
3187         not 'setName'.
3189 2004-07-28  Bryce McKinlay  <mckinlay@redhat.com>
3191         * configure.in: Check for minimum GTK version 2.4 requirement.
3192         * configure: Rebuilt.
3194 2004-07-27  Bryce McKinlay  <mckinlay@redhat.com>
3196         * testsuite/libjava.lang/TLtest.java: Reduce sleep time.
3197         * testsuite/libjava.lang/Thread_Alive.java: Remove old email address.
3198         Reduce sleep time.
3199         * testsuite/libjava.lang/Thread_HoldsLock.java: Modify to work around
3200         compiler bug.
3201         * testsuite/libjava.lang/Thread_Interrupt.java: Remove old email 
3202         address. Reduce sleep times. Synchronize with target threads before
3203         attempting to interrupt them. Don't try to calibrate yeild count,
3204         instead, always loop for a fixed time.
3205         * testsuite/libjava.lang/Thread_Join.java: Remove old email address.
3206         * testsuite/libjava.lang/Thread_Monitor.java: Likewise.
3207         * testsuite/libjava.lang/Thread_Wait.java: Likewise.
3208         * testsuite/libjava.lang/Thread_Wait_2.java: Likewise.
3209         * testsuite/libjava.lang/Thread_Wait_Interrupt.java: Likewise.
3210         * testsuite/libjava.lang/pr179.java: Likewise.
3211         * testsuite/libjava.lang/Thread_Sleep.java: Likewise. Reduce sleep
3212         time. Remove upper bounds check on sleep time. 
3214 2004-07-27  Bryce McKinlay  <mckinlay@redhat.com>
3216         * testsuite/libjava.lang/Thread_HoldsLock.java: New test case.
3217         * testsuite/libjava.lang/Thread_HoldsLock.out: New.     
3219 2004-07-27  Bryce McKinlay  <mckinlay@redhat.com>
3221         * java/io/File.java (toURI): Throw RuntimeException, not 
3222         InternalError.
3223         * java/lang/Runtime.java (exit): Qualify static sleep() call with
3224         class name, not instance.
3226 2004-07-24  Bryce McKinlay  <mckinlay@redhat.com>
3228         * Makefile.am: Add gnu/java/security/action/GetPropertyAction.java
3229         and gnu/java/security/action/SetAccessibleAction.java.
3230         * Makefile.in: Rebuilt.
3232 2004-07-23  Bryce McKinlay  <mckinlay@redhat.com>
3234         * prims.cc (_Jv_InitPrimClass): Don't create an array class.
3235         (_Jv_CreateJavaVM): Don't pass array vtable parameter to
3236         _Jv_InitPrimClass.
3237         (DECLARE_PRIM_TYPE): Don't declare array vtables.
3238         * include/jvm.h (struct _Jv_ArrayVTable): Removed.
3239         * java/lang/Class.h (_Jv_InitPrimClass): Update friend declaration.
3241 2004-07-23  Thomas Fitzsimmons  <fitzsim@redhat.com>
3243         * Makefile.am: Replace jar, rmic and rmiregistry references with
3244         gjar, grmic and grmiregistry.
3245         * configure.in: Likewise.
3246         * Makefile.in: Regenerate.
3247         * configure: Likewise.
3248         * gcj/Makefile.in: Likewise.
3249         * include/Makefile.in: Likewise.
3250         * testsuite/Makefile.in: Likewise.
3252 2004-07-23  Bryce McKinlay  <mckinlay@redhat.com>
3254         * gnu/java/net/protocol/http/Connection.java: Use GetPropertyAction
3255         for privileged getProperty calls.
3256         * java/io/ObjectOutputStream.java (getField): No longer static. Use
3257         SetAccessibleAction instead of anonymous class for doPrivileged call.
3258         (getMethod): Likewise.
3259         (setAccessible): New field. PrivilegedAction object to use when
3260         calling setAccessible.
3261         * java/io/ObjectStreamClass.java (calculateOffsets): Use
3262         SetAccessibleAction instead of anonymous class for diPrivileged call.
3263         (setFields): Likewise.
3264         (getClassUID): Likewise.
3265         (findMethod): Likewise.
3266         * gnu/java/security/action/GetPropertyAction.java: New class.
3267         * gnu/java/security/action/SetAccessibleAction.java: New class. 
3269 2004-07-23  Bryce McKinlay  <mckinlay@redhat.com>
3271         * java/io/ObjectStreamField (ObjectStreamField): Don't unset 'toset'
3272         for final fields.
3273         * testsuite/libjava.lang/Serialization.java: New test.
3274         * testsuite/libjava.lang/Serialization.out: New.
3276 2004-07-23  Bryce McKinlay  <mckinlay@redhat.com>
3278         * gnu/java/net/DefaultContentHandlerFactory.java: Check in real file
3279         missed in last commit.
3281 2004-07-23  Mark Wielaard  <mark@klomp.org>
3283         * java/lang/System.java (static): Set http.agent system property when
3284         not yet set.
3285         * gnu/java/net/protocol/http/Connection.java (static): Get httpAgent
3286         from system property inside AccessController.doPrivileged() call.
3287         (proxyPort): Made package private.
3288         (proxyInUse): Likewise.
3289         (proxyHost): Likewise.
3290         (userAgent): Likewise.
3292 2004-07-23  Mark Wielaard  <mark@klomp.org>
3294         * gnu/java/net/DefaultContentHandlerFactory.java: New dummy
3295         implementation.
3297 2004-07-22  Bryce McKinlay  <mckinlay@redhat.com>
3299         * Makefile.am (ordinary_java_source_files): Add
3300         DefaultContentHandlerFactory.java.
3301         * Makefile.in: Rebuilt.
3302         * java/net/URLConnection.java (defaultFactory): New field.
3303         (getContent): 
3304         (getContentHandler): Renamed from 'setContentHandler'. Try 
3305         defaultFactory after user-set factory, if any. Search for content 
3306         handler implementations in gnu.java.net.content, not gnu.gcj.content.
3307         * gnu/java/net/protocol/file/Connection.java (getHeaderField):
3308         Implemented.
3309         (getLastModified): Implemented.
3310         (getPermission): Create file permission here, instead of in
3311         constructor.
3312         * gnu/java/net/protocol/gcjlib/Connection.java (getHeaderField):
3313         Implemented.
3314         * gnu/java/net/protocol/jar/Connection.java (getHeaderField):
3315         Implemented.
3316         (getLastModified): Implemented.
3317         * gnu/java/awt/ClasspathToolkit.java (createImageProducer): New.
3318         Default implementation.
3319         * gnu/java/awt/peer/gtk/GtkToolkit.java (createImageProducer): New.
3320         Implement using GdkPixbufDecoder.
3321         
3322 2004-07-21  Michael Koch  <konqueror@gmx.de>
3324         * javax/swing/JTextArea.java
3325         (setLineWrap): Fire property change event after new value is set.
3326         (setTabSize): Likewise.
3328 2004-07-21  Michael Koch  <konqueror@gmx.de>
3330         * javax/swing/JTable.java
3331         (autoCreateColumnsFromModel): New field.
3332         (autoResizeMode): Likewise.
3333         (cellEditor): Likewise.
3334         (cellSelectionEnabled): Likewise.
3335         (columnModel): Likewise.
3336         (dataModel): Likewise.
3337         (defaultEditorsByColumnClass): Likewise.
3338         (defaultRenderersByColumnClass): Likewise.
3339         (editingColumn): Likewise.
3340         (editingRow): Likewise.
3341         (gridColor): Likewise.
3342         (preferredViewportSize): Likewise.
3343         (rowHeight): Likewise.
3344         (rowMargin): Likewise.
3345         (rowSelectionAllowed): Likewise.
3346         (selectionBackground): Likewise.
3347         (selectionForeground): Likewise.
3348         (selectionModel): Likewise.
3349         (showHorizontalLines): Likewise.
3350         (showVerticalLines): Likewise.
3351         (tableHeader): Likewise.
3352         (JTable): Implemented.
3353         (getColumnModel): Likewise.
3354         (getSelectedRow): Likewise.
3355         (getSelectionModel): Likewise.
3356         (setModel): Likewise.
3357         (setSelectionModel): Likewise.
3358         (createScrollPaneForTable): New method.
3359         (createDefaultDataModel): Likewise.
3360         (createDefaultListSelectionModel): Likewise.
3361         (getModel): Likewise.
3362         (getTableHeader): Likewise.
3363         (setTableHeader): Likewise.
3364         (getColumnSelectionAllowed): Likewise.
3365         (setColumnSelectionAllowed): Likewise.
3366         (getRowSelectionAllowed): Likewise.
3367         (setRowSelectionAllowed): Likewise.
3368         (getAutoResizeMode): Likewise.
3369         (setAutoResizeMode): Likewise.
3370         (getColumnCount): Likewise.
3371         (getRowCount): Likewise.
3372         (getCellRenderer): Likewise.
3373         * javax/swing/JTree.java
3374         (cellRenderer): New field.
3375         (editable): Likewise.
3376         (rootVisible): Likewise.
3377         (showsRootHandles): Likewise.
3378         (getModel): New method.
3379         (setModel): Likewise.
3380         (isEditable): Likewise.
3381         (setEditable): Likewise.
3382         (isRootVisbile): Likewise.
3383         (setRootVisible): Likewise.
3384         (getShowsRootHandles): Likewise.
3385         (setShowRootHandles): Likewise.
3386         (getCellRenderer): Likewise.
3387         (setCellRenderer): Likewise.
3389 2004-07-21  Michael Koch  <konqueror@gmx.de>
3391         * javax/swing/JFormattedTextField.java
3392         (setDocument): Implemented.
3393         * javax/swing/JRootPane.java:
3394         Fixed javadocs.
3395         * javax/swing/JTable.java
3396         (getDefaultRenderer): New method.
3397         * javax/swing/JTextField.java
3398         (setFont): Likewise.
3399         (getPreferredSize): Likewise.
3400         * javax/swing/JToggleButton.java
3401         (getAccessibleContext): Fix javadoc.
3402         * javax/swing/JTree.java:
3403         Add some javadocs.
3404         * javax/swing/JViewport.java:
3405         Likewise.
3407 2004-07-21  David Jee  <djee@redhat.com>
3409         * gnu/java/awt/peer/gtk/GtkFileDialogPeer.java:
3410         Collect all native method declaration at the top.
3411         (create): Set the filename filter if necessary.
3412         (setDirectory): Call nativeSetDirectory().
3413         (setFilenameFilter): Implement.
3414         (filenameFilterCallback): New method.
3415         * jni/gtk-peer/gnu_java_awt_peer_gtk_GtkFileDialogPeer.c
3416         (create): Configure dialog to show hidden files.
3417         (filenameFilterCallback): New function. 
3418         (nativeSetFilenameFilter): New function.
3419         (nativeSetDirectory): New function.
3421 2004-07-21  Kim Ho  <kho@redhat.com>
3423         * javax/swing/plaf/basic/BasicSliderUI.java:
3424         Ran Jalopy.
3425         (paintTrack): Fill the track before painting
3426         the borders.
3428 2004-07-21  Graydon Hoare  <graydon@redhat.com>
3430         patch from Roman Kennke <roman@ontographics.com>
3431         * javax/swing/Spring.java: New file.
3432         * javax/swing/SpringLayout.java: New file.
3433         * Makefile.am: Add new files.
3434         * Makefile.in: Regenerate.
3436 2004-07-21  Graydon Hoare  <graydon@redhat.com>
3438         * javax/swing/plaf/basic/BasicSplitPaneUI.java: Minor layout fixes.
3439         * javax/swing/plaf/basic/BasicTabbedPaneUI.java: Likewise.
3440         * javax/swing/ScrollPaneLayout.java: Likewise.
3442 2004-07-21  Kim Ho  <kho@redhat.com>
3444         * javax/swing/DefaultDesktopManager.java:
3445         (findMinimum): Removed.
3446         (resizeFrame): Trust the UI to pass valid 
3447         bounds.
3448         * javax/swing/JOptionPane.java:
3449         Implemented showInternalXXXDialog methods.
3450         (startModal): New method.
3451         * javax/swing/plaf/basic/BasicInternalFrameUI.java:
3452         (BorderListener::mouseDragged): Verify that the new 
3453         bounds are valid before passing them to the DesktopManager.
3454         (preferredLayoutSize): Delegate
3455         to getSize.
3456         (minimumLayoutSize): Ditto.
3457         (getSize): New method.
3458         (GlassPaneDispatcher): Reimplemented by copying 
3459         a stripped down LightweightDispatcher from Container.
3460         (getMinimumSize): Call minimumLayoutSize.
3461         * javax/swing/plaf/basic/BasicOptionPaneUI.java:
3462         Ran Jalopy.
3463         (mousePressed): Add ability to properly close 
3464         JInternalFrames.
3465         * javax/swing/plaf/basic/BasicToolBarUI.java:
3466         (DragWindow): Set owner for DragWindow.
3468 2004-07-21  Jerry Quinn  <jlquinn@optonline.net>
3470         * java/awt/image/ShortLookupTable.java: New file.
3471         * java/awt/image/ByteLookupTable.java: New file.
3472         * Makefile.am: Added new files.
3473         * Makefile.in: Regenerated.
3475 2004-07-21  David Jee  <djee@redhat.com>
3477         * gnu/java/awt/peer/gtk/GtkFileDialogPeer.java
3478         (create(GtkContainerPeer)): New native method.
3479         (create()): Call native create(), passing in the parent frame
3480         as the paramter. Natively set the current file and directory.
3481         (setFile): Construct an absolute filename before passing it to
3482         the native peer.
3483         (nativeGetDirectory): New method.
3484         * jni/gtk-peer/gnu_java_awt_peer_gtk_GtkFileDialogPeer.c
3485         (window_closed): Removed.
3486         (ok_clicked): Likewise.
3487         (cancel_clicked): Likewise.
3488         (handle_response): New method.
3489         (create): Use GtkFileChooserDialog.
3490         (connectSignals): Connect to handle_response.
3491         (nativeGetDirectory): New method.
3492         (nativeSetFile): Use GtkFileChooserDialog.
3494 2004-07-21  Jerry Quinn  <jlquinn@optonline.net>
3496         * java/awt/image/LookupTable.java: New file.
3497         * Makefile.am: Added new file.
3498         * Makefile.in: Regenerated.
3500 2004-07-21  Jerry Quinn  <jlquinn@optonline.net>
3502         * java/awt/image/Kernel.java: New file.
3503         * Makefile.am: Added new file.
3504         * Makefile.in: Regenerated.
3506 2004-07-21  Olga Rodimina  <rodimina@redhat.com>
3508         * javax/swing/JCheckBoxMenuItem.java: Fixed Javadocs.
3509         * javax/swing/JMenu.java: Likewise.
3510         * javax/swing/JMenuBar.java: Likewise.
3511         (MARGIN_CHANGED_PROPERTY): New property.
3512         (setMargin): Implemented.
3513         * javax/swing/JMenuItem.java: Fixed javadocs.
3514         * javax/swing/JPopupMenuUI.java: Fixed javadocs.
3515         (LABEL_CHANGED_PROPERTY): New property.
3516         (add): changed to use createActionComponent.
3517         (createActionComponent): Implemented.   
3518         (setLabel): Fire PropertyChangeEvent if label property
3519         changes.
3520         * javax/swing/JRadioButtonMenuItem.java: Fixed javadocs.
3521         * javax/swing/plaf/basic/BasicMenuBarUI.java: Likewise.
3522         (ContainerHandler): Repaint if margin property has changed.
3523         * javax/swing/plaf/basic/BasicMenuItemUI.java:
3524         (installUI): Call installComponents().
3525         (uninstallUI): Call uinstallComponents().
3526         * javax/swing/plaf/basic/BasicMenuUI.java:
3527         Fixed javadocs.
3528         * javax/swing/plaf/basic/BasicPopupMenuUI.java:
3529         Likewise.
3531 2004-07-21  Kim Ho  <kho@redhat.com>
3533         * javax/swing/plaf/basic/BasicToolBarUI.java:
3534         (DragWindow): Use the right constructor.
3536 2004-07-21  Kim Ho  <kho@redhat.com>
3538         * javax/swing/JToolBar.java:
3539         (layoutContainer): Use getComponents.
3540         * javax/swing/plaf/basic/BasicToolBarUI.java:
3541         (DragWindow): Don't use SwingUtilities' 
3542         getOwnerFrame
3543         (ToolBarDialog): ditto.
3545 2004-07-21  Kim Ho  <kho@redhat.com>
3547         * javax/swing/JRootPane.java:
3548         Ran jalopy.
3549         (layoutContainer): Set the glasspane's size to 
3550         be the same as the content pane.
3551         (createGlassPane): Set opaque property to false.
3553 2004-07-21  Thomas Fitzsimmons  <fitzsim@redhat.com>
3555         * java/awt/Component.java (requestFocus()): Don't handle Panels
3556         specially.
3557         (requestFocus(boolean)): Likewise.
3558         (requestFocusInWindow(boolean)): Likewise.
3559         * jni/gtk-peer/gnu_java_awt_peer_gtk_GtkPanelPeer.c (create):
3560         Set GTK_CAN_FOCUS flag.
3562 2004-07-21  Kim Ho  <kho@redhat.com>
3564         * Makefile.am: Added new file.
3565         * Makefile.in: Regenerated.
3566         * gcj/Makefile.in: Regenerated.
3567         * include/Makefile.in: Regenerated.
3568         * javax/swing/AbstractButton.java:
3569         Add rollOverEnabled property.
3570         (setRolloverEnabled): Use new property.
3571         (isRolloverEnabled): Use new property.
3572         * javax/swing/JTabbedPane.java:
3573         (setComponent): Remove useless JTabbedPane.this.
3574         * javax/swing/JToolBar.java: Finish implementation.
3575         * javax/swing/plaf/basic/BasicArrowButton.java:
3576         (paint): Moved border painting to a border.
3577         * javax/swing/plaf/basic/BasicLookAndFeel.java:
3578         Change JToolBar look and feel defaults.
3579         * javax/swing/plaf/basic/BasicOptionPaneUI.java
3580         (actionPerformed): Return Integer index instead of name.
3581         (addButtonComponents): Check to see if component is
3582         JButton last.
3583         (createMessageArea): Don't use components that are not
3584         completed yet.
3585         (getIconForType): Use temporary icons.
3586         * javax/swing/plaf/basic/BasicSliderUI.java:
3587         (mousePressed): Do not return if it's on thumb.
3588         (paintMinorTickForHorizSlider): Use BLACK to paint ticks.
3589         (paintMinorTickForVertSlider): ditto.
3590         (paintMajorTickForHorizSlider): ditto.
3591         (paintMajorTickForVertSlider): ditto.
3592         * javax/swing/plaf/basic/BasicSplitPaneDivider.java:
3593         Add a border around the SplitPaneDivider.
3594         * javax/swing/plaf/basic/BasicSplitPaneUI.java:
3595         Remove comments.
3596         * javax/swing/plaf/basic/BasicToolBarSeparatorUI.java:
3597         New file. Implemented.
3598         * javax/swing/plaf/basic/BasicToolBarUI.java:
3599         Implemented.
3600         * testsuite/Makefile.in: Regenerated.
3602 2004-07-21  Graydon Hoare  <graydon@redhat.com>
3604         * javax/swing/Timer.java (run): Queue events each time cycle.
3606 2004-07-21  David Jee  <djee@redhat.com>
3608         * gnu/java/awt/peer/gtk/GtkImagePainter.java
3609         (imageComplete): Call image.imageComplete().
3610         * java/awt/image/MemoryImageSource.java:
3611         Reimplement consumers as a Vector instead of a Hashtable.  This is
3612         because enumeration on a Hashtable is not thread-safe.
3613         (addConsumer): Adapt to Vector consumers.
3614         (isConsumer): Adapt to Vector consumers.
3615         (removeConsumer): Adapt to Vector consumers.
3616         (startProduction): Adapt to Vector consumers. Call imageComplete()
3617         with STATICIMAGEDONE flag instead of SINGLEFRAME flag.
3618         (newPixels): Adapt to Vector consumers.
3619         (sendPicture): Set the color model of the image consumer.
3620         (newPixels(IIII)): Adapt to Vector consumers.
3621         (newPixels(IIIIB)): Adapt to Vector consumers.
3623 2004-07-21  Thomas Fitzsimmons  <fitzsim@redhat.com>
3625         * java/awt/Component.java (deliverEvent): Implement.
3626         (postEvent): Implement.
3627         (handleEvent): Implement.
3628         (translateEvent): New method.
3629         (dispatchEventImpl): Document.  Add AWT 1.0 event handling.
3630         * java/awt/Container.java (deliverEvent): Implement.
3631         * java/awt/Event.java (paramString): Fix formatting.
3632         * java/awt/Font.java (toString): Likewise.
3633         * java/awt/Window.java (postEvent): Implement.
3635 2004-07-21  Thomas Fitzsimmons  <fitzsim@redhat.com>
3637         * java/awt/DefaultKeyboardFocusManager.java (dispatchEvent):
3638         Set window's focus owner upon receiving a FOCUS_LOST event.
3639         * java/awt/Window.java (Window()): Refocus the previously
3640         focused component within the window when the window regains the
3641         top-level focus.
3642         (setFocusOwner): New method.
3643         * java/awt/Component.java (requestFocus): Add FIXME.
3645         * libgcj.pc.in: Remove library flags.
3647 2004-07-21  Thomas Fitzsimmons  <fitzsim@redhat.com>
3649         * gnu/java/awt/peer/gtk/GtkPanelPeer.java (handleEvent): Handle
3650         MOUSE_PRESSED event.
3651         * java/awt/Component.java (requestFocus()): Handle Panel
3652         specially.  Post FOCUS_LOST event on opposite component.
3653         (requestFocus(boolean)): Likewise.
3654         (requestFocusInWindow(boolean)): Likewise.
3655         (paramString): Reorder dimension fields.
3656         * java/awt/Container.java (paramString): Fix string format.
3657         * java/awt/DefaultKeyboardFocusManager.java (dispatchEvent):
3658         Handle FOCUS_LOST events.  Don't handle Windows specially.  Only
3659         process key events if the focus owner is non-null.
3660         (dispatchKeyEvent): Likewise.
3661         * java/awt/Frame.java (paramString): Fix formatting.
3662         (generateName): New method.
3663         (getUniqueLong): Likewise.
3664         * java/awt/KeyboardFocusManager.java (getFocusOwner): Check if
3665         the temporary focus owner is null.  If so, return the permanent
3666         focus owner.
3667         * java/awt/Panel.java (generateName): New method.
3668         (getUniqueLong): Likewise.
3669         * jni/gtk-peer/gnu_java_awt_peer_gtk_GtkWindowPeer.c: Rework
3670         signal handling to make callbacks more specific.
3672 2004-07-21  Michael Koch  <konqueror@gmx.de>
3674         * javax/swing/text/Position.java
3675         (Bias): Implemented.
3677 2004-07-21  Michael Koch  <konqueror@gmx.de>
3679         * javax/swing/LookAndFeel.java
3680         (provideErrorFeedback): New method.
3682 2004-07-21  Michael Koch  <konqueror@gmx.de>
3684         * javax/swing/JTextArea.java
3685         (tabSize): New field.
3686         (getTabSize): New method.
3687         (setTabSize): Likewise.
3689 2004-07-21  Michael Koch  <konqueror@gmx.de>
3691         * javax/swing/ActionMap.java:
3692         Fixed javadocs all over.
3693         (serialVersionUID): Made private.
3694         (parent): Don't explicitely initialize with default value.
3695         (get): SImplified.
3696         (keys): Reimplemented.
3697         (allKeys): Likewise.
3698         (convertSet): Removed.
3699         * javax/swing/ComponentInputMap.java:
3700         Fixed javadocs all over.
3701         (ComponentInputMap): Implemented.
3702         (put): Likewise.
3703         (clear): Likewise.
3704         (remove): Likewise.
3705         (SetParent): Likewise.
3706         (getComponent): Likewise.
3707         * javax/swing/InputMap.java:
3708         Fixed javadocs all over.
3709         (serialVersionUID): Made private.
3710         (parent): Don't explicitely initialize with default value.
3711         (get): SImplified.
3712         (keys): Reimplemented.
3713         (allKeys): Likewise.
3714         (convertSet): Removed.
3716 2004-07-21  Michael Koch  <konqueror@gmx.de>
3718         * javax/swing/ActionMap.java,
3719         javax/swing/ComponentInputMap.java,
3720         javax/swing/InputMap.java,
3721         javax/swing/table/DefaultTableColumnModel.java,
3722         javax/swing/table/TableColumn.java,
3723         javax/swing/table/TableColumnModel.java,
3724         javax/swing/table/TableModel.java,
3725         javax/swing/text/AbstractDocument.java,
3726         javax/swing/text/TextAction.java:
3727         Reformated.
3729 2004-07-21  Graydon Hoare  <graydon@redhat.com>
3731         * gnu/java/awt/peer/gtk/GtkToolkit.java (bufferedImageOrError): 
3732         Make method non-static.
3733         * javax/swing/AbstractButton.java:
3734         Rename fields to match property names where possible.
3735         (iconTextGap): New property.
3736         * javax/swing/JCheckBox.java: Match AbstractButton changes.
3737         (init) New method, call from after various constructors.
3738         * javax/swing/JComponent.java (revalidate): 
3739         Invalidate before queueing repair.
3740         * javax/swing/JList.java (getPreferredScrollableViewportSize):
3741         Reimplement in terms of visibleRowCount property.
3742         * javax/swing/JMenuButton.java: Match AbstractButton changes.
3743         * javax/swing/JScrollPane.java (createScrollListener): 
3744         Remove tracing chatter.
3745         * javax/swing/JToggleButton.java: Match AbstractButton changes.
3746         * javax/swing/RepaintManager.java (addInvalidComponent): 
3747         Don't invalidate.
3748         * javax/swing/ScrollPaneLayout.java: Various corrections to layout
3749         calculations.
3750         * javax/swing/SwingUtilities.java (layoutCompoundLabel): 
3751         Mimic sun behavior on top left/right positioning.
3752         * javax/swing/ViewportLayout.java (preferredLayoutSize):
3753         Remove mistaken use of preferredScrollableViewportSize here.
3754         (layoutContainer): Use view's preferred size as basis.
3755         * javax/swing/plaf/basic/BasicButtonUI.java:
3756         Set, get, and use textIconGap property.
3757         (paint) Paint text returned from layout (with ellipsis).
3758         * javax/swing/plaf/basic/BasicListUI.java:
3759         Remove tracing chatter, correct various minor calculations.
3760         (getCellBounds): Update layout state before calculating.
3761         * javax/swing/plaf/basic/BasicLookAndFeel.java (Button.Margin):
3762         Use margin default similar to sun's.    
3763         * javax/swing/plaf/basic/BasicScrollBarUI.java (ArrowIcon):
3764         (createIncreaseIcon): Center icon, minimize margins.
3765         (createDecreaseIcon): Likewise.
3766         * javax/swing/plaf/basic/BasicScrollPaneUI.java (installDefaults):
3767         Implement.
3768         (installUI): Call it.
3769         (uninstallDefaults): Implement.
3770         (uninstallUI): Call it.
3771         * javax/swing/plaf/basic/BasicToolBarUI.java (DragWindow):
3772         Call existing Window constructor.
3773         * javax/swing/plaf/basic/BasicViewportUI.java (paint):
3774         Set clip before painting.
3776 2004-07-21  Olga Rodimina <rodimina@redhat.com>
3777         
3778         * javax/swing/JMenuItem.java:
3779         (processMouseEvent): Reimplemented to deal with
3780         mouse drag events.
3781         (createMenuDragMouseEvent): New private helper method.
3782         Creates MenuDragMouseEvent.
3783         * javax/swing/MenuSelectionManager.java
3784         (componentForPoint): Implemented.
3785         (isComponentPartOfCurrentMenu): Made public.
3786         (processMouseEvent): Reimplemented to deal with 
3787         mouse drag events.
3788         (setSelectedPath): Corrected small mistake that caused
3789         path to be set incorrectly.
3790         (getPath): If given component is JMenu then also add this
3791         menu's popup menu to the selected path.
3792         * javax/swing/plaf/basic/BasicMenuItemUI.java:
3793         (getPath): Ditto.
3794         (getPreferredSize): Call getPreferredMenuItemSize().
3795         (getPreferredItemSize): Moved code from getPreferredSize to here.
3796         (installListeners): Install MouseMotionListeners.
3797         (MouseInputHandler): Pass mouse release event to MenuSelectionManager 
3798         if mouse wasn't released in the bounds of this menu item.
3799         (MenuDragMouseHandler): Implemented.
3800         * javax/swing/plaf/basic/BasicMenuUI.java:
3801         (installListeners): Install MouseMotionListener and 
3802         MenuDrageMouseListener.
3803         (MenuDragMouseHandler): Implemented.
3804         * javax/swing/plaf/basic/BasicPopupMenuUI.java:
3805         (uninstallListeners): Implemented.
3806         
3807 2004-07-21  Michael Koch  <konqueror@gmx.de>
3809         * javax/swing/JCheckBox.java: Reformated.
3810         (JCheckBox): Fixed all constructors.
3811         (isBorderPaintedFlat): New method.
3812         (setBorderPaintedFlat): New method.
3813         * javax/swing/JEditorPane.java
3814         (createEditorKitForContentType): Made public.
3815         (scrollToReference): Likewise.
3816         * javax/swing/JTextArea.java
3817         (setLineWrap): Fire property change.
3818         * javax/swing/JToggleButton.java
3819         (JToggleButton): New constructor.
3820         (JToggleButton): Simplified.
3821         * javax/swing/text/AttributeSet.java
3822         (FontAttribute): Renamed from FontCharacterAttribute.
3823         * javax/swing/text/JTextComponent.java
3824         (KeyBinBinding): Added javadoc.
3825         (JTextComponent): Likewise.
3826         (getAccessibleContext): Fixed javadoc.
3827         * javax/swing/text/View.java
3828         (View): Added javadoc.
3829         * javax/swing/text/TabableView.java: New file.
3830         * Makefile.am: Added javax/swing/text/TabableView.java.
3831         * Makefile.in: Regenerated.
3833 2004-07-21  Graydon Hoare  <graydon@redhat.com>
3835         * java/awt/image/BufferedImage.java (getSource): Remove tracing chatter.
3836         * gnu/java/awt/peer/gtk/GtkToolkit.java 
3837         (GtkErrorImage): New helper class.
3838         (bufferedImageOrError): New helper method.
3839         (createImage): Use it.
3841 2004-07-21  David Jee  <djee@redhat.com>
3843         * jni/gtk-peer/gnu_java_awt_peer_gtk_GtkTextComponentPeer.c
3844         (setCaretPosition): Scroll the text view so the new caret position
3845         is visible on screen.
3847 2004-07-21  David Jee  <djee@redhat.com>
3849         * gnu/java/awt/peer/gtk/GtkContainerPeer.java
3850         (setBounds): Do not validate awtComponent here.
3851         * gnu/java/awt/peer/gtk/GtkScrollPanePeer.java
3852         (getPreferredSize): New method.
3853         * java/awt/ScrollPane.java
3854         (ScrollPane): Set default size to 100x100.
3855         (addNotify): If child is not a Panel, wrap it with a new Panel.
3856         (paramString): Implement.
3858 2004-07-21  Olga Rodimina  <rodimina@redhat.com>
3860         * javax/swing/JMenu.java:
3861         (setSelected): Display popup menu only if this menu 
3862         is showing on the screen.
3863         * javax/swing/JPopupMenu.java:
3864         (processMouseEvent): Added comment.
3865         (processKeyEvent): Likewise.
3866         * javax/swing/MenuSelectionManager.java:
3867         (clearSelectedPath): Only fireStateChanged() after
3868         selected path was changed, not before.
3869         (setSelectedPath): Likewise.
3870         * javax/swing/plaf/basic/BasicMenuItemUI.java:
3871         (paintMenuItem): Corrected position of menu item's
3872         icon.
3873         * javax/swing/plaf/basic/BasicPopupMenuUI.java:
3874         (installUI): Correct setDefaultLightWeightPopupEnabled call.
3875         (popupMenuCanceled): Reimplemented.
3876         (popupMenuWillBecomeVisible): Select first menu item by default 
3877         when displaying free floating popup menus.
3878         (TopWindowListener): Reimplemented.
3880 2004-07-21  Thomas Fitzsimmons  <fitzsim@redhat.com>
3882         * java/awt/Panel.java (dispatchEventImpl): Override to prevent
3883         Panel from being painted twice when it is first shown.
3885 2004-07-21  Olga Rodimina  <rodimina@redhat.com>
3887         * java/awt/Window.java: Reverted changes from my 
3888         previous patch for creating window without an owner.
3889         * javax/swing/SwingUtilities.java: 
3890         (SwingUtilities.OwnerFrame): made static.
3891         (OwnerFrame.setVisible): New method. Overridden with
3892         empty implementation.
3893         (OwnerFrame.isShowing): New method. Ovverridden
3894         to return always true.
3896 2004-07-21  Thomas Fitzsimmons  <fitzsim@redhat.com>
3898         * gnu/java/awt/peer/gtk/GtkComponentPeer.java,
3899         jni/gtk-peer/gnu_java_awt_peer_gtk_GtkComponentPeer.c
3900         (GtkComponentPeer): Remove temporary try/catch block.
3901         (setVisible): Call show and hide.
3902         (show): Make native.
3903         (hide): Likewise.
3904         (getArgs): Don't add "visible" argument.
3905         * jni/gtk-peer/gnu_java_awt_peer_gtk_GtkWindowPeer.c
3906         (property_notify_predicate): Return Bool instead of int.
3907         (find_layout): New function.
3908         (connectJObject): Call find_layout.
3909         (connectSignals): Likewise.
3910         (moveLayout): Likewise.
3911         (gtkLayoutSetVisible): Likewise.
3913 2004-07-21  Mark Wielaard  <mark@klomp.org>
3915         * java/awt/event/InvocationEvent.java (dispatch): Synchronize
3916         on notifier object before calling notifyAll().
3918 2004-07-21  Olga Rodimina  <rodimina@redhat.com>
3920         * java/awt/Window.java: Changed constructors to use new
3921         method that is described below. Constructors call this
3922         methods only if newly created window should have an owner.
3923         (setWindowOwner): New method. Implementation for
3924         this method is moved from this(owner,configuration).
3925         * javax/swing/JWindow.java:
3926         (JWindow): Reimplement to use SwingUtilities.ownerFrame
3927         instead of owner.
3928         * javax/swing/SwingUtilities.java:
3929         (ownerFrame): Change type of this field to OwnerFrame.
3930         (getOwnerFrame): Changed to return object of type OwnerFrame.
3931         (SwingUtilities.OwnerFrame): New class. Represents owner
3932         of a Window that is not provided with one.
3934 2004-07-21  Olga Rodimina  <rodimina@redhat.com>
3936         *  javax/swing/AbstractButton.java: 
3937         (configurePropertiesFromAction): Set action command
3938         to button's text by default if action command is not 
3939         explicitely specified.
3940         * javax/swing/JMenu.java: Remove unnecessary listener
3941         and methods relevant to it.
3942         (setSelected): Reimplemented.
3943         (menuSelectionChanged): Moved most part of implementation to
3944         setSelected() and call it instead.
3945         * javax/swing/JMenuItem.java: 
3946         (init): Comment out statement that sets paint_border to false.
3947         (configurePropertiesFromAction): Do not set accelerator
3948         for JMenu.
3949         (menuSelectionChanged): Change selected index in the selection
3950         model of menu item's parent.
3951         * javax/swing/JPopupMenu.java:
3952         (remove): Set constraints.fill field to GridBagConstraints.BOTH
3953         instead of GridBagConstraints.HORIZONTAL.
3954         (insert): Likewise.
3955         (createActionChangeListener): Implemented.
3956         (setVisible): Correct location of HeavyWeightMenu and 
3957         don't firePopupMenuCanceled().
3958         (menuSelectionChanged): Implemented.
3959         (ActionChangeListener): New Listener. Implemented.
3960         * javax/swing/plaf/basic/BasicMenuBarUI.java:
3961         (BasicMenuBarUI.ContainerHandler): Implemented.
3962         * javax/swing/plaf/basic/BasicMenuItemUI.java:
3963         (paintMenuItem): Uncommented out code that paints 
3964         icon, now that icons are working properly.
3965         (PropertyChangeListener): Implemented.
3966         * javax/swing/plaf/basic/BasicPopupMenuUI.java:
3967         Added javadocs.
3968         (topWindowListener): New field.
3969         (Constructor): initialize topWindowListener.
3970         (BasicPopupMenuUI.TopWindowListener): Implemented.      
3971         (BasicPopupMenuUI.PopupMenuHandler): Implemented.
3972         (BasicPopupMenuUI.TopWindowListener): New ComponentListener.
3973         Implemented.
3975 2004-07-21  Michael Koch  <konqueror@gmx.de>
3977         * javax/swing/plaf/basic/BasicButtonUI.java
3978         (paintFocus): Fixed method signature.
3979         (paintButtonPressed): Likewise.
3980         (paintButtonNormal): Likewise.
3981         (paintText): New method.
3982         * javax/swing/plaf/basic/BasicLabelUI.java
3983         (paint): Re-indented.
3984         * javax/swing/plaf/basic/BasicTextUI.java
3985         (installUI): Set parent textComponent to opaque.
3986         * javax/swing/text/DefaultHighlighter.java
3987         (checkPositions): New helper method.
3988         (addHighlight): Throws BadLocationException, check positions.
3989         (changeHighlight): Likewise.
3990         * javax/swing/text/EditorKit.java
3991         (EditorKit): Implements Serializable.
3992         * javax/swing/text/JTextComponent.java
3993         (getUI): Added javadoc.
3994         (setUI): Likewise.
3995         (upadteUI): Added javadoc, don't revalidate and repaint.
3997 2004-07-21  David Jee  <djee@redhat.com>
3999         * java/awt/GridBagLayout.java
4000         (ArrangeGrid): Use PREFERREDSIZE instead of MINSIZE.
4001         * javax/swing/AbstractButton.java
4002         (setText): Reindent.
4003         * javax/swing/RepaintManager.java
4004         (addInvalidComponent): Find the first ancestor that isValidateRoot().
4006 2004-07-21  Michael Koch  <konqueror@gmx.de>
4008         * javax/swing/JFormattedTextField.java
4009         (value): New field.
4010         (JFormattedTextField): Implemented.
4011         (getValue): Likewise.
4012         (setValue): Likewise.
4013         * javax/swing/LookAndFeel.java
4014         (getSupportsWindowDecorations): New method.
4015         * javax/swing/UIDefaults.java:
4016         Use java.beans.PropertyChangeSupport instead of doing all ourself.
4017         (addPropertyChangeListener): Made public.
4018         (addResourceBundle): Likewise.
4019         (removeResourceBundle): Likewise.
4020         (setDefaultLocale): Likewise.
4021         * javax/swing/plaf/basic/BasicRootPaneUI.java
4022         (BasicRootPaneUI): Implements PropertyChangeListener.
4023         (propertyChange): New method.
4024         * javax/swing/plaf/basic/BasicTextUI.java
4025         (BasicHighlighter): New inner class.
4026         (createHighlighter): New method.
4027         * javax/swing/plaf/basic/BasicToolBarUI.java
4028         (DragWindow): Extends java.awt.Window.
4029         * javax/swing/text/JTextComponent.java
4030         (getDocument): Removed debug output.
4031         * javax/swing/plaf/basic/BasicTextFieldUI.java,
4032         javax/swing/text/DefaultHighlighter.java,
4033         javax/swing/text/FieldView.java,
4034         javax/swing/text/PlainView.java: New files.
4035         * Makefile.am: Added new files.
4036         * Makefile.in: Regenerated.
4038 2004-07-21  Michael Koch  <konqueror@gmx.de>
4040         * javax/swing/JEditorPane.java
4041         (createDefaultEditorKit): Use javax.swing.text.DefaultEditorKit.
4042         (createEditorKitForContentType): Likewise.
4043         * javax/swing/text/DefaultEditorKit.java
4044         (serialVersionUID): Added constant field.
4045         (EndOfLineStringPropery): Fixed typo.
4046         (DefaultEditorKit): New constructor.
4047         * javax/swing/text/Segment.java:
4048         Import java.text.CharacterIterator.
4049         * javax/swing/text/CharacterIterator.java,
4050         javax/swing/text/PlainEditorKit.java: Removed.
4051         * Makefile.am: Removed javax/swing/text/CharacterIterator.java and
4052         javax/swing/text/PlainEditorKit.java.
4053         * Makefile.in: Regenerated.
4055 2004-07-21  Michael Koch  <konqueror@gmx.de>
4057         * javax/swing/JButton.java,
4058         javax/swing/text/DefaultEditorKit.java,
4059         javax/swing/text/EditorKit.java,
4060         javax/swing/text/Segment.java,
4061         javax/swing/text/StyledEditorKit.java:
4062         Reformatted.
4064 2004-07-21  Michael Koch  <konqueror@gmx.de>
4066         * javax/swing/ImageIcon.java
4067         (file): Removed.
4068         (description): Renamed from descr.
4069         (ImageIcon): Added missing constructors.
4070         (setParent): Removed.
4071         (setImageObserver): New method.
4072         (getImageObserver): New method.
4073         (paintIcon): Handle observer = null.
4074         * javax/swing/JButton.java
4075         (removeNotify): Fixed javadoc.
4076         (updateUI): Simplified.
4077         * javax/swing/JRootPane.java
4078         (serialVersionUID): New constant field.
4079         * javax/swing/UIManager.java:
4080         Fixed javadocs all over.
4081         (setLookAndFeel): Throws UnsupportedLookAndFeelException.
4082         * javax/swing/text/AbstractDocument.java
4083         (createPosition): Throws BadLocationException.
4084         (getText): Likewise.
4085         (remove): Likewise.
4086         * javax/swing/text/ComponentView.java
4087         (modelToView): Likewise.
4088         * javax/swing/text/DefaultEditorKit.java:
4089         Made all public methods public.
4090         (read): Throws BadLocationException and IOException.
4091         (write): Likewise.
4092         * javax/swing/text/EditorKit.java:
4093         Made all public methods public.
4094         (serialVersionUID): New constant field.
4095         (clone): New method.
4096         (read): Throws BadLocationException and IOException.
4097         (write): Likewise.
4098         * javax/swing/text/Segment.java
4099         (array): Made public.
4100         (count): Likewise.
4101         (offset): Likewise.
4102         (Segment): New constructors.
4103         (clone): Reimplemented.
4104         * javax/swing/text/StyledEditorKit.java
4105         (serialVersionUID): New constant field.
4107 2004-07-21  Graydon Hoare  <graydon@redhat.com>
4109         * java/awt/image/BufferedImage.java 
4110         (getSource): Implement.
4111         * javax/swing/ImageIcon.java 
4112         (ImageIcon): Implement ctor.
4113         * javax/swing/ScrollPaneLayout.java 
4114         (preferredLayoutSize): Be more careful about nulls.
4116 2004-07-21  Michael Koch  <konqueror@gmx.de>
4118         * javax/swing/text/AttributeSet.java
4119         (CharacterAttribute): New interface
4120         (ColorAttribute): Likewise.
4121         (FontCharacterAttribute): Likewise.
4122         (ParagraphAttribute): Likewise.
4123         * javax/swing/text/DefaultCaret.java
4124         (moveCaret): New method.
4125         (positionCaret): Likewise.
4126         (repaint): Made protected.
4127         * javax/swing/text/JTextComponent.java
4128         (KeyBinding): Made it static.
4129         * javax/swing/text/View.java
4130         (getContainer): Honor parent == null.
4132 2004-07-21  Michael Koch  <konqueror@gmx.de>
4134         * javax/swing/text/AbstractDocument.java:
4135         Reformatted.
4137 2004-07-21  Michael Koch  <konqueror@gmx.de>
4139         * javax/swing/plaf/basic/BasicRootPaneUI.java:
4140         Import javax.swing.UIManager explicitely.
4141         * javax/swing/plaf/basic/BasicTabbedPaneUI.java
4142         (ScrollingButton): Made it static.
4144 2004-07-21  Michael Koch  <konqueror@gmx.de>
4146         * javax/swing/UIDefaults.java
4147         (ActiveValue): Made public.
4148         (LazyValue): Likewise.
4149         * javax/swing/plaf/basic/BasicTextUI.java
4150         (RootView): Reintroduced.
4151         (view): Removed.
4152         (rootView): New field.
4153         (installUI): Create document if needed, initialize rootView.
4154         (uninstallUI): Hanle rootView.
4155         (paint): Likewise.
4156         (getRootView): Likewise.
4157         (setView): Likewise.
4158         * javax/swing/text/DefaultCaret.java:
4159         Renamed all "evt" variables to "event".
4161 2004-07-21  Thomas Fitzsimmons  <fitzsim@redhat.com>
4163         * libgcj.spec.in: Add -l-java-util-logging.
4165 2004-07-21  Andreas Tobler  <a.tobler@schweiz.ch>
4167         * jni/gtk-peer/gnu_java_awt_peer_gtk_GtkMainThread.c
4168         (init_dpi_conversion_factor): Check for int_dpi < 0 in case
4169         gtk-xft-dpi can no calculate the right value.
4170         (dpi_changed_cb): Mark *pspec as unsused.
4172 2004-07-21  David Jee  <djee@redhat.com>
4174         * java/awt/Component.java
4175         (move): Delegate to setBounds().
4176         (resize): Likewise.
4177         (reshape): Fix so it repaints parent and self only when necessary.
4179 2004-07-21  David Jee  <djee@redhat.com>
4181         * gnu/java/awt/peer/gtk/GtkComponentPeer.java,
4182         jni/gtk-peer/gnu_java_awt_peer_gtk_GtkComponentPeer.c
4183         (GtkComponentPeer): Revert previous patch from 2004-06-22.
4184         (setVisible): Likewise.
4185         (show): Likewise.
4186         (hide): Likewise.
4187         (getArgs): Likewise.
4188         * jni/gtk-peer/gnu_java_awt_peer_gtk_GtkWindowPeer.c
4189         (property_notify_predicate): Likewise.
4190         (find_layout): Likewise.
4191         (connectJObject): Likewise.
4192         (connectSignals): Likewise.
4193         (moveLayout): Likewise.
4194         (gtkLayoutSetVisible): Likewise.
4196 2004-07-21  Graydon Hoare  <graydon@redhat.com>
4198         * Makefile.am
4199         (jv_convert_LDADD):
4200         (gij_LDADD):
4201         (rmic_LDADD):
4202         (rmiregistry_LDADD): Add lib-java-util-logging.la
4203         * Makefile.in: Regenerate.
4205 2004-07-21  Michael Koch  <konqueror@gmx.de>
4207         * javax/swing/text/AbstractDocument.java
4208         (replace): Dont use protected method of java.util.Vector directly.
4210 2004-07-21  Michael Koch  <konqueror@gmx.de>
4212         * javax/swing/plaf/basic/BasicTextUI.java
4213         (installUI): Call specialized install methods.
4214         (installDefaults): New method.
4215         (installListeners): Likewise.
4216         (installKeyboardActions): Likewise.
4217         (uninstallUI): Likewise.
4218         (uninstallDefaults): New method.
4219         (uninstallListeners): Likewise.
4220         (uninstallKeyboardActions): Likewise.
4221         (getPropertyPrefix): New abstract method.
4222         (paint): Made final, just call paintSafely().
4223         (paintSavely): New method.
4224         (paintBackground): Likewise.
4225         (getVisibleEditorRect): Likewise.
4226         * javax/swing/text/LayeredHighlighter.java,
4227         javax/swing/text/TabExpander.java: New files.
4228         * Makefile.am: Added javax/swing/text/LayeredHighlighter.java
4229         and javax/swing/text/TabExpander.java.
4230         * Makefile.in: Regenerated.
4232 2004-07-21  Michael Koch  <konqueror@gmx.de>
4234         * javax/swing/plaf/basic/BasicTextUI.java
4235         (BasicTextUI): Made abstract.
4236         (BasicCaret): New inner class.
4237         (view): Don't explicitely initialize with "null".
4238         (textComponent): New field.
4239         (textColor): Removed.
4240         (disabledTextColor): Removed.
4241         (normalBackgroundColor): Removed.
4242         (RootView): Removed commented out inner class.
4243         (createUI): Removed.
4244         (createCaret): New method.
4245         (getComponent): Likewise.
4246         (installUI): Initialize textComponent only.
4247         (getPreferredSize): Use installed JTextComponent.
4248         (setView): New method.
4249         (create): Likewise.
4250         * javax/swing/text/JTextComponent.java
4251         (highlighter): New field.
4252         (caretColor): Likewise.
4253         (disabledTextColor): Likewise.
4254         (seletedTextColor): Likewise.
4255         (selectionColor): Likewise.
4256         (setUI): New method.
4257         (getCaretColor): Likewise.
4258         (setCaretColor): Likewise.
4259         (getDisabledColor): Likewise.
4260         (setDisabledColor): Likewise.
4261         (getSelectedTextColor): Likewise.
4262         (setSelectedTextColor): Likewise.
4263         (getSelectionColor): Likewise.
4264         (setSelectionColor): Likewise.
4265         (getHighlighter): Likewise.
4266         (setHighlighter): Likewise.
4267         (replaceSelection): Likewise.
4269 2004-07-21  Michael Koch  <konqueror@gmx.de>
4271         * javax/swing/plaf/basic/BasicScrollPaneUI.java
4272         (BasicScrollPaneUI): Implements ScrollPaneConstants.
4273         * javax/swing/plaf/basic/BasicToolBarUI.java
4274         (BasicToolBarUI): Implements SwingConstants.
4276 2004-07-21  Michael Koch  <konqueror@gmx.de>
4278         * javax/swing/JPopupMenu.java: Removed CVS tags.
4279         * javax/swing/UIDefaults.java: Reformatted.
4280         * javax/swing/plaf/basic/BasicRootPaneUI.java:
4281         Explicitely import used classes.
4283 2004-07-21  Thomas Fitzsimmons  <fitzsim@redhat.com>
4285         * gnu/java/awt/peer/gtk/GtkComponentPeer.java,
4286         jni/gtk-peer/gnu_java_awt_peer_gtk_GtkComponentPeer.c
4287         (GtkComponentPeer): Remove temporary try/catch block.
4288         (setVisible): Call show and hide.
4289         (show): Make native.
4290         (hide): Likewise.
4291         (getArgs): Don't add "visible" argument.
4292         * jni/gtk-peer/gnu_java_awt_peer_gtk_GtkWindowPeer.c
4293         (property_notify_predicate): Return Bool instead of int.
4294         (find_layout): New function.
4295         (connectJObject): Call find_layout.
4296         (connectSignals): Likewise.
4297         (moveLayout): Likewise.
4298         (gtkLayoutSetVisible): Likewise.
4300 2004-07-21  Olga Rodimina  <rodimina@redhat.com>
4302         * javax/swing/AbstractButton.java:
4303         (setDisplayedMnemonicIndex): Check if button
4304         text is not null before checking its length.
4305         * javax/swing/JMenuItem.java:
4306         (processMouseEvent): Disarm menu item if mouse has
4307         exited it.
4308         * javax/swing/plaf/basic/BasicMenuUI.java:
4309         (MouseInputHandler.mouseEntered): Do not raise
4310         popup menu if this menu is already selected.
4311         (MouseInputHandler.mousePressed): Do not fire 
4312         MenuEvents.
4313         (MenuHandler): Implemented.     
4315 2004-07-21  Olga Rodimina  <rodimina@redhat.com>
4317         * javax/swing/JCheckBoxMenuItem.java: Added Javadoc.
4318         (getSelectedObjects): Implemented.
4319         * javax/swing/JRadioButtonMenuItem.java: Added Javadoc.
4320         * javax/swing/plaf/basic/BasicCheckBoxMenuItemUI.java: 
4321         Added javadoc for few methods.
4322         (processMouseEvent): Made public.
4323         * javax/swing/plaf/basic/BasicRadioButtonMenuItemUI.java
4324         (processMouseEvent): Likewise.
4326 2004-07-21  Olga Rodimina  <rodimina@redhat.com>
4328         * javax/swing/AbstractButton.java:
4329         (init): Set display mnemonic index to -1.
4330         (setMnemonic(char)): Use setMnemonic(int).
4331         (setMnemonic(int)): Set display mnemonic index.
4332         (getDisplayedMnemonicIndex): Change method signature
4333         by removing 'index' parameter.
4334         * javax/swing/plaf/basic/BasicLookAndFeel.java:
4335         Added default for Menu.selectionBackground.     
4336         * javax/swing/plaf/basic/BasicMenuItemUI.java:
4337         (paintMenuItem): Change background color of the selected
4338         menu item.
4339         (paintText): Paint differently when menu item is disabled.
4340         Also paint mnemonic if it appears in the menu item's label.
4341         (paintAccelerator): Paint accelerator differently
4342         if menu item is disabled.
4343         * javax/swing/plaf/basic/BasicMenuUI.java:
4344         (installDefaults): Install defaults for 
4345         selectionForeground and selectionBackground.
4346         (uninstallDefaults): Uninstall defauls for 
4347         selectionForeground and selectionBackground.
4349 2004-07-21  Michael Koch  <konqueror@gmx.de>
4351         * javax/swing/text/AbstractDocument.java
4352         (BranchElement): Implemented.
4353         (LeafElement): Implemented.
4354         * javax/swing/text/DefaultCaret.java:
4355         Import used classes.
4356         (serialVersionUID): New constant.
4357         * javax/swing/text/JTextComponent.java
4358         (AccessibleJTextComponent): Removed dead declaration.
4359         (caretPos): Removed.
4360         (setCaret): New method.
4361         * javax/swing/text/PlainDocument.java
4362         (rootElement): New field.
4363         (PlainDocument): Initialize rootElement.
4364         (createDefaultRoot): New method.
4365         (getDefaultRootElement): Implemented.
4366         * javax/swing/text/View.java: Reformatted.
4367         * javax/swing/text/ViewFactory.java
4368         (create): Added javadoc.
4370 2004-07-21  Michael Koch  <konqueror@gmx.de>
4372         * javax/swing/ToolTipManager.java: Reformatted.
4374 2004-07-21  Rodimina Olga  <rodimina@redhat.com>
4376         * javax/swing/AbstractButton.java
4377         (changeEvent): New field.
4378         (fireItemStateChanged): Change source of the event
4379         to 'this' before firing it to button listeners.
4380         (fireActionPerformed): Likewise.
4381         (fireStateChanged): Likewise.
4382         (createActionListener): Do not set source 
4383         of the event to AbstractButton.                                  
4384         * javax/swing/plaf/basic/BasicMenuBarUI.java:
4385         (ContainerHandler.componentAdded): Removed 
4386         print out statement.
4387         (ContainerHandler.componentRemoved): Likewise.
4389 2004-07-21  Michael Koch  <konqueror@gmx.de>
4391         * javax/swing/text/Highlighter.java: New file.
4392         * Makefile.am: Added javax/swing/text/Highlighter.java.
4393         * Makefile.in: Regenerated.
4395 2004-07-21  Michael Koch  <konqueror@gmx.de>
4397         * javax/swing/ToolTipManager.java
4398         (stillInsideTimerAction): Fixed constructor arguments.
4399         (outsideTimerAction): Likewise.
4400         (insideTimerAction): Likewise.
4402 2004-07-21  Michael Koch  <konqueror@gmx.de>
4404         * javax/swing/JButton.java: Reformatted.
4405         * javax/swing/JFormattedTextField.java
4406         (getUIClassID): Implemented.
4407         * javax/swing/JRootPane.java
4408         (serialVersionUID): New constant.
4409         * javax/swing/JTextField.java
4410         (align): New field.
4411         (JTextField): Simplified.
4412         (getUIClassID): New method.
4413         (getActionListeners): Added @since tag.
4414         (setColumns): Invalidate layout and repaint.
4415         (getHorizontalAlignment): New method.
4416         (setHorizontalAlignment): New method.
4417         (selectAll): Removed.
4418         * javax/swing/SwingUtilities.java
4419         (getAncestorOfClass): Removed redundant @see tag.
4420         (isLeftMouseButton): Fixed implementation.
4421         (isMiddleMouseButton): Likewise.
4422         (isRightMouseButton): Likewise.
4423         * javax/swing/text/AbstractDocument.java
4424         (AttributeContext.addAttribute): New method.
4425         (AttributeContext.addAttributes): New method.
4426         (AttributeContext.getEmptySet): New method.
4427         (AttributeContext.reclaim): New method.
4428         (AttributeContext.removeAttribute): New method.
4429         (AttributeContext.removeAttributes): New method.
4430         * javax/swing/text/Document.java
4431         (createPosition): Throws BadLocationException.
4432         (getText): Likewise.
4433         (remove): Likewise.
4434         * javax/swing/text/JTextComponent.java
4435         (getText): Return null if no document is set. Catch
4436         BadLocationException.
4437         (getUI): Return ui.
4438         (updateUI): Simplified.
4440 2004-07-21  Michael Koch  <konqueror@gmx.de>
4442         * javax/swing/JButton.java
4443         (removeNotify): Fixed javadoc.
4444         (updateUI): Simplified.
4446 2004-07-21  David Jee  <djee@redhat.com>
4448         * gnu/java/awt/image/ImageDecoder.java
4449         (startProduction): Only add consumer if it's not added yet.
4450         * gnu/java/awt/peer/gtk/GdkPixbufDecoder.java
4451         (GdkPixbufDecoder): Don't call initState() here.
4452         (produce): Call initState() here, to ensure area_prepared and
4453         area_updated signals are properly connected.
4454         * gnu/java/awt/peer/gtk/GtkImage.java
4455         (setColorModel): Use equals() to compare ColorModel objects.
4456         (setPixels): Likewise.
4457         * java/awt/image/ColorModel.java
4458         (equals): Fix typo. Use Arrays.equals() to compare int arrays.
4459         * java/awt/image/RGBImageFilter.java
4460         (setColorModel): Set consumer's color model.
4461         (setPixels): Use equals() to compare ColorModel objects.
4463 2004-07-21  Bryce McKinlay  <mckinlay@redhat.com>
4465         * java/net/URLConnection.java (position): New field.
4466         (dateFormat1, dateFormat2, dateFormat3): Removed.
4467         (dateFormats): New field.
4468         (getHeaderFieldDate): Use new dateFormats array. Re-use parsePosition
4469         each time instead of re-allocating.
4470         (initializeDateFormats): Initialize 'dateFormats'.
4472 2004-07-20  Bryce McKinlay  <mckinlay@redhat.com>
4474         PR libgcj/16591
4475         * prims.cc (_Jv_RunMain): Don't call _Jv_SetArgs if DISABLE_MAIN_ARGS
4476         is defined.
4478 2004-07-20  Bryce McKinlay  <mckinlay@redhat.com>
4480         * java/net/Socket.java (getImpl): Now private. Remove comment.
4482 2004-07-20  Bryce McKinlay  <mckinlay@redhat.com>
4484         * java/io/BufferedWriter.java (BufferedWriter): Use existing lock
4485         of chained Writer when calling super-constructor.
4486         * java/io/FilterWriter.java (FilterWriter): Likewise.
4487         * java/io/PrintWriter.java (PrintWriter): Likewise.
4489 2004-07-19  Bryce McKinlay  <mckinlay@redhat.com>
4491         * prims.cc (process_gcj_properties): Don't increment i within LHS
4492         of assignment.
4494 2004-07-19  Per Bothner  <per@bothner.com>
4496         Print -verbose:message on "loading", not initialization.
4497         * java/lang/Class.h (JV_STATE_LOADED, JV_STATE_COMPILED):  Swap order.
4498         * defineclass.cc (_Jv_ClassReader::parse):  Print message if
4499         gcj::verbose_class_flag.
4500         * java/lang/natClass.cc (initializeClass):  Don't print message here.
4501         * java/lang/natClassLoader.cc (_Jv_WaitForState):  If state was
4502         _JV_STATE_COMPILED, set to JV_STATE_LOADED and may print message.
4503         (_Jv_PrepareCompiledClass):  Likewise.
4505 2004-07-18  Matthias Klose  <doko@debian.org>
4507         * configure.in: Substitute target_noncanonical.
4508         * configure: Regenerate
4510 2004-07-17  Michael Koch  <konqueror@gmx.de>
4512         * java/lang/String.java: Fixed javadocs all over.
4514 2004-07-17  Mark Wielaard  <mark@klomp.org>
4516         * gnu/java/nio/channels/FileChannelImpl.java (truncate): Only truncate
4517         when size is smaller.
4518         * java/io/RandomAccessFile.java (setLength): Use truncate for
4519         shrinking the file and seek plus write for expanding the file.
4521 2004-07-17  Michael Koch  <konqueror@gmx.de>
4523         * gnu/java/nio/channels/natFileChannelPosix.cc
4524         (implTruncate): Always save current position. Only reposition file
4525         pointer to where we started if not beyond new lenght. Reposition file
4526         pointer to file length if it points beyond the end of file.
4528 2004-07-17  Mark Wielaard  <mark@klomp.org>
4530         * javax/swing/Box.java: Put FIXME comment above class declaration.
4531         * javax/swing/JButton.java: Remove illegal L&F HTML from comments.
4532         * javax/swing/JCheckBox.java: Likewise.
4533         * javax/swing/JDialog.java: Likewise.
4534         * javax/swing/JRadioButton.java: Likewise.
4535         * javax/swing/JToggleButton.java: Likewise.
4536         * javax/swing/UIManager.java: Likewise.
4537         * javax/swing/border/TitledBorder.java: Likewise.
4538         * javax/swing/plaf/basic/BasicLabelUI.java: Likewise.
4539         * javax/swing/plaf/basic/BasicLookAndFeel.java: Likewise.
4540         * javax/swing/plaf/basic/BasicPopupMenuSeparatorUI.java: Likewise.
4541         * javax/swing/plaf/basic/BasicProgressBarUI.java: Likewise.
4542         * javax/swing/plaf/basic/BasicScrollBarUI.java: Likewise.
4543         * javax/swing/plaf/basic/BasicSeparatorUI.java: Likewise.
4544         * javax/swing/text/JTextComponent.java: Likewise.
4546 2004-07-17  Jeroen Frijters  <jeroen@frijters.net>
4548         * java/net/DatagramPacket.java (setAddress): Removed check for
4549         null address.
4551 2004-07-17  Michael Koch  <konqueror@gmx.de>
4553         * java/net/DatagramSocket.java
4554         (getLocalAddress): Check if socket is bound or not.
4555         * java/net/Socket.java
4556         (getLocalAddrss): Check if socket is bound or not.
4557         (getPort): Return -1 when not connected. Dont check getImpl() for
4558         null.
4559         (setReuseAddress): Check if socket is closed.
4560         (isConnected): Check if getImpl() returns null.
4562 2004-07-17  Mark Wielaard  <mark@klomp.org>
4564         * java/awt/event/InvocationEvent.java (dispatch): Synchronize
4565         on notifier object before calling notifyAll().
4567 2004-07-17  Michael Koch  <konqueror@gmx.de>
4569         * gnu/java/nio/channels/FileChannelImpl.java
4570         (finalize): Added javadoc.
4572 2004-07-17  Guilhem Lavaux <guilhem@kaffe.org>
4574         * java/text/CollationElementIterator.java
4575         (text_decomposition): Changed type to RuleBasedCollator.CollationElement[]
4576         (setText): Use ArrayList instead of Vector.
4578 2004-07-17  Michael Koch  <konqueror@gmx.de>
4580         * java/nio/ByteOrder.java
4581         (static): Removed. Not needed.
4582         Thanks to Patrick Reali for noticing.
4583         * java/nio/charset/CharsetDecoder.java
4584         (decode): Fix for classpath bug #9177: Reset state before flipping.
4586 2004-07-17  Michael Koch  <konqueror@gmx.de>
4588         * java/security/Security.java: Fixed javadocs all over.
4590 2004-07-17  Michael Koch  <konqueror@gmx.de>
4592         * gnu/java/awt/EmbeddedWindow.java
4593         (static): Removed.
4594         (addNotify): Set peer via reflection.
4595         (setWindowPeer): Removed.
4596         * gnu/java/awt/natEmbeddedWindow.cc: Removed.
4597         * Makefile.am (nat_source_files):
4598         Removed gnu/java/awt/natEmbeddedWindow.cc.
4599         * Makefile.in: Regenerated.
4601 2004-07-17  Richard Earnshaw  <rearnsha@arm.com>
4603         * configure.in(ZIP, GCJH): Remove white space around '=' in variable
4604         assignment.
4605         * configure: Regenerated.
4607 2004-07-16  Nathanael Nerode  <neroden@gcc.gnu.org>
4609         * configure.in: Use build_noncanonical rather than build_alias.
4610         * configure: Rebuild.
4612         * configure.in: Eliminate CANADIAN and NULL_TARGET variables
4613         by logic refactoring.  Move default definition of NATIVE closer
4614         to first alternate definition.
4615         * configure: Regenerate.
4617         * Makefile.am: Set ZIP and GCJH directly using autoconf.
4618         * Makefile.in, include/Makefile.in, testsuite/Makefile.in,
4619         gcj/Makefile.in: Regenerate.
4620         * configure.in: Set ZIP and GCJH.  Remove redundant condition
4621         in AM_CONDITIONAL(NATIVE,...)
4622         * configure: Regenerate.
4624 2004-07-15  Nathanael Nerode  <neroden@gcc.gnu.org>
4626         * configure.in: Use target_noncanonical rather than
4627         target_alias for forward-compatibility with autoconf 2.59.
4628         * configure: Regenerate.
4629         * Makefile.am, gcj/Makefile.am, include/Makefile.am,
4630         testsuite/Makefile.am: Substitute target_noncanonical.
4631         * Makefile.in, gcj/Makefile.in, include/Makefile.in,
4632         testsuite/Makefile.in: Regenerate.
4634         * configure.in: Move as much as possible below AC_CANONICAL_SYSTEM.
4635         Introduce _GCC_TOPLEV_NONCANONICAL_TARGET.
4636         * acinclude.m4: Include acx.m4.
4637         * aclocal.m4: Regenerate.
4638         * configure: Regenerate.
4640 2004-07-15  Bryce McKinlay  <mckinlay@redhat.com>
4642         PR libgcj/16574
4643         * java/sql/Timestamp.java (dateFormat): Renamed from sdf.
4644         (decimalFormat): New static variable.
4645         (sbuf): Likewise.
4646         (getTime): New. Override Date.getTime().
4647         (toString): Synchronize. Use decimalFormat to format nanos value
4648         correctly. Truncate extra zeros.
4649         (before): Compare getNanos() only if getTime() is equal.
4650         (after): Likewise.
4651         
4652 2004-07-14  Nathanael Nerode  <neroden@gcc.gnu.org>
4654         * acinclude.m4: "Inline" LIBGCJ_CONFIGURE macro into...
4655         * configure.in: ...here.
4656         * aclocal.m4: Regenerate.
4657         * configure: Regenerate.
4659         * aclocal.m4: Rebuilt with aclocal gcj-1.4.
4660         * configure: Rebuilt with autoconf 2.13.
4661         * Makefile.in, gcj/Makefile.in, include/Makefile.in,
4662         testsuite/Makefile.in: Rebuilt with automake gcj-1.4.
4664 2004-07-14  Bryce McKinlay  <mckinlay@redhat.com>
4666         PR libgcj/16204
4667         * Makefile.am (AM_CXXFLAGS): Add -D_FILE_OFFSET_BITS=64 to enable
4668         large file support.
4669         * Makefile.in: Rebuilt.
4670         * testsuite/libjava.lang/LargeFile.java: New test case.
4671         * testsuite/libjava.lang/LargeFile.out: New file.
4673 2004-07-14  Jerry Quinn  <jlquinn@optonline.net>
4675         * java/beans/EventHandler.java: Remove debugging statements.
4677 2004-07-14  Jerry Quinn  <jlquinn@optonline.net>
4679         * java/beans/EventHandler.java: New file.
4680         * Makefile.am (awt_java_source_files): Add EventHandler.java.
4681         * Makefile.in, gcj/Makefile.in, include/Makefile.in,
4682         testsuite/Makefile.in: Regenerate.
4684 2004-07-14  Andreas Tobler  <a.tobler@schweiz.ch>
4686         * testsuite/libjava.jacks/jacks.exp (gcj_jacks_write): Add deprecation
4687         flag to the gcj_setup.
4688         (gcj_jacks_run): Check tclsh version and launch jacks directly with
4689         the tclsh.
4690         * testsuite/libjava.jacks/jacks.xfail: Update fails to reflect the
4691         deprecation flag change. 58 XFAILS removed.
4693 2004-07-14  Ulrich Weigand  <uweigand@de.ibm.com>
4695         * configure.host (DIVIDESPEC) [s390*-*-*]: Set to 
4696         -fno-use-divide-subroutine.
4697         * include/s390-signal.h: Include <ucontext.h> and <limits.h>.
4698         (HANDLE_FPE): Define.
4699         (SIGNAL_HANDLER): Change third argument to ucontext_t *.
4700         (struct old_s390_kernel_sigaction): Likewise for k_sa_handler.
4701         (HANDLE_DIVIDE_OVERFLOW): Define.
4703 2004-07-14  Michael Koch  <konqueror@gmx.de> 
4704             Matthias Klose  <doko@debian.org> 
4706         * java/awt/im/InputContext.java: Initialize in, line.
4708 2004-07-13  Ulrich Weigand  <uweigand@de.ibm.com>
4710         * interpret.cc (run): Correctly access libffi return values of
4711         integral smaller-than-int type; these are implicitly promoted.
4713 2004-07-13  Bryce McKinlay  <mckinlay@redhat.com>
4715         PR libgcj/7587
4716         * interpret.cc (compile_mutex): New.
4717         (_Jv_InitInterpreter): New. Initialize compile_mutex.
4718         (run): Lock compile_mutex before calling compile() if compilation is
4719         required.
4720         * prims.cc (_Jv_CreateJavaVM): Call _Jv_InitInterpreter().
4721         * include/java-interp.h (_Jv_InitInterpreter): Declare. 
4723 2004-07-12  Bryce McKinlay  <mckinlay@redhat.com>
4725         PR libgcj/15713
4726         * include/jvm.h (_Jv_value): New union type.
4727         * gcj/field.h (_Jv_Field): Add new _addr union field variants 
4728         * interperet.cc (run): Use _Jv_value union type and *_addr _Jv_Field 
4729         union members.
4731 2004-07-12  Scott Gilbertson  <scottg@mantatest.com>
4733         * gnu/awt/xlib/XCanvasPeer.java (createImage): Implement.
4734         * gnu/awt/xlib/XOffScreenImage.java
4735           (XOffScreenImage): Add ImageConsumer interface. Add ColorModel
4736           constructor argument. Add constructor using ImageProducer.
4737           (getSource): Implement.
4738           (imageComplete): New method.
4739           (setColorModel): New method.
4740           (setDimensions): New method.
4741           (setHints): New method.
4742           (setPixels): New method.
4743           (setProperties): New method.
4744         * gnu/gcj/xlib/GC.java (drawPoint): New native method. 
4745         * gnu/gcj/xlib/natGC.cc (drawPoint): New native method.
4747 2004-07-11  Bryce McKinlay  <mckinlay@redhat.com>
4749         PR libgcj/16478 
4750         * prims.cc (_Jv_CreateJavaVM): Fix comment.
4751         * gnu/gcj/runtime/FinalizerThread.java (init): New. Native.
4752         (finalizerReady): Now native.
4753         (run): Likewise.
4754         (runFinalizers): Removed.
4755         * gnu/gcj/runtime/natFinalizerThread.cc (run): Implement here. Use
4756         a primitive lock, and don't hold it while running the finalizers.
4757         (runFinalizers): Implement. Don't aquire any Java lock.
4758         (finalizerReady): Use lock primitives to signal finalizer thread.
4760 2004-07-11  Mark Wielaard  <mark@klomp.org>
4762         Reported by Roman Kennke <roman@ontographics.com> (bug #9331)
4763         * java/net/URLStreamHandler.java (parseURL): When url file part
4764         doesn't contain a '/' just ignore context.
4766 2004-07-11  Ulrich Weigand  <uweigand@de.ibm.com>
4768         * include/s390-signal.c (SIGNAL_HANDLER): Use SIGINFO-style prototype.
4769         (struct old_s390_kernel_sigaction): Likewise for k_sa_handler.
4770         (MAKE_THROW_FRAME): Do not modify PSW address.
4771         (INIT_SEGV): Install SIGINFO-style signal handler.
4772         (INIT_FPE): Likewise.
4774 2004-07-10  Bryce McKinlay  <mckinlay@redhat.com>
4776         * testsuite/libjava.jacks/jacks.xfail: Updates to reflect current
4777         status. 21 xfail's removed, 1 added.
4779 2004-07-10  Bryce McKinlay  <mckinlay@redhat.com>
4781         * gcj/javaprims.h: Regenerate CNI namespace definitions.
4783 2004-07-10  Ito Kazumitsu  <kaz@maczuka.gcd.org>
4785         * java/text/MessageFormat.java
4786         (formatInternal): Append "{n}" if argument n is unavailable.
4787         (format(Object, StringBuffer, FieldPosition)): This
4788         should be equivalent to format(Object[],
4789         StringBuffer, FieldPosition).
4791 2004-07-09  Bryce McKinlay  <mckinlay@redhat.com>
4793         * java.util.Calendar.java (cache): New private static field. Cached
4794         mappings of locales->calendar classes.
4795         (ctorArgTypes): New private static field. Singleton argument for
4796         calendar class constructor lookup.
4797         (getInstance): Cache Locale->Calendar class mappings using HashMap.
4798         Optimize by bypassing reflection instantiation for the 
4799         GregorianCalendar case.
4801 2004-07-09  Bryce McKinlay  <mckinlay@redhat.com>
4803         * java/util/Calendar.java: Use getSystemClassLoader as argument for
4804         ResourceBundle.getBundle() calls.
4805         * java/util/GregorianCalendar.java: Likewise.
4806         * java/util/Currency.java: Likewise.
4807         * java/text/BreakIterator.java: Likewise.
4808         * java/text/Collator.java: Likewise.
4809         * java/text/DateFormat.java: Likewise.
4810         * java/text/DateFormatSymbols.java: Likewise.
4811         * java/text/DecimalFormatSymbols.java: Likewise.
4812         * java/text/NumberFormat.java: Likewise.
4813         * java/awt/Window.java: Likewise.       
4815 2004-07-09  Bryce McKinlay  <mckinlay@redhat.com>
4817         * java/util/ResourceBundle.java (bundleCache): Renamed from
4818         resourceBundleCache. Update comments.
4819         (getObject): Don't catch MissingResourceException.
4820         (getBundle(String)): Remove 'final'. Use system classloader if
4821         getCallingClassLoader returned null.
4822         (getBundle(String, Locale)): Likewise.
4823         (BundleKey): New private class. HashMap key for bundle cache lookup.
4824         (lookupKey): New. Singleton instance of BundleKey.
4825         (nullEntry): New. Cache entry to represent failed lookups.
4826         (getBundle(String, Locale, ClassLoader)): Re-written to use new 
4827         caching strategy, no-allocation lookup, and new tryBundle methods.
4828         (tryBundle(String, ClassLoader)): New. Load a locale-qualified bundle 
4829         name using given classloader.
4830         (tryBundle(String, Locale, ClassLoader, boolean): New. Qualify 
4831         baseName for given Locale and attempt to load bundle.
4833 2004-07-09  Bryce McKinlay  <mckinlay@redhat.com>
4835         * javax/swing/plaf/basic/BasicMenuUI.java (mousePressed): Remove 
4836         illegal protected method calls.
4838 2004-07-09  Bryce McKinlay  <mckinlay@redhat.com>
4840         Fix or remove some bogus test cases.
4841         * testsuite/libjava.compile/pr10459_2.java: Removed.
4842         * testsuite/libjava.compile/pr10459.java: Test using its own method,
4843         not Object.clone().
4844         * testsuite/libjava.compile/inner_data.java: Test against its own
4845         protected field.
4847 2004-07-09  Michael Koch  <konqueror@gmx.de>
4849         * scripts/unicode-muncher.pl: Updated to version 2.1
4850         from GNU classpath. Added some clarifications on where to find the
4851         needed files from www.unicode.org.
4852         * gnu/gcj/convert/UnicodeCharacterDatabase-3.0.0.html,
4853         gnu/gcj/convert/UnicodeData-3.0.0.txt:
4854         Removed, these can directly be downloaded from www.unicode.org if
4855         needed. 
4856         * gnu/java/lang/CharData.java: Regenerated.
4857         * include/java-chartables.h: Regenerated.
4858         * Makefile.am (ordinary_java_source_files):
4859         Removed gnu/java/lang/CharData.java.
4860         * Makefile.in: Regenerated.
4862 2004-07-09  Michael Koch  <konqueror@gmx.de>
4864         * java/security/AccessControlContext.java,
4865         java/security/SecureClassLoader.java:
4866         Fixed javadocs.
4868 2004-07-09  Michael Koch  <konqueror@gmx.de>
4870         * java/io/ObjectInputStream.java (readFields): Use long datatype
4871         when shifting byte values more then 24 bits left.
4873 2004-07-09  Michael Koch  <konqueror@gmx.de>
4875         * java/util/zip/DeflaterOutputStream.java,
4876         java/util/zip/GZIPInputStream.java,
4877         java/util/zip/GZIPOutputStream.java,
4878         java/util/zip/InflaterInputStream.java:
4879         Reformatted. Added javadocs. Reordered all stuff.
4880         Renamed variables to be more clear.
4882 2004-07-09  Michael Koch  <konqueror@gmx.de>
4884         * javax/imageio/IIOException.java,
4885         javax/imageio/event/IIOReadProgressListener.java,
4886         javax/imageio/event/IIOReadUpdateListener.java,
4887         javax/imageio/event/IIOReadWarningListener.java,
4888         javax/imageio/event/IIOWriteProgressListener.java,
4889         javax/imageio/event/IIOWriteWarningListener.java:
4890         New files.
4891         * Makefile.am: Added new files.
4892         * Makefile.in: Regenerated.
4894 2004-07-09  Guilhem Lavaux <guilhem@kaffe.org>
4896         * java/text/RuleBasedCollator.java
4897         (mergeRules): Use ArrayList instead of Vector.
4898         (subParseString): likewise.
4899         (parseString): likewise.
4900         (buildCollationVector): likewise.
4901         (getCollationKey): likewise.
4903 2004-07-09  Dalibor Topic  <robilad@kaffe.org>
4905         * java/text/DateFormat.java (parse):
4906         Improved javadoc. Improved exception message.
4908 2004-07-09  Mark Wielaard  <mark@klomp.org>
4910         * gnu/java/nio/SelectorImpl.java (select): Call static Thread
4911         interrupted() method to clear interupt flag of our Thread.
4913 2004-07-09  Dalibor Topic  <robilad@kaffe.org>
4915         * java/nio/Buffer.java,
4916         java/nio/ByteBuffer.java,
4917         java/nio/ByteBufferHelper.java,
4918         java/nio/ByteBufferImpl.java,
4919         java/nio/CharBuffer.java,
4920         java/nio/CharBufferImpl.java,
4921         java/nio/CharViewBufferImpl.java,
4922         java/nio/DirectByteBufferImpl.java,
4923         java/nio/DoubleBuffer.java,
4924         java/nio/DoubleBufferImpl.java,
4925         java/nio/DoubleViewBufferImpl.java,
4926         java/nio/FloatBuffer.java,
4927         java/nio/FloatBufferImpl.java,
4928         java/nio/FloatViewBufferImpl.java,
4929         java/nio/IntBuffer.java,
4930         java/nio/IntBufferImpl.java,
4931         java/nio/IntViewBufferImpl.java,
4932         java/nio/LongBuffer.java,
4933         java/nio/LongBufferImpl.java,
4934         java/nio/LongViewBufferImpl.java,
4935         java/nio/MappedByteBufferImpl.java,
4936         java/nio/ShortBuffer.java,
4937         java/nio/ShortBufferImpl.java,
4938         java/nio/ShortViewBufferImpl.java:
4939         Fixed javadocs all over. Improved input error
4940         checking.
4942         * java/nio/Buffer.java
4943         (checkForUnderflow, checkForOverflow, checkIndex,
4944         checkIfReadOnly, checkArraySize): New helper methods
4945         for error checking.
4947         * java/nio/ByteBufferHelper.java
4948         (checkRemainingForRead, checkRemainingForWrite,
4949         checkAvailableForRead, checkAvailableForWrite): Removed
4950         no longer needed methods.
4952 2004-07-09  Michael Koch  <konqueror@gmx.de>
4954         * gnu/regexp/CharIndexedInputStream.java:
4955         Reordered imports to match classpath.
4957 2004-07-09  Michael Koch  <konqueror@gmx.de>
4959         * gnu/java/awt/EmbeddedWindow.java:
4960         Load native library for setWindowPeer method.
4962 2004-07-08  Randolph Chung  <tausq@debian.org>
4964         * configure.in (SIGNAL_HANDLER): Use pa-signal.h for hppa.
4965         * configure: Regenerate.
4966         * configure.host: Set can_unwind_signal for hppa*-linux.
4967         * include/pa-signal.h: New file.
4969 2004-07-07  Per Bothner  <per@bothner.com>
4971         * Makefile.am:  Add rules to build libgij from just gij.cc.
4973         * include/jvm.h (namespace jcj):  Declare verbose_class_flag
4974         * java/lang/natClass.cc (gcj::verbose_class_flag):  New variable.
4975         (initializeClass):  If verbose_class_flag, print message.
4976         * gij.cc (main):  Handle -verbose:class flag.
4978 2004-07-07  Andreas Tobler  <a.tobler@schweiz.ch>
4980         * configure.host: Enable hash synchronization on Darwin.
4981         * sysdep/powerpc/locks.h (compare_and_swap): Use '\n' instead of
4982         ';', since this is a comment on Darwin.
4983         (compare_and_swap_release): Likewise.
4985 2004-07-06  Mohan Embar  <gnustuff@thisiscool.com>
4987         * java/net/URLStreamHandler.java (parseURL): Canonicalize
4988         file portion of URL in addition to spec for file: protocol.
4990 2004-07-05  Anthony Green  <green@redhat.com>
4992         * java/io/File.java (toURI): Merge from Classpath.
4994 2004-07-05  Bryce McKinlay  <mckinlay@redhat.com>
4996         * gnu/gcj/runtime/VMClassLoader.java (init): Check classpath entry
4997         before passing to URL constructor. Rethrow any MalformedURLException
4998         as a RuntimeException. Catch MalformedURLException specifically, not
4999         all exceptions.
5001 2004-07-05  Bryce McKinlay  <mckinlay@redhat.com>
5003         * java/util/Locale.java (readObject): Intern strings read from object
5004         stream.
5006 2004-07-04  Michael Koch  <konqueror@gmx.de>
5008         * gnu/gcj/runtime/FirstThread.java,
5009         gnu/gcj/runtime/natFirstThread.cc: Removed.
5010         * gnu/java/lang/MainThread.java,
5011         gnu/java/lang/natMainThread.cc: New files.
5012         * prims.cc (_Jv_RunMain): Use MainThread instead of FirstThread.
5013         * Makefile.am: Added new files and removed deleted ones.
5014         * Makefile.in: Regenerated.
5016 2004-07-03  Mark Wielaard  <mark@klomp.org>
5017             Anthony Green  <green@redhat.com>
5019         * java/net/URL.java (getFile): Clarify return value doc.
5020         (getPath): Return null if file is empty - not empty String.
5021         (set): Convert protocol to lower case before doing anything.
5022         Only change the protocol handler if it's different.
5024 2004-07-03  Anthony Green  <green@redhat.com>
5026         * java/net/URL.java (URL): Convert protocol to lower case before
5027         doing anything, so we getURLStreamHandler() with the proper value.
5029 2004-07-02  Bryce McKinlay  <mckinlay@redhat.com>
5031         * java/util/Locale.java (hashcode): Made transient.
5032         (hashCode): No longer synchronized.
5033         (equals): Remove comment.
5034         (writeObject): No longer synchronized. Implement using writeObject 
5035         calls instead of tweaking hashCode field. Update doc.
5036         (readObject): Implement using readObject calls.
5038 2004-06-26  Geoffrey Keating  <geoffk@apple.com>
5039             Andreas Tobler  <a.tobler@schweiz.ch>
5041         * configure.host (powerpc-*-darwin*): New case, define
5042         can_unwind_signal.
5043         * configure.in (*-*-darwin*): New case, point to darwin-signal.h.
5044         * configure: Regenerate.
5045         * include/darwin-signal.h: New.
5047 2004-06-30  Jerry Quinn  <jlquinn@optonline.net>
5049         * java/beans/Statement.java (doExecute): Fix formatting.
5051 2004-06-29  Per Bothner  <per@bothner.com>
5053         * jni.cc (_Jv_JNI_NewGlobalRef, JNICALL _Jv_JNI_DeleteGlobalRef,
5054         etc etc):  Remove needless parenthesis, which causes __stdcall__
5055         attribute on MinGW to get ignored.
5057 2004-06-29  Bryce McKinlay  <mckinlay@redhat.com>
5059         * testsuite/libjava.compile/PR16249.java: New test case. PR gcc/16249.
5061 2004-06-28  Bryce McKinlay  <mckinlay@redhat.com>
5063         * testsuite/libjava.jacks/jacks.xfail: Remove 8.1.3-superclass-6.
5065 2004-06-28  Jerry Quinn  <jlquinn@optonline.net>
5067         * java/beans/Expression.java: New file.
5068         * java/beans/Statement.java: New file.
5069         * Makefile.am: Added new files.
5070         * Makefile.in: Re-generate.
5072 2004-06-27 Mark Wielaard  <mark@klomp.org>
5074         * java/io/FilePermission.java (usingPerms): Removed.
5075         (actionsString): Made final.
5076         (cachePerms): Renamed to checkPerms.
5077         (checkPerms): Renamed from cachePerms. Call trim() and toLowerCase()
5078         on action String.
5079         (FilePermission): Check arguments, call checkPerms().
5080         (equals): Remove cachePerms() call.
5081         (implies): Likewise.
5083 2004-06-27  Mark Wielaard  <mark@klomp.org>
5085         * gnu/java/net/protocol/http/Connection.java (userAgent): New static
5086         final field.
5087         (sendRequest): Use new field in user-agent http agent.
5089 2004-06-27  Mark Wielaard  <mark@klomp.org>
5091         * java/awt/EventQueue.java (postEvent): Throw NullPointerException
5092         when argument is null.
5094 2004-06-26  Mark Wielaard  <mark@klomp.org>
5096         * native/jni/gtk-peer/gnu_java_awt_peer_gtk_GtkFileDialogPeer.c
5097         (ok_clicked): Use Ljava/lang/String; not Ljava.lang.String; in JNI
5098         GetMethodID call.
5099         (cancel_clicked): Likewise.
5101 2004-06-26  Andreas Tobler  <a.tobler@schweiz.ch>
5103         * jni/gtk-peer/gnu_java_awt_peer_gtk_GtkMainThread.c
5104         (init_dpi_conversion_factor): Check for int_dpi < 0 in case gtk-xft-dpi
5105         can not calculate the right value.
5106         (dpi_changed_cb): Likewise. Mark *pspec as unused.
5108 2004-06-24  Bryce McKinlay  <mckinlay@redhat.com>
5110         * testsuite/libjava.jacks/jacks.xfail: Remove
5111         15.9.1-qualified-concrete-20.
5113 2004-06-22  Bryce McKinlay  <mckinlay@redhat.com>
5115         * gnu/gcj/convert/BytesToUnicode.java (getDecoder): Pass original
5116         encoding name to iconv.
5117         * gnu/gcj/convert/UnicodeToBytes.java (getEncoder): Likewise.
5119 2004-06-22  Bryce McKinlay  <mckinlay@redhat.com>
5121         PR libgcj/16134:
5122         * gnu/gcj/convert/BytesToUnicode.java (getDecoder): Canonicalize 
5123         encoding name before cache lookup. Thanks to Hannes Wallnoefer.
5124         * gnu/gcj/convert/UnicodeToBytes.java (getEncoder): Likewise.
5126 2004-06-21  Andrew Haley  <aph@redhat.com>
5128         * java/io/ObjectOutputStream.java: Add DEBUG statements
5129         everywhere.
5130         (dumpElementln): New method.
5131         (depth): New field.
5132         * java/io/ObjectInputStream.java
5133         (currentClassLoader): Make native.
5134         (callersClassLoader): New field.
5135         (depth): New field.
5136         (readObject): ENDBLOCKDATA is generated if the class has a write
5137         method, not if it has a read method.
5138         (readObject): Save and restore this.currentObject and
5139         this.currentObjectStreamClass around calls to callReadMethod().
5140         * java/io/natObjectInputStream.cc (getCallersClassLoader): New
5141         method.
5143 2004-06-18  Andreas Tobler  <a.tobler@schweiz.ch>
5145         * testsuite/libjava.jni/jni.exp (gcj_jni_test_one): Add lgcc_s for
5146         darwin.
5148 2004-06-18  Ranjit Mathew  <rmathew@hotmail.com>
5150         * prims.cc (_Jv_CreateJavaVM): Install SEGV and FPE handlers,
5151         if desired, before the default class loader is initialised.
5152         Call INIT_SEGV only if HANDLE_SEGV is defined.
5154 2004-06-18  Ranjit Mathew  <rmathew@hotmail.com>
5156         * gnu/gcj/runtime/VMClassLoader.java (init): Add extensions
5157         directory only if it actually exists.
5159 2004-06-18  Graydon Hoare  <graydon@redhat.com>
5161         * jni/gtk-peer/gnu_java_awt_peer_gtk_GtkComponentPeer.c:
5162         Fix up non-ansi comments.
5164 2004-06-18  Ranjit Mathew  <rmathew@hotmail.com>
5166         * javax/swing/text/AbstractDocument.java: Adding missing import
5167         for javax.swing.event.EventListenerList.
5168         * javax/swing/text/DefaultCaret.java: Likewise.
5170 2004-06-17  Michael Koch  <konqueror@gmx.de>
5172         * javax/swing/JToolBar.java
5173         (name): Removed.
5174         (JToolBar): Use Component.setName(String) instead of doing it all
5175         alone.
5176         * javax/swing/Timer.java
5177         (queueEvent): Added missing modifier.
5179 2004-06-17  Olga Rodimina  <rodimina@redhat.coom>
5181         * Makefile.am: Added new file.
5182         * Makefile.in: Re-generate.
5183         * javax/swing/JMenu.java:
5184         (insertSeparator): Implemented.
5185         * javax/swing/JPopupMenu.java:
5186         (JPopupMenu.Separator): Implemented.
5187         * javax/swing/MenuSelectionManager.java:
5188         (processMouseEvent): Use java.awt.Component 
5189         for event source instead of javax.swing.JComponent. 
5190         * javax/swing/plaf/basic/BasicPopupMenuSeparatorUI.java:
5191         New File. Implemented.
5192         
5193 2004-06-16  David Jee  <djee@redhat.com>
5195         * java/awt/GridBagLayout.java
5196         (GetLayoutInfo): Adjust cell sizes iff parent size is not zero.
5197         Make sure pos_x and pos_y are never negative.
5199 2004-04-16  Andrew Overholt  <overholt@redhat.com>
5201         * Makefile.am: Add new file.
5202         * Makefile.in: Re-generate.     
5203         * javax/swing/JToolBar.java
5204         Partially implemented.
5205         * javax/swing/plaf/basic/BasicToolBarUI.java
5206         New file. Partially implemented.
5208 2004-06-16  Graydon Hoare  <graydon@redhat.com>
5210         * gnu/java/awt/peer/gtk/GdkGraphics2D.java 
5211         (setComposite): Accept AlphaComposite arguments.
5212         * gnu/java/awt/peer/gtk/GdkPixbufDecoder.java
5213         (createBufferedImage): Add new overloads.
5214         * gnu/java/awt/peer/gtk/GtkToolkit.java
5215         (createImage): Use GdkPixbufDecoder.createBufferedImage
5216         when useGraphics2D() is true.
5217         (getImage): Delegate to createImage.
5218         * javax/swing/JList.java
5219         (isSelectionEmpty):
5220         (getFirstVisibleIndex):
5221         (getLastVisibleIndex):
5222         (setSelectedValue):
5223         (ensureIndexIsVisible): New methods.
5224         * javax/swing/Timer.java: Reimplement.
5226 2004-06-16  Michael Koch  <konqueror@gmx.de>
5228         * javax/swing/text/AbstractDocument.java
5229         (AbstracElement): Made public, implements java.io.Serializable.
5230         (AttributeContext): Made public.
5231         (BranchElement): Likewise.
5232         (Content): Likewise.
5233         (DefaultDocumentEvent): Made public, extends
5234         javax.swing.undo.CompoundEdit.
5235         (ElementEdit): Made public, extends
5236         javax.swing.undo.AbstractUndoableEdit.
5237         (LeafElement): Made public.
5238         (LeafElement.LeafElement): Made public.
5240 2004-06-16  Michael Koch  <konqueror@gmx.de>
5242         * javax/swing/text/JTextComponent.java: Totally reworked. Removed many
5243         methods (that were obviously never be intended to get included hi this
5244         class. Added some methods too.
5246 2004-06-16  Michael Koch  <konqueror@gmx.de>
5248         * javax/swing/text/PlainDocument.java
5249         (serialVersionUID): New constant.
5250         (lineLimitAttribute): Likewise.
5251         (tabSizeAttribute): Likewise.
5252         (tabSize): New field.
5253         (PlainDocument): Made public.
5254         (PlainDocument): New constructor.
5256 2004-06-16  Michael Koch  <konqueror@gmx.de>
5258         * javax/swing/text/AbstractDocument.java
5259         (insertString): Throws BadLocationException.
5260         * javax/swing/text/Document.java
5261         (insertString): Likewise.
5262         * javax/swing/text/JTextComponent.java:
5263         Javadocs and comments cleaned up.
5265 2004-06-16  Michael Koch  <konqueror@gmx.de>
5267         * javax/swing/event/UndoableEditListener.java: Reformatted.
5268         * javax/swing/text/AbstractDocument.java
5269         (AbstractDocument): Implements java.io.Serializable.
5270         (doc_list): Removed.
5271         (undo_list): Removed.
5272         (AbstractElement.serialVerionUID): New field.
5273         (BranchElement.serialVerionUID): Likewise.
5274         (DefaultDocumentEvent.serialVerionUID): Likewise.
5275         (ElementEdit.serialVerionUID): Likewise.
5276         (LeafElement.serialVerionUID): Likewise.
5277         (serialVerionUID): Likewise.
5278         (BAD_LOCATION): New constant.
5279         (BidiElementName): Likewise.
5280         (ContentElementName): Likewise.
5281         (ParagraphElementName): Likewise.
5282         (SectionElementName): Likewise.
5283         (ElementNameAttribute): Likewise.
5284         (AbstractDocument): Made protected.
5285         (AbstractDocument): New construtor.
5286         (listenerList): New field.
5287         (fireChangedUpdate): Implemented.
5288         (fireInsertUpdate): Likewise.
5289         (fireRemoveUpdate): Likewise.
5290         (fireUndoableEditUpdate): Likewise.
5291         (getListeners): Likewise.
5292         (addDocumentListener): Likewise.
5293         (removeDocumentListener): Likewise.
5294         (addUndoableEditListener): Likewise.
5295         (removeUndoableEditListener): Likewise.
5296         (getDocumentListeners): New method.
5297         (getUndoableEditListeners): Likewise.
5298         (getAsynchronousLoadPriority): Made public.
5299         (getBidiRootElement): Likewise.
5300         (setAsynchronousLoadPriority): Likewise.
5301         (setDocumentProperties): Likewise.
5302         * javax/swing/text/BadLocationException.java
5303         (serialVerionUID): New field.
5304         * javax/swing/text/DefaultCaret.java
5305         (changeEvent): New field.
5306         (listenerList): Likewise.
5307         (changes): Removed.
5308         (addChangeListener): Reimplemented.
5309         (removeChangeListener): Likewise.
5310         (getListeners): New method.
5311         (getChangeListeners): Likwise.
5312         (getComponent): Likewise.
5313         * javax/swing/text/GapContent.java
5314         (GapContent): Implements java.io.Serializable.
5315         (serialVerionUID): New field.
5317 2004-06-16  Michael Koch  <konqueror@gmx.de>
5319         * javax/swing/JTree.java
5320         (treeModel): New field.
5321         (JTree): New constructors, one existing one made public.
5322         (createTreeModel): New method.
5323         (addTreeExpansionListener): Likewise.
5324         (removeTreeExpansionListener): Likewise.
5325         (getTreeExpansionListeners): Likewise.
5326         (fireTreeCollapsed): Likewise.
5327         (fireTreeExpanded): Likewise.
5328         (addTreeSelectionListener): Likewise.
5329         (removeTreeSelectionListener): Likewise.
5330         (getTreeSelectionListeners): Likewise.
5331         (fireValueChanged): Likewise.
5332         (addTreeWillExpandListener): Likewise.
5333         (removeTreeWillExpandListener): Likewise.
5334         (getTreeWillExpandListeners): Likewise.
5335         (fireTreeWillCollapse): Likewise.
5336         (fireTreeWillExpand): Likewise.
5338 2004-06-16  Michael Koch  <konqueror@gmx.de>
5340         * javax/swing/JTree.java: Reformatted.
5342 2004-06-16  Michael Koch  <konqueror@gmx.de>
5344         * javax/swing/JTextArea.java: New file.
5345         * javax/swing/JTextField.java
5346         (actions): Removed.
5347         (notifyAction): New constant.
5348         (columns): New field.
5349         (JTextField): New constructors.
5350         (createDefaultModel): New method.
5351         (addActionListener): Reimplmemented.
5352         (removeActionListener): Reimplemented.
5353         (getActionListeners): New method.
5354         (fireActionPerformed): New method.
5355         (getColumns): New method.
5356         (setColumne): New method.
5357         * javax/swing/text/JTextComponent.java
5358         (AccessibleJTextComponent.serialVersionUID): New field.
5359         (serialVersionUID): Likewise.
5360         (DEFAULT_KEYMAP): Likewise.
5361         (FOCUS_ACCELERATOR_KEY): Likewise.
5362         (doc): Made private.
5363         (icon_gap): Likewise.
5364         (icon): Likewise.
5365         (align): Likewise.
5366         (JTextComponent): Some constructors removed.
5367         (getScrollableTracksViewportHeight): New method.
5368         (getScrollableTracksViewportWidth): Likewise.
5369         * Makefile.am: Added javax/swing/JTextArea.java.
5370         * Makefile.in: Regenerated.
5372 2004-06-15  Graydon Hoare  <graydon@redhat.com>
5374         * javax/swing/ImageIcon.java (ImageIcon): New constructor.
5375         * javax/swing/JFrame.java (defaultLookAndFeelDecorated): New property.
5376         * javax/swing/JViewport.java 
5377         (getExtentSize): Return size rather than preferred size.
5378         (toViewCoordinates): New methods.
5379         (getViewSize): Return size rather than preferred size.
5380         (setViewSize): Note view size as set.
5381         * javax/swing/ViewportLayout.java (layoutContainer): Reimplement.
5382         * javax/swing/plaf/basic/BasicScrollBarUI.java 
5383         (getPreferredSize): Don't redo layout.
5384         * javax/swing/plaf/basic/BasicViewportUI.java 
5385         (paint): Translate image properly and eat exceptions.
5387 2004-06-15  Kim Ho  <kho@redhat.com>
5389         * javax/swing/JTabbedPane.java
5390         (setComponent): Remove old component and
5391         add new component.
5392         (setSelectedIndex): Don't operate on the 
5393         components if they're null. Don't set index
5394         on the model if the index is the same.
5395         (insertTab): Don't add or hide the component
5396         if it's null. Repaint the container.
5397         * javax/swing/plaf/basic/BasicLookAndFeel.java
5398         Change colors for TabbedPane.
5399         * javax/swing/plaf/basic/BasicTabbedPaneUI.java
5400         (mousePressed): Re-layout and paint the component.
5401         (layoutContainer): Don't set location on the view.
5402         (ScrollingViewport::paint): Remove.
5404 2004-06-14  Thomas Fitzsimmons  <fitzsim@redhat.com>
5406         * jni/gtk-peer/gnu_java_awt_peer_gtk_GtkComponentPeer.c
5407         (gtkWidgetDispatchKeyEvent): Change warning message to comment.
5409         * jni/gtk-peer/gnu_java_awt_peer_gtk_GdkGraphics.c (drawString):
5410         Wrap baseline y value in PANGO_PIXELS macro, rather than simply
5411         dividing by PANGO_SCALE.  Call gdk_flush before leaving GDK
5412         critical region.
5413         (drawLine): Call gdk_flush before leaving GDK critical region.
5414         (fillRect): Likewise.
5415         (drawRect): Likewise.
5416         (copyArea): Likewise.
5417         (copyPixmap): Likewise.
5418         (clearRect): Likewise.
5419         (drawArc): Likewise.
5420         (drawPolyline): Likewise.
5421         (drawPolygon): Likewise.
5422         (fillPolygon): Likewise.
5423         (fillArc): Likewise.
5424         (drawOval): Likewise.
5425         (fillOval): Likewise.
5427         * gnu/java/awt/peer/gtk/GdkFontMetrics.java (initState): Add
5428         style parameter.
5429         (GdkFontMetrics): Add style argument to initState call.
5430         (stringWidth(String,int,int,String)): Add style parameter.
5431         (stringWidth(String)): Add style argument to stringWidth call.
5432         * jni/gtk-peer/gnu_java_awt_peer_gtk_GdkFontMetrics.c
5433         (initState): Set pango font style and weight based on AWT style
5434         parameter.  Pass default GTK language to
5435         pango_context_get_metrics.  Use PANGO_PIXELS macro rather than
5436         simply dividing by PANGO_SCALE.
5437         (stringWidth): Set pango font style and weight based on AWT style
5438         parameter.
5440         * java/awt/Button.java (next_button_number): New field.
5441         (paramString): Change output.
5442         (generateName): New method.
5443         (getUniqueLong): New method.
5445 2004-06-14  Kim Ho  <kho@redhat.com>
5447         * javax/swing/JTabbedPane.java:
5448         (setComponentAt): Set the component, not
5449         the enabled status.
5450         * javax/swing/plaf/basic/BasicDesktopIconUI.java
5451         (actionPerformed): Let deiconize catch exception.
5453 2004-06-14  Olga Rodimina  <rodimina@redhat.com>
5455         * javax/swing/JPopupMenu.java:
5456         (setVisible): Corrected location of a 
5457         heavyweight popup menu.
5459 2004-06-14  Olga Rodimina  <rodimina@redhat.com>
5461         * javax/swing/MenuSelectionManager.java: 
5462         Ran through jalopy to fix formatting style.
5464 2004-06-14  Olga Rodimina  <rodimina@redhat.com>
5465         
5466         * javax/swing/JLayeredPane.java: 
5467         (remove): Revalidate and repaint layered pane after
5468         the component was removed.
5469         javax/swing/JMenu.java:
5470         (setVisible): Display popup menu at the user location,
5471         if one was set by the user.
5472         (setMenuLocation): Reimplemented. Fixed javadoc.
5473         * javax/swing/JMenuBar.java: Added javadoc.
5474         (BORDER_PAINTED_CHANGED_PROPERTY): New Property.
5475         (MODEL_CHANGED_PROPERTY): New Property.
5476         (isSelected): Implemented.
5477         (setBorderPainted): Fire PropertyChangeEvent
5478         if paintBorder property changes.
5479         (setSelected): Implemented.
5480         (setSelectionModel): Implemented.
5481         * javax/swing/JPopupMenu.java: Added Javadoc
5482         (pack): Implemented.
5483         (setVisible): Reimplemented.
5484         (show): Fixed location.
5485         (JPopupMenu.LigthWeightPopup): Reimplemented to use
5486         Container instead of JPanel.
5487         * javax/swing/MenuSelectionManager.java: Added Javadocs.
5488         (clearSelectedPath): Reimplemented to clear selectedPath
5489         in reverse order.
5490         (processMouseEvent): Reimplemented.
5491         (setSelectedPath): Fire stateChange event indicating that
5492         selected menu path has changed.
5493         (getPath): Change to use ArrayList instead of Vector.
5494         * javax/swing/plaf/basic/BasicMenuBarUI.java:
5495         (installUI): call installKeyboardActions().
5496         (uninstallUI): call uninstallKeyboardActions().
5498 2004-06-13  Michael Koch  <konqueror@gmx.de>
5500         * javax/swing/text/DefaultCaret.java,
5501         javax/swing/text/BadLocationException.java:
5502         Reformatted.
5504 2004-06-12  Thomas Fitzsimmons  <fitzsim@redhat.com>
5506         * gnu/java/awt/peer/gtk/GtkTextAreaPeer.java (DEFAULT_ROWS,
5507         DEFAULT_COLS): New variables.
5508         (create): Don't allow 0 rows or 0 columns.  Instead, set the
5509         values to DEFAULT_ROWS or DEFAULT_COLS.
5510         (getMinimumSize): Likewise.
5511         (getPreferredSize): Likewise.
5512         (minimumSize): Likewise.
5513         (preferredSize): Likewise.
5514         (create): Set peer's editable state.
5515         * java/awt/TextArea.java (TextArea()): Set rows and columns to
5516         zero.  Update javadocs.
5517         (TextArea(String)): Likewise.
5518         (TextArea(int,int)): Fix javadocs.
5519         (TextArea(String,int,int,int)): Only throw exception if one of
5520         rows or columns is zero.  Fix javadocs.
5522 2004-06-11  Thomas Fitzsimmons  <fitzsim@redhat.com>
5524         * java/awt/AWTEvent.java (toString): Handle MenuComponents in
5525         addition to Components.
5527         * java/awt/MenuItem.java (dispatchEventImpl): If the event
5528         wasn't consumed by normal processing, send it to the parent
5529         menu.
5531         * gnu/java/awt/peer/gtk/GtkImagePainter.java
5532         (setPixels(int,int,int,int,ColorModel,int[],int,int)): Remove
5533         translation.
5535 2004-06-11  David Jee  <djee@redhat.com>
5537         * java/awt/MediaTracker.java
5538         (addImage(Image,int)): Call imageUpdate() to udpate image status.
5539         (addImage(Image,int,int,int)): Likewise.
5541 2004-06-11  Michael Koch  <konqueror@gmx.de>
5543         * javax/swing/text/AbstractDocument.java,
5544         javax/swing/text/Document.java,
5545         javax/swing/text/GapContent.java,
5546         javax/swing/text/JTextComponent.java,
5547         javax/swing/text/PlainDocument.java:
5548         Reformatted.
5550 2004-06-11  Michael Koch  <konqueror@gmx.de>
5552         * javax/swing/JRootPane.java
5553         (AccessibleJRootPane.serialVersionUID): New field.
5554         (AccessibleJRootPane.AccessibleJRootPane): New constructor.
5555         (AccessibleJRootPane.getAccessibleRole): New method.
5556         (RootLayout): Implements Serializable.
5557         (RootLayout.serialVersionUID): New field.
5558         (RootLayout.RootLayout): New constructor.
5559         (setJMenuBar): Made public.
5560         (getJMenuBar): Likewise.
5561         (JRootPane): Likewise.
5562         (createContentPane): Likewise.
5563         (createGlassPane): Likewise.
5564         (createLayeredPane): Likewise.
5566 2004-06-11  Michael Koch  <konqueror@gmx.de>
5568         * javax/swing/SwingUtilities.java
5569         (isLeftMouseButton): Fixed javadoc.
5570         (isMiddleMouseButton): Likewise.
5571         (isRightMouseButton): Likewise.
5573 2004-06-11  Michael Koch  <konqueror@gmx.de>
5575         * javax/swing/JScrollPane.java
5576         (serialVersionUID): New field.
5577         (columnHeader): Made protected.
5578         (rowHeader): Likewise.
5579         (lowerLeft): Likewise.
5580         (lowerRight): Likewise.
5581         (upperLeft): Likewise.
5582         (upperRight): Likewise.
5583         (horizontalScrollBar): Likewise.
5584         (horizontalScrollBarPolicy): Likewise.
5585         (verticalScrollBar): Likewise.
5586         (verticalScrollBarPolicy): Likewise.
5587         (viewport): Likewise.
5589 2004-06-11  Michael Koch  <konqueror@gmx.de>
5591         * javax/swing/LookAndFeel.java: Fixed javadocs.
5593 2004-06-11  Michael Koch  <konqueror@gmx.de>
5595         * javax/swing/JEditorPane.java: Fixed javadocs.
5596         (JEditorPane): Removed redundant call to to this().
5597         (fireHyperlinkUpdate): Implemented.
5599 2004-06-10  Olga Rodimina  <rodimina@redhat.com>
5601         * javax/swing/JMenu.java: Fixed file name 
5602         in the file comment.
5604 2004-06-10  Olga Rodimina  <rodimina@redhat.com>
5606         * javax/swing/JMenu.java: Added javadoc.
5607         (JMenu): Added MenuChangeListener to listen to 
5608         ChangeEvents occuring in menu's model. 
5609         (insert): Throw IllegalArgumentException if 
5610         index is less than 0
5611         (setSelected): Reimplement.
5612         (setPopupMenuVisible): Call menu's model isEnabled()
5613         (setDelay): Throw IllegalArgumentException if 
5614         given amount of delay is less than 0.
5615         (createActionComponent): Implemented.
5616         (createActionChangeListener): Implemented.
5617         (addSeparator): Implemented.
5618         (getItem): Throw IllegalArgumentException if index is 
5619         less than 0.
5620         (getItemCount): Implemented.
5621         (fireMenuSelected): Changed to use menuEvent.
5622         (fireMenuDeselected): Likewise.
5623         (fireMenuCanceled): Likewise.
5624         (setAccelerator): Changed to throw an error if this 
5625         method is used. 
5626         (doClick): Implemented.
5627         (JMenu.ActionChangedListener): New inner class to handle
5628         PropertyChangeEvents occuring in the actions associated with menu.
5629         * javax/swing/plaf/basic/BasicMenuUI.java: Added javadoc.
5630         (BasicMenuUI): Added PropertyChangeListener to the menu.
5631         (createChangeListener): Implemented.
5632         (createMenuDragMouseListener): Likewise.
5633         (createMenuKeyListener): Likewise.
5634         (createPropertyChangeListener): Likewise.
5635         (uninstallListeners): Likewise.
5636         (BasicMenuUI.MouseInputHandler): Reimplemented.
5637         (BasicMenuUI.PropertyChangeHandler): New class. Not implemented yet.
5638         (BasicMenuUI.ChangeHandler): Likewise.
5639         (BasicMenuUI.MenuDragMouseHandler): Likewise.
5640         (BasicMenuUI.MenuKeyHandler): Likewise.
5642 2004-06-10  David Jee  <djee@redhat.com>
5644         * java/awt/MediaTracker.java
5645         (imageUpdate): Only do notifyAll() if the image is complete.
5647 2004-06-10  Olga Rodimina  <rodimina@redhat.com>
5649         * javax/swing/JApplet.java:
5650         (getJMenuBar): Made public.
5651         (setJMenuBar): Likewise.
5652         * javax/swing/JFrame.java:
5653         (getJMenuBar): Made public.
5654         (setJMenuBar): Likewise.
5655         * javax/swing/JWindow.java:
5656         (getJMenuBar): Removed.
5657         (setJMenuBar): Removed.
5659 2004-06-10  Michael Koch  <konqueror@gmx.de>
5661         * javax/swing/JEditorPane.java
5662         (createEditorKitForContentType): Fixed visibility.
5663         (fireHyperlinkUpdate): Likewise.
5664         (getContentType): Likewise.
5665         (getEditorKit): Likewise.
5666         (getEditorKitForContentType): Likewise.
5667         (getPage): Likewise.
5668         (read): Likewise.
5669         (registerEditorKitForContentTyoe): Likewise.
5670         (replaceSelection): Likewise.
5671         (setContentType): Likewise.
5672         (setEditorKit): Likewise.
5673         (setPage): Likewise.
5675 2004-06-10  Michael Koch  <konqueror@gmx.de>
5677         * javax/swing/Timer.java
5678         (Timer): New constructor.
5679         * javax/swing/plaf/basic/BasicProgressBarUI.java
5680         (animationTimer): Don't initialize at construction.
5681         (startAnimationTimer): Added since tag.
5682         (stopAnimationTimer): Likewise.
5683         (installUI): Use new Timer constructor.
5684         * javax/swing/plaf/basic/BasicScrollBarUI.java
5685         (installUI): Likewise.
5686         * javax/swing/plaf/basic/BasicSliderUI.java
5687         (installUI): Likewise.
5689 2004-06-10  Michael Koch  <konqueror@gmx.de>
5691         * javax/swing/ButtonGroup.java
5692         (serialVersionUID): Made private.
5693         (buttons): Renamed from v, added javadoc.
5694         (sel): Added javadoc.
5695         (ButtonGroup): Likewise.
5696         (add): Likewise.
5697         (remove): Likewise.
5698         (getElements): Likewise.
5699         (getSelection): Likewise.
5700         (setSelected): Likewise.
5701         (isSelected): Likewise.
5702         (getButtonCount): Likewise.
5704 2004-06-10  Michael Koch  <konqueror@gmx.de>
5706         * javax/swing/ButtonGroup.java,
5707         javax/swing/ImageIcon.java,
5708         javax/swing/JEditorPane.java,
5709         javax/swing/JRootPane.java,
5710         javax/swing/JTextField.java,
5711         javax/swing/LookAndFeel.java,
5712         javax/swing/plaf/basic/BasicTextUI.java:
5713         Reindented.
5715 2004-06-10  Michael Koch  <konqueror@gmx.de>
5717         * javax/swing/text/Style.java: Added javadocs.
5719 2004-06-10  Michael Koch  <konqueror@gmx.de>
5721         * javax/swing/JComponent.java
5722         (fireVetoableChange): Removed redundant cast.
5723         * javax/swing/JLabel.java
5724         (getDisabledIcon): Save icon for next call.
5726 2004-06-10  Michael Koch  <konqueror@gmx.de>
5728         * javax/swing/KeyStroke.java
5729         (getKeyStroke(char,boolean)): Marked deprecated.
5731 2004-06-10  Michael Koch  <konqueror@gmx.de>
5733         * javax/swing/DefaultCellEditor.java,
5734         javax/swing/GrayFilter.java,
5735         javax/swing/event/DocumentEvent.java,
5736         javax/swing/text/JTextComponent.java,
5737         javax/swing/text/MutableAttributeSet.java:
5738         Reindented.
5740 2004-06-10  Michael Koch  <konqueror@gmx.de>
5742         * javax/swing/plaf/BorderUIResource.java:
5743         Added serialVersionUID all over.
5745 2004-06-10  Sascha Brawer  <brawer@dandelis.ch>
5747         * javax/swing/undo/UndoManager.java: Re-written from scratch.
5749 2004-06-10  Michael Koch  <konqueror@gmx.de>
5751         * javax/swing/table/DefaultTableCellRenderer.java
5752         (noFocusBorder): Initialize directly.
5754 2004-06-10  Michael Koch  <konqueror@gmx.de>
5756         * javax/swing/plaf/basic/BasicArrowButton.java
5757         (setDirection): Use method argument.
5759 2004-06-10  Michael Koch  <konqueror@gmx.de>
5761         * javax/swing/plaf/BorderUIResource.java,
5762         javax/swing/plaf/ComponentUI.java,
5763         javax/swing/undo/CompoundEdit.java,
5764         javax/swing/undo/StateEdit.java:
5765         Fixed javadocs all over.
5767 2004-06-10  Michael Koch  <konqueror@gmx.de>
5769         * javax/swing/DefaultButtonModel.java
5770         (ARMED): Made public final, fixed value.
5771         (ENABLED): Likewise.
5772         (PRESSED): Likewise.
5773         (ROLLOVER): Likewise.
5774         (SELECTED): Likewise.
5775         (stateMask): Initialize directly.
5776         (listenerList): Likewise.
5777         (mnemonic): Likewise.
5778         (fireStateChanged): Removed argument, use changeEvent as event.
5779         All places where this method is called are fixed too.
5780         (getActionCommant): Fixed javadoc.
5781         (setGroup): Fixed javadoc.
5782         (getGroup): New method.
5784 2004-06-09  Olga Rodimina <rodimina@redhat.com>
5786         * javax/swing/AbstractButton.java
5787         (AbstractButton): Use init() to initialize the button.
5788         (init): New Method. Initializes AbstractButton.
5789         * javax/swing/JMenuItem.java: Documented.
5790         (JMenuItem): Reimplemented.
5791         (init): Implemented.
5792         (setEnabled): Changed to call super.setEnabled()
5793         (processMouseEvent): Reimplemented.
5794         (fireMenuKeyPressed): Implemented.
5795         (fireMenuKeyReleased): Implemented.
5796         (fireMenuKeyTyped): Implemented.
5797         (menuSelectionChanged): disarm the model if the menu item was
5798         deselected.
5799         * javax/swing/plaf/basic/BasicMenuItemUI.java:Documented.
5800         (getPath): Change to use ArrayList instead of Vector.
5801         (getPreferredSize): Renamed variable.
5802         (paintMenuItem): Paint margin area of menu item.
5803         (MouseInputHandler.mouseEntered): Set selection in MenuSelectionManager.
5804         (MouseInputHandler.mouseReleased): Check if mouse was pressed inside
5805         menu item's bounds before clearing the selection.       
5807 2004-06-09  David Jee  <djee@redhat.com>
5809         * gnu/java/awt/peer/gtk/GtkTextComponentPeer.java
5810         (GtkTextComponentPeer): Set caret position to 0.
5811         * java/awt/TextComponent.java
5812         (setText): Set caret position to 0.
5813         * jni/gtk-peer/gnu_java_awt_peer_gtk_GtkComponentPeer.c
5814         (Java_gnu_java_awt_peer_gtk_GtkComponentPeer_addExposeFilter):
5815         Handle GtkScrolledWindow separately. Fix signal handler blocking.
5816         (Java_gnu_java_awt_peer_gtk_GtkComponentPeer_removeExposeFilter):
5817         Likewise.
5818         * jni/gtk-peer/gnu_java_awt_peer_gtk_GtkTextAreaPeer.c
5819         (Java_gnu_java_awt_peer_gtk_GtkTextAreaPeer_create): Make cursor
5820         visible.
5822 2004-06-09  Kim Ho  <kho@redhat.com>
5824         * Makefile.am: New files
5825         * Makefile.in: Regenerated
5826         * java/awt/Container.java
5827         (getComponentAt): Removed.
5828         * javax/swing/AbstractAction.java
5829         (ENABLED_PROPERTY): New property.
5830         (putValue): Fire PropertyChangeEvents.
5831         (setEnabled): ditto.
5832         (firePropertyChange): Javadoc and implement
5833         convenience method.
5834         * javax/swing/AbstractButton.java
5835         (setAction): Don't create PropertyChangeListener
5836         if new Action is null.
5837         (setIcon): Don't set icon till after comparing
5838         it.
5839         (configurePropertiesFromAction): Check mnemonic
5840         key before calling intValue().
5841         (createActionPropertyChangeListener): Check
5842         properties rather than bulk change.
5843         * javax/swing/DefaultDesktopManager.java:
5844         Implement.
5845         * javax/swing/DesktopManager.java:
5846         Jalopy and javadoc.
5847         * javax/swing/JComponent.java
5848         (fireVetoableChange): Implement.
5849         (paintImmediately): Use root component.
5850         * javax/swing/JDesktopPane.java: Implement
5851         * javax/swing/JInternalFrame.java: Implement
5852         * javax/swing/JLabel.java
5853         (getDisabledIcon): Return grayscaled icon if
5854         no disabled icon specified.
5855         * javax/swing/JMenuBar.java
5856         (getComponentAtIndex): Use getComponent
5857         * javax/swing/JOptionPane.java
5858         (getDesktopPaneForComponent): Use SwingUtilities'
5859         getAncestorOfClass
5860         (getFrameForComponent): ditto.
5861         * javax/swing/JSplitPane.java
5862         (remove): Use getComponent.
5863         * javax/swing/SwingUtilities.java
5864         (convertPoint): Implement.
5865         * javax/swing/plaf/basic/BasicButtonUI.java
5866         (paintButtonNormal): Check opaqueness before
5867         filling background.
5868         * javax/swing/plaf/basic/BasicDesktopIconUI.java:
5869         Implement
5870         * javax/swing/plaf/basic/BasicDesktopPaneUI.java:
5871         Implement.
5872         * javax/swing/plaf/basic/BasicInternalFrameTitlePane.java:
5873         Implement.
5874         * javax/swing/plaf/basic/BasicInternalFrameUI.java:
5875         Implement.
5876         * javax/swing/plaf/basic/BasicLookAndFeel.java:
5877         Change InternalFrame and Desktop colors.
5879 2004-06-09  David Jee  <djee@redhat.com>
5881         * java/awt/Container.java
5882         (remove): Do not set component to invisible.
5884 2004-06-09  Michael Koch  <konqueror@gmx.de>
5886         * javax/swing/tree/DefaultMutableTreeNode.java
5887         (getLeafCount): Renamed enum to e.
5889 2004-06-09  Michael Koch  <konqueror@gmx.de>
5891         * javax/swing/plaf/basic/BasicSplitPaneDivider.java
5892         (positionForMouseEvent): Removed redundant semicolon.
5893         (continueDrag): Use method arguments.
5895 2004-06-09  Michael Koch  <konqueror@gmx.de>
5897         * javax/swing/border/TitledBorder.java,
5898         javax/swing/filechooser/FileSystemView.java,
5899         javax/swing/plaf/basic/BasicButtonListener.java,
5900         javax/swing/plaf/basic/BasicGraphicsUtils.java,
5901         javax/swing/plaf/basic/BasicLabelUI.java,
5902         javax/swing/plaf/basic/BasicRadioButtonMenuItemUI.java,
5903         javax/swing/plaf/basic/BasicScrollBarUI.java,
5904         javax/swing/plaf/basic/BasicScrollPaneUI.java,
5905         javax/swing/plaf/basic/BasicSliderUI.java,
5906         javax/swing/plaf/basic/BasicTabbedPaneUI.java,
5907         javax/swing/plaf/basic/BasicToggleButtonUI.java,
5908         javax/swing/table/JTableHeader.java,
5909         javax/swing/text/AbstractDocument.java,
5910         javax/swing/text/DefaultCaret.java,
5911         javax/swing/text/StyledEditorKit.java,
5912         javax/swing/tree/DefaultTreeCellEditor.java:
5913         Reworked import statements.
5915 2004-06-08  Graydon Hoare  <graydon@redhat.com>
5917         * javax/swing/Box.java: Temporarily comment out code
5918         broken due to visibility bug.
5920 2004-06-09  Michael Koch  <konqueror@gmx.de>
5922         * javax/swing/ImageIcon.java
5923         (ImageIcon): Added missing constructor.
5925 2004-06-08  Michael Koch  <konqueror@gmx.de>
5927         * javax/swing/JToggleButton.java
5928         (JToggleButton): New constructor.
5929         (getAccessibleContext): Moved documentation into javadoc.
5930         (getUIClassID): Likewise.
5932 2004-06-08  Michael Koch  <konqueror@gmx.de>
5934         * javax/swing/AbstractButton.java
5935         (getDisabledIcon): Create disabled icon if none exists yet.
5937 2004-06-08  Michael Koch  <konqueror@gmx.de>
5939         * javax/swing/plaf/basic/BasicLookAndFeel.java
5940         (initClassDefaults): Added FormattedTextFieldUI.
5941         (loadResourceBundle): Renamed enum to e.
5943 2004-06-08  Michael Koch  <konqueror@gmx.de>
5945         * javax/swing/plaf/basic/BasicButtonUI.java
5946         (paintIcon): Simplified.
5947         (paintText): Paint disabled button correctly.
5949 2004-06-08  Michael Koch  <konqueror@gmx.de>
5951         * javax/swing/JComponent.java
5952         (createToolTip): Use official JToolTip API.
5954 2004-06-08  Michael Koch  <konqueror@gmx.de>
5956         * javax/swing/JToolTip.java
5957         (JToolTip): No arguments in API.
5958         (setTipText): New method.
5960 2004-06-08  Michael Koch  <konqueror@gmx.de>
5962         * javax/swing/SwingUtilities.java
5963         (isLeftMouseButton): New method.
5964         (isMiddleMouseButton): New method.
5965         (isRightMouseButton): New method.
5967 2004-06-08  Michael Koch  <konqueror@gmx.de>
5969         * javax/swing/AbstractButton.java,
5970         javax/swing/CellRendererPane.java,
5971         javax/swing/JCheckBoxMenuItem.java,
5972         javax/swing/JColorChooser.java,
5973         javax/swing/JComboBox.java,
5974         javax/swing/JComponent.java,
5975         javax/swing/JDesktopPane.java,
5976         javax/swing/JFileChooser.java,
5977         javax/swing/JMenu.java,
5978         javax/swing/JMenuItem.java,
5979         javax/swing/JOptionPane.java,
5980         javax/swing/JPasswordField.java,
5981         javax/swing/JPopupMenu.java,
5982         javax/swing/JProgressBar.java,
5983         javax/swing/JRadioButtonMenuItem.java,
5984         javax/swing/JScrollBar.java,
5985         javax/swing/JSeparator.java,
5986         javax/swing/JSlider.java,
5987         javax/swing/JSplitPane.java,
5988         javax/swing/JTabbedPane.java,
5989         javax/swing/JTextField.java,
5990         javax/swing/JToolBar.java,
5991         javax/swing/text/JTextComponent.java:
5992         Fixed all constructors of accessibility classes.
5994 2004-06-08  Michael Koch  <konqueror@gmx.de>
5996         * javax/swing/ScrollPaneLayout.java: Renamed all memeber variables all
5997         over.
5999 2004-06-08  Michael Koch  <konqueror@gmx.de>
6001         * javax/swing/Box.java
6002         (AccessibleBoxFiller): Extends AccessibleAWTComponent.
6003         (AccessibleBoxFiller.serialVersionUID): New member variable.
6004         * javax/swing/DefaultButtonModel.java
6005         (stateMask): Made protected.
6006         (listenerList): Likewise.
6007         (changeEvent): Likewise.
6008         (group): Likewise.
6009         (mnemonic): Likewise.
6010         (actionCommand): Likewise.
6011         (getListeners): New method.
6012         (getActionListeners): New method.
6013         (getItemListeners): New method.
6014         (getChangeListeners): New method.
6015         (fireItemStateChanged): Simplified.
6016         (fireActionPerformed): Simplified.
6017         (fireStateChanged): Simplified.
6018         * javax/swing/JFrame.java
6019         (JFrame): Implements WindowContants.
6020         (HIDE_ON_CLOSE): Removed.
6021         (EXIT_ON_CLOSE): Removed.
6022         (DISPOSE_ON_CLOSE): Removed.
6023         (DO_NOTHING_ON_CLOSE): Removed.
6024         (processWindowEvent): Exit with code 0.
6025         (setDefaultCloseOperation): Do security check before setting value.
6026         * javax/swing/JOptionPane.java
6027         (message): Initialize only in constructor.
6028         * javax/swing/JToolTip.java: Removed unused imports.
6029         * javax/swing/JViewport.java
6030         (serialVersionUID): New member variable.
6031         (SIMPLE_SCROLL_MODE): Made final, fixed value.
6032         (BLIT_SCROLL_MODE): Likewise.
6033         (BACKINGSTORE_SCROLL_MODE): Likewise.
6034         (scrollUnderway): Made protected.
6035         (isViewSizeSet): Likewise.
6036         * javax/swing/ListModel.java: Fixed javadoc.
6037         * javax/swing/Popup.java: Likewise.
6038         * javax/swing/RepaintManager.java
6039         (paintDirtyRegions): Don't use internal classes of
6040         java.util.AbstractMap.
6041         * javax/swing/ScrollPaneConstants.java: Reindented.
6042         * javax/swing/ScrollPaneLayout.java
6043         (viewport): Made protected.
6044         (verticalScrollBar): Made protected, renamed to vsb.
6045         (horizontalScrollBar): Made protected, renamed to hsb.
6046         (rowHeader): Made protected, renamed to rowHead.
6047         (columnHeader): Made protected, renamed to colHead.
6048         (lowerLeft): Made protected.
6049         (lowerRight): Made protected.
6050         (upperLeft): Made protected.
6051         (upperRight): Made protected.
6052         (verticalScrollBarPolicy): Made protected, renamed to vsbPolicy.
6053         (horizontalScrollBarPolicy): Made protected, renamed to hsbPolicy.
6055 2004-06-07  Bernd Schmidt  <bernds@btinternet.com>
6057         * java/awt/MediaTracker.java (imageUpdate): Only set status to
6058         LOADING if flags has SOMEBITS set.
6060 2004-06-07  Michael Koch  <konqueror@gmx.de>
6062         * javax/swing/AbstractButton.java: Reorganized imports.
6063         * javax/swing/ActionMap.java: Likewise.
6064         * javax/swing/DefaultButtonModel.java: Likewise.
6065         * javax/swing/DefaultListModel.java: Likewise.
6066         * javax/swing/ImageIcon.java: Likewise.
6067         (serialVersionUID): New member variable.
6068         * javax/swing/JComboBox.java: Reorganized imports.
6069         * javax/swing/JComponent.java: Likewise.
6070         (ui): Made protected.
6071         (listenerList): Made protected.
6072         (TOOL_TIP_TEXT_KEY): New constant.
6073         (scrollRectToVisible): Removed redundant null check.
6074         * javax/swing/JFrame.java: Reorganized imports.
6075         * javax/swing/JInternalFrame.java: Reorganized imports.
6076         * javax/swing/JProgressBar.java: Likewise.
6077         * javax/swing/JRootPane.java: Likewise.
6078         * javax/swing/JScrollBar.java: Likewise.
6079         * javax/swing/JSeparator.java: Likewise.
6080         * javax/swing/JSlider.java: Likewise.
6081         * javax/swing/JTabbedPane.java: Likewise.
6082         * javax/swing/JTextField.java: Likewise.
6083         * javax/swing/JToolBar.java: Likewise.
6084         * javax/swing/JTree.java: Likewise.
6085         * javax/swing/JViewport.java: Likewise.
6086         * javax/swing/JWindow.java: Likewise.
6087         * javax/swing/KeyStroke.java: Likewise.
6088         * javax/swing/LookAndFeel.java: Likewise.
6089         * javax/swing/MenuSelectionManager.java: Likewise.
6090         * javax/swing/SwingUtilities.java: Likewise.
6091         * javax/swing/Timer.java: Likewise.
6092         * javax/swing/DefaultBoundedRangeModel.java: Fixed javadoc.
6093         * javax/swing/JList.java
6094         (HORIZONTAL_WRAP): Made final, fixed value.
6095         (VERTICAL): Likewise.
6096         (VERTICAL_WRAP): Likewise.
6098 2004-06-07  Michael Koch  <konqueror@gmx.de>
6100         * javax/swing/AbstractButton.java
6101         (serialVersionUID): New member variable.
6102         (AccessibleAbstractButton.serialVersionUID): Likewise.
6103         (AbstractButton): Made public.
6104         * javax/swing/Box.java
6105         (AccessibleBox.serialVersionUID): New member variable.
6106         (Filler.serialVersionUID): Likewise.
6107         * javax/swing/DefaultListSelectionModel.java
6108         (serialVersionUID): Likewise.
6109         * javax/swing/JApplet.java
6110         (serialVersionUID): Likewise.
6111         * javax/swing/JCheckBox.java
6112         (serialVersionUID): Likewise.
6113         * javax/swing/JCheckBoxMenuItem.java
6114         (serialVersionUID): Likewise.
6115         (AccessibleJCheckBoxMenuItem.serialVersionUID): Likewise.
6116         * javax/swing/JColorChooser.java
6117         (serialVersionUID): Likewise.
6118         (AccessibleJColorChooser.serialVersionUID): Likewise.
6119         * javax/swing/JComponent.java
6120         (serialVersionUID): Made private.
6121         (AccessibleJComponent.serialVersionUID): New member variable.
6122         * javax/swing/JDesktopPane.java
6123         (serialVersionUID): Likewise.
6124         * javax/swing/JDialog.java
6125         (serialVersionUID): Likewise.
6126         * javax/swing/JFormattedTextField.java
6127         (serialVersionUID): Fixed value.
6128         * javax/swing/JFrame.java
6129         (serialVersionUID): New member variable.
6130         (getDefaultCloseOpertation): Made public.
6131         * javax/swing/JLayeredPane.java
6132         (serialVersionUID): Likewise.
6133         (LAYER_PROPERTY): Made final, fixed value.
6134         (JLayeredPane): Made public.
6135         * javax/swing/JMenu.java
6136         (AccessibleJMenu.serialVersionUID): New member variable.
6137         (WinListener.serialVersionUID): Likewise.
6138         * javax/swing/JMenuBar.java
6139         (serialVersionUID): Likewise.
6140         (getComponentAtIndex): Added @deprecated tag.
6141         * javax/swing/JMenuItem.java
6142         (serialVersionUID): New member variable.
6143         (AccessibleJMenuItem.serialVersionUID): Likewise.
6144         * javax/swing/JOptionPane.java
6145         (serialVersionUID): Likewise.
6146         (AccessibleJOptionPane.serialVersionUID): Likewise.
6147         * javax/swing/JPopupMenu.java
6148         (serialVersionUID): Likewise.
6149         (AccessibleJPopupMenu.serialVersionUID): Likewise.
6150         (getPopupMenuListeners): New method.
6151         (getComponentAtIndex): Added @deprecated tag.
6152         * javax/swing/JProgressBar.java
6153         (serialVersionUID): New member variable.
6154         (AccessibleJProgressBar.serialVersionUID): Likewise.
6155         * javax/swing/JRadioButton.java
6156         (serialVersionUID): Likewise.
6157         * javax/swing/JRadioButtonMenuItem.java
6158         (serialVersionUID): Likewise.
6159         (AccessibleJRadioButtonMenuItem.serialVersionUID): Likewise.
6160         * javax/swing/JScrollBar.java
6161         (serialVersionUID): Likewise.
6162         (AccessibleJScrollBar.serialVersionUID): Likewise.
6163         * javax/swing/JSeparator.java
6164         (serialVersionUID): Likewise.
6165         (AccessibleJSeparator.serialVersionUID): Likewise.
6166         * javax/swing/JSlider.java: Fixed javadocs.
6167         (AccessibleJSlider.serialVersionUID): New member variable.
6168         * javax/swing/JSplitPane.java: Added copyright statement.
6169         (serialVersionUID): New member variable.
6170         (AccessibleJSplitPane.serialVersionUID): Likewise.
6171         * javax/swing/JTabbedPane.java
6172         (serialVersionUID): Likewise.
6173         (AccessibleJTabbedPane.serialVersionUID): Likewise.
6174         (ModelListener.serialVersionUID): Likewise.
6175         (ModelListener.ModelListener): New constructor.
6176         (SCROLL_TAB_LAYOUT): Made public final, fixed value.
6177         (WRAP_TAB_LAYOUT): Likewise.
6178         * javax/swing/JTable.java
6179         (serialVersionUID): New member variable.
6180         * javax/swing/JToggleButton.java
6181         (serialVersionUID): Likewise.
6182         (ToggleButtonModel): Made static.
6183         (ToggleButtonModel.serialVersionUID): New member variable.
6184         * javax/swing/JToolTip.java
6185         (serialVersionUID): Likewise.
6186         * javax/swing/JTree.java
6187         (serialVersionUID): Likewise.
6188         * javax/swing/JWindow.java
6189         (serialVersionUID): Likewise.
6190         * javax/swing/Timer.java
6191         (serialVersionUID): Likewise.
6193 2004-06-06  Michael Koch  <konqueror@gmx.de>
6195         * javax/swing/SwingConstants.java
6196         (NEXT): New constant.
6197         (PREVIOUS): Likewise.
6198         * javax/swing/UIManager.java
6199         (LookAndFeel): Made public.
6200         (LookAndFeel.getClassName): Likewise.
6201         (LookAndFeel.getName): Likewise.
6203 2004-06-02  Olga Rodimina  <rodimina@redhat.com>
6205         * javax/swing/JCheckBoxMenuItem.java:
6206         Removed CVS tags.
6207         * javax/swing/JMenu.java: Likewise.
6208         * javax/swing/JMenuBar.java: Likewise.
6209         * javax/swing/JMenuItem.java: Likewise.
6210         * javax/swing/JPopupMenu.java: Likewise.
6211         * javax/swing/JRadioButtonMenuItem.java: Likewise.
6212         * javax/swing/plaf/basic/BasicCheckBoxMenuItemUI.java:Likewise.
6213         * javax/swing/plaf/basic/BasicMenuBarUI.java: Likewise.
6214         * javax/swing/plaf/basic/BasicMenuItemUI.java: Likewise.
6215         * javax/swing/plaf/basic/BasicMenuUI.java: Likewise.
6216         * javax/swing/plaf/basic/BasicPopupMenuUI.java: Likewise.
6217         * javax/swing/plaf/basic/BasicRadioButtonMenuItemUI.java: Likewise.
6219 2004-05-31  Olga Rodimina  <rodimina@redhat.com>
6220         
6221         * javax/swing/plaf/basic/BasicMenuUI.java:
6222         (MouseEntered): Do not call getPath() from MenuSelectionManager.
6223         Call getPath() from super class instead.
6225 2004-05-31  David Jee  <djee@redhat.com>
6227         * java/awt/Container.java
6228         (remove): Set component visibility to false after removing it.
6230 2004-05-27  Thomas Fitzsimmons  <fitzsim@redhat.com>
6232         * java/awt/Component.java (getForeground): Return SystemColor if
6233         parent is null.
6234         (getBackground): Likewise.
6236         * jni/gtk-peer/gnu_java_awt_peer_gtk_GtkListPeer.c
6237         (item_highlighted): New function.
6238         (connectSignals): Set item_highlighted as list's select
6239         function.
6241         * java/applet/Applet.java: Revert changes from 2004-04-29,
6242         2004-03-15 and 2004-03-14.
6244         * jni/gtk-peer/gnu_java_awt_peer_gtk_GdkGraphics.c (drawString):
6245         Divide baseline y coordinate by PANGO_SCALE, not DPI conversion
6246         factor.
6248         * gnu/java/awt/peer/gtk/GtkTextAreaPeer.java (create): Set
6249         "Dialog" as the default font.
6250         * gnu/java/awt/peer/gtk/GtkTextFieldPeer.java (create):
6251         Likewise.
6252         * java/awt/Component.java (getFont): Return "Dialog" font by
6253         default.
6254         * jni/gtk-peer/gnu_java_awt_peer_gtk_GdkClasspathFontPeer.c:
6255         Multiply size argument to pango_font_description_set_size by the
6256         DPI conversion factor rather than by PANGO_SCALE.
6257         * jni/gtk-peer/gnu_java_awt_peer_gtk_GdkFontMetrics.c: Likewise.
6258         * jni/gtk-peer/gnu_java_awt_peer_gtk_GdkGraphics.c: Likewise.
6259         * jni/gtk-peer/gnu_java_awt_peer_gtk_GtkButtonPeer.c: Likewise.
6260         * jni/gtk-peer/gnu_java_awt_peer_gtk_GtkCheckboxPeer.c: Likewise.
6261         * jni/gtk-peer/gnu_java_awt_peer_gtk_GtkComponentPeer.c: Likewise.
6262         * jni/gtk-peer/gnu_java_awt_peer_gtk_GtkLabelPeer.c: Likewise.
6263         * jni/gtk-peer/gnu_java_awt_peer_gtk_GtkListPeer.c: Likewise.
6264         * jni/gtk-peer/gnu_java_awt_peer_gtk_GtkTextAreaPeer.c: Likewise.
6265         * jni/gtk-peer/gnu_java_awt_peer_gtk_GtkTextFieldPeer.c: Likewise.
6266         * jni/gtk-peer/gnu_java_awt_peer_gtk_GdkGraphics.c (drawString):
6267         Divide baseline y coordinate by DPI conversion factor rather
6268         than by PANGO_SCALE.
6269         * jni/gtk-peer/gnu_java_awt_peer_gtk_GdkPixbufDecoder.c
6270         (area_prepared): Fix typo.
6271         * jni/gtk-peer/gnu_java_awt_peer_gtk_GtkLabelPeer.c
6272         (gtkSetFont): Move gtk_bin_get_child inside GDK critical region.
6273         * jni/gtk-peer/gnu_java_awt_peer_gtk_GtkMainThread.c
6274         (dpi_conversion_factor): New global variable.
6275         (init_dpi_conversion_factor): New function to calculate and
6276         track DPI conversion factor.
6277         (dpi_changed_cb): New callback.
6278         * jni/gtk-peer/gtkpeer.h (dpi_conversion_factor): Declare.
6280 2004-05-27  David Jee  <djee@redhat.com>
6282         * gnu/java/awt/peer/gtk/GtkComponentPeer.java
6283         (getGraphics): Return a new GdkGraphics instance.
6284         * gnu/java/awt/peer/gtk/GtkContainerPeer.java
6285         (getGraphics): Call super.getGraphics().
6287 2004-05-26  Thomas Fitzsimmons  <fitzsim@redhat.com>
6289         * jni/gtk-peer/gnu_java_awt_peer_gtk_GtkComponentPeer.c
6290         (setNativeBounds): Clamp width and height values to >= 0.
6292         * jni/gtk-peer/gnu_java_awt_peer_gtk_GtkComponentPeer.c
6293         (find_fg_color_widget): Handle GtkOptionMenu specially.
6295         * jni/gtk-peer/gnu_java_awt_peer_gtk_GtkEvents.c
6296         (pre_event_handler): Only post configure events to visible
6297         top-level windows.
6299 2004-05-26  David Jee  <djee@redhat.com>
6301         * java/awt/BorderLayout.java
6302         (layoutContainer): Fix size calculations.
6304 2004-05-26  Thomas Fitzsimmons  <fitzsim@redhat.com>
6306         * jni/gtk-peer/gnu_java_awt_peer_gtk_GtkWindowPeer.c
6307         (window_wm_protocols_filter): Remove function.
6308         (create): Remove filter that removes WM_TAKE_FOCUS client
6309         messages.
6311 2004-06-17  Anthony Green  <green@redhat.com>
6313         * java/util/zip/ZipFile.java (getInputStream): Return null if
6314         entry not found.
6316         * gnu/gcj/runtime/VMClassLoader.java (init): Add extension
6317         directory contents to the class path.
6319 2004-06-15  Andrew Haley  <aph@redhat.com>
6321         * java/lang/natSystem.cc (getenv0): Don't assume environment
6322         variable is Latin 1 coded.
6324 2004-06-14  Andreas Jaeger  <aj@suse.de>
6326         * configure.in: Support --enable-version-specific-runtime-libs.
6327         * configure: Regenerated.
6329 2004-06-14  Bryce McKinlay  <mckinlay@redhat.com>
6331         * java/util/Calendar.java: Change ResourceBundle.getBundle() calls
6332         to pass ClassLoader argument.
6333         * java/util/GregorianCalendar.java: Likewise.
6334         * java/util/Currency.java: Likewise.
6335         * java/text/BreakIterator.java: Likewise.
6336         * java/text/Collator.java: Likewise.
6337         * java/text/DateFormat.java: Likewise.
6338         * java/text/DateFormatSymbols.java: Likewise.
6339         * java/text/DecimalFormatSymbols.java: Likewise.
6340         * java/text/NumberFormat.java: Likewise.
6341         * java/awt/Window.java: Likewise.
6343 2004-06-14  Andrew Haley  <aph@redhat.com>
6345         * java/lang/System.java: (getenv0): New method.
6346         (getenv): Add security check.  Do the right thing.
6347         * java/lang/natSystem.cc (getenv0): New method.
6349 2004-06-12  Mark Wielaard  <mark@klomp.org>
6351         * javax/swing/RepaintManager.java
6352         (paintDirtyRegions): Use entrySet(), not values().
6354 2004-06-10  Mark Wielaard  <mark@klomp.org>
6356         * jni.cc (_Jv_JNI_GetAnyMethodID): Add name and signature to
6357         NoSuchMethodError.
6359 2004-06-11  Jerry Quinn  <jlquinn@optonline.net>
6361         * java/util/GregorianCalendar.java (computeTime):  Skip buggy formulae
6362         when we already know the answer.
6363         * java/util/SimpleTimeZone.java (serialVersionOnStream): Bump to 2.
6364         (setStartRule,setEndRule): Don't take abs of day number.
6365         (getOffset): Clarify docs.  Add argument checks.
6366         (isBefore): Take abs of day number in DOW_LE_DOM_MODE.
6367         (equals,hasSameRules,toString,readObject): Use startTimeMode and
6368         endTimeMode.
6370 2004-06-10  Tom Tromey  <tromey@redhat.com>
6372         * interpret.cc (run): Handle wide fload.
6374 2004-06-06  Jerry Quinn  <jlquinn@optonline.net>
6376         * java/util/zip/ZipEntry.java (setTime): Remove scaling.
6378 2004-06-05  Michael Koch  <konqueror@gmx.de>
6380         * javax/swing/SwingConstants.java
6381         (NEXT): New constant.
6382         (PREVIOUS): Likewise.
6384 2004-06-05  Michael Koch  <konqueror@gmx.de>
6386         * javax/swing/UIManager.java
6387         (LookAndFeel): Made public.
6388         (LookAndFeel.getName): Likewise.
6389         (LookAndFeel.getClassName): Likewise.
6391 2004-06-03  Michael Koch  <konqueror@gmx.de>
6393         * gnu/java/awt/peer/gtk/GtkComponentPeer.java
6394         (requestFocus): Revert last changes.
6395         (gtkRequestFocus): Removed.
6396         * jni/gtk-peer/gnu_java_awt_peer_gtk_GtkComponentPeer.c
6397         (Java_gnu_java_awt_peer_gtk_GtkComponentPeer_gtkRequestFocus):
6398         Renamed to ...
6399         (Java_gnu_java_awt_peer_gtk_GtkComponentPeer_gtkWidgetRequestFocus):
6400         Reverted last patch.
6401         * jni/gtk-peer/gnu_java_awt_peer_gtk_GtkPopupMenuPeer.c
6402         (Java_gnu_java_awt_peer_gtk_GtkPopupMenuPeer_setupAccelGroup):
6403         Reverted comment change.
6405 2004-06-02  Olga Rodimina  <rodimina@redhat.com>
6407         * javax/swing/JCheckBoxMenuItem.java:
6408         Removed CVS tags.
6409         * javax/swing/JMenu.java: Likewise.
6410         * javax/swing/JMenuBar.java: Likewise.
6411         * javax/swing/JMenuItem.java: Likewise.
6412         * javax/swing/JPopupMenu.java: Likewise.
6413         * javax/swing/JRadioButtonMenuItem.java: Likewise.
6414         * javax/swing/plaf/basic/BasicCheckBoxMenuItemUI.java:Likewise.
6415         * javax/swing/plaf/basic/BasicMenuBarUI.java: Likewise.
6416         * javax/swing/plaf/basic/BasicMenuItemUI.java: Likewise.
6417         * javax/swing/plaf/basic/BasicMenuUI.java: Likewise.
6418         * javax/swing/plaf/basic/BasicPopupMenuUI.java: Likewise.
6419         * javax/swing/plaf/basic/BasicRadioButtonMenuItemUI.java: Likewise.
6421 2004-06-01  Tom Tromey  <tromey@redhat.com>
6423         * java/io/ObjectStreamField.java: Cleaned up imports.
6425 2004-06-01  Michael Koch  <konqueror@gmx.de>
6427         * java/io/ObjectStreamField.java: Style and javadoc cleanup.
6428       
6429 2004-06-01  Mark Wielaard  <mark@klomp.org>
6431         * java/io/Writer.java (Writer(Object)): Fixed API doc.
6433 2004-06-01  Michael Koch  <konqueror@gmx.de>
6435         * java/security/Security.java
6436         (insertProviderAt): Use equals() instead of ==.
6437         (removeProvicer): Likewise.
6438         (getProvider): Likewise.
6439         * java/security/Signature.java
6440         (sign): Don't set state to UNINITIALIZED.
6441         (verify): Likewise.
6443 2004-06-01  Mark Wielaard  <mark@klomp.org>
6445         * gnu/java/awt/peer/gtk/GtkComponentPeer.java (requestFocus):
6446         Implement by calling gtkRequestFocus.
6447         (gtkRequestFocus): New native method.
6448         * native/jni/gtk-peer/gnu_java_awt_peer_gtk_GtkComponentPeer.c
6449         (Java_gnu_java_awt_peer_gtk_GtkComponentPeer_requestFocus__):
6450         Renamed to ...
6451         (Java_gnu_java_awt_peer_gtk_GtkComponentPeer_gtkRequestFocus):
6452         New function name.
6453         (filter_expose_event_handler):
6454         Mark static.
6455         * native/jni/gtk-peer/gnu_java_awt_peer_gtk_GtkPopupMenuPeer.c
6456         (menu_pos): Mark static.
6458 2004-06-01  Michael Koch  <konqueror@gmx.de>
6460         * java/text/CollationElementIterator.java,
6461         java/text/CollationKey.java,
6462         java/text/RuleBasedCollator.java: New versions from GNU classpath.
6463         * testsuite/libjava.mauve/xfails: Removed all
6464         java.text.CollationElementIterator tests.
6466 2004-06-01  Michael Koch  <konqueror@gmx.de>
6468         * java/util/zip/InflaterInputStream.java: Merged more with Classpath
6469         version.
6470         * java/util/zip/ZipOutputStream.java (): Renamed enum to e to removed
6471         Java 1.5 keyword usage.
6473 2004-05-31  Olga Rodimina  <rodimina@redhat.com>
6475         * javax/swing/plaf/basic/BasicMenuUI.java:
6476         (MouseEntered): Do not call getPath() from MenuSelectionManager.
6477         Call getPath() from super class instead.
6479 2004-05-31  Michael Koch  <konqueror@gmx.de>
6481         * java/io/SequenceInputStream.java:
6482         Rename enum to e because enum is a keyword in Java 1.5.
6484 2004-05-31  Michael Koch  <konqueror@gmx.de>
6486         * gnu/java/rmi/rmic/CompilerProcess.java:
6487         Fixed javadoc to by XHTML compliant.
6489 2004-05-30  Mark Wielaard  <mark@klomp.org>
6491         * java/awt/Toolkit.java (loadSystemColors): Implement.
6493 2004-05-30  Michael Koch  <konqueror@gmx.de>
6495         * java/lang/System.java: Reordered imports.
6497 2004-05-30  Guilhem Lavaux <guilhem@kaffe.org>
6499         * java/text/DecimalFormat.java
6500         (parse): Fixed parsing of decimal strings. Number of maximum
6501         digits to be read should now work.
6502         * java/text/SimpleDateFormat.java
6503         (SimpleDateFormat): Set maximumFractionDigit to 0 for the number
6504         formatter. This fixes DateFormatTest.
6506 2004-05-30  Michael Koch  <konqueror@gmx.de>
6508         * java/nio/Buffer.java
6509         (limit): Fixed off by one error.
6510         * java/nio/CharBuffer.java
6511         (wrap): Fixed arguments, added javadocs.
6513 2004-05-30  Michael Koch  <konqueror@gmx.de>
6515         * gnu/java/beans/BeanInfoEmbryo.java,
6516         java/awt/im/InputContext.java,
6517         javax/swing/tree/DefaultMutableTreeNode.java:
6518         Rename enum to e because enum is a keyword in Java 1.5.
6520 2004-05-30  Michael Koch  <konqueror@gmx.de>
6522         * gnu/java/math/MPN.java,
6523         java/awt/geom/Arc2D.java:
6524         Fixed javadocs all over.
6526 2004-05-30  Michael Koch  <konqueror@gmx.de>
6528         * java/awt/DefaultKeyboardFocusManager.java
6529         (dispatchEvent): Call method to get key event dispatchers.
6530         (dispatchKeyEvent): Call method to get key event post processors.
6531         * javax/swing/JComponent.java
6532         (listenerList): Made protected.
6533         * javax/swing/JOptionPane.java
6534         (message): Don't initialize.
6535         (JOptionPane): Set message text.
6536         * javax/swing/JPopupMenu.java
6537         (show): Fixed typo in argument name.
6538         * javax/swing/RepaintManager.java
6539         (paintDirtyRegions): Use public API of java.util.Map.
6540         * javax/swing/plaf/basic/BasicSplitPaneDivider.java
6541         (positionForMouseEvent): Removed redundant ';'.
6542         (continueDrag): Use method arguments.
6544 2004-05-29  Ranjit Mathew  <rmathew@hotmail.com>
6546         * testsuite/libjava.jacks/jacks.xfail: Update for post tree-ssa merge
6547         results.
6549 2004-05-28  Bryce McKinlay  <mckinlay@redhat.com>
6551         * gcj/cni.h (JvAllocBytes): New public CNI function. Calls
6552         _Jv_AllocBytes.
6553         * gnu/gcj/RawDataManaged.java: New file.
6554         * java/lang/Thread.java (data): Declare as RawDataManaged.
6555         * java/lang/natThread.cc (init_native): Cast natThread data to
6556         RawDataManaged, not jobject.
6557         * Makefile.am (ordinary_java_source_files): Add RawDataManaged.
6558         * Makefile.in: Rebuilt.
6560 2004-05-27  Jerry Quinn  <jlquinn@optonline.net>
6562         * java/util/SimpleTimeZone.java: Reverting my last change until I
6563         can fix it properly.
6565 2004-05-27  Michael Koch  <konqueror@gmx.de>
6567         * javax/swing/JPopupMenu.java
6568         (isVisible): Do not use visible directly.
6569         (setVisible): Likewise.
6570         * javax/swing/JWindow.java
6571         (JWindow): call accessible constructor.
6572         * javax/swing/RepaintManager.java
6573         (paintDirtyRegions): Use public methods to obtain iterator.
6575 2004-05-25  David Jee  <djee@redhat.com>
6577         * java/awt/Container.java
6578         (remove): Set component's parent to null only after we removed the
6579         component from its parent's layout manager.
6581 2004-05-25  David Jee  <djee@redhat.com>
6583         * gnu/java/awt/peer/gtk/GtkComponentPeer.java
6584         (GtkComponentPeer): Set bounds regardless of whether awtComponent
6585         is valid.
6586         * gnu/java/awt/peer/gtk/GtkListPeer.java
6587         (getSize): Change native method declaration.
6588         (minimumSize): Pass visible row count into getSize().
6589         (preferredSize): Likewise.
6590         * jni/gtk-peer/gnu_java_awt_peer_gtk_GtkListPeer.c
6591         (Java_gnu_java_awt_peer_gtk_GtkListPeer_getSize): Use scroll window's
6592         natural size. Use visible row count to determine the final height
6593         value to return.
6595 2004-05-21  Graydon Hoare  <graydon@redhat.com>
6597         * gnu/java/awt/peer/gtk/GdkGraphics2D.java 
6598         (setClip): Minor correction to order of operations.
6600         * javax/swing/JScrollPane.java: Extend sketchy implementation.
6601         * javax/swing/ScrollPaneLayout.java: Likewise.
6602         * javax/swing/JViewPort.java: Likewise.
6603         * javax/swing/ViewportLayout.java: Likewise.
6605         * javax/swing/JComponent.java: Rewrite.
6606         * javax/swing/RepaintManager.java: Likewise.
6608         * javax/swing/JLayeredPane.java: Change validate() to revalidate().
6609         * javax/swing/JList.java 
6610         (setSelectedIndices):
6611         (getSelectedIndices):
6612         (getSelectedValues): New functions.
6613         (getPreferredScrollableViewportSize): Return preferred size.
6614         (getScrollableUnitIncrement):
6615         (getScrollableBlockIncrement): Initial implementations.
6616         * javax/swing/JRootPane.java: Clean up slightly.
6617         (getUI):
6618         (setUI):
6619         (updateUI):
6620         (getUIClassID):
6621         (isValidateRoot): Add overrides from JComponent.
6622         * javax/swing/JScrollBar.java: Set default orientation to VERTICAL.
6623         * javax/swing/UIManager.java (getDimension): Return the dimension.
6625         * javax/swing/plaf/basic/BasicButtonUI.java: Set component opaque.
6626         * javax/swing/plaf/basic/BasicLabelUI.java: Likewise.
6627         * javax/swing/plaf/basic/BasicMenuItemUI.java: Likewise.
6628         * javax/swing/plaf/basic/BasicProgressBarUI.java: Likewise.
6629         * javax/swing/plaf/basic/BasicSeparatorUI.java: Likewise.
6630         * javax/swing/plaf/basic/BasicSliderUI.java: Likewise.
6631         * javax/swing/plaf/basic/BasicTabbedPaneUI.java: Likewise.
6632         * javax/swing/plaf/basic/BasicRootPaneUI.java: 
6633         Likewise, and set background.
6634         * javax/swing/plaf/basic/BasicListUI.java: 
6635         Likewise, and improve a bit.
6636         * javax/swing/plaf/basic/BasicScrollBarUI.java: 
6637         Likewise, and adjust calculations.
6638         * javax/swing/plaf/basic/BasicViewportUI.java:
6639         Likewise, and improve a bit.
6640         * javax/swing/plaf/basic/BasicLookAndFeel.java 
6641         (Button.margin): Shrink.
6643         * jni/gtk-peer/gnu_java_awt_peer_gtk_GdkGlyphVector.c:
6644         Hack to set horizontal always, workaround pango.
6646         * jni/gtk-peer/gtkcairopeer.h: Change to match pattern API.
6647         * jni/gtk-peer/gnu_java_awt_peer_gtk_GdkGraphics2D.c:
6648         Synchronize more often, check cairo status after ops,
6649         handle changes to cairo pattern API, check for disposal.
6651 2004-05-21  Olga Rodimina  <rodimina@redhat.com>
6653         * javax/swing/plaf/basic/BasicMenuItemUI.java:
6654         (BasicMenuItemUI): Create propertyChangeListener.
6655         (getPath):Implemented.
6656         (installListeners): Add propertyChangeListener to menuItem.
6657         (uninstallListeners): Remove propertyChangeListener from menuItem.
6658         (update): Implemented.
6659         * javax/swing/plaf/basic/BasicMenuUI.MouseInputHandler:
6660         (mouseEntered): Take insets of popup menu into account when
6661         calculating position of popup menu.     
6662         
6663 2004-05-18  Olga Rodimina  <rodimina@redhat.com>
6665         * Makefile.am: Added new file. 
6666         * Makefile.in: Regenerate.
6667         * javax/swing/JMenuBar.java:
6668         Started implementation.
6669         * javax/swing/JPopupMenu.java:
6670         (setVisible): Fixed location of lightweight/mediumweight
6671         popup menu.
6672         (show): Fixed location of PopupMenu.
6673         * javax/swing/plaf/basic/BasicMenuBarUI.java:
6674         New file. UI Delegate for JMenuBar.
6675         * javax/swing/plaf/basic/BasicMenuUI.MouseInputHandler:
6676         (mouseEntered): Corrected position of the submenu.
6678 2004-05-18  Thomas Fitzsimmons  <fitzsim@redhat.com>
6680         * jni/gtk-peer/gnu_java_awt_peer_gtk_GtkMenuPeer.c: Remove calls
6681         to _gtk_accel_group_attach.
6682         * jni/gtk-peer/gnu_java_awt_peer_gtk_GtkPopupMenuPeer.c:
6683         Likewise.
6685         * gnu/java/awt/peer/gtk/GtkButtonPeer.java: Give gtkSetFont
6686         package access.  Don't override setFont.
6687         * gnu/java/awt/peer/gtk/GtkCheckboxPeer.java: Likewise.
6688         * gnu/java/awt/peer/gtk/GtkComponentPeer.java: Give
6689         gtkWidgetRequestFocus package access.
6690         * gnu/java/awt/peer/gtk/GtkLabelPeer.java: Don't override
6691         setFont.
6692         * gnu/java/awt/peer/gtk/GtkListPeer.java: Override gtkSetFont.
6693         Give gtkWidgetRequestFocus package access.
6694         * gnu/java/awt/peer/gtk/GtkTextAreaPeer.java: Give
6695         gtkWidgetRequestFocus package access.  Don't override setFont.
6696         * gnu/java/awt/peer/gtk/GtkTextFieldPeer.java: Don't override
6697         setFont.
6698         * jni/gtk-peer/gnu_java_awt_peer_gtk_GtkButtonPeer.c
6699         (gtkSetLabel): Move call to gtk_bin_get_child into GDK critical
6700         region.
6701         (gtkSetFont): Likewise.
6702         * jni/gtk-peer/gnu_java_awt_peer_gtk_GtkListPeer.c (gtkSetFont):
6703         Implement.
6704         * jni/gtk-peer/gnu_java_awt_peer_gtk_GtkTextAreaPeer.c
6705         (gtkSetFont): Whitespace fix.
6707         * jni/gtk-peer/gnu_java_awt_peer_gtk_GtkComponentPeer.c
6708         (gtkWidgetSetUsize): Remove method.
6710 2004-05-18  David Jee  <djee@redhat.com>
6712         * java/awt/image/MemoryImageSource.java
6713         (newPixels(int,int,int,int,boolean)): Set only the specified
6714         rectangle of pixels.
6715         (newPixels(byte[],ColorModel,int,int)): Implement.
6716         (newPixels(int[],ColorModel,int,int)): Implement.
6718 2004-05-18  Olga Rodimina  <rodimina@redhat.com>
6720         * Makefile.am: Added new file.
6721         * Makefile.in: Regenerate.
6722         * javax/swing/JMenu.java: Started 
6723         implementation.
6724         * javax/swing/JPopupMenu.java:
6725         (insert): If specified index is -1, then
6726         add component at the end.
6727         (isPopupTrigger): Reimplemented.
6728         (JPopupMenu.LightWeightPopup): setBounds
6729         of the lightWeightPopup before adding it 
6730         to the layeredPane.
6731         (javax/swing/plaf/basic/BasicIconFactory.java):
6732         (getMenuArrowIcon): Implemented.
6733         * javax/swing/plaf/basic/BasicMenuItemUI.java:
6734         (getPreferredSize): Add size of the arrow icon 
6735         if this menu item is instance of JMenu.
6736         (paintMenuItem): Paint arrow icon if this 
6737         menu item is a submenu.
6738         * javax/swing/plaf/basic/BasicMenuUI.java:
6739         New File. UI Delegate for JMenu.
6741 2004-05-17  Thomas Fitzsimmons  <fitzsim@redhat.com>
6743         * gnu/java/awt/peer/gtk/GtkComponentPeer.java (postKeyEvent):
6744         Post KEY_TYPED events.
6745         * jni/gtk-peer/gnu_java_awt_peer_gtk_GtkEvents.c
6746         (generates_key_typed_event): Remove function.
6748 2004-05-17  Olga Rodimina  <rodimina@redhat.com>
6750         * javax/swing/JRootPane.java
6751         (JRootPane.RootLayout): Reimplemented to 
6752         set bounds of contentPane and menuBar.
6753         (setJMenuBar): Add menu bar to the layered pane.
6754         (createLayeredPane): Set layout of layeredPane
6755         to null.
6756         * javax/swing/JLayeredPane.java:
6757         (addImpl): Calculate index of the component in the
6758         layeredPane according to the specified position within 
6759         the layer.      
6761 2004-05-17  David Jee  <djee@redhat.com>
6763         * gnu/java/awt/peer/gtk/GtkImagePainter.java
6764         (setPixels): Change color model to the default model after
6765         converting pixels.
6766         * java/awt/image/MemoryImageSource.java
6767         (newPixels): Set only the specified rectangle of pixels.
6769 2004-05-13  Thomas Fitzsimmons  <fitzsim@redhat.com>
6771         * libgcj.spec.in (lib): Add -l-java-awt -l-java-applet
6772         -l-java-beans -l-javax-accessibility -l-javax-swing.
6774         * java/awt/AWTEvent.java (toString): Print source's name rather
6775         than the source itself.
6777 2004-05-12  Thomas Fitzsimmons  <fitzsim@redhat.com>
6779         * gnu/java/awt/peer/gtk/GtkToolkit.java (loadSystemColors): Make
6780         native.
6781         * jni/gtk-peer/gnu_java_awt_peer_gtk_GtkToolkit.c
6782         (gdk_color_to_java_color): New function.
6783         * jni/gtk-peer/gtkpeer.h: Add SystemColor defines.
6785 2004-05-12  David Jee  <djee@redhat.com>
6787         * java/awt/image/RGBImageFilter.java:
6788         Initialize origmodel as null.
6789         (makeColor): Fix pixel component order.
6790         (filterRGBPixels): Fix pixel iteration.
6791         (setPixels): Add extra checks for index color model. Convert pixels
6792         to default color model if necessary.
6793         (convertColorModelToDefault): New override method for byte pixels.
6794         (convertColorModelToDefault): For int pixels, fix pixel iteration.
6795         (makeColorbyDefaultCM): New override method for byte pixels.
6796         (makeColorbyDefaultCM): For int pixel, add color model as argument.
6797         (makeColor): Fix pixel component order.
6799 2004-05-11  Kim Ho  <kho@redhat.com>
6801         * javax/swing/Box.java:
6802         Comment out more parts of Box.Filler.
6804 2004-05-11  Kim Ho  <kho@redhat.com>
6806         * javax/swing/Box.java:
6807         Remove reference to AccessibleAWTComponent so
6808         it compiles again.
6810 2004-05-10  Thomas Fitzsimmons  <fitzsim@redhat.com>
6812         * gnu/java/awt/peer/gtk/GtkListPeer.java,
6813         jni/gtk-peer/gnu_java_awt_peer_gtk_GtkListPeer.c: Update
6814         implementation of list peer to use GtkTreeView instead of
6815         deprecated GtkCList.
6817 2004-05-07  Thomas Fitzsimmons  <fitzsim@redhat.com>
6819         * gnu/java/awt/peer/gtk/GtkComponentPeer.java
6820         (gtkWidgetDispatchKeyEvent): Remove keyChar parameter.
6821         (handleEvent): Remove keyChar argument to
6822         gtkWidgetDispatchKeyEvent calls.
6823         * jni/gtk-peer/gnu_java_awt_peer_gtk_GtkComponentPeer.c: Fix
6824         compiler warnings.
6825         * jni/gtk-peer/gnu_java_awt_peer_gtk_GtkEvents.c: Likewise.
6826         * jni/gtk-peer/gnu_java_awt_peer_gtk_GtkMenuPeer.c: Likewise.
6827         * jni/gtk-peer/gnu_java_awt_peer_gtk_GtkTextComponentPeer.c:
6828         Likewise.
6830 2004-05-06  Thomas Fitzsimmons  <fitzsim@redhat.com>
6832         * gnu/java/awt/peer/gtk/GtkComponentPeer.java
6833         (gtkWidgetRequestFocus): Mark protected.
6834         (GtkComponentPeer): Only set the peer's bounds if its component
6835         is valid.
6836         * java/awt/Component.java (static): Set the default keyboard
6837         focus manager.
6838         (requestFocus(), requestFocus(boolean), requestFocusInWindow(),
6839         requestFocusInWindow(temporary)): Don't request focus if the
6840         component is not showing.  Get tree lock before traversing
6841         component hierarchy.
6842         * java/awt/DefaultKeyboardFocusManager.java (dispatchEvent):
6843         Only set the global focus owner if it is not a Window.
6844         (processKeyEvent): Consume keystrokes associated with the focus
6845         traversal keystroke.
6846         (focusPreviousComponent, focusNextComponent, upFocusCycle,
6847         downFocusCycle): Call requestFocusInWindow instead of
6848         requestFocus.
6849         * java/awt/EventDispatchThread.java (run): Move setting of
6850         default keyboard focus manager to Component.java.
6851         * jni/gtk-peer/gnu_java_awt_peer_gtk_GtkComponentPeer.c
6852         (awt_keycode_to_keysym): New function.
6853         (gtkWidgetDispatchKeyEvent): Finish implementation.
6854         * jni/gtk-peer/gnu_java_awt_peer_gtk_GtkEvents.c
6855         (pre_event_handler): Add FIXME comment.
6857         * gnu/java/awt/peer/gtk/GtkTextAreaPeer.java,
6858         jni/gtk-peer/gnu_java_awt_peer_gtk_GtkTextAreaPeer.c
6859         (gtkWidgetRequestFocus): New method.
6860         * java/awt/TextArea.java (TextArea): Set focus traversal keys to
6861         disable Tab and Shift-Tab keystrokes.
6862         (addNotify, appendText, insertText, replaceText): Simplify peer
6863         retrieval code.
6864         * jni/gtk-peer/gnu_java_awt_peer_gtk_GtkTextComponentPeer.c
6865         (connectSignals): Remove connections to "commit" signals.
6866         Remove C++-style comments.
6868         * gnu/java/awt/peer/gtk/GtkButtonPeer.java,
6869         jni/gtk-peer/gnu_java_awt_peer_gtk_GtkButtonPeer.c
6870         (handleEvent): Activate GTK button when the space bar key is
6871         pressed.
6872         (gtkActivate): New method.
6874 2004-05-06  David Jee  <djee@redhat.com>
6876         * java/awt/image/CropImageFilter.java
6877         (setPixels): Implement for byte array pixels.
6878         * java/awt/image/ReplicateScaleFilter.java
6879         (setPixels): Implement for byte array pixels.
6880         (replicatePixels): Overload for byte array pixels.
6882 2004-05-06  Kim Ho  <kho@redhat.com>
6884         * javax/swing/Box.java:
6885         (getAccessibleContext): Return an instance of the 
6886         correct class.
6888 2004-05-05  David Jee  <djee@redhat.com>
6890         * gnu/java/awt/peer/gtk/GdkGraphics.java
6891         (drawImage): When component is null, use SystemColor.window as
6892         the default bgcolor.
6893         * gnu/java/awt/peer/gtk/GtkImage.java
6894         (setPixels): We can avoid iterating through the pixel rows only
6895         when height is 1.
6896         * java/awt/Image.java
6897         (getScaledInstance): Partially implement.
6898         * java/awt/image/CropImageFilter.java
6899         (setProperties): Fix "filter" property.
6900         (setPixels): Implement.
6901         * java/awt/image/ReplicateScaleFilter.java
6902         (setDimensions): Use scaled dimensions.
6903         (setPixels): Implement.
6904         (replicatePixels): New method.
6906 2004-05-05  David Jee  <djee@redhat.com>
6908         * gnu/java/awt/peer/gtk/GtkImagePainter.java
6909         (convertPixels): If either pixels or model is null, return null.
6910         * jni/gtk-peer/gnu_java_awt_peer_gtk_GtkImagePainter.c
6911         (Java_gnu_java_awt_peer_gtk_GtkImagePainter_drawPixels): If jpixels
6912         is null, do nothing and return.
6914 2004-05-03  Kim Ho  <kho@redhat.com>
6916         * gnu/java/awt/peer/gtk/GtkDialogPeer.java:
6917         (getGraphics): Like GtkFramePeer, the Graphics
6918         object needs to be translate to account for
6919         window decorations.
6920         (postMouseEvent): New method. Account for
6921         translation.
6922         (postExposeEvent): ditto.
6923         * javax/swing/Box.java: Stubbed.
6924         * javax/swing/JDialog.java: Ran through jalopy
6925         to fix indentation.
6926         (JDialog): Call SwingUtilities' getOwnerFrame
6927         for null owners.
6928         (setLayout): Check isRootPaneCheckingEnabled
6929         * javax/swing/JOptionPane.java: Re-implemented.
6930         * javax/swing/SwingUtilities.java:
6931         (getOwnerFrame): Static method to grab a default
6932         owner frame for Dialogs that don't specify owners.
6933         * javax/swing/event/SwingPropertyChangeSupport.java:
6934         (firePropertyChange): Fix early exit condition.
6935         * javax/swing/plaf/basic/BasicLabelUI.java:
6936         (paint): Avoid painting text if it is null 
6937         or empty.
6938         * javax/swing/plaf/basic/BasicOptionPaneUI.java:
6939         Implement.
6941 2004-05-03  Olga Rodimina  <rodimina@redhat.com>
6943         * Makefile.am: Added new file.
6944         * Makefile.in: Regenerate.
6945         * javax/swing/JPopupMenu.java:
6946         Started implementation.
6947         * javax/swing/JWindow.java
6948         (JWindow): call super() if parent for window
6949         is not specified.
6950         * javax/swing/plaf/basic/BasicPopupMenuUI.java:
6951         New File. UI Delegate for JPopupMenu.
6953 2004-04-30  Olga Rodimina  <rodimina@redhat.com>
6955         * javax/swing/JApplet.java: Indicated that JApplet
6956         implements RootPaneContainer and made method of this
6957         interface public. 
6958         * javax/swing/JFrame.java: Ditto.
6959         * javax/swing/JWindow.java: Ditto.
6960         
6961 2004-04-29  Thomas Fitzsimmons  <fitzsim@redhat.com>
6963         * jni/gtk-peer/gnu_java_awt_peer_gtk_GtkWindowPeer.c
6964         (nativeSetBounds): Call gdk_window_move in addition to
6965         gtk_window_move.
6967         * java/applet/Applet.java (preferredSize): Call parent's
6968         preferredSize if the applet stub is null.
6969         (minimumSize): Likewise for parent's minimumSize.
6971 2004-04-27  Olga Rodimina  <rodimina@redhat.com>
6973         * javax/swing/JMenuItem.java
6974         (createActionPropertyChangeListener): Implemented.
6975         (processMouseEvent): Ditto.
6976         (fireMenuDragMouseEntered): Ditto.
6977         (fireMenuDragMouseExited): Ditto.
6978         (fireMenuDragMouseDragged): Ditto.
6979         (fireMenuDragMouseReleased): Ditto.
6980         (menuSelectionChanged): Ditto.
6981         (getSubElements): Ditto.
6982         (getComponent): Ditto.
6983         (addMenuDragMouseListener): Ditto.
6984         (removeMenuDragMouseListener):Ditto.
6985         (addMenuKeyListener): Ditto.
6986         (removeMenuKeyListener): Ditto.
6987         * javax/swing/plaf/basic/BasicMenuItemUI.java
6988         (doClick): Imlemented.
6989         * javax/swing/plaf/basic/BasicMenuItemUI.MouseInputHandler:
6990         Don't handle mouse events here. Pass them to 
6991         MenuSelectionManager.
6992         
6993 2004-04-26  Olga Rodimina  <rodimina@redhat.com>
6994         Used correct version of jalopy configuration
6995         file to fix style in the files below.
6997 2004-04-26  Olga Rodimina  <rodimina@redhat.com>
6999         * javax/swing/JCheckBoxMenuItem.java: 
7000         Fixed style and removed unnecessary comments.
7001         * javax/swing/JMenuItem.java: Ditto.
7002         * javax/swing/JRadioButtonMenuItem.java: Ditto.
7003         * javax/swing/plaf/basic/BasicCheckBoxMenuItemUI.java: Ditto.
7004         * javax/swing/plaf/basic/BasicMenuItemUI.java: Ditto.
7005         * javax/swing/plaf/basic/BasicRadioButtonMenuItemUI.java: Ditto.
7007 2004-04-23  Thomas Fitzsimmons  <fitzsim@redhat.com>
7009         * gnu_java_awt_peer_gtk_GtkWindowPeer.c: Change FIXME comment to
7010         C-style.
7012         * gnu_java_awt_peer_gtk_GtkWindowPeer.c: Add FIXME comment.
7014         * java/awt/ContainerOrderFocusTraversalPolicy.java
7015         (getComponentAfter): Start from current component and work up
7016         the component hierarchy until an acceptable component is found.
7017         Synchronize on tree lock.
7018         (getComponentBefore): Likewise.
7020 2004-04-22  Thomas Fitzsimmons  <fitzsim@redhat.com>
7022         * gnu/java/awt/peer/gtk/GtkComponentPeer.java: Remove
7023         focus-related debugging messages.
7024         * java/awt/DefaultKeyboardFocusManager.java: Likewise.
7025         * java/awt/EventDispatchThread.java: Likewise.
7026         * java/awt/KeyboardFocusManager.java: Likewise.
7027         * java/awt/Window.java: Likewise.
7028         * jni/gtk-peer/gnu_java_awt_peer_gtk_GtkComponentPeer.c: Likewise.
7029         * jni/gtk-peer/gnu_java_awt_peer_gtk_GtkEvents.c: Likewise.
7031         * jni/gtk-peer/gnu_java_awt_peer_gtk_GtkComponentPeer.c: Change
7032         new C++-style comments to C-style comments.
7033         * jni/gtk-peer/gnu_java_awt_peer_gtk_GtkEvents.c: Likewise.
7035         * gnu/java/awt/peer/gtk/GtkComponentPeer.java,
7036         jni/gtk-peer/gnu_java_awt_peer_gtk_GtkComponentPeer.c
7037         (handleEvent): Dispatch key press and key release events to
7038         backing widget.
7039         (requestFocus): Post a FOCUS_GAINED event to the event queue.
7040         (gtkWidgetRequestFocus): New method.
7041         (gtkWidgetDispatchKeyEvent): Likewise.
7042         * java/awt/Component.java (requestFocus, requestFocus(boolean),
7043         requestFocusInWindow, requestFocusInWindow(boolean),
7044         getFocusCycleRootAncestor, nextFocus, transferFocus,
7045         transferFocusBackward, transferFocusUpCycle, hasFocus,
7046         isFocusOwner): Implement and document focus-handling methods.
7047         (setFocusTraversalKeys): Inherit focus traversal keys when
7048         keystrokes argument is null.  Fix focus-handling documentation
7049         throughout class.
7050         * java/awt/Container.java (setFocusTraversalKeys,
7051         getFocusTraversalKeys, areFocusTraversalKeysSet,
7052         isFocusCycleRoot, setFocusTraversalPolicy,
7053         getFocusTraversalPolicy, isFocusTraversalPolicySet,
7054         setFocusCycleRoot, isFocusCycleRoot, transferFocusDownCycle):
7055         Implement and document focus-handling methods.
7056         (transferFocusBackward): Remove method.
7057         (readObject, writeObject): Implement and document serialization
7058         methods.
7059         * java/awt/ContainerOrderFocusTraversalPolicy.java: Implement
7060         and document.
7061         * java/awt/DefaultFocusTraversalPolicy.java: Implement and
7062         document.
7063         * java/awt/DefaultKeyboardFocusManager.java: Implement and
7064         partially document.
7065         * java/awt/EventDispatchThread.java (run): Set default keyboard
7066         focus manager.  Attempt to dispatch each event to the keyboard
7067         focus manager before normal dispatch.
7068         * java/awt/KeyboardFocusManager.java: Implement and partially
7069         document.
7070         * java/awt/Window.java (Window): Set focusCycleRoot to true.
7071         (show): Focus initial component when window is shown for the
7072         first time.
7073         * jni/gtk-peer/gnu_java_awt_peer_gtk_GtkEvents.c
7074         (pre_event_handler): Replace complex key press and key release
7075         logic with simple callbacks into GtkComponentPeer.
7076         * jni/gtk-peer/gtkpeer.h: Fix FOCUS_GAINED/FOCUS_LOST reversal.
7078 2004-04-21  Olga Rodimina  <rodimina@redhat.com>
7080         * javax/swing/MenuSelectionManager.java
7081         (componentForPoint): Added new method. 
7082         (defaultManager): New Method. Implemented.
7083         (getSelectedPath): Ditto.
7084         (isComponentPartOfCurrentMenu): Ditto.
7085         (processKeyEvent): Added new method.
7086         (processMouseEvent): New Method. Implemented.
7087         (setSelectedPath): Ditto.
7088         (getPath): Ditto.
7090 2004-04-19  Kim Ho  <kho@redhat.com>
7092         * java/awt/Container.java: 
7093         (remove): Set the component's parent to null.
7094         (getComponentAt): Implement.
7095         * javax/swing/JComponent.java:
7096         (JComponent): Initialize defaultLocale
7097         (getDefaultLocale): Implement.
7098         (setDefaultLocale): ditto.
7099         * javax/swing/JSlider.java:
7100         (JSlider): Fix calculation of value.
7101         * javax/swing/JSplitPane.java: Implement.
7102         * javax/swing/plaf/basic/BasicLookAndFeel.java:
7103         Change SplitPane's default divider size.
7104         * javax/swing/plaf/basic/BasicScrollBarUI.java:
7105         (paint): Remove unused code.
7106         * javax/swing/plaf/basic/BasicSplitPaneDivider.java:
7107         Added comments and ran through jalopy.
7108         (setBasicSplitPaneUI): Get reference to hidden divider
7109         and set up one touch buttons if necessary.
7110         (setBorder): Fire propertyChangeEvent only if 
7111         borders are different.
7112         (getPreferredSize): Defer to layout manager.
7113         (propertyChange): Implement.
7114         (oneTouchExpandableChanged): ditto.
7115         (createLeftOneTouchButton): Use BasicArrowButton.
7116         (createRightOneTouchButton): ditto.
7117         (moveDividerTo): New method. Moves the divider
7118         to a set location based on the last divider location.
7119         (BasicSplitPaneDivider::MouseHandler): Implement.
7120         (BasicSplitPaneDivider::OneTouchButton): Removed.
7121         (BasicSplitPaneDivider::DragController): Implement.
7122         (BasicSplitPaneDivider::VerticalDragController):
7123         ditto.
7124         (BasicSplitPaneDivider::DividerLayout): ditto.
7125         * javax/swing/plaf/basic/BasicSplitPaneUI.java: Reimplement.
7126         * javax/swing/plaf/basic/BasicTabbedPaneUI.java:
7127         (calculateLayoutInfo): Don't show component if it's
7128         null.
7129         (paintTab): Fix title paint logic.
7131 2004-05-26  Jerry Quinn  <jlquinn@optonline.net>
7133         PR libgcj/8321
7134         * java/util/SimpleTimeZone.java (serialVersionOnStream): Bump to 2.
7135         (setStartRule,setEndRule): Don't take abs of day number.
7136         (getOffset): Clarify docs.  Add argument checks.
7137         (isBefore): Take abs of day number in DOW_LE_DOM_MODE.
7138         (equals,hasSameRules,toString,readObject): Use startTimeMode and
7139         endTimeMode.
7140         * testsuite/libjava.mauve/xfails
7141         (gnu.testlet.java.util.SimpleTimeZone.check12): XFAIL test 22.
7143 2004-05-21  Bryce McKinlay  <mckinlay@redhat.com>
7145         Layout interfaces during preparation, not initialization. 
7146         * java/lang/natClass.cc (initializeClass): Move 
7147         _Jv_LayoutInterfaceMethods call...
7148         * java/lang/natClassLoader.cc (_Jv_PrepareCompiledClass): to here.
7150 2004-05-19  Anthony Green  <green@localhost.localdomain>
7152         * Makefile.am (awt_java_source_files): Remove javax.rmi and
7153         gnu.javax.rmi code.
7154         * Makefile.in: Rebuilt.
7155         * javax/rmi/ClassDesc.java, javax/rmi/StubDelegate.java,
7156         javax/rmi/UtilDelegate.java, javax/rmi/Stub.java,
7157         javax/rmi/Util.java, javax/rmi/ObjectImpl.java,
7158         javax/rmi/SystemException.java, javax/rmi/ValueHandler.java,
7159         javax/rmi/PortableRemoteObjectDelegate.java, javax/rmi/Tie.java,
7160         gnu/javax/rmi/CORBA/DelegateFactory.java,
7161         gnu/javax/rmi/CORBA/GetDelegateInstanceException.java,
7162         gnu/javax/rmi/CORBA/PortableRemoteObjectDelegateImpl.java,
7163         gnu/javax/rmi/CORBA/StubDelegateImpl.java,
7164         gnu/javax/rmi/CORBA/UtilDelegateImpl.java,
7165         gnu/javax/rmi/CORBA/ValueHandlerImpl.java,
7166         gnu/javax/rmi/PortableServer.java: Remove files.
7168 2004-05-19  Anthony Green  <green@redhat.com>
7170         * Makefile.am: Define JAVA_EXT_DIRS.
7171         * Makefile.in: Rebuilt.
7172         * java/lang/natRuntime.cc (insertSystemProperties): Set
7173         java.ext.dirs property.
7175 2004-05-16  Mark Wielaard  <mark@klomp.org>
7177         * java/io/Writer.java (Writer(Object)): Check for null lock object.
7179 2004-05-15  Mark Wielaard  <mark@klomp.org>
7181         * doc/cni.sgml: Removed, merged into gcj.texi.
7183 2004-05-15  Mark Wielaard  <mark@klomp.org>
7185         * Makefile.am (ordinary_java_source_files): Add new javax.print
7186         classes.
7187         * Makefile.in: Regenerated.
7189 2004-05-15  Michael Koch  <konqueror@gmx.de>
7191         * javax/print/attribute/standard/DateTimeAtCompleted.java,
7192         javax/print/attribute/standard/DateTimeAtCreation.java,
7193         javax/print/attribute/standard/DateTimeAtProcessing.java,
7194         javax/print/attribute/standard/DocumentName.java,
7195         javax/print/attribute/standard/JobHoldUntil.java,
7196         javax/print/attribute/standard/JobImpressionsCompleted.java,
7197         javax/print/attribute/standard/JobMessageFromOperator.java,
7198         javax/print/attribute/standard/JobName.java,
7199         javax/print/attribute/standard/JobOriginatingUserName.java,
7200         javax/print/attribute/standard/JobPriority.java,
7201         javax/print/attribute/standard/JobPrioritySupported.java,
7202         javax/print/attribute/standard/NumberOfInterveningJobs.java,
7203         javax/print/attribute/standard/OutputDeviceAssigned.java,
7204         javax/print/attribute/standard/PrinterInfo.java,
7205         javax/print/attribute/standard/PrinterLocation.java,
7206         javax/print/attribute/standard/PrinterMakeAndModel.java,
7207         javax/print/attribute/standard/PrinterMessageFromOperator.java,
7208         javax/print/attribute/standard/PrinterName.java,
7209         javax/print/attribute/standard/QueuedJobCount.java,
7210         javax/print/attribute/standard/RequestingUserName.java:
7211         Fixed javadocs all over.
7213 2004-05-15  Michael Koch  <konqueror@gmx.de>
7215         * javax/print/DocFlavor.java,
7216         javax/print/attribute/standard/ColorSupported.java,
7217         javax/print/attribute/standard/Compression.java,
7218         javax/print/attribute/standard/CopiesSupported.java,
7219         javax/print/attribute/standard/Fidelity.java,
7220         javax/print/attribute/standard/Finishings.java,
7221         javax/print/attribute/standard/JobImpressionsSupported.java,
7222         javax/print/attribute/standard/JobKOctetsSupported.java,
7223         javax/print/attribute/standard/JobMediaSheetsSupported.java,
7224         javax/print/attribute/standard/JobSheets.java,
7225         javax/print/attribute/standard/JobState.java,
7226         javax/print/attribute/standard/JobStateReason.java,
7227         javax/print/attribute/standard/JobStateReasons.java,
7228         javax/print/attribute/standard/Media.java,
7229         javax/print/attribute/standard/MediaSizeName.java,
7230         javax/print/attribute/standard/MultipleDocumentHandling.java,
7231         javax/print/attribute/standard/NumberUpSupported.java,
7232         javax/print/attribute/standard/OrientationRequested.java,
7233         javax/print/attribute/standard/PDLOverrideSupported.java,
7234         javax/print/attribute/standard/PageRanges.java,
7235         javax/print/attribute/standard/PresentationDirection.java,
7236         javax/print/attribute/standard/PrintQuality.java,
7237         javax/print/attribute/standard/PrinterIsAcceptingJobs.java,
7238         javax/print/attribute/standard/PrinterMoreInfo.java,
7239         javax/print/attribute/standard/PrinterMoreInfoManufacturer.java,
7240         javax/print/attribute/standard/PrinterResolution.java,
7241         javax/print/attribute/standard/PrinterState.java,
7242         javax/print/attribute/standard/PrinterStateReason.java,
7243         javax/print/attribute/standard/PrinterStateReasons.java,
7244         javax/print/attribute/standard/PrinterURI.java,
7245         javax/print/attribute/standard/ReferenceUriSchemesSupported.java,
7246         javax/print/attribute/standard/Severity.java,
7247         javax/print/attribute/standard/SheetCollate.java,
7248         javax/print/attribute/standard/Sides.java:
7249         Added serialVersionUID and removed final keyword where it doenst
7250         belong.
7252 2004-05-15  Michael Koch  <konqueror@gmx.de>
7254         * javax/print/PrintServiceLookup.java: New file.
7256 2004-05-15  Michael Koch  <konqueror@gmx.de>
7258         * javax/print/DocFlavor.java:
7259         Implemented all flavor classes.
7261 2004-05-15  Michael Koch  <konqueror@gmx.de>
7263         * javax/print/attribute/standard/ColorSupported.java,
7264         javax/print/attribute/standard/Compression.java,
7265         javax/print/attribute/standard/CopiesSupported.java,
7266         javax/print/attribute/standard/Fidelity.java,
7267         javax/print/attribute/standard/Finishings.java,
7268         javax/print/attribute/standard/JobImpressionsSupported.java,
7269         javax/print/attribute/standard/JobKOctetsSupported.java,
7270         javax/print/attribute/standard/JobMediaSheetsSupported.java,
7271         javax/print/attribute/standard/JobSheets.java,
7272         javax/print/attribute/standard/JobState.java,
7273         javax/print/attribute/standard/JobStateReason.java,
7274         javax/print/attribute/standard/JobStateReasons.java,
7275         javax/print/attribute/standard/Media.java,
7276         javax/print/attribute/standard/MediaSizeName.java,
7277         javax/print/attribute/standard/MultipleDocumentHandling.java,
7278         javax/print/attribute/standard/NumberUpSupported.java,
7279         javax/print/attribute/standard/OrientationRequested.java,
7280         javax/print/attribute/standard/PDLOverrideSupported.java,
7281         javax/print/attribute/standard/PageRanges.java,
7282         javax/print/attribute/standard/PresentationDirection.java,
7283         javax/print/attribute/standard/PrintQuality.java,
7284         javax/print/attribute/standard/PrinterIsAcceptingJobs.java,
7285         javax/print/attribute/standard/PrinterMoreInfo.java,
7286         javax/print/attribute/standard/PrinterMoreInfoManufacturer.java,
7287         javax/print/attribute/standard/PrinterResolution.java,
7288         javax/print/attribute/standard/PrinterState.java,
7289         javax/print/attribute/standard/PrinterStateReason.java,
7290         javax/print/attribute/standard/PrinterStateReasons.java,
7291         javax/print/attribute/standard/PrinterURI.java,
7292         javax/print/attribute/standard/ReferenceUriSchemesSupported.java,
7293         javax/print/attribute/standard/Severity.java,
7294         javax/print/attribute/standard/SheetCollate.java,
7295         javax/print/attribute/standard/Sides.java: New files.
7297 2004-05-15  Michael Koch  <konqueror@gmx.de>
7299         * javax/print/Doc.java
7300         (getPrintData): Throws IOException.
7301         (getReaderForText): Likewise.
7302         (getStreamForBytes): Likewise.
7303         * javax/print/DocFlavor.java:
7304         Fixed filename in copyright.
7305         (serialVersionUID): New field.
7306         * javax/print/ServiceUIFactory.java:
7307         Made all constants final.
7308         * javax/print/AttributeException.java
7309         javax/print/MultiDoc.java
7310         javax/print/MultiDocPrintJob.java
7311         javax/print/MultiDocPrintService.java
7312         javax/print/StreamPrintService.java
7313         javax/print/URIException.java: New files.
7314         * javax/print/Makefile.am
7315         (EXTRA_DIST): Added all new files.
7317 2004-05-15  Michael Koch  <konqueror@gmx.de>
7319         * javax/print/attribute/standard/Copies.java,
7320         javax/print/attribute/standard/DateTimeAtCompleted.java,
7321         javax/print/attribute/standard/DateTimeAtCreation.java,
7322         javax/print/attribute/standard/DateTimeAtProcessing.java,
7323         javax/print/attribute/standard/DocumentName.java,
7324         javax/print/attribute/standard/JobHoldUntil.java,
7325         javax/print/attribute/standard/JobImpressions.java,
7326         javax/print/attribute/standard/JobImpressionsCompleted.java,
7327         javax/print/attribute/standard/JobKOctets.java,
7328         javax/print/attribute/standard/JobKOctetsProcessed.java,
7329         javax/print/attribute/standard/JobMediaSheets.java,
7330         javax/print/attribute/standard/JobMediaSheetsCompleted.java,
7331         javax/print/attribute/standard/JobMessageFromOperator.java,
7332         javax/print/attribute/standard/JobName.java,
7333         javax/print/attribute/standard/JobOriginatingUserName.java,
7334         javax/print/attribute/standard/JobPriority.java,
7335         javax/print/attribute/standard/JobPrioritySupported.java,
7336         javax/print/attribute/standard/NumberOfDocuments.java,
7337         javax/print/attribute/standard/NumberOfInterveningJobs.java,
7338         javax/print/attribute/standard/NumberUp.java,
7339         javax/print/attribute/standard/OutputDeviceAssigned.java,
7340         javax/print/attribute/standard/PagesPerMinute.java,
7341         javax/print/attribute/standard/PagesPerMinuteColor.java:
7342         Fixed @return tag all over.
7344 2004-05-15  Michael Koch  <konqueror@gmx.de>
7346         * javax/print/attribute/AttributeSetUtilities.java
7347         (verifyCategoryForValue): Fixed typo in javadoc.
7348         * javax/print/attribute/HashAttributeSet.java
7349         (containsKey): Fixed @return tag.
7350         (comtainsValue): Likewise.
7351         (equals): Likewise.
7352         * javax/print/attribute/IntegerSyntax.java
7353         (equals): Likewise.
7354         * javax/print/attribute/ResolutionSyntax.java
7355         (equals): Likewise.
7356         (getCrossFeedResolution): Removed unused code.
7357         (getFeedResolution): Likewise.
7358         * javax/print/attribute/SetOfIntegerSyntax.java
7359         (SetOfIntegerSyntax): Fixed HTML entities in javadoc.
7360         (equals): Fixed @return tag.
7361         * javax/print/attribute/TextSyntax.java
7362         (TextSyntax): Take locale into account.
7363         (hashCode): Better implementation.
7365 2004-05-15  Michael Koch  <konqueror@gmx.de>
7367         * javax/print/CancelablePrintJob.java,
7368         javax/print/Doc.java,
7369         javax/print/DocFlavor.java,
7370         javax/print/DocPrintJob.java,
7371         javax/print/FlavorException.java,
7372         javax/print/PrintException.java,
7373         javax/print/PrintService.java,
7374         javax/print/ServiceUIFactory.java: New files.
7376 2004-05-15  Mark Wielaard  <mark@klomp.org>
7378         * gnu/regexp/CharIndexedReader.java: Removed.
7379         * gnu/regexp/REFilterReader.java: Likewise.
7380         * gnu/regexp/RETokenLookAhead.java: Likewise.
7381         * Makefile.am (ordinary_java_source_files): Remove above classes.
7382         * Makefile.in: Regenerated.
7384 2004-05-14  Tom Tromey  <tromey@redhat.com>
7386         * gnu/awt/xlib/XGraphics.java (drawImage): Use `XOffScreenImage',
7387         not `XGraphicsConfiguration.XOffScreenImage'.
7389 2004-05-14  Scott Gilbertson  <scottg@mantatest.com>
7391         * gnu/awt/xlib/XCanvasPeer.java (setVisible): Implement unmap.
7393 2004-05-14  Steven Augart  <augart@watson.ibm.com>
7395         * include/jni.h (_Jv_func): Removed.
7396         (struct JNINativeInterface): Use `void *' for reserved slots.
7397         (struct JNIInvokeInterface): Likewise.
7399 2004-05-11  Michael Koch  <konqueror@gmx.de>
7401         * gnu/java/net/natPlainSocketImplPosix.cc
7402         (read): Fixed typo in expression.
7404 2004-05-10  Andreas Tobler  <a.tobler@schweiz.ch>
7406         * testsuite/lib/libjava.exp (libjava_invoke): Add new argument
7407         ld_library_additions. Adjust all calls to libjava_invoke to match
7408         the new argument.
7410         * testsuite/libjava.jni/jni.exp (gcj_jni_test_one): Pass stdc++
7411         path to cxxflagslist.
7412         Pass path of libstdc++ to libjava_invoke.
7414         * testsuite/libjava.jar/jar.exp (gcj_jar_inerpret): Adjust
7415         libjava_invoke arguments.
7417 2004-05-10  Ranjit Mathew  <rmathew@hotmail.com>
7419         * testsuite/libjava.jacks/jacks.xfail: Update to reflect the current
7420         reality.
7422 2004-05-07  Ranjit Mathew  <rmathew@gmail.com>
7424         * testsuite/libjava.jni/jni.exp (gcj_jni_test_one): Don't link the
7425         main binary against the JNI shared library.
7427 2004-05-07  Jerry Quinn  <jlquinn@optonline.net>
7429         * java/util/SimpleTimeZone.java (startTimeMode, endTimeMode,
7430         WALL_TIME, STANDARD_TIME, UTC_TIME): New members.
7431         (SimpleTimeZone): Tweak docs.  Add new variation.
7432         (setStartRule,setEndRule): Add new variations.  Use
7433         startTimeMode and endTimeMode.
7435 2004-05-07  Jerry Quinn  <jlquinn@optonline.net>
7437         * java/util/Calendar.java (getActualMinimum,
7438         getActualMaximum):  Remove abstract.  Implement.
7440 2004-05-06  Bryce McKinlay  <mckinlay@redhat.com>
7442         Run the jni tests using the interpreter.
7443         * testsuite/libjava.jni/jni.exp (gcj_jni_compile_c_to_so): Append
7444         options_cxx to shared lib compile command.
7445         (gcj_jni_test_one): Pass cxxflags to gcj_jni_compile_c_to_so, so
7446         they are used to link the shared lib, not the main binary.
7447         Use libjava_invoke to run gij.
7449 2004-05-06  Michael Koch  <konqueror@gmx.de>
7451         * java/util/logging/Level.java
7452         (parse): Use == instead of String.equals().
7454 2004-05-06  Bryce McKinlay  <mckinlay@redhat.com>
7456         * defineclass.cc (_Jv_ClassReader::prepare_pool_entry): Use 
7457         verify_field_signature and verify_method_signature, not 
7458         _Jv_VerifyFieldSignature and _Jv_VerifyMethodSigntature.
7459         (_Jv_ClassReader::handleField): Likewise.
7460         (_Jv_ClassReader::handleMethod): Likewise.
7462 2004-05-06  Michael Koch  <konqueror@gmx.de>
7464         * javax/swing/table/TableColumn.java:
7465         Reformated.
7467 2004-05-06  Michael Koch  <konqueror@gmx.de>
7469         * javax/imageio/spi/ImageReaderWriterSpi.java
7470         (ImageReaderWriterSpi): Made it public.
7471         * javax/imageio/stream/ImageInputStream.java:
7472         Clean up imports.
7474 2004-05-06  Michael Koch  <konqueror@gmx.de>
7476         * jni/gtk-peer/gnu_java_awt_peer_gtk_GtkComponentPeer.c:
7477         Removed empty line.
7479 2004-05-06  Michael Koch  <konqueror@gmx.de>
7481         * jni/gtk-peer/gnu_java_awt_peer_gtk_GtkCheckboxGroupPeer.c,
7482         jni/gtk-peer/gnu_java_awt_peer_gtk_GtkGenericPeer.c:
7483         New files.
7484         * jni/gtk-peer/gnu_java_awt_peer_gtk_GtkCheckboxMenuItemPeer.c:
7485         Include gnu_java_awt_peer_gtk_GtkCheckboxMenuItemPeer.h.
7486         * jni/gtk-peer/gnu_java_awt_peer_gtk_GtkCheckboxPeer.c:
7487         Moved GtkCheckboxGroupPeer_dispose and GtkCheckboxGroupPeer_remove to
7488         their own source file.
7489         * jni/gtk-peer/gnu_java_awt_peer_gtk_GtkComponentPeer.c:
7490         Moved GtkGenericPeer_dispose and GtkComponentPeer_requestFocus to
7491         their own source file. Removed GtkComponentPeer_gtkWidgetSetUsize.
7492         * jni/gtk-peer/gnu_java_awt_peer_gtk_GtkMenuPeer.c
7493         (create): Define variable on top of function.
7494         * jni/gtk-peer/gnu_java_awt_peer_gtk_GtkPopupMenuPeer.c
7495         (menu_pos): Prototyped.
7496         * jni/gtk-peer/gnu_java_awt_peer_gtk_GtkWindowPeer.c
7497         (setTitle): Removed.
7498         * jni/gtk-peer/gthread-jni.c
7499         (gdk_threads_wake): Removed.
7500         * Makefile.am (gtk_c_source_files): Added new files
7501         jni/gtk-peer/gnu_java_awt_peer_gtk_GtkCheckboxGroupPeer.c and
7502         jni/gtk-peer/gnu_java_awt_peer_gtk_GtkGenericPeer.c.
7503         * Makefile.in: Regenerated.
7505 2004-05-05  Bryce McKinlay  <mckinlay@redhat.com>
7507         * testsuite/libjava.jni/pr11951.java: Add missing System.loadLibrary()
7508         call.
7510 2004-05-05  Mark Wielaard  <mark@klomp.org>
7512         * javax/swing/AbstractButton.java: Replace special HTML entities with
7513         ASCII equivalent.
7514         * javax/swing/DefaultBoundedRangeModel.java: Likewise.
7515         * javax/swing/DefaultButtonModel.java: Likewise.
7516         * javax/swing/DefaultListModel.java: Likewise.
7517         * javax/swing/JList.java: Likewise.
7518         * javax/swing/JSlider.java: Likewise.
7519         * javax/swing/ListModel.java: Likewise.
7520         * javax/swing/Popup.java: Likewise.
7521         * javax/swing/SwingUtilities.java: Likewise.
7523 2004-05-05  Michael Koch  <konqueror@gmx.de>
7525         * javax/swing/AbstractButton.java,
7526         javax/swing/ActionMap.java,
7527         javax/swing/DefaultButtonModel.java,
7528         javax/swing/DefaultListModel.java,
7529         javax/swing/ImageIcon.java,
7530         javax/swing/JComboBox.java,
7531         javax/swing/JComponent.java,
7532         javax/swing/JFrame.java,
7533         javax/swing/JInternalFrame.java,
7534         javax/swing/JMenuBar.java,
7535         javax/swing/JMenuItem.java,
7536         javax/swing/JOptionPane.java,
7537         javax/swing/JProgressBar.java,
7538         javax/swing/JRootPane.java,
7539         javax/swing/JScrollBar.java,
7540         javax/swing/JScrollPane.java,
7541         javax/swing/JSeparator.java,
7542         javax/swing/JSlider.java,
7543         javax/swing/JTabbedPane.java,
7544         javax/swing/JTable.java,
7545         javax/swing/JTextField.java,
7546         javax/swing/JToolBar.java,
7547         javax/swing/JToolTip.java,
7548         javax/swing/JTree.java,
7549         javax/swing/JViewport.java,
7550         javax/swing/JWindow.java,
7551         javax/swing/KeyStroke.java,
7552         javax/swing/LookAndFeel.java,
7553         javax/swing/SwingUtilities.java,
7554         javax/swing/Timer.java,
7555         javax/swing/ToolTipManager.java,
7556         javax/swing/UIDefaults.java,
7557         javax/swing/border/TitledBorder.java,
7558         javax/swing/filechooser/FileSystemView.java,
7559         javax/swing/plaf/basic/BasicButtonListener.java,
7560         javax/swing/plaf/basic/BasicButtonUI.java,
7561         javax/swing/plaf/basic/BasicCheckBoxMenuItemUI.java,
7562         javax/swing/plaf/basic/BasicGraphicsUtils.java,
7563         javax/swing/plaf/basic/BasicLabelUI.java,
7564         javax/swing/plaf/basic/BasicMenuItemUI.java,
7565         javax/swing/plaf/basic/BasicRadioButtonMenuItemUI.java,
7566         javax/swing/plaf/basic/BasicRootPaneUI.java,
7567         javax/swing/plaf/basic/BasicScrollBarUI.java,
7568         javax/swing/plaf/basic/BasicScrollPaneUI.java,
7569         javax/swing/plaf/basic/BasicSliderUI.java,
7570         javax/swing/plaf/basic/BasicTabbedPaneUI.java,
7571         javax/swing/plaf/basic/BasicToggleButtonUI.java,
7572         javax/swing/table/JTableHeader.java,
7573         javax/swing/text/AbstractDocument.java,
7574         javax/swing/text/DefaultCaret.java,
7575         javax/swing/text/StyledEditorKit.java,
7576         javax/swing/tree/DefaultTreeCellEditor.java:
7577         Cleaned up imports.
7579 2004-05-05  Michael Koch  <konqueror@gmx.de>
7581         * java/util/prefs/AbstractPreferences.java
7582         (AbstractPreferences): Added parenthesis for clarity.
7583         Closes classpath bug #7940.
7585 2004-05-05  Tom Tromey  <tromey@redhat.com>
7587         * javax/naming/CompoundName.java (endsWith): Look at correct
7588         element of source name.
7590 2004-05-05  Mark Wielaard  <mark@klomp.org>
7592         Reported by f.haeglsperger@gmx.de [classpath patch #2485]
7593         * java/util/HashMap.java (rehash): Add entry at start of bucket.
7595 2004-05-05  Tom Tromey  <tromey@redhat.com>
7597         * java/io/BufferedReader.java (skip): Removed unused
7598         variable.
7600 2004-05-05  Michael Koch  <konqueror@gmx.de>
7602         * java/awt/FileDialog.java: Import java.io.Serializable explicitly.
7604 2004-05-05  Dalibor Topic  <robilad@kaffe.org>
7606         * java/text/AttributedString.java,
7607         java/text/AttributedStringIterator.java,
7608         java/text/Collator.java,
7609         java/text/DecimalFormatSymbols.java,
7610         java/text/NumberFormat.java,
7611         java/text/RuleBasedCollator.java:
7612         Cleaned up imports.
7614 2004-05-05  Tom Tromey  <tromey@redhat.com>
7616         * java/text/Format.java: Cleaned up imports.
7617         * java/text/DecimalFormat.java: Cleaned up imports.
7618         * java/security/SecureRandom.java: Cleaned up imports.
7619         (SecureRandom): Removed unused variable.
7620         * java/security/UnresolvedPermission.java: Cleaned up imports.
7621         * java/util/Date.java (parse): Removed unused variable.
7622         * java/util/ResourceBundle.java: Cleaned up imports.
7623         (getBundle): Removed unused variable.
7624         (tryBundle): Likewise.
7625         * java/util/regex/Pattern.java (Pattern): Removed unused constructor.
7627 2004-05-05  Guilhem Lavaux <guilhem@kaffe.org>
7629         * java/text/SimpleDateFormat.java:
7630         (formatWithAttribute): New method. It implements
7631         the formatting process with attributes.
7632         (format): Use formatWithAttribute.
7633         (formatToCharacterIterator): New method. Use
7634         formatWithAttribute.
7636 2004-05-05  Guilhem Lavaux <guilhem@kaffe.org>
7638         * java/text/MessageFormat.java:
7639         (class Field): New class.
7640         (formatToCharacterIterator): New method.
7641         (format): Use formatInternal now.
7642         (formatInternal): New method. String formatter should
7643         be done here (with attributes). Attributes merging supported.
7644         (parse): More documentation.
7645         (getFormatsByArgumentIndex): New method.
7646         (setFormatByArgumentIndex): New method.
7647         (setFormatsByArgumentIndex): New method.
7649 2004-05-05  Guilhem Lavaux <guilhem@kaffe.org>
7651         * java/text/DecimalFormat.java
7652         (MAXIMUM_INTEGER_DIGITS): New constant to keep the numeric value 309.
7653         (applyPatternWithSymbols): Use MAXIMUM_INTEGER_DIGITS.
7654         (parse): Fixed handling of exponentiation notation and grouping.
7656 2004-05-05  Guilhem Lavaux <guilhem@kaffe.org>
7658         * java/text/DecimalFormat.java
7659         (scanFix): Build attribute array. Fixed error reporting.
7660         (applyPatternWithSymbols): Store attributes for the prefix and
7661         suffix.
7662         (formatInternal): New method. Changed the way the string is
7663         computed. Implemented attributes. Cleant up rounding in
7664         exponential notation.
7665         (format): Use formatInternal.
7666         (formatToCharacterIterator): New method.
7667         (exponentRound, negativePrefixRanges, positivePrefixRanges,
7668         negativePrefixAttrs, positivePrefixAttrs, negativeSuffixRanges,
7669         positiveSuffixRanges, negativeSuffixAttrs, positiveSuffixAttrs):
7670         New fields.
7672 2004-05-04  Dalibor Topic  <robilad@kaffe.org>
7674         * java/security/interfaces/DSAKeyPairGenerator.java,
7675         java/security/interfaces/DSAPrivateKey.java,
7676         java/security/interfaces/DSAPublicKey.java,
7677         java/security/interfaces/RSAPrivateKey.java,
7678         java/security/interfaces/RSAPublicKey.java:
7679         Cleaned up imports.
7681 2004-05-04  Michael Koch  <konqueror@gmx.de>
7683         * java/nio/ByteBuffer.java,
7684         java/nio/CharBuffer.java,
7685         java/nio/DoubleBuffer.java,
7686         java/nio/FloatBuffer.java,
7687         java/nio/IntBuffer.java,
7688         java/nio/LongBuffer.java,
7689         java/nio/ShortBuffer.java:
7690         (compareTo): Fixed bogus implementation in all buffer classes.
7692 2004-05-04  Ingo Proetel  <proetel@aicas.com>
7694         * java/awt/image/ColorModel.java (getRGBdefault): Default ColorModel has
7695         32 bit pixels not 8 bit pixels.
7696         (isCompatibleRaster): Added javadoc comment.
7698 2004-05-04  Ingo Proetel  <proetel@aicas.com>
7700         * java/awt/image/ComponentSampleModel.java (setDataSamples):Do not reset
7701         scanline stride.
7703 2004-05-04  Ingo Proetel  <proetel@aicas.com>
7705         * java/awt/ColorPaintContext.java (<init>): Added ColorModel to signature.
7706         (getColorModel): Return the actual color model.
7707         (getRaster): Implemented.
7708         (ColorRaster): New inner class.
7709         * java/awt/SystemColor.java (createContext): Use ColorModel when creating
7710         a PaintContext.
7711         * java/awt/Color.java (<init>): Make exception more verbose.
7712         (createContext): Use ColorModel when creating a PaintContext.
7714 2004-05-04  Michael Koch  <konqueror@gmx.de>
7716         * gnu/java/text/CharacterBreakIterator.java
7717         (previous): Removed unused variable.
7719 2004-05-04  Guilhem Lavaux <guilhem@kaffe.org>
7721         * gnu/java/text/FormatBuffer.java,
7722         gnu/java/text/AttributedFormatBuffer.java,
7723         gnu/java/text/StringFormatBuffer.java: New classes to implement
7724         attributed iterators in java.text.
7725         * gnu/java/text/FormatCharacterIterator.java: Moved 
7726         from java/text as it is an internal class.
7727         * java/text/FormatCharacterIterator.java: Removed.
7728         * java/text/Format.java:
7729         Import gnu.java.text.FormatCharacterIterator.
7730         * Makefile.am (java_source_files): Added new files.
7731         * Makefile.in: Regenerated.
7732         
7734 2004-05-04  Mark Wielaard  <mark@klomp.org>
7736         * gnu/java/nio/channels/FileChannelImpl.java (finalize): New method.
7738 2004-05-03  Andreas Tobler  <a.tobler@schweiz.ch>
7740         * Makefile.am (WARNINGS): Replace -W with the more speaking -Wextra.
7741         * Makefile.in: Rebuilt.
7743 2004-05-03  Mark Wielaard  <mark@klomp.org>
7745         * gnu/java/security/der/DERReader.java: Call static methods staticly.
7746         * java/awt/TextComponent.java (select): Use selectionEnd parameter.
7747         * java/net/URL.java
7748         (set(String, String, int, String, String, String, String, String)):
7749         Assign this.file to path or path + "?" + query.
7750         * java/util/Arrays.java: Call static methods staticly.
7751         * java/util/zip/ZipEntry.java: Likewise.
7752         * javax/swing/plaf/basic/BasicArrowButton.java (setDirection): Assign
7753         dir to this.direction.
7754         * javax/swing/table/DefaultTableCellRenderer.java (noFocusBorder):
7755         Assign static field only once.
7756         (DefaultTableCellRenderer): Don't reassign noFocusBorder each time.
7758 2004-05-03  Mark Wielaard  <mark@klomp.org>
7760         * gnu/java/awt/peer/gtk/GtkTextAreaPeer.java (minimumSize): Removed
7761         unused variables hScrollbarHeight and vScrollbarWidth.
7762         (preferredSize): Likewise.
7763         * gnu/java/security/provider/DSAParameters.java (engineToString):
7764         Removed unused call to System.getProperty("line.seperator");
7765         * java/security/Security.java (loadProviders): Return result.
7767 2004-05-03  Tom Tromey  <tromey@redhat.com>
7769         * java/net/URLStreamHandler.java (toExternalForm): Removed
7770         unused variables.
7771         unused constructor.
7772         * java/math/BigDecimal.java (divide): Removed unused variable.
7773         * java/lang/Throwable.java: Cleaned up imports.
7774         * java/lang/ClassLoader.java: Cleaned up imports.
7775         * java/io/FilePermission.java (implies): Removed unused
7776         variable.
7777         * java/awt/TextComponent.java: Removed unused import.
7778         * gnu/java/util/prefs/NodeReader.java: Cleaned up imports.
7779         * gnu/java/util/DoubleEnumeration.java: Removed unused import.
7780         * gnu/java/text/WordBreakIterator.java: Removed unused import.
7781         * gnu/java/text/SentenceBreakIterator.java: Removed unused
7782         import.
7783         * gnu/java/text/LineBreakIterator.java: Removed unused import.
7784         * gnu/java/text/CharacterBreakIterator.java: Removed
7785         unused import.
7786         * gnu/java/security/provider/DSAKeyPairGenerator.java:
7787         Cleaned up imports.
7788         * gnu/java/security/der/DERWriter.java: Cleaned up imports.
7789         * gnu/java/nio/charset/UTF_16Decoder.java (put): Removed
7790         unused method.
7791         * gnu/java/nio/SocketChannelImpl.java: Cleaned up imports.
7792         * gnu/java/nio/FileLockImpl.java: Cleaned up imports.
7793         * gnu/java/io/Base64InputStream.java: Cleaned up imports.
7794         * gnu/java/beans/info/ComponentBeanInfo.java: Cleaned up imports.
7795         * gnu/classpath/ServiceFactory.java: Cleaned up imports.
7796         (lookupProviders): Removed unused variable.
7797         (loadNextServiceProvider): Likewise.
7798         * gnu/java/beans/BeanInfoEmbryo.java: Cleaned up imports.
7800 2004-05-03  Michael Koch  <konqueror@gmx.de>
7802         Fixes PR libgcj/14695:
7803         * java/net/NetworkInterface.java
7804         (getByName): Return null when no interface was found.
7806 2004-04-30  Ranjit Mathew  <rmathew@hotmail.com>
7807             Tom Tromey  <tromey@redhat.com>
7809         * testsuite/libjava.jni/jni.exp (gcj_jni_compile_c_to_so): Use
7810         additional option "-Wmissing-prototypes" for compiling C sources.
7811         Print actual filename for pass/fail rather than $name.c.
7812         * testsuite/libjava.jni/PR15133.java: New testcase file.
7813         * testsuite/libjava.jni/PR15133.c: Likewise.
7814         * testsuite/libjava.jni/PR15133.out: Likewise.
7816 2004-04-30  Roger Sayle  <roger@eyesopen.com>
7818         * testsuite/libjava.lang/MathBuiltin.java: Add tests for acos, asin,
7819         ceil and floor.
7821 2004-04-25  Ranjit Mathew  <rmathew@hotmail.com>
7822         
7823         * testsuite/libjava.jacks/jacks.exp (gcj_jacks_write): Explicitly
7824         limit the maximum heap size to avoid unnecessary thrashing.
7826 2004-04-24  Jerry Quinn  <jlquinn@optonline.net>
7828         * java/text/CollationElementIterator.java (reset): Reset
7829         lookahead variables.
7831 2004-04-23  Mark Wielaard  <mark@klomp.org>
7833         * jni/classpath/jcl.c: Changed C++ comments into C comments.
7835 2004-04-23 Dalibor Topic <robilad@kaffe.org>
7837         * java/sql/DriverManager.java:
7838         Cleaned up imports.
7840 2004-04-23  Michael Koch  <konqueror@gmx.de>
7842         * java/net/URL.java
7843         (hashcode): Don't initialize with default value explicitely.
7844         (getContent): Removed redundant "final" keyword.
7845         (openStream): Likewise.
7846         (getURLStreamHandler): Fixed coding style.
7847         * java/net/URLConnection.java
7848         (defaultAllowUserInteraction): Don't initialize with default value
7849         explicitely.
7850         (connected): Likewise.
7851         (doOutput): Likewise.
7852         (ifModifiedSince): Likewise.
7853         (dateformats_initialized): Likewise.
7854         (setURLStreamHander): Use StreamTokenizer where it belongs to.
7856 2004-04-23  Michael Koch  <konqueror@gmx.de>
7858         * gnu/java/nio/channels/FileChannelImpl.java
7859         (SET, CUR): Unused, removed.
7860         (read): Implement here directly.
7861         (implRead): Removed.
7862         (write): Implement here directly.
7863         (implWrite): Removed.
7865 2004-04-23  Dalibor Topic  <robilad@kaffe.org>
7867         * javax/rmi/CORBA/PortableRemoteObjectDelegate.java,
7868         javax/rmi/CORBA/Stub.java,
7869         javax/rmi/CORBA/Util.java,
7870         javax/rmi/CORBA/ValueHandler.java,
7871         javax/rmi/CORBA/ValueHandler.java,
7872         javax/rmi/PortableRemoteObject.java:
7873         Cleaned up imports.
7875 2004-04-23 Dalibor Topic <robilad@kaffe.org>
7877         * java/util/jar/JarFile.java,
7878         java/util/jar/JarInputStream.java,
7879         java/util/jar/JarOutputStream.java,
7880         java/util/jar/Manifest.java:
7881         Cleaned up imports.
7883 2004-04-23 Dalibor Topic <robilad@kaffe.org>
7885         * java/util/ArrayList.java,
7886         java/util/Calendar.java,
7887         java/util/Currency.java,
7888         java/util/HashMap.java,
7889         java/util/HashSet.java,
7890         java/util/Hashtable.java,
7891         java/util/LinkedList.java,
7892         java/util/Properties.java,
7893         java/util/PropertyPermission.java,
7894         java/util/TimeZone.java,
7895         java/util/TreeMap.java,
7896         java/util/TreeSet.java,
7897         java/util/Vector.java,
7898         java/util/WeakHashMap.java:
7899         Cleaned up imports.
7901 2004-04-23  Dalibor Topic  <robilad@kaffe.org>
7903         * java/util/logging/FileHandler.java,
7904         java/util/logging/Formatter.java,
7905         java/util/logging/Handler.java,
7906         java/util/logging/Logger.java,
7907         java/util/logging/SimpleFormatter.java,
7908         java/util/logging/XMLFormatter.java:
7909         Cleaned up imports.
7911 2004-04-22  Mark Wielaard  <mark@klomp.org>
7913         * Makefile.am (PEDANTIC_CFLAGS): New -ansi -pedantic -Wall
7914         -Wno-long-long flags variable.
7915         (gtk_c_files): Use PEDANTIC_CFLAGS.
7916         * Makefile.in: Regenerated.
7918 2004-04-22  Mark Wielaard  <mark@klomp.org>
7920         * native/jni/gtk-peer/gnu_java_awt_peer_gtk_GtkComponentPeer.c:
7921         Changed C++ comments into C comments.
7922         * native/jni/gtk-peer/gnu_java_awt_peer_gtk_GtkMenuPeer.c:
7923         Likewise.
7925 2004-04-22  Michael Koch  <konqueror@gmx.de>
7927         * jni/gtk-peer/gnu_java_awt_peer_gtk_GtkPopupMenuPeer.c:
7928         Merged copyright year with GNU classpath.
7930 2004-04-22  Dalibor Topic  <robilad@kaffe.org>
7932         * javax/security/auth/x500/X500Principal.java:
7933         Cleaned up imports.
7935 2004-04-22  Dalibor Topic  <robilad@kaffe.org>
7937         * javax/swing/JSlider.java:
7938         Fixed HTML tags in comments.
7940 2004-04-22  Dalibor Topic  <robilad@kaffe.org>
7942         * javax/accessibility/AccessibleText.java:
7943         Cleaned up imports.
7945 2004-04-22  Jeroen Frijters <jeroen@sumatra.nl>
7947         * java/net/URLStreamHandler.java
7948         (parseURL): Convert the file path to using '/' instead of native
7949         file separator.
7951 2004-04-22  Guilhem Lavaux <guilhem@kaffe.org>
7953         * java/net/URL.java
7954         (userInfo): New field.
7955         (URL): Set authority to the right value.
7956         (setURL): Fixed authority and file initialization.
7957         * java/net/URLStreamHandler.java
7958         (parseURL): Take care of the query tag. Build authority.
7959         (toExternalForm): Fixed URL building using authority.
7961 2004-04-22  Michael Koch  <konqueror@gmx.de>
7963         * java/net/Socket.java
7964         (impl): Made package-private.
7965         * java/net/ServerSocket.java
7966         (implAccept): Access Socket.impl field directly.
7968 2004-04-22  Dalibor Topic  <robilad@kaffe.org>
7970         * java/util/prefs/Preferences.java,
7971         java/util/prefs/InvalidPreferencesFormatException.java,
7972         java/util/prefs/BackingStoreException.java,
7973         java/util/prefs/AbstractPreferences.java:
7974         Cleaned up imports.
7976 2004-04-22  Dalibor Topic  <robilad@kaffe.org>
7978         * java/util/regex/Matcher.java,
7979         java/util/regex/Pattern.java:
7980         Cleaned up imports.
7982 2004-04-22  Michael Koch  <konqueror@gmx.de>
7984         * java/nio/charset/IllegalCharsetNameException.java
7985         (charsetName): Made private.
7986         (IllegalCharsetNameException): Added @param tag to javadoc.
7987         (getCharsetName): Added @return tag to javadoc.
7988         * java/nio/charset/MalformedInputException.java
7989         (MalformedInputException): Added @param tag to javadoc.
7990         (getInputLength): Revised method description, added @return tag.
7991         (getMessage): Added @return tag.
7993 2004-04-22  Jerry Quinn  <jlquinn@optonline.net>
7995         * java/awt/Font.java (deriveFont): Implement missing variants.
7996         * gnu/java/awt/peer/ClasspathFontPeer.java (deriveFont): Implement
7997         missing variants.
7999 2004-04-21  Bryce McKinlay  <mckinlay@redhat.com>
8001         * java/lang/natClass.cc (_Jv_LayoutInterfaceMethods): New method.
8002         Set method->index values for interface methods to their itable index.
8003         (initializeClass): Call _Jv_LayoutInterfaceMethods.
8005 2004-04-21  Michael Koch  <konqueror@gmx.de>
8007         * java/nio/DirectByteBufferImpl.java
8008         (shiftDown): Made static, give address as argument and
8009         provide a convenience method that overwrites shiftDown in
8010         ByteBufferImpl and calls the native shiftDown.
8011         * java/nio/MappedByteBufferImpl.java
8012         (): Use optimized method in DirectByteBufferImpl.
8013         * java/nio/natDirectByteBufferImpl.cc
8014         (shiftDown): Changed method signature. Removed usage of array_offset.
8016 2004-04-21  Michael Koch  <konqueror@gmx.de>
8018         * gnu/java/net/natPlainSocketImplPosix.cc
8019         (SocketInputStream::read): Make sure returned data is a byte value.
8021 2004-04-21  Michael Koch  <konqueror@gmx.de>
8023         * gnu/classpath/ServiceFactory.java,
8024         gnu/classpath/ServiceProviderLoadingAction.java,
8025         javax/imageio/ImageReader.java,
8026         javax/imageio/ImageTranscoder.java,
8027         javax/imageio/ImageWriter.java,
8028         javax/imageio/package.html,
8029         javax/imageio/spi/IIOServiceProvider.java,
8030         javax/imageio/spi/ImageInputStreamSpi.java,
8031         javax/imageio/spi/ImageOutputStreamSpi.java,
8032         javax/imageio/spi/ImageReaderWriterSpi.java,
8033         javax/imageio/spi/ImageTranscoderSpi.java,
8034         javax/imageio/spi/RegisterableService.java,
8035         javax/imageio/spi/ServiceRegistry.java,
8036         javax/imageio/spi/package.html,
8037         javax/imageio/stream/IIOByteBuffer.java,
8038         javax/imageio/stream/ImageInputStream.java,
8039         javax/imageio/stream/ImageOutputStream.java,
8040         javax/imageio/stream/package.html:
8041         New files.
8042         * Makefile.am
8043         (ordinary_java_source_files): Added
8044         gnu/classpath/ServiceFactory.java and
8045         gnu/classpath/ServiceProviderLoadingAction.java.
8046         (javax_source_files): Added
8047         javax/imageio/ImageReader.java,
8048         javax/imageio/ImageTranscoder.java,
8049         javax/imageio/ImageWriter.java,
8050         javax/imageio/spi/IIOServiceProvider.java,
8051         javax/imageio/spi/ImageInputStreamSpi.java,
8052         javax/imageio/spi/ImageOutputStreamSpi.java,
8053         javax/imageio/spi/ImageReaderWriterSpi.java,
8054         javax/imageio/spi/ImageTranscoderSpi.java,
8055         javax/imageio/spi/RegisterableService.java,
8056         javax/imageio/spi/ServiceRegistry.java,
8057         javax/imageio/stream/IIOByteBuffer.java,
8058         javax/imageio/stream/ImageInputStream.java and
8059         javax/imageio/stream/ImageOutputStream.java.
8060         * Makefile.in: Regenerated.
8062 2004-04-21  Michael Koch  <konqueror@gmx.de>
8064         * java/util/Properties.java
8065         (load): Fix wrongly merged fix.
8067 2004-04-21  Mark Wielaard  <mark@klomp.org>
8069         * native/jni/gtk-peer/gthread-jni.c (maybe_rethrow): Explicitly
8070         malloc and free buf.
8072 2004-04-21  Dalibor Topic  <robilad@kaffe.org>
8074         * javax/naming/AuthenticationException.java,
8075         javax/naming/AuthenticationNotSupportedException.java,
8076         javax/naming/CannotProceedException.java,
8077         javax/naming/CommunicationException.java,
8078         javax/naming/CompoundName.java,
8079         javax/naming/ConfigurationException.java,
8080         javax/naming/ContextNotEmptyException.java,
8081         javax/naming/InitialContext.java,
8082         javax/naming/InsufficientResourcesException.java,
8083         javax/naming/InterruptedNamingException.java,
8084         javax/naming/LimitExceededException.java,
8085         javax/naming/LinkException.java,
8086         javax/naming/LinkLoopException.java,
8087         javax/naming/LinkRef.java,
8088         javax/naming/MalformedLinkException.java,
8089         javax/naming/Name.java,
8090         javax/naming/NameAlreadyBoundException.java,
8091         javax/naming/NameNotFoundException.java,
8092         javax/naming/NamingSecurityException.java,
8093         javax/naming/NoInitialContextException.java,
8094         javax/naming/NoPermissionException.java,
8095         javax/naming/NotContextException.java,
8096         javax/naming/PartialResultException.java,
8097         javax/naming/ReferralException.java,
8098         javax/naming/ServiceUnavailableException.java,
8099         javax/naming/SizeLimitExceededException.java,
8100         javax/naming/TimeLimitExceededException.java,
8101         javax/naming/directory/Attribute.java,
8102         javax/naming/directory/Attributes.java,
8103         javax/naming/directory/SearchResult.java,
8104         javax/naming/event/NamingExceptionEvent.java,
8105         javax/naming/spi/ResolveResult.java:
8106         Cleaned up imports.
8108 2004-04-21  Mark Wielaard  <mark@klomp.org>
8110         * native/jni/gtk-peer/gnu_java_awt_peer_gtk_GtkCheckboxPeer.c:
8111         Changed C++ comments into C comments. Removed commented out code.
8112         * native/jni/gtk-peer/gnu_java_awt_peer_gtk_GtkComponentPeer.c:
8113         Likewise.
8114         * native/jni/gtk-peer/gnu_java_awt_peer_gtk_GtkEvents.c:
8115         Likewise.
8116         * native/jni/gtk-peer/gnu_java_awt_peer_gtk_GtkFileDialogPeer.c:
8117         Likewise.
8118         * native/jni/gtk-peer/gnu_java_awt_peer_gtk_GtkListPeer.c:
8119         Likewise.
8120         * native/jni/gtk-peer/gnu_java_awt_peer_gtk_GtkTextComponentPeer.c:
8121         Likewise.
8122         * native/jni/gtk-peer/gthread-jni.c:
8123         Likewise.
8125 2004-04-21  Mark Wielaard  <mark@klomp.org>
8127         * javax/awt/JFrame.java: Implement WindowConstants. Remove final
8128         static fields defined in interface.
8129         * javax/awt/JDialog.java: Likewise.
8130         (JDialog): Make constructors public.
8131         (getDefaultCloseOperation): Make public.
8132         (processWindowEvent): Call System.exit(0) when EXIT_ON_CLOSE set.
8133         (setDefaultCloseOperation): Make public. Check argument. Add API doc.
8134         * javax/swing/JViewport.java (JViewport): Make constructor public.
8136 2004-04-21  Michael Koch  <konqueror@gmx.de>
8138         * java/util/Map.java
8139         (Entry): Removed redundant "static" modifier.
8140         * java/text/AttributedCharacterIterator.java:
8141         Updated copyright year.
8143 2004-04-20  Michael Koch  <konqueror@gmx.de>
8145         * javax/naming/directory/SearchControls.java:
8146         Don't explicitely extend java.lang.Object.
8147         * javax/naming/spi/DirStateFactory.java:
8148         Merged copyright year with GNU classpath.
8150 2004-04-20  Michael Koch  <konqueror@gmx.de>
8152         * java/nio/channels/Channels.java:
8153         Merged coding style with GNU classpath.
8155 2004-04-20  Michael Koch  <konqueror@gmx.de>
8157         * java/net/ServerSocket.java
8158         Merged coding style from GNU classpath.
8160 2004-04-20  Michael Koch  <konqueror@gmx.de>
8162         * java/io/BufferedWriter.java:
8163         Reordered variables to be at top of the class.
8164         (localFlush): Removed redundant final keyword.
8166 2004-04-20  Ingo Proetel  <proetel@aicas.com>
8168         * java/awt/event/MouseEvent.java (<init>): fixed field assignment 
8170 2004-04-20  Jeroen Frijters  <jeroen@frijters.net>
8172         * java/text/DecimalFormat.java (scanFix): Removed suffix check
8173         for percent and permill check.
8175 2004-04-20  Guilhem Lavaux <guilhem@kaffe.org>
8177         * java/text/FieldPosition.java
8178         (FieldPosition) Constructor now behaves as it should according
8179         to the java documentation.
8181 2004-04-20  Mark Wielaard  <mark@klomp.org>
8183         * java/util/Properties.java: Use the word umlaut, not &auml; in api
8184         documentation.
8186 2004-04-20  Michael Koch  <konqueror@gmx.de>
8188         * java/nio/Buffer.java,
8189         java/nio/channels/AlreadyConnectedException.java,
8190         java/nio/channels/AsynchronousCloseException.java,
8191         java/nio/channels/ByteChannel.java,
8192         java/nio/channels/CancelledKeyException.java,
8193         java/nio/channels/Channel.java,
8194         java/nio/channels/Channels.java,
8195         java/nio/channels/ClosedByInterruptException.java,
8196         java/nio/channels/ClosedChannelException.java,
8197         java/nio/channels/ClosedSelectorException.java,
8198         java/nio/channels/ConnectionPendingException.java,
8199         java/nio/channels/DatagramChannel.java,
8200         java/nio/channels/FileChannel.java,
8201         java/nio/channels/FileLock.java,
8202         java/nio/channels/FileLockInterruptionException.java,
8203         java/nio/channels/GatheringByteChannel.java,
8204         java/nio/channels/IllegalBlockingModeException.java,
8205         java/nio/channels/IllegalSelectorException.java,
8206         java/nio/channels/InterruptibleChannel.java,
8207         java/nio/channels/NoConnectionPendingException.java,
8208         java/nio/channels/NonReadableChannelException.java,
8209         java/nio/channels/NonWritableChannelException.java,
8210         java/nio/channels/NotYetBoundException.java,
8211         java/nio/channels/NotYetConnectedException.java,
8212         java/nio/channels/OverlappingFileLockException.java,
8213         java/nio/channels/Pipe.java,
8214         java/nio/channels/ReadableByteChannel.java,
8215         java/nio/channels/ScatteringByteChannel.java,
8216         java/nio/channels/SelectableChannel.java,
8217         java/nio/channels/SelectionKey.java,
8218         java/nio/channels/Selector.java,
8219         java/nio/channels/ServerSocketChannel.java,
8220         java/nio/channels/SocketChannel.java,
8221         java/nio/channels/UnresolvedAddressException.java,
8222         java/nio/channels/UnsupportedAddressTypeException.java,
8223         java/nio/channels/WritableByteChannel.java,
8224         java/nio/channels/spi/AbstractInterruptibleChannel.java,
8225         java/nio/channels/spi/AbstractSelectableChannel.java,
8226         java/nio/channels/spi/AbstractSelectionKey.java,
8227         java/nio/channels/spi/AbstractSelector.java,
8228         java/nio/channels/spi/SelectorProvider.java,
8229         java/nio/charset/spi/CharsetProvider.java:
8230         Fixed javadocs and jalopied all over java.nio.
8232 2004-04-20  Michael Koch  <konqueror@gmx.de>
8234         * java/nio/ByteBufferImpl.java,
8235         java/nio/CharBufferImpl.java,
8236         java/nio/DirectByteBufferImpl.java,
8237         java/nio/DoubleBufferImpl.java,
8238         java/nio/DoubleViewBufferImpl.java,
8239         java/nio/FloatBufferImpl.java,
8240         java/nio/FloatViewBufferImpl.java,
8241         java/nio/IntBufferImpl.java,
8242         java/nio/IntViewBufferImpl.java,
8243         java/nio/LongBufferImpl.java,
8244         java/nio/LongViewBufferImpl.java,
8245         java/nio/MappedByteBufferImpl.java,
8246         java/nio/ShortBufferImpl.java,
8247         java/nio/ShortViewBufferImpl.java:
8248         Made sure all classes are final and removed final keyword from all
8249         methods.
8251 2004-04-20  Michael Koch  <konqueror@gmx.de>
8253         * java/rmi/MarshalledObject.java,
8254         java/rmi/Naming.java,
8255         java/rmi/RemoteException.java,
8256         java/rmi/activation/ActivationException.java,
8257         java/rmi/server/ServerCloneException.java,
8258         java/security/AccessController.java,
8259         java/security/AlgorithmParameterGenerator.java,
8260         java/security/AlgorithmParameters.java,
8261         java/security/CodeSource.java,
8262         java/security/Identity.java,
8263         java/security/IdentityScope.java,
8264         java/security/KeyPairGenerator.java,
8265         java/security/KeyStore.java,
8266         java/security/Security.java,
8267         java/security/Signature.java,
8268         java/security/SignatureSpi.java,
8269         java/security/SignedObject.java,
8270         java/security/spec/DSAParameterSpec.java,
8271         java/security/spec/DSAPrivateKeySpec.java,
8272         java/security/spec/DSAPublicKeySpec.java,
8273         java/sql/Array.java,
8274         java/sql/DatabaseMetaData.java,
8275         java/sql/ResultSet.java,
8276         java/text/ChoiceFormat.java,
8277         java/text/CollationElementIterator.java,
8278         java/text/CollationKey.java,
8279         java/text/Collator.java,
8280         java/text/DateFormat.java,
8281         java/text/DateFormatSymbols.java,
8282         java/text/DecimalFormatSymbols.java,
8283         java/text/Format.java,
8284         java/text/ParsePosition.java,
8285         java/text/RuleBasedCollator.java,
8286         java/text/SimpleDateFormat.java,
8287         java/text/StringCharacterIterator.java,
8288         java/util/Collections.java,
8289         java/util/PropertyResourceBundle.java,
8290         java/util/ResourceBundle.java,
8291         java/util/StringTokenizer.java,
8292         java/util/jar/Attributes.java,
8293         java/util/logging/ConsoleHandler.java,
8294         java/util/logging/LogManager.java,
8295         java/util/logging/MemoryHandler.java,
8296         java/util/logging/SocketHandler.java,
8297         javax/naming/NamingException.java:
8298         Fixed javadoc, coding style and argument names all over.
8300 2004-04-20  Jeroen Frijters  <jeroen@frijters.net>
8302         * java/io/FileDescriptor.java: (FileDescriptor) Added public
8303         constructor. (valid) Added null check.
8305 2004-04-20  Guilhem Lavaux <guilhem@kaffe.org>
8307         Reported by Nektarios Papadopoulos <npapadop@inaccessnetworks.com>
8308         * java/io/FileOutputStream.java
8309         (FileOutputStream) Reorganized constructors. Constructors now
8310         check whether the given path is directory.
8312 2004-04-20  Michael Koch  <konqueror@gmx.de>
8314         * java/net/Authenticator.java,
8315         java/net/BindException.java,
8316         java/net/ConnectException.java,
8317         java/net/ContentHandler.java,
8318         java/net/ContentHandlerFactory.java,
8319         java/net/DatagramPacket.java,
8320         java/net/DatagramSocket.java,
8321         java/net/DatagramSocketImpl.java,
8322         java/net/DatagramSocketImplFactory.java,
8323         java/net/FileNameMap.java,
8324         java/net/HttpURLConnection.java,
8325         java/net/Inet4Address.java,
8326         java/net/Inet6Address.java,
8327         java/net/InetAddress.java,
8328         java/net/InetSocketAddress.java,
8329         java/net/JarURLConnection.java,
8330         java/net/MalformedURLException.java,
8331         java/net/MulticastSocket.java,
8332         java/net/NetPermission.java,
8333         java/net/NetworkInterface.java,
8334         java/net/NoRouteToHostException.java,
8335         java/net/PasswordAuthentication.java,
8336         java/net/PortUnreachableException.java,
8337         java/net/ProtocolException.java,
8338         java/net/ServerSocket.java,
8339         java/net/Socket.java,
8340         java/net/SocketAddress.java,
8341         java/net/SocketException.java,
8342         java/net/SocketImpl.java,
8343         java/net/SocketImplFactory.java,
8344         java/net/SocketOptions.java,
8345         java/net/SocketPermission.java,
8346         java/net/SocketTimeoutException.java,
8347         java/net/URI.java,
8348         java/net/URISyntaxException.java,
8349         java/net/URL.java,
8350         java/net/URLClassLoader.java,
8351         java/net/URLConnection.java,
8352         java/net/URLDecoder.java,
8353         java/net/URLEncoder.java,
8354         java/net/URLStreamHandler.java,
8355         java/net/URLStreamHandlerFactory.java,
8356         java/net/UnknownHostException.java,
8357         java/net/UnknownServiceException.java:
8358         Fixed javadocs, coding style and argument names all over.
8360 2004-04-20  Michael Koch  <konqueror@gmx.de>
8362         * java/lang/Byte.java,
8363         java/lang/CharSequence.java,
8364         java/lang/ClassLoader.java,
8365         java/lang/Compiler.java,
8366         java/lang/Double.java,
8367         java/lang/Float.java,
8368         java/lang/Integer.java,
8369         java/lang/Long.java,
8370         java/lang/Math.java,
8371         java/lang/Number.java,
8372         java/lang/Package.java,
8373         java/lang/Runtime.java,
8374         java/lang/RuntimePermission.java,
8375         java/lang/SecurityManager.java,
8376         java/lang/Short.java,
8377         java/lang/StringBuffer.java,
8378         java/lang/System.java,
8379         java/lang/ThreadGroup.java,
8380         java/lang/Throwable.java,
8381         java/lang/reflect/InvocationHandler.java,
8382         java/lang/reflect/Proxy.java:
8383         Fixed javadocs, coding style and argument names all over.
8385 2004-04-20  Michael Koch  <konqueror@gmx.de>
8387         * java/io/BufferedWriter.java,
8388         java/io/ByteArrayInputStream.java,
8389         java/io/CharArrayWriter.java,
8390         java/io/DataInput.java,
8391         java/io/DataInputStream.java,
8392         java/io/File.java,
8393         java/io/FilterInputStream.java,
8394         java/io/InputStream.java,
8395         java/io/InputStreamReader.java,
8396         java/io/ObjectInputStream.java,
8397         java/io/ObjectStreamClass.java,
8398         java/io/PipedInputStream.java,
8399         java/io/PipedReader.java,
8400         java/io/PushbackInputStream.java,
8401         java/io/PushbackReader.java,
8402         java/io/RandomAccessFile.java,
8403         java/io/SerializablePermission.java,
8404         java/io/StreamTokenizer.java,
8405         java/io/StringWriter.java,
8406         java/io/WriteAbortedException.java,
8407         java/io/Writer.java:
8408         Fixed javadocs all over, rename arguments to match javadocs,
8409         fixed coding style.
8411 2004-04-20  Ingo Proetel  <proetel@aicas.com>
8413         * java/awt/FontMetrics.java:
8414         (charsWidth): fixed accumulation of total_width
8415         (getWidth): simple default implementation
8416         * java/awt/Polygon.java (getBoundingBox): Use correct y-coordinate
8417         in Rectangle constructor.
8418         * java/awt/image/Raster.java (toString): Added method. 
8419         * java/awt/image/SampleModel.java (<init>): Added error cause
8420         information to thrown exception.
8421         * java/awt/image/SinglePixelPackedSampleModel.java (getDataElements):
8422         New method.
8423         (setDataElements): New method.
8424         (setPixels): New method.
8425         (toString): New method.
8427 2004-04-20  Sascha Brawer  <brawer@dandelis.ch>
8429         * java/awt/image/ComponentColorModel.java
8430         (createCompatibleSampleModel): Return PixelInterleavedSampleModel
8431         for TYPE_BYTE and TYPE_USHORT transferTypes, in order to pass the
8432         Mauve tests on this method. Improved documentation.
8434 2004-04-20  Michael Koch  <konqueror@gmx.de>
8436         * javax/swing/JLayeredPane.java,
8437         javax/swing/plaf/BorderUIResource.java,
8438         javax/swing/plaf/ComponentUI.java,
8439         javax/swing/undo/CompoundEdit.java,
8440         javax/swing/undo/StateEdit.java:
8441         Fixed HTML tags in javadocs all over.
8443 2004-04-20  Michael Koch  <konqueror@gmx.de>
8445         * javax/print/attribute/EnumSyntax.java
8446         (getOffset): Made protected.
8447         * javax/print/attribute/HashAttributeSet.java
8448         (HashAttributeSet): Likewise.
8449         * javax/print/attribute/ResolutionSyntax.java
8450         (getFeedResolution): Fixed typo in exception name.
8451         (getCrossFeedResolution): Likewise.
8452         * javax/print/attribute/SetOfIntegerSyntax.java
8453         (SetOfIntegerSyntax): Fixed HTML entities in javadoc.
8454         * javax/print/attribute/TextSyntax.java
8455         (TextSyntax): Handle locale correctly.
8456         (hashCode): Calc better hashcode value.
8457         (equals): Fixed @return tag.
8458         (toString): New method.
8460 2004-04-20  Michael Koch  <konqueror@gmx.de>
8462         * gnu/java/nio/FileLockImpl.java
8463         (static): Removed, not needed anymore.
8464         * gnu/java/nio/channels/FileChannelImpl.java
8465         (FileChannelImpl): Made final.
8466         (mode): Made private.
8467         (READ, WRITE, APPEND): Made public.
8468         (EXCL, SYNC, DSYNC): Likewise.
8469         (static): Load native JNI library, when needed.
8470         (length): Unused, removed.
8471         (available): Made public.
8472         (implPosition): Throws IOException.
8473         (seek): Likewise.
8474         (implTruncate): Likewise.
8475         (unlock): Likewise.
8476         (lock): Likewise.
8478 2004-04-20  Michael Koch  <konqueror@gmx.de>
8480         * java/awt/AWTPermission.java,
8481         java/awt/Component.java,
8482         java/awt/ComponentOrientation.java,,
8483         java/awt/Dialog.java,
8484         java/awt/FontMetrics.java,
8485         java/awt/Graphics.java,
8486         java/awt/datatransfer/DataFlavor.java,
8487         java/beans/Introspector.java,
8488         java/beans/PropertyEditor.java,
8489         java/beans/PropertyEditorManager.java,
8490         java/beans/beancontext/BeanContextServiceProvider.java:
8491         Fixed HTML tags in javadocs all over.
8493 2004-04-20  Mark Wielaard  <mark@klomp.org>
8495         * gnu/java/awt/peer/gtk/GtkFontPeer.java: Use fallback when
8496         MissingResourceException is thrown.
8497         * gnu/java/awt/peer/gtk/GtkToolkit.java (getFontPeer): Don't return
8498         null when a MissingResourceException is thrown. Should never happen.
8500 2004-04-20  Sascha Brawer  <brawer@dandelis.ch>
8502         * java/awt/image/DataBufferShort.java,
8503         java/awt/image/DataBufferFloat.java,
8504         java/awt/image/DataBufferDouble.java,
8505         java/awt/image/PixelInterleavedSampleModel.java: New files.
8506         * gnu/java/awt/Buffers.java (createBuffer, createBufferFromData,
8507         getData): Added support for TYPE_SHORT, TYPE_FLOAT and TYPE_DOUBLE.
8509 2004-04-20  Michael Koch  <konqueror@gmx.de>
8511         * Makefile.am (java_source_files): Added
8512         java/awt/image/DataBufferDouble.java,
8513         java/awt/image/DataBufferFloat.java,
8514         java/awt/image/DataBufferShort.java and
8515         java/awt/image/PixelInterleavedSampleModel.java.
8516         * Makefile.in: Regenerated.
8518 2004-04-19  Bryce McKinlay  <mckinlay@redhat.com>
8520         * gcj/cni.h (JvAllocObject): Remove these obsolete, 
8521         undocumented CNI calls.
8522         * include/java-interp.h (_Jv_InterpClass): No longer
8523         extends java.lang.Class.
8524         * java/lang/Class.h (Class): Add new field `aux_info'.
8525         * boehm.cc (_Jv_MarkObj): Update java.lang.Class marking.
8526         * defineclass.cc: Remove Class<->_Jv_InterpClass casts.
8527         Use Class->aux_info instead.
8528         * jni.cc (_Jv_JNI_AllocObject): Use _Jv_AllocObject.
8529         * resolve.cc: Remove Class<->_Jv_InterpClass casts.
8530         Use Class->aux_info instead.
8531         * java/io/natObjectInputStream.cc (allocateObject): Use
8532         _Jv_AllocObject.
8533         * java/lang/natClass.cc (newInstance): Likewise.
8534         * java/lang/natClassLoader.cc (_Jv_NewClass): Likewise.
8535         * java/lang/natObject.cc (clone): Likewise.
8536         * java/lang/reflect/natMethod.cc (_Jv_CallAnyMethodA): Likewise.
8537         * java/lang/natVMClassLoader.cc (defineClass): Don't use
8538         JvAllocObject. Allocate klass->aux_info here for interpreted
8539         class.
8540         
8541 2004-04-17  Mark Wielaard  <mark@klomp.org>
8543         * javax/swing/JToggleButton.java (ToggleButtonModel):
8544         Make public static inner class.
8545         * javax/swing/JTabbedPane.java (setComponentAt):
8546         Call Page.setComponent().
8547         (SCROLL_TAB_LAYOUT): Make public, value is 1.
8548         (WRAP_TAB_LAYOUT): Make public, value is 0.
8549         * javax/swing/plaf/basic/BasicTabbedPaneUI.java (ScrollingButton):
8550         Make private static inner class.
8552 2004-04-16  Bryce McKinlay  <mckinlay@redhat.com>
8554         * interpret.cc (_Jv_InterpMethod::run): Update _Jv_AllocObject
8555         arguments to match new signature. Remove FIXME comments.
8557 2004-04-09  Thomas Fitzsimmons  <fitzsim@redhat.com>
8559         * gnu/java/awt/peer/gtk/GtkPanelPeer.java (connectSignals):
8560         Remove method.
8561         * jni/gtk-peer/gnu_java_awt_peer_gtk_GtkPanelPeer.c: Remove
8562         unused code.
8564 2004-04-02  Olga Rodimina  <rodimina@redhat.com>
8566         * Makefile.am: Added new file.
8567         * Makefile.in: Regenerate.
8568         * javax/swing/ImageIcon.java: 
8569         (ImageIcon(file)): set description of the icon 
8570         to the file name
8571         * javax/swing/JCheckBoxMenuItem.java:
8572         Mostly Implemented. Work in progress.
8573         * javax/swing/JRadioButtonMenuItem.java:
8574         Reimplement constructors to use JToggleButtonModel.
8575         * javax/swing/plaf/basic/BasicIconFactory.java:
8576         (getCheckBoxMenuItemIcon): return check box
8577         icon.
8578         * javax/swing/plaf/basic/BasicMenuItemUI.java:
8579         paint menu item selected only when it is armed and 
8580         pressed. 
8582 2004-04-02  David Jee  <djee@redhat.com>
8584         * gnu/java/awt/peer/gtk/GtkMenuItemPeer.java
8585         (GtkMenuItemPeer): Only connect signals if this isn't a Menu peer.
8586         * java/awt/Component.java
8587         (add): Set the parent of the popup as this component.
8588         * java/awt/PopupMenu.java
8589         (addNotify): Create popup menu when peer is null.
8590         (show): Call addNotify() if peer is null.
8591         * jni/gtk-peer/gnu_java_awt_peer_gtk_GtkPopupMenuPeer.c
8592         (Java_gnu_java_awt_peer_gtk_GtkPopupMenuPeer_show): Set the button
8593         argument for gtk_menu_popup() as zero. This causes the popup menu to
8594         respond to any mouse button.
8596 2004-03-31  Olga Rodimina  <rodimina@redhat.com>
8598         * Makefile.am: Added new file.
8599         * Makefile.in: Regenerate.
8600         * javax/swing/JRadioButtonMenuItem.java:
8601         Implemented.
8602         * javax/swing/plaf/basic/BasicIconFactory.java:
8603         (getRadioButtonMenuItemIcon): Return
8604         radio button icon.
8605         * javax/swing/plaf/basic/BasicMenuItemUI.java:
8606         (getPreferredSize): Add size of checkIcon if it
8607         exists.
8608         (installDefaults): Don't initialize checkIcon.
8609         It's value will be set in subclasses. 
8610         (uninstallDefaults): remove uninstallation of 
8611         checkIcon.
8612         (paint): Moved code to paintMenuItem().
8613         (paintMenuItem): Implemented.
8614         * javax/swing/plaf/basic/BasicRadioButtonMenuItemUI.java:
8615         UI delegate for JRadioButtonMenuItem.
8616         
8617 2004-03-29  Olga Rodimina  <rodimina@redhat.com>
8619         * javax/swing/plaf/basic/BasicMenuItemUI.java:
8620         Corrected position of the accelerator.
8622 2004-03-29  Olga Rodimina  <rodimina@redhat.com>
8624         * Makefile.am: Added new file. 
8625         * Makefile.in: Regenerate.
8626         * javax/swing/JMenuItem.java: Partly 
8627         implemented. Work in progress
8628         * javax/swing/plaf/basic/BasicLookAndFeel.java:
8629         Changed default value of acceleratorDelimiter.
8630         * javax/swing/plaf/basic/BasicMenuItemUI.java:
8631         New class. Partly implemented.
8632                 
8633 2004-03-26  Mark Wielaard  <mark@klomp.org>
8635         * native/jni/gtk-peer/gnu_java_awt_peer_gtk_GtkChoicePeer.c
8636         (item_activate): Declare label before use.
8637         * native/jni/gtk-peer/gnu_java_awt_peer_gtk_GtkComponentPeer.c
8638         (gtkSetFont): Removed unused variable label.
8639         (addExposeFilter): Declare variables before use.
8640         (removeExposeFilter): Likewise.
8641         * native/jni/gtk-peer/gnu_java_awt_peer_gtk_GtkFileDialogPeer.c
8642         (ok_clicked): Declare str_fileName before use.
8644 2004-03-26  David Jee  <djee@redhat.com>
8646         * gnu/java/awt/peer/gtk/GtkMenuPeer.java
8647         (addSeparator): Remove.
8648         * java/awt/Menu.java
8649         (separator): Remove static final MenuItem field.
8650         (separatorLabel): New static final String field.
8651         (addSeparator): Do not use peer method; use add(MenuItem) instead.
8652         Use separatorLabel to denote that it is a separator.
8653         (insertSeparator): Create a new MenuItem with separatorLabel, instead
8654         of reusing the static separator instance, because a MenuItem instance
8655         can't be added more than once without being cloned.
8656         * java/awt/peer/MenuPeer.java
8657         (addSeparator): Remove from interface.
8659 2004-03-26  David Jee  <djee@redhat.com>
8661         * gnu/java/awt/peer/gtk/GtkMenuItemPeer.java
8662         (connectSignals): New native method declaration.
8663         (GtkMenuItemPeer): Connect signals if the parent is a Menu.
8664         * java/awt/MenuItem.java
8665         (getActionCommand): Return the label if the action command is not set.
8666         * jni/gtk-peer/gnu_java_awt_peer_gtk_GtkMenuBarPeer.c
8667         (Java_gnu_java_awt_peer_gtk_GtkMenuBarPeer_addMenu): Use
8668         gtk_menu_shell_append().
8669         * jni/gtk-peer/gnu_java_awt_peer_gtk_GtkMenuItemPeer.c
8670         (item_activate): Fix argument type.
8671         (Java_gnu_java_awt_peer_gtk_GtkMenuItemPeer_create): Do not connect
8672         signal here.
8673         (Java_gnu_java_awt_peer_gtk_GtkMenuItemPeer_connectSignals): New
8674         method.
8675         * jni/gtk-peer/gnu_java_awt_peer_gtk_GtkMenuPeer.c
8676         (Java_gnu_java_awt_peer_gtk_GtkMenuPeer_create): Check if a label is
8677         given. Add the menu widget's top-level GtkWindow to the global window
8678         group, so it can grab the pointer.
8679         (Java_gnu_java_awt_peer_gtk_GtkMenuPeer_addItem): Use
8680         gtk_menu_shell_append().
8682 2004-03-23  Graydon Hoare  <graydon@redhat.com>
8684         * java/text/AttributedString.java 
8685         (addAttribute): Fix off-by-one.
8686         (getIterator): Likewise.        
8687         * java/text/AttributedStringIterator.java 
8688         (getRunLimit): Correct logic.
8689         (getRunStart): Likewise.
8690         (getAttribute): Fix inequality.
8691         (getAttributes): Likewise.
8692         * testsuite/libjava.mauve/xfails: Remove AttributedString xfail.
8694 2004-03-23  Kim Ho  <kho@redhat.com>
8696         * javax/swing/plaf/basic/BasicTabbedPaneUI.java:
8697         (calculateSizes): Return real width and height.
8699 2004-03-23  Kim Ho  <kho@redhat.com>
8701         * javax/swing/plaf/basic/BasicTabbedPaneUI.java
8702         (calculateTabRects): Set the selectedRun before
8703         trying to rotate tabs.
8705 2004-03-23  Kim Ho  <kho@redhat.com>
8707         * Makefile.am: New file
8708         * Makefile.in: Regenerate
8709         * java/awt/Graphics.java: (drawRect):
8710         Draw to the correct point.
8711         * javax/swing/DefaultSingleSelectionModel.java
8712         (isSelected): Return true if the selected index
8713         is not -1.
8714         * javax/swing/JLabel.java: Do not change mnemonic
8715         index if text is null.
8716         * javax/swing/JProgressBar.java: Use JComponent's
8717         EventListenerList.
8718         * javax/swing/JScrollBar.java: Ditto.
8719         * javax/swing/JSlider.java: Ditto.
8720         * javax/swing/JTabbedPane.java: Reimplement.
8721         * javax/swing/plaf/basic/BasicLookAndFeel.java:
8722         Add defaults for TabbedPane.
8723         * javax/swing/plaf/basic/BasicArrowButton.java:
8724         Implement
8725         * javax/swing/plaf/basic/BasicProgressBarUI.java:
8726         (paintDeterminate): Don't paint String if it's
8727         empty.
8728         (paintIndeterminate): ditto.
8729         * javax/swing/plaf/basic/BasicTabbedPaneUI.java:
8730         Reimplement.
8732 2004-03-19  Michael Koch  <konqueror@gmx.de>
8734         * java/awt/image/AffineTransformOp.java
8735         (AffineTransformOp): Made public.
8736         * javax/swing/JComponent.java
8737         (listenerList): Made protected.
8738         (accessibleContext): Likewise.
8739         * javax/swing/JList.java
8740         (valueChanged): Dont use internal fields of ListSelectionEvent.
8741         * javax/swing/JViewport.java
8742         (getView): Dont use internal fields of Component.
8743         (addImpl): Likewise.
8744         * javax/swing/Timer.java
8745         (isRunning): Made public.
8746         (start): Likewise.
8747         (stop): Likewise.
8748         * javax/swing/UIDefaults.java
8749         (getInt): Made public.
8750         * javax/swing/plaf/basic/BasicListUI.java
8751         (mousePressed): Dont use internal fields of MouseEvent.
8752         (propertyChanged): Dont use internal fields of PropertyChangeEvent.
8753         * javax/swing/plaf/basic/BasicScrollBarUI.java
8754         (arrowIcon): Made static.
8755         * javax/swing/plaf/basic/BasicViewportUI.java
8756         (stateChanged): Dont use internal field on ChangeEvent.
8757         * javax/swing/text/JTextComponent.java
8758         (getUI): Call UIManager.getUI().
8759         (updateUI): Use getUI().
8761 2004-03-19  Graydon Hoare  <graydon@redhat.com>
8763         * javax/swing/JComponent.java: Turn off double buffer by default.
8764         * javax/swing/plaf/basic/BasicViewportUI.java: Clear rects before painting.
8765         * jni/gtk-peer/gnu_java_awt_peer_gtk_GdkGraphics2D.c
8766         (Java_gnu_java_awt_peer_gtk_GdkGraphics2D_gdkDrawDrawable): 
8767         Use cairo to copy areas.
8768         (Java_gnu_java_awt_peer_gtk_GdkGraphics2D_cairoClip):
8769         Initialize and set clip region.
8771 2004-03-15  Thomas Fitzsimmons  <fitzsim@redhat.com>
8773         * java/applet/Applet.java (preferredSize): Override deprecated
8774         variant of getPreferredSize.
8775         (minimumSize): Override deprecated variant of getMinimumSize.
8777 2004-03-15  Olga Rodimina  <rodimina@redhat.com>
8779         * gnu/java/awt/peer/gtk/GdkGraphics2D.java
8780         (drawImage(img,xform,bgcolor,obs)): New Method.
8781         Helper function that every drawImage method will
8782         use.
8783         (drawRaster): Added new parameter, bgcolor. All
8784         transparent pixels are changed to bgcolor before 
8785         image is drawn.
8786         (drawRenderedImage): Fixed to use changed drawRaster().
8787         (drawImage(image,xform,obs): Fixed to use new helper function 
8788         (drawImage(image,op,x,y)): Ditto.
8789         (drawImage (img,x,y,observer)): Ditto.
8790         ((PainterThread) bgcolor): New Field.
8791         ((PainterThread) (setPixels)): Changed all transparent pixels 
8792         to bgcolor.     
8793         (drawImage(img,x,y,width,height,bgcolor,observer)): 
8794         Fixed FIXME - all the transparent pixels are 
8795         changed to the specified bgcolor. 
8796         (drawImage(img, x, y, width, height, observer): Changed to 
8797         use function above.
8798         (drawImage (img,dx1,dy1,dx2,dy2,sx1,sy1,sx2,sy2,bgcolor,observer)): 
8799         Fixed FIXME- changed all transparent pixels to bgcolor.
8800         (drawImage (img, dx1, dy1, dx2, dy2, sx1, sy1, sx2, sy2, observer)):
8801         Changed to use function above. 
8803 2004-03-14  Thomas Fitzsimmons  <fitzsim@redhat.com>
8805         * java/applet/Applet.java (dimensions): New field.
8806         (getDimensions): New method.
8807         (getPreferredSize): Call getDimensions.
8808         (getMinimumSize): Likewise.
8810 2004-03-13  Thomas Fitzsimmons  <fitzsim@redhat.com>
8812         * jni/classpath/jcl.c: Include stdlib.h, not malloc.h.
8813         * jni/classpath/jnilink.c: Likewise.
8815         * java/applet/Applet.java (getPreferredSize): New method.
8816         (getMinimumSize): New method.
8818 2004-04-15  Bryce McKinlay  <mckinlay@redhat.com>
8820         * prims.cc (_Jv_AllocObject): Remove `size' argument.
8821         (_Jv_AllocObjectNoFinalizer): Likewise.
8822         (_Jv_AllocObjectNoInitNoFinalizer): Likewise.
8823         (_Jv_AllocPtrFreeObject): Likewise.
8824         (_Jv_AllocString): Moved from natString.cc. Call collector interface
8825         directly even in the JVMPI case.        
8826         * gcj/cni.h (JvAllocObject): Remove `size' argument from 
8827         _Jv_AllocObject calls.
8828         * gcj/javaprims.h: Update prototypes.
8829         * gnu/gcj/natCore.cc (_Jv_create_core): Use `new', not _Jv_AllocObject.
8830         * java/lang/Class.h: Update _Jv_AllocObject friend prototype.
8831         * java/lang/natString.cc (_Jv_AllocString): Move to prims.cc.
8833 2004-04-14  Andrew Haley  <aph@redhat.com>
8834             Bryce McKinlay  <mckinlay@redhat.com>
8836         * java/lang/reflect/natMethod.cc (_Jv_CallAnyMethodA): Use
8837         _Jv_LookupInterfaceMethodIdx for calls to interfaces.
8838         * include/jvm.h (_Jv_CallAnyMethodA): Add new `iface' arg.
8840         * testsuite/libjava.lang/InvokeInterface.java: New file.
8841         * testsuite/libjava.lang/InvokeInterface.out: New file.
8843 2004-04-09  Ranjit Mathew  <rmathew@hotmail.com>
8844         
8845         * java/lang/VMThrowable.java (getStackTrace): Pass trace as-is to
8846         modified lookup().
8847         * gnu/gcj/runtime/NameFinder.java (lookup): Change to take in a
8848         StackTraceElement directly.
8849         (newElement): New native helper method to create StackTraceElement
8850         bypassing Java access control.
8851         (createStackTraceElement): Use newElement() instead of directly
8852         calling StackTraceElement's constructor.
8853         * gnu/gcj/runtime/natNameFinder.cc (newElement): New method.
8855 2004-04-01  Michael Koch  <konqueror@gmx.de>
8857         * java/lang/SecurityManager.java
8858         (checkAwtEventQueueAccess): Implemented.
8860 2004-04-01  Gary Benson  <gbenson@redhat.com>
8862         * resolve.cc (_Jv_ResolvePoolEntry): Put field name in exception.
8863         (_Jv_SearchMethodInClass): Likewise.
8865 2004-03-26  Peter Moon  <peterm@miraculum.com>
8867         * java/text/NumberFormat.java: Fix spelling of setCurrency
8868         method.
8870 2004-03-21  Anthony Green  <green@redhat.com>
8872         * java/lang/natClass.cc (getClassLoader): Circumvent infinite
8873         recursion when searching for the system ClassLoader.
8875 2004-03-21  Ito Kazumitsu <kaz@maczuka.gcd.org>
8877         * java/net/ServerSocket.java
8878         (accept): Close the socket when error occured.
8880 2004-03-21  Jeroen Frijters  <jeroen@frijters.net>
8882         * java/net/URI.java (parseURI): Added unquoting.
8883         (unquote): New method.
8884         (quoteAuthority): Implemented.
8885         (quote(String,String)): New method.
8886         (quotePath): Implemented.
8887         (getRawSchemeSpecificPart): Return new rawSchemeSpecificPart field.
8888         (getSchemeSpecificPart): Removed FIXME comment.
8889         (getRawAuthority): Return new rawAuthority field.
8890         (getAuthority): Removed FIXME comment.
8891         (getRawUserInfo): Return new rawUserInfo field.
8892         (getUserInfo): Removed FIXME comment.
8893         (getRawPath): Return new rawPath field.
8894         (getPath): Removed FIXME comment.
8895         (getRawQuery): Return new rawQuery field.
8896         (getQuery): Removed FIXME comment.
8897         (getRawFragment): Return new rawFragment field.
8898         (getFragment): Removed FIXME comment.
8900 2004-03-20  Michael Koch  <konqueror@gmx.de>
8902         * java/net/URLConnection.java: Merged copyright year with classpath.
8904 2004-03-20  Norbert Frese  <postfach@nfrese.net>
8906         * gnu/java/rmi/server/RMIIncomingThread.java: New file.
8907         * gcc/libjava/gnu/java/rmi/server/UnicastConnection.java:
8908         Create a new RMIObjectOuputStream/RMIObjectInputStream for every
8909         rmi-message.
8910         (getObjectInputStream): Return object reference, throw IOException if null.
8911         (startObjectInputStream): Create new RMIObjectInputStream on top of 'din'.
8912         (getObjectOutputStream): Return object reference, throw IOException if null.
8913         (startObjectOutputStream): Create new RMIObjectOutputStream on top of 'dout'.
8914         * gcc/libjava/gnu/java/rmi/server/UnicastConnectionManager.java:
8915         (UnicastConnectionManager): Throw RemoteException if port is not available.
8916         (getInstance): Throw RemoteException.
8917         (run): Lookup client host and attach it to new RMIIncomingThread for later retrieval.
8918         * gcc/libjava/gnu/java/rmi/server/UnicastRef.java:
8919         Start a new RMIObjectInputStream/RMIObjectOutputStream for every rmi-message.
8920         Collect Exceptions which are returned by a rmi-call and fix void returns.
8921         * gcc/libjava/gnu/java/rmi/server/UnicastRemoteCall.java:
8922         Start a new RMIObjectInputStream/RMIObjectOutputStream for every rmi-message.
8923         * gcc/libjava/gnu/java/rmi/server/UnicastServer.java:
8924         (dispatch): Answer ping messages which are sent by other java implementions.
8925         (incomingMessageCall): Start a new RMIObjectInputStream/RMIObjectOutputStream
8926         for every rmi-message and fix void return problems.
8927         * gcc/libjava/gnu/java/rmi/server/UnicastServerRef.java
8928         (UnicastServerRef): Throw RemoteException.
8929         (exportObject): Find the class up the class hierarchy which has a _Stub generated by rmic.
8930         In some situations it is necessary to export a subclass of the class which has the _Stub.
8931         For instance when the class with has the _Stub is abstract.
8932         (findStubSkelClass): New method which looks for the class which has the _Stub.
8933         (getClientHost): Implementated.
8934         * gcc/libjava/java/rmi/server/RemoteServer.java
8935         (getClientHost): Implementated.
8936         * gcc/libjava/Makefile.am (rmi_java_source_files):
8937         Added gnu/java/rmi/server/RMIIncomingThread.java.
8938         * Makefile.in: Regenerated.
8940 2004-03-20  Michael Koch  <konqueror@gmx.de>
8942         * java/net/InetAddress.java
8943         (getLocalHostname): Added javadoc.
8945 2004-03-19  Per Bothner  <per@bothner.com>
8947         * configure.in: FILE variable  overrides FLATFORM when linking
8948         natFileChannelXXX.cc.
8950         * gnu/java/nio/channels/natFileChannelEcos.cc (diag_write):  Restored.
8951         (write):  Call diag_write, as in old natFileDescriptorEcos.cc.
8953 2004-03-19  Per Bothner  <per@bothner.com>
8955         * gnu/gcj/convert/Input_UnicodeBig.java:  New class..
8956         * gnu/gcj/convert/Input_UnicodeLittle.java:  New class.
8957         * Makefile.am:  Update accordingly.
8958         * gnu/gcj/convert/IOConverter.java:  Define "utf-16le" and "utf16be"
8959         as aliases for UnicodeLittle and UnicodeBig.
8961 2004-03-20  Mark Wielaard  <mark@klomp.org>
8963         * native/jni/gtk-peer/gnu_java_awt_peer_gtk_GtkTextAreaPeer.c
8964         (Java_gnu_java_awt_peer_gtk_GtkTextAreaPeer_getVScrollbarWidth):
8965         Don't access ws when it is null.
8966         (Java_gnu_java_awt_peer_gtk_GtkTextAreaPeer_getHScrollbarHeight):
8967         Likewise.
8969 2004-03-19  Jeroen Frijters  <jeroen@frijters.net>
8971         * java/lang/ThreadGroup.java (list): Changed print to println.
8973 2004-03-19  Mark Wielaard  <mark@klomp.org>
8975         * java/io/BufferedReader.java: Use &lt;=, not &lt;&eq; to make gjdoc
8976         happy.
8978 2004-02-10  Randolph Chung  <tausq@debian.org>
8980         * configure.in: Build java for hppa target.
8981         * configure: Regenerate.
8982         * libjava/configure.host (hppa-*): Add target.
8983         * libjava/sysdeps/pa/lock.h: New file.
8985 2004-03-19  Mark Wielaard  <mark@klomp.org>
8987         Reported by Stephen Crawley
8988         * java/io/FilePermission.java (implies): Use String.length() -1 to
8989         access last char of String.
8991 2004-03-19  Michael Koch  <konqueror@gmx.de>
8993         * java/awt/image/AffineTransformOp.java
8994         (AffineTransformOp): Made public.
8995         * javax/swing/JComponent.java
8996         (listenerList): Made protected.
8997         (accessibleContext): Likewise.
8998         * javax/swing/JList.java
8999         (valueChanged): Dont use internal fields of ListSelectionEvent.
9000         * javax/swing/JViewport.java
9001         (getView): Dont use internal fields of Component.
9002         (addImpl): Likewise.
9003         * javax/swing/Timer.java
9004         (isRunning): Made public.
9005         (start): Likewise.
9006         (stop): Likewise.
9007         * javax/swing/UIDefaults.java
9008         (getInt): Made public.
9009         * javax/swing/plaf/basic/BasicListUI.java
9010         (mousePressed): Dont use internal fields of MouseEvent.
9011         (propertyChanged): Dont use internal fields of PropertyChangeEvent.
9012         * javax/swing/plaf/basic/BasicScrollBarUI.java
9013         (arrowIcon): Made static.
9014         * javax/swing/plaf/basic/BasicViewportUI.java
9015         (stateChanged): Dont use internal field on ChangeEvent.
9016         * javax/swing/text/JTextComponent.java
9017         (getUI): Call UIManager.getUI().
9018         (updateUI): Use getUI().
9020 2004-03-19  Rainer Orth  <ro@TechFak.Uni-Bielefeld.DE>
9022         * verify.cc: Undef PC.
9024 2004-03-18  Michael Koch  <konqueror@gmx.de>
9026         * java/nio/channels/spi/AbstractSelectableChannel.java
9027         (keys): Initialize at declaration.
9028         (locate): keys cant be null.
9029         (add): Removed.
9030         (addSelectionKey): New method.
9031         (removeSelectionKey): New method.
9032         * java/nio/channels/spi/AbstractSelectionKey.java
9033         (cancel): Call AbstractSelector.cancelKey(SelectionKey key).
9034         * java/nio/channels/spi/AbstractSelector.java
9035         (provider): Javadoc added.
9036         (cancelledKeys): Javadoc added.
9037         (cancelKey): Javadoc added, add key to cancelledKeys.
9038         (deregister): Implemented.
9040 2004-03-18  Rainer Orth  <ro@TechFak.Uni-Bielefeld.DE>
9042         * gnu/java/nio/channels/natFileChannelPosix.cc (mapImpl): Cast
9043         MAP_FAILED to void *.
9045 2004-03-12  Graydon Hoare  <graydon@redhat.com>
9047         * gnu/java/awt/peer/gtk/GdkGraphics2D.java: Clipping fixes.
9048         * javax/swing/JComponent.java (paint): Use persistent double buffer. 
9049         * javax/swing/JList.java (ListListener): Revalidate on changes.
9050         * javax/swing/JScrollPane.java: Reimplement.
9051         * javax/swing/JViewport.java: Reimplement.
9052         * javax/swing/ScrollPaneLayout.java: Reimplement.
9053         * javax/swing/ViewportLayout.java: Tidy up.
9054         * javax/swing/plaf/basic/BasicButtonListener.java: Remove printlns.
9055         * javax/swing/plaf/basic/BasicScrollPaneUI.java: Reimplement.
9056         * javax/swing/plaf/basic/BasicSliderUI.java: Handle missing labels.
9057         * javax/swing/plaf/basic/BasicViewportUI.java: Implement in terms of
9058         backing store only.
9060 2004-03-11  Thomas Fitzsimmons  <fitzsim@redhat.com>
9062         * jni/gtk-peer/gnu_java_awt_peer_gtk_GtkWindowPeer.c
9063         (window_wm_protocols_filter): New function.
9064         (window_focus_in_cb): Remove function.
9065         (window_focus_out_cb): Likewise.
9066         (window_focus_or_active_state_change_cb): New function.
9067         (create): Add filter that removes WM_TAKE_FOCUS client messages.
9068         (connectSignals): Don't attach handlers to focus-in-event or
9069         focus-out-event signals.  Handle notify signal.
9071 2004-03-11  David Jee  <djee@redhat.com>
9073         * gnu/java/awt/peer/gtk/GtkCheckboxPeer.java
9074         (gtkSetLabel): New native method declaration.
9075         (setLabel): Use gtkSetLabel.
9076         * jni/gtk-peer/gnu_java_awt_peer_gtk_GtkCheckboxPeer.c
9077         (Java_gnu_java_awt_peer_gtk_GtkCheckboxPeer_gtkSetLabel): New method.
9079 2004-03-10  Thomas Fitzsimmons  <fitzsim@redhat.com>
9081         * gnu/java/awt/peer/gtk/GdkGraphics.java (setColor): Default to
9082         black when color argument is null.
9084 2004-03-10  Kim Ho  <kho@redhat.com>
9086         * java/awt/Container.java: Remove check
9087         for drag events.
9089 2004-03-10  Kim Ho  <kho@redhat.com>
9091         * java/awt/Container.java: (visitChild):
9092         Remove candidate clip. Use the component
9093         clip to intersect.
9094         * gnu/java/awt/peer/gtk/GtkComponentPeer.java:
9095         (handleEvent): Use the PaintEvent's clip.
9097 2004-03-10  Kim Ho  <kho@redhat.com>
9099         * gnu/java/awt/peer/gtk/GtkComponentPeer.java:
9100         (handleEvent): Don't set the clip for the
9101         Graphics object.
9103 2004-03-09  Graydon Hoare  <graydon@redhat.com>
9105         * jni/gtk-peer/gnu_java_awt_peer_gtk_GdkGlyphVector.c: 
9106         Fix double <-> fixed macros, reset font transform.
9107         * jni/gtk-peer/gnu_java_awt_peer_gtk_GdkClasspathFontPeerMetrics.c:
9108         Likewise.
9110 2004-03-09  Kim Ho  <kho@redhat.com>
9112         * java/awt/Container.java: (visitChild): Move
9113         the x and y coordinate of the component rectangle
9114         to correct position.
9115         (handleEvent): Forward drag events to the pressed
9116         component.
9117         * javax/swing/plaf/basic/BasicScrollBarUI.java:
9118         Fix comments.
9119         (ArrowButtonListener::mousePressed): Stop the
9120         existing timer.
9121         (mouseDragged): Implement.
9122         (TrackListener::mousePressed): Only react if
9123         the press doesn't occur on the thumb, otherwise
9124         just set the offset.
9125         (TrackListener::mouseReleased): Unset the isAdjusting
9126         value.
9127         (createIncreaseIcon): Switch icon.
9128         (createDecreaseIcon): Switch icon.
9129         (calculatePreferredSize): Use width.
9130         (getThumbBounds): Use the top as the lower value.
9131         (layoutVScrollBar): Switch the button locations.
9132         (paintIncreaseHighlight): Paint correct side of thumb.
9133         (paintDecreaseHighlight): ditto.
9134         (valueForYPosition): Use top as the lower value.
9135         * javax/swing/plaf/basic/BasicSliderUI.java:
9136         Fix comments.
9137         (mouseDragged): Implement.
9138         (mousePressed): Only react when the thumb isn't
9139         pressed, otherwise just set offset.
9140         (mouseReleased): Handle a release of the thumb.
9141         (scrollDueToClickInTrack): Stop the timer first.
9142         * javax/swing/JProgressBar.java:
9143         (setString): Fix change condition.
9144         * javax/swing/JSeparator.java:
9145         Remove println's.
9147 2004-03-08  David Jee  <djee@redhat.com>
9149         * java/awt/image/AffineTransformOp.java:
9150         (filter): Use Graphics2D interface instead of directly using the
9151         GdkGraphics2D peer.
9153 2004-03-05  David Jee  <djee@redhat.com>
9155         * gnu/java/awt/peer/gtk/GtkButtonPeer.java
9156         (handleEvent): Action events are generated upon MOUSE_RELEASED.
9157         * java/awt/Container.java
9158         (acquireComponentForMouseEvent): Fixed.
9159         (handleEvent): Fixed.
9160         * jni/gtk-peer/gnu_java_awt_peer_gtk_GtkEvents.c
9161         (state_to_awt_mods_with_button_states): New method.
9162         (pre_event_handler): Fixed mouse event generation.
9164 2004-03-05  Olga Rodimina  <rodimina@redhat.com>
9166         gnu/java/awt/peer/gtk/GdkGraphics2D.java
9167         (GdkGraphics2D (BufferedImage)): Initialize
9168         pixmap associated with specified BufferedImage.
9169         (setPaint): Changed implementation of Texture
9170         Paint to use AffineTransformOp.
9171         * java/awt/image/AffineTransformOp.java
9172         (createCompatibleDestRaster): Throw RasterFormatException 
9173         if resulting width or height of raster is 0.
9175 2004-03-04  Olga Rodimina  <rodimina@redhat.com>
9177         * java/awt/image/AffineTransformOp.java:
9178         Removed unnecessary field interpolationType.
9179         Formatted some of the lines to be consistent with 
9180         the GNU style.
9181         (AffineTransformOp): Create new RenderingHints 
9182         containing specified interpolation type.
9183         (createCompatibleDestImage): Implemented.
9184         (createCompatibleDestRaster): Implemented.
9185         (filter): Implemented.
9186         (getBounds2D(BufferedImage)): Implemented.
9187         (getBounds2D(Raster)): Implemented.
9188         (getInterpolationType): Get interpolation value from 
9189         rendering hints.
9191 2004-03-04  David Jee  <djee@redhat.com>
9193         * gnu/java/awt/peer/gtk/GtkContainerPeer.java
9194         (setFont): Check if child peers are null.
9196 2004-03-04  Graydon Hoare  <graydon@redhat.com>
9198         * testsuite/lib/libjava.exp (libjava_find_lib): Don't include
9199         .libs in -L option.
9200         (libjava_arguments): Add new libraries to argument list.
9202 2004-03-02  Olga Rodimina  <rodimina@redhat.com>
9204         * Makefile.am: Added java/awt/image/AffineTransformOp.java
9205         * Makefile.in: Re-generated.
9206         * java/awt/image/AffineTransformOp.java: New Class.
9208 2004-03-01  Olga Rodimina  <rodimina@redhat.com>
9210         * gnu/java/awt/peer/gtk/GdkGraphics2D.java
9211         (setPaint): Interpret correctly TexturePaint's
9212         anchor rectangle.
9213         (drawImage): Fixed scale factors of the affine
9214         transform.
9216 2004-02-27  David Jee  <djee@redhat.com>
9218         * gnu/java/awt/peer/gtk/GdkGraphics.java
9219         (GdkGraphics(Component)): Inherit font from component.
9220         (drawString): Use font style.
9221         * gnu/java/awt/peer/gtk/GtkCheckboxPeer.java
9222         (gtkSetFont): New native method declaration.
9223         (setFont): New method.
9224         * gnu/java/awt/peer/gtk/GtkComponentPeer.java
9225         (gtkSetFont): New native method declaration.
9226         (setFont): Call new native method gtkSetFont.
9227         * gnu/java/awt/peer/gtk/GtkContainerPeer.java
9228         (setFont): For all child components who do not their fonts set,
9229         set their peers' fonts with this container's font.
9230         * gnu/java/awt/peer/gtk/GtkLabelPeer.java:
9231         Move all native method declarations to the top for readability.
9232         (gtkSetFont): New native method declaration.
9233         (setFont): New method.
9234         * java/awt/Component.java
9235         (setFont): Invalidate after setting the font.
9236         * java/awt/Container.java
9237         (invalidateTree): New method.
9238         (setFont): Invalidate the container tree after setting the font.
9239         * jni/gtk-peer/gnu_java_awt_peer_gtk_GdkGraphics.c
9240         (Java_gnu_java_awt_peer_gtk_GdkGraphics_drawString): Use font style.
9241         * jni/gtk-peer/gnu_java_awt_peer_gtk_GtkCheckboxPeer.c
9242         (Java_gnu_java_awt_peer_gtk_GtkCheckboxPeer_gtkSetFont): New method.
9243         * jni/gtk-peer/gnu_java_awt_peer_gtk_GtkComponentPeer.c
9244         (Java_gnu_java_awt_peer_gtk_GtkComponentPeer_gtkSetFont): New method.
9245         * jni/gtk-peer/gnu_java_awt_peer_gtk_GtkLabelPeer.c
9246         (Java_gnu_java_awt_peer_gtk_GtkLabelPeer_gtkSetFont): New method.
9248 2004-02-27  Olga Rodimina <rodimina@redhat.com>
9250         * gnu/java/awt/peer/gtk/GdkGraphics2D.java
9251         (updateBufferedImage): New helper function.
9252         Updates BufferedImage in memory if it was changed.
9253         (draw): changed to update BufferedImage in memory after
9254         this drawing operation
9255         (fill): Ditto.
9256         (draw3DRect): Ditto.
9257         (fill3DRect): Ditto.
9258         (clearRect): Ditto.
9259         (drawRaster): Ditto.
9260         (drawImage) : Ditto. Update only in case of GtkOffScreenImage with 
9261         no affine transformation.
9262         (drawGlyphVector): Ditto.
9264 2004-02-26  Olga Rodimina <rodimina@redhat.com>
9266         * gnu/java/awt/peer/gtk/GdkGraphics2D.java
9267         (isBufferedImageGraphics): New Helper function. 
9268         Returns true if this graphics2d can be used to draw 
9269         into buffered image and false otherwise.
9270         (updateImagePixels): New Helper function. 
9271         Updates pixels in the BufferedImage.
9272         * jni/gtk-peer/gnu_java_awt_peer_gtk_GdkGraphics2D.c
9273         (getImagePixels): New function. Returns pixels
9274         of the buffered image associated with 
9275         this Graphics2D.
9277 2004-02-26  David Jee  <djee@redhat.com>
9279         * java/awt/BorderLayout.java
9280         (layoutContainer): Fix width and height calculations to ensure
9281         that they're non-negative.
9282         * java/awt/Component.java
9283         (setBackground): If c is null, inherit from closest ancestor whose
9284         background color is set.
9286 2004-02-26  Kim Ho  <kho@redhat.com>
9288         * Makefile.am: Add new files.
9289         * Makefile.in: Re-generate.
9290         * javax/swing/JProgressBar.java: 
9291         (JProgressBar(int, int int)): Throw
9292         IllegalArgumentException if orientation is
9293         invalid.
9294         (JProgressBar(BoundedRangeModel)): Create
9295         ChangeListener and register it. UpdateUI.
9296         (getChangeListeners): Implement.
9297         (setModel): Reset ChangeListener.
9298         * javax/swing/JScrollBar.java: Implement.
9299         * javax/swing/JSeparator.java: Implement.
9300         * javax/swing/JSlider.java:
9301         (JSlider(int, int, int, int)): Throw 
9302         IllegalArgumentException if orientation
9303         is invalid.
9304         (getChangeListeners): Fix method name.
9305         * javax/swing/SwingUtilities.java:
9306         (layoutCompoundLabel): If there is no text,
9307         set the text rectangle dimensions to 0.
9308         * javax/swing/plaf/basic/BasicButtonUI.java:
9309         (paint): If there is no text, don't paint it.
9310         * javax/swing/plaf/basic/BasicScrollBarUI.java:
9311         Implement.
9312         * javax/swing/plaf/basic/BasicSeparatorUI.java:
9313         Implement.
9314         * javax/swing/plaf/basic/BasicSliderUI.java: 
9315         (propertyChange): If the model changes, change
9316         the listeners accordingly.
9318 2004-02-25  Graydon Hoare  <graydon@redhat.com>
9320         * javax/swing/AbstractButton.java: Add "final" qualifiers.
9321         * javax/swing/JList.java: Reimplement.
9322         * javax/swing/DefaultListSelectionModel.java: Reimplement.
9323         * javax/swing/plaf/basic/BasicListUI.java: Reimplement.
9324         * javax/swing/plaf/basic/BasicLookAndFeel.java: Add "purple" values.
9325         * javax/swing/ListModel.java: Javadoc.
9326         * javax/swing/ListSelectionModel.java: Add missing methods.
9327         * javax/swing/AbstractListModel.java: Javadoc and corrections.
9328         * javax/swing/DefaultListModel.java: Javadoc and corrections.
9329         * javax/swing/ListModel.java: Javadoc and corrections.
9330         * javax/swing/DefaultListCellRenderer.java: Minor tidying.
9332 2004-02-25  David Jee  <djee@redhat.com>
9334         * gnu/java/awt/peer/gtk/GtkFontPeer.java
9335         (GtkFontPeer): Change default size to 12.
9336         * gnu/java/awt/peer/gtk/GtkToolkit.java
9337         (getFontPeer): Change default size to 12.
9338         (getClasspathFontPeer): Likewise. Set default name to "Default".
9339         * java/awt/Font.java
9340         (Font(Map)): Call Font(String,Map).
9341         (Font(String,Map)): If attrs is null, initialize it as an empty
9342         HashMap, which will ensure that the Font will get default attributes.
9344 2004-02-25  David Jee  <djee@redhat.com>
9346         * gnu/java/awt/peer/gtk/GtkFontPeer.java
9347         (GtkFontPeer(String,int)): Call the new constructor with size 1.
9348         (GtkFontPeer(String,int,int)): New constructor with size attribute.
9349         * gnu/java/awt/peer/gtk/GtkToolkit.java
9350         (getFontPeer(String,int)): Call the new overload method with size 1.
9351         (getFontPeer(String,int,int)): New method. Overloaded with size
9352         attribute.
9353         (getClasspathFontPeer): Set the size of the font.
9355 2004-02-24  Olga Rodimina  <rodimina@redhat.com>
9357         * gnu/java/awt/peer/gtk/GdkGraphics2D.java
9358         (bimage): New field.
9359         (GdkGraphics2D): New Constructor. Constructs Graphics
9360         object that can be used to draw into the Buffered Image.
9361         * gnu/java/awt/peer/gtk/GdkGraphicsEnvironment.java:
9362         (GdkGraphicsEnvironment): Fixed to include public 
9363         keyword.
9364         (createGraphics): Implemented.
9365         * gnu/java/awt/peer/gtk/GtkToolkit.java
9366         (getLocalGraphicsEnvironment): Implemented.
9367         * java/awt/GraphicsEnvironment.java:
9368         (getLocalGraphicsEnvironment): Implemented.
9369         * java/awt/image/BufferedImage.java:
9370         (createGraphics): Implemented.
9371                 
9372 2004-02-24  David Jee  <djee@redhat.com>
9374         * java/awt/Component.java
9375         (eventTypeEnabled): Add MOUSE_MOVED and MOUSE_DRAGGED event types.
9376         * java/awt/Container.java
9377         (addNotifyContainerChildren): Fix event enabling.
9379 2004-02-23  Olga Rodimina  <rodimina@redhat.com>
9381         * Makefile.am: Added 
9382         gnu/java/awt/peer/gtk/GdkGraphicsEnvironment.java
9383         * Makefile.in: Re-generated.
9384         * gnu/java/awt/peer/gtk/GdkGraphicsEnvironment.java:
9385         New Class. 
9386         
9387 2004-02-19  Kim Ho  <kho@redhat.com>
9389         * Makefile.am: Add BasicProgressBarUI
9390         * Makefile.in: Regenerate.
9391         * javax/swing/JProgressBar.java: 
9392         Re-implement.
9393         * javax/swing/plaf/basic/BasicLookAndFeel.java
9394         Add constants for JProgressBar.
9395         * javax/swing/plaf/basic/BasicProgressBarUI.java
9396         Implement.
9397         * javax/swing/plaf/basic/BasicSliderUI.java
9398         Change comments.
9399         (calculateGeometry): New method
9400         (paint): Remove unnecessary size calculations.
9402 2004-02-18  Olga Rodimina  <rodimina@redhat.com>
9404         * gnu/java/awt/peer/gtk/GdkGraphics2D.java
9405         (drawRaster): Fixed small error that caused
9406         imageToUser transformation to be set incorrectly.
9407         (toString): Implemented.
9409 2004-02-18  David Jee  <djee@redhat.com>
9411         * java/awt/CardLayout.java
9412         (addLayoutComponent): Show the first component added as the default.
9413         (removeLayoutComponent): After removing, show the next component.
9414         (gotoComponent): If there is only one component, show it and return.
9416 2004-02-18  Kim Ho  <kho@redhat.com>
9418         * javax/swing/JSlider.java: Re-order
9419         modifiers.
9420         * javax/swing/JLabel.java: Re-order
9421         modifiers.
9422         * javax/swing/JComponent.java: 
9423         (addPropertyChangeListener):
9424         Implement.
9425         (removePropertyChangeListener):
9426         ditto.
9427         (firePropertyChangeEvent):
9428         ditto.
9430 2004-02-17  David Jee  <djee@redhat.com>
9432         * java/awt/Component.java
9433         (show): Dispatch ComponentEvent via system event queue.
9434         (hide): Likewise.
9435         (move): Likewise.
9436         (resize): Likewise.
9437         (reshape): Likewise.
9438         * java/awt/Window.java
9439         (setBoundsCallback): Likewise.
9441 2004-02-17  David Jee  <djee@redhat.com>
9443         * jni/gtk-peer/gnu_java_awt_peer_gtk_GtkComponentPeer.c
9444         (Java_gnu_java_awt_peer_gtk_GtkComponentPeer_setNativeBounds):
9445         Use gtk_widget_set_size_request() instead of the deprecated
9446         gtk_widget_set_usize().
9448 2004-02-17  Kim Ho  <kho@redhat.com>
9450         * javax/swing/JSlider.java: Fix comments and
9451         make property strings constants.
9452         (createStandardLabels): Use the labels
9453         preferred size as bounds.
9454         * javax/swing/plaf/basic/BasicSliderUI.java
9455         Fix comments.
9456         (ScrollHandler::actionPerformed): Don't
9457         calculate the timer stop value. Let the
9458         MouseListeners find the stop location.
9459         (getPreferredHorizontalSize): Re-implement.
9460         (getPreferredVerticalSize): ditto.
9461         (getMinimumHorizontalSize): ditto.
9462         (getMinimumVerticalSize): ditto.
9463         (getPreferredSize): ditto.
9464         (getMinimumSize): ditto.
9465         (getMaximumSize): ditto.
9466         (paintTicks): Use doubles to find the
9467         tick location.
9468         (paintHorizontalLabel):  Use preferredSize
9469         as initial width and height.
9470         (paintVerticalLabel): ditto.
9472 2004-02-17  Kim Ho  <kho@redhat.com>
9474         * javax/swing/JLabel.java: Changed 
9475         property strings to constants.
9476         (DISPLAYED_MNEMONIC_INDEX_CHANGED_PROPERTY):
9477         New property.
9478         (setText): Change mnemonic index if
9479         text is too short.
9480         (setDisplayedMnemonicIndex): Fire property
9481         change event.
9482         (getDisplayedMnemonicIndex): Remove check
9483         against short text.
9485 2004-02-17 Olga Rodimina <rodimina@redhat.com>
9487         * gnu/java/awt/peer/gtk/GdkGraphics2D.java:
9488         (drawImage(img,xform,obs)): Invert xform before
9489         passing the xform to cairo.
9490         (drawImage(img,x,y,bgcolor,obs)): Implemented.
9491         (drawImage (img,x,y,w,h,bgcolor,obs)): Partly
9492         implemented.
9493         (drawImage (img,x,y,w,h,obs)): Implemented.
9494         (drawImage (img,dx1,dy1,dx2,dy2,sx1,sy1,sx2,sy2,
9495         bgcolor,obs)): Partly implemented.
9496         (drawImage (img,dx1,dy1,dx2,dy2,sx1,sy1,sx2,sy2,obs)):
9497         Implemented.
9498         * java/awt/image/BufferedImage.java:
9499         (copyData): if dest is null, create raster with same
9500         dimensions as the current image.
9502 2004-02-16  Graydon Hoare  <graydon@redhat.com>
9504         * javax/swing/plaf/basic/BasicLabelUI.java 
9505         (getPreferredSize): Use layoutCL.
9506         * javax/swing/plaf/basic/BasicGraphicsUtils.java 
9507         (getPreferredButtonSize): Start with empty view rect, layout using
9508         component's preferred alignment.
9509         * javax/swing/plaf/basic/BasicLookAndFeel.java: Add some Label and
9510         List defaults.
9512 2004-02-16  David Jee  <djee@redhat.com>
9514         * java/awt/Component.java
9515         (show): Dispatch COMPONENT_SHOWN ComponentEvent.
9516         (hide): Dispatch COMPONENT_HIDDEN ComponentEvent.
9517         (move): Erase old bounds and repaint new bounds. Dispatch
9518         COMPONENT_MOVED ComponentEvent.
9519         (resize): Erase old bounds and repaint new bounds. Dispatch
9520         COMPONENT_RESIZED ComponentEvent.
9521         (reshape): Dispatch COMPONENT_RESIZED and COMPONENT_MOVED
9522         ComponentEvents.
9523         * java/awt/Window.java
9524         (setBoundsCallback): Dispatch COMPONENT_RESIZED and COMPONENT_MOVED
9525         ComponentEvents.
9527 2004-02-16  Olga Rodimina  <rodimina@redhat.com>
9529         * gnu/java/awt/peer/gtk/GdkGraphics2D.java:
9530         (setRenderingHint): Added implementation of 
9531         Interpolation rendering hints.
9532         (setRenderingHints): Ditto.
9533         * jni/gtk-peer/gnu_java_awt_peer_gtk_GdkGraphics2D.c:
9534         (drawPixels): fixed to allow user to choose type 
9535         of filtering that should be used when displaying images.
9536         (cairoSurfaceSetFilter): New method. Sets filter type for 
9537         interpolation of pixel values.
9539 2004-02-16  David Jee  <djee@redhat.com>
9541         * java/awt/GridBagLayout.java
9542         (calcCellSizes): Rows or columns with zero sizes should still be
9543         considered for extra space distribution.
9545 2004-02-16  Kim Ho  <kho@redhat.com>
9547         * javax/swing/JLabel.java: Re-implement.
9548         * javax/swing/plaf/basic/BasicLabelUI.java
9549         Re-implement.
9550         * javax/swing/plaf/basic/BasicLookAndFeel.java:
9551         Added constant.
9553 2004-02-16  Kim Ho  <kho@redhat.com>
9555         * javax/swing/JSlider.java: Fix indentation and comments.
9556         (setModel): Remove null check to conform with Sun's.
9557         (setOrientation): Throw exception if not
9558         HORIZONTAL or VERTICAL.
9559         (getInverted): Use private variable instead of 
9560         ComponentOrientation.
9561         (setInverted): ditto.
9562         * javax/swing/plaf/basic/BasicSliderUI.java:
9563         Fix indentation and comments.
9564         (propertyChange): Remove check for inverted slider, handle
9565         in main paint.
9566         (getMinimumSize): Return preferred size.
9567         (getMaximumSize): ditto.
9568         (calculateFocusRect): Don't relocate rectangle.
9569         (drawInverted): Return XOR of the slider's inversion and 
9570         the component's orientation.
9571         (paint): Update leftToRightCache
9573 2004-02-13  David Jee  <djee@redhat.com>
9575         * java/awt/GridBagLayout.java
9576         (GetLayoutInfo): Fix weight and size distribution. Relocate repeated
9577         code to helper methods.
9578         (sortBySpan): New helper method.
9579         (distributeSizeAndWeight): Likewise.
9580         (calcCellWeights): Likewise.
9581         (calcCellSizes): Add comments.
9583 2004-02-13  David Jee  <djee@redhat.com>
9585         * java/awt/Component.java
9586         (show): Only do something if component is invisible at the moment.
9587         (hide): Only do something if component is visible at the moment.
9588         (reshape): If lightweight, erase old bounds and repaint new bounds.
9590 2004-02-13  Kim Ho  <kho@redhat.com>
9592         * Makefile.am: Updated for new file.
9593         * Makefile.in: Regenerated.
9594         * javax/swing/JSlider.java: Reimplement.
9595         * javax/swing/SwingUtilities.java
9596         (layoutCompoundLabel): Use icon height
9597         instead of width.
9598         (paintComponent): Implement.
9599         * javax/swing/plaf/basic/BasicLookAndFeel.java:
9600         Add JSlider defaults.
9601         * javax/swing/plaf/basic/BasicSliderUI.java:
9602         Implement. New file.
9604 2004-03-17  Michael Koch  <konqueror@gmx.de>
9606         * gnu/java/net/PlainDatagramSocketImpl.java
9607         (RECEIVE_LOCK): New member field.
9608         (SEND_LOCK): New member field.
9609         (send0): New method.
9610         (send): Synchronize on SEND_LOCK.
9611         (receive0): New method.
9612         (receive): Synchronize on RECEIVE_LOCK.
9613         * gnu/java/net/natPlainDatagramSocketImplNoNet.cc,
9614         gnu/java/net/natPlainDatagramSocketImplPosix.cc,
9615         gnu/java/net/natPlainDatagramSocketImplWin32.cc
9616         (send0): Renamed from send.
9617         (receive0): Renamed from receive.
9618 2004-03-17  Michael Koch  <konqueror@gmx.de>
9620         * gnu/java/net/natPlainSocketImplPosix.cc
9621         (write): Just call write(jbyteArray, offset, len).
9622         (read): Just call read(jbyteArray, offset, len).
9624 2004-03-16  Michael Koch  <konqueror@gmx.de>
9626         * javax/swing/JTabbedPane.java
9627         (serialVersionUID): New field.
9629 2004-03-16  Norbert Frese  <postfach@nfrese.net>
9631         * java/net/InetAddress.java
9632         (getByName): Handle hostname == "" case.
9634 2004-03-16  Dalibor Topic  <robilad@kaffe.org>
9636         Reported by: Adam Heath <doogie@debian.org>
9637         * gnu/javax/rmi/CORBA/DelegateFactory.java (getInstance): Use context
9638         class loader.
9640 2004-03-15  Michael Koch  <konqueror@gmx.de>
9642         * java/util/Locale.java: Reverting my last patch
9643         and add a comment why the original version was okay.
9645 2004-03-14  Andreas Tobler <a.tobler@schweiz.ch>
9647         * gnu/java/nio/channels/natFileChannelPosix.cc: Implement
9648         munmap_adaptor and msync_adaptor for older POSIX_C_SOURCES specs.
9649         (MappedByteBufferImpl::unmapImpl): Use munmap_adaptor.
9650         (MappedByteBufferImpl::forceImpl): Use msync_adptor.
9652 2004-03-12  Michael Koch  <konqueror@gmx.de>
9654         * java/text/DateFormatSymbols.java: Fixed file name in copyright.
9656 2004-03-12  Ito Kazumitsu  <ito.kazumitsu@hitachi-cable.co.jp>
9658         * java/net/URI.java (toURL): Implemented.
9660 2004-03-12  Ito Kazumitsu  <ito.kazumitsu@hitachi-cable.co.jp>
9662         * java/net/URI.java
9663         (URI_REGEXP) updated to contain scheme specific part.
9664         (SCHEME_SPEC_PART_GROUP) new constant.
9665         (AUTHORITY_GROUP, PATH_GROUP, QUERY_GROUP, FRAGMENT_GROUP)
9666         updated to make room for SCHEME_SPEC_PART_GROUP.
9667         (parseURI) parse scheme specific part.
9668         (resolve, isAbsolute, isOpaque, getRawSchemeSpecificPart,
9669         getSchemeSpecificPart, getAuthority, getUserInfo, getPath,
9670         getQuery, getFragment) implemented.
9672 2004-03-12  Dalibor Topic  <robilad@kaffe.org>
9674         * libraries/javalib/java/net/URI.java
9675         partially implemented using java.util.regex.
9676         (URI_REGEXP) new constant. Used to parse URIs.
9677         (SCHEME_GROUP) new constant representing index of scheme group
9678         in parsed URI.
9679         (AUTHORITY_GROUP) new constant representing index of authority
9680         group in parsed URI.
9681         (PATH_GROUP) new constant representing index of path group in
9682         parsed URI.
9683         (QUERY_GROUP) new constant representing index of query group in
9684         parsed URI.
9685         (FRAGMENT_GROUP) new constant representing index of fragment
9686         group in parsed URI.
9687         (getURIGroup) new static utility method.
9688         (parseURI) implemented.
9689         (quote) stub for new static utility method.
9690         (quoteAuthority) stub for new static utility method.
9691         (quoteHost) stub for new static utility method.
9692         (quotePath) stub for new static utility method.
9693         (quoteUserInfo) stub for new static utility method.
9694         (URI) implemented.
9695         (create) don't throw URISyntaxException. Implemented.
9696         (toString) implemented.
9698 2004-03-12  Michael Koch  <konqueror@gmx.de>
9700         * java/net/HttpURLConnection.java
9701         (getResponseCode): Fix another typo in javadoc.
9703 2004-03-11  Michael Koch  <konqueror@gmx.de>
9705         * java/util/logging/Level.java
9706         (parse): Use String.equals() instead of ==.
9708 2004-03-11  Michael Koch  <konqueror@gmx.de>
9710         * gnu/java/net/protocol/jar/Connection.java
9711         (getContentLength): New method.
9713 2004-03-11  Michael Koch  <konqueror@gmx.de>
9715         * gnu/java/net/PlainSocketImpl.java:
9716         Reformated to merge better with classpath's version.
9718 2004-03-11  Michael Koch  <konqueror@gmx.de>
9720         * java/util/Locale.java
9721         (getISO3Language): Use String.equals() instead of ==.
9722         (getISO3Country): Likewise.
9724 2004-03-11  Dalibor Topic  <robilad@kaffe.org>
9726         * java/text/AttributedString.java
9727         (addAttribute(AttributedCharacterIterator.Attribute,Object,int,int)):
9728         Use HashMap instead of Hashtable since value can be null, and
9729         you can not store a null value in a Hashtable.
9731 2004-03-11  Guilhem Lavaux <guilhem@kaffe.org>
9733         * java/text/AttributedStringIterator.java
9734         (getAllAttributesKey): Return only keys concerned
9735         by the current iterator.
9736         (getAttributes): Use strict inequality for
9737         end_index. 
9739 2004-03-11  Michael Koch  <konqueror@gmx.de>
9741         * java/net/HttpURLConnection.java:
9742         Fixed typo in javadoc.
9744 2004-03-11  Guilhem Lavaux  <guilhem@kaffe.org>
9746         * java/io/BufferedInputStream.java (marktarget): New field for max
9747         mark limit.
9748         (CHUNKSIZE): New constant for incremental mark buffer allocation.
9749         (mark): Use new fields.
9750         (read): Likewise.
9751         (read(byte[],int,int)): Likewise.
9752         (skip): Likewise.
9753         (refill): Likewise.
9755 2004-03-11  Mark Wielaard  <mark@klomp.org>
9757         * java/beans/BeanDescriptor.java (BeanDescriptor):
9758         Set the FeatureDescriptor programmatic name.
9760 2004-03-11  Michael Koch  <konqueror@gmx.de>
9762         * gnu/java/nio/channels/natFileChannelEcos.cc: Totally reworked.
9763         This file was was just copied form java/io/natFileDescriptorEcos.cc
9764         and never changed to compile correctly.
9766 2004-03-11  Michael Koch  <konqueror@gmx.de>
9768         * gnu/java/nio/PipeImpl.java
9769         (SourceChannelImpl): Made final.
9770         (read): Implemented.
9771         (SinkChannelImpl): Made final.
9772         (write): Implemented.
9774 2004-03-11  Michael Koch  <konqueror@gmx.de>
9776         * gnu/java/net/PlainDatagramSocketImpl.java:
9777         Reformated to match classpath's version more.
9779 2004-03-11  Michael Koch  <konqueror@gmx.de>
9781         * gnu/java/awt/peer/ClasspathFontPeer.java:
9782         Fixed javadoc to be correct xhtml.
9783         * gnu/java/awt/peer/gtk/GtkArgList.java
9784         (add): Use Boolean.valueOf() instead of new Boolean().
9786 2004-03-09  Michael Koch  <konqueror@gmx.de>
9788         * java/lang/Thread.java
9789         (runnable): Moved around.
9790         (daemon): Renamed from daemon_flag.
9791         (contextClassLoader): Renamed from context_class_loader.
9792         (Thread): Reordered constructors.
9793         (activeCount): Use group directly.
9794         (destroy): Make it a java method. Throw NoSuchMethodError like Sun does.
9795         (holdsLock): Reworked javadoc.
9796         (setDaemon): Reworked.
9797         * java/lang/natThread.cc
9798         (destroy): Removed.
9800 2004-03-08  Anthony Green  <green@redhat.com>
9802         * Makefile.am: Build property resource files into libgcj.
9803         * Makefile.in: Rebuilt.
9804         * java/util/regex/Matcher.java, java/util/regex/Pattern.java,
9805         java/util/regex/PatternSyntaxException.java,
9806         gnu/regexp/CharIndexed.java,
9807         gnu/regexp/CharIndexedCharArray.java,
9808         gnu/regexp/CharIndexedInputStream.java,
9809         gnu/regexp/CharIndexedReader.java,
9810         gnu/regexp/CharIndexedString.java,
9811         gnu/regexp/CharIndexedStringBuffer.java, gnu/regexp/RE.java,
9812         gnu/regexp/REException.java,
9813         gnu/regexp/REFilterInputStream.java,
9814         gnu/regexp/REFilterReader.java, gnu/regexp/REMatch.java,
9815         gnu/regexp/REMatchEnumeration.java, gnu/regexp/RESyntax.java,
9816         gnu/regexp/REToken.java, gnu/regexp/RETokenAny.java,
9817         gnu/regexp/RETokenBackRef.java, gnu/regexp/RETokenChar.java,
9818         gnu/regexp/RETokenEnd.java, gnu/regexp/RETokenEndSub.java,
9819         gnu/regexp/RETokenLookAhead.java,
9820         gnu/regexp/RETokenOneOf.java, gnu/regexp/RETokenPOSIX.java,
9821         gnu/regexp/RETokenRange.java, gnu/regexp/RETokenRepeated.java,
9822         gnu/regexp/RETokenStart.java,
9823         gnu/regexp/RETokenWordBoundary.java,
9824         gnu/regexp/UncheckedRE.java: Files merged from GNU Classpath.
9826 2004-03-03  Per Bothner  <per@bothner.com>
9828         * java/nio/channels/Channels.java (newInputStream, newOutputStream):
9829         Optimize when argument is a FileChannelImpl.
9830         (newInputStream(FileChannelImpl), newOutputStream(FileChannelImpl)):
9831         New native methods.
9832         * java/nio/channels/natChannels.cc:  New file for new native methods.
9833         * Makefile.am:  Update accordingly.
9835 2004-03-02  Jan Hubicka  <jh@suse.cz>
9837         * configure.host: Pass -fno-omit-frame-pointer for i386.
9838         * configure.in: Likewise.
9839         * configure: Regenerate.
9841 2004-03-01  Per Bothner  <per@bothner.com>
9843         * java/lang/natPosixProcess.cc (startProcess):  Fix thinko.
9845 2004-02-29  Per Bothner  <per@bothner.com>
9847         * java/nio/channels/FileChannelImpl.java:  Moved to package
9848         gnu/java/nio/channels, since we need to refer to it from java.io.
9849         * java/nio/channels/natFileChannelImpl.cc:  Removed file.
9850         * gnu/java/nio/channels/FileChannelImpl.java:  New class, renamed
9851         from java/nio/channels.  Don't depend on FileDescriptor.
9852         (in, out, err):  New static fields.
9853         (mode):  New field.
9854         (SET, CUR, READ, WRITE, APPEND, EXCL, SYNC, DSYNC):  Moved constants
9855         from FileDescriptor.
9856         (by):  Removed MappedByteBuffer field.
9857         (map):  New working implementation.
9858         * gnu/java/nio/channels/natFileChannelPosix.cc:  New file, though
9859         some code "ported" from natFileDescriptoPosix.cc.
9860         * gnu/java/nio/channels/natFileChannelEcos.cc:  Likewise.
9861         * gnu/java/nio/channels/natFileChannelWin32.cc  Likewise.
9862         * java/io/FileDescriptor.java:  Implement on top of FileChannel.
9863         Remove native methods.
9864         * Makefile.am, configure.in:  Updated accordingly.
9866         * gnu/java/nio/FileLockImpl.java (fd):  Remove field, replacing it by:
9867         (ch):  New FileChannelImpl field.  Update constructor to match.
9868         (releaseImpl):  Remove native method.  Instead ...
9869         (release):  Call unlock on channel.
9870         * gnu/java/nio/natFileLockImpl.cc:  Removed file.
9872         * java/io/natFileDescriptorEcos.cc:  Remove file.
9873         * java/io/natFileDescriptorPosix.cc:  Remove file.
9874         * java/io/natFileDescriptorWin32.cc:  Remove file.
9875         * java/io/FileInputStream.java (ch):  Change type to FileChannelImpl.
9876         (<init>(File)):  Allocate a FileChannelImpl, not a FileDescriptor.
9877         (<init>(FileChannelImpl)):  New package-private constructor.
9878         (<init>(FileDescriptor)):  Extract FileChannelImpl from arg.
9879         (available, close, read, skip):  Implement using FileChannelImpl.
9880         (getFD):  Allocate FileDescriptor if needed.
9881         (getChannel):  Is now trivial.
9882         * java/io/FileOutputStream.java:  Corresponding changes.
9883         * java/io/RandomAccessFile.java:  Corresponding changes.
9885         * java/nio/MappedByteBuffer.java: (forceImpl, isLoadedImpl, loadImpl,
9886         unmapImpl):  New dummy methods, to be overridden by subclass.
9887         (finalize, isLoaded, load, force):  New methods.
9888         * java/nio/MappedByteBufferImpl.java:  More-or-less rewrite.
9889         Now works, at least for read mapping.
9891         * java/lang/natPosixProcess.cc (startProcess):  Implement standard
9892         streams using FileChannelImpl, not FileDescriptor.
9893         * java/lang/natWin32Process.cc (startProcess):  Likewise.
9895 2004-02-28  Michael Koch  <konqueror@gmx.de>
9897         * java/io/ObjectInputStream.java: Compile fix, damn I commited the
9898         wrong code.
9900 2004-02-28  Guilhem Lavaux <guilhem@kaffe.org>
9902         * java/io/ObjectInputStream.java
9903         (readClassDescriptor): Keep elements of the mapping non null.
9904         (checkTypeConsistency): New method.
9905         (readFields): Fixed main loop and base logic. Small reindentation.
9906         * java/io/ObjectStreamField.java
9907         (lookupField): New method to update the field reference.
9908         (checkFieldType): New method.
9909         * java/io/ObjectStreamClass.java
9910         (setClass, setFields): Call lookupField when building the field
9911         database. Check the real field type.
9913 2004-02-28  Michael Koch  <konqueror@gmx.de>
9915         * java/nio/ByteOrder.java
9916         (nativeOrder): Use equals() to compare strings.
9918 2004-02-26  Michael Koch  <konqueror@gmx.de>
9920         * gnu/java/nio/FileLockImpl.java
9921         (finalize): Made protected.
9922         * java/nio/channels/FileChannel.java
9923         (MapMode.READ_ONLY): Made final.
9924         (MapMode.READ_WRITE): Made final.
9925         (MapMode.PRIVATE): Made final.
9926         * java/nio/channels/SocketChannel.java
9927         (open): Simplified code.
9928         * java/nio/channels/spi/AbstractSelectableChannel.java
9929         (registered): Unused, removed.
9930         (keyFor): Check channel is open, only locate key
9931         and not add a new one.
9932         (register): Don't delete attachments.
9934 2004-02-26  Michael Koch  <konqueror@gmx.de>
9936         * gnu/java/awt/ComponentDataBlitOp.java
9937         (INSTANCE): Made final.
9938         * gnu/java/awt/image/ImageDecoder.java:
9939         Reworked imports.
9940         (cm): Unused, removed.
9942 2004-02-26  Michael Koch  <konqueror@gmx.de>
9944         * gnu/java/nio/DatagramChannelImpl.java
9945         (send): Check if target address is resolved.
9947 2004-02-26  Michael Koch  <konqueror@gmx.de>
9949         * Makefile.am: Generate and install headers for inner classes in
9950         java.nio.channels.Pipe and gnu.java.nio.PipeImpl.
9951         * Makefile.in: Regenerated.
9953 2004-02-24  Anthony Green  <green@redhat.com>
9955         * java/lang/StringBuffer.java: No need to NULL out remainder of
9956         buffer since ensureCapacity_unsynchronized will have done this for
9957         us.
9959 2004-02-20  Michael Koch  <konqueror@gmx.de>
9961         * gnu/java/net/protocol/jar/Handler.java
9962         (): Removed unneeded check for file != null. java.net.URL.getFile()
9963         returns an empty string but never null.
9965 2004-02-20  Michael Koch  <konqueror@gmx.de>
9967         * gnu/gcj/convert/Convert.java
9968         (main): Use equals() to compare strings.
9970 2004-02-20  Michael Koch  <konqueror@gmx.de>
9972         * javax/swing/AbstractButton.java: Made several constants final.
9973         (getRolloverSelectedIcon): Made public.
9974         (getSelectedIcon): Made public.
9976 2004-02-16  Per Bothner  <per@bothner.com>
9978         * java/nio/CharBufferImpl.java:  Inline super constructor.
9979         * java/nio/DoubleBufferImpl.java:  Likewise.
9980         * java/nio/FloatBufferImpl.java:  Likewise.
9981         * java/nio/IntBufferImpl.java:  Likewise.
9982         * java/nio/LongBufferImpl.java:  Likewise.
9983         * java/nio/ShortBufferImpl.java:  Likewise.
9984         * java/nio/CharBuffer.java:  Remove unused constructor.
9985         * java/nio/DoubleBuffer.java:  Likewise.
9986         * java/nio/FloatBuffer.java:  Likewise.
9987         * java/nio/IntBuffer.java:  Likewise.
9988         * java/nio/LongBuffer.java:  Likewise.
9989         * java/nio/ShortBuffer.java:  Likewise.
9990         * java/nio/CharViewBufferImpl.java:  New convenience constructor.
9991         Fix buggy call to super constructor.
9992         * java/nio/DoubleViewBufferImpl.java:  Likewise.
9993         * java/nio/FloatViewBufferImpl.java:  Likewise.
9994         * java/nio/IntViewBufferImpl.java:  Likewise.
9995         * java/nio/LongViewBufferImpl.java:  Likewise.
9996         * java/nio/ShortViewBufferImpl.java:  Likewise.
9997         
9998         * java/nio/ByteBuffer.java (endian):  Make non-private so other
9999         java.nio classes can inherit it.
10000         (<init>):  Don't bother clearing array_offset.
10001         * java/nio/ByteBuffer.java (allocate):  Re-implement using wrap.
10002         * java/nio/ByteBuffer.java (get(byte[],int,int)):  Check underflow.
10003         Remove redundant test.
10005         * java/nio/ByteBufferImpl.java (asCharBuffer, asShortBuffer,
10006         asIntBuffer, asLongBuffer, asFloatBuffer, asDoubleBuffer):
10007         Use new XxxViewBufferImpl constructors.
10008         * java/nio/MappedByteBufferImpl.java:  Likewise.
10009         * java/nio/DirectByteBufferImpl.java:  Likewise.
10011         * java/nio/ByteBufferImpl.java:  Remove one constructor.
10012         Inline super in remaining constructor.
10013         * java/nio/ByteBuffer.java:  Remove unused constructor.
10015         * java/nio/ByteBufferImpl.java (shiftDown):  New optimized method.
10017         * java/nio/ByteBufferImpl.java (get, put):  Add array_offset.
10018         * java/nio/DirectByteBufferImpl.java (owner):  New field.
10019         (offset):  Remove unused field.
10020         (<init>):  Modify one and add another constructor.  Change callers.
10021         (allocateDirect):  Removed - not used.
10022         (getImpl, putImpl):  Make static and pass address explicitly,
10023         to make them useful for MappedByteBufferImpl.
10024         (get, put):  Check for underflow.  Modify for new getImpl.
10025         (getImpl):  New native method where target is array.
10026         (get(byte[],int,int)):  Use the above.
10027         (adjustAddress):  New static native method.
10028         (slice, duplicate, asReadOnly):  New implementations.
10029         * java/nio/natDirectByteBufferImpl.cc (getImpl, putImpl, shiftDown,
10030         adjustAddress):  New or updated native methods.
10032 2004-02-15  Ito Kazumitsu  <kaz@maczuka.gcd.org>
10034         * java/io/ObjectInputStream.java (readClassDescriptor): Avoid the
10035         overflow of fieldmapping.
10037 2004-02-14  Sascha Brawer  <brawer@dandelis.ch>
10039         * javax/swing/undo/UndoManager.java: Re-written from scratch.
10041 2004-02-14  Per Bothner  <per@bothner.com>
10043         * java/nio/channels/spi/AbstractInterruptibleChannel.java (close):
10044         Set closed before calling implCloseChannel, as in the spec.
10046 2004-02-09  Graydon Hoare  <graydon@redhat.com>
10048         * javax/swing/ToggleButtonModel.java: Remove dead class.
10049         * javax/swing/plaf/basic/BasicDefaults.java: Remove dead class.
10050         * javax/swing/plaf/basic/BasicButtonListener.java: New class.
10051         * javax/swing/plaf/basic/BasicRootPaneUI.java: New class.
10052         * Makefile.am: Update for new and removed files.
10053         * Makefile.in: Regenerate.
10055         * gnu/java/awt/peer/gtk/GdkGraphics2D.java: Initialize default hints.
10056         * javax/swing/AbstractButton.java 
10057         (AbstractButton): Initialize fields correctly in ctor.
10058         * javax/swing/JCheckbox.java 
10059         (JCheckBox): Override painting flags.
10060         * javax/swing/DefaultButtonModel.java: Conform to sun.
10061         * javax/swing/JComponent.java (paint): Fill with background color
10062         if available.
10063         (processComponentKeyEvent)
10064         (processFocusEvent)
10065         (processKeyEvent)
10066         (processMouseMotionEvent): Remove event-consuming empty methods.
10067         (getUIClassID): Return "ComponentUI" not "JComponent"
10068         * javax/swing/JFrame.java: Remove some debugging chatter.
10069         (JFrame): Subscribe to window events.
10070         * javax/swing/JRadioButton.java 
10071         (JRadioButton): Override painting flags.
10072         * javax/swing/JRootPane.java 
10073         (JRootPane): Set background from UIDefaults.
10074         * javax/swing/JToggleButton.java 
10075         (ToggleButtonModel): New inner class.
10076         (JToggleButton): Override layout alighment.
10077         * javax/swing/SwingUtilities.java:
10078         (getLocalBounds): Return width and height, not x and y.
10079         (calculateInnerArea): Use local bounds, not bounds.
10080         (layoutCompoundLabel): Provide overridden form.
10081         (layoutCompoundLabel): Correct bugs.
10082         * javax/swing/UIDefaults.java: Correct comment.
10083         * javax/swing/plaf/basic/BasicButtonUI.java: 
10084         Move most logic into defaults, external listener.
10085         (paintIcon): Implement icon painting.
10086         (paint): Fix state painting to conform to changes in model.
10087         * javax/swing/plaf/basic/BasicCheckBoxUI.java:
10088         Remove most dead/wrong methods.
10089         (getDefaultIcon): Return defaults.getIcon("CheckBox.icon").
10090         * javax/swing/plaf/basic/BasicIconFactory.java:
10091         (DummyIcon): New class.
10092         (getMenuItemCheckIcon)
10093         (getMenuItemArrowIcon) 
10094         (getMenuArrowIcon)
10095         (getCheckBoxMenuItemIcon)
10096         (getRadioButtonMenuItemIcon)
10097         (createEmptyFrameIcon): Return DummyIcons, not null.
10098         (getCheckBoxIcon): Implement an icon that looks like sun's.
10099         (getRadioButtonIcon): Implement an icon that looks like sun's.
10100         * javax/swing/plaf/basic/BasicLookAndFeel.java 
10101         (initComponentDefaults): Fix impossible values, add some missing.
10102         * javax/swing/plaf/basic/BasicPanelUI.java (gap): Remove field.
10103         * javax/swing/plaf/basic/BasicRadioButtonUI.java:
10104         Remove most dead/wrong methods.
10105         (icon): New field.
10106         (getDefaultIcon): New method.
10107         * javax/swing/plaf/basic/BasicToggleButtonUI.java:
10108         Remove most dead/wrong methods.
10109         * javax/swing/plaf/metal/MetalLookAndFeel.java
10110         (getDefaults): Return super.getDefaults(), not BasicDefaults.
10111         * jni/gtk-peer/gnu_java_awt_peer_gtk_GdkGraphics.c
10112         (Java_gnu_java_awt_peer_gtk_GdkGraphics_clearRect):
10113         Implement "clearing" as drawing, when on pixmap drawables.
10115         * javax/swing/JButton.java (getUIClassID): 
10116         * javax/swing/JCheckBox.java (getUIClassID):
10117         * javax/swing/JEditorPane.java (getUIClassID):
10118         * javax/swing/JLabel.java (getUIClassID): 
10119         * javax/swing/JList.java (getUIClassID): 
10120         * javax/swing/JOptionPane.java (getUIClassID): 
10121         * javax/swing/JPanel.java (getUIClassID): 
10122         * javax/swing/JPasswordField.java (uiClassID): 
10123         * javax/swing/JRadioButton.java (getUIClassID): 
10124         * javax/swing/JRootPane.java (getUIClassID): 
10125         * javax/swing/JScrollPane.java (getUIClassID): 
10126         * javax/swing/JTabbedPane.java (getUIClassID): 
10127         * javax/swing/JToggleButton.java (getUIClassID): 
10128         * javax/swing/JTree.java (getUIClassID): 
10129         * javax/swing/JViewport.java (getUIClassID): 
10130         * javax/swing/text/JTextComponent.java (getUIClassID):
10131         Return "fooUI" not "Jfoo"
10133 2004-02-11  Michael Koch  <konqueror@gmx.de>
10135         * java/net/DatagramSocket.java
10136         (setReuseAddress): Use Boolean.valueOf() instead of creating a new
10137         Boolean object.
10138         (setBroadcast): Likewise.
10139         * java/net/MulticastSocket.java
10140         (setLoopbackMode): Likewise.
10141         * java/net/ServerSocket.java
10142         (setReuseAddress): Likewise.
10143         * java/net/Socket.java
10144         (setTcpNoDelay): Likewise.
10145         (setSoLinger): Likewise.
10146         (setOOBInline): Likewise.
10147         (setKeepAlive): Likewise.
10148         (setReuseAddress): Likewise.
10149         * java/net/URLConnection.java
10150         (setContentHandler): Replace == with equals().
10151         * java/net/URLStreamHandler.java
10152         (hostSEquals): Fix checking host addresses.
10153         (toExternalForm): Dont check protocol for null. We know already its
10154         not null.
10156 2004-02-10  David Jee  <djee@redhat.com>
10158         * java/awt/BorderLayout.java
10159         (calcCompSize): Invisible components get zero dimensions.
10160         * java/awt/Button.java
10161         (setLabel): Set actionCommand.
10162         * java/awt/Component.java
10163         (show): Invalidate component and parent container.
10164         (hide): Likewise.
10166 2004-02-10  David Jee  <djee@redhat.com>
10168         * java/awt/GridBagLayout.java
10169         (GridBagLayout): New private field, internalcomptable.
10170         (lookupInternalConstraints): New method.
10171         (ArrangeGrid): Use components' MINSIZE. Use internalcomptable.
10172         (GetLayoutInfo): Reimplement.
10173         (calcCellSizes): Ignore rows/columns with size 0.
10175 2004-02-10  Michael Koch  <konqueror@gmx.de>
10177         * gnu/java/awt/EmbeddedWindow.java
10178         (setHandle): Use java.awt.Component.getPeer() instead of
10179         java.awt.Component.peer directly.
10181 2004-02-10  David Jee  <djee@redhat.com>
10183         * gnu/java/awt/peer/gtk/GtkButtonPeer.java
10184         (gtkSetLabel): New native method definition.
10185         (setLabel): Use gtkSetLabel.
10186         * jni/gtk-peer/gnu_java_awt_peer_gtk_GtkButtonPeer.c
10187         (Java_gnu_java_awt_peer_gtk_GtkButtonPeer_gtkSetLabel): New method.
10189 2004-02-10  Alan Modra  <amodra@bigpond.net.au>
10191         * include/powerpc-signal.h: Revert 2004-01-21 change.
10192         (INIT_SEGV, INIT_FPE): Provide powerpc64 versions.  Check return
10193         from syscall for ppc32 versions.
10195 2004-02-08  Per Bothner  <per@bothner.com>
10197         * java/nio/ByteBuffer.java (shiftDown):  New helper method.
10198         * java/nio/natDirectByteBufferImpl.cc (shiftDown):  New implementation.
10199         * java/nio/ByteBufferImpl.java (compact):  Use new shiftDown method.
10200         * sava/nio/ByteBufferHelper.java:  Remove redundant 'final' specifiers.
10201         Pass ByteOrder parameter to most methods, since the underlying
10202         ByteBuffer's order isn't always what we should use.
10203         * java/nio/ByteBufferImpl.java:  Pass byte-order various places.
10204         * java/nio/DirectByteBufferImpl.java:  Likewise.
10205         Use ByteBufferHelper methods.
10206         * java/nio/MappedByteBufferImpl.java:  Likewise.
10207         (compact):  Use shiftDown.
10208         * java/nio/CharViewBufferImpl.java (<init>):  Pass byte-order.
10209         (get, put):  Use ByteBufferHelper.
10210         (compact):  Use new shiftDown method.
10211         (duplicate(boolean)):  New helper method.
10212         (duplicate, asReadOnlyBuffer):  Use it.
10213         (order):  Return endian field.
10214         * java/nio/DoubleViewBufferImpl.java:  Likewise.
10215         * java/nio/FloatViewBufferImpl.java:  Likewise.
10216         * java/nio/IntViewBufferImpl.java:  Likewise.
10217         * java/nio/LongViewBufferImpl.java:  Likewise.
10218         * java/nio/ShortViewBufferImpl.java:  Likewise.
10219         * java/nio/CharViewBufferImpl.java (subsequence):  Redundant test.
10220         * java/nio/DirectByteBufferImpl.java (shiftDown):  New native method.
10221         (compact):  Re-implement using shiftDown.
10223 2004-02-08  Andreas Jaeger  <aj@suse.de>
10225         * include/x86_64-signal.h: Fix typo.
10227 2004-02-08  Diego Novillo  <dnovillo@redhat.com>
10229         * include/i386-signal.h (MAKE_THROW_FRAME): Add volatile
10230         qualifier to _regs.
10231         (HANDLE_DIVIDE_OVERFLOW): Likewise.
10233 2004-02-06  Michael Koch  <konqueror@gmx.de>
10235         * java/io/ObjectInputStream.java
10236         (currentClassLoader): Reverted to old version of this method.
10238 2004-02-06  Jeroen Frijters  <jeroen@frijters.net>
10240         * java/io/ObjectInputStream.java: Made all calls
10241         to dumpElement[ln] conditional on dump flag. (readObject): Changed to
10242         use cached info from ObjectStreamClass. (readClassDescriptor):
10243         Cache more information in ObjectStreamClass. (processResolution,
10244         readFields): Use cached info from ObjectStreamClass.
10245         (newObject): Throw exception instead of returning null for failure.
10246         (getField, getMethod, callReadMethod, setBooleanField, setByteField,
10247         setCharField, setDoubleField, setFloatField, setIntField,
10248         setLongField, setShortField, setObjectField, readObjectParams):
10249         Removed. (dumpElement, dumpElementln): Removed dump flag condition
10250         check.
10251         * java/io/ObjectStreamField.java (hasReadMethod): Removed.
10252         (setClass): Added call to cacheMethods() (findMethod): New method.
10253         (cacheMethods): New method. (ObjectStreamClass): Added call to
10254         cacheMethods(). (setFields): Cache fields. (getClassUID): Use
10255         AccessController.doPrivileged to invoke setAccessible.
10256         (readObjectMethod, readResolveMethod, realClassIsSerializable,
10257         realClassIsExternalizable, fieldMapping, firstNonSerializableParent):
10258         New fields.
10259         * java/io/ObjectStreamField.java (ObjectStreamField): New constructor.
10260         (ObjectStreamField): Removed FIXME workaround. (getTypeString,
10261         isPrimitive): Made safe for cases where type == null.
10262         (setBooleanField, setByteField, setCharField, setShortField,
10263         setIntField, setLongField, setFloatField, setDoubleField,
10264         setObjectField): New methods.
10266 2004-02-05  Thomas Fitzsimmons  <fitzsim@redhat.com>
10268         * java/awt/Component.java (getFont): Return a default font
10269         instead of null.
10271         * java/awt/Scrollbar.java (next_scrollbar_number): New field.
10272         (Scrollbar (int, int, int, int, int)): Make default page
10273         increment 10.
10274         (setValues): Only call peer.setValues if one of the values has
10275         changed.
10276         (generateName): New method.
10277         (getUniqueLong): New method.
10278         * jni/gtk-peer/gnu_java_awt_peer_gtk_GtkScrollBarPeer.c
10279         (range_scrollbar): Remove structure.
10280         (post_adjustment_event): Remove function.
10281         (post_change_event): Accept jobject argument.
10282         (create): Cast jints to gdoubles.  Round scrollbar values to the
10283         nearest integer.  Clamp min, max and value settings.
10284         (connectJObject): Connect hook to widget->window.
10285         (connectSignals): Remove range_scrollbar structure variables.
10286         Remove "move-slider" connection.  Pass global peer reference to
10287         "value-changed" callback.
10288         (setLineIncrement): Cast jint value to gdouble.
10289         (setPageIncrement): Likewise.
10290         (setValues): Likewise.  Clamp min, max and value settings.
10292 2004-02-05  Michael Koch  <konqueror@gmx.de>
10294         * javax/swing/AbstractCellEditor.java
10295         (getCellEditorValue): Removed.
10296         * javax/swing/Box.java: Reformated.
10297         (serialVersionUID): New field.
10298         * javax/swing/ButtonGroup.java:
10299         Removed some weird whitespace.
10300         * javax/swing/CellEditor.java: Reformated.
10301         * javax/swing/CellRendererPane.java
10302         (serialVersionUID): New field.
10303         (AccessibleCellRendererPaneserialVersionUID): New field.
10304         * javax/swing/DefaultListModel.java
10305         (serialVersionUID): New field.
10306         * javax/swing/JEditorPane.java
10307         (serialVersionUID): New field.
10308         (setPage): Throws IOException.
10309         (addHyperlinkListener): Implemented.
10310         (removeHyperlinkListener): Implemented.
10311         (getHyperlinkListener): New method.
10312         * javax/swing/JFileChooser.java
10313         (serialVersionUID): New field.
10314         (AccessibleJFileChooser.serialVersionUID): New field.
10315         (addActionListener): Implemented.
10316         (removeActionListener): Implemented.
10317         (getActionListeners): New method.
10318         * javax/swing/JFormattedTextField.java
10319         (serialVersionUID): New field.
10320         (AbstractFormatter.serialVersionUID): New field.
10321         (clone): Throws CloneNotSupportedException
10322         (setEditValid): Add missing argument.
10323         (stringToValue): Throws ParseExcpetion.
10324         (valueToString): Throws ParseException.
10325         (commitEdit): Throws ParseException.
10326         * javax/swing/JLabel.java
10327         (serialVersionUID): New field.
10328         * javax/swing/JList.java
10329         (serialVersionUID): New field.
10330         (addListSelectionListener): Reformated.
10331         (removeListSelectionListener): Reformated.
10332         (getListSelectionListeners): New method.
10333         * javax/swing/colorchooser/AbstractColorChooserPanel.java:
10334         Reformated.
10335         (serialVersionUID): New field.
10336         * javax/swing/table/AbstractTableModel.java
10337         (getValueAt): Removed.
10338         (getColumnCount): Removed.
10339         (getRowCount): Removed.
10341 2004-02-05  Michael Koch  <konqueror@gmx.de>
10343         * java/awt/datatransfer/DataFlavor.java
10344         (imageFlavor): Javadoc added.
10345         (javaJVMLocalObjectType): Fixed.
10347 2004-02-05  Michael Koch  <konqueror@gmx.de>
10349         * java/lang/Thread.java
10350         (Thread): Reordered.
10351         (setContextClassLoader): Fixed javadoc comment.
10352         (setPriority): Reordered.
10353         (yield): Reordered.
10354         (initialize_native): Reordered.
10355         (gen_name): Reordered.
10357 2004-02-05  Michael Koch  <konqueror@gmx.de>
10359         * java/lang/Thread.java: Reordered fields, reformated much code,
10360         no functional changes, some variables renamed, javadoc comments
10361         merged.
10363 2004-02-05  Michael Koch  <konqueror@gmx.de>
10365         * java/util/zip/Deflater.java,
10366         java/util/zip/DeflaterOutputStream.java,
10367         java/util/zip/GZIPInputStream.java:
10368         Reformated and javadoc comments merged from classpath.
10370 2004-02-05  Michael Koch  <konqueror@gmx.de>
10372         * gnu/java/nio/NIOServerSocket.java
10373         (impl): Unused, removed.
10374         * gnu/java/nio/SocketChannelImpl.java
10375         (finnishConnect): Don't throw NoConnectionPendingException if not
10376         connected or no connection pending.
10378 2004-02-02  Graydon Hoare  <graydon@redhat.com>
10380         * javax/swing/SwingUtilities.java: Many new functions.
10381         * java/awt/Container.java (LightweightDispatcher): Reimplement.
10382         * javax/swing/basic/BasicGraphicsUtils.java 
10383         (getPreferredButtonSize): Start layout from top-left corner.
10385 2004-02-04  Olga Rodimina  <rodimina@redhat.com>
10387         * java/awt/geom/AffineTransform.java: 
10388         Corrected comments on the field definitions for
10389         m11 and m10.
10390         (shear): Fixed few errors that caused shear
10391         transformation to be performed incorrectly.
10392         (createInverse): Fixed to return correct
10393         inverse of the given matrix.
10395 2004-02-03  Tom Tromey  <tromey@redhat.com>
10397         * java/lang/natPosixProcess.cc (startProcess): Handle case where
10398         PATH or LD_LIBRARY_PATH is not set in parent environment.
10400 2004-02-03  Thomas Fitzsimmons  <fitzsim@redhat.com>
10402         * gnu/java/awt/peer/gtk/GtkListPeer.java,
10403         java/awt/BorderLayout.java, java/awt/CardLayout.java,
10404         java/awt/CheckboxGroup.java, java/awt/Choice.java,
10405         java/awt/Component.java, java/awt/Container.java,
10406         java/awt/FontMetrics.java, java/awt/GridBagLayout.java,
10407         java/awt/LayoutManager2.java, java/awt/List.java,
10408         java/awt/Menu.java, java/awt/MenuBar.java,
10409         java/awt/MenuItem.java, java/awt/Polygon.java,
10410         java/awt/Rectangle.java, java/awt/ScrollPane.java,
10411         java/awt/Scrollbar.java, java/awt/TextArea.java,
10412         java/awt/TextField.java,
10413         java/awt/image/renderable/RenderContext.java,
10414         javax/swing/JApplet.java: Fix handling of alias methods, where a
10415         method has been deprecated in favour of a new one with the same
10416         funtion but a different name.  Put the method implementation in
10417         the deprecated method and have the new method call the
10418         deprecated one.  Make all other code call the new method.
10420 2004-02-03  Mohan Embar  <gnustuff@thisiscool.com>
10422         * gnu/java/nio/DatagramChannelImpl.java
10423         (inChannelOperation): New field.
10424         (isInChannelOperation): New accessor.
10425         (setInChannelOperation): New modifier.
10426         (receive): Use capacity() - position() of destination
10427         buffer instead of remaining(). Set and reset our "in
10428         channel operation indicator" before and after delegating
10429         the receive to our datagram socket. Removed testing code.
10430         Update destination buffer's current position if it is
10431         backed by a byte array (hasArray() is true).
10432         (send): Set and reset our "in channel operation indicator"
10433         before and after delegating the send to our datagram socket.
10434         Removed testing code. Update source buffer's current position
10435         if it is backed by a byte array (hasArray() is true).
10436         * gnu/java/nio/SocketChannelImpl.java (read(ByteBuffer)):
10437         Use capacity() - position() of destination buffer instead
10438         of remaining().
10439         * java/net/DatagramSocket.java (receive): Don't throw an
10440         IllegalBlockingModeException if we have a non-blocking
10441         channel which initiated this operation.
10442         (send): Likewise.
10444 2004-02-01  Thomas Fitzsimmons  <fitzsim@redhat.com>
10446         * configure.in: Add pkgconfig check for glib and gthread.
10447         * configure: Regenerate.
10449 2004-02-01  Michael Koch  <konqueror@gmx.de>
10451         * include/jvm.h (MAYBE_UNUSED): New macro tp mark probably unused
10452         arguments.
10453         * jni.cc (_Jv_LookupJNIMethod): Mark 'args_size' unused.
10454         * verify.cc (debug_print): Mark 'fmt' unused.
10456 2004-01-30  Michael Koch  <konqueror@gmx.de>
10458         * configure.in: Use pkg-config to check for GTK 2.2 and libart 2.1.
10459         * configure: Regenerated.
10460         * glib-2.0.m4: Removed.
10461         * gtk-2.0.m4: Removed.
10462         * libart.m4: Removed.
10463         * pkg.m4: New file.
10465 2004-01-30  Mohan Embar  <gnustuff@thisiscool.com>
10467         * gnu/java/net/PlainSocketImpl.java 
10468         (inChannelOperation): New field.
10469         (isInChannelOperation): New accessor.
10470         (setInChannelOperation): New modifier.
10471         * gnu/java/nio/ServerSocketChannelImpl.java
10472         (accept): Set and reset our server socket's PlainSocketImpl's
10473         "in channel operation" indicator before and after delegating
10474         the accept to our server socket.
10475         * gnu/java/nio/SocketChannelImpl.java
10476         (connect): Set and reset our socket's PlainSocketImpl's "in channel
10477         operation" indicator before and after delegating the operation to
10478         our socket.
10479         (read): Likewise.
10480         (write): Likewise.
10481         * java/net/ServerSocket.java (implAccept): Don't throw an
10482         IllegalBlockingModeException if we have a non-blocking
10483         channel which initiated this accept operation.
10484         * java/net/Socket.java (connect): Don't throw an
10485         IllegalBlockingModeException if we have a non-blocking
10486         channel which initiated this connect operation.
10487         * java/nio/channels/spi/AbstractSelectableChannel.java
10488         (configureBlocking): Only call implConfigureBlocking() if
10489         the desired blocking mode is different from our current one.
10491 2004-01-29  Mohan Embar  <gnustuff@thisiscool.com>
10493         * java/io/BufferedReader.java (sbuf): New field.
10494         (readLine): Use String.valueOf instead of new String() as per
10495         Per Bothner's suggestion. Use instance sbuf field instead of a
10496         local StringBuffer instance.
10497         * java/io/InputStreamReader.java (read(char[],int,int)): Pass the
10498         caller's buffer to refill().
10499         (read(void)): Pass our internal work buffer to refill if our
10500         input queue is empty.
10501         (refill): Changed return type to int. Use the specified buffer
10502         instead of our work buffer as per Bryce McKinlay's suggestion.
10503         Return the number of characters read or -1 for EOF.
10505 2004-01-29  Scott Gilbertson  <scottg@mantatest.com>
10507         * gnu/awt/xlib/XCanvasPeer.java (handleEvent): Implemented.
10509 2004-01-29  Scott Gilbertson  <scottg@mantatest.com>
10511         * Makefile.am: Added gnu/awt/xlib/XFontPeer.java.
10512         * Makefile.in: Re-generated.
10513         * gnu/awt/xlib/XFontPeer.java: New file.
10514         * gnu/awt/xlib/XGraphics.java (setFont): Test for null font.
10515         (setClip): Commented out debug printout.
10516         * gnu/awt/xlib/XToolkit.java: Change superclass to ClasspathToolkit.
10517         (getFontPeer): Return XFontPeer.
10518         (getLocalGraphicsEnvironment): New method.
10519         (getClasspathFontPeer): New method.
10520         (createFont): New method.
10522 2004-01-29  Scott Gilbertson  <scottg@mantatest.com>
10524         * gnu/java/awt/peer/ClasspathFontPeer.java (getTransform): Never
10525         return null. 
10527 2004-01-29  Kim Ho  <kho@redhat.com>
10529         * gnu/java/awt/peer/gtk/GtkFramePeer.java
10530         (gtkLayoutSetVisible): New method
10531         (setMenuBar): Hide layout before setting MenuBar
10532         and reshow it after.
10533         * jni/gtk-peer/gnu_java_awt_peer_gtk_GtkWindowPeer.c
10534         (gtkLayoutSetVisible): Hide or show the Gtk Layout.
10536 2004-01-28  Michael Koch  <konqueror@gmx.de>
10538         * gnu/java/lang/ClassHelper.java
10539         (getPackagePortion): Removed.
10541 2004-01-28  Michael Koch  <konqueror@gmx.de>
10543         * javax/swing/JComponent.java
10544         (listenerList): Initalize globally.
10545         (ancestor_list): Removed.
10546         (veto_list): Removed.
10547         (change_list): Removed.
10548         (get_veto_list): Removed.
10549         (get_change_list): Removed.
10550         (get_ancestor_list): Removed.
10551         (removeAncestorListener): Reimplemented.
10552         (removePropertyChangeListener): Likewise.
10553         (removeVetoableChangeListener): Likewise.
10554         (addAncestorListener): Likewise.
10555         (addPropertyChangeListener): Likewise.
10556         (addVetoableChangeListener): Likewise.
10557         (getListeners): New method.
10558         (getAncestorListeners): Likewise.
10559         (getVetoableChangeListeners): Likewise.
10560         (fireVetoableChange): Throws PropertyVetoException.
10561         * javax/swing/JEditorPane.java
10562         (JEditorPane): Throws IOException.
10564 2004-01-28  David Jee  <djee@redhat.com>
10566         * gnu/java/awt/peer/gtk/GtkFramePeer.java
10567         (create): Set the default foreground color to
10568         java.awt.SystemColor.windowText.
10570 2004-01-27  Michael Koch  <konqueror@gmx.de>
10572         * gnu/java/awt/peer/gtk/GdkClasspathFontPeer.java,
10573         * gnu/java/awt/peer/gtk/GdkGlyphVector.java:
10574         Reindented to merge with classpath.
10576 2004-01-27  David Jee  <djee@redhat.com>
10578         * jni/gtk-peer/gnu_java_awt_peer_gtk_GtkComponentPeer.c
10579         (addExposeFilter): Handle GtkFramePeer separately.
10580         (removeExposeFilter): Likewise.
10582 2004-01-27  Michael Koch  <konqueror@gmx.de>
10584         * gnu/java/net/protocol/http/Connection.java
10585         (getOutputStream): Fixed typo.
10587 2004-01-27  Michael Koch  <konqueror@gmx.de>
10589         * java/lang/Class.java
10590         (getConstructor): Removed SecurityException from throws clause.
10591         (_getConstructors): Likewise.
10592         (getConstructors): Likewise.
10593         (getDeclaredConstructor): Likewise.
10594         (getDeclaredClasses): Likewise.
10595         (getDeclaredConstructors): Likewise.
10596         (getDeclaredField): Likewise.
10597         (getDeclaredMethod): Likewise.
10598         (getDeclaredMethods): Likewise.
10599         (getField): Likewise.
10600         (getMethod): Likewise.
10601         (getMethods): Likewise.
10603 2004-01-27  Kim Ho  <kho@redhat.com>
10605         * gnu/java/awt/peer/gtk/GtkFramePeer.java
10606         (removeMenuBarPeer): Remove MenuBarPeer argument.
10607         * gnu/java/awt/peer/gtk/GtkMenuComponentPeer.java
10608         (dispose): Call native method.
10609         * java/awt/Frame.java (setMenuBar): Create and remove
10610         MenuBar peers only if the Frame has a peer.
10611         (addNotify): Create the MenuBar peer if one exists.
10612         (removeNotify): Remove MenuBar peer if one exists.
10613         * java/awt/Menu.java: Fix imports.
10614         (addNotify): Don't use full class name.
10615         (removeNotify): Call removeNotify on all children.
10616         * java/awt/MenuBar.java (removeNotify): Call
10617         removeNotify on all children.
10618         * jni/gtk-peer/gnu_java_awt_peer_gtk_GtkWindowPeer.c
10619         (removeMenuBarPeer): Remove MenuBarPeer argument.
10620         Iterate through children to find the Frame's MenuBar.
10621         * jni/gtk-peer/gnu_java_awt_peer_gtk_GtkMenuComponentPeer.c
10622         New file.
10623         (dispose): Remove references to the MenuComponent.
10625 2004-01-27  Michael Koch  <konqueror@gmx.de>
10627         * javax/swing/AbstractCellEditor.java: Reformated.
10628         * javax/swing/DefaultListSelectionModel.java
10629         (listenerList): Made protected.
10630         (addListSelectionListener): Javadoc added.
10631         (removeListSelectionListener): Likewise.
10632         (getListeners): Likewise.
10633         (getListSelectionListeners): Likewise.
10634         * javax/swing/JComboBox.java: Merged copyright year.
10635         * javax/swing/plaf/basic/BasicGraphicsUtils.java: Merged empty line.
10637 2004-01-26  Andrew Haley  <aph@redhat.com>
10639         * javax/swing/table/JTableHeader.java: Extend JComponent
10641 2004-01-26  Kim Ho  <kho@redhat.com>
10643         * gnu/java/awt/peer/gtk/GtkFramePeer.java (setMenuBar):
10644         Fix spacing.
10646 2004-01-26  Kim Ho  <kho@redhat.com>
10648         * gnu/java/awt/peer/gtk/GtkFramePeer.java (moveLayout): New
10649         method.
10650         (setMenuBar): Shift the Gtk layout up/down by the MenuBar
10651         height and let the Layout Managers readjust anything that
10652         needs to move.
10653         * jni/gtk-peer/gnu_java_awt_peer_gtk_GtkWindowPeer.c
10654         (moveLayout): New method. Shift everything in the Gtk
10655         layout in the Y direction by an offset.
10657 2004-01-26  David Jee  <djee@redhat.com>
10659         * gnu/java/awt/peer/gtk/GtkComponentPeer.java
10660         (handleEvent): Implemented. Handles PaintEvents.
10661         (paint): Implemented. Use GTK native methods to queue updates
10662         for this heavyweight peer.
10663         * gnu/java/awt/peer/gtk/GtkContainerPeer.java
10664         (handleEvent): Removed.
10665         * java/awt/Component.java
10666         (paint): Implemented. Explictly paint the heavyweight peer.
10667         (update): Clear the background for heavyweight components.
10668         (paintAll): No need to call peer.paint() anymore.
10669         (processEvent): Don't process PaintEvents here. It's now done in
10670         the peer's handleEvent().
10671         (processPaintEvent): Removed.
10672         * java/awt/Container.java
10673         (paint): No need to call super.paint(). Visit heavyweight
10674         children as well.
10675         (update): Don't clear the background here.  It's done in
10676         Component.update().
10677         (visitChildren): Added check to not recurse into Containers.
10678         * jni/gtk-peer/gnu_java_awt_peer_gtk_GtkComponentPeer.c
10679         (filter_expose_event_handler): New method.  Filter unwanted
10680         expose events while painting heavyweight peers.
10681         (Java_gnu_java_awt_peer_gtk_GtkComponentPeer_addExposeFilter):
10682         New method. Connect filter and block pre_event_handler.
10683         (Java_gnu_java_awt_peer_gtk_GtkComponentPeer_removeExposeFilter):
10684         New method. Disconnect filter and unblock pre_event_handler.
10685         (Java_gnu_java_awt_peer_gtk_GtkComponentPeer_gtkWidgetQueueDrawArea):
10686         New method. Invalidate and update given area.
10687         * jni/gtk-peer/gnu_java_awt_peer_gtk_GtkEvents.c
10688         (pre_event_handler): Add checks for unwanted expose events.
10690 2004-01-26  David Jee  <djee@redhat.com>
10692         * jni/gtk-peer/gnu_java_awt_peer_gtk_GtkComponentPeer.c
10693         (find_bg_color_widget): For GtkButton, return its child.
10695 2004-01-26  Kim Ho  <kho@redhat.com>
10697         * gnu/java/awt/peer/gtk/GtkFramePeer.java (menuBarHeight): Mark
10698         private.
10699         (setMenuBar): Grab MenuBar height and change insets.
10700         (setBounds): Account for MenuBar height.
10701         (postInsetsChangedEvent): Ditto.
10702         (postSizeAllocateEvent): Remove.
10703         * jni/gtk-peer/gnu_java_awt_peer_gtk_GtkWindowPeer.c
10704         (menubar_resize_cb): Remove
10705         (setMenuBarPeer): Remove callback.
10706         (getMenuBarHeight): Use size requisition instead of
10707         allocation.
10709 2004-01-25  Thomas Fitzsimmons  <fitzsim@redhat.com>
10711         * java/awt/TextArea.java: Fix indentation.  Flesh out javadocs.
10712         (getMinimumSize (int, int)): Fix FIXME -- return Dimension (0,0)
10713         when peer is null.
10714         (setColumns): Remove FIXME -- peer will retrieve number of
10715         columns by calling getColumns.
10716         (setRows): Likewise for number of rows.
10717         (next_text_number): New field.
10718         (paramString): Fix param string.
10719         (generateName): New method.
10720         (getUniqueLong): New method.
10722 2004-01-25  Thomas Fitzsimmons  <fitzsim@redhat.com>
10724         * gnu/java/awt/peer/gtk/GtkToolkit.java (checkImage): Inform
10725         image observer of image loading status.
10726         (getImage (String)): Start image production.
10727         (getImage (URL)): Likewise.
10729 2004-01-25  Michael Koch  <konqueror@gmx.de>
10731         * java/lang/Class.java: Imports reworked, reformated.
10732         (Class): Javadoc added.
10733         (forName): Likewise.
10734         (getClasses): Likewise.
10735         (getClassLoader): Likewise.
10736         (getComponentType): Likewise.
10737         (getConstructor): Likewise.
10738         (getConstructors): Likewise.
10739         (getDeclaredConstructor): Likewise.
10740         (getDeclaredClasses): Likewise.
10741         (getDeclaredConstructors): Likewise.
10742         (getDeclaredField): Likewise.
10743         (getDeclaredMethod): Likewise.
10744         (getDeclaredMethods): Likewise.
10745         (getDeclaringClass): Likewise.
10746         (getField): Likewise.
10747         (getInterfaces): Likewise.
10748         (getMethod): Likewise.
10749         (getMethods): Likewise.
10750         (getModifiers): Likewise.
10751         (getName): Likewise.
10752         (getResource): Likewise.
10753         (getResourceAsStream): Likewise.
10754         (getSigners): Likewise.
10755         (setSigners): Likewise.
10756         (getSuperclass): Likewise.
10757         (isArray): Likewise.
10758         (isAssignableFrom): Likewise.
10759         (isInstance): Likewise.
10760         (isInterface): Likewise.
10761         (isPrimitive): Likewise.
10762         (newInstance): Likewise.
10763         (getProtectionDomain): Likewise.
10764         (toString): Likewise.
10765         (Class): Moved.
10766         (initializeClass): Likewise.
10767         (finalize): Likewise.
10769 2004-01-24  Michael Koch  <konqueror@gmx.de>
10771         * gnu/java/net/protocol/jar/Connection.java
10772         (hdrHash): Removed.
10773         (hdrVec): Removed.
10774         (gotHeaders): Removed.
10775         (getHeaderField): Removed.
10776         (getHeaderFields): Removed.
10777         (getHeaderFieldKey): Removed.
10778         (getKey): Removed.
10779         (getField): Removed.
10780         (getHeaders): Removed.
10782 2004-01-24  Michael Koch  <konqueror@gmx.de>
10784         * Makefile.am: Added library version to gtk peer lib.
10785         * Makefile.in: Regenerated.
10787 2004-01-24  Michael Koch  <konqueror@gmx.de>
10789         * java/util/zip/InflaterInputStream.java: Merged class documentation
10790         with classpath.
10792 2004-01-21  Jakub Jelinek  <jakub@redhat.com>
10794         * include/powerpc-signal.h: Add #ifndef __powerpc64__ around the
10795         header.  For __powerpc64__ provide the default-signal.h definitions
10796         for now.
10797         * include/x86_64-signal.h [!__x86_64__]: Include java-signal-aux.h
10798         instead of the dummy definitions.
10799         * configure.host (x86_64-*): Remove CHECKREFSPEC, add DIVIDESPEC.
10800         (powerpc64*-*): Remove with_libffi_default.
10801         Only add -mminimal-toc for 64-bit compilations.
10802         * configure.in: Use powerpc-signal.h on powerpc64 as well.
10803         (x86_64-*-linux*): Set SIGNAL_HANDLER_AUX.
10804         Link SIGNAL_HANDLER_AUX to include/java-signal-aux.h.
10805         * configure: Rebuilt.
10807 2004-01-23  Michael Koch  <konqueror@gmx.de>
10809         * gnu/java/nio/FileLockImpl.java: Compile fixes.
10811 2004-01-23  Michael Koch  <konqueror@gmx.de>
10813         * java/lang/VMClassLoader.java: Reworked imports.
10814         
10815 2004-01-23  Michael Koch  <konqueror@gmx.de>
10817         * javax/swing/AbstractAction.java: Reformated.
10819 2004-01-23  Michael Koch  <konqueror@gmx.de>
10821         * java/text/CollationElementIterator.java:
10822         (setText): New method.
10824 2004-01-23  Michael Koch  <konqueror@gmx.de>
10826         * gnu/java/nio/FileLockImpl.java:
10827         Fixed filename in copyright.
10828         (released): Removed.
10829         (finalize): New method.
10830         * gnu/java/nio/natFileLockImpl.cc
10831         (releaseImpl): Implemented.
10832         * java/nio/channels/FileChannelImpl.java:
10833         Reworked imports.
10834         (lock): Implemented.
10835         (lockImpl): New method.
10836         (tryLock): Implemented.
10837         (tryLockImpl): New method.
10838         * java/nio/channels/natFileChannelImpl.cc
10839         (lockImpl): New method.
10840         (tryLockImpl): New method.
10842 2004-01-23  Michael Koch  <konqueror@gmx.de>
10844         * java/io/FileDescriptor.java
10845         (lock): New method.
10846         (tryLock): New method.
10847         (unlock): New method.
10848         * java/io/natFileDescriptorEcos.cc
10849         (lock): New method.
10850         (tryLock): New method.
10851         (unlock): New method.
10852         * java/io/natFileDescriptorPosix.cc
10853         (lock): New method.
10854         (tryLock): New method.
10855         (unlock): New method.
10856         * java/io/natFileDescriptorWin32.cc
10857         (lock): New method.
10858         (tryLock): New method.
10859         (unlock): New method.
10861 2004-01-23  Michael Koch  <konqueror@gmx.de>
10863         * java/io/FileDescriptor.java
10864         (sync): Moved around, added javadoc.
10865         (valid): Likewise.
10866         (open): Likewise.
10867         (write): Likewise.
10868         (close): Likewise.
10869         (setLength): Likewise.
10870         (seek): Likewise.
10871         (getLength): Likewise.
10872         (getFilePointer): Likewise.
10873         (read): Likewise.
10874         (available): Likewise.
10875         (finalize): Likewise.
10877 2004-01-23  Michael Koch  <konqueror@gmx.de>
10879         * javax/swing/AbstractAction.java: Reformated.
10880         (getPropertyChangeListeners): New method.
10881         * javax/swing/AbstractCellEditor.java: Reformated.
10882         (getCellEditorListeners): New method.
10883         * javax/swing/DefaultListSelectionModel.java
10884         (listenerList): New field.
10885         (listeners): Removed.
10886         (get_listeners): Removed.
10887         (addListSelectionListener): Rewritten.
10888         (removeListSelectionListener): Rewritten.
10889         (getListSelectionListeners): New method.
10890         (getListeners): New method.
10891         * javax/swing/JComboBox.java: Imports reworked.
10892         (addActionListener): Implemented.
10893         (removeActionListener): Implemented.
10894         (addItemListener): Implemented.
10895         (removeItemListener): Implemented.
10896         (addPopupMenuListener): Implemented.
10897         (removePopupMenuListener): Implemented.
10898         (getActionListeners): New method.
10899         (getItemListeners): New method.
10900         (getPopupMenuListeners): New method.
10902 2004-01-23  Michael Koch  <konqueror@gmx.de>
10904         * gnu/java/net/protocol/http/Connection.java
10905         (connect): Don't initialize bufferedOutputStream if not needed.
10906         (sendRequest): Set property for content length if content is present.
10907         Write content only if present.
10908         (getOutputStream): Check if already connected, dont connect,
10909         initalize bufferedOutputStream if needed.
10911 2004-01-23  Michael Koch  <konqueror@gmx.de>
10913         * java/io/FileDescriptor.java
10914         (in, out, err): Added javadoc.
10915         (static): Merged loading code.
10916         (fd, position): Moved around.
10918 2004-01-23  Michael Koch  <konqueror@gmx.de>
10920         * gnu/java/awt/doc-files/BitwiseXORComposite-1.png:
10921         New file.
10923 2004-01-23  Michael Koch  <konqueror@gmx.de>
10925         * java/lang/Class.java,
10926         java/lang/Object.java,
10927         java/lang/Thread.java: Merged copyright with classpath.
10929 2004-01-23  Michael Koch  <konqueror@gmx.de>
10931         * java/io/FileDescriptor.java: Merged copyright with classpath to
10932         start merging this class.
10934 2004-01-22  Tom Tromey  <tromey@redhat.com>
10936         PR libgcj/13107:
10937         * testsuite/libjava.lang/pr13107_2.xfail: New file.
10938         * testsuite/libjava.lang/pr13107_3.xfail: New file.
10939         * testsuite/libjava.lang/pr13107_3.java: New file.
10940         * testsuite/libjava.lang/pr13107_3.out: New file.
10941         * testsuite/libjava.lang/pr13107_2.java: New file.
10942         * testsuite/libjava.lang/pr13107_2.out: New file.
10943         * testsuite/libjava.lang/pr13107.java: New file.
10944         * testsuite/libjava.lang/pr13107.out: New file.
10945         * verify.cc (jsr_ptrs): Removed.
10946         (entry_points): Likewise.
10947         (struct subr_info): Likewise.
10948         (struct subr_entry_info): Likewise.
10949         (type_val::unused_by_subroutine_type): Likewise.
10950         (type::merge): Don't handle unused_by_subroutine_type.
10951         (type::print): Likewise.
10952         (state::flags): Removed.
10953         (state::subroutine): Likewise.
10954         (state::seen_subrs): Likewise.
10955         (state::NO_STACK): Likewise.
10956         (state::FLAG_CHANGED, state::FLAG_UNUSED): Likewise.
10957         (state): Updated all methods.
10958         (state::clean_subrs): Removed.
10959         (state::state): Removed `ret_semantics' flag.
10960         (state::copy): Likewise.
10961         (state::add_subr): Removed.
10962         (state::enter_subroutine): Likewise.
10963         (type::set_return_address): New method.
10964         (handle_jsr_insn): Set return address on the type.  Always
10965         invalidate PC after call.
10966         (check_nonrecursive_call): Removed.
10967         (~_Jv_BytecodeVerifier): Updated.
10968         (branch_prepass): Removed special handling of jsr.
10969         (note_branch_target): Likewise.
10970         (get_subroutine): Removed.
10971         (state::merge): Don't merge subroutines and don't handle
10972         NO_STACK.  Removed ret_semantics and jsr_semantics arguments.
10973         (state::note_variable): Removed.
10974         (state::is_unmerged_ret_state): Likewise.
10975         (state::print): Updated.
10976         (set_variable): Likewise.
10977         (merge_into): Renamed from push_jump_merge.  Removed ret_semantics
10978         and jsr_semantics arguments.  Updated for new reverification
10979         list.
10980         (pop_jump): Rewrote.
10981         (construct_primitive_array_type): Updated.
10982         (state::next): Removed.
10983         (INVALID_STATE): New define.
10984         (state::INVALID): Removed.
10985         (state::NO_NEXT): New value.
10986         (state::pc, state::next): New fields.
10987         (state::get_pc): New method.
10988         (next_verify_pc): Removed.
10989         (next_verify_state): New field.
10990         (verify_instructions_0): Always check for falling off end.
10991         (linked): New type.
10992         (linked_utf8): Removed.
10993         (states): Changed type.
10994         (type::state_mergeable_p): New method.
10995         (state::state_mergeable_p): Likewise.
10996         (handle_ret_insn): Removed most code.
10997         (state::reverify): New method.
10998         (add_new_state): Likewise.
10999         (state::set_pc): Likewise.
11001 2004-01-22  Jeff Sturm  <jsturm@one-point.com>
11003         PR java/13733
11004         * testsuite/libjava.compile/PR13733.java: New file.
11005         * testsuite/libjava.compile/PR13733.xfail: New file.
11007 2004-01-22  Arnaud Vandyck  <arnaud.vandyck@ulg.ac.be>
11008             Michael Koch  <konqueror@gmx.de>
11010         * javax/swing/table/DefaultTableCellRenderer.java
11011         (DefaultTableCellRenderer): Added javadoc for the class and for
11012         the constructor, Border instance, create an EmptyBorder.
11013         (UIResource): Removed the comment at the end of the class
11014         (setForeground): New method.
11015         (setBackground): New method.
11016         (updateUI): New method.
11017         (getTableCellRendererComponent): Rewritten with the help of
11018         dvholten and Stephane Meslin-Weber.
11019         (validate): New method.
11020         (repaint): New method.
11021         (firePropertyChange): New method.
11022         (setValue): New method.
11024 2004-01-22  Thomas Fitzsimmons  <fitzsim@redhat.com>
11026         * jni/gtk-peer/gnu_java_awt_peer_gtk_GtkWindowPeer.c
11027         (connectJObject): Replace printf calls with g_assert statements.
11028         Move property-notify-event signal connection to ...
11029         (connectSignals): Connect property-notify-event signal.  Iterate
11030         through the vbox's children to find layout.
11032 2004-01-22  Graydon Hoare  <graydon@redhat.com>
11033         
11034         * gnu/java/awt/peer/gtk/GdkClasspathFontPeer.java: 
11035         * gnu/java/awt/peer/gtk/GdkGlyphVector.java:
11036         Predicate static initialization on GtkToolkit.useGraphics2D().
11037         * java/awt/Component.java (processPaintEvent): Consume event.
11038         * javax/swing/AbstractButton.java: Reimplement, document.
11039         * javax/swing/DefaultButtonModel.java: Reimplement, document.
11040         * javax/swing/JComponent.java (paint): Use double buffer.
11041         (listenerList): Enable member.
11042         * javax/swing/ToggleButtonModel.java: Remove incorrect constructor.
11043         * javax/swing/JToggleButton.java 
11044         (JToggleButton): Modify model constructor.
11045         * javax/swing/SwingUtilities.java 
11046         (layoutCompoundLabel): Adjust arithmetic.
11047         * javax/swing/plaf/basic/BasicButtonUI.java: Reimplement, document.
11048         * javax/swing/plaf/basic/BasicGraphicsUtils.java 
11049         (getPreferredButtonSize): Include margins in calculation.
11050         * jni/gtk-peer/gnu_java_awt_peer_gtk_GtkWindowPeer.c
11051         (Java_gnu_java_awt_peer_gtk_GtkWindowPeer_connectSignals):
11052         Receive up events from subordinate layout component.
11054 2004-01-21  Thomas Fitzsimmons  <fitzsim@redhat.com>
11056         * java/awt/Component.java (show): Set visible to true before
11057         showing the peer.
11059 2004-01-21  Kim Ho  <kho@redhat.com>
11061         * gnu/java/awt/peer/gtk/GtkFramePeer.java (postConfigureEvent):
11062         Fix comments.
11063         (removeMenuBarPeer): Make package private.
11064         (setMenuBarPeer): Make package private.
11065         * jni/gtk-peer/gnu_java_awt_peer_gtk_GtkWindowPeer.c
11066         (menubar_resize_cb): Mark attributes unused.
11067         (getMenuBarHeight): ditto.
11069 2004-01-21  David Jee  <djee@redhat.com>
11071         * java/awt/Container.java
11072         (LightweightDispatcher.handleEvent): Add an extra check to avoid
11073         dispatching MOUSE_ENTERED event twice. Translate the point for
11074         the mouse event target before dispatching the event.
11076 2004-01-20  Jakub Jelinek  <jakub@redhat.com>
11078         * Makefile.am (lib_org_w3c_dom_la_LIBADD,
11079         lib_org_w3c_dom_la_LDFLAGS): New.
11080         (lib_org_xml_sax_la_LIBADD, lib_org_xml_sax_la_LDFLAGS): New.
11081         * Makefile.in: Rebuilt.
11083 2004-01-20  Thomas Fitzsimmons  <fitzsim@redhat.com>
11085         * gnu/java/awt/peer/gtk/GtkComponentPeer.java (setBounds):
11086         Calculate proper offsets for heavyweight components packed in
11087         lightweight containers.
11089         * gnu/java/awt/peer/gtk/GtkTextFieldPeer.java,
11090         jni/gtk-peer/gnu_java_awt_peer_gtk_GtkTextFieldPeer.c
11091         (native create): Add width parameter.
11092         (create): Calculate text entry width based on current font's
11093         metrics and number of columns.  Set TextField's font if not
11094         already set.  Call native create.
11095         (gtkEntryGetBorderWidth): New native method.
11096         (gtkEntryGetSize): Remove method.
11097         (getMinimumSize): Call minimumSize.
11098         (getPreferredSize): Call preferredSize.
11099         (minimumSize): Calculate minimum size based on backing
11100         GtkEntry's borders, font metrics and number of columns.
11101         (preferredSize): Likewise for preferred size.
11102         (get_border_width): New static function.
11104         * gnu/java/awt/peer/gtk/GtkFramePeer.java (setResizable):
11105         Override GtkWindowPeer's setResizable method to account for menu
11106         bar height when setting the frame's size.
11108 2004-01-19  Matthias Klose  <doko@debian.org>
11110         * libtool-version: Increased `current' to 6.
11112 2004-01-19  Kim Ho  <kho@redhat.com>
11114         * jni/gtk-peer/gnu_java_awt_peer_gtk_GtkWindowPeer.c
11115         (connectJObject): Iterate through the vbox's children to find layout.
11117 2004-01-19  Fernando Nasser  <fnasser@redhat.com>
11119         * java/awt/EventQueue.java (invokeAndWait): Use list-aware
11120         isDispatchThread method to replace wrong test condition.
11122 2004-01-19  Fernando Nasser  <fnasser@redhat.com>
11124         * java/awt/EventQueue.java (pop): Prevent racing condition to add
11125         events to the queue out of order by acquiring locks in the proper
11126         order and not by releasing one before acquiring the other.
11128 2004-01-19  Fernando Nasser  <fnasser@redhat.com>
11130         * gnu/java/awt/peer/gtk/TestAWT.java (DialogWindow): Make text not
11131         visible so that dialog can be reused.
11133 2004-01-19  Fernando Nasser  <fnasser@redhat.com>
11135         * java/awt/EventQueue.java (getCurrentEvent): Consider that system
11136         events may be handled by any queue in the stack.
11138 2004-01-19  Kim Ho  <kho@redhat.com>
11140         * gnu/java/awt/peer/gtk/GtkFramePeer.java (getMenuBarHeight): Added
11141         MenuBarPeer parameter.
11142         (removeMenuBarPeer): New native method.
11143         (setMenuBar): Call remove if menu bar is null. Adjust insets
11144         appropriately.
11145         (postSizeAllocateEvent): New method. Called when menu bar size is
11146         allocated. Adjust insets and redo layout.
11147         (GtkFramePeer): Set menu bar during frame creation.
11148         (postConfigureEvent): Adjust position and size to accomodate
11149         menu bar.
11150         * java/awt/Frame.java (setMenuBar): addNotify to create menu bar.
11151         * java/awt/Menu.java (addSeparator): Use peer's addSeparator.
11152         (addNotify): Create the peer if it doesn't exist and call addNotify
11153         for the menu's items.
11154         * java/awt/MenuBar.java (addNotify): Create this menu bar's menus.
11155         * java/awt/MenuItem.java (addNotify): Create the peer if it
11156         doesn't exist.
11157         * jni/gtk-peer/gnu_java_awt_peer_gtk_GtkWindowPeer.c
11158         (removeMenuBarPeer): New method. Remove menu bar on the current
11159         frame.
11160         (setMenuBarPeer): Add the menu bar to the current frame and the
11161         callback for size-allocate events on the menu bar.
11162         (getMenuBarHeight): Add menu bar parameter.
11163         (menubar_resize_cb): New callback method for postSizeAllocate events.
11165         Also: Fix indentation on last ChangeLog entry.
11167 2004-01-16  Kim Ho  <kho@redhat.com>
11169         * gnu/java/awt/peer/gtk/GtkFileDialogPeer.java
11170         (gtkWidgetGetDimensions): Remove.
11171         * jni/gtk-peer/gnu_java_awt_peer_gtk_GtkWindowPeer.c
11172         (gtkWidgetGetDimensions): Remove.
11174 2004-01-16  Tom Tromey  <tromey@redhat.com>
11176         * java/awt/Container.java: Typo and indentation fixes.
11178         * java/lang/natClassLoader.cc: Moved VMClassLoader methods...
11179         * java/lang/natVMClassLoader.cc: ...here.  New file.
11180         * Makefile.in: Rebuilt.
11181         * Makefile.am (nat_source_files): Added natVMClassLoader.cc.
11183 2004-01-16  Fernando Nasser  <fnasser@redhat.com>
11185         * jni/gtk-peer/gnu_java_awt_peer_gtk_GtkEvents.c (pre_event_handler):
11186         Discard GDK_ENTER_NOTIFY related to ungrabs.
11188 2004-01-16  Fernando Nasser  <fnasser@redhat.com>
11190         * java/awt/EventQueue.java (pop): Prevent breaking the chain if pop
11191         is called for an intermediate queue.
11193 2004-01-16  Thomas Fitzsimmons  <fitzsim@redhat.com>
11195         * jni/gtk-peer/gnu_java_awt_peer_gtk_GtkWindowPeer.c
11196         (window_property_changed_cb): Set id_set.
11198 2004-01-16  Kim Ho  <kho@redhat.com>
11200         * gnu/java/awt/peer/gtk/GtkComponentPeer.java (GtkComponentPeer): If
11201         it is a FileDialog and has dimensions of 0 by 0, then the initial
11202         size is set to size request plus insets.
11203         * gnu/java/awt/peer/gtk/GtkFileDialogPeer.java
11204         (gtkWidgetGetDimensions): Override method.
11205         * jni/gtk-peer/gnu_java_awt_peer_gtk_GtkWindowPeer.c
11206         (gtkWidgetGetDimensions): Override method. Returns size request plus
11207         insets.
11209 2004-01-16  Andrew Haley  <aph@redhat.com>
11211         * sysdep/x86-64/locks.h: Don't use in/out memory constraints.
11212         * sysdep/i386/locks.h: Likewise.
11214 2004-01-16  Fernando Nasser  <fnasser@redhat.com>
11216         * java/awt/EventDispatchThread.java (run): Stop running when
11217         interrupted.
11218         * java/awt/EventQueue.java (pop): Stop dispatch thread when done.
11219         Reset the queue after transferring its contents.
11220         (push): Start a new dispatch thread if none is running.
11222 2004-01-16  Olga Rodimina <rodimina@redhat.com>
11224         * gnu/java/awt/peer/gtk/GdkGraphics2D.java:
11225         (doPolygon): set fill rule of polygon to 
11226         WIND_EVEN_ODD by default.
11228 2004-01-15  Olga Rodimina <rodimina@redhat.com>
11230         * gnu/java/awt/peer/gtk/GdkGraphics2D.java:
11231         Implemented rendering hints related methods.
11232         (getDefaultHints): New helper method. Returns
11233         default rendering hints.
11234         (walkPath): changed to normalize path if
11235         the KEY_STROKE_CONTROL key is in "normalize" mode.
11236         (draw3DRect): changed coordinates of rectangle by +0.5
11237         if in "normalize" mode.
11239 2004-01-15  Tom Tromey  <tromey@redhat.com>
11241         * Makefile.in: Rebuilt.
11242         * Makefile.am (gnu/gcj/runtime/StackTrace.lo): New rule.
11243         (%.lo: %.java) Filter out StackTrace.lo.
11245 2004-01-14  Kelley Cook  <kcook@gcc.gnu.org>
11247         * configure.in: Add in AC_PREREQ(2.13)
11248         * libltdl/configure.ac: Update to AC_PREREQ(2.57).  Delete 
11249         FIXME comment.
11251 2004-01-14  Nathan Bryant  <nbryant@optonline.net>
11252             Tom Tromey  <tromey@redhat.com>
11254         PR libgcj/12001:
11255         * gnu/gcj/runtime/VMClassLoader.java (VMClassLoader): Pass empty
11256         array to superclass.
11257         (init): Changed interface; add URLs here.
11258         (initialize): New static method.
11259         * prims.cc (_Jv_CreateJavaVM): Initialize ClassLoader here...
11260         (_Jv_RunMain): ... not here.
11262 2004-01-14  Michael Koch  <konqueror@gmx.de>
11264         * java/text/MessageFormat.java:
11265         Added descriptions to exceptions.
11266         This fixes PR libgcj/2429.
11268 2004-01-13  Fernando Nasser  <fnasser@redhat.com>
11270         * java/awt/EventQueue.java (isDispatchThread): Do check on top of stack.
11271         (push): Make sure push is performed at the top of the thread stack.
11273 2004-01-13  Thomas Fitzsimmons  <fitzsim@redhat.com>
11275         * gnu/java/awt/peer/gtk/GtkTextAreaPeer.java,
11276         jni/gtk-peer/gnu_java_awt_peer_gtk_GtkTextAreaPeer.c
11277         (native create): Add width and height parameters.  Set text
11278         view's size request according to new parameters.
11279         (create): Calculate text view size based on current font's
11280         metrics and number of rows and columns.  Set TextArea's font if
11281         not already set.  Call native create.
11282         (getMinimumSize): Call minimumSize.
11283         (getPreferredSize): Call preferredSize.
11284         (getHScrollbarHeight): New method.
11285         (getVScrollbarWidth): New method.
11286         (minimumSize): Calculate minimum size based on scrollbar
11287         visibility, scrollbar sizes, font metrics and number of rows and
11288         columns.
11289         (preferredSize): Likewise for preferred size.
11290         (gtkTextGetSize): Remove method.
11292 2004-01-13  Thomas Fitzsimmons  <fitzsim@redhat.com>
11294         * gnu/java/awt/peer/gtk/GtkComponentPeer.java
11295         (initializeInsets): Remove method.
11296         (GtkComponentPeer): Initialize insets field.  Remove call to
11297         initializeInsets.
11298         * gnu/java/awt/peer/gtk/GtkDialogPeer.java (initializeInsets):
11299         Remove method.
11300         * gnu/java/awt/peer/gtk/GtkFramePeer.java (initializeInsets):
11301         Remove method.
11302         * gnu/java/awt/peer/gtk/GtkWindowPeer.java,
11303         jni/gtk-peer/gnu_java_awt_peer_gtk_GtkWindowPeer.c:
11304         (latestInsets): Remove field.
11305         (native create): Add insets parameter.  Call
11306         window_get_frame_extents.  Set the window's default size and
11307         size request based on its frame extents.
11308         (create): Initialize insets.
11309         (postInsetsChangedEvent): New method.
11310         (postConfigureEvent): Remove parameters top, left, bottom,
11311         right.  Remove insets-related logic.
11312         (connectJObject): Handle property-notify-event.
11313         (window_get_frame_extents, request_frame_extents,
11314         property_notify_predicate, window_property_changed_cb): New
11315         static functions.
11316         * jni/gtk-peer/gnu_java_awt_peer_gtk_GtkEvents.c
11317         (pre_event_handler): Remove insets-related logic for configure
11318         events.
11319         * jni/gtk-peer/gnu_java_awt_peer_gtk_GtkMainThread.c (gtkInit):
11320         Update postConfigureEvent signature.
11322 2004-01-13  Fernando Nasser  <fnasser@redhat.com>
11324         * gnu/java/awt/peer/gtk/TestAWT.java (DialogWindow): Add WindowAdapter
11325         to handle Window "Closing" events.
11327 2004-01-13  David Jee  <djee@redhat.com>
11329         * gnu/java/awt/peer/gtk/GtkContainerPeer.java
11330         (setBackground): New method. Children with no explicitly-set
11331         background will be repainted with the parent container's new
11332         background color.
11334 2004-01-13  David Jee  <djee@redhat.com>
11336         * Makefile.am: Add BitwiseXORComposite.java.
11337         * Makefile.in: Regenerated.
11338         * gcj/Makefile.in: Regenerated.
11339         * include/Makefile.in: Regenerated.
11340         * testsuite/Makefile.in: Regenerated.
11342 2004-01-12  Fernando Nasser  <fnasser@redhat.com>
11344         * gnu/java/awt/peer/gtk/TestAWT.java: Fix test program so that it does
11345         not show modal dialogs twice and so that it allows showing a modal
11346         dialog from another modal dialog.
11348 2004-01-12  Fernando Nasser  <fnasser@redhat.com>
11350         * java/awt/Dialog.java (show): Enable blocking for all modal dialogs
11351         and run secondary dispatch thread to process event queue while this
11352         thread is blocked.
11354 2004-01-12  Graydon Hoare  <graydon@redhat.com>
11356         * gnu/java/awt/gtk/GdkGraphics2D.java
11357         (static): Check GtkToolkit before initializing static state.
11358         (Graphics2D): Don't construct transform with 0.5 unit offset.
11360 2003-11-06  Sascha Brawer  <brawer@dandelis.ch>
11362         * gnu/java/awt/BitwiseXORComposite.java: Add.
11363         * gnu/java/awt/peer/gtk/GdkGraphics2D.java
11364         (setXORMode): Switch to gnu.java.awt.BitwiseXORComposite.
11365         (BitwiseXORComposite): Remove inner class.
11367 2004-01-11  Michael Koch  <konqueror@gmx.de>
11369         * gnu/java/lang/reflect/TypeSignature.java
11370         (getEncodingOfClass): Documentation fixed.
11371         (getClassForEncoding): Give class loader to Class.forName().
11372         Documentation fixed.
11374 2004-01-11  Sascha Brawer  <brawer@dandelis.ch>
11376         * javax/swing/undo/CompoundEdit.java (serialVersionUID): Added.
11378 2004-01-11  Michael Koch  <konqueror@gmx.de>
11380         * javax/swing/undo/StateEditable.java
11381         (RCSID): Removed redundant modifiers.
11383 2004-01-10  Michael Koch  <konqueror@gmx.de>
11385         * javax/print/attribute/EnumSyntax.java
11386         (getStringTable): Made protected.
11387         (getEnumValueTable): Likewise.
11388         * javax/print/attribute/standard/JobKOctetsProcessed.java
11389         (JobKOctetsProcessed): Don't implement PrintRequestAttribute.
11390         * javax/print/attribute/standard/JobMediaSheetsCompleted.java
11391         (JobMediaSheetsCompleted): Made class final.
11392         * javax/print/attribute/standard/OutputDeviceAssigned.java
11393         (getName): Fixed typo.
11394         * javax/print/attribute/standard/RequestingUserName.java
11395         (serialVersionUID): Fixed value.
11397 2004-01-10  Michael Koch  <konqueror@gmx.de>
11399         * javax/swing/plaf/basic/BasicButtonUI.java,
11400         javax/swing/plaf/basic/BasicCheckBoxUI.java,
11401         javax/swing/plaf/basic/BasicListUI.java,
11402         javax/swing/plaf/basic/BasicOptionPaneUI.java,
11403         javax/swing/plaf/basic/BasicPanelUI.java,
11404         javax/swing/plaf/basic/BasicRadioButtonUI.java,
11405         javax/swing/plaf/basic/BasicScrollPaneUI.java,
11406         javax/swing/plaf/basic/BasicToggleButtonUI.java,
11407         javax/swing/plaf/basic/BasicViewportUI.java:
11408         Fixed import statements.
11410 2004-01-10  Michael Koch  <konqueror@gmx.de>
11412         * gnu/java/awt/image/ImageDecoder.java
11413         (produce): Made public.
11414         * gnu/java/awt/peer/GLightweightPeer.java,
11415         gnu/java/awt/peer/gtk/GtkToolkit.java:
11416         Reformated.
11418 2004-01-10  Michael Koch  <konqueror@gmx.de>
11420         * javax/swing/JRadioButtonMenuItem.java,
11421         javax/swing/JSeparator.java,
11422         javax/swing/JSplitPane.java,
11423         javax/swing/JTextPane.java,
11424         javax/swing/JToolBar.java,
11425         javax/swing/ListCellRenderer.java,
11426         javax/swing/ListModel.java,
11427         javax/swing/MenuElement.java,
11428         javax/swing/OverlayLayout.java,
11429         javax/swing/ProgressMonitor.java,
11430         javax/swing/ProgressMonitorInputStream.java,
11431         javax/swing/Renderer.java,
11432         javax/swing/RootPaneContainer.java,
11433         javax/swing/Scrollable.java,
11434         javax/swing/SingleSelectionModel.java,
11435         javax/swing/ToolTipManager.java,
11436         javax/swing/ViewportLayout.java,
11437         javax/swing/event/DocumentEvent.java,
11438         javax/swing/event/SwingPropertyChangeSupport.java,
11439         javax/swing/event/TreeSelectionEvent.java,
11440         javax/swing/event/UndoableEditEvent.java,
11441         javax/swing/text/AbstractDocument.java,
11442         javax/swing/text/AttributeSet.java,
11443         javax/swing/text/Caret.java,
11444         javax/swing/text/ComponentView.java,
11445         javax/swing/text/DefaultCaret.java,
11446         javax/swing/text/DefaultEditorKit.java,
11447         javax/swing/text/Document.java,
11448         javax/swing/text/EditorKit.java,
11449         javax/swing/text/GapContent.java,
11450         javax/swing/text/Keymap.java,
11451         javax/swing/text/MutableAttributeSet.java,
11452         javax/swing/text/PlainEditorKit.java,
11453         javax/swing/text/Segment.java,
11454         javax/swing/text/Style.java,
11455         javax/swing/text/StyledDocument.java,
11456         javax/swing/text/StyledEditorKit.java,
11457         javax/swing/text/TextAction.java,
11458         javax/swing/text/View.java: Fixed import statements.
11460 2004-01-08  Graydon Hoare  <graydon@redhat.com>
11462         * javax/swing/JLayeredPane.java: Rewrite to accomodate
11463         djee@redhat.com's recent inverse ordering of Container elements.
11465 2004-01-09  Michael Koch  <konqueror@gmx.de>
11467         * gnu/java/lang/ArrayHelper.java
11468         (equalsArray): Removed.
11470 2004-01-09  Andrew Haley  <aph@redhat.com>
11472         * java/lang/natClassLoader.cc (_Jv_PrepareCompiledClass): Resolve
11473         a Utf8Const field before looking at its class.
11475 2004-01-09  Michael Koch  <konqueror@gmx.de>
11477         * javax/print/attribute/standard/DocumentName.java,
11478         javax/print/attribute/standard/JobHoldUntil.java,
11479         javax/print/attribute/standard/JobMessageFromOperator.java,
11480         javax/print/attribute/standard/JobName.java,
11481         javax/print/attribute/standard/JobOriginatingUserName.java,
11482         javax/print/attribute/standard/OutputDeviceAssigned.java,
11483         javax/print/attribute/standard/PrinterInfo.java,
11484         javax/print/attribute/standard/PrinterLocation.java,
11485         javax/print/attribute/standard/PrinterMakeAndModel.java,
11486         javax/print/attribute/standard/PrinterMessageFromOperator.java,
11487         javax/print/attribute/standard/PrinterName.java,
11488         javax/print/attribute/standard/RequestingUserName.java: New files.
11489         * Makefile.am (javax_source_files): Added new files.
11490         * Makefile.in: Regenerated.
11492 2004-01-09  Michael Koch  <konqueror@gmx.de>
11494         * javax/swing/AbstractAction.java,
11495         javax/swing/AbstractSet.java,
11496         javax/swing/Action.java,
11497         javax/swing/ActionMap.java,
11498         javax/swing/BoundedRangeModel.java,
11499         javax/swing/ButtonModel.java,
11500         javax/swing/CellEditor.java,
11501         javax/swing/CellRendererPane.java,
11502         javax/swing/ComboBoxEditor.java,
11503         javax/swing/DebugGraphics.java,
11504         javax/swing/DefaultCellEditor.java,
11505         javax/swing/DefaultCellRenderer.java,
11506         javax/swing/DefaultComboBoxModel.java,
11507         javax/swing/DefaultDesktopManager.java,
11508         javax/swing/DefaultFocusManager.java,
11509         javax/swing/DefaultListCellRenderer.java,
11510         javax/swing/Icon.java,
11511         javax/swing/JButton.java,
11512         javax/swing/JCheckBoxMenuItem.java,
11513         javax/swing/JDesktopPane.java,
11514         javax/swing/JEditorPane.java,
11515         javax/swing/JMenu.java,
11516         javax/swing/JPanel.java,
11517         javax/swing/JPasswordField.java,
11518         javax/swing/JPopupMenu.java,
11519         javax/swing/JProgressBar.java: Reworked imports.
11521 2004-01-09  Michael Koch  <konqueror@gmx.de>
11523         * java/awt/geom/PathIterator.java
11524         (WIND_EVEN_ODD): Removed redundant modifiers.
11525         (WIND_NON_ZERO): Likewise.
11526         (SEG_MOVETO): Likewise.
11527         (SEG_LINETO): Likewise.
11528         (SEG_QUADTO): Likewise.
11529         (SEG_CUBICTO): Likewise.
11530         (SEG_CLOSE): Likewise.
11531         * java/awt/image/SinglePixelPackedSampleModel.java:
11532         Removed redundant semicolon.
11533         * java/io/ObjectInputStream.java
11534         (inputGetObjectStreamClasses): Removed unused variable "ret_val".
11535         * java/util/logging/Filter.java
11536         (isLoggable): Removed redundant modifier.
11537         * java/util/logging/LogManager.java:
11538         Removed redundant semicolon.
11539         * java/util/logging/XMLFormatter.java
11540         (format): Removed unused variable "key".
11542 2004-01-08  Fernando Nasser  <fnasser@redhat.com>
11544         * gnu/java/awt/peer/gtk/GtkFileDialogPeer.java (nativeSetFile):
11545         New name for the former setFile native method.
11546         (setFile): New method.
11547         (setDirectory): Implemented.
11548         (connectSignals): New native method.
11549         (setFilenameFilter): Improve comment.
11550         (getGraphics): Comment.
11551         (gtkHideFileDialog): New method.
11552         (gtkDisposeFileDialog): New method.
11553         (gtkSetFilename): New method.
11554         * java/awt/Dialog.java (show): Block on modal dialogs, but only
11555         for FileDialog for now.
11556         (hide): New method.
11557         (dispose): New method.
11558         * jni/gtk-peer/gnu_java_awt_peer_gtk_GtkFileDialogPeer.c
11559         (Java_gnu_java_awt_peer_gtk_GtkFileDialog_create): Replace
11560         deprecated creation functions.  Make dialog modal.  Add it to the
11561         window group.
11562         (Java_gnu_java_awt_peer_gtk_GtkFileDialog_connectSignals): New
11563         function.
11564         (Java_gnu_java_awt_peer_gtk_GtkFileDialogPeer_gtkFileSelectionSetFilename):
11565         Rename to...
11566         (Java_gnu_java_awt_peer_gtk_GtkFileDialogPeer_nativeSetFile): New
11567         name.
11568         (window_closed): New function.
11569         (ok_clicked): New function.
11570         (cancel_clicked): New function.
11572 2004-01-08  Michael Koch  <konqueror@gmx.de>
11574         * javax/swing/JLayeredPane.java: Revert changes to standard
11575         boilerplate, reworked imports.
11577 2004-01-07  Tom Tromey  <tromey@redhat.com>
11579         PR libgcj/13439:
11580         * verify.cc (state::merge): Copy changed locals out of subroutine
11581         in NO_STACK case.
11582         (state::FLAG_CHANGED): New const.
11583         (state::FLAG_UNUSED): Likewise.
11584         (state::local_changed): Removed.  Updated all users.
11585         (state::flags): New field.
11586         (state::merge): Added jsr_semantics argument, more logic.
11587         (push_jump_merge): Added jsr_semantics argument.
11588         (handle_jsr_insn): Set jsr_semantics on push_jump_merge when
11589         merging through the jsr instruction.
11591 2004-01-07  Tom Tromey  <tromey@redhat.com>
11593         * scripts/MakeDefaultMimeTypes.java: Use \n, not
11594         backslash-newline.
11596 2004-01-07  Graydon Hoare  <graydon@redhat.com>
11598         * java/awt/Container.java (LightweightDispatcher): Implement.
11599         (visitChild): Reuse graphics object.
11600         (dispatchEventImpl): Optionally dispatch to lightweight.
11601         (addNotifyContainerChildren): Build LightweightDispatcher.
11603 2004-01-07  David Jee  <djee@redhat.com>
11605         * java/awt/Container.java
11606         (update): Clear only the clipped region, instead of clearing the
11607         entire Container.
11608         (visitChildren): Visit children in descending order.
11610 2004-01-07  Michael Koch  <konqueror@gmx.de>
11612         * java/lang/reflect/Array.java: Merged documentation with classpath.
11614 2004-01-07  Michael Koch  <konqueror@gmx.de>
11616         * java/text/CollationElementIterator.java
11617         (textIndex): Renamed from index.
11618         * java/text/CollationKey.java
11619         (collator): New member.
11620         (CollationKey): New argument for parent collator.
11621         (equals): Check for same collator, source string and key array.
11622         * java/text/RuleBasedCollator.java:
11623         Reformated.
11624         (RuleBasedCollator): Don't re-initialize frenchAccents with default
11625         value.
11626         (getCollationElementIterator): Rewritten.
11627         (getCollationKey): Added new argument to CollationKey constructor.
11629 2004-01-07  Michael Koch  <konqueror@gmx.de>
11631         * gnu/java/nio/DatagramChannelImpl.java
11632         (blocking): Removed.
11633         (DatagramChannelImpl): Call configureBlocking().
11634         (implConfigureBlocking): Dont initialize blocking.
11635         * gnu/java/nio/ServerSocketChannelImpl.java
11636         (blocking): Removed.
11637         (ServerSocketChannelImpl): Call configureBlocking().
11638         (implConfigureBlocking): Dont initialize blocking.
11639         * gnu/java/nio/SocketChannelImpl.java
11640         (blocking): Removed.
11641         (SocketChannelImpl): Call configureBlocking().
11642         (implConfigureBlocking): Dont initialize blocking.
11643         (connect): Use isBlocking().
11644         * java/nio/channels/spi/AbstractSelectableChannel.java
11645         (configureBlocking): Use blockingLock() instead of LOCK.
11646         Set blocking after successfully called implConfigureBlocking().
11647         (register): Use blockingLock() instead of LOCK.
11649 2004-01-07  Michael Koch  <konqueror@gmx.de>
11651         * java/net/ServerSocket.java (isBound): Fixed documentation.
11653 2004-01-07  Sascha Brawer  <brawer@dandelis.ch>
11655         * javax/swing/DefaultBoundedRangeModel.java: Documented API.
11656         (changeEvent): Create event object on demand.
11657         (DefaultBoundedRangeModel, toString, setValue, setExtent,
11658         setMinimum, setMaximum, setValueIsAdjusting, setRangeProperties,
11659         fireStateChanged): Re-written.
11660         * javax/swing/event/EventListenerList.java: Reformatted, document
11661         typical usage.
11662         (toString): Implemented.
11663         (getListeners): Re-written.
11664         (remove): Re-written.
11665         (add): Re-written.
11666         (NO_LISTENERS): New singleton field.
11667         (listenerList): Declare as transient; document.
11668         (serialVersionUID): Document.
11669         (getListenerCount(Class)): More efficient implementation,
11670         also accepts null argument.  Improve Javadoc.
11671         (getListenerCount()): Remove unnecessary cast; docfix.
11672         * javax/swing/undo/UndoableEditSupport.java:
11673         Re-format, document.
11674         (UndoableEditSupport): Set realSource field. Improve documentation.
11675         (_postEdit): Iterate over cloned listener vector.
11676         (toString): Don't emit realSource.
11677         (beginUpdate, endUpdate): Support nested updates.
11678         (postEdit): Use compound edit if present.
11680 2004-01-06  Graydon Hoare  <graydon@redhat.com>
11682         * java/awt/Container.java (swapComponents): Add forgotten
11683         function, required for JLayeredPane change.
11685 2004-01-06  Michael Koch  <konqueror@gmx.de>
11687         * java/text/CollationElementIterator.java: Reformated.
11688         (CollationElementIterator): Changed order of arguments.
11689         * java/text/RuleBasedCollator.java
11690         (RuleBasedCollator): Merged class documentation.
11691         (CollationElement): Added documentation.
11692         (compare): Reformated, renamed arguments.
11693         (equals): Likewise.
11694         (getCollationElementIterator): Likewise.
11695         (getCollationKey): Likewise.
11697 2004-01-06  Graydon Hoare  <graydon@redhat.com>
11699         * javax/swing/JLayeredPane.java: Fix semantics, add javadocs.
11701 2004-01-06  Michael Koch  <konqueror@gmx.de>
11703         * gnu/java/net/protocol/file/Connection.java:
11704         Reformated copyright.
11705         (hdrHash): Removed.
11706         (hdrVec): Removed.
11707         (gotHeaders): Removed.
11708         (getHeaderField): Removed.
11709         (getHeaderField): Removed.
11710         (getHeaderFieldKey): Removed.
11711         (getKey): Removed.
11712         (getField): Removed.
11713         (getHeaders): Removed.
11715 2004-01-06  Michael Koch  <konqueror@gmx.de>
11717         * javax/print/attribute/standard/DateTimeAtCompleted.java,
11718         javax/print/attribute/standard/DateTimeAtCreation.java,
11719         javax/print/attribute/standard/DateTimeAtProcessing.java,
11720         javax/print/attribute/standard/JobImpressionsCompleted.java,
11721         javax/print/attribute/standard/JobKOctets.java,
11722         javax/print/attribute/standard/JobKOctetsProcessed.java,
11723         javax/print/attribute/standard/JobMediaSheetsCompleted.java,
11724         javax/print/attribute/standard/JobPrioritySupported.java: New files.
11725         * Makefile.am (javax_source_files): Added new files.
11726         * Makefile.in: Regenerated.
11728 2004-01-06  Michael Koch  <konqueror@gmx.de>
11730         * java/net/URLConnection.java
11731         (contentHandler): Removed.
11732         (locale): Removed.
11733         (getHeaderFields): Return an empty map instead of null.
11734         (getContent): Connect if needed, renamed "cType" to "type" and
11735         "contentHandler" to "ch" and made it a local variable.
11736         (getPermission): Don't use package in class name.
11737         (setDefaultRequestProperty): Fixed typo in documentation.
11738         (initializeDateFormats): Made locale a local variable.
11740 2004-01-06  Michael Koch  <konqueror@gmx.de>
11742         * java/lang/Package.java
11743         (getPackage): Get the current class loader directly.
11744         * java/lang/SecurityManager.java
11745         (currentLoadedClass): Dont iterate over class contexts.
11746         (classLoaderDepth): Don't check class loaders if everything is allowed.
11748 2004-01-05  Thomas Fitzsimmons  <fitzsim@redhat.com>
11750         * jni/gtk-peer/gnu_java_awt_peer_gtk_GtkEvents.c
11751         (pre_event_handler): Set all insets to 0 when a Configure event
11752         is received for a GtkPlug.
11753         * gnu/java/awt/EmbeddedWindow.java (window_id): Rename handle.
11754         Make handle long, not int.
11755         (EmbeddedWindow()): New constructor.
11756         (EmbeddedWindow(int)): Rename window_id to handle.  Make handle
11757         long, not int.
11758         (setHandle): New method.
11759         (getHandle): Return long, not int.
11760         * gnu/java/awt/peer/EmbeddedWindowPeer.java (embed): New method
11761         declaration.
11762         * gnu/java/awt/peer/gtk/GtkEmbeddedWindowPeer.java,
11763         jni/gtk-peer/gnu_java_awt_peer_gtk_GtkEmbeddedWindowPeer.c:
11764         (create(long)): Take long parameter, not int.  Cast gtk_plug_new
11765         argument to GdkNativeWindow.
11766         (construct): New method.
11767         (embed): New method.
11769         * gnu/java/awt/peer/gtk/GtkScrollPanePeer.java,
11770         jni/gtk-peer/gnu_java_awt_peer_gtk_GtkScrollPanePeer.c
11771         (create(int, int)): New method.
11772         (create): Call new create method.
11773         (gtkScrolledWindowNew, gtkScrolledWindowSetSize): Remove
11774         methods.
11775         (childResized): Remove native implementation.  Implement in
11776         Java.
11777         (getHScrollbarHeight, getVScrollbarWidth): Call
11778         gtk_widget_size_request to get scrollbar dimensions.
11779         * java/awt/ScrollPane.java (getViewportSize): Reimplement.  Only
11780         call getVScrollbarWidth and getHScrollbarHeight when vertical
11781         and horizontal scrollbars respectively are needed.
11782         (doLayout): Enlarge child if it is smaller than the viewport.
11784 2004-01-05  Fernando Nasser  <fnasser@redhat.com>
11786         * java/awt/Dialog.java (constructor): Accept null title as per spec.
11787         * java/awt/FileDialog.java (constructor): Throw exception on invalid
11788         argument as per spec.
11790 2004-01-05  Fernando Nasser  <fnasser@redhat.com>
11792         * java/awt/Choice.java (add): Leave posting of ItemEvents to peer.
11793         (insert): Ditto.
11794         (remove): Ditto.  Also, Check for valid argument.
11795         (removeAll): Use peer interface method.
11796         * gnu/java/awt/peer/gtk/GtkChoicePeer.java (nativeAdd): New name for
11797         native add function.
11798         (nativeRemove): New name for native remove function.
11799         (getHistory): New native function.
11800         (constructor): Generate ItemEvent.
11801         (add): Ditto, if selection is changed.
11802         (remove): Ditto, ditto.
11803         (removeAll): Add implementation.
11804         (handleEvent): Remove.  Dead code.
11805         (choicePostItemEvent): Add comment.
11806         * jni/gtk-peer/gnu_java_awt_peer_gtk_GtkChoicePeer.c
11807         (Java_gnu_java_awt_peer_gtk_GtkChoicePeer_append): Add comments.
11808         (Java_gnu_java_awt_peer_gtk_GtkChoicePeer_add): Rename to...
11809         (Java_gnu_java_awt_peer_gtk_GtkChoicePeer_nativeAdd): New name.  Add
11810         comments and fix condition to change selection.
11811         (Java_gnu_java_awt_peer_gtk_GtkChoicePeer_remove): Rename to...
11812         (Java_gnu_java_awt_peer_gtk_GtkChoicePeer_nativeRemove): New name.  Add
11813         remove all capability.
11814         (Java_gnu_java_awt_peer_gtk_GtkChoicePeer_getHistory): New function.
11815         (item_activate): Add cast to remove compiler warning.
11817 2004-01-05  Thomas Fitzsimmons  <fitzsim@redhat.com>
11819         * gnu/java/awt/peer/gtk/GtkComponentPeer.java,
11820         jni/gtk-peer/gnu_java_awt_peer_gtk_GtkComponentPeer.c
11821         (getPreferredSize): Call preferredSize.
11822         (preferredSize): Call gtkWidgetGetPreferredDimensions.
11823         (getMinimumSize): Call minimumSize.
11824         (minimumSize): Call gtkWidgetGetPreferredDimensions.
11825         (gtkWidgetGetDimensions): Return the peer widget's current size
11826         request.
11827         (gtkWidgetGetPreferredDimensions): Return the peer widget's
11828         natural size request.
11830 2004-01-05  Sascha Brawer  <brawer@dandelis.ch>
11832         Thanks to Brian Gough <bjg@network-theory.com>
11833         * java/awt/geom/CubicCurve2D.java (solveCubic): Implemented.
11834         * java/awt/geom/QuadCurve2D.java (solveQuadratic): Re-written.
11836 2004-01-04  Matthias Klose  <doko@debian.org>
11838         * aclocal.m4: Rebuilt using "aclocal -I .".
11839         * configure: Rebuilt.
11841 2004-01-03  Per Bothner  <per@bothner.com>
11843         * java/util/Date.java (parse):  Fix a number of problems.
11844         (skipParens):  Remove no-longer-needed method.