2004-11-06 Michael Koch <konqueror@gmx.de>
[official-gcc.git] / libjava / ChangeLog
blob3b05c688e41fa9730a9741168c6a8deed9e95307
1 2004-11-06  Michael Koch  <konqueror@gmx.de>
3         * java/lang/StringBuffer.java,
4         java/lang/Throwable.java,
5         java/security/spec/DSAParameterSpec.java,
6         java/util/zip/ZipEntry.java,
7         java/util/zip/ZipFile.java,
8         java/util/zip/ZipInputStream.java,
9         java/util/zip/ZipOutputStream.java:
10         Removed redundant and reordered modifiers.
12 2004-11-06  Mattias Rehnberg  <Mattias.Rehnberg@home.se>
14         * java/io/Vector.java
15         (writeObject): New function to serialized output thread safe.
17         * java/io/ObjectOutputStream.java
18         (writeObject): Move the assignment of the class handle to after
19         the assignment of class descriptor handle.
21 2004-11-06  Robert Schuster <thebohemian@gmx.net>
23         Fixes documentation and indentation
24         * java/beans/PropertyEditorSupport.java:
25         reworked initial API doc
26         (value): changed name from val
28 2004-11-06  Robert Schuster <thebohemian@gmx.net>
30         Updates to 1.5
31         * java/beans/PropertyEditorSupport.java
32         (PropertyEditorSupport()): Changed modifier to public
33         (PropertyEditorSupport(Object): Changed modifier to public
34         (setSource): New method
35         (getSource): New method
37 2004-11-06  Robert Schuster <thebohemian@gmx.net>
39         Fixes bug #10799
40         * java/beans/PropertyEditorSupport.java
41         (setValue): Fire property change event
43 2004-11-03  Tom Tromey  <tromey@redhat.com>
45         * jni.cc (_Jv_JNI_NewObjectArray): Fixed return type.
46         * include/jni.h (struct JNINativeInterface) <NewObjectArray>: Now
47         returns jobjectArray.
48         (_Jv_JNIEnv::NewObjectArray): Likewise.
50 2004-11-01  Tom Tromey  <tromey@redhat.com>
52         * verify.cc (state::check_no_uninitialized_objects): Removed.
53         (push_jump): Updated.
54         (push_exception_jump): Likewise.
55         (handle_ret_insn): Likewise.
56         (handle_jsr_insn): Likewise.
58 2004-10-30  Mark Wielaard  <mark@klomp.org>
60         PR libgcj/18234
61         * java/lang/Runtime.java (static): Call init().
62         (Runtime): Remove call to init().
63         (init): Make static.
65 2004-10-28  David Daney  <ddaney@avtrex.com>
67         * gnu/gcj/convert/Output_UnicodeLittleUnmarked.java: New file.
68         * Makefile.am: Build it.
69         * Makefile.in: Regenerate.
71 2004-10-27  Aaron W. LaFramboise  <aaronavay62@aaronwl.com>
73         PR libgcj/18104
74         * Makefile.am (CLASSPATH_SEPARATOR): Use instead of a 
75         colon.
76         * Makefile.in: Regenerate.
77         * configure: Regenerate.
78         * configure.ac (CLASSPATH_SEPARATOR): Define.
79         * gcj/Makefile.in: Regenerate.
80         * include/Makefile.in: Regenerate.
81         * testsuite/Makefile.in: Regenerate.
82         * testsuite/lib/libjava.exp (libjava_arguments): Fix
83         CLASSPATH separator handling for Windows.
85 2004-10-26  Michael Koch  <konqueror@gmx.de>
87         * gnu/java/net/protocol/http/Connection.java
88         (getOutputStream): Implicitely switch to POST method.
90 2004-10-26  Kriang Lerdsuwanakij  <lerdsuwa@users.sourceforge.net>
92         * libjava/java/lang/Class.h
93         (java::lang::Class): Correct friend class declaration.
95 2004-10-25  Geoffrey Keating  <geoffk@apple.com>
97         * Makefile.am (DARWIN_CRT_SRC): New.
98         (libgcj_la_SOURCES): Use it.
99         * configure.ac: Define USING_DARWIN_CRT when on Darwin.
100         * darwin.cc: New file.
101         * include/jvm.h (_Jv_RegisterClasses): Constify.
102         (_Jv_RegisterClasses_Counted): New prototype.
103         * java/lang/Class.h: Include stddef.h.  
104         (_Jv_RegisterClasses): Constify.
105         (_Jv_RegisterClasses_Counted): New prototype.
106         (Object): Make '_Jv_RegisterClasses_Counted' a friend.
107         * java/lang/natClassLoader.cc (_Jv_RegisterClasses): Constify.
108         (_Jv_RegisterClasses_Counted): New function.
109         * configure: Regenerate.
110         * Makefile.in: Regenerate.
111         * gcj/Makefile.in: Regenerate.
112         * include/Makefile.in: Regenerate.
113         * testsuite/Makefile.in: Regenerate.
115 2004-10-25  Tom Tromey  <tromey@redhat.com>
117         * java/util/ResourceBundle.java (tryBundle): Use
118         Class.isAssignableFrom rather than catching ClassCastException.
120 2004-10-25  Tom Tromey  <tromey@redhat.com>
122         * gnu/java/text/WordBreakIterator.java (WordBreakIterator): Don't
123         initialize `iter'.
124         * gnu/java/text/SentenceBreakIterator.java
125         (SentenceBreakIterator): Don't initialize `iter'.
126         * gnu/java/text/LineBreakIterator.java (LineBreakIterator): Don't
127         initialize `iter'.
128         * gnu/java/text/CharacterBreakIterator.java
129         (CharacterBreakIterator): Don't initialize `iter'.
130         * gnu/java/text/BaseBreakIterator.java (BaseBreakIterator): New
131         constructor.
132         * java/text/BreakIterator.java: Updated documentation.
134 2004-10-25  Eric Botcazou  <ebotcazou@libertysurf.fr>
136         PR other/18138
137         * testsuite/lib/libjava.exp: Accept more than one multilib libgcc.
139 2004-10-23  Michael Koch  <konqueror@gmx.de>
141         * javax/print/DocFlavor.java,
142         javax/print/attribute/standard/JobStateReason.java,
143         javax/print/attribute/standard/MultipleDocumentHandling.java:
144         Added missing constants.
146 2004-10-22  Tom Tromey  <tromey@redhat.com>
148         * gnu/java/net/protocol/http/Connection.java (sendRequest): Fix
149         typo.
151 2004-10-22  Michael Koch  <konqueror@gmx.de>
153         PR libjava/14009
154         * gnu/java/net/protocol/http/Connection.java
155         (sendRequest): Handle case when url.getFile() returns an empty string.
157 2004-10-22  Michael Koch  <konqueror@gmx.de>
159         * java/lang/Math.java,
160         java/lang/StackTraceElement.java,
161         java/nio/Buffer.java,
162         java/nio/ByteBuffer.java,
163         java/nio/CharBuffer.java,
164         java/nio/DoubleBuffer.java,
165         java/nio/FloatBuffer.java,
166         java/nio/IntBuffer.java,
167         java/nio/LongBuffer.java,
168         java/nio/ShortBuffer.java,
169         java/nio/charset/Charset.java,
170         java/rmi/server/RMIClassLoader.java,
171         java/rmi/server/RMISocketFactory.java,
172         java/security/Policy.java,
173         java/text/ChoiceFormat.java,
174         java/text/CollationElementIterator.java,
175         java/text/DateFormat.java,
176         java/text/DecimalFormat.java,
177         java/text/DecimalFormatSymbols.java,
178         java/text/MessageFormat.java,
179         java/text/NumberFormat.java,
180         java/text/RuleBasedCollator.java,
181         java/text/SimpleDateFormat.java,
182         java/util/BitSet.java,
183         java/util/Calendar.java,
184         java/util/Collections.java,
185         java/util/IdentityHashMap.java,
186         java/util/Locale.java,
187         java/util/TreeMap.java,
188         java/util/logging/LogRecord.java,
189         java/util/logging/XMLFormatter.java,
190         java/util/prefs/AbstractPreferences.java,
191         java/util/prefs/Preferences.java,
192         javax/crypto/interfaces/DHPrivateKey.java,
193         javax/crypto/interfaces/DHPublicKey.java,
194         javax/crypto/interfaces/PBEKey.java,
195         javax/net/ssl/HandshakeCompletedEvent.java,
196         javax/security/auth/Subject.java:
197         Removed redundant and reordered modifiers.
199 2004-10-22  Ulrich Weigand  <uweigand@de.ibm.com>
201         * gnu/java/net/natPlainSocketImplPosix.cc
202         (gnu::java::net::PlainSocketImpl::available): Call FIONREAD ioctl
203         with 'int *' argument instead of 'long *'.
205 2004-10-21  Michael Koch  <konqueror@gmx.de>
207         * java/net/NetworkInterface.java,
208         java/text/Format.java,
209         javax/security/auth/x500/X500Principal.java,
210         javax/security/auth/x500/X500PrivateCredential.java,
211         javax/security/cert/X509CertBridge.java,
212         javax/security/sasl/Sasl.java,
213         javax/sql/XAConnection.java:
214         Import cleanup.
216 2004-10-21  Michael Koch  <konqueror@gmx.de>
218         * javax/net/ssl/HandshakeCompletedEvent.java,
219         javax/net/ssl/KeyManagerFactory.java,
220         javax/net/ssl/SSLContext.java,
221         javax/net/ssl/SSLServerSocketFactory.java,
222         javax/net/ssl/SSLSession.java,
223         javax/net/ssl/SSLSocketFactory.java,
224         javax/net/ssl/TrustManagerFactory.java:
225         Import cleanup.
227 2004-10-21  Michael Koch  <konqueror@gmx.de>
229         * javax/naming/directory/BasicAttribute.java,
230         javax/naming/directory/BasicAttributes.java,
231         javax/naming/directory/InitialDirContext.java,
232         javax/naming/event/NamingEvent.java,
233         javax/naming/ldap/ControlFactory.java,
234         javax/naming/ldap/ExtendedRequest.java,
235         javax/naming/ldap/InitialLdapContext.java,
236         javax/naming/ldap/LdapReferralException.java,
237         javax/naming/spi/DirObjectFactory.java,
238         javax/naming/spi/DirStateFactory.java,
239         javax/naming/spi/DirectoryManager.java,
240         javax/naming/spi/InitialContextFactory.java,
241         javax/naming/spi/InitialContextFactoryBuilder.java,
242         javax/naming/spi/NamingManager.java,
243         javax/naming/spi/ObjectFactory.java,
244         javax/naming/spi/ObjectFactoryBuilder.java,
245         javax/naming/spi/StateFactory.java:
246         Import cleanup.
248 2004-10-21  Michael Koch  <konqueror@gmx.de>
250         * javax/crypto/Cipher.java,
251         javax/crypto/EncryptedPrivateKeyInfo.java,
252         javax/crypto/ExemptionMechanism.java,
253         javax/crypto/KeyAgreement.java,
254         javax/crypto/KeyGenerator.java,
255         javax/crypto/Mac.java,
256         javax/crypto/SecretKeyFactory.java,
257         javax/crypto/SecretKeyFactorySpi.java,
258         javax/crypto/spec/SecretKeySpec.java:
259         Import cleanup.
261 2004-10-21  Michael Koch  <konqueror@gmx.de>
263         * java/security/AlgorithmParameterGenerator.java,
264         java/security/AlgorithmParameters.java,
265         java/security/AlgorithmParametersSpi.java,
266         java/security/AllPermission.java,
267         java/security/BasicPermission.java,
268         java/security/Certificate.java,
269         java/security/CodeSource.java,
270         java/security/DigestInputStream.java,
271         java/security/DigestOutputStream.java,
272         java/security/GuardedObject.java,
273         java/security/KeyFactory.java,
274         java/security/KeyFactorySpi.java,
275         java/security/KeyPairGenerator.java,
276         java/security/KeyStore.java,
277         java/security/KeyStoreSpi.java,
278         java/security/Permissions.java,
279         java/security/Security.java,
280         java/security/Signature.java,
281         java/security/UnresolvedPermission.java,
282         java/security/cert/CertPathBuilder.java,
283         java/security/cert/CertPathValidator.java,
284         java/security/cert/CertStore.java,
285         java/security/cert/Certificate.java,
286         java/security/cert/CertificateFactory.java,
287         java/security/cert/PolicyQualifierInfo.java,
288         java/security/cert/TrustAnchor.java,
289         java/security/cert/X509CRL.java,
290         java/security/cert/X509CRLSelector.java,
291         java/security/cert/X509CertSelector.java:
292         Import cleanup.
294 2004-10-21  Michael Koch  <konqueror@gmx.de>
296         * java/rmi/MarshalledObject.java,
297         java/rmi/Naming.java,
298         java/rmi/activation/Activatable.java,
299         java/rmi/activation/ActivationGroup.java,
300         java/rmi/activation/ActivationGroupDesc.java,
301         java/rmi/activation/ActivationInstantiator.java,
302         java/rmi/activation/ActivationMonitor.java,
303         java/rmi/activation/ActivationSystem.java,
304         java/rmi/activation/Activator.java,
305         java/rmi/registry/LocateRegistry.java,
306         java/rmi/registry/Registry.java,
307         java/rmi/server/LogStream.java,
308         java/rmi/server/ObjID.java,
309         java/rmi/server/RMIClientSocketFactory.java,
310         java/rmi/server/RMIServerSocketFactory.java,
311         java/rmi/server/RMISocketFactory.java,
312         java/rmi/server/RemoteCall.java,
313         java/rmi/server/RemoteServer.java,
314         java/rmi/server/ServerRef.java,
315         java/rmi/server/UID.java,
316         java/rmi/server/UnicastRemoteObject.java:
317         Import cleanup.
319 2004-10-21  Tom Tromey  <tromey@redhat.com>
321         * java/util/zip/InflaterInputStream.java (fill): Don't throw an
322         exception if we hit EOF of `in'.
323         (read): Handle case where inflating returns -1.
325 2004-10-21  Ulrich Weigand  <uweigand@de.ibm.com>
327         * gnu/java/nio/channels/natFileChannelPosix.cc
328         (FileChannelImpl::available): Call FIONREAD ioctl with 'int *'
329         argument instead of 'long *'.
331 2004-10-21  Tom Tromey  <tromey@redhat.com>
333         * java/util/ResourceBundle.java (tryBundle): Also ignore
334         ClassCastException.
336 2004-10-21  Kaz Kojima  <kkojima@gcc.gnu.org>
338         * configure.ac (SIGNAL_HANDLER): Set to include/sh-signal.h
339         for all sh*-*-linux* targets.
340         * configure: Regenerate.
341         * include/sh-signal.h: New file.
343 2004-10-21  Kazuhiro Inaoka  <inaoka.kazuhiro@renesas.com>
345         * java/lang/ieeefp.h: Add m32r support.
347 2004-10-20  Andreas Schwab  <schwab@suse.de>
349         * java/lang/natClass.cc (_Jv_LayoutVTableMethods): Cast pointers
350         to uaddr, not int.
351         * java/lang/natClassLoader.cc (_Jv_PrepareCompiledClass):
352         Likewise.
354 2004-10-20  Michael Koch  <konqueror@gmx.de>
356         * javax/print/attribute/standard/ColorSupported.java,
357         javax/print/attribute/standard/Compression.java,
358         javax/print/attribute/standard/Copies.java,
359         javax/print/attribute/standard/CopiesSupported.java,
360         javax/print/attribute/standard/DateTimeAtCompleted.java,
361         javax/print/attribute/standard/DateTimeAtCreation.java,
362         javax/print/attribute/standard/DateTimeAtProcessing.java,
363         javax/print/attribute/standard/DocumentName.java,
364         javax/print/attribute/standard/Fidelity.java,
365         javax/print/attribute/standard/Finishings.java,
366         javax/print/attribute/standard/JobHoldUntil.java,
367         javax/print/attribute/standard/JobImpressions.java,
368         javax/print/attribute/standard/JobImpressionsCompleted.java,
369         javax/print/attribute/standard/JobImpressionsSupported.java,
370         javax/print/attribute/standard/JobKOctets.java,
371         javax/print/attribute/standard/JobKOctetsProcessed.java,
372         javax/print/attribute/standard/JobKOctetsSupported.java,
373         javax/print/attribute/standard/JobMediaSheets.java,
374         javax/print/attribute/standard/JobMediaSheetsCompleted.java,
375         javax/print/attribute/standard/JobMediaSheetsSupported.java,
376         javax/print/attribute/standard/JobMessageFromOperator.java,
377         javax/print/attribute/standard/JobName.java,
378         javax/print/attribute/standard/JobOriginatingUserName.java,
379         javax/print/attribute/standard/JobPriority.java,
380         javax/print/attribute/standard/JobPrioritySupported.java,
381         javax/print/attribute/standard/JobSheets.java,
382         javax/print/attribute/standard/JobState.java,
383         javax/print/attribute/standard/JobStateReason.java,
384         javax/print/attribute/standard/JobStateReasons.java,
385         javax/print/attribute/standard/Media.java,
386         javax/print/attribute/standard/MultipleDocumentHandling.java,
387         javax/print/attribute/standard/NumberOfDocuments.java,
388         javax/print/attribute/standard/NumberOfInterveningJobs.java,
389         javax/print/attribute/standard/NumberUp.java,
390         javax/print/attribute/standard/NumberUpSupported.java,
391         javax/print/attribute/standard/OrientationRequested.java,
392         javax/print/attribute/standard/OutputDeviceAssigned.java,
393         javax/print/attribute/standard/PDLOverrideSupported.java,
394         javax/print/attribute/standard/PageRanges.java,
395         javax/print/attribute/standard/PagesPerMinute.java,
396         javax/print/attribute/standard/PagesPerMinuteColor.java,
397         javax/print/attribute/standard/PrintQuality.java,
398         javax/print/attribute/standard/PrinterInfo.java,
399         javax/print/attribute/standard/PrinterIsAcceptingJobs.java,
400         javax/print/attribute/standard/PrinterLocation.java,
401         javax/print/attribute/standard/PrinterMakeAndModel.java,
402         javax/print/attribute/standard/PrinterMessageFromOperator.java,
403         javax/print/attribute/standard/PrinterMoreInfo.java,
404         javax/print/attribute/standard/PrinterMoreInfoManufacturer.java,
405         javax/print/attribute/standard/PrinterName.java,
406         javax/print/attribute/standard/PrinterStateReason.java,
407         javax/print/attribute/standard/PrinterStateReasons.java,
408         javax/print/attribute/standard/PrinterURI.java,
409         javax/print/attribute/standard/ReferenceUriSchemesSupported.java,
410         javax/print/attribute/standard/RequestingUserName.java:
411         Reorganized imports and removed redundant final modifiers.
413 2004-10-20  Michael Koch  <konqueror@gmx.de>
415         * javax/security/sasl/SaslClient.java,
416         javax/security/sasl/SaslClientFactory.java,
417         javax/security/sasl/SaslException.java,
418         javax/security/sasl/SaslServer.java,
419         javax/security/sasl/SaslServerFactory.java:
420         Remvoed CVS tags.
422 2004-10-20  Michael Koch  <konqueror@gmx.de>
424         * javax/security/auth/login/NullConfiguration.java,
425         javax/security/auth/x500/X500Principal.java,
426         javax/security/cert/X509Certificate.java,
427         javax/security/sasl/AuthenticationException.java,
428         javax/security/sasl/AuthorizeCallback.java,
429         javax/security/sasl/RealmCallback.java,
430         javax/security/sasl/RealmChoiceCallback.java,
431         javax/security/sasl/Sasl.java,
432         javax/security/sasl/SaslClient.java,
433         javax/security/sasl/SaslClientFactory.java,
434         javax/security/sasl/SaslException.java,
435         javax/security/sasl/SaslServer.java,
436         javax/security/sasl/SaslServerFactory.java:
437         Cleaned up import statements and copyright notices.
439 2004-10-20  Michael Koch  <konqueror@gmx.de>
441         * gnu/java/rmi/rmic/RMIC.java: Reformatted.
443 2004-10-20  Michael Koch  <konqueror@gmx.de>
445         * java/sql/Timestamp.java,
446         java/text/AttributedCharacterIterator.java,
447         java/text/AttributedString.java,
448         java/util/zip/CheckedOutputStream.java,
449         java/util/zip/DeflaterOutputStream.java,
450         java/util/zip/ZipFile.java,
451         javax/crypto/Cipher.java,
452         javax/crypto/ExemptionMechanismException.java,
453         javax/crypto/SecretKey.java,
454         javax/crypto/SecretKeyFactory.java,
455         javax/naming/directory/ModificationItem.java,
456         javax/naming/directory/SearchControls.java,
457         javax/naming/event/NamingListener.java,
458         javax/naming/ldap/Control.java,
459         javax/naming/ldap/ExtendedResponse.java,
460         javax/net/ssl/SSLSocketFactory.java:
461         Reorganized imports and fixed copyright headers.
463 2004-10-20  Michael Koch  <konqueror@gmx.de>
465         * java/util/logging/ConsoleHandler.java,
466         java/util/logging/ErrorManager.java,
467         java/util/logging/FileHandler.java,
468         java/util/logging/Filter.java,
469         java/util/logging/Formatter.java,
470         java/util/logging/Handler.java,
471         java/util/logging/Level.java,
472         java/util/logging/LogManager.java,
473         java/util/logging/LogRecord.java,
474         java/util/logging/Logger.java,
475         java/util/logging/LoggingPermission.java,
476         java/util/logging/MemoryHandler.java,
477         java/util/logging/SimpleFormatter.java,
478         java/util/logging/SocketHandler.java,
479         java/util/logging/StreamHandler.java,
480         java/util/logging/XMLFormatter.java:
481         Standardized copyrigth header.
483 2004-10-20  Michael Koch  <konqueror@gmx.de>
485         * java/security/AlgorithmParameterGenerator.java,
486         java/security/AlgorithmParameters.java,
487         java/security/DigestInputStream.java,
488         java/security/Identity.java,
489         java/security/KeyFactory.java,
490         java/security/KeyPairGenerator.java,
491         java/security/KeyStore.java,
492         java/security/MessageDigest.java,
493         java/security/MessageDigestSpi.java,
494         java/security/Policy.java,
495         java/security/SecureRandom.java,
496         java/security/Security.java,
497         java/security/Signature.java,
498         java/security/SignatureSpi.java,
499         java/security/cert/CertPathBuilder.java,
500         java/security/cert/CertPathValidator.java,
501         java/security/cert/CertStore.java,
502         java/security/cert/Certificate.java,
503         java/security/cert/CertificateFactory.java,
504         java/security/cert/PolicyQualifierInfo.java,
505         java/security/cert/TrustAnchor.java,
506         java/security/cert/X509CRL.java,
507         java/security/cert/X509CRLEntry.java,
508         java/security/cert/X509Certificate.java,
509         java/security/spec/RSAMultiPrimePrivateCrtKeySpec.java:
510         Import statements reorganized, some little formatting issues,
511         used java-style array declarations, added comments in empty catch
512         blocks.
514 2004-10-18  Jeroen Frijters  <jeroen@frijters.net>
516         * java/security/Security.java
517         (static): Use AccessController.doPrivileged to get system property.
519 2004-10-18  Sven de Marothy  <sven@physto.se>
521         * java/nio/ByteBufferHelper.java
522         (putDouble): Use Double.toRawLongBits instead.
524 2004-10-18  Mark Wielaard  <mark@klomp.org>
525         Andrew Haley  <aph@redhat.com>
527         * testsuite/libjava.lang/ExtraClassLoader.java: New.
529 2004-10-18  Andrew Haley  <aph@redhat.com>
531         PR java/18036:
532         * gnu/gcj/runtime/natStackTrace.cc (fillInStackTrace): Reorganize
533         and correct logic used to find interpreter.
534         
535 2004-10-18  Jeroen Frijters  <jeroen@frijters.net>
537         * java/util/logging/LogManager.java
538         (findAncestor): Fixed IndexOutOfBoundsException.
540 2004-10-18  Michael Koch  <konqueror@gmx.de>
542         * java/io/BufferedInputStream.java: Fixed @author tag.
543         (read): Simplified expression.
544         (read): Merged javadoc a bit more.
545         (read): Renamed 'remain' to 'totalBytesRead'.
546         * java/io/DataInputStream.java,
547         java/io/DataOutputStream.java,
548         java/io/ObjectInputStream.java,
549         java/io/ObjectOutputStream.java:
550         Reworked modifier order.
552 2004-10-18  Michael Koch  <konqueror@gmx.de>
554         * java/net/Inet4Address.java: Merged file header and javadocs.
555         * java/net/Inet6Address.java: Likewise.
556         * java/net/InetAddress.java
557         (getCanonicalHostName): Create Inet4Address object instead of
558         InetAddress and add comment regarding IPv6.
559         (toString): Simplified.
561 2004-10-18  Michael Koch  <konqueror@gmx.de>
563         * gnu/java/net/protocol/http/Connection.java,
564         java/nio/MappedByteBufferImpl.java,
565         java/text/RuleBasedCollator.java,
566         java/util/ResourceBundle.java:
567         Reworked import statements.
569 2004-10-18  Jeroen Frijters  <jeroen@frijters.net>
571         * java/security/IdentityScope.java
572         (systemScope): Removed useless initializer.
573         * java/security/Policy.java
574         (currentPolicy): Likewise.
576 2004-10-18  Michael Koch  <konqueror@gmx.de>
578         * java/lang/System.java: Revert accidential change.
580 2004-10-18  Michael Koch  <konqueror@gmx.de>
582         * java/lang/Math.java,
583         java/lang/Package.java,
584         java/lang/Runtime.java,
585         java/lang/StrictMath.java,
586         java/lang/System.java,
587         java/lang/Thread.java,
588         java/lang/ThreadLocal.java,
589         java/lang/Void.java:
590         Reworked import statements, HTML in javadocs and modifier orders.
592 2004-10-18  Jeroen Frijters  <jeroen@frijters.net>
594         * java/util/Timer.java
595         (nr): Removed useless initializer.
596         * java/util/logging/LogRecord.java
597         (lastSeqNum): Likewise.
598         * javax/naming/spi/NamingManager.java
599         (icfb, ofb): Likewise.
601 2004-10-18  Michael Koch  <konqueror@gmx.de>
603         * gnu/java/net/PlainDatagramSocketImpl.java:
604         Reworked import statements.
605         * gnu/java/security/provider/DSAParameters.java:
606         Fixed copyrigth years.
607         * java/net/JarURLConnection.java:
608         Fixed HTML in @author tags.
609         
611 2004-10-18  Michael Koch  <konqueror@gmx.de>
613         * java/rmi/activation/ActivationSystem.java
614         (SYSTEM_PORT): Initialize with correct port number.
616 2004-10-18  Michael Koch  <konqueror@gmx.de>
618         * java/lang/reflect/Proxy.java: Improved javadocs.
620 2004-10-18  Michael Koch  <konqueror@gmx.de>
622         * java/lang/reflect/AccessibleObject.java
623         (checkPermission): Removed redundant final modifier.
624         (secureSetAccessible): Likewise.
625         * java/lang/reflect/Proxy.java:
626         Reworked import statements.
627         (generate): Removed redundant final modifier.
628         * java/lang/reflect/ReflectPermission.java:
629         Reorder package declaration and import statement.
631 2004-10-18  Jeroen Frijters  <jeroen@frijters.net>
633         * java/lang/reflect/Proxy.java
634         (count): Removed useless initializer.
636 2004-10-17  Michael Koch  <konqueror@gmx.de>
638         * java/net/BindException.java,
639         java/net/ConnectException.java,
640         java/net/ContentHandler.java,
641         java/net/ContentHandlerFactory.java,
642         java/net/DatagramPacket.java,
643         java/net/DatagramSocket.java,
644         java/net/DatagramSocketImpl.java,
645         java/net/DatagramSocketImplFactory.java,
646         java/net/FileNameMap.java,
647         java/net/HttpURLConnection.java,
648         java/net/MalformedURLException.java,
649         java/net/MulticastSocket.java,
650         java/net/NetworkInterface.java,
651         java/net/NoRouteToHostException.java,
652         java/net/PasswordAuthentication.java,
653         java/net/PortUnreachableException.java,
654         java/net/ProtocolException.java,
655         java/net/ServerSocket.java,
656         java/net/Socket.java,
657         java/net/SocketException.java,
658         java/net/SocketImpl.java,
659         java/net/SocketImplFactory.java,
660         java/net/SocketOptions.java,
661         java/net/SocketPermission.java,
662         java/net/SocketTimeoutException.java,
663         java/net/URI.java,
664         java/net/URISyntaxException.java,
665         java/net/URL.java,
666         java/net/URLDecoder.java,
667         java/net/URLEncoder.java,
668         java/net/URLStreamHandler.java,
669         java/net/URLStreamHandlerFactory.java,
670         java/net/UnknownHostException.java,
671         java/net/UnknownServiceException.java:
672         Big import statement and @author tag cleanup.
674 2004-10-17  Michael Koch  <konqueror@gmx.de>
676         * gnu/java/security/OID.java,
677         gnu/java/security/provider/DSAParameters.java,
678         gnu/java/security/provider/DSASignature.java,
679         gnu/java/security/x509/X500DistinguishedName.java,
680         gnu/java/security/x509/X509CRL.java:
681         Import statements cleaned up.
683 2004-10-16  Michael Koch  <konqueror@gmx.de>
685         * gnu/java/nio/NIODatagramSocket.java,
686         gnu/java/nio/ServerSocketChannelImpl.java:
687         Reorganized import statements.
689 2004-10-16  Michael Koch  <konqueror@gmx.de>
691         * gnu/java/rmi/RMIMarshalledObjectOutputStream.java
692         gnu/java/rmi/rmic/RMIC.java,
693         gnu/java/rmi/server/RMIHashes.java,
694         gnu/java/rmi/server/RMIObjectInputStream.java,
695         gnu/java/rmi/server/RMIObjectOutputStream.java,
696         gnu/java/rmi/server/UnicastConnection.java,
697         gnu/java/rmi/server/UnicastConnectionManager.java,
698         gnu/java/rmi/server/UnicastRemoteCall.java,
699         gnu/java/rmi/server/UnicastServer.java,
700         gnu/java/rmi/server/UnicastServerRef.java,
701         java/rmi/MarshalledObject.java,
702         java/rmi/Naming.java,
703         java/rmi/RMISecurityManager.java,
704         java/rmi/Remote.java,
705         java/rmi/activation/Activatable.java,
706         java/rmi/activation/ActivationDesc.java,
707         java/rmi/activation/ActivationGroup.java,
708         java/rmi/activation/ActivationGroupDesc.java,
709         java/rmi/activation/ActivationGroupID.java,
710         java/rmi/activation/ActivationID.java,
711         java/rmi/activation/ActivationInstantiator.java,
712         java/rmi/activation/ActivationMonitor.java,
713         java/rmi/activation/ActivationSystem.java,
714         java/rmi/activation/Activator.java,
715         java/rmi/dgc/DGC.java,
716         java/rmi/dgc/Lease.java,
717         java/rmi/dgc/VMID.java,
718         java/rmi/registry/LocateRegistry.java,
719         java/rmi/registry/Registry.java,
720         java/rmi/registry/RegistryHandler.java,
721         java/rmi/server/LoaderHandler.java,
722         java/rmi/server/LogStream.java,
723         java/rmi/server/ObjID.java,
724         java/rmi/server/Operation.java,
725         java/rmi/server/RMIClassLoader.java,
726         java/rmi/server/RMIClassLoaderSpi.java,
727         java/rmi/server/RMIClientSocketFactory.java,
728         java/rmi/server/RMIFailureHandler.java,
729         java/rmi/server/RMIServerSocketFactory.java,
730         java/rmi/server/RMISocketFactory.java,
731         java/rmi/server/RemoteCall.java,
732         java/rmi/server/RemoteObject.java,
733         java/rmi/server/RemoteRef.java,
734         java/rmi/server/RemoteServer.java,
735         java/rmi/server/RemoteStub.java,
736         java/rmi/server/ServerRef.java,
737         java/rmi/server/Skeleton.java,
738         java/rmi/server/SkeletonMismatchException.java,
739         java/rmi/server/UID.java,
740         java/rmi/server/UnicastRemoteObject.java,
741         java/rmi/server/Unreferenced.java:
742         File headers and import statements cleaned up.
744 2004-10-16  Michael Koch  <konqueror@gmx.de>
746         * libjava/gnu/java/nio/charset/UTF_16.java,
747         libjava/gnu/java/nio/charset/UTF_16BE.java,
748         libjava/gnu/java/nio/charset/UTF_16LE.java,
749         libjava/java/nio/ByteOrder.java,
750         libjava/java/nio/MappedByteBuffer.java,
751         libjava/java/nio/channels/Channels.java,
752         libjava/java/nio/channels/spi/SelectorProvider.java,
753         libjava/java/nio/charset/Charset.java:
754         Cleanup.
756 2004-10-16  Michael Koch  <konqueror@gmx.de>
758         * gnu/java/nio/charset/UTF_16Encoder.java
759         (UTF_16Encoder): Fixed maxBytesPerChar handling.
761 2004-10-16  Michael Koch  <konqueror@gmx.de>
763         * java/math/BigDecimal.java, java/math/BigInteger.java:
764         Reorganized import statements, removed redundant and
765         reorganized modifiers.
767 2004-10-16  Michael Koch  <konqueror@gmx.de>
769         * gnu/java/beans/ExplicitBeanInfo.java:
770         Explicitely import java.awt.Image.
771         (getIcon): Fixed off-by-one error.
773 2004-10-15  Andrew Haley  <aph@redhat.com>
775         * Makefile.am (nat_files, xlib_nat_files): New.
776         * Makefile.in: Regenerate.
778 2004-10-14  Ulrich Weigand  <uweigand@de.ibm.com>
780         * jni.cc (_Jv_JNIMethod::call): Use ffi_java_raw_call instead of
781         ffi_raw_call if FFI_NATIVE_RAW_API is not defined.
783 2004-10-13  Andrew Haley  <aph@redhat.com>
785         * interpret.cc (_Jv_InterpMethod::run): Initialize
786         _Jv_StartOfInterpreter.
787         (_Jv_StartOfInterpreter, _Jv_EndOfInterpreter): Functions removed.
788         (_Jv_StartOfInterpreter, _Jv_EndOfInterpreter): New variables.
789         * gnu/gcj/runtime/natStackTrace.cc (fillInStackTrace): Use
790         _Unwind_FindEnclosingFunction to discover whether PC is within the
791         interpreter.
793 2004-10-12  Rutger Ovidius  <ovidr@users.sourceforge.net>
795         PR libgcj/17903:
796         * testsuite/libjava.lang/md5test.java: New file.
797         * testsuite/libjava.lang/md5test.out: Likewise.
798         * testsuite/libjava.lang/shatest.java: Likewise.
799         * testsuite/libjava.lang/shatest.out: Likewise.
801 2004-10-11  Richard Henderson  <rth@redhat.com>
803         * include/posix-threads.h <__alpha__> (_Jv_ThreadId_t): Use void*.
804         (_Jv_ThreadSelf): Use __builtin_thread_pointer.
806 2004-10-08  Bryce McKinlay  <mckinlay@redhat.com>
808         * java/util/Calendar.java (set): Invalidate DST_OFFSET
809         field as a DST boundary may have been crossed.
810         * java/util/GregorianCalendar.java (add): Throw 
811         IllegalArgumentException on attempt to add to DST_OFFSET or 
812         ZONE_OFFSET fields. Update javadoc.
814 2004-10-09  Michael Koch  <konqueror@gmx.de>
816         * java/io/CharArrayWriter.java
817         (resize): Removed redundant 'final' modifier.
818         * java/io/DataInputStream.java
819         (readFully): Throw IndexOutOfBoundsException of len < 0.
820         * java/io/FileDescriptor.java,
821         java/io/FileInputStream.java,
822         java/io/FileOutputStream.java,
823         java/io/ObjectOutputStream.java,
824         java/io/ObjectStreamClass.java,
825         java/io/PipedInputStream.java,
826         java/io/RandomAccessFile.java:
827         Reorganized import statements.
829 2004-10-09  Michael Koch  <konqueror@gmx.de>
831         * gnu/java/rmi/rmic/RMIC.java,
832         gnu/java/rmi/server/RMIHashes.java,
833         gnu/java/rmi/server/RMIObjectInputStream.java,
834         gnu/java/rmi/server/UnicastConnection.java,
835         gnu/java/rmi/server/UnicastConnectionManager.java,
836         gnu/java/rmi/server/UnicastRemoteCall.java,
837         gnu/java/rmi/server/UnicastServerRef.java:
838         Reworked import statements and fixed file headers.
840 2004-10-04  Loren J. Rittle  <ljrittle@acm.org>
842         * configure.ac (*-*-freebsd[[1234]]*): Refine error message
843         emission rule.
844         * configure: Rebuilt.
846 2004-09-30  Tom Tromey  <tromey@redhat.com>
848         * java/text/MessageFormat.java (Field): Constructor now
849         protected.
851 2004-09-30  Tom Tromey  <tromey@redhat.com>
853         * javax/crypto/MacSpi.java: Fixed typo.
855 2004-09-30  Michael Koch  <konqueror@gmx.de>
857         * java/net/InetAddress.java: Reformatted.
858         (loopback): Initialize with Inet4Address object.
859         (static): Initialize ANY_IF with Inet4Address object.
860         (InetAddress): Removed unused package-private constructor.
862 2004-09-30  Michael Koch  <konqueror@gmx.de>
864         * java/beans/Beans.java,
865         java/beans/EventHandler.java,
866         java/beans/EventSetDescriptor.java,
867         java/beans/Introspector.java,
868         java/beans/PropertyEditorManager.java,
869         java/beans/beancontext/BeanContext.java,
870         java/beans/beancontext/BeanContextChild.java,
871         java/beans/beancontext/BeanContextChildSupport.java,
872         java/beans/beancontext/BeanContextMembershipEvent.java:
873         Reordered import statements and removed redundant modifiers.
875 2004-09-29  Tom Tromey  <tromey@redhat.com>
877         PR libgcj/17715:
878         * Makefile.in: Rebuilt.
879         * Makefile.am (libgcj-@gcc_version@.jar): Include properties
880         files.
881         (all_property_files): New macro.
883         * Makefile.in: Rebuilt.
884         * Makefile.am (ordinary_java_source_files): Re-sorted.
885         (libgcj.la): Moved to old location near lib-gnu-awt-xlib.la.
887 2004-09-28  Tom Tromey  <tromey@redhat.com>
889         * jni.cc (_Jv_JNI_RegisterNatives): Formatting fixlets.
891         PR libgcj/17222:
892         * Makefile.am (libgcj.la): Restored.
893         * Makefile.in: Rebuilt.
895 2004-09-28  Michael Koch  <konqueror@gmx.de>
897         * java/net/URLConnection.java: Reformatted.
898         * java/net/URLClassLoader.java: Reformatted.
899         (getContent): Reordered return of content.
900         (getContentHandler): Don't check for null explicitely.
902 2004-09-27  Michael Koch  <konqueror@gmx.de>
904         * java/io/BufferedInputStream.java
905         (BufferedInputStream): Added Jeroen Frijters to authors.
906         (count): Don't explicitely initialize with default value.
907         (pos): Likewise.
908         (marklimit): Likewise.
909         (read): Changed boolean expression to match GNU classpath' version.
910         (reset): Add proper message to exception.
911         (skip): Check for closed stream.
912         (refill): Likewise.
914 2004-09-26  Per Bothner  <per@bothner.com>
916         * prims.cc (unblock_signal): Annotate signum with __unused__ to
917         avoid warnings in the non-POSIX_VERSION case.
918         Also, we only need this function if either HANDLE_SEGV or HANDLE_FPE,
919         so place it inside an #if block.
920         * include/default-signal.h (SIGNAL_HANDLER): Parameters are __unused__.
921         * include/i386-signal.h (SIGNAL_HANDLER):  Likewise
922         * include/mips-signal.h (SIGNAL_HANDLER):  Likewise
923         * include/sparc-signal.h (SIGNAL_HANDLER):  Likewise
925 2004-09-26  Per Bothner  <per@bothner.com>
927         * prims.cc (process_gcj_properties):  Optimization.
929 2004-09-26  Per Bothner  <per@bothner.com>
931         * java/util/Collections.java (sort):  Copy from array in forwards
932         order, rather than reverse order which may be much less efficient.
934 2004-09-26  Mark Wielaard  <mark@klomp.org>
936         * java/lang/System.java (properties): Make package private.
937         * java/lang/Throwable.java (StaticData.nl): Initialize through
938         directly accessing System.properties.getProperty().
940         * java/lang/Throwable.java (nl): Remove static field.
941         (StaticData): New private static inner class.
942         (stackTraceStringBuffer): Use StaticData.nl.
944 2004-09-26  Casey Marshall <csm@gnu.org>
946         * java/security/ProtectionDomain.java
947         (<init>(CodeSource,PermissionCollection)): set `staticBinding' to
948         `true'.
950         * java/security/SecureClassLoader.java
951         (defineClass): make protection domain dynamically bound.
952         (getPermissions): call `getCurrentPolicy' to avoid permission
953         check.
955 2004-09-25  Mark Wielaard  <mark@klomp.org>
957         * Makefile.am (core_java_source_files): Add VMTimeZone.java.
958         (nat_source_files): Rename natTimeZone.cc to natVMTimeZone.cc.
959         * Makefile.in: Regenerated.
961         * gcj/javaprims.h: Regenerated.
963         * java/util/TimeZone.java (defaultZone): Use VMTimeZone.
964         (getDefaultTimeZone): Make package private. Check that GMToffset
965         contains at least one digit.
966         (getDefaultTimeZoneId, readTimeZoneFile, readtzFile): (Re)Moved to
967         VMTimeZone.
968         * util/VMTimeZone.java: New file with above methods.
970         * java/util/natTimeZone.cc: Removed (renamed).
971         * java/util/natVMTimeZone.cc: Added (renamed).
973 2004-09-25  Jeroen Frijters  <jeroen@frijters.net>
975         * java/util/TimeZone.java
976         (getDefaultTimeZone): Fixed test to distinguish between hours and
977         minutes in specified timezone.
979 2004-09-25  Jeroen Frijters  <jeroen@frijters.net>
981         * java/lang/reflect/Proxy.java (getPackage, ClassFactory): Fixed
982         handling of default package. (generate): Removed confused comments
983         and code about making Method and Field accessible.
985 2004-09-25  Tom Tromey  <tromey@redhat.com>
987         PR java/17500:
988         * testsuite/libjava.compile/pr17500.java: New file.
990 2004-09-25  Shashank Bapat  <shashankbapat@yahoo.com>
991             Mark Wielaard  <mark@klomp.org>
993         * gnu/regexp/RE.java (initialize): Add RETokenLookAhead support.
994         * gnu/regexp/RETokenLookAhead.java: New file.
996         * Makefile.am (ordinary_java_source_files): Add RETokenLookAhead.java.
997         * Makefile.in: Regenerated.
999 2004-09-25  Michael Koch  <konqueror@gmx.de>
1001         * java/io/ObjectStreamField.java:
1002         Removed unused import statement.
1004 2004-09-24  Tom Tromey  <tromey@redhat.com>
1006         PR java/15656:
1007         * testsuite/libjava.compile/pr15656.xfail: New file.
1008         * testsuite/libjava.compile/pr15656.java: new file.
1010         PR java/16789:
1011         * testsuite/libjava.lang/pr16789.out: New file.
1012         * testsuite/libjava.lang/pr16789.java: New file.
1014 2004-09-24  Andrew Haley  <aph@redhat.com>
1016         PR java/16927
1017         * testsuite/libjava.compile/AssertBug.java: New file.
1019 2004-09-24  Casey Marshall <csm@gnu.org>
1021         * java/util/PropertyPermissionCollection.java
1022         (implies): avoid infinite loop.
1024 2004-09-24  Andrew John Hughes  <gnu_andrew@member.fsf.org>
1026         * javax/security/auth/PrivateCredentialPermission.java
1027         (PrivateCredentialPermission): added serialization UID
1030 2004-09-24  Ilya Perminov  <iperminov@logicalsoft.com>
1032         * gnu/java/rmi/server/UnicastServer.java
1033         (incomingMessageCall): Added code to handle Errors.
1034         * gnu/java/rmi/server/UnicastServerRef.java
1035         (incomingMessageCall): Added code to handle Errors.
1038 2004-09-24  Tom Tromey  <tromey@redhat.com>
1040         * java/lang/ClassLoader.java (loadedClasses): Declare as HashMap.
1041         (definedPackages): Likewise.
1043 2004-09-24  Michael Koch  <konqueror@gmx.de>
1045         * java/io/ObjectInputStream.java:
1046         Re-ordered imports.
1048 2004-09-24  Casey Marshall <csm@gnu.org>
1050         * java/io/ObjectInputStream.java (callReadMethod): re-throw
1051         `ClassNotFoundException'.
1053 2004-09-24  Jeroen Frijters  <jeroen@frijters.net>
1055         * java/io/ObjectInputStream.java (readObject): Delegate instantation
1056         of Externalizable classes to ObjectStreamClass.
1057         * java/io/ObjectStreamClass.java (newInstance): New method to
1058         instantiate Externalizable (while ignoring the accessibility of
1059         the constructor). (constructor): New field to cache the constructor.
1061 2004-09-24  Mark Wielaard  <mark@klomp.org>
1063         * java/net/URL.java (systemClassLoader): New static field.
1064         (getURLStreamHandler): Always use system/application classloader
1065         for finding URLStreamhandler. Remove unecessary instanceof checks.
1067 2004-09-24  Guilhem Lavaux <guilhem@kaffe.org>
1069         * java/net/URL.java
1070         (set): This method now matches the behaviour of the JDK.
1071         (DEFAULT_SEARCH_PATH): Added "gnu.inet".
1073 2004-09-24  Guilhem Lavaux  <guilhem@kaffe.org>
1075         * java/net/URL.java (URL): Delete whitespaces in the protocol string.
1077 2004-09-24  Jeroen Frijters  <jeroen@frijters.net>
1079         * java/net/URL.java (URL(String,String,int,String,URLStreamHandler):
1080         Don't set authority if host isn't specified.
1082 2004-09-24  Michael Koch  <konqueror@gmx.de>
1084         * gnu/java/nio/PipeImpl.java: Use VMPipe for native stuff.
1085         * gnu/java/nio/SelectorImpl.java: Use VMSelector for native stuff.
1086         * gnu/java/nio/VMPipe.java,
1087         gnu/java/nio/VMSelector.java:
1088         New files.
1089         * gnu/java/nio/natPipeImplEcos.cc,
1090         gnu/java/nio/natPipeImplPosix.cc,
1091         gnu/java/nio/natPipeImplWin32.cc:
1092         Ported to VMPipe.
1093         * gnu/java/nio/natSelectorImplEcos.cc,
1094         gnu/java/nio/natSelectorImplPosix.cc,
1095         gnu/java/nio/natSelectorImplWin32.cc:
1096         Ported to VMSelector.
1097         * Makefile.am: Added new files gnu/java/nio/VMPipe.java and
1098         gnu/java/nio/VMSelector.java.
1099         * Makefile.in: Regenerated.
1101 2004-09-24  Jeroen Frijters  <jeroen@frijters.net>
1103         * java/lang/StackTraceElement.java
1104         (className): Renamed field to declaringClass to be compatible
1105         with Sun serialization format.
1107 2004-09-23  Michael Koch  <konqueror@gmx.de>
1109         * java/applet/AppletContext.java,
1110         java/applet/Applet.java,
1111         java/applet/AppletStub.java,
1112         java/applet/AudioClip.java:
1113         Jalopied and checkstyle clean.
1115 2004-09-23  Mark Wielaard  <mark@klomp.org>
1117         * java/util/Collections.java
1118         (binarySearch(List, Object, Comparator)): Explicitly
1119         reverse direction in list iterator.
1120         (rotate): Just return when list is empty.
1122 2004-09-23  Tom Tromey  <tromey@redhat.com>
1124         PR java/17329:
1125         * testsuite/libjava.compile/pr17329.java: New file.
1127         PR java/17380:
1128         * testsuite/libjava.jacks/jacks.xfail: Added 9.2-implicit-6 and
1129         9.2-implicit-7.
1131 2004-09-22  Kelley Cook  <kcook@gcc.gnu.org>
1133         * Makefile.am: Run aclocal with -I ../config
1134         * acinclude.m4: Delete macros picked up from ../config and tidy.
1135         (AM_ICONV,AM_LC_MESSAGES, PKG_CHECK_MODULES): Delete.
1136         * aclocal.m4, configure, Makefile.in, gcj/Makefile.in: Regenerate.
1137         * include/Makefile.in, testsuite/Makefile.in: Regenerate.
1139 2004-09-22  Kelley Cook  <kcook@gcc.gnu.org>
1141         * aclocal.m4: Regenerate with aclocal 1.9.2.
1142         * configure: Regenerate.
1143         * Makefile.in, gcj/Makefile.in: Regenerate with automake 1.9.2.
1144         * include/Makefile.in, testsuite/Makefile.in: Likewise.
1146 2004-09-22  David Daney  <ddaney@avtrex.com>
1148         PR libgcj/17623
1149         * java/net/URL.java (URL): Copy userInfo from context.
1150         (getUserInfo): Return cached userInfo if present.
1152 2004-09-22  Tom Tromey  <tromey@redhat.com>
1154         PR libgcj/6182:
1155         * mauve-libgcj: Enable java.lang.Character tests.
1157 2004-09-22  Andreas Tobler  <a.tobler@schweiz.ch>
1159         * Makefile.am (lib_org_ietf_jgss_la_DEPENDENCIES): Add missing
1160         dependencies.
1161         (lib_org_ietf_jgss_la_LIBADD): Likewise.
1162         * Makefile.in: Regenerated.
1164 2004-09-22  Andreas Tobler  <a.tobler@schweiz.ch>
1166         * configure.ac: Introduce AC_C_BIGENDIAN_CROSS for WORDS_BIGENDIAN.
1167         * configure: Regenerate.
1168         * include/config.h.in: Likewise.
1169         * jni/gtk-peer/gtkpeer.h (SWAPU32): Introduce macro to swap pixels.
1170         * jni/gtk-peer/gnu_java_awt_peer_gtk_GtkImagePainter.c: Moved SWAPU32
1171         macro to gtkpeer.h.
1172         * jni/gtk-peer/gnu_java_awt_peer_gtk_GdkGraphics2D.c
1173         (Java_gnu_java_awt_peer_gtk_GdkGraphics2D_getImagePixels): Convert
1174         pixels from  0xBBGGRRAA to 0xAARRGGBB only on Little Endian
1175         architectures.
1176         * jni/gtk-peer/gnu_java_awt_peer_gtk_GdkPixbufDecoder.c (area_updated):
1177         Likewise.
1179 2004-09-22  Tom Tromey  <tromey@redhat.com>
1181         PR libgcj/14446:
1182         * java/util/zip/GZIPInputStream.java (read): Avoid sign extension
1183         when comparing CRCs.
1184         * java/util/zip/InflaterInputStream.java (onebytebuffer): New
1185         field.
1186         (read()): New overload.
1188 2004-09-21  Tom Tromey  <tromey@redhat.com>
1190         * java/lang/reflect/natMethod.cc (_Jv_CallAnyMethodA):
1191         Indentation fix.
1193 2004-09-21  Michael Koch  <konqueror@gmx.de>
1195         * java/net/Socket.java
1196         (getLocalAddress): Return InetAddress.ANY_IF if not bound yet.
1198 2004-09-21  Casey Marshall  <csm@gnu.org>
1200         * javax/crypto/MacSpi.java (clone): Provide meaningful
1201         implementation.
1203 2004-09-21  Tom Tromey  <tromey@redhat.com>
1205         PR libgcj/16869:
1206         * Makefile.in: Rebuilt.
1207         * Makefile.am (MOSTLYCLEANFILES): Removed.
1208         (mostlyclean-local): Remove header files.
1210 2004-09-21  Casey Marshall  <csm@gnu.org>
1212         * java/security/cert/X509CRLSelector.java:
1213         (match): remove unreachable try-catch clauses.
1214         Reported by: Dalibor Topic <robilad@kaffe.org>
1216 2004-09-21  Mark Wielaard  <mark@klomp.org>
1218         * java/util/TreeMap.java (root): Don't initialize.
1219         (TreeMap(Comparator)): Call fabricateTree(0).
1220         (fabricateTree): Initialize root and size when count is 0.
1222 2004-09-21  Sven de Marothy <sven@physto.se>
1224         * java/nio/ByteBuffer.java (hashCode): Implemented.
1225         * java/nio/CharBuffer.java: Likewise.
1226         * java/nio/DoubleBuffer.java: Likewise.
1227         * java/nio/FloatBuffer.java: Likewise.
1228         * java/nio/LongBuffer.java: Likewise.
1229         * java/nio/IntBuffer.java: Likewise.
1230         * java/nio/ShortBuffer.java: Likewise.
1232 2004-09-21  Andreas Tobler  <a.tobler@schweiz.ch>
1234         * javax/security/auth/x500/X500Principal.java: Fix some merge glitches.
1236 2004-09-21  Michael Koch  <konqueror@gmx.de>
1238         * javax/net/ssl/SSLServerSocket.java:
1239         Removed comment about "Do not edit this file, it's generated.".
1241 2004-09-21  Andreas Tobler  <a.tobler@schweiz.ch>
1243         Import the big Crypto/Jessie/Security merge from Classpath.
1245         * Makefile.am: Add imported files.
1246         * Makefile.in: Regenerate.
1248         2004-08-14  Casey Marshall <csm@gnu.org>
1250         The Big Crypto Merge of 2004.
1252         * javax/security/auth/x500/X500Principal.java: Replaced with GNU
1253         Crypto's version.
1255         Files imported from GNU Crypto.
1256         * javax/crypto/BadPaddingException.java
1257         * javax/crypto/Cipher.java
1258         * javax/crypto/CipherInputStream.java
1259         * javax/crypto/CipherOutputStream.java
1260         * javax/crypto/CipherSpi.java
1261         * javax/crypto/EncryptedPrivateKeyInfo.java
1262         * javax/crypto/ExemptionMechanism.java
1263         * javax/crypto/ExemptionMechanismException.java
1264         * javax/crypto/ExemptionMechanismSpi.java
1265         * javax/crypto/IllegalBlockSizeException.java
1266         * javax/crypto/KeyAgreement.java
1267         * javax/crypto/KeyAgreementSpi.java
1268         * javax/crypto/KeyGenerator.java
1269         * javax/crypto/KeyGeneratorSpi.java
1270         * javax/crypto/Mac.java
1271         * javax/crypto/MacSpi.java
1272         * javax/crypto/Makefile.am
1273         * javax/crypto/NoSuchPaddingException.java
1274         * javax/crypto/NullCipher.java
1275         * javax/crypto/NullCipherImpl.java
1276         * javax/crypto/SealedObject.java
1277         * javax/crypto/SecretKey.java
1278         * javax/crypto/SecretKeyFactory.java
1279         * javax/crypto/SecretKeyFactorySpi.java
1280         * javax/crypto/ShortBufferException.java
1281         * javax/crypto/interfaces/DHKey.java
1282         * javax/crypto/interfaces/DHPrivateKey.java
1283         * javax/crypto/interfaces/DHPublicKey.java
1284         * javax/crypto/interfaces/PBEKey.java
1285         * javax/crypto/spec/DESKeySpec.java
1286         * javax/crypto/spec/DESedeKeySpec.java
1287         * javax/crypto/spec/DHGenParameterSpec.java
1288         * javax/crypto/spec/DHParameterSpec.java
1289         * javax/crypto/spec/DHPrivateKeySpec.java
1290         * javax/crypto/spec/DHPublicKeySpec.java
1291         * javax/crypto/spec/IvParameterSpec.java
1292         * javax/crypto/spec/PBEKeySpec.java
1293         * javax/crypto/spec/PBEParameterSpec.java
1294         * javax/crypto/spec/RC2ParameterSpec.java
1295         * javax/crypto/spec/RC5ParameterSpec.java
1296         * javax/crypto/spec/SecretKeySpec.java
1297         * javax/security/auth/AuthPermission.java
1298         * javax/security/auth/DestroyFailedException.java
1299         * javax/security/auth/Destroyable.java
1300         * javax/security/auth/Policy.java
1301         * javax/security/auth/PrivateCredentialPermission.java
1302         * javax/security/auth/RefreshFailedException.java
1303         * javax/security/auth/Refreshable.java
1304         * javax/security/auth/Subject.java
1305         * javax/security/auth/SubjectDomainCombiner.java
1306         * javax/security/auth/callback/Callback.java
1307         * javax/security/auth/callback/CallbackHandler.java
1308         * javax/security/auth/callback/ChoiceCallback.java
1309         * javax/security/auth/callback/ConfirmationCallback.java
1310         * javax/security/auth/callback/LanguageCallback.java
1311         * javax/security/auth/callback/NameCallback.java
1312         * javax/security/auth/callback/PasswordCallback.java
1313         * javax/security/auth/callback/TextInputCallback.java
1314         * javax/security/auth/callback/TextOutputCallback.java
1315         * javax/security/auth/callback/UnsupportedCallbackException.java
1316         * javax/security/auth/login/AccountExpiredException.java
1317         * javax/security/auth/login/AppConfigurationEntry.java
1318         * javax/security/auth/login/Configuration.java
1319         * javax/security/auth/login/CredentialExpiredException.java
1320         * javax/security/auth/login/FailedLoginException.java
1321         * javax/security/auth/login/LoginContext.java
1322         * javax/security/auth/login/LoginException.java
1323         * javax/security/auth/login/NullConfiguration.java
1324         * javax/security/auth/x500/X500PrivateCredential.java
1325         * javax/security/sasl/AuthenticationException.java
1326         * javax/security/sasl/AuthorizeCallback.java
1327         * javax/security/sasl/RealmCallback.java
1328         * javax/security/sasl/RealmChoiceCallback.java
1329         * javax/security/sasl/Sasl.java
1330         * javax/security/sasl/SaslClient.java
1331         * javax/security/sasl/SaslClientFactory.java
1332         * javax/security/sasl/SaslException.java
1333         * javax/security/sasl/SaslServer.java
1334         * javax/security/sasl/SaslServerFactory.java
1335         * org/ietf/jgss/ChannelBinding.java
1336         * org/ietf/jgss/GSSContext.java
1337         * org/ietf/jgss/GSSCredential.java
1338         * org/ietf/jgss/GSSException.java
1339         * org/ietf/jgss/GSSManager.java
1340         * org/ietf/jgss/GSSName.java
1341         * org/ietf/jgss/MessageProp.java
1342         * org/ietf/jgss/Oid.java
1343         * org/ietf/jgss/MessagesBundle.properties
1345         Files imported from Jessie <http://www.nongnu.org/jessie/>
1346         * javax/net/ServerSocketFactory.java
1347         * javax/net/SocketFactory.java
1348         * javax/net/VanillaServerSocketFactory.java
1349         * javax/net/VanillaSocketFactory.java
1350         * javax/net/ssl/HandshakeCompletedEvent.java
1351         * javax/net/ssl/HandshakeCompletedListener.java
1352         * javax/net/ssl/HostnameVerifier.java
1353         * javax/net/ssl/HttpsURLConnection.java
1354         * javax/net/ssl/KeyManager.java
1355         * javax/net/ssl/KeyManagerFactory.java
1356         * javax/net/ssl/KeyManagerFactorySpi.java
1357         * javax/net/ssl/ManagerFactoryParameters.java
1358         * javax/net/ssl/SSLContext.java
1359         * javax/net/ssl/SSLContextSpi.java
1360         * javax/net/ssl/SSLException.java
1361         * javax/net/ssl/SSLHandshakeException.java
1362         * javax/net/ssl/SSLKeyException.java
1363         * javax/net/ssl/SSLPeerUnverifiedException.java
1364         * javax/net/ssl/SSLPermission.java
1365         * javax/net/ssl/SSLProtocolException.java
1366         * javax/net/ssl/SSLServerSocket.java
1367         * javax/net/ssl/SSLServerSocketFactory.java
1368         * javax/net/ssl/SSLSession.java
1369         * javax/net/ssl/SSLSessionBindingEvent.java
1370         * javax/net/ssl/SSLSessionBindingListener.java
1371         * javax/net/ssl/SSLSessionContext.java
1372         * javax/net/ssl/SSLSocket.java
1373         * javax/net/ssl/SSLSocketFactory.java
1374         * javax/net/ssl/TrivialHostnameVerifier.java
1375         * javax/net/ssl/TrustManager.java
1376         * javax/net/ssl/TrustManagerFactory.java
1377         * javax/net/ssl/TrustManagerFactorySpi.java
1378         * javax/net/ssl/X509KeyManager.java
1379         * javax/net/ssl/X509TrustManager.java
1380         * javax/security/cert/Certificate.java
1381         * javax/security/cert/CertificateEncodingException.java
1382         * javax/security/cert/CertificateException.java
1383         * javax/security/cert/CertificateExpiredException.java
1384         * javax/security/cert/CertificateNotYetValidException.java
1385         * javax/security/cert/CertificateParsingException.java
1386         * javax/security/cert/X509CertBridge.java
1387         * javax/security/cert/X509Certificate.java
1389         2004-08-20  Casey Marshall  <csm@gnu.org>
1391         * java/security/cert/X509CRLSelector.java: New file.
1392         * java/security/cert/X509CertSelector.java: New file.
1394 2004-09-15  Michael Koch  <konqueror@gmx.de>
1396         * gnu/java/net/protocol/file/Handler.java
1397         (openConnection): Don't throw exception if host part for file: URI is
1398         present. setURL() keeps file: protocol if ftp: protocol is not
1399         available.
1401 2004-09-14  Richard Henderson  <rth@redhat.com>
1403         * java/lang/natPosixProcess.cc (waitForSignal): Ignore return
1404         value of sigsuspend.
1406 2004-09-12  Tom Tromey  <tromey@redhat.com>
1408         * javax/naming/CompoundName.java (CompoundName): Don't check for
1409         separator in "flat" case.
1411 2004-09-12  Michael Koch  <konqueror@gmx.de>
1413         * libltdl/configure.ac: Fixed AM_INIT_AUTOMAKE usage and replaces
1414         AM_CONFIG_HEADER by AC_CONFIG_FILES.
1415         * libltdl/Makefile.in, libltdl/aclocal.m4, libltdl/configure:
1416         Regenerate.
1418 2004-09-11  Mohan Embar  <gnustuff@thisiscool.com>
1420         PR libgcj/14751
1421         * win32-threads.cc (_Jv_ThreadInitData): Zero out thread
1422         handle in newly-allocated _Jv_Thread_t.
1423         (_Jv_ThreadDestroyData): Close thread handle.
1424         (_Jv_ThreadStart): Remove obsolete comment.
1425         Store handle of newly-created thread in _Jv_Thread_t.
1426         * include/win32-threads.h: #define WIN32_LEAN_AND_MEAN
1427         before including <windows.h>
1428         #define _Jv_HaveCondDestroy
1430 2004-09-11  Mohan Embar  <gnustuff@thisiscool.com>
1432         * java/lang/natThread.cc (finalize_native): Destroy
1433         join conditional variable and mutex if these destroy
1434         operations are supported.
1436 2004-09-10  Dalibor Topic <robilad@kaffe.org>
1438         * gnu/java/net/protocol/file/Connection.java (permission): New field.
1439         (DEFAULT_PERMISSION): New constant.
1440         (Connection): Create a FilePermission with permission to read file.
1442 2004-09-10  Michael Koch  <konqueror@gmx.de>
1444         * gnu/java/net/protocol/file/Connection.java
1445         (getLastModified): Moved around.
1446         (getPermission): Return stored permission.
1448 2004-09-10  Michael Koch  <konqueror@gmx.de>
1450         * Makefile.in: Regenerate.
1452 2004-09-10  Michael Koch  <konqueror@gmx.de>
1454         * Makefile.am: Reverted accidently commited stuff.
1455         * configure: Regenerated.
1457 2004-09-10  Michael Koch  <konqueror@gmx.de>
1459         * gnu/java/net/protocol/file/Connection.java
1460         (lineSeparator): Made non-final.
1461         (static): Removed.
1462         (connect): Initialize lineSeparator lazily. Use ByteArrayInputStream
1463         instead of StringBufferInputStream.
1465 2004-09-10  Michael Koch  <konqueror@gmx.de>
1467         * gnu/java/net/protocol/file/Connection.java
1468         (connect): Handle file is a directory case.
1470 2004-09-10  Michael Koch  <konqueror@gmx.de>
1472         * Makefile.am
1473         (xlib_includes): Removed.
1474         (AM_CPPFLAGS): Renamed from INCLUDES.
1475         (lib_gnu_awt_xlib_la_CPPFLAGS): New automake variable.
1476         * Makefile.in: Regenerate.
1478 2004-09-09  Michael Koch  <konqueror@gmx.de>
1480         * java/security/ProtectionDomain.java,
1481         * java/util/PropertyPermissionCollection.java:
1482         Fixed javadocs all over.
1484 2004-09-09  Sven de Marothy  <sven@physto.se>
1486         Patch from David Gilbert <david.gilbert@object-refinery.com>
1487         * java/lang/Comparable.java: Fixed documentation errors.
1488         * java/util/Arrays.java: Likewise.
1490 2004-09-09  Andrew John Hughes  <gnu_andrew@member.fsf.org>
1492         * java/net/Inet4Address.java
1493         (Inet4Address): Added comment to serialization UID.
1494         * java/text/Format.java
1495         (Format): Added comment to serialization UID.
1497 2004-09-09  Michael Koch  <konqueror@gmx.de>
1499         * java/lang/System.java
1500         (err): Fixed javadoci to point to setErr() and not setOut().
1502 2004-09-09  Jeroen Frijters  <jeroen@frijters.net>
1504         (normalizePath): Added special case for windows systems.
1506 2004-09-09  Michael Koch  <konqueror@gmx.de>
1508         * java/io/File.java
1509         (dupSeparator): Made private.
1510         (File(URI)): New constructor.
1511         (getParentFile): Fixed javadoc.
1512         (createTempFile): Reformated.
1513         (setReadOnly): Added comment.
1514         (deleteOnExit): Merged javadoc with classpath version.
1516 2004-09-09  Michael Koch  <konqueror@gmx.de>
1518         * Makefile.am: Don't try to include deps.mk.
1519         * Makefile.in: Regenerated.
1521 2004-09-08  Bryce McKinlay  <mckinlay@redhat.com>
1523         * configure.ac (AC_CONFIG_COMMANDS): Don't create subdirectories and
1524         .d files.
1525         * configure: Rebuilt.
1527 2004-09-04  Mohan Embar  <gnustuff@thisiscool.com>
1529         * java/net/natNetworkInterfaceWin32.cc (getRealNetworkInterfaces):
1530         Changed pfn from static local to local.
1532 2004-09-03  Bryce McKinlay  <mckinlay@redhat.com>
1533             H.J. Lu  <hongjiu.lu@intel.com>
1535         PR libgcj/17290
1536         * Makefile.am (GCJCOMPILE): Remove definition.
1537         (AM_CFLAGS): Add -fclasspath and -fbootclasspath flags.
1538         Use LTGCJCOMPILE, not GCJCOMPILE, to build .lo targets.
1539         * Makefile.in: Rebuilt.
1541 2004-09-03  Kelley Cook  <kcook@gcc.gnu.org>
1543         * configure.ac (enable-gc-debug): Update help for new syntax.
1544         * configure: Regenerate.
1546 2004-09-03  David Daney  <ddaney@avtrex.com>
1548         * include/mips-signal.h: Update copyright.
1550 2004-09-03  David Daney  <ddaney@avtrex.com>
1552         * configure.host: Use -fno-use-divide-subroutine for mips*-*-linux*.
1553         * include/mips-signal.h: Added HANDLE_FPE support.
1554         
1555 2004-08-31  Michael Koch  <konqueror@gmx.de>
1557         * javax/swing/plaf/basic/BasicTextAreaUI.java
1558         (create): New method.
1559         * javax/swing/text/DefaultHighlighter.java
1560         (DefaultHighlightPainter.debugRect): Removed.
1561         * javax/swing/text/StyleContext.java
1562         (DEFAULT_STYLE): New field.
1564 2004-08-31  Michael Koch  <konqueror@gmx.de>
1566         * javax/swing/plaf/basic/BasicLookAndFeel.java
1567         (initComponentDefaults): Add keybindings for selection.backward and
1568         selection-forward for text components.
1569         * javax/swing/plaf/basic/BasicTextUI.java
1570         (paintSafely): Paint highlight only when something is actually
1571         selected.
1572         * javax/swing/text/DefaultCaret.java
1573         (handleHighlight): New method.
1574         (setSelectionVisible): Don't do anything when nothing changes.
1575         Handle highlight.
1576         (moveDot): Reimplemented. Handle highlight.
1577         (setDot): Set mark too. Handle highlight.
1578         (getSelectionPainter): New method.
1579         * javax/swing/text/DefaultEditorKit.java
1580         (defaultActions): Added new actions for text selection.
1581         * javax/swing/text/DefaultHighlighter.java
1582         (DefaultHighlightPainter): New inner class.
1583         (DefaultPainter): New field.
1584         (paint): Implemented.
1585         * javax/swing/text/PlainView.java
1586         (paint): Don't draw background here again.
1587         * javax/swing/text/Utilities.java
1588         (getTabbedTextWidth): Use width of ' ' instead of 'm' for tabsize.
1589         (drawTabbedText): Likewise.
1591 2004-08-31  Graydon Hoare  <graydon@redhat.com>
1593         * javax/swing/JComponent.java
1594         (resetKeyboardActions): Add null checks.
1596 2004-08-31  Graydon Hoare  <graydon@redhat.com>
1598         * javax/swing/DefaultButtonModel.java:
1599         Skip group notification when no group is set.
1601 2004-08-31  Graydon Hoare  <graydon@redhat.com>
1603         * javax/swing/JColorChooser.java: 
1604         Make a couple inner classes static, for jikes.
1606 2004-08-31  Michael Koch  <konqueror@gmx.de>
1608         * javax/swing/plaf/basic/BasicTextUI.java
1609         (RottView.modelToView): New method.
1610         (UpdateHandler): Renamed from EventHandler.
1611         (updateHandler): Renamed from eventHandler.
1612         (modelToView): Implemented.
1613         * javax/swing/text/AbstractDocument.java
1614         (BranchElement.getElement): Return null for non-existing indeces.
1615         (BranchElement.getElementIndex): Return 0 in some corner cases.
1616         * javax/swing/text/FieldView.java
1617         (modelToView): New method.
1618         * javax/swing/text/PlainView.java
1619         (modelToView): Made public.
1621 2004-08-31  Kim Ho  <kho@redhat.com>
1623         * Makefile.am: New files.
1624         * Makefile.in: Regenerate.
1625         * gcj/Makefile.in: Regenerate.
1626         * include/Makefile.in: Regenerate.
1627         * java/awt/Color.java: Fix documentation.
1628         (RGBtoHSB): Use floats for conversions.
1629         * javax/swing/ButtonGroup.java: Run Jalopy.
1630         (setSelected): Reimplement.
1631         * javax/swing/DefaultButtonModel.java: Run Jalopy.
1632         (changeState): Let ButtonGroup know that the button 
1633         is changing state.
1634         * javax/swing/JColorChooser.java: Implement.
1635         * javax/swing/JLabel.java: Run Jalopy.
1636         * javax/swing/JSpinner.java: Run Jalopy.
1637         (setValue): New method.
1638         * javax/swing/JTabbedPane.java: Run Jalopy.
1639         (removeTabAt): Call correct remove method.
1640         * javax/swing/SpinnerNumberModel.java: Run Jalopy.
1641         (getPreviousValue): Compare minimum value.
1642         * javax/swing/Timer.java: Run Jalopy.
1643         (run): Comment out println.
1644         * javax/swing/ToolTipManager.java:
1645         (mouseMoved): Get new tooltip text for location.
1646         * javax/swing/colorchooser/AbstractColorChooserPanel.java:
1647         Jalopy and Javadoc.
1648         * javax/swing/colorchooser/ColorChooserComponentFactory.java:
1649         Implement.
1650         * javax/swing/colorchooser/DefaultColorSelectionModel.java:
1651         Run Jalopy.
1652         (setSelectedColor): Fire ChangeEvent.
1653         * javax/swing/colorchooser/DefaultHSBChooserPanel.java:
1654         New file. Implement.
1655         * javax/swing/colorchooser/DefaultPreviewPanel.java:
1656         Ditto.
1657         * javax/swing/colorchooser/DefaultRGBChooserPanel.java:
1658         Ditto.
1659         * javax/swing/colorchooser/DefaultSwatchChooserPanel.java:
1660         Ditto.
1661         * javax/swing/plaf/basic/BasicArrowButton.java:
1662         (getArrow): Fix size of upward pointing button.
1663         * javax/swing/plaf/basic/BasicColorChooserUI.java:
1664         Implement.
1665         * javax/swing/plaf/basic/BasicSliderUI.java:
1666         (getWidthOfWidestLabel): Use preferred dimensions.
1667         (getHeightOfTallestLabel): Ditto.
1668         * javax/swing/plaf/basic/BasicSpinnerUI.java:
1669         Run Jalopy.
1670         (mousePressed): Disable changes to spinner if it is not enabled.
1671         * testsuite/Makefile.in: Regenerate.
1674 2004-08-31  Michael Koch  <konqueror@gmx.de>
1676         * javax/swing/plaf/basic/BasicTableHeaderUI.java,
1677         javax/swing/plaf/basic/BasicTableUI.java:
1678         Added copyright notice.
1680 2004-08-31  Olga Rodimina  <rodimina@redhat.com>
1682         * Makefile.am: Added new files.
1683         * Makefile.in: Regenerate.
1684         * javax/swing/ComboBoxEditor.java: Added javadocs.
1685         * javax/swing/ComboBoxModel.java: Likewise.
1686         * javax/swing/DefaultComboBoxModel.java: Implemented.
1687         * javax/swing/DefaultListCellRenderer.java: Added javadocs
1688         and ran through jalopy to fix formatting style.
1689         (getListCellRendererComponent): Use appropriate border
1690         if renderer has focus and use noFocusBorder when it doesn't.
1691         * javax/swing/JComboBox.java: Implemented.
1692         * javax/swing/JList.java:
1693         (locationToIndex): New Method. Implemented.
1694         (indexToLocation): New Method.
1695         * javax/swing/JPopupMenu.java: 
1696         (visible): New field.
1697         (isVisible): Changed to use new field above.
1698         (setVisible): Likewise.
1699         * javax/swing/MutableComboBoxModel.java: Added javadocs.
1700         * javax/swing/plaf/basic/BasicArrowButton.java: 
1701         (shadow): Changed default color to Color.gray.
1702         * javax/swing/plaf/basic/BasicComboBoxUI.java: New File.
1703         UI delegate for JComboBox.
1704         * javax/swing/plaf/basic/BasicComboPopup.java: New File.
1705         Popup menu containing list of JComboBox's items.
1706         * javax/swing/plaf/basic/BasicComboBoxEditor.java: New File.
1707         * javax/swing/plaf/basic/BasicComboBoxRenderer.java: New File.
1708         * javax/swing/plaf/basic/BasicComboBoxUI.java: New File.
1709         * javax/swing/plaf/basic/BasicComboPopup.java: New File.
1710         * javax/swing/plaf/basic/BasicPopupMenuUI.java:
1711         (popupMenuWillBecomeVisible): Set selected path to the first
1712         element only if it is of type MenuElement. Also fix formatting
1713         style.
1714         * javax/swing/plaf/basic/ComboPopup.java: Added javadocs and missing
1715         methods signatures.
1716         
1717 2004-08-31  Michael Koch  <konqueror@gmx.de>
1719         * javax/swing/text/AbstractDocument.java
1720         (createBranchElement): Use new constructor of BranchElement.
1721         (createLeafElement): Renamed arguments.
1722         (getRootElements): Implemented.
1723         (BranchElement.start): Removed.
1724         (BranchElement.end): Likewise.
1725         (BranchElement.BranchElement): Fixed arguments.
1726         (BranchElement.getEndOffset): Reimplemented.
1727         (BranchElement.getStartOffset): Likewis.
1728         * javax/swing/text/DefaultCaret.java
1729         (paint): Draw simple vertical line as caret instead of a rectangle.
1730         * javax/swing/text/JTextComponent.java
1731         (setText): Use doc directly.
1732         * javax/swing/text/PlainView.java
1733         (nextTabStop): Implemented.
1734         * javax/swing/text/Utilities.java
1735         (drawTabbedText): nextTabStop() returns an absolute x position.
1736         (getTabbedTextWidth): Likewise.
1738 2004-08-31  Graydon Hoare  <graydon@redhat.com>
1740         * java/awt/Component.java 
1741         (isFocusTraversable): Predicate on isLightweight()
1742         (setFocusable): Set isFocusTraversableOverridden.
1743         (requestFocus): Predicate peer dispatch on !isLightweight()
1744         (requestFocusInWindow): Likewise.
1745         (dispatchEventImpl): Coordinate with KeyboardFocusManager.
1746         * java/awt/Container.java
1747         (dispatchEventImpl): Predicate on event mask.
1748         (LightweightDispatcher): Remove focus machinery.
1749         * java/awt/DefaultFocusTraversalPolicy.java
1750         (accept): Expand predicate to include isFocusable(). 
1751         * java/awt/DefaultKeyboardFocusManager.java:
1752         Globally change c.dispatchEvent(e) to redispatchEvent(c,e)
1753         * java/awt/KeyboardFocusManager.java
1754         (redispatchEvent): Synchronize on event to prevent feedback.
1755         * javax/swing/AbstractButton.java
1756         (ButtonFocusListener): Remove class.
1757         (init): Set focusPainted, focusable.
1758         * javax/swing/ActionMap.java (get): Check parent for null. 
1759         * javax/swing/InputMap.java (get): Likewise. 
1760         * javax/swing/JComponent.java
1761         (inputMap_whenFocused): New InputMap.
1762         (inputMap_whenAncestorOfFocused): Likewise.
1763         (inputMap_whenInFocusedWindow): Likewise.
1764         (getActionForKeyStroke): Rewrite.
1765         (getConditionForKeystroke): Likewise.
1766         (ActionListenerProxy): New private class.
1767         (setInputMap): Implement.
1768         (getInputMap): Likewise.
1769         (setActionMap): Likewise.
1770         (getActionMap): Likewise.
1771         (processComponentKeyEvent): New empty method.
1772         (processKeyEvent): Implement.
1773         (processKeyBinding): Likewise.
1774         (resetKeyboardActions): Rewrite.
1775         * javax/swing/KeyStroke.java: Rewrite.
1776         * javax/swing/SwingUtilities.java
1777         (notifyAction): Implement.
1778         (replaceUIActionMap): Likewise.
1779         (replaceUIInputMap): Likewise.
1780         * javax/swing/plaf/basic/BasicButtonListener.java
1781         (focusGained): Implement.
1782         (focusLost): Repaint if focusPainted().
1783         (installKeyboardActions): Install pressed / released actions.
1784         (uninstallKeyboardActions): Implement.
1785         * javax/swing/plaf/basic/BasicButtonUI.java
1786         (focusColor): New field.
1787         (installDefaults): Load focus color, install input map.
1788         (installKeyboardActions): Implement.
1789         (uninstallKeyboardActions): Likewise.
1790         (paintFocus): Rewrite.
1791         * javax/swing/plaf/basic/BasicLookAndFeel.java
1792         (Button.focus): New default, midPurple. 
1793         * javax/swing/plaf/basic/BasicTextUI.java
1794         (kit): Make static.
1795         (installUI): Get doc from kit, load defaults.
1796         (getKeymapName): Implement.
1797         (createKeymap): Likewise.
1798         (installKeyboardActions): Likewise.
1799         (getInputMap): Likewise.
1800         (getActionMap): Likewise.
1801         (createActionMap): Likewise.
1802         * javax/swing/text/AbstractDocument.java
1803         (getStartPosition): Implement.
1804         (getEndPosition): Likewise.
1805         * javax/swing/text/DefaultEditorKit.java
1806         (CopyAction): New class.
1807         (CutAction): Likewise.
1808         (DefaultKeyTypedAction): Likewise.
1809         (InsertBreakAction): Likewise.
1810         (InsertContentAction): Likewise.
1811         (InsertTabAction): Likewise.
1812         (PasteAction): Likewise.
1813         (defaultActions): New static table.
1814         (createCaret): Implement.
1815         (getActions): Likewise.
1816         * javax/swing/text/JTextComponent.java
1817         (KeymapWrapper): New private class.
1818         (KeymapActionMap): Likewise.
1819         (DefaultKeymap): New class.
1820         (keymaps): New static table.
1821         (keymap): New field.
1822         (getKeymap): Implement.
1823         (removeKeymap): Likewise.
1824         (addKeymap): Likewise.
1825         (setKeymap): Likewise.
1826         (loadKeymap): Likewise.
1827         (getActions): Likewise.
1828         (margin): New field.
1829         (JTextComponent): Build and install default keymap.
1830         * javax/swing/text/TextAction.java
1831         (textAction): Call super properly.
1832         (getTextComponent): Implement.
1833         * javax/swing/text/Utilities.java
1834         (drawTabbedText): Adjust position by ascent.
1836 2004-08-31  David Jee  <djee@redhat.com>
1838         PR AWT/17156
1840         * gnu/java/awt/peer/gtk/GtkMenuItemPeer.java
1841         (setEnabled): Make it a native method.
1842         * java/awt/DefaultKeyboardFocusManager.java
1843         (postProcessKeyEvent): Only post event if the menu item
1844         is active.
1845         * java/awt/MenuItem.java:
1846         Private field 'enabled' should be true by default.
1847         * jni/gtk-peer/gnu_java_awt_peer_gtk_GtkMenuItemPeer.c
1848         (setEnabled): New function.
1850 2004-08-31  David Jee  <djee@redhat.com>
1852         PR AWT/17059
1854         * gnu/java/awt/peer/gtk/GtkMenuBarPeer.java
1855         (nativeSetHelpMenu): New native method declaration.
1856         (addHelpMenu): Call nativeSetHelpMenu().
1857         (addMenu): Remove.
1858         * java/awt/MenuBar.java
1859         (setHelpMenu): Call addNotify() on the new help menu.
1860         (add): Call addNotify() on the new menu.
1861         (addNotify): Set the help menu if one exists.
1862         * java/awt/peer/MenuBarPeer.java
1863         (addMenu): Remove.
1864         * jni/gtk-peer/gnu_java_awt_peer_gtk_GtkMenuBarPeer.c
1865         (nativeSetHelpMenu): New method.
1867 2004-08-31  Graydon Hoare  <graydon@redhat.com>
1869         * Makefile.am: Add new files.
1870         * Makefile.in: Regenerate.
1871         * javax/swing/Box.java: Fix setting of layout in ctor.
1872         * javax/swing/JScrollPane.java: Scroll headers as well.
1873         * javax/swing/JTable.java: Reimplement.
1874         * javax/swing/JViewPort.java: Only add non-null children.
1875         * javax/swing/ScrollPaneLayout.java: Correct header calculations.
1876         * javax/swing/Timer.java: Fix stopping null waker.
1877         * javax/swing/plaf/basic/BasicTableHeaderUI.java: New file.
1878         * javax/swing/plaf/basic/BasicTableUI.java: New file.
1879         * javax/swing/table/DefaultTableCellRenderer.java: Configure.
1880         * javax/swing/table/DefaultTableColumnModel.java: Flesh out.
1881         * javax/swing/table/DefaultTableModel.java: Clean up.
1882         * javax/swing/table/JTableHeader.java: Implement.
1884 2004-08-31  Mark Wielaard  <mark@klomp.org>
1886         * javax/swing/JSpinner.java (getChangeListeners): Remove double
1887         semi-colon.
1889 2004-08-31  Mark Wielaard  <mark@klomp.org>
1891         * jni/gtk-peer/gnu_java_awt_peer_gtk_GdkClasspathFontPeerMetrics.c:
1892         Declare variables at top of functions/block.
1893         * jni/gtk-peer/gnu_java_awt_peer_gtk_GdkGraphics2D.c: Likewise.
1895 2004-08-31  Mark Wielaard  <mark@klomp.org>
1897         * java/lang/Rectangle.java (intersects): Check r.width and r.height
1898         first.
1900 2004-08-31  Michael Koch  <konqueror@gmx.de>
1902         * javax/swing/text/PlainView.java
1903         (selectedColor): New field.
1904         (unselectedColor): Likewise.
1905         (font): Likewise.
1906         (updateMetrics): New method.
1907         (lineToRect): Likewise.
1908         (modelToView): Likewise.
1909         (drawSelectedText): Use color from JTextComponent ad draw with
1910         Utilities class.
1911         (drawUnselectedText): Likewise.
1912         (paint): Initialize helper fields.
1913         * javax/swing/text/View.java
1914         (getChildAllocation): New method.
1915         (getViewIndex): Likewise.
1916         (getToolTipText): Likewise.
1918 2004-08-31  Michael Koch  <konqueror@gmx.de>
1920         * javax/swing/text/Utilities.java
1921         (drawTabbedText): Reimplemented.
1922         (getTabbedTextWidth): Likewise.
1924 2004-08-31  Michael Koch  <konqueror@gmx.de>
1926         * javax/swing/plaf/basic/BasicTextUI.java
1927         (installDefaults): Install caret and highlighter.
1928         (modelToView): Use Bias.Forward when calling sibling.
1929         * javax/swing/text/AbstractDocument.java
1930         (ElementEdit): Implements DocumentEvent.ElementChange.
1931         (ElementEdit.ElementEdit): New method.
1932         (ElementEdit.getChildrenAdded): Likewise.
1933         (ElementEdit.getChildrenRemoved): Likewise.
1934         (ElementEdit.getElement): Likewise.
1935         (ElementEdit.getIndex): Likewise.
1936         * javax/swing/text/DefaultCaret.java
1937         (color): Removed.
1938         (textComponent): Renamed from parent, made private.
1939         (selectionVisible): Renamed from vis_sel, made private.
1940         (blinkRate): Renamed from blink, made private.
1941         (magicCaretPosition): Renamed from magic, made private.
1942         (visible): Renamed from vis, made private.
1943         (dot): Made private.
1944         (mark): Likewise.
1945         (deinstall): Remove as MouseMotionListener.
1946         (install): Initialize textComponent first. Add as MouseMotionListener.
1947         (paint): Reimplemented.
1948         * javax/swing/text/JTextComponent.java
1949         (setCaret): Deinstall old caret, install new one and fire property
1950         change after setting property.
1951         (setHighlighter): Deinstall old highlighter, install new one and fire
1952         property change after setting property.
1953         (setCaretColor): Fire property change after setting property.
1954         (setDisabledTextColor): Likewise.
1955         (setSelectedTextColor): Likewise.
1956         (setSelectionColor): Likewise.
1957         (modelToView): New method.
1959 2004-08-31  Michael Koch  <konqueror@gmx.de>
1961         * javax/swing/text/AbstractDocument.java
1962         (getText): Simplified.
1963         * javax/swing/text/Segment.java
1964         (current): New field.
1965         (current): Reimplemented.
1966         (first): Likewise.
1967         (getIndex): Likewise.
1968         (last): Likewise.
1969         (next): Likewise.
1970         (previous): Likewise.
1971         (setIndex): Likewise.
1973 2004-08-31  Michael Koch  <konqueror@gmx.de>
1975         * javax/swing/plaf/basic/BasicButtonUI.java
1976         (defaultTextIconGap): Made protected.
1977         (defaultTextShiftOffset): Likewise.
1978         (textShiftOffset): New field.
1979         (clearTextShiftOffset): New method.
1980         (getTextShiftOffset): Likewise.
1981         (setTextShiftOffset): Likewise.
1983 2004-08-31  Michael Koch  <konqueror@gmx.de>
1985         * javax/swing/plaf/basic/BasicTextUI.java
1986         (installUI): Add eventHandler as property listener.
1987         (uninstallUI): remove eventHandler as propert listener.
1988         (installDefaults): Added comment.
1989         (installListeners): Likewise.
1990         (installKeyboardActions): Likewise.
1991         (uninstallDefaults): Likewise.
1992         (uninstallListeners): Likewise.
1993         (uninstallKeyboardActions): Likewise.
1995 2004-08-31  Michael Koch  <konqueror@gmx.de>
1997         * javax/swing/text/AbstractDocument.java:
1998         Fixed some typos in comments.
1999         (insertString): Reimplemented.
2000         (remove): Likewise.
2001         (replace): New method.
2002         (children): Dont use fully qualified class name.
2003         (DefaultDocumentEvent.offset): Renamed from off.
2004         (DefaultDocumentEvent.length): Renamed from len.
2005         (DefaultDocumentEvent.type): New field.
2006         (DefaultDocumentEvent.DefaultDocumentEvent): New constructor.
2007         (DefaultDocumentEvent.getType): Implemented.
2009 2004-08-31  Michael Koch  <konqueror@gmx.de>
2011         * javax/swing/plaf/basic/BasicTextUI.java
2012         (RootView.textComponent): Removed.
2013         (RootView.RootView): Don't initialize textComponent.
2014         (RootView.getViewFactory): New method.
2015         (EventHandler): New inner class.
2016         (rootView): Initialize at instance creation.
2017         (eventHandler): New field.
2018         (installUI): Don't create view hierarchy directly,
2019         call modelChanged() instead.
2020         (modelChanged): New method.
2021         * javax/swing/text/JTextComponent.java
2022         (setDocument): Fire property change event.
2024 2004-08-31  Michael Koch  <konqueror@gmx.de>
2026         * javax/swing/plaf/basic/BasicTextUI.java
2027         (RootView.paint): Removed debug output.
2028         (paintSafely): Draw highlighter before text.
2029         (paintBackground): Use background color of text component.
2030         * javax/swing/plaf/basic/BasicToggleButtonUI.java:
2031         Reformatted.
2033 2004-08-31  Michael Koch  <konqueror@gmx.de>
2035         * javax/swing/plaf/basic/BasicToolBarUI.java
2036         (BasicToolBarUI): Fixed arguments for constructor.
2037         (createUI): Fixed creation of object.
2039 2004-08-31  Michael Koch  <konqueror@gmx.de>
2041         * javax/swing/DefaultListSelectionModel.java
2042         (fireValueChanged): Renamed from fireSelectionValueChanged,
2043         made protected.
2045 2004-08-31  Michael Koch  <konqueror@gmx.de>
2047         * javax/swing/text/TabSet.java
2048         (TabSet): Implements java.io.Serializable.
2049         * javax/swing/text/TabStop.java
2050         (TabStop): Implements java.io.Serializable.
2051         (TabStop): Made public.
2053 2004-08-31  Michael Koch  <konqueror@gmx.de>
2055         * javax/swing/JComponent.java
2056         (setUI): Fire PropertyChange.
2057         * javax/swing/JLabel.java
2058         (text): Renamed from labelText.
2059         (horizontalAlignment): New default vlaue.
2060         (icon): Renamed from activeIcon.
2061         (displayedMnemonic): Renamed from mnemonicKey, added default value.
2062         (displayedMnemonicIndex): Renamed from underlineChar.
2063         (setDisplayedMnemonic): Reimplemented.
2064         * javax/swing/JRadioButton.java
2065         (JRadioButton): New constructors.
2066         * javax/swing/JTextField.java
2067         (JTextField): Throw exception if colums < 0, initialitialz
2068         this.columns directly and initialize document with text conditionally.
2070 2004-08-31  Michael Koch  <konqueror@gmx.de>
2072         * javax/swing/plaf/basic/BasicFormattedTextFieldUI.java,
2073         javax/swing/plaf/basic/BasicPasswordFieldUI.java,
2074         javax/swing/plaf/basic/BasicTextAreaUI.java: New files.
2075         * javax/swing/text/FieldView.java
2076         (paint): Just call super method for now.
2077         * Makefile.am: Added new files.
2078         * Makefile.in: Regenerated.
2080 2004-08-31  Ka-Hing Cheung  <kahing@javabsp.org>
2082         * javax/swing/AbstractSpinnerModel.java,
2083         javax/swing/JSpinner.java,
2084         javax/swing/SpinnerNumberModel.java,
2085         javax/swing/plaf/basic/BasicSpinnerUI.java:
2086         New files.
2087         * javax/swing/plaf/basic/BasicLookAndFeel.java
2088         (initClassDefaults): Added defaults for BasicSpinnerUI.
2090 2004-08-31  Michael Koch  <konqueror@gmx.de>
2092         * Makefile.am: Added new files.
2093         * Makefile.in: Regenerated.
2095 2004-08-31  Michael Koch  <konqueror@gmx.de>
2097         * javax/swing/TransferHandler.java,
2098         javax/swing/plaf/basic/ComboPopup.java: New files
2099         * Makefile.am: Added javax/swing/TransferHandler.java and
2100         javax/swing/plaf/basic/ComboPopup.java
2101         * Makefile.in: Regenerated.
2103 2004-08-31  Roman Kennke  <roman@ontographics.com>
2105         * javax/swing/text/Utilities.java: New file.
2107 2004-08-31  Michael Koch  <konqueror@gmx.de>
2109         * Makefile.am: Added javax/swing/text/Utilities.java.
2110         * Makefile.in: Regenerated.
2112 2004-08-31  Graydon Hoare  <graydon@redhat.com>
2114         * javax/swing/text/SimpleAttributeSet.java: New file.
2115         * javax/swing/text/StyleConstants.java: New file.
2116         * javax/swing/text/StyleContext.java: New file.
2117         * javax/swing/text/TabSet.java: New file.
2118         * javax/swing/text/TabStop.java: New file.
2119         * javax/swing/text/AbstactDocument.java:
2120         (AbstractElement): Implement attribute support.
2121         * javax/swing/text/AttributeSet.java
2122         (NameAttribute): New static field.
2123         (ResolveAttribute): New static field.
2124         * Makefile.am: Update for new files.
2125         * Makefile.in: Regenerate.
2127 2004-08-31  Craig Black  <craig.black@aonix.com>
2129         * gnu/java/awt/peer/gtk/GdkGraphics.java 
2130         (drawImage): Add support for scaling pixmaps.
2131         * jni/gtk-peer/gnu_java_awt_peer_gtk_GdkGraphics.c
2132         (copyAndScalePixmap): New native method.
2134 2004-08-31  Thomas Fitzsimmons  <fitzsim@redhat.com>
2136         PR AWT/16121
2137         * jni/gtk-peer/gthread-jni.c: Include stdio.h.  Eliminate
2138         type-punning compiler warnings using unions.
2139         (throw): Replace bzero with memset.
2141 2004-08-31  Andreas Tobler  <a.tobler@schweiz.ch>
2142             Thomas Fitzsimmons  <fitzsim@redhat.com>
2144         * jni/gtk-peer/gnu_java_awt_peer_gtk_GdkPixbufDecoder.c: Move
2145         NSA_PB macros to gtkpeer.h.  Include gtkpeer.h.
2146         * jni/gtk-peer/gtkpeer.h: Move NSA_PB macros here.
2147         * jni/gtk-peer/gnu_java_awt_peer_gtk_GtkWindowPeer.c
2148         (nativeSetIconImageFromDecoder): Use NSA_GET_PB_PTR macro.
2150 2004-08-31  Mark Wielaard  <mark@klomp.org>
2152         * native/jni/gtk-peer/gnu_java_awt_peer_gtk_GdkPixbufDecoder.c:
2153         #include gdk.h, not gtk.h. #include jni.h, native_state.h, string.h
2154         and stdlib.h, not gtkpeer.h.
2155         (*vm): New static variable.
2156         (areaPreparedID): Make static.
2157         (areaUpdatedID): Likewise.
2158         (area_prepared): Get and use JNIEnv through stored JavaVM *vm.
2159         (area_prepared): Likewise.
2160         (area_updated): Likewise.
2161         (closed): Likewise.
2162         (initStaticState): Initialize *vm javaVM.
2163         (pumpBytes): Use given env, not global gdk_env.
2165 2004-08-31  Mark Wielaard  <mark@klomp.org>
2167         * java/awt/geom/CubicCurve2D.java (solveCubic): Removed duplicate
2168         comments.
2170 2004-08-31  Sven de Marothy  <sven@physto.se>
2172         * java/awt/geom/CubicCurve2D.java: Reindent.
2173         (contains): Implemented.
2174         (intersects): Implemented.
2175         * java/awt/geom/QuadCurve2D.java: Likewise.
2176         * java/awt/geom/GeneralPath.java: Reindent and document.
2177         Fully (re)implemented using separate xpoints and ypoints
2178         float[] coords.
2179         * java/awt/geom/RoundRectangle2D.java: Several bugfixes (Bug #6007).
2181 2004-08-31  Michael Koch  <konqueror@gmx.de>
2183         * javax/swing/JMenuItem.java
2184         (getMenuDragMouseListeners): New method.
2185         (getMenuKeyListeners): Likewise.
2187 2004-08-31  Michael Koch  <konqueror@gmx.de>
2189         * javax/swing/AbstractButton.java
2190         (model): Made protected.
2191         (actionListener): Likewise.
2192         (changeListener): Likewise.
2193         (itemListener): Likewise.
2194         (multiClickThreshhold): New field.
2195         (getActionListeners): New method.
2196         (getChangeListeners): Likewise.
2197         (getItemListeners): Likewise.
2198         (fireItemStateChanged): Simplified implementation.
2199         (fireActionPerformed): Likewise.
2200         (fireStateChanged): Likewise.
2201         (getMultiClickThreshhold): New method.
2202         (setMultiClickThreshhold): Likewise.
2204 2004-08-31  Tom Tromey  <tromey@redhat.com>
2206         * java/awt/image/Kernel.java (clone): Use super.clone().
2208 2004-08-31  David Jee  <djee@redhat.com>
2210         PR AWT/16682
2211         * gnu/java/awt/peer/gtk/GtkFramePeer.java
2212         (nativeSetIconImage): Rename to nativeSetIconImageFromDecoder.
2213         (nativeSetIconImageFromData): New native method declaration.
2214         (setIconImage): Handle images not produced from GdkPixbufDecoder.
2215         * gnu/java/awt/peer/gtk/GtkImage.java
2216         (getPixelCache): New method.
2217         (getColorModel): New method.
2218         * jni/gtk-peer/gnu_java_awt_peer_gtk_GtkWindowPeer.c
2219         (nativeSetIconImage): Rename to nativeSetIconImageFromDecoder.
2220         (free_pixbuf_data): New helper function.
2221         (nativeSetIconImageFromData): New function.
2223 2004-08-31  Graydon Hoare  <graydon@redhat.com>
2225         PR SWING/16576
2226         * javax/swing/JLayeredPane.java 
2227         (setLayer): Permit changing layer after addition.
2228         (setPosition): Permit over-length positions.
2229         (layerToRange): Compare intValue()s.
2230         * javax/swing/Box.java (createHorizontalBox): Implement.
2231         (createRigidArea): Likewise.
2232         (createVerticalBox): Likewise.
2234 2004-08-31  Kim Ho  <kho@redhat.com>
2236         * java/awt/Component.java:
2237         (processMouseEvent): Consume event after
2238         listeners process it.
2239         (processMouseMotionEvent): ditto.
2240         (processMouseWheelEvent): ditto.
2241         * java/awt/Container.java:
2242         (acquireComponentForMouseEvent):
2243         Do not dispatch to events that have been
2244         removed from the Container.
2245         (handleEvent): Consume the MouseEvents.
2246         * javax/swing/RepaintManager.java:
2247         (paintDirtyRegions): Do not add to list of 
2248         damaged areas if the component has no root.
2250 2004-08-31  Michael Koch  <konqueror@gmx.de>
2252         * javax/swing/plaf/basic/BasicMenuItemUI.java: Clean ip imports.
2254 2004-08-31  Mark Wielaard  <mark@klomp.org>
2256         * gnu/java/awt/peer/gtk/GtkToolkit.java (getFontPeer): Don't return
2257         null when a MissingResourceException is thrown. Should never happen.
2259 2004-08-31  Mark Wielaard  <mark@klomp.org>
2261         * java/awt/EventQueue.java (postEvent): Throw NullPointerException
2262         when argument is null.
2264 2004-08-31  Mark Wielaard  <mark@klomp.org>
2266         * jni/gtk-peer/gnu_java_awt_peer_gtk_GtkComponentPeer.c
2267         (Java_gnu_java_awt_peer_gtk_GtkComponentPeer_addExposeFilter):
2268         Define hid at start of function.
2269         (Java_gnu_java_awt_peer_gtk_GtkComponentPeer_removeExposeFilter):
2270         Likewise.
2272 2004-08-31  Mark Wielaard  <mark@klomp.org>
2274         * gnu/java/awt/EmbeddedWindow.java: Reindent.
2275         * javax/swing/JButton.java: Reindent.
2276         * javax/swing/JCheckBox.java: Reindent.
2278 2004-08-31  Mark Wielaard  <mark@klomp.org>
2280         * Makefile.am (gtk_c_source_files): Added
2281         jni/gtk-peer/gnu_java_awt_peer_gtk_GThreadNativeMethodRunner.c.
2282         (gtk_awt_peer_sources): Added
2283         gnu/java/awt/peer/gtk/GThreadMutex.java and
2284         gnu/java/awt/peer/gtk/GThreadNativeMethodRunner.java.
2285         * Makefile.in: Regenerated.
2287 2004-08-31  Archie Cobbs  <archie@dellroad.org>
2289         * jni/gtk-peer/gthread-jni.c: don't #include nonexistent files
2291 2004-08-31  Steven Augart  <augart@watson.ibm.com>
2293         * jni/gtk-peer/gthread-jni.c (c-font-lock-extra-types): 
2294         Added jfieldID, jmethodID.
2296 2004-08-31  Mark Wielaard  <mark@klomp.org>
2298         * jni/gtk-peer/gnu_java_awt_peer_gtk_GtkMainThread.c
2299         (Java_gnu_java_awt_peer_gtk_GtkMainThread_gtkInit): Initialize
2300         gdk_env before calling any gdk or gtk function.
2302         * gnu/java/awt/peer/gtk/GtkMainThread.java (gtkInitCalled): New field.
2303         (GtkMainThread): Call wait() in while loop waiting for gtkInitCalled.
2304         (run): Set gtkInitCalled.
2306 2004-08-31  Steven Augart  <augart@watson.ibm.com>
2308         * gnu/java/awt/peer/gtk/GtkMainThread.java (run): Pass the value of 
2309         the gnu.classpath.awt.gtk.portable.native.sync system property to C.
2311         * jni/gtk-peer/gnu_java_awt_peer_gtk_GtkMainThread.c
2312         (Java_gnu_java_awt_peer_gtk_GtkMainThread_gtkInit): New argument,
2313         portableNativeSync.  Delegate PORTABLE_NATIVE_SYNC work to
2314         init_glib_threads. 
2315         (init_glib_threads): New function.
2317 2004-08-31  Mark Wielaard  <mark@klomp.org>
2319         * jni/gtk-peer/gthread-jni.c: Define MIN_, MAX_ and NORM_
2320         PRIORITY when not already defined in header file.
2322 2004-08-31  Mark Wielaard  <mark@klomp.org>
2324         * jni/gtk-peer/gthread-jni.c (setup_cache): Call
2325         ExceptionOccurred, not ExceptionCheck, when we don't have JNI 1.2.
2327 2004-08-31  Steven Augart  <augart@watson.ibm.com>
2329         * gnu/native/jni/gtk-peer/gthread-jni.c: Indentation fixes.
2330         Implemented missing functions for GTK2.
2331         Added error handling.
2332         Renamed static functions out of the g_ namespace.
2333         Added TRACE_API_CALLS, EXPLAIN_TROUBLE, EXPLAIN_BROKEN, 
2334         EXPLAIN_BADLY_BROKEN, and DELETE_LOCAL_REFS options.
2335         Rewrote global-reference code.
2336         Eliminated cascading errors.
2337         (mutex_trylock_jni_impl) Fully implemented.
2338         (cond_timed_wait_jni_impl) Went from millisecond to microsecond
2339         resolution.
2340         (setup_cache) New function.
2341         (mutex_cond_wait_jni_impl, mutex_cond_timed_wait_jni_impl) Fixed
2342         bug where they were not unlocking the GMutex associated with the
2343         condition variable during the wait on that condition variable.
2345         * native/jni/gtk-peer/gnu_java_awt_peer_gtk_GtkMainThread.c,
2346         native/jni/gtk-peer/gthread-jni.c,
2347         native/jni/gtk-peer/gthread-jni.h
2348         (g_thread_jni_functions): Renamed to ...
2349         (portable_native_sync_jni_functions): this name.
2350         (gdk_vm): Renamed to...
2351         (the_vm): this name.
2353         * native/jni/gtk-peer/gnu_java_awt_peer_gtk_GtkMainThread.c
2354         (gdk_vm): Removed duplicate definition.
2355         (gtkInit): Removed stray message to stdout.
2356         (gtkInit): Use g_malloc and g_free instead of malloc and free.
2357         (gtkInit): Fix a const assignment bug.
2358         (gtkInit): Simplified code.
2360         * gnu/java/awt/peer/gtk/GThreadNativeMethodRunner.java,
2361         native/jni/gtk-peer/gnu_java_awt_peer_gtk_GThreadNativeMethodRunner.c,
2362         native/jni/gtk-peer/gnu_java_awt_peer_gtk_GThreadNativeMethodRunner.h,
2363         gnu/java/awt/peer/gtk/GThreadMutex.java:
2364         New files.
2366 2004-08-31  Mark Wielaard  <mark@klomp.org>
2368         * javax/swing/Box.java: Put FIXME comment above class declaration.
2369         * javax/swing/JButton.java: Remove illegal L&F HTML from comments.
2370         * javax/swing/JCheckBox.java: Likewise.
2371         * javax/swing/JDialog.java: Likewise.
2372         * javax/swing/JRadioButton.java: Likewise.
2373         * javax/swing/JToggleButton.java: Likewise.
2374         * javax/swing/UIManager.java: Likewise.
2375         * javax/swing/border/TitledBorder.java: Likewise.
2376         * javax/swing/plaf/basic/BasicLabelUI.java: Likewise.
2377         * javax/swing/plaf/basic/BasicLookAndFeel.java: Likewise.
2378         * javax/swing/plaf/basic/BasicPopupMenuSeparatorUI.java: Likewise.
2379         * javax/swing/plaf/basic/BasicProgressBarUI.java: Likewise.
2380         * javax/swing/plaf/basic/BasicScrollBarUI.java: Likewise.
2381         * javax/swing/plaf/basic/BasicSeparatorUI.java: Likewise.
2382         * javax/swing/text/JTextComponent.java: Likewise.
2384 2004-08-31  David Jee  <djee@redhat.com>
2386         PR AWT/16682
2387         * gnu/java/awt/peer/gtk/GtkFramePeer.java
2388         (setIconImage): Add a FIXME for unhandled cases.
2390 2004-08-31  Thomas Fitzsimmons  <fitzsim@redhat.com>
2392         PR AWT/16040
2393         * gnu/awt/LightweightRedirector.java: Call getModifiersEx, not
2394         getModifiers.  Replace old button masks with new ones.
2395         * gnu/awt/xlib/XEventLoop.java: Likewise.
2396         * gnu/java/awt/peer/gtk/GtkButtonPeer.java: Likewise.
2397         * gnu/java/awt/peer/gtk/GtkComponentPeer.java,
2398         jni/gtk-peer/gnu_java_awt_peer_gtk_GtkComponentPeer.c: Likewise.
2399         * gnu/java/awt/peer/gtk/GtkListPeer.java: Likewise.
2400         * gnu/java/awt/peer/gtk/GtkTextFieldPeer.java: Likewise.
2401         * java/awt/AWTKeyStroke.java: Remove old modifier masks.
2402         * java/awt/Component.java: Replace old modifier masks with new
2403         ones.
2404         * java/awt/Container.java: Call getModifiersEx, not
2405         getModifiers.
2406         * java/awt/DefaultKeyboardFocusManager.java: Likewise.  Remove
2407         old modifier masks.
2408         * javax/swing/JMenuItem.java: Replace old button masks with new
2409         ones.
2410         * javax/swing/KeyStroke.java: Call getModifiersEx, not
2411         getModifiers.
2412         * javax/swing/SwingUtilities.java: Likewise.
2413         * javax/swing/plaf/basic/BasicButtonListener.java: Likewise.
2414         * javax/swing/plaf/basic/BasicInternalFrameUI.java: Likewise.
2415         * jni/gtk-peer/gnu_java_awt_peer_gtk_GtkEvents.c: Replace old
2416         mask macros with new ones.
2417         * jni/gtk-peer/gtkpeer.h: Replace old button and modifier mask
2418         macros with new ones representing new masks.
2420 2004-08-31  Craig Black  <craig.black@aonix.com>
2422         * gnu/java/awt/peer/gtk/GdkGraphics.java
2423         (drawRoundRect): Implemented.
2424         (fillRoundRect): Implemented.
2425         * gnu/java/awt/peer/gtk/GdkGraphics2D.java
2426         (drawRoundRect): Reimplemented to match GdkGraphics.
2427         (fillRoundRect): Reimplemented to match GdkGraphics.
2429 2004-08-31  Mark Wielaard  <mark@klomp.org>
2431         * Makefile.in: Regenerated.
2433 2004-08-31  Michael Koch  <konqueror@gmx.de>
2435         * gnu/java/awt/EmbeddedWindow.java
2436         (addNotify): Use AccessController to allow execution of privileged
2437         code.
2439 2004-08-31  Michael Koch  <konqueror@gmx.de>
2441         * gnu/java/awt/EmbeddedWindow.java
2442         (static): Removed.
2443         (addNotify): Set peer via reflection.
2444         (setWindowPeer): Removed.
2445         * gnu/java/awt/natEmbeddedWindow.cc: Removed.
2446         * Makefile.am (nat_source_files):
2447         Removed gnu/java/awt/natEmbeddedWindow.cc.
2449 2004-08-31  Bryce McKinlay  <mckinlay@redhat.com>
2451         * Makefile.am: Add  gnu/java/security/action/GetPropertyAction.java
2452         and gnu/java/security/action/SetAccessibleAction.java.
2454 2004-08-31  Bryce McKinlay  <mckinlay@redhat.com>
2456         * gnu/java/security/action/GetPropertyAction.java (setParameters):
2457         Renamed from 'setName'. New 2-argument form with default value.
2458         (run): Pass default 'value' parameter to System.getProperty().
2459         * gnu/java/security/action/SetAccessibleAction.java: Fix javadoc
2460         typos.
2462 2004-08-31  Bryce McKinlay  <mckinlay@redhat.com>
2464         * gnu/java/security/action/GetPropertyAction.java: New class.
2465         * gnu/java/security/action/SetAccessibleAction.java: New class.
2467 2004-08-31  David Jee  <djee@redhat.com>
2469         * gnu/java/awt/peer/gtk/GtkFramePeer.java
2470         (setIconImage): Check if image is null.
2472 2004-08-31  David Jee  <djee@redhat.com>
2474         * gnu/java/awt/peer/gtk/GtkFramePeer.java
2475         (create): Set the icon image.
2476         (nativeSetIconImage): New native method declaration.
2477         (setIconImage): Implement.
2478         * jni/gtk-peer/gnu_java_awt_peer_gtk_GtkWindowPeer.c
2479         (nativeSetIconImage): New function.
2481 2004-08-31  Dalibor Topic <robilad@kaffe.org>
2483         * native/jni/gtk-peer/gnu_java_awt_peer_gtk_GtkFileDialogPeer.c
2484         (filenameFilterCallback): Declare local variable accepted before use.
2486 2004-08-31  Dalibor Topic <robilad@kaffe.org>
2488         * gnu/java/awt/ComponentDataBlitOp.java:
2489         Cleaned up imports.
2491 2004-08-31  Tom Tromey  <tromey@redhat.com>
2493         * gnu/java/awt/peer/GLightweightPeer.java,
2494         gnu/java/awt/peer/gtk/GdkGraphics2D.java,
2495         gnu/java/awt/peer/gtk/GtkComponentPeer.java,
2496         javax/swing/JScrollPane.java: Removed
2497         redundant imports.
2499 2004-08-31  David Jee  <djee@redhat.com>
2501         * java/awt/DefaultKeyboardFocusManager.java
2502         (postProcessKeyEvent): Only activate MenuShortcuts on KEY_PRESSED
2503         event.  Fix shift modifier checking.
2504         * jni/gtk-peer/gnu_java_awt_peer_gtk_GtkMenuPeer.c
2505         (accel_attach): Remove.
2506         (setupAccelGroup): Remove calls to accel_attach.
2508 2004-08-31  Thomas Fitzsimmons  <fitzsim@redhat.com>
2510         * gnu/java/awt/peer/gtk/GtkArg.java: Remove file.
2511         * gnu/java/awt/peer/gtk/GtkArgList.java: Remove file.
2513         * Makefile.am (gtk_awt_peer_sources): Remove GtkArg.java and
2514         GtkArgList.java.
2515         (gtk_c_files): Use CAIRO_CFLAGS and PANGOFT2_CFLAGS, not _LIBS.
2516         * Makefile.in: Regenerate.
2517         * gnu/java/awt/peer/gtk/GtkButtonPeer.java,
2518         jni/gtk-peer/gnu_java_awt_peer_gtk_GtkButtonPeer.c
2519         (create(String)): New method.
2520         (create): Call new create method.
2521         (getArgs): Remove method.
2522         * gnu/java/awt/peer/gtk/GtkCheckboxPeer.java,
2523         jni/gtk-peer/gnu_java_awt_peer_gtk_GtkCheckboxPeer.c 
2524         (nativeCreate): Rename to create.
2525         (gtkSetLabel): Rename to gtkButtonSetLabel.
2526         (gtkToggleButtonSetActive): New method.
2527         (create): Call gtkToggleButtonSetActive and gtkButtonSetLabel.
2528         (setState): Replace set call with gtkToggleButtonSetActive.
2529         (setLabel): Replace gtkSetLabel call with gtkButtonSetLabel.
2530         (getArgs): Remove method.
2531         * gnu/java/awt/peer/gtk/GtkComponentPeer.java,
2532         jni/gtk-peer/gnu_java_awt_peer_gtk_GtkComponentPeer.c
2533         (gtkWidgetSetSensitive): New method.
2534         (gtkWidgetSetParent): Likewise.
2535         (GtkComponentPeer): Call setParent, setComponentBounds and
2536         setVisibleAndEnabled.
2537         (setParent): New method.
2538         (setComponentBounds): New method.
2539         (setVisibleAndEnabled): New method.
2540         (setEnabled): Call gtkWidgetSetSensitive.
2541         (getArgs): Remove method.
2542         Remove all set methods.
2543         * gnu/java/awt/peer/gtk/GtkDialogPeer.java (create): Call
2544         gtkWindowSetModal, setTitle and setResizable.
2545         (getArgs): Remove method.
2546         * gnu/java/awt/peer/gtk/GtkFileDialogPeer.java
2547         (setComponentBounds): New method.
2548         * gnu/java/awt/peer/gtk/GtkFramePeer.java (setResizable):
2549         Replace set call with gtkWindowSetResizable.
2550         (getArgs): Remove method.
2551         (create): Call setTitle and setResizable.
2552         * gnu/java/awt/peer/gtk/GtkWindowPeer.java,
2553         jni/gtk-peer/gnu_java_awt_peer_gtk_GtkWindowPeer.c
2554         (gtkWindowSetTitle): New method.
2555         (gtkWindowSetResizable): New method.
2556         (gtkWindowSetModal): New method.
2557         (setParent): New method.
2558         (setVisibleAndEnabled): New method.
2559         (getArgs): Remove method.
2560         (setTitle): Call gtkWindowSetTitle.
2561         (setResizable): Call gtkWindowSetResizable.
2562         * jni/gtk-peer/gtkpeer.h [DEBUG_LOCKING]: New define to turn on
2563         and off locking instrumentation.
2565 2004-08-31  Kim Ho  <kho@redhat.com>
2567         * Makefile.am: Add new file.
2568         * Makefile.in: Regenerate.
2569         * gcj/Makefile.in: Regenerate
2570         * include/Makefile.in:
2571         * java/awt/Container.java:
2572         (acquireComponentForMouseEvent): Respect 
2573         the event mask when looking for candidate.
2574         * javax/swing/JComponent.java:
2575         Remove toolTip field.
2576         (createToolTip): Create a tooltip on demand.
2577         (setToolTipText): Register with the ToolTipManager.
2578         (getToolTipText(MouseEvent)): Return getToolTipText().
2579         * javax/swing/JToolTip.java: Implement.
2580         * javax/swing/Timer.java: Jalopy.
2581         (restart): Call stop, then start.
2582         (stop): Interrupt the timer rather than wait for
2583         the timer to come to a stop naturally.
2584         * javax/swing/ToolTipManager.java: Implement.
2585         * javax/swing/plaf/basic/BasicLookAndFeel.java:
2586         Change ToolTip.background color.
2587         * javax/swing/plaf/basic/BasicToolTipUI.java:
2588         Implement.
2589         * testsuite/Makefile.in: Regenerate
2591 2004-08-31  Jerry Quinn  <jlquinn@optonline.net>
2593         * java/awt/image/DirectColorModel.java (DirectColorModel): Fix
2594         constructor param comments.
2596 2004-08-31  Thomas Fitzsimmons  <fitzsim@redhat.com>
2598         * java/awt/Component.java: Document AWT 1.0 event handler
2599         methods.
2601 2004-08-31  Roman Kennke  <roman@ontographics.com>
2603         * javax/swing/Box.java:
2604         (createGlue): Implemented
2605         (createHorizontalGlue): Implemented
2606         (createHorizontalStrut): Implemented
2607         (createVerticalGlue): Implemented
2608         (createVerticalStrut): Implemented
2610 2004-08-31  David Jee  <djee@redhat.com>
2612         * gnu/java/awt/peer/gtk/GtkChoicePeer.java
2613         (GtkChoicePeer): Do not automatically select first item.
2614         (getHistory): Remove.
2615         (nativeGetSelected): New method.
2616         (nativeRemoveAll): New method.
2617         (add): Use nativeGetSelected() instead of getHistory().
2618         (remove): Likewise.
2619         (removeAll): Call nativeRemoveAll().
2620         * jni/gtk-peer/gnu_java_awt_peer_gtk_GtkChoicePeer.c
2621         (create): Migrate to GtkComboBox.
2622         (append): Likewise.
2623         (nativeAdd): Likewise.
2624         (nativeRemove): Likewise.
2625         (select): Likewise.
2626         (nativeRemoveAll): New method.
2627         (nativeGetSelected): New method.
2628         (selection_changed): New method.
2629         (getHistory): Remove.
2630         (item_activate): Remove.
2631         (item_removed): Remove.
2632         (connect_choice_item_selectable_hook): Remove.
2634 2004-08-31  Thomas Fitzsimmons  <fitzsim@redhat.com>
2636         * gnu/java/awt/peer/gtk/GtkTextFieldPeer.java (create): Use tf
2637         variable in setEditable call.
2639         * gnu/java/awt/peer/gtk/GtkTextFieldPeer.java,
2640         jni/gtk-peer/gnu_java_awt_peer_gtk_GtkTextFieldPeer.c
2641         (gtkWidgetSetBackground): New method.
2642         (gtkWidgetSetForeground): Likewise.
2643         (create): Set peer's editable state based on awtComponent's.
2645         * java/awt/Button.java (Button()): Use empty string rather than
2646         null in no-label constructor.
2648 2004-08-31  Roman Kennke  <roman@ontographics.com>
2650         * javax/swing/BoxLayout.java: Reimplement.
2652 2004-08-31  Thomas Fitzsimmons  <fitzsim@redhat.com>
2654         * gnu/java/awt/peer/gtk/GdkGraphics.java,
2655         gnu_java_awt_peer_gtk_GdkGraphics.c
2656         (initState(GtkComponentPeer)): Don't return array of colour
2657         values.
2658         (GdkGraphics(int,int)): Set default font to size 12.
2659         (GdkGraphics(GtkComponentPeer)): Set graphics colour to
2660         component's foreground colour.
2661         * gnu/java/awt/peer/gtk/GdkGraphics2D.java,
2662         gnu_java_awt_peer_gtk_GdkGraphics2D.c
2663         (initState(GtkComponentPeer)): Don't return array of colour
2664         values.
2665         (GdkGraphics2D(GtkComponentPeer)): Set foreground and background
2666         colours to component's colours.
2667         (current_colors_of_widget): Remove function.
2668         * gnu/java/awt/peer/gtk/GtkOffScreenImage.java (getGraphics):
2669         Return a new graphics object.
2670         * java/awt/Font.java (toString): Fix format.
2671         * java/awt/Graphics.java (toString): Likewise.
2673 2004-08-31  Craig Black  <craig.black@aonix.com>
2675         * native/jni/gtk-peer/gnu_java_awt_peer_gtk_GtkMenuPeer.c
2676         (addTearOff): New function.
2677         * gnu/java/awt/peer/gtk/GtkMenuPeer.java (addTearOff):
2678         New native method.
2679         (init): Call addTearOff() when menu.isTearOff().
2681 2004-08-31  Bryce McKinlay  <mckinlay@redhat.com>
2683         * gnu/java/awt/ClasspathToolkit.java (createImageProducer): New.
2684         Default implementation.
2685         * gnu/java/awt/peer/gtk/GtkToolkit.java (createImageProducer): New.
2686         Implement using GdkPixbufDecoder.
2688 2004-08-31  David Jee  <djee@redhat.com>
2690         * gnu/java/awt/peer/gtk/GtkComponentPeer.java
2691         (GtkComponentPeer): Use gtkWidgetGetPreferredDimensions() for
2692         setting the size of GtkFileDialogPeers.
2693         * jni/gtk-peer/gnu_java_awt_peer_gtk_GtkComponentPeer.c
2694         (gtkWidgetGetPreferredDimensions): For widgets extending GtkWindow,
2695         use their default sizes rather than their natural requisitions.
2697 2004-08-31  Michael Koch  <konqueror@gmx.de>
2699         * javax/swing/JFormattedTextField.java
2700         (JFormattedTextField): Implemented.
2701         * javax/swing/text/DefaultEditorKit.java
2702         (BeepAction): New inner class.
2703         * javax/swing/text/Segment.java
2704         (partialReturn): New field.
2705         (setPartialReturn): New method.
2706         (isPartialReturn): Likewise.
2707         * javax/swing/text/View.java
2708         (createFragment): Fixed typo.
2709         (getStartOffset): New method.
2710         (getEndOffset): Likewise.
2712 2004-08-31  Michael Koch  <konqueror@gmx.de>
2714         * javax/swing/table/DefaultTableColumnModel.java
2715         (serialVersionUID): Made private.
2716         (listenerList): Initialize.
2717         (changeEvent): Initialize.
2718         * javax/swing/table/JTableHeader.java
2719         (JTableHeader): New constructors.
2720         (createDefaultColumnModel): New method.
2721         * javax/swing/table/TableColumn.java
2722         (setHeaderRenderer): Simplified code.
2723         (setCellRenderer): Likewise.
2724         (setWidth): Likewise.
2726 2004-08-31  Tom Tromey  <tromey@redhat.com>
2728         * java/text/AttributedString.java (AttributedString): Use
2729         ArrayList to build array of attribute ranges.  Don't use
2730         `attribs' before it is set.
2732 2004-08-30  Andreas Tobler  <a.tobler@schweiz.ch>
2734         * HACKING: Remove reference to special automake. No longer needed.
2736 2004-08-30  Tom Tromey  <tromey@redhat.com>
2738         * gnu/java/security/util/Prime.java (generateRandomPrime): Use
2739         return result from `add'.
2741 2004-08-30  Tom Tromey  <tromey@redhat.com>
2743         * java/rmi/server/UID.java (UID): Read `nextCount', not count.
2745 2004-08-30  Andreas Tobler  <a.tobler@schweiz.ch>
2747         * gnu/java/security/der/DEREncodingException.java: Remove whitespaces.
2749 2004-08-30  Jeroen Frijters  <jeroen@frijters.net>
2751         * java/io/File.java File(String,String): Fixed handling of empty
2752         path.
2754 2004-08-30  Casey Marshall  <csm@gnu.org>
2756         Author e-mail updated for all files.
2757         * gnu/java/security/OID.java (equals): Test if the aurgment is an
2758         instance of OID.
2759         (compareTo): Use `equals'.
2760         * gnu/java/security/der/BitString.java (equals): Test if the
2761         argument is an instance of BitString.
2762         * gnu/java/security/der/DERReader.java: Removed NIO imports.  Made
2763         class final. Made fields private.
2764         (<init>): New constructor.
2765         (skip): New method.
2766         (makeString): Made static; don't use NIO.
2767         (fromIso88591, fromUtf16Be, fromUtf8): New methods.
2768         * gnu/java/security/der/DERWriter.java: Fixed imports.
2769         (writeString): Don't use NIO.
2770         (toIso88591, toUtf16Be, toUtf8): New methods.
2771         * gnu/java/security/der/DERValue.java: Formatting changes only.
2772         * gnu/java/security/der/DER.java: Likewise.
2774 2004-08-30  Tom Tromey  <tromey@redhat.com>
2776         * java/nio/CharBuffer.java (put): Fix typo.
2777         * java/nio/DoubleBuffer.java (put): Fix typo.
2778         * java/nio/FloatBuffer.java (put): Fix typo.
2779         * java/nio/IntBuffer.java (put): Fix typo.
2780         * java/nio/LongBuffer.java (put): Fix typo.
2781         * java/nio/ShortBuffer.java (put): Fix typo.
2783 2004-08-30  Florian Weimer  <fw@deneb.enyo.de>
2785         * java/nio/ByteBuffer.java (put): Fix typo.
2787 2004-08-30  Casey Marshall  <csm@gnu.org>
2789         * java/security/DummyKeyPairGenerator.java (clone): Removed
2790         useless instanceof check.
2791         * java/security/DummyMessageDigest.java (clone): Likewise.
2792         * java/security/DummySignature.java (clone): Likewise.
2793         * java/security/MessageDigest.java (clone): Remove useless
2794         instanceof check.
2795         * java/security/MessageDigestSpi.java (clone): Likewise.
2796         * java/security/Signature.java (clone): Provide meaningful
2797         implementation.
2798         * java/security/SignatureSpi.java (clone): Likewise.
2800 2004-08-29  Mark Wielaard  <mark@klomp.org>
2802         * java/util/Arrays.java
2803         (sort(byte[], int, int)): Check fromIndex < 0.
2804         (sort(char[], int, int)): Likewise.
2805         (sort(short[], int, int)): Likewise.
2806         (sort(int[], int, int)): Likewise.
2807         (sort(long[], int, int)): Likewise.
2808         (sort(float[], int, int)): Likewise.
2809         (sort(double[], int, int)): Likewise.
2810         (sort(Object[], int, int, Comparator)): Likewise.
2811         (qsort(byte[], int, int)): Honor lower bound from in insertion sort.
2812         (qsort(char[], int, int)): Likewise.
2813         (qsort(short[], int, int)): Likewise.
2814         (qsort(int[], int, int)): Likewise.
2815         (qsort(long[], int, int)): Likewise.
2816         (qsort(float[], int, int)): Likewise.
2817         (qsort(double[], int, int)): Likewise.
2819 2004-08-29  Andrew John Hughes  <gnu_andrew@member.fsf.org>
2821         * java/util/AbstractCollection.java, java/util/AbstractList.java,
2822         java/util/AbstractMap.java, java/util/AbstractSequentialList.java,
2823         java/util/ArrayList.java, java/util/Arrays.java,
2824         java/util/BitSet.java, java/util/Calendar.java,
2825         java/util/Collection.java, java/util/ListIterator.java,
2826         java/util/Map.java, java/util/SortedSet.java:
2827         Added additional exceptions to documentation, along
2828         with some additions and corrections.
2830 2004-08-27  Hans Boehm  <Hans.Boehm@hp.com>
2832         * configure.ac: Handle --enable-gc-debug.
2833         * configure: Regenerate.
2834         * include/config.h.in (LIBGCJ_GC_DEBUG): Add.
2835         * boehm.cc: Include gc_mark.h, javaxfc.h, but no GC private files.
2836         Rearrange include file order.
2837         (GC_DEBUG): Set if LIBGCJ_GC_DEBUG is set.
2838         (GC_finalize_all, GC_debug_generic_malloc): Don't declare.
2839         (disable_gc_mutex): Delete along with all references.
2840         (_Jv_MarkObj, _Jv_MarkArray): Use public types,
2841         adjust for debug header size.
2842         (_Jv_AllocObj, _Jv_allocPtrFreeObj): Define out of line for
2843         debug case.
2844         (_Jv_AllocArray): Declare min_heap_addr only if needed.
2845         (gcj_describe_type_fn): New.
2846         (_Jv_InitGC): Use GC_new_free_list, GC_new_proc, and GC_new_kind.
2847         Register gcj_describe_type_fn.
2848         * include/boehm-gc.h:
2849         (_Jv_AllocObj, _Jv_allocPtrFreeObj):
2850         Don't define, but declare, for debug case.
2851         * java/lang/natObject.cc:
2852         (GC_DEBUG): Define if LIBGCJ_GC_DEBUG is set.
2854 2004-08-26  Mark Wielaard  <mark@klomp.org>
2856         Fixes PR libgcj/17002:
2857         * java/util/TimeZone.java (defaultZone): Try a couple of ways to get
2858         a TimeZoneId string and then try to convert that to a TimeZone with
2859         getDefaultSystemTimeZone(String).
2860         (timezones0): Changed type from Hashtable to HashMap.
2861         (timezones): Create HashMap, not Hashtable.
2862         (getDefaultTimeZone): New method, rewritten from CNI version.
2863         (readTimeZoneFile): New method.
2864         (readtzFile): Likewise.
2865         (skipFully): Likewise.
2866         * java/util/natTimeZone.cc (getSystemTimeZone): Renamed to
2867         getDefaultTimeZoneId and rewritten.
2868         (getDefaultTimeZoneId): Rewritten in java.
2869         
2870 2004-08-25  David Daney  <daney@avtrex.com>
2872         * Makefile.am (AM_GCJFLAGS):  Add LIBGCJ_JAVAFLAGS.
2873         * Makefile.in: Regenerated.
2875 2004-08-23  Bryce McKinlay  <mckinlay@redhat.com>
2877         * prims.cc (JVMPI_NOTIFY_ALLOC): New macro. Call jvmpi_notify_alloc
2878         only if jvmpi is enabled.
2879         (jvmpi_notify_alloc): Don't check if jvmpi is enabled here.
2880         (_Jv_AllocObjectNoFinalizer): Use JVMPI_NOTIFY_ALLOC.
2881         (_Jv_AllocString): Likewise.
2882         (_Jv_AllocPtrFreeObject): Likewise.     
2884 2004-08-23  Hans Boehm  <Hans.Boehm@hp.com>
2886         * defineclass.cc: Include <stdio.h>.
2887         * java/lang/natClassLoader.cc: Include <stdio.h>.
2889 2004-08-21  Andreas Tobler  <a.tobler@schweiz.ch>
2890             Michael Koch  <konqueror@gmx.de>
2892         * Makefile.am (lib_gnu_java_awt_peer_gtk_la_LINK): Added.
2893         * Makefile.in: Regenerated.
2895 2004-08-20  Michael Koch  <konqueror@gmx.de>
2897         * configure.ac: Replaced all AC_TRY_COMPILE macros with
2898         AC_COMPILE_IFELSE macros.
2900 2004-08-20  Michael Koch  <konqueror@gmx.de>
2902         * configure.in: Renamed to configure.ac.
2903         * configure.ac: New file.
2904         * configure, Makefile.in, gcj/Makefile.in, include/Makefile.in
2905         include/config.h.in, testsuite/Makefile.in: Regenerated.
2907 2004-08-20  Michael Koch  <konqueror@gmx.de>
2909         * configure.in: Rewrote some obsolete stuff for autoconf 2.59.
2910         * aclocal.m4, configure: Regenerated.
2912 2004-08-19  Thomas Fitzsimmons  <fitzsim@redhat.com>
2913             Michael Koch  <konqueror@gmx.de>
2915         * configure.in, Makefile.am: Ported to automake 1.9.
2916         * Makefile.in, aclocal.m4, configure, gcj/Makefile.in, 
2917         include/Makefile.in, testsuite/Makefile.in, include/config.h.in:
2918         Regenerated.
2920 2004-08-19  Tom Tromey  <tromey@redhat.com>
2922         * java/net/DatagramSocket.java: Fixed typo.
2924 2004-08-18  Bryce McKinlay  <mckinlay@redhat.com>
2926         PR libgcj/17081
2927         * java/net/URI.java (string): New field. Make all other fields
2928         transient.
2929         (readObject): Implemented.
2930         (writeObject): Implemented.
2931         (URI): Set 'string'.
2933 2004-08-18  Bryce McKinlay  <mckinlay@redhat.com>
2935         PR libgcj/17079
2936         * java/util/logging/Handler.java (isLoggable): Accept record if its
2937         log level equals the threshold level. From Robin Green.
2939 2004-08-18  David Daney  <ddaney@avtrex.com>
2941         * java/lang/natPosixProcess.cc (waitForSignal): Use sigsuspend 
2942         instead of sigwait.
2944 2004-08-17  Michael Koch  <konqueror@gmx.de>
2946         * Makefile.am (AM_CXXFLAGS): Reformatted to make it more ease to read.
2947         * Makefile.in: Regenerated.
2949 2004-08-16  Tom Tromey  <tromey@redhat.com>
2951         PR java/8473:
2952         * testsuite/libjava.jacks/jacks.xfail: Removed passing test.
2954 2004-08-16  Michael Koch  <konqueror@gmx.de>
2956         * Makefile.am
2957         (math_c_files): Renamed from c_files.
2958         (math_c_source_files): Renamed from c_source_files.
2959         * Makefile.in,
2960         gcj/Makefile.in,
2961         include/Makefile.in,
2962         testsuite/Makefile.in: Regenerated.
2964 2004-08-16  Bryce McKinlay  <mckinlay@redhat.com>
2966         * configure.in (AC_CONF_SUBDIRS): Use literal for ltdl directory
2967         to avoid autoconf warning.
2968         * configure: Rebuilt.
2970 2004-08-14  Andreas Tobler  <a.tobler@schweiz.ch>
2972         * java/net/natInetAddressPosix.cc (lookup): Reflect rename of 
2973         localhostAddress to loopbackAddress.
2974         * java/net/natInetAddressWin32.cc (lookup): Likewise.
2976 2004-08-13  Bryce McKinlay  <mckinlay@redhat.com>
2978         * configure.in (GCINCS): Don't use "boehm-cflags". Instead, -I 
2979         boehm-gc's include dirs.
2980         * configure: Rebuilt.
2981         * include/boehm-gc.h: Include gc_config.h.
2983 2004-08-13  Bryce McKinlay  <mckinlay@redhat.com>
2985         * java/net/InetAddress.java (loopbackAddress): Renamed from 
2986         localhostAddress.
2987         (getByName): Return loopback address for null hostname, without
2988         security check. Use lookup(), not getAllByName.
2989         (getAllByName): Return loopback address for null hostname, without
2990         security check.
2991         * java/net/natInetAddressPosix.cc (lookup): Don't perform security
2992         check here.
2994 2004-08-13  Bryce McKinlay  <mckinlay@redhat.com>
2996         PR libgcj/17020
2997         Reported by Robin Green.
2998         * defineclass.cc (handleField): Don't throw exception on unrecognised
2999         modifier. Add FIXME comments for spec compliance.
3000         (handleMethod): Likewise.
3002 2004-08-10  Hans Boehm <Hans.Boehm@hp.com>
3004         PR libgcj/16662
3005         * java/lang/natObject.cc (LOCK_LOG, LOG): Add debug tracing.
3006         (Almost everywhere): add LOG calls, fix, add comments.
3007         (_Jv_MonitorEnter): Replace masking of LOCKED bit with assertion.
3008         Add explicit check for LOCKED bit in slow case (PR 16662).
3009         (_Jv_MonitorExit): Add casts in debug-only code.
3010         Always release LOCKED bit before throwing exception.
3011         (_Jv_ObjectCheckMonitor): Lock may be held if lightweight lock
3012         isn't.  Handle easy cases without lock acquisition.
3013         (Object::wait): Use NotifyAll for lock inflation.
3015 2004-08-12  David Daney  <ddaney@avtrex.com>
3017         * testsuite/libjava.lang/Process_1.java: New test.
3018         * testsuite/libjava.lang/Process_2.java: New test.
3019         * testsuite/libjava.lang/Process_3.java: New test.
3020         * testsuite/libjava.lang/Process_4.java: New test.
3021         * testsuite/libjava.lang/Process_5.java: New test.
3022         * testsuite/libjava.lang/Process_6.java: New test.
3023         * testsuite/libjava.lang/Process_1.out: Expected result.
3024         * testsuite/libjava.lang/Process_2.out: Expected result.
3025         * testsuite/libjava.lang/Process_3.out: Expected result.
3026         * testsuite/libjava.lang/Process_4.out: Expected result.
3027         * testsuite/libjava.lang/Process_5.out: Expected result.
3028         * testsuite/libjava.lang/Process_6.out: Expected result.
3030 2004-08-12  David Daney  <ddaney@avtrex.com>
3032         PR libgcj/11801
3033         * java/lang/PosixProcess.java: Rewrote.
3034         * java/lang/natPosixProcess.cc: Rewrote.
3035         * java/lang/Runtime.java (execInternal): Declare throws IOException.
3036         * gcj/javaprims.h (ConcreteProcess$ProcessManager): Declare.
3037         * posix-threads.cc (block_sigchld) New function.
3038         (_Jv_ThreadRegister) Use it.
3039         (_Jv_ThreadStart) Use it.
3040         * configure.in (PLATFORM_INNER_NAT_HDRS): New AC_SUBST() used in...
3041         * Makefile.am: ... to specify extra native headers.
3042         * configure: Regenerated.
3043         * include/config.h: Regenerated.
3044         * Makefile.in: Regenerated.
3045         * gcj/Makefile.in: Regenerated.
3046         * include/Makefile.in: Regenerated.
3047         * testsuite/Makefile.in: Regenerated.
3049 2004-08-12  Diego Novillo  <dnovillo@redhat.com>
3051         PR tree-optimization/16867
3052         * testsuite/libjava.lang/PR16867.java: New test.
3054 2004-08-09  Per Bothner  <per@bothner.com>
3056         * gcj/javaprims.h (_Jv_Utf8Const): Change struct to a class,
3057         with private fields and access methods.
3058         (_Jv_NewStringUTF, _Jv_hashUtf8String): New function declarations.
3059         * gcj/cni.h (_Jv_NewStringUTF): Move to javaprims.h.
3060         * prims.cc (_Jv_Utf8COnst::init): New method implementation.
3061         ( _Jv_makeUtf8Const): Rewrite using new constructors.
3062         (hashUtf8String): Rename to +_Jv_hashUtf8String and make non-static.
3063         * defineclass.cc: Use new _Utf8Const access/convenience methods.
3064         * jni.cc: Likewise.
3065         * resolve.cc: Likewise.
3066         * gcj/field.h: Likewise.
3067         * include/jvm.h: Likewise.
3068         * java/lang/Class.h: Likewise.
3069         * java/lang/natClass.cc: Likwise.
3070         * java/lang/natClassLoader.cc: Likewise
3071         * java/lang/reflect/natMethod.cc: Likewise
3072         * verify.cc: Likewise.
3073         (_Jv_BytecodeVerifier::make_utf8_const):  Optimize.
3074         (~_Jv_BytecodeVerifier):  Don't need second _Jv_Free call.
3076 2004-08-10  Andrew Haley  <aph@redhat.com>
3078         * testsuite/libjava.lang/err14.java: New file.
3079         * testsuite/libjava.lang/err14.out: New file.
3081 2004-08-05  Andreas Tobler  <a.tobler@schweiz.ch>
3083         * Makefile.am: Fix missing rename from x_nat_headers to 
3084         xlib_nat_headers.
3085         * Makefile.in: Regenerated.
3087 2004-08-04  Andrew Haley  <aph@redhat.com>
3089         * java/security/BasicPermission.java: Don't check wildcards.
3091 2004-08-04  Thomas Fitzsimmons <fitzsim@redhat.com>
3092             Michael Koch  <konqueror@gmx.de>
3094         * acinclude.m4: Correctly quote PKG_CHECK_MODULES.
3095         * configure.in: Replaced all usages of AC_LINK_FILES by
3096         AC_CONFIG_LINKS.
3097         * aclocal.m4,
3098         configure: Regenerated.
3100 2004-08-04  Thomas Fitzsimmons  <fitzsim@redhat.com>
3101             Michael Koch  <konqueror@gmx.de>
3103         * acconfig.h: Removed.
3104         * Makefile.am: Rename variables for xlib peer to include xlib and
3105         gtk_c_headers to gtk_jni_headers.
3106         * Makefile.in: Regenerated.
3108 2004-08-04  Andrew Haley  <aph@redhat.com>
3110         * testsuite/lib/libjava.exp (bytecompile_file): Byte compile with
3111         debugging.
3113 2004-08-03  Nathanael Nerode  <neroden@gcc.gnu.org>
3115         * configure.in: Eliminate uses of changequote (mostly by quoting []).
3116         Replace most top level 'dnl' comments with '#' comments, conforming
3117         to new autoconf style.  Use AS_HELP_STRING throughout; improve a few
3118         help strings.
3119         * configure: Rebuilt.
3121 2004-07-17  Nathanael Nerode  <neroden@gcc.gnu.org>
3123         * acinclude.m4: Include no-executables.m4.
3124         * aclocal.m4: Rebuild.
3125         * configure.in: Convert to the autoconf 2.59 version of
3126         of the no-executables hack, and also of the nonstandard CXX
3127         hack and the multilibbed CC and CXX hack.  Change prerequisite
3128         to autoconf 2.59.
3129         * configure: Rebuild with autoconf 2.59.  (Woo-hoo!)
3130         * Makefile.in, gcj/Makefile.in, include/Makefile.in,
3131         testsuite/Makefile.in: Regenerate.
3133 2004-08-03  Tom Tromey  <tromey@redhat.com>
3135         * jni.cc: Reindented.
3137 2004-08-02  Bryce McKinlay  <mckinlay@redhat.com>
3139         * java/sql/Timestamp.java (valueOf): Synchronize access to dateFormat.
3141 2004-08-02  Bryce McKinlay  <mckinlay@redhat.com>
3143         * testsuite/libjava.compile/PR16701.java: New test.
3145 2004-08-01  Andrew John Hughes  <gnu_andrew@member.fsf.org>
3147         * java/util/Collection.java, java/util/List.java,
3148         java/util/Map.java, java/util/Set.java,
3149         java/util/SortedMap.java, java/util/SortedSet.java:
3150         Added additional exceptions to documentation.
3152 2004-08-01  Danny Smith  <dannysmith@users.sourceforge.net>
3154         PR libgcj/16814
3155         * configure.in [host *mingw*] (SYSTEMSPEC): Remove -lwsock32.
3156         * configure. Regenerate.
3157         * include/win32.h: Explicitly include winsock2.h
3158         * win32.cc (_Jv_platform_initialize): Require version 2.2 of
3159         Winsock api.
3161 2004-07-30  Michael Koch  <konqueror@gmx.de>
3163         * java/util/zip/GZIPInputStream.java
3164         (GZIPInputStream): Increase buffer size to 4k.
3165         * java/util/zip/GZIPOutputStream.java
3166         (GZIPOutputStream): Likewise.
3167         * java/util/zip/Inflater.java
3168         (setInput): Merged formating with GNU classpath.
3169         * java/util/zip/InflaterInputStream.java
3170         (InflaterInputStream): Increase buffer size to 4k.
3171         (fill): Throw exception if stream ends early.
3172         (read): Merged endless-loop with GNU classpath.
3173         (skip): Increase buffer size to 2k.
3175 2004-07-30  Michael Koch  <konqueror@gmx.de>
3177         * gnu/java/awt/EmbeddedWindow.java
3178         (addNotify): Use AccessController to allow execution of privileged
3179         code.
3181 2004-07-29  Michael Koch  <konqueror@gmx.de>
3183         * gnu/java/lang/MainThread.java:
3184         Explicitely import used classes.
3185         (args): Make it type String[].
3187 2004-07-29 Dalibor Topic <robilad@kaffe.org>
3189         * gnu/java/awt/ComponentDataBlitOp.java,
3190         gnu/java/beans/ExplicitBeanInfo.java,
3191         gnu/java/beans/IntrospectionIncubator.java,
3192         gnu/java/beans/editors/ColorEditor.java,
3193         gnu/java/beans/editors/FontEditor.java,
3194         gnu/java/beans/editors/NativeBooleanEditor.java,
3195         gnu/java/beans/editors/NativeByteEditor.java,
3196         gnu/java/beans/editors/NativeDoubleEditor.java,
3197         gnu/java/beans/editors/NativeFloatEditor.java,
3198         gnu/java/beans/editors/NativeIntEditor.java,
3199         gnu/java/beans/editors/NativeLongEditor.java,
3200         gnu/java/beans/editors/NativeShortEditor.java,
3201         gnu/java/beans/editors/StringEditor.java,
3202         gnu/java/io/ClassLoaderObjectInputStream.java,
3203         gnu/java/io/decode/Decoder.java,
3204         gnu/java/io/encode/Encoder.java,
3205         gnu/java/lang/ClassHelper.java,
3206         gnu/java/locale/Calendar.java,
3207         gnu/java/locale/Calendar_de.java,
3208         gnu/java/locale/Calendar_en.java,
3209         gnu/java/locale/Calendar_nl.java,
3210         gnu/java/locale/LocaleInformation_de.java,
3211         gnu/java/locale/LocaleInformation_en.java,
3212         gnu/java/locale/LocaleInformation_nl.java:
3213         Cleaned up imports.
3215 2004-07-28  Bryce McKinlay  <mckinlay@redhat.com>
3217         * README: Remove obsolete info. Update bug URL.
3218         * THANKS: Updated.
3219         * NEWS: Updated with news up to GCC 3.4 release.
3221 2004-07-28  Bryce McKinlay  <mckinlay@redhat.com>
3223         * gnu/java/security/action/GetPropertyAction.java (setParameters):
3224         Renamed from 'setName'. New 2-argument form with default value.
3225         (run): Pass default 'value' parameter to System.getProperty().
3226         * gnu/java/security/action/SetAccessibleAction.java: Fix javadoc
3227         typos.
3228         * gnu/java/net/protocol/http/Connection.java: Use 'setParameters'
3229         not 'setName'.
3231 2004-07-28  Bryce McKinlay  <mckinlay@redhat.com>
3233         * configure.in: Check for minimum GTK version 2.4 requirement.
3234         * configure: Rebuilt.
3236 2004-07-27  Bryce McKinlay  <mckinlay@redhat.com>
3238         * testsuite/libjava.lang/TLtest.java: Reduce sleep time.
3239         * testsuite/libjava.lang/Thread_Alive.java: Remove old email address.
3240         Reduce sleep time.
3241         * testsuite/libjava.lang/Thread_HoldsLock.java: Modify to work around
3242         compiler bug.
3243         * testsuite/libjava.lang/Thread_Interrupt.java: Remove old email 
3244         address. Reduce sleep times. Synchronize with target threads before
3245         attempting to interrupt them. Don't try to calibrate yeild count,
3246         instead, always loop for a fixed time.
3247         * testsuite/libjava.lang/Thread_Join.java: Remove old email address.
3248         * testsuite/libjava.lang/Thread_Monitor.java: Likewise.
3249         * testsuite/libjava.lang/Thread_Wait.java: Likewise.
3250         * testsuite/libjava.lang/Thread_Wait_2.java: Likewise.
3251         * testsuite/libjava.lang/Thread_Wait_Interrupt.java: Likewise.
3252         * testsuite/libjava.lang/pr179.java: Likewise.
3253         * testsuite/libjava.lang/Thread_Sleep.java: Likewise. Reduce sleep
3254         time. Remove upper bounds check on sleep time. 
3256 2004-07-27  Bryce McKinlay  <mckinlay@redhat.com>
3258         * testsuite/libjava.lang/Thread_HoldsLock.java: New test case.
3259         * testsuite/libjava.lang/Thread_HoldsLock.out: New.     
3261 2004-07-27  Bryce McKinlay  <mckinlay@redhat.com>
3263         * java/io/File.java (toURI): Throw RuntimeException, not 
3264         InternalError.
3265         * java/lang/Runtime.java (exit): Qualify static sleep() call with
3266         class name, not instance.
3268 2004-07-24  Bryce McKinlay  <mckinlay@redhat.com>
3270         * Makefile.am: Add gnu/java/security/action/GetPropertyAction.java
3271         and gnu/java/security/action/SetAccessibleAction.java.
3272         * Makefile.in: Rebuilt.
3274 2004-07-23  Bryce McKinlay  <mckinlay@redhat.com>
3276         * prims.cc (_Jv_InitPrimClass): Don't create an array class.
3277         (_Jv_CreateJavaVM): Don't pass array vtable parameter to
3278         _Jv_InitPrimClass.
3279         (DECLARE_PRIM_TYPE): Don't declare array vtables.
3280         * include/jvm.h (struct _Jv_ArrayVTable): Removed.
3281         * java/lang/Class.h (_Jv_InitPrimClass): Update friend declaration.
3283 2004-07-23  Thomas Fitzsimmons  <fitzsim@redhat.com>
3285         * Makefile.am: Replace jar, rmic and rmiregistry references with
3286         gjar, grmic and grmiregistry.
3287         * configure.in: Likewise.
3288         * Makefile.in: Regenerate.
3289         * configure: Likewise.
3290         * gcj/Makefile.in: Likewise.
3291         * include/Makefile.in: Likewise.
3292         * testsuite/Makefile.in: Likewise.
3294 2004-07-23  Bryce McKinlay  <mckinlay@redhat.com>
3296         * gnu/java/net/protocol/http/Connection.java: Use GetPropertyAction
3297         for privileged getProperty calls.
3298         * java/io/ObjectOutputStream.java (getField): No longer static. Use
3299         SetAccessibleAction instead of anonymous class for doPrivileged call.
3300         (getMethod): Likewise.
3301         (setAccessible): New field. PrivilegedAction object to use when
3302         calling setAccessible.
3303         * java/io/ObjectStreamClass.java (calculateOffsets): Use
3304         SetAccessibleAction instead of anonymous class for diPrivileged call.
3305         (setFields): Likewise.
3306         (getClassUID): Likewise.
3307         (findMethod): Likewise.
3308         * gnu/java/security/action/GetPropertyAction.java: New class.
3309         * gnu/java/security/action/SetAccessibleAction.java: New class. 
3311 2004-07-23  Bryce McKinlay  <mckinlay@redhat.com>
3313         * java/io/ObjectStreamField (ObjectStreamField): Don't unset 'toset'
3314         for final fields.
3315         * testsuite/libjava.lang/Serialization.java: New test.
3316         * testsuite/libjava.lang/Serialization.out: New.
3318 2004-07-23  Bryce McKinlay  <mckinlay@redhat.com>
3320         * gnu/java/net/DefaultContentHandlerFactory.java: Check in real file
3321         missed in last commit.
3323 2004-07-23  Mark Wielaard  <mark@klomp.org>
3325         * java/lang/System.java (static): Set http.agent system property when
3326         not yet set.
3327         * gnu/java/net/protocol/http/Connection.java (static): Get httpAgent
3328         from system property inside AccessController.doPrivileged() call.
3329         (proxyPort): Made package private.
3330         (proxyInUse): Likewise.
3331         (proxyHost): Likewise.
3332         (userAgent): Likewise.
3334 2004-07-23  Mark Wielaard  <mark@klomp.org>
3336         * gnu/java/net/DefaultContentHandlerFactory.java: New dummy
3337         implementation.
3339 2004-07-22  Bryce McKinlay  <mckinlay@redhat.com>
3341         * Makefile.am (ordinary_java_source_files): Add
3342         DefaultContentHandlerFactory.java.
3343         * Makefile.in: Rebuilt.
3344         * java/net/URLConnection.java (defaultFactory): New field.
3345         (getContent): 
3346         (getContentHandler): Renamed from 'setContentHandler'. Try 
3347         defaultFactory after user-set factory, if any. Search for content 
3348         handler implementations in gnu.java.net.content, not gnu.gcj.content.
3349         * gnu/java/net/protocol/file/Connection.java (getHeaderField):
3350         Implemented.
3351         (getLastModified): Implemented.
3352         (getPermission): Create file permission here, instead of in
3353         constructor.
3354         * gnu/java/net/protocol/gcjlib/Connection.java (getHeaderField):
3355         Implemented.
3356         * gnu/java/net/protocol/jar/Connection.java (getHeaderField):
3357         Implemented.
3358         (getLastModified): Implemented.
3359         * gnu/java/awt/ClasspathToolkit.java (createImageProducer): New.
3360         Default implementation.
3361         * gnu/java/awt/peer/gtk/GtkToolkit.java (createImageProducer): New.
3362         Implement using GdkPixbufDecoder.
3363         
3364 2004-07-21  Michael Koch  <konqueror@gmx.de>
3366         * javax/swing/JTextArea.java
3367         (setLineWrap): Fire property change event after new value is set.
3368         (setTabSize): Likewise.
3370 2004-07-21  Michael Koch  <konqueror@gmx.de>
3372         * javax/swing/JTable.java
3373         (autoCreateColumnsFromModel): New field.
3374         (autoResizeMode): Likewise.
3375         (cellEditor): Likewise.
3376         (cellSelectionEnabled): Likewise.
3377         (columnModel): Likewise.
3378         (dataModel): Likewise.
3379         (defaultEditorsByColumnClass): Likewise.
3380         (defaultRenderersByColumnClass): Likewise.
3381         (editingColumn): Likewise.
3382         (editingRow): Likewise.
3383         (gridColor): Likewise.
3384         (preferredViewportSize): Likewise.
3385         (rowHeight): Likewise.
3386         (rowMargin): Likewise.
3387         (rowSelectionAllowed): Likewise.
3388         (selectionBackground): Likewise.
3389         (selectionForeground): Likewise.
3390         (selectionModel): Likewise.
3391         (showHorizontalLines): Likewise.
3392         (showVerticalLines): Likewise.
3393         (tableHeader): Likewise.
3394         (JTable): Implemented.
3395         (getColumnModel): Likewise.
3396         (getSelectedRow): Likewise.
3397         (getSelectionModel): Likewise.
3398         (setModel): Likewise.
3399         (setSelectionModel): Likewise.
3400         (createScrollPaneForTable): New method.
3401         (createDefaultDataModel): Likewise.
3402         (createDefaultListSelectionModel): Likewise.
3403         (getModel): Likewise.
3404         (getTableHeader): Likewise.
3405         (setTableHeader): Likewise.
3406         (getColumnSelectionAllowed): Likewise.
3407         (setColumnSelectionAllowed): Likewise.
3408         (getRowSelectionAllowed): Likewise.
3409         (setRowSelectionAllowed): Likewise.
3410         (getAutoResizeMode): Likewise.
3411         (setAutoResizeMode): Likewise.
3412         (getColumnCount): Likewise.
3413         (getRowCount): Likewise.
3414         (getCellRenderer): Likewise.
3415         * javax/swing/JTree.java
3416         (cellRenderer): New field.
3417         (editable): Likewise.
3418         (rootVisible): Likewise.
3419         (showsRootHandles): Likewise.
3420         (getModel): New method.
3421         (setModel): Likewise.
3422         (isEditable): Likewise.
3423         (setEditable): Likewise.
3424         (isRootVisbile): Likewise.
3425         (setRootVisible): Likewise.
3426         (getShowsRootHandles): Likewise.
3427         (setShowRootHandles): Likewise.
3428         (getCellRenderer): Likewise.
3429         (setCellRenderer): Likewise.
3431 2004-07-21  Michael Koch  <konqueror@gmx.de>
3433         * javax/swing/JFormattedTextField.java
3434         (setDocument): Implemented.
3435         * javax/swing/JRootPane.java:
3436         Fixed javadocs.
3437         * javax/swing/JTable.java
3438         (getDefaultRenderer): New method.
3439         * javax/swing/JTextField.java
3440         (setFont): Likewise.
3441         (getPreferredSize): Likewise.
3442         * javax/swing/JToggleButton.java
3443         (getAccessibleContext): Fix javadoc.
3444         * javax/swing/JTree.java:
3445         Add some javadocs.
3446         * javax/swing/JViewport.java:
3447         Likewise.
3449 2004-07-21  David Jee  <djee@redhat.com>
3451         * gnu/java/awt/peer/gtk/GtkFileDialogPeer.java:
3452         Collect all native method declaration at the top.
3453         (create): Set the filename filter if necessary.
3454         (setDirectory): Call nativeSetDirectory().
3455         (setFilenameFilter): Implement.
3456         (filenameFilterCallback): New method.
3457         * jni/gtk-peer/gnu_java_awt_peer_gtk_GtkFileDialogPeer.c
3458         (create): Configure dialog to show hidden files.
3459         (filenameFilterCallback): New function. 
3460         (nativeSetFilenameFilter): New function.
3461         (nativeSetDirectory): New function.
3463 2004-07-21  Kim Ho  <kho@redhat.com>
3465         * javax/swing/plaf/basic/BasicSliderUI.java:
3466         Ran Jalopy.
3467         (paintTrack): Fill the track before painting
3468         the borders.
3470 2004-07-21  Graydon Hoare  <graydon@redhat.com>
3472         patch from Roman Kennke <roman@ontographics.com>
3473         * javax/swing/Spring.java: New file.
3474         * javax/swing/SpringLayout.java: New file.
3475         * Makefile.am: Add new files.
3476         * Makefile.in: Regenerate.
3478 2004-07-21  Graydon Hoare  <graydon@redhat.com>
3480         * javax/swing/plaf/basic/BasicSplitPaneUI.java: Minor layout fixes.
3481         * javax/swing/plaf/basic/BasicTabbedPaneUI.java: Likewise.
3482         * javax/swing/ScrollPaneLayout.java: Likewise.
3484 2004-07-21  Kim Ho  <kho@redhat.com>
3486         * javax/swing/DefaultDesktopManager.java:
3487         (findMinimum): Removed.
3488         (resizeFrame): Trust the UI to pass valid 
3489         bounds.
3490         * javax/swing/JOptionPane.java:
3491         Implemented showInternalXXXDialog methods.
3492         (startModal): New method.
3493         * javax/swing/plaf/basic/BasicInternalFrameUI.java:
3494         (BorderListener::mouseDragged): Verify that the new 
3495         bounds are valid before passing them to the DesktopManager.
3496         (preferredLayoutSize): Delegate
3497         to getSize.
3498         (minimumLayoutSize): Ditto.
3499         (getSize): New method.
3500         (GlassPaneDispatcher): Reimplemented by copying 
3501         a stripped down LightweightDispatcher from Container.
3502         (getMinimumSize): Call minimumLayoutSize.
3503         * javax/swing/plaf/basic/BasicOptionPaneUI.java:
3504         Ran Jalopy.
3505         (mousePressed): Add ability to properly close 
3506         JInternalFrames.
3507         * javax/swing/plaf/basic/BasicToolBarUI.java:
3508         (DragWindow): Set owner for DragWindow.
3510 2004-07-21  Jerry Quinn  <jlquinn@optonline.net>
3512         * java/awt/image/ShortLookupTable.java: New file.
3513         * java/awt/image/ByteLookupTable.java: New file.
3514         * Makefile.am: Added new files.
3515         * Makefile.in: Regenerated.
3517 2004-07-21  David Jee  <djee@redhat.com>
3519         * gnu/java/awt/peer/gtk/GtkFileDialogPeer.java
3520         (create(GtkContainerPeer)): New native method.
3521         (create()): Call native create(), passing in the parent frame
3522         as the paramter. Natively set the current file and directory.
3523         (setFile): Construct an absolute filename before passing it to
3524         the native peer.
3525         (nativeGetDirectory): New method.
3526         * jni/gtk-peer/gnu_java_awt_peer_gtk_GtkFileDialogPeer.c
3527         (window_closed): Removed.
3528         (ok_clicked): Likewise.
3529         (cancel_clicked): Likewise.
3530         (handle_response): New method.
3531         (create): Use GtkFileChooserDialog.
3532         (connectSignals): Connect to handle_response.
3533         (nativeGetDirectory): New method.
3534         (nativeSetFile): Use GtkFileChooserDialog.
3536 2004-07-21  Jerry Quinn  <jlquinn@optonline.net>
3538         * java/awt/image/LookupTable.java: New file.
3539         * Makefile.am: Added new file.
3540         * Makefile.in: Regenerated.
3542 2004-07-21  Jerry Quinn  <jlquinn@optonline.net>
3544         * java/awt/image/Kernel.java: New file.
3545         * Makefile.am: Added new file.
3546         * Makefile.in: Regenerated.
3548 2004-07-21  Olga Rodimina  <rodimina@redhat.com>
3550         * javax/swing/JCheckBoxMenuItem.java: Fixed Javadocs.
3551         * javax/swing/JMenu.java: Likewise.
3552         * javax/swing/JMenuBar.java: Likewise.
3553         (MARGIN_CHANGED_PROPERTY): New property.
3554         (setMargin): Implemented.
3555         * javax/swing/JMenuItem.java: Fixed javadocs.
3556         * javax/swing/JPopupMenuUI.java: Fixed javadocs.
3557         (LABEL_CHANGED_PROPERTY): New property.
3558         (add): changed to use createActionComponent.
3559         (createActionComponent): Implemented.   
3560         (setLabel): Fire PropertyChangeEvent if label property
3561         changes.
3562         * javax/swing/JRadioButtonMenuItem.java: Fixed javadocs.
3563         * javax/swing/plaf/basic/BasicMenuBarUI.java: Likewise.
3564         (ContainerHandler): Repaint if margin property has changed.
3565         * javax/swing/plaf/basic/BasicMenuItemUI.java:
3566         (installUI): Call installComponents().
3567         (uninstallUI): Call uinstallComponents().
3568         * javax/swing/plaf/basic/BasicMenuUI.java:
3569         Fixed javadocs.
3570         * javax/swing/plaf/basic/BasicPopupMenuUI.java:
3571         Likewise.
3573 2004-07-21  Kim Ho  <kho@redhat.com>
3575         * javax/swing/plaf/basic/BasicToolBarUI.java:
3576         (DragWindow): Use the right constructor.
3578 2004-07-21  Kim Ho  <kho@redhat.com>
3580         * javax/swing/JToolBar.java:
3581         (layoutContainer): Use getComponents.
3582         * javax/swing/plaf/basic/BasicToolBarUI.java:
3583         (DragWindow): Don't use SwingUtilities' 
3584         getOwnerFrame
3585         (ToolBarDialog): ditto.
3587 2004-07-21  Kim Ho  <kho@redhat.com>
3589         * javax/swing/JRootPane.java:
3590         Ran jalopy.
3591         (layoutContainer): Set the glasspane's size to 
3592         be the same as the content pane.
3593         (createGlassPane): Set opaque property to false.
3595 2004-07-21  Thomas Fitzsimmons  <fitzsim@redhat.com>
3597         * java/awt/Component.java (requestFocus()): Don't handle Panels
3598         specially.
3599         (requestFocus(boolean)): Likewise.
3600         (requestFocusInWindow(boolean)): Likewise.
3601         * jni/gtk-peer/gnu_java_awt_peer_gtk_GtkPanelPeer.c (create):
3602         Set GTK_CAN_FOCUS flag.
3604 2004-07-21  Kim Ho  <kho@redhat.com>
3606         * Makefile.am: Added new file.
3607         * Makefile.in: Regenerated.
3608         * gcj/Makefile.in: Regenerated.
3609         * include/Makefile.in: Regenerated.
3610         * javax/swing/AbstractButton.java:
3611         Add rollOverEnabled property.
3612         (setRolloverEnabled): Use new property.
3613         (isRolloverEnabled): Use new property.
3614         * javax/swing/JTabbedPane.java:
3615         (setComponent): Remove useless JTabbedPane.this.
3616         * javax/swing/JToolBar.java: Finish implementation.
3617         * javax/swing/plaf/basic/BasicArrowButton.java:
3618         (paint): Moved border painting to a border.
3619         * javax/swing/plaf/basic/BasicLookAndFeel.java:
3620         Change JToolBar look and feel defaults.
3621         * javax/swing/plaf/basic/BasicOptionPaneUI.java
3622         (actionPerformed): Return Integer index instead of name.
3623         (addButtonComponents): Check to see if component is
3624         JButton last.
3625         (createMessageArea): Don't use components that are not
3626         completed yet.
3627         (getIconForType): Use temporary icons.
3628         * javax/swing/plaf/basic/BasicSliderUI.java:
3629         (mousePressed): Do not return if it's on thumb.
3630         (paintMinorTickForHorizSlider): Use BLACK to paint ticks.
3631         (paintMinorTickForVertSlider): ditto.
3632         (paintMajorTickForHorizSlider): ditto.
3633         (paintMajorTickForVertSlider): ditto.
3634         * javax/swing/plaf/basic/BasicSplitPaneDivider.java:
3635         Add a border around the SplitPaneDivider.
3636         * javax/swing/plaf/basic/BasicSplitPaneUI.java:
3637         Remove comments.
3638         * javax/swing/plaf/basic/BasicToolBarSeparatorUI.java:
3639         New file. Implemented.
3640         * javax/swing/plaf/basic/BasicToolBarUI.java:
3641         Implemented.
3642         * testsuite/Makefile.in: Regenerated.
3644 2004-07-21  Graydon Hoare  <graydon@redhat.com>
3646         * javax/swing/Timer.java (run): Queue events each time cycle.
3648 2004-07-21  David Jee  <djee@redhat.com>
3650         * gnu/java/awt/peer/gtk/GtkImagePainter.java
3651         (imageComplete): Call image.imageComplete().
3652         * java/awt/image/MemoryImageSource.java:
3653         Reimplement consumers as a Vector instead of a Hashtable.  This is
3654         because enumeration on a Hashtable is not thread-safe.
3655         (addConsumer): Adapt to Vector consumers.
3656         (isConsumer): Adapt to Vector consumers.
3657         (removeConsumer): Adapt to Vector consumers.
3658         (startProduction): Adapt to Vector consumers. Call imageComplete()
3659         with STATICIMAGEDONE flag instead of SINGLEFRAME flag.
3660         (newPixels): Adapt to Vector consumers.
3661         (sendPicture): Set the color model of the image consumer.
3662         (newPixels(IIII)): Adapt to Vector consumers.
3663         (newPixels(IIIIB)): Adapt to Vector consumers.
3665 2004-07-21  Thomas Fitzsimmons  <fitzsim@redhat.com>
3667         * java/awt/Component.java (deliverEvent): Implement.
3668         (postEvent): Implement.
3669         (handleEvent): Implement.
3670         (translateEvent): New method.
3671         (dispatchEventImpl): Document.  Add AWT 1.0 event handling.
3672         * java/awt/Container.java (deliverEvent): Implement.
3673         * java/awt/Event.java (paramString): Fix formatting.
3674         * java/awt/Font.java (toString): Likewise.
3675         * java/awt/Window.java (postEvent): Implement.
3677 2004-07-21  Thomas Fitzsimmons  <fitzsim@redhat.com>
3679         * java/awt/DefaultKeyboardFocusManager.java (dispatchEvent):
3680         Set window's focus owner upon receiving a FOCUS_LOST event.
3681         * java/awt/Window.java (Window()): Refocus the previously
3682         focused component within the window when the window regains the
3683         top-level focus.
3684         (setFocusOwner): New method.
3685         * java/awt/Component.java (requestFocus): Add FIXME.
3687         * libgcj.pc.in: Remove library flags.
3689 2004-07-21  Thomas Fitzsimmons  <fitzsim@redhat.com>
3691         * gnu/java/awt/peer/gtk/GtkPanelPeer.java (handleEvent): Handle
3692         MOUSE_PRESSED event.
3693         * java/awt/Component.java (requestFocus()): Handle Panel
3694         specially.  Post FOCUS_LOST event on opposite component.
3695         (requestFocus(boolean)): Likewise.
3696         (requestFocusInWindow(boolean)): Likewise.
3697         (paramString): Reorder dimension fields.
3698         * java/awt/Container.java (paramString): Fix string format.
3699         * java/awt/DefaultKeyboardFocusManager.java (dispatchEvent):
3700         Handle FOCUS_LOST events.  Don't handle Windows specially.  Only
3701         process key events if the focus owner is non-null.
3702         (dispatchKeyEvent): Likewise.
3703         * java/awt/Frame.java (paramString): Fix formatting.
3704         (generateName): New method.
3705         (getUniqueLong): Likewise.
3706         * java/awt/KeyboardFocusManager.java (getFocusOwner): Check if
3707         the temporary focus owner is null.  If so, return the permanent
3708         focus owner.
3709         * java/awt/Panel.java (generateName): New method.
3710         (getUniqueLong): Likewise.
3711         * jni/gtk-peer/gnu_java_awt_peer_gtk_GtkWindowPeer.c: Rework
3712         signal handling to make callbacks more specific.
3714 2004-07-21  Michael Koch  <konqueror@gmx.de>
3716         * javax/swing/text/Position.java
3717         (Bias): Implemented.
3719 2004-07-21  Michael Koch  <konqueror@gmx.de>
3721         * javax/swing/LookAndFeel.java
3722         (provideErrorFeedback): New method.
3724 2004-07-21  Michael Koch  <konqueror@gmx.de>
3726         * javax/swing/JTextArea.java
3727         (tabSize): New field.
3728         (getTabSize): New method.
3729         (setTabSize): Likewise.
3731 2004-07-21  Michael Koch  <konqueror@gmx.de>
3733         * javax/swing/ActionMap.java:
3734         Fixed javadocs all over.
3735         (serialVersionUID): Made private.
3736         (parent): Don't explicitely initialize with default value.
3737         (get): SImplified.
3738         (keys): Reimplemented.
3739         (allKeys): Likewise.
3740         (convertSet): Removed.
3741         * javax/swing/ComponentInputMap.java:
3742         Fixed javadocs all over.
3743         (ComponentInputMap): Implemented.
3744         (put): Likewise.
3745         (clear): Likewise.
3746         (remove): Likewise.
3747         (SetParent): Likewise.
3748         (getComponent): Likewise.
3749         * javax/swing/InputMap.java:
3750         Fixed javadocs all over.
3751         (serialVersionUID): Made private.
3752         (parent): Don't explicitely initialize with default value.
3753         (get): SImplified.
3754         (keys): Reimplemented.
3755         (allKeys): Likewise.
3756         (convertSet): Removed.
3758 2004-07-21  Michael Koch  <konqueror@gmx.de>
3760         * javax/swing/ActionMap.java,
3761         javax/swing/ComponentInputMap.java,
3762         javax/swing/InputMap.java,
3763         javax/swing/table/DefaultTableColumnModel.java,
3764         javax/swing/table/TableColumn.java,
3765         javax/swing/table/TableColumnModel.java,
3766         javax/swing/table/TableModel.java,
3767         javax/swing/text/AbstractDocument.java,
3768         javax/swing/text/TextAction.java:
3769         Reformated.
3771 2004-07-21  Graydon Hoare  <graydon@redhat.com>
3773         * gnu/java/awt/peer/gtk/GtkToolkit.java (bufferedImageOrError): 
3774         Make method non-static.
3775         * javax/swing/AbstractButton.java:
3776         Rename fields to match property names where possible.
3777         (iconTextGap): New property.
3778         * javax/swing/JCheckBox.java: Match AbstractButton changes.
3779         (init) New method, call from after various constructors.
3780         * javax/swing/JComponent.java (revalidate): 
3781         Invalidate before queueing repair.
3782         * javax/swing/JList.java (getPreferredScrollableViewportSize):
3783         Reimplement in terms of visibleRowCount property.
3784         * javax/swing/JMenuButton.java: Match AbstractButton changes.
3785         * javax/swing/JScrollPane.java (createScrollListener): 
3786         Remove tracing chatter.
3787         * javax/swing/JToggleButton.java: Match AbstractButton changes.
3788         * javax/swing/RepaintManager.java (addInvalidComponent): 
3789         Don't invalidate.
3790         * javax/swing/ScrollPaneLayout.java: Various corrections to layout
3791         calculations.
3792         * javax/swing/SwingUtilities.java (layoutCompoundLabel): 
3793         Mimic sun behavior on top left/right positioning.
3794         * javax/swing/ViewportLayout.java (preferredLayoutSize):
3795         Remove mistaken use of preferredScrollableViewportSize here.
3796         (layoutContainer): Use view's preferred size as basis.
3797         * javax/swing/plaf/basic/BasicButtonUI.java:
3798         Set, get, and use textIconGap property.
3799         (paint) Paint text returned from layout (with ellipsis).
3800         * javax/swing/plaf/basic/BasicListUI.java:
3801         Remove tracing chatter, correct various minor calculations.
3802         (getCellBounds): Update layout state before calculating.
3803         * javax/swing/plaf/basic/BasicLookAndFeel.java (Button.Margin):
3804         Use margin default similar to sun's.    
3805         * javax/swing/plaf/basic/BasicScrollBarUI.java (ArrowIcon):
3806         (createIncreaseIcon): Center icon, minimize margins.
3807         (createDecreaseIcon): Likewise.
3808         * javax/swing/plaf/basic/BasicScrollPaneUI.java (installDefaults):
3809         Implement.
3810         (installUI): Call it.
3811         (uninstallDefaults): Implement.
3812         (uninstallUI): Call it.
3813         * javax/swing/plaf/basic/BasicToolBarUI.java (DragWindow):
3814         Call existing Window constructor.
3815         * javax/swing/plaf/basic/BasicViewportUI.java (paint):
3816         Set clip before painting.
3818 2004-07-21  Olga Rodimina <rodimina@redhat.com>
3819         
3820         * javax/swing/JMenuItem.java:
3821         (processMouseEvent): Reimplemented to deal with
3822         mouse drag events.
3823         (createMenuDragMouseEvent): New private helper method.
3824         Creates MenuDragMouseEvent.
3825         * javax/swing/MenuSelectionManager.java
3826         (componentForPoint): Implemented.
3827         (isComponentPartOfCurrentMenu): Made public.
3828         (processMouseEvent): Reimplemented to deal with 
3829         mouse drag events.
3830         (setSelectedPath): Corrected small mistake that caused
3831         path to be set incorrectly.
3832         (getPath): If given component is JMenu then also add this
3833         menu's popup menu to the selected path.
3834         * javax/swing/plaf/basic/BasicMenuItemUI.java:
3835         (getPath): Ditto.
3836         (getPreferredSize): Call getPreferredMenuItemSize().
3837         (getPreferredItemSize): Moved code from getPreferredSize to here.
3838         (installListeners): Install MouseMotionListeners.
3839         (MouseInputHandler): Pass mouse release event to MenuSelectionManager 
3840         if mouse wasn't released in the bounds of this menu item.
3841         (MenuDragMouseHandler): Implemented.
3842         * javax/swing/plaf/basic/BasicMenuUI.java:
3843         (installListeners): Install MouseMotionListener and 
3844         MenuDrageMouseListener.
3845         (MenuDragMouseHandler): Implemented.
3846         * javax/swing/plaf/basic/BasicPopupMenuUI.java:
3847         (uninstallListeners): Implemented.
3848         
3849 2004-07-21  Michael Koch  <konqueror@gmx.de>
3851         * javax/swing/JCheckBox.java: Reformated.
3852         (JCheckBox): Fixed all constructors.
3853         (isBorderPaintedFlat): New method.
3854         (setBorderPaintedFlat): New method.
3855         * javax/swing/JEditorPane.java
3856         (createEditorKitForContentType): Made public.
3857         (scrollToReference): Likewise.
3858         * javax/swing/JTextArea.java
3859         (setLineWrap): Fire property change.
3860         * javax/swing/JToggleButton.java
3861         (JToggleButton): New constructor.
3862         (JToggleButton): Simplified.
3863         * javax/swing/text/AttributeSet.java
3864         (FontAttribute): Renamed from FontCharacterAttribute.
3865         * javax/swing/text/JTextComponent.java
3866         (KeyBinBinding): Added javadoc.
3867         (JTextComponent): Likewise.
3868         (getAccessibleContext): Fixed javadoc.
3869         * javax/swing/text/View.java
3870         (View): Added javadoc.
3871         * javax/swing/text/TabableView.java: New file.
3872         * Makefile.am: Added javax/swing/text/TabableView.java.
3873         * Makefile.in: Regenerated.
3875 2004-07-21  Graydon Hoare  <graydon@redhat.com>
3877         * java/awt/image/BufferedImage.java (getSource): Remove tracing chatter.
3878         * gnu/java/awt/peer/gtk/GtkToolkit.java 
3879         (GtkErrorImage): New helper class.
3880         (bufferedImageOrError): New helper method.
3881         (createImage): Use it.
3883 2004-07-21  David Jee  <djee@redhat.com>
3885         * jni/gtk-peer/gnu_java_awt_peer_gtk_GtkTextComponentPeer.c
3886         (setCaretPosition): Scroll the text view so the new caret position
3887         is visible on screen.
3889 2004-07-21  David Jee  <djee@redhat.com>
3891         * gnu/java/awt/peer/gtk/GtkContainerPeer.java
3892         (setBounds): Do not validate awtComponent here.
3893         * gnu/java/awt/peer/gtk/GtkScrollPanePeer.java
3894         (getPreferredSize): New method.
3895         * java/awt/ScrollPane.java
3896         (ScrollPane): Set default size to 100x100.
3897         (addNotify): If child is not a Panel, wrap it with a new Panel.
3898         (paramString): Implement.
3900 2004-07-21  Olga Rodimina  <rodimina@redhat.com>
3902         * javax/swing/JMenu.java:
3903         (setSelected): Display popup menu only if this menu 
3904         is showing on the screen.
3905         * javax/swing/JPopupMenu.java:
3906         (processMouseEvent): Added comment.
3907         (processKeyEvent): Likewise.
3908         * javax/swing/MenuSelectionManager.java:
3909         (clearSelectedPath): Only fireStateChanged() after
3910         selected path was changed, not before.
3911         (setSelectedPath): Likewise.
3912         * javax/swing/plaf/basic/BasicMenuItemUI.java:
3913         (paintMenuItem): Corrected position of menu item's
3914         icon.
3915         * javax/swing/plaf/basic/BasicPopupMenuUI.java:
3916         (installUI): Correct setDefaultLightWeightPopupEnabled call.
3917         (popupMenuCanceled): Reimplemented.
3918         (popupMenuWillBecomeVisible): Select first menu item by default 
3919         when displaying free floating popup menus.
3920         (TopWindowListener): Reimplemented.
3922 2004-07-21  Thomas Fitzsimmons  <fitzsim@redhat.com>
3924         * java/awt/Panel.java (dispatchEventImpl): Override to prevent
3925         Panel from being painted twice when it is first shown.
3927 2004-07-21  Olga Rodimina  <rodimina@redhat.com>
3929         * java/awt/Window.java: Reverted changes from my 
3930         previous patch for creating window without an owner.
3931         * javax/swing/SwingUtilities.java: 
3932         (SwingUtilities.OwnerFrame): made static.
3933         (OwnerFrame.setVisible): New method. Overridden with
3934         empty implementation.
3935         (OwnerFrame.isShowing): New method. Ovverridden
3936         to return always true.
3938 2004-07-21  Thomas Fitzsimmons  <fitzsim@redhat.com>
3940         * gnu/java/awt/peer/gtk/GtkComponentPeer.java,
3941         jni/gtk-peer/gnu_java_awt_peer_gtk_GtkComponentPeer.c
3942         (GtkComponentPeer): Remove temporary try/catch block.
3943         (setVisible): Call show and hide.
3944         (show): Make native.
3945         (hide): Likewise.
3946         (getArgs): Don't add "visible" argument.
3947         * jni/gtk-peer/gnu_java_awt_peer_gtk_GtkWindowPeer.c
3948         (property_notify_predicate): Return Bool instead of int.
3949         (find_layout): New function.
3950         (connectJObject): Call find_layout.
3951         (connectSignals): Likewise.
3952         (moveLayout): Likewise.
3953         (gtkLayoutSetVisible): Likewise.
3955 2004-07-21  Mark Wielaard  <mark@klomp.org>
3957         * java/awt/event/InvocationEvent.java (dispatch): Synchronize
3958         on notifier object before calling notifyAll().
3960 2004-07-21  Olga Rodimina  <rodimina@redhat.com>
3962         * java/awt/Window.java: Changed constructors to use new
3963         method that is described below. Constructors call this
3964         methods only if newly created window should have an owner.
3965         (setWindowOwner): New method. Implementation for
3966         this method is moved from this(owner,configuration).
3967         * javax/swing/JWindow.java:
3968         (JWindow): Reimplement to use SwingUtilities.ownerFrame
3969         instead of owner.
3970         * javax/swing/SwingUtilities.java:
3971         (ownerFrame): Change type of this field to OwnerFrame.
3972         (getOwnerFrame): Changed to return object of type OwnerFrame.
3973         (SwingUtilities.OwnerFrame): New class. Represents owner
3974         of a Window that is not provided with one.
3976 2004-07-21  Olga Rodimina  <rodimina@redhat.com>
3978         *  javax/swing/AbstractButton.java: 
3979         (configurePropertiesFromAction): Set action command
3980         to button's text by default if action command is not 
3981         explicitely specified.
3982         * javax/swing/JMenu.java: Remove unnecessary listener
3983         and methods relevant to it.
3984         (setSelected): Reimplemented.
3985         (menuSelectionChanged): Moved most part of implementation to
3986         setSelected() and call it instead.
3987         * javax/swing/JMenuItem.java: 
3988         (init): Comment out statement that sets paint_border to false.
3989         (configurePropertiesFromAction): Do not set accelerator
3990         for JMenu.
3991         (menuSelectionChanged): Change selected index in the selection
3992         model of menu item's parent.
3993         * javax/swing/JPopupMenu.java:
3994         (remove): Set constraints.fill field to GridBagConstraints.BOTH
3995         instead of GridBagConstraints.HORIZONTAL.
3996         (insert): Likewise.
3997         (createActionChangeListener): Implemented.
3998         (setVisible): Correct location of HeavyWeightMenu and 
3999         don't firePopupMenuCanceled().
4000         (menuSelectionChanged): Implemented.
4001         (ActionChangeListener): New Listener. Implemented.
4002         * javax/swing/plaf/basic/BasicMenuBarUI.java:
4003         (BasicMenuBarUI.ContainerHandler): Implemented.
4004         * javax/swing/plaf/basic/BasicMenuItemUI.java:
4005         (paintMenuItem): Uncommented out code that paints 
4006         icon, now that icons are working properly.
4007         (PropertyChangeListener): Implemented.
4008         * javax/swing/plaf/basic/BasicPopupMenuUI.java:
4009         Added javadocs.
4010         (topWindowListener): New field.
4011         (Constructor): initialize topWindowListener.
4012         (BasicPopupMenuUI.TopWindowListener): Implemented.      
4013         (BasicPopupMenuUI.PopupMenuHandler): Implemented.
4014         (BasicPopupMenuUI.TopWindowListener): New ComponentListener.
4015         Implemented.
4017 2004-07-21  Michael Koch  <konqueror@gmx.de>
4019         * javax/swing/plaf/basic/BasicButtonUI.java
4020         (paintFocus): Fixed method signature.
4021         (paintButtonPressed): Likewise.
4022         (paintButtonNormal): Likewise.
4023         (paintText): New method.
4024         * javax/swing/plaf/basic/BasicLabelUI.java
4025         (paint): Re-indented.
4026         * javax/swing/plaf/basic/BasicTextUI.java
4027         (installUI): Set parent textComponent to opaque.
4028         * javax/swing/text/DefaultHighlighter.java
4029         (checkPositions): New helper method.
4030         (addHighlight): Throws BadLocationException, check positions.
4031         (changeHighlight): Likewise.
4032         * javax/swing/text/EditorKit.java
4033         (EditorKit): Implements Serializable.
4034         * javax/swing/text/JTextComponent.java
4035         (getUI): Added javadoc.
4036         (setUI): Likewise.
4037         (upadteUI): Added javadoc, don't revalidate and repaint.
4039 2004-07-21  David Jee  <djee@redhat.com>
4041         * java/awt/GridBagLayout.java
4042         (ArrangeGrid): Use PREFERREDSIZE instead of MINSIZE.
4043         * javax/swing/AbstractButton.java
4044         (setText): Reindent.
4045         * javax/swing/RepaintManager.java
4046         (addInvalidComponent): Find the first ancestor that isValidateRoot().
4048 2004-07-21  Michael Koch  <konqueror@gmx.de>
4050         * javax/swing/JFormattedTextField.java
4051         (value): New field.
4052         (JFormattedTextField): Implemented.
4053         (getValue): Likewise.
4054         (setValue): Likewise.
4055         * javax/swing/LookAndFeel.java
4056         (getSupportsWindowDecorations): New method.
4057         * javax/swing/UIDefaults.java:
4058         Use java.beans.PropertyChangeSupport instead of doing all ourself.
4059         (addPropertyChangeListener): Made public.
4060         (addResourceBundle): Likewise.
4061         (removeResourceBundle): Likewise.
4062         (setDefaultLocale): Likewise.
4063         * javax/swing/plaf/basic/BasicRootPaneUI.java
4064         (BasicRootPaneUI): Implements PropertyChangeListener.
4065         (propertyChange): New method.
4066         * javax/swing/plaf/basic/BasicTextUI.java
4067         (BasicHighlighter): New inner class.
4068         (createHighlighter): New method.
4069         * javax/swing/plaf/basic/BasicToolBarUI.java
4070         (DragWindow): Extends java.awt.Window.
4071         * javax/swing/text/JTextComponent.java
4072         (getDocument): Removed debug output.
4073         * javax/swing/plaf/basic/BasicTextFieldUI.java,
4074         javax/swing/text/DefaultHighlighter.java,
4075         javax/swing/text/FieldView.java,
4076         javax/swing/text/PlainView.java: New files.
4077         * Makefile.am: Added new files.
4078         * Makefile.in: Regenerated.
4080 2004-07-21  Michael Koch  <konqueror@gmx.de>
4082         * javax/swing/JEditorPane.java
4083         (createDefaultEditorKit): Use javax.swing.text.DefaultEditorKit.
4084         (createEditorKitForContentType): Likewise.
4085         * javax/swing/text/DefaultEditorKit.java
4086         (serialVersionUID): Added constant field.
4087         (EndOfLineStringPropery): Fixed typo.
4088         (DefaultEditorKit): New constructor.
4089         * javax/swing/text/Segment.java:
4090         Import java.text.CharacterIterator.
4091         * javax/swing/text/CharacterIterator.java,
4092         javax/swing/text/PlainEditorKit.java: Removed.
4093         * Makefile.am: Removed javax/swing/text/CharacterIterator.java and
4094         javax/swing/text/PlainEditorKit.java.
4095         * Makefile.in: Regenerated.
4097 2004-07-21  Michael Koch  <konqueror@gmx.de>
4099         * javax/swing/JButton.java,
4100         javax/swing/text/DefaultEditorKit.java,
4101         javax/swing/text/EditorKit.java,
4102         javax/swing/text/Segment.java,
4103         javax/swing/text/StyledEditorKit.java:
4104         Reformatted.
4106 2004-07-21  Michael Koch  <konqueror@gmx.de>
4108         * javax/swing/ImageIcon.java
4109         (file): Removed.
4110         (description): Renamed from descr.
4111         (ImageIcon): Added missing constructors.
4112         (setParent): Removed.
4113         (setImageObserver): New method.
4114         (getImageObserver): New method.
4115         (paintIcon): Handle observer = null.
4116         * javax/swing/JButton.java
4117         (removeNotify): Fixed javadoc.
4118         (updateUI): Simplified.
4119         * javax/swing/JRootPane.java
4120         (serialVersionUID): New constant field.
4121         * javax/swing/UIManager.java:
4122         Fixed javadocs all over.
4123         (setLookAndFeel): Throws UnsupportedLookAndFeelException.
4124         * javax/swing/text/AbstractDocument.java
4125         (createPosition): Throws BadLocationException.
4126         (getText): Likewise.
4127         (remove): Likewise.
4128         * javax/swing/text/ComponentView.java
4129         (modelToView): Likewise.
4130         * javax/swing/text/DefaultEditorKit.java:
4131         Made all public methods public.
4132         (read): Throws BadLocationException and IOException.
4133         (write): Likewise.
4134         * javax/swing/text/EditorKit.java:
4135         Made all public methods public.
4136         (serialVersionUID): New constant field.
4137         (clone): New method.
4138         (read): Throws BadLocationException and IOException.
4139         (write): Likewise.
4140         * javax/swing/text/Segment.java
4141         (array): Made public.
4142         (count): Likewise.
4143         (offset): Likewise.
4144         (Segment): New constructors.
4145         (clone): Reimplemented.
4146         * javax/swing/text/StyledEditorKit.java
4147         (serialVersionUID): New constant field.
4149 2004-07-21  Graydon Hoare  <graydon@redhat.com>
4151         * java/awt/image/BufferedImage.java 
4152         (getSource): Implement.
4153         * javax/swing/ImageIcon.java 
4154         (ImageIcon): Implement ctor.
4155         * javax/swing/ScrollPaneLayout.java 
4156         (preferredLayoutSize): Be more careful about nulls.
4158 2004-07-21  Michael Koch  <konqueror@gmx.de>
4160         * javax/swing/text/AttributeSet.java
4161         (CharacterAttribute): New interface
4162         (ColorAttribute): Likewise.
4163         (FontCharacterAttribute): Likewise.
4164         (ParagraphAttribute): Likewise.
4165         * javax/swing/text/DefaultCaret.java
4166         (moveCaret): New method.
4167         (positionCaret): Likewise.
4168         (repaint): Made protected.
4169         * javax/swing/text/JTextComponent.java
4170         (KeyBinding): Made it static.
4171         * javax/swing/text/View.java
4172         (getContainer): Honor parent == null.
4174 2004-07-21  Michael Koch  <konqueror@gmx.de>
4176         * javax/swing/text/AbstractDocument.java:
4177         Reformatted.
4179 2004-07-21  Michael Koch  <konqueror@gmx.de>
4181         * javax/swing/plaf/basic/BasicRootPaneUI.java:
4182         Import javax.swing.UIManager explicitely.
4183         * javax/swing/plaf/basic/BasicTabbedPaneUI.java
4184         (ScrollingButton): Made it static.
4186 2004-07-21  Michael Koch  <konqueror@gmx.de>
4188         * javax/swing/UIDefaults.java
4189         (ActiveValue): Made public.
4190         (LazyValue): Likewise.
4191         * javax/swing/plaf/basic/BasicTextUI.java
4192         (RootView): Reintroduced.
4193         (view): Removed.
4194         (rootView): New field.
4195         (installUI): Create document if needed, initialize rootView.
4196         (uninstallUI): Hanle rootView.
4197         (paint): Likewise.
4198         (getRootView): Likewise.
4199         (setView): Likewise.
4200         * javax/swing/text/DefaultCaret.java:
4201         Renamed all "evt" variables to "event".
4203 2004-07-21  Thomas Fitzsimmons  <fitzsim@redhat.com>
4205         * libgcj.spec.in: Add -l-java-util-logging.
4207 2004-07-21  Andreas Tobler  <a.tobler@schweiz.ch>
4209         * jni/gtk-peer/gnu_java_awt_peer_gtk_GtkMainThread.c
4210         (init_dpi_conversion_factor): Check for int_dpi < 0 in case
4211         gtk-xft-dpi can no calculate the right value.
4212         (dpi_changed_cb): Mark *pspec as unsused.
4214 2004-07-21  David Jee  <djee@redhat.com>
4216         * java/awt/Component.java
4217         (move): Delegate to setBounds().
4218         (resize): Likewise.
4219         (reshape): Fix so it repaints parent and self only when necessary.
4221 2004-07-21  David Jee  <djee@redhat.com>
4223         * gnu/java/awt/peer/gtk/GtkComponentPeer.java,
4224         jni/gtk-peer/gnu_java_awt_peer_gtk_GtkComponentPeer.c
4225         (GtkComponentPeer): Revert previous patch from 2004-06-22.
4226         (setVisible): Likewise.
4227         (show): Likewise.
4228         (hide): Likewise.
4229         (getArgs): Likewise.
4230         * jni/gtk-peer/gnu_java_awt_peer_gtk_GtkWindowPeer.c
4231         (property_notify_predicate): Likewise.
4232         (find_layout): Likewise.
4233         (connectJObject): Likewise.
4234         (connectSignals): Likewise.
4235         (moveLayout): Likewise.
4236         (gtkLayoutSetVisible): Likewise.
4238 2004-07-21  Graydon Hoare  <graydon@redhat.com>
4240         * Makefile.am
4241         (jv_convert_LDADD):
4242         (gij_LDADD):
4243         (rmic_LDADD):
4244         (rmiregistry_LDADD): Add lib-java-util-logging.la
4245         * Makefile.in: Regenerate.
4247 2004-07-21  Michael Koch  <konqueror@gmx.de>
4249         * javax/swing/text/AbstractDocument.java
4250         (replace): Dont use protected method of java.util.Vector directly.
4252 2004-07-21  Michael Koch  <konqueror@gmx.de>
4254         * javax/swing/plaf/basic/BasicTextUI.java
4255         (installUI): Call specialized install methods.
4256         (installDefaults): New method.
4257         (installListeners): Likewise.
4258         (installKeyboardActions): Likewise.
4259         (uninstallUI): Likewise.
4260         (uninstallDefaults): New method.
4261         (uninstallListeners): Likewise.
4262         (uninstallKeyboardActions): Likewise.
4263         (getPropertyPrefix): New abstract method.
4264         (paint): Made final, just call paintSafely().
4265         (paintSavely): New method.
4266         (paintBackground): Likewise.
4267         (getVisibleEditorRect): Likewise.
4268         * javax/swing/text/LayeredHighlighter.java,
4269         javax/swing/text/TabExpander.java: New files.
4270         * Makefile.am: Added javax/swing/text/LayeredHighlighter.java
4271         and javax/swing/text/TabExpander.java.
4272         * Makefile.in: Regenerated.
4274 2004-07-21  Michael Koch  <konqueror@gmx.de>
4276         * javax/swing/plaf/basic/BasicTextUI.java
4277         (BasicTextUI): Made abstract.
4278         (BasicCaret): New inner class.
4279         (view): Don't explicitely initialize with "null".
4280         (textComponent): New field.
4281         (textColor): Removed.
4282         (disabledTextColor): Removed.
4283         (normalBackgroundColor): Removed.
4284         (RootView): Removed commented out inner class.
4285         (createUI): Removed.
4286         (createCaret): New method.
4287         (getComponent): Likewise.
4288         (installUI): Initialize textComponent only.
4289         (getPreferredSize): Use installed JTextComponent.
4290         (setView): New method.
4291         (create): Likewise.
4292         * javax/swing/text/JTextComponent.java
4293         (highlighter): New field.
4294         (caretColor): Likewise.
4295         (disabledTextColor): Likewise.
4296         (seletedTextColor): Likewise.
4297         (selectionColor): Likewise.
4298         (setUI): New method.
4299         (getCaretColor): Likewise.
4300         (setCaretColor): Likewise.
4301         (getDisabledColor): Likewise.
4302         (setDisabledColor): Likewise.
4303         (getSelectedTextColor): Likewise.
4304         (setSelectedTextColor): Likewise.
4305         (getSelectionColor): Likewise.
4306         (setSelectionColor): Likewise.
4307         (getHighlighter): Likewise.
4308         (setHighlighter): Likewise.
4309         (replaceSelection): Likewise.
4311 2004-07-21  Michael Koch  <konqueror@gmx.de>
4313         * javax/swing/plaf/basic/BasicScrollPaneUI.java
4314         (BasicScrollPaneUI): Implements ScrollPaneConstants.
4315         * javax/swing/plaf/basic/BasicToolBarUI.java
4316         (BasicToolBarUI): Implements SwingConstants.
4318 2004-07-21  Michael Koch  <konqueror@gmx.de>
4320         * javax/swing/JPopupMenu.java: Removed CVS tags.
4321         * javax/swing/UIDefaults.java: Reformatted.
4322         * javax/swing/plaf/basic/BasicRootPaneUI.java:
4323         Explicitely import used classes.
4325 2004-07-21  Thomas Fitzsimmons  <fitzsim@redhat.com>
4327         * gnu/java/awt/peer/gtk/GtkComponentPeer.java,
4328         jni/gtk-peer/gnu_java_awt_peer_gtk_GtkComponentPeer.c
4329         (GtkComponentPeer): Remove temporary try/catch block.
4330         (setVisible): Call show and hide.
4331         (show): Make native.
4332         (hide): Likewise.
4333         (getArgs): Don't add "visible" argument.
4334         * jni/gtk-peer/gnu_java_awt_peer_gtk_GtkWindowPeer.c
4335         (property_notify_predicate): Return Bool instead of int.
4336         (find_layout): New function.
4337         (connectJObject): Call find_layout.
4338         (connectSignals): Likewise.
4339         (moveLayout): Likewise.
4340         (gtkLayoutSetVisible): Likewise.
4342 2004-07-21  Olga Rodimina  <rodimina@redhat.com>
4344         * javax/swing/AbstractButton.java:
4345         (setDisplayedMnemonicIndex): Check if button
4346         text is not null before checking its length.
4347         * javax/swing/JMenuItem.java:
4348         (processMouseEvent): Disarm menu item if mouse has
4349         exited it.
4350         * javax/swing/plaf/basic/BasicMenuUI.java:
4351         (MouseInputHandler.mouseEntered): Do not raise
4352         popup menu if this menu is already selected.
4353         (MouseInputHandler.mousePressed): Do not fire 
4354         MenuEvents.
4355         (MenuHandler): Implemented.     
4357 2004-07-21  Olga Rodimina  <rodimina@redhat.com>
4359         * javax/swing/JCheckBoxMenuItem.java: Added Javadoc.
4360         (getSelectedObjects): Implemented.
4361         * javax/swing/JRadioButtonMenuItem.java: Added Javadoc.
4362         * javax/swing/plaf/basic/BasicCheckBoxMenuItemUI.java: 
4363         Added javadoc for few methods.
4364         (processMouseEvent): Made public.
4365         * javax/swing/plaf/basic/BasicRadioButtonMenuItemUI.java
4366         (processMouseEvent): Likewise.
4368 2004-07-21  Olga Rodimina  <rodimina@redhat.com>
4370         * javax/swing/AbstractButton.java:
4371         (init): Set display mnemonic index to -1.
4372         (setMnemonic(char)): Use setMnemonic(int).
4373         (setMnemonic(int)): Set display mnemonic index.
4374         (getDisplayedMnemonicIndex): Change method signature
4375         by removing 'index' parameter.
4376         * javax/swing/plaf/basic/BasicLookAndFeel.java:
4377         Added default for Menu.selectionBackground.     
4378         * javax/swing/plaf/basic/BasicMenuItemUI.java:
4379         (paintMenuItem): Change background color of the selected
4380         menu item.
4381         (paintText): Paint differently when menu item is disabled.
4382         Also paint mnemonic if it appears in the menu item's label.
4383         (paintAccelerator): Paint accelerator differently
4384         if menu item is disabled.
4385         * javax/swing/plaf/basic/BasicMenuUI.java:
4386         (installDefaults): Install defaults for 
4387         selectionForeground and selectionBackground.
4388         (uninstallDefaults): Uninstall defauls for 
4389         selectionForeground and selectionBackground.
4391 2004-07-21  Michael Koch  <konqueror@gmx.de>
4393         * javax/swing/text/AbstractDocument.java
4394         (BranchElement): Implemented.
4395         (LeafElement): Implemented.
4396         * javax/swing/text/DefaultCaret.java:
4397         Import used classes.
4398         (serialVersionUID): New constant.
4399         * javax/swing/text/JTextComponent.java
4400         (AccessibleJTextComponent): Removed dead declaration.
4401         (caretPos): Removed.
4402         (setCaret): New method.
4403         * javax/swing/text/PlainDocument.java
4404         (rootElement): New field.
4405         (PlainDocument): Initialize rootElement.
4406         (createDefaultRoot): New method.
4407         (getDefaultRootElement): Implemented.
4408         * javax/swing/text/View.java: Reformatted.
4409         * javax/swing/text/ViewFactory.java
4410         (create): Added javadoc.
4412 2004-07-21  Michael Koch  <konqueror@gmx.de>
4414         * javax/swing/ToolTipManager.java: Reformatted.
4416 2004-07-21  Rodimina Olga  <rodimina@redhat.com>
4418         * javax/swing/AbstractButton.java
4419         (changeEvent): New field.
4420         (fireItemStateChanged): Change source of the event
4421         to 'this' before firing it to button listeners.
4422         (fireActionPerformed): Likewise.
4423         (fireStateChanged): Likewise.
4424         (createActionListener): Do not set source 
4425         of the event to AbstractButton.                                  
4426         * javax/swing/plaf/basic/BasicMenuBarUI.java:
4427         (ContainerHandler.componentAdded): Removed 
4428         print out statement.
4429         (ContainerHandler.componentRemoved): Likewise.
4431 2004-07-21  Michael Koch  <konqueror@gmx.de>
4433         * javax/swing/text/Highlighter.java: New file.
4434         * Makefile.am: Added javax/swing/text/Highlighter.java.
4435         * Makefile.in: Regenerated.
4437 2004-07-21  Michael Koch  <konqueror@gmx.de>
4439         * javax/swing/ToolTipManager.java
4440         (stillInsideTimerAction): Fixed constructor arguments.
4441         (outsideTimerAction): Likewise.
4442         (insideTimerAction): Likewise.
4444 2004-07-21  Michael Koch  <konqueror@gmx.de>
4446         * javax/swing/JButton.java: Reformatted.
4447         * javax/swing/JFormattedTextField.java
4448         (getUIClassID): Implemented.
4449         * javax/swing/JRootPane.java
4450         (serialVersionUID): New constant.
4451         * javax/swing/JTextField.java
4452         (align): New field.
4453         (JTextField): Simplified.
4454         (getUIClassID): New method.
4455         (getActionListeners): Added @since tag.
4456         (setColumns): Invalidate layout and repaint.
4457         (getHorizontalAlignment): New method.
4458         (setHorizontalAlignment): New method.
4459         (selectAll): Removed.
4460         * javax/swing/SwingUtilities.java
4461         (getAncestorOfClass): Removed redundant @see tag.
4462         (isLeftMouseButton): Fixed implementation.
4463         (isMiddleMouseButton): Likewise.
4464         (isRightMouseButton): Likewise.
4465         * javax/swing/text/AbstractDocument.java
4466         (AttributeContext.addAttribute): New method.
4467         (AttributeContext.addAttributes): New method.
4468         (AttributeContext.getEmptySet): New method.
4469         (AttributeContext.reclaim): New method.
4470         (AttributeContext.removeAttribute): New method.
4471         (AttributeContext.removeAttributes): New method.
4472         * javax/swing/text/Document.java
4473         (createPosition): Throws BadLocationException.
4474         (getText): Likewise.
4475         (remove): Likewise.
4476         * javax/swing/text/JTextComponent.java
4477         (getText): Return null if no document is set. Catch
4478         BadLocationException.
4479         (getUI): Return ui.
4480         (updateUI): Simplified.
4482 2004-07-21  Michael Koch  <konqueror@gmx.de>
4484         * javax/swing/JButton.java
4485         (removeNotify): Fixed javadoc.
4486         (updateUI): Simplified.
4488 2004-07-21  David Jee  <djee@redhat.com>
4490         * gnu/java/awt/image/ImageDecoder.java
4491         (startProduction): Only add consumer if it's not added yet.
4492         * gnu/java/awt/peer/gtk/GdkPixbufDecoder.java
4493         (GdkPixbufDecoder): Don't call initState() here.
4494         (produce): Call initState() here, to ensure area_prepared and
4495         area_updated signals are properly connected.
4496         * gnu/java/awt/peer/gtk/GtkImage.java
4497         (setColorModel): Use equals() to compare ColorModel objects.
4498         (setPixels): Likewise.
4499         * java/awt/image/ColorModel.java
4500         (equals): Fix typo. Use Arrays.equals() to compare int arrays.
4501         * java/awt/image/RGBImageFilter.java
4502         (setColorModel): Set consumer's color model.
4503         (setPixels): Use equals() to compare ColorModel objects.
4505 2004-07-21  Bryce McKinlay  <mckinlay@redhat.com>
4507         * java/net/URLConnection.java (position): New field.
4508         (dateFormat1, dateFormat2, dateFormat3): Removed.
4509         (dateFormats): New field.
4510         (getHeaderFieldDate): Use new dateFormats array. Re-use parsePosition
4511         each time instead of re-allocating.
4512         (initializeDateFormats): Initialize 'dateFormats'.
4514 2004-07-20  Bryce McKinlay  <mckinlay@redhat.com>
4516         PR libgcj/16591
4517         * prims.cc (_Jv_RunMain): Don't call _Jv_SetArgs if DISABLE_MAIN_ARGS
4518         is defined.
4520 2004-07-20  Bryce McKinlay  <mckinlay@redhat.com>
4522         * java/net/Socket.java (getImpl): Now private. Remove comment.
4524 2004-07-20  Bryce McKinlay  <mckinlay@redhat.com>
4526         * java/io/BufferedWriter.java (BufferedWriter): Use existing lock
4527         of chained Writer when calling super-constructor.
4528         * java/io/FilterWriter.java (FilterWriter): Likewise.
4529         * java/io/PrintWriter.java (PrintWriter): Likewise.
4531 2004-07-19  Bryce McKinlay  <mckinlay@redhat.com>
4533         * prims.cc (process_gcj_properties): Don't increment i within LHS
4534         of assignment.
4536 2004-07-19  Per Bothner  <per@bothner.com>
4538         Print -verbose:message on "loading", not initialization.
4539         * java/lang/Class.h (JV_STATE_LOADED, JV_STATE_COMPILED):  Swap order.
4540         * defineclass.cc (_Jv_ClassReader::parse):  Print message if
4541         gcj::verbose_class_flag.
4542         * java/lang/natClass.cc (initializeClass):  Don't print message here.
4543         * java/lang/natClassLoader.cc (_Jv_WaitForState):  If state was
4544         _JV_STATE_COMPILED, set to JV_STATE_LOADED and may print message.
4545         (_Jv_PrepareCompiledClass):  Likewise.
4547 2004-07-18  Matthias Klose  <doko@debian.org>
4549         * configure.in: Substitute target_noncanonical.
4550         * configure: Regenerate
4552 2004-07-17  Michael Koch  <konqueror@gmx.de>
4554         * java/lang/String.java: Fixed javadocs all over.
4556 2004-07-17  Mark Wielaard  <mark@klomp.org>
4558         * gnu/java/nio/channels/FileChannelImpl.java (truncate): Only truncate
4559         when size is smaller.
4560         * java/io/RandomAccessFile.java (setLength): Use truncate for
4561         shrinking the file and seek plus write for expanding the file.
4563 2004-07-17  Michael Koch  <konqueror@gmx.de>
4565         * gnu/java/nio/channels/natFileChannelPosix.cc
4566         (implTruncate): Always save current position. Only reposition file
4567         pointer to where we started if not beyond new lenght. Reposition file
4568         pointer to file length if it points beyond the end of file.
4570 2004-07-17  Mark Wielaard  <mark@klomp.org>
4572         * javax/swing/Box.java: Put FIXME comment above class declaration.
4573         * javax/swing/JButton.java: Remove illegal L&F HTML from comments.
4574         * javax/swing/JCheckBox.java: Likewise.
4575         * javax/swing/JDialog.java: Likewise.
4576         * javax/swing/JRadioButton.java: Likewise.
4577         * javax/swing/JToggleButton.java: Likewise.
4578         * javax/swing/UIManager.java: Likewise.
4579         * javax/swing/border/TitledBorder.java: Likewise.
4580         * javax/swing/plaf/basic/BasicLabelUI.java: Likewise.
4581         * javax/swing/plaf/basic/BasicLookAndFeel.java: Likewise.
4582         * javax/swing/plaf/basic/BasicPopupMenuSeparatorUI.java: Likewise.
4583         * javax/swing/plaf/basic/BasicProgressBarUI.java: Likewise.
4584         * javax/swing/plaf/basic/BasicScrollBarUI.java: Likewise.
4585         * javax/swing/plaf/basic/BasicSeparatorUI.java: Likewise.
4586         * javax/swing/text/JTextComponent.java: Likewise.
4588 2004-07-17  Jeroen Frijters  <jeroen@frijters.net>
4590         * java/net/DatagramPacket.java (setAddress): Removed check for
4591         null address.
4593 2004-07-17  Michael Koch  <konqueror@gmx.de>
4595         * java/net/DatagramSocket.java
4596         (getLocalAddress): Check if socket is bound or not.
4597         * java/net/Socket.java
4598         (getLocalAddrss): Check if socket is bound or not.
4599         (getPort): Return -1 when not connected. Dont check getImpl() for
4600         null.
4601         (setReuseAddress): Check if socket is closed.
4602         (isConnected): Check if getImpl() returns null.
4604 2004-07-17  Mark Wielaard  <mark@klomp.org>
4606         * java/awt/event/InvocationEvent.java (dispatch): Synchronize
4607         on notifier object before calling notifyAll().
4609 2004-07-17  Michael Koch  <konqueror@gmx.de>
4611         * gnu/java/nio/channels/FileChannelImpl.java
4612         (finalize): Added javadoc.
4614 2004-07-17  Guilhem Lavaux <guilhem@kaffe.org>
4616         * java/text/CollationElementIterator.java
4617         (text_decomposition): Changed type to RuleBasedCollator.CollationElement[]
4618         (setText): Use ArrayList instead of Vector.
4620 2004-07-17  Michael Koch  <konqueror@gmx.de>
4622         * java/nio/ByteOrder.java
4623         (static): Removed. Not needed.
4624         Thanks to Patrick Reali for noticing.
4625         * java/nio/charset/CharsetDecoder.java
4626         (decode): Fix for classpath bug #9177: Reset state before flipping.
4628 2004-07-17  Michael Koch  <konqueror@gmx.de>
4630         * java/security/Security.java: Fixed javadocs all over.
4632 2004-07-17  Michael Koch  <konqueror@gmx.de>
4634         * gnu/java/awt/EmbeddedWindow.java
4635         (static): Removed.
4636         (addNotify): Set peer via reflection.
4637         (setWindowPeer): Removed.
4638         * gnu/java/awt/natEmbeddedWindow.cc: Removed.
4639         * Makefile.am (nat_source_files):
4640         Removed gnu/java/awt/natEmbeddedWindow.cc.
4641         * Makefile.in: Regenerated.
4643 2004-07-17  Richard Earnshaw  <rearnsha@arm.com>
4645         * configure.in(ZIP, GCJH): Remove white space around '=' in variable
4646         assignment.
4647         * configure: Regenerated.
4649 2004-07-16  Nathanael Nerode  <neroden@gcc.gnu.org>
4651         * configure.in: Use build_noncanonical rather than build_alias.
4652         * configure: Rebuild.
4654         * configure.in: Eliminate CANADIAN and NULL_TARGET variables
4655         by logic refactoring.  Move default definition of NATIVE closer
4656         to first alternate definition.
4657         * configure: Regenerate.
4659         * Makefile.am: Set ZIP and GCJH directly using autoconf.
4660         * Makefile.in, include/Makefile.in, testsuite/Makefile.in,
4661         gcj/Makefile.in: Regenerate.
4662         * configure.in: Set ZIP and GCJH.  Remove redundant condition
4663         in AM_CONDITIONAL(NATIVE,...)
4664         * configure: Regenerate.
4666 2004-07-15  Nathanael Nerode  <neroden@gcc.gnu.org>
4668         * configure.in: Use target_noncanonical rather than
4669         target_alias for forward-compatibility with autoconf 2.59.
4670         * configure: Regenerate.
4671         * Makefile.am, gcj/Makefile.am, include/Makefile.am,
4672         testsuite/Makefile.am: Substitute target_noncanonical.
4673         * Makefile.in, gcj/Makefile.in, include/Makefile.in,
4674         testsuite/Makefile.in: Regenerate.
4676         * configure.in: Move as much as possible below AC_CANONICAL_SYSTEM.
4677         Introduce _GCC_TOPLEV_NONCANONICAL_TARGET.
4678         * acinclude.m4: Include acx.m4.
4679         * aclocal.m4: Regenerate.
4680         * configure: Regenerate.
4682 2004-07-15  Bryce McKinlay  <mckinlay@redhat.com>
4684         PR libgcj/16574
4685         * java/sql/Timestamp.java (dateFormat): Renamed from sdf.
4686         (decimalFormat): New static variable.
4687         (sbuf): Likewise.
4688         (getTime): New. Override Date.getTime().
4689         (toString): Synchronize. Use decimalFormat to format nanos value
4690         correctly. Truncate extra zeros.
4691         (before): Compare getNanos() only if getTime() is equal.
4692         (after): Likewise.
4693         
4694 2004-07-14  Nathanael Nerode  <neroden@gcc.gnu.org>
4696         * acinclude.m4: "Inline" LIBGCJ_CONFIGURE macro into...
4697         * configure.in: ...here.
4698         * aclocal.m4: Regenerate.
4699         * configure: Regenerate.
4701         * aclocal.m4: Rebuilt with aclocal gcj-1.4.
4702         * configure: Rebuilt with autoconf 2.13.
4703         * Makefile.in, gcj/Makefile.in, include/Makefile.in,
4704         testsuite/Makefile.in: Rebuilt with automake gcj-1.4.
4706 2004-07-14  Bryce McKinlay  <mckinlay@redhat.com>
4708         PR libgcj/16204
4709         * Makefile.am (AM_CXXFLAGS): Add -D_FILE_OFFSET_BITS=64 to enable
4710         large file support.
4711         * Makefile.in: Rebuilt.
4712         * testsuite/libjava.lang/LargeFile.java: New test case.
4713         * testsuite/libjava.lang/LargeFile.out: New file.
4715 2004-07-14  Jerry Quinn  <jlquinn@optonline.net>
4717         * java/beans/EventHandler.java: Remove debugging statements.
4719 2004-07-14  Jerry Quinn  <jlquinn@optonline.net>
4721         * java/beans/EventHandler.java: New file.
4722         * Makefile.am (awt_java_source_files): Add EventHandler.java.
4723         * Makefile.in, gcj/Makefile.in, include/Makefile.in,
4724         testsuite/Makefile.in: Regenerate.
4726 2004-07-14  Andreas Tobler  <a.tobler@schweiz.ch>
4728         * testsuite/libjava.jacks/jacks.exp (gcj_jacks_write): Add deprecation
4729         flag to the gcj_setup.
4730         (gcj_jacks_run): Check tclsh version and launch jacks directly with
4731         the tclsh.
4732         * testsuite/libjava.jacks/jacks.xfail: Update fails to reflect the
4733         deprecation flag change. 58 XFAILS removed.
4735 2004-07-14  Ulrich Weigand  <uweigand@de.ibm.com>
4737         * configure.host (DIVIDESPEC) [s390*-*-*]: Set to 
4738         -fno-use-divide-subroutine.
4739         * include/s390-signal.h: Include <ucontext.h> and <limits.h>.
4740         (HANDLE_FPE): Define.
4741         (SIGNAL_HANDLER): Change third argument to ucontext_t *.
4742         (struct old_s390_kernel_sigaction): Likewise for k_sa_handler.
4743         (HANDLE_DIVIDE_OVERFLOW): Define.
4745 2004-07-14  Michael Koch  <konqueror@gmx.de> 
4746             Matthias Klose  <doko@debian.org> 
4748         * java/awt/im/InputContext.java: Initialize in, line.
4750 2004-07-13  Ulrich Weigand  <uweigand@de.ibm.com>
4752         * interpret.cc (run): Correctly access libffi return values of
4753         integral smaller-than-int type; these are implicitly promoted.
4755 2004-07-13  Bryce McKinlay  <mckinlay@redhat.com>
4757         PR libgcj/7587
4758         * interpret.cc (compile_mutex): New.
4759         (_Jv_InitInterpreter): New. Initialize compile_mutex.
4760         (run): Lock compile_mutex before calling compile() if compilation is
4761         required.
4762         * prims.cc (_Jv_CreateJavaVM): Call _Jv_InitInterpreter().
4763         * include/java-interp.h (_Jv_InitInterpreter): Declare. 
4765 2004-07-12  Bryce McKinlay  <mckinlay@redhat.com>
4767         PR libgcj/15713
4768         * include/jvm.h (_Jv_value): New union type.
4769         * gcj/field.h (_Jv_Field): Add new _addr union field variants 
4770         * interperet.cc (run): Use _Jv_value union type and *_addr _Jv_Field 
4771         union members.
4773 2004-07-12  Scott Gilbertson  <scottg@mantatest.com>
4775         * gnu/awt/xlib/XCanvasPeer.java (createImage): Implement.
4776         * gnu/awt/xlib/XOffScreenImage.java
4777           (XOffScreenImage): Add ImageConsumer interface. Add ColorModel
4778           constructor argument. Add constructor using ImageProducer.
4779           (getSource): Implement.
4780           (imageComplete): New method.
4781           (setColorModel): New method.
4782           (setDimensions): New method.
4783           (setHints): New method.
4784           (setPixels): New method.
4785           (setProperties): New method.
4786         * gnu/gcj/xlib/GC.java (drawPoint): New native method. 
4787         * gnu/gcj/xlib/natGC.cc (drawPoint): New native method.
4789 2004-07-11  Bryce McKinlay  <mckinlay@redhat.com>
4791         PR libgcj/16478 
4792         * prims.cc (_Jv_CreateJavaVM): Fix comment.
4793         * gnu/gcj/runtime/FinalizerThread.java (init): New. Native.
4794         (finalizerReady): Now native.
4795         (run): Likewise.
4796         (runFinalizers): Removed.
4797         * gnu/gcj/runtime/natFinalizerThread.cc (run): Implement here. Use
4798         a primitive lock, and don't hold it while running the finalizers.
4799         (runFinalizers): Implement. Don't aquire any Java lock.
4800         (finalizerReady): Use lock primitives to signal finalizer thread.
4802 2004-07-11  Mark Wielaard  <mark@klomp.org>
4804         Reported by Roman Kennke <roman@ontographics.com> (bug #9331)
4805         * java/net/URLStreamHandler.java (parseURL): When url file part
4806         doesn't contain a '/' just ignore context.
4808 2004-07-11  Ulrich Weigand  <uweigand@de.ibm.com>
4810         * include/s390-signal.c (SIGNAL_HANDLER): Use SIGINFO-style prototype.
4811         (struct old_s390_kernel_sigaction): Likewise for k_sa_handler.
4812         (MAKE_THROW_FRAME): Do not modify PSW address.
4813         (INIT_SEGV): Install SIGINFO-style signal handler.
4814         (INIT_FPE): Likewise.
4816 2004-07-10  Bryce McKinlay  <mckinlay@redhat.com>
4818         * testsuite/libjava.jacks/jacks.xfail: Updates to reflect current
4819         status. 21 xfail's removed, 1 added.
4821 2004-07-10  Bryce McKinlay  <mckinlay@redhat.com>
4823         * gcj/javaprims.h: Regenerate CNI namespace definitions.
4825 2004-07-10  Ito Kazumitsu  <kaz@maczuka.gcd.org>
4827         * java/text/MessageFormat.java
4828         (formatInternal): Append "{n}" if argument n is unavailable.
4829         (format(Object, StringBuffer, FieldPosition)): This
4830         should be equivalent to format(Object[],
4831         StringBuffer, FieldPosition).
4833 2004-07-09  Bryce McKinlay  <mckinlay@redhat.com>
4835         * java.util.Calendar.java (cache): New private static field. Cached
4836         mappings of locales->calendar classes.
4837         (ctorArgTypes): New private static field. Singleton argument for
4838         calendar class constructor lookup.
4839         (getInstance): Cache Locale->Calendar class mappings using HashMap.
4840         Optimize by bypassing reflection instantiation for the 
4841         GregorianCalendar case.
4843 2004-07-09  Bryce McKinlay  <mckinlay@redhat.com>
4845         * java/util/Calendar.java: Use getSystemClassLoader as argument for
4846         ResourceBundle.getBundle() calls.
4847         * java/util/GregorianCalendar.java: Likewise.
4848         * java/util/Currency.java: Likewise.
4849         * java/text/BreakIterator.java: Likewise.
4850         * java/text/Collator.java: Likewise.
4851         * java/text/DateFormat.java: Likewise.
4852         * java/text/DateFormatSymbols.java: Likewise.
4853         * java/text/DecimalFormatSymbols.java: Likewise.
4854         * java/text/NumberFormat.java: Likewise.
4855         * java/awt/Window.java: Likewise.       
4857 2004-07-09  Bryce McKinlay  <mckinlay@redhat.com>
4859         * java/util/ResourceBundle.java (bundleCache): Renamed from
4860         resourceBundleCache. Update comments.
4861         (getObject): Don't catch MissingResourceException.
4862         (getBundle(String)): Remove 'final'. Use system classloader if
4863         getCallingClassLoader returned null.
4864         (getBundle(String, Locale)): Likewise.
4865         (BundleKey): New private class. HashMap key for bundle cache lookup.
4866         (lookupKey): New. Singleton instance of BundleKey.
4867         (nullEntry): New. Cache entry to represent failed lookups.
4868         (getBundle(String, Locale, ClassLoader)): Re-written to use new 
4869         caching strategy, no-allocation lookup, and new tryBundle methods.
4870         (tryBundle(String, ClassLoader)): New. Load a locale-qualified bundle 
4871         name using given classloader.
4872         (tryBundle(String, Locale, ClassLoader, boolean): New. Qualify 
4873         baseName for given Locale and attempt to load bundle.
4875 2004-07-09  Bryce McKinlay  <mckinlay@redhat.com>
4877         * javax/swing/plaf/basic/BasicMenuUI.java (mousePressed): Remove 
4878         illegal protected method calls.
4880 2004-07-09  Bryce McKinlay  <mckinlay@redhat.com>
4882         Fix or remove some bogus test cases.
4883         * testsuite/libjava.compile/pr10459_2.java: Removed.
4884         * testsuite/libjava.compile/pr10459.java: Test using its own method,
4885         not Object.clone().
4886         * testsuite/libjava.compile/inner_data.java: Test against its own
4887         protected field.
4889 2004-07-09  Michael Koch  <konqueror@gmx.de>
4891         * scripts/unicode-muncher.pl: Updated to version 2.1
4892         from GNU classpath. Added some clarifications on where to find the
4893         needed files from www.unicode.org.
4894         * gnu/gcj/convert/UnicodeCharacterDatabase-3.0.0.html,
4895         gnu/gcj/convert/UnicodeData-3.0.0.txt:
4896         Removed, these can directly be downloaded from www.unicode.org if
4897         needed. 
4898         * gnu/java/lang/CharData.java: Regenerated.
4899         * include/java-chartables.h: Regenerated.
4900         * Makefile.am (ordinary_java_source_files):
4901         Removed gnu/java/lang/CharData.java.
4902         * Makefile.in: Regenerated.
4904 2004-07-09  Michael Koch  <konqueror@gmx.de>
4906         * java/security/AccessControlContext.java,
4907         java/security/SecureClassLoader.java:
4908         Fixed javadocs.
4910 2004-07-09  Michael Koch  <konqueror@gmx.de>
4912         * java/io/ObjectInputStream.java (readFields): Use long datatype
4913         when shifting byte values more then 24 bits left.
4915 2004-07-09  Michael Koch  <konqueror@gmx.de>
4917         * java/util/zip/DeflaterOutputStream.java,
4918         java/util/zip/GZIPInputStream.java,
4919         java/util/zip/GZIPOutputStream.java,
4920         java/util/zip/InflaterInputStream.java:
4921         Reformatted. Added javadocs. Reordered all stuff.
4922         Renamed variables to be more clear.
4924 2004-07-09  Michael Koch  <konqueror@gmx.de>
4926         * javax/imageio/IIOException.java,
4927         javax/imageio/event/IIOReadProgressListener.java,
4928         javax/imageio/event/IIOReadUpdateListener.java,
4929         javax/imageio/event/IIOReadWarningListener.java,
4930         javax/imageio/event/IIOWriteProgressListener.java,
4931         javax/imageio/event/IIOWriteWarningListener.java:
4932         New files.
4933         * Makefile.am: Added new files.
4934         * Makefile.in: Regenerated.
4936 2004-07-09  Guilhem Lavaux <guilhem@kaffe.org>
4938         * java/text/RuleBasedCollator.java
4939         (mergeRules): Use ArrayList instead of Vector.
4940         (subParseString): likewise.
4941         (parseString): likewise.
4942         (buildCollationVector): likewise.
4943         (getCollationKey): likewise.
4945 2004-07-09  Dalibor Topic  <robilad@kaffe.org>
4947         * java/text/DateFormat.java (parse):
4948         Improved javadoc. Improved exception message.
4950 2004-07-09  Mark Wielaard  <mark@klomp.org>
4952         * gnu/java/nio/SelectorImpl.java (select): Call static Thread
4953         interrupted() method to clear interupt flag of our Thread.
4955 2004-07-09  Dalibor Topic  <robilad@kaffe.org>
4957         * java/nio/Buffer.java,
4958         java/nio/ByteBuffer.java,
4959         java/nio/ByteBufferHelper.java,
4960         java/nio/ByteBufferImpl.java,
4961         java/nio/CharBuffer.java,
4962         java/nio/CharBufferImpl.java,
4963         java/nio/CharViewBufferImpl.java,
4964         java/nio/DirectByteBufferImpl.java,
4965         java/nio/DoubleBuffer.java,
4966         java/nio/DoubleBufferImpl.java,
4967         java/nio/DoubleViewBufferImpl.java,
4968         java/nio/FloatBuffer.java,
4969         java/nio/FloatBufferImpl.java,
4970         java/nio/FloatViewBufferImpl.java,
4971         java/nio/IntBuffer.java,
4972         java/nio/IntBufferImpl.java,
4973         java/nio/IntViewBufferImpl.java,
4974         java/nio/LongBuffer.java,
4975         java/nio/LongBufferImpl.java,
4976         java/nio/LongViewBufferImpl.java,
4977         java/nio/MappedByteBufferImpl.java,
4978         java/nio/ShortBuffer.java,
4979         java/nio/ShortBufferImpl.java,
4980         java/nio/ShortViewBufferImpl.java:
4981         Fixed javadocs all over. Improved input error
4982         checking.
4984         * java/nio/Buffer.java
4985         (checkForUnderflow, checkForOverflow, checkIndex,
4986         checkIfReadOnly, checkArraySize): New helper methods
4987         for error checking.
4989         * java/nio/ByteBufferHelper.java
4990         (checkRemainingForRead, checkRemainingForWrite,
4991         checkAvailableForRead, checkAvailableForWrite): Removed
4992         no longer needed methods.
4994 2004-07-09  Michael Koch  <konqueror@gmx.de>
4996         * gnu/regexp/CharIndexedInputStream.java:
4997         Reordered imports to match classpath.
4999 2004-07-09  Michael Koch  <konqueror@gmx.de>
5001         * gnu/java/awt/EmbeddedWindow.java:
5002         Load native library for setWindowPeer method.
5004 2004-07-08  Randolph Chung  <tausq@debian.org>
5006         * configure.in (SIGNAL_HANDLER): Use pa-signal.h for hppa.
5007         * configure: Regenerate.
5008         * configure.host: Set can_unwind_signal for hppa*-linux.
5009         * include/pa-signal.h: New file.
5011 2004-07-07  Per Bothner  <per@bothner.com>
5013         * Makefile.am:  Add rules to build libgij from just gij.cc.
5015         * include/jvm.h (namespace jcj):  Declare verbose_class_flag
5016         * java/lang/natClass.cc (gcj::verbose_class_flag):  New variable.
5017         (initializeClass):  If verbose_class_flag, print message.
5018         * gij.cc (main):  Handle -verbose:class flag.
5020 2004-07-07  Andreas Tobler  <a.tobler@schweiz.ch>
5022         * configure.host: Enable hash synchronization on Darwin.
5023         * sysdep/powerpc/locks.h (compare_and_swap): Use '\n' instead of
5024         ';', since this is a comment on Darwin.
5025         (compare_and_swap_release): Likewise.
5027 2004-07-06  Mohan Embar  <gnustuff@thisiscool.com>
5029         * java/net/URLStreamHandler.java (parseURL): Canonicalize
5030         file portion of URL in addition to spec for file: protocol.
5032 2004-07-05  Anthony Green  <green@redhat.com>
5034         * java/io/File.java (toURI): Merge from Classpath.
5036 2004-07-05  Bryce McKinlay  <mckinlay@redhat.com>
5038         * gnu/gcj/runtime/VMClassLoader.java (init): Check classpath entry
5039         before passing to URL constructor. Rethrow any MalformedURLException
5040         as a RuntimeException. Catch MalformedURLException specifically, not
5041         all exceptions.
5043 2004-07-05  Bryce McKinlay  <mckinlay@redhat.com>
5045         * java/util/Locale.java (readObject): Intern strings read from object
5046         stream.
5048 2004-07-04  Michael Koch  <konqueror@gmx.de>
5050         * gnu/gcj/runtime/FirstThread.java,
5051         gnu/gcj/runtime/natFirstThread.cc: Removed.
5052         * gnu/java/lang/MainThread.java,
5053         gnu/java/lang/natMainThread.cc: New files.
5054         * prims.cc (_Jv_RunMain): Use MainThread instead of FirstThread.
5055         * Makefile.am: Added new files and removed deleted ones.
5056         * Makefile.in: Regenerated.
5058 2004-07-03  Mark Wielaard  <mark@klomp.org>
5059             Anthony Green  <green@redhat.com>
5061         * java/net/URL.java (getFile): Clarify return value doc.
5062         (getPath): Return null if file is empty - not empty String.
5063         (set): Convert protocol to lower case before doing anything.
5064         Only change the protocol handler if it's different.
5066 2004-07-03  Anthony Green  <green@redhat.com>
5068         * java/net/URL.java (URL): Convert protocol to lower case before
5069         doing anything, so we getURLStreamHandler() with the proper value.
5071 2004-07-02  Bryce McKinlay  <mckinlay@redhat.com>
5073         * java/util/Locale.java (hashcode): Made transient.
5074         (hashCode): No longer synchronized.
5075         (equals): Remove comment.
5076         (writeObject): No longer synchronized. Implement using writeObject 
5077         calls instead of tweaking hashCode field. Update doc.
5078         (readObject): Implement using readObject calls.
5080 2004-06-26  Geoffrey Keating  <geoffk@apple.com>
5081             Andreas Tobler  <a.tobler@schweiz.ch>
5083         * configure.host (powerpc-*-darwin*): New case, define
5084         can_unwind_signal.
5085         * configure.in (*-*-darwin*): New case, point to darwin-signal.h.
5086         * configure: Regenerate.
5087         * include/darwin-signal.h: New.
5089 2004-06-30  Jerry Quinn  <jlquinn@optonline.net>
5091         * java/beans/Statement.java (doExecute): Fix formatting.
5093 2004-06-29  Per Bothner  <per@bothner.com>
5095         * jni.cc (_Jv_JNI_NewGlobalRef, JNICALL _Jv_JNI_DeleteGlobalRef,
5096         etc etc):  Remove needless parenthesis, which causes __stdcall__
5097         attribute on MinGW to get ignored.
5099 2004-06-29  Bryce McKinlay  <mckinlay@redhat.com>
5101         * testsuite/libjava.compile/PR16249.java: New test case. PR gcc/16249.
5103 2004-06-28  Bryce McKinlay  <mckinlay@redhat.com>
5105         * testsuite/libjava.jacks/jacks.xfail: Remove 8.1.3-superclass-6.
5107 2004-06-28  Jerry Quinn  <jlquinn@optonline.net>
5109         * java/beans/Expression.java: New file.
5110         * java/beans/Statement.java: New file.
5111         * Makefile.am: Added new files.
5112         * Makefile.in: Re-generate.
5114 2004-06-27 Mark Wielaard  <mark@klomp.org>
5116         * java/io/FilePermission.java (usingPerms): Removed.
5117         (actionsString): Made final.
5118         (cachePerms): Renamed to checkPerms.
5119         (checkPerms): Renamed from cachePerms. Call trim() and toLowerCase()
5120         on action String.
5121         (FilePermission): Check arguments, call checkPerms().
5122         (equals): Remove cachePerms() call.
5123         (implies): Likewise.
5125 2004-06-27  Mark Wielaard  <mark@klomp.org>
5127         * gnu/java/net/protocol/http/Connection.java (userAgent): New static
5128         final field.
5129         (sendRequest): Use new field in user-agent http agent.
5131 2004-06-27  Mark Wielaard  <mark@klomp.org>
5133         * java/awt/EventQueue.java (postEvent): Throw NullPointerException
5134         when argument is null.
5136 2004-06-26  Mark Wielaard  <mark@klomp.org>
5138         * native/jni/gtk-peer/gnu_java_awt_peer_gtk_GtkFileDialogPeer.c
5139         (ok_clicked): Use Ljava/lang/String; not Ljava.lang.String; in JNI
5140         GetMethodID call.
5141         (cancel_clicked): Likewise.
5143 2004-06-26  Andreas Tobler  <a.tobler@schweiz.ch>
5145         * jni/gtk-peer/gnu_java_awt_peer_gtk_GtkMainThread.c
5146         (init_dpi_conversion_factor): Check for int_dpi < 0 in case gtk-xft-dpi
5147         can not calculate the right value.
5148         (dpi_changed_cb): Likewise. Mark *pspec as unused.
5150 2004-06-24  Bryce McKinlay  <mckinlay@redhat.com>
5152         * testsuite/libjava.jacks/jacks.xfail: Remove
5153         15.9.1-qualified-concrete-20.
5155 2004-06-22  Bryce McKinlay  <mckinlay@redhat.com>
5157         * gnu/gcj/convert/BytesToUnicode.java (getDecoder): Pass original
5158         encoding name to iconv.
5159         * gnu/gcj/convert/UnicodeToBytes.java (getEncoder): Likewise.
5161 2004-06-22  Bryce McKinlay  <mckinlay@redhat.com>
5163         PR libgcj/16134:
5164         * gnu/gcj/convert/BytesToUnicode.java (getDecoder): Canonicalize 
5165         encoding name before cache lookup. Thanks to Hannes Wallnoefer.
5166         * gnu/gcj/convert/UnicodeToBytes.java (getEncoder): Likewise.
5168 2004-06-21  Andrew Haley  <aph@redhat.com>
5170         * java/io/ObjectOutputStream.java: Add DEBUG statements
5171         everywhere.
5172         (dumpElementln): New method.
5173         (depth): New field.
5174         * java/io/ObjectInputStream.java
5175         (currentClassLoader): Make native.
5176         (callersClassLoader): New field.
5177         (depth): New field.
5178         (readObject): ENDBLOCKDATA is generated if the class has a write
5179         method, not if it has a read method.
5180         (readObject): Save and restore this.currentObject and
5181         this.currentObjectStreamClass around calls to callReadMethod().
5182         * java/io/natObjectInputStream.cc (getCallersClassLoader): New
5183         method.
5185 2004-06-18  Andreas Tobler  <a.tobler@schweiz.ch>
5187         * testsuite/libjava.jni/jni.exp (gcj_jni_test_one): Add lgcc_s for
5188         darwin.
5190 2004-06-18  Ranjit Mathew  <rmathew@hotmail.com>
5192         * prims.cc (_Jv_CreateJavaVM): Install SEGV and FPE handlers,
5193         if desired, before the default class loader is initialised.
5194         Call INIT_SEGV only if HANDLE_SEGV is defined.
5196 2004-06-18  Ranjit Mathew  <rmathew@hotmail.com>
5198         * gnu/gcj/runtime/VMClassLoader.java (init): Add extensions
5199         directory only if it actually exists.
5201 2004-06-18  Graydon Hoare  <graydon@redhat.com>
5203         * jni/gtk-peer/gnu_java_awt_peer_gtk_GtkComponentPeer.c:
5204         Fix up non-ansi comments.
5206 2004-06-18  Ranjit Mathew  <rmathew@hotmail.com>
5208         * javax/swing/text/AbstractDocument.java: Adding missing import
5209         for javax.swing.event.EventListenerList.
5210         * javax/swing/text/DefaultCaret.java: Likewise.
5212 2004-06-17  Michael Koch  <konqueror@gmx.de>
5214         * javax/swing/JToolBar.java
5215         (name): Removed.
5216         (JToolBar): Use Component.setName(String) instead of doing it all
5217         alone.
5218         * javax/swing/Timer.java
5219         (queueEvent): Added missing modifier.
5221 2004-06-17  Olga Rodimina  <rodimina@redhat.coom>
5223         * Makefile.am: Added new file.
5224         * Makefile.in: Re-generate.
5225         * javax/swing/JMenu.java:
5226         (insertSeparator): Implemented.
5227         * javax/swing/JPopupMenu.java:
5228         (JPopupMenu.Separator): Implemented.
5229         * javax/swing/MenuSelectionManager.java:
5230         (processMouseEvent): Use java.awt.Component 
5231         for event source instead of javax.swing.JComponent. 
5232         * javax/swing/plaf/basic/BasicPopupMenuSeparatorUI.java:
5233         New File. Implemented.
5234         
5235 2004-06-16  David Jee  <djee@redhat.com>
5237         * java/awt/GridBagLayout.java
5238         (GetLayoutInfo): Adjust cell sizes iff parent size is not zero.
5239         Make sure pos_x and pos_y are never negative.
5241 2004-04-16  Andrew Overholt  <overholt@redhat.com>
5243         * Makefile.am: Add new file.
5244         * Makefile.in: Re-generate.     
5245         * javax/swing/JToolBar.java
5246         Partially implemented.
5247         * javax/swing/plaf/basic/BasicToolBarUI.java
5248         New file. Partially implemented.
5250 2004-06-16  Graydon Hoare  <graydon@redhat.com>
5252         * gnu/java/awt/peer/gtk/GdkGraphics2D.java 
5253         (setComposite): Accept AlphaComposite arguments.
5254         * gnu/java/awt/peer/gtk/GdkPixbufDecoder.java
5255         (createBufferedImage): Add new overloads.
5256         * gnu/java/awt/peer/gtk/GtkToolkit.java
5257         (createImage): Use GdkPixbufDecoder.createBufferedImage
5258         when useGraphics2D() is true.
5259         (getImage): Delegate to createImage.
5260         * javax/swing/JList.java
5261         (isSelectionEmpty):
5262         (getFirstVisibleIndex):
5263         (getLastVisibleIndex):
5264         (setSelectedValue):
5265         (ensureIndexIsVisible): New methods.
5266         * javax/swing/Timer.java: Reimplement.
5268 2004-06-16  Michael Koch  <konqueror@gmx.de>
5270         * javax/swing/text/AbstractDocument.java
5271         (AbstracElement): Made public, implements java.io.Serializable.
5272         (AttributeContext): Made public.
5273         (BranchElement): Likewise.
5274         (Content): Likewise.
5275         (DefaultDocumentEvent): Made public, extends
5276         javax.swing.undo.CompoundEdit.
5277         (ElementEdit): Made public, extends
5278         javax.swing.undo.AbstractUndoableEdit.
5279         (LeafElement): Made public.
5280         (LeafElement.LeafElement): Made public.
5282 2004-06-16  Michael Koch  <konqueror@gmx.de>
5284         * javax/swing/text/JTextComponent.java: Totally reworked. Removed many
5285         methods (that were obviously never be intended to get included hi this
5286         class. Added some methods too.
5288 2004-06-16  Michael Koch  <konqueror@gmx.de>
5290         * javax/swing/text/PlainDocument.java
5291         (serialVersionUID): New constant.
5292         (lineLimitAttribute): Likewise.
5293         (tabSizeAttribute): Likewise.
5294         (tabSize): New field.
5295         (PlainDocument): Made public.
5296         (PlainDocument): New constructor.
5298 2004-06-16  Michael Koch  <konqueror@gmx.de>
5300         * javax/swing/text/AbstractDocument.java
5301         (insertString): Throws BadLocationException.
5302         * javax/swing/text/Document.java
5303         (insertString): Likewise.
5304         * javax/swing/text/JTextComponent.java:
5305         Javadocs and comments cleaned up.
5307 2004-06-16  Michael Koch  <konqueror@gmx.de>
5309         * javax/swing/event/UndoableEditListener.java: Reformatted.
5310         * javax/swing/text/AbstractDocument.java
5311         (AbstractDocument): Implements java.io.Serializable.
5312         (doc_list): Removed.
5313         (undo_list): Removed.
5314         (AbstractElement.serialVerionUID): New field.
5315         (BranchElement.serialVerionUID): Likewise.
5316         (DefaultDocumentEvent.serialVerionUID): Likewise.
5317         (ElementEdit.serialVerionUID): Likewise.
5318         (LeafElement.serialVerionUID): Likewise.
5319         (serialVerionUID): Likewise.
5320         (BAD_LOCATION): New constant.
5321         (BidiElementName): Likewise.
5322         (ContentElementName): Likewise.
5323         (ParagraphElementName): Likewise.
5324         (SectionElementName): Likewise.
5325         (ElementNameAttribute): Likewise.
5326         (AbstractDocument): Made protected.
5327         (AbstractDocument): New construtor.
5328         (listenerList): New field.
5329         (fireChangedUpdate): Implemented.
5330         (fireInsertUpdate): Likewise.
5331         (fireRemoveUpdate): Likewise.
5332         (fireUndoableEditUpdate): Likewise.
5333         (getListeners): Likewise.
5334         (addDocumentListener): Likewise.
5335         (removeDocumentListener): Likewise.
5336         (addUndoableEditListener): Likewise.
5337         (removeUndoableEditListener): Likewise.
5338         (getDocumentListeners): New method.
5339         (getUndoableEditListeners): Likewise.
5340         (getAsynchronousLoadPriority): Made public.
5341         (getBidiRootElement): Likewise.
5342         (setAsynchronousLoadPriority): Likewise.
5343         (setDocumentProperties): Likewise.
5344         * javax/swing/text/BadLocationException.java
5345         (serialVerionUID): New field.
5346         * javax/swing/text/DefaultCaret.java
5347         (changeEvent): New field.
5348         (listenerList): Likewise.
5349         (changes): Removed.
5350         (addChangeListener): Reimplemented.
5351         (removeChangeListener): Likewise.
5352         (getListeners): New method.
5353         (getChangeListeners): Likwise.
5354         (getComponent): Likewise.
5355         * javax/swing/text/GapContent.java
5356         (GapContent): Implements java.io.Serializable.
5357         (serialVerionUID): New field.
5359 2004-06-16  Michael Koch  <konqueror@gmx.de>
5361         * javax/swing/JTree.java
5362         (treeModel): New field.
5363         (JTree): New constructors, one existing one made public.
5364         (createTreeModel): New method.
5365         (addTreeExpansionListener): Likewise.
5366         (removeTreeExpansionListener): Likewise.
5367         (getTreeExpansionListeners): Likewise.
5368         (fireTreeCollapsed): Likewise.
5369         (fireTreeExpanded): Likewise.
5370         (addTreeSelectionListener): Likewise.
5371         (removeTreeSelectionListener): Likewise.
5372         (getTreeSelectionListeners): Likewise.
5373         (fireValueChanged): Likewise.
5374         (addTreeWillExpandListener): Likewise.
5375         (removeTreeWillExpandListener): Likewise.
5376         (getTreeWillExpandListeners): Likewise.
5377         (fireTreeWillCollapse): Likewise.
5378         (fireTreeWillExpand): Likewise.
5380 2004-06-16  Michael Koch  <konqueror@gmx.de>
5382         * javax/swing/JTree.java: Reformatted.
5384 2004-06-16  Michael Koch  <konqueror@gmx.de>
5386         * javax/swing/JTextArea.java: New file.
5387         * javax/swing/JTextField.java
5388         (actions): Removed.
5389         (notifyAction): New constant.
5390         (columns): New field.
5391         (JTextField): New constructors.
5392         (createDefaultModel): New method.
5393         (addActionListener): Reimplmemented.
5394         (removeActionListener): Reimplemented.
5395         (getActionListeners): New method.
5396         (fireActionPerformed): New method.
5397         (getColumns): New method.
5398         (setColumne): New method.
5399         * javax/swing/text/JTextComponent.java
5400         (AccessibleJTextComponent.serialVersionUID): New field.
5401         (serialVersionUID): Likewise.
5402         (DEFAULT_KEYMAP): Likewise.
5403         (FOCUS_ACCELERATOR_KEY): Likewise.
5404         (doc): Made private.
5405         (icon_gap): Likewise.
5406         (icon): Likewise.
5407         (align): Likewise.
5408         (JTextComponent): Some constructors removed.
5409         (getScrollableTracksViewportHeight): New method.
5410         (getScrollableTracksViewportWidth): Likewise.
5411         * Makefile.am: Added javax/swing/JTextArea.java.
5412         * Makefile.in: Regenerated.
5414 2004-06-15  Graydon Hoare  <graydon@redhat.com>
5416         * javax/swing/ImageIcon.java (ImageIcon): New constructor.
5417         * javax/swing/JFrame.java (defaultLookAndFeelDecorated): New property.
5418         * javax/swing/JViewport.java 
5419         (getExtentSize): Return size rather than preferred size.
5420         (toViewCoordinates): New methods.
5421         (getViewSize): Return size rather than preferred size.
5422         (setViewSize): Note view size as set.
5423         * javax/swing/ViewportLayout.java (layoutContainer): Reimplement.
5424         * javax/swing/plaf/basic/BasicScrollBarUI.java 
5425         (getPreferredSize): Don't redo layout.
5426         * javax/swing/plaf/basic/BasicViewportUI.java 
5427         (paint): Translate image properly and eat exceptions.
5429 2004-06-15  Kim Ho  <kho@redhat.com>
5431         * javax/swing/JTabbedPane.java
5432         (setComponent): Remove old component and
5433         add new component.
5434         (setSelectedIndex): Don't operate on the 
5435         components if they're null. Don't set index
5436         on the model if the index is the same.
5437         (insertTab): Don't add or hide the component
5438         if it's null. Repaint the container.
5439         * javax/swing/plaf/basic/BasicLookAndFeel.java
5440         Change colors for TabbedPane.
5441         * javax/swing/plaf/basic/BasicTabbedPaneUI.java
5442         (mousePressed): Re-layout and paint the component.
5443         (layoutContainer): Don't set location on the view.
5444         (ScrollingViewport::paint): Remove.
5446 2004-06-14  Thomas Fitzsimmons  <fitzsim@redhat.com>
5448         * jni/gtk-peer/gnu_java_awt_peer_gtk_GtkComponentPeer.c
5449         (gtkWidgetDispatchKeyEvent): Change warning message to comment.
5451         * jni/gtk-peer/gnu_java_awt_peer_gtk_GdkGraphics.c (drawString):
5452         Wrap baseline y value in PANGO_PIXELS macro, rather than simply
5453         dividing by PANGO_SCALE.  Call gdk_flush before leaving GDK
5454         critical region.
5455         (drawLine): Call gdk_flush before leaving GDK critical region.
5456         (fillRect): Likewise.
5457         (drawRect): Likewise.
5458         (copyArea): Likewise.
5459         (copyPixmap): Likewise.
5460         (clearRect): Likewise.
5461         (drawArc): Likewise.
5462         (drawPolyline): Likewise.
5463         (drawPolygon): Likewise.
5464         (fillPolygon): Likewise.
5465         (fillArc): Likewise.
5466         (drawOval): Likewise.
5467         (fillOval): Likewise.
5469         * gnu/java/awt/peer/gtk/GdkFontMetrics.java (initState): Add
5470         style parameter.
5471         (GdkFontMetrics): Add style argument to initState call.
5472         (stringWidth(String,int,int,String)): Add style parameter.
5473         (stringWidth(String)): Add style argument to stringWidth call.
5474         * jni/gtk-peer/gnu_java_awt_peer_gtk_GdkFontMetrics.c
5475         (initState): Set pango font style and weight based on AWT style
5476         parameter.  Pass default GTK language to
5477         pango_context_get_metrics.  Use PANGO_PIXELS macro rather than
5478         simply dividing by PANGO_SCALE.
5479         (stringWidth): Set pango font style and weight based on AWT style
5480         parameter.
5482         * java/awt/Button.java (next_button_number): New field.
5483         (paramString): Change output.
5484         (generateName): New method.
5485         (getUniqueLong): New method.
5487 2004-06-14  Kim Ho  <kho@redhat.com>
5489         * javax/swing/JTabbedPane.java:
5490         (setComponentAt): Set the component, not
5491         the enabled status.
5492         * javax/swing/plaf/basic/BasicDesktopIconUI.java
5493         (actionPerformed): Let deiconize catch exception.
5495 2004-06-14  Olga Rodimina  <rodimina@redhat.com>
5497         * javax/swing/JPopupMenu.java:
5498         (setVisible): Corrected location of a 
5499         heavyweight popup menu.
5501 2004-06-14  Olga Rodimina  <rodimina@redhat.com>
5503         * javax/swing/MenuSelectionManager.java: 
5504         Ran through jalopy to fix formatting style.
5506 2004-06-14  Olga Rodimina  <rodimina@redhat.com>
5507         
5508         * javax/swing/JLayeredPane.java: 
5509         (remove): Revalidate and repaint layered pane after
5510         the component was removed.
5511         javax/swing/JMenu.java:
5512         (setVisible): Display popup menu at the user location,
5513         if one was set by the user.
5514         (setMenuLocation): Reimplemented. Fixed javadoc.
5515         * javax/swing/JMenuBar.java: Added javadoc.
5516         (BORDER_PAINTED_CHANGED_PROPERTY): New Property.
5517         (MODEL_CHANGED_PROPERTY): New Property.
5518         (isSelected): Implemented.
5519         (setBorderPainted): Fire PropertyChangeEvent
5520         if paintBorder property changes.
5521         (setSelected): Implemented.
5522         (setSelectionModel): Implemented.
5523         * javax/swing/JPopupMenu.java: Added Javadoc
5524         (pack): Implemented.
5525         (setVisible): Reimplemented.
5526         (show): Fixed location.
5527         (JPopupMenu.LigthWeightPopup): Reimplemented to use
5528         Container instead of JPanel.
5529         * javax/swing/MenuSelectionManager.java: Added Javadocs.
5530         (clearSelectedPath): Reimplemented to clear selectedPath
5531         in reverse order.
5532         (processMouseEvent): Reimplemented.
5533         (setSelectedPath): Fire stateChange event indicating that
5534         selected menu path has changed.
5535         (getPath): Change to use ArrayList instead of Vector.
5536         * javax/swing/plaf/basic/BasicMenuBarUI.java:
5537         (installUI): call installKeyboardActions().
5538         (uninstallUI): call uninstallKeyboardActions().
5540 2004-06-13  Michael Koch  <konqueror@gmx.de>
5542         * javax/swing/text/DefaultCaret.java,
5543         javax/swing/text/BadLocationException.java:
5544         Reformatted.
5546 2004-06-12  Thomas Fitzsimmons  <fitzsim@redhat.com>
5548         * gnu/java/awt/peer/gtk/GtkTextAreaPeer.java (DEFAULT_ROWS,
5549         DEFAULT_COLS): New variables.
5550         (create): Don't allow 0 rows or 0 columns.  Instead, set the
5551         values to DEFAULT_ROWS or DEFAULT_COLS.
5552         (getMinimumSize): Likewise.
5553         (getPreferredSize): Likewise.
5554         (minimumSize): Likewise.
5555         (preferredSize): Likewise.
5556         (create): Set peer's editable state.
5557         * java/awt/TextArea.java (TextArea()): Set rows and columns to
5558         zero.  Update javadocs.
5559         (TextArea(String)): Likewise.
5560         (TextArea(int,int)): Fix javadocs.
5561         (TextArea(String,int,int,int)): Only throw exception if one of
5562         rows or columns is zero.  Fix javadocs.
5564 2004-06-11  Thomas Fitzsimmons  <fitzsim@redhat.com>
5566         * java/awt/AWTEvent.java (toString): Handle MenuComponents in
5567         addition to Components.
5569         * java/awt/MenuItem.java (dispatchEventImpl): If the event
5570         wasn't consumed by normal processing, send it to the parent
5571         menu.
5573         * gnu/java/awt/peer/gtk/GtkImagePainter.java
5574         (setPixels(int,int,int,int,ColorModel,int[],int,int)): Remove
5575         translation.
5577 2004-06-11  David Jee  <djee@redhat.com>
5579         * java/awt/MediaTracker.java
5580         (addImage(Image,int)): Call imageUpdate() to udpate image status.
5581         (addImage(Image,int,int,int)): Likewise.
5583 2004-06-11  Michael Koch  <konqueror@gmx.de>
5585         * javax/swing/text/AbstractDocument.java,
5586         javax/swing/text/Document.java,
5587         javax/swing/text/GapContent.java,
5588         javax/swing/text/JTextComponent.java,
5589         javax/swing/text/PlainDocument.java:
5590         Reformatted.
5592 2004-06-11  Michael Koch  <konqueror@gmx.de>
5594         * javax/swing/JRootPane.java
5595         (AccessibleJRootPane.serialVersionUID): New field.
5596         (AccessibleJRootPane.AccessibleJRootPane): New constructor.
5597         (AccessibleJRootPane.getAccessibleRole): New method.
5598         (RootLayout): Implements Serializable.
5599         (RootLayout.serialVersionUID): New field.
5600         (RootLayout.RootLayout): New constructor.
5601         (setJMenuBar): Made public.
5602         (getJMenuBar): Likewise.
5603         (JRootPane): Likewise.
5604         (createContentPane): Likewise.
5605         (createGlassPane): Likewise.
5606         (createLayeredPane): Likewise.
5608 2004-06-11  Michael Koch  <konqueror@gmx.de>
5610         * javax/swing/SwingUtilities.java
5611         (isLeftMouseButton): Fixed javadoc.
5612         (isMiddleMouseButton): Likewise.
5613         (isRightMouseButton): Likewise.
5615 2004-06-11  Michael Koch  <konqueror@gmx.de>
5617         * javax/swing/JScrollPane.java
5618         (serialVersionUID): New field.
5619         (columnHeader): Made protected.
5620         (rowHeader): Likewise.
5621         (lowerLeft): Likewise.
5622         (lowerRight): Likewise.
5623         (upperLeft): Likewise.
5624         (upperRight): Likewise.
5625         (horizontalScrollBar): Likewise.
5626         (horizontalScrollBarPolicy): Likewise.
5627         (verticalScrollBar): Likewise.
5628         (verticalScrollBarPolicy): Likewise.
5629         (viewport): Likewise.
5631 2004-06-11  Michael Koch  <konqueror@gmx.de>
5633         * javax/swing/LookAndFeel.java: Fixed javadocs.
5635 2004-06-11  Michael Koch  <konqueror@gmx.de>
5637         * javax/swing/JEditorPane.java: Fixed javadocs.
5638         (JEditorPane): Removed redundant call to to this().
5639         (fireHyperlinkUpdate): Implemented.
5641 2004-06-10  Olga Rodimina  <rodimina@redhat.com>
5643         * javax/swing/JMenu.java: Fixed file name 
5644         in the file comment.
5646 2004-06-10  Olga Rodimina  <rodimina@redhat.com>
5648         * javax/swing/JMenu.java: Added javadoc.
5649         (JMenu): Added MenuChangeListener to listen to 
5650         ChangeEvents occuring in menu's model. 
5651         (insert): Throw IllegalArgumentException if 
5652         index is less than 0
5653         (setSelected): Reimplement.
5654         (setPopupMenuVisible): Call menu's model isEnabled()
5655         (setDelay): Throw IllegalArgumentException if 
5656         given amount of delay is less than 0.
5657         (createActionComponent): Implemented.
5658         (createActionChangeListener): Implemented.
5659         (addSeparator): Implemented.
5660         (getItem): Throw IllegalArgumentException if index is 
5661         less than 0.
5662         (getItemCount): Implemented.
5663         (fireMenuSelected): Changed to use menuEvent.
5664         (fireMenuDeselected): Likewise.
5665         (fireMenuCanceled): Likewise.
5666         (setAccelerator): Changed to throw an error if this 
5667         method is used. 
5668         (doClick): Implemented.
5669         (JMenu.ActionChangedListener): New inner class to handle
5670         PropertyChangeEvents occuring in the actions associated with menu.
5671         * javax/swing/plaf/basic/BasicMenuUI.java: Added javadoc.
5672         (BasicMenuUI): Added PropertyChangeListener to the menu.
5673         (createChangeListener): Implemented.
5674         (createMenuDragMouseListener): Likewise.
5675         (createMenuKeyListener): Likewise.
5676         (createPropertyChangeListener): Likewise.
5677         (uninstallListeners): Likewise.
5678         (BasicMenuUI.MouseInputHandler): Reimplemented.
5679         (BasicMenuUI.PropertyChangeHandler): New class. Not implemented yet.
5680         (BasicMenuUI.ChangeHandler): Likewise.
5681         (BasicMenuUI.MenuDragMouseHandler): Likewise.
5682         (BasicMenuUI.MenuKeyHandler): Likewise.
5684 2004-06-10  David Jee  <djee@redhat.com>
5686         * java/awt/MediaTracker.java
5687         (imageUpdate): Only do notifyAll() if the image is complete.
5689 2004-06-10  Olga Rodimina  <rodimina@redhat.com>
5691         * javax/swing/JApplet.java:
5692         (getJMenuBar): Made public.
5693         (setJMenuBar): Likewise.
5694         * javax/swing/JFrame.java:
5695         (getJMenuBar): Made public.
5696         (setJMenuBar): Likewise.
5697         * javax/swing/JWindow.java:
5698         (getJMenuBar): Removed.
5699         (setJMenuBar): Removed.
5701 2004-06-10  Michael Koch  <konqueror@gmx.de>
5703         * javax/swing/JEditorPane.java
5704         (createEditorKitForContentType): Fixed visibility.
5705         (fireHyperlinkUpdate): Likewise.
5706         (getContentType): Likewise.
5707         (getEditorKit): Likewise.
5708         (getEditorKitForContentType): Likewise.
5709         (getPage): Likewise.
5710         (read): Likewise.
5711         (registerEditorKitForContentTyoe): Likewise.
5712         (replaceSelection): Likewise.
5713         (setContentType): Likewise.
5714         (setEditorKit): Likewise.
5715         (setPage): Likewise.
5717 2004-06-10  Michael Koch  <konqueror@gmx.de>
5719         * javax/swing/Timer.java
5720         (Timer): New constructor.
5721         * javax/swing/plaf/basic/BasicProgressBarUI.java
5722         (animationTimer): Don't initialize at construction.
5723         (startAnimationTimer): Added since tag.
5724         (stopAnimationTimer): Likewise.
5725         (installUI): Use new Timer constructor.
5726         * javax/swing/plaf/basic/BasicScrollBarUI.java
5727         (installUI): Likewise.
5728         * javax/swing/plaf/basic/BasicSliderUI.java
5729         (installUI): Likewise.
5731 2004-06-10  Michael Koch  <konqueror@gmx.de>
5733         * javax/swing/ButtonGroup.java
5734         (serialVersionUID): Made private.
5735         (buttons): Renamed from v, added javadoc.
5736         (sel): Added javadoc.
5737         (ButtonGroup): Likewise.
5738         (add): Likewise.
5739         (remove): Likewise.
5740         (getElements): Likewise.
5741         (getSelection): Likewise.
5742         (setSelected): Likewise.
5743         (isSelected): Likewise.
5744         (getButtonCount): Likewise.
5746 2004-06-10  Michael Koch  <konqueror@gmx.de>
5748         * javax/swing/ButtonGroup.java,
5749         javax/swing/ImageIcon.java,
5750         javax/swing/JEditorPane.java,
5751         javax/swing/JRootPane.java,
5752         javax/swing/JTextField.java,
5753         javax/swing/LookAndFeel.java,
5754         javax/swing/plaf/basic/BasicTextUI.java:
5755         Reindented.
5757 2004-06-10  Michael Koch  <konqueror@gmx.de>
5759         * javax/swing/text/Style.java: Added javadocs.
5761 2004-06-10  Michael Koch  <konqueror@gmx.de>
5763         * javax/swing/JComponent.java
5764         (fireVetoableChange): Removed redundant cast.
5765         * javax/swing/JLabel.java
5766         (getDisabledIcon): Save icon for next call.
5768 2004-06-10  Michael Koch  <konqueror@gmx.de>
5770         * javax/swing/KeyStroke.java
5771         (getKeyStroke(char,boolean)): Marked deprecated.
5773 2004-06-10  Michael Koch  <konqueror@gmx.de>
5775         * javax/swing/DefaultCellEditor.java,
5776         javax/swing/GrayFilter.java,
5777         javax/swing/event/DocumentEvent.java,
5778         javax/swing/text/JTextComponent.java,
5779         javax/swing/text/MutableAttributeSet.java:
5780         Reindented.
5782 2004-06-10  Michael Koch  <konqueror@gmx.de>
5784         * javax/swing/plaf/BorderUIResource.java:
5785         Added serialVersionUID all over.
5787 2004-06-10  Sascha Brawer  <brawer@dandelis.ch>
5789         * javax/swing/undo/UndoManager.java: Re-written from scratch.
5791 2004-06-10  Michael Koch  <konqueror@gmx.de>
5793         * javax/swing/table/DefaultTableCellRenderer.java
5794         (noFocusBorder): Initialize directly.
5796 2004-06-10  Michael Koch  <konqueror@gmx.de>
5798         * javax/swing/plaf/basic/BasicArrowButton.java
5799         (setDirection): Use method argument.
5801 2004-06-10  Michael Koch  <konqueror@gmx.de>
5803         * javax/swing/plaf/BorderUIResource.java,
5804         javax/swing/plaf/ComponentUI.java,
5805         javax/swing/undo/CompoundEdit.java,
5806         javax/swing/undo/StateEdit.java:
5807         Fixed javadocs all over.
5809 2004-06-10  Michael Koch  <konqueror@gmx.de>
5811         * javax/swing/DefaultButtonModel.java
5812         (ARMED): Made public final, fixed value.
5813         (ENABLED): Likewise.
5814         (PRESSED): Likewise.
5815         (ROLLOVER): Likewise.
5816         (SELECTED): Likewise.
5817         (stateMask): Initialize directly.
5818         (listenerList): Likewise.
5819         (mnemonic): Likewise.
5820         (fireStateChanged): Removed argument, use changeEvent as event.
5821         All places where this method is called are fixed too.
5822         (getActionCommant): Fixed javadoc.
5823         (setGroup): Fixed javadoc.
5824         (getGroup): New method.
5826 2004-06-09  Olga Rodimina <rodimina@redhat.com>
5828         * javax/swing/AbstractButton.java
5829         (AbstractButton): Use init() to initialize the button.
5830         (init): New Method. Initializes AbstractButton.
5831         * javax/swing/JMenuItem.java: Documented.
5832         (JMenuItem): Reimplemented.
5833         (init): Implemented.
5834         (setEnabled): Changed to call super.setEnabled()
5835         (processMouseEvent): Reimplemented.
5836         (fireMenuKeyPressed): Implemented.
5837         (fireMenuKeyReleased): Implemented.
5838         (fireMenuKeyTyped): Implemented.
5839         (menuSelectionChanged): disarm the model if the menu item was
5840         deselected.
5841         * javax/swing/plaf/basic/BasicMenuItemUI.java:Documented.
5842         (getPath): Change to use ArrayList instead of Vector.
5843         (getPreferredSize): Renamed variable.
5844         (paintMenuItem): Paint margin area of menu item.
5845         (MouseInputHandler.mouseEntered): Set selection in MenuSelectionManager.
5846         (MouseInputHandler.mouseReleased): Check if mouse was pressed inside
5847         menu item's bounds before clearing the selection.       
5849 2004-06-09  David Jee  <djee@redhat.com>
5851         * gnu/java/awt/peer/gtk/GtkTextComponentPeer.java
5852         (GtkTextComponentPeer): Set caret position to 0.
5853         * java/awt/TextComponent.java
5854         (setText): Set caret position to 0.
5855         * jni/gtk-peer/gnu_java_awt_peer_gtk_GtkComponentPeer.c
5856         (Java_gnu_java_awt_peer_gtk_GtkComponentPeer_addExposeFilter):
5857         Handle GtkScrolledWindow separately. Fix signal handler blocking.
5858         (Java_gnu_java_awt_peer_gtk_GtkComponentPeer_removeExposeFilter):
5859         Likewise.
5860         * jni/gtk-peer/gnu_java_awt_peer_gtk_GtkTextAreaPeer.c
5861         (Java_gnu_java_awt_peer_gtk_GtkTextAreaPeer_create): Make cursor
5862         visible.
5864 2004-06-09  Kim Ho  <kho@redhat.com>
5866         * Makefile.am: New files
5867         * Makefile.in: Regenerated
5868         * java/awt/Container.java
5869         (getComponentAt): Removed.
5870         * javax/swing/AbstractAction.java
5871         (ENABLED_PROPERTY): New property.
5872         (putValue): Fire PropertyChangeEvents.
5873         (setEnabled): ditto.
5874         (firePropertyChange): Javadoc and implement
5875         convenience method.
5876         * javax/swing/AbstractButton.java
5877         (setAction): Don't create PropertyChangeListener
5878         if new Action is null.
5879         (setIcon): Don't set icon till after comparing
5880         it.
5881         (configurePropertiesFromAction): Check mnemonic
5882         key before calling intValue().
5883         (createActionPropertyChangeListener): Check
5884         properties rather than bulk change.
5885         * javax/swing/DefaultDesktopManager.java:
5886         Implement.
5887         * javax/swing/DesktopManager.java:
5888         Jalopy and javadoc.
5889         * javax/swing/JComponent.java
5890         (fireVetoableChange): Implement.
5891         (paintImmediately): Use root component.
5892         * javax/swing/JDesktopPane.java: Implement
5893         * javax/swing/JInternalFrame.java: Implement
5894         * javax/swing/JLabel.java
5895         (getDisabledIcon): Return grayscaled icon if
5896         no disabled icon specified.
5897         * javax/swing/JMenuBar.java
5898         (getComponentAtIndex): Use getComponent
5899         * javax/swing/JOptionPane.java
5900         (getDesktopPaneForComponent): Use SwingUtilities'
5901         getAncestorOfClass
5902         (getFrameForComponent): ditto.
5903         * javax/swing/JSplitPane.java
5904         (remove): Use getComponent.
5905         * javax/swing/SwingUtilities.java
5906         (convertPoint): Implement.
5907         * javax/swing/plaf/basic/BasicButtonUI.java
5908         (paintButtonNormal): Check opaqueness before
5909         filling background.
5910         * javax/swing/plaf/basic/BasicDesktopIconUI.java:
5911         Implement
5912         * javax/swing/plaf/basic/BasicDesktopPaneUI.java:
5913         Implement.
5914         * javax/swing/plaf/basic/BasicInternalFrameTitlePane.java:
5915         Implement.
5916         * javax/swing/plaf/basic/BasicInternalFrameUI.java:
5917         Implement.
5918         * javax/swing/plaf/basic/BasicLookAndFeel.java:
5919         Change InternalFrame and Desktop colors.
5921 2004-06-09  David Jee  <djee@redhat.com>
5923         * java/awt/Container.java
5924         (remove): Do not set component to invisible.
5926 2004-06-09  Michael Koch  <konqueror@gmx.de>
5928         * javax/swing/tree/DefaultMutableTreeNode.java
5929         (getLeafCount): Renamed enum to e.
5931 2004-06-09  Michael Koch  <konqueror@gmx.de>
5933         * javax/swing/plaf/basic/BasicSplitPaneDivider.java
5934         (positionForMouseEvent): Removed redundant semicolon.
5935         (continueDrag): Use method arguments.
5937 2004-06-09  Michael Koch  <konqueror@gmx.de>
5939         * javax/swing/border/TitledBorder.java,
5940         javax/swing/filechooser/FileSystemView.java,
5941         javax/swing/plaf/basic/BasicButtonListener.java,
5942         javax/swing/plaf/basic/BasicGraphicsUtils.java,
5943         javax/swing/plaf/basic/BasicLabelUI.java,
5944         javax/swing/plaf/basic/BasicRadioButtonMenuItemUI.java,
5945         javax/swing/plaf/basic/BasicScrollBarUI.java,
5946         javax/swing/plaf/basic/BasicScrollPaneUI.java,
5947         javax/swing/plaf/basic/BasicSliderUI.java,
5948         javax/swing/plaf/basic/BasicTabbedPaneUI.java,
5949         javax/swing/plaf/basic/BasicToggleButtonUI.java,
5950         javax/swing/table/JTableHeader.java,
5951         javax/swing/text/AbstractDocument.java,
5952         javax/swing/text/DefaultCaret.java,
5953         javax/swing/text/StyledEditorKit.java,
5954         javax/swing/tree/DefaultTreeCellEditor.java:
5955         Reworked import statements.
5957 2004-06-08  Graydon Hoare  <graydon@redhat.com>
5959         * javax/swing/Box.java: Temporarily comment out code
5960         broken due to visibility bug.
5962 2004-06-09  Michael Koch  <konqueror@gmx.de>
5964         * javax/swing/ImageIcon.java
5965         (ImageIcon): Added missing constructor.
5967 2004-06-08  Michael Koch  <konqueror@gmx.de>
5969         * javax/swing/JToggleButton.java
5970         (JToggleButton): New constructor.
5971         (getAccessibleContext): Moved documentation into javadoc.
5972         (getUIClassID): Likewise.
5974 2004-06-08  Michael Koch  <konqueror@gmx.de>
5976         * javax/swing/AbstractButton.java
5977         (getDisabledIcon): Create disabled icon if none exists yet.
5979 2004-06-08  Michael Koch  <konqueror@gmx.de>
5981         * javax/swing/plaf/basic/BasicLookAndFeel.java
5982         (initClassDefaults): Added FormattedTextFieldUI.
5983         (loadResourceBundle): Renamed enum to e.
5985 2004-06-08  Michael Koch  <konqueror@gmx.de>
5987         * javax/swing/plaf/basic/BasicButtonUI.java
5988         (paintIcon): Simplified.
5989         (paintText): Paint disabled button correctly.
5991 2004-06-08  Michael Koch  <konqueror@gmx.de>
5993         * javax/swing/JComponent.java
5994         (createToolTip): Use official JToolTip API.
5996 2004-06-08  Michael Koch  <konqueror@gmx.de>
5998         * javax/swing/JToolTip.java
5999         (JToolTip): No arguments in API.
6000         (setTipText): New method.
6002 2004-06-08  Michael Koch  <konqueror@gmx.de>
6004         * javax/swing/SwingUtilities.java
6005         (isLeftMouseButton): New method.
6006         (isMiddleMouseButton): New method.
6007         (isRightMouseButton): New method.
6009 2004-06-08  Michael Koch  <konqueror@gmx.de>
6011         * javax/swing/AbstractButton.java,
6012         javax/swing/CellRendererPane.java,
6013         javax/swing/JCheckBoxMenuItem.java,
6014         javax/swing/JColorChooser.java,
6015         javax/swing/JComboBox.java,
6016         javax/swing/JComponent.java,
6017         javax/swing/JDesktopPane.java,
6018         javax/swing/JFileChooser.java,
6019         javax/swing/JMenu.java,
6020         javax/swing/JMenuItem.java,
6021         javax/swing/JOptionPane.java,
6022         javax/swing/JPasswordField.java,
6023         javax/swing/JPopupMenu.java,
6024         javax/swing/JProgressBar.java,
6025         javax/swing/JRadioButtonMenuItem.java,
6026         javax/swing/JScrollBar.java,
6027         javax/swing/JSeparator.java,
6028         javax/swing/JSlider.java,
6029         javax/swing/JSplitPane.java,
6030         javax/swing/JTabbedPane.java,
6031         javax/swing/JTextField.java,
6032         javax/swing/JToolBar.java,
6033         javax/swing/text/JTextComponent.java:
6034         Fixed all constructors of accessibility classes.
6036 2004-06-08  Michael Koch  <konqueror@gmx.de>
6038         * javax/swing/ScrollPaneLayout.java: Renamed all memeber variables all
6039         over.
6041 2004-06-08  Michael Koch  <konqueror@gmx.de>
6043         * javax/swing/Box.java
6044         (AccessibleBoxFiller): Extends AccessibleAWTComponent.
6045         (AccessibleBoxFiller.serialVersionUID): New member variable.
6046         * javax/swing/DefaultButtonModel.java
6047         (stateMask): Made protected.
6048         (listenerList): Likewise.
6049         (changeEvent): Likewise.
6050         (group): Likewise.
6051         (mnemonic): Likewise.
6052         (actionCommand): Likewise.
6053         (getListeners): New method.
6054         (getActionListeners): New method.
6055         (getItemListeners): New method.
6056         (getChangeListeners): New method.
6057         (fireItemStateChanged): Simplified.
6058         (fireActionPerformed): Simplified.
6059         (fireStateChanged): Simplified.
6060         * javax/swing/JFrame.java
6061         (JFrame): Implements WindowContants.
6062         (HIDE_ON_CLOSE): Removed.
6063         (EXIT_ON_CLOSE): Removed.
6064         (DISPOSE_ON_CLOSE): Removed.
6065         (DO_NOTHING_ON_CLOSE): Removed.
6066         (processWindowEvent): Exit with code 0.
6067         (setDefaultCloseOperation): Do security check before setting value.
6068         * javax/swing/JOptionPane.java
6069         (message): Initialize only in constructor.
6070         * javax/swing/JToolTip.java: Removed unused imports.
6071         * javax/swing/JViewport.java
6072         (serialVersionUID): New member variable.
6073         (SIMPLE_SCROLL_MODE): Made final, fixed value.
6074         (BLIT_SCROLL_MODE): Likewise.
6075         (BACKINGSTORE_SCROLL_MODE): Likewise.
6076         (scrollUnderway): Made protected.
6077         (isViewSizeSet): Likewise.
6078         * javax/swing/ListModel.java: Fixed javadoc.
6079         * javax/swing/Popup.java: Likewise.
6080         * javax/swing/RepaintManager.java
6081         (paintDirtyRegions): Don't use internal classes of
6082         java.util.AbstractMap.
6083         * javax/swing/ScrollPaneConstants.java: Reindented.
6084         * javax/swing/ScrollPaneLayout.java
6085         (viewport): Made protected.
6086         (verticalScrollBar): Made protected, renamed to vsb.
6087         (horizontalScrollBar): Made protected, renamed to hsb.
6088         (rowHeader): Made protected, renamed to rowHead.
6089         (columnHeader): Made protected, renamed to colHead.
6090         (lowerLeft): Made protected.
6091         (lowerRight): Made protected.
6092         (upperLeft): Made protected.
6093         (upperRight): Made protected.
6094         (verticalScrollBarPolicy): Made protected, renamed to vsbPolicy.
6095         (horizontalScrollBarPolicy): Made protected, renamed to hsbPolicy.
6097 2004-06-07  Bernd Schmidt  <bernds@btinternet.com>
6099         * java/awt/MediaTracker.java (imageUpdate): Only set status to
6100         LOADING if flags has SOMEBITS set.
6102 2004-06-07  Michael Koch  <konqueror@gmx.de>
6104         * javax/swing/AbstractButton.java: Reorganized imports.
6105         * javax/swing/ActionMap.java: Likewise.
6106         * javax/swing/DefaultButtonModel.java: Likewise.
6107         * javax/swing/DefaultListModel.java: Likewise.
6108         * javax/swing/ImageIcon.java: Likewise.
6109         (serialVersionUID): New member variable.
6110         * javax/swing/JComboBox.java: Reorganized imports.
6111         * javax/swing/JComponent.java: Likewise.
6112         (ui): Made protected.
6113         (listenerList): Made protected.
6114         (TOOL_TIP_TEXT_KEY): New constant.
6115         (scrollRectToVisible): Removed redundant null check.
6116         * javax/swing/JFrame.java: Reorganized imports.
6117         * javax/swing/JInternalFrame.java: Reorganized imports.
6118         * javax/swing/JProgressBar.java: Likewise.
6119         * javax/swing/JRootPane.java: Likewise.
6120         * javax/swing/JScrollBar.java: Likewise.
6121         * javax/swing/JSeparator.java: Likewise.
6122         * javax/swing/JSlider.java: Likewise.
6123         * javax/swing/JTabbedPane.java: Likewise.
6124         * javax/swing/JTextField.java: Likewise.
6125         * javax/swing/JToolBar.java: Likewise.
6126         * javax/swing/JTree.java: Likewise.
6127         * javax/swing/JViewport.java: Likewise.
6128         * javax/swing/JWindow.java: Likewise.
6129         * javax/swing/KeyStroke.java: Likewise.
6130         * javax/swing/LookAndFeel.java: Likewise.
6131         * javax/swing/MenuSelectionManager.java: Likewise.
6132         * javax/swing/SwingUtilities.java: Likewise.
6133         * javax/swing/Timer.java: Likewise.
6134         * javax/swing/DefaultBoundedRangeModel.java: Fixed javadoc.
6135         * javax/swing/JList.java
6136         (HORIZONTAL_WRAP): Made final, fixed value.
6137         (VERTICAL): Likewise.
6138         (VERTICAL_WRAP): Likewise.
6140 2004-06-07  Michael Koch  <konqueror@gmx.de>
6142         * javax/swing/AbstractButton.java
6143         (serialVersionUID): New member variable.
6144         (AccessibleAbstractButton.serialVersionUID): Likewise.
6145         (AbstractButton): Made public.
6146         * javax/swing/Box.java
6147         (AccessibleBox.serialVersionUID): New member variable.
6148         (Filler.serialVersionUID): Likewise.
6149         * javax/swing/DefaultListSelectionModel.java
6150         (serialVersionUID): Likewise.
6151         * javax/swing/JApplet.java
6152         (serialVersionUID): Likewise.
6153         * javax/swing/JCheckBox.java
6154         (serialVersionUID): Likewise.
6155         * javax/swing/JCheckBoxMenuItem.java
6156         (serialVersionUID): Likewise.
6157         (AccessibleJCheckBoxMenuItem.serialVersionUID): Likewise.
6158         * javax/swing/JColorChooser.java
6159         (serialVersionUID): Likewise.
6160         (AccessibleJColorChooser.serialVersionUID): Likewise.
6161         * javax/swing/JComponent.java
6162         (serialVersionUID): Made private.
6163         (AccessibleJComponent.serialVersionUID): New member variable.
6164         * javax/swing/JDesktopPane.java
6165         (serialVersionUID): Likewise.
6166         * javax/swing/JDialog.java
6167         (serialVersionUID): Likewise.
6168         * javax/swing/JFormattedTextField.java
6169         (serialVersionUID): Fixed value.
6170         * javax/swing/JFrame.java
6171         (serialVersionUID): New member variable.
6172         (getDefaultCloseOpertation): Made public.
6173         * javax/swing/JLayeredPane.java
6174         (serialVersionUID): Likewise.
6175         (LAYER_PROPERTY): Made final, fixed value.
6176         (JLayeredPane): Made public.
6177         * javax/swing/JMenu.java
6178         (AccessibleJMenu.serialVersionUID): New member variable.
6179         (WinListener.serialVersionUID): Likewise.
6180         * javax/swing/JMenuBar.java
6181         (serialVersionUID): Likewise.
6182         (getComponentAtIndex): Added @deprecated tag.
6183         * javax/swing/JMenuItem.java
6184         (serialVersionUID): New member variable.
6185         (AccessibleJMenuItem.serialVersionUID): Likewise.
6186         * javax/swing/JOptionPane.java
6187         (serialVersionUID): Likewise.
6188         (AccessibleJOptionPane.serialVersionUID): Likewise.
6189         * javax/swing/JPopupMenu.java
6190         (serialVersionUID): Likewise.
6191         (AccessibleJPopupMenu.serialVersionUID): Likewise.
6192         (getPopupMenuListeners): New method.
6193         (getComponentAtIndex): Added @deprecated tag.
6194         * javax/swing/JProgressBar.java
6195         (serialVersionUID): New member variable.
6196         (AccessibleJProgressBar.serialVersionUID): Likewise.
6197         * javax/swing/JRadioButton.java
6198         (serialVersionUID): Likewise.
6199         * javax/swing/JRadioButtonMenuItem.java
6200         (serialVersionUID): Likewise.
6201         (AccessibleJRadioButtonMenuItem.serialVersionUID): Likewise.
6202         * javax/swing/JScrollBar.java
6203         (serialVersionUID): Likewise.
6204         (AccessibleJScrollBar.serialVersionUID): Likewise.
6205         * javax/swing/JSeparator.java
6206         (serialVersionUID): Likewise.
6207         (AccessibleJSeparator.serialVersionUID): Likewise.
6208         * javax/swing/JSlider.java: Fixed javadocs.
6209         (AccessibleJSlider.serialVersionUID): New member variable.
6210         * javax/swing/JSplitPane.java: Added copyright statement.
6211         (serialVersionUID): New member variable.
6212         (AccessibleJSplitPane.serialVersionUID): Likewise.
6213         * javax/swing/JTabbedPane.java
6214         (serialVersionUID): Likewise.
6215         (AccessibleJTabbedPane.serialVersionUID): Likewise.
6216         (ModelListener.serialVersionUID): Likewise.
6217         (ModelListener.ModelListener): New constructor.
6218         (SCROLL_TAB_LAYOUT): Made public final, fixed value.
6219         (WRAP_TAB_LAYOUT): Likewise.
6220         * javax/swing/JTable.java
6221         (serialVersionUID): New member variable.
6222         * javax/swing/JToggleButton.java
6223         (serialVersionUID): Likewise.
6224         (ToggleButtonModel): Made static.
6225         (ToggleButtonModel.serialVersionUID): New member variable.
6226         * javax/swing/JToolTip.java
6227         (serialVersionUID): Likewise.
6228         * javax/swing/JTree.java
6229         (serialVersionUID): Likewise.
6230         * javax/swing/JWindow.java
6231         (serialVersionUID): Likewise.
6232         * javax/swing/Timer.java
6233         (serialVersionUID): Likewise.
6235 2004-06-06  Michael Koch  <konqueror@gmx.de>
6237         * javax/swing/SwingConstants.java
6238         (NEXT): New constant.
6239         (PREVIOUS): Likewise.
6240         * javax/swing/UIManager.java
6241         (LookAndFeel): Made public.
6242         (LookAndFeel.getClassName): Likewise.
6243         (LookAndFeel.getName): Likewise.
6245 2004-06-02  Olga Rodimina  <rodimina@redhat.com>
6247         * javax/swing/JCheckBoxMenuItem.java:
6248         Removed CVS tags.
6249         * javax/swing/JMenu.java: Likewise.
6250         * javax/swing/JMenuBar.java: Likewise.
6251         * javax/swing/JMenuItem.java: Likewise.
6252         * javax/swing/JPopupMenu.java: Likewise.
6253         * javax/swing/JRadioButtonMenuItem.java: Likewise.
6254         * javax/swing/plaf/basic/BasicCheckBoxMenuItemUI.java:Likewise.
6255         * javax/swing/plaf/basic/BasicMenuBarUI.java: Likewise.
6256         * javax/swing/plaf/basic/BasicMenuItemUI.java: Likewise.
6257         * javax/swing/plaf/basic/BasicMenuUI.java: Likewise.
6258         * javax/swing/plaf/basic/BasicPopupMenuUI.java: Likewise.
6259         * javax/swing/plaf/basic/BasicRadioButtonMenuItemUI.java: Likewise.
6261 2004-05-31  Olga Rodimina  <rodimina@redhat.com>
6262         
6263         * javax/swing/plaf/basic/BasicMenuUI.java:
6264         (MouseEntered): Do not call getPath() from MenuSelectionManager.
6265         Call getPath() from super class instead.
6267 2004-05-31  David Jee  <djee@redhat.com>
6269         * java/awt/Container.java
6270         (remove): Set component visibility to false after removing it.
6272 2004-05-27  Thomas Fitzsimmons  <fitzsim@redhat.com>
6274         * java/awt/Component.java (getForeground): Return SystemColor if
6275         parent is null.
6276         (getBackground): Likewise.
6278         * jni/gtk-peer/gnu_java_awt_peer_gtk_GtkListPeer.c
6279         (item_highlighted): New function.
6280         (connectSignals): Set item_highlighted as list's select
6281         function.
6283         * java/applet/Applet.java: Revert changes from 2004-04-29,
6284         2004-03-15 and 2004-03-14.
6286         * jni/gtk-peer/gnu_java_awt_peer_gtk_GdkGraphics.c (drawString):
6287         Divide baseline y coordinate by PANGO_SCALE, not DPI conversion
6288         factor.
6290         * gnu/java/awt/peer/gtk/GtkTextAreaPeer.java (create): Set
6291         "Dialog" as the default font.
6292         * gnu/java/awt/peer/gtk/GtkTextFieldPeer.java (create):
6293         Likewise.
6294         * java/awt/Component.java (getFont): Return "Dialog" font by
6295         default.
6296         * jni/gtk-peer/gnu_java_awt_peer_gtk_GdkClasspathFontPeer.c:
6297         Multiply size argument to pango_font_description_set_size by the
6298         DPI conversion factor rather than by PANGO_SCALE.
6299         * jni/gtk-peer/gnu_java_awt_peer_gtk_GdkFontMetrics.c: Likewise.
6300         * jni/gtk-peer/gnu_java_awt_peer_gtk_GdkGraphics.c: Likewise.
6301         * jni/gtk-peer/gnu_java_awt_peer_gtk_GtkButtonPeer.c: Likewise.
6302         * jni/gtk-peer/gnu_java_awt_peer_gtk_GtkCheckboxPeer.c: Likewise.
6303         * jni/gtk-peer/gnu_java_awt_peer_gtk_GtkComponentPeer.c: Likewise.
6304         * jni/gtk-peer/gnu_java_awt_peer_gtk_GtkLabelPeer.c: Likewise.
6305         * jni/gtk-peer/gnu_java_awt_peer_gtk_GtkListPeer.c: Likewise.
6306         * jni/gtk-peer/gnu_java_awt_peer_gtk_GtkTextAreaPeer.c: Likewise.
6307         * jni/gtk-peer/gnu_java_awt_peer_gtk_GtkTextFieldPeer.c: Likewise.
6308         * jni/gtk-peer/gnu_java_awt_peer_gtk_GdkGraphics.c (drawString):
6309         Divide baseline y coordinate by DPI conversion factor rather
6310         than by PANGO_SCALE.
6311         * jni/gtk-peer/gnu_java_awt_peer_gtk_GdkPixbufDecoder.c
6312         (area_prepared): Fix typo.
6313         * jni/gtk-peer/gnu_java_awt_peer_gtk_GtkLabelPeer.c
6314         (gtkSetFont): Move gtk_bin_get_child inside GDK critical region.
6315         * jni/gtk-peer/gnu_java_awt_peer_gtk_GtkMainThread.c
6316         (dpi_conversion_factor): New global variable.
6317         (init_dpi_conversion_factor): New function to calculate and
6318         track DPI conversion factor.
6319         (dpi_changed_cb): New callback.
6320         * jni/gtk-peer/gtkpeer.h (dpi_conversion_factor): Declare.
6322 2004-05-27  David Jee  <djee@redhat.com>
6324         * gnu/java/awt/peer/gtk/GtkComponentPeer.java
6325         (getGraphics): Return a new GdkGraphics instance.
6326         * gnu/java/awt/peer/gtk/GtkContainerPeer.java
6327         (getGraphics): Call super.getGraphics().
6329 2004-05-26  Thomas Fitzsimmons  <fitzsim@redhat.com>
6331         * jni/gtk-peer/gnu_java_awt_peer_gtk_GtkComponentPeer.c
6332         (setNativeBounds): Clamp width and height values to >= 0.
6334         * jni/gtk-peer/gnu_java_awt_peer_gtk_GtkComponentPeer.c
6335         (find_fg_color_widget): Handle GtkOptionMenu specially.
6337         * jni/gtk-peer/gnu_java_awt_peer_gtk_GtkEvents.c
6338         (pre_event_handler): Only post configure events to visible
6339         top-level windows.
6341 2004-05-26  David Jee  <djee@redhat.com>
6343         * java/awt/BorderLayout.java
6344         (layoutContainer): Fix size calculations.
6346 2004-05-26  Thomas Fitzsimmons  <fitzsim@redhat.com>
6348         * jni/gtk-peer/gnu_java_awt_peer_gtk_GtkWindowPeer.c
6349         (window_wm_protocols_filter): Remove function.
6350         (create): Remove filter that removes WM_TAKE_FOCUS client
6351         messages.
6353 2004-06-17  Anthony Green  <green@redhat.com>
6355         * java/util/zip/ZipFile.java (getInputStream): Return null if
6356         entry not found.
6358         * gnu/gcj/runtime/VMClassLoader.java (init): Add extension
6359         directory contents to the class path.
6361 2004-06-15  Andrew Haley  <aph@redhat.com>
6363         * java/lang/natSystem.cc (getenv0): Don't assume environment
6364         variable is Latin 1 coded.
6366 2004-06-14  Andreas Jaeger  <aj@suse.de>
6368         * configure.in: Support --enable-version-specific-runtime-libs.
6369         * configure: Regenerated.
6371 2004-06-14  Bryce McKinlay  <mckinlay@redhat.com>
6373         * java/util/Calendar.java: Change ResourceBundle.getBundle() calls
6374         to pass ClassLoader argument.
6375         * java/util/GregorianCalendar.java: Likewise.
6376         * java/util/Currency.java: Likewise.
6377         * java/text/BreakIterator.java: Likewise.
6378         * java/text/Collator.java: Likewise.
6379         * java/text/DateFormat.java: Likewise.
6380         * java/text/DateFormatSymbols.java: Likewise.
6381         * java/text/DecimalFormatSymbols.java: Likewise.
6382         * java/text/NumberFormat.java: Likewise.
6383         * java/awt/Window.java: Likewise.
6385 2004-06-14  Andrew Haley  <aph@redhat.com>
6387         * java/lang/System.java: (getenv0): New method.
6388         (getenv): Add security check.  Do the right thing.
6389         * java/lang/natSystem.cc (getenv0): New method.
6391 2004-06-12  Mark Wielaard  <mark@klomp.org>
6393         * javax/swing/RepaintManager.java
6394         (paintDirtyRegions): Use entrySet(), not values().
6396 2004-06-10  Mark Wielaard  <mark@klomp.org>
6398         * jni.cc (_Jv_JNI_GetAnyMethodID): Add name and signature to
6399         NoSuchMethodError.
6401 2004-06-11  Jerry Quinn  <jlquinn@optonline.net>
6403         * java/util/GregorianCalendar.java (computeTime):  Skip buggy formulae
6404         when we already know the answer.
6405         * java/util/SimpleTimeZone.java (serialVersionOnStream): Bump to 2.
6406         (setStartRule,setEndRule): Don't take abs of day number.
6407         (getOffset): Clarify docs.  Add argument checks.
6408         (isBefore): Take abs of day number in DOW_LE_DOM_MODE.
6409         (equals,hasSameRules,toString,readObject): Use startTimeMode and
6410         endTimeMode.
6412 2004-06-10  Tom Tromey  <tromey@redhat.com>
6414         * interpret.cc (run): Handle wide fload.
6416 2004-06-06  Jerry Quinn  <jlquinn@optonline.net>
6418         * java/util/zip/ZipEntry.java (setTime): Remove scaling.
6420 2004-06-05  Michael Koch  <konqueror@gmx.de>
6422         * javax/swing/SwingConstants.java
6423         (NEXT): New constant.
6424         (PREVIOUS): Likewise.
6426 2004-06-05  Michael Koch  <konqueror@gmx.de>
6428         * javax/swing/UIManager.java
6429         (LookAndFeel): Made public.
6430         (LookAndFeel.getName): Likewise.
6431         (LookAndFeel.getClassName): Likewise.
6433 2004-06-03  Michael Koch  <konqueror@gmx.de>
6435         * gnu/java/awt/peer/gtk/GtkComponentPeer.java
6436         (requestFocus): Revert last changes.
6437         (gtkRequestFocus): Removed.
6438         * jni/gtk-peer/gnu_java_awt_peer_gtk_GtkComponentPeer.c
6439         (Java_gnu_java_awt_peer_gtk_GtkComponentPeer_gtkRequestFocus):
6440         Renamed to ...
6441         (Java_gnu_java_awt_peer_gtk_GtkComponentPeer_gtkWidgetRequestFocus):
6442         Reverted last patch.
6443         * jni/gtk-peer/gnu_java_awt_peer_gtk_GtkPopupMenuPeer.c
6444         (Java_gnu_java_awt_peer_gtk_GtkPopupMenuPeer_setupAccelGroup):
6445         Reverted comment change.
6447 2004-06-02  Olga Rodimina  <rodimina@redhat.com>
6449         * javax/swing/JCheckBoxMenuItem.java:
6450         Removed CVS tags.
6451         * javax/swing/JMenu.java: Likewise.
6452         * javax/swing/JMenuBar.java: Likewise.
6453         * javax/swing/JMenuItem.java: Likewise.
6454         * javax/swing/JPopupMenu.java: Likewise.
6455         * javax/swing/JRadioButtonMenuItem.java: Likewise.
6456         * javax/swing/plaf/basic/BasicCheckBoxMenuItemUI.java:Likewise.
6457         * javax/swing/plaf/basic/BasicMenuBarUI.java: Likewise.
6458         * javax/swing/plaf/basic/BasicMenuItemUI.java: Likewise.
6459         * javax/swing/plaf/basic/BasicMenuUI.java: Likewise.
6460         * javax/swing/plaf/basic/BasicPopupMenuUI.java: Likewise.
6461         * javax/swing/plaf/basic/BasicRadioButtonMenuItemUI.java: Likewise.
6463 2004-06-01  Tom Tromey  <tromey@redhat.com>
6465         * java/io/ObjectStreamField.java: Cleaned up imports.
6467 2004-06-01  Michael Koch  <konqueror@gmx.de>
6469         * java/io/ObjectStreamField.java: Style and javadoc cleanup.
6470       
6471 2004-06-01  Mark Wielaard  <mark@klomp.org>
6473         * java/io/Writer.java (Writer(Object)): Fixed API doc.
6475 2004-06-01  Michael Koch  <konqueror@gmx.de>
6477         * java/security/Security.java
6478         (insertProviderAt): Use equals() instead of ==.
6479         (removeProvicer): Likewise.
6480         (getProvider): Likewise.
6481         * java/security/Signature.java
6482         (sign): Don't set state to UNINITIALIZED.
6483         (verify): Likewise.
6485 2004-06-01  Mark Wielaard  <mark@klomp.org>
6487         * gnu/java/awt/peer/gtk/GtkComponentPeer.java (requestFocus):
6488         Implement by calling gtkRequestFocus.
6489         (gtkRequestFocus): New native method.
6490         * native/jni/gtk-peer/gnu_java_awt_peer_gtk_GtkComponentPeer.c
6491         (Java_gnu_java_awt_peer_gtk_GtkComponentPeer_requestFocus__):
6492         Renamed to ...
6493         (Java_gnu_java_awt_peer_gtk_GtkComponentPeer_gtkRequestFocus):
6494         New function name.
6495         (filter_expose_event_handler):
6496         Mark static.
6497         * native/jni/gtk-peer/gnu_java_awt_peer_gtk_GtkPopupMenuPeer.c
6498         (menu_pos): Mark static.
6500 2004-06-01  Michael Koch  <konqueror@gmx.de>
6502         * java/text/CollationElementIterator.java,
6503         java/text/CollationKey.java,
6504         java/text/RuleBasedCollator.java: New versions from GNU classpath.
6505         * testsuite/libjava.mauve/xfails: Removed all
6506         java.text.CollationElementIterator tests.
6508 2004-06-01  Michael Koch  <konqueror@gmx.de>
6510         * java/util/zip/InflaterInputStream.java: Merged more with Classpath
6511         version.
6512         * java/util/zip/ZipOutputStream.java (): Renamed enum to e to removed
6513         Java 1.5 keyword usage.
6515 2004-05-31  Olga Rodimina  <rodimina@redhat.com>
6517         * javax/swing/plaf/basic/BasicMenuUI.java:
6518         (MouseEntered): Do not call getPath() from MenuSelectionManager.
6519         Call getPath() from super class instead.
6521 2004-05-31  Michael Koch  <konqueror@gmx.de>
6523         * java/io/SequenceInputStream.java:
6524         Rename enum to e because enum is a keyword in Java 1.5.
6526 2004-05-31  Michael Koch  <konqueror@gmx.de>
6528         * gnu/java/rmi/rmic/CompilerProcess.java:
6529         Fixed javadoc to by XHTML compliant.
6531 2004-05-30  Mark Wielaard  <mark@klomp.org>
6533         * java/awt/Toolkit.java (loadSystemColors): Implement.
6535 2004-05-30  Michael Koch  <konqueror@gmx.de>
6537         * java/lang/System.java: Reordered imports.
6539 2004-05-30  Guilhem Lavaux <guilhem@kaffe.org>
6541         * java/text/DecimalFormat.java
6542         (parse): Fixed parsing of decimal strings. Number of maximum
6543         digits to be read should now work.
6544         * java/text/SimpleDateFormat.java
6545         (SimpleDateFormat): Set maximumFractionDigit to 0 for the number
6546         formatter. This fixes DateFormatTest.
6548 2004-05-30  Michael Koch  <konqueror@gmx.de>
6550         * java/nio/Buffer.java
6551         (limit): Fixed off by one error.
6552         * java/nio/CharBuffer.java
6553         (wrap): Fixed arguments, added javadocs.
6555 2004-05-30  Michael Koch  <konqueror@gmx.de>
6557         * gnu/java/beans/BeanInfoEmbryo.java,
6558         java/awt/im/InputContext.java,
6559         javax/swing/tree/DefaultMutableTreeNode.java:
6560         Rename enum to e because enum is a keyword in Java 1.5.
6562 2004-05-30  Michael Koch  <konqueror@gmx.de>
6564         * gnu/java/math/MPN.java,
6565         java/awt/geom/Arc2D.java:
6566         Fixed javadocs all over.
6568 2004-05-30  Michael Koch  <konqueror@gmx.de>
6570         * java/awt/DefaultKeyboardFocusManager.java
6571         (dispatchEvent): Call method to get key event dispatchers.
6572         (dispatchKeyEvent): Call method to get key event post processors.
6573         * javax/swing/JComponent.java
6574         (listenerList): Made protected.
6575         * javax/swing/JOptionPane.java
6576         (message): Don't initialize.
6577         (JOptionPane): Set message text.
6578         * javax/swing/JPopupMenu.java
6579         (show): Fixed typo in argument name.
6580         * javax/swing/RepaintManager.java
6581         (paintDirtyRegions): Use public API of java.util.Map.
6582         * javax/swing/plaf/basic/BasicSplitPaneDivider.java
6583         (positionForMouseEvent): Removed redundant ';'.
6584         (continueDrag): Use method arguments.
6586 2004-05-29  Ranjit Mathew  <rmathew@hotmail.com>
6588         * testsuite/libjava.jacks/jacks.xfail: Update for post tree-ssa merge
6589         results.
6591 2004-05-28  Bryce McKinlay  <mckinlay@redhat.com>
6593         * gcj/cni.h (JvAllocBytes): New public CNI function. Calls
6594         _Jv_AllocBytes.
6595         * gnu/gcj/RawDataManaged.java: New file.
6596         * java/lang/Thread.java (data): Declare as RawDataManaged.
6597         * java/lang/natThread.cc (init_native): Cast natThread data to
6598         RawDataManaged, not jobject.
6599         * Makefile.am (ordinary_java_source_files): Add RawDataManaged.
6600         * Makefile.in: Rebuilt.
6602 2004-05-27  Jerry Quinn  <jlquinn@optonline.net>
6604         * java/util/SimpleTimeZone.java: Reverting my last change until I
6605         can fix it properly.
6607 2004-05-27  Michael Koch  <konqueror@gmx.de>
6609         * javax/swing/JPopupMenu.java
6610         (isVisible): Do not use visible directly.
6611         (setVisible): Likewise.
6612         * javax/swing/JWindow.java
6613         (JWindow): call accessible constructor.
6614         * javax/swing/RepaintManager.java
6615         (paintDirtyRegions): Use public methods to obtain iterator.
6617 2004-05-25  David Jee  <djee@redhat.com>
6619         * java/awt/Container.java
6620         (remove): Set component's parent to null only after we removed the
6621         component from its parent's layout manager.
6623 2004-05-25  David Jee  <djee@redhat.com>
6625         * gnu/java/awt/peer/gtk/GtkComponentPeer.java
6626         (GtkComponentPeer): Set bounds regardless of whether awtComponent
6627         is valid.
6628         * gnu/java/awt/peer/gtk/GtkListPeer.java
6629         (getSize): Change native method declaration.
6630         (minimumSize): Pass visible row count into getSize().
6631         (preferredSize): Likewise.
6632         * jni/gtk-peer/gnu_java_awt_peer_gtk_GtkListPeer.c
6633         (Java_gnu_java_awt_peer_gtk_GtkListPeer_getSize): Use scroll window's
6634         natural size. Use visible row count to determine the final height
6635         value to return.
6637 2004-05-21  Graydon Hoare  <graydon@redhat.com>
6639         * gnu/java/awt/peer/gtk/GdkGraphics2D.java 
6640         (setClip): Minor correction to order of operations.
6642         * javax/swing/JScrollPane.java: Extend sketchy implementation.
6643         * javax/swing/ScrollPaneLayout.java: Likewise.
6644         * javax/swing/JViewPort.java: Likewise.
6645         * javax/swing/ViewportLayout.java: Likewise.
6647         * javax/swing/JComponent.java: Rewrite.
6648         * javax/swing/RepaintManager.java: Likewise.
6650         * javax/swing/JLayeredPane.java: Change validate() to revalidate().
6651         * javax/swing/JList.java 
6652         (setSelectedIndices):
6653         (getSelectedIndices):
6654         (getSelectedValues): New functions.
6655         (getPreferredScrollableViewportSize): Return preferred size.
6656         (getScrollableUnitIncrement):
6657         (getScrollableBlockIncrement): Initial implementations.
6658         * javax/swing/JRootPane.java: Clean up slightly.
6659         (getUI):
6660         (setUI):
6661         (updateUI):
6662         (getUIClassID):
6663         (isValidateRoot): Add overrides from JComponent.
6664         * javax/swing/JScrollBar.java: Set default orientation to VERTICAL.
6665         * javax/swing/UIManager.java (getDimension): Return the dimension.
6667         * javax/swing/plaf/basic/BasicButtonUI.java: Set component opaque.
6668         * javax/swing/plaf/basic/BasicLabelUI.java: Likewise.
6669         * javax/swing/plaf/basic/BasicMenuItemUI.java: Likewise.
6670         * javax/swing/plaf/basic/BasicProgressBarUI.java: Likewise.
6671         * javax/swing/plaf/basic/BasicSeparatorUI.java: Likewise.
6672         * javax/swing/plaf/basic/BasicSliderUI.java: Likewise.
6673         * javax/swing/plaf/basic/BasicTabbedPaneUI.java: Likewise.
6674         * javax/swing/plaf/basic/BasicRootPaneUI.java: 
6675         Likewise, and set background.
6676         * javax/swing/plaf/basic/BasicListUI.java: 
6677         Likewise, and improve a bit.
6678         * javax/swing/plaf/basic/BasicScrollBarUI.java: 
6679         Likewise, and adjust calculations.
6680         * javax/swing/plaf/basic/BasicViewportUI.java:
6681         Likewise, and improve a bit.
6682         * javax/swing/plaf/basic/BasicLookAndFeel.java 
6683         (Button.margin): Shrink.
6685         * jni/gtk-peer/gnu_java_awt_peer_gtk_GdkGlyphVector.c:
6686         Hack to set horizontal always, workaround pango.
6688         * jni/gtk-peer/gtkcairopeer.h: Change to match pattern API.
6689         * jni/gtk-peer/gnu_java_awt_peer_gtk_GdkGraphics2D.c:
6690         Synchronize more often, check cairo status after ops,
6691         handle changes to cairo pattern API, check for disposal.
6693 2004-05-21  Olga Rodimina  <rodimina@redhat.com>
6695         * javax/swing/plaf/basic/BasicMenuItemUI.java:
6696         (BasicMenuItemUI): Create propertyChangeListener.
6697         (getPath):Implemented.
6698         (installListeners): Add propertyChangeListener to menuItem.
6699         (uninstallListeners): Remove propertyChangeListener from menuItem.
6700         (update): Implemented.
6701         * javax/swing/plaf/basic/BasicMenuUI.MouseInputHandler:
6702         (mouseEntered): Take insets of popup menu into account when
6703         calculating position of popup menu.     
6704         
6705 2004-05-18  Olga Rodimina  <rodimina@redhat.com>
6707         * Makefile.am: Added new file. 
6708         * Makefile.in: Regenerate.
6709         * javax/swing/JMenuBar.java:
6710         Started implementation.
6711         * javax/swing/JPopupMenu.java:
6712         (setVisible): Fixed location of lightweight/mediumweight
6713         popup menu.
6714         (show): Fixed location of PopupMenu.
6715         * javax/swing/plaf/basic/BasicMenuBarUI.java:
6716         New file. UI Delegate for JMenuBar.
6717         * javax/swing/plaf/basic/BasicMenuUI.MouseInputHandler:
6718         (mouseEntered): Corrected position of the submenu.
6720 2004-05-18  Thomas Fitzsimmons  <fitzsim@redhat.com>
6722         * jni/gtk-peer/gnu_java_awt_peer_gtk_GtkMenuPeer.c: Remove calls
6723         to _gtk_accel_group_attach.
6724         * jni/gtk-peer/gnu_java_awt_peer_gtk_GtkPopupMenuPeer.c:
6725         Likewise.
6727         * gnu/java/awt/peer/gtk/GtkButtonPeer.java: Give gtkSetFont
6728         package access.  Don't override setFont.
6729         * gnu/java/awt/peer/gtk/GtkCheckboxPeer.java: Likewise.
6730         * gnu/java/awt/peer/gtk/GtkComponentPeer.java: Give
6731         gtkWidgetRequestFocus package access.
6732         * gnu/java/awt/peer/gtk/GtkLabelPeer.java: Don't override
6733         setFont.
6734         * gnu/java/awt/peer/gtk/GtkListPeer.java: Override gtkSetFont.
6735         Give gtkWidgetRequestFocus package access.
6736         * gnu/java/awt/peer/gtk/GtkTextAreaPeer.java: Give
6737         gtkWidgetRequestFocus package access.  Don't override setFont.
6738         * gnu/java/awt/peer/gtk/GtkTextFieldPeer.java: Don't override
6739         setFont.
6740         * jni/gtk-peer/gnu_java_awt_peer_gtk_GtkButtonPeer.c
6741         (gtkSetLabel): Move call to gtk_bin_get_child into GDK critical
6742         region.
6743         (gtkSetFont): Likewise.
6744         * jni/gtk-peer/gnu_java_awt_peer_gtk_GtkListPeer.c (gtkSetFont):
6745         Implement.
6746         * jni/gtk-peer/gnu_java_awt_peer_gtk_GtkTextAreaPeer.c
6747         (gtkSetFont): Whitespace fix.
6749         * jni/gtk-peer/gnu_java_awt_peer_gtk_GtkComponentPeer.c
6750         (gtkWidgetSetUsize): Remove method.
6752 2004-05-18  David Jee  <djee@redhat.com>
6754         * java/awt/image/MemoryImageSource.java
6755         (newPixels(int,int,int,int,boolean)): Set only the specified
6756         rectangle of pixels.
6757         (newPixels(byte[],ColorModel,int,int)): Implement.
6758         (newPixels(int[],ColorModel,int,int)): Implement.
6760 2004-05-18  Olga Rodimina  <rodimina@redhat.com>
6762         * Makefile.am: Added new file.
6763         * Makefile.in: Regenerate.
6764         * javax/swing/JMenu.java: Started 
6765         implementation.
6766         * javax/swing/JPopupMenu.java:
6767         (insert): If specified index is -1, then
6768         add component at the end.
6769         (isPopupTrigger): Reimplemented.
6770         (JPopupMenu.LightWeightPopup): setBounds
6771         of the lightWeightPopup before adding it 
6772         to the layeredPane.
6773         (javax/swing/plaf/basic/BasicIconFactory.java):
6774         (getMenuArrowIcon): Implemented.
6775         * javax/swing/plaf/basic/BasicMenuItemUI.java:
6776         (getPreferredSize): Add size of the arrow icon 
6777         if this menu item is instance of JMenu.
6778         (paintMenuItem): Paint arrow icon if this 
6779         menu item is a submenu.
6780         * javax/swing/plaf/basic/BasicMenuUI.java:
6781         New File. UI Delegate for JMenu.
6783 2004-05-17  Thomas Fitzsimmons  <fitzsim@redhat.com>
6785         * gnu/java/awt/peer/gtk/GtkComponentPeer.java (postKeyEvent):
6786         Post KEY_TYPED events.
6787         * jni/gtk-peer/gnu_java_awt_peer_gtk_GtkEvents.c
6788         (generates_key_typed_event): Remove function.
6790 2004-05-17  Olga Rodimina  <rodimina@redhat.com>
6792         * javax/swing/JRootPane.java
6793         (JRootPane.RootLayout): Reimplemented to 
6794         set bounds of contentPane and menuBar.
6795         (setJMenuBar): Add menu bar to the layered pane.
6796         (createLayeredPane): Set layout of layeredPane
6797         to null.
6798         * javax/swing/JLayeredPane.java:
6799         (addImpl): Calculate index of the component in the
6800         layeredPane according to the specified position within 
6801         the layer.      
6803 2004-05-17  David Jee  <djee@redhat.com>
6805         * gnu/java/awt/peer/gtk/GtkImagePainter.java
6806         (setPixels): Change color model to the default model after
6807         converting pixels.
6808         * java/awt/image/MemoryImageSource.java
6809         (newPixels): Set only the specified rectangle of pixels.
6811 2004-05-13  Thomas Fitzsimmons  <fitzsim@redhat.com>
6813         * libgcj.spec.in (lib): Add -l-java-awt -l-java-applet
6814         -l-java-beans -l-javax-accessibility -l-javax-swing.
6816         * java/awt/AWTEvent.java (toString): Print source's name rather
6817         than the source itself.
6819 2004-05-12  Thomas Fitzsimmons  <fitzsim@redhat.com>
6821         * gnu/java/awt/peer/gtk/GtkToolkit.java (loadSystemColors): Make
6822         native.
6823         * jni/gtk-peer/gnu_java_awt_peer_gtk_GtkToolkit.c
6824         (gdk_color_to_java_color): New function.
6825         * jni/gtk-peer/gtkpeer.h: Add SystemColor defines.
6827 2004-05-12  David Jee  <djee@redhat.com>
6829         * java/awt/image/RGBImageFilter.java:
6830         Initialize origmodel as null.
6831         (makeColor): Fix pixel component order.
6832         (filterRGBPixels): Fix pixel iteration.
6833         (setPixels): Add extra checks for index color model. Convert pixels
6834         to default color model if necessary.
6835         (convertColorModelToDefault): New override method for byte pixels.
6836         (convertColorModelToDefault): For int pixels, fix pixel iteration.
6837         (makeColorbyDefaultCM): New override method for byte pixels.
6838         (makeColorbyDefaultCM): For int pixel, add color model as argument.
6839         (makeColor): Fix pixel component order.
6841 2004-05-11  Kim Ho  <kho@redhat.com>
6843         * javax/swing/Box.java:
6844         Comment out more parts of Box.Filler.
6846 2004-05-11  Kim Ho  <kho@redhat.com>
6848         * javax/swing/Box.java:
6849         Remove reference to AccessibleAWTComponent so
6850         it compiles again.
6852 2004-05-10  Thomas Fitzsimmons  <fitzsim@redhat.com>
6854         * gnu/java/awt/peer/gtk/GtkListPeer.java,
6855         jni/gtk-peer/gnu_java_awt_peer_gtk_GtkListPeer.c: Update
6856         implementation of list peer to use GtkTreeView instead of
6857         deprecated GtkCList.
6859 2004-05-07  Thomas Fitzsimmons  <fitzsim@redhat.com>
6861         * gnu/java/awt/peer/gtk/GtkComponentPeer.java
6862         (gtkWidgetDispatchKeyEvent): Remove keyChar parameter.
6863         (handleEvent): Remove keyChar argument to
6864         gtkWidgetDispatchKeyEvent calls.
6865         * jni/gtk-peer/gnu_java_awt_peer_gtk_GtkComponentPeer.c: Fix
6866         compiler warnings.
6867         * jni/gtk-peer/gnu_java_awt_peer_gtk_GtkEvents.c: Likewise.
6868         * jni/gtk-peer/gnu_java_awt_peer_gtk_GtkMenuPeer.c: Likewise.
6869         * jni/gtk-peer/gnu_java_awt_peer_gtk_GtkTextComponentPeer.c:
6870         Likewise.
6872 2004-05-06  Thomas Fitzsimmons  <fitzsim@redhat.com>
6874         * gnu/java/awt/peer/gtk/GtkComponentPeer.java
6875         (gtkWidgetRequestFocus): Mark protected.
6876         (GtkComponentPeer): Only set the peer's bounds if its component
6877         is valid.
6878         * java/awt/Component.java (static): Set the default keyboard
6879         focus manager.
6880         (requestFocus(), requestFocus(boolean), requestFocusInWindow(),
6881         requestFocusInWindow(temporary)): Don't request focus if the
6882         component is not showing.  Get tree lock before traversing
6883         component hierarchy.
6884         * java/awt/DefaultKeyboardFocusManager.java (dispatchEvent):
6885         Only set the global focus owner if it is not a Window.
6886         (processKeyEvent): Consume keystrokes associated with the focus
6887         traversal keystroke.
6888         (focusPreviousComponent, focusNextComponent, upFocusCycle,
6889         downFocusCycle): Call requestFocusInWindow instead of
6890         requestFocus.
6891         * java/awt/EventDispatchThread.java (run): Move setting of
6892         default keyboard focus manager to Component.java.
6893         * jni/gtk-peer/gnu_java_awt_peer_gtk_GtkComponentPeer.c
6894         (awt_keycode_to_keysym): New function.
6895         (gtkWidgetDispatchKeyEvent): Finish implementation.
6896         * jni/gtk-peer/gnu_java_awt_peer_gtk_GtkEvents.c
6897         (pre_event_handler): Add FIXME comment.
6899         * gnu/java/awt/peer/gtk/GtkTextAreaPeer.java,
6900         jni/gtk-peer/gnu_java_awt_peer_gtk_GtkTextAreaPeer.c
6901         (gtkWidgetRequestFocus): New method.
6902         * java/awt/TextArea.java (TextArea): Set focus traversal keys to
6903         disable Tab and Shift-Tab keystrokes.
6904         (addNotify, appendText, insertText, replaceText): Simplify peer
6905         retrieval code.
6906         * jni/gtk-peer/gnu_java_awt_peer_gtk_GtkTextComponentPeer.c
6907         (connectSignals): Remove connections to "commit" signals.
6908         Remove C++-style comments.
6910         * gnu/java/awt/peer/gtk/GtkButtonPeer.java,
6911         jni/gtk-peer/gnu_java_awt_peer_gtk_GtkButtonPeer.c
6912         (handleEvent): Activate GTK button when the space bar key is
6913         pressed.
6914         (gtkActivate): New method.
6916 2004-05-06  David Jee  <djee@redhat.com>
6918         * java/awt/image/CropImageFilter.java
6919         (setPixels): Implement for byte array pixels.
6920         * java/awt/image/ReplicateScaleFilter.java
6921         (setPixels): Implement for byte array pixels.
6922         (replicatePixels): Overload for byte array pixels.
6924 2004-05-06  Kim Ho  <kho@redhat.com>
6926         * javax/swing/Box.java:
6927         (getAccessibleContext): Return an instance of the 
6928         correct class.
6930 2004-05-05  David Jee  <djee@redhat.com>
6932         * gnu/java/awt/peer/gtk/GdkGraphics.java
6933         (drawImage): When component is null, use SystemColor.window as
6934         the default bgcolor.
6935         * gnu/java/awt/peer/gtk/GtkImage.java
6936         (setPixels): We can avoid iterating through the pixel rows only
6937         when height is 1.
6938         * java/awt/Image.java
6939         (getScaledInstance): Partially implement.
6940         * java/awt/image/CropImageFilter.java
6941         (setProperties): Fix "filter" property.
6942         (setPixels): Implement.
6943         * java/awt/image/ReplicateScaleFilter.java
6944         (setDimensions): Use scaled dimensions.
6945         (setPixels): Implement.
6946         (replicatePixels): New method.
6948 2004-05-05  David Jee  <djee@redhat.com>
6950         * gnu/java/awt/peer/gtk/GtkImagePainter.java
6951         (convertPixels): If either pixels or model is null, return null.
6952         * jni/gtk-peer/gnu_java_awt_peer_gtk_GtkImagePainter.c
6953         (Java_gnu_java_awt_peer_gtk_GtkImagePainter_drawPixels): If jpixels
6954         is null, do nothing and return.
6956 2004-05-03  Kim Ho  <kho@redhat.com>
6958         * gnu/java/awt/peer/gtk/GtkDialogPeer.java:
6959         (getGraphics): Like GtkFramePeer, the Graphics
6960         object needs to be translate to account for
6961         window decorations.
6962         (postMouseEvent): New method. Account for
6963         translation.
6964         (postExposeEvent): ditto.
6965         * javax/swing/Box.java: Stubbed.
6966         * javax/swing/JDialog.java: Ran through jalopy
6967         to fix indentation.
6968         (JDialog): Call SwingUtilities' getOwnerFrame
6969         for null owners.
6970         (setLayout): Check isRootPaneCheckingEnabled
6971         * javax/swing/JOptionPane.java: Re-implemented.
6972         * javax/swing/SwingUtilities.java:
6973         (getOwnerFrame): Static method to grab a default
6974         owner frame for Dialogs that don't specify owners.
6975         * javax/swing/event/SwingPropertyChangeSupport.java:
6976         (firePropertyChange): Fix early exit condition.
6977         * javax/swing/plaf/basic/BasicLabelUI.java:
6978         (paint): Avoid painting text if it is null 
6979         or empty.
6980         * javax/swing/plaf/basic/BasicOptionPaneUI.java:
6981         Implement.
6983 2004-05-03  Olga Rodimina  <rodimina@redhat.com>
6985         * Makefile.am: Added new file.
6986         * Makefile.in: Regenerate.
6987         * javax/swing/JPopupMenu.java:
6988         Started implementation.
6989         * javax/swing/JWindow.java
6990         (JWindow): call super() if parent for window
6991         is not specified.
6992         * javax/swing/plaf/basic/BasicPopupMenuUI.java:
6993         New File. UI Delegate for JPopupMenu.
6995 2004-04-30  Olga Rodimina  <rodimina@redhat.com>
6997         * javax/swing/JApplet.java: Indicated that JApplet
6998         implements RootPaneContainer and made method of this
6999         interface public. 
7000         * javax/swing/JFrame.java: Ditto.
7001         * javax/swing/JWindow.java: Ditto.
7002         
7003 2004-04-29  Thomas Fitzsimmons  <fitzsim@redhat.com>
7005         * jni/gtk-peer/gnu_java_awt_peer_gtk_GtkWindowPeer.c
7006         (nativeSetBounds): Call gdk_window_move in addition to
7007         gtk_window_move.
7009         * java/applet/Applet.java (preferredSize): Call parent's
7010         preferredSize if the applet stub is null.
7011         (minimumSize): Likewise for parent's minimumSize.
7013 2004-04-27  Olga Rodimina  <rodimina@redhat.com>
7015         * javax/swing/JMenuItem.java
7016         (createActionPropertyChangeListener): Implemented.
7017         (processMouseEvent): Ditto.
7018         (fireMenuDragMouseEntered): Ditto.
7019         (fireMenuDragMouseExited): Ditto.
7020         (fireMenuDragMouseDragged): Ditto.
7021         (fireMenuDragMouseReleased): Ditto.
7022         (menuSelectionChanged): Ditto.
7023         (getSubElements): Ditto.
7024         (getComponent): Ditto.
7025         (addMenuDragMouseListener): Ditto.
7026         (removeMenuDragMouseListener):Ditto.
7027         (addMenuKeyListener): Ditto.
7028         (removeMenuKeyListener): Ditto.
7029         * javax/swing/plaf/basic/BasicMenuItemUI.java
7030         (doClick): Imlemented.
7031         * javax/swing/plaf/basic/BasicMenuItemUI.MouseInputHandler:
7032         Don't handle mouse events here. Pass them to 
7033         MenuSelectionManager.
7034         
7035 2004-04-26  Olga Rodimina  <rodimina@redhat.com>
7036         Used correct version of jalopy configuration
7037         file to fix style in the files below.
7039 2004-04-26  Olga Rodimina  <rodimina@redhat.com>
7041         * javax/swing/JCheckBoxMenuItem.java: 
7042         Fixed style and removed unnecessary comments.
7043         * javax/swing/JMenuItem.java: Ditto.
7044         * javax/swing/JRadioButtonMenuItem.java: Ditto.
7045         * javax/swing/plaf/basic/BasicCheckBoxMenuItemUI.java: Ditto.
7046         * javax/swing/plaf/basic/BasicMenuItemUI.java: Ditto.
7047         * javax/swing/plaf/basic/BasicRadioButtonMenuItemUI.java: Ditto.
7049 2004-04-23  Thomas Fitzsimmons  <fitzsim@redhat.com>
7051         * gnu_java_awt_peer_gtk_GtkWindowPeer.c: Change FIXME comment to
7052         C-style.
7054         * gnu_java_awt_peer_gtk_GtkWindowPeer.c: Add FIXME comment.
7056         * java/awt/ContainerOrderFocusTraversalPolicy.java
7057         (getComponentAfter): Start from current component and work up
7058         the component hierarchy until an acceptable component is found.
7059         Synchronize on tree lock.
7060         (getComponentBefore): Likewise.
7062 2004-04-22  Thomas Fitzsimmons  <fitzsim@redhat.com>
7064         * gnu/java/awt/peer/gtk/GtkComponentPeer.java: Remove
7065         focus-related debugging messages.
7066         * java/awt/DefaultKeyboardFocusManager.java: Likewise.
7067         * java/awt/EventDispatchThread.java: Likewise.
7068         * java/awt/KeyboardFocusManager.java: Likewise.
7069         * java/awt/Window.java: Likewise.
7070         * jni/gtk-peer/gnu_java_awt_peer_gtk_GtkComponentPeer.c: Likewise.
7071         * jni/gtk-peer/gnu_java_awt_peer_gtk_GtkEvents.c: Likewise.
7073         * jni/gtk-peer/gnu_java_awt_peer_gtk_GtkComponentPeer.c: Change
7074         new C++-style comments to C-style comments.
7075         * jni/gtk-peer/gnu_java_awt_peer_gtk_GtkEvents.c: Likewise.
7077         * gnu/java/awt/peer/gtk/GtkComponentPeer.java,
7078         jni/gtk-peer/gnu_java_awt_peer_gtk_GtkComponentPeer.c
7079         (handleEvent): Dispatch key press and key release events to
7080         backing widget.
7081         (requestFocus): Post a FOCUS_GAINED event to the event queue.
7082         (gtkWidgetRequestFocus): New method.
7083         (gtkWidgetDispatchKeyEvent): Likewise.
7084         * java/awt/Component.java (requestFocus, requestFocus(boolean),
7085         requestFocusInWindow, requestFocusInWindow(boolean),
7086         getFocusCycleRootAncestor, nextFocus, transferFocus,
7087         transferFocusBackward, transferFocusUpCycle, hasFocus,
7088         isFocusOwner): Implement and document focus-handling methods.
7089         (setFocusTraversalKeys): Inherit focus traversal keys when
7090         keystrokes argument is null.  Fix focus-handling documentation
7091         throughout class.
7092         * java/awt/Container.java (setFocusTraversalKeys,
7093         getFocusTraversalKeys, areFocusTraversalKeysSet,
7094         isFocusCycleRoot, setFocusTraversalPolicy,
7095         getFocusTraversalPolicy, isFocusTraversalPolicySet,
7096         setFocusCycleRoot, isFocusCycleRoot, transferFocusDownCycle):
7097         Implement and document focus-handling methods.
7098         (transferFocusBackward): Remove method.
7099         (readObject, writeObject): Implement and document serialization
7100         methods.
7101         * java/awt/ContainerOrderFocusTraversalPolicy.java: Implement
7102         and document.
7103         * java/awt/DefaultFocusTraversalPolicy.java: Implement and
7104         document.
7105         * java/awt/DefaultKeyboardFocusManager.java: Implement and
7106         partially document.
7107         * java/awt/EventDispatchThread.java (run): Set default keyboard
7108         focus manager.  Attempt to dispatch each event to the keyboard
7109         focus manager before normal dispatch.
7110         * java/awt/KeyboardFocusManager.java: Implement and partially
7111         document.
7112         * java/awt/Window.java (Window): Set focusCycleRoot to true.
7113         (show): Focus initial component when window is shown for the
7114         first time.
7115         * jni/gtk-peer/gnu_java_awt_peer_gtk_GtkEvents.c
7116         (pre_event_handler): Replace complex key press and key release
7117         logic with simple callbacks into GtkComponentPeer.
7118         * jni/gtk-peer/gtkpeer.h: Fix FOCUS_GAINED/FOCUS_LOST reversal.
7120 2004-04-21  Olga Rodimina  <rodimina@redhat.com>
7122         * javax/swing/MenuSelectionManager.java
7123         (componentForPoint): Added new method. 
7124         (defaultManager): New Method. Implemented.
7125         (getSelectedPath): Ditto.
7126         (isComponentPartOfCurrentMenu): Ditto.
7127         (processKeyEvent): Added new method.
7128         (processMouseEvent): New Method. Implemented.
7129         (setSelectedPath): Ditto.
7130         (getPath): Ditto.
7132 2004-04-19  Kim Ho  <kho@redhat.com>
7134         * java/awt/Container.java: 
7135         (remove): Set the component's parent to null.
7136         (getComponentAt): Implement.
7137         * javax/swing/JComponent.java:
7138         (JComponent): Initialize defaultLocale
7139         (getDefaultLocale): Implement.
7140         (setDefaultLocale): ditto.
7141         * javax/swing/JSlider.java:
7142         (JSlider): Fix calculation of value.
7143         * javax/swing/JSplitPane.java: Implement.
7144         * javax/swing/plaf/basic/BasicLookAndFeel.java:
7145         Change SplitPane's default divider size.
7146         * javax/swing/plaf/basic/BasicScrollBarUI.java:
7147         (paint): Remove unused code.
7148         * javax/swing/plaf/basic/BasicSplitPaneDivider.java:
7149         Added comments and ran through jalopy.
7150         (setBasicSplitPaneUI): Get reference to hidden divider
7151         and set up one touch buttons if necessary.
7152         (setBorder): Fire propertyChangeEvent only if 
7153         borders are different.
7154         (getPreferredSize): Defer to layout manager.
7155         (propertyChange): Implement.
7156         (oneTouchExpandableChanged): ditto.
7157         (createLeftOneTouchButton): Use BasicArrowButton.
7158         (createRightOneTouchButton): ditto.
7159         (moveDividerTo): New method. Moves the divider
7160         to a set location based on the last divider location.
7161         (BasicSplitPaneDivider::MouseHandler): Implement.
7162         (BasicSplitPaneDivider::OneTouchButton): Removed.
7163         (BasicSplitPaneDivider::DragController): Implement.
7164         (BasicSplitPaneDivider::VerticalDragController):
7165         ditto.
7166         (BasicSplitPaneDivider::DividerLayout): ditto.
7167         * javax/swing/plaf/basic/BasicSplitPaneUI.java: Reimplement.
7168         * javax/swing/plaf/basic/BasicTabbedPaneUI.java:
7169         (calculateLayoutInfo): Don't show component if it's
7170         null.
7171         (paintTab): Fix title paint logic.
7173 2004-05-26  Jerry Quinn  <jlquinn@optonline.net>
7175         PR libgcj/8321
7176         * java/util/SimpleTimeZone.java (serialVersionOnStream): Bump to 2.
7177         (setStartRule,setEndRule): Don't take abs of day number.
7178         (getOffset): Clarify docs.  Add argument checks.
7179         (isBefore): Take abs of day number in DOW_LE_DOM_MODE.
7180         (equals,hasSameRules,toString,readObject): Use startTimeMode and
7181         endTimeMode.
7182         * testsuite/libjava.mauve/xfails
7183         (gnu.testlet.java.util.SimpleTimeZone.check12): XFAIL test 22.
7185 2004-05-21  Bryce McKinlay  <mckinlay@redhat.com>
7187         Layout interfaces during preparation, not initialization. 
7188         * java/lang/natClass.cc (initializeClass): Move 
7189         _Jv_LayoutInterfaceMethods call...
7190         * java/lang/natClassLoader.cc (_Jv_PrepareCompiledClass): to here.
7192 2004-05-19  Anthony Green  <green@localhost.localdomain>
7194         * Makefile.am (awt_java_source_files): Remove javax.rmi and
7195         gnu.javax.rmi code.
7196         * Makefile.in: Rebuilt.
7197         * javax/rmi/ClassDesc.java, javax/rmi/StubDelegate.java,
7198         javax/rmi/UtilDelegate.java, javax/rmi/Stub.java,
7199         javax/rmi/Util.java, javax/rmi/ObjectImpl.java,
7200         javax/rmi/SystemException.java, javax/rmi/ValueHandler.java,
7201         javax/rmi/PortableRemoteObjectDelegate.java, javax/rmi/Tie.java,
7202         gnu/javax/rmi/CORBA/DelegateFactory.java,
7203         gnu/javax/rmi/CORBA/GetDelegateInstanceException.java,
7204         gnu/javax/rmi/CORBA/PortableRemoteObjectDelegateImpl.java,
7205         gnu/javax/rmi/CORBA/StubDelegateImpl.java,
7206         gnu/javax/rmi/CORBA/UtilDelegateImpl.java,
7207         gnu/javax/rmi/CORBA/ValueHandlerImpl.java,
7208         gnu/javax/rmi/PortableServer.java: Remove files.
7210 2004-05-19  Anthony Green  <green@redhat.com>
7212         * Makefile.am: Define JAVA_EXT_DIRS.
7213         * Makefile.in: Rebuilt.
7214         * java/lang/natRuntime.cc (insertSystemProperties): Set
7215         java.ext.dirs property.
7217 2004-05-16  Mark Wielaard  <mark@klomp.org>
7219         * java/io/Writer.java (Writer(Object)): Check for null lock object.
7221 2004-05-15  Mark Wielaard  <mark@klomp.org>
7223         * doc/cni.sgml: Removed, merged into gcj.texi.
7225 2004-05-15  Mark Wielaard  <mark@klomp.org>
7227         * Makefile.am (ordinary_java_source_files): Add new javax.print
7228         classes.
7229         * Makefile.in: Regenerated.
7231 2004-05-15  Michael Koch  <konqueror@gmx.de>
7233         * javax/print/attribute/standard/DateTimeAtCompleted.java,
7234         javax/print/attribute/standard/DateTimeAtCreation.java,
7235         javax/print/attribute/standard/DateTimeAtProcessing.java,
7236         javax/print/attribute/standard/DocumentName.java,
7237         javax/print/attribute/standard/JobHoldUntil.java,
7238         javax/print/attribute/standard/JobImpressionsCompleted.java,
7239         javax/print/attribute/standard/JobMessageFromOperator.java,
7240         javax/print/attribute/standard/JobName.java,
7241         javax/print/attribute/standard/JobOriginatingUserName.java,
7242         javax/print/attribute/standard/JobPriority.java,
7243         javax/print/attribute/standard/JobPrioritySupported.java,
7244         javax/print/attribute/standard/NumberOfInterveningJobs.java,
7245         javax/print/attribute/standard/OutputDeviceAssigned.java,
7246         javax/print/attribute/standard/PrinterInfo.java,
7247         javax/print/attribute/standard/PrinterLocation.java,
7248         javax/print/attribute/standard/PrinterMakeAndModel.java,
7249         javax/print/attribute/standard/PrinterMessageFromOperator.java,
7250         javax/print/attribute/standard/PrinterName.java,
7251         javax/print/attribute/standard/QueuedJobCount.java,
7252         javax/print/attribute/standard/RequestingUserName.java:
7253         Fixed javadocs all over.
7255 2004-05-15  Michael Koch  <konqueror@gmx.de>
7257         * javax/print/DocFlavor.java,
7258         javax/print/attribute/standard/ColorSupported.java,
7259         javax/print/attribute/standard/Compression.java,
7260         javax/print/attribute/standard/CopiesSupported.java,
7261         javax/print/attribute/standard/Fidelity.java,
7262         javax/print/attribute/standard/Finishings.java,
7263         javax/print/attribute/standard/JobImpressionsSupported.java,
7264         javax/print/attribute/standard/JobKOctetsSupported.java,
7265         javax/print/attribute/standard/JobMediaSheetsSupported.java,
7266         javax/print/attribute/standard/JobSheets.java,
7267         javax/print/attribute/standard/JobState.java,
7268         javax/print/attribute/standard/JobStateReason.java,
7269         javax/print/attribute/standard/JobStateReasons.java,
7270         javax/print/attribute/standard/Media.java,
7271         javax/print/attribute/standard/MediaSizeName.java,
7272         javax/print/attribute/standard/MultipleDocumentHandling.java,
7273         javax/print/attribute/standard/NumberUpSupported.java,
7274         javax/print/attribute/standard/OrientationRequested.java,
7275         javax/print/attribute/standard/PDLOverrideSupported.java,
7276         javax/print/attribute/standard/PageRanges.java,
7277         javax/print/attribute/standard/PresentationDirection.java,
7278         javax/print/attribute/standard/PrintQuality.java,
7279         javax/print/attribute/standard/PrinterIsAcceptingJobs.java,
7280         javax/print/attribute/standard/PrinterMoreInfo.java,
7281         javax/print/attribute/standard/PrinterMoreInfoManufacturer.java,
7282         javax/print/attribute/standard/PrinterResolution.java,
7283         javax/print/attribute/standard/PrinterState.java,
7284         javax/print/attribute/standard/PrinterStateReason.java,
7285         javax/print/attribute/standard/PrinterStateReasons.java,
7286         javax/print/attribute/standard/PrinterURI.java,
7287         javax/print/attribute/standard/ReferenceUriSchemesSupported.java,
7288         javax/print/attribute/standard/Severity.java,
7289         javax/print/attribute/standard/SheetCollate.java,
7290         javax/print/attribute/standard/Sides.java:
7291         Added serialVersionUID and removed final keyword where it doenst
7292         belong.
7294 2004-05-15  Michael Koch  <konqueror@gmx.de>
7296         * javax/print/PrintServiceLookup.java: New file.
7298 2004-05-15  Michael Koch  <konqueror@gmx.de>
7300         * javax/print/DocFlavor.java:
7301         Implemented all flavor classes.
7303 2004-05-15  Michael Koch  <konqueror@gmx.de>
7305         * javax/print/attribute/standard/ColorSupported.java,
7306         javax/print/attribute/standard/Compression.java,
7307         javax/print/attribute/standard/CopiesSupported.java,
7308         javax/print/attribute/standard/Fidelity.java,
7309         javax/print/attribute/standard/Finishings.java,
7310         javax/print/attribute/standard/JobImpressionsSupported.java,
7311         javax/print/attribute/standard/JobKOctetsSupported.java,
7312         javax/print/attribute/standard/JobMediaSheetsSupported.java,
7313         javax/print/attribute/standard/JobSheets.java,
7314         javax/print/attribute/standard/JobState.java,
7315         javax/print/attribute/standard/JobStateReason.java,
7316         javax/print/attribute/standard/JobStateReasons.java,
7317         javax/print/attribute/standard/Media.java,
7318         javax/print/attribute/standard/MediaSizeName.java,
7319         javax/print/attribute/standard/MultipleDocumentHandling.java,
7320         javax/print/attribute/standard/NumberUpSupported.java,
7321         javax/print/attribute/standard/OrientationRequested.java,
7322         javax/print/attribute/standard/PDLOverrideSupported.java,
7323         javax/print/attribute/standard/PageRanges.java,
7324         javax/print/attribute/standard/PresentationDirection.java,
7325         javax/print/attribute/standard/PrintQuality.java,
7326         javax/print/attribute/standard/PrinterIsAcceptingJobs.java,
7327         javax/print/attribute/standard/PrinterMoreInfo.java,
7328         javax/print/attribute/standard/PrinterMoreInfoManufacturer.java,
7329         javax/print/attribute/standard/PrinterResolution.java,
7330         javax/print/attribute/standard/PrinterState.java,
7331         javax/print/attribute/standard/PrinterStateReason.java,
7332         javax/print/attribute/standard/PrinterStateReasons.java,
7333         javax/print/attribute/standard/PrinterURI.java,
7334         javax/print/attribute/standard/ReferenceUriSchemesSupported.java,
7335         javax/print/attribute/standard/Severity.java,
7336         javax/print/attribute/standard/SheetCollate.java,
7337         javax/print/attribute/standard/Sides.java: New files.
7339 2004-05-15  Michael Koch  <konqueror@gmx.de>
7341         * javax/print/Doc.java
7342         (getPrintData): Throws IOException.
7343         (getReaderForText): Likewise.
7344         (getStreamForBytes): Likewise.
7345         * javax/print/DocFlavor.java:
7346         Fixed filename in copyright.
7347         (serialVersionUID): New field.
7348         * javax/print/ServiceUIFactory.java:
7349         Made all constants final.
7350         * javax/print/AttributeException.java
7351         javax/print/MultiDoc.java
7352         javax/print/MultiDocPrintJob.java
7353         javax/print/MultiDocPrintService.java
7354         javax/print/StreamPrintService.java
7355         javax/print/URIException.java: New files.
7356         * javax/print/Makefile.am
7357         (EXTRA_DIST): Added all new files.
7359 2004-05-15  Michael Koch  <konqueror@gmx.de>
7361         * javax/print/attribute/standard/Copies.java,
7362         javax/print/attribute/standard/DateTimeAtCompleted.java,
7363         javax/print/attribute/standard/DateTimeAtCreation.java,
7364         javax/print/attribute/standard/DateTimeAtProcessing.java,
7365         javax/print/attribute/standard/DocumentName.java,
7366         javax/print/attribute/standard/JobHoldUntil.java,
7367         javax/print/attribute/standard/JobImpressions.java,
7368         javax/print/attribute/standard/JobImpressionsCompleted.java,
7369         javax/print/attribute/standard/JobKOctets.java,
7370         javax/print/attribute/standard/JobKOctetsProcessed.java,
7371         javax/print/attribute/standard/JobMediaSheets.java,
7372         javax/print/attribute/standard/JobMediaSheetsCompleted.java,
7373         javax/print/attribute/standard/JobMessageFromOperator.java,
7374         javax/print/attribute/standard/JobName.java,
7375         javax/print/attribute/standard/JobOriginatingUserName.java,
7376         javax/print/attribute/standard/JobPriority.java,
7377         javax/print/attribute/standard/JobPrioritySupported.java,
7378         javax/print/attribute/standard/NumberOfDocuments.java,
7379         javax/print/attribute/standard/NumberOfInterveningJobs.java,
7380         javax/print/attribute/standard/NumberUp.java,
7381         javax/print/attribute/standard/OutputDeviceAssigned.java,
7382         javax/print/attribute/standard/PagesPerMinute.java,
7383         javax/print/attribute/standard/PagesPerMinuteColor.java:
7384         Fixed @return tag all over.
7386 2004-05-15  Michael Koch  <konqueror@gmx.de>
7388         * javax/print/attribute/AttributeSetUtilities.java
7389         (verifyCategoryForValue): Fixed typo in javadoc.
7390         * javax/print/attribute/HashAttributeSet.java
7391         (containsKey): Fixed @return tag.
7392         (comtainsValue): Likewise.
7393         (equals): Likewise.
7394         * javax/print/attribute/IntegerSyntax.java
7395         (equals): Likewise.
7396         * javax/print/attribute/ResolutionSyntax.java
7397         (equals): Likewise.
7398         (getCrossFeedResolution): Removed unused code.
7399         (getFeedResolution): Likewise.
7400         * javax/print/attribute/SetOfIntegerSyntax.java
7401         (SetOfIntegerSyntax): Fixed HTML entities in javadoc.
7402         (equals): Fixed @return tag.
7403         * javax/print/attribute/TextSyntax.java
7404         (TextSyntax): Take locale into account.
7405         (hashCode): Better implementation.
7407 2004-05-15  Michael Koch  <konqueror@gmx.de>
7409         * javax/print/CancelablePrintJob.java,
7410         javax/print/Doc.java,
7411         javax/print/DocFlavor.java,
7412         javax/print/DocPrintJob.java,
7413         javax/print/FlavorException.java,
7414         javax/print/PrintException.java,
7415         javax/print/PrintService.java,
7416         javax/print/ServiceUIFactory.java: New files.
7418 2004-05-15  Mark Wielaard  <mark@klomp.org>
7420         * gnu/regexp/CharIndexedReader.java: Removed.
7421         * gnu/regexp/REFilterReader.java: Likewise.
7422         * gnu/regexp/RETokenLookAhead.java: Likewise.
7423         * Makefile.am (ordinary_java_source_files): Remove above classes.
7424         * Makefile.in: Regenerated.
7426 2004-05-14  Tom Tromey  <tromey@redhat.com>
7428         * gnu/awt/xlib/XGraphics.java (drawImage): Use `XOffScreenImage',
7429         not `XGraphicsConfiguration.XOffScreenImage'.
7431 2004-05-14  Scott Gilbertson  <scottg@mantatest.com>
7433         * gnu/awt/xlib/XCanvasPeer.java (setVisible): Implement unmap.
7435 2004-05-14  Steven Augart  <augart@watson.ibm.com>
7437         * include/jni.h (_Jv_func): Removed.
7438         (struct JNINativeInterface): Use `void *' for reserved slots.
7439         (struct JNIInvokeInterface): Likewise.
7441 2004-05-11  Michael Koch  <konqueror@gmx.de>
7443         * gnu/java/net/natPlainSocketImplPosix.cc
7444         (read): Fixed typo in expression.
7446 2004-05-10  Andreas Tobler  <a.tobler@schweiz.ch>
7448         * testsuite/lib/libjava.exp (libjava_invoke): Add new argument
7449         ld_library_additions. Adjust all calls to libjava_invoke to match
7450         the new argument.
7452         * testsuite/libjava.jni/jni.exp (gcj_jni_test_one): Pass stdc++
7453         path to cxxflagslist.
7454         Pass path of libstdc++ to libjava_invoke.
7456         * testsuite/libjava.jar/jar.exp (gcj_jar_inerpret): Adjust
7457         libjava_invoke arguments.
7459 2004-05-10  Ranjit Mathew  <rmathew@hotmail.com>
7461         * testsuite/libjava.jacks/jacks.xfail: Update to reflect the current
7462         reality.
7464 2004-05-07  Ranjit Mathew  <rmathew@gmail.com>
7466         * testsuite/libjava.jni/jni.exp (gcj_jni_test_one): Don't link the
7467         main binary against the JNI shared library.
7469 2004-05-07  Jerry Quinn  <jlquinn@optonline.net>
7471         * java/util/SimpleTimeZone.java (startTimeMode, endTimeMode,
7472         WALL_TIME, STANDARD_TIME, UTC_TIME): New members.
7473         (SimpleTimeZone): Tweak docs.  Add new variation.
7474         (setStartRule,setEndRule): Add new variations.  Use
7475         startTimeMode and endTimeMode.
7477 2004-05-07  Jerry Quinn  <jlquinn@optonline.net>
7479         * java/util/Calendar.java (getActualMinimum,
7480         getActualMaximum):  Remove abstract.  Implement.
7482 2004-05-06  Bryce McKinlay  <mckinlay@redhat.com>
7484         Run the jni tests using the interpreter.
7485         * testsuite/libjava.jni/jni.exp (gcj_jni_compile_c_to_so): Append
7486         options_cxx to shared lib compile command.
7487         (gcj_jni_test_one): Pass cxxflags to gcj_jni_compile_c_to_so, so
7488         they are used to link the shared lib, not the main binary.
7489         Use libjava_invoke to run gij.
7491 2004-05-06  Michael Koch  <konqueror@gmx.de>
7493         * java/util/logging/Level.java
7494         (parse): Use == instead of String.equals().
7496 2004-05-06  Bryce McKinlay  <mckinlay@redhat.com>
7498         * defineclass.cc (_Jv_ClassReader::prepare_pool_entry): Use 
7499         verify_field_signature and verify_method_signature, not 
7500         _Jv_VerifyFieldSignature and _Jv_VerifyMethodSigntature.
7501         (_Jv_ClassReader::handleField): Likewise.
7502         (_Jv_ClassReader::handleMethod): Likewise.
7504 2004-05-06  Michael Koch  <konqueror@gmx.de>
7506         * javax/swing/table/TableColumn.java:
7507         Reformated.
7509 2004-05-06  Michael Koch  <konqueror@gmx.de>
7511         * javax/imageio/spi/ImageReaderWriterSpi.java
7512         (ImageReaderWriterSpi): Made it public.
7513         * javax/imageio/stream/ImageInputStream.java:
7514         Clean up imports.
7516 2004-05-06  Michael Koch  <konqueror@gmx.de>
7518         * jni/gtk-peer/gnu_java_awt_peer_gtk_GtkComponentPeer.c:
7519         Removed empty line.
7521 2004-05-06  Michael Koch  <konqueror@gmx.de>
7523         * jni/gtk-peer/gnu_java_awt_peer_gtk_GtkCheckboxGroupPeer.c,
7524         jni/gtk-peer/gnu_java_awt_peer_gtk_GtkGenericPeer.c:
7525         New files.
7526         * jni/gtk-peer/gnu_java_awt_peer_gtk_GtkCheckboxMenuItemPeer.c:
7527         Include gnu_java_awt_peer_gtk_GtkCheckboxMenuItemPeer.h.
7528         * jni/gtk-peer/gnu_java_awt_peer_gtk_GtkCheckboxPeer.c:
7529         Moved GtkCheckboxGroupPeer_dispose and GtkCheckboxGroupPeer_remove to
7530         their own source file.
7531         * jni/gtk-peer/gnu_java_awt_peer_gtk_GtkComponentPeer.c:
7532         Moved GtkGenericPeer_dispose and GtkComponentPeer_requestFocus to
7533         their own source file. Removed GtkComponentPeer_gtkWidgetSetUsize.
7534         * jni/gtk-peer/gnu_java_awt_peer_gtk_GtkMenuPeer.c
7535         (create): Define variable on top of function.
7536         * jni/gtk-peer/gnu_java_awt_peer_gtk_GtkPopupMenuPeer.c
7537         (menu_pos): Prototyped.
7538         * jni/gtk-peer/gnu_java_awt_peer_gtk_GtkWindowPeer.c
7539         (setTitle): Removed.
7540         * jni/gtk-peer/gthread-jni.c
7541         (gdk_threads_wake): Removed.
7542         * Makefile.am (gtk_c_source_files): Added new files
7543         jni/gtk-peer/gnu_java_awt_peer_gtk_GtkCheckboxGroupPeer.c and
7544         jni/gtk-peer/gnu_java_awt_peer_gtk_GtkGenericPeer.c.
7545         * Makefile.in: Regenerated.
7547 2004-05-05  Bryce McKinlay  <mckinlay@redhat.com>
7549         * testsuite/libjava.jni/pr11951.java: Add missing System.loadLibrary()
7550         call.
7552 2004-05-05  Mark Wielaard  <mark@klomp.org>
7554         * javax/swing/AbstractButton.java: Replace special HTML entities with
7555         ASCII equivalent.
7556         * javax/swing/DefaultBoundedRangeModel.java: Likewise.
7557         * javax/swing/DefaultButtonModel.java: Likewise.
7558         * javax/swing/DefaultListModel.java: Likewise.
7559         * javax/swing/JList.java: Likewise.
7560         * javax/swing/JSlider.java: Likewise.
7561         * javax/swing/ListModel.java: Likewise.
7562         * javax/swing/Popup.java: Likewise.
7563         * javax/swing/SwingUtilities.java: Likewise.
7565 2004-05-05  Michael Koch  <konqueror@gmx.de>
7567         * javax/swing/AbstractButton.java,
7568         javax/swing/ActionMap.java,
7569         javax/swing/DefaultButtonModel.java,
7570         javax/swing/DefaultListModel.java,
7571         javax/swing/ImageIcon.java,
7572         javax/swing/JComboBox.java,
7573         javax/swing/JComponent.java,
7574         javax/swing/JFrame.java,
7575         javax/swing/JInternalFrame.java,
7576         javax/swing/JMenuBar.java,
7577         javax/swing/JMenuItem.java,
7578         javax/swing/JOptionPane.java,
7579         javax/swing/JProgressBar.java,
7580         javax/swing/JRootPane.java,
7581         javax/swing/JScrollBar.java,
7582         javax/swing/JScrollPane.java,
7583         javax/swing/JSeparator.java,
7584         javax/swing/JSlider.java,
7585         javax/swing/JTabbedPane.java,
7586         javax/swing/JTable.java,
7587         javax/swing/JTextField.java,
7588         javax/swing/JToolBar.java,
7589         javax/swing/JToolTip.java,
7590         javax/swing/JTree.java,
7591         javax/swing/JViewport.java,
7592         javax/swing/JWindow.java,
7593         javax/swing/KeyStroke.java,
7594         javax/swing/LookAndFeel.java,
7595         javax/swing/SwingUtilities.java,
7596         javax/swing/Timer.java,
7597         javax/swing/ToolTipManager.java,
7598         javax/swing/UIDefaults.java,
7599         javax/swing/border/TitledBorder.java,
7600         javax/swing/filechooser/FileSystemView.java,
7601         javax/swing/plaf/basic/BasicButtonListener.java,
7602         javax/swing/plaf/basic/BasicButtonUI.java,
7603         javax/swing/plaf/basic/BasicCheckBoxMenuItemUI.java,
7604         javax/swing/plaf/basic/BasicGraphicsUtils.java,
7605         javax/swing/plaf/basic/BasicLabelUI.java,
7606         javax/swing/plaf/basic/BasicMenuItemUI.java,
7607         javax/swing/plaf/basic/BasicRadioButtonMenuItemUI.java,
7608         javax/swing/plaf/basic/BasicRootPaneUI.java,
7609         javax/swing/plaf/basic/BasicScrollBarUI.java,
7610         javax/swing/plaf/basic/BasicScrollPaneUI.java,
7611         javax/swing/plaf/basic/BasicSliderUI.java,
7612         javax/swing/plaf/basic/BasicTabbedPaneUI.java,
7613         javax/swing/plaf/basic/BasicToggleButtonUI.java,
7614         javax/swing/table/JTableHeader.java,
7615         javax/swing/text/AbstractDocument.java,
7616         javax/swing/text/DefaultCaret.java,
7617         javax/swing/text/StyledEditorKit.java,
7618         javax/swing/tree/DefaultTreeCellEditor.java:
7619         Cleaned up imports.
7621 2004-05-05  Michael Koch  <konqueror@gmx.de>
7623         * java/util/prefs/AbstractPreferences.java
7624         (AbstractPreferences): Added parenthesis for clarity.
7625         Closes classpath bug #7940.
7627 2004-05-05  Tom Tromey  <tromey@redhat.com>
7629         * javax/naming/CompoundName.java (endsWith): Look at correct
7630         element of source name.
7632 2004-05-05  Mark Wielaard  <mark@klomp.org>
7634         Reported by f.haeglsperger@gmx.de [classpath patch #2485]
7635         * java/util/HashMap.java (rehash): Add entry at start of bucket.
7637 2004-05-05  Tom Tromey  <tromey@redhat.com>
7639         * java/io/BufferedReader.java (skip): Removed unused
7640         variable.
7642 2004-05-05  Michael Koch  <konqueror@gmx.de>
7644         * java/awt/FileDialog.java: Import java.io.Serializable explicitly.
7646 2004-05-05  Dalibor Topic  <robilad@kaffe.org>
7648         * java/text/AttributedString.java,
7649         java/text/AttributedStringIterator.java,
7650         java/text/Collator.java,
7651         java/text/DecimalFormatSymbols.java,
7652         java/text/NumberFormat.java,
7653         java/text/RuleBasedCollator.java:
7654         Cleaned up imports.
7656 2004-05-05  Tom Tromey  <tromey@redhat.com>
7658         * java/text/Format.java: Cleaned up imports.
7659         * java/text/DecimalFormat.java: Cleaned up imports.
7660         * java/security/SecureRandom.java: Cleaned up imports.
7661         (SecureRandom): Removed unused variable.
7662         * java/security/UnresolvedPermission.java: Cleaned up imports.
7663         * java/util/Date.java (parse): Removed unused variable.
7664         * java/util/ResourceBundle.java: Cleaned up imports.
7665         (getBundle): Removed unused variable.
7666         (tryBundle): Likewise.
7667         * java/util/regex/Pattern.java (Pattern): Removed unused constructor.
7669 2004-05-05  Guilhem Lavaux <guilhem@kaffe.org>
7671         * java/text/SimpleDateFormat.java:
7672         (formatWithAttribute): New method. It implements
7673         the formatting process with attributes.
7674         (format): Use formatWithAttribute.
7675         (formatToCharacterIterator): New method. Use
7676         formatWithAttribute.
7678 2004-05-05  Guilhem Lavaux <guilhem@kaffe.org>
7680         * java/text/MessageFormat.java:
7681         (class Field): New class.
7682         (formatToCharacterIterator): New method.
7683         (format): Use formatInternal now.
7684         (formatInternal): New method. String formatter should
7685         be done here (with attributes). Attributes merging supported.
7686         (parse): More documentation.
7687         (getFormatsByArgumentIndex): New method.
7688         (setFormatByArgumentIndex): New method.
7689         (setFormatsByArgumentIndex): New method.
7691 2004-05-05  Guilhem Lavaux <guilhem@kaffe.org>
7693         * java/text/DecimalFormat.java
7694         (MAXIMUM_INTEGER_DIGITS): New constant to keep the numeric value 309.
7695         (applyPatternWithSymbols): Use MAXIMUM_INTEGER_DIGITS.
7696         (parse): Fixed handling of exponentiation notation and grouping.
7698 2004-05-05  Guilhem Lavaux <guilhem@kaffe.org>
7700         * java/text/DecimalFormat.java
7701         (scanFix): Build attribute array. Fixed error reporting.
7702         (applyPatternWithSymbols): Store attributes for the prefix and
7703         suffix.
7704         (formatInternal): New method. Changed the way the string is
7705         computed. Implemented attributes. Cleant up rounding in
7706         exponential notation.
7707         (format): Use formatInternal.
7708         (formatToCharacterIterator): New method.
7709         (exponentRound, negativePrefixRanges, positivePrefixRanges,
7710         negativePrefixAttrs, positivePrefixAttrs, negativeSuffixRanges,
7711         positiveSuffixRanges, negativeSuffixAttrs, positiveSuffixAttrs):
7712         New fields.
7714 2004-05-04  Dalibor Topic  <robilad@kaffe.org>
7716         * java/security/interfaces/DSAKeyPairGenerator.java,
7717         java/security/interfaces/DSAPrivateKey.java,
7718         java/security/interfaces/DSAPublicKey.java,
7719         java/security/interfaces/RSAPrivateKey.java,
7720         java/security/interfaces/RSAPublicKey.java:
7721         Cleaned up imports.
7723 2004-05-04  Michael Koch  <konqueror@gmx.de>
7725         * java/nio/ByteBuffer.java,
7726         java/nio/CharBuffer.java,
7727         java/nio/DoubleBuffer.java,
7728         java/nio/FloatBuffer.java,
7729         java/nio/IntBuffer.java,
7730         java/nio/LongBuffer.java,
7731         java/nio/ShortBuffer.java:
7732         (compareTo): Fixed bogus implementation in all buffer classes.
7734 2004-05-04  Ingo Proetel  <proetel@aicas.com>
7736         * java/awt/image/ColorModel.java (getRGBdefault): Default ColorModel has
7737         32 bit pixels not 8 bit pixels.
7738         (isCompatibleRaster): Added javadoc comment.
7740 2004-05-04  Ingo Proetel  <proetel@aicas.com>
7742         * java/awt/image/ComponentSampleModel.java (setDataSamples):Do not reset
7743         scanline stride.
7745 2004-05-04  Ingo Proetel  <proetel@aicas.com>
7747         * java/awt/ColorPaintContext.java (<init>): Added ColorModel to signature.
7748         (getColorModel): Return the actual color model.
7749         (getRaster): Implemented.
7750         (ColorRaster): New inner class.
7751         * java/awt/SystemColor.java (createContext): Use ColorModel when creating
7752         a PaintContext.
7753         * java/awt/Color.java (<init>): Make exception more verbose.
7754         (createContext): Use ColorModel when creating a PaintContext.
7756 2004-05-04  Michael Koch  <konqueror@gmx.de>
7758         * gnu/java/text/CharacterBreakIterator.java
7759         (previous): Removed unused variable.
7761 2004-05-04  Guilhem Lavaux <guilhem@kaffe.org>
7763         * gnu/java/text/FormatBuffer.java,
7764         gnu/java/text/AttributedFormatBuffer.java,
7765         gnu/java/text/StringFormatBuffer.java: New classes to implement
7766         attributed iterators in java.text.
7767         * gnu/java/text/FormatCharacterIterator.java: Moved 
7768         from java/text as it is an internal class.
7769         * java/text/FormatCharacterIterator.java: Removed.
7770         * java/text/Format.java:
7771         Import gnu.java.text.FormatCharacterIterator.
7772         * Makefile.am (java_source_files): Added new files.
7773         * Makefile.in: Regenerated.
7774         
7776 2004-05-04  Mark Wielaard  <mark@klomp.org>
7778         * gnu/java/nio/channels/FileChannelImpl.java (finalize): New method.
7780 2004-05-03  Andreas Tobler  <a.tobler@schweiz.ch>
7782         * Makefile.am (WARNINGS): Replace -W with the more speaking -Wextra.
7783         * Makefile.in: Rebuilt.
7785 2004-05-03  Mark Wielaard  <mark@klomp.org>
7787         * gnu/java/security/der/DERReader.java: Call static methods staticly.
7788         * java/awt/TextComponent.java (select): Use selectionEnd parameter.
7789         * java/net/URL.java
7790         (set(String, String, int, String, String, String, String, String)):
7791         Assign this.file to path or path + "?" + query.
7792         * java/util/Arrays.java: Call static methods staticly.
7793         * java/util/zip/ZipEntry.java: Likewise.
7794         * javax/swing/plaf/basic/BasicArrowButton.java (setDirection): Assign
7795         dir to this.direction.
7796         * javax/swing/table/DefaultTableCellRenderer.java (noFocusBorder):
7797         Assign static field only once.
7798         (DefaultTableCellRenderer): Don't reassign noFocusBorder each time.
7800 2004-05-03  Mark Wielaard  <mark@klomp.org>
7802         * gnu/java/awt/peer/gtk/GtkTextAreaPeer.java (minimumSize): Removed
7803         unused variables hScrollbarHeight and vScrollbarWidth.
7804         (preferredSize): Likewise.
7805         * gnu/java/security/provider/DSAParameters.java (engineToString):
7806         Removed unused call to System.getProperty("line.seperator");
7807         * java/security/Security.java (loadProviders): Return result.
7809 2004-05-03  Tom Tromey  <tromey@redhat.com>
7811         * java/net/URLStreamHandler.java (toExternalForm): Removed
7812         unused variables.
7813         unused constructor.
7814         * java/math/BigDecimal.java (divide): Removed unused variable.
7815         * java/lang/Throwable.java: Cleaned up imports.
7816         * java/lang/ClassLoader.java: Cleaned up imports.
7817         * java/io/FilePermission.java (implies): Removed unused
7818         variable.
7819         * java/awt/TextComponent.java: Removed unused import.
7820         * gnu/java/util/prefs/NodeReader.java: Cleaned up imports.
7821         * gnu/java/util/DoubleEnumeration.java: Removed unused import.
7822         * gnu/java/text/WordBreakIterator.java: Removed unused import.
7823         * gnu/java/text/SentenceBreakIterator.java: Removed unused
7824         import.
7825         * gnu/java/text/LineBreakIterator.java: Removed unused import.
7826         * gnu/java/text/CharacterBreakIterator.java: Removed
7827         unused import.
7828         * gnu/java/security/provider/DSAKeyPairGenerator.java:
7829         Cleaned up imports.
7830         * gnu/java/security/der/DERWriter.java: Cleaned up imports.
7831         * gnu/java/nio/charset/UTF_16Decoder.java (put): Removed
7832         unused method.
7833         * gnu/java/nio/SocketChannelImpl.java: Cleaned up imports.
7834         * gnu/java/nio/FileLockImpl.java: Cleaned up imports.
7835         * gnu/java/io/Base64InputStream.java: Cleaned up imports.
7836         * gnu/java/beans/info/ComponentBeanInfo.java: Cleaned up imports.
7837         * gnu/classpath/ServiceFactory.java: Cleaned up imports.
7838         (lookupProviders): Removed unused variable.
7839         (loadNextServiceProvider): Likewise.
7840         * gnu/java/beans/BeanInfoEmbryo.java: Cleaned up imports.
7842 2004-05-03  Michael Koch  <konqueror@gmx.de>
7844         Fixes PR libgcj/14695:
7845         * java/net/NetworkInterface.java
7846         (getByName): Return null when no interface was found.
7848 2004-04-30  Ranjit Mathew  <rmathew@hotmail.com>
7849             Tom Tromey  <tromey@redhat.com>
7851         * testsuite/libjava.jni/jni.exp (gcj_jni_compile_c_to_so): Use
7852         additional option "-Wmissing-prototypes" for compiling C sources.
7853         Print actual filename for pass/fail rather than $name.c.
7854         * testsuite/libjava.jni/PR15133.java: New testcase file.
7855         * testsuite/libjava.jni/PR15133.c: Likewise.
7856         * testsuite/libjava.jni/PR15133.out: Likewise.
7858 2004-04-30  Roger Sayle  <roger@eyesopen.com>
7860         * testsuite/libjava.lang/MathBuiltin.java: Add tests for acos, asin,
7861         ceil and floor.
7863 2004-04-25  Ranjit Mathew  <rmathew@hotmail.com>
7864         
7865         * testsuite/libjava.jacks/jacks.exp (gcj_jacks_write): Explicitly
7866         limit the maximum heap size to avoid unnecessary thrashing.
7868 2004-04-24  Jerry Quinn  <jlquinn@optonline.net>
7870         * java/text/CollationElementIterator.java (reset): Reset
7871         lookahead variables.
7873 2004-04-23  Mark Wielaard  <mark@klomp.org>
7875         * jni/classpath/jcl.c: Changed C++ comments into C comments.
7877 2004-04-23 Dalibor Topic <robilad@kaffe.org>
7879         * java/sql/DriverManager.java:
7880         Cleaned up imports.
7882 2004-04-23  Michael Koch  <konqueror@gmx.de>
7884         * java/net/URL.java
7885         (hashcode): Don't initialize with default value explicitely.
7886         (getContent): Removed redundant "final" keyword.
7887         (openStream): Likewise.
7888         (getURLStreamHandler): Fixed coding style.
7889         * java/net/URLConnection.java
7890         (defaultAllowUserInteraction): Don't initialize with default value
7891         explicitely.
7892         (connected): Likewise.
7893         (doOutput): Likewise.
7894         (ifModifiedSince): Likewise.
7895         (dateformats_initialized): Likewise.
7896         (setURLStreamHander): Use StreamTokenizer where it belongs to.
7898 2004-04-23  Michael Koch  <konqueror@gmx.de>
7900         * gnu/java/nio/channels/FileChannelImpl.java
7901         (SET, CUR): Unused, removed.
7902         (read): Implement here directly.
7903         (implRead): Removed.
7904         (write): Implement here directly.
7905         (implWrite): Removed.
7907 2004-04-23  Dalibor Topic  <robilad@kaffe.org>
7909         * javax/rmi/CORBA/PortableRemoteObjectDelegate.java,
7910         javax/rmi/CORBA/Stub.java,
7911         javax/rmi/CORBA/Util.java,
7912         javax/rmi/CORBA/ValueHandler.java,
7913         javax/rmi/CORBA/ValueHandler.java,
7914         javax/rmi/PortableRemoteObject.java:
7915         Cleaned up imports.
7917 2004-04-23 Dalibor Topic <robilad@kaffe.org>
7919         * java/util/jar/JarFile.java,
7920         java/util/jar/JarInputStream.java,
7921         java/util/jar/JarOutputStream.java,
7922         java/util/jar/Manifest.java:
7923         Cleaned up imports.
7925 2004-04-23 Dalibor Topic <robilad@kaffe.org>
7927         * java/util/ArrayList.java,
7928         java/util/Calendar.java,
7929         java/util/Currency.java,
7930         java/util/HashMap.java,
7931         java/util/HashSet.java,
7932         java/util/Hashtable.java,
7933         java/util/LinkedList.java,
7934         java/util/Properties.java,
7935         java/util/PropertyPermission.java,
7936         java/util/TimeZone.java,
7937         java/util/TreeMap.java,
7938         java/util/TreeSet.java,
7939         java/util/Vector.java,
7940         java/util/WeakHashMap.java:
7941         Cleaned up imports.
7943 2004-04-23  Dalibor Topic  <robilad@kaffe.org>
7945         * java/util/logging/FileHandler.java,
7946         java/util/logging/Formatter.java,
7947         java/util/logging/Handler.java,
7948         java/util/logging/Logger.java,
7949         java/util/logging/SimpleFormatter.java,
7950         java/util/logging/XMLFormatter.java:
7951         Cleaned up imports.
7953 2004-04-22  Mark Wielaard  <mark@klomp.org>
7955         * Makefile.am (PEDANTIC_CFLAGS): New -ansi -pedantic -Wall
7956         -Wno-long-long flags variable.
7957         (gtk_c_files): Use PEDANTIC_CFLAGS.
7958         * Makefile.in: Regenerated.
7960 2004-04-22  Mark Wielaard  <mark@klomp.org>
7962         * native/jni/gtk-peer/gnu_java_awt_peer_gtk_GtkComponentPeer.c:
7963         Changed C++ comments into C comments.
7964         * native/jni/gtk-peer/gnu_java_awt_peer_gtk_GtkMenuPeer.c:
7965         Likewise.
7967 2004-04-22  Michael Koch  <konqueror@gmx.de>
7969         * jni/gtk-peer/gnu_java_awt_peer_gtk_GtkPopupMenuPeer.c:
7970         Merged copyright year with GNU classpath.
7972 2004-04-22  Dalibor Topic  <robilad@kaffe.org>
7974         * javax/security/auth/x500/X500Principal.java:
7975         Cleaned up imports.
7977 2004-04-22  Dalibor Topic  <robilad@kaffe.org>
7979         * javax/swing/JSlider.java:
7980         Fixed HTML tags in comments.
7982 2004-04-22  Dalibor Topic  <robilad@kaffe.org>
7984         * javax/accessibility/AccessibleText.java:
7985         Cleaned up imports.
7987 2004-04-22  Jeroen Frijters <jeroen@sumatra.nl>
7989         * java/net/URLStreamHandler.java
7990         (parseURL): Convert the file path to using '/' instead of native
7991         file separator.
7993 2004-04-22  Guilhem Lavaux <guilhem@kaffe.org>
7995         * java/net/URL.java
7996         (userInfo): New field.
7997         (URL): Set authority to the right value.
7998         (setURL): Fixed authority and file initialization.
7999         * java/net/URLStreamHandler.java
8000         (parseURL): Take care of the query tag. Build authority.
8001         (toExternalForm): Fixed URL building using authority.
8003 2004-04-22  Michael Koch  <konqueror@gmx.de>
8005         * java/net/Socket.java
8006         (impl): Made package-private.
8007         * java/net/ServerSocket.java
8008         (implAccept): Access Socket.impl field directly.
8010 2004-04-22  Dalibor Topic  <robilad@kaffe.org>
8012         * java/util/prefs/Preferences.java,
8013         java/util/prefs/InvalidPreferencesFormatException.java,
8014         java/util/prefs/BackingStoreException.java,
8015         java/util/prefs/AbstractPreferences.java:
8016         Cleaned up imports.
8018 2004-04-22  Dalibor Topic  <robilad@kaffe.org>
8020         * java/util/regex/Matcher.java,
8021         java/util/regex/Pattern.java:
8022         Cleaned up imports.
8024 2004-04-22  Michael Koch  <konqueror@gmx.de>
8026         * java/nio/charset/IllegalCharsetNameException.java
8027         (charsetName): Made private.
8028         (IllegalCharsetNameException): Added @param tag to javadoc.
8029         (getCharsetName): Added @return tag to javadoc.
8030         * java/nio/charset/MalformedInputException.java
8031         (MalformedInputException): Added @param tag to javadoc.
8032         (getInputLength): Revised method description, added @return tag.
8033         (getMessage): Added @return tag.
8035 2004-04-22  Jerry Quinn  <jlquinn@optonline.net>
8037         * java/awt/Font.java (deriveFont): Implement missing variants.
8038         * gnu/java/awt/peer/ClasspathFontPeer.java (deriveFont): Implement
8039         missing variants.
8041 2004-04-21  Bryce McKinlay  <mckinlay@redhat.com>
8043         * java/lang/natClass.cc (_Jv_LayoutInterfaceMethods): New method.
8044         Set method->index values for interface methods to their itable index.
8045         (initializeClass): Call _Jv_LayoutInterfaceMethods.
8047 2004-04-21  Michael Koch  <konqueror@gmx.de>
8049         * java/nio/DirectByteBufferImpl.java
8050         (shiftDown): Made static, give address as argument and
8051         provide a convenience method that overwrites shiftDown in
8052         ByteBufferImpl and calls the native shiftDown.
8053         * java/nio/MappedByteBufferImpl.java
8054         (): Use optimized method in DirectByteBufferImpl.
8055         * java/nio/natDirectByteBufferImpl.cc
8056         (shiftDown): Changed method signature. Removed usage of array_offset.
8058 2004-04-21  Michael Koch  <konqueror@gmx.de>
8060         * gnu/java/net/natPlainSocketImplPosix.cc
8061         (SocketInputStream::read): Make sure returned data is a byte value.
8063 2004-04-21  Michael Koch  <konqueror@gmx.de>
8065         * gnu/classpath/ServiceFactory.java,
8066         gnu/classpath/ServiceProviderLoadingAction.java,
8067         javax/imageio/ImageReader.java,
8068         javax/imageio/ImageTranscoder.java,
8069         javax/imageio/ImageWriter.java,
8070         javax/imageio/package.html,
8071         javax/imageio/spi/IIOServiceProvider.java,
8072         javax/imageio/spi/ImageInputStreamSpi.java,
8073         javax/imageio/spi/ImageOutputStreamSpi.java,
8074         javax/imageio/spi/ImageReaderWriterSpi.java,
8075         javax/imageio/spi/ImageTranscoderSpi.java,
8076         javax/imageio/spi/RegisterableService.java,
8077         javax/imageio/spi/ServiceRegistry.java,
8078         javax/imageio/spi/package.html,
8079         javax/imageio/stream/IIOByteBuffer.java,
8080         javax/imageio/stream/ImageInputStream.java,
8081         javax/imageio/stream/ImageOutputStream.java,
8082         javax/imageio/stream/package.html:
8083         New files.
8084         * Makefile.am
8085         (ordinary_java_source_files): Added
8086         gnu/classpath/ServiceFactory.java and
8087         gnu/classpath/ServiceProviderLoadingAction.java.
8088         (javax_source_files): Added
8089         javax/imageio/ImageReader.java,
8090         javax/imageio/ImageTranscoder.java,
8091         javax/imageio/ImageWriter.java,
8092         javax/imageio/spi/IIOServiceProvider.java,
8093         javax/imageio/spi/ImageInputStreamSpi.java,
8094         javax/imageio/spi/ImageOutputStreamSpi.java,
8095         javax/imageio/spi/ImageReaderWriterSpi.java,
8096         javax/imageio/spi/ImageTranscoderSpi.java,
8097         javax/imageio/spi/RegisterableService.java,
8098         javax/imageio/spi/ServiceRegistry.java,
8099         javax/imageio/stream/IIOByteBuffer.java,
8100         javax/imageio/stream/ImageInputStream.java and
8101         javax/imageio/stream/ImageOutputStream.java.
8102         * Makefile.in: Regenerated.
8104 2004-04-21  Michael Koch  <konqueror@gmx.de>
8106         * java/util/Properties.java
8107         (load): Fix wrongly merged fix.
8109 2004-04-21  Mark Wielaard  <mark@klomp.org>
8111         * native/jni/gtk-peer/gthread-jni.c (maybe_rethrow): Explicitly
8112         malloc and free buf.
8114 2004-04-21  Dalibor Topic  <robilad@kaffe.org>
8116         * javax/naming/AuthenticationException.java,
8117         javax/naming/AuthenticationNotSupportedException.java,
8118         javax/naming/CannotProceedException.java,
8119         javax/naming/CommunicationException.java,
8120         javax/naming/CompoundName.java,
8121         javax/naming/ConfigurationException.java,
8122         javax/naming/ContextNotEmptyException.java,
8123         javax/naming/InitialContext.java,
8124         javax/naming/InsufficientResourcesException.java,
8125         javax/naming/InterruptedNamingException.java,
8126         javax/naming/LimitExceededException.java,
8127         javax/naming/LinkException.java,
8128         javax/naming/LinkLoopException.java,
8129         javax/naming/LinkRef.java,
8130         javax/naming/MalformedLinkException.java,
8131         javax/naming/Name.java,
8132         javax/naming/NameAlreadyBoundException.java,
8133         javax/naming/NameNotFoundException.java,
8134         javax/naming/NamingSecurityException.java,
8135         javax/naming/NoInitialContextException.java,
8136         javax/naming/NoPermissionException.java,
8137         javax/naming/NotContextException.java,
8138         javax/naming/PartialResultException.java,
8139         javax/naming/ReferralException.java,
8140         javax/naming/ServiceUnavailableException.java,
8141         javax/naming/SizeLimitExceededException.java,
8142         javax/naming/TimeLimitExceededException.java,
8143         javax/naming/directory/Attribute.java,
8144         javax/naming/directory/Attributes.java,
8145         javax/naming/directory/SearchResult.java,
8146         javax/naming/event/NamingExceptionEvent.java,
8147         javax/naming/spi/ResolveResult.java:
8148         Cleaned up imports.
8150 2004-04-21  Mark Wielaard  <mark@klomp.org>
8152         * native/jni/gtk-peer/gnu_java_awt_peer_gtk_GtkCheckboxPeer.c:
8153         Changed C++ comments into C comments. Removed commented out code.
8154         * native/jni/gtk-peer/gnu_java_awt_peer_gtk_GtkComponentPeer.c:
8155         Likewise.
8156         * native/jni/gtk-peer/gnu_java_awt_peer_gtk_GtkEvents.c:
8157         Likewise.
8158         * native/jni/gtk-peer/gnu_java_awt_peer_gtk_GtkFileDialogPeer.c:
8159         Likewise.
8160         * native/jni/gtk-peer/gnu_java_awt_peer_gtk_GtkListPeer.c:
8161         Likewise.
8162         * native/jni/gtk-peer/gnu_java_awt_peer_gtk_GtkTextComponentPeer.c:
8163         Likewise.
8164         * native/jni/gtk-peer/gthread-jni.c:
8165         Likewise.
8167 2004-04-21  Mark Wielaard  <mark@klomp.org>
8169         * javax/awt/JFrame.java: Implement WindowConstants. Remove final
8170         static fields defined in interface.
8171         * javax/awt/JDialog.java: Likewise.
8172         (JDialog): Make constructors public.
8173         (getDefaultCloseOperation): Make public.
8174         (processWindowEvent): Call System.exit(0) when EXIT_ON_CLOSE set.
8175         (setDefaultCloseOperation): Make public. Check argument. Add API doc.
8176         * javax/swing/JViewport.java (JViewport): Make constructor public.
8178 2004-04-21  Michael Koch  <konqueror@gmx.de>
8180         * java/util/Map.java
8181         (Entry): Removed redundant "static" modifier.
8182         * java/text/AttributedCharacterIterator.java:
8183         Updated copyright year.
8185 2004-04-20  Michael Koch  <konqueror@gmx.de>
8187         * javax/naming/directory/SearchControls.java:
8188         Don't explicitely extend java.lang.Object.
8189         * javax/naming/spi/DirStateFactory.java:
8190         Merged copyright year with GNU classpath.
8192 2004-04-20  Michael Koch  <konqueror@gmx.de>
8194         * java/nio/channels/Channels.java:
8195         Merged coding style with GNU classpath.
8197 2004-04-20  Michael Koch  <konqueror@gmx.de>
8199         * java/net/ServerSocket.java
8200         Merged coding style from GNU classpath.
8202 2004-04-20  Michael Koch  <konqueror@gmx.de>
8204         * java/io/BufferedWriter.java:
8205         Reordered variables to be at top of the class.
8206         (localFlush): Removed redundant final keyword.
8208 2004-04-20  Ingo Proetel  <proetel@aicas.com>
8210         * java/awt/event/MouseEvent.java (<init>): fixed field assignment 
8212 2004-04-20  Jeroen Frijters  <jeroen@frijters.net>
8214         * java/text/DecimalFormat.java (scanFix): Removed suffix check
8215         for percent and permill check.
8217 2004-04-20  Guilhem Lavaux <guilhem@kaffe.org>
8219         * java/text/FieldPosition.java
8220         (FieldPosition) Constructor now behaves as it should according
8221         to the java documentation.
8223 2004-04-20  Mark Wielaard  <mark@klomp.org>
8225         * java/util/Properties.java: Use the word umlaut, not &auml; in api
8226         documentation.
8228 2004-04-20  Michael Koch  <konqueror@gmx.de>
8230         * java/nio/Buffer.java,
8231         java/nio/channels/AlreadyConnectedException.java,
8232         java/nio/channels/AsynchronousCloseException.java,
8233         java/nio/channels/ByteChannel.java,
8234         java/nio/channels/CancelledKeyException.java,
8235         java/nio/channels/Channel.java,
8236         java/nio/channels/Channels.java,
8237         java/nio/channels/ClosedByInterruptException.java,
8238         java/nio/channels/ClosedChannelException.java,
8239         java/nio/channels/ClosedSelectorException.java,
8240         java/nio/channels/ConnectionPendingException.java,
8241         java/nio/channels/DatagramChannel.java,
8242         java/nio/channels/FileChannel.java,
8243         java/nio/channels/FileLock.java,
8244         java/nio/channels/FileLockInterruptionException.java,
8245         java/nio/channels/GatheringByteChannel.java,
8246         java/nio/channels/IllegalBlockingModeException.java,
8247         java/nio/channels/IllegalSelectorException.java,
8248         java/nio/channels/InterruptibleChannel.java,
8249         java/nio/channels/NoConnectionPendingException.java,
8250         java/nio/channels/NonReadableChannelException.java,
8251         java/nio/channels/NonWritableChannelException.java,
8252         java/nio/channels/NotYetBoundException.java,
8253         java/nio/channels/NotYetConnectedException.java,
8254         java/nio/channels/OverlappingFileLockException.java,
8255         java/nio/channels/Pipe.java,
8256         java/nio/channels/ReadableByteChannel.java,
8257         java/nio/channels/ScatteringByteChannel.java,
8258         java/nio/channels/SelectableChannel.java,
8259         java/nio/channels/SelectionKey.java,
8260         java/nio/channels/Selector.java,
8261         java/nio/channels/ServerSocketChannel.java,
8262         java/nio/channels/SocketChannel.java,
8263         java/nio/channels/UnresolvedAddressException.java,
8264         java/nio/channels/UnsupportedAddressTypeException.java,
8265         java/nio/channels/WritableByteChannel.java,
8266         java/nio/channels/spi/AbstractInterruptibleChannel.java,
8267         java/nio/channels/spi/AbstractSelectableChannel.java,
8268         java/nio/channels/spi/AbstractSelectionKey.java,
8269         java/nio/channels/spi/AbstractSelector.java,
8270         java/nio/channels/spi/SelectorProvider.java,
8271         java/nio/charset/spi/CharsetProvider.java:
8272         Fixed javadocs and jalopied all over java.nio.
8274 2004-04-20  Michael Koch  <konqueror@gmx.de>
8276         * java/nio/ByteBufferImpl.java,
8277         java/nio/CharBufferImpl.java,
8278         java/nio/DirectByteBufferImpl.java,
8279         java/nio/DoubleBufferImpl.java,
8280         java/nio/DoubleViewBufferImpl.java,
8281         java/nio/FloatBufferImpl.java,
8282         java/nio/FloatViewBufferImpl.java,
8283         java/nio/IntBufferImpl.java,
8284         java/nio/IntViewBufferImpl.java,
8285         java/nio/LongBufferImpl.java,
8286         java/nio/LongViewBufferImpl.java,
8287         java/nio/MappedByteBufferImpl.java,
8288         java/nio/ShortBufferImpl.java,
8289         java/nio/ShortViewBufferImpl.java:
8290         Made sure all classes are final and removed final keyword from all
8291         methods.
8293 2004-04-20  Michael Koch  <konqueror@gmx.de>
8295         * java/rmi/MarshalledObject.java,
8296         java/rmi/Naming.java,
8297         java/rmi/RemoteException.java,
8298         java/rmi/activation/ActivationException.java,
8299         java/rmi/server/ServerCloneException.java,
8300         java/security/AccessController.java,
8301         java/security/AlgorithmParameterGenerator.java,
8302         java/security/AlgorithmParameters.java,
8303         java/security/CodeSource.java,
8304         java/security/Identity.java,
8305         java/security/IdentityScope.java,
8306         java/security/KeyPairGenerator.java,
8307         java/security/KeyStore.java,
8308         java/security/Security.java,
8309         java/security/Signature.java,
8310         java/security/SignatureSpi.java,
8311         java/security/SignedObject.java,
8312         java/security/spec/DSAParameterSpec.java,
8313         java/security/spec/DSAPrivateKeySpec.java,
8314         java/security/spec/DSAPublicKeySpec.java,
8315         java/sql/Array.java,
8316         java/sql/DatabaseMetaData.java,
8317         java/sql/ResultSet.java,
8318         java/text/ChoiceFormat.java,
8319         java/text/CollationElementIterator.java,
8320         java/text/CollationKey.java,
8321         java/text/Collator.java,
8322         java/text/DateFormat.java,
8323         java/text/DateFormatSymbols.java,
8324         java/text/DecimalFormatSymbols.java,
8325         java/text/Format.java,
8326         java/text/ParsePosition.java,
8327         java/text/RuleBasedCollator.java,
8328         java/text/SimpleDateFormat.java,
8329         java/text/StringCharacterIterator.java,
8330         java/util/Collections.java,
8331         java/util/PropertyResourceBundle.java,
8332         java/util/ResourceBundle.java,
8333         java/util/StringTokenizer.java,
8334         java/util/jar/Attributes.java,
8335         java/util/logging/ConsoleHandler.java,
8336         java/util/logging/LogManager.java,
8337         java/util/logging/MemoryHandler.java,
8338         java/util/logging/SocketHandler.java,
8339         javax/naming/NamingException.java:
8340         Fixed javadoc, coding style and argument names all over.
8342 2004-04-20  Jeroen Frijters  <jeroen@frijters.net>
8344         * java/io/FileDescriptor.java: (FileDescriptor) Added public
8345         constructor. (valid) Added null check.
8347 2004-04-20  Guilhem Lavaux <guilhem@kaffe.org>
8349         Reported by Nektarios Papadopoulos <npapadop@inaccessnetworks.com>
8350         * java/io/FileOutputStream.java
8351         (FileOutputStream) Reorganized constructors. Constructors now
8352         check whether the given path is directory.
8354 2004-04-20  Michael Koch  <konqueror@gmx.de>
8356         * java/net/Authenticator.java,
8357         java/net/BindException.java,
8358         java/net/ConnectException.java,
8359         java/net/ContentHandler.java,
8360         java/net/ContentHandlerFactory.java,
8361         java/net/DatagramPacket.java,
8362         java/net/DatagramSocket.java,
8363         java/net/DatagramSocketImpl.java,
8364         java/net/DatagramSocketImplFactory.java,
8365         java/net/FileNameMap.java,
8366         java/net/HttpURLConnection.java,
8367         java/net/Inet4Address.java,
8368         java/net/Inet6Address.java,
8369         java/net/InetAddress.java,
8370         java/net/InetSocketAddress.java,
8371         java/net/JarURLConnection.java,
8372         java/net/MalformedURLException.java,
8373         java/net/MulticastSocket.java,
8374         java/net/NetPermission.java,
8375         java/net/NetworkInterface.java,
8376         java/net/NoRouteToHostException.java,
8377         java/net/PasswordAuthentication.java,
8378         java/net/PortUnreachableException.java,
8379         java/net/ProtocolException.java,
8380         java/net/ServerSocket.java,
8381         java/net/Socket.java,
8382         java/net/SocketAddress.java,
8383         java/net/SocketException.java,
8384         java/net/SocketImpl.java,
8385         java/net/SocketImplFactory.java,
8386         java/net/SocketOptions.java,
8387         java/net/SocketPermission.java,
8388         java/net/SocketTimeoutException.java,
8389         java/net/URI.java,
8390         java/net/URISyntaxException.java,
8391         java/net/URL.java,
8392         java/net/URLClassLoader.java,
8393         java/net/URLConnection.java,
8394         java/net/URLDecoder.java,
8395         java/net/URLEncoder.java,
8396         java/net/URLStreamHandler.java,
8397         java/net/URLStreamHandlerFactory.java,
8398         java/net/UnknownHostException.java,
8399         java/net/UnknownServiceException.java:
8400         Fixed javadocs, coding style and argument names all over.
8402 2004-04-20  Michael Koch  <konqueror@gmx.de>
8404         * java/lang/Byte.java,
8405         java/lang/CharSequence.java,
8406         java/lang/ClassLoader.java,
8407         java/lang/Compiler.java,
8408         java/lang/Double.java,
8409         java/lang/Float.java,
8410         java/lang/Integer.java,
8411         java/lang/Long.java,
8412         java/lang/Math.java,
8413         java/lang/Number.java,
8414         java/lang/Package.java,
8415         java/lang/Runtime.java,
8416         java/lang/RuntimePermission.java,
8417         java/lang/SecurityManager.java,
8418         java/lang/Short.java,
8419         java/lang/StringBuffer.java,
8420         java/lang/System.java,
8421         java/lang/ThreadGroup.java,
8422         java/lang/Throwable.java,
8423         java/lang/reflect/InvocationHandler.java,
8424         java/lang/reflect/Proxy.java:
8425         Fixed javadocs, coding style and argument names all over.
8427 2004-04-20  Michael Koch  <konqueror@gmx.de>
8429         * java/io/BufferedWriter.java,
8430         java/io/ByteArrayInputStream.java,
8431         java/io/CharArrayWriter.java,
8432         java/io/DataInput.java,
8433         java/io/DataInputStream.java,
8434         java/io/File.java,
8435         java/io/FilterInputStream.java,
8436         java/io/InputStream.java,
8437         java/io/InputStreamReader.java,
8438         java/io/ObjectInputStream.java,
8439         java/io/ObjectStreamClass.java,
8440         java/io/PipedInputStream.java,
8441         java/io/PipedReader.java,
8442         java/io/PushbackInputStream.java,
8443         java/io/PushbackReader.java,
8444         java/io/RandomAccessFile.java,
8445         java/io/SerializablePermission.java,
8446         java/io/StreamTokenizer.java,
8447         java/io/StringWriter.java,
8448         java/io/WriteAbortedException.java,
8449         java/io/Writer.java:
8450         Fixed javadocs all over, rename arguments to match javadocs,
8451         fixed coding style.
8453 2004-04-20  Ingo Proetel  <proetel@aicas.com>
8455         * java/awt/FontMetrics.java:
8456         (charsWidth): fixed accumulation of total_width
8457         (getWidth): simple default implementation
8458         * java/awt/Polygon.java (getBoundingBox): Use correct y-coordinate
8459         in Rectangle constructor.
8460         * java/awt/image/Raster.java (toString): Added method. 
8461         * java/awt/image/SampleModel.java (<init>): Added error cause
8462         information to thrown exception.
8463         * java/awt/image/SinglePixelPackedSampleModel.java (getDataElements):
8464         New method.
8465         (setDataElements): New method.
8466         (setPixels): New method.
8467         (toString): New method.
8469 2004-04-20  Sascha Brawer  <brawer@dandelis.ch>
8471         * java/awt/image/ComponentColorModel.java
8472         (createCompatibleSampleModel): Return PixelInterleavedSampleModel
8473         for TYPE_BYTE and TYPE_USHORT transferTypes, in order to pass the
8474         Mauve tests on this method. Improved documentation.
8476 2004-04-20  Michael Koch  <konqueror@gmx.de>
8478         * javax/swing/JLayeredPane.java,
8479         javax/swing/plaf/BorderUIResource.java,
8480         javax/swing/plaf/ComponentUI.java,
8481         javax/swing/undo/CompoundEdit.java,
8482         javax/swing/undo/StateEdit.java:
8483         Fixed HTML tags in javadocs all over.
8485 2004-04-20  Michael Koch  <konqueror@gmx.de>
8487         * javax/print/attribute/EnumSyntax.java
8488         (getOffset): Made protected.
8489         * javax/print/attribute/HashAttributeSet.java
8490         (HashAttributeSet): Likewise.
8491         * javax/print/attribute/ResolutionSyntax.java
8492         (getFeedResolution): Fixed typo in exception name.
8493         (getCrossFeedResolution): Likewise.
8494         * javax/print/attribute/SetOfIntegerSyntax.java
8495         (SetOfIntegerSyntax): Fixed HTML entities in javadoc.
8496         * javax/print/attribute/TextSyntax.java
8497         (TextSyntax): Handle locale correctly.
8498         (hashCode): Calc better hashcode value.
8499         (equals): Fixed @return tag.
8500         (toString): New method.
8502 2004-04-20  Michael Koch  <konqueror@gmx.de>
8504         * gnu/java/nio/FileLockImpl.java
8505         (static): Removed, not needed anymore.
8506         * gnu/java/nio/channels/FileChannelImpl.java
8507         (FileChannelImpl): Made final.
8508         (mode): Made private.
8509         (READ, WRITE, APPEND): Made public.
8510         (EXCL, SYNC, DSYNC): Likewise.
8511         (static): Load native JNI library, when needed.
8512         (length): Unused, removed.
8513         (available): Made public.
8514         (implPosition): Throws IOException.
8515         (seek): Likewise.
8516         (implTruncate): Likewise.
8517         (unlock): Likewise.
8518         (lock): Likewise.
8520 2004-04-20  Michael Koch  <konqueror@gmx.de>
8522         * java/awt/AWTPermission.java,
8523         java/awt/Component.java,
8524         java/awt/ComponentOrientation.java,,
8525         java/awt/Dialog.java,
8526         java/awt/FontMetrics.java,
8527         java/awt/Graphics.java,
8528         java/awt/datatransfer/DataFlavor.java,
8529         java/beans/Introspector.java,
8530         java/beans/PropertyEditor.java,
8531         java/beans/PropertyEditorManager.java,
8532         java/beans/beancontext/BeanContextServiceProvider.java:
8533         Fixed HTML tags in javadocs all over.
8535 2004-04-20  Mark Wielaard  <mark@klomp.org>
8537         * gnu/java/awt/peer/gtk/GtkFontPeer.java: Use fallback when
8538         MissingResourceException is thrown.
8539         * gnu/java/awt/peer/gtk/GtkToolkit.java (getFontPeer): Don't return
8540         null when a MissingResourceException is thrown. Should never happen.
8542 2004-04-20  Sascha Brawer  <brawer@dandelis.ch>
8544         * java/awt/image/DataBufferShort.java,
8545         java/awt/image/DataBufferFloat.java,
8546         java/awt/image/DataBufferDouble.java,
8547         java/awt/image/PixelInterleavedSampleModel.java: New files.
8548         * gnu/java/awt/Buffers.java (createBuffer, createBufferFromData,
8549         getData): Added support for TYPE_SHORT, TYPE_FLOAT and TYPE_DOUBLE.
8551 2004-04-20  Michael Koch  <konqueror@gmx.de>
8553         * Makefile.am (java_source_files): Added
8554         java/awt/image/DataBufferDouble.java,
8555         java/awt/image/DataBufferFloat.java,
8556         java/awt/image/DataBufferShort.java and
8557         java/awt/image/PixelInterleavedSampleModel.java.
8558         * Makefile.in: Regenerated.
8560 2004-04-19  Bryce McKinlay  <mckinlay@redhat.com>
8562         * gcj/cni.h (JvAllocObject): Remove these obsolete, 
8563         undocumented CNI calls.
8564         * include/java-interp.h (_Jv_InterpClass): No longer
8565         extends java.lang.Class.
8566         * java/lang/Class.h (Class): Add new field `aux_info'.
8567         * boehm.cc (_Jv_MarkObj): Update java.lang.Class marking.
8568         * defineclass.cc: Remove Class<->_Jv_InterpClass casts.
8569         Use Class->aux_info instead.
8570         * jni.cc (_Jv_JNI_AllocObject): Use _Jv_AllocObject.
8571         * resolve.cc: Remove Class<->_Jv_InterpClass casts.
8572         Use Class->aux_info instead.
8573         * java/io/natObjectInputStream.cc (allocateObject): Use
8574         _Jv_AllocObject.
8575         * java/lang/natClass.cc (newInstance): Likewise.
8576         * java/lang/natClassLoader.cc (_Jv_NewClass): Likewise.
8577         * java/lang/natObject.cc (clone): Likewise.
8578         * java/lang/reflect/natMethod.cc (_Jv_CallAnyMethodA): Likewise.
8579         * java/lang/natVMClassLoader.cc (defineClass): Don't use
8580         JvAllocObject. Allocate klass->aux_info here for interpreted
8581         class.
8582         
8583 2004-04-17  Mark Wielaard  <mark@klomp.org>
8585         * javax/swing/JToggleButton.java (ToggleButtonModel):
8586         Make public static inner class.
8587         * javax/swing/JTabbedPane.java (setComponentAt):
8588         Call Page.setComponent().
8589         (SCROLL_TAB_LAYOUT): Make public, value is 1.
8590         (WRAP_TAB_LAYOUT): Make public, value is 0.
8591         * javax/swing/plaf/basic/BasicTabbedPaneUI.java (ScrollingButton):
8592         Make private static inner class.
8594 2004-04-16  Bryce McKinlay  <mckinlay@redhat.com>
8596         * interpret.cc (_Jv_InterpMethod::run): Update _Jv_AllocObject
8597         arguments to match new signature. Remove FIXME comments.
8599 2004-04-09  Thomas Fitzsimmons  <fitzsim@redhat.com>
8601         * gnu/java/awt/peer/gtk/GtkPanelPeer.java (connectSignals):
8602         Remove method.
8603         * jni/gtk-peer/gnu_java_awt_peer_gtk_GtkPanelPeer.c: Remove
8604         unused code.
8606 2004-04-02  Olga Rodimina  <rodimina@redhat.com>
8608         * Makefile.am: Added new file.
8609         * Makefile.in: Regenerate.
8610         * javax/swing/ImageIcon.java: 
8611         (ImageIcon(file)): set description of the icon 
8612         to the file name
8613         * javax/swing/JCheckBoxMenuItem.java:
8614         Mostly Implemented. Work in progress.
8615         * javax/swing/JRadioButtonMenuItem.java:
8616         Reimplement constructors to use JToggleButtonModel.
8617         * javax/swing/plaf/basic/BasicIconFactory.java:
8618         (getCheckBoxMenuItemIcon): return check box
8619         icon.
8620         * javax/swing/plaf/basic/BasicMenuItemUI.java:
8621         paint menu item selected only when it is armed and 
8622         pressed. 
8624 2004-04-02  David Jee  <djee@redhat.com>
8626         * gnu/java/awt/peer/gtk/GtkMenuItemPeer.java
8627         (GtkMenuItemPeer): Only connect signals if this isn't a Menu peer.
8628         * java/awt/Component.java
8629         (add): Set the parent of the popup as this component.
8630         * java/awt/PopupMenu.java
8631         (addNotify): Create popup menu when peer is null.
8632         (show): Call addNotify() if peer is null.
8633         * jni/gtk-peer/gnu_java_awt_peer_gtk_GtkPopupMenuPeer.c
8634         (Java_gnu_java_awt_peer_gtk_GtkPopupMenuPeer_show): Set the button
8635         argument for gtk_menu_popup() as zero. This causes the popup menu to
8636         respond to any mouse button.
8638 2004-03-31  Olga Rodimina  <rodimina@redhat.com>
8640         * Makefile.am: Added new file.
8641         * Makefile.in: Regenerate.
8642         * javax/swing/JRadioButtonMenuItem.java:
8643         Implemented.
8644         * javax/swing/plaf/basic/BasicIconFactory.java:
8645         (getRadioButtonMenuItemIcon): Return
8646         radio button icon.
8647         * javax/swing/plaf/basic/BasicMenuItemUI.java:
8648         (getPreferredSize): Add size of checkIcon if it
8649         exists.
8650         (installDefaults): Don't initialize checkIcon.
8651         It's value will be set in subclasses. 
8652         (uninstallDefaults): remove uninstallation of 
8653         checkIcon.
8654         (paint): Moved code to paintMenuItem().
8655         (paintMenuItem): Implemented.
8656         * javax/swing/plaf/basic/BasicRadioButtonMenuItemUI.java:
8657         UI delegate for JRadioButtonMenuItem.
8658         
8659 2004-03-29  Olga Rodimina  <rodimina@redhat.com>
8661         * javax/swing/plaf/basic/BasicMenuItemUI.java:
8662         Corrected position of the accelerator.
8664 2004-03-29  Olga Rodimina  <rodimina@redhat.com>
8666         * Makefile.am: Added new file. 
8667         * Makefile.in: Regenerate.
8668         * javax/swing/JMenuItem.java: Partly 
8669         implemented. Work in progress
8670         * javax/swing/plaf/basic/BasicLookAndFeel.java:
8671         Changed default value of acceleratorDelimiter.
8672         * javax/swing/plaf/basic/BasicMenuItemUI.java:
8673         New class. Partly implemented.
8674                 
8675 2004-03-26  Mark Wielaard  <mark@klomp.org>
8677         * native/jni/gtk-peer/gnu_java_awt_peer_gtk_GtkChoicePeer.c
8678         (item_activate): Declare label before use.
8679         * native/jni/gtk-peer/gnu_java_awt_peer_gtk_GtkComponentPeer.c
8680         (gtkSetFont): Removed unused variable label.
8681         (addExposeFilter): Declare variables before use.
8682         (removeExposeFilter): Likewise.
8683         * native/jni/gtk-peer/gnu_java_awt_peer_gtk_GtkFileDialogPeer.c
8684         (ok_clicked): Declare str_fileName before use.
8686 2004-03-26  David Jee  <djee@redhat.com>
8688         * gnu/java/awt/peer/gtk/GtkMenuPeer.java
8689         (addSeparator): Remove.
8690         * java/awt/Menu.java
8691         (separator): Remove static final MenuItem field.
8692         (separatorLabel): New static final String field.
8693         (addSeparator): Do not use peer method; use add(MenuItem) instead.
8694         Use separatorLabel to denote that it is a separator.
8695         (insertSeparator): Create a new MenuItem with separatorLabel, instead
8696         of reusing the static separator instance, because a MenuItem instance
8697         can't be added more than once without being cloned.
8698         * java/awt/peer/MenuPeer.java
8699         (addSeparator): Remove from interface.
8701 2004-03-26  David Jee  <djee@redhat.com>
8703         * gnu/java/awt/peer/gtk/GtkMenuItemPeer.java
8704         (connectSignals): New native method declaration.
8705         (GtkMenuItemPeer): Connect signals if the parent is a Menu.
8706         * java/awt/MenuItem.java
8707         (getActionCommand): Return the label if the action command is not set.
8708         * jni/gtk-peer/gnu_java_awt_peer_gtk_GtkMenuBarPeer.c
8709         (Java_gnu_java_awt_peer_gtk_GtkMenuBarPeer_addMenu): Use
8710         gtk_menu_shell_append().
8711         * jni/gtk-peer/gnu_java_awt_peer_gtk_GtkMenuItemPeer.c
8712         (item_activate): Fix argument type.
8713         (Java_gnu_java_awt_peer_gtk_GtkMenuItemPeer_create): Do not connect
8714         signal here.
8715         (Java_gnu_java_awt_peer_gtk_GtkMenuItemPeer_connectSignals): New
8716         method.
8717         * jni/gtk-peer/gnu_java_awt_peer_gtk_GtkMenuPeer.c
8718         (Java_gnu_java_awt_peer_gtk_GtkMenuPeer_create): Check if a label is
8719         given. Add the menu widget's top-level GtkWindow to the global window
8720         group, so it can grab the pointer.
8721         (Java_gnu_java_awt_peer_gtk_GtkMenuPeer_addItem): Use
8722         gtk_menu_shell_append().
8724 2004-03-23  Graydon Hoare  <graydon@redhat.com>
8726         * java/text/AttributedString.java 
8727         (addAttribute): Fix off-by-one.
8728         (getIterator): Likewise.        
8729         * java/text/AttributedStringIterator.java 
8730         (getRunLimit): Correct logic.
8731         (getRunStart): Likewise.
8732         (getAttribute): Fix inequality.
8733         (getAttributes): Likewise.
8734         * testsuite/libjava.mauve/xfails: Remove AttributedString xfail.
8736 2004-03-23  Kim Ho  <kho@redhat.com>
8738         * javax/swing/plaf/basic/BasicTabbedPaneUI.java:
8739         (calculateSizes): Return real width and height.
8741 2004-03-23  Kim Ho  <kho@redhat.com>
8743         * javax/swing/plaf/basic/BasicTabbedPaneUI.java
8744         (calculateTabRects): Set the selectedRun before
8745         trying to rotate tabs.
8747 2004-03-23  Kim Ho  <kho@redhat.com>
8749         * Makefile.am: New file
8750         * Makefile.in: Regenerate
8751         * java/awt/Graphics.java: (drawRect):
8752         Draw to the correct point.
8753         * javax/swing/DefaultSingleSelectionModel.java
8754         (isSelected): Return true if the selected index
8755         is not -1.
8756         * javax/swing/JLabel.java: Do not change mnemonic
8757         index if text is null.
8758         * javax/swing/JProgressBar.java: Use JComponent's
8759         EventListenerList.
8760         * javax/swing/JScrollBar.java: Ditto.
8761         * javax/swing/JSlider.java: Ditto.
8762         * javax/swing/JTabbedPane.java: Reimplement.
8763         * javax/swing/plaf/basic/BasicLookAndFeel.java:
8764         Add defaults for TabbedPane.
8765         * javax/swing/plaf/basic/BasicArrowButton.java:
8766         Implement
8767         * javax/swing/plaf/basic/BasicProgressBarUI.java:
8768         (paintDeterminate): Don't paint String if it's
8769         empty.
8770         (paintIndeterminate): ditto.
8771         * javax/swing/plaf/basic/BasicTabbedPaneUI.java:
8772         Reimplement.
8774 2004-03-19  Michael Koch  <konqueror@gmx.de>
8776         * java/awt/image/AffineTransformOp.java
8777         (AffineTransformOp): Made public.
8778         * javax/swing/JComponent.java
8779         (listenerList): Made protected.
8780         (accessibleContext): Likewise.
8781         * javax/swing/JList.java
8782         (valueChanged): Dont use internal fields of ListSelectionEvent.
8783         * javax/swing/JViewport.java
8784         (getView): Dont use internal fields of Component.
8785         (addImpl): Likewise.
8786         * javax/swing/Timer.java
8787         (isRunning): Made public.
8788         (start): Likewise.
8789         (stop): Likewise.
8790         * javax/swing/UIDefaults.java
8791         (getInt): Made public.
8792         * javax/swing/plaf/basic/BasicListUI.java
8793         (mousePressed): Dont use internal fields of MouseEvent.
8794         (propertyChanged): Dont use internal fields of PropertyChangeEvent.
8795         * javax/swing/plaf/basic/BasicScrollBarUI.java
8796         (arrowIcon): Made static.
8797         * javax/swing/plaf/basic/BasicViewportUI.java
8798         (stateChanged): Dont use internal field on ChangeEvent.
8799         * javax/swing/text/JTextComponent.java
8800         (getUI): Call UIManager.getUI().
8801         (updateUI): Use getUI().
8803 2004-03-19  Graydon Hoare  <graydon@redhat.com>
8805         * javax/swing/JComponent.java: Turn off double buffer by default.
8806         * javax/swing/plaf/basic/BasicViewportUI.java: Clear rects before painting.
8807         * jni/gtk-peer/gnu_java_awt_peer_gtk_GdkGraphics2D.c
8808         (Java_gnu_java_awt_peer_gtk_GdkGraphics2D_gdkDrawDrawable): 
8809         Use cairo to copy areas.
8810         (Java_gnu_java_awt_peer_gtk_GdkGraphics2D_cairoClip):
8811         Initialize and set clip region.
8813 2004-03-15  Thomas Fitzsimmons  <fitzsim@redhat.com>
8815         * java/applet/Applet.java (preferredSize): Override deprecated
8816         variant of getPreferredSize.
8817         (minimumSize): Override deprecated variant of getMinimumSize.
8819 2004-03-15  Olga Rodimina  <rodimina@redhat.com>
8821         * gnu/java/awt/peer/gtk/GdkGraphics2D.java
8822         (drawImage(img,xform,bgcolor,obs)): New Method.
8823         Helper function that every drawImage method will
8824         use.
8825         (drawRaster): Added new parameter, bgcolor. All
8826         transparent pixels are changed to bgcolor before 
8827         image is drawn.
8828         (drawRenderedImage): Fixed to use changed drawRaster().
8829         (drawImage(image,xform,obs): Fixed to use new helper function 
8830         (drawImage(image,op,x,y)): Ditto.
8831         (drawImage (img,x,y,observer)): Ditto.
8832         ((PainterThread) bgcolor): New Field.
8833         ((PainterThread) (setPixels)): Changed all transparent pixels 
8834         to bgcolor.     
8835         (drawImage(img,x,y,width,height,bgcolor,observer)): 
8836         Fixed FIXME - all the transparent pixels are 
8837         changed to the specified bgcolor. 
8838         (drawImage(img, x, y, width, height, observer): Changed to 
8839         use function above.
8840         (drawImage (img,dx1,dy1,dx2,dy2,sx1,sy1,sx2,sy2,bgcolor,observer)): 
8841         Fixed FIXME- changed all transparent pixels to bgcolor.
8842         (drawImage (img, dx1, dy1, dx2, dy2, sx1, sy1, sx2, sy2, observer)):
8843         Changed to use function above. 
8845 2004-03-14  Thomas Fitzsimmons  <fitzsim@redhat.com>
8847         * java/applet/Applet.java (dimensions): New field.
8848         (getDimensions): New method.
8849         (getPreferredSize): Call getDimensions.
8850         (getMinimumSize): Likewise.
8852 2004-03-13  Thomas Fitzsimmons  <fitzsim@redhat.com>
8854         * jni/classpath/jcl.c: Include stdlib.h, not malloc.h.
8855         * jni/classpath/jnilink.c: Likewise.
8857         * java/applet/Applet.java (getPreferredSize): New method.
8858         (getMinimumSize): New method.
8860 2004-04-15  Bryce McKinlay  <mckinlay@redhat.com>
8862         * prims.cc (_Jv_AllocObject): Remove `size' argument.
8863         (_Jv_AllocObjectNoFinalizer): Likewise.
8864         (_Jv_AllocObjectNoInitNoFinalizer): Likewise.
8865         (_Jv_AllocPtrFreeObject): Likewise.
8866         (_Jv_AllocString): Moved from natString.cc. Call collector interface
8867         directly even in the JVMPI case.        
8868         * gcj/cni.h (JvAllocObject): Remove `size' argument from 
8869         _Jv_AllocObject calls.
8870         * gcj/javaprims.h: Update prototypes.
8871         * gnu/gcj/natCore.cc (_Jv_create_core): Use `new', not _Jv_AllocObject.
8872         * java/lang/Class.h: Update _Jv_AllocObject friend prototype.
8873         * java/lang/natString.cc (_Jv_AllocString): Move to prims.cc.
8875 2004-04-14  Andrew Haley  <aph@redhat.com>
8876             Bryce McKinlay  <mckinlay@redhat.com>
8878         * java/lang/reflect/natMethod.cc (_Jv_CallAnyMethodA): Use
8879         _Jv_LookupInterfaceMethodIdx for calls to interfaces.
8880         * include/jvm.h (_Jv_CallAnyMethodA): Add new `iface' arg.
8882         * testsuite/libjava.lang/InvokeInterface.java: New file.
8883         * testsuite/libjava.lang/InvokeInterface.out: New file.
8885 2004-04-09  Ranjit Mathew  <rmathew@hotmail.com>
8886         
8887         * java/lang/VMThrowable.java (getStackTrace): Pass trace as-is to
8888         modified lookup().
8889         * gnu/gcj/runtime/NameFinder.java (lookup): Change to take in a
8890         StackTraceElement directly.
8891         (newElement): New native helper method to create StackTraceElement
8892         bypassing Java access control.
8893         (createStackTraceElement): Use newElement() instead of directly
8894         calling StackTraceElement's constructor.
8895         * gnu/gcj/runtime/natNameFinder.cc (newElement): New method.
8897 2004-04-01  Michael Koch  <konqueror@gmx.de>
8899         * java/lang/SecurityManager.java
8900         (checkAwtEventQueueAccess): Implemented.
8902 2004-04-01  Gary Benson  <gbenson@redhat.com>
8904         * resolve.cc (_Jv_ResolvePoolEntry): Put field name in exception.
8905         (_Jv_SearchMethodInClass): Likewise.
8907 2004-03-26  Peter Moon  <peterm@miraculum.com>
8909         * java/text/NumberFormat.java: Fix spelling of setCurrency
8910         method.
8912 2004-03-21  Anthony Green  <green@redhat.com>
8914         * java/lang/natClass.cc (getClassLoader): Circumvent infinite
8915         recursion when searching for the system ClassLoader.
8917 2004-03-21  Ito Kazumitsu <kaz@maczuka.gcd.org>
8919         * java/net/ServerSocket.java
8920         (accept): Close the socket when error occured.
8922 2004-03-21  Jeroen Frijters  <jeroen@frijters.net>
8924         * java/net/URI.java (parseURI): Added unquoting.
8925         (unquote): New method.
8926         (quoteAuthority): Implemented.
8927         (quote(String,String)): New method.
8928         (quotePath): Implemented.
8929         (getRawSchemeSpecificPart): Return new rawSchemeSpecificPart field.
8930         (getSchemeSpecificPart): Removed FIXME comment.
8931         (getRawAuthority): Return new rawAuthority field.
8932         (getAuthority): Removed FIXME comment.
8933         (getRawUserInfo): Return new rawUserInfo field.
8934         (getUserInfo): Removed FIXME comment.
8935         (getRawPath): Return new rawPath field.
8936         (getPath): Removed FIXME comment.
8937         (getRawQuery): Return new rawQuery field.
8938         (getQuery): Removed FIXME comment.
8939         (getRawFragment): Return new rawFragment field.
8940         (getFragment): Removed FIXME comment.
8942 2004-03-20  Michael Koch  <konqueror@gmx.de>
8944         * java/net/URLConnection.java: Merged copyright year with classpath.
8946 2004-03-20  Norbert Frese  <postfach@nfrese.net>
8948         * gnu/java/rmi/server/RMIIncomingThread.java: New file.
8949         * gcc/libjava/gnu/java/rmi/server/UnicastConnection.java:
8950         Create a new RMIObjectOuputStream/RMIObjectInputStream for every
8951         rmi-message.
8952         (getObjectInputStream): Return object reference, throw IOException if null.
8953         (startObjectInputStream): Create new RMIObjectInputStream on top of 'din'.
8954         (getObjectOutputStream): Return object reference, throw IOException if null.
8955         (startObjectOutputStream): Create new RMIObjectOutputStream on top of 'dout'.
8956         * gcc/libjava/gnu/java/rmi/server/UnicastConnectionManager.java:
8957         (UnicastConnectionManager): Throw RemoteException if port is not available.
8958         (getInstance): Throw RemoteException.
8959         (run): Lookup client host and attach it to new RMIIncomingThread for later retrieval.
8960         * gcc/libjava/gnu/java/rmi/server/UnicastRef.java:
8961         Start a new RMIObjectInputStream/RMIObjectOutputStream for every rmi-message.
8962         Collect Exceptions which are returned by a rmi-call and fix void returns.
8963         * gcc/libjava/gnu/java/rmi/server/UnicastRemoteCall.java:
8964         Start a new RMIObjectInputStream/RMIObjectOutputStream for every rmi-message.
8965         * gcc/libjava/gnu/java/rmi/server/UnicastServer.java:
8966         (dispatch): Answer ping messages which are sent by other java implementions.
8967         (incomingMessageCall): Start a new RMIObjectInputStream/RMIObjectOutputStream
8968         for every rmi-message and fix void return problems.
8969         * gcc/libjava/gnu/java/rmi/server/UnicastServerRef.java
8970         (UnicastServerRef): Throw RemoteException.
8971         (exportObject): Find the class up the class hierarchy which has a _Stub generated by rmic.
8972         In some situations it is necessary to export a subclass of the class which has the _Stub.
8973         For instance when the class with has the _Stub is abstract.
8974         (findStubSkelClass): New method which looks for the class which has the _Stub.
8975         (getClientHost): Implementated.
8976         * gcc/libjava/java/rmi/server/RemoteServer.java
8977         (getClientHost): Implementated.
8978         * gcc/libjava/Makefile.am (rmi_java_source_files):
8979         Added gnu/java/rmi/server/RMIIncomingThread.java.
8980         * Makefile.in: Regenerated.
8982 2004-03-20  Michael Koch  <konqueror@gmx.de>
8984         * java/net/InetAddress.java
8985         (getLocalHostname): Added javadoc.
8987 2004-03-19  Per Bothner  <per@bothner.com>
8989         * configure.in: FILE variable  overrides FLATFORM when linking
8990         natFileChannelXXX.cc.
8992         * gnu/java/nio/channels/natFileChannelEcos.cc (diag_write):  Restored.
8993         (write):  Call diag_write, as in old natFileDescriptorEcos.cc.
8995 2004-03-19  Per Bothner  <per@bothner.com>
8997         * gnu/gcj/convert/Input_UnicodeBig.java:  New class..
8998         * gnu/gcj/convert/Input_UnicodeLittle.java:  New class.
8999         * Makefile.am:  Update accordingly.
9000         * gnu/gcj/convert/IOConverter.java:  Define "utf-16le" and "utf16be"
9001         as aliases for UnicodeLittle and UnicodeBig.
9003 2004-03-20  Mark Wielaard  <mark@klomp.org>
9005         * native/jni/gtk-peer/gnu_java_awt_peer_gtk_GtkTextAreaPeer.c
9006         (Java_gnu_java_awt_peer_gtk_GtkTextAreaPeer_getVScrollbarWidth):
9007         Don't access ws when it is null.
9008         (Java_gnu_java_awt_peer_gtk_GtkTextAreaPeer_getHScrollbarHeight):
9009         Likewise.
9011 2004-03-19  Jeroen Frijters  <jeroen@frijters.net>
9013         * java/lang/ThreadGroup.java (list): Changed print to println.
9015 2004-03-19  Mark Wielaard  <mark@klomp.org>
9017         * java/io/BufferedReader.java: Use &lt;=, not &lt;&eq; to make gjdoc
9018         happy.
9020 2004-02-10  Randolph Chung  <tausq@debian.org>
9022         * configure.in: Build java for hppa target.
9023         * configure: Regenerate.
9024         * libjava/configure.host (hppa-*): Add target.
9025         * libjava/sysdeps/pa/lock.h: New file.
9027 2004-03-19  Mark Wielaard  <mark@klomp.org>
9029         Reported by Stephen Crawley
9030         * java/io/FilePermission.java (implies): Use String.length() -1 to
9031         access last char of String.
9033 2004-03-19  Michael Koch  <konqueror@gmx.de>
9035         * java/awt/image/AffineTransformOp.java
9036         (AffineTransformOp): Made public.
9037         * javax/swing/JComponent.java
9038         (listenerList): Made protected.
9039         (accessibleContext): Likewise.
9040         * javax/swing/JList.java
9041         (valueChanged): Dont use internal fields of ListSelectionEvent.
9042         * javax/swing/JViewport.java
9043         (getView): Dont use internal fields of Component.
9044         (addImpl): Likewise.
9045         * javax/swing/Timer.java
9046         (isRunning): Made public.
9047         (start): Likewise.
9048         (stop): Likewise.
9049         * javax/swing/UIDefaults.java
9050         (getInt): Made public.
9051         * javax/swing/plaf/basic/BasicListUI.java
9052         (mousePressed): Dont use internal fields of MouseEvent.
9053         (propertyChanged): Dont use internal fields of PropertyChangeEvent.
9054         * javax/swing/plaf/basic/BasicScrollBarUI.java
9055         (arrowIcon): Made static.
9056         * javax/swing/plaf/basic/BasicViewportUI.java
9057         (stateChanged): Dont use internal field on ChangeEvent.
9058         * javax/swing/text/JTextComponent.java
9059         (getUI): Call UIManager.getUI().
9060         (updateUI): Use getUI().
9062 2004-03-19  Rainer Orth  <ro@TechFak.Uni-Bielefeld.DE>
9064         * verify.cc: Undef PC.
9066 2004-03-18  Michael Koch  <konqueror@gmx.de>
9068         * java/nio/channels/spi/AbstractSelectableChannel.java
9069         (keys): Initialize at declaration.
9070         (locate): keys cant be null.
9071         (add): Removed.
9072         (addSelectionKey): New method.
9073         (removeSelectionKey): New method.
9074         * java/nio/channels/spi/AbstractSelectionKey.java
9075         (cancel): Call AbstractSelector.cancelKey(SelectionKey key).
9076         * java/nio/channels/spi/AbstractSelector.java
9077         (provider): Javadoc added.
9078         (cancelledKeys): Javadoc added.
9079         (cancelKey): Javadoc added, add key to cancelledKeys.
9080         (deregister): Implemented.
9082 2004-03-18  Rainer Orth  <ro@TechFak.Uni-Bielefeld.DE>
9084         * gnu/java/nio/channels/natFileChannelPosix.cc (mapImpl): Cast
9085         MAP_FAILED to void *.
9087 2004-03-12  Graydon Hoare  <graydon@redhat.com>
9089         * gnu/java/awt/peer/gtk/GdkGraphics2D.java: Clipping fixes.
9090         * javax/swing/JComponent.java (paint): Use persistent double buffer. 
9091         * javax/swing/JList.java (ListListener): Revalidate on changes.
9092         * javax/swing/JScrollPane.java: Reimplement.
9093         * javax/swing/JViewport.java: Reimplement.
9094         * javax/swing/ScrollPaneLayout.java: Reimplement.
9095         * javax/swing/ViewportLayout.java: Tidy up.
9096         * javax/swing/plaf/basic/BasicButtonListener.java: Remove printlns.
9097         * javax/swing/plaf/basic/BasicScrollPaneUI.java: Reimplement.
9098         * javax/swing/plaf/basic/BasicSliderUI.java: Handle missing labels.
9099         * javax/swing/plaf/basic/BasicViewportUI.java: Implement in terms of
9100         backing store only.
9102 2004-03-11  Thomas Fitzsimmons  <fitzsim@redhat.com>
9104         * jni/gtk-peer/gnu_java_awt_peer_gtk_GtkWindowPeer.c
9105         (window_wm_protocols_filter): New function.
9106         (window_focus_in_cb): Remove function.
9107         (window_focus_out_cb): Likewise.
9108         (window_focus_or_active_state_change_cb): New function.
9109         (create): Add filter that removes WM_TAKE_FOCUS client messages.
9110         (connectSignals): Don't attach handlers to focus-in-event or
9111         focus-out-event signals.  Handle notify signal.
9113 2004-03-11  David Jee  <djee@redhat.com>
9115         * gnu/java/awt/peer/gtk/GtkCheckboxPeer.java
9116         (gtkSetLabel): New native method declaration.
9117         (setLabel): Use gtkSetLabel.
9118         * jni/gtk-peer/gnu_java_awt_peer_gtk_GtkCheckboxPeer.c
9119         (Java_gnu_java_awt_peer_gtk_GtkCheckboxPeer_gtkSetLabel): New method.
9121 2004-03-10  Thomas Fitzsimmons  <fitzsim@redhat.com>
9123         * gnu/java/awt/peer/gtk/GdkGraphics.java (setColor): Default to
9124         black when color argument is null.
9126 2004-03-10  Kim Ho  <kho@redhat.com>
9128         * java/awt/Container.java: Remove check
9129         for drag events.
9131 2004-03-10  Kim Ho  <kho@redhat.com>
9133         * java/awt/Container.java: (visitChild):
9134         Remove candidate clip. Use the component
9135         clip to intersect.
9136         * gnu/java/awt/peer/gtk/GtkComponentPeer.java:
9137         (handleEvent): Use the PaintEvent's clip.
9139 2004-03-10  Kim Ho  <kho@redhat.com>
9141         * gnu/java/awt/peer/gtk/GtkComponentPeer.java:
9142         (handleEvent): Don't set the clip for the
9143         Graphics object.
9145 2004-03-09  Graydon Hoare  <graydon@redhat.com>
9147         * jni/gtk-peer/gnu_java_awt_peer_gtk_GdkGlyphVector.c: 
9148         Fix double <-> fixed macros, reset font transform.
9149         * jni/gtk-peer/gnu_java_awt_peer_gtk_GdkClasspathFontPeerMetrics.c:
9150         Likewise.
9152 2004-03-09  Kim Ho  <kho@redhat.com>
9154         * java/awt/Container.java: (visitChild): Move
9155         the x and y coordinate of the component rectangle
9156         to correct position.
9157         (handleEvent): Forward drag events to the pressed
9158         component.
9159         * javax/swing/plaf/basic/BasicScrollBarUI.java:
9160         Fix comments.
9161         (ArrowButtonListener::mousePressed): Stop the
9162         existing timer.
9163         (mouseDragged): Implement.
9164         (TrackListener::mousePressed): Only react if
9165         the press doesn't occur on the thumb, otherwise
9166         just set the offset.
9167         (TrackListener::mouseReleased): Unset the isAdjusting
9168         value.
9169         (createIncreaseIcon): Switch icon.
9170         (createDecreaseIcon): Switch icon.
9171         (calculatePreferredSize): Use width.
9172         (getThumbBounds): Use the top as the lower value.
9173         (layoutVScrollBar): Switch the button locations.
9174         (paintIncreaseHighlight): Paint correct side of thumb.
9175         (paintDecreaseHighlight): ditto.
9176         (valueForYPosition): Use top as the lower value.
9177         * javax/swing/plaf/basic/BasicSliderUI.java:
9178         Fix comments.
9179         (mouseDragged): Implement.
9180         (mousePressed): Only react when the thumb isn't
9181         pressed, otherwise just set offset.
9182         (mouseReleased): Handle a release of the thumb.
9183         (scrollDueToClickInTrack): Stop the timer first.
9184         * javax/swing/JProgressBar.java:
9185         (setString): Fix change condition.
9186         * javax/swing/JSeparator.java:
9187         Remove println's.
9189 2004-03-08  David Jee  <djee@redhat.com>
9191         * java/awt/image/AffineTransformOp.java:
9192         (filter): Use Graphics2D interface instead of directly using the
9193         GdkGraphics2D peer.
9195 2004-03-05  David Jee  <djee@redhat.com>
9197         * gnu/java/awt/peer/gtk/GtkButtonPeer.java
9198         (handleEvent): Action events are generated upon MOUSE_RELEASED.
9199         * java/awt/Container.java
9200         (acquireComponentForMouseEvent): Fixed.
9201         (handleEvent): Fixed.
9202         * jni/gtk-peer/gnu_java_awt_peer_gtk_GtkEvents.c
9203         (state_to_awt_mods_with_button_states): New method.
9204         (pre_event_handler): Fixed mouse event generation.
9206 2004-03-05  Olga Rodimina  <rodimina@redhat.com>
9208         gnu/java/awt/peer/gtk/GdkGraphics2D.java
9209         (GdkGraphics2D (BufferedImage)): Initialize
9210         pixmap associated with specified BufferedImage.
9211         (setPaint): Changed implementation of Texture
9212         Paint to use AffineTransformOp.
9213         * java/awt/image/AffineTransformOp.java
9214         (createCompatibleDestRaster): Throw RasterFormatException 
9215         if resulting width or height of raster is 0.
9217 2004-03-04  Olga Rodimina  <rodimina@redhat.com>
9219         * java/awt/image/AffineTransformOp.java:
9220         Removed unnecessary field interpolationType.
9221         Formatted some of the lines to be consistent with 
9222         the GNU style.
9223         (AffineTransformOp): Create new RenderingHints 
9224         containing specified interpolation type.
9225         (createCompatibleDestImage): Implemented.
9226         (createCompatibleDestRaster): Implemented.
9227         (filter): Implemented.
9228         (getBounds2D(BufferedImage)): Implemented.
9229         (getBounds2D(Raster)): Implemented.
9230         (getInterpolationType): Get interpolation value from 
9231         rendering hints.
9233 2004-03-04  David Jee  <djee@redhat.com>
9235         * gnu/java/awt/peer/gtk/GtkContainerPeer.java
9236         (setFont): Check if child peers are null.
9238 2004-03-04  Graydon Hoare  <graydon@redhat.com>
9240         * testsuite/lib/libjava.exp (libjava_find_lib): Don't include
9241         .libs in -L option.
9242         (libjava_arguments): Add new libraries to argument list.
9244 2004-03-02  Olga Rodimina  <rodimina@redhat.com>
9246         * Makefile.am: Added java/awt/image/AffineTransformOp.java
9247         * Makefile.in: Re-generated.
9248         * java/awt/image/AffineTransformOp.java: New Class.
9250 2004-03-01  Olga Rodimina  <rodimina@redhat.com>
9252         * gnu/java/awt/peer/gtk/GdkGraphics2D.java
9253         (setPaint): Interpret correctly TexturePaint's
9254         anchor rectangle.
9255         (drawImage): Fixed scale factors of the affine
9256         transform.
9258 2004-02-27  David Jee  <djee@redhat.com>
9260         * gnu/java/awt/peer/gtk/GdkGraphics.java
9261         (GdkGraphics(Component)): Inherit font from component.
9262         (drawString): Use font style.
9263         * gnu/java/awt/peer/gtk/GtkCheckboxPeer.java
9264         (gtkSetFont): New native method declaration.
9265         (setFont): New method.
9266         * gnu/java/awt/peer/gtk/GtkComponentPeer.java
9267         (gtkSetFont): New native method declaration.
9268         (setFont): Call new native method gtkSetFont.
9269         * gnu/java/awt/peer/gtk/GtkContainerPeer.java
9270         (setFont): For all child components who do not their fonts set,
9271         set their peers' fonts with this container's font.
9272         * gnu/java/awt/peer/gtk/GtkLabelPeer.java:
9273         Move all native method declarations to the top for readability.
9274         (gtkSetFont): New native method declaration.
9275         (setFont): New method.
9276         * java/awt/Component.java
9277         (setFont): Invalidate after setting the font.
9278         * java/awt/Container.java
9279         (invalidateTree): New method.
9280         (setFont): Invalidate the container tree after setting the font.
9281         * jni/gtk-peer/gnu_java_awt_peer_gtk_GdkGraphics.c
9282         (Java_gnu_java_awt_peer_gtk_GdkGraphics_drawString): Use font style.
9283         * jni/gtk-peer/gnu_java_awt_peer_gtk_GtkCheckboxPeer.c
9284         (Java_gnu_java_awt_peer_gtk_GtkCheckboxPeer_gtkSetFont): New method.
9285         * jni/gtk-peer/gnu_java_awt_peer_gtk_GtkComponentPeer.c
9286         (Java_gnu_java_awt_peer_gtk_GtkComponentPeer_gtkSetFont): New method.
9287         * jni/gtk-peer/gnu_java_awt_peer_gtk_GtkLabelPeer.c
9288         (Java_gnu_java_awt_peer_gtk_GtkLabelPeer_gtkSetFont): New method.
9290 2004-02-27  Olga Rodimina <rodimina@redhat.com>
9292         * gnu/java/awt/peer/gtk/GdkGraphics2D.java
9293         (updateBufferedImage): New helper function.
9294         Updates BufferedImage in memory if it was changed.
9295         (draw): changed to update BufferedImage in memory after
9296         this drawing operation
9297         (fill): Ditto.
9298         (draw3DRect): Ditto.
9299         (fill3DRect): Ditto.
9300         (clearRect): Ditto.
9301         (drawRaster): Ditto.
9302         (drawImage) : Ditto. Update only in case of GtkOffScreenImage with 
9303         no affine transformation.
9304         (drawGlyphVector): Ditto.
9306 2004-02-26  Olga Rodimina <rodimina@redhat.com>
9308         * gnu/java/awt/peer/gtk/GdkGraphics2D.java
9309         (isBufferedImageGraphics): New Helper function. 
9310         Returns true if this graphics2d can be used to draw 
9311         into buffered image and false otherwise.
9312         (updateImagePixels): New Helper function. 
9313         Updates pixels in the BufferedImage.
9314         * jni/gtk-peer/gnu_java_awt_peer_gtk_GdkGraphics2D.c
9315         (getImagePixels): New function. Returns pixels
9316         of the buffered image associated with 
9317         this Graphics2D.
9319 2004-02-26  David Jee  <djee@redhat.com>
9321         * java/awt/BorderLayout.java
9322         (layoutContainer): Fix width and height calculations to ensure
9323         that they're non-negative.
9324         * java/awt/Component.java
9325         (setBackground): If c is null, inherit from closest ancestor whose
9326         background color is set.
9328 2004-02-26  Kim Ho  <kho@redhat.com>
9330         * Makefile.am: Add new files.
9331         * Makefile.in: Re-generate.
9332         * javax/swing/JProgressBar.java: 
9333         (JProgressBar(int, int int)): Throw
9334         IllegalArgumentException if orientation is
9335         invalid.
9336         (JProgressBar(BoundedRangeModel)): Create
9337         ChangeListener and register it. UpdateUI.
9338         (getChangeListeners): Implement.
9339         (setModel): Reset ChangeListener.
9340         * javax/swing/JScrollBar.java: Implement.
9341         * javax/swing/JSeparator.java: Implement.
9342         * javax/swing/JSlider.java:
9343         (JSlider(int, int, int, int)): Throw 
9344         IllegalArgumentException if orientation
9345         is invalid.
9346         (getChangeListeners): Fix method name.
9347         * javax/swing/SwingUtilities.java:
9348         (layoutCompoundLabel): If there is no text,
9349         set the text rectangle dimensions to 0.
9350         * javax/swing/plaf/basic/BasicButtonUI.java:
9351         (paint): If there is no text, don't paint it.
9352         * javax/swing/plaf/basic/BasicScrollBarUI.java:
9353         Implement.
9354         * javax/swing/plaf/basic/BasicSeparatorUI.java:
9355         Implement.
9356         * javax/swing/plaf/basic/BasicSliderUI.java: 
9357         (propertyChange): If the model changes, change
9358         the listeners accordingly.
9360 2004-02-25  Graydon Hoare  <graydon@redhat.com>
9362         * javax/swing/AbstractButton.java: Add "final" qualifiers.
9363         * javax/swing/JList.java: Reimplement.
9364         * javax/swing/DefaultListSelectionModel.java: Reimplement.
9365         * javax/swing/plaf/basic/BasicListUI.java: Reimplement.
9366         * javax/swing/plaf/basic/BasicLookAndFeel.java: Add "purple" values.
9367         * javax/swing/ListModel.java: Javadoc.
9368         * javax/swing/ListSelectionModel.java: Add missing methods.
9369         * javax/swing/AbstractListModel.java: Javadoc and corrections.
9370         * javax/swing/DefaultListModel.java: Javadoc and corrections.
9371         * javax/swing/ListModel.java: Javadoc and corrections.
9372         * javax/swing/DefaultListCellRenderer.java: Minor tidying.
9374 2004-02-25  David Jee  <djee@redhat.com>
9376         * gnu/java/awt/peer/gtk/GtkFontPeer.java
9377         (GtkFontPeer): Change default size to 12.
9378         * gnu/java/awt/peer/gtk/GtkToolkit.java
9379         (getFontPeer): Change default size to 12.
9380         (getClasspathFontPeer): Likewise. Set default name to "Default".
9381         * java/awt/Font.java
9382         (Font(Map)): Call Font(String,Map).
9383         (Font(String,Map)): If attrs is null, initialize it as an empty
9384         HashMap, which will ensure that the Font will get default attributes.
9386 2004-02-25  David Jee  <djee@redhat.com>
9388         * gnu/java/awt/peer/gtk/GtkFontPeer.java
9389         (GtkFontPeer(String,int)): Call the new constructor with size 1.
9390         (GtkFontPeer(String,int,int)): New constructor with size attribute.
9391         * gnu/java/awt/peer/gtk/GtkToolkit.java
9392         (getFontPeer(String,int)): Call the new overload method with size 1.
9393         (getFontPeer(String,int,int)): New method. Overloaded with size
9394         attribute.
9395         (getClasspathFontPeer): Set the size of the font.
9397 2004-02-24  Olga Rodimina  <rodimina@redhat.com>
9399         * gnu/java/awt/peer/gtk/GdkGraphics2D.java
9400         (bimage): New field.
9401         (GdkGraphics2D): New Constructor. Constructs Graphics
9402         object that can be used to draw into the Buffered Image.
9403         * gnu/java/awt/peer/gtk/GdkGraphicsEnvironment.java:
9404         (GdkGraphicsEnvironment): Fixed to include public 
9405         keyword.
9406         (createGraphics): Implemented.
9407         * gnu/java/awt/peer/gtk/GtkToolkit.java
9408         (getLocalGraphicsEnvironment): Implemented.
9409         * java/awt/GraphicsEnvironment.java:
9410         (getLocalGraphicsEnvironment): Implemented.
9411         * java/awt/image/BufferedImage.java:
9412         (createGraphics): Implemented.
9413                 
9414 2004-02-24  David Jee  <djee@redhat.com>
9416         * java/awt/Component.java
9417         (eventTypeEnabled): Add MOUSE_MOVED and MOUSE_DRAGGED event types.
9418         * java/awt/Container.java
9419         (addNotifyContainerChildren): Fix event enabling.
9421 2004-02-23  Olga Rodimina  <rodimina@redhat.com>
9423         * Makefile.am: Added 
9424         gnu/java/awt/peer/gtk/GdkGraphicsEnvironment.java
9425         * Makefile.in: Re-generated.
9426         * gnu/java/awt/peer/gtk/GdkGraphicsEnvironment.java:
9427         New Class. 
9428         
9429 2004-02-19  Kim Ho  <kho@redhat.com>
9431         * Makefile.am: Add BasicProgressBarUI
9432         * Makefile.in: Regenerate.
9433         * javax/swing/JProgressBar.java: 
9434         Re-implement.
9435         * javax/swing/plaf/basic/BasicLookAndFeel.java
9436         Add constants for JProgressBar.
9437         * javax/swing/plaf/basic/BasicProgressBarUI.java
9438         Implement.
9439         * javax/swing/plaf/basic/BasicSliderUI.java
9440         Change comments.
9441         (calculateGeometry): New method
9442         (paint): Remove unnecessary size calculations.
9444 2004-02-18  Olga Rodimina  <rodimina@redhat.com>
9446         * gnu/java/awt/peer/gtk/GdkGraphics2D.java
9447         (drawRaster): Fixed small error that caused
9448         imageToUser transformation to be set incorrectly.
9449         (toString): Implemented.
9451 2004-02-18  David Jee  <djee@redhat.com>
9453         * java/awt/CardLayout.java
9454         (addLayoutComponent): Show the first component added as the default.
9455         (removeLayoutComponent): After removing, show the next component.
9456         (gotoComponent): If there is only one component, show it and return.
9458 2004-02-18  Kim Ho  <kho@redhat.com>
9460         * javax/swing/JSlider.java: Re-order
9461         modifiers.
9462         * javax/swing/JLabel.java: Re-order
9463         modifiers.
9464         * javax/swing/JComponent.java: 
9465         (addPropertyChangeListener):
9466         Implement.
9467         (removePropertyChangeListener):
9468         ditto.
9469         (firePropertyChangeEvent):
9470         ditto.
9472 2004-02-17  David Jee  <djee@redhat.com>
9474         * java/awt/Component.java
9475         (show): Dispatch ComponentEvent via system event queue.
9476         (hide): Likewise.
9477         (move): Likewise.
9478         (resize): Likewise.
9479         (reshape): Likewise.
9480         * java/awt/Window.java
9481         (setBoundsCallback): Likewise.
9483 2004-02-17  David Jee  <djee@redhat.com>
9485         * jni/gtk-peer/gnu_java_awt_peer_gtk_GtkComponentPeer.c
9486         (Java_gnu_java_awt_peer_gtk_GtkComponentPeer_setNativeBounds):
9487         Use gtk_widget_set_size_request() instead of the deprecated
9488         gtk_widget_set_usize().
9490 2004-02-17  Kim Ho  <kho@redhat.com>
9492         * javax/swing/JSlider.java: Fix comments and
9493         make property strings constants.
9494         (createStandardLabels): Use the labels
9495         preferred size as bounds.
9496         * javax/swing/plaf/basic/BasicSliderUI.java
9497         Fix comments.
9498         (ScrollHandler::actionPerformed): Don't
9499         calculate the timer stop value. Let the
9500         MouseListeners find the stop location.
9501         (getPreferredHorizontalSize): Re-implement.
9502         (getPreferredVerticalSize): ditto.
9503         (getMinimumHorizontalSize): ditto.
9504         (getMinimumVerticalSize): ditto.
9505         (getPreferredSize): ditto.
9506         (getMinimumSize): ditto.
9507         (getMaximumSize): ditto.
9508         (paintTicks): Use doubles to find the
9509         tick location.
9510         (paintHorizontalLabel):  Use preferredSize
9511         as initial width and height.
9512         (paintVerticalLabel): ditto.
9514 2004-02-17  Kim Ho  <kho@redhat.com>
9516         * javax/swing/JLabel.java: Changed 
9517         property strings to constants.
9518         (DISPLAYED_MNEMONIC_INDEX_CHANGED_PROPERTY):
9519         New property.
9520         (setText): Change mnemonic index if
9521         text is too short.
9522         (setDisplayedMnemonicIndex): Fire property
9523         change event.
9524         (getDisplayedMnemonicIndex): Remove check
9525         against short text.
9527 2004-02-17 Olga Rodimina <rodimina@redhat.com>
9529         * gnu/java/awt/peer/gtk/GdkGraphics2D.java:
9530         (drawImage(img,xform,obs)): Invert xform before
9531         passing the xform to cairo.
9532         (drawImage(img,x,y,bgcolor,obs)): Implemented.
9533         (drawImage (img,x,y,w,h,bgcolor,obs)): Partly
9534         implemented.
9535         (drawImage (img,x,y,w,h,obs)): Implemented.
9536         (drawImage (img,dx1,dy1,dx2,dy2,sx1,sy1,sx2,sy2,
9537         bgcolor,obs)): Partly implemented.
9538         (drawImage (img,dx1,dy1,dx2,dy2,sx1,sy1,sx2,sy2,obs)):
9539         Implemented.
9540         * java/awt/image/BufferedImage.java:
9541         (copyData): if dest is null, create raster with same
9542         dimensions as the current image.
9544 2004-02-16  Graydon Hoare  <graydon@redhat.com>
9546         * javax/swing/plaf/basic/BasicLabelUI.java 
9547         (getPreferredSize): Use layoutCL.
9548         * javax/swing/plaf/basic/BasicGraphicsUtils.java 
9549         (getPreferredButtonSize): Start with empty view rect, layout using
9550         component's preferred alignment.
9551         * javax/swing/plaf/basic/BasicLookAndFeel.java: Add some Label and
9552         List defaults.
9554 2004-02-16  David Jee  <djee@redhat.com>
9556         * java/awt/Component.java
9557         (show): Dispatch COMPONENT_SHOWN ComponentEvent.
9558         (hide): Dispatch COMPONENT_HIDDEN ComponentEvent.
9559         (move): Erase old bounds and repaint new bounds. Dispatch
9560         COMPONENT_MOVED ComponentEvent.
9561         (resize): Erase old bounds and repaint new bounds. Dispatch
9562         COMPONENT_RESIZED ComponentEvent.
9563         (reshape): Dispatch COMPONENT_RESIZED and COMPONENT_MOVED
9564         ComponentEvents.
9565         * java/awt/Window.java
9566         (setBoundsCallback): Dispatch COMPONENT_RESIZED and COMPONENT_MOVED
9567         ComponentEvents.
9569 2004-02-16  Olga Rodimina  <rodimina@redhat.com>
9571         * gnu/java/awt/peer/gtk/GdkGraphics2D.java:
9572         (setRenderingHint): Added implementation of 
9573         Interpolation rendering hints.
9574         (setRenderingHints): Ditto.
9575         * jni/gtk-peer/gnu_java_awt_peer_gtk_GdkGraphics2D.c:
9576         (drawPixels): fixed to allow user to choose type 
9577         of filtering that should be used when displaying images.
9578         (cairoSurfaceSetFilter): New method. Sets filter type for 
9579         interpolation of pixel values.
9581 2004-02-16  David Jee  <djee@redhat.com>
9583         * java/awt/GridBagLayout.java
9584         (calcCellSizes): Rows or columns with zero sizes should still be
9585         considered for extra space distribution.
9587 2004-02-16  Kim Ho  <kho@redhat.com>
9589         * javax/swing/JLabel.java: Re-implement.
9590         * javax/swing/plaf/basic/BasicLabelUI.java
9591         Re-implement.
9592         * javax/swing/plaf/basic/BasicLookAndFeel.java:
9593         Added constant.
9595 2004-02-16  Kim Ho  <kho@redhat.com>
9597         * javax/swing/JSlider.java: Fix indentation and comments.
9598         (setModel): Remove null check to conform with Sun's.
9599         (setOrientation): Throw exception if not
9600         HORIZONTAL or VERTICAL.
9601         (getInverted): Use private variable instead of 
9602         ComponentOrientation.
9603         (setInverted): ditto.
9604         * javax/swing/plaf/basic/BasicSliderUI.java:
9605         Fix indentation and comments.
9606         (propertyChange): Remove check for inverted slider, handle
9607         in main paint.
9608         (getMinimumSize): Return preferred size.
9609         (getMaximumSize): ditto.
9610         (calculateFocusRect): Don't relocate rectangle.
9611         (drawInverted): Return XOR of the slider's inversion and 
9612         the component's orientation.
9613         (paint): Update leftToRightCache
9615 2004-02-13  David Jee  <djee@redhat.com>
9617         * java/awt/GridBagLayout.java
9618         (GetLayoutInfo): Fix weight and size distribution. Relocate repeated
9619         code to helper methods.
9620         (sortBySpan): New helper method.
9621         (distributeSizeAndWeight): Likewise.
9622         (calcCellWeights): Likewise.
9623         (calcCellSizes): Add comments.
9625 2004-02-13  David Jee  <djee@redhat.com>
9627         * java/awt/Component.java
9628         (show): Only do something if component is invisible at the moment.
9629         (hide): Only do something if component is visible at the moment.
9630         (reshape): If lightweight, erase old bounds and repaint new bounds.
9632 2004-02-13  Kim Ho  <kho@redhat.com>
9634         * Makefile.am: Updated for new file.
9635         * Makefile.in: Regenerated.
9636         * javax/swing/JSlider.java: Reimplement.
9637         * javax/swing/SwingUtilities.java
9638         (layoutCompoundLabel): Use icon height
9639         instead of width.
9640         (paintComponent): Implement.
9641         * javax/swing/plaf/basic/BasicLookAndFeel.java:
9642         Add JSlider defaults.
9643         * javax/swing/plaf/basic/BasicSliderUI.java:
9644         Implement. New file.
9646 2004-03-17  Michael Koch  <konqueror@gmx.de>
9648         * gnu/java/net/PlainDatagramSocketImpl.java
9649         (RECEIVE_LOCK): New member field.
9650         (SEND_LOCK): New member field.
9651         (send0): New method.
9652         (send): Synchronize on SEND_LOCK.
9653         (receive0): New method.
9654         (receive): Synchronize on RECEIVE_LOCK.
9655         * gnu/java/net/natPlainDatagramSocketImplNoNet.cc,
9656         gnu/java/net/natPlainDatagramSocketImplPosix.cc,
9657         gnu/java/net/natPlainDatagramSocketImplWin32.cc
9658         (send0): Renamed from send.
9659         (receive0): Renamed from receive.
9660 2004-03-17  Michael Koch  <konqueror@gmx.de>
9662         * gnu/java/net/natPlainSocketImplPosix.cc
9663         (write): Just call write(jbyteArray, offset, len).
9664         (read): Just call read(jbyteArray, offset, len).
9666 2004-03-16  Michael Koch  <konqueror@gmx.de>
9668         * javax/swing/JTabbedPane.java
9669         (serialVersionUID): New field.
9671 2004-03-16  Norbert Frese  <postfach@nfrese.net>
9673         * java/net/InetAddress.java
9674         (getByName): Handle hostname == "" case.
9676 2004-03-16  Dalibor Topic  <robilad@kaffe.org>
9678         Reported by: Adam Heath <doogie@debian.org>
9679         * gnu/javax/rmi/CORBA/DelegateFactory.java (getInstance): Use context
9680         class loader.
9682 2004-03-15  Michael Koch  <konqueror@gmx.de>
9684         * java/util/Locale.java: Reverting my last patch
9685         and add a comment why the original version was okay.
9687 2004-03-14  Andreas Tobler <a.tobler@schweiz.ch>
9689         * gnu/java/nio/channels/natFileChannelPosix.cc: Implement
9690         munmap_adaptor and msync_adaptor for older POSIX_C_SOURCES specs.
9691         (MappedByteBufferImpl::unmapImpl): Use munmap_adaptor.
9692         (MappedByteBufferImpl::forceImpl): Use msync_adptor.
9694 2004-03-12  Michael Koch  <konqueror@gmx.de>
9696         * java/text/DateFormatSymbols.java: Fixed file name in copyright.
9698 2004-03-12  Ito Kazumitsu  <ito.kazumitsu@hitachi-cable.co.jp>
9700         * java/net/URI.java (toURL): Implemented.
9702 2004-03-12  Ito Kazumitsu  <ito.kazumitsu@hitachi-cable.co.jp>
9704         * java/net/URI.java
9705         (URI_REGEXP) updated to contain scheme specific part.
9706         (SCHEME_SPEC_PART_GROUP) new constant.
9707         (AUTHORITY_GROUP, PATH_GROUP, QUERY_GROUP, FRAGMENT_GROUP)
9708         updated to make room for SCHEME_SPEC_PART_GROUP.
9709         (parseURI) parse scheme specific part.
9710         (resolve, isAbsolute, isOpaque, getRawSchemeSpecificPart,
9711         getSchemeSpecificPart, getAuthority, getUserInfo, getPath,
9712         getQuery, getFragment) implemented.
9714 2004-03-12  Dalibor Topic  <robilad@kaffe.org>
9716         * libraries/javalib/java/net/URI.java
9717         partially implemented using java.util.regex.
9718         (URI_REGEXP) new constant. Used to parse URIs.
9719         (SCHEME_GROUP) new constant representing index of scheme group
9720         in parsed URI.
9721         (AUTHORITY_GROUP) new constant representing index of authority
9722         group in parsed URI.
9723         (PATH_GROUP) new constant representing index of path group in
9724         parsed URI.
9725         (QUERY_GROUP) new constant representing index of query group in
9726         parsed URI.
9727         (FRAGMENT_GROUP) new constant representing index of fragment
9728         group in parsed URI.
9729         (getURIGroup) new static utility method.
9730         (parseURI) implemented.
9731         (quote) stub for new static utility method.
9732         (quoteAuthority) stub for new static utility method.
9733         (quoteHost) stub for new static utility method.
9734         (quotePath) stub for new static utility method.
9735         (quoteUserInfo) stub for new static utility method.
9736         (URI) implemented.
9737         (create) don't throw URISyntaxException. Implemented.
9738         (toString) implemented.
9740 2004-03-12  Michael Koch  <konqueror@gmx.de>
9742         * java/net/HttpURLConnection.java
9743         (getResponseCode): Fix another typo in javadoc.
9745 2004-03-11  Michael Koch  <konqueror@gmx.de>
9747         * java/util/logging/Level.java
9748         (parse): Use String.equals() instead of ==.
9750 2004-03-11  Michael Koch  <konqueror@gmx.de>
9752         * gnu/java/net/protocol/jar/Connection.java
9753         (getContentLength): New method.
9755 2004-03-11  Michael Koch  <konqueror@gmx.de>
9757         * gnu/java/net/PlainSocketImpl.java:
9758         Reformated to merge better with classpath's version.
9760 2004-03-11  Michael Koch  <konqueror@gmx.de>
9762         * java/util/Locale.java
9763         (getISO3Language): Use String.equals() instead of ==.
9764         (getISO3Country): Likewise.
9766 2004-03-11  Dalibor Topic  <robilad@kaffe.org>
9768         * java/text/AttributedString.java
9769         (addAttribute(AttributedCharacterIterator.Attribute,Object,int,int)):
9770         Use HashMap instead of Hashtable since value can be null, and
9771         you can not store a null value in a Hashtable.
9773 2004-03-11  Guilhem Lavaux <guilhem@kaffe.org>
9775         * java/text/AttributedStringIterator.java
9776         (getAllAttributesKey): Return only keys concerned
9777         by the current iterator.
9778         (getAttributes): Use strict inequality for
9779         end_index. 
9781 2004-03-11  Michael Koch  <konqueror@gmx.de>
9783         * java/net/HttpURLConnection.java:
9784         Fixed typo in javadoc.
9786 2004-03-11  Guilhem Lavaux  <guilhem@kaffe.org>
9788         * java/io/BufferedInputStream.java (marktarget): New field for max
9789         mark limit.
9790         (CHUNKSIZE): New constant for incremental mark buffer allocation.
9791         (mark): Use new fields.
9792         (read): Likewise.
9793         (read(byte[],int,int)): Likewise.
9794         (skip): Likewise.
9795         (refill): Likewise.
9797 2004-03-11  Mark Wielaard  <mark@klomp.org>
9799         * java/beans/BeanDescriptor.java (BeanDescriptor):
9800         Set the FeatureDescriptor programmatic name.
9802 2004-03-11  Michael Koch  <konqueror@gmx.de>
9804         * gnu/java/nio/channels/natFileChannelEcos.cc: Totally reworked.
9805         This file was was just copied form java/io/natFileDescriptorEcos.cc
9806         and never changed to compile correctly.
9808 2004-03-11  Michael Koch  <konqueror@gmx.de>
9810         * gnu/java/nio/PipeImpl.java
9811         (SourceChannelImpl): Made final.
9812         (read): Implemented.
9813         (SinkChannelImpl): Made final.
9814         (write): Implemented.
9816 2004-03-11  Michael Koch  <konqueror@gmx.de>
9818         * gnu/java/net/PlainDatagramSocketImpl.java:
9819         Reformated to match classpath's version more.
9821 2004-03-11  Michael Koch  <konqueror@gmx.de>
9823         * gnu/java/awt/peer/ClasspathFontPeer.java:
9824         Fixed javadoc to be correct xhtml.
9825         * gnu/java/awt/peer/gtk/GtkArgList.java
9826         (add): Use Boolean.valueOf() instead of new Boolean().
9828 2004-03-09  Michael Koch  <konqueror@gmx.de>
9830         * java/lang/Thread.java
9831         (runnable): Moved around.
9832         (daemon): Renamed from daemon_flag.
9833         (contextClassLoader): Renamed from context_class_loader.
9834         (Thread): Reordered constructors.
9835         (activeCount): Use group directly.
9836         (destroy): Make it a java method. Throw NoSuchMethodError like Sun does.
9837         (holdsLock): Reworked javadoc.
9838         (setDaemon): Reworked.
9839         * java/lang/natThread.cc
9840         (destroy): Removed.
9842 2004-03-08  Anthony Green  <green@redhat.com>
9844         * Makefile.am: Build property resource files into libgcj.
9845         * Makefile.in: Rebuilt.
9846         * java/util/regex/Matcher.java, java/util/regex/Pattern.java,
9847         java/util/regex/PatternSyntaxException.java,
9848         gnu/regexp/CharIndexed.java,
9849         gnu/regexp/CharIndexedCharArray.java,
9850         gnu/regexp/CharIndexedInputStream.java,
9851         gnu/regexp/CharIndexedReader.java,
9852         gnu/regexp/CharIndexedString.java,
9853         gnu/regexp/CharIndexedStringBuffer.java, gnu/regexp/RE.java,
9854         gnu/regexp/REException.java,
9855         gnu/regexp/REFilterInputStream.java,
9856         gnu/regexp/REFilterReader.java, gnu/regexp/REMatch.java,
9857         gnu/regexp/REMatchEnumeration.java, gnu/regexp/RESyntax.java,
9858         gnu/regexp/REToken.java, gnu/regexp/RETokenAny.java,
9859         gnu/regexp/RETokenBackRef.java, gnu/regexp/RETokenChar.java,
9860         gnu/regexp/RETokenEnd.java, gnu/regexp/RETokenEndSub.java,
9861         gnu/regexp/RETokenLookAhead.java,
9862         gnu/regexp/RETokenOneOf.java, gnu/regexp/RETokenPOSIX.java,
9863         gnu/regexp/RETokenRange.java, gnu/regexp/RETokenRepeated.java,
9864         gnu/regexp/RETokenStart.java,
9865         gnu/regexp/RETokenWordBoundary.java,
9866         gnu/regexp/UncheckedRE.java: Files merged from GNU Classpath.
9868 2004-03-03  Per Bothner  <per@bothner.com>
9870         * java/nio/channels/Channels.java (newInputStream, newOutputStream):
9871         Optimize when argument is a FileChannelImpl.
9872         (newInputStream(FileChannelImpl), newOutputStream(FileChannelImpl)):
9873         New native methods.
9874         * java/nio/channels/natChannels.cc:  New file for new native methods.
9875         * Makefile.am:  Update accordingly.
9877 2004-03-02  Jan Hubicka  <jh@suse.cz>
9879         * configure.host: Pass -fno-omit-frame-pointer for i386.
9880         * configure.in: Likewise.
9881         * configure: Regenerate.
9883 2004-03-01  Per Bothner  <per@bothner.com>
9885         * java/lang/natPosixProcess.cc (startProcess):  Fix thinko.
9887 2004-02-29  Per Bothner  <per@bothner.com>
9889         * java/nio/channels/FileChannelImpl.java:  Moved to package
9890         gnu/java/nio/channels, since we need to refer to it from java.io.
9891         * java/nio/channels/natFileChannelImpl.cc:  Removed file.
9892         * gnu/java/nio/channels/FileChannelImpl.java:  New class, renamed
9893         from java/nio/channels.  Don't depend on FileDescriptor.
9894         (in, out, err):  New static fields.
9895         (mode):  New field.
9896         (SET, CUR, READ, WRITE, APPEND, EXCL, SYNC, DSYNC):  Moved constants
9897         from FileDescriptor.
9898         (by):  Removed MappedByteBuffer field.
9899         (map):  New working implementation.
9900         * gnu/java/nio/channels/natFileChannelPosix.cc:  New file, though
9901         some code "ported" from natFileDescriptoPosix.cc.
9902         * gnu/java/nio/channels/natFileChannelEcos.cc:  Likewise.
9903         * gnu/java/nio/channels/natFileChannelWin32.cc  Likewise.
9904         * java/io/FileDescriptor.java:  Implement on top of FileChannel.
9905         Remove native methods.
9906         * Makefile.am, configure.in:  Updated accordingly.
9908         * gnu/java/nio/FileLockImpl.java (fd):  Remove field, replacing it by:
9909         (ch):  New FileChannelImpl field.  Update constructor to match.
9910         (releaseImpl):  Remove native method.  Instead ...
9911         (release):  Call unlock on channel.
9912         * gnu/java/nio/natFileLockImpl.cc:  Removed file.
9914         * java/io/natFileDescriptorEcos.cc:  Remove file.
9915         * java/io/natFileDescriptorPosix.cc:  Remove file.
9916         * java/io/natFileDescriptorWin32.cc:  Remove file.
9917         * java/io/FileInputStream.java (ch):  Change type to FileChannelImpl.
9918         (<init>(File)):  Allocate a FileChannelImpl, not a FileDescriptor.
9919         (<init>(FileChannelImpl)):  New package-private constructor.
9920         (<init>(FileDescriptor)):  Extract FileChannelImpl from arg.
9921         (available, close, read, skip):  Implement using FileChannelImpl.
9922         (getFD):  Allocate FileDescriptor if needed.
9923         (getChannel):  Is now trivial.
9924         * java/io/FileOutputStream.java:  Corresponding changes.
9925         * java/io/RandomAccessFile.java:  Corresponding changes.
9927         * java/nio/MappedByteBuffer.java: (forceImpl, isLoadedImpl, loadImpl,
9928         unmapImpl):  New dummy methods, to be overridden by subclass.
9929         (finalize, isLoaded, load, force):  New methods.
9930         * java/nio/MappedByteBufferImpl.java:  More-or-less rewrite.
9931         Now works, at least for read mapping.
9933         * java/lang/natPosixProcess.cc (startProcess):  Implement standard
9934         streams using FileChannelImpl, not FileDescriptor.
9935         * java/lang/natWin32Process.cc (startProcess):  Likewise.
9937 2004-02-28  Michael Koch  <konqueror@gmx.de>
9939         * java/io/ObjectInputStream.java: Compile fix, damn I commited the
9940         wrong code.
9942 2004-02-28  Guilhem Lavaux <guilhem@kaffe.org>
9944         * java/io/ObjectInputStream.java
9945         (readClassDescriptor): Keep elements of the mapping non null.
9946         (checkTypeConsistency): New method.
9947         (readFields): Fixed main loop and base logic. Small reindentation.
9948         * java/io/ObjectStreamField.java
9949         (lookupField): New method to update the field reference.
9950         (checkFieldType): New method.
9951         * java/io/ObjectStreamClass.java
9952         (setClass, setFields): Call lookupField when building the field
9953         database. Check the real field type.
9955 2004-02-28  Michael Koch  <konqueror@gmx.de>
9957         * java/nio/ByteOrder.java
9958         (nativeOrder): Use equals() to compare strings.
9960 2004-02-26  Michael Koch  <konqueror@gmx.de>
9962         * gnu/java/nio/FileLockImpl.java
9963         (finalize): Made protected.
9964         * java/nio/channels/FileChannel.java
9965         (MapMode.READ_ONLY): Made final.
9966         (MapMode.READ_WRITE): Made final.
9967         (MapMode.PRIVATE): Made final.
9968         * java/nio/channels/SocketChannel.java
9969         (open): Simplified code.
9970         * java/nio/channels/spi/AbstractSelectableChannel.java
9971         (registered): Unused, removed.
9972         (keyFor): Check channel is open, only locate key
9973         and not add a new one.
9974         (register): Don't delete attachments.
9976 2004-02-26  Michael Koch  <konqueror@gmx.de>
9978         * gnu/java/awt/ComponentDataBlitOp.java
9979         (INSTANCE): Made final.
9980         * gnu/java/awt/image/ImageDecoder.java:
9981         Reworked imports.
9982         (cm): Unused, removed.
9984 2004-02-26  Michael Koch  <konqueror@gmx.de>
9986         * gnu/java/nio/DatagramChannelImpl.java
9987         (send): Check if target address is resolved.
9989 2004-02-26  Michael Koch  <konqueror@gmx.de>
9991         * Makefile.am: Generate and install headers for inner classes in
9992         java.nio.channels.Pipe and gnu.java.nio.PipeImpl.
9993         * Makefile.in: Regenerated.
9995 2004-02-24  Anthony Green  <green@redhat.com>
9997         * java/lang/StringBuffer.java: No need to NULL out remainder of
9998         buffer since ensureCapacity_unsynchronized will have done this for
9999         us.
10001 2004-02-20  Michael Koch  <konqueror@gmx.de>
10003         * gnu/java/net/protocol/jar/Handler.java
10004         (): Removed unneeded check for file != null. java.net.URL.getFile()
10005         returns an empty string but never null.
10007 2004-02-20  Michael Koch  <konqueror@gmx.de>
10009         * gnu/gcj/convert/Convert.java
10010         (main): Use equals() to compare strings.
10012 2004-02-20  Michael Koch  <konqueror@gmx.de>
10014         * javax/swing/AbstractButton.java: Made several constants final.
10015         (getRolloverSelectedIcon): Made public.
10016         (getSelectedIcon): Made public.
10018 2004-02-16  Per Bothner  <per@bothner.com>
10020         * java/nio/CharBufferImpl.java:  Inline super constructor.
10021         * java/nio/DoubleBufferImpl.java:  Likewise.
10022         * java/nio/FloatBufferImpl.java:  Likewise.
10023         * java/nio/IntBufferImpl.java:  Likewise.
10024         * java/nio/LongBufferImpl.java:  Likewise.
10025         * java/nio/ShortBufferImpl.java:  Likewise.
10026         * java/nio/CharBuffer.java:  Remove unused constructor.
10027         * java/nio/DoubleBuffer.java:  Likewise.
10028         * java/nio/FloatBuffer.java:  Likewise.
10029         * java/nio/IntBuffer.java:  Likewise.
10030         * java/nio/LongBuffer.java:  Likewise.
10031         * java/nio/ShortBuffer.java:  Likewise.
10032         * java/nio/CharViewBufferImpl.java:  New convenience constructor.
10033         Fix buggy call to super constructor.
10034         * java/nio/DoubleViewBufferImpl.java:  Likewise.
10035         * java/nio/FloatViewBufferImpl.java:  Likewise.
10036         * java/nio/IntViewBufferImpl.java:  Likewise.
10037         * java/nio/LongViewBufferImpl.java:  Likewise.
10038         * java/nio/ShortViewBufferImpl.java:  Likewise.
10039         
10040         * java/nio/ByteBuffer.java (endian):  Make non-private so other
10041         java.nio classes can inherit it.
10042         (<init>):  Don't bother clearing array_offset.
10043         * java/nio/ByteBuffer.java (allocate):  Re-implement using wrap.
10044         * java/nio/ByteBuffer.java (get(byte[],int,int)):  Check underflow.
10045         Remove redundant test.
10047         * java/nio/ByteBufferImpl.java (asCharBuffer, asShortBuffer,
10048         asIntBuffer, asLongBuffer, asFloatBuffer, asDoubleBuffer):
10049         Use new XxxViewBufferImpl constructors.
10050         * java/nio/MappedByteBufferImpl.java:  Likewise.
10051         * java/nio/DirectByteBufferImpl.java:  Likewise.
10053         * java/nio/ByteBufferImpl.java:  Remove one constructor.
10054         Inline super in remaining constructor.
10055         * java/nio/ByteBuffer.java:  Remove unused constructor.
10057         * java/nio/ByteBufferImpl.java (shiftDown):  New optimized method.
10059         * java/nio/ByteBufferImpl.java (get, put):  Add array_offset.
10060         * java/nio/DirectByteBufferImpl.java (owner):  New field.
10061         (offset):  Remove unused field.
10062         (<init>):  Modify one and add another constructor.  Change callers.
10063         (allocateDirect):  Removed - not used.
10064         (getImpl, putImpl):  Make static and pass address explicitly,
10065         to make them useful for MappedByteBufferImpl.
10066         (get, put):  Check for underflow.  Modify for new getImpl.
10067         (getImpl):  New native method where target is array.
10068         (get(byte[],int,int)):  Use the above.
10069         (adjustAddress):  New static native method.
10070         (slice, duplicate, asReadOnly):  New implementations.
10071         * java/nio/natDirectByteBufferImpl.cc (getImpl, putImpl, shiftDown,
10072         adjustAddress):  New or updated native methods.
10074 2004-02-15  Ito Kazumitsu  <kaz@maczuka.gcd.org>
10076         * java/io/ObjectInputStream.java (readClassDescriptor): Avoid the
10077         overflow of fieldmapping.
10079 2004-02-14  Sascha Brawer  <brawer@dandelis.ch>
10081         * javax/swing/undo/UndoManager.java: Re-written from scratch.
10083 2004-02-14  Per Bothner  <per@bothner.com>
10085         * java/nio/channels/spi/AbstractInterruptibleChannel.java (close):
10086         Set closed before calling implCloseChannel, as in the spec.
10088 2004-02-09  Graydon Hoare  <graydon@redhat.com>
10090         * javax/swing/ToggleButtonModel.java: Remove dead class.
10091         * javax/swing/plaf/basic/BasicDefaults.java: Remove dead class.
10092         * javax/swing/plaf/basic/BasicButtonListener.java: New class.
10093         * javax/swing/plaf/basic/BasicRootPaneUI.java: New class.
10094         * Makefile.am: Update for new and removed files.
10095         * Makefile.in: Regenerate.
10097         * gnu/java/awt/peer/gtk/GdkGraphics2D.java: Initialize default hints.
10098         * javax/swing/AbstractButton.java 
10099         (AbstractButton): Initialize fields correctly in ctor.
10100         * javax/swing/JCheckbox.java 
10101         (JCheckBox): Override painting flags.
10102         * javax/swing/DefaultButtonModel.java: Conform to sun.
10103         * javax/swing/JComponent.java (paint): Fill with background color
10104         if available.
10105         (processComponentKeyEvent)
10106         (processFocusEvent)
10107         (processKeyEvent)
10108         (processMouseMotionEvent): Remove event-consuming empty methods.
10109         (getUIClassID): Return "ComponentUI" not "JComponent"
10110         * javax/swing/JFrame.java: Remove some debugging chatter.
10111         (JFrame): Subscribe to window events.
10112         * javax/swing/JRadioButton.java 
10113         (JRadioButton): Override painting flags.
10114         * javax/swing/JRootPane.java 
10115         (JRootPane): Set background from UIDefaults.
10116         * javax/swing/JToggleButton.java 
10117         (ToggleButtonModel): New inner class.
10118         (JToggleButton): Override layout alighment.
10119         * javax/swing/SwingUtilities.java:
10120         (getLocalBounds): Return width and height, not x and y.
10121         (calculateInnerArea): Use local bounds, not bounds.
10122         (layoutCompoundLabel): Provide overridden form.
10123         (layoutCompoundLabel): Correct bugs.
10124         * javax/swing/UIDefaults.java: Correct comment.
10125         * javax/swing/plaf/basic/BasicButtonUI.java: 
10126         Move most logic into defaults, external listener.
10127         (paintIcon): Implement icon painting.
10128         (paint): Fix state painting to conform to changes in model.
10129         * javax/swing/plaf/basic/BasicCheckBoxUI.java:
10130         Remove most dead/wrong methods.
10131         (getDefaultIcon): Return defaults.getIcon("CheckBox.icon").
10132         * javax/swing/plaf/basic/BasicIconFactory.java:
10133         (DummyIcon): New class.
10134         (getMenuItemCheckIcon)
10135         (getMenuItemArrowIcon) 
10136         (getMenuArrowIcon)
10137         (getCheckBoxMenuItemIcon)
10138         (getRadioButtonMenuItemIcon)
10139         (createEmptyFrameIcon): Return DummyIcons, not null.
10140         (getCheckBoxIcon): Implement an icon that looks like sun's.
10141         (getRadioButtonIcon): Implement an icon that looks like sun's.
10142         * javax/swing/plaf/basic/BasicLookAndFeel.java 
10143         (initComponentDefaults): Fix impossible values, add some missing.
10144         * javax/swing/plaf/basic/BasicPanelUI.java (gap): Remove field.
10145         * javax/swing/plaf/basic/BasicRadioButtonUI.java:
10146         Remove most dead/wrong methods.
10147         (icon): New field.
10148         (getDefaultIcon): New method.
10149         * javax/swing/plaf/basic/BasicToggleButtonUI.java:
10150         Remove most dead/wrong methods.
10151         * javax/swing/plaf/metal/MetalLookAndFeel.java
10152         (getDefaults): Return super.getDefaults(), not BasicDefaults.
10153         * jni/gtk-peer/gnu_java_awt_peer_gtk_GdkGraphics.c
10154         (Java_gnu_java_awt_peer_gtk_GdkGraphics_clearRect):
10155         Implement "clearing" as drawing, when on pixmap drawables.
10157         * javax/swing/JButton.java (getUIClassID): 
10158         * javax/swing/JCheckBox.java (getUIClassID):
10159         * javax/swing/JEditorPane.java (getUIClassID):
10160         * javax/swing/JLabel.java (getUIClassID): 
10161         * javax/swing/JList.java (getUIClassID): 
10162         * javax/swing/JOptionPane.java (getUIClassID): 
10163         * javax/swing/JPanel.java (getUIClassID): 
10164         * javax/swing/JPasswordField.java (uiClassID): 
10165         * javax/swing/JRadioButton.java (getUIClassID): 
10166         * javax/swing/JRootPane.java (getUIClassID): 
10167         * javax/swing/JScrollPane.java (getUIClassID): 
10168         * javax/swing/JTabbedPane.java (getUIClassID): 
10169         * javax/swing/JToggleButton.java (getUIClassID): 
10170         * javax/swing/JTree.java (getUIClassID): 
10171         * javax/swing/JViewport.java (getUIClassID): 
10172         * javax/swing/text/JTextComponent.java (getUIClassID):
10173         Return "fooUI" not "Jfoo"
10175 2004-02-11  Michael Koch  <konqueror@gmx.de>
10177         * java/net/DatagramSocket.java
10178         (setReuseAddress): Use Boolean.valueOf() instead of creating a new
10179         Boolean object.
10180         (setBroadcast): Likewise.
10181         * java/net/MulticastSocket.java
10182         (setLoopbackMode): Likewise.
10183         * java/net/ServerSocket.java
10184         (setReuseAddress): Likewise.
10185         * java/net/Socket.java
10186         (setTcpNoDelay): Likewise.
10187         (setSoLinger): Likewise.
10188         (setOOBInline): Likewise.
10189         (setKeepAlive): Likewise.
10190         (setReuseAddress): Likewise.
10191         * java/net/URLConnection.java
10192         (setContentHandler): Replace == with equals().
10193         * java/net/URLStreamHandler.java
10194         (hostSEquals): Fix checking host addresses.
10195         (toExternalForm): Dont check protocol for null. We know already its
10196         not null.
10198 2004-02-10  David Jee  <djee@redhat.com>
10200         * java/awt/BorderLayout.java
10201         (calcCompSize): Invisible components get zero dimensions.
10202         * java/awt/Button.java
10203         (setLabel): Set actionCommand.
10204         * java/awt/Component.java
10205         (show): Invalidate component and parent container.
10206         (hide): Likewise.
10208 2004-02-10  David Jee  <djee@redhat.com>
10210         * java/awt/GridBagLayout.java
10211         (GridBagLayout): New private field, internalcomptable.
10212         (lookupInternalConstraints): New method.
10213         (ArrangeGrid): Use components' MINSIZE. Use internalcomptable.
10214         (GetLayoutInfo): Reimplement.
10215         (calcCellSizes): Ignore rows/columns with size 0.
10217 2004-02-10  Michael Koch  <konqueror@gmx.de>
10219         * gnu/java/awt/EmbeddedWindow.java
10220         (setHandle): Use java.awt.Component.getPeer() instead of
10221         java.awt.Component.peer directly.
10223 2004-02-10  David Jee  <djee@redhat.com>
10225         * gnu/java/awt/peer/gtk/GtkButtonPeer.java
10226         (gtkSetLabel): New native method definition.
10227         (setLabel): Use gtkSetLabel.
10228         * jni/gtk-peer/gnu_java_awt_peer_gtk_GtkButtonPeer.c
10229         (Java_gnu_java_awt_peer_gtk_GtkButtonPeer_gtkSetLabel): New method.
10231 2004-02-10  Alan Modra  <amodra@bigpond.net.au>
10233         * include/powerpc-signal.h: Revert 2004-01-21 change.
10234         (INIT_SEGV, INIT_FPE): Provide powerpc64 versions.  Check return
10235         from syscall for ppc32 versions.
10237 2004-02-08  Per Bothner  <per@bothner.com>
10239         * java/nio/ByteBuffer.java (shiftDown):  New helper method.
10240         * java/nio/natDirectByteBufferImpl.cc (shiftDown):  New implementation.
10241         * java/nio/ByteBufferImpl.java (compact):  Use new shiftDown method.
10242         * sava/nio/ByteBufferHelper.java:  Remove redundant 'final' specifiers.
10243         Pass ByteOrder parameter to most methods, since the underlying
10244         ByteBuffer's order isn't always what we should use.
10245         * java/nio/ByteBufferImpl.java:  Pass byte-order various places.
10246         * java/nio/DirectByteBufferImpl.java:  Likewise.
10247         Use ByteBufferHelper methods.
10248         * java/nio/MappedByteBufferImpl.java:  Likewise.
10249         (compact):  Use shiftDown.
10250         * java/nio/CharViewBufferImpl.java (<init>):  Pass byte-order.
10251         (get, put):  Use ByteBufferHelper.
10252         (compact):  Use new shiftDown method.
10253         (duplicate(boolean)):  New helper method.
10254         (duplicate, asReadOnlyBuffer):  Use it.
10255         (order):  Return endian field.
10256         * java/nio/DoubleViewBufferImpl.java:  Likewise.
10257         * java/nio/FloatViewBufferImpl.java:  Likewise.
10258         * java/nio/IntViewBufferImpl.java:  Likewise.
10259         * java/nio/LongViewBufferImpl.java:  Likewise.
10260         * java/nio/ShortViewBufferImpl.java:  Likewise.
10261         * java/nio/CharViewBufferImpl.java (subsequence):  Redundant test.
10262         * java/nio/DirectByteBufferImpl.java (shiftDown):  New native method.
10263         (compact):  Re-implement using shiftDown.
10265 2004-02-08  Andreas Jaeger  <aj@suse.de>
10267         * include/x86_64-signal.h: Fix typo.
10269 2004-02-08  Diego Novillo  <dnovillo@redhat.com>
10271         * include/i386-signal.h (MAKE_THROW_FRAME): Add volatile
10272         qualifier to _regs.
10273         (HANDLE_DIVIDE_OVERFLOW): Likewise.
10275 2004-02-06  Michael Koch  <konqueror@gmx.de>
10277         * java/io/ObjectInputStream.java
10278         (currentClassLoader): Reverted to old version of this method.
10280 2004-02-06  Jeroen Frijters  <jeroen@frijters.net>
10282         * java/io/ObjectInputStream.java: Made all calls
10283         to dumpElement[ln] conditional on dump flag. (readObject): Changed to
10284         use cached info from ObjectStreamClass. (readClassDescriptor):
10285         Cache more information in ObjectStreamClass. (processResolution,
10286         readFields): Use cached info from ObjectStreamClass.
10287         (newObject): Throw exception instead of returning null for failure.
10288         (getField, getMethod, callReadMethod, setBooleanField, setByteField,
10289         setCharField, setDoubleField, setFloatField, setIntField,
10290         setLongField, setShortField, setObjectField, readObjectParams):
10291         Removed. (dumpElement, dumpElementln): Removed dump flag condition
10292         check.
10293         * java/io/ObjectStreamField.java (hasReadMethod): Removed.
10294         (setClass): Added call to cacheMethods() (findMethod): New method.
10295         (cacheMethods): New method. (ObjectStreamClass): Added call to
10296         cacheMethods(). (setFields): Cache fields. (getClassUID): Use
10297         AccessController.doPrivileged to invoke setAccessible.
10298         (readObjectMethod, readResolveMethod, realClassIsSerializable,
10299         realClassIsExternalizable, fieldMapping, firstNonSerializableParent):
10300         New fields.
10301         * java/io/ObjectStreamField.java (ObjectStreamField): New constructor.
10302         (ObjectStreamField): Removed FIXME workaround. (getTypeString,
10303         isPrimitive): Made safe for cases where type == null.
10304         (setBooleanField, setByteField, setCharField, setShortField,
10305         setIntField, setLongField, setFloatField, setDoubleField,
10306         setObjectField): New methods.
10308 2004-02-05  Thomas Fitzsimmons  <fitzsim@redhat.com>
10310         * java/awt/Component.java (getFont): Return a default font
10311         instead of null.
10313         * java/awt/Scrollbar.java (next_scrollbar_number): New field.
10314         (Scrollbar (int, int, int, int, int)): Make default page
10315         increment 10.
10316         (setValues): Only call peer.setValues if one of the values has
10317         changed.
10318         (generateName): New method.
10319         (getUniqueLong): New method.
10320         * jni/gtk-peer/gnu_java_awt_peer_gtk_GtkScrollBarPeer.c
10321         (range_scrollbar): Remove structure.
10322         (post_adjustment_event): Remove function.
10323         (post_change_event): Accept jobject argument.
10324         (create): Cast jints to gdoubles.  Round scrollbar values to the
10325         nearest integer.  Clamp min, max and value settings.
10326         (connectJObject): Connect hook to widget->window.
10327         (connectSignals): Remove range_scrollbar structure variables.
10328         Remove "move-slider" connection.  Pass global peer reference to
10329         "value-changed" callback.
10330         (setLineIncrement): Cast jint value to gdouble.
10331         (setPageIncrement): Likewise.
10332         (setValues): Likewise.  Clamp min, max and value settings.
10334 2004-02-05  Michael Koch  <konqueror@gmx.de>
10336         * javax/swing/AbstractCellEditor.java
10337         (getCellEditorValue): Removed.
10338         * javax/swing/Box.java: Reformated.
10339         (serialVersionUID): New field.
10340         * javax/swing/ButtonGroup.java:
10341         Removed some weird whitespace.
10342         * javax/swing/CellEditor.java: Reformated.
10343         * javax/swing/CellRendererPane.java
10344         (serialVersionUID): New field.
10345         (AccessibleCellRendererPaneserialVersionUID): New field.
10346         * javax/swing/DefaultListModel.java
10347         (serialVersionUID): New field.
10348         * javax/swing/JEditorPane.java
10349         (serialVersionUID): New field.
10350         (setPage): Throws IOException.
10351         (addHyperlinkListener): Implemented.
10352         (removeHyperlinkListener): Implemented.
10353         (getHyperlinkListener): New method.
10354         * javax/swing/JFileChooser.java
10355         (serialVersionUID): New field.
10356         (AccessibleJFileChooser.serialVersionUID): New field.
10357         (addActionListener): Implemented.
10358         (removeActionListener): Implemented.
10359         (getActionListeners): New method.
10360         * javax/swing/JFormattedTextField.java
10361         (serialVersionUID): New field.
10362         (AbstractFormatter.serialVersionUID): New field.
10363         (clone): Throws CloneNotSupportedException
10364         (setEditValid): Add missing argument.
10365         (stringToValue): Throws ParseExcpetion.
10366         (valueToString): Throws ParseException.
10367         (commitEdit): Throws ParseException.
10368         * javax/swing/JLabel.java
10369         (serialVersionUID): New field.
10370         * javax/swing/JList.java
10371         (serialVersionUID): New field.
10372         (addListSelectionListener): Reformated.
10373         (removeListSelectionListener): Reformated.
10374         (getListSelectionListeners): New method.
10375         * javax/swing/colorchooser/AbstractColorChooserPanel.java:
10376         Reformated.
10377         (serialVersionUID): New field.
10378         * javax/swing/table/AbstractTableModel.java
10379         (getValueAt): Removed.
10380         (getColumnCount): Removed.
10381         (getRowCount): Removed.
10383 2004-02-05  Michael Koch  <konqueror@gmx.de>
10385         * java/awt/datatransfer/DataFlavor.java
10386         (imageFlavor): Javadoc added.
10387         (javaJVMLocalObjectType): Fixed.
10389 2004-02-05  Michael Koch  <konqueror@gmx.de>
10391         * java/lang/Thread.java
10392         (Thread): Reordered.
10393         (setContextClassLoader): Fixed javadoc comment.
10394         (setPriority): Reordered.
10395         (yield): Reordered.
10396         (initialize_native): Reordered.
10397         (gen_name): Reordered.
10399 2004-02-05  Michael Koch  <konqueror@gmx.de>
10401         * java/lang/Thread.java: Reordered fields, reformated much code,
10402         no functional changes, some variables renamed, javadoc comments
10403         merged.
10405 2004-02-05  Michael Koch  <konqueror@gmx.de>
10407         * java/util/zip/Deflater.java,
10408         java/util/zip/DeflaterOutputStream.java,
10409         java/util/zip/GZIPInputStream.java:
10410         Reformated and javadoc comments merged from classpath.
10412 2004-02-05  Michael Koch  <konqueror@gmx.de>
10414         * gnu/java/nio/NIOServerSocket.java
10415         (impl): Unused, removed.
10416         * gnu/java/nio/SocketChannelImpl.java
10417         (finnishConnect): Don't throw NoConnectionPendingException if not
10418         connected or no connection pending.
10420 2004-02-02  Graydon Hoare  <graydon@redhat.com>
10422         * javax/swing/SwingUtilities.java: Many new functions.
10423         * java/awt/Container.java (LightweightDispatcher): Reimplement.
10424         * javax/swing/basic/BasicGraphicsUtils.java 
10425         (getPreferredButtonSize): Start layout from top-left corner.
10427 2004-02-04  Olga Rodimina  <rodimina@redhat.com>
10429         * java/awt/geom/AffineTransform.java: 
10430         Corrected comments on the field definitions for
10431         m11 and m10.
10432         (shear): Fixed few errors that caused shear
10433         transformation to be performed incorrectly.
10434         (createInverse): Fixed to return correct
10435         inverse of the given matrix.
10437 2004-02-03  Tom Tromey  <tromey@redhat.com>
10439         * java/lang/natPosixProcess.cc (startProcess): Handle case where
10440         PATH or LD_LIBRARY_PATH is not set in parent environment.
10442 2004-02-03  Thomas Fitzsimmons  <fitzsim@redhat.com>
10444         * gnu/java/awt/peer/gtk/GtkListPeer.java,
10445         java/awt/BorderLayout.java, java/awt/CardLayout.java,
10446         java/awt/CheckboxGroup.java, java/awt/Choice.java,
10447         java/awt/Component.java, java/awt/Container.java,
10448         java/awt/FontMetrics.java, java/awt/GridBagLayout.java,
10449         java/awt/LayoutManager2.java, java/awt/List.java,
10450         java/awt/Menu.java, java/awt/MenuBar.java,
10451         java/awt/MenuItem.java, java/awt/Polygon.java,
10452         java/awt/Rectangle.java, java/awt/ScrollPane.java,
10453         java/awt/Scrollbar.java, java/awt/TextArea.java,
10454         java/awt/TextField.java,
10455         java/awt/image/renderable/RenderContext.java,
10456         javax/swing/JApplet.java: Fix handling of alias methods, where a
10457         method has been deprecated in favour of a new one with the same
10458         funtion but a different name.  Put the method implementation in
10459         the deprecated method and have the new method call the
10460         deprecated one.  Make all other code call the new method.
10462 2004-02-03  Mohan Embar  <gnustuff@thisiscool.com>
10464         * gnu/java/nio/DatagramChannelImpl.java
10465         (inChannelOperation): New field.
10466         (isInChannelOperation): New accessor.
10467         (setInChannelOperation): New modifier.
10468         (receive): Use capacity() - position() of destination
10469         buffer instead of remaining(). Set and reset our "in
10470         channel operation indicator" before and after delegating
10471         the receive to our datagram socket. Removed testing code.
10472         Update destination buffer's current position if it is
10473         backed by a byte array (hasArray() is true).
10474         (send): Set and reset our "in channel operation indicator"
10475         before and after delegating the send to our datagram socket.
10476         Removed testing code. Update source buffer's current position
10477         if it is backed by a byte array (hasArray() is true).
10478         * gnu/java/nio/SocketChannelImpl.java (read(ByteBuffer)):
10479         Use capacity() - position() of destination buffer instead
10480         of remaining().
10481         * java/net/DatagramSocket.java (receive): Don't throw an
10482         IllegalBlockingModeException if we have a non-blocking
10483         channel which initiated this operation.
10484         (send): Likewise.
10486 2004-02-01  Thomas Fitzsimmons  <fitzsim@redhat.com>
10488         * configure.in: Add pkgconfig check for glib and gthread.
10489         * configure: Regenerate.
10491 2004-02-01  Michael Koch  <konqueror@gmx.de>
10493         * include/jvm.h (MAYBE_UNUSED): New macro tp mark probably unused
10494         arguments.
10495         * jni.cc (_Jv_LookupJNIMethod): Mark 'args_size' unused.
10496         * verify.cc (debug_print): Mark 'fmt' unused.
10498 2004-01-30  Michael Koch  <konqueror@gmx.de>
10500         * configure.in: Use pkg-config to check for GTK 2.2 and libart 2.1.
10501         * configure: Regenerated.
10502         * glib-2.0.m4: Removed.
10503         * gtk-2.0.m4: Removed.
10504         * libart.m4: Removed.
10505         * pkg.m4: New file.
10507 2004-01-30  Mohan Embar  <gnustuff@thisiscool.com>
10509         * gnu/java/net/PlainSocketImpl.java 
10510         (inChannelOperation): New field.
10511         (isInChannelOperation): New accessor.
10512         (setInChannelOperation): New modifier.
10513         * gnu/java/nio/ServerSocketChannelImpl.java
10514         (accept): Set and reset our server socket's PlainSocketImpl's
10515         "in channel operation" indicator before and after delegating
10516         the accept to our server socket.
10517         * gnu/java/nio/SocketChannelImpl.java
10518         (connect): Set and reset our socket's PlainSocketImpl's "in channel
10519         operation" indicator before and after delegating the operation to
10520         our socket.
10521         (read): Likewise.
10522         (write): Likewise.
10523         * java/net/ServerSocket.java (implAccept): Don't throw an
10524         IllegalBlockingModeException if we have a non-blocking
10525         channel which initiated this accept operation.
10526         * java/net/Socket.java (connect): Don't throw an
10527         IllegalBlockingModeException if we have a non-blocking
10528         channel which initiated this connect operation.
10529         * java/nio/channels/spi/AbstractSelectableChannel.java
10530         (configureBlocking): Only call implConfigureBlocking() if
10531         the desired blocking mode is different from our current one.
10533 2004-01-29  Mohan Embar  <gnustuff@thisiscool.com>
10535         * java/io/BufferedReader.java (sbuf): New field.
10536         (readLine): Use String.valueOf instead of new String() as per
10537         Per Bothner's suggestion. Use instance sbuf field instead of a
10538         local StringBuffer instance.
10539         * java/io/InputStreamReader.java (read(char[],int,int)): Pass the
10540         caller's buffer to refill().
10541         (read(void)): Pass our internal work buffer to refill if our
10542         input queue is empty.
10543         (refill): Changed return type to int. Use the specified buffer
10544         instead of our work buffer as per Bryce McKinlay's suggestion.
10545         Return the number of characters read or -1 for EOF.
10547 2004-01-29  Scott Gilbertson  <scottg@mantatest.com>
10549         * gnu/awt/xlib/XCanvasPeer.java (handleEvent): Implemented.
10551 2004-01-29  Scott Gilbertson  <scottg@mantatest.com>
10553         * Makefile.am: Added gnu/awt/xlib/XFontPeer.java.
10554         * Makefile.in: Re-generated.
10555         * gnu/awt/xlib/XFontPeer.java: New file.
10556         * gnu/awt/xlib/XGraphics.java (setFont): Test for null font.
10557         (setClip): Commented out debug printout.
10558         * gnu/awt/xlib/XToolkit.java: Change superclass to ClasspathToolkit.
10559         (getFontPeer): Return XFontPeer.
10560         (getLocalGraphicsEnvironment): New method.
10561         (getClasspathFontPeer): New method.
10562         (createFont): New method.
10564 2004-01-29  Scott Gilbertson  <scottg@mantatest.com>
10566         * gnu/java/awt/peer/ClasspathFontPeer.java (getTransform): Never
10567         return null. 
10569 2004-01-29  Kim Ho  <kho@redhat.com>
10571         * gnu/java/awt/peer/gtk/GtkFramePeer.java
10572         (gtkLayoutSetVisible): New method
10573         (setMenuBar): Hide layout before setting MenuBar
10574         and reshow it after.
10575         * jni/gtk-peer/gnu_java_awt_peer_gtk_GtkWindowPeer.c
10576         (gtkLayoutSetVisible): Hide or show the Gtk Layout.
10578 2004-01-28  Michael Koch  <konqueror@gmx.de>
10580         * gnu/java/lang/ClassHelper.java
10581         (getPackagePortion): Removed.
10583 2004-01-28  Michael Koch  <konqueror@gmx.de>
10585         * javax/swing/JComponent.java
10586         (listenerList): Initalize globally.
10587         (ancestor_list): Removed.
10588         (veto_list): Removed.
10589         (change_list): Removed.
10590         (get_veto_list): Removed.
10591         (get_change_list): Removed.
10592         (get_ancestor_list): Removed.
10593         (removeAncestorListener): Reimplemented.
10594         (removePropertyChangeListener): Likewise.
10595         (removeVetoableChangeListener): Likewise.
10596         (addAncestorListener): Likewise.
10597         (addPropertyChangeListener): Likewise.
10598         (addVetoableChangeListener): Likewise.
10599         (getListeners): New method.
10600         (getAncestorListeners): Likewise.
10601         (getVetoableChangeListeners): Likewise.
10602         (fireVetoableChange): Throws PropertyVetoException.
10603         * javax/swing/JEditorPane.java
10604         (JEditorPane): Throws IOException.
10606 2004-01-28  David Jee  <djee@redhat.com>
10608         * gnu/java/awt/peer/gtk/GtkFramePeer.java
10609         (create): Set the default foreground color to
10610         java.awt.SystemColor.windowText.
10612 2004-01-27  Michael Koch  <konqueror@gmx.de>
10614         * gnu/java/awt/peer/gtk/GdkClasspathFontPeer.java,
10615         * gnu/java/awt/peer/gtk/GdkGlyphVector.java:
10616         Reindented to merge with classpath.
10618 2004-01-27  David Jee  <djee@redhat.com>
10620         * jni/gtk-peer/gnu_java_awt_peer_gtk_GtkComponentPeer.c
10621         (addExposeFilter): Handle GtkFramePeer separately.
10622         (removeExposeFilter): Likewise.
10624 2004-01-27  Michael Koch  <konqueror@gmx.de>
10626         * gnu/java/net/protocol/http/Connection.java
10627         (getOutputStream): Fixed typo.
10629 2004-01-27  Michael Koch  <konqueror@gmx.de>
10631         * java/lang/Class.java
10632         (getConstructor): Removed SecurityException from throws clause.
10633         (_getConstructors): Likewise.
10634         (getConstructors): Likewise.
10635         (getDeclaredConstructor): Likewise.
10636         (getDeclaredClasses): Likewise.
10637         (getDeclaredConstructors): Likewise.
10638         (getDeclaredField): Likewise.
10639         (getDeclaredMethod): Likewise.
10640         (getDeclaredMethods): Likewise.
10641         (getField): Likewise.
10642         (getMethod): Likewise.
10643         (getMethods): Likewise.
10645 2004-01-27  Kim Ho  <kho@redhat.com>
10647         * gnu/java/awt/peer/gtk/GtkFramePeer.java
10648         (removeMenuBarPeer): Remove MenuBarPeer argument.
10649         * gnu/java/awt/peer/gtk/GtkMenuComponentPeer.java
10650         (dispose): Call native method.
10651         * java/awt/Frame.java (setMenuBar): Create and remove
10652         MenuBar peers only if the Frame has a peer.
10653         (addNotify): Create the MenuBar peer if one exists.
10654         (removeNotify): Remove MenuBar peer if one exists.
10655         * java/awt/Menu.java: Fix imports.
10656         (addNotify): Don't use full class name.
10657         (removeNotify): Call removeNotify on all children.
10658         * java/awt/MenuBar.java (removeNotify): Call
10659         removeNotify on all children.
10660         * jni/gtk-peer/gnu_java_awt_peer_gtk_GtkWindowPeer.c
10661         (removeMenuBarPeer): Remove MenuBarPeer argument.
10662         Iterate through children to find the Frame's MenuBar.
10663         * jni/gtk-peer/gnu_java_awt_peer_gtk_GtkMenuComponentPeer.c
10664         New file.
10665         (dispose): Remove references to the MenuComponent.
10667 2004-01-27  Michael Koch  <konqueror@gmx.de>
10669         * javax/swing/AbstractCellEditor.java: Reformated.
10670         * javax/swing/DefaultListSelectionModel.java
10671         (listenerList): Made protected.
10672         (addListSelectionListener): Javadoc added.
10673         (removeListSelectionListener): Likewise.
10674         (getListeners): Likewise.
10675         (getListSelectionListeners): Likewise.
10676         * javax/swing/JComboBox.java: Merged copyright year.
10677         * javax/swing/plaf/basic/BasicGraphicsUtils.java: Merged empty line.
10679 2004-01-26  Andrew Haley  <aph@redhat.com>
10681         * javax/swing/table/JTableHeader.java: Extend JComponent
10683 2004-01-26  Kim Ho  <kho@redhat.com>
10685         * gnu/java/awt/peer/gtk/GtkFramePeer.java (setMenuBar):
10686         Fix spacing.
10688 2004-01-26  Kim Ho  <kho@redhat.com>
10690         * gnu/java/awt/peer/gtk/GtkFramePeer.java (moveLayout): New
10691         method.
10692         (setMenuBar): Shift the Gtk layout up/down by the MenuBar
10693         height and let the Layout Managers readjust anything that
10694         needs to move.
10695         * jni/gtk-peer/gnu_java_awt_peer_gtk_GtkWindowPeer.c
10696         (moveLayout): New method. Shift everything in the Gtk
10697         layout in the Y direction by an offset.
10699 2004-01-26  David Jee  <djee@redhat.com>
10701         * gnu/java/awt/peer/gtk/GtkComponentPeer.java
10702         (handleEvent): Implemented. Handles PaintEvents.
10703         (paint): Implemented. Use GTK native methods to queue updates
10704         for this heavyweight peer.
10705         * gnu/java/awt/peer/gtk/GtkContainerPeer.java
10706         (handleEvent): Removed.
10707         * java/awt/Component.java
10708         (paint): Implemented. Explictly paint the heavyweight peer.
10709         (update): Clear the background for heavyweight components.
10710         (paintAll): No need to call peer.paint() anymore.
10711         (processEvent): Don't process PaintEvents here. It's now done in
10712         the peer's handleEvent().
10713         (processPaintEvent): Removed.
10714         * java/awt/Container.java
10715         (paint): No need to call super.paint(). Visit heavyweight
10716         children as well.
10717         (update): Don't clear the background here.  It's done in
10718         Component.update().
10719         (visitChildren): Added check to not recurse into Containers.
10720         * jni/gtk-peer/gnu_java_awt_peer_gtk_GtkComponentPeer.c
10721         (filter_expose_event_handler): New method.  Filter unwanted
10722         expose events while painting heavyweight peers.
10723         (Java_gnu_java_awt_peer_gtk_GtkComponentPeer_addExposeFilter):
10724         New method. Connect filter and block pre_event_handler.
10725         (Java_gnu_java_awt_peer_gtk_GtkComponentPeer_removeExposeFilter):
10726         New method. Disconnect filter and unblock pre_event_handler.
10727         (Java_gnu_java_awt_peer_gtk_GtkComponentPeer_gtkWidgetQueueDrawArea):
10728         New method. Invalidate and update given area.
10729         * jni/gtk-peer/gnu_java_awt_peer_gtk_GtkEvents.c
10730         (pre_event_handler): Add checks for unwanted expose events.
10732 2004-01-26  David Jee  <djee@redhat.com>
10734         * jni/gtk-peer/gnu_java_awt_peer_gtk_GtkComponentPeer.c
10735         (find_bg_color_widget): For GtkButton, return its child.
10737 2004-01-26  Kim Ho  <kho@redhat.com>
10739         * gnu/java/awt/peer/gtk/GtkFramePeer.java (menuBarHeight): Mark
10740         private.
10741         (setMenuBar): Grab MenuBar height and change insets.
10742         (setBounds): Account for MenuBar height.
10743         (postInsetsChangedEvent): Ditto.
10744         (postSizeAllocateEvent): Remove.
10745         * jni/gtk-peer/gnu_java_awt_peer_gtk_GtkWindowPeer.c
10746         (menubar_resize_cb): Remove
10747         (setMenuBarPeer): Remove callback.
10748         (getMenuBarHeight): Use size requisition instead of
10749         allocation.
10751 2004-01-25  Thomas Fitzsimmons  <fitzsim@redhat.com>
10753         * java/awt/TextArea.java: Fix indentation.  Flesh out javadocs.
10754         (getMinimumSize (int, int)): Fix FIXME -- return Dimension (0,0)
10755         when peer is null.
10756         (setColumns): Remove FIXME -- peer will retrieve number of
10757         columns by calling getColumns.
10758         (setRows): Likewise for number of rows.
10759         (next_text_number): New field.
10760         (paramString): Fix param string.
10761         (generateName): New method.
10762         (getUniqueLong): New method.
10764 2004-01-25  Thomas Fitzsimmons  <fitzsim@redhat.com>
10766         * gnu/java/awt/peer/gtk/GtkToolkit.java (checkImage): Inform
10767         image observer of image loading status.
10768         (getImage (String)): Start image production.
10769         (getImage (URL)): Likewise.
10771 2004-01-25  Michael Koch  <konqueror@gmx.de>
10773         * java/lang/Class.java: Imports reworked, reformated.
10774         (Class): Javadoc added.
10775         (forName): Likewise.
10776         (getClasses): Likewise.
10777         (getClassLoader): Likewise.
10778         (getComponentType): Likewise.
10779         (getConstructor): Likewise.
10780         (getConstructors): Likewise.
10781         (getDeclaredConstructor): Likewise.
10782         (getDeclaredClasses): Likewise.
10783         (getDeclaredConstructors): Likewise.
10784         (getDeclaredField): Likewise.
10785         (getDeclaredMethod): Likewise.
10786         (getDeclaredMethods): Likewise.
10787         (getDeclaringClass): Likewise.
10788         (getField): Likewise.
10789         (getInterfaces): Likewise.
10790         (getMethod): Likewise.
10791         (getMethods): Likewise.
10792         (getModifiers): Likewise.
10793         (getName): Likewise.
10794         (getResource): Likewise.
10795         (getResourceAsStream): Likewise.
10796         (getSigners): Likewise.
10797         (setSigners): Likewise.
10798         (getSuperclass): Likewise.
10799         (isArray): Likewise.
10800         (isAssignableFrom): Likewise.
10801         (isInstance): Likewise.
10802         (isInterface): Likewise.
10803         (isPrimitive): Likewise.
10804         (newInstance): Likewise.
10805         (getProtectionDomain): Likewise.
10806         (toString): Likewise.
10807         (Class): Moved.
10808         (initializeClass): Likewise.
10809         (finalize): Likewise.
10811 2004-01-24  Michael Koch  <konqueror@gmx.de>
10813         * gnu/java/net/protocol/jar/Connection.java
10814         (hdrHash): Removed.
10815         (hdrVec): Removed.
10816         (gotHeaders): Removed.
10817         (getHeaderField): Removed.
10818         (getHeaderFields): Removed.
10819         (getHeaderFieldKey): Removed.
10820         (getKey): Removed.
10821         (getField): Removed.
10822         (getHeaders): Removed.
10824 2004-01-24  Michael Koch  <konqueror@gmx.de>
10826         * Makefile.am: Added library version to gtk peer lib.
10827         * Makefile.in: Regenerated.
10829 2004-01-24  Michael Koch  <konqueror@gmx.de>
10831         * java/util/zip/InflaterInputStream.java: Merged class documentation
10832         with classpath.
10834 2004-01-21  Jakub Jelinek  <jakub@redhat.com>
10836         * include/powerpc-signal.h: Add #ifndef __powerpc64__ around the
10837         header.  For __powerpc64__ provide the default-signal.h definitions
10838         for now.
10839         * include/x86_64-signal.h [!__x86_64__]: Include java-signal-aux.h
10840         instead of the dummy definitions.
10841         * configure.host (x86_64-*): Remove CHECKREFSPEC, add DIVIDESPEC.
10842         (powerpc64*-*): Remove with_libffi_default.
10843         Only add -mminimal-toc for 64-bit compilations.
10844         * configure.in: Use powerpc-signal.h on powerpc64 as well.
10845         (x86_64-*-linux*): Set SIGNAL_HANDLER_AUX.
10846         Link SIGNAL_HANDLER_AUX to include/java-signal-aux.h.
10847         * configure: Rebuilt.
10849 2004-01-23  Michael Koch  <konqueror@gmx.de>
10851         * gnu/java/nio/FileLockImpl.java: Compile fixes.
10853 2004-01-23  Michael Koch  <konqueror@gmx.de>
10855         * java/lang/VMClassLoader.java: Reworked imports.
10856         
10857 2004-01-23  Michael Koch  <konqueror@gmx.de>
10859         * javax/swing/AbstractAction.java: Reformated.
10861 2004-01-23  Michael Koch  <konqueror@gmx.de>
10863         * java/text/CollationElementIterator.java:
10864         (setText): New method.
10866 2004-01-23  Michael Koch  <konqueror@gmx.de>
10868         * gnu/java/nio/FileLockImpl.java:
10869         Fixed filename in copyright.
10870         (released): Removed.
10871         (finalize): New method.
10872         * gnu/java/nio/natFileLockImpl.cc
10873         (releaseImpl): Implemented.
10874         * java/nio/channels/FileChannelImpl.java:
10875         Reworked imports.
10876         (lock): Implemented.
10877         (lockImpl): New method.
10878         (tryLock): Implemented.
10879         (tryLockImpl): New method.
10880         * java/nio/channels/natFileChannelImpl.cc
10881         (lockImpl): New method.
10882         (tryLockImpl): New method.
10884 2004-01-23  Michael Koch  <konqueror@gmx.de>
10886         * java/io/FileDescriptor.java
10887         (lock): New method.
10888         (tryLock): New method.
10889         (unlock): New method.
10890         * java/io/natFileDescriptorEcos.cc
10891         (lock): New method.
10892         (tryLock): New method.
10893         (unlock): New method.
10894         * java/io/natFileDescriptorPosix.cc
10895         (lock): New method.
10896         (tryLock): New method.
10897         (unlock): New method.
10898         * java/io/natFileDescriptorWin32.cc
10899         (lock): New method.
10900         (tryLock): New method.
10901         (unlock): New method.
10903 2004-01-23  Michael Koch  <konqueror@gmx.de>
10905         * java/io/FileDescriptor.java
10906         (sync): Moved around, added javadoc.
10907         (valid): Likewise.
10908         (open): Likewise.
10909         (write): Likewise.
10910         (close): Likewise.
10911         (setLength): Likewise.
10912         (seek): Likewise.
10913         (getLength): Likewise.
10914         (getFilePointer): Likewise.
10915         (read): Likewise.
10916         (available): Likewise.
10917         (finalize): Likewise.
10919 2004-01-23  Michael Koch  <konqueror@gmx.de>
10921         * javax/swing/AbstractAction.java: Reformated.
10922         (getPropertyChangeListeners): New method.
10923         * javax/swing/AbstractCellEditor.java: Reformated.
10924         (getCellEditorListeners): New method.
10925         * javax/swing/DefaultListSelectionModel.java
10926         (listenerList): New field.
10927         (listeners): Removed.
10928         (get_listeners): Removed.
10929         (addListSelectionListener): Rewritten.
10930         (removeListSelectionListener): Rewritten.
10931         (getListSelectionListeners): New method.
10932         (getListeners): New method.
10933         * javax/swing/JComboBox.java: Imports reworked.
10934         (addActionListener): Implemented.
10935         (removeActionListener): Implemented.
10936         (addItemListener): Implemented.
10937         (removeItemListener): Implemented.
10938         (addPopupMenuListener): Implemented.
10939         (removePopupMenuListener): Implemented.
10940         (getActionListeners): New method.
10941         (getItemListeners): New method.
10942         (getPopupMenuListeners): New method.
10944 2004-01-23  Michael Koch  <konqueror@gmx.de>
10946         * gnu/java/net/protocol/http/Connection.java
10947         (connect): Don't initialize bufferedOutputStream if not needed.
10948         (sendRequest): Set property for content length if content is present.
10949         Write content only if present.
10950         (getOutputStream): Check if already connected, dont connect,
10951         initalize bufferedOutputStream if needed.
10953 2004-01-23  Michael Koch  <konqueror@gmx.de>
10955         * java/io/FileDescriptor.java
10956         (in, out, err): Added javadoc.
10957         (static): Merged loading code.
10958         (fd, position): Moved around.
10960 2004-01-23  Michael Koch  <konqueror@gmx.de>
10962         * gnu/java/awt/doc-files/BitwiseXORComposite-1.png:
10963         New file.
10965 2004-01-23  Michael Koch  <konqueror@gmx.de>
10967         * java/lang/Class.java,
10968         java/lang/Object.java,
10969         java/lang/Thread.java: Merged copyright with classpath.
10971 2004-01-23  Michael Koch  <konqueror@gmx.de>
10973         * java/io/FileDescriptor.java: Merged copyright with classpath to
10974         start merging this class.
10976 2004-01-22  Tom Tromey  <tromey@redhat.com>
10978         PR libgcj/13107:
10979         * testsuite/libjava.lang/pr13107_2.xfail: New file.
10980         * testsuite/libjava.lang/pr13107_3.xfail: New file.
10981         * testsuite/libjava.lang/pr13107_3.java: New file.
10982         * testsuite/libjava.lang/pr13107_3.out: New file.
10983         * testsuite/libjava.lang/pr13107_2.java: New file.
10984         * testsuite/libjava.lang/pr13107_2.out: New file.
10985         * testsuite/libjava.lang/pr13107.java: New file.
10986         * testsuite/libjava.lang/pr13107.out: New file.
10987         * verify.cc (jsr_ptrs): Removed.
10988         (entry_points): Likewise.
10989         (struct subr_info): Likewise.
10990         (struct subr_entry_info): Likewise.
10991         (type_val::unused_by_subroutine_type): Likewise.
10992         (type::merge): Don't handle unused_by_subroutine_type.
10993         (type::print): Likewise.
10994         (state::flags): Removed.
10995         (state::subroutine): Likewise.
10996         (state::seen_subrs): Likewise.
10997         (state::NO_STACK): Likewise.
10998         (state::FLAG_CHANGED, state::FLAG_UNUSED): Likewise.
10999         (state): Updated all methods.
11000         (state::clean_subrs): Removed.
11001         (state::state): Removed `ret_semantics' flag.
11002         (state::copy): Likewise.
11003         (state::add_subr): Removed.
11004         (state::enter_subroutine): Likewise.
11005         (type::set_return_address): New method.
11006         (handle_jsr_insn): Set return address on the type.  Always
11007         invalidate PC after call.
11008         (check_nonrecursive_call): Removed.
11009         (~_Jv_BytecodeVerifier): Updated.
11010         (branch_prepass): Removed special handling of jsr.
11011         (note_branch_target): Likewise.
11012         (get_subroutine): Removed.
11013         (state::merge): Don't merge subroutines and don't handle
11014         NO_STACK.  Removed ret_semantics and jsr_semantics arguments.
11015         (state::note_variable): Removed.
11016         (state::is_unmerged_ret_state): Likewise.
11017         (state::print): Updated.
11018         (set_variable): Likewise.
11019         (merge_into): Renamed from push_jump_merge.  Removed ret_semantics
11020         and jsr_semantics arguments.  Updated for new reverification
11021         list.
11022         (pop_jump): Rewrote.
11023         (construct_primitive_array_type): Updated.
11024         (state::next): Removed.
11025         (INVALID_STATE): New define.
11026         (state::INVALID): Removed.
11027         (state::NO_NEXT): New value.
11028         (state::pc, state::next): New fields.
11029         (state::get_pc): New method.
11030         (next_verify_pc): Removed.
11031         (next_verify_state): New field.
11032         (verify_instructions_0): Always check for falling off end.
11033         (linked): New type.
11034         (linked_utf8): Removed.
11035         (states): Changed type.
11036         (type::state_mergeable_p): New method.
11037         (state::state_mergeable_p): Likewise.
11038         (handle_ret_insn): Removed most code.
11039         (state::reverify): New method.
11040         (add_new_state): Likewise.
11041         (state::set_pc): Likewise.
11043 2004-01-22  Jeff Sturm  <jsturm@one-point.com>
11045         PR java/13733
11046         * testsuite/libjava.compile/PR13733.java: New file.
11047         * testsuite/libjava.compile/PR13733.xfail: New file.
11049 2004-01-22  Arnaud Vandyck  <arnaud.vandyck@ulg.ac.be>
11050             Michael Koch  <konqueror@gmx.de>
11052         * javax/swing/table/DefaultTableCellRenderer.java
11053         (DefaultTableCellRenderer): Added javadoc for the class and for
11054         the constructor, Border instance, create an EmptyBorder.
11055         (UIResource): Removed the comment at the end of the class
11056         (setForeground): New method.
11057         (setBackground): New method.
11058         (updateUI): New method.
11059         (getTableCellRendererComponent): Rewritten with the help of
11060         dvholten and Stephane Meslin-Weber.
11061         (validate): New method.
11062         (repaint): New method.
11063         (firePropertyChange): New method.
11064         (setValue): New method.
11066 2004-01-22  Thomas Fitzsimmons  <fitzsim@redhat.com>
11068         * jni/gtk-peer/gnu_java_awt_peer_gtk_GtkWindowPeer.c
11069         (connectJObject): Replace printf calls with g_assert statements.
11070         Move property-notify-event signal connection to ...
11071         (connectSignals): Connect property-notify-event signal.  Iterate
11072         through the vbox's children to find layout.
11074 2004-01-22  Graydon Hoare  <graydon@redhat.com>
11075         
11076         * gnu/java/awt/peer/gtk/GdkClasspathFontPeer.java: 
11077         * gnu/java/awt/peer/gtk/GdkGlyphVector.java:
11078         Predicate static initialization on GtkToolkit.useGraphics2D().
11079         * java/awt/Component.java (processPaintEvent): Consume event.
11080         * javax/swing/AbstractButton.java: Reimplement, document.
11081         * javax/swing/DefaultButtonModel.java: Reimplement, document.
11082         * javax/swing/JComponent.java (paint): Use double buffer.
11083         (listenerList): Enable member.
11084         * javax/swing/ToggleButtonModel.java: Remove incorrect constructor.
11085         * javax/swing/JToggleButton.java 
11086         (JToggleButton): Modify model constructor.
11087         * javax/swing/SwingUtilities.java 
11088         (layoutCompoundLabel): Adjust arithmetic.
11089         * javax/swing/plaf/basic/BasicButtonUI.java: Reimplement, document.
11090         * javax/swing/plaf/basic/BasicGraphicsUtils.java 
11091         (getPreferredButtonSize): Include margins in calculation.
11092         * jni/gtk-peer/gnu_java_awt_peer_gtk_GtkWindowPeer.c
11093         (Java_gnu_java_awt_peer_gtk_GtkWindowPeer_connectSignals):
11094         Receive up events from subordinate layout component.
11096 2004-01-21  Thomas Fitzsimmons  <fitzsim@redhat.com>
11098         * java/awt/Component.java (show): Set visible to true before
11099         showing the peer.
11101 2004-01-21  Kim Ho  <kho@redhat.com>
11103         * gnu/java/awt/peer/gtk/GtkFramePeer.java (postConfigureEvent):
11104         Fix comments.
11105         (removeMenuBarPeer): Make package private.
11106         (setMenuBarPeer): Make package private.
11107         * jni/gtk-peer/gnu_java_awt_peer_gtk_GtkWindowPeer.c
11108         (menubar_resize_cb): Mark attributes unused.
11109         (getMenuBarHeight): ditto.
11111 2004-01-21  David Jee  <djee@redhat.com>
11113         * java/awt/Container.java
11114         (LightweightDispatcher.handleEvent): Add an extra check to avoid
11115         dispatching MOUSE_ENTERED event twice. Translate the point for
11116         the mouse event target before dispatching the event.
11118 2004-01-20  Jakub Jelinek  <jakub@redhat.com>
11120         * Makefile.am (lib_org_w3c_dom_la_LIBADD,
11121         lib_org_w3c_dom_la_LDFLAGS): New.
11122         (lib_org_xml_sax_la_LIBADD, lib_org_xml_sax_la_LDFLAGS): New.
11123         * Makefile.in: Rebuilt.
11125 2004-01-20  Thomas Fitzsimmons  <fitzsim@redhat.com>
11127         * gnu/java/awt/peer/gtk/GtkComponentPeer.java (setBounds):
11128         Calculate proper offsets for heavyweight components packed in
11129         lightweight containers.
11131         * gnu/java/awt/peer/gtk/GtkTextFieldPeer.java,
11132         jni/gtk-peer/gnu_java_awt_peer_gtk_GtkTextFieldPeer.c
11133         (native create): Add width parameter.
11134         (create): Calculate text entry width based on current font's
11135         metrics and number of columns.  Set TextField's font if not
11136         already set.  Call native create.
11137         (gtkEntryGetBorderWidth): New native method.
11138         (gtkEntryGetSize): Remove method.
11139         (getMinimumSize): Call minimumSize.
11140         (getPreferredSize): Call preferredSize.
11141         (minimumSize): Calculate minimum size based on backing
11142         GtkEntry's borders, font metrics and number of columns.
11143         (preferredSize): Likewise for preferred size.
11144         (get_border_width): New static function.
11146         * gnu/java/awt/peer/gtk/GtkFramePeer.java (setResizable):
11147         Override GtkWindowPeer's setResizable method to account for menu
11148         bar height when setting the frame's size.
11150 2004-01-19  Matthias Klose  <doko@debian.org>
11152         * libtool-version: Increased `current' to 6.
11154 2004-01-19  Kim Ho  <kho@redhat.com>
11156         * jni/gtk-peer/gnu_java_awt_peer_gtk_GtkWindowPeer.c
11157         (connectJObject): Iterate through the vbox's children to find layout.
11159 2004-01-19  Fernando Nasser  <fnasser@redhat.com>
11161         * java/awt/EventQueue.java (invokeAndWait): Use list-aware
11162         isDispatchThread method to replace wrong test condition.
11164 2004-01-19  Fernando Nasser  <fnasser@redhat.com>
11166         * java/awt/EventQueue.java (pop): Prevent racing condition to add
11167         events to the queue out of order by acquiring locks in the proper
11168         order and not by releasing one before acquiring the other.
11170 2004-01-19  Fernando Nasser  <fnasser@redhat.com>
11172         * gnu/java/awt/peer/gtk/TestAWT.java (DialogWindow): Make text not
11173         visible so that dialog can be reused.
11175 2004-01-19  Fernando Nasser  <fnasser@redhat.com>
11177         * java/awt/EventQueue.java (getCurrentEvent): Consider that system
11178         events may be handled by any queue in the stack.
11180 2004-01-19  Kim Ho  <kho@redhat.com>
11182         * gnu/java/awt/peer/gtk/GtkFramePeer.java (getMenuBarHeight): Added
11183         MenuBarPeer parameter.
11184         (removeMenuBarPeer): New native method.
11185         (setMenuBar): Call remove if menu bar is null. Adjust insets
11186         appropriately.
11187         (postSizeAllocateEvent): New method. Called when menu bar size is
11188         allocated. Adjust insets and redo layout.
11189         (GtkFramePeer): Set menu bar during frame creation.
11190         (postConfigureEvent): Adjust position and size to accomodate
11191         menu bar.
11192         * java/awt/Frame.java (setMenuBar): addNotify to create menu bar.
11193         * java/awt/Menu.java (addSeparator): Use peer's addSeparator.
11194         (addNotify): Create the peer if it doesn't exist and call addNotify
11195         for the menu's items.
11196         * java/awt/MenuBar.java (addNotify): Create this menu bar's menus.
11197         * java/awt/MenuItem.java (addNotify): Create the peer if it
11198         doesn't exist.
11199         * jni/gtk-peer/gnu_java_awt_peer_gtk_GtkWindowPeer.c
11200         (removeMenuBarPeer): New method. Remove menu bar on the current
11201         frame.
11202         (setMenuBarPeer): Add the menu bar to the current frame and the
11203         callback for size-allocate events on the menu bar.
11204         (getMenuBarHeight): Add menu bar parameter.
11205         (menubar_resize_cb): New callback method for postSizeAllocate events.
11207         Also: Fix indentation on last ChangeLog entry.
11209 2004-01-16  Kim Ho  <kho@redhat.com>
11211         * gnu/java/awt/peer/gtk/GtkFileDialogPeer.java
11212         (gtkWidgetGetDimensions): Remove.
11213         * jni/gtk-peer/gnu_java_awt_peer_gtk_GtkWindowPeer.c
11214         (gtkWidgetGetDimensions): Remove.
11216 2004-01-16  Tom Tromey  <tromey@redhat.com>
11218         * java/awt/Container.java: Typo and indentation fixes.
11220         * java/lang/natClassLoader.cc: Moved VMClassLoader methods...
11221         * java/lang/natVMClassLoader.cc: ...here.  New file.
11222         * Makefile.in: Rebuilt.
11223         * Makefile.am (nat_source_files): Added natVMClassLoader.cc.
11225 2004-01-16  Fernando Nasser  <fnasser@redhat.com>
11227         * jni/gtk-peer/gnu_java_awt_peer_gtk_GtkEvents.c (pre_event_handler):
11228         Discard GDK_ENTER_NOTIFY related to ungrabs.
11230 2004-01-16  Fernando Nasser  <fnasser@redhat.com>
11232         * java/awt/EventQueue.java (pop): Prevent breaking the chain if pop
11233         is called for an intermediate queue.
11235 2004-01-16  Thomas Fitzsimmons  <fitzsim@redhat.com>
11237         * jni/gtk-peer/gnu_java_awt_peer_gtk_GtkWindowPeer.c
11238         (window_property_changed_cb): Set id_set.
11240 2004-01-16  Kim Ho  <kho@redhat.com>
11242         * gnu/java/awt/peer/gtk/GtkComponentPeer.java (GtkComponentPeer): If
11243         it is a FileDialog and has dimensions of 0 by 0, then the initial
11244         size is set to size request plus insets.
11245         * gnu/java/awt/peer/gtk/GtkFileDialogPeer.java
11246         (gtkWidgetGetDimensions): Override method.
11247         * jni/gtk-peer/gnu_java_awt_peer_gtk_GtkWindowPeer.c
11248         (gtkWidgetGetDimensions): Override method. Returns size request plus
11249         insets.
11251 2004-01-16  Andrew Haley  <aph@redhat.com>
11253         * sysdep/x86-64/locks.h: Don't use in/out memory constraints.
11254         * sysdep/i386/locks.h: Likewise.
11256 2004-01-16  Fernando Nasser  <fnasser@redhat.com>
11258         * java/awt/EventDispatchThread.java (run): Stop running when
11259         interrupted.
11260         * java/awt/EventQueue.java (pop): Stop dispatch thread when done.
11261         Reset the queue after transferring its contents.
11262         (push): Start a new dispatch thread if none is running.
11264 2004-01-16  Olga Rodimina <rodimina@redhat.com>
11266         * gnu/java/awt/peer/gtk/GdkGraphics2D.java:
11267         (doPolygon): set fill rule of polygon to 
11268         WIND_EVEN_ODD by default.
11270 2004-01-15  Olga Rodimina <rodimina@redhat.com>
11272         * gnu/java/awt/peer/gtk/GdkGraphics2D.java:
11273         Implemented rendering hints related methods.
11274         (getDefaultHints): New helper method. Returns
11275         default rendering hints.
11276         (walkPath): changed to normalize path if
11277         the KEY_STROKE_CONTROL key is in "normalize" mode.
11278         (draw3DRect): changed coordinates of rectangle by +0.5
11279         if in "normalize" mode.
11281 2004-01-15  Tom Tromey  <tromey@redhat.com>
11283         * Makefile.in: Rebuilt.
11284         * Makefile.am (gnu/gcj/runtime/StackTrace.lo): New rule.
11285         (%.lo: %.java) Filter out StackTrace.lo.
11287 2004-01-14  Kelley Cook  <kcook@gcc.gnu.org>
11289         * configure.in: Add in AC_PREREQ(2.13)
11290         * libltdl/configure.ac: Update to AC_PREREQ(2.57).  Delete 
11291         FIXME comment.
11293 2004-01-14  Nathan Bryant  <nbryant@optonline.net>
11294             Tom Tromey  <tromey@redhat.com>
11296         PR libgcj/12001:
11297         * gnu/gcj/runtime/VMClassLoader.java (VMClassLoader): Pass empty
11298         array to superclass.
11299         (init): Changed interface; add URLs here.
11300         (initialize): New static method.
11301         * prims.cc (_Jv_CreateJavaVM): Initialize ClassLoader here...
11302         (_Jv_RunMain): ... not here.
11304 2004-01-14  Michael Koch  <konqueror@gmx.de>
11306         * java/text/MessageFormat.java:
11307         Added descriptions to exceptions.
11308         This fixes PR libgcj/2429.
11310 2004-01-13  Fernando Nasser  <fnasser@redhat.com>
11312         * java/awt/EventQueue.java (isDispatchThread): Do check on top of stack.
11313         (push): Make sure push is performed at the top of the thread stack.
11315 2004-01-13  Thomas Fitzsimmons  <fitzsim@redhat.com>
11317         * gnu/java/awt/peer/gtk/GtkTextAreaPeer.java,
11318         jni/gtk-peer/gnu_java_awt_peer_gtk_GtkTextAreaPeer.c
11319         (native create): Add width and height parameters.  Set text
11320         view's size request according to new parameters.
11321         (create): Calculate text view size based on current font's
11322         metrics and number of rows and columns.  Set TextArea's font if
11323         not already set.  Call native create.
11324         (getMinimumSize): Call minimumSize.
11325         (getPreferredSize): Call preferredSize.
11326         (getHScrollbarHeight): New method.
11327         (getVScrollbarWidth): New method.
11328         (minimumSize): Calculate minimum size based on scrollbar
11329         visibility, scrollbar sizes, font metrics and number of rows and
11330         columns.
11331         (preferredSize): Likewise for preferred size.
11332         (gtkTextGetSize): Remove method.
11334 2004-01-13  Thomas Fitzsimmons  <fitzsim@redhat.com>
11336         * gnu/java/awt/peer/gtk/GtkComponentPeer.java
11337         (initializeInsets): Remove method.
11338         (GtkComponentPeer): Initialize insets field.  Remove call to
11339         initializeInsets.
11340         * gnu/java/awt/peer/gtk/GtkDialogPeer.java (initializeInsets):
11341         Remove method.
11342         * gnu/java/awt/peer/gtk/GtkFramePeer.java (initializeInsets):
11343         Remove method.
11344         * gnu/java/awt/peer/gtk/GtkWindowPeer.java,
11345         jni/gtk-peer/gnu_java_awt_peer_gtk_GtkWindowPeer.c:
11346         (latestInsets): Remove field.
11347         (native create): Add insets parameter.  Call
11348         window_get_frame_extents.  Set the window's default size and
11349         size request based on its frame extents.
11350         (create): Initialize insets.
11351         (postInsetsChangedEvent): New method.
11352         (postConfigureEvent): Remove parameters top, left, bottom,
11353         right.  Remove insets-related logic.
11354         (connectJObject): Handle property-notify-event.
11355         (window_get_frame_extents, request_frame_extents,
11356         property_notify_predicate, window_property_changed_cb): New
11357         static functions.
11358         * jni/gtk-peer/gnu_java_awt_peer_gtk_GtkEvents.c
11359         (pre_event_handler): Remove insets-related logic for configure
11360         events.
11361         * jni/gtk-peer/gnu_java_awt_peer_gtk_GtkMainThread.c (gtkInit):
11362         Update postConfigureEvent signature.
11364 2004-01-13  Fernando Nasser  <fnasser@redhat.com>
11366         * gnu/java/awt/peer/gtk/TestAWT.java (DialogWindow): Add WindowAdapter
11367         to handle Window "Closing" events.
11369 2004-01-13  David Jee  <djee@redhat.com>
11371         * gnu/java/awt/peer/gtk/GtkContainerPeer.java
11372         (setBackground): New method. Children with no explicitly-set
11373         background will be repainted with the parent container's new
11374         background color.
11376 2004-01-13  David Jee  <djee@redhat.com>
11378         * Makefile.am: Add BitwiseXORComposite.java.
11379         * Makefile.in: Regenerated.
11380         * gcj/Makefile.in: Regenerated.
11381         * include/Makefile.in: Regenerated.
11382         * testsuite/Makefile.in: Regenerated.
11384 2004-01-12  Fernando Nasser  <fnasser@redhat.com>
11386         * gnu/java/awt/peer/gtk/TestAWT.java: Fix test program so that it does
11387         not show modal dialogs twice and so that it allows showing a modal
11388         dialog from another modal dialog.
11390 2004-01-12  Fernando Nasser  <fnasser@redhat.com>
11392         * java/awt/Dialog.java (show): Enable blocking for all modal dialogs
11393         and run secondary dispatch thread to process event queue while this
11394         thread is blocked.
11396 2004-01-12  Graydon Hoare  <graydon@redhat.com>
11398         * gnu/java/awt/gtk/GdkGraphics2D.java
11399         (static): Check GtkToolkit before initializing static state.
11400         (Graphics2D): Don't construct transform with 0.5 unit offset.
11402 2003-11-06  Sascha Brawer  <brawer@dandelis.ch>
11404         * gnu/java/awt/BitwiseXORComposite.java: Add.
11405         * gnu/java/awt/peer/gtk/GdkGraphics2D.java
11406         (setXORMode): Switch to gnu.java.awt.BitwiseXORComposite.
11407         (BitwiseXORComposite): Remove inner class.
11409 2004-01-11  Michael Koch  <konqueror@gmx.de>
11411         * gnu/java/lang/reflect/TypeSignature.java
11412         (getEncodingOfClass): Documentation fixed.
11413         (getClassForEncoding): Give class loader to Class.forName().
11414         Documentation fixed.
11416 2004-01-11  Sascha Brawer  <brawer@dandelis.ch>
11418         * javax/swing/undo/CompoundEdit.java (serialVersionUID): Added.
11420 2004-01-11  Michael Koch  <konqueror@gmx.de>
11422         * javax/swing/undo/StateEditable.java
11423         (RCSID): Removed redundant modifiers.
11425 2004-01-10  Michael Koch  <konqueror@gmx.de>
11427         * javax/print/attribute/EnumSyntax.java
11428         (getStringTable): Made protected.
11429         (getEnumValueTable): Likewise.
11430         * javax/print/attribute/standard/JobKOctetsProcessed.java
11431         (JobKOctetsProcessed): Don't implement PrintRequestAttribute.
11432         * javax/print/attribute/standard/JobMediaSheetsCompleted.java
11433         (JobMediaSheetsCompleted): Made class final.
11434         * javax/print/attribute/standard/OutputDeviceAssigned.java
11435         (getName): Fixed typo.
11436         * javax/print/attribute/standard/RequestingUserName.java
11437         (serialVersionUID): Fixed value.
11439 2004-01-10  Michael Koch  <konqueror@gmx.de>
11441         * javax/swing/plaf/basic/BasicButtonUI.java,
11442         javax/swing/plaf/basic/BasicCheckBoxUI.java,
11443         javax/swing/plaf/basic/BasicListUI.java,
11444         javax/swing/plaf/basic/BasicOptionPaneUI.java,
11445         javax/swing/plaf/basic/BasicPanelUI.java,
11446         javax/swing/plaf/basic/BasicRadioButtonUI.java,
11447         javax/swing/plaf/basic/BasicScrollPaneUI.java,
11448         javax/swing/plaf/basic/BasicToggleButtonUI.java,
11449         javax/swing/plaf/basic/BasicViewportUI.java:
11450         Fixed import statements.
11452 2004-01-10  Michael Koch  <konqueror@gmx.de>
11454         * gnu/java/awt/image/ImageDecoder.java
11455         (produce): Made public.
11456         * gnu/java/awt/peer/GLightweightPeer.java,
11457         gnu/java/awt/peer/gtk/GtkToolkit.java:
11458         Reformated.
11460 2004-01-10  Michael Koch  <konqueror@gmx.de>
11462         * javax/swing/JRadioButtonMenuItem.java,
11463         javax/swing/JSeparator.java,
11464         javax/swing/JSplitPane.java,
11465         javax/swing/JTextPane.java,
11466         javax/swing/JToolBar.java,
11467         javax/swing/ListCellRenderer.java,
11468         javax/swing/ListModel.java,
11469         javax/swing/MenuElement.java,
11470         javax/swing/OverlayLayout.java,
11471         javax/swing/ProgressMonitor.java,
11472         javax/swing/ProgressMonitorInputStream.java,
11473         javax/swing/Renderer.java,
11474         javax/swing/RootPaneContainer.java,
11475         javax/swing/Scrollable.java,
11476         javax/swing/SingleSelectionModel.java,
11477         javax/swing/ToolTipManager.java,
11478         javax/swing/ViewportLayout.java,
11479         javax/swing/event/DocumentEvent.java,
11480         javax/swing/event/SwingPropertyChangeSupport.java,
11481         javax/swing/event/TreeSelectionEvent.java,
11482         javax/swing/event/UndoableEditEvent.java,
11483         javax/swing/text/AbstractDocument.java,
11484         javax/swing/text/AttributeSet.java,
11485         javax/swing/text/Caret.java,
11486         javax/swing/text/ComponentView.java,
11487         javax/swing/text/DefaultCaret.java,
11488         javax/swing/text/DefaultEditorKit.java,
11489         javax/swing/text/Document.java,
11490         javax/swing/text/EditorKit.java,
11491         javax/swing/text/GapContent.java,
11492         javax/swing/text/Keymap.java,
11493         javax/swing/text/MutableAttributeSet.java,
11494         javax/swing/text/PlainEditorKit.java,
11495         javax/swing/text/Segment.java,
11496         javax/swing/text/Style.java,
11497         javax/swing/text/StyledDocument.java,
11498         javax/swing/text/StyledEditorKit.java,
11499         javax/swing/text/TextAction.java,
11500         javax/swing/text/View.java: Fixed import statements.
11502 2004-01-08  Graydon Hoare  <graydon@redhat.com>
11504         * javax/swing/JLayeredPane.java: Rewrite to accomodate
11505         djee@redhat.com's recent inverse ordering of Container elements.
11507 2004-01-09  Michael Koch  <konqueror@gmx.de>
11509         * gnu/java/lang/ArrayHelper.java
11510         (equalsArray): Removed.
11512 2004-01-09  Andrew Haley  <aph@redhat.com>
11514         * java/lang/natClassLoader.cc (_Jv_PrepareCompiledClass): Resolve
11515         a Utf8Const field before looking at its class.
11517 2004-01-09  Michael Koch  <konqueror@gmx.de>
11519         * javax/print/attribute/standard/DocumentName.java,
11520         javax/print/attribute/standard/JobHoldUntil.java,
11521         javax/print/attribute/standard/JobMessageFromOperator.java,
11522         javax/print/attribute/standard/JobName.java,
11523         javax/print/attribute/standard/JobOriginatingUserName.java,
11524         javax/print/attribute/standard/OutputDeviceAssigned.java,
11525         javax/print/attribute/standard/PrinterInfo.java,
11526         javax/print/attribute/standard/PrinterLocation.java,
11527         javax/print/attribute/standard/PrinterMakeAndModel.java,
11528         javax/print/attribute/standard/PrinterMessageFromOperator.java,
11529         javax/print/attribute/standard/PrinterName.java,
11530         javax/print/attribute/standard/RequestingUserName.java: New files.
11531         * Makefile.am (javax_source_files): Added new files.
11532         * Makefile.in: Regenerated.
11534 2004-01-09  Michael Koch  <konqueror@gmx.de>
11536         * javax/swing/AbstractAction.java,
11537         javax/swing/AbstractSet.java,
11538         javax/swing/Action.java,
11539         javax/swing/ActionMap.java,
11540         javax/swing/BoundedRangeModel.java,
11541         javax/swing/ButtonModel.java,
11542         javax/swing/CellEditor.java,
11543         javax/swing/CellRendererPane.java,
11544         javax/swing/ComboBoxEditor.java,
11545         javax/swing/DebugGraphics.java,
11546         javax/swing/DefaultCellEditor.java,
11547         javax/swing/DefaultCellRenderer.java,
11548         javax/swing/DefaultComboBoxModel.java,
11549         javax/swing/DefaultDesktopManager.java,
11550         javax/swing/DefaultFocusManager.java,
11551         javax/swing/DefaultListCellRenderer.java,
11552         javax/swing/Icon.java,
11553         javax/swing/JButton.java,
11554         javax/swing/JCheckBoxMenuItem.java,
11555         javax/swing/JDesktopPane.java,
11556         javax/swing/JEditorPane.java,
11557         javax/swing/JMenu.java,
11558         javax/swing/JPanel.java,
11559         javax/swing/JPasswordField.java,
11560         javax/swing/JPopupMenu.java,
11561         javax/swing/JProgressBar.java: Reworked imports.
11563 2004-01-09  Michael Koch  <konqueror@gmx.de>
11565         * java/awt/geom/PathIterator.java
11566         (WIND_EVEN_ODD): Removed redundant modifiers.
11567         (WIND_NON_ZERO): Likewise.
11568         (SEG_MOVETO): Likewise.
11569         (SEG_LINETO): Likewise.
11570         (SEG_QUADTO): Likewise.
11571         (SEG_CUBICTO): Likewise.
11572         (SEG_CLOSE): Likewise.
11573         * java/awt/image/SinglePixelPackedSampleModel.java:
11574         Removed redundant semicolon.
11575         * java/io/ObjectInputStream.java
11576         (inputGetObjectStreamClasses): Removed unused variable "ret_val".
11577         * java/util/logging/Filter.java
11578         (isLoggable): Removed redundant modifier.
11579         * java/util/logging/LogManager.java:
11580         Removed redundant semicolon.
11581         * java/util/logging/XMLFormatter.java
11582         (format): Removed unused variable "key".
11584 2004-01-08  Fernando Nasser  <fnasser@redhat.com>
11586         * gnu/java/awt/peer/gtk/GtkFileDialogPeer.java (nativeSetFile):
11587         New name for the former setFile native method.
11588         (setFile): New method.
11589         (setDirectory): Implemented.
11590         (connectSignals): New native method.
11591         (setFilenameFilter): Improve comment.
11592         (getGraphics): Comment.
11593         (gtkHideFileDialog): New method.
11594         (gtkDisposeFileDialog): New method.
11595         (gtkSetFilename): New method.
11596         * java/awt/Dialog.java (show): Block on modal dialogs, but only
11597         for FileDialog for now.
11598         (hide): New method.
11599         (dispose): New method.
11600         * jni/gtk-peer/gnu_java_awt_peer_gtk_GtkFileDialogPeer.c
11601         (Java_gnu_java_awt_peer_gtk_GtkFileDialog_create): Replace
11602         deprecated creation functions.  Make dialog modal.  Add it to the
11603         window group.
11604         (Java_gnu_java_awt_peer_gtk_GtkFileDialog_connectSignals): New
11605         function.
11606         (Java_gnu_java_awt_peer_gtk_GtkFileDialogPeer_gtkFileSelectionSetFilename):
11607         Rename to...
11608         (Java_gnu_java_awt_peer_gtk_GtkFileDialogPeer_nativeSetFile): New
11609         name.
11610         (window_closed): New function.
11611         (ok_clicked): New function.
11612         (cancel_clicked): New function.
11614 2004-01-08  Michael Koch  <konqueror@gmx.de>
11616         * javax/swing/JLayeredPane.java: Revert changes to standard
11617         boilerplate, reworked imports.
11619 2004-01-07  Tom Tromey  <tromey@redhat.com>
11621         PR libgcj/13439:
11622         * verify.cc (state::merge): Copy changed locals out of subroutine
11623         in NO_STACK case.
11624         (state::FLAG_CHANGED): New const.
11625         (state::FLAG_UNUSED): Likewise.
11626         (state::local_changed): Removed.  Updated all users.
11627         (state::flags): New field.
11628         (state::merge): Added jsr_semantics argument, more logic.
11629         (push_jump_merge): Added jsr_semantics argument.
11630         (handle_jsr_insn): Set jsr_semantics on push_jump_merge when
11631         merging through the jsr instruction.
11633 2004-01-07  Tom Tromey  <tromey@redhat.com>
11635         * scripts/MakeDefaultMimeTypes.java: Use \n, not
11636         backslash-newline.
11638 2004-01-07  Graydon Hoare  <graydon@redhat.com>
11640         * java/awt/Container.java (LightweightDispatcher): Implement.
11641         (visitChild): Reuse graphics object.
11642         (dispatchEventImpl): Optionally dispatch to lightweight.
11643         (addNotifyContainerChildren): Build LightweightDispatcher.
11645 2004-01-07  David Jee  <djee@redhat.com>
11647         * java/awt/Container.java
11648         (update): Clear only the clipped region, instead of clearing the
11649         entire Container.
11650         (visitChildren): Visit children in descending order.
11652 2004-01-07  Michael Koch  <konqueror@gmx.de>
11654         * java/lang/reflect/Array.java: Merged documentation with classpath.
11656 2004-01-07  Michael Koch  <konqueror@gmx.de>
11658         * java/text/CollationElementIterator.java
11659         (textIndex): Renamed from index.
11660         * java/text/CollationKey.java
11661         (collator): New member.
11662         (CollationKey): New argument for parent collator.
11663         (equals): Check for same collator, source string and key array.
11664         * java/text/RuleBasedCollator.java:
11665         Reformated.
11666         (RuleBasedCollator): Don't re-initialize frenchAccents with default
11667         value.
11668         (getCollationElementIterator): Rewritten.
11669         (getCollationKey): Added new argument to CollationKey constructor.
11671 2004-01-07  Michael Koch  <konqueror@gmx.de>
11673         * gnu/java/nio/DatagramChannelImpl.java
11674         (blocking): Removed.
11675         (DatagramChannelImpl): Call configureBlocking().
11676         (implConfigureBlocking): Dont initialize blocking.
11677         * gnu/java/nio/ServerSocketChannelImpl.java
11678         (blocking): Removed.
11679         (ServerSocketChannelImpl): Call configureBlocking().
11680         (implConfigureBlocking): Dont initialize blocking.
11681         * gnu/java/nio/SocketChannelImpl.java
11682         (blocking): Removed.
11683         (SocketChannelImpl): Call configureBlocking().
11684         (implConfigureBlocking): Dont initialize blocking.
11685         (connect): Use isBlocking().
11686         * java/nio/channels/spi/AbstractSelectableChannel.java
11687         (configureBlocking): Use blockingLock() instead of LOCK.
11688         Set blocking after successfully called implConfigureBlocking().
11689         (register): Use blockingLock() instead of LOCK.
11691 2004-01-07  Michael Koch  <konqueror@gmx.de>
11693         * java/net/ServerSocket.java (isBound): Fixed documentation.
11695 2004-01-07  Sascha Brawer  <brawer@dandelis.ch>
11697         * javax/swing/DefaultBoundedRangeModel.java: Documented API.
11698         (changeEvent): Create event object on demand.
11699         (DefaultBoundedRangeModel, toString, setValue, setExtent,
11700         setMinimum, setMaximum, setValueIsAdjusting, setRangeProperties,
11701         fireStateChanged): Re-written.
11702         * javax/swing/event/EventListenerList.java: Reformatted, document
11703         typical usage.
11704         (toString): Implemented.
11705         (getListeners): Re-written.
11706         (remove): Re-written.
11707         (add): Re-written.
11708         (NO_LISTENERS): New singleton field.
11709         (listenerList): Declare as transient; document.
11710         (serialVersionUID): Document.
11711         (getListenerCount(Class)): More efficient implementation,
11712         also accepts null argument.  Improve Javadoc.
11713         (getListenerCount()): Remove unnecessary cast; docfix.
11714         * javax/swing/undo/UndoableEditSupport.java:
11715         Re-format, document.
11716         (UndoableEditSupport): Set realSource field. Improve documentation.
11717         (_postEdit): Iterate over cloned listener vector.
11718         (toString): Don't emit realSource.
11719         (beginUpdate, endUpdate): Support nested updates.
11720         (postEdit): Use compound edit if present.
11722 2004-01-06  Graydon Hoare  <graydon@redhat.com>
11724         * java/awt/Container.java (swapComponents): Add forgotten
11725         function, required for JLayeredPane change.
11727 2004-01-06  Michael Koch  <konqueror@gmx.de>
11729         * java/text/CollationElementIterator.java: Reformated.
11730         (CollationElementIterator): Changed order of arguments.
11731         * java/text/RuleBasedCollator.java
11732         (RuleBasedCollator): Merged class documentation.
11733         (CollationElement): Added documentation.
11734         (compare): Reformated, renamed arguments.
11735         (equals): Likewise.
11736         (getCollationElementIterator): Likewise.
11737         (getCollationKey): Likewise.
11739 2004-01-06  Graydon Hoare  <graydon@redhat.com>
11741         * javax/swing/JLayeredPane.java: Fix semantics, add javadocs.
11743 2004-01-06  Michael Koch  <konqueror@gmx.de>
11745         * gnu/java/net/protocol/file/Connection.java:
11746         Reformated copyright.
11747         (hdrHash): Removed.
11748         (hdrVec): Removed.
11749         (gotHeaders): Removed.
11750         (getHeaderField): Removed.
11751         (getHeaderField): Removed.
11752         (getHeaderFieldKey): Removed.
11753         (getKey): Removed.
11754         (getField): Removed.
11755         (getHeaders): Removed.
11757 2004-01-06  Michael Koch  <konqueror@gmx.de>
11759         * javax/print/attribute/standard/DateTimeAtCompleted.java,
11760         javax/print/attribute/standard/DateTimeAtCreation.java,
11761         javax/print/attribute/standard/DateTimeAtProcessing.java,
11762         javax/print/attribute/standard/JobImpressionsCompleted.java,
11763         javax/print/attribute/standard/JobKOctets.java,
11764         javax/print/attribute/standard/JobKOctetsProcessed.java,
11765         javax/print/attribute/standard/JobMediaSheetsCompleted.java,
11766         javax/print/attribute/standard/JobPrioritySupported.java: New files.
11767         * Makefile.am (javax_source_files): Added new files.
11768         * Makefile.in: Regenerated.
11770 2004-01-06  Michael Koch  <konqueror@gmx.de>
11772         * java/net/URLConnection.java
11773         (contentHandler): Removed.
11774         (locale): Removed.
11775         (getHeaderFields): Return an empty map instead of null.
11776         (getContent): Connect if needed, renamed "cType" to "type" and
11777         "contentHandler" to "ch" and made it a local variable.
11778         (getPermission): Don't use package in class name.
11779         (setDefaultRequestProperty): Fixed typo in documentation.
11780         (initializeDateFormats): Made locale a local variable.
11782 2004-01-06  Michael Koch  <konqueror@gmx.de>
11784         * java/lang/Package.java
11785         (getPackage): Get the current class loader directly.
11786         * java/lang/SecurityManager.java
11787         (currentLoadedClass): Dont iterate over class contexts.
11788         (classLoaderDepth): Don't check class loaders if everything is allowed.
11790 2004-01-05  Thomas Fitzsimmons  <fitzsim@redhat.com>
11792         * jni/gtk-peer/gnu_java_awt_peer_gtk_GtkEvents.c
11793         (pre_event_handler): Set all insets to 0 when a Configure event
11794         is received for a GtkPlug.
11795         * gnu/java/awt/EmbeddedWindow.java (window_id): Rename handle.
11796         Make handle long, not int.
11797         (EmbeddedWindow()): New constructor.
11798         (EmbeddedWindow(int)): Rename window_id to handle.  Make handle
11799         long, not int.
11800         (setHandle): New method.
11801         (getHandle): Return long, not int.
11802         * gnu/java/awt/peer/EmbeddedWindowPeer.java (embed): New method
11803         declaration.
11804         * gnu/java/awt/peer/gtk/GtkEmbeddedWindowPeer.java,
11805         jni/gtk-peer/gnu_java_awt_peer_gtk_GtkEmbeddedWindowPeer.c:
11806         (create(long)): Take long parameter, not int.  Cast gtk_plug_new
11807         argument to GdkNativeWindow.
11808         (construct): New method.
11809         (embed): New method.
11811         * gnu/java/awt/peer/gtk/GtkScrollPanePeer.java,
11812         jni/gtk-peer/gnu_java_awt_peer_gtk_GtkScrollPanePeer.c
11813         (create(int, int)): New method.
11814         (create): Call new create method.
11815         (gtkScrolledWindowNew, gtkScrolledWindowSetSize): Remove
11816         methods.
11817         (childResized): Remove native implementation.  Implement in
11818         Java.
11819         (getHScrollbarHeight, getVScrollbarWidth): Call
11820         gtk_widget_size_request to get scrollbar dimensions.
11821         * java/awt/ScrollPane.java (getViewportSize): Reimplement.  Only
11822         call getVScrollbarWidth and getHScrollbarHeight when vertical
11823         and horizontal scrollbars respectively are needed.
11824         (doLayout): Enlarge child if it is smaller than the viewport.
11826 2004-01-05  Fernando Nasser  <fnasser@redhat.com>
11828         * java/awt/Dialog.java (constructor): Accept null title as per spec.
11829         * java/awt/FileDialog.java (constructor): Throw exception on invalid
11830         argument as per spec.
11832 2004-01-05  Fernando Nasser  <fnasser@redhat.com>
11834         * java/awt/Choice.java (add): Leave posting of ItemEvents to peer.
11835         (insert): Ditto.
11836         (remove): Ditto.  Also, Check for valid argument.
11837         (removeAll): Use peer interface method.
11838         * gnu/java/awt/peer/gtk/GtkChoicePeer.java (nativeAdd): New name for
11839         native add function.
11840         (nativeRemove): New name for native remove function.
11841         (getHistory): New native function.
11842         (constructor): Generate ItemEvent.
11843         (add): Ditto, if selection is changed.
11844         (remove): Ditto, ditto.
11845         (removeAll): Add implementation.
11846         (handleEvent): Remove.  Dead code.
11847         (choicePostItemEvent): Add comment.
11848         * jni/gtk-peer/gnu_java_awt_peer_gtk_GtkChoicePeer.c
11849         (Java_gnu_java_awt_peer_gtk_GtkChoicePeer_append): Add comments.
11850         (Java_gnu_java_awt_peer_gtk_GtkChoicePeer_add): Rename to...
11851         (Java_gnu_java_awt_peer_gtk_GtkChoicePeer_nativeAdd): New name.  Add
11852         comments and fix condition to change selection.
11853         (Java_gnu_java_awt_peer_gtk_GtkChoicePeer_remove): Rename to...
11854         (Java_gnu_java_awt_peer_gtk_GtkChoicePeer_nativeRemove): New name.  Add
11855         remove all capability.
11856         (Java_gnu_java_awt_peer_gtk_GtkChoicePeer_getHistory): New function.
11857         (item_activate): Add cast to remove compiler warning.
11859 2004-01-05  Thomas Fitzsimmons  <fitzsim@redhat.com>
11861         * gnu/java/awt/peer/gtk/GtkComponentPeer.java,
11862         jni/gtk-peer/gnu_java_awt_peer_gtk_GtkComponentPeer.c
11863         (getPreferredSize): Call preferredSize.
11864         (preferredSize): Call gtkWidgetGetPreferredDimensions.
11865         (getMinimumSize): Call minimumSize.
11866         (minimumSize): Call gtkWidgetGetPreferredDimensions.
11867         (gtkWidgetGetDimensions): Return the peer widget's current size
11868         request.
11869         (gtkWidgetGetPreferredDimensions): Return the peer widget's
11870         natural size request.
11872 2004-01-05  Sascha Brawer  <brawer@dandelis.ch>
11874         Thanks to Brian Gough <bjg@network-theory.com>
11875         * java/awt/geom/CubicCurve2D.java (solveCubic): Implemented.
11876         * java/awt/geom/QuadCurve2D.java (solveQuadratic): Re-written.
11878 2004-01-04  Matthias Klose  <doko@debian.org>
11880         * aclocal.m4: Rebuilt using "aclocal -I .".
11881         * configure: Rebuilt.
11883 2004-01-03  Per Bothner  <per@bothner.com>
11885         * java/util/Date.java (parse):  Fix a number of problems.
11886         (skipParens):  Remove no-longer-needed method.