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