Add support for M32R
[official-gcc.git] / libjava / ChangeLog
blob75d69ee3e930b134117564d9459ff4e924f45b73
1 2004-10-12  Rutger Ovidius  <ovidr@users.sourceforge.net>
3         PR libgcj/17903:
4         * testsuite/libjava.lang/md5test.java: New file.
5         * testsuite/libjava.lang/md5test.out: Likewise.
6         * testsuite/libjava.lang/shatest.java: Likewise.
7         * testsuite/libjava.lang/shatest.out: Likewise.
9 2004-10-11  Richard Henderson  <rth@redhat.com>
11         * include/posix-threads.h <__alpha__> (_Jv_ThreadId_t): Use void*.
12         (_Jv_ThreadSelf): Use __builtin_thread_pointer.
14 2004-10-08  Bryce McKinlay  <mckinlay@redhat.com>
16         * java/util/Calendar.java (set): Invalidate DST_OFFSET
17         field as a DST boundary may have been crossed.
18         * java/util/GregorianCalendar.java (add): Throw 
19         IllegalArgumentException on attempt to add to DST_OFFSET or 
20         ZONE_OFFSET fields. Update javadoc.
22 2004-10-09  Michael Koch  <konqueror@gmx.de>
24         * java/io/CharArrayWriter.java
25         (resize): Removed redundant 'final' modifier.
26         * java/io/DataInputStream.java
27         (readFully): Throw IndexOutOfBoundsException of len < 0.
28         * java/io/FileDescriptor.java,
29         java/io/FileInputStream.java,
30         java/io/FileOutputStream.java,
31         java/io/ObjectOutputStream.java,
32         java/io/ObjectStreamClass.java,
33         java/io/PipedInputStream.java,
34         java/io/RandomAccessFile.java:
35         Reorganized import statements.
37 2004-10-09  Michael Koch  <konqueror@gmx.de>
39         * gnu/java/rmi/rmic/RMIC.java,
40         gnu/java/rmi/server/RMIHashes.java,
41         gnu/java/rmi/server/RMIObjectInputStream.java,
42         gnu/java/rmi/server/UnicastConnection.java,
43         gnu/java/rmi/server/UnicastConnectionManager.java,
44         gnu/java/rmi/server/UnicastRemoteCall.java,
45         gnu/java/rmi/server/UnicastServerRef.java:
46         Reworked import statements and fixed file headers.
48 2004-10-04  Loren J. Rittle  <ljrittle@acm.org>
50         * configure.ac (*-*-freebsd[[1234]]*): Refine error message
51         emission rule.
52         * configure: Rebuilt.
54 2004-09-30  Tom Tromey  <tromey@redhat.com>
56         * java/text/MessageFormat.java (Field): Constructor now
57         protected.
59 2004-09-30  Tom Tromey  <tromey@redhat.com>
61         * javax/crypto/MacSpi.java: Fixed typo.
63 2004-09-30  Michael Koch  <konqueror@gmx.de>
65         * java/net/InetAddress.java: Reformatted.
66         (loopback): Initialize with Inet4Address object.
67         (static): Initialize ANY_IF with Inet4Address object.
68         (InetAddress): Removed unused package-private constructor.
70 2004-09-30  Michael Koch  <konqueror@gmx.de>
72         * java/beans/Beans.java,
73         java/beans/EventHandler.java,
74         java/beans/EventSetDescriptor.java,
75         java/beans/Introspector.java,
76         java/beans/PropertyEditorManager.java,
77         java/beans/beancontext/BeanContext.java,
78         java/beans/beancontext/BeanContextChild.java,
79         java/beans/beancontext/BeanContextChildSupport.java,
80         java/beans/beancontext/BeanContextMembershipEvent.java:
81         Reordered import statements and removed redundant modifiers.
83 2004-09-29  Tom Tromey  <tromey@redhat.com>
85         PR libgcj/17715:
86         * Makefile.in: Rebuilt.
87         * Makefile.am (libgcj-@gcc_version@.jar): Include properties
88         files.
89         (all_property_files): New macro.
91         * Makefile.in: Rebuilt.
92         * Makefile.am (ordinary_java_source_files): Re-sorted.
93         (libgcj.la): Moved to old location near lib-gnu-awt-xlib.la.
95 2004-09-28  Tom Tromey  <tromey@redhat.com>
97         * jni.cc (_Jv_JNI_RegisterNatives): Formatting fixlets.
99         PR libgcj/17222:
100         * Makefile.am (libgcj.la): Restored.
101         * Makefile.in: Rebuilt.
103 2004-09-28  Michael Koch  <konqueror@gmx.de>
105         * java/net/URLConnection.java: Reformatted.
106         * java/net/URLClassLoader.java: Reformatted.
107         (getContent): Reordered return of content.
108         (getContentHandler): Don't check for null explicitely.
110 2004-09-27  Michael Koch  <konqueror@gmx.de>
112         * java/io/BufferedInputStream.java
113         (BufferedInputStream): Added Jeroen Frijters to authors.
114         (count): Don't explicitely initialize with default value.
115         (pos): Likewise.
116         (marklimit): Likewise.
117         (read): Changed boolean expression to match GNU classpath' version.
118         (reset): Add proper message to exception.
119         (skip): Check for closed stream.
120         (refill): Likewise.
122 2004-09-26  Per Bothner  <per@bothner.com>
124         * prims.cc (unblock_signal): Annotate signum with __unused__ to
125         avoid warnings in the non-POSIX_VERSION case.
126         Also, we only need this function if either HANDLE_SEGV or HANDLE_FPE,
127         so place it inside an #if block.
128         * include/default-signal.h (SIGNAL_HANDLER): Parameters are __unused__.
129         * include/i386-signal.h (SIGNAL_HANDLER):  Likewise
130         * include/mips-signal.h (SIGNAL_HANDLER):  Likewise
131         * include/sparc-signal.h (SIGNAL_HANDLER):  Likewise
133 2004-09-26  Per Bothner  <per@bothner.com>
135         * prims.cc (process_gcj_properties):  Optimization.
137 2004-09-26  Per Bothner  <per@bothner.com>
139         * java/util/Collections.java (sort):  Copy from array in forwards
140         order, rather than reverse order which may be much less efficient.
142 2004-09-26  Mark Wielaard  <mark@klomp.org>
144         * java/lang/System.java (properties): Make package private.
145         * java/lang/Throwable.java (StaticData.nl): Initialize through
146         directly accessing System.properties.getProperty().
148         * java/lang/Throwable.java (nl): Remove static field.
149         (StaticData): New private static inner class.
150         (stackTraceStringBuffer): Use StaticData.nl.
152 2004-09-26  Casey Marshall <csm@gnu.org>
154         * java/security/ProtectionDomain.java
155         (<init>(CodeSource,PermissionCollection)): set `staticBinding' to
156         `true'.
158         * java/security/SecureClassLoader.java
159         (defineClass): make protection domain dynamically bound.
160         (getPermissions): call `getCurrentPolicy' to avoid permission
161         check.
163 2004-09-25  Mark Wielaard  <mark@klomp.org>
165         * Makefile.am (core_java_source_files): Add VMTimeZone.java.
166         (nat_source_files): Rename natTimeZone.cc to natVMTimeZone.cc.
167         * Makefile.in: Regenerated.
169         * gcj/javaprims.h: Regenerated.
171         * java/util/TimeZone.java (defaultZone): Use VMTimeZone.
172         (getDefaultTimeZone): Make package private. Check that GMToffset
173         contains at least one digit.
174         (getDefaultTimeZoneId, readTimeZoneFile, readtzFile): (Re)Moved to
175         VMTimeZone.
176         * util/VMTimeZone.java: New file with above methods.
178         * java/util/natTimeZone.cc: Removed (renamed).
179         * java/util/natVMTimeZone.cc: Added (renamed).
181 2004-09-25  Jeroen Frijters  <jeroen@frijters.net>
183         * java/util/TimeZone.java
184         (getDefaultTimeZone): Fixed test to distinguish between hours and
185         minutes in specified timezone.
187 2004-09-25  Jeroen Frijters  <jeroen@frijters.net>
189         * java/lang/reflect/Proxy.java (getPackage, ClassFactory): Fixed
190         handling of default package. (generate): Removed confused comments
191         and code about making Method and Field accessible.
193 2004-09-25  Tom Tromey  <tromey@redhat.com>
195         PR java/17500:
196         * testsuite/libjava.compile/pr17500.java: New file.
198 2004-09-25  Shashank Bapat  <shashankbapat@yahoo.com>
199             Mark Wielaard  <mark@klomp.org>
201         * gnu/regexp/RE.java (initialize): Add RETokenLookAhead support.
202         * gnu/regexp/RETokenLookAhead.java: New file.
204         * Makefile.am (ordinary_java_source_files): Add RETokenLookAhead.java.
205         * Makefile.in: Regenerated.
207 2004-09-25  Michael Koch  <konqueror@gmx.de>
209         * java/io/ObjectStreamField.java:
210         Removed unused import statement.
212 2004-09-24  Tom Tromey  <tromey@redhat.com>
214         PR java/15656:
215         * testsuite/libjava.compile/pr15656.xfail: New file.
216         * testsuite/libjava.compile/pr15656.java: new file.
218         PR java/16789:
219         * testsuite/libjava.lang/pr16789.out: New file.
220         * testsuite/libjava.lang/pr16789.java: New file.
222 2004-09-24  Andrew Haley  <aph@redhat.com>
224         PR java/16927
225         * testsuite/libjava.compile/AssertBug.java: New file.
227 2004-09-24  Casey Marshall <csm@gnu.org>
229         * java/util/PropertyPermissionCollection.java
230         (implies): avoid infinite loop.
232 2004-09-24  Andrew John Hughes  <gnu_andrew@member.fsf.org>
234         * javax/security/auth/PrivateCredentialPermission.java
235         (PrivateCredentialPermission): added serialization UID
238 2004-09-24  Ilya Perminov  <iperminov@logicalsoft.com>
240         * gnu/java/rmi/server/UnicastServer.java
241         (incomingMessageCall): Added code to handle Errors.
242         * gnu/java/rmi/server/UnicastServerRef.java
243         (incomingMessageCall): Added code to handle Errors.
246 2004-09-24  Tom Tromey  <tromey@redhat.com>
248         * java/lang/ClassLoader.java (loadedClasses): Declare as HashMap.
249         (definedPackages): Likewise.
251 2004-09-24  Michael Koch  <konqueror@gmx.de>
253         * java/io/ObjectInputStream.java:
254         Re-ordered imports.
256 2004-09-24  Casey Marshall <csm@gnu.org>
258         * java/io/ObjectInputStream.java (callReadMethod): re-throw
259         `ClassNotFoundException'.
261 2004-09-24  Jeroen Frijters  <jeroen@frijters.net>
263         * java/io/ObjectInputStream.java (readObject): Delegate instantation
264         of Externalizable classes to ObjectStreamClass.
265         * java/io/ObjectStreamClass.java (newInstance): New method to
266         instantiate Externalizable (while ignoring the accessibility of
267         the constructor). (constructor): New field to cache the constructor.
269 2004-09-24  Mark Wielaard  <mark@klomp.org>
271         * java/net/URL.java (systemClassLoader): New static field.
272         (getURLStreamHandler): Always use system/application classloader
273         for finding URLStreamhandler. Remove unecessary instanceof checks.
275 2004-09-24  Guilhem Lavaux <guilhem@kaffe.org>
277         * java/net/URL.java
278         (set): This method now matches the behaviour of the JDK.
279         (DEFAULT_SEARCH_PATH): Added "gnu.inet".
281 2004-09-24  Guilhem Lavaux  <guilhem@kaffe.org>
283         * java/net/URL.java (URL): Delete whitespaces in the protocol string.
285 2004-09-24  Jeroen Frijters  <jeroen@frijters.net>
287         * java/net/URL.java (URL(String,String,int,String,URLStreamHandler):
288         Don't set authority if host isn't specified.
290 2004-09-24  Michael Koch  <konqueror@gmx.de>
292         * gnu/java/nio/PipeImpl.java: Use VMPipe for native stuff.
293         * gnu/java/nio/SelectorImpl.java: Use VMSelector for native stuff.
294         * gnu/java/nio/VMPipe.java,
295         gnu/java/nio/VMSelector.java:
296         New files.
297         * gnu/java/nio/natPipeImplEcos.cc,
298         gnu/java/nio/natPipeImplPosix.cc,
299         gnu/java/nio/natPipeImplWin32.cc:
300         Ported to VMPipe.
301         * gnu/java/nio/natSelectorImplEcos.cc,
302         gnu/java/nio/natSelectorImplPosix.cc,
303         gnu/java/nio/natSelectorImplWin32.cc:
304         Ported to VMSelector.
305         * Makefile.am: Added new files gnu/java/nio/VMPipe.java and
306         gnu/java/nio/VMSelector.java.
307         * Makefile.in: Regenerated.
309 2004-09-24  Jeroen Frijters  <jeroen@frijters.net>
311         * java/lang/StackTraceElement.java
312         (className): Renamed field to declaringClass to be compatible
313         with Sun serialization format.
315 2004-09-23  Michael Koch  <konqueror@gmx.de>
317         * java/applet/AppletContext.java,
318         java/applet/Applet.java,
319         java/applet/AppletStub.java,
320         java/applet/AudioClip.java:
321         Jalopied and checkstyle clean.
323 2004-09-23  Mark Wielaard  <mark@klomp.org>
325         * java/util/Collections.java
326         (binarySearch(List, Object, Comparator)): Explicitly
327         reverse direction in list iterator.
328         (rotate): Just return when list is empty.
330 2004-09-23  Tom Tromey  <tromey@redhat.com>
332         PR java/17329:
333         * testsuite/libjava.compile/pr17329.java: New file.
335         PR java/17380:
336         * testsuite/libjava.jacks/jacks.xfail: Added 9.2-implicit-6 and
337         9.2-implicit-7.
339 2004-09-22  Kelley Cook  <kcook@gcc.gnu.org>
341         * Makefile.am: Run aclocal with -I ../config
342         * acinclude.m4: Delete macros picked up from ../config and tidy.
343         (AM_ICONV,AM_LC_MESSAGES, PKG_CHECK_MODULES): Delete.
344         * aclocal.m4, configure, Makefile.in, gcj/Makefile.in: Regenerate.
345         * include/Makefile.in, testsuite/Makefile.in: Regenerate.
347 2004-09-22  Kelley Cook  <kcook@gcc.gnu.org>
349         * aclocal.m4: Regenerate with aclocal 1.9.2.
350         * configure: Regenerate.
351         * Makefile.in, gcj/Makefile.in: Regenerate with automake 1.9.2.
352         * include/Makefile.in, testsuite/Makefile.in: Likewise.
354 2004-09-22  David Daney  <ddaney@avtrex.com>
356         PR libgcj/17623
357         * java/net/URL.java (URL): Copy userInfo from context.
358         (getUserInfo): Return cached userInfo if present.
360 2004-09-22  Tom Tromey  <tromey@redhat.com>
362         PR libgcj/6182:
363         * mauve-libgcj: Enable java.lang.Character tests.
365 2004-09-22  Andreas Tobler  <a.tobler@schweiz.ch>
367         * Makefile.am (lib_org_ietf_jgss_la_DEPENDENCIES): Add missing
368         dependencies.
369         (lib_org_ietf_jgss_la_LIBADD): Likewise.
370         * Makefile.in: Regenerated.
372 2004-09-22  Andreas Tobler  <a.tobler@schweiz.ch>
374         * configure.ac: Introduce AC_C_BIGENDIAN_CROSS for WORDS_BIGENDIAN.
375         * configure: Regenerate.
376         * include/config.h.in: Likewise.
377         * jni/gtk-peer/gtkpeer.h (SWAPU32): Introduce macro to swap pixels.
378         * jni/gtk-peer/gnu_java_awt_peer_gtk_GtkImagePainter.c: Moved SWAPU32
379         macro to gtkpeer.h.
380         * jni/gtk-peer/gnu_java_awt_peer_gtk_GdkGraphics2D.c
381         (Java_gnu_java_awt_peer_gtk_GdkGraphics2D_getImagePixels): Convert
382         pixels from  0xBBGGRRAA to 0xAARRGGBB only on Little Endian
383         architectures.
384         * jni/gtk-peer/gnu_java_awt_peer_gtk_GdkPixbufDecoder.c (area_updated):
385         Likewise.
387 2004-09-22  Tom Tromey  <tromey@redhat.com>
389         PR libgcj/14446:
390         * java/util/zip/GZIPInputStream.java (read): Avoid sign extension
391         when comparing CRCs.
392         * java/util/zip/InflaterInputStream.java (onebytebuffer): New
393         field.
394         (read()): New overload.
396 2004-09-21  Tom Tromey  <tromey@redhat.com>
398         * java/lang/reflect/natMethod.cc (_Jv_CallAnyMethodA):
399         Indentation fix.
401 2004-09-21  Michael Koch  <konqueror@gmx.de>
403         * java/net/Socket.java
404         (getLocalAddress): Return InetAddress.ANY_IF if not bound yet.
406 2004-09-21  Casey Marshall  <csm@gnu.org>
408         * javax/crypto/MacSpi.java (clone): Provide meaningful
409         implementation.
411 2004-09-21  Tom Tromey  <tromey@redhat.com>
413         PR libgcj/16869:
414         * Makefile.in: Rebuilt.
415         * Makefile.am (MOSTLYCLEANFILES): Removed.
416         (mostlyclean-local): Remove header files.
418 2004-09-21  Casey Marshall  <csm@gnu.org>
420         * java/security/cert/X509CRLSelector.java:
421         (match): remove unreachable try-catch clauses.
422         Reported by: Dalibor Topic <robilad@kaffe.org>
424 2004-09-21  Mark Wielaard  <mark@klomp.org>
426         * java/util/TreeMap.java (root): Don't initialize.
427         (TreeMap(Comparator)): Call fabricateTree(0).
428         (fabricateTree): Initialize root and size when count is 0.
430 2004-09-21  Sven de Marothy <sven@physto.se>
432         * java/nio/ByteBuffer.java (hashCode): Implemented.
433         * java/nio/CharBuffer.java: Likewise.
434         * java/nio/DoubleBuffer.java: Likewise.
435         * java/nio/FloatBuffer.java: Likewise.
436         * java/nio/LongBuffer.java: Likewise.
437         * java/nio/IntBuffer.java: Likewise.
438         * java/nio/ShortBuffer.java: Likewise.
440 2004-09-21  Andreas Tobler  <a.tobler@schweiz.ch>
442         * javax/security/auth/x500/X500Principal.java: Fix some merge glitches.
444 2004-09-21  Michael Koch  <konqueror@gmx.de>
446         * javax/net/ssl/SSLServerSocket.java:
447         Removed comment about "Do not edit this file, it's generated.".
449 2004-09-21  Andreas Tobler  <a.tobler@schweiz.ch>
451         Import the big Crypto/Jessie/Security merge from Classpath.
453         * Makefile.am: Add imported files.
454         * Makefile.in: Regenerate.
456         2004-08-14  Casey Marshall <csm@gnu.org>
458         The Big Crypto Merge of 2004.
460         * javax/security/auth/x500/X500Principal.java: Replaced with GNU
461         Crypto's version.
463         Files imported from GNU Crypto.
464         * javax/crypto/BadPaddingException.java
465         * javax/crypto/Cipher.java
466         * javax/crypto/CipherInputStream.java
467         * javax/crypto/CipherOutputStream.java
468         * javax/crypto/CipherSpi.java
469         * javax/crypto/EncryptedPrivateKeyInfo.java
470         * javax/crypto/ExemptionMechanism.java
471         * javax/crypto/ExemptionMechanismException.java
472         * javax/crypto/ExemptionMechanismSpi.java
473         * javax/crypto/IllegalBlockSizeException.java
474         * javax/crypto/KeyAgreement.java
475         * javax/crypto/KeyAgreementSpi.java
476         * javax/crypto/KeyGenerator.java
477         * javax/crypto/KeyGeneratorSpi.java
478         * javax/crypto/Mac.java
479         * javax/crypto/MacSpi.java
480         * javax/crypto/Makefile.am
481         * javax/crypto/NoSuchPaddingException.java
482         * javax/crypto/NullCipher.java
483         * javax/crypto/NullCipherImpl.java
484         * javax/crypto/SealedObject.java
485         * javax/crypto/SecretKey.java
486         * javax/crypto/SecretKeyFactory.java
487         * javax/crypto/SecretKeyFactorySpi.java
488         * javax/crypto/ShortBufferException.java
489         * javax/crypto/interfaces/DHKey.java
490         * javax/crypto/interfaces/DHPrivateKey.java
491         * javax/crypto/interfaces/DHPublicKey.java
492         * javax/crypto/interfaces/PBEKey.java
493         * javax/crypto/spec/DESKeySpec.java
494         * javax/crypto/spec/DESedeKeySpec.java
495         * javax/crypto/spec/DHGenParameterSpec.java
496         * javax/crypto/spec/DHParameterSpec.java
497         * javax/crypto/spec/DHPrivateKeySpec.java
498         * javax/crypto/spec/DHPublicKeySpec.java
499         * javax/crypto/spec/IvParameterSpec.java
500         * javax/crypto/spec/PBEKeySpec.java
501         * javax/crypto/spec/PBEParameterSpec.java
502         * javax/crypto/spec/RC2ParameterSpec.java
503         * javax/crypto/spec/RC5ParameterSpec.java
504         * javax/crypto/spec/SecretKeySpec.java
505         * javax/security/auth/AuthPermission.java
506         * javax/security/auth/DestroyFailedException.java
507         * javax/security/auth/Destroyable.java
508         * javax/security/auth/Policy.java
509         * javax/security/auth/PrivateCredentialPermission.java
510         * javax/security/auth/RefreshFailedException.java
511         * javax/security/auth/Refreshable.java
512         * javax/security/auth/Subject.java
513         * javax/security/auth/SubjectDomainCombiner.java
514         * javax/security/auth/callback/Callback.java
515         * javax/security/auth/callback/CallbackHandler.java
516         * javax/security/auth/callback/ChoiceCallback.java
517         * javax/security/auth/callback/ConfirmationCallback.java
518         * javax/security/auth/callback/LanguageCallback.java
519         * javax/security/auth/callback/NameCallback.java
520         * javax/security/auth/callback/PasswordCallback.java
521         * javax/security/auth/callback/TextInputCallback.java
522         * javax/security/auth/callback/TextOutputCallback.java
523         * javax/security/auth/callback/UnsupportedCallbackException.java
524         * javax/security/auth/login/AccountExpiredException.java
525         * javax/security/auth/login/AppConfigurationEntry.java
526         * javax/security/auth/login/Configuration.java
527         * javax/security/auth/login/CredentialExpiredException.java
528         * javax/security/auth/login/FailedLoginException.java
529         * javax/security/auth/login/LoginContext.java
530         * javax/security/auth/login/LoginException.java
531         * javax/security/auth/login/NullConfiguration.java
532         * javax/security/auth/x500/X500PrivateCredential.java
533         * javax/security/sasl/AuthenticationException.java
534         * javax/security/sasl/AuthorizeCallback.java
535         * javax/security/sasl/RealmCallback.java
536         * javax/security/sasl/RealmChoiceCallback.java
537         * javax/security/sasl/Sasl.java
538         * javax/security/sasl/SaslClient.java
539         * javax/security/sasl/SaslClientFactory.java
540         * javax/security/sasl/SaslException.java
541         * javax/security/sasl/SaslServer.java
542         * javax/security/sasl/SaslServerFactory.java
543         * org/ietf/jgss/ChannelBinding.java
544         * org/ietf/jgss/GSSContext.java
545         * org/ietf/jgss/GSSCredential.java
546         * org/ietf/jgss/GSSException.java
547         * org/ietf/jgss/GSSManager.java
548         * org/ietf/jgss/GSSName.java
549         * org/ietf/jgss/MessageProp.java
550         * org/ietf/jgss/Oid.java
551         * org/ietf/jgss/MessagesBundle.properties
553         Files imported from Jessie <http://www.nongnu.org/jessie/>
554         * javax/net/ServerSocketFactory.java
555         * javax/net/SocketFactory.java
556         * javax/net/VanillaServerSocketFactory.java
557         * javax/net/VanillaSocketFactory.java
558         * javax/net/ssl/HandshakeCompletedEvent.java
559         * javax/net/ssl/HandshakeCompletedListener.java
560         * javax/net/ssl/HostnameVerifier.java
561         * javax/net/ssl/HttpsURLConnection.java
562         * javax/net/ssl/KeyManager.java
563         * javax/net/ssl/KeyManagerFactory.java
564         * javax/net/ssl/KeyManagerFactorySpi.java
565         * javax/net/ssl/ManagerFactoryParameters.java
566         * javax/net/ssl/SSLContext.java
567         * javax/net/ssl/SSLContextSpi.java
568         * javax/net/ssl/SSLException.java
569         * javax/net/ssl/SSLHandshakeException.java
570         * javax/net/ssl/SSLKeyException.java
571         * javax/net/ssl/SSLPeerUnverifiedException.java
572         * javax/net/ssl/SSLPermission.java
573         * javax/net/ssl/SSLProtocolException.java
574         * javax/net/ssl/SSLServerSocket.java
575         * javax/net/ssl/SSLServerSocketFactory.java
576         * javax/net/ssl/SSLSession.java
577         * javax/net/ssl/SSLSessionBindingEvent.java
578         * javax/net/ssl/SSLSessionBindingListener.java
579         * javax/net/ssl/SSLSessionContext.java
580         * javax/net/ssl/SSLSocket.java
581         * javax/net/ssl/SSLSocketFactory.java
582         * javax/net/ssl/TrivialHostnameVerifier.java
583         * javax/net/ssl/TrustManager.java
584         * javax/net/ssl/TrustManagerFactory.java
585         * javax/net/ssl/TrustManagerFactorySpi.java
586         * javax/net/ssl/X509KeyManager.java
587         * javax/net/ssl/X509TrustManager.java
588         * javax/security/cert/Certificate.java
589         * javax/security/cert/CertificateEncodingException.java
590         * javax/security/cert/CertificateException.java
591         * javax/security/cert/CertificateExpiredException.java
592         * javax/security/cert/CertificateNotYetValidException.java
593         * javax/security/cert/CertificateParsingException.java
594         * javax/security/cert/X509CertBridge.java
595         * javax/security/cert/X509Certificate.java
597         2004-08-20  Casey Marshall  <csm@gnu.org>
599         * java/security/cert/X509CRLSelector.java: New file.
600         * java/security/cert/X509CertSelector.java: New file.
602 2004-09-15  Michael Koch  <konqueror@gmx.de>
604         * gnu/java/net/protocol/file/Handler.java
605         (openConnection): Don't throw exception if host part for file: URI is
606         present. setURL() keeps file: protocol if ftp: protocol is not
607         available.
609 2004-09-14  Richard Henderson  <rth@redhat.com>
611         * java/lang/natPosixProcess.cc (waitForSignal): Ignore return
612         value of sigsuspend.
614 2004-09-12  Tom Tromey  <tromey@redhat.com>
616         * javax/naming/CompoundName.java (CompoundName): Don't check for
617         separator in "flat" case.
619 2004-09-12  Michael Koch  <konqueror@gmx.de>
621         * libltdl/configure.ac: Fixed AM_INIT_AUTOMAKE usage and replaces
622         AM_CONFIG_HEADER by AC_CONFIG_FILES.
623         * libltdl/Makefile.in, libltdl/aclocal.m4, libltdl/configure:
624         Regenerate.
626 2004-09-11  Mohan Embar  <gnustuff@thisiscool.com>
628         PR libgcj/14751
629         * win32-threads.cc (_Jv_ThreadInitData): Zero out thread
630         handle in newly-allocated _Jv_Thread_t.
631         (_Jv_ThreadDestroyData): Close thread handle.
632         (_Jv_ThreadStart): Remove obsolete comment.
633         Store handle of newly-created thread in _Jv_Thread_t.
634         * include/win32-threads.h: #define WIN32_LEAN_AND_MEAN
635         before including <windows.h>
636         #define _Jv_HaveCondDestroy
638 2004-09-11  Mohan Embar  <gnustuff@thisiscool.com>
640         * java/lang/natThread.cc (finalize_native): Destroy
641         join conditional variable and mutex if these destroy
642         operations are supported.
644 2004-09-10  Dalibor Topic <robilad@kaffe.org>
646         * gnu/java/net/protocol/file/Connection.java (permission): New field.
647         (DEFAULT_PERMISSION): New constant.
648         (Connection): Create a FilePermission with permission to read file.
650 2004-09-10  Michael Koch  <konqueror@gmx.de>
652         * gnu/java/net/protocol/file/Connection.java
653         (getLastModified): Moved around.
654         (getPermission): Return stored permission.
656 2004-09-10  Michael Koch  <konqueror@gmx.de>
658         * Makefile.in: Regenerate.
660 2004-09-10  Michael Koch  <konqueror@gmx.de>
662         * Makefile.am: Reverted accidently commited stuff.
663         * configure: Regenerated.
665 2004-09-10  Michael Koch  <konqueror@gmx.de>
667         * gnu/java/net/protocol/file/Connection.java
668         (lineSeparator): Made non-final.
669         (static): Removed.
670         (connect): Initialize lineSeparator lazily. Use ByteArrayInputStream
671         instead of StringBufferInputStream.
673 2004-09-10  Michael Koch  <konqueror@gmx.de>
675         * gnu/java/net/protocol/file/Connection.java
676         (connect): Handle file is a directory case.
678 2004-09-10  Michael Koch  <konqueror@gmx.de>
680         * Makefile.am
681         (xlib_includes): Removed.
682         (AM_CPPFLAGS): Renamed from INCLUDES.
683         (lib_gnu_awt_xlib_la_CPPFLAGS): New automake variable.
684         * Makefile.in: Regenerate.
686 2004-09-09  Michael Koch  <konqueror@gmx.de>
688         * java/security/ProtectionDomain.java,
689         * java/util/PropertyPermissionCollection.java:
690         Fixed javadocs all over.
692 2004-09-09  Sven de Marothy  <sven@physto.se>
694         Patch from David Gilbert <david.gilbert@object-refinery.com>
695         * java/lang/Comparable.java: Fixed documentation errors.
696         * java/util/Arrays.java: Likewise.
698 2004-09-09  Andrew John Hughes  <gnu_andrew@member.fsf.org>
700         * java/net/Inet4Address.java
701         (Inet4Address): Added comment to serialization UID.
702         * java/text/Format.java
703         (Format): Added comment to serialization UID.
705 2004-09-09  Michael Koch  <konqueror@gmx.de>
707         * java/lang/System.java
708         (err): Fixed javadoci to point to setErr() and not setOut().
710 2004-09-09  Jeroen Frijters  <jeroen@frijters.net>
712         (normalizePath): Added special case for windows systems.
714 2004-09-09  Michael Koch  <konqueror@gmx.de>
716         * java/io/File.java
717         (dupSeparator): Made private.
718         (File(URI)): New constructor.
719         (getParentFile): Fixed javadoc.
720         (createTempFile): Reformated.
721         (setReadOnly): Added comment.
722         (deleteOnExit): Merged javadoc with classpath version.
724 2004-09-09  Michael Koch  <konqueror@gmx.de>
726         * Makefile.am: Don't try to include deps.mk.
727         * Makefile.in: Regenerated.
729 2004-09-08  Bryce McKinlay  <mckinlay@redhat.com>
731         * configure.ac (AC_CONFIG_COMMANDS): Don't create subdirectories and
732         .d files.
733         * configure: Rebuilt.
735 2004-09-04  Mohan Embar  <gnustuff@thisiscool.com>
737         * java/net/natNetworkInterfaceWin32.cc (getRealNetworkInterfaces):
738         Changed pfn from static local to local.
740 2004-09-03  Bryce McKinlay  <mckinlay@redhat.com>
741             H.J. Lu  <hongjiu.lu@intel.com>
743         PR libgcj/17290
744         * Makefile.am (GCJCOMPILE): Remove definition.
745         (AM_CFLAGS): Add -fclasspath and -fbootclasspath flags.
746         Use LTGCJCOMPILE, not GCJCOMPILE, to build .lo targets.
747         * Makefile.in: Rebuilt.
749 2004-09-03  Kelley Cook  <kcook@gcc.gnu.org>
751         * configure.ac (enable-gc-debug): Update help for new syntax.
752         * configure: Regenerate.
754 2004-09-03  David Daney  <ddaney@avtrex.com>
756         * include/mips-signal.h: Update copyright.
758 2004-09-03  David Daney  <ddaney@avtrex.com>
760         * configure.host: Use -fno-use-divide-subroutine for mips*-*-linux*.
761         * include/mips-signal.h: Added HANDLE_FPE support.
762         
763 2004-08-31  Michael Koch  <konqueror@gmx.de>
765         * javax/swing/plaf/basic/BasicTextAreaUI.java
766         (create): New method.
767         * javax/swing/text/DefaultHighlighter.java
768         (DefaultHighlightPainter.debugRect): Removed.
769         * javax/swing/text/StyleContext.java
770         (DEFAULT_STYLE): New field.
772 2004-08-31  Michael Koch  <konqueror@gmx.de>
774         * javax/swing/plaf/basic/BasicLookAndFeel.java
775         (initComponentDefaults): Add keybindings for selection.backward and
776         selection-forward for text components.
777         * javax/swing/plaf/basic/BasicTextUI.java
778         (paintSafely): Paint highlight only when something is actually
779         selected.
780         * javax/swing/text/DefaultCaret.java
781         (handleHighlight): New method.
782         (setSelectionVisible): Don't do anything when nothing changes.
783         Handle highlight.
784         (moveDot): Reimplemented. Handle highlight.
785         (setDot): Set mark too. Handle highlight.
786         (getSelectionPainter): New method.
787         * javax/swing/text/DefaultEditorKit.java
788         (defaultActions): Added new actions for text selection.
789         * javax/swing/text/DefaultHighlighter.java
790         (DefaultHighlightPainter): New inner class.
791         (DefaultPainter): New field.
792         (paint): Implemented.
793         * javax/swing/text/PlainView.java
794         (paint): Don't draw background here again.
795         * javax/swing/text/Utilities.java
796         (getTabbedTextWidth): Use width of ' ' instead of 'm' for tabsize.
797         (drawTabbedText): Likewise.
799 2004-08-31  Graydon Hoare  <graydon@redhat.com>
801         * javax/swing/JComponent.java
802         (resetKeyboardActions): Add null checks.
804 2004-08-31  Graydon Hoare  <graydon@redhat.com>
806         * javax/swing/DefaultButtonModel.java:
807         Skip group notification when no group is set.
809 2004-08-31  Graydon Hoare  <graydon@redhat.com>
811         * javax/swing/JColorChooser.java: 
812         Make a couple inner classes static, for jikes.
814 2004-08-31  Michael Koch  <konqueror@gmx.de>
816         * javax/swing/plaf/basic/BasicTextUI.java
817         (RottView.modelToView): New method.
818         (UpdateHandler): Renamed from EventHandler.
819         (updateHandler): Renamed from eventHandler.
820         (modelToView): Implemented.
821         * javax/swing/text/AbstractDocument.java
822         (BranchElement.getElement): Return null for non-existing indeces.
823         (BranchElement.getElementIndex): Return 0 in some corner cases.
824         * javax/swing/text/FieldView.java
825         (modelToView): New method.
826         * javax/swing/text/PlainView.java
827         (modelToView): Made public.
829 2004-08-31  Kim Ho  <kho@redhat.com>
831         * Makefile.am: New files.
832         * Makefile.in: Regenerate.
833         * gcj/Makefile.in: Regenerate.
834         * include/Makefile.in: Regenerate.
835         * java/awt/Color.java: Fix documentation.
836         (RGBtoHSB): Use floats for conversions.
837         * javax/swing/ButtonGroup.java: Run Jalopy.
838         (setSelected): Reimplement.
839         * javax/swing/DefaultButtonModel.java: Run Jalopy.
840         (changeState): Let ButtonGroup know that the button 
841         is changing state.
842         * javax/swing/JColorChooser.java: Implement.
843         * javax/swing/JLabel.java: Run Jalopy.
844         * javax/swing/JSpinner.java: Run Jalopy.
845         (setValue): New method.
846         * javax/swing/JTabbedPane.java: Run Jalopy.
847         (removeTabAt): Call correct remove method.
848         * javax/swing/SpinnerNumberModel.java: Run Jalopy.
849         (getPreviousValue): Compare minimum value.
850         * javax/swing/Timer.java: Run Jalopy.
851         (run): Comment out println.
852         * javax/swing/ToolTipManager.java:
853         (mouseMoved): Get new tooltip text for location.
854         * javax/swing/colorchooser/AbstractColorChooserPanel.java:
855         Jalopy and Javadoc.
856         * javax/swing/colorchooser/ColorChooserComponentFactory.java:
857         Implement.
858         * javax/swing/colorchooser/DefaultColorSelectionModel.java:
859         Run Jalopy.
860         (setSelectedColor): Fire ChangeEvent.
861         * javax/swing/colorchooser/DefaultHSBChooserPanel.java:
862         New file. Implement.
863         * javax/swing/colorchooser/DefaultPreviewPanel.java:
864         Ditto.
865         * javax/swing/colorchooser/DefaultRGBChooserPanel.java:
866         Ditto.
867         * javax/swing/colorchooser/DefaultSwatchChooserPanel.java:
868         Ditto.
869         * javax/swing/plaf/basic/BasicArrowButton.java:
870         (getArrow): Fix size of upward pointing button.
871         * javax/swing/plaf/basic/BasicColorChooserUI.java:
872         Implement.
873         * javax/swing/plaf/basic/BasicSliderUI.java:
874         (getWidthOfWidestLabel): Use preferred dimensions.
875         (getHeightOfTallestLabel): Ditto.
876         * javax/swing/plaf/basic/BasicSpinnerUI.java:
877         Run Jalopy.
878         (mousePressed): Disable changes to spinner if it is not enabled.
879         * testsuite/Makefile.in: Regenerate.
882 2004-08-31  Michael Koch  <konqueror@gmx.de>
884         * javax/swing/plaf/basic/BasicTableHeaderUI.java,
885         javax/swing/plaf/basic/BasicTableUI.java:
886         Added copyright notice.
888 2004-08-31  Olga Rodimina  <rodimina@redhat.com>
890         * Makefile.am: Added new files.
891         * Makefile.in: Regenerate.
892         * javax/swing/ComboBoxEditor.java: Added javadocs.
893         * javax/swing/ComboBoxModel.java: Likewise.
894         * javax/swing/DefaultComboBoxModel.java: Implemented.
895         * javax/swing/DefaultListCellRenderer.java: Added javadocs
896         and ran through jalopy to fix formatting style.
897         (getListCellRendererComponent): Use appropriate border
898         if renderer has focus and use noFocusBorder when it doesn't.
899         * javax/swing/JComboBox.java: Implemented.
900         * javax/swing/JList.java:
901         (locationToIndex): New Method. Implemented.
902         (indexToLocation): New Method.
903         * javax/swing/JPopupMenu.java: 
904         (visible): New field.
905         (isVisible): Changed to use new field above.
906         (setVisible): Likewise.
907         * javax/swing/MutableComboBoxModel.java: Added javadocs.
908         * javax/swing/plaf/basic/BasicArrowButton.java: 
909         (shadow): Changed default color to Color.gray.
910         * javax/swing/plaf/basic/BasicComboBoxUI.java: New File.
911         UI delegate for JComboBox.
912         * javax/swing/plaf/basic/BasicComboPopup.java: New File.
913         Popup menu containing list of JComboBox's items.
914         * javax/swing/plaf/basic/BasicComboBoxEditor.java: New File.
915         * javax/swing/plaf/basic/BasicComboBoxRenderer.java: New File.
916         * javax/swing/plaf/basic/BasicComboBoxUI.java: New File.
917         * javax/swing/plaf/basic/BasicComboPopup.java: New File.
918         * javax/swing/plaf/basic/BasicPopupMenuUI.java:
919         (popupMenuWillBecomeVisible): Set selected path to the first
920         element only if it is of type MenuElement. Also fix formatting
921         style.
922         * javax/swing/plaf/basic/ComboPopup.java: Added javadocs and missing
923         methods signatures.
924         
925 2004-08-31  Michael Koch  <konqueror@gmx.de>
927         * javax/swing/text/AbstractDocument.java
928         (createBranchElement): Use new constructor of BranchElement.
929         (createLeafElement): Renamed arguments.
930         (getRootElements): Implemented.
931         (BranchElement.start): Removed.
932         (BranchElement.end): Likewise.
933         (BranchElement.BranchElement): Fixed arguments.
934         (BranchElement.getEndOffset): Reimplemented.
935         (BranchElement.getStartOffset): Likewis.
936         * javax/swing/text/DefaultCaret.java
937         (paint): Draw simple vertical line as caret instead of a rectangle.
938         * javax/swing/text/JTextComponent.java
939         (setText): Use doc directly.
940         * javax/swing/text/PlainView.java
941         (nextTabStop): Implemented.
942         * javax/swing/text/Utilities.java
943         (drawTabbedText): nextTabStop() returns an absolute x position.
944         (getTabbedTextWidth): Likewise.
946 2004-08-31  Graydon Hoare  <graydon@redhat.com>
948         * java/awt/Component.java 
949         (isFocusTraversable): Predicate on isLightweight()
950         (setFocusable): Set isFocusTraversableOverridden.
951         (requestFocus): Predicate peer dispatch on !isLightweight()
952         (requestFocusInWindow): Likewise.
953         (dispatchEventImpl): Coordinate with KeyboardFocusManager.
954         * java/awt/Container.java
955         (dispatchEventImpl): Predicate on event mask.
956         (LightweightDispatcher): Remove focus machinery.
957         * java/awt/DefaultFocusTraversalPolicy.java
958         (accept): Expand predicate to include isFocusable(). 
959         * java/awt/DefaultKeyboardFocusManager.java:
960         Globally change c.dispatchEvent(e) to redispatchEvent(c,e)
961         * java/awt/KeyboardFocusManager.java
962         (redispatchEvent): Synchronize on event to prevent feedback.
963         * javax/swing/AbstractButton.java
964         (ButtonFocusListener): Remove class.
965         (init): Set focusPainted, focusable.
966         * javax/swing/ActionMap.java (get): Check parent for null. 
967         * javax/swing/InputMap.java (get): Likewise. 
968         * javax/swing/JComponent.java
969         (inputMap_whenFocused): New InputMap.
970         (inputMap_whenAncestorOfFocused): Likewise.
971         (inputMap_whenInFocusedWindow): Likewise.
972         (getActionForKeyStroke): Rewrite.
973         (getConditionForKeystroke): Likewise.
974         (ActionListenerProxy): New private class.
975         (setInputMap): Implement.
976         (getInputMap): Likewise.
977         (setActionMap): Likewise.
978         (getActionMap): Likewise.
979         (processComponentKeyEvent): New empty method.
980         (processKeyEvent): Implement.
981         (processKeyBinding): Likewise.
982         (resetKeyboardActions): Rewrite.
983         * javax/swing/KeyStroke.java: Rewrite.
984         * javax/swing/SwingUtilities.java
985         (notifyAction): Implement.
986         (replaceUIActionMap): Likewise.
987         (replaceUIInputMap): Likewise.
988         * javax/swing/plaf/basic/BasicButtonListener.java
989         (focusGained): Implement.
990         (focusLost): Repaint if focusPainted().
991         (installKeyboardActions): Install pressed / released actions.
992         (uninstallKeyboardActions): Implement.
993         * javax/swing/plaf/basic/BasicButtonUI.java
994         (focusColor): New field.
995         (installDefaults): Load focus color, install input map.
996         (installKeyboardActions): Implement.
997         (uninstallKeyboardActions): Likewise.
998         (paintFocus): Rewrite.
999         * javax/swing/plaf/basic/BasicLookAndFeel.java
1000         (Button.focus): New default, midPurple. 
1001         * javax/swing/plaf/basic/BasicTextUI.java
1002         (kit): Make static.
1003         (installUI): Get doc from kit, load defaults.
1004         (getKeymapName): Implement.
1005         (createKeymap): Likewise.
1006         (installKeyboardActions): Likewise.
1007         (getInputMap): Likewise.
1008         (getActionMap): Likewise.
1009         (createActionMap): Likewise.
1010         * javax/swing/text/AbstractDocument.java
1011         (getStartPosition): Implement.
1012         (getEndPosition): Likewise.
1013         * javax/swing/text/DefaultEditorKit.java
1014         (CopyAction): New class.
1015         (CutAction): Likewise.
1016         (DefaultKeyTypedAction): Likewise.
1017         (InsertBreakAction): Likewise.
1018         (InsertContentAction): Likewise.
1019         (InsertTabAction): Likewise.
1020         (PasteAction): Likewise.
1021         (defaultActions): New static table.
1022         (createCaret): Implement.
1023         (getActions): Likewise.
1024         * javax/swing/text/JTextComponent.java
1025         (KeymapWrapper): New private class.
1026         (KeymapActionMap): Likewise.
1027         (DefaultKeymap): New class.
1028         (keymaps): New static table.
1029         (keymap): New field.
1030         (getKeymap): Implement.
1031         (removeKeymap): Likewise.
1032         (addKeymap): Likewise.
1033         (setKeymap): Likewise.
1034         (loadKeymap): Likewise.
1035         (getActions): Likewise.
1036         (margin): New field.
1037         (JTextComponent): Build and install default keymap.
1038         * javax/swing/text/TextAction.java
1039         (textAction): Call super properly.
1040         (getTextComponent): Implement.
1041         * javax/swing/text/Utilities.java
1042         (drawTabbedText): Adjust position by ascent.
1044 2004-08-31  David Jee  <djee@redhat.com>
1046         PR AWT/17156
1048         * gnu/java/awt/peer/gtk/GtkMenuItemPeer.java
1049         (setEnabled): Make it a native method.
1050         * java/awt/DefaultKeyboardFocusManager.java
1051         (postProcessKeyEvent): Only post event if the menu item
1052         is active.
1053         * java/awt/MenuItem.java:
1054         Private field 'enabled' should be true by default.
1055         * jni/gtk-peer/gnu_java_awt_peer_gtk_GtkMenuItemPeer.c
1056         (setEnabled): New function.
1058 2004-08-31  David Jee  <djee@redhat.com>
1060         PR AWT/17059
1062         * gnu/java/awt/peer/gtk/GtkMenuBarPeer.java
1063         (nativeSetHelpMenu): New native method declaration.
1064         (addHelpMenu): Call nativeSetHelpMenu().
1065         (addMenu): Remove.
1066         * java/awt/MenuBar.java
1067         (setHelpMenu): Call addNotify() on the new help menu.
1068         (add): Call addNotify() on the new menu.
1069         (addNotify): Set the help menu if one exists.
1070         * java/awt/peer/MenuBarPeer.java
1071         (addMenu): Remove.
1072         * jni/gtk-peer/gnu_java_awt_peer_gtk_GtkMenuBarPeer.c
1073         (nativeSetHelpMenu): New method.
1075 2004-08-31  Graydon Hoare  <graydon@redhat.com>
1077         * Makefile.am: Add new files.
1078         * Makefile.in: Regenerate.
1079         * javax/swing/Box.java: Fix setting of layout in ctor.
1080         * javax/swing/JScrollPane.java: Scroll headers as well.
1081         * javax/swing/JTable.java: Reimplement.
1082         * javax/swing/JViewPort.java: Only add non-null children.
1083         * javax/swing/ScrollPaneLayout.java: Correct header calculations.
1084         * javax/swing/Timer.java: Fix stopping null waker.
1085         * javax/swing/plaf/basic/BasicTableHeaderUI.java: New file.
1086         * javax/swing/plaf/basic/BasicTableUI.java: New file.
1087         * javax/swing/table/DefaultTableCellRenderer.java: Configure.
1088         * javax/swing/table/DefaultTableColumnModel.java: Flesh out.
1089         * javax/swing/table/DefaultTableModel.java: Clean up.
1090         * javax/swing/table/JTableHeader.java: Implement.
1092 2004-08-31  Mark Wielaard  <mark@klomp.org>
1094         * javax/swing/JSpinner.java (getChangeListeners): Remove double
1095         semi-colon.
1097 2004-08-31  Mark Wielaard  <mark@klomp.org>
1099         * jni/gtk-peer/gnu_java_awt_peer_gtk_GdkClasspathFontPeerMetrics.c:
1100         Declare variables at top of functions/block.
1101         * jni/gtk-peer/gnu_java_awt_peer_gtk_GdkGraphics2D.c: Likewise.
1103 2004-08-31  Mark Wielaard  <mark@klomp.org>
1105         * java/lang/Rectangle.java (intersects): Check r.width and r.height
1106         first.
1108 2004-08-31  Michael Koch  <konqueror@gmx.de>
1110         * javax/swing/text/PlainView.java
1111         (selectedColor): New field.
1112         (unselectedColor): Likewise.
1113         (font): Likewise.
1114         (updateMetrics): New method.
1115         (lineToRect): Likewise.
1116         (modelToView): Likewise.
1117         (drawSelectedText): Use color from JTextComponent ad draw with
1118         Utilities class.
1119         (drawUnselectedText): Likewise.
1120         (paint): Initialize helper fields.
1121         * javax/swing/text/View.java
1122         (getChildAllocation): New method.
1123         (getViewIndex): Likewise.
1124         (getToolTipText): Likewise.
1126 2004-08-31  Michael Koch  <konqueror@gmx.de>
1128         * javax/swing/text/Utilities.java
1129         (drawTabbedText): Reimplemented.
1130         (getTabbedTextWidth): Likewise.
1132 2004-08-31  Michael Koch  <konqueror@gmx.de>
1134         * javax/swing/plaf/basic/BasicTextUI.java
1135         (installDefaults): Install caret and highlighter.
1136         (modelToView): Use Bias.Forward when calling sibling.
1137         * javax/swing/text/AbstractDocument.java
1138         (ElementEdit): Implements DocumentEvent.ElementChange.
1139         (ElementEdit.ElementEdit): New method.
1140         (ElementEdit.getChildrenAdded): Likewise.
1141         (ElementEdit.getChildrenRemoved): Likewise.
1142         (ElementEdit.getElement): Likewise.
1143         (ElementEdit.getIndex): Likewise.
1144         * javax/swing/text/DefaultCaret.java
1145         (color): Removed.
1146         (textComponent): Renamed from parent, made private.
1147         (selectionVisible): Renamed from vis_sel, made private.
1148         (blinkRate): Renamed from blink, made private.
1149         (magicCaretPosition): Renamed from magic, made private.
1150         (visible): Renamed from vis, made private.
1151         (dot): Made private.
1152         (mark): Likewise.
1153         (deinstall): Remove as MouseMotionListener.
1154         (install): Initialize textComponent first. Add as MouseMotionListener.
1155         (paint): Reimplemented.
1156         * javax/swing/text/JTextComponent.java
1157         (setCaret): Deinstall old caret, install new one and fire property
1158         change after setting property.
1159         (setHighlighter): Deinstall old highlighter, install new one and fire
1160         property change after setting property.
1161         (setCaretColor): Fire property change after setting property.
1162         (setDisabledTextColor): Likewise.
1163         (setSelectedTextColor): Likewise.
1164         (setSelectionColor): Likewise.
1165         (modelToView): New method.
1167 2004-08-31  Michael Koch  <konqueror@gmx.de>
1169         * javax/swing/text/AbstractDocument.java
1170         (getText): Simplified.
1171         * javax/swing/text/Segment.java
1172         (current): New field.
1173         (current): Reimplemented.
1174         (first): Likewise.
1175         (getIndex): Likewise.
1176         (last): Likewise.
1177         (next): Likewise.
1178         (previous): Likewise.
1179         (setIndex): Likewise.
1181 2004-08-31  Michael Koch  <konqueror@gmx.de>
1183         * javax/swing/plaf/basic/BasicButtonUI.java
1184         (defaultTextIconGap): Made protected.
1185         (defaultTextShiftOffset): Likewise.
1186         (textShiftOffset): New field.
1187         (clearTextShiftOffset): New method.
1188         (getTextShiftOffset): Likewise.
1189         (setTextShiftOffset): Likewise.
1191 2004-08-31  Michael Koch  <konqueror@gmx.de>
1193         * javax/swing/plaf/basic/BasicTextUI.java
1194         (installUI): Add eventHandler as property listener.
1195         (uninstallUI): remove eventHandler as propert listener.
1196         (installDefaults): Added comment.
1197         (installListeners): Likewise.
1198         (installKeyboardActions): Likewise.
1199         (uninstallDefaults): Likewise.
1200         (uninstallListeners): Likewise.
1201         (uninstallKeyboardActions): Likewise.
1203 2004-08-31  Michael Koch  <konqueror@gmx.de>
1205         * javax/swing/text/AbstractDocument.java:
1206         Fixed some typos in comments.
1207         (insertString): Reimplemented.
1208         (remove): Likewise.
1209         (replace): New method.
1210         (children): Dont use fully qualified class name.
1211         (DefaultDocumentEvent.offset): Renamed from off.
1212         (DefaultDocumentEvent.length): Renamed from len.
1213         (DefaultDocumentEvent.type): New field.
1214         (DefaultDocumentEvent.DefaultDocumentEvent): New constructor.
1215         (DefaultDocumentEvent.getType): Implemented.
1217 2004-08-31  Michael Koch  <konqueror@gmx.de>
1219         * javax/swing/plaf/basic/BasicTextUI.java
1220         (RootView.textComponent): Removed.
1221         (RootView.RootView): Don't initialize textComponent.
1222         (RootView.getViewFactory): New method.
1223         (EventHandler): New inner class.
1224         (rootView): Initialize at instance creation.
1225         (eventHandler): New field.
1226         (installUI): Don't create view hierarchy directly,
1227         call modelChanged() instead.
1228         (modelChanged): New method.
1229         * javax/swing/text/JTextComponent.java
1230         (setDocument): Fire property change event.
1232 2004-08-31  Michael Koch  <konqueror@gmx.de>
1234         * javax/swing/plaf/basic/BasicTextUI.java
1235         (RootView.paint): Removed debug output.
1236         (paintSafely): Draw highlighter before text.
1237         (paintBackground): Use background color of text component.
1238         * javax/swing/plaf/basic/BasicToggleButtonUI.java:
1239         Reformatted.
1241 2004-08-31  Michael Koch  <konqueror@gmx.de>
1243         * javax/swing/plaf/basic/BasicToolBarUI.java
1244         (BasicToolBarUI): Fixed arguments for constructor.
1245         (createUI): Fixed creation of object.
1247 2004-08-31  Michael Koch  <konqueror@gmx.de>
1249         * javax/swing/DefaultListSelectionModel.java
1250         (fireValueChanged): Renamed from fireSelectionValueChanged,
1251         made protected.
1253 2004-08-31  Michael Koch  <konqueror@gmx.de>
1255         * javax/swing/text/TabSet.java
1256         (TabSet): Implements java.io.Serializable.
1257         * javax/swing/text/TabStop.java
1258         (TabStop): Implements java.io.Serializable.
1259         (TabStop): Made public.
1261 2004-08-31  Michael Koch  <konqueror@gmx.de>
1263         * javax/swing/JComponent.java
1264         (setUI): Fire PropertyChange.
1265         * javax/swing/JLabel.java
1266         (text): Renamed from labelText.
1267         (horizontalAlignment): New default vlaue.
1268         (icon): Renamed from activeIcon.
1269         (displayedMnemonic): Renamed from mnemonicKey, added default value.
1270         (displayedMnemonicIndex): Renamed from underlineChar.
1271         (setDisplayedMnemonic): Reimplemented.
1272         * javax/swing/JRadioButton.java
1273         (JRadioButton): New constructors.
1274         * javax/swing/JTextField.java
1275         (JTextField): Throw exception if colums < 0, initialitialz
1276         this.columns directly and initialize document with text conditionally.
1278 2004-08-31  Michael Koch  <konqueror@gmx.de>
1280         * javax/swing/plaf/basic/BasicFormattedTextFieldUI.java,
1281         javax/swing/plaf/basic/BasicPasswordFieldUI.java,
1282         javax/swing/plaf/basic/BasicTextAreaUI.java: New files.
1283         * javax/swing/text/FieldView.java
1284         (paint): Just call super method for now.
1285         * Makefile.am: Added new files.
1286         * Makefile.in: Regenerated.
1288 2004-08-31  Ka-Hing Cheung  <kahing@javabsp.org>
1290         * javax/swing/AbstractSpinnerModel.java,
1291         javax/swing/JSpinner.java,
1292         javax/swing/SpinnerNumberModel.java,
1293         javax/swing/plaf/basic/BasicSpinnerUI.java:
1294         New files.
1295         * javax/swing/plaf/basic/BasicLookAndFeel.java
1296         (initClassDefaults): Added defaults for BasicSpinnerUI.
1298 2004-08-31  Michael Koch  <konqueror@gmx.de>
1300         * Makefile.am: Added new files.
1301         * Makefile.in: Regenerated.
1303 2004-08-31  Michael Koch  <konqueror@gmx.de>
1305         * javax/swing/TransferHandler.java,
1306         javax/swing/plaf/basic/ComboPopup.java: New files
1307         * Makefile.am: Added javax/swing/TransferHandler.java and
1308         javax/swing/plaf/basic/ComboPopup.java
1309         * Makefile.in: Regenerated.
1311 2004-08-31  Roman Kennke  <roman@ontographics.com>
1313         * javax/swing/text/Utilities.java: New file.
1315 2004-08-31  Michael Koch  <konqueror@gmx.de>
1317         * Makefile.am: Added javax/swing/text/Utilities.java.
1318         * Makefile.in: Regenerated.
1320 2004-08-31  Graydon Hoare  <graydon@redhat.com>
1322         * javax/swing/text/SimpleAttributeSet.java: New file.
1323         * javax/swing/text/StyleConstants.java: New file.
1324         * javax/swing/text/StyleContext.java: New file.
1325         * javax/swing/text/TabSet.java: New file.
1326         * javax/swing/text/TabStop.java: New file.
1327         * javax/swing/text/AbstactDocument.java:
1328         (AbstractElement): Implement attribute support.
1329         * javax/swing/text/AttributeSet.java
1330         (NameAttribute): New static field.
1331         (ResolveAttribute): New static field.
1332         * Makefile.am: Update for new files.
1333         * Makefile.in: Regenerate.
1335 2004-08-31  Craig Black  <craig.black@aonix.com>
1337         * gnu/java/awt/peer/gtk/GdkGraphics.java 
1338         (drawImage): Add support for scaling pixmaps.
1339         * jni/gtk-peer/gnu_java_awt_peer_gtk_GdkGraphics.c
1340         (copyAndScalePixmap): New native method.
1342 2004-08-31  Thomas Fitzsimmons  <fitzsim@redhat.com>
1344         PR AWT/16121
1345         * jni/gtk-peer/gthread-jni.c: Include stdio.h.  Eliminate
1346         type-punning compiler warnings using unions.
1347         (throw): Replace bzero with memset.
1349 2004-08-31  Andreas Tobler  <a.tobler@schweiz.ch>
1350             Thomas Fitzsimmons  <fitzsim@redhat.com>
1352         * jni/gtk-peer/gnu_java_awt_peer_gtk_GdkPixbufDecoder.c: Move
1353         NSA_PB macros to gtkpeer.h.  Include gtkpeer.h.
1354         * jni/gtk-peer/gtkpeer.h: Move NSA_PB macros here.
1355         * jni/gtk-peer/gnu_java_awt_peer_gtk_GtkWindowPeer.c
1356         (nativeSetIconImageFromDecoder): Use NSA_GET_PB_PTR macro.
1358 2004-08-31  Mark Wielaard  <mark@klomp.org>
1360         * native/jni/gtk-peer/gnu_java_awt_peer_gtk_GdkPixbufDecoder.c:
1361         #include gdk.h, not gtk.h. #include jni.h, native_state.h, string.h
1362         and stdlib.h, not gtkpeer.h.
1363         (*vm): New static variable.
1364         (areaPreparedID): Make static.
1365         (areaUpdatedID): Likewise.
1366         (area_prepared): Get and use JNIEnv through stored JavaVM *vm.
1367         (area_prepared): Likewise.
1368         (area_updated): Likewise.
1369         (closed): Likewise.
1370         (initStaticState): Initialize *vm javaVM.
1371         (pumpBytes): Use given env, not global gdk_env.
1373 2004-08-31  Mark Wielaard  <mark@klomp.org>
1375         * java/awt/geom/CubicCurve2D.java (solveCubic): Removed duplicate
1376         comments.
1378 2004-08-31  Sven de Marothy  <sven@physto.se>
1380         * java/awt/geom/CubicCurve2D.java: Reindent.
1381         (contains): Implemented.
1382         (intersects): Implemented.
1383         * java/awt/geom/QuadCurve2D.java: Likewise.
1384         * java/awt/geom/GeneralPath.java: Reindent and document.
1385         Fully (re)implemented using separate xpoints and ypoints
1386         float[] coords.
1387         * java/awt/geom/RoundRectangle2D.java: Several bugfixes (Bug #6007).
1389 2004-08-31  Michael Koch  <konqueror@gmx.de>
1391         * javax/swing/JMenuItem.java
1392         (getMenuDragMouseListeners): New method.
1393         (getMenuKeyListeners): Likewise.
1395 2004-08-31  Michael Koch  <konqueror@gmx.de>
1397         * javax/swing/AbstractButton.java
1398         (model): Made protected.
1399         (actionListener): Likewise.
1400         (changeListener): Likewise.
1401         (itemListener): Likewise.
1402         (multiClickThreshhold): New field.
1403         (getActionListeners): New method.
1404         (getChangeListeners): Likewise.
1405         (getItemListeners): Likewise.
1406         (fireItemStateChanged): Simplified implementation.
1407         (fireActionPerformed): Likewise.
1408         (fireStateChanged): Likewise.
1409         (getMultiClickThreshhold): New method.
1410         (setMultiClickThreshhold): Likewise.
1412 2004-08-31  Tom Tromey  <tromey@redhat.com>
1414         * java/awt/image/Kernel.java (clone): Use super.clone().
1416 2004-08-31  David Jee  <djee@redhat.com>
1418         PR AWT/16682
1419         * gnu/java/awt/peer/gtk/GtkFramePeer.java
1420         (nativeSetIconImage): Rename to nativeSetIconImageFromDecoder.
1421         (nativeSetIconImageFromData): New native method declaration.
1422         (setIconImage): Handle images not produced from GdkPixbufDecoder.
1423         * gnu/java/awt/peer/gtk/GtkImage.java
1424         (getPixelCache): New method.
1425         (getColorModel): New method.
1426         * jni/gtk-peer/gnu_java_awt_peer_gtk_GtkWindowPeer.c
1427         (nativeSetIconImage): Rename to nativeSetIconImageFromDecoder.
1428         (free_pixbuf_data): New helper function.
1429         (nativeSetIconImageFromData): New function.
1431 2004-08-31  Graydon Hoare  <graydon@redhat.com>
1433         PR SWING/16576
1434         * javax/swing/JLayeredPane.java 
1435         (setLayer): Permit changing layer after addition.
1436         (setPosition): Permit over-length positions.
1437         (layerToRange): Compare intValue()s.
1438         * javax/swing/Box.java (createHorizontalBox): Implement.
1439         (createRigidArea): Likewise.
1440         (createVerticalBox): Likewise.
1442 2004-08-31  Kim Ho  <kho@redhat.com>
1444         * java/awt/Component.java:
1445         (processMouseEvent): Consume event after
1446         listeners process it.
1447         (processMouseMotionEvent): ditto.
1448         (processMouseWheelEvent): ditto.
1449         * java/awt/Container.java:
1450         (acquireComponentForMouseEvent):
1451         Do not dispatch to events that have been
1452         removed from the Container.
1453         (handleEvent): Consume the MouseEvents.
1454         * javax/swing/RepaintManager.java:
1455         (paintDirtyRegions): Do not add to list of 
1456         damaged areas if the component has no root.
1458 2004-08-31  Michael Koch  <konqueror@gmx.de>
1460         * javax/swing/plaf/basic/BasicMenuItemUI.java: Clean ip imports.
1462 2004-08-31  Mark Wielaard  <mark@klomp.org>
1464         * gnu/java/awt/peer/gtk/GtkToolkit.java (getFontPeer): Don't return
1465         null when a MissingResourceException is thrown. Should never happen.
1467 2004-08-31  Mark Wielaard  <mark@klomp.org>
1469         * java/awt/EventQueue.java (postEvent): Throw NullPointerException
1470         when argument is null.
1472 2004-08-31  Mark Wielaard  <mark@klomp.org>
1474         * jni/gtk-peer/gnu_java_awt_peer_gtk_GtkComponentPeer.c
1475         (Java_gnu_java_awt_peer_gtk_GtkComponentPeer_addExposeFilter):
1476         Define hid at start of function.
1477         (Java_gnu_java_awt_peer_gtk_GtkComponentPeer_removeExposeFilter):
1478         Likewise.
1480 2004-08-31  Mark Wielaard  <mark@klomp.org>
1482         * gnu/java/awt/EmbeddedWindow.java: Reindent.
1483         * javax/swing/JButton.java: Reindent.
1484         * javax/swing/JCheckBox.java: Reindent.
1486 2004-08-31  Mark Wielaard  <mark@klomp.org>
1488         * Makefile.am (gtk_c_source_files): Added
1489         jni/gtk-peer/gnu_java_awt_peer_gtk_GThreadNativeMethodRunner.c.
1490         (gtk_awt_peer_sources): Added
1491         gnu/java/awt/peer/gtk/GThreadMutex.java and
1492         gnu/java/awt/peer/gtk/GThreadNativeMethodRunner.java.
1493         * Makefile.in: Regenerated.
1495 2004-08-31  Archie Cobbs  <archie@dellroad.org>
1497         * jni/gtk-peer/gthread-jni.c: don't #include nonexistent files
1499 2004-08-31  Steven Augart  <augart@watson.ibm.com>
1501         * jni/gtk-peer/gthread-jni.c (c-font-lock-extra-types): 
1502         Added jfieldID, jmethodID.
1504 2004-08-31  Mark Wielaard  <mark@klomp.org>
1506         * jni/gtk-peer/gnu_java_awt_peer_gtk_GtkMainThread.c
1507         (Java_gnu_java_awt_peer_gtk_GtkMainThread_gtkInit): Initialize
1508         gdk_env before calling any gdk or gtk function.
1510         * gnu/java/awt/peer/gtk/GtkMainThread.java (gtkInitCalled): New field.
1511         (GtkMainThread): Call wait() in while loop waiting for gtkInitCalled.
1512         (run): Set gtkInitCalled.
1514 2004-08-31  Steven Augart  <augart@watson.ibm.com>
1516         * gnu/java/awt/peer/gtk/GtkMainThread.java (run): Pass the value of 
1517         the gnu.classpath.awt.gtk.portable.native.sync system property to C.
1519         * jni/gtk-peer/gnu_java_awt_peer_gtk_GtkMainThread.c
1520         (Java_gnu_java_awt_peer_gtk_GtkMainThread_gtkInit): New argument,
1521         portableNativeSync.  Delegate PORTABLE_NATIVE_SYNC work to
1522         init_glib_threads. 
1523         (init_glib_threads): New function.
1525 2004-08-31  Mark Wielaard  <mark@klomp.org>
1527         * jni/gtk-peer/gthread-jni.c: Define MIN_, MAX_ and NORM_
1528         PRIORITY when not already defined in header file.
1530 2004-08-31  Mark Wielaard  <mark@klomp.org>
1532         * jni/gtk-peer/gthread-jni.c (setup_cache): Call
1533         ExceptionOccurred, not ExceptionCheck, when we don't have JNI 1.2.
1535 2004-08-31  Steven Augart  <augart@watson.ibm.com>
1537         * gnu/native/jni/gtk-peer/gthread-jni.c: Indentation fixes.
1538         Implemented missing functions for GTK2.
1539         Added error handling.
1540         Renamed static functions out of the g_ namespace.
1541         Added TRACE_API_CALLS, EXPLAIN_TROUBLE, EXPLAIN_BROKEN, 
1542         EXPLAIN_BADLY_BROKEN, and DELETE_LOCAL_REFS options.
1543         Rewrote global-reference code.
1544         Eliminated cascading errors.
1545         (mutex_trylock_jni_impl) Fully implemented.
1546         (cond_timed_wait_jni_impl) Went from millisecond to microsecond
1547         resolution.
1548         (setup_cache) New function.
1549         (mutex_cond_wait_jni_impl, mutex_cond_timed_wait_jni_impl) Fixed
1550         bug where they were not unlocking the GMutex associated with the
1551         condition variable during the wait on that condition variable.
1553         * native/jni/gtk-peer/gnu_java_awt_peer_gtk_GtkMainThread.c,
1554         native/jni/gtk-peer/gthread-jni.c,
1555         native/jni/gtk-peer/gthread-jni.h
1556         (g_thread_jni_functions): Renamed to ...
1557         (portable_native_sync_jni_functions): this name.
1558         (gdk_vm): Renamed to...
1559         (the_vm): this name.
1561         * native/jni/gtk-peer/gnu_java_awt_peer_gtk_GtkMainThread.c
1562         (gdk_vm): Removed duplicate definition.
1563         (gtkInit): Removed stray message to stdout.
1564         (gtkInit): Use g_malloc and g_free instead of malloc and free.
1565         (gtkInit): Fix a const assignment bug.
1566         (gtkInit): Simplified code.
1568         * gnu/java/awt/peer/gtk/GThreadNativeMethodRunner.java,
1569         native/jni/gtk-peer/gnu_java_awt_peer_gtk_GThreadNativeMethodRunner.c,
1570         native/jni/gtk-peer/gnu_java_awt_peer_gtk_GThreadNativeMethodRunner.h,
1571         gnu/java/awt/peer/gtk/GThreadMutex.java:
1572         New files.
1574 2004-08-31  Mark Wielaard  <mark@klomp.org>
1576         * javax/swing/Box.java: Put FIXME comment above class declaration.
1577         * javax/swing/JButton.java: Remove illegal L&F HTML from comments.
1578         * javax/swing/JCheckBox.java: Likewise.
1579         * javax/swing/JDialog.java: Likewise.
1580         * javax/swing/JRadioButton.java: Likewise.
1581         * javax/swing/JToggleButton.java: Likewise.
1582         * javax/swing/UIManager.java: Likewise.
1583         * javax/swing/border/TitledBorder.java: Likewise.
1584         * javax/swing/plaf/basic/BasicLabelUI.java: Likewise.
1585         * javax/swing/plaf/basic/BasicLookAndFeel.java: Likewise.
1586         * javax/swing/plaf/basic/BasicPopupMenuSeparatorUI.java: Likewise.
1587         * javax/swing/plaf/basic/BasicProgressBarUI.java: Likewise.
1588         * javax/swing/plaf/basic/BasicScrollBarUI.java: Likewise.
1589         * javax/swing/plaf/basic/BasicSeparatorUI.java: Likewise.
1590         * javax/swing/text/JTextComponent.java: Likewise.
1592 2004-08-31  David Jee  <djee@redhat.com>
1594         PR AWT/16682
1595         * gnu/java/awt/peer/gtk/GtkFramePeer.java
1596         (setIconImage): Add a FIXME for unhandled cases.
1598 2004-08-31  Thomas Fitzsimmons  <fitzsim@redhat.com>
1600         PR AWT/16040
1601         * gnu/awt/LightweightRedirector.java: Call getModifiersEx, not
1602         getModifiers.  Replace old button masks with new ones.
1603         * gnu/awt/xlib/XEventLoop.java: Likewise.
1604         * gnu/java/awt/peer/gtk/GtkButtonPeer.java: Likewise.
1605         * gnu/java/awt/peer/gtk/GtkComponentPeer.java,
1606         jni/gtk-peer/gnu_java_awt_peer_gtk_GtkComponentPeer.c: Likewise.
1607         * gnu/java/awt/peer/gtk/GtkListPeer.java: Likewise.
1608         * gnu/java/awt/peer/gtk/GtkTextFieldPeer.java: Likewise.
1609         * java/awt/AWTKeyStroke.java: Remove old modifier masks.
1610         * java/awt/Component.java: Replace old modifier masks with new
1611         ones.
1612         * java/awt/Container.java: Call getModifiersEx, not
1613         getModifiers.
1614         * java/awt/DefaultKeyboardFocusManager.java: Likewise.  Remove
1615         old modifier masks.
1616         * javax/swing/JMenuItem.java: Replace old button masks with new
1617         ones.
1618         * javax/swing/KeyStroke.java: Call getModifiersEx, not
1619         getModifiers.
1620         * javax/swing/SwingUtilities.java: Likewise.
1621         * javax/swing/plaf/basic/BasicButtonListener.java: Likewise.
1622         * javax/swing/plaf/basic/BasicInternalFrameUI.java: Likewise.
1623         * jni/gtk-peer/gnu_java_awt_peer_gtk_GtkEvents.c: Replace old
1624         mask macros with new ones.
1625         * jni/gtk-peer/gtkpeer.h: Replace old button and modifier mask
1626         macros with new ones representing new masks.
1628 2004-08-31  Craig Black  <craig.black@aonix.com>
1630         * gnu/java/awt/peer/gtk/GdkGraphics.java
1631         (drawRoundRect): Implemented.
1632         (fillRoundRect): Implemented.
1633         * gnu/java/awt/peer/gtk/GdkGraphics2D.java
1634         (drawRoundRect): Reimplemented to match GdkGraphics.
1635         (fillRoundRect): Reimplemented to match GdkGraphics.
1637 2004-08-31  Mark Wielaard  <mark@klomp.org>
1639         * Makefile.in: Regenerated.
1641 2004-08-31  Michael Koch  <konqueror@gmx.de>
1643         * gnu/java/awt/EmbeddedWindow.java
1644         (addNotify): Use AccessController to allow execution of privileged
1645         code.
1647 2004-08-31  Michael Koch  <konqueror@gmx.de>
1649         * gnu/java/awt/EmbeddedWindow.java
1650         (static): Removed.
1651         (addNotify): Set peer via reflection.
1652         (setWindowPeer): Removed.
1653         * gnu/java/awt/natEmbeddedWindow.cc: Removed.
1654         * Makefile.am (nat_source_files):
1655         Removed gnu/java/awt/natEmbeddedWindow.cc.
1657 2004-08-31  Bryce McKinlay  <mckinlay@redhat.com>
1659         * Makefile.am: Add  gnu/java/security/action/GetPropertyAction.java
1660         and gnu/java/security/action/SetAccessibleAction.java.
1662 2004-08-31  Bryce McKinlay  <mckinlay@redhat.com>
1664         * gnu/java/security/action/GetPropertyAction.java (setParameters):
1665         Renamed from 'setName'. New 2-argument form with default value.
1666         (run): Pass default 'value' parameter to System.getProperty().
1667         * gnu/java/security/action/SetAccessibleAction.java: Fix javadoc
1668         typos.
1670 2004-08-31  Bryce McKinlay  <mckinlay@redhat.com>
1672         * gnu/java/security/action/GetPropertyAction.java: New class.
1673         * gnu/java/security/action/SetAccessibleAction.java: New class.
1675 2004-08-31  David Jee  <djee@redhat.com>
1677         * gnu/java/awt/peer/gtk/GtkFramePeer.java
1678         (setIconImage): Check if image is null.
1680 2004-08-31  David Jee  <djee@redhat.com>
1682         * gnu/java/awt/peer/gtk/GtkFramePeer.java
1683         (create): Set the icon image.
1684         (nativeSetIconImage): New native method declaration.
1685         (setIconImage): Implement.
1686         * jni/gtk-peer/gnu_java_awt_peer_gtk_GtkWindowPeer.c
1687         (nativeSetIconImage): New function.
1689 2004-08-31  Dalibor Topic <robilad@kaffe.org>
1691         * native/jni/gtk-peer/gnu_java_awt_peer_gtk_GtkFileDialogPeer.c
1692         (filenameFilterCallback): Declare local variable accepted before use.
1694 2004-08-31  Dalibor Topic <robilad@kaffe.org>
1696         * gnu/java/awt/ComponentDataBlitOp.java:
1697         Cleaned up imports.
1699 2004-08-31  Tom Tromey  <tromey@redhat.com>
1701         * gnu/java/awt/peer/GLightweightPeer.java,
1702         gnu/java/awt/peer/gtk/GdkGraphics2D.java,
1703         gnu/java/awt/peer/gtk/GtkComponentPeer.java,
1704         javax/swing/JScrollPane.java: Removed
1705         redundant imports.
1707 2004-08-31  David Jee  <djee@redhat.com>
1709         * java/awt/DefaultKeyboardFocusManager.java
1710         (postProcessKeyEvent): Only activate MenuShortcuts on KEY_PRESSED
1711         event.  Fix shift modifier checking.
1712         * jni/gtk-peer/gnu_java_awt_peer_gtk_GtkMenuPeer.c
1713         (accel_attach): Remove.
1714         (setupAccelGroup): Remove calls to accel_attach.
1716 2004-08-31  Thomas Fitzsimmons  <fitzsim@redhat.com>
1718         * gnu/java/awt/peer/gtk/GtkArg.java: Remove file.
1719         * gnu/java/awt/peer/gtk/GtkArgList.java: Remove file.
1721         * Makefile.am (gtk_awt_peer_sources): Remove GtkArg.java and
1722         GtkArgList.java.
1723         (gtk_c_files): Use CAIRO_CFLAGS and PANGOFT2_CFLAGS, not _LIBS.
1724         * Makefile.in: Regenerate.
1725         * gnu/java/awt/peer/gtk/GtkButtonPeer.java,
1726         jni/gtk-peer/gnu_java_awt_peer_gtk_GtkButtonPeer.c
1727         (create(String)): New method.
1728         (create): Call new create method.
1729         (getArgs): Remove method.
1730         * gnu/java/awt/peer/gtk/GtkCheckboxPeer.java,
1731         jni/gtk-peer/gnu_java_awt_peer_gtk_GtkCheckboxPeer.c 
1732         (nativeCreate): Rename to create.
1733         (gtkSetLabel): Rename to gtkButtonSetLabel.
1734         (gtkToggleButtonSetActive): New method.
1735         (create): Call gtkToggleButtonSetActive and gtkButtonSetLabel.
1736         (setState): Replace set call with gtkToggleButtonSetActive.
1737         (setLabel): Replace gtkSetLabel call with gtkButtonSetLabel.
1738         (getArgs): Remove method.
1739         * gnu/java/awt/peer/gtk/GtkComponentPeer.java,
1740         jni/gtk-peer/gnu_java_awt_peer_gtk_GtkComponentPeer.c
1741         (gtkWidgetSetSensitive): New method.
1742         (gtkWidgetSetParent): Likewise.
1743         (GtkComponentPeer): Call setParent, setComponentBounds and
1744         setVisibleAndEnabled.
1745         (setParent): New method.
1746         (setComponentBounds): New method.
1747         (setVisibleAndEnabled): New method.
1748         (setEnabled): Call gtkWidgetSetSensitive.
1749         (getArgs): Remove method.
1750         Remove all set methods.
1751         * gnu/java/awt/peer/gtk/GtkDialogPeer.java (create): Call
1752         gtkWindowSetModal, setTitle and setResizable.
1753         (getArgs): Remove method.
1754         * gnu/java/awt/peer/gtk/GtkFileDialogPeer.java
1755         (setComponentBounds): New method.
1756         * gnu/java/awt/peer/gtk/GtkFramePeer.java (setResizable):
1757         Replace set call with gtkWindowSetResizable.
1758         (getArgs): Remove method.
1759         (create): Call setTitle and setResizable.
1760         * gnu/java/awt/peer/gtk/GtkWindowPeer.java,
1761         jni/gtk-peer/gnu_java_awt_peer_gtk_GtkWindowPeer.c
1762         (gtkWindowSetTitle): New method.
1763         (gtkWindowSetResizable): New method.
1764         (gtkWindowSetModal): New method.
1765         (setParent): New method.
1766         (setVisibleAndEnabled): New method.
1767         (getArgs): Remove method.
1768         (setTitle): Call gtkWindowSetTitle.
1769         (setResizable): Call gtkWindowSetResizable.
1770         * jni/gtk-peer/gtkpeer.h [DEBUG_LOCKING]: New define to turn on
1771         and off locking instrumentation.
1773 2004-08-31  Kim Ho  <kho@redhat.com>
1775         * Makefile.am: Add new file.
1776         * Makefile.in: Regenerate.
1777         * gcj/Makefile.in: Regenerate
1778         * include/Makefile.in:
1779         * java/awt/Container.java:
1780         (acquireComponentForMouseEvent): Respect 
1781         the event mask when looking for candidate.
1782         * javax/swing/JComponent.java:
1783         Remove toolTip field.
1784         (createToolTip): Create a tooltip on demand.
1785         (setToolTipText): Register with the ToolTipManager.
1786         (getToolTipText(MouseEvent)): Return getToolTipText().
1787         * javax/swing/JToolTip.java: Implement.
1788         * javax/swing/Timer.java: Jalopy.
1789         (restart): Call stop, then start.
1790         (stop): Interrupt the timer rather than wait for
1791         the timer to come to a stop naturally.
1792         * javax/swing/ToolTipManager.java: Implement.
1793         * javax/swing/plaf/basic/BasicLookAndFeel.java:
1794         Change ToolTip.background color.
1795         * javax/swing/plaf/basic/BasicToolTipUI.java:
1796         Implement.
1797         * testsuite/Makefile.in: Regenerate
1799 2004-08-31  Jerry Quinn  <jlquinn@optonline.net>
1801         * java/awt/image/DirectColorModel.java (DirectColorModel): Fix
1802         constructor param comments.
1804 2004-08-31  Thomas Fitzsimmons  <fitzsim@redhat.com>
1806         * java/awt/Component.java: Document AWT 1.0 event handler
1807         methods.
1809 2004-08-31  Roman Kennke  <roman@ontographics.com>
1811         * javax/swing/Box.java:
1812         (createGlue): Implemented
1813         (createHorizontalGlue): Implemented
1814         (createHorizontalStrut): Implemented
1815         (createVerticalGlue): Implemented
1816         (createVerticalStrut): Implemented
1818 2004-08-31  David Jee  <djee@redhat.com>
1820         * gnu/java/awt/peer/gtk/GtkChoicePeer.java
1821         (GtkChoicePeer): Do not automatically select first item.
1822         (getHistory): Remove.
1823         (nativeGetSelected): New method.
1824         (nativeRemoveAll): New method.
1825         (add): Use nativeGetSelected() instead of getHistory().
1826         (remove): Likewise.
1827         (removeAll): Call nativeRemoveAll().
1828         * jni/gtk-peer/gnu_java_awt_peer_gtk_GtkChoicePeer.c
1829         (create): Migrate to GtkComboBox.
1830         (append): Likewise.
1831         (nativeAdd): Likewise.
1832         (nativeRemove): Likewise.
1833         (select): Likewise.
1834         (nativeRemoveAll): New method.
1835         (nativeGetSelected): New method.
1836         (selection_changed): New method.
1837         (getHistory): Remove.
1838         (item_activate): Remove.
1839         (item_removed): Remove.
1840         (connect_choice_item_selectable_hook): Remove.
1842 2004-08-31  Thomas Fitzsimmons  <fitzsim@redhat.com>
1844         * gnu/java/awt/peer/gtk/GtkTextFieldPeer.java (create): Use tf
1845         variable in setEditable call.
1847         * gnu/java/awt/peer/gtk/GtkTextFieldPeer.java,
1848         jni/gtk-peer/gnu_java_awt_peer_gtk_GtkTextFieldPeer.c
1849         (gtkWidgetSetBackground): New method.
1850         (gtkWidgetSetForeground): Likewise.
1851         (create): Set peer's editable state based on awtComponent's.
1853         * java/awt/Button.java (Button()): Use empty string rather than
1854         null in no-label constructor.
1856 2004-08-31  Roman Kennke  <roman@ontographics.com>
1858         * javax/swing/BoxLayout.java: Reimplement.
1860 2004-08-31  Thomas Fitzsimmons  <fitzsim@redhat.com>
1862         * gnu/java/awt/peer/gtk/GdkGraphics.java,
1863         gnu_java_awt_peer_gtk_GdkGraphics.c
1864         (initState(GtkComponentPeer)): Don't return array of colour
1865         values.
1866         (GdkGraphics(int,int)): Set default font to size 12.
1867         (GdkGraphics(GtkComponentPeer)): Set graphics colour to
1868         component's foreground colour.
1869         * gnu/java/awt/peer/gtk/GdkGraphics2D.java,
1870         gnu_java_awt_peer_gtk_GdkGraphics2D.c
1871         (initState(GtkComponentPeer)): Don't return array of colour
1872         values.
1873         (GdkGraphics2D(GtkComponentPeer)): Set foreground and background
1874         colours to component's colours.
1875         (current_colors_of_widget): Remove function.
1876         * gnu/java/awt/peer/gtk/GtkOffScreenImage.java (getGraphics):
1877         Return a new graphics object.
1878         * java/awt/Font.java (toString): Fix format.
1879         * java/awt/Graphics.java (toString): Likewise.
1881 2004-08-31  Craig Black  <craig.black@aonix.com>
1883         * native/jni/gtk-peer/gnu_java_awt_peer_gtk_GtkMenuPeer.c
1884         (addTearOff): New function.
1885         * gnu/java/awt/peer/gtk/GtkMenuPeer.java (addTearOff):
1886         New native method.
1887         (init): Call addTearOff() when menu.isTearOff().
1889 2004-08-31  Bryce McKinlay  <mckinlay@redhat.com>
1891         * gnu/java/awt/ClasspathToolkit.java (createImageProducer): New.
1892         Default implementation.
1893         * gnu/java/awt/peer/gtk/GtkToolkit.java (createImageProducer): New.
1894         Implement using GdkPixbufDecoder.
1896 2004-08-31  David Jee  <djee@redhat.com>
1898         * gnu/java/awt/peer/gtk/GtkComponentPeer.java
1899         (GtkComponentPeer): Use gtkWidgetGetPreferredDimensions() for
1900         setting the size of GtkFileDialogPeers.
1901         * jni/gtk-peer/gnu_java_awt_peer_gtk_GtkComponentPeer.c
1902         (gtkWidgetGetPreferredDimensions): For widgets extending GtkWindow,
1903         use their default sizes rather than their natural requisitions.
1905 2004-08-31  Michael Koch  <konqueror@gmx.de>
1907         * javax/swing/JFormattedTextField.java
1908         (JFormattedTextField): Implemented.
1909         * javax/swing/text/DefaultEditorKit.java
1910         (BeepAction): New inner class.
1911         * javax/swing/text/Segment.java
1912         (partialReturn): New field.
1913         (setPartialReturn): New method.
1914         (isPartialReturn): Likewise.
1915         * javax/swing/text/View.java
1916         (createFragment): Fixed typo.
1917         (getStartOffset): New method.
1918         (getEndOffset): Likewise.
1920 2004-08-31  Michael Koch  <konqueror@gmx.de>
1922         * javax/swing/table/DefaultTableColumnModel.java
1923         (serialVersionUID): Made private.
1924         (listenerList): Initialize.
1925         (changeEvent): Initialize.
1926         * javax/swing/table/JTableHeader.java
1927         (JTableHeader): New constructors.
1928         (createDefaultColumnModel): New method.
1929         * javax/swing/table/TableColumn.java
1930         (setHeaderRenderer): Simplified code.
1931         (setCellRenderer): Likewise.
1932         (setWidth): Likewise.
1934 2004-08-31  Tom Tromey  <tromey@redhat.com>
1936         * java/text/AttributedString.java (AttributedString): Use
1937         ArrayList to build array of attribute ranges.  Don't use
1938         `attribs' before it is set.
1940 2004-08-30  Andreas Tobler  <a.tobler@schweiz.ch>
1942         * HACKING: Remove reference to special automake. No longer needed.
1944 2004-08-30  Tom Tromey  <tromey@redhat.com>
1946         * gnu/java/security/util/Prime.java (generateRandomPrime): Use
1947         return result from `add'.
1949 2004-08-30  Tom Tromey  <tromey@redhat.com>
1951         * java/rmi/server/UID.java (UID): Read `nextCount', not count.
1953 2004-08-30  Andreas Tobler  <a.tobler@schweiz.ch>
1955         * gnu/java/security/der/DEREncodingException.java: Remove whitespaces.
1957 2004-08-30  Jeroen Frijters  <jeroen@frijters.net>
1959         * java/io/File.java File(String,String): Fixed handling of empty
1960         path.
1962 2004-08-30  Casey Marshall  <csm@gnu.org>
1964         Author e-mail updated for all files.
1965         * gnu/java/security/OID.java (equals): Test if the aurgment is an
1966         instance of OID.
1967         (compareTo): Use `equals'.
1968         * gnu/java/security/der/BitString.java (equals): Test if the
1969         argument is an instance of BitString.
1970         * gnu/java/security/der/DERReader.java: Removed NIO imports.  Made
1971         class final. Made fields private.
1972         (<init>): New constructor.
1973         (skip): New method.
1974         (makeString): Made static; don't use NIO.
1975         (fromIso88591, fromUtf16Be, fromUtf8): New methods.
1976         * gnu/java/security/der/DERWriter.java: Fixed imports.
1977         (writeString): Don't use NIO.
1978         (toIso88591, toUtf16Be, toUtf8): New methods.
1979         * gnu/java/security/der/DERValue.java: Formatting changes only.
1980         * gnu/java/security/der/DER.java: Likewise.
1982 2004-08-30  Tom Tromey  <tromey@redhat.com>
1984         * java/nio/CharBuffer.java (put): Fix typo.
1985         * java/nio/DoubleBuffer.java (put): Fix typo.
1986         * java/nio/FloatBuffer.java (put): Fix typo.
1987         * java/nio/IntBuffer.java (put): Fix typo.
1988         * java/nio/LongBuffer.java (put): Fix typo.
1989         * java/nio/ShortBuffer.java (put): Fix typo.
1991 2004-08-30  Florian Weimer  <fw@deneb.enyo.de>
1993         * java/nio/ByteBuffer.java (put): Fix typo.
1995 2004-08-30  Casey Marshall  <csm@gnu.org>
1997         * java/security/DummyKeyPairGenerator.java (clone): Removed
1998         useless instanceof check.
1999         * java/security/DummyMessageDigest.java (clone): Likewise.
2000         * java/security/DummySignature.java (clone): Likewise.
2001         * java/security/MessageDigest.java (clone): Remove useless
2002         instanceof check.
2003         * java/security/MessageDigestSpi.java (clone): Likewise.
2004         * java/security/Signature.java (clone): Provide meaningful
2005         implementation.
2006         * java/security/SignatureSpi.java (clone): Likewise.
2008 2004-08-29  Mark Wielaard  <mark@klomp.org>
2010         * java/util/Arrays.java
2011         (sort(byte[], int, int)): Check fromIndex < 0.
2012         (sort(char[], int, int)): Likewise.
2013         (sort(short[], int, int)): Likewise.
2014         (sort(int[], int, int)): Likewise.
2015         (sort(long[], int, int)): Likewise.
2016         (sort(float[], int, int)): Likewise.
2017         (sort(double[], int, int)): Likewise.
2018         (sort(Object[], int, int, Comparator)): Likewise.
2019         (qsort(byte[], int, int)): Honor lower bound from in insertion sort.
2020         (qsort(char[], int, int)): Likewise.
2021         (qsort(short[], int, int)): Likewise.
2022         (qsort(int[], int, int)): Likewise.
2023         (qsort(long[], int, int)): Likewise.
2024         (qsort(float[], int, int)): Likewise.
2025         (qsort(double[], int, int)): Likewise.
2027 2004-08-29  Andrew John Hughes  <gnu_andrew@member.fsf.org>
2029         * java/util/AbstractCollection.java, java/util/AbstractList.java,
2030         java/util/AbstractMap.java, java/util/AbstractSequentialList.java,
2031         java/util/ArrayList.java, java/util/Arrays.java,
2032         java/util/BitSet.java, java/util/Calendar.java,
2033         java/util/Collection.java, java/util/ListIterator.java,
2034         java/util/Map.java, java/util/SortedSet.java:
2035         Added additional exceptions to documentation, along
2036         with some additions and corrections.
2038 2004-08-27  Hans Boehm  <Hans.Boehm@hp.com>
2040         * configure.ac: Handle --enable-gc-debug.
2041         * configure: Regenerate.
2042         * include/config.h.in (LIBGCJ_GC_DEBUG): Add.
2043         * boehm.cc: Include gc_mark.h, javaxfc.h, but no GC private files.
2044         Rearrange include file order.
2045         (GC_DEBUG): Set if LIBGCJ_GC_DEBUG is set.
2046         (GC_finalize_all, GC_debug_generic_malloc): Don't declare.
2047         (disable_gc_mutex): Delete along with all references.
2048         (_Jv_MarkObj, _Jv_MarkArray): Use public types,
2049         adjust for debug header size.
2050         (_Jv_AllocObj, _Jv_allocPtrFreeObj): Define out of line for
2051         debug case.
2052         (_Jv_AllocArray): Declare min_heap_addr only if needed.
2053         (gcj_describe_type_fn): New.
2054         (_Jv_InitGC): Use GC_new_free_list, GC_new_proc, and GC_new_kind.
2055         Register gcj_describe_type_fn.
2056         * include/boehm-gc.h:
2057         (_Jv_AllocObj, _Jv_allocPtrFreeObj):
2058         Don't define, but declare, for debug case.
2059         * java/lang/natObject.cc:
2060         (GC_DEBUG): Define if LIBGCJ_GC_DEBUG is set.
2062 2004-08-26  Mark Wielaard  <mark@klomp.org>
2064         Fixes PR libgcj/17002:
2065         * java/util/TimeZone.java (defaultZone): Try a couple of ways to get
2066         a TimeZoneId string and then try to convert that to a TimeZone with
2067         getDefaultSystemTimeZone(String).
2068         (timezones0): Changed type from Hashtable to HashMap.
2069         (timezones): Create HashMap, not Hashtable.
2070         (getDefaultTimeZone): New method, rewritten from CNI version.
2071         (readTimeZoneFile): New method.
2072         (readtzFile): Likewise.
2073         (skipFully): Likewise.
2074         * java/util/natTimeZone.cc (getSystemTimeZone): Renamed to
2075         getDefaultTimeZoneId and rewritten.
2076         (getDefaultTimeZoneId): Rewritten in java.
2077         
2078 2004-08-25  David Daney  <daney@avtrex.com>
2080         * Makefile.am (AM_GCJFLAGS):  Add LIBGCJ_JAVAFLAGS.
2081         * Makefile.in: Regenerated.
2083 2004-08-23  Bryce McKinlay  <mckinlay@redhat.com>
2085         * prims.cc (JVMPI_NOTIFY_ALLOC): New macro. Call jvmpi_notify_alloc
2086         only if jvmpi is enabled.
2087         (jvmpi_notify_alloc): Don't check if jvmpi is enabled here.
2088         (_Jv_AllocObjectNoFinalizer): Use JVMPI_NOTIFY_ALLOC.
2089         (_Jv_AllocString): Likewise.
2090         (_Jv_AllocPtrFreeObject): Likewise.     
2092 2004-08-23  Hans Boehm  <Hans.Boehm@hp.com>
2094         * defineclass.cc: Include <stdio.h>.
2095         * java/lang/natClassLoader.cc: Include <stdio.h>.
2097 2004-08-21  Andreas Tobler  <a.tobler@schweiz.ch>
2098             Michael Koch  <konqueror@gmx.de>
2100         * Makefile.am (lib_gnu_java_awt_peer_gtk_la_LINK): Added.
2101         * Makefile.in: Regenerated.
2103 2004-08-20  Michael Koch  <konqueror@gmx.de>
2105         * configure.ac: Replaced all AC_TRY_COMPILE macros with
2106         AC_COMPILE_IFELSE macros.
2108 2004-08-20  Michael Koch  <konqueror@gmx.de>
2110         * configure.in: Renamed to configure.ac.
2111         * configure.ac: New file.
2112         * configure, Makefile.in, gcj/Makefile.in, include/Makefile.in
2113         include/config.h.in, testsuite/Makefile.in: Regenerated.
2115 2004-08-20  Michael Koch  <konqueror@gmx.de>
2117         * configure.in: Rewrote some obsolete stuff for autoconf 2.59.
2118         * aclocal.m4, configure: Regenerated.
2120 2004-08-19  Thomas Fitzsimmons  <fitzsim@redhat.com>
2121             Michael Koch  <konqueror@gmx.de>
2123         * configure.in, Makefile.am: Ported to automake 1.9.
2124         * Makefile.in, aclocal.m4, configure, gcj/Makefile.in, 
2125         include/Makefile.in, testsuite/Makefile.in, include/config.h.in:
2126         Regenerated.
2128 2004-08-19  Tom Tromey  <tromey@redhat.com>
2130         * java/net/DatagramSocket.java: Fixed typo.
2132 2004-08-18  Bryce McKinlay  <mckinlay@redhat.com>
2134         PR libgcj/17081
2135         * java/net/URI.java (string): New field. Make all other fields
2136         transient.
2137         (readObject): Implemented.
2138         (writeObject): Implemented.
2139         (URI): Set 'string'.
2141 2004-08-18  Bryce McKinlay  <mckinlay@redhat.com>
2143         PR libgcj/17079
2144         * java/util/logging/Handler.java (isLoggable): Accept record if its
2145         log level equals the threshold level. From Robin Green.
2147 2004-08-18  David Daney  <ddaney@avtrex.com>
2149         * java/lang/natPosixProcess.cc (waitForSignal): Use sigsuspend 
2150         instead of sigwait.
2152 2004-08-17  Michael Koch  <konqueror@gmx.de>
2154         * Makefile.am (AM_CXXFLAGS): Reformatted to make it more ease to read.
2155         * Makefile.in: Regenerated.
2157 2004-08-16  Tom Tromey  <tromey@redhat.com>
2159         PR java/8473:
2160         * testsuite/libjava.jacks/jacks.xfail: Removed passing test.
2162 2004-08-16  Michael Koch  <konqueror@gmx.de>
2164         * Makefile.am
2165         (math_c_files): Renamed from c_files.
2166         (math_c_source_files): Renamed from c_source_files.
2167         * Makefile.in,
2168         gcj/Makefile.in,
2169         include/Makefile.in,
2170         testsuite/Makefile.in: Regenerated.
2172 2004-08-16  Bryce McKinlay  <mckinlay@redhat.com>
2174         * configure.in (AC_CONF_SUBDIRS): Use literal for ltdl directory
2175         to avoid autoconf warning.
2176         * configure: Rebuilt.
2178 2004-08-14  Andreas Tobler  <a.tobler@schweiz.ch>
2180         * java/net/natInetAddressPosix.cc (lookup): Reflect rename of 
2181         localhostAddress to loopbackAddress.
2182         * java/net/natInetAddressWin32.cc (lookup): Likewise.
2184 2004-08-13  Bryce McKinlay  <mckinlay@redhat.com>
2186         * configure.in (GCINCS): Don't use "boehm-cflags". Instead, -I 
2187         boehm-gc's include dirs.
2188         * configure: Rebuilt.
2189         * include/boehm-gc.h: Include gc_config.h.
2191 2004-08-13  Bryce McKinlay  <mckinlay@redhat.com>
2193         * java/net/InetAddress.java (loopbackAddress): Renamed from 
2194         localhostAddress.
2195         (getByName): Return loopback address for null hostname, without
2196         security check. Use lookup(), not getAllByName.
2197         (getAllByName): Return loopback address for null hostname, without
2198         security check.
2199         * java/net/natInetAddressPosix.cc (lookup): Don't perform security
2200         check here.
2202 2004-08-13  Bryce McKinlay  <mckinlay@redhat.com>
2204         PR libgcj/17020
2205         Reported by Robin Green.
2206         * defineclass.cc (handleField): Don't throw exception on unrecognised
2207         modifier. Add FIXME comments for spec compliance.
2208         (handleMethod): Likewise.
2210 2004-08-10  Hans Boehm <Hans.Boehm@hp.com>
2212         PR libgcj/16662
2213         * java/lang/natObject.cc (LOCK_LOG, LOG): Add debug tracing.
2214         (Almost everywhere): add LOG calls, fix, add comments.
2215         (_Jv_MonitorEnter): Replace masking of LOCKED bit with assertion.
2216         Add explicit check for LOCKED bit in slow case (PR 16662).
2217         (_Jv_MonitorExit): Add casts in debug-only code.
2218         Always release LOCKED bit before throwing exception.
2219         (_Jv_ObjectCheckMonitor): Lock may be held if lightweight lock
2220         isn't.  Handle easy cases without lock acquisition.
2221         (Object::wait): Use NotifyAll for lock inflation.
2223 2004-08-12  David Daney  <ddaney@avtrex.com>
2225         * testsuite/libjava.lang/Process_1.java: New test.
2226         * testsuite/libjava.lang/Process_2.java: New test.
2227         * testsuite/libjava.lang/Process_3.java: New test.
2228         * testsuite/libjava.lang/Process_4.java: New test.
2229         * testsuite/libjava.lang/Process_5.java: New test.
2230         * testsuite/libjava.lang/Process_6.java: New test.
2231         * testsuite/libjava.lang/Process_1.out: Expected result.
2232         * testsuite/libjava.lang/Process_2.out: Expected result.
2233         * testsuite/libjava.lang/Process_3.out: Expected result.
2234         * testsuite/libjava.lang/Process_4.out: Expected result.
2235         * testsuite/libjava.lang/Process_5.out: Expected result.
2236         * testsuite/libjava.lang/Process_6.out: Expected result.
2238 2004-08-12  David Daney  <ddaney@avtrex.com>
2240         PR libgcj/11801
2241         * java/lang/PosixProcess.java: Rewrote.
2242         * java/lang/natPosixProcess.cc: Rewrote.
2243         * java/lang/Runtime.java (execInternal): Declare throws IOException.
2244         * gcj/javaprims.h (ConcreteProcess$ProcessManager): Declare.
2245         * posix-threads.cc (block_sigchld) New function.
2246         (_Jv_ThreadRegister) Use it.
2247         (_Jv_ThreadStart) Use it.
2248         * configure.in (PLATFORM_INNER_NAT_HDRS): New AC_SUBST() used in...
2249         * Makefile.am: ... to specify extra native headers.
2250         * configure: Regenerated.
2251         * include/config.h: Regenerated.
2252         * Makefile.in: Regenerated.
2253         * gcj/Makefile.in: Regenerated.
2254         * include/Makefile.in: Regenerated.
2255         * testsuite/Makefile.in: Regenerated.
2257 2004-08-12  Diego Novillo  <dnovillo@redhat.com>
2259         PR tree-optimization/16867
2260         * testsuite/libjava.lang/PR16867.java: New test.
2262 2004-08-09  Per Bothner  <per@bothner.com>
2264         * gcj/javaprims.h (_Jv_Utf8Const): Change struct to a class,
2265         with private fields and access methods.
2266         (_Jv_NewStringUTF, _Jv_hashUtf8String): New function declarations.
2267         * gcj/cni.h (_Jv_NewStringUTF): Move to javaprims.h.
2268         * prims.cc (_Jv_Utf8COnst::init): New method implementation.
2269         ( _Jv_makeUtf8Const): Rewrite using new constructors.
2270         (hashUtf8String): Rename to +_Jv_hashUtf8String and make non-static.
2271         * defineclass.cc: Use new _Utf8Const access/convenience methods.
2272         * jni.cc: Likewise.
2273         * resolve.cc: Likewise.
2274         * gcj/field.h: Likewise.
2275         * include/jvm.h: Likewise.
2276         * java/lang/Class.h: Likewise.
2277         * java/lang/natClass.cc: Likwise.
2278         * java/lang/natClassLoader.cc: Likewise
2279         * java/lang/reflect/natMethod.cc: Likewise
2280         * verify.cc: Likewise.
2281         (_Jv_BytecodeVerifier::make_utf8_const):  Optimize.
2282         (~_Jv_BytecodeVerifier):  Don't need second _Jv_Free call.
2284 2004-08-10  Andrew Haley  <aph@redhat.com>
2286         * testsuite/libjava.lang/err14.java: New file.
2287         * testsuite/libjava.lang/err14.out: New file.
2289 2004-08-05  Andreas Tobler  <a.tobler@schweiz.ch>
2291         * Makefile.am: Fix missing rename from x_nat_headers to 
2292         xlib_nat_headers.
2293         * Makefile.in: Regenerated.
2295 2004-08-04  Andrew Haley  <aph@redhat.com>
2297         * java/security/BasicPermission.java: Don't check wildcards.
2299 2004-08-04  Thomas Fitzsimmons <fitzsim@redhat.com>
2300             Michael Koch  <konqueror@gmx.de>
2302         * acinclude.m4: Correctly quote PKG_CHECK_MODULES.
2303         * configure.in: Replaced all usages of AC_LINK_FILES by
2304         AC_CONFIG_LINKS.
2305         * aclocal.m4,
2306         configure: Regenerated.
2308 2004-08-04  Thomas Fitzsimmons  <fitzsim@redhat.com>
2309             Michael Koch  <konqueror@gmx.de>
2311         * acconfig.h: Removed.
2312         * Makefile.am: Rename variables for xlib peer to include xlib and
2313         gtk_c_headers to gtk_jni_headers.
2314         * Makefile.in: Regenerated.
2316 2004-08-04  Andrew Haley  <aph@redhat.com>
2318         * testsuite/lib/libjava.exp (bytecompile_file): Byte compile with
2319         debugging.
2321 2004-08-03  Nathanael Nerode  <neroden@gcc.gnu.org>
2323         * configure.in: Eliminate uses of changequote (mostly by quoting []).
2324         Replace most top level 'dnl' comments with '#' comments, conforming
2325         to new autoconf style.  Use AS_HELP_STRING throughout; improve a few
2326         help strings.
2327         * configure: Rebuilt.
2329 2004-07-17  Nathanael Nerode  <neroden@gcc.gnu.org>
2331         * acinclude.m4: Include no-executables.m4.
2332         * aclocal.m4: Rebuild.
2333         * configure.in: Convert to the autoconf 2.59 version of
2334         of the no-executables hack, and also of the nonstandard CXX
2335         hack and the multilibbed CC and CXX hack.  Change prerequisite
2336         to autoconf 2.59.
2337         * configure: Rebuild with autoconf 2.59.  (Woo-hoo!)
2338         * Makefile.in, gcj/Makefile.in, include/Makefile.in,
2339         testsuite/Makefile.in: Regenerate.
2341 2004-08-03  Tom Tromey  <tromey@redhat.com>
2343         * jni.cc: Reindented.
2345 2004-08-02  Bryce McKinlay  <mckinlay@redhat.com>
2347         * java/sql/Timestamp.java (valueOf): Synchronize access to dateFormat.
2349 2004-08-02  Bryce McKinlay  <mckinlay@redhat.com>
2351         * testsuite/libjava.compile/PR16701.java: New test.
2353 2004-08-01  Andrew John Hughes  <gnu_andrew@member.fsf.org>
2355         * java/util/Collection.java, java/util/List.java,
2356         java/util/Map.java, java/util/Set.java,
2357         java/util/SortedMap.java, java/util/SortedSet.java:
2358         Added additional exceptions to documentation.
2360 2004-08-01  Danny Smith  <dannysmith@users.sourceforge.net>
2362         PR libgcj/16814
2363         * configure.in [host *mingw*] (SYSTEMSPEC): Remove -lwsock32.
2364         * configure. Regenerate.
2365         * include/win32.h: Explicitly include winsock2.h
2366         * win32.cc (_Jv_platform_initialize): Require version 2.2 of
2367         Winsock api.
2369 2004-07-30  Michael Koch  <konqueror@gmx.de>
2371         * java/util/zip/GZIPInputStream.java
2372         (GZIPInputStream): Increase buffer size to 4k.
2373         * java/util/zip/GZIPOutputStream.java
2374         (GZIPOutputStream): Likewise.
2375         * java/util/zip/Inflater.java
2376         (setInput): Merged formating with GNU classpath.
2377         * java/util/zip/InflaterInputStream.java
2378         (InflaterInputStream): Increase buffer size to 4k.
2379         (fill): Throw exception if stream ends early.
2380         (read): Merged endless-loop with GNU classpath.
2381         (skip): Increase buffer size to 2k.
2383 2004-07-30  Michael Koch  <konqueror@gmx.de>
2385         * gnu/java/awt/EmbeddedWindow.java
2386         (addNotify): Use AccessController to allow execution of privileged
2387         code.
2389 2004-07-29  Michael Koch  <konqueror@gmx.de>
2391         * gnu/java/lang/MainThread.java:
2392         Explicitely import used classes.
2393         (args): Make it type String[].
2395 2004-07-29 Dalibor Topic <robilad@kaffe.org>
2397         * gnu/java/awt/ComponentDataBlitOp.java,
2398         gnu/java/beans/ExplicitBeanInfo.java,
2399         gnu/java/beans/IntrospectionIncubator.java,
2400         gnu/java/beans/editors/ColorEditor.java,
2401         gnu/java/beans/editors/FontEditor.java,
2402         gnu/java/beans/editors/NativeBooleanEditor.java,
2403         gnu/java/beans/editors/NativeByteEditor.java,
2404         gnu/java/beans/editors/NativeDoubleEditor.java,
2405         gnu/java/beans/editors/NativeFloatEditor.java,
2406         gnu/java/beans/editors/NativeIntEditor.java,
2407         gnu/java/beans/editors/NativeLongEditor.java,
2408         gnu/java/beans/editors/NativeShortEditor.java,
2409         gnu/java/beans/editors/StringEditor.java,
2410         gnu/java/io/ClassLoaderObjectInputStream.java,
2411         gnu/java/io/decode/Decoder.java,
2412         gnu/java/io/encode/Encoder.java,
2413         gnu/java/lang/ClassHelper.java,
2414         gnu/java/locale/Calendar.java,
2415         gnu/java/locale/Calendar_de.java,
2416         gnu/java/locale/Calendar_en.java,
2417         gnu/java/locale/Calendar_nl.java,
2418         gnu/java/locale/LocaleInformation_de.java,
2419         gnu/java/locale/LocaleInformation_en.java,
2420         gnu/java/locale/LocaleInformation_nl.java:
2421         Cleaned up imports.
2423 2004-07-28  Bryce McKinlay  <mckinlay@redhat.com>
2425         * README: Remove obsolete info. Update bug URL.
2426         * THANKS: Updated.
2427         * NEWS: Updated with news up to GCC 3.4 release.
2429 2004-07-28  Bryce McKinlay  <mckinlay@redhat.com>
2431         * gnu/java/security/action/GetPropertyAction.java (setParameters):
2432         Renamed from 'setName'. New 2-argument form with default value.
2433         (run): Pass default 'value' parameter to System.getProperty().
2434         * gnu/java/security/action/SetAccessibleAction.java: Fix javadoc
2435         typos.
2436         * gnu/java/net/protocol/http/Connection.java: Use 'setParameters'
2437         not 'setName'.
2439 2004-07-28  Bryce McKinlay  <mckinlay@redhat.com>
2441         * configure.in: Check for minimum GTK version 2.4 requirement.
2442         * configure: Rebuilt.
2444 2004-07-27  Bryce McKinlay  <mckinlay@redhat.com>
2446         * testsuite/libjava.lang/TLtest.java: Reduce sleep time.
2447         * testsuite/libjava.lang/Thread_Alive.java: Remove old email address.
2448         Reduce sleep time.
2449         * testsuite/libjava.lang/Thread_HoldsLock.java: Modify to work around
2450         compiler bug.
2451         * testsuite/libjava.lang/Thread_Interrupt.java: Remove old email 
2452         address. Reduce sleep times. Synchronize with target threads before
2453         attempting to interrupt them. Don't try to calibrate yeild count,
2454         instead, always loop for a fixed time.
2455         * testsuite/libjava.lang/Thread_Join.java: Remove old email address.
2456         * testsuite/libjava.lang/Thread_Monitor.java: Likewise.
2457         * testsuite/libjava.lang/Thread_Wait.java: Likewise.
2458         * testsuite/libjava.lang/Thread_Wait_2.java: Likewise.
2459         * testsuite/libjava.lang/Thread_Wait_Interrupt.java: Likewise.
2460         * testsuite/libjava.lang/pr179.java: Likewise.
2461         * testsuite/libjava.lang/Thread_Sleep.java: Likewise. Reduce sleep
2462         time. Remove upper bounds check on sleep time. 
2464 2004-07-27  Bryce McKinlay  <mckinlay@redhat.com>
2466         * testsuite/libjava.lang/Thread_HoldsLock.java: New test case.
2467         * testsuite/libjava.lang/Thread_HoldsLock.out: New.     
2469 2004-07-27  Bryce McKinlay  <mckinlay@redhat.com>
2471         * java/io/File.java (toURI): Throw RuntimeException, not 
2472         InternalError.
2473         * java/lang/Runtime.java (exit): Qualify static sleep() call with
2474         class name, not instance.
2476 2004-07-24  Bryce McKinlay  <mckinlay@redhat.com>
2478         * Makefile.am: Add gnu/java/security/action/GetPropertyAction.java
2479         and gnu/java/security/action/SetAccessibleAction.java.
2480         * Makefile.in: Rebuilt.
2482 2004-07-23  Bryce McKinlay  <mckinlay@redhat.com>
2484         * prims.cc (_Jv_InitPrimClass): Don't create an array class.
2485         (_Jv_CreateJavaVM): Don't pass array vtable parameter to
2486         _Jv_InitPrimClass.
2487         (DECLARE_PRIM_TYPE): Don't declare array vtables.
2488         * include/jvm.h (struct _Jv_ArrayVTable): Removed.
2489         * java/lang/Class.h (_Jv_InitPrimClass): Update friend declaration.
2491 2004-07-23  Thomas Fitzsimmons  <fitzsim@redhat.com>
2493         * Makefile.am: Replace jar, rmic and rmiregistry references with
2494         gjar, grmic and grmiregistry.
2495         * configure.in: Likewise.
2496         * Makefile.in: Regenerate.
2497         * configure: Likewise.
2498         * gcj/Makefile.in: Likewise.
2499         * include/Makefile.in: Likewise.
2500         * testsuite/Makefile.in: Likewise.
2502 2004-07-23  Bryce McKinlay  <mckinlay@redhat.com>
2504         * gnu/java/net/protocol/http/Connection.java: Use GetPropertyAction
2505         for privileged getProperty calls.
2506         * java/io/ObjectOutputStream.java (getField): No longer static. Use
2507         SetAccessibleAction instead of anonymous class for doPrivileged call.
2508         (getMethod): Likewise.
2509         (setAccessible): New field. PrivilegedAction object to use when
2510         calling setAccessible.
2511         * java/io/ObjectStreamClass.java (calculateOffsets): Use
2512         SetAccessibleAction instead of anonymous class for diPrivileged call.
2513         (setFields): Likewise.
2514         (getClassUID): Likewise.
2515         (findMethod): Likewise.
2516         * gnu/java/security/action/GetPropertyAction.java: New class.
2517         * gnu/java/security/action/SetAccessibleAction.java: New class. 
2519 2004-07-23  Bryce McKinlay  <mckinlay@redhat.com>
2521         * java/io/ObjectStreamField (ObjectStreamField): Don't unset 'toset'
2522         for final fields.
2523         * testsuite/libjava.lang/Serialization.java: New test.
2524         * testsuite/libjava.lang/Serialization.out: New.
2526 2004-07-23  Bryce McKinlay  <mckinlay@redhat.com>
2528         * gnu/java/net/DefaultContentHandlerFactory.java: Check in real file
2529         missed in last commit.
2531 2004-07-23  Mark Wielaard  <mark@klomp.org>
2533         * java/lang/System.java (static): Set http.agent system property when
2534         not yet set.
2535         * gnu/java/net/protocol/http/Connection.java (static): Get httpAgent
2536         from system property inside AccessController.doPrivileged() call.
2537         (proxyPort): Made package private.
2538         (proxyInUse): Likewise.
2539         (proxyHost): Likewise.
2540         (userAgent): Likewise.
2542 2004-07-23  Mark Wielaard  <mark@klomp.org>
2544         * gnu/java/net/DefaultContentHandlerFactory.java: New dummy
2545         implementation.
2547 2004-07-22  Bryce McKinlay  <mckinlay@redhat.com>
2549         * Makefile.am (ordinary_java_source_files): Add
2550         DefaultContentHandlerFactory.java.
2551         * Makefile.in: Rebuilt.
2552         * java/net/URLConnection.java (defaultFactory): New field.
2553         (getContent): 
2554         (getContentHandler): Renamed from 'setContentHandler'. Try 
2555         defaultFactory after user-set factory, if any. Search for content 
2556         handler implementations in gnu.java.net.content, not gnu.gcj.content.
2557         * gnu/java/net/protocol/file/Connection.java (getHeaderField):
2558         Implemented.
2559         (getLastModified): Implemented.
2560         (getPermission): Create file permission here, instead of in
2561         constructor.
2562         * gnu/java/net/protocol/gcjlib/Connection.java (getHeaderField):
2563         Implemented.
2564         * gnu/java/net/protocol/jar/Connection.java (getHeaderField):
2565         Implemented.
2566         (getLastModified): Implemented.
2567         * gnu/java/awt/ClasspathToolkit.java (createImageProducer): New.
2568         Default implementation.
2569         * gnu/java/awt/peer/gtk/GtkToolkit.java (createImageProducer): New.
2570         Implement using GdkPixbufDecoder.
2571         
2572 2004-07-21  Michael Koch  <konqueror@gmx.de>
2574         * javax/swing/JTextArea.java
2575         (setLineWrap): Fire property change event after new value is set.
2576         (setTabSize): Likewise.
2578 2004-07-21  Michael Koch  <konqueror@gmx.de>
2580         * javax/swing/JTable.java
2581         (autoCreateColumnsFromModel): New field.
2582         (autoResizeMode): Likewise.
2583         (cellEditor): Likewise.
2584         (cellSelectionEnabled): Likewise.
2585         (columnModel): Likewise.
2586         (dataModel): Likewise.
2587         (defaultEditorsByColumnClass): Likewise.
2588         (defaultRenderersByColumnClass): Likewise.
2589         (editingColumn): Likewise.
2590         (editingRow): Likewise.
2591         (gridColor): Likewise.
2592         (preferredViewportSize): Likewise.
2593         (rowHeight): Likewise.
2594         (rowMargin): Likewise.
2595         (rowSelectionAllowed): Likewise.
2596         (selectionBackground): Likewise.
2597         (selectionForeground): Likewise.
2598         (selectionModel): Likewise.
2599         (showHorizontalLines): Likewise.
2600         (showVerticalLines): Likewise.
2601         (tableHeader): Likewise.
2602         (JTable): Implemented.
2603         (getColumnModel): Likewise.
2604         (getSelectedRow): Likewise.
2605         (getSelectionModel): Likewise.
2606         (setModel): Likewise.
2607         (setSelectionModel): Likewise.
2608         (createScrollPaneForTable): New method.
2609         (createDefaultDataModel): Likewise.
2610         (createDefaultListSelectionModel): Likewise.
2611         (getModel): Likewise.
2612         (getTableHeader): Likewise.
2613         (setTableHeader): Likewise.
2614         (getColumnSelectionAllowed): Likewise.
2615         (setColumnSelectionAllowed): Likewise.
2616         (getRowSelectionAllowed): Likewise.
2617         (setRowSelectionAllowed): Likewise.
2618         (getAutoResizeMode): Likewise.
2619         (setAutoResizeMode): Likewise.
2620         (getColumnCount): Likewise.
2621         (getRowCount): Likewise.
2622         (getCellRenderer): Likewise.
2623         * javax/swing/JTree.java
2624         (cellRenderer): New field.
2625         (editable): Likewise.
2626         (rootVisible): Likewise.
2627         (showsRootHandles): Likewise.
2628         (getModel): New method.
2629         (setModel): Likewise.
2630         (isEditable): Likewise.
2631         (setEditable): Likewise.
2632         (isRootVisbile): Likewise.
2633         (setRootVisible): Likewise.
2634         (getShowsRootHandles): Likewise.
2635         (setShowRootHandles): Likewise.
2636         (getCellRenderer): Likewise.
2637         (setCellRenderer): Likewise.
2639 2004-07-21  Michael Koch  <konqueror@gmx.de>
2641         * javax/swing/JFormattedTextField.java
2642         (setDocument): Implemented.
2643         * javax/swing/JRootPane.java:
2644         Fixed javadocs.
2645         * javax/swing/JTable.java
2646         (getDefaultRenderer): New method.
2647         * javax/swing/JTextField.java
2648         (setFont): Likewise.
2649         (getPreferredSize): Likewise.
2650         * javax/swing/JToggleButton.java
2651         (getAccessibleContext): Fix javadoc.
2652         * javax/swing/JTree.java:
2653         Add some javadocs.
2654         * javax/swing/JViewport.java:
2655         Likewise.
2657 2004-07-21  David Jee  <djee@redhat.com>
2659         * gnu/java/awt/peer/gtk/GtkFileDialogPeer.java:
2660         Collect all native method declaration at the top.
2661         (create): Set the filename filter if necessary.
2662         (setDirectory): Call nativeSetDirectory().
2663         (setFilenameFilter): Implement.
2664         (filenameFilterCallback): New method.
2665         * jni/gtk-peer/gnu_java_awt_peer_gtk_GtkFileDialogPeer.c
2666         (create): Configure dialog to show hidden files.
2667         (filenameFilterCallback): New function. 
2668         (nativeSetFilenameFilter): New function.
2669         (nativeSetDirectory): New function.
2671 2004-07-21  Kim Ho  <kho@redhat.com>
2673         * javax/swing/plaf/basic/BasicSliderUI.java:
2674         Ran Jalopy.
2675         (paintTrack): Fill the track before painting
2676         the borders.
2678 2004-07-21  Graydon Hoare  <graydon@redhat.com>
2680         patch from Roman Kennke <roman@ontographics.com>
2681         * javax/swing/Spring.java: New file.
2682         * javax/swing/SpringLayout.java: New file.
2683         * Makefile.am: Add new files.
2684         * Makefile.in: Regenerate.
2686 2004-07-21  Graydon Hoare  <graydon@redhat.com>
2688         * javax/swing/plaf/basic/BasicSplitPaneUI.java: Minor layout fixes.
2689         * javax/swing/plaf/basic/BasicTabbedPaneUI.java: Likewise.
2690         * javax/swing/ScrollPaneLayout.java: Likewise.
2692 2004-07-21  Kim Ho  <kho@redhat.com>
2694         * javax/swing/DefaultDesktopManager.java:
2695         (findMinimum): Removed.
2696         (resizeFrame): Trust the UI to pass valid 
2697         bounds.
2698         * javax/swing/JOptionPane.java:
2699         Implemented showInternalXXXDialog methods.
2700         (startModal): New method.
2701         * javax/swing/plaf/basic/BasicInternalFrameUI.java:
2702         (BorderListener::mouseDragged): Verify that the new 
2703         bounds are valid before passing them to the DesktopManager.
2704         (preferredLayoutSize): Delegate
2705         to getSize.
2706         (minimumLayoutSize): Ditto.
2707         (getSize): New method.
2708         (GlassPaneDispatcher): Reimplemented by copying 
2709         a stripped down LightweightDispatcher from Container.
2710         (getMinimumSize): Call minimumLayoutSize.
2711         * javax/swing/plaf/basic/BasicOptionPaneUI.java:
2712         Ran Jalopy.
2713         (mousePressed): Add ability to properly close 
2714         JInternalFrames.
2715         * javax/swing/plaf/basic/BasicToolBarUI.java:
2716         (DragWindow): Set owner for DragWindow.
2718 2004-07-21  Jerry Quinn  <jlquinn@optonline.net>
2720         * java/awt/image/ShortLookupTable.java: New file.
2721         * java/awt/image/ByteLookupTable.java: New file.
2722         * Makefile.am: Added new files.
2723         * Makefile.in: Regenerated.
2725 2004-07-21  David Jee  <djee@redhat.com>
2727         * gnu/java/awt/peer/gtk/GtkFileDialogPeer.java
2728         (create(GtkContainerPeer)): New native method.
2729         (create()): Call native create(), passing in the parent frame
2730         as the paramter. Natively set the current file and directory.
2731         (setFile): Construct an absolute filename before passing it to
2732         the native peer.
2733         (nativeGetDirectory): New method.
2734         * jni/gtk-peer/gnu_java_awt_peer_gtk_GtkFileDialogPeer.c
2735         (window_closed): Removed.
2736         (ok_clicked): Likewise.
2737         (cancel_clicked): Likewise.
2738         (handle_response): New method.
2739         (create): Use GtkFileChooserDialog.
2740         (connectSignals): Connect to handle_response.
2741         (nativeGetDirectory): New method.
2742         (nativeSetFile): Use GtkFileChooserDialog.
2744 2004-07-21  Jerry Quinn  <jlquinn@optonline.net>
2746         * java/awt/image/LookupTable.java: New file.
2747         * Makefile.am: Added new file.
2748         * Makefile.in: Regenerated.
2750 2004-07-21  Jerry Quinn  <jlquinn@optonline.net>
2752         * java/awt/image/Kernel.java: New file.
2753         * Makefile.am: Added new file.
2754         * Makefile.in: Regenerated.
2756 2004-07-21  Olga Rodimina  <rodimina@redhat.com>
2758         * javax/swing/JCheckBoxMenuItem.java: Fixed Javadocs.
2759         * javax/swing/JMenu.java: Likewise.
2760         * javax/swing/JMenuBar.java: Likewise.
2761         (MARGIN_CHANGED_PROPERTY): New property.
2762         (setMargin): Implemented.
2763         * javax/swing/JMenuItem.java: Fixed javadocs.
2764         * javax/swing/JPopupMenuUI.java: Fixed javadocs.
2765         (LABEL_CHANGED_PROPERTY): New property.
2766         (add): changed to use createActionComponent.
2767         (createActionComponent): Implemented.   
2768         (setLabel): Fire PropertyChangeEvent if label property
2769         changes.
2770         * javax/swing/JRadioButtonMenuItem.java: Fixed javadocs.
2771         * javax/swing/plaf/basic/BasicMenuBarUI.java: Likewise.
2772         (ContainerHandler): Repaint if margin property has changed.
2773         * javax/swing/plaf/basic/BasicMenuItemUI.java:
2774         (installUI): Call installComponents().
2775         (uninstallUI): Call uinstallComponents().
2776         * javax/swing/plaf/basic/BasicMenuUI.java:
2777         Fixed javadocs.
2778         * javax/swing/plaf/basic/BasicPopupMenuUI.java:
2779         Likewise.
2781 2004-07-21  Kim Ho  <kho@redhat.com>
2783         * javax/swing/plaf/basic/BasicToolBarUI.java:
2784         (DragWindow): Use the right constructor.
2786 2004-07-21  Kim Ho  <kho@redhat.com>
2788         * javax/swing/JToolBar.java:
2789         (layoutContainer): Use getComponents.
2790         * javax/swing/plaf/basic/BasicToolBarUI.java:
2791         (DragWindow): Don't use SwingUtilities' 
2792         getOwnerFrame
2793         (ToolBarDialog): ditto.
2795 2004-07-21  Kim Ho  <kho@redhat.com>
2797         * javax/swing/JRootPane.java:
2798         Ran jalopy.
2799         (layoutContainer): Set the glasspane's size to 
2800         be the same as the content pane.
2801         (createGlassPane): Set opaque property to false.
2803 2004-07-21  Thomas Fitzsimmons  <fitzsim@redhat.com>
2805         * java/awt/Component.java (requestFocus()): Don't handle Panels
2806         specially.
2807         (requestFocus(boolean)): Likewise.
2808         (requestFocusInWindow(boolean)): Likewise.
2809         * jni/gtk-peer/gnu_java_awt_peer_gtk_GtkPanelPeer.c (create):
2810         Set GTK_CAN_FOCUS flag.
2812 2004-07-21  Kim Ho  <kho@redhat.com>
2814         * Makefile.am: Added new file.
2815         * Makefile.in: Regenerated.
2816         * gcj/Makefile.in: Regenerated.
2817         * include/Makefile.in: Regenerated.
2818         * javax/swing/AbstractButton.java:
2819         Add rollOverEnabled property.
2820         (setRolloverEnabled): Use new property.
2821         (isRolloverEnabled): Use new property.
2822         * javax/swing/JTabbedPane.java:
2823         (setComponent): Remove useless JTabbedPane.this.
2824         * javax/swing/JToolBar.java: Finish implementation.
2825         * javax/swing/plaf/basic/BasicArrowButton.java:
2826         (paint): Moved border painting to a border.
2827         * javax/swing/plaf/basic/BasicLookAndFeel.java:
2828         Change JToolBar look and feel defaults.
2829         * javax/swing/plaf/basic/BasicOptionPaneUI.java
2830         (actionPerformed): Return Integer index instead of name.
2831         (addButtonComponents): Check to see if component is
2832         JButton last.
2833         (createMessageArea): Don't use components that are not
2834         completed yet.
2835         (getIconForType): Use temporary icons.
2836         * javax/swing/plaf/basic/BasicSliderUI.java:
2837         (mousePressed): Do not return if it's on thumb.
2838         (paintMinorTickForHorizSlider): Use BLACK to paint ticks.
2839         (paintMinorTickForVertSlider): ditto.
2840         (paintMajorTickForHorizSlider): ditto.
2841         (paintMajorTickForVertSlider): ditto.
2842         * javax/swing/plaf/basic/BasicSplitPaneDivider.java:
2843         Add a border around the SplitPaneDivider.
2844         * javax/swing/plaf/basic/BasicSplitPaneUI.java:
2845         Remove comments.
2846         * javax/swing/plaf/basic/BasicToolBarSeparatorUI.java:
2847         New file. Implemented.
2848         * javax/swing/plaf/basic/BasicToolBarUI.java:
2849         Implemented.
2850         * testsuite/Makefile.in: Regenerated.
2852 2004-07-21  Graydon Hoare  <graydon@redhat.com>
2854         * javax/swing/Timer.java (run): Queue events each time cycle.
2856 2004-07-21  David Jee  <djee@redhat.com>
2858         * gnu/java/awt/peer/gtk/GtkImagePainter.java
2859         (imageComplete): Call image.imageComplete().
2860         * java/awt/image/MemoryImageSource.java:
2861         Reimplement consumers as a Vector instead of a Hashtable.  This is
2862         because enumeration on a Hashtable is not thread-safe.
2863         (addConsumer): Adapt to Vector consumers.
2864         (isConsumer): Adapt to Vector consumers.
2865         (removeConsumer): Adapt to Vector consumers.
2866         (startProduction): Adapt to Vector consumers. Call imageComplete()
2867         with STATICIMAGEDONE flag instead of SINGLEFRAME flag.
2868         (newPixels): Adapt to Vector consumers.
2869         (sendPicture): Set the color model of the image consumer.
2870         (newPixels(IIII)): Adapt to Vector consumers.
2871         (newPixels(IIIIB)): Adapt to Vector consumers.
2873 2004-07-21  Thomas Fitzsimmons  <fitzsim@redhat.com>
2875         * java/awt/Component.java (deliverEvent): Implement.
2876         (postEvent): Implement.
2877         (handleEvent): Implement.
2878         (translateEvent): New method.
2879         (dispatchEventImpl): Document.  Add AWT 1.0 event handling.
2880         * java/awt/Container.java (deliverEvent): Implement.
2881         * java/awt/Event.java (paramString): Fix formatting.
2882         * java/awt/Font.java (toString): Likewise.
2883         * java/awt/Window.java (postEvent): Implement.
2885 2004-07-21  Thomas Fitzsimmons  <fitzsim@redhat.com>
2887         * java/awt/DefaultKeyboardFocusManager.java (dispatchEvent):
2888         Set window's focus owner upon receiving a FOCUS_LOST event.
2889         * java/awt/Window.java (Window()): Refocus the previously
2890         focused component within the window when the window regains the
2891         top-level focus.
2892         (setFocusOwner): New method.
2893         * java/awt/Component.java (requestFocus): Add FIXME.
2895         * libgcj.pc.in: Remove library flags.
2897 2004-07-21  Thomas Fitzsimmons  <fitzsim@redhat.com>
2899         * gnu/java/awt/peer/gtk/GtkPanelPeer.java (handleEvent): Handle
2900         MOUSE_PRESSED event.
2901         * java/awt/Component.java (requestFocus()): Handle Panel
2902         specially.  Post FOCUS_LOST event on opposite component.
2903         (requestFocus(boolean)): Likewise.
2904         (requestFocusInWindow(boolean)): Likewise.
2905         (paramString): Reorder dimension fields.
2906         * java/awt/Container.java (paramString): Fix string format.
2907         * java/awt/DefaultKeyboardFocusManager.java (dispatchEvent):
2908         Handle FOCUS_LOST events.  Don't handle Windows specially.  Only
2909         process key events if the focus owner is non-null.
2910         (dispatchKeyEvent): Likewise.
2911         * java/awt/Frame.java (paramString): Fix formatting.
2912         (generateName): New method.
2913         (getUniqueLong): Likewise.
2914         * java/awt/KeyboardFocusManager.java (getFocusOwner): Check if
2915         the temporary focus owner is null.  If so, return the permanent
2916         focus owner.
2917         * java/awt/Panel.java (generateName): New method.
2918         (getUniqueLong): Likewise.
2919         * jni/gtk-peer/gnu_java_awt_peer_gtk_GtkWindowPeer.c: Rework
2920         signal handling to make callbacks more specific.
2922 2004-07-21  Michael Koch  <konqueror@gmx.de>
2924         * javax/swing/text/Position.java
2925         (Bias): Implemented.
2927 2004-07-21  Michael Koch  <konqueror@gmx.de>
2929         * javax/swing/LookAndFeel.java
2930         (provideErrorFeedback): New method.
2932 2004-07-21  Michael Koch  <konqueror@gmx.de>
2934         * javax/swing/JTextArea.java
2935         (tabSize): New field.
2936         (getTabSize): New method.
2937         (setTabSize): Likewise.
2939 2004-07-21  Michael Koch  <konqueror@gmx.de>
2941         * javax/swing/ActionMap.java:
2942         Fixed javadocs all over.
2943         (serialVersionUID): Made private.
2944         (parent): Don't explicitely initialize with default value.
2945         (get): SImplified.
2946         (keys): Reimplemented.
2947         (allKeys): Likewise.
2948         (convertSet): Removed.
2949         * javax/swing/ComponentInputMap.java:
2950         Fixed javadocs all over.
2951         (ComponentInputMap): Implemented.
2952         (put): Likewise.
2953         (clear): Likewise.
2954         (remove): Likewise.
2955         (SetParent): Likewise.
2956         (getComponent): Likewise.
2957         * javax/swing/InputMap.java:
2958         Fixed javadocs all over.
2959         (serialVersionUID): Made private.
2960         (parent): Don't explicitely initialize with default value.
2961         (get): SImplified.
2962         (keys): Reimplemented.
2963         (allKeys): Likewise.
2964         (convertSet): Removed.
2966 2004-07-21  Michael Koch  <konqueror@gmx.de>
2968         * javax/swing/ActionMap.java,
2969         javax/swing/ComponentInputMap.java,
2970         javax/swing/InputMap.java,
2971         javax/swing/table/DefaultTableColumnModel.java,
2972         javax/swing/table/TableColumn.java,
2973         javax/swing/table/TableColumnModel.java,
2974         javax/swing/table/TableModel.java,
2975         javax/swing/text/AbstractDocument.java,
2976         javax/swing/text/TextAction.java:
2977         Reformated.
2979 2004-07-21  Graydon Hoare  <graydon@redhat.com>
2981         * gnu/java/awt/peer/gtk/GtkToolkit.java (bufferedImageOrError): 
2982         Make method non-static.
2983         * javax/swing/AbstractButton.java:
2984         Rename fields to match property names where possible.
2985         (iconTextGap): New property.
2986         * javax/swing/JCheckBox.java: Match AbstractButton changes.
2987         (init) New method, call from after various constructors.
2988         * javax/swing/JComponent.java (revalidate): 
2989         Invalidate before queueing repair.
2990         * javax/swing/JList.java (getPreferredScrollableViewportSize):
2991         Reimplement in terms of visibleRowCount property.
2992         * javax/swing/JMenuButton.java: Match AbstractButton changes.
2993         * javax/swing/JScrollPane.java (createScrollListener): 
2994         Remove tracing chatter.
2995         * javax/swing/JToggleButton.java: Match AbstractButton changes.
2996         * javax/swing/RepaintManager.java (addInvalidComponent): 
2997         Don't invalidate.
2998         * javax/swing/ScrollPaneLayout.java: Various corrections to layout
2999         calculations.
3000         * javax/swing/SwingUtilities.java (layoutCompoundLabel): 
3001         Mimic sun behavior on top left/right positioning.
3002         * javax/swing/ViewportLayout.java (preferredLayoutSize):
3003         Remove mistaken use of preferredScrollableViewportSize here.
3004         (layoutContainer): Use view's preferred size as basis.
3005         * javax/swing/plaf/basic/BasicButtonUI.java:
3006         Set, get, and use textIconGap property.
3007         (paint) Paint text returned from layout (with ellipsis).
3008         * javax/swing/plaf/basic/BasicListUI.java:
3009         Remove tracing chatter, correct various minor calculations.
3010         (getCellBounds): Update layout state before calculating.
3011         * javax/swing/plaf/basic/BasicLookAndFeel.java (Button.Margin):
3012         Use margin default similar to sun's.    
3013         * javax/swing/plaf/basic/BasicScrollBarUI.java (ArrowIcon):
3014         (createIncreaseIcon): Center icon, minimize margins.
3015         (createDecreaseIcon): Likewise.
3016         * javax/swing/plaf/basic/BasicScrollPaneUI.java (installDefaults):
3017         Implement.
3018         (installUI): Call it.
3019         (uninstallDefaults): Implement.
3020         (uninstallUI): Call it.
3021         * javax/swing/plaf/basic/BasicToolBarUI.java (DragWindow):
3022         Call existing Window constructor.
3023         * javax/swing/plaf/basic/BasicViewportUI.java (paint):
3024         Set clip before painting.
3026 2004-07-21  Olga Rodimina <rodimina@redhat.com>
3027         
3028         * javax/swing/JMenuItem.java:
3029         (processMouseEvent): Reimplemented to deal with
3030         mouse drag events.
3031         (createMenuDragMouseEvent): New private helper method.
3032         Creates MenuDragMouseEvent.
3033         * javax/swing/MenuSelectionManager.java
3034         (componentForPoint): Implemented.
3035         (isComponentPartOfCurrentMenu): Made public.
3036         (processMouseEvent): Reimplemented to deal with 
3037         mouse drag events.
3038         (setSelectedPath): Corrected small mistake that caused
3039         path to be set incorrectly.
3040         (getPath): If given component is JMenu then also add this
3041         menu's popup menu to the selected path.
3042         * javax/swing/plaf/basic/BasicMenuItemUI.java:
3043         (getPath): Ditto.
3044         (getPreferredSize): Call getPreferredMenuItemSize().
3045         (getPreferredItemSize): Moved code from getPreferredSize to here.
3046         (installListeners): Install MouseMotionListeners.
3047         (MouseInputHandler): Pass mouse release event to MenuSelectionManager 
3048         if mouse wasn't released in the bounds of this menu item.
3049         (MenuDragMouseHandler): Implemented.
3050         * javax/swing/plaf/basic/BasicMenuUI.java:
3051         (installListeners): Install MouseMotionListener and 
3052         MenuDrageMouseListener.
3053         (MenuDragMouseHandler): Implemented.
3054         * javax/swing/plaf/basic/BasicPopupMenuUI.java:
3055         (uninstallListeners): Implemented.
3056         
3057 2004-07-21  Michael Koch  <konqueror@gmx.de>
3059         * javax/swing/JCheckBox.java: Reformated.
3060         (JCheckBox): Fixed all constructors.
3061         (isBorderPaintedFlat): New method.
3062         (setBorderPaintedFlat): New method.
3063         * javax/swing/JEditorPane.java
3064         (createEditorKitForContentType): Made public.
3065         (scrollToReference): Likewise.
3066         * javax/swing/JTextArea.java
3067         (setLineWrap): Fire property change.
3068         * javax/swing/JToggleButton.java
3069         (JToggleButton): New constructor.
3070         (JToggleButton): Simplified.
3071         * javax/swing/text/AttributeSet.java
3072         (FontAttribute): Renamed from FontCharacterAttribute.
3073         * javax/swing/text/JTextComponent.java
3074         (KeyBinBinding): Added javadoc.
3075         (JTextComponent): Likewise.
3076         (getAccessibleContext): Fixed javadoc.
3077         * javax/swing/text/View.java
3078         (View): Added javadoc.
3079         * javax/swing/text/TabableView.java: New file.
3080         * Makefile.am: Added javax/swing/text/TabableView.java.
3081         * Makefile.in: Regenerated.
3083 2004-07-21  Graydon Hoare  <graydon@redhat.com>
3085         * java/awt/image/BufferedImage.java (getSource): Remove tracing chatter.
3086         * gnu/java/awt/peer/gtk/GtkToolkit.java 
3087         (GtkErrorImage): New helper class.
3088         (bufferedImageOrError): New helper method.
3089         (createImage): Use it.
3091 2004-07-21  David Jee  <djee@redhat.com>
3093         * jni/gtk-peer/gnu_java_awt_peer_gtk_GtkTextComponentPeer.c
3094         (setCaretPosition): Scroll the text view so the new caret position
3095         is visible on screen.
3097 2004-07-21  David Jee  <djee@redhat.com>
3099         * gnu/java/awt/peer/gtk/GtkContainerPeer.java
3100         (setBounds): Do not validate awtComponent here.
3101         * gnu/java/awt/peer/gtk/GtkScrollPanePeer.java
3102         (getPreferredSize): New method.
3103         * java/awt/ScrollPane.java
3104         (ScrollPane): Set default size to 100x100.
3105         (addNotify): If child is not a Panel, wrap it with a new Panel.
3106         (paramString): Implement.
3108 2004-07-21  Olga Rodimina  <rodimina@redhat.com>
3110         * javax/swing/JMenu.java:
3111         (setSelected): Display popup menu only if this menu 
3112         is showing on the screen.
3113         * javax/swing/JPopupMenu.java:
3114         (processMouseEvent): Added comment.
3115         (processKeyEvent): Likewise.
3116         * javax/swing/MenuSelectionManager.java:
3117         (clearSelectedPath): Only fireStateChanged() after
3118         selected path was changed, not before.
3119         (setSelectedPath): Likewise.
3120         * javax/swing/plaf/basic/BasicMenuItemUI.java:
3121         (paintMenuItem): Corrected position of menu item's
3122         icon.
3123         * javax/swing/plaf/basic/BasicPopupMenuUI.java:
3124         (installUI): Correct setDefaultLightWeightPopupEnabled call.
3125         (popupMenuCanceled): Reimplemented.
3126         (popupMenuWillBecomeVisible): Select first menu item by default 
3127         when displaying free floating popup menus.
3128         (TopWindowListener): Reimplemented.
3130 2004-07-21  Thomas Fitzsimmons  <fitzsim@redhat.com>
3132         * java/awt/Panel.java (dispatchEventImpl): Override to prevent
3133         Panel from being painted twice when it is first shown.
3135 2004-07-21  Olga Rodimina  <rodimina@redhat.com>
3137         * java/awt/Window.java: Reverted changes from my 
3138         previous patch for creating window without an owner.
3139         * javax/swing/SwingUtilities.java: 
3140         (SwingUtilities.OwnerFrame): made static.
3141         (OwnerFrame.setVisible): New method. Overridden with
3142         empty implementation.
3143         (OwnerFrame.isShowing): New method. Ovverridden
3144         to return always true.
3146 2004-07-21  Thomas Fitzsimmons  <fitzsim@redhat.com>
3148         * gnu/java/awt/peer/gtk/GtkComponentPeer.java,
3149         jni/gtk-peer/gnu_java_awt_peer_gtk_GtkComponentPeer.c
3150         (GtkComponentPeer): Remove temporary try/catch block.
3151         (setVisible): Call show and hide.
3152         (show): Make native.
3153         (hide): Likewise.
3154         (getArgs): Don't add "visible" argument.
3155         * jni/gtk-peer/gnu_java_awt_peer_gtk_GtkWindowPeer.c
3156         (property_notify_predicate): Return Bool instead of int.
3157         (find_layout): New function.
3158         (connectJObject): Call find_layout.
3159         (connectSignals): Likewise.
3160         (moveLayout): Likewise.
3161         (gtkLayoutSetVisible): Likewise.
3163 2004-07-21  Mark Wielaard  <mark@klomp.org>
3165         * java/awt/event/InvocationEvent.java (dispatch): Synchronize
3166         on notifier object before calling notifyAll().
3168 2004-07-21  Olga Rodimina  <rodimina@redhat.com>
3170         * java/awt/Window.java: Changed constructors to use new
3171         method that is described below. Constructors call this
3172         methods only if newly created window should have an owner.
3173         (setWindowOwner): New method. Implementation for
3174         this method is moved from this(owner,configuration).
3175         * javax/swing/JWindow.java:
3176         (JWindow): Reimplement to use SwingUtilities.ownerFrame
3177         instead of owner.
3178         * javax/swing/SwingUtilities.java:
3179         (ownerFrame): Change type of this field to OwnerFrame.
3180         (getOwnerFrame): Changed to return object of type OwnerFrame.
3181         (SwingUtilities.OwnerFrame): New class. Represents owner
3182         of a Window that is not provided with one.
3184 2004-07-21  Olga Rodimina  <rodimina@redhat.com>
3186         *  javax/swing/AbstractButton.java: 
3187         (configurePropertiesFromAction): Set action command
3188         to button's text by default if action command is not 
3189         explicitely specified.
3190         * javax/swing/JMenu.java: Remove unnecessary listener
3191         and methods relevant to it.
3192         (setSelected): Reimplemented.
3193         (menuSelectionChanged): Moved most part of implementation to
3194         setSelected() and call it instead.
3195         * javax/swing/JMenuItem.java: 
3196         (init): Comment out statement that sets paint_border to false.
3197         (configurePropertiesFromAction): Do not set accelerator
3198         for JMenu.
3199         (menuSelectionChanged): Change selected index in the selection
3200         model of menu item's parent.
3201         * javax/swing/JPopupMenu.java:
3202         (remove): Set constraints.fill field to GridBagConstraints.BOTH
3203         instead of GridBagConstraints.HORIZONTAL.
3204         (insert): Likewise.
3205         (createActionChangeListener): Implemented.
3206         (setVisible): Correct location of HeavyWeightMenu and 
3207         don't firePopupMenuCanceled().
3208         (menuSelectionChanged): Implemented.
3209         (ActionChangeListener): New Listener. Implemented.
3210         * javax/swing/plaf/basic/BasicMenuBarUI.java:
3211         (BasicMenuBarUI.ContainerHandler): Implemented.
3212         * javax/swing/plaf/basic/BasicMenuItemUI.java:
3213         (paintMenuItem): Uncommented out code that paints 
3214         icon, now that icons are working properly.
3215         (PropertyChangeListener): Implemented.
3216         * javax/swing/plaf/basic/BasicPopupMenuUI.java:
3217         Added javadocs.
3218         (topWindowListener): New field.
3219         (Constructor): initialize topWindowListener.
3220         (BasicPopupMenuUI.TopWindowListener): Implemented.      
3221         (BasicPopupMenuUI.PopupMenuHandler): Implemented.
3222         (BasicPopupMenuUI.TopWindowListener): New ComponentListener.
3223         Implemented.
3225 2004-07-21  Michael Koch  <konqueror@gmx.de>
3227         * javax/swing/plaf/basic/BasicButtonUI.java
3228         (paintFocus): Fixed method signature.
3229         (paintButtonPressed): Likewise.
3230         (paintButtonNormal): Likewise.
3231         (paintText): New method.
3232         * javax/swing/plaf/basic/BasicLabelUI.java
3233         (paint): Re-indented.
3234         * javax/swing/plaf/basic/BasicTextUI.java
3235         (installUI): Set parent textComponent to opaque.
3236         * javax/swing/text/DefaultHighlighter.java
3237         (checkPositions): New helper method.
3238         (addHighlight): Throws BadLocationException, check positions.
3239         (changeHighlight): Likewise.
3240         * javax/swing/text/EditorKit.java
3241         (EditorKit): Implements Serializable.
3242         * javax/swing/text/JTextComponent.java
3243         (getUI): Added javadoc.
3244         (setUI): Likewise.
3245         (upadteUI): Added javadoc, don't revalidate and repaint.
3247 2004-07-21  David Jee  <djee@redhat.com>
3249         * java/awt/GridBagLayout.java
3250         (ArrangeGrid): Use PREFERREDSIZE instead of MINSIZE.
3251         * javax/swing/AbstractButton.java
3252         (setText): Reindent.
3253         * javax/swing/RepaintManager.java
3254         (addInvalidComponent): Find the first ancestor that isValidateRoot().
3256 2004-07-21  Michael Koch  <konqueror@gmx.de>
3258         * javax/swing/JFormattedTextField.java
3259         (value): New field.
3260         (JFormattedTextField): Implemented.
3261         (getValue): Likewise.
3262         (setValue): Likewise.
3263         * javax/swing/LookAndFeel.java
3264         (getSupportsWindowDecorations): New method.
3265         * javax/swing/UIDefaults.java:
3266         Use java.beans.PropertyChangeSupport instead of doing all ourself.
3267         (addPropertyChangeListener): Made public.
3268         (addResourceBundle): Likewise.
3269         (removeResourceBundle): Likewise.
3270         (setDefaultLocale): Likewise.
3271         * javax/swing/plaf/basic/BasicRootPaneUI.java
3272         (BasicRootPaneUI): Implements PropertyChangeListener.
3273         (propertyChange): New method.
3274         * javax/swing/plaf/basic/BasicTextUI.java
3275         (BasicHighlighter): New inner class.
3276         (createHighlighter): New method.
3277         * javax/swing/plaf/basic/BasicToolBarUI.java
3278         (DragWindow): Extends java.awt.Window.
3279         * javax/swing/text/JTextComponent.java
3280         (getDocument): Removed debug output.
3281         * javax/swing/plaf/basic/BasicTextFieldUI.java,
3282         javax/swing/text/DefaultHighlighter.java,
3283         javax/swing/text/FieldView.java,
3284         javax/swing/text/PlainView.java: New files.
3285         * Makefile.am: Added new files.
3286         * Makefile.in: Regenerated.
3288 2004-07-21  Michael Koch  <konqueror@gmx.de>
3290         * javax/swing/JEditorPane.java
3291         (createDefaultEditorKit): Use javax.swing.text.DefaultEditorKit.
3292         (createEditorKitForContentType): Likewise.
3293         * javax/swing/text/DefaultEditorKit.java
3294         (serialVersionUID): Added constant field.
3295         (EndOfLineStringPropery): Fixed typo.
3296         (DefaultEditorKit): New constructor.
3297         * javax/swing/text/Segment.java:
3298         Import java.text.CharacterIterator.
3299         * javax/swing/text/CharacterIterator.java,
3300         javax/swing/text/PlainEditorKit.java: Removed.
3301         * Makefile.am: Removed javax/swing/text/CharacterIterator.java and
3302         javax/swing/text/PlainEditorKit.java.
3303         * Makefile.in: Regenerated.
3305 2004-07-21  Michael Koch  <konqueror@gmx.de>
3307         * javax/swing/JButton.java,
3308         javax/swing/text/DefaultEditorKit.java,
3309         javax/swing/text/EditorKit.java,
3310         javax/swing/text/Segment.java,
3311         javax/swing/text/StyledEditorKit.java:
3312         Reformatted.
3314 2004-07-21  Michael Koch  <konqueror@gmx.de>
3316         * javax/swing/ImageIcon.java
3317         (file): Removed.
3318         (description): Renamed from descr.
3319         (ImageIcon): Added missing constructors.
3320         (setParent): Removed.
3321         (setImageObserver): New method.
3322         (getImageObserver): New method.
3323         (paintIcon): Handle observer = null.
3324         * javax/swing/JButton.java
3325         (removeNotify): Fixed javadoc.
3326         (updateUI): Simplified.
3327         * javax/swing/JRootPane.java
3328         (serialVersionUID): New constant field.
3329         * javax/swing/UIManager.java:
3330         Fixed javadocs all over.
3331         (setLookAndFeel): Throws UnsupportedLookAndFeelException.
3332         * javax/swing/text/AbstractDocument.java
3333         (createPosition): Throws BadLocationException.
3334         (getText): Likewise.
3335         (remove): Likewise.
3336         * javax/swing/text/ComponentView.java
3337         (modelToView): Likewise.
3338         * javax/swing/text/DefaultEditorKit.java:
3339         Made all public methods public.
3340         (read): Throws BadLocationException and IOException.
3341         (write): Likewise.
3342         * javax/swing/text/EditorKit.java:
3343         Made all public methods public.
3344         (serialVersionUID): New constant field.
3345         (clone): New method.
3346         (read): Throws BadLocationException and IOException.
3347         (write): Likewise.
3348         * javax/swing/text/Segment.java
3349         (array): Made public.
3350         (count): Likewise.
3351         (offset): Likewise.
3352         (Segment): New constructors.
3353         (clone): Reimplemented.
3354         * javax/swing/text/StyledEditorKit.java
3355         (serialVersionUID): New constant field.
3357 2004-07-21  Graydon Hoare  <graydon@redhat.com>
3359         * java/awt/image/BufferedImage.java 
3360         (getSource): Implement.
3361         * javax/swing/ImageIcon.java 
3362         (ImageIcon): Implement ctor.
3363         * javax/swing/ScrollPaneLayout.java 
3364         (preferredLayoutSize): Be more careful about nulls.
3366 2004-07-21  Michael Koch  <konqueror@gmx.de>
3368         * javax/swing/text/AttributeSet.java
3369         (CharacterAttribute): New interface
3370         (ColorAttribute): Likewise.
3371         (FontCharacterAttribute): Likewise.
3372         (ParagraphAttribute): Likewise.
3373         * javax/swing/text/DefaultCaret.java
3374         (moveCaret): New method.
3375         (positionCaret): Likewise.
3376         (repaint): Made protected.
3377         * javax/swing/text/JTextComponent.java
3378         (KeyBinding): Made it static.
3379         * javax/swing/text/View.java
3380         (getContainer): Honor parent == null.
3382 2004-07-21  Michael Koch  <konqueror@gmx.de>
3384         * javax/swing/text/AbstractDocument.java:
3385         Reformatted.
3387 2004-07-21  Michael Koch  <konqueror@gmx.de>
3389         * javax/swing/plaf/basic/BasicRootPaneUI.java:
3390         Import javax.swing.UIManager explicitely.
3391         * javax/swing/plaf/basic/BasicTabbedPaneUI.java
3392         (ScrollingButton): Made it static.
3394 2004-07-21  Michael Koch  <konqueror@gmx.de>
3396         * javax/swing/UIDefaults.java
3397         (ActiveValue): Made public.
3398         (LazyValue): Likewise.
3399         * javax/swing/plaf/basic/BasicTextUI.java
3400         (RootView): Reintroduced.
3401         (view): Removed.
3402         (rootView): New field.
3403         (installUI): Create document if needed, initialize rootView.
3404         (uninstallUI): Hanle rootView.
3405         (paint): Likewise.
3406         (getRootView): Likewise.
3407         (setView): Likewise.
3408         * javax/swing/text/DefaultCaret.java:
3409         Renamed all "evt" variables to "event".
3411 2004-07-21  Thomas Fitzsimmons  <fitzsim@redhat.com>
3413         * libgcj.spec.in: Add -l-java-util-logging.
3415 2004-07-21  Andreas Tobler  <a.tobler@schweiz.ch>
3417         * jni/gtk-peer/gnu_java_awt_peer_gtk_GtkMainThread.c
3418         (init_dpi_conversion_factor): Check for int_dpi < 0 in case
3419         gtk-xft-dpi can no calculate the right value.
3420         (dpi_changed_cb): Mark *pspec as unsused.
3422 2004-07-21  David Jee  <djee@redhat.com>
3424         * java/awt/Component.java
3425         (move): Delegate to setBounds().
3426         (resize): Likewise.
3427         (reshape): Fix so it repaints parent and self only when necessary.
3429 2004-07-21  David Jee  <djee@redhat.com>
3431         * gnu/java/awt/peer/gtk/GtkComponentPeer.java,
3432         jni/gtk-peer/gnu_java_awt_peer_gtk_GtkComponentPeer.c
3433         (GtkComponentPeer): Revert previous patch from 2004-06-22.
3434         (setVisible): Likewise.
3435         (show): Likewise.
3436         (hide): Likewise.
3437         (getArgs): Likewise.
3438         * jni/gtk-peer/gnu_java_awt_peer_gtk_GtkWindowPeer.c
3439         (property_notify_predicate): Likewise.
3440         (find_layout): Likewise.
3441         (connectJObject): Likewise.
3442         (connectSignals): Likewise.
3443         (moveLayout): Likewise.
3444         (gtkLayoutSetVisible): Likewise.
3446 2004-07-21  Graydon Hoare  <graydon@redhat.com>
3448         * Makefile.am
3449         (jv_convert_LDADD):
3450         (gij_LDADD):
3451         (rmic_LDADD):
3452         (rmiregistry_LDADD): Add lib-java-util-logging.la
3453         * Makefile.in: Regenerate.
3455 2004-07-21  Michael Koch  <konqueror@gmx.de>
3457         * javax/swing/text/AbstractDocument.java
3458         (replace): Dont use protected method of java.util.Vector directly.
3460 2004-07-21  Michael Koch  <konqueror@gmx.de>
3462         * javax/swing/plaf/basic/BasicTextUI.java
3463         (installUI): Call specialized install methods.
3464         (installDefaults): New method.
3465         (installListeners): Likewise.
3466         (installKeyboardActions): Likewise.
3467         (uninstallUI): Likewise.
3468         (uninstallDefaults): New method.
3469         (uninstallListeners): Likewise.
3470         (uninstallKeyboardActions): Likewise.
3471         (getPropertyPrefix): New abstract method.
3472         (paint): Made final, just call paintSafely().
3473         (paintSavely): New method.
3474         (paintBackground): Likewise.
3475         (getVisibleEditorRect): Likewise.
3476         * javax/swing/text/LayeredHighlighter.java,
3477         javax/swing/text/TabExpander.java: New files.
3478         * Makefile.am: Added javax/swing/text/LayeredHighlighter.java
3479         and javax/swing/text/TabExpander.java.
3480         * Makefile.in: Regenerated.
3482 2004-07-21  Michael Koch  <konqueror@gmx.de>
3484         * javax/swing/plaf/basic/BasicTextUI.java
3485         (BasicTextUI): Made abstract.
3486         (BasicCaret): New inner class.
3487         (view): Don't explicitely initialize with "null".
3488         (textComponent): New field.
3489         (textColor): Removed.
3490         (disabledTextColor): Removed.
3491         (normalBackgroundColor): Removed.
3492         (RootView): Removed commented out inner class.
3493         (createUI): Removed.
3494         (createCaret): New method.
3495         (getComponent): Likewise.
3496         (installUI): Initialize textComponent only.
3497         (getPreferredSize): Use installed JTextComponent.
3498         (setView): New method.
3499         (create): Likewise.
3500         * javax/swing/text/JTextComponent.java
3501         (highlighter): New field.
3502         (caretColor): Likewise.
3503         (disabledTextColor): Likewise.
3504         (seletedTextColor): Likewise.
3505         (selectionColor): Likewise.
3506         (setUI): New method.
3507         (getCaretColor): Likewise.
3508         (setCaretColor): Likewise.
3509         (getDisabledColor): Likewise.
3510         (setDisabledColor): Likewise.
3511         (getSelectedTextColor): Likewise.
3512         (setSelectedTextColor): Likewise.
3513         (getSelectionColor): Likewise.
3514         (setSelectionColor): Likewise.
3515         (getHighlighter): Likewise.
3516         (setHighlighter): Likewise.
3517         (replaceSelection): Likewise.
3519 2004-07-21  Michael Koch  <konqueror@gmx.de>
3521         * javax/swing/plaf/basic/BasicScrollPaneUI.java
3522         (BasicScrollPaneUI): Implements ScrollPaneConstants.
3523         * javax/swing/plaf/basic/BasicToolBarUI.java
3524         (BasicToolBarUI): Implements SwingConstants.
3526 2004-07-21  Michael Koch  <konqueror@gmx.de>
3528         * javax/swing/JPopupMenu.java: Removed CVS tags.
3529         * javax/swing/UIDefaults.java: Reformatted.
3530         * javax/swing/plaf/basic/BasicRootPaneUI.java:
3531         Explicitely import used classes.
3533 2004-07-21  Thomas Fitzsimmons  <fitzsim@redhat.com>
3535         * gnu/java/awt/peer/gtk/GtkComponentPeer.java,
3536         jni/gtk-peer/gnu_java_awt_peer_gtk_GtkComponentPeer.c
3537         (GtkComponentPeer): Remove temporary try/catch block.
3538         (setVisible): Call show and hide.
3539         (show): Make native.
3540         (hide): Likewise.
3541         (getArgs): Don't add "visible" argument.
3542         * jni/gtk-peer/gnu_java_awt_peer_gtk_GtkWindowPeer.c
3543         (property_notify_predicate): Return Bool instead of int.
3544         (find_layout): New function.
3545         (connectJObject): Call find_layout.
3546         (connectSignals): Likewise.
3547         (moveLayout): Likewise.
3548         (gtkLayoutSetVisible): Likewise.
3550 2004-07-21  Olga Rodimina  <rodimina@redhat.com>
3552         * javax/swing/AbstractButton.java:
3553         (setDisplayedMnemonicIndex): Check if button
3554         text is not null before checking its length.
3555         * javax/swing/JMenuItem.java:
3556         (processMouseEvent): Disarm menu item if mouse has
3557         exited it.
3558         * javax/swing/plaf/basic/BasicMenuUI.java:
3559         (MouseInputHandler.mouseEntered): Do not raise
3560         popup menu if this menu is already selected.
3561         (MouseInputHandler.mousePressed): Do not fire 
3562         MenuEvents.
3563         (MenuHandler): Implemented.     
3565 2004-07-21  Olga Rodimina  <rodimina@redhat.com>
3567         * javax/swing/JCheckBoxMenuItem.java: Added Javadoc.
3568         (getSelectedObjects): Implemented.
3569         * javax/swing/JRadioButtonMenuItem.java: Added Javadoc.
3570         * javax/swing/plaf/basic/BasicCheckBoxMenuItemUI.java: 
3571         Added javadoc for few methods.
3572         (processMouseEvent): Made public.
3573         * javax/swing/plaf/basic/BasicRadioButtonMenuItemUI.java
3574         (processMouseEvent): Likewise.
3576 2004-07-21  Olga Rodimina  <rodimina@redhat.com>
3578         * javax/swing/AbstractButton.java:
3579         (init): Set display mnemonic index to -1.
3580         (setMnemonic(char)): Use setMnemonic(int).
3581         (setMnemonic(int)): Set display mnemonic index.
3582         (getDisplayedMnemonicIndex): Change method signature
3583         by removing 'index' parameter.
3584         * javax/swing/plaf/basic/BasicLookAndFeel.java:
3585         Added default for Menu.selectionBackground.     
3586         * javax/swing/plaf/basic/BasicMenuItemUI.java:
3587         (paintMenuItem): Change background color of the selected
3588         menu item.
3589         (paintText): Paint differently when menu item is disabled.
3590         Also paint mnemonic if it appears in the menu item's label.
3591         (paintAccelerator): Paint accelerator differently
3592         if menu item is disabled.
3593         * javax/swing/plaf/basic/BasicMenuUI.java:
3594         (installDefaults): Install defaults for 
3595         selectionForeground and selectionBackground.
3596         (uninstallDefaults): Uninstall defauls for 
3597         selectionForeground and selectionBackground.
3599 2004-07-21  Michael Koch  <konqueror@gmx.de>
3601         * javax/swing/text/AbstractDocument.java
3602         (BranchElement): Implemented.
3603         (LeafElement): Implemented.
3604         * javax/swing/text/DefaultCaret.java:
3605         Import used classes.
3606         (serialVersionUID): New constant.
3607         * javax/swing/text/JTextComponent.java
3608         (AccessibleJTextComponent): Removed dead declaration.
3609         (caretPos): Removed.
3610         (setCaret): New method.
3611         * javax/swing/text/PlainDocument.java
3612         (rootElement): New field.
3613         (PlainDocument): Initialize rootElement.
3614         (createDefaultRoot): New method.
3615         (getDefaultRootElement): Implemented.
3616         * javax/swing/text/View.java: Reformatted.
3617         * javax/swing/text/ViewFactory.java
3618         (create): Added javadoc.
3620 2004-07-21  Michael Koch  <konqueror@gmx.de>
3622         * javax/swing/ToolTipManager.java: Reformatted.
3624 2004-07-21  Rodimina Olga  <rodimina@redhat.com>
3626         * javax/swing/AbstractButton.java
3627         (changeEvent): New field.
3628         (fireItemStateChanged): Change source of the event
3629         to 'this' before firing it to button listeners.
3630         (fireActionPerformed): Likewise.
3631         (fireStateChanged): Likewise.
3632         (createActionListener): Do not set source 
3633         of the event to AbstractButton.                                  
3634         * javax/swing/plaf/basic/BasicMenuBarUI.java:
3635         (ContainerHandler.componentAdded): Removed 
3636         print out statement.
3637         (ContainerHandler.componentRemoved): Likewise.
3639 2004-07-21  Michael Koch  <konqueror@gmx.de>
3641         * javax/swing/text/Highlighter.java: New file.
3642         * Makefile.am: Added javax/swing/text/Highlighter.java.
3643         * Makefile.in: Regenerated.
3645 2004-07-21  Michael Koch  <konqueror@gmx.de>
3647         * javax/swing/ToolTipManager.java
3648         (stillInsideTimerAction): Fixed constructor arguments.
3649         (outsideTimerAction): Likewise.
3650         (insideTimerAction): Likewise.
3652 2004-07-21  Michael Koch  <konqueror@gmx.de>
3654         * javax/swing/JButton.java: Reformatted.
3655         * javax/swing/JFormattedTextField.java
3656         (getUIClassID): Implemented.
3657         * javax/swing/JRootPane.java
3658         (serialVersionUID): New constant.
3659         * javax/swing/JTextField.java
3660         (align): New field.
3661         (JTextField): Simplified.
3662         (getUIClassID): New method.
3663         (getActionListeners): Added @since tag.
3664         (setColumns): Invalidate layout and repaint.
3665         (getHorizontalAlignment): New method.
3666         (setHorizontalAlignment): New method.
3667         (selectAll): Removed.
3668         * javax/swing/SwingUtilities.java
3669         (getAncestorOfClass): Removed redundant @see tag.
3670         (isLeftMouseButton): Fixed implementation.
3671         (isMiddleMouseButton): Likewise.
3672         (isRightMouseButton): Likewise.
3673         * javax/swing/text/AbstractDocument.java
3674         (AttributeContext.addAttribute): New method.
3675         (AttributeContext.addAttributes): New method.
3676         (AttributeContext.getEmptySet): New method.
3677         (AttributeContext.reclaim): New method.
3678         (AttributeContext.removeAttribute): New method.
3679         (AttributeContext.removeAttributes): New method.
3680         * javax/swing/text/Document.java
3681         (createPosition): Throws BadLocationException.
3682         (getText): Likewise.
3683         (remove): Likewise.
3684         * javax/swing/text/JTextComponent.java
3685         (getText): Return null if no document is set. Catch
3686         BadLocationException.
3687         (getUI): Return ui.
3688         (updateUI): Simplified.
3690 2004-07-21  Michael Koch  <konqueror@gmx.de>
3692         * javax/swing/JButton.java
3693         (removeNotify): Fixed javadoc.
3694         (updateUI): Simplified.
3696 2004-07-21  David Jee  <djee@redhat.com>
3698         * gnu/java/awt/image/ImageDecoder.java
3699         (startProduction): Only add consumer if it's not added yet.
3700         * gnu/java/awt/peer/gtk/GdkPixbufDecoder.java
3701         (GdkPixbufDecoder): Don't call initState() here.
3702         (produce): Call initState() here, to ensure area_prepared and
3703         area_updated signals are properly connected.
3704         * gnu/java/awt/peer/gtk/GtkImage.java
3705         (setColorModel): Use equals() to compare ColorModel objects.
3706         (setPixels): Likewise.
3707         * java/awt/image/ColorModel.java
3708         (equals): Fix typo. Use Arrays.equals() to compare int arrays.
3709         * java/awt/image/RGBImageFilter.java
3710         (setColorModel): Set consumer's color model.
3711         (setPixels): Use equals() to compare ColorModel objects.
3713 2004-07-21  Bryce McKinlay  <mckinlay@redhat.com>
3715         * java/net/URLConnection.java (position): New field.
3716         (dateFormat1, dateFormat2, dateFormat3): Removed.
3717         (dateFormats): New field.
3718         (getHeaderFieldDate): Use new dateFormats array. Re-use parsePosition
3719         each time instead of re-allocating.
3720         (initializeDateFormats): Initialize 'dateFormats'.
3722 2004-07-20  Bryce McKinlay  <mckinlay@redhat.com>
3724         PR libgcj/16591
3725         * prims.cc (_Jv_RunMain): Don't call _Jv_SetArgs if DISABLE_MAIN_ARGS
3726         is defined.
3728 2004-07-20  Bryce McKinlay  <mckinlay@redhat.com>
3730         * java/net/Socket.java (getImpl): Now private. Remove comment.
3732 2004-07-20  Bryce McKinlay  <mckinlay@redhat.com>
3734         * java/io/BufferedWriter.java (BufferedWriter): Use existing lock
3735         of chained Writer when calling super-constructor.
3736         * java/io/FilterWriter.java (FilterWriter): Likewise.
3737         * java/io/PrintWriter.java (PrintWriter): Likewise.
3739 2004-07-19  Bryce McKinlay  <mckinlay@redhat.com>
3741         * prims.cc (process_gcj_properties): Don't increment i within LHS
3742         of assignment.
3744 2004-07-19  Per Bothner  <per@bothner.com>
3746         Print -verbose:message on "loading", not initialization.
3747         * java/lang/Class.h (JV_STATE_LOADED, JV_STATE_COMPILED):  Swap order.
3748         * defineclass.cc (_Jv_ClassReader::parse):  Print message if
3749         gcj::verbose_class_flag.
3750         * java/lang/natClass.cc (initializeClass):  Don't print message here.
3751         * java/lang/natClassLoader.cc (_Jv_WaitForState):  If state was
3752         _JV_STATE_COMPILED, set to JV_STATE_LOADED and may print message.
3753         (_Jv_PrepareCompiledClass):  Likewise.
3755 2004-07-18  Matthias Klose  <doko@debian.org>
3757         * configure.in: Substitute target_noncanonical.
3758         * configure: Regenerate
3760 2004-07-17  Michael Koch  <konqueror@gmx.de>
3762         * java/lang/String.java: Fixed javadocs all over.
3764 2004-07-17  Mark Wielaard  <mark@klomp.org>
3766         * gnu/java/nio/channels/FileChannelImpl.java (truncate): Only truncate
3767         when size is smaller.
3768         * java/io/RandomAccessFile.java (setLength): Use truncate for
3769         shrinking the file and seek plus write for expanding the file.
3771 2004-07-17  Michael Koch  <konqueror@gmx.de>
3773         * gnu/java/nio/channels/natFileChannelPosix.cc
3774         (implTruncate): Always save current position. Only reposition file
3775         pointer to where we started if not beyond new lenght. Reposition file
3776         pointer to file length if it points beyond the end of file.
3778 2004-07-17  Mark Wielaard  <mark@klomp.org>
3780         * javax/swing/Box.java: Put FIXME comment above class declaration.
3781         * javax/swing/JButton.java: Remove illegal L&F HTML from comments.
3782         * javax/swing/JCheckBox.java: Likewise.
3783         * javax/swing/JDialog.java: Likewise.
3784         * javax/swing/JRadioButton.java: Likewise.
3785         * javax/swing/JToggleButton.java: Likewise.
3786         * javax/swing/UIManager.java: Likewise.
3787         * javax/swing/border/TitledBorder.java: Likewise.
3788         * javax/swing/plaf/basic/BasicLabelUI.java: Likewise.
3789         * javax/swing/plaf/basic/BasicLookAndFeel.java: Likewise.
3790         * javax/swing/plaf/basic/BasicPopupMenuSeparatorUI.java: Likewise.
3791         * javax/swing/plaf/basic/BasicProgressBarUI.java: Likewise.
3792         * javax/swing/plaf/basic/BasicScrollBarUI.java: Likewise.
3793         * javax/swing/plaf/basic/BasicSeparatorUI.java: Likewise.
3794         * javax/swing/text/JTextComponent.java: Likewise.
3796 2004-07-17  Jeroen Frijters  <jeroen@frijters.net>
3798         * java/net/DatagramPacket.java (setAddress): Removed check for
3799         null address.
3801 2004-07-17  Michael Koch  <konqueror@gmx.de>
3803         * java/net/DatagramSocket.java
3804         (getLocalAddress): Check if socket is bound or not.
3805         * java/net/Socket.java
3806         (getLocalAddrss): Check if socket is bound or not.
3807         (getPort): Return -1 when not connected. Dont check getImpl() for
3808         null.
3809         (setReuseAddress): Check if socket is closed.
3810         (isConnected): Check if getImpl() returns null.
3812 2004-07-17  Mark Wielaard  <mark@klomp.org>
3814         * java/awt/event/InvocationEvent.java (dispatch): Synchronize
3815         on notifier object before calling notifyAll().
3817 2004-07-17  Michael Koch  <konqueror@gmx.de>
3819         * gnu/java/nio/channels/FileChannelImpl.java
3820         (finalize): Added javadoc.
3822 2004-07-17  Guilhem Lavaux <guilhem@kaffe.org>
3824         * java/text/CollationElementIterator.java
3825         (text_decomposition): Changed type to RuleBasedCollator.CollationElement[]
3826         (setText): Use ArrayList instead of Vector.
3828 2004-07-17  Michael Koch  <konqueror@gmx.de>
3830         * java/nio/ByteOrder.java
3831         (static): Removed. Not needed.
3832         Thanks to Patrick Reali for noticing.
3833         * java/nio/charset/CharsetDecoder.java
3834         (decode): Fix for classpath bug #9177: Reset state before flipping.
3836 2004-07-17  Michael Koch  <konqueror@gmx.de>
3838         * java/security/Security.java: Fixed javadocs all over.
3840 2004-07-17  Michael Koch  <konqueror@gmx.de>
3842         * gnu/java/awt/EmbeddedWindow.java
3843         (static): Removed.
3844         (addNotify): Set peer via reflection.
3845         (setWindowPeer): Removed.
3846         * gnu/java/awt/natEmbeddedWindow.cc: Removed.
3847         * Makefile.am (nat_source_files):
3848         Removed gnu/java/awt/natEmbeddedWindow.cc.
3849         * Makefile.in: Regenerated.
3851 2004-07-17  Richard Earnshaw  <rearnsha@arm.com>
3853         * configure.in(ZIP, GCJH): Remove white space around '=' in variable
3854         assignment.
3855         * configure: Regenerated.
3857 2004-07-16  Nathanael Nerode  <neroden@gcc.gnu.org>
3859         * configure.in: Use build_noncanonical rather than build_alias.
3860         * configure: Rebuild.
3862         * configure.in: Eliminate CANADIAN and NULL_TARGET variables
3863         by logic refactoring.  Move default definition of NATIVE closer
3864         to first alternate definition.
3865         * configure: Regenerate.
3867         * Makefile.am: Set ZIP and GCJH directly using autoconf.
3868         * Makefile.in, include/Makefile.in, testsuite/Makefile.in,
3869         gcj/Makefile.in: Regenerate.
3870         * configure.in: Set ZIP and GCJH.  Remove redundant condition
3871         in AM_CONDITIONAL(NATIVE,...)
3872         * configure: Regenerate.
3874 2004-07-15  Nathanael Nerode  <neroden@gcc.gnu.org>
3876         * configure.in: Use target_noncanonical rather than
3877         target_alias for forward-compatibility with autoconf 2.59.
3878         * configure: Regenerate.
3879         * Makefile.am, gcj/Makefile.am, include/Makefile.am,
3880         testsuite/Makefile.am: Substitute target_noncanonical.
3881         * Makefile.in, gcj/Makefile.in, include/Makefile.in,
3882         testsuite/Makefile.in: Regenerate.
3884         * configure.in: Move as much as possible below AC_CANONICAL_SYSTEM.
3885         Introduce _GCC_TOPLEV_NONCANONICAL_TARGET.
3886         * acinclude.m4: Include acx.m4.
3887         * aclocal.m4: Regenerate.
3888         * configure: Regenerate.
3890 2004-07-15  Bryce McKinlay  <mckinlay@redhat.com>
3892         PR libgcj/16574
3893         * java/sql/Timestamp.java (dateFormat): Renamed from sdf.
3894         (decimalFormat): New static variable.
3895         (sbuf): Likewise.
3896         (getTime): New. Override Date.getTime().
3897         (toString): Synchronize. Use decimalFormat to format nanos value
3898         correctly. Truncate extra zeros.
3899         (before): Compare getNanos() only if getTime() is equal.
3900         (after): Likewise.
3901         
3902 2004-07-14  Nathanael Nerode  <neroden@gcc.gnu.org>
3904         * acinclude.m4: "Inline" LIBGCJ_CONFIGURE macro into...
3905         * configure.in: ...here.
3906         * aclocal.m4: Regenerate.
3907         * configure: Regenerate.
3909         * aclocal.m4: Rebuilt with aclocal gcj-1.4.
3910         * configure: Rebuilt with autoconf 2.13.
3911         * Makefile.in, gcj/Makefile.in, include/Makefile.in,
3912         testsuite/Makefile.in: Rebuilt with automake gcj-1.4.
3914 2004-07-14  Bryce McKinlay  <mckinlay@redhat.com>
3916         PR libgcj/16204
3917         * Makefile.am (AM_CXXFLAGS): Add -D_FILE_OFFSET_BITS=64 to enable
3918         large file support.
3919         * Makefile.in: Rebuilt.
3920         * testsuite/libjava.lang/LargeFile.java: New test case.
3921         * testsuite/libjava.lang/LargeFile.out: New file.
3923 2004-07-14  Jerry Quinn  <jlquinn@optonline.net>
3925         * java/beans/EventHandler.java: Remove debugging statements.
3927 2004-07-14  Jerry Quinn  <jlquinn@optonline.net>
3929         * java/beans/EventHandler.java: New file.
3930         * Makefile.am (awt_java_source_files): Add EventHandler.java.
3931         * Makefile.in, gcj/Makefile.in, include/Makefile.in,
3932         testsuite/Makefile.in: Regenerate.
3934 2004-07-14  Andreas Tobler  <a.tobler@schweiz.ch>
3936         * testsuite/libjava.jacks/jacks.exp (gcj_jacks_write): Add deprecation
3937         flag to the gcj_setup.
3938         (gcj_jacks_run): Check tclsh version and launch jacks directly with
3939         the tclsh.
3940         * testsuite/libjava.jacks/jacks.xfail: Update fails to reflect the
3941         deprecation flag change. 58 XFAILS removed.
3943 2004-07-14  Ulrich Weigand  <uweigand@de.ibm.com>
3945         * configure.host (DIVIDESPEC) [s390*-*-*]: Set to 
3946         -fno-use-divide-subroutine.
3947         * include/s390-signal.h: Include <ucontext.h> and <limits.h>.
3948         (HANDLE_FPE): Define.
3949         (SIGNAL_HANDLER): Change third argument to ucontext_t *.
3950         (struct old_s390_kernel_sigaction): Likewise for k_sa_handler.
3951         (HANDLE_DIVIDE_OVERFLOW): Define.
3953 2004-07-14  Michael Koch  <konqueror@gmx.de> 
3954             Matthias Klose  <doko@debian.org> 
3956         * java/awt/im/InputContext.java: Initialize in, line.
3958 2004-07-13  Ulrich Weigand  <uweigand@de.ibm.com>
3960         * interpret.cc (run): Correctly access libffi return values of
3961         integral smaller-than-int type; these are implicitly promoted.
3963 2004-07-13  Bryce McKinlay  <mckinlay@redhat.com>
3965         PR libgcj/7587
3966         * interpret.cc (compile_mutex): New.
3967         (_Jv_InitInterpreter): New. Initialize compile_mutex.
3968         (run): Lock compile_mutex before calling compile() if compilation is
3969         required.
3970         * prims.cc (_Jv_CreateJavaVM): Call _Jv_InitInterpreter().
3971         * include/java-interp.h (_Jv_InitInterpreter): Declare. 
3973 2004-07-12  Bryce McKinlay  <mckinlay@redhat.com>
3975         PR libgcj/15713
3976         * include/jvm.h (_Jv_value): New union type.
3977         * gcj/field.h (_Jv_Field): Add new _addr union field variants 
3978         * interperet.cc (run): Use _Jv_value union type and *_addr _Jv_Field 
3979         union members.
3981 2004-07-12  Scott Gilbertson  <scottg@mantatest.com>
3983         * gnu/awt/xlib/XCanvasPeer.java (createImage): Implement.
3984         * gnu/awt/xlib/XOffScreenImage.java
3985           (XOffScreenImage): Add ImageConsumer interface. Add ColorModel
3986           constructor argument. Add constructor using ImageProducer.
3987           (getSource): Implement.
3988           (imageComplete): New method.
3989           (setColorModel): New method.
3990           (setDimensions): New method.
3991           (setHints): New method.
3992           (setPixels): New method.
3993           (setProperties): New method.
3994         * gnu/gcj/xlib/GC.java (drawPoint): New native method. 
3995         * gnu/gcj/xlib/natGC.cc (drawPoint): New native method.
3997 2004-07-11  Bryce McKinlay  <mckinlay@redhat.com>
3999         PR libgcj/16478 
4000         * prims.cc (_Jv_CreateJavaVM): Fix comment.
4001         * gnu/gcj/runtime/FinalizerThread.java (init): New. Native.
4002         (finalizerReady): Now native.
4003         (run): Likewise.
4004         (runFinalizers): Removed.
4005         * gnu/gcj/runtime/natFinalizerThread.cc (run): Implement here. Use
4006         a primitive lock, and don't hold it while running the finalizers.
4007         (runFinalizers): Implement. Don't aquire any Java lock.
4008         (finalizerReady): Use lock primitives to signal finalizer thread.
4010 2004-07-11  Mark Wielaard  <mark@klomp.org>
4012         Reported by Roman Kennke <roman@ontographics.com> (bug #9331)
4013         * java/net/URLStreamHandler.java (parseURL): When url file part
4014         doesn't contain a '/' just ignore context.
4016 2004-07-11  Ulrich Weigand  <uweigand@de.ibm.com>
4018         * include/s390-signal.c (SIGNAL_HANDLER): Use SIGINFO-style prototype.
4019         (struct old_s390_kernel_sigaction): Likewise for k_sa_handler.
4020         (MAKE_THROW_FRAME): Do not modify PSW address.
4021         (INIT_SEGV): Install SIGINFO-style signal handler.
4022         (INIT_FPE): Likewise.
4024 2004-07-10  Bryce McKinlay  <mckinlay@redhat.com>
4026         * testsuite/libjava.jacks/jacks.xfail: Updates to reflect current
4027         status. 21 xfail's removed, 1 added.
4029 2004-07-10  Bryce McKinlay  <mckinlay@redhat.com>
4031         * gcj/javaprims.h: Regenerate CNI namespace definitions.
4033 2004-07-10  Ito Kazumitsu  <kaz@maczuka.gcd.org>
4035         * java/text/MessageFormat.java
4036         (formatInternal): Append "{n}" if argument n is unavailable.
4037         (format(Object, StringBuffer, FieldPosition)): This
4038         should be equivalent to format(Object[],
4039         StringBuffer, FieldPosition).
4041 2004-07-09  Bryce McKinlay  <mckinlay@redhat.com>
4043         * java.util.Calendar.java (cache): New private static field. Cached
4044         mappings of locales->calendar classes.
4045         (ctorArgTypes): New private static field. Singleton argument for
4046         calendar class constructor lookup.
4047         (getInstance): Cache Locale->Calendar class mappings using HashMap.
4048         Optimize by bypassing reflection instantiation for the 
4049         GregorianCalendar case.
4051 2004-07-09  Bryce McKinlay  <mckinlay@redhat.com>
4053         * java/util/Calendar.java: Use getSystemClassLoader as argument for
4054         ResourceBundle.getBundle() calls.
4055         * java/util/GregorianCalendar.java: Likewise.
4056         * java/util/Currency.java: Likewise.
4057         * java/text/BreakIterator.java: Likewise.
4058         * java/text/Collator.java: Likewise.
4059         * java/text/DateFormat.java: Likewise.
4060         * java/text/DateFormatSymbols.java: Likewise.
4061         * java/text/DecimalFormatSymbols.java: Likewise.
4062         * java/text/NumberFormat.java: Likewise.
4063         * java/awt/Window.java: Likewise.       
4065 2004-07-09  Bryce McKinlay  <mckinlay@redhat.com>
4067         * java/util/ResourceBundle.java (bundleCache): Renamed from
4068         resourceBundleCache. Update comments.
4069         (getObject): Don't catch MissingResourceException.
4070         (getBundle(String)): Remove 'final'. Use system classloader if
4071         getCallingClassLoader returned null.
4072         (getBundle(String, Locale)): Likewise.
4073         (BundleKey): New private class. HashMap key for bundle cache lookup.
4074         (lookupKey): New. Singleton instance of BundleKey.
4075         (nullEntry): New. Cache entry to represent failed lookups.
4076         (getBundle(String, Locale, ClassLoader)): Re-written to use new 
4077         caching strategy, no-allocation lookup, and new tryBundle methods.
4078         (tryBundle(String, ClassLoader)): New. Load a locale-qualified bundle 
4079         name using given classloader.
4080         (tryBundle(String, Locale, ClassLoader, boolean): New. Qualify 
4081         baseName for given Locale and attempt to load bundle.
4083 2004-07-09  Bryce McKinlay  <mckinlay@redhat.com>
4085         * javax/swing/plaf/basic/BasicMenuUI.java (mousePressed): Remove 
4086         illegal protected method calls.
4088 2004-07-09  Bryce McKinlay  <mckinlay@redhat.com>
4090         Fix or remove some bogus test cases.
4091         * testsuite/libjava.compile/pr10459_2.java: Removed.
4092         * testsuite/libjava.compile/pr10459.java: Test using its own method,
4093         not Object.clone().
4094         * testsuite/libjava.compile/inner_data.java: Test against its own
4095         protected field.
4097 2004-07-09  Michael Koch  <konqueror@gmx.de>
4099         * scripts/unicode-muncher.pl: Updated to version 2.1
4100         from GNU classpath. Added some clarifications on where to find the
4101         needed files from www.unicode.org.
4102         * gnu/gcj/convert/UnicodeCharacterDatabase-3.0.0.html,
4103         gnu/gcj/convert/UnicodeData-3.0.0.txt:
4104         Removed, these can directly be downloaded from www.unicode.org if
4105         needed. 
4106         * gnu/java/lang/CharData.java: Regenerated.
4107         * include/java-chartables.h: Regenerated.
4108         * Makefile.am (ordinary_java_source_files):
4109         Removed gnu/java/lang/CharData.java.
4110         * Makefile.in: Regenerated.
4112 2004-07-09  Michael Koch  <konqueror@gmx.de>
4114         * java/security/AccessControlContext.java,
4115         java/security/SecureClassLoader.java:
4116         Fixed javadocs.
4118 2004-07-09  Michael Koch  <konqueror@gmx.de>
4120         * java/io/ObjectInputStream.java (readFields): Use long datatype
4121         when shifting byte values more then 24 bits left.
4123 2004-07-09  Michael Koch  <konqueror@gmx.de>
4125         * java/util/zip/DeflaterOutputStream.java,
4126         java/util/zip/GZIPInputStream.java,
4127         java/util/zip/GZIPOutputStream.java,
4128         java/util/zip/InflaterInputStream.java:
4129         Reformatted. Added javadocs. Reordered all stuff.
4130         Renamed variables to be more clear.
4132 2004-07-09  Michael Koch  <konqueror@gmx.de>
4134         * javax/imageio/IIOException.java,
4135         javax/imageio/event/IIOReadProgressListener.java,
4136         javax/imageio/event/IIOReadUpdateListener.java,
4137         javax/imageio/event/IIOReadWarningListener.java,
4138         javax/imageio/event/IIOWriteProgressListener.java,
4139         javax/imageio/event/IIOWriteWarningListener.java:
4140         New files.
4141         * Makefile.am: Added new files.
4142         * Makefile.in: Regenerated.
4144 2004-07-09  Guilhem Lavaux <guilhem@kaffe.org>
4146         * java/text/RuleBasedCollator.java
4147         (mergeRules): Use ArrayList instead of Vector.
4148         (subParseString): likewise.
4149         (parseString): likewise.
4150         (buildCollationVector): likewise.
4151         (getCollationKey): likewise.
4153 2004-07-09  Dalibor Topic  <robilad@kaffe.org>
4155         * java/text/DateFormat.java (parse):
4156         Improved javadoc. Improved exception message.
4158 2004-07-09  Mark Wielaard  <mark@klomp.org>
4160         * gnu/java/nio/SelectorImpl.java (select): Call static Thread
4161         interrupted() method to clear interupt flag of our Thread.
4163 2004-07-09  Dalibor Topic  <robilad@kaffe.org>
4165         * java/nio/Buffer.java,
4166         java/nio/ByteBuffer.java,
4167         java/nio/ByteBufferHelper.java,
4168         java/nio/ByteBufferImpl.java,
4169         java/nio/CharBuffer.java,
4170         java/nio/CharBufferImpl.java,
4171         java/nio/CharViewBufferImpl.java,
4172         java/nio/DirectByteBufferImpl.java,
4173         java/nio/DoubleBuffer.java,
4174         java/nio/DoubleBufferImpl.java,
4175         java/nio/DoubleViewBufferImpl.java,
4176         java/nio/FloatBuffer.java,
4177         java/nio/FloatBufferImpl.java,
4178         java/nio/FloatViewBufferImpl.java,
4179         java/nio/IntBuffer.java,
4180         java/nio/IntBufferImpl.java,
4181         java/nio/IntViewBufferImpl.java,
4182         java/nio/LongBuffer.java,
4183         java/nio/LongBufferImpl.java,
4184         java/nio/LongViewBufferImpl.java,
4185         java/nio/MappedByteBufferImpl.java,
4186         java/nio/ShortBuffer.java,
4187         java/nio/ShortBufferImpl.java,
4188         java/nio/ShortViewBufferImpl.java:
4189         Fixed javadocs all over. Improved input error
4190         checking.
4192         * java/nio/Buffer.java
4193         (checkForUnderflow, checkForOverflow, checkIndex,
4194         checkIfReadOnly, checkArraySize): New helper methods
4195         for error checking.
4197         * java/nio/ByteBufferHelper.java
4198         (checkRemainingForRead, checkRemainingForWrite,
4199         checkAvailableForRead, checkAvailableForWrite): Removed
4200         no longer needed methods.
4202 2004-07-09  Michael Koch  <konqueror@gmx.de>
4204         * gnu/regexp/CharIndexedInputStream.java:
4205         Reordered imports to match classpath.
4207 2004-07-09  Michael Koch  <konqueror@gmx.de>
4209         * gnu/java/awt/EmbeddedWindow.java:
4210         Load native library for setWindowPeer method.
4212 2004-07-08  Randolph Chung  <tausq@debian.org>
4214         * configure.in (SIGNAL_HANDLER): Use pa-signal.h for hppa.
4215         * configure: Regenerate.
4216         * configure.host: Set can_unwind_signal for hppa*-linux.
4217         * include/pa-signal.h: New file.
4219 2004-07-07  Per Bothner  <per@bothner.com>
4221         * Makefile.am:  Add rules to build libgij from just gij.cc.
4223         * include/jvm.h (namespace jcj):  Declare verbose_class_flag
4224         * java/lang/natClass.cc (gcj::verbose_class_flag):  New variable.
4225         (initializeClass):  If verbose_class_flag, print message.
4226         * gij.cc (main):  Handle -verbose:class flag.
4228 2004-07-07  Andreas Tobler  <a.tobler@schweiz.ch>
4230         * configure.host: Enable hash synchronization on Darwin.
4231         * sysdep/powerpc/locks.h (compare_and_swap): Use '\n' instead of
4232         ';', since this is a comment on Darwin.
4233         (compare_and_swap_release): Likewise.
4235 2004-07-06  Mohan Embar  <gnustuff@thisiscool.com>
4237         * java/net/URLStreamHandler.java (parseURL): Canonicalize
4238         file portion of URL in addition to spec for file: protocol.
4240 2004-07-05  Anthony Green  <green@redhat.com>
4242         * java/io/File.java (toURI): Merge from Classpath.
4244 2004-07-05  Bryce McKinlay  <mckinlay@redhat.com>
4246         * gnu/gcj/runtime/VMClassLoader.java (init): Check classpath entry
4247         before passing to URL constructor. Rethrow any MalformedURLException
4248         as a RuntimeException. Catch MalformedURLException specifically, not
4249         all exceptions.
4251 2004-07-05  Bryce McKinlay  <mckinlay@redhat.com>
4253         * java/util/Locale.java (readObject): Intern strings read from object
4254         stream.
4256 2004-07-04  Michael Koch  <konqueror@gmx.de>
4258         * gnu/gcj/runtime/FirstThread.java,
4259         gnu/gcj/runtime/natFirstThread.cc: Removed.
4260         * gnu/java/lang/MainThread.java,
4261         gnu/java/lang/natMainThread.cc: New files.
4262         * prims.cc (_Jv_RunMain): Use MainThread instead of FirstThread.
4263         * Makefile.am: Added new files and removed deleted ones.
4264         * Makefile.in: Regenerated.
4266 2004-07-03  Mark Wielaard  <mark@klomp.org>
4267             Anthony Green  <green@redhat.com>
4269         * java/net/URL.java (getFile): Clarify return value doc.
4270         (getPath): Return null if file is empty - not empty String.
4271         (set): Convert protocol to lower case before doing anything.
4272         Only change the protocol handler if it's different.
4274 2004-07-03  Anthony Green  <green@redhat.com>
4276         * java/net/URL.java (URL): Convert protocol to lower case before
4277         doing anything, so we getURLStreamHandler() with the proper value.
4279 2004-07-02  Bryce McKinlay  <mckinlay@redhat.com>
4281         * java/util/Locale.java (hashcode): Made transient.
4282         (hashCode): No longer synchronized.
4283         (equals): Remove comment.
4284         (writeObject): No longer synchronized. Implement using writeObject 
4285         calls instead of tweaking hashCode field. Update doc.
4286         (readObject): Implement using readObject calls.
4288 2004-06-26  Geoffrey Keating  <geoffk@apple.com>
4289             Andreas Tobler  <a.tobler@schweiz.ch>
4291         * configure.host (powerpc-*-darwin*): New case, define
4292         can_unwind_signal.
4293         * configure.in (*-*-darwin*): New case, point to darwin-signal.h.
4294         * configure: Regenerate.
4295         * include/darwin-signal.h: New.
4297 2004-06-30  Jerry Quinn  <jlquinn@optonline.net>
4299         * java/beans/Statement.java (doExecute): Fix formatting.
4301 2004-06-29  Per Bothner  <per@bothner.com>
4303         * jni.cc (_Jv_JNI_NewGlobalRef, JNICALL _Jv_JNI_DeleteGlobalRef,
4304         etc etc):  Remove needless parenthesis, which causes __stdcall__
4305         attribute on MinGW to get ignored.
4307 2004-06-29  Bryce McKinlay  <mckinlay@redhat.com>
4309         * testsuite/libjava.compile/PR16249.java: New test case. PR gcc/16249.
4311 2004-06-28  Bryce McKinlay  <mckinlay@redhat.com>
4313         * testsuite/libjava.jacks/jacks.xfail: Remove 8.1.3-superclass-6.
4315 2004-06-28  Jerry Quinn  <jlquinn@optonline.net>
4317         * java/beans/Expression.java: New file.
4318         * java/beans/Statement.java: New file.
4319         * Makefile.am: Added new files.
4320         * Makefile.in: Re-generate.
4322 2004-06-27 Mark Wielaard  <mark@klomp.org>
4324         * java/io/FilePermission.java (usingPerms): Removed.
4325         (actionsString): Made final.
4326         (cachePerms): Renamed to checkPerms.
4327         (checkPerms): Renamed from cachePerms. Call trim() and toLowerCase()
4328         on action String.
4329         (FilePermission): Check arguments, call checkPerms().
4330         (equals): Remove cachePerms() call.
4331         (implies): Likewise.
4333 2004-06-27  Mark Wielaard  <mark@klomp.org>
4335         * gnu/java/net/protocol/http/Connection.java (userAgent): New static
4336         final field.
4337         (sendRequest): Use new field in user-agent http agent.
4339 2004-06-27  Mark Wielaard  <mark@klomp.org>
4341         * java/awt/EventQueue.java (postEvent): Throw NullPointerException
4342         when argument is null.
4344 2004-06-26  Mark Wielaard  <mark@klomp.org>
4346         * native/jni/gtk-peer/gnu_java_awt_peer_gtk_GtkFileDialogPeer.c
4347         (ok_clicked): Use Ljava/lang/String; not Ljava.lang.String; in JNI
4348         GetMethodID call.
4349         (cancel_clicked): Likewise.
4351 2004-06-26  Andreas Tobler  <a.tobler@schweiz.ch>
4353         * jni/gtk-peer/gnu_java_awt_peer_gtk_GtkMainThread.c
4354         (init_dpi_conversion_factor): Check for int_dpi < 0 in case gtk-xft-dpi
4355         can not calculate the right value.
4356         (dpi_changed_cb): Likewise. Mark *pspec as unused.
4358 2004-06-24  Bryce McKinlay  <mckinlay@redhat.com>
4360         * testsuite/libjava.jacks/jacks.xfail: Remove
4361         15.9.1-qualified-concrete-20.
4363 2004-06-22  Bryce McKinlay  <mckinlay@redhat.com>
4365         * gnu/gcj/convert/BytesToUnicode.java (getDecoder): Pass original
4366         encoding name to iconv.
4367         * gnu/gcj/convert/UnicodeToBytes.java (getEncoder): Likewise.
4369 2004-06-22  Bryce McKinlay  <mckinlay@redhat.com>
4371         PR libgcj/16134:
4372         * gnu/gcj/convert/BytesToUnicode.java (getDecoder): Canonicalize 
4373         encoding name before cache lookup. Thanks to Hannes Wallnoefer.
4374         * gnu/gcj/convert/UnicodeToBytes.java (getEncoder): Likewise.
4376 2004-06-21  Andrew Haley  <aph@redhat.com>
4378         * java/io/ObjectOutputStream.java: Add DEBUG statements
4379         everywhere.
4380         (dumpElementln): New method.
4381         (depth): New field.
4382         * java/io/ObjectInputStream.java
4383         (currentClassLoader): Make native.
4384         (callersClassLoader): New field.
4385         (depth): New field.
4386         (readObject): ENDBLOCKDATA is generated if the class has a write
4387         method, not if it has a read method.
4388         (readObject): Save and restore this.currentObject and
4389         this.currentObjectStreamClass around calls to callReadMethod().
4390         * java/io/natObjectInputStream.cc (getCallersClassLoader): New
4391         method.
4393 2004-06-18  Andreas Tobler  <a.tobler@schweiz.ch>
4395         * testsuite/libjava.jni/jni.exp (gcj_jni_test_one): Add lgcc_s for
4396         darwin.
4398 2004-06-18  Ranjit Mathew  <rmathew@hotmail.com>
4400         * prims.cc (_Jv_CreateJavaVM): Install SEGV and FPE handlers,
4401         if desired, before the default class loader is initialised.
4402         Call INIT_SEGV only if HANDLE_SEGV is defined.
4404 2004-06-18  Ranjit Mathew  <rmathew@hotmail.com>
4406         * gnu/gcj/runtime/VMClassLoader.java (init): Add extensions
4407         directory only if it actually exists.
4409 2004-06-18  Graydon Hoare  <graydon@redhat.com>
4411         * jni/gtk-peer/gnu_java_awt_peer_gtk_GtkComponentPeer.c:
4412         Fix up non-ansi comments.
4414 2004-06-18  Ranjit Mathew  <rmathew@hotmail.com>
4416         * javax/swing/text/AbstractDocument.java: Adding missing import
4417         for javax.swing.event.EventListenerList.
4418         * javax/swing/text/DefaultCaret.java: Likewise.
4420 2004-06-17  Michael Koch  <konqueror@gmx.de>
4422         * javax/swing/JToolBar.java
4423         (name): Removed.
4424         (JToolBar): Use Component.setName(String) instead of doing it all
4425         alone.
4426         * javax/swing/Timer.java
4427         (queueEvent): Added missing modifier.
4429 2004-06-17  Olga Rodimina  <rodimina@redhat.coom>
4431         * Makefile.am: Added new file.
4432         * Makefile.in: Re-generate.
4433         * javax/swing/JMenu.java:
4434         (insertSeparator): Implemented.
4435         * javax/swing/JPopupMenu.java:
4436         (JPopupMenu.Separator): Implemented.
4437         * javax/swing/MenuSelectionManager.java:
4438         (processMouseEvent): Use java.awt.Component 
4439         for event source instead of javax.swing.JComponent. 
4440         * javax/swing/plaf/basic/BasicPopupMenuSeparatorUI.java:
4441         New File. Implemented.
4442         
4443 2004-06-16  David Jee  <djee@redhat.com>
4445         * java/awt/GridBagLayout.java
4446         (GetLayoutInfo): Adjust cell sizes iff parent size is not zero.
4447         Make sure pos_x and pos_y are never negative.
4449 2004-04-16  Andrew Overholt  <overholt@redhat.com>
4451         * Makefile.am: Add new file.
4452         * Makefile.in: Re-generate.     
4453         * javax/swing/JToolBar.java
4454         Partially implemented.
4455         * javax/swing/plaf/basic/BasicToolBarUI.java
4456         New file. Partially implemented.
4458 2004-06-16  Graydon Hoare  <graydon@redhat.com>
4460         * gnu/java/awt/peer/gtk/GdkGraphics2D.java 
4461         (setComposite): Accept AlphaComposite arguments.
4462         * gnu/java/awt/peer/gtk/GdkPixbufDecoder.java
4463         (createBufferedImage): Add new overloads.
4464         * gnu/java/awt/peer/gtk/GtkToolkit.java
4465         (createImage): Use GdkPixbufDecoder.createBufferedImage
4466         when useGraphics2D() is true.
4467         (getImage): Delegate to createImage.
4468         * javax/swing/JList.java
4469         (isSelectionEmpty):
4470         (getFirstVisibleIndex):
4471         (getLastVisibleIndex):
4472         (setSelectedValue):
4473         (ensureIndexIsVisible): New methods.
4474         * javax/swing/Timer.java: Reimplement.
4476 2004-06-16  Michael Koch  <konqueror@gmx.de>
4478         * javax/swing/text/AbstractDocument.java
4479         (AbstracElement): Made public, implements java.io.Serializable.
4480         (AttributeContext): Made public.
4481         (BranchElement): Likewise.
4482         (Content): Likewise.
4483         (DefaultDocumentEvent): Made public, extends
4484         javax.swing.undo.CompoundEdit.
4485         (ElementEdit): Made public, extends
4486         javax.swing.undo.AbstractUndoableEdit.
4487         (LeafElement): Made public.
4488         (LeafElement.LeafElement): Made public.
4490 2004-06-16  Michael Koch  <konqueror@gmx.de>
4492         * javax/swing/text/JTextComponent.java: Totally reworked. Removed many
4493         methods (that were obviously never be intended to get included hi this
4494         class. Added some methods too.
4496 2004-06-16  Michael Koch  <konqueror@gmx.de>
4498         * javax/swing/text/PlainDocument.java
4499         (serialVersionUID): New constant.
4500         (lineLimitAttribute): Likewise.
4501         (tabSizeAttribute): Likewise.
4502         (tabSize): New field.
4503         (PlainDocument): Made public.
4504         (PlainDocument): New constructor.
4506 2004-06-16  Michael Koch  <konqueror@gmx.de>
4508         * javax/swing/text/AbstractDocument.java
4509         (insertString): Throws BadLocationException.
4510         * javax/swing/text/Document.java
4511         (insertString): Likewise.
4512         * javax/swing/text/JTextComponent.java:
4513         Javadocs and comments cleaned up.
4515 2004-06-16  Michael Koch  <konqueror@gmx.de>
4517         * javax/swing/event/UndoableEditListener.java: Reformatted.
4518         * javax/swing/text/AbstractDocument.java
4519         (AbstractDocument): Implements java.io.Serializable.
4520         (doc_list): Removed.
4521         (undo_list): Removed.
4522         (AbstractElement.serialVerionUID): New field.
4523         (BranchElement.serialVerionUID): Likewise.
4524         (DefaultDocumentEvent.serialVerionUID): Likewise.
4525         (ElementEdit.serialVerionUID): Likewise.
4526         (LeafElement.serialVerionUID): Likewise.
4527         (serialVerionUID): Likewise.
4528         (BAD_LOCATION): New constant.
4529         (BidiElementName): Likewise.
4530         (ContentElementName): Likewise.
4531         (ParagraphElementName): Likewise.
4532         (SectionElementName): Likewise.
4533         (ElementNameAttribute): Likewise.
4534         (AbstractDocument): Made protected.
4535         (AbstractDocument): New construtor.
4536         (listenerList): New field.
4537         (fireChangedUpdate): Implemented.
4538         (fireInsertUpdate): Likewise.
4539         (fireRemoveUpdate): Likewise.
4540         (fireUndoableEditUpdate): Likewise.
4541         (getListeners): Likewise.
4542         (addDocumentListener): Likewise.
4543         (removeDocumentListener): Likewise.
4544         (addUndoableEditListener): Likewise.
4545         (removeUndoableEditListener): Likewise.
4546         (getDocumentListeners): New method.
4547         (getUndoableEditListeners): Likewise.
4548         (getAsynchronousLoadPriority): Made public.
4549         (getBidiRootElement): Likewise.
4550         (setAsynchronousLoadPriority): Likewise.
4551         (setDocumentProperties): Likewise.
4552         * javax/swing/text/BadLocationException.java
4553         (serialVerionUID): New field.
4554         * javax/swing/text/DefaultCaret.java
4555         (changeEvent): New field.
4556         (listenerList): Likewise.
4557         (changes): Removed.
4558         (addChangeListener): Reimplemented.
4559         (removeChangeListener): Likewise.
4560         (getListeners): New method.
4561         (getChangeListeners): Likwise.
4562         (getComponent): Likewise.
4563         * javax/swing/text/GapContent.java
4564         (GapContent): Implements java.io.Serializable.
4565         (serialVerionUID): New field.
4567 2004-06-16  Michael Koch  <konqueror@gmx.de>
4569         * javax/swing/JTree.java
4570         (treeModel): New field.
4571         (JTree): New constructors, one existing one made public.
4572         (createTreeModel): New method.
4573         (addTreeExpansionListener): Likewise.
4574         (removeTreeExpansionListener): Likewise.
4575         (getTreeExpansionListeners): Likewise.
4576         (fireTreeCollapsed): Likewise.
4577         (fireTreeExpanded): Likewise.
4578         (addTreeSelectionListener): Likewise.
4579         (removeTreeSelectionListener): Likewise.
4580         (getTreeSelectionListeners): Likewise.
4581         (fireValueChanged): Likewise.
4582         (addTreeWillExpandListener): Likewise.
4583         (removeTreeWillExpandListener): Likewise.
4584         (getTreeWillExpandListeners): Likewise.
4585         (fireTreeWillCollapse): Likewise.
4586         (fireTreeWillExpand): Likewise.
4588 2004-06-16  Michael Koch  <konqueror@gmx.de>
4590         * javax/swing/JTree.java: Reformatted.
4592 2004-06-16  Michael Koch  <konqueror@gmx.de>
4594         * javax/swing/JTextArea.java: New file.
4595         * javax/swing/JTextField.java
4596         (actions): Removed.
4597         (notifyAction): New constant.
4598         (columns): New field.
4599         (JTextField): New constructors.
4600         (createDefaultModel): New method.
4601         (addActionListener): Reimplmemented.
4602         (removeActionListener): Reimplemented.
4603         (getActionListeners): New method.
4604         (fireActionPerformed): New method.
4605         (getColumns): New method.
4606         (setColumne): New method.
4607         * javax/swing/text/JTextComponent.java
4608         (AccessibleJTextComponent.serialVersionUID): New field.
4609         (serialVersionUID): Likewise.
4610         (DEFAULT_KEYMAP): Likewise.
4611         (FOCUS_ACCELERATOR_KEY): Likewise.
4612         (doc): Made private.
4613         (icon_gap): Likewise.
4614         (icon): Likewise.
4615         (align): Likewise.
4616         (JTextComponent): Some constructors removed.
4617         (getScrollableTracksViewportHeight): New method.
4618         (getScrollableTracksViewportWidth): Likewise.
4619         * Makefile.am: Added javax/swing/JTextArea.java.
4620         * Makefile.in: Regenerated.
4622 2004-06-15  Graydon Hoare  <graydon@redhat.com>
4624         * javax/swing/ImageIcon.java (ImageIcon): New constructor.
4625         * javax/swing/JFrame.java (defaultLookAndFeelDecorated): New property.
4626         * javax/swing/JViewport.java 
4627         (getExtentSize): Return size rather than preferred size.
4628         (toViewCoordinates): New methods.
4629         (getViewSize): Return size rather than preferred size.
4630         (setViewSize): Note view size as set.
4631         * javax/swing/ViewportLayout.java (layoutContainer): Reimplement.
4632         * javax/swing/plaf/basic/BasicScrollBarUI.java 
4633         (getPreferredSize): Don't redo layout.
4634         * javax/swing/plaf/basic/BasicViewportUI.java 
4635         (paint): Translate image properly and eat exceptions.
4637 2004-06-15  Kim Ho  <kho@redhat.com>
4639         * javax/swing/JTabbedPane.java
4640         (setComponent): Remove old component and
4641         add new component.
4642         (setSelectedIndex): Don't operate on the 
4643         components if they're null. Don't set index
4644         on the model if the index is the same.
4645         (insertTab): Don't add or hide the component
4646         if it's null. Repaint the container.
4647         * javax/swing/plaf/basic/BasicLookAndFeel.java
4648         Change colors for TabbedPane.
4649         * javax/swing/plaf/basic/BasicTabbedPaneUI.java
4650         (mousePressed): Re-layout and paint the component.
4651         (layoutContainer): Don't set location on the view.
4652         (ScrollingViewport::paint): Remove.
4654 2004-06-14  Thomas Fitzsimmons  <fitzsim@redhat.com>
4656         * jni/gtk-peer/gnu_java_awt_peer_gtk_GtkComponentPeer.c
4657         (gtkWidgetDispatchKeyEvent): Change warning message to comment.
4659         * jni/gtk-peer/gnu_java_awt_peer_gtk_GdkGraphics.c (drawString):
4660         Wrap baseline y value in PANGO_PIXELS macro, rather than simply
4661         dividing by PANGO_SCALE.  Call gdk_flush before leaving GDK
4662         critical region.
4663         (drawLine): Call gdk_flush before leaving GDK critical region.
4664         (fillRect): Likewise.
4665         (drawRect): Likewise.
4666         (copyArea): Likewise.
4667         (copyPixmap): Likewise.
4668         (clearRect): Likewise.
4669         (drawArc): Likewise.
4670         (drawPolyline): Likewise.
4671         (drawPolygon): Likewise.
4672         (fillPolygon): Likewise.
4673         (fillArc): Likewise.
4674         (drawOval): Likewise.
4675         (fillOval): Likewise.
4677         * gnu/java/awt/peer/gtk/GdkFontMetrics.java (initState): Add
4678         style parameter.
4679         (GdkFontMetrics): Add style argument to initState call.
4680         (stringWidth(String,int,int,String)): Add style parameter.
4681         (stringWidth(String)): Add style argument to stringWidth call.
4682         * jni/gtk-peer/gnu_java_awt_peer_gtk_GdkFontMetrics.c
4683         (initState): Set pango font style and weight based on AWT style
4684         parameter.  Pass default GTK language to
4685         pango_context_get_metrics.  Use PANGO_PIXELS macro rather than
4686         simply dividing by PANGO_SCALE.
4687         (stringWidth): Set pango font style and weight based on AWT style
4688         parameter.
4690         * java/awt/Button.java (next_button_number): New field.
4691         (paramString): Change output.
4692         (generateName): New method.
4693         (getUniqueLong): New method.
4695 2004-06-14  Kim Ho  <kho@redhat.com>
4697         * javax/swing/JTabbedPane.java:
4698         (setComponentAt): Set the component, not
4699         the enabled status.
4700         * javax/swing/plaf/basic/BasicDesktopIconUI.java
4701         (actionPerformed): Let deiconize catch exception.
4703 2004-06-14  Olga Rodimina  <rodimina@redhat.com>
4705         * javax/swing/JPopupMenu.java:
4706         (setVisible): Corrected location of a 
4707         heavyweight popup menu.
4709 2004-06-14  Olga Rodimina  <rodimina@redhat.com>
4711         * javax/swing/MenuSelectionManager.java: 
4712         Ran through jalopy to fix formatting style.
4714 2004-06-14  Olga Rodimina  <rodimina@redhat.com>
4715         
4716         * javax/swing/JLayeredPane.java: 
4717         (remove): Revalidate and repaint layered pane after
4718         the component was removed.
4719         javax/swing/JMenu.java:
4720         (setVisible): Display popup menu at the user location,
4721         if one was set by the user.
4722         (setMenuLocation): Reimplemented. Fixed javadoc.
4723         * javax/swing/JMenuBar.java: Added javadoc.
4724         (BORDER_PAINTED_CHANGED_PROPERTY): New Property.
4725         (MODEL_CHANGED_PROPERTY): New Property.
4726         (isSelected): Implemented.
4727         (setBorderPainted): Fire PropertyChangeEvent
4728         if paintBorder property changes.
4729         (setSelected): Implemented.
4730         (setSelectionModel): Implemented.
4731         * javax/swing/JPopupMenu.java: Added Javadoc
4732         (pack): Implemented.
4733         (setVisible): Reimplemented.
4734         (show): Fixed location.
4735         (JPopupMenu.LigthWeightPopup): Reimplemented to use
4736         Container instead of JPanel.
4737         * javax/swing/MenuSelectionManager.java: Added Javadocs.
4738         (clearSelectedPath): Reimplemented to clear selectedPath
4739         in reverse order.
4740         (processMouseEvent): Reimplemented.
4741         (setSelectedPath): Fire stateChange event indicating that
4742         selected menu path has changed.
4743         (getPath): Change to use ArrayList instead of Vector.
4744         * javax/swing/plaf/basic/BasicMenuBarUI.java:
4745         (installUI): call installKeyboardActions().
4746         (uninstallUI): call uninstallKeyboardActions().
4748 2004-06-13  Michael Koch  <konqueror@gmx.de>
4750         * javax/swing/text/DefaultCaret.java,
4751         javax/swing/text/BadLocationException.java:
4752         Reformatted.
4754 2004-06-12  Thomas Fitzsimmons  <fitzsim@redhat.com>
4756         * gnu/java/awt/peer/gtk/GtkTextAreaPeer.java (DEFAULT_ROWS,
4757         DEFAULT_COLS): New variables.
4758         (create): Don't allow 0 rows or 0 columns.  Instead, set the
4759         values to DEFAULT_ROWS or DEFAULT_COLS.
4760         (getMinimumSize): Likewise.
4761         (getPreferredSize): Likewise.
4762         (minimumSize): Likewise.
4763         (preferredSize): Likewise.
4764         (create): Set peer's editable state.
4765         * java/awt/TextArea.java (TextArea()): Set rows and columns to
4766         zero.  Update javadocs.
4767         (TextArea(String)): Likewise.
4768         (TextArea(int,int)): Fix javadocs.
4769         (TextArea(String,int,int,int)): Only throw exception if one of
4770         rows or columns is zero.  Fix javadocs.
4772 2004-06-11  Thomas Fitzsimmons  <fitzsim@redhat.com>
4774         * java/awt/AWTEvent.java (toString): Handle MenuComponents in
4775         addition to Components.
4777         * java/awt/MenuItem.java (dispatchEventImpl): If the event
4778         wasn't consumed by normal processing, send it to the parent
4779         menu.
4781         * gnu/java/awt/peer/gtk/GtkImagePainter.java
4782         (setPixels(int,int,int,int,ColorModel,int[],int,int)): Remove
4783         translation.
4785 2004-06-11  David Jee  <djee@redhat.com>
4787         * java/awt/MediaTracker.java
4788         (addImage(Image,int)): Call imageUpdate() to udpate image status.
4789         (addImage(Image,int,int,int)): Likewise.
4791 2004-06-11  Michael Koch  <konqueror@gmx.de>
4793         * javax/swing/text/AbstractDocument.java,
4794         javax/swing/text/Document.java,
4795         javax/swing/text/GapContent.java,
4796         javax/swing/text/JTextComponent.java,
4797         javax/swing/text/PlainDocument.java:
4798         Reformatted.
4800 2004-06-11  Michael Koch  <konqueror@gmx.de>
4802         * javax/swing/JRootPane.java
4803         (AccessibleJRootPane.serialVersionUID): New field.
4804         (AccessibleJRootPane.AccessibleJRootPane): New constructor.
4805         (AccessibleJRootPane.getAccessibleRole): New method.
4806         (RootLayout): Implements Serializable.
4807         (RootLayout.serialVersionUID): New field.
4808         (RootLayout.RootLayout): New constructor.
4809         (setJMenuBar): Made public.
4810         (getJMenuBar): Likewise.
4811         (JRootPane): Likewise.
4812         (createContentPane): Likewise.
4813         (createGlassPane): Likewise.
4814         (createLayeredPane): Likewise.
4816 2004-06-11  Michael Koch  <konqueror@gmx.de>
4818         * javax/swing/SwingUtilities.java
4819         (isLeftMouseButton): Fixed javadoc.
4820         (isMiddleMouseButton): Likewise.
4821         (isRightMouseButton): Likewise.
4823 2004-06-11  Michael Koch  <konqueror@gmx.de>
4825         * javax/swing/JScrollPane.java
4826         (serialVersionUID): New field.
4827         (columnHeader): Made protected.
4828         (rowHeader): Likewise.
4829         (lowerLeft): Likewise.
4830         (lowerRight): Likewise.
4831         (upperLeft): Likewise.
4832         (upperRight): Likewise.
4833         (horizontalScrollBar): Likewise.
4834         (horizontalScrollBarPolicy): Likewise.
4835         (verticalScrollBar): Likewise.
4836         (verticalScrollBarPolicy): Likewise.
4837         (viewport): Likewise.
4839 2004-06-11  Michael Koch  <konqueror@gmx.de>
4841         * javax/swing/LookAndFeel.java: Fixed javadocs.
4843 2004-06-11  Michael Koch  <konqueror@gmx.de>
4845         * javax/swing/JEditorPane.java: Fixed javadocs.
4846         (JEditorPane): Removed redundant call to to this().
4847         (fireHyperlinkUpdate): Implemented.
4849 2004-06-10  Olga Rodimina  <rodimina@redhat.com>
4851         * javax/swing/JMenu.java: Fixed file name 
4852         in the file comment.
4854 2004-06-10  Olga Rodimina  <rodimina@redhat.com>
4856         * javax/swing/JMenu.java: Added javadoc.
4857         (JMenu): Added MenuChangeListener to listen to 
4858         ChangeEvents occuring in menu's model. 
4859         (insert): Throw IllegalArgumentException if 
4860         index is less than 0
4861         (setSelected): Reimplement.
4862         (setPopupMenuVisible): Call menu's model isEnabled()
4863         (setDelay): Throw IllegalArgumentException if 
4864         given amount of delay is less than 0.
4865         (createActionComponent): Implemented.
4866         (createActionChangeListener): Implemented.
4867         (addSeparator): Implemented.
4868         (getItem): Throw IllegalArgumentException if index is 
4869         less than 0.
4870         (getItemCount): Implemented.
4871         (fireMenuSelected): Changed to use menuEvent.
4872         (fireMenuDeselected): Likewise.
4873         (fireMenuCanceled): Likewise.
4874         (setAccelerator): Changed to throw an error if this 
4875         method is used. 
4876         (doClick): Implemented.
4877         (JMenu.ActionChangedListener): New inner class to handle
4878         PropertyChangeEvents occuring in the actions associated with menu.
4879         * javax/swing/plaf/basic/BasicMenuUI.java: Added javadoc.
4880         (BasicMenuUI): Added PropertyChangeListener to the menu.
4881         (createChangeListener): Implemented.
4882         (createMenuDragMouseListener): Likewise.
4883         (createMenuKeyListener): Likewise.
4884         (createPropertyChangeListener): Likewise.
4885         (uninstallListeners): Likewise.
4886         (BasicMenuUI.MouseInputHandler): Reimplemented.
4887         (BasicMenuUI.PropertyChangeHandler): New class. Not implemented yet.
4888         (BasicMenuUI.ChangeHandler): Likewise.
4889         (BasicMenuUI.MenuDragMouseHandler): Likewise.
4890         (BasicMenuUI.MenuKeyHandler): Likewise.
4892 2004-06-10  David Jee  <djee@redhat.com>
4894         * java/awt/MediaTracker.java
4895         (imageUpdate): Only do notifyAll() if the image is complete.
4897 2004-06-10  Olga Rodimina  <rodimina@redhat.com>
4899         * javax/swing/JApplet.java:
4900         (getJMenuBar): Made public.
4901         (setJMenuBar): Likewise.
4902         * javax/swing/JFrame.java:
4903         (getJMenuBar): Made public.
4904         (setJMenuBar): Likewise.
4905         * javax/swing/JWindow.java:
4906         (getJMenuBar): Removed.
4907         (setJMenuBar): Removed.
4909 2004-06-10  Michael Koch  <konqueror@gmx.de>
4911         * javax/swing/JEditorPane.java
4912         (createEditorKitForContentType): Fixed visibility.
4913         (fireHyperlinkUpdate): Likewise.
4914         (getContentType): Likewise.
4915         (getEditorKit): Likewise.
4916         (getEditorKitForContentType): Likewise.
4917         (getPage): Likewise.
4918         (read): Likewise.
4919         (registerEditorKitForContentTyoe): Likewise.
4920         (replaceSelection): Likewise.
4921         (setContentType): Likewise.
4922         (setEditorKit): Likewise.
4923         (setPage): Likewise.
4925 2004-06-10  Michael Koch  <konqueror@gmx.de>
4927         * javax/swing/Timer.java
4928         (Timer): New constructor.
4929         * javax/swing/plaf/basic/BasicProgressBarUI.java
4930         (animationTimer): Don't initialize at construction.
4931         (startAnimationTimer): Added since tag.
4932         (stopAnimationTimer): Likewise.
4933         (installUI): Use new Timer constructor.
4934         * javax/swing/plaf/basic/BasicScrollBarUI.java
4935         (installUI): Likewise.
4936         * javax/swing/plaf/basic/BasicSliderUI.java
4937         (installUI): Likewise.
4939 2004-06-10  Michael Koch  <konqueror@gmx.de>
4941         * javax/swing/ButtonGroup.java
4942         (serialVersionUID): Made private.
4943         (buttons): Renamed from v, added javadoc.
4944         (sel): Added javadoc.
4945         (ButtonGroup): Likewise.
4946         (add): Likewise.
4947         (remove): Likewise.
4948         (getElements): Likewise.
4949         (getSelection): Likewise.
4950         (setSelected): Likewise.
4951         (isSelected): Likewise.
4952         (getButtonCount): Likewise.
4954 2004-06-10  Michael Koch  <konqueror@gmx.de>
4956         * javax/swing/ButtonGroup.java,
4957         javax/swing/ImageIcon.java,
4958         javax/swing/JEditorPane.java,
4959         javax/swing/JRootPane.java,
4960         javax/swing/JTextField.java,
4961         javax/swing/LookAndFeel.java,
4962         javax/swing/plaf/basic/BasicTextUI.java:
4963         Reindented.
4965 2004-06-10  Michael Koch  <konqueror@gmx.de>
4967         * javax/swing/text/Style.java: Added javadocs.
4969 2004-06-10  Michael Koch  <konqueror@gmx.de>
4971         * javax/swing/JComponent.java
4972         (fireVetoableChange): Removed redundant cast.
4973         * javax/swing/JLabel.java
4974         (getDisabledIcon): Save icon for next call.
4976 2004-06-10  Michael Koch  <konqueror@gmx.de>
4978         * javax/swing/KeyStroke.java
4979         (getKeyStroke(char,boolean)): Marked deprecated.
4981 2004-06-10  Michael Koch  <konqueror@gmx.de>
4983         * javax/swing/DefaultCellEditor.java,
4984         javax/swing/GrayFilter.java,
4985         javax/swing/event/DocumentEvent.java,
4986         javax/swing/text/JTextComponent.java,
4987         javax/swing/text/MutableAttributeSet.java:
4988         Reindented.
4990 2004-06-10  Michael Koch  <konqueror@gmx.de>
4992         * javax/swing/plaf/BorderUIResource.java:
4993         Added serialVersionUID all over.
4995 2004-06-10  Sascha Brawer  <brawer@dandelis.ch>
4997         * javax/swing/undo/UndoManager.java: Re-written from scratch.
4999 2004-06-10  Michael Koch  <konqueror@gmx.de>
5001         * javax/swing/table/DefaultTableCellRenderer.java
5002         (noFocusBorder): Initialize directly.
5004 2004-06-10  Michael Koch  <konqueror@gmx.de>
5006         * javax/swing/plaf/basic/BasicArrowButton.java
5007         (setDirection): Use method argument.
5009 2004-06-10  Michael Koch  <konqueror@gmx.de>
5011         * javax/swing/plaf/BorderUIResource.java,
5012         javax/swing/plaf/ComponentUI.java,
5013         javax/swing/undo/CompoundEdit.java,
5014         javax/swing/undo/StateEdit.java:
5015         Fixed javadocs all over.
5017 2004-06-10  Michael Koch  <konqueror@gmx.de>
5019         * javax/swing/DefaultButtonModel.java
5020         (ARMED): Made public final, fixed value.
5021         (ENABLED): Likewise.
5022         (PRESSED): Likewise.
5023         (ROLLOVER): Likewise.
5024         (SELECTED): Likewise.
5025         (stateMask): Initialize directly.
5026         (listenerList): Likewise.
5027         (mnemonic): Likewise.
5028         (fireStateChanged): Removed argument, use changeEvent as event.
5029         All places where this method is called are fixed too.
5030         (getActionCommant): Fixed javadoc.
5031         (setGroup): Fixed javadoc.
5032         (getGroup): New method.
5034 2004-06-09  Olga Rodimina <rodimina@redhat.com>
5036         * javax/swing/AbstractButton.java
5037         (AbstractButton): Use init() to initialize the button.
5038         (init): New Method. Initializes AbstractButton.
5039         * javax/swing/JMenuItem.java: Documented.
5040         (JMenuItem): Reimplemented.
5041         (init): Implemented.
5042         (setEnabled): Changed to call super.setEnabled()
5043         (processMouseEvent): Reimplemented.
5044         (fireMenuKeyPressed): Implemented.
5045         (fireMenuKeyReleased): Implemented.
5046         (fireMenuKeyTyped): Implemented.
5047         (menuSelectionChanged): disarm the model if the menu item was
5048         deselected.
5049         * javax/swing/plaf/basic/BasicMenuItemUI.java:Documented.
5050         (getPath): Change to use ArrayList instead of Vector.
5051         (getPreferredSize): Renamed variable.
5052         (paintMenuItem): Paint margin area of menu item.
5053         (MouseInputHandler.mouseEntered): Set selection in MenuSelectionManager.
5054         (MouseInputHandler.mouseReleased): Check if mouse was pressed inside
5055         menu item's bounds before clearing the selection.       
5057 2004-06-09  David Jee  <djee@redhat.com>
5059         * gnu/java/awt/peer/gtk/GtkTextComponentPeer.java
5060         (GtkTextComponentPeer): Set caret position to 0.
5061         * java/awt/TextComponent.java
5062         (setText): Set caret position to 0.
5063         * jni/gtk-peer/gnu_java_awt_peer_gtk_GtkComponentPeer.c
5064         (Java_gnu_java_awt_peer_gtk_GtkComponentPeer_addExposeFilter):
5065         Handle GtkScrolledWindow separately. Fix signal handler blocking.
5066         (Java_gnu_java_awt_peer_gtk_GtkComponentPeer_removeExposeFilter):
5067         Likewise.
5068         * jni/gtk-peer/gnu_java_awt_peer_gtk_GtkTextAreaPeer.c
5069         (Java_gnu_java_awt_peer_gtk_GtkTextAreaPeer_create): Make cursor
5070         visible.
5072 2004-06-09  Kim Ho  <kho@redhat.com>
5074         * Makefile.am: New files
5075         * Makefile.in: Regenerated
5076         * java/awt/Container.java
5077         (getComponentAt): Removed.
5078         * javax/swing/AbstractAction.java
5079         (ENABLED_PROPERTY): New property.
5080         (putValue): Fire PropertyChangeEvents.
5081         (setEnabled): ditto.
5082         (firePropertyChange): Javadoc and implement
5083         convenience method.
5084         * javax/swing/AbstractButton.java
5085         (setAction): Don't create PropertyChangeListener
5086         if new Action is null.
5087         (setIcon): Don't set icon till after comparing
5088         it.
5089         (configurePropertiesFromAction): Check mnemonic
5090         key before calling intValue().
5091         (createActionPropertyChangeListener): Check
5092         properties rather than bulk change.
5093         * javax/swing/DefaultDesktopManager.java:
5094         Implement.
5095         * javax/swing/DesktopManager.java:
5096         Jalopy and javadoc.
5097         * javax/swing/JComponent.java
5098         (fireVetoableChange): Implement.
5099         (paintImmediately): Use root component.
5100         * javax/swing/JDesktopPane.java: Implement
5101         * javax/swing/JInternalFrame.java: Implement
5102         * javax/swing/JLabel.java
5103         (getDisabledIcon): Return grayscaled icon if
5104         no disabled icon specified.
5105         * javax/swing/JMenuBar.java
5106         (getComponentAtIndex): Use getComponent
5107         * javax/swing/JOptionPane.java
5108         (getDesktopPaneForComponent): Use SwingUtilities'
5109         getAncestorOfClass
5110         (getFrameForComponent): ditto.
5111         * javax/swing/JSplitPane.java
5112         (remove): Use getComponent.
5113         * javax/swing/SwingUtilities.java
5114         (convertPoint): Implement.
5115         * javax/swing/plaf/basic/BasicButtonUI.java
5116         (paintButtonNormal): Check opaqueness before
5117         filling background.
5118         * javax/swing/plaf/basic/BasicDesktopIconUI.java:
5119         Implement
5120         * javax/swing/plaf/basic/BasicDesktopPaneUI.java:
5121         Implement.
5122         * javax/swing/plaf/basic/BasicInternalFrameTitlePane.java:
5123         Implement.
5124         * javax/swing/plaf/basic/BasicInternalFrameUI.java:
5125         Implement.
5126         * javax/swing/plaf/basic/BasicLookAndFeel.java:
5127         Change InternalFrame and Desktop colors.
5129 2004-06-09  David Jee  <djee@redhat.com>
5131         * java/awt/Container.java
5132         (remove): Do not set component to invisible.
5134 2004-06-09  Michael Koch  <konqueror@gmx.de>
5136         * javax/swing/tree/DefaultMutableTreeNode.java
5137         (getLeafCount): Renamed enum to e.
5139 2004-06-09  Michael Koch  <konqueror@gmx.de>
5141         * javax/swing/plaf/basic/BasicSplitPaneDivider.java
5142         (positionForMouseEvent): Removed redundant semicolon.
5143         (continueDrag): Use method arguments.
5145 2004-06-09  Michael Koch  <konqueror@gmx.de>
5147         * javax/swing/border/TitledBorder.java,
5148         javax/swing/filechooser/FileSystemView.java,
5149         javax/swing/plaf/basic/BasicButtonListener.java,
5150         javax/swing/plaf/basic/BasicGraphicsUtils.java,
5151         javax/swing/plaf/basic/BasicLabelUI.java,
5152         javax/swing/plaf/basic/BasicRadioButtonMenuItemUI.java,
5153         javax/swing/plaf/basic/BasicScrollBarUI.java,
5154         javax/swing/plaf/basic/BasicScrollPaneUI.java,
5155         javax/swing/plaf/basic/BasicSliderUI.java,
5156         javax/swing/plaf/basic/BasicTabbedPaneUI.java,
5157         javax/swing/plaf/basic/BasicToggleButtonUI.java,
5158         javax/swing/table/JTableHeader.java,
5159         javax/swing/text/AbstractDocument.java,
5160         javax/swing/text/DefaultCaret.java,
5161         javax/swing/text/StyledEditorKit.java,
5162         javax/swing/tree/DefaultTreeCellEditor.java:
5163         Reworked import statements.
5165 2004-06-08  Graydon Hoare  <graydon@redhat.com>
5167         * javax/swing/Box.java: Temporarily comment out code
5168         broken due to visibility bug.
5170 2004-06-09  Michael Koch  <konqueror@gmx.de>
5172         * javax/swing/ImageIcon.java
5173         (ImageIcon): Added missing constructor.
5175 2004-06-08  Michael Koch  <konqueror@gmx.de>
5177         * javax/swing/JToggleButton.java
5178         (JToggleButton): New constructor.
5179         (getAccessibleContext): Moved documentation into javadoc.
5180         (getUIClassID): Likewise.
5182 2004-06-08  Michael Koch  <konqueror@gmx.de>
5184         * javax/swing/AbstractButton.java
5185         (getDisabledIcon): Create disabled icon if none exists yet.
5187 2004-06-08  Michael Koch  <konqueror@gmx.de>
5189         * javax/swing/plaf/basic/BasicLookAndFeel.java
5190         (initClassDefaults): Added FormattedTextFieldUI.
5191         (loadResourceBundle): Renamed enum to e.
5193 2004-06-08  Michael Koch  <konqueror@gmx.de>
5195         * javax/swing/plaf/basic/BasicButtonUI.java
5196         (paintIcon): Simplified.
5197         (paintText): Paint disabled button correctly.
5199 2004-06-08  Michael Koch  <konqueror@gmx.de>
5201         * javax/swing/JComponent.java
5202         (createToolTip): Use official JToolTip API.
5204 2004-06-08  Michael Koch  <konqueror@gmx.de>
5206         * javax/swing/JToolTip.java
5207         (JToolTip): No arguments in API.
5208         (setTipText): New method.
5210 2004-06-08  Michael Koch  <konqueror@gmx.de>
5212         * javax/swing/SwingUtilities.java
5213         (isLeftMouseButton): New method.
5214         (isMiddleMouseButton): New method.
5215         (isRightMouseButton): New method.
5217 2004-06-08  Michael Koch  <konqueror@gmx.de>
5219         * javax/swing/AbstractButton.java,
5220         javax/swing/CellRendererPane.java,
5221         javax/swing/JCheckBoxMenuItem.java,
5222         javax/swing/JColorChooser.java,
5223         javax/swing/JComboBox.java,
5224         javax/swing/JComponent.java,
5225         javax/swing/JDesktopPane.java,
5226         javax/swing/JFileChooser.java,
5227         javax/swing/JMenu.java,
5228         javax/swing/JMenuItem.java,
5229         javax/swing/JOptionPane.java,
5230         javax/swing/JPasswordField.java,
5231         javax/swing/JPopupMenu.java,
5232         javax/swing/JProgressBar.java,
5233         javax/swing/JRadioButtonMenuItem.java,
5234         javax/swing/JScrollBar.java,
5235         javax/swing/JSeparator.java,
5236         javax/swing/JSlider.java,
5237         javax/swing/JSplitPane.java,
5238         javax/swing/JTabbedPane.java,
5239         javax/swing/JTextField.java,
5240         javax/swing/JToolBar.java,
5241         javax/swing/text/JTextComponent.java:
5242         Fixed all constructors of accessibility classes.
5244 2004-06-08  Michael Koch  <konqueror@gmx.de>
5246         * javax/swing/ScrollPaneLayout.java: Renamed all memeber variables all
5247         over.
5249 2004-06-08  Michael Koch  <konqueror@gmx.de>
5251         * javax/swing/Box.java
5252         (AccessibleBoxFiller): Extends AccessibleAWTComponent.
5253         (AccessibleBoxFiller.serialVersionUID): New member variable.
5254         * javax/swing/DefaultButtonModel.java
5255         (stateMask): Made protected.
5256         (listenerList): Likewise.
5257         (changeEvent): Likewise.
5258         (group): Likewise.
5259         (mnemonic): Likewise.
5260         (actionCommand): Likewise.
5261         (getListeners): New method.
5262         (getActionListeners): New method.
5263         (getItemListeners): New method.
5264         (getChangeListeners): New method.
5265         (fireItemStateChanged): Simplified.
5266         (fireActionPerformed): Simplified.
5267         (fireStateChanged): Simplified.
5268         * javax/swing/JFrame.java
5269         (JFrame): Implements WindowContants.
5270         (HIDE_ON_CLOSE): Removed.
5271         (EXIT_ON_CLOSE): Removed.
5272         (DISPOSE_ON_CLOSE): Removed.
5273         (DO_NOTHING_ON_CLOSE): Removed.
5274         (processWindowEvent): Exit with code 0.
5275         (setDefaultCloseOperation): Do security check before setting value.
5276         * javax/swing/JOptionPane.java
5277         (message): Initialize only in constructor.
5278         * javax/swing/JToolTip.java: Removed unused imports.
5279         * javax/swing/JViewport.java
5280         (serialVersionUID): New member variable.
5281         (SIMPLE_SCROLL_MODE): Made final, fixed value.
5282         (BLIT_SCROLL_MODE): Likewise.
5283         (BACKINGSTORE_SCROLL_MODE): Likewise.
5284         (scrollUnderway): Made protected.
5285         (isViewSizeSet): Likewise.
5286         * javax/swing/ListModel.java: Fixed javadoc.
5287         * javax/swing/Popup.java: Likewise.
5288         * javax/swing/RepaintManager.java
5289         (paintDirtyRegions): Don't use internal classes of
5290         java.util.AbstractMap.
5291         * javax/swing/ScrollPaneConstants.java: Reindented.
5292         * javax/swing/ScrollPaneLayout.java
5293         (viewport): Made protected.
5294         (verticalScrollBar): Made protected, renamed to vsb.
5295         (horizontalScrollBar): Made protected, renamed to hsb.
5296         (rowHeader): Made protected, renamed to rowHead.
5297         (columnHeader): Made protected, renamed to colHead.
5298         (lowerLeft): Made protected.
5299         (lowerRight): Made protected.
5300         (upperLeft): Made protected.
5301         (upperRight): Made protected.
5302         (verticalScrollBarPolicy): Made protected, renamed to vsbPolicy.
5303         (horizontalScrollBarPolicy): Made protected, renamed to hsbPolicy.
5305 2004-06-07  Bernd Schmidt  <bernds@btinternet.com>
5307         * java/awt/MediaTracker.java (imageUpdate): Only set status to
5308         LOADING if flags has SOMEBITS set.
5310 2004-06-07  Michael Koch  <konqueror@gmx.de>
5312         * javax/swing/AbstractButton.java: Reorganized imports.
5313         * javax/swing/ActionMap.java: Likewise.
5314         * javax/swing/DefaultButtonModel.java: Likewise.
5315         * javax/swing/DefaultListModel.java: Likewise.
5316         * javax/swing/ImageIcon.java: Likewise.
5317         (serialVersionUID): New member variable.
5318         * javax/swing/JComboBox.java: Reorganized imports.
5319         * javax/swing/JComponent.java: Likewise.
5320         (ui): Made protected.
5321         (listenerList): Made protected.
5322         (TOOL_TIP_TEXT_KEY): New constant.
5323         (scrollRectToVisible): Removed redundant null check.
5324         * javax/swing/JFrame.java: Reorganized imports.
5325         * javax/swing/JInternalFrame.java: Reorganized imports.
5326         * javax/swing/JProgressBar.java: Likewise.
5327         * javax/swing/JRootPane.java: Likewise.
5328         * javax/swing/JScrollBar.java: Likewise.
5329         * javax/swing/JSeparator.java: Likewise.
5330         * javax/swing/JSlider.java: Likewise.
5331         * javax/swing/JTabbedPane.java: Likewise.
5332         * javax/swing/JTextField.java: Likewise.
5333         * javax/swing/JToolBar.java: Likewise.
5334         * javax/swing/JTree.java: Likewise.
5335         * javax/swing/JViewport.java: Likewise.
5336         * javax/swing/JWindow.java: Likewise.
5337         * javax/swing/KeyStroke.java: Likewise.
5338         * javax/swing/LookAndFeel.java: Likewise.
5339         * javax/swing/MenuSelectionManager.java: Likewise.
5340         * javax/swing/SwingUtilities.java: Likewise.
5341         * javax/swing/Timer.java: Likewise.
5342         * javax/swing/DefaultBoundedRangeModel.java: Fixed javadoc.
5343         * javax/swing/JList.java
5344         (HORIZONTAL_WRAP): Made final, fixed value.
5345         (VERTICAL): Likewise.
5346         (VERTICAL_WRAP): Likewise.
5348 2004-06-07  Michael Koch  <konqueror@gmx.de>
5350         * javax/swing/AbstractButton.java
5351         (serialVersionUID): New member variable.
5352         (AccessibleAbstractButton.serialVersionUID): Likewise.
5353         (AbstractButton): Made public.
5354         * javax/swing/Box.java
5355         (AccessibleBox.serialVersionUID): New member variable.
5356         (Filler.serialVersionUID): Likewise.
5357         * javax/swing/DefaultListSelectionModel.java
5358         (serialVersionUID): Likewise.
5359         * javax/swing/JApplet.java
5360         (serialVersionUID): Likewise.
5361         * javax/swing/JCheckBox.java
5362         (serialVersionUID): Likewise.
5363         * javax/swing/JCheckBoxMenuItem.java
5364         (serialVersionUID): Likewise.
5365         (AccessibleJCheckBoxMenuItem.serialVersionUID): Likewise.
5366         * javax/swing/JColorChooser.java
5367         (serialVersionUID): Likewise.
5368         (AccessibleJColorChooser.serialVersionUID): Likewise.
5369         * javax/swing/JComponent.java
5370         (serialVersionUID): Made private.
5371         (AccessibleJComponent.serialVersionUID): New member variable.
5372         * javax/swing/JDesktopPane.java
5373         (serialVersionUID): Likewise.
5374         * javax/swing/JDialog.java
5375         (serialVersionUID): Likewise.
5376         * javax/swing/JFormattedTextField.java
5377         (serialVersionUID): Fixed value.
5378         * javax/swing/JFrame.java
5379         (serialVersionUID): New member variable.
5380         (getDefaultCloseOpertation): Made public.
5381         * javax/swing/JLayeredPane.java
5382         (serialVersionUID): Likewise.
5383         (LAYER_PROPERTY): Made final, fixed value.
5384         (JLayeredPane): Made public.
5385         * javax/swing/JMenu.java
5386         (AccessibleJMenu.serialVersionUID): New member variable.
5387         (WinListener.serialVersionUID): Likewise.
5388         * javax/swing/JMenuBar.java
5389         (serialVersionUID): Likewise.
5390         (getComponentAtIndex): Added @deprecated tag.
5391         * javax/swing/JMenuItem.java
5392         (serialVersionUID): New member variable.
5393         (AccessibleJMenuItem.serialVersionUID): Likewise.
5394         * javax/swing/JOptionPane.java
5395         (serialVersionUID): Likewise.
5396         (AccessibleJOptionPane.serialVersionUID): Likewise.
5397         * javax/swing/JPopupMenu.java
5398         (serialVersionUID): Likewise.
5399         (AccessibleJPopupMenu.serialVersionUID): Likewise.
5400         (getPopupMenuListeners): New method.
5401         (getComponentAtIndex): Added @deprecated tag.
5402         * javax/swing/JProgressBar.java
5403         (serialVersionUID): New member variable.
5404         (AccessibleJProgressBar.serialVersionUID): Likewise.
5405         * javax/swing/JRadioButton.java
5406         (serialVersionUID): Likewise.
5407         * javax/swing/JRadioButtonMenuItem.java
5408         (serialVersionUID): Likewise.
5409         (AccessibleJRadioButtonMenuItem.serialVersionUID): Likewise.
5410         * javax/swing/JScrollBar.java
5411         (serialVersionUID): Likewise.
5412         (AccessibleJScrollBar.serialVersionUID): Likewise.
5413         * javax/swing/JSeparator.java
5414         (serialVersionUID): Likewise.
5415         (AccessibleJSeparator.serialVersionUID): Likewise.
5416         * javax/swing/JSlider.java: Fixed javadocs.
5417         (AccessibleJSlider.serialVersionUID): New member variable.
5418         * javax/swing/JSplitPane.java: Added copyright statement.
5419         (serialVersionUID): New member variable.
5420         (AccessibleJSplitPane.serialVersionUID): Likewise.
5421         * javax/swing/JTabbedPane.java
5422         (serialVersionUID): Likewise.
5423         (AccessibleJTabbedPane.serialVersionUID): Likewise.
5424         (ModelListener.serialVersionUID): Likewise.
5425         (ModelListener.ModelListener): New constructor.
5426         (SCROLL_TAB_LAYOUT): Made public final, fixed value.
5427         (WRAP_TAB_LAYOUT): Likewise.
5428         * javax/swing/JTable.java
5429         (serialVersionUID): New member variable.
5430         * javax/swing/JToggleButton.java
5431         (serialVersionUID): Likewise.
5432         (ToggleButtonModel): Made static.
5433         (ToggleButtonModel.serialVersionUID): New member variable.
5434         * javax/swing/JToolTip.java
5435         (serialVersionUID): Likewise.
5436         * javax/swing/JTree.java
5437         (serialVersionUID): Likewise.
5438         * javax/swing/JWindow.java
5439         (serialVersionUID): Likewise.
5440         * javax/swing/Timer.java
5441         (serialVersionUID): Likewise.
5443 2004-06-06  Michael Koch  <konqueror@gmx.de>
5445         * javax/swing/SwingConstants.java
5446         (NEXT): New constant.
5447         (PREVIOUS): Likewise.
5448         * javax/swing/UIManager.java
5449         (LookAndFeel): Made public.
5450         (LookAndFeel.getClassName): Likewise.
5451         (LookAndFeel.getName): Likewise.
5453 2004-06-02  Olga Rodimina  <rodimina@redhat.com>
5455         * javax/swing/JCheckBoxMenuItem.java:
5456         Removed CVS tags.
5457         * javax/swing/JMenu.java: Likewise.
5458         * javax/swing/JMenuBar.java: Likewise.
5459         * javax/swing/JMenuItem.java: Likewise.
5460         * javax/swing/JPopupMenu.java: Likewise.
5461         * javax/swing/JRadioButtonMenuItem.java: Likewise.
5462         * javax/swing/plaf/basic/BasicCheckBoxMenuItemUI.java:Likewise.
5463         * javax/swing/plaf/basic/BasicMenuBarUI.java: Likewise.
5464         * javax/swing/plaf/basic/BasicMenuItemUI.java: Likewise.
5465         * javax/swing/plaf/basic/BasicMenuUI.java: Likewise.
5466         * javax/swing/plaf/basic/BasicPopupMenuUI.java: Likewise.
5467         * javax/swing/plaf/basic/BasicRadioButtonMenuItemUI.java: Likewise.
5469 2004-05-31  Olga Rodimina  <rodimina@redhat.com>
5470         
5471         * javax/swing/plaf/basic/BasicMenuUI.java:
5472         (MouseEntered): Do not call getPath() from MenuSelectionManager.
5473         Call getPath() from super class instead.
5475 2004-05-31  David Jee  <djee@redhat.com>
5477         * java/awt/Container.java
5478         (remove): Set component visibility to false after removing it.
5480 2004-05-27  Thomas Fitzsimmons  <fitzsim@redhat.com>
5482         * java/awt/Component.java (getForeground): Return SystemColor if
5483         parent is null.
5484         (getBackground): Likewise.
5486         * jni/gtk-peer/gnu_java_awt_peer_gtk_GtkListPeer.c
5487         (item_highlighted): New function.
5488         (connectSignals): Set item_highlighted as list's select
5489         function.
5491         * java/applet/Applet.java: Revert changes from 2004-04-29,
5492         2004-03-15 and 2004-03-14.
5494         * jni/gtk-peer/gnu_java_awt_peer_gtk_GdkGraphics.c (drawString):
5495         Divide baseline y coordinate by PANGO_SCALE, not DPI conversion
5496         factor.
5498         * gnu/java/awt/peer/gtk/GtkTextAreaPeer.java (create): Set
5499         "Dialog" as the default font.
5500         * gnu/java/awt/peer/gtk/GtkTextFieldPeer.java (create):
5501         Likewise.
5502         * java/awt/Component.java (getFont): Return "Dialog" font by
5503         default.
5504         * jni/gtk-peer/gnu_java_awt_peer_gtk_GdkClasspathFontPeer.c:
5505         Multiply size argument to pango_font_description_set_size by the
5506         DPI conversion factor rather than by PANGO_SCALE.
5507         * jni/gtk-peer/gnu_java_awt_peer_gtk_GdkFontMetrics.c: Likewise.
5508         * jni/gtk-peer/gnu_java_awt_peer_gtk_GdkGraphics.c: Likewise.
5509         * jni/gtk-peer/gnu_java_awt_peer_gtk_GtkButtonPeer.c: Likewise.
5510         * jni/gtk-peer/gnu_java_awt_peer_gtk_GtkCheckboxPeer.c: Likewise.
5511         * jni/gtk-peer/gnu_java_awt_peer_gtk_GtkComponentPeer.c: Likewise.
5512         * jni/gtk-peer/gnu_java_awt_peer_gtk_GtkLabelPeer.c: Likewise.
5513         * jni/gtk-peer/gnu_java_awt_peer_gtk_GtkListPeer.c: Likewise.
5514         * jni/gtk-peer/gnu_java_awt_peer_gtk_GtkTextAreaPeer.c: Likewise.
5515         * jni/gtk-peer/gnu_java_awt_peer_gtk_GtkTextFieldPeer.c: Likewise.
5516         * jni/gtk-peer/gnu_java_awt_peer_gtk_GdkGraphics.c (drawString):
5517         Divide baseline y coordinate by DPI conversion factor rather
5518         than by PANGO_SCALE.
5519         * jni/gtk-peer/gnu_java_awt_peer_gtk_GdkPixbufDecoder.c
5520         (area_prepared): Fix typo.
5521         * jni/gtk-peer/gnu_java_awt_peer_gtk_GtkLabelPeer.c
5522         (gtkSetFont): Move gtk_bin_get_child inside GDK critical region.
5523         * jni/gtk-peer/gnu_java_awt_peer_gtk_GtkMainThread.c
5524         (dpi_conversion_factor): New global variable.
5525         (init_dpi_conversion_factor): New function to calculate and
5526         track DPI conversion factor.
5527         (dpi_changed_cb): New callback.
5528         * jni/gtk-peer/gtkpeer.h (dpi_conversion_factor): Declare.
5530 2004-05-27  David Jee  <djee@redhat.com>
5532         * gnu/java/awt/peer/gtk/GtkComponentPeer.java
5533         (getGraphics): Return a new GdkGraphics instance.
5534         * gnu/java/awt/peer/gtk/GtkContainerPeer.java
5535         (getGraphics): Call super.getGraphics().
5537 2004-05-26  Thomas Fitzsimmons  <fitzsim@redhat.com>
5539         * jni/gtk-peer/gnu_java_awt_peer_gtk_GtkComponentPeer.c
5540         (setNativeBounds): Clamp width and height values to >= 0.
5542         * jni/gtk-peer/gnu_java_awt_peer_gtk_GtkComponentPeer.c
5543         (find_fg_color_widget): Handle GtkOptionMenu specially.
5545         * jni/gtk-peer/gnu_java_awt_peer_gtk_GtkEvents.c
5546         (pre_event_handler): Only post configure events to visible
5547         top-level windows.
5549 2004-05-26  David Jee  <djee@redhat.com>
5551         * java/awt/BorderLayout.java
5552         (layoutContainer): Fix size calculations.
5554 2004-05-26  Thomas Fitzsimmons  <fitzsim@redhat.com>
5556         * jni/gtk-peer/gnu_java_awt_peer_gtk_GtkWindowPeer.c
5557         (window_wm_protocols_filter): Remove function.
5558         (create): Remove filter that removes WM_TAKE_FOCUS client
5559         messages.
5561 2004-06-17  Anthony Green  <green@redhat.com>
5563         * java/util/zip/ZipFile.java (getInputStream): Return null if
5564         entry not found.
5566         * gnu/gcj/runtime/VMClassLoader.java (init): Add extension
5567         directory contents to the class path.
5569 2004-06-15  Andrew Haley  <aph@redhat.com>
5571         * java/lang/natSystem.cc (getenv0): Don't assume environment
5572         variable is Latin 1 coded.
5574 2004-06-14  Andreas Jaeger  <aj@suse.de>
5576         * configure.in: Support --enable-version-specific-runtime-libs.
5577         * configure: Regenerated.
5579 2004-06-14  Bryce McKinlay  <mckinlay@redhat.com>
5581         * java/util/Calendar.java: Change ResourceBundle.getBundle() calls
5582         to pass ClassLoader argument.
5583         * java/util/GregorianCalendar.java: Likewise.
5584         * java/util/Currency.java: Likewise.
5585         * java/text/BreakIterator.java: Likewise.
5586         * java/text/Collator.java: Likewise.
5587         * java/text/DateFormat.java: Likewise.
5588         * java/text/DateFormatSymbols.java: Likewise.
5589         * java/text/DecimalFormatSymbols.java: Likewise.
5590         * java/text/NumberFormat.java: Likewise.
5591         * java/awt/Window.java: Likewise.
5593 2004-06-14  Andrew Haley  <aph@redhat.com>
5595         * java/lang/System.java: (getenv0): New method.
5596         (getenv): Add security check.  Do the right thing.
5597         * java/lang/natSystem.cc (getenv0): New method.
5599 2004-06-12  Mark Wielaard  <mark@klomp.org>
5601         * javax/swing/RepaintManager.java
5602         (paintDirtyRegions): Use entrySet(), not values().
5604 2004-06-10  Mark Wielaard  <mark@klomp.org>
5606         * jni.cc (_Jv_JNI_GetAnyMethodID): Add name and signature to
5607         NoSuchMethodError.
5609 2004-06-11  Jerry Quinn  <jlquinn@optonline.net>
5611         * java/util/GregorianCalendar.java (computeTime):  Skip buggy formulae
5612         when we already know the answer.
5613         * java/util/SimpleTimeZone.java (serialVersionOnStream): Bump to 2.
5614         (setStartRule,setEndRule): Don't take abs of day number.
5615         (getOffset): Clarify docs.  Add argument checks.
5616         (isBefore): Take abs of day number in DOW_LE_DOM_MODE.
5617         (equals,hasSameRules,toString,readObject): Use startTimeMode and
5618         endTimeMode.
5620 2004-06-10  Tom Tromey  <tromey@redhat.com>
5622         * interpret.cc (run): Handle wide fload.
5624 2004-06-06  Jerry Quinn  <jlquinn@optonline.net>
5626         * java/util/zip/ZipEntry.java (setTime): Remove scaling.
5628 2004-06-05  Michael Koch  <konqueror@gmx.de>
5630         * javax/swing/SwingConstants.java
5631         (NEXT): New constant.
5632         (PREVIOUS): Likewise.
5634 2004-06-05  Michael Koch  <konqueror@gmx.de>
5636         * javax/swing/UIManager.java
5637         (LookAndFeel): Made public.
5638         (LookAndFeel.getName): Likewise.
5639         (LookAndFeel.getClassName): Likewise.
5641 2004-06-03  Michael Koch  <konqueror@gmx.de>
5643         * gnu/java/awt/peer/gtk/GtkComponentPeer.java
5644         (requestFocus): Revert last changes.
5645         (gtkRequestFocus): Removed.
5646         * jni/gtk-peer/gnu_java_awt_peer_gtk_GtkComponentPeer.c
5647         (Java_gnu_java_awt_peer_gtk_GtkComponentPeer_gtkRequestFocus):
5648         Renamed to ...
5649         (Java_gnu_java_awt_peer_gtk_GtkComponentPeer_gtkWidgetRequestFocus):
5650         Reverted last patch.
5651         * jni/gtk-peer/gnu_java_awt_peer_gtk_GtkPopupMenuPeer.c
5652         (Java_gnu_java_awt_peer_gtk_GtkPopupMenuPeer_setupAccelGroup):
5653         Reverted comment change.
5655 2004-06-02  Olga Rodimina  <rodimina@redhat.com>
5657         * javax/swing/JCheckBoxMenuItem.java:
5658         Removed CVS tags.
5659         * javax/swing/JMenu.java: Likewise.
5660         * javax/swing/JMenuBar.java: Likewise.
5661         * javax/swing/JMenuItem.java: Likewise.
5662         * javax/swing/JPopupMenu.java: Likewise.
5663         * javax/swing/JRadioButtonMenuItem.java: Likewise.
5664         * javax/swing/plaf/basic/BasicCheckBoxMenuItemUI.java:Likewise.
5665         * javax/swing/plaf/basic/BasicMenuBarUI.java: Likewise.
5666         * javax/swing/plaf/basic/BasicMenuItemUI.java: Likewise.
5667         * javax/swing/plaf/basic/BasicMenuUI.java: Likewise.
5668         * javax/swing/plaf/basic/BasicPopupMenuUI.java: Likewise.
5669         * javax/swing/plaf/basic/BasicRadioButtonMenuItemUI.java: Likewise.
5671 2004-06-01  Tom Tromey  <tromey@redhat.com>
5673         * java/io/ObjectStreamField.java: Cleaned up imports.
5675 2004-06-01  Michael Koch  <konqueror@gmx.de>
5677         * java/io/ObjectStreamField.java: Style and javadoc cleanup.
5678       
5679 2004-06-01  Mark Wielaard  <mark@klomp.org>
5681         * java/io/Writer.java (Writer(Object)): Fixed API doc.
5683 2004-06-01  Michael Koch  <konqueror@gmx.de>
5685         * java/security/Security.java
5686         (insertProviderAt): Use equals() instead of ==.
5687         (removeProvicer): Likewise.
5688         (getProvider): Likewise.
5689         * java/security/Signature.java
5690         (sign): Don't set state to UNINITIALIZED.
5691         (verify): Likewise.
5693 2004-06-01  Mark Wielaard  <mark@klomp.org>
5695         * gnu/java/awt/peer/gtk/GtkComponentPeer.java (requestFocus):
5696         Implement by calling gtkRequestFocus.
5697         (gtkRequestFocus): New native method.
5698         * native/jni/gtk-peer/gnu_java_awt_peer_gtk_GtkComponentPeer.c
5699         (Java_gnu_java_awt_peer_gtk_GtkComponentPeer_requestFocus__):
5700         Renamed to ...
5701         (Java_gnu_java_awt_peer_gtk_GtkComponentPeer_gtkRequestFocus):
5702         New function name.
5703         (filter_expose_event_handler):
5704         Mark static.
5705         * native/jni/gtk-peer/gnu_java_awt_peer_gtk_GtkPopupMenuPeer.c
5706         (menu_pos): Mark static.
5708 2004-06-01  Michael Koch  <konqueror@gmx.de>
5710         * java/text/CollationElementIterator.java,
5711         java/text/CollationKey.java,
5712         java/text/RuleBasedCollator.java: New versions from GNU classpath.
5713         * testsuite/libjava.mauve/xfails: Removed all
5714         java.text.CollationElementIterator tests.
5716 2004-06-01  Michael Koch  <konqueror@gmx.de>
5718         * java/util/zip/InflaterInputStream.java: Merged more with Classpath
5719         version.
5720         * java/util/zip/ZipOutputStream.java (): Renamed enum to e to removed
5721         Java 1.5 keyword usage.
5723 2004-05-31  Olga Rodimina  <rodimina@redhat.com>
5725         * javax/swing/plaf/basic/BasicMenuUI.java:
5726         (MouseEntered): Do not call getPath() from MenuSelectionManager.
5727         Call getPath() from super class instead.
5729 2004-05-31  Michael Koch  <konqueror@gmx.de>
5731         * java/io/SequenceInputStream.java:
5732         Rename enum to e because enum is a keyword in Java 1.5.
5734 2004-05-31  Michael Koch  <konqueror@gmx.de>
5736         * gnu/java/rmi/rmic/CompilerProcess.java:
5737         Fixed javadoc to by XHTML compliant.
5739 2004-05-30  Mark Wielaard  <mark@klomp.org>
5741         * java/awt/Toolkit.java (loadSystemColors): Implement.
5743 2004-05-30  Michael Koch  <konqueror@gmx.de>
5745         * java/lang/System.java: Reordered imports.
5747 2004-05-30  Guilhem Lavaux <guilhem@kaffe.org>
5749         * java/text/DecimalFormat.java
5750         (parse): Fixed parsing of decimal strings. Number of maximum
5751         digits to be read should now work.
5752         * java/text/SimpleDateFormat.java
5753         (SimpleDateFormat): Set maximumFractionDigit to 0 for the number
5754         formatter. This fixes DateFormatTest.
5756 2004-05-30  Michael Koch  <konqueror@gmx.de>
5758         * java/nio/Buffer.java
5759         (limit): Fixed off by one error.
5760         * java/nio/CharBuffer.java
5761         (wrap): Fixed arguments, added javadocs.
5763 2004-05-30  Michael Koch  <konqueror@gmx.de>
5765         * gnu/java/beans/BeanInfoEmbryo.java,
5766         java/awt/im/InputContext.java,
5767         javax/swing/tree/DefaultMutableTreeNode.java:
5768         Rename enum to e because enum is a keyword in Java 1.5.
5770 2004-05-30  Michael Koch  <konqueror@gmx.de>
5772         * gnu/java/math/MPN.java,
5773         java/awt/geom/Arc2D.java:
5774         Fixed javadocs all over.
5776 2004-05-30  Michael Koch  <konqueror@gmx.de>
5778         * java/awt/DefaultKeyboardFocusManager.java
5779         (dispatchEvent): Call method to get key event dispatchers.
5780         (dispatchKeyEvent): Call method to get key event post processors.
5781         * javax/swing/JComponent.java
5782         (listenerList): Made protected.
5783         * javax/swing/JOptionPane.java
5784         (message): Don't initialize.
5785         (JOptionPane): Set message text.
5786         * javax/swing/JPopupMenu.java
5787         (show): Fixed typo in argument name.
5788         * javax/swing/RepaintManager.java
5789         (paintDirtyRegions): Use public API of java.util.Map.
5790         * javax/swing/plaf/basic/BasicSplitPaneDivider.java
5791         (positionForMouseEvent): Removed redundant ';'.
5792         (continueDrag): Use method arguments.
5794 2004-05-29  Ranjit Mathew  <rmathew@hotmail.com>
5796         * testsuite/libjava.jacks/jacks.xfail: Update for post tree-ssa merge
5797         results.
5799 2004-05-28  Bryce McKinlay  <mckinlay@redhat.com>
5801         * gcj/cni.h (JvAllocBytes): New public CNI function. Calls
5802         _Jv_AllocBytes.
5803         * gnu/gcj/RawDataManaged.java: New file.
5804         * java/lang/Thread.java (data): Declare as RawDataManaged.
5805         * java/lang/natThread.cc (init_native): Cast natThread data to
5806         RawDataManaged, not jobject.
5807         * Makefile.am (ordinary_java_source_files): Add RawDataManaged.
5808         * Makefile.in: Rebuilt.
5810 2004-05-27  Jerry Quinn  <jlquinn@optonline.net>
5812         * java/util/SimpleTimeZone.java: Reverting my last change until I
5813         can fix it properly.
5815 2004-05-27  Michael Koch  <konqueror@gmx.de>
5817         * javax/swing/JPopupMenu.java
5818         (isVisible): Do not use visible directly.
5819         (setVisible): Likewise.
5820         * javax/swing/JWindow.java
5821         (JWindow): call accessible constructor.
5822         * javax/swing/RepaintManager.java
5823         (paintDirtyRegions): Use public methods to obtain iterator.
5825 2004-05-25  David Jee  <djee@redhat.com>
5827         * java/awt/Container.java
5828         (remove): Set component's parent to null only after we removed the
5829         component from its parent's layout manager.
5831 2004-05-25  David Jee  <djee@redhat.com>
5833         * gnu/java/awt/peer/gtk/GtkComponentPeer.java
5834         (GtkComponentPeer): Set bounds regardless of whether awtComponent
5835         is valid.
5836         * gnu/java/awt/peer/gtk/GtkListPeer.java
5837         (getSize): Change native method declaration.
5838         (minimumSize): Pass visible row count into getSize().
5839         (preferredSize): Likewise.
5840         * jni/gtk-peer/gnu_java_awt_peer_gtk_GtkListPeer.c
5841         (Java_gnu_java_awt_peer_gtk_GtkListPeer_getSize): Use scroll window's
5842         natural size. Use visible row count to determine the final height
5843         value to return.
5845 2004-05-21  Graydon Hoare  <graydon@redhat.com>
5847         * gnu/java/awt/peer/gtk/GdkGraphics2D.java 
5848         (setClip): Minor correction to order of operations.
5850         * javax/swing/JScrollPane.java: Extend sketchy implementation.
5851         * javax/swing/ScrollPaneLayout.java: Likewise.
5852         * javax/swing/JViewPort.java: Likewise.
5853         * javax/swing/ViewportLayout.java: Likewise.
5855         * javax/swing/JComponent.java: Rewrite.
5856         * javax/swing/RepaintManager.java: Likewise.
5858         * javax/swing/JLayeredPane.java: Change validate() to revalidate().
5859         * javax/swing/JList.java 
5860         (setSelectedIndices):
5861         (getSelectedIndices):
5862         (getSelectedValues): New functions.
5863         (getPreferredScrollableViewportSize): Return preferred size.
5864         (getScrollableUnitIncrement):
5865         (getScrollableBlockIncrement): Initial implementations.
5866         * javax/swing/JRootPane.java: Clean up slightly.
5867         (getUI):
5868         (setUI):
5869         (updateUI):
5870         (getUIClassID):
5871         (isValidateRoot): Add overrides from JComponent.
5872         * javax/swing/JScrollBar.java: Set default orientation to VERTICAL.
5873         * javax/swing/UIManager.java (getDimension): Return the dimension.
5875         * javax/swing/plaf/basic/BasicButtonUI.java: Set component opaque.
5876         * javax/swing/plaf/basic/BasicLabelUI.java: Likewise.
5877         * javax/swing/plaf/basic/BasicMenuItemUI.java: Likewise.
5878         * javax/swing/plaf/basic/BasicProgressBarUI.java: Likewise.
5879         * javax/swing/plaf/basic/BasicSeparatorUI.java: Likewise.
5880         * javax/swing/plaf/basic/BasicSliderUI.java: Likewise.
5881         * javax/swing/plaf/basic/BasicTabbedPaneUI.java: Likewise.
5882         * javax/swing/plaf/basic/BasicRootPaneUI.java: 
5883         Likewise, and set background.
5884         * javax/swing/plaf/basic/BasicListUI.java: 
5885         Likewise, and improve a bit.
5886         * javax/swing/plaf/basic/BasicScrollBarUI.java: 
5887         Likewise, and adjust calculations.
5888         * javax/swing/plaf/basic/BasicViewportUI.java:
5889         Likewise, and improve a bit.
5890         * javax/swing/plaf/basic/BasicLookAndFeel.java 
5891         (Button.margin): Shrink.
5893         * jni/gtk-peer/gnu_java_awt_peer_gtk_GdkGlyphVector.c:
5894         Hack to set horizontal always, workaround pango.
5896         * jni/gtk-peer/gtkcairopeer.h: Change to match pattern API.
5897         * jni/gtk-peer/gnu_java_awt_peer_gtk_GdkGraphics2D.c:
5898         Synchronize more often, check cairo status after ops,
5899         handle changes to cairo pattern API, check for disposal.
5901 2004-05-21  Olga Rodimina  <rodimina@redhat.com>
5903         * javax/swing/plaf/basic/BasicMenuItemUI.java:
5904         (BasicMenuItemUI): Create propertyChangeListener.
5905         (getPath):Implemented.
5906         (installListeners): Add propertyChangeListener to menuItem.
5907         (uninstallListeners): Remove propertyChangeListener from menuItem.
5908         (update): Implemented.
5909         * javax/swing/plaf/basic/BasicMenuUI.MouseInputHandler:
5910         (mouseEntered): Take insets of popup menu into account when
5911         calculating position of popup menu.     
5912         
5913 2004-05-18  Olga Rodimina  <rodimina@redhat.com>
5915         * Makefile.am: Added new file. 
5916         * Makefile.in: Regenerate.
5917         * javax/swing/JMenuBar.java:
5918         Started implementation.
5919         * javax/swing/JPopupMenu.java:
5920         (setVisible): Fixed location of lightweight/mediumweight
5921         popup menu.
5922         (show): Fixed location of PopupMenu.
5923         * javax/swing/plaf/basic/BasicMenuBarUI.java:
5924         New file. UI Delegate for JMenuBar.
5925         * javax/swing/plaf/basic/BasicMenuUI.MouseInputHandler:
5926         (mouseEntered): Corrected position of the submenu.
5928 2004-05-18  Thomas Fitzsimmons  <fitzsim@redhat.com>
5930         * jni/gtk-peer/gnu_java_awt_peer_gtk_GtkMenuPeer.c: Remove calls
5931         to _gtk_accel_group_attach.
5932         * jni/gtk-peer/gnu_java_awt_peer_gtk_GtkPopupMenuPeer.c:
5933         Likewise.
5935         * gnu/java/awt/peer/gtk/GtkButtonPeer.java: Give gtkSetFont
5936         package access.  Don't override setFont.
5937         * gnu/java/awt/peer/gtk/GtkCheckboxPeer.java: Likewise.
5938         * gnu/java/awt/peer/gtk/GtkComponentPeer.java: Give
5939         gtkWidgetRequestFocus package access.
5940         * gnu/java/awt/peer/gtk/GtkLabelPeer.java: Don't override
5941         setFont.
5942         * gnu/java/awt/peer/gtk/GtkListPeer.java: Override gtkSetFont.
5943         Give gtkWidgetRequestFocus package access.
5944         * gnu/java/awt/peer/gtk/GtkTextAreaPeer.java: Give
5945         gtkWidgetRequestFocus package access.  Don't override setFont.
5946         * gnu/java/awt/peer/gtk/GtkTextFieldPeer.java: Don't override
5947         setFont.
5948         * jni/gtk-peer/gnu_java_awt_peer_gtk_GtkButtonPeer.c
5949         (gtkSetLabel): Move call to gtk_bin_get_child into GDK critical
5950         region.
5951         (gtkSetFont): Likewise.
5952         * jni/gtk-peer/gnu_java_awt_peer_gtk_GtkListPeer.c (gtkSetFont):
5953         Implement.
5954         * jni/gtk-peer/gnu_java_awt_peer_gtk_GtkTextAreaPeer.c
5955         (gtkSetFont): Whitespace fix.
5957         * jni/gtk-peer/gnu_java_awt_peer_gtk_GtkComponentPeer.c
5958         (gtkWidgetSetUsize): Remove method.
5960 2004-05-18  David Jee  <djee@redhat.com>
5962         * java/awt/image/MemoryImageSource.java
5963         (newPixels(int,int,int,int,boolean)): Set only the specified
5964         rectangle of pixels.
5965         (newPixels(byte[],ColorModel,int,int)): Implement.
5966         (newPixels(int[],ColorModel,int,int)): Implement.
5968 2004-05-18  Olga Rodimina  <rodimina@redhat.com>
5970         * Makefile.am: Added new file.
5971         * Makefile.in: Regenerate.
5972         * javax/swing/JMenu.java: Started 
5973         implementation.
5974         * javax/swing/JPopupMenu.java:
5975         (insert): If specified index is -1, then
5976         add component at the end.
5977         (isPopupTrigger): Reimplemented.
5978         (JPopupMenu.LightWeightPopup): setBounds
5979         of the lightWeightPopup before adding it 
5980         to the layeredPane.
5981         (javax/swing/plaf/basic/BasicIconFactory.java):
5982         (getMenuArrowIcon): Implemented.
5983         * javax/swing/plaf/basic/BasicMenuItemUI.java:
5984         (getPreferredSize): Add size of the arrow icon 
5985         if this menu item is instance of JMenu.
5986         (paintMenuItem): Paint arrow icon if this 
5987         menu item is a submenu.
5988         * javax/swing/plaf/basic/BasicMenuUI.java:
5989         New File. UI Delegate for JMenu.
5991 2004-05-17  Thomas Fitzsimmons  <fitzsim@redhat.com>
5993         * gnu/java/awt/peer/gtk/GtkComponentPeer.java (postKeyEvent):
5994         Post KEY_TYPED events.
5995         * jni/gtk-peer/gnu_java_awt_peer_gtk_GtkEvents.c
5996         (generates_key_typed_event): Remove function.
5998 2004-05-17  Olga Rodimina  <rodimina@redhat.com>
6000         * javax/swing/JRootPane.java
6001         (JRootPane.RootLayout): Reimplemented to 
6002         set bounds of contentPane and menuBar.
6003         (setJMenuBar): Add menu bar to the layered pane.
6004         (createLayeredPane): Set layout of layeredPane
6005         to null.
6006         * javax/swing/JLayeredPane.java:
6007         (addImpl): Calculate index of the component in the
6008         layeredPane according to the specified position within 
6009         the layer.      
6011 2004-05-17  David Jee  <djee@redhat.com>
6013         * gnu/java/awt/peer/gtk/GtkImagePainter.java
6014         (setPixels): Change color model to the default model after
6015         converting pixels.
6016         * java/awt/image/MemoryImageSource.java
6017         (newPixels): Set only the specified rectangle of pixels.
6019 2004-05-13  Thomas Fitzsimmons  <fitzsim@redhat.com>
6021         * libgcj.spec.in (lib): Add -l-java-awt -l-java-applet
6022         -l-java-beans -l-javax-accessibility -l-javax-swing.
6024         * java/awt/AWTEvent.java (toString): Print source's name rather
6025         than the source itself.
6027 2004-05-12  Thomas Fitzsimmons  <fitzsim@redhat.com>
6029         * gnu/java/awt/peer/gtk/GtkToolkit.java (loadSystemColors): Make
6030         native.
6031         * jni/gtk-peer/gnu_java_awt_peer_gtk_GtkToolkit.c
6032         (gdk_color_to_java_color): New function.
6033         * jni/gtk-peer/gtkpeer.h: Add SystemColor defines.
6035 2004-05-12  David Jee  <djee@redhat.com>
6037         * java/awt/image/RGBImageFilter.java:
6038         Initialize origmodel as null.
6039         (makeColor): Fix pixel component order.
6040         (filterRGBPixels): Fix pixel iteration.
6041         (setPixels): Add extra checks for index color model. Convert pixels
6042         to default color model if necessary.
6043         (convertColorModelToDefault): New override method for byte pixels.
6044         (convertColorModelToDefault): For int pixels, fix pixel iteration.
6045         (makeColorbyDefaultCM): New override method for byte pixels.
6046         (makeColorbyDefaultCM): For int pixel, add color model as argument.
6047         (makeColor): Fix pixel component order.
6049 2004-05-11  Kim Ho  <kho@redhat.com>
6051         * javax/swing/Box.java:
6052         Comment out more parts of Box.Filler.
6054 2004-05-11  Kim Ho  <kho@redhat.com>
6056         * javax/swing/Box.java:
6057         Remove reference to AccessibleAWTComponent so
6058         it compiles again.
6060 2004-05-10  Thomas Fitzsimmons  <fitzsim@redhat.com>
6062         * gnu/java/awt/peer/gtk/GtkListPeer.java,
6063         jni/gtk-peer/gnu_java_awt_peer_gtk_GtkListPeer.c: Update
6064         implementation of list peer to use GtkTreeView instead of
6065         deprecated GtkCList.
6067 2004-05-07  Thomas Fitzsimmons  <fitzsim@redhat.com>
6069         * gnu/java/awt/peer/gtk/GtkComponentPeer.java
6070         (gtkWidgetDispatchKeyEvent): Remove keyChar parameter.
6071         (handleEvent): Remove keyChar argument to
6072         gtkWidgetDispatchKeyEvent calls.
6073         * jni/gtk-peer/gnu_java_awt_peer_gtk_GtkComponentPeer.c: Fix
6074         compiler warnings.
6075         * jni/gtk-peer/gnu_java_awt_peer_gtk_GtkEvents.c: Likewise.
6076         * jni/gtk-peer/gnu_java_awt_peer_gtk_GtkMenuPeer.c: Likewise.
6077         * jni/gtk-peer/gnu_java_awt_peer_gtk_GtkTextComponentPeer.c:
6078         Likewise.
6080 2004-05-06  Thomas Fitzsimmons  <fitzsim@redhat.com>
6082         * gnu/java/awt/peer/gtk/GtkComponentPeer.java
6083         (gtkWidgetRequestFocus): Mark protected.
6084         (GtkComponentPeer): Only set the peer's bounds if its component
6085         is valid.
6086         * java/awt/Component.java (static): Set the default keyboard
6087         focus manager.
6088         (requestFocus(), requestFocus(boolean), requestFocusInWindow(),
6089         requestFocusInWindow(temporary)): Don't request focus if the
6090         component is not showing.  Get tree lock before traversing
6091         component hierarchy.
6092         * java/awt/DefaultKeyboardFocusManager.java (dispatchEvent):
6093         Only set the global focus owner if it is not a Window.
6094         (processKeyEvent): Consume keystrokes associated with the focus
6095         traversal keystroke.
6096         (focusPreviousComponent, focusNextComponent, upFocusCycle,
6097         downFocusCycle): Call requestFocusInWindow instead of
6098         requestFocus.
6099         * java/awt/EventDispatchThread.java (run): Move setting of
6100         default keyboard focus manager to Component.java.
6101         * jni/gtk-peer/gnu_java_awt_peer_gtk_GtkComponentPeer.c
6102         (awt_keycode_to_keysym): New function.
6103         (gtkWidgetDispatchKeyEvent): Finish implementation.
6104         * jni/gtk-peer/gnu_java_awt_peer_gtk_GtkEvents.c
6105         (pre_event_handler): Add FIXME comment.
6107         * gnu/java/awt/peer/gtk/GtkTextAreaPeer.java,
6108         jni/gtk-peer/gnu_java_awt_peer_gtk_GtkTextAreaPeer.c
6109         (gtkWidgetRequestFocus): New method.
6110         * java/awt/TextArea.java (TextArea): Set focus traversal keys to
6111         disable Tab and Shift-Tab keystrokes.
6112         (addNotify, appendText, insertText, replaceText): Simplify peer
6113         retrieval code.
6114         * jni/gtk-peer/gnu_java_awt_peer_gtk_GtkTextComponentPeer.c
6115         (connectSignals): Remove connections to "commit" signals.
6116         Remove C++-style comments.
6118         * gnu/java/awt/peer/gtk/GtkButtonPeer.java,
6119         jni/gtk-peer/gnu_java_awt_peer_gtk_GtkButtonPeer.c
6120         (handleEvent): Activate GTK button when the space bar key is
6121         pressed.
6122         (gtkActivate): New method.
6124 2004-05-06  David Jee  <djee@redhat.com>
6126         * java/awt/image/CropImageFilter.java
6127         (setPixels): Implement for byte array pixels.
6128         * java/awt/image/ReplicateScaleFilter.java
6129         (setPixels): Implement for byte array pixels.
6130         (replicatePixels): Overload for byte array pixels.
6132 2004-05-06  Kim Ho  <kho@redhat.com>
6134         * javax/swing/Box.java:
6135         (getAccessibleContext): Return an instance of the 
6136         correct class.
6138 2004-05-05  David Jee  <djee@redhat.com>
6140         * gnu/java/awt/peer/gtk/GdkGraphics.java
6141         (drawImage): When component is null, use SystemColor.window as
6142         the default bgcolor.
6143         * gnu/java/awt/peer/gtk/GtkImage.java
6144         (setPixels): We can avoid iterating through the pixel rows only
6145         when height is 1.
6146         * java/awt/Image.java
6147         (getScaledInstance): Partially implement.
6148         * java/awt/image/CropImageFilter.java
6149         (setProperties): Fix "filter" property.
6150         (setPixels): Implement.
6151         * java/awt/image/ReplicateScaleFilter.java
6152         (setDimensions): Use scaled dimensions.
6153         (setPixels): Implement.
6154         (replicatePixels): New method.
6156 2004-05-05  David Jee  <djee@redhat.com>
6158         * gnu/java/awt/peer/gtk/GtkImagePainter.java
6159         (convertPixels): If either pixels or model is null, return null.
6160         * jni/gtk-peer/gnu_java_awt_peer_gtk_GtkImagePainter.c
6161         (Java_gnu_java_awt_peer_gtk_GtkImagePainter_drawPixels): If jpixels
6162         is null, do nothing and return.
6164 2004-05-03  Kim Ho  <kho@redhat.com>
6166         * gnu/java/awt/peer/gtk/GtkDialogPeer.java:
6167         (getGraphics): Like GtkFramePeer, the Graphics
6168         object needs to be translate to account for
6169         window decorations.
6170         (postMouseEvent): New method. Account for
6171         translation.
6172         (postExposeEvent): ditto.
6173         * javax/swing/Box.java: Stubbed.
6174         * javax/swing/JDialog.java: Ran through jalopy
6175         to fix indentation.
6176         (JDialog): Call SwingUtilities' getOwnerFrame
6177         for null owners.
6178         (setLayout): Check isRootPaneCheckingEnabled
6179         * javax/swing/JOptionPane.java: Re-implemented.
6180         * javax/swing/SwingUtilities.java:
6181         (getOwnerFrame): Static method to grab a default
6182         owner frame for Dialogs that don't specify owners.
6183         * javax/swing/event/SwingPropertyChangeSupport.java:
6184         (firePropertyChange): Fix early exit condition.
6185         * javax/swing/plaf/basic/BasicLabelUI.java:
6186         (paint): Avoid painting text if it is null 
6187         or empty.
6188         * javax/swing/plaf/basic/BasicOptionPaneUI.java:
6189         Implement.
6191 2004-05-03  Olga Rodimina  <rodimina@redhat.com>
6193         * Makefile.am: Added new file.
6194         * Makefile.in: Regenerate.
6195         * javax/swing/JPopupMenu.java:
6196         Started implementation.
6197         * javax/swing/JWindow.java
6198         (JWindow): call super() if parent for window
6199         is not specified.
6200         * javax/swing/plaf/basic/BasicPopupMenuUI.java:
6201         New File. UI Delegate for JPopupMenu.
6203 2004-04-30  Olga Rodimina  <rodimina@redhat.com>
6205         * javax/swing/JApplet.java: Indicated that JApplet
6206         implements RootPaneContainer and made method of this
6207         interface public. 
6208         * javax/swing/JFrame.java: Ditto.
6209         * javax/swing/JWindow.java: Ditto.
6210         
6211 2004-04-29  Thomas Fitzsimmons  <fitzsim@redhat.com>
6213         * jni/gtk-peer/gnu_java_awt_peer_gtk_GtkWindowPeer.c
6214         (nativeSetBounds): Call gdk_window_move in addition to
6215         gtk_window_move.
6217         * java/applet/Applet.java (preferredSize): Call parent's
6218         preferredSize if the applet stub is null.
6219         (minimumSize): Likewise for parent's minimumSize.
6221 2004-04-27  Olga Rodimina  <rodimina@redhat.com>
6223         * javax/swing/JMenuItem.java
6224         (createActionPropertyChangeListener): Implemented.
6225         (processMouseEvent): Ditto.
6226         (fireMenuDragMouseEntered): Ditto.
6227         (fireMenuDragMouseExited): Ditto.
6228         (fireMenuDragMouseDragged): Ditto.
6229         (fireMenuDragMouseReleased): Ditto.
6230         (menuSelectionChanged): Ditto.
6231         (getSubElements): Ditto.
6232         (getComponent): Ditto.
6233         (addMenuDragMouseListener): Ditto.
6234         (removeMenuDragMouseListener):Ditto.
6235         (addMenuKeyListener): Ditto.
6236         (removeMenuKeyListener): Ditto.
6237         * javax/swing/plaf/basic/BasicMenuItemUI.java
6238         (doClick): Imlemented.
6239         * javax/swing/plaf/basic/BasicMenuItemUI.MouseInputHandler:
6240         Don't handle mouse events here. Pass them to 
6241         MenuSelectionManager.
6242         
6243 2004-04-26  Olga Rodimina  <rodimina@redhat.com>
6244         Used correct version of jalopy configuration
6245         file to fix style in the files below.
6247 2004-04-26  Olga Rodimina  <rodimina@redhat.com>
6249         * javax/swing/JCheckBoxMenuItem.java: 
6250         Fixed style and removed unnecessary comments.
6251         * javax/swing/JMenuItem.java: Ditto.
6252         * javax/swing/JRadioButtonMenuItem.java: Ditto.
6253         * javax/swing/plaf/basic/BasicCheckBoxMenuItemUI.java: Ditto.
6254         * javax/swing/plaf/basic/BasicMenuItemUI.java: Ditto.
6255         * javax/swing/plaf/basic/BasicRadioButtonMenuItemUI.java: Ditto.
6257 2004-04-23  Thomas Fitzsimmons  <fitzsim@redhat.com>
6259         * gnu_java_awt_peer_gtk_GtkWindowPeer.c: Change FIXME comment to
6260         C-style.
6262         * gnu_java_awt_peer_gtk_GtkWindowPeer.c: Add FIXME comment.
6264         * java/awt/ContainerOrderFocusTraversalPolicy.java
6265         (getComponentAfter): Start from current component and work up
6266         the component hierarchy until an acceptable component is found.
6267         Synchronize on tree lock.
6268         (getComponentBefore): Likewise.
6270 2004-04-22  Thomas Fitzsimmons  <fitzsim@redhat.com>
6272         * gnu/java/awt/peer/gtk/GtkComponentPeer.java: Remove
6273         focus-related debugging messages.
6274         * java/awt/DefaultKeyboardFocusManager.java: Likewise.
6275         * java/awt/EventDispatchThread.java: Likewise.
6276         * java/awt/KeyboardFocusManager.java: Likewise.
6277         * java/awt/Window.java: Likewise.
6278         * jni/gtk-peer/gnu_java_awt_peer_gtk_GtkComponentPeer.c: Likewise.
6279         * jni/gtk-peer/gnu_java_awt_peer_gtk_GtkEvents.c: Likewise.
6281         * jni/gtk-peer/gnu_java_awt_peer_gtk_GtkComponentPeer.c: Change
6282         new C++-style comments to C-style comments.
6283         * jni/gtk-peer/gnu_java_awt_peer_gtk_GtkEvents.c: Likewise.
6285         * gnu/java/awt/peer/gtk/GtkComponentPeer.java,
6286         jni/gtk-peer/gnu_java_awt_peer_gtk_GtkComponentPeer.c
6287         (handleEvent): Dispatch key press and key release events to
6288         backing widget.
6289         (requestFocus): Post a FOCUS_GAINED event to the event queue.
6290         (gtkWidgetRequestFocus): New method.
6291         (gtkWidgetDispatchKeyEvent): Likewise.
6292         * java/awt/Component.java (requestFocus, requestFocus(boolean),
6293         requestFocusInWindow, requestFocusInWindow(boolean),
6294         getFocusCycleRootAncestor, nextFocus, transferFocus,
6295         transferFocusBackward, transferFocusUpCycle, hasFocus,
6296         isFocusOwner): Implement and document focus-handling methods.
6297         (setFocusTraversalKeys): Inherit focus traversal keys when
6298         keystrokes argument is null.  Fix focus-handling documentation
6299         throughout class.
6300         * java/awt/Container.java (setFocusTraversalKeys,
6301         getFocusTraversalKeys, areFocusTraversalKeysSet,
6302         isFocusCycleRoot, setFocusTraversalPolicy,
6303         getFocusTraversalPolicy, isFocusTraversalPolicySet,
6304         setFocusCycleRoot, isFocusCycleRoot, transferFocusDownCycle):
6305         Implement and document focus-handling methods.
6306         (transferFocusBackward): Remove method.
6307         (readObject, writeObject): Implement and document serialization
6308         methods.
6309         * java/awt/ContainerOrderFocusTraversalPolicy.java: Implement
6310         and document.
6311         * java/awt/DefaultFocusTraversalPolicy.java: Implement and
6312         document.
6313         * java/awt/DefaultKeyboardFocusManager.java: Implement and
6314         partially document.
6315         * java/awt/EventDispatchThread.java (run): Set default keyboard
6316         focus manager.  Attempt to dispatch each event to the keyboard
6317         focus manager before normal dispatch.
6318         * java/awt/KeyboardFocusManager.java: Implement and partially
6319         document.
6320         * java/awt/Window.java (Window): Set focusCycleRoot to true.
6321         (show): Focus initial component when window is shown for the
6322         first time.
6323         * jni/gtk-peer/gnu_java_awt_peer_gtk_GtkEvents.c
6324         (pre_event_handler): Replace complex key press and key release
6325         logic with simple callbacks into GtkComponentPeer.
6326         * jni/gtk-peer/gtkpeer.h: Fix FOCUS_GAINED/FOCUS_LOST reversal.
6328 2004-04-21  Olga Rodimina  <rodimina@redhat.com>
6330         * javax/swing/MenuSelectionManager.java
6331         (componentForPoint): Added new method. 
6332         (defaultManager): New Method. Implemented.
6333         (getSelectedPath): Ditto.
6334         (isComponentPartOfCurrentMenu): Ditto.
6335         (processKeyEvent): Added new method.
6336         (processMouseEvent): New Method. Implemented.
6337         (setSelectedPath): Ditto.
6338         (getPath): Ditto.
6340 2004-04-19  Kim Ho  <kho@redhat.com>
6342         * java/awt/Container.java: 
6343         (remove): Set the component's parent to null.
6344         (getComponentAt): Implement.
6345         * javax/swing/JComponent.java:
6346         (JComponent): Initialize defaultLocale
6347         (getDefaultLocale): Implement.
6348         (setDefaultLocale): ditto.
6349         * javax/swing/JSlider.java:
6350         (JSlider): Fix calculation of value.
6351         * javax/swing/JSplitPane.java: Implement.
6352         * javax/swing/plaf/basic/BasicLookAndFeel.java:
6353         Change SplitPane's default divider size.
6354         * javax/swing/plaf/basic/BasicScrollBarUI.java:
6355         (paint): Remove unused code.
6356         * javax/swing/plaf/basic/BasicSplitPaneDivider.java:
6357         Added comments and ran through jalopy.
6358         (setBasicSplitPaneUI): Get reference to hidden divider
6359         and set up one touch buttons if necessary.
6360         (setBorder): Fire propertyChangeEvent only if 
6361         borders are different.
6362         (getPreferredSize): Defer to layout manager.
6363         (propertyChange): Implement.
6364         (oneTouchExpandableChanged): ditto.
6365         (createLeftOneTouchButton): Use BasicArrowButton.
6366         (createRightOneTouchButton): ditto.
6367         (moveDividerTo): New method. Moves the divider
6368         to a set location based on the last divider location.
6369         (BasicSplitPaneDivider::MouseHandler): Implement.
6370         (BasicSplitPaneDivider::OneTouchButton): Removed.
6371         (BasicSplitPaneDivider::DragController): Implement.
6372         (BasicSplitPaneDivider::VerticalDragController):
6373         ditto.
6374         (BasicSplitPaneDivider::DividerLayout): ditto.
6375         * javax/swing/plaf/basic/BasicSplitPaneUI.java: Reimplement.
6376         * javax/swing/plaf/basic/BasicTabbedPaneUI.java:
6377         (calculateLayoutInfo): Don't show component if it's
6378         null.
6379         (paintTab): Fix title paint logic.
6381 2004-05-26  Jerry Quinn  <jlquinn@optonline.net>
6383         PR libgcj/8321
6384         * java/util/SimpleTimeZone.java (serialVersionOnStream): Bump to 2.
6385         (setStartRule,setEndRule): Don't take abs of day number.
6386         (getOffset): Clarify docs.  Add argument checks.
6387         (isBefore): Take abs of day number in DOW_LE_DOM_MODE.
6388         (equals,hasSameRules,toString,readObject): Use startTimeMode and
6389         endTimeMode.
6390         * testsuite/libjava.mauve/xfails
6391         (gnu.testlet.java.util.SimpleTimeZone.check12): XFAIL test 22.
6393 2004-05-21  Bryce McKinlay  <mckinlay@redhat.com>
6395         Layout interfaces during preparation, not initialization. 
6396         * java/lang/natClass.cc (initializeClass): Move 
6397         _Jv_LayoutInterfaceMethods call...
6398         * java/lang/natClassLoader.cc (_Jv_PrepareCompiledClass): to here.
6400 2004-05-19  Anthony Green  <green@localhost.localdomain>
6402         * Makefile.am (awt_java_source_files): Remove javax.rmi and
6403         gnu.javax.rmi code.
6404         * Makefile.in: Rebuilt.
6405         * javax/rmi/ClassDesc.java, javax/rmi/StubDelegate.java,
6406         javax/rmi/UtilDelegate.java, javax/rmi/Stub.java,
6407         javax/rmi/Util.java, javax/rmi/ObjectImpl.java,
6408         javax/rmi/SystemException.java, javax/rmi/ValueHandler.java,
6409         javax/rmi/PortableRemoteObjectDelegate.java, javax/rmi/Tie.java,
6410         gnu/javax/rmi/CORBA/DelegateFactory.java,
6411         gnu/javax/rmi/CORBA/GetDelegateInstanceException.java,
6412         gnu/javax/rmi/CORBA/PortableRemoteObjectDelegateImpl.java,
6413         gnu/javax/rmi/CORBA/StubDelegateImpl.java,
6414         gnu/javax/rmi/CORBA/UtilDelegateImpl.java,
6415         gnu/javax/rmi/CORBA/ValueHandlerImpl.java,
6416         gnu/javax/rmi/PortableServer.java: Remove files.
6418 2004-05-19  Anthony Green  <green@redhat.com>
6420         * Makefile.am: Define JAVA_EXT_DIRS.
6421         * Makefile.in: Rebuilt.
6422         * java/lang/natRuntime.cc (insertSystemProperties): Set
6423         java.ext.dirs property.
6425 2004-05-16  Mark Wielaard  <mark@klomp.org>
6427         * java/io/Writer.java (Writer(Object)): Check for null lock object.
6429 2004-05-15  Mark Wielaard  <mark@klomp.org>
6431         * doc/cni.sgml: Removed, merged into gcj.texi.
6433 2004-05-15  Mark Wielaard  <mark@klomp.org>
6435         * Makefile.am (ordinary_java_source_files): Add new javax.print
6436         classes.
6437         * Makefile.in: Regenerated.
6439 2004-05-15  Michael Koch  <konqueror@gmx.de>
6441         * javax/print/attribute/standard/DateTimeAtCompleted.java,
6442         javax/print/attribute/standard/DateTimeAtCreation.java,
6443         javax/print/attribute/standard/DateTimeAtProcessing.java,
6444         javax/print/attribute/standard/DocumentName.java,
6445         javax/print/attribute/standard/JobHoldUntil.java,
6446         javax/print/attribute/standard/JobImpressionsCompleted.java,
6447         javax/print/attribute/standard/JobMessageFromOperator.java,
6448         javax/print/attribute/standard/JobName.java,
6449         javax/print/attribute/standard/JobOriginatingUserName.java,
6450         javax/print/attribute/standard/JobPriority.java,
6451         javax/print/attribute/standard/JobPrioritySupported.java,
6452         javax/print/attribute/standard/NumberOfInterveningJobs.java,
6453         javax/print/attribute/standard/OutputDeviceAssigned.java,
6454         javax/print/attribute/standard/PrinterInfo.java,
6455         javax/print/attribute/standard/PrinterLocation.java,
6456         javax/print/attribute/standard/PrinterMakeAndModel.java,
6457         javax/print/attribute/standard/PrinterMessageFromOperator.java,
6458         javax/print/attribute/standard/PrinterName.java,
6459         javax/print/attribute/standard/QueuedJobCount.java,
6460         javax/print/attribute/standard/RequestingUserName.java:
6461         Fixed javadocs all over.
6463 2004-05-15  Michael Koch  <konqueror@gmx.de>
6465         * javax/print/DocFlavor.java,
6466         javax/print/attribute/standard/ColorSupported.java,
6467         javax/print/attribute/standard/Compression.java,
6468         javax/print/attribute/standard/CopiesSupported.java,
6469         javax/print/attribute/standard/Fidelity.java,
6470         javax/print/attribute/standard/Finishings.java,
6471         javax/print/attribute/standard/JobImpressionsSupported.java,
6472         javax/print/attribute/standard/JobKOctetsSupported.java,
6473         javax/print/attribute/standard/JobMediaSheetsSupported.java,
6474         javax/print/attribute/standard/JobSheets.java,
6475         javax/print/attribute/standard/JobState.java,
6476         javax/print/attribute/standard/JobStateReason.java,
6477         javax/print/attribute/standard/JobStateReasons.java,
6478         javax/print/attribute/standard/Media.java,
6479         javax/print/attribute/standard/MediaSizeName.java,
6480         javax/print/attribute/standard/MultipleDocumentHandling.java,
6481         javax/print/attribute/standard/NumberUpSupported.java,
6482         javax/print/attribute/standard/OrientationRequested.java,
6483         javax/print/attribute/standard/PDLOverrideSupported.java,
6484         javax/print/attribute/standard/PageRanges.java,
6485         javax/print/attribute/standard/PresentationDirection.java,
6486         javax/print/attribute/standard/PrintQuality.java,
6487         javax/print/attribute/standard/PrinterIsAcceptingJobs.java,
6488         javax/print/attribute/standard/PrinterMoreInfo.java,
6489         javax/print/attribute/standard/PrinterMoreInfoManufacturer.java,
6490         javax/print/attribute/standard/PrinterResolution.java,
6491         javax/print/attribute/standard/PrinterState.java,
6492         javax/print/attribute/standard/PrinterStateReason.java,
6493         javax/print/attribute/standard/PrinterStateReasons.java,
6494         javax/print/attribute/standard/PrinterURI.java,
6495         javax/print/attribute/standard/ReferenceUriSchemesSupported.java,
6496         javax/print/attribute/standard/Severity.java,
6497         javax/print/attribute/standard/SheetCollate.java,
6498         javax/print/attribute/standard/Sides.java:
6499         Added serialVersionUID and removed final keyword where it doenst
6500         belong.
6502 2004-05-15  Michael Koch  <konqueror@gmx.de>
6504         * javax/print/PrintServiceLookup.java: New file.
6506 2004-05-15  Michael Koch  <konqueror@gmx.de>
6508         * javax/print/DocFlavor.java:
6509         Implemented all flavor classes.
6511 2004-05-15  Michael Koch  <konqueror@gmx.de>
6513         * javax/print/attribute/standard/ColorSupported.java,
6514         javax/print/attribute/standard/Compression.java,
6515         javax/print/attribute/standard/CopiesSupported.java,
6516         javax/print/attribute/standard/Fidelity.java,
6517         javax/print/attribute/standard/Finishings.java,
6518         javax/print/attribute/standard/JobImpressionsSupported.java,
6519         javax/print/attribute/standard/JobKOctetsSupported.java,
6520         javax/print/attribute/standard/JobMediaSheetsSupported.java,
6521         javax/print/attribute/standard/JobSheets.java,
6522         javax/print/attribute/standard/JobState.java,
6523         javax/print/attribute/standard/JobStateReason.java,
6524         javax/print/attribute/standard/JobStateReasons.java,
6525         javax/print/attribute/standard/Media.java,
6526         javax/print/attribute/standard/MediaSizeName.java,
6527         javax/print/attribute/standard/MultipleDocumentHandling.java,
6528         javax/print/attribute/standard/NumberUpSupported.java,
6529         javax/print/attribute/standard/OrientationRequested.java,
6530         javax/print/attribute/standard/PDLOverrideSupported.java,
6531         javax/print/attribute/standard/PageRanges.java,
6532         javax/print/attribute/standard/PresentationDirection.java,
6533         javax/print/attribute/standard/PrintQuality.java,
6534         javax/print/attribute/standard/PrinterIsAcceptingJobs.java,
6535         javax/print/attribute/standard/PrinterMoreInfo.java,
6536         javax/print/attribute/standard/PrinterMoreInfoManufacturer.java,
6537         javax/print/attribute/standard/PrinterResolution.java,
6538         javax/print/attribute/standard/PrinterState.java,
6539         javax/print/attribute/standard/PrinterStateReason.java,
6540         javax/print/attribute/standard/PrinterStateReasons.java,
6541         javax/print/attribute/standard/PrinterURI.java,
6542         javax/print/attribute/standard/ReferenceUriSchemesSupported.java,
6543         javax/print/attribute/standard/Severity.java,
6544         javax/print/attribute/standard/SheetCollate.java,
6545         javax/print/attribute/standard/Sides.java: New files.
6547 2004-05-15  Michael Koch  <konqueror@gmx.de>
6549         * javax/print/Doc.java
6550         (getPrintData): Throws IOException.
6551         (getReaderForText): Likewise.
6552         (getStreamForBytes): Likewise.
6553         * javax/print/DocFlavor.java:
6554         Fixed filename in copyright.
6555         (serialVersionUID): New field.
6556         * javax/print/ServiceUIFactory.java:
6557         Made all constants final.
6558         * javax/print/AttributeException.java
6559         javax/print/MultiDoc.java
6560         javax/print/MultiDocPrintJob.java
6561         javax/print/MultiDocPrintService.java
6562         javax/print/StreamPrintService.java
6563         javax/print/URIException.java: New files.
6564         * javax/print/Makefile.am
6565         (EXTRA_DIST): Added all new files.
6567 2004-05-15  Michael Koch  <konqueror@gmx.de>
6569         * javax/print/attribute/standard/Copies.java,
6570         javax/print/attribute/standard/DateTimeAtCompleted.java,
6571         javax/print/attribute/standard/DateTimeAtCreation.java,
6572         javax/print/attribute/standard/DateTimeAtProcessing.java,
6573         javax/print/attribute/standard/DocumentName.java,
6574         javax/print/attribute/standard/JobHoldUntil.java,
6575         javax/print/attribute/standard/JobImpressions.java,
6576         javax/print/attribute/standard/JobImpressionsCompleted.java,
6577         javax/print/attribute/standard/JobKOctets.java,
6578         javax/print/attribute/standard/JobKOctetsProcessed.java,
6579         javax/print/attribute/standard/JobMediaSheets.java,
6580         javax/print/attribute/standard/JobMediaSheetsCompleted.java,
6581         javax/print/attribute/standard/JobMessageFromOperator.java,
6582         javax/print/attribute/standard/JobName.java,
6583         javax/print/attribute/standard/JobOriginatingUserName.java,
6584         javax/print/attribute/standard/JobPriority.java,
6585         javax/print/attribute/standard/JobPrioritySupported.java,
6586         javax/print/attribute/standard/NumberOfDocuments.java,
6587         javax/print/attribute/standard/NumberOfInterveningJobs.java,
6588         javax/print/attribute/standard/NumberUp.java,
6589         javax/print/attribute/standard/OutputDeviceAssigned.java,
6590         javax/print/attribute/standard/PagesPerMinute.java,
6591         javax/print/attribute/standard/PagesPerMinuteColor.java:
6592         Fixed @return tag all over.
6594 2004-05-15  Michael Koch  <konqueror@gmx.de>
6596         * javax/print/attribute/AttributeSetUtilities.java
6597         (verifyCategoryForValue): Fixed typo in javadoc.
6598         * javax/print/attribute/HashAttributeSet.java
6599         (containsKey): Fixed @return tag.
6600         (comtainsValue): Likewise.
6601         (equals): Likewise.
6602         * javax/print/attribute/IntegerSyntax.java
6603         (equals): Likewise.
6604         * javax/print/attribute/ResolutionSyntax.java
6605         (equals): Likewise.
6606         (getCrossFeedResolution): Removed unused code.
6607         (getFeedResolution): Likewise.
6608         * javax/print/attribute/SetOfIntegerSyntax.java
6609         (SetOfIntegerSyntax): Fixed HTML entities in javadoc.
6610         (equals): Fixed @return tag.
6611         * javax/print/attribute/TextSyntax.java
6612         (TextSyntax): Take locale into account.
6613         (hashCode): Better implementation.
6615 2004-05-15  Michael Koch  <konqueror@gmx.de>
6617         * javax/print/CancelablePrintJob.java,
6618         javax/print/Doc.java,
6619         javax/print/DocFlavor.java,
6620         javax/print/DocPrintJob.java,
6621         javax/print/FlavorException.java,
6622         javax/print/PrintException.java,
6623         javax/print/PrintService.java,
6624         javax/print/ServiceUIFactory.java: New files.
6626 2004-05-15  Mark Wielaard  <mark@klomp.org>
6628         * gnu/regexp/CharIndexedReader.java: Removed.
6629         * gnu/regexp/REFilterReader.java: Likewise.
6630         * gnu/regexp/RETokenLookAhead.java: Likewise.
6631         * Makefile.am (ordinary_java_source_files): Remove above classes.
6632         * Makefile.in: Regenerated.
6634 2004-05-14  Tom Tromey  <tromey@redhat.com>
6636         * gnu/awt/xlib/XGraphics.java (drawImage): Use `XOffScreenImage',
6637         not `XGraphicsConfiguration.XOffScreenImage'.
6639 2004-05-14  Scott Gilbertson  <scottg@mantatest.com>
6641         * gnu/awt/xlib/XCanvasPeer.java (setVisible): Implement unmap.
6643 2004-05-14  Steven Augart  <augart@watson.ibm.com>
6645         * include/jni.h (_Jv_func): Removed.
6646         (struct JNINativeInterface): Use `void *' for reserved slots.
6647         (struct JNIInvokeInterface): Likewise.
6649 2004-05-11  Michael Koch  <konqueror@gmx.de>
6651         * gnu/java/net/natPlainSocketImplPosix.cc
6652         (read): Fixed typo in expression.
6654 2004-05-10  Andreas Tobler  <a.tobler@schweiz.ch>
6656         * testsuite/lib/libjava.exp (libjava_invoke): Add new argument
6657         ld_library_additions. Adjust all calls to libjava_invoke to match
6658         the new argument.
6660         * testsuite/libjava.jni/jni.exp (gcj_jni_test_one): Pass stdc++
6661         path to cxxflagslist.
6662         Pass path of libstdc++ to libjava_invoke.
6664         * testsuite/libjava.jar/jar.exp (gcj_jar_inerpret): Adjust
6665         libjava_invoke arguments.
6667 2004-05-10  Ranjit Mathew  <rmathew@hotmail.com>
6669         * testsuite/libjava.jacks/jacks.xfail: Update to reflect the current
6670         reality.
6672 2004-05-07  Ranjit Mathew  <rmathew@gmail.com>
6674         * testsuite/libjava.jni/jni.exp (gcj_jni_test_one): Don't link the
6675         main binary against the JNI shared library.
6677 2004-05-07  Jerry Quinn  <jlquinn@optonline.net>
6679         * java/util/SimpleTimeZone.java (startTimeMode, endTimeMode,
6680         WALL_TIME, STANDARD_TIME, UTC_TIME): New members.
6681         (SimpleTimeZone): Tweak docs.  Add new variation.
6682         (setStartRule,setEndRule): Add new variations.  Use
6683         startTimeMode and endTimeMode.
6685 2004-05-07  Jerry Quinn  <jlquinn@optonline.net>
6687         * java/util/Calendar.java (getActualMinimum,
6688         getActualMaximum):  Remove abstract.  Implement.
6690 2004-05-06  Bryce McKinlay  <mckinlay@redhat.com>
6692         Run the jni tests using the interpreter.
6693         * testsuite/libjava.jni/jni.exp (gcj_jni_compile_c_to_so): Append
6694         options_cxx to shared lib compile command.
6695         (gcj_jni_test_one): Pass cxxflags to gcj_jni_compile_c_to_so, so
6696         they are used to link the shared lib, not the main binary.
6697         Use libjava_invoke to run gij.
6699 2004-05-06  Michael Koch  <konqueror@gmx.de>
6701         * java/util/logging/Level.java
6702         (parse): Use == instead of String.equals().
6704 2004-05-06  Bryce McKinlay  <mckinlay@redhat.com>
6706         * defineclass.cc (_Jv_ClassReader::prepare_pool_entry): Use 
6707         verify_field_signature and verify_method_signature, not 
6708         _Jv_VerifyFieldSignature and _Jv_VerifyMethodSigntature.
6709         (_Jv_ClassReader::handleField): Likewise.
6710         (_Jv_ClassReader::handleMethod): Likewise.
6712 2004-05-06  Michael Koch  <konqueror@gmx.de>
6714         * javax/swing/table/TableColumn.java:
6715         Reformated.
6717 2004-05-06  Michael Koch  <konqueror@gmx.de>
6719         * javax/imageio/spi/ImageReaderWriterSpi.java
6720         (ImageReaderWriterSpi): Made it public.
6721         * javax/imageio/stream/ImageInputStream.java:
6722         Clean up imports.
6724 2004-05-06  Michael Koch  <konqueror@gmx.de>
6726         * jni/gtk-peer/gnu_java_awt_peer_gtk_GtkComponentPeer.c:
6727         Removed empty line.
6729 2004-05-06  Michael Koch  <konqueror@gmx.de>
6731         * jni/gtk-peer/gnu_java_awt_peer_gtk_GtkCheckboxGroupPeer.c,
6732         jni/gtk-peer/gnu_java_awt_peer_gtk_GtkGenericPeer.c:
6733         New files.
6734         * jni/gtk-peer/gnu_java_awt_peer_gtk_GtkCheckboxMenuItemPeer.c:
6735         Include gnu_java_awt_peer_gtk_GtkCheckboxMenuItemPeer.h.
6736         * jni/gtk-peer/gnu_java_awt_peer_gtk_GtkCheckboxPeer.c:
6737         Moved GtkCheckboxGroupPeer_dispose and GtkCheckboxGroupPeer_remove to
6738         their own source file.
6739         * jni/gtk-peer/gnu_java_awt_peer_gtk_GtkComponentPeer.c:
6740         Moved GtkGenericPeer_dispose and GtkComponentPeer_requestFocus to
6741         their own source file. Removed GtkComponentPeer_gtkWidgetSetUsize.
6742         * jni/gtk-peer/gnu_java_awt_peer_gtk_GtkMenuPeer.c
6743         (create): Define variable on top of function.
6744         * jni/gtk-peer/gnu_java_awt_peer_gtk_GtkPopupMenuPeer.c
6745         (menu_pos): Prototyped.
6746         * jni/gtk-peer/gnu_java_awt_peer_gtk_GtkWindowPeer.c
6747         (setTitle): Removed.
6748         * jni/gtk-peer/gthread-jni.c
6749         (gdk_threads_wake): Removed.
6750         * Makefile.am (gtk_c_source_files): Added new files
6751         jni/gtk-peer/gnu_java_awt_peer_gtk_GtkCheckboxGroupPeer.c and
6752         jni/gtk-peer/gnu_java_awt_peer_gtk_GtkGenericPeer.c.
6753         * Makefile.in: Regenerated.
6755 2004-05-05  Bryce McKinlay  <mckinlay@redhat.com>
6757         * testsuite/libjava.jni/pr11951.java: Add missing System.loadLibrary()
6758         call.
6760 2004-05-05  Mark Wielaard  <mark@klomp.org>
6762         * javax/swing/AbstractButton.java: Replace special HTML entities with
6763         ASCII equivalent.
6764         * javax/swing/DefaultBoundedRangeModel.java: Likewise.
6765         * javax/swing/DefaultButtonModel.java: Likewise.
6766         * javax/swing/DefaultListModel.java: Likewise.
6767         * javax/swing/JList.java: Likewise.
6768         * javax/swing/JSlider.java: Likewise.
6769         * javax/swing/ListModel.java: Likewise.
6770         * javax/swing/Popup.java: Likewise.
6771         * javax/swing/SwingUtilities.java: Likewise.
6773 2004-05-05  Michael Koch  <konqueror@gmx.de>
6775         * javax/swing/AbstractButton.java,
6776         javax/swing/ActionMap.java,
6777         javax/swing/DefaultButtonModel.java,
6778         javax/swing/DefaultListModel.java,
6779         javax/swing/ImageIcon.java,
6780         javax/swing/JComboBox.java,
6781         javax/swing/JComponent.java,
6782         javax/swing/JFrame.java,
6783         javax/swing/JInternalFrame.java,
6784         javax/swing/JMenuBar.java,
6785         javax/swing/JMenuItem.java,
6786         javax/swing/JOptionPane.java,
6787         javax/swing/JProgressBar.java,
6788         javax/swing/JRootPane.java,
6789         javax/swing/JScrollBar.java,
6790         javax/swing/JScrollPane.java,
6791         javax/swing/JSeparator.java,
6792         javax/swing/JSlider.java,
6793         javax/swing/JTabbedPane.java,
6794         javax/swing/JTable.java,
6795         javax/swing/JTextField.java,
6796         javax/swing/JToolBar.java,
6797         javax/swing/JToolTip.java,
6798         javax/swing/JTree.java,
6799         javax/swing/JViewport.java,
6800         javax/swing/JWindow.java,
6801         javax/swing/KeyStroke.java,
6802         javax/swing/LookAndFeel.java,
6803         javax/swing/SwingUtilities.java,
6804         javax/swing/Timer.java,
6805         javax/swing/ToolTipManager.java,
6806         javax/swing/UIDefaults.java,
6807         javax/swing/border/TitledBorder.java,
6808         javax/swing/filechooser/FileSystemView.java,
6809         javax/swing/plaf/basic/BasicButtonListener.java,
6810         javax/swing/plaf/basic/BasicButtonUI.java,
6811         javax/swing/plaf/basic/BasicCheckBoxMenuItemUI.java,
6812         javax/swing/plaf/basic/BasicGraphicsUtils.java,
6813         javax/swing/plaf/basic/BasicLabelUI.java,
6814         javax/swing/plaf/basic/BasicMenuItemUI.java,
6815         javax/swing/plaf/basic/BasicRadioButtonMenuItemUI.java,
6816         javax/swing/plaf/basic/BasicRootPaneUI.java,
6817         javax/swing/plaf/basic/BasicScrollBarUI.java,
6818         javax/swing/plaf/basic/BasicScrollPaneUI.java,
6819         javax/swing/plaf/basic/BasicSliderUI.java,
6820         javax/swing/plaf/basic/BasicTabbedPaneUI.java,
6821         javax/swing/plaf/basic/BasicToggleButtonUI.java,
6822         javax/swing/table/JTableHeader.java,
6823         javax/swing/text/AbstractDocument.java,
6824         javax/swing/text/DefaultCaret.java,
6825         javax/swing/text/StyledEditorKit.java,
6826         javax/swing/tree/DefaultTreeCellEditor.java:
6827         Cleaned up imports.
6829 2004-05-05  Michael Koch  <konqueror@gmx.de>
6831         * java/util/prefs/AbstractPreferences.java
6832         (AbstractPreferences): Added parenthesis for clarity.
6833         Closes classpath bug #7940.
6835 2004-05-05  Tom Tromey  <tromey@redhat.com>
6837         * javax/naming/CompoundName.java (endsWith): Look at correct
6838         element of source name.
6840 2004-05-05  Mark Wielaard  <mark@klomp.org>
6842         Reported by f.haeglsperger@gmx.de [classpath patch #2485]
6843         * java/util/HashMap.java (rehash): Add entry at start of bucket.
6845 2004-05-05  Tom Tromey  <tromey@redhat.com>
6847         * java/io/BufferedReader.java (skip): Removed unused
6848         variable.
6850 2004-05-05  Michael Koch  <konqueror@gmx.de>
6852         * java/awt/FileDialog.java: Import java.io.Serializable explicitly.
6854 2004-05-05  Dalibor Topic  <robilad@kaffe.org>
6856         * java/text/AttributedString.java,
6857         java/text/AttributedStringIterator.java,
6858         java/text/Collator.java,
6859         java/text/DecimalFormatSymbols.java,
6860         java/text/NumberFormat.java,
6861         java/text/RuleBasedCollator.java:
6862         Cleaned up imports.
6864 2004-05-05  Tom Tromey  <tromey@redhat.com>
6866         * java/text/Format.java: Cleaned up imports.
6867         * java/text/DecimalFormat.java: Cleaned up imports.
6868         * java/security/SecureRandom.java: Cleaned up imports.
6869         (SecureRandom): Removed unused variable.
6870         * java/security/UnresolvedPermission.java: Cleaned up imports.
6871         * java/util/Date.java (parse): Removed unused variable.
6872         * java/util/ResourceBundle.java: Cleaned up imports.
6873         (getBundle): Removed unused variable.
6874         (tryBundle): Likewise.
6875         * java/util/regex/Pattern.java (Pattern): Removed unused constructor.
6877 2004-05-05  Guilhem Lavaux <guilhem@kaffe.org>
6879         * java/text/SimpleDateFormat.java:
6880         (formatWithAttribute): New method. It implements
6881         the formatting process with attributes.
6882         (format): Use formatWithAttribute.
6883         (formatToCharacterIterator): New method. Use
6884         formatWithAttribute.
6886 2004-05-05  Guilhem Lavaux <guilhem@kaffe.org>
6888         * java/text/MessageFormat.java:
6889         (class Field): New class.
6890         (formatToCharacterIterator): New method.
6891         (format): Use formatInternal now.
6892         (formatInternal): New method. String formatter should
6893         be done here (with attributes). Attributes merging supported.
6894         (parse): More documentation.
6895         (getFormatsByArgumentIndex): New method.
6896         (setFormatByArgumentIndex): New method.
6897         (setFormatsByArgumentIndex): New method.
6899 2004-05-05  Guilhem Lavaux <guilhem@kaffe.org>
6901         * java/text/DecimalFormat.java
6902         (MAXIMUM_INTEGER_DIGITS): New constant to keep the numeric value 309.
6903         (applyPatternWithSymbols): Use MAXIMUM_INTEGER_DIGITS.
6904         (parse): Fixed handling of exponentiation notation and grouping.
6906 2004-05-05  Guilhem Lavaux <guilhem@kaffe.org>
6908         * java/text/DecimalFormat.java
6909         (scanFix): Build attribute array. Fixed error reporting.
6910         (applyPatternWithSymbols): Store attributes for the prefix and
6911         suffix.
6912         (formatInternal): New method. Changed the way the string is
6913         computed. Implemented attributes. Cleant up rounding in
6914         exponential notation.
6915         (format): Use formatInternal.
6916         (formatToCharacterIterator): New method.
6917         (exponentRound, negativePrefixRanges, positivePrefixRanges,
6918         negativePrefixAttrs, positivePrefixAttrs, negativeSuffixRanges,
6919         positiveSuffixRanges, negativeSuffixAttrs, positiveSuffixAttrs):
6920         New fields.
6922 2004-05-04  Dalibor Topic  <robilad@kaffe.org>
6924         * java/security/interfaces/DSAKeyPairGenerator.java,
6925         java/security/interfaces/DSAPrivateKey.java,
6926         java/security/interfaces/DSAPublicKey.java,
6927         java/security/interfaces/RSAPrivateKey.java,
6928         java/security/interfaces/RSAPublicKey.java:
6929         Cleaned up imports.
6931 2004-05-04  Michael Koch  <konqueror@gmx.de>
6933         * java/nio/ByteBuffer.java,
6934         java/nio/CharBuffer.java,
6935         java/nio/DoubleBuffer.java,
6936         java/nio/FloatBuffer.java,
6937         java/nio/IntBuffer.java,
6938         java/nio/LongBuffer.java,
6939         java/nio/ShortBuffer.java:
6940         (compareTo): Fixed bogus implementation in all buffer classes.
6942 2004-05-04  Ingo Proetel  <proetel@aicas.com>
6944         * java/awt/image/ColorModel.java (getRGBdefault): Default ColorModel has
6945         32 bit pixels not 8 bit pixels.
6946         (isCompatibleRaster): Added javadoc comment.
6948 2004-05-04  Ingo Proetel  <proetel@aicas.com>
6950         * java/awt/image/ComponentSampleModel.java (setDataSamples):Do not reset
6951         scanline stride.
6953 2004-05-04  Ingo Proetel  <proetel@aicas.com>
6955         * java/awt/ColorPaintContext.java (<init>): Added ColorModel to signature.
6956         (getColorModel): Return the actual color model.
6957         (getRaster): Implemented.
6958         (ColorRaster): New inner class.
6959         * java/awt/SystemColor.java (createContext): Use ColorModel when creating
6960         a PaintContext.
6961         * java/awt/Color.java (<init>): Make exception more verbose.
6962         (createContext): Use ColorModel when creating a PaintContext.
6964 2004-05-04  Michael Koch  <konqueror@gmx.de>
6966         * gnu/java/text/CharacterBreakIterator.java
6967         (previous): Removed unused variable.
6969 2004-05-04  Guilhem Lavaux <guilhem@kaffe.org>
6971         * gnu/java/text/FormatBuffer.java,
6972         gnu/java/text/AttributedFormatBuffer.java,
6973         gnu/java/text/StringFormatBuffer.java: New classes to implement
6974         attributed iterators in java.text.
6975         * gnu/java/text/FormatCharacterIterator.java: Moved 
6976         from java/text as it is an internal class.
6977         * java/text/FormatCharacterIterator.java: Removed.
6978         * java/text/Format.java:
6979         Import gnu.java.text.FormatCharacterIterator.
6980         * Makefile.am (java_source_files): Added new files.
6981         * Makefile.in: Regenerated.
6982         
6984 2004-05-04  Mark Wielaard  <mark@klomp.org>
6986         * gnu/java/nio/channels/FileChannelImpl.java (finalize): New method.
6988 2004-05-03  Andreas Tobler  <a.tobler@schweiz.ch>
6990         * Makefile.am (WARNINGS): Replace -W with the more speaking -Wextra.
6991         * Makefile.in: Rebuilt.
6993 2004-05-03  Mark Wielaard  <mark@klomp.org>
6995         * gnu/java/security/der/DERReader.java: Call static methods staticly.
6996         * java/awt/TextComponent.java (select): Use selectionEnd parameter.
6997         * java/net/URL.java
6998         (set(String, String, int, String, String, String, String, String)):
6999         Assign this.file to path or path + "?" + query.
7000         * java/util/Arrays.java: Call static methods staticly.
7001         * java/util/zip/ZipEntry.java: Likewise.
7002         * javax/swing/plaf/basic/BasicArrowButton.java (setDirection): Assign
7003         dir to this.direction.
7004         * javax/swing/table/DefaultTableCellRenderer.java (noFocusBorder):
7005         Assign static field only once.
7006         (DefaultTableCellRenderer): Don't reassign noFocusBorder each time.
7008 2004-05-03  Mark Wielaard  <mark@klomp.org>
7010         * gnu/java/awt/peer/gtk/GtkTextAreaPeer.java (minimumSize): Removed
7011         unused variables hScrollbarHeight and vScrollbarWidth.
7012         (preferredSize): Likewise.
7013         * gnu/java/security/provider/DSAParameters.java (engineToString):
7014         Removed unused call to System.getProperty("line.seperator");
7015         * java/security/Security.java (loadProviders): Return result.
7017 2004-05-03  Tom Tromey  <tromey@redhat.com>
7019         * java/net/URLStreamHandler.java (toExternalForm): Removed
7020         unused variables.
7021         unused constructor.
7022         * java/math/BigDecimal.java (divide): Removed unused variable.
7023         * java/lang/Throwable.java: Cleaned up imports.
7024         * java/lang/ClassLoader.java: Cleaned up imports.
7025         * java/io/FilePermission.java (implies): Removed unused
7026         variable.
7027         * java/awt/TextComponent.java: Removed unused import.
7028         * gnu/java/util/prefs/NodeReader.java: Cleaned up imports.
7029         * gnu/java/util/DoubleEnumeration.java: Removed unused import.
7030         * gnu/java/text/WordBreakIterator.java: Removed unused import.
7031         * gnu/java/text/SentenceBreakIterator.java: Removed unused
7032         import.
7033         * gnu/java/text/LineBreakIterator.java: Removed unused import.
7034         * gnu/java/text/CharacterBreakIterator.java: Removed
7035         unused import.
7036         * gnu/java/security/provider/DSAKeyPairGenerator.java:
7037         Cleaned up imports.
7038         * gnu/java/security/der/DERWriter.java: Cleaned up imports.
7039         * gnu/java/nio/charset/UTF_16Decoder.java (put): Removed
7040         unused method.
7041         * gnu/java/nio/SocketChannelImpl.java: Cleaned up imports.
7042         * gnu/java/nio/FileLockImpl.java: Cleaned up imports.
7043         * gnu/java/io/Base64InputStream.java: Cleaned up imports.
7044         * gnu/java/beans/info/ComponentBeanInfo.java: Cleaned up imports.
7045         * gnu/classpath/ServiceFactory.java: Cleaned up imports.
7046         (lookupProviders): Removed unused variable.
7047         (loadNextServiceProvider): Likewise.
7048         * gnu/java/beans/BeanInfoEmbryo.java: Cleaned up imports.
7050 2004-05-03  Michael Koch  <konqueror@gmx.de>
7052         Fixes PR libgcj/14695:
7053         * java/net/NetworkInterface.java
7054         (getByName): Return null when no interface was found.
7056 2004-04-30  Ranjit Mathew  <rmathew@hotmail.com>
7057             Tom Tromey  <tromey@redhat.com>
7059         * testsuite/libjava.jni/jni.exp (gcj_jni_compile_c_to_so): Use
7060         additional option "-Wmissing-prototypes" for compiling C sources.
7061         Print actual filename for pass/fail rather than $name.c.
7062         * testsuite/libjava.jni/PR15133.java: New testcase file.
7063         * testsuite/libjava.jni/PR15133.c: Likewise.
7064         * testsuite/libjava.jni/PR15133.out: Likewise.
7066 2004-04-30  Roger Sayle  <roger@eyesopen.com>
7068         * testsuite/libjava.lang/MathBuiltin.java: Add tests for acos, asin,
7069         ceil and floor.
7071 2004-04-25  Ranjit Mathew  <rmathew@hotmail.com>
7072         
7073         * testsuite/libjava.jacks/jacks.exp (gcj_jacks_write): Explicitly
7074         limit the maximum heap size to avoid unnecessary thrashing.
7076 2004-04-24  Jerry Quinn  <jlquinn@optonline.net>
7078         * java/text/CollationElementIterator.java (reset): Reset
7079         lookahead variables.
7081 2004-04-23  Mark Wielaard  <mark@klomp.org>
7083         * jni/classpath/jcl.c: Changed C++ comments into C comments.
7085 2004-04-23 Dalibor Topic <robilad@kaffe.org>
7087         * java/sql/DriverManager.java:
7088         Cleaned up imports.
7090 2004-04-23  Michael Koch  <konqueror@gmx.de>
7092         * java/net/URL.java
7093         (hashcode): Don't initialize with default value explicitely.
7094         (getContent): Removed redundant "final" keyword.
7095         (openStream): Likewise.
7096         (getURLStreamHandler): Fixed coding style.
7097         * java/net/URLConnection.java
7098         (defaultAllowUserInteraction): Don't initialize with default value
7099         explicitely.
7100         (connected): Likewise.
7101         (doOutput): Likewise.
7102         (ifModifiedSince): Likewise.
7103         (dateformats_initialized): Likewise.
7104         (setURLStreamHander): Use StreamTokenizer where it belongs to.
7106 2004-04-23  Michael Koch  <konqueror@gmx.de>
7108         * gnu/java/nio/channels/FileChannelImpl.java
7109         (SET, CUR): Unused, removed.
7110         (read): Implement here directly.
7111         (implRead): Removed.
7112         (write): Implement here directly.
7113         (implWrite): Removed.
7115 2004-04-23  Dalibor Topic  <robilad@kaffe.org>
7117         * javax/rmi/CORBA/PortableRemoteObjectDelegate.java,
7118         javax/rmi/CORBA/Stub.java,
7119         javax/rmi/CORBA/Util.java,
7120         javax/rmi/CORBA/ValueHandler.java,
7121         javax/rmi/CORBA/ValueHandler.java,
7122         javax/rmi/PortableRemoteObject.java:
7123         Cleaned up imports.
7125 2004-04-23 Dalibor Topic <robilad@kaffe.org>
7127         * java/util/jar/JarFile.java,
7128         java/util/jar/JarInputStream.java,
7129         java/util/jar/JarOutputStream.java,
7130         java/util/jar/Manifest.java:
7131         Cleaned up imports.
7133 2004-04-23 Dalibor Topic <robilad@kaffe.org>
7135         * java/util/ArrayList.java,
7136         java/util/Calendar.java,
7137         java/util/Currency.java,
7138         java/util/HashMap.java,
7139         java/util/HashSet.java,
7140         java/util/Hashtable.java,
7141         java/util/LinkedList.java,
7142         java/util/Properties.java,
7143         java/util/PropertyPermission.java,
7144         java/util/TimeZone.java,
7145         java/util/TreeMap.java,
7146         java/util/TreeSet.java,
7147         java/util/Vector.java,
7148         java/util/WeakHashMap.java:
7149         Cleaned up imports.
7151 2004-04-23  Dalibor Topic  <robilad@kaffe.org>
7153         * java/util/logging/FileHandler.java,
7154         java/util/logging/Formatter.java,
7155         java/util/logging/Handler.java,
7156         java/util/logging/Logger.java,
7157         java/util/logging/SimpleFormatter.java,
7158         java/util/logging/XMLFormatter.java:
7159         Cleaned up imports.
7161 2004-04-22  Mark Wielaard  <mark@klomp.org>
7163         * Makefile.am (PEDANTIC_CFLAGS): New -ansi -pedantic -Wall
7164         -Wno-long-long flags variable.
7165         (gtk_c_files): Use PEDANTIC_CFLAGS.
7166         * Makefile.in: Regenerated.
7168 2004-04-22  Mark Wielaard  <mark@klomp.org>
7170         * native/jni/gtk-peer/gnu_java_awt_peer_gtk_GtkComponentPeer.c:
7171         Changed C++ comments into C comments.
7172         * native/jni/gtk-peer/gnu_java_awt_peer_gtk_GtkMenuPeer.c:
7173         Likewise.
7175 2004-04-22  Michael Koch  <konqueror@gmx.de>
7177         * jni/gtk-peer/gnu_java_awt_peer_gtk_GtkPopupMenuPeer.c:
7178         Merged copyright year with GNU classpath.
7180 2004-04-22  Dalibor Topic  <robilad@kaffe.org>
7182         * javax/security/auth/x500/X500Principal.java:
7183         Cleaned up imports.
7185 2004-04-22  Dalibor Topic  <robilad@kaffe.org>
7187         * javax/swing/JSlider.java:
7188         Fixed HTML tags in comments.
7190 2004-04-22  Dalibor Topic  <robilad@kaffe.org>
7192         * javax/accessibility/AccessibleText.java:
7193         Cleaned up imports.
7195 2004-04-22  Jeroen Frijters <jeroen@sumatra.nl>
7197         * java/net/URLStreamHandler.java
7198         (parseURL): Convert the file path to using '/' instead of native
7199         file separator.
7201 2004-04-22  Guilhem Lavaux <guilhem@kaffe.org>
7203         * java/net/URL.java
7204         (userInfo): New field.
7205         (URL): Set authority to the right value.
7206         (setURL): Fixed authority and file initialization.
7207         * java/net/URLStreamHandler.java
7208         (parseURL): Take care of the query tag. Build authority.
7209         (toExternalForm): Fixed URL building using authority.
7211 2004-04-22  Michael Koch  <konqueror@gmx.de>
7213         * java/net/Socket.java
7214         (impl): Made package-private.
7215         * java/net/ServerSocket.java
7216         (implAccept): Access Socket.impl field directly.
7218 2004-04-22  Dalibor Topic  <robilad@kaffe.org>
7220         * java/util/prefs/Preferences.java,
7221         java/util/prefs/InvalidPreferencesFormatException.java,
7222         java/util/prefs/BackingStoreException.java,
7223         java/util/prefs/AbstractPreferences.java:
7224         Cleaned up imports.
7226 2004-04-22  Dalibor Topic  <robilad@kaffe.org>
7228         * java/util/regex/Matcher.java,
7229         java/util/regex/Pattern.java:
7230         Cleaned up imports.
7232 2004-04-22  Michael Koch  <konqueror@gmx.de>
7234         * java/nio/charset/IllegalCharsetNameException.java
7235         (charsetName): Made private.
7236         (IllegalCharsetNameException): Added @param tag to javadoc.
7237         (getCharsetName): Added @return tag to javadoc.
7238         * java/nio/charset/MalformedInputException.java
7239         (MalformedInputException): Added @param tag to javadoc.
7240         (getInputLength): Revised method description, added @return tag.
7241         (getMessage): Added @return tag.
7243 2004-04-22  Jerry Quinn  <jlquinn@optonline.net>
7245         * java/awt/Font.java (deriveFont): Implement missing variants.
7246         * gnu/java/awt/peer/ClasspathFontPeer.java (deriveFont): Implement
7247         missing variants.
7249 2004-04-21  Bryce McKinlay  <mckinlay@redhat.com>
7251         * java/lang/natClass.cc (_Jv_LayoutInterfaceMethods): New method.
7252         Set method->index values for interface methods to their itable index.
7253         (initializeClass): Call _Jv_LayoutInterfaceMethods.
7255 2004-04-21  Michael Koch  <konqueror@gmx.de>
7257         * java/nio/DirectByteBufferImpl.java
7258         (shiftDown): Made static, give address as argument and
7259         provide a convenience method that overwrites shiftDown in
7260         ByteBufferImpl and calls the native shiftDown.
7261         * java/nio/MappedByteBufferImpl.java
7262         (): Use optimized method in DirectByteBufferImpl.
7263         * java/nio/natDirectByteBufferImpl.cc
7264         (shiftDown): Changed method signature. Removed usage of array_offset.
7266 2004-04-21  Michael Koch  <konqueror@gmx.de>
7268         * gnu/java/net/natPlainSocketImplPosix.cc
7269         (SocketInputStream::read): Make sure returned data is a byte value.
7271 2004-04-21  Michael Koch  <konqueror@gmx.de>
7273         * gnu/classpath/ServiceFactory.java,
7274         gnu/classpath/ServiceProviderLoadingAction.java,
7275         javax/imageio/ImageReader.java,
7276         javax/imageio/ImageTranscoder.java,
7277         javax/imageio/ImageWriter.java,
7278         javax/imageio/package.html,
7279         javax/imageio/spi/IIOServiceProvider.java,
7280         javax/imageio/spi/ImageInputStreamSpi.java,
7281         javax/imageio/spi/ImageOutputStreamSpi.java,
7282         javax/imageio/spi/ImageReaderWriterSpi.java,
7283         javax/imageio/spi/ImageTranscoderSpi.java,
7284         javax/imageio/spi/RegisterableService.java,
7285         javax/imageio/spi/ServiceRegistry.java,
7286         javax/imageio/spi/package.html,
7287         javax/imageio/stream/IIOByteBuffer.java,
7288         javax/imageio/stream/ImageInputStream.java,
7289         javax/imageio/stream/ImageOutputStream.java,
7290         javax/imageio/stream/package.html:
7291         New files.
7292         * Makefile.am
7293         (ordinary_java_source_files): Added
7294         gnu/classpath/ServiceFactory.java and
7295         gnu/classpath/ServiceProviderLoadingAction.java.
7296         (javax_source_files): Added
7297         javax/imageio/ImageReader.java,
7298         javax/imageio/ImageTranscoder.java,
7299         javax/imageio/ImageWriter.java,
7300         javax/imageio/spi/IIOServiceProvider.java,
7301         javax/imageio/spi/ImageInputStreamSpi.java,
7302         javax/imageio/spi/ImageOutputStreamSpi.java,
7303         javax/imageio/spi/ImageReaderWriterSpi.java,
7304         javax/imageio/spi/ImageTranscoderSpi.java,
7305         javax/imageio/spi/RegisterableService.java,
7306         javax/imageio/spi/ServiceRegistry.java,
7307         javax/imageio/stream/IIOByteBuffer.java,
7308         javax/imageio/stream/ImageInputStream.java and
7309         javax/imageio/stream/ImageOutputStream.java.
7310         * Makefile.in: Regenerated.
7312 2004-04-21  Michael Koch  <konqueror@gmx.de>
7314         * java/util/Properties.java
7315         (load): Fix wrongly merged fix.
7317 2004-04-21  Mark Wielaard  <mark@klomp.org>
7319         * native/jni/gtk-peer/gthread-jni.c (maybe_rethrow): Explicitly
7320         malloc and free buf.
7322 2004-04-21  Dalibor Topic  <robilad@kaffe.org>
7324         * javax/naming/AuthenticationException.java,
7325         javax/naming/AuthenticationNotSupportedException.java,
7326         javax/naming/CannotProceedException.java,
7327         javax/naming/CommunicationException.java,
7328         javax/naming/CompoundName.java,
7329         javax/naming/ConfigurationException.java,
7330         javax/naming/ContextNotEmptyException.java,
7331         javax/naming/InitialContext.java,
7332         javax/naming/InsufficientResourcesException.java,
7333         javax/naming/InterruptedNamingException.java,
7334         javax/naming/LimitExceededException.java,
7335         javax/naming/LinkException.java,
7336         javax/naming/LinkLoopException.java,
7337         javax/naming/LinkRef.java,
7338         javax/naming/MalformedLinkException.java,
7339         javax/naming/Name.java,
7340         javax/naming/NameAlreadyBoundException.java,
7341         javax/naming/NameNotFoundException.java,
7342         javax/naming/NamingSecurityException.java,
7343         javax/naming/NoInitialContextException.java,
7344         javax/naming/NoPermissionException.java,
7345         javax/naming/NotContextException.java,
7346         javax/naming/PartialResultException.java,
7347         javax/naming/ReferralException.java,
7348         javax/naming/ServiceUnavailableException.java,
7349         javax/naming/SizeLimitExceededException.java,
7350         javax/naming/TimeLimitExceededException.java,
7351         javax/naming/directory/Attribute.java,
7352         javax/naming/directory/Attributes.java,
7353         javax/naming/directory/SearchResult.java,
7354         javax/naming/event/NamingExceptionEvent.java,
7355         javax/naming/spi/ResolveResult.java:
7356         Cleaned up imports.
7358 2004-04-21  Mark Wielaard  <mark@klomp.org>
7360         * native/jni/gtk-peer/gnu_java_awt_peer_gtk_GtkCheckboxPeer.c:
7361         Changed C++ comments into C comments. Removed commented out code.
7362         * native/jni/gtk-peer/gnu_java_awt_peer_gtk_GtkComponentPeer.c:
7363         Likewise.
7364         * native/jni/gtk-peer/gnu_java_awt_peer_gtk_GtkEvents.c:
7365         Likewise.
7366         * native/jni/gtk-peer/gnu_java_awt_peer_gtk_GtkFileDialogPeer.c:
7367         Likewise.
7368         * native/jni/gtk-peer/gnu_java_awt_peer_gtk_GtkListPeer.c:
7369         Likewise.
7370         * native/jni/gtk-peer/gnu_java_awt_peer_gtk_GtkTextComponentPeer.c:
7371         Likewise.
7372         * native/jni/gtk-peer/gthread-jni.c:
7373         Likewise.
7375 2004-04-21  Mark Wielaard  <mark@klomp.org>
7377         * javax/awt/JFrame.java: Implement WindowConstants. Remove final
7378         static fields defined in interface.
7379         * javax/awt/JDialog.java: Likewise.
7380         (JDialog): Make constructors public.
7381         (getDefaultCloseOperation): Make public.
7382         (processWindowEvent): Call System.exit(0) when EXIT_ON_CLOSE set.
7383         (setDefaultCloseOperation): Make public. Check argument. Add API doc.
7384         * javax/swing/JViewport.java (JViewport): Make constructor public.
7386 2004-04-21  Michael Koch  <konqueror@gmx.de>
7388         * java/util/Map.java
7389         (Entry): Removed redundant "static" modifier.
7390         * java/text/AttributedCharacterIterator.java:
7391         Updated copyright year.
7393 2004-04-20  Michael Koch  <konqueror@gmx.de>
7395         * javax/naming/directory/SearchControls.java:
7396         Don't explicitely extend java.lang.Object.
7397         * javax/naming/spi/DirStateFactory.java:
7398         Merged copyright year with GNU classpath.
7400 2004-04-20  Michael Koch  <konqueror@gmx.de>
7402         * java/nio/channels/Channels.java:
7403         Merged coding style with GNU classpath.
7405 2004-04-20  Michael Koch  <konqueror@gmx.de>
7407         * java/net/ServerSocket.java
7408         Merged coding style from GNU classpath.
7410 2004-04-20  Michael Koch  <konqueror@gmx.de>
7412         * java/io/BufferedWriter.java:
7413         Reordered variables to be at top of the class.
7414         (localFlush): Removed redundant final keyword.
7416 2004-04-20  Ingo Proetel  <proetel@aicas.com>
7418         * java/awt/event/MouseEvent.java (<init>): fixed field assignment 
7420 2004-04-20  Jeroen Frijters  <jeroen@frijters.net>
7422         * java/text/DecimalFormat.java (scanFix): Removed suffix check
7423         for percent and permill check.
7425 2004-04-20  Guilhem Lavaux <guilhem@kaffe.org>
7427         * java/text/FieldPosition.java
7428         (FieldPosition) Constructor now behaves as it should according
7429         to the java documentation.
7431 2004-04-20  Mark Wielaard  <mark@klomp.org>
7433         * java/util/Properties.java: Use the word umlaut, not &auml; in api
7434         documentation.
7436 2004-04-20  Michael Koch  <konqueror@gmx.de>
7438         * java/nio/Buffer.java,
7439         java/nio/channels/AlreadyConnectedException.java,
7440         java/nio/channels/AsynchronousCloseException.java,
7441         java/nio/channels/ByteChannel.java,
7442         java/nio/channels/CancelledKeyException.java,
7443         java/nio/channels/Channel.java,
7444         java/nio/channels/Channels.java,
7445         java/nio/channels/ClosedByInterruptException.java,
7446         java/nio/channels/ClosedChannelException.java,
7447         java/nio/channels/ClosedSelectorException.java,
7448         java/nio/channels/ConnectionPendingException.java,
7449         java/nio/channels/DatagramChannel.java,
7450         java/nio/channels/FileChannel.java,
7451         java/nio/channels/FileLock.java,
7452         java/nio/channels/FileLockInterruptionException.java,
7453         java/nio/channels/GatheringByteChannel.java,
7454         java/nio/channels/IllegalBlockingModeException.java,
7455         java/nio/channels/IllegalSelectorException.java,
7456         java/nio/channels/InterruptibleChannel.java,
7457         java/nio/channels/NoConnectionPendingException.java,
7458         java/nio/channels/NonReadableChannelException.java,
7459         java/nio/channels/NonWritableChannelException.java,
7460         java/nio/channels/NotYetBoundException.java,
7461         java/nio/channels/NotYetConnectedException.java,
7462         java/nio/channels/OverlappingFileLockException.java,
7463         java/nio/channels/Pipe.java,
7464         java/nio/channels/ReadableByteChannel.java,
7465         java/nio/channels/ScatteringByteChannel.java,
7466         java/nio/channels/SelectableChannel.java,
7467         java/nio/channels/SelectionKey.java,
7468         java/nio/channels/Selector.java,
7469         java/nio/channels/ServerSocketChannel.java,
7470         java/nio/channels/SocketChannel.java,
7471         java/nio/channels/UnresolvedAddressException.java,
7472         java/nio/channels/UnsupportedAddressTypeException.java,
7473         java/nio/channels/WritableByteChannel.java,
7474         java/nio/channels/spi/AbstractInterruptibleChannel.java,
7475         java/nio/channels/spi/AbstractSelectableChannel.java,
7476         java/nio/channels/spi/AbstractSelectionKey.java,
7477         java/nio/channels/spi/AbstractSelector.java,
7478         java/nio/channels/spi/SelectorProvider.java,
7479         java/nio/charset/spi/CharsetProvider.java:
7480         Fixed javadocs and jalopied all over java.nio.
7482 2004-04-20  Michael Koch  <konqueror@gmx.de>
7484         * java/nio/ByteBufferImpl.java,
7485         java/nio/CharBufferImpl.java,
7486         java/nio/DirectByteBufferImpl.java,
7487         java/nio/DoubleBufferImpl.java,
7488         java/nio/DoubleViewBufferImpl.java,
7489         java/nio/FloatBufferImpl.java,
7490         java/nio/FloatViewBufferImpl.java,
7491         java/nio/IntBufferImpl.java,
7492         java/nio/IntViewBufferImpl.java,
7493         java/nio/LongBufferImpl.java,
7494         java/nio/LongViewBufferImpl.java,
7495         java/nio/MappedByteBufferImpl.java,
7496         java/nio/ShortBufferImpl.java,
7497         java/nio/ShortViewBufferImpl.java:
7498         Made sure all classes are final and removed final keyword from all
7499         methods.
7501 2004-04-20  Michael Koch  <konqueror@gmx.de>
7503         * java/rmi/MarshalledObject.java,
7504         java/rmi/Naming.java,
7505         java/rmi/RemoteException.java,
7506         java/rmi/activation/ActivationException.java,
7507         java/rmi/server/ServerCloneException.java,
7508         java/security/AccessController.java,
7509         java/security/AlgorithmParameterGenerator.java,
7510         java/security/AlgorithmParameters.java,
7511         java/security/CodeSource.java,
7512         java/security/Identity.java,
7513         java/security/IdentityScope.java,
7514         java/security/KeyPairGenerator.java,
7515         java/security/KeyStore.java,
7516         java/security/Security.java,
7517         java/security/Signature.java,
7518         java/security/SignatureSpi.java,
7519         java/security/SignedObject.java,
7520         java/security/spec/DSAParameterSpec.java,
7521         java/security/spec/DSAPrivateKeySpec.java,
7522         java/security/spec/DSAPublicKeySpec.java,
7523         java/sql/Array.java,
7524         java/sql/DatabaseMetaData.java,
7525         java/sql/ResultSet.java,
7526         java/text/ChoiceFormat.java,
7527         java/text/CollationElementIterator.java,
7528         java/text/CollationKey.java,
7529         java/text/Collator.java,
7530         java/text/DateFormat.java,
7531         java/text/DateFormatSymbols.java,
7532         java/text/DecimalFormatSymbols.java,
7533         java/text/Format.java,
7534         java/text/ParsePosition.java,
7535         java/text/RuleBasedCollator.java,
7536         java/text/SimpleDateFormat.java,
7537         java/text/StringCharacterIterator.java,
7538         java/util/Collections.java,
7539         java/util/PropertyResourceBundle.java,
7540         java/util/ResourceBundle.java,
7541         java/util/StringTokenizer.java,
7542         java/util/jar/Attributes.java,
7543         java/util/logging/ConsoleHandler.java,
7544         java/util/logging/LogManager.java,
7545         java/util/logging/MemoryHandler.java,
7546         java/util/logging/SocketHandler.java,
7547         javax/naming/NamingException.java:
7548         Fixed javadoc, coding style and argument names all over.
7550 2004-04-20  Jeroen Frijters  <jeroen@frijters.net>
7552         * java/io/FileDescriptor.java: (FileDescriptor) Added public
7553         constructor. (valid) Added null check.
7555 2004-04-20  Guilhem Lavaux <guilhem@kaffe.org>
7557         Reported by Nektarios Papadopoulos <npapadop@inaccessnetworks.com>
7558         * java/io/FileOutputStream.java
7559         (FileOutputStream) Reorganized constructors. Constructors now
7560         check whether the given path is directory.
7562 2004-04-20  Michael Koch  <konqueror@gmx.de>
7564         * java/net/Authenticator.java,
7565         java/net/BindException.java,
7566         java/net/ConnectException.java,
7567         java/net/ContentHandler.java,
7568         java/net/ContentHandlerFactory.java,
7569         java/net/DatagramPacket.java,
7570         java/net/DatagramSocket.java,
7571         java/net/DatagramSocketImpl.java,
7572         java/net/DatagramSocketImplFactory.java,
7573         java/net/FileNameMap.java,
7574         java/net/HttpURLConnection.java,
7575         java/net/Inet4Address.java,
7576         java/net/Inet6Address.java,
7577         java/net/InetAddress.java,
7578         java/net/InetSocketAddress.java,
7579         java/net/JarURLConnection.java,
7580         java/net/MalformedURLException.java,
7581         java/net/MulticastSocket.java,
7582         java/net/NetPermission.java,
7583         java/net/NetworkInterface.java,
7584         java/net/NoRouteToHostException.java,
7585         java/net/PasswordAuthentication.java,
7586         java/net/PortUnreachableException.java,
7587         java/net/ProtocolException.java,
7588         java/net/ServerSocket.java,
7589         java/net/Socket.java,
7590         java/net/SocketAddress.java,
7591         java/net/SocketException.java,
7592         java/net/SocketImpl.java,
7593         java/net/SocketImplFactory.java,
7594         java/net/SocketOptions.java,
7595         java/net/SocketPermission.java,
7596         java/net/SocketTimeoutException.java,
7597         java/net/URI.java,
7598         java/net/URISyntaxException.java,
7599         java/net/URL.java,
7600         java/net/URLClassLoader.java,
7601         java/net/URLConnection.java,
7602         java/net/URLDecoder.java,
7603         java/net/URLEncoder.java,
7604         java/net/URLStreamHandler.java,
7605         java/net/URLStreamHandlerFactory.java,
7606         java/net/UnknownHostException.java,
7607         java/net/UnknownServiceException.java:
7608         Fixed javadocs, coding style and argument names all over.
7610 2004-04-20  Michael Koch  <konqueror@gmx.de>
7612         * java/lang/Byte.java,
7613         java/lang/CharSequence.java,
7614         java/lang/ClassLoader.java,
7615         java/lang/Compiler.java,
7616         java/lang/Double.java,
7617         java/lang/Float.java,
7618         java/lang/Integer.java,
7619         java/lang/Long.java,
7620         java/lang/Math.java,
7621         java/lang/Number.java,
7622         java/lang/Package.java,
7623         java/lang/Runtime.java,
7624         java/lang/RuntimePermission.java,
7625         java/lang/SecurityManager.java,
7626         java/lang/Short.java,
7627         java/lang/StringBuffer.java,
7628         java/lang/System.java,
7629         java/lang/ThreadGroup.java,
7630         java/lang/Throwable.java,
7631         java/lang/reflect/InvocationHandler.java,
7632         java/lang/reflect/Proxy.java:
7633         Fixed javadocs, coding style and argument names all over.
7635 2004-04-20  Michael Koch  <konqueror@gmx.de>
7637         * java/io/BufferedWriter.java,
7638         java/io/ByteArrayInputStream.java,
7639         java/io/CharArrayWriter.java,
7640         java/io/DataInput.java,
7641         java/io/DataInputStream.java,
7642         java/io/File.java,
7643         java/io/FilterInputStream.java,
7644         java/io/InputStream.java,
7645         java/io/InputStreamReader.java,
7646         java/io/ObjectInputStream.java,
7647         java/io/ObjectStreamClass.java,
7648         java/io/PipedInputStream.java,
7649         java/io/PipedReader.java,
7650         java/io/PushbackInputStream.java,
7651         java/io/PushbackReader.java,
7652         java/io/RandomAccessFile.java,
7653         java/io/SerializablePermission.java,
7654         java/io/StreamTokenizer.java,
7655         java/io/StringWriter.java,
7656         java/io/WriteAbortedException.java,
7657         java/io/Writer.java:
7658         Fixed javadocs all over, rename arguments to match javadocs,
7659         fixed coding style.
7661 2004-04-20  Ingo Proetel  <proetel@aicas.com>
7663         * java/awt/FontMetrics.java:
7664         (charsWidth): fixed accumulation of total_width
7665         (getWidth): simple default implementation
7666         * java/awt/Polygon.java (getBoundingBox): Use correct y-coordinate
7667         in Rectangle constructor.
7668         * java/awt/image/Raster.java (toString): Added method. 
7669         * java/awt/image/SampleModel.java (<init>): Added error cause
7670         information to thrown exception.
7671         * java/awt/image/SinglePixelPackedSampleModel.java (getDataElements):
7672         New method.
7673         (setDataElements): New method.
7674         (setPixels): New method.
7675         (toString): New method.
7677 2004-04-20  Sascha Brawer  <brawer@dandelis.ch>
7679         * java/awt/image/ComponentColorModel.java
7680         (createCompatibleSampleModel): Return PixelInterleavedSampleModel
7681         for TYPE_BYTE and TYPE_USHORT transferTypes, in order to pass the
7682         Mauve tests on this method. Improved documentation.
7684 2004-04-20  Michael Koch  <konqueror@gmx.de>
7686         * javax/swing/JLayeredPane.java,
7687         javax/swing/plaf/BorderUIResource.java,
7688         javax/swing/plaf/ComponentUI.java,
7689         javax/swing/undo/CompoundEdit.java,
7690         javax/swing/undo/StateEdit.java:
7691         Fixed HTML tags in javadocs all over.
7693 2004-04-20  Michael Koch  <konqueror@gmx.de>
7695         * javax/print/attribute/EnumSyntax.java
7696         (getOffset): Made protected.
7697         * javax/print/attribute/HashAttributeSet.java
7698         (HashAttributeSet): Likewise.
7699         * javax/print/attribute/ResolutionSyntax.java
7700         (getFeedResolution): Fixed typo in exception name.
7701         (getCrossFeedResolution): Likewise.
7702         * javax/print/attribute/SetOfIntegerSyntax.java
7703         (SetOfIntegerSyntax): Fixed HTML entities in javadoc.
7704         * javax/print/attribute/TextSyntax.java
7705         (TextSyntax): Handle locale correctly.
7706         (hashCode): Calc better hashcode value.
7707         (equals): Fixed @return tag.
7708         (toString): New method.
7710 2004-04-20  Michael Koch  <konqueror@gmx.de>
7712         * gnu/java/nio/FileLockImpl.java
7713         (static): Removed, not needed anymore.
7714         * gnu/java/nio/channels/FileChannelImpl.java
7715         (FileChannelImpl): Made final.
7716         (mode): Made private.
7717         (READ, WRITE, APPEND): Made public.
7718         (EXCL, SYNC, DSYNC): Likewise.
7719         (static): Load native JNI library, when needed.
7720         (length): Unused, removed.
7721         (available): Made public.
7722         (implPosition): Throws IOException.
7723         (seek): Likewise.
7724         (implTruncate): Likewise.
7725         (unlock): Likewise.
7726         (lock): Likewise.
7728 2004-04-20  Michael Koch  <konqueror@gmx.de>
7730         * java/awt/AWTPermission.java,
7731         java/awt/Component.java,
7732         java/awt/ComponentOrientation.java,,
7733         java/awt/Dialog.java,
7734         java/awt/FontMetrics.java,
7735         java/awt/Graphics.java,
7736         java/awt/datatransfer/DataFlavor.java,
7737         java/beans/Introspector.java,
7738         java/beans/PropertyEditor.java,
7739         java/beans/PropertyEditorManager.java,
7740         java/beans/beancontext/BeanContextServiceProvider.java:
7741         Fixed HTML tags in javadocs all over.
7743 2004-04-20  Mark Wielaard  <mark@klomp.org>
7745         * gnu/java/awt/peer/gtk/GtkFontPeer.java: Use fallback when
7746         MissingResourceException is thrown.
7747         * gnu/java/awt/peer/gtk/GtkToolkit.java (getFontPeer): Don't return
7748         null when a MissingResourceException is thrown. Should never happen.
7750 2004-04-20  Sascha Brawer  <brawer@dandelis.ch>
7752         * java/awt/image/DataBufferShort.java,
7753         java/awt/image/DataBufferFloat.java,
7754         java/awt/image/DataBufferDouble.java,
7755         java/awt/image/PixelInterleavedSampleModel.java: New files.
7756         * gnu/java/awt/Buffers.java (createBuffer, createBufferFromData,
7757         getData): Added support for TYPE_SHORT, TYPE_FLOAT and TYPE_DOUBLE.
7759 2004-04-20  Michael Koch  <konqueror@gmx.de>
7761         * Makefile.am (java_source_files): Added
7762         java/awt/image/DataBufferDouble.java,
7763         java/awt/image/DataBufferFloat.java,
7764         java/awt/image/DataBufferShort.java and
7765         java/awt/image/PixelInterleavedSampleModel.java.
7766         * Makefile.in: Regenerated.
7768 2004-04-19  Bryce McKinlay  <mckinlay@redhat.com>
7770         * gcj/cni.h (JvAllocObject): Remove these obsolete, 
7771         undocumented CNI calls.
7772         * include/java-interp.h (_Jv_InterpClass): No longer
7773         extends java.lang.Class.
7774         * java/lang/Class.h (Class): Add new field `aux_info'.
7775         * boehm.cc (_Jv_MarkObj): Update java.lang.Class marking.
7776         * defineclass.cc: Remove Class<->_Jv_InterpClass casts.
7777         Use Class->aux_info instead.
7778         * jni.cc (_Jv_JNI_AllocObject): Use _Jv_AllocObject.
7779         * resolve.cc: Remove Class<->_Jv_InterpClass casts.
7780         Use Class->aux_info instead.
7781         * java/io/natObjectInputStream.cc (allocateObject): Use
7782         _Jv_AllocObject.
7783         * java/lang/natClass.cc (newInstance): Likewise.
7784         * java/lang/natClassLoader.cc (_Jv_NewClass): Likewise.
7785         * java/lang/natObject.cc (clone): Likewise.
7786         * java/lang/reflect/natMethod.cc (_Jv_CallAnyMethodA): Likewise.
7787         * java/lang/natVMClassLoader.cc (defineClass): Don't use
7788         JvAllocObject. Allocate klass->aux_info here for interpreted
7789         class.
7790         
7791 2004-04-17  Mark Wielaard  <mark@klomp.org>
7793         * javax/swing/JToggleButton.java (ToggleButtonModel):
7794         Make public static inner class.
7795         * javax/swing/JTabbedPane.java (setComponentAt):
7796         Call Page.setComponent().
7797         (SCROLL_TAB_LAYOUT): Make public, value is 1.
7798         (WRAP_TAB_LAYOUT): Make public, value is 0.
7799         * javax/swing/plaf/basic/BasicTabbedPaneUI.java (ScrollingButton):
7800         Make private static inner class.
7802 2004-04-16  Bryce McKinlay  <mckinlay@redhat.com>
7804         * interpret.cc (_Jv_InterpMethod::run): Update _Jv_AllocObject
7805         arguments to match new signature. Remove FIXME comments.
7807 2004-04-09  Thomas Fitzsimmons  <fitzsim@redhat.com>
7809         * gnu/java/awt/peer/gtk/GtkPanelPeer.java (connectSignals):
7810         Remove method.
7811         * jni/gtk-peer/gnu_java_awt_peer_gtk_GtkPanelPeer.c: Remove
7812         unused code.
7814 2004-04-02  Olga Rodimina  <rodimina@redhat.com>
7816         * Makefile.am: Added new file.
7817         * Makefile.in: Regenerate.
7818         * javax/swing/ImageIcon.java: 
7819         (ImageIcon(file)): set description of the icon 
7820         to the file name
7821         * javax/swing/JCheckBoxMenuItem.java:
7822         Mostly Implemented. Work in progress.
7823         * javax/swing/JRadioButtonMenuItem.java:
7824         Reimplement constructors to use JToggleButtonModel.
7825         * javax/swing/plaf/basic/BasicIconFactory.java:
7826         (getCheckBoxMenuItemIcon): return check box
7827         icon.
7828         * javax/swing/plaf/basic/BasicMenuItemUI.java:
7829         paint menu item selected only when it is armed and 
7830         pressed. 
7832 2004-04-02  David Jee  <djee@redhat.com>
7834         * gnu/java/awt/peer/gtk/GtkMenuItemPeer.java
7835         (GtkMenuItemPeer): Only connect signals if this isn't a Menu peer.
7836         * java/awt/Component.java
7837         (add): Set the parent of the popup as this component.
7838         * java/awt/PopupMenu.java
7839         (addNotify): Create popup menu when peer is null.
7840         (show): Call addNotify() if peer is null.
7841         * jni/gtk-peer/gnu_java_awt_peer_gtk_GtkPopupMenuPeer.c
7842         (Java_gnu_java_awt_peer_gtk_GtkPopupMenuPeer_show): Set the button
7843         argument for gtk_menu_popup() as zero. This causes the popup menu to
7844         respond to any mouse button.
7846 2004-03-31  Olga Rodimina  <rodimina@redhat.com>
7848         * Makefile.am: Added new file.
7849         * Makefile.in: Regenerate.
7850         * javax/swing/JRadioButtonMenuItem.java:
7851         Implemented.
7852         * javax/swing/plaf/basic/BasicIconFactory.java:
7853         (getRadioButtonMenuItemIcon): Return
7854         radio button icon.
7855         * javax/swing/plaf/basic/BasicMenuItemUI.java:
7856         (getPreferredSize): Add size of checkIcon if it
7857         exists.
7858         (installDefaults): Don't initialize checkIcon.
7859         It's value will be set in subclasses. 
7860         (uninstallDefaults): remove uninstallation of 
7861         checkIcon.
7862         (paint): Moved code to paintMenuItem().
7863         (paintMenuItem): Implemented.
7864         * javax/swing/plaf/basic/BasicRadioButtonMenuItemUI.java:
7865         UI delegate for JRadioButtonMenuItem.
7866         
7867 2004-03-29  Olga Rodimina  <rodimina@redhat.com>
7869         * javax/swing/plaf/basic/BasicMenuItemUI.java:
7870         Corrected position of the accelerator.
7872 2004-03-29  Olga Rodimina  <rodimina@redhat.com>
7874         * Makefile.am: Added new file. 
7875         * Makefile.in: Regenerate.
7876         * javax/swing/JMenuItem.java: Partly 
7877         implemented. Work in progress
7878         * javax/swing/plaf/basic/BasicLookAndFeel.java:
7879         Changed default value of acceleratorDelimiter.
7880         * javax/swing/plaf/basic/BasicMenuItemUI.java:
7881         New class. Partly implemented.
7882                 
7883 2004-03-26  Mark Wielaard  <mark@klomp.org>
7885         * native/jni/gtk-peer/gnu_java_awt_peer_gtk_GtkChoicePeer.c
7886         (item_activate): Declare label before use.
7887         * native/jni/gtk-peer/gnu_java_awt_peer_gtk_GtkComponentPeer.c
7888         (gtkSetFont): Removed unused variable label.
7889         (addExposeFilter): Declare variables before use.
7890         (removeExposeFilter): Likewise.
7891         * native/jni/gtk-peer/gnu_java_awt_peer_gtk_GtkFileDialogPeer.c
7892         (ok_clicked): Declare str_fileName before use.
7894 2004-03-26  David Jee  <djee@redhat.com>
7896         * gnu/java/awt/peer/gtk/GtkMenuPeer.java
7897         (addSeparator): Remove.
7898         * java/awt/Menu.java
7899         (separator): Remove static final MenuItem field.
7900         (separatorLabel): New static final String field.
7901         (addSeparator): Do not use peer method; use add(MenuItem) instead.
7902         Use separatorLabel to denote that it is a separator.
7903         (insertSeparator): Create a new MenuItem with separatorLabel, instead
7904         of reusing the static separator instance, because a MenuItem instance
7905         can't be added more than once without being cloned.
7906         * java/awt/peer/MenuPeer.java
7907         (addSeparator): Remove from interface.
7909 2004-03-26  David Jee  <djee@redhat.com>
7911         * gnu/java/awt/peer/gtk/GtkMenuItemPeer.java
7912         (connectSignals): New native method declaration.
7913         (GtkMenuItemPeer): Connect signals if the parent is a Menu.
7914         * java/awt/MenuItem.java
7915         (getActionCommand): Return the label if the action command is not set.
7916         * jni/gtk-peer/gnu_java_awt_peer_gtk_GtkMenuBarPeer.c
7917         (Java_gnu_java_awt_peer_gtk_GtkMenuBarPeer_addMenu): Use
7918         gtk_menu_shell_append().
7919         * jni/gtk-peer/gnu_java_awt_peer_gtk_GtkMenuItemPeer.c
7920         (item_activate): Fix argument type.
7921         (Java_gnu_java_awt_peer_gtk_GtkMenuItemPeer_create): Do not connect
7922         signal here.
7923         (Java_gnu_java_awt_peer_gtk_GtkMenuItemPeer_connectSignals): New
7924         method.
7925         * jni/gtk-peer/gnu_java_awt_peer_gtk_GtkMenuPeer.c
7926         (Java_gnu_java_awt_peer_gtk_GtkMenuPeer_create): Check if a label is
7927         given. Add the menu widget's top-level GtkWindow to the global window
7928         group, so it can grab the pointer.
7929         (Java_gnu_java_awt_peer_gtk_GtkMenuPeer_addItem): Use
7930         gtk_menu_shell_append().
7932 2004-03-23  Graydon Hoare  <graydon@redhat.com>
7934         * java/text/AttributedString.java 
7935         (addAttribute): Fix off-by-one.
7936         (getIterator): Likewise.        
7937         * java/text/AttributedStringIterator.java 
7938         (getRunLimit): Correct logic.
7939         (getRunStart): Likewise.
7940         (getAttribute): Fix inequality.
7941         (getAttributes): Likewise.
7942         * testsuite/libjava.mauve/xfails: Remove AttributedString xfail.
7944 2004-03-23  Kim Ho  <kho@redhat.com>
7946         * javax/swing/plaf/basic/BasicTabbedPaneUI.java:
7947         (calculateSizes): Return real width and height.
7949 2004-03-23  Kim Ho  <kho@redhat.com>
7951         * javax/swing/plaf/basic/BasicTabbedPaneUI.java
7952         (calculateTabRects): Set the selectedRun before
7953         trying to rotate tabs.
7955 2004-03-23  Kim Ho  <kho@redhat.com>
7957         * Makefile.am: New file
7958         * Makefile.in: Regenerate
7959         * java/awt/Graphics.java: (drawRect):
7960         Draw to the correct point.
7961         * javax/swing/DefaultSingleSelectionModel.java
7962         (isSelected): Return true if the selected index
7963         is not -1.
7964         * javax/swing/JLabel.java: Do not change mnemonic
7965         index if text is null.
7966         * javax/swing/JProgressBar.java: Use JComponent's
7967         EventListenerList.
7968         * javax/swing/JScrollBar.java: Ditto.
7969         * javax/swing/JSlider.java: Ditto.
7970         * javax/swing/JTabbedPane.java: Reimplement.
7971         * javax/swing/plaf/basic/BasicLookAndFeel.java:
7972         Add defaults for TabbedPane.
7973         * javax/swing/plaf/basic/BasicArrowButton.java:
7974         Implement
7975         * javax/swing/plaf/basic/BasicProgressBarUI.java:
7976         (paintDeterminate): Don't paint String if it's
7977         empty.
7978         (paintIndeterminate): ditto.
7979         * javax/swing/plaf/basic/BasicTabbedPaneUI.java:
7980         Reimplement.
7982 2004-03-19  Michael Koch  <konqueror@gmx.de>
7984         * java/awt/image/AffineTransformOp.java
7985         (AffineTransformOp): Made public.
7986         * javax/swing/JComponent.java
7987         (listenerList): Made protected.
7988         (accessibleContext): Likewise.
7989         * javax/swing/JList.java
7990         (valueChanged): Dont use internal fields of ListSelectionEvent.
7991         * javax/swing/JViewport.java
7992         (getView): Dont use internal fields of Component.
7993         (addImpl): Likewise.
7994         * javax/swing/Timer.java
7995         (isRunning): Made public.
7996         (start): Likewise.
7997         (stop): Likewise.
7998         * javax/swing/UIDefaults.java
7999         (getInt): Made public.
8000         * javax/swing/plaf/basic/BasicListUI.java
8001         (mousePressed): Dont use internal fields of MouseEvent.
8002         (propertyChanged): Dont use internal fields of PropertyChangeEvent.
8003         * javax/swing/plaf/basic/BasicScrollBarUI.java
8004         (arrowIcon): Made static.
8005         * javax/swing/plaf/basic/BasicViewportUI.java
8006         (stateChanged): Dont use internal field on ChangeEvent.
8007         * javax/swing/text/JTextComponent.java
8008         (getUI): Call UIManager.getUI().
8009         (updateUI): Use getUI().
8011 2004-03-19  Graydon Hoare  <graydon@redhat.com>
8013         * javax/swing/JComponent.java: Turn off double buffer by default.
8014         * javax/swing/plaf/basic/BasicViewportUI.java: Clear rects before painting.
8015         * jni/gtk-peer/gnu_java_awt_peer_gtk_GdkGraphics2D.c
8016         (Java_gnu_java_awt_peer_gtk_GdkGraphics2D_gdkDrawDrawable): 
8017         Use cairo to copy areas.
8018         (Java_gnu_java_awt_peer_gtk_GdkGraphics2D_cairoClip):
8019         Initialize and set clip region.
8021 2004-03-15  Thomas Fitzsimmons  <fitzsim@redhat.com>
8023         * java/applet/Applet.java (preferredSize): Override deprecated
8024         variant of getPreferredSize.
8025         (minimumSize): Override deprecated variant of getMinimumSize.
8027 2004-03-15  Olga Rodimina  <rodimina@redhat.com>
8029         * gnu/java/awt/peer/gtk/GdkGraphics2D.java
8030         (drawImage(img,xform,bgcolor,obs)): New Method.
8031         Helper function that every drawImage method will
8032         use.
8033         (drawRaster): Added new parameter, bgcolor. All
8034         transparent pixels are changed to bgcolor before 
8035         image is drawn.
8036         (drawRenderedImage): Fixed to use changed drawRaster().
8037         (drawImage(image,xform,obs): Fixed to use new helper function 
8038         (drawImage(image,op,x,y)): Ditto.
8039         (drawImage (img,x,y,observer)): Ditto.
8040         ((PainterThread) bgcolor): New Field.
8041         ((PainterThread) (setPixels)): Changed all transparent pixels 
8042         to bgcolor.     
8043         (drawImage(img,x,y,width,height,bgcolor,observer)): 
8044         Fixed FIXME - all the transparent pixels are 
8045         changed to the specified bgcolor. 
8046         (drawImage(img, x, y, width, height, observer): Changed to 
8047         use function above.
8048         (drawImage (img,dx1,dy1,dx2,dy2,sx1,sy1,sx2,sy2,bgcolor,observer)): 
8049         Fixed FIXME- changed all transparent pixels to bgcolor.
8050         (drawImage (img, dx1, dy1, dx2, dy2, sx1, sy1, sx2, sy2, observer)):
8051         Changed to use function above. 
8053 2004-03-14  Thomas Fitzsimmons  <fitzsim@redhat.com>
8055         * java/applet/Applet.java (dimensions): New field.
8056         (getDimensions): New method.
8057         (getPreferredSize): Call getDimensions.
8058         (getMinimumSize): Likewise.
8060 2004-03-13  Thomas Fitzsimmons  <fitzsim@redhat.com>
8062         * jni/classpath/jcl.c: Include stdlib.h, not malloc.h.
8063         * jni/classpath/jnilink.c: Likewise.
8065         * java/applet/Applet.java (getPreferredSize): New method.
8066         (getMinimumSize): New method.
8068 2004-04-15  Bryce McKinlay  <mckinlay@redhat.com>
8070         * prims.cc (_Jv_AllocObject): Remove `size' argument.
8071         (_Jv_AllocObjectNoFinalizer): Likewise.
8072         (_Jv_AllocObjectNoInitNoFinalizer): Likewise.
8073         (_Jv_AllocPtrFreeObject): Likewise.
8074         (_Jv_AllocString): Moved from natString.cc. Call collector interface
8075         directly even in the JVMPI case.        
8076         * gcj/cni.h (JvAllocObject): Remove `size' argument from 
8077         _Jv_AllocObject calls.
8078         * gcj/javaprims.h: Update prototypes.
8079         * gnu/gcj/natCore.cc (_Jv_create_core): Use `new', not _Jv_AllocObject.
8080         * java/lang/Class.h: Update _Jv_AllocObject friend prototype.
8081         * java/lang/natString.cc (_Jv_AllocString): Move to prims.cc.
8083 2004-04-14  Andrew Haley  <aph@redhat.com>
8084             Bryce McKinlay  <mckinlay@redhat.com>
8086         * java/lang/reflect/natMethod.cc (_Jv_CallAnyMethodA): Use
8087         _Jv_LookupInterfaceMethodIdx for calls to interfaces.
8088         * include/jvm.h (_Jv_CallAnyMethodA): Add new `iface' arg.
8090         * testsuite/libjava.lang/InvokeInterface.java: New file.
8091         * testsuite/libjava.lang/InvokeInterface.out: New file.
8093 2004-04-09  Ranjit Mathew  <rmathew@hotmail.com>
8094         
8095         * java/lang/VMThrowable.java (getStackTrace): Pass trace as-is to
8096         modified lookup().
8097         * gnu/gcj/runtime/NameFinder.java (lookup): Change to take in a
8098         StackTraceElement directly.
8099         (newElement): New native helper method to create StackTraceElement
8100         bypassing Java access control.
8101         (createStackTraceElement): Use newElement() instead of directly
8102         calling StackTraceElement's constructor.
8103         * gnu/gcj/runtime/natNameFinder.cc (newElement): New method.
8105 2004-04-01  Michael Koch  <konqueror@gmx.de>
8107         * java/lang/SecurityManager.java
8108         (checkAwtEventQueueAccess): Implemented.
8110 2004-04-01  Gary Benson  <gbenson@redhat.com>
8112         * resolve.cc (_Jv_ResolvePoolEntry): Put field name in exception.
8113         (_Jv_SearchMethodInClass): Likewise.
8115 2004-03-26  Peter Moon  <peterm@miraculum.com>
8117         * java/text/NumberFormat.java: Fix spelling of setCurrency
8118         method.
8120 2004-03-21  Anthony Green  <green@redhat.com>
8122         * java/lang/natClass.cc (getClassLoader): Circumvent infinite
8123         recursion when searching for the system ClassLoader.
8125 2004-03-21  Ito Kazumitsu <kaz@maczuka.gcd.org>
8127         * java/net/ServerSocket.java
8128         (accept): Close the socket when error occured.
8130 2004-03-21  Jeroen Frijters  <jeroen@frijters.net>
8132         * java/net/URI.java (parseURI): Added unquoting.
8133         (unquote): New method.
8134         (quoteAuthority): Implemented.
8135         (quote(String,String)): New method.
8136         (quotePath): Implemented.
8137         (getRawSchemeSpecificPart): Return new rawSchemeSpecificPart field.
8138         (getSchemeSpecificPart): Removed FIXME comment.
8139         (getRawAuthority): Return new rawAuthority field.
8140         (getAuthority): Removed FIXME comment.
8141         (getRawUserInfo): Return new rawUserInfo field.
8142         (getUserInfo): Removed FIXME comment.
8143         (getRawPath): Return new rawPath field.
8144         (getPath): Removed FIXME comment.
8145         (getRawQuery): Return new rawQuery field.
8146         (getQuery): Removed FIXME comment.
8147         (getRawFragment): Return new rawFragment field.
8148         (getFragment): Removed FIXME comment.
8150 2004-03-20  Michael Koch  <konqueror@gmx.de>
8152         * java/net/URLConnection.java: Merged copyright year with classpath.
8154 2004-03-20  Norbert Frese  <postfach@nfrese.net>
8156         * gnu/java/rmi/server/RMIIncomingThread.java: New file.
8157         * gcc/libjava/gnu/java/rmi/server/UnicastConnection.java:
8158         Create a new RMIObjectOuputStream/RMIObjectInputStream for every
8159         rmi-message.
8160         (getObjectInputStream): Return object reference, throw IOException if null.
8161         (startObjectInputStream): Create new RMIObjectInputStream on top of 'din'.
8162         (getObjectOutputStream): Return object reference, throw IOException if null.
8163         (startObjectOutputStream): Create new RMIObjectOutputStream on top of 'dout'.
8164         * gcc/libjava/gnu/java/rmi/server/UnicastConnectionManager.java:
8165         (UnicastConnectionManager): Throw RemoteException if port is not available.
8166         (getInstance): Throw RemoteException.
8167         (run): Lookup client host and attach it to new RMIIncomingThread for later retrieval.
8168         * gcc/libjava/gnu/java/rmi/server/UnicastRef.java:
8169         Start a new RMIObjectInputStream/RMIObjectOutputStream for every rmi-message.
8170         Collect Exceptions which are returned by a rmi-call and fix void returns.
8171         * gcc/libjava/gnu/java/rmi/server/UnicastRemoteCall.java:
8172         Start a new RMIObjectInputStream/RMIObjectOutputStream for every rmi-message.
8173         * gcc/libjava/gnu/java/rmi/server/UnicastServer.java:
8174         (dispatch): Answer ping messages which are sent by other java implementions.
8175         (incomingMessageCall): Start a new RMIObjectInputStream/RMIObjectOutputStream
8176         for every rmi-message and fix void return problems.
8177         * gcc/libjava/gnu/java/rmi/server/UnicastServerRef.java
8178         (UnicastServerRef): Throw RemoteException.
8179         (exportObject): Find the class up the class hierarchy which has a _Stub generated by rmic.
8180         In some situations it is necessary to export a subclass of the class which has the _Stub.
8181         For instance when the class with has the _Stub is abstract.
8182         (findStubSkelClass): New method which looks for the class which has the _Stub.
8183         (getClientHost): Implementated.
8184         * gcc/libjava/java/rmi/server/RemoteServer.java
8185         (getClientHost): Implementated.
8186         * gcc/libjava/Makefile.am (rmi_java_source_files):
8187         Added gnu/java/rmi/server/RMIIncomingThread.java.
8188         * Makefile.in: Regenerated.
8190 2004-03-20  Michael Koch  <konqueror@gmx.de>
8192         * java/net/InetAddress.java
8193         (getLocalHostname): Added javadoc.
8195 2004-03-19  Per Bothner  <per@bothner.com>
8197         * configure.in: FILE variable  overrides FLATFORM when linking
8198         natFileChannelXXX.cc.
8200         * gnu/java/nio/channels/natFileChannelEcos.cc (diag_write):  Restored.
8201         (write):  Call diag_write, as in old natFileDescriptorEcos.cc.
8203 2004-03-19  Per Bothner  <per@bothner.com>
8205         * gnu/gcj/convert/Input_UnicodeBig.java:  New class..
8206         * gnu/gcj/convert/Input_UnicodeLittle.java:  New class.
8207         * Makefile.am:  Update accordingly.
8208         * gnu/gcj/convert/IOConverter.java:  Define "utf-16le" and "utf16be"
8209         as aliases for UnicodeLittle and UnicodeBig.
8211 2004-03-20  Mark Wielaard  <mark@klomp.org>
8213         * native/jni/gtk-peer/gnu_java_awt_peer_gtk_GtkTextAreaPeer.c
8214         (Java_gnu_java_awt_peer_gtk_GtkTextAreaPeer_getVScrollbarWidth):
8215         Don't access ws when it is null.
8216         (Java_gnu_java_awt_peer_gtk_GtkTextAreaPeer_getHScrollbarHeight):
8217         Likewise.
8219 2004-03-19  Jeroen Frijters  <jeroen@frijters.net>
8221         * java/lang/ThreadGroup.java (list): Changed print to println.
8223 2004-03-19  Mark Wielaard  <mark@klomp.org>
8225         * java/io/BufferedReader.java: Use &lt;=, not &lt;&eq; to make gjdoc
8226         happy.
8228 2004-02-10  Randolph Chung  <tausq@debian.org>
8230         * configure.in: Build java for hppa target.
8231         * configure: Regenerate.
8232         * libjava/configure.host (hppa-*): Add target.
8233         * libjava/sysdeps/pa/lock.h: New file.
8235 2004-03-19  Mark Wielaard  <mark@klomp.org>
8237         Reported by Stephen Crawley
8238         * java/io/FilePermission.java (implies): Use String.length() -1 to
8239         access last char of String.
8241 2004-03-19  Michael Koch  <konqueror@gmx.de>
8243         * java/awt/image/AffineTransformOp.java
8244         (AffineTransformOp): Made public.
8245         * javax/swing/JComponent.java
8246         (listenerList): Made protected.
8247         (accessibleContext): Likewise.
8248         * javax/swing/JList.java
8249         (valueChanged): Dont use internal fields of ListSelectionEvent.
8250         * javax/swing/JViewport.java
8251         (getView): Dont use internal fields of Component.
8252         (addImpl): Likewise.
8253         * javax/swing/Timer.java
8254         (isRunning): Made public.
8255         (start): Likewise.
8256         (stop): Likewise.
8257         * javax/swing/UIDefaults.java
8258         (getInt): Made public.
8259         * javax/swing/plaf/basic/BasicListUI.java
8260         (mousePressed): Dont use internal fields of MouseEvent.
8261         (propertyChanged): Dont use internal fields of PropertyChangeEvent.
8262         * javax/swing/plaf/basic/BasicScrollBarUI.java
8263         (arrowIcon): Made static.
8264         * javax/swing/plaf/basic/BasicViewportUI.java
8265         (stateChanged): Dont use internal field on ChangeEvent.
8266         * javax/swing/text/JTextComponent.java
8267         (getUI): Call UIManager.getUI().
8268         (updateUI): Use getUI().
8270 2004-03-19  Rainer Orth  <ro@TechFak.Uni-Bielefeld.DE>
8272         * verify.cc: Undef PC.
8274 2004-03-18  Michael Koch  <konqueror@gmx.de>
8276         * java/nio/channels/spi/AbstractSelectableChannel.java
8277         (keys): Initialize at declaration.
8278         (locate): keys cant be null.
8279         (add): Removed.
8280         (addSelectionKey): New method.
8281         (removeSelectionKey): New method.
8282         * java/nio/channels/spi/AbstractSelectionKey.java
8283         (cancel): Call AbstractSelector.cancelKey(SelectionKey key).
8284         * java/nio/channels/spi/AbstractSelector.java
8285         (provider): Javadoc added.
8286         (cancelledKeys): Javadoc added.
8287         (cancelKey): Javadoc added, add key to cancelledKeys.
8288         (deregister): Implemented.
8290 2004-03-18  Rainer Orth  <ro@TechFak.Uni-Bielefeld.DE>
8292         * gnu/java/nio/channels/natFileChannelPosix.cc (mapImpl): Cast
8293         MAP_FAILED to void *.
8295 2004-03-12  Graydon Hoare  <graydon@redhat.com>
8297         * gnu/java/awt/peer/gtk/GdkGraphics2D.java: Clipping fixes.
8298         * javax/swing/JComponent.java (paint): Use persistent double buffer. 
8299         * javax/swing/JList.java (ListListener): Revalidate on changes.
8300         * javax/swing/JScrollPane.java: Reimplement.
8301         * javax/swing/JViewport.java: Reimplement.
8302         * javax/swing/ScrollPaneLayout.java: Reimplement.
8303         * javax/swing/ViewportLayout.java: Tidy up.
8304         * javax/swing/plaf/basic/BasicButtonListener.java: Remove printlns.
8305         * javax/swing/plaf/basic/BasicScrollPaneUI.java: Reimplement.
8306         * javax/swing/plaf/basic/BasicSliderUI.java: Handle missing labels.
8307         * javax/swing/plaf/basic/BasicViewportUI.java: Implement in terms of
8308         backing store only.
8310 2004-03-11  Thomas Fitzsimmons  <fitzsim@redhat.com>
8312         * jni/gtk-peer/gnu_java_awt_peer_gtk_GtkWindowPeer.c
8313         (window_wm_protocols_filter): New function.
8314         (window_focus_in_cb): Remove function.
8315         (window_focus_out_cb): Likewise.
8316         (window_focus_or_active_state_change_cb): New function.
8317         (create): Add filter that removes WM_TAKE_FOCUS client messages.
8318         (connectSignals): Don't attach handlers to focus-in-event or
8319         focus-out-event signals.  Handle notify signal.
8321 2004-03-11  David Jee  <djee@redhat.com>
8323         * gnu/java/awt/peer/gtk/GtkCheckboxPeer.java
8324         (gtkSetLabel): New native method declaration.
8325         (setLabel): Use gtkSetLabel.
8326         * jni/gtk-peer/gnu_java_awt_peer_gtk_GtkCheckboxPeer.c
8327         (Java_gnu_java_awt_peer_gtk_GtkCheckboxPeer_gtkSetLabel): New method.
8329 2004-03-10  Thomas Fitzsimmons  <fitzsim@redhat.com>
8331         * gnu/java/awt/peer/gtk/GdkGraphics.java (setColor): Default to
8332         black when color argument is null.
8334 2004-03-10  Kim Ho  <kho@redhat.com>
8336         * java/awt/Container.java: Remove check
8337         for drag events.
8339 2004-03-10  Kim Ho  <kho@redhat.com>
8341         * java/awt/Container.java: (visitChild):
8342         Remove candidate clip. Use the component
8343         clip to intersect.
8344         * gnu/java/awt/peer/gtk/GtkComponentPeer.java:
8345         (handleEvent): Use the PaintEvent's clip.
8347 2004-03-10  Kim Ho  <kho@redhat.com>
8349         * gnu/java/awt/peer/gtk/GtkComponentPeer.java:
8350         (handleEvent): Don't set the clip for the
8351         Graphics object.
8353 2004-03-09  Graydon Hoare  <graydon@redhat.com>
8355         * jni/gtk-peer/gnu_java_awt_peer_gtk_GdkGlyphVector.c: 
8356         Fix double <-> fixed macros, reset font transform.
8357         * jni/gtk-peer/gnu_java_awt_peer_gtk_GdkClasspathFontPeerMetrics.c:
8358         Likewise.
8360 2004-03-09  Kim Ho  <kho@redhat.com>
8362         * java/awt/Container.java: (visitChild): Move
8363         the x and y coordinate of the component rectangle
8364         to correct position.
8365         (handleEvent): Forward drag events to the pressed
8366         component.
8367         * javax/swing/plaf/basic/BasicScrollBarUI.java:
8368         Fix comments.
8369         (ArrowButtonListener::mousePressed): Stop the
8370         existing timer.
8371         (mouseDragged): Implement.
8372         (TrackListener::mousePressed): Only react if
8373         the press doesn't occur on the thumb, otherwise
8374         just set the offset.
8375         (TrackListener::mouseReleased): Unset the isAdjusting
8376         value.
8377         (createIncreaseIcon): Switch icon.
8378         (createDecreaseIcon): Switch icon.
8379         (calculatePreferredSize): Use width.
8380         (getThumbBounds): Use the top as the lower value.
8381         (layoutVScrollBar): Switch the button locations.
8382         (paintIncreaseHighlight): Paint correct side of thumb.
8383         (paintDecreaseHighlight): ditto.
8384         (valueForYPosition): Use top as the lower value.
8385         * javax/swing/plaf/basic/BasicSliderUI.java:
8386         Fix comments.
8387         (mouseDragged): Implement.
8388         (mousePressed): Only react when the thumb isn't
8389         pressed, otherwise just set offset.
8390         (mouseReleased): Handle a release of the thumb.
8391         (scrollDueToClickInTrack): Stop the timer first.
8392         * javax/swing/JProgressBar.java:
8393         (setString): Fix change condition.
8394         * javax/swing/JSeparator.java:
8395         Remove println's.
8397 2004-03-08  David Jee  <djee@redhat.com>
8399         * java/awt/image/AffineTransformOp.java:
8400         (filter): Use Graphics2D interface instead of directly using the
8401         GdkGraphics2D peer.
8403 2004-03-05  David Jee  <djee@redhat.com>
8405         * gnu/java/awt/peer/gtk/GtkButtonPeer.java
8406         (handleEvent): Action events are generated upon MOUSE_RELEASED.
8407         * java/awt/Container.java
8408         (acquireComponentForMouseEvent): Fixed.
8409         (handleEvent): Fixed.
8410         * jni/gtk-peer/gnu_java_awt_peer_gtk_GtkEvents.c
8411         (state_to_awt_mods_with_button_states): New method.
8412         (pre_event_handler): Fixed mouse event generation.
8414 2004-03-05  Olga Rodimina  <rodimina@redhat.com>
8416         gnu/java/awt/peer/gtk/GdkGraphics2D.java
8417         (GdkGraphics2D (BufferedImage)): Initialize
8418         pixmap associated with specified BufferedImage.
8419         (setPaint): Changed implementation of Texture
8420         Paint to use AffineTransformOp.
8421         * java/awt/image/AffineTransformOp.java
8422         (createCompatibleDestRaster): Throw RasterFormatException 
8423         if resulting width or height of raster is 0.
8425 2004-03-04  Olga Rodimina  <rodimina@redhat.com>
8427         * java/awt/image/AffineTransformOp.java:
8428         Removed unnecessary field interpolationType.
8429         Formatted some of the lines to be consistent with 
8430         the GNU style.
8431         (AffineTransformOp): Create new RenderingHints 
8432         containing specified interpolation type.
8433         (createCompatibleDestImage): Implemented.
8434         (createCompatibleDestRaster): Implemented.
8435         (filter): Implemented.
8436         (getBounds2D(BufferedImage)): Implemented.
8437         (getBounds2D(Raster)): Implemented.
8438         (getInterpolationType): Get interpolation value from 
8439         rendering hints.
8441 2004-03-04  David Jee  <djee@redhat.com>
8443         * gnu/java/awt/peer/gtk/GtkContainerPeer.java
8444         (setFont): Check if child peers are null.
8446 2004-03-04  Graydon Hoare  <graydon@redhat.com>
8448         * testsuite/lib/libjava.exp (libjava_find_lib): Don't include
8449         .libs in -L option.
8450         (libjava_arguments): Add new libraries to argument list.
8452 2004-03-02  Olga Rodimina  <rodimina@redhat.com>
8454         * Makefile.am: Added java/awt/image/AffineTransformOp.java
8455         * Makefile.in: Re-generated.
8456         * java/awt/image/AffineTransformOp.java: New Class.
8458 2004-03-01  Olga Rodimina  <rodimina@redhat.com>
8460         * gnu/java/awt/peer/gtk/GdkGraphics2D.java
8461         (setPaint): Interpret correctly TexturePaint's
8462         anchor rectangle.
8463         (drawImage): Fixed scale factors of the affine
8464         transform.
8466 2004-02-27  David Jee  <djee@redhat.com>
8468         * gnu/java/awt/peer/gtk/GdkGraphics.java
8469         (GdkGraphics(Component)): Inherit font from component.
8470         (drawString): Use font style.
8471         * gnu/java/awt/peer/gtk/GtkCheckboxPeer.java
8472         (gtkSetFont): New native method declaration.
8473         (setFont): New method.
8474         * gnu/java/awt/peer/gtk/GtkComponentPeer.java
8475         (gtkSetFont): New native method declaration.
8476         (setFont): Call new native method gtkSetFont.
8477         * gnu/java/awt/peer/gtk/GtkContainerPeer.java
8478         (setFont): For all child components who do not their fonts set,
8479         set their peers' fonts with this container's font.
8480         * gnu/java/awt/peer/gtk/GtkLabelPeer.java:
8481         Move all native method declarations to the top for readability.
8482         (gtkSetFont): New native method declaration.
8483         (setFont): New method.
8484         * java/awt/Component.java
8485         (setFont): Invalidate after setting the font.
8486         * java/awt/Container.java
8487         (invalidateTree): New method.
8488         (setFont): Invalidate the container tree after setting the font.
8489         * jni/gtk-peer/gnu_java_awt_peer_gtk_GdkGraphics.c
8490         (Java_gnu_java_awt_peer_gtk_GdkGraphics_drawString): Use font style.
8491         * jni/gtk-peer/gnu_java_awt_peer_gtk_GtkCheckboxPeer.c
8492         (Java_gnu_java_awt_peer_gtk_GtkCheckboxPeer_gtkSetFont): New method.
8493         * jni/gtk-peer/gnu_java_awt_peer_gtk_GtkComponentPeer.c
8494         (Java_gnu_java_awt_peer_gtk_GtkComponentPeer_gtkSetFont): New method.
8495         * jni/gtk-peer/gnu_java_awt_peer_gtk_GtkLabelPeer.c
8496         (Java_gnu_java_awt_peer_gtk_GtkLabelPeer_gtkSetFont): New method.
8498 2004-02-27  Olga Rodimina <rodimina@redhat.com>
8500         * gnu/java/awt/peer/gtk/GdkGraphics2D.java
8501         (updateBufferedImage): New helper function.
8502         Updates BufferedImage in memory if it was changed.
8503         (draw): changed to update BufferedImage in memory after
8504         this drawing operation
8505         (fill): Ditto.
8506         (draw3DRect): Ditto.
8507         (fill3DRect): Ditto.
8508         (clearRect): Ditto.
8509         (drawRaster): Ditto.
8510         (drawImage) : Ditto. Update only in case of GtkOffScreenImage with 
8511         no affine transformation.
8512         (drawGlyphVector): Ditto.
8514 2004-02-26  Olga Rodimina <rodimina@redhat.com>
8516         * gnu/java/awt/peer/gtk/GdkGraphics2D.java
8517         (isBufferedImageGraphics): New Helper function. 
8518         Returns true if this graphics2d can be used to draw 
8519         into buffered image and false otherwise.
8520         (updateImagePixels): New Helper function. 
8521         Updates pixels in the BufferedImage.
8522         * jni/gtk-peer/gnu_java_awt_peer_gtk_GdkGraphics2D.c
8523         (getImagePixels): New function. Returns pixels
8524         of the buffered image associated with 
8525         this Graphics2D.
8527 2004-02-26  David Jee  <djee@redhat.com>
8529         * java/awt/BorderLayout.java
8530         (layoutContainer): Fix width and height calculations to ensure
8531         that they're non-negative.
8532         * java/awt/Component.java
8533         (setBackground): If c is null, inherit from closest ancestor whose
8534         background color is set.
8536 2004-02-26  Kim Ho  <kho@redhat.com>
8538         * Makefile.am: Add new files.
8539         * Makefile.in: Re-generate.
8540         * javax/swing/JProgressBar.java: 
8541         (JProgressBar(int, int int)): Throw
8542         IllegalArgumentException if orientation is
8543         invalid.
8544         (JProgressBar(BoundedRangeModel)): Create
8545         ChangeListener and register it. UpdateUI.
8546         (getChangeListeners): Implement.
8547         (setModel): Reset ChangeListener.
8548         * javax/swing/JScrollBar.java: Implement.
8549         * javax/swing/JSeparator.java: Implement.
8550         * javax/swing/JSlider.java:
8551         (JSlider(int, int, int, int)): Throw 
8552         IllegalArgumentException if orientation
8553         is invalid.
8554         (getChangeListeners): Fix method name.
8555         * javax/swing/SwingUtilities.java:
8556         (layoutCompoundLabel): If there is no text,
8557         set the text rectangle dimensions to 0.
8558         * javax/swing/plaf/basic/BasicButtonUI.java:
8559         (paint): If there is no text, don't paint it.
8560         * javax/swing/plaf/basic/BasicScrollBarUI.java:
8561         Implement.
8562         * javax/swing/plaf/basic/BasicSeparatorUI.java:
8563         Implement.
8564         * javax/swing/plaf/basic/BasicSliderUI.java: 
8565         (propertyChange): If the model changes, change
8566         the listeners accordingly.
8568 2004-02-25  Graydon Hoare  <graydon@redhat.com>
8570         * javax/swing/AbstractButton.java: Add "final" qualifiers.
8571         * javax/swing/JList.java: Reimplement.
8572         * javax/swing/DefaultListSelectionModel.java: Reimplement.
8573         * javax/swing/plaf/basic/BasicListUI.java: Reimplement.
8574         * javax/swing/plaf/basic/BasicLookAndFeel.java: Add "purple" values.
8575         * javax/swing/ListModel.java: Javadoc.
8576         * javax/swing/ListSelectionModel.java: Add missing methods.
8577         * javax/swing/AbstractListModel.java: Javadoc and corrections.
8578         * javax/swing/DefaultListModel.java: Javadoc and corrections.
8579         * javax/swing/ListModel.java: Javadoc and corrections.
8580         * javax/swing/DefaultListCellRenderer.java: Minor tidying.
8582 2004-02-25  David Jee  <djee@redhat.com>
8584         * gnu/java/awt/peer/gtk/GtkFontPeer.java
8585         (GtkFontPeer): Change default size to 12.
8586         * gnu/java/awt/peer/gtk/GtkToolkit.java
8587         (getFontPeer): Change default size to 12.
8588         (getClasspathFontPeer): Likewise. Set default name to "Default".
8589         * java/awt/Font.java
8590         (Font(Map)): Call Font(String,Map).
8591         (Font(String,Map)): If attrs is null, initialize it as an empty
8592         HashMap, which will ensure that the Font will get default attributes.
8594 2004-02-25  David Jee  <djee@redhat.com>
8596         * gnu/java/awt/peer/gtk/GtkFontPeer.java
8597         (GtkFontPeer(String,int)): Call the new constructor with size 1.
8598         (GtkFontPeer(String,int,int)): New constructor with size attribute.
8599         * gnu/java/awt/peer/gtk/GtkToolkit.java
8600         (getFontPeer(String,int)): Call the new overload method with size 1.
8601         (getFontPeer(String,int,int)): New method. Overloaded with size
8602         attribute.
8603         (getClasspathFontPeer): Set the size of the font.
8605 2004-02-24  Olga Rodimina  <rodimina@redhat.com>
8607         * gnu/java/awt/peer/gtk/GdkGraphics2D.java
8608         (bimage): New field.
8609         (GdkGraphics2D): New Constructor. Constructs Graphics
8610         object that can be used to draw into the Buffered Image.
8611         * gnu/java/awt/peer/gtk/GdkGraphicsEnvironment.java:
8612         (GdkGraphicsEnvironment): Fixed to include public 
8613         keyword.
8614         (createGraphics): Implemented.
8615         * gnu/java/awt/peer/gtk/GtkToolkit.java
8616         (getLocalGraphicsEnvironment): Implemented.
8617         * java/awt/GraphicsEnvironment.java:
8618         (getLocalGraphicsEnvironment): Implemented.
8619         * java/awt/image/BufferedImage.java:
8620         (createGraphics): Implemented.
8621                 
8622 2004-02-24  David Jee  <djee@redhat.com>
8624         * java/awt/Component.java
8625         (eventTypeEnabled): Add MOUSE_MOVED and MOUSE_DRAGGED event types.
8626         * java/awt/Container.java
8627         (addNotifyContainerChildren): Fix event enabling.
8629 2004-02-23  Olga Rodimina  <rodimina@redhat.com>
8631         * Makefile.am: Added 
8632         gnu/java/awt/peer/gtk/GdkGraphicsEnvironment.java
8633         * Makefile.in: Re-generated.
8634         * gnu/java/awt/peer/gtk/GdkGraphicsEnvironment.java:
8635         New Class. 
8636         
8637 2004-02-19  Kim Ho  <kho@redhat.com>
8639         * Makefile.am: Add BasicProgressBarUI
8640         * Makefile.in: Regenerate.
8641         * javax/swing/JProgressBar.java: 
8642         Re-implement.
8643         * javax/swing/plaf/basic/BasicLookAndFeel.java
8644         Add constants for JProgressBar.
8645         * javax/swing/plaf/basic/BasicProgressBarUI.java
8646         Implement.
8647         * javax/swing/plaf/basic/BasicSliderUI.java
8648         Change comments.
8649         (calculateGeometry): New method
8650         (paint): Remove unnecessary size calculations.
8652 2004-02-18  Olga Rodimina  <rodimina@redhat.com>
8654         * gnu/java/awt/peer/gtk/GdkGraphics2D.java
8655         (drawRaster): Fixed small error that caused
8656         imageToUser transformation to be set incorrectly.
8657         (toString): Implemented.
8659 2004-02-18  David Jee  <djee@redhat.com>
8661         * java/awt/CardLayout.java
8662         (addLayoutComponent): Show the first component added as the default.
8663         (removeLayoutComponent): After removing, show the next component.
8664         (gotoComponent): If there is only one component, show it and return.
8666 2004-02-18  Kim Ho  <kho@redhat.com>
8668         * javax/swing/JSlider.java: Re-order
8669         modifiers.
8670         * javax/swing/JLabel.java: Re-order
8671         modifiers.
8672         * javax/swing/JComponent.java: 
8673         (addPropertyChangeListener):
8674         Implement.
8675         (removePropertyChangeListener):
8676         ditto.
8677         (firePropertyChangeEvent):
8678         ditto.
8680 2004-02-17  David Jee  <djee@redhat.com>
8682         * java/awt/Component.java
8683         (show): Dispatch ComponentEvent via system event queue.
8684         (hide): Likewise.
8685         (move): Likewise.
8686         (resize): Likewise.
8687         (reshape): Likewise.
8688         * java/awt/Window.java
8689         (setBoundsCallback): Likewise.
8691 2004-02-17  David Jee  <djee@redhat.com>
8693         * jni/gtk-peer/gnu_java_awt_peer_gtk_GtkComponentPeer.c
8694         (Java_gnu_java_awt_peer_gtk_GtkComponentPeer_setNativeBounds):
8695         Use gtk_widget_set_size_request() instead of the deprecated
8696         gtk_widget_set_usize().
8698 2004-02-17  Kim Ho  <kho@redhat.com>
8700         * javax/swing/JSlider.java: Fix comments and
8701         make property strings constants.
8702         (createStandardLabels): Use the labels
8703         preferred size as bounds.
8704         * javax/swing/plaf/basic/BasicSliderUI.java
8705         Fix comments.
8706         (ScrollHandler::actionPerformed): Don't
8707         calculate the timer stop value. Let the
8708         MouseListeners find the stop location.
8709         (getPreferredHorizontalSize): Re-implement.
8710         (getPreferredVerticalSize): ditto.
8711         (getMinimumHorizontalSize): ditto.
8712         (getMinimumVerticalSize): ditto.
8713         (getPreferredSize): ditto.
8714         (getMinimumSize): ditto.
8715         (getMaximumSize): ditto.
8716         (paintTicks): Use doubles to find the
8717         tick location.
8718         (paintHorizontalLabel):  Use preferredSize
8719         as initial width and height.
8720         (paintVerticalLabel): ditto.
8722 2004-02-17  Kim Ho  <kho@redhat.com>
8724         * javax/swing/JLabel.java: Changed 
8725         property strings to constants.
8726         (DISPLAYED_MNEMONIC_INDEX_CHANGED_PROPERTY):
8727         New property.
8728         (setText): Change mnemonic index if
8729         text is too short.
8730         (setDisplayedMnemonicIndex): Fire property
8731         change event.
8732         (getDisplayedMnemonicIndex): Remove check
8733         against short text.
8735 2004-02-17 Olga Rodimina <rodimina@redhat.com>
8737         * gnu/java/awt/peer/gtk/GdkGraphics2D.java:
8738         (drawImage(img,xform,obs)): Invert xform before
8739         passing the xform to cairo.
8740         (drawImage(img,x,y,bgcolor,obs)): Implemented.
8741         (drawImage (img,x,y,w,h,bgcolor,obs)): Partly
8742         implemented.
8743         (drawImage (img,x,y,w,h,obs)): Implemented.
8744         (drawImage (img,dx1,dy1,dx2,dy2,sx1,sy1,sx2,sy2,
8745         bgcolor,obs)): Partly implemented.
8746         (drawImage (img,dx1,dy1,dx2,dy2,sx1,sy1,sx2,sy2,obs)):
8747         Implemented.
8748         * java/awt/image/BufferedImage.java:
8749         (copyData): if dest is null, create raster with same
8750         dimensions as the current image.
8752 2004-02-16  Graydon Hoare  <graydon@redhat.com>
8754         * javax/swing/plaf/basic/BasicLabelUI.java 
8755         (getPreferredSize): Use layoutCL.
8756         * javax/swing/plaf/basic/BasicGraphicsUtils.java 
8757         (getPreferredButtonSize): Start with empty view rect, layout using
8758         component's preferred alignment.
8759         * javax/swing/plaf/basic/BasicLookAndFeel.java: Add some Label and
8760         List defaults.
8762 2004-02-16  David Jee  <djee@redhat.com>
8764         * java/awt/Component.java
8765         (show): Dispatch COMPONENT_SHOWN ComponentEvent.
8766         (hide): Dispatch COMPONENT_HIDDEN ComponentEvent.
8767         (move): Erase old bounds and repaint new bounds. Dispatch
8768         COMPONENT_MOVED ComponentEvent.
8769         (resize): Erase old bounds and repaint new bounds. Dispatch
8770         COMPONENT_RESIZED ComponentEvent.
8771         (reshape): Dispatch COMPONENT_RESIZED and COMPONENT_MOVED
8772         ComponentEvents.
8773         * java/awt/Window.java
8774         (setBoundsCallback): Dispatch COMPONENT_RESIZED and COMPONENT_MOVED
8775         ComponentEvents.
8777 2004-02-16  Olga Rodimina  <rodimina@redhat.com>
8779         * gnu/java/awt/peer/gtk/GdkGraphics2D.java:
8780         (setRenderingHint): Added implementation of 
8781         Interpolation rendering hints.
8782         (setRenderingHints): Ditto.
8783         * jni/gtk-peer/gnu_java_awt_peer_gtk_GdkGraphics2D.c:
8784         (drawPixels): fixed to allow user to choose type 
8785         of filtering that should be used when displaying images.
8786         (cairoSurfaceSetFilter): New method. Sets filter type for 
8787         interpolation of pixel values.
8789 2004-02-16  David Jee  <djee@redhat.com>
8791         * java/awt/GridBagLayout.java
8792         (calcCellSizes): Rows or columns with zero sizes should still be
8793         considered for extra space distribution.
8795 2004-02-16  Kim Ho  <kho@redhat.com>
8797         * javax/swing/JLabel.java: Re-implement.
8798         * javax/swing/plaf/basic/BasicLabelUI.java
8799         Re-implement.
8800         * javax/swing/plaf/basic/BasicLookAndFeel.java:
8801         Added constant.
8803 2004-02-16  Kim Ho  <kho@redhat.com>
8805         * javax/swing/JSlider.java: Fix indentation and comments.
8806         (setModel): Remove null check to conform with Sun's.
8807         (setOrientation): Throw exception if not
8808         HORIZONTAL or VERTICAL.
8809         (getInverted): Use private variable instead of 
8810         ComponentOrientation.
8811         (setInverted): ditto.
8812         * javax/swing/plaf/basic/BasicSliderUI.java:
8813         Fix indentation and comments.
8814         (propertyChange): Remove check for inverted slider, handle
8815         in main paint.
8816         (getMinimumSize): Return preferred size.
8817         (getMaximumSize): ditto.
8818         (calculateFocusRect): Don't relocate rectangle.
8819         (drawInverted): Return XOR of the slider's inversion and 
8820         the component's orientation.
8821         (paint): Update leftToRightCache
8823 2004-02-13  David Jee  <djee@redhat.com>
8825         * java/awt/GridBagLayout.java
8826         (GetLayoutInfo): Fix weight and size distribution. Relocate repeated
8827         code to helper methods.
8828         (sortBySpan): New helper method.
8829         (distributeSizeAndWeight): Likewise.
8830         (calcCellWeights): Likewise.
8831         (calcCellSizes): Add comments.
8833 2004-02-13  David Jee  <djee@redhat.com>
8835         * java/awt/Component.java
8836         (show): Only do something if component is invisible at the moment.
8837         (hide): Only do something if component is visible at the moment.
8838         (reshape): If lightweight, erase old bounds and repaint new bounds.
8840 2004-02-13  Kim Ho  <kho@redhat.com>
8842         * Makefile.am: Updated for new file.
8843         * Makefile.in: Regenerated.
8844         * javax/swing/JSlider.java: Reimplement.
8845         * javax/swing/SwingUtilities.java
8846         (layoutCompoundLabel): Use icon height
8847         instead of width.
8848         (paintComponent): Implement.
8849         * javax/swing/plaf/basic/BasicLookAndFeel.java:
8850         Add JSlider defaults.
8851         * javax/swing/plaf/basic/BasicSliderUI.java:
8852         Implement. New file.
8854 2004-03-17  Michael Koch  <konqueror@gmx.de>
8856         * gnu/java/net/PlainDatagramSocketImpl.java
8857         (RECEIVE_LOCK): New member field.
8858         (SEND_LOCK): New member field.
8859         (send0): New method.
8860         (send): Synchronize on SEND_LOCK.
8861         (receive0): New method.
8862         (receive): Synchronize on RECEIVE_LOCK.
8863         * gnu/java/net/natPlainDatagramSocketImplNoNet.cc,
8864         gnu/java/net/natPlainDatagramSocketImplPosix.cc,
8865         gnu/java/net/natPlainDatagramSocketImplWin32.cc
8866         (send0): Renamed from send.
8867         (receive0): Renamed from receive.
8868 2004-03-17  Michael Koch  <konqueror@gmx.de>
8870         * gnu/java/net/natPlainSocketImplPosix.cc
8871         (write): Just call write(jbyteArray, offset, len).
8872         (read): Just call read(jbyteArray, offset, len).
8874 2004-03-16  Michael Koch  <konqueror@gmx.de>
8876         * javax/swing/JTabbedPane.java
8877         (serialVersionUID): New field.
8879 2004-03-16  Norbert Frese  <postfach@nfrese.net>
8881         * java/net/InetAddress.java
8882         (getByName): Handle hostname == "" case.
8884 2004-03-16  Dalibor Topic  <robilad@kaffe.org>
8886         Reported by: Adam Heath <doogie@debian.org>
8887         * gnu/javax/rmi/CORBA/DelegateFactory.java (getInstance): Use context
8888         class loader.
8890 2004-03-15  Michael Koch  <konqueror@gmx.de>
8892         * java/util/Locale.java: Reverting my last patch
8893         and add a comment why the original version was okay.
8895 2004-03-14  Andreas Tobler <a.tobler@schweiz.ch>
8897         * gnu/java/nio/channels/natFileChannelPosix.cc: Implement
8898         munmap_adaptor and msync_adaptor for older POSIX_C_SOURCES specs.
8899         (MappedByteBufferImpl::unmapImpl): Use munmap_adaptor.
8900         (MappedByteBufferImpl::forceImpl): Use msync_adptor.
8902 2004-03-12  Michael Koch  <konqueror@gmx.de>
8904         * java/text/DateFormatSymbols.java: Fixed file name in copyright.
8906 2004-03-12  Ito Kazumitsu  <ito.kazumitsu@hitachi-cable.co.jp>
8908         * java/net/URI.java (toURL): Implemented.
8910 2004-03-12  Ito Kazumitsu  <ito.kazumitsu@hitachi-cable.co.jp>
8912         * java/net/URI.java
8913         (URI_REGEXP) updated to contain scheme specific part.
8914         (SCHEME_SPEC_PART_GROUP) new constant.
8915         (AUTHORITY_GROUP, PATH_GROUP, QUERY_GROUP, FRAGMENT_GROUP)
8916         updated to make room for SCHEME_SPEC_PART_GROUP.
8917         (parseURI) parse scheme specific part.
8918         (resolve, isAbsolute, isOpaque, getRawSchemeSpecificPart,
8919         getSchemeSpecificPart, getAuthority, getUserInfo, getPath,
8920         getQuery, getFragment) implemented.
8922 2004-03-12  Dalibor Topic  <robilad@kaffe.org>
8924         * libraries/javalib/java/net/URI.java
8925         partially implemented using java.util.regex.
8926         (URI_REGEXP) new constant. Used to parse URIs.
8927         (SCHEME_GROUP) new constant representing index of scheme group
8928         in parsed URI.
8929         (AUTHORITY_GROUP) new constant representing index of authority
8930         group in parsed URI.
8931         (PATH_GROUP) new constant representing index of path group in
8932         parsed URI.
8933         (QUERY_GROUP) new constant representing index of query group in
8934         parsed URI.
8935         (FRAGMENT_GROUP) new constant representing index of fragment
8936         group in parsed URI.
8937         (getURIGroup) new static utility method.
8938         (parseURI) implemented.
8939         (quote) stub for new static utility method.
8940         (quoteAuthority) stub for new static utility method.
8941         (quoteHost) stub for new static utility method.
8942         (quotePath) stub for new static utility method.
8943         (quoteUserInfo) stub for new static utility method.
8944         (URI) implemented.
8945         (create) don't throw URISyntaxException. Implemented.
8946         (toString) implemented.
8948 2004-03-12  Michael Koch  <konqueror@gmx.de>
8950         * java/net/HttpURLConnection.java
8951         (getResponseCode): Fix another typo in javadoc.
8953 2004-03-11  Michael Koch  <konqueror@gmx.de>
8955         * java/util/logging/Level.java
8956         (parse): Use String.equals() instead of ==.
8958 2004-03-11  Michael Koch  <konqueror@gmx.de>
8960         * gnu/java/net/protocol/jar/Connection.java
8961         (getContentLength): New method.
8963 2004-03-11  Michael Koch  <konqueror@gmx.de>
8965         * gnu/java/net/PlainSocketImpl.java:
8966         Reformated to merge better with classpath's version.
8968 2004-03-11  Michael Koch  <konqueror@gmx.de>
8970         * java/util/Locale.java
8971         (getISO3Language): Use String.equals() instead of ==.
8972         (getISO3Country): Likewise.
8974 2004-03-11  Dalibor Topic  <robilad@kaffe.org>
8976         * java/text/AttributedString.java
8977         (addAttribute(AttributedCharacterIterator.Attribute,Object,int,int)):
8978         Use HashMap instead of Hashtable since value can be null, and
8979         you can not store a null value in a Hashtable.
8981 2004-03-11  Guilhem Lavaux <guilhem@kaffe.org>
8983         * java/text/AttributedStringIterator.java
8984         (getAllAttributesKey): Return only keys concerned
8985         by the current iterator.
8986         (getAttributes): Use strict inequality for
8987         end_index. 
8989 2004-03-11  Michael Koch  <konqueror@gmx.de>
8991         * java/net/HttpURLConnection.java:
8992         Fixed typo in javadoc.
8994 2004-03-11  Guilhem Lavaux  <guilhem@kaffe.org>
8996         * java/io/BufferedInputStream.java (marktarget): New field for max
8997         mark limit.
8998         (CHUNKSIZE): New constant for incremental mark buffer allocation.
8999         (mark): Use new fields.
9000         (read): Likewise.
9001         (read(byte[],int,int)): Likewise.
9002         (skip): Likewise.
9003         (refill): Likewise.
9005 2004-03-11  Mark Wielaard  <mark@klomp.org>
9007         * java/beans/BeanDescriptor.java (BeanDescriptor):
9008         Set the FeatureDescriptor programmatic name.
9010 2004-03-11  Michael Koch  <konqueror@gmx.de>
9012         * gnu/java/nio/channels/natFileChannelEcos.cc: Totally reworked.
9013         This file was was just copied form java/io/natFileDescriptorEcos.cc
9014         and never changed to compile correctly.
9016 2004-03-11  Michael Koch  <konqueror@gmx.de>
9018         * gnu/java/nio/PipeImpl.java
9019         (SourceChannelImpl): Made final.
9020         (read): Implemented.
9021         (SinkChannelImpl): Made final.
9022         (write): Implemented.
9024 2004-03-11  Michael Koch  <konqueror@gmx.de>
9026         * gnu/java/net/PlainDatagramSocketImpl.java:
9027         Reformated to match classpath's version more.
9029 2004-03-11  Michael Koch  <konqueror@gmx.de>
9031         * gnu/java/awt/peer/ClasspathFontPeer.java:
9032         Fixed javadoc to be correct xhtml.
9033         * gnu/java/awt/peer/gtk/GtkArgList.java
9034         (add): Use Boolean.valueOf() instead of new Boolean().
9036 2004-03-09  Michael Koch  <konqueror@gmx.de>
9038         * java/lang/Thread.java
9039         (runnable): Moved around.
9040         (daemon): Renamed from daemon_flag.
9041         (contextClassLoader): Renamed from context_class_loader.
9042         (Thread): Reordered constructors.
9043         (activeCount): Use group directly.
9044         (destroy): Make it a java method. Throw NoSuchMethodError like Sun does.
9045         (holdsLock): Reworked javadoc.
9046         (setDaemon): Reworked.
9047         * java/lang/natThread.cc
9048         (destroy): Removed.
9050 2004-03-08  Anthony Green  <green@redhat.com>
9052         * Makefile.am: Build property resource files into libgcj.
9053         * Makefile.in: Rebuilt.
9054         * java/util/regex/Matcher.java, java/util/regex/Pattern.java,
9055         java/util/regex/PatternSyntaxException.java,
9056         gnu/regexp/CharIndexed.java,
9057         gnu/regexp/CharIndexedCharArray.java,
9058         gnu/regexp/CharIndexedInputStream.java,
9059         gnu/regexp/CharIndexedReader.java,
9060         gnu/regexp/CharIndexedString.java,
9061         gnu/regexp/CharIndexedStringBuffer.java, gnu/regexp/RE.java,
9062         gnu/regexp/REException.java,
9063         gnu/regexp/REFilterInputStream.java,
9064         gnu/regexp/REFilterReader.java, gnu/regexp/REMatch.java,
9065         gnu/regexp/REMatchEnumeration.java, gnu/regexp/RESyntax.java,
9066         gnu/regexp/REToken.java, gnu/regexp/RETokenAny.java,
9067         gnu/regexp/RETokenBackRef.java, gnu/regexp/RETokenChar.java,
9068         gnu/regexp/RETokenEnd.java, gnu/regexp/RETokenEndSub.java,
9069         gnu/regexp/RETokenLookAhead.java,
9070         gnu/regexp/RETokenOneOf.java, gnu/regexp/RETokenPOSIX.java,
9071         gnu/regexp/RETokenRange.java, gnu/regexp/RETokenRepeated.java,
9072         gnu/regexp/RETokenStart.java,
9073         gnu/regexp/RETokenWordBoundary.java,
9074         gnu/regexp/UncheckedRE.java: Files merged from GNU Classpath.
9076 2004-03-03  Per Bothner  <per@bothner.com>
9078         * java/nio/channels/Channels.java (newInputStream, newOutputStream):
9079         Optimize when argument is a FileChannelImpl.
9080         (newInputStream(FileChannelImpl), newOutputStream(FileChannelImpl)):
9081         New native methods.
9082         * java/nio/channels/natChannels.cc:  New file for new native methods.
9083         * Makefile.am:  Update accordingly.
9085 2004-03-02  Jan Hubicka  <jh@suse.cz>
9087         * configure.host: Pass -fno-omit-frame-pointer for i386.
9088         * configure.in: Likewise.
9089         * configure: Regenerate.
9091 2004-03-01  Per Bothner  <per@bothner.com>
9093         * java/lang/natPosixProcess.cc (startProcess):  Fix thinko.
9095 2004-02-29  Per Bothner  <per@bothner.com>
9097         * java/nio/channels/FileChannelImpl.java:  Moved to package
9098         gnu/java/nio/channels, since we need to refer to it from java.io.
9099         * java/nio/channels/natFileChannelImpl.cc:  Removed file.
9100         * gnu/java/nio/channels/FileChannelImpl.java:  New class, renamed
9101         from java/nio/channels.  Don't depend on FileDescriptor.
9102         (in, out, err):  New static fields.
9103         (mode):  New field.
9104         (SET, CUR, READ, WRITE, APPEND, EXCL, SYNC, DSYNC):  Moved constants
9105         from FileDescriptor.
9106         (by):  Removed MappedByteBuffer field.
9107         (map):  New working implementation.
9108         * gnu/java/nio/channels/natFileChannelPosix.cc:  New file, though
9109         some code "ported" from natFileDescriptoPosix.cc.
9110         * gnu/java/nio/channels/natFileChannelEcos.cc:  Likewise.
9111         * gnu/java/nio/channels/natFileChannelWin32.cc  Likewise.
9112         * java/io/FileDescriptor.java:  Implement on top of FileChannel.
9113         Remove native methods.
9114         * Makefile.am, configure.in:  Updated accordingly.
9116         * gnu/java/nio/FileLockImpl.java (fd):  Remove field, replacing it by:
9117         (ch):  New FileChannelImpl field.  Update constructor to match.
9118         (releaseImpl):  Remove native method.  Instead ...
9119         (release):  Call unlock on channel.
9120         * gnu/java/nio/natFileLockImpl.cc:  Removed file.
9122         * java/io/natFileDescriptorEcos.cc:  Remove file.
9123         * java/io/natFileDescriptorPosix.cc:  Remove file.
9124         * java/io/natFileDescriptorWin32.cc:  Remove file.
9125         * java/io/FileInputStream.java (ch):  Change type to FileChannelImpl.
9126         (<init>(File)):  Allocate a FileChannelImpl, not a FileDescriptor.
9127         (<init>(FileChannelImpl)):  New package-private constructor.
9128         (<init>(FileDescriptor)):  Extract FileChannelImpl from arg.
9129         (available, close, read, skip):  Implement using FileChannelImpl.
9130         (getFD):  Allocate FileDescriptor if needed.
9131         (getChannel):  Is now trivial.
9132         * java/io/FileOutputStream.java:  Corresponding changes.
9133         * java/io/RandomAccessFile.java:  Corresponding changes.
9135         * java/nio/MappedByteBuffer.java: (forceImpl, isLoadedImpl, loadImpl,
9136         unmapImpl):  New dummy methods, to be overridden by subclass.
9137         (finalize, isLoaded, load, force):  New methods.
9138         * java/nio/MappedByteBufferImpl.java:  More-or-less rewrite.
9139         Now works, at least for read mapping.
9141         * java/lang/natPosixProcess.cc (startProcess):  Implement standard
9142         streams using FileChannelImpl, not FileDescriptor.
9143         * java/lang/natWin32Process.cc (startProcess):  Likewise.
9145 2004-02-28  Michael Koch  <konqueror@gmx.de>
9147         * java/io/ObjectInputStream.java: Compile fix, damn I commited the
9148         wrong code.
9150 2004-02-28  Guilhem Lavaux <guilhem@kaffe.org>
9152         * java/io/ObjectInputStream.java
9153         (readClassDescriptor): Keep elements of the mapping non null.
9154         (checkTypeConsistency): New method.
9155         (readFields): Fixed main loop and base logic. Small reindentation.
9156         * java/io/ObjectStreamField.java
9157         (lookupField): New method to update the field reference.
9158         (checkFieldType): New method.
9159         * java/io/ObjectStreamClass.java
9160         (setClass, setFields): Call lookupField when building the field
9161         database. Check the real field type.
9163 2004-02-28  Michael Koch  <konqueror@gmx.de>
9165         * java/nio/ByteOrder.java
9166         (nativeOrder): Use equals() to compare strings.
9168 2004-02-26  Michael Koch  <konqueror@gmx.de>
9170         * gnu/java/nio/FileLockImpl.java
9171         (finalize): Made protected.
9172         * java/nio/channels/FileChannel.java
9173         (MapMode.READ_ONLY): Made final.
9174         (MapMode.READ_WRITE): Made final.
9175         (MapMode.PRIVATE): Made final.
9176         * java/nio/channels/SocketChannel.java
9177         (open): Simplified code.
9178         * java/nio/channels/spi/AbstractSelectableChannel.java
9179         (registered): Unused, removed.
9180         (keyFor): Check channel is open, only locate key
9181         and not add a new one.
9182         (register): Don't delete attachments.
9184 2004-02-26  Michael Koch  <konqueror@gmx.de>
9186         * gnu/java/awt/ComponentDataBlitOp.java
9187         (INSTANCE): Made final.
9188         * gnu/java/awt/image/ImageDecoder.java:
9189         Reworked imports.
9190         (cm): Unused, removed.
9192 2004-02-26  Michael Koch  <konqueror@gmx.de>
9194         * gnu/java/nio/DatagramChannelImpl.java
9195         (send): Check if target address is resolved.
9197 2004-02-26  Michael Koch  <konqueror@gmx.de>
9199         * Makefile.am: Generate and install headers for inner classes in
9200         java.nio.channels.Pipe and gnu.java.nio.PipeImpl.
9201         * Makefile.in: Regenerated.
9203 2004-02-24  Anthony Green  <green@redhat.com>
9205         * java/lang/StringBuffer.java: No need to NULL out remainder of
9206         buffer since ensureCapacity_unsynchronized will have done this for
9207         us.
9209 2004-02-20  Michael Koch  <konqueror@gmx.de>
9211         * gnu/java/net/protocol/jar/Handler.java
9212         (): Removed unneeded check for file != null. java.net.URL.getFile()
9213         returns an empty string but never null.
9215 2004-02-20  Michael Koch  <konqueror@gmx.de>
9217         * gnu/gcj/convert/Convert.java
9218         (main): Use equals() to compare strings.
9220 2004-02-20  Michael Koch  <konqueror@gmx.de>
9222         * javax/swing/AbstractButton.java: Made several constants final.
9223         (getRolloverSelectedIcon): Made public.
9224         (getSelectedIcon): Made public.
9226 2004-02-16  Per Bothner  <per@bothner.com>
9228         * java/nio/CharBufferImpl.java:  Inline super constructor.
9229         * java/nio/DoubleBufferImpl.java:  Likewise.
9230         * java/nio/FloatBufferImpl.java:  Likewise.
9231         * java/nio/IntBufferImpl.java:  Likewise.
9232         * java/nio/LongBufferImpl.java:  Likewise.
9233         * java/nio/ShortBufferImpl.java:  Likewise.
9234         * java/nio/CharBuffer.java:  Remove unused constructor.
9235         * java/nio/DoubleBuffer.java:  Likewise.
9236         * java/nio/FloatBuffer.java:  Likewise.
9237         * java/nio/IntBuffer.java:  Likewise.
9238         * java/nio/LongBuffer.java:  Likewise.
9239         * java/nio/ShortBuffer.java:  Likewise.
9240         * java/nio/CharViewBufferImpl.java:  New convenience constructor.
9241         Fix buggy call to super constructor.
9242         * java/nio/DoubleViewBufferImpl.java:  Likewise.
9243         * java/nio/FloatViewBufferImpl.java:  Likewise.
9244         * java/nio/IntViewBufferImpl.java:  Likewise.
9245         * java/nio/LongViewBufferImpl.java:  Likewise.
9246         * java/nio/ShortViewBufferImpl.java:  Likewise.
9247         
9248         * java/nio/ByteBuffer.java (endian):  Make non-private so other
9249         java.nio classes can inherit it.
9250         (<init>):  Don't bother clearing array_offset.
9251         * java/nio/ByteBuffer.java (allocate):  Re-implement using wrap.
9252         * java/nio/ByteBuffer.java (get(byte[],int,int)):  Check underflow.
9253         Remove redundant test.
9255         * java/nio/ByteBufferImpl.java (asCharBuffer, asShortBuffer,
9256         asIntBuffer, asLongBuffer, asFloatBuffer, asDoubleBuffer):
9257         Use new XxxViewBufferImpl constructors.
9258         * java/nio/MappedByteBufferImpl.java:  Likewise.
9259         * java/nio/DirectByteBufferImpl.java:  Likewise.
9261         * java/nio/ByteBufferImpl.java:  Remove one constructor.
9262         Inline super in remaining constructor.
9263         * java/nio/ByteBuffer.java:  Remove unused constructor.
9265         * java/nio/ByteBufferImpl.java (shiftDown):  New optimized method.
9267         * java/nio/ByteBufferImpl.java (get, put):  Add array_offset.
9268         * java/nio/DirectByteBufferImpl.java (owner):  New field.
9269         (offset):  Remove unused field.
9270         (<init>):  Modify one and add another constructor.  Change callers.
9271         (allocateDirect):  Removed - not used.
9272         (getImpl, putImpl):  Make static and pass address explicitly,
9273         to make them useful for MappedByteBufferImpl.
9274         (get, put):  Check for underflow.  Modify for new getImpl.
9275         (getImpl):  New native method where target is array.
9276         (get(byte[],int,int)):  Use the above.
9277         (adjustAddress):  New static native method.
9278         (slice, duplicate, asReadOnly):  New implementations.
9279         * java/nio/natDirectByteBufferImpl.cc (getImpl, putImpl, shiftDown,
9280         adjustAddress):  New or updated native methods.
9282 2004-02-15  Ito Kazumitsu  <kaz@maczuka.gcd.org>
9284         * java/io/ObjectInputStream.java (readClassDescriptor): Avoid the
9285         overflow of fieldmapping.
9287 2004-02-14  Sascha Brawer  <brawer@dandelis.ch>
9289         * javax/swing/undo/UndoManager.java: Re-written from scratch.
9291 2004-02-14  Per Bothner  <per@bothner.com>
9293         * java/nio/channels/spi/AbstractInterruptibleChannel.java (close):
9294         Set closed before calling implCloseChannel, as in the spec.
9296 2004-02-09  Graydon Hoare  <graydon@redhat.com>
9298         * javax/swing/ToggleButtonModel.java: Remove dead class.
9299         * javax/swing/plaf/basic/BasicDefaults.java: Remove dead class.
9300         * javax/swing/plaf/basic/BasicButtonListener.java: New class.
9301         * javax/swing/plaf/basic/BasicRootPaneUI.java: New class.
9302         * Makefile.am: Update for new and removed files.
9303         * Makefile.in: Regenerate.
9305         * gnu/java/awt/peer/gtk/GdkGraphics2D.java: Initialize default hints.
9306         * javax/swing/AbstractButton.java 
9307         (AbstractButton): Initialize fields correctly in ctor.
9308         * javax/swing/JCheckbox.java 
9309         (JCheckBox): Override painting flags.
9310         * javax/swing/DefaultButtonModel.java: Conform to sun.
9311         * javax/swing/JComponent.java (paint): Fill with background color
9312         if available.
9313         (processComponentKeyEvent)
9314         (processFocusEvent)
9315         (processKeyEvent)
9316         (processMouseMotionEvent): Remove event-consuming empty methods.
9317         (getUIClassID): Return "ComponentUI" not "JComponent"
9318         * javax/swing/JFrame.java: Remove some debugging chatter.
9319         (JFrame): Subscribe to window events.
9320         * javax/swing/JRadioButton.java 
9321         (JRadioButton): Override painting flags.
9322         * javax/swing/JRootPane.java 
9323         (JRootPane): Set background from UIDefaults.
9324         * javax/swing/JToggleButton.java 
9325         (ToggleButtonModel): New inner class.
9326         (JToggleButton): Override layout alighment.
9327         * javax/swing/SwingUtilities.java:
9328         (getLocalBounds): Return width and height, not x and y.
9329         (calculateInnerArea): Use local bounds, not bounds.
9330         (layoutCompoundLabel): Provide overridden form.
9331         (layoutCompoundLabel): Correct bugs.
9332         * javax/swing/UIDefaults.java: Correct comment.
9333         * javax/swing/plaf/basic/BasicButtonUI.java: 
9334         Move most logic into defaults, external listener.
9335         (paintIcon): Implement icon painting.
9336         (paint): Fix state painting to conform to changes in model.
9337         * javax/swing/plaf/basic/BasicCheckBoxUI.java:
9338         Remove most dead/wrong methods.
9339         (getDefaultIcon): Return defaults.getIcon("CheckBox.icon").
9340         * javax/swing/plaf/basic/BasicIconFactory.java:
9341         (DummyIcon): New class.
9342         (getMenuItemCheckIcon)
9343         (getMenuItemArrowIcon) 
9344         (getMenuArrowIcon)
9345         (getCheckBoxMenuItemIcon)
9346         (getRadioButtonMenuItemIcon)
9347         (createEmptyFrameIcon): Return DummyIcons, not null.
9348         (getCheckBoxIcon): Implement an icon that looks like sun's.
9349         (getRadioButtonIcon): Implement an icon that looks like sun's.
9350         * javax/swing/plaf/basic/BasicLookAndFeel.java 
9351         (initComponentDefaults): Fix impossible values, add some missing.
9352         * javax/swing/plaf/basic/BasicPanelUI.java (gap): Remove field.
9353         * javax/swing/plaf/basic/BasicRadioButtonUI.java:
9354         Remove most dead/wrong methods.
9355         (icon): New field.
9356         (getDefaultIcon): New method.
9357         * javax/swing/plaf/basic/BasicToggleButtonUI.java:
9358         Remove most dead/wrong methods.
9359         * javax/swing/plaf/metal/MetalLookAndFeel.java
9360         (getDefaults): Return super.getDefaults(), not BasicDefaults.
9361         * jni/gtk-peer/gnu_java_awt_peer_gtk_GdkGraphics.c
9362         (Java_gnu_java_awt_peer_gtk_GdkGraphics_clearRect):
9363         Implement "clearing" as drawing, when on pixmap drawables.
9365         * javax/swing/JButton.java (getUIClassID): 
9366         * javax/swing/JCheckBox.java (getUIClassID):
9367         * javax/swing/JEditorPane.java (getUIClassID):
9368         * javax/swing/JLabel.java (getUIClassID): 
9369         * javax/swing/JList.java (getUIClassID): 
9370         * javax/swing/JOptionPane.java (getUIClassID): 
9371         * javax/swing/JPanel.java (getUIClassID): 
9372         * javax/swing/JPasswordField.java (uiClassID): 
9373         * javax/swing/JRadioButton.java (getUIClassID): 
9374         * javax/swing/JRootPane.java (getUIClassID): 
9375         * javax/swing/JScrollPane.java (getUIClassID): 
9376         * javax/swing/JTabbedPane.java (getUIClassID): 
9377         * javax/swing/JToggleButton.java (getUIClassID): 
9378         * javax/swing/JTree.java (getUIClassID): 
9379         * javax/swing/JViewport.java (getUIClassID): 
9380         * javax/swing/text/JTextComponent.java (getUIClassID):
9381         Return "fooUI" not "Jfoo"
9383 2004-02-11  Michael Koch  <konqueror@gmx.de>
9385         * java/net/DatagramSocket.java
9386         (setReuseAddress): Use Boolean.valueOf() instead of creating a new
9387         Boolean object.
9388         (setBroadcast): Likewise.
9389         * java/net/MulticastSocket.java
9390         (setLoopbackMode): Likewise.
9391         * java/net/ServerSocket.java
9392         (setReuseAddress): Likewise.
9393         * java/net/Socket.java
9394         (setTcpNoDelay): Likewise.
9395         (setSoLinger): Likewise.
9396         (setOOBInline): Likewise.
9397         (setKeepAlive): Likewise.
9398         (setReuseAddress): Likewise.
9399         * java/net/URLConnection.java
9400         (setContentHandler): Replace == with equals().
9401         * java/net/URLStreamHandler.java
9402         (hostSEquals): Fix checking host addresses.
9403         (toExternalForm): Dont check protocol for null. We know already its
9404         not null.
9406 2004-02-10  David Jee  <djee@redhat.com>
9408         * java/awt/BorderLayout.java
9409         (calcCompSize): Invisible components get zero dimensions.
9410         * java/awt/Button.java
9411         (setLabel): Set actionCommand.
9412         * java/awt/Component.java
9413         (show): Invalidate component and parent container.
9414         (hide): Likewise.
9416 2004-02-10  David Jee  <djee@redhat.com>
9418         * java/awt/GridBagLayout.java
9419         (GridBagLayout): New private field, internalcomptable.
9420         (lookupInternalConstraints): New method.
9421         (ArrangeGrid): Use components' MINSIZE. Use internalcomptable.
9422         (GetLayoutInfo): Reimplement.
9423         (calcCellSizes): Ignore rows/columns with size 0.
9425 2004-02-10  Michael Koch  <konqueror@gmx.de>
9427         * gnu/java/awt/EmbeddedWindow.java
9428         (setHandle): Use java.awt.Component.getPeer() instead of
9429         java.awt.Component.peer directly.
9431 2004-02-10  David Jee  <djee@redhat.com>
9433         * gnu/java/awt/peer/gtk/GtkButtonPeer.java
9434         (gtkSetLabel): New native method definition.
9435         (setLabel): Use gtkSetLabel.
9436         * jni/gtk-peer/gnu_java_awt_peer_gtk_GtkButtonPeer.c
9437         (Java_gnu_java_awt_peer_gtk_GtkButtonPeer_gtkSetLabel): New method.
9439 2004-02-10  Alan Modra  <amodra@bigpond.net.au>
9441         * include/powerpc-signal.h: Revert 2004-01-21 change.
9442         (INIT_SEGV, INIT_FPE): Provide powerpc64 versions.  Check return
9443         from syscall for ppc32 versions.
9445 2004-02-08  Per Bothner  <per@bothner.com>
9447         * java/nio/ByteBuffer.java (shiftDown):  New helper method.
9448         * java/nio/natDirectByteBufferImpl.cc (shiftDown):  New implementation.
9449         * java/nio/ByteBufferImpl.java (compact):  Use new shiftDown method.
9450         * sava/nio/ByteBufferHelper.java:  Remove redundant 'final' specifiers.
9451         Pass ByteOrder parameter to most methods, since the underlying
9452         ByteBuffer's order isn't always what we should use.
9453         * java/nio/ByteBufferImpl.java:  Pass byte-order various places.
9454         * java/nio/DirectByteBufferImpl.java:  Likewise.
9455         Use ByteBufferHelper methods.
9456         * java/nio/MappedByteBufferImpl.java:  Likewise.
9457         (compact):  Use shiftDown.
9458         * java/nio/CharViewBufferImpl.java (<init>):  Pass byte-order.
9459         (get, put):  Use ByteBufferHelper.
9460         (compact):  Use new shiftDown method.
9461         (duplicate(boolean)):  New helper method.
9462         (duplicate, asReadOnlyBuffer):  Use it.
9463         (order):  Return endian field.
9464         * java/nio/DoubleViewBufferImpl.java:  Likewise.
9465         * java/nio/FloatViewBufferImpl.java:  Likewise.
9466         * java/nio/IntViewBufferImpl.java:  Likewise.
9467         * java/nio/LongViewBufferImpl.java:  Likewise.
9468         * java/nio/ShortViewBufferImpl.java:  Likewise.
9469         * java/nio/CharViewBufferImpl.java (subsequence):  Redundant test.
9470         * java/nio/DirectByteBufferImpl.java (shiftDown):  New native method.
9471         (compact):  Re-implement using shiftDown.
9473 2004-02-08  Andreas Jaeger  <aj@suse.de>
9475         * include/x86_64-signal.h: Fix typo.
9477 2004-02-08  Diego Novillo  <dnovillo@redhat.com>
9479         * include/i386-signal.h (MAKE_THROW_FRAME): Add volatile
9480         qualifier to _regs.
9481         (HANDLE_DIVIDE_OVERFLOW): Likewise.
9483 2004-02-06  Michael Koch  <konqueror@gmx.de>
9485         * java/io/ObjectInputStream.java
9486         (currentClassLoader): Reverted to old version of this method.
9488 2004-02-06  Jeroen Frijters  <jeroen@frijters.net>
9490         * java/io/ObjectInputStream.java: Made all calls
9491         to dumpElement[ln] conditional on dump flag. (readObject): Changed to
9492         use cached info from ObjectStreamClass. (readClassDescriptor):
9493         Cache more information in ObjectStreamClass. (processResolution,
9494         readFields): Use cached info from ObjectStreamClass.
9495         (newObject): Throw exception instead of returning null for failure.
9496         (getField, getMethod, callReadMethod, setBooleanField, setByteField,
9497         setCharField, setDoubleField, setFloatField, setIntField,
9498         setLongField, setShortField, setObjectField, readObjectParams):
9499         Removed. (dumpElement, dumpElementln): Removed dump flag condition
9500         check.
9501         * java/io/ObjectStreamField.java (hasReadMethod): Removed.
9502         (setClass): Added call to cacheMethods() (findMethod): New method.
9503         (cacheMethods): New method. (ObjectStreamClass): Added call to
9504         cacheMethods(). (setFields): Cache fields. (getClassUID): Use
9505         AccessController.doPrivileged to invoke setAccessible.
9506         (readObjectMethod, readResolveMethod, realClassIsSerializable,
9507         realClassIsExternalizable, fieldMapping, firstNonSerializableParent):
9508         New fields.
9509         * java/io/ObjectStreamField.java (ObjectStreamField): New constructor.
9510         (ObjectStreamField): Removed FIXME workaround. (getTypeString,
9511         isPrimitive): Made safe for cases where type == null.
9512         (setBooleanField, setByteField, setCharField, setShortField,
9513         setIntField, setLongField, setFloatField, setDoubleField,
9514         setObjectField): New methods.
9516 2004-02-05  Thomas Fitzsimmons  <fitzsim@redhat.com>
9518         * java/awt/Component.java (getFont): Return a default font
9519         instead of null.
9521         * java/awt/Scrollbar.java (next_scrollbar_number): New field.
9522         (Scrollbar (int, int, int, int, int)): Make default page
9523         increment 10.
9524         (setValues): Only call peer.setValues if one of the values has
9525         changed.
9526         (generateName): New method.
9527         (getUniqueLong): New method.
9528         * jni/gtk-peer/gnu_java_awt_peer_gtk_GtkScrollBarPeer.c
9529         (range_scrollbar): Remove structure.
9530         (post_adjustment_event): Remove function.
9531         (post_change_event): Accept jobject argument.
9532         (create): Cast jints to gdoubles.  Round scrollbar values to the
9533         nearest integer.  Clamp min, max and value settings.
9534         (connectJObject): Connect hook to widget->window.
9535         (connectSignals): Remove range_scrollbar structure variables.
9536         Remove "move-slider" connection.  Pass global peer reference to
9537         "value-changed" callback.
9538         (setLineIncrement): Cast jint value to gdouble.
9539         (setPageIncrement): Likewise.
9540         (setValues): Likewise.  Clamp min, max and value settings.
9542 2004-02-05  Michael Koch  <konqueror@gmx.de>
9544         * javax/swing/AbstractCellEditor.java
9545         (getCellEditorValue): Removed.
9546         * javax/swing/Box.java: Reformated.
9547         (serialVersionUID): New field.
9548         * javax/swing/ButtonGroup.java:
9549         Removed some weird whitespace.
9550         * javax/swing/CellEditor.java: Reformated.
9551         * javax/swing/CellRendererPane.java
9552         (serialVersionUID): New field.
9553         (AccessibleCellRendererPaneserialVersionUID): New field.
9554         * javax/swing/DefaultListModel.java
9555         (serialVersionUID): New field.
9556         * javax/swing/JEditorPane.java
9557         (serialVersionUID): New field.
9558         (setPage): Throws IOException.
9559         (addHyperlinkListener): Implemented.
9560         (removeHyperlinkListener): Implemented.
9561         (getHyperlinkListener): New method.
9562         * javax/swing/JFileChooser.java
9563         (serialVersionUID): New field.
9564         (AccessibleJFileChooser.serialVersionUID): New field.
9565         (addActionListener): Implemented.
9566         (removeActionListener): Implemented.
9567         (getActionListeners): New method.
9568         * javax/swing/JFormattedTextField.java
9569         (serialVersionUID): New field.
9570         (AbstractFormatter.serialVersionUID): New field.
9571         (clone): Throws CloneNotSupportedException
9572         (setEditValid): Add missing argument.
9573         (stringToValue): Throws ParseExcpetion.
9574         (valueToString): Throws ParseException.
9575         (commitEdit): Throws ParseException.
9576         * javax/swing/JLabel.java
9577         (serialVersionUID): New field.
9578         * javax/swing/JList.java
9579         (serialVersionUID): New field.
9580         (addListSelectionListener): Reformated.
9581         (removeListSelectionListener): Reformated.
9582         (getListSelectionListeners): New method.
9583         * javax/swing/colorchooser/AbstractColorChooserPanel.java:
9584         Reformated.
9585         (serialVersionUID): New field.
9586         * javax/swing/table/AbstractTableModel.java
9587         (getValueAt): Removed.
9588         (getColumnCount): Removed.
9589         (getRowCount): Removed.
9591 2004-02-05  Michael Koch  <konqueror@gmx.de>
9593         * java/awt/datatransfer/DataFlavor.java
9594         (imageFlavor): Javadoc added.
9595         (javaJVMLocalObjectType): Fixed.
9597 2004-02-05  Michael Koch  <konqueror@gmx.de>
9599         * java/lang/Thread.java
9600         (Thread): Reordered.
9601         (setContextClassLoader): Fixed javadoc comment.
9602         (setPriority): Reordered.
9603         (yield): Reordered.
9604         (initialize_native): Reordered.
9605         (gen_name): Reordered.
9607 2004-02-05  Michael Koch  <konqueror@gmx.de>
9609         * java/lang/Thread.java: Reordered fields, reformated much code,
9610         no functional changes, some variables renamed, javadoc comments
9611         merged.
9613 2004-02-05  Michael Koch  <konqueror@gmx.de>
9615         * java/util/zip/Deflater.java,
9616         java/util/zip/DeflaterOutputStream.java,
9617         java/util/zip/GZIPInputStream.java:
9618         Reformated and javadoc comments merged from classpath.
9620 2004-02-05  Michael Koch  <konqueror@gmx.de>
9622         * gnu/java/nio/NIOServerSocket.java
9623         (impl): Unused, removed.
9624         * gnu/java/nio/SocketChannelImpl.java
9625         (finnishConnect): Don't throw NoConnectionPendingException if not
9626         connected or no connection pending.
9628 2004-02-02  Graydon Hoare  <graydon@redhat.com>
9630         * javax/swing/SwingUtilities.java: Many new functions.
9631         * java/awt/Container.java (LightweightDispatcher): Reimplement.
9632         * javax/swing/basic/BasicGraphicsUtils.java 
9633         (getPreferredButtonSize): Start layout from top-left corner.
9635 2004-02-04  Olga Rodimina  <rodimina@redhat.com>
9637         * java/awt/geom/AffineTransform.java: 
9638         Corrected comments on the field definitions for
9639         m11 and m10.
9640         (shear): Fixed few errors that caused shear
9641         transformation to be performed incorrectly.
9642         (createInverse): Fixed to return correct
9643         inverse of the given matrix.
9645 2004-02-03  Tom Tromey  <tromey@redhat.com>
9647         * java/lang/natPosixProcess.cc (startProcess): Handle case where
9648         PATH or LD_LIBRARY_PATH is not set in parent environment.
9650 2004-02-03  Thomas Fitzsimmons  <fitzsim@redhat.com>
9652         * gnu/java/awt/peer/gtk/GtkListPeer.java,
9653         java/awt/BorderLayout.java, java/awt/CardLayout.java,
9654         java/awt/CheckboxGroup.java, java/awt/Choice.java,
9655         java/awt/Component.java, java/awt/Container.java,
9656         java/awt/FontMetrics.java, java/awt/GridBagLayout.java,
9657         java/awt/LayoutManager2.java, java/awt/List.java,
9658         java/awt/Menu.java, java/awt/MenuBar.java,
9659         java/awt/MenuItem.java, java/awt/Polygon.java,
9660         java/awt/Rectangle.java, java/awt/ScrollPane.java,
9661         java/awt/Scrollbar.java, java/awt/TextArea.java,
9662         java/awt/TextField.java,
9663         java/awt/image/renderable/RenderContext.java,
9664         javax/swing/JApplet.java: Fix handling of alias methods, where a
9665         method has been deprecated in favour of a new one with the same
9666         funtion but a different name.  Put the method implementation in
9667         the deprecated method and have the new method call the
9668         deprecated one.  Make all other code call the new method.
9670 2004-02-03  Mohan Embar  <gnustuff@thisiscool.com>
9672         * gnu/java/nio/DatagramChannelImpl.java
9673         (inChannelOperation): New field.
9674         (isInChannelOperation): New accessor.
9675         (setInChannelOperation): New modifier.
9676         (receive): Use capacity() - position() of destination
9677         buffer instead of remaining(). Set and reset our "in
9678         channel operation indicator" before and after delegating
9679         the receive to our datagram socket. Removed testing code.
9680         Update destination buffer's current position if it is
9681         backed by a byte array (hasArray() is true).
9682         (send): Set and reset our "in channel operation indicator"
9683         before and after delegating the send to our datagram socket.
9684         Removed testing code. Update source buffer's current position
9685         if it is backed by a byte array (hasArray() is true).
9686         * gnu/java/nio/SocketChannelImpl.java (read(ByteBuffer)):
9687         Use capacity() - position() of destination buffer instead
9688         of remaining().
9689         * java/net/DatagramSocket.java (receive): Don't throw an
9690         IllegalBlockingModeException if we have a non-blocking
9691         channel which initiated this operation.
9692         (send): Likewise.
9694 2004-02-01  Thomas Fitzsimmons  <fitzsim@redhat.com>
9696         * configure.in: Add pkgconfig check for glib and gthread.
9697         * configure: Regenerate.
9699 2004-02-01  Michael Koch  <konqueror@gmx.de>
9701         * include/jvm.h (MAYBE_UNUSED): New macro tp mark probably unused
9702         arguments.
9703         * jni.cc (_Jv_LookupJNIMethod): Mark 'args_size' unused.
9704         * verify.cc (debug_print): Mark 'fmt' unused.
9706 2004-01-30  Michael Koch  <konqueror@gmx.de>
9708         * configure.in: Use pkg-config to check for GTK 2.2 and libart 2.1.
9709         * configure: Regenerated.
9710         * glib-2.0.m4: Removed.
9711         * gtk-2.0.m4: Removed.
9712         * libart.m4: Removed.
9713         * pkg.m4: New file.
9715 2004-01-30  Mohan Embar  <gnustuff@thisiscool.com>
9717         * gnu/java/net/PlainSocketImpl.java 
9718         (inChannelOperation): New field.
9719         (isInChannelOperation): New accessor.
9720         (setInChannelOperation): New modifier.
9721         * gnu/java/nio/ServerSocketChannelImpl.java
9722         (accept): Set and reset our server socket's PlainSocketImpl's
9723         "in channel operation" indicator before and after delegating
9724         the accept to our server socket.
9725         * gnu/java/nio/SocketChannelImpl.java
9726         (connect): Set and reset our socket's PlainSocketImpl's "in channel
9727         operation" indicator before and after delegating the operation to
9728         our socket.
9729         (read): Likewise.
9730         (write): Likewise.
9731         * java/net/ServerSocket.java (implAccept): Don't throw an
9732         IllegalBlockingModeException if we have a non-blocking
9733         channel which initiated this accept operation.
9734         * java/net/Socket.java (connect): Don't throw an
9735         IllegalBlockingModeException if we have a non-blocking
9736         channel which initiated this connect operation.
9737         * java/nio/channels/spi/AbstractSelectableChannel.java
9738         (configureBlocking): Only call implConfigureBlocking() if
9739         the desired blocking mode is different from our current one.
9741 2004-01-29  Mohan Embar  <gnustuff@thisiscool.com>
9743         * java/io/BufferedReader.java (sbuf): New field.
9744         (readLine): Use String.valueOf instead of new String() as per
9745         Per Bothner's suggestion. Use instance sbuf field instead of a
9746         local StringBuffer instance.
9747         * java/io/InputStreamReader.java (read(char[],int,int)): Pass the
9748         caller's buffer to refill().
9749         (read(void)): Pass our internal work buffer to refill if our
9750         input queue is empty.
9751         (refill): Changed return type to int. Use the specified buffer
9752         instead of our work buffer as per Bryce McKinlay's suggestion.
9753         Return the number of characters read or -1 for EOF.
9755 2004-01-29  Scott Gilbertson  <scottg@mantatest.com>
9757         * gnu/awt/xlib/XCanvasPeer.java (handleEvent): Implemented.
9759 2004-01-29  Scott Gilbertson  <scottg@mantatest.com>
9761         * Makefile.am: Added gnu/awt/xlib/XFontPeer.java.
9762         * Makefile.in: Re-generated.
9763         * gnu/awt/xlib/XFontPeer.java: New file.
9764         * gnu/awt/xlib/XGraphics.java (setFont): Test for null font.
9765         (setClip): Commented out debug printout.
9766         * gnu/awt/xlib/XToolkit.java: Change superclass to ClasspathToolkit.
9767         (getFontPeer): Return XFontPeer.
9768         (getLocalGraphicsEnvironment): New method.
9769         (getClasspathFontPeer): New method.
9770         (createFont): New method.
9772 2004-01-29  Scott Gilbertson  <scottg@mantatest.com>
9774         * gnu/java/awt/peer/ClasspathFontPeer.java (getTransform): Never
9775         return null. 
9777 2004-01-29  Kim Ho  <kho@redhat.com>
9779         * gnu/java/awt/peer/gtk/GtkFramePeer.java
9780         (gtkLayoutSetVisible): New method
9781         (setMenuBar): Hide layout before setting MenuBar
9782         and reshow it after.
9783         * jni/gtk-peer/gnu_java_awt_peer_gtk_GtkWindowPeer.c
9784         (gtkLayoutSetVisible): Hide or show the Gtk Layout.
9786 2004-01-28  Michael Koch  <konqueror@gmx.de>
9788         * gnu/java/lang/ClassHelper.java
9789         (getPackagePortion): Removed.
9791 2004-01-28  Michael Koch  <konqueror@gmx.de>
9793         * javax/swing/JComponent.java
9794         (listenerList): Initalize globally.
9795         (ancestor_list): Removed.
9796         (veto_list): Removed.
9797         (change_list): Removed.
9798         (get_veto_list): Removed.
9799         (get_change_list): Removed.
9800         (get_ancestor_list): Removed.
9801         (removeAncestorListener): Reimplemented.
9802         (removePropertyChangeListener): Likewise.
9803         (removeVetoableChangeListener): Likewise.
9804         (addAncestorListener): Likewise.
9805         (addPropertyChangeListener): Likewise.
9806         (addVetoableChangeListener): Likewise.
9807         (getListeners): New method.
9808         (getAncestorListeners): Likewise.
9809         (getVetoableChangeListeners): Likewise.
9810         (fireVetoableChange): Throws PropertyVetoException.
9811         * javax/swing/JEditorPane.java
9812         (JEditorPane): Throws IOException.
9814 2004-01-28  David Jee  <djee@redhat.com>
9816         * gnu/java/awt/peer/gtk/GtkFramePeer.java
9817         (create): Set the default foreground color to
9818         java.awt.SystemColor.windowText.
9820 2004-01-27  Michael Koch  <konqueror@gmx.de>
9822         * gnu/java/awt/peer/gtk/GdkClasspathFontPeer.java,
9823         * gnu/java/awt/peer/gtk/GdkGlyphVector.java:
9824         Reindented to merge with classpath.
9826 2004-01-27  David Jee  <djee@redhat.com>
9828         * jni/gtk-peer/gnu_java_awt_peer_gtk_GtkComponentPeer.c
9829         (addExposeFilter): Handle GtkFramePeer separately.
9830         (removeExposeFilter): Likewise.
9832 2004-01-27  Michael Koch  <konqueror@gmx.de>
9834         * gnu/java/net/protocol/http/Connection.java
9835         (getOutputStream): Fixed typo.
9837 2004-01-27  Michael Koch  <konqueror@gmx.de>
9839         * java/lang/Class.java
9840         (getConstructor): Removed SecurityException from throws clause.
9841         (_getConstructors): Likewise.
9842         (getConstructors): Likewise.
9843         (getDeclaredConstructor): Likewise.
9844         (getDeclaredClasses): Likewise.
9845         (getDeclaredConstructors): Likewise.
9846         (getDeclaredField): Likewise.
9847         (getDeclaredMethod): Likewise.
9848         (getDeclaredMethods): Likewise.
9849         (getField): Likewise.
9850         (getMethod): Likewise.
9851         (getMethods): Likewise.
9853 2004-01-27  Kim Ho  <kho@redhat.com>
9855         * gnu/java/awt/peer/gtk/GtkFramePeer.java
9856         (removeMenuBarPeer): Remove MenuBarPeer argument.
9857         * gnu/java/awt/peer/gtk/GtkMenuComponentPeer.java
9858         (dispose): Call native method.
9859         * java/awt/Frame.java (setMenuBar): Create and remove
9860         MenuBar peers only if the Frame has a peer.
9861         (addNotify): Create the MenuBar peer if one exists.
9862         (removeNotify): Remove MenuBar peer if one exists.
9863         * java/awt/Menu.java: Fix imports.
9864         (addNotify): Don't use full class name.
9865         (removeNotify): Call removeNotify on all children.
9866         * java/awt/MenuBar.java (removeNotify): Call
9867         removeNotify on all children.
9868         * jni/gtk-peer/gnu_java_awt_peer_gtk_GtkWindowPeer.c
9869         (removeMenuBarPeer): Remove MenuBarPeer argument.
9870         Iterate through children to find the Frame's MenuBar.
9871         * jni/gtk-peer/gnu_java_awt_peer_gtk_GtkMenuComponentPeer.c
9872         New file.
9873         (dispose): Remove references to the MenuComponent.
9875 2004-01-27  Michael Koch  <konqueror@gmx.de>
9877         * javax/swing/AbstractCellEditor.java: Reformated.
9878         * javax/swing/DefaultListSelectionModel.java
9879         (listenerList): Made protected.
9880         (addListSelectionListener): Javadoc added.
9881         (removeListSelectionListener): Likewise.
9882         (getListeners): Likewise.
9883         (getListSelectionListeners): Likewise.
9884         * javax/swing/JComboBox.java: Merged copyright year.
9885         * javax/swing/plaf/basic/BasicGraphicsUtils.java: Merged empty line.
9887 2004-01-26  Andrew Haley  <aph@redhat.com>
9889         * javax/swing/table/JTableHeader.java: Extend JComponent
9891 2004-01-26  Kim Ho  <kho@redhat.com>
9893         * gnu/java/awt/peer/gtk/GtkFramePeer.java (setMenuBar):
9894         Fix spacing.
9896 2004-01-26  Kim Ho  <kho@redhat.com>
9898         * gnu/java/awt/peer/gtk/GtkFramePeer.java (moveLayout): New
9899         method.
9900         (setMenuBar): Shift the Gtk layout up/down by the MenuBar
9901         height and let the Layout Managers readjust anything that
9902         needs to move.
9903         * jni/gtk-peer/gnu_java_awt_peer_gtk_GtkWindowPeer.c
9904         (moveLayout): New method. Shift everything in the Gtk
9905         layout in the Y direction by an offset.
9907 2004-01-26  David Jee  <djee@redhat.com>
9909         * gnu/java/awt/peer/gtk/GtkComponentPeer.java
9910         (handleEvent): Implemented. Handles PaintEvents.
9911         (paint): Implemented. Use GTK native methods to queue updates
9912         for this heavyweight peer.
9913         * gnu/java/awt/peer/gtk/GtkContainerPeer.java
9914         (handleEvent): Removed.
9915         * java/awt/Component.java
9916         (paint): Implemented. Explictly paint the heavyweight peer.
9917         (update): Clear the background for heavyweight components.
9918         (paintAll): No need to call peer.paint() anymore.
9919         (processEvent): Don't process PaintEvents here. It's now done in
9920         the peer's handleEvent().
9921         (processPaintEvent): Removed.
9922         * java/awt/Container.java
9923         (paint): No need to call super.paint(). Visit heavyweight
9924         children as well.
9925         (update): Don't clear the background here.  It's done in
9926         Component.update().
9927         (visitChildren): Added check to not recurse into Containers.
9928         * jni/gtk-peer/gnu_java_awt_peer_gtk_GtkComponentPeer.c
9929         (filter_expose_event_handler): New method.  Filter unwanted
9930         expose events while painting heavyweight peers.
9931         (Java_gnu_java_awt_peer_gtk_GtkComponentPeer_addExposeFilter):
9932         New method. Connect filter and block pre_event_handler.
9933         (Java_gnu_java_awt_peer_gtk_GtkComponentPeer_removeExposeFilter):
9934         New method. Disconnect filter and unblock pre_event_handler.
9935         (Java_gnu_java_awt_peer_gtk_GtkComponentPeer_gtkWidgetQueueDrawArea):
9936         New method. Invalidate and update given area.
9937         * jni/gtk-peer/gnu_java_awt_peer_gtk_GtkEvents.c
9938         (pre_event_handler): Add checks for unwanted expose events.
9940 2004-01-26  David Jee  <djee@redhat.com>
9942         * jni/gtk-peer/gnu_java_awt_peer_gtk_GtkComponentPeer.c
9943         (find_bg_color_widget): For GtkButton, return its child.
9945 2004-01-26  Kim Ho  <kho@redhat.com>
9947         * gnu/java/awt/peer/gtk/GtkFramePeer.java (menuBarHeight): Mark
9948         private.
9949         (setMenuBar): Grab MenuBar height and change insets.
9950         (setBounds): Account for MenuBar height.
9951         (postInsetsChangedEvent): Ditto.
9952         (postSizeAllocateEvent): Remove.
9953         * jni/gtk-peer/gnu_java_awt_peer_gtk_GtkWindowPeer.c
9954         (menubar_resize_cb): Remove
9955         (setMenuBarPeer): Remove callback.
9956         (getMenuBarHeight): Use size requisition instead of
9957         allocation.
9959 2004-01-25  Thomas Fitzsimmons  <fitzsim@redhat.com>
9961         * java/awt/TextArea.java: Fix indentation.  Flesh out javadocs.
9962         (getMinimumSize (int, int)): Fix FIXME -- return Dimension (0,0)
9963         when peer is null.
9964         (setColumns): Remove FIXME -- peer will retrieve number of
9965         columns by calling getColumns.
9966         (setRows): Likewise for number of rows.
9967         (next_text_number): New field.
9968         (paramString): Fix param string.
9969         (generateName): New method.
9970         (getUniqueLong): New method.
9972 2004-01-25  Thomas Fitzsimmons  <fitzsim@redhat.com>
9974         * gnu/java/awt/peer/gtk/GtkToolkit.java (checkImage): Inform
9975         image observer of image loading status.
9976         (getImage (String)): Start image production.
9977         (getImage (URL)): Likewise.
9979 2004-01-25  Michael Koch  <konqueror@gmx.de>
9981         * java/lang/Class.java: Imports reworked, reformated.
9982         (Class): Javadoc added.
9983         (forName): Likewise.
9984         (getClasses): Likewise.
9985         (getClassLoader): Likewise.
9986         (getComponentType): Likewise.
9987         (getConstructor): Likewise.
9988         (getConstructors): Likewise.
9989         (getDeclaredConstructor): Likewise.
9990         (getDeclaredClasses): Likewise.
9991         (getDeclaredConstructors): Likewise.
9992         (getDeclaredField): Likewise.
9993         (getDeclaredMethod): Likewise.
9994         (getDeclaredMethods): Likewise.
9995         (getDeclaringClass): Likewise.
9996         (getField): Likewise.
9997         (getInterfaces): Likewise.
9998         (getMethod): Likewise.
9999         (getMethods): Likewise.
10000         (getModifiers): Likewise.
10001         (getName): Likewise.
10002         (getResource): Likewise.
10003         (getResourceAsStream): Likewise.
10004         (getSigners): Likewise.
10005         (setSigners): Likewise.
10006         (getSuperclass): Likewise.
10007         (isArray): Likewise.
10008         (isAssignableFrom): Likewise.
10009         (isInstance): Likewise.
10010         (isInterface): Likewise.
10011         (isPrimitive): Likewise.
10012         (newInstance): Likewise.
10013         (getProtectionDomain): Likewise.
10014         (toString): Likewise.
10015         (Class): Moved.
10016         (initializeClass): Likewise.
10017         (finalize): Likewise.
10019 2004-01-24  Michael Koch  <konqueror@gmx.de>
10021         * gnu/java/net/protocol/jar/Connection.java
10022         (hdrHash): Removed.
10023         (hdrVec): Removed.
10024         (gotHeaders): Removed.
10025         (getHeaderField): Removed.
10026         (getHeaderFields): Removed.
10027         (getHeaderFieldKey): Removed.
10028         (getKey): Removed.
10029         (getField): Removed.
10030         (getHeaders): Removed.
10032 2004-01-24  Michael Koch  <konqueror@gmx.de>
10034         * Makefile.am: Added library version to gtk peer lib.
10035         * Makefile.in: Regenerated.
10037 2004-01-24  Michael Koch  <konqueror@gmx.de>
10039         * java/util/zip/InflaterInputStream.java: Merged class documentation
10040         with classpath.
10042 2004-01-21  Jakub Jelinek  <jakub@redhat.com>
10044         * include/powerpc-signal.h: Add #ifndef __powerpc64__ around the
10045         header.  For __powerpc64__ provide the default-signal.h definitions
10046         for now.
10047         * include/x86_64-signal.h [!__x86_64__]: Include java-signal-aux.h
10048         instead of the dummy definitions.
10049         * configure.host (x86_64-*): Remove CHECKREFSPEC, add DIVIDESPEC.
10050         (powerpc64*-*): Remove with_libffi_default.
10051         Only add -mminimal-toc for 64-bit compilations.
10052         * configure.in: Use powerpc-signal.h on powerpc64 as well.
10053         (x86_64-*-linux*): Set SIGNAL_HANDLER_AUX.
10054         Link SIGNAL_HANDLER_AUX to include/java-signal-aux.h.
10055         * configure: Rebuilt.
10057 2004-01-23  Michael Koch  <konqueror@gmx.de>
10059         * gnu/java/nio/FileLockImpl.java: Compile fixes.
10061 2004-01-23  Michael Koch  <konqueror@gmx.de>
10063         * java/lang/VMClassLoader.java: Reworked imports.
10064         
10065 2004-01-23  Michael Koch  <konqueror@gmx.de>
10067         * javax/swing/AbstractAction.java: Reformated.
10069 2004-01-23  Michael Koch  <konqueror@gmx.de>
10071         * java/text/CollationElementIterator.java:
10072         (setText): New method.
10074 2004-01-23  Michael Koch  <konqueror@gmx.de>
10076         * gnu/java/nio/FileLockImpl.java:
10077         Fixed filename in copyright.
10078         (released): Removed.
10079         (finalize): New method.
10080         * gnu/java/nio/natFileLockImpl.cc
10081         (releaseImpl): Implemented.
10082         * java/nio/channels/FileChannelImpl.java:
10083         Reworked imports.
10084         (lock): Implemented.
10085         (lockImpl): New method.
10086         (tryLock): Implemented.
10087         (tryLockImpl): New method.
10088         * java/nio/channels/natFileChannelImpl.cc
10089         (lockImpl): New method.
10090         (tryLockImpl): New method.
10092 2004-01-23  Michael Koch  <konqueror@gmx.de>
10094         * java/io/FileDescriptor.java
10095         (lock): New method.
10096         (tryLock): New method.
10097         (unlock): New method.
10098         * java/io/natFileDescriptorEcos.cc
10099         (lock): New method.
10100         (tryLock): New method.
10101         (unlock): New method.
10102         * java/io/natFileDescriptorPosix.cc
10103         (lock): New method.
10104         (tryLock): New method.
10105         (unlock): New method.
10106         * java/io/natFileDescriptorWin32.cc
10107         (lock): New method.
10108         (tryLock): New method.
10109         (unlock): New method.
10111 2004-01-23  Michael Koch  <konqueror@gmx.de>
10113         * java/io/FileDescriptor.java
10114         (sync): Moved around, added javadoc.
10115         (valid): Likewise.
10116         (open): Likewise.
10117         (write): Likewise.
10118         (close): Likewise.
10119         (setLength): Likewise.
10120         (seek): Likewise.
10121         (getLength): Likewise.
10122         (getFilePointer): Likewise.
10123         (read): Likewise.
10124         (available): Likewise.
10125         (finalize): Likewise.
10127 2004-01-23  Michael Koch  <konqueror@gmx.de>
10129         * javax/swing/AbstractAction.java: Reformated.
10130         (getPropertyChangeListeners): New method.
10131         * javax/swing/AbstractCellEditor.java: Reformated.
10132         (getCellEditorListeners): New method.
10133         * javax/swing/DefaultListSelectionModel.java
10134         (listenerList): New field.
10135         (listeners): Removed.
10136         (get_listeners): Removed.
10137         (addListSelectionListener): Rewritten.
10138         (removeListSelectionListener): Rewritten.
10139         (getListSelectionListeners): New method.
10140         (getListeners): New method.
10141         * javax/swing/JComboBox.java: Imports reworked.
10142         (addActionListener): Implemented.
10143         (removeActionListener): Implemented.
10144         (addItemListener): Implemented.
10145         (removeItemListener): Implemented.
10146         (addPopupMenuListener): Implemented.
10147         (removePopupMenuListener): Implemented.
10148         (getActionListeners): New method.
10149         (getItemListeners): New method.
10150         (getPopupMenuListeners): New method.
10152 2004-01-23  Michael Koch  <konqueror@gmx.de>
10154         * gnu/java/net/protocol/http/Connection.java
10155         (connect): Don't initialize bufferedOutputStream if not needed.
10156         (sendRequest): Set property for content length if content is present.
10157         Write content only if present.
10158         (getOutputStream): Check if already connected, dont connect,
10159         initalize bufferedOutputStream if needed.
10161 2004-01-23  Michael Koch  <konqueror@gmx.de>
10163         * java/io/FileDescriptor.java
10164         (in, out, err): Added javadoc.
10165         (static): Merged loading code.
10166         (fd, position): Moved around.
10168 2004-01-23  Michael Koch  <konqueror@gmx.de>
10170         * gnu/java/awt/doc-files/BitwiseXORComposite-1.png:
10171         New file.
10173 2004-01-23  Michael Koch  <konqueror@gmx.de>
10175         * java/lang/Class.java,
10176         java/lang/Object.java,
10177         java/lang/Thread.java: Merged copyright with classpath.
10179 2004-01-23  Michael Koch  <konqueror@gmx.de>
10181         * java/io/FileDescriptor.java: Merged copyright with classpath to
10182         start merging this class.
10184 2004-01-22  Tom Tromey  <tromey@redhat.com>
10186         PR libgcj/13107:
10187         * testsuite/libjava.lang/pr13107_2.xfail: New file.
10188         * testsuite/libjava.lang/pr13107_3.xfail: New file.
10189         * testsuite/libjava.lang/pr13107_3.java: New file.
10190         * testsuite/libjava.lang/pr13107_3.out: New file.
10191         * testsuite/libjava.lang/pr13107_2.java: New file.
10192         * testsuite/libjava.lang/pr13107_2.out: New file.
10193         * testsuite/libjava.lang/pr13107.java: New file.
10194         * testsuite/libjava.lang/pr13107.out: New file.
10195         * verify.cc (jsr_ptrs): Removed.
10196         (entry_points): Likewise.
10197         (struct subr_info): Likewise.
10198         (struct subr_entry_info): Likewise.
10199         (type_val::unused_by_subroutine_type): Likewise.
10200         (type::merge): Don't handle unused_by_subroutine_type.
10201         (type::print): Likewise.
10202         (state::flags): Removed.
10203         (state::subroutine): Likewise.
10204         (state::seen_subrs): Likewise.
10205         (state::NO_STACK): Likewise.
10206         (state::FLAG_CHANGED, state::FLAG_UNUSED): Likewise.
10207         (state): Updated all methods.
10208         (state::clean_subrs): Removed.
10209         (state::state): Removed `ret_semantics' flag.
10210         (state::copy): Likewise.
10211         (state::add_subr): Removed.
10212         (state::enter_subroutine): Likewise.
10213         (type::set_return_address): New method.
10214         (handle_jsr_insn): Set return address on the type.  Always
10215         invalidate PC after call.
10216         (check_nonrecursive_call): Removed.
10217         (~_Jv_BytecodeVerifier): Updated.
10218         (branch_prepass): Removed special handling of jsr.
10219         (note_branch_target): Likewise.
10220         (get_subroutine): Removed.
10221         (state::merge): Don't merge subroutines and don't handle
10222         NO_STACK.  Removed ret_semantics and jsr_semantics arguments.
10223         (state::note_variable): Removed.
10224         (state::is_unmerged_ret_state): Likewise.
10225         (state::print): Updated.
10226         (set_variable): Likewise.
10227         (merge_into): Renamed from push_jump_merge.  Removed ret_semantics
10228         and jsr_semantics arguments.  Updated for new reverification
10229         list.
10230         (pop_jump): Rewrote.
10231         (construct_primitive_array_type): Updated.
10232         (state::next): Removed.
10233         (INVALID_STATE): New define.
10234         (state::INVALID): Removed.
10235         (state::NO_NEXT): New value.
10236         (state::pc, state::next): New fields.
10237         (state::get_pc): New method.
10238         (next_verify_pc): Removed.
10239         (next_verify_state): New field.
10240         (verify_instructions_0): Always check for falling off end.
10241         (linked): New type.
10242         (linked_utf8): Removed.
10243         (states): Changed type.
10244         (type::state_mergeable_p): New method.
10245         (state::state_mergeable_p): Likewise.
10246         (handle_ret_insn): Removed most code.
10247         (state::reverify): New method.
10248         (add_new_state): Likewise.
10249         (state::set_pc): Likewise.
10251 2004-01-22  Jeff Sturm  <jsturm@one-point.com>
10253         PR java/13733
10254         * testsuite/libjava.compile/PR13733.java: New file.
10255         * testsuite/libjava.compile/PR13733.xfail: New file.
10257 2004-01-22  Arnaud Vandyck  <arnaud.vandyck@ulg.ac.be>
10258             Michael Koch  <konqueror@gmx.de>
10260         * javax/swing/table/DefaultTableCellRenderer.java
10261         (DefaultTableCellRenderer): Added javadoc for the class and for
10262         the constructor, Border instance, create an EmptyBorder.
10263         (UIResource): Removed the comment at the end of the class
10264         (setForeground): New method.
10265         (setBackground): New method.
10266         (updateUI): New method.
10267         (getTableCellRendererComponent): Rewritten with the help of
10268         dvholten and Stephane Meslin-Weber.
10269         (validate): New method.
10270         (repaint): New method.
10271         (firePropertyChange): New method.
10272         (setValue): New method.
10274 2004-01-22  Thomas Fitzsimmons  <fitzsim@redhat.com>
10276         * jni/gtk-peer/gnu_java_awt_peer_gtk_GtkWindowPeer.c
10277         (connectJObject): Replace printf calls with g_assert statements.
10278         Move property-notify-event signal connection to ...
10279         (connectSignals): Connect property-notify-event signal.  Iterate
10280         through the vbox's children to find layout.
10282 2004-01-22  Graydon Hoare  <graydon@redhat.com>
10283         
10284         * gnu/java/awt/peer/gtk/GdkClasspathFontPeer.java: 
10285         * gnu/java/awt/peer/gtk/GdkGlyphVector.java:
10286         Predicate static initialization on GtkToolkit.useGraphics2D().
10287         * java/awt/Component.java (processPaintEvent): Consume event.
10288         * javax/swing/AbstractButton.java: Reimplement, document.
10289         * javax/swing/DefaultButtonModel.java: Reimplement, document.
10290         * javax/swing/JComponent.java (paint): Use double buffer.
10291         (listenerList): Enable member.
10292         * javax/swing/ToggleButtonModel.java: Remove incorrect constructor.
10293         * javax/swing/JToggleButton.java 
10294         (JToggleButton): Modify model constructor.
10295         * javax/swing/SwingUtilities.java 
10296         (layoutCompoundLabel): Adjust arithmetic.
10297         * javax/swing/plaf/basic/BasicButtonUI.java: Reimplement, document.
10298         * javax/swing/plaf/basic/BasicGraphicsUtils.java 
10299         (getPreferredButtonSize): Include margins in calculation.
10300         * jni/gtk-peer/gnu_java_awt_peer_gtk_GtkWindowPeer.c
10301         (Java_gnu_java_awt_peer_gtk_GtkWindowPeer_connectSignals):
10302         Receive up events from subordinate layout component.
10304 2004-01-21  Thomas Fitzsimmons  <fitzsim@redhat.com>
10306         * java/awt/Component.java (show): Set visible to true before
10307         showing the peer.
10309 2004-01-21  Kim Ho  <kho@redhat.com>
10311         * gnu/java/awt/peer/gtk/GtkFramePeer.java (postConfigureEvent):
10312         Fix comments.
10313         (removeMenuBarPeer): Make package private.
10314         (setMenuBarPeer): Make package private.
10315         * jni/gtk-peer/gnu_java_awt_peer_gtk_GtkWindowPeer.c
10316         (menubar_resize_cb): Mark attributes unused.
10317         (getMenuBarHeight): ditto.
10319 2004-01-21  David Jee  <djee@redhat.com>
10321         * java/awt/Container.java
10322         (LightweightDispatcher.handleEvent): Add an extra check to avoid
10323         dispatching MOUSE_ENTERED event twice. Translate the point for
10324         the mouse event target before dispatching the event.
10326 2004-01-20  Jakub Jelinek  <jakub@redhat.com>
10328         * Makefile.am (lib_org_w3c_dom_la_LIBADD,
10329         lib_org_w3c_dom_la_LDFLAGS): New.
10330         (lib_org_xml_sax_la_LIBADD, lib_org_xml_sax_la_LDFLAGS): New.
10331         * Makefile.in: Rebuilt.
10333 2004-01-20  Thomas Fitzsimmons  <fitzsim@redhat.com>
10335         * gnu/java/awt/peer/gtk/GtkComponentPeer.java (setBounds):
10336         Calculate proper offsets for heavyweight components packed in
10337         lightweight containers.
10339         * gnu/java/awt/peer/gtk/GtkTextFieldPeer.java,
10340         jni/gtk-peer/gnu_java_awt_peer_gtk_GtkTextFieldPeer.c
10341         (native create): Add width parameter.
10342         (create): Calculate text entry width based on current font's
10343         metrics and number of columns.  Set TextField's font if not
10344         already set.  Call native create.
10345         (gtkEntryGetBorderWidth): New native method.
10346         (gtkEntryGetSize): Remove method.
10347         (getMinimumSize): Call minimumSize.
10348         (getPreferredSize): Call preferredSize.
10349         (minimumSize): Calculate minimum size based on backing
10350         GtkEntry's borders, font metrics and number of columns.
10351         (preferredSize): Likewise for preferred size.
10352         (get_border_width): New static function.
10354         * gnu/java/awt/peer/gtk/GtkFramePeer.java (setResizable):
10355         Override GtkWindowPeer's setResizable method to account for menu
10356         bar height when setting the frame's size.
10358 2004-01-19  Matthias Klose  <doko@debian.org>
10360         * libtool-version: Increased `current' to 6.
10362 2004-01-19  Kim Ho  <kho@redhat.com>
10364         * jni/gtk-peer/gnu_java_awt_peer_gtk_GtkWindowPeer.c
10365         (connectJObject): Iterate through the vbox's children to find layout.
10367 2004-01-19  Fernando Nasser  <fnasser@redhat.com>
10369         * java/awt/EventQueue.java (invokeAndWait): Use list-aware
10370         isDispatchThread method to replace wrong test condition.
10372 2004-01-19  Fernando Nasser  <fnasser@redhat.com>
10374         * java/awt/EventQueue.java (pop): Prevent racing condition to add
10375         events to the queue out of order by acquiring locks in the proper
10376         order and not by releasing one before acquiring the other.
10378 2004-01-19  Fernando Nasser  <fnasser@redhat.com>
10380         * gnu/java/awt/peer/gtk/TestAWT.java (DialogWindow): Make text not
10381         visible so that dialog can be reused.
10383 2004-01-19  Fernando Nasser  <fnasser@redhat.com>
10385         * java/awt/EventQueue.java (getCurrentEvent): Consider that system
10386         events may be handled by any queue in the stack.
10388 2004-01-19  Kim Ho  <kho@redhat.com>
10390         * gnu/java/awt/peer/gtk/GtkFramePeer.java (getMenuBarHeight): Added
10391         MenuBarPeer parameter.
10392         (removeMenuBarPeer): New native method.
10393         (setMenuBar): Call remove if menu bar is null. Adjust insets
10394         appropriately.
10395         (postSizeAllocateEvent): New method. Called when menu bar size is
10396         allocated. Adjust insets and redo layout.
10397         (GtkFramePeer): Set menu bar during frame creation.
10398         (postConfigureEvent): Adjust position and size to accomodate
10399         menu bar.
10400         * java/awt/Frame.java (setMenuBar): addNotify to create menu bar.
10401         * java/awt/Menu.java (addSeparator): Use peer's addSeparator.
10402         (addNotify): Create the peer if it doesn't exist and call addNotify
10403         for the menu's items.
10404         * java/awt/MenuBar.java (addNotify): Create this menu bar's menus.
10405         * java/awt/MenuItem.java (addNotify): Create the peer if it
10406         doesn't exist.
10407         * jni/gtk-peer/gnu_java_awt_peer_gtk_GtkWindowPeer.c
10408         (removeMenuBarPeer): New method. Remove menu bar on the current
10409         frame.
10410         (setMenuBarPeer): Add the menu bar to the current frame and the
10411         callback for size-allocate events on the menu bar.
10412         (getMenuBarHeight): Add menu bar parameter.
10413         (menubar_resize_cb): New callback method for postSizeAllocate events.
10415         Also: Fix indentation on last ChangeLog entry.
10417 2004-01-16  Kim Ho  <kho@redhat.com>
10419         * gnu/java/awt/peer/gtk/GtkFileDialogPeer.java
10420         (gtkWidgetGetDimensions): Remove.
10421         * jni/gtk-peer/gnu_java_awt_peer_gtk_GtkWindowPeer.c
10422         (gtkWidgetGetDimensions): Remove.
10424 2004-01-16  Tom Tromey  <tromey@redhat.com>
10426         * java/awt/Container.java: Typo and indentation fixes.
10428         * java/lang/natClassLoader.cc: Moved VMClassLoader methods...
10429         * java/lang/natVMClassLoader.cc: ...here.  New file.
10430         * Makefile.in: Rebuilt.
10431         * Makefile.am (nat_source_files): Added natVMClassLoader.cc.
10433 2004-01-16  Fernando Nasser  <fnasser@redhat.com>
10435         * jni/gtk-peer/gnu_java_awt_peer_gtk_GtkEvents.c (pre_event_handler):
10436         Discard GDK_ENTER_NOTIFY related to ungrabs.
10438 2004-01-16  Fernando Nasser  <fnasser@redhat.com>
10440         * java/awt/EventQueue.java (pop): Prevent breaking the chain if pop
10441         is called for an intermediate queue.
10443 2004-01-16  Thomas Fitzsimmons  <fitzsim@redhat.com>
10445         * jni/gtk-peer/gnu_java_awt_peer_gtk_GtkWindowPeer.c
10446         (window_property_changed_cb): Set id_set.
10448 2004-01-16  Kim Ho  <kho@redhat.com>
10450         * gnu/java/awt/peer/gtk/GtkComponentPeer.java (GtkComponentPeer): If
10451         it is a FileDialog and has dimensions of 0 by 0, then the initial
10452         size is set to size request plus insets.
10453         * gnu/java/awt/peer/gtk/GtkFileDialogPeer.java
10454         (gtkWidgetGetDimensions): Override method.
10455         * jni/gtk-peer/gnu_java_awt_peer_gtk_GtkWindowPeer.c
10456         (gtkWidgetGetDimensions): Override method. Returns size request plus
10457         insets.
10459 2004-01-16  Andrew Haley  <aph@redhat.com>
10461         * sysdep/x86-64/locks.h: Don't use in/out memory constraints.
10462         * sysdep/i386/locks.h: Likewise.
10464 2004-01-16  Fernando Nasser  <fnasser@redhat.com>
10466         * java/awt/EventDispatchThread.java (run): Stop running when
10467         interrupted.
10468         * java/awt/EventQueue.java (pop): Stop dispatch thread when done.
10469         Reset the queue after transferring its contents.
10470         (push): Start a new dispatch thread if none is running.
10472 2004-01-16  Olga Rodimina <rodimina@redhat.com>
10474         * gnu/java/awt/peer/gtk/GdkGraphics2D.java:
10475         (doPolygon): set fill rule of polygon to 
10476         WIND_EVEN_ODD by default.
10478 2004-01-15  Olga Rodimina <rodimina@redhat.com>
10480         * gnu/java/awt/peer/gtk/GdkGraphics2D.java:
10481         Implemented rendering hints related methods.
10482         (getDefaultHints): New helper method. Returns
10483         default rendering hints.
10484         (walkPath): changed to normalize path if
10485         the KEY_STROKE_CONTROL key is in "normalize" mode.
10486         (draw3DRect): changed coordinates of rectangle by +0.5
10487         if in "normalize" mode.
10489 2004-01-15  Tom Tromey  <tromey@redhat.com>
10491         * Makefile.in: Rebuilt.
10492         * Makefile.am (gnu/gcj/runtime/StackTrace.lo): New rule.
10493         (%.lo: %.java) Filter out StackTrace.lo.
10495 2004-01-14  Kelley Cook  <kcook@gcc.gnu.org>
10497         * configure.in: Add in AC_PREREQ(2.13)
10498         * libltdl/configure.ac: Update to AC_PREREQ(2.57).  Delete 
10499         FIXME comment.
10501 2004-01-14  Nathan Bryant  <nbryant@optonline.net>
10502             Tom Tromey  <tromey@redhat.com>
10504         PR libgcj/12001:
10505         * gnu/gcj/runtime/VMClassLoader.java (VMClassLoader): Pass empty
10506         array to superclass.
10507         (init): Changed interface; add URLs here.
10508         (initialize): New static method.
10509         * prims.cc (_Jv_CreateJavaVM): Initialize ClassLoader here...
10510         (_Jv_RunMain): ... not here.
10512 2004-01-14  Michael Koch  <konqueror@gmx.de>
10514         * java/text/MessageFormat.java:
10515         Added descriptions to exceptions.
10516         This fixes PR libgcj/2429.
10518 2004-01-13  Fernando Nasser  <fnasser@redhat.com>
10520         * java/awt/EventQueue.java (isDispatchThread): Do check on top of stack.
10521         (push): Make sure push is performed at the top of the thread stack.
10523 2004-01-13  Thomas Fitzsimmons  <fitzsim@redhat.com>
10525         * gnu/java/awt/peer/gtk/GtkTextAreaPeer.java,
10526         jni/gtk-peer/gnu_java_awt_peer_gtk_GtkTextAreaPeer.c
10527         (native create): Add width and height parameters.  Set text
10528         view's size request according to new parameters.
10529         (create): Calculate text view size based on current font's
10530         metrics and number of rows and columns.  Set TextArea's font if
10531         not already set.  Call native create.
10532         (getMinimumSize): Call minimumSize.
10533         (getPreferredSize): Call preferredSize.
10534         (getHScrollbarHeight): New method.
10535         (getVScrollbarWidth): New method.
10536         (minimumSize): Calculate minimum size based on scrollbar
10537         visibility, scrollbar sizes, font metrics and number of rows and
10538         columns.
10539         (preferredSize): Likewise for preferred size.
10540         (gtkTextGetSize): Remove method.
10542 2004-01-13  Thomas Fitzsimmons  <fitzsim@redhat.com>
10544         * gnu/java/awt/peer/gtk/GtkComponentPeer.java
10545         (initializeInsets): Remove method.
10546         (GtkComponentPeer): Initialize insets field.  Remove call to
10547         initializeInsets.
10548         * gnu/java/awt/peer/gtk/GtkDialogPeer.java (initializeInsets):
10549         Remove method.
10550         * gnu/java/awt/peer/gtk/GtkFramePeer.java (initializeInsets):
10551         Remove method.
10552         * gnu/java/awt/peer/gtk/GtkWindowPeer.java,
10553         jni/gtk-peer/gnu_java_awt_peer_gtk_GtkWindowPeer.c:
10554         (latestInsets): Remove field.
10555         (native create): Add insets parameter.  Call
10556         window_get_frame_extents.  Set the window's default size and
10557         size request based on its frame extents.
10558         (create): Initialize insets.
10559         (postInsetsChangedEvent): New method.
10560         (postConfigureEvent): Remove parameters top, left, bottom,
10561         right.  Remove insets-related logic.
10562         (connectJObject): Handle property-notify-event.
10563         (window_get_frame_extents, request_frame_extents,
10564         property_notify_predicate, window_property_changed_cb): New
10565         static functions.
10566         * jni/gtk-peer/gnu_java_awt_peer_gtk_GtkEvents.c
10567         (pre_event_handler): Remove insets-related logic for configure
10568         events.
10569         * jni/gtk-peer/gnu_java_awt_peer_gtk_GtkMainThread.c (gtkInit):
10570         Update postConfigureEvent signature.
10572 2004-01-13  Fernando Nasser  <fnasser@redhat.com>
10574         * gnu/java/awt/peer/gtk/TestAWT.java (DialogWindow): Add WindowAdapter
10575         to handle Window "Closing" events.
10577 2004-01-13  David Jee  <djee@redhat.com>
10579         * gnu/java/awt/peer/gtk/GtkContainerPeer.java
10580         (setBackground): New method. Children with no explicitly-set
10581         background will be repainted with the parent container's new
10582         background color.
10584 2004-01-13  David Jee  <djee@redhat.com>
10586         * Makefile.am: Add BitwiseXORComposite.java.
10587         * Makefile.in: Regenerated.
10588         * gcj/Makefile.in: Regenerated.
10589         * include/Makefile.in: Regenerated.
10590         * testsuite/Makefile.in: Regenerated.
10592 2004-01-12  Fernando Nasser  <fnasser@redhat.com>
10594         * gnu/java/awt/peer/gtk/TestAWT.java: Fix test program so that it does
10595         not show modal dialogs twice and so that it allows showing a modal
10596         dialog from another modal dialog.
10598 2004-01-12  Fernando Nasser  <fnasser@redhat.com>
10600         * java/awt/Dialog.java (show): Enable blocking for all modal dialogs
10601         and run secondary dispatch thread to process event queue while this
10602         thread is blocked.
10604 2004-01-12  Graydon Hoare  <graydon@redhat.com>
10606         * gnu/java/awt/gtk/GdkGraphics2D.java
10607         (static): Check GtkToolkit before initializing static state.
10608         (Graphics2D): Don't construct transform with 0.5 unit offset.
10610 2003-11-06  Sascha Brawer  <brawer@dandelis.ch>
10612         * gnu/java/awt/BitwiseXORComposite.java: Add.
10613         * gnu/java/awt/peer/gtk/GdkGraphics2D.java
10614         (setXORMode): Switch to gnu.java.awt.BitwiseXORComposite.
10615         (BitwiseXORComposite): Remove inner class.
10617 2004-01-11  Michael Koch  <konqueror@gmx.de>
10619         * gnu/java/lang/reflect/TypeSignature.java
10620         (getEncodingOfClass): Documentation fixed.
10621         (getClassForEncoding): Give class loader to Class.forName().
10622         Documentation fixed.
10624 2004-01-11  Sascha Brawer  <brawer@dandelis.ch>
10626         * javax/swing/undo/CompoundEdit.java (serialVersionUID): Added.
10628 2004-01-11  Michael Koch  <konqueror@gmx.de>
10630         * javax/swing/undo/StateEditable.java
10631         (RCSID): Removed redundant modifiers.
10633 2004-01-10  Michael Koch  <konqueror@gmx.de>
10635         * javax/print/attribute/EnumSyntax.java
10636         (getStringTable): Made protected.
10637         (getEnumValueTable): Likewise.
10638         * javax/print/attribute/standard/JobKOctetsProcessed.java
10639         (JobKOctetsProcessed): Don't implement PrintRequestAttribute.
10640         * javax/print/attribute/standard/JobMediaSheetsCompleted.java
10641         (JobMediaSheetsCompleted): Made class final.
10642         * javax/print/attribute/standard/OutputDeviceAssigned.java
10643         (getName): Fixed typo.
10644         * javax/print/attribute/standard/RequestingUserName.java
10645         (serialVersionUID): Fixed value.
10647 2004-01-10  Michael Koch  <konqueror@gmx.de>
10649         * javax/swing/plaf/basic/BasicButtonUI.java,
10650         javax/swing/plaf/basic/BasicCheckBoxUI.java,
10651         javax/swing/plaf/basic/BasicListUI.java,
10652         javax/swing/plaf/basic/BasicOptionPaneUI.java,
10653         javax/swing/plaf/basic/BasicPanelUI.java,
10654         javax/swing/plaf/basic/BasicRadioButtonUI.java,
10655         javax/swing/plaf/basic/BasicScrollPaneUI.java,
10656         javax/swing/plaf/basic/BasicToggleButtonUI.java,
10657         javax/swing/plaf/basic/BasicViewportUI.java:
10658         Fixed import statements.
10660 2004-01-10  Michael Koch  <konqueror@gmx.de>
10662         * gnu/java/awt/image/ImageDecoder.java
10663         (produce): Made public.
10664         * gnu/java/awt/peer/GLightweightPeer.java,
10665         gnu/java/awt/peer/gtk/GtkToolkit.java:
10666         Reformated.
10668 2004-01-10  Michael Koch  <konqueror@gmx.de>
10670         * javax/swing/JRadioButtonMenuItem.java,
10671         javax/swing/JSeparator.java,
10672         javax/swing/JSplitPane.java,
10673         javax/swing/JTextPane.java,
10674         javax/swing/JToolBar.java,
10675         javax/swing/ListCellRenderer.java,
10676         javax/swing/ListModel.java,
10677         javax/swing/MenuElement.java,
10678         javax/swing/OverlayLayout.java,
10679         javax/swing/ProgressMonitor.java,
10680         javax/swing/ProgressMonitorInputStream.java,
10681         javax/swing/Renderer.java,
10682         javax/swing/RootPaneContainer.java,
10683         javax/swing/Scrollable.java,
10684         javax/swing/SingleSelectionModel.java,
10685         javax/swing/ToolTipManager.java,
10686         javax/swing/ViewportLayout.java,
10687         javax/swing/event/DocumentEvent.java,
10688         javax/swing/event/SwingPropertyChangeSupport.java,
10689         javax/swing/event/TreeSelectionEvent.java,
10690         javax/swing/event/UndoableEditEvent.java,
10691         javax/swing/text/AbstractDocument.java,
10692         javax/swing/text/AttributeSet.java,
10693         javax/swing/text/Caret.java,
10694         javax/swing/text/ComponentView.java,
10695         javax/swing/text/DefaultCaret.java,
10696         javax/swing/text/DefaultEditorKit.java,
10697         javax/swing/text/Document.java,
10698         javax/swing/text/EditorKit.java,
10699         javax/swing/text/GapContent.java,
10700         javax/swing/text/Keymap.java,
10701         javax/swing/text/MutableAttributeSet.java,
10702         javax/swing/text/PlainEditorKit.java,
10703         javax/swing/text/Segment.java,
10704         javax/swing/text/Style.java,
10705         javax/swing/text/StyledDocument.java,
10706         javax/swing/text/StyledEditorKit.java,
10707         javax/swing/text/TextAction.java,
10708         javax/swing/text/View.java: Fixed import statements.
10710 2004-01-08  Graydon Hoare  <graydon@redhat.com>
10712         * javax/swing/JLayeredPane.java: Rewrite to accomodate
10713         djee@redhat.com's recent inverse ordering of Container elements.
10715 2004-01-09  Michael Koch  <konqueror@gmx.de>
10717         * gnu/java/lang/ArrayHelper.java
10718         (equalsArray): Removed.
10720 2004-01-09  Andrew Haley  <aph@redhat.com>
10722         * java/lang/natClassLoader.cc (_Jv_PrepareCompiledClass): Resolve
10723         a Utf8Const field before looking at its class.
10725 2004-01-09  Michael Koch  <konqueror@gmx.de>
10727         * javax/print/attribute/standard/DocumentName.java,
10728         javax/print/attribute/standard/JobHoldUntil.java,
10729         javax/print/attribute/standard/JobMessageFromOperator.java,
10730         javax/print/attribute/standard/JobName.java,
10731         javax/print/attribute/standard/JobOriginatingUserName.java,
10732         javax/print/attribute/standard/OutputDeviceAssigned.java,
10733         javax/print/attribute/standard/PrinterInfo.java,
10734         javax/print/attribute/standard/PrinterLocation.java,
10735         javax/print/attribute/standard/PrinterMakeAndModel.java,
10736         javax/print/attribute/standard/PrinterMessageFromOperator.java,
10737         javax/print/attribute/standard/PrinterName.java,
10738         javax/print/attribute/standard/RequestingUserName.java: New files.
10739         * Makefile.am (javax_source_files): Added new files.
10740         * Makefile.in: Regenerated.
10742 2004-01-09  Michael Koch  <konqueror@gmx.de>
10744         * javax/swing/AbstractAction.java,
10745         javax/swing/AbstractSet.java,
10746         javax/swing/Action.java,
10747         javax/swing/ActionMap.java,
10748         javax/swing/BoundedRangeModel.java,
10749         javax/swing/ButtonModel.java,
10750         javax/swing/CellEditor.java,
10751         javax/swing/CellRendererPane.java,
10752         javax/swing/ComboBoxEditor.java,
10753         javax/swing/DebugGraphics.java,
10754         javax/swing/DefaultCellEditor.java,
10755         javax/swing/DefaultCellRenderer.java,
10756         javax/swing/DefaultComboBoxModel.java,
10757         javax/swing/DefaultDesktopManager.java,
10758         javax/swing/DefaultFocusManager.java,
10759         javax/swing/DefaultListCellRenderer.java,
10760         javax/swing/Icon.java,
10761         javax/swing/JButton.java,
10762         javax/swing/JCheckBoxMenuItem.java,
10763         javax/swing/JDesktopPane.java,
10764         javax/swing/JEditorPane.java,
10765         javax/swing/JMenu.java,
10766         javax/swing/JPanel.java,
10767         javax/swing/JPasswordField.java,
10768         javax/swing/JPopupMenu.java,
10769         javax/swing/JProgressBar.java: Reworked imports.
10771 2004-01-09  Michael Koch  <konqueror@gmx.de>
10773         * java/awt/geom/PathIterator.java
10774         (WIND_EVEN_ODD): Removed redundant modifiers.
10775         (WIND_NON_ZERO): Likewise.
10776         (SEG_MOVETO): Likewise.
10777         (SEG_LINETO): Likewise.
10778         (SEG_QUADTO): Likewise.
10779         (SEG_CUBICTO): Likewise.
10780         (SEG_CLOSE): Likewise.
10781         * java/awt/image/SinglePixelPackedSampleModel.java:
10782         Removed redundant semicolon.
10783         * java/io/ObjectInputStream.java
10784         (inputGetObjectStreamClasses): Removed unused variable "ret_val".
10785         * java/util/logging/Filter.java
10786         (isLoggable): Removed redundant modifier.
10787         * java/util/logging/LogManager.java:
10788         Removed redundant semicolon.
10789         * java/util/logging/XMLFormatter.java
10790         (format): Removed unused variable "key".
10792 2004-01-08  Fernando Nasser  <fnasser@redhat.com>
10794         * gnu/java/awt/peer/gtk/GtkFileDialogPeer.java (nativeSetFile):
10795         New name for the former setFile native method.
10796         (setFile): New method.
10797         (setDirectory): Implemented.
10798         (connectSignals): New native method.
10799         (setFilenameFilter): Improve comment.
10800         (getGraphics): Comment.
10801         (gtkHideFileDialog): New method.
10802         (gtkDisposeFileDialog): New method.
10803         (gtkSetFilename): New method.
10804         * java/awt/Dialog.java (show): Block on modal dialogs, but only
10805         for FileDialog for now.
10806         (hide): New method.
10807         (dispose): New method.
10808         * jni/gtk-peer/gnu_java_awt_peer_gtk_GtkFileDialogPeer.c
10809         (Java_gnu_java_awt_peer_gtk_GtkFileDialog_create): Replace
10810         deprecated creation functions.  Make dialog modal.  Add it to the
10811         window group.
10812         (Java_gnu_java_awt_peer_gtk_GtkFileDialog_connectSignals): New
10813         function.
10814         (Java_gnu_java_awt_peer_gtk_GtkFileDialogPeer_gtkFileSelectionSetFilename):
10815         Rename to...
10816         (Java_gnu_java_awt_peer_gtk_GtkFileDialogPeer_nativeSetFile): New
10817         name.
10818         (window_closed): New function.
10819         (ok_clicked): New function.
10820         (cancel_clicked): New function.
10822 2004-01-08  Michael Koch  <konqueror@gmx.de>
10824         * javax/swing/JLayeredPane.java: Revert changes to standard
10825         boilerplate, reworked imports.
10827 2004-01-07  Tom Tromey  <tromey@redhat.com>
10829         PR libgcj/13439:
10830         * verify.cc (state::merge): Copy changed locals out of subroutine
10831         in NO_STACK case.
10832         (state::FLAG_CHANGED): New const.
10833         (state::FLAG_UNUSED): Likewise.
10834         (state::local_changed): Removed.  Updated all users.
10835         (state::flags): New field.
10836         (state::merge): Added jsr_semantics argument, more logic.
10837         (push_jump_merge): Added jsr_semantics argument.
10838         (handle_jsr_insn): Set jsr_semantics on push_jump_merge when
10839         merging through the jsr instruction.
10841 2004-01-07  Tom Tromey  <tromey@redhat.com>
10843         * scripts/MakeDefaultMimeTypes.java: Use \n, not
10844         backslash-newline.
10846 2004-01-07  Graydon Hoare  <graydon@redhat.com>
10848         * java/awt/Container.java (LightweightDispatcher): Implement.
10849         (visitChild): Reuse graphics object.
10850         (dispatchEventImpl): Optionally dispatch to lightweight.
10851         (addNotifyContainerChildren): Build LightweightDispatcher.
10853 2004-01-07  David Jee  <djee@redhat.com>
10855         * java/awt/Container.java
10856         (update): Clear only the clipped region, instead of clearing the
10857         entire Container.
10858         (visitChildren): Visit children in descending order.
10860 2004-01-07  Michael Koch  <konqueror@gmx.de>
10862         * java/lang/reflect/Array.java: Merged documentation with classpath.
10864 2004-01-07  Michael Koch  <konqueror@gmx.de>
10866         * java/text/CollationElementIterator.java
10867         (textIndex): Renamed from index.
10868         * java/text/CollationKey.java
10869         (collator): New member.
10870         (CollationKey): New argument for parent collator.
10871         (equals): Check for same collator, source string and key array.
10872         * java/text/RuleBasedCollator.java:
10873         Reformated.
10874         (RuleBasedCollator): Don't re-initialize frenchAccents with default
10875         value.
10876         (getCollationElementIterator): Rewritten.
10877         (getCollationKey): Added new argument to CollationKey constructor.
10879 2004-01-07  Michael Koch  <konqueror@gmx.de>
10881         * gnu/java/nio/DatagramChannelImpl.java
10882         (blocking): Removed.
10883         (DatagramChannelImpl): Call configureBlocking().
10884         (implConfigureBlocking): Dont initialize blocking.
10885         * gnu/java/nio/ServerSocketChannelImpl.java
10886         (blocking): Removed.
10887         (ServerSocketChannelImpl): Call configureBlocking().
10888         (implConfigureBlocking): Dont initialize blocking.
10889         * gnu/java/nio/SocketChannelImpl.java
10890         (blocking): Removed.
10891         (SocketChannelImpl): Call configureBlocking().
10892         (implConfigureBlocking): Dont initialize blocking.
10893         (connect): Use isBlocking().
10894         * java/nio/channels/spi/AbstractSelectableChannel.java
10895         (configureBlocking): Use blockingLock() instead of LOCK.
10896         Set blocking after successfully called implConfigureBlocking().
10897         (register): Use blockingLock() instead of LOCK.
10899 2004-01-07  Michael Koch  <konqueror@gmx.de>
10901         * java/net/ServerSocket.java (isBound): Fixed documentation.
10903 2004-01-07  Sascha Brawer  <brawer@dandelis.ch>
10905         * javax/swing/DefaultBoundedRangeModel.java: Documented API.
10906         (changeEvent): Create event object on demand.
10907         (DefaultBoundedRangeModel, toString, setValue, setExtent,
10908         setMinimum, setMaximum, setValueIsAdjusting, setRangeProperties,
10909         fireStateChanged): Re-written.
10910         * javax/swing/event/EventListenerList.java: Reformatted, document
10911         typical usage.
10912         (toString): Implemented.
10913         (getListeners): Re-written.
10914         (remove): Re-written.
10915         (add): Re-written.
10916         (NO_LISTENERS): New singleton field.
10917         (listenerList): Declare as transient; document.
10918         (serialVersionUID): Document.
10919         (getListenerCount(Class)): More efficient implementation,
10920         also accepts null argument.  Improve Javadoc.
10921         (getListenerCount()): Remove unnecessary cast; docfix.
10922         * javax/swing/undo/UndoableEditSupport.java:
10923         Re-format, document.
10924         (UndoableEditSupport): Set realSource field. Improve documentation.
10925         (_postEdit): Iterate over cloned listener vector.
10926         (toString): Don't emit realSource.
10927         (beginUpdate, endUpdate): Support nested updates.
10928         (postEdit): Use compound edit if present.
10930 2004-01-06  Graydon Hoare  <graydon@redhat.com>
10932         * java/awt/Container.java (swapComponents): Add forgotten
10933         function, required for JLayeredPane change.
10935 2004-01-06  Michael Koch  <konqueror@gmx.de>
10937         * java/text/CollationElementIterator.java: Reformated.
10938         (CollationElementIterator): Changed order of arguments.
10939         * java/text/RuleBasedCollator.java
10940         (RuleBasedCollator): Merged class documentation.
10941         (CollationElement): Added documentation.
10942         (compare): Reformated, renamed arguments.
10943         (equals): Likewise.
10944         (getCollationElementIterator): Likewise.
10945         (getCollationKey): Likewise.
10947 2004-01-06  Graydon Hoare  <graydon@redhat.com>
10949         * javax/swing/JLayeredPane.java: Fix semantics, add javadocs.
10951 2004-01-06  Michael Koch  <konqueror@gmx.de>
10953         * gnu/java/net/protocol/file/Connection.java:
10954         Reformated copyright.
10955         (hdrHash): Removed.
10956         (hdrVec): Removed.
10957         (gotHeaders): Removed.
10958         (getHeaderField): Removed.
10959         (getHeaderField): Removed.
10960         (getHeaderFieldKey): Removed.
10961         (getKey): Removed.
10962         (getField): Removed.
10963         (getHeaders): Removed.
10965 2004-01-06  Michael Koch  <konqueror@gmx.de>
10967         * javax/print/attribute/standard/DateTimeAtCompleted.java,
10968         javax/print/attribute/standard/DateTimeAtCreation.java,
10969         javax/print/attribute/standard/DateTimeAtProcessing.java,
10970         javax/print/attribute/standard/JobImpressionsCompleted.java,
10971         javax/print/attribute/standard/JobKOctets.java,
10972         javax/print/attribute/standard/JobKOctetsProcessed.java,
10973         javax/print/attribute/standard/JobMediaSheetsCompleted.java,
10974         javax/print/attribute/standard/JobPrioritySupported.java: New files.
10975         * Makefile.am (javax_source_files): Added new files.
10976         * Makefile.in: Regenerated.
10978 2004-01-06  Michael Koch  <konqueror@gmx.de>
10980         * java/net/URLConnection.java
10981         (contentHandler): Removed.
10982         (locale): Removed.
10983         (getHeaderFields): Return an empty map instead of null.
10984         (getContent): Connect if needed, renamed "cType" to "type" and
10985         "contentHandler" to "ch" and made it a local variable.
10986         (getPermission): Don't use package in class name.
10987         (setDefaultRequestProperty): Fixed typo in documentation.
10988         (initializeDateFormats): Made locale a local variable.
10990 2004-01-06  Michael Koch  <konqueror@gmx.de>
10992         * java/lang/Package.java
10993         (getPackage): Get the current class loader directly.
10994         * java/lang/SecurityManager.java
10995         (currentLoadedClass): Dont iterate over class contexts.
10996         (classLoaderDepth): Don't check class loaders if everything is allowed.
10998 2004-01-05  Thomas Fitzsimmons  <fitzsim@redhat.com>
11000         * jni/gtk-peer/gnu_java_awt_peer_gtk_GtkEvents.c
11001         (pre_event_handler): Set all insets to 0 when a Configure event
11002         is received for a GtkPlug.
11003         * gnu/java/awt/EmbeddedWindow.java (window_id): Rename handle.
11004         Make handle long, not int.
11005         (EmbeddedWindow()): New constructor.
11006         (EmbeddedWindow(int)): Rename window_id to handle.  Make handle
11007         long, not int.
11008         (setHandle): New method.
11009         (getHandle): Return long, not int.
11010         * gnu/java/awt/peer/EmbeddedWindowPeer.java (embed): New method
11011         declaration.
11012         * gnu/java/awt/peer/gtk/GtkEmbeddedWindowPeer.java,
11013         jni/gtk-peer/gnu_java_awt_peer_gtk_GtkEmbeddedWindowPeer.c:
11014         (create(long)): Take long parameter, not int.  Cast gtk_plug_new
11015         argument to GdkNativeWindow.
11016         (construct): New method.
11017         (embed): New method.
11019         * gnu/java/awt/peer/gtk/GtkScrollPanePeer.java,
11020         jni/gtk-peer/gnu_java_awt_peer_gtk_GtkScrollPanePeer.c
11021         (create(int, int)): New method.
11022         (create): Call new create method.
11023         (gtkScrolledWindowNew, gtkScrolledWindowSetSize): Remove
11024         methods.
11025         (childResized): Remove native implementation.  Implement in
11026         Java.
11027         (getHScrollbarHeight, getVScrollbarWidth): Call
11028         gtk_widget_size_request to get scrollbar dimensions.
11029         * java/awt/ScrollPane.java (getViewportSize): Reimplement.  Only
11030         call getVScrollbarWidth and getHScrollbarHeight when vertical
11031         and horizontal scrollbars respectively are needed.
11032         (doLayout): Enlarge child if it is smaller than the viewport.
11034 2004-01-05  Fernando Nasser  <fnasser@redhat.com>
11036         * java/awt/Dialog.java (constructor): Accept null title as per spec.
11037         * java/awt/FileDialog.java (constructor): Throw exception on invalid
11038         argument as per spec.
11040 2004-01-05  Fernando Nasser  <fnasser@redhat.com>
11042         * java/awt/Choice.java (add): Leave posting of ItemEvents to peer.
11043         (insert): Ditto.
11044         (remove): Ditto.  Also, Check for valid argument.
11045         (removeAll): Use peer interface method.
11046         * gnu/java/awt/peer/gtk/GtkChoicePeer.java (nativeAdd): New name for
11047         native add function.
11048         (nativeRemove): New name for native remove function.
11049         (getHistory): New native function.
11050         (constructor): Generate ItemEvent.
11051         (add): Ditto, if selection is changed.
11052         (remove): Ditto, ditto.
11053         (removeAll): Add implementation.
11054         (handleEvent): Remove.  Dead code.
11055         (choicePostItemEvent): Add comment.
11056         * jni/gtk-peer/gnu_java_awt_peer_gtk_GtkChoicePeer.c
11057         (Java_gnu_java_awt_peer_gtk_GtkChoicePeer_append): Add comments.
11058         (Java_gnu_java_awt_peer_gtk_GtkChoicePeer_add): Rename to...
11059         (Java_gnu_java_awt_peer_gtk_GtkChoicePeer_nativeAdd): New name.  Add
11060         comments and fix condition to change selection.
11061         (Java_gnu_java_awt_peer_gtk_GtkChoicePeer_remove): Rename to...
11062         (Java_gnu_java_awt_peer_gtk_GtkChoicePeer_nativeRemove): New name.  Add
11063         remove all capability.
11064         (Java_gnu_java_awt_peer_gtk_GtkChoicePeer_getHistory): New function.
11065         (item_activate): Add cast to remove compiler warning.
11067 2004-01-05  Thomas Fitzsimmons  <fitzsim@redhat.com>
11069         * gnu/java/awt/peer/gtk/GtkComponentPeer.java,
11070         jni/gtk-peer/gnu_java_awt_peer_gtk_GtkComponentPeer.c
11071         (getPreferredSize): Call preferredSize.
11072         (preferredSize): Call gtkWidgetGetPreferredDimensions.
11073         (getMinimumSize): Call minimumSize.
11074         (minimumSize): Call gtkWidgetGetPreferredDimensions.
11075         (gtkWidgetGetDimensions): Return the peer widget's current size
11076         request.
11077         (gtkWidgetGetPreferredDimensions): Return the peer widget's
11078         natural size request.
11080 2004-01-05  Sascha Brawer  <brawer@dandelis.ch>
11082         Thanks to Brian Gough <bjg@network-theory.com>
11083         * java/awt/geom/CubicCurve2D.java (solveCubic): Implemented.
11084         * java/awt/geom/QuadCurve2D.java (solveQuadratic): Re-written.
11086 2004-01-04  Matthias Klose  <doko@debian.org>
11088         * aclocal.m4: Rebuilt using "aclocal -I .".
11089         * configure: Rebuilt.
11091 2004-01-03  Per Bothner  <per@bothner.com>
11093         * java/util/Date.java (parse):  Fix a number of problems.
11094         (skipParens):  Remove no-longer-needed method.