* class.c (ident_subst): Always alloca buffer.
[official-gcc.git] / libjava / ChangeLog
blobfb55ee6a3ccc0634d45bb7dab7a0b767517bd30f
1 2004-10-17  Michael Koch  <konqueror@gmx.de>
3         * java/net/BindException.java,
4         java/net/ConnectException.java,
5         java/net/ContentHandler.java,
6         java/net/ContentHandlerFactory.java,
7         java/net/DatagramPacket.java,
8         java/net/DatagramSocket.java,
9         java/net/DatagramSocketImpl.java,
10         java/net/DatagramSocketImplFactory.java,
11         java/net/FileNameMap.java,
12         java/net/HttpURLConnection.java,
13         java/net/MalformedURLException.java,
14         java/net/MulticastSocket.java,
15         java/net/NetworkInterface.java,
16         java/net/NoRouteToHostException.java,
17         java/net/PasswordAuthentication.java,
18         java/net/PortUnreachableException.java,
19         java/net/ProtocolException.java,
20         java/net/ServerSocket.java,
21         java/net/Socket.java,
22         java/net/SocketException.java,
23         java/net/SocketImpl.java,
24         java/net/SocketImplFactory.java,
25         java/net/SocketOptions.java,
26         java/net/SocketPermission.java,
27         java/net/SocketTimeoutException.java,
28         java/net/URI.java,
29         java/net/URISyntaxException.java,
30         java/net/URL.java,
31         java/net/URLDecoder.java,
32         java/net/URLEncoder.java,
33         java/net/URLStreamHandler.java,
34         java/net/URLStreamHandlerFactory.java,
35         java/net/UnknownHostException.java,
36         java/net/UnknownServiceException.java:
37         Big import statement and @author tag cleanup.
39 2004-10-17  Michael Koch  <konqueror@gmx.de>
41         * gnu/java/security/OID.java,
42         gnu/java/security/provider/DSAParameters.java,
43         gnu/java/security/provider/DSASignature.java,
44         gnu/java/security/x509/X500DistinguishedName.java,
45         gnu/java/security/x509/X509CRL.java:
46         Import statements cleaned up.
48 2004-10-16  Michael Koch  <konqueror@gmx.de>
50         * gnu/java/nio/NIODatagramSocket.java,
51         gnu/java/nio/ServerSocketChannelImpl.java:
52         Reorganized import statements.
54 2004-10-16  Michael Koch  <konqueror@gmx.de>
56         * gnu/java/rmi/RMIMarshalledObjectOutputStream.java
57         gnu/java/rmi/rmic/RMIC.java,
58         gnu/java/rmi/server/RMIHashes.java,
59         gnu/java/rmi/server/RMIObjectInputStream.java,
60         gnu/java/rmi/server/RMIObjectOutputStream.java,
61         gnu/java/rmi/server/UnicastConnection.java,
62         gnu/java/rmi/server/UnicastConnectionManager.java,
63         gnu/java/rmi/server/UnicastRemoteCall.java,
64         gnu/java/rmi/server/UnicastServer.java,
65         gnu/java/rmi/server/UnicastServerRef.java,
66         java/rmi/MarshalledObject.java,
67         java/rmi/Naming.java,
68         java/rmi/RMISecurityManager.java,
69         java/rmi/Remote.java,
70         java/rmi/activation/Activatable.java,
71         java/rmi/activation/ActivationDesc.java,
72         java/rmi/activation/ActivationGroup.java,
73         java/rmi/activation/ActivationGroupDesc.java,
74         java/rmi/activation/ActivationGroupID.java,
75         java/rmi/activation/ActivationID.java,
76         java/rmi/activation/ActivationInstantiator.java,
77         java/rmi/activation/ActivationMonitor.java,
78         java/rmi/activation/ActivationSystem.java,
79         java/rmi/activation/Activator.java,
80         java/rmi/dgc/DGC.java,
81         java/rmi/dgc/Lease.java,
82         java/rmi/dgc/VMID.java,
83         java/rmi/registry/LocateRegistry.java,
84         java/rmi/registry/Registry.java,
85         java/rmi/registry/RegistryHandler.java,
86         java/rmi/server/LoaderHandler.java,
87         java/rmi/server/LogStream.java,
88         java/rmi/server/ObjID.java,
89         java/rmi/server/Operation.java,
90         java/rmi/server/RMIClassLoader.java,
91         java/rmi/server/RMIClassLoaderSpi.java,
92         java/rmi/server/RMIClientSocketFactory.java,
93         java/rmi/server/RMIFailureHandler.java,
94         java/rmi/server/RMIServerSocketFactory.java,
95         java/rmi/server/RMISocketFactory.java,
96         java/rmi/server/RemoteCall.java,
97         java/rmi/server/RemoteObject.java,
98         java/rmi/server/RemoteRef.java,
99         java/rmi/server/RemoteServer.java,
100         java/rmi/server/RemoteStub.java,
101         java/rmi/server/ServerRef.java,
102         java/rmi/server/Skeleton.java,
103         java/rmi/server/SkeletonMismatchException.java,
104         java/rmi/server/UID.java,
105         java/rmi/server/UnicastRemoteObject.java,
106         java/rmi/server/Unreferenced.java:
107         File headers and import statements cleaned up.
109 2004-10-16  Michael Koch  <konqueror@gmx.de>
111         * libjava/gnu/java/nio/charset/UTF_16.java,
112         libjava/gnu/java/nio/charset/UTF_16BE.java,
113         libjava/gnu/java/nio/charset/UTF_16LE.java,
114         libjava/java/nio/ByteOrder.java,
115         libjava/java/nio/MappedByteBuffer.java,
116         libjava/java/nio/channels/Channels.java,
117         libjava/java/nio/channels/spi/SelectorProvider.java,
118         libjava/java/nio/charset/Charset.java:
119         Cleanup.
121 2004-10-16  Michael Koch  <konqueror@gmx.de>
123         * gnu/java/nio/charset/UTF_16Encoder.java
124         (UTF_16Encoder): Fixed maxBytesPerChar handling.
126 2004-10-16  Michael Koch  <konqueror@gmx.de>
128         * java/math/BigDecimal.java, java/math/BigInteger.java:
129         Reorganized import statements, removed redundant and
130         reorganized modifiers.
132 2004-10-16  Michael Koch  <konqueror@gmx.de>
134         * gnu/java/beans/ExplicitBeanInfo.java:
135         Explicitely import java.awt.Image.
136         (getIcon): Fixed off-by-one error.
138 2004-10-15  Andrew Haley  <aph@redhat.com>
140         * Makefile.am (nat_files, xlib_nat_files): New.
141         * Makefile.in: Regenerate.
143 2004-10-14  Ulrich Weigand  <uweigand@de.ibm.com>
145         * jni.cc (_Jv_JNIMethod::call): Use ffi_java_raw_call instead of
146         ffi_raw_call if FFI_NATIVE_RAW_API is not defined.
148 2004-10-13  Andrew Haley  <aph@redhat.com>
150         * interpret.cc (_Jv_InterpMethod::run): Initialize
151         _Jv_StartOfInterpreter.
152         (_Jv_StartOfInterpreter, _Jv_EndOfInterpreter): Functions removed.
153         (_Jv_StartOfInterpreter, _Jv_EndOfInterpreter): New variables.
154         * gnu/gcj/runtime/natStackTrace.cc (fillInStackTrace): Use
155         _Unwind_FindEnclosingFunction to discover whether PC is within the
156         interpreter.
158 2004-10-12  Rutger Ovidius  <ovidr@users.sourceforge.net>
160         PR libgcj/17903:
161         * testsuite/libjava.lang/md5test.java: New file.
162         * testsuite/libjava.lang/md5test.out: Likewise.
163         * testsuite/libjava.lang/shatest.java: Likewise.
164         * testsuite/libjava.lang/shatest.out: Likewise.
166 2004-10-11  Richard Henderson  <rth@redhat.com>
168         * include/posix-threads.h <__alpha__> (_Jv_ThreadId_t): Use void*.
169         (_Jv_ThreadSelf): Use __builtin_thread_pointer.
171 2004-10-08  Bryce McKinlay  <mckinlay@redhat.com>
173         * java/util/Calendar.java (set): Invalidate DST_OFFSET
174         field as a DST boundary may have been crossed.
175         * java/util/GregorianCalendar.java (add): Throw 
176         IllegalArgumentException on attempt to add to DST_OFFSET or 
177         ZONE_OFFSET fields. Update javadoc.
179 2004-10-09  Michael Koch  <konqueror@gmx.de>
181         * java/io/CharArrayWriter.java
182         (resize): Removed redundant 'final' modifier.
183         * java/io/DataInputStream.java
184         (readFully): Throw IndexOutOfBoundsException of len < 0.
185         * java/io/FileDescriptor.java,
186         java/io/FileInputStream.java,
187         java/io/FileOutputStream.java,
188         java/io/ObjectOutputStream.java,
189         java/io/ObjectStreamClass.java,
190         java/io/PipedInputStream.java,
191         java/io/RandomAccessFile.java:
192         Reorganized import statements.
194 2004-10-09  Michael Koch  <konqueror@gmx.de>
196         * gnu/java/rmi/rmic/RMIC.java,
197         gnu/java/rmi/server/RMIHashes.java,
198         gnu/java/rmi/server/RMIObjectInputStream.java,
199         gnu/java/rmi/server/UnicastConnection.java,
200         gnu/java/rmi/server/UnicastConnectionManager.java,
201         gnu/java/rmi/server/UnicastRemoteCall.java,
202         gnu/java/rmi/server/UnicastServerRef.java:
203         Reworked import statements and fixed file headers.
205 2004-10-04  Loren J. Rittle  <ljrittle@acm.org>
207         * configure.ac (*-*-freebsd[[1234]]*): Refine error message
208         emission rule.
209         * configure: Rebuilt.
211 2004-09-30  Tom Tromey  <tromey@redhat.com>
213         * java/text/MessageFormat.java (Field): Constructor now
214         protected.
216 2004-09-30  Tom Tromey  <tromey@redhat.com>
218         * javax/crypto/MacSpi.java: Fixed typo.
220 2004-09-30  Michael Koch  <konqueror@gmx.de>
222         * java/net/InetAddress.java: Reformatted.
223         (loopback): Initialize with Inet4Address object.
224         (static): Initialize ANY_IF with Inet4Address object.
225         (InetAddress): Removed unused package-private constructor.
227 2004-09-30  Michael Koch  <konqueror@gmx.de>
229         * java/beans/Beans.java,
230         java/beans/EventHandler.java,
231         java/beans/EventSetDescriptor.java,
232         java/beans/Introspector.java,
233         java/beans/PropertyEditorManager.java,
234         java/beans/beancontext/BeanContext.java,
235         java/beans/beancontext/BeanContextChild.java,
236         java/beans/beancontext/BeanContextChildSupport.java,
237         java/beans/beancontext/BeanContextMembershipEvent.java:
238         Reordered import statements and removed redundant modifiers.
240 2004-09-29  Tom Tromey  <tromey@redhat.com>
242         PR libgcj/17715:
243         * Makefile.in: Rebuilt.
244         * Makefile.am (libgcj-@gcc_version@.jar): Include properties
245         files.
246         (all_property_files): New macro.
248         * Makefile.in: Rebuilt.
249         * Makefile.am (ordinary_java_source_files): Re-sorted.
250         (libgcj.la): Moved to old location near lib-gnu-awt-xlib.la.
252 2004-09-28  Tom Tromey  <tromey@redhat.com>
254         * jni.cc (_Jv_JNI_RegisterNatives): Formatting fixlets.
256         PR libgcj/17222:
257         * Makefile.am (libgcj.la): Restored.
258         * Makefile.in: Rebuilt.
260 2004-09-28  Michael Koch  <konqueror@gmx.de>
262         * java/net/URLConnection.java: Reformatted.
263         * java/net/URLClassLoader.java: Reformatted.
264         (getContent): Reordered return of content.
265         (getContentHandler): Don't check for null explicitely.
267 2004-09-27  Michael Koch  <konqueror@gmx.de>
269         * java/io/BufferedInputStream.java
270         (BufferedInputStream): Added Jeroen Frijters to authors.
271         (count): Don't explicitely initialize with default value.
272         (pos): Likewise.
273         (marklimit): Likewise.
274         (read): Changed boolean expression to match GNU classpath' version.
275         (reset): Add proper message to exception.
276         (skip): Check for closed stream.
277         (refill): Likewise.
279 2004-09-26  Per Bothner  <per@bothner.com>
281         * prims.cc (unblock_signal): Annotate signum with __unused__ to
282         avoid warnings in the non-POSIX_VERSION case.
283         Also, we only need this function if either HANDLE_SEGV or HANDLE_FPE,
284         so place it inside an #if block.
285         * include/default-signal.h (SIGNAL_HANDLER): Parameters are __unused__.
286         * include/i386-signal.h (SIGNAL_HANDLER):  Likewise
287         * include/mips-signal.h (SIGNAL_HANDLER):  Likewise
288         * include/sparc-signal.h (SIGNAL_HANDLER):  Likewise
290 2004-09-26  Per Bothner  <per@bothner.com>
292         * prims.cc (process_gcj_properties):  Optimization.
294 2004-09-26  Per Bothner  <per@bothner.com>
296         * java/util/Collections.java (sort):  Copy from array in forwards
297         order, rather than reverse order which may be much less efficient.
299 2004-09-26  Mark Wielaard  <mark@klomp.org>
301         * java/lang/System.java (properties): Make package private.
302         * java/lang/Throwable.java (StaticData.nl): Initialize through
303         directly accessing System.properties.getProperty().
305         * java/lang/Throwable.java (nl): Remove static field.
306         (StaticData): New private static inner class.
307         (stackTraceStringBuffer): Use StaticData.nl.
309 2004-09-26  Casey Marshall <csm@gnu.org>
311         * java/security/ProtectionDomain.java
312         (<init>(CodeSource,PermissionCollection)): set `staticBinding' to
313         `true'.
315         * java/security/SecureClassLoader.java
316         (defineClass): make protection domain dynamically bound.
317         (getPermissions): call `getCurrentPolicy' to avoid permission
318         check.
320 2004-09-25  Mark Wielaard  <mark@klomp.org>
322         * Makefile.am (core_java_source_files): Add VMTimeZone.java.
323         (nat_source_files): Rename natTimeZone.cc to natVMTimeZone.cc.
324         * Makefile.in: Regenerated.
326         * gcj/javaprims.h: Regenerated.
328         * java/util/TimeZone.java (defaultZone): Use VMTimeZone.
329         (getDefaultTimeZone): Make package private. Check that GMToffset
330         contains at least one digit.
331         (getDefaultTimeZoneId, readTimeZoneFile, readtzFile): (Re)Moved to
332         VMTimeZone.
333         * util/VMTimeZone.java: New file with above methods.
335         * java/util/natTimeZone.cc: Removed (renamed).
336         * java/util/natVMTimeZone.cc: Added (renamed).
338 2004-09-25  Jeroen Frijters  <jeroen@frijters.net>
340         * java/util/TimeZone.java
341         (getDefaultTimeZone): Fixed test to distinguish between hours and
342         minutes in specified timezone.
344 2004-09-25  Jeroen Frijters  <jeroen@frijters.net>
346         * java/lang/reflect/Proxy.java (getPackage, ClassFactory): Fixed
347         handling of default package. (generate): Removed confused comments
348         and code about making Method and Field accessible.
350 2004-09-25  Tom Tromey  <tromey@redhat.com>
352         PR java/17500:
353         * testsuite/libjava.compile/pr17500.java: New file.
355 2004-09-25  Shashank Bapat  <shashankbapat@yahoo.com>
356             Mark Wielaard  <mark@klomp.org>
358         * gnu/regexp/RE.java (initialize): Add RETokenLookAhead support.
359         * gnu/regexp/RETokenLookAhead.java: New file.
361         * Makefile.am (ordinary_java_source_files): Add RETokenLookAhead.java.
362         * Makefile.in: Regenerated.
364 2004-09-25  Michael Koch  <konqueror@gmx.de>
366         * java/io/ObjectStreamField.java:
367         Removed unused import statement.
369 2004-09-24  Tom Tromey  <tromey@redhat.com>
371         PR java/15656:
372         * testsuite/libjava.compile/pr15656.xfail: New file.
373         * testsuite/libjava.compile/pr15656.java: new file.
375         PR java/16789:
376         * testsuite/libjava.lang/pr16789.out: New file.
377         * testsuite/libjava.lang/pr16789.java: New file.
379 2004-09-24  Andrew Haley  <aph@redhat.com>
381         PR java/16927
382         * testsuite/libjava.compile/AssertBug.java: New file.
384 2004-09-24  Casey Marshall <csm@gnu.org>
386         * java/util/PropertyPermissionCollection.java
387         (implies): avoid infinite loop.
389 2004-09-24  Andrew John Hughes  <gnu_andrew@member.fsf.org>
391         * javax/security/auth/PrivateCredentialPermission.java
392         (PrivateCredentialPermission): added serialization UID
395 2004-09-24  Ilya Perminov  <iperminov@logicalsoft.com>
397         * gnu/java/rmi/server/UnicastServer.java
398         (incomingMessageCall): Added code to handle Errors.
399         * gnu/java/rmi/server/UnicastServerRef.java
400         (incomingMessageCall): Added code to handle Errors.
403 2004-09-24  Tom Tromey  <tromey@redhat.com>
405         * java/lang/ClassLoader.java (loadedClasses): Declare as HashMap.
406         (definedPackages): Likewise.
408 2004-09-24  Michael Koch  <konqueror@gmx.de>
410         * java/io/ObjectInputStream.java:
411         Re-ordered imports.
413 2004-09-24  Casey Marshall <csm@gnu.org>
415         * java/io/ObjectInputStream.java (callReadMethod): re-throw
416         `ClassNotFoundException'.
418 2004-09-24  Jeroen Frijters  <jeroen@frijters.net>
420         * java/io/ObjectInputStream.java (readObject): Delegate instantation
421         of Externalizable classes to ObjectStreamClass.
422         * java/io/ObjectStreamClass.java (newInstance): New method to
423         instantiate Externalizable (while ignoring the accessibility of
424         the constructor). (constructor): New field to cache the constructor.
426 2004-09-24  Mark Wielaard  <mark@klomp.org>
428         * java/net/URL.java (systemClassLoader): New static field.
429         (getURLStreamHandler): Always use system/application classloader
430         for finding URLStreamhandler. Remove unecessary instanceof checks.
432 2004-09-24  Guilhem Lavaux <guilhem@kaffe.org>
434         * java/net/URL.java
435         (set): This method now matches the behaviour of the JDK.
436         (DEFAULT_SEARCH_PATH): Added "gnu.inet".
438 2004-09-24  Guilhem Lavaux  <guilhem@kaffe.org>
440         * java/net/URL.java (URL): Delete whitespaces in the protocol string.
442 2004-09-24  Jeroen Frijters  <jeroen@frijters.net>
444         * java/net/URL.java (URL(String,String,int,String,URLStreamHandler):
445         Don't set authority if host isn't specified.
447 2004-09-24  Michael Koch  <konqueror@gmx.de>
449         * gnu/java/nio/PipeImpl.java: Use VMPipe for native stuff.
450         * gnu/java/nio/SelectorImpl.java: Use VMSelector for native stuff.
451         * gnu/java/nio/VMPipe.java,
452         gnu/java/nio/VMSelector.java:
453         New files.
454         * gnu/java/nio/natPipeImplEcos.cc,
455         gnu/java/nio/natPipeImplPosix.cc,
456         gnu/java/nio/natPipeImplWin32.cc:
457         Ported to VMPipe.
458         * gnu/java/nio/natSelectorImplEcos.cc,
459         gnu/java/nio/natSelectorImplPosix.cc,
460         gnu/java/nio/natSelectorImplWin32.cc:
461         Ported to VMSelector.
462         * Makefile.am: Added new files gnu/java/nio/VMPipe.java and
463         gnu/java/nio/VMSelector.java.
464         * Makefile.in: Regenerated.
466 2004-09-24  Jeroen Frijters  <jeroen@frijters.net>
468         * java/lang/StackTraceElement.java
469         (className): Renamed field to declaringClass to be compatible
470         with Sun serialization format.
472 2004-09-23  Michael Koch  <konqueror@gmx.de>
474         * java/applet/AppletContext.java,
475         java/applet/Applet.java,
476         java/applet/AppletStub.java,
477         java/applet/AudioClip.java:
478         Jalopied and checkstyle clean.
480 2004-09-23  Mark Wielaard  <mark@klomp.org>
482         * java/util/Collections.java
483         (binarySearch(List, Object, Comparator)): Explicitly
484         reverse direction in list iterator.
485         (rotate): Just return when list is empty.
487 2004-09-23  Tom Tromey  <tromey@redhat.com>
489         PR java/17329:
490         * testsuite/libjava.compile/pr17329.java: New file.
492         PR java/17380:
493         * testsuite/libjava.jacks/jacks.xfail: Added 9.2-implicit-6 and
494         9.2-implicit-7.
496 2004-09-22  Kelley Cook  <kcook@gcc.gnu.org>
498         * Makefile.am: Run aclocal with -I ../config
499         * acinclude.m4: Delete macros picked up from ../config and tidy.
500         (AM_ICONV,AM_LC_MESSAGES, PKG_CHECK_MODULES): Delete.
501         * aclocal.m4, configure, Makefile.in, gcj/Makefile.in: Regenerate.
502         * include/Makefile.in, testsuite/Makefile.in: Regenerate.
504 2004-09-22  Kelley Cook  <kcook@gcc.gnu.org>
506         * aclocal.m4: Regenerate with aclocal 1.9.2.
507         * configure: Regenerate.
508         * Makefile.in, gcj/Makefile.in: Regenerate with automake 1.9.2.
509         * include/Makefile.in, testsuite/Makefile.in: Likewise.
511 2004-09-22  David Daney  <ddaney@avtrex.com>
513         PR libgcj/17623
514         * java/net/URL.java (URL): Copy userInfo from context.
515         (getUserInfo): Return cached userInfo if present.
517 2004-09-22  Tom Tromey  <tromey@redhat.com>
519         PR libgcj/6182:
520         * mauve-libgcj: Enable java.lang.Character tests.
522 2004-09-22  Andreas Tobler  <a.tobler@schweiz.ch>
524         * Makefile.am (lib_org_ietf_jgss_la_DEPENDENCIES): Add missing
525         dependencies.
526         (lib_org_ietf_jgss_la_LIBADD): Likewise.
527         * Makefile.in: Regenerated.
529 2004-09-22  Andreas Tobler  <a.tobler@schweiz.ch>
531         * configure.ac: Introduce AC_C_BIGENDIAN_CROSS for WORDS_BIGENDIAN.
532         * configure: Regenerate.
533         * include/config.h.in: Likewise.
534         * jni/gtk-peer/gtkpeer.h (SWAPU32): Introduce macro to swap pixels.
535         * jni/gtk-peer/gnu_java_awt_peer_gtk_GtkImagePainter.c: Moved SWAPU32
536         macro to gtkpeer.h.
537         * jni/gtk-peer/gnu_java_awt_peer_gtk_GdkGraphics2D.c
538         (Java_gnu_java_awt_peer_gtk_GdkGraphics2D_getImagePixels): Convert
539         pixels from  0xBBGGRRAA to 0xAARRGGBB only on Little Endian
540         architectures.
541         * jni/gtk-peer/gnu_java_awt_peer_gtk_GdkPixbufDecoder.c (area_updated):
542         Likewise.
544 2004-09-22  Tom Tromey  <tromey@redhat.com>
546         PR libgcj/14446:
547         * java/util/zip/GZIPInputStream.java (read): Avoid sign extension
548         when comparing CRCs.
549         * java/util/zip/InflaterInputStream.java (onebytebuffer): New
550         field.
551         (read()): New overload.
553 2004-09-21  Tom Tromey  <tromey@redhat.com>
555         * java/lang/reflect/natMethod.cc (_Jv_CallAnyMethodA):
556         Indentation fix.
558 2004-09-21  Michael Koch  <konqueror@gmx.de>
560         * java/net/Socket.java
561         (getLocalAddress): Return InetAddress.ANY_IF if not bound yet.
563 2004-09-21  Casey Marshall  <csm@gnu.org>
565         * javax/crypto/MacSpi.java (clone): Provide meaningful
566         implementation.
568 2004-09-21  Tom Tromey  <tromey@redhat.com>
570         PR libgcj/16869:
571         * Makefile.in: Rebuilt.
572         * Makefile.am (MOSTLYCLEANFILES): Removed.
573         (mostlyclean-local): Remove header files.
575 2004-09-21  Casey Marshall  <csm@gnu.org>
577         * java/security/cert/X509CRLSelector.java:
578         (match): remove unreachable try-catch clauses.
579         Reported by: Dalibor Topic <robilad@kaffe.org>
581 2004-09-21  Mark Wielaard  <mark@klomp.org>
583         * java/util/TreeMap.java (root): Don't initialize.
584         (TreeMap(Comparator)): Call fabricateTree(0).
585         (fabricateTree): Initialize root and size when count is 0.
587 2004-09-21  Sven de Marothy <sven@physto.se>
589         * java/nio/ByteBuffer.java (hashCode): Implemented.
590         * java/nio/CharBuffer.java: Likewise.
591         * java/nio/DoubleBuffer.java: Likewise.
592         * java/nio/FloatBuffer.java: Likewise.
593         * java/nio/LongBuffer.java: Likewise.
594         * java/nio/IntBuffer.java: Likewise.
595         * java/nio/ShortBuffer.java: Likewise.
597 2004-09-21  Andreas Tobler  <a.tobler@schweiz.ch>
599         * javax/security/auth/x500/X500Principal.java: Fix some merge glitches.
601 2004-09-21  Michael Koch  <konqueror@gmx.de>
603         * javax/net/ssl/SSLServerSocket.java:
604         Removed comment about "Do not edit this file, it's generated.".
606 2004-09-21  Andreas Tobler  <a.tobler@schweiz.ch>
608         Import the big Crypto/Jessie/Security merge from Classpath.
610         * Makefile.am: Add imported files.
611         * Makefile.in: Regenerate.
613         2004-08-14  Casey Marshall <csm@gnu.org>
615         The Big Crypto Merge of 2004.
617         * javax/security/auth/x500/X500Principal.java: Replaced with GNU
618         Crypto's version.
620         Files imported from GNU Crypto.
621         * javax/crypto/BadPaddingException.java
622         * javax/crypto/Cipher.java
623         * javax/crypto/CipherInputStream.java
624         * javax/crypto/CipherOutputStream.java
625         * javax/crypto/CipherSpi.java
626         * javax/crypto/EncryptedPrivateKeyInfo.java
627         * javax/crypto/ExemptionMechanism.java
628         * javax/crypto/ExemptionMechanismException.java
629         * javax/crypto/ExemptionMechanismSpi.java
630         * javax/crypto/IllegalBlockSizeException.java
631         * javax/crypto/KeyAgreement.java
632         * javax/crypto/KeyAgreementSpi.java
633         * javax/crypto/KeyGenerator.java
634         * javax/crypto/KeyGeneratorSpi.java
635         * javax/crypto/Mac.java
636         * javax/crypto/MacSpi.java
637         * javax/crypto/Makefile.am
638         * javax/crypto/NoSuchPaddingException.java
639         * javax/crypto/NullCipher.java
640         * javax/crypto/NullCipherImpl.java
641         * javax/crypto/SealedObject.java
642         * javax/crypto/SecretKey.java
643         * javax/crypto/SecretKeyFactory.java
644         * javax/crypto/SecretKeyFactorySpi.java
645         * javax/crypto/ShortBufferException.java
646         * javax/crypto/interfaces/DHKey.java
647         * javax/crypto/interfaces/DHPrivateKey.java
648         * javax/crypto/interfaces/DHPublicKey.java
649         * javax/crypto/interfaces/PBEKey.java
650         * javax/crypto/spec/DESKeySpec.java
651         * javax/crypto/spec/DESedeKeySpec.java
652         * javax/crypto/spec/DHGenParameterSpec.java
653         * javax/crypto/spec/DHParameterSpec.java
654         * javax/crypto/spec/DHPrivateKeySpec.java
655         * javax/crypto/spec/DHPublicKeySpec.java
656         * javax/crypto/spec/IvParameterSpec.java
657         * javax/crypto/spec/PBEKeySpec.java
658         * javax/crypto/spec/PBEParameterSpec.java
659         * javax/crypto/spec/RC2ParameterSpec.java
660         * javax/crypto/spec/RC5ParameterSpec.java
661         * javax/crypto/spec/SecretKeySpec.java
662         * javax/security/auth/AuthPermission.java
663         * javax/security/auth/DestroyFailedException.java
664         * javax/security/auth/Destroyable.java
665         * javax/security/auth/Policy.java
666         * javax/security/auth/PrivateCredentialPermission.java
667         * javax/security/auth/RefreshFailedException.java
668         * javax/security/auth/Refreshable.java
669         * javax/security/auth/Subject.java
670         * javax/security/auth/SubjectDomainCombiner.java
671         * javax/security/auth/callback/Callback.java
672         * javax/security/auth/callback/CallbackHandler.java
673         * javax/security/auth/callback/ChoiceCallback.java
674         * javax/security/auth/callback/ConfirmationCallback.java
675         * javax/security/auth/callback/LanguageCallback.java
676         * javax/security/auth/callback/NameCallback.java
677         * javax/security/auth/callback/PasswordCallback.java
678         * javax/security/auth/callback/TextInputCallback.java
679         * javax/security/auth/callback/TextOutputCallback.java
680         * javax/security/auth/callback/UnsupportedCallbackException.java
681         * javax/security/auth/login/AccountExpiredException.java
682         * javax/security/auth/login/AppConfigurationEntry.java
683         * javax/security/auth/login/Configuration.java
684         * javax/security/auth/login/CredentialExpiredException.java
685         * javax/security/auth/login/FailedLoginException.java
686         * javax/security/auth/login/LoginContext.java
687         * javax/security/auth/login/LoginException.java
688         * javax/security/auth/login/NullConfiguration.java
689         * javax/security/auth/x500/X500PrivateCredential.java
690         * javax/security/sasl/AuthenticationException.java
691         * javax/security/sasl/AuthorizeCallback.java
692         * javax/security/sasl/RealmCallback.java
693         * javax/security/sasl/RealmChoiceCallback.java
694         * javax/security/sasl/Sasl.java
695         * javax/security/sasl/SaslClient.java
696         * javax/security/sasl/SaslClientFactory.java
697         * javax/security/sasl/SaslException.java
698         * javax/security/sasl/SaslServer.java
699         * javax/security/sasl/SaslServerFactory.java
700         * org/ietf/jgss/ChannelBinding.java
701         * org/ietf/jgss/GSSContext.java
702         * org/ietf/jgss/GSSCredential.java
703         * org/ietf/jgss/GSSException.java
704         * org/ietf/jgss/GSSManager.java
705         * org/ietf/jgss/GSSName.java
706         * org/ietf/jgss/MessageProp.java
707         * org/ietf/jgss/Oid.java
708         * org/ietf/jgss/MessagesBundle.properties
710         Files imported from Jessie <http://www.nongnu.org/jessie/>
711         * javax/net/ServerSocketFactory.java
712         * javax/net/SocketFactory.java
713         * javax/net/VanillaServerSocketFactory.java
714         * javax/net/VanillaSocketFactory.java
715         * javax/net/ssl/HandshakeCompletedEvent.java
716         * javax/net/ssl/HandshakeCompletedListener.java
717         * javax/net/ssl/HostnameVerifier.java
718         * javax/net/ssl/HttpsURLConnection.java
719         * javax/net/ssl/KeyManager.java
720         * javax/net/ssl/KeyManagerFactory.java
721         * javax/net/ssl/KeyManagerFactorySpi.java
722         * javax/net/ssl/ManagerFactoryParameters.java
723         * javax/net/ssl/SSLContext.java
724         * javax/net/ssl/SSLContextSpi.java
725         * javax/net/ssl/SSLException.java
726         * javax/net/ssl/SSLHandshakeException.java
727         * javax/net/ssl/SSLKeyException.java
728         * javax/net/ssl/SSLPeerUnverifiedException.java
729         * javax/net/ssl/SSLPermission.java
730         * javax/net/ssl/SSLProtocolException.java
731         * javax/net/ssl/SSLServerSocket.java
732         * javax/net/ssl/SSLServerSocketFactory.java
733         * javax/net/ssl/SSLSession.java
734         * javax/net/ssl/SSLSessionBindingEvent.java
735         * javax/net/ssl/SSLSessionBindingListener.java
736         * javax/net/ssl/SSLSessionContext.java
737         * javax/net/ssl/SSLSocket.java
738         * javax/net/ssl/SSLSocketFactory.java
739         * javax/net/ssl/TrivialHostnameVerifier.java
740         * javax/net/ssl/TrustManager.java
741         * javax/net/ssl/TrustManagerFactory.java
742         * javax/net/ssl/TrustManagerFactorySpi.java
743         * javax/net/ssl/X509KeyManager.java
744         * javax/net/ssl/X509TrustManager.java
745         * javax/security/cert/Certificate.java
746         * javax/security/cert/CertificateEncodingException.java
747         * javax/security/cert/CertificateException.java
748         * javax/security/cert/CertificateExpiredException.java
749         * javax/security/cert/CertificateNotYetValidException.java
750         * javax/security/cert/CertificateParsingException.java
751         * javax/security/cert/X509CertBridge.java
752         * javax/security/cert/X509Certificate.java
754         2004-08-20  Casey Marshall  <csm@gnu.org>
756         * java/security/cert/X509CRLSelector.java: New file.
757         * java/security/cert/X509CertSelector.java: New file.
759 2004-09-15  Michael Koch  <konqueror@gmx.de>
761         * gnu/java/net/protocol/file/Handler.java
762         (openConnection): Don't throw exception if host part for file: URI is
763         present. setURL() keeps file: protocol if ftp: protocol is not
764         available.
766 2004-09-14  Richard Henderson  <rth@redhat.com>
768         * java/lang/natPosixProcess.cc (waitForSignal): Ignore return
769         value of sigsuspend.
771 2004-09-12  Tom Tromey  <tromey@redhat.com>
773         * javax/naming/CompoundName.java (CompoundName): Don't check for
774         separator in "flat" case.
776 2004-09-12  Michael Koch  <konqueror@gmx.de>
778         * libltdl/configure.ac: Fixed AM_INIT_AUTOMAKE usage and replaces
779         AM_CONFIG_HEADER by AC_CONFIG_FILES.
780         * libltdl/Makefile.in, libltdl/aclocal.m4, libltdl/configure:
781         Regenerate.
783 2004-09-11  Mohan Embar  <gnustuff@thisiscool.com>
785         PR libgcj/14751
786         * win32-threads.cc (_Jv_ThreadInitData): Zero out thread
787         handle in newly-allocated _Jv_Thread_t.
788         (_Jv_ThreadDestroyData): Close thread handle.
789         (_Jv_ThreadStart): Remove obsolete comment.
790         Store handle of newly-created thread in _Jv_Thread_t.
791         * include/win32-threads.h: #define WIN32_LEAN_AND_MEAN
792         before including <windows.h>
793         #define _Jv_HaveCondDestroy
795 2004-09-11  Mohan Embar  <gnustuff@thisiscool.com>
797         * java/lang/natThread.cc (finalize_native): Destroy
798         join conditional variable and mutex if these destroy
799         operations are supported.
801 2004-09-10  Dalibor Topic <robilad@kaffe.org>
803         * gnu/java/net/protocol/file/Connection.java (permission): New field.
804         (DEFAULT_PERMISSION): New constant.
805         (Connection): Create a FilePermission with permission to read file.
807 2004-09-10  Michael Koch  <konqueror@gmx.de>
809         * gnu/java/net/protocol/file/Connection.java
810         (getLastModified): Moved around.
811         (getPermission): Return stored permission.
813 2004-09-10  Michael Koch  <konqueror@gmx.de>
815         * Makefile.in: Regenerate.
817 2004-09-10  Michael Koch  <konqueror@gmx.de>
819         * Makefile.am: Reverted accidently commited stuff.
820         * configure: Regenerated.
822 2004-09-10  Michael Koch  <konqueror@gmx.de>
824         * gnu/java/net/protocol/file/Connection.java
825         (lineSeparator): Made non-final.
826         (static): Removed.
827         (connect): Initialize lineSeparator lazily. Use ByteArrayInputStream
828         instead of StringBufferInputStream.
830 2004-09-10  Michael Koch  <konqueror@gmx.de>
832         * gnu/java/net/protocol/file/Connection.java
833         (connect): Handle file is a directory case.
835 2004-09-10  Michael Koch  <konqueror@gmx.de>
837         * Makefile.am
838         (xlib_includes): Removed.
839         (AM_CPPFLAGS): Renamed from INCLUDES.
840         (lib_gnu_awt_xlib_la_CPPFLAGS): New automake variable.
841         * Makefile.in: Regenerate.
843 2004-09-09  Michael Koch  <konqueror@gmx.de>
845         * java/security/ProtectionDomain.java,
846         * java/util/PropertyPermissionCollection.java:
847         Fixed javadocs all over.
849 2004-09-09  Sven de Marothy  <sven@physto.se>
851         Patch from David Gilbert <david.gilbert@object-refinery.com>
852         * java/lang/Comparable.java: Fixed documentation errors.
853         * java/util/Arrays.java: Likewise.
855 2004-09-09  Andrew John Hughes  <gnu_andrew@member.fsf.org>
857         * java/net/Inet4Address.java
858         (Inet4Address): Added comment to serialization UID.
859         * java/text/Format.java
860         (Format): Added comment to serialization UID.
862 2004-09-09  Michael Koch  <konqueror@gmx.de>
864         * java/lang/System.java
865         (err): Fixed javadoci to point to setErr() and not setOut().
867 2004-09-09  Jeroen Frijters  <jeroen@frijters.net>
869         (normalizePath): Added special case for windows systems.
871 2004-09-09  Michael Koch  <konqueror@gmx.de>
873         * java/io/File.java
874         (dupSeparator): Made private.
875         (File(URI)): New constructor.
876         (getParentFile): Fixed javadoc.
877         (createTempFile): Reformated.
878         (setReadOnly): Added comment.
879         (deleteOnExit): Merged javadoc with classpath version.
881 2004-09-09  Michael Koch  <konqueror@gmx.de>
883         * Makefile.am: Don't try to include deps.mk.
884         * Makefile.in: Regenerated.
886 2004-09-08  Bryce McKinlay  <mckinlay@redhat.com>
888         * configure.ac (AC_CONFIG_COMMANDS): Don't create subdirectories and
889         .d files.
890         * configure: Rebuilt.
892 2004-09-04  Mohan Embar  <gnustuff@thisiscool.com>
894         * java/net/natNetworkInterfaceWin32.cc (getRealNetworkInterfaces):
895         Changed pfn from static local to local.
897 2004-09-03  Bryce McKinlay  <mckinlay@redhat.com>
898             H.J. Lu  <hongjiu.lu@intel.com>
900         PR libgcj/17290
901         * Makefile.am (GCJCOMPILE): Remove definition.
902         (AM_CFLAGS): Add -fclasspath and -fbootclasspath flags.
903         Use LTGCJCOMPILE, not GCJCOMPILE, to build .lo targets.
904         * Makefile.in: Rebuilt.
906 2004-09-03  Kelley Cook  <kcook@gcc.gnu.org>
908         * configure.ac (enable-gc-debug): Update help for new syntax.
909         * configure: Regenerate.
911 2004-09-03  David Daney  <ddaney@avtrex.com>
913         * include/mips-signal.h: Update copyright.
915 2004-09-03  David Daney  <ddaney@avtrex.com>
917         * configure.host: Use -fno-use-divide-subroutine for mips*-*-linux*.
918         * include/mips-signal.h: Added HANDLE_FPE support.
919         
920 2004-08-31  Michael Koch  <konqueror@gmx.de>
922         * javax/swing/plaf/basic/BasicTextAreaUI.java
923         (create): New method.
924         * javax/swing/text/DefaultHighlighter.java
925         (DefaultHighlightPainter.debugRect): Removed.
926         * javax/swing/text/StyleContext.java
927         (DEFAULT_STYLE): New field.
929 2004-08-31  Michael Koch  <konqueror@gmx.de>
931         * javax/swing/plaf/basic/BasicLookAndFeel.java
932         (initComponentDefaults): Add keybindings for selection.backward and
933         selection-forward for text components.
934         * javax/swing/plaf/basic/BasicTextUI.java
935         (paintSafely): Paint highlight only when something is actually
936         selected.
937         * javax/swing/text/DefaultCaret.java
938         (handleHighlight): New method.
939         (setSelectionVisible): Don't do anything when nothing changes.
940         Handle highlight.
941         (moveDot): Reimplemented. Handle highlight.
942         (setDot): Set mark too. Handle highlight.
943         (getSelectionPainter): New method.
944         * javax/swing/text/DefaultEditorKit.java
945         (defaultActions): Added new actions for text selection.
946         * javax/swing/text/DefaultHighlighter.java
947         (DefaultHighlightPainter): New inner class.
948         (DefaultPainter): New field.
949         (paint): Implemented.
950         * javax/swing/text/PlainView.java
951         (paint): Don't draw background here again.
952         * javax/swing/text/Utilities.java
953         (getTabbedTextWidth): Use width of ' ' instead of 'm' for tabsize.
954         (drawTabbedText): Likewise.
956 2004-08-31  Graydon Hoare  <graydon@redhat.com>
958         * javax/swing/JComponent.java
959         (resetKeyboardActions): Add null checks.
961 2004-08-31  Graydon Hoare  <graydon@redhat.com>
963         * javax/swing/DefaultButtonModel.java:
964         Skip group notification when no group is set.
966 2004-08-31  Graydon Hoare  <graydon@redhat.com>
968         * javax/swing/JColorChooser.java: 
969         Make a couple inner classes static, for jikes.
971 2004-08-31  Michael Koch  <konqueror@gmx.de>
973         * javax/swing/plaf/basic/BasicTextUI.java
974         (RottView.modelToView): New method.
975         (UpdateHandler): Renamed from EventHandler.
976         (updateHandler): Renamed from eventHandler.
977         (modelToView): Implemented.
978         * javax/swing/text/AbstractDocument.java
979         (BranchElement.getElement): Return null for non-existing indeces.
980         (BranchElement.getElementIndex): Return 0 in some corner cases.
981         * javax/swing/text/FieldView.java
982         (modelToView): New method.
983         * javax/swing/text/PlainView.java
984         (modelToView): Made public.
986 2004-08-31  Kim Ho  <kho@redhat.com>
988         * Makefile.am: New files.
989         * Makefile.in: Regenerate.
990         * gcj/Makefile.in: Regenerate.
991         * include/Makefile.in: Regenerate.
992         * java/awt/Color.java: Fix documentation.
993         (RGBtoHSB): Use floats for conversions.
994         * javax/swing/ButtonGroup.java: Run Jalopy.
995         (setSelected): Reimplement.
996         * javax/swing/DefaultButtonModel.java: Run Jalopy.
997         (changeState): Let ButtonGroup know that the button 
998         is changing state.
999         * javax/swing/JColorChooser.java: Implement.
1000         * javax/swing/JLabel.java: Run Jalopy.
1001         * javax/swing/JSpinner.java: Run Jalopy.
1002         (setValue): New method.
1003         * javax/swing/JTabbedPane.java: Run Jalopy.
1004         (removeTabAt): Call correct remove method.
1005         * javax/swing/SpinnerNumberModel.java: Run Jalopy.
1006         (getPreviousValue): Compare minimum value.
1007         * javax/swing/Timer.java: Run Jalopy.
1008         (run): Comment out println.
1009         * javax/swing/ToolTipManager.java:
1010         (mouseMoved): Get new tooltip text for location.
1011         * javax/swing/colorchooser/AbstractColorChooserPanel.java:
1012         Jalopy and Javadoc.
1013         * javax/swing/colorchooser/ColorChooserComponentFactory.java:
1014         Implement.
1015         * javax/swing/colorchooser/DefaultColorSelectionModel.java:
1016         Run Jalopy.
1017         (setSelectedColor): Fire ChangeEvent.
1018         * javax/swing/colorchooser/DefaultHSBChooserPanel.java:
1019         New file. Implement.
1020         * javax/swing/colorchooser/DefaultPreviewPanel.java:
1021         Ditto.
1022         * javax/swing/colorchooser/DefaultRGBChooserPanel.java:
1023         Ditto.
1024         * javax/swing/colorchooser/DefaultSwatchChooserPanel.java:
1025         Ditto.
1026         * javax/swing/plaf/basic/BasicArrowButton.java:
1027         (getArrow): Fix size of upward pointing button.
1028         * javax/swing/plaf/basic/BasicColorChooserUI.java:
1029         Implement.
1030         * javax/swing/plaf/basic/BasicSliderUI.java:
1031         (getWidthOfWidestLabel): Use preferred dimensions.
1032         (getHeightOfTallestLabel): Ditto.
1033         * javax/swing/plaf/basic/BasicSpinnerUI.java:
1034         Run Jalopy.
1035         (mousePressed): Disable changes to spinner if it is not enabled.
1036         * testsuite/Makefile.in: Regenerate.
1039 2004-08-31  Michael Koch  <konqueror@gmx.de>
1041         * javax/swing/plaf/basic/BasicTableHeaderUI.java,
1042         javax/swing/plaf/basic/BasicTableUI.java:
1043         Added copyright notice.
1045 2004-08-31  Olga Rodimina  <rodimina@redhat.com>
1047         * Makefile.am: Added new files.
1048         * Makefile.in: Regenerate.
1049         * javax/swing/ComboBoxEditor.java: Added javadocs.
1050         * javax/swing/ComboBoxModel.java: Likewise.
1051         * javax/swing/DefaultComboBoxModel.java: Implemented.
1052         * javax/swing/DefaultListCellRenderer.java: Added javadocs
1053         and ran through jalopy to fix formatting style.
1054         (getListCellRendererComponent): Use appropriate border
1055         if renderer has focus and use noFocusBorder when it doesn't.
1056         * javax/swing/JComboBox.java: Implemented.
1057         * javax/swing/JList.java:
1058         (locationToIndex): New Method. Implemented.
1059         (indexToLocation): New Method.
1060         * javax/swing/JPopupMenu.java: 
1061         (visible): New field.
1062         (isVisible): Changed to use new field above.
1063         (setVisible): Likewise.
1064         * javax/swing/MutableComboBoxModel.java: Added javadocs.
1065         * javax/swing/plaf/basic/BasicArrowButton.java: 
1066         (shadow): Changed default color to Color.gray.
1067         * javax/swing/plaf/basic/BasicComboBoxUI.java: New File.
1068         UI delegate for JComboBox.
1069         * javax/swing/plaf/basic/BasicComboPopup.java: New File.
1070         Popup menu containing list of JComboBox's items.
1071         * javax/swing/plaf/basic/BasicComboBoxEditor.java: New File.
1072         * javax/swing/plaf/basic/BasicComboBoxRenderer.java: New File.
1073         * javax/swing/plaf/basic/BasicComboBoxUI.java: New File.
1074         * javax/swing/plaf/basic/BasicComboPopup.java: New File.
1075         * javax/swing/plaf/basic/BasicPopupMenuUI.java:
1076         (popupMenuWillBecomeVisible): Set selected path to the first
1077         element only if it is of type MenuElement. Also fix formatting
1078         style.
1079         * javax/swing/plaf/basic/ComboPopup.java: Added javadocs and missing
1080         methods signatures.
1081         
1082 2004-08-31  Michael Koch  <konqueror@gmx.de>
1084         * javax/swing/text/AbstractDocument.java
1085         (createBranchElement): Use new constructor of BranchElement.
1086         (createLeafElement): Renamed arguments.
1087         (getRootElements): Implemented.
1088         (BranchElement.start): Removed.
1089         (BranchElement.end): Likewise.
1090         (BranchElement.BranchElement): Fixed arguments.
1091         (BranchElement.getEndOffset): Reimplemented.
1092         (BranchElement.getStartOffset): Likewis.
1093         * javax/swing/text/DefaultCaret.java
1094         (paint): Draw simple vertical line as caret instead of a rectangle.
1095         * javax/swing/text/JTextComponent.java
1096         (setText): Use doc directly.
1097         * javax/swing/text/PlainView.java
1098         (nextTabStop): Implemented.
1099         * javax/swing/text/Utilities.java
1100         (drawTabbedText): nextTabStop() returns an absolute x position.
1101         (getTabbedTextWidth): Likewise.
1103 2004-08-31  Graydon Hoare  <graydon@redhat.com>
1105         * java/awt/Component.java 
1106         (isFocusTraversable): Predicate on isLightweight()
1107         (setFocusable): Set isFocusTraversableOverridden.
1108         (requestFocus): Predicate peer dispatch on !isLightweight()
1109         (requestFocusInWindow): Likewise.
1110         (dispatchEventImpl): Coordinate with KeyboardFocusManager.
1111         * java/awt/Container.java
1112         (dispatchEventImpl): Predicate on event mask.
1113         (LightweightDispatcher): Remove focus machinery.
1114         * java/awt/DefaultFocusTraversalPolicy.java
1115         (accept): Expand predicate to include isFocusable(). 
1116         * java/awt/DefaultKeyboardFocusManager.java:
1117         Globally change c.dispatchEvent(e) to redispatchEvent(c,e)
1118         * java/awt/KeyboardFocusManager.java
1119         (redispatchEvent): Synchronize on event to prevent feedback.
1120         * javax/swing/AbstractButton.java
1121         (ButtonFocusListener): Remove class.
1122         (init): Set focusPainted, focusable.
1123         * javax/swing/ActionMap.java (get): Check parent for null. 
1124         * javax/swing/InputMap.java (get): Likewise. 
1125         * javax/swing/JComponent.java
1126         (inputMap_whenFocused): New InputMap.
1127         (inputMap_whenAncestorOfFocused): Likewise.
1128         (inputMap_whenInFocusedWindow): Likewise.
1129         (getActionForKeyStroke): Rewrite.
1130         (getConditionForKeystroke): Likewise.
1131         (ActionListenerProxy): New private class.
1132         (setInputMap): Implement.
1133         (getInputMap): Likewise.
1134         (setActionMap): Likewise.
1135         (getActionMap): Likewise.
1136         (processComponentKeyEvent): New empty method.
1137         (processKeyEvent): Implement.
1138         (processKeyBinding): Likewise.
1139         (resetKeyboardActions): Rewrite.
1140         * javax/swing/KeyStroke.java: Rewrite.
1141         * javax/swing/SwingUtilities.java
1142         (notifyAction): Implement.
1143         (replaceUIActionMap): Likewise.
1144         (replaceUIInputMap): Likewise.
1145         * javax/swing/plaf/basic/BasicButtonListener.java
1146         (focusGained): Implement.
1147         (focusLost): Repaint if focusPainted().
1148         (installKeyboardActions): Install pressed / released actions.
1149         (uninstallKeyboardActions): Implement.
1150         * javax/swing/plaf/basic/BasicButtonUI.java
1151         (focusColor): New field.
1152         (installDefaults): Load focus color, install input map.
1153         (installKeyboardActions): Implement.
1154         (uninstallKeyboardActions): Likewise.
1155         (paintFocus): Rewrite.
1156         * javax/swing/plaf/basic/BasicLookAndFeel.java
1157         (Button.focus): New default, midPurple. 
1158         * javax/swing/plaf/basic/BasicTextUI.java
1159         (kit): Make static.
1160         (installUI): Get doc from kit, load defaults.
1161         (getKeymapName): Implement.
1162         (createKeymap): Likewise.
1163         (installKeyboardActions): Likewise.
1164         (getInputMap): Likewise.
1165         (getActionMap): Likewise.
1166         (createActionMap): Likewise.
1167         * javax/swing/text/AbstractDocument.java
1168         (getStartPosition): Implement.
1169         (getEndPosition): Likewise.
1170         * javax/swing/text/DefaultEditorKit.java
1171         (CopyAction): New class.
1172         (CutAction): Likewise.
1173         (DefaultKeyTypedAction): Likewise.
1174         (InsertBreakAction): Likewise.
1175         (InsertContentAction): Likewise.
1176         (InsertTabAction): Likewise.
1177         (PasteAction): Likewise.
1178         (defaultActions): New static table.
1179         (createCaret): Implement.
1180         (getActions): Likewise.
1181         * javax/swing/text/JTextComponent.java
1182         (KeymapWrapper): New private class.
1183         (KeymapActionMap): Likewise.
1184         (DefaultKeymap): New class.
1185         (keymaps): New static table.
1186         (keymap): New field.
1187         (getKeymap): Implement.
1188         (removeKeymap): Likewise.
1189         (addKeymap): Likewise.
1190         (setKeymap): Likewise.
1191         (loadKeymap): Likewise.
1192         (getActions): Likewise.
1193         (margin): New field.
1194         (JTextComponent): Build and install default keymap.
1195         * javax/swing/text/TextAction.java
1196         (textAction): Call super properly.
1197         (getTextComponent): Implement.
1198         * javax/swing/text/Utilities.java
1199         (drawTabbedText): Adjust position by ascent.
1201 2004-08-31  David Jee  <djee@redhat.com>
1203         PR AWT/17156
1205         * gnu/java/awt/peer/gtk/GtkMenuItemPeer.java
1206         (setEnabled): Make it a native method.
1207         * java/awt/DefaultKeyboardFocusManager.java
1208         (postProcessKeyEvent): Only post event if the menu item
1209         is active.
1210         * java/awt/MenuItem.java:
1211         Private field 'enabled' should be true by default.
1212         * jni/gtk-peer/gnu_java_awt_peer_gtk_GtkMenuItemPeer.c
1213         (setEnabled): New function.
1215 2004-08-31  David Jee  <djee@redhat.com>
1217         PR AWT/17059
1219         * gnu/java/awt/peer/gtk/GtkMenuBarPeer.java
1220         (nativeSetHelpMenu): New native method declaration.
1221         (addHelpMenu): Call nativeSetHelpMenu().
1222         (addMenu): Remove.
1223         * java/awt/MenuBar.java
1224         (setHelpMenu): Call addNotify() on the new help menu.
1225         (add): Call addNotify() on the new menu.
1226         (addNotify): Set the help menu if one exists.
1227         * java/awt/peer/MenuBarPeer.java
1228         (addMenu): Remove.
1229         * jni/gtk-peer/gnu_java_awt_peer_gtk_GtkMenuBarPeer.c
1230         (nativeSetHelpMenu): New method.
1232 2004-08-31  Graydon Hoare  <graydon@redhat.com>
1234         * Makefile.am: Add new files.
1235         * Makefile.in: Regenerate.
1236         * javax/swing/Box.java: Fix setting of layout in ctor.
1237         * javax/swing/JScrollPane.java: Scroll headers as well.
1238         * javax/swing/JTable.java: Reimplement.
1239         * javax/swing/JViewPort.java: Only add non-null children.
1240         * javax/swing/ScrollPaneLayout.java: Correct header calculations.
1241         * javax/swing/Timer.java: Fix stopping null waker.
1242         * javax/swing/plaf/basic/BasicTableHeaderUI.java: New file.
1243         * javax/swing/plaf/basic/BasicTableUI.java: New file.
1244         * javax/swing/table/DefaultTableCellRenderer.java: Configure.
1245         * javax/swing/table/DefaultTableColumnModel.java: Flesh out.
1246         * javax/swing/table/DefaultTableModel.java: Clean up.
1247         * javax/swing/table/JTableHeader.java: Implement.
1249 2004-08-31  Mark Wielaard  <mark@klomp.org>
1251         * javax/swing/JSpinner.java (getChangeListeners): Remove double
1252         semi-colon.
1254 2004-08-31  Mark Wielaard  <mark@klomp.org>
1256         * jni/gtk-peer/gnu_java_awt_peer_gtk_GdkClasspathFontPeerMetrics.c:
1257         Declare variables at top of functions/block.
1258         * jni/gtk-peer/gnu_java_awt_peer_gtk_GdkGraphics2D.c: Likewise.
1260 2004-08-31  Mark Wielaard  <mark@klomp.org>
1262         * java/lang/Rectangle.java (intersects): Check r.width and r.height
1263         first.
1265 2004-08-31  Michael Koch  <konqueror@gmx.de>
1267         * javax/swing/text/PlainView.java
1268         (selectedColor): New field.
1269         (unselectedColor): Likewise.
1270         (font): Likewise.
1271         (updateMetrics): New method.
1272         (lineToRect): Likewise.
1273         (modelToView): Likewise.
1274         (drawSelectedText): Use color from JTextComponent ad draw with
1275         Utilities class.
1276         (drawUnselectedText): Likewise.
1277         (paint): Initialize helper fields.
1278         * javax/swing/text/View.java
1279         (getChildAllocation): New method.
1280         (getViewIndex): Likewise.
1281         (getToolTipText): Likewise.
1283 2004-08-31  Michael Koch  <konqueror@gmx.de>
1285         * javax/swing/text/Utilities.java
1286         (drawTabbedText): Reimplemented.
1287         (getTabbedTextWidth): Likewise.
1289 2004-08-31  Michael Koch  <konqueror@gmx.de>
1291         * javax/swing/plaf/basic/BasicTextUI.java
1292         (installDefaults): Install caret and highlighter.
1293         (modelToView): Use Bias.Forward when calling sibling.
1294         * javax/swing/text/AbstractDocument.java
1295         (ElementEdit): Implements DocumentEvent.ElementChange.
1296         (ElementEdit.ElementEdit): New method.
1297         (ElementEdit.getChildrenAdded): Likewise.
1298         (ElementEdit.getChildrenRemoved): Likewise.
1299         (ElementEdit.getElement): Likewise.
1300         (ElementEdit.getIndex): Likewise.
1301         * javax/swing/text/DefaultCaret.java
1302         (color): Removed.
1303         (textComponent): Renamed from parent, made private.
1304         (selectionVisible): Renamed from vis_sel, made private.
1305         (blinkRate): Renamed from blink, made private.
1306         (magicCaretPosition): Renamed from magic, made private.
1307         (visible): Renamed from vis, made private.
1308         (dot): Made private.
1309         (mark): Likewise.
1310         (deinstall): Remove as MouseMotionListener.
1311         (install): Initialize textComponent first. Add as MouseMotionListener.
1312         (paint): Reimplemented.
1313         * javax/swing/text/JTextComponent.java
1314         (setCaret): Deinstall old caret, install new one and fire property
1315         change after setting property.
1316         (setHighlighter): Deinstall old highlighter, install new one and fire
1317         property change after setting property.
1318         (setCaretColor): Fire property change after setting property.
1319         (setDisabledTextColor): Likewise.
1320         (setSelectedTextColor): Likewise.
1321         (setSelectionColor): Likewise.
1322         (modelToView): New method.
1324 2004-08-31  Michael Koch  <konqueror@gmx.de>
1326         * javax/swing/text/AbstractDocument.java
1327         (getText): Simplified.
1328         * javax/swing/text/Segment.java
1329         (current): New field.
1330         (current): Reimplemented.
1331         (first): Likewise.
1332         (getIndex): Likewise.
1333         (last): Likewise.
1334         (next): Likewise.
1335         (previous): Likewise.
1336         (setIndex): Likewise.
1338 2004-08-31  Michael Koch  <konqueror@gmx.de>
1340         * javax/swing/plaf/basic/BasicButtonUI.java
1341         (defaultTextIconGap): Made protected.
1342         (defaultTextShiftOffset): Likewise.
1343         (textShiftOffset): New field.
1344         (clearTextShiftOffset): New method.
1345         (getTextShiftOffset): Likewise.
1346         (setTextShiftOffset): Likewise.
1348 2004-08-31  Michael Koch  <konqueror@gmx.de>
1350         * javax/swing/plaf/basic/BasicTextUI.java
1351         (installUI): Add eventHandler as property listener.
1352         (uninstallUI): remove eventHandler as propert listener.
1353         (installDefaults): Added comment.
1354         (installListeners): Likewise.
1355         (installKeyboardActions): Likewise.
1356         (uninstallDefaults): Likewise.
1357         (uninstallListeners): Likewise.
1358         (uninstallKeyboardActions): Likewise.
1360 2004-08-31  Michael Koch  <konqueror@gmx.de>
1362         * javax/swing/text/AbstractDocument.java:
1363         Fixed some typos in comments.
1364         (insertString): Reimplemented.
1365         (remove): Likewise.
1366         (replace): New method.
1367         (children): Dont use fully qualified class name.
1368         (DefaultDocumentEvent.offset): Renamed from off.
1369         (DefaultDocumentEvent.length): Renamed from len.
1370         (DefaultDocumentEvent.type): New field.
1371         (DefaultDocumentEvent.DefaultDocumentEvent): New constructor.
1372         (DefaultDocumentEvent.getType): Implemented.
1374 2004-08-31  Michael Koch  <konqueror@gmx.de>
1376         * javax/swing/plaf/basic/BasicTextUI.java
1377         (RootView.textComponent): Removed.
1378         (RootView.RootView): Don't initialize textComponent.
1379         (RootView.getViewFactory): New method.
1380         (EventHandler): New inner class.
1381         (rootView): Initialize at instance creation.
1382         (eventHandler): New field.
1383         (installUI): Don't create view hierarchy directly,
1384         call modelChanged() instead.
1385         (modelChanged): New method.
1386         * javax/swing/text/JTextComponent.java
1387         (setDocument): Fire property change event.
1389 2004-08-31  Michael Koch  <konqueror@gmx.de>
1391         * javax/swing/plaf/basic/BasicTextUI.java
1392         (RootView.paint): Removed debug output.
1393         (paintSafely): Draw highlighter before text.
1394         (paintBackground): Use background color of text component.
1395         * javax/swing/plaf/basic/BasicToggleButtonUI.java:
1396         Reformatted.
1398 2004-08-31  Michael Koch  <konqueror@gmx.de>
1400         * javax/swing/plaf/basic/BasicToolBarUI.java
1401         (BasicToolBarUI): Fixed arguments for constructor.
1402         (createUI): Fixed creation of object.
1404 2004-08-31  Michael Koch  <konqueror@gmx.de>
1406         * javax/swing/DefaultListSelectionModel.java
1407         (fireValueChanged): Renamed from fireSelectionValueChanged,
1408         made protected.
1410 2004-08-31  Michael Koch  <konqueror@gmx.de>
1412         * javax/swing/text/TabSet.java
1413         (TabSet): Implements java.io.Serializable.
1414         * javax/swing/text/TabStop.java
1415         (TabStop): Implements java.io.Serializable.
1416         (TabStop): Made public.
1418 2004-08-31  Michael Koch  <konqueror@gmx.de>
1420         * javax/swing/JComponent.java
1421         (setUI): Fire PropertyChange.
1422         * javax/swing/JLabel.java
1423         (text): Renamed from labelText.
1424         (horizontalAlignment): New default vlaue.
1425         (icon): Renamed from activeIcon.
1426         (displayedMnemonic): Renamed from mnemonicKey, added default value.
1427         (displayedMnemonicIndex): Renamed from underlineChar.
1428         (setDisplayedMnemonic): Reimplemented.
1429         * javax/swing/JRadioButton.java
1430         (JRadioButton): New constructors.
1431         * javax/swing/JTextField.java
1432         (JTextField): Throw exception if colums < 0, initialitialz
1433         this.columns directly and initialize document with text conditionally.
1435 2004-08-31  Michael Koch  <konqueror@gmx.de>
1437         * javax/swing/plaf/basic/BasicFormattedTextFieldUI.java,
1438         javax/swing/plaf/basic/BasicPasswordFieldUI.java,
1439         javax/swing/plaf/basic/BasicTextAreaUI.java: New files.
1440         * javax/swing/text/FieldView.java
1441         (paint): Just call super method for now.
1442         * Makefile.am: Added new files.
1443         * Makefile.in: Regenerated.
1445 2004-08-31  Ka-Hing Cheung  <kahing@javabsp.org>
1447         * javax/swing/AbstractSpinnerModel.java,
1448         javax/swing/JSpinner.java,
1449         javax/swing/SpinnerNumberModel.java,
1450         javax/swing/plaf/basic/BasicSpinnerUI.java:
1451         New files.
1452         * javax/swing/plaf/basic/BasicLookAndFeel.java
1453         (initClassDefaults): Added defaults for BasicSpinnerUI.
1455 2004-08-31  Michael Koch  <konqueror@gmx.de>
1457         * Makefile.am: Added new files.
1458         * Makefile.in: Regenerated.
1460 2004-08-31  Michael Koch  <konqueror@gmx.de>
1462         * javax/swing/TransferHandler.java,
1463         javax/swing/plaf/basic/ComboPopup.java: New files
1464         * Makefile.am: Added javax/swing/TransferHandler.java and
1465         javax/swing/plaf/basic/ComboPopup.java
1466         * Makefile.in: Regenerated.
1468 2004-08-31  Roman Kennke  <roman@ontographics.com>
1470         * javax/swing/text/Utilities.java: New file.
1472 2004-08-31  Michael Koch  <konqueror@gmx.de>
1474         * Makefile.am: Added javax/swing/text/Utilities.java.
1475         * Makefile.in: Regenerated.
1477 2004-08-31  Graydon Hoare  <graydon@redhat.com>
1479         * javax/swing/text/SimpleAttributeSet.java: New file.
1480         * javax/swing/text/StyleConstants.java: New file.
1481         * javax/swing/text/StyleContext.java: New file.
1482         * javax/swing/text/TabSet.java: New file.
1483         * javax/swing/text/TabStop.java: New file.
1484         * javax/swing/text/AbstactDocument.java:
1485         (AbstractElement): Implement attribute support.
1486         * javax/swing/text/AttributeSet.java
1487         (NameAttribute): New static field.
1488         (ResolveAttribute): New static field.
1489         * Makefile.am: Update for new files.
1490         * Makefile.in: Regenerate.
1492 2004-08-31  Craig Black  <craig.black@aonix.com>
1494         * gnu/java/awt/peer/gtk/GdkGraphics.java 
1495         (drawImage): Add support for scaling pixmaps.
1496         * jni/gtk-peer/gnu_java_awt_peer_gtk_GdkGraphics.c
1497         (copyAndScalePixmap): New native method.
1499 2004-08-31  Thomas Fitzsimmons  <fitzsim@redhat.com>
1501         PR AWT/16121
1502         * jni/gtk-peer/gthread-jni.c: Include stdio.h.  Eliminate
1503         type-punning compiler warnings using unions.
1504         (throw): Replace bzero with memset.
1506 2004-08-31  Andreas Tobler  <a.tobler@schweiz.ch>
1507             Thomas Fitzsimmons  <fitzsim@redhat.com>
1509         * jni/gtk-peer/gnu_java_awt_peer_gtk_GdkPixbufDecoder.c: Move
1510         NSA_PB macros to gtkpeer.h.  Include gtkpeer.h.
1511         * jni/gtk-peer/gtkpeer.h: Move NSA_PB macros here.
1512         * jni/gtk-peer/gnu_java_awt_peer_gtk_GtkWindowPeer.c
1513         (nativeSetIconImageFromDecoder): Use NSA_GET_PB_PTR macro.
1515 2004-08-31  Mark Wielaard  <mark@klomp.org>
1517         * native/jni/gtk-peer/gnu_java_awt_peer_gtk_GdkPixbufDecoder.c:
1518         #include gdk.h, not gtk.h. #include jni.h, native_state.h, string.h
1519         and stdlib.h, not gtkpeer.h.
1520         (*vm): New static variable.
1521         (areaPreparedID): Make static.
1522         (areaUpdatedID): Likewise.
1523         (area_prepared): Get and use JNIEnv through stored JavaVM *vm.
1524         (area_prepared): Likewise.
1525         (area_updated): Likewise.
1526         (closed): Likewise.
1527         (initStaticState): Initialize *vm javaVM.
1528         (pumpBytes): Use given env, not global gdk_env.
1530 2004-08-31  Mark Wielaard  <mark@klomp.org>
1532         * java/awt/geom/CubicCurve2D.java (solveCubic): Removed duplicate
1533         comments.
1535 2004-08-31  Sven de Marothy  <sven@physto.se>
1537         * java/awt/geom/CubicCurve2D.java: Reindent.
1538         (contains): Implemented.
1539         (intersects): Implemented.
1540         * java/awt/geom/QuadCurve2D.java: Likewise.
1541         * java/awt/geom/GeneralPath.java: Reindent and document.
1542         Fully (re)implemented using separate xpoints and ypoints
1543         float[] coords.
1544         * java/awt/geom/RoundRectangle2D.java: Several bugfixes (Bug #6007).
1546 2004-08-31  Michael Koch  <konqueror@gmx.de>
1548         * javax/swing/JMenuItem.java
1549         (getMenuDragMouseListeners): New method.
1550         (getMenuKeyListeners): Likewise.
1552 2004-08-31  Michael Koch  <konqueror@gmx.de>
1554         * javax/swing/AbstractButton.java
1555         (model): Made protected.
1556         (actionListener): Likewise.
1557         (changeListener): Likewise.
1558         (itemListener): Likewise.
1559         (multiClickThreshhold): New field.
1560         (getActionListeners): New method.
1561         (getChangeListeners): Likewise.
1562         (getItemListeners): Likewise.
1563         (fireItemStateChanged): Simplified implementation.
1564         (fireActionPerformed): Likewise.
1565         (fireStateChanged): Likewise.
1566         (getMultiClickThreshhold): New method.
1567         (setMultiClickThreshhold): Likewise.
1569 2004-08-31  Tom Tromey  <tromey@redhat.com>
1571         * java/awt/image/Kernel.java (clone): Use super.clone().
1573 2004-08-31  David Jee  <djee@redhat.com>
1575         PR AWT/16682
1576         * gnu/java/awt/peer/gtk/GtkFramePeer.java
1577         (nativeSetIconImage): Rename to nativeSetIconImageFromDecoder.
1578         (nativeSetIconImageFromData): New native method declaration.
1579         (setIconImage): Handle images not produced from GdkPixbufDecoder.
1580         * gnu/java/awt/peer/gtk/GtkImage.java
1581         (getPixelCache): New method.
1582         (getColorModel): New method.
1583         * jni/gtk-peer/gnu_java_awt_peer_gtk_GtkWindowPeer.c
1584         (nativeSetIconImage): Rename to nativeSetIconImageFromDecoder.
1585         (free_pixbuf_data): New helper function.
1586         (nativeSetIconImageFromData): New function.
1588 2004-08-31  Graydon Hoare  <graydon@redhat.com>
1590         PR SWING/16576
1591         * javax/swing/JLayeredPane.java 
1592         (setLayer): Permit changing layer after addition.
1593         (setPosition): Permit over-length positions.
1594         (layerToRange): Compare intValue()s.
1595         * javax/swing/Box.java (createHorizontalBox): Implement.
1596         (createRigidArea): Likewise.
1597         (createVerticalBox): Likewise.
1599 2004-08-31  Kim Ho  <kho@redhat.com>
1601         * java/awt/Component.java:
1602         (processMouseEvent): Consume event after
1603         listeners process it.
1604         (processMouseMotionEvent): ditto.
1605         (processMouseWheelEvent): ditto.
1606         * java/awt/Container.java:
1607         (acquireComponentForMouseEvent):
1608         Do not dispatch to events that have been
1609         removed from the Container.
1610         (handleEvent): Consume the MouseEvents.
1611         * javax/swing/RepaintManager.java:
1612         (paintDirtyRegions): Do not add to list of 
1613         damaged areas if the component has no root.
1615 2004-08-31  Michael Koch  <konqueror@gmx.de>
1617         * javax/swing/plaf/basic/BasicMenuItemUI.java: Clean ip imports.
1619 2004-08-31  Mark Wielaard  <mark@klomp.org>
1621         * gnu/java/awt/peer/gtk/GtkToolkit.java (getFontPeer): Don't return
1622         null when a MissingResourceException is thrown. Should never happen.
1624 2004-08-31  Mark Wielaard  <mark@klomp.org>
1626         * java/awt/EventQueue.java (postEvent): Throw NullPointerException
1627         when argument is null.
1629 2004-08-31  Mark Wielaard  <mark@klomp.org>
1631         * jni/gtk-peer/gnu_java_awt_peer_gtk_GtkComponentPeer.c
1632         (Java_gnu_java_awt_peer_gtk_GtkComponentPeer_addExposeFilter):
1633         Define hid at start of function.
1634         (Java_gnu_java_awt_peer_gtk_GtkComponentPeer_removeExposeFilter):
1635         Likewise.
1637 2004-08-31  Mark Wielaard  <mark@klomp.org>
1639         * gnu/java/awt/EmbeddedWindow.java: Reindent.
1640         * javax/swing/JButton.java: Reindent.
1641         * javax/swing/JCheckBox.java: Reindent.
1643 2004-08-31  Mark Wielaard  <mark@klomp.org>
1645         * Makefile.am (gtk_c_source_files): Added
1646         jni/gtk-peer/gnu_java_awt_peer_gtk_GThreadNativeMethodRunner.c.
1647         (gtk_awt_peer_sources): Added
1648         gnu/java/awt/peer/gtk/GThreadMutex.java and
1649         gnu/java/awt/peer/gtk/GThreadNativeMethodRunner.java.
1650         * Makefile.in: Regenerated.
1652 2004-08-31  Archie Cobbs  <archie@dellroad.org>
1654         * jni/gtk-peer/gthread-jni.c: don't #include nonexistent files
1656 2004-08-31  Steven Augart  <augart@watson.ibm.com>
1658         * jni/gtk-peer/gthread-jni.c (c-font-lock-extra-types): 
1659         Added jfieldID, jmethodID.
1661 2004-08-31  Mark Wielaard  <mark@klomp.org>
1663         * jni/gtk-peer/gnu_java_awt_peer_gtk_GtkMainThread.c
1664         (Java_gnu_java_awt_peer_gtk_GtkMainThread_gtkInit): Initialize
1665         gdk_env before calling any gdk or gtk function.
1667         * gnu/java/awt/peer/gtk/GtkMainThread.java (gtkInitCalled): New field.
1668         (GtkMainThread): Call wait() in while loop waiting for gtkInitCalled.
1669         (run): Set gtkInitCalled.
1671 2004-08-31  Steven Augart  <augart@watson.ibm.com>
1673         * gnu/java/awt/peer/gtk/GtkMainThread.java (run): Pass the value of 
1674         the gnu.classpath.awt.gtk.portable.native.sync system property to C.
1676         * jni/gtk-peer/gnu_java_awt_peer_gtk_GtkMainThread.c
1677         (Java_gnu_java_awt_peer_gtk_GtkMainThread_gtkInit): New argument,
1678         portableNativeSync.  Delegate PORTABLE_NATIVE_SYNC work to
1679         init_glib_threads. 
1680         (init_glib_threads): New function.
1682 2004-08-31  Mark Wielaard  <mark@klomp.org>
1684         * jni/gtk-peer/gthread-jni.c: Define MIN_, MAX_ and NORM_
1685         PRIORITY when not already defined in header file.
1687 2004-08-31  Mark Wielaard  <mark@klomp.org>
1689         * jni/gtk-peer/gthread-jni.c (setup_cache): Call
1690         ExceptionOccurred, not ExceptionCheck, when we don't have JNI 1.2.
1692 2004-08-31  Steven Augart  <augart@watson.ibm.com>
1694         * gnu/native/jni/gtk-peer/gthread-jni.c: Indentation fixes.
1695         Implemented missing functions for GTK2.
1696         Added error handling.
1697         Renamed static functions out of the g_ namespace.
1698         Added TRACE_API_CALLS, EXPLAIN_TROUBLE, EXPLAIN_BROKEN, 
1699         EXPLAIN_BADLY_BROKEN, and DELETE_LOCAL_REFS options.
1700         Rewrote global-reference code.
1701         Eliminated cascading errors.
1702         (mutex_trylock_jni_impl) Fully implemented.
1703         (cond_timed_wait_jni_impl) Went from millisecond to microsecond
1704         resolution.
1705         (setup_cache) New function.
1706         (mutex_cond_wait_jni_impl, mutex_cond_timed_wait_jni_impl) Fixed
1707         bug where they were not unlocking the GMutex associated with the
1708         condition variable during the wait on that condition variable.
1710         * native/jni/gtk-peer/gnu_java_awt_peer_gtk_GtkMainThread.c,
1711         native/jni/gtk-peer/gthread-jni.c,
1712         native/jni/gtk-peer/gthread-jni.h
1713         (g_thread_jni_functions): Renamed to ...
1714         (portable_native_sync_jni_functions): this name.
1715         (gdk_vm): Renamed to...
1716         (the_vm): this name.
1718         * native/jni/gtk-peer/gnu_java_awt_peer_gtk_GtkMainThread.c
1719         (gdk_vm): Removed duplicate definition.
1720         (gtkInit): Removed stray message to stdout.
1721         (gtkInit): Use g_malloc and g_free instead of malloc and free.
1722         (gtkInit): Fix a const assignment bug.
1723         (gtkInit): Simplified code.
1725         * gnu/java/awt/peer/gtk/GThreadNativeMethodRunner.java,
1726         native/jni/gtk-peer/gnu_java_awt_peer_gtk_GThreadNativeMethodRunner.c,
1727         native/jni/gtk-peer/gnu_java_awt_peer_gtk_GThreadNativeMethodRunner.h,
1728         gnu/java/awt/peer/gtk/GThreadMutex.java:
1729         New files.
1731 2004-08-31  Mark Wielaard  <mark@klomp.org>
1733         * javax/swing/Box.java: Put FIXME comment above class declaration.
1734         * javax/swing/JButton.java: Remove illegal L&F HTML from comments.
1735         * javax/swing/JCheckBox.java: Likewise.
1736         * javax/swing/JDialog.java: Likewise.
1737         * javax/swing/JRadioButton.java: Likewise.
1738         * javax/swing/JToggleButton.java: Likewise.
1739         * javax/swing/UIManager.java: Likewise.
1740         * javax/swing/border/TitledBorder.java: Likewise.
1741         * javax/swing/plaf/basic/BasicLabelUI.java: Likewise.
1742         * javax/swing/plaf/basic/BasicLookAndFeel.java: Likewise.
1743         * javax/swing/plaf/basic/BasicPopupMenuSeparatorUI.java: Likewise.
1744         * javax/swing/plaf/basic/BasicProgressBarUI.java: Likewise.
1745         * javax/swing/plaf/basic/BasicScrollBarUI.java: Likewise.
1746         * javax/swing/plaf/basic/BasicSeparatorUI.java: Likewise.
1747         * javax/swing/text/JTextComponent.java: Likewise.
1749 2004-08-31  David Jee  <djee@redhat.com>
1751         PR AWT/16682
1752         * gnu/java/awt/peer/gtk/GtkFramePeer.java
1753         (setIconImage): Add a FIXME for unhandled cases.
1755 2004-08-31  Thomas Fitzsimmons  <fitzsim@redhat.com>
1757         PR AWT/16040
1758         * gnu/awt/LightweightRedirector.java: Call getModifiersEx, not
1759         getModifiers.  Replace old button masks with new ones.
1760         * gnu/awt/xlib/XEventLoop.java: Likewise.
1761         * gnu/java/awt/peer/gtk/GtkButtonPeer.java: Likewise.
1762         * gnu/java/awt/peer/gtk/GtkComponentPeer.java,
1763         jni/gtk-peer/gnu_java_awt_peer_gtk_GtkComponentPeer.c: Likewise.
1764         * gnu/java/awt/peer/gtk/GtkListPeer.java: Likewise.
1765         * gnu/java/awt/peer/gtk/GtkTextFieldPeer.java: Likewise.
1766         * java/awt/AWTKeyStroke.java: Remove old modifier masks.
1767         * java/awt/Component.java: Replace old modifier masks with new
1768         ones.
1769         * java/awt/Container.java: Call getModifiersEx, not
1770         getModifiers.
1771         * java/awt/DefaultKeyboardFocusManager.java: Likewise.  Remove
1772         old modifier masks.
1773         * javax/swing/JMenuItem.java: Replace old button masks with new
1774         ones.
1775         * javax/swing/KeyStroke.java: Call getModifiersEx, not
1776         getModifiers.
1777         * javax/swing/SwingUtilities.java: Likewise.
1778         * javax/swing/plaf/basic/BasicButtonListener.java: Likewise.
1779         * javax/swing/plaf/basic/BasicInternalFrameUI.java: Likewise.
1780         * jni/gtk-peer/gnu_java_awt_peer_gtk_GtkEvents.c: Replace old
1781         mask macros with new ones.
1782         * jni/gtk-peer/gtkpeer.h: Replace old button and modifier mask
1783         macros with new ones representing new masks.
1785 2004-08-31  Craig Black  <craig.black@aonix.com>
1787         * gnu/java/awt/peer/gtk/GdkGraphics.java
1788         (drawRoundRect): Implemented.
1789         (fillRoundRect): Implemented.
1790         * gnu/java/awt/peer/gtk/GdkGraphics2D.java
1791         (drawRoundRect): Reimplemented to match GdkGraphics.
1792         (fillRoundRect): Reimplemented to match GdkGraphics.
1794 2004-08-31  Mark Wielaard  <mark@klomp.org>
1796         * Makefile.in: Regenerated.
1798 2004-08-31  Michael Koch  <konqueror@gmx.de>
1800         * gnu/java/awt/EmbeddedWindow.java
1801         (addNotify): Use AccessController to allow execution of privileged
1802         code.
1804 2004-08-31  Michael Koch  <konqueror@gmx.de>
1806         * gnu/java/awt/EmbeddedWindow.java
1807         (static): Removed.
1808         (addNotify): Set peer via reflection.
1809         (setWindowPeer): Removed.
1810         * gnu/java/awt/natEmbeddedWindow.cc: Removed.
1811         * Makefile.am (nat_source_files):
1812         Removed gnu/java/awt/natEmbeddedWindow.cc.
1814 2004-08-31  Bryce McKinlay  <mckinlay@redhat.com>
1816         * Makefile.am: Add  gnu/java/security/action/GetPropertyAction.java
1817         and gnu/java/security/action/SetAccessibleAction.java.
1819 2004-08-31  Bryce McKinlay  <mckinlay@redhat.com>
1821         * gnu/java/security/action/GetPropertyAction.java (setParameters):
1822         Renamed from 'setName'. New 2-argument form with default value.
1823         (run): Pass default 'value' parameter to System.getProperty().
1824         * gnu/java/security/action/SetAccessibleAction.java: Fix javadoc
1825         typos.
1827 2004-08-31  Bryce McKinlay  <mckinlay@redhat.com>
1829         * gnu/java/security/action/GetPropertyAction.java: New class.
1830         * gnu/java/security/action/SetAccessibleAction.java: New class.
1832 2004-08-31  David Jee  <djee@redhat.com>
1834         * gnu/java/awt/peer/gtk/GtkFramePeer.java
1835         (setIconImage): Check if image is null.
1837 2004-08-31  David Jee  <djee@redhat.com>
1839         * gnu/java/awt/peer/gtk/GtkFramePeer.java
1840         (create): Set the icon image.
1841         (nativeSetIconImage): New native method declaration.
1842         (setIconImage): Implement.
1843         * jni/gtk-peer/gnu_java_awt_peer_gtk_GtkWindowPeer.c
1844         (nativeSetIconImage): New function.
1846 2004-08-31  Dalibor Topic <robilad@kaffe.org>
1848         * native/jni/gtk-peer/gnu_java_awt_peer_gtk_GtkFileDialogPeer.c
1849         (filenameFilterCallback): Declare local variable accepted before use.
1851 2004-08-31  Dalibor Topic <robilad@kaffe.org>
1853         * gnu/java/awt/ComponentDataBlitOp.java:
1854         Cleaned up imports.
1856 2004-08-31  Tom Tromey  <tromey@redhat.com>
1858         * gnu/java/awt/peer/GLightweightPeer.java,
1859         gnu/java/awt/peer/gtk/GdkGraphics2D.java,
1860         gnu/java/awt/peer/gtk/GtkComponentPeer.java,
1861         javax/swing/JScrollPane.java: Removed
1862         redundant imports.
1864 2004-08-31  David Jee  <djee@redhat.com>
1866         * java/awt/DefaultKeyboardFocusManager.java
1867         (postProcessKeyEvent): Only activate MenuShortcuts on KEY_PRESSED
1868         event.  Fix shift modifier checking.
1869         * jni/gtk-peer/gnu_java_awt_peer_gtk_GtkMenuPeer.c
1870         (accel_attach): Remove.
1871         (setupAccelGroup): Remove calls to accel_attach.
1873 2004-08-31  Thomas Fitzsimmons  <fitzsim@redhat.com>
1875         * gnu/java/awt/peer/gtk/GtkArg.java: Remove file.
1876         * gnu/java/awt/peer/gtk/GtkArgList.java: Remove file.
1878         * Makefile.am (gtk_awt_peer_sources): Remove GtkArg.java and
1879         GtkArgList.java.
1880         (gtk_c_files): Use CAIRO_CFLAGS and PANGOFT2_CFLAGS, not _LIBS.
1881         * Makefile.in: Regenerate.
1882         * gnu/java/awt/peer/gtk/GtkButtonPeer.java,
1883         jni/gtk-peer/gnu_java_awt_peer_gtk_GtkButtonPeer.c
1884         (create(String)): New method.
1885         (create): Call new create method.
1886         (getArgs): Remove method.
1887         * gnu/java/awt/peer/gtk/GtkCheckboxPeer.java,
1888         jni/gtk-peer/gnu_java_awt_peer_gtk_GtkCheckboxPeer.c 
1889         (nativeCreate): Rename to create.
1890         (gtkSetLabel): Rename to gtkButtonSetLabel.
1891         (gtkToggleButtonSetActive): New method.
1892         (create): Call gtkToggleButtonSetActive and gtkButtonSetLabel.
1893         (setState): Replace set call with gtkToggleButtonSetActive.
1894         (setLabel): Replace gtkSetLabel call with gtkButtonSetLabel.
1895         (getArgs): Remove method.
1896         * gnu/java/awt/peer/gtk/GtkComponentPeer.java,
1897         jni/gtk-peer/gnu_java_awt_peer_gtk_GtkComponentPeer.c
1898         (gtkWidgetSetSensitive): New method.
1899         (gtkWidgetSetParent): Likewise.
1900         (GtkComponentPeer): Call setParent, setComponentBounds and
1901         setVisibleAndEnabled.
1902         (setParent): New method.
1903         (setComponentBounds): New method.
1904         (setVisibleAndEnabled): New method.
1905         (setEnabled): Call gtkWidgetSetSensitive.
1906         (getArgs): Remove method.
1907         Remove all set methods.
1908         * gnu/java/awt/peer/gtk/GtkDialogPeer.java (create): Call
1909         gtkWindowSetModal, setTitle and setResizable.
1910         (getArgs): Remove method.
1911         * gnu/java/awt/peer/gtk/GtkFileDialogPeer.java
1912         (setComponentBounds): New method.
1913         * gnu/java/awt/peer/gtk/GtkFramePeer.java (setResizable):
1914         Replace set call with gtkWindowSetResizable.
1915         (getArgs): Remove method.
1916         (create): Call setTitle and setResizable.
1917         * gnu/java/awt/peer/gtk/GtkWindowPeer.java,
1918         jni/gtk-peer/gnu_java_awt_peer_gtk_GtkWindowPeer.c
1919         (gtkWindowSetTitle): New method.
1920         (gtkWindowSetResizable): New method.
1921         (gtkWindowSetModal): New method.
1922         (setParent): New method.
1923         (setVisibleAndEnabled): New method.
1924         (getArgs): Remove method.
1925         (setTitle): Call gtkWindowSetTitle.
1926         (setResizable): Call gtkWindowSetResizable.
1927         * jni/gtk-peer/gtkpeer.h [DEBUG_LOCKING]: New define to turn on
1928         and off locking instrumentation.
1930 2004-08-31  Kim Ho  <kho@redhat.com>
1932         * Makefile.am: Add new file.
1933         * Makefile.in: Regenerate.
1934         * gcj/Makefile.in: Regenerate
1935         * include/Makefile.in:
1936         * java/awt/Container.java:
1937         (acquireComponentForMouseEvent): Respect 
1938         the event mask when looking for candidate.
1939         * javax/swing/JComponent.java:
1940         Remove toolTip field.
1941         (createToolTip): Create a tooltip on demand.
1942         (setToolTipText): Register with the ToolTipManager.
1943         (getToolTipText(MouseEvent)): Return getToolTipText().
1944         * javax/swing/JToolTip.java: Implement.
1945         * javax/swing/Timer.java: Jalopy.
1946         (restart): Call stop, then start.
1947         (stop): Interrupt the timer rather than wait for
1948         the timer to come to a stop naturally.
1949         * javax/swing/ToolTipManager.java: Implement.
1950         * javax/swing/plaf/basic/BasicLookAndFeel.java:
1951         Change ToolTip.background color.
1952         * javax/swing/plaf/basic/BasicToolTipUI.java:
1953         Implement.
1954         * testsuite/Makefile.in: Regenerate
1956 2004-08-31  Jerry Quinn  <jlquinn@optonline.net>
1958         * java/awt/image/DirectColorModel.java (DirectColorModel): Fix
1959         constructor param comments.
1961 2004-08-31  Thomas Fitzsimmons  <fitzsim@redhat.com>
1963         * java/awt/Component.java: Document AWT 1.0 event handler
1964         methods.
1966 2004-08-31  Roman Kennke  <roman@ontographics.com>
1968         * javax/swing/Box.java:
1969         (createGlue): Implemented
1970         (createHorizontalGlue): Implemented
1971         (createHorizontalStrut): Implemented
1972         (createVerticalGlue): Implemented
1973         (createVerticalStrut): Implemented
1975 2004-08-31  David Jee  <djee@redhat.com>
1977         * gnu/java/awt/peer/gtk/GtkChoicePeer.java
1978         (GtkChoicePeer): Do not automatically select first item.
1979         (getHistory): Remove.
1980         (nativeGetSelected): New method.
1981         (nativeRemoveAll): New method.
1982         (add): Use nativeGetSelected() instead of getHistory().
1983         (remove): Likewise.
1984         (removeAll): Call nativeRemoveAll().
1985         * jni/gtk-peer/gnu_java_awt_peer_gtk_GtkChoicePeer.c
1986         (create): Migrate to GtkComboBox.
1987         (append): Likewise.
1988         (nativeAdd): Likewise.
1989         (nativeRemove): Likewise.
1990         (select): Likewise.
1991         (nativeRemoveAll): New method.
1992         (nativeGetSelected): New method.
1993         (selection_changed): New method.
1994         (getHistory): Remove.
1995         (item_activate): Remove.
1996         (item_removed): Remove.
1997         (connect_choice_item_selectable_hook): Remove.
1999 2004-08-31  Thomas Fitzsimmons  <fitzsim@redhat.com>
2001         * gnu/java/awt/peer/gtk/GtkTextFieldPeer.java (create): Use tf
2002         variable in setEditable call.
2004         * gnu/java/awt/peer/gtk/GtkTextFieldPeer.java,
2005         jni/gtk-peer/gnu_java_awt_peer_gtk_GtkTextFieldPeer.c
2006         (gtkWidgetSetBackground): New method.
2007         (gtkWidgetSetForeground): Likewise.
2008         (create): Set peer's editable state based on awtComponent's.
2010         * java/awt/Button.java (Button()): Use empty string rather than
2011         null in no-label constructor.
2013 2004-08-31  Roman Kennke  <roman@ontographics.com>
2015         * javax/swing/BoxLayout.java: Reimplement.
2017 2004-08-31  Thomas Fitzsimmons  <fitzsim@redhat.com>
2019         * gnu/java/awt/peer/gtk/GdkGraphics.java,
2020         gnu_java_awt_peer_gtk_GdkGraphics.c
2021         (initState(GtkComponentPeer)): Don't return array of colour
2022         values.
2023         (GdkGraphics(int,int)): Set default font to size 12.
2024         (GdkGraphics(GtkComponentPeer)): Set graphics colour to
2025         component's foreground colour.
2026         * gnu/java/awt/peer/gtk/GdkGraphics2D.java,
2027         gnu_java_awt_peer_gtk_GdkGraphics2D.c
2028         (initState(GtkComponentPeer)): Don't return array of colour
2029         values.
2030         (GdkGraphics2D(GtkComponentPeer)): Set foreground and background
2031         colours to component's colours.
2032         (current_colors_of_widget): Remove function.
2033         * gnu/java/awt/peer/gtk/GtkOffScreenImage.java (getGraphics):
2034         Return a new graphics object.
2035         * java/awt/Font.java (toString): Fix format.
2036         * java/awt/Graphics.java (toString): Likewise.
2038 2004-08-31  Craig Black  <craig.black@aonix.com>
2040         * native/jni/gtk-peer/gnu_java_awt_peer_gtk_GtkMenuPeer.c
2041         (addTearOff): New function.
2042         * gnu/java/awt/peer/gtk/GtkMenuPeer.java (addTearOff):
2043         New native method.
2044         (init): Call addTearOff() when menu.isTearOff().
2046 2004-08-31  Bryce McKinlay  <mckinlay@redhat.com>
2048         * gnu/java/awt/ClasspathToolkit.java (createImageProducer): New.
2049         Default implementation.
2050         * gnu/java/awt/peer/gtk/GtkToolkit.java (createImageProducer): New.
2051         Implement using GdkPixbufDecoder.
2053 2004-08-31  David Jee  <djee@redhat.com>
2055         * gnu/java/awt/peer/gtk/GtkComponentPeer.java
2056         (GtkComponentPeer): Use gtkWidgetGetPreferredDimensions() for
2057         setting the size of GtkFileDialogPeers.
2058         * jni/gtk-peer/gnu_java_awt_peer_gtk_GtkComponentPeer.c
2059         (gtkWidgetGetPreferredDimensions): For widgets extending GtkWindow,
2060         use their default sizes rather than their natural requisitions.
2062 2004-08-31  Michael Koch  <konqueror@gmx.de>
2064         * javax/swing/JFormattedTextField.java
2065         (JFormattedTextField): Implemented.
2066         * javax/swing/text/DefaultEditorKit.java
2067         (BeepAction): New inner class.
2068         * javax/swing/text/Segment.java
2069         (partialReturn): New field.
2070         (setPartialReturn): New method.
2071         (isPartialReturn): Likewise.
2072         * javax/swing/text/View.java
2073         (createFragment): Fixed typo.
2074         (getStartOffset): New method.
2075         (getEndOffset): Likewise.
2077 2004-08-31  Michael Koch  <konqueror@gmx.de>
2079         * javax/swing/table/DefaultTableColumnModel.java
2080         (serialVersionUID): Made private.
2081         (listenerList): Initialize.
2082         (changeEvent): Initialize.
2083         * javax/swing/table/JTableHeader.java
2084         (JTableHeader): New constructors.
2085         (createDefaultColumnModel): New method.
2086         * javax/swing/table/TableColumn.java
2087         (setHeaderRenderer): Simplified code.
2088         (setCellRenderer): Likewise.
2089         (setWidth): Likewise.
2091 2004-08-31  Tom Tromey  <tromey@redhat.com>
2093         * java/text/AttributedString.java (AttributedString): Use
2094         ArrayList to build array of attribute ranges.  Don't use
2095         `attribs' before it is set.
2097 2004-08-30  Andreas Tobler  <a.tobler@schweiz.ch>
2099         * HACKING: Remove reference to special automake. No longer needed.
2101 2004-08-30  Tom Tromey  <tromey@redhat.com>
2103         * gnu/java/security/util/Prime.java (generateRandomPrime): Use
2104         return result from `add'.
2106 2004-08-30  Tom Tromey  <tromey@redhat.com>
2108         * java/rmi/server/UID.java (UID): Read `nextCount', not count.
2110 2004-08-30  Andreas Tobler  <a.tobler@schweiz.ch>
2112         * gnu/java/security/der/DEREncodingException.java: Remove whitespaces.
2114 2004-08-30  Jeroen Frijters  <jeroen@frijters.net>
2116         * java/io/File.java File(String,String): Fixed handling of empty
2117         path.
2119 2004-08-30  Casey Marshall  <csm@gnu.org>
2121         Author e-mail updated for all files.
2122         * gnu/java/security/OID.java (equals): Test if the aurgment is an
2123         instance of OID.
2124         (compareTo): Use `equals'.
2125         * gnu/java/security/der/BitString.java (equals): Test if the
2126         argument is an instance of BitString.
2127         * gnu/java/security/der/DERReader.java: Removed NIO imports.  Made
2128         class final. Made fields private.
2129         (<init>): New constructor.
2130         (skip): New method.
2131         (makeString): Made static; don't use NIO.
2132         (fromIso88591, fromUtf16Be, fromUtf8): New methods.
2133         * gnu/java/security/der/DERWriter.java: Fixed imports.
2134         (writeString): Don't use NIO.
2135         (toIso88591, toUtf16Be, toUtf8): New methods.
2136         * gnu/java/security/der/DERValue.java: Formatting changes only.
2137         * gnu/java/security/der/DER.java: Likewise.
2139 2004-08-30  Tom Tromey  <tromey@redhat.com>
2141         * java/nio/CharBuffer.java (put): Fix typo.
2142         * java/nio/DoubleBuffer.java (put): Fix typo.
2143         * java/nio/FloatBuffer.java (put): Fix typo.
2144         * java/nio/IntBuffer.java (put): Fix typo.
2145         * java/nio/LongBuffer.java (put): Fix typo.
2146         * java/nio/ShortBuffer.java (put): Fix typo.
2148 2004-08-30  Florian Weimer  <fw@deneb.enyo.de>
2150         * java/nio/ByteBuffer.java (put): Fix typo.
2152 2004-08-30  Casey Marshall  <csm@gnu.org>
2154         * java/security/DummyKeyPairGenerator.java (clone): Removed
2155         useless instanceof check.
2156         * java/security/DummyMessageDigest.java (clone): Likewise.
2157         * java/security/DummySignature.java (clone): Likewise.
2158         * java/security/MessageDigest.java (clone): Remove useless
2159         instanceof check.
2160         * java/security/MessageDigestSpi.java (clone): Likewise.
2161         * java/security/Signature.java (clone): Provide meaningful
2162         implementation.
2163         * java/security/SignatureSpi.java (clone): Likewise.
2165 2004-08-29  Mark Wielaard  <mark@klomp.org>
2167         * java/util/Arrays.java
2168         (sort(byte[], int, int)): Check fromIndex < 0.
2169         (sort(char[], int, int)): Likewise.
2170         (sort(short[], int, int)): Likewise.
2171         (sort(int[], int, int)): Likewise.
2172         (sort(long[], int, int)): Likewise.
2173         (sort(float[], int, int)): Likewise.
2174         (sort(double[], int, int)): Likewise.
2175         (sort(Object[], int, int, Comparator)): Likewise.
2176         (qsort(byte[], int, int)): Honor lower bound from in insertion sort.
2177         (qsort(char[], int, int)): Likewise.
2178         (qsort(short[], int, int)): Likewise.
2179         (qsort(int[], int, int)): Likewise.
2180         (qsort(long[], int, int)): Likewise.
2181         (qsort(float[], int, int)): Likewise.
2182         (qsort(double[], int, int)): Likewise.
2184 2004-08-29  Andrew John Hughes  <gnu_andrew@member.fsf.org>
2186         * java/util/AbstractCollection.java, java/util/AbstractList.java,
2187         java/util/AbstractMap.java, java/util/AbstractSequentialList.java,
2188         java/util/ArrayList.java, java/util/Arrays.java,
2189         java/util/BitSet.java, java/util/Calendar.java,
2190         java/util/Collection.java, java/util/ListIterator.java,
2191         java/util/Map.java, java/util/SortedSet.java:
2192         Added additional exceptions to documentation, along
2193         with some additions and corrections.
2195 2004-08-27  Hans Boehm  <Hans.Boehm@hp.com>
2197         * configure.ac: Handle --enable-gc-debug.
2198         * configure: Regenerate.
2199         * include/config.h.in (LIBGCJ_GC_DEBUG): Add.
2200         * boehm.cc: Include gc_mark.h, javaxfc.h, but no GC private files.
2201         Rearrange include file order.
2202         (GC_DEBUG): Set if LIBGCJ_GC_DEBUG is set.
2203         (GC_finalize_all, GC_debug_generic_malloc): Don't declare.
2204         (disable_gc_mutex): Delete along with all references.
2205         (_Jv_MarkObj, _Jv_MarkArray): Use public types,
2206         adjust for debug header size.
2207         (_Jv_AllocObj, _Jv_allocPtrFreeObj): Define out of line for
2208         debug case.
2209         (_Jv_AllocArray): Declare min_heap_addr only if needed.
2210         (gcj_describe_type_fn): New.
2211         (_Jv_InitGC): Use GC_new_free_list, GC_new_proc, and GC_new_kind.
2212         Register gcj_describe_type_fn.
2213         * include/boehm-gc.h:
2214         (_Jv_AllocObj, _Jv_allocPtrFreeObj):
2215         Don't define, but declare, for debug case.
2216         * java/lang/natObject.cc:
2217         (GC_DEBUG): Define if LIBGCJ_GC_DEBUG is set.
2219 2004-08-26  Mark Wielaard  <mark@klomp.org>
2221         Fixes PR libgcj/17002:
2222         * java/util/TimeZone.java (defaultZone): Try a couple of ways to get
2223         a TimeZoneId string and then try to convert that to a TimeZone with
2224         getDefaultSystemTimeZone(String).
2225         (timezones0): Changed type from Hashtable to HashMap.
2226         (timezones): Create HashMap, not Hashtable.
2227         (getDefaultTimeZone): New method, rewritten from CNI version.
2228         (readTimeZoneFile): New method.
2229         (readtzFile): Likewise.
2230         (skipFully): Likewise.
2231         * java/util/natTimeZone.cc (getSystemTimeZone): Renamed to
2232         getDefaultTimeZoneId and rewritten.
2233         (getDefaultTimeZoneId): Rewritten in java.
2234         
2235 2004-08-25  David Daney  <daney@avtrex.com>
2237         * Makefile.am (AM_GCJFLAGS):  Add LIBGCJ_JAVAFLAGS.
2238         * Makefile.in: Regenerated.
2240 2004-08-23  Bryce McKinlay  <mckinlay@redhat.com>
2242         * prims.cc (JVMPI_NOTIFY_ALLOC): New macro. Call jvmpi_notify_alloc
2243         only if jvmpi is enabled.
2244         (jvmpi_notify_alloc): Don't check if jvmpi is enabled here.
2245         (_Jv_AllocObjectNoFinalizer): Use JVMPI_NOTIFY_ALLOC.
2246         (_Jv_AllocString): Likewise.
2247         (_Jv_AllocPtrFreeObject): Likewise.     
2249 2004-08-23  Hans Boehm  <Hans.Boehm@hp.com>
2251         * defineclass.cc: Include <stdio.h>.
2252         * java/lang/natClassLoader.cc: Include <stdio.h>.
2254 2004-08-21  Andreas Tobler  <a.tobler@schweiz.ch>
2255             Michael Koch  <konqueror@gmx.de>
2257         * Makefile.am (lib_gnu_java_awt_peer_gtk_la_LINK): Added.
2258         * Makefile.in: Regenerated.
2260 2004-08-20  Michael Koch  <konqueror@gmx.de>
2262         * configure.ac: Replaced all AC_TRY_COMPILE macros with
2263         AC_COMPILE_IFELSE macros.
2265 2004-08-20  Michael Koch  <konqueror@gmx.de>
2267         * configure.in: Renamed to configure.ac.
2268         * configure.ac: New file.
2269         * configure, Makefile.in, gcj/Makefile.in, include/Makefile.in
2270         include/config.h.in, testsuite/Makefile.in: Regenerated.
2272 2004-08-20  Michael Koch  <konqueror@gmx.de>
2274         * configure.in: Rewrote some obsolete stuff for autoconf 2.59.
2275         * aclocal.m4, configure: Regenerated.
2277 2004-08-19  Thomas Fitzsimmons  <fitzsim@redhat.com>
2278             Michael Koch  <konqueror@gmx.de>
2280         * configure.in, Makefile.am: Ported to automake 1.9.
2281         * Makefile.in, aclocal.m4, configure, gcj/Makefile.in, 
2282         include/Makefile.in, testsuite/Makefile.in, include/config.h.in:
2283         Regenerated.
2285 2004-08-19  Tom Tromey  <tromey@redhat.com>
2287         * java/net/DatagramSocket.java: Fixed typo.
2289 2004-08-18  Bryce McKinlay  <mckinlay@redhat.com>
2291         PR libgcj/17081
2292         * java/net/URI.java (string): New field. Make all other fields
2293         transient.
2294         (readObject): Implemented.
2295         (writeObject): Implemented.
2296         (URI): Set 'string'.
2298 2004-08-18  Bryce McKinlay  <mckinlay@redhat.com>
2300         PR libgcj/17079
2301         * java/util/logging/Handler.java (isLoggable): Accept record if its
2302         log level equals the threshold level. From Robin Green.
2304 2004-08-18  David Daney  <ddaney@avtrex.com>
2306         * java/lang/natPosixProcess.cc (waitForSignal): Use sigsuspend 
2307         instead of sigwait.
2309 2004-08-17  Michael Koch  <konqueror@gmx.de>
2311         * Makefile.am (AM_CXXFLAGS): Reformatted to make it more ease to read.
2312         * Makefile.in: Regenerated.
2314 2004-08-16  Tom Tromey  <tromey@redhat.com>
2316         PR java/8473:
2317         * testsuite/libjava.jacks/jacks.xfail: Removed passing test.
2319 2004-08-16  Michael Koch  <konqueror@gmx.de>
2321         * Makefile.am
2322         (math_c_files): Renamed from c_files.
2323         (math_c_source_files): Renamed from c_source_files.
2324         * Makefile.in,
2325         gcj/Makefile.in,
2326         include/Makefile.in,
2327         testsuite/Makefile.in: Regenerated.
2329 2004-08-16  Bryce McKinlay  <mckinlay@redhat.com>
2331         * configure.in (AC_CONF_SUBDIRS): Use literal for ltdl directory
2332         to avoid autoconf warning.
2333         * configure: Rebuilt.
2335 2004-08-14  Andreas Tobler  <a.tobler@schweiz.ch>
2337         * java/net/natInetAddressPosix.cc (lookup): Reflect rename of 
2338         localhostAddress to loopbackAddress.
2339         * java/net/natInetAddressWin32.cc (lookup): Likewise.
2341 2004-08-13  Bryce McKinlay  <mckinlay@redhat.com>
2343         * configure.in (GCINCS): Don't use "boehm-cflags". Instead, -I 
2344         boehm-gc's include dirs.
2345         * configure: Rebuilt.
2346         * include/boehm-gc.h: Include gc_config.h.
2348 2004-08-13  Bryce McKinlay  <mckinlay@redhat.com>
2350         * java/net/InetAddress.java (loopbackAddress): Renamed from 
2351         localhostAddress.
2352         (getByName): Return loopback address for null hostname, without
2353         security check. Use lookup(), not getAllByName.
2354         (getAllByName): Return loopback address for null hostname, without
2355         security check.
2356         * java/net/natInetAddressPosix.cc (lookup): Don't perform security
2357         check here.
2359 2004-08-13  Bryce McKinlay  <mckinlay@redhat.com>
2361         PR libgcj/17020
2362         Reported by Robin Green.
2363         * defineclass.cc (handleField): Don't throw exception on unrecognised
2364         modifier. Add FIXME comments for spec compliance.
2365         (handleMethod): Likewise.
2367 2004-08-10  Hans Boehm <Hans.Boehm@hp.com>
2369         PR libgcj/16662
2370         * java/lang/natObject.cc (LOCK_LOG, LOG): Add debug tracing.
2371         (Almost everywhere): add LOG calls, fix, add comments.
2372         (_Jv_MonitorEnter): Replace masking of LOCKED bit with assertion.
2373         Add explicit check for LOCKED bit in slow case (PR 16662).
2374         (_Jv_MonitorExit): Add casts in debug-only code.
2375         Always release LOCKED bit before throwing exception.
2376         (_Jv_ObjectCheckMonitor): Lock may be held if lightweight lock
2377         isn't.  Handle easy cases without lock acquisition.
2378         (Object::wait): Use NotifyAll for lock inflation.
2380 2004-08-12  David Daney  <ddaney@avtrex.com>
2382         * testsuite/libjava.lang/Process_1.java: New test.
2383         * testsuite/libjava.lang/Process_2.java: New test.
2384         * testsuite/libjava.lang/Process_3.java: New test.
2385         * testsuite/libjava.lang/Process_4.java: New test.
2386         * testsuite/libjava.lang/Process_5.java: New test.
2387         * testsuite/libjava.lang/Process_6.java: New test.
2388         * testsuite/libjava.lang/Process_1.out: Expected result.
2389         * testsuite/libjava.lang/Process_2.out: Expected result.
2390         * testsuite/libjava.lang/Process_3.out: Expected result.
2391         * testsuite/libjava.lang/Process_4.out: Expected result.
2392         * testsuite/libjava.lang/Process_5.out: Expected result.
2393         * testsuite/libjava.lang/Process_6.out: Expected result.
2395 2004-08-12  David Daney  <ddaney@avtrex.com>
2397         PR libgcj/11801
2398         * java/lang/PosixProcess.java: Rewrote.
2399         * java/lang/natPosixProcess.cc: Rewrote.
2400         * java/lang/Runtime.java (execInternal): Declare throws IOException.
2401         * gcj/javaprims.h (ConcreteProcess$ProcessManager): Declare.
2402         * posix-threads.cc (block_sigchld) New function.
2403         (_Jv_ThreadRegister) Use it.
2404         (_Jv_ThreadStart) Use it.
2405         * configure.in (PLATFORM_INNER_NAT_HDRS): New AC_SUBST() used in...
2406         * Makefile.am: ... to specify extra native headers.
2407         * configure: Regenerated.
2408         * include/config.h: Regenerated.
2409         * Makefile.in: Regenerated.
2410         * gcj/Makefile.in: Regenerated.
2411         * include/Makefile.in: Regenerated.
2412         * testsuite/Makefile.in: Regenerated.
2414 2004-08-12  Diego Novillo  <dnovillo@redhat.com>
2416         PR tree-optimization/16867
2417         * testsuite/libjava.lang/PR16867.java: New test.
2419 2004-08-09  Per Bothner  <per@bothner.com>
2421         * gcj/javaprims.h (_Jv_Utf8Const): Change struct to a class,
2422         with private fields and access methods.
2423         (_Jv_NewStringUTF, _Jv_hashUtf8String): New function declarations.
2424         * gcj/cni.h (_Jv_NewStringUTF): Move to javaprims.h.
2425         * prims.cc (_Jv_Utf8COnst::init): New method implementation.
2426         ( _Jv_makeUtf8Const): Rewrite using new constructors.
2427         (hashUtf8String): Rename to +_Jv_hashUtf8String and make non-static.
2428         * defineclass.cc: Use new _Utf8Const access/convenience methods.
2429         * jni.cc: Likewise.
2430         * resolve.cc: Likewise.
2431         * gcj/field.h: Likewise.
2432         * include/jvm.h: Likewise.
2433         * java/lang/Class.h: Likewise.
2434         * java/lang/natClass.cc: Likwise.
2435         * java/lang/natClassLoader.cc: Likewise
2436         * java/lang/reflect/natMethod.cc: Likewise
2437         * verify.cc: Likewise.
2438         (_Jv_BytecodeVerifier::make_utf8_const):  Optimize.
2439         (~_Jv_BytecodeVerifier):  Don't need second _Jv_Free call.
2441 2004-08-10  Andrew Haley  <aph@redhat.com>
2443         * testsuite/libjava.lang/err14.java: New file.
2444         * testsuite/libjava.lang/err14.out: New file.
2446 2004-08-05  Andreas Tobler  <a.tobler@schweiz.ch>
2448         * Makefile.am: Fix missing rename from x_nat_headers to 
2449         xlib_nat_headers.
2450         * Makefile.in: Regenerated.
2452 2004-08-04  Andrew Haley  <aph@redhat.com>
2454         * java/security/BasicPermission.java: Don't check wildcards.
2456 2004-08-04  Thomas Fitzsimmons <fitzsim@redhat.com>
2457             Michael Koch  <konqueror@gmx.de>
2459         * acinclude.m4: Correctly quote PKG_CHECK_MODULES.
2460         * configure.in: Replaced all usages of AC_LINK_FILES by
2461         AC_CONFIG_LINKS.
2462         * aclocal.m4,
2463         configure: Regenerated.
2465 2004-08-04  Thomas Fitzsimmons  <fitzsim@redhat.com>
2466             Michael Koch  <konqueror@gmx.de>
2468         * acconfig.h: Removed.
2469         * Makefile.am: Rename variables for xlib peer to include xlib and
2470         gtk_c_headers to gtk_jni_headers.
2471         * Makefile.in: Regenerated.
2473 2004-08-04  Andrew Haley  <aph@redhat.com>
2475         * testsuite/lib/libjava.exp (bytecompile_file): Byte compile with
2476         debugging.
2478 2004-08-03  Nathanael Nerode  <neroden@gcc.gnu.org>
2480         * configure.in: Eliminate uses of changequote (mostly by quoting []).
2481         Replace most top level 'dnl' comments with '#' comments, conforming
2482         to new autoconf style.  Use AS_HELP_STRING throughout; improve a few
2483         help strings.
2484         * configure: Rebuilt.
2486 2004-07-17  Nathanael Nerode  <neroden@gcc.gnu.org>
2488         * acinclude.m4: Include no-executables.m4.
2489         * aclocal.m4: Rebuild.
2490         * configure.in: Convert to the autoconf 2.59 version of
2491         of the no-executables hack, and also of the nonstandard CXX
2492         hack and the multilibbed CC and CXX hack.  Change prerequisite
2493         to autoconf 2.59.
2494         * configure: Rebuild with autoconf 2.59.  (Woo-hoo!)
2495         * Makefile.in, gcj/Makefile.in, include/Makefile.in,
2496         testsuite/Makefile.in: Regenerate.
2498 2004-08-03  Tom Tromey  <tromey@redhat.com>
2500         * jni.cc: Reindented.
2502 2004-08-02  Bryce McKinlay  <mckinlay@redhat.com>
2504         * java/sql/Timestamp.java (valueOf): Synchronize access to dateFormat.
2506 2004-08-02  Bryce McKinlay  <mckinlay@redhat.com>
2508         * testsuite/libjava.compile/PR16701.java: New test.
2510 2004-08-01  Andrew John Hughes  <gnu_andrew@member.fsf.org>
2512         * java/util/Collection.java, java/util/List.java,
2513         java/util/Map.java, java/util/Set.java,
2514         java/util/SortedMap.java, java/util/SortedSet.java:
2515         Added additional exceptions to documentation.
2517 2004-08-01  Danny Smith  <dannysmith@users.sourceforge.net>
2519         PR libgcj/16814
2520         * configure.in [host *mingw*] (SYSTEMSPEC): Remove -lwsock32.
2521         * configure. Regenerate.
2522         * include/win32.h: Explicitly include winsock2.h
2523         * win32.cc (_Jv_platform_initialize): Require version 2.2 of
2524         Winsock api.
2526 2004-07-30  Michael Koch  <konqueror@gmx.de>
2528         * java/util/zip/GZIPInputStream.java
2529         (GZIPInputStream): Increase buffer size to 4k.
2530         * java/util/zip/GZIPOutputStream.java
2531         (GZIPOutputStream): Likewise.
2532         * java/util/zip/Inflater.java
2533         (setInput): Merged formating with GNU classpath.
2534         * java/util/zip/InflaterInputStream.java
2535         (InflaterInputStream): Increase buffer size to 4k.
2536         (fill): Throw exception if stream ends early.
2537         (read): Merged endless-loop with GNU classpath.
2538         (skip): Increase buffer size to 2k.
2540 2004-07-30  Michael Koch  <konqueror@gmx.de>
2542         * gnu/java/awt/EmbeddedWindow.java
2543         (addNotify): Use AccessController to allow execution of privileged
2544         code.
2546 2004-07-29  Michael Koch  <konqueror@gmx.de>
2548         * gnu/java/lang/MainThread.java:
2549         Explicitely import used classes.
2550         (args): Make it type String[].
2552 2004-07-29 Dalibor Topic <robilad@kaffe.org>
2554         * gnu/java/awt/ComponentDataBlitOp.java,
2555         gnu/java/beans/ExplicitBeanInfo.java,
2556         gnu/java/beans/IntrospectionIncubator.java,
2557         gnu/java/beans/editors/ColorEditor.java,
2558         gnu/java/beans/editors/FontEditor.java,
2559         gnu/java/beans/editors/NativeBooleanEditor.java,
2560         gnu/java/beans/editors/NativeByteEditor.java,
2561         gnu/java/beans/editors/NativeDoubleEditor.java,
2562         gnu/java/beans/editors/NativeFloatEditor.java,
2563         gnu/java/beans/editors/NativeIntEditor.java,
2564         gnu/java/beans/editors/NativeLongEditor.java,
2565         gnu/java/beans/editors/NativeShortEditor.java,
2566         gnu/java/beans/editors/StringEditor.java,
2567         gnu/java/io/ClassLoaderObjectInputStream.java,
2568         gnu/java/io/decode/Decoder.java,
2569         gnu/java/io/encode/Encoder.java,
2570         gnu/java/lang/ClassHelper.java,
2571         gnu/java/locale/Calendar.java,
2572         gnu/java/locale/Calendar_de.java,
2573         gnu/java/locale/Calendar_en.java,
2574         gnu/java/locale/Calendar_nl.java,
2575         gnu/java/locale/LocaleInformation_de.java,
2576         gnu/java/locale/LocaleInformation_en.java,
2577         gnu/java/locale/LocaleInformation_nl.java:
2578         Cleaned up imports.
2580 2004-07-28  Bryce McKinlay  <mckinlay@redhat.com>
2582         * README: Remove obsolete info. Update bug URL.
2583         * THANKS: Updated.
2584         * NEWS: Updated with news up to GCC 3.4 release.
2586 2004-07-28  Bryce McKinlay  <mckinlay@redhat.com>
2588         * gnu/java/security/action/GetPropertyAction.java (setParameters):
2589         Renamed from 'setName'. New 2-argument form with default value.
2590         (run): Pass default 'value' parameter to System.getProperty().
2591         * gnu/java/security/action/SetAccessibleAction.java: Fix javadoc
2592         typos.
2593         * gnu/java/net/protocol/http/Connection.java: Use 'setParameters'
2594         not 'setName'.
2596 2004-07-28  Bryce McKinlay  <mckinlay@redhat.com>
2598         * configure.in: Check for minimum GTK version 2.4 requirement.
2599         * configure: Rebuilt.
2601 2004-07-27  Bryce McKinlay  <mckinlay@redhat.com>
2603         * testsuite/libjava.lang/TLtest.java: Reduce sleep time.
2604         * testsuite/libjava.lang/Thread_Alive.java: Remove old email address.
2605         Reduce sleep time.
2606         * testsuite/libjava.lang/Thread_HoldsLock.java: Modify to work around
2607         compiler bug.
2608         * testsuite/libjava.lang/Thread_Interrupt.java: Remove old email 
2609         address. Reduce sleep times. Synchronize with target threads before
2610         attempting to interrupt them. Don't try to calibrate yeild count,
2611         instead, always loop for a fixed time.
2612         * testsuite/libjava.lang/Thread_Join.java: Remove old email address.
2613         * testsuite/libjava.lang/Thread_Monitor.java: Likewise.
2614         * testsuite/libjava.lang/Thread_Wait.java: Likewise.
2615         * testsuite/libjava.lang/Thread_Wait_2.java: Likewise.
2616         * testsuite/libjava.lang/Thread_Wait_Interrupt.java: Likewise.
2617         * testsuite/libjava.lang/pr179.java: Likewise.
2618         * testsuite/libjava.lang/Thread_Sleep.java: Likewise. Reduce sleep
2619         time. Remove upper bounds check on sleep time. 
2621 2004-07-27  Bryce McKinlay  <mckinlay@redhat.com>
2623         * testsuite/libjava.lang/Thread_HoldsLock.java: New test case.
2624         * testsuite/libjava.lang/Thread_HoldsLock.out: New.     
2626 2004-07-27  Bryce McKinlay  <mckinlay@redhat.com>
2628         * java/io/File.java (toURI): Throw RuntimeException, not 
2629         InternalError.
2630         * java/lang/Runtime.java (exit): Qualify static sleep() call with
2631         class name, not instance.
2633 2004-07-24  Bryce McKinlay  <mckinlay@redhat.com>
2635         * Makefile.am: Add gnu/java/security/action/GetPropertyAction.java
2636         and gnu/java/security/action/SetAccessibleAction.java.
2637         * Makefile.in: Rebuilt.
2639 2004-07-23  Bryce McKinlay  <mckinlay@redhat.com>
2641         * prims.cc (_Jv_InitPrimClass): Don't create an array class.
2642         (_Jv_CreateJavaVM): Don't pass array vtable parameter to
2643         _Jv_InitPrimClass.
2644         (DECLARE_PRIM_TYPE): Don't declare array vtables.
2645         * include/jvm.h (struct _Jv_ArrayVTable): Removed.
2646         * java/lang/Class.h (_Jv_InitPrimClass): Update friend declaration.
2648 2004-07-23  Thomas Fitzsimmons  <fitzsim@redhat.com>
2650         * Makefile.am: Replace jar, rmic and rmiregistry references with
2651         gjar, grmic and grmiregistry.
2652         * configure.in: Likewise.
2653         * Makefile.in: Regenerate.
2654         * configure: Likewise.
2655         * gcj/Makefile.in: Likewise.
2656         * include/Makefile.in: Likewise.
2657         * testsuite/Makefile.in: Likewise.
2659 2004-07-23  Bryce McKinlay  <mckinlay@redhat.com>
2661         * gnu/java/net/protocol/http/Connection.java: Use GetPropertyAction
2662         for privileged getProperty calls.
2663         * java/io/ObjectOutputStream.java (getField): No longer static. Use
2664         SetAccessibleAction instead of anonymous class for doPrivileged call.
2665         (getMethod): Likewise.
2666         (setAccessible): New field. PrivilegedAction object to use when
2667         calling setAccessible.
2668         * java/io/ObjectStreamClass.java (calculateOffsets): Use
2669         SetAccessibleAction instead of anonymous class for diPrivileged call.
2670         (setFields): Likewise.
2671         (getClassUID): Likewise.
2672         (findMethod): Likewise.
2673         * gnu/java/security/action/GetPropertyAction.java: New class.
2674         * gnu/java/security/action/SetAccessibleAction.java: New class. 
2676 2004-07-23  Bryce McKinlay  <mckinlay@redhat.com>
2678         * java/io/ObjectStreamField (ObjectStreamField): Don't unset 'toset'
2679         for final fields.
2680         * testsuite/libjava.lang/Serialization.java: New test.
2681         * testsuite/libjava.lang/Serialization.out: New.
2683 2004-07-23  Bryce McKinlay  <mckinlay@redhat.com>
2685         * gnu/java/net/DefaultContentHandlerFactory.java: Check in real file
2686         missed in last commit.
2688 2004-07-23  Mark Wielaard  <mark@klomp.org>
2690         * java/lang/System.java (static): Set http.agent system property when
2691         not yet set.
2692         * gnu/java/net/protocol/http/Connection.java (static): Get httpAgent
2693         from system property inside AccessController.doPrivileged() call.
2694         (proxyPort): Made package private.
2695         (proxyInUse): Likewise.
2696         (proxyHost): Likewise.
2697         (userAgent): Likewise.
2699 2004-07-23  Mark Wielaard  <mark@klomp.org>
2701         * gnu/java/net/DefaultContentHandlerFactory.java: New dummy
2702         implementation.
2704 2004-07-22  Bryce McKinlay  <mckinlay@redhat.com>
2706         * Makefile.am (ordinary_java_source_files): Add
2707         DefaultContentHandlerFactory.java.
2708         * Makefile.in: Rebuilt.
2709         * java/net/URLConnection.java (defaultFactory): New field.
2710         (getContent): 
2711         (getContentHandler): Renamed from 'setContentHandler'. Try 
2712         defaultFactory after user-set factory, if any. Search for content 
2713         handler implementations in gnu.java.net.content, not gnu.gcj.content.
2714         * gnu/java/net/protocol/file/Connection.java (getHeaderField):
2715         Implemented.
2716         (getLastModified): Implemented.
2717         (getPermission): Create file permission here, instead of in
2718         constructor.
2719         * gnu/java/net/protocol/gcjlib/Connection.java (getHeaderField):
2720         Implemented.
2721         * gnu/java/net/protocol/jar/Connection.java (getHeaderField):
2722         Implemented.
2723         (getLastModified): Implemented.
2724         * gnu/java/awt/ClasspathToolkit.java (createImageProducer): New.
2725         Default implementation.
2726         * gnu/java/awt/peer/gtk/GtkToolkit.java (createImageProducer): New.
2727         Implement using GdkPixbufDecoder.
2728         
2729 2004-07-21  Michael Koch  <konqueror@gmx.de>
2731         * javax/swing/JTextArea.java
2732         (setLineWrap): Fire property change event after new value is set.
2733         (setTabSize): Likewise.
2735 2004-07-21  Michael Koch  <konqueror@gmx.de>
2737         * javax/swing/JTable.java
2738         (autoCreateColumnsFromModel): New field.
2739         (autoResizeMode): Likewise.
2740         (cellEditor): Likewise.
2741         (cellSelectionEnabled): Likewise.
2742         (columnModel): Likewise.
2743         (dataModel): Likewise.
2744         (defaultEditorsByColumnClass): Likewise.
2745         (defaultRenderersByColumnClass): Likewise.
2746         (editingColumn): Likewise.
2747         (editingRow): Likewise.
2748         (gridColor): Likewise.
2749         (preferredViewportSize): Likewise.
2750         (rowHeight): Likewise.
2751         (rowMargin): Likewise.
2752         (rowSelectionAllowed): Likewise.
2753         (selectionBackground): Likewise.
2754         (selectionForeground): Likewise.
2755         (selectionModel): Likewise.
2756         (showHorizontalLines): Likewise.
2757         (showVerticalLines): Likewise.
2758         (tableHeader): Likewise.
2759         (JTable): Implemented.
2760         (getColumnModel): Likewise.
2761         (getSelectedRow): Likewise.
2762         (getSelectionModel): Likewise.
2763         (setModel): Likewise.
2764         (setSelectionModel): Likewise.
2765         (createScrollPaneForTable): New method.
2766         (createDefaultDataModel): Likewise.
2767         (createDefaultListSelectionModel): Likewise.
2768         (getModel): Likewise.
2769         (getTableHeader): Likewise.
2770         (setTableHeader): Likewise.
2771         (getColumnSelectionAllowed): Likewise.
2772         (setColumnSelectionAllowed): Likewise.
2773         (getRowSelectionAllowed): Likewise.
2774         (setRowSelectionAllowed): Likewise.
2775         (getAutoResizeMode): Likewise.
2776         (setAutoResizeMode): Likewise.
2777         (getColumnCount): Likewise.
2778         (getRowCount): Likewise.
2779         (getCellRenderer): Likewise.
2780         * javax/swing/JTree.java
2781         (cellRenderer): New field.
2782         (editable): Likewise.
2783         (rootVisible): Likewise.
2784         (showsRootHandles): Likewise.
2785         (getModel): New method.
2786         (setModel): Likewise.
2787         (isEditable): Likewise.
2788         (setEditable): Likewise.
2789         (isRootVisbile): Likewise.
2790         (setRootVisible): Likewise.
2791         (getShowsRootHandles): Likewise.
2792         (setShowRootHandles): Likewise.
2793         (getCellRenderer): Likewise.
2794         (setCellRenderer): Likewise.
2796 2004-07-21  Michael Koch  <konqueror@gmx.de>
2798         * javax/swing/JFormattedTextField.java
2799         (setDocument): Implemented.
2800         * javax/swing/JRootPane.java:
2801         Fixed javadocs.
2802         * javax/swing/JTable.java
2803         (getDefaultRenderer): New method.
2804         * javax/swing/JTextField.java
2805         (setFont): Likewise.
2806         (getPreferredSize): Likewise.
2807         * javax/swing/JToggleButton.java
2808         (getAccessibleContext): Fix javadoc.
2809         * javax/swing/JTree.java:
2810         Add some javadocs.
2811         * javax/swing/JViewport.java:
2812         Likewise.
2814 2004-07-21  David Jee  <djee@redhat.com>
2816         * gnu/java/awt/peer/gtk/GtkFileDialogPeer.java:
2817         Collect all native method declaration at the top.
2818         (create): Set the filename filter if necessary.
2819         (setDirectory): Call nativeSetDirectory().
2820         (setFilenameFilter): Implement.
2821         (filenameFilterCallback): New method.
2822         * jni/gtk-peer/gnu_java_awt_peer_gtk_GtkFileDialogPeer.c
2823         (create): Configure dialog to show hidden files.
2824         (filenameFilterCallback): New function. 
2825         (nativeSetFilenameFilter): New function.
2826         (nativeSetDirectory): New function.
2828 2004-07-21  Kim Ho  <kho@redhat.com>
2830         * javax/swing/plaf/basic/BasicSliderUI.java:
2831         Ran Jalopy.
2832         (paintTrack): Fill the track before painting
2833         the borders.
2835 2004-07-21  Graydon Hoare  <graydon@redhat.com>
2837         patch from Roman Kennke <roman@ontographics.com>
2838         * javax/swing/Spring.java: New file.
2839         * javax/swing/SpringLayout.java: New file.
2840         * Makefile.am: Add new files.
2841         * Makefile.in: Regenerate.
2843 2004-07-21  Graydon Hoare  <graydon@redhat.com>
2845         * javax/swing/plaf/basic/BasicSplitPaneUI.java: Minor layout fixes.
2846         * javax/swing/plaf/basic/BasicTabbedPaneUI.java: Likewise.
2847         * javax/swing/ScrollPaneLayout.java: Likewise.
2849 2004-07-21  Kim Ho  <kho@redhat.com>
2851         * javax/swing/DefaultDesktopManager.java:
2852         (findMinimum): Removed.
2853         (resizeFrame): Trust the UI to pass valid 
2854         bounds.
2855         * javax/swing/JOptionPane.java:
2856         Implemented showInternalXXXDialog methods.
2857         (startModal): New method.
2858         * javax/swing/plaf/basic/BasicInternalFrameUI.java:
2859         (BorderListener::mouseDragged): Verify that the new 
2860         bounds are valid before passing them to the DesktopManager.
2861         (preferredLayoutSize): Delegate
2862         to getSize.
2863         (minimumLayoutSize): Ditto.
2864         (getSize): New method.
2865         (GlassPaneDispatcher): Reimplemented by copying 
2866         a stripped down LightweightDispatcher from Container.
2867         (getMinimumSize): Call minimumLayoutSize.
2868         * javax/swing/plaf/basic/BasicOptionPaneUI.java:
2869         Ran Jalopy.
2870         (mousePressed): Add ability to properly close 
2871         JInternalFrames.
2872         * javax/swing/plaf/basic/BasicToolBarUI.java:
2873         (DragWindow): Set owner for DragWindow.
2875 2004-07-21  Jerry Quinn  <jlquinn@optonline.net>
2877         * java/awt/image/ShortLookupTable.java: New file.
2878         * java/awt/image/ByteLookupTable.java: New file.
2879         * Makefile.am: Added new files.
2880         * Makefile.in: Regenerated.
2882 2004-07-21  David Jee  <djee@redhat.com>
2884         * gnu/java/awt/peer/gtk/GtkFileDialogPeer.java
2885         (create(GtkContainerPeer)): New native method.
2886         (create()): Call native create(), passing in the parent frame
2887         as the paramter. Natively set the current file and directory.
2888         (setFile): Construct an absolute filename before passing it to
2889         the native peer.
2890         (nativeGetDirectory): New method.
2891         * jni/gtk-peer/gnu_java_awt_peer_gtk_GtkFileDialogPeer.c
2892         (window_closed): Removed.
2893         (ok_clicked): Likewise.
2894         (cancel_clicked): Likewise.
2895         (handle_response): New method.
2896         (create): Use GtkFileChooserDialog.
2897         (connectSignals): Connect to handle_response.
2898         (nativeGetDirectory): New method.
2899         (nativeSetFile): Use GtkFileChooserDialog.
2901 2004-07-21  Jerry Quinn  <jlquinn@optonline.net>
2903         * java/awt/image/LookupTable.java: New file.
2904         * Makefile.am: Added new file.
2905         * Makefile.in: Regenerated.
2907 2004-07-21  Jerry Quinn  <jlquinn@optonline.net>
2909         * java/awt/image/Kernel.java: New file.
2910         * Makefile.am: Added new file.
2911         * Makefile.in: Regenerated.
2913 2004-07-21  Olga Rodimina  <rodimina@redhat.com>
2915         * javax/swing/JCheckBoxMenuItem.java: Fixed Javadocs.
2916         * javax/swing/JMenu.java: Likewise.
2917         * javax/swing/JMenuBar.java: Likewise.
2918         (MARGIN_CHANGED_PROPERTY): New property.
2919         (setMargin): Implemented.
2920         * javax/swing/JMenuItem.java: Fixed javadocs.
2921         * javax/swing/JPopupMenuUI.java: Fixed javadocs.
2922         (LABEL_CHANGED_PROPERTY): New property.
2923         (add): changed to use createActionComponent.
2924         (createActionComponent): Implemented.   
2925         (setLabel): Fire PropertyChangeEvent if label property
2926         changes.
2927         * javax/swing/JRadioButtonMenuItem.java: Fixed javadocs.
2928         * javax/swing/plaf/basic/BasicMenuBarUI.java: Likewise.
2929         (ContainerHandler): Repaint if margin property has changed.
2930         * javax/swing/plaf/basic/BasicMenuItemUI.java:
2931         (installUI): Call installComponents().
2932         (uninstallUI): Call uinstallComponents().
2933         * javax/swing/plaf/basic/BasicMenuUI.java:
2934         Fixed javadocs.
2935         * javax/swing/plaf/basic/BasicPopupMenuUI.java:
2936         Likewise.
2938 2004-07-21  Kim Ho  <kho@redhat.com>
2940         * javax/swing/plaf/basic/BasicToolBarUI.java:
2941         (DragWindow): Use the right constructor.
2943 2004-07-21  Kim Ho  <kho@redhat.com>
2945         * javax/swing/JToolBar.java:
2946         (layoutContainer): Use getComponents.
2947         * javax/swing/plaf/basic/BasicToolBarUI.java:
2948         (DragWindow): Don't use SwingUtilities' 
2949         getOwnerFrame
2950         (ToolBarDialog): ditto.
2952 2004-07-21  Kim Ho  <kho@redhat.com>
2954         * javax/swing/JRootPane.java:
2955         Ran jalopy.
2956         (layoutContainer): Set the glasspane's size to 
2957         be the same as the content pane.
2958         (createGlassPane): Set opaque property to false.
2960 2004-07-21  Thomas Fitzsimmons  <fitzsim@redhat.com>
2962         * java/awt/Component.java (requestFocus()): Don't handle Panels
2963         specially.
2964         (requestFocus(boolean)): Likewise.
2965         (requestFocusInWindow(boolean)): Likewise.
2966         * jni/gtk-peer/gnu_java_awt_peer_gtk_GtkPanelPeer.c (create):
2967         Set GTK_CAN_FOCUS flag.
2969 2004-07-21  Kim Ho  <kho@redhat.com>
2971         * Makefile.am: Added new file.
2972         * Makefile.in: Regenerated.
2973         * gcj/Makefile.in: Regenerated.
2974         * include/Makefile.in: Regenerated.
2975         * javax/swing/AbstractButton.java:
2976         Add rollOverEnabled property.
2977         (setRolloverEnabled): Use new property.
2978         (isRolloverEnabled): Use new property.
2979         * javax/swing/JTabbedPane.java:
2980         (setComponent): Remove useless JTabbedPane.this.
2981         * javax/swing/JToolBar.java: Finish implementation.
2982         * javax/swing/plaf/basic/BasicArrowButton.java:
2983         (paint): Moved border painting to a border.
2984         * javax/swing/plaf/basic/BasicLookAndFeel.java:
2985         Change JToolBar look and feel defaults.
2986         * javax/swing/plaf/basic/BasicOptionPaneUI.java
2987         (actionPerformed): Return Integer index instead of name.
2988         (addButtonComponents): Check to see if component is
2989         JButton last.
2990         (createMessageArea): Don't use components that are not
2991         completed yet.
2992         (getIconForType): Use temporary icons.
2993         * javax/swing/plaf/basic/BasicSliderUI.java:
2994         (mousePressed): Do not return if it's on thumb.
2995         (paintMinorTickForHorizSlider): Use BLACK to paint ticks.
2996         (paintMinorTickForVertSlider): ditto.
2997         (paintMajorTickForHorizSlider): ditto.
2998         (paintMajorTickForVertSlider): ditto.
2999         * javax/swing/plaf/basic/BasicSplitPaneDivider.java:
3000         Add a border around the SplitPaneDivider.
3001         * javax/swing/plaf/basic/BasicSplitPaneUI.java:
3002         Remove comments.
3003         * javax/swing/plaf/basic/BasicToolBarSeparatorUI.java:
3004         New file. Implemented.
3005         * javax/swing/plaf/basic/BasicToolBarUI.java:
3006         Implemented.
3007         * testsuite/Makefile.in: Regenerated.
3009 2004-07-21  Graydon Hoare  <graydon@redhat.com>
3011         * javax/swing/Timer.java (run): Queue events each time cycle.
3013 2004-07-21  David Jee  <djee@redhat.com>
3015         * gnu/java/awt/peer/gtk/GtkImagePainter.java
3016         (imageComplete): Call image.imageComplete().
3017         * java/awt/image/MemoryImageSource.java:
3018         Reimplement consumers as a Vector instead of a Hashtable.  This is
3019         because enumeration on a Hashtable is not thread-safe.
3020         (addConsumer): Adapt to Vector consumers.
3021         (isConsumer): Adapt to Vector consumers.
3022         (removeConsumer): Adapt to Vector consumers.
3023         (startProduction): Adapt to Vector consumers. Call imageComplete()
3024         with STATICIMAGEDONE flag instead of SINGLEFRAME flag.
3025         (newPixels): Adapt to Vector consumers.
3026         (sendPicture): Set the color model of the image consumer.
3027         (newPixels(IIII)): Adapt to Vector consumers.
3028         (newPixels(IIIIB)): Adapt to Vector consumers.
3030 2004-07-21  Thomas Fitzsimmons  <fitzsim@redhat.com>
3032         * java/awt/Component.java (deliverEvent): Implement.
3033         (postEvent): Implement.
3034         (handleEvent): Implement.
3035         (translateEvent): New method.
3036         (dispatchEventImpl): Document.  Add AWT 1.0 event handling.
3037         * java/awt/Container.java (deliverEvent): Implement.
3038         * java/awt/Event.java (paramString): Fix formatting.
3039         * java/awt/Font.java (toString): Likewise.
3040         * java/awt/Window.java (postEvent): Implement.
3042 2004-07-21  Thomas Fitzsimmons  <fitzsim@redhat.com>
3044         * java/awt/DefaultKeyboardFocusManager.java (dispatchEvent):
3045         Set window's focus owner upon receiving a FOCUS_LOST event.
3046         * java/awt/Window.java (Window()): Refocus the previously
3047         focused component within the window when the window regains the
3048         top-level focus.
3049         (setFocusOwner): New method.
3050         * java/awt/Component.java (requestFocus): Add FIXME.
3052         * libgcj.pc.in: Remove library flags.
3054 2004-07-21  Thomas Fitzsimmons  <fitzsim@redhat.com>
3056         * gnu/java/awt/peer/gtk/GtkPanelPeer.java (handleEvent): Handle
3057         MOUSE_PRESSED event.
3058         * java/awt/Component.java (requestFocus()): Handle Panel
3059         specially.  Post FOCUS_LOST event on opposite component.
3060         (requestFocus(boolean)): Likewise.
3061         (requestFocusInWindow(boolean)): Likewise.
3062         (paramString): Reorder dimension fields.
3063         * java/awt/Container.java (paramString): Fix string format.
3064         * java/awt/DefaultKeyboardFocusManager.java (dispatchEvent):
3065         Handle FOCUS_LOST events.  Don't handle Windows specially.  Only
3066         process key events if the focus owner is non-null.
3067         (dispatchKeyEvent): Likewise.
3068         * java/awt/Frame.java (paramString): Fix formatting.
3069         (generateName): New method.
3070         (getUniqueLong): Likewise.
3071         * java/awt/KeyboardFocusManager.java (getFocusOwner): Check if
3072         the temporary focus owner is null.  If so, return the permanent
3073         focus owner.
3074         * java/awt/Panel.java (generateName): New method.
3075         (getUniqueLong): Likewise.
3076         * jni/gtk-peer/gnu_java_awt_peer_gtk_GtkWindowPeer.c: Rework
3077         signal handling to make callbacks more specific.
3079 2004-07-21  Michael Koch  <konqueror@gmx.de>
3081         * javax/swing/text/Position.java
3082         (Bias): Implemented.
3084 2004-07-21  Michael Koch  <konqueror@gmx.de>
3086         * javax/swing/LookAndFeel.java
3087         (provideErrorFeedback): New method.
3089 2004-07-21  Michael Koch  <konqueror@gmx.de>
3091         * javax/swing/JTextArea.java
3092         (tabSize): New field.
3093         (getTabSize): New method.
3094         (setTabSize): Likewise.
3096 2004-07-21  Michael Koch  <konqueror@gmx.de>
3098         * javax/swing/ActionMap.java:
3099         Fixed javadocs all over.
3100         (serialVersionUID): Made private.
3101         (parent): Don't explicitely initialize with default value.
3102         (get): SImplified.
3103         (keys): Reimplemented.
3104         (allKeys): Likewise.
3105         (convertSet): Removed.
3106         * javax/swing/ComponentInputMap.java:
3107         Fixed javadocs all over.
3108         (ComponentInputMap): Implemented.
3109         (put): Likewise.
3110         (clear): Likewise.
3111         (remove): Likewise.
3112         (SetParent): Likewise.
3113         (getComponent): Likewise.
3114         * javax/swing/InputMap.java:
3115         Fixed javadocs all over.
3116         (serialVersionUID): Made private.
3117         (parent): Don't explicitely initialize with default value.
3118         (get): SImplified.
3119         (keys): Reimplemented.
3120         (allKeys): Likewise.
3121         (convertSet): Removed.
3123 2004-07-21  Michael Koch  <konqueror@gmx.de>
3125         * javax/swing/ActionMap.java,
3126         javax/swing/ComponentInputMap.java,
3127         javax/swing/InputMap.java,
3128         javax/swing/table/DefaultTableColumnModel.java,
3129         javax/swing/table/TableColumn.java,
3130         javax/swing/table/TableColumnModel.java,
3131         javax/swing/table/TableModel.java,
3132         javax/swing/text/AbstractDocument.java,
3133         javax/swing/text/TextAction.java:
3134         Reformated.
3136 2004-07-21  Graydon Hoare  <graydon@redhat.com>
3138         * gnu/java/awt/peer/gtk/GtkToolkit.java (bufferedImageOrError): 
3139         Make method non-static.
3140         * javax/swing/AbstractButton.java:
3141         Rename fields to match property names where possible.
3142         (iconTextGap): New property.
3143         * javax/swing/JCheckBox.java: Match AbstractButton changes.
3144         (init) New method, call from after various constructors.
3145         * javax/swing/JComponent.java (revalidate): 
3146         Invalidate before queueing repair.
3147         * javax/swing/JList.java (getPreferredScrollableViewportSize):
3148         Reimplement in terms of visibleRowCount property.
3149         * javax/swing/JMenuButton.java: Match AbstractButton changes.
3150         * javax/swing/JScrollPane.java (createScrollListener): 
3151         Remove tracing chatter.
3152         * javax/swing/JToggleButton.java: Match AbstractButton changes.
3153         * javax/swing/RepaintManager.java (addInvalidComponent): 
3154         Don't invalidate.
3155         * javax/swing/ScrollPaneLayout.java: Various corrections to layout
3156         calculations.
3157         * javax/swing/SwingUtilities.java (layoutCompoundLabel): 
3158         Mimic sun behavior on top left/right positioning.
3159         * javax/swing/ViewportLayout.java (preferredLayoutSize):
3160         Remove mistaken use of preferredScrollableViewportSize here.
3161         (layoutContainer): Use view's preferred size as basis.
3162         * javax/swing/plaf/basic/BasicButtonUI.java:
3163         Set, get, and use textIconGap property.
3164         (paint) Paint text returned from layout (with ellipsis).
3165         * javax/swing/plaf/basic/BasicListUI.java:
3166         Remove tracing chatter, correct various minor calculations.
3167         (getCellBounds): Update layout state before calculating.
3168         * javax/swing/plaf/basic/BasicLookAndFeel.java (Button.Margin):
3169         Use margin default similar to sun's.    
3170         * javax/swing/plaf/basic/BasicScrollBarUI.java (ArrowIcon):
3171         (createIncreaseIcon): Center icon, minimize margins.
3172         (createDecreaseIcon): Likewise.
3173         * javax/swing/plaf/basic/BasicScrollPaneUI.java (installDefaults):
3174         Implement.
3175         (installUI): Call it.
3176         (uninstallDefaults): Implement.
3177         (uninstallUI): Call it.
3178         * javax/swing/plaf/basic/BasicToolBarUI.java (DragWindow):
3179         Call existing Window constructor.
3180         * javax/swing/plaf/basic/BasicViewportUI.java (paint):
3181         Set clip before painting.
3183 2004-07-21  Olga Rodimina <rodimina@redhat.com>
3184         
3185         * javax/swing/JMenuItem.java:
3186         (processMouseEvent): Reimplemented to deal with
3187         mouse drag events.
3188         (createMenuDragMouseEvent): New private helper method.
3189         Creates MenuDragMouseEvent.
3190         * javax/swing/MenuSelectionManager.java
3191         (componentForPoint): Implemented.
3192         (isComponentPartOfCurrentMenu): Made public.
3193         (processMouseEvent): Reimplemented to deal with 
3194         mouse drag events.
3195         (setSelectedPath): Corrected small mistake that caused
3196         path to be set incorrectly.
3197         (getPath): If given component is JMenu then also add this
3198         menu's popup menu to the selected path.
3199         * javax/swing/plaf/basic/BasicMenuItemUI.java:
3200         (getPath): Ditto.
3201         (getPreferredSize): Call getPreferredMenuItemSize().
3202         (getPreferredItemSize): Moved code from getPreferredSize to here.
3203         (installListeners): Install MouseMotionListeners.
3204         (MouseInputHandler): Pass mouse release event to MenuSelectionManager 
3205         if mouse wasn't released in the bounds of this menu item.
3206         (MenuDragMouseHandler): Implemented.
3207         * javax/swing/plaf/basic/BasicMenuUI.java:
3208         (installListeners): Install MouseMotionListener and 
3209         MenuDrageMouseListener.
3210         (MenuDragMouseHandler): Implemented.
3211         * javax/swing/plaf/basic/BasicPopupMenuUI.java:
3212         (uninstallListeners): Implemented.
3213         
3214 2004-07-21  Michael Koch  <konqueror@gmx.de>
3216         * javax/swing/JCheckBox.java: Reformated.
3217         (JCheckBox): Fixed all constructors.
3218         (isBorderPaintedFlat): New method.
3219         (setBorderPaintedFlat): New method.
3220         * javax/swing/JEditorPane.java
3221         (createEditorKitForContentType): Made public.
3222         (scrollToReference): Likewise.
3223         * javax/swing/JTextArea.java
3224         (setLineWrap): Fire property change.
3225         * javax/swing/JToggleButton.java
3226         (JToggleButton): New constructor.
3227         (JToggleButton): Simplified.
3228         * javax/swing/text/AttributeSet.java
3229         (FontAttribute): Renamed from FontCharacterAttribute.
3230         * javax/swing/text/JTextComponent.java
3231         (KeyBinBinding): Added javadoc.
3232         (JTextComponent): Likewise.
3233         (getAccessibleContext): Fixed javadoc.
3234         * javax/swing/text/View.java
3235         (View): Added javadoc.
3236         * javax/swing/text/TabableView.java: New file.
3237         * Makefile.am: Added javax/swing/text/TabableView.java.
3238         * Makefile.in: Regenerated.
3240 2004-07-21  Graydon Hoare  <graydon@redhat.com>
3242         * java/awt/image/BufferedImage.java (getSource): Remove tracing chatter.
3243         * gnu/java/awt/peer/gtk/GtkToolkit.java 
3244         (GtkErrorImage): New helper class.
3245         (bufferedImageOrError): New helper method.
3246         (createImage): Use it.
3248 2004-07-21  David Jee  <djee@redhat.com>
3250         * jni/gtk-peer/gnu_java_awt_peer_gtk_GtkTextComponentPeer.c
3251         (setCaretPosition): Scroll the text view so the new caret position
3252         is visible on screen.
3254 2004-07-21  David Jee  <djee@redhat.com>
3256         * gnu/java/awt/peer/gtk/GtkContainerPeer.java
3257         (setBounds): Do not validate awtComponent here.
3258         * gnu/java/awt/peer/gtk/GtkScrollPanePeer.java
3259         (getPreferredSize): New method.
3260         * java/awt/ScrollPane.java
3261         (ScrollPane): Set default size to 100x100.
3262         (addNotify): If child is not a Panel, wrap it with a new Panel.
3263         (paramString): Implement.
3265 2004-07-21  Olga Rodimina  <rodimina@redhat.com>
3267         * javax/swing/JMenu.java:
3268         (setSelected): Display popup menu only if this menu 
3269         is showing on the screen.
3270         * javax/swing/JPopupMenu.java:
3271         (processMouseEvent): Added comment.
3272         (processKeyEvent): Likewise.
3273         * javax/swing/MenuSelectionManager.java:
3274         (clearSelectedPath): Only fireStateChanged() after
3275         selected path was changed, not before.
3276         (setSelectedPath): Likewise.
3277         * javax/swing/plaf/basic/BasicMenuItemUI.java:
3278         (paintMenuItem): Corrected position of menu item's
3279         icon.
3280         * javax/swing/plaf/basic/BasicPopupMenuUI.java:
3281         (installUI): Correct setDefaultLightWeightPopupEnabled call.
3282         (popupMenuCanceled): Reimplemented.
3283         (popupMenuWillBecomeVisible): Select first menu item by default 
3284         when displaying free floating popup menus.
3285         (TopWindowListener): Reimplemented.
3287 2004-07-21  Thomas Fitzsimmons  <fitzsim@redhat.com>
3289         * java/awt/Panel.java (dispatchEventImpl): Override to prevent
3290         Panel from being painted twice when it is first shown.
3292 2004-07-21  Olga Rodimina  <rodimina@redhat.com>
3294         * java/awt/Window.java: Reverted changes from my 
3295         previous patch for creating window without an owner.
3296         * javax/swing/SwingUtilities.java: 
3297         (SwingUtilities.OwnerFrame): made static.
3298         (OwnerFrame.setVisible): New method. Overridden with
3299         empty implementation.
3300         (OwnerFrame.isShowing): New method. Ovverridden
3301         to return always true.
3303 2004-07-21  Thomas Fitzsimmons  <fitzsim@redhat.com>
3305         * gnu/java/awt/peer/gtk/GtkComponentPeer.java,
3306         jni/gtk-peer/gnu_java_awt_peer_gtk_GtkComponentPeer.c
3307         (GtkComponentPeer): Remove temporary try/catch block.
3308         (setVisible): Call show and hide.
3309         (show): Make native.
3310         (hide): Likewise.
3311         (getArgs): Don't add "visible" argument.
3312         * jni/gtk-peer/gnu_java_awt_peer_gtk_GtkWindowPeer.c
3313         (property_notify_predicate): Return Bool instead of int.
3314         (find_layout): New function.
3315         (connectJObject): Call find_layout.
3316         (connectSignals): Likewise.
3317         (moveLayout): Likewise.
3318         (gtkLayoutSetVisible): Likewise.
3320 2004-07-21  Mark Wielaard  <mark@klomp.org>
3322         * java/awt/event/InvocationEvent.java (dispatch): Synchronize
3323         on notifier object before calling notifyAll().
3325 2004-07-21  Olga Rodimina  <rodimina@redhat.com>
3327         * java/awt/Window.java: Changed constructors to use new
3328         method that is described below. Constructors call this
3329         methods only if newly created window should have an owner.
3330         (setWindowOwner): New method. Implementation for
3331         this method is moved from this(owner,configuration).
3332         * javax/swing/JWindow.java:
3333         (JWindow): Reimplement to use SwingUtilities.ownerFrame
3334         instead of owner.
3335         * javax/swing/SwingUtilities.java:
3336         (ownerFrame): Change type of this field to OwnerFrame.
3337         (getOwnerFrame): Changed to return object of type OwnerFrame.
3338         (SwingUtilities.OwnerFrame): New class. Represents owner
3339         of a Window that is not provided with one.
3341 2004-07-21  Olga Rodimina  <rodimina@redhat.com>
3343         *  javax/swing/AbstractButton.java: 
3344         (configurePropertiesFromAction): Set action command
3345         to button's text by default if action command is not 
3346         explicitely specified.
3347         * javax/swing/JMenu.java: Remove unnecessary listener
3348         and methods relevant to it.
3349         (setSelected): Reimplemented.
3350         (menuSelectionChanged): Moved most part of implementation to
3351         setSelected() and call it instead.
3352         * javax/swing/JMenuItem.java: 
3353         (init): Comment out statement that sets paint_border to false.
3354         (configurePropertiesFromAction): Do not set accelerator
3355         for JMenu.
3356         (menuSelectionChanged): Change selected index in the selection
3357         model of menu item's parent.
3358         * javax/swing/JPopupMenu.java:
3359         (remove): Set constraints.fill field to GridBagConstraints.BOTH
3360         instead of GridBagConstraints.HORIZONTAL.
3361         (insert): Likewise.
3362         (createActionChangeListener): Implemented.
3363         (setVisible): Correct location of HeavyWeightMenu and 
3364         don't firePopupMenuCanceled().
3365         (menuSelectionChanged): Implemented.
3366         (ActionChangeListener): New Listener. Implemented.
3367         * javax/swing/plaf/basic/BasicMenuBarUI.java:
3368         (BasicMenuBarUI.ContainerHandler): Implemented.
3369         * javax/swing/plaf/basic/BasicMenuItemUI.java:
3370         (paintMenuItem): Uncommented out code that paints 
3371         icon, now that icons are working properly.
3372         (PropertyChangeListener): Implemented.
3373         * javax/swing/plaf/basic/BasicPopupMenuUI.java:
3374         Added javadocs.
3375         (topWindowListener): New field.
3376         (Constructor): initialize topWindowListener.
3377         (BasicPopupMenuUI.TopWindowListener): Implemented.      
3378         (BasicPopupMenuUI.PopupMenuHandler): Implemented.
3379         (BasicPopupMenuUI.TopWindowListener): New ComponentListener.
3380         Implemented.
3382 2004-07-21  Michael Koch  <konqueror@gmx.de>
3384         * javax/swing/plaf/basic/BasicButtonUI.java
3385         (paintFocus): Fixed method signature.
3386         (paintButtonPressed): Likewise.
3387         (paintButtonNormal): Likewise.
3388         (paintText): New method.
3389         * javax/swing/plaf/basic/BasicLabelUI.java
3390         (paint): Re-indented.
3391         * javax/swing/plaf/basic/BasicTextUI.java
3392         (installUI): Set parent textComponent to opaque.
3393         * javax/swing/text/DefaultHighlighter.java
3394         (checkPositions): New helper method.
3395         (addHighlight): Throws BadLocationException, check positions.
3396         (changeHighlight): Likewise.
3397         * javax/swing/text/EditorKit.java
3398         (EditorKit): Implements Serializable.
3399         * javax/swing/text/JTextComponent.java
3400         (getUI): Added javadoc.
3401         (setUI): Likewise.
3402         (upadteUI): Added javadoc, don't revalidate and repaint.
3404 2004-07-21  David Jee  <djee@redhat.com>
3406         * java/awt/GridBagLayout.java
3407         (ArrangeGrid): Use PREFERREDSIZE instead of MINSIZE.
3408         * javax/swing/AbstractButton.java
3409         (setText): Reindent.
3410         * javax/swing/RepaintManager.java
3411         (addInvalidComponent): Find the first ancestor that isValidateRoot().
3413 2004-07-21  Michael Koch  <konqueror@gmx.de>
3415         * javax/swing/JFormattedTextField.java
3416         (value): New field.
3417         (JFormattedTextField): Implemented.
3418         (getValue): Likewise.
3419         (setValue): Likewise.
3420         * javax/swing/LookAndFeel.java
3421         (getSupportsWindowDecorations): New method.
3422         * javax/swing/UIDefaults.java:
3423         Use java.beans.PropertyChangeSupport instead of doing all ourself.
3424         (addPropertyChangeListener): Made public.
3425         (addResourceBundle): Likewise.
3426         (removeResourceBundle): Likewise.
3427         (setDefaultLocale): Likewise.
3428         * javax/swing/plaf/basic/BasicRootPaneUI.java
3429         (BasicRootPaneUI): Implements PropertyChangeListener.
3430         (propertyChange): New method.
3431         * javax/swing/plaf/basic/BasicTextUI.java
3432         (BasicHighlighter): New inner class.
3433         (createHighlighter): New method.
3434         * javax/swing/plaf/basic/BasicToolBarUI.java
3435         (DragWindow): Extends java.awt.Window.
3436         * javax/swing/text/JTextComponent.java
3437         (getDocument): Removed debug output.
3438         * javax/swing/plaf/basic/BasicTextFieldUI.java,
3439         javax/swing/text/DefaultHighlighter.java,
3440         javax/swing/text/FieldView.java,
3441         javax/swing/text/PlainView.java: New files.
3442         * Makefile.am: Added new files.
3443         * Makefile.in: Regenerated.
3445 2004-07-21  Michael Koch  <konqueror@gmx.de>
3447         * javax/swing/JEditorPane.java
3448         (createDefaultEditorKit): Use javax.swing.text.DefaultEditorKit.
3449         (createEditorKitForContentType): Likewise.
3450         * javax/swing/text/DefaultEditorKit.java
3451         (serialVersionUID): Added constant field.
3452         (EndOfLineStringPropery): Fixed typo.
3453         (DefaultEditorKit): New constructor.
3454         * javax/swing/text/Segment.java:
3455         Import java.text.CharacterIterator.
3456         * javax/swing/text/CharacterIterator.java,
3457         javax/swing/text/PlainEditorKit.java: Removed.
3458         * Makefile.am: Removed javax/swing/text/CharacterIterator.java and
3459         javax/swing/text/PlainEditorKit.java.
3460         * Makefile.in: Regenerated.
3462 2004-07-21  Michael Koch  <konqueror@gmx.de>
3464         * javax/swing/JButton.java,
3465         javax/swing/text/DefaultEditorKit.java,
3466         javax/swing/text/EditorKit.java,
3467         javax/swing/text/Segment.java,
3468         javax/swing/text/StyledEditorKit.java:
3469         Reformatted.
3471 2004-07-21  Michael Koch  <konqueror@gmx.de>
3473         * javax/swing/ImageIcon.java
3474         (file): Removed.
3475         (description): Renamed from descr.
3476         (ImageIcon): Added missing constructors.
3477         (setParent): Removed.
3478         (setImageObserver): New method.
3479         (getImageObserver): New method.
3480         (paintIcon): Handle observer = null.
3481         * javax/swing/JButton.java
3482         (removeNotify): Fixed javadoc.
3483         (updateUI): Simplified.
3484         * javax/swing/JRootPane.java
3485         (serialVersionUID): New constant field.
3486         * javax/swing/UIManager.java:
3487         Fixed javadocs all over.
3488         (setLookAndFeel): Throws UnsupportedLookAndFeelException.
3489         * javax/swing/text/AbstractDocument.java
3490         (createPosition): Throws BadLocationException.
3491         (getText): Likewise.
3492         (remove): Likewise.
3493         * javax/swing/text/ComponentView.java
3494         (modelToView): Likewise.
3495         * javax/swing/text/DefaultEditorKit.java:
3496         Made all public methods public.
3497         (read): Throws BadLocationException and IOException.
3498         (write): Likewise.
3499         * javax/swing/text/EditorKit.java:
3500         Made all public methods public.
3501         (serialVersionUID): New constant field.
3502         (clone): New method.
3503         (read): Throws BadLocationException and IOException.
3504         (write): Likewise.
3505         * javax/swing/text/Segment.java
3506         (array): Made public.
3507         (count): Likewise.
3508         (offset): Likewise.
3509         (Segment): New constructors.
3510         (clone): Reimplemented.
3511         * javax/swing/text/StyledEditorKit.java
3512         (serialVersionUID): New constant field.
3514 2004-07-21  Graydon Hoare  <graydon@redhat.com>
3516         * java/awt/image/BufferedImage.java 
3517         (getSource): Implement.
3518         * javax/swing/ImageIcon.java 
3519         (ImageIcon): Implement ctor.
3520         * javax/swing/ScrollPaneLayout.java 
3521         (preferredLayoutSize): Be more careful about nulls.
3523 2004-07-21  Michael Koch  <konqueror@gmx.de>
3525         * javax/swing/text/AttributeSet.java
3526         (CharacterAttribute): New interface
3527         (ColorAttribute): Likewise.
3528         (FontCharacterAttribute): Likewise.
3529         (ParagraphAttribute): Likewise.
3530         * javax/swing/text/DefaultCaret.java
3531         (moveCaret): New method.
3532         (positionCaret): Likewise.
3533         (repaint): Made protected.
3534         * javax/swing/text/JTextComponent.java
3535         (KeyBinding): Made it static.
3536         * javax/swing/text/View.java
3537         (getContainer): Honor parent == null.
3539 2004-07-21  Michael Koch  <konqueror@gmx.de>
3541         * javax/swing/text/AbstractDocument.java:
3542         Reformatted.
3544 2004-07-21  Michael Koch  <konqueror@gmx.de>
3546         * javax/swing/plaf/basic/BasicRootPaneUI.java:
3547         Import javax.swing.UIManager explicitely.
3548         * javax/swing/plaf/basic/BasicTabbedPaneUI.java
3549         (ScrollingButton): Made it static.
3551 2004-07-21  Michael Koch  <konqueror@gmx.de>
3553         * javax/swing/UIDefaults.java
3554         (ActiveValue): Made public.
3555         (LazyValue): Likewise.
3556         * javax/swing/plaf/basic/BasicTextUI.java
3557         (RootView): Reintroduced.
3558         (view): Removed.
3559         (rootView): New field.
3560         (installUI): Create document if needed, initialize rootView.
3561         (uninstallUI): Hanle rootView.
3562         (paint): Likewise.
3563         (getRootView): Likewise.
3564         (setView): Likewise.
3565         * javax/swing/text/DefaultCaret.java:
3566         Renamed all "evt" variables to "event".
3568 2004-07-21  Thomas Fitzsimmons  <fitzsim@redhat.com>
3570         * libgcj.spec.in: Add -l-java-util-logging.
3572 2004-07-21  Andreas Tobler  <a.tobler@schweiz.ch>
3574         * jni/gtk-peer/gnu_java_awt_peer_gtk_GtkMainThread.c
3575         (init_dpi_conversion_factor): Check for int_dpi < 0 in case
3576         gtk-xft-dpi can no calculate the right value.
3577         (dpi_changed_cb): Mark *pspec as unsused.
3579 2004-07-21  David Jee  <djee@redhat.com>
3581         * java/awt/Component.java
3582         (move): Delegate to setBounds().
3583         (resize): Likewise.
3584         (reshape): Fix so it repaints parent and self only when necessary.
3586 2004-07-21  David Jee  <djee@redhat.com>
3588         * gnu/java/awt/peer/gtk/GtkComponentPeer.java,
3589         jni/gtk-peer/gnu_java_awt_peer_gtk_GtkComponentPeer.c
3590         (GtkComponentPeer): Revert previous patch from 2004-06-22.
3591         (setVisible): Likewise.
3592         (show): Likewise.
3593         (hide): Likewise.
3594         (getArgs): Likewise.
3595         * jni/gtk-peer/gnu_java_awt_peer_gtk_GtkWindowPeer.c
3596         (property_notify_predicate): Likewise.
3597         (find_layout): Likewise.
3598         (connectJObject): Likewise.
3599         (connectSignals): Likewise.
3600         (moveLayout): Likewise.
3601         (gtkLayoutSetVisible): Likewise.
3603 2004-07-21  Graydon Hoare  <graydon@redhat.com>
3605         * Makefile.am
3606         (jv_convert_LDADD):
3607         (gij_LDADD):
3608         (rmic_LDADD):
3609         (rmiregistry_LDADD): Add lib-java-util-logging.la
3610         * Makefile.in: Regenerate.
3612 2004-07-21  Michael Koch  <konqueror@gmx.de>
3614         * javax/swing/text/AbstractDocument.java
3615         (replace): Dont use protected method of java.util.Vector directly.
3617 2004-07-21  Michael Koch  <konqueror@gmx.de>
3619         * javax/swing/plaf/basic/BasicTextUI.java
3620         (installUI): Call specialized install methods.
3621         (installDefaults): New method.
3622         (installListeners): Likewise.
3623         (installKeyboardActions): Likewise.
3624         (uninstallUI): Likewise.
3625         (uninstallDefaults): New method.
3626         (uninstallListeners): Likewise.
3627         (uninstallKeyboardActions): Likewise.
3628         (getPropertyPrefix): New abstract method.
3629         (paint): Made final, just call paintSafely().
3630         (paintSavely): New method.
3631         (paintBackground): Likewise.
3632         (getVisibleEditorRect): Likewise.
3633         * javax/swing/text/LayeredHighlighter.java,
3634         javax/swing/text/TabExpander.java: New files.
3635         * Makefile.am: Added javax/swing/text/LayeredHighlighter.java
3636         and javax/swing/text/TabExpander.java.
3637         * Makefile.in: Regenerated.
3639 2004-07-21  Michael Koch  <konqueror@gmx.de>
3641         * javax/swing/plaf/basic/BasicTextUI.java
3642         (BasicTextUI): Made abstract.
3643         (BasicCaret): New inner class.
3644         (view): Don't explicitely initialize with "null".
3645         (textComponent): New field.
3646         (textColor): Removed.
3647         (disabledTextColor): Removed.
3648         (normalBackgroundColor): Removed.
3649         (RootView): Removed commented out inner class.
3650         (createUI): Removed.
3651         (createCaret): New method.
3652         (getComponent): Likewise.
3653         (installUI): Initialize textComponent only.
3654         (getPreferredSize): Use installed JTextComponent.
3655         (setView): New method.
3656         (create): Likewise.
3657         * javax/swing/text/JTextComponent.java
3658         (highlighter): New field.
3659         (caretColor): Likewise.
3660         (disabledTextColor): Likewise.
3661         (seletedTextColor): Likewise.
3662         (selectionColor): Likewise.
3663         (setUI): New method.
3664         (getCaretColor): Likewise.
3665         (setCaretColor): Likewise.
3666         (getDisabledColor): Likewise.
3667         (setDisabledColor): Likewise.
3668         (getSelectedTextColor): Likewise.
3669         (setSelectedTextColor): Likewise.
3670         (getSelectionColor): Likewise.
3671         (setSelectionColor): Likewise.
3672         (getHighlighter): Likewise.
3673         (setHighlighter): Likewise.
3674         (replaceSelection): Likewise.
3676 2004-07-21  Michael Koch  <konqueror@gmx.de>
3678         * javax/swing/plaf/basic/BasicScrollPaneUI.java
3679         (BasicScrollPaneUI): Implements ScrollPaneConstants.
3680         * javax/swing/plaf/basic/BasicToolBarUI.java
3681         (BasicToolBarUI): Implements SwingConstants.
3683 2004-07-21  Michael Koch  <konqueror@gmx.de>
3685         * javax/swing/JPopupMenu.java: Removed CVS tags.
3686         * javax/swing/UIDefaults.java: Reformatted.
3687         * javax/swing/plaf/basic/BasicRootPaneUI.java:
3688         Explicitely import used classes.
3690 2004-07-21  Thomas Fitzsimmons  <fitzsim@redhat.com>
3692         * gnu/java/awt/peer/gtk/GtkComponentPeer.java,
3693         jni/gtk-peer/gnu_java_awt_peer_gtk_GtkComponentPeer.c
3694         (GtkComponentPeer): Remove temporary try/catch block.
3695         (setVisible): Call show and hide.
3696         (show): Make native.
3697         (hide): Likewise.
3698         (getArgs): Don't add "visible" argument.
3699         * jni/gtk-peer/gnu_java_awt_peer_gtk_GtkWindowPeer.c
3700         (property_notify_predicate): Return Bool instead of int.
3701         (find_layout): New function.
3702         (connectJObject): Call find_layout.
3703         (connectSignals): Likewise.
3704         (moveLayout): Likewise.
3705         (gtkLayoutSetVisible): Likewise.
3707 2004-07-21  Olga Rodimina  <rodimina@redhat.com>
3709         * javax/swing/AbstractButton.java:
3710         (setDisplayedMnemonicIndex): Check if button
3711         text is not null before checking its length.
3712         * javax/swing/JMenuItem.java:
3713         (processMouseEvent): Disarm menu item if mouse has
3714         exited it.
3715         * javax/swing/plaf/basic/BasicMenuUI.java:
3716         (MouseInputHandler.mouseEntered): Do not raise
3717         popup menu if this menu is already selected.
3718         (MouseInputHandler.mousePressed): Do not fire 
3719         MenuEvents.
3720         (MenuHandler): Implemented.     
3722 2004-07-21  Olga Rodimina  <rodimina@redhat.com>
3724         * javax/swing/JCheckBoxMenuItem.java: Added Javadoc.
3725         (getSelectedObjects): Implemented.
3726         * javax/swing/JRadioButtonMenuItem.java: Added Javadoc.
3727         * javax/swing/plaf/basic/BasicCheckBoxMenuItemUI.java: 
3728         Added javadoc for few methods.
3729         (processMouseEvent): Made public.
3730         * javax/swing/plaf/basic/BasicRadioButtonMenuItemUI.java
3731         (processMouseEvent): Likewise.
3733 2004-07-21  Olga Rodimina  <rodimina@redhat.com>
3735         * javax/swing/AbstractButton.java:
3736         (init): Set display mnemonic index to -1.
3737         (setMnemonic(char)): Use setMnemonic(int).
3738         (setMnemonic(int)): Set display mnemonic index.
3739         (getDisplayedMnemonicIndex): Change method signature
3740         by removing 'index' parameter.
3741         * javax/swing/plaf/basic/BasicLookAndFeel.java:
3742         Added default for Menu.selectionBackground.     
3743         * javax/swing/plaf/basic/BasicMenuItemUI.java:
3744         (paintMenuItem): Change background color of the selected
3745         menu item.
3746         (paintText): Paint differently when menu item is disabled.
3747         Also paint mnemonic if it appears in the menu item's label.
3748         (paintAccelerator): Paint accelerator differently
3749         if menu item is disabled.
3750         * javax/swing/plaf/basic/BasicMenuUI.java:
3751         (installDefaults): Install defaults for 
3752         selectionForeground and selectionBackground.
3753         (uninstallDefaults): Uninstall defauls for 
3754         selectionForeground and selectionBackground.
3756 2004-07-21  Michael Koch  <konqueror@gmx.de>
3758         * javax/swing/text/AbstractDocument.java
3759         (BranchElement): Implemented.
3760         (LeafElement): Implemented.
3761         * javax/swing/text/DefaultCaret.java:
3762         Import used classes.
3763         (serialVersionUID): New constant.
3764         * javax/swing/text/JTextComponent.java
3765         (AccessibleJTextComponent): Removed dead declaration.
3766         (caretPos): Removed.
3767         (setCaret): New method.
3768         * javax/swing/text/PlainDocument.java
3769         (rootElement): New field.
3770         (PlainDocument): Initialize rootElement.
3771         (createDefaultRoot): New method.
3772         (getDefaultRootElement): Implemented.
3773         * javax/swing/text/View.java: Reformatted.
3774         * javax/swing/text/ViewFactory.java
3775         (create): Added javadoc.
3777 2004-07-21  Michael Koch  <konqueror@gmx.de>
3779         * javax/swing/ToolTipManager.java: Reformatted.
3781 2004-07-21  Rodimina Olga  <rodimina@redhat.com>
3783         * javax/swing/AbstractButton.java
3784         (changeEvent): New field.
3785         (fireItemStateChanged): Change source of the event
3786         to 'this' before firing it to button listeners.
3787         (fireActionPerformed): Likewise.
3788         (fireStateChanged): Likewise.
3789         (createActionListener): Do not set source 
3790         of the event to AbstractButton.                                  
3791         * javax/swing/plaf/basic/BasicMenuBarUI.java:
3792         (ContainerHandler.componentAdded): Removed 
3793         print out statement.
3794         (ContainerHandler.componentRemoved): Likewise.
3796 2004-07-21  Michael Koch  <konqueror@gmx.de>
3798         * javax/swing/text/Highlighter.java: New file.
3799         * Makefile.am: Added javax/swing/text/Highlighter.java.
3800         * Makefile.in: Regenerated.
3802 2004-07-21  Michael Koch  <konqueror@gmx.de>
3804         * javax/swing/ToolTipManager.java
3805         (stillInsideTimerAction): Fixed constructor arguments.
3806         (outsideTimerAction): Likewise.
3807         (insideTimerAction): Likewise.
3809 2004-07-21  Michael Koch  <konqueror@gmx.de>
3811         * javax/swing/JButton.java: Reformatted.
3812         * javax/swing/JFormattedTextField.java
3813         (getUIClassID): Implemented.
3814         * javax/swing/JRootPane.java
3815         (serialVersionUID): New constant.
3816         * javax/swing/JTextField.java
3817         (align): New field.
3818         (JTextField): Simplified.
3819         (getUIClassID): New method.
3820         (getActionListeners): Added @since tag.
3821         (setColumns): Invalidate layout and repaint.
3822         (getHorizontalAlignment): New method.
3823         (setHorizontalAlignment): New method.
3824         (selectAll): Removed.
3825         * javax/swing/SwingUtilities.java
3826         (getAncestorOfClass): Removed redundant @see tag.
3827         (isLeftMouseButton): Fixed implementation.
3828         (isMiddleMouseButton): Likewise.
3829         (isRightMouseButton): Likewise.
3830         * javax/swing/text/AbstractDocument.java
3831         (AttributeContext.addAttribute): New method.
3832         (AttributeContext.addAttributes): New method.
3833         (AttributeContext.getEmptySet): New method.
3834         (AttributeContext.reclaim): New method.
3835         (AttributeContext.removeAttribute): New method.
3836         (AttributeContext.removeAttributes): New method.
3837         * javax/swing/text/Document.java
3838         (createPosition): Throws BadLocationException.
3839         (getText): Likewise.
3840         (remove): Likewise.
3841         * javax/swing/text/JTextComponent.java
3842         (getText): Return null if no document is set. Catch
3843         BadLocationException.
3844         (getUI): Return ui.
3845         (updateUI): Simplified.
3847 2004-07-21  Michael Koch  <konqueror@gmx.de>
3849         * javax/swing/JButton.java
3850         (removeNotify): Fixed javadoc.
3851         (updateUI): Simplified.
3853 2004-07-21  David Jee  <djee@redhat.com>
3855         * gnu/java/awt/image/ImageDecoder.java
3856         (startProduction): Only add consumer if it's not added yet.
3857         * gnu/java/awt/peer/gtk/GdkPixbufDecoder.java
3858         (GdkPixbufDecoder): Don't call initState() here.
3859         (produce): Call initState() here, to ensure area_prepared and
3860         area_updated signals are properly connected.
3861         * gnu/java/awt/peer/gtk/GtkImage.java
3862         (setColorModel): Use equals() to compare ColorModel objects.
3863         (setPixels): Likewise.
3864         * java/awt/image/ColorModel.java
3865         (equals): Fix typo. Use Arrays.equals() to compare int arrays.
3866         * java/awt/image/RGBImageFilter.java
3867         (setColorModel): Set consumer's color model.
3868         (setPixels): Use equals() to compare ColorModel objects.
3870 2004-07-21  Bryce McKinlay  <mckinlay@redhat.com>
3872         * java/net/URLConnection.java (position): New field.
3873         (dateFormat1, dateFormat2, dateFormat3): Removed.
3874         (dateFormats): New field.
3875         (getHeaderFieldDate): Use new dateFormats array. Re-use parsePosition
3876         each time instead of re-allocating.
3877         (initializeDateFormats): Initialize 'dateFormats'.
3879 2004-07-20  Bryce McKinlay  <mckinlay@redhat.com>
3881         PR libgcj/16591
3882         * prims.cc (_Jv_RunMain): Don't call _Jv_SetArgs if DISABLE_MAIN_ARGS
3883         is defined.
3885 2004-07-20  Bryce McKinlay  <mckinlay@redhat.com>
3887         * java/net/Socket.java (getImpl): Now private. Remove comment.
3889 2004-07-20  Bryce McKinlay  <mckinlay@redhat.com>
3891         * java/io/BufferedWriter.java (BufferedWriter): Use existing lock
3892         of chained Writer when calling super-constructor.
3893         * java/io/FilterWriter.java (FilterWriter): Likewise.
3894         * java/io/PrintWriter.java (PrintWriter): Likewise.
3896 2004-07-19  Bryce McKinlay  <mckinlay@redhat.com>
3898         * prims.cc (process_gcj_properties): Don't increment i within LHS
3899         of assignment.
3901 2004-07-19  Per Bothner  <per@bothner.com>
3903         Print -verbose:message on "loading", not initialization.
3904         * java/lang/Class.h (JV_STATE_LOADED, JV_STATE_COMPILED):  Swap order.
3905         * defineclass.cc (_Jv_ClassReader::parse):  Print message if
3906         gcj::verbose_class_flag.
3907         * java/lang/natClass.cc (initializeClass):  Don't print message here.
3908         * java/lang/natClassLoader.cc (_Jv_WaitForState):  If state was
3909         _JV_STATE_COMPILED, set to JV_STATE_LOADED and may print message.
3910         (_Jv_PrepareCompiledClass):  Likewise.
3912 2004-07-18  Matthias Klose  <doko@debian.org>
3914         * configure.in: Substitute target_noncanonical.
3915         * configure: Regenerate
3917 2004-07-17  Michael Koch  <konqueror@gmx.de>
3919         * java/lang/String.java: Fixed javadocs all over.
3921 2004-07-17  Mark Wielaard  <mark@klomp.org>
3923         * gnu/java/nio/channels/FileChannelImpl.java (truncate): Only truncate
3924         when size is smaller.
3925         * java/io/RandomAccessFile.java (setLength): Use truncate for
3926         shrinking the file and seek plus write for expanding the file.
3928 2004-07-17  Michael Koch  <konqueror@gmx.de>
3930         * gnu/java/nio/channels/natFileChannelPosix.cc
3931         (implTruncate): Always save current position. Only reposition file
3932         pointer to where we started if not beyond new lenght. Reposition file
3933         pointer to file length if it points beyond the end of file.
3935 2004-07-17  Mark Wielaard  <mark@klomp.org>
3937         * javax/swing/Box.java: Put FIXME comment above class declaration.
3938         * javax/swing/JButton.java: Remove illegal L&F HTML from comments.
3939         * javax/swing/JCheckBox.java: Likewise.
3940         * javax/swing/JDialog.java: Likewise.
3941         * javax/swing/JRadioButton.java: Likewise.
3942         * javax/swing/JToggleButton.java: Likewise.
3943         * javax/swing/UIManager.java: Likewise.
3944         * javax/swing/border/TitledBorder.java: Likewise.
3945         * javax/swing/plaf/basic/BasicLabelUI.java: Likewise.
3946         * javax/swing/plaf/basic/BasicLookAndFeel.java: Likewise.
3947         * javax/swing/plaf/basic/BasicPopupMenuSeparatorUI.java: Likewise.
3948         * javax/swing/plaf/basic/BasicProgressBarUI.java: Likewise.
3949         * javax/swing/plaf/basic/BasicScrollBarUI.java: Likewise.
3950         * javax/swing/plaf/basic/BasicSeparatorUI.java: Likewise.
3951         * javax/swing/text/JTextComponent.java: Likewise.
3953 2004-07-17  Jeroen Frijters  <jeroen@frijters.net>
3955         * java/net/DatagramPacket.java (setAddress): Removed check for
3956         null address.
3958 2004-07-17  Michael Koch  <konqueror@gmx.de>
3960         * java/net/DatagramSocket.java
3961         (getLocalAddress): Check if socket is bound or not.
3962         * java/net/Socket.java
3963         (getLocalAddrss): Check if socket is bound or not.
3964         (getPort): Return -1 when not connected. Dont check getImpl() for
3965         null.
3966         (setReuseAddress): Check if socket is closed.
3967         (isConnected): Check if getImpl() returns null.
3969 2004-07-17  Mark Wielaard  <mark@klomp.org>
3971         * java/awt/event/InvocationEvent.java (dispatch): Synchronize
3972         on notifier object before calling notifyAll().
3974 2004-07-17  Michael Koch  <konqueror@gmx.de>
3976         * gnu/java/nio/channels/FileChannelImpl.java
3977         (finalize): Added javadoc.
3979 2004-07-17  Guilhem Lavaux <guilhem@kaffe.org>
3981         * java/text/CollationElementIterator.java
3982         (text_decomposition): Changed type to RuleBasedCollator.CollationElement[]
3983         (setText): Use ArrayList instead of Vector.
3985 2004-07-17  Michael Koch  <konqueror@gmx.de>
3987         * java/nio/ByteOrder.java
3988         (static): Removed. Not needed.
3989         Thanks to Patrick Reali for noticing.
3990         * java/nio/charset/CharsetDecoder.java
3991         (decode): Fix for classpath bug #9177: Reset state before flipping.
3993 2004-07-17  Michael Koch  <konqueror@gmx.de>
3995         * java/security/Security.java: Fixed javadocs all over.
3997 2004-07-17  Michael Koch  <konqueror@gmx.de>
3999         * gnu/java/awt/EmbeddedWindow.java
4000         (static): Removed.
4001         (addNotify): Set peer via reflection.
4002         (setWindowPeer): Removed.
4003         * gnu/java/awt/natEmbeddedWindow.cc: Removed.
4004         * Makefile.am (nat_source_files):
4005         Removed gnu/java/awt/natEmbeddedWindow.cc.
4006         * Makefile.in: Regenerated.
4008 2004-07-17  Richard Earnshaw  <rearnsha@arm.com>
4010         * configure.in(ZIP, GCJH): Remove white space around '=' in variable
4011         assignment.
4012         * configure: Regenerated.
4014 2004-07-16  Nathanael Nerode  <neroden@gcc.gnu.org>
4016         * configure.in: Use build_noncanonical rather than build_alias.
4017         * configure: Rebuild.
4019         * configure.in: Eliminate CANADIAN and NULL_TARGET variables
4020         by logic refactoring.  Move default definition of NATIVE closer
4021         to first alternate definition.
4022         * configure: Regenerate.
4024         * Makefile.am: Set ZIP and GCJH directly using autoconf.
4025         * Makefile.in, include/Makefile.in, testsuite/Makefile.in,
4026         gcj/Makefile.in: Regenerate.
4027         * configure.in: Set ZIP and GCJH.  Remove redundant condition
4028         in AM_CONDITIONAL(NATIVE,...)
4029         * configure: Regenerate.
4031 2004-07-15  Nathanael Nerode  <neroden@gcc.gnu.org>
4033         * configure.in: Use target_noncanonical rather than
4034         target_alias for forward-compatibility with autoconf 2.59.
4035         * configure: Regenerate.
4036         * Makefile.am, gcj/Makefile.am, include/Makefile.am,
4037         testsuite/Makefile.am: Substitute target_noncanonical.
4038         * Makefile.in, gcj/Makefile.in, include/Makefile.in,
4039         testsuite/Makefile.in: Regenerate.
4041         * configure.in: Move as much as possible below AC_CANONICAL_SYSTEM.
4042         Introduce _GCC_TOPLEV_NONCANONICAL_TARGET.
4043         * acinclude.m4: Include acx.m4.
4044         * aclocal.m4: Regenerate.
4045         * configure: Regenerate.
4047 2004-07-15  Bryce McKinlay  <mckinlay@redhat.com>
4049         PR libgcj/16574
4050         * java/sql/Timestamp.java (dateFormat): Renamed from sdf.
4051         (decimalFormat): New static variable.
4052         (sbuf): Likewise.
4053         (getTime): New. Override Date.getTime().
4054         (toString): Synchronize. Use decimalFormat to format nanos value
4055         correctly. Truncate extra zeros.
4056         (before): Compare getNanos() only if getTime() is equal.
4057         (after): Likewise.
4058         
4059 2004-07-14  Nathanael Nerode  <neroden@gcc.gnu.org>
4061         * acinclude.m4: "Inline" LIBGCJ_CONFIGURE macro into...
4062         * configure.in: ...here.
4063         * aclocal.m4: Regenerate.
4064         * configure: Regenerate.
4066         * aclocal.m4: Rebuilt with aclocal gcj-1.4.
4067         * configure: Rebuilt with autoconf 2.13.
4068         * Makefile.in, gcj/Makefile.in, include/Makefile.in,
4069         testsuite/Makefile.in: Rebuilt with automake gcj-1.4.
4071 2004-07-14  Bryce McKinlay  <mckinlay@redhat.com>
4073         PR libgcj/16204
4074         * Makefile.am (AM_CXXFLAGS): Add -D_FILE_OFFSET_BITS=64 to enable
4075         large file support.
4076         * Makefile.in: Rebuilt.
4077         * testsuite/libjava.lang/LargeFile.java: New test case.
4078         * testsuite/libjava.lang/LargeFile.out: New file.
4080 2004-07-14  Jerry Quinn  <jlquinn@optonline.net>
4082         * java/beans/EventHandler.java: Remove debugging statements.
4084 2004-07-14  Jerry Quinn  <jlquinn@optonline.net>
4086         * java/beans/EventHandler.java: New file.
4087         * Makefile.am (awt_java_source_files): Add EventHandler.java.
4088         * Makefile.in, gcj/Makefile.in, include/Makefile.in,
4089         testsuite/Makefile.in: Regenerate.
4091 2004-07-14  Andreas Tobler  <a.tobler@schweiz.ch>
4093         * testsuite/libjava.jacks/jacks.exp (gcj_jacks_write): Add deprecation
4094         flag to the gcj_setup.
4095         (gcj_jacks_run): Check tclsh version and launch jacks directly with
4096         the tclsh.
4097         * testsuite/libjava.jacks/jacks.xfail: Update fails to reflect the
4098         deprecation flag change. 58 XFAILS removed.
4100 2004-07-14  Ulrich Weigand  <uweigand@de.ibm.com>
4102         * configure.host (DIVIDESPEC) [s390*-*-*]: Set to 
4103         -fno-use-divide-subroutine.
4104         * include/s390-signal.h: Include <ucontext.h> and <limits.h>.
4105         (HANDLE_FPE): Define.
4106         (SIGNAL_HANDLER): Change third argument to ucontext_t *.
4107         (struct old_s390_kernel_sigaction): Likewise for k_sa_handler.
4108         (HANDLE_DIVIDE_OVERFLOW): Define.
4110 2004-07-14  Michael Koch  <konqueror@gmx.de> 
4111             Matthias Klose  <doko@debian.org> 
4113         * java/awt/im/InputContext.java: Initialize in, line.
4115 2004-07-13  Ulrich Weigand  <uweigand@de.ibm.com>
4117         * interpret.cc (run): Correctly access libffi return values of
4118         integral smaller-than-int type; these are implicitly promoted.
4120 2004-07-13  Bryce McKinlay  <mckinlay@redhat.com>
4122         PR libgcj/7587
4123         * interpret.cc (compile_mutex): New.
4124         (_Jv_InitInterpreter): New. Initialize compile_mutex.
4125         (run): Lock compile_mutex before calling compile() if compilation is
4126         required.
4127         * prims.cc (_Jv_CreateJavaVM): Call _Jv_InitInterpreter().
4128         * include/java-interp.h (_Jv_InitInterpreter): Declare. 
4130 2004-07-12  Bryce McKinlay  <mckinlay@redhat.com>
4132         PR libgcj/15713
4133         * include/jvm.h (_Jv_value): New union type.
4134         * gcj/field.h (_Jv_Field): Add new _addr union field variants 
4135         * interperet.cc (run): Use _Jv_value union type and *_addr _Jv_Field 
4136         union members.
4138 2004-07-12  Scott Gilbertson  <scottg@mantatest.com>
4140         * gnu/awt/xlib/XCanvasPeer.java (createImage): Implement.
4141         * gnu/awt/xlib/XOffScreenImage.java
4142           (XOffScreenImage): Add ImageConsumer interface. Add ColorModel
4143           constructor argument. Add constructor using ImageProducer.
4144           (getSource): Implement.
4145           (imageComplete): New method.
4146           (setColorModel): New method.
4147           (setDimensions): New method.
4148           (setHints): New method.
4149           (setPixels): New method.
4150           (setProperties): New method.
4151         * gnu/gcj/xlib/GC.java (drawPoint): New native method. 
4152         * gnu/gcj/xlib/natGC.cc (drawPoint): New native method.
4154 2004-07-11  Bryce McKinlay  <mckinlay@redhat.com>
4156         PR libgcj/16478 
4157         * prims.cc (_Jv_CreateJavaVM): Fix comment.
4158         * gnu/gcj/runtime/FinalizerThread.java (init): New. Native.
4159         (finalizerReady): Now native.
4160         (run): Likewise.
4161         (runFinalizers): Removed.
4162         * gnu/gcj/runtime/natFinalizerThread.cc (run): Implement here. Use
4163         a primitive lock, and don't hold it while running the finalizers.
4164         (runFinalizers): Implement. Don't aquire any Java lock.
4165         (finalizerReady): Use lock primitives to signal finalizer thread.
4167 2004-07-11  Mark Wielaard  <mark@klomp.org>
4169         Reported by Roman Kennke <roman@ontographics.com> (bug #9331)
4170         * java/net/URLStreamHandler.java (parseURL): When url file part
4171         doesn't contain a '/' just ignore context.
4173 2004-07-11  Ulrich Weigand  <uweigand@de.ibm.com>
4175         * include/s390-signal.c (SIGNAL_HANDLER): Use SIGINFO-style prototype.
4176         (struct old_s390_kernel_sigaction): Likewise for k_sa_handler.
4177         (MAKE_THROW_FRAME): Do not modify PSW address.
4178         (INIT_SEGV): Install SIGINFO-style signal handler.
4179         (INIT_FPE): Likewise.
4181 2004-07-10  Bryce McKinlay  <mckinlay@redhat.com>
4183         * testsuite/libjava.jacks/jacks.xfail: Updates to reflect current
4184         status. 21 xfail's removed, 1 added.
4186 2004-07-10  Bryce McKinlay  <mckinlay@redhat.com>
4188         * gcj/javaprims.h: Regenerate CNI namespace definitions.
4190 2004-07-10  Ito Kazumitsu  <kaz@maczuka.gcd.org>
4192         * java/text/MessageFormat.java
4193         (formatInternal): Append "{n}" if argument n is unavailable.
4194         (format(Object, StringBuffer, FieldPosition)): This
4195         should be equivalent to format(Object[],
4196         StringBuffer, FieldPosition).
4198 2004-07-09  Bryce McKinlay  <mckinlay@redhat.com>
4200         * java.util.Calendar.java (cache): New private static field. Cached
4201         mappings of locales->calendar classes.
4202         (ctorArgTypes): New private static field. Singleton argument for
4203         calendar class constructor lookup.
4204         (getInstance): Cache Locale->Calendar class mappings using HashMap.
4205         Optimize by bypassing reflection instantiation for the 
4206         GregorianCalendar case.
4208 2004-07-09  Bryce McKinlay  <mckinlay@redhat.com>
4210         * java/util/Calendar.java: Use getSystemClassLoader as argument for
4211         ResourceBundle.getBundle() calls.
4212         * java/util/GregorianCalendar.java: Likewise.
4213         * java/util/Currency.java: Likewise.
4214         * java/text/BreakIterator.java: Likewise.
4215         * java/text/Collator.java: Likewise.
4216         * java/text/DateFormat.java: Likewise.
4217         * java/text/DateFormatSymbols.java: Likewise.
4218         * java/text/DecimalFormatSymbols.java: Likewise.
4219         * java/text/NumberFormat.java: Likewise.
4220         * java/awt/Window.java: Likewise.       
4222 2004-07-09  Bryce McKinlay  <mckinlay@redhat.com>
4224         * java/util/ResourceBundle.java (bundleCache): Renamed from
4225         resourceBundleCache. Update comments.
4226         (getObject): Don't catch MissingResourceException.
4227         (getBundle(String)): Remove 'final'. Use system classloader if
4228         getCallingClassLoader returned null.
4229         (getBundle(String, Locale)): Likewise.
4230         (BundleKey): New private class. HashMap key for bundle cache lookup.
4231         (lookupKey): New. Singleton instance of BundleKey.
4232         (nullEntry): New. Cache entry to represent failed lookups.
4233         (getBundle(String, Locale, ClassLoader)): Re-written to use new 
4234         caching strategy, no-allocation lookup, and new tryBundle methods.
4235         (tryBundle(String, ClassLoader)): New. Load a locale-qualified bundle 
4236         name using given classloader.
4237         (tryBundle(String, Locale, ClassLoader, boolean): New. Qualify 
4238         baseName for given Locale and attempt to load bundle.
4240 2004-07-09  Bryce McKinlay  <mckinlay@redhat.com>
4242         * javax/swing/plaf/basic/BasicMenuUI.java (mousePressed): Remove 
4243         illegal protected method calls.
4245 2004-07-09  Bryce McKinlay  <mckinlay@redhat.com>
4247         Fix or remove some bogus test cases.
4248         * testsuite/libjava.compile/pr10459_2.java: Removed.
4249         * testsuite/libjava.compile/pr10459.java: Test using its own method,
4250         not Object.clone().
4251         * testsuite/libjava.compile/inner_data.java: Test against its own
4252         protected field.
4254 2004-07-09  Michael Koch  <konqueror@gmx.de>
4256         * scripts/unicode-muncher.pl: Updated to version 2.1
4257         from GNU classpath. Added some clarifications on where to find the
4258         needed files from www.unicode.org.
4259         * gnu/gcj/convert/UnicodeCharacterDatabase-3.0.0.html,
4260         gnu/gcj/convert/UnicodeData-3.0.0.txt:
4261         Removed, these can directly be downloaded from www.unicode.org if
4262         needed. 
4263         * gnu/java/lang/CharData.java: Regenerated.
4264         * include/java-chartables.h: Regenerated.
4265         * Makefile.am (ordinary_java_source_files):
4266         Removed gnu/java/lang/CharData.java.
4267         * Makefile.in: Regenerated.
4269 2004-07-09  Michael Koch  <konqueror@gmx.de>
4271         * java/security/AccessControlContext.java,
4272         java/security/SecureClassLoader.java:
4273         Fixed javadocs.
4275 2004-07-09  Michael Koch  <konqueror@gmx.de>
4277         * java/io/ObjectInputStream.java (readFields): Use long datatype
4278         when shifting byte values more then 24 bits left.
4280 2004-07-09  Michael Koch  <konqueror@gmx.de>
4282         * java/util/zip/DeflaterOutputStream.java,
4283         java/util/zip/GZIPInputStream.java,
4284         java/util/zip/GZIPOutputStream.java,
4285         java/util/zip/InflaterInputStream.java:
4286         Reformatted. Added javadocs. Reordered all stuff.
4287         Renamed variables to be more clear.
4289 2004-07-09  Michael Koch  <konqueror@gmx.de>
4291         * javax/imageio/IIOException.java,
4292         javax/imageio/event/IIOReadProgressListener.java,
4293         javax/imageio/event/IIOReadUpdateListener.java,
4294         javax/imageio/event/IIOReadWarningListener.java,
4295         javax/imageio/event/IIOWriteProgressListener.java,
4296         javax/imageio/event/IIOWriteWarningListener.java:
4297         New files.
4298         * Makefile.am: Added new files.
4299         * Makefile.in: Regenerated.
4301 2004-07-09  Guilhem Lavaux <guilhem@kaffe.org>
4303         * java/text/RuleBasedCollator.java
4304         (mergeRules): Use ArrayList instead of Vector.
4305         (subParseString): likewise.
4306         (parseString): likewise.
4307         (buildCollationVector): likewise.
4308         (getCollationKey): likewise.
4310 2004-07-09  Dalibor Topic  <robilad@kaffe.org>
4312         * java/text/DateFormat.java (parse):
4313         Improved javadoc. Improved exception message.
4315 2004-07-09  Mark Wielaard  <mark@klomp.org>
4317         * gnu/java/nio/SelectorImpl.java (select): Call static Thread
4318         interrupted() method to clear interupt flag of our Thread.
4320 2004-07-09  Dalibor Topic  <robilad@kaffe.org>
4322         * java/nio/Buffer.java,
4323         java/nio/ByteBuffer.java,
4324         java/nio/ByteBufferHelper.java,
4325         java/nio/ByteBufferImpl.java,
4326         java/nio/CharBuffer.java,
4327         java/nio/CharBufferImpl.java,
4328         java/nio/CharViewBufferImpl.java,
4329         java/nio/DirectByteBufferImpl.java,
4330         java/nio/DoubleBuffer.java,
4331         java/nio/DoubleBufferImpl.java,
4332         java/nio/DoubleViewBufferImpl.java,
4333         java/nio/FloatBuffer.java,
4334         java/nio/FloatBufferImpl.java,
4335         java/nio/FloatViewBufferImpl.java,
4336         java/nio/IntBuffer.java,
4337         java/nio/IntBufferImpl.java,
4338         java/nio/IntViewBufferImpl.java,
4339         java/nio/LongBuffer.java,
4340         java/nio/LongBufferImpl.java,
4341         java/nio/LongViewBufferImpl.java,
4342         java/nio/MappedByteBufferImpl.java,
4343         java/nio/ShortBuffer.java,
4344         java/nio/ShortBufferImpl.java,
4345         java/nio/ShortViewBufferImpl.java:
4346         Fixed javadocs all over. Improved input error
4347         checking.
4349         * java/nio/Buffer.java
4350         (checkForUnderflow, checkForOverflow, checkIndex,
4351         checkIfReadOnly, checkArraySize): New helper methods
4352         for error checking.
4354         * java/nio/ByteBufferHelper.java
4355         (checkRemainingForRead, checkRemainingForWrite,
4356         checkAvailableForRead, checkAvailableForWrite): Removed
4357         no longer needed methods.
4359 2004-07-09  Michael Koch  <konqueror@gmx.de>
4361         * gnu/regexp/CharIndexedInputStream.java:
4362         Reordered imports to match classpath.
4364 2004-07-09  Michael Koch  <konqueror@gmx.de>
4366         * gnu/java/awt/EmbeddedWindow.java:
4367         Load native library for setWindowPeer method.
4369 2004-07-08  Randolph Chung  <tausq@debian.org>
4371         * configure.in (SIGNAL_HANDLER): Use pa-signal.h for hppa.
4372         * configure: Regenerate.
4373         * configure.host: Set can_unwind_signal for hppa*-linux.
4374         * include/pa-signal.h: New file.
4376 2004-07-07  Per Bothner  <per@bothner.com>
4378         * Makefile.am:  Add rules to build libgij from just gij.cc.
4380         * include/jvm.h (namespace jcj):  Declare verbose_class_flag
4381         * java/lang/natClass.cc (gcj::verbose_class_flag):  New variable.
4382         (initializeClass):  If verbose_class_flag, print message.
4383         * gij.cc (main):  Handle -verbose:class flag.
4385 2004-07-07  Andreas Tobler  <a.tobler@schweiz.ch>
4387         * configure.host: Enable hash synchronization on Darwin.
4388         * sysdep/powerpc/locks.h (compare_and_swap): Use '\n' instead of
4389         ';', since this is a comment on Darwin.
4390         (compare_and_swap_release): Likewise.
4392 2004-07-06  Mohan Embar  <gnustuff@thisiscool.com>
4394         * java/net/URLStreamHandler.java (parseURL): Canonicalize
4395         file portion of URL in addition to spec for file: protocol.
4397 2004-07-05  Anthony Green  <green@redhat.com>
4399         * java/io/File.java (toURI): Merge from Classpath.
4401 2004-07-05  Bryce McKinlay  <mckinlay@redhat.com>
4403         * gnu/gcj/runtime/VMClassLoader.java (init): Check classpath entry
4404         before passing to URL constructor. Rethrow any MalformedURLException
4405         as a RuntimeException. Catch MalformedURLException specifically, not
4406         all exceptions.
4408 2004-07-05  Bryce McKinlay  <mckinlay@redhat.com>
4410         * java/util/Locale.java (readObject): Intern strings read from object
4411         stream.
4413 2004-07-04  Michael Koch  <konqueror@gmx.de>
4415         * gnu/gcj/runtime/FirstThread.java,
4416         gnu/gcj/runtime/natFirstThread.cc: Removed.
4417         * gnu/java/lang/MainThread.java,
4418         gnu/java/lang/natMainThread.cc: New files.
4419         * prims.cc (_Jv_RunMain): Use MainThread instead of FirstThread.
4420         * Makefile.am: Added new files and removed deleted ones.
4421         * Makefile.in: Regenerated.
4423 2004-07-03  Mark Wielaard  <mark@klomp.org>
4424             Anthony Green  <green@redhat.com>
4426         * java/net/URL.java (getFile): Clarify return value doc.
4427         (getPath): Return null if file is empty - not empty String.
4428         (set): Convert protocol to lower case before doing anything.
4429         Only change the protocol handler if it's different.
4431 2004-07-03  Anthony Green  <green@redhat.com>
4433         * java/net/URL.java (URL): Convert protocol to lower case before
4434         doing anything, so we getURLStreamHandler() with the proper value.
4436 2004-07-02  Bryce McKinlay  <mckinlay@redhat.com>
4438         * java/util/Locale.java (hashcode): Made transient.
4439         (hashCode): No longer synchronized.
4440         (equals): Remove comment.
4441         (writeObject): No longer synchronized. Implement using writeObject 
4442         calls instead of tweaking hashCode field. Update doc.
4443         (readObject): Implement using readObject calls.
4445 2004-06-26  Geoffrey Keating  <geoffk@apple.com>
4446             Andreas Tobler  <a.tobler@schweiz.ch>
4448         * configure.host (powerpc-*-darwin*): New case, define
4449         can_unwind_signal.
4450         * configure.in (*-*-darwin*): New case, point to darwin-signal.h.
4451         * configure: Regenerate.
4452         * include/darwin-signal.h: New.
4454 2004-06-30  Jerry Quinn  <jlquinn@optonline.net>
4456         * java/beans/Statement.java (doExecute): Fix formatting.
4458 2004-06-29  Per Bothner  <per@bothner.com>
4460         * jni.cc (_Jv_JNI_NewGlobalRef, JNICALL _Jv_JNI_DeleteGlobalRef,
4461         etc etc):  Remove needless parenthesis, which causes __stdcall__
4462         attribute on MinGW to get ignored.
4464 2004-06-29  Bryce McKinlay  <mckinlay@redhat.com>
4466         * testsuite/libjava.compile/PR16249.java: New test case. PR gcc/16249.
4468 2004-06-28  Bryce McKinlay  <mckinlay@redhat.com>
4470         * testsuite/libjava.jacks/jacks.xfail: Remove 8.1.3-superclass-6.
4472 2004-06-28  Jerry Quinn  <jlquinn@optonline.net>
4474         * java/beans/Expression.java: New file.
4475         * java/beans/Statement.java: New file.
4476         * Makefile.am: Added new files.
4477         * Makefile.in: Re-generate.
4479 2004-06-27 Mark Wielaard  <mark@klomp.org>
4481         * java/io/FilePermission.java (usingPerms): Removed.
4482         (actionsString): Made final.
4483         (cachePerms): Renamed to checkPerms.
4484         (checkPerms): Renamed from cachePerms. Call trim() and toLowerCase()
4485         on action String.
4486         (FilePermission): Check arguments, call checkPerms().
4487         (equals): Remove cachePerms() call.
4488         (implies): Likewise.
4490 2004-06-27  Mark Wielaard  <mark@klomp.org>
4492         * gnu/java/net/protocol/http/Connection.java (userAgent): New static
4493         final field.
4494         (sendRequest): Use new field in user-agent http agent.
4496 2004-06-27  Mark Wielaard  <mark@klomp.org>
4498         * java/awt/EventQueue.java (postEvent): Throw NullPointerException
4499         when argument is null.
4501 2004-06-26  Mark Wielaard  <mark@klomp.org>
4503         * native/jni/gtk-peer/gnu_java_awt_peer_gtk_GtkFileDialogPeer.c
4504         (ok_clicked): Use Ljava/lang/String; not Ljava.lang.String; in JNI
4505         GetMethodID call.
4506         (cancel_clicked): Likewise.
4508 2004-06-26  Andreas Tobler  <a.tobler@schweiz.ch>
4510         * jni/gtk-peer/gnu_java_awt_peer_gtk_GtkMainThread.c
4511         (init_dpi_conversion_factor): Check for int_dpi < 0 in case gtk-xft-dpi
4512         can not calculate the right value.
4513         (dpi_changed_cb): Likewise. Mark *pspec as unused.
4515 2004-06-24  Bryce McKinlay  <mckinlay@redhat.com>
4517         * testsuite/libjava.jacks/jacks.xfail: Remove
4518         15.9.1-qualified-concrete-20.
4520 2004-06-22  Bryce McKinlay  <mckinlay@redhat.com>
4522         * gnu/gcj/convert/BytesToUnicode.java (getDecoder): Pass original
4523         encoding name to iconv.
4524         * gnu/gcj/convert/UnicodeToBytes.java (getEncoder): Likewise.
4526 2004-06-22  Bryce McKinlay  <mckinlay@redhat.com>
4528         PR libgcj/16134:
4529         * gnu/gcj/convert/BytesToUnicode.java (getDecoder): Canonicalize 
4530         encoding name before cache lookup. Thanks to Hannes Wallnoefer.
4531         * gnu/gcj/convert/UnicodeToBytes.java (getEncoder): Likewise.
4533 2004-06-21  Andrew Haley  <aph@redhat.com>
4535         * java/io/ObjectOutputStream.java: Add DEBUG statements
4536         everywhere.
4537         (dumpElementln): New method.
4538         (depth): New field.
4539         * java/io/ObjectInputStream.java
4540         (currentClassLoader): Make native.
4541         (callersClassLoader): New field.
4542         (depth): New field.
4543         (readObject): ENDBLOCKDATA is generated if the class has a write
4544         method, not if it has a read method.
4545         (readObject): Save and restore this.currentObject and
4546         this.currentObjectStreamClass around calls to callReadMethod().
4547         * java/io/natObjectInputStream.cc (getCallersClassLoader): New
4548         method.
4550 2004-06-18  Andreas Tobler  <a.tobler@schweiz.ch>
4552         * testsuite/libjava.jni/jni.exp (gcj_jni_test_one): Add lgcc_s for
4553         darwin.
4555 2004-06-18  Ranjit Mathew  <rmathew@hotmail.com>
4557         * prims.cc (_Jv_CreateJavaVM): Install SEGV and FPE handlers,
4558         if desired, before the default class loader is initialised.
4559         Call INIT_SEGV only if HANDLE_SEGV is defined.
4561 2004-06-18  Ranjit Mathew  <rmathew@hotmail.com>
4563         * gnu/gcj/runtime/VMClassLoader.java (init): Add extensions
4564         directory only if it actually exists.
4566 2004-06-18  Graydon Hoare  <graydon@redhat.com>
4568         * jni/gtk-peer/gnu_java_awt_peer_gtk_GtkComponentPeer.c:
4569         Fix up non-ansi comments.
4571 2004-06-18  Ranjit Mathew  <rmathew@hotmail.com>
4573         * javax/swing/text/AbstractDocument.java: Adding missing import
4574         for javax.swing.event.EventListenerList.
4575         * javax/swing/text/DefaultCaret.java: Likewise.
4577 2004-06-17  Michael Koch  <konqueror@gmx.de>
4579         * javax/swing/JToolBar.java
4580         (name): Removed.
4581         (JToolBar): Use Component.setName(String) instead of doing it all
4582         alone.
4583         * javax/swing/Timer.java
4584         (queueEvent): Added missing modifier.
4586 2004-06-17  Olga Rodimina  <rodimina@redhat.coom>
4588         * Makefile.am: Added new file.
4589         * Makefile.in: Re-generate.
4590         * javax/swing/JMenu.java:
4591         (insertSeparator): Implemented.
4592         * javax/swing/JPopupMenu.java:
4593         (JPopupMenu.Separator): Implemented.
4594         * javax/swing/MenuSelectionManager.java:
4595         (processMouseEvent): Use java.awt.Component 
4596         for event source instead of javax.swing.JComponent. 
4597         * javax/swing/plaf/basic/BasicPopupMenuSeparatorUI.java:
4598         New File. Implemented.
4599         
4600 2004-06-16  David Jee  <djee@redhat.com>
4602         * java/awt/GridBagLayout.java
4603         (GetLayoutInfo): Adjust cell sizes iff parent size is not zero.
4604         Make sure pos_x and pos_y are never negative.
4606 2004-04-16  Andrew Overholt  <overholt@redhat.com>
4608         * Makefile.am: Add new file.
4609         * Makefile.in: Re-generate.     
4610         * javax/swing/JToolBar.java
4611         Partially implemented.
4612         * javax/swing/plaf/basic/BasicToolBarUI.java
4613         New file. Partially implemented.
4615 2004-06-16  Graydon Hoare  <graydon@redhat.com>
4617         * gnu/java/awt/peer/gtk/GdkGraphics2D.java 
4618         (setComposite): Accept AlphaComposite arguments.
4619         * gnu/java/awt/peer/gtk/GdkPixbufDecoder.java
4620         (createBufferedImage): Add new overloads.
4621         * gnu/java/awt/peer/gtk/GtkToolkit.java
4622         (createImage): Use GdkPixbufDecoder.createBufferedImage
4623         when useGraphics2D() is true.
4624         (getImage): Delegate to createImage.
4625         * javax/swing/JList.java
4626         (isSelectionEmpty):
4627         (getFirstVisibleIndex):
4628         (getLastVisibleIndex):
4629         (setSelectedValue):
4630         (ensureIndexIsVisible): New methods.
4631         * javax/swing/Timer.java: Reimplement.
4633 2004-06-16  Michael Koch  <konqueror@gmx.de>
4635         * javax/swing/text/AbstractDocument.java
4636         (AbstracElement): Made public, implements java.io.Serializable.
4637         (AttributeContext): Made public.
4638         (BranchElement): Likewise.
4639         (Content): Likewise.
4640         (DefaultDocumentEvent): Made public, extends
4641         javax.swing.undo.CompoundEdit.
4642         (ElementEdit): Made public, extends
4643         javax.swing.undo.AbstractUndoableEdit.
4644         (LeafElement): Made public.
4645         (LeafElement.LeafElement): Made public.
4647 2004-06-16  Michael Koch  <konqueror@gmx.de>
4649         * javax/swing/text/JTextComponent.java: Totally reworked. Removed many
4650         methods (that were obviously never be intended to get included hi this
4651         class. Added some methods too.
4653 2004-06-16  Michael Koch  <konqueror@gmx.de>
4655         * javax/swing/text/PlainDocument.java
4656         (serialVersionUID): New constant.
4657         (lineLimitAttribute): Likewise.
4658         (tabSizeAttribute): Likewise.
4659         (tabSize): New field.
4660         (PlainDocument): Made public.
4661         (PlainDocument): New constructor.
4663 2004-06-16  Michael Koch  <konqueror@gmx.de>
4665         * javax/swing/text/AbstractDocument.java
4666         (insertString): Throws BadLocationException.
4667         * javax/swing/text/Document.java
4668         (insertString): Likewise.
4669         * javax/swing/text/JTextComponent.java:
4670         Javadocs and comments cleaned up.
4672 2004-06-16  Michael Koch  <konqueror@gmx.de>
4674         * javax/swing/event/UndoableEditListener.java: Reformatted.
4675         * javax/swing/text/AbstractDocument.java
4676         (AbstractDocument): Implements java.io.Serializable.
4677         (doc_list): Removed.
4678         (undo_list): Removed.
4679         (AbstractElement.serialVerionUID): New field.
4680         (BranchElement.serialVerionUID): Likewise.
4681         (DefaultDocumentEvent.serialVerionUID): Likewise.
4682         (ElementEdit.serialVerionUID): Likewise.
4683         (LeafElement.serialVerionUID): Likewise.
4684         (serialVerionUID): Likewise.
4685         (BAD_LOCATION): New constant.
4686         (BidiElementName): Likewise.
4687         (ContentElementName): Likewise.
4688         (ParagraphElementName): Likewise.
4689         (SectionElementName): Likewise.
4690         (ElementNameAttribute): Likewise.
4691         (AbstractDocument): Made protected.
4692         (AbstractDocument): New construtor.
4693         (listenerList): New field.
4694         (fireChangedUpdate): Implemented.
4695         (fireInsertUpdate): Likewise.
4696         (fireRemoveUpdate): Likewise.
4697         (fireUndoableEditUpdate): Likewise.
4698         (getListeners): Likewise.
4699         (addDocumentListener): Likewise.
4700         (removeDocumentListener): Likewise.
4701         (addUndoableEditListener): Likewise.
4702         (removeUndoableEditListener): Likewise.
4703         (getDocumentListeners): New method.
4704         (getUndoableEditListeners): Likewise.
4705         (getAsynchronousLoadPriority): Made public.
4706         (getBidiRootElement): Likewise.
4707         (setAsynchronousLoadPriority): Likewise.
4708         (setDocumentProperties): Likewise.
4709         * javax/swing/text/BadLocationException.java
4710         (serialVerionUID): New field.
4711         * javax/swing/text/DefaultCaret.java
4712         (changeEvent): New field.
4713         (listenerList): Likewise.
4714         (changes): Removed.
4715         (addChangeListener): Reimplemented.
4716         (removeChangeListener): Likewise.
4717         (getListeners): New method.
4718         (getChangeListeners): Likwise.
4719         (getComponent): Likewise.
4720         * javax/swing/text/GapContent.java
4721         (GapContent): Implements java.io.Serializable.
4722         (serialVerionUID): New field.
4724 2004-06-16  Michael Koch  <konqueror@gmx.de>
4726         * javax/swing/JTree.java
4727         (treeModel): New field.
4728         (JTree): New constructors, one existing one made public.
4729         (createTreeModel): New method.
4730         (addTreeExpansionListener): Likewise.
4731         (removeTreeExpansionListener): Likewise.
4732         (getTreeExpansionListeners): Likewise.
4733         (fireTreeCollapsed): Likewise.
4734         (fireTreeExpanded): Likewise.
4735         (addTreeSelectionListener): Likewise.
4736         (removeTreeSelectionListener): Likewise.
4737         (getTreeSelectionListeners): Likewise.
4738         (fireValueChanged): Likewise.
4739         (addTreeWillExpandListener): Likewise.
4740         (removeTreeWillExpandListener): Likewise.
4741         (getTreeWillExpandListeners): Likewise.
4742         (fireTreeWillCollapse): Likewise.
4743         (fireTreeWillExpand): Likewise.
4745 2004-06-16  Michael Koch  <konqueror@gmx.de>
4747         * javax/swing/JTree.java: Reformatted.
4749 2004-06-16  Michael Koch  <konqueror@gmx.de>
4751         * javax/swing/JTextArea.java: New file.
4752         * javax/swing/JTextField.java
4753         (actions): Removed.
4754         (notifyAction): New constant.
4755         (columns): New field.
4756         (JTextField): New constructors.
4757         (createDefaultModel): New method.
4758         (addActionListener): Reimplmemented.
4759         (removeActionListener): Reimplemented.
4760         (getActionListeners): New method.
4761         (fireActionPerformed): New method.
4762         (getColumns): New method.
4763         (setColumne): New method.
4764         * javax/swing/text/JTextComponent.java
4765         (AccessibleJTextComponent.serialVersionUID): New field.
4766         (serialVersionUID): Likewise.
4767         (DEFAULT_KEYMAP): Likewise.
4768         (FOCUS_ACCELERATOR_KEY): Likewise.
4769         (doc): Made private.
4770         (icon_gap): Likewise.
4771         (icon): Likewise.
4772         (align): Likewise.
4773         (JTextComponent): Some constructors removed.
4774         (getScrollableTracksViewportHeight): New method.
4775         (getScrollableTracksViewportWidth): Likewise.
4776         * Makefile.am: Added javax/swing/JTextArea.java.
4777         * Makefile.in: Regenerated.
4779 2004-06-15  Graydon Hoare  <graydon@redhat.com>
4781         * javax/swing/ImageIcon.java (ImageIcon): New constructor.
4782         * javax/swing/JFrame.java (defaultLookAndFeelDecorated): New property.
4783         * javax/swing/JViewport.java 
4784         (getExtentSize): Return size rather than preferred size.
4785         (toViewCoordinates): New methods.
4786         (getViewSize): Return size rather than preferred size.
4787         (setViewSize): Note view size as set.
4788         * javax/swing/ViewportLayout.java (layoutContainer): Reimplement.
4789         * javax/swing/plaf/basic/BasicScrollBarUI.java 
4790         (getPreferredSize): Don't redo layout.
4791         * javax/swing/plaf/basic/BasicViewportUI.java 
4792         (paint): Translate image properly and eat exceptions.
4794 2004-06-15  Kim Ho  <kho@redhat.com>
4796         * javax/swing/JTabbedPane.java
4797         (setComponent): Remove old component and
4798         add new component.
4799         (setSelectedIndex): Don't operate on the 
4800         components if they're null. Don't set index
4801         on the model if the index is the same.
4802         (insertTab): Don't add or hide the component
4803         if it's null. Repaint the container.
4804         * javax/swing/plaf/basic/BasicLookAndFeel.java
4805         Change colors for TabbedPane.
4806         * javax/swing/plaf/basic/BasicTabbedPaneUI.java
4807         (mousePressed): Re-layout and paint the component.
4808         (layoutContainer): Don't set location on the view.
4809         (ScrollingViewport::paint): Remove.
4811 2004-06-14  Thomas Fitzsimmons  <fitzsim@redhat.com>
4813         * jni/gtk-peer/gnu_java_awt_peer_gtk_GtkComponentPeer.c
4814         (gtkWidgetDispatchKeyEvent): Change warning message to comment.
4816         * jni/gtk-peer/gnu_java_awt_peer_gtk_GdkGraphics.c (drawString):
4817         Wrap baseline y value in PANGO_PIXELS macro, rather than simply
4818         dividing by PANGO_SCALE.  Call gdk_flush before leaving GDK
4819         critical region.
4820         (drawLine): Call gdk_flush before leaving GDK critical region.
4821         (fillRect): Likewise.
4822         (drawRect): Likewise.
4823         (copyArea): Likewise.
4824         (copyPixmap): Likewise.
4825         (clearRect): Likewise.
4826         (drawArc): Likewise.
4827         (drawPolyline): Likewise.
4828         (drawPolygon): Likewise.
4829         (fillPolygon): Likewise.
4830         (fillArc): Likewise.
4831         (drawOval): Likewise.
4832         (fillOval): Likewise.
4834         * gnu/java/awt/peer/gtk/GdkFontMetrics.java (initState): Add
4835         style parameter.
4836         (GdkFontMetrics): Add style argument to initState call.
4837         (stringWidth(String,int,int,String)): Add style parameter.
4838         (stringWidth(String)): Add style argument to stringWidth call.
4839         * jni/gtk-peer/gnu_java_awt_peer_gtk_GdkFontMetrics.c
4840         (initState): Set pango font style and weight based on AWT style
4841         parameter.  Pass default GTK language to
4842         pango_context_get_metrics.  Use PANGO_PIXELS macro rather than
4843         simply dividing by PANGO_SCALE.
4844         (stringWidth): Set pango font style and weight based on AWT style
4845         parameter.
4847         * java/awt/Button.java (next_button_number): New field.
4848         (paramString): Change output.
4849         (generateName): New method.
4850         (getUniqueLong): New method.
4852 2004-06-14  Kim Ho  <kho@redhat.com>
4854         * javax/swing/JTabbedPane.java:
4855         (setComponentAt): Set the component, not
4856         the enabled status.
4857         * javax/swing/plaf/basic/BasicDesktopIconUI.java
4858         (actionPerformed): Let deiconize catch exception.
4860 2004-06-14  Olga Rodimina  <rodimina@redhat.com>
4862         * javax/swing/JPopupMenu.java:
4863         (setVisible): Corrected location of a 
4864         heavyweight popup menu.
4866 2004-06-14  Olga Rodimina  <rodimina@redhat.com>
4868         * javax/swing/MenuSelectionManager.java: 
4869         Ran through jalopy to fix formatting style.
4871 2004-06-14  Olga Rodimina  <rodimina@redhat.com>
4872         
4873         * javax/swing/JLayeredPane.java: 
4874         (remove): Revalidate and repaint layered pane after
4875         the component was removed.
4876         javax/swing/JMenu.java:
4877         (setVisible): Display popup menu at the user location,
4878         if one was set by the user.
4879         (setMenuLocation): Reimplemented. Fixed javadoc.
4880         * javax/swing/JMenuBar.java: Added javadoc.
4881         (BORDER_PAINTED_CHANGED_PROPERTY): New Property.
4882         (MODEL_CHANGED_PROPERTY): New Property.
4883         (isSelected): Implemented.
4884         (setBorderPainted): Fire PropertyChangeEvent
4885         if paintBorder property changes.
4886         (setSelected): Implemented.
4887         (setSelectionModel): Implemented.
4888         * javax/swing/JPopupMenu.java: Added Javadoc
4889         (pack): Implemented.
4890         (setVisible): Reimplemented.
4891         (show): Fixed location.
4892         (JPopupMenu.LigthWeightPopup): Reimplemented to use
4893         Container instead of JPanel.
4894         * javax/swing/MenuSelectionManager.java: Added Javadocs.
4895         (clearSelectedPath): Reimplemented to clear selectedPath
4896         in reverse order.
4897         (processMouseEvent): Reimplemented.
4898         (setSelectedPath): Fire stateChange event indicating that
4899         selected menu path has changed.
4900         (getPath): Change to use ArrayList instead of Vector.
4901         * javax/swing/plaf/basic/BasicMenuBarUI.java:
4902         (installUI): call installKeyboardActions().
4903         (uninstallUI): call uninstallKeyboardActions().
4905 2004-06-13  Michael Koch  <konqueror@gmx.de>
4907         * javax/swing/text/DefaultCaret.java,
4908         javax/swing/text/BadLocationException.java:
4909         Reformatted.
4911 2004-06-12  Thomas Fitzsimmons  <fitzsim@redhat.com>
4913         * gnu/java/awt/peer/gtk/GtkTextAreaPeer.java (DEFAULT_ROWS,
4914         DEFAULT_COLS): New variables.
4915         (create): Don't allow 0 rows or 0 columns.  Instead, set the
4916         values to DEFAULT_ROWS or DEFAULT_COLS.
4917         (getMinimumSize): Likewise.
4918         (getPreferredSize): Likewise.
4919         (minimumSize): Likewise.
4920         (preferredSize): Likewise.
4921         (create): Set peer's editable state.
4922         * java/awt/TextArea.java (TextArea()): Set rows and columns to
4923         zero.  Update javadocs.
4924         (TextArea(String)): Likewise.
4925         (TextArea(int,int)): Fix javadocs.
4926         (TextArea(String,int,int,int)): Only throw exception if one of
4927         rows or columns is zero.  Fix javadocs.
4929 2004-06-11  Thomas Fitzsimmons  <fitzsim@redhat.com>
4931         * java/awt/AWTEvent.java (toString): Handle MenuComponents in
4932         addition to Components.
4934         * java/awt/MenuItem.java (dispatchEventImpl): If the event
4935         wasn't consumed by normal processing, send it to the parent
4936         menu.
4938         * gnu/java/awt/peer/gtk/GtkImagePainter.java
4939         (setPixels(int,int,int,int,ColorModel,int[],int,int)): Remove
4940         translation.
4942 2004-06-11  David Jee  <djee@redhat.com>
4944         * java/awt/MediaTracker.java
4945         (addImage(Image,int)): Call imageUpdate() to udpate image status.
4946         (addImage(Image,int,int,int)): Likewise.
4948 2004-06-11  Michael Koch  <konqueror@gmx.de>
4950         * javax/swing/text/AbstractDocument.java,
4951         javax/swing/text/Document.java,
4952         javax/swing/text/GapContent.java,
4953         javax/swing/text/JTextComponent.java,
4954         javax/swing/text/PlainDocument.java:
4955         Reformatted.
4957 2004-06-11  Michael Koch  <konqueror@gmx.de>
4959         * javax/swing/JRootPane.java
4960         (AccessibleJRootPane.serialVersionUID): New field.
4961         (AccessibleJRootPane.AccessibleJRootPane): New constructor.
4962         (AccessibleJRootPane.getAccessibleRole): New method.
4963         (RootLayout): Implements Serializable.
4964         (RootLayout.serialVersionUID): New field.
4965         (RootLayout.RootLayout): New constructor.
4966         (setJMenuBar): Made public.
4967         (getJMenuBar): Likewise.
4968         (JRootPane): Likewise.
4969         (createContentPane): Likewise.
4970         (createGlassPane): Likewise.
4971         (createLayeredPane): Likewise.
4973 2004-06-11  Michael Koch  <konqueror@gmx.de>
4975         * javax/swing/SwingUtilities.java
4976         (isLeftMouseButton): Fixed javadoc.
4977         (isMiddleMouseButton): Likewise.
4978         (isRightMouseButton): Likewise.
4980 2004-06-11  Michael Koch  <konqueror@gmx.de>
4982         * javax/swing/JScrollPane.java
4983         (serialVersionUID): New field.
4984         (columnHeader): Made protected.
4985         (rowHeader): Likewise.
4986         (lowerLeft): Likewise.
4987         (lowerRight): Likewise.
4988         (upperLeft): Likewise.
4989         (upperRight): Likewise.
4990         (horizontalScrollBar): Likewise.
4991         (horizontalScrollBarPolicy): Likewise.
4992         (verticalScrollBar): Likewise.
4993         (verticalScrollBarPolicy): Likewise.
4994         (viewport): Likewise.
4996 2004-06-11  Michael Koch  <konqueror@gmx.de>
4998         * javax/swing/LookAndFeel.java: Fixed javadocs.
5000 2004-06-11  Michael Koch  <konqueror@gmx.de>
5002         * javax/swing/JEditorPane.java: Fixed javadocs.
5003         (JEditorPane): Removed redundant call to to this().
5004         (fireHyperlinkUpdate): Implemented.
5006 2004-06-10  Olga Rodimina  <rodimina@redhat.com>
5008         * javax/swing/JMenu.java: Fixed file name 
5009         in the file comment.
5011 2004-06-10  Olga Rodimina  <rodimina@redhat.com>
5013         * javax/swing/JMenu.java: Added javadoc.
5014         (JMenu): Added MenuChangeListener to listen to 
5015         ChangeEvents occuring in menu's model. 
5016         (insert): Throw IllegalArgumentException if 
5017         index is less than 0
5018         (setSelected): Reimplement.
5019         (setPopupMenuVisible): Call menu's model isEnabled()
5020         (setDelay): Throw IllegalArgumentException if 
5021         given amount of delay is less than 0.
5022         (createActionComponent): Implemented.
5023         (createActionChangeListener): Implemented.
5024         (addSeparator): Implemented.
5025         (getItem): Throw IllegalArgumentException if index is 
5026         less than 0.
5027         (getItemCount): Implemented.
5028         (fireMenuSelected): Changed to use menuEvent.
5029         (fireMenuDeselected): Likewise.
5030         (fireMenuCanceled): Likewise.
5031         (setAccelerator): Changed to throw an error if this 
5032         method is used. 
5033         (doClick): Implemented.
5034         (JMenu.ActionChangedListener): New inner class to handle
5035         PropertyChangeEvents occuring in the actions associated with menu.
5036         * javax/swing/plaf/basic/BasicMenuUI.java: Added javadoc.
5037         (BasicMenuUI): Added PropertyChangeListener to the menu.
5038         (createChangeListener): Implemented.
5039         (createMenuDragMouseListener): Likewise.
5040         (createMenuKeyListener): Likewise.
5041         (createPropertyChangeListener): Likewise.
5042         (uninstallListeners): Likewise.
5043         (BasicMenuUI.MouseInputHandler): Reimplemented.
5044         (BasicMenuUI.PropertyChangeHandler): New class. Not implemented yet.
5045         (BasicMenuUI.ChangeHandler): Likewise.
5046         (BasicMenuUI.MenuDragMouseHandler): Likewise.
5047         (BasicMenuUI.MenuKeyHandler): Likewise.
5049 2004-06-10  David Jee  <djee@redhat.com>
5051         * java/awt/MediaTracker.java
5052         (imageUpdate): Only do notifyAll() if the image is complete.
5054 2004-06-10  Olga Rodimina  <rodimina@redhat.com>
5056         * javax/swing/JApplet.java:
5057         (getJMenuBar): Made public.
5058         (setJMenuBar): Likewise.
5059         * javax/swing/JFrame.java:
5060         (getJMenuBar): Made public.
5061         (setJMenuBar): Likewise.
5062         * javax/swing/JWindow.java:
5063         (getJMenuBar): Removed.
5064         (setJMenuBar): Removed.
5066 2004-06-10  Michael Koch  <konqueror@gmx.de>
5068         * javax/swing/JEditorPane.java
5069         (createEditorKitForContentType): Fixed visibility.
5070         (fireHyperlinkUpdate): Likewise.
5071         (getContentType): Likewise.
5072         (getEditorKit): Likewise.
5073         (getEditorKitForContentType): Likewise.
5074         (getPage): Likewise.
5075         (read): Likewise.
5076         (registerEditorKitForContentTyoe): Likewise.
5077         (replaceSelection): Likewise.
5078         (setContentType): Likewise.
5079         (setEditorKit): Likewise.
5080         (setPage): Likewise.
5082 2004-06-10  Michael Koch  <konqueror@gmx.de>
5084         * javax/swing/Timer.java
5085         (Timer): New constructor.
5086         * javax/swing/plaf/basic/BasicProgressBarUI.java
5087         (animationTimer): Don't initialize at construction.
5088         (startAnimationTimer): Added since tag.
5089         (stopAnimationTimer): Likewise.
5090         (installUI): Use new Timer constructor.
5091         * javax/swing/plaf/basic/BasicScrollBarUI.java
5092         (installUI): Likewise.
5093         * javax/swing/plaf/basic/BasicSliderUI.java
5094         (installUI): Likewise.
5096 2004-06-10  Michael Koch  <konqueror@gmx.de>
5098         * javax/swing/ButtonGroup.java
5099         (serialVersionUID): Made private.
5100         (buttons): Renamed from v, added javadoc.
5101         (sel): Added javadoc.
5102         (ButtonGroup): Likewise.
5103         (add): Likewise.
5104         (remove): Likewise.
5105         (getElements): Likewise.
5106         (getSelection): Likewise.
5107         (setSelected): Likewise.
5108         (isSelected): Likewise.
5109         (getButtonCount): Likewise.
5111 2004-06-10  Michael Koch  <konqueror@gmx.de>
5113         * javax/swing/ButtonGroup.java,
5114         javax/swing/ImageIcon.java,
5115         javax/swing/JEditorPane.java,
5116         javax/swing/JRootPane.java,
5117         javax/swing/JTextField.java,
5118         javax/swing/LookAndFeel.java,
5119         javax/swing/plaf/basic/BasicTextUI.java:
5120         Reindented.
5122 2004-06-10  Michael Koch  <konqueror@gmx.de>
5124         * javax/swing/text/Style.java: Added javadocs.
5126 2004-06-10  Michael Koch  <konqueror@gmx.de>
5128         * javax/swing/JComponent.java
5129         (fireVetoableChange): Removed redundant cast.
5130         * javax/swing/JLabel.java
5131         (getDisabledIcon): Save icon for next call.
5133 2004-06-10  Michael Koch  <konqueror@gmx.de>
5135         * javax/swing/KeyStroke.java
5136         (getKeyStroke(char,boolean)): Marked deprecated.
5138 2004-06-10  Michael Koch  <konqueror@gmx.de>
5140         * javax/swing/DefaultCellEditor.java,
5141         javax/swing/GrayFilter.java,
5142         javax/swing/event/DocumentEvent.java,
5143         javax/swing/text/JTextComponent.java,
5144         javax/swing/text/MutableAttributeSet.java:
5145         Reindented.
5147 2004-06-10  Michael Koch  <konqueror@gmx.de>
5149         * javax/swing/plaf/BorderUIResource.java:
5150         Added serialVersionUID all over.
5152 2004-06-10  Sascha Brawer  <brawer@dandelis.ch>
5154         * javax/swing/undo/UndoManager.java: Re-written from scratch.
5156 2004-06-10  Michael Koch  <konqueror@gmx.de>
5158         * javax/swing/table/DefaultTableCellRenderer.java
5159         (noFocusBorder): Initialize directly.
5161 2004-06-10  Michael Koch  <konqueror@gmx.de>
5163         * javax/swing/plaf/basic/BasicArrowButton.java
5164         (setDirection): Use method argument.
5166 2004-06-10  Michael Koch  <konqueror@gmx.de>
5168         * javax/swing/plaf/BorderUIResource.java,
5169         javax/swing/plaf/ComponentUI.java,
5170         javax/swing/undo/CompoundEdit.java,
5171         javax/swing/undo/StateEdit.java:
5172         Fixed javadocs all over.
5174 2004-06-10  Michael Koch  <konqueror@gmx.de>
5176         * javax/swing/DefaultButtonModel.java
5177         (ARMED): Made public final, fixed value.
5178         (ENABLED): Likewise.
5179         (PRESSED): Likewise.
5180         (ROLLOVER): Likewise.
5181         (SELECTED): Likewise.
5182         (stateMask): Initialize directly.
5183         (listenerList): Likewise.
5184         (mnemonic): Likewise.
5185         (fireStateChanged): Removed argument, use changeEvent as event.
5186         All places where this method is called are fixed too.
5187         (getActionCommant): Fixed javadoc.
5188         (setGroup): Fixed javadoc.
5189         (getGroup): New method.
5191 2004-06-09  Olga Rodimina <rodimina@redhat.com>
5193         * javax/swing/AbstractButton.java
5194         (AbstractButton): Use init() to initialize the button.
5195         (init): New Method. Initializes AbstractButton.
5196         * javax/swing/JMenuItem.java: Documented.
5197         (JMenuItem): Reimplemented.
5198         (init): Implemented.
5199         (setEnabled): Changed to call super.setEnabled()
5200         (processMouseEvent): Reimplemented.
5201         (fireMenuKeyPressed): Implemented.
5202         (fireMenuKeyReleased): Implemented.
5203         (fireMenuKeyTyped): Implemented.
5204         (menuSelectionChanged): disarm the model if the menu item was
5205         deselected.
5206         * javax/swing/plaf/basic/BasicMenuItemUI.java:Documented.
5207         (getPath): Change to use ArrayList instead of Vector.
5208         (getPreferredSize): Renamed variable.
5209         (paintMenuItem): Paint margin area of menu item.
5210         (MouseInputHandler.mouseEntered): Set selection in MenuSelectionManager.
5211         (MouseInputHandler.mouseReleased): Check if mouse was pressed inside
5212         menu item's bounds before clearing the selection.       
5214 2004-06-09  David Jee  <djee@redhat.com>
5216         * gnu/java/awt/peer/gtk/GtkTextComponentPeer.java
5217         (GtkTextComponentPeer): Set caret position to 0.
5218         * java/awt/TextComponent.java
5219         (setText): Set caret position to 0.
5220         * jni/gtk-peer/gnu_java_awt_peer_gtk_GtkComponentPeer.c
5221         (Java_gnu_java_awt_peer_gtk_GtkComponentPeer_addExposeFilter):
5222         Handle GtkScrolledWindow separately. Fix signal handler blocking.
5223         (Java_gnu_java_awt_peer_gtk_GtkComponentPeer_removeExposeFilter):
5224         Likewise.
5225         * jni/gtk-peer/gnu_java_awt_peer_gtk_GtkTextAreaPeer.c
5226         (Java_gnu_java_awt_peer_gtk_GtkTextAreaPeer_create): Make cursor
5227         visible.
5229 2004-06-09  Kim Ho  <kho@redhat.com>
5231         * Makefile.am: New files
5232         * Makefile.in: Regenerated
5233         * java/awt/Container.java
5234         (getComponentAt): Removed.
5235         * javax/swing/AbstractAction.java
5236         (ENABLED_PROPERTY): New property.
5237         (putValue): Fire PropertyChangeEvents.
5238         (setEnabled): ditto.
5239         (firePropertyChange): Javadoc and implement
5240         convenience method.
5241         * javax/swing/AbstractButton.java
5242         (setAction): Don't create PropertyChangeListener
5243         if new Action is null.
5244         (setIcon): Don't set icon till after comparing
5245         it.
5246         (configurePropertiesFromAction): Check mnemonic
5247         key before calling intValue().
5248         (createActionPropertyChangeListener): Check
5249         properties rather than bulk change.
5250         * javax/swing/DefaultDesktopManager.java:
5251         Implement.
5252         * javax/swing/DesktopManager.java:
5253         Jalopy and javadoc.
5254         * javax/swing/JComponent.java
5255         (fireVetoableChange): Implement.
5256         (paintImmediately): Use root component.
5257         * javax/swing/JDesktopPane.java: Implement
5258         * javax/swing/JInternalFrame.java: Implement
5259         * javax/swing/JLabel.java
5260         (getDisabledIcon): Return grayscaled icon if
5261         no disabled icon specified.
5262         * javax/swing/JMenuBar.java
5263         (getComponentAtIndex): Use getComponent
5264         * javax/swing/JOptionPane.java
5265         (getDesktopPaneForComponent): Use SwingUtilities'
5266         getAncestorOfClass
5267         (getFrameForComponent): ditto.
5268         * javax/swing/JSplitPane.java
5269         (remove): Use getComponent.
5270         * javax/swing/SwingUtilities.java
5271         (convertPoint): Implement.
5272         * javax/swing/plaf/basic/BasicButtonUI.java
5273         (paintButtonNormal): Check opaqueness before
5274         filling background.
5275         * javax/swing/plaf/basic/BasicDesktopIconUI.java:
5276         Implement
5277         * javax/swing/plaf/basic/BasicDesktopPaneUI.java:
5278         Implement.
5279         * javax/swing/plaf/basic/BasicInternalFrameTitlePane.java:
5280         Implement.
5281         * javax/swing/plaf/basic/BasicInternalFrameUI.java:
5282         Implement.
5283         * javax/swing/plaf/basic/BasicLookAndFeel.java:
5284         Change InternalFrame and Desktop colors.
5286 2004-06-09  David Jee  <djee@redhat.com>
5288         * java/awt/Container.java
5289         (remove): Do not set component to invisible.
5291 2004-06-09  Michael Koch  <konqueror@gmx.de>
5293         * javax/swing/tree/DefaultMutableTreeNode.java
5294         (getLeafCount): Renamed enum to e.
5296 2004-06-09  Michael Koch  <konqueror@gmx.de>
5298         * javax/swing/plaf/basic/BasicSplitPaneDivider.java
5299         (positionForMouseEvent): Removed redundant semicolon.
5300         (continueDrag): Use method arguments.
5302 2004-06-09  Michael Koch  <konqueror@gmx.de>
5304         * javax/swing/border/TitledBorder.java,
5305         javax/swing/filechooser/FileSystemView.java,
5306         javax/swing/plaf/basic/BasicButtonListener.java,
5307         javax/swing/plaf/basic/BasicGraphicsUtils.java,
5308         javax/swing/plaf/basic/BasicLabelUI.java,
5309         javax/swing/plaf/basic/BasicRadioButtonMenuItemUI.java,
5310         javax/swing/plaf/basic/BasicScrollBarUI.java,
5311         javax/swing/plaf/basic/BasicScrollPaneUI.java,
5312         javax/swing/plaf/basic/BasicSliderUI.java,
5313         javax/swing/plaf/basic/BasicTabbedPaneUI.java,
5314         javax/swing/plaf/basic/BasicToggleButtonUI.java,
5315         javax/swing/table/JTableHeader.java,
5316         javax/swing/text/AbstractDocument.java,
5317         javax/swing/text/DefaultCaret.java,
5318         javax/swing/text/StyledEditorKit.java,
5319         javax/swing/tree/DefaultTreeCellEditor.java:
5320         Reworked import statements.
5322 2004-06-08  Graydon Hoare  <graydon@redhat.com>
5324         * javax/swing/Box.java: Temporarily comment out code
5325         broken due to visibility bug.
5327 2004-06-09  Michael Koch  <konqueror@gmx.de>
5329         * javax/swing/ImageIcon.java
5330         (ImageIcon): Added missing constructor.
5332 2004-06-08  Michael Koch  <konqueror@gmx.de>
5334         * javax/swing/JToggleButton.java
5335         (JToggleButton): New constructor.
5336         (getAccessibleContext): Moved documentation into javadoc.
5337         (getUIClassID): Likewise.
5339 2004-06-08  Michael Koch  <konqueror@gmx.de>
5341         * javax/swing/AbstractButton.java
5342         (getDisabledIcon): Create disabled icon if none exists yet.
5344 2004-06-08  Michael Koch  <konqueror@gmx.de>
5346         * javax/swing/plaf/basic/BasicLookAndFeel.java
5347         (initClassDefaults): Added FormattedTextFieldUI.
5348         (loadResourceBundle): Renamed enum to e.
5350 2004-06-08  Michael Koch  <konqueror@gmx.de>
5352         * javax/swing/plaf/basic/BasicButtonUI.java
5353         (paintIcon): Simplified.
5354         (paintText): Paint disabled button correctly.
5356 2004-06-08  Michael Koch  <konqueror@gmx.de>
5358         * javax/swing/JComponent.java
5359         (createToolTip): Use official JToolTip API.
5361 2004-06-08  Michael Koch  <konqueror@gmx.de>
5363         * javax/swing/JToolTip.java
5364         (JToolTip): No arguments in API.
5365         (setTipText): New method.
5367 2004-06-08  Michael Koch  <konqueror@gmx.de>
5369         * javax/swing/SwingUtilities.java
5370         (isLeftMouseButton): New method.
5371         (isMiddleMouseButton): New method.
5372         (isRightMouseButton): New method.
5374 2004-06-08  Michael Koch  <konqueror@gmx.de>
5376         * javax/swing/AbstractButton.java,
5377         javax/swing/CellRendererPane.java,
5378         javax/swing/JCheckBoxMenuItem.java,
5379         javax/swing/JColorChooser.java,
5380         javax/swing/JComboBox.java,
5381         javax/swing/JComponent.java,
5382         javax/swing/JDesktopPane.java,
5383         javax/swing/JFileChooser.java,
5384         javax/swing/JMenu.java,
5385         javax/swing/JMenuItem.java,
5386         javax/swing/JOptionPane.java,
5387         javax/swing/JPasswordField.java,
5388         javax/swing/JPopupMenu.java,
5389         javax/swing/JProgressBar.java,
5390         javax/swing/JRadioButtonMenuItem.java,
5391         javax/swing/JScrollBar.java,
5392         javax/swing/JSeparator.java,
5393         javax/swing/JSlider.java,
5394         javax/swing/JSplitPane.java,
5395         javax/swing/JTabbedPane.java,
5396         javax/swing/JTextField.java,
5397         javax/swing/JToolBar.java,
5398         javax/swing/text/JTextComponent.java:
5399         Fixed all constructors of accessibility classes.
5401 2004-06-08  Michael Koch  <konqueror@gmx.de>
5403         * javax/swing/ScrollPaneLayout.java: Renamed all memeber variables all
5404         over.
5406 2004-06-08  Michael Koch  <konqueror@gmx.de>
5408         * javax/swing/Box.java
5409         (AccessibleBoxFiller): Extends AccessibleAWTComponent.
5410         (AccessibleBoxFiller.serialVersionUID): New member variable.
5411         * javax/swing/DefaultButtonModel.java
5412         (stateMask): Made protected.
5413         (listenerList): Likewise.
5414         (changeEvent): Likewise.
5415         (group): Likewise.
5416         (mnemonic): Likewise.
5417         (actionCommand): Likewise.
5418         (getListeners): New method.
5419         (getActionListeners): New method.
5420         (getItemListeners): New method.
5421         (getChangeListeners): New method.
5422         (fireItemStateChanged): Simplified.
5423         (fireActionPerformed): Simplified.
5424         (fireStateChanged): Simplified.
5425         * javax/swing/JFrame.java
5426         (JFrame): Implements WindowContants.
5427         (HIDE_ON_CLOSE): Removed.
5428         (EXIT_ON_CLOSE): Removed.
5429         (DISPOSE_ON_CLOSE): Removed.
5430         (DO_NOTHING_ON_CLOSE): Removed.
5431         (processWindowEvent): Exit with code 0.
5432         (setDefaultCloseOperation): Do security check before setting value.
5433         * javax/swing/JOptionPane.java
5434         (message): Initialize only in constructor.
5435         * javax/swing/JToolTip.java: Removed unused imports.
5436         * javax/swing/JViewport.java
5437         (serialVersionUID): New member variable.
5438         (SIMPLE_SCROLL_MODE): Made final, fixed value.
5439         (BLIT_SCROLL_MODE): Likewise.
5440         (BACKINGSTORE_SCROLL_MODE): Likewise.
5441         (scrollUnderway): Made protected.
5442         (isViewSizeSet): Likewise.
5443         * javax/swing/ListModel.java: Fixed javadoc.
5444         * javax/swing/Popup.java: Likewise.
5445         * javax/swing/RepaintManager.java
5446         (paintDirtyRegions): Don't use internal classes of
5447         java.util.AbstractMap.
5448         * javax/swing/ScrollPaneConstants.java: Reindented.
5449         * javax/swing/ScrollPaneLayout.java
5450         (viewport): Made protected.
5451         (verticalScrollBar): Made protected, renamed to vsb.
5452         (horizontalScrollBar): Made protected, renamed to hsb.
5453         (rowHeader): Made protected, renamed to rowHead.
5454         (columnHeader): Made protected, renamed to colHead.
5455         (lowerLeft): Made protected.
5456         (lowerRight): Made protected.
5457         (upperLeft): Made protected.
5458         (upperRight): Made protected.
5459         (verticalScrollBarPolicy): Made protected, renamed to vsbPolicy.
5460         (horizontalScrollBarPolicy): Made protected, renamed to hsbPolicy.
5462 2004-06-07  Bernd Schmidt  <bernds@btinternet.com>
5464         * java/awt/MediaTracker.java (imageUpdate): Only set status to
5465         LOADING if flags has SOMEBITS set.
5467 2004-06-07  Michael Koch  <konqueror@gmx.de>
5469         * javax/swing/AbstractButton.java: Reorganized imports.
5470         * javax/swing/ActionMap.java: Likewise.
5471         * javax/swing/DefaultButtonModel.java: Likewise.
5472         * javax/swing/DefaultListModel.java: Likewise.
5473         * javax/swing/ImageIcon.java: Likewise.
5474         (serialVersionUID): New member variable.
5475         * javax/swing/JComboBox.java: Reorganized imports.
5476         * javax/swing/JComponent.java: Likewise.
5477         (ui): Made protected.
5478         (listenerList): Made protected.
5479         (TOOL_TIP_TEXT_KEY): New constant.
5480         (scrollRectToVisible): Removed redundant null check.
5481         * javax/swing/JFrame.java: Reorganized imports.
5482         * javax/swing/JInternalFrame.java: Reorganized imports.
5483         * javax/swing/JProgressBar.java: Likewise.
5484         * javax/swing/JRootPane.java: Likewise.
5485         * javax/swing/JScrollBar.java: Likewise.
5486         * javax/swing/JSeparator.java: Likewise.
5487         * javax/swing/JSlider.java: Likewise.
5488         * javax/swing/JTabbedPane.java: Likewise.
5489         * javax/swing/JTextField.java: Likewise.
5490         * javax/swing/JToolBar.java: Likewise.
5491         * javax/swing/JTree.java: Likewise.
5492         * javax/swing/JViewport.java: Likewise.
5493         * javax/swing/JWindow.java: Likewise.
5494         * javax/swing/KeyStroke.java: Likewise.
5495         * javax/swing/LookAndFeel.java: Likewise.
5496         * javax/swing/MenuSelectionManager.java: Likewise.
5497         * javax/swing/SwingUtilities.java: Likewise.
5498         * javax/swing/Timer.java: Likewise.
5499         * javax/swing/DefaultBoundedRangeModel.java: Fixed javadoc.
5500         * javax/swing/JList.java
5501         (HORIZONTAL_WRAP): Made final, fixed value.
5502         (VERTICAL): Likewise.
5503         (VERTICAL_WRAP): Likewise.
5505 2004-06-07  Michael Koch  <konqueror@gmx.de>
5507         * javax/swing/AbstractButton.java
5508         (serialVersionUID): New member variable.
5509         (AccessibleAbstractButton.serialVersionUID): Likewise.
5510         (AbstractButton): Made public.
5511         * javax/swing/Box.java
5512         (AccessibleBox.serialVersionUID): New member variable.
5513         (Filler.serialVersionUID): Likewise.
5514         * javax/swing/DefaultListSelectionModel.java
5515         (serialVersionUID): Likewise.
5516         * javax/swing/JApplet.java
5517         (serialVersionUID): Likewise.
5518         * javax/swing/JCheckBox.java
5519         (serialVersionUID): Likewise.
5520         * javax/swing/JCheckBoxMenuItem.java
5521         (serialVersionUID): Likewise.
5522         (AccessibleJCheckBoxMenuItem.serialVersionUID): Likewise.
5523         * javax/swing/JColorChooser.java
5524         (serialVersionUID): Likewise.
5525         (AccessibleJColorChooser.serialVersionUID): Likewise.
5526         * javax/swing/JComponent.java
5527         (serialVersionUID): Made private.
5528         (AccessibleJComponent.serialVersionUID): New member variable.
5529         * javax/swing/JDesktopPane.java
5530         (serialVersionUID): Likewise.
5531         * javax/swing/JDialog.java
5532         (serialVersionUID): Likewise.
5533         * javax/swing/JFormattedTextField.java
5534         (serialVersionUID): Fixed value.
5535         * javax/swing/JFrame.java
5536         (serialVersionUID): New member variable.
5537         (getDefaultCloseOpertation): Made public.
5538         * javax/swing/JLayeredPane.java
5539         (serialVersionUID): Likewise.
5540         (LAYER_PROPERTY): Made final, fixed value.
5541         (JLayeredPane): Made public.
5542         * javax/swing/JMenu.java
5543         (AccessibleJMenu.serialVersionUID): New member variable.
5544         (WinListener.serialVersionUID): Likewise.
5545         * javax/swing/JMenuBar.java
5546         (serialVersionUID): Likewise.
5547         (getComponentAtIndex): Added @deprecated tag.
5548         * javax/swing/JMenuItem.java
5549         (serialVersionUID): New member variable.
5550         (AccessibleJMenuItem.serialVersionUID): Likewise.
5551         * javax/swing/JOptionPane.java
5552         (serialVersionUID): Likewise.
5553         (AccessibleJOptionPane.serialVersionUID): Likewise.
5554         * javax/swing/JPopupMenu.java
5555         (serialVersionUID): Likewise.
5556         (AccessibleJPopupMenu.serialVersionUID): Likewise.
5557         (getPopupMenuListeners): New method.
5558         (getComponentAtIndex): Added @deprecated tag.
5559         * javax/swing/JProgressBar.java
5560         (serialVersionUID): New member variable.
5561         (AccessibleJProgressBar.serialVersionUID): Likewise.
5562         * javax/swing/JRadioButton.java
5563         (serialVersionUID): Likewise.
5564         * javax/swing/JRadioButtonMenuItem.java
5565         (serialVersionUID): Likewise.
5566         (AccessibleJRadioButtonMenuItem.serialVersionUID): Likewise.
5567         * javax/swing/JScrollBar.java
5568         (serialVersionUID): Likewise.
5569         (AccessibleJScrollBar.serialVersionUID): Likewise.
5570         * javax/swing/JSeparator.java
5571         (serialVersionUID): Likewise.
5572         (AccessibleJSeparator.serialVersionUID): Likewise.
5573         * javax/swing/JSlider.java: Fixed javadocs.
5574         (AccessibleJSlider.serialVersionUID): New member variable.
5575         * javax/swing/JSplitPane.java: Added copyright statement.
5576         (serialVersionUID): New member variable.
5577         (AccessibleJSplitPane.serialVersionUID): Likewise.
5578         * javax/swing/JTabbedPane.java
5579         (serialVersionUID): Likewise.
5580         (AccessibleJTabbedPane.serialVersionUID): Likewise.
5581         (ModelListener.serialVersionUID): Likewise.
5582         (ModelListener.ModelListener): New constructor.
5583         (SCROLL_TAB_LAYOUT): Made public final, fixed value.
5584         (WRAP_TAB_LAYOUT): Likewise.
5585         * javax/swing/JTable.java
5586         (serialVersionUID): New member variable.
5587         * javax/swing/JToggleButton.java
5588         (serialVersionUID): Likewise.
5589         (ToggleButtonModel): Made static.
5590         (ToggleButtonModel.serialVersionUID): New member variable.
5591         * javax/swing/JToolTip.java
5592         (serialVersionUID): Likewise.
5593         * javax/swing/JTree.java
5594         (serialVersionUID): Likewise.
5595         * javax/swing/JWindow.java
5596         (serialVersionUID): Likewise.
5597         * javax/swing/Timer.java
5598         (serialVersionUID): Likewise.
5600 2004-06-06  Michael Koch  <konqueror@gmx.de>
5602         * javax/swing/SwingConstants.java
5603         (NEXT): New constant.
5604         (PREVIOUS): Likewise.
5605         * javax/swing/UIManager.java
5606         (LookAndFeel): Made public.
5607         (LookAndFeel.getClassName): Likewise.
5608         (LookAndFeel.getName): Likewise.
5610 2004-06-02  Olga Rodimina  <rodimina@redhat.com>
5612         * javax/swing/JCheckBoxMenuItem.java:
5613         Removed CVS tags.
5614         * javax/swing/JMenu.java: Likewise.
5615         * javax/swing/JMenuBar.java: Likewise.
5616         * javax/swing/JMenuItem.java: Likewise.
5617         * javax/swing/JPopupMenu.java: Likewise.
5618         * javax/swing/JRadioButtonMenuItem.java: Likewise.
5619         * javax/swing/plaf/basic/BasicCheckBoxMenuItemUI.java:Likewise.
5620         * javax/swing/plaf/basic/BasicMenuBarUI.java: Likewise.
5621         * javax/swing/plaf/basic/BasicMenuItemUI.java: Likewise.
5622         * javax/swing/plaf/basic/BasicMenuUI.java: Likewise.
5623         * javax/swing/plaf/basic/BasicPopupMenuUI.java: Likewise.
5624         * javax/swing/plaf/basic/BasicRadioButtonMenuItemUI.java: Likewise.
5626 2004-05-31  Olga Rodimina  <rodimina@redhat.com>
5627         
5628         * javax/swing/plaf/basic/BasicMenuUI.java:
5629         (MouseEntered): Do not call getPath() from MenuSelectionManager.
5630         Call getPath() from super class instead.
5632 2004-05-31  David Jee  <djee@redhat.com>
5634         * java/awt/Container.java
5635         (remove): Set component visibility to false after removing it.
5637 2004-05-27  Thomas Fitzsimmons  <fitzsim@redhat.com>
5639         * java/awt/Component.java (getForeground): Return SystemColor if
5640         parent is null.
5641         (getBackground): Likewise.
5643         * jni/gtk-peer/gnu_java_awt_peer_gtk_GtkListPeer.c
5644         (item_highlighted): New function.
5645         (connectSignals): Set item_highlighted as list's select
5646         function.
5648         * java/applet/Applet.java: Revert changes from 2004-04-29,
5649         2004-03-15 and 2004-03-14.
5651         * jni/gtk-peer/gnu_java_awt_peer_gtk_GdkGraphics.c (drawString):
5652         Divide baseline y coordinate by PANGO_SCALE, not DPI conversion
5653         factor.
5655         * gnu/java/awt/peer/gtk/GtkTextAreaPeer.java (create): Set
5656         "Dialog" as the default font.
5657         * gnu/java/awt/peer/gtk/GtkTextFieldPeer.java (create):
5658         Likewise.
5659         * java/awt/Component.java (getFont): Return "Dialog" font by
5660         default.
5661         * jni/gtk-peer/gnu_java_awt_peer_gtk_GdkClasspathFontPeer.c:
5662         Multiply size argument to pango_font_description_set_size by the
5663         DPI conversion factor rather than by PANGO_SCALE.
5664         * jni/gtk-peer/gnu_java_awt_peer_gtk_GdkFontMetrics.c: Likewise.
5665         * jni/gtk-peer/gnu_java_awt_peer_gtk_GdkGraphics.c: Likewise.
5666         * jni/gtk-peer/gnu_java_awt_peer_gtk_GtkButtonPeer.c: Likewise.
5667         * jni/gtk-peer/gnu_java_awt_peer_gtk_GtkCheckboxPeer.c: Likewise.
5668         * jni/gtk-peer/gnu_java_awt_peer_gtk_GtkComponentPeer.c: Likewise.
5669         * jni/gtk-peer/gnu_java_awt_peer_gtk_GtkLabelPeer.c: Likewise.
5670         * jni/gtk-peer/gnu_java_awt_peer_gtk_GtkListPeer.c: Likewise.
5671         * jni/gtk-peer/gnu_java_awt_peer_gtk_GtkTextAreaPeer.c: Likewise.
5672         * jni/gtk-peer/gnu_java_awt_peer_gtk_GtkTextFieldPeer.c: Likewise.
5673         * jni/gtk-peer/gnu_java_awt_peer_gtk_GdkGraphics.c (drawString):
5674         Divide baseline y coordinate by DPI conversion factor rather
5675         than by PANGO_SCALE.
5676         * jni/gtk-peer/gnu_java_awt_peer_gtk_GdkPixbufDecoder.c
5677         (area_prepared): Fix typo.
5678         * jni/gtk-peer/gnu_java_awt_peer_gtk_GtkLabelPeer.c
5679         (gtkSetFont): Move gtk_bin_get_child inside GDK critical region.
5680         * jni/gtk-peer/gnu_java_awt_peer_gtk_GtkMainThread.c
5681         (dpi_conversion_factor): New global variable.
5682         (init_dpi_conversion_factor): New function to calculate and
5683         track DPI conversion factor.
5684         (dpi_changed_cb): New callback.
5685         * jni/gtk-peer/gtkpeer.h (dpi_conversion_factor): Declare.
5687 2004-05-27  David Jee  <djee@redhat.com>
5689         * gnu/java/awt/peer/gtk/GtkComponentPeer.java
5690         (getGraphics): Return a new GdkGraphics instance.
5691         * gnu/java/awt/peer/gtk/GtkContainerPeer.java
5692         (getGraphics): Call super.getGraphics().
5694 2004-05-26  Thomas Fitzsimmons  <fitzsim@redhat.com>
5696         * jni/gtk-peer/gnu_java_awt_peer_gtk_GtkComponentPeer.c
5697         (setNativeBounds): Clamp width and height values to >= 0.
5699         * jni/gtk-peer/gnu_java_awt_peer_gtk_GtkComponentPeer.c
5700         (find_fg_color_widget): Handle GtkOptionMenu specially.
5702         * jni/gtk-peer/gnu_java_awt_peer_gtk_GtkEvents.c
5703         (pre_event_handler): Only post configure events to visible
5704         top-level windows.
5706 2004-05-26  David Jee  <djee@redhat.com>
5708         * java/awt/BorderLayout.java
5709         (layoutContainer): Fix size calculations.
5711 2004-05-26  Thomas Fitzsimmons  <fitzsim@redhat.com>
5713         * jni/gtk-peer/gnu_java_awt_peer_gtk_GtkWindowPeer.c
5714         (window_wm_protocols_filter): Remove function.
5715         (create): Remove filter that removes WM_TAKE_FOCUS client
5716         messages.
5718 2004-06-17  Anthony Green  <green@redhat.com>
5720         * java/util/zip/ZipFile.java (getInputStream): Return null if
5721         entry not found.
5723         * gnu/gcj/runtime/VMClassLoader.java (init): Add extension
5724         directory contents to the class path.
5726 2004-06-15  Andrew Haley  <aph@redhat.com>
5728         * java/lang/natSystem.cc (getenv0): Don't assume environment
5729         variable is Latin 1 coded.
5731 2004-06-14  Andreas Jaeger  <aj@suse.de>
5733         * configure.in: Support --enable-version-specific-runtime-libs.
5734         * configure: Regenerated.
5736 2004-06-14  Bryce McKinlay  <mckinlay@redhat.com>
5738         * java/util/Calendar.java: Change ResourceBundle.getBundle() calls
5739         to pass ClassLoader argument.
5740         * java/util/GregorianCalendar.java: Likewise.
5741         * java/util/Currency.java: Likewise.
5742         * java/text/BreakIterator.java: Likewise.
5743         * java/text/Collator.java: Likewise.
5744         * java/text/DateFormat.java: Likewise.
5745         * java/text/DateFormatSymbols.java: Likewise.
5746         * java/text/DecimalFormatSymbols.java: Likewise.
5747         * java/text/NumberFormat.java: Likewise.
5748         * java/awt/Window.java: Likewise.
5750 2004-06-14  Andrew Haley  <aph@redhat.com>
5752         * java/lang/System.java: (getenv0): New method.
5753         (getenv): Add security check.  Do the right thing.
5754         * java/lang/natSystem.cc (getenv0): New method.
5756 2004-06-12  Mark Wielaard  <mark@klomp.org>
5758         * javax/swing/RepaintManager.java
5759         (paintDirtyRegions): Use entrySet(), not values().
5761 2004-06-10  Mark Wielaard  <mark@klomp.org>
5763         * jni.cc (_Jv_JNI_GetAnyMethodID): Add name and signature to
5764         NoSuchMethodError.
5766 2004-06-11  Jerry Quinn  <jlquinn@optonline.net>
5768         * java/util/GregorianCalendar.java (computeTime):  Skip buggy formulae
5769         when we already know the answer.
5770         * java/util/SimpleTimeZone.java (serialVersionOnStream): Bump to 2.
5771         (setStartRule,setEndRule): Don't take abs of day number.
5772         (getOffset): Clarify docs.  Add argument checks.
5773         (isBefore): Take abs of day number in DOW_LE_DOM_MODE.
5774         (equals,hasSameRules,toString,readObject): Use startTimeMode and
5775         endTimeMode.
5777 2004-06-10  Tom Tromey  <tromey@redhat.com>
5779         * interpret.cc (run): Handle wide fload.
5781 2004-06-06  Jerry Quinn  <jlquinn@optonline.net>
5783         * java/util/zip/ZipEntry.java (setTime): Remove scaling.
5785 2004-06-05  Michael Koch  <konqueror@gmx.de>
5787         * javax/swing/SwingConstants.java
5788         (NEXT): New constant.
5789         (PREVIOUS): Likewise.
5791 2004-06-05  Michael Koch  <konqueror@gmx.de>
5793         * javax/swing/UIManager.java
5794         (LookAndFeel): Made public.
5795         (LookAndFeel.getName): Likewise.
5796         (LookAndFeel.getClassName): Likewise.
5798 2004-06-03  Michael Koch  <konqueror@gmx.de>
5800         * gnu/java/awt/peer/gtk/GtkComponentPeer.java
5801         (requestFocus): Revert last changes.
5802         (gtkRequestFocus): Removed.
5803         * jni/gtk-peer/gnu_java_awt_peer_gtk_GtkComponentPeer.c
5804         (Java_gnu_java_awt_peer_gtk_GtkComponentPeer_gtkRequestFocus):
5805         Renamed to ...
5806         (Java_gnu_java_awt_peer_gtk_GtkComponentPeer_gtkWidgetRequestFocus):
5807         Reverted last patch.
5808         * jni/gtk-peer/gnu_java_awt_peer_gtk_GtkPopupMenuPeer.c
5809         (Java_gnu_java_awt_peer_gtk_GtkPopupMenuPeer_setupAccelGroup):
5810         Reverted comment change.
5812 2004-06-02  Olga Rodimina  <rodimina@redhat.com>
5814         * javax/swing/JCheckBoxMenuItem.java:
5815         Removed CVS tags.
5816         * javax/swing/JMenu.java: Likewise.
5817         * javax/swing/JMenuBar.java: Likewise.
5818         * javax/swing/JMenuItem.java: Likewise.
5819         * javax/swing/JPopupMenu.java: Likewise.
5820         * javax/swing/JRadioButtonMenuItem.java: Likewise.
5821         * javax/swing/plaf/basic/BasicCheckBoxMenuItemUI.java:Likewise.
5822         * javax/swing/plaf/basic/BasicMenuBarUI.java: Likewise.
5823         * javax/swing/plaf/basic/BasicMenuItemUI.java: Likewise.
5824         * javax/swing/plaf/basic/BasicMenuUI.java: Likewise.
5825         * javax/swing/plaf/basic/BasicPopupMenuUI.java: Likewise.
5826         * javax/swing/plaf/basic/BasicRadioButtonMenuItemUI.java: Likewise.
5828 2004-06-01  Tom Tromey  <tromey@redhat.com>
5830         * java/io/ObjectStreamField.java: Cleaned up imports.
5832 2004-06-01  Michael Koch  <konqueror@gmx.de>
5834         * java/io/ObjectStreamField.java: Style and javadoc cleanup.
5835       
5836 2004-06-01  Mark Wielaard  <mark@klomp.org>
5838         * java/io/Writer.java (Writer(Object)): Fixed API doc.
5840 2004-06-01  Michael Koch  <konqueror@gmx.de>
5842         * java/security/Security.java
5843         (insertProviderAt): Use equals() instead of ==.
5844         (removeProvicer): Likewise.
5845         (getProvider): Likewise.
5846         * java/security/Signature.java
5847         (sign): Don't set state to UNINITIALIZED.
5848         (verify): Likewise.
5850 2004-06-01  Mark Wielaard  <mark@klomp.org>
5852         * gnu/java/awt/peer/gtk/GtkComponentPeer.java (requestFocus):
5853         Implement by calling gtkRequestFocus.
5854         (gtkRequestFocus): New native method.
5855         * native/jni/gtk-peer/gnu_java_awt_peer_gtk_GtkComponentPeer.c
5856         (Java_gnu_java_awt_peer_gtk_GtkComponentPeer_requestFocus__):
5857         Renamed to ...
5858         (Java_gnu_java_awt_peer_gtk_GtkComponentPeer_gtkRequestFocus):
5859         New function name.
5860         (filter_expose_event_handler):
5861         Mark static.
5862         * native/jni/gtk-peer/gnu_java_awt_peer_gtk_GtkPopupMenuPeer.c
5863         (menu_pos): Mark static.
5865 2004-06-01  Michael Koch  <konqueror@gmx.de>
5867         * java/text/CollationElementIterator.java,
5868         java/text/CollationKey.java,
5869         java/text/RuleBasedCollator.java: New versions from GNU classpath.
5870         * testsuite/libjava.mauve/xfails: Removed all
5871         java.text.CollationElementIterator tests.
5873 2004-06-01  Michael Koch  <konqueror@gmx.de>
5875         * java/util/zip/InflaterInputStream.java: Merged more with Classpath
5876         version.
5877         * java/util/zip/ZipOutputStream.java (): Renamed enum to e to removed
5878         Java 1.5 keyword usage.
5880 2004-05-31  Olga Rodimina  <rodimina@redhat.com>
5882         * javax/swing/plaf/basic/BasicMenuUI.java:
5883         (MouseEntered): Do not call getPath() from MenuSelectionManager.
5884         Call getPath() from super class instead.
5886 2004-05-31  Michael Koch  <konqueror@gmx.de>
5888         * java/io/SequenceInputStream.java:
5889         Rename enum to e because enum is a keyword in Java 1.5.
5891 2004-05-31  Michael Koch  <konqueror@gmx.de>
5893         * gnu/java/rmi/rmic/CompilerProcess.java:
5894         Fixed javadoc to by XHTML compliant.
5896 2004-05-30  Mark Wielaard  <mark@klomp.org>
5898         * java/awt/Toolkit.java (loadSystemColors): Implement.
5900 2004-05-30  Michael Koch  <konqueror@gmx.de>
5902         * java/lang/System.java: Reordered imports.
5904 2004-05-30  Guilhem Lavaux <guilhem@kaffe.org>
5906         * java/text/DecimalFormat.java
5907         (parse): Fixed parsing of decimal strings. Number of maximum
5908         digits to be read should now work.
5909         * java/text/SimpleDateFormat.java
5910         (SimpleDateFormat): Set maximumFractionDigit to 0 for the number
5911         formatter. This fixes DateFormatTest.
5913 2004-05-30  Michael Koch  <konqueror@gmx.de>
5915         * java/nio/Buffer.java
5916         (limit): Fixed off by one error.
5917         * java/nio/CharBuffer.java
5918         (wrap): Fixed arguments, added javadocs.
5920 2004-05-30  Michael Koch  <konqueror@gmx.de>
5922         * gnu/java/beans/BeanInfoEmbryo.java,
5923         java/awt/im/InputContext.java,
5924         javax/swing/tree/DefaultMutableTreeNode.java:
5925         Rename enum to e because enum is a keyword in Java 1.5.
5927 2004-05-30  Michael Koch  <konqueror@gmx.de>
5929         * gnu/java/math/MPN.java,
5930         java/awt/geom/Arc2D.java:
5931         Fixed javadocs all over.
5933 2004-05-30  Michael Koch  <konqueror@gmx.de>
5935         * java/awt/DefaultKeyboardFocusManager.java
5936         (dispatchEvent): Call method to get key event dispatchers.
5937         (dispatchKeyEvent): Call method to get key event post processors.
5938         * javax/swing/JComponent.java
5939         (listenerList): Made protected.
5940         * javax/swing/JOptionPane.java
5941         (message): Don't initialize.
5942         (JOptionPane): Set message text.
5943         * javax/swing/JPopupMenu.java
5944         (show): Fixed typo in argument name.
5945         * javax/swing/RepaintManager.java
5946         (paintDirtyRegions): Use public API of java.util.Map.
5947         * javax/swing/plaf/basic/BasicSplitPaneDivider.java
5948         (positionForMouseEvent): Removed redundant ';'.
5949         (continueDrag): Use method arguments.
5951 2004-05-29  Ranjit Mathew  <rmathew@hotmail.com>
5953         * testsuite/libjava.jacks/jacks.xfail: Update for post tree-ssa merge
5954         results.
5956 2004-05-28  Bryce McKinlay  <mckinlay@redhat.com>
5958         * gcj/cni.h (JvAllocBytes): New public CNI function. Calls
5959         _Jv_AllocBytes.
5960         * gnu/gcj/RawDataManaged.java: New file.
5961         * java/lang/Thread.java (data): Declare as RawDataManaged.
5962         * java/lang/natThread.cc (init_native): Cast natThread data to
5963         RawDataManaged, not jobject.
5964         * Makefile.am (ordinary_java_source_files): Add RawDataManaged.
5965         * Makefile.in: Rebuilt.
5967 2004-05-27  Jerry Quinn  <jlquinn@optonline.net>
5969         * java/util/SimpleTimeZone.java: Reverting my last change until I
5970         can fix it properly.
5972 2004-05-27  Michael Koch  <konqueror@gmx.de>
5974         * javax/swing/JPopupMenu.java
5975         (isVisible): Do not use visible directly.
5976         (setVisible): Likewise.
5977         * javax/swing/JWindow.java
5978         (JWindow): call accessible constructor.
5979         * javax/swing/RepaintManager.java
5980         (paintDirtyRegions): Use public methods to obtain iterator.
5982 2004-05-25  David Jee  <djee@redhat.com>
5984         * java/awt/Container.java
5985         (remove): Set component's parent to null only after we removed the
5986         component from its parent's layout manager.
5988 2004-05-25  David Jee  <djee@redhat.com>
5990         * gnu/java/awt/peer/gtk/GtkComponentPeer.java
5991         (GtkComponentPeer): Set bounds regardless of whether awtComponent
5992         is valid.
5993         * gnu/java/awt/peer/gtk/GtkListPeer.java
5994         (getSize): Change native method declaration.
5995         (minimumSize): Pass visible row count into getSize().
5996         (preferredSize): Likewise.
5997         * jni/gtk-peer/gnu_java_awt_peer_gtk_GtkListPeer.c
5998         (Java_gnu_java_awt_peer_gtk_GtkListPeer_getSize): Use scroll window's
5999         natural size. Use visible row count to determine the final height
6000         value to return.
6002 2004-05-21  Graydon Hoare  <graydon@redhat.com>
6004         * gnu/java/awt/peer/gtk/GdkGraphics2D.java 
6005         (setClip): Minor correction to order of operations.
6007         * javax/swing/JScrollPane.java: Extend sketchy implementation.
6008         * javax/swing/ScrollPaneLayout.java: Likewise.
6009         * javax/swing/JViewPort.java: Likewise.
6010         * javax/swing/ViewportLayout.java: Likewise.
6012         * javax/swing/JComponent.java: Rewrite.
6013         * javax/swing/RepaintManager.java: Likewise.
6015         * javax/swing/JLayeredPane.java: Change validate() to revalidate().
6016         * javax/swing/JList.java 
6017         (setSelectedIndices):
6018         (getSelectedIndices):
6019         (getSelectedValues): New functions.
6020         (getPreferredScrollableViewportSize): Return preferred size.
6021         (getScrollableUnitIncrement):
6022         (getScrollableBlockIncrement): Initial implementations.
6023         * javax/swing/JRootPane.java: Clean up slightly.
6024         (getUI):
6025         (setUI):
6026         (updateUI):
6027         (getUIClassID):
6028         (isValidateRoot): Add overrides from JComponent.
6029         * javax/swing/JScrollBar.java: Set default orientation to VERTICAL.
6030         * javax/swing/UIManager.java (getDimension): Return the dimension.
6032         * javax/swing/plaf/basic/BasicButtonUI.java: Set component opaque.
6033         * javax/swing/plaf/basic/BasicLabelUI.java: Likewise.
6034         * javax/swing/plaf/basic/BasicMenuItemUI.java: Likewise.
6035         * javax/swing/plaf/basic/BasicProgressBarUI.java: Likewise.
6036         * javax/swing/plaf/basic/BasicSeparatorUI.java: Likewise.
6037         * javax/swing/plaf/basic/BasicSliderUI.java: Likewise.
6038         * javax/swing/plaf/basic/BasicTabbedPaneUI.java: Likewise.
6039         * javax/swing/plaf/basic/BasicRootPaneUI.java: 
6040         Likewise, and set background.
6041         * javax/swing/plaf/basic/BasicListUI.java: 
6042         Likewise, and improve a bit.
6043         * javax/swing/plaf/basic/BasicScrollBarUI.java: 
6044         Likewise, and adjust calculations.
6045         * javax/swing/plaf/basic/BasicViewportUI.java:
6046         Likewise, and improve a bit.
6047         * javax/swing/plaf/basic/BasicLookAndFeel.java 
6048         (Button.margin): Shrink.
6050         * jni/gtk-peer/gnu_java_awt_peer_gtk_GdkGlyphVector.c:
6051         Hack to set horizontal always, workaround pango.
6053         * jni/gtk-peer/gtkcairopeer.h: Change to match pattern API.
6054         * jni/gtk-peer/gnu_java_awt_peer_gtk_GdkGraphics2D.c:
6055         Synchronize more often, check cairo status after ops,
6056         handle changes to cairo pattern API, check for disposal.
6058 2004-05-21  Olga Rodimina  <rodimina@redhat.com>
6060         * javax/swing/plaf/basic/BasicMenuItemUI.java:
6061         (BasicMenuItemUI): Create propertyChangeListener.
6062         (getPath):Implemented.
6063         (installListeners): Add propertyChangeListener to menuItem.
6064         (uninstallListeners): Remove propertyChangeListener from menuItem.
6065         (update): Implemented.
6066         * javax/swing/plaf/basic/BasicMenuUI.MouseInputHandler:
6067         (mouseEntered): Take insets of popup menu into account when
6068         calculating position of popup menu.     
6069         
6070 2004-05-18  Olga Rodimina  <rodimina@redhat.com>
6072         * Makefile.am: Added new file. 
6073         * Makefile.in: Regenerate.
6074         * javax/swing/JMenuBar.java:
6075         Started implementation.
6076         * javax/swing/JPopupMenu.java:
6077         (setVisible): Fixed location of lightweight/mediumweight
6078         popup menu.
6079         (show): Fixed location of PopupMenu.
6080         * javax/swing/plaf/basic/BasicMenuBarUI.java:
6081         New file. UI Delegate for JMenuBar.
6082         * javax/swing/plaf/basic/BasicMenuUI.MouseInputHandler:
6083         (mouseEntered): Corrected position of the submenu.
6085 2004-05-18  Thomas Fitzsimmons  <fitzsim@redhat.com>
6087         * jni/gtk-peer/gnu_java_awt_peer_gtk_GtkMenuPeer.c: Remove calls
6088         to _gtk_accel_group_attach.
6089         * jni/gtk-peer/gnu_java_awt_peer_gtk_GtkPopupMenuPeer.c:
6090         Likewise.
6092         * gnu/java/awt/peer/gtk/GtkButtonPeer.java: Give gtkSetFont
6093         package access.  Don't override setFont.
6094         * gnu/java/awt/peer/gtk/GtkCheckboxPeer.java: Likewise.
6095         * gnu/java/awt/peer/gtk/GtkComponentPeer.java: Give
6096         gtkWidgetRequestFocus package access.
6097         * gnu/java/awt/peer/gtk/GtkLabelPeer.java: Don't override
6098         setFont.
6099         * gnu/java/awt/peer/gtk/GtkListPeer.java: Override gtkSetFont.
6100         Give gtkWidgetRequestFocus package access.
6101         * gnu/java/awt/peer/gtk/GtkTextAreaPeer.java: Give
6102         gtkWidgetRequestFocus package access.  Don't override setFont.
6103         * gnu/java/awt/peer/gtk/GtkTextFieldPeer.java: Don't override
6104         setFont.
6105         * jni/gtk-peer/gnu_java_awt_peer_gtk_GtkButtonPeer.c
6106         (gtkSetLabel): Move call to gtk_bin_get_child into GDK critical
6107         region.
6108         (gtkSetFont): Likewise.
6109         * jni/gtk-peer/gnu_java_awt_peer_gtk_GtkListPeer.c (gtkSetFont):
6110         Implement.
6111         * jni/gtk-peer/gnu_java_awt_peer_gtk_GtkTextAreaPeer.c
6112         (gtkSetFont): Whitespace fix.
6114         * jni/gtk-peer/gnu_java_awt_peer_gtk_GtkComponentPeer.c
6115         (gtkWidgetSetUsize): Remove method.
6117 2004-05-18  David Jee  <djee@redhat.com>
6119         * java/awt/image/MemoryImageSource.java
6120         (newPixels(int,int,int,int,boolean)): Set only the specified
6121         rectangle of pixels.
6122         (newPixels(byte[],ColorModel,int,int)): Implement.
6123         (newPixels(int[],ColorModel,int,int)): Implement.
6125 2004-05-18  Olga Rodimina  <rodimina@redhat.com>
6127         * Makefile.am: Added new file.
6128         * Makefile.in: Regenerate.
6129         * javax/swing/JMenu.java: Started 
6130         implementation.
6131         * javax/swing/JPopupMenu.java:
6132         (insert): If specified index is -1, then
6133         add component at the end.
6134         (isPopupTrigger): Reimplemented.
6135         (JPopupMenu.LightWeightPopup): setBounds
6136         of the lightWeightPopup before adding it 
6137         to the layeredPane.
6138         (javax/swing/plaf/basic/BasicIconFactory.java):
6139         (getMenuArrowIcon): Implemented.
6140         * javax/swing/plaf/basic/BasicMenuItemUI.java:
6141         (getPreferredSize): Add size of the arrow icon 
6142         if this menu item is instance of JMenu.
6143         (paintMenuItem): Paint arrow icon if this 
6144         menu item is a submenu.
6145         * javax/swing/plaf/basic/BasicMenuUI.java:
6146         New File. UI Delegate for JMenu.
6148 2004-05-17  Thomas Fitzsimmons  <fitzsim@redhat.com>
6150         * gnu/java/awt/peer/gtk/GtkComponentPeer.java (postKeyEvent):
6151         Post KEY_TYPED events.
6152         * jni/gtk-peer/gnu_java_awt_peer_gtk_GtkEvents.c
6153         (generates_key_typed_event): Remove function.
6155 2004-05-17  Olga Rodimina  <rodimina@redhat.com>
6157         * javax/swing/JRootPane.java
6158         (JRootPane.RootLayout): Reimplemented to 
6159         set bounds of contentPane and menuBar.
6160         (setJMenuBar): Add menu bar to the layered pane.
6161         (createLayeredPane): Set layout of layeredPane
6162         to null.
6163         * javax/swing/JLayeredPane.java:
6164         (addImpl): Calculate index of the component in the
6165         layeredPane according to the specified position within 
6166         the layer.      
6168 2004-05-17  David Jee  <djee@redhat.com>
6170         * gnu/java/awt/peer/gtk/GtkImagePainter.java
6171         (setPixels): Change color model to the default model after
6172         converting pixels.
6173         * java/awt/image/MemoryImageSource.java
6174         (newPixels): Set only the specified rectangle of pixels.
6176 2004-05-13  Thomas Fitzsimmons  <fitzsim@redhat.com>
6178         * libgcj.spec.in (lib): Add -l-java-awt -l-java-applet
6179         -l-java-beans -l-javax-accessibility -l-javax-swing.
6181         * java/awt/AWTEvent.java (toString): Print source's name rather
6182         than the source itself.
6184 2004-05-12  Thomas Fitzsimmons  <fitzsim@redhat.com>
6186         * gnu/java/awt/peer/gtk/GtkToolkit.java (loadSystemColors): Make
6187         native.
6188         * jni/gtk-peer/gnu_java_awt_peer_gtk_GtkToolkit.c
6189         (gdk_color_to_java_color): New function.
6190         * jni/gtk-peer/gtkpeer.h: Add SystemColor defines.
6192 2004-05-12  David Jee  <djee@redhat.com>
6194         * java/awt/image/RGBImageFilter.java:
6195         Initialize origmodel as null.
6196         (makeColor): Fix pixel component order.
6197         (filterRGBPixels): Fix pixel iteration.
6198         (setPixels): Add extra checks for index color model. Convert pixels
6199         to default color model if necessary.
6200         (convertColorModelToDefault): New override method for byte pixels.
6201         (convertColorModelToDefault): For int pixels, fix pixel iteration.
6202         (makeColorbyDefaultCM): New override method for byte pixels.
6203         (makeColorbyDefaultCM): For int pixel, add color model as argument.
6204         (makeColor): Fix pixel component order.
6206 2004-05-11  Kim Ho  <kho@redhat.com>
6208         * javax/swing/Box.java:
6209         Comment out more parts of Box.Filler.
6211 2004-05-11  Kim Ho  <kho@redhat.com>
6213         * javax/swing/Box.java:
6214         Remove reference to AccessibleAWTComponent so
6215         it compiles again.
6217 2004-05-10  Thomas Fitzsimmons  <fitzsim@redhat.com>
6219         * gnu/java/awt/peer/gtk/GtkListPeer.java,
6220         jni/gtk-peer/gnu_java_awt_peer_gtk_GtkListPeer.c: Update
6221         implementation of list peer to use GtkTreeView instead of
6222         deprecated GtkCList.
6224 2004-05-07  Thomas Fitzsimmons  <fitzsim@redhat.com>
6226         * gnu/java/awt/peer/gtk/GtkComponentPeer.java
6227         (gtkWidgetDispatchKeyEvent): Remove keyChar parameter.
6228         (handleEvent): Remove keyChar argument to
6229         gtkWidgetDispatchKeyEvent calls.
6230         * jni/gtk-peer/gnu_java_awt_peer_gtk_GtkComponentPeer.c: Fix
6231         compiler warnings.
6232         * jni/gtk-peer/gnu_java_awt_peer_gtk_GtkEvents.c: Likewise.
6233         * jni/gtk-peer/gnu_java_awt_peer_gtk_GtkMenuPeer.c: Likewise.
6234         * jni/gtk-peer/gnu_java_awt_peer_gtk_GtkTextComponentPeer.c:
6235         Likewise.
6237 2004-05-06  Thomas Fitzsimmons  <fitzsim@redhat.com>
6239         * gnu/java/awt/peer/gtk/GtkComponentPeer.java
6240         (gtkWidgetRequestFocus): Mark protected.
6241         (GtkComponentPeer): Only set the peer's bounds if its component
6242         is valid.
6243         * java/awt/Component.java (static): Set the default keyboard
6244         focus manager.
6245         (requestFocus(), requestFocus(boolean), requestFocusInWindow(),
6246         requestFocusInWindow(temporary)): Don't request focus if the
6247         component is not showing.  Get tree lock before traversing
6248         component hierarchy.
6249         * java/awt/DefaultKeyboardFocusManager.java (dispatchEvent):
6250         Only set the global focus owner if it is not a Window.
6251         (processKeyEvent): Consume keystrokes associated with the focus
6252         traversal keystroke.
6253         (focusPreviousComponent, focusNextComponent, upFocusCycle,
6254         downFocusCycle): Call requestFocusInWindow instead of
6255         requestFocus.
6256         * java/awt/EventDispatchThread.java (run): Move setting of
6257         default keyboard focus manager to Component.java.
6258         * jni/gtk-peer/gnu_java_awt_peer_gtk_GtkComponentPeer.c
6259         (awt_keycode_to_keysym): New function.
6260         (gtkWidgetDispatchKeyEvent): Finish implementation.
6261         * jni/gtk-peer/gnu_java_awt_peer_gtk_GtkEvents.c
6262         (pre_event_handler): Add FIXME comment.
6264         * gnu/java/awt/peer/gtk/GtkTextAreaPeer.java,
6265         jni/gtk-peer/gnu_java_awt_peer_gtk_GtkTextAreaPeer.c
6266         (gtkWidgetRequestFocus): New method.
6267         * java/awt/TextArea.java (TextArea): Set focus traversal keys to
6268         disable Tab and Shift-Tab keystrokes.
6269         (addNotify, appendText, insertText, replaceText): Simplify peer
6270         retrieval code.
6271         * jni/gtk-peer/gnu_java_awt_peer_gtk_GtkTextComponentPeer.c
6272         (connectSignals): Remove connections to "commit" signals.
6273         Remove C++-style comments.
6275         * gnu/java/awt/peer/gtk/GtkButtonPeer.java,
6276         jni/gtk-peer/gnu_java_awt_peer_gtk_GtkButtonPeer.c
6277         (handleEvent): Activate GTK button when the space bar key is
6278         pressed.
6279         (gtkActivate): New method.
6281 2004-05-06  David Jee  <djee@redhat.com>
6283         * java/awt/image/CropImageFilter.java
6284         (setPixels): Implement for byte array pixels.
6285         * java/awt/image/ReplicateScaleFilter.java
6286         (setPixels): Implement for byte array pixels.
6287         (replicatePixels): Overload for byte array pixels.
6289 2004-05-06  Kim Ho  <kho@redhat.com>
6291         * javax/swing/Box.java:
6292         (getAccessibleContext): Return an instance of the 
6293         correct class.
6295 2004-05-05  David Jee  <djee@redhat.com>
6297         * gnu/java/awt/peer/gtk/GdkGraphics.java
6298         (drawImage): When component is null, use SystemColor.window as
6299         the default bgcolor.
6300         * gnu/java/awt/peer/gtk/GtkImage.java
6301         (setPixels): We can avoid iterating through the pixel rows only
6302         when height is 1.
6303         * java/awt/Image.java
6304         (getScaledInstance): Partially implement.
6305         * java/awt/image/CropImageFilter.java
6306         (setProperties): Fix "filter" property.
6307         (setPixels): Implement.
6308         * java/awt/image/ReplicateScaleFilter.java
6309         (setDimensions): Use scaled dimensions.
6310         (setPixels): Implement.
6311         (replicatePixels): New method.
6313 2004-05-05  David Jee  <djee@redhat.com>
6315         * gnu/java/awt/peer/gtk/GtkImagePainter.java
6316         (convertPixels): If either pixels or model is null, return null.
6317         * jni/gtk-peer/gnu_java_awt_peer_gtk_GtkImagePainter.c
6318         (Java_gnu_java_awt_peer_gtk_GtkImagePainter_drawPixels): If jpixels
6319         is null, do nothing and return.
6321 2004-05-03  Kim Ho  <kho@redhat.com>
6323         * gnu/java/awt/peer/gtk/GtkDialogPeer.java:
6324         (getGraphics): Like GtkFramePeer, the Graphics
6325         object needs to be translate to account for
6326         window decorations.
6327         (postMouseEvent): New method. Account for
6328         translation.
6329         (postExposeEvent): ditto.
6330         * javax/swing/Box.java: Stubbed.
6331         * javax/swing/JDialog.java: Ran through jalopy
6332         to fix indentation.
6333         (JDialog): Call SwingUtilities' getOwnerFrame
6334         for null owners.
6335         (setLayout): Check isRootPaneCheckingEnabled
6336         * javax/swing/JOptionPane.java: Re-implemented.
6337         * javax/swing/SwingUtilities.java:
6338         (getOwnerFrame): Static method to grab a default
6339         owner frame for Dialogs that don't specify owners.
6340         * javax/swing/event/SwingPropertyChangeSupport.java:
6341         (firePropertyChange): Fix early exit condition.
6342         * javax/swing/plaf/basic/BasicLabelUI.java:
6343         (paint): Avoid painting text if it is null 
6344         or empty.
6345         * javax/swing/plaf/basic/BasicOptionPaneUI.java:
6346         Implement.
6348 2004-05-03  Olga Rodimina  <rodimina@redhat.com>
6350         * Makefile.am: Added new file.
6351         * Makefile.in: Regenerate.
6352         * javax/swing/JPopupMenu.java:
6353         Started implementation.
6354         * javax/swing/JWindow.java
6355         (JWindow): call super() if parent for window
6356         is not specified.
6357         * javax/swing/plaf/basic/BasicPopupMenuUI.java:
6358         New File. UI Delegate for JPopupMenu.
6360 2004-04-30  Olga Rodimina  <rodimina@redhat.com>
6362         * javax/swing/JApplet.java: Indicated that JApplet
6363         implements RootPaneContainer and made method of this
6364         interface public. 
6365         * javax/swing/JFrame.java: Ditto.
6366         * javax/swing/JWindow.java: Ditto.
6367         
6368 2004-04-29  Thomas Fitzsimmons  <fitzsim@redhat.com>
6370         * jni/gtk-peer/gnu_java_awt_peer_gtk_GtkWindowPeer.c
6371         (nativeSetBounds): Call gdk_window_move in addition to
6372         gtk_window_move.
6374         * java/applet/Applet.java (preferredSize): Call parent's
6375         preferredSize if the applet stub is null.
6376         (minimumSize): Likewise for parent's minimumSize.
6378 2004-04-27  Olga Rodimina  <rodimina@redhat.com>
6380         * javax/swing/JMenuItem.java
6381         (createActionPropertyChangeListener): Implemented.
6382         (processMouseEvent): Ditto.
6383         (fireMenuDragMouseEntered): Ditto.
6384         (fireMenuDragMouseExited): Ditto.
6385         (fireMenuDragMouseDragged): Ditto.
6386         (fireMenuDragMouseReleased): Ditto.
6387         (menuSelectionChanged): Ditto.
6388         (getSubElements): Ditto.
6389         (getComponent): Ditto.
6390         (addMenuDragMouseListener): Ditto.
6391         (removeMenuDragMouseListener):Ditto.
6392         (addMenuKeyListener): Ditto.
6393         (removeMenuKeyListener): Ditto.
6394         * javax/swing/plaf/basic/BasicMenuItemUI.java
6395         (doClick): Imlemented.
6396         * javax/swing/plaf/basic/BasicMenuItemUI.MouseInputHandler:
6397         Don't handle mouse events here. Pass them to 
6398         MenuSelectionManager.
6399         
6400 2004-04-26  Olga Rodimina  <rodimina@redhat.com>
6401         Used correct version of jalopy configuration
6402         file to fix style in the files below.
6404 2004-04-26  Olga Rodimina  <rodimina@redhat.com>
6406         * javax/swing/JCheckBoxMenuItem.java: 
6407         Fixed style and removed unnecessary comments.
6408         * javax/swing/JMenuItem.java: Ditto.
6409         * javax/swing/JRadioButtonMenuItem.java: Ditto.
6410         * javax/swing/plaf/basic/BasicCheckBoxMenuItemUI.java: Ditto.
6411         * javax/swing/plaf/basic/BasicMenuItemUI.java: Ditto.
6412         * javax/swing/plaf/basic/BasicRadioButtonMenuItemUI.java: Ditto.
6414 2004-04-23  Thomas Fitzsimmons  <fitzsim@redhat.com>
6416         * gnu_java_awt_peer_gtk_GtkWindowPeer.c: Change FIXME comment to
6417         C-style.
6419         * gnu_java_awt_peer_gtk_GtkWindowPeer.c: Add FIXME comment.
6421         * java/awt/ContainerOrderFocusTraversalPolicy.java
6422         (getComponentAfter): Start from current component and work up
6423         the component hierarchy until an acceptable component is found.
6424         Synchronize on tree lock.
6425         (getComponentBefore): Likewise.
6427 2004-04-22  Thomas Fitzsimmons  <fitzsim@redhat.com>
6429         * gnu/java/awt/peer/gtk/GtkComponentPeer.java: Remove
6430         focus-related debugging messages.
6431         * java/awt/DefaultKeyboardFocusManager.java: Likewise.
6432         * java/awt/EventDispatchThread.java: Likewise.
6433         * java/awt/KeyboardFocusManager.java: Likewise.
6434         * java/awt/Window.java: Likewise.
6435         * jni/gtk-peer/gnu_java_awt_peer_gtk_GtkComponentPeer.c: Likewise.
6436         * jni/gtk-peer/gnu_java_awt_peer_gtk_GtkEvents.c: Likewise.
6438         * jni/gtk-peer/gnu_java_awt_peer_gtk_GtkComponentPeer.c: Change
6439         new C++-style comments to C-style comments.
6440         * jni/gtk-peer/gnu_java_awt_peer_gtk_GtkEvents.c: Likewise.
6442         * gnu/java/awt/peer/gtk/GtkComponentPeer.java,
6443         jni/gtk-peer/gnu_java_awt_peer_gtk_GtkComponentPeer.c
6444         (handleEvent): Dispatch key press and key release events to
6445         backing widget.
6446         (requestFocus): Post a FOCUS_GAINED event to the event queue.
6447         (gtkWidgetRequestFocus): New method.
6448         (gtkWidgetDispatchKeyEvent): Likewise.
6449         * java/awt/Component.java (requestFocus, requestFocus(boolean),
6450         requestFocusInWindow, requestFocusInWindow(boolean),
6451         getFocusCycleRootAncestor, nextFocus, transferFocus,
6452         transferFocusBackward, transferFocusUpCycle, hasFocus,
6453         isFocusOwner): Implement and document focus-handling methods.
6454         (setFocusTraversalKeys): Inherit focus traversal keys when
6455         keystrokes argument is null.  Fix focus-handling documentation
6456         throughout class.
6457         * java/awt/Container.java (setFocusTraversalKeys,
6458         getFocusTraversalKeys, areFocusTraversalKeysSet,
6459         isFocusCycleRoot, setFocusTraversalPolicy,
6460         getFocusTraversalPolicy, isFocusTraversalPolicySet,
6461         setFocusCycleRoot, isFocusCycleRoot, transferFocusDownCycle):
6462         Implement and document focus-handling methods.
6463         (transferFocusBackward): Remove method.
6464         (readObject, writeObject): Implement and document serialization
6465         methods.
6466         * java/awt/ContainerOrderFocusTraversalPolicy.java: Implement
6467         and document.
6468         * java/awt/DefaultFocusTraversalPolicy.java: Implement and
6469         document.
6470         * java/awt/DefaultKeyboardFocusManager.java: Implement and
6471         partially document.
6472         * java/awt/EventDispatchThread.java (run): Set default keyboard
6473         focus manager.  Attempt to dispatch each event to the keyboard
6474         focus manager before normal dispatch.
6475         * java/awt/KeyboardFocusManager.java: Implement and partially
6476         document.
6477         * java/awt/Window.java (Window): Set focusCycleRoot to true.
6478         (show): Focus initial component when window is shown for the
6479         first time.
6480         * jni/gtk-peer/gnu_java_awt_peer_gtk_GtkEvents.c
6481         (pre_event_handler): Replace complex key press and key release
6482         logic with simple callbacks into GtkComponentPeer.
6483         * jni/gtk-peer/gtkpeer.h: Fix FOCUS_GAINED/FOCUS_LOST reversal.
6485 2004-04-21  Olga Rodimina  <rodimina@redhat.com>
6487         * javax/swing/MenuSelectionManager.java
6488         (componentForPoint): Added new method. 
6489         (defaultManager): New Method. Implemented.
6490         (getSelectedPath): Ditto.
6491         (isComponentPartOfCurrentMenu): Ditto.
6492         (processKeyEvent): Added new method.
6493         (processMouseEvent): New Method. Implemented.
6494         (setSelectedPath): Ditto.
6495         (getPath): Ditto.
6497 2004-04-19  Kim Ho  <kho@redhat.com>
6499         * java/awt/Container.java: 
6500         (remove): Set the component's parent to null.
6501         (getComponentAt): Implement.
6502         * javax/swing/JComponent.java:
6503         (JComponent): Initialize defaultLocale
6504         (getDefaultLocale): Implement.
6505         (setDefaultLocale): ditto.
6506         * javax/swing/JSlider.java:
6507         (JSlider): Fix calculation of value.
6508         * javax/swing/JSplitPane.java: Implement.
6509         * javax/swing/plaf/basic/BasicLookAndFeel.java:
6510         Change SplitPane's default divider size.
6511         * javax/swing/plaf/basic/BasicScrollBarUI.java:
6512         (paint): Remove unused code.
6513         * javax/swing/plaf/basic/BasicSplitPaneDivider.java:
6514         Added comments and ran through jalopy.
6515         (setBasicSplitPaneUI): Get reference to hidden divider
6516         and set up one touch buttons if necessary.
6517         (setBorder): Fire propertyChangeEvent only if 
6518         borders are different.
6519         (getPreferredSize): Defer to layout manager.
6520         (propertyChange): Implement.
6521         (oneTouchExpandableChanged): ditto.
6522         (createLeftOneTouchButton): Use BasicArrowButton.
6523         (createRightOneTouchButton): ditto.
6524         (moveDividerTo): New method. Moves the divider
6525         to a set location based on the last divider location.
6526         (BasicSplitPaneDivider::MouseHandler): Implement.
6527         (BasicSplitPaneDivider::OneTouchButton): Removed.
6528         (BasicSplitPaneDivider::DragController): Implement.
6529         (BasicSplitPaneDivider::VerticalDragController):
6530         ditto.
6531         (BasicSplitPaneDivider::DividerLayout): ditto.
6532         * javax/swing/plaf/basic/BasicSplitPaneUI.java: Reimplement.
6533         * javax/swing/plaf/basic/BasicTabbedPaneUI.java:
6534         (calculateLayoutInfo): Don't show component if it's
6535         null.
6536         (paintTab): Fix title paint logic.
6538 2004-05-26  Jerry Quinn  <jlquinn@optonline.net>
6540         PR libgcj/8321
6541         * java/util/SimpleTimeZone.java (serialVersionOnStream): Bump to 2.
6542         (setStartRule,setEndRule): Don't take abs of day number.
6543         (getOffset): Clarify docs.  Add argument checks.
6544         (isBefore): Take abs of day number in DOW_LE_DOM_MODE.
6545         (equals,hasSameRules,toString,readObject): Use startTimeMode and
6546         endTimeMode.
6547         * testsuite/libjava.mauve/xfails
6548         (gnu.testlet.java.util.SimpleTimeZone.check12): XFAIL test 22.
6550 2004-05-21  Bryce McKinlay  <mckinlay@redhat.com>
6552         Layout interfaces during preparation, not initialization. 
6553         * java/lang/natClass.cc (initializeClass): Move 
6554         _Jv_LayoutInterfaceMethods call...
6555         * java/lang/natClassLoader.cc (_Jv_PrepareCompiledClass): to here.
6557 2004-05-19  Anthony Green  <green@localhost.localdomain>
6559         * Makefile.am (awt_java_source_files): Remove javax.rmi and
6560         gnu.javax.rmi code.
6561         * Makefile.in: Rebuilt.
6562         * javax/rmi/ClassDesc.java, javax/rmi/StubDelegate.java,
6563         javax/rmi/UtilDelegate.java, javax/rmi/Stub.java,
6564         javax/rmi/Util.java, javax/rmi/ObjectImpl.java,
6565         javax/rmi/SystemException.java, javax/rmi/ValueHandler.java,
6566         javax/rmi/PortableRemoteObjectDelegate.java, javax/rmi/Tie.java,
6567         gnu/javax/rmi/CORBA/DelegateFactory.java,
6568         gnu/javax/rmi/CORBA/GetDelegateInstanceException.java,
6569         gnu/javax/rmi/CORBA/PortableRemoteObjectDelegateImpl.java,
6570         gnu/javax/rmi/CORBA/StubDelegateImpl.java,
6571         gnu/javax/rmi/CORBA/UtilDelegateImpl.java,
6572         gnu/javax/rmi/CORBA/ValueHandlerImpl.java,
6573         gnu/javax/rmi/PortableServer.java: Remove files.
6575 2004-05-19  Anthony Green  <green@redhat.com>
6577         * Makefile.am: Define JAVA_EXT_DIRS.
6578         * Makefile.in: Rebuilt.
6579         * java/lang/natRuntime.cc (insertSystemProperties): Set
6580         java.ext.dirs property.
6582 2004-05-16  Mark Wielaard  <mark@klomp.org>
6584         * java/io/Writer.java (Writer(Object)): Check for null lock object.
6586 2004-05-15  Mark Wielaard  <mark@klomp.org>
6588         * doc/cni.sgml: Removed, merged into gcj.texi.
6590 2004-05-15  Mark Wielaard  <mark@klomp.org>
6592         * Makefile.am (ordinary_java_source_files): Add new javax.print
6593         classes.
6594         * Makefile.in: Regenerated.
6596 2004-05-15  Michael Koch  <konqueror@gmx.de>
6598         * javax/print/attribute/standard/DateTimeAtCompleted.java,
6599         javax/print/attribute/standard/DateTimeAtCreation.java,
6600         javax/print/attribute/standard/DateTimeAtProcessing.java,
6601         javax/print/attribute/standard/DocumentName.java,
6602         javax/print/attribute/standard/JobHoldUntil.java,
6603         javax/print/attribute/standard/JobImpressionsCompleted.java,
6604         javax/print/attribute/standard/JobMessageFromOperator.java,
6605         javax/print/attribute/standard/JobName.java,
6606         javax/print/attribute/standard/JobOriginatingUserName.java,
6607         javax/print/attribute/standard/JobPriority.java,
6608         javax/print/attribute/standard/JobPrioritySupported.java,
6609         javax/print/attribute/standard/NumberOfInterveningJobs.java,
6610         javax/print/attribute/standard/OutputDeviceAssigned.java,
6611         javax/print/attribute/standard/PrinterInfo.java,
6612         javax/print/attribute/standard/PrinterLocation.java,
6613         javax/print/attribute/standard/PrinterMakeAndModel.java,
6614         javax/print/attribute/standard/PrinterMessageFromOperator.java,
6615         javax/print/attribute/standard/PrinterName.java,
6616         javax/print/attribute/standard/QueuedJobCount.java,
6617         javax/print/attribute/standard/RequestingUserName.java:
6618         Fixed javadocs all over.
6620 2004-05-15  Michael Koch  <konqueror@gmx.de>
6622         * javax/print/DocFlavor.java,
6623         javax/print/attribute/standard/ColorSupported.java,
6624         javax/print/attribute/standard/Compression.java,
6625         javax/print/attribute/standard/CopiesSupported.java,
6626         javax/print/attribute/standard/Fidelity.java,
6627         javax/print/attribute/standard/Finishings.java,
6628         javax/print/attribute/standard/JobImpressionsSupported.java,
6629         javax/print/attribute/standard/JobKOctetsSupported.java,
6630         javax/print/attribute/standard/JobMediaSheetsSupported.java,
6631         javax/print/attribute/standard/JobSheets.java,
6632         javax/print/attribute/standard/JobState.java,
6633         javax/print/attribute/standard/JobStateReason.java,
6634         javax/print/attribute/standard/JobStateReasons.java,
6635         javax/print/attribute/standard/Media.java,
6636         javax/print/attribute/standard/MediaSizeName.java,
6637         javax/print/attribute/standard/MultipleDocumentHandling.java,
6638         javax/print/attribute/standard/NumberUpSupported.java,
6639         javax/print/attribute/standard/OrientationRequested.java,
6640         javax/print/attribute/standard/PDLOverrideSupported.java,
6641         javax/print/attribute/standard/PageRanges.java,
6642         javax/print/attribute/standard/PresentationDirection.java,
6643         javax/print/attribute/standard/PrintQuality.java,
6644         javax/print/attribute/standard/PrinterIsAcceptingJobs.java,
6645         javax/print/attribute/standard/PrinterMoreInfo.java,
6646         javax/print/attribute/standard/PrinterMoreInfoManufacturer.java,
6647         javax/print/attribute/standard/PrinterResolution.java,
6648         javax/print/attribute/standard/PrinterState.java,
6649         javax/print/attribute/standard/PrinterStateReason.java,
6650         javax/print/attribute/standard/PrinterStateReasons.java,
6651         javax/print/attribute/standard/PrinterURI.java,
6652         javax/print/attribute/standard/ReferenceUriSchemesSupported.java,
6653         javax/print/attribute/standard/Severity.java,
6654         javax/print/attribute/standard/SheetCollate.java,
6655         javax/print/attribute/standard/Sides.java:
6656         Added serialVersionUID and removed final keyword where it doenst
6657         belong.
6659 2004-05-15  Michael Koch  <konqueror@gmx.de>
6661         * javax/print/PrintServiceLookup.java: New file.
6663 2004-05-15  Michael Koch  <konqueror@gmx.de>
6665         * javax/print/DocFlavor.java:
6666         Implemented all flavor classes.
6668 2004-05-15  Michael Koch  <konqueror@gmx.de>
6670         * javax/print/attribute/standard/ColorSupported.java,
6671         javax/print/attribute/standard/Compression.java,
6672         javax/print/attribute/standard/CopiesSupported.java,
6673         javax/print/attribute/standard/Fidelity.java,
6674         javax/print/attribute/standard/Finishings.java,
6675         javax/print/attribute/standard/JobImpressionsSupported.java,
6676         javax/print/attribute/standard/JobKOctetsSupported.java,
6677         javax/print/attribute/standard/JobMediaSheetsSupported.java,
6678         javax/print/attribute/standard/JobSheets.java,
6679         javax/print/attribute/standard/JobState.java,
6680         javax/print/attribute/standard/JobStateReason.java,
6681         javax/print/attribute/standard/JobStateReasons.java,
6682         javax/print/attribute/standard/Media.java,
6683         javax/print/attribute/standard/MediaSizeName.java,
6684         javax/print/attribute/standard/MultipleDocumentHandling.java,
6685         javax/print/attribute/standard/NumberUpSupported.java,
6686         javax/print/attribute/standard/OrientationRequested.java,
6687         javax/print/attribute/standard/PDLOverrideSupported.java,
6688         javax/print/attribute/standard/PageRanges.java,
6689         javax/print/attribute/standard/PresentationDirection.java,
6690         javax/print/attribute/standard/PrintQuality.java,
6691         javax/print/attribute/standard/PrinterIsAcceptingJobs.java,
6692         javax/print/attribute/standard/PrinterMoreInfo.java,
6693         javax/print/attribute/standard/PrinterMoreInfoManufacturer.java,
6694         javax/print/attribute/standard/PrinterResolution.java,
6695         javax/print/attribute/standard/PrinterState.java,
6696         javax/print/attribute/standard/PrinterStateReason.java,
6697         javax/print/attribute/standard/PrinterStateReasons.java,
6698         javax/print/attribute/standard/PrinterURI.java,
6699         javax/print/attribute/standard/ReferenceUriSchemesSupported.java,
6700         javax/print/attribute/standard/Severity.java,
6701         javax/print/attribute/standard/SheetCollate.java,
6702         javax/print/attribute/standard/Sides.java: New files.
6704 2004-05-15  Michael Koch  <konqueror@gmx.de>
6706         * javax/print/Doc.java
6707         (getPrintData): Throws IOException.
6708         (getReaderForText): Likewise.
6709         (getStreamForBytes): Likewise.
6710         * javax/print/DocFlavor.java:
6711         Fixed filename in copyright.
6712         (serialVersionUID): New field.
6713         * javax/print/ServiceUIFactory.java:
6714         Made all constants final.
6715         * javax/print/AttributeException.java
6716         javax/print/MultiDoc.java
6717         javax/print/MultiDocPrintJob.java
6718         javax/print/MultiDocPrintService.java
6719         javax/print/StreamPrintService.java
6720         javax/print/URIException.java: New files.
6721         * javax/print/Makefile.am
6722         (EXTRA_DIST): Added all new files.
6724 2004-05-15  Michael Koch  <konqueror@gmx.de>
6726         * javax/print/attribute/standard/Copies.java,
6727         javax/print/attribute/standard/DateTimeAtCompleted.java,
6728         javax/print/attribute/standard/DateTimeAtCreation.java,
6729         javax/print/attribute/standard/DateTimeAtProcessing.java,
6730         javax/print/attribute/standard/DocumentName.java,
6731         javax/print/attribute/standard/JobHoldUntil.java,
6732         javax/print/attribute/standard/JobImpressions.java,
6733         javax/print/attribute/standard/JobImpressionsCompleted.java,
6734         javax/print/attribute/standard/JobKOctets.java,
6735         javax/print/attribute/standard/JobKOctetsProcessed.java,
6736         javax/print/attribute/standard/JobMediaSheets.java,
6737         javax/print/attribute/standard/JobMediaSheetsCompleted.java,
6738         javax/print/attribute/standard/JobMessageFromOperator.java,
6739         javax/print/attribute/standard/JobName.java,
6740         javax/print/attribute/standard/JobOriginatingUserName.java,
6741         javax/print/attribute/standard/JobPriority.java,
6742         javax/print/attribute/standard/JobPrioritySupported.java,
6743         javax/print/attribute/standard/NumberOfDocuments.java,
6744         javax/print/attribute/standard/NumberOfInterveningJobs.java,
6745         javax/print/attribute/standard/NumberUp.java,
6746         javax/print/attribute/standard/OutputDeviceAssigned.java,
6747         javax/print/attribute/standard/PagesPerMinute.java,
6748         javax/print/attribute/standard/PagesPerMinuteColor.java:
6749         Fixed @return tag all over.
6751 2004-05-15  Michael Koch  <konqueror@gmx.de>
6753         * javax/print/attribute/AttributeSetUtilities.java
6754         (verifyCategoryForValue): Fixed typo in javadoc.
6755         * javax/print/attribute/HashAttributeSet.java
6756         (containsKey): Fixed @return tag.
6757         (comtainsValue): Likewise.
6758         (equals): Likewise.
6759         * javax/print/attribute/IntegerSyntax.java
6760         (equals): Likewise.
6761         * javax/print/attribute/ResolutionSyntax.java
6762         (equals): Likewise.
6763         (getCrossFeedResolution): Removed unused code.
6764         (getFeedResolution): Likewise.
6765         * javax/print/attribute/SetOfIntegerSyntax.java
6766         (SetOfIntegerSyntax): Fixed HTML entities in javadoc.
6767         (equals): Fixed @return tag.
6768         * javax/print/attribute/TextSyntax.java
6769         (TextSyntax): Take locale into account.
6770         (hashCode): Better implementation.
6772 2004-05-15  Michael Koch  <konqueror@gmx.de>
6774         * javax/print/CancelablePrintJob.java,
6775         javax/print/Doc.java,
6776         javax/print/DocFlavor.java,
6777         javax/print/DocPrintJob.java,
6778         javax/print/FlavorException.java,
6779         javax/print/PrintException.java,
6780         javax/print/PrintService.java,
6781         javax/print/ServiceUIFactory.java: New files.
6783 2004-05-15  Mark Wielaard  <mark@klomp.org>
6785         * gnu/regexp/CharIndexedReader.java: Removed.
6786         * gnu/regexp/REFilterReader.java: Likewise.
6787         * gnu/regexp/RETokenLookAhead.java: Likewise.
6788         * Makefile.am (ordinary_java_source_files): Remove above classes.
6789         * Makefile.in: Regenerated.
6791 2004-05-14  Tom Tromey  <tromey@redhat.com>
6793         * gnu/awt/xlib/XGraphics.java (drawImage): Use `XOffScreenImage',
6794         not `XGraphicsConfiguration.XOffScreenImage'.
6796 2004-05-14  Scott Gilbertson  <scottg@mantatest.com>
6798         * gnu/awt/xlib/XCanvasPeer.java (setVisible): Implement unmap.
6800 2004-05-14  Steven Augart  <augart@watson.ibm.com>
6802         * include/jni.h (_Jv_func): Removed.
6803         (struct JNINativeInterface): Use `void *' for reserved slots.
6804         (struct JNIInvokeInterface): Likewise.
6806 2004-05-11  Michael Koch  <konqueror@gmx.de>
6808         * gnu/java/net/natPlainSocketImplPosix.cc
6809         (read): Fixed typo in expression.
6811 2004-05-10  Andreas Tobler  <a.tobler@schweiz.ch>
6813         * testsuite/lib/libjava.exp (libjava_invoke): Add new argument
6814         ld_library_additions. Adjust all calls to libjava_invoke to match
6815         the new argument.
6817         * testsuite/libjava.jni/jni.exp (gcj_jni_test_one): Pass stdc++
6818         path to cxxflagslist.
6819         Pass path of libstdc++ to libjava_invoke.
6821         * testsuite/libjava.jar/jar.exp (gcj_jar_inerpret): Adjust
6822         libjava_invoke arguments.
6824 2004-05-10  Ranjit Mathew  <rmathew@hotmail.com>
6826         * testsuite/libjava.jacks/jacks.xfail: Update to reflect the current
6827         reality.
6829 2004-05-07  Ranjit Mathew  <rmathew@gmail.com>
6831         * testsuite/libjava.jni/jni.exp (gcj_jni_test_one): Don't link the
6832         main binary against the JNI shared library.
6834 2004-05-07  Jerry Quinn  <jlquinn@optonline.net>
6836         * java/util/SimpleTimeZone.java (startTimeMode, endTimeMode,
6837         WALL_TIME, STANDARD_TIME, UTC_TIME): New members.
6838         (SimpleTimeZone): Tweak docs.  Add new variation.
6839         (setStartRule,setEndRule): Add new variations.  Use
6840         startTimeMode and endTimeMode.
6842 2004-05-07  Jerry Quinn  <jlquinn@optonline.net>
6844         * java/util/Calendar.java (getActualMinimum,
6845         getActualMaximum):  Remove abstract.  Implement.
6847 2004-05-06  Bryce McKinlay  <mckinlay@redhat.com>
6849         Run the jni tests using the interpreter.
6850         * testsuite/libjava.jni/jni.exp (gcj_jni_compile_c_to_so): Append
6851         options_cxx to shared lib compile command.
6852         (gcj_jni_test_one): Pass cxxflags to gcj_jni_compile_c_to_so, so
6853         they are used to link the shared lib, not the main binary.
6854         Use libjava_invoke to run gij.
6856 2004-05-06  Michael Koch  <konqueror@gmx.de>
6858         * java/util/logging/Level.java
6859         (parse): Use == instead of String.equals().
6861 2004-05-06  Bryce McKinlay  <mckinlay@redhat.com>
6863         * defineclass.cc (_Jv_ClassReader::prepare_pool_entry): Use 
6864         verify_field_signature and verify_method_signature, not 
6865         _Jv_VerifyFieldSignature and _Jv_VerifyMethodSigntature.
6866         (_Jv_ClassReader::handleField): Likewise.
6867         (_Jv_ClassReader::handleMethod): Likewise.
6869 2004-05-06  Michael Koch  <konqueror@gmx.de>
6871         * javax/swing/table/TableColumn.java:
6872         Reformated.
6874 2004-05-06  Michael Koch  <konqueror@gmx.de>
6876         * javax/imageio/spi/ImageReaderWriterSpi.java
6877         (ImageReaderWriterSpi): Made it public.
6878         * javax/imageio/stream/ImageInputStream.java:
6879         Clean up imports.
6881 2004-05-06  Michael Koch  <konqueror@gmx.de>
6883         * jni/gtk-peer/gnu_java_awt_peer_gtk_GtkComponentPeer.c:
6884         Removed empty line.
6886 2004-05-06  Michael Koch  <konqueror@gmx.de>
6888         * jni/gtk-peer/gnu_java_awt_peer_gtk_GtkCheckboxGroupPeer.c,
6889         jni/gtk-peer/gnu_java_awt_peer_gtk_GtkGenericPeer.c:
6890         New files.
6891         * jni/gtk-peer/gnu_java_awt_peer_gtk_GtkCheckboxMenuItemPeer.c:
6892         Include gnu_java_awt_peer_gtk_GtkCheckboxMenuItemPeer.h.
6893         * jni/gtk-peer/gnu_java_awt_peer_gtk_GtkCheckboxPeer.c:
6894         Moved GtkCheckboxGroupPeer_dispose and GtkCheckboxGroupPeer_remove to
6895         their own source file.
6896         * jni/gtk-peer/gnu_java_awt_peer_gtk_GtkComponentPeer.c:
6897         Moved GtkGenericPeer_dispose and GtkComponentPeer_requestFocus to
6898         their own source file. Removed GtkComponentPeer_gtkWidgetSetUsize.
6899         * jni/gtk-peer/gnu_java_awt_peer_gtk_GtkMenuPeer.c
6900         (create): Define variable on top of function.
6901         * jni/gtk-peer/gnu_java_awt_peer_gtk_GtkPopupMenuPeer.c
6902         (menu_pos): Prototyped.
6903         * jni/gtk-peer/gnu_java_awt_peer_gtk_GtkWindowPeer.c
6904         (setTitle): Removed.
6905         * jni/gtk-peer/gthread-jni.c
6906         (gdk_threads_wake): Removed.
6907         * Makefile.am (gtk_c_source_files): Added new files
6908         jni/gtk-peer/gnu_java_awt_peer_gtk_GtkCheckboxGroupPeer.c and
6909         jni/gtk-peer/gnu_java_awt_peer_gtk_GtkGenericPeer.c.
6910         * Makefile.in: Regenerated.
6912 2004-05-05  Bryce McKinlay  <mckinlay@redhat.com>
6914         * testsuite/libjava.jni/pr11951.java: Add missing System.loadLibrary()
6915         call.
6917 2004-05-05  Mark Wielaard  <mark@klomp.org>
6919         * javax/swing/AbstractButton.java: Replace special HTML entities with
6920         ASCII equivalent.
6921         * javax/swing/DefaultBoundedRangeModel.java: Likewise.
6922         * javax/swing/DefaultButtonModel.java: Likewise.
6923         * javax/swing/DefaultListModel.java: Likewise.
6924         * javax/swing/JList.java: Likewise.
6925         * javax/swing/JSlider.java: Likewise.
6926         * javax/swing/ListModel.java: Likewise.
6927         * javax/swing/Popup.java: Likewise.
6928         * javax/swing/SwingUtilities.java: Likewise.
6930 2004-05-05  Michael Koch  <konqueror@gmx.de>
6932         * javax/swing/AbstractButton.java,
6933         javax/swing/ActionMap.java,
6934         javax/swing/DefaultButtonModel.java,
6935         javax/swing/DefaultListModel.java,
6936         javax/swing/ImageIcon.java,
6937         javax/swing/JComboBox.java,
6938         javax/swing/JComponent.java,
6939         javax/swing/JFrame.java,
6940         javax/swing/JInternalFrame.java,
6941         javax/swing/JMenuBar.java,
6942         javax/swing/JMenuItem.java,
6943         javax/swing/JOptionPane.java,
6944         javax/swing/JProgressBar.java,
6945         javax/swing/JRootPane.java,
6946         javax/swing/JScrollBar.java,
6947         javax/swing/JScrollPane.java,
6948         javax/swing/JSeparator.java,
6949         javax/swing/JSlider.java,
6950         javax/swing/JTabbedPane.java,
6951         javax/swing/JTable.java,
6952         javax/swing/JTextField.java,
6953         javax/swing/JToolBar.java,
6954         javax/swing/JToolTip.java,
6955         javax/swing/JTree.java,
6956         javax/swing/JViewport.java,
6957         javax/swing/JWindow.java,
6958         javax/swing/KeyStroke.java,
6959         javax/swing/LookAndFeel.java,
6960         javax/swing/SwingUtilities.java,
6961         javax/swing/Timer.java,
6962         javax/swing/ToolTipManager.java,
6963         javax/swing/UIDefaults.java,
6964         javax/swing/border/TitledBorder.java,
6965         javax/swing/filechooser/FileSystemView.java,
6966         javax/swing/plaf/basic/BasicButtonListener.java,
6967         javax/swing/plaf/basic/BasicButtonUI.java,
6968         javax/swing/plaf/basic/BasicCheckBoxMenuItemUI.java,
6969         javax/swing/plaf/basic/BasicGraphicsUtils.java,
6970         javax/swing/plaf/basic/BasicLabelUI.java,
6971         javax/swing/plaf/basic/BasicMenuItemUI.java,
6972         javax/swing/plaf/basic/BasicRadioButtonMenuItemUI.java,
6973         javax/swing/plaf/basic/BasicRootPaneUI.java,
6974         javax/swing/plaf/basic/BasicScrollBarUI.java,
6975         javax/swing/plaf/basic/BasicScrollPaneUI.java,
6976         javax/swing/plaf/basic/BasicSliderUI.java,
6977         javax/swing/plaf/basic/BasicTabbedPaneUI.java,
6978         javax/swing/plaf/basic/BasicToggleButtonUI.java,
6979         javax/swing/table/JTableHeader.java,
6980         javax/swing/text/AbstractDocument.java,
6981         javax/swing/text/DefaultCaret.java,
6982         javax/swing/text/StyledEditorKit.java,
6983         javax/swing/tree/DefaultTreeCellEditor.java:
6984         Cleaned up imports.
6986 2004-05-05  Michael Koch  <konqueror@gmx.de>
6988         * java/util/prefs/AbstractPreferences.java
6989         (AbstractPreferences): Added parenthesis for clarity.
6990         Closes classpath bug #7940.
6992 2004-05-05  Tom Tromey  <tromey@redhat.com>
6994         * javax/naming/CompoundName.java (endsWith): Look at correct
6995         element of source name.
6997 2004-05-05  Mark Wielaard  <mark@klomp.org>
6999         Reported by f.haeglsperger@gmx.de [classpath patch #2485]
7000         * java/util/HashMap.java (rehash): Add entry at start of bucket.
7002 2004-05-05  Tom Tromey  <tromey@redhat.com>
7004         * java/io/BufferedReader.java (skip): Removed unused
7005         variable.
7007 2004-05-05  Michael Koch  <konqueror@gmx.de>
7009         * java/awt/FileDialog.java: Import java.io.Serializable explicitly.
7011 2004-05-05  Dalibor Topic  <robilad@kaffe.org>
7013         * java/text/AttributedString.java,
7014         java/text/AttributedStringIterator.java,
7015         java/text/Collator.java,
7016         java/text/DecimalFormatSymbols.java,
7017         java/text/NumberFormat.java,
7018         java/text/RuleBasedCollator.java:
7019         Cleaned up imports.
7021 2004-05-05  Tom Tromey  <tromey@redhat.com>
7023         * java/text/Format.java: Cleaned up imports.
7024         * java/text/DecimalFormat.java: Cleaned up imports.
7025         * java/security/SecureRandom.java: Cleaned up imports.
7026         (SecureRandom): Removed unused variable.
7027         * java/security/UnresolvedPermission.java: Cleaned up imports.
7028         * java/util/Date.java (parse): Removed unused variable.
7029         * java/util/ResourceBundle.java: Cleaned up imports.
7030         (getBundle): Removed unused variable.
7031         (tryBundle): Likewise.
7032         * java/util/regex/Pattern.java (Pattern): Removed unused constructor.
7034 2004-05-05  Guilhem Lavaux <guilhem@kaffe.org>
7036         * java/text/SimpleDateFormat.java:
7037         (formatWithAttribute): New method. It implements
7038         the formatting process with attributes.
7039         (format): Use formatWithAttribute.
7040         (formatToCharacterIterator): New method. Use
7041         formatWithAttribute.
7043 2004-05-05  Guilhem Lavaux <guilhem@kaffe.org>
7045         * java/text/MessageFormat.java:
7046         (class Field): New class.
7047         (formatToCharacterIterator): New method.
7048         (format): Use formatInternal now.
7049         (formatInternal): New method. String formatter should
7050         be done here (with attributes). Attributes merging supported.
7051         (parse): More documentation.
7052         (getFormatsByArgumentIndex): New method.
7053         (setFormatByArgumentIndex): New method.
7054         (setFormatsByArgumentIndex): New method.
7056 2004-05-05  Guilhem Lavaux <guilhem@kaffe.org>
7058         * java/text/DecimalFormat.java
7059         (MAXIMUM_INTEGER_DIGITS): New constant to keep the numeric value 309.
7060         (applyPatternWithSymbols): Use MAXIMUM_INTEGER_DIGITS.
7061         (parse): Fixed handling of exponentiation notation and grouping.
7063 2004-05-05  Guilhem Lavaux <guilhem@kaffe.org>
7065         * java/text/DecimalFormat.java
7066         (scanFix): Build attribute array. Fixed error reporting.
7067         (applyPatternWithSymbols): Store attributes for the prefix and
7068         suffix.
7069         (formatInternal): New method. Changed the way the string is
7070         computed. Implemented attributes. Cleant up rounding in
7071         exponential notation.
7072         (format): Use formatInternal.
7073         (formatToCharacterIterator): New method.
7074         (exponentRound, negativePrefixRanges, positivePrefixRanges,
7075         negativePrefixAttrs, positivePrefixAttrs, negativeSuffixRanges,
7076         positiveSuffixRanges, negativeSuffixAttrs, positiveSuffixAttrs):
7077         New fields.
7079 2004-05-04  Dalibor Topic  <robilad@kaffe.org>
7081         * java/security/interfaces/DSAKeyPairGenerator.java,
7082         java/security/interfaces/DSAPrivateKey.java,
7083         java/security/interfaces/DSAPublicKey.java,
7084         java/security/interfaces/RSAPrivateKey.java,
7085         java/security/interfaces/RSAPublicKey.java:
7086         Cleaned up imports.
7088 2004-05-04  Michael Koch  <konqueror@gmx.de>
7090         * java/nio/ByteBuffer.java,
7091         java/nio/CharBuffer.java,
7092         java/nio/DoubleBuffer.java,
7093         java/nio/FloatBuffer.java,
7094         java/nio/IntBuffer.java,
7095         java/nio/LongBuffer.java,
7096         java/nio/ShortBuffer.java:
7097         (compareTo): Fixed bogus implementation in all buffer classes.
7099 2004-05-04  Ingo Proetel  <proetel@aicas.com>
7101         * java/awt/image/ColorModel.java (getRGBdefault): Default ColorModel has
7102         32 bit pixels not 8 bit pixels.
7103         (isCompatibleRaster): Added javadoc comment.
7105 2004-05-04  Ingo Proetel  <proetel@aicas.com>
7107         * java/awt/image/ComponentSampleModel.java (setDataSamples):Do not reset
7108         scanline stride.
7110 2004-05-04  Ingo Proetel  <proetel@aicas.com>
7112         * java/awt/ColorPaintContext.java (<init>): Added ColorModel to signature.
7113         (getColorModel): Return the actual color model.
7114         (getRaster): Implemented.
7115         (ColorRaster): New inner class.
7116         * java/awt/SystemColor.java (createContext): Use ColorModel when creating
7117         a PaintContext.
7118         * java/awt/Color.java (<init>): Make exception more verbose.
7119         (createContext): Use ColorModel when creating a PaintContext.
7121 2004-05-04  Michael Koch  <konqueror@gmx.de>
7123         * gnu/java/text/CharacterBreakIterator.java
7124         (previous): Removed unused variable.
7126 2004-05-04  Guilhem Lavaux <guilhem@kaffe.org>
7128         * gnu/java/text/FormatBuffer.java,
7129         gnu/java/text/AttributedFormatBuffer.java,
7130         gnu/java/text/StringFormatBuffer.java: New classes to implement
7131         attributed iterators in java.text.
7132         * gnu/java/text/FormatCharacterIterator.java: Moved 
7133         from java/text as it is an internal class.
7134         * java/text/FormatCharacterIterator.java: Removed.
7135         * java/text/Format.java:
7136         Import gnu.java.text.FormatCharacterIterator.
7137         * Makefile.am (java_source_files): Added new files.
7138         * Makefile.in: Regenerated.
7139         
7141 2004-05-04  Mark Wielaard  <mark@klomp.org>
7143         * gnu/java/nio/channels/FileChannelImpl.java (finalize): New method.
7145 2004-05-03  Andreas Tobler  <a.tobler@schweiz.ch>
7147         * Makefile.am (WARNINGS): Replace -W with the more speaking -Wextra.
7148         * Makefile.in: Rebuilt.
7150 2004-05-03  Mark Wielaard  <mark@klomp.org>
7152         * gnu/java/security/der/DERReader.java: Call static methods staticly.
7153         * java/awt/TextComponent.java (select): Use selectionEnd parameter.
7154         * java/net/URL.java
7155         (set(String, String, int, String, String, String, String, String)):
7156         Assign this.file to path or path + "?" + query.
7157         * java/util/Arrays.java: Call static methods staticly.
7158         * java/util/zip/ZipEntry.java: Likewise.
7159         * javax/swing/plaf/basic/BasicArrowButton.java (setDirection): Assign
7160         dir to this.direction.
7161         * javax/swing/table/DefaultTableCellRenderer.java (noFocusBorder):
7162         Assign static field only once.
7163         (DefaultTableCellRenderer): Don't reassign noFocusBorder each time.
7165 2004-05-03  Mark Wielaard  <mark@klomp.org>
7167         * gnu/java/awt/peer/gtk/GtkTextAreaPeer.java (minimumSize): Removed
7168         unused variables hScrollbarHeight and vScrollbarWidth.
7169         (preferredSize): Likewise.
7170         * gnu/java/security/provider/DSAParameters.java (engineToString):
7171         Removed unused call to System.getProperty("line.seperator");
7172         * java/security/Security.java (loadProviders): Return result.
7174 2004-05-03  Tom Tromey  <tromey@redhat.com>
7176         * java/net/URLStreamHandler.java (toExternalForm): Removed
7177         unused variables.
7178         unused constructor.
7179         * java/math/BigDecimal.java (divide): Removed unused variable.
7180         * java/lang/Throwable.java: Cleaned up imports.
7181         * java/lang/ClassLoader.java: Cleaned up imports.
7182         * java/io/FilePermission.java (implies): Removed unused
7183         variable.
7184         * java/awt/TextComponent.java: Removed unused import.
7185         * gnu/java/util/prefs/NodeReader.java: Cleaned up imports.
7186         * gnu/java/util/DoubleEnumeration.java: Removed unused import.
7187         * gnu/java/text/WordBreakIterator.java: Removed unused import.
7188         * gnu/java/text/SentenceBreakIterator.java: Removed unused
7189         import.
7190         * gnu/java/text/LineBreakIterator.java: Removed unused import.
7191         * gnu/java/text/CharacterBreakIterator.java: Removed
7192         unused import.
7193         * gnu/java/security/provider/DSAKeyPairGenerator.java:
7194         Cleaned up imports.
7195         * gnu/java/security/der/DERWriter.java: Cleaned up imports.
7196         * gnu/java/nio/charset/UTF_16Decoder.java (put): Removed
7197         unused method.
7198         * gnu/java/nio/SocketChannelImpl.java: Cleaned up imports.
7199         * gnu/java/nio/FileLockImpl.java: Cleaned up imports.
7200         * gnu/java/io/Base64InputStream.java: Cleaned up imports.
7201         * gnu/java/beans/info/ComponentBeanInfo.java: Cleaned up imports.
7202         * gnu/classpath/ServiceFactory.java: Cleaned up imports.
7203         (lookupProviders): Removed unused variable.
7204         (loadNextServiceProvider): Likewise.
7205         * gnu/java/beans/BeanInfoEmbryo.java: Cleaned up imports.
7207 2004-05-03  Michael Koch  <konqueror@gmx.de>
7209         Fixes PR libgcj/14695:
7210         * java/net/NetworkInterface.java
7211         (getByName): Return null when no interface was found.
7213 2004-04-30  Ranjit Mathew  <rmathew@hotmail.com>
7214             Tom Tromey  <tromey@redhat.com>
7216         * testsuite/libjava.jni/jni.exp (gcj_jni_compile_c_to_so): Use
7217         additional option "-Wmissing-prototypes" for compiling C sources.
7218         Print actual filename for pass/fail rather than $name.c.
7219         * testsuite/libjava.jni/PR15133.java: New testcase file.
7220         * testsuite/libjava.jni/PR15133.c: Likewise.
7221         * testsuite/libjava.jni/PR15133.out: Likewise.
7223 2004-04-30  Roger Sayle  <roger@eyesopen.com>
7225         * testsuite/libjava.lang/MathBuiltin.java: Add tests for acos, asin,
7226         ceil and floor.
7228 2004-04-25  Ranjit Mathew  <rmathew@hotmail.com>
7229         
7230         * testsuite/libjava.jacks/jacks.exp (gcj_jacks_write): Explicitly
7231         limit the maximum heap size to avoid unnecessary thrashing.
7233 2004-04-24  Jerry Quinn  <jlquinn@optonline.net>
7235         * java/text/CollationElementIterator.java (reset): Reset
7236         lookahead variables.
7238 2004-04-23  Mark Wielaard  <mark@klomp.org>
7240         * jni/classpath/jcl.c: Changed C++ comments into C comments.
7242 2004-04-23 Dalibor Topic <robilad@kaffe.org>
7244         * java/sql/DriverManager.java:
7245         Cleaned up imports.
7247 2004-04-23  Michael Koch  <konqueror@gmx.de>
7249         * java/net/URL.java
7250         (hashcode): Don't initialize with default value explicitely.
7251         (getContent): Removed redundant "final" keyword.
7252         (openStream): Likewise.
7253         (getURLStreamHandler): Fixed coding style.
7254         * java/net/URLConnection.java
7255         (defaultAllowUserInteraction): Don't initialize with default value
7256         explicitely.
7257         (connected): Likewise.
7258         (doOutput): Likewise.
7259         (ifModifiedSince): Likewise.
7260         (dateformats_initialized): Likewise.
7261         (setURLStreamHander): Use StreamTokenizer where it belongs to.
7263 2004-04-23  Michael Koch  <konqueror@gmx.de>
7265         * gnu/java/nio/channels/FileChannelImpl.java
7266         (SET, CUR): Unused, removed.
7267         (read): Implement here directly.
7268         (implRead): Removed.
7269         (write): Implement here directly.
7270         (implWrite): Removed.
7272 2004-04-23  Dalibor Topic  <robilad@kaffe.org>
7274         * javax/rmi/CORBA/PortableRemoteObjectDelegate.java,
7275         javax/rmi/CORBA/Stub.java,
7276         javax/rmi/CORBA/Util.java,
7277         javax/rmi/CORBA/ValueHandler.java,
7278         javax/rmi/CORBA/ValueHandler.java,
7279         javax/rmi/PortableRemoteObject.java:
7280         Cleaned up imports.
7282 2004-04-23 Dalibor Topic <robilad@kaffe.org>
7284         * java/util/jar/JarFile.java,
7285         java/util/jar/JarInputStream.java,
7286         java/util/jar/JarOutputStream.java,
7287         java/util/jar/Manifest.java:
7288         Cleaned up imports.
7290 2004-04-23 Dalibor Topic <robilad@kaffe.org>
7292         * java/util/ArrayList.java,
7293         java/util/Calendar.java,
7294         java/util/Currency.java,
7295         java/util/HashMap.java,
7296         java/util/HashSet.java,
7297         java/util/Hashtable.java,
7298         java/util/LinkedList.java,
7299         java/util/Properties.java,
7300         java/util/PropertyPermission.java,
7301         java/util/TimeZone.java,
7302         java/util/TreeMap.java,
7303         java/util/TreeSet.java,
7304         java/util/Vector.java,
7305         java/util/WeakHashMap.java:
7306         Cleaned up imports.
7308 2004-04-23  Dalibor Topic  <robilad@kaffe.org>
7310         * java/util/logging/FileHandler.java,
7311         java/util/logging/Formatter.java,
7312         java/util/logging/Handler.java,
7313         java/util/logging/Logger.java,
7314         java/util/logging/SimpleFormatter.java,
7315         java/util/logging/XMLFormatter.java:
7316         Cleaned up imports.
7318 2004-04-22  Mark Wielaard  <mark@klomp.org>
7320         * Makefile.am (PEDANTIC_CFLAGS): New -ansi -pedantic -Wall
7321         -Wno-long-long flags variable.
7322         (gtk_c_files): Use PEDANTIC_CFLAGS.
7323         * Makefile.in: Regenerated.
7325 2004-04-22  Mark Wielaard  <mark@klomp.org>
7327         * native/jni/gtk-peer/gnu_java_awt_peer_gtk_GtkComponentPeer.c:
7328         Changed C++ comments into C comments.
7329         * native/jni/gtk-peer/gnu_java_awt_peer_gtk_GtkMenuPeer.c:
7330         Likewise.
7332 2004-04-22  Michael Koch  <konqueror@gmx.de>
7334         * jni/gtk-peer/gnu_java_awt_peer_gtk_GtkPopupMenuPeer.c:
7335         Merged copyright year with GNU classpath.
7337 2004-04-22  Dalibor Topic  <robilad@kaffe.org>
7339         * javax/security/auth/x500/X500Principal.java:
7340         Cleaned up imports.
7342 2004-04-22  Dalibor Topic  <robilad@kaffe.org>
7344         * javax/swing/JSlider.java:
7345         Fixed HTML tags in comments.
7347 2004-04-22  Dalibor Topic  <robilad@kaffe.org>
7349         * javax/accessibility/AccessibleText.java:
7350         Cleaned up imports.
7352 2004-04-22  Jeroen Frijters <jeroen@sumatra.nl>
7354         * java/net/URLStreamHandler.java
7355         (parseURL): Convert the file path to using '/' instead of native
7356         file separator.
7358 2004-04-22  Guilhem Lavaux <guilhem@kaffe.org>
7360         * java/net/URL.java
7361         (userInfo): New field.
7362         (URL): Set authority to the right value.
7363         (setURL): Fixed authority and file initialization.
7364         * java/net/URLStreamHandler.java
7365         (parseURL): Take care of the query tag. Build authority.
7366         (toExternalForm): Fixed URL building using authority.
7368 2004-04-22  Michael Koch  <konqueror@gmx.de>
7370         * java/net/Socket.java
7371         (impl): Made package-private.
7372         * java/net/ServerSocket.java
7373         (implAccept): Access Socket.impl field directly.
7375 2004-04-22  Dalibor Topic  <robilad@kaffe.org>
7377         * java/util/prefs/Preferences.java,
7378         java/util/prefs/InvalidPreferencesFormatException.java,
7379         java/util/prefs/BackingStoreException.java,
7380         java/util/prefs/AbstractPreferences.java:
7381         Cleaned up imports.
7383 2004-04-22  Dalibor Topic  <robilad@kaffe.org>
7385         * java/util/regex/Matcher.java,
7386         java/util/regex/Pattern.java:
7387         Cleaned up imports.
7389 2004-04-22  Michael Koch  <konqueror@gmx.de>
7391         * java/nio/charset/IllegalCharsetNameException.java
7392         (charsetName): Made private.
7393         (IllegalCharsetNameException): Added @param tag to javadoc.
7394         (getCharsetName): Added @return tag to javadoc.
7395         * java/nio/charset/MalformedInputException.java
7396         (MalformedInputException): Added @param tag to javadoc.
7397         (getInputLength): Revised method description, added @return tag.
7398         (getMessage): Added @return tag.
7400 2004-04-22  Jerry Quinn  <jlquinn@optonline.net>
7402         * java/awt/Font.java (deriveFont): Implement missing variants.
7403         * gnu/java/awt/peer/ClasspathFontPeer.java (deriveFont): Implement
7404         missing variants.
7406 2004-04-21  Bryce McKinlay  <mckinlay@redhat.com>
7408         * java/lang/natClass.cc (_Jv_LayoutInterfaceMethods): New method.
7409         Set method->index values for interface methods to their itable index.
7410         (initializeClass): Call _Jv_LayoutInterfaceMethods.
7412 2004-04-21  Michael Koch  <konqueror@gmx.de>
7414         * java/nio/DirectByteBufferImpl.java
7415         (shiftDown): Made static, give address as argument and
7416         provide a convenience method that overwrites shiftDown in
7417         ByteBufferImpl and calls the native shiftDown.
7418         * java/nio/MappedByteBufferImpl.java
7419         (): Use optimized method in DirectByteBufferImpl.
7420         * java/nio/natDirectByteBufferImpl.cc
7421         (shiftDown): Changed method signature. Removed usage of array_offset.
7423 2004-04-21  Michael Koch  <konqueror@gmx.de>
7425         * gnu/java/net/natPlainSocketImplPosix.cc
7426         (SocketInputStream::read): Make sure returned data is a byte value.
7428 2004-04-21  Michael Koch  <konqueror@gmx.de>
7430         * gnu/classpath/ServiceFactory.java,
7431         gnu/classpath/ServiceProviderLoadingAction.java,
7432         javax/imageio/ImageReader.java,
7433         javax/imageio/ImageTranscoder.java,
7434         javax/imageio/ImageWriter.java,
7435         javax/imageio/package.html,
7436         javax/imageio/spi/IIOServiceProvider.java,
7437         javax/imageio/spi/ImageInputStreamSpi.java,
7438         javax/imageio/spi/ImageOutputStreamSpi.java,
7439         javax/imageio/spi/ImageReaderWriterSpi.java,
7440         javax/imageio/spi/ImageTranscoderSpi.java,
7441         javax/imageio/spi/RegisterableService.java,
7442         javax/imageio/spi/ServiceRegistry.java,
7443         javax/imageio/spi/package.html,
7444         javax/imageio/stream/IIOByteBuffer.java,
7445         javax/imageio/stream/ImageInputStream.java,
7446         javax/imageio/stream/ImageOutputStream.java,
7447         javax/imageio/stream/package.html:
7448         New files.
7449         * Makefile.am
7450         (ordinary_java_source_files): Added
7451         gnu/classpath/ServiceFactory.java and
7452         gnu/classpath/ServiceProviderLoadingAction.java.
7453         (javax_source_files): Added
7454         javax/imageio/ImageReader.java,
7455         javax/imageio/ImageTranscoder.java,
7456         javax/imageio/ImageWriter.java,
7457         javax/imageio/spi/IIOServiceProvider.java,
7458         javax/imageio/spi/ImageInputStreamSpi.java,
7459         javax/imageio/spi/ImageOutputStreamSpi.java,
7460         javax/imageio/spi/ImageReaderWriterSpi.java,
7461         javax/imageio/spi/ImageTranscoderSpi.java,
7462         javax/imageio/spi/RegisterableService.java,
7463         javax/imageio/spi/ServiceRegistry.java,
7464         javax/imageio/stream/IIOByteBuffer.java,
7465         javax/imageio/stream/ImageInputStream.java and
7466         javax/imageio/stream/ImageOutputStream.java.
7467         * Makefile.in: Regenerated.
7469 2004-04-21  Michael Koch  <konqueror@gmx.de>
7471         * java/util/Properties.java
7472         (load): Fix wrongly merged fix.
7474 2004-04-21  Mark Wielaard  <mark@klomp.org>
7476         * native/jni/gtk-peer/gthread-jni.c (maybe_rethrow): Explicitly
7477         malloc and free buf.
7479 2004-04-21  Dalibor Topic  <robilad@kaffe.org>
7481         * javax/naming/AuthenticationException.java,
7482         javax/naming/AuthenticationNotSupportedException.java,
7483         javax/naming/CannotProceedException.java,
7484         javax/naming/CommunicationException.java,
7485         javax/naming/CompoundName.java,
7486         javax/naming/ConfigurationException.java,
7487         javax/naming/ContextNotEmptyException.java,
7488         javax/naming/InitialContext.java,
7489         javax/naming/InsufficientResourcesException.java,
7490         javax/naming/InterruptedNamingException.java,
7491         javax/naming/LimitExceededException.java,
7492         javax/naming/LinkException.java,
7493         javax/naming/LinkLoopException.java,
7494         javax/naming/LinkRef.java,
7495         javax/naming/MalformedLinkException.java,
7496         javax/naming/Name.java,
7497         javax/naming/NameAlreadyBoundException.java,
7498         javax/naming/NameNotFoundException.java,
7499         javax/naming/NamingSecurityException.java,
7500         javax/naming/NoInitialContextException.java,
7501         javax/naming/NoPermissionException.java,
7502         javax/naming/NotContextException.java,
7503         javax/naming/PartialResultException.java,
7504         javax/naming/ReferralException.java,
7505         javax/naming/ServiceUnavailableException.java,
7506         javax/naming/SizeLimitExceededException.java,
7507         javax/naming/TimeLimitExceededException.java,
7508         javax/naming/directory/Attribute.java,
7509         javax/naming/directory/Attributes.java,
7510         javax/naming/directory/SearchResult.java,
7511         javax/naming/event/NamingExceptionEvent.java,
7512         javax/naming/spi/ResolveResult.java:
7513         Cleaned up imports.
7515 2004-04-21  Mark Wielaard  <mark@klomp.org>
7517         * native/jni/gtk-peer/gnu_java_awt_peer_gtk_GtkCheckboxPeer.c:
7518         Changed C++ comments into C comments. Removed commented out code.
7519         * native/jni/gtk-peer/gnu_java_awt_peer_gtk_GtkComponentPeer.c:
7520         Likewise.
7521         * native/jni/gtk-peer/gnu_java_awt_peer_gtk_GtkEvents.c:
7522         Likewise.
7523         * native/jni/gtk-peer/gnu_java_awt_peer_gtk_GtkFileDialogPeer.c:
7524         Likewise.
7525         * native/jni/gtk-peer/gnu_java_awt_peer_gtk_GtkListPeer.c:
7526         Likewise.
7527         * native/jni/gtk-peer/gnu_java_awt_peer_gtk_GtkTextComponentPeer.c:
7528         Likewise.
7529         * native/jni/gtk-peer/gthread-jni.c:
7530         Likewise.
7532 2004-04-21  Mark Wielaard  <mark@klomp.org>
7534         * javax/awt/JFrame.java: Implement WindowConstants. Remove final
7535         static fields defined in interface.
7536         * javax/awt/JDialog.java: Likewise.
7537         (JDialog): Make constructors public.
7538         (getDefaultCloseOperation): Make public.
7539         (processWindowEvent): Call System.exit(0) when EXIT_ON_CLOSE set.
7540         (setDefaultCloseOperation): Make public. Check argument. Add API doc.
7541         * javax/swing/JViewport.java (JViewport): Make constructor public.
7543 2004-04-21  Michael Koch  <konqueror@gmx.de>
7545         * java/util/Map.java
7546         (Entry): Removed redundant "static" modifier.
7547         * java/text/AttributedCharacterIterator.java:
7548         Updated copyright year.
7550 2004-04-20  Michael Koch  <konqueror@gmx.de>
7552         * javax/naming/directory/SearchControls.java:
7553         Don't explicitely extend java.lang.Object.
7554         * javax/naming/spi/DirStateFactory.java:
7555         Merged copyright year with GNU classpath.
7557 2004-04-20  Michael Koch  <konqueror@gmx.de>
7559         * java/nio/channels/Channels.java:
7560         Merged coding style with GNU classpath.
7562 2004-04-20  Michael Koch  <konqueror@gmx.de>
7564         * java/net/ServerSocket.java
7565         Merged coding style from GNU classpath.
7567 2004-04-20  Michael Koch  <konqueror@gmx.de>
7569         * java/io/BufferedWriter.java:
7570         Reordered variables to be at top of the class.
7571         (localFlush): Removed redundant final keyword.
7573 2004-04-20  Ingo Proetel  <proetel@aicas.com>
7575         * java/awt/event/MouseEvent.java (<init>): fixed field assignment 
7577 2004-04-20  Jeroen Frijters  <jeroen@frijters.net>
7579         * java/text/DecimalFormat.java (scanFix): Removed suffix check
7580         for percent and permill check.
7582 2004-04-20  Guilhem Lavaux <guilhem@kaffe.org>
7584         * java/text/FieldPosition.java
7585         (FieldPosition) Constructor now behaves as it should according
7586         to the java documentation.
7588 2004-04-20  Mark Wielaard  <mark@klomp.org>
7590         * java/util/Properties.java: Use the word umlaut, not &auml; in api
7591         documentation.
7593 2004-04-20  Michael Koch  <konqueror@gmx.de>
7595         * java/nio/Buffer.java,
7596         java/nio/channels/AlreadyConnectedException.java,
7597         java/nio/channels/AsynchronousCloseException.java,
7598         java/nio/channels/ByteChannel.java,
7599         java/nio/channels/CancelledKeyException.java,
7600         java/nio/channels/Channel.java,
7601         java/nio/channels/Channels.java,
7602         java/nio/channels/ClosedByInterruptException.java,
7603         java/nio/channels/ClosedChannelException.java,
7604         java/nio/channels/ClosedSelectorException.java,
7605         java/nio/channels/ConnectionPendingException.java,
7606         java/nio/channels/DatagramChannel.java,
7607         java/nio/channels/FileChannel.java,
7608         java/nio/channels/FileLock.java,
7609         java/nio/channels/FileLockInterruptionException.java,
7610         java/nio/channels/GatheringByteChannel.java,
7611         java/nio/channels/IllegalBlockingModeException.java,
7612         java/nio/channels/IllegalSelectorException.java,
7613         java/nio/channels/InterruptibleChannel.java,
7614         java/nio/channels/NoConnectionPendingException.java,
7615         java/nio/channels/NonReadableChannelException.java,
7616         java/nio/channels/NonWritableChannelException.java,
7617         java/nio/channels/NotYetBoundException.java,
7618         java/nio/channels/NotYetConnectedException.java,
7619         java/nio/channels/OverlappingFileLockException.java,
7620         java/nio/channels/Pipe.java,
7621         java/nio/channels/ReadableByteChannel.java,
7622         java/nio/channels/ScatteringByteChannel.java,
7623         java/nio/channels/SelectableChannel.java,
7624         java/nio/channels/SelectionKey.java,
7625         java/nio/channels/Selector.java,
7626         java/nio/channels/ServerSocketChannel.java,
7627         java/nio/channels/SocketChannel.java,
7628         java/nio/channels/UnresolvedAddressException.java,
7629         java/nio/channels/UnsupportedAddressTypeException.java,
7630         java/nio/channels/WritableByteChannel.java,
7631         java/nio/channels/spi/AbstractInterruptibleChannel.java,
7632         java/nio/channels/spi/AbstractSelectableChannel.java,
7633         java/nio/channels/spi/AbstractSelectionKey.java,
7634         java/nio/channels/spi/AbstractSelector.java,
7635         java/nio/channels/spi/SelectorProvider.java,
7636         java/nio/charset/spi/CharsetProvider.java:
7637         Fixed javadocs and jalopied all over java.nio.
7639 2004-04-20  Michael Koch  <konqueror@gmx.de>
7641         * java/nio/ByteBufferImpl.java,
7642         java/nio/CharBufferImpl.java,
7643         java/nio/DirectByteBufferImpl.java,
7644         java/nio/DoubleBufferImpl.java,
7645         java/nio/DoubleViewBufferImpl.java,
7646         java/nio/FloatBufferImpl.java,
7647         java/nio/FloatViewBufferImpl.java,
7648         java/nio/IntBufferImpl.java,
7649         java/nio/IntViewBufferImpl.java,
7650         java/nio/LongBufferImpl.java,
7651         java/nio/LongViewBufferImpl.java,
7652         java/nio/MappedByteBufferImpl.java,
7653         java/nio/ShortBufferImpl.java,
7654         java/nio/ShortViewBufferImpl.java:
7655         Made sure all classes are final and removed final keyword from all
7656         methods.
7658 2004-04-20  Michael Koch  <konqueror@gmx.de>
7660         * java/rmi/MarshalledObject.java,
7661         java/rmi/Naming.java,
7662         java/rmi/RemoteException.java,
7663         java/rmi/activation/ActivationException.java,
7664         java/rmi/server/ServerCloneException.java,
7665         java/security/AccessController.java,
7666         java/security/AlgorithmParameterGenerator.java,
7667         java/security/AlgorithmParameters.java,
7668         java/security/CodeSource.java,
7669         java/security/Identity.java,
7670         java/security/IdentityScope.java,
7671         java/security/KeyPairGenerator.java,
7672         java/security/KeyStore.java,
7673         java/security/Security.java,
7674         java/security/Signature.java,
7675         java/security/SignatureSpi.java,
7676         java/security/SignedObject.java,
7677         java/security/spec/DSAParameterSpec.java,
7678         java/security/spec/DSAPrivateKeySpec.java,
7679         java/security/spec/DSAPublicKeySpec.java,
7680         java/sql/Array.java,
7681         java/sql/DatabaseMetaData.java,
7682         java/sql/ResultSet.java,
7683         java/text/ChoiceFormat.java,
7684         java/text/CollationElementIterator.java,
7685         java/text/CollationKey.java,
7686         java/text/Collator.java,
7687         java/text/DateFormat.java,
7688         java/text/DateFormatSymbols.java,
7689         java/text/DecimalFormatSymbols.java,
7690         java/text/Format.java,
7691         java/text/ParsePosition.java,
7692         java/text/RuleBasedCollator.java,
7693         java/text/SimpleDateFormat.java,
7694         java/text/StringCharacterIterator.java,
7695         java/util/Collections.java,
7696         java/util/PropertyResourceBundle.java,
7697         java/util/ResourceBundle.java,
7698         java/util/StringTokenizer.java,
7699         java/util/jar/Attributes.java,
7700         java/util/logging/ConsoleHandler.java,
7701         java/util/logging/LogManager.java,
7702         java/util/logging/MemoryHandler.java,
7703         java/util/logging/SocketHandler.java,
7704         javax/naming/NamingException.java:
7705         Fixed javadoc, coding style and argument names all over.
7707 2004-04-20  Jeroen Frijters  <jeroen@frijters.net>
7709         * java/io/FileDescriptor.java: (FileDescriptor) Added public
7710         constructor. (valid) Added null check.
7712 2004-04-20  Guilhem Lavaux <guilhem@kaffe.org>
7714         Reported by Nektarios Papadopoulos <npapadop@inaccessnetworks.com>
7715         * java/io/FileOutputStream.java
7716         (FileOutputStream) Reorganized constructors. Constructors now
7717         check whether the given path is directory.
7719 2004-04-20  Michael Koch  <konqueror@gmx.de>
7721         * java/net/Authenticator.java,
7722         java/net/BindException.java,
7723         java/net/ConnectException.java,
7724         java/net/ContentHandler.java,
7725         java/net/ContentHandlerFactory.java,
7726         java/net/DatagramPacket.java,
7727         java/net/DatagramSocket.java,
7728         java/net/DatagramSocketImpl.java,
7729         java/net/DatagramSocketImplFactory.java,
7730         java/net/FileNameMap.java,
7731         java/net/HttpURLConnection.java,
7732         java/net/Inet4Address.java,
7733         java/net/Inet6Address.java,
7734         java/net/InetAddress.java,
7735         java/net/InetSocketAddress.java,
7736         java/net/JarURLConnection.java,
7737         java/net/MalformedURLException.java,
7738         java/net/MulticastSocket.java,
7739         java/net/NetPermission.java,
7740         java/net/NetworkInterface.java,
7741         java/net/NoRouteToHostException.java,
7742         java/net/PasswordAuthentication.java,
7743         java/net/PortUnreachableException.java,
7744         java/net/ProtocolException.java,
7745         java/net/ServerSocket.java,
7746         java/net/Socket.java,
7747         java/net/SocketAddress.java,
7748         java/net/SocketException.java,
7749         java/net/SocketImpl.java,
7750         java/net/SocketImplFactory.java,
7751         java/net/SocketOptions.java,
7752         java/net/SocketPermission.java,
7753         java/net/SocketTimeoutException.java,
7754         java/net/URI.java,
7755         java/net/URISyntaxException.java,
7756         java/net/URL.java,
7757         java/net/URLClassLoader.java,
7758         java/net/URLConnection.java,
7759         java/net/URLDecoder.java,
7760         java/net/URLEncoder.java,
7761         java/net/URLStreamHandler.java,
7762         java/net/URLStreamHandlerFactory.java,
7763         java/net/UnknownHostException.java,
7764         java/net/UnknownServiceException.java:
7765         Fixed javadocs, coding style and argument names all over.
7767 2004-04-20  Michael Koch  <konqueror@gmx.de>
7769         * java/lang/Byte.java,
7770         java/lang/CharSequence.java,
7771         java/lang/ClassLoader.java,
7772         java/lang/Compiler.java,
7773         java/lang/Double.java,
7774         java/lang/Float.java,
7775         java/lang/Integer.java,
7776         java/lang/Long.java,
7777         java/lang/Math.java,
7778         java/lang/Number.java,
7779         java/lang/Package.java,
7780         java/lang/Runtime.java,
7781         java/lang/RuntimePermission.java,
7782         java/lang/SecurityManager.java,
7783         java/lang/Short.java,
7784         java/lang/StringBuffer.java,
7785         java/lang/System.java,
7786         java/lang/ThreadGroup.java,
7787         java/lang/Throwable.java,
7788         java/lang/reflect/InvocationHandler.java,
7789         java/lang/reflect/Proxy.java:
7790         Fixed javadocs, coding style and argument names all over.
7792 2004-04-20  Michael Koch  <konqueror@gmx.de>
7794         * java/io/BufferedWriter.java,
7795         java/io/ByteArrayInputStream.java,
7796         java/io/CharArrayWriter.java,
7797         java/io/DataInput.java,
7798         java/io/DataInputStream.java,
7799         java/io/File.java,
7800         java/io/FilterInputStream.java,
7801         java/io/InputStream.java,
7802         java/io/InputStreamReader.java,
7803         java/io/ObjectInputStream.java,
7804         java/io/ObjectStreamClass.java,
7805         java/io/PipedInputStream.java,
7806         java/io/PipedReader.java,
7807         java/io/PushbackInputStream.java,
7808         java/io/PushbackReader.java,
7809         java/io/RandomAccessFile.java,
7810         java/io/SerializablePermission.java,
7811         java/io/StreamTokenizer.java,
7812         java/io/StringWriter.java,
7813         java/io/WriteAbortedException.java,
7814         java/io/Writer.java:
7815         Fixed javadocs all over, rename arguments to match javadocs,
7816         fixed coding style.
7818 2004-04-20  Ingo Proetel  <proetel@aicas.com>
7820         * java/awt/FontMetrics.java:
7821         (charsWidth): fixed accumulation of total_width
7822         (getWidth): simple default implementation
7823         * java/awt/Polygon.java (getBoundingBox): Use correct y-coordinate
7824         in Rectangle constructor.
7825         * java/awt/image/Raster.java (toString): Added method. 
7826         * java/awt/image/SampleModel.java (<init>): Added error cause
7827         information to thrown exception.
7828         * java/awt/image/SinglePixelPackedSampleModel.java (getDataElements):
7829         New method.
7830         (setDataElements): New method.
7831         (setPixels): New method.
7832         (toString): New method.
7834 2004-04-20  Sascha Brawer  <brawer@dandelis.ch>
7836         * java/awt/image/ComponentColorModel.java
7837         (createCompatibleSampleModel): Return PixelInterleavedSampleModel
7838         for TYPE_BYTE and TYPE_USHORT transferTypes, in order to pass the
7839         Mauve tests on this method. Improved documentation.
7841 2004-04-20  Michael Koch  <konqueror@gmx.de>
7843         * javax/swing/JLayeredPane.java,
7844         javax/swing/plaf/BorderUIResource.java,
7845         javax/swing/plaf/ComponentUI.java,
7846         javax/swing/undo/CompoundEdit.java,
7847         javax/swing/undo/StateEdit.java:
7848         Fixed HTML tags in javadocs all over.
7850 2004-04-20  Michael Koch  <konqueror@gmx.de>
7852         * javax/print/attribute/EnumSyntax.java
7853         (getOffset): Made protected.
7854         * javax/print/attribute/HashAttributeSet.java
7855         (HashAttributeSet): Likewise.
7856         * javax/print/attribute/ResolutionSyntax.java
7857         (getFeedResolution): Fixed typo in exception name.
7858         (getCrossFeedResolution): Likewise.
7859         * javax/print/attribute/SetOfIntegerSyntax.java
7860         (SetOfIntegerSyntax): Fixed HTML entities in javadoc.
7861         * javax/print/attribute/TextSyntax.java
7862         (TextSyntax): Handle locale correctly.
7863         (hashCode): Calc better hashcode value.
7864         (equals): Fixed @return tag.
7865         (toString): New method.
7867 2004-04-20  Michael Koch  <konqueror@gmx.de>
7869         * gnu/java/nio/FileLockImpl.java
7870         (static): Removed, not needed anymore.
7871         * gnu/java/nio/channels/FileChannelImpl.java
7872         (FileChannelImpl): Made final.
7873         (mode): Made private.
7874         (READ, WRITE, APPEND): Made public.
7875         (EXCL, SYNC, DSYNC): Likewise.
7876         (static): Load native JNI library, when needed.
7877         (length): Unused, removed.
7878         (available): Made public.
7879         (implPosition): Throws IOException.
7880         (seek): Likewise.
7881         (implTruncate): Likewise.
7882         (unlock): Likewise.
7883         (lock): Likewise.
7885 2004-04-20  Michael Koch  <konqueror@gmx.de>
7887         * java/awt/AWTPermission.java,
7888         java/awt/Component.java,
7889         java/awt/ComponentOrientation.java,,
7890         java/awt/Dialog.java,
7891         java/awt/FontMetrics.java,
7892         java/awt/Graphics.java,
7893         java/awt/datatransfer/DataFlavor.java,
7894         java/beans/Introspector.java,
7895         java/beans/PropertyEditor.java,
7896         java/beans/PropertyEditorManager.java,
7897         java/beans/beancontext/BeanContextServiceProvider.java:
7898         Fixed HTML tags in javadocs all over.
7900 2004-04-20  Mark Wielaard  <mark@klomp.org>
7902         * gnu/java/awt/peer/gtk/GtkFontPeer.java: Use fallback when
7903         MissingResourceException is thrown.
7904         * gnu/java/awt/peer/gtk/GtkToolkit.java (getFontPeer): Don't return
7905         null when a MissingResourceException is thrown. Should never happen.
7907 2004-04-20  Sascha Brawer  <brawer@dandelis.ch>
7909         * java/awt/image/DataBufferShort.java,
7910         java/awt/image/DataBufferFloat.java,
7911         java/awt/image/DataBufferDouble.java,
7912         java/awt/image/PixelInterleavedSampleModel.java: New files.
7913         * gnu/java/awt/Buffers.java (createBuffer, createBufferFromData,
7914         getData): Added support for TYPE_SHORT, TYPE_FLOAT and TYPE_DOUBLE.
7916 2004-04-20  Michael Koch  <konqueror@gmx.de>
7918         * Makefile.am (java_source_files): Added
7919         java/awt/image/DataBufferDouble.java,
7920         java/awt/image/DataBufferFloat.java,
7921         java/awt/image/DataBufferShort.java and
7922         java/awt/image/PixelInterleavedSampleModel.java.
7923         * Makefile.in: Regenerated.
7925 2004-04-19  Bryce McKinlay  <mckinlay@redhat.com>
7927         * gcj/cni.h (JvAllocObject): Remove these obsolete, 
7928         undocumented CNI calls.
7929         * include/java-interp.h (_Jv_InterpClass): No longer
7930         extends java.lang.Class.
7931         * java/lang/Class.h (Class): Add new field `aux_info'.
7932         * boehm.cc (_Jv_MarkObj): Update java.lang.Class marking.
7933         * defineclass.cc: Remove Class<->_Jv_InterpClass casts.
7934         Use Class->aux_info instead.
7935         * jni.cc (_Jv_JNI_AllocObject): Use _Jv_AllocObject.
7936         * resolve.cc: Remove Class<->_Jv_InterpClass casts.
7937         Use Class->aux_info instead.
7938         * java/io/natObjectInputStream.cc (allocateObject): Use
7939         _Jv_AllocObject.
7940         * java/lang/natClass.cc (newInstance): Likewise.
7941         * java/lang/natClassLoader.cc (_Jv_NewClass): Likewise.
7942         * java/lang/natObject.cc (clone): Likewise.
7943         * java/lang/reflect/natMethod.cc (_Jv_CallAnyMethodA): Likewise.
7944         * java/lang/natVMClassLoader.cc (defineClass): Don't use
7945         JvAllocObject. Allocate klass->aux_info here for interpreted
7946         class.
7947         
7948 2004-04-17  Mark Wielaard  <mark@klomp.org>
7950         * javax/swing/JToggleButton.java (ToggleButtonModel):
7951         Make public static inner class.
7952         * javax/swing/JTabbedPane.java (setComponentAt):
7953         Call Page.setComponent().
7954         (SCROLL_TAB_LAYOUT): Make public, value is 1.
7955         (WRAP_TAB_LAYOUT): Make public, value is 0.
7956         * javax/swing/plaf/basic/BasicTabbedPaneUI.java (ScrollingButton):
7957         Make private static inner class.
7959 2004-04-16  Bryce McKinlay  <mckinlay@redhat.com>
7961         * interpret.cc (_Jv_InterpMethod::run): Update _Jv_AllocObject
7962         arguments to match new signature. Remove FIXME comments.
7964 2004-04-09  Thomas Fitzsimmons  <fitzsim@redhat.com>
7966         * gnu/java/awt/peer/gtk/GtkPanelPeer.java (connectSignals):
7967         Remove method.
7968         * jni/gtk-peer/gnu_java_awt_peer_gtk_GtkPanelPeer.c: Remove
7969         unused code.
7971 2004-04-02  Olga Rodimina  <rodimina@redhat.com>
7973         * Makefile.am: Added new file.
7974         * Makefile.in: Regenerate.
7975         * javax/swing/ImageIcon.java: 
7976         (ImageIcon(file)): set description of the icon 
7977         to the file name
7978         * javax/swing/JCheckBoxMenuItem.java:
7979         Mostly Implemented. Work in progress.
7980         * javax/swing/JRadioButtonMenuItem.java:
7981         Reimplement constructors to use JToggleButtonModel.
7982         * javax/swing/plaf/basic/BasicIconFactory.java:
7983         (getCheckBoxMenuItemIcon): return check box
7984         icon.
7985         * javax/swing/plaf/basic/BasicMenuItemUI.java:
7986         paint menu item selected only when it is armed and 
7987         pressed. 
7989 2004-04-02  David Jee  <djee@redhat.com>
7991         * gnu/java/awt/peer/gtk/GtkMenuItemPeer.java
7992         (GtkMenuItemPeer): Only connect signals if this isn't a Menu peer.
7993         * java/awt/Component.java
7994         (add): Set the parent of the popup as this component.
7995         * java/awt/PopupMenu.java
7996         (addNotify): Create popup menu when peer is null.
7997         (show): Call addNotify() if peer is null.
7998         * jni/gtk-peer/gnu_java_awt_peer_gtk_GtkPopupMenuPeer.c
7999         (Java_gnu_java_awt_peer_gtk_GtkPopupMenuPeer_show): Set the button
8000         argument for gtk_menu_popup() as zero. This causes the popup menu to
8001         respond to any mouse button.
8003 2004-03-31  Olga Rodimina  <rodimina@redhat.com>
8005         * Makefile.am: Added new file.
8006         * Makefile.in: Regenerate.
8007         * javax/swing/JRadioButtonMenuItem.java:
8008         Implemented.
8009         * javax/swing/plaf/basic/BasicIconFactory.java:
8010         (getRadioButtonMenuItemIcon): Return
8011         radio button icon.
8012         * javax/swing/plaf/basic/BasicMenuItemUI.java:
8013         (getPreferredSize): Add size of checkIcon if it
8014         exists.
8015         (installDefaults): Don't initialize checkIcon.
8016         It's value will be set in subclasses. 
8017         (uninstallDefaults): remove uninstallation of 
8018         checkIcon.
8019         (paint): Moved code to paintMenuItem().
8020         (paintMenuItem): Implemented.
8021         * javax/swing/plaf/basic/BasicRadioButtonMenuItemUI.java:
8022         UI delegate for JRadioButtonMenuItem.
8023         
8024 2004-03-29  Olga Rodimina  <rodimina@redhat.com>
8026         * javax/swing/plaf/basic/BasicMenuItemUI.java:
8027         Corrected position of the accelerator.
8029 2004-03-29  Olga Rodimina  <rodimina@redhat.com>
8031         * Makefile.am: Added new file. 
8032         * Makefile.in: Regenerate.
8033         * javax/swing/JMenuItem.java: Partly 
8034         implemented. Work in progress
8035         * javax/swing/plaf/basic/BasicLookAndFeel.java:
8036         Changed default value of acceleratorDelimiter.
8037         * javax/swing/plaf/basic/BasicMenuItemUI.java:
8038         New class. Partly implemented.
8039                 
8040 2004-03-26  Mark Wielaard  <mark@klomp.org>
8042         * native/jni/gtk-peer/gnu_java_awt_peer_gtk_GtkChoicePeer.c
8043         (item_activate): Declare label before use.
8044         * native/jni/gtk-peer/gnu_java_awt_peer_gtk_GtkComponentPeer.c
8045         (gtkSetFont): Removed unused variable label.
8046         (addExposeFilter): Declare variables before use.
8047         (removeExposeFilter): Likewise.
8048         * native/jni/gtk-peer/gnu_java_awt_peer_gtk_GtkFileDialogPeer.c
8049         (ok_clicked): Declare str_fileName before use.
8051 2004-03-26  David Jee  <djee@redhat.com>
8053         * gnu/java/awt/peer/gtk/GtkMenuPeer.java
8054         (addSeparator): Remove.
8055         * java/awt/Menu.java
8056         (separator): Remove static final MenuItem field.
8057         (separatorLabel): New static final String field.
8058         (addSeparator): Do not use peer method; use add(MenuItem) instead.
8059         Use separatorLabel to denote that it is a separator.
8060         (insertSeparator): Create a new MenuItem with separatorLabel, instead
8061         of reusing the static separator instance, because a MenuItem instance
8062         can't be added more than once without being cloned.
8063         * java/awt/peer/MenuPeer.java
8064         (addSeparator): Remove from interface.
8066 2004-03-26  David Jee  <djee@redhat.com>
8068         * gnu/java/awt/peer/gtk/GtkMenuItemPeer.java
8069         (connectSignals): New native method declaration.
8070         (GtkMenuItemPeer): Connect signals if the parent is a Menu.
8071         * java/awt/MenuItem.java
8072         (getActionCommand): Return the label if the action command is not set.
8073         * jni/gtk-peer/gnu_java_awt_peer_gtk_GtkMenuBarPeer.c
8074         (Java_gnu_java_awt_peer_gtk_GtkMenuBarPeer_addMenu): Use
8075         gtk_menu_shell_append().
8076         * jni/gtk-peer/gnu_java_awt_peer_gtk_GtkMenuItemPeer.c
8077         (item_activate): Fix argument type.
8078         (Java_gnu_java_awt_peer_gtk_GtkMenuItemPeer_create): Do not connect
8079         signal here.
8080         (Java_gnu_java_awt_peer_gtk_GtkMenuItemPeer_connectSignals): New
8081         method.
8082         * jni/gtk-peer/gnu_java_awt_peer_gtk_GtkMenuPeer.c
8083         (Java_gnu_java_awt_peer_gtk_GtkMenuPeer_create): Check if a label is
8084         given. Add the menu widget's top-level GtkWindow to the global window
8085         group, so it can grab the pointer.
8086         (Java_gnu_java_awt_peer_gtk_GtkMenuPeer_addItem): Use
8087         gtk_menu_shell_append().
8089 2004-03-23  Graydon Hoare  <graydon@redhat.com>
8091         * java/text/AttributedString.java 
8092         (addAttribute): Fix off-by-one.
8093         (getIterator): Likewise.        
8094         * java/text/AttributedStringIterator.java 
8095         (getRunLimit): Correct logic.
8096         (getRunStart): Likewise.
8097         (getAttribute): Fix inequality.
8098         (getAttributes): Likewise.
8099         * testsuite/libjava.mauve/xfails: Remove AttributedString xfail.
8101 2004-03-23  Kim Ho  <kho@redhat.com>
8103         * javax/swing/plaf/basic/BasicTabbedPaneUI.java:
8104         (calculateSizes): Return real width and height.
8106 2004-03-23  Kim Ho  <kho@redhat.com>
8108         * javax/swing/plaf/basic/BasicTabbedPaneUI.java
8109         (calculateTabRects): Set the selectedRun before
8110         trying to rotate tabs.
8112 2004-03-23  Kim Ho  <kho@redhat.com>
8114         * Makefile.am: New file
8115         * Makefile.in: Regenerate
8116         * java/awt/Graphics.java: (drawRect):
8117         Draw to the correct point.
8118         * javax/swing/DefaultSingleSelectionModel.java
8119         (isSelected): Return true if the selected index
8120         is not -1.
8121         * javax/swing/JLabel.java: Do not change mnemonic
8122         index if text is null.
8123         * javax/swing/JProgressBar.java: Use JComponent's
8124         EventListenerList.
8125         * javax/swing/JScrollBar.java: Ditto.
8126         * javax/swing/JSlider.java: Ditto.
8127         * javax/swing/JTabbedPane.java: Reimplement.
8128         * javax/swing/plaf/basic/BasicLookAndFeel.java:
8129         Add defaults for TabbedPane.
8130         * javax/swing/plaf/basic/BasicArrowButton.java:
8131         Implement
8132         * javax/swing/plaf/basic/BasicProgressBarUI.java:
8133         (paintDeterminate): Don't paint String if it's
8134         empty.
8135         (paintIndeterminate): ditto.
8136         * javax/swing/plaf/basic/BasicTabbedPaneUI.java:
8137         Reimplement.
8139 2004-03-19  Michael Koch  <konqueror@gmx.de>
8141         * java/awt/image/AffineTransformOp.java
8142         (AffineTransformOp): Made public.
8143         * javax/swing/JComponent.java
8144         (listenerList): Made protected.
8145         (accessibleContext): Likewise.
8146         * javax/swing/JList.java
8147         (valueChanged): Dont use internal fields of ListSelectionEvent.
8148         * javax/swing/JViewport.java
8149         (getView): Dont use internal fields of Component.
8150         (addImpl): Likewise.
8151         * javax/swing/Timer.java
8152         (isRunning): Made public.
8153         (start): Likewise.
8154         (stop): Likewise.
8155         * javax/swing/UIDefaults.java
8156         (getInt): Made public.
8157         * javax/swing/plaf/basic/BasicListUI.java
8158         (mousePressed): Dont use internal fields of MouseEvent.
8159         (propertyChanged): Dont use internal fields of PropertyChangeEvent.
8160         * javax/swing/plaf/basic/BasicScrollBarUI.java
8161         (arrowIcon): Made static.
8162         * javax/swing/plaf/basic/BasicViewportUI.java
8163         (stateChanged): Dont use internal field on ChangeEvent.
8164         * javax/swing/text/JTextComponent.java
8165         (getUI): Call UIManager.getUI().
8166         (updateUI): Use getUI().
8168 2004-03-19  Graydon Hoare  <graydon@redhat.com>
8170         * javax/swing/JComponent.java: Turn off double buffer by default.
8171         * javax/swing/plaf/basic/BasicViewportUI.java: Clear rects before painting.
8172         * jni/gtk-peer/gnu_java_awt_peer_gtk_GdkGraphics2D.c
8173         (Java_gnu_java_awt_peer_gtk_GdkGraphics2D_gdkDrawDrawable): 
8174         Use cairo to copy areas.
8175         (Java_gnu_java_awt_peer_gtk_GdkGraphics2D_cairoClip):
8176         Initialize and set clip region.
8178 2004-03-15  Thomas Fitzsimmons  <fitzsim@redhat.com>
8180         * java/applet/Applet.java (preferredSize): Override deprecated
8181         variant of getPreferredSize.
8182         (minimumSize): Override deprecated variant of getMinimumSize.
8184 2004-03-15  Olga Rodimina  <rodimina@redhat.com>
8186         * gnu/java/awt/peer/gtk/GdkGraphics2D.java
8187         (drawImage(img,xform,bgcolor,obs)): New Method.
8188         Helper function that every drawImage method will
8189         use.
8190         (drawRaster): Added new parameter, bgcolor. All
8191         transparent pixels are changed to bgcolor before 
8192         image is drawn.
8193         (drawRenderedImage): Fixed to use changed drawRaster().
8194         (drawImage(image,xform,obs): Fixed to use new helper function 
8195         (drawImage(image,op,x,y)): Ditto.
8196         (drawImage (img,x,y,observer)): Ditto.
8197         ((PainterThread) bgcolor): New Field.
8198         ((PainterThread) (setPixels)): Changed all transparent pixels 
8199         to bgcolor.     
8200         (drawImage(img,x,y,width,height,bgcolor,observer)): 
8201         Fixed FIXME - all the transparent pixels are 
8202         changed to the specified bgcolor. 
8203         (drawImage(img, x, y, width, height, observer): Changed to 
8204         use function above.
8205         (drawImage (img,dx1,dy1,dx2,dy2,sx1,sy1,sx2,sy2,bgcolor,observer)): 
8206         Fixed FIXME- changed all transparent pixels to bgcolor.
8207         (drawImage (img, dx1, dy1, dx2, dy2, sx1, sy1, sx2, sy2, observer)):
8208         Changed to use function above. 
8210 2004-03-14  Thomas Fitzsimmons  <fitzsim@redhat.com>
8212         * java/applet/Applet.java (dimensions): New field.
8213         (getDimensions): New method.
8214         (getPreferredSize): Call getDimensions.
8215         (getMinimumSize): Likewise.
8217 2004-03-13  Thomas Fitzsimmons  <fitzsim@redhat.com>
8219         * jni/classpath/jcl.c: Include stdlib.h, not malloc.h.
8220         * jni/classpath/jnilink.c: Likewise.
8222         * java/applet/Applet.java (getPreferredSize): New method.
8223         (getMinimumSize): New method.
8225 2004-04-15  Bryce McKinlay  <mckinlay@redhat.com>
8227         * prims.cc (_Jv_AllocObject): Remove `size' argument.
8228         (_Jv_AllocObjectNoFinalizer): Likewise.
8229         (_Jv_AllocObjectNoInitNoFinalizer): Likewise.
8230         (_Jv_AllocPtrFreeObject): Likewise.
8231         (_Jv_AllocString): Moved from natString.cc. Call collector interface
8232         directly even in the JVMPI case.        
8233         * gcj/cni.h (JvAllocObject): Remove `size' argument from 
8234         _Jv_AllocObject calls.
8235         * gcj/javaprims.h: Update prototypes.
8236         * gnu/gcj/natCore.cc (_Jv_create_core): Use `new', not _Jv_AllocObject.
8237         * java/lang/Class.h: Update _Jv_AllocObject friend prototype.
8238         * java/lang/natString.cc (_Jv_AllocString): Move to prims.cc.
8240 2004-04-14  Andrew Haley  <aph@redhat.com>
8241             Bryce McKinlay  <mckinlay@redhat.com>
8243         * java/lang/reflect/natMethod.cc (_Jv_CallAnyMethodA): Use
8244         _Jv_LookupInterfaceMethodIdx for calls to interfaces.
8245         * include/jvm.h (_Jv_CallAnyMethodA): Add new `iface' arg.
8247         * testsuite/libjava.lang/InvokeInterface.java: New file.
8248         * testsuite/libjava.lang/InvokeInterface.out: New file.
8250 2004-04-09  Ranjit Mathew  <rmathew@hotmail.com>
8251         
8252         * java/lang/VMThrowable.java (getStackTrace): Pass trace as-is to
8253         modified lookup().
8254         * gnu/gcj/runtime/NameFinder.java (lookup): Change to take in a
8255         StackTraceElement directly.
8256         (newElement): New native helper method to create StackTraceElement
8257         bypassing Java access control.
8258         (createStackTraceElement): Use newElement() instead of directly
8259         calling StackTraceElement's constructor.
8260         * gnu/gcj/runtime/natNameFinder.cc (newElement): New method.
8262 2004-04-01  Michael Koch  <konqueror@gmx.de>
8264         * java/lang/SecurityManager.java
8265         (checkAwtEventQueueAccess): Implemented.
8267 2004-04-01  Gary Benson  <gbenson@redhat.com>
8269         * resolve.cc (_Jv_ResolvePoolEntry): Put field name in exception.
8270         (_Jv_SearchMethodInClass): Likewise.
8272 2004-03-26  Peter Moon  <peterm@miraculum.com>
8274         * java/text/NumberFormat.java: Fix spelling of setCurrency
8275         method.
8277 2004-03-21  Anthony Green  <green@redhat.com>
8279         * java/lang/natClass.cc (getClassLoader): Circumvent infinite
8280         recursion when searching for the system ClassLoader.
8282 2004-03-21  Ito Kazumitsu <kaz@maczuka.gcd.org>
8284         * java/net/ServerSocket.java
8285         (accept): Close the socket when error occured.
8287 2004-03-21  Jeroen Frijters  <jeroen@frijters.net>
8289         * java/net/URI.java (parseURI): Added unquoting.
8290         (unquote): New method.
8291         (quoteAuthority): Implemented.
8292         (quote(String,String)): New method.
8293         (quotePath): Implemented.
8294         (getRawSchemeSpecificPart): Return new rawSchemeSpecificPart field.
8295         (getSchemeSpecificPart): Removed FIXME comment.
8296         (getRawAuthority): Return new rawAuthority field.
8297         (getAuthority): Removed FIXME comment.
8298         (getRawUserInfo): Return new rawUserInfo field.
8299         (getUserInfo): Removed FIXME comment.
8300         (getRawPath): Return new rawPath field.
8301         (getPath): Removed FIXME comment.
8302         (getRawQuery): Return new rawQuery field.
8303         (getQuery): Removed FIXME comment.
8304         (getRawFragment): Return new rawFragment field.
8305         (getFragment): Removed FIXME comment.
8307 2004-03-20  Michael Koch  <konqueror@gmx.de>
8309         * java/net/URLConnection.java: Merged copyright year with classpath.
8311 2004-03-20  Norbert Frese  <postfach@nfrese.net>
8313         * gnu/java/rmi/server/RMIIncomingThread.java: New file.
8314         * gcc/libjava/gnu/java/rmi/server/UnicastConnection.java:
8315         Create a new RMIObjectOuputStream/RMIObjectInputStream for every
8316         rmi-message.
8317         (getObjectInputStream): Return object reference, throw IOException if null.
8318         (startObjectInputStream): Create new RMIObjectInputStream on top of 'din'.
8319         (getObjectOutputStream): Return object reference, throw IOException if null.
8320         (startObjectOutputStream): Create new RMIObjectOutputStream on top of 'dout'.
8321         * gcc/libjava/gnu/java/rmi/server/UnicastConnectionManager.java:
8322         (UnicastConnectionManager): Throw RemoteException if port is not available.
8323         (getInstance): Throw RemoteException.
8324         (run): Lookup client host and attach it to new RMIIncomingThread for later retrieval.
8325         * gcc/libjava/gnu/java/rmi/server/UnicastRef.java:
8326         Start a new RMIObjectInputStream/RMIObjectOutputStream for every rmi-message.
8327         Collect Exceptions which are returned by a rmi-call and fix void returns.
8328         * gcc/libjava/gnu/java/rmi/server/UnicastRemoteCall.java:
8329         Start a new RMIObjectInputStream/RMIObjectOutputStream for every rmi-message.
8330         * gcc/libjava/gnu/java/rmi/server/UnicastServer.java:
8331         (dispatch): Answer ping messages which are sent by other java implementions.
8332         (incomingMessageCall): Start a new RMIObjectInputStream/RMIObjectOutputStream
8333         for every rmi-message and fix void return problems.
8334         * gcc/libjava/gnu/java/rmi/server/UnicastServerRef.java
8335         (UnicastServerRef): Throw RemoteException.
8336         (exportObject): Find the class up the class hierarchy which has a _Stub generated by rmic.
8337         In some situations it is necessary to export a subclass of the class which has the _Stub.
8338         For instance when the class with has the _Stub is abstract.
8339         (findStubSkelClass): New method which looks for the class which has the _Stub.
8340         (getClientHost): Implementated.
8341         * gcc/libjava/java/rmi/server/RemoteServer.java
8342         (getClientHost): Implementated.
8343         * gcc/libjava/Makefile.am (rmi_java_source_files):
8344         Added gnu/java/rmi/server/RMIIncomingThread.java.
8345         * Makefile.in: Regenerated.
8347 2004-03-20  Michael Koch  <konqueror@gmx.de>
8349         * java/net/InetAddress.java
8350         (getLocalHostname): Added javadoc.
8352 2004-03-19  Per Bothner  <per@bothner.com>
8354         * configure.in: FILE variable  overrides FLATFORM when linking
8355         natFileChannelXXX.cc.
8357         * gnu/java/nio/channels/natFileChannelEcos.cc (diag_write):  Restored.
8358         (write):  Call diag_write, as in old natFileDescriptorEcos.cc.
8360 2004-03-19  Per Bothner  <per@bothner.com>
8362         * gnu/gcj/convert/Input_UnicodeBig.java:  New class..
8363         * gnu/gcj/convert/Input_UnicodeLittle.java:  New class.
8364         * Makefile.am:  Update accordingly.
8365         * gnu/gcj/convert/IOConverter.java:  Define "utf-16le" and "utf16be"
8366         as aliases for UnicodeLittle and UnicodeBig.
8368 2004-03-20  Mark Wielaard  <mark@klomp.org>
8370         * native/jni/gtk-peer/gnu_java_awt_peer_gtk_GtkTextAreaPeer.c
8371         (Java_gnu_java_awt_peer_gtk_GtkTextAreaPeer_getVScrollbarWidth):
8372         Don't access ws when it is null.
8373         (Java_gnu_java_awt_peer_gtk_GtkTextAreaPeer_getHScrollbarHeight):
8374         Likewise.
8376 2004-03-19  Jeroen Frijters  <jeroen@frijters.net>
8378         * java/lang/ThreadGroup.java (list): Changed print to println.
8380 2004-03-19  Mark Wielaard  <mark@klomp.org>
8382         * java/io/BufferedReader.java: Use &lt;=, not &lt;&eq; to make gjdoc
8383         happy.
8385 2004-02-10  Randolph Chung  <tausq@debian.org>
8387         * configure.in: Build java for hppa target.
8388         * configure: Regenerate.
8389         * libjava/configure.host (hppa-*): Add target.
8390         * libjava/sysdeps/pa/lock.h: New file.
8392 2004-03-19  Mark Wielaard  <mark@klomp.org>
8394         Reported by Stephen Crawley
8395         * java/io/FilePermission.java (implies): Use String.length() -1 to
8396         access last char of String.
8398 2004-03-19  Michael Koch  <konqueror@gmx.de>
8400         * java/awt/image/AffineTransformOp.java
8401         (AffineTransformOp): Made public.
8402         * javax/swing/JComponent.java
8403         (listenerList): Made protected.
8404         (accessibleContext): Likewise.
8405         * javax/swing/JList.java
8406         (valueChanged): Dont use internal fields of ListSelectionEvent.
8407         * javax/swing/JViewport.java
8408         (getView): Dont use internal fields of Component.
8409         (addImpl): Likewise.
8410         * javax/swing/Timer.java
8411         (isRunning): Made public.
8412         (start): Likewise.
8413         (stop): Likewise.
8414         * javax/swing/UIDefaults.java
8415         (getInt): Made public.
8416         * javax/swing/plaf/basic/BasicListUI.java
8417         (mousePressed): Dont use internal fields of MouseEvent.
8418         (propertyChanged): Dont use internal fields of PropertyChangeEvent.
8419         * javax/swing/plaf/basic/BasicScrollBarUI.java
8420         (arrowIcon): Made static.
8421         * javax/swing/plaf/basic/BasicViewportUI.java
8422         (stateChanged): Dont use internal field on ChangeEvent.
8423         * javax/swing/text/JTextComponent.java
8424         (getUI): Call UIManager.getUI().
8425         (updateUI): Use getUI().
8427 2004-03-19  Rainer Orth  <ro@TechFak.Uni-Bielefeld.DE>
8429         * verify.cc: Undef PC.
8431 2004-03-18  Michael Koch  <konqueror@gmx.de>
8433         * java/nio/channels/spi/AbstractSelectableChannel.java
8434         (keys): Initialize at declaration.
8435         (locate): keys cant be null.
8436         (add): Removed.
8437         (addSelectionKey): New method.
8438         (removeSelectionKey): New method.
8439         * java/nio/channels/spi/AbstractSelectionKey.java
8440         (cancel): Call AbstractSelector.cancelKey(SelectionKey key).
8441         * java/nio/channels/spi/AbstractSelector.java
8442         (provider): Javadoc added.
8443         (cancelledKeys): Javadoc added.
8444         (cancelKey): Javadoc added, add key to cancelledKeys.
8445         (deregister): Implemented.
8447 2004-03-18  Rainer Orth  <ro@TechFak.Uni-Bielefeld.DE>
8449         * gnu/java/nio/channels/natFileChannelPosix.cc (mapImpl): Cast
8450         MAP_FAILED to void *.
8452 2004-03-12  Graydon Hoare  <graydon@redhat.com>
8454         * gnu/java/awt/peer/gtk/GdkGraphics2D.java: Clipping fixes.
8455         * javax/swing/JComponent.java (paint): Use persistent double buffer. 
8456         * javax/swing/JList.java (ListListener): Revalidate on changes.
8457         * javax/swing/JScrollPane.java: Reimplement.
8458         * javax/swing/JViewport.java: Reimplement.
8459         * javax/swing/ScrollPaneLayout.java: Reimplement.
8460         * javax/swing/ViewportLayout.java: Tidy up.
8461         * javax/swing/plaf/basic/BasicButtonListener.java: Remove printlns.
8462         * javax/swing/plaf/basic/BasicScrollPaneUI.java: Reimplement.
8463         * javax/swing/plaf/basic/BasicSliderUI.java: Handle missing labels.
8464         * javax/swing/plaf/basic/BasicViewportUI.java: Implement in terms of
8465         backing store only.
8467 2004-03-11  Thomas Fitzsimmons  <fitzsim@redhat.com>
8469         * jni/gtk-peer/gnu_java_awt_peer_gtk_GtkWindowPeer.c
8470         (window_wm_protocols_filter): New function.
8471         (window_focus_in_cb): Remove function.
8472         (window_focus_out_cb): Likewise.
8473         (window_focus_or_active_state_change_cb): New function.
8474         (create): Add filter that removes WM_TAKE_FOCUS client messages.
8475         (connectSignals): Don't attach handlers to focus-in-event or
8476         focus-out-event signals.  Handle notify signal.
8478 2004-03-11  David Jee  <djee@redhat.com>
8480         * gnu/java/awt/peer/gtk/GtkCheckboxPeer.java
8481         (gtkSetLabel): New native method declaration.
8482         (setLabel): Use gtkSetLabel.
8483         * jni/gtk-peer/gnu_java_awt_peer_gtk_GtkCheckboxPeer.c
8484         (Java_gnu_java_awt_peer_gtk_GtkCheckboxPeer_gtkSetLabel): New method.
8486 2004-03-10  Thomas Fitzsimmons  <fitzsim@redhat.com>
8488         * gnu/java/awt/peer/gtk/GdkGraphics.java (setColor): Default to
8489         black when color argument is null.
8491 2004-03-10  Kim Ho  <kho@redhat.com>
8493         * java/awt/Container.java: Remove check
8494         for drag events.
8496 2004-03-10  Kim Ho  <kho@redhat.com>
8498         * java/awt/Container.java: (visitChild):
8499         Remove candidate clip. Use the component
8500         clip to intersect.
8501         * gnu/java/awt/peer/gtk/GtkComponentPeer.java:
8502         (handleEvent): Use the PaintEvent's clip.
8504 2004-03-10  Kim Ho  <kho@redhat.com>
8506         * gnu/java/awt/peer/gtk/GtkComponentPeer.java:
8507         (handleEvent): Don't set the clip for the
8508         Graphics object.
8510 2004-03-09  Graydon Hoare  <graydon@redhat.com>
8512         * jni/gtk-peer/gnu_java_awt_peer_gtk_GdkGlyphVector.c: 
8513         Fix double <-> fixed macros, reset font transform.
8514         * jni/gtk-peer/gnu_java_awt_peer_gtk_GdkClasspathFontPeerMetrics.c:
8515         Likewise.
8517 2004-03-09  Kim Ho  <kho@redhat.com>
8519         * java/awt/Container.java: (visitChild): Move
8520         the x and y coordinate of the component rectangle
8521         to correct position.
8522         (handleEvent): Forward drag events to the pressed
8523         component.
8524         * javax/swing/plaf/basic/BasicScrollBarUI.java:
8525         Fix comments.
8526         (ArrowButtonListener::mousePressed): Stop the
8527         existing timer.
8528         (mouseDragged): Implement.
8529         (TrackListener::mousePressed): Only react if
8530         the press doesn't occur on the thumb, otherwise
8531         just set the offset.
8532         (TrackListener::mouseReleased): Unset the isAdjusting
8533         value.
8534         (createIncreaseIcon): Switch icon.
8535         (createDecreaseIcon): Switch icon.
8536         (calculatePreferredSize): Use width.
8537         (getThumbBounds): Use the top as the lower value.
8538         (layoutVScrollBar): Switch the button locations.
8539         (paintIncreaseHighlight): Paint correct side of thumb.
8540         (paintDecreaseHighlight): ditto.
8541         (valueForYPosition): Use top as the lower value.
8542         * javax/swing/plaf/basic/BasicSliderUI.java:
8543         Fix comments.
8544         (mouseDragged): Implement.
8545         (mousePressed): Only react when the thumb isn't
8546         pressed, otherwise just set offset.
8547         (mouseReleased): Handle a release of the thumb.
8548         (scrollDueToClickInTrack): Stop the timer first.
8549         * javax/swing/JProgressBar.java:
8550         (setString): Fix change condition.
8551         * javax/swing/JSeparator.java:
8552         Remove println's.
8554 2004-03-08  David Jee  <djee@redhat.com>
8556         * java/awt/image/AffineTransformOp.java:
8557         (filter): Use Graphics2D interface instead of directly using the
8558         GdkGraphics2D peer.
8560 2004-03-05  David Jee  <djee@redhat.com>
8562         * gnu/java/awt/peer/gtk/GtkButtonPeer.java
8563         (handleEvent): Action events are generated upon MOUSE_RELEASED.
8564         * java/awt/Container.java
8565         (acquireComponentForMouseEvent): Fixed.
8566         (handleEvent): Fixed.
8567         * jni/gtk-peer/gnu_java_awt_peer_gtk_GtkEvents.c
8568         (state_to_awt_mods_with_button_states): New method.
8569         (pre_event_handler): Fixed mouse event generation.
8571 2004-03-05  Olga Rodimina  <rodimina@redhat.com>
8573         gnu/java/awt/peer/gtk/GdkGraphics2D.java
8574         (GdkGraphics2D (BufferedImage)): Initialize
8575         pixmap associated with specified BufferedImage.
8576         (setPaint): Changed implementation of Texture
8577         Paint to use AffineTransformOp.
8578         * java/awt/image/AffineTransformOp.java
8579         (createCompatibleDestRaster): Throw RasterFormatException 
8580         if resulting width or height of raster is 0.
8582 2004-03-04  Olga Rodimina  <rodimina@redhat.com>
8584         * java/awt/image/AffineTransformOp.java:
8585         Removed unnecessary field interpolationType.
8586         Formatted some of the lines to be consistent with 
8587         the GNU style.
8588         (AffineTransformOp): Create new RenderingHints 
8589         containing specified interpolation type.
8590         (createCompatibleDestImage): Implemented.
8591         (createCompatibleDestRaster): Implemented.
8592         (filter): Implemented.
8593         (getBounds2D(BufferedImage)): Implemented.
8594         (getBounds2D(Raster)): Implemented.
8595         (getInterpolationType): Get interpolation value from 
8596         rendering hints.
8598 2004-03-04  David Jee  <djee@redhat.com>
8600         * gnu/java/awt/peer/gtk/GtkContainerPeer.java
8601         (setFont): Check if child peers are null.
8603 2004-03-04  Graydon Hoare  <graydon@redhat.com>
8605         * testsuite/lib/libjava.exp (libjava_find_lib): Don't include
8606         .libs in -L option.
8607         (libjava_arguments): Add new libraries to argument list.
8609 2004-03-02  Olga Rodimina  <rodimina@redhat.com>
8611         * Makefile.am: Added java/awt/image/AffineTransformOp.java
8612         * Makefile.in: Re-generated.
8613         * java/awt/image/AffineTransformOp.java: New Class.
8615 2004-03-01  Olga Rodimina  <rodimina@redhat.com>
8617         * gnu/java/awt/peer/gtk/GdkGraphics2D.java
8618         (setPaint): Interpret correctly TexturePaint's
8619         anchor rectangle.
8620         (drawImage): Fixed scale factors of the affine
8621         transform.
8623 2004-02-27  David Jee  <djee@redhat.com>
8625         * gnu/java/awt/peer/gtk/GdkGraphics.java
8626         (GdkGraphics(Component)): Inherit font from component.
8627         (drawString): Use font style.
8628         * gnu/java/awt/peer/gtk/GtkCheckboxPeer.java
8629         (gtkSetFont): New native method declaration.
8630         (setFont): New method.
8631         * gnu/java/awt/peer/gtk/GtkComponentPeer.java
8632         (gtkSetFont): New native method declaration.
8633         (setFont): Call new native method gtkSetFont.
8634         * gnu/java/awt/peer/gtk/GtkContainerPeer.java
8635         (setFont): For all child components who do not their fonts set,
8636         set their peers' fonts with this container's font.
8637         * gnu/java/awt/peer/gtk/GtkLabelPeer.java:
8638         Move all native method declarations to the top for readability.
8639         (gtkSetFont): New native method declaration.
8640         (setFont): New method.
8641         * java/awt/Component.java
8642         (setFont): Invalidate after setting the font.
8643         * java/awt/Container.java
8644         (invalidateTree): New method.
8645         (setFont): Invalidate the container tree after setting the font.
8646         * jni/gtk-peer/gnu_java_awt_peer_gtk_GdkGraphics.c
8647         (Java_gnu_java_awt_peer_gtk_GdkGraphics_drawString): Use font style.
8648         * jni/gtk-peer/gnu_java_awt_peer_gtk_GtkCheckboxPeer.c
8649         (Java_gnu_java_awt_peer_gtk_GtkCheckboxPeer_gtkSetFont): New method.
8650         * jni/gtk-peer/gnu_java_awt_peer_gtk_GtkComponentPeer.c
8651         (Java_gnu_java_awt_peer_gtk_GtkComponentPeer_gtkSetFont): New method.
8652         * jni/gtk-peer/gnu_java_awt_peer_gtk_GtkLabelPeer.c
8653         (Java_gnu_java_awt_peer_gtk_GtkLabelPeer_gtkSetFont): New method.
8655 2004-02-27  Olga Rodimina <rodimina@redhat.com>
8657         * gnu/java/awt/peer/gtk/GdkGraphics2D.java
8658         (updateBufferedImage): New helper function.
8659         Updates BufferedImage in memory if it was changed.
8660         (draw): changed to update BufferedImage in memory after
8661         this drawing operation
8662         (fill): Ditto.
8663         (draw3DRect): Ditto.
8664         (fill3DRect): Ditto.
8665         (clearRect): Ditto.
8666         (drawRaster): Ditto.
8667         (drawImage) : Ditto. Update only in case of GtkOffScreenImage with 
8668         no affine transformation.
8669         (drawGlyphVector): Ditto.
8671 2004-02-26  Olga Rodimina <rodimina@redhat.com>
8673         * gnu/java/awt/peer/gtk/GdkGraphics2D.java
8674         (isBufferedImageGraphics): New Helper function. 
8675         Returns true if this graphics2d can be used to draw 
8676         into buffered image and false otherwise.
8677         (updateImagePixels): New Helper function. 
8678         Updates pixels in the BufferedImage.
8679         * jni/gtk-peer/gnu_java_awt_peer_gtk_GdkGraphics2D.c
8680         (getImagePixels): New function. Returns pixels
8681         of the buffered image associated with 
8682         this Graphics2D.
8684 2004-02-26  David Jee  <djee@redhat.com>
8686         * java/awt/BorderLayout.java
8687         (layoutContainer): Fix width and height calculations to ensure
8688         that they're non-negative.
8689         * java/awt/Component.java
8690         (setBackground): If c is null, inherit from closest ancestor whose
8691         background color is set.
8693 2004-02-26  Kim Ho  <kho@redhat.com>
8695         * Makefile.am: Add new files.
8696         * Makefile.in: Re-generate.
8697         * javax/swing/JProgressBar.java: 
8698         (JProgressBar(int, int int)): Throw
8699         IllegalArgumentException if orientation is
8700         invalid.
8701         (JProgressBar(BoundedRangeModel)): Create
8702         ChangeListener and register it. UpdateUI.
8703         (getChangeListeners): Implement.
8704         (setModel): Reset ChangeListener.
8705         * javax/swing/JScrollBar.java: Implement.
8706         * javax/swing/JSeparator.java: Implement.
8707         * javax/swing/JSlider.java:
8708         (JSlider(int, int, int, int)): Throw 
8709         IllegalArgumentException if orientation
8710         is invalid.
8711         (getChangeListeners): Fix method name.
8712         * javax/swing/SwingUtilities.java:
8713         (layoutCompoundLabel): If there is no text,
8714         set the text rectangle dimensions to 0.
8715         * javax/swing/plaf/basic/BasicButtonUI.java:
8716         (paint): If there is no text, don't paint it.
8717         * javax/swing/plaf/basic/BasicScrollBarUI.java:
8718         Implement.
8719         * javax/swing/plaf/basic/BasicSeparatorUI.java:
8720         Implement.
8721         * javax/swing/plaf/basic/BasicSliderUI.java: 
8722         (propertyChange): If the model changes, change
8723         the listeners accordingly.
8725 2004-02-25  Graydon Hoare  <graydon@redhat.com>
8727         * javax/swing/AbstractButton.java: Add "final" qualifiers.
8728         * javax/swing/JList.java: Reimplement.
8729         * javax/swing/DefaultListSelectionModel.java: Reimplement.
8730         * javax/swing/plaf/basic/BasicListUI.java: Reimplement.
8731         * javax/swing/plaf/basic/BasicLookAndFeel.java: Add "purple" values.
8732         * javax/swing/ListModel.java: Javadoc.
8733         * javax/swing/ListSelectionModel.java: Add missing methods.
8734         * javax/swing/AbstractListModel.java: Javadoc and corrections.
8735         * javax/swing/DefaultListModel.java: Javadoc and corrections.
8736         * javax/swing/ListModel.java: Javadoc and corrections.
8737         * javax/swing/DefaultListCellRenderer.java: Minor tidying.
8739 2004-02-25  David Jee  <djee@redhat.com>
8741         * gnu/java/awt/peer/gtk/GtkFontPeer.java
8742         (GtkFontPeer): Change default size to 12.
8743         * gnu/java/awt/peer/gtk/GtkToolkit.java
8744         (getFontPeer): Change default size to 12.
8745         (getClasspathFontPeer): Likewise. Set default name to "Default".
8746         * java/awt/Font.java
8747         (Font(Map)): Call Font(String,Map).
8748         (Font(String,Map)): If attrs is null, initialize it as an empty
8749         HashMap, which will ensure that the Font will get default attributes.
8751 2004-02-25  David Jee  <djee@redhat.com>
8753         * gnu/java/awt/peer/gtk/GtkFontPeer.java
8754         (GtkFontPeer(String,int)): Call the new constructor with size 1.
8755         (GtkFontPeer(String,int,int)): New constructor with size attribute.
8756         * gnu/java/awt/peer/gtk/GtkToolkit.java
8757         (getFontPeer(String,int)): Call the new overload method with size 1.
8758         (getFontPeer(String,int,int)): New method. Overloaded with size
8759         attribute.
8760         (getClasspathFontPeer): Set the size of the font.
8762 2004-02-24  Olga Rodimina  <rodimina@redhat.com>
8764         * gnu/java/awt/peer/gtk/GdkGraphics2D.java
8765         (bimage): New field.
8766         (GdkGraphics2D): New Constructor. Constructs Graphics
8767         object that can be used to draw into the Buffered Image.
8768         * gnu/java/awt/peer/gtk/GdkGraphicsEnvironment.java:
8769         (GdkGraphicsEnvironment): Fixed to include public 
8770         keyword.
8771         (createGraphics): Implemented.
8772         * gnu/java/awt/peer/gtk/GtkToolkit.java
8773         (getLocalGraphicsEnvironment): Implemented.
8774         * java/awt/GraphicsEnvironment.java:
8775         (getLocalGraphicsEnvironment): Implemented.
8776         * java/awt/image/BufferedImage.java:
8777         (createGraphics): Implemented.
8778                 
8779 2004-02-24  David Jee  <djee@redhat.com>
8781         * java/awt/Component.java
8782         (eventTypeEnabled): Add MOUSE_MOVED and MOUSE_DRAGGED event types.
8783         * java/awt/Container.java
8784         (addNotifyContainerChildren): Fix event enabling.
8786 2004-02-23  Olga Rodimina  <rodimina@redhat.com>
8788         * Makefile.am: Added 
8789         gnu/java/awt/peer/gtk/GdkGraphicsEnvironment.java
8790         * Makefile.in: Re-generated.
8791         * gnu/java/awt/peer/gtk/GdkGraphicsEnvironment.java:
8792         New Class. 
8793         
8794 2004-02-19  Kim Ho  <kho@redhat.com>
8796         * Makefile.am: Add BasicProgressBarUI
8797         * Makefile.in: Regenerate.
8798         * javax/swing/JProgressBar.java: 
8799         Re-implement.
8800         * javax/swing/plaf/basic/BasicLookAndFeel.java
8801         Add constants for JProgressBar.
8802         * javax/swing/plaf/basic/BasicProgressBarUI.java
8803         Implement.
8804         * javax/swing/plaf/basic/BasicSliderUI.java
8805         Change comments.
8806         (calculateGeometry): New method
8807         (paint): Remove unnecessary size calculations.
8809 2004-02-18  Olga Rodimina  <rodimina@redhat.com>
8811         * gnu/java/awt/peer/gtk/GdkGraphics2D.java
8812         (drawRaster): Fixed small error that caused
8813         imageToUser transformation to be set incorrectly.
8814         (toString): Implemented.
8816 2004-02-18  David Jee  <djee@redhat.com>
8818         * java/awt/CardLayout.java
8819         (addLayoutComponent): Show the first component added as the default.
8820         (removeLayoutComponent): After removing, show the next component.
8821         (gotoComponent): If there is only one component, show it and return.
8823 2004-02-18  Kim Ho  <kho@redhat.com>
8825         * javax/swing/JSlider.java: Re-order
8826         modifiers.
8827         * javax/swing/JLabel.java: Re-order
8828         modifiers.
8829         * javax/swing/JComponent.java: 
8830         (addPropertyChangeListener):
8831         Implement.
8832         (removePropertyChangeListener):
8833         ditto.
8834         (firePropertyChangeEvent):
8835         ditto.
8837 2004-02-17  David Jee  <djee@redhat.com>
8839         * java/awt/Component.java
8840         (show): Dispatch ComponentEvent via system event queue.
8841         (hide): Likewise.
8842         (move): Likewise.
8843         (resize): Likewise.
8844         (reshape): Likewise.
8845         * java/awt/Window.java
8846         (setBoundsCallback): Likewise.
8848 2004-02-17  David Jee  <djee@redhat.com>
8850         * jni/gtk-peer/gnu_java_awt_peer_gtk_GtkComponentPeer.c
8851         (Java_gnu_java_awt_peer_gtk_GtkComponentPeer_setNativeBounds):
8852         Use gtk_widget_set_size_request() instead of the deprecated
8853         gtk_widget_set_usize().
8855 2004-02-17  Kim Ho  <kho@redhat.com>
8857         * javax/swing/JSlider.java: Fix comments and
8858         make property strings constants.
8859         (createStandardLabels): Use the labels
8860         preferred size as bounds.
8861         * javax/swing/plaf/basic/BasicSliderUI.java
8862         Fix comments.
8863         (ScrollHandler::actionPerformed): Don't
8864         calculate the timer stop value. Let the
8865         MouseListeners find the stop location.
8866         (getPreferredHorizontalSize): Re-implement.
8867         (getPreferredVerticalSize): ditto.
8868         (getMinimumHorizontalSize): ditto.
8869         (getMinimumVerticalSize): ditto.
8870         (getPreferredSize): ditto.
8871         (getMinimumSize): ditto.
8872         (getMaximumSize): ditto.
8873         (paintTicks): Use doubles to find the
8874         tick location.
8875         (paintHorizontalLabel):  Use preferredSize
8876         as initial width and height.
8877         (paintVerticalLabel): ditto.
8879 2004-02-17  Kim Ho  <kho@redhat.com>
8881         * javax/swing/JLabel.java: Changed 
8882         property strings to constants.
8883         (DISPLAYED_MNEMONIC_INDEX_CHANGED_PROPERTY):
8884         New property.
8885         (setText): Change mnemonic index if
8886         text is too short.
8887         (setDisplayedMnemonicIndex): Fire property
8888         change event.
8889         (getDisplayedMnemonicIndex): Remove check
8890         against short text.
8892 2004-02-17 Olga Rodimina <rodimina@redhat.com>
8894         * gnu/java/awt/peer/gtk/GdkGraphics2D.java:
8895         (drawImage(img,xform,obs)): Invert xform before
8896         passing the xform to cairo.
8897         (drawImage(img,x,y,bgcolor,obs)): Implemented.
8898         (drawImage (img,x,y,w,h,bgcolor,obs)): Partly
8899         implemented.
8900         (drawImage (img,x,y,w,h,obs)): Implemented.
8901         (drawImage (img,dx1,dy1,dx2,dy2,sx1,sy1,sx2,sy2,
8902         bgcolor,obs)): Partly implemented.
8903         (drawImage (img,dx1,dy1,dx2,dy2,sx1,sy1,sx2,sy2,obs)):
8904         Implemented.
8905         * java/awt/image/BufferedImage.java:
8906         (copyData): if dest is null, create raster with same
8907         dimensions as the current image.
8909 2004-02-16  Graydon Hoare  <graydon@redhat.com>
8911         * javax/swing/plaf/basic/BasicLabelUI.java 
8912         (getPreferredSize): Use layoutCL.
8913         * javax/swing/plaf/basic/BasicGraphicsUtils.java 
8914         (getPreferredButtonSize): Start with empty view rect, layout using
8915         component's preferred alignment.
8916         * javax/swing/plaf/basic/BasicLookAndFeel.java: Add some Label and
8917         List defaults.
8919 2004-02-16  David Jee  <djee@redhat.com>
8921         * java/awt/Component.java
8922         (show): Dispatch COMPONENT_SHOWN ComponentEvent.
8923         (hide): Dispatch COMPONENT_HIDDEN ComponentEvent.
8924         (move): Erase old bounds and repaint new bounds. Dispatch
8925         COMPONENT_MOVED ComponentEvent.
8926         (resize): Erase old bounds and repaint new bounds. Dispatch
8927         COMPONENT_RESIZED ComponentEvent.
8928         (reshape): Dispatch COMPONENT_RESIZED and COMPONENT_MOVED
8929         ComponentEvents.
8930         * java/awt/Window.java
8931         (setBoundsCallback): Dispatch COMPONENT_RESIZED and COMPONENT_MOVED
8932         ComponentEvents.
8934 2004-02-16  Olga Rodimina  <rodimina@redhat.com>
8936         * gnu/java/awt/peer/gtk/GdkGraphics2D.java:
8937         (setRenderingHint): Added implementation of 
8938         Interpolation rendering hints.
8939         (setRenderingHints): Ditto.
8940         * jni/gtk-peer/gnu_java_awt_peer_gtk_GdkGraphics2D.c:
8941         (drawPixels): fixed to allow user to choose type 
8942         of filtering that should be used when displaying images.
8943         (cairoSurfaceSetFilter): New method. Sets filter type for 
8944         interpolation of pixel values.
8946 2004-02-16  David Jee  <djee@redhat.com>
8948         * java/awt/GridBagLayout.java
8949         (calcCellSizes): Rows or columns with zero sizes should still be
8950         considered for extra space distribution.
8952 2004-02-16  Kim Ho  <kho@redhat.com>
8954         * javax/swing/JLabel.java: Re-implement.
8955         * javax/swing/plaf/basic/BasicLabelUI.java
8956         Re-implement.
8957         * javax/swing/plaf/basic/BasicLookAndFeel.java:
8958         Added constant.
8960 2004-02-16  Kim Ho  <kho@redhat.com>
8962         * javax/swing/JSlider.java: Fix indentation and comments.
8963         (setModel): Remove null check to conform with Sun's.
8964         (setOrientation): Throw exception if not
8965         HORIZONTAL or VERTICAL.
8966         (getInverted): Use private variable instead of 
8967         ComponentOrientation.
8968         (setInverted): ditto.
8969         * javax/swing/plaf/basic/BasicSliderUI.java:
8970         Fix indentation and comments.
8971         (propertyChange): Remove check for inverted slider, handle
8972         in main paint.
8973         (getMinimumSize): Return preferred size.
8974         (getMaximumSize): ditto.
8975         (calculateFocusRect): Don't relocate rectangle.
8976         (drawInverted): Return XOR of the slider's inversion and 
8977         the component's orientation.
8978         (paint): Update leftToRightCache
8980 2004-02-13  David Jee  <djee@redhat.com>
8982         * java/awt/GridBagLayout.java
8983         (GetLayoutInfo): Fix weight and size distribution. Relocate repeated
8984         code to helper methods.
8985         (sortBySpan): New helper method.
8986         (distributeSizeAndWeight): Likewise.
8987         (calcCellWeights): Likewise.
8988         (calcCellSizes): Add comments.
8990 2004-02-13  David Jee  <djee@redhat.com>
8992         * java/awt/Component.java
8993         (show): Only do something if component is invisible at the moment.
8994         (hide): Only do something if component is visible at the moment.
8995         (reshape): If lightweight, erase old bounds and repaint new bounds.
8997 2004-02-13  Kim Ho  <kho@redhat.com>
8999         * Makefile.am: Updated for new file.
9000         * Makefile.in: Regenerated.
9001         * javax/swing/JSlider.java: Reimplement.
9002         * javax/swing/SwingUtilities.java
9003         (layoutCompoundLabel): Use icon height
9004         instead of width.
9005         (paintComponent): Implement.
9006         * javax/swing/plaf/basic/BasicLookAndFeel.java:
9007         Add JSlider defaults.
9008         * javax/swing/plaf/basic/BasicSliderUI.java:
9009         Implement. New file.
9011 2004-03-17  Michael Koch  <konqueror@gmx.de>
9013         * gnu/java/net/PlainDatagramSocketImpl.java
9014         (RECEIVE_LOCK): New member field.
9015         (SEND_LOCK): New member field.
9016         (send0): New method.
9017         (send): Synchronize on SEND_LOCK.
9018         (receive0): New method.
9019         (receive): Synchronize on RECEIVE_LOCK.
9020         * gnu/java/net/natPlainDatagramSocketImplNoNet.cc,
9021         gnu/java/net/natPlainDatagramSocketImplPosix.cc,
9022         gnu/java/net/natPlainDatagramSocketImplWin32.cc
9023         (send0): Renamed from send.
9024         (receive0): Renamed from receive.
9025 2004-03-17  Michael Koch  <konqueror@gmx.de>
9027         * gnu/java/net/natPlainSocketImplPosix.cc
9028         (write): Just call write(jbyteArray, offset, len).
9029         (read): Just call read(jbyteArray, offset, len).
9031 2004-03-16  Michael Koch  <konqueror@gmx.de>
9033         * javax/swing/JTabbedPane.java
9034         (serialVersionUID): New field.
9036 2004-03-16  Norbert Frese  <postfach@nfrese.net>
9038         * java/net/InetAddress.java
9039         (getByName): Handle hostname == "" case.
9041 2004-03-16  Dalibor Topic  <robilad@kaffe.org>
9043         Reported by: Adam Heath <doogie@debian.org>
9044         * gnu/javax/rmi/CORBA/DelegateFactory.java (getInstance): Use context
9045         class loader.
9047 2004-03-15  Michael Koch  <konqueror@gmx.de>
9049         * java/util/Locale.java: Reverting my last patch
9050         and add a comment why the original version was okay.
9052 2004-03-14  Andreas Tobler <a.tobler@schweiz.ch>
9054         * gnu/java/nio/channels/natFileChannelPosix.cc: Implement
9055         munmap_adaptor and msync_adaptor for older POSIX_C_SOURCES specs.
9056         (MappedByteBufferImpl::unmapImpl): Use munmap_adaptor.
9057         (MappedByteBufferImpl::forceImpl): Use msync_adptor.
9059 2004-03-12  Michael Koch  <konqueror@gmx.de>
9061         * java/text/DateFormatSymbols.java: Fixed file name in copyright.
9063 2004-03-12  Ito Kazumitsu  <ito.kazumitsu@hitachi-cable.co.jp>
9065         * java/net/URI.java (toURL): Implemented.
9067 2004-03-12  Ito Kazumitsu  <ito.kazumitsu@hitachi-cable.co.jp>
9069         * java/net/URI.java
9070         (URI_REGEXP) updated to contain scheme specific part.
9071         (SCHEME_SPEC_PART_GROUP) new constant.
9072         (AUTHORITY_GROUP, PATH_GROUP, QUERY_GROUP, FRAGMENT_GROUP)
9073         updated to make room for SCHEME_SPEC_PART_GROUP.
9074         (parseURI) parse scheme specific part.
9075         (resolve, isAbsolute, isOpaque, getRawSchemeSpecificPart,
9076         getSchemeSpecificPart, getAuthority, getUserInfo, getPath,
9077         getQuery, getFragment) implemented.
9079 2004-03-12  Dalibor Topic  <robilad@kaffe.org>
9081         * libraries/javalib/java/net/URI.java
9082         partially implemented using java.util.regex.
9083         (URI_REGEXP) new constant. Used to parse URIs.
9084         (SCHEME_GROUP) new constant representing index of scheme group
9085         in parsed URI.
9086         (AUTHORITY_GROUP) new constant representing index of authority
9087         group in parsed URI.
9088         (PATH_GROUP) new constant representing index of path group in
9089         parsed URI.
9090         (QUERY_GROUP) new constant representing index of query group in
9091         parsed URI.
9092         (FRAGMENT_GROUP) new constant representing index of fragment
9093         group in parsed URI.
9094         (getURIGroup) new static utility method.
9095         (parseURI) implemented.
9096         (quote) stub for new static utility method.
9097         (quoteAuthority) stub for new static utility method.
9098         (quoteHost) stub for new static utility method.
9099         (quotePath) stub for new static utility method.
9100         (quoteUserInfo) stub for new static utility method.
9101         (URI) implemented.
9102         (create) don't throw URISyntaxException. Implemented.
9103         (toString) implemented.
9105 2004-03-12  Michael Koch  <konqueror@gmx.de>
9107         * java/net/HttpURLConnection.java
9108         (getResponseCode): Fix another typo in javadoc.
9110 2004-03-11  Michael Koch  <konqueror@gmx.de>
9112         * java/util/logging/Level.java
9113         (parse): Use String.equals() instead of ==.
9115 2004-03-11  Michael Koch  <konqueror@gmx.de>
9117         * gnu/java/net/protocol/jar/Connection.java
9118         (getContentLength): New method.
9120 2004-03-11  Michael Koch  <konqueror@gmx.de>
9122         * gnu/java/net/PlainSocketImpl.java:
9123         Reformated to merge better with classpath's version.
9125 2004-03-11  Michael Koch  <konqueror@gmx.de>
9127         * java/util/Locale.java
9128         (getISO3Language): Use String.equals() instead of ==.
9129         (getISO3Country): Likewise.
9131 2004-03-11  Dalibor Topic  <robilad@kaffe.org>
9133         * java/text/AttributedString.java
9134         (addAttribute(AttributedCharacterIterator.Attribute,Object,int,int)):
9135         Use HashMap instead of Hashtable since value can be null, and
9136         you can not store a null value in a Hashtable.
9138 2004-03-11  Guilhem Lavaux <guilhem@kaffe.org>
9140         * java/text/AttributedStringIterator.java
9141         (getAllAttributesKey): Return only keys concerned
9142         by the current iterator.
9143         (getAttributes): Use strict inequality for
9144         end_index. 
9146 2004-03-11  Michael Koch  <konqueror@gmx.de>
9148         * java/net/HttpURLConnection.java:
9149         Fixed typo in javadoc.
9151 2004-03-11  Guilhem Lavaux  <guilhem@kaffe.org>
9153         * java/io/BufferedInputStream.java (marktarget): New field for max
9154         mark limit.
9155         (CHUNKSIZE): New constant for incremental mark buffer allocation.
9156         (mark): Use new fields.
9157         (read): Likewise.
9158         (read(byte[],int,int)): Likewise.
9159         (skip): Likewise.
9160         (refill): Likewise.
9162 2004-03-11  Mark Wielaard  <mark@klomp.org>
9164         * java/beans/BeanDescriptor.java (BeanDescriptor):
9165         Set the FeatureDescriptor programmatic name.
9167 2004-03-11  Michael Koch  <konqueror@gmx.de>
9169         * gnu/java/nio/channels/natFileChannelEcos.cc: Totally reworked.
9170         This file was was just copied form java/io/natFileDescriptorEcos.cc
9171         and never changed to compile correctly.
9173 2004-03-11  Michael Koch  <konqueror@gmx.de>
9175         * gnu/java/nio/PipeImpl.java
9176         (SourceChannelImpl): Made final.
9177         (read): Implemented.
9178         (SinkChannelImpl): Made final.
9179         (write): Implemented.
9181 2004-03-11  Michael Koch  <konqueror@gmx.de>
9183         * gnu/java/net/PlainDatagramSocketImpl.java:
9184         Reformated to match classpath's version more.
9186 2004-03-11  Michael Koch  <konqueror@gmx.de>
9188         * gnu/java/awt/peer/ClasspathFontPeer.java:
9189         Fixed javadoc to be correct xhtml.
9190         * gnu/java/awt/peer/gtk/GtkArgList.java
9191         (add): Use Boolean.valueOf() instead of new Boolean().
9193 2004-03-09  Michael Koch  <konqueror@gmx.de>
9195         * java/lang/Thread.java
9196         (runnable): Moved around.
9197         (daemon): Renamed from daemon_flag.
9198         (contextClassLoader): Renamed from context_class_loader.
9199         (Thread): Reordered constructors.
9200         (activeCount): Use group directly.
9201         (destroy): Make it a java method. Throw NoSuchMethodError like Sun does.
9202         (holdsLock): Reworked javadoc.
9203         (setDaemon): Reworked.
9204         * java/lang/natThread.cc
9205         (destroy): Removed.
9207 2004-03-08  Anthony Green  <green@redhat.com>
9209         * Makefile.am: Build property resource files into libgcj.
9210         * Makefile.in: Rebuilt.
9211         * java/util/regex/Matcher.java, java/util/regex/Pattern.java,
9212         java/util/regex/PatternSyntaxException.java,
9213         gnu/regexp/CharIndexed.java,
9214         gnu/regexp/CharIndexedCharArray.java,
9215         gnu/regexp/CharIndexedInputStream.java,
9216         gnu/regexp/CharIndexedReader.java,
9217         gnu/regexp/CharIndexedString.java,
9218         gnu/regexp/CharIndexedStringBuffer.java, gnu/regexp/RE.java,
9219         gnu/regexp/REException.java,
9220         gnu/regexp/REFilterInputStream.java,
9221         gnu/regexp/REFilterReader.java, gnu/regexp/REMatch.java,
9222         gnu/regexp/REMatchEnumeration.java, gnu/regexp/RESyntax.java,
9223         gnu/regexp/REToken.java, gnu/regexp/RETokenAny.java,
9224         gnu/regexp/RETokenBackRef.java, gnu/regexp/RETokenChar.java,
9225         gnu/regexp/RETokenEnd.java, gnu/regexp/RETokenEndSub.java,
9226         gnu/regexp/RETokenLookAhead.java,
9227         gnu/regexp/RETokenOneOf.java, gnu/regexp/RETokenPOSIX.java,
9228         gnu/regexp/RETokenRange.java, gnu/regexp/RETokenRepeated.java,
9229         gnu/regexp/RETokenStart.java,
9230         gnu/regexp/RETokenWordBoundary.java,
9231         gnu/regexp/UncheckedRE.java: Files merged from GNU Classpath.
9233 2004-03-03  Per Bothner  <per@bothner.com>
9235         * java/nio/channels/Channels.java (newInputStream, newOutputStream):
9236         Optimize when argument is a FileChannelImpl.
9237         (newInputStream(FileChannelImpl), newOutputStream(FileChannelImpl)):
9238         New native methods.
9239         * java/nio/channels/natChannels.cc:  New file for new native methods.
9240         * Makefile.am:  Update accordingly.
9242 2004-03-02  Jan Hubicka  <jh@suse.cz>
9244         * configure.host: Pass -fno-omit-frame-pointer for i386.
9245         * configure.in: Likewise.
9246         * configure: Regenerate.
9248 2004-03-01  Per Bothner  <per@bothner.com>
9250         * java/lang/natPosixProcess.cc (startProcess):  Fix thinko.
9252 2004-02-29  Per Bothner  <per@bothner.com>
9254         * java/nio/channels/FileChannelImpl.java:  Moved to package
9255         gnu/java/nio/channels, since we need to refer to it from java.io.
9256         * java/nio/channels/natFileChannelImpl.cc:  Removed file.
9257         * gnu/java/nio/channels/FileChannelImpl.java:  New class, renamed
9258         from java/nio/channels.  Don't depend on FileDescriptor.
9259         (in, out, err):  New static fields.
9260         (mode):  New field.
9261         (SET, CUR, READ, WRITE, APPEND, EXCL, SYNC, DSYNC):  Moved constants
9262         from FileDescriptor.
9263         (by):  Removed MappedByteBuffer field.
9264         (map):  New working implementation.
9265         * gnu/java/nio/channels/natFileChannelPosix.cc:  New file, though
9266         some code "ported" from natFileDescriptoPosix.cc.
9267         * gnu/java/nio/channels/natFileChannelEcos.cc:  Likewise.
9268         * gnu/java/nio/channels/natFileChannelWin32.cc  Likewise.
9269         * java/io/FileDescriptor.java:  Implement on top of FileChannel.
9270         Remove native methods.
9271         * Makefile.am, configure.in:  Updated accordingly.
9273         * gnu/java/nio/FileLockImpl.java (fd):  Remove field, replacing it by:
9274         (ch):  New FileChannelImpl field.  Update constructor to match.
9275         (releaseImpl):  Remove native method.  Instead ...
9276         (release):  Call unlock on channel.
9277         * gnu/java/nio/natFileLockImpl.cc:  Removed file.
9279         * java/io/natFileDescriptorEcos.cc:  Remove file.
9280         * java/io/natFileDescriptorPosix.cc:  Remove file.
9281         * java/io/natFileDescriptorWin32.cc:  Remove file.
9282         * java/io/FileInputStream.java (ch):  Change type to FileChannelImpl.
9283         (<init>(File)):  Allocate a FileChannelImpl, not a FileDescriptor.
9284         (<init>(FileChannelImpl)):  New package-private constructor.
9285         (<init>(FileDescriptor)):  Extract FileChannelImpl from arg.
9286         (available, close, read, skip):  Implement using FileChannelImpl.
9287         (getFD):  Allocate FileDescriptor if needed.
9288         (getChannel):  Is now trivial.
9289         * java/io/FileOutputStream.java:  Corresponding changes.
9290         * java/io/RandomAccessFile.java:  Corresponding changes.
9292         * java/nio/MappedByteBuffer.java: (forceImpl, isLoadedImpl, loadImpl,
9293         unmapImpl):  New dummy methods, to be overridden by subclass.
9294         (finalize, isLoaded, load, force):  New methods.
9295         * java/nio/MappedByteBufferImpl.java:  More-or-less rewrite.
9296         Now works, at least for read mapping.
9298         * java/lang/natPosixProcess.cc (startProcess):  Implement standard
9299         streams using FileChannelImpl, not FileDescriptor.
9300         * java/lang/natWin32Process.cc (startProcess):  Likewise.
9302 2004-02-28  Michael Koch  <konqueror@gmx.de>
9304         * java/io/ObjectInputStream.java: Compile fix, damn I commited the
9305         wrong code.
9307 2004-02-28  Guilhem Lavaux <guilhem@kaffe.org>
9309         * java/io/ObjectInputStream.java
9310         (readClassDescriptor): Keep elements of the mapping non null.
9311         (checkTypeConsistency): New method.
9312         (readFields): Fixed main loop and base logic. Small reindentation.
9313         * java/io/ObjectStreamField.java
9314         (lookupField): New method to update the field reference.
9315         (checkFieldType): New method.
9316         * java/io/ObjectStreamClass.java
9317         (setClass, setFields): Call lookupField when building the field
9318         database. Check the real field type.
9320 2004-02-28  Michael Koch  <konqueror@gmx.de>
9322         * java/nio/ByteOrder.java
9323         (nativeOrder): Use equals() to compare strings.
9325 2004-02-26  Michael Koch  <konqueror@gmx.de>
9327         * gnu/java/nio/FileLockImpl.java
9328         (finalize): Made protected.
9329         * java/nio/channels/FileChannel.java
9330         (MapMode.READ_ONLY): Made final.
9331         (MapMode.READ_WRITE): Made final.
9332         (MapMode.PRIVATE): Made final.
9333         * java/nio/channels/SocketChannel.java
9334         (open): Simplified code.
9335         * java/nio/channels/spi/AbstractSelectableChannel.java
9336         (registered): Unused, removed.
9337         (keyFor): Check channel is open, only locate key
9338         and not add a new one.
9339         (register): Don't delete attachments.
9341 2004-02-26  Michael Koch  <konqueror@gmx.de>
9343         * gnu/java/awt/ComponentDataBlitOp.java
9344         (INSTANCE): Made final.
9345         * gnu/java/awt/image/ImageDecoder.java:
9346         Reworked imports.
9347         (cm): Unused, removed.
9349 2004-02-26  Michael Koch  <konqueror@gmx.de>
9351         * gnu/java/nio/DatagramChannelImpl.java
9352         (send): Check if target address is resolved.
9354 2004-02-26  Michael Koch  <konqueror@gmx.de>
9356         * Makefile.am: Generate and install headers for inner classes in
9357         java.nio.channels.Pipe and gnu.java.nio.PipeImpl.
9358         * Makefile.in: Regenerated.
9360 2004-02-24  Anthony Green  <green@redhat.com>
9362         * java/lang/StringBuffer.java: No need to NULL out remainder of
9363         buffer since ensureCapacity_unsynchronized will have done this for
9364         us.
9366 2004-02-20  Michael Koch  <konqueror@gmx.de>
9368         * gnu/java/net/protocol/jar/Handler.java
9369         (): Removed unneeded check for file != null. java.net.URL.getFile()
9370         returns an empty string but never null.
9372 2004-02-20  Michael Koch  <konqueror@gmx.de>
9374         * gnu/gcj/convert/Convert.java
9375         (main): Use equals() to compare strings.
9377 2004-02-20  Michael Koch  <konqueror@gmx.de>
9379         * javax/swing/AbstractButton.java: Made several constants final.
9380         (getRolloverSelectedIcon): Made public.
9381         (getSelectedIcon): Made public.
9383 2004-02-16  Per Bothner  <per@bothner.com>
9385         * java/nio/CharBufferImpl.java:  Inline super constructor.
9386         * java/nio/DoubleBufferImpl.java:  Likewise.
9387         * java/nio/FloatBufferImpl.java:  Likewise.
9388         * java/nio/IntBufferImpl.java:  Likewise.
9389         * java/nio/LongBufferImpl.java:  Likewise.
9390         * java/nio/ShortBufferImpl.java:  Likewise.
9391         * java/nio/CharBuffer.java:  Remove unused constructor.
9392         * java/nio/DoubleBuffer.java:  Likewise.
9393         * java/nio/FloatBuffer.java:  Likewise.
9394         * java/nio/IntBuffer.java:  Likewise.
9395         * java/nio/LongBuffer.java:  Likewise.
9396         * java/nio/ShortBuffer.java:  Likewise.
9397         * java/nio/CharViewBufferImpl.java:  New convenience constructor.
9398         Fix buggy call to super constructor.
9399         * java/nio/DoubleViewBufferImpl.java:  Likewise.
9400         * java/nio/FloatViewBufferImpl.java:  Likewise.
9401         * java/nio/IntViewBufferImpl.java:  Likewise.
9402         * java/nio/LongViewBufferImpl.java:  Likewise.
9403         * java/nio/ShortViewBufferImpl.java:  Likewise.
9404         
9405         * java/nio/ByteBuffer.java (endian):  Make non-private so other
9406         java.nio classes can inherit it.
9407         (<init>):  Don't bother clearing array_offset.
9408         * java/nio/ByteBuffer.java (allocate):  Re-implement using wrap.
9409         * java/nio/ByteBuffer.java (get(byte[],int,int)):  Check underflow.
9410         Remove redundant test.
9412         * java/nio/ByteBufferImpl.java (asCharBuffer, asShortBuffer,
9413         asIntBuffer, asLongBuffer, asFloatBuffer, asDoubleBuffer):
9414         Use new XxxViewBufferImpl constructors.
9415         * java/nio/MappedByteBufferImpl.java:  Likewise.
9416         * java/nio/DirectByteBufferImpl.java:  Likewise.
9418         * java/nio/ByteBufferImpl.java:  Remove one constructor.
9419         Inline super in remaining constructor.
9420         * java/nio/ByteBuffer.java:  Remove unused constructor.
9422         * java/nio/ByteBufferImpl.java (shiftDown):  New optimized method.
9424         * java/nio/ByteBufferImpl.java (get, put):  Add array_offset.
9425         * java/nio/DirectByteBufferImpl.java (owner):  New field.
9426         (offset):  Remove unused field.
9427         (<init>):  Modify one and add another constructor.  Change callers.
9428         (allocateDirect):  Removed - not used.
9429         (getImpl, putImpl):  Make static and pass address explicitly,
9430         to make them useful for MappedByteBufferImpl.
9431         (get, put):  Check for underflow.  Modify for new getImpl.
9432         (getImpl):  New native method where target is array.
9433         (get(byte[],int,int)):  Use the above.
9434         (adjustAddress):  New static native method.
9435         (slice, duplicate, asReadOnly):  New implementations.
9436         * java/nio/natDirectByteBufferImpl.cc (getImpl, putImpl, shiftDown,
9437         adjustAddress):  New or updated native methods.
9439 2004-02-15  Ito Kazumitsu  <kaz@maczuka.gcd.org>
9441         * java/io/ObjectInputStream.java (readClassDescriptor): Avoid the
9442         overflow of fieldmapping.
9444 2004-02-14  Sascha Brawer  <brawer@dandelis.ch>
9446         * javax/swing/undo/UndoManager.java: Re-written from scratch.
9448 2004-02-14  Per Bothner  <per@bothner.com>
9450         * java/nio/channels/spi/AbstractInterruptibleChannel.java (close):
9451         Set closed before calling implCloseChannel, as in the spec.
9453 2004-02-09  Graydon Hoare  <graydon@redhat.com>
9455         * javax/swing/ToggleButtonModel.java: Remove dead class.
9456         * javax/swing/plaf/basic/BasicDefaults.java: Remove dead class.
9457         * javax/swing/plaf/basic/BasicButtonListener.java: New class.
9458         * javax/swing/plaf/basic/BasicRootPaneUI.java: New class.
9459         * Makefile.am: Update for new and removed files.
9460         * Makefile.in: Regenerate.
9462         * gnu/java/awt/peer/gtk/GdkGraphics2D.java: Initialize default hints.
9463         * javax/swing/AbstractButton.java 
9464         (AbstractButton): Initialize fields correctly in ctor.
9465         * javax/swing/JCheckbox.java 
9466         (JCheckBox): Override painting flags.
9467         * javax/swing/DefaultButtonModel.java: Conform to sun.
9468         * javax/swing/JComponent.java (paint): Fill with background color
9469         if available.
9470         (processComponentKeyEvent)
9471         (processFocusEvent)
9472         (processKeyEvent)
9473         (processMouseMotionEvent): Remove event-consuming empty methods.
9474         (getUIClassID): Return "ComponentUI" not "JComponent"
9475         * javax/swing/JFrame.java: Remove some debugging chatter.
9476         (JFrame): Subscribe to window events.
9477         * javax/swing/JRadioButton.java 
9478         (JRadioButton): Override painting flags.
9479         * javax/swing/JRootPane.java 
9480         (JRootPane): Set background from UIDefaults.
9481         * javax/swing/JToggleButton.java 
9482         (ToggleButtonModel): New inner class.
9483         (JToggleButton): Override layout alighment.
9484         * javax/swing/SwingUtilities.java:
9485         (getLocalBounds): Return width and height, not x and y.
9486         (calculateInnerArea): Use local bounds, not bounds.
9487         (layoutCompoundLabel): Provide overridden form.
9488         (layoutCompoundLabel): Correct bugs.
9489         * javax/swing/UIDefaults.java: Correct comment.
9490         * javax/swing/plaf/basic/BasicButtonUI.java: 
9491         Move most logic into defaults, external listener.
9492         (paintIcon): Implement icon painting.
9493         (paint): Fix state painting to conform to changes in model.
9494         * javax/swing/plaf/basic/BasicCheckBoxUI.java:
9495         Remove most dead/wrong methods.
9496         (getDefaultIcon): Return defaults.getIcon("CheckBox.icon").
9497         * javax/swing/plaf/basic/BasicIconFactory.java:
9498         (DummyIcon): New class.
9499         (getMenuItemCheckIcon)
9500         (getMenuItemArrowIcon) 
9501         (getMenuArrowIcon)
9502         (getCheckBoxMenuItemIcon)
9503         (getRadioButtonMenuItemIcon)
9504         (createEmptyFrameIcon): Return DummyIcons, not null.
9505         (getCheckBoxIcon): Implement an icon that looks like sun's.
9506         (getRadioButtonIcon): Implement an icon that looks like sun's.
9507         * javax/swing/plaf/basic/BasicLookAndFeel.java 
9508         (initComponentDefaults): Fix impossible values, add some missing.
9509         * javax/swing/plaf/basic/BasicPanelUI.java (gap): Remove field.
9510         * javax/swing/plaf/basic/BasicRadioButtonUI.java:
9511         Remove most dead/wrong methods.
9512         (icon): New field.
9513         (getDefaultIcon): New method.
9514         * javax/swing/plaf/basic/BasicToggleButtonUI.java:
9515         Remove most dead/wrong methods.
9516         * javax/swing/plaf/metal/MetalLookAndFeel.java
9517         (getDefaults): Return super.getDefaults(), not BasicDefaults.
9518         * jni/gtk-peer/gnu_java_awt_peer_gtk_GdkGraphics.c
9519         (Java_gnu_java_awt_peer_gtk_GdkGraphics_clearRect):
9520         Implement "clearing" as drawing, when on pixmap drawables.
9522         * javax/swing/JButton.java (getUIClassID): 
9523         * javax/swing/JCheckBox.java (getUIClassID):
9524         * javax/swing/JEditorPane.java (getUIClassID):
9525         * javax/swing/JLabel.java (getUIClassID): 
9526         * javax/swing/JList.java (getUIClassID): 
9527         * javax/swing/JOptionPane.java (getUIClassID): 
9528         * javax/swing/JPanel.java (getUIClassID): 
9529         * javax/swing/JPasswordField.java (uiClassID): 
9530         * javax/swing/JRadioButton.java (getUIClassID): 
9531         * javax/swing/JRootPane.java (getUIClassID): 
9532         * javax/swing/JScrollPane.java (getUIClassID): 
9533         * javax/swing/JTabbedPane.java (getUIClassID): 
9534         * javax/swing/JToggleButton.java (getUIClassID): 
9535         * javax/swing/JTree.java (getUIClassID): 
9536         * javax/swing/JViewport.java (getUIClassID): 
9537         * javax/swing/text/JTextComponent.java (getUIClassID):
9538         Return "fooUI" not "Jfoo"
9540 2004-02-11  Michael Koch  <konqueror@gmx.de>
9542         * java/net/DatagramSocket.java
9543         (setReuseAddress): Use Boolean.valueOf() instead of creating a new
9544         Boolean object.
9545         (setBroadcast): Likewise.
9546         * java/net/MulticastSocket.java
9547         (setLoopbackMode): Likewise.
9548         * java/net/ServerSocket.java
9549         (setReuseAddress): Likewise.
9550         * java/net/Socket.java
9551         (setTcpNoDelay): Likewise.
9552         (setSoLinger): Likewise.
9553         (setOOBInline): Likewise.
9554         (setKeepAlive): Likewise.
9555         (setReuseAddress): Likewise.
9556         * java/net/URLConnection.java
9557         (setContentHandler): Replace == with equals().
9558         * java/net/URLStreamHandler.java
9559         (hostSEquals): Fix checking host addresses.
9560         (toExternalForm): Dont check protocol for null. We know already its
9561         not null.
9563 2004-02-10  David Jee  <djee@redhat.com>
9565         * java/awt/BorderLayout.java
9566         (calcCompSize): Invisible components get zero dimensions.
9567         * java/awt/Button.java
9568         (setLabel): Set actionCommand.
9569         * java/awt/Component.java
9570         (show): Invalidate component and parent container.
9571         (hide): Likewise.
9573 2004-02-10  David Jee  <djee@redhat.com>
9575         * java/awt/GridBagLayout.java
9576         (GridBagLayout): New private field, internalcomptable.
9577         (lookupInternalConstraints): New method.
9578         (ArrangeGrid): Use components' MINSIZE. Use internalcomptable.
9579         (GetLayoutInfo): Reimplement.
9580         (calcCellSizes): Ignore rows/columns with size 0.
9582 2004-02-10  Michael Koch  <konqueror@gmx.de>
9584         * gnu/java/awt/EmbeddedWindow.java
9585         (setHandle): Use java.awt.Component.getPeer() instead of
9586         java.awt.Component.peer directly.
9588 2004-02-10  David Jee  <djee@redhat.com>
9590         * gnu/java/awt/peer/gtk/GtkButtonPeer.java
9591         (gtkSetLabel): New native method definition.
9592         (setLabel): Use gtkSetLabel.
9593         * jni/gtk-peer/gnu_java_awt_peer_gtk_GtkButtonPeer.c
9594         (Java_gnu_java_awt_peer_gtk_GtkButtonPeer_gtkSetLabel): New method.
9596 2004-02-10  Alan Modra  <amodra@bigpond.net.au>
9598         * include/powerpc-signal.h: Revert 2004-01-21 change.
9599         (INIT_SEGV, INIT_FPE): Provide powerpc64 versions.  Check return
9600         from syscall for ppc32 versions.
9602 2004-02-08  Per Bothner  <per@bothner.com>
9604         * java/nio/ByteBuffer.java (shiftDown):  New helper method.
9605         * java/nio/natDirectByteBufferImpl.cc (shiftDown):  New implementation.
9606         * java/nio/ByteBufferImpl.java (compact):  Use new shiftDown method.
9607         * sava/nio/ByteBufferHelper.java:  Remove redundant 'final' specifiers.
9608         Pass ByteOrder parameter to most methods, since the underlying
9609         ByteBuffer's order isn't always what we should use.
9610         * java/nio/ByteBufferImpl.java:  Pass byte-order various places.
9611         * java/nio/DirectByteBufferImpl.java:  Likewise.
9612         Use ByteBufferHelper methods.
9613         * java/nio/MappedByteBufferImpl.java:  Likewise.
9614         (compact):  Use shiftDown.
9615         * java/nio/CharViewBufferImpl.java (<init>):  Pass byte-order.
9616         (get, put):  Use ByteBufferHelper.
9617         (compact):  Use new shiftDown method.
9618         (duplicate(boolean)):  New helper method.
9619         (duplicate, asReadOnlyBuffer):  Use it.
9620         (order):  Return endian field.
9621         * java/nio/DoubleViewBufferImpl.java:  Likewise.
9622         * java/nio/FloatViewBufferImpl.java:  Likewise.
9623         * java/nio/IntViewBufferImpl.java:  Likewise.
9624         * java/nio/LongViewBufferImpl.java:  Likewise.
9625         * java/nio/ShortViewBufferImpl.java:  Likewise.
9626         * java/nio/CharViewBufferImpl.java (subsequence):  Redundant test.
9627         * java/nio/DirectByteBufferImpl.java (shiftDown):  New native method.
9628         (compact):  Re-implement using shiftDown.
9630 2004-02-08  Andreas Jaeger  <aj@suse.de>
9632         * include/x86_64-signal.h: Fix typo.
9634 2004-02-08  Diego Novillo  <dnovillo@redhat.com>
9636         * include/i386-signal.h (MAKE_THROW_FRAME): Add volatile
9637         qualifier to _regs.
9638         (HANDLE_DIVIDE_OVERFLOW): Likewise.
9640 2004-02-06  Michael Koch  <konqueror@gmx.de>
9642         * java/io/ObjectInputStream.java
9643         (currentClassLoader): Reverted to old version of this method.
9645 2004-02-06  Jeroen Frijters  <jeroen@frijters.net>
9647         * java/io/ObjectInputStream.java: Made all calls
9648         to dumpElement[ln] conditional on dump flag. (readObject): Changed to
9649         use cached info from ObjectStreamClass. (readClassDescriptor):
9650         Cache more information in ObjectStreamClass. (processResolution,
9651         readFields): Use cached info from ObjectStreamClass.
9652         (newObject): Throw exception instead of returning null for failure.
9653         (getField, getMethod, callReadMethod, setBooleanField, setByteField,
9654         setCharField, setDoubleField, setFloatField, setIntField,
9655         setLongField, setShortField, setObjectField, readObjectParams):
9656         Removed. (dumpElement, dumpElementln): Removed dump flag condition
9657         check.
9658         * java/io/ObjectStreamField.java (hasReadMethod): Removed.
9659         (setClass): Added call to cacheMethods() (findMethod): New method.
9660         (cacheMethods): New method. (ObjectStreamClass): Added call to
9661         cacheMethods(). (setFields): Cache fields. (getClassUID): Use
9662         AccessController.doPrivileged to invoke setAccessible.
9663         (readObjectMethod, readResolveMethod, realClassIsSerializable,
9664         realClassIsExternalizable, fieldMapping, firstNonSerializableParent):
9665         New fields.
9666         * java/io/ObjectStreamField.java (ObjectStreamField): New constructor.
9667         (ObjectStreamField): Removed FIXME workaround. (getTypeString,
9668         isPrimitive): Made safe for cases where type == null.
9669         (setBooleanField, setByteField, setCharField, setShortField,
9670         setIntField, setLongField, setFloatField, setDoubleField,
9671         setObjectField): New methods.
9673 2004-02-05  Thomas Fitzsimmons  <fitzsim@redhat.com>
9675         * java/awt/Component.java (getFont): Return a default font
9676         instead of null.
9678         * java/awt/Scrollbar.java (next_scrollbar_number): New field.
9679         (Scrollbar (int, int, int, int, int)): Make default page
9680         increment 10.
9681         (setValues): Only call peer.setValues if one of the values has
9682         changed.
9683         (generateName): New method.
9684         (getUniqueLong): New method.
9685         * jni/gtk-peer/gnu_java_awt_peer_gtk_GtkScrollBarPeer.c
9686         (range_scrollbar): Remove structure.
9687         (post_adjustment_event): Remove function.
9688         (post_change_event): Accept jobject argument.
9689         (create): Cast jints to gdoubles.  Round scrollbar values to the
9690         nearest integer.  Clamp min, max and value settings.
9691         (connectJObject): Connect hook to widget->window.
9692         (connectSignals): Remove range_scrollbar structure variables.
9693         Remove "move-slider" connection.  Pass global peer reference to
9694         "value-changed" callback.
9695         (setLineIncrement): Cast jint value to gdouble.
9696         (setPageIncrement): Likewise.
9697         (setValues): Likewise.  Clamp min, max and value settings.
9699 2004-02-05  Michael Koch  <konqueror@gmx.de>
9701         * javax/swing/AbstractCellEditor.java
9702         (getCellEditorValue): Removed.
9703         * javax/swing/Box.java: Reformated.
9704         (serialVersionUID): New field.
9705         * javax/swing/ButtonGroup.java:
9706         Removed some weird whitespace.
9707         * javax/swing/CellEditor.java: Reformated.
9708         * javax/swing/CellRendererPane.java
9709         (serialVersionUID): New field.
9710         (AccessibleCellRendererPaneserialVersionUID): New field.
9711         * javax/swing/DefaultListModel.java
9712         (serialVersionUID): New field.
9713         * javax/swing/JEditorPane.java
9714         (serialVersionUID): New field.
9715         (setPage): Throws IOException.
9716         (addHyperlinkListener): Implemented.
9717         (removeHyperlinkListener): Implemented.
9718         (getHyperlinkListener): New method.
9719         * javax/swing/JFileChooser.java
9720         (serialVersionUID): New field.
9721         (AccessibleJFileChooser.serialVersionUID): New field.
9722         (addActionListener): Implemented.
9723         (removeActionListener): Implemented.
9724         (getActionListeners): New method.
9725         * javax/swing/JFormattedTextField.java
9726         (serialVersionUID): New field.
9727         (AbstractFormatter.serialVersionUID): New field.
9728         (clone): Throws CloneNotSupportedException
9729         (setEditValid): Add missing argument.
9730         (stringToValue): Throws ParseExcpetion.
9731         (valueToString): Throws ParseException.
9732         (commitEdit): Throws ParseException.
9733         * javax/swing/JLabel.java
9734         (serialVersionUID): New field.
9735         * javax/swing/JList.java
9736         (serialVersionUID): New field.
9737         (addListSelectionListener): Reformated.
9738         (removeListSelectionListener): Reformated.
9739         (getListSelectionListeners): New method.
9740         * javax/swing/colorchooser/AbstractColorChooserPanel.java:
9741         Reformated.
9742         (serialVersionUID): New field.
9743         * javax/swing/table/AbstractTableModel.java
9744         (getValueAt): Removed.
9745         (getColumnCount): Removed.
9746         (getRowCount): Removed.
9748 2004-02-05  Michael Koch  <konqueror@gmx.de>
9750         * java/awt/datatransfer/DataFlavor.java
9751         (imageFlavor): Javadoc added.
9752         (javaJVMLocalObjectType): Fixed.
9754 2004-02-05  Michael Koch  <konqueror@gmx.de>
9756         * java/lang/Thread.java
9757         (Thread): Reordered.
9758         (setContextClassLoader): Fixed javadoc comment.
9759         (setPriority): Reordered.
9760         (yield): Reordered.
9761         (initialize_native): Reordered.
9762         (gen_name): Reordered.
9764 2004-02-05  Michael Koch  <konqueror@gmx.de>
9766         * java/lang/Thread.java: Reordered fields, reformated much code,
9767         no functional changes, some variables renamed, javadoc comments
9768         merged.
9770 2004-02-05  Michael Koch  <konqueror@gmx.de>
9772         * java/util/zip/Deflater.java,
9773         java/util/zip/DeflaterOutputStream.java,
9774         java/util/zip/GZIPInputStream.java:
9775         Reformated and javadoc comments merged from classpath.
9777 2004-02-05  Michael Koch  <konqueror@gmx.de>
9779         * gnu/java/nio/NIOServerSocket.java
9780         (impl): Unused, removed.
9781         * gnu/java/nio/SocketChannelImpl.java
9782         (finnishConnect): Don't throw NoConnectionPendingException if not
9783         connected or no connection pending.
9785 2004-02-02  Graydon Hoare  <graydon@redhat.com>
9787         * javax/swing/SwingUtilities.java: Many new functions.
9788         * java/awt/Container.java (LightweightDispatcher): Reimplement.
9789         * javax/swing/basic/BasicGraphicsUtils.java 
9790         (getPreferredButtonSize): Start layout from top-left corner.
9792 2004-02-04  Olga Rodimina  <rodimina@redhat.com>
9794         * java/awt/geom/AffineTransform.java: 
9795         Corrected comments on the field definitions for
9796         m11 and m10.
9797         (shear): Fixed few errors that caused shear
9798         transformation to be performed incorrectly.
9799         (createInverse): Fixed to return correct
9800         inverse of the given matrix.
9802 2004-02-03  Tom Tromey  <tromey@redhat.com>
9804         * java/lang/natPosixProcess.cc (startProcess): Handle case where
9805         PATH or LD_LIBRARY_PATH is not set in parent environment.
9807 2004-02-03  Thomas Fitzsimmons  <fitzsim@redhat.com>
9809         * gnu/java/awt/peer/gtk/GtkListPeer.java,
9810         java/awt/BorderLayout.java, java/awt/CardLayout.java,
9811         java/awt/CheckboxGroup.java, java/awt/Choice.java,
9812         java/awt/Component.java, java/awt/Container.java,
9813         java/awt/FontMetrics.java, java/awt/GridBagLayout.java,
9814         java/awt/LayoutManager2.java, java/awt/List.java,
9815         java/awt/Menu.java, java/awt/MenuBar.java,
9816         java/awt/MenuItem.java, java/awt/Polygon.java,
9817         java/awt/Rectangle.java, java/awt/ScrollPane.java,
9818         java/awt/Scrollbar.java, java/awt/TextArea.java,
9819         java/awt/TextField.java,
9820         java/awt/image/renderable/RenderContext.java,
9821         javax/swing/JApplet.java: Fix handling of alias methods, where a
9822         method has been deprecated in favour of a new one with the same
9823         funtion but a different name.  Put the method implementation in
9824         the deprecated method and have the new method call the
9825         deprecated one.  Make all other code call the new method.
9827 2004-02-03  Mohan Embar  <gnustuff@thisiscool.com>
9829         * gnu/java/nio/DatagramChannelImpl.java
9830         (inChannelOperation): New field.
9831         (isInChannelOperation): New accessor.
9832         (setInChannelOperation): New modifier.
9833         (receive): Use capacity() - position() of destination
9834         buffer instead of remaining(). Set and reset our "in
9835         channel operation indicator" before and after delegating
9836         the receive to our datagram socket. Removed testing code.
9837         Update destination buffer's current position if it is
9838         backed by a byte array (hasArray() is true).
9839         (send): Set and reset our "in channel operation indicator"
9840         before and after delegating the send to our datagram socket.
9841         Removed testing code. Update source buffer's current position
9842         if it is backed by a byte array (hasArray() is true).
9843         * gnu/java/nio/SocketChannelImpl.java (read(ByteBuffer)):
9844         Use capacity() - position() of destination buffer instead
9845         of remaining().
9846         * java/net/DatagramSocket.java (receive): Don't throw an
9847         IllegalBlockingModeException if we have a non-blocking
9848         channel which initiated this operation.
9849         (send): Likewise.
9851 2004-02-01  Thomas Fitzsimmons  <fitzsim@redhat.com>
9853         * configure.in: Add pkgconfig check for glib and gthread.
9854         * configure: Regenerate.
9856 2004-02-01  Michael Koch  <konqueror@gmx.de>
9858         * include/jvm.h (MAYBE_UNUSED): New macro tp mark probably unused
9859         arguments.
9860         * jni.cc (_Jv_LookupJNIMethod): Mark 'args_size' unused.
9861         * verify.cc (debug_print): Mark 'fmt' unused.
9863 2004-01-30  Michael Koch  <konqueror@gmx.de>
9865         * configure.in: Use pkg-config to check for GTK 2.2 and libart 2.1.
9866         * configure: Regenerated.
9867         * glib-2.0.m4: Removed.
9868         * gtk-2.0.m4: Removed.
9869         * libart.m4: Removed.
9870         * pkg.m4: New file.
9872 2004-01-30  Mohan Embar  <gnustuff@thisiscool.com>
9874         * gnu/java/net/PlainSocketImpl.java 
9875         (inChannelOperation): New field.
9876         (isInChannelOperation): New accessor.
9877         (setInChannelOperation): New modifier.
9878         * gnu/java/nio/ServerSocketChannelImpl.java
9879         (accept): Set and reset our server socket's PlainSocketImpl's
9880         "in channel operation" indicator before and after delegating
9881         the accept to our server socket.
9882         * gnu/java/nio/SocketChannelImpl.java
9883         (connect): Set and reset our socket's PlainSocketImpl's "in channel
9884         operation" indicator before and after delegating the operation to
9885         our socket.
9886         (read): Likewise.
9887         (write): Likewise.
9888         * java/net/ServerSocket.java (implAccept): Don't throw an
9889         IllegalBlockingModeException if we have a non-blocking
9890         channel which initiated this accept operation.
9891         * java/net/Socket.java (connect): Don't throw an
9892         IllegalBlockingModeException if we have a non-blocking
9893         channel which initiated this connect operation.
9894         * java/nio/channels/spi/AbstractSelectableChannel.java
9895         (configureBlocking): Only call implConfigureBlocking() if
9896         the desired blocking mode is different from our current one.
9898 2004-01-29  Mohan Embar  <gnustuff@thisiscool.com>
9900         * java/io/BufferedReader.java (sbuf): New field.
9901         (readLine): Use String.valueOf instead of new String() as per
9902         Per Bothner's suggestion. Use instance sbuf field instead of a
9903         local StringBuffer instance.
9904         * java/io/InputStreamReader.java (read(char[],int,int)): Pass the
9905         caller's buffer to refill().
9906         (read(void)): Pass our internal work buffer to refill if our
9907         input queue is empty.
9908         (refill): Changed return type to int. Use the specified buffer
9909         instead of our work buffer as per Bryce McKinlay's suggestion.
9910         Return the number of characters read or -1 for EOF.
9912 2004-01-29  Scott Gilbertson  <scottg@mantatest.com>
9914         * gnu/awt/xlib/XCanvasPeer.java (handleEvent): Implemented.
9916 2004-01-29  Scott Gilbertson  <scottg@mantatest.com>
9918         * Makefile.am: Added gnu/awt/xlib/XFontPeer.java.
9919         * Makefile.in: Re-generated.
9920         * gnu/awt/xlib/XFontPeer.java: New file.
9921         * gnu/awt/xlib/XGraphics.java (setFont): Test for null font.
9922         (setClip): Commented out debug printout.
9923         * gnu/awt/xlib/XToolkit.java: Change superclass to ClasspathToolkit.
9924         (getFontPeer): Return XFontPeer.
9925         (getLocalGraphicsEnvironment): New method.
9926         (getClasspathFontPeer): New method.
9927         (createFont): New method.
9929 2004-01-29  Scott Gilbertson  <scottg@mantatest.com>
9931         * gnu/java/awt/peer/ClasspathFontPeer.java (getTransform): Never
9932         return null. 
9934 2004-01-29  Kim Ho  <kho@redhat.com>
9936         * gnu/java/awt/peer/gtk/GtkFramePeer.java
9937         (gtkLayoutSetVisible): New method
9938         (setMenuBar): Hide layout before setting MenuBar
9939         and reshow it after.
9940         * jni/gtk-peer/gnu_java_awt_peer_gtk_GtkWindowPeer.c
9941         (gtkLayoutSetVisible): Hide or show the Gtk Layout.
9943 2004-01-28  Michael Koch  <konqueror@gmx.de>
9945         * gnu/java/lang/ClassHelper.java
9946         (getPackagePortion): Removed.
9948 2004-01-28  Michael Koch  <konqueror@gmx.de>
9950         * javax/swing/JComponent.java
9951         (listenerList): Initalize globally.
9952         (ancestor_list): Removed.
9953         (veto_list): Removed.
9954         (change_list): Removed.
9955         (get_veto_list): Removed.
9956         (get_change_list): Removed.
9957         (get_ancestor_list): Removed.
9958         (removeAncestorListener): Reimplemented.
9959         (removePropertyChangeListener): Likewise.
9960         (removeVetoableChangeListener): Likewise.
9961         (addAncestorListener): Likewise.
9962         (addPropertyChangeListener): Likewise.
9963         (addVetoableChangeListener): Likewise.
9964         (getListeners): New method.
9965         (getAncestorListeners): Likewise.
9966         (getVetoableChangeListeners): Likewise.
9967         (fireVetoableChange): Throws PropertyVetoException.
9968         * javax/swing/JEditorPane.java
9969         (JEditorPane): Throws IOException.
9971 2004-01-28  David Jee  <djee@redhat.com>
9973         * gnu/java/awt/peer/gtk/GtkFramePeer.java
9974         (create): Set the default foreground color to
9975         java.awt.SystemColor.windowText.
9977 2004-01-27  Michael Koch  <konqueror@gmx.de>
9979         * gnu/java/awt/peer/gtk/GdkClasspathFontPeer.java,
9980         * gnu/java/awt/peer/gtk/GdkGlyphVector.java:
9981         Reindented to merge with classpath.
9983 2004-01-27  David Jee  <djee@redhat.com>
9985         * jni/gtk-peer/gnu_java_awt_peer_gtk_GtkComponentPeer.c
9986         (addExposeFilter): Handle GtkFramePeer separately.
9987         (removeExposeFilter): Likewise.
9989 2004-01-27  Michael Koch  <konqueror@gmx.de>
9991         * gnu/java/net/protocol/http/Connection.java
9992         (getOutputStream): Fixed typo.
9994 2004-01-27  Michael Koch  <konqueror@gmx.de>
9996         * java/lang/Class.java
9997         (getConstructor): Removed SecurityException from throws clause.
9998         (_getConstructors): Likewise.
9999         (getConstructors): Likewise.
10000         (getDeclaredConstructor): Likewise.
10001         (getDeclaredClasses): Likewise.
10002         (getDeclaredConstructors): Likewise.
10003         (getDeclaredField): Likewise.
10004         (getDeclaredMethod): Likewise.
10005         (getDeclaredMethods): Likewise.
10006         (getField): Likewise.
10007         (getMethod): Likewise.
10008         (getMethods): Likewise.
10010 2004-01-27  Kim Ho  <kho@redhat.com>
10012         * gnu/java/awt/peer/gtk/GtkFramePeer.java
10013         (removeMenuBarPeer): Remove MenuBarPeer argument.
10014         * gnu/java/awt/peer/gtk/GtkMenuComponentPeer.java
10015         (dispose): Call native method.
10016         * java/awt/Frame.java (setMenuBar): Create and remove
10017         MenuBar peers only if the Frame has a peer.
10018         (addNotify): Create the MenuBar peer if one exists.
10019         (removeNotify): Remove MenuBar peer if one exists.
10020         * java/awt/Menu.java: Fix imports.
10021         (addNotify): Don't use full class name.
10022         (removeNotify): Call removeNotify on all children.
10023         * java/awt/MenuBar.java (removeNotify): Call
10024         removeNotify on all children.
10025         * jni/gtk-peer/gnu_java_awt_peer_gtk_GtkWindowPeer.c
10026         (removeMenuBarPeer): Remove MenuBarPeer argument.
10027         Iterate through children to find the Frame's MenuBar.
10028         * jni/gtk-peer/gnu_java_awt_peer_gtk_GtkMenuComponentPeer.c
10029         New file.
10030         (dispose): Remove references to the MenuComponent.
10032 2004-01-27  Michael Koch  <konqueror@gmx.de>
10034         * javax/swing/AbstractCellEditor.java: Reformated.
10035         * javax/swing/DefaultListSelectionModel.java
10036         (listenerList): Made protected.
10037         (addListSelectionListener): Javadoc added.
10038         (removeListSelectionListener): Likewise.
10039         (getListeners): Likewise.
10040         (getListSelectionListeners): Likewise.
10041         * javax/swing/JComboBox.java: Merged copyright year.
10042         * javax/swing/plaf/basic/BasicGraphicsUtils.java: Merged empty line.
10044 2004-01-26  Andrew Haley  <aph@redhat.com>
10046         * javax/swing/table/JTableHeader.java: Extend JComponent
10048 2004-01-26  Kim Ho  <kho@redhat.com>
10050         * gnu/java/awt/peer/gtk/GtkFramePeer.java (setMenuBar):
10051         Fix spacing.
10053 2004-01-26  Kim Ho  <kho@redhat.com>
10055         * gnu/java/awt/peer/gtk/GtkFramePeer.java (moveLayout): New
10056         method.
10057         (setMenuBar): Shift the Gtk layout up/down by the MenuBar
10058         height and let the Layout Managers readjust anything that
10059         needs to move.
10060         * jni/gtk-peer/gnu_java_awt_peer_gtk_GtkWindowPeer.c
10061         (moveLayout): New method. Shift everything in the Gtk
10062         layout in the Y direction by an offset.
10064 2004-01-26  David Jee  <djee@redhat.com>
10066         * gnu/java/awt/peer/gtk/GtkComponentPeer.java
10067         (handleEvent): Implemented. Handles PaintEvents.
10068         (paint): Implemented. Use GTK native methods to queue updates
10069         for this heavyweight peer.
10070         * gnu/java/awt/peer/gtk/GtkContainerPeer.java
10071         (handleEvent): Removed.
10072         * java/awt/Component.java
10073         (paint): Implemented. Explictly paint the heavyweight peer.
10074         (update): Clear the background for heavyweight components.
10075         (paintAll): No need to call peer.paint() anymore.
10076         (processEvent): Don't process PaintEvents here. It's now done in
10077         the peer's handleEvent().
10078         (processPaintEvent): Removed.
10079         * java/awt/Container.java
10080         (paint): No need to call super.paint(). Visit heavyweight
10081         children as well.
10082         (update): Don't clear the background here.  It's done in
10083         Component.update().
10084         (visitChildren): Added check to not recurse into Containers.
10085         * jni/gtk-peer/gnu_java_awt_peer_gtk_GtkComponentPeer.c
10086         (filter_expose_event_handler): New method.  Filter unwanted
10087         expose events while painting heavyweight peers.
10088         (Java_gnu_java_awt_peer_gtk_GtkComponentPeer_addExposeFilter):
10089         New method. Connect filter and block pre_event_handler.
10090         (Java_gnu_java_awt_peer_gtk_GtkComponentPeer_removeExposeFilter):
10091         New method. Disconnect filter and unblock pre_event_handler.
10092         (Java_gnu_java_awt_peer_gtk_GtkComponentPeer_gtkWidgetQueueDrawArea):
10093         New method. Invalidate and update given area.
10094         * jni/gtk-peer/gnu_java_awt_peer_gtk_GtkEvents.c
10095         (pre_event_handler): Add checks for unwanted expose events.
10097 2004-01-26  David Jee  <djee@redhat.com>
10099         * jni/gtk-peer/gnu_java_awt_peer_gtk_GtkComponentPeer.c
10100         (find_bg_color_widget): For GtkButton, return its child.
10102 2004-01-26  Kim Ho  <kho@redhat.com>
10104         * gnu/java/awt/peer/gtk/GtkFramePeer.java (menuBarHeight): Mark
10105         private.
10106         (setMenuBar): Grab MenuBar height and change insets.
10107         (setBounds): Account for MenuBar height.
10108         (postInsetsChangedEvent): Ditto.
10109         (postSizeAllocateEvent): Remove.
10110         * jni/gtk-peer/gnu_java_awt_peer_gtk_GtkWindowPeer.c
10111         (menubar_resize_cb): Remove
10112         (setMenuBarPeer): Remove callback.
10113         (getMenuBarHeight): Use size requisition instead of
10114         allocation.
10116 2004-01-25  Thomas Fitzsimmons  <fitzsim@redhat.com>
10118         * java/awt/TextArea.java: Fix indentation.  Flesh out javadocs.
10119         (getMinimumSize (int, int)): Fix FIXME -- return Dimension (0,0)
10120         when peer is null.
10121         (setColumns): Remove FIXME -- peer will retrieve number of
10122         columns by calling getColumns.
10123         (setRows): Likewise for number of rows.
10124         (next_text_number): New field.
10125         (paramString): Fix param string.
10126         (generateName): New method.
10127         (getUniqueLong): New method.
10129 2004-01-25  Thomas Fitzsimmons  <fitzsim@redhat.com>
10131         * gnu/java/awt/peer/gtk/GtkToolkit.java (checkImage): Inform
10132         image observer of image loading status.
10133         (getImage (String)): Start image production.
10134         (getImage (URL)): Likewise.
10136 2004-01-25  Michael Koch  <konqueror@gmx.de>
10138         * java/lang/Class.java: Imports reworked, reformated.
10139         (Class): Javadoc added.
10140         (forName): Likewise.
10141         (getClasses): Likewise.
10142         (getClassLoader): Likewise.
10143         (getComponentType): Likewise.
10144         (getConstructor): Likewise.
10145         (getConstructors): Likewise.
10146         (getDeclaredConstructor): Likewise.
10147         (getDeclaredClasses): Likewise.
10148         (getDeclaredConstructors): Likewise.
10149         (getDeclaredField): Likewise.
10150         (getDeclaredMethod): Likewise.
10151         (getDeclaredMethods): Likewise.
10152         (getDeclaringClass): Likewise.
10153         (getField): Likewise.
10154         (getInterfaces): Likewise.
10155         (getMethod): Likewise.
10156         (getMethods): Likewise.
10157         (getModifiers): Likewise.
10158         (getName): Likewise.
10159         (getResource): Likewise.
10160         (getResourceAsStream): Likewise.
10161         (getSigners): Likewise.
10162         (setSigners): Likewise.
10163         (getSuperclass): Likewise.
10164         (isArray): Likewise.
10165         (isAssignableFrom): Likewise.
10166         (isInstance): Likewise.
10167         (isInterface): Likewise.
10168         (isPrimitive): Likewise.
10169         (newInstance): Likewise.
10170         (getProtectionDomain): Likewise.
10171         (toString): Likewise.
10172         (Class): Moved.
10173         (initializeClass): Likewise.
10174         (finalize): Likewise.
10176 2004-01-24  Michael Koch  <konqueror@gmx.de>
10178         * gnu/java/net/protocol/jar/Connection.java
10179         (hdrHash): Removed.
10180         (hdrVec): Removed.
10181         (gotHeaders): Removed.
10182         (getHeaderField): Removed.
10183         (getHeaderFields): Removed.
10184         (getHeaderFieldKey): Removed.
10185         (getKey): Removed.
10186         (getField): Removed.
10187         (getHeaders): Removed.
10189 2004-01-24  Michael Koch  <konqueror@gmx.de>
10191         * Makefile.am: Added library version to gtk peer lib.
10192         * Makefile.in: Regenerated.
10194 2004-01-24  Michael Koch  <konqueror@gmx.de>
10196         * java/util/zip/InflaterInputStream.java: Merged class documentation
10197         with classpath.
10199 2004-01-21  Jakub Jelinek  <jakub@redhat.com>
10201         * include/powerpc-signal.h: Add #ifndef __powerpc64__ around the
10202         header.  For __powerpc64__ provide the default-signal.h definitions
10203         for now.
10204         * include/x86_64-signal.h [!__x86_64__]: Include java-signal-aux.h
10205         instead of the dummy definitions.
10206         * configure.host (x86_64-*): Remove CHECKREFSPEC, add DIVIDESPEC.
10207         (powerpc64*-*): Remove with_libffi_default.
10208         Only add -mminimal-toc for 64-bit compilations.
10209         * configure.in: Use powerpc-signal.h on powerpc64 as well.
10210         (x86_64-*-linux*): Set SIGNAL_HANDLER_AUX.
10211         Link SIGNAL_HANDLER_AUX to include/java-signal-aux.h.
10212         * configure: Rebuilt.
10214 2004-01-23  Michael Koch  <konqueror@gmx.de>
10216         * gnu/java/nio/FileLockImpl.java: Compile fixes.
10218 2004-01-23  Michael Koch  <konqueror@gmx.de>
10220         * java/lang/VMClassLoader.java: Reworked imports.
10221         
10222 2004-01-23  Michael Koch  <konqueror@gmx.de>
10224         * javax/swing/AbstractAction.java: Reformated.
10226 2004-01-23  Michael Koch  <konqueror@gmx.de>
10228         * java/text/CollationElementIterator.java:
10229         (setText): New method.
10231 2004-01-23  Michael Koch  <konqueror@gmx.de>
10233         * gnu/java/nio/FileLockImpl.java:
10234         Fixed filename in copyright.
10235         (released): Removed.
10236         (finalize): New method.
10237         * gnu/java/nio/natFileLockImpl.cc
10238         (releaseImpl): Implemented.
10239         * java/nio/channels/FileChannelImpl.java:
10240         Reworked imports.
10241         (lock): Implemented.
10242         (lockImpl): New method.
10243         (tryLock): Implemented.
10244         (tryLockImpl): New method.
10245         * java/nio/channels/natFileChannelImpl.cc
10246         (lockImpl): New method.
10247         (tryLockImpl): New method.
10249 2004-01-23  Michael Koch  <konqueror@gmx.de>
10251         * java/io/FileDescriptor.java
10252         (lock): New method.
10253         (tryLock): New method.
10254         (unlock): New method.
10255         * java/io/natFileDescriptorEcos.cc
10256         (lock): New method.
10257         (tryLock): New method.
10258         (unlock): New method.
10259         * java/io/natFileDescriptorPosix.cc
10260         (lock): New method.
10261         (tryLock): New method.
10262         (unlock): New method.
10263         * java/io/natFileDescriptorWin32.cc
10264         (lock): New method.
10265         (tryLock): New method.
10266         (unlock): New method.
10268 2004-01-23  Michael Koch  <konqueror@gmx.de>
10270         * java/io/FileDescriptor.java
10271         (sync): Moved around, added javadoc.
10272         (valid): Likewise.
10273         (open): Likewise.
10274         (write): Likewise.
10275         (close): Likewise.
10276         (setLength): Likewise.
10277         (seek): Likewise.
10278         (getLength): Likewise.
10279         (getFilePointer): Likewise.
10280         (read): Likewise.
10281         (available): Likewise.
10282         (finalize): Likewise.
10284 2004-01-23  Michael Koch  <konqueror@gmx.de>
10286         * javax/swing/AbstractAction.java: Reformated.
10287         (getPropertyChangeListeners): New method.
10288         * javax/swing/AbstractCellEditor.java: Reformated.
10289         (getCellEditorListeners): New method.
10290         * javax/swing/DefaultListSelectionModel.java
10291         (listenerList): New field.
10292         (listeners): Removed.
10293         (get_listeners): Removed.
10294         (addListSelectionListener): Rewritten.
10295         (removeListSelectionListener): Rewritten.
10296         (getListSelectionListeners): New method.
10297         (getListeners): New method.
10298         * javax/swing/JComboBox.java: Imports reworked.
10299         (addActionListener): Implemented.
10300         (removeActionListener): Implemented.
10301         (addItemListener): Implemented.
10302         (removeItemListener): Implemented.
10303         (addPopupMenuListener): Implemented.
10304         (removePopupMenuListener): Implemented.
10305         (getActionListeners): New method.
10306         (getItemListeners): New method.
10307         (getPopupMenuListeners): New method.
10309 2004-01-23  Michael Koch  <konqueror@gmx.de>
10311         * gnu/java/net/protocol/http/Connection.java
10312         (connect): Don't initialize bufferedOutputStream if not needed.
10313         (sendRequest): Set property for content length if content is present.
10314         Write content only if present.
10315         (getOutputStream): Check if already connected, dont connect,
10316         initalize bufferedOutputStream if needed.
10318 2004-01-23  Michael Koch  <konqueror@gmx.de>
10320         * java/io/FileDescriptor.java
10321         (in, out, err): Added javadoc.
10322         (static): Merged loading code.
10323         (fd, position): Moved around.
10325 2004-01-23  Michael Koch  <konqueror@gmx.de>
10327         * gnu/java/awt/doc-files/BitwiseXORComposite-1.png:
10328         New file.
10330 2004-01-23  Michael Koch  <konqueror@gmx.de>
10332         * java/lang/Class.java,
10333         java/lang/Object.java,
10334         java/lang/Thread.java: Merged copyright with classpath.
10336 2004-01-23  Michael Koch  <konqueror@gmx.de>
10338         * java/io/FileDescriptor.java: Merged copyright with classpath to
10339         start merging this class.
10341 2004-01-22  Tom Tromey  <tromey@redhat.com>
10343         PR libgcj/13107:
10344         * testsuite/libjava.lang/pr13107_2.xfail: New file.
10345         * testsuite/libjava.lang/pr13107_3.xfail: New file.
10346         * testsuite/libjava.lang/pr13107_3.java: New file.
10347         * testsuite/libjava.lang/pr13107_3.out: New file.
10348         * testsuite/libjava.lang/pr13107_2.java: New file.
10349         * testsuite/libjava.lang/pr13107_2.out: New file.
10350         * testsuite/libjava.lang/pr13107.java: New file.
10351         * testsuite/libjava.lang/pr13107.out: New file.
10352         * verify.cc (jsr_ptrs): Removed.
10353         (entry_points): Likewise.
10354         (struct subr_info): Likewise.
10355         (struct subr_entry_info): Likewise.
10356         (type_val::unused_by_subroutine_type): Likewise.
10357         (type::merge): Don't handle unused_by_subroutine_type.
10358         (type::print): Likewise.
10359         (state::flags): Removed.
10360         (state::subroutine): Likewise.
10361         (state::seen_subrs): Likewise.
10362         (state::NO_STACK): Likewise.
10363         (state::FLAG_CHANGED, state::FLAG_UNUSED): Likewise.
10364         (state): Updated all methods.
10365         (state::clean_subrs): Removed.
10366         (state::state): Removed `ret_semantics' flag.
10367         (state::copy): Likewise.
10368         (state::add_subr): Removed.
10369         (state::enter_subroutine): Likewise.
10370         (type::set_return_address): New method.
10371         (handle_jsr_insn): Set return address on the type.  Always
10372         invalidate PC after call.
10373         (check_nonrecursive_call): Removed.
10374         (~_Jv_BytecodeVerifier): Updated.
10375         (branch_prepass): Removed special handling of jsr.
10376         (note_branch_target): Likewise.
10377         (get_subroutine): Removed.
10378         (state::merge): Don't merge subroutines and don't handle
10379         NO_STACK.  Removed ret_semantics and jsr_semantics arguments.
10380         (state::note_variable): Removed.
10381         (state::is_unmerged_ret_state): Likewise.
10382         (state::print): Updated.
10383         (set_variable): Likewise.
10384         (merge_into): Renamed from push_jump_merge.  Removed ret_semantics
10385         and jsr_semantics arguments.  Updated for new reverification
10386         list.
10387         (pop_jump): Rewrote.
10388         (construct_primitive_array_type): Updated.
10389         (state::next): Removed.
10390         (INVALID_STATE): New define.
10391         (state::INVALID): Removed.
10392         (state::NO_NEXT): New value.
10393         (state::pc, state::next): New fields.
10394         (state::get_pc): New method.
10395         (next_verify_pc): Removed.
10396         (next_verify_state): New field.
10397         (verify_instructions_0): Always check for falling off end.
10398         (linked): New type.
10399         (linked_utf8): Removed.
10400         (states): Changed type.
10401         (type::state_mergeable_p): New method.
10402         (state::state_mergeable_p): Likewise.
10403         (handle_ret_insn): Removed most code.
10404         (state::reverify): New method.
10405         (add_new_state): Likewise.
10406         (state::set_pc): Likewise.
10408 2004-01-22  Jeff Sturm  <jsturm@one-point.com>
10410         PR java/13733
10411         * testsuite/libjava.compile/PR13733.java: New file.
10412         * testsuite/libjava.compile/PR13733.xfail: New file.
10414 2004-01-22  Arnaud Vandyck  <arnaud.vandyck@ulg.ac.be>
10415             Michael Koch  <konqueror@gmx.de>
10417         * javax/swing/table/DefaultTableCellRenderer.java
10418         (DefaultTableCellRenderer): Added javadoc for the class and for
10419         the constructor, Border instance, create an EmptyBorder.
10420         (UIResource): Removed the comment at the end of the class
10421         (setForeground): New method.
10422         (setBackground): New method.
10423         (updateUI): New method.
10424         (getTableCellRendererComponent): Rewritten with the help of
10425         dvholten and Stephane Meslin-Weber.
10426         (validate): New method.
10427         (repaint): New method.
10428         (firePropertyChange): New method.
10429         (setValue): New method.
10431 2004-01-22  Thomas Fitzsimmons  <fitzsim@redhat.com>
10433         * jni/gtk-peer/gnu_java_awt_peer_gtk_GtkWindowPeer.c
10434         (connectJObject): Replace printf calls with g_assert statements.
10435         Move property-notify-event signal connection to ...
10436         (connectSignals): Connect property-notify-event signal.  Iterate
10437         through the vbox's children to find layout.
10439 2004-01-22  Graydon Hoare  <graydon@redhat.com>
10440         
10441         * gnu/java/awt/peer/gtk/GdkClasspathFontPeer.java: 
10442         * gnu/java/awt/peer/gtk/GdkGlyphVector.java:
10443         Predicate static initialization on GtkToolkit.useGraphics2D().
10444         * java/awt/Component.java (processPaintEvent): Consume event.
10445         * javax/swing/AbstractButton.java: Reimplement, document.
10446         * javax/swing/DefaultButtonModel.java: Reimplement, document.
10447         * javax/swing/JComponent.java (paint): Use double buffer.
10448         (listenerList): Enable member.
10449         * javax/swing/ToggleButtonModel.java: Remove incorrect constructor.
10450         * javax/swing/JToggleButton.java 
10451         (JToggleButton): Modify model constructor.
10452         * javax/swing/SwingUtilities.java 
10453         (layoutCompoundLabel): Adjust arithmetic.
10454         * javax/swing/plaf/basic/BasicButtonUI.java: Reimplement, document.
10455         * javax/swing/plaf/basic/BasicGraphicsUtils.java 
10456         (getPreferredButtonSize): Include margins in calculation.
10457         * jni/gtk-peer/gnu_java_awt_peer_gtk_GtkWindowPeer.c
10458         (Java_gnu_java_awt_peer_gtk_GtkWindowPeer_connectSignals):
10459         Receive up events from subordinate layout component.
10461 2004-01-21  Thomas Fitzsimmons  <fitzsim@redhat.com>
10463         * java/awt/Component.java (show): Set visible to true before
10464         showing the peer.
10466 2004-01-21  Kim Ho  <kho@redhat.com>
10468         * gnu/java/awt/peer/gtk/GtkFramePeer.java (postConfigureEvent):
10469         Fix comments.
10470         (removeMenuBarPeer): Make package private.
10471         (setMenuBarPeer): Make package private.
10472         * jni/gtk-peer/gnu_java_awt_peer_gtk_GtkWindowPeer.c
10473         (menubar_resize_cb): Mark attributes unused.
10474         (getMenuBarHeight): ditto.
10476 2004-01-21  David Jee  <djee@redhat.com>
10478         * java/awt/Container.java
10479         (LightweightDispatcher.handleEvent): Add an extra check to avoid
10480         dispatching MOUSE_ENTERED event twice. Translate the point for
10481         the mouse event target before dispatching the event.
10483 2004-01-20  Jakub Jelinek  <jakub@redhat.com>
10485         * Makefile.am (lib_org_w3c_dom_la_LIBADD,
10486         lib_org_w3c_dom_la_LDFLAGS): New.
10487         (lib_org_xml_sax_la_LIBADD, lib_org_xml_sax_la_LDFLAGS): New.
10488         * Makefile.in: Rebuilt.
10490 2004-01-20  Thomas Fitzsimmons  <fitzsim@redhat.com>
10492         * gnu/java/awt/peer/gtk/GtkComponentPeer.java (setBounds):
10493         Calculate proper offsets for heavyweight components packed in
10494         lightweight containers.
10496         * gnu/java/awt/peer/gtk/GtkTextFieldPeer.java,
10497         jni/gtk-peer/gnu_java_awt_peer_gtk_GtkTextFieldPeer.c
10498         (native create): Add width parameter.
10499         (create): Calculate text entry width based on current font's
10500         metrics and number of columns.  Set TextField's font if not
10501         already set.  Call native create.
10502         (gtkEntryGetBorderWidth): New native method.
10503         (gtkEntryGetSize): Remove method.
10504         (getMinimumSize): Call minimumSize.
10505         (getPreferredSize): Call preferredSize.
10506         (minimumSize): Calculate minimum size based on backing
10507         GtkEntry's borders, font metrics and number of columns.
10508         (preferredSize): Likewise for preferred size.
10509         (get_border_width): New static function.
10511         * gnu/java/awt/peer/gtk/GtkFramePeer.java (setResizable):
10512         Override GtkWindowPeer's setResizable method to account for menu
10513         bar height when setting the frame's size.
10515 2004-01-19  Matthias Klose  <doko@debian.org>
10517         * libtool-version: Increased `current' to 6.
10519 2004-01-19  Kim Ho  <kho@redhat.com>
10521         * jni/gtk-peer/gnu_java_awt_peer_gtk_GtkWindowPeer.c
10522         (connectJObject): Iterate through the vbox's children to find layout.
10524 2004-01-19  Fernando Nasser  <fnasser@redhat.com>
10526         * java/awt/EventQueue.java (invokeAndWait): Use list-aware
10527         isDispatchThread method to replace wrong test condition.
10529 2004-01-19  Fernando Nasser  <fnasser@redhat.com>
10531         * java/awt/EventQueue.java (pop): Prevent racing condition to add
10532         events to the queue out of order by acquiring locks in the proper
10533         order and not by releasing one before acquiring the other.
10535 2004-01-19  Fernando Nasser  <fnasser@redhat.com>
10537         * gnu/java/awt/peer/gtk/TestAWT.java (DialogWindow): Make text not
10538         visible so that dialog can be reused.
10540 2004-01-19  Fernando Nasser  <fnasser@redhat.com>
10542         * java/awt/EventQueue.java (getCurrentEvent): Consider that system
10543         events may be handled by any queue in the stack.
10545 2004-01-19  Kim Ho  <kho@redhat.com>
10547         * gnu/java/awt/peer/gtk/GtkFramePeer.java (getMenuBarHeight): Added
10548         MenuBarPeer parameter.
10549         (removeMenuBarPeer): New native method.
10550         (setMenuBar): Call remove if menu bar is null. Adjust insets
10551         appropriately.
10552         (postSizeAllocateEvent): New method. Called when menu bar size is
10553         allocated. Adjust insets and redo layout.
10554         (GtkFramePeer): Set menu bar during frame creation.
10555         (postConfigureEvent): Adjust position and size to accomodate
10556         menu bar.
10557         * java/awt/Frame.java (setMenuBar): addNotify to create menu bar.
10558         * java/awt/Menu.java (addSeparator): Use peer's addSeparator.
10559         (addNotify): Create the peer if it doesn't exist and call addNotify
10560         for the menu's items.
10561         * java/awt/MenuBar.java (addNotify): Create this menu bar's menus.
10562         * java/awt/MenuItem.java (addNotify): Create the peer if it
10563         doesn't exist.
10564         * jni/gtk-peer/gnu_java_awt_peer_gtk_GtkWindowPeer.c
10565         (removeMenuBarPeer): New method. Remove menu bar on the current
10566         frame.
10567         (setMenuBarPeer): Add the menu bar to the current frame and the
10568         callback for size-allocate events on the menu bar.
10569         (getMenuBarHeight): Add menu bar parameter.
10570         (menubar_resize_cb): New callback method for postSizeAllocate events.
10572         Also: Fix indentation on last ChangeLog entry.
10574 2004-01-16  Kim Ho  <kho@redhat.com>
10576         * gnu/java/awt/peer/gtk/GtkFileDialogPeer.java
10577         (gtkWidgetGetDimensions): Remove.
10578         * jni/gtk-peer/gnu_java_awt_peer_gtk_GtkWindowPeer.c
10579         (gtkWidgetGetDimensions): Remove.
10581 2004-01-16  Tom Tromey  <tromey@redhat.com>
10583         * java/awt/Container.java: Typo and indentation fixes.
10585         * java/lang/natClassLoader.cc: Moved VMClassLoader methods...
10586         * java/lang/natVMClassLoader.cc: ...here.  New file.
10587         * Makefile.in: Rebuilt.
10588         * Makefile.am (nat_source_files): Added natVMClassLoader.cc.
10590 2004-01-16  Fernando Nasser  <fnasser@redhat.com>
10592         * jni/gtk-peer/gnu_java_awt_peer_gtk_GtkEvents.c (pre_event_handler):
10593         Discard GDK_ENTER_NOTIFY related to ungrabs.
10595 2004-01-16  Fernando Nasser  <fnasser@redhat.com>
10597         * java/awt/EventQueue.java (pop): Prevent breaking the chain if pop
10598         is called for an intermediate queue.
10600 2004-01-16  Thomas Fitzsimmons  <fitzsim@redhat.com>
10602         * jni/gtk-peer/gnu_java_awt_peer_gtk_GtkWindowPeer.c
10603         (window_property_changed_cb): Set id_set.
10605 2004-01-16  Kim Ho  <kho@redhat.com>
10607         * gnu/java/awt/peer/gtk/GtkComponentPeer.java (GtkComponentPeer): If
10608         it is a FileDialog and has dimensions of 0 by 0, then the initial
10609         size is set to size request plus insets.
10610         * gnu/java/awt/peer/gtk/GtkFileDialogPeer.java
10611         (gtkWidgetGetDimensions): Override method.
10612         * jni/gtk-peer/gnu_java_awt_peer_gtk_GtkWindowPeer.c
10613         (gtkWidgetGetDimensions): Override method. Returns size request plus
10614         insets.
10616 2004-01-16  Andrew Haley  <aph@redhat.com>
10618         * sysdep/x86-64/locks.h: Don't use in/out memory constraints.
10619         * sysdep/i386/locks.h: Likewise.
10621 2004-01-16  Fernando Nasser  <fnasser@redhat.com>
10623         * java/awt/EventDispatchThread.java (run): Stop running when
10624         interrupted.
10625         * java/awt/EventQueue.java (pop): Stop dispatch thread when done.
10626         Reset the queue after transferring its contents.
10627         (push): Start a new dispatch thread if none is running.
10629 2004-01-16  Olga Rodimina <rodimina@redhat.com>
10631         * gnu/java/awt/peer/gtk/GdkGraphics2D.java:
10632         (doPolygon): set fill rule of polygon to 
10633         WIND_EVEN_ODD by default.
10635 2004-01-15  Olga Rodimina <rodimina@redhat.com>
10637         * gnu/java/awt/peer/gtk/GdkGraphics2D.java:
10638         Implemented rendering hints related methods.
10639         (getDefaultHints): New helper method. Returns
10640         default rendering hints.
10641         (walkPath): changed to normalize path if
10642         the KEY_STROKE_CONTROL key is in "normalize" mode.
10643         (draw3DRect): changed coordinates of rectangle by +0.5
10644         if in "normalize" mode.
10646 2004-01-15  Tom Tromey  <tromey@redhat.com>
10648         * Makefile.in: Rebuilt.
10649         * Makefile.am (gnu/gcj/runtime/StackTrace.lo): New rule.
10650         (%.lo: %.java) Filter out StackTrace.lo.
10652 2004-01-14  Kelley Cook  <kcook@gcc.gnu.org>
10654         * configure.in: Add in AC_PREREQ(2.13)
10655         * libltdl/configure.ac: Update to AC_PREREQ(2.57).  Delete 
10656         FIXME comment.
10658 2004-01-14  Nathan Bryant  <nbryant@optonline.net>
10659             Tom Tromey  <tromey@redhat.com>
10661         PR libgcj/12001:
10662         * gnu/gcj/runtime/VMClassLoader.java (VMClassLoader): Pass empty
10663         array to superclass.
10664         (init): Changed interface; add URLs here.
10665         (initialize): New static method.
10666         * prims.cc (_Jv_CreateJavaVM): Initialize ClassLoader here...
10667         (_Jv_RunMain): ... not here.
10669 2004-01-14  Michael Koch  <konqueror@gmx.de>
10671         * java/text/MessageFormat.java:
10672         Added descriptions to exceptions.
10673         This fixes PR libgcj/2429.
10675 2004-01-13  Fernando Nasser  <fnasser@redhat.com>
10677         * java/awt/EventQueue.java (isDispatchThread): Do check on top of stack.
10678         (push): Make sure push is performed at the top of the thread stack.
10680 2004-01-13  Thomas Fitzsimmons  <fitzsim@redhat.com>
10682         * gnu/java/awt/peer/gtk/GtkTextAreaPeer.java,
10683         jni/gtk-peer/gnu_java_awt_peer_gtk_GtkTextAreaPeer.c
10684         (native create): Add width and height parameters.  Set text
10685         view's size request according to new parameters.
10686         (create): Calculate text view size based on current font's
10687         metrics and number of rows and columns.  Set TextArea's font if
10688         not already set.  Call native create.
10689         (getMinimumSize): Call minimumSize.
10690         (getPreferredSize): Call preferredSize.
10691         (getHScrollbarHeight): New method.
10692         (getVScrollbarWidth): New method.
10693         (minimumSize): Calculate minimum size based on scrollbar
10694         visibility, scrollbar sizes, font metrics and number of rows and
10695         columns.
10696         (preferredSize): Likewise for preferred size.
10697         (gtkTextGetSize): Remove method.
10699 2004-01-13  Thomas Fitzsimmons  <fitzsim@redhat.com>
10701         * gnu/java/awt/peer/gtk/GtkComponentPeer.java
10702         (initializeInsets): Remove method.
10703         (GtkComponentPeer): Initialize insets field.  Remove call to
10704         initializeInsets.
10705         * gnu/java/awt/peer/gtk/GtkDialogPeer.java (initializeInsets):
10706         Remove method.
10707         * gnu/java/awt/peer/gtk/GtkFramePeer.java (initializeInsets):
10708         Remove method.
10709         * gnu/java/awt/peer/gtk/GtkWindowPeer.java,
10710         jni/gtk-peer/gnu_java_awt_peer_gtk_GtkWindowPeer.c:
10711         (latestInsets): Remove field.
10712         (native create): Add insets parameter.  Call
10713         window_get_frame_extents.  Set the window's default size and
10714         size request based on its frame extents.
10715         (create): Initialize insets.
10716         (postInsetsChangedEvent): New method.
10717         (postConfigureEvent): Remove parameters top, left, bottom,
10718         right.  Remove insets-related logic.
10719         (connectJObject): Handle property-notify-event.
10720         (window_get_frame_extents, request_frame_extents,
10721         property_notify_predicate, window_property_changed_cb): New
10722         static functions.
10723         * jni/gtk-peer/gnu_java_awt_peer_gtk_GtkEvents.c
10724         (pre_event_handler): Remove insets-related logic for configure
10725         events.
10726         * jni/gtk-peer/gnu_java_awt_peer_gtk_GtkMainThread.c (gtkInit):
10727         Update postConfigureEvent signature.
10729 2004-01-13  Fernando Nasser  <fnasser@redhat.com>
10731         * gnu/java/awt/peer/gtk/TestAWT.java (DialogWindow): Add WindowAdapter
10732         to handle Window "Closing" events.
10734 2004-01-13  David Jee  <djee@redhat.com>
10736         * gnu/java/awt/peer/gtk/GtkContainerPeer.java
10737         (setBackground): New method. Children with no explicitly-set
10738         background will be repainted with the parent container's new
10739         background color.
10741 2004-01-13  David Jee  <djee@redhat.com>
10743         * Makefile.am: Add BitwiseXORComposite.java.
10744         * Makefile.in: Regenerated.
10745         * gcj/Makefile.in: Regenerated.
10746         * include/Makefile.in: Regenerated.
10747         * testsuite/Makefile.in: Regenerated.
10749 2004-01-12  Fernando Nasser  <fnasser@redhat.com>
10751         * gnu/java/awt/peer/gtk/TestAWT.java: Fix test program so that it does
10752         not show modal dialogs twice and so that it allows showing a modal
10753         dialog from another modal dialog.
10755 2004-01-12  Fernando Nasser  <fnasser@redhat.com>
10757         * java/awt/Dialog.java (show): Enable blocking for all modal dialogs
10758         and run secondary dispatch thread to process event queue while this
10759         thread is blocked.
10761 2004-01-12  Graydon Hoare  <graydon@redhat.com>
10763         * gnu/java/awt/gtk/GdkGraphics2D.java
10764         (static): Check GtkToolkit before initializing static state.
10765         (Graphics2D): Don't construct transform with 0.5 unit offset.
10767 2003-11-06  Sascha Brawer  <brawer@dandelis.ch>
10769         * gnu/java/awt/BitwiseXORComposite.java: Add.
10770         * gnu/java/awt/peer/gtk/GdkGraphics2D.java
10771         (setXORMode): Switch to gnu.java.awt.BitwiseXORComposite.
10772         (BitwiseXORComposite): Remove inner class.
10774 2004-01-11  Michael Koch  <konqueror@gmx.de>
10776         * gnu/java/lang/reflect/TypeSignature.java
10777         (getEncodingOfClass): Documentation fixed.
10778         (getClassForEncoding): Give class loader to Class.forName().
10779         Documentation fixed.
10781 2004-01-11  Sascha Brawer  <brawer@dandelis.ch>
10783         * javax/swing/undo/CompoundEdit.java (serialVersionUID): Added.
10785 2004-01-11  Michael Koch  <konqueror@gmx.de>
10787         * javax/swing/undo/StateEditable.java
10788         (RCSID): Removed redundant modifiers.
10790 2004-01-10  Michael Koch  <konqueror@gmx.de>
10792         * javax/print/attribute/EnumSyntax.java
10793         (getStringTable): Made protected.
10794         (getEnumValueTable): Likewise.
10795         * javax/print/attribute/standard/JobKOctetsProcessed.java
10796         (JobKOctetsProcessed): Don't implement PrintRequestAttribute.
10797         * javax/print/attribute/standard/JobMediaSheetsCompleted.java
10798         (JobMediaSheetsCompleted): Made class final.
10799         * javax/print/attribute/standard/OutputDeviceAssigned.java
10800         (getName): Fixed typo.
10801         * javax/print/attribute/standard/RequestingUserName.java
10802         (serialVersionUID): Fixed value.
10804 2004-01-10  Michael Koch  <konqueror@gmx.de>
10806         * javax/swing/plaf/basic/BasicButtonUI.java,
10807         javax/swing/plaf/basic/BasicCheckBoxUI.java,
10808         javax/swing/plaf/basic/BasicListUI.java,
10809         javax/swing/plaf/basic/BasicOptionPaneUI.java,
10810         javax/swing/plaf/basic/BasicPanelUI.java,
10811         javax/swing/plaf/basic/BasicRadioButtonUI.java,
10812         javax/swing/plaf/basic/BasicScrollPaneUI.java,
10813         javax/swing/plaf/basic/BasicToggleButtonUI.java,
10814         javax/swing/plaf/basic/BasicViewportUI.java:
10815         Fixed import statements.
10817 2004-01-10  Michael Koch  <konqueror@gmx.de>
10819         * gnu/java/awt/image/ImageDecoder.java
10820         (produce): Made public.
10821         * gnu/java/awt/peer/GLightweightPeer.java,
10822         gnu/java/awt/peer/gtk/GtkToolkit.java:
10823         Reformated.
10825 2004-01-10  Michael Koch  <konqueror@gmx.de>
10827         * javax/swing/JRadioButtonMenuItem.java,
10828         javax/swing/JSeparator.java,
10829         javax/swing/JSplitPane.java,
10830         javax/swing/JTextPane.java,
10831         javax/swing/JToolBar.java,
10832         javax/swing/ListCellRenderer.java,
10833         javax/swing/ListModel.java,
10834         javax/swing/MenuElement.java,
10835         javax/swing/OverlayLayout.java,
10836         javax/swing/ProgressMonitor.java,
10837         javax/swing/ProgressMonitorInputStream.java,
10838         javax/swing/Renderer.java,
10839         javax/swing/RootPaneContainer.java,
10840         javax/swing/Scrollable.java,
10841         javax/swing/SingleSelectionModel.java,
10842         javax/swing/ToolTipManager.java,
10843         javax/swing/ViewportLayout.java,
10844         javax/swing/event/DocumentEvent.java,
10845         javax/swing/event/SwingPropertyChangeSupport.java,
10846         javax/swing/event/TreeSelectionEvent.java,
10847         javax/swing/event/UndoableEditEvent.java,
10848         javax/swing/text/AbstractDocument.java,
10849         javax/swing/text/AttributeSet.java,
10850         javax/swing/text/Caret.java,
10851         javax/swing/text/ComponentView.java,
10852         javax/swing/text/DefaultCaret.java,
10853         javax/swing/text/DefaultEditorKit.java,
10854         javax/swing/text/Document.java,
10855         javax/swing/text/EditorKit.java,
10856         javax/swing/text/GapContent.java,
10857         javax/swing/text/Keymap.java,
10858         javax/swing/text/MutableAttributeSet.java,
10859         javax/swing/text/PlainEditorKit.java,
10860         javax/swing/text/Segment.java,
10861         javax/swing/text/Style.java,
10862         javax/swing/text/StyledDocument.java,
10863         javax/swing/text/StyledEditorKit.java,
10864         javax/swing/text/TextAction.java,
10865         javax/swing/text/View.java: Fixed import statements.
10867 2004-01-08  Graydon Hoare  <graydon@redhat.com>
10869         * javax/swing/JLayeredPane.java: Rewrite to accomodate
10870         djee@redhat.com's recent inverse ordering of Container elements.
10872 2004-01-09  Michael Koch  <konqueror@gmx.de>
10874         * gnu/java/lang/ArrayHelper.java
10875         (equalsArray): Removed.
10877 2004-01-09  Andrew Haley  <aph@redhat.com>
10879         * java/lang/natClassLoader.cc (_Jv_PrepareCompiledClass): Resolve
10880         a Utf8Const field before looking at its class.
10882 2004-01-09  Michael Koch  <konqueror@gmx.de>
10884         * javax/print/attribute/standard/DocumentName.java,
10885         javax/print/attribute/standard/JobHoldUntil.java,
10886         javax/print/attribute/standard/JobMessageFromOperator.java,
10887         javax/print/attribute/standard/JobName.java,
10888         javax/print/attribute/standard/JobOriginatingUserName.java,
10889         javax/print/attribute/standard/OutputDeviceAssigned.java,
10890         javax/print/attribute/standard/PrinterInfo.java,
10891         javax/print/attribute/standard/PrinterLocation.java,
10892         javax/print/attribute/standard/PrinterMakeAndModel.java,
10893         javax/print/attribute/standard/PrinterMessageFromOperator.java,
10894         javax/print/attribute/standard/PrinterName.java,
10895         javax/print/attribute/standard/RequestingUserName.java: New files.
10896         * Makefile.am (javax_source_files): Added new files.
10897         * Makefile.in: Regenerated.
10899 2004-01-09  Michael Koch  <konqueror@gmx.de>
10901         * javax/swing/AbstractAction.java,
10902         javax/swing/AbstractSet.java,
10903         javax/swing/Action.java,
10904         javax/swing/ActionMap.java,
10905         javax/swing/BoundedRangeModel.java,
10906         javax/swing/ButtonModel.java,
10907         javax/swing/CellEditor.java,
10908         javax/swing/CellRendererPane.java,
10909         javax/swing/ComboBoxEditor.java,
10910         javax/swing/DebugGraphics.java,
10911         javax/swing/DefaultCellEditor.java,
10912         javax/swing/DefaultCellRenderer.java,
10913         javax/swing/DefaultComboBoxModel.java,
10914         javax/swing/DefaultDesktopManager.java,
10915         javax/swing/DefaultFocusManager.java,
10916         javax/swing/DefaultListCellRenderer.java,
10917         javax/swing/Icon.java,
10918         javax/swing/JButton.java,
10919         javax/swing/JCheckBoxMenuItem.java,
10920         javax/swing/JDesktopPane.java,
10921         javax/swing/JEditorPane.java,
10922         javax/swing/JMenu.java,
10923         javax/swing/JPanel.java,
10924         javax/swing/JPasswordField.java,
10925         javax/swing/JPopupMenu.java,
10926         javax/swing/JProgressBar.java: Reworked imports.
10928 2004-01-09  Michael Koch  <konqueror@gmx.de>
10930         * java/awt/geom/PathIterator.java
10931         (WIND_EVEN_ODD): Removed redundant modifiers.
10932         (WIND_NON_ZERO): Likewise.
10933         (SEG_MOVETO): Likewise.
10934         (SEG_LINETO): Likewise.
10935         (SEG_QUADTO): Likewise.
10936         (SEG_CUBICTO): Likewise.
10937         (SEG_CLOSE): Likewise.
10938         * java/awt/image/SinglePixelPackedSampleModel.java:
10939         Removed redundant semicolon.
10940         * java/io/ObjectInputStream.java
10941         (inputGetObjectStreamClasses): Removed unused variable "ret_val".
10942         * java/util/logging/Filter.java
10943         (isLoggable): Removed redundant modifier.
10944         * java/util/logging/LogManager.java:
10945         Removed redundant semicolon.
10946         * java/util/logging/XMLFormatter.java
10947         (format): Removed unused variable "key".
10949 2004-01-08  Fernando Nasser  <fnasser@redhat.com>
10951         * gnu/java/awt/peer/gtk/GtkFileDialogPeer.java (nativeSetFile):
10952         New name for the former setFile native method.
10953         (setFile): New method.
10954         (setDirectory): Implemented.
10955         (connectSignals): New native method.
10956         (setFilenameFilter): Improve comment.
10957         (getGraphics): Comment.
10958         (gtkHideFileDialog): New method.
10959         (gtkDisposeFileDialog): New method.
10960         (gtkSetFilename): New method.
10961         * java/awt/Dialog.java (show): Block on modal dialogs, but only
10962         for FileDialog for now.
10963         (hide): New method.
10964         (dispose): New method.
10965         * jni/gtk-peer/gnu_java_awt_peer_gtk_GtkFileDialogPeer.c
10966         (Java_gnu_java_awt_peer_gtk_GtkFileDialog_create): Replace
10967         deprecated creation functions.  Make dialog modal.  Add it to the
10968         window group.
10969         (Java_gnu_java_awt_peer_gtk_GtkFileDialog_connectSignals): New
10970         function.
10971         (Java_gnu_java_awt_peer_gtk_GtkFileDialogPeer_gtkFileSelectionSetFilename):
10972         Rename to...
10973         (Java_gnu_java_awt_peer_gtk_GtkFileDialogPeer_nativeSetFile): New
10974         name.
10975         (window_closed): New function.
10976         (ok_clicked): New function.
10977         (cancel_clicked): New function.
10979 2004-01-08  Michael Koch  <konqueror@gmx.de>
10981         * javax/swing/JLayeredPane.java: Revert changes to standard
10982         boilerplate, reworked imports.
10984 2004-01-07  Tom Tromey  <tromey@redhat.com>
10986         PR libgcj/13439:
10987         * verify.cc (state::merge): Copy changed locals out of subroutine
10988         in NO_STACK case.
10989         (state::FLAG_CHANGED): New const.
10990         (state::FLAG_UNUSED): Likewise.
10991         (state::local_changed): Removed.  Updated all users.
10992         (state::flags): New field.
10993         (state::merge): Added jsr_semantics argument, more logic.
10994         (push_jump_merge): Added jsr_semantics argument.
10995         (handle_jsr_insn): Set jsr_semantics on push_jump_merge when
10996         merging through the jsr instruction.
10998 2004-01-07  Tom Tromey  <tromey@redhat.com>
11000         * scripts/MakeDefaultMimeTypes.java: Use \n, not
11001         backslash-newline.
11003 2004-01-07  Graydon Hoare  <graydon@redhat.com>
11005         * java/awt/Container.java (LightweightDispatcher): Implement.
11006         (visitChild): Reuse graphics object.
11007         (dispatchEventImpl): Optionally dispatch to lightweight.
11008         (addNotifyContainerChildren): Build LightweightDispatcher.
11010 2004-01-07  David Jee  <djee@redhat.com>
11012         * java/awt/Container.java
11013         (update): Clear only the clipped region, instead of clearing the
11014         entire Container.
11015         (visitChildren): Visit children in descending order.
11017 2004-01-07  Michael Koch  <konqueror@gmx.de>
11019         * java/lang/reflect/Array.java: Merged documentation with classpath.
11021 2004-01-07  Michael Koch  <konqueror@gmx.de>
11023         * java/text/CollationElementIterator.java
11024         (textIndex): Renamed from index.
11025         * java/text/CollationKey.java
11026         (collator): New member.
11027         (CollationKey): New argument for parent collator.
11028         (equals): Check for same collator, source string and key array.
11029         * java/text/RuleBasedCollator.java:
11030         Reformated.
11031         (RuleBasedCollator): Don't re-initialize frenchAccents with default
11032         value.
11033         (getCollationElementIterator): Rewritten.
11034         (getCollationKey): Added new argument to CollationKey constructor.
11036 2004-01-07  Michael Koch  <konqueror@gmx.de>
11038         * gnu/java/nio/DatagramChannelImpl.java
11039         (blocking): Removed.
11040         (DatagramChannelImpl): Call configureBlocking().
11041         (implConfigureBlocking): Dont initialize blocking.
11042         * gnu/java/nio/ServerSocketChannelImpl.java
11043         (blocking): Removed.
11044         (ServerSocketChannelImpl): Call configureBlocking().
11045         (implConfigureBlocking): Dont initialize blocking.
11046         * gnu/java/nio/SocketChannelImpl.java
11047         (blocking): Removed.
11048         (SocketChannelImpl): Call configureBlocking().
11049         (implConfigureBlocking): Dont initialize blocking.
11050         (connect): Use isBlocking().
11051         * java/nio/channels/spi/AbstractSelectableChannel.java
11052         (configureBlocking): Use blockingLock() instead of LOCK.
11053         Set blocking after successfully called implConfigureBlocking().
11054         (register): Use blockingLock() instead of LOCK.
11056 2004-01-07  Michael Koch  <konqueror@gmx.de>
11058         * java/net/ServerSocket.java (isBound): Fixed documentation.
11060 2004-01-07  Sascha Brawer  <brawer@dandelis.ch>
11062         * javax/swing/DefaultBoundedRangeModel.java: Documented API.
11063         (changeEvent): Create event object on demand.
11064         (DefaultBoundedRangeModel, toString, setValue, setExtent,
11065         setMinimum, setMaximum, setValueIsAdjusting, setRangeProperties,
11066         fireStateChanged): Re-written.
11067         * javax/swing/event/EventListenerList.java: Reformatted, document
11068         typical usage.
11069         (toString): Implemented.
11070         (getListeners): Re-written.
11071         (remove): Re-written.
11072         (add): Re-written.
11073         (NO_LISTENERS): New singleton field.
11074         (listenerList): Declare as transient; document.
11075         (serialVersionUID): Document.
11076         (getListenerCount(Class)): More efficient implementation,
11077         also accepts null argument.  Improve Javadoc.
11078         (getListenerCount()): Remove unnecessary cast; docfix.
11079         * javax/swing/undo/UndoableEditSupport.java:
11080         Re-format, document.
11081         (UndoableEditSupport): Set realSource field. Improve documentation.
11082         (_postEdit): Iterate over cloned listener vector.
11083         (toString): Don't emit realSource.
11084         (beginUpdate, endUpdate): Support nested updates.
11085         (postEdit): Use compound edit if present.
11087 2004-01-06  Graydon Hoare  <graydon@redhat.com>
11089         * java/awt/Container.java (swapComponents): Add forgotten
11090         function, required for JLayeredPane change.
11092 2004-01-06  Michael Koch  <konqueror@gmx.de>
11094         * java/text/CollationElementIterator.java: Reformated.
11095         (CollationElementIterator): Changed order of arguments.
11096         * java/text/RuleBasedCollator.java
11097         (RuleBasedCollator): Merged class documentation.
11098         (CollationElement): Added documentation.
11099         (compare): Reformated, renamed arguments.
11100         (equals): Likewise.
11101         (getCollationElementIterator): Likewise.
11102         (getCollationKey): Likewise.
11104 2004-01-06  Graydon Hoare  <graydon@redhat.com>
11106         * javax/swing/JLayeredPane.java: Fix semantics, add javadocs.
11108 2004-01-06  Michael Koch  <konqueror@gmx.de>
11110         * gnu/java/net/protocol/file/Connection.java:
11111         Reformated copyright.
11112         (hdrHash): Removed.
11113         (hdrVec): Removed.
11114         (gotHeaders): Removed.
11115         (getHeaderField): Removed.
11116         (getHeaderField): Removed.
11117         (getHeaderFieldKey): Removed.
11118         (getKey): Removed.
11119         (getField): Removed.
11120         (getHeaders): Removed.
11122 2004-01-06  Michael Koch  <konqueror@gmx.de>
11124         * javax/print/attribute/standard/DateTimeAtCompleted.java,
11125         javax/print/attribute/standard/DateTimeAtCreation.java,
11126         javax/print/attribute/standard/DateTimeAtProcessing.java,
11127         javax/print/attribute/standard/JobImpressionsCompleted.java,
11128         javax/print/attribute/standard/JobKOctets.java,
11129         javax/print/attribute/standard/JobKOctetsProcessed.java,
11130         javax/print/attribute/standard/JobMediaSheetsCompleted.java,
11131         javax/print/attribute/standard/JobPrioritySupported.java: New files.
11132         * Makefile.am (javax_source_files): Added new files.
11133         * Makefile.in: Regenerated.
11135 2004-01-06  Michael Koch  <konqueror@gmx.de>
11137         * java/net/URLConnection.java
11138         (contentHandler): Removed.
11139         (locale): Removed.
11140         (getHeaderFields): Return an empty map instead of null.
11141         (getContent): Connect if needed, renamed "cType" to "type" and
11142         "contentHandler" to "ch" and made it a local variable.
11143         (getPermission): Don't use package in class name.
11144         (setDefaultRequestProperty): Fixed typo in documentation.
11145         (initializeDateFormats): Made locale a local variable.
11147 2004-01-06  Michael Koch  <konqueror@gmx.de>
11149         * java/lang/Package.java
11150         (getPackage): Get the current class loader directly.
11151         * java/lang/SecurityManager.java
11152         (currentLoadedClass): Dont iterate over class contexts.
11153         (classLoaderDepth): Don't check class loaders if everything is allowed.
11155 2004-01-05  Thomas Fitzsimmons  <fitzsim@redhat.com>
11157         * jni/gtk-peer/gnu_java_awt_peer_gtk_GtkEvents.c
11158         (pre_event_handler): Set all insets to 0 when a Configure event
11159         is received for a GtkPlug.
11160         * gnu/java/awt/EmbeddedWindow.java (window_id): Rename handle.
11161         Make handle long, not int.
11162         (EmbeddedWindow()): New constructor.
11163         (EmbeddedWindow(int)): Rename window_id to handle.  Make handle
11164         long, not int.
11165         (setHandle): New method.
11166         (getHandle): Return long, not int.
11167         * gnu/java/awt/peer/EmbeddedWindowPeer.java (embed): New method
11168         declaration.
11169         * gnu/java/awt/peer/gtk/GtkEmbeddedWindowPeer.java,
11170         jni/gtk-peer/gnu_java_awt_peer_gtk_GtkEmbeddedWindowPeer.c:
11171         (create(long)): Take long parameter, not int.  Cast gtk_plug_new
11172         argument to GdkNativeWindow.
11173         (construct): New method.
11174         (embed): New method.
11176         * gnu/java/awt/peer/gtk/GtkScrollPanePeer.java,
11177         jni/gtk-peer/gnu_java_awt_peer_gtk_GtkScrollPanePeer.c
11178         (create(int, int)): New method.
11179         (create): Call new create method.
11180         (gtkScrolledWindowNew, gtkScrolledWindowSetSize): Remove
11181         methods.
11182         (childResized): Remove native implementation.  Implement in
11183         Java.
11184         (getHScrollbarHeight, getVScrollbarWidth): Call
11185         gtk_widget_size_request to get scrollbar dimensions.
11186         * java/awt/ScrollPane.java (getViewportSize): Reimplement.  Only
11187         call getVScrollbarWidth and getHScrollbarHeight when vertical
11188         and horizontal scrollbars respectively are needed.
11189         (doLayout): Enlarge child if it is smaller than the viewport.
11191 2004-01-05  Fernando Nasser  <fnasser@redhat.com>
11193         * java/awt/Dialog.java (constructor): Accept null title as per spec.
11194         * java/awt/FileDialog.java (constructor): Throw exception on invalid
11195         argument as per spec.
11197 2004-01-05  Fernando Nasser  <fnasser@redhat.com>
11199         * java/awt/Choice.java (add): Leave posting of ItemEvents to peer.
11200         (insert): Ditto.
11201         (remove): Ditto.  Also, Check for valid argument.
11202         (removeAll): Use peer interface method.
11203         * gnu/java/awt/peer/gtk/GtkChoicePeer.java (nativeAdd): New name for
11204         native add function.
11205         (nativeRemove): New name for native remove function.
11206         (getHistory): New native function.
11207         (constructor): Generate ItemEvent.
11208         (add): Ditto, if selection is changed.
11209         (remove): Ditto, ditto.
11210         (removeAll): Add implementation.
11211         (handleEvent): Remove.  Dead code.
11212         (choicePostItemEvent): Add comment.
11213         * jni/gtk-peer/gnu_java_awt_peer_gtk_GtkChoicePeer.c
11214         (Java_gnu_java_awt_peer_gtk_GtkChoicePeer_append): Add comments.
11215         (Java_gnu_java_awt_peer_gtk_GtkChoicePeer_add): Rename to...
11216         (Java_gnu_java_awt_peer_gtk_GtkChoicePeer_nativeAdd): New name.  Add
11217         comments and fix condition to change selection.
11218         (Java_gnu_java_awt_peer_gtk_GtkChoicePeer_remove): Rename to...
11219         (Java_gnu_java_awt_peer_gtk_GtkChoicePeer_nativeRemove): New name.  Add
11220         remove all capability.
11221         (Java_gnu_java_awt_peer_gtk_GtkChoicePeer_getHistory): New function.
11222         (item_activate): Add cast to remove compiler warning.
11224 2004-01-05  Thomas Fitzsimmons  <fitzsim@redhat.com>
11226         * gnu/java/awt/peer/gtk/GtkComponentPeer.java,
11227         jni/gtk-peer/gnu_java_awt_peer_gtk_GtkComponentPeer.c
11228         (getPreferredSize): Call preferredSize.
11229         (preferredSize): Call gtkWidgetGetPreferredDimensions.
11230         (getMinimumSize): Call minimumSize.
11231         (minimumSize): Call gtkWidgetGetPreferredDimensions.
11232         (gtkWidgetGetDimensions): Return the peer widget's current size
11233         request.
11234         (gtkWidgetGetPreferredDimensions): Return the peer widget's
11235         natural size request.
11237 2004-01-05  Sascha Brawer  <brawer@dandelis.ch>
11239         Thanks to Brian Gough <bjg@network-theory.com>
11240         * java/awt/geom/CubicCurve2D.java (solveCubic): Implemented.
11241         * java/awt/geom/QuadCurve2D.java (solveQuadratic): Re-written.
11243 2004-01-04  Matthias Klose  <doko@debian.org>
11245         * aclocal.m4: Rebuilt using "aclocal -I .".
11246         * configure: Rebuilt.
11248 2004-01-03  Per Bothner  <per@bothner.com>
11250         * java/util/Date.java (parse):  Fix a number of problems.
11251         (skipParens):  Remove no-longer-needed method.